:root{color:#1b2b3b;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f8fa;font-family:Noto Sans SC,Microsoft YaHei,Segoe UI,sans-serif}html{background:#f5f8fa;min-width:320px}body{min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font-family:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #4b84a53d}#root{min-height:100vh}:root{--ink:#1b2b3b;--soft:#526475;--muted:#8796a4;--blue:#2f658d;--deep:#214b6b;--wash:#f5f9fc;--line:#dfe8ee;--shadow:0 8px 24px #2e516912}*{box-sizing:border-box}body{color:var(--ink);background:#f5f8fa;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #4b84a559}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.04em;margin-bottom:10px;font-size:clamp(30px,5vw,46px);line-height:1.14}h1 em{color:var(--blue);font-style:normal}h2{letter-spacing:-.02em;margin-bottom:0;font-size:20px}.app-shell{background:radial-gradient(circle at 80% -10%,#e8f2f8,#0000 38%),#f5f8fa;min-height:100vh;padding:24px}.app-surface{background:#ffffffe0;border:1px solid #cbd9e2b8;border-radius:28px;width:min(1160px,100%);min-height:calc(100vh - 48px);margin:0 auto;overflow:hidden;box-shadow:0 18px 50px #2e516917}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:24px;min-height:76px;padding:0 28px;display:flex}.brand-button{text-align:left;color:var(--ink);background:0 0;border:0;align-items:center;gap:11px;padding:6px;display:flex}.brand-button>span:last-child{white-space:nowrap;flex-direction:column;display:flex}.brand-button strong{font-size:15px}.brand-button small{color:var(--muted);margin-top:4px;font-size:10px}.brand-mark{background:var(--deep);border-radius:9px;align-items:flex-end;gap:3px;width:28px;height:28px;padding:5px;display:flex}.brand-mark i{background:#c9e1ef;border-radius:4px;width:4px;height:8px}.brand-mark i:nth-child(2){background:#f0c878;height:14px}.brand-mark i:nth-child(3){height:18px}.top-nav{align-items:center;gap:6px;display:flex}.nav-item{min-height:42px;color:var(--soft);white-space:nowrap;background:0 0;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:0 15px;font-size:12px;font-weight:700;display:flex}.nav-item.active{color:var(--deep);background:#eaf3f8}.main-content{min-height:calc(100vh - 122px);padding:40px 54px 70px}.page{max-width:900px;margin:auto}.page-header{margin-bottom:24px}.page-header h1{font-size:clamp(29px,4vw,39px)}.eyebrow{color:var(--blue);letter-spacing:.12em;text-transform:uppercase;margin:0 0 8px;font-size:11px;font-weight:750}.hint,.welcome-note{color:var(--soft);margin:0;font-size:13px;line-height:1.7}.card-surface{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:20px}.welcome-row{justify-content:space-between;align-items:flex-start;gap:24px;margin:4px 0 28px;display:flex}.countdown-chip{background:var(--deep);color:#fff;border-radius:24px;justify-content:center;align-items:center;gap:9px;min-width:100px;height:100px;padding:15px;display:flex;transform:rotate(2deg);box-shadow:0 14px 28px #214b6b2e}.countdown-number{letter-spacing:-.07em;font-size:35px;font-weight:780;line-height:1}.countdown-chip span:last-child{color:#c6dce8;white-space:pre-line;font-size:11px;line-height:1.25}.text-button{color:var(--blue);background:0 0;border:0;justify-content:center;align-items:center;gap:5px;padding:4px 0;font-size:12px;font-weight:750;text-decoration:none;display:inline-flex}.countdown-edit{margin-top:10px}.danger{color:#bb625d}.action-grid{grid-template-columns:1fr 1fr;gap:14px;margin-bottom:22px;display:grid}.action-card{border:1px solid var(--line);text-align:left;min-height:100px;color:var(--ink);background:#fff;border-radius:20px;align-items:center;gap:14px;padding:18px;display:flex}.action-card.selected{background:var(--deep);border-color:var(--deep);color:#fff}.action-card>span:nth-child(2){flex-direction:column;flex:1;display:flex}.action-card strong{font-size:15px}.action-card small{color:var(--soft);margin-top:7px;font-size:12px}.action-card.selected small{color:#c2d7e3}.action-icon{width:44px;height:44px;color:var(--blue);background:#eaf3f8;border-radius:14px;place-items:center;display:grid}.action-card.selected .action-icon{color:#fff;background:#ffffff21}.workspace{padding:18px}.timer-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;display:grid}.timer-card{text-align:center;background:#f4f8fb;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;min-height:295px;padding:22px;display:flex}.timer-status{color:var(--soft);font-size:11px;font-weight:700}.timer-status i{background:#a6b3bd;border-radius:50%;width:7px;height:7px;margin-right:7px;display:inline-block}.timer-status i.running{background:#3f8465;box-shadow:0 0 0 4px #e1f1e8}.timer-value{color:var(--deep);letter-spacing:-.05em;font-variant-numeric:tabular-nums;margin-top:16px;font-size:clamp(37px,5vw,54px);font-weight:780;line-height:1}.timer-hint{color:var(--muted);margin:10px 0 16px;font-size:11px}.timer-fields{grid-template-columns:1fr 1fr;gap:10px;width:100%;display:grid}.timer-fields label{color:var(--muted);flex-direction:column;align-items:flex-start;gap:5px;font-size:10px;display:flex}select,input[type=date],input[type=number],.field input{min-width:0;min-height:38px;color:var(--ink);background:#fff;border:1px solid #d9e5eb;border-radius:10px;padding:7px 10px}.timer-fields select{width:100%;font-size:12px}.timer-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:15px;display:flex}.button{border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:7px;min-height:39px;padding:0 17px;font-size:12px;font-weight:750;display:inline-flex}.button-primary{background:var(--deep);color:#fff}.button-danger{color:#a64e4a;background:#f9e9e7}.full-button{width:100%;min-height:45px;margin-top:22px}.time-log-card{padding:10px 7px}.card-title-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.card-title-row h2{font-size:18px}.soft-pill{color:var(--soft);white-space:nowrap;background:#f1f5f7;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:700}.subject-time-list{gap:11px;margin:20px 0;display:grid}.time-row{grid-template-columns:7px 58px 1fr auto;align-items:center;gap:8px;font-size:11px;display:grid}.time-row strong{white-space:nowrap;font-size:11px}.time-dot{border-radius:50%;width:7px;height:7px}.time-bar{background:#edf2f5;border-radius:8px;height:5px;overflow:hidden}.time-bar i{border-radius:8px;height:100%;display:block}.history-heading{border-top:1px solid var(--line);color:var(--soft);justify-content:space-between;padding:12px 0 6px;font-size:11px;font-weight:700;display:flex}.history-heading small{color:var(--muted);font-size:10px}.session-row{border-bottom:1px solid #edf3f6;align-items:center;gap:9px;padding:8px 0;font-size:10px;display:flex}.session-row>div:first-child{flex:1;min-width:0}.session-row strong,.session-row small{display:block}.session-row small{color:var(--muted);margin-top:3px}.minute-input{width:63px}.empty-small{color:var(--muted);font-size:11px}.submit-panel{max-width:660px;margin:auto;padding:10px}.stepper{justify-content:space-between;gap:10px;margin:0 auto 35px;display:flex}.stepper>div{color:var(--muted);align-items:center;gap:8px;font-size:11px;display:flex}.stepper>div>span{background:#f0f4f6;border-radius:50%;place-items:center;width:28px;height:28px;font-size:10px;display:grid}.stepper>div.active{color:var(--deep);font-weight:700}.stepper>div.active>span{color:#fff;background:var(--deep)}.submit-step h2{margin-bottom:8px;font-size:24px}.step-kicker{margin-top:16px}.choice-grid{grid-template-columns:1fr 1fr;gap:10px;margin-top:22px;display:grid}.choice-grid button{border:1px solid var(--line);min-height:64px;color:var(--ink);text-align:left;background:#fff;border-radius:13px;align-items:center;gap:12px;padding:12px;display:flex}.choice-grid button.selected{background:#f4f9fc;border-color:#7eafc7}.choice-grid button>span:nth-child(2){flex:1}.choice-grid strong,.choice-grid small{display:block}.choice-grid small{color:var(--muted);margin-top:5px;font-size:10px}.choice-symbol{width:36px;height:36px;color:var(--blue);background:#eaf3f8;border-radius:10px;flex:none;place-items:center;font-weight:750;display:grid}.type-grid{grid-template-columns:1fr}.material-grid,.record-images{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px;display:grid}.material-thumb{border:1px solid var(--line);border-radius:12px;min-width:0;padding:5px;position:relative}.material-thumb img{object-fit:cover;border-radius:8px;width:100%;height:110px;display:block}.material-thumb>span{color:var(--soft);white-space:nowrap;text-overflow:ellipsis;padding:6px 3px;font-size:10px;display:block;overflow:hidden}.remove-image{color:#fff;background:#1d2d38b3;border:0;border-radius:50%;width:25px;height:25px;font-size:20px;line-height:1;position:absolute;top:8px;right:8px}.upload-tile{min-height:140px;color:var(--blue);cursor:pointer;background:#f7fbfd;border:1px dashed #b6ccd9;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:7px;display:flex}.upload-tile input{display:none}.upload-tile strong{font-size:12px}.upload-tile small{color:var(--muted);font-size:10px}.note-label{color:var(--soft);margin-top:18px;font-size:12px;font-weight:700;display:block}.note-label textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:95px;color:var(--ink);border-radius:12px;margin-top:8px;padding:12px;display:block}.archive-filter,.report-filter{flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:16px;padding:16px;display:flex}.segmented-tabs{background:#f0f5f7;border-radius:12px;gap:4px;padding:4px;display:flex}.segmented-tabs button{min-height:35px;color:var(--soft);background:0 0;border:0;border-radius:9px;padding:0 14px;font-size:12px;font-weight:700}.segmented-tabs button.active{color:var(--deep);background:#fff;box-shadow:0 2px 8px #284b5f14}.date-control{color:var(--soft);white-space:nowrap;align-items:center;gap:8px;font-size:11px;font-weight:700;display:flex}.date-control input{font-size:12px}.records-list{gap:14px;display:grid}.record-card{padding:20px}.record-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.record-heading h2{font-size:18px}.record-heading h2 span{color:var(--soft);font-weight:500}.record-note{color:var(--soft);white-space:pre-wrap;overflow-wrap:anywhere;margin:15px 0 0;font-size:13px;line-height:1.7}.record-images{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}.record-image{background:#f2f6f8;border:0;border-radius:12px;height:130px;padding:0;overflow:hidden}.record-image img{object-fit:cover;width:100%;height:100%}.record-file{border:1px solid var(--line);color:var(--blue);overflow-wrap:anywhere;border-radius:10px;padding:12px;font-size:12px}.empty-card{min-height:150px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:25px;font-size:12px;display:flex}.empty-card strong{color:var(--soft);font-size:14px}.report-filter{justify-content:space-between}.report-date-row{align-items:center;gap:8px;display:flex}.icon-button{width:35px;height:35px;color:var(--soft);background:0 0;border:0;border-radius:10px;place-items:center;padding:0;display:inline-grid}.icon-button.bordered{border:1px solid var(--line);font-size:24px}.chart-card{padding:24px}.chart-heading .hint{margin-top:9px}.chart-scroll{width:100%;margin-top:12px;overflow-x:auto}.chart-scroll svg{width:100%;height:auto;display:block}.axis-label{fill:#8796a4;font-size:10px}.bucket-label{fill:#526475;font-size:11px;font-weight:700}.bar-value{fill:#526475;font-size:9px}.chart-legend{color:var(--soft);flex-wrap:wrap;gap:12px;margin-top:12px;font-size:11px;display:flex}.chart-legend span{align-items:center;gap:6px;display:flex}.chart-legend i{border-radius:3px;width:12px;height:12px;display:inline-block}.legend-pattern{background:#8b9eac}.legend-pattern.pattern-1{background:repeating-linear-gradient(45deg,#8b9eac,#8b9eac 3px,#fff 3px 5px)}.legend-pattern.pattern-2{background:radial-gradient(#fff 1px,#0000 1px) 0 0/5px 5px,#8b9eac}.legend-pattern.pattern-3{background:repeating-linear-gradient(-45deg,#8b9eac,#8b9eac 4px,#fff 4px 5px)}.chart-note,.chart-empty{color:var(--muted);margin:18px 0 0;font-size:11px;line-height:1.65}.chart-empty{text-align:center}.dialog-backdrop{z-index:20;background:#14222d6b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.dialog-card,.image-dialog{background:#fff;border-radius:20px;width:min(440px,100%);max-height:90vh;padding:24px;position:relative;overflow:auto;box-shadow:0 20px 50px #0f222d33}.dialog-head{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.field{color:var(--soft);gap:7px;margin-bottom:14px;font-size:12px;font-weight:700;display:grid}.dialog-card .button{margin-top:18px}.image-dialog{text-align:center;width:min(900px,100%)}.image-dialog img{object-fit:contain;max-width:100%;max-height:75vh;margin:auto;display:block}.image-dialog a{color:var(--blue);margin-top:12px;font-size:12px;display:inline-block}.dialog-close{width:34px;height:34px;color:var(--deep);background:#edf3f6;border:0;border-radius:50%;place-items:center;display:grid;position:absolute;top:8px;right:8px}.toast{z-index:30;color:#fff;text-align:center;background:#213f53;border-radius:12px;max-width:calc(100vw - 30px);padding:11px 16px;font-size:12px;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 10px 25px #14283733}.loading-screen{min-height:100vh;color:var(--soft);flex-direction:column;justify-content:center;align-items:center;gap:14px;font-size:13px;display:flex}@media (width<=700px){.app-shell{padding:0}.app-surface{border:0;border-radius:0;min-height:100vh}.topbar{gap:8px;min-height:64px;padding:0 14px}.brand-button small{display:none}.brand-button strong{font-size:13px}.top-nav{gap:0}.nav-item{flex-direction:column;gap:3px;min-width:62px;min-height:52px;padding:5px;font-size:10px}.main-content{min-height:calc(100vh - 64px);padding:26px 16px 55px}.welcome-row{gap:10px}.countdown-chip{border-radius:19px;min-width:78px;height:78px;padding:10px}.countdown-number{font-size:27px}.welcome-row h1{font-size:28px}.action-grid{gap:9px}.action-card{gap:8px;min-height:90px;padding:12px}.action-card strong{font-size:13px}.action-card small{font-size:10px}.action-icon{width:34px;height:34px}.action-card>svg{display:none}.workspace{padding:13px}.timer-layout{grid-template-columns:1fr}.timer-card{min-height:250px;padding:18px}.timer-value{font-size:42px}.time-log-card{padding:12px 4px}.choice-grid{grid-template-columns:1fr}.material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-card{padding:17px 14px}.report-filter{align-items:stretch}.report-date-row{justify-content:center;width:100%}.segmented-tabs{max-width:100%}.segmented-tabs button{padding:0 10px}.archive-filter{gap:10px}.record-card{padding:16px}}
