:root{--ink:#181a1f;--muted:#6f737b;--line:#e4e5e8;--paper:#f5f6f8;--panel:#fff;--nav:#111318;--blue:#e31e24;--blue2:#bd171d;--green:#168455;--red:#c8171e;--orange:#b86a1e;--shadow:0 14px 40px rgba(17,19,24,.08)}
*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}body{margin:0;font-size:14px}.hidden{display:none!important}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin:0}h1{font-size:23px;letter-spacing:-.4px}h2{font-size:22px;letter-spacing:-.4px}h3{font-size:16px}.eyebrow{font-size:9px;font-weight:800;letter-spacing:1.5px;color:#8793a8}.lead{color:var(--muted);line-height:1.55}.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none}.brand-mark{width:38px;height:38px;border-radius:11px;background:linear-gradient(145deg,#4b7fff,#315dd1);display:flex;align-items:flex-end;justify-content:center;gap:3px;padding:10px;box-shadow:0 8px 20px rgba(61,113,242,.28)}.brand-mark i{display:block;width:4px;border-radius:4px;background:#fff}.brand-mark i:nth-child(1){height:10px}.brand-mark i:nth-child(2){height:18px}.brand-mark i:nth-child(3){height:14px}.brand strong{display:block;letter-spacing:2px;font-size:16px}.brand small{display:block;color:#8ea0bd;font-size:8px;letter-spacing:2.6px;margin-top:2px}.brand.large{color:var(--ink);margin-bottom:35px}.brand.large small{color:#7c8aa1}.auth-view{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 15%,#e8efff,transparent 30%),radial-gradient(circle at 90% 80%,#e8f8f2,transparent 28%),var(--paper)}.auth-card{width:min(460px,100%);background:#fff;border:1px solid var(--line);border-radius:20px;padding:38px;box-shadow:0 26px 80px rgba(24,39,75,.12)}.auth-card h1{font-size:28px;margin:8px 0 10px}.auth-card>.lead{margin-bottom:24px}.stack-form,.form-grid{display:grid;gap:15px}.stack-form label,.form-grid label{display:grid;gap:7px;font-size:11px;color:#556278;font-weight:700}.stack-form input,.form-grid input,.form-grid textarea,.toolbar input,.toolbar select,.dialog textarea{width:100%;border:1px solid #dce3ed;background:#fff;border-radius:10px;padding:11px 12px;color:var(--ink);outline:0}.stack-form input:focus,.form-grid input:focus,.form-grid textarea:focus,.toolbar input:focus{border-color:#7b9af3;box-shadow:0 0 0 3px #edf2ff}.button{border:1px solid transparent;border-radius:9px;padding:10px 14px;font-weight:750;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.button.primary{background:linear-gradient(135deg,var(--blue2),var(--blue));color:#fff;box-shadow:0 7px 18px rgba(61,113,242,.2)}.button.ghost{background:#fff;border-color:#dce3ed;color:#536179}.button.danger{background:#fff0f2;border-color:#ffd5dc;color:var(--red)}.button.wide{width:100%}.secure-note{display:flex;gap:10px;margin-top:22px;padding:13px;background:#f2f8f5;border-radius:11px;color:var(--green)}.secure-note>span{font-weight:900}.secure-note strong,.secure-note small{display:block}.secure-note small{color:#6f8079;margin-top:3px;line-height:1.4}.form-error{background:#fff0f2;border:1px solid #ffd4db;color:#a72e40;padding:10px 12px;border-radius:9px;font-size:11px}.text-link{color:var(--blue);font-weight:750;text-decoration:none}.centered{display:block;text-align:center;margin-top:18px}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:260px;background:linear-gradient(180deg,var(--nav),#101827);color:#fff;padding:29px 18px 20px;display:flex;flex-direction:column;z-index:20}.sidebar>.brand{padding:0 9px 31px}.nav-caption{font-size:9px;color:#6f829f;letter-spacing:1.6px;margin:8px 13px 10px}.main-nav{display:grid;gap:6px}.nav-link{width:100%;border:0;background:transparent;color:#9eabc0;border-radius:10px;padding:12px 13px;display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:10px;text-align:left}.nav-link b{font-weight:600}.nav-link i{font-style:normal;font-size:10px;background:rgba(255,255,255,.08);padding:3px 7px;border-radius:15px}.nav-link:hover{background:rgba(255,255,255,.05);color:#fff}.nav-link.active{background:linear-gradient(90deg,#315fd3,#3d71f2);color:#fff;box-shadow:0 8px 18px rgba(36,77,179,.24)}.sidebar-status{margin-top:auto;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);border-radius:12px;padding:13px;display:flex;align-items:center;gap:10px}.status-dot{width:9px;height:9px;border-radius:50%;background:#27bf79;box-shadow:0 0 0 5px rgba(39,191,121,.1)}.sidebar-status strong,.sidebar-status small,.sidebar-foot strong,.sidebar-foot small{display:block}.sidebar-status strong{font-size:11px}.sidebar-status small,.sidebar-foot small{color:#72839c;font-size:9px;margin-top:3px}.sidebar-foot{padding:17px 10px 0;color:#c4cede;font-size:11px}.main{margin-left:260px;min-height:100vh}.topbar{height:88px;background:rgba(255,255,255,.92);border-bottom:1px solid var(--line);padding:0 32px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10;backdrop-filter:blur(12px)}.topbar h1{margin-top:4px}.top-actions{display:flex;align-items:center;gap:12px}.api-state{font-size:10px;color:#587066;background:#f0f8f4;border:1px solid #dcefe5;padding:8px 10px;border-radius:20px}.api-state i{display:inline-block;width:7px;height:7px;background:#24a46e;border-radius:50%;margin-right:6px}.mobile-menu{display:none}.page-section{display:none;padding:30px 32px 44px;max-width:1640px;margin:auto}.page-section.active{display:block;animation:fade .2s ease}@keyframes fade{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:none}}.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:21px}.section-head h2{margin:4px 0 6px}.section-head>div>p:last-child{color:var(--muted);font-size:11px}.toolbar{background:#fff;border:1px solid var(--line);border-radius:13px;padding:12px;display:flex;gap:10px;margin-bottom:13px}.search{flex:1;position:relative}.search span{position:absolute;left:12px;top:9px;color:#8b98aa;font-size:18px}.toolbar input{padding-left:38px}.toolbar select{border:1px solid #dce3ed;border-radius:10px;background:#fff;padding:0 32px 0 12px;color:#58657a}.table-card,.catalog-card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.table-card{overflow:hidden}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:950px}th{background:#f8f9fc;color:#8792a4;font-size:9px;letter-spacing:.55px;text-transform:uppercase;text-align:left;padding:12px 15px;border-bottom:1px solid var(--line)}td{padding:14px 15px;border-bottom:1px solid #edf0f5;font-size:11px;color:#657187;vertical-align:middle}tbody tr:hover{background:#fafbfe}tbody tr:last-child td{border-bottom:0}.right{text-align:right}.identity{display:flex;align-items:center;gap:11px}.identity strong,.identity small{display:block}.identity strong{color:#253148}.identity small{margin-top:3px;color:#8c97a8}.avatar{width:36px;height:36px;border-radius:10px;background:#edf2ff;color:#3d67cf;display:grid;place-items:center;font-size:11px;font-weight:850}.chips{display:flex;gap:5px;flex-wrap:wrap}.badge,.app-chip,.status{display:inline-flex;border-radius:16px;padding:5px 8px;font-size:8px;font-weight:800}.badge{background:#eef2f7;color:#5f6c81}.badge.protected{background:#eef2ff;color:#4568c7}.app-chip{background:#f3f6fb;color:#718098;border:1px solid #e7ebf1}.status.good{background:#e9f8f1;color:var(--green)}.status.warn{background:#fff5e8;color:var(--orange)}.status.off{background:#f0f2f6;color:#7e8999}.sub-status{display:block;color:#9a7580;margin-top:5px}.icon-button{width:36px;height:36px;border:1px solid #dfe5ed;background:#fff;border-radius:9px;color:#5b6880}.empty{padding:60px;text-align:center;color:#93a0b3}.empty>span{display:grid;place-items:center;width:50px;height:50px;margin:0 auto 10px;background:#f2f5fa;border-radius:50%;font-size:24px}.empty strong,.empty p{display:block}.empty p{font-size:10px;margin-top:5px}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:15px}.catalog-card{padding:19px}.catalog-card header{display:flex;align-items:center;gap:11px}.catalog-card header>div{flex:1}.catalog-card code{font-size:9px;color:#8793a5}.catalog-icon{width:38px;height:38px;border-radius:10px;background:#edf2ff;color:#476dd2;display:grid;place-items:center}.catalog-card>p{font-size:10px;color:#8994a5;line-height:1.5;min-height:30px;margin:14px 0}.catalog-card dl{display:flex;gap:22px;margin:14px 0}.catalog-card dl div{display:flex;gap:7px}.catalog-card dt{font-size:9px;color:#8e9aab}.catalog-card dd{font-size:11px;font-weight:850;margin:0}.catalog-card>.button{margin-top:17px}.dialog{width:min(720px,calc(100% - 28px));border:0;border-radius:17px;padding:0;box-shadow:0 28px 100px rgba(16,27,45,.28);color:var(--ink)}.dialog::backdrop{background:rgba(13,22,37,.6);backdrop-filter:blur(3px)}.dialog>form,.dialog>section{padding:25px}.dialog header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px}.dialog header h2{margin-top:5px}.dialog-close{border:0;background:#f2f4f8;width:34px;height:34px;border-radius:9px;color:#667287;font-size:20px}.form-grid{grid-template-columns:1fr 1fr}.form-grid .span-2{grid-column:1/-1}.form-grid label small{font-size:9px;color:#929daf;font-weight:500}.toggle-field{display:grid!important;grid-template-columns:auto 1fr;align-items:center}.toggle-field input{width:auto}.toggle-field small{grid-column:2}.dialog fieldset{border:1px solid var(--line);border-radius:12px;margin:18px 0 0;padding:14px}.dialog legend{font-size:10px;font-weight:800;color:#667389;padding:0 7px}.option-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.option-grid.compact{grid-template-columns:repeat(2,1fr)}.check-card{border:1px solid var(--line);border-radius:9px;padding:9px;display:flex;align-items:flex-start;gap:8px;cursor:pointer}.check-card:has(input:checked){border-color:#9db3f2;background:#f3f6ff}.check-card input{accent-color:var(--blue);margin-top:2px}.check-card strong,.check-card small{display:block}.check-card strong{font-size:10px}.check-card small{font-size:8px;color:#8995a8;margin-top:3px}.app-preview{margin-top:12px;font-size:10px;color:#758197;display:flex;align-items:center;gap:5px;flex-wrap:wrap}.dialog footer{display:flex;align-items:center;gap:9px;margin-top:22px}.dialog footer>span{flex:1}.wide-dialog{width:min(980px,calc(100% - 28px))}.compact-dialog{width:min(520px,calc(100% - 28px))}.compact-dialog textarea{margin-top:16px;resize:none}.permission-groups{display:grid;gap:7px;max-height:330px;overflow:auto}.permission-groups details{border:1px solid var(--line);border-radius:9px;padding:9px}.permission-groups summary{font-size:10px;font-weight:850;cursor:pointer}.permission-groups summary span{float:right;color:#8491a4}.permission-groups .option-grid{margin-top:10px}.user-extra-actions{display:flex;gap:8px}.toast-region{position:fixed;right:20px;bottom:20px;z-index:100;display:grid;gap:8px}.toast{background:#163c2d;color:#fff;padding:12px 15px;border-radius:10px;box-shadow:0 15px 35px rgba(0,0,0,.18);font-size:11px}.toast.error{background:#7f2634}.muted{color:#929daf}
@media(max-width:1100px){.cards-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.sidebar{transform:translateX(-100%);transition:.22s}.sidebar.open{transform:none;box-shadow:20px 0 50px rgba(0,0,0,.24)}.main{margin-left:0}.mobile-menu{display:inline-grid;place-items:center}.topbar{height:76px;padding:0 16px;gap:10px}.topbar>div:nth-child(2){flex:1}.topbar h1{font-size:18px}.api-state{display:none}.page-section{padding:22px 15px}.section-head{flex-direction:column}.section-head>.button{width:100%}.toolbar{flex-wrap:wrap}.search{flex-basis:100%}.toolbar select,.toolbar>.button{flex:1;height:40px}.cards-grid{grid-template-columns:1fr}.form-grid,.option-grid,.option-grid.compact{grid-template-columns:1fr}.form-grid .span-2{grid-column:auto}.dialog>form,.dialog>section{padding:19px}.auth-card{padding:27px}.user-extra-actions{width:100%;order:5}.dialog footer{flex-wrap:wrap}.user-extra-actions .button{flex:1}}
.topbar>.top-actions{margin-left:auto}@media(max-width:780px){.topbar>div.top-actions{flex:0 0 auto;margin-left:auto}}

/* Readability and user-filter layout, 2026-07-21. */
.stack-form .remember-row{display:flex;align-items:center;gap:9px;cursor:pointer}.stack-form .remember-row input{width:17px;height:17px;margin:0;padding:0;accent-color:var(--blue)}.stack-form .remember-row span{font-size:12px;color:#556278}
body{font-size:15px}.section-head>div>p:last-child{font-size:12px}.eyebrow{font-size:10px}.nav-link b{font-size:14px}.sidebar-status strong,.sidebar-foot{font-size:12px}.sidebar-status small,.sidebar-foot small{font-size:10px}.users-toolbar{display:grid;grid-template-columns:minmax(320px,1fr) minmax(210px,260px) minmax(180px,220px) auto;align-items:end;gap:12px;padding:14px}.toolbar-field{display:grid;gap:7px;min-width:0}.toolbar-field>span:first-child{font-size:10px;font-weight:800;letter-spacing:.55px;text-transform:uppercase;color:#8792a4}.users-toolbar input,.users-toolbar select,.users-toolbar>.button{height:43px}.search-control{position:relative;display:block}.search-control i{position:absolute;left:13px;top:50%;transform:translateY(-50%);font-size:18px;font-style:normal;color:#8b98aa}.search-control input{padding-left:40px}.users-toolbar>.button{padding-inline:18px}th{font-size:10px}td{font-size:12px}.identity strong{font-size:13px}.identity small{font-size:10px}.badge,.app-chip,.status{font-size:9px}.status.pending{background:#fff0e8;color:#a85a1d}.catalog-card>p,.empty p,.app-preview,.dialog legend,.permission-groups summary{font-size:11px}.check-card strong{font-size:11px}.check-card small,.form-grid label small{font-size:9px}.button{font-size:13px}.user-extra-actions{flex-wrap:wrap}
.nav-group{display:grid;gap:4px}.nav-group-toggle{width:100%;border:0;background:transparent;color:#d2d9e5;border-radius:10px;padding:12px 13px;display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:10px;text-align:left}.nav-group-toggle b{font-size:14px;font-weight:700}.nav-group-toggle i{font-style:normal;transition:transform .2s}.nav-group:not(.open) .nav-group-toggle i{transform:rotate(-90deg)}.nav-submenu{display:grid;gap:4px;padding-left:13px}.nav-group:not(.open) .nav-submenu{display:none}.nav-submenu .nav-link{padding-block:10px}.shipments-toolbar{display:grid;grid-template-columns:minmax(320px,1fr) minmax(210px,260px);align-items:end}.shipments-toolbar input,.shipments-toolbar select{height:43px}.form-grid select{width:100%;border:1px solid #dce3ed;background:#fff;border-radius:10px;padding:11px 12px;color:var(--ink)}.route-cell strong,.route-cell small{display:block}.route-cell small{color:#8995a8;margin-top:3px}.status.created{background:#eef2f7;color:#5f6c81}.status.accepted{background:#edf2ff;color:#315dd1}.status.transit{background:#fff5e8;color:#a85a1d}.status.delivered{background:#e9f8f1;color:var(--green)}.status.cancelled{background:#fff0f2;color:var(--red)}
.section-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.pricing-layout{display:grid;gap:16px;position:relative}.card-title{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.card-title p{font-size:11px;color:var(--muted);margin-top:4px}.pricing-table{min-width:760px}.pricing-table td strong,.pricing-table td small{display:block}.pricing-table td small{margin-top:4px;color:#8995a8}.price-limit-grid{display:grid;gap:8px}.price-limit-row{display:grid;grid-template-columns:minmax(160px,1.3fr) repeat(4,minmax(105px,1fr));gap:8px;align-items:end;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fafbfe}.price-limit-row>strong{padding:0 4px 12px}.price-limit-row label{display:grid;gap:6px;font-size:9px;color:#748196;font-weight:750}.price-limit-row input{width:100%;border:1px solid #dce3ed;background:#fff;border-radius:9px;padding:10px;color:var(--ink)}
@media(max-width:820px){.section-actions{width:100%;justify-content:stretch}.section-actions .button{flex:1}.price-limit-row{grid-template-columns:1fr 1fr}.price-limit-row>strong{grid-column:1/-1;padding-bottom:4px}}
@media(max-width:1180px){.users-toolbar{grid-template-columns:minmax(280px,1fr) 1fr 1fr}.users-toolbar>.button{grid-column:3;justify-self:end}.search-field{grid-row:1/3}}
@media(max-width:780px){.users-toolbar{display:grid;grid-template-columns:1fr}.search-field{grid-row:auto}.users-toolbar>.button{grid-column:auto;justify-self:stretch}.toolbar-field,.users-toolbar>.button{width:100%}.users-toolbar select{height:43px}.user-extra-actions{display:grid;grid-template-columns:1fr;width:100%}.user-extra-actions .button{width:100%}}

/* Unified async feedback: every network request and loaded list stays visibly busy. */
.network-activity{position:fixed;top:18px;left:50%;transform:translateX(-50%);z-index:200;display:flex;align-items:center;gap:10px;min-height:42px;padding:10px 16px;border:1px solid #d7e2fa;border-radius:24px;background:rgba(255,255,255,.97);color:#30405c;box-shadow:0 12px 35px rgba(25,48,92,.18);font-size:12px;backdrop-filter:blur(10px)}.loading-spinner{display:inline-block;width:18px;height:18px;border:2px solid #dbe5fb;border-top-color:var(--blue);border-radius:50%;animation:loading-spin .7s linear infinite;flex:0 0 auto}.loading-spinner.small{width:14px;height:14px;border-width:2px;border-color:rgba(255,255,255,.42);border-top-color:currentColor}.button.ghost .loading-spinner.small,.button.danger .loading-spinner.small{border-color:#d7dfea;border-top-color:currentColor}@keyframes loading-spin{to{transform:rotate(360deg)}}.table-card{position:relative;min-height:112px}.content-loading{position:absolute;inset:0;z-index:4;display:flex;align-items:center;justify-content:center;gap:11px;min-height:112px;background:rgba(248,250,254,.9);color:#536179;backdrop-filter:blur(2px)}.content-loading strong{font-size:13px}.button:disabled,.button[aria-busy="true"]{cursor:wait;opacity:.72}.hidden{display:none!important}
@media(max-width:780px){.network-activity{top:12px;max-width:calc(100% - 24px);white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.loading-spinner{animation-duration:1.5s}}

/* Commercial administration: customers, invoices and draft price-list editor. */
.commercial-toolbar{display:grid;grid-template-columns:minmax(320px,1fr) minmax(220px,280px);align-items:end}.commercial-toolbar input,.commercial-toolbar select{height:43px}.table-card td small{display:block;margin-top:4px;color:#8995a8}.text-danger{color:var(--red)!important}.button.compact{padding:7px 10px;font-size:11px}.price-editor-dialog{width:min(1380px,calc(100% - 28px))}.price-editor-note{color:var(--muted);font-size:11px;margin-top:6px}.rule-filter{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:11px;font-weight:750;color:#637087}.rule-filter select{min-width:260px;border:1px solid #dce3ed;border-radius:9px;padding:9px;background:#fff}.rate-editor-wrap{max-height:430px;overflow:auto;border:1px solid var(--line);border-radius:10px}.rate-editor-table{min-width:650px}.rate-editor-table th{position:sticky;top:0;z-index:1}.rate-editor-table input{width:110px;border:1px solid #dce3ed;border-radius:8px;padding:8px;color:var(--ink)}.price-limit-row strong small{display:block;color:#8995a8;margin-top:3px;font-size:9px}.price-editor-dialog :disabled{background:#f2f4f7;color:#7a8494}.pricing-table td:last-child{text-align:right}
.price-limit-row strong em{display:block;margin-top:5px;color:#637087;font-size:9px;font-style:normal;font-weight:500;line-height:1.35}
@media(max-width:780px){.commercial-toolbar{grid-template-columns:1fr}.price-editor-dialog{width:calc(100% - 14px)}.rule-filter{align-items:stretch;flex-direction:column}.rule-filter select{min-width:0;width:100%}}
.assignment-summary{display:grid;gap:5px;margin-bottom:16px;padding:14px;border:1px solid var(--line);border-radius:11px;background:#f7f9fd}.assignment-summary strong{font-size:14px;color:#253148}.assignment-summary small{color:#7a879a}
.brand-symbol-shell{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;padding:4px;border-radius:12px;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.18)}.brand-symbol-shell img{width:100%;height:100%;object-fit:contain}.brand-lockup{display:block;width:112px;height:auto}.brand.large{display:grid;justify-items:center;width:100%;gap:7px;margin-bottom:35px;text-align:center}.brand.large small{margin:0;font-size:9px;letter-spacing:2.6px;color:#7c8aa1}.brand strong{letter-spacing:.2px}
/* ZZ Logistics brand: červená, bílá a téměř černá; zelená a oranžová zůstávají pouze stavové. */
.auth-view{background:radial-gradient(circle at 18% 12%,#fff0f0,transparent 31%),radial-gradient(circle at 88% 82%,#eef0f2,transparent 30%),var(--paper)}
.brand-mark{background:linear-gradient(145deg,#ef3e44,var(--blue2));box-shadow:0 8px 20px rgba(227,30,36,.24)}
.stack-form input:focus,.form-grid input:focus,.form-grid textarea:focus,.toolbar input:focus{border-color:#e35b60;box-shadow:0 0 0 3px #fff0f0}
.button.primary{background:linear-gradient(135deg,var(--blue2),var(--blue));box-shadow:0 8px 20px rgba(227,30,36,.2)}
.sidebar{background:linear-gradient(180deg,var(--nav),#0d0f12)}

/* Doručovací zóny · frontendový prototyp */
.zones-section-head{margin-bottom:14px}.zones-prototype-note{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding:12px 15px;border:1px solid #dbe6ff;border-radius:12px;background:#f5f8ff;color:#52617a}.zones-prototype-note>span{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#e4ecff;color:#315fd3;font-weight:850}.zones-prototype-note p{display:grid;gap:2px}.zones-prototype-note strong{font-size:11px;color:#34425a}.zones-prototype-note small{font-size:10px;line-height:1.4}.zone-matrix-card{overflow:hidden;margin-bottom:22px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}.zone-matrix-card .card-title{gap:20px}.zone-matrix-card .card-title h3{margin:4px 0 0}.zone-limit{flex:0 0 auto;padding:8px 11px;border-radius:9px;background:#f3f5f8;color:#7a879a;font-size:10px}.zone-limit strong{color:var(--ink);font-size:14px}.zone-matrix-wrap{overflow-x:auto;padding:0 20px 18px}.zone-matrix{min-width:720px;border:1px solid var(--line);border-radius:11px;border-collapse:separate;border-spacing:0;overflow:hidden}.zone-matrix th,.zone-matrix td{height:58px;padding:9px 10px;border-right:1px solid #e9edf3;border-bottom:1px solid #e9edf3;text-align:center}.zone-matrix tr:last-child td,.zone-matrix tr:last-child th{border-bottom:0}.zone-matrix th:last-child,.zone-matrix td:last-child{border-right:0}.zone-matrix thead th{height:54px;background:#f7f9fc;color:#67758b;text-transform:none;letter-spacing:0;font-size:10px}.zone-matrix .matrix-axis{min-width:150px;text-align:left}.zone-matrix .matrix-origin{background:#fbfcfe;text-align:left;color:#27344b;font-size:11px}.zone-matrix .matrix-origin span,.zone-matrix thead th span{display:block;margin-top:3px;color:#96a0af;font-size:8px;font-weight:650}.zone-matrix-select{width:100%;min-width:94px;height:36px;border:1px solid #dce3ed;border-radius:8px;background:#fff;color:#46546b;text-align:center;font-size:10px;font-weight:750}.zone-matrix-select:focus{border-color:#eb787c;box-shadow:0 0 0 3px rgba(227,30,36,.09);outline:0}.zone-matrix-select.is-home{border-color:#d5ebdf;background:#edf8f2;color:#17724f}.zone-matrix-example{display:flex;align-items:flex-start;gap:9px;padding:13px 20px;border-top:1px solid var(--line);background:#fffaf3;color:#80664d;font-size:10px;line-height:1.45}.matrix-example-dot{width:8px;height:8px;flex:0 0 8px;margin-top:3px;border-radius:50%;background:#e48a27}.zones-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 2px 13px}.zones-list-head h3{margin:4px 0}.zones-list-head p:last-child{color:var(--muted);font-size:10px}.zones-list-head>span{padding:7px 10px;border-radius:20px;background:#f1f3f7;color:#6f7c90;font-size:10px;font-weight:750}.delivery-zone-grid{display:grid;grid-template-columns:repeat(3,minmax(270px,1fr));gap:14px}.delivery-zone-card{min-width:0;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 5px 20px rgba(20,43,72,.045)}.delivery-zone-card header{display:flex;align-items:center;gap:11px;padding:16px;border-bottom:1px solid var(--line)}.zone-color{width:11px;height:40px;flex:0 0 11px;border-radius:7px}.zone-title{flex:1;min-width:0}.zone-title label{display:block;color:#8b96a7;font-size:8px;font-weight:800;letter-spacing:.7px;text-transform:uppercase}.zone-title input{width:100%;margin-top:3px;padding:0;border:0;outline:0;color:#202d43;background:transparent;font-size:15px;font-weight:850}.zone-title input:focus{box-shadow:0 2px 0 #e31e24}.zone-card-actions{display:flex;gap:5px}.zone-card-actions button{width:31px;height:31px;border:1px solid #e1e6ed;border-radius:8px;background:#fff;color:#718096}.zone-card-actions button:hover{color:#c82f36;border-color:#f1b9bc;background:#fff7f7}.zone-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 16px}.zone-stat{padding:10px;border-radius:10px;background:#f7f9fc}.zone-stat span,.zone-stat strong{display:block}.zone-stat span{color:#8a96a8;font-size:8px}.zone-stat strong{margin-top:3px;color:#344158;font-size:12px}.zone-imports{display:grid;gap:8px;padding:0 16px 14px}.zone-import-row{display:grid;grid-template-columns:32px minmax(0,1fr) 28px;align-items:center;gap:9px;padding:9px;border:1px solid #e5e9ef;border-radius:10px}.zone-import-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#fff2e3;color:#b55a0b;font-size:10px;font-weight:850}.zone-import-copy{min-width:0}.zone-import-copy strong,.zone-import-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zone-import-copy strong{color:#334057;font-size:10px}.zone-import-copy small{margin-top:3px;color:#8d98a8;font-size:8px}.zone-import-remove{width:28px;height:28px;border:0;border-radius:7px;background:#f5f6f8;color:#8792a3}.zone-import-remove:hover{background:#fff0f1;color:var(--red)}.zone-file-picker{display:block;padding:11px 16px 16px}.zone-file-picker input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.zone-file-picker span{display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;border:1px dashed #cfd7e3;border-radius:9px;color:#5d6a7f;background:#fafbfc;font-size:10px;font-weight:750;cursor:pointer}.zone-file-picker span:hover{border-color:#ee969a;background:#fff8f8;color:#b91c22}.zone-file-picker small{display:block;margin-top:7px;color:#9aa4b3;text-align:center;font-size:8px}.zone-empty{padding:11px;border:1px dashed #dce2ea;border-radius:9px;color:#929cad;text-align:center;font-size:9px}.zone-max-notice{grid-column:1/-1;padding:16px;border:1px dashed #d7dde6;border-radius:12px;color:#7b8798;background:#fafbfc;text-align:center;font-size:11px}
@media(max-width:1180px){.delivery-zone-grid{grid-template-columns:repeat(2,minmax(270px,1fr))}}
@media(max-width:780px){.delivery-zone-grid{grid-template-columns:1fr}.zones-list-head{align-items:flex-start;flex-direction:column}.zone-matrix-card .card-title{align-items:flex-start;flex-direction:column}.zone-matrix-wrap{padding-inline:12px}.zone-matrix-example{padding-inline:14px}}

.zone-depot-field{display:grid;gap:6px;margin:0 16px 13px}.zone-depot-field>span,.zone-detail-search>span:first-child{color:#7e8a9c;font-size:9px;font-weight:800;letter-spacing:.45px;text-transform:uppercase}.zone-depot-field select{width:100%;height:39px;padding:0 11px;border:1px solid #dce3ed;border-radius:9px;background:#fff;color:#425069;font-size:10px;font-weight:700}.zone-depot-field select:focus{border-color:#eb787c;box-shadow:0 0 0 3px rgba(227,30,36,.09);outline:0}.zone-card-footer{display:grid;gap:9px;padding:0 16px 16px}.zone-card-footer>.button{width:100%;min-height:38px}.zone-card-footer .zone-file-picker{padding:0}.zone-card-footer .zone-file-picker span{min-height:40px}.zone-detail-dialog{width:min(1080px,calc(100% - 28px))}.zone-detail-dialog header{margin-bottom:17px}.zone-detail-depot{margin-top:5px;color:#778397;font-size:10px}.zone-detail-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:15px}.zone-detail-summary>span{padding:13px 14px;border:1px solid #e5e9ef;border-radius:10px;background:#f8f9fc}.zone-detail-summary small,.zone-detail-summary strong{display:block}.zone-detail-summary small{color:#8a95a6;font-size:8px;font-weight:800;letter-spacing:.45px}.zone-detail-summary strong{margin-top:4px;color:#27344a;font-size:17px}.zone-detail-search{display:grid;gap:7px}.zone-detail-search .search-control{display:block}.zone-detail-search input{width:100%;height:43px;padding:0 13px 0 40px;border:1px solid #dce3ed;border-radius:10px;outline:0}.zone-detail-search input:focus{border-color:#eb787c;box-shadow:0 0 0 3px rgba(227,30,36,.09)}.zone-detail-results{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:13px 1px 8px}.zone-detail-results>span{color:#35435a;font-size:10px;font-weight:850}.zone-detail-results small{color:#8c97a7;font-size:9px}.zone-detail-results code{color:#bd2026}.zone-detail-table-wrap{position:relative;max-height:480px;overflow:auto;border:1px solid var(--line);border-radius:11px}.zone-detail-table{min-width:680px}.zone-detail-table th{position:sticky;top:0;z-index:1}.zone-detail-table td:first-child{width:125px;color:#253149}.zone-detail-table td:nth-child(2){color:#344158;font-weight:650}.zone-detail-table td:last-child{max-width:300px}.zone-detail-table td:last-child span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8792a4}.zone-detail-empty{display:grid;place-items:center;min-height:210px;padding:30px;color:#7d899b;text-align:center}.zone-detail-empty p{margin-top:6px;color:#9aa4b2;font-size:10px}.zone-detail-dialog footer{margin-top:16px}
@media(max-width:780px){.zone-detail-summary{grid-template-columns:1fr}.zone-detail-results{align-items:flex-start;flex-direction:column}.zone-detail-results small{line-height:1.4}}

/* Doručovací zóny · potvrzené pracovní workflow a analýza překryvů */
.dialog-lead{max-width:560px;margin-top:7px;color:var(--muted);font-size:11px;line-height:1.5}.zone-matrix-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.zone-analysis-dialog{width:min(760px,calc(100% - 28px))}.zone-analysis-state{display:grid;place-items:center;min-height:180px;padding:28px;border:1px dashed #d8dfe9;border-radius:12px;background:#fafbfc;color:#58667b;text-align:center}.zone-analysis-state p,.zone-analysis-summary p{margin-top:6px;color:#8793a5;font-size:10px}.zone-analysis-summary{padding:14px 16px;margin-bottom:12px;border:1px solid;border-radius:11px}.zone-analysis-summary.is-clear{border-color:#cfe8dc;background:#eff9f4;color:#18704f}.zone-analysis-summary.has-duplicates{border-color:#f2d5b3;background:#fff7ed;color:#9a5317}.zone-analysis-table-wrap{max-height:390px;overflow:auto;border:1px solid var(--line);border-radius:11px}.zone-analysis-table{min-width:560px}.zone-analysis-table th{position:sticky;top:0;z-index:1}.zone-analysis-table td:first-child{width:130px;color:#28364d}.zone-analysis-table td:nth-child(2){width:130px}#confirm-remove-delivery-zone{background:#b91c22;color:#fff;border-color:#b91c22}#confirm-remove-delivery-zone:hover{background:#981b20}
@media(max-width:780px){.zone-matrix-actions{width:100%;justify-content:stretch}.zone-matrix-actions .button{flex:1}.zone-limit{margin-left:auto}}
.nav-link.active{background:linear-gradient(90deg,var(--blue2),var(--blue));box-shadow:0 8px 18px rgba(189,23,29,.25)}
.avatar,.catalog-icon{color:var(--blue2);background:#fff0f0}
.badge.protected{color:var(--blue2);background:#fee2e2}
.check-card:has(input:checked){border-color:#ef9ca0;background:#fff5f5}
.network-activity{border-color:#f0c6c8;box-shadow:0 12px 35px rgba(90,16,20,.16)}
.status.accepted{color:#991b1b;background:#fee2e2}

/* Doručovací zóny · čitelnější hierarchie karet */
.delivery-zone-card{display:flex;overflow:hidden;flex-direction:column;border-color:#d8dee8;box-shadow:0 8px 24px rgba(20,43,72,.075)}
.delivery-zone-card header{padding:17px 16px;background:linear-gradient(180deg,#fff 0%,#fafbfd 100%);border-bottom-color:#dfe4ec}
.zone-color{width:9px;height:44px;flex-basis:9px;box-shadow:0 0 0 3px rgba(255,255,255,.9)}
.zone-title label{color:#7c889b;font-size:8px;letter-spacing:.9px}
.zone-title input{margin-top:4px;color:#18243a;font-size:16px}
.zone-card-actions button{background:#fff;box-shadow:0 1px 2px rgba(20,43,72,.05)}
.zone-stats{gap:10px;padding:15px 16px;background:#fff}
.zone-stat{padding:11px 12px;border:1px solid #e5e9f0;border-radius:9px;background:#f7f8fb}
.zone-stat span{color:#778397;font-size:8px;font-weight:800;letter-spacing:.45px;text-transform:uppercase}
.zone-stat strong{margin-top:5px;color:#182b4b;font-size:17px;line-height:1}
.zone-depot-field{gap:7px;margin:0;padding:14px 16px 16px;border-top:1px solid #e5e9f0;background:#fff}
.zone-depot-field>span{color:#667389;font-size:8px;letter-spacing:.65px}
.zone-depot-field select{height:41px;border-color:#d4dbe6;background:#fff;color:#283750}
.zone-imports{gap:9px;padding:14px 16px 15px;border-top:1px solid #e1e6ee;border-bottom:1px solid #e1e6ee;background:#f6f8fb}
.zone-section-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:1px}
.zone-section-label span{color:#536176;font-size:8px;font-weight:850;letter-spacing:.65px;text-transform:uppercase}
.zone-section-label small{padding:3px 7px;border-radius:10px;background:#e8ecf2;color:#718096;font-size:8px;font-weight:750}
.zone-import-row{padding:10px;border-color:#dce2eb;background:#fff;box-shadow:0 2px 6px rgba(20,43,72,.04)}
.zone-import-copy strong{color:#26364f;font-size:10px}
.zone-import-copy small{color:#78869a;font-size:8px}
.zone-import-remove{background:#f2f4f7;color:#758297}
.zone-empty{border-color:#cfd7e2;background:#fff;color:#78869a}
.zone-card-footer{gap:10px;padding:14px 16px 16px;background:#fff}
.zone-card-footer>.zone-detail-action{display:flex;align-items:center;justify-content:space-between;padding-inline:13px;border-color:#d3dae5;background:#fff;color:#263750;text-align:left}
.zone-detail-action span{padding:3px 7px;border-radius:10px;background:#eef1f5;color:#66758b;font-size:8px;font-weight:750}
.zone-card-footer .zone-file-picker span{border-color:#c9d2df;background:#f8fafc;color:#43536a}
.zone-card-footer .zone-file-picker small{margin-top:6px;color:#8a96a7}

/* Správa dep */
.depot-list-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;padding:12px 14px;border:1px solid #e1e6ee;border-radius:11px;background:#f8f9fb}.depot-list-head>div{display:grid;gap:3px}.depot-list-head strong{color:#2d3b52;font-size:11px}.depot-list-head small{color:#7f8a9b;font-size:9px;line-height:1.4}.depot-grid{display:grid;grid-template-columns:repeat(3,minmax(280px,1fr));gap:14px}.depot-card{overflow:hidden;border:1px solid #d9dfe8;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(20,43,72,.065)}.depot-card.is-inactive{border-style:dashed;background:#fafbfc;box-shadow:none}.depot-card>header{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px;padding:15px 16px;border-bottom:1px solid #e2e7ee;background:linear-gradient(180deg,#fff,#fafbfd)}.depot-card-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#fff0f0;color:#bd171d;font-size:17px;font-weight:850}.is-inactive .depot-card-icon{background:#eef1f5;color:#778397}.depot-card header div{min-width:0}.depot-card header p{color:#7c8899;font-size:8px;font-weight:850;letter-spacing:.7px}.depot-card h3{overflow:hidden;margin-top:3px;color:#1c2b42;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.depot-card-address{display:grid;gap:4px;padding:14px 16px}.depot-card-address strong{color:#334158;font-size:10px}.depot-card-address small{color:#818da0;font-size:9px}.depot-card-facts{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e7ebf1;border-bottom:1px solid #e7ebf1;background:#f7f8fa}.depot-card-facts>span{display:grid;gap:4px;padding:11px 16px}.depot-card-facts>span+span{border-left:1px solid #e1e6ed}.depot-card-facts small{color:#8894a5;font-size:8px;font-weight:800;text-transform:uppercase}.depot-card-facts strong{overflow:hidden;color:#35435a;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.depot-usage{display:flex;gap:6px;flex-wrap:wrap;padding:13px 16px}.depot-usage span{padding:5px 8px;border-radius:12px;background:#eef1f5;color:#66758a;font-size:8px;font-weight:750}.depot-card>footer{display:flex;gap:8px;padding:0 16px 16px}.depot-card>footer .button{flex:1;min-height:36px;padding-inline:9px}.depot-card .button.danger.ghost{border-color:#efc8ca;background:#fff;color:#ae272c}.depot-impact{display:grid;gap:4px;margin-top:13px;padding:11px 12px;border:1px solid #ead8bd;border-radius:9px;background:#fff9ef}.depot-impact strong{color:#865216;font-size:10px}.depot-impact small{color:#92724c;font-size:9px;line-height:1.45}
@media(max-width:1100px){.depot-grid{grid-template-columns:repeat(2,minmax(280px,1fr))}}
@media(max-width:780px){.depot-list-head{align-items:flex-start;flex-direction:column}.depot-grid{grid-template-columns:1fr}.depot-card>footer{flex-direction:column}}

/* Globální palivový příplatek */
.fuel-source-card{display:grid;grid-template-columns:minmax(280px,1fr) auto auto;align-items:center;gap:22px;margin-bottom:14px;padding:20px;border:1px solid #dce2ea;border-radius:14px;background:#fff;box-shadow:var(--shadow)}.fuel-source-card h3{margin:4px 0 5px;color:#202d42;font-size:18px}.fuel-source-card p:last-child{max-width:720px;color:#7e899a;font-size:10px;line-height:1.5}.fuel-source-value{display:grid;justify-items:end;gap:4px}.fuel-source-value strong{color:#202d42;font-size:19px}.fuel-source-value span{color:#758196;font-size:10px;font-weight:750}.fuel-source-actions{display:flex;gap:8px}.fuel-history-card{margin-bottom:16px}.fuel-history-table{min-width:700px}.fuel-history-table td:nth-child(3){display:grid;gap:2px}.fuel-history-table td:nth-child(3) small{color:#8792a2;font-size:9px}.fuel-history-table a{color:#b51f2a;font-weight:750}
.fuel-summary-grid{display:grid;grid-template-columns:minmax(420px,1.4fr) minmax(280px,.6fr);gap:14px;margin-bottom:16px}.fuel-current-card,.fuel-effective-card{border:1px solid #dce2ea;border-radius:14px;background:#fff;box-shadow:var(--shadow)}.fuel-current-card{display:grid;grid-template-columns:minmax(220px,1fr) minmax(200px,280px) auto;align-items:end;gap:18px;padding:20px}.fuel-current-card h3{margin:4px 0 5px;color:#202d42;font-size:18px}.fuel-current-card p:last-child{color:#7e899a;font-size:10px}.fuel-current-card label{display:grid;gap:7px;color:#667389;font-size:9px;font-weight:800;text-transform:uppercase}.fuel-price-input{display:flex;align-items:center;overflow:hidden;border:1px solid #d5dce6;border-radius:10px;background:#fff}.fuel-price-input:focus-within{border-color:#e35b60;box-shadow:0 0 0 3px #fff0f0}.fuel-price-input input{width:100%;min-width:0;padding:11px 12px;border:0;outline:0;color:#1c2c45;font-size:16px;font-weight:850}.fuel-price-input b{padding:0 12px;color:#7a8799;font-size:9px;white-space:nowrap}.fuel-effective-card{display:grid;align-content:center;padding:20px;background:linear-gradient(145deg,#171a20,#292e38);color:#fff}.fuel-effective-card .eyebrow{color:#e49397}.fuel-effective-card>strong{margin-top:7px;font-size:34px;line-height:1}.fuel-effective-card>span{margin-top:8px;color:#f0c5c7;font-size:11px;font-weight:750}.fuel-effective-card>small{margin-top:8px;color:#aeb6c2;font-size:9px;line-height:1.45}.fuel-table-card .card-title{display:flex;align-items:center;justify-content:space-between}.fuel-table{min-width:760px}.fuel-table td strong{color:#263750}.fuel-table td:last-child{text-align:right}.fuel-table tr.is-effective{background:#f1faf5}.fuel-row-actions{display:flex;justify-content:flex-end;gap:7px}.fuel-table-card .table-wrap{overflow-x:auto}
@media(max-width:1100px){.fuel-source-card{grid-template-columns:1fr auto}.fuel-source-actions{grid-column:1/-1}.fuel-source-value{justify-items:end}}
@media(max-width:980px){.fuel-summary-grid{grid-template-columns:1fr}.fuel-current-card{grid-template-columns:1fr 1fr}.fuel-current-card>div{grid-column:1/-1}}
@media(max-width:650px){.fuel-source-card{grid-template-columns:1fr}.fuel-source-value{justify-items:start}.fuel-source-actions{display:grid;grid-column:auto}.fuel-current-card{grid-template-columns:1fr}.fuel-current-card>div{grid-column:auto}.fuel-current-card .button{width:100%}}
.recipient-cell strong,.recipient-cell small{display:block}.recipient-cell small{color:#8995a8;margin-top:3px}
.price-editor-dialog .fieldset-note{margin:-2px 0 12px;color:#7b8798;font-size:9px;line-height:1.45}.price-editor-dialog .price-surcharge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.price-editor-dialog .price-surcharge-card{display:grid;grid-template-columns:minmax(180px,1fr) minmax(130px,.55fr) minmax(130px,.55fr);align-items:end;gap:10px;padding:12px;border:1px solid #dce2ea;border-radius:11px;background:#fff}.price-editor-dialog .price-surcharge-card>div{align-self:center;display:grid;gap:3px}.price-editor-dialog .price-surcharge-card strong{color:#1e2d43;font-size:10px}.price-editor-dialog .price-surcharge-card small,.price-editor-dialog .price-surcharge-card em{color:#7d899b;font-size:8px;font-style:normal;line-height:1.35}.price-editor-dialog .price-surcharge-card em{color:#bb2027}.price-editor-dialog .price-surcharge-card label{display:grid;gap:5px;color:#667389;font-size:8px;font-weight:800}.price-editor-dialog .price-surcharge-card label.is-muted{opacity:.55}@media(max-width:980px){.price-editor-dialog .price-surcharge-grid{grid-template-columns:1fr}}@media(max-width:720px){.price-editor-dialog .price-surcharge-card{grid-template-columns:1fr 1fr}.price-editor-dialog .price-surcharge-card>div{grid-column:1/-1}}

/* Čitelný editor ceníku: větší typografie a vzdušnější ovládací prvky. */
.price-editor-dialog{width:min(1500px,calc(100% - 32px));max-height:calc(100vh - 32px)}
.price-editor-dialog>form{max-height:calc(100vh - 32px);overflow:auto;padding:30px 34px}
.price-editor-dialog header{margin-bottom:26px}
.price-editor-dialog header h2{font-size:26px;line-height:1.2}
.price-editor-dialog .eyebrow{font-size:11px;letter-spacing:.13em}
.price-editor-dialog .price-editor-note{font-size:13px;line-height:1.5;margin-top:7px}
.price-editor-dialog .form-grid{gap:16px}
.price-editor-dialog .form-grid label{gap:8px;font-size:13px}
.price-editor-dialog .form-grid input,.price-editor-dialog .form-grid select{min-height:46px;padding:12px 14px;font-size:14px}
.price-editor-dialog fieldset{margin-top:24px;padding:20px;border-radius:14px}
.price-editor-dialog legend{padding:0 9px;color:#354158;font-size:14px}
.price-editor-dialog .fieldset-note{margin:0 0 16px;font-size:12px;line-height:1.5}
.price-editor-dialog .price-surcharge-grid{gap:14px}
.price-editor-dialog .price-surcharge-card{grid-template-columns:minmax(240px,1.2fr) minmax(160px,.55fr) minmax(160px,.55fr);gap:14px;padding:16px;border-radius:12px}
.price-editor-dialog .price-surcharge-card>div{gap:5px}
.price-editor-dialog .price-surcharge-card strong{font-size:14px;line-height:1.35}
.price-editor-dialog .price-surcharge-card small,.price-editor-dialog .price-surcharge-card em{font-size:11px;line-height:1.45}
.price-editor-dialog .price-surcharge-card label{gap:7px;font-size:11px}
.price-editor-dialog .price-surcharge-card input{min-height:42px;padding:10px 12px;font-size:14px}
.price-editor-dialog .price-limit-grid{gap:12px}
.price-editor-dialog .price-limit-row{grid-template-columns:minmax(250px,1.25fr) repeat(4,minmax(140px,1fr));gap:12px;padding:15px;border-radius:12px}
.price-editor-dialog .price-limit-row>strong{padding:0 8px 6px;font-size:15px;line-height:1.35}
.price-editor-dialog .price-limit-row strong small{margin-top:4px;font-size:11px;line-height:1.4}
.price-editor-dialog .price-limit-row strong em{margin-top:6px;font-size:11px;line-height:1.45}
.price-editor-dialog .price-limit-row label{gap:7px;font-size:11px}
.price-editor-dialog .price-limit-row input{min-height:42px;padding:10px 12px;font-size:14px}
.price-editor-dialog .rule-filter{gap:12px;margin-bottom:14px;font-size:13px}
.price-editor-dialog .rule-filter select{min-width:280px;min-height:44px;padding:10px 12px;font-size:13px}
.price-editor-dialog .rate-editor-wrap{max-height:560px;border-radius:12px}
.price-editor-dialog .rate-editor-table th{padding:14px 16px;font-size:11px}
.price-editor-dialog .rate-editor-table td{padding:14px 16px;font-size:13px}
.price-editor-dialog .rate-editor-table input{width:130px;min-height:42px;padding:10px 12px;font-size:14px}
.price-editor-dialog footer{position:sticky;bottom:-30px;z-index:4;margin:28px -34px -30px;padding:16px 34px;border-top:1px solid var(--line);background:rgba(255,255,255,.97);box-shadow:0 -8px 20px rgba(19,31,52,.06)}
@media(max-width:1100px){.price-editor-dialog .price-surcharge-grid{grid-template-columns:1fr}.price-editor-dialog .price-limit-row{grid-template-columns:repeat(2,minmax(0,1fr))}.price-editor-dialog .price-limit-row>strong{grid-column:1/-1}}
@media(max-width:780px){.price-editor-dialog>form{padding:22px}.price-editor-dialog header h2{font-size:23px}.price-editor-dialog fieldset{padding:15px}.price-editor-dialog .price-surcharge-card{grid-template-columns:1fr}.price-editor-dialog .price-surcharge-card>div{grid-column:auto}.price-editor-dialog footer{bottom:-22px;margin:24px -22px -22px;padding:14px 22px}}

/* Číselná pole editoru používají vlastní stabilní vzhled bez překrývajících se nativních šipek. */
.price-editor-dialog input[type=number]{box-sizing:border-box;width:100%;min-width:0;appearance:textfield;-moz-appearance:textfield;border:1px solid #d7e0ea;border-radius:9px;background:#fff;color:var(--ink);font-family:inherit;font-weight:700;line-height:1.2}
.price-editor-dialog input[type=number]::-webkit-inner-spin-button,.price-editor-dialog input[type=number]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}
.price-editor-dialog .price-surcharge-card{align-items:stretch}
.price-editor-dialog .price-surcharge-card label{min-width:0;grid-template-rows:auto 44px;align-content:end}
.price-editor-dialog .price-surcharge-card input{height:44px;min-height:44px;padding:11px 13px}
.price-editor-dialog .price-surcharge-card label.is-muted{opacity:1;color:#98a2b2}
.price-editor-dialog .price-surcharge-card label.is-muted input{border-color:#e3e8ef;background:#f3f5f8;color:#7b8797}
.price-editor-dialog .price-limit-row label{min-width:0}
.price-editor-dialog .price-limit-row input,.price-editor-dialog .rate-editor-table input{height:44px;min-height:44px;padding:11px 13px}
@media(max-width:1280px){.price-editor-dialog .price-surcharge-card{grid-template-columns:minmax(220px,1fr) minmax(145px,.62fr) minmax(145px,.62fr)}}

/* Samostatné management stránky a úvodní přehled. */
.main-nav{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:3px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}
.nav-link{text-decoration:none}
.nav-link[aria-current=page]{color:#fff}
.management-overview-head{align-items:center}
.overview-updated{padding:8px 11px;border:1px solid #dcefe5;border-radius:20px;background:#f0f8f4;color:#587066;font-size:10px;font-weight:750;white-space:nowrap}
.overview-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(230px,1fr));gap:16px}
.overview-stat-card{display:flex;align-items:center;gap:16px;min-height:128px;padding:22px;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--ink);text-decoration:none;box-shadow:var(--shadow);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.overview-stat-card:hover,.overview-stat-card:focus-visible{transform:translateY(-2px);border-color:#efb3b6;box-shadow:0 13px 35px rgba(38,48,68,.1);outline:0}
.overview-stat-icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:13px;background:#fff0f1;color:var(--red);font-size:21px;font-weight:850}
.overview-stat-card>span:last-child{display:grid;gap:4px;min-width:0}
.overview-stat-card small{color:#7b8799;font-size:10px;font-style:normal;font-weight:800;letter-spacing:.55px;text-transform:uppercase}
.overview-stat-card strong{font-size:27px;line-height:1.08;letter-spacing:-.6px}
.overview-stat-card em{overflow:hidden;color:#8b96a6;font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1080px){.overview-stat-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}}
@media(max-width:780px){.overview-stat-grid{grid-template-columns:1fr}.management-overview-head{align-items:flex-start}.overview-updated{white-space:normal}}
.main-nav{overflow-y:auto;padding-right:3px}

/* Aktivní a archivované trasy */
.route-view-tabs{display:inline-flex;gap:4px;margin:0 0 14px;padding:4px;border:1px solid #dce2ea;border-radius:11px;background:#eef1f5}.route-view-tab{display:flex;align-items:center;gap:8px;min-height:36px;padding:8px 14px;border:0;border-radius:8px;background:transparent;color:#68768b;font:inherit;font-size:10px;font-weight:800;cursor:pointer}.route-view-tab span{display:grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#dfe4eb;color:#59677b;font-size:8px}.route-view-tab.is-active{background:#fff;color:#1b2b43;box-shadow:0 2px 8px rgba(25,42,67,.09)}.route-view-tab.is-active span{background:#fee7e8;color:#b71920}.route-view-tab:focus-visible{outline:2px solid #e31e24;outline-offset:2px}
