*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,sans-serif;background:#0b1220;color:#e7edf7}.topbar{display:flex;justify-content:space-between;align-items:center;padding:16px 5%;background:#111c31;position:sticky;top:0;z-index:10}.brand{display:inline-flex;align-items:center;gap:20px;text-decoration:none;line-height:1}.brand-logo{display:block;width:82px;height:82px;object-fit:contain;flex:0 0 auto;border-radius:16px}.brand-title{display:inline-flex;align-items:baseline;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:2.35rem;font-weight:800;letter-spacing:-.045em;white-space:nowrap}.brand-title-locen{color:#f8fafc}.brand-title-trek{color:#22c55e}.topbar nav{display:flex;gap:18px;flex-wrap:wrap}.topbar nav a{color:#dbeafe;text-decoration:none}.container{width:min(1200px,92%);margin:28px auto;min-height:75vh}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.card{background:#121d31;border:1px solid #263652;border-radius:16px;padding:20px;box-shadow:0 12px 28px #0003}.metric{font-size:2rem;font-weight:800;color:#6ee7b7}.muted{color:#9fb0c9}.btn{display:inline-block;border:0;border-radius:10px;padding:10px 14px;background:#10b981;color:#04130e;font-weight:700;text-decoration:none;cursor:pointer}.btn.secondary{background:#334155;color:#fff}.btn.danger{background:#ef4444;color:#fff}input,select{width:100%;padding:11px;border-radius:9px;border:1px solid #3b4b67;background:#0e1729;color:white;margin:6px 0 12px}label{font-weight:700}.form-card{max-width:520px;margin:40px auto}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:11px;border-bottom:1px solid #2b3a53;text-align:left;white-space:nowrap}.badge{padding:4px 8px;border-radius:999px;background:#253651}.success{color:#6ee7b7}.warning{color:#fbbf24}.danger-text{color:#f87171}.map{height:460px;border-radius:16px;overflow:hidden;background:#1e293b}.actions{display:flex;gap:8px;flex-wrap:wrap}.notice{padding:12px;border-radius:10px;background:#1d4ed833;margin-bottom:16px}h1,h2,h3{line-height:1.2}footer{text-align:center;color:#718096;padding:24px}@media(max-width:700px){.topbar{align-items:flex-start;gap:12px;flex-direction:column}}
.hero{padding:clamp(28px,6vw,72px);margin-top:24px}.hero h1{font-size:clamp(2.25rem,6vw,4.8rem);max-width:900px;margin:.35em 0}.lead{font-size:1.15rem;line-height:1.7;max-width:780px;color:#b9c7dc}.eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:800;color:#6ee7b7}.feature-grid{margin-top:18px}.feature-grid .card{min-height:180px}.topbar nav a:hover{color:#6ee7b7}.brand:hover .brand-logo,.brand:hover .brand-title{opacity:.9}
textarea{width:100%;padding:11px;border-radius:9px;border:1px solid #3b4b67;background:#0e1729;color:white;margin:6px 0 12px;resize:vertical;font:inherit}.form-links{display:flex;justify-content:space-between;gap:16px;margin-top:18px}.form-links a{color:#6ee7b7;text-decoration:none}
.auth-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;max-width:1050px;margin:40px auto}.auth-card{margin:0}.auth-card h1{margin-top:.35rem}@media(max-width:820px){.auth-layout{grid-template-columns:1fr;max-width:560px}}
.checkbox-row{display:flex;align-items:center;gap:.55rem;margin:.85rem 0 1rem;font-weight:500}.checkbox-row input{width:auto;margin:0}

@media(max-width:700px){.brand-logo{width:70px;height:70px}.brand-title{font-size:2rem}}

/* Mobile logo rendering fix: preserve the complete rounded-square border. */
.brand,
.brand-logo {
    overflow: visible;
    clip-path: none;
}

.brand-logo {
    display: block;
    object-fit: contain;
    object-position: center;
    box-sizing: border-box;
    transform: translateZ(0);
}

@media (max-width: 700px) {
    .brand {
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .brand-logo {
        width: 72px;
        height: 72px;
        padding: 1px;
        border-radius: 15px;
    }
}

.account-card{max-width:620px}.account-profile-image{display:flex;justify-content:center;margin:18px 0 24px}
.account-profile-image img,.profile-placeholder{width:100px;height:100px;border-radius:50%;object-fit:cover;border:1px solid #3b4b67}
.profile-placeholder{display:flex;align-items:center;justify-content:center;color:#9fb0c9;background:#0e1729;font-size:.8rem}
.account-note{margin:-6px 0 14px;font-size:.9rem}

.account-readonly-value{margin:6px 0 12px;padding:11px 0;color:#fff;font-weight:600}

.account-standard-option{align-items:flex-start}.account-standard-option span{display:flex;flex-direction:column;gap:3px}
.account-standard-option small{font-weight:400;color:#9fb0c9;font-size:.82rem}
.location-records{display:grid;gap:10px;margin-top:14px}
.location-record{border:1px solid #2b3a53;border-radius:12px;background:#111c30;overflow:hidden}
.location-record.failed{background:#3a1c24;border-color:#7f3345}
.location-record summary{cursor:pointer;list-style:none;padding:13px 15px;font-weight:750;display:flex;justify-content:space-between;gap:12px}
.location-record summary::-webkit-details-marker{display:none}
.location-record summary::after{content:'▾';color:#9fb0c9}.location-record[open] summary::after{content:'▴'}
.location-record-body{padding:0 15px 15px;border-top:1px solid #2b3a53;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}
.location-record.failed .location-record-body{border-top-color:#7f3345}
.location-detail{padding-top:10px}.location-detail strong{display:block;color:#9fb0c9;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;margin-bottom:2px}
.location-failure-badge{color:#fca5a5;font-size:.82rem}
.locations-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:16px 0}.locations-toolbar label{display:flex;flex-direction:column;gap:4px}
@media(max-width:650px){.location-record-body{grid-template-columns:1fr}}
.map-load-progress{min-width:280px;flex:1 1 320px;max-width:430px;padding-bottom:12px}
.map-load-progress-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:7px;font-size:.88rem;color:#9fb0c9}
.map-load-progress-head strong{color:#e7edf7;font-size:.84rem;white-space:nowrap}
.map-load-progress-track{height:10px;border-radius:999px;overflow:hidden;background:#263652;border:1px solid #3b4b67}
.map-load-progress-bar{height:100%;border-radius:999px;background:#10b981;transition:width .18s ease}
@media(max-width:760px){.map-load-progress{max-width:none;flex-basis:100%;width:100%}}

.direct-share-form{display:flex;flex-direction:column;gap:14px}
.direct-share-row{display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap}
.direct-share-user{display:flex;flex-direction:column;gap:6px}
.direct-share-user input{width:200px;max-width:200px}
.direct-share-check{display:inline-flex;align-items:center;gap:7px;margin-bottom:11px;white-space:nowrap}
.direct-share-check input{margin:0}
.direct-share-mode{display:flex;flex-direction:column;gap:6px;max-width:260px}
@media(max-width:700px){
  .direct-share-row{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
  .direct-share-user input{width:200px;max-width:200px}
  .direct-share-check{margin-bottom:0}
}

/* Direct-sharing controls: keep each checkbox visually attached to its label. */
.direct-share-row{
    display:flex;
    align-items:flex-end;
    gap:24px;
    flex-wrap:nowrap;
}
.direct-share-user{
    display:flex;
    flex:0 0 200px;
    flex-direction:column;
    gap:6px;
    margin:0;
}
.direct-share-user input{
    box-sizing:border-box;
    width:200px !important;
    max-width:200px !important;
}
.direct-share-option{
    display:inline-flex !important;
    flex:0 0 auto !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:auto !important;
    max-width:none !important;
    gap:8px !important;
    margin:0 0 11px 0 !important;
    padding:0 !important;
    white-space:nowrap;
    cursor:pointer;
}
.direct-share-option .direct-share-checkbox{
    appearance:auto;
    -webkit-appearance:checkbox;
    display:inline-block !important;
    flex:0 0 auto !important;
    width:16px !important;
    height:16px !important;
    min-width:16px !important;
    max-width:16px !important;
    margin:0 !important;
    padding:0 !important;
    vertical-align:middle;
    accent-color:#3b82f6;
}
.direct-share-option .direct-share-option-label{
    display:inline-block;
    width:auto !important;
    margin:0 !important;
    padding:0 !important;
    line-height:16px;
}

@media(max-width:700px){
    .direct-share-row{
        flex-direction:column;
        align-items:flex-start;
        gap:13px;
    }
    .direct-share-user{
        flex:0 0 auto;
    }
    .direct-share-option{
        margin:0 !important;
    }
}

/* People control sizing/alignment update */
.direct-share-row{
    gap:0 !important;
}
.direct-share-user{
    margin-right:50px !important;
}
.direct-share-option{
    margin-bottom:0 !important;
}
.direct-share-option + .direct-share-option{
    margin-left:50px !important;
}

/* Match the square checkbox to the User input control height. */
.direct-share-option .direct-share-checkbox{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    min-height:42px !important;
    max-width:42px !important;
    max-height:42px !important;
    aspect-ratio:1 / 1 !important;
}

/* Match Location sharing select height to the User field. */
.direct-share-user input,
.direct-share-mode select{
    height:42px !important;
    min-height:42px !important;
    box-sizing:border-box;
}

@media(max-width:700px){
    .direct-share-user{
        margin-right:0 !important;
    }
    .direct-share-option + .direct-share-option{
        margin-left:0 !important;
    }
    .direct-share-row{
        gap:13px !important;
    }
}

/* People row spacing correction:
   50px is only between controls, never between a checkbox and its label. */
.direct-share-user{
    margin-right:50px !important;
}
.direct-share-option{
    gap:8px !important;
    margin-left:0 !important;
    margin-right:50px !important;
}
.direct-share-option + .direct-share-option{
    margin-left:0 !important;
}
.direct-share-option .direct-share-checkbox{
    margin:0 !important;
}
.direct-share-option .direct-share-option-label{
    margin:0 !important;
}
.direct-share-mode{
    margin:0 !important;
    align-self:flex-end;
}
.direct-share-mode select{
    height:42px !important;
    min-height:42px !important;
}

@media(max-width:700px){
    .direct-share-user{
        margin-right:0 !important;
    }
    .direct-share-option{
        margin-right:0 !important;
    }
    .direct-share-mode{
        align-self:flex-start;
        margin-top:0 !important;
    }
}

.direct-share-option{gap:4px !important}
.direct-share-option .direct-share-checkbox{
 appearance:none !important;-webkit-appearance:none !important;box-sizing:border-box !important;
 width:42px !important;height:42px !important;min-width:42px !important;min-height:42px !important;
 max-width:42px !important;max-height:42px !important;aspect-ratio:1/1 !important;
 background:#fff !important;border:1px solid #cbd5e1 !important;border-radius:6px !important;
 cursor:pointer;position:relative
}
.direct-share-option .direct-share-checkbox:checked::after{
 content:"";position:absolute;left:13px;top:7px;width:11px;height:20px;
 border:solid #111827;border-width:0 3px 3px 0;transform:rotate(45deg)
}
.direct-share-mode select{
 box-sizing:border-box !important;height:42px !important;min-height:42px !important;
 background:var(--input-bg,#0f172a) !important;border:1px solid var(--input-border,#334155) !important;
 border-radius:8px !important;color:inherit !important;padding:0 12px !important
}

/* People alignment + exact input/select visual match */
.direct-share-row{
    align-items:flex-end !important;
}
.direct-share-option{
    align-self:flex-end !important;
    height:42px !important;
    min-height:42px !important;
    margin-top:0 !important;
    margin-bottom:0 !important;
    padding:0 !important;
}
.direct-share-option .direct-share-checkbox{
    align-self:center !important;
    margin:0 !important;
}
.direct-share-option .direct-share-option-label{
    align-self:center !important;
}

/* Use the same visual properties as the site's text inputs. */
.direct-share-mode{
    align-self:flex-end !important;
    margin:0 !important;
    padding:0 !important;
}
.direct-share-mode select{
    width:auto !important;
    height:42px !important;
    min-height:42px !important;
    box-sizing:border-box !important;
    background:var(--surface-2) !important;
    border:1px solid var(--border) !important;
    border-radius:10px !important;
    color:var(--text) !important;
    padding:0 12px !important;
    font:inherit !important;
}

@media(max-width:700px){
    .direct-share-option,
    .direct-share-mode{
        align-self:flex-start !important;
    }
}

/* Direct sharing conditional controls */
.direct-share-conditional[hidden]{
    display:none !important;
}
.direct-share-submit{
    width:200px !important;
    max-width:200px !important;
}

/* Direct-sharing cross-browser alignment */
.direct-share-row{
    display:flex !important;
    align-items:flex-start !important;
}
.direct-share-user,
.direct-share-mode{
    display:grid !important;
    grid-template-rows:20px 42px !important;
    row-gap:6px !important;
}
.direct-share-option{
    display:grid !important;
    grid-template-columns:42px auto !important;
    grid-template-rows:20px 42px !important;
    column-gap:4px !important;
    row-gap:6px !important;
    height:68px !important;
    min-height:68px !important;
    align-self:flex-start !important;
}
.direct-share-option .direct-share-checkbox{
    grid-column:1 !important;
    grid-row:2 !important;
    align-self:start !important;
}
.direct-share-option .direct-share-option-label{
    grid-column:2 !important;
    grid-row:2 !important;
    align-self:center !important;
}

/* Explicit select rendering for Chrome/Safari consistency. */
.direct-share-mode select{
    -webkit-appearance:menulist !important;
    appearance:menulist !important;
    display:block !important;
    box-sizing:border-box !important;
    height:42px !important;
    min-height:42px !important;
    padding:0 12px !important;
    background-color:#111827 !important;
    border:1px solid #334155 !important;
    border-radius:8px !important;
    color:#f8fafc !important;
    font:inherit !important;
    outline:none;
}
.direct-share-mode select:focus{
    border-color:#64748b !important;
}
.direct-share-mode select option{
    background-color:#111827 !important;
    color:#f8fafc !important;
}

@media(max-width:700px){
    .direct-share-row{
        flex-direction:column !important;
        align-items:flex-start !important;
    }
    .direct-share-option{
        height:42px !important;
        min-height:42px !important;
        grid-template-rows:42px !important;
        row-gap:0 !important;
    }
    .direct-share-option .direct-share-checkbox,
    .direct-share-option .direct-share-option-label{
        grid-row:1 !important;
    }
}

/* Exact desktop vertical alignment with the User input */
@media(min-width:701px){
    .direct-share-row{
        align-items:flex-start !important;
    }

    .direct-share-user{
        height:68px !important; /* 20px label + 6px gap + 42px input */
    }

    .direct-share-option{
        display:flex !important;
        flex-direction:row !important;
        align-items:center !important;
        height:42px !important;
        min-height:42px !important;
        margin-top:26px !important;
        margin-bottom:0 !important;
        padding:0 !important;
    }

    .direct-share-option .direct-share-checkbox{
        display:block !important;
        position:relative !important;
        width:42px !important;
        height:42px !important;
        min-width:42px !important;
        min-height:42px !important;
        max-width:42px !important;
        max-height:42px !important;
        margin:0 !important;
        align-self:center !important;
    }

    .direct-share-option .direct-share-option-label{
        display:inline-block !important;
        align-self:center !important;
        line-height:42px !important;
        margin:0 !important;
    }

    .direct-share-mode{
        height:68px !important;
        align-self:flex-start !important;
    }
}

/* Definitive sharing alignment.
   Remove the global input/select margins inside this row so all 42px controls
   use the same vertical origin. */
@media(min-width:701px){
    .direct-share-user{
        display:grid !important;
        grid-template-rows:20px 42px !important;
        row-gap:6px !important;
        height:68px !important;
        margin-top:0 !important;
        margin-bottom:0 !important;
    }

    .direct-share-user input{
        grid-row:2 !important;
        width:200px !important;
        height:42px !important;
        min-height:42px !important;
        margin:0 !important;
        padding:11px !important;
    }

    .direct-share-option{
        display:flex !important;
        flex-direction:row !important;
        align-items:center !important;
        height:42px !important;
        min-height:42px !important;
        margin-top:26px !important;
        margin-bottom:0 !important;
        padding:0 !important;
    }

    .direct-share-option .direct-share-checkbox{
        width:42px !important;
        height:42px !important;
        min-width:42px !important;
        min-height:42px !important;
        max-width:42px !important;
        max-height:42px !important;
        margin:0 !important;
    }

    .direct-share-mode{
        display:grid !important;
        grid-template-rows:20px 42px !important;
        row-gap:6px !important;
        height:68px !important;
        margin:0 !important;
    }

    .direct-share-mode select{
        grid-row:2 !important;
        height:42px !important;
        min-height:42px !important;
        margin:0 !important;
    }
}

@media(max-width:700px){
    .direct-share-user input,
    .direct-share-mode select{
        margin-top:0 !important;
    }
}

/* Equal desktop spacing around What to share. */
@media(min-width:701px){
    .direct-share-mode{
        margin-right:50px !important;
    }
}
@media(max-width:700px){
    .direct-share-mode{
        margin-right:0 !important;
    }
}

.editable-group-name{
    display:inline-block;
    cursor:text;
    border-bottom:1px dashed transparent;
    margin-top:0;
}
.editable-group-name:hover,
.editable-group-name:focus{
    border-bottom-color:#64748b;
    outline:none;
}
.inline-group-name-input{
    width:min(360px,100%) !important;
    margin:0 0 .55rem 0 !important;
    font-size:1.17em;
    font-weight:700;
}
.group-trash-btn{
    width:42px;
    min-width:42px;
    height:42px;
    padding:0 !important;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:1rem;
}
.group-header-actions{
    align-items:flex-start;
}

/* Match trash button height to standard buttons. */
.group-trash-btn{
    width:42px !important;
    min-width:42px !important;
    height:auto !important;
    min-height:0 !important;
    padding:10px 14px !important;
    line-height:normal !important;
}

/* Custom LocenTrek confirmation modal */
.site-modal-backdrop[hidden]{display:none !important}
.site-modal-backdrop{
    position:fixed;
    inset:0;
    z-index:1000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(2,8,23,.72);
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
}
.site-modal{
    position:relative;
    width:min(440px,100%);
    background:#121d31;
    border:1px solid #263652;
    border-radius:16px;
    padding:22px;
    box-shadow:0 24px 60px rgba(0,0,0,.45);
}
.site-modal h3{
    margin:0 36px 12px 0;
}
.site-modal p{
    margin:.55rem 0;
    line-height:1.5;
}
.site-modal-close{
    position:absolute;
    right:14px;
    top:12px;
    width:34px;
    height:34px;
    border:0;
    border-radius:8px;
    background:#1b2941;
    color:#e7edf7;
    font-size:1.35rem;
    cursor:pointer;
}
.site-modal-close:hover{
    background:#263652;
}
.site-modal-actions{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-top:20px;
}

/* Dismissible status/feedback notices */
.notice{
    position:relative;
    padding-right:48px !important;
    transition:opacity .22s ease, transform .22s ease;
}
.notice-close{
    position:absolute;
    top:50%;
    right:10px;
    transform:translateY(-50%);
    width:30px;
    height:30px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:8px;
    background:rgba(255,255,255,.08);
    color:#e7edf7;
    font-size:1.25rem;
    line-height:1;
    cursor:pointer;
}
.notice-close:hover,
.notice-close:focus{
    background:rgba(255,255,255,.16);
    outline:none;
}
.notice-dismissing{
    opacity:0;
    transform:translateY(-4px);
}


/* Home activity dashboard */
.dashboard-metrics .metric-date{
    font-size:1.35rem;
    line-height:1.35;
    margin-top:8px;
}
.activity-dashboard{
    margin-top:20px;
}
.activity-dashboard-header{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
}
.activity-dashboard-header h2{
    margin:.25rem 0 0;
}
.activity-total{
    color:#9fb0c9;
    font-weight:700;
    white-space:nowrap;
}
.activity-tabs{
    display:inline-flex;
    gap:4px;
    margin-top:20px;
    padding:4px;
    border:1px solid #263652;
    border-radius:12px;
    background:#0e1729;
}
.activity-tab{
    border:0;
    border-radius:8px;
    padding:8px 14px;
    background:transparent;
    color:#9fb0c9;
    font:inherit;
    font-weight:700;
    cursor:pointer;
}
.activity-tab:hover{
    color:#e7edf7;
}
.activity-tab.active{
    background:#263652;
    color:#f8fafc;
}
.activity-toolbar{
    display:flex;
    align-items:center;
    gap:10px;
    margin:16px 0 10px;
}
.activity-toolbar label{
    color:#9fb0c9;
}
.activity-toolbar select{
    width:auto;
    min-width:170px;
    margin:0;
}
.activity-chart-wrap{
    position:relative;
    width:100%;
    min-height:300px;
    overflow:hidden;
    border:1px solid #263652;
    border-radius:14px;
    background:#0e1729;
}
.activity-chart{
    display:block;
    width:100%;
    height:300px;
}
.activity-grid-line{
    stroke:#263652;
    stroke-width:1;
}
.activity-axis-label{
    fill:#8394ae;
    font-size:11px;
    font-family:Inter,system-ui,-apple-system,sans-serif;
}
.activity-bar{
    fill:#10b981;
    transition:opacity .16s ease;
}
.activity-bar:hover{
    opacity:.72;
}
.activity-empty{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#9fb0c9;
    pointer-events:none;
}
.recent-activity-message{
    margin-top:4px;
    white-space:normal;
    max-width:760px;
}
@media(max-width:700px){
    .activity-dashboard-header{
        align-items:flex-start;
        flex-direction:column;
    }
    .activity-tabs{
        width:100%;
    }
    .activity-tab{
        flex:1;
    }
    .activity-toolbar{
        align-items:stretch;
        flex-direction:column;
    }
    .activity-toolbar select{
        width:100%;
    }
    .activity-chart-wrap,
    .activity-chart{
        min-height:260px;
        height:260px;
    }
}

.last-location-date,
.last-location-time{
    display:block;
    white-space:nowrap;
}
.last-location-time{
    margin-top:2px;
}


/* Respect the activity graph empty-state hidden attribute. */
.activity-empty[hidden]{
    display:none !important;
}


/* Commercial logged-out Home */
.commercial-hero{
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
    gap:56px;
    align-items:center;
    padding:72px 0 54px;
}
.commercial-hero-copy h1{
    max-width:760px;
    margin:.3em 0 .28em;
    font-size:clamp(3rem,6vw,5.8rem);
    line-height:.98;
    letter-spacing:-.055em;
}
.commercial-hero-copy h1 span{
    color:#6ee7b7;
}
.commercial-lead{
    max-width:690px;
    color:#b9c7dc;
    font-size:1.18rem;
    line-height:1.72;
}
.commercial-hero-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:28px;
}
.commercial-primary{
    padding-left:22px !important;
    padding-right:22px !important;
}
.commercial-platforms{
    display:flex;
    gap:9px;
    flex-wrap:wrap;
    margin-top:28px;
}
.commercial-platforms span{
    padding:7px 10px;
    border:1px solid #263652;
    border-radius:999px;
    background:#111c31;
    color:#aebed4;
    font-size:.83rem;
}
.commercial-dashboard-preview{
    position:relative;
    overflow:hidden;
    min-height:430px;
    padding:22px;
    border:1px solid #2a3d5c;
    border-radius:24px;
    background:
        radial-gradient(circle at 80% 0%,rgba(16,185,129,.18),transparent 36%),
        linear-gradient(145deg,#14213a,#0d1728);
    box-shadow:0 32px 80px rgba(0,0,0,.34);
}
.commercial-dashboard-preview::after{
    content:"";
    position:absolute;
    inset:auto -80px -120px auto;
    width:260px;
    height:260px;
    border-radius:50%;
    background:rgba(59,130,246,.10);
    filter:blur(12px);
}
.preview-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:#dce8f7;
    font-size:.88rem;
    font-weight:700;
}
.preview-dot{
    display:inline-block;
    width:8px;
    height:8px;
    margin-right:7px;
    border-radius:50%;
    background:#10b981;
    box-shadow:0 0 0 5px rgba(16,185,129,.13);
}
.preview-status{
    padding:5px 9px;
    border-radius:999px;
    background:rgba(16,185,129,.12);
    color:#6ee7b7;
}
.preview-metrics{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-top:26px;
}
.preview-metrics div{
    min-width:0;
    padding:14px;
    border:1px solid #263652;
    border-radius:14px;
    background:rgba(9,17,31,.62);
}
.preview-metrics small,
.preview-metrics span{
    display:block;
    color:#8394ae;
    font-size:.72rem;
}
.preview-metrics strong{
    display:block;
    margin:8px 0 5px;
    font-size:1.15rem;
    color:#f8fafc;
}
.preview-chart{
    margin-top:18px;
    padding:18px;
    border:1px solid #263652;
    border-radius:16px;
    background:rgba(9,17,31,.62);
}
.preview-chart-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-weight:700;
}
.preview-chart-title small{
    color:#8394ae;
    font-weight:500;
}
.preview-bars{
    height:190px;
    margin-top:18px;
    display:flex;
    align-items:flex-end;
    gap:11px;
    border-bottom:1px solid #263652;
}
.preview-bars i{
    flex:1;
    min-width:0;
    border-radius:6px 6px 2px 2px;
    background:linear-gradient(180deg,#34d399,#059669);
    opacity:.9;
}
.commercial-trust-strip{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1px;
    overflow:hidden;
    margin:8px 0 78px;
    border:1px solid #263652;
    border-radius:16px;
    background:#263652;
}
.commercial-trust-strip div{
    padding:20px 22px;
    background:#111c31;
}
.commercial-trust-strip strong,
.commercial-trust-strip span{
    display:block;
}
.commercial-trust-strip span{
    margin-top:5px;
    color:#8fa1ba;
    font-size:.86rem;
}
.commercial-section{
    padding:34px 0 72px;
}
.commercial-section-heading{
    max-width:720px;
}
.commercial-section-heading h2{
    margin:.28em 0;
    font-size:clamp(2rem,4vw,3.25rem);
    letter-spacing:-.035em;
}
.commercial-feature-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    margin-top:28px;
}
.commercial-feature-card{
    min-height:230px;
    padding:22px;
    border:1px solid #263652;
    border-radius:18px;
    background:#111c31;
    transition:transform .18s ease,border-color .18s ease;
}
.commercial-feature-card:hover{
    transform:translateY(-3px);
    border-color:#3a526f;
}
.commercial-feature-card h3{
    margin:15px 0 10px;
}
.commercial-feature-card p{
    margin:0;
    color:#9fb0c9;
    line-height:1.62;
}
.commercial-feature-icon{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:11px;
    background:rgba(16,185,129,.13);
    color:#6ee7b7;
    font-weight:800;
    font-size:.8rem;
}
.commercial-how{
    margin:12px 0 72px;
    padding:30px;
}
.commercial-steps{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    margin-top:24px;
}
.commercial-steps div{
    position:relative;
    padding:18px 18px 18px 58px;
    border-radius:14px;
    background:#0e1729;
}
.commercial-steps b{
    position:absolute;
    left:16px;
    top:16px;
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#10b981;
    color:#04130e;
}
.commercial-steps strong,
.commercial-steps span{
    display:block;
}
.commercial-steps span{
    margin-top:6px;
    color:#8fa1ba;
    line-height:1.5;
    font-size:.88rem;
}
.commercial-cta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    margin:0 0 34px;
    padding:34px;
    border:1px solid #295342;
    border-radius:20px;
    background:linear-gradient(135deg,rgba(16,185,129,.12),#111c31 62%);
}
.commercial-cta h2{
    margin:.28em 0;
}
.commercial-cta p{
    max-width:700px;
    margin-bottom:0;
    color:#9fb0c9;
}
@media(max-width:900px){
    .commercial-hero{
        grid-template-columns:1fr;
        gap:34px;
        padding-top:46px;
    }
    .commercial-dashboard-preview{
        min-height:390px;
    }
    .commercial-feature-grid{
        grid-template-columns:repeat(2,1fr);
    }
}
@media(max-width:700px){
    .commercial-hero-copy h1{
        font-size:clamp(2.65rem,13vw,4.2rem);
    }
    .commercial-dashboard-preview{
        min-height:auto;
        padding:16px;
    }
    .preview-metrics{
        grid-template-columns:1fr;
    }
    .preview-bars{
        height:145px;
    }
    .commercial-trust-strip,
    .commercial-feature-grid,
    .commercial-steps{
        grid-template-columns:1fr;
    }
    .commercial-trust-strip{
        gap:1px;
    }
    .commercial-cta{
        align-items:flex-start;
        flex-direction:column;
    }
}


/* Billing plan selector */
.billing-plan-grid{
    align-items:start;
}
.billing-plan-card{
    position:relative;
    cursor:pointer;
    transform:scale(1);
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease,
        background .22s ease;
    overflow:hidden;
}
.billing-plan-card:hover{
    border-color:#3c516f;
}
.billing-plan-card:focus{
    outline:none;
    border-color:#4f6f96;
    box-shadow:0 0 0 3px rgba(79,111,150,.18);
}
.billing-plan-card.selected{
    transform:scale(1.035);
    border-color:#34d399;
    background:
        radial-gradient(circle at 100% 0%,rgba(16,185,129,.12),transparent 42%),
        #111c31;
    box-shadow:
        0 18px 46px rgba(0,0,0,.28),
        0 0 0 1px rgba(52,211,153,.12);
    z-index:2;
}
.billing-plan-card.current-plan{
    border-color:#2c6d5a;
}
.billing-plan-card-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
}
.billing-plan-card-top h2{
    margin:.25rem 0 0;
}
.billing-plan-selector{
    flex:0 0 auto;
    width:26px;
    height:26px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:2px solid #40516c;
    border-radius:50%;
    background:#0d1728;
    transition:border-color .18s ease,background .18s ease;
}
.billing-plan-selector-dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:transparent;
    transform:scale(.5);
    transition:transform .18s ease,background .18s ease;
}
.billing-plan-card.selected .billing-plan-selector{
    border-color:#34d399;
    background:rgba(16,185,129,.1);
}
.billing-plan-card.selected .billing-plan-selector-dot{
    background:#34d399;
    transform:scale(1);
}
.billing-plan-trial{
    margin:.8rem 0 1rem;
}
.billing-plan-summary{
    display:grid;
    gap:5px;
}
.billing-plan-summary p{
    margin:0;
}
.billing-plan-expanded{
    margin-top:4px;
}
.billing-plan-expanded[hidden]{
    display:none !important;
}
.billing-plan-divider{
    height:1px;
    margin:20px 0;
    background:#263652;
}
.billing-plan-expanded h3{
    margin:0 0 14px;
}
.billing-plan-detail-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}
.billing-plan-detail-grid div{
    min-width:0;
    padding:12px;
    border:1px solid #263652;
    border-radius:12px;
    background:#0d1728;
}
.billing-plan-detail-grid span,
.billing-plan-detail-grid strong{
    display:block;
}
.billing-plan-detail-grid span{
    color:#8394ae;
    font-size:.8rem;
}
.billing-plan-detail-grid strong{
    margin-top:5px;
    color:#f8fafc;
    font-size:.94rem;
}
.billing-plan-action{
    display:flex;
    justify-content:flex-end;
    margin-top:16px;
}
.billing-plan-action .btn{
    min-width:150px;
}
@media(max-width:850px){
    .billing-plan-card.selected{
        transform:scale(1.015);
    }
}
@media(max-width:620px){
    .billing-plan-detail-grid{
        grid-template-columns:1fr;
    }
    .billing-plan-card.selected{
        transform:none;
    }
}


/* Billing selection update: buttons always visible; selected card is only subtly highlighted. */
.billing-plan-card{
    cursor:default !important;
}
.billing-plan-card.selected{
    transform:none !important;
    border-color:#34d399 !important;
    background:
        linear-gradient(180deg,rgba(16,185,129,.055),rgba(16,185,129,.018)),
        #111c31 !important;
    box-shadow:
        0 14px 32px rgba(0,0,0,.22),
        0 0 0 1px rgba(52,211,153,.08) !important;
}
.billing-plan-card .billing-plan-action{
    display:flex !important;
    justify-content:flex-start;
    margin-top:18px;
}
.billing-plan-card .billing-plan-action .btn{
    width:100%;
}
.billing-plan-expanded,
.billing-plan-selector{
    display:none !important;
}
.billing-confirm-modal{
    width:min(500px,100%);
}
.billing-confirm-modal h3{
    margin-top:.45rem;
}
.billing-modal-actions{
    flex-wrap:wrap;
}


/* Payment popup actions: keep all choices on one row. */
.billing-modal-actions{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-end !important;
    flex-wrap:nowrap !important;
    gap:10px !important;
}
.billing-modal-actions .btn{
    width:auto !important;
    min-width:0 !important;
    white-space:nowrap;
}
.billing-modal-actions .payment-cancel-btn{
    background:#b91c1c !important;
    color:#fff !important;
}
.billing-modal-actions .payment-cancel-btn:hover,
.billing-modal-actions .payment-cancel-btn:focus{
    background:#991b1b !important;
}
@media(max-width:700px){
    .billing-modal-actions{
        overflow-x:auto;
        justify-content:flex-start !important;
        padding-bottom:2px;
    }
    .billing-modal-actions .btn{
        flex:0 0 auto;
    }
}


.driving-insights-table .number-column{
    text-align:right !important;
}
.driving-insights-table .accident-column{
    text-align:center !important;
}
.duration-value{
    appearance:none;
    -webkit-appearance:none;
    border:0;
    padding:0;
    margin:0;
    background:transparent;
    color:#e7edf7;
    font:inherit;
    text-decoration:underline;
    text-decoration-style:dotted;
    text-underline-offset:3px;
    cursor:pointer;
    white-space:nowrap;
}
.duration-value:hover,
.duration-value:focus{
    color:#6ee7b7;
    outline:none;
}
.duration-popover{
    position:fixed;
    z-index:1000;
    max-width:min(360px,calc(100vw - 20px));
    padding:10px 12px;
    border:1px solid #3b4b67;
    border-radius:10px;
    background:#0e1729;
    color:#f8fafc;
    box-shadow:0 14px 34px rgba(0,0,0,.38);
    font-size:.9rem;
    line-height:1.4;
    pointer-events:none;
}
.duration-popover[hidden]{
    display:none !important;
}


.driving-insights-toolbar{
    align-items:flex-end;
}
.driving-insights-filter-form{
    display:flex;
    align-items:flex-end;
    gap:12px;
    flex-wrap:wrap;
}
.driving-insights-filter-form label{
    display:flex;
    flex-direction:column;
    gap:5px;
    min-width:170px;
}
.driving-insights-filter-form label span{
    color:#9fb0c9;
    font-size:.82rem;
    font-weight:700;
}
.driving-insights-filter-form select{
    margin:0;
}
@media(max-width:700px){
    .driving-insights-filter-form{
        width:100%;
    }
    .driving-insights-filter-form label{
        flex:1 1 180px;
    }
}


.driving-insights-toolbar{
    margin-bottom:14px;
}
.driving-insights-filter-box{
    margin-bottom:28px;
}
.driving-insights-filter-title{
    margin-bottom:14px;
    font-size:1.05rem;
    font-weight:800;
    color:#e7edf7;
}
.driving-insights-filter-form{
    display:flex;
    align-items:flex-end;
    gap:14px;
    flex-wrap:wrap;
}
.driving-insights-filter-form > label,
.driving-insights-custom-dates label{
    display:flex;
    flex-direction:column;
    gap:5px;
    min-width:170px;
}
.driving-insights-filter-form label span{
    color:#9fb0c9;
    font-size:.82rem;
    font-weight:700;
}
.driving-insights-filter-form select,
.driving-insights-filter-form input[type="date"]{
    margin:0;
    min-height:42px;
}
.driving-insights-custom-dates{
    display:flex;
    align-items:flex-end;
    gap:14px;
    flex-wrap:wrap;
}
.driving-insights-custom-dates[hidden]{
    display:none !important;
}
.driving-insights-filter-button{
    min-height:42px;
}
.driving-insights-summary-grid{
    margin-top:0;
}
@media(max-width:760px){
    .driving-insights-filter-form,
    .driving-insights-custom-dates{
        width:100%;
    }
    .driving-insights-filter-form > label,
    .driving-insights-custom-dates label{
        flex:1 1 180px;
    }
    .driving-insights-filter-button{
        width:100%;
    }
}


/* Driving Insights filter controls: keep selects and date fields exactly the same height. */
.driving-insights-filter-form select,
.driving-insights-filter-form input[type="date"]{
    box-sizing:border-box !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    line-height:42px !important;
}

.driving-insights-filter-form select{
    -webkit-appearance:menulist !important;
    appearance:menulist !important;
}


.billing-promo-entry{
    margin:16px 0 4px;
}
.billing-promo-entry label{
    display:block;
    margin-bottom:6px;
}
.billing-promo-row{
    display:flex;
    gap:8px;
    align-items:center;
}
.billing-promo-row input{
    flex:1 1 auto;
    margin:0;
}
.billing-promo-row .btn{
    flex:0 0 auto;
}
.billing-promo-status{
    min-height:20px;
    margin-top:6px;
    font-size:.88rem;
}
.promo-admin-box{
    margin-top:20px;
    margin-bottom:24px;
}
.promo-admin-header h2{
    margin:.3rem 0 18px;
}
.promo-create-form{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:14px;
    align-items:end;
}
.promo-create-form label{
    display:flex;
    flex-direction:column;
    gap:5px;
}
.promo-create-form label span{
    color:#9fb0c9;
    font-size:.82rem;
}
.promo-create-form input,
.promo-create-form select{
    margin:0;
}
.promo-products{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    align-items:center;
    min-height:42px;
}
.promo-products[hidden]{
    display:none !important;
}
.promo-products label{
    display:inline-flex;
    flex-direction:row;
    align-items:center;
    gap:6px;
}
.promo-products input{
    width:auto;
    margin:0;
}
.promo-create-actions{
    grid-column:1 / -1;
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}
.promo-list{
    margin-top:22px;
}


.admin-user-search,
.admin-user-edit,
.admin-users-list{
    margin-bottom:20px;
}
.admin-user-search-form .actions{
    align-items:center;
}
.admin-user-search-form input{
    margin:0;
    flex:1 1 320px;
}
.admin-user-edit{
    max-width:720px;
}
.admin-users-list .btn{
    padding:7px 11px;
}


.promo-page-title-row{
    margin-bottom:16px;
}
.promo-table-card{
    margin-top:24px;
}
.promo-table-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:16px;
}
.promo-table-heading h2{
    margin:0;
}
.promo-filter-form{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:12px;
    align-items:end;
    margin-bottom:20px;
}
.promo-filter-form label{
    display:flex;
    flex-direction:column;
    gap:5px;
}
.promo-filter-form label span,
.promo-edit-form label span{
    color:#9fb0c9;
    font-size:.82rem;
    font-weight:700;
}
.promo-filter-form input,
.promo-filter-form select,
.promo-edit-form input,
.promo-edit-form select{
    margin:0;
}
.promo-filter-actions{
    display:flex;
    gap:8px;
    align-items:center;
    min-height:42px;
}
.promo-codes-table .number-column{
    text-align:right !important;
}
.promo-actions-column{
    text-align:center !important;
}
.promo-row-actions{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
}
.promo-row-actions .btn{
    padding:7px 10px;
    min-width:auto;
}
.promo-edit-modal{
    width:min(620px,100%);
}
.promo-edit-form{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:13px;
}
.promo-edit-form label{
    display:flex;
    flex-direction:column;
    gap:5px;
}
.promo-edit-form .promo-products,
.promo-edit-form .billing-promo-status,
.promo-edit-actions{
    grid-column:1 / -1;
}
.promo-edit-actions{
    display:flex;
    justify-content:flex-end;
    gap:10px;
}
@media(max-width:650px){
    .promo-edit-form{
        grid-template-columns:1fr;
    }
    .promo-edit-form .promo-products,
    .promo-edit-form .billing-promo-status,
    .promo-edit-actions{
        grid-column:1;
    }
}


.promo-create-launch-row{
    display:flex;
    justify-content:flex-start;
    margin:0 0 20px;
}
.promo-create-modal{
    width:min(620px,100%);
}
.promo-create-form-modal{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:13px;
}
.promo-create-form-modal label{
    display:flex;
    flex-direction:column;
    gap:5px;
}
.promo-create-form-modal label span{
    color:#9fb0c9;
    font-size:.82rem;
    font-weight:700;
}
.promo-create-form-modal input,
.promo-create-form-modal select{
    box-sizing:border-box !important;
    width:100% !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
}
.promo-create-form-modal select{
    -webkit-appearance:menulist !important;
    appearance:menulist !important;
}
.promo-create-form-modal .promo-products,
.promo-create-form-modal .billing-promo-status,
.promo-create-modal-actions{
    grid-column:1 / -1;
}
.promo-create-modal-actions{
    display:flex;
    justify-content:flex-end;
    gap:10px;
}
@media(max-width:650px){
    .promo-create-form-modal{
        grid-template-columns:1fr;
    }
    .promo-create-form-modal .promo-products,
    .promo-create-form-modal .billing-promo-status,
    .promo-create-modal-actions{
        grid-column:1;
    }
}


/* Promo Code create/edit controls: force text fields and lists to identical height. */
.promo-create-form-modal input,
.promo-create-form-modal select,
.promo-edit-form input,
.promo-edit-form select{
    box-sizing:border-box !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    line-height:42px !important;
}

.promo-create-form-modal select,
.promo-edit-form select{
    -webkit-appearance:menulist !important;
    appearance:menulist !important;
}


/* Promo Codes table filters: keep all fields and dropdown lists exactly the same height. */
.promo-filter-form input,
.promo-filter-form select{
    box-sizing:border-box !important;
    width:100% !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    line-height:42px !important;
}

.promo-filter-form select{
    -webkit-appearance:menulist !important;
    appearance:menulist !important;
}


.payment-history-launch{
    margin-top:20px;
}
.payment-history-modal{
    width:min(900px,100%);
}
.payment-history-table-wrap{
    max-height:min(60vh,520px);
    margin-top:14px;
}


#subscription-box[hidden]{
    display:none !important;
}


.main-nav{
    display:flex;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}
.nav-menu{
    position:relative;
    display:inline-flex;
    align-items:center;
}
.nav-menu-button{
    width:40px;
    height:36px;
    padding:7px 8px;
    display:inline-flex;
    flex-direction:column;
    justify-content:center;
    gap:4px;
    border:1px solid #334155;
    border-radius:9px;
    background:#1b2941;
    cursor:pointer;
}
.nav-menu-button span{
    display:block;
    width:100%;
    height:2px;
    border-radius:999px;
    background:#dbeafe;
}
.nav-menu-button:hover,
.nav-menu-button:focus{
    background:#263652;
    outline:none;
}
.nav-menu-panel[hidden]{
    display:none !important;
}

.nav-menu-panel.is-open{display:flex !important}
.nav-menu-panel{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    z-index:1000;
    min-width:210px;
    padding:7px;
    display:flex;
    flex-direction:column;
    gap:2px;
    background:#121d31;
    border:1px solid #334155;
    border-radius:12px;
    box-shadow:0 18px 38px rgba(0,0,0,.4);
}
.topbar .nav-menu-panel a{
    display:block;
    padding:9px 11px;
    border-radius:8px;
    white-space:nowrap;
}
.topbar .nav-menu-panel a:hover,
.topbar .nav-menu-panel a:focus{
    background:#1b2941;
}
@media(max-width:700px){
    .main-nav{
        width:100%;
        justify-content:flex-start;
    }
    .nav-menu-panel{
        right:auto;
        left:0;
    }
}


.checkout-shell{
    width:min(780px,100%);
    margin:32px auto;
}
.checkout-main{
    padding:clamp(22px,4vw,34px);
}
.checkout-main h1{
    margin:.35rem 0 .5rem;
}
.checkout-lead{
    font-size:1rem;
    margin-bottom:22px;
}
.checkout-plan-summary{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:12px;
    padding:16px;
    border:1px solid #2b3a53;
    border-radius:12px;
    background:#0e1729;
}
.checkout-plan-summary strong{
    display:block;
    margin-top:4px;
}
.checkout-benefits{
    display:grid;
    gap:8px;
    margin:18px 0;
    color:#cbd5e1;
}
.checkout-promo{
    margin:20px 0;
}
.checkout-promo-row{
    display:flex;
    align-items:center;
    gap:8px;
}
.checkout-promo-row input{
    margin:0;
    flex:1 1 auto;
}
.checkout-actions{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    flex-wrap:wrap;
    margin-top:22px;
}
.checkout-security-note{
    margin:14px 0 0;
    font-size:.86rem;
    line-height:1.5;
}
@media(max-width:620px){
    .checkout-promo-row{
        align-items:stretch;
        flex-direction:column;
    }
    .checkout-actions{
        flex-direction:column-reverse;
    }
    .checkout-actions .btn{
        width:100%;
        text-align:center;
    }
}


.admin-optimize-locations{
    margin-bottom:20px;
}
.admin-optimize-locations h2{
    margin:.3rem 0 .7rem;
}
.admin-optimize-actions{
    display:flex;
    gap:14px;
    align-items:center;
    flex-wrap:wrap;
    margin-top:16px;
}
.admin-optimize-progress{
    min-height:24px;
    display:flex;
    align-items:center;
    gap:5px;
}
.admin-optimize-progress.loading::before{
    content:'';
    width:14px;
    height:14px;
    border:2px solid #475569;
    border-top-color:#6ee7b7;
    border-radius:50%;
    animation:admin-location-spin .8s linear infinite;
}
@keyframes admin-location-spin{
    to{transform:rotate(360deg)}
}


.admin-user-edit{
    max-width:620px;
}
.admin-user-field-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:0 18px;
}
.admin-user-field{
    min-width:0;
}
.admin-user-field input,
.admin-user-field select{
    width:100%;
}
@media(max-width:620px){
    .admin-user-field-grid{
        grid-template-columns:1fr;
        gap:0;
    }
}


/* System Admin edit form: match select heights to text-field height exactly. */
.admin-user-edit .admin-user-field input,
.admin-user-edit .admin-user-field select{
    box-sizing:border-box !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:6px 0 12px !important;
}

.admin-user-edit .admin-user-field select{
    padding-top:0 !important;
    padding-bottom:0 !important;
    line-height:42px !important;
    -webkit-appearance:menulist !important;
    appearance:menulist !important;
}


.admin-user-edit-modal{
    width:min(680px,100%);
    max-height:min(90vh,860px);
    overflow:auto;
}
.admin-user-edit-modal .admin-user-edit-actions{
    justify-content:flex-end;
    margin-top:8px;
}


.group-invite-modal{
    width:min(560px,100%);
}
.group-invite-list-modal{
    width:min(780px,100%);
    max-height:min(90vh,900px);
    overflow:auto;
}
.group-invite-list{
    display:grid;
    gap:12px;
    margin-top:14px;
}
.group-invite-item{
    border:1px solid #334155;
    border-radius:12px;
    padding:14px;
    background:#0f192b;
}
.group-invite-item-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:6px;
}
.group-invite-code{
    font-size:1.3rem;
    letter-spacing:.14em;
}
.group-invite-item-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:8px;
}
.group-invite-modal input,
.group-invite-modal select,
.group-invite-item input,
.group-invite-item select{
    box-sizing:border-box !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
}
.group-invite-modal select,
.group-invite-item select{
    -webkit-appearance:menulist !important;
    appearance:menulist !important;
}


.people-primary-actions{
    margin-bottom:18px;
}
.people-form-modal{
    width:min(580px,100%);
}
.people-groups-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin:24px 0 12px;
}
.people-groups-heading h2{
    margin:0;
}
.people-groups-table tbody tr.people-group-row{
    cursor:pointer;
}
.people-groups-table tbody tr.people-group-row:hover{
    background:rgba(148,163,184,.08);
}
.people-groups-table td{
    vertical-align:middle;
}
.people-members-count{
    text-align:right !important;
    white-space:nowrap;
}
.group-details-modal{
    width:min(660px,100%);
}
.group-details-modal fieldset{
    border:1px solid #334155;
    border-radius:12px;
    padding:14px;
    margin:16px 0;
}
.group-details-modal legend{
    padding:0 6px;
    font-weight:700;
}
.group-details-invite-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:14px 0;
}
.group-details-modal select,
.group-details-modal input:not([type="checkbox"]),
.people-form-modal select,
.people-form-modal input:not([type="checkbox"]){
    box-sizing:border-box;
    min-height:42px;
}
@media(max-width:640px){
    .people-groups-heading{
        align-items:flex-start;
        flex-direction:column;
    }
    .people-groups-heading .actions{
        width:100%;
    }
}


/* Group popup alignment */
.group-details-modal .group-details-check-row{
    display:flex !important;
    align-items:center !important;
    gap:20px !important;
    margin:10px 0 !important;
}
.group-details-modal .group-details-check-row input[type="checkbox"]{
    flex:0 0 auto !important;
    width:auto !important;
    min-width:0 !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
}
.group-details-modal .group-details-check-row span{
    margin:0 !important;
}

.group-details-modal .group-details-data-row{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:20px !important;
    margin:10px 0 14px !important;
}
.group-details-modal .group-details-data-row > span{
    flex:0 0 auto !important;
    margin:0 !important;
}
.group-details-modal .group-details-data-row select{
    width:auto !important;
    min-width:220px !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    box-sizing:border-box !important;
    -webkit-appearance:menulist !important;
    appearance:menulist !important;
}

@media(max-width:560px){
    .group-details-modal .group-details-data-row{
        align-items:flex-start !important;
        flex-direction:column !important;
        gap:8px !important;
    }
    .group-details-modal .group-details-data-row select{
        width:100% !important;
        min-width:0 !important;
    }
}


.group-details-modal #group-details-from-date{
    width:auto !important;
    min-width:220px !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
    box-sizing:border-box !important;
}


/* Group popup: fixed width for From this date field. */
.group-details-modal #group-details-from-date{
    width:150px !important;
    min-width:150px !important;
    max-width:150px !important;
}


/* Group popup visibility: hidden rows must never be forced visible by flex rules. */
.group-details-modal .group-details-data-row[hidden]{
    display:none !important;
}


/* Invite management: Type left, expiration right, same horizontal row. */
.group-invite-management-fields{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:20px;
    align-items:end;
    margin-top:12px;
}
.group-invite-management-type,
.group-invite-edit-expiration-wrap{
    display:flex;
    flex-direction:column;
    gap:6px;
    margin:0 !important;
}
.group-invite-management-type{
    align-items:flex-start;
}
.group-invite-edit-expiration-wrap{
    align-items:flex-end;
    text-align:right;
}
.group-invite-management-type select,
.group-invite-edit-expiration-wrap input{
    width:100% !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
    box-sizing:border-box !important;
}
.group-invite-edit-expiration-wrap[hidden]{
    display:none !important;
}
@media(max-width:650px){
    .group-invite-management-fields{
        grid-template-columns:1fr;
    }
    .group-invite-edit-expiration-wrap{
        align-items:flex-start;
        text-align:left;
    }
}


/* Share-with-a-user popup uses the same Shared data layout as GROUP popup. */
.direct-share-shared-data{
    border:1px solid #334155;
    border-radius:12px;
    padding:14px;
    margin:16px 0;
}
.direct-share-shared-data legend{
    padding:0 6px;
    font-weight:700;
}
.people-form-modal .group-details-check-row{
    display:flex !important;
    align-items:center !important;
    gap:20px !important;
    margin:10px 0 !important;
}
.people-form-modal .group-details-check-row input[type="checkbox"]{
    flex:0 0 auto !important;
    width:auto !important;
    min-width:0 !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
}
.people-form-modal .group-details-data-row{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:20px !important;
    margin:10px 0 14px !important;
}
.people-form-modal .group-details-data-row[hidden]{
    display:none !important;
}
.people-form-modal .group-details-data-row > span{
    flex:0 0 auto !important;
    margin:0 !important;
}
.people-form-modal .group-details-data-row select{
    width:auto !important;
    min-width:220px !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
    box-sizing:border-box !important;
}
.people-form-modal #direct-share-from-date{
    width:150px !important;
    min-width:150px !important;
    max-width:150px !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    margin:0 !important;
}


.group-details-modal .group-details-name-field{
    display:flex;
    flex-direction:column;
    gap:6px;
    margin:8px 0 10px;
}
.group-details-modal .group-details-name-field > span{
    font-weight:600;
}
.group-details-modal #group-details-name{
    width:100% !important;
    height:42px !important;
    min-height:42px !important;
    margin:0 !important;
    box-sizing:border-box !important;
}


/* Insights controls */
.insights-control-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    align-items:stretch;
    margin:16px 0;
}
.insights-control-card{
    margin:0;
}
.insights-control-card h2{
    margin-top:0;
}
.insights-control-card select{
    width:100%;
}
.insights-frequency-note{
    min-height:44px;
}
.insights-metrics-card > summary{
    cursor:pointer;
    list-style:none;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    font-weight:700;
    font-size:1.05rem;
}
.insights-metrics-card > summary::-webkit-details-marker{
    display:none;
}
.insights-metrics-toggle::before{
    content:"+";
    display:inline-block;
    font-size:1.5rem;
    line-height:1;
    font-weight:700;
}
.insights-metrics-card[open] .insights-metrics-toggle::before{
    content:"−";
}
.insights-metrics-body{
    padding-top:12px;
}
@media (max-width:900px){
    .insights-control-grid{
        grid-template-columns:1fr;
    }
    .insights-frequency-note{
        min-height:0;
    }
}


