:root{
    --bg:#f5f7fa;
    --surface:#ffffff;
    --text:#1c2430;
    --muted:#5f6b7a;
    --line:#d8e0e8;
    --accent:#2b6cb0;
    --accent-dark:#1f4f82;
    --soft:#eaf2fb;
    --ok:#2f7d4f;
    --max:1120px;
    --radius:18px;
    --shadow:0 10px 30px rgba(20,30,40,.08);
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Inter, Arial, sans-serif;
    color:var(--text);
    background:var(--bg);
    line-height:1.55;
}

a{
    text-decoration:none;
    color:inherit;
}

.container{
    width:min(100% - 32px, var(--max));
    margin:0 auto;
}

/* Landing header */

.header{
    position:sticky;
    top:0;
    z-index:10;
    background:rgba(245,247,250,.92);
    backdrop-filter:blur(8px);
    border-bottom:1px solid rgba(216,224,232,.9);
}

.header-inner{
    min-height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.brand{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:800;
    font-size:1.15rem;
    letter-spacing:.01em;
    color:var(--text);
    text-decoration:none;
}

.brand-logo{
    height:28px;
    width:auto;
    display:block;
}

.nav{
    display:flex;
    gap:22px;
    align-items:center;
}

.nav a{
    color:var(--muted);
    font-size:.95rem;
}

.nav a:hover{
    color:var(--text);
}

/* Shared menu button styling */
.menu-toggle{
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    background:#ffffff;
    border:1px solid #d8e0e8;
    border-radius:12px;
    font-size:24px;
    line-height:1;
    color:#374151;
    cursor:pointer;
    padding:0;
}

.menu-toggle:hover{
    background:#f8fafc;
}

/* Landing menu button visibility */
.header .menu-toggle{
    display:none;
}

/* App/object menu button visibility */
.asset-actions .menu-toggle{
    display:inline-flex;
}

/* Buttons */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:0 18px;
    border-radius:12px;
    font-weight:700;
    transition:.2s ease;
    border:1px solid transparent;
}

.btn-primary{
    background:var(--accent);
    color:#fff !important;
}

.btn-primary:hover{
    background:var(--accent-dark);
}

.btn-secondary{
    background:#fff;
    border-color:var(--line);
    color:var(--text);
}

.btn-secondary:hover{
    background:#fbfcfe;
}

.btn-danger{
    background:#b42318;
    color:#fff !important;
}

.btn-danger:hover{
    background:#8f1d14;
}

/* Landing hero */

.hero{
    padding:78px 0 54px;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:40px;
    align-items:center;
}

.eyebrow{
    display:inline-block;
    padding:7px 12px;
    border-radius:999px;
    background:var(--soft);
    color:var(--accent);
    font-weight:700;
    font-size:.9rem;
    margin-bottom:18px;
}

h1{
    margin:0 0 14px;
    font-size:clamp(2.3rem,4.4vw,4.2rem);
    line-height:1.03;
    letter-spacing:-.03em;
}

.lead{
    margin:0 0 24px;
    max-width:640px;
    color:var(--muted);
    font-size:1.1rem;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin:0 0 14px;
}

.hero-note{
    color:var(--muted);
    font-size:.95rem;
}

/* Landing panel */

.panel{
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:24px;
    box-shadow:var(--shadow);
    overflow:hidden;
}

.panel-top{
    display:flex;
    gap:8px;
    padding:14px 18px;
    border-bottom:1px solid var(--line);
    background:#fbfcfd;
}

.dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#c5d0db;
}

.panel-body{
    padding:22px;
}

.kpis{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
    margin-bottom:18px;
}

.kpi{
    background:#f8fafc;
    border:1px solid var(--line);
    border-radius:14px;
    padding:14px;
}

.kpi .label{
    display:block;
    font-size:.82rem;
    color:var(--muted);
    margin-bottom:6px;
}

.kpi .value{
    font-weight:800;
    font-size:1.18rem;
}

.chart{
    position:relative;
    height:265px;
    border:1px solid var(--line);
    border-radius:16px;
    overflow:hidden;
    background:
        linear-gradient(to bottom, rgba(43,108,176,.05), rgba(43,108,176,.01)),
        repeating-linear-gradient(
            to bottom,
            #fff 0px,
            #fff 47px,
            #edf2f7 48px
        );
}

