:root{--navy: #14213d;--navy-soft: #3d4a66;--muted: #6b7489;--line: #e3e7ef;--bg-soft: #f5f7fb;--white: #ffffff;--green: #1a7f45;--red: #c0392b;--accent: #1f5fbf;--radius: 12px;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--navy);background:var(--white);line-height:1.5;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;background:var(--white)}h1,h2,h3{margin:0;line-height:1.25}h2{font-size:1.2rem;margin-bottom:14px}h3{font-size:.95rem;margin:18px 0 8px;color:var(--navy-soft)}p{margin:0 0 10px}a{color:var(--accent)}.muted{color:var(--muted)}.error{color:var(--red);font-size:.92rem;margin:8px 0}.success{color:var(--green);font-size:.92rem;margin:8px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.btn{appearance:none;border:1px solid transparent;border-radius:8px;padding:11px 16px;font:inherit;font-weight:600;cursor:pointer;min-height:44px}.btn:disabled{cursor:default;opacity:.65}.btn-primary{background:var(--accent);color:var(--white)}.btn-primary:not(:disabled):hover{filter:brightness(.92)}.btn-ghost{background:var(--white);color:var(--navy);border-color:var(--line)}.btn-ghost:hover{background:var(--bg-soft)}.btn-block{width:100%}.link-btn{display:block;margin:14px auto 0;background:none;border:none;color:var(--accent);font:inherit;cursor:pointer;text-decoration:underline;padding:6px}label{display:block;font-size:.9rem;font-weight:600;margin-bottom:14px}input,select{display:block;width:100%;margin-top:6px;padding:11px 12px;font:inherit;font-size:16px;color:var(--navy);background:var(--white);border:1px solid #cfd5e1;border-radius:8px}input:focus,select:focus,.btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.center-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px;background:var(--bg-soft)}.login-card{width:100%;max-width:380px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:28px 24px;box-shadow:0 6px 24px #14213d0f}.brand{text-align:center;margin-bottom:22px}.brand-name{font-size:1.3rem;font-weight:700;color:var(--navy)}.brand-sub{color:var(--muted);margin-top:2px}.page{min-height:100vh;display:flex;flex-direction:column}.topbar{border-top:4px solid var(--accent);border-bottom:1px solid var(--line);background:var(--white)}.topbar-inner{max-width:960px;margin:0 auto;padding:16px;display:flex;flex-direction:column;gap:12px}.eyebrow{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.topbar h1{font-size:1.45rem;margin-top:2px}.plan-line{color:var(--navy-soft);margin-top:2px}.topbar-actions{display:flex;gap:8px;align-items:center}.topbar-actions select{margin:0;flex:1;min-height:44px}.container{width:100%;max-width:960px;margin:0 auto;padding:16px;flex:1}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:18px 16px;margin-bottom:16px}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:14px}.section-head h2{margin:0}.demo-banner{background:#fff4c2;border:1px solid #f0d64e;color:#5a4a00;border-radius:var(--radius);padding:12px 14px;margin-bottom:16px;font-weight:600}.kpi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi{background:var(--bg-soft);border-radius:10px;padding:12px;border-left:3px solid var(--accent)}.kpi-label{font-size:.82rem;color:var(--muted)}.kpi-value{font-size:1.5rem;font-weight:700;margin:2px 0}.kpi-change{font-size:.8rem;font-weight:600}.kpi-change.up{color:var(--green)}.kpi-change.down{color:var(--red)}.kpi-change.neutral{color:var(--muted);font-weight:400}.chart-wrap{margin-top:18px}.chart{width:100%;height:auto;display:block}.chart .grid{stroke:var(--line);stroke-width:1}.chart .axis{fill:var(--muted);font-size:12px}.chart polyline{stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.line-a polyline{stroke:var(--accent)}.line-a circle{fill:var(--accent)}.line-b polyline{stroke:var(--navy);stroke-dasharray:6 4}.line-b circle{fill:var(--navy)}.legend{display:flex;gap:18px;font-size:.85rem;color:var(--navy-soft);margin-top:6px}.legend-item{display:inline-flex;align-items:center;gap:6px}.swatch{display:inline-block;width:16px;height:3px;border-radius:2px}.legend-item.line-a .swatch{background:var(--accent)}.legend-item.line-b .swatch{background:var(--navy)}.summary{margin-top:16px;padding-top:14px;border-top:1px solid var(--line);color:var(--navy-soft);white-space:pre-line}.work-groups h3:first-child{margin-top:0}.work-list,.todo-list,.includes,.services{list-style:none;margin:0;padding:0}.work-item{padding:10px 0;border-bottom:1px solid var(--line)}.work-item:last-child{border-bottom:none}.work-title{font-weight:600}.work-detail{color:var(--navy-soft);font-size:.92rem;margin-top:2px}.work-meta{display:flex;flex-wrap:wrap;gap:10px;font-size:.8rem;color:var(--muted);margin-top:4px;align-items:center}.work-list.done .work-title{color:var(--navy-soft)}.tag{background:var(--bg-soft);border-radius:999px;padding:1px 8px}.todo{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid var(--line);border-radius:10px;margin-bottom:8px}.todo-due{font-size:.85rem;color:var(--navy-soft);font-weight:600}.todo.overdue{border-color:#f1b8b1;background:#fdf3f2}.todo.overdue .todo-due{color:var(--red)}.plan-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.plan-facts dt{font-size:.8rem;color:var(--muted)}.plan-facts dd{margin:0;font-weight:600}.includes li{padding:6px 0 6px 20px;position:relative}.includes li:before{content:"";position:absolute;left:4px;top:14px;width:7px;height:7px;border-radius:50%;background:var(--accent)}.services li{padding:10px 0;border-bottom:1px solid var(--line)}.services li:last-child{border-bottom:none}.service-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.pill{font-size:.75rem;font-weight:600;border-radius:999px;padding:3px 10px;white-space:nowrap}.pill-active{background:#e3f4ea;color:var(--green)}.pill-setting_up{background:#e6eefb;color:#1f4f99}.pill-planned{background:#eef0f4;color:var(--navy-soft)}.pill-paused{background:#fbeaea;color:var(--red)}.offer-grid{display:grid;grid-template-columns:1fr;gap:12px}.offer{border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:10px;padding:16px;display:flex;flex-direction:column}.offer h3{margin:4px 0 6px;color:var(--navy);font-size:1.05rem}.offer p{color:var(--navy-soft);font-size:.92rem}.offer-kind{font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;color:var(--accent);font-weight:700}.offer-price{font-weight:700;margin-bottom:4px}.offer-expiry{font-size:.82rem;color:var(--red);margin-bottom:8px}.offer .btn{margin-top:auto}.footer{text-align:center;padding:24px 16px 32px;color:var(--muted);border-top:1px solid var(--line);font-size:.92rem}@media(min-width:640px){.topbar-inner{flex-direction:row;justify-content:space-between;align-items:center}.topbar-actions select{flex:none;width:auto;min-width:200px}.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.plan-facts{grid-template-columns:repeat(4,minmax(0,1fr))}.offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.todo{flex-direction:row;justify-content:space-between;align-items:center}.todo-due{white-space:nowrap}.card{padding:22px}.work-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.work-groups h3{margin-top:0}}
