*{box-sizing:border-box}body{margin:0;font:14px system-ui,sans-serif;color:#233747;background:#f3f6f8;display:flex;min-height:100vh}aside{width:235px;background:#102b3b;color:#d0e0e4;padding:28px 18px;position:sticky;top:0;height:100vh;flex-shrink:0;display:flex;flex-direction:column}.brand{font-size:32px;font-weight:800;color:#fff;letter-spacing:-2px;margin:0 10px 35px}.brand span{color:#3cd2bc}.brand small{display:block;font-size:10px;letter-spacing:1.5px;color:#91aeb8;margin-top:7px}nav{display:grid;gap:6px}nav button{background:transparent;color:#c4d8df;text-align:left}nav button.active{background:#23505b;color:white}.asidefoot{margin-top:auto;font-size:12px;color:#99b4bf;line-height:1.7}main{flex:1;min-width:0;padding:32px clamp(16px,4vw,48px);max-width:1500px}header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}header small,.eyebrow{color:#687e88;font-size:11px;letter-spacing:1.3px;font-weight:700}h1{font-size:30px;margin:5px 0;letter-spacing:-1px}h2{font-size:18px;margin:0 0 15px}h3{margin:0 0 8px}p{line-height:1.6;color:#617581}button,.btn{border:0;border-radius:8px;padding:11px 14px;background:#087e73;color:white;font:600 13px system-ui;cursor:pointer;text-decoration:none;display:inline-block}button:hover,.btn:hover{filter:brightness(.95)}button:disabled{opacity:.45;cursor:default}.ghost{background:#e6eef1;color:#254b57}.danger{background:#fce8e8;color:#9b3434}.notice{background:#e5f4f0;border:1px solid #c7e4dc;border-radius:10px;padding:12px 16px;font-size:13px;margin:0 0 22px}.panel{background:white;border:1px solid #dce6ea;border-radius:13px;padding:21px;margin:18px 0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.metric{background:white;border:1px solid #dce6ea;border-radius:13px;padding:20px}.metric strong{font-size:32px;display:block;margin-top:8px;color:#087e73}.muted,small{color:#71838e}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}label{font-weight:600;font-size:13px;display:block}input,select,textarea{display:block;width:100%;margin:6px 0 0;border:1px solid #cdd9df;border-radius:8px;padding:10px;background:white;color:#203540;font:inherit}input[type=checkbox]{display:inline;width:auto;margin-right:7px}input[type=file]{font-size:12px}.states{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0}.states label{padding:8px;border:1px solid #dce6ea;border-radius:8px}.item{border-top:1px solid #e5ecef;padding:15px 0;display:grid;grid-template-columns:2fr 1fr 1.5fr;gap:15px;align-items:start}.item:first-child{border-top:0}.tag{display:inline-block;border-radius:20px;background:#e5f4f0;color:#087e73;padding:4px 9px;font-size:11px;font-weight:700}.progress{height:8px;background:#e6edef;border-radius:20px;overflow:hidden}.progress div{height:100%;background:#0b9b88}footer{color:#82939c;margin:30px 0;font-size:12px}dialog{border:1px solid #dce6ea;border-radius:15px;width:min(750px,95vw);max-height:90vh;padding:24px}dialog::backdrop{background:#102b3b88}.close{float:right}table{border-collapse:collapse;width:100%}td,th{text-align:left;border-bottom:1px solid #e5ecef;padding:12px 8px}th{font-size:12px;color:#71838e}.scroll{overflow:auto}@media(max-width:800px){body{display:block}aside{position:static;width:100%;height:auto;padding:16px}.brand{margin:0 0 15px}nav{display:flex;overflow:auto}nav button{white-space:nowrap}.asidefoot{display:none}main{padding:16px}header{align-items:flex-start}h1{font-size:23px}.item{grid-template-columns:1fr}}@media print{aside,header button,.actions,button,input,.notice,footer{display:none!important}main{padding:0}.panel{border:0}}

/* Hidden controls must not participate in the flex layout. */
[hidden]{display:none!important}body>input#restore{display:none!important}header{flex-wrap:wrap}main{width:0} @media(max-width:800px){main{width:100%}}

.attachment{border:1px solid #dce6ea;border-radius:10px;padding:12px;margin-top:10px;background:#f8fafb;overflow-wrap:anywhere}.attachment label{margin-top:8px}.attachment .actions{flex-wrap:wrap}.item>div{min-width:0}.item input[type=file]{max-width:100%}
