@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  color-scheme: light;
  --canvas: #f5f4f0;
  --paper: #fffefa;
  --ink: #292720;
  --text: #4c4a40;
  --muted: #656256;
  --line: #e5e1d8;
  --accent: #234378;
  --accent-dark: #172f59;
  --accent-soft: #e8edf8;
  --sidebar: #171f30;
  --sidebar-text: #dee4ef;
  --radius: 14px;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.5;
  background: var(--canvas);
  color: var(--ink);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, select, a, summary { -webkit-tap-highlight-color: transparent; }
button, select, summary { cursor: pointer; }
input, textarea { caret-color: var(--accent); }
[hidden] { display: none !important; }
::selection { background: #dce8fc; color: #172f59; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
p, h1, h2 { margin: 0; }
h1 { font-size: 2.375rem; line-height: 1.1; font-weight: 650; letter-spacing: -.038em; text-wrap: balance; overflow-wrap: anywhere; }
h2 { font-size: 1.125rem; line-height: 1.3; font-weight: 650; letter-spacing: -.023em; }
small { color: var(--muted); }
.icon { width: 18px; height: 18px; flex: none; vertical-align: middle; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; color: var(--ink); padding: 8px 16px; background: var(--paper); border-radius: 8px; }
.tabular, .reference, .stat strong, time { font-variant-numeric: tabular-nums; }
.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: stretch; padding: 28px 16px 20px; background: var(--sidebar); color: var(--sidebar-text); }
.brand { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; padding: 0 8px; }
.brand-mark { display: block; width: 42px; height: 42px; flex: none; object-fit: contain; }
.brand-text { display: grid; gap: 1px; line-height: 1.15; white-space: nowrap; }
.brand-text strong { color: #f8faff; font-size: 1.06rem; font-weight: 670; letter-spacing: -.025em; }
.brand-text small { color: #bec9dc; font-size: .78rem; }
.side-nav { display: grid; gap: 24px; margin-top: 36px; }
.nav-group { display: grid; gap: 4px; }
.nav-caption { color: #aebbd1; padding: 0 12px 4px; font-weight: 540; font-size: .775rem; }
.nav-link { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 12px; border-radius: 8px; font-size: .9rem; font-weight: 540; }
.nav-link:hover { color: #fff; background: #23324b; }
.nav-link.is-active { color: #f8faff; background: #2b3c5a; }
.nav-link.is-active .icon { color: #b8cef5; }
.sidebar :focus-visible { outline-color: #b8cef5; }
.nav-footer { margin-top: auto; padding-top: 20px; }
.demo-mark { color: #aebbd1; font-size: .78rem; padding: 10px 12px 0; }
.workspace { min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; padding: 0 32px; border-bottom: 1px solid var(--line); background: var(--paper); }
.top-path, .top-tools { display: flex; align-items: center; min-width: 0; gap: 12px; }
.top-path { color: var(--muted); font-size: .88rem; }
.current-crumb { color: var(--ink); font-weight: 630; white-space: nowrap; }
.breadcrumb-separator { color: #87816e; }
.top-tools { gap: 18px; }
.top-search { display: flex; align-items: center; min-width: 0; width: 248px; height: 38px; gap: 8px; padding: 0 8px 0 10px; background: #f8f7f2; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.top-search:focus-within { border-color: var(--accent); }
.top-search input { min-width: 0; width: 100%; border: 0; background: transparent; color: var(--ink); outline: none; font-size: .85rem; }
.top-search input::placeholder { color: var(--muted); }
kbd { padding: 1px 5px; font-family: inherit; font-size: .7rem; white-space: nowrap; border: 1px solid #e4dfd5; border-radius: 4px; background: var(--paper); }
.profile-menu { position: relative; }
.profile-menu summary { display: flex; align-items: center; gap: 8px; padding: 4px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
.avatar { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #e2e9f7; color: var(--accent-dark); font-size: .78rem; font-weight: 710; }
.profile-name { display: grid; line-height: 1.15; gap: 4px; white-space: nowrap; }
.profile-name strong { font-size: .82rem; font-weight: 650; }
.profile-name small { font-size: .72rem; }
.profile-menu summary > .icon { width: 14px; height: 14px; color: var(--muted); }
.menu-panel { position: absolute; z-index: 5; top: calc(100% + 5px); right: 0; min-width: 174px; display: grid; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 9px 20px #28251d15; }
.menu-panel a, .menu-panel button { display: block; border: 0; padding: 8px 10px; color: var(--ink); font-size: .875rem; background: transparent; border-radius: 5px; width: 100%; text-align: left; }
.menu-panel a:hover, .menu-panel button:hover { background: var(--canvas); }
.menu-toggle { display: none !important; }
.icon-button { display: inline-grid; width: 38px; height: 38px; place-items: center; padding: 0; background: transparent; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.main { max-width: 1460px; margin: 0 auto; padding: 28px 32px 44px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-head p { color: var(--muted); margin-top: 8px; font-size: .91rem; }
.page-actions, .form-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px; border: 1px solid #dcd7cc; border-radius: 8px; background: var(--paper); color: var(--ink); font-size: .875rem; line-height: 1.35; font-weight: 620; white-space: nowrap; transition: background-color .14s ease, border-color .14s ease; }
.button:hover { background: #f2eee6; border-color: #cfc7b9; }
.button:disabled { opacity: .63; cursor: wait; }
.button-primary { background: var(--accent); color: #fffaf5; border-color: var(--accent); }
.button-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.quiet-link { color: var(--accent-dark); font-size: .875rem; font-weight: 650; text-underline-offset: 3px; }
.quiet-link:hover, .ticket-link:hover, .watch-list a:hover strong { text-decoration: underline; }
.priority-banner { min-height: 162px; display: flex; align-items: center; overflow: hidden; padding: 20px 28px; border-radius: var(--radius); background: linear-gradient(90deg, #211d19b8 0%, #221e1b65 43%, #221e1b12 100%), #2e2b25 url("garment-floor.webp") center 55% / cover no-repeat; color: #fff9ef; }
.priority-banner h2 { font-size: 1.6875rem; line-height: 1.12; font-weight: 640; }
.priority-banner p { margin: 5px 0 12px; color: #f3e6d8; font-size: .9rem; }
.priority-banner .button { min-height: 32px; padding: 5px 11px; color: #fff9ef; background: #302a24; border-color: #9d9486; }
.priority-banner .button:hover { background: #4a3d30; }
.priority-banner :focus-visible { outline-color: #ffbc8e; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 16px 0 20px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.stat { display: grid; gap: 1px; padding: 15px 20px 14px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat:hover { background: #f8f5ef; }
.stat:focus-visible { outline-offset: -3px; }
.stat span { color: var(--text); font-size: .88rem; font-weight: 600; }
.stat strong { font-size: 1.875rem; line-height: 1.23; font-weight: 650; letter-spacing: -.035em; }
.stat small { font-size: .775rem; }
.panel { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; }
.panel-head > .icon { color: var(--muted); }
.inline-meta { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(240px, 1fr); gap: 16px; align-items: start; }
.stack { display: grid; align-content: start; gap: 16px; min-width: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .875rem; text-align: left; }
th { color: var(--muted); background: #f8f7f1; font-size: .8rem; font-weight: 600; text-align: left; padding: 9px 14px; white-space: nowrap; border-block: 1px solid var(--line); }
td { border-bottom: 1px solid #ece8de; color: var(--text); padding: 11px 14px; }
th:first-child, td:first-child { padding-left: 18px; }
th:last-child, td:last-child { padding-right: 18px; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbf9f4; }
.ticket-row { position: relative; }
.ticket-row:focus-within { background: #f7f6f2; }
.ticket-link { display: block; width: fit-content; color: var(--ink); font-weight: 630; line-height: 1.35; overflow-wrap: anywhere; }
.ticket-link::after { content: ""; position: absolute; inset: 0; }
.ticket-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 4px; color: var(--muted); font-size: .76rem; line-height: 1.3; overflow-wrap: anywhere; }
.ticket-link .ticket-sub { font-weight: 400; }
.ticket-inline-priority { display: none; }
.ticket-chat-column { width: 1%; }
.ticket-chat-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 8px; border-radius: 6px; color: var(--accent-dark); font-weight: 630; white-space: nowrap; }
.ticket-chat-link:hover, .ticket-chat-link:focus-visible { background: var(--accent-soft); }
.ticket-chat-link .icon { width: 16px; height: 16px; }
.reference { color: var(--accent-dark); font-weight: 650; }
.sub-sep { padding-inline: 1px; }
.status, .priority { display: inline-flex; align-items: center; gap: 5px; line-height: 1.1; white-space: nowrap; font-size: .77rem; font-weight: 630; }
.status, .priority { min-height: 24px; padding: 4px 8px; border-radius: 5px; }
.status i, .priority i { width: 6px; height: 6px; border-radius: 100%; background: currentColor; }
.status-open { background: #e8edf0; color: #354f61; }
.status-in_progress { background: #f7eadf; color: #844722; }
.status-waiting { background: #f3eedf; color: #715820; }
.status-resolved { background: #e7eee4; color: #3a6243; }
.priority-critical { background: #fbe9e7; color: #842d2c; }
.priority-high { background: #fbedd9; color: #784012; }
.priority-normal { background: #e9effb; color: #2b4878; }
.priority-low { background: #e7f0e7; color: #315a42; }
.late { color: #9b3d34; }
.soon { color: #904716; }
.department-bars { display: grid; gap: 12px; padding: 0 18px 16px; }
.department-bars a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; font-size: .86rem; }
.department-bars a:hover span { text-decoration: underline; }
.department-bars strong { font-weight: 620; font-variant-numeric: tabular-nums; }
progress { grid-column: 1 / -1; width: 100%; height: 5px; border: 0; border-radius: 4px; background: #ebe6dc; color: var(--accent); overflow: hidden; appearance: none; }
progress::-webkit-progress-bar { background: #ebe6dc; }
progress::-webkit-progress-value { background: var(--accent); border-radius: 4px; }
progress::-moz-progress-bar { background: var(--accent); border-radius: 4px; }
.watch-list { display: grid; }
.watch-list a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 10px 18px; border-top: 1px solid #ece8de; }
.watch-list strong { font-size: .85rem; font-weight: 620; overflow-wrap: anywhere; }
.watch-list small { font-size: .77rem; }
.empty { display: grid; justify-items: center; gap: 5px; text-align: center; padding: 28px 16px; }
.empty .icon { color: var(--muted); width: 24px; height: 24px; margin-bottom: 2px; }
.empty strong { font-size: .95rem; }
.empty p { color: var(--muted); font-size: .875rem; }
.tabs { display: flex; overflow: auto; gap: 18px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 13px 0 11px; font-size: .88rem; color: var(--muted); font-weight: 580; white-space: nowrap; border-bottom: 2px solid transparent; }
.tabs a[aria-current="page"] { color: var(--accent-dark); border-color: var(--accent); }
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 14px 18px 10px; }
.filters select { max-width: 186px; font-size: .86rem; }
.filters .button { min-height: 39px; }
.row-count { padding: 4px 18px 10px; color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }
.search-inline { position: relative; display: flex; align-items: center; }
.search-inline .icon { position: absolute; left: 10px; color: var(--muted); pointer-events: none; }
.search-inline input { padding-left: 34px; width: 212px; }
.pagination { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.employee-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 16px; border: 1px solid #e8d8cb; background: #f6ede4; border-radius: var(--radius); }
.employee-banner p { margin-top: 4px; color: var(--text); font-size: .88rem; }
.form-grid, .detail-grid { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(252px, 1fr); gap: 16px; align-items: start; }
.form-panel, .support-note, .editor-panel, .metadata, .description-panel, .help-panel { padding: 22px; }
.form-stack { display: grid; gap: 16px; }
.field { display: grid; gap: 5px; min-width: 0; color: var(--ink); font-size: .89rem; font-weight: 600; }
.field > span:empty { display: none; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 40px; padding: 8px 11px; background: #fffefa; border: 1px solid #d8d1c4; border-radius: 8px; color: var(--ink); font-size: .92rem; font-weight: 440; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field select { padding-right: 32px; appearance: none; background: #fffefa url("chevron.png") right 10px center / 13px 8px no-repeat; }
.field textarea { resize: vertical; }
.field input[readonly] { background: #f5f2ea; color: var(--text); }
.field small, .field-note { color: var(--muted); font-size: .79rem; font-weight: 450; }
.field .search-inline input { padding-left: 34px; }
.paired { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.issue-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.issue-field legend { font-size: .92rem; color: var(--ink); font-weight: 650; margin: 0 0 8px; padding: 0; }
.issue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.issue-choice { display: block; position: relative; cursor: pointer; }
.issue-choice input { position: absolute; opacity: 0; }
.issue-visual { display: flex; align-items: center; gap: 9px; min-height: 62px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf5; }
.issue-visual strong, .issue-visual small { display: block; }
.issue-visual strong { font-size: .87rem; line-height: 1.2; font-weight: 650; }
.issue-visual small { margin-top: 4px; line-height: 1.2; font-size: .77rem; }
.issue-visual > .icon { color: var(--muted); }
.issue-choice:hover .issue-visual { border-color: #d2bba7; }
.issue-choice input:checked + .issue-visual { border-color: var(--accent); background: var(--accent-soft); }
.issue-choice input:checked + .issue-visual > .icon { color: var(--accent-dark); }
.issue-choice input:focus-visible + .issue-visual { outline: 2px solid var(--accent); outline-offset: 2px; }
.upload input { min-height: 46px; color: var(--muted); background: #fbfaf5; border-style: dashed; }
.upload input::file-selector-button { border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--paper); padding: 4px 8px; font: inherit; cursor: pointer; margin-right: 8px; }
.support-note > .icon { color: var(--accent-dark); margin-bottom: 6px; }
.support-note ul { color: var(--text); padding-left: 18px; margin: 10px 0 12px; font-size: .88rem; }
.support-note li + li { margin-top: 8px; }
.notice { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 8px; font-size: .88rem; }
.notice a { text-decoration: underline; text-underline-offset: 3px; }
.notice-error { color: #8b302b; border-color: #edd4cf; background: #fbefec; }
.notice-success { color: #31543a; border-color: #d9e6d7; background: #edf4ea; }
.notice-info { color: #3f5360; border-color: #dce6ea; background: #edf3f5; }
.back-link { display: inline-block; margin-bottom: 10px; }
.ticket-head { margin-bottom: 18px; }
.ticket-heading-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; font-size: .87rem; }
.section-title { margin-bottom: 10px; }
.message-body { color: var(--text); font-size: .94rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.file-card { display: flex; align-items: center; width: min(100%, 380px); gap: 10px; margin-top: 14px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .875rem; }
.file-card:hover { background: #f7f4ed; }
.file-card span { display: grid; min-width: 0; flex: 1; overflow-wrap: anywhere; }
.file-card small { font-size: .76rem; }
.editor-panel h2, .metadata h2, .help-panel h2 { margin-bottom: 12px; }
.thread-panel { scroll-margin-top: 76px; }
.thread-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; list-style: none; border-radius: var(--radius); }
.thread-toggle:hover { background: #f8f7f2; }
.thread-toggle:focus-visible { outline-offset: -4px; }
.thread-title { display: flex; align-items: center; gap: 12px; }
.thread-title > span { display: grid; gap: 2px; }
.thread-title small { color: var(--muted); font-size: .77rem; }
.thread-toggle .icon { width: 18px; height: 18px; color: var(--accent); }
.thread-panel[open] > .thread-toggle > .icon { transform: rotate(180deg); }
.thread-list { display: grid; }
.event { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 13px 18px; border-top: 1px solid var(--line); }
.event-internal { background: #fbf5e9; }
.event-status { background: #f5f7fa; }
.event-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; color: var(--muted); font-size: .78rem; }
.event-head strong { color: var(--ink); font-size: .88rem; }
.event-head time { margin-left: auto; }
.event .message-body { margin-top: 4px; font-size: .88rem; }
.reply-form { padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.reply-form p { color: var(--text); margin-bottom: 8px; font-size: .9rem; }
.metadata > p { margin: -4px 0 6px; color: var(--muted); font-size: .85rem; }
.metadata dl { margin: 0; }
.metadata dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 8px 0; border-top: 1px solid #ece8de; overflow-wrap: anywhere; font-size: .86rem; }
.metadata dt { color: var(--muted); }
.metadata dd { margin: 0; font-weight: 580; }
.metadata dd small { display: block; margin-top: 2px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.narrow { max-width: 690px; }
.person-name { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.person-name > div { min-width: 0; }
.help-panel p { color: var(--text); margin-bottom: 10px; font-size: .94rem; }
.help-panel .contact-detail { color: var(--ink); font-weight: 650; }
.help-panel details { border-top: 1px solid var(--line); }
.help-panel details summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; list-style: none; padding: 10px 0; font-weight: 650; font-size: .9rem; }
.help-panel details[open] summary .icon { transform: rotate(180deg); }
.sign-in { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, .95fr) minmax(0, 1.05fr); max-width: 1850px; margin: auto; background: var(--paper); }
.signin-content { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; padding: 36px 40px; }
.public-brand { display: inline-grid; justify-self: start; justify-items: start; gap: 2px; padding: 0; }
.public-brand img { display: block; width: clamp(168px, 18vw, 215px); height: auto; mix-blend-mode: multiply; }
.public-brand span { color: var(--muted); font-size: .8rem; }
.signin-form { width: min(100%, 385px); align-self: center; justify-self: center; margin: 30px 0; }
.signin-form h1 { font-size: 2.625rem; }
.signin-form > p { margin: 10px 0 20px; color: var(--muted); font-size: .98rem; }
.signin-form .button-primary { width: 100%; }
.signin-help { display: flex; align-items: center; gap: 7px; color: var(--muted); width: fit-content; font-size: .875rem; }
.signin-help:hover { color: var(--accent-dark); }
.signin-image { display: flex; align-items: flex-end; padding: 36px; color: #fff6e9; background: linear-gradient(0deg, #201a17d9, transparent 44%), #282420 url("garment-floor.webp") 75% center / cover no-repeat; }
.signin-image span { font-size: .92rem; font-weight: 620; }
.demo-signin { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 13px; }
.demo-signin p { color: var(--muted); font-size: .83rem; margin-bottom: 6px; }
.demo-signin form { display: flex; gap: 6px; flex-wrap: wrap; }
.demo-signin .button { min-height: 34px; padding: 5px 10px; font-size: .82rem; }
.public-content { padding: 36px 24px 50px; max-width: 750px; margin: auto; }
.public-content > .brand { margin-bottom: 22px; }
.public-content .help-panel h1 { margin-bottom: 10px; }

@media (max-width: 1150px) {
  .shell { grid-template-columns: 200px minmax(0, 1fr); }
  .topbar { padding-inline: 22px; }
  .main { padding-inline: 22px; }
  .overview-grid { grid-template-columns: minmax(0, 2.1fr) minmax(200px, 1fr); }
  .compact-table .department-column { display: none; }
}
@media (max-width: 910px) {
  .shell { grid-template-columns: 164px minmax(0, 1fr); }
  .sidebar { padding-inline: 10px; }
  .nav-link { padding-inline: 9px; }
  .current-crumb, .breadcrumb-separator { display: none; }
  .overview-grid { grid-template-columns: 1fr; }
  .overview-grid > .stack { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .compact-table .department-column { display: table-cell; }
  .stat { padding-inline: 12px; }
  .assignee-column { display: none; }
  .form-grid, .detail-grid { grid-template-columns: minmax(0, 1fr) minmax(208px, .65fr); }
}
@media (max-width: 690px) {
  h1 { font-size: 1.875rem; }
  .shell { display: flex; flex-direction: column; }
  .sidebar { position: static; height: auto; padding: 14px; }
  .side-nav { margin-top: 12px; gap: 10px; }
  .nav-footer { padding-top: 8px; }
  .has-client .sidebar:not(.is-open) { display: none; }
  .has-client .menu-toggle { display: inline-grid !important; }
  .topbar { gap: 8px; min-height: 58px; padding-inline: 12px; }
  .top-path, .top-tools { gap: 8px; }
  .top-tools { flex: 1; justify-content: end; }
  .breadcrumb-root, .top-search kbd, .profile-name { display: none; }
  .top-search { width: min(100%, 220px); }
  .main { padding: 20px 12px 36px; }
  .page-head { gap: 10px; margin-bottom: 16px; }
  .page-head p { margin-top: 6px; }
  .button { padding-inline: 10px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .priority-banner { min-height: 147px; padding: 14px; background-position: center, 54% center; }
  .overview-grid, .overview-grid > .stack, .form-grid, .detail-grid, .settings-grid { grid-template-columns: 1fr; }
  .detail-grid > aside.stack { display: contents; }
  .compact-table .department-column, .department-column, .role-column, .updated-column, .priority-column { display: none; }
  .ticket-inline-priority { display: block; margin-top: 6px; }
  th, td { padding-inline: 8px; }
  th:first-child, td:first-child { padding-left: 12px; }
  th:last-child, td:last-child { padding-right: 12px; }
  .person-name .avatar { display: none; }
  .priority i { display: none; }
  .page-actions .button { min-width: auto; }
  .employee-banner { padding: 12px; flex-wrap: wrap; }
  .form-panel, .support-note, .editor-panel, .metadata, .description-panel, .help-panel { padding: 14px; }
  .filters { padding-inline: 12px; }
  .filters select { max-width: 174px; }
  .sign-in { min-height: 100svh; grid-template-columns: 1fr; }
  .signin-content { padding: 22px 20px 26px; }
  .signin-image { min-height: 132px; padding: 12px 20px; background-position: center, right center; }
  .signin-form { margin: 38px 0 26px; }
  .signin-form h1 { font-size: 2.125rem; }
}
@media (max-width: 390px) {
  .issue-grid, .paired { grid-template-columns: 1fr; }
  .stat span { font-size: .82rem; }
  .stat small { font-size: .72rem; }
  .ticket-chat-link .icon { display: none; }
  .status { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
