:root{--green:#196b59;--ink:#263e38;--muted:#6f817a;--line:#e1e9e3;--cream:#f6f8f4}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.65 system-ui,-apple-system,'Tahoma',sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;min-height:46px;border:0;border-radius:12px;padding:10px 18px;color:inherit;background:transparent}button:hover{filter:brightness(.95)}button:focus-visible,a:focus-visible{outline:3px solid #dbaf4e;outline-offset:3px}aside{width:250px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:35px 22px;display:flex;flex-direction:column}.brand{text-decoration:none;color:var(--green);font-size:35px;font-weight:800;line-height:1.2;position:relative;padding-left:57px}.logo{position:absolute;left:0;top:3px;background:var(--green);color:white;border-radius:15px;width:45px;height:48px;text-align:center}.brand small{display:block;font-weight:400;font-size:12px;margin-top:8px;color:var(--muted)}nav{margin-top:44px;display:grid;gap:8px}nav button{text-align:left;color:var(--muted);padding:14px;font-size:20px}nav span{font-size:15px;margin-left:10px}nav button.active{background:#eaf3ed;color:var(--green);font-weight:700}.aside-note{background:#f3f6ec;border-radius:18px;padding:22px;margin-top:auto;position:relative;overflow:hidden}.aside-note>span{font-size:12px;color:var(--muted)}.aside-note h3{font-size:24px;margin:12px 0}.aside-note p{font-size:13px}.plant{position:absolute;right:0;bottom:-35px;font-size:130px;color:#c6d6bb;transform:rotate(-20deg)}.private{font-size:12px;color:var(--muted);padding:22px 0 0}main{max-width:1510px;margin-left:250px;padding:0 48px}header{height:91px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}header button{font-size:13px}h1{font-size:31px;line-height:1.4;letter-spacing:-.7px;margin:9px 0}h2{font-size:20px;margin:0}p{margin:8px 0 18px;color:var(--muted)}.heading{display:flex;justify-content:space-between;align-items:center;margin:32px 0 25px;gap:20px}.eyebrow{font-size:13px;color:var(--muted)}.heart{color:#be885e}.primary{background:var(--green);color:white;font-weight:650}.secondary,.file-label{background:white;border:1px solid var(--line);margin:8px;border-radius:12px;padding:10px 18px;display:inline-block;cursor:pointer}.hero{background:#e6eee1;border-radius:25px;min-height:300px;padding:32px 38px;display:grid;grid-template-columns:1.2fr 1fr;position:relative;overflow:hidden}.tag{font-size:12px;color:#526f51}.hero h2{font-size:34px;line-height:1.4;margin:14px 0}.hero p{font-size:14px;color:#607560}.light{background:white;font-weight:600;font-size:14px}.light span{margin-left:30px}.hero-art{position:relative;display:grid;place-items:center}.orbit{position:absolute;width:290px;height:290px;border:1px solid #cbdcc5;border-radius:50%;box-shadow:0 0 0 32px #dce8d855,0 0 0 65px #dce8d833}.device{transform:rotate(9deg);width:188px;background:#fffdf8;border-radius:26px;padding:20px;box-shadow:9px 18px 25px #3c574326;position:relative}.device-label{font-size:15px;color:#758879;display:flex;justify-content:space-between}.screen{background:#e4eade;border-radius:10px;margin-top:13px;padding:16px 10px;text-align:center;display:grid}.screen small{font-size:8px;letter-spacing:1px}.screen strong{font-size:70px;line-height:1.3;color:#47745c}.screen span{font-size:10px}.power{background:#216e5c;color:white;border-radius:50%;width:34px;height:34px;text-align:center;margin:14px auto 0}.float-pill{position:absolute;bottom:8px;right:-8px;font-size:12px;padding:10px 17px;border-radius:30px;background:#fff;box-shadow:0 4px 20px #24523712}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:27px 0 15px}.section-title p{font-size:13px;margin:4px 0}.section-title>span{font-size:13px;color:var(--muted)}.routine{display:grid;grid-template-columns:1fr 1fr;gap:18px}.routine-card{display:flex;align-items:center;gap:16px;background:white;border:1px solid var(--line);padding:21px;text-align:left}.routine-card .sun{font-size:28px;background:#fbf4df;color:#a78d45;width:55px;height:55px;border-radius:16px;display:grid;place-items:center}.routine-card .moon{background:#eef0f8;color:#7b86aa}.routine-card strong{display:block;font-size:17px}.routine-card small{display:block;color:var(--muted);font-size:13px}.routine-card .status{margin-left:auto;font-size:12px;border-radius:20px;padding:5px 10px;background:#f2f5ef;color:#527259}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.stat,.panel,.chart-card{border:1px solid var(--line);border-radius:18px;background:white;padding:24px}.stat .label{font-size:14px;color:var(--muted)}.stat strong{font-size:32px;display:block;margin:8px 0;color:var(--green)}.stat small{color:var(--muted);font-size:12px}.chart-card{margin-top:22px}.chart-card .section-title{margin-top:0}.legend{font-size:12px;display:flex;gap:15px;white-space:nowrap}.legend span:first-child{color:#267360}.legend span:last-child{color:#c3945c}#chart{min-height:210px}#chart svg{width:100%;height:230px}.empty{text-align:center;padding:48px 15px;color:var(--muted)}.empty b{display:block;font-size:20px;color:var(--ink);margin-bottom:8px}.muted{font-size:12px;color:var(--muted)}.bottom-note{text-align:center;padding:23px;font-size:13px;color:var(--muted)}footer{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding:25px 0;display:flex;justify-content:space-between}.panel{margin:18px 0}.panel h2{margin-bottom:14px}label{display:block;font-size:15px;font-weight:600;margin:13px 0}input,select,textarea{display:block;border:1px solid #cdd9d0;border-radius:10px;padding:12px;background:#fff;color:var(--ink);width:100%;min-height:48px}select#period{width:auto;font-size:13px;min-height:40px;padding:8px}textarea{min-height:85px}.two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.notice{background:#f4f6eb;padding:18px;border-radius:12px;font-size:14px;margin-top:22px}dialog{border:0;border-radius:23px;padding:24px 30px;max-width:580px;width:calc(100% - 24px);max-height:92vh;color:var(--ink)}dialog::backdrop{background:#173b3066;backdrop-filter:blur(3px)}dialog .section-title{margin:0}.icon{font-size:28px}.full{width:100%}#formError{color:#9a3535}.file-label input{font-size:12px;border:0;padding:3px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:14px 10px;border-bottom:1px solid var(--line)}th{background:#f6f8f4;color:var(--muted);font-weight:500}.row-note{max-width:240px;overflow-wrap:anywhere}td button{font-size:13px;padding:6px;min-height:44px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#203f35;color:white;border-radius:12px;padding:13px 24px;z-index:5;display:none}body.large{font-size:19px}.large input,.large button,.large td,.large nav span{font-size:18px}[hidden]{display:none!important}@media(min-width:1500px){main{margin-right:auto}}@media(max-width:1100px){aside{width:210px;padding:30px 16px}main{margin-left:210px;padding:0 25px}.heading h1{font-size:26px}.hero{padding:28px}.routine-card{padding:15px;gap:10px}.routine-card .status{padding:3px 6px}.stats{gap:12px}.stat{padding:20px}.float-pill{right:-25px}}@media(max-width:760px){aside{position:static;width:100%;padding:18px 20px;border:0}.brand{font-size:28px;min-height:45px}.brand small{font-size:10px}.logo{font-size:32px;height:43px}nav{position:fixed;bottom:0;left:0;right:0;z-index:3;background:white;border-top:1px solid var(--line);display:flex;justify-content:space-around;margin:0;padding:5px 2px max(6px,env(safe-area-inset-bottom))}nav button{text-align:center;padding:5px 3px;border-radius:8px;font-size:22px;flex:1}nav span{display:block;font-size:9px;margin:0}.aside-note,.private{display:none}main{margin:0;padding:0 19px 85px}header{height:45px;font-size:10px}header button{font-size:11px;padding:4px;min-height:40px}.heading{margin:25px 0 20px;display:block}.heading h1{font-size:26px}.heading p{font-size:14px}.heading>.primary{width:100%;margin-top:5px}.hero{padding:25px 23px;grid-template-columns:1.2fr .8fr;min-height:260px}.hero h2{font-size:26px}.hero p{font-size:12px}.tag{font-size:10px}.hero-art{transform:scale(.7);transform-origin:center right}.device{width:165px}.float-pill{white-space:nowrap;bottom:-10px;right:-25px}.hero .light{font-size:12px;padding:8px 12px}.light span{margin-left:10px}.routine{gap:10px}.routine-card{display:block;padding:15px 13px;position:relative}.routine-card .sun{width:40px;height:40px;font-size:24px;margin-bottom:12px}.routine-card .status{display:inline-block;margin-top:10px}.routine-card strong{font-size:16px}.routine-card small{font-size:11px}.stats{gap:8px}.stat{padding:14px 10px}.stat .label{font-size:11px}.stat strong{font-size:24px}.stat small{font-size:10px}.chart-card{padding:17px 12px}.chart-card .section-title{display:block}.legend{margin-top:12px}.section-title h2{font-size:18px}.two{gap:12px}dialog{padding:20px}.panel{padding:20px}footer{font-size:10px;display:block}footer span{display:block}.secondary{margin:10px 0}.row-note{min-width:140px}}@media print{aside,header,footer,.no-print,#toast,dialog,.page:not(#report){display:none!important}main{margin:0;padding:0}#report{display:block!important}.panel{border:0;padding:0}.heading{margin:0}body{background:white;font-size:12px}th,td{padding:7px}table{font-size:11px}tr{break-inside:avoid}}

.bmi-preview{padding:15px 18px;border-radius:12px;background:#eaf3ed;color:var(--green);margin:12px 0;font-weight:600}.weight-summary .section-title{margin-top:0}.weight-values{display:flex;gap:55px}.weight-values strong{display:block;font-size:30px;color:var(--green)}.weight-values small{font-size:13px;color:var(--muted);font-weight:400}@media(max-width:760px){.weight-values{gap:25px}.weight-values strong{font-size:26px}.weight-values small{font-size:11px}.weight-summary .section-title{flex-wrap:wrap}}
.lab-intro{display:flex;gap:20px;align-items:center;background:#e6eee1;border-radius:20px;padding:24px}.lab-intro-icon{font-size:40px;color:var(--green)}.lab-intro p{margin:6px 0 0;font-size:14px}.lab-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:20px}.file-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border-radius:12px;padding:10px 18px;cursor:pointer;font-weight:600}.file-button input{position:absolute;width:1px;height:1px;opacity:0;min-height:0;padding:0}.file-button:focus-within{outline:3px solid #dbaf4e}.lab-steps{display:flex;gap:10px;flex-wrap:wrap;color:var(--green);font-size:13px;margin:20px 0}.lab-steps span{padding:6px 12px;border-radius:30px;background:#eaf3ed}.upload-box{border:2px dashed #c6d7cb;padding:20px;border-radius:18px;text-align:center;margin:20px 0;background:#f9fbf8}.upload-box h3{font-size:17px;margin:0}.upload-box p{font-size:12px}.lab-images{display:flex;gap:15px;overflow:auto;margin:20px 0}.lab-image{min-width:150px;max-width:190px;margin:0;background:#f6f8f4;border-radius:12px;padding:10px}.lab-image img{height:150px;width:100%;object-fit:contain;background:white}.lab-image a{display:block;color:var(--green);font-size:13px}.lab-image button{font-size:12px;padding:4px;min-height:40px}.raw-details{padding:16px;border:1px solid var(--line);border-radius:12px;margin:18px 0}.raw-details summary{cursor:pointer}.raw-details textarea{margin-top:15px;min-height:180px;font-size:14px}.lab-row{border:1px solid var(--line);border-radius:14px;padding:16px;margin:12px 0;background:#fafcf9}.lab-row-grid{display:grid;grid-template-columns:1.3fr .8fr 1fr 1.2fr;gap:12px}.lab-row label{font-size:12px;margin:5px 0}.lab-row input{font-size:15px}.lab-row-source{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.lab-row-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.lab-row-head button{min-height:36px;padding:5px 10px}.confirm-check{display:flex;gap:12px;align-items:flex-start;background:#eef5ed;padding:18px;border-radius:12px;font-size:14px}.confirm-check input{width:23px;min-width:23px;min-height:23px;margin:2px 0;accent-color:var(--green)}.lab-actions{display:flex;justify-content:flex-end;flex-wrap:wrap}.lab-status{display:inline-block;border-radius:25px;background:#fcf2db;color:#826620;padding:4px 12px;font-size:12px}.lab-status.verified{background:#e5f2e9;color:#196b59}.lab-card .section-title{margin:0 0 12px}.lab-card p{font-size:14px}.lab-card-actions{display:flex;flex-wrap:wrap;gap:8px}.lab-card-actions button{font-size:14px}.lab-card h2{overflow-wrap:anywhere}#labError{color:#9a3535}button:disabled{opacity:.5;cursor:wait}.lab-row-grid input{min-width:0}@media(max-width:760px){.lab-toolbar{display:block}.lab-toolbar .secondary{font-size:12px;margin:6px 3px}.lab-row-grid{grid-template-columns:1fr 1fr}.lab-intro{padding:18px;gap:12px}.lab-intro h2{font-size:18px}.lab-intro p{font-size:12px}nav span{font-size:8px}.lab-actions>button{flex:1}.lab-card .section-title{align-items:flex-start;flex-direction:column}}
.header-actions{display:flex;align-items:center;gap:12px}.language-control{display:flex;align-items:center;gap:7px;font-size:12px;margin:0}.language-control span{white-space:nowrap}.language-control select{width:auto;min-height:40px;padding:5px 10px;font-size:13px}html[lang=en] nav span{font-size:13px}html[lang=en] .hero h2{font-size:30px}html[lang=en] .heading h1{font-size:28px}html[lang=en] .routine-card{flex-wrap:wrap}html[lang=en] .routine-card .status{white-space:nowrap}html[lang=en] .aside-note h3{font-size:22px}@media(max-width:760px){header{height:auto;min-height:58px;gap:8px;flex-wrap:wrap;padding:6px 0}.header-actions{gap:6px;margin-left:auto}.language-control span{display:none}.language-control select{font-size:12px}.header-actions #size{font-size:10px}html[lang=en] nav span{font-size:8px}html[lang=en] .hero h2{font-size:24px}html[lang=en] .hero{grid-template-columns:1.3fr .7fr}html[lang=en] .heading h1{font-size:25px}html[lang=en] .routine-card strong{font-size:14px}html[lang=en] .stat strong{font-size:22px}}@media print{.header-actions{display:none}}

#reportBody tr.day-tint td{background:#eef3f8}#reportBody tr.day-start td{border-top:2px solid #bac7d5}#reportBody thead{display:table-header-group}@media print{#reportBody tr.day-tint td{print-color-adjust:exact;-webkit-print-color-adjust:exact}#reportBody .table-wrap{overflow:visible}}
