@font-face{font-family:HubSystem;src:local("SF Pro Display"),local("Segoe UI"),local("Helvetica Neue");font-display:swap}
:root{--bg:#f4f6f5;--surface:#fff;--text:#182724;--muted:#52665f;--line:#dfe6e2;--green:#28664c;--green-soft:#e6eee8;--blue:#425c83;--water:#447b87;--error:#943b35;--radius:16px;font-family:HubSystem,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg);font-synthesis:none;font-size:15px;line-height:1.55}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none;text-underline-offset:4px}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:disabled{cursor:wait;opacity:.55}[hidden]{display:none!important}::selection{background:#cde1d3;color:var(--text)}:focus-visible{outline:3px solid #548b70;outline-offset:4px}input,textarea{caret-color:var(--green)}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.skip-link{position:fixed;left:20px;top:-80px;z-index:10;background:var(--green);color:#fff;padding:12px 20px}.skip-link:focus{top:12px}.app-shell{display:grid;grid-template-columns:224px minmax(0,1fr);max-width:1720px;margin:auto;min-height:100dvh}.sidebar{padding:38px 24px;border-right:1px solid var(--line);display:flex;flex-direction:column;position:sticky;top:0;height:100dvh;background:#eef2ef}.brand{display:flex;align-items:center;gap:10px;font-size:36px;font-weight:650;letter-spacing:-.04em;line-height:1}.brand-dot{color:var(--green)}.brand-icon{width:35px;height:35px;display:grid;place-items:center;color:var(--green);background:#dce8de;border-radius:50%}.brand-icon svg{width:24px;height:24px}.brand-caption{margin:12px 0 48px;color:var(--muted);font-size:12px;padding-left:45px}.sidebar nav{display:grid;gap:8px}.sidebar nav a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:8px;color:var(--muted);font-size:14px;font-weight:550}.sidebar nav a:hover{background:#e2eae4}.sidebar nav a[aria-current]{background:#dce8df;color:#23533e}.nav-count{font-size:11px;padding:2px 6px;border-radius:20px;background:#f5f8f5;margin-left:auto;font-variant-numeric:tabular-nums}.sidebar-bottom{margin-top:auto;padding:30px 6px 0;font-size:11px;color:var(--muted)}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);margin-right:5px}.sidebar-bottom p{font-size:12px;line-height:1.8;margin:18px 0 0}main{padding:0 48px;min-width:0;outline:none}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);border-bottom:1px solid var(--line);margin-bottom:36px}.topbar>div{display:flex;align-items:center;gap:18px}.quiet-tag{padding:5px 10px;background:#e9eeea;border-radius:30px;font-size:11px;font-weight:500;white-space:nowrap;color:#435b50}.avatar{width:30px;height:30px;display:grid;place-items:center;border:1px solid #ced9d1;border-radius:50%;font-size:12px;color:var(--green)}.view{max-width:1160px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:27px}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.15;letter-spacing:-.035em;font-weight:600;margin-bottom:10px;text-wrap:balance}h2{font-size:18px;line-height:1.3;letter-spacing:-.015em;font-weight:600;margin:0 0 6px}h3{font-size:15px;font-weight:600;margin:0 0 10px}p{color:var(--muted);max-width:72ch}.page-heading p{font-size:14px;margin:0}.button{border:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;font-size:13px;font-weight:550;line-height:1.4;white-space:nowrap;min-height:42px;transition:background .15s}.button.primary{background:var(--green);color:white}.button.primary:hover{background:#1d513b}.button.secondary{background:#fff;border:1px solid #cdd9d1;color:var(--text)}.button.secondary:hover{background:#eef4ef}.button.text{background:transparent;color:var(--muted);padding-left:4px;padding-right:4px}.button.text:hover{color:var(--green);text-decoration:underline}.button.small{font-size:12px;padding:8px 12px;min-height:36px}.button svg{width:17px;height:17px}.datebar{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted);margin-bottom:24px}.datebar>span{margin-left:auto;font-size:11px}.datebar input{width:auto;font-size:12px;padding:7px 10px;min-height:36px;background:var(--surface);border:1px solid var(--line);border-radius:7px;color:var(--text);font-variant-numeric:tabular-nums}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:26px}.night-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px}.night-panel{min-width:0}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.section-heading p{font-size:12px;margin:0}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:4px 9px;font-size:10px;font-weight:550;white-space:nowrap;background:#eef1ee;color:var(--muted)}.badge.live{background:#e7f1e8;color:#22553a}.badge.warning{color:#765820;background:#f6f0e2}.empty-night{min-height:278px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px 12px}.empty-night .moon-disc{display:grid;place-items:center;border-radius:50%;width:60px;height:60px;background:#eff3f0;color:#5d7967;margin-bottom:20px}.moon-disc svg{width:27px;height:27px}.empty-night h3{font-size:20px;letter-spacing:-.02em;margin-bottom:8px;font-weight:550}.empty-night p{font-size:13px;max-width:38ch;margin-bottom:22px}.empty-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center}.night-foot{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:15px;margin-top:14px;font-size:11px;color:var(--muted)}.start-checklist{padding:22px;background:#edf2ee;border-radius:var(--radius)}.start-checklist>p{font-size:12px;margin-bottom:18px}.setup-row{display:flex;gap:10px;padding:16px 0;border-top:1px solid #d5e0d8;align-items:center}.setup-row .step-mark{width:26px;height:26px;border:1px solid #b9cdbf;border-radius:50%;display:grid;place-items:center;font-size:11px;flex-shrink:0;color:#3e6250}.step-mark.done{background:var(--green);color:white;border-color:var(--green)}.step-mark svg{width:14px;height:14px}.setup-row strong{display:block;font-size:12px;font-weight:600}.setup-row span:not(.step-mark){font-size:11px;color:var(--muted)}.setup-row button{background:none;border:none;padding:8px 0 8px 8px;color:var(--green);margin-left:auto}.setup-row button svg{width:16px}.start-checklist .footnote{margin:16px 0 0}.baseline-section{margin-top:34px;padding-top:8px}.baseline-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin:24px 0 15px}.baseline-item{min-width:0}.baseline-top{display:flex;justify-content:space-between;font-size:12px;gap:6px}.baseline-top strong{font-weight:550}.baseline-top span{color:var(--muted);font-variant-numeric:tabular-nums}.baseline-track{height:4px;background:#dde5df;border-radius:4px;margin:10px 0}.baseline-track span{display:block;height:4px;border-radius:4px;background:#58866b}.baseline-item p{font-size:11px;margin:0}.footnote{font-size:11px;line-height:1.65;color:var(--muted);margin-bottom:0}.metrics{display:grid;grid-template-columns:repeat(4,1fr);margin:28px 0 24px;gap:12px}.metric{border-right:1px solid var(--line);padding-right:12px;min-width:0}.metric:last-child{border:0}.metric-label{font-size:11px;color:var(--muted);display:block;margin-bottom:6px}.metric-value{font-size:26px;line-height:1.2;font-weight:550;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.metric-value small{font-size:12px;font-weight:400;letter-spacing:0;margin-left:3px;color:var(--muted)}.metric-note{font-size:10px;color:var(--muted);margin:5px 0 0}.chart-group{margin:22px 0}.chart-title{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin-bottom:7px;color:var(--muted)}.chart-title strong{font-weight:550;color:var(--text)}.chart{width:100%;height:auto;overflow:visible;display:block;stroke:none;fill:none}.chart text{font-family:inherit;font-size:11px;fill:var(--muted);stroke:none}.chart .grid-line{stroke:#e7ede8;stroke-width:1;stroke-dasharray:3 5}.chart .axis-label{font-size:10px}.chart-empty{min-height:70px;border:1px dashed #cdd9d1;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:14px;text-align:center;font-size:12px;color:var(--muted)}.chart-legend{display:flex;gap:12px;font-size:10px;color:var(--muted);flex-wrap:wrap;margin-top:9px}.chart-legend span{display:inline-flex;align-items:center;gap:5px}.chart-legend i{width:7px;height:7px;border-radius:2px;display:inline-block}.quality-list{margin:12px 0 0}.quality-row{display:flex;justify-content:space-between;gap:8px;padding:11px 0;border-top:1px solid var(--line);font-size:12px}.quality-row strong{font-weight:500;font-variant-numeric:tabular-nums}.night-side{display:grid;gap:18px;align-content:start}.night-side .panel{padding:22px}.morning-summary{display:grid;grid-template-columns:1fr 1fr;margin:16px 0}.morning-summary div:last-child{border-left:1px solid var(--line);padding-left:16px}.morning-summary strong{font-size:25px;font-weight:550;display:block;line-height:1.2;font-variant-numeric:tabular-nums}.morning-summary span{font-size:11px;color:var(--muted)}.morning-notes{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.quality-note{font-size:11px;background:#f3f6f3;border-radius:8px;padding:12px;margin-top:12px;color:var(--muted)}.quality-note p:last-child{margin-bottom:0}.history-empty{padding:70px 24px;text-align:center}.history-empty p{margin:10px auto 24px;font-size:13px;max-width:42ch}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:var(--radius);background:#fff}table{width:100%;border-collapse:collapse;min-width:660px;text-align:left;font-size:13px}th{font-size:11px;color:var(--muted);font-weight:500;background:#f9fbf9}th,td{padding:16px 20px;border-bottom:1px solid var(--line);white-space:nowrap}tbody tr:last-child td{border-bottom:none}td{font-variant-numeric:tabular-nums}.table-date{background:none;border:0;padding:0;color:var(--green);font-weight:550;text-decoration:underline;text-underline-offset:4px}tbody tr:hover{background:#f8faf8}.connection-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;max-width:950px}.connection-panel p{font-size:13px}.connection-panel .section-heading{align-items:center}.source-heading{display:flex;align-items:center;gap:12px;min-width:0}.source-icon{width:40px;height:40px;background:#edf2ed;color:var(--green);border-radius:10px;display:grid;place-items:center;flex-shrink:0}.source-heading h2{margin-bottom:3px}.source-heading p{font-size:11px;margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}label{display:block;font-size:12px;color:var(--text)}input,textarea,select{display:block;width:100%;min-height:42px;padding:10px 12px;border:1px solid #cad6ce;border-radius:8px;background:#fff;color:var(--text);margin-top:7px;font-size:13px}input::placeholder,textarea::placeholder{color:#66796e;font-size:12px}input:read-only{background:#f2f5f2;color:#52665f}.form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.upload-box{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:28px 16px;background:#f7faf7;border:1px dashed #a7beae;border-radius:10px;cursor:pointer;text-align:center}.upload-box:hover{background:#eef5ee}.upload-box:has(+input:focus-visible){outline:3px solid #548b70;outline-offset:3px}.upload-box svg{color:var(--green);margin-bottom:4px}.upload-box strong{font-size:13px;font-weight:550}.upload-box span{font-size:11px;color:var(--muted)}details{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}summary{cursor:pointer;font-size:12px;font-weight:550;color:var(--green);padding:5px 0;min-height:30px}.details-body{margin-top:15px}.details-body p{font-size:12px}.details-body label{margin-bottom:12px}.details-body input[readonly]{font-size:12px;font-family:ui-monospace,monospace}.connection-note{padding:0 4px;max-width:68ch}.connection-note p{font-size:12px}.connection-note a{font-size:12px;display:inline-flex;align-items:center;gap:6px;color:var(--green);text-decoration:underline}.connection-note svg{width:14px}.inline-status{font-size:12px!important;margin:12px 0 0;overflow-wrap:anywhere}.inline-status.error,.notice.error{color:var(--error)}.notice{padding:14px 16px;border:1px solid #e4c6bd;border-radius:8px;background:#fff5f2;margin-bottom:24px;font-size:13px}.inline-status.success{color:var(--green)}.file-button{display:inline-flex}code{font-size:11px;background:#eef3ee;padding:3px 5px;border-radius:3px;overflow-wrap:anywhere}.demo-banner{background:#244f3d;color:#fff;display:flex;justify-content:center;align-items:center;gap:22px;padding:10px 20px;font-size:12px}.demo-banner button{color:#fff;background:none;border:0;font-size:12px;text-decoration:underline;text-underline-offset:4px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}footer{display:flex;justify-content:space-between;gap:20px;margin:40px auto 0;max-width:1160px;padding:20px 0 25px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:20px;padding:28px;max-width:470px;width:calc(100% - 32px);max-height:90dvh;overflow:auto;color:var(--text);background:var(--surface)}dialog[open]{animation:reveal .18s ease-out}dialog::backdrop{background:rgb(15 33 24 / .35)}.dialog-heading{display:flex;justify-content:space-between;margin-bottom:18px}.icon-button{width:36px;height:36px;border:0;background:#f0f4f0;border-radius:50%;display:grid;place-items:center;color:var(--muted)}.icon-button:hover{background:#dfe9e1}.icon-button svg{width:18px}dialog h2{font-size:26px;letter-spacing:-.025em}dialog>p{font-size:13px;margin-bottom:20px}fieldset{border:0;padding:0;margin:20px 0}legend{font-size:12px;font-weight:550;margin-bottom:10px}.rating{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.rating label{position:relative;cursor:pointer}.rating input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.rating span{display:grid;place-items:center;height:43px;border:1px solid #cad6ce;border-radius:8px;font-size:15px;font-variant-numeric:tabular-nums}.rating label:hover span{background:#edf4ed}.rating input:checked+span{background:var(--green);color:#fff;border-color:var(--green)}.rating input:focus-visible+span{outline:3px solid #548b70;outline-offset:3px}.rating-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:7px}.bedroom-options{display:flex;gap:8px;flex-wrap:wrap}.bedroom-options label{display:flex;align-items:center;gap:5px;font-size:11px;padding:7px 9px;background:#f1f5f1;border-radius:7px;min-height:36px;cursor:pointer}.bedroom-options input{width:14px;height:14px;min-height:0;margin:0;accent-color:var(--green)}.optional{color:var(--muted);font-size:10px;margin-left:6px}textarea{resize:vertical}.full-width{width:100%;margin-top:16px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#244f3d;color:#fff;border-radius:8px;padding:12px 20px;font-size:13px;z-index:20;max-width:90vw;text-align:center;box-shadow:0 8px 30px rgb(20 50 30 / .15)}.login{max-width:460px;margin:70px auto}.login p{font-size:13px}.login .button{margin-top:20px}.loading{display:grid;gap:20px;margin-top:40px}.loading div{background:#e3eae4;border-radius:12px;height:90px}.loading div:nth-child(2){height:240px}.loading div:nth-child(3){height:60px}.pending-banner{padding:10px 15px;background:#f5efdf;color:#705624;border-radius:8px;margin-bottom:18px;font-size:12px}a:hover{color:var(--green)}.demo-banner a:hover{color:white}@keyframes reveal{from{clip-path:inset(0 0 6%);transform:translateY(5px)}to{clip-path:inset(0);transform:translateY(0)}}
@media(min-width:1600px){main{padding-left:65px;padding-right:65px}.night-layout{grid-template-columns:minmax(0,1fr) 310px}}
@media(max-width:1200px){.app-shell{grid-template-columns:185px minmax(0,1fr)}.sidebar{padding:32px 16px}main{padding:0 28px}.night-layout{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.panel{padding:22px}.metric-value{font-size:23px}.metrics{gap:8px}.baseline-grid{gap:16px}h1{font-size:30px}.page-heading .button{padding:10px 12px;font-size:12px}}
@media(max-width:1020px){.night-layout{grid-template-columns:1fr}.start-checklist .setup-row{padding:13px 0}.night-side{grid-template-columns:1fr 1fr}.baseline-grid{grid-template-columns:1fr 1fr;row-gap:22px}.brand{font-size:32px}.sidebar .brand-caption{padding-left:0}.quiet-tag{font-size:10px}.night-panel .empty-night{min-height:250px}}
@media(max-width:720px){.app-shell{display:block}.sidebar{height:65px;position:fixed;top:auto;bottom:0;left:0;right:0;z-index:5;padding:0 10px calc(env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line);background:#f5f8f5;box-sizing:content-box}.brand,.brand-caption,.sidebar-bottom{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(3,1fr);height:65px;gap:4px;align-items:center}.sidebar nav a{flex-direction:column;gap:3px;justify-content:center;padding:7px 8px;font-size:10px;border-radius:8px}.sidebar nav svg{width:20px;height:20px}.nav-count{display:none}main{padding:0 18px}.topbar{height:62px;margin-bottom:26px;font-size:11px}.topbar>div{gap:10px}.avatar{width:26px;height:26px}.page-heading{align-items:flex-start;gap:14px;flex-wrap:wrap;margin-bottom:22px}h1{font-size:29px;line-height:1.15}.page-heading p{font-size:12px;max-width:40ch}.page-heading>.button{font-size:12px;min-height:38px}.datebar{gap:8px;flex-wrap:wrap}.datebar label{font-size:11px}.datebar>span{font-size:10px}.datebar input{font-size:11px;padding:6px;min-height:34px;max-width:140px}.panel{padding:20px}.night-layout{gap:16px}.empty-night{padding:18px 0;min-height:260px}.empty-night p{font-size:12px}.empty-night h3{font-size:19px}.night-foot{font-size:10px;align-items:flex-start;flex-direction:column;gap:4px}.section-heading{gap:10px}.section-heading h2{font-size:17px}.section-heading p{font-size:11px}.baseline-grid{gap:20px 18px}.baseline-top{font-size:11px}.baseline-item p{font-size:10px}.baseline-section{margin-top:28px}.metrics{grid-template-columns:1fr 1fr;gap:18px 12px;margin:22px 0}.metric:nth-child(2){border:0}.metric-value{font-size:27px}.night-side{grid-template-columns:1fr}.start-checklist{padding:20px}.source-heading{gap:9px}.source-icon{width:34px;height:34px}.connection-panel .section-heading{align-items:flex-start}.source-heading h2{font-size:17px}.source-heading p{font-size:10px}.connection-panel p{font-size:12px}.badge{font-size:9px;padding:4px 7px}.form-grid{grid-template-columns:1fr;gap:12px}.connection-layout{gap:20px}.form-actions .button{flex-grow:1}.demo-banner{gap:8px;flex-direction:column;padding:8px 14px;font-size:10px;text-align:center}.demo-banner button{font-size:10px}.demo-banner:not([hidden])~.app-shell .sidebar{bottom:0}footer{padding-bottom:96px;flex-direction:column;gap:5px;margin-top:28px;font-size:10px}.toast{bottom:85px;font-size:12px}.quiet-tag{padding:4px 7px}.baseline-section .quiet-tag{padding:4px 8px}.history-empty{padding:48px 20px}th,td{padding:13px 16px}dialog{padding:22px;max-height:88dvh}.optional{font-size:9px}.connection-note{padding:0 2px}.topbar .quiet-tag{max-width:175px;overflow:hidden;text-overflow:ellipsis}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
