@font-face { font-family: "Raleway"; src: url("/assets/fonts/raleway-latin.woff2") format("woff2"); font-style: normal; font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("/assets/fonts/open-sans-latin.woff2") format("woff2"); font-style: normal; font-weight: 400 800; font-display: swap; }

:root {
  color-scheme: light;
  --navy-950: #00305b;
  --navy-900: #0f4c85;
  --navy-800: #377dbd;
  --ink: #17344d;
  --muted: #647685;
  --canvas: #f3f7f9;
  --surface: #ffffff;
  --surface-soft: #faf9f6;
  --line: #e2e4e2;
  --brand: #377dbd;
  --brand-dark: #0f4c85;
  --brand-deep: #00305b;
  --brand-soft: #eaf4f6;
  --amber: #b76913;
  --amber-soft: #fff0d9;
  --red: #b23a35;
  --red-soft: #fae7e5;
  --blue: #296b9b;
  --blue-soft: #e5f0f8;
  --shadow-sm: 0 2px 10px rgb(16 40 60 / 7%);
  --shadow-lg: 0 24px 70px rgb(11 30 45 / 20%);
  --radius: 14px;
  --radius-lg: 22px;
  font-family: "Open Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { min-height: 100vh; margin: 0; color: var(--ink); background: var(--canvas); }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
button, input, select, textarea { outline: none; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { box-shadow: 0 0 0 3px rgb(55 125 189 / 25%); border-color: var(--brand); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .button, .nav-item, .stat-card strong { font-family: "Raleway", "Open Sans", sans-serif; }
.is-hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 14px; color: #fff; background: var(--navy-950); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.brand-lockup { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 7px; color: #fff; }
.logo-plate { display: inline-flex; padding: 7px 10px; background: #fff; border-radius: 7px; box-shadow: 0 2px 8px rgb(0 48 91 / 12%); }
.logo-plate img { display: block; width: 150px; height: auto; }
.brand-product { padding-left: 2px; color: rgb(255 255 255 / 72%); font-family: "Raleway", sans-serif; font-size: .69rem; font-weight: 700; letter-spacing: .14em; line-height: 1; text-transform: uppercase; }
.brand-lockup--dark .logo-plate { border: 1px solid #dfe8ec; }
.brand-lockup--dark .brand-product { color: var(--navy-900); }
#boot-view .logo-plate img, .entry-panel .logo-plate img, .setup-card .logo-plate img { width: 185px; }

.centered-view { min-height: 100vh; display: grid; place-items: center; padding: 32px; text-align: center; }
#boot-view p { margin: 18px 0 0; color: var(--muted); }
.loading-line { width: 180px; height: 3px; margin-top: 32px; overflow: hidden; background: #dfe3e1; border-radius: 99px; }
.loading-line::after { content: ""; display: block; width: 60%; height: 100%; background: var(--brand); border-radius: inherit; animation: loading 1.2s ease-in-out infinite alternate; }
@keyframes loading { from { transform: translateX(-100%); } to { transform: translateX(170%); } }

.entry-view { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, .85fr) minmax(460px, 1.15fr); background: var(--surface); }
.entry-panel { width: min(100%, 560px); justify-self: end; align-self: center; padding: 64px 72px; }
.entry-copy { margin: clamp(70px, 14vh, 130px) 0 34px; }
.entry-copy h1 { max-width: 440px; margin-bottom: 16px; color: var(--navy-950); font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: .98; letter-spacing: -.055em; }
.entry-copy > p:last-child { max-width: 450px; color: var(--muted); font-size: 1.06rem; line-height: 1.7; }
.eyebrow { margin-bottom: 10px; color: var(--brand); font-size: .72rem; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 17px; border: 1px solid transparent; border-radius: 10px; font-weight: 700; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.button:not(:disabled):hover { transform: translateY(-1px); }
.button--primary { color: #fff; background: var(--brand-dark); box-shadow: 0 5px 15px rgb(15 76 133 / 20%); }
.button--primary:hover { background: var(--brand-deep); }
.button--secondary { color: var(--navy-900); background: var(--surface); border-color: #d8dddc; }
.button--secondary:hover { border-color: #aeb9b6; background: var(--surface-soft); }
.button--compact { min-height: 38px; padding: 8px 13px; font-size: .88rem; }
.button--microsoft { min-width: 280px; color: #fff; background: var(--navy-900); }
.button--microsoft:hover { background: var(--navy-950); }
.microsoft-mark { display: grid; grid-template-columns: repeat(2, 7px); gap: 2px; }
.microsoft-mark i { width: 7px; height: 7px; background: #fff; }
.dev-login { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.dev-login p { margin-bottom: 10px; color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.button-row { display: flex; flex-wrap: wrap; gap: 9px; }
.entry-aside { position: relative; display: grid; align-content: center; justify-items: center; overflow: hidden; padding: 80px; color: #fff; background: linear-gradient(145deg, var(--brand-dark), var(--brand-deep)); }
.entry-aside::before, .entry-aside::after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgb(255 255 255 / 8%); border-radius: 50%; }
.entry-aside::before { top: -170px; right: -120px; }
.entry-aside::after { bottom: -250px; left: -110px; }
.entry-graphic { position: relative; width: min(30vw, 380px); aspect-ratio: 1; }
.graphic-card { position: absolute; display: block; border: 1px solid rgb(255 255 255 / 22%); background: rgb(255 255 255 / 9%); box-shadow: 0 20px 50px rgb(0 0 0 / 15%); backdrop-filter: blur(4px); border-radius: 22px; }
.graphic-card::before, .graphic-card::after { content: ""; position: absolute; left: 24px; height: 8px; background: rgb(255 255 255 / 28%); border-radius: 99px; }
.graphic-card::before { top: 28px; width: 62%; }.graphic-card::after { top: 48px; width: 42%; }
.graphic-card--one { inset: 18% 10% 27% 23%; transform: rotate(-8deg); }
.graphic-card--two { inset: 34% 20% 9% 10%; transform: rotate(7deg); }
.graphic-orbit { position: absolute; inset: 6%; border: 1px solid rgb(169 212 244 / 40%); border-radius: 50%; }
.graphic-check { position: absolute; top: 24%; right: 4%; display: grid; place-items: center; width: 64px; height: 64px; color: var(--brand-deep); background: var(--brand-soft); border: 7px solid rgb(0 48 91 / 60%); border-radius: 50%; font-size: 1.8rem; font-weight: 900; }
.entry-aside blockquote { position: relative; z-index: 1; max-width: 520px; margin: 45px 0 0; color: rgb(255 255 255 / 82%); font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.5; text-align: center; }
.setup-card { width: min(560px, 100%); padding: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.setup-card .brand-lockup { margin-bottom: 60px; }
.setup-card h1 { color: var(--navy-950); font-size: 2.3rem; letter-spacing: -.04em; }
.setup-card > p:last-child { margin: 0; color: var(--muted); line-height: 1.7; }
.setup-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; color: var(--brand); background: var(--brand-soft); border-radius: 16px; font-size: 2rem; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 252px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 32px 22px 22px; color: #fff; background: var(--navy-900); }
.sidebar-nav { display: grid; gap: 7px; margin-top: 48px; margin-bottom: auto; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 13px; color: rgb(255 255 255 / 66%); background: transparent; border: 0; border-radius: 9px; font-weight: 650; text-align: left; }
.nav-item:hover { color: #fff; background: rgb(255 255 255 / 6%); }
.nav-item--active { color: #fff; background: rgb(255 255 255 / 10%); }
.nav-item > span:first-child { width: 22px; color: #a9d4f4; font-size: 1.1rem; text-align: center; }
.mailbox-card { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 22px; padding: 13px; color: rgb(255 255 255 / 68%); background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 8%); border-radius: 10px; font-size: .72rem; }
.mailbox-card > span { color: #a9d4f4; font-size: 1rem; }.mailbox-card div { min-width: 0; display: grid; gap: 4px; }.mailbox-card strong { color: #fff; }.mailbox-card span:last-child { overflow: hidden; text-overflow: ellipsis; }
.sidebar-user { display: grid; grid-template-columns: 38px minmax(0, 1fr) 34px; align-items: center; gap: 10px; padding-top: 19px; border-top: 1px solid rgb(255 255 255 / 10%); }
.sidebar-user > div { min-width: 0; display: grid; gap: 3px; }.sidebar-user strong, .sidebar-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.sidebar-user strong { font-size: .83rem; }.sidebar-user div span { color: rgb(255 255 255 / 55%); font-size: .7rem; text-transform: capitalize; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; color: var(--navy-950); background: #75d6c3; border-radius: 50%; font-size: .76rem; font-weight: 850; }
.icon-button { width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 9px; font-size: 1.45rem; }
.icon-button:hover { color: var(--ink); background: #f0f2f1; }.icon-button--inverse { color: rgb(255 255 255 / 55%); }.icon-button--inverse:hover { color: #fff; background: rgb(255 255 255 / 8%); }
.workspace { min-width: 0; }
.mobile-actions { display: flex; align-items: center; gap: 7px; }
.local-preview-banner { position: sticky; top: 0; z-index: 25; min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 18px; color: #77501b; background: #fff2d8; border-bottom: 1px solid #edd7aa; font-size: .74rem; }
.local-preview-banner strong { color: #5e3a0d; letter-spacing: .04em; text-transform: uppercase; }
.mobile-header { display: none; }
.main-content { width: min(1440px, 100%); margin: 0 auto; padding: 44px clamp(28px, 4vw, 64px) 64px; }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.page-header h1 { margin-bottom: 8px; color: var(--navy-950); font-size: clamp(2rem, 3vw, 2.65rem); line-height: 1; letter-spacing: -.045em; }.page-header p:last-child { margin-bottom: 0; color: var(--muted); }
.mobile-management-actions { display: none; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat-card { min-width: 0; padding: 20px; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: left; }
.stat-card:hover { border-color: #bdc8c5; transform: translateY(-1px); }
.stat-card span, .stat-card small { display: block; color: var(--muted); }.stat-card span { font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }.stat-card strong { display: block; margin: 8px 0 4px; color: var(--navy-950); font-size: 2rem; letter-spacing: -.04em; }.stat-card small { font-size: .72rem; }
.stat-card--accent { border-color: #c4ddec; background: linear-gradient(145deg, #fff, var(--brand-soft)); }.stat-card--accent strong { color: var(--brand-dark); }
.queue-panel { min-height: 380px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.queue-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--line); }.queue-heading h2 { margin-bottom: 5px; font-size: 1.1rem; }.queue-heading p { margin: 0; color: var(--muted); font-size: .8rem; }
.filters { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
input, select, textarea { width: 100%; color: var(--ink); background: #fff; border: 1px solid #d6dcda; border-radius: 9px; }
input, select { min-height: 42px; padding: 9px 11px; } textarea { padding: 12px; line-height: 1.55; resize: vertical; }
select { padding-right: 32px; }
.search-field { position: relative; width: min(240px, 25vw); }.search-field > span:not(.sr-only) { position: absolute; top: 50%; left: 12px; color: #87938e; transform: translateY(-50%); }.search-field input { padding-left: 34px; }
.queue-state { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 38px; text-align: center; }.queue-state h3 { margin: 14px 0 7px; }.queue-state p { max-width: 430px; margin-bottom: 18px; color: var(--muted); line-height: 1.5; }.spinner { width: 28px; height: 28px; border: 3px solid #dbe4e1; border-top-color: var(--brand); border-radius: 50%; animation: spin .75s linear infinite; }@keyframes spin { to { transform: rotate(360deg); } }.state-icon { display: grid; place-items: center; width: 46px; height: 46px; color: var(--brand-dark); background: var(--brand-soft); border-radius: 50%; font-weight: 850; }.queue-state[role="alert"] .state-icon { color: var(--red); background: var(--red-soft); }
.ticket-table-head, .ticket-row { display: grid; grid-template-columns: minmax(250px, 1fr) 120px 100px 110px 28px; align-items: center; gap: 18px; }
.ticket-table-head { padding: 11px 24px; color: #87928d; background: var(--surface-soft); border-bottom: 1px solid var(--line); font-size: .69rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.ticket-row { width: 100%; padding: 17px 24px; color: var(--ink); background: #fff; border: 0; border-bottom: 1px solid #edf0ee; text-align: left; }.ticket-row:hover { background: #f7fafc; }.ticket-row:last-child { border-bottom: 0; }.ticket-row__main { min-width: 0; }.ticket-row__title { display: flex; align-items: center; gap: 8px; min-width: 0; }.ticket-row__title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }.ticket-row__number { flex: 0 0 auto; color: var(--brand-dark); font-size: .72rem; font-weight: 800; }.ticket-row__meta { display: flex; gap: 8px; margin-top: 7px; color: var(--muted); font-size: .72rem; }.ticket-row__meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.ticket-row__date { color: var(--muted); font-size: .77rem; }.ticket-row__arrow { color: #9ba5a1; font-size: 1.1rem; }
.ticket-row__mobile-state { display: none; }
.badge { width: fit-content; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; color: var(--muted); background: #eef1f0; border-radius: 99px; font-size: .7rem; font-weight: 800; text-transform: capitalize; }.badge::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }.badge--open { color: var(--brand-dark); background: var(--brand-soft); }.badge--in_progress { color: var(--blue); background: var(--blue-soft); }.badge--waiting { color: var(--amber); background: var(--amber-soft); }.badge--closed { color: #64736d; background: #e9eceb; }.badge--urgent { color: var(--red); background: var(--red-soft); }.badge--high { color: var(--amber); background: var(--amber-soft); }.badge--normal { color: var(--blue); background: var(--blue-soft); }.badge--low { color: #64736d; background: #edf0ef; }
.pagination { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 14px 22px; border-top: 1px solid var(--line); }.pagination span { color: var(--muted); font-size: .8rem; }

dialog { padding: 0; border: 0; background: transparent; }dialog::backdrop { background: rgb(11 30 45 / 48%); backdrop-filter: blur(2px); }dialog[open] { animation: appear .18s ease-out; }@keyframes appear { from { opacity: 0; transform: translateY(8px); } }
.modal { width: min(650px, calc(100vw - 28px)); max-height: calc(100vh - 28px); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }.modal-card { max-height: calc(100vh - 28px); display: flex; flex-direction: column; overflow: hidden; background: var(--surface); }.modal-header, .drawer-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 26px; border-bottom: 1px solid var(--line); }.modal-header h2, .drawer-header h2 { margin-bottom: 5px; color: var(--navy-950); font-size: 1.45rem; letter-spacing: -.025em; }.modal-header p:last-child { margin: 0; color: var(--muted); font-size: .87rem; }.modal-body { padding: 24px 26px; overflow-y: auto; }.modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 26px; background: var(--surface-soft); border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }.field { display: grid; align-content: start; gap: 7px; }.field--full { grid-column: 1 / -1; }.field > span { font-size: .78rem; font-weight: 750; }.field > span small { color: var(--muted); font-size: .68rem; font-weight: 500; }.form-message { margin: 0; padding: 10px 12px; border-radius: 8px; font-size: .8rem; line-height: 1.45; }.form-message--error { color: #8e2b27; background: var(--red-soft); border: 1px solid #f0cbc7; }
.category-load-error { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px; color: #8e2b27; background: var(--red-soft); border: 1px solid #f0cbc7; border-radius: 9px; }.category-load-error p { margin: 0; font-size: .78rem; line-height: 1.45; }
.administrators-modal { width: min(720px, calc(100vw - 28px)); }
.administrators-body { min-height: 420px; }
.add-administrator-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.field-hint { margin: 7px 0 0; color: var(--muted); font-size: .72rem; }
.administrator-note { margin: 18px 0 0; padding: 13px 14px; color: #41586a; background: var(--brand-soft); border-left: 3px solid var(--brand); border-radius: 7px; font-size: .78rem; line-height: 1.55; }
.add-administrator-form + .field-hint + .administrator-note + .form-message { margin-top: 12px; }
.administrators-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 28px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.administrators-heading h3 { margin: 0; font-size: .92rem; }
.administrators-heading span { color: var(--muted); font-size: .72rem; }
.admin-state { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; padding: 24px; color: var(--muted); text-align: center; }
.admin-state p { max-width: 420px; margin: 0; font-size: .82rem; line-height: 1.5; }
.administrator-list { margin: 0; padding: 0; list-style: none; }
.administrator-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid #edf0f2; }
.administrator-item:last-child { border-bottom: 0; }
.administrator-avatar { width: 40px; height: 40px; color: #fff; background: var(--brand-dark); }
.administrator-identity { min-width: 0; display: grid; gap: 3px; }
.administrator-name-row { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.administrator-name-row strong, .administrator-email, .administrator-identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.administrator-name-row strong { font-size: .84rem; }
.administrator-email { color: #3d5363; font-size: .77rem; }
.administrator-identity small { color: var(--muted); font-size: .66rem; }
.admin-label { padding: 3px 6px; border-radius: 99px; font-size: .61rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.admin-label--self { color: var(--brand-dark); background: var(--brand-soft); }
.admin-label--pending { color: var(--amber); background: var(--amber-soft); }
.admin-label--protected { color: var(--brand-dark); background: var(--brand-soft); }
.administrator-remove:disabled { cursor: not-allowed; }
.drawer { width: min(690px, 100vw); max-width: none; height: 100vh; max-height: none; margin: 0 0 0 auto; }.drawer[open] { animation: slide-in .22s ease-out; }@keyframes slide-in { from { opacity: 0; transform: translateX(30px); } }.drawer-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); box-shadow: -20px 0 60px rgb(0 48 91 / 18%); }.drawer-header { flex: 0 0 auto; }.drawer-header .eyebrow { margin-bottom: 7px; }.drawer-header h2 { margin: 0; }.drawer-content { flex: 1; overflow-y: auto; padding: 26px; }.detail-badges { display: flex; align-items: center; gap: 8px; }.source-label { margin-left: auto; color: var(--muted); font-size: .72rem; text-transform: capitalize; }.ticket-description { margin: 24px 0; color: #32444f; line-height: 1.7; white-space: pre-wrap; }.ticket-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; margin: 0; padding: 18px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 12px; }.ticket-meta div { min-width: 0; }.ticket-meta dt { margin-bottom: 5px; color: var(--muted); font-size: .68rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }.ticket-meta dd { margin: 0; overflow-wrap: anywhere; font-size: .84rem; font-weight: 650; }.agent-controls { margin-top: 24px; padding: 20px; border: 1px solid #c4ddec; background: #f4f9fc; border-radius: 12px; }.agent-controls .button { margin-top: 16px; }.section-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }.section-title h3 { margin: 0; font-size: 1rem; }.section-title > span { color: var(--muted); font-size: .7rem; }.conversation, .activity-section { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }.comment-list { display: grid; gap: 12px; }.comment { padding: 15px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 11px; }.comment--internal { background: #fff8eb; border-color: #f0d8b3; }.comment__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }.comment__author { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }.comment__author strong { font-size: .82rem; }.comment__author span, .comment__head time { color: var(--muted); font-size: .67rem; }.comment__author .private-label { color: var(--amber); font-weight: 800; }.comment__body { margin: 0; color: #344752; font-size: .85rem; line-height: 1.62; white-space: pre-wrap; }.comment-empty { padding: 20px; color: var(--muted); background: var(--surface-soft); border-radius: 10px; text-align: center; font-size: .82rem; }.comment-form { display: grid; gap: 11px; margin-top: 16px; }.checkbox { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .76rem; }.checkbox input { width: 16px; min-height: 16px; accent-color: var(--brand-dark); }.comment-actions { display: flex; justify-content: flex-end; }.activity-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }.activity-item { position: relative; display: grid; grid-template-columns: 12px 1fr; gap: 12px; padding-bottom: 17px; }.activity-item::before { content: ""; width: 8px; height: 8px; margin-top: 5px; background: #aab5b1; border: 2px solid #fff; box-shadow: 0 0 0 1px #cfd6d3; border-radius: 50%; }.activity-item:not(:last-child)::after { content: ""; position: absolute; top: 16px; bottom: 0; left: 5px; width: 1px; background: #d9dfdc; }.activity-item p { margin: 0 0 4px; color: #3b4b54; font-size: .8rem; line-height: 1.45; }.activity-item time { color: var(--muted); font-size: .68rem; }
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 1000; display: grid; gap: 9px; }.toast { max-width: min(380px, calc(100vw - 40px)); padding: 13px 16px; color: #fff; background: var(--brand-deep); border-radius: 10px; box-shadow: var(--shadow-lg); font-size: .83rem; animation: toast-in .2s ease-out; }@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }.toast--success { background: var(--brand-dark); }.toast--error { background: #8f302c; }

@media (max-width: 1040px) {
  .app-shell { grid-template-columns: 220px minmax(0, 1fr); }.sidebar { padding-inline: 17px; }.main-content { padding-inline: 28px; }.stat-grid { grid-template-columns: repeat(2, 1fr); }.queue-heading { align-items: stretch; flex-direction: column; }.filters { justify-content: flex-start; flex-wrap: wrap; }.search-field { width: min(100%, 310px); }.ticket-table-head, .ticket-row { grid-template-columns: minmax(230px, 1fr) 110px 90px 28px; }.ticket-table-head span:nth-child(4), .ticket-row__date { display: none; }
}
@media (max-width: 800px) {
  .entry-view { grid-template-columns: 1fr; }.entry-panel { width: min(100%, 600px); justify-self: center; padding: 42px 30px 56px; }.entry-copy { margin: 70px 0 30px; }.entry-aside { display: none; }
  .app-shell { display: block; }.sidebar { display: none; }.mobile-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--navy-900); box-shadow: 0 2px 12px rgb(0 48 91 / 15%); }.mobile-header .brand-lockup { flex-direction: row; align-items: center; gap: 8px; }.mobile-header .logo-plate { padding: 4px 6px; border-radius: 5px; }.mobile-header .logo-plate img { width: 105px; }.mobile-header .brand-product { padding: 0; font-size: .58rem; line-height: 1.2; }.main-content { padding: 28px 16px 45px; }.page-header { align-items: flex-start; margin-bottom: 22px; }.page-header .button { display: none; }.page-header h1 { font-size: 2rem; }.stat-grid { gap: 9px; }.stat-card { padding: 15px; }.stat-card strong { font-size: 1.65rem; }.queue-panel { border-radius: 15px; }.queue-heading { padding: 18px; }.filters { display: grid; grid-template-columns: repeat(2, 1fr); }.search-field { width: 100%; grid-column: 1 / -1; }.ticket-table-head { display: none; }.ticket-row { grid-template-columns: minmax(0, 1fr) 24px; gap: 12px; padding: 17px 18px; }.ticket-row > .badge, .ticket-row__date { display: none; }.ticket-row__meta { flex-wrap: wrap; }.pagination { justify-content: center; }.drawer { width: 100vw; }.drawer-content, .drawer-header { padding-inline: 20px; }
  .ticket-row__mobile-state { display: inline; }
  .workspace--local .mobile-header { top: 34px; }
  .mobile-management-actions:not(.is-hidden) { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 20px; }
}
@media (max-width: 520px) {
  .centered-view { padding: 18px; }.setup-card { padding: 32px 22px; }.setup-card h1 { font-size: 1.8rem; }.entry-panel { padding-inline: 22px; }.entry-copy h1 { font-size: 2.8rem; }.button--microsoft { min-width: 0; width: 100%; }.button-row { display: grid; }.stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.stat-card small { display: none; }.filters { grid-template-columns: 1fr; }.search-field { grid-column: auto; }.modal { width: 100vw; max-height: 100vh; border-radius: 0; }.modal-card { min-height: 100vh; max-height: 100vh; }.modal-header, .modal-body, .modal-footer { padding-inline: 19px; }.form-grid, .ticket-meta { grid-template-columns: 1fr; }.field--full { grid-column: auto; }.modal-footer .button { flex: 1; }.drawer-header { padding-block: 18px; }.drawer-content { padding: 20px 16px 40px; }.agent-controls { padding: 16px; }.detail-badges { flex-wrap: wrap; }.source-label { width: 100%; margin: 3px 0 0; }
  .add-administrator-form { grid-template-columns: 1fr; }.add-administrator-form .button { width: 100%; }.administrator-item { grid-template-columns: 38px minmax(0, 1fr); }.administrator-remove { grid-column: 2; width: fit-content; }.administrators-body { min-height: 0; }.category-load-error { align-items: stretch; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
