@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700&display=swap');
:root{--navy:#101c2d;--navy-2:#17283e;--paper:#f6f4ee;--card:#fff;--ink:#182231;--muted:#718096;--line:#e7e7e3;--coral:#da705c;--sage:#719788;--blue:#527e9c;--gold:#c69955;--shadow:0 12px 36px rgba(26,39,52,.07);font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--paper)}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}.app-shell{display:grid;grid-template-columns:258px 1fr;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:258px;background:var(--navy);color:#d9e0e8;padding:24px 16px;display:flex;flex-direction:column;z-index:30;overflow-y:auto}.brand{display:flex;align-items:center;gap:11px;font-family:Manrope,sans-serif;font-weight:600;color:#fff;font-size:14px;letter-spacing:.1px}.brand b{color:#d8b170;font-weight:700}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border:1px solid #d8b170;border-radius:10px;color:#d8b170;font-family:Georgia,serif;font-size:19px}.side-head{display:flex;align-items:center;justify-content:space-between;padding:0 8px 25px}.sidebar nav{display:flex;flex-direction:column;gap:2px}.nav-item{display:grid;grid-template-columns:30px 1fr auto;align-items:center;min-height:40px;padding:0 12px;border-radius:9px;color:#aeb9c6;font-size:13px;transition:.18s}.nav-item:hover{background:#192c43;color:#fff}.nav-item.active{background:#24374b;color:#fff;box-shadow:inset 3px 0 #d8b170}.nav-icon{font-size:16px;color:#90a1b2;text-align:center}.nav-item.active .nav-icon{color:#d8b170}.nav-item small{font-size:8px;text-transform:uppercase;letter-spacing:1px;background:#304357;color:#94a6b8;padding:3px 5px;border-radius:4px}.privacy-card{margin-top:auto;background:#192a40;border:1px solid #2b4058;border-radius:12px;padding:12px;display:grid;grid-template-columns:32px 1fr 12px;align-items:center;gap:8px}.privacy-card .shield{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#27493f;color:#9bd1ba}.privacy-card strong{font-size:11px;color:#e8edf3}.privacy-card p{font-size:9px;margin:3px 0 0;color:#8291a1}.privacy-card a{color:#d8b170}.main-wrap{grid-column:2;min-width:0}.topbar{height:92px;background:rgba(255,255,255,.88);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;position:sticky;top:0;z-index:20}.topbar h1{font-family:Manrope,sans-serif;font-size:22px;margin:4px 0 0;letter-spacing:-.5px}.crumb{font-size:10px;color:#8b95a2;margin:0;text-transform:uppercase;letter-spacing:1px}.top-actions{display:flex;align-items:center;gap:10px}.search-btn{border:1px solid var(--line);background:#f8f8f6;border-radius:9px;height:40px;padding:0 10px;display:flex;align-items:center;gap:9px;color:#818b96;font-size:12px}.search-btn kbd{background:#fff;border:1px solid #deded8;padding:2px 5px;border-radius:4px;font-size:9px}.icon-btn{border:0;background:transparent;position:relative;width:40px;height:40px;border-radius:10px;color:inherit;font-size:18px}.icon-btn:hover{background:#f0f0ec}.icon-btn i{position:absolute;width:6px;height:6px;background:var(--coral);border:2px solid #fff;border-radius:50%;right:8px;top:8px}.avatar{border:0;background:#d8b170;color:var(--navy);font-weight:700;width:37px;height:37px;border-radius:50%;margin-left:4px}.content{max-width:1500px;margin:auto;padding:30px 38px 50px}.welcome-row{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}.date-line,.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:700;color:#8893a0;margin:0 0 8px}.lead{font-size:18px;margin:0;color:#4f5a68}.btn{border:0;border-radius:9px;padding:11px 16px;font-weight:600;font-size:12px;cursor:pointer}.btn.primary{background:var(--navy);color:#fff;box-shadow:0 6px 16px rgba(16,28,45,.16)}.btn.secondary{background:#edf0ed;color:var(--navy)}.btn.ghost{background:transparent;color:#6b7682}.btn.wide{width:100%;height:47px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.metric-card{background:var(--card);border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:12px;padding:18px;box-shadow:var(--shadow);min-width:0}.metric-card.warm{--accent:#d27a63}.metric-card.sage{--accent:#719788}.metric-card.blue{--accent:#527e9c}.metric-card.lilac{--accent:#8d7e9e}.metric-top{display:flex;justify-content:space-between;align-items:center}.metric-icon{width:31px;height:31px;border-radius:8px;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 13%,white);color:var(--accent);font-weight:700}.trend{font-size:9px;background:#f1f2f0;color:#6f7882;border-radius:12px;padding:4px 7px}.trend.good{background:#e8f3ed;color:#4d856d}.metric-card>p{font-size:11px;color:#6e7885;margin:14px 0 5px}.metric-card>strong{font:700 25px Manrope,sans-serif;letter-spacing:-1px}.metric-card>small{display:block;color:#8b949e;font-size:9px;margin-top:9px}.progress{height:4px;background:#eeeae4;border-radius:5px;margin-top:13px}.progress i{height:100%;display:block;background:var(--accent);border-radius:5px}.goal-dots,.week-dots{display:flex;gap:5px;margin-top:13px}.goal-dots i{width:18px;height:4px;background:#e4e6e3;border-radius:5px}.goal-dots i.done{background:var(--accent)}.week-dots{gap:7px}.week-dots i{font-style:normal;font-size:8px;color:#9aa1a9;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:#eee}.week-dots i.done{background:var(--accent);color:#fff}.spark{height:19px;display:flex;align-items:end;gap:3px;margin-top:7px}.spark i{display:block;flex:1;background:#dce7ed;border-radius:2px;height:40%}.spark i:nth-child(2){height:55%}.spark i:nth-child(3){height:48%}.spark i:nth-child(4){height:72%}.spark i:nth-child(5){height:66%}.spark i:nth-child(6){height:82%}.spark i:nth-child(7){height:95%;background:var(--accent)}.dashboard-grid{display:grid;grid-template-columns:1.45fr .95fr;gap:15px;margin-top:15px}.panel{background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:start;padding:20px 21px 13px}.panel-head h2{font:700 15px Manrope,sans-serif;margin:0}.panel-head a{font-size:10px;color:#728092}.task-list{padding:0 21px}.task{display:flex;align-items:center;gap:11px;border-top:1px solid #eeeeea;padding:12px 0;cursor:pointer}.task:first-child{border-top:0}.task input{position:absolute;opacity:0}.check{width:17px;height:17px;border:1.5px solid #bfc6ca;border-radius:5px}.task input:checked+.check{background:var(--sage);border-color:var(--sage)}.task-copy{display:flex;flex:1;flex-direction:column}.task-copy strong{font-size:11px}.task-copy small{font-size:9px;color:#939ba4;margin-top:3px}.priority{font-size:8px;text-transform:uppercase;border-radius:10px;padding:4px 7px;background:#f0f1ef;color:#78818b}.priority.high{background:#f8e6e2;color:#bb5e4c}.add-line{width:100%;border:0;border-top:1px solid #eee;background:#fafaf8;padding:12px 21px;text-align:left;color:#6d7b88;font-size:10px}.insight-mark{width:32px;height:32px;display:grid;place-items:center;background:#f5eee1;color:#b58b4e;border-radius:50%}.insight-body{padding:7px 21px 16px}.insight-body>p{font-family:Manrope,sans-serif;font-size:13px;line-height:1.55}.insight-body .muted{font:400 8px 'DM Sans';color:#9199a2}.mini-chart{padding:10px 0}.mini-chart div{display:grid;grid-template-columns:66px 1fr 38px;align-items:center;gap:8px;margin:7px 0}.mini-chart span,.mini-chart b{font-size:8px;color:#7c8792}.mini-chart i{height:7px;background:#d7dfda;border-radius:5px}.mini-chart div+div i{background:#eadfd8}.panel-link{display:flex;justify-content:space-between;background:#fafaf8;border-top:1px solid #eee;padding:12px 21px;font-size:10px;color:#6b7783}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:0 21px 21px;gap:9px}.quick-grid button{border:1px solid #e8e8e4;border-radius:9px;background:#fafaf8;display:flex;flex-direction:column;align-items:center;gap:7px;padding:13px 6px;font-size:9px;color:#65717d}.quick-icon{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;font-size:13px}.quick-icon.coral{background:#f7e6e1;color:#c6614f}.quick-icon.green{background:#e5f0eb;color:#5c8a78}.quick-icon.navy{background:#e5eaf0;color:#476077}.quick-icon.gold{background:#f3ebdd;color:#a3793c}.activity-list{list-style:none;padding:0 21px 16px;margin:0}.activity-list li{display:flex;gap:10px;padding:8px 0}.activity-dot{width:7px;height:7px;border-radius:50%;background:#7f9b8e;margin-top:4px}.activity-list div{display:flex;flex-direction:column}.activity-list strong{font-size:10px}.activity-list small{font-size:8px;color:#929aa2;margin-top:3px}.module-hero{background:linear-gradient(125deg,#15253a,#2b4055);color:#fff;border-radius:16px;padding:30px;display:flex;justify-content:space-between;align-items:end}.module-hero h2{font:700 28px Manrope;margin:0 0 8px}.module-hero p:not(.eyebrow){margin:0;color:#c8d0d8;max-width:570px}.module-hero .eyebrow{color:#d8b170}.module-hero .btn{background:#d8b170;color:#15253a}.empty-panel{margin-top:16px;background:#fff;border:1px solid var(--line);border-radius:14px;min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px}.empty-panel>span{width:52px;height:52px;border-radius:15px;background:#f1f0eb;display:grid;place-items:center;font-size:23px;color:#6f7f8b}.empty-panel h3{font:700 18px Manrope;margin:15px 0 7px}.empty-panel p{font-size:12px;color:#7d8791;max-width:370px;line-height:1.5;margin:0 0 18px}.modal-backdrop{position:fixed;inset:0;background:rgba(8,15,25,.58);z-index:60;display:grid;place-items:center;padding:20px}.modal-backdrop[hidden]{display:none}.modal{background:#fff;border-radius:16px;padding:27px;width:min(480px,100%);position:relative;box-shadow:0 30px 80px rgba(0,0,0,.25)}.modal h2{font:700 21px Manrope;margin:0}.modal .muted{font-size:11px;color:#7f8993}.modal-close{position:absolute;right:15px;top:14px;border:0;background:#f1f1ed;border-radius:50%;width:30px;height:30px;font-size:19px}.entry-types{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:20px}.entry-types button{height:80px;border:1px solid var(--line);background:#fafaf7;border-radius:10px;font-weight:700;color:#344353}.entry-types span{display:block;font-size:9px;margin-top:6px;font-weight:500}.modal form{margin-top:20px}.modal label,.login-card label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:600;margin:13px 0}.modal input,.login-card input{border:1px solid #dadddc;border-radius:9px;padding:12px 13px;outline:none;background:#fff}.modal input:focus,.login-card input:focus{border-color:#759584;box-shadow:0 0 0 3px rgba(113,151,136,.12)}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.save-status{font-size:10px;color:#4c8069}.login-page{background:var(--navy)}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr}.login-brand{padding:50px 7vw;background:radial-gradient(circle at 20% 80%,#29465b 0,transparent 42%),var(--navy);color:#fff;display:flex;flex-direction:column;justify-content:space-between}.login-copy{max-width:640px;margin:auto 0}.login-copy .eyebrow{color:#d8b170}.login-copy h1{font:700 clamp(35px,5vw,66px)/1.08 Manrope;margin:18px 0;letter-spacing:-2.8px}.login-copy>p{color:#aebac6;line-height:1.7;max-width:560px}.trust-line{display:flex;gap:24px;color:#95a4b3;font-size:10px}.trust-line span:before{content:'✓';color:#91bda9;margin-right:6px}.login-panel{background:#f5f3ed;display:grid;place-items:center;padding:30px}.login-card{width:min(390px,100%);background:#fff;border:1px solid #e2e2dc;border-radius:18px;padding:34px;box-shadow:var(--shadow)}.login-card h2{font:700 23px Manrope;margin:0}.login-card .muted{font-size:11px;color:#7c8792}.alert{padding:10px;background:#fbe8e5;color:#a3493c;border-radius:8px;font-size:11px}.fine-print{text-align:center;color:#929aa3;font-size:9px;line-height:1.5}.mobile-only{display:none}.nav-backdrop{display:none}
@media(max-width:1050px){.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.quick-panel{order:3}.activity-panel{order:4}}
@media(max-width:760px){.app-shell{display:block}.sidebar{transform:translateX(-102%);transition:.25s;width:min(86vw,290px)}.sidebar.open{transform:none}.main-wrap{display:block}.mobile-only{display:inline-grid;place-items:center}.nav-backdrop{position:fixed;inset:0;background:rgba(5,10,18,.5);z-index:25}.nav-backdrop.show{display:block}.topbar{height:76px;padding:0 16px;gap:8px}.topbar>div:nth-child(2){flex:1}.topbar h1{font-size:17px}.crumb{display:none}.search-btn{width:40px}.search-btn .search-text,.search-btn kbd{display:none}.top-actions{gap:1px}.content{padding:20px 16px 35px}.welcome-row{align-items:center}.welcome-row .lead{font-size:14px}.welcome-row .date-line{display:none}.welcome-row .btn{font-size:0;width:42px;height:42px;padding:0}.welcome-row .btn span{font-size:18px}.metric-grid{grid-template-columns:1fr 1fr;gap:10px}.metric-card{padding:14px}.metric-card>strong{font-size:21px}.metric-card>small{font-size:8px}.quick-grid{grid-template-columns:repeat(4,1fr);padding-inline:14px}.module-hero{padding:22px;align-items:start;gap:20px}.module-hero h2{font-size:23px}.module-hero p:not(.eyebrow){font-size:11px}.module-hero .btn{font-size:0;min-width:42px}.module-hero .btn:first-letter{font-size:18px}.login-shell{grid-template-columns:1fr}.login-brand{min-height:40vh;padding:30px}.login-copy{margin:60px 0 20px}.login-copy h1{font-size:38px}.trust-line{display:none}.login-panel{padding:20px}.login-card{padding:25px}.entry-types{grid-template-columns:repeat(2,1fr)}}
@media(max-width:410px){.metric-grid{grid-template-columns:1fr}.top-actions .icon-btn{display:none}.quick-grid{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.side-links{display:flex;gap:12px;padding:15px 12px 8px}.side-links a{font-size:9px;color:#8291a1}.side-links a:hover{color:#fff}.hero-shield,.profile-hero-avatar{width:56px;height:56px;display:grid;place-items:center;border-radius:16px;background:#d8b170;color:#15253a;font-size:23px;font-weight:700}.profile-hero-avatar{border-radius:50%}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.settings-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px;display:flex;justify-content:space-between;align-items:center;gap:18px}.settings-card h3,.danger-card h3,.profile-card h3{font:700 14px Manrope;margin:0 0 5px}.settings-card p,.danger-card p,.profile-card p{font-size:10px;color:#7d8792;margin:0;line-height:1.5}.settings-card.fields{display:grid;grid-template-columns:1fr 1fr;grid-column:1/-1}.settings-card label,.profile-fields label{font-size:10px;font-weight:600;display:flex;flex-direction:column;gap:7px}.settings-card select,.profile-fields input{border:1px solid #dddeda;border-radius:8px;background:#fafaf8;padding:10px}.switch input{position:absolute;opacity:0}.switch span{display:block;width:38px;height:22px;border-radius:20px;background:#d7dad8;position:relative;transition:.2s}.switch span:after{content:'';position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #999;transition:.2s}.switch input:checked+span{background:var(--sage)}.switch input:checked+span:after{transform:translateX(16px)}.settings-actions{grid-column:1/-1;display:flex;justify-content:flex-end;align-items:center;gap:16px}.danger-card,.profile-card{margin-top:16px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;display:flex;justify-content:space-between;align-items:center}.profile-card{display:block}.profile-summary{display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);padding-bottom:18px}.profile-summary>span{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#d8b170;font-weight:700}.profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.profile-note{margin-top:18px!important}
@media(max-width:760px){.settings-grid{grid-template-columns:1fr}.settings-card.fields{grid-template-columns:1fr}.profile-fields{grid-template-columns:1fr}.danger-card{align-items:flex-start;gap:18px}.hero-shield,.profile-hero-avatar{width:42px;height:42px;min-width:42px}}
.connection-flash{margin:14px 0 0;padding:12px 15px;border:1px solid #b9d7ca;background:#edf7f2;border-radius:10px;color:#285c49;font-size:11px}.connection-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.connection-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;display:flex;gap:14px;min-width:0}.connection-icon{width:42px;height:42px;min-width:42px;border-radius:12px;display:grid;place-items:center;background:#edf1ef;color:#1a3342;font-size:18px;font-weight:700}.connection-card.sage .connection-icon{background:#dceee5}.connection-card.blue .connection-icon{background:#dce9f4}.connection-card.lilac .connection-icon{background:#e9e1f1}.connection-card.warm .connection-icon{background:#f3e3d6}.connection-copy{flex:1;min-width:0}.connection-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.connection-title h3{font:700 13px Manrope;margin:2px 0 7px}.connection-status{font-size:8px;white-space:nowrap;background:#f1f1ee;color:#68737b;border-radius:12px;padding:5px 7px}.connection-status.connected{background:#dff1e7;color:#226247}.connection-copy>p{font-size:10px;line-height:1.55;color:#77838c;margin:0 0 12px}.connection-action{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.connection-action .btn{font-size:9px;padding:9px 12px}.file-btn{position:relative;overflow:hidden;display:inline-flex;border:1px dashed #bac3c5;border-radius:8px;padding:9px 11px;font-size:9px;font-weight:700;color:#45545f;cursor:pointer}.file-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}.connector-note{display:block;color:#8a949a;font-size:8px;line-height:1.5;margin-top:9px}.consent-check{font-size:9px;color:#51606a;display:flex;align-items:center;gap:7px}.health-types{display:flex;gap:5px;flex-wrap:wrap}.health-types span{font-size:8px;background:#f0f5f2;border-radius:12px;padding:5px 7px;color:#456657}.import-list{margin-top:12px;display:grid;gap:8px}.import-list>div{display:grid;grid-template-columns:1fr auto auto;gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:9px}.import-list small{color:#8a949a}.privacy-explainer{margin-top:14px;padding:16px 18px;background:#15253a;color:#fff;border-radius:12px}.privacy-explainer strong{font-size:11px}.privacy-explainer p{font-size:9px;color:#b9c5cc;margin:5px 0 0;line-height:1.5}
@media(max-width:900px){.connection-grid{grid-template-columns:1fr}}@media(max-width:560px){.connection-card{padding:15px}.connection-title{display:block}.connection-status{display:inline-block;margin-bottom:8px}.import-list>div{grid-template-columns:1fr}.connection-action{align-items:stretch}.connection-action>*{width:100%;justify-content:center}}
.pairing-code{margin-top:12px;padding:14px;border:1px solid #9fcbb8;background:#f1faf6;border-radius:10px;text-align:center}.pairing-code small{display:block;color:#4f7364;font-size:7px;letter-spacing:.08em}.pairing-code strong{display:block;font:800 21px Manrope;letter-spacing:.12em;color:#19392d;margin:7px 0}.pairing-code p{font-size:8px;color:#668073;margin:0}.device-list{margin-top:12px;display:grid;gap:8px}.device-list>div{border-top:1px solid var(--line);padding:11px 0;display:flex;align-items:center;justify-content:space-between;gap:12px}.device-list strong{display:block;font-size:11px}.device-list span{display:block;font-size:8px;color:#879198;margin-top:3px}.device-list .btn{font-size:8px;padding:7px 10px}
.privacy-shell{width:min(780px,calc(100% - 32px));margin:40px auto}.legal-privacy-card{margin-top:28px;background:var(--card,#fff);border:1px solid var(--line,#dfe4e8);border-radius:24px;padding:clamp(24px,5vw,48px);box-shadow:0 18px 50px rgba(16,28,45,.1)}.legal-privacy-card h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.04;margin:.4rem 0 1rem}.legal-privacy-card h2{font-size:1.05rem;margin:1.8rem 0 .4rem}.legal-privacy-card p{line-height:1.7;color:var(--muted,#52606d)}
.onedrive-uploader select{border:1px solid #d8dcdb;border-radius:8px;background:#fafaf8;padding:9px;font-size:9px;color:#42515b}.upload-progress{height:7px;background:#e7ebe9;border-radius:10px;margin-top:11px;overflow:hidden}.upload-progress i{display:block;width:0;height:100%;background:var(--sage);transition:width .2s}.upload-status{font-size:8px!important;margin:8px 0!important}.disconnect-action{margin-top:5px}.storage-list{margin-top:12px;display:grid}.storage-list>div{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;border-top:1px solid var(--line);padding:11px 0}.storage-list strong,.storage-list span{display:block}.storage-list strong{font-size:10px}.storage-list>div>div span{font-size:8px;color:#879198;margin-top:3px}.storage-state{font-size:8px;padding:5px 7px;border-radius:12px;background:#eef0ee;color:#68737b}.storage-state.imported{background:#dff1e7;color:#226247}.storage-state.error{background:#f8e5e1;color:#9d483a}.storage-list .btn{font-size:8px;padding:7px 10px}@media(max-width:560px){.storage-list>div{grid-template-columns:1fr auto}.storage-list .btn{grid-column:1/-1}}
.connection-card.import-hub{grid-column:1/-1;background:linear-gradient(135deg,#f8fbfd,#eef5f7);border-color:#cbdde4;padding:25px}.import-hub .connection-icon{width:52px;height:52px;min-width:52px;font-size:22px}.import-hub .connection-copy>p{max-width:760px}.import-steps{display:flex;gap:18px;margin:4px 0 14px;flex-wrap:wrap}.import-steps span{font-size:9px;color:#5f707a;display:flex;align-items:center;gap:6px}.import-steps b{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#dce9f0;color:#25465a;font-size:8px}.import-hub .connection-action{padding:14px;border:1px solid #d7e4e8;background:#fff;border-radius:11px}.import-hub .connection-action select,.import-hub .file-btn,.import-hub .btn.primary{min-height:40px}.import-hub .file-btn{align-items:center}.daily-window-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:15px}.daily-window{display:block;border-radius:14px;padding:20px 21px;color:#fff;box-shadow:var(--shadow);overflow:hidden;position:relative}.horoscope-window{background:linear-gradient(135deg,#2b334c,#544e6d)}.numerology-window{background:linear-gradient(135deg,#293e3b,#53736a)}.live-line{font-size:8px;font-weight:700;letter-spacing:1.15px;color:rgba(255,255,255,.7);display:flex;align-items:center;gap:7px}.live-dot{width:7px;height:7px;border-radius:50%;background:#8fe2b7;box-shadow:0 0 0 4px rgba(143,226,183,.12)}.daily-window-title{display:flex;align-items:center;gap:12px;margin-top:16px}.daily-window-title>span{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:rgba(255,255,255,.1);font-size:19px}.daily-window-title small{font-size:8px;color:rgba(255,255,255,.67);text-transform:uppercase;letter-spacing:1px}.daily-window h2{font:700 20px Manrope;margin:2px 0 0}.daily-window p{font-size:11px;line-height:1.55;margin:14px 0 9px;color:rgba(255,255,255,.87)}.daily-window>strong{font-size:9px;color:#fff}.daily-window footer{display:flex;justify-content:space-between;gap:12px;margin:17px -21px -20px;padding:11px 21px;background:rgba(0,0,0,.13);font-size:8px;color:rgba(255,255,255,.62)}.daily-window footer span{color:#fff}.live-detail-window{margin-top:16px;border-radius:14px;padding:25px;color:#fff;box-shadow:var(--shadow)}.live-detail-window .eyebrow{color:rgba(255,255,255,.6);margin-top:23px}.live-detail-window h2{font:700 30px Manrope;margin:0}.live-message{font:500 16px/1.65 Manrope;max-width:760px}.live-action{display:flex;flex-direction:column;gap:5px;padding:13px 15px;background:rgba(255,255,255,.1);border-radius:10px;margin:18px 0}.live-action span,.live-detail-window>small{font-size:8px;color:rgba(255,255,255,.65)}.live-action strong{font-size:11px}.number-orbit{display:flex;align-items:center;gap:16px;margin:4px 0 12px}.number-orbit>strong{font:700 58px Manrope;line-height:1}.number-orbit span{font-size:10px;line-height:1.6;color:rgba(255,255,255,.7)}
@media(max-width:760px){.daily-window-grid{grid-template-columns:1fr}.connection-card.import-hub{padding:17px}.import-hub .connection-action{display:grid}.import-hub .connection-action>*{width:100%}.daily-window footer{flex-direction:column}.live-detail-window{padding:21px}.live-message{font-size:14px}}
.map-hero{background:radial-gradient(circle at 85% 20%,rgba(108,157,139,.28),transparent 34%),linear-gradient(125deg,#12253a,#29495a)}.map-workspace{margin-top:16px}.map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid var(--line);border-radius:14px 14px 0 0;padding:14px 16px}.period-switch{display:flex;background:#eef1ef;border-radius:9px;padding:3px}.period-switch button,.date-step,.latest-btn{border:0;background:transparent;color:#66737c;font-size:10px;font-weight:700;cursor:pointer;border-radius:7px}.period-switch button{padding:8px 15px}.period-switch button.active{background:#173047;color:#fff;box-shadow:0 2px 7px rgba(15,35,52,.16)}.map-date-nav{display:flex;align-items:end;gap:7px}.map-date-nav label{display:flex;flex-direction:column;gap:4px}.map-date-nav label span{font-size:7px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#849098}.map-date-nav input{height:34px;border:1px solid #dadddc;border-radius:8px;background:#fafbf9;color:#233744;padding:0 9px;font-size:10px}.date-step{width:34px;height:34px;background:#f0f2ef;font-size:19px}.latest-btn{height:34px;padding:0 11px;background:#e8f1ed;color:#3c6e5a}.map-stage{height:min(62vh,590px);min-height:420px;position:relative;border-inline:1px solid var(--line);background:#e9ede8;overflow:hidden}.map-stage #life-map{position:absolute;inset:0;z-index:1}.map-loading{position:absolute;z-index:500;left:50%;top:18px;transform:translateX(-50%);padding:9px 13px;border-radius:20px;background:rgba(17,38,54,.9);color:#fff;font-size:9px;box-shadow:0 5px 18px rgba(0,0,0,.18)}.map-empty{position:absolute;z-index:450;left:50%;top:50%;transform:translate(-50%,-50%);background:rgba(255,255,255,.95);border:1px solid #dfe4df;border-radius:14px;padding:24px;text-align:center;width:min(310px,calc(100% - 32px));box-shadow:0 16px 40px rgba(24,42,53,.15)}.map-empty>span{display:grid;place-items:center;margin:0 auto 10px;width:40px;height:40px;border-radius:12px;background:#e7efeb;color:#3f6e5b}.map-empty strong{font:700 13px Manrope}.map-empty p{margin:6px 0 0;color:#7c878d;font-size:9px;line-height:1.5}.map-legend{position:absolute;z-index:420;left:13px;bottom:13px;display:flex;gap:12px;padding:8px 10px;border-radius:9px;background:rgba(255,255,255,.92);box-shadow:0 4px 14px rgba(20,35,44,.12);font-size:8px;color:#4e5d65}.map-legend span{display:flex;align-items:center;gap:5px}.map-legend i{display:block;width:8px;height:8px;border-radius:50%;background:#315c75}.map-legend i.start{background:#4f9274}.map-legend i.finish{background:#d26f5b}.map-legend i.route{width:18px;height:3px;border-radius:3px}.route-summary{display:grid;grid-template-columns:1.15fr .75fr .75fr 1.5fr;background:#fff;border:1px solid var(--line);border-radius:0 0 14px 14px}.route-summary article{padding:15px 17px;border-left:1px solid var(--line);min-width:0}.route-summary article:first-child{border-left:0}.route-summary span,.route-summary small{display:block;font-size:8px;color:#89939a}.route-summary strong{display:block;font:700 13px Manrope;color:#20323e;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.selected-stop strong{color:#315c75}.selected-stop small{margin-top:3px}.map-privacy{margin:10px 2px 0;color:#7e898f;font-size:8px;line-height:1.55}.map-privacy>span{display:inline-grid;place-items:center;width:16px;height:16px;margin-right:5px;border-radius:50%;background:#dff0e7;color:#387157}.map-privacy a{text-decoration:underline;color:#506d7b}.leaflet-tooltip{border:0!important;border-radius:9px!important;padding:9px 11px!important;box-shadow:0 7px 22px rgba(18,35,46,.2)!important}.map-tooltip{display:flex;flex-direction:column;gap:2px;min-width:115px}.map-tooltip b{font-size:7px;color:#4f9274;letter-spacing:1px}.map-tooltip strong{font:700 10px Manrope;color:#20323e}.map-tooltip span{font-size:8px;color:#7d888e}.leaflet-control-attribution{font-size:7px!important}.leaflet-container{font-family:'DM Sans',system-ui,sans-serif}
@media(max-width:760px){.map-toolbar{align-items:stretch;flex-direction:column}.period-switch{display:grid;grid-template-columns:repeat(3,1fr)}.map-date-nav{display:grid;grid-template-columns:34px 1fr 34px auto;align-items:end}.map-date-nav input{width:100%}.map-stage{min-height:470px;height:62vh}.route-summary{grid-template-columns:1fr 1fr}.route-summary article:nth-child(3){border-left:0;border-top:1px solid var(--line)}.route-summary article:nth-child(4){border-top:1px solid var(--line)}.route-summary strong{font-size:11px}.map-privacy{padding:0 4px}}
.theme-toggle{border:1px solid var(--line);background:var(--card);color:var(--ink);height:38px;border-radius:10px;padding:0 11px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:9px;font-weight:700;cursor:pointer;box-shadow:0 4px 14px rgba(22,35,48,.06)}.theme-toggle:hover{border-color:#aab6bd}.theme-icon{font-size:15px;line-height:1}.theme-toggle.floating{position:fixed;right:22px;top:18px;z-index:80}.theme-toggle.compact .theme-label{display:none}
[data-theme=dark]{--paper:#0b131f;--card:#142131;--ink:#e8edf2;--muted:#9aa8b7;--line:#29394b;--navy:#08111d;--navy-2:#132338;--shadow:0 15px 40px rgba(0,0,0,.24);background:#0b131f;color-scheme:dark}[data-theme=dark] body{background:#0b131f;color:var(--ink)}[data-theme=dark] .sidebar{background:#08111d;border-right:1px solid #1d2c3e}[data-theme=dark] .nav-item{color:#a9b6c4}[data-theme=dark] .nav-item:hover{background:#17283a}[data-theme=dark] .nav-item.active{background:#20354a}[data-theme=dark] .topbar{background:rgba(12,22,34,.9);border-color:var(--line)}[data-theme=dark] .topbar h1,[data-theme=dark] .panel-head h2,[data-theme=dark] .profile-card h3,[data-theme=dark] .settings-card h3,[data-theme=dark] .danger-card h3{color:#edf2f6}[data-theme=dark] .search-btn,[data-theme=dark] .search-btn kbd{background:#111e2d;border-color:#2b3a4c;color:#9aa8b6}[data-theme=dark] .icon-btn:hover{background:#172536}[data-theme=dark] .metric-card,[data-theme=dark] .panel,[data-theme=dark] .profile-card,[data-theme=dark] .settings-card,[data-theme=dark] .danger-card,[data-theme=dark] .connection-card,[data-theme=dark] .empty-panel,[data-theme=dark] .modal,[data-theme=dark] .route-summary,[data-theme=dark] .map-toolbar,[data-theme=dark] .login-card,[data-theme=dark] .legal-privacy-card{background:#142131;border-color:#29394b;color:#e8edf2}[data-theme=dark] .metric-card>p,[data-theme=dark] .metric-card>small,[data-theme=dark] .profile-card p,[data-theme=dark] .settings-card p,[data-theme=dark] .danger-card p,[data-theme=dark] .connection-copy>p,[data-theme=dark] .empty-panel p{color:#95a3b1}[data-theme=dark] .trend{background:#1f2d3b;color:#a4b0ba}[data-theme=dark] .trend.good{background:#17372e;color:#87c7ac}[data-theme=dark] .progress,[data-theme=dark] .goal-dots i{background:#2b3947}[data-theme=dark] .task,[data-theme=dark] .profile-summary,[data-theme=dark] .storage-list>div,[data-theme=dark] .device-list>div,[data-theme=dark] .route-summary article{border-color:#29394b}[data-theme=dark] .add-line,[data-theme=dark] .panel-link{background:#111d2b;border-color:#29394b;color:#a8b5c1}[data-theme=dark] .quick-grid button,[data-theme=dark] .entry-types button{background:#111d2b;border-color:#2a3a4c;color:#cbd4dc}[data-theme=dark] .module-hero{box-shadow:0 16px 38px rgba(0,0,0,.28)}[data-theme=dark] .profile-fields input,[data-theme=dark] .settings-card select,[data-theme=dark] .modal input,[data-theme=dark] .login-card input,[data-theme=dark] .onedrive-uploader select,[data-theme=dark] .map-date-nav input{background:#0f1a28;border-color:#334355;color:#e5ebef}[data-theme=dark] input:disabled{color:#9aa7b4;opacity:.82}[data-theme=dark] .btn.secondary{background:#233244;color:#e5ebef}[data-theme=dark] .btn.ghost{color:#a9b5c0}[data-theme=dark] .connection-card.import-hub{background:linear-gradient(135deg,#122131,#172a38);border-color:#304659}[data-theme=dark] .import-hub .connection-action,[data-theme=dark] .pairing-code,[data-theme=dark] .map-empty,[data-theme=dark] .map-legend,[data-theme=dark] .leaflet-tooltip{background:#142131!important;border-color:#344659!important;color:#e8edf2}[data-theme=dark] .pairing-code{background:#122d25}[data-theme=dark] .connection-icon,[data-theme=dark] .empty-panel>span{filter:brightness(.82) saturate(.8)}[data-theme=dark] .storage-state{background:#243243;color:#b5c1cb}[data-theme=dark] .privacy-explainer{background:#101d2b;border:1px solid #2b3b4c}[data-theme=dark] .settings-card.fields,[data-theme=dark] .login-panel{background:#0b131f}[data-theme=dark] .login-page{background:#08111d}[data-theme=dark] .login-brand{background:radial-gradient(circle at 20% 80%,#203f53 0,transparent 42%),#08111d}[data-theme=dark] .legal-privacy-card h1,[data-theme=dark] .legal-privacy-card h2{color:#eef2f5}[data-theme=dark] .period-switch,[data-theme=dark] .date-step{background:#1c2b3a}[data-theme=dark] .period-switch button{color:#aab6c0}[data-theme=dark] .period-switch button.active{background:#d8b170;color:#111d2b}[data-theme=dark] .latest-btn{background:#1b3a31;color:#8fd0b3}[data-theme=dark] .route-summary strong,[data-theme=dark] .map-tooltip strong{color:#e9eef2}[data-theme=dark] .map-tooltip span,[data-theme=dark] .map-empty p{color:#9aa7b3}[data-theme=dark] .leaflet-tile-pane{filter:brightness(.68) contrast(1.08) saturate(.72)}[data-theme=dark] .leaflet-control-zoom a,[data-theme=dark] .leaflet-control-attribution{background:#142131!important;color:#c4ced6!important;border-color:#344659!important}[data-theme=dark] .leaflet-control-attribution a{color:#9fc2d3}[data-theme=dark] .modal-backdrop{background:rgba(2,6,12,.75)}[data-theme=dark] .theme-toggle{background:#142131;border-color:#334457;color:#e8edf2}
@media(max-width:760px){.theme-toggle.compact{width:38px;padding:0}.theme-toggle.floating{right:14px;top:12px}.theme-toggle.floating .theme-label{display:none}}
