
:root{font-family:Segoe UI,Arial,sans-serif;color:#203149;background:#f4f6fa;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #32b9a5;outline-offset:3px}button{border:0;border-radius:9px;padding:12px 18px;background:#123a56;color:white;font-weight:600}button.secondary{background:#edf1f6;color:#344760}button.danger{background:#fff0ed;color:#b84737}input,select,textarea{width:100%;padding:12px;border:1px solid #d6dfe9;border-radius:8px;background:white;color:#203149}textarea{resize:vertical;min-height:100px}label{display:block;font-weight:600;margin-bottom:8px}small,.muted{color:#78869a}h1{font-size:29px;letter-spacing:-.9px;margin:8px 0 12px}h2{font-size:18px;margin:0 0 20px}p{line-height:1.6}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:700;color:#228b80}.layout{display:grid;grid-template-columns:235px 1fr;min-height:100vh}aside{background:#102d43;color:#ccdae4;padding:32px 20px;display:flex;flex-direction:column}.brand{font-size:25px;font-weight:800;letter-spacing:1px;color:white}.brand span{color:#52c3ac}.subbrand{font-size:10px;letter-spacing:3px;margin-top:5px;color:#9bb2c4}nav{margin-top:52px;display:grid;gap:8px}nav button{text-align:left;color:#b8cbd9;background:transparent}nav button.active{background:#24465d;color:white}.sidebottom{margin-top:auto;font-size:12px;padding:30px 10px 0;line-height:1.8}header{background:white;border-bottom:1px solid #e3e8ef;padding:19px 38px;display:flex;justify-content:space-between;align-items:center}.account{display:flex;align-items:center;gap:15px}.avatar{background:#e0f2ed;color:#277a6d;padding:10px;border-radius:50%;font-weight:700}main{max-width:1260px;padding:38px;margin:auto}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.tag{border:1px solid #dbe3ec;border-radius:6px;padding:6px 9px;font-size:11px;color:#718097;background:white}.card{background:white;border:1px solid #e0e6ee;border-radius:13px;padding:26px;margin-bottom:24px;box-shadow:0 3px 8px #213d5503}.new{width:100%;min-height:155px;display:flex;align-items:center;text-align:left;gap:25px;border:1px dashed #7fb8b0;background:linear-gradient(110deg,#effaf7,white);color:#183c4e;padding:32px;margin-bottom:30px}.plus{font-size:46px;font-weight:300;background:white;border:1px solid #c9e5df;width:70px;height:70px;display:grid;place-items:center;border-radius:12px}.new strong{display:block;font-size:21px;margin-bottom:10px}.new .arrow{margin-left:auto;font-size:25px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.stat strong{display:block;font-size:38px;margin:17px 0 5px}.stat{border-top:3px solid #1c9b88}.stat.red{border-top-color:#d77565}.stat.amber{border-top-color:#d9a13f}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:11px;letter-spacing:.5px;color:#8390a0;background:#f8fafc}th,td{padding:15px 12px;border-bottom:1px solid #edf0f5}td{font-size:13px}.pill{padding:5px 9px;border-radius:5px;font-size:11px;background:#fff1dc;color:#96701c}.pill.cancel{background:#fcebe8;color:#b55344}.empty{text-align:center;padding:40px;color:#8a97a7}.tools{display:flex;gap:12px;margin-bottom:20px}.tools input{max-width:330px}.tools select{max-width:180px}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:20px;border-top:1px solid #e7ecf2}.notice{background:#edf5fa;border-radius:8px;padding:12px 16px;color:#536e81;font-size:12px;margin-bottom:22px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.hero{background:#102d43;color:white;padding:12%;display:flex;flex-direction:column;justify-content:center}.hero h1{font-size:46px;margin-top:65px;max-width:450px}.hero p{color:#a7bdce;max-width:400px}.loginform{display:grid;align-content:center;padding:12%;max-width:650px}.loginform input{margin-bottom:20px}.loginform button{width:100%}.error{color:#b83c35;font-size:13px}.chips{display:flex;flex-wrap:wrap;gap:10px}.chip{padding:9px 12px;background:#f0f4f8;border-radius:7px;display:flex;align-items:center;gap:10px}.chip button{padding:2px 6px;background:transparent;color:#8b5660}dialog{border:0;border-radius:16px;padding:30px;width:min(650px,92vw);box-shadow:0 20px 100px #102d4340}dialog::backdrop{background:#102d4370}.choice{display:block;width:100%;text-align:left;margin-top:15px;padding:23px;background:#f3f7fa;color:#25435a}.choice strong{font-size:18px;display:block;margin-bottom:8px}.toast{position:fixed;bottom:25px;right:25px;background:#133f35;color:white;padding:16px 23px;border-radius:10px;z-index:10} .full{grid-column:1/-1}@media(max-width:800px){.layout{grid-template-columns:1fr}aside{padding:18px}.subbrand,.sidebottom{display:none}nav{display:flex;margin-top:20px;overflow:auto}nav button{white-space:nowrap}header{padding:14px 20px}main{padding:24px 18px}.stats{grid-template-columns:1fr}.grid{grid-template-columns:1fr}.login{grid-template-columns:1fr}.hero{padding:30px}.hero h1{font-size:30px;margin-top:25px}.loginform{padding:30px;max-width:none}.intro{align-items:flex-start;gap:12px}.new{padding:22px;gap:15px}.new strong{font-size:18px}}

.hold-choice-title{display:flex!important;align-items:center;gap:12px}.pause-icon{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:38px;height:38px;flex-shrink:0;border-radius:50%;background:#fff1dc;border:1px solid #eed6a8;color:#9a6b18}.pause-icon>span{display:block;width:4px;height:15px;border-radius:2px;background:currentColor}.choice:has(.pause-icon){transition:background .15s,box-shadow .15s}.choice:has(.pause-icon):hover{background:#fff8ed;box-shadow:inset 0 0 0 1px #eed6a8}

.cancel-choice-title{display:flex!important;align-items:center;gap:12px}.cancel-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0;border-radius:50%;background:#fcebe8;border:1px solid #efc8c0;color:#b55344;font-size:25px;line-height:1;font-weight:400}.choice:has(.cancel-icon){transition:background .15s,box-shadow .15s}.choice:has(.cancel-icon):hover{background:#fff3f0;box-shadow:inset 0 0 0 1px #efc8c0}
.cancel-icon svg{display:block;flex-shrink:0}

/* Enkaya modern visual system */
:root{color:#23324d;background:#f0f3fa;font-family:Inter,"Segoe UI",sans-serif}body{background:radial-gradient(ellipse at 95% 0,#dfe8ff 0,transparent 40%),radial-gradient(ellipse at 35% 100%,#e0f3f2 0,transparent 40%),#f3f5fb}.layout{grid-template-columns:255px minmax(0,1fr)}.layout>section{min-width:0}aside{background:radial-gradient(ellipse at 0 0,#254963 0,transparent 50%),linear-gradient(155deg,#101e37,#11172d 70%);border-right:1px solid #ffffff12;padding:34px 22px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:4px;font-size:24px;letter-spacing:1px}.brand-mark{display:grid;place-items:center;width:36px;height:40px;margin-right:8px;background:linear-gradient(135deg,#48e4c9,#4494ed);border-radius:12px 4px 12px 4px;color:#102d43!important;font-size:23px;font-weight:900;box-shadow:0 6px 25px #30c8c52b}.subbrand{margin:12px 0 0 4px;font-size:9px;letter-spacing:2.7px}nav{gap:10px;margin-top:44px}nav button{display:flex;align-items:center;gap:12px;padding:15px 14px;border:1px solid transparent;border-radius:12px;font-size:13px;box-shadow:none}nav button.active{color:#86f6e2;border-color:#50cfc139;background:linear-gradient(100deg,#277e794d,#35507930);box-shadow:inset 3px 0 #60e0ca,0 6px 20px #00000010}nav button:hover{background:#ffffff0c;color:white}.ui-icon{flex-shrink:0;display:block}.sidebottom{border-top:1px solid #ffffff15;margin-top:auto;padding-top:22px;color:#98abc6}header{background:#ffffffb8;backdrop-filter:blur(18px);padding:20px 38px;border-bottom:1px solid #dde5f1}.avatar{background:linear-gradient(145deg,#e0dcff,#e4f7fa);color:#5551a4;box-shadow:0 0 0 4px #f2f3fb;width:42px;height:42px;display:grid;place-items:center}.account{font-size:13px}main{max-width:1400px;padding:38px}h1{font-size:30px;letter-spacing:-1px;line-height:1.2;font-weight:750}h2{letter-spacing:-.3px}.muted,small{color:#63738c}.eyebrow{color:#168578;font-size:10px;letter-spacing:2.5px}.tag{background:#eef0ff;color:#6560a1;border-color:#dddff6;border-radius:20px;padding:7px 12px;letter-spacing:1px}.notice{background:#e9eff98c;border:1px solid #dce5f3;color:#62718b;border-radius:12px;font-size:11px}.card{border:1px solid #e0e6f2;border-radius:20px;box-shadow:0 10px 32px #243e6506;background:#ffffffed;padding:28px}button{border-radius:10px;background:linear-gradient(135deg,#254b73,#385f92);box-shadow:0 4px 10px #29476d12;transition:background .18s,box-shadow .18s,transform .18s}button:hover{box-shadow:0 6px 18px #29476d22}button:active{transform:translateY(1px)}button.secondary{background:#edf1f9;color:#445879;box-shadow:none}button.secondary:hover{background:#e3eaf7}button.danger{background:#fff0ef;color:#b74454;box-shadow:none}.new{position:relative;overflow:hidden;min-height:172px;border:1px solid #375985;background:radial-gradient(ellipse at 90% 10%,#6d65bf55,transparent 55%),linear-gradient(115deg,#163149,#263e65);border-radius:20px;color:white;box-shadow:0 12px 28px #25395f1a}.new:after{content:"";position:absolute;right:70px;top:-75px;width:260px;height:260px;border:1px solid #ffffff10;border-radius:50%;box-shadow:0 0 0 35px #ffffff04,0 0 0 70px #ffffff03;pointer-events:none}.new .muted{color:#b4cbe0;font-weight:400}.new strong{font-size:23px}.plus{background:linear-gradient(140deg,#4be0c6,#339cae);border:1px solid #7ef2de66;color:#103c4b;border-radius:19px;box-shadow:0 6px 22px #36d5c42b;flex-shrink:0}.plus svg{width:33px;height:33px;stroke-width:2.5}.new .arrow{display:grid;place-items:center;width:42px;height:42px;background:#ffffff12;border:1px solid #ffffff1c;border-radius:50%;z-index:1}.stats{gap:22px}.stat{position:relative;overflow:hidden;border-top:1px solid #dfe7f3;background:linear-gradient(140deg,white,#f0f7ff)}.stat.red{border-top:1px solid #f2dee4;background:linear-gradient(140deg,white,#fff1f3)}.stat.amber{border-top:1px solid #f1e5cf;background:linear-gradient(140deg,white,#fff8ea)}.stat>span{display:block;font-size:13px;font-weight:600;padding-right:42px}.stat strong{font-size:44px;letter-spacing:-2px;font-variant-numeric:tabular-nums;color:#254f7e}.stat.red strong{color:#c05b70}.stat.amber strong{color:#ad7a26}.stat-icon{position:absolute;right:22px;top:23px;padding:11px;border-radius:13px;background:#deebff;color:#467ec2}.red .stat-icon{background:#ffe0e7;color:#c6586d}.amber .stat-icon{background:#ffedc4;color:#b48125}.tablewrap{border:1px solid #e9edf5;border-radius:12px}th{background:#f4f6fc;color:#647595;font-size:10px;padding:17px 14px}td{padding:17px 14px}tbody tr:hover{background:#f6f9ff}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:6px 10px;background:#fff0d1;color:#89611c}.pill:before{content:"";width:5px;height:5px;background:currentColor;border-radius:50%}.pill.cancel{background:#ffe6ec;color:#af4860}.tools{align-items:center}.tools input{background:#f8faff}.tools [role=group]{padding:4px;background:#f0f3f9;border-radius:12px}.tools [data-record-filter]{font-size:12px;padding:10px 13px}.tools [aria-pressed=true]{background:linear-gradient(135deg,#4274a8,#675d9c);color:white}.tools [aria-pressed=false]{background:transparent}.empty{padding:50px 20px;color:#7d8da5}input,select,textarea{border:1px solid #dce3ef;border-radius:10px;background:#fbfcff;padding:12px 13px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{outline:none;border-color:#568eaa;box-shadow:0 0 0 3px #4a98b21a;background:white}input[type=checkbox],input[type=radio]{accent-color:#288d9b}label{font-size:12px;color:#40516d}dialog{width:min(720px,94vw);max-height:90vh;overflow-y:auto;padding:34px;border:1px solid #e7eaf5;border-radius:24px;background:linear-gradient(145deg,#ffffff,#f8faff);box-shadow:0 35px 100px #0d1d4560}dialog::backdrop{background:#0d183a88;backdrop-filter:blur(6px)}dialog h1{font-size:28px}.choice{border:1px solid #e1e6f0;border-radius:16px;padding:22px;background:white;font-size:13px;box-shadow:0 5px 16px #243e6505}.choice strong{font-size:19px;margin-bottom:12px}.cancel-icon,.pause-icon{width:46px;height:46px;box-shadow:inset 0 2px 2px #ffffffaa,0 5px 10px #2236520c}.cancel-icon{background:linear-gradient(135deg,#fff0ee,#f9c8cd);border-color:#f1bfc5;color:#b94e5c}.pause-icon{background:linear-gradient(135deg,#fff7de,#f7db9e);border-color:#ecd095;color:#a47725}.pause-icon>span{width:5px;height:18px}.choice:has(.cancel-icon):hover{background:#fff5f6;border-color:#edb7c3;box-shadow:0 6px 18px #ba446414}.choice:has(.pause-icon):hover{background:#fffbf0;border-color:#e7cc95;box-shadow:0 6px 18px #b98c3214}.chip{border:1px solid #e1e6f1;background:#f5f7fc;border-radius:10px}.chip:has(input:checked){background:#e7f5f3;border-color:#8ac8bd}.actions{border-color:#e3e8f3;padding-top:23px}.toast{background:linear-gradient(130deg,#1d4960,#25776e);box-shadow:0 10px 40px #16385830;border:1px solid #ffffff30;border-radius:14px}.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 0 0,#255571 0,transparent 55%),radial-gradient(ellipse at 95% 90%,#49427b 0,transparent 50%),#101c33;padding:10%}.hero h1{font-size:46px;line-height:1.15;margin-top:50px;z-index:1}.hero>p{z-index:1}.loginform{padding:10%;max-width:700px}.loginform h1{font-size:32px}.loginform button{padding:15px;background:linear-gradient(110deg,#227a86,#4d659f)}.orbital{width:220px;height:160px;border:1px solid #71cfd32d;border-radius:50%;position:relative;margin:30px 0 10px 30px;transform:rotate(-15deg);background:radial-gradient(ellipse,#56b9c514,transparent 70%)}.orbital:before{content:"";position:absolute;inset:20px -20px;border:1px solid #9e99ea25;border-radius:50%;transform:rotate(60deg)}.orbit-center,.orbit-node{position:absolute;display:grid;place-items:center;transform:rotate(15deg);border:1px solid #a8dbe347;background:linear-gradient(140deg,#355c77,#24314f);box-shadow:0 8px 25px #00000020;border-radius:17px;color:#a6f1e2}.orbit-center{left:76px;top:47px;width:68px;height:68px}.orbit-center svg{width:32px;height:32px}.orbit-node{width:43px;height:43px;border-radius:12px}.node-a{left:-10px;top:35px}.node-b{right:5px;top:-5px;color:#c4b7ff}.node-c{right:15px;bottom:-5px;color:#a9d7ff}
@media(min-width:1500px){main{padding-top:48px}}@media(max-width:1050px){.layout{grid-template-columns:220px minmax(0,1fr)}aside{padding:26px 14px}main{padding:28px}.stats{gap:12px}.stat{padding:22px}.stat-icon{right:14px;padding:8px}.stat strong{font-size:38px}}@media(max-width:800px){.layout{grid-template-columns:1fr}aside{height:auto;position:static;padding:20px}nav{margin-top:22px;gap:6px}nav button{padding:12px;font-size:12px}nav .ui-icon{width:18px;height:18px}.brand{font-size:22px}header{padding:16px 20px}header>span{font-size:11px}.account{gap:10px}.account .avatar{display:none}main{padding:24px 16px}h1{font-size:26px}.stats{grid-template-columns:1fr}.new{padding:24px 20px;min-height:150px}.new strong{font-size:20px}.new .plus{width:54px;height:54px}.new .arrow{width:30px;height:30px;flex-shrink:0}.card{padding:20px;border-radius:16px}.intro{gap:12px}.hero{padding:32px}.hero h1{font-size:34px;margin-top:30px}.orbital{display:none}.loginform{padding:32px}.tools input{max-width:none}dialog{padding:25px 20px}.stat{padding:24px}.stat-icon{right:24px}.choice{padding:20px}.grid{gap:18px}}@media(prefers-reduced-motion:reduce){button,input,select,textarea{transition:none}}

/* Cancellation form: scoped red palette */
dialog:has(#record[data-record-type="cancel"]){background:linear-gradient(145deg,#fffafa,#fff1f2);border-color:#efc6ce;box-shadow:0 35px 100px #47162545}
dialog:has(#record[data-record-type="cancel"]) .eyebrow{color:#b23c53}
dialog:has(#record[data-record-type="cancel"]) h1{color:#802b3d}
#record[data-record-type="cancel"] label{color:#7a4050}
#record[data-record-type="cancel"] input,#record[data-record-type="cancel"] select,#record[data-record-type="cancel"] textarea{background:#fffdfd;border-color:#e9c8d0}
#record[data-record-type="cancel"] input:focus,#record[data-record-type="cancel"] select:focus,#record[data-record-type="cancel"] textarea:focus{border-color:#c8667c;box-shadow:0 0 0 3px #c8667c1c;background:white}
#record[data-record-type="cancel"] .actions{border-color:#eed0d7}
#record[data-record-type="cancel"] .actions button:not(.secondary){background:linear-gradient(135deg,#b6455e,#96334a);box-shadow:0 5px 14px #a2385425;color:white}
#record[data-record-type="cancel"] .actions button:not(.secondary):hover{background:linear-gradient(135deg,#a53b53,#83293e);box-shadow:0 7px 18px #a2385433}
#record[data-record-type="cancel"] .actions .secondary{background:#f5e6eb;color:#814557}

/* Hold form: scoped amber palette */
dialog:has(#record[data-record-type="hold"]){background:linear-gradient(145deg,#fffdf8,#fff6e4);border-color:#ead5a7;box-shadow:0 35px 100px #47351645}
dialog:has(#record[data-record-type="hold"]) .eyebrow{color:#946316}
dialog:has(#record[data-record-type="hold"]) h1{color:#75501b}
#record[data-record-type="hold"] label,#record[data-record-type="hold"] legend{color:#745626}
#record[data-record-type="hold"] input,#record[data-record-type="hold"] select,#record[data-record-type="hold"] textarea{background:#fffefa;border-color:#e6d5b1}
#record[data-record-type="hold"] input:focus,#record[data-record-type="hold"] select:focus,#record[data-record-type="hold"] textarea:focus{border-color:#b98b39;box-shadow:0 0 0 3px #b98b391c;background:white}
#record[data-record-type="hold"] input[type="radio"]{accent-color:#9a6b20!important}
#record[data-record-type="hold"] .actions{border-color:#ebd9b5}
#record[data-record-type="hold"] .actions button:not(.secondary){background:linear-gradient(135deg,#996719,#7c5112);box-shadow:0 5px 14px #9a6b2025;color:white}
#record[data-record-type="hold"] .actions button:not(.secondary):hover{background:linear-gradient(135deg,#855813,#68430c);box-shadow:0 7px 18px #9a6b2033}
#record[data-record-type="hold"] .actions .secondary{background:#f3e8d1;color:#765723}
.service-link{background:transparent;border:0;border-radius:0;padding:0;color:#254f7e;font-weight:700;box-shadow:none;text-align:left}.service-link:hover{background:transparent;box-shadow:none;color:#177c86;text-decoration:underline;text-underline-offset:3px}.service-link:active{transform:none}
.order-alert.due{background:#fff1f3;border:1px solid #efbec8;border-left:4px solid #c53d58;color:#8c263e}.order-alert.tomorrow{background:#fff9e5;border:1px solid #ecdaa1;border-left:4px solid #d4a020;color:#795a0b}.order-alert p{font-size:13px}.order-alert .order-alert-link{background:#ffe0e6;color:#8c263e;box-shadow:none;text-align:left;line-height:1.6}.order-alert.tomorrow .order-alert-link{background:#fff0ba;color:#795a0b}.order-alert .order-alert-link:hover{filter:brightness(.97)}
button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none;transform:none}
.directorate-avatar{padding:5px;background:linear-gradient(145deg,#e4ddff,#dbf1f5);color:#5b57a8;border:1px solid #d8ddf5}.directorate-avatar svg{display:block;flex-shrink:0}@media(max-width:800px){.account .directorate-avatar{display:grid;width:36px;height:36px}}

/* Sidebar live indicator */
.live-status{display:inline-flex;align-items:center;gap:9px;color:#65e6a3;font-weight:600;letter-spacing:.2px}
.live-dot{position:relative;display:inline-block;width:8px;height:8px;margin:0 3px;border-radius:50%;background:#42df8b;box-shadow:0 0 8px #42df8b66}
.live-dot::before,.live-dot::after{content:"";position:absolute;inset:-1px;border:1px solid #42df8b;border-radius:50%;animation:live-ripple 2.4s ease-out infinite;pointer-events:none}
.live-dot::after{animation-delay:1.2s}
@keyframes live-ripple{0%{transform:scale(1);opacity:.65}80%,100%{transform:scale(2.8);opacity:0}}
@media(prefers-reduced-motion:reduce){.live-dot::before,.live-dot::after{animation:none;opacity:.3;transform:scale(1.7)}.live-dot::after{display:none}}

/* Mobile layout: desktop styles remain unchanged above 800px. */
@media(max-width:800px){
 html{scroll-padding-top:16px}body{min-width:0}.layout{min-height:100dvh}
 .layout>aside{padding:16px 14px 8px;height:auto;position:static;min-width:0}
 nav{display:flex;gap:6px;margin-top:14px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
 nav button{flex:0 0 auto;min-height:44px;padding:12px;white-space:nowrap}
 header{padding:12px 16px;gap:10px;flex-wrap:wrap}header>span{display:none}
 .account{width:100%;min-width:0;gap:10px}.account>span:not(.avatar){flex:1;min-width:0;overflow-wrap:anywhere}.account button{flex-shrink:0;min-height:44px}
 main{width:100%;padding:22px 14px;min-width:0}.intro{flex-wrap:wrap;margin-bottom:20px}.intro>div{min-width:0}.intro h1{font-size:25px;overflow-wrap:anywhere}.intro>.tag{display:none}
 .card{padding:18px 16px;margin-bottom:18px;min-width:0}.grid{grid-template-columns:minmax(0,1fr);gap:18px}.grid>div,.grid>fieldset{min-width:0}.full{grid-column:1 / -1}
 input,select,textarea{font-size:16px;min-height:46px;max-width:100%}input[type=checkbox],input[type=radio]{min-height:0;flex-shrink:0}button{min-height:44px;touch-action:manipulation}label{line-height:1.5}
 .tools{flex-wrap:wrap;align-items:stretch;gap:10px}.tools>input,.tools>select{flex:1 1 100%;width:100%;max-width:none;min-width:0}.tools>button{flex:1 1 auto}
 .tools [role=group]{width:100%;gap:4px!important;display:flex;flex-wrap:wrap}.tools [data-record-filter]{flex:1 1 auto;padding:11px 8px}
 .new{padding:20px 16px;gap:14px;min-height:128px}.new>span:nth-child(2){min-width:0}.new strong{font-size:19px}.new .muted{font-size:12px;line-height:1.6;display:block}.new .arrow{display:none}.new .plus{width:48px;height:48px}
 .order-alert .order-alert-link{max-width:100%;white-space:normal;overflow-wrap:anywhere}.chips{gap:8px}.chip{max-width:100%;overflow-wrap:anywhere}
 dialog{width:calc(100% - 20px);max-width:720px;max-height:calc(100dvh - 24px);padding:24px 18px;border-radius:18px;overscroll-behavior:contain;scroll-padding-bottom:20px}
 dialog h1{font-size:25px}dialog .grid{grid-template-columns:minmax(0,1fr)}dialog .grid div{overflow-wrap:anywhere}dialog fieldset{min-width:0}
 .actions{flex-wrap:wrap;gap:10px;padding-top:18px;margin-top:20px}.actions>button{flex:1 1 140px;white-space:normal;line-height:1.4}
 .tablewrap:has(table.mobile-cards){border:0;overflow:visible;border-radius:0}
 table.mobile-cards,table.mobile-cards tbody{display:block;width:100%;white-space:normal}
 table.mobile-cards thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 table.mobile-cards tr{display:block;margin-bottom:14px;padding:8px 14px;border:1px solid #e0e6f2;border-radius:14px;background:#fff}
 table.mobile-cards td{display:grid;grid-template-columns:minmax(90px,35%) minmax(0,1fr);gap:4px 12px;padding:10px 0;font-size:13px;white-space:normal!important;overflow-wrap:anywhere;border-bottom:1px solid #edf0f5;align-items:start}
 table.mobile-cards td::before{content:attr(data-label);grid-column:1;grid-row:1 / span 3;color:#647595;font-size:10px;font-weight:600;letter-spacing:.3px;padding-top:3px}
 table.mobile-cards td>*{grid-column:2;min-width:0;max-width:100%}table.mobile-cards td>br{display:none}
 table.mobile-cards td:last-child{border-bottom:0}table.mobile-cards td[data-label=""]{display:flex;flex-wrap:wrap;gap:8px}table.mobile-cards td[data-label=""]::before{display:none}table.mobile-cards td[data-label=""]>button{flex:1}
 table.mobile-cards .service-link{min-height:32px;padding:2px 0;overflow-wrap:anywhere}
 .toast{left:14px;right:14px;bottom:calc(14px + env(safe-area-inset-bottom));max-width:none;width:auto;transform:none;text-align:center;overflow-wrap:anywhere}
 .login{min-height:100dvh;grid-template-columns:minmax(0,1fr);align-content:start}.hero{padding:24px}.hero h1{font-size:26px;margin:20px 0 10px}.hero>p{display:none}.hero .subbrand{display:block}.orbital{display:none}.loginform{padding:28px 24px 40px;max-width:none}.loginform h1{font-size:27px}
}
@media(max-width:380px){main{padding:18px 10px}.card{padding:16px 12px}.account{font-size:12px}.account .directorate-avatar{display:none}.new{gap:10px}.new strong{font-size:17px}.loginform{padding:24px 18px}table.mobile-cards td{grid-template-columns:85px minmax(0,1fr);gap:6px}}

@media(max-width:800px){table.mobile-cards .pill{justify-self:start}}