/* Insights layout refinements */
.insights-activity-tabs{
    margin-bottom:20px;
}

.insights-control-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    column-gap:16px;
    row-gap:16px;
    align-items:stretch;
    margin:0 0 16px 0;
}

.insights-control-card{
    margin:0;
    height:100%;
    box-sizing:border-box;
}

.insights-control-title{
    display:block;
    margin:0 0 12px 0;
    font-size:1.1rem;
    line-height:1.3;
    font-weight:700;
}

.insights-metrics-card > summary{
    min-height:1.45em;
}

.insights-metrics-card > summary .insights-control-title{
    margin:0;
}

@media (max-width:900px){
    .insights-control-grid{
        grid-template-columns:1fr;
        column-gap:16px;
        row-gap:16px;
    }
}


/* Final Insights layout */
.insights-activity-tabs{
    margin-bottom:20px !important;
}

.insights-control-grid{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:16px !important;
    align-items:stretch !important;
    margin:0 0 16px 0 !important;
}

.insights-control-card{
    margin:0 !important;
    height:100% !important;
    box-sizing:border-box !important;
}

.insights-control-title{
    display:block !important;
    margin:0 0 12px 0 !important;
    font-size:1.1rem !important;
    line-height:1.3 !important;
    font-weight:700 !important;
}

