/* Prodcell modern skin (TASK-112). Presentation only: scoped to :where(body.pc-ui) and
   @media screen so print output and standalone documents keep their old look.
   Tokens mirror the graphs SPA (prodcell-graphs/src/index.css); --pc-accent is
   overridden per tenant from full.html.twig. */
@media screen {

:root {
  --pc-bg: #f4f6f8;
  --pc-surface: #ffffff;
  --pc-surface-2: #f8fafc;
  --pc-surface-3: #eef1f4;
  --pc-border: #e4e7ec;
  --pc-border-2: #d6dbe2;
  --pc-ink: #1f2937;
  --pc-ink-2: #5b6573;
  --pc-ink-3: #8a93a0;
  --pc-accent: #2563eb;
  --pc-accent-soft: #eaf0fe;
  --pc-ok: #15803d;      --pc-ok-soft: #e6f4eb;
  --pc-warn: #b87a16;    --pc-warn-soft: #fbf1da;
  --pc-violet: #7c3aed;  --pc-violet-soft: #f2ecfe;
  --pc-indigo: #4f46e5;  --pc-indigo-soft: #edebfe;
  --pc-sky: #0369a1;     --pc-sky-soft: #e1f0fa;
  --pc-teal: #0f766e;    --pc-teal-soft: #e0f2f0;
  --pc-danger: #b42323;  --pc-danger-soft: #fbe9e9;
  --pc-font: 'IBM Plex Sans', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  /* NOT a mono face: both Plex Mono and Roboto Mono dot their zeros, and on
     document numbers (T-000013) the dots read as specks (Artur 25.08, twice).
     Plex Sans has a clean oval zero; tabular figures keep columns aligned. */
  --pc-mono: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pc-r-card: 10px;
  --pc-r-ctl: 8px;
  --pc-shadow: 0 1px 2px rgba(31, 41, 55, 0.06);
}
@supports (color: color-mix(in srgb, red 50%, white)) {
  :root {
    --pc-accent-soft: color-mix(in srgb, var(--pc-accent) 11%, #ffffff);
  }
}

/* ---------- base ---------- */
body:where(.pc-ui) {
  background: var(--pc-bg);
  color: var(--pc-ink);
  font-family: var(--pc-font);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
/* Desktop only: the graphs page overrides the mobile top margin (78px) with a
   lower-specificity selector, which must keep winning below 768px. */
@media (min-width: 768px) {
  :where(body.pc-ui) #main-container { margin-top: 96px; }
}
:where(body.pc-ui) h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 1rem; }
:where(body.pc-ui) h2 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
:where(body.pc-ui) h3 { font-size: 1.05rem; font-weight: 600; }
:where(body.pc-ui) h4 { font-size: 0.95rem; font-weight: 600; }
:where(body.pc-ui) a { color: var(--pc-accent); }
:where(body.pc-ui) a:hover { color: var(--pc-accent); }
:where(body.pc-ui) ::selection { background: var(--pc-accent); color: #fff; }
:where(body.pc-ui) .text-secondary { color: var(--pc-ink-3) !important; }
:where(body.pc-ui) .text-muted { color: var(--pc-ink-3) !important; }
:where(body.pc-ui) .footer { border-top: 1px solid var(--pc-border); color: var(--pc-ink-3); font-size: 12px; }

/* ---------- navbar ---------- */
:where(body.pc-ui) .navbar { box-shadow: 0 1px 0 rgba(31, 41, 55, 0.08); }
:where(body.pc-ui) .navbar.bg-dark { background-color: #171c24 !important; }
:where(body.pc-ui) .navbar-dark .navbar-nav .nav-link { color: #aeb6c2; font-weight: 500; }
:where(body.pc-ui) .navbar-dark .navbar-nav .nav-link:hover,
:where(body.pc-ui) .navbar-dark .navbar-nav .nav-link:focus { color: #ffffff; }
/* !important: the template pairs navbar-light with the bg-light utility. */
:where(body.pc-ui) .navbar-light { background-color: var(--pc-surface) !important; border-bottom: 1px solid var(--pc-border); }
:where(body.pc-ui) .navbar-light .navbar-nav .nav-link { color: var(--pc-ink-2); font-weight: 500; }
:where(body.pc-ui) .navbar-light .navbar-nav .nav-link:hover,
:where(body.pc-ui) .navbar-light .navbar-nav .nav-link:focus { color: var(--pc-ink); }
:where(body.pc-ui) .navbar .nav-link { font-size: 0.875rem; }

/* ---------- dropdowns ---------- */
:where(body.pc-ui) .dropdown-menu {
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-r-card);
  box-shadow: 0 6px 24px rgba(31, 41, 55, 0.12);
  padding: 6px;
  font-size: 0.875rem;
}
:where(body.pc-ui) .dropdown-item { border-radius: 6px; padding: 0.4rem 0.75rem; color: var(--pc-ink); }
:where(body.pc-ui) .dropdown-item:hover, :where(body.pc-ui) .dropdown-item:focus { background: var(--pc-surface-3); color: var(--pc-ink); }
:where(body.pc-ui) .dropdown-item.active, :where(body.pc-ui) .dropdown-item:active { background: var(--pc-accent); color: #fff; }
:where(body.pc-ui) .dropdown-divider { border-top-color: var(--pc-border); }

/* ---------- buttons ---------- */
:where(body.pc-ui) .btn {
  border-radius: var(--pc-r-ctl);
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.5rem 0.875rem;
}
:where(body.pc-ui) .btn-lg { font-size: 1.05rem; padding: 0.6rem 1.15rem; }
:where(body.pc-ui) .btn-sm { font-size: 0.78rem; padding: 0.3rem 0.55rem; border-radius: 7px; }
/* State variants listed explicitly: with the :where scope Bootstrap's own
   :focus/:disabled rules would otherwise out-specificity these and flash the
   stock blue/gray on every click. */
:where(body.pc-ui) .btn-primary,
:where(body.pc-ui) .btn-primary.disabled,
:where(body.pc-ui) .btn-primary:disabled,
:where(body.pc-ui) .btn-primary:not(:disabled):not(.disabled):active {
  background-color: var(--pc-accent);
  border-color: var(--pc-accent);
  box-shadow: var(--pc-shadow);
}
:where(body.pc-ui) .btn-primary:hover { background-color: var(--pc-accent); border-color: var(--pc-accent); filter: brightness(0.92); }
:where(body.pc-ui) .btn-primary:focus,
:where(body.pc-ui) .btn-primary.focus {
  background-color: var(--pc-accent);
  border-color: var(--pc-accent);
  box-shadow: 0 0 0 3px var(--pc-accent-soft);
}
:where(body.pc-ui) .btn-outline-primary { color: var(--pc-accent); border-color: var(--pc-accent); }
:where(body.pc-ui) .btn-outline-primary:hover { background-color: var(--pc-accent); border-color: var(--pc-accent); color: #fff; }
:where(body.pc-ui) .btn-outline-primary:focus,
:where(body.pc-ui) .btn-outline-primary.focus { box-shadow: 0 0 0 3px var(--pc-accent-soft); }
:where(body.pc-ui) .btn-light,
:where(body.pc-ui) .btn-secondary,
:where(body.pc-ui) .btn-light.disabled,
:where(body.pc-ui) .btn-light:disabled,
:where(body.pc-ui) .btn-secondary.disabled,
:where(body.pc-ui) .btn-secondary:disabled {
  background-color: var(--pc-surface);
  border-color: var(--pc-border-2);
  color: var(--pc-ink);
}
:where(body.pc-ui) .btn-light:hover,
:where(body.pc-ui) .btn-secondary:hover {
  background-color: var(--pc-surface);
  border-color: var(--pc-ink-3);
  color: var(--pc-ink);
}
:where(body.pc-ui) .btn-light:focus,
:where(body.pc-ui) .btn-light.focus,
:where(body.pc-ui) .btn-secondary:focus,
:where(body.pc-ui) .btn-secondary.focus {
  background-color: var(--pc-surface);
  border-color: var(--pc-ink-3);
  color: var(--pc-ink);
  box-shadow: 0 0 0 3px var(--pc-accent-soft);
}
:where(body.pc-ui) .btn:focus, :where(body.pc-ui) .btn:focus-visible {
  box-shadow: 0 0 0 3px var(--pc-accent-soft);
}
/* Quiet icon actions on table rows; delete shows intent only on hover.
   Undelete keeps its btn-danger identity: on a deleted-rows list the restore
   action must stand out. */
:where(body.pc-ui) .pc-rowact { display: inline-flex; gap: 4px; white-space: nowrap; }
:where(body.pc-ui) .pc-rowact .btn:not(.btn-undelete) {
  background: transparent;
  border-color: transparent;
  color: var(--pc-ink-3);
  box-shadow: none;
}
:where(body.pc-ui) .pc-rowact .btn:not(.btn-undelete):hover {
  background: var(--pc-surface-2);
  border-color: var(--pc-border);
  color: var(--pc-ink);
}
:where(body.pc-ui) .pc-rowact .btn-delete:hover,
:where(body.pc-ui) .pc-rowact .btn-remove:hover {
  background: var(--pc-danger-soft);
  border-color: #f2cccc;
  color: var(--pc-danger);
}

/* ---------- cards ---------- */
:where(body.pc-ui) .card {
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-r-card);
  box-shadow: var(--pc-shadow);
}
:where(body.pc-ui) .card-header {
  background: var(--pc-surface);
  border-bottom: 1px solid var(--pc-border);
  font-weight: 600;
  border-radius: var(--pc-r-card) var(--pc-r-card) 0 0 !important;
}
:where(body.pc-ui) .card .card-body.bg-light { background: var(--pc-surface) !important; }

/* ---------- tables ---------- */
:where(body.pc-ui) .table { color: var(--pc-ink); }
:where(body.pc-ui) .table thead th {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pc-ink-3);
  background: var(--pc-surface-2);
  border-top: none;
  border-bottom: 1px solid var(--pc-border);
  padding: 0.55rem 1rem;
  white-space: nowrap;
}
:where(body.pc-ui) .table td { padding: 0.6rem 1rem; border-top: 1px solid var(--pc-surface-3); font-size: 0.8438rem; vertical-align: middle; }
:where(body.pc-ui) .table-striped tbody tr:nth-of-type(odd) { background-color: transparent; }
:where(body.pc-ui) .table-hover tbody tr:hover { background-color: var(--pc-surface-2); color: inherit; }
:where(body.pc-ui) .table .deleted td { color: #9b6a6a; }

/* Card shell around every DataTable / listing table. */
:where(body.pc-ui) .pc-tablecard {
  background: var(--pc-surface);
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-r-card);
  box-shadow: var(--pc-shadow);
  overflow: hidden;
}
:where(body.pc-ui) .pc-tablecard .table { margin-bottom: 0; }
/* DataTables 2.3-bs4 paints its own faint zebra/hover via inset box-shadow on
   cells; neutralize it inside the card so the stripeless design holds. */
:where(body.pc-ui) .pc-tablecard table.dataTable.table-striped > tbody > tr:nth-of-type(odd) > *,
:where(body.pc-ui) .pc-tablecard table.dataTable.table-hover > tbody > tr:hover > * { box-shadow: none; }
:where(body.pc-ui) .pc-tablecard > .table { border-radius: var(--pc-r-card); }

/* DataTables v2 chrome: first control row becomes the card toolbar, the last
   one the card footer. Old v1 class names kept for safety. */
/* Only inside a table card: bare DataTables (inventory etc.) keep their
   default control-row layout until their pages join the card shell. */
:where(body.pc-ui) .pc-tablecard div.dt-container > div.row { margin: 0; align-items: center; }
:where(body.pc-ui) .pc-tablecard div.dt-container > div.row:first-child { padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--pc-border); }
:where(body.pc-ui) .pc-tablecard div.dt-container > div.row:last-child { padding: 0.5rem 0.6rem; border-top: 1px solid var(--pc-border); }
:where(body.pc-ui) div.dt-container div.dt-length label,
:where(body.pc-ui) div.dt-container div.dt-search label,
:where(body.pc-ui) .dataTables_length label, :where(body.pc-ui) .dataTables_filter label {
  color: var(--pc-ink-3);
  font-size: 0.8125rem;
  margin-bottom: 0;
}
:where(body.pc-ui) div.dt-container div.dt-search input,
:where(body.pc-ui) .dataTables_filter input {
  border: 1px solid var(--pc-border-2);
  border-radius: var(--pc-r-ctl);
  height: 34px;
  padding: 0 0.7rem;
  font-size: 0.8125rem;
  color: var(--pc-ink);
  background: var(--pc-surface);
}
:where(body.pc-ui) div.dt-container div.dt-search input:focus,
:where(body.pc-ui) .dataTables_filter input:focus {
  outline: none;
  border-color: var(--pc-accent);
  box-shadow: 0 0 0 3px var(--pc-accent-soft);
}
:where(body.pc-ui) div.dt-container div.dt-length select,
:where(body.pc-ui) .dataTables_length select {
  border: 1px solid var(--pc-border-2);
  border-radius: 7px;
  height: 30px;
  font-size: 0.8125rem;
  color: var(--pc-ink-2);
  background-color: var(--pc-surface);
}
:where(body.pc-ui) div.dt-container div.dt-info,
:where(body.pc-ui) .dataTables_info {
  color: var(--pc-ink-3);
  font-size: 0.78rem;
  padding-top: 0;
}
:where(body.pc-ui) .dt-scroll-body { border-bottom: none !important; }

/* ---------- pagination ---------- */
:where(body.pc-ui) .pagination { margin-bottom: 0; }
:where(body.pc-ui) .page-item .page-link {
  border: 1px solid transparent;
  border-radius: 7px !important;
  margin-left: 3px;
  color: var(--pc-ink-2);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  background: transparent;
}
:where(body.pc-ui) .page-item .page-link:hover { background: var(--pc-surface-3); color: var(--pc-ink); }
:where(body.pc-ui) .page-item.active .page-link { background: var(--pc-accent); border-color: var(--pc-accent); color: #fff; }
:where(body.pc-ui) .page-item.disabled .page-link { color: var(--pc-border-2); background: transparent; }
:where(body.pc-ui) .page-link:focus { box-shadow: 0 0 0 3px var(--pc-accent-soft); }

/* ---------- status pills ---------- */
:where(body.pc-ui) .pc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
  color: var(--pc-ink-2);
  background: var(--pc-surface-3);
}
:where(body.pc-ui) .pc-pill::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: currentColor; flex: none; }
:where(body.pc-ui) .pc-pill--uus, :where(body.pc-ui) .pc-pill--hinnaparing { color: #1d4fc4; background: var(--pc-accent-soft); }
:where(body.pc-ui) .pc-pill--pakkumine { color: var(--pc-violet); background: var(--pc-violet-soft); }
:where(body.pc-ui) .pc-pill--kinnitatud, :where(body.pc-ui) .pc-pill--tellimus, :where(body.pc-ui) .pc-pill--broneeritud { color: var(--pc-indigo); background: var(--pc-indigo-soft); }
:where(body.pc-ui) .pc-pill--moodistuses { color: var(--pc-sky); background: var(--pc-sky-soft); }
:where(body.pc-ui) .pc-pill--tootmises { color: var(--pc-warn); background: var(--pc-warn-soft); }
:where(body.pc-ui) .pc-pill--valmis, :where(body.pc-ui) .pc-pill--laos, :where(body.pc-ui) .pc-pill--ostetud { color: var(--pc-ok); background: var(--pc-ok-soft); }
:where(body.pc-ui) .pc-pill--paigaldatud, :where(body.pc-ui) .pc-pill--tarnitud, :where(body.pc-ui) .pc-pill--jaak { color: var(--pc-teal); background: var(--pc-teal-soft); }
:where(body.pc-ui) .pc-pill--tuhistatud { color: var(--pc-danger); background: var(--pc-danger-soft); }
/* The quotes list surfaces the prepayment leg beside the status (TASK-116). */
:where(body.pc-ui) .pc-pill--ettemaksuarve-valjastatud { color: var(--pc-warn); background: var(--pc-warn-soft); }
:where(body.pc-ui) .pc-pill--ettemaks-laekunud { color: var(--pc-ok); background: var(--pc-ok-soft); }
/* Field-visit pills on the order view (planned = blue family, done = green). */
:where(body.pc-ui) .pc-pill--moodistus { color: var(--pc-sky); background: var(--pc-sky-soft); }
:where(body.pc-ui) .pc-pill--paigaldus { color: var(--pc-teal); background: var(--pc-teal-soft); }
:where(body.pc-ui) .pc-pill--moodistus-tehtud, :where(body.pc-ui) .pc-pill--paigaldus-tehtud { color: var(--pc-ok); background: var(--pc-ok-soft); }

/* ---------- code / document numbers ---------- */
:where(body.pc-ui) .pc-code {
  font-family: var(--pc-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
:where(body.pc-ui) .pc-code-chip {
  font-family: var(--pc-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pc-ink);
  background: var(--pc-surface-3);
  border: 1px solid var(--pc-border);
  border-radius: 6px;
  padding: 1px 7px;
  white-space: nowrap;
}

/* ---------- page header + list top actions ---------- */
:where(body.pc-ui) .pc-pagehead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 0.9rem; }
:where(body.pc-ui) .pc-pagehead h1 { margin-bottom: 0; }
:where(body.pc-ui) .pc-pagehead .pc-spacer { margin-left: auto; }

/* Top-of-page action button cluster. Desktop: right-aligned row. Phone: the
   buttons share the width and wrap into an even grid instead of a ragged
   right-hung column. */
:where(body.pc-ui) .pc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
:where(body.pc-ui) .pc-actions form { display: flex; margin: 0; }
:where(body.pc-ui) .pc-actions form .form-control { width: auto; }
@media (max-width: 767.98px) {
  :where(body.pc-ui) .pc-actions { justify-content: flex-start; margin-bottom: 0.75rem; }
  :where(body.pc-ui) .pc-actions .btn { flex: 1 1 auto; }
  :where(body.pc-ui) .pc-actions form { flex: 1 1 150px; }
  :where(body.pc-ui) .pc-actions form .form-control { width: 100%; flex: 1 1 auto; }
}

/* ---------- empty state ---------- */
:where(body.pc-ui) .pc-empty {
  background: var(--pc-surface);
  border: 1px dashed var(--pc-border-2);
  border-radius: var(--pc-r-card);
  padding: 40px 20px;
  text-align: center;
  color: var(--pc-ink-3);
}
:where(body.pc-ui) .pc-empty .fa { font-size: 22px; display: block; margin-bottom: 8px; color: var(--pc-border-2); }

/* ---------- detail view ---------- */
:where(body.pc-ui) .pc-vhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 1rem; }
:where(body.pc-ui) .pc-vhead h1 { margin-bottom: 0; }
:where(body.pc-ui) .pc-vhead .pc-spacer { margin-left: auto; }
:where(body.pc-ui) .pc-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
:where(body.pc-ui) .pc-dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--pc-surface-3);
  font-size: 0.8438rem;
}
:where(body.pc-ui) .pc-dl--1col { grid-template-columns: 1fr; }
:where(body.pc-ui) .pc-dl .pc-dt { color: var(--pc-ink-2); }
:where(body.pc-ui) .pc-dl .pc-dd { font-weight: 500; text-align: right; overflow-wrap: anywhere; }
:where(body.pc-ui) .pc-dd-empty { color: var(--pc-ink-3); font-weight: 400; }
:where(body.pc-ui) .pc-vtech { font-size: 0.78rem; color: var(--pc-ink-3); }
:where(body.pc-ui) .pc-vtech .pc-dl > div { font-size: 0.78rem; }
:where(body.pc-ui) .pc-vtech h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pc-ink-3);
  margin-bottom: 0.6rem;
}
@media (max-width: 767.98px) {
  :where(body.pc-ui) .pc-dl { grid-template-columns: 1fr; }
}

