:root {
  --navy: #0c1914;
  --navy-2: #172820;
  --blue: #ed602d;
  --blue-dark: #cf461b;
  --blue-soft: #fff0e9;
  --ink: #17231f;
  --muted: #66736d;
  --line: #dfe4dc;
  --canvas: #f5f6f2;
  --white: #fff;
  --green: #247b58;
  --green-soft: #e7f3ec;
  --amber: #9b5c00;
  --amber-soft: #fff4dc;
  --red: #c0333f;
  --red-soft: #ffeaec;
  --shadow: 0 10px 35px rgba(28, 48, 78, .07);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-size: 16px;
  line-height: 1.5;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.icon { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 260px; display: flex; flex-direction: column; padding: 27px 20px 22px; color: #dce8fb; background: var(--navy); z-index: 20; }
.brand { display: grid; gap: 8px; padding: 0 8px; color: #fff; }
.brand-logo { display: block; width: 172px; height: auto; }
.portal-label { width: fit-content; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.18); color: #a5b2a9; font-size: .64rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.sidebar nav { margin-top: 42px; display: grid; gap: 6px; }
.nav-link { display: flex; align-items: center; gap: 13px; padding: 11px 13px; border-radius: 11px; color: #a5b2a9; font-size: .92rem; font-weight: 620; transition: .18s ease; }
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav-link.active { color: #fff; background: var(--blue); box-shadow: 0 7px 18px rgba(3, 26, 66, .22); }
.support-card { margin-top: auto; padding: 17px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 15px; background: rgba(255, 255, 255, .045); }
.support-card strong { font-size: .85rem; color: #fff; }
.support-card p { margin: 6px 0 9px; color: #a5b2a9; font-size: .77rem; line-height: 1.45; }
.support-card a { color: #d6ddd8; font-size: .75rem; }
.status-pulse { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #4bdb9b; box-shadow: 0 0 0 4px rgba(75, 219, 155, .12); }
.main { grid-column: 2; min-width: 0; }
.topbar { height: 76px; display: flex; align-items: center; gap: 13px; padding: 0 clamp(22px, 4vw, 55px); background: rgba(255,255,255,.86); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.topbar-spacer { flex: 1; }
.user-meta { display: flex; align-items: center; gap: 10px; }
.user-meta > span:last-child { display: grid; line-height: 1.25; }
.user-meta strong { font-size: .82rem; }
.user-meta small { color: var(--muted); font-size: .72rem; }
.avatar, .company-avatar { display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-weight: 800; }
.avatar { width: 36px; height: 36px; border-radius: 50%; font-size: .74rem; }
.icon-button, .menu-toggle { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.icon-button:hover, .menu-toggle:hover { background: #eef2f8; color: var(--ink); }
.menu-toggle { display: none; }
.install-button { min-height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--blue); font-size: .72rem; font-weight: 750; cursor: pointer; }
.install-button[hidden] { display: none; }
.install-button .icon { width: 15px; height: 15px; }
.page-content { width: min(1210px, 100%); margin: 0 auto; padding: 41px clamp(22px, 4vw, 55px) 70px; }
.page-heading { margin-bottom: 28px; }
.page-heading h1, .ticket-heading h1 { margin: 4px 0 5px; color: #10213c; font-size: clamp(1.8rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -.045em; }
.page-heading p, .ticket-heading p { margin: 0; color: var(--muted); }
.heading-action { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.eyebrow { margin: 0 0 5px !important; color: var(--blue) !important; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 10px 17px; font-weight: 720; font-size: .85rem; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 8px 20px rgba(21,94,239,.18); }
.button-primary:hover { background: var(--blue-dark); }
.button-dark { color: #fff; background: var(--navy); }
.button-ghost { color: var(--muted); background: #eef2f7; }
.button-wide { width: 100%; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.stat-card { min-height: 139px; display: flex; align-items: center; gap: 18px; padding: 23px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat-icon { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 13px; }
.accent-blue .stat-icon { color: var(--blue); background: var(--blue-soft); }
.accent-amber .stat-icon { color: var(--amber); background: var(--amber-soft); }
.accent-green .stat-icon { color: var(--green); background: var(--green-soft); }
.stat-card > div { display: grid; }
.stat-card span:not(.stat-icon) { color: var(--muted); font-size: .78rem; font-weight: 650; }
.stat-card strong { color: #10213c; font-size: 1.85rem; line-height: 1.1; letter-spacing: -.04em; }
.stat-card small { margin-top: 4px; color: #8995a7; font-size: .69rem; }
.panel, .form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-heading { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 23px; border-bottom: 1px solid var(--line); }
.panel-heading h2, .info-panel h2 { margin: 0; font-size: 1rem; letter-spacing: -.02em; }
.panel-heading p { margin: 2px 0 0; color: var(--muted); font-size: .76rem; }
.text-link { color: var(--blue); font-size: .78rem; font-weight: 750; }
.ticket-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 23px; border-bottom: 1px solid var(--line); transition: background .15s ease; }
.ticket-row:last-child { border-bottom: 0; }
.ticket-row:hover { background: #f9fbfe; }
.ticket-main { min-width: 0; display: grid; gap: 4px; }
.ticket-main > div { display: flex; align-items: center; gap: 9px; }
.ticket-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.ticket-main small { color: var(--muted); font-size: .72rem; }
.ticket-number { color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.ticket-state { display: flex; align-items: center; gap: 17px; }
.row-arrow { color: #9ba8b9; }
.badge, .priority { display: inline-flex; align-items: center; width: fit-content; border-radius: 99px; font-weight: 750; white-space: nowrap; }
.badge { padding: 5px 9px; font-size: .68rem; }
.badge-open { color: #1a55b5; background: #e9f1ff; }
.badge-in_progress { color: var(--amber); background: var(--amber-soft); }
.badge-waiting_client { color: #6d50a7; background: #f0eafb; }
.badge-resolved, .badge-closed { color: var(--green); background: var(--green-soft); }
.priority { padding: 2px 7px; font-size: .63rem; }
.priority-low, .priority-normal { color: #66758c; background: #edf1f6; }
.priority-high { color: #9b5c00; background: var(--amber-soft); }
.priority-urgent { color: var(--red); background: var(--red-soft); }
.filters { display: flex; gap: 8px; padding: 17px 22px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.filter-chip { flex: 0 0 auto; padding: 7px 12px; border-radius: 99px; color: var(--muted); background: #f2f5f9; font-size: .74rem; font-weight: 700; }
.filter-chip.active { color: #fff; background: var(--navy); }
.back-link { display: inline-flex; margin-bottom: 12px; color: var(--blue); font-size: .77rem; font-weight: 750; }
.form-panel { max-width: 850px; padding: clamp(22px, 4vw, 34px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-stack { display: grid; gap: 18px; }
label { display: grid; align-content: start; gap: 7px; color: #30415a; font-size: .78rem; font-weight: 720; }
input, textarea, select { width: 100%; border: 1px solid #d8e0eb; border-radius: 10px; background: #fff; color: var(--ink); outline: none; }
input, select { min-height: 44px; padding: 9px 12px; }
textarea { resize: vertical; min-height: 98px; padding: 12px; line-height: 1.5; }
input:focus, textarea:focus, select:focus { border-color: #79a4fa; box-shadow: 0 0 0 3px rgba(21,94,239,.11); }
label small { color: var(--muted); font-size: .7rem; font-weight: 500; }
.field-full { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 4px; }
.compact { padding: 23px; }
.checkbox { display: flex; grid-auto-flow: column; justify-content: start; align-items: center; gap: 9px; }
.checkbox input { width: 17px; min-height: 17px; }
.ticket-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 25px; }
.ticket-title-line { display: flex; align-items: center; gap: 10px; }
.status-form label { min-width: 170px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 315px; align-items: start; gap: 20px; }
.detail-main { display: grid; gap: 20px; }
.detail-aside { display: grid; gap: 20px; }
.message { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 20px 23px; border-bottom: 1px solid var(--line); }
.message-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #45627e; background: #eaf0f6; font-size: .77rem; font-weight: 800; }
.staff-message { background: #f7faff; }
.staff-message .message-avatar { color: var(--blue); background: var(--blue-soft); }
.message-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.message-meta strong { font-size: .83rem; }
.message-meta strong span { margin-left: 7px; padding: 2px 6px; border-radius: 5px; color: var(--blue); background: var(--blue-soft); font-size: .58rem; text-transform: uppercase; }
.message-meta time { color: var(--muted); font-size: .66rem; }
.message p { margin: 7px 0 0; color: #40516a; font-size: .84rem; line-height: 1.65; }
.reply-form { padding: 22px 23px; }
.reply-form button { margin-top: 12px; }
.reply-attachment { margin-top: 12px; padding: 12px; border: 1px dashed #ccd5cb; border-radius: 10px; background: #fafbf9; }
.file-field { padding: 15px; border: 1px dashed #cbd5ca; border-radius: 11px; background: #fafbf9; }
.file-field input, .reply-attachment input { min-height: auto; padding: 7px; border: 0; background: transparent; }
.attachment-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.attachment-chip { min-width: 210px; max-width: 100%; display: grid; grid-template-columns: 20px minmax(0,1fr) 18px; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); }
.attachment-chip:hover { border-color: #f0a185; background: #fffaf7; }
.attachment-chip .icon { width: 17px; height: 17px; color: var(--blue); }
.attachment-chip > span { min-width: 0; display: grid; }
.attachment-chip strong { overflow: hidden; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.attachment-chip small { color: var(--muted); font-size: .62rem; }
.info-panel { padding: 21px; }
.info-panel > h2 { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.info-panel dl { margin: 0; }
.info-panel dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.info-panel dl > div:last-child { border-bottom: 0; }
.info-panel dt { color: var(--muted); font-size: .72rem; }
.info-panel dd { margin: 0; text-align: right; font-size: .74rem; font-weight: 700; }
.detail-subvalue { display: block; margin-top: 2px; color: var(--muted); font-size: .64rem; font-weight: 500; }
.intervention-list article { padding: 14px 0; border-bottom: 1px solid var(--line); }
.intervention-list article:last-child { border-bottom: 0; padding-bottom: 0; }
.intervention-list article > div { display: flex; justify-content: space-between; font-size: .72rem; }
.intervention-list article span { color: var(--blue); font-weight: 750; }
.intervention-list p { margin: 6px 0; color: #40516a; font-size: .74rem; }
.intervention-list small { color: var(--muted); font-size: .65rem; }
.muted { color: var(--muted); }
.small { font-size: .76rem; }
.summary-strip { display: flex; gap: 50px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.summary-strip div { display: grid; }
.summary-strip span { color: var(--muted); font-size: .7rem; }
.summary-strip strong { font-size: 1.4rem; }
.intervention-row { display: grid; grid-template-columns: 90px minmax(0,1fr) auto 20px; align-items: center; gap: 18px; padding: 18px 23px; border-bottom: 1px solid var(--line); }
.intervention-row:last-child { border-bottom: 0; }
.intervention-row:hover { background: #f9fbfe; }
.intervention-row time { color: var(--muted); font-size: .73rem; }
.intervention-row > div { min-width: 0; display: grid; }
.intervention-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .83rem; }
.intervention-row div span { color: var(--muted); font-size: .7rem; }
.time-pill { padding: 5px 9px; border-radius: 7px; color: var(--blue); background: var(--blue-soft); font-size: .68rem; font-weight: 800; }
.client-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.client-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.client-card-head { display: flex; justify-content: space-between; align-items: start; }
.client-card-actions { display: flex; align-items: center; gap: 7px; }
.edit-button { width: 31px; height: 31px; border: 1px solid var(--line); background: #fff; }
.edit-button .icon { width: 15px; height: 15px; }
.muted-badge { color: var(--muted); background: #edf0eb; }
.company-avatar { width: 44px; height: 44px; border-radius: 12px; font-size: .77rem; }
.client-card h2 { margin: 18px 0 3px; font-size: 1rem; }
.client-card > p { margin: 0; color: var(--muted); font-size: .73rem; }
.client-card dl { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.client-card dl > div { display: flex; justify-content: space-between; padding: 5px 0; font-size: .72rem; }
.client-card dt { color: var(--muted); }
.client-card dd { margin: 0; font-weight: 720; }
.truncate-value { max-width: 155px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-manage-link { display: flex; align-items: center; gap: 8px; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--blue); font-size: .73rem; font-weight: 760; }
.client-manage-link span { margin-left: auto; }
.client-manage-link .icon { width: 16px; height: 16px; }
.asset-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.asset-card { min-width: 0; padding: 21px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.asset-card-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.asset-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; color: var(--blue); background: var(--blue-soft); }
.asset-type { margin: 17px 0 2px; color: var(--blue); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.asset-card h2 { margin: 0; overflow: hidden; font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.asset-model { min-height: 34px; margin: 4px 0 14px; color: var(--muted); font-size: .73rem; }
.asset-card dl { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.asset-card dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 4px 0; font-size: .71rem; }
.asset-card dt { color: var(--muted); }
.asset-card dd { margin: 0; max-width: 58%; overflow: hidden; font-weight: 700; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.asset-edit-link { width: 100%; border: 0; border-radius: 0; background: transparent; cursor: pointer; }
.asset-empty { grid-column: 1 / -1; }
.dialog-wide { width: min(720px, calc(100% - 32px)); }
.button-small { min-height: 34px; padding: 7px 11px; font-size: .72rem; }
.user-access-list { display: grid; }
.user-access-row { display: grid; grid-template-columns: 42px minmax(0,1fr) auto auto; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.user-access-row:last-child { border-bottom: 0; }
.user-access-row > div { min-width: 0; display: grid; }
.user-access-row strong { font-size: .84rem; }
.user-access-row div span { overflow: hidden; color: var(--muted); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.user-avatar { width: 38px; height: 38px; border-radius: 11px; }
.dialog { width: min(600px, calc(100% - 32px)); border: 0; border-radius: 19px; padding: 0; box-shadow: 0 30px 90px rgba(8,24,49,.3); }
.dialog::backdrop { background: rgba(8, 24, 49, .55); backdrop-filter: blur(3px); }
.dialog form { padding: 26px; }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; }
.dialog-heading h2 { margin: 0; font-size: 1.35rem; }
.dialog-heading .icon-button { font-size: 1.5rem; }
.optional-label { color: var(--muted); font-size: .67rem; font-weight: 500; }
.alert { margin-bottom: 20px; padding: 13px 16px; border-radius: 11px; font-size: .8rem; font-weight: 650; }
.alert-success { color: #126b4e; background: var(--green-soft); border: 1px solid #cceadd; }
.alert-error { color: #9e2935; background: var(--red-soft); border: 1px solid #f7cbd0; }
.empty-inline, .empty-state { text-align: center; }
.empty-inline { padding: 50px 25px; }
.empty-inline h3 { margin: 10px 0 2px; }
.empty-inline p { margin: 0; color: var(--muted); font-size: .8rem; }
.empty-icon { width: 46px; height: 46px; display: grid; place-items: center; margin: auto; border-radius: 50%; color: var(--green); background: var(--green-soft); }
.empty-state { max-width: 600px; margin: 10vh auto; padding: 45px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.empty-state h1 { margin: 0; }
.empty-state p { margin-bottom: 24px; color: var(--muted); }

.login-page { min-height: 100vh; background: #ecefe9; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.05fr) minmax(420px, .95fr); }
.login-brand { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(35px, 7vw, 80px); color: #edf0e6; background: radial-gradient(circle at 15% 90%, rgba(237,96,45,.46), transparent 37%), linear-gradient(145deg, #0c1914, #172820); }
.login-brand > div:nth-child(2) { max-width: 560px; }
.login-brand h1 { margin: 8px 0 20px; color: #fff; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1.02; letter-spacing: -.065em; }
.login-brand p:not(.eyebrow) { max-width: 460px; margin: 0; color: #b6c6df; font-size: 1.02rem; }
.brand-light { width: fit-content; padding: 0; }
.brand-light .brand-logo { width: 205px; }
.login-trust { display: flex; gap: 25px; color: #aebfd9; font-size: .76rem; }
.login-trust span::before { content: "✓"; margin-right: 7px; color: #57dfa4; font-weight: 900; }
.login-card { display: flex; flex-direction: column; justify-content: center; gap: 26px; width: min(470px, calc(100% - 48px)); margin: auto; padding: 45px; background: #fff; border: 1px solid rgba(20,40,70,.08); border-radius: 23px; box-shadow: 0 25px 70px rgba(15,39,75,.12); }
.login-card h2 { margin: 2px 0 5px; font-size: 1.75rem; letter-spacing: -.04em; }
.login-card > div:first-child > p:last-child { margin: 0; font-size: .85rem; }
.demo-note { display: grid; gap: 3px; padding: 12px 14px; border-radius: 10px; background: #f4f7fb; color: var(--muted); font-size: .7rem; }
.demo-note strong { color: #4a5b73; }

@media (max-width: 1050px) {
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asset-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 275px; }
}

@media (max-width: 820px) {
  .app-shell { display: block; }
  .sidebar { transform: translateX(-102%); transition: transform .22s ease; box-shadow: 20px 0 50px rgba(7,25,52,.25); }
  body.menu-open .sidebar { transform: translateX(0); }
  body.menu-open::after { content: ""; position: fixed; inset: 0; z-index: 10; background: rgba(8,24,49,.45); }
  .main { min-height: 100vh; }
  .menu-toggle { display: grid; }
  .page-content { padding-top: 30px; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: 112px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-aside { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .login-shell { display: block; padding: 35px 0; background: linear-gradient(145deg, #0c1914, #172820); }
  .login-brand { min-height: auto; display: block; padding: 20px 35px 35px; background: transparent; }
  .login-brand > div:nth-child(2) { margin-top: 60px; }
  .login-brand h1 { font-size: 2.7rem; }
  .login-trust { display: none; }
  .login-card { padding: 32px; }
}

@media (max-width: 600px) {
  .topbar { height: 66px; padding: 0 16px; }
  .user-meta > span:last-child { display: none; }
  .page-content { padding: 25px 16px 55px; }
  .heading-action, .ticket-heading { align-items: stretch; flex-direction: column; }
  .heading-action .button, .heading-action > button { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .form-actions { flex-direction: column-reverse; }
  .ticket-row { align-items: start; padding: 16px; }
  .ticket-state { flex-direction: column; align-items: end; gap: 10px; }
  .ticket-state .row-arrow { display: none; }
  .ticket-main small { white-space: normal; }
  .detail-aside { grid-template-columns: 1fr; }
  .message { padding: 18px 16px; grid-template-columns: 32px minmax(0,1fr); }
  .message-avatar { width: 32px; height: 32px; }
  .message-meta { align-items: start; flex-direction: column; gap: 1px; }
  .client-grid { grid-template-columns: 1fr; }
  .asset-grid { grid-template-columns: 1fr; }
  .install-button span { display: none; }
  .install-button { width: 36px; height: 36px; justify-content: center; padding: 0; }
  .attachment-chip { min-width: 100%; }
  .user-access-row { grid-template-columns: 38px minmax(0,1fr) auto; padding: 15px 16px; }
  .user-access-row .button { grid-column: 2 / -1; width: 100%; }
  .intervention-row { grid-template-columns: 1fr auto; gap: 7px 12px; }
  .intervention-row time { grid-column: 1; }
  .intervention-row > div { grid-column: 1; }
  .time-pill { grid-column: 2; grid-row: 1 / 3; }
  .intervention-row .row-arrow { display: none; }
  .login-brand { padding: 10px 24px 30px; }
  .login-brand > div:nth-child(2) { margin-top: 45px; }
  .login-brand h1 { font-size: 2.25rem; }
  .login-card { width: calc(100% - 28px); padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

