:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#14264b;background:#f5f8ff;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}[hidden]{display:none!important}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}.sidebar{background:#092959;color:#fff;display:flex;flex-direction:column;padding:30px 18px 24px;position:relative;overflow:hidden}.sidebar:before{content:"";position:absolute;width:290px;height:290px;border:1px solid #ffffff1c;border-radius:50%;left:-140px;bottom:-100px;pointer-events:none}.brand{display:flex;align-items:center;gap:12px;padding:0 12px;font-size:22px;font-weight:800;letter-spacing:.09em}.brand small{display:block;margin-top:3px;font-size:10px;font-weight:500;letter-spacing:.15em;text-transform:uppercase;color:#b8d1ff}.brand-mark{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#fff;color:#1550bd;font-size:25px;font-weight:900;box-shadow:0 8px 25px #001f505e}.side-section{margin-top:64px;display:grid;gap:6px}.side-label,.overline,.eyebrow,.queue-kicker{font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.side-label{color:#84a8e6;padding:0 15px;margin-bottom:11px}.side-link{display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:11px;font-size:13px;color:#d5e4ff}.side-link>span{width:19px;font-size:18px;text-align:center}.side-link.active{background:#ffffff1a;color:#fff;font-weight:700;box-shadow:inset 3px 0 #62aaff}.side-link.muted{color:#94afd8}.side-link small{margin-left:auto;font-size:9px;color:#91a9cc}.side-bottom{margin-top:auto;display:flex;align-items:center;gap:9px;padding:20px 12px 0;color:#a8c2e9;font-size:11px;line-height:1.4}.pulse-dot{width:7px;height:7px;flex:none;border-radius:50%;background:#79cfdb;box-shadow:0 0 0 4px #79cfdb29}.main-content{min-width:0;padding:40px clamp(24px,4vw,70px) 70px;background:radial-gradient(circle at 88% 1%,#eaf2ff 0,transparent 34%),#f5f8ff}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px}.overline{color:#3772d3}.topbar h1{font-size:clamp(24px,2.5vw,37px);letter-spacing:-.045em;margin:7px 0 0;font-weight:750}.header-actions{display:flex;align-items:center;gap:14px;white-space:nowrap}.header-actions a,.header-actions button,#refresh-button{border:1px solid #d4e1f7;background:#fff;border-radius:10px;padding:10px 15px;font-size:12px;font-weight:700;color:#1d4d9a;box-shadow:0 4px 12px #123d8310}.header-actions button:hover,.header-actions a:hover,#refresh-button:hover{border-color:#89b1ef}.notice{display:flex;align-items:flex-start;gap:16px;background:#eaf2ff;border:1px solid #d8e6fc;border-radius:16px;margin-top:32px;padding:19px 22px}.notice-icon{display:grid;place-items:center;width:30px;height:30px;flex:none;background:#d8e6ff;color:#1152b8;border-radius:9px}.notice strong{font-size:13px;color:#174b9b}.notice p{font-size:12px;line-height:1.55;color:#536b90;margin:4px 0 0}.login-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(330px,.8fr);gap:24px;margin-top:31px;align-items:stretch}.intro-card{min-height:490px;border-radius:23px;padding:clamp(30px,4vw,56px);display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden;color:#fff;background:linear-gradient(130deg,#0d3b91,#1760d1 59%,#51a2eb);box-shadow:0 22px 44px #1053ad25}.intro-card:before,.intro-card:after{content:"";position:absolute;border:1px solid #ffffff3a;border-radius:50%;pointer-events:none}.intro-card:before{width:530px;height:530px;right:-260px;top:-240px}.intro-card:after{width:360px;height:360px;right:-110px;bottom:-220px;background:#ffffff12}.eyebrow{color:#2670d3}.intro-card .eyebrow{color:#b9daff}.intro-card h2{font-size:clamp(36px,4vw,62px);line-height:1.1;letter-spacing:-.055em;margin:22px 0 18px;z-index:1}.intro-card em{font-style:normal;color:#b7dfff}.intro-card p{max-width:450px;font-size:15px;line-height:1.7;color:#daebff;z-index:1}.intro-foot{display:flex;flex-wrap:wrap;align-items:center;gap:12px 8px;margin-top:50px;font-size:11px;color:#d7e9ff;z-index:1}.intro-foot span{display:inline-grid;place-items:center;border:1px solid #ffffff5c;border-radius:50%;width:28px;height:28px;font-size:10px;margin-left:12px}.intro-foot span:first-child{margin-left:0}.login-card{background:#fff;border:1px solid #e2eaf7;border-radius:23px;padding:clamp(25px,3vw,43px);display:flex;flex-direction:column;box-shadow:0 15px 45px #1a4f9310}.login-card h2{font-size:26px;letter-spacing:-.035em;margin:12px 0 7px}.login-card>p{font-size:12px;line-height:1.6;color:#6780a4;margin:0 0 24px}.login-card label{font-size:12px;font-weight:700;margin:15px 0 7px}.login-card input{height:44px;padding:0 13px;border:1px solid #d9e4f3;border-radius:9px;color:#162e56;background:#fbfdff;outline:none}.login-card input:focus{border-color:#2870d7;box-shadow:0 0 0 3px #2870d721}.login-card>button{height:47px;margin-top:24px;border:0;border-radius:9px;background:#185cc7;color:#fff;font-size:13px;font-weight:800;display:flex;justify-content:center;align-items:center;gap:18px}.login-card>button:hover{background:#0d47a9}.login-card>button:disabled,#refresh-button:disabled{opacity:.6;cursor:wait}.login-card small{color:#8092ad;font-size:10px;line-height:1.5;margin-top:auto}.login-card code{font-size:10px}.form-status{min-height:20px;font-size:11px!important;color:#2257a1!important;margin:11px 0 10px!important}.error{color:#bd314a!important}.dashboard{margin-top:37px}.dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.dashboard-heading h2{font-size:27px;margin:8px 0 3px;letter-spacing:-.04em}.dashboard-heading p{font-size:12px;color:#7086a4;margin:0}.dashboard-status{min-height:20px;margin:17px 0 13px;font-size:11px;color:#3768a9}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.stat-card{background:#fff;border:1px solid #e2eaf7;border-radius:17px;padding:25px;min-height:150px;box-shadow:0 10px 25px #194a8910;display:flex;flex-direction:column}.stat-card span{font-size:12px;font-weight:700;color:#54719d}.stat-card strong{font-size:40px;line-height:1.2;letter-spacing:-.05em;margin-top:15px;color:#124caa}.stat-card small{font-size:11px;color:#91a2ba;margin-top:auto}.queue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}.queue-card{min-width:0;background:#fff;border:1px solid #e2eaf7;border-radius:17px;padding:22px;min-height:290px}.queue-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf1f8;padding-bottom:18px}.queue-kicker{color:#6a93ce}.queue-heading h3{font-size:17px;letter-spacing:-.025em;margin:7px 0 0}.queue-number{font-size:11px;color:#9db1cc}.queue-item{display:flex;align-items:center;gap:10px;padding:15px 0;border-bottom:1px solid #edf1f8}.item-icon{display:grid;place-items:center;flex:none;width:32px;height:32px;background:#eaf2ff;color:#2770d5;border-radius:9px;font-size:17px}.queue-item>div{min-width:0}.queue-item strong{display:block;font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.queue-item small{display:block;font-size:10px;color:#7b91ae;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:4px}.status-badge{margin-left:auto;white-space:nowrap;background:#eff5ff;color:#2d6abc;border-radius:30px;padding:5px 7px;font-size:9px}.queue-empty{font-size:12px;color:#879bb7;line-height:1.5;padding:19px 0}.dashboard-foot{font-size:11px;color:#8ca0ba;margin-top:25px}@media(max-width:1050px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding-inline:12px}.login-layout{grid-template-columns:1fr}.intro-card{min-height:280px}.intro-foot{margin-top:18px}.queue-grid{grid-template-columns:1fr 1fr}.queue-card:last-child{grid-column:1/-1}}@media(max-width:700px){.app-shell{display:block}.sidebar{padding:14px 20px;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.brand{padding:0;font-size:18px}.brand-mark{width:34px;height:34px;font-size:19px}.side-section,.side-bottom{display:none}.main-content{padding:27px 18px 60px}.topbar{align-items:flex-start}.topbar h1{font-size:25px}.header-actions{gap:6px}.header-actions a,.header-actions button{padding:8px;font-size:10px}.notice{margin-top:22px;padding:15px}.login-layout{margin-top:20px;gap:16px}.intro-card{padding:30px;min-height:280px}.intro-card h2{font-size:37px;margin:15px 0}.intro-card p{font-size:12px}.intro-foot{font-size:9px}.intro-foot span{width:22px;height:22px}.login-card{padding:27px}.dashboard-heading{align-items:flex-start}.dashboard-heading h2{font-size:22px}.stat-grid{gap:8px}.stat-card{min-height:124px;padding:14px}.stat-card span{font-size:10px}.stat-card strong{font-size:27px}.stat-card small{font-size:9px}.queue-grid{display:block}.queue-card{margin-bottom:12px;min-height:170px}}
:root{color-scheme:light}
@media(max-width:700px){.topbar{flex-wrap:wrap}.topbar h1{font-size:24px}.header-actions{flex-wrap:wrap}.stat-card strong{font-size:20px;overflow-wrap:anywhere}.stat-card{min-width:0}}
.draft-form .field-full{grid-column:1/-1}.draft-form textarea{width:100%;font:inherit;resize:vertical;border:1px solid #d7e3f3;border-radius:8px;padding:10px}.draft-form input[type=file]{height:auto;padding:10px}.photo-preview{display:flex;flex-wrap:wrap;gap:10px}.photo-preview figure{margin:0;position:relative;width:100px}.photo-preview img{width:100px;height:80px;object-fit:cover;border-radius:5px}.photo-preview button{width:100%;font-size:11px;padding:5px;border:1px solid #bdd4f6;border-radius:5px;background:#fff;color:#1552ac}.changes-form select{height:40px;border:1px solid #d7e3f3;border-radius:5px;padding:8px;font:inherit}
.queue-item{flex-wrap:wrap}
.history-button{margin-left:42px;border:0;background:transparent;color:#2366c4;font-size:10px;font-weight:800;padding:3px 0}
.action-button{margin-left:42px;border:1px solid #bdd4f6;border-radius:7px;background:#eff6ff;color:#1552ac;font-size:10px;font-weight:800;padding:7px 10px}
.action-button:hover{background:#e3efff}
.action-button:disabled{opacity:.6;cursor:wait}
.history-button:hover{text-decoration:underline}
.history-button:focus-visible,.action-button:focus-visible,.header-actions a:focus-visible,.login-card button:focus-visible,#refresh-button:focus-visible{outline:3px solid #80b4f7;outline-offset:3px}
.history-dialog{width:min(500px,calc(100% - 32px));max-height:80vh;border:1px solid #dbe7f7;border-radius:18px;padding:27px;background:#fff;color:#14264b;box-shadow:0 26px 75px #09295948}
.history-dialog::backdrop{background:#0929598c}
.history-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.history-heading h2{font-size:21px;letter-spacing:-.03em;margin:7px 0 0}
.history-heading button{border:0;background:#eff5ff;color:#1d4d9a;border-radius:9px;width:32px;height:32px;font-size:22px;line-height:1}
#history-status{min-height:18px;font-size:11px;color:#5c789e;margin:20px 0 12px}
.history-entry{border-top:1px solid #e8eef8;padding:15px 0}
.history-entry strong{display:block;font-size:12px}
.history-entry small{display:block;color:#8da1bd;font-size:10px;margin-top:4px}
.history-entry p{font-size:12px;line-height:1.5;color:#526b91;margin:9px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.history-note{border-top:1px solid #e8eef8;margin:12px 0 0;padding-top:15px;color:#8a9eb9;font-size:10px}
.draft-card{display:grid;grid-template-columns:minmax(190px,.46fr) minmax(0,1fr);gap:28px;margin-top:20px;padding:28px;border:1px solid #dbe7f8;border-radius:17px;background:linear-gradient(120deg,#f0f6ff,#fff 42%);box-shadow:0 10px 25px #194a8910}
.draft-intro h3{font-size:21px;letter-spacing:-.035em;margin:10px 0}
.draft-intro p{font-size:12px;line-height:1.6;color:#667e9f;max-width:275px}
.draft-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 13px;align-items:start}
.draft-form label{display:grid;gap:7px;min-width:0;font-size:11px;font-weight:700;color:#375578}
.draft-form input,.draft-form select{width:100%;height:40px;border:1px solid #d7e3f3;border-radius:8px;background:#fff;padding:0 11px;color:#162e56;outline:none;font-size:12px}
.draft-form input:focus,.draft-form select:focus{border-color:#2870d7;box-shadow:0 0 0 3px #2870d721}
.draft-form label small{font-weight:500;color:#7b8fa9;font-size:10px;line-height:1.35}
.draft-form .field-wide{grid-column:span 2}
.draft-submit{display:flex;align-items:flex-end;gap:10px;grid-column:span 2;min-height:65px}
.draft-submit button{flex:none;height:40px;border:0;border-radius:8px;background:#185cc7;color:#fff;padding:0 16px;font-size:11px;font-weight:800}
.draft-submit button:hover{background:#0d47a9}
.draft-submit button:disabled{opacity:.6;cursor:wait}
.draft-submit p{font-size:11px;line-height:1.4;color:#3768a9;margin:0 0 5px}
@media(max-width:1050px){.draft-card{grid-template-columns:1fr}.draft-intro p{max-width:none}}
@media(max-width:700px){.draft-card{padding:22px;gap:18px}.draft-form{grid-template-columns:repeat(2,minmax(0,1fr))}.draft-form .field-wide{grid-column:1/-1}.draft-submit{grid-column:1/-1;display:block}.draft-submit p{margin-top:10px}}
.changes-form{display:grid;gap:12px}
.changes-form h2{font-size:22px;letter-spacing:-.03em;margin:0}
.changes-form>p{font-size:12px;color:#61799b;margin:0;overflow-wrap:anywhere}
.changes-form label{font-size:12px;font-weight:700;color:#375578;margin-top:9px}
.changes-form textarea{width:100%;resize:vertical;border:1px solid #d7e3f3;border-radius:9px;padding:12px;color:#162e56;font:inherit;font-size:12px;line-height:1.5}
.changes-form textarea:focus{outline:3px solid #80b4f7;outline-offset:2px}
.changes-form #changes-status{min-height:18px;color:#3768a9}
.changes-actions{display:flex;justify-content:flex-end;gap:9px}
.changes-actions button{border:1px solid #bdd4f6;border-radius:8px;background:#fff;color:#1552ac;padding:10px 13px;font-size:11px;font-weight:800}
.changes-actions button:last-child{background:#185cc7;border-color:#185cc7;color:#fff}
.changes-actions button:disabled{opacity:.6;cursor:wait}
.changes-actions button:focus-visible{outline:3px solid #80b4f7;outline-offset:3px}
.changes-form small{font-size:10px;line-height:1.5;color:#8a9eb9}
.changes-form input{width:100%;height:40px;border:1px solid #d7e3f3;border-radius:8px;background:#fff;padding:0 11px;color:#162e56;font:inherit;font-size:12px}
.changes-form input:focus{outline:3px solid #80b4f7;outline-offset:2px}
.inbox-card{margin-top:20px;min-height:150px}.inbox-card .action-button{margin-left:auto}.inbox-card .dashboard-foot{margin-top:15px}.inbox-message{border-top:1px solid #e8eef8;padding:12px 0}.inbox-message strong{display:block;font-size:11px;color:#1a57ad}.inbox-message p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.inbox-card .queue-item{gap:12px}
.changes-form .edit-feedback{border:1px solid #dbe7f8;border-radius:9px;background:#f0f6ff;padding:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;color:#27538e}