.insights-control-card h2.insights-control-title{
    font-weight:700 !important;
}

.insights-metrics-card > summary{
    cursor:pointer;
    list-style:none;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    font-weight:700;
}

.insights-metrics-card > summary::-webkit-details-marker{
    display:none;
}

.insights-metrics-card > summary .insights-control-title{
    margin:0 !important;
    font-weight:700 !important;
}

.insights-metrics-toggle::before{
    content:"+";
    display:inline-block;
    font-size:1.5rem;
    line-height:1;
    font-weight:700;
}

.insights-metrics-card[open] .insights-metrics-toggle::before{
    content:"−";
}

.insights-metrics-body{
    padding-top:12px;
}

@media (max-width:900px){
    .insights-control-grid{
        grid-template-columns:1fr !important;
        gap:16px !important;
    }
}


/* Final responsive Insights control layout */
.insights-control-grid{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:16px !important;
    width:100% !important;
    align-items:stretch !important;
}

.insights-control-grid > .insights-control-card{
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    box-sizing:border-box !important;
}

.insights-control-title,
.insights-metrics-summary .insights-control-title{
    display:block !important;
    font-weight:700 !important;
    font-size:1.1rem !important;
    line-height:1.3 !important;
    margin:0 0 12px 0 !important;
}

.insights-metrics-summary{
    font-weight:700 !important;
}