.chart svg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
}

.marker{
    position:absolute;
    background:#fff;
    border:1px solid var(--line);
    border-radius:999px;
    padding:6px 10px;
    font-size:.78rem;
    box-shadow:0 6px 14px rgba(20,30,40,.06);
    white-space:nowrap;
}

/* Landing sections */

.section{
    padding:68px 0;
}

.section-sm{
    padding:54px 0;
}

.title{
    margin:0 0 10px;
    font-size:clamp(1.7rem,2.6vw,2.6rem);
    line-height:1.12;
    letter-spacing:-.02em;
}

.subtitle{
    margin:0 0 30px;
    max-width:760px;
    color:var(--muted);
    font-size:1.05rem;
}

.grid-2,
.grid-3{
    display:grid;
    gap:20px;
}

.grid-2{
    grid-template-columns:repeat(2,1fr);
}

.grid-3{
    grid-template-columns:repeat(3,1fr);
}

.card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:24px;
    box-shadow:0 4px 12px rgba(20,30,40,.04);
}

.card h3{
    margin:0 0 10px;
    font-size:1.08rem;
}

.card p{
    margin:0;
    color:var(--muted);
}

.list{
    display:grid;
    gap:14px;
    margin:0;
    padding:0;
    list-style:none;
}

.list li{
    display:flex;
    gap:12px;
    align-items:flex-start;
    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;
    padding:16px 18px;
}

.bullet{
    width:24px;
    height:24px;
    border-radius:50%;
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:var(--soft);
    color:var(--accent);
    font-size:.84rem;
    font-weight:800;
    margin-top:1px;
}

.steps{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    counter-reset:step;
}

.step{
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:24px;
}

.step::before{
    counter-increment:step;
    content:counter(step);
    width:34px;
    height:34px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:var(--accent);
    color:#fff;
    font-weight:800;
    margin-bottom:14px;
}

.step h3{
    margin:0 0 10px;
    font-size:1.05rem;
}

.step p{
    margin:0;
    color:var(--muted);
}

.quote{
    background:linear-gradient(180deg,#ffffff 0%,#f6f9fc 100%);
    border:1px solid var(--line);
    border-radius:22px;
    padding:28px;
    box-shadow:var(--shadow);
}

.quote strong{
    display:block;
    font-size:1.1rem;
    margin-bottom:10px;
}

.quote p{
    margin:0;
    color:var(--muted);
}

.pricing{
    max-width:580px;
    margin:0 auto;
    background:#fff;
    border:1px solid var(--line);
    border-radius:24px;
    padding:30px;
    box-shadow:var(--shadow);
}

.price{
    font-size:3rem;
    font-weight:900;
    letter-spacing:-.04em;
    line-height:1;
    margin:8px 0 10px;
    text-align:center;
}

.price small{
    font-size:1rem;
    font-weight:700;
    color:var(--muted);
}

.pricing-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
    align-items:stretch;
}

.price-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:22px;
    box-shadow:var(--shadow);
    display:flex;
    flex-direction:column;
    gap:18px;
    min-height:100%;
}

.price-card h2,
.price-card h3{
    margin:0 0 8px;
    font-size:1.45rem;
}

.price-card p{
    margin:0;
    color:var(--muted);
    min-height:48px;
}

.price-lines{
    display:grid;
    gap:8px;
    padding:14px 0;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
}

.price-lines div{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:baseline;
}

.price-lines strong{
    font-size:1.25rem;
}

.price-lines span{
    color:var(--muted);
    font-size:.95rem;
}

.price-actions{
    display:grid;
    gap:10px;
    margin-top:auto;
}

.price-actions .btn,
.price-actions .plan-select-option{
    width:100%;
}

