/* Shared finishing layer: controls, data surfaces and all secondary pages. */
:root { --ui-green:#25715c; --ui-green-dark:#1c5949; --ui-green-soft:#edf6f1; --ui-border:#dfe8e3; --ui-text:#29483c; --ui-subtle:#62786e; --ui-danger:#a43e42; }
::selection { background:#d8ece1; color:#204c3a; }
:focus-visible { outline-color:#31816a !important; }
.app-shell { background:#f5f7f8; }
.app-shell button, .btn, .workspace-link, .seal-utility button, .legacy-panel button, .legacy-panel .inline-btn { transition:background-color .16s, border-color .16s, box-shadow .16s; font-weight:600; cursor:pointer; }
.app-shell button:disabled, .seal-utility button:disabled, .legacy-panel button:disabled { cursor:not-allowed; box-shadow:none; }
.app-shell > main { border-color:#e0e9e4; }
.app-shell .workspace-heading h1 { color:#244338; font-weight:650; }
.app-shell #sidebar > div:first-child { background:#f9fbfa; color:#375c49; border-bottom-color:var(--ui-border); }
.app-shell #sidebar > .custom-scrollbar { padding:20px 18px; }
.app-shell #sidebar :is(h3,h4,label) { color:#486355; }
.app-shell #sidebar :is(h3,h4) { font-weight:650; }
.app-shell #sidebar label:has(input[type="radio"]) { padding:4px 2px; }
.app-shell #sidebar label:has(input[type="radio"]:checked) { color:#23664d; font-weight:650; }
.app-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .app-shell select, .app-shell textarea { border:1px solid #d8e3dc; border-radius:9px; color:#304e40; background-color:#fff; }
.app-shell :is(input,select,textarea):focus, .seal-utility input:focus, .legacy-panel :is(input,select,textarea):focus { border-color:#6a9d85; box-shadow:0 0 0 3px #25715c12; }
.app-shell :is(input,textarea)::placeholder { color:#65776c; }
.app-shell #sidebar > div[class*="bg-[#1e3a5f]"] { background:#eff6f2; color:#40634e; border-bottom:1px solid #e0e9e2; padding:13px 18px; }
.app-shell #sidebar > div[class*="bg-[#1e3a5f]"] span { text-transform:none; font-weight:600; letter-spacing:0; }
.app-shell button[class*="bg-[#1e3a5f]"], .app-shell button.bg-blue-600, .app-shell #userEditBtn { background:var(--ui-green); color:#fff; border-color:var(--ui-green); box-shadow:0 2px 4px #205e4310; }
.app-shell button[class*="bg-[#1e3a5f]"]:hover, .app-shell button.bg-blue-600:hover, .app-shell #userEditBtn:hover { background:var(--ui-green-dark); }
.app-shell button.bg-blue-500 { background:#edf6f1; color:#27674e; border-color:#d6e7dd; }
.app-shell button.bg-blue-500:hover { background:#e2f0e8; }
.app-shell :is(#userBlockBtn,#userDeleteBtn,#historyDeleteSelectedBtn) { color:var(--ui-danger); background:#fff5f3; border:1px solid #edd5d2; box-shadow:none; }
.app-shell :is(#userBlockBtn,#userDeleteBtn,#historyDeleteSelectedBtn):hover { background:#fce8e5; border-color:#daa9a4; }
.app-shell #userResetPasswordBtn { color:#50685b; background:#f1f5f2; border:1px solid #dae4dc; }
.app-shell :is(.workspace-link,.workflow-guide summary,.workspace-filter) { border-color:#d6e3da; border-radius:10px; }
.app-shell .table-view-tools { background:#fff; border-color:#e7ede9; padding:11px 18px; }
.app-shell .table-density-options { background:#f4f7f5; border-color:#e2eae5; }
.app-shell :is(#sidebar,main) [class*="border-slate-"] { border-color:#e3eae5; }
.app-shell :is(table,.modern-table) th { background:#f7faf8; color:#617669; font-size:11px; font-weight:600; padding-top:15px; padding-bottom:15px; }
.app-shell :is(table,.modern-table) td { color:#3f584c; font-variant-numeric:tabular-nums; }
.app-shell :is(table,.modern-table) tbody tr:hover { background:#f2f8f4; }
.app-shell :is(table,.modern-table) tbody tr.bg-blue-50 { background:#eaf5ee; box-shadow:inset 3px 0 #3b8864; }
.app-shell :is(#usersTableBody,#routesTableBody,#historyTableBody) td:nth-child(2) { font-weight:600; color:#294d3c; }
.app-shell :is(#usersTableBody,#routesTableBody,#historyTableBody) [class*="bg-blue-"] { color:#2f6c52; background:#edf5ef; border-radius:6px; font-weight:600; text-transform:none; }
.app-shell [id$="SearchStats"] { color:#697f71; }
.app-shell .paged-list { background:#f7faf8; color:#607568; border-color:#e2ebe5; padding:12px 16px; }
.app-shell :is(#routesTablePager,#notificationsTablePager,#usersPageButtons) button { border-radius:8px; }
.app-shell .history-delete-btn { background:#fff; color:#9d6262; border-color:#eadfdf; }
.app-shell .history-delete-btn:hover { background:#fff1ee; color:#a43e42; }
.app-shell #historyActivityBody { padding:12px 18px; }
.app-shell #historyActivityBody > div:has(.event-art) { border-bottom:1px solid #edf1ee; padding:8px 0; align-items:center; }
.app-shell #historyActivityBody .event-art { margin-right:2px; }
.app-shell #historyCardsView { background:#f7faf8; padding:18px; gap:14px; }
.history-route-card { border:1px solid #e0e9e3; border-radius:14px; padding:18px; background:#fff; display:flex; flex-direction:column; gap:10px; font-size:12px; box-shadow:0 3px 12px #29473604; }
.history-route-card > div:first-child { padding-bottom:8px; border-bottom:1px solid #eef2ef; font-size:15px; }
.history-route-card > div:not(:first-child) { color:#607465; line-height:1.6; }
.history-route-card [class*="rounded-full"] { font-size:11px; padding:5px 9px; }
.app-shell [role="dialog"] > div:first-child { box-shadow:0 24px 70px #163d322b; border:1px solid #dfe9e2; }
.app-shell [role="dialog"] > div:first-child > div:first-child[class*="bg-[#1e3a5f]"], .app-shell #routeArrowModal [role="dialog"] > div:first-child, .app-shell #modalMessageCard > div > div:first-child { background:#f3f8f5; background-image:none; color:#305641; border-bottom:1px solid #dce9df; box-shadow:none; padding:18px 20px; border-radius:0; }
.app-shell [role="dialog"] > div:first-child > div:first-child[class*="bg-[#1e3a5f]"] :is(h3,i,button), .app-shell #routeArrowModal [role="dialog"] > div:first-child :is(h3,i,button) { color:inherit; }
.app-shell [role="dialog"] :is(label,h4) { text-transform:none; letter-spacing:0; }
.app-shell [role="dialog"] :is(input,select,textarea) { min-height:42px; }
.app-shell [role="dialog"] :is(input[type="checkbox"],input[type="radio"]) { min-height:0; }
.app-shell .leaflet-container { font-family:inherit; }
.app-shell .leaflet-popup-content-wrapper { border:1px solid #dbe7dd; border-radius:14px; box-shadow:0 8px 30px #254b3420; }
.app-shell .leaflet-popup-content { color:#3d5c49; line-height:1.65; }
.app-shell .map-view-controls { box-shadow:0 5px 18px #1d4a3420; border-color:#e0e8e2; }
html[data-page="monitoring"] #monitorListPanel { border-color:#dce7df; }
html[data-page="monitoring"] #transitList > div { border-color:#e8eee9; padding-top:12px; padding-bottom:12px; }
html[data-page="users"] main > section { background:#f8faf9; }
html[data-page="users"] .user-avatar { background:#edf5ef; border:1px solid #deebe1; color:#54826a; border-radius:22px; }
html[data-page="users"] #userDetailName { font-weight:650; color:#2b4f3b; letter-spacing:-.4px; }
html[data-page="users"] #userDetailRole { color:#356c4e; background:#edf6f0; }
html[data-page="users"] #userPermSaveBtn { min-width:120px; flex-shrink:0; }
html[data-page="users"] main > section .shadow-sm { border-radius:14px; }
html[data-page="users"] main > section label:has(input[type="checkbox"]) { padding:8px 10px; background:#f6f8f6; border:1px solid #e9eeea; border-radius:8px; }
html[data-page="users"] main > section label:has(input:checked) { color:#336a4d; background:#f0f7f2; border-color:#dcebe0; }
.user-status { display:inline-flex; align-items:center; gap:6px; font-size:11px; padding:5px 8px; border-radius:6px; font-style:normal; white-space:nowrap; background:#edf6f0; color:#31664a; }
.user-status::before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; }
.user-status[data-active="false"] { color:#9d4546; background:#fff0ed; }
.route-status { display:inline-flex; gap:6px; align-items:center; padding:5px 9px; font-size:11px; border-radius:6px; font-weight:600; color:#337151; background:#edf6f0; white-space:nowrap; }
.route-status::before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; }
.route-status[data-tone="attention"] { color:#986025; background:#fff4e6; }
.route-analysis { background:#fafcfb; }
.route-analysis > div { gap:8px; border:0; background:transparent; box-shadow:none; overflow:visible; }
.route-analysis > div > div { border:1px solid #e2ebe5; border-radius:10px; padding:14px; }
.route-analysis [id^="routePanel"]:not([id$="Hint"]) { color:#335841; font-size:23px; font-weight:600; margin-top:5px; font-variant-numeric:tabular-nums; }
.route-analysis #routePanelDeviation { color:#a34c43; }
.app-shell #sidebar .route-analysis [class*="text-slate-400"], .app-shell #sidebar .route-analysis [class*="text-slate-300"] { color:#5d7463; }
.route-analysis [id$="Hint"] { font-size:10px; line-height:1.5; }
html[data-page="route_page"] { --panel-width:340px; }
.app-shell #sidebar .route-analysis { padding:16px 0; border:0; background:transparent; }
.route-identity { background:#edf6f0; border:1px solid #dce9e0; border-radius:12px; padding:15px; margin-bottom:12px; }
.app-shell #routeStateNumber { font-size:18px; color:#2a593c; letter-spacing:.5px; }
.route-identity > div:last-child { color:#607d68; margin-top:6px; font-size:11px; text-transform:none; font-weight:500; }
.route-disclosure { border:1px solid #dfe8e2; border-radius:10px; padding:12px; margin:12px 0; background:#fff; }
.route-disclosure summary { display:flex; align-items:center; gap:9px; color:#4c6d56; font-size:12px; font-weight:600; cursor:pointer; list-style:none; }
.route-disclosure summary::-webkit-details-marker { display:none; }
.route-disclosure summary::after { content:'+'; margin-left:auto; font-size:18px; font-weight:400; }
.route-disclosure[open] summary::after { content:'−'; }
.route-disclosure[open] summary { margin-bottom:18px; }
.route-disclosure > h4 { font-size:12px; }
.app-shell #sidebar .route-disclosure > .space-y-3 { padding:0; }
#routeMap .route-arrow-marker i { color:#347b62; font-size:11px; }
#routeEventsList > div { border:1px solid #e8eee9; padding:9px; border-radius:10px; margin-top:8px; align-items:center; background:#fff; }
.route-event-content { min-width:0; flex:1; }
.route-event-content strong { display:block; font-weight:600; color:#425f4a; font-size:12px; overflow-wrap:anywhere; }
.route-event-content small { color:#607465; font-size:10px; }
.data-chart { padding:16px; border:1px solid #dfe9e2; border-radius:14px; background:#fff; color:#3c5c47; min-width:0; }
.data-chart h3 { margin:0; font-size:13px; font-weight:650; color:#36573f; }
.data-chart p { font-size:11px; line-height:1.6; color:#607465; margin:7px 0 12px; }
.data-chart svg { display:block; width:100%; overflow:visible; }
.data-chart svg text { font-family:inherit; font-size:20px; fill:#607465; }
.chart-readout { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:5px; min-height:36px; font-size:10px; font-variant-numeric:tabular-nums; }
.chart-readout strong { font-size:18px; font-weight:600; color:#2f6a4c; }
.app-shell .data-chart input[type="range"] { width:100%; min-height:26px; padding:0; border:0; box-shadow:none; accent-color:#348063; cursor:ew-resize; }
.chart-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; min-height:148px; padding:20px; border:1px dashed #dce8df; border-radius:10px; background:#f8fbf9; }
.chart-empty i { font-size:24px; color:#85a18d; margin-bottom:12px; }
.chart-empty span { font-size:12px; line-height:1.6; color:#667f6d; }
.history-summary { padding:26px; display:grid; grid-template-columns:minmax(170px,.9fr) minmax(200px,1.1fr); gap:26px; align-items:center; max-width:850px; margin:20px auto; }
.history-summary-head { grid-column:1/-1; }
.history-summary h3 { font-size:20px; letter-spacing:-.3px; }
.history-summary-head p { font-size:12px; margin-bottom:0; }
.history-donut { position:relative; width:min(100%,230px); aspect-ratio:1; margin:auto; }
.history-donut svg { transform:rotate(-90deg); }
.history-donut-center { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.history-donut-center strong { font-size:42px; line-height:1.2; color:#30563d; font-weight:600; }
.history-donut-center span { font-size:11px; color:#607465; text-align:center; padding:0 26px; }
.history-summary-legend { display:grid; gap:12px; }
.history-summary-legend > div { border:1px solid #e3ebe5; border-radius:11px; padding:15px; display:grid; grid-template-columns:8px 1fr auto; align-items:center; gap:10px; font-size:12px; }
.history-summary-legend i { width:8px; height:8px; border-radius:50%; }
.history-summary-legend b { font-size:22px; font-weight:600; }
.history-summary-legend small { grid-column:2/-1; color:#607465; font-size:11px; }
html[data-page="sealing"] .card { border-color:#dfe8e1; box-shadow:0 5px 22px #21432d04; }
html[data-page="sealing"] .card-title { color:#30553f; letter-spacing:-.3px; }
html[data-page="sealing"] .locks-toolbar { background:#f7faf8; border:1px solid #e3ebe5; padding:16px; border-radius:12px; gap:14px; }
html[data-page="sealing"] .locks-toolbar label { color:#5b7364; font-size:11px; }
html[data-page="sealing"] .locks-filters { background:#f7faf8; border-color:#e0e9e3; border-radius:12px; }
html[data-page="sealing"] .locks-filter-field label { text-transform:none; letter-spacing:0; color:#587261; }
html[data-page="sealing"] .locks-search-wrap { border-color:#dce6df; background:#fff; padding:6px 12px; }
html[data-page="sealing"] .locks-search-wrap input[type="search"] { border:0; background:transparent; }
html[data-page="sealing"] .surface-muted { background:#f6faf7; border-color:#dfeae2; color:#5a7461; border-radius:10px; }
html[data-page="sealing"] #sealModal .modal-card { padding:26px; border-radius:18px; }
html[data-page="sealing"] #sealModal .modal-head { border-bottom:1px solid #e4ece5; padding-bottom:16px; }
html[data-page="sealing"] #sealModal label { color:#4b6854; font-size:12px; margin-top:18px; }
html[data-page="sealing"] #sealModal .card-sub { color:#607465; margin-top:14px; font-size:13px; }
html[data-page="sealing"] .btn-secondary { background:#f1f6f3; color:#4d6b57; border:1px solid #dce7df; }
html[data-page="sealing"] .btn-secondary:hover { background:#e7f0ea; color:#315d40; }
html[data-page="sealing"] .lock-unit-id { font-weight:650; color:#31513d; letter-spacing:.2px; }
html[data-page="sealing"] .lock-registration-label { color:#607465; font-size:11px; margin-top:5px; }
html[data-page="sealing"] .locks-actions-col { min-width:225px; }
html[data-page="sealing"] .locks-actions-col .actions { display:flex; gap:6px; margin:5px 0; flex-wrap:nowrap; }
html[data-page="sealing"] .locks-actions-col .btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; border:1px solid #dce7df; font-size:11px; font-weight:600; line-height:1.4; padding:7px 10px; min-height:34px; border-radius:8px; white-space:nowrap; box-shadow:none; text-decoration:none; }
html[data-page="sealing"] .locks-actions-col .btn-primary { background:#edf6f0; color:#2a6748; border-color:#d9e9de; }
html[data-page="sealing"] .locks-actions-col .btn-success { background:#fff; color:#55715e; }
html[data-page="sealing"] .locks-actions-col .btn-unlock { background:#fff9ed; color:#936320; border-color:#eddebd; }
html[data-page="sealing"] .locks-actions-col .btn-danger { background:#fff; color:#a34d4d; border-color:#eadbda; }
html[data-page="sealing"] .locks-actions-col .btn:hover { filter:brightness(.96); }
html[data-page="sealing"] .lock-status-pill { border-radius:6px; padding:5px 8px; font-size:11px; font-weight:600; }
html[data-page="sealing"] .lock-status-pill.on { color:#326c4b; background:#eef7f1; }
html[data-page="sealing"] .lock-status-pill.off { color:#756c58; background:#f5f2e9; }
.battery-reading { display:inline-flex; align-items:center; gap:8px; white-space:nowrap; font-weight:600; font-size:12px; color:#397050; font-variant-numeric:tabular-nums; }
.battery-reading[data-low="true"] { color:#98631b; }
.battery-reading[data-unknown="true"] { color:#607465; }
.battery-track { position:relative; width:29px; height:14px; border:1.5px solid currentColor; padding:2px; border-radius:3px; display:inline-flex; }
.battery-track::after { content:''; position:absolute; right:-4px; top:3px; width:2px; height:5px; background:currentColor; border-radius:0 1px 1px 0; }
.battery-track > i { height:100%; background:currentColor; border-radius:1px; }
html[data-page="generate"] body { background:radial-gradient(ellipse at 15% 0%,#e9f3ec,transparent 55%),#f5f7f8; min-height:100dvh; padding:24px; }
.seal-utility { position:relative; max-width:840px; margin:34px auto; padding:38px; border-radius:24px; border-color:#dfe8e1; box-shadow:0 15px 55px #31563b08; }
.seal-utility::after { content:''; display:block; height:190px; background:linear-gradient(90deg,#f3f7f11a,#ffffff00),url('img/visuals/transit-daylight.webp') center 68%/cover; border-radius:16px; margin-top:26px; border:1px solid #e5ece5; }
.seal-utility h1 { color:#2c503b; font-size:30px; max-width:590px; }
.seal-utility #appLangSelect { border:1px solid #dce6de; border-radius:8px; padding:8px; font-size:12px; background:#f8faf8; color:#54705c; }
.seal-utility .seal-utility-back { color:#50755d; }
.seal-utility #sealResult { padding:20px; background:#f7faf8; border-color:#e0eae2; min-height:130px; }
.seal-utility label { color:#4d6d55; }
.seal-utility button { color:#39674b; border-color:#d9e5dc; }
.legacy-panel { padding:30px; max-width:1680px; margin:auto; background:#f5f7f8; color:#36523f; }
.legacy-panel h1 { color:#2c503b; font-size:30px; letter-spacing:-.6px; margin:26px 0; font-weight:650; }
.legacy-panel h2 { font-size:18px; color:#3b6048; font-weight:600; margin:0 0 22px; }
.legacy-panel .card { padding:24px; border:1px solid #dfe8e1; border-radius:16px; background:#fff; box-shadow:0 4px 20px #294b3103; }
.legacy-panel .row { gap:20px; align-items:flex-start; }
.legacy-panel .top-status .card { background:linear-gradient(110deg,#eff7f1,#fff); margin-bottom:20px; }
.legacy-panel :is(label,th) { color:#647c69; font-size:12px; }
.legacy-panel label { display:block; margin:16px 0 7px; font-weight:600; }
.legacy-panel :is(input,select,textarea) { min-height:42px; border:1px solid #d9e5dc; padding:10px 12px; color:#35593f; border-radius:9px; background:#fff; }
.legacy-panel :is(button,.inline-btn) { display:inline-flex; align-items:center; justify-content:center; padding:10px 13px; border:1px solid #25715c; border-radius:8px; background:#25715c; color:#fff; font-size:12px; text-decoration:none; }
.legacy-panel :is(.btn-gray,.btn-secondary) { color:#516d59; background:#f2f6f3; border-color:#dce7df; }
.legacy-panel .btn-danger { color:#a04848; background:#fff3f0; border-color:#edd8d2; }
.legacy-panel table { border-collapse:collapse; width:100%; }
.legacy-panel th { background:#f5f9f6; padding:12px 10px; border-color:#e4ece6; font-weight:600; }
.legacy-panel td { font-size:12px; padding:13px 10px; border-color:#e9eeea; line-height:1.5; }
.legacy-panel .badge { border-radius:6px; font-size:11px; padding:5px 8px; }
.legacy-panel .badge.ok { color:#2f6b48; background:#e9f6ed; }
.legacy-panel .badge.bad { color:#a34e40; background:#fff1ec; }
.legacy-panel pre { border:1px solid #dce7df; border-radius:10px; background:#f5f9f6; color:#48664f; padding:16px; }
@media (max-width:1023px) {
  .history-summary { grid-template-columns:1fr; max-width:500px; gap:22px; }
  .history-summary-head { grid-column:1; }
  .legacy-panel .row > .card { flex:1 1 100%; width:100%; }
}
@media (max-width:639px) {
  html[data-page="route_page"] { --panel-width:calc(100vw - 42px); }
  .app-shell #sidebar > .custom-scrollbar { padding:16px; }
  .app-shell [role="dialog"] > div:first-child > div:first-child[class*="bg-[#1e3a5f]"] { padding:15px; }
  .history-summary { margin:10px; padding:20px; }
  .history-summary h3 { font-size:18px; }
  .history-donut { width:190px; }
  html[data-page="sealing"] .locks-actions-col { min-width:0; }
  html[data-page="sealing"] .locks-actions-col .btn { min-height:40px; flex:1; }
  html[data-page="sealing"] .locks-actions-col .actions > form { flex:1; }
  html[data-page="sealing"] .locks-actions-col .actions > form .btn { width:100%; }
  html[data-page="generate"] body { padding:12px; }
  .seal-utility { margin:8px auto; padding:22px; border-radius:18px; }
  .seal-utility h1 { font-size:26px; }
  .seal-utility::after { height:150px; }
  .seal-utility-actions input { width:100%; min-width:0; flex-basis:100%; }
  .seal-utility-actions button { flex:1; }
  .seal-utility-back { font-size:11px; }
  .legacy-panel { padding:18px 12px; }
  .legacy-panel .card { padding:18px; }
  .legacy-panel h1 { font-size:25px; }
}
@media (prefers-reduced-motion:reduce) { .app-shell button,.btn,.workspace-link,.seal-utility button,.legacy-panel button,.legacy-panel .inline-btn { transition:none; } }

/* Keep text and native controls clear of borders, including Tailwind's form reset. */
.app-shell input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="color"]):not([type="file"]),
.app-shell textarea { padding:10px 12px; min-width:0; max-width:100%; line-height:1.5; }
:is(.app-shell,.auth-page,.seal-utility,.legacy-panel) select:not([multiple]) {
  appearance:none;
  padding:10px 40px 10px 12px;
  min-height:42px;
  line-height:1.5;
  --ui-select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23577365' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-image:var(--ui-select-arrow);
  background-position:right 12px center;
  background-repeat:no-repeat;
  background-size:16px;
}
:is(.app-shell,.auth-page,.seal-utility,.legacy-panel) #appLangSelect, .app-shell header #appLangSelect {
  padding:8px 36px 8px 12px;
  width:112px;
  min-width:112px;
  max-width:100%;
  min-height:38px;
  background-image:var(--ui-select-arrow);
  background-position:right 10px center;
  background-repeat:no-repeat;
  background-size:16px;
}
.app-shell :is(input[type="date"],input[type="datetime-local"]) { font-variant-numeric:tabular-nums; }
.app-shell :is(input[type="date"],input[type="datetime-local"])::-webkit-datetime-edit { padding:0; }
.app-shell :is(input[type="date"],input[type="datetime-local"])::-webkit-calendar-picker-indicator { margin:0 0 0 8px; padding:2px; width:16px; height:16px; cursor:pointer; flex-shrink:0; }
.app-shell .date-range-fields { display:grid; grid-template-columns:auto minmax(0,1fr); gap:8px 10px; }
.app-shell .date-range-fields > input { width:100%; grid-column:2; }
.app-shell .date-range-fields > label { margin:0; }
.app-shell :is(#notificationsPerPageSelect,#routesPerPageSelect,#historyPerPageSelect) { min-width:84px; width:auto; }
.app-shell #notifyDetailStatus { padding-left:32px; }
.app-shell :is(#routesSearch,#historyQuickSearch,#notificationsQuickSearch) { padding-left:38px; }
.app-shell :is(#routesSearch,#historyQuickSearch,#notificationsQuickSearch) { min-height:42px; }
.app-shell :is(div,span):has(> :is(#routesSearch,#historyQuickSearch,#notificationsQuickSearch)) > span { left:13px; top:50%; transform:translateY(-50%); pointer-events:none; }
.app-shell #transitListQuickSearch { border:0; background:transparent; padding:8px 4px; }
html[data-page="sealing"] #locksQuickSearch { border:0; background:transparent; padding:8px 4px; min-width:0; }
.app-shell button:has(> .fa-chevron-down), .app-shell button[aria-haspopup="listbox"] { padding:10px 12px; gap:10px; }
.app-shell button > :is(.fa-chevron-down,.fa-angle-down), .route-disclosure summary::after { flex-shrink:0; }
.app-shell button:has(> .fa-chevron-down) > span { min-width:0; }
.app-shell select + .fa-chevron-down { display:none; }
.app-shell :is(.route-disclosure,.workflow-guide) summary { line-height:1.5; min-height:38px; }
.app-shell .route-disclosure { padding:12px 14px; }
.app-shell .route-disclosure summary { gap:12px; }
.app-shell table th > .fa-chevron-down { margin-left:8px; margin-right:2px; }
.legacy-panel :is(th,td) { padding-left:14px; padding-right:14px; }
html[data-page="sealing"] .locks-filters { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); gap:16px; padding:18px; }
html[data-page="sealing"] .locks-filter-field { min-width:0; max-width:none; gap:7px; }
html[data-page="sealing"] .locks-filter-field label { line-height:1.5; }
html[data-page="sealing"] .locks-filter-field :is(input,select) { min-height:44px; width:100%; }
html[data-page="sealing"] .locks-filter-field input { padding:10px 12px; }
html[data-page="sealing"] .locks-filter-actions { margin-left:0; align-self:end; }
@media (min-width:640px) {
  html[data-page] .app-shell .modern-table :is(th,td) { padding-left:16px; padding-right:16px; }
}
@media (max-width:639px) {
  html[data-page="sealing"] .locks-filters { padding:14px; gap:14px; }
  .app-shell #modal .transit-fields-table > thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .app-shell #modal .transit-fields-table > tbody { display:block; }
  .app-shell #modal .transit-fields-table > tbody > tr:not(.hidden):not([hidden]) { display:grid; grid-template-columns:minmax(0,1fr); border:1px solid #e2ebe5; border-radius:10px; margin-bottom:10px; background:#fff; }
  .app-shell #modal .transit-fields-table td { display:block; min-width:0; width:auto; border:0; padding:0 12px 12px; }
  .app-shell #modal .transit-fields-table td:first-child { padding:12px 12px 7px; line-height:1.5; }
}
@media (max-width:359px) {
  .app-shell header #headerUserName { max-width:52px; }
  .app-shell header #headerUserContainer { padding-left:6px; }
}
@media (forced-colors:active) {
  :is(.app-shell,.auth-page,.seal-utility,.legacy-panel) select:not([multiple]), :is(.app-shell,.auth-page,.seal-utility) #appLangSelect, .app-shell header #appLangSelect { appearance:auto; background-image:none; }
}