/* ---------- forms ---------- */
:where(body.pc-ui) .form-control, :where(body.pc-ui) .custom-select {
  border: 1px solid var(--pc-border-2);
  border-radius: var(--pc-r-ctl);
  color: var(--pc-ink);
  font-size: 0.875rem;
}
:where(body.pc-ui) .form-control:focus, :where(body.pc-ui) .custom-select:focus {
  border-color: var(--pc-accent);
  box-shadow: 0 0 0 3px var(--pc-accent-soft);
}
:where(body.pc-ui) .form-control::placeholder { color: var(--pc-ink-3); }
:where(body.pc-ui) .col-form-label { color: var(--pc-ink-2); font-size: 0.8438rem; font-weight: 500; }
:where(body.pc-ui) label { font-size: 0.8438rem; }
:where(body.pc-ui) .crud-edit-form .form-control,
:where(body.pc-ui) .crud-edit-form .custom-select,
:where(body.pc-ui) .crud-edit-form select,
:where(body.pc-ui) .crud-edit-form textarea { max-width: 560px; }
:where(body.pc-ui) .crud-edit-form textarea { min-height: 90px; }
:where(body.pc-ui) .crud-edit-form .form-group.row { margin-bottom: 0.65rem; }

/* select2, matched to the inputs above */
:where(body.pc-ui) .select2-container--bootstrap4 .select2-selection {
  border: 1px solid var(--pc-border-2);
  border-radius: var(--pc-r-ctl);
  font-size: 0.875rem;
}
:where(body.pc-ui) .select2-container--bootstrap4.select2-container--focus .select2-selection,
:where(body.pc-ui) .select2-container--bootstrap4.select2-container--open .select2-selection {
  border-color: var(--pc-accent);
  box-shadow: 0 0 0 3px var(--pc-accent-soft);
}
:where(body.pc-ui) .select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
  background: var(--pc-accent-soft);
  border: none;
  border-radius: 6px;
  color: var(--pc-ink);
  font-size: 0.8125rem;
  padding: 2px 8px;
}
:where(body.pc-ui) .select2-dropdown {
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-r-card);
  box-shadow: 0 6px 24px rgba(31, 41, 55, 0.12);
}
:where(body.pc-ui) .select2-container--bootstrap4 .select2-results__option--highlighted[aria-selected] {
  background-color: var(--pc-accent);
}