.plan-select-option{
    display:flex;
    align-items:center;
    gap:10px;
    min-height:46px;
    border:1px solid var(--line);
    border-radius:12px;
    padding:11px 14px;
    background:#fff;
    color:var(--text);
    font-weight:800;
    cursor:pointer;
    transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.plan-select-option:hover{
    border-color:var(--accent);
    box-shadow:0 8px 18px rgba(20,30,40,.08);
}

.plan-select-option.is-disabled,
.plan-select-option:has(input:disabled){
    opacity:.55;
    cursor:not-allowed;
    background:#f8fafc;
}

.plan-select-option.is-disabled:hover,
.plan-select-option:has(input:disabled):hover{
    border-color:var(--line);
    box-shadow:none;
}

.plan-select-option:has(input:checked){
    border-color:var(--accent);
    background:#eef6ff;
    box-shadow:0 0 0 3px rgba(43,108,176,.14);
}

.billing-selection-form{
    display:block;
}

.billing-action-panel{
    max-width:720px;
    margin:48px auto 0;
    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;
    padding:18px;
    box-shadow:0 10px 24px rgba(20,30,40,.05);
}

.billing-action-panel .btn{
    width:100%;
    margin-top:4px;
}

.billing-action-panel .btn:disabled{
    opacity:.55;
    cursor:not-allowed;
    box-shadow:none;
}

.user-menu{
    position:relative;
}

.user-menu summary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fff;
    color:var(--text);
    cursor:pointer;
    list-style:none;
}

.user-menu summary::-webkit-details-marker{
    display:none;
}

.user-menu summary:hover{
    border-color:var(--accent);
    box-shadow:0 8px 18px rgba(20,30,40,.08);
}

.user-menu-icon svg{
    width:20px;
    height:20px;
}

.user-menu-panel{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    z-index:40;
    min-width:180px;
    padding:8px;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fff;
    box-shadow:0 16px 32px rgba(20,30,40,.14);
}

.user-menu-panel a,
.user-menu-panel button{
    display:block;
    width:100%;
    border:0;
    border-radius:8px;
    padding:10px 12px;
    background:transparent;
    color:var(--text);
    font:inherit;
    font-weight:700;
    text-align:left;
    text-decoration:none;
    cursor:pointer;
}

.user-menu-panel a:hover,
.user-menu-panel button:hover{
    background:#f3f7fb;
    color:var(--accent);
}

.history-filter{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:18px;
    padding:12px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
}

.history-filter-title{
    margin-right:4px;
    color:var(--muted);
    font-size:.95rem;
    font-weight:700;
}

.history-filter-option{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:38px;
    padding:0 10px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fbfcfe;
    color:var(--text);
    font-weight:700;
    cursor:pointer;
}

.history-filter-option:has(input:checked){
    border-color:var(--accent);
    background:#eef6ff;
    color:var(--accent-dark);
}

.legal-consent{
    display:grid;
    gap:8px;
    margin:0 0 10px;
}

.legal-consent label{
    display:flex;
    align-items:flex-start;
    gap:8px;
    color:var(--muted);
    font-size:.88rem;
    line-height:1.35;
}

.legal-consent input{
    flex:0 0 auto;
    margin-top:3px;
}

.legal-consent a{
    color:var(--accent);
    font-weight:700;
}

.plan-note{
    color:var(--muted);
    font-size:.92rem;
    line-height:1.45;
    margin:2px 0 0;
}

.founding-note,
.notice{
    max-width:920px;
    margin:22px auto 0;
    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;
    padding:16px 18px;
    color:var(--muted);
}

.checks{
    list-style:none;
    margin:22px 0;
    padding:0;
    display:grid;
    gap:12px;
}

.checks li{
    display:flex;
    gap:10px;
    align-items:flex-start;
}

.check{
    color:var(--ok);
    font-weight:900;
    flex:0 0 14px;
    text-align:center;
}

.plan-features{
    margin:6px 0 14px;
}

.plan-features li{
    min-height:42px;
}

.plan-features .is-excluded{
    color:#7b8794;
}

.plan-features .is-excluded .check{
    color:#c93b3b;
}

