:root{color-scheme:light;--fc-navy:#0b1d36;--fc-blue:#17385e;--fc-coral:#f06449;--fc-yellow:#f5d547;--fc-green:#286b5d;--fc-bg:#f4f6f9;--fc-line:#dfe5ec;--fc-muted:#65728b;--fc-white:#fff}
*{box-sizing:border-box}
body{margin:0;background:var(--fc-bg);color:var(--fc-navy);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,select,textarea{font:inherit}
button,a{touch-action:manipulation}
.fc-shell{min-height:100vh}
.fc-topbar{position:sticky;top:0;z-index:20;border-bottom:1px solid var(--fc-line);background:rgba(255,255,255,.96);backdrop-filter:blur(14px)}
.fc-topbar-inner{max-width:1500px;margin:auto;min-height:74px;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.fc-brand{display:flex;align-items:center;gap:11px;color:var(--fc-navy);text-decoration:none;font-weight:950;letter-spacing:-.03em}
.fc-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--fc-navy);color:var(--fc-yellow);font-weight:1000}
.fc-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.fc-link,.fc-button{border:0;border-radius:12px;padding:11px 15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;font-weight:900;cursor:pointer}
.fc-link{color:var(--fc-navy);background:#eef2f6}
.fc-button{background:var(--fc-coral);color:#fff}
.fc-button.secondary{background:var(--fc-navy)}
.fc-button.outline{background:#fff;color:var(--fc-navy);border:1px solid var(--fc-line)}
.fc-button.small{padding:8px 11px;font-size:.82rem;border-radius:10px}
.fc-button:disabled{opacity:.5;cursor:not-allowed}
.fc-demo-banner{background:#fff8d8;border-bottom:1px solid #e7c85d;color:#615315;text-align:center;padding:9px 18px;font-size:.86rem;font-weight:800}
.fc-layout{max-width:1500px;margin:auto;padding:24px;display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px}
.fc-sidebar{position:sticky;top:98px;align-self:start;border:1px solid var(--fc-line);border-radius:22px;background:#fff;padding:12px;box-shadow:0 10px 30px rgba(11,29,54,.05)}
.fc-player{padding:18px;border-radius:17px;background:var(--fc-navy);color:#fff}
.fc-player strong{display:block;font-size:1.1rem}
.fc-player small{display:block;color:#b8c6d8;margin-top:4px}
.fc-player span{display:inline-flex;margin-top:12px;padding:6px 9px;border-radius:999px;background:rgba(245,213,71,.14);color:var(--fc-yellow);font-size:.75rem;font-weight:900}
.fc-nav{display:grid;gap:5px;margin-top:10px}
.fc-nav button{width:100%;border:0;border-radius:12px;background:transparent;color:var(--fc-navy);padding:11px 12px;text-align:left;font-weight:850;cursor:pointer}
.fc-nav button:hover{background:#f2f5f8}
.fc-nav button[aria-current="page"]{background:var(--fc-navy);color:#fff}
.fc-main{min-width:0;padding-bottom:70px}
.fc-mobile-select{display:none;margin-bottom:16px}
.fc-mobile-select select{width:100%}
.fc-hero{border-radius:27px;padding:28px;background:linear-gradient(135deg,var(--fc-navy),#153b66);color:#fff;overflow:hidden;position:relative}
.fc-hero:after{content:"";position:absolute;width:260px;height:260px;right:-100px;top:-100px;border-radius:50%;background:rgba(245,213,71,.16)}
.fc-eyebrow{text-transform:uppercase;letter-spacing:.16em;color:var(--fc-coral);font-size:.75rem;font-weight:950;margin:0 0 9px}
.fc-hero .fc-eyebrow{color:var(--fc-yellow)}
.fc-hero h1,.fc-heading h1{font-size:clamp(2rem,4vw,3.5rem);line-height:1;letter-spacing:-.055em;margin:0;max-width:900px}
.fc-hero p{max-width:830px;color:#d5dfeb;line-height:1.7;margin:16px 0 0}
.fc-heading{margin:4px 0 22px}
.fc-heading h1{font-size:clamp(1.8rem,3vw,2.8rem)}
.fc-heading p{color:var(--fc-muted);max-width:850px;line-height:1.7}
.fc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}
.fc-stat{border:1px solid var(--fc-line);border-radius:16px;background:#fff;padding:17px}
.fc-stat strong{display:block;font-size:1.55rem}
.fc-stat span{display:block;margin-top:4px;color:var(--fc-muted);font-size:.78rem;font-weight:800}
.fc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.fc-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.fc-card{border:1px solid var(--fc-line);border-radius:20px;background:#fff;padding:20px;box-shadow:0 8px 24px rgba(11,29,54,.04)}
.fc-card h2,.fc-card h3{margin:0;letter-spacing:-.03em}
.fc-card h2{font-size:1.28rem}.fc-card h3{font-size:1.02rem}
.fc-card p{color:var(--fc-muted);line-height:1.6}
.fc-card .fc-eyebrow{margin-bottom:7px}
.fc-status{display:inline-flex;border-radius:999px;padding:5px 9px;background:#e8f5f1;color:var(--fc-green);font-size:.75rem;font-weight:950}
.fc-status.yellow{background:#fff5c9;color:#685500}.fc-status.blue{background:#e8eef6;color:#17385e}
.fc-list{display:grid;gap:10px;margin-top:14px}
.fc-item{border:1px solid var(--fc-line);border-radius:14px;padding:13px 14px;background:#fbfcfd;display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.fc-item strong{display:block}.fc-item small{display:block;color:var(--fc-muted);margin-top:4px;line-height:1.45}
.fc-empty{border:1px dashed #c8d1dc;border-radius:15px;background:#f8fafc;padding:22px;text-align:center;color:var(--fc-muted)}
.fc-form{display:grid;gap:12px;margin-top:15px}
.fc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fc-field{display:grid;gap:6px;color:#32445f;font-size:.82rem;font-weight:850}
.fc-input,.fc-select,.fc-textarea{width:100%;border:1px solid #ccd5e0;border-radius:12px;background:#fff;color:var(--fc-navy);padding:11px 12px;outline:none}
.fc-textarea{min-height:92px;resize:vertical}
.fc-input:focus,.fc-select:focus,.fc-textarea:focus{border-color:var(--fc-coral);box-shadow:0 0 0 3px rgba(240,100,73,.13)}
.fc-table-wrap{overflow:auto;margin-top:14px}
.fc-table{width:100%;border-collapse:collapse;min-width:660px}
.fc-table th,.fc-table td{text-align:left;border-bottom:1px solid var(--fc-line);padding:12px 10px;font-size:.84rem;vertical-align:top}
.fc-table th{color:#53627a;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em}
.fc-pill{display:inline-flex;border-radius:999px;background:#eef2f6;padding:5px 8px;font-size:.75rem;font-weight:900;text-transform:capitalize}
.fc-total{font-size:1.8rem;font-weight:950;color:var(--fc-green)}
.fc-alert{border-radius:14px;padding:13px 14px;background:#fff8d8;border:1px solid #ead16d;color:#625416;font-size:.84rem;line-height:1.55}
.fc-alert.error{background:#fff0ec;border-color:#f5b9aa;color:#8d3525}
.fc-alert.success{background:#eaf7f3;border-color:#9fd2c5;color:#1f5d50}
.fc-toast{position:fixed;right:20px;bottom:20px;z-index:50;max-width:360px;padding:13px 16px;border-radius:14px;background:var(--fc-navy);color:#fff;font-weight:800;box-shadow:0 18px 50px rgba(11,29,54,.3)}
.fc-loading{min-height:70vh;display:grid;place-items:center;text-align:center;padding:30px}
.fc-spinner{width:44px;height:44px;margin:0 auto 15px;border:4px solid #dce4ed;border-top-color:var(--fc-coral);border-radius:50%;animation:fc-spin .8s linear infinite}
.fc-hidden{display:none!important}
.fc-progress{height:10px;background:#e9eef4;border-radius:999px;overflow:hidden}.fc-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--fc-coral),var(--fc-yellow));border-radius:999px}
.fc-ai-answer{white-space:pre-wrap;line-height:1.7;background:#f7f9fb;border-radius:15px;padding:16px;margin-top:13px}
.fc-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}
.fc-check{padding:12px;border:1px solid var(--fc-line);border-radius:13px;background:#fff;font-size:.83rem;font-weight:800}
@keyframes fc-spin{to{transform:rotate(360deg)}}
@media(max-width:980px){.fc-layout{grid-template-columns:1fr}.fc-sidebar{display:none}.fc-mobile-select{display:block}.fc-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.fc-topbar-inner{padding:10px 14px}.fc-brand span:last-child{display:none}.fc-layout{padding:15px}.fc-grid,.fc-grid.three,.fc-stats,.fc-form-grid,.fc-checklist{grid-template-columns:1fr}.fc-hero{padding:22px;border-radius:22px}.fc-actions .fc-link{display:none}.fc-card{padding:16px}.fc-item{flex-direction:column}.fc-button{width:100%}}
.fc-card,.fc-item,.fc-stat,.fc-main,.fc-hero,.fc-heading{min-width:0;overflow-wrap:anywhere}.fc-item>div{min-width:0}.fc-actions>*{max-width:100%}
@media(max-width:700px){.fc-topbar-inner{gap:9px}.fc-actions{gap:7px}.fc-actions .fc-button{padding:9px 11px;font-size:.78rem}.fc-table-wrap{max-width:calc(100vw - 62px)}.fc-toast{left:14px;right:14px;bottom:14px;max-width:none}}

/* Responsive safeguards shared by the legacy planner route and the unified app panels. */
html{max-width:100%;overflow-x:hidden}.fc-shell{max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%}
.fc-skip-link{position:fixed;left:12px;top:8px;z-index:80;transform:translateY(-160%);border-radius:10px;background:#fff;color:var(--fc-navy);padding:10px 14px;font-weight:900;box-shadow:0 12px 36px rgba(11,29,54,.22)}.fc-skip-link:focus{transform:translateY(0)}
.fc-mobile-quick-nav{display:none}.fc-mobile-select label{display:block;margin-bottom:6px;color:#53627a;font-size:.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.fc-card,.fc-item,.fc-stat,.fc-field,.fc-form-grid>*{min-width:0}.fc-input,.fc-select,.fc-textarea{min-width:0;max-width:100%}.fc-card iframe,.fc-card video{max-width:100%;width:100%;height:auto;aspect-ratio:16/9;border:0}
.fc-item-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.fc-table-wrap{-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain}.fc-button,.fc-link,.fc-nav button{min-height:44px;touch-action:manipulation}.fc-heading h1:focus,.fc-hero h1:focus{outline:none}
@media(max-width:1100px){.fc-layout{grid-template-columns:220px minmax(0,1fr);gap:18px;padding:18px}.fc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.fc-layout{display:block}.fc-main{padding-bottom:calc(82px + env(safe-area-inset-bottom))}.fc-mobile-select{position:sticky;top:84px;z-index:18;display:block;border:1px solid var(--fc-line);border-radius:15px;background:rgba(255,255,255,.97);padding:10px;box-shadow:0 10px 28px rgba(11,29,54,.08);backdrop-filter:blur(12px)}.fc-mobile-quick-nav{position:fixed;left:0;right:0;bottom:0;z-index:45;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:7px max(8px,env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-right));border-top:1px solid var(--fc-line);background:rgba(255,255,255,.97);box-shadow:0 -12px 35px rgba(11,29,54,.1);backdrop-filter:blur(16px)}.fc-mobile-quick-nav button{min-width:0;min-height:51px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;border-radius:10px;background:transparent;color:#65728a;font-size:.75rem;font-weight:900}.fc-mobile-quick-nav button>span{font-size:1.05rem;line-height:1}.fc-mobile-quick-nav button[aria-current="page"]{background:#edf3f7;color:var(--fc-navy)}.fc-toast{bottom:calc(80px + env(safe-area-inset-bottom))}}
@media(max-width:700px){.fc-topbar-inner{min-height:66px}.fc-layout{padding:13px 10px 28px}.fc-mobile-select{top:73px;margin-bottom:12px}.fc-hero{padding:22px 18px}.fc-card{padding:16px}.fc-grid,.fc-grid.three,.fc-form-grid,.fc-checklist{grid-template-columns:1fr}.fc-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fc-stat{padding:15px}.fc-input,.fc-select{min-height:48px}.fc-textarea{min-height:112px}.fc-table-wrap{max-width:100%}.fc-item-actions{width:100%;justify-content:stretch}.fc-item-actions>*{flex:1}.fc-actions{width:100%}.fc-actions>*{max-width:100%}}
@media(max-width:430px){.fc-topbar-inner{padding-inline:10px}.fc-brand{min-width:0}.fc-actions select{max-width:105px}.fc-stats{grid-template-columns:1fr 1fr}.fc-item{padding:12px}.fc-mobile-quick-nav button{font-size:.75rem}.fc-mobile-quick-nav button>span{font-size:1rem}}
