/* ПОСТ · Soft dashboard. Approved option D, 18 November 2026.
   Data surfaces remain opaque; mint is reserved for actions and selection. */
:root {
  --ink: #22272d;
  --muted: #626b76;
  --line: #e8ebef;
  --control-line: #98a2ac;
  --canvas: #f5f6f8;
  --paper: #fff;
  --accent: #087b6b;
  --blue: #087b6b;
  --navy: #22272d;
  --good: #176b56;
  --warn: #8a530b;
  --danger: #b42b3b;
  --sidebar: 84px;
  --mint-soft: #def4ee;
  --mint-hover: #edf8f4;
  --surface-shadow: 0 4px 22px rgba(33, 48, 62, .045);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--canvas);
  color: var(--ink);
}
body, .app-shell, .app-page { background: var(--canvas); }
body { font-size: 15px; }
* { scrollbar-color: #b7c7c2 transparent; }
::selection { background: #c7ece2; color: #163c34; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
input, textarea { caret-color: var(--accent); }
a { text-underline-offset: 4px; }
.app-sidebar { width: var(--sidebar); background: #fff; border-right: 1px solid var(--line); }
.app-rail { width: var(--sidebar); background: #fff; color: var(--muted); padding: 0 8px 8px; gap: 5px; }
.rail-brand { width: 68px; min-height: 83px; flex-direction: column; gap: 5px; color: var(--accent); background: #fff; margin: 0; text-decoration: none; }
.rail-brand .brand-mark { width: 24px; height: 27px; border: 3px solid #49b99f; border-radius: 5px 5px 10px 10px; transform: none; }
.rail-wordmark { font-size: 12px; font-weight: 750; color: var(--ink); letter-spacing: -.02em; }
.rail-tool { width: 66px; min-height: 57px; padding: 8px 3px; flex-direction: column; gap: 5px; border-radius: 13px; color: var(--muted); }
.rail-tool .icon { width: 22px; height: 22px; }
.rail-label { font-size: 10px; line-height: 1.2; font-weight: 500; }
.rail-tool:hover { background: var(--mint-hover); color: var(--accent); }
.rail-tool[aria-current=page] { background: var(--mint-soft); color: #086d5f; }
.rail-settings { margin-top: auto; margin-bottom: 0; position: sticky; bottom: 0; background: #fff; }
.rail-tool .ticket-unread-badge { top: 3px; right: 8px; }
.rail-tool .ticket-unread-badge { border-color: #fff; }
.workspace-header { min-height: 64px; padding: 10px 30px; background: #fff; border-color: var(--line); }
.header-scope { color: var(--muted); font-size: 13px; }
.header-tools { gap: 16px; }
.logout-button { color: var(--muted); font-size: 13px; min-height: 44px; }
.workspace { padding: 28px 30px 36px; max-width: 1680px; min-height: calc(100dvh - 120px); }
.workspace-footer { margin-inline: 30px; color: var(--muted); border: 0; font-size: 12px; }
.workspace h1 { color: var(--ink); font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; }
.workspace h2 { color: var(--ink); font-weight: 650; letter-spacing: -.015em; }
.workspace-title { margin-bottom: 26px; gap: 16px; }
.workspace-title p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 8px; }
.section-heading h2 { font-size: 19px; }
.count { background: #edf2f0; color: #53675f; border: 0; font-size: 12px; min-width: 25px; min-height: 25px; }
.button { min-height: 44px; font-size: 14px; font-weight: 600; border-radius: 10px; padding: 11px 16px; }
.button-primary, .link-button { background: var(--accent); border-color: var(--accent); color: #fff; }
.button-primary:hover, .link-button:hover { background: #066456; border-color: #066456; }
.button-outline { background: #fff; color: #166b5d; border-color: #b7ccc5; }
.button-outline:hover { background: var(--mint-hover); border-color: #73a495; }
.link-button { font-size: 14px; border-radius: 10px; }
.row-action, .back-link { color: var(--accent); font-size: 14px; }
.icon-button { color: var(--muted); border-radius: 10px; }
.crm-refresh, .pager .pager-arrow { border: 1px solid var(--line); color: var(--muted); border-radius: 10px; background: #fff; }
.filter-disclosure>summary.filter-toggle, .schedule-filter-disclosure>summary.filter-toggle { color: var(--muted); border-color: var(--line); border-radius: 10px; }
.filter-disclosure[open]>summary.filter-toggle, .schedule-filter-disclosure[open]>summary.filter-toggle { background: var(--mint-soft); color: var(--accent); border-color: #9dcabf; }
.crm-heading-tools .filter-fields { border-color: var(--line); border-radius: 14px; box-shadow: 0 8px 28px rgba(33,48,62,.1); }
.field label { font-size: 14px; color: var(--ink); }
.field input, .field select, .field textarea { font-size: 16px; border-color: var(--control-line); border-radius: 10px; background: #fff; }
.field-help { font-size: 13px; color: var(--muted); line-height: 1.6; }
.field-checkbox { background: #f2f8f5; border-color: #d6e5de; border-radius: 10px; }
.record-card, .record-aside, .profile-grid, .account-profile-data, .account-setting,
.ticket-main, .ticket-properties, .attendance-confirm, .ops-person-docs, .ops-contract,
.ops-contract-overview, .ops-task-context, .guard-attendance-section {
  border: 0; border-radius: 16px; background: #fff; box-shadow: var(--surface-shadow);
}
.record-card { padding: 24px; }
.record-aside { padding: 24px; }
.record-card h2, .record-group legend { font-size: 18px; }
.scope-help, .notice { background: #edf7f3; border-color: #c6e1d8; border-radius: 10px; color: #385f53; }
.table-wrap { background: #fff; border: 0; border-radius: 16px; box-shadow: var(--surface-shadow); }
.table-wrap thead th { background: #f7f9f9; color: var(--muted); font-size: 12px; }
.table-wrap tbody td, .table-wrap tbody th { border-color: var(--line); }
.people-list, .object-work-list, .today-work-list, .work-queue, .ticket-list, .account-list { background: #fff; border: 0; border-radius: 16px; box-shadow: var(--surface-shadow); }
.person-link strong, .person-name, .ticket-primary { color: var(--ink); font-size: 15px; }
.guard-avatar, .attendance-person>img, .audit-person>img { border-radius: 10px; }
.temporary-badge { background: #f4ecdf; color: #775321; border-radius: 5px; }
.schedule-editor>header { background: #f5f8f7; }
.schedule-editor { border-color: var(--line); color: var(--ink); }
.schedule-editor .form-actions { background: #fff; }
.roster-table thead th, .roster-table .roster-person-head, .roster-table thead .roster-total { background: #f2f6f4; }
.roster-table thead .roster-today { background: var(--mint-soft); color: var(--accent); }
.roster-table .roster-today { background: #f1faf7; }
.roster-slot.roster-empty { color: #50776b; border-color: #d4e4dd; }
.roster-slot:hover { border-color: var(--accent); }
.schedule-week [aria-current=date] { background: var(--accent); color: #fff; border-radius: 10px; }
.schedule-views [aria-current], .schedule-create-modes [aria-current] { color: var(--accent); border-color: var(--accent); }
.roster-views a[aria-current], .view-tabs a[aria-current] { color: var(--accent); border-bottom-color: var(--accent); }
.kanban-status-nav button[aria-pressed=true] { color: #fff; background: var(--accent); border-color: var(--accent); }
.attendance-tabs a[aria-current=page] { background: var(--mint-soft); }
.account-profile-avatar { background: var(--mint-soft); color: var(--accent); }
.kanban-column { border: 0; border-radius: 16px; background: #eef1f3; }
.kanban-column-header { border-color: #dde3e6; padding: 16px; background: #eaf1ee; border-radius: 16px 16px 0 0; }
.kanban-column-header h2 { font-size: 15px; }
.kanban-card { border: 0; border-radius: 12px; padding: 18px; box-shadow: 0 2px 8px rgba(33,48,62,.045); }
.kanban-card:hover { box-shadow: 0 4px 12px rgba(33,48,62,.09); }
.kanban-ticket { background: #fff; border: 0; border-radius: 12px; box-shadow: 0 2px 8px rgba(33,48,62,.045); overflow: hidden; }
.kanban-ticket>.kanban-card { border-radius: 12px; box-shadow: none; padding: 18px; }
.ticket-board-search input, .ticket-action-form input, .ticket-action-form select, .ticket-action-form textarea { border-radius: 10px; font-size: 16px; }
.remark-open { background: #e5f4ef; color: #136853; }
.remark-in_progress { background: #e9f1fd; color: #2d6093; }
.remark-resolved { background: #f3edfc; color: #74569c; }
.remark-closed { background: #eef1f3; color: #58636e; }
.attendance-tabs a[aria-current], .queue-tabs a[aria-current] { color: var(--accent); border-color: var(--accent); }
.attendance-row { border-color: var(--line); background: #fff; }
.attendance-result { border-color: var(--line); }
.mobile-menu { background: #fff; border-color: var(--line); }
.mobile-menu .workspace-nav a { min-height: 46px; font-size: 14px; border-radius: 10px; color: var(--ink); }
.workspace-nav .icon { width: 20px; height: 20px; color: var(--muted); }
.workspace-nav a:hover { background: var(--mint-hover); }
.workspace-nav a[aria-current=page] { background: var(--mint-soft); color: #086d5f; }
.workspace-nav a[aria-current=page] .icon { color: var(--accent); }
.nav-group-title { color: var(--muted); }
.user-initial { background: var(--mint-soft); color: var(--accent); }
.identity-panel { background: #e9f5f0; color: var(--ink); }
.identity-panel .brand { color: var(--ink); }
.identity-panel .brand-mark { border-color: #49b99f; border-radius: 4px 4px 8px 8px; }
.identity-panel .identity-intro, .identity-panel .access-list small { color: var(--muted); }
.identity-panel .access-list>div { border-color: #cfe3da; }
.auth-main { background: var(--canvas); padding: 32px; }
.auth-content { width: 100%; max-width: 480px; padding: 36px; background: #fff; border-radius: 16px; box-shadow: var(--surface-shadow); }
.auth-content .button-primary { background: var(--accent); }
.auth-content .form-heading h2 { color: var(--ink); }
.ticket-new-count, .ticket-unread-badge, .mint-new-count { background: #da3546; color: #fff; }

/* The approved desktop composition: chart + stacked metrics, posts below,
   and a separate work inbox on the right. Keep the full analytics available. */
.crm-dashboard-heading { align-items: center; }
.crm-dashboard-heading h1 { font-size: 32px; }
.crm-dashboard-heading .mint-object-name { display: flex; align-items: flex-start; gap: 8px; color: var(--ink); font-size: 15px; margin-top: 8px; overflow-wrap: anywhere; }
.mint-object-name .icon { width: 18px; height: 18px; margin-top: 2px; }
.mint-mobile-summary { display: none; }
.mint-dashboard-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; align-items: start; }
.mint-dashboard-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.mint-dashboard-aside { display: grid; gap: 24px; min-width: 0; }
.mint-overview { display: grid; grid-template-columns: minmax(0, 1fr) 205px; gap: 16px; order: -2; }
.mint-kpis { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; }
.crm-kpi { border: 0; border-radius: 16px; background: #fff; padding: 18px 20px; box-shadow: var(--surface-shadow); gap: 5px; }
.crm-kpi:hover { background: #fafffd; }
.crm-kpi>strong { color: var(--ink); font-size: 34px; font-weight: 600; line-height: 1.1; letter-spacing: -.025em; }
.crm-kpi>strong em { font-style: normal; font-size: 19px; font-weight: 500; color: var(--muted); }
.crm-kpi>span { color: var(--ink); font-size: 14px; font-weight: 600; }
.crm-kpi>small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.crm-kpi-alert>strong { color: var(--warn); }
.crm-panel { border: 0; border-radius: 16px; padding: 22px; box-shadow: var(--surface-shadow); }
.crm-panel-header { gap: 12px; margin-bottom: 18px; }
.crm-panel-header h2 { font-size: 18px; font-weight: 650; }
.crm-panel-header>span, .crm-panel-header>a { font-size: 12px; color: var(--muted); }
.crm-panel-header>a { color: var(--accent); }
.crm-activity { display: flex; flex-direction: column; }
.crm-activity .crm-panel-header { align-items: flex-start; flex-wrap: wrap; }
.crm-chart-key { color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.crm-line-scroll { flex: 1; display: flex; align-items: center; min-height: 190px; }
.crm-line-chart { max-height: 260px; }
.crm-line-chart text, .crm-bar-chart text { font-family: inherit; fill: var(--muted); }
.mint-chart-plan { fill: #75b2f0; }
.mint-chart-fact { fill: #58b9a6; }
.crm-chart-grid line { stroke: var(--line); }
.crm-chart-data { color: var(--muted); font-size: 12px; }
.crm-chart-data>summary { min-height: 36px; padding-block: 10px; }
.crm-chart-data table { width: 100%; }
.mint-analytics { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.mint-analytics .crm-ticket-summary { grid-column: 1/-1; }
.crm-panel-subtitle, .crm-panel-note { font-size: 12px; color: var(--muted); }
.crm-coverage-total { font-size: 13px; }
.crm-progress { height: 6px; border-radius: 6px; background: #e8f0ed; }
.crm-progress i { background: #5cbaaa; }
.crm-object-bars { grid-template-columns: 1fr; gap: 16px; }
.crm-object-bars>li { font-size: 13px; }
.crm-object-bars a { color: var(--ink); }
.crm-object-bars>li>span { color: var(--muted); }
.crm-donut text { font-family: inherit; fill: var(--muted); }
.crm-donut .crm-donut-total { fill: var(--ink); }
.crm-state-content { gap: 16px; }
.crm-state-key>li { font-size: 12px; color: var(--muted); min-height: 30px; }
.crm-state-key strong { color: var(--ink); }
.mint-posts .section-heading { margin: 0 0 8px; }
.mint-posts>.field-help, .mint-posts>section>.field-help { margin-bottom: 16px; }
.ops-post { background: #fff; border: 0; border-radius: 16px; box-shadow: var(--surface-shadow); padding: 22px; margin: 0 0 16px; }
.ops-post:last-child { margin-bottom: 0; }
.ops-post>header { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ops-post>header h3 { font-size: 18px; }
.ops-post>header>span { color: var(--muted); font-size: 12px; }
.ops-post ul { border: 0; }
.ops-post li { padding: 16px 0; border-color: var(--line); gap: 12px; flex-direction: row; align-items: center; }
.ops-post li:last-child { padding-bottom: 0; }
.ops-post .attendance-person { min-width: 0; }
.ops-post .attendance-person>div { min-width: 0; }
.ops-post .attendance-person>img { width: 44px; height: 54px; }
.ops-post .person-name { font-size: 14px; font-weight: 600; line-height: 1.45; }
.ops-post p { font-size: 12px; color: var(--muted); }
.ops-post .row-actions { flex-shrink: 0; }
.ops-post .row-actions .button { padding-inline: 12px; font-size: 12px; }
.ops-doc-summary { background: #fff; padding: 22px; border: 0; border-radius: 16px; box-shadow: var(--surface-shadow); }
.ops-doc-summary .section-heading { margin: 0 0 18px; display: block; }
.ops-doc-summary h2 { font-size: 18px; margin-bottom: 4px; }
.ops-doc-summary ul { display: block; border: 0; margin: 0 0 14px; }
.ops-doc-summary li { padding: 13px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.ops-doc-summary li:last-child { border-bottom: 0; }
.ops-doc-summary li>strong { font-size: 18px; }
.mint-regional { order: 0; }
.ops-regional-grid { grid-template-columns: 1fr; gap: 20px; }
.ops-regional-grid .section-heading { margin-top: 0; }
.ops-regional-objects { border: 0; }
.mint-attention { min-width: 0; }
.mint-attention .section-heading { margin: 0 0 12px; }
.mint-attention .section-heading h2 { font-size: 18px; }
.mint-attention .queue-tabs { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.mint-attention .queue-tabs a { font-size: 12px; padding: 10px 0; min-height: 44px; }
.mint-attention .work-queue { background: transparent; box-shadow: none; border-radius: 0; }
.mint-attention .work-queue>li { background: #fff; padding: 18px; margin-top: 12px; border: 0; border-radius: 12px; display: block; }
.mint-attention .work-queue strong { font-size: 14px; }
.mint-attention .work-queue p { font-size: 13px; margin-top: 5px; }
.mint-attention .work-queue small { font-size: 12px; color: var(--muted); }
.mint-attention .work-queue .row-actions { justify-content: flex-start; margin-top: 10px; }
.mint-attention .work-queue .button { font-size: 13px; }
.mint-attention .work-queue .empty-caption { font-size: 13px; }
.mint-attention .inline-details p { max-width: none; }
.mint-shifts { margin: 0; padding: 18px 22px; background: #fff; border: 0; border-radius: 16px; box-shadow: var(--surface-shadow); }
.mint-shifts>summary { min-height: 44px; padding-block: 10px; font-size: 15px; }
.mint-pending { display: none; }
.mint-ticket-inbox .crm-panel-header h2 { font-size: 20px; }
.mint-new-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; border-radius: 50%; font-size: 12px; vertical-align: middle; padding-inline: 5px; margin-left: 4px; }
.mint-inbox-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mint-inbox-list>li { background: #fff; padding: 20px; border-radius: 16px; box-shadow: var(--surface-shadow); }
.mint-ticket-title { display: block; font-size: 16px; font-weight: 650; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
.mint-ticket-title:hover { color: var(--accent); text-decoration: underline; }
.mint-inbox-list p { color: var(--muted); font-size: 13px; margin-top: 6px; }
.mint-ticket-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mint-ticket-tags>span { padding: 5px 8px; border-radius: 6px; font-size: 12px; line-height: 1.3; }
.mint-priority { background: #f1f3f5; color: #626b76; }
.mint-priority-urgent { background: #fce9e9; color: #a52e3b; }
.mint-inbox-list .mint-ticket-due { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; }
.mint-ticket-due .icon { width: 17px; height: 17px; }
.mint-inbox-list .button { width: 100%; margin-top: 16px; }
.mint-inbox-empty { color: var(--muted); font-size: 14px; line-height: 1.6; }
.mint-person { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.mint-person>span { min-width: 0; }
.mint-person strong { display: block; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.mint-person small { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 4px; }
.mint-person>img, .mint-avatar { width: 44px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.mint-avatar { display: flex; align-items: center; justify-content: center; background: #edf2f0; color: #6d7d77; }
.mint-pending-list { padding: 0; margin: 0; list-style: none; }
.mint-pending-list>li { padding: 16px 0; border-top: 1px solid var(--line); }
.mint-pending-list>li:first-child { padding-top: 0; border-top: 0; }
.mint-pending-list .button { width: 100%; margin-top: 14px; }
.mint-panel-link { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding-top: 8px; }
.dashboard-skeleton>div { background: #e8eeeb; border: 0; border-radius: 16px; }
.dashboard-load-error { background: #fff; border-radius: 16px; border-color: var(--line); }
.guard-profile { background: #fff; padding: 24px; border: 0; border-radius: 16px; box-shadow: var(--surface-shadow); }
.guard-profile-photo { border: 0; border-radius: 12px; }
.guard-profile-heading h1 { font-size: 30px; }

@media (min-width: 1600px) {
  .mint-dashboard-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; }
  .mint-overview { grid-template-columns: minmax(0, 1fr) 230px; gap: 20px; }
}
@media (min-width: 761px) and (max-width: 1150px) {
  .workspace { padding: 24px 20px; }
  .workspace-header { padding-inline: 20px; }
  .mint-dashboard-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; }
  .mint-overview { grid-template-columns: 1fr; }
  .mint-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .crm-kpi { padding: 16px 12px; }
  .crm-kpi>strong { font-size: 28px; }
  .crm-kpi>strong em { display: block; font-size: 15px; }
  .crm-kpi>small { display: none; }
  .mint-analytics { grid-template-columns: 1fr; }
  .ops-post li { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  :root { --sidebar: 0px; }
  .app-sidebar { display: none; }
  .workspace-header { min-height: 64px; padding: 8px 18px; }
  .mobile-brand { display: inline-flex; font-size: 22px; font-weight: 750; color: var(--ink); gap: 9px; }
  .mobile-brand .brand-mark { width: 20px; height: 24px; border: 3px solid #49b99f; border-radius: 4px 4px 8px 8px; }
  .workspace { padding: 24px 16px 32px; background: var(--canvas); }
  .workspace h1, .compact-title h1 { font-size: 27px; }
  .workspace-title { margin-bottom: 22px; }
  .workspace-title p { font-size: 13px; }
  .workspace-footer { margin-inline: 16px; font-size: 11px; }
  .header-tools .logout-button { font-size: 12px; }
  .mobile-nav { background: #fff; border-color: var(--line); box-shadow: 0 -4px 20px rgba(33,48,62,.04); padding-top: 6px; }
  .mobile-nav a, .mobile-nav button { font-size: 10px; color: var(--muted); padding: 8px 2px 10px; min-height: 56px; }
  .mobile-nav a[aria-current=page] { color: var(--accent); background: var(--mint-hover); border-radius: 10px; }
  .mobile-nav .icon { width: 23px; height: 23px; }
  .mobile-menu { width: 340px; max-width: calc(100vw - 24px); background: #fff; }
  .mobile-menu .workspace-nav a { min-height: 48px; font-size: 15px; }
  .crm-dashboard-heading h1 { font-size: 28px; }
  .mint-mobile-summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: -6px 0 22px; font-size: 14px; color: var(--ink); }
  .mint-mobile-summary>span { font-size: 12px; color: var(--muted); }
  .crm-heading-tools .filter-fields { left: auto; right: 0; min-width: min(580px,calc(100vw - 32px)); }
  .mint-dashboard-layout { display: flex; flex-direction: column; gap: 22px; }
  .mint-dashboard-main, .mint-dashboard-aside { display: contents; }
  .mint-dashboard-layout>*, .mint-dashboard-main>*, .mint-dashboard-aside>* { width: 100%; min-width: 0; }
  .mint-pending { display: block; order: 0; }
  .mint-posts { order: 1; }
  .mint-regional { order: 0; }
  .mint-role-3 .mint-overview { display: contents; }
  .mint-role-3 .mint-kpis { order: 0; }
  .mint-role-3 .mint-regional { order: 1; }
  .mint-role-3 .crm-activity { order: 4; width: 100%; min-width: 0; }
  .mint-ticket-inbox { order: 2; }
  .ops-doc-summary { order: 3; padding: 20px; }
  .mint-overview { order: 4; display: flex; flex-direction: column; gap: 18px; }
  .mint-attention { order: 5; }
  .mint-analytics { order: 6; grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .mint-shifts { order: 7; }
  .mint-kpis { order: -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .crm-kpi { padding: 15px 10px; min-height: 115px; gap: 10px; }
  .crm-kpi>span { font-size: 11px; line-height: 1.45; min-height: 32px; }
  .crm-kpi>strong { font-size: 27px; }
  .crm-kpi>strong em { display: block; font-size: 14px; margin-top: 3px; }
  .crm-kpi>small { display: none; }
  .crm-panel { padding: 20px; }
  .crm-panel-header { gap: 10px; margin-bottom: 18px; }
  .crm-panel-header h2 { font-size: 18px; }
  .crm-panel-header>a { min-height: 44px; display: inline-flex; align-items: center; }
  .crm-chart-key { font-size: 12px; gap: 8px 14px; }
  .crm-line-chart { min-width: 480px; max-height: none; }
  .crm-chart-data>summary { min-height: 44px; }
  .crm-object-bars>li { font-size: 13px; }
  .crm-state-key>li { font-size: 12px; }
  .crm-state-content { flex-wrap: wrap; }
  .crm-donut { width: 140px; height: 140px; }
  .crm-state-key { min-width: 130px; }
  .ops-post { padding: 18px; margin-bottom: 14px; }
  .ops-post li { flex-direction: column; align-items: stretch; gap: 14px; }
  .ops-post .attendance-person { align-items: flex-start; }
  .ops-post .person-name { font-size: 15px; }
  .ops-post p { font-size: 12px; line-height: 1.65; }
  .ops-post .row-actions { width: 100%; flex-wrap: wrap; }
  .ops-post .row-actions .button { flex: 1 1 auto; font-size: 13px; min-height: 44px; }
  .mint-posts .field-help { font-size: 12px; }
  .mint-attention .queue-tabs a { flex: 1; text-align: center; }
  .mint-attention .work-queue>li { padding: 18px; }
  .mint-attention .inline-details summary { min-height: 44px; display: inline-flex; align-items: center; }
  .mint-inbox-list>li { padding: 20px; }
  .mint-ticket-title { font-size: 17px; }
  .mint-inbox-list .mint-ticket-due { font-size: 13px; }
  .record-card, .record-aside, .ticket-main, .ticket-properties { padding: 20px 18px; }
  .table-wrap .responsive-table tbody tr { background: #fff; padding: 18px; border-color: var(--line); }
  .table-wrap .responsive-table tbody tr:first-child { border-radius: 16px 16px 0 0; }
  .table-wrap .responsive-table tbody tr:last-child { border-radius: 0 0 16px 16px; }
  .record-form { gap: 22px; }
  .row-action { min-height: 44px; display: inline-flex; align-items: center; }
  .attendance-row { padding: 20px 18px; }
  .guard-profile { padding: 20px 18px; }
  .guard-profile-heading h1 { font-size: 25px; }
  .ops-regional-grid { gap: 18px; }
  .auth-panel { padding-inline: 24px; }
  .auth-main { padding: 20px 16px 28px; }
  .auth-content { padding: 28px 22px; }
}
@media (prefers-reduced-motion: no-preference) {
  .rail-tool, .button, .crm-kpi, .kanban-card { transition: background-color .16s ease-out, color .16s ease-out, box-shadow .16s ease-out; }
}
@media print {
  body, .workspace, .app-page { background: #fff; }
  .mint-dashboard-layout { display: block; }
  .mint-dashboard-main, .mint-dashboard-aside { display: block; }
  .crm-panel, .crm-kpi, .ops-post, .mint-inbox-list>li { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
}