.cta{
    text-align:center;
    background:linear-gradient(180deg,#fff 0%,#eef5fc 100%);
    border:1px solid var(--line);
    border-radius:24px;
    padding:36px;
    box-shadow:var(--shadow);
}

.cta p{
    max-width:700px;
    margin:0 auto 24px;
    color:var(--muted);
    font-size:1.05rem;
}

.center-actions{
    display:flex;
    justify-content:center;
}

.center-actions.gap{
    gap:14px;
    flex-wrap:wrap;
}

.center{
    text-align:center;
}

.subtitle.center{
    margin-left:auto;
    margin-right:auto;
}

.compact{
    margin:0 auto 8px;
}

.narrow{
    max-width:760px;
}

.form-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:24px;
    box-shadow:0 4px 12px rgba(20,30,40,.04);
}

.form-field{
    display:grid;
    gap:8px;
    margin-bottom:18px;
}

.form-field label{
    font-weight:700;
}

.form-field input,
.form-field textarea{
    width:100%;
    border:1px solid var(--line);
    border-radius:12px;
    padding:12px 14px;
    color:var(--text);
    background:#fff;
    font:inherit;
}

.form-field input{
    height:46px;
}

.form-field textarea{
    min-height:180px;
    resize:vertical;
}

.form-field input:focus,
.form-field textarea:focus{
    border-color:var(--accent);
    outline:3px solid rgba(43,108,176,.14);
}

.form-error{
    margin:0;
    color:#b42318;
    font-size:.92rem;
}

.form-note{
    color:var(--muted);
    font-size:.92rem;
    margin:-2px 0 18px;
}

.form-note a{
    color:var(--accent);
    font-weight:700;
}

.hp-honeypot{
    position:absolute;
    left:-10000px;
    width:1px;
    height:1px;
    overflow:hidden;
}

.legal-page{
    max-width:860px;
}

.legal-page section{
    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;
    padding:20px;
    margin-bottom:16px;
}

.legal-page h2{
    margin:0 0 10px;
    font-size:1.12rem;
}

.legal-page p{
    margin:0 0 12px;
    color:var(--muted);
}

.legal-page p:last-child{
    margin-bottom:0;
}

.legal-page ul{
    margin:0 0 12px 20px;
    color:var(--muted);
}

.legal-page li{
    margin-bottom:8px;
}

.legal-page a{
    color:var(--accent);
    font-weight:700;
}

.footer{
    padding:30px 0 44px;
    color:var(--muted);
    font-size:.92rem;
}

.footer-inner{
    display:flex;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
    border-top:1px solid var(--line);
    padding-top:22px;
}

/* Toast */

#toast-container{
    position:fixed;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    z-index:9999;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.toast{
    min-width:260px;
    max-width:90vw;
    text-align:center;
    margin-bottom:10px;
    padding:14px 16px;
    border:1px solid rgba(255,255,255,0.15);
    border-radius:10px;
    color:white;
    font-size:14px;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
    opacity:0;
    transform:translateY(-10px);
    animation:toast-in 0.3s ease forwards, toast-out 0.3s ease 3s forwards;
}

.toast-success{
    background:#2f7d4f;
}

.toast-error{
    background:#b42318;
}

@keyframes toast-in{
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes toast-out{
    to{
        opacity:0;
        transform:translateY(-10px);
    }
}

/* App layout */

.app-header{
    background:#ffffff;
    border-bottom:1px solid #d8e0e8;
    position:sticky;
    top:0;
    z-index:100;
}

.app-header-inner{
    min-height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.app-brand{
    min-width:0;
}

.app-brand-link{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:800;
    font-size:1.15rem;
    letter-spacing:.01em;
    color:#1c2430;
    text-decoration:none;
}

.app-logo{
    height:28px;
    width:auto;
    display:block;
}

.app-nav{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:16px;
    flex-wrap:wrap;
    flex:0 0 auto;
}

.app-nav a{
    color:var(--muted);
    font-size:0.95rem;
}

.app-nav a:hover{
    color:var(--text);
}

.app-main{
    padding:40px 0 56px;
}

.app-page-header{
    margin-bottom:24px;
}

.app-page-title{
    margin:0 0 8px;
    font-size:clamp(1.8rem,3vw,2.5rem);
    line-height:1.1;
    letter-spacing:-.02em;
}

.app-page-subtitle{
    margin:0;
    color:var(--muted);
    font-size:1rem;
}

.app-section{
    background:#ffffff;
    border:1px solid #d8e0e8;
    border-radius:18px;
    padding:24px;
    margin-bottom:20px;
    box-shadow:0 4px 12px rgba(20,30,40,.04);
}

.app-section-title{
    margin:0 0 16px;
    font-size:1.1rem;
}

.app-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:16px;
}

.app-card-list{
    display:grid;
    gap:12px;
}

.app-card{
    border:1px solid #d8e0e8;
    border-radius:12px;
    padding:16px;
    background:#ffffff;
}

.app-muted{
    color:var(--muted);
}

.access-summary{
    margin-bottom:16px;
    color:var(--text);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    padding:10px 0;
    border-bottom:1px solid var(--line);
}

.access-summary-action{
    color:var(--muted);
    font-size:.92rem;
    white-space:nowrap;
    text-decoration:none;
}

.access-summary-action:hover{
    color:var(--primary);
}

/* Asset dashboard cards */

.asset-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
    margin-bottom:18px;
}

