.focus-picker-backdrop{position:fixed;inset:0;z-index:1000;background:#0f172a88;display:flex;align-items:center;justify-content:center;padding:20px}
.focus-picker{width:100%;max-width:640px;max-height:90dvh;display:flex;flex-direction:column;background:white;border-radius:20px;box-shadow:0 24px 80px #0004;overflow:hidden}
.dark .focus-picker{background:#111827}
.focus-picker header,.focus-picker footer{padding:16px 20px;flex-shrink:0}
.focus-picker-results{overflow-y:auto;overscroll-behavior:contain;padding:0 20px;min-height:80px}
.focus-candidate{display:flex;gap:12px;align-items:center;min-height:56px;padding:12px 0;border-bottom:1px solid #94a3b833;cursor:pointer}
.focus-candidate input{width:20px;height:20px;flex-shrink:0}
.focus-candidate-disabled{opacity:.5;cursor:default}
.focus-picker footer{border-top:1px solid #94a3b833}
@media(max-width:600px){.focus-picker-backdrop{padding:0;align-items:flex-end}
.focus-picker{max-height:100dvh;height:100dvh;border-radius:0}
.focus-picker header,.focus-picker footer{padding:12px 16px}
.focus-picker-results{padding:0 16px;flex:1}
}

/* Mirrors index.html Tailwind palette: brandBlue #3B82F6, brandBlueDeep #2563EB,
   charcoal #1E1C1D, surfaceLight #FFFFFF, borderSubtle #EFECE9.
   Violet/indigo match Notes and Earning Power; amber/emerald retain semantics.
   Color-only harmonization: layout, motion and application logic are unchanged. */
.focus-home{--command-ink:#1e1c1d;--command-muted:#4b5563;--command-accent:#7c3aed;--command-border:#efece9;--command-paper:#ffffff;max-width:1400px;margin-inline:auto;color:var(--command-ink);overflow-wrap:anywhere;padding-bottom:24px}
.focus-home button:focus-visible,.focus-home input:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.focus-home button:disabled{cursor:default}
.focus-home> :not([hidden])~ :not([hidden]){margin-top:24px}
.command-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:28px;padding:32px 36px;display:flex;justify-content:space-between;gap:28px;align-items:center;background:radial-gradient(ellipse at 80% 100%,#7c3aed55,transparent 55%),linear-gradient(115deg,#2563eb,#4338ca);border:1px solid #2563eb;min-height:205px}
.command-hero:after{content:'';position:absolute;z-index:-1;right:-50px;top:-130px;width:440px;height:440px;border:1px solid #ffffff33;border-radius:50%;box-shadow:0 0 0 50px #ffffff08,0 0 0 100px #ffffff06;transform:rotate(-20deg)}
.command-eyebrow,.section-kicker{font-size:10px!important;font-weight:700;letter-spacing:.15em;color:var(--command-muted);line-height:1.6}
.command-eyebrow span{padding:0 8px;color:#dbeafe}
.command-date{font-size:12px;color:var(--command-muted);margin:14px 0 5px}
.command-hero h2{font-size:clamp(24px,2.7vw,38px);font-weight:750;letter-spacing:-.045em;line-height:1.15}
.command-orientation{font-size:14px;margin-top:12px;max-width:420px;line-height:1.6}
.command-week{position:relative;min-width:145px;text-align:center;padding:16px}
.command-week strong{font-size:46px;font-weight:600;letter-spacing:-.07em;line-height:1}
.command-week strong span{font-size:19px;color:#dbeafe;margin-left:8px;letter-spacing:0}
.command-week p{font-size:13px;margin-top:6px}
.command-week small{display:block;font-size:10px;color:var(--command-muted);margin-top:14px}
.command-orbit{display:block;width:9px;height:9px;border:2px solid #7c3aed;border-radius:50%;margin:0 auto 12px}
.focus-mission{padding:4px 0 0;background:transparent}
.focus-mission>div:first-child{align-items:center}
.focus-mission h3{font-size:23px;letter-spacing:-.04em}
.focus-mission h3 .section-kicker{display:none}
.focus-mission>div:first-child p{font-size:12px;color:var(--command-muted);margin-top:4px}
.focus-home [data-focus-manage]{background:#2563eb;color:#ffffff;padding:0 18px;box-shadow:0 4px 10px #2563eb18;border-radius:12px;font-size:12px}
.mission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}
.mission-card{position:relative;border:1px solid var(--command-border);border-radius:22px;padding:22px;background:var(--command-paper);box-shadow:0 6px 18px #2563eb05;display:flex;flex-direction:column;min-width:0;border-top:3px solid #93c5fd}
.mission-card.mission-rank-1{border-top-color:#7c3aed;background:linear-gradient(150deg,#eff6ff,#ffffff 70%);box-shadow:0 10px 28px #4f46e50d}
.mission-rank-3{border-top-color:#a5b4fc}
.mission-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.mission-rank{font-size:10px;letter-spacing:.1em;color:var(--command-muted);font-weight:700}
.mission-rank b{font-size:15px;color:var(--command-ink);margin-left:5px}
.mission-type{font-size:10px;border:1px solid var(--command-border);padding:4px 9px;border-radius:20px;color:var(--command-muted)}
.mission-card h4{font-size:22px;font-weight:700;letter-spacing:-.035em;line-height:1.25;margin-top:16px}
.mission-intent{font-size:13px;line-height:1.6;margin-top:10px;color:var(--command-muted)}
.mission-context{font-size:11px;color:var(--command-muted);margin-top:8px}
.mission-next{margin:20px 0 18px;padding:14px 15px;background:#eff6ff;border:1px solid #dbeafe;border-radius:13px}
.mission-rank-1 .mission-next{background:#eef2ff;border-color:#c7d2fe}
.mission-label{font-size:10px!important;font-weight:700;letter-spacing:.07em;line-height:1.6;color:var(--command-muted);margin-bottom:4px}
.mission-next button{display:block;font-size:15px;font-weight:650;line-height:1.5;text-align:left;width:100%;min-height:44px;color:#1d4ed8}
.mission-next button>span{display:inline-block;margin-left:6px;color:#7c3aed}
.mission-next small{display:block;font-size:11px;font-weight:400;color:var(--command-muted);margin-top:4px}
.mission-no-next{font-size:13px;line-height:1.6}
.mission-evidence{display:grid;grid-template-columns:1fr;gap:12px;font-size:12px;line-height:1.5;margin-top:auto}
.mission-rail{height:4px;background:#e5e7eb;border-radius:10px;overflow:hidden;margin-top:8px;max-width:180px}
.mission-rail span{display:block;height:100%;background:#3b82f6;border-radius:10px}
.mission-footer{border-top:1px solid var(--command-border);display:flex;gap:6px;flex-wrap:wrap;justify-content:space-between;margin-top:16px;padding-top:12px;font-size:10px;color:var(--command-muted)}
.focus-panel{border:1px solid var(--command-border);background:var(--command-paper);border-radius:22px;padding:24px}
.focus-panel h3{font-size:19px!important;letter-spacing:-.035em;line-height:1.4}
.focus-panel>.section-kicker{margin-bottom:5px}
.focus-panel p.text-xs{font-size:12px;line-height:1.6}
.focus-panel .text-gray-500{color:var(--command-muted)}
.focus-panel .text-brandBlue{color:#2563eb}
.focus-panel [class*='text-[10px]']{font-size:11px}
.focus-panel [class*='text-[11px]']{font-size:12px;line-height:1.6}
.focus-panel button{transition:background-color .15s}
.focus-panel button:hover{background-color:#eff6ff}
.focus-home [data-home=agenda] .divide-y{border-left:1px solid #dbeafe;margin-left:4px;padding-left:20px}
.focus-home [data-home=agenda] .divide-y>button{position:relative;border-top:0;padding:10px 0 14px}
.focus-home [data-home=agenda] .divide-y>button:before{content:'';position:absolute;width:7px;height:7px;background:#3b82f6;border:2px solid var(--command-paper);border-radius:50%;left:-24px;top:17px}
.focus-home [data-home=agenda] .divide-y>button>span:first-child{font-size:11px;color:#1d4ed8;font-weight:650}
.focus-home [data-home=agenda] .divide-y>button>span:nth-child(2){font-size:15px;margin-top:4px}
.focus-home [data-home=earning] .divide-y>button{padding:16px 0;border-color:var(--command-border)}
.focus-home [data-home=earning] .divide-y>button>span:first-child:before{content:'○';color:#7c3aed;margin-right:8px;font-size:14px}
.focus-home [data-home=earning]>p:last-of-type{font-size:11px;line-height:1.6;color:var(--command-muted)}
.focus-home [data-home=attention]{background:#fffbeb;border-color:#fde68a}
.focus-home [data-home=attention] .grid>button{background:#ffffff;border:1px solid #fde68a;border-left:3px solid #f59e0b;border-radius:12px;padding:14px;font-size:13px;line-height:1.6}
.focus-home [data-home=goals] .grid>button{padding:14px;background:#f9fafb;border-radius:13px;border:1px solid #e5e7eb}
.focus-home [data-home=goals] .bg-emerald-500{background:#10b981}
.focus-home [data-home=projects] .grid>button{border-color:var(--command-border);border-radius:14px;background:transparent;padding:16px;box-shadow:none}
.focus-home [data-home=projects] .grid>button>span.font-semibold{font-size:14px}
.focus-badge{display:inline-block;color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;padding:3px 7px;font-size:10px;font-weight:650;line-height:1.5;margin-block:3px}
.command-empty{display:flex;gap:22px;align-items:center;min-height:180px;border:1px dashed #bfdbfe;background:#eff6ff;border-radius:22px;padding:30px;margin-top:18px}
.command-empty>span{font-size:45px;color:#2563eb}
.command-empty h4{font-size:20px;font-weight:650;letter-spacing:-.03em}
.command-empty p{font-size:13px;color:var(--command-muted);max-width:490px;line-height:1.7;margin-top:8px}
.command-empty-action{font-weight:650;color:#2563eb;font-size:13px;min-height:44px;margin-top:8px}
.command-empty+.mission-grid:empty{display:none}

/* Picker is the same reference-based workflow, styled as a selection surface. */
.focus-picker{color:var(--command-ink);background:var(--command-paper);border:1px solid var(--command-border);box-shadow:0 30px 100px #1e1b4b44}
.focus-picker header{background:#f5f3ff}
.focus-picker h4{font-size:20px;letter-spacing:-.035em}
.picker-intro{font-size:12px;color:var(--command-muted);margin-top:4px}
.focus-picker [data-focus-count]{font-size:11px;font-weight:650;color:#4f46e5}
.focus-picker ol li{background:#ffffff;border:1px solid #e5e7eb;border-radius:10px;padding:3px 8px;margin-top:5px}
.focus-picker ol li>span:first-child{color:#7c3aed}
.focus-picker [data-focus-search]{background:var(--command-paper);font-size:14px;border-color:#d1d5db}
.focus-candidate{border-radius:10px;padding:12px 8px;margin-bottom:2px}
.focus-candidate:has(input:checked){background:#eff6ff}
.focus-candidate input{accent-color:#2563eb}
.focus-picker [data-focus-save]{background:#2563eb}
.focus-picker [data-focus-save]:disabled{opacity:.6}
.focus-picker-results h5{color:#4b5563;letter-spacing:.12em;font-size:10px;padding-top:16px}
.focus-picker footer{background:var(--command-paper)}

@media(max-width:1100px){.mission-grid{gap:12px}
.mission-card{padding:18px}
.mission-card h4{font-size:20px}
.command-hero{padding:26px}
}

@media(max-width:850px){.mission-grid{grid-template-columns:1fr}
.mission-evidence{grid-template-columns:1fr 1fr}
.command-week{min-width:110px}
.command-hero{gap:16px}
}

@media(max-width:600px){.focus-home> :not([hidden])~ :not([hidden]){margin-top:20px}
.command-hero{padding:18px;border-radius:20px;min-height:0;display:block}
.command-eyebrow{font-size:8px!important;letter-spacing:.12em}
.command-eyebrow span{padding:0 4px}
.command-date{font-size:10px;margin:8px 0 5px}
.command-hero h2{font-size:25px}
.command-orientation{font-size:12px;line-height:1.5;margin-top:8px}
.command-week{display:flex;align-items:baseline;text-align:left;gap:6px;padding:0;margin-top:10px}
.command-week strong{font-size:16px;letter-spacing:0}
.command-week strong span{font-size:12px;margin-left:4px}
.command-week p{font-size:11px;margin:0}
.command-week small{display:none}
.command-orbit{height:7px;width:7px;margin:0 2px 0 0;align-self:center}
.focus-mission h3{font-size:21px}
.focus-mission>div:first-child{gap:8px}
.focus-mission>div:first-child p{font-size:11px}
.focus-home [data-focus-manage]{padding:0 12px;font-size:11px}
.mission-grid{margin-top:12px;gap:14px}
.mission-card{padding:16px;border-radius:18px}
.mission-card h4{font-size:21px;margin-top:10px}
.mission-intent{font-size:12px;margin-top:6px}
.mission-context{font-size:11px;margin-top:5px}
.mission-next{margin:12px 0;padding:10px 12px}
.mission-next button{font-size:14px}
.mission-evidence{font-size:11px;gap:10px}
.mission-evidence .mission-label{font-size:9px!important}
.mission-footer{margin-top:12px;padding-top:10px}
.focus-panel{padding:18px;border-radius:18px}
.focus-panel h3{font-size:18px!important}
.command-empty{padding:20px;gap:12px;align-items:flex-start}
.command-empty>span{font-size:28px}
.command-empty h4{font-size:18px}
.focus-picker h4{font-size:18px}
.focus-picker{border:0}
.focus-picker ol li .text-gray-500{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}

@media(prefers-reduced-motion:reduce){.focus-home *, .focus-home *:before,.focus-home *:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

.dark .focus-home{--command-ink:#f3f4f6;--command-muted:#d1d5db;--command-border:#374151;--command-paper:#111827}
.dark .command-hero{background:radial-gradient(ellipse at 80% 100%,#7c3aed33,transparent 55%),linear-gradient(115deg,#1e3a8a,#312e81);border-color:#3730a3}
.dark .mission-card.mission-rank-1{background:linear-gradient(150deg,#172554,#111827 80%)}
.dark .mission-next,.dark .mission-rank-1 .mission-next{background:#1e293b;border-color:#374151}
.dark .mission-next button,.dark .focus-panel .text-brandBlue{color:#bfdbfe}
.dark .mission-rail{background:#374151}
.dark .focus-home [data-home=attention]{background:#451a031a;border-color:#78350f66}
.dark .focus-home [data-home=attention] .grid>button{background:#111827;border-color:#92400e}
.dark .focus-home [data-home=goals] .grid>button,.dark .command-empty{background:#111827;border-color:#374151}
.dark .focus-panel button:hover{background:#1e293b}
.dark .focus-badge{color:#bfdbfe;background:#172554;border-color:#1e40af}
.dark .focus-picker header{background:#1e1b4b}
.dark .focus-picker ol li,.dark .focus-candidate:has(input:checked){background:#1e293b;border-color:#374151}
.dark .focus-picker{background:var(--command-paper)}
.dark .command-empty-action{color:#bfdbfe}

.focus-picker header{max-height:60dvh;overflow-y:auto}
.focus-picker .text-gray-500{color:var(--command-muted)}
.focus-picker .text-brandBlue{color:#2563eb}
.dark .focus-picker .text-brandBlue{color:#bfdbfe}
.dark .mission-next button>span{color:#c4b5fd}
.dark .command-week strong span{color:#d1d5db}
.dark .focus-home [data-home=agenda] .divide-y>button>span:first-child{color:#93c5fd}

/* Hero is expressive; all other sections retain the shared neutral surfaces. */
.command-hero{color:#ffffff}
.command-hero .command-eyebrow,.command-hero .command-date,.command-hero .command-week small{color:#eff6ff}
.command-hero .command-orbit{border-color:#ddd6fe}
.mission-rank-1 .mission-rank b{color:#6d28d9}
.dark .mission-rank-1 .mission-rank b{color:#c4b5fd}
.dark .command-hero .command-week strong span{color:#dbeafe}
.dark .mission-rail span{background:#60a5fa}
.dark .focus-home [data-home=goals] .bg-emerald-500{background:#34d399}
