:root{color-scheme:light;--green:#244b40;--green-dark:#1e3e35;--ink:#263d35;--muted:#7a857e;--line:#e4e9df;--bg:#f6f7f2;--paper:#fff;--lime:#dfe9bb;font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-size:14px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible{outline:3px solid #95ab66;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #9daf80;outline-offset:1px}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}button{border:0}svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.eyebrow{display:block;font-size:12px;letter-spacing:2px;font-weight:500}.muted{color:var(--muted)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 19px;border-radius:9px;font-weight:550;transition:background .15s,transform .15s;white-space:nowrap}.button:hover{transform:translateY(-1px)}.primary{background:var(--green);color:white}.primary:hover{background:var(--green-dark)}.subtle{background:#edf1e9;color:var(--green)}.full{width:100%}.text-button{background:transparent;color:var(--green);font-size:13px}.icon-button{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#f0f3ed;color:var(--green)}
.brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:600;letter-spacing:1px;color:white}.brand img{width:42px;height:42px}.brand small{display:block;font-size:8px;letter-spacing:1.5px;margin-top:6px;font-weight:400;opacity:.6}.login-layout{min-height:100svh;display:grid;grid-template-columns:1.05fr 1fr}.login-story{background:var(--green);color:#f7f7ef;padding:48px 9%;position:relative;display:flex;flex-direction:column;overflow:hidden}.login-story:after{content:"";position:absolute;width:400px;height:400px;right:-230px;bottom:50px;border:1px solid #b4c7a52a;border-radius:50%;box-shadow:0 0 0 60px #b4c7a50b,0 0 0 120px #b4c7a506;pointer-events:none}.story-content{margin:auto 0;padding:70px 0}.story-content>.eyebrow{color:#cbd9b5}.story-content h1{font-size:clamp(30px,3.6vw,52px);line-height:1.65;letter-spacing:2px;font-weight:500;margin:24px 0}.story-content h1 span{color:#c6d4a3}.story-content p{font-size:15px;line-height:2.1;color:#bdcec4}.story-tags{display:flex;gap:12px;margin-top:36px}.story-tags span{font-size:11px;color:#d1dfcc;border:1px solid #8caa8c50;border-radius:20px;padding:7px 12px}.story-footer{color:#a6baaa;font-size:11px;letter-spacing:1px}.login-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 28px;position:relative}.login-card{width:100%;max-width:350px}.round-icon{display:grid;place-items:center;background:#e8edde;width:54px;height:54px;border-radius:16px;color:var(--green);margin-bottom:26px}.round-icon svg{width:25px;height:25px}.login-card h2{font-size:27px;font-weight:550;margin:12px 0}.login-card>p{color:var(--muted);line-height:1.8;font-size:13px}.login-card form{margin-top:36px}.login-card label{font-size:12px}.login-card input{margin-top:10px;background:white;min-height:50px}.login-note{border-top:1px solid var(--line);margin-top:30px!important;padding-top:20px;font-size:11px!important}.version-label{position:absolute;bottom:30px;font-size:10px;color:#899287;letter-spacing:1px}
input,select,textarea{width:100%;background:#fff;border:1px solid #dce3d6;color:var(--ink);border-radius:8px;padding:12px 13px;min-width:0}textarea{resize:vertical;line-height:1.7}input::placeholder,textarea::placeholder{color:#9ba497}.form-error{color:#b14434;font-size:13px;line-height:1.7;min-height:0;margin:12px 0}.form-error:empty{margin:0}.login-card .form-error{margin:12px 0}.app-layout{min-height:100svh;display:flex}.sidebar{width:236px;flex-shrink:0;background:var(--green);color:#d9e2d5;padding:34px 24px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.sidebar .brand{gap:9px;font-size:18px}.sidebar .brand img{width:36px;height:36px}.sidebar .brand small{font-size:6px}.sidebar-label{margin:68px 15px 18px;color:#a2b6a8;font-size:10px;letter-spacing:2px}.nav-current{display:flex;gap:12px;align-items:center;background:#ffffff13;border:1px solid #ffffff14;border-radius:9px;padding:14px;font-size:13px;color:#f1f4e9}.nav-current>span{margin-left:auto;font-size:10px;color:#baccaa}.sidebar-bottom{margin-top:auto}.private-note{display:flex;gap:10px;align-items:center;border-bottom:1px solid #ffffff16;padding:20px 3px}.private-note>svg{color:#c1d1ac}.private-note div{font-size:12px}.private-note small{display:block;font-size:10px;color:#a5bba9;margin-top:7px}.sidebar-logout{background:transparent;color:#b8cabb;font-size:12px;padding:18px 3px 0}.workspace{margin-left:236px;min-width:0;width:calc(100% - 236px)}.topbar{height:85px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 46px;background:#fafbf7}.breadcrumb{font-size:11px;color:var(--muted)}.breadcrumb span{margin:0 14px;color:#c3cbbd}.breadcrumb strong{font-weight:500;color:var(--ink)}.topbar-actions{display:flex;align-items:center;gap:24px}.topbar .button{font-size:11px;min-height:34px;padding:8px 12px;background:white;border:1px solid var(--line)}.topbar .icon{width:15px;height:15px}.connection{display:flex;align-items:center;gap:7px;font-size:10px;color:#74896f}.connection i{width:6px;height:6px;border-radius:50%;background:#87a263}.connection.offline{color:#ad643d}.connection.offline i{background:#b8805f}.main-content{max-width:1320px;margin:0 auto;padding:44px 46px 22px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:4px 0 32px}.page-heading h1{font-size:clamp(21px,2vw,29px);font-weight:550;letter-spacing:.5px;margin:13px 0 10px}.page-heading p{color:var(--muted);font-size:12px;line-height:1.7}.page-heading>.button{font-size:12px}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:36px}.stat-card{display:flex;align-items:center;gap:18px;background:var(--paper);padding:24px;border:1px solid var(--line);border-radius:12px;position:relative;min-height:112px}.stat-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;flex-shrink:0}.sage{background:#e9efdf;color:#6e8458}.sand{background:#f7efdd;color:#aa8a44}.lavender{background:#eeedf6;color:#8d85a8}.stat-label{display:block;color:var(--muted);font-size:11px;margin-bottom:10px}.stat-card strong{font-size:27px;font-weight:500;font-variant-numeric:tabular-nums}.stat-unit{margin-left:8px;font-size:10px;color:#9ba393}.storage-count{position:absolute;right:16px;bottom:15px;font-size:9px;color:#97a18d}.records-section{background:white;border:1px solid var(--line);border-radius:13px;padding:26px 28px;min-height:330px}.section-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.section-top h2{font-size:17px;font-weight:550}.section-top h2 span{font-size:11px;color:#8d9985;background:#f0f3ec;padding:3px 7px;border-radius:5px;margin-left:6px}.section-top p{font-size:11px;color:var(--muted);margin-top:8px}.filter-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:25px 0 4px;padding-bottom:18px;border-bottom:1px solid #edf0e8}.member-filters{display:flex;gap:7px;flex-wrap:wrap}.filter-chip{min-height:34px;padding:8px 13px;border-radius:7px;color:#7a8675;background:#f4f6f0;font-size:11px}.filter-chip.active{background:var(--green);color:white}.department-filter{display:flex;gap:9px;align-items:center;white-space:nowrap;color:#8a9583;font-size:11px}.department-filter select{font-size:11px;padding:7px 25px 7px 9px;width:auto;min-height:34px}.record-list{min-height:220px}.empty-state{padding:52px 15px;text-align:center}.empty-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:#f0f4e8;color:#92a374;margin:0 auto 20px}.empty-icon svg{width:27px;height:27px}.empty-state h3{font-weight:500;font-size:15px;margin:0 0 10px}.empty-state p{font-size:12px;color:#8b9681;line-height:1.9}.empty-state .button{margin-top:20px;font-size:12px}.record{display:flex;gap:22px;padding:24px 0;border-bottom:1px solid #edf0e8}.record:last-child{border:0}.record-date{padding-top:2px;flex-shrink:0;width:64px;color:#7d8a74;font-size:10px;line-height:1.9;font-variant-numeric:tabular-nums}.record-date strong{font-size:18px;display:block;color:#576a4e;font-weight:500}.record-content{flex:1;min-width:0}.record-header{display:flex;gap:10px;align-items:center;margin-bottom:12px}.record-header h3{font-size:14px;font-weight:550;margin:0}.department-badge{background:#edf2e6;color:#71845a;font-size:10px;border-radius:5px;padding:4px 8px}.department-badge.respiratory{background:#edf2f3;color:#718c95}.record-summary{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9;color:#65715e}.record-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:15px}.image-link{display:flex;align-items:center;gap:7px;font-size:11px;background:#f6f7f2;padding:7px 10px;color:#6f805f;border-radius:6px}.image-link .icon{width:15px;height:15px}.delete-button{font-size:11px;background:transparent;color:#a29d93;padding:7px}.delete-button:hover{color:#ad4b3b}.content-footer{display:flex;justify-content:space-between;gap:10px;color:#929d88;font-size:10px;padding:24px 2px}.content-footer>div{display:flex;gap:10px}.content-footer button{background:transparent;padding:0;color:#7c8c70;font-size:10px}.notice{font-size:12px;line-height:1.8;border:1px solid #e5d5b4;background:#faf4e7;color:#927044;padding:12px 16px;border-radius:9px;margin-bottom:20px}
dialog{border:1px solid var(--line);border-radius:16px;color:var(--ink);background:#fff;max-width:calc(100% - 24px);max-height:90svh;padding:28px;box-shadow:0 24px 100px #17342830}dialog::backdrop{background:#19352a70;backdrop-filter:blur(4px)}.record-dialog{width:560px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}.dialog-heading h2{font-size:21px;font-weight:550;margin-top:8px}.record-dialog form>label,.two-cols>label{display:block;font-size:12px;margin-bottom:19px}.record-dialog input,.record-dialog select,.record-dialog textarea{margin-top:9px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}.optional{color:#9ba591;font-size:10px;margin-left:6px}.field-help{font-size:11px;color:#87947c;line-height:1.9;margin:-7px 0 18px}.record-dialog input[type=file]{font-size:11px;padding:10px}.image-preview{display:flex;gap:12px;align-items:center;margin:12px 0 20px;font-size:11px;color:#869179;flex-wrap:wrap}.image-preview img{height:64px;width:64px;object-fit:cover;border:1px solid var(--line);border-radius:6px}.image-preview .button{padding:5px 9px;min-height:30px;font-size:11px;margin-left:auto}.dialog-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;gap:12px;margin-top:22px}.dialog-footer>span{font-size:10px;color:#909c83}.image-dialog{width:900px}.image-dialog img{width:100%;height:auto;display:block}.info-dialog{width:440px}.info-dialog>p{line-height:1.9;color:#79856f;font-size:13px}.info-text{white-space:pre-line}.danger{background:#a74e3e;color:white}.delete-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:100;background:#244b40;color:white;border-radius:10px;padding:14px 22px;font-size:13px;max-width:calc(100% - 24px);box-shadow:0 6px 24px #17342820}
@media(min-width:1600px){.main-content{padding-top:60px}.page-heading{margin-bottom:42px}.stats-grid{margin-bottom:44px}}
@media(max-width:1100px){.sidebar{width:202px;padding:30px 18px}.sidebar .brand{font-size:16px}.sidebar .brand img{width:30px;height:30px}.workspace{margin-left:202px;width:calc(100% - 202px)}.topbar{padding:0 28px}.main-content{padding:34px 28px 20px}.stat-card{padding:19px 16px;gap:12px}.stat-icon{width:36px;height:36px}.stats-grid{gap:12px}.page-heading h1{font-size:22px}.records-section{padding:23px}}
@media(max-width:760px){.login-layout{grid-template-columns:1fr;min-height:100svh}.login-story{padding:25px 25px 30px}.login-story .brand{font-size:18px}.login-story .brand img{width:35px;height:35px}.story-content{padding:34px 0 0}.story-content>.eyebrow{display:none}.story-content h1{font-size:30px;line-height:1.6;margin:0 0 12px}.story-content p{font-size:12px;line-height:1.8}.story-tags,.story-footer{display:none}.login-panel{padding:35px 25px 65px}.login-card{max-width:430px}.round-icon{display:none}.login-card h2{font-size:23px}.login-card form{margin-top:25px}.login-note{margin-top:20px!important;padding-top:16px}.version-label{bottom:20px}.sidebar{position:relative;width:100%;padding:19px 21px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px}.sidebar .brand{font-size:17px}.sidebar .brand img{width:32px;height:32px}.sidebar-label,.nav-current,.private-note{display:none}.sidebar-bottom{margin:0}.sidebar-logout{padding:8px 0;color:#d1dfcb;font-size:11px}.app-layout{display:block}.workspace{margin:0;width:100%}.topbar{height:58px;padding:0 21px}.topbar .breadcrumb{display:none}.topbar-actions{width:100%;justify-content:space-between}.main-content{padding:28px 18px 10px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:20px;margin:0 0 24px}.page-heading h1{font-size:23px;line-height:1.5;margin:11px 0 8px}.page-heading>.button{width:100%}.stats-grid{gap:9px;margin-bottom:24px}.stat-card{padding:16px 12px 24px;display:block;min-height:140px}.stat-icon{width:30px;height:30px;border-radius:9px;margin-bottom:12px}.stat-icon svg{width:17px;height:17px}.stat-label{font-size:10px;margin-bottom:7px}.stat-card strong{font-size:24px}.stat-unit{margin-left:5px}.storage-count{font-size:8px;left:12px;right:auto;bottom:9px}.records-section{padding:20px 16px;min-height:320px}.section-top h2{font-size:16px}.section-top p{font-size:10px;line-height:1.7}.section-top .button{padding:6px;min-height:36px;font-size:10px}.filter-row{flex-wrap:wrap;align-items:flex-start;margin-top:20px;gap:15px}.member-filters{flex:1}.department-filter{margin-left:auto}.record{gap:12px;padding:20px 0}.record-date{width:53px;font-size:9px}.record-date strong{font-size:16px}.record-summary{font-size:12px}.content-footer{flex-direction:column;align-items:center;padding:22px 0;gap:15px}dialog{padding:23px 20px;max-height:92svh}.dialog-footer{align-items:flex-end}.dialog-footer>span{max-width:140px;line-height:1.7}.two-cols{gap:12px}.image-dialog{padding:20px 14px}.eyebrow{font-size:10px}.toast{bottom:18px;text-align:center;min-width:200px}}
.content-footer button{min-height:44px;padding:10px 4px}.content-footer>div{align-items:center}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