/* ---------- alerts, badges, modals ---------- */
:where(body.pc-ui) .alert { border-radius: var(--pc-r-card); border: 1px solid transparent; font-size: 0.875rem; }
:where(body.pc-ui) .alert-warning { background: var(--pc-warn-soft); border-color: #f0e0bb; color: var(--pc-warn); }
:where(body.pc-ui) .alert-danger { background: var(--pc-danger-soft); border-color: #f2cccc; color: var(--pc-danger); }
:where(body.pc-ui) .alert-success { background: var(--pc-ok-soft); border-color: #cfe8d8; color: var(--pc-ok); }
:where(body.pc-ui) .alert-info { background: var(--pc-sky-soft); border-color: #cfe3f2; color: var(--pc-sky); }
:where(body.pc-ui) .badge { border-radius: 999px; font-weight: 600; padding: 0.3em 0.65em; }
:where(body.pc-ui) .modal-content { border: none; border-radius: 12px; box-shadow: 0 10px 40px rgba(31, 41, 55, 0.22); }
:where(body.pc-ui) .modal-header { border-bottom-color: var(--pc-border); }
:where(body.pc-ui) .modal-footer { border-top-color: var(--pc-border); }

/* ---------- misc ---------- */
:where(body.pc-ui) .crud2-datatable thead th { font-size: 0.6875rem; font-weight: 600; }
:where(body.pc-ui) .btn-copy-guid { color: var(--pc-ink-3); }
:where(body.pc-ui) .btn-copy-guid:hover { color: var(--pc-ink); }

@media (max-width: 767.98px) {
  :where(body.pc-ui) h1 { font-size: 1.25rem; }
  :where(body.pc-ui) .table td { padding: 0.5rem 0.6rem; }
  :where(body.pc-ui) .table thead th { padding: 0.45rem 0.6rem; }
}

} /* @media screen */
