/* The current directory shares the former sizes catalogue's visual language. */
body[data-current-routes] {
  --paper:#eef2ef;
  --ink:#17231f;
  --line:#cbd6ce;
  --green:#167153;
  --green-dark:#174f3e;
  --muted:#63736b;
  background:var(--paper);
}
body[data-current-routes] #workspace { max-width:1360px;padding:28px 24px 56px; }
body[data-current-routes] #workspace>.panel:first-child {
  margin:0 0 20px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px;align-items:center;
}
body[data-current-routes] .route-help { grid-column:2;grid-row:1;margin:0;justify-self:end; }
body[data-current-routes] .route-help-content { max-width:760px;background:#fff;border-color:#cbd6ce; }
body[data-current-routes] .route-help[open] { grid-column:1/-1;grid-row:auto;justify-self:stretch; }
body[data-current-routes] .registry-heading { margin:0;gap:12px; }
body[data-current-routes] .registry-heading p { margin:0;color:#567064;font-size:14px;line-height:1.6;max-width:62ch; }
body[data-current-routes] .panel:first-child>.registry-heading { grid-column:1;grid-row:1; }
body[data-current-routes] .route-directory-actions { margin:0;align-items:center; }
body[data-current-routes] #status { grid-column:1;margin:0;color:#567064;font-size:12px;line-height:1.6; }
body[data-current-routes] #rulesError:empty { display:none; }
body[data-current-routes] #rulesError { grid-column:1/-1;margin:0;color:#a33c3c; }
body[data-current-routes] #reloadCurrentRoutes { grid-column:2;grid-row:2; }
body[data-current-routes] #addRouteLink {
  min-height:44px;padding:11px 15px;color:#fff;border:1px solid #167153;border-radius:8px;background:#167153;
  font-weight:700;text-decoration:none;display:inline-flex;align-items:center;
}
body[data-current-routes] #addRouteLink:hover { background:#174f3e; }
body[data-current-routes] #workspace button,
body[data-current-routes] #manageRoutesLink>summary {
  min-height:44px;padding:10px 14px;border:1px solid #bcd8c4;border-radius:8px;background:#f4f9f5;color:#174f3e;font-size:13px;font-weight:600;cursor:pointer;
}
body[data-current-routes] #workspace button:hover { background:#e9f5ec; }
body[data-current-routes] #workspace button:disabled { opacity:.6;cursor:wait; }
body[data-current-routes] #workspace>.registry-panel {
  margin:0;padding:0;border:1px solid #cbd6ce;border-radius:16px;background:#fff;overflow:hidden;
  box-shadow:0 18px 45px rgba(13,63,48,.12);
}
body[data-current-routes] .registry-panel>.registry-heading { padding:14px 18px;background:#f8fbf8;border-bottom:1px solid #deeadf; }
body[data-current-routes] .registry-heading .type-switch { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%; }
body[data-current-routes] #workspace .type-switch button { min-height:52px;padding:12px 16px;text-align:left;color:#4e695b;background:transparent;border:1px solid transparent;border-radius:10px;font-size:14px;font-weight:700; }
body[data-current-routes] #workspace .type-switch button:hover { background:#eef6f0; }
body[data-current-routes] #workspace .type-switch button.active { background:#167153;color:#fff;border-color:#167153;box-shadow:0 5px 12px rgba(18,99,69,.18); }
body[data-current-routes] .registry-filters { padding:18px;background:#f8fbf8;border-bottom:1px solid #deeadf;gap:12px; }
body[data-current-routes] #workspace .registry-filters label { margin:0;gap:6px;color:#567064;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase; }
body[data-current-routes] #workspace .registry-filters input,
body[data-current-routes] #workspace .registry-filters select,
body[data-current-routes] #routeView { width:100%;min-height:44px;padding:9px 11px;color:#17231f;border:1px solid #cbd6ce;border-radius:8px;background:#fff;font-size:14px;font-weight:600;letter-spacing:normal;text-transform:none; }
body[data-current-routes] #workspace .registry-view { display:flex;justify-content:space-between;gap:12px;margin:0;padding:14px 18px 0;color:#567064;font-size:12px;font-weight:600; }
body[data-current-routes] #routeView { width:auto;max-width:100%; }
body[data-current-routes] #count { margin:0;padding:13px 18px;color:#245d49;font-size:13px;font-weight:700;border-bottom:1px solid #e1ebe3; }
body[data-current-routes] #count:empty { display:none; }
body[data-current-routes] .table-hint { margin:0;padding:14px 18px;color:#63736b;font-size:12px; }
body[data-current-routes] .route-table-scroll { border:0;border-radius:0; }
body[data-current-routes] .route-table caption { padding:12px 18px;color:#63736b;font-size:12px; }
body[data-current-routes] .route-table th { padding:12px 18px;color:#567064;background:#f8fbf8;border:0;border-bottom:1px solid #deeadf;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase; }
body[data-current-routes] .route-table td { padding:14px 18px;border:0;border-top:1px solid #e4ece6;background:#fff; }
body[data-current-routes] .route-table .source-band td { background:#fbfdfb; }
body[data-current-routes] .route-table .source-start td { border-top:1px solid #cbd6ce; }
body[data-current-routes] .route-table td.table-finished { background:#f0f8f2; }
body[data-current-routes] .route-table tr:hover td { background:#f4f9f5; }
body[data-current-routes] .route-table td strong { color:#173c35;font-size:14px;font-weight:700; }
body[data-current-routes] .route-table td small { color:#567064;font-size:11px; }
body[data-current-routes] .route-source-group { margin:0;border-top:0;border-bottom:1px solid #e4ece6; }
body[data-current-routes] .route-source-group>summary { padding:18px;color:#567064; }
body[data-current-routes] .route-source-group>summary strong { color:#173c35;font-size:17px;font-variant-numeric:tabular-nums; }
body[data-current-routes] .route-source-group[open]>summary { padding-left:15px;border-left:3px solid #167153;background:#f0f8f2; }
body[data-current-routes] .route-cards { padding:14px 18px 18px;background:#f8fbf8; }
body[data-current-routes] .route-card,body[data-current-routes] .exception-card { padding:18px;border:1px solid #deeadf;border-radius:10px;background:#fff;box-shadow:none; }
body[data-current-routes] .route-card-heading>span { font-size:13px;color:#245d49; }
body[data-current-routes] .route-step strong { color:#173c35;font-variant-numeric:tabular-nums;font-size:14px; }
body[data-current-routes] .exceptions-grid { margin:0;padding:18px;background:#f8fbf8; }
body[data-current-routes] .exception-heading>small { padding:4px 8px;border-radius:999px;background:#e7f1e9;color:#355c4b;font-size:11px; }
body[data-current-routes] #retry { margin:18px; }
body[data-current-routes] #workspace :focus-visible { outline:3px solid #83b396;outline-offset:2px; }
@media(max-width:820px) {
  body[data-current-routes] #workspace { padding:24px 16px 40px; }
  body[data-current-routes] .panel:first-child>.registry-heading { align-items:flex-start;flex-direction:column; }
}
@media(max-width:560px) {
  body[data-current-routes] #workspace { padding:20px 14px 36px; }
  body[data-current-routes] #workspace>.panel:first-child { grid-template-columns:minmax(0,1fr) auto;gap:12px; }
  body[data-current-routes] #status { grid-column:1/-1; }
  body[data-current-routes] #reloadCurrentRoutes { grid-column:1/-1;grid-row:auto;justify-self:start; }
  body[data-current-routes] .registry-panel>.registry-heading,body[data-current-routes] .registry-filters { padding:14px; }
  body[data-current-routes] .registry-heading .type-switch { grid-template-columns:minmax(0,1fr); }
  body[data-current-routes] .registry-filters { grid-template-columns:minmax(0,1fr); }
  body[data-current-routes] #workspace .registry-view { align-items:stretch;flex-direction:column;padding:14px 14px 0; }
  body[data-current-routes] #routeView { width:100%; }
  body[data-current-routes] .route-cards,body[data-current-routes] .exceptions-grid { padding:14px; }
}
