:root{color-scheme:light;--ink:#18272b;--muted:#627478;--blue:#075e91;--line:#dce5e7;--soft:#f4f7f8}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--soft)}.local-strip{background:#173a44;color:#e6f1f4;text-align:center;padding:10px;font-size:11px;letter-spacing:1.3px;font-weight:650}header{display:flex;align-items:center;gap:28px;max-width:1120px;margin:auto;padding:24px 32px;border-bottom:1px solid var(--line)}header img{width:126px;height:70px;object-fit:contain;mix-blend-mode:multiply}.header-note{font-size:15px;font-weight:600;flex:1}.header-note span{display:block;margin-top:5px;font-size:12px;font-weight:400;color:var(--muted)}main{max-width:1056px;margin:42px auto;padding:0 32px;min-height:65vh}.login-card{max-width:570px;background:#fff;padding:40px;border:1px solid var(--line);border-radius:20px;margin:46px auto}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.7px;color:var(--blue)}h1{font-size:40px;line-height:1.1;letter-spacing:-1px;margin:16px 0 20px}h2{font-size:23px;letter-spacing:-.4px;margin:12px 0 22px}p{line-height:1.6;color:var(--muted)}label{display:block;font-size:13px;font-weight:600;margin:22px 0}input{display:block;width:100%;margin-top:8px;padding:14px;border:1px solid #c8d5d9;border-radius:9px;font:inherit;background:#fff;color:var(--ink)}button{font:inherit;font-size:13px;font-weight:600;border-radius:9px;padding:13px 19px;cursor:pointer;border:1px solid var(--line);background:#fff;color:var(--ink)}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--blue);color:#fff;border-color:var(--blue)}form .primary{width:100%;margin-top:6px}.subtle{background:#fff}.small{font-size:12px;line-height:1.6}.title-row{display:flex;align-items:center;justify-content:space-between;gap:22px}.title-row h1{font-size:36px;margin-bottom:10px}.title-row p{margin:0}.pill{display:block;white-space:nowrap;font-size:11px;font-weight:650;padding:9px 13px;background:#e4efeb;color:#285843;border-radius:20px}.details-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-top:28px}.field{padding:22px 24px;background:white}.field span{display:block;font-size:11px;letter-spacing:.3px;color:var(--muted);margin-bottom:8px}.field strong{font-size:15px;font-weight:550;overflow-wrap:anywhere}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0}.panel{background:#fff;border:1px solid var(--line);padding:28px;border-radius:15px;margin-top:28px}#label-image{display:block;width:100%;max-width:880px;height:auto;border-radius:12px}.history-row{padding:20px 0;border-top:1px solid var(--line)}.history-row h3{margin:0;font-size:17px}.history-row p{margin:7px 0;font-size:14px}.history-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.history-date{font-size:12px;color:var(--muted)}.status{font-size:14px;color:#87522c}.local-strip.preview{background:#edf2d6;color:#3c5031}footer{max-width:1056px;margin:40px auto;padding:20px 32px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:11px;letter-spacing:1px}[hidden]{display:none!important}@media(max-width:650px){header{padding:18px;gap:18px}.header-note{font-size:12px}.header-note span{font-size:10px}header img{width:92px;height:51px}main{padding:0 18px;margin:30px auto}.login-card{padding:27px;margin:30px auto}.details-grid{grid-template-columns:repeat(2,1fr)}.field{padding:18px}h1{font-size:34px}.title-row h1{font-size:28px}.panel{padding:22px}.history-top{align-items:flex-start;flex-direction:column}.pill{font-size:10px}}
:where(header,.header-note,main,#sheet,.title-row,.title-row>div,.details-grid,.field,.panel,#history,.history-row,.history-top,.history-top>*){min-width:0;max-width:100%}
.header-note,.title-row h1,.title-row h2,.title-row p,.history-row h3,.history-row p,.history-date,.field strong{overflow-wrap:anywhere}
.history-row p{white-space:pre-wrap}
.title-row{flex-wrap:wrap}
.title-row>div{flex:1 1 200px}
.details-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.history-top h3{flex:1}
@media(max-width:650px){header{flex-wrap:wrap}.header-note{flex:1 1 130px}header>#logout{margin-left:auto}.details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