.insights-metrics-summary .insights-control-title{
    margin:0 !important;
}

/* Mobile/tablet: stack the three boxes vertically. */
@media (max-width: 767px){
    .insights-control-grid{
        grid-template-columns:1fr !important;
        gap:16px !important;
    }
}

/* Desktop: always keep the three boxes side by side. */
@media (min-width: 768px){
    .insights-control-grid{
        grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Locations map-only layout and marker details. */
.locations-map{min-height:460px}
.map-location-popup{min-width:240px;max-width:340px;color:#e7edf7;font:14px/1.35 Inter,system-ui,-apple-system,sans-serif;padding:4px 2px;background:#121d31}
.map-location-popup-row{display:grid;grid-template-columns:minmax(105px,auto) 1fr;gap:10px;padding:6px 0;border-bottom:1px solid #2b3a53}
.map-location-popup-row:last-child{border-bottom:0}
.map-location-popup-row strong{color:#f8fafc}
.map-location-popup-row span{overflow-wrap:anywhere;color:#b9c7dc}
/* Google Maps InfoWindow dark-theme integration. */
.gm-style .gm-style-iw-c{background:#121d31 !important;color:#e7edf7 !important;border:1px solid #263652 !important;box-shadow:0 12px 28px #0008 !important}
.gm-style .gm-style-iw-d{overflow:auto !important;background:#121d31 !important}
.gm-style .gm-style-iw-tc::after{background:#121d31 !important}
.gm-style .gm-ui-hover-effect{filter:invert(1) brightness(1.6) !important;opacity:.9 !important}

/* Locations map InfoWindow: force the same dark presentation as the site across Chrome/Safari. */
.gm-style .gm-style-iw-c,
.gm-style .gm-style-iw-d,
.gm-style .gm-style-iw-tc::after {
    background:#121d31 !important;
    color:#e7edf7 !important;
}
.gm-style .gm-style-iw-c {
    border:1px solid #263652 !important;
    border-radius:12px !important;
    box-shadow:0 12px 28px rgba(0,0,0,.55) !important;
    padding:0 !important;
}
.gm-style .gm-style-iw-d {
    overflow:hidden !important;
    padding:0 !important;
}
.gm-style .gm-style-iw-chr {
    background:#121d31 !important;
}
.gm-style .gm-ui-hover-effect {
    opacity:1 !important;
    top:2px !important;
    right:2px !important;
}
.gm-style .gm-ui-hover-effect span {
    background-color:#e7edf7 !important;
}
.map-location-popup {
    min-width:260px;
    max-width:360px;
    color:#e7edf7;
    font:13px/1.28 Inter,system-ui,-apple-system,sans-serif;
    padding:0;
    background:#121d31;
    overflow:hidden;
}
.map-location-popup-title {
    position:relative;
    z-index:1;
    margin:0;
    padding:12px 42px 9px 14px;
    border-bottom:1px solid #2b3a53;
    background:#121d31;
    color:#f8fafc;
    font-size:16px;
    font-weight:700;
    line-height:1.2;
}
.map-location-popup-body {
    max-height:min(58vh,360px);
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:4px 14px 8px;
    scrollbar-width:thin;
}
.map-location-popup-row {
    display:grid;
    grid-template-columns:minmax(112px,auto) 1fr;
    gap:7px;
    padding:4px 0;
    border-bottom:1px solid #2b3a53;
}
.map-location-popup-row:last-child { border-bottom:0; }
.map-location-popup-row strong { color:#f8fafc; font-weight:600; }
.map-location-popup-row span { overflow-wrap:anywhere; color:#b9c7dc; }

/* History and Places */
.history-web-list{display:grid;gap:14px;margin:18px 0}.history-web-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:14px;background:#35323a;border-radius:18px;padding:18px;align-items:start}.history-pin{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.1)}.history-web-title{font-weight:700;font-size:1.2rem}.history-web-duration{white-space:nowrap}.history-place-form,.place-card-actions,.place-rename-form{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.history-place-form{margin-top:10px}.history-place-form input{min-width:220px;flex:1}.places-list{display:grid;gap:14px}.place-card{display:flex;justify-content:space-between;align-items:center;gap:18px}.place-card h2{margin:0 0 6px}@media(max-width:700px){.history-web-card{grid-template-columns:34px minmax(0,1fr)}.history-web-duration{grid-column:2}.place-card,.place-card-actions,.place-rename-form{flex-direction:column;align-items:stretch}}

/* Logged-out marketing homepage */
.marketing-hero{margin:0 0 42px}.marketing-slideshow{position:relative;min-height:clamp(520px,62vw,820px);overflow:hidden;border:1px solid #263244;border-radius:22px;background:#07111f;box-shadow:0 24px 70px rgba(0,0,0,.35)}
.marketing-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .65s ease}.marketing-slide.active{opacity:1;pointer-events:auto}.marketing-slide>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.marketing-slide-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,8,18,.92) 0%,rgba(3,8,18,.65) 34%,rgba(3,8,18,.12) 70%,rgba(3,8,18,.1) 100%);display:flex;align-items:flex-end;padding:clamp(28px,5vw,72px)}
.marketing-slide-copy{max-width:650px;padding:26px;border-radius:20px;background:rgba(7,17,31,.72);backdrop-filter:blur(8px);border:1px solid rgba(135,113,255,.28)}.marketing-kicker,.marketing-slide-copy .eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.13em;font-weight:800;font-size:.8rem;color:#9aa8ff;margin-bottom:8px}.marketing-slide-copy h1{font-size:clamp(2rem,4.2vw,4.4rem);line-height:1.02;margin:0 0 16px;color:#fff}.marketing-slide-copy p{font-size:clamp(1rem,1.5vw,1.25rem);line-height:1.55;color:#d5deec;margin:0 0 22px}.marketing-actions{display:flex;gap:10px;flex-wrap:wrap}.marketing-actions.center{justify-content:center}
.marketing-slide-nav{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(7,17,31,.66);color:#fff;font-size:32px;cursor:pointer}.marketing-slide-nav.prev{left:16px}.marketing-slide-nav.next{right:16px}.marketing-slide-dots{position:absolute;z-index:5;left:50%;bottom:16px;transform:translateX(-50%);display:flex;gap:8px}.marketing-slide-dots button{width:10px;height:10px;padding:0;border-radius:50%;border:0;background:rgba(255,255,255,.4);cursor:pointer}.marketing-slide-dots button.active{background:#8a66ff;box-shadow:0 0 0 4px rgba(138,102,255,.2)}
.marketing-intro{max-width:930px;text-align:center;margin:70px auto 38px}.marketing-intro h2,.marketing-story h2,.marketing-adventure-band h2,.marketing-final-cta h2,.marketing-privacy h2{font-size:clamp(2rem,3.2vw,3.2rem);line-height:1.08;margin:8px 0 14px}.marketing-intro p{font-size:1.18rem;line-height:1.75;color:#aab8cb}.marketing-benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:70px}.marketing-benefit-grid article,.marketing-use-grid article{background:linear-gradient(180deg,#111b2b,#0b1320);border:1px solid #263244;border-radius:16px;padding:22px}.marketing-benefit-grid h3,.marketing-use-grid h3{margin:6px 0 10px}.marketing-benefit-grid p,.marketing-use-grid p{color:#9fb0c7;line-height:1.6;margin:0}.marketing-number{font-weight:900;color:#8c6cff;font-size:.83rem;letter-spacing:.1em}
.marketing-story{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:36px;margin:80px 0;padding:28px;border:1px solid #263244;border-radius:22px;background:#0b1220}.marketing-story.reverse{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.marketing-story.reverse .marketing-story-copy{order:2}.marketing-story.reverse img{order:1}.marketing-story img{width:100%;border-radius:16px;border:1px solid #263244}.marketing-story-copy p{color:#aab8cb;line-height:1.7;font-size:1.05rem}.marketing-pills,.marketing-adventure-points,.marketing-privacy-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.marketing-pills span,.marketing-adventure-points span,.marketing-privacy-list span{border:1px solid #34445e;border-radius:999px;padding:8px 12px;color:#d6dfea;background:#111b2b}.marketing-text-link{display:inline-block;margin-top:10px;color:#9f8cff;font-weight:800;text-decoration:none}
.marketing-adventure-band{margin:72px 0;padding:38px;border-radius:22px;background:radial-gradient(circle at 85% 20%,rgba(88,69,184,.28),transparent 38%),linear-gradient(135deg,#111a2e,#0a1220);border:1px solid #34445e}.marketing-adventure-band>div:first-child{max-width:900px}.marketing-adventure-band p{color:#b8c5d6;font-size:1.08rem;line-height:1.7}.marketing-use-cases{margin:72px 0}.marketing-use-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.marketing-privacy{display:grid;grid-template-columns:1.5fr 1fr;gap:30px;align-items:center;padding:34px;margin:72px 0}.marketing-privacy p{color:#aab8cb;line-height:1.7}.marketing-final-cta{text-align:center;padding:64px 24px;margin:50px 0 10px;border-radius:22px;background:linear-gradient(135deg,rgba(93,57,196,.28),rgba(20,112,175,.2));border:1px solid #364966}.marketing-final-cta p{max-width:760px;margin:0 auto 24px;color:#bac6d6;font-size:1.08rem}
@media(max-width:1100px){.marketing-benefit-grid,.marketing-use-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.marketing-story,.marketing-story.reverse,.marketing-privacy{grid-template-columns:1fr}.marketing-story.reverse .marketing-story-copy,.marketing-story.reverse img{order:initial}}
@media(max-width:700px){.marketing-slideshow{min-height:620px;border-radius:16px}.marketing-slide-overlay{align-items:flex-end;padding:18px}.marketing-slide-copy{padding:18px}.marketing-slide-copy h1{font-size:2rem}.marketing-slide-copy p{font-size:.98rem}.marketing-slide-nav{width:38px;height:38px}.marketing-benefit-grid,.marketing-use-grid{grid-template-columns:1fr}.marketing-story,.marketing-adventure-band,.marketing-privacy{padding:20px;margin:50px 0}.marketing-actions .btn{flex:1;text-align:center}}


/* Refactored logged-out landing page */
.landing-hero-static{margin:18px 0 58px;padding:clamp(34px,6vw,78px);border:1px solid #263244;border-radius:22px;background:radial-gradient(circle at 90% 10%,rgba(38,216,105,.16),transparent 34%),linear-gradient(135deg,#0b1220,#101a2b);overflow:hidden}.landing-hero-copy{max-width:900px}.landing-hero-copy h1{font-size:clamp(2.5rem,5.5vw,5.2rem);line-height:1.01;margin:10px 0 20px;color:#fff}.landing-hero-copy p{max-width:790px;color:#bac7d8;font-size:clamp(1.05rem,1.6vw,1.28rem);line-height:1.65}.marketing-intro{max-width:940px;margin:0 auto 54px;text-align:center}.marketing-intro h2,.landing-purpose-copy h2,.landing-plan-break h2,.landing-plan-finale h2{font-size:clamp(2rem,3.2vw,3.35rem);line-height:1.06;margin:8px 0 14px}.marketing-intro p,.landing-purpose-copy p,.landing-plan-break p,.landing-plan-finale p{color:#aebbcf;line-height:1.72;font-size:1.07rem}.landing-purpose-sections{display:flex;flex-direction:column;gap:34px}.landing-purpose{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(320px,.72fr);gap:34px;align-items:center;padding:24px;border:1px solid #263244;border-radius:22px;background:linear-gradient(180deg,#0e1726,#09111d);box-shadow:0 20px 55px rgba(0,0,0,.18)}.landing-purpose.reverse{grid-template-columns:minmax(320px,.72fr) minmax(0,1.28fr)}.landing-purpose.reverse .landing-purpose-media{order:2}.landing-purpose.reverse .landing-purpose-copy{order:1}.landing-purpose-media img{display:block;width:100%;height:auto;border-radius:16px;border:1px solid #30415b;background:#07111f}.landing-purpose-copy{padding:clamp(8px,2vw,24px)}.landing-purpose-copy h2{color:#fff}.marketing-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.marketing-pills span{padding:8px 12px;border-radius:999px;background:#111d2c;border:1px solid #34465f;color:#dbe5f2;font-size:.92rem}.marketing-actions{display:flex;gap:10px;flex-wrap:wrap}.marketing-actions.center{justify-content:center}.landing-plan-break{margin:38px 0;padding:clamp(26px,4vw,46px);border-radius:24px;border:1px solid #34475e;background:radial-gradient(circle at 50% 0,rgba(111,76,255,.20),transparent 44%),#0b1320}.landing-plan-heading{text-align:center;max-width:880px;margin:0 auto 28px}.landing-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:26px}.landing-plan-card{position:relative;padding:22px;border:1px solid #30425a;border-radius:18px;background:#101a29}.landing-plan-card.featured{border-color:#8668ff;box-shadow:0 0 0 1px rgba(134,104,255,.3),0 18px 42px rgba(61,42,133,.24)}.landing-plan-card h3{font-size:1.55rem;margin:10px 0 4px}.plan-fit{font-size:.76rem;text-transform:uppercase;letter-spacing:.09em;color:#80e7ac;font-weight:800}.plan-price{font-size:1.05rem;font-weight:800;color:#fff;margin-bottom:12px}.landing-plan-card p{font-size:.96rem;line-height:1.55;min-height:90px}.plan-includes{display:block;color:#b9a8ff;margin:12px 0 8px}.landing-plan-card ul{padding-left:18px;color:#c7d2e1;line-height:1.6;margin:10px 0 16px}.plan-trial{display:inline-block;background:#193529;color:#85efb0;padding:6px 10px;border-radius:999px;font-weight:800;font-size:.82rem}.landing-plan-finale{margin:70px 0 12px;padding:clamp(28px,5vw,56px);border-radius:24px;background:linear-gradient(135deg,rgba(25,67,54,.50),rgba(31,26,67,.65));border:1px solid #365369}.landing-plan-finale-copy{text-align:center;max-width:900px;margin:0 auto 32px}.plan-journey{display:grid;gap:10px;max-width:1050px;margin:0 auto 30px}.plan-journey-step{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:18px;padding:18px 20px;border:1px solid #34465d;border-radius:16px;background:rgba(8,17,28,.72)}.journey-number{font-size:1.35rem;font-weight:900;color:#7de9a8}.plan-journey-step h3{margin:0 0 3px}.plan-journey-step p{font-size:.94rem;margin:4px 0 0}.plan-journey-step>a{color:#ad9cff;font-weight:800;text-decoration:none;white-space:nowrap}@media(max-width:1100px){.landing-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:980px){.landing-purpose,.landing-purpose.reverse{grid-template-columns:1fr}.landing-purpose.reverse .landing-purpose-media,.landing-purpose.reverse .landing-purpose-copy{order:initial}}@media(max-width:700px){.landing-hero-static{padding:26px 20px;border-radius:16px;margin-top:8px}.landing-purpose{padding:14px;gap:16px;border-radius:16px}.landing-purpose-sections{gap:22px}.landing-plan-grid{grid-template-columns:1fr}.landing-plan-card p{min-height:0}.plan-journey-step{grid-template-columns:44px 1fr}.plan-journey-step>a{grid-column:2}.marketing-actions .btn{flex:1;text-align:center}}
footer a{color:#9fb0c9;text-decoration:none}footer a:hover{color:#6ee7b7}
