:root{--ink:#172e35;--muted:#60767b;--green:#067b70;--light:#eff5f5;--border:#dce7e8;--orange:#b96824;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#f5f8f9;font-size:16px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,a{cursor:pointer}button{border:0;border-radius:8px;background:var(--green);color:white;padding:12px 19px;font-weight:600}button:hover{filter:brightness(.94)}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #50bcae;outline-offset:3px}input,select{width:100%;border:1px solid #bdcfd2;background:white;border-radius:7px;padding:12px;color:var(--ink);min-height:44px}label{display:block;font-weight:600;font-size:.875rem;margin:20px 0 8px}header{background:#10262c;color:white;padding:25px max(5vw,24px);display:flex;align-items:center;justify-content:space-between}.brand,.auth-brand{display:flex;align-items:center;font-size:1.75rem;font-weight:800;letter-spacing:-.08em;color:inherit;text-decoration:none}.brand span,.auth-brand span{color:#66d7bf;font-size:2rem;margin:0 2px}.brand small{font-weight:500;letter-spacing:.16em;font-size:.7rem;border-left:1px solid #456067;padding-left:22px;margin-left:24px}nav{display:flex;gap:8px}.quiet{background:transparent;color:inherit;font-weight:500;padding:10px 12px}header .quiet{color:#d1e4e6}main{max-width:1380px;margin:auto;padding:50px 5vw 0}.intro{display:flex;justify-content:space-between;align-items:center;gap:32px;margin:6px 0 36px}.eyebrow{font-size:.75rem;letter-spacing:.13em;font-weight:700;color:var(--green)}h1{font-size:clamp(2rem,4vw,3.35rem);line-height:1.13;letter-spacing:-.055em;font-weight:650;margin:17px 0}h1 span{color:var(--green)}.intro p{font-size:.875rem;color:var(--muted);line-height:1.7}.divider{padding:0 9px;color:#a6babc}.live-card{border-left:1px solid #c9d9db;padding:12px 0 12px 38px;min-width:220px;display:flex;flex-direction:column;gap:10px}.live-label{font-size:.875rem;color:var(--muted)}.live-label.fresh{color:var(--green)}.live-label.fresh:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#21a58a;margin-right:8px}.live-card strong{font-size:3.1rem;letter-spacing:-.05em;line-height:1}.live-card strong small{font-size:1.15rem;font-weight:400;color:var(--muted);letter-spacing:0}.live-card>span:last-child{font-size:.8rem;color:var(--muted)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 22px}.tabs{display:flex;background:#e6eeef;border-radius:8px;padding:4px;gap:4px}.tabs button{background:transparent;color:var(--muted);padding:9px 16px;font-size:.875rem}.tabs button.active{background:white;color:var(--ink);box-shadow:0 1px 5px #1233}.date-controls{display:flex;align-items:center;gap:12px;font-size:.875rem}.date-controls label{margin:0;white-space:nowrap;font-weight:400;color:var(--muted)}.date-controls input{width:158px;padding:8px}.export{border-left:1px solid #c8d8da;padding:9px 0 9px 20px;text-decoration:none;color:var(--green);font-weight:600}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.metric{border:1px solid var(--border);background:white;border-radius:12px;padding:24px}.metric>span{font-size:.875rem;font-weight:550}.metric strong{display:block;font-size:2.55rem;font-weight:600;letter-spacing:-.05em;margin:19px 0 14px;line-height:1.1}.metric small{font-size:1rem;font-weight:400;letter-spacing:0;color:var(--muted)}.metric p{font-size:.8rem;color:var(--muted);margin:0;line-height:1.6}.metric:first-child{background:var(--green);border-color:var(--green);color:white}.metric:first-child small,.metric:first-child p{color:#d2f3eb}.panel{padding:28px;border:1px solid var(--border);border-radius:12px;background:white;margin-bottom:24px;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.panel h2,dialog h2{font-size:1.4rem;letter-spacing:-.035em;font-weight:600;margin:9px 0 0}.legend{font-size:.75rem;color:var(--muted);display:flex;align-items:center;gap:8px}.legend i{width:15px;height:3px;background:var(--green);display:inline-block}.legend b{width:15px;border-top:2px dashed #c79b75;margin-left:10px}.chart-wrap{position:relative;min-height:290px;margin:26px 0 0}.chart-wrap svg{width:100%;height:auto;display:block;min-height:250px;overflow:visible}.chart-grid{stroke:#e6eeef;stroke-width:1}.chart-label{fill:#667d82;font-size:12px}.chart-line{fill:none;stroke:#0c8b7b;stroke-width:2}.chart-area{fill:url(#area)}.chart-threshold{stroke:#c79b75;stroke-width:1.3;stroke-dasharray:6 5}.chart-footer{border-top:1px solid var(--border);padding-top:18px;display:flex;justify-content:space-between;gap:16px;font-size:.75rem;color:var(--muted)}.empty{position:absolute;inset:30px 0 40px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#fffffff0;text-align:center;font-size:1rem;font-weight:500;gap:10px}.empty small{font-size:.875rem;font-weight:400;color:var(--muted);max-width:350px;line-height:1.6}.tooltip{position:absolute;pointer-events:none;background:var(--ink);color:white;padding:10px 14px;border-radius:8px;font-size:.875rem;box-shadow:0 5px 25px #1233;z-index:3;white-space:pre-line}.secondary{display:grid;grid-template-columns:1fr 2fr;gap:24px}.quality>strong{font-size:3rem;display:block;font-weight:600;letter-spacing:-.05em;margin:25px 0 12px}.quality strong small{font-size:1.2rem;color:var(--muted);font-weight:400}.progress{height:7px;background:#e5efee;border-radius:8px;overflow:hidden}.progress>div{height:100%;background:#078a77;width:0;transition:width .3s}.quality p{font-size:.8rem;color:var(--muted);line-height:1.5}dl{font-size:.875rem;margin:22px 0 0}dl div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #edf2f2}dt{color:var(--muted)}dd{margin:0;text-align:right;font-weight:550}.badge{background:#e8f4f1;color:var(--green);padding:8px 11px;font-size:.8rem;border-radius:6px;white-space:nowrap}.table-scroll{overflow:auto;max-height:380px;margin-top:24px}table{border-collapse:collapse;width:100%;font-size:.875rem;text-align:left;white-space:nowrap}th{font-size:.75rem;font-weight:500;color:var(--muted);background:#f5f8f9;position:sticky;top:0;padding:12px 10px}td{padding:16px 10px;border-bottom:1px solid #e8efef}.cycle-tag{font-size:.75rem;color:var(--green);background:#edf6f3;padding:6px 8px;border-radius:5px}.cycle-tag.short{color:#96571e;background:#fff2df}.cycle-tag.partial{color:var(--muted);background:#f0f3f4}.empty-table{padding:55px 10px;text-align:center;font-size:.875rem;color:var(--muted)}.method{display:grid;grid-template-columns:1fr 2fr;gap:8px 30px;padding:8px 0 30px}.method>.eyebrow{grid-row:span 3;padding-top:14px}.method p{font-size:.8rem;line-height:1.8;color:var(--muted);margin:8px 0}.notice{border:1px solid #c4dfd8;background:#e9f4f0;border-radius:9px;padding:16px 20px;line-height:1.6;font-size:.875rem}.notice.error{background:#fff3e6;border-color:#efcba5;color:#8f521e}.notice button{margin-left:15px;padding:8px 12px;font-size:.8rem}footer{display:flex;justify-content:space-between;gap:20px;padding:26px 0;border-top:1px solid var(--border);font-size:.75rem;color:var(--muted)}footer>span:first-child{letter-spacing:.12em;font-weight:700}.auth-shell{min-height:100vh;background:#10262c;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:35px 20px}.auth-brand{color:white;margin-bottom:30px}.auth-brand small{letter-spacing:.16em;font-size:.75rem;font-weight:500;margin-left:20px}.auth-card{background:white;border-radius:16px;width:100%;max-width:470px;padding:36px}.auth-card h1{font-size:2rem}.auth-card p{color:var(--muted);line-height:1.7;font-size:.875rem}.auth-card button{width:100%;margin-top:20px}.auth-card>.muted{margin-top:25px;font-size:.8rem}.error{color:#ad3d25!important;font-size:.875rem;line-height:1.5}.muted{color:var(--muted);font-size:.875rem;line-height:1.7}dialog{border:0;border-radius:15px;padding:30px;max-width:600px;width:calc(100% - 32px);max-height:90vh;color:var(--ink);box-shadow:0 30px 100px #10262c66}dialog::backdrop{background:#10262c99;backdrop-filter:blur(4px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.dialog-header .quiet{font-size:1.3rem}.field-note{font-size:.75rem;line-height:1.6;color:var(--muted);margin:8px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}#save-settings{width:100%;margin-top:12px}#daily{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:10px;margin-top:25px}.day-card{background:#f2f7f6;padding:14px 12px;border-radius:8px;font-size:.8rem;display:flex;flex-direction:column;gap:10px}.day-card strong{font-size:1rem}.day-card span{color:var(--muted)}@media(min-width:1450px){main{padding-left:0;padding-right:0;max-width:1240px}}@media(max-width:1000px){.metrics{grid-template-columns:repeat(2,1fr)}.secondary{grid-template-columns:1fr 1.6fr}.legend{display:none}.date-controls{gap:7px}.export{padding-left:12px}.toolbar{flex-wrap:wrap}}@media(max-width:700px){header{padding:16px 18px}.brand small{display:none}.brand{font-size:1.5rem}nav{gap:0}nav .quiet{font-size:.8rem;padding:10px}main{padding:30px 18px 0}.intro{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:24px}.intro h1{font-size:2.45rem}.intro p{font-size:.8rem}.live-card{border-left:0;border-top:1px solid var(--border);padding:20px 0 0;width:100%;display:grid;grid-template-columns:1fr auto;align-items:center}.live-card strong{grid-row:span 2;font-size:2.6rem;grid-column:2}.live-card>span:last-child{grid-row:2}.metrics{gap:10px}.metric{padding:18px 15px}.metric strong{font-size:2.1rem}.metric p{font-size:.75rem}.metric>span{font-size:.8rem}.toolbar{gap:14px;margin-top:24px}.date-controls{flex-wrap:wrap;width:100%}.date-controls label{display:none}.date-controls input{flex:1}.export{margin-left:auto;font-size:.8rem}.secondary{display:block}.panel{padding:20px 16px;margin-bottom:16px}.panel h2{font-size:1.25rem}.chart-wrap{margin-top:15px;min-height:220px}.chart-wrap svg{min-height:220px}.chart-footer{font-size:.7rem;flex-direction:column;gap:8px}.method{display:block}.method>.eyebrow{padding-top:10px}.method p{font-size:.75rem}.table-scroll{margin-top:18px}td{padding:14px 8px;font-size:.8rem}footer{flex-direction:column;gap:10px;font-size:.7rem}.auth-card{padding:28px}.eyebrow{font-size:.7rem}.notice{padding:14px}.notice button{margin:10px 0 0;display:block}}

#chart-window{width:auto;max-width:185px;font-size:.8rem;padding:8px;min-height:40px}.chart-panel .panel-heading{flex-wrap:wrap}.chart-panel .legend{margin-left:auto}