.asset-meta{
    min-width:0;
}

.asset-title{
    font-weight:700;
    font-size:1.05rem;
    color:#374151;
    margin-bottom:4px;
}

.asset-subtitle{
    color:#6b7280;
    font-size:0.92rem;
    line-height:1.4;
}

.asset-grid{
    display:grid;
    grid-template-columns:1.1fr 1.1fr 1fr;
    gap:18px;
    align-items:start;
}

.asset-block{
    color:#6b7280;
    font-size:0.95rem;
    line-height:1.5;
}

.calculated-block{
    min-width:0;
}

.block-title{
    font-weight:600;
    color:#374151;
    margin-bottom:8px;
    font-size:0.96rem;
}

.asset-row{
    margin-bottom:10px;
    color:#6b7280;
}

.asset-row small{
    color:#6b7280;
}

/* Object menu */

.asset-actions{
    position:relative;
    flex-shrink:0;
}

.menu-dropdown{
    display:none;
    position:absolute;
    top:48px;
    right:0;
    min-width:200px;
    background:#ffffff;
    border:1px solid #d8e0e8;
    border-radius:12px;
    box-shadow:0 10px 24px rgba(20,30,40,0.12);
    padding:6px;
    z-index:200;
}

.asset-actions.open .menu-dropdown{
    display:block;
}

.menu-group{
    display:flex;
    flex-direction:column;
    gap:0;
}

.menu-group-title{
    font-size:0.74rem;
    font-weight:700;
    letter-spacing:0.03em;
    text-transform:uppercase;
    color:#6b7280;
    padding:4px 8px 3px 8px;
}

.menu-divider{
    height:1px;
    background:#e5e7eb;
    margin:3px 2px;
}

.menu-dropdown a,
.menu-dropdown button{
    display:block;
    width:100%;
    text-align:left;
    background:none;
    border:none;
    color:#374151;
    font-size:0.95rem;
    line-height:1.2;
    padding:8px 10px 8px 24px;
    border-radius:8px;
    cursor:pointer;
    text-decoration:none;
}

.menu-dropdown a:hover,
.menu-dropdown button:hover{
    background:#f3f4f6;
}

/* Charts */

.chart-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px;
}

.chart-card{
    background:#ffffff;
    border:1px solid #d8e0e8;
    border-radius:16px;
    padding:16px;
    min-width:0;
}

.chart-title{
    margin:0 0 12px;
    font-size:0.98rem;
    color:#374151;
}

.chart-wrap{
    position:relative;
    height:280px;
    width:100%;
}

.chart-wrap canvas{
    width:100% !important;
    height:100% !important;
    display:block;
}

/* Confirm modal */

.hp-modal-backdrop{
    position:fixed;
    inset:0;
    background:rgba(28,36,48,0.38);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:16px;
    z-index:4000;
}

.hp-modal-backdrop[hidden]{
    display:none !important;
}

.hp-modal{
    width:min(100%, 420px);
    background:#ffffff;
    border:1px solid #d8e0e8;
    border-radius:20px;
    box-shadow:0 18px 40px rgba(20,30,40,.18);
    padding:24px;
}

