/* Sproghuset — shared interface system */
:root{--teal:#075b97;--teal-dark:#074c80;--teal-darker:#0c2e47;--blue:#1769aa;--ink:#162c43;--muted:#718095;--border:#e4eaf1;--bg:#f5f7fb;--th:#f7f9fc;--row-alt:#fbfcfe;--green:#228267;--red:#c54c50;--yellow:#bb842c;--white:#fff;--radius:14px;--shadow:0 4px 22px #122d4810}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px;line-height:1.5;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{transition:background .16s,box-shadow .16s,transform .16s}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #77b8ed;outline-offset:3px}
input,select,textarea{padding:10px 12px;min-height:43px;border-radius:9px;color:var(--ink);border:1px solid #dbe3ed;background:#fff}input:focus,select:focus,textarea:focus{outline:3px solid #e4f0fa;border-color:#6da2cc}input[type=checkbox],input[type=radio]{min-height:0;accent-color:var(--teal);width:17px;height:17px;vertical-align:middle}input::placeholder,textarea::placeholder{color:#9aa5b3}textarea{resize:vertical}
h1{font-size:30px;font-weight:650;letter-spacing:-1px;line-height:1.25;margin-bottom:7px;color:#102d47}h2{font-size:21px;font-weight:650;letter-spacing:-.45px}h3{font-size:17px;font-weight:650}.sub{font-size:14px;line-height:1.65;margin-bottom:24px;color:var(--muted)}a{text-underline-offset:3px}.an-icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0;stroke-width:1.7}
.layout{min-height:100vh}.sidebar{width:242px;height:100vh;background:#fff;color:var(--ink);border-right:1px solid var(--border);z-index:50;position:sticky;top:0;flex-shrink:0}.sidebar .logo{padding:31px 26px 25px!important;border:0;display:block!important}.sidebar .logo>div{padding:0!important;background:none!important}.an-brand{display:flex;flex-direction:column;gap:12px;text-decoration:none}.an-brand img{width:177px;height:auto}.an-brand span{font-size:10px;font-weight:650;letter-spacing:2.7px;color:#91a0af;padding-left:5px}.nav{padding:12px 16px;overflow:auto}.nav button{font-size:14px;line-height:22px;border:0;border-radius:9px;color:#627286;padding:11px 14px;gap:13px;margin:4px 0;letter-spacing:0}.nav button.active{background:#eaf2fa;color:#075b97;font-weight:650;border:0}.nav button:hover{background:#f2f6fa;color:#134a72}.nav .icon{width:21px;opacity:1;color:inherit;font-size:0;display:flex}.an-nav-label{font-size:10px;font-weight:700;letter-spacing:1.55px;color:#98a4b3;padding:10px 14px 7px}.an-nav-separator{height:1px;background:var(--border);margin:17px 9px}.sidebar .foot{padding:18px 22px;margin-top:auto;border-top:1px solid var(--border);font-size:12px;opacity:1;color:#8b99a8}.an-help{display:flex;align-items:center;gap:10px;color:#708198;text-decoration:none;margin-bottom:13px;font-size:13px}.an-help .an-icon{width:17px}.an-side-caption{font-size:10px;letter-spacing:.3px}.an-test-label{display:inline-block;background:#eef4fb;color:#4d7196;border-radius:5px;font-size:10px;letter-spacing:.6px;padding:3px 6px;margin-left:5px}
.topbar{height:76px;padding:0 36px;gap:20px;box-shadow:none;border-color:var(--border);background:#ffffffef;backdrop-filter:blur(12px);z-index:40}.an-breadcrumb{display:flex;align-items:center;gap:13px;font-size:13px;color:#8a96a6;white-space:nowrap}.an-breadcrumb strong{font-weight:500;color:#425871}.an-breadcrumb .an-icon{width:14px;color:#a9b4c2}.toggle-wrap{font-size:12px;gap:8px;color:#76889b}.toggle-wrap .badge{display:none}.switch{width:33px;height:19px;background:#d4dde7}.switch.on{background:#2c806d}.switch::after{width:13px;height:13px;top:3px;left:3px}.switch.on::after{left:17px}.userinfo{display:flex;align-items:center;gap:11px;white-space:nowrap;margin-left:0}.an-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#edf3f9;color:#365d83;font-size:12px;font-weight:700;flex-shrink:0}.an-user-text b{display:block;font-size:13px;font-weight:600}.an-user-text small{font-size:11px;color:#8c99a8}.logout-btn{border:0;background:none;padding:8px;color:#8a98a9;font-size:0}.logout-btn:hover{background:#eff4f8}.logout-btn .an-icon{width:18px}.content{padding:34px 38px 52px;max-width:1600px;width:100%;margin:0 auto}.hamb{border-color:var(--border);padding:5px 9px}
.btn{background:var(--teal);color:white;border:1px solid transparent;font-size:14px;font-weight:600;padding:10px 17px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;line-height:20px;box-shadow:0 3px 7px #075b9710}.btn:hover{background:#064b80;box-shadow:0 4px 10px #075b9720}.btn.sec{box-shadow:none;background:#fff;border-color:#dfe6ef;color:#52677e}.btn.sec:hover{background:#f2f6fa;border-color:#b8cde0}.btn.sm{min-height:33px;font-size:12px;padding:5px 11px;border-radius:7px}.btn.danger{background:#c84d52}.btnrow{gap:10px;margin:18px 0}.iconbtn{width:32px;min-height:32px;font-size:15px;border:1px solid transparent;display:inline-grid;place-items:center;color:#7c8ca0}.iconbtn:hover{background:#edf4fb;color:var(--teal);border-color:#dfeaf5}.an-text-btn{border:0;background:none;color:var(--teal);font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:6px;cursor:pointer;padding:4px 0}.an-text-btn .an-icon{width:15px}
.tablewrap{border:1px solid var(--border);border-radius:12px;box-shadow:0 2px 7px #18385603;overflow-x:auto}table{font-size:13px;min-width:650px}th{color:#8190a3;background:#f8fafc;font-weight:600;padding:13px 15px;font-size:11px;text-transform:uppercase;letter-spacing:.6px;border-bottom:1px solid var(--border)}td{padding:14px 15px;border-bottom:1px solid #edf1f6;line-height:1.5}tbody tr:nth-child(even){background:inherit}tbody tr:hover{background:#f8fbff}tbody tr:last-child td{border-bottom:0}td b{font-weight:600}tfoot td{background:#f3f7fc}.empty{padding:38px 20px;font-size:14px;color:#8b98a9}.exp-inner{padding:20px}.exp-row td{background:#f5f9fe!important}.badge{border-radius:5px;white-space:nowrap;font-size:10px;font-weight:600;padding:4px 7px;letter-spacing:.1px;line-height:1.5}.b-gray{background:#eef1f5;color:#748498}.b-yellow{background:#fff3dc;color:#a7792e}.b-blue{background:#eaf2ff;color:#4e75aa}.b-teal{background:#e9f2fa;color:#386e96}.b-green{background:#e7f5ee;color:#3e826b}.b-red{background:#fdecef;color:#bd666e}.dot{width:7px;height:7px}.dot.g{background:#4a9a78}.dot.r{background:#d67a77}
.filterbox{background:white;border:1px solid var(--border);border-radius:12px;padding:18px;gap:12px;margin:18px 0}.ff{gap:6px}.ff label,.fgrid label{font-size:12px;text-transform:none;letter-spacing:0;font-weight:600;color:#596d84}.ff input,.ff select{min-width:140px}.filterbox .ff:first-child{flex:1}.subtabs{gap:20px;border-bottom:1px solid var(--border);margin-bottom:20px}.subtabs button{font-size:14px;padding:12px 4px}.subtabs button.active{color:var(--teal);font-weight:650;border-bottom-width:2px}.pager{padding:17px 0;font-size:12px;color:#8c98a7;gap:6px}.pager button{border:1px solid var(--border);border-radius:7px;background:#fff;min-width:30px;height:30px}.pager button.cur{background:#edf3fa;color:var(--teal);border-color:#cbdcec}.statline{color:#6c7f95;font-size:13px}.statline b{color:#254968}.cards{grid-template-columns:repeat(3,1fr);gap:18px}.card{background:#fff!important;border:1px solid var(--border);color:var(--ink);border-radius:12px;padding:22px;gap:8px;box-shadow:0 2px 8px #15314903}.card .num{font-size:31px;color:#16496e;letter-spacing:-1px}.card .lbl{font-size:12px;font-weight:500;color:#8190a2}.card a{color:var(--teal);font-size:12px;text-decoration:none}.card.yellow .num{color:#ad8039}.card.green .num{color:#418b70}
.overlay{background:#10263b66;backdrop-filter:blur(3px);padding:24px;z-index:300;overflow-y:auto;align-items:flex-start}.modal{border:1px solid #ffffff80;border-radius:16px;box-shadow:0 24px 90px #0c24313d;margin:auto;max-height:calc(100dvh - 48px);display:flex;flex-direction:column}.modal.wide{max-width:1010px}.mhead{padding:23px 26px;border-bottom:1px solid var(--border);gap:12px;background:#fff;border-radius:16px 16px 0 0}.mhead h2{font-size:20px;line-height:1.35}.mbody{padding:25px 26px;max-height:none;overflow-y:auto}.mfoot{padding:18px 26px;background:#f9fbfd;border-top:1px solid var(--border);border-radius:0 0 16px 16px;gap:9px;flex-shrink:0}.fgrid{gap:18px 20px}.fgrid>div>label{display:block;margin-bottom:6px}.fgrid input,.fgrid select,.fgrid textarea{width:100%}fieldset{border:1px solid var(--border);border-radius:11px;padding:18px;margin-bottom:18px}legend{padding:0 7px;font-size:13px;font-weight:600;color:#476581}.kv{font-size:13px;gap:9px 17px}.kv dt{color:#8a97a8;font-weight:500}.warn{background:#fff7e7;color:#9d762a;border:1px solid #f2e4bf;border-radius:8px;padding:12px 15px;font-size:13px;line-height:1.6;margin-bottom:16px}.okmsg{border-radius:8px;background:#eef8f2;color:#39795c;border:1px solid #d8ebdf;padding:12px 15px;font-size:13px;margin-bottom:16px}.toast{border-radius:11px;background:#163652;color:#fff;padding:15px 20px;font-size:14px;max-width:min(420px,90vw);box-shadow:0 10px 35px #15344b30;z-index:600;line-height:1.5}.loghist{font-size:12px;border-color:var(--border);background:#f8fafc;padding:14px}.loghist div{border-bottom:1px solid #e8edf3;padding:6px 0}
.an-page-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 27px}.an-page-head h1{margin-bottom:6px;font-size:32px}.an-page-head p{margin:0;font-size:13px;color:#8b98a8}.an-head-actions{display:flex;gap:10px;align-items:center}.an-date{background:#fff;border:1px solid var(--border);border-radius:9px;padding:10px 13px;display:flex;align-items:center;gap:9px;font-size:12px;color:#718297}.an-date .an-icon{width:16px}.an-greeting{font-size:11px;font-weight:600;color:#8b9aae;letter-spacing:1.25px;text-transform:uppercase;margin-bottom:8px}.an-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:28px}.an-stat{border:1px solid var(--border);border-radius:12px;background:#fff;padding:21px 22px;position:relative;overflow:hidden;box-shadow:0 2px 8px #102b4103}.an-stat-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:12px;color:#7d8a9c}.an-stat-icon{width:33px;height:33px;border-radius:9px;display:grid;place-items:center;background:#edf4fb;color:#6794bb}.an-stat-icon .an-icon{width:17px}.an-stat-num{font-size:33px;font-weight:600;letter-spacing:-1px;line-height:1.2;margin:4px 0 8px;color:#193b58}.an-stat-foot{font-size:11px;color:#8b99aa;display:flex;align-items:center;gap:5px}.an-stat-foot strong{font-weight:500;color:#5f927e}.an-stat.attention .an-stat-icon{background:#fff6e7;color:#c49a58}.an-stat.success .an-stat-icon{background:#edf7f0;color:#72a38a}
.an-overview-grid{display:grid;grid-template-columns:minmax(0,1fr) 306px;gap:24px;align-items:start}.an-panel{background:#fff;border:1px solid var(--border);border-radius:13px;overflow:hidden;margin-bottom:22px}.an-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 23px;border-bottom:1px solid #edf1f6}.an-panel-head h2{font-size:16px;font-weight:600;letter-spacing:-.2px;margin:0}.an-panel-head p{font-size:11px;color:#9aa6b5;margin-top:3px}.an-panel table{min-width:540px}.an-panel .tablewrap{border:0;border-radius:0}.an-panel td{padding:16px 20px}.an-cell-secondary{font-size:11px;color:#97a3b2;margin-top:3px}.an-order-id{font-size:11px;color:#5a86ad;font-weight:500}.an-person{display:flex;align-items:center;gap:9px}.an-small-avatar{width:28px;height:28px;border-radius:50%;background:#eef2f7;color:#7c8fa3;display:grid;place-items:center;font-size:9px;font-weight:650}.an-time{font-size:13px;font-weight:600;color:#425c76;white-space:nowrap}.an-clickable-row{cursor:pointer}.an-clickable-row:focus{outline:2px solid var(--teal);outline-offset:-2px}.an-date-divider td{font-size:11px;font-weight:600;color:#8d9cae;background:#fafbfd;padding:9px 20px;border-bottom:1px solid #edf1f6}.an-panel-footer{padding:14px 22px;background:#fcfdff;display:flex;justify-content:space-between;font-size:11px;color:#97a4b5;border-top:1px solid #edf1f6}.an-task{display:flex;align-items:flex-start;gap:13px;padding:16px 21px;border-bottom:1px solid #f0f3f7;text-decoration:none;background:white;width:100%;text-align:left;cursor:pointer;border-left:0;border-right:0;border-top:0}.an-task:last-child{border-bottom:0}.an-task:hover{background:#fafcff}.an-task-icon{width:33px;height:33px;background:#fff6e7;color:#be975b;display:grid;place-items:center;border-radius:9px;flex-shrink:0}.an-task-icon.blue{background:#edf4fb;color:#6c93b4}.an-task strong{font-size:12px;display:block;font-weight:600;color:#4a6178}.an-task small{display:block;font-size:11px;color:#91a0b1;line-height:1.5;margin-top:4px}.an-task .an-icon{width:17px}.an-task-count{margin-left:auto;font-size:11px;color:#a98a56;background:#fff7e9;padding:1px 6px;border-radius:5px}.an-quick-actions{display:grid;gap:9px;padding:17px 21px}.an-quick-actions .btn{justify-content:flex-start;background:#fff;border-color:#e7edf4;color:#6c8097;font-size:12px;font-weight:500;min-height:42px}.an-quick-actions .btn:hover{background:#f5f9fd}.an-quick-actions .an-icon{color:#7c9aba;width:17px}.an-activity{padding:3px 22px 15px}.an-activity-item{display:flex;gap:12px;align-items:flex-start;padding:13px 0}.an-activity-dot{width:7px;height:7px;border-radius:50%;background:#8faecd;margin-top:6px;flex-shrink:0}.an-activity-item strong{font-size:12px;font-weight:500;color:#6d8094;display:block}.an-activity-item small{font-size:10px;color:#a1adba}.an-support-card{background:#eff5fb;border:1px solid #dfebf7;border-radius:12px;padding:20px 22px;color:#6a87a3}.an-support-card h3{font-size:14px;color:#395f81;margin:0 0 7px}.an-support-card p{font-size:12px;line-height:1.7;margin-bottom:10px}.an-overview-footer{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#a3afbd;margin-top:15px;letter-spacing:.1px}.an-live-dot{display:inline-block;width:6px;height:6px;background:#70a58f;border-radius:50%;margin-right:6px}.an-map-toggle{border:1px solid var(--border);border-radius:12px;padding:16px 20px;background:#fff;color:#7589a0;font-size:13px;display:flex;gap:10px;align-items:center;width:100%;text-align:left;margin-top:8px}.an-map-toggle:hover{background:#fafdff}.an-map-toggle .an-icon{width:18px}.dashgrid{gap:22px}.dashcard{border-radius:12px;padding:23px;border-color:var(--border)}.dashcard .n{font-weight:600}.dashcard .l{font-weight:500;font-size:12px}.dashside{border-radius:12px;border-color:var(--border);padding:22px}.leg{font-size:12px}#map{height:440px;border-color:var(--border);border-radius:12px}
.an-login{min-height:100dvh;display:grid;grid-template-columns:1.04fr 1fr;background:#fff}.an-login-story{padding:42px clamp(32px,6vw,100px);background:#f3f7fb;display:flex;flex-direction:column;position:relative;overflow:hidden;border-right:1px solid var(--border)}.an-login-story:after{content:'';position:absolute;right:-160px;bottom:70px;width:450px;height:450px;border:1px solid #d9e5f0;border-radius:50%;box-shadow:0 0 0 75px #eaf1f850,0 0 0 150px #edf3f850;pointer-events:none}.an-login-logo{width:210px;max-width:80%;height:auto}.an-login-message{margin:auto 0;position:relative;z-index:1;padding:60px 0;max-width:460px}.an-login-message .an-eyebrow{font-size:11px;letter-spacing:1.8px;color:#7490aa;font-weight:600;margin-bottom:25px}.an-login-message h1{font-size:clamp(36px,4.1vw,57px);line-height:1.13;letter-spacing:-2.6px;color:#193b59;font-weight:600}.an-login-message h1 span{color:#487ca9;display:block}.an-login-message p{font-size:16px;color:#7e91a4;line-height:1.75;max-width:370px;margin-top:25px}.an-login-note{display:flex;gap:11px;align-items:center;font-size:11px;color:#91a3b5}.an-login-note .an-icon{width:16px}.an-login-main{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:50px 32px;position:relative}.an-login-form{width:100%;max-width:365px}.an-login-form h2{font-size:27px;letter-spacing:-.8px;margin:0 0 9px;color:#213f59}.an-login-form .sub{font-size:13px;margin-bottom:31px}.an-login-form .ff{margin-bottom:20px}.an-login-form .ff label{font-size:12px;color:#6c8195}.an-login-form .ff input{height:47px;border-color:#dce5ed}.an-login-form .btn{width:100%;height:47px;margin-top:6px}.an-login-register{font-size:12px;text-align:center;margin-top:25px;color:#91a0b2}.an-login-register a{color:#47769f;font-weight:600}.an-login-footer{position:absolute;bottom:23px;font-size:11px;color:#b0bbc8}.an-login-mobile-brand{display:none}.an-test-accounts{margin-top:30px;padding:17px 18px;border:1px dashed #d9e5f0;background:#f9fbfd;border-radius:10px;font-size:11px;color:#7c91a6}.an-test-accounts strong{font-size:11px;font-weight:600;display:block;color:#607c98;margin-bottom:5px}.an-test-buttons{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.an-test-buttons button{font-size:10px;border:1px solid #dbe6ef;background:#fff;color:#61809c;border-radius:5px;padding:5px 8px}.an-test-buttons button:hover{background:#edf4fa}.loginpage{background:#f0f5fa;padding:30px}.loginbox{box-shadow:var(--shadow);border:1px solid var(--border);border-radius:15px;max-width:460px;padding:35px}.loginbox h1{font-size:23px}.loginbox .ff{margin-bottom:17px}
@media(min-width:1600px){.content{padding-top:43px}.an-overview-grid{grid-template-columns:minmax(0,1fr) 340px}.an-panel td{padding-top:20px;padding-bottom:20px}}
@media(max-width:1190px){.sidebar{width:213px}.sidebar .logo{padding-left:22px!important;padding-right:22px!important}.an-brand img{width:162px}.topbar{padding:0 24px}.content{padding:28px 25px}.an-overview-grid{grid-template-columns:minmax(0,1fr) 270px;gap:18px}.an-stats{gap:12px}.an-stat{padding:17px}.an-date{display:none}.an-breadcrumb{display:none}.nav{padding:8px 12px}.an-panel td{padding-left:15px;padding-right:15px}.an-panel-head{padding:18px}.an-page-head h1{font-size:29px}}
@media(max-width:1000px){.an-overview-grid{grid-template-columns:minmax(0,1fr)}.an-overview-aside{display:grid;grid-template-columns:1fr 1fr;gap:18px}.an-overview-aside .an-panel{margin:0}.an-support-card{display:none}.an-stats{grid-template-columns:repeat(2,1fr)}.an-stat{padding:20px}.an-user-text{display:none}.an-login-story{padding:35px}.an-login-message h1{font-size:43px}}
@media(min-width:761px) and (max-width:860px){.sidebar{width:205px}.sidebar .logo{padding:28px 20px!important}.nav button span.txt{display:inline}.nav button{justify-content:flex-start;padding:11px 12px}.sidebar .foot{display:block}.userinfo{display:flex}.fgrid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.layout{display:block}.sidebar{position:fixed;left:-270px;top:0;width:244px;height:100dvh;transition:left .2s;z-index:200}.sb-open .sidebar{left:0}.sb-open #sbBackdrop{display:block}.sidebar .logo{padding:29px 23px 20px!important}.nav button span.txt{display:inline}.nav button{justify-content:flex-start}.sidebar .foot{display:block}.hamb{display:inline-flex}.topbar{padding:0 18px;height:64px;gap:14px}.an-breadcrumb{display:flex;font-size:12px}.an-breadcrumb>span{display:none}.an-breadcrumb .an-icon{display:none}.topbar .toggle-wrap{margin-left:auto;font-size:0}.topbar .toggle-wrap .switch{font-size:14px}.topbar .spacer{display:none}.userinfo{display:flex;margin-left:auto}.logout-btn{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:40px;padding:8px}.an-user-text{display:none}.content{padding:26px 19px 40px}.an-page-head{align-items:flex-start;margin-bottom:24px}.an-page-head h1{font-size:27px}.an-head-actions .btn{font-size:0;padding:11px;width:43px}.an-head-actions .btn .an-icon{width:21px}.an-greeting{font-size:10px}.an-stats{gap:12px;margin-bottom:23px}.an-stat{padding:15px}.an-stat-num{font-size:28px}.an-stat-top{font-size:11px;gap:5px}.an-stat-icon{width:27px;height:27px}.an-stat-foot{font-size:10px}.an-panel-head{padding:18px}.an-panel-head h2{font-size:15px}.an-overview-aside{grid-template-columns:1fr;gap:16px}.an-overview-footer{font-size:9px}.an-overview-footer>span:last-child{display:none}.cards{grid-template-columns:1fr}.card{padding:18px}.an-panel .tablewrap{border-radius:0}.filterbox{padding:14px}.filterbox>.ff{width:100%;flex:auto}.fgrid{grid-template-columns:1fr}.overlay{padding:10px}.modal,.modal.wide{max-width:100%;min-height:0;max-height:calc(100dvh - 20px);border-radius:13px}.mhead{padding:18px;border-radius:13px 13px 0 0}.mbody{padding:18px}.mfoot{padding:14px 18px;border-radius:0 0 13px 13px;flex-wrap:wrap}.mfoot .btn{flex:1}.fgrid{gap:15px}input,select,textarea{font-size:16px}.subtabs{gap:16px;white-space:nowrap;overflow:auto}.subtabs button{font-size:13px;flex-shrink:0}.kv{grid-template-columns:1fr}.an-login{display:block}.an-login-story{display:none}.an-login-main{min-height:100dvh;padding:35px 28px 80px;justify-content:center;background:linear-gradient(180deg,#f4f8fc,#fff 35%)}.an-login-mobile-brand{display:block;width:180px;margin:0 auto 44px}.an-login-form h2{font-size:27px}.an-login-form .ff input{font-size:16px}.an-login-footer{bottom:22px}.loginpage{padding:20px}.loginbox{padding:26px 22px}.dashcards{grid-template-columns:repeat(2,1fr)}.dashcard{padding:16px}.dashcard .n{font-size:26px}#map{height:330px}.an-panel-footer{font-size:10px}.an-task strong{font-size:13px}.an-task small{font-size:12px}.toast{left:18px;right:18px;bottom:18px;max-width:none;font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.sidebar,.topbar,.btnrow,.an-head-actions,.an-overview-footer{display:none!important}.content{padding:0;max-width:none}.an-panel{break-inside:avoid}.an-overview-grid{display:block}}

/* Readable secondary text and comfortably sized touch targets. */
.an-user-text small,.an-cell-secondary,.an-stat-foot,.an-panel-footer,.an-overview-footer,.kv dt,.sub{color:#617287}.an-greeting,.an-stat-foot{font-size:12px}.an-order-id{color:#62758b}.an-clickable-row:focus-visible{outline:3px solid #77b8ed;outline-offset:-3px}.hamb{min-height:40px;min-width:40px}.an-head-actions .btn{white-space:nowrap}
@media(max-width:760px){.topbar{gap:9px;padding:0 14px}.an-stat-foot,.an-panel-footer,.an-overview-footer{font-size:11px}.an-stat-top{font-size:12px}.an-greeting{font-size:11px}.topbar .toggle-wrap{display:flex;margin-left:auto}.topbar .userinfo{margin-left:auto}.an-breadcrumb strong{max-width:125px;overflow:hidden;text-overflow:ellipsis}.hamb{order:-1}}

@media(max-width:760px){#content:has(#f-q)>.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#content:has(#f-q)>.cards .card{padding:14px 10px}#content:has(#f-q)>.cards .card .n{font-size:26px}#content:has(#f-q)>.cards .card a{font-size:11px}.filterbox:has(#f-q){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.filterbox:has(#f-q)>.ff{width:auto;min-width:0}.filterbox:has(#f-q)>.ff:first-child{grid-column:1/-1}.filterbox:has(#f-q) input,.filterbox:has(#f-q) select{width:100%;min-width:0}}

@media(max-width:760px){.sidebar{visibility:hidden}.sb-open .sidebar{visibility:visible}}

.an-overview-grid>div,.an-overview-grid>aside,.an-panel,.an-panel .tablewrap{min-width:0;max-width:100%}.an-panel-head h2{overflow-wrap:anywhere}

/* Status is visible across the whole card, and the whole surface is a button. */
.an-status-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.an-status-grid.has-urgent{grid-template-columns:repeat(4,minmax(0,1fr))}
.an-status-card{--status-bg:#075b97;--status-hover:#064c80;--status-ink:#fff;display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:190px;width:100%;padding:22px;text-align:left;font:inherit;color:var(--status-ink);background:var(--status-bg);border:1px solid transparent;border-radius:13px;cursor:pointer;box-shadow:0 5px 13px #16334d14;isolation:isolate}
.an-status-card.an-status-blue{--status-bg:#075b97;--status-hover:#064c80}.an-status-card.an-status-yellow{--status-bg:#f4bf3c;--status-hover:#e6ad24;--status-ink:#352600}.an-status-card.an-status-green{--status-bg:#08724f;--status-hover:#075c41}.an-status-card.an-status-red{--status-bg:#bb2639;--status-hover:#a11e30}
.an-status-card:hover{background:var(--status-hover);box-shadow:0 8px 20px #16334d25;transform:translateY(-2px)}.an-status-card:active{transform:translateY(0)}.an-status-card:focus-visible{outline:3px solid #122d47;outline-offset:4px;box-shadow:0 0 0 3px #fff}
.an-status-card .an-stat-top{align-items:flex-start;gap:10px;margin-bottom:12px;color:inherit;font-size:14px;font-weight:650;line-height:1.4}.an-status-card .an-stat-top>span:first-child{overflow-wrap:break-word}.an-status-card .an-stat-icon{flex-shrink:0;width:34px;height:34px;background:#ffffff24;color:inherit;border-radius:9px}.an-status-card.an-status-yellow .an-stat-icon{background:#35260013}.an-status-card .an-stat-icon .an-icon{width:19px;height:19px}
.an-status-card .an-stat-num{display:block;margin:0 0 8px;color:inherit;font-size:43px;line-height:1.1;font-weight:750;letter-spacing:-1.4px}.an-status-card .an-stat-foot{display:block;margin-bottom:17px;color:inherit;font-size:12px;line-height:1.5}.an-status-action{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:12px;border-top:1px solid #ffffff55;color:inherit;font-size:12px;font-weight:650}.an-status-card.an-status-yellow .an-status-action{border-top-color:#35260035}.an-status-action .an-icon{width:18px;height:18px;transition:transform .16s}.an-status-card:hover .an-status-action .an-icon{transform:translateX(3px)}
@media(max-width:1100px){.an-status-grid.has-urgent{grid-template-columns:repeat(2,minmax(0,1fr))}.an-status-card{padding:20px}.an-status-card .an-stat-top{font-size:13px}}
@media(max-width:760px){.an-status-grid,.an-status-grid.has-urgent{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.an-status-grid:not(.has-urgent)>.an-status-card:last-child{grid-column:1/-1}.an-status-card{min-height:182px;padding:17px}.an-status-card .an-stat-num{font-size:37px}.an-status-card .an-stat-top{font-size:13px}.an-status-card .an-stat-foot,.an-status-action{font-size:12px}.an-status-card .an-stat-icon{width:29px;height:29px}.an-status-card .an-stat-icon .an-icon{width:17px;height:17px}}
@media(max-width:390px){.an-status-card{padding:15px;min-height:185px}.an-status-card .an-stat-top{gap:6px}.an-status-card .an-stat-icon{width:24px;height:26px}.an-status-card .an-stat-top>span:first-child{font-size:12px}}
@media(forced-colors:active){.an-status-card{border:2px solid ButtonText}.an-status-card:focus-visible{outline-color:Highlight}}