.hp-modal-title{
    font-size:1.1rem;
    font-weight:700;
    color:#1c2430;
    margin-bottom:8px;
}

.hp-modal-text{
    color:#5f6b7a;
    line-height:1.5;
    margin-bottom:18px;
}

.hp-modal-actions{
    display:flex;
    justify-content:flex-end;
    gap:12px;
    flex-wrap:wrap;
}

/* Chart event tooltip */

.chart-event-tooltip{
    position:fixed;
    z-index:5000;
    pointer-events:none;
    background:#ffffff;
    border:1px solid #d8e0e8;
    border-radius:12px;
    box-shadow:0 10px 24px rgba(20,30,40,0.12);
    padding:10px 12px;
    min-width:180px;
    max-width:260px;
    color:#1c2430;
}

.chart-event-tooltip.hidden{
    display:none;
}

.chart-event-tooltip-title{
    font-weight:700;
    margin-bottom:4px;
    line-height:1.3;
}

.chart-event-tooltip-date{
    color:#5f6b7a;
    font-size:0.88rem;
    margin-bottom:6px;
}

.chart-event-tooltip-meta{
    color:#5f6b7a;
    font-size:0.9rem;
    display:flex;
    align-items:center;
    gap:8px;
}

.chart-event-tooltip-color{
    width:12px;
    height:12px;
    border-radius:4px;
    border:1px solid #d8e0e8;
    flex:0 0 auto;
}

.chart-event-tooltip-description{
    color:#374151;
    font-size:0.92rem;
    line-height:1.4;
    margin-top:8px;
}

/* Responsive */

@media (max-width:1050px){
    .asset-grid{
        grid-template-columns:1fr 1fr;
    }

    .calculated-block{
        grid-column:1 / -1;
    }
}

@media (max-width:980px){
    .hero-grid,
    .grid-2,
    .grid-3,
    .steps,
    .kpis{
        grid-template-columns:1fr;
    }

    .header .menu-toggle{
        display:inline-flex;
    }

    .nav{
        display:none;
        position:absolute;
        top:72px;
        right:16px;
        flex-direction:column;
        align-items:stretch;
        gap:10px;
        width:min(280px, calc(100vw - 32px));
        background:#ffffff;
        border:1px solid #d8e0e8;
        border-radius:16px;
        box-shadow:0 10px 24px rgba(20,30,40,0.12);
        padding:14px;
        z-index:300;
    }

    .nav.open{
        display:flex;
    }

    .nav a{
        color:#374151;
    }

    .nav .user-menu-panel{
        position:static;
        margin-top:8px;
        box-shadow:none;
    }
}

@media (max-width:900px){
    .chart-grid{
        grid-template-columns:1fr;
    }

    .chart-wrap{
        height:240px;
    }
}

@media (max-width:820px){
    .app-header-inner{
        align-items:center;
        padding:14px 0;
        flex-direction:row;
        gap:12px;
    }

    .app-nav{
        width:auto;
        margin-left:auto;
    }
}

@media (max-width:700px){
    .asset-grid{
        grid-template-columns:1fr;
    }

    .calculated-block{
        grid-column:auto;
    }

    .asset-header{
        align-items:flex-start;
    }
}

@media (max-width:640px){
    .hero{
        padding-top:56px;
    }

    .section,
    .section-sm{
        padding:50px 0;
    }

    .hero-actions,
    .center-actions.gap{
        flex-direction:column;
        align-items:stretch;
    }

    .btn{
        width:100%;
    }

    .nav .btn{
        width:100%;
    }

    .pricing-grid{
        grid-template-columns:1fr;
    }
}

@media (max-width: 760px){
    .dashboard-medium-actions{
        display:none;
    }
}

.hp-date-input{
    width:100%;
    height:46px;
    padding:0 12px;
    border:1px solid #d8e0e8;
    border-radius:12px;
    background-color:#ffffff;
    color:#1c2430;
    font:inherit;
    line-height:46px;
    appearance:none;
    -webkit-appearance:none;
}

.hp-date-input::-webkit-date-and-time-value{
    text-align:left;
}

.hp-date-input::-webkit-calendar-picker-indicator{
    margin-right:0;
}
