/* Isolated product view; the portfolio remains the no-JS fallback. */
#mat > .mat-preview { display: flex; flex-direction: column; height: 100%; }
body.mat-view #contenido > :not(#soluciones),
body.mat-view #soluciones > :not(.product-grid),
body.mat-view #soluciones > .product-grid > :not(#mat),
body.mat-view #mat > .mat-preview { display: none !important; }
body.mat-view #soluciones { width: 100%; max-width: none; margin: 0; padding: 0; }
body.mat-view #soluciones > .product-grid { display: block; }
body.mat-view #mat { display: block; width: 100%; max-width: none; padding: 0; margin: 0; border: 0; border-radius: 0; overflow: visible; transform: none; opacity: 1; background: #343a40; box-shadow: none; }
body.mat-view #mat::before, body.mat-view #mat::after { display: none; }
#mat .mat-detail { --mat-bg: #343a40; --mat-text: #aab8c5; --mat-secondary: #8391a2; --mat-surface: #37404a; --mat-tertiary: #3d4854; --mat-border: #464f5b; --mat-input: #404954; --mat-primary: #727cf5; --mat-success: #0acf97; --mat-info: #39afd1; --mat-warning: #ffc35a; --mat-danger: #fa5c7c; color-scheme: dark; background: var(--mat-bg); color: var(--mat-text); font: 400 16px/1.65 "Nunito", "DM Sans", sans-serif; isolation: isolate; }
#mat .mat-detail *, #mat .mat-detail *::before, #mat .mat-detail *::after { box-sizing: border-box; min-width: 0; }
#mat .mat-detail :is(h1,h2,h3,h4,p,dl,dd,ol,figure) { margin: 0; padding: 0; }
#mat .mat-detail :is(h1,h2,h3) { color: inherit; font-family: "Nunito", sans-serif; font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
#mat .mat-detail h1 { font-size: clamp(32px, 2.8vw, 44px); letter-spacing: -.045em; }
#mat .mat-detail h1 span { color: #d8dcff; }
#mat .mat-detail h2 { font-size: clamp(27px, 2.45vw, 38px); line-height: 1.25; letter-spacing: -.04em; }
#mat .mat-detail h3 { font-size: 16px; }
#mat .mat-detail p { max-width: none; color: var(--mat-text); }
#mat .mat-detail :is(button,input,select,textarea) { font: inherit; }
#mat .mat-detail :is(button,a,input,select,textarea):focus-visible { outline: 3px solid #aeb5ff; outline-offset: 3px; }
#mat .mat-detail :is(section,[id]) { scroll-margin-top: 100px; }
#mat .mat-detail :is(button,.mat-actions a,.mat-primary) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 15px; border: 1px solid var(--mat-border); border-radius: 6px; background: var(--mat-tertiary); color: #eef2f5; font-size: 13px; font-weight: 700; line-height: 1.4; cursor: pointer; text-decoration: none; transition: transform 150ms cubic-bezier(.23,1,.32,1), background-color 180ms ease, border-color 180ms ease; }
#mat .mat-detail :is(button,.mat-actions a,.mat-primary):active { transform: scale(.97); }
#mat .mat-detail .mat-actions .mat-primary, #mat .mat-detail .mat-primary { background: var(--mat-primary); color: #fff; border-color: var(--mat-primary); }
#mat .mat-detail button:disabled { opacity: .45; cursor: not-allowed; }
#mat .mat-container { width: min(1560px, calc(100% - 112px)); margin-inline: auto; }
#mat .mat-detail .mat-eyebrow { color: #d8dcff; font-size: 10px; font-weight: 800; letter-spacing: .15em; line-height: 1.5; margin-bottom: 14px; }
#mat .mat-hero { background-image: linear-gradient(90deg, rgb(21 27 33 / 94%) 0%, rgb(31 38 45 / 88%) 42%, rgb(22 28 34 / 72%) 100%), url("../assets/mat/team-work.jpg"); background-position: center 43%; background-size: cover; }
#mat .mat-hero-grid { display: grid; grid-template-columns: minmax(0,.38fr) minmax(0,.62fr); gap: 42px; min-height: clamp(650px,37.5vw,720px); padding-block: 40px; align-items: center; }
#mat .mat-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
#mat .mat-brand > span:last-child { font-size: 12px; line-height: 1.5; color: var(--mat-text); }
#mat .mat-wordmark { display: inline-flex; align-items: center; gap: 12px; font: 800 68px/1 "Nunito", sans-serif; letter-spacing: -.05em; color: #f1f4f7; }
#mat .mat-brand svg { display: block; width: 48px; height: 48px; flex: 0 0 48px; color: var(--mat-primary); }
#mat .mat-hero-copy h1 { margin-top: 24px; }
#mat .mat-hero-copy > p:not(.mat-eyebrow) { margin-block: 20px 24px; font-size: 16px; line-height: 1.7; }
#mat .mat-actions { display: flex; flex-wrap: wrap; gap: 12px; }
#mat .mat-actions a { min-height: 46px; padding: 11px 18px; border-radius: 7px; font-weight: 800; background: rgb(52 58 64 / 72%); border-color: #808cff; }
#mat .mat-hero-points { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 28px; }
#mat .mat-hero-points span { display: grid; grid-template-columns: 22px minmax(0,1fr); align-items: center; gap: 8px; padding-left: 9px; border-left: 2px solid var(--mat-primary); color: #d4dce4; }
#mat .mat-hero-points svg { display: block; width: 22px; height: 22px; color: #aeb5ff; }
#mat .mat-hero-points b { font-size: 10px; font-weight: 700; line-height: 1.4; }
#mat .mat-hero-visual { display: block; width: 100%; overflow: visible; }
#mat .mat-hero-note { width: fit-content; margin: 0 0 24px 28px !important; color: #d8dcff !important; font: 400 23px/1.6 "Segoe Script", "Bradley Hand", cursive; letter-spacing: -.03em; text-shadow: 0 2px 12px rgb(0 0 0 / 35%); transform: rotate(-3deg); transform-origin: left center; }
#mat .mat-hero-note .mat-letter { display: inline-block; }
#mat .mat-screen-preview { width: 100%; padding: 20px; overflow: hidden; border: 1px solid var(--mat-border); border-radius: 10px; background: var(--mat-bg); color: var(--mat-text); font: 600 10px/1.4 "Nunito", sans-serif; box-shadow: 0 30px 65px #0008; }
#mat .mat-preview-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 15px; }
#mat .mat-preview-header div { display: grid; }
#mat .mat-preview-header small { color: var(--mat-secondary); font-size: 8px; letter-spacing: .08em; }
#mat .mat-preview-header strong { color: #eef2f5; font-size: 17px; }
#mat .mat-preview-alert { position: relative; display: grid; place-items: center; width: 30px; height: 30px; margin-left: auto; border-radius: 4px; background: var(--mat-tertiary); color: #e8edf2; }
#mat .mat-preview-alert svg { width: 15px; height: 15px; }
#mat .mat-preview-alert b { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; min-width: 17px; height: 17px; padding-inline: 4px; border-radius: 999px; background: var(--mat-danger); color: #fff; font-size: 8px; }
#mat .mat-preview-add { padding: 7px 10px; border-radius: 4px; background: var(--mat-success); color: #fff; }
#mat .mat-preview-tabs { display: flex; gap: 7px; margin-bottom: 10px; }
#mat .mat-detail .mat-preview-tabs button { min-width: 74px; min-height: 0; padding: 7px 12px; border: 1px solid var(--mat-border); border-radius: 7px; background: var(--mat-tertiary); color: #eef2f5; font-size: 10px; text-align: center; }
#mat .mat-detail .mat-preview-tabs button[aria-pressed="true"] { border-color: var(--mat-primary); background: var(--mat-primary); color: #fff; box-shadow: 0 4px 12px rgb(114 124 245 / 30%); }
#mat .mat-preview-panel[hidden] { display: none; }
#mat .mat-preview-filter { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px; margin-bottom: 10px; border: 1px solid var(--mat-border); border-radius: 5px; background: var(--mat-surface); color: var(--mat-secondary); }
#mat .mat-preview-search { flex: 1; padding: 7px 10px; border: 1px solid var(--mat-border); border-radius: 4px; background: var(--mat-input); }
#mat .mat-preview-board { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
#mat .mat-preview-board > section { overflow: hidden; border-radius: 7px; background: var(--mat-surface); }
#mat .mat-preview-board > section > header { display: flex; align-items: center; justify-content: space-between; padding: 10px; background: var(--mat-tertiary); color: #e6ebef; }
#mat .mat-preview-board > section > header span { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: #596573; text-align: center; }
#mat .mat-preview-ticket { display: grid; gap: 7px; margin: 8px; padding: 10px; border: 1px solid var(--mat-border); border-radius: 7px; background: var(--mat-tertiary); }
#mat .mat-preview-ticket > div { display: flex; flex-wrap: wrap; gap: 5px; }
#mat .mat-preview-ticket b, #mat .mat-preview-ticket em { padding: 3px 6px; border-radius: 3px; font-size: 8px; font-style: normal; }
#mat .mat-preview-ticket b.is-high { background: var(--mat-warning); color: #493400; }
#mat .mat-preview-ticket b.is-medium { background: var(--mat-info); color: #fff; }
#mat .mat-preview-ticket b.is-low { background: #5d6875; color: #fff; }
#mat .mat-preview-ticket em { background: var(--mat-input); color: #e9edf1; }
#mat .mat-preview-ticket small { color: var(--mat-secondary); }
#mat .mat-preview-ticket > strong { min-height: 28px; color: #eef2f5; font-size: 11px; }
#mat .mat-preview-ticket i { width: fit-content; padding: 3px 6px; border-radius: 3px; background: #4a5562; color: #dbe2e8; font-style: normal; }
#mat .mat-preview-ticket p { font-size: 9px; }
#mat .mat-preview-ticket > span { padding: 6px; border: 1px solid var(--mat-border); border-radius: 4px; background: var(--mat-input); }
#mat .mat-preview-sla { display: grid !important; gap: 2px !important; padding: 6px; border-left: 2px solid var(--mat-success); background: rgb(10 207 151 / 8%); }
#mat .mat-preview-sla span { color: var(--mat-secondary); font-size: 7px; }
#mat .mat-preview-sla b { padding: 0; background: none; color: #51ddb5; font-size: 8px; }
#mat .mat-preview-sla.is-expired { border-color: var(--mat-danger); background: rgb(250 92 124 / 8%); }
#mat .mat-preview-sla.is-expired b { color: #ff8da5; }
#mat .mat-preview-list { min-height: 282px; padding: 12px; border-radius: 7px; background: var(--mat-surface); }
#mat .mat-preview-list > header, #mat .mat-preview-charts header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
#mat .mat-preview-list > header div { display: grid; gap: 3px; }
#mat .mat-preview-list > header small { color: var(--mat-secondary); font-weight: 400; }
#mat .mat-preview-list > header > span { padding: 5px 8px; border-radius: 5px; background: rgb(114 124 245 / 14%); color: #929aff; }
#mat .mat-preview-list-tools { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
#mat .mat-preview-list-tools .mat-preview-search { width: min(55%, 360px); margin-right: auto; }
#mat .mat-preview-list-tools > span { color: var(--mat-secondary); }
#mat .mat-preview-list-tools > b { padding: 6px 9px; border: 1px solid #687482; border-radius: 4px; font-weight: 500; }
#mat .mat-preview-list-tools i { display: inline-grid; place-items: center; min-width: 15px; min-height: 15px; margin-left: 3px; border-radius: 3px; background: var(--mat-primary); color: #fff; font-size: 8px; font-style: normal; }
#mat .mat-preview-table { overflow-x: auto; border: 1px solid var(--mat-border); border-radius: 5px; }
#mat .mat-preview-table table { width: 100%; min-width: 920px; border-collapse: collapse; table-layout: fixed; font-size: 8px; }
#mat .mat-preview-table th:nth-child(3), #mat .mat-preview-table td:nth-child(3) { width: 15%; }
#mat .mat-preview-table th, #mat .mat-preview-table td { padding: 8px 6px; border-bottom: 1px solid var(--mat-border); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#mat .mat-preview-table th { background: #46515d; color: #edf2f6; font-weight: 800; text-transform: uppercase; }
#mat .mat-preview-table tr:last-child td { border-bottom: 0; }
#mat .mat-preview-table td b { display: inline-block; padding: 3px 7px; border-radius: 3px; color: #fff; font-size: 8px; }
#mat .mat-preview-table td b.is-high { background: var(--mat-warning); color: #493400; }
#mat .mat-preview-table td b.is-medium { background: var(--mat-info); }
#mat .mat-preview-table td b.is-low { background: var(--mat-success); }
#mat .mat-preview-metric-view { min-height: 282px; }
#mat .mat-preview-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
#mat .mat-preview-kpis > div { min-height: 62px; padding: 8px; border: 1px solid var(--mat-border); border-radius: 8px; background: var(--mat-surface); }
#mat .mat-preview-kpis span, #mat .mat-preview-kpis small { display: block; color: var(--mat-secondary); font-size: 8px; }
#mat .mat-preview-kpis strong { display: block; margin-top: 2px; color: var(--mat-text); font-size: 17px; font-variant-numeric: tabular-nums; }
#mat .mat-preview-kpis small { margin-top: 3px; color: var(--mat-success); }
#mat .mat-preview-charts { display: grid; grid-template-columns: 1.35fr .65fr; gap: 8px; margin-top: 9px; }
#mat .mat-preview-charts > article { min-height: 126px; padding: 10px; border: 1px solid var(--mat-border); border-radius: 7px; background: var(--mat-surface); }
#mat .mat-preview-charts header { margin-bottom: 8px; }
#mat .mat-preview-charts header span { color: #929aff; font-size: 8px; }
#mat .mat-preview-bars { display: grid; gap: 6px; }
#mat .mat-preview-bars > div { display: grid; grid-template-columns: 58px minmax(0,1fr) 12px; gap: 6px; align-items: center; color: var(--mat-secondary); font-size: 7px; }
#mat .mat-preview-bars i { height: 5px; overflow: hidden; border-radius: 99px; background: #2d3640; }
#mat .mat-preview-bars b { display: block; width: var(--mat-preview-width); height: 100%; border-radius: inherit; background: var(--mat-preview-color); }
#mat .mat-preview-bars em { color: #dfe5eb; font-style: normal; text-align: right; }
#mat .mat-preview-donut-wrap { display: flex; align-items: center; justify-content: center; gap: 12px; }
#mat .mat-preview-donut { display: grid; place-items: center; width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%; background: conic-gradient(var(--mat-success) 0 25%,#46515d 25% 100%); }
#mat .mat-preview-donut > span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--mat-surface); }
#mat .mat-preview-donut b { color: #eef2f5; font-size: 14px; }
#mat .mat-preview-donut small { color: var(--mat-secondary); font-size: 7px; }
#mat .mat-preview-donut-wrap > div:last-child { display: grid; gap: 5px; color: var(--mat-secondary); font-size: 7px; }
#mat .mat-preview-donut-wrap > div:last-child span { display: flex; align-items: center; gap: 5px; }
#mat .mat-preview-donut-wrap > div:last-child i { width: 6px; height: 6px; border-radius: 50%; background: var(--mat-success); }
#mat .mat-preview-donut-wrap > div:last-child span:last-child i { background: #46515d; }
#mat .mat-preview-time-chart { margin-top: 8px; padding: 9px 11px 7px; border: 1px solid var(--mat-border); border-radius: 7px; background: var(--mat-surface); }
#mat .mat-preview-time-chart > header { display: flex; justify-content: space-between; gap: 12px; color: #eef2f5; font-size: 8px; }
#mat .mat-preview-time-chart > header span { color: #929aff; }
#mat .mat-preview-vertical-chart { position: relative; display: grid; grid-template-columns: repeat(3,1fr); align-items: end; gap: 24px; height: 105px; margin-top: 5px; padding: 10px 18% 0; border-bottom: 1px solid #59636f; background: repeating-linear-gradient(to bottom,transparent 0,transparent calc(25% - 1px),rgb(131 145 162 / 16%) 25%); }
#mat .mat-preview-vertical-chart > div { z-index: 1; display: grid; grid-template-rows: 1fr 14px; align-items: end; height: 100%; text-align: center; }
#mat .mat-preview-vertical-chart > div > b { display: flex; align-items: start; justify-content: center; width: 100%; height: var(--mat-preview-height); padding-top: 3px; border-radius: 2px 2px 0 0; background: var(--mat-preview-color); color: #fff; font-size: 7px; }
#mat .mat-preview-vertical-chart small { padding-top: 2px; color: var(--mat-secondary); font-size: 7px; }
#mat .mat-preview-meta { position: absolute; z-index: 2; left: 8%; right: 8%; bottom: 61%; height: 1px; border-top: 1px dashed #ffbc00; }
#mat .mat-preview-meta span { position: absolute; right: 0; bottom: 2px; color: #ffcf47; font-size: 7px; font-style: normal; }
#mat .mat-preview-time-chart footer { display: flex; justify-content: center; gap: 12px; padding-top: 5px; color: var(--mat-secondary); font-size: 7px; }
#mat .mat-preview-time-chart footer span { display: flex; align-items: center; gap: 4px; }
#mat .mat-preview-time-chart footer i { width: 6px; height: 6px; background: var(--mat-preview-color); }
#mat .mat-hero-visual figcaption { margin-top: 10px; color: #d8e0e7; font-size: 10px; text-align: right; }
#mat .mat-hero-visual figcaption a { color: #c9ceff; text-underline-offset: 3px; }
#mat .mat-text-link { display: inline-flex; margin-top: 24px; color: #d1bfff; font-size: 13px; font-weight: 700; text-decoration: none; }
#mat .mat-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
#mat .mat-heading { max-width: 660px; }
#mat .mat-heading > p:not(.mat-eyebrow) { margin-top: 16px; }
#mat .mat-capabilities { padding-block: 72px; background: #292a32; }
#mat .mat-capabilities-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; margin-top: 30px; }
#mat .mat-capabilities-grid > div { position: relative; padding: 22px; overflow: hidden; background: linear-gradient(145deg,#353642,#2f3039); border: 1px solid #ffffff12; border-radius: 10px; box-shadow: 0 16px 34px rgb(0 0 0 / 10%); transition: transform 200ms cubic-bezier(.23,1,.32,1), border-color 200ms ease; }
#mat .mat-capabilities-grid > div::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(var(--mat-primary),#a998ee); }
#mat .mat-icon-tile { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border: 1px solid rgb(174 181 255 / 24%); border-radius: 9px; background: rgb(114 124 245 / 12%); color: #c6cbff; }
#mat .mat-icon-tile svg { width: 23px; height: 23px; }
#mat .mat-capabilities-grid h3 { font-size: 17px; margin-bottom: 8px; }
#mat .mat-capabilities-grid p, #mat .mat-process li p { font-size: 13px; line-height: 1.6; }
#mat .mat-process { margin-top: 48px; }
#mat .mat-process h2 { font-size: 25px; }
#mat .mat-process ol { list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; margin-top: 24px; }
#mat .mat-process li { position: relative; padding-right: 20px; }
#mat .mat-process li > span { display: block; color: #c6b4fa; font: 800 23px/1.4 "Manrope",sans-serif; margin-bottom: 10px; }
#mat .mat-process li:not(:last-child)::after { content: "\2192"; position: absolute; top: 0; left: 45px; right: -12px; color: #a996c9; text-align: right; background: linear-gradient(#716180,#716180) left center / calc(100% - 25px) 1px no-repeat; }
#mat .mat-process h3 { margin-bottom: 7px; }
#mat .mat-demo-section { color-scheme: dark; background: #30353b; color: var(--mat-text); padding-block: 68px 42px; }
#mat .mat-demo-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
#mat .mat-demo-heading p:not(.mat-eyebrow) { margin-top: 16px; max-width: 720px; color: var(--mat-text); font-size: 15px; }
#mat .mat-demo-section .mat-eyebrow { color: #bfc5ff; }
#mat .mat-demo-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 20px; align-items: start; }
#mat .mat-guide { padding: 18px 14px; border: 1px solid var(--mat-border); border-left: 3px solid var(--mat-primary); background: linear-gradient(145deg,var(--mat-surface),#343b44); border-radius: 0 8px 8px 0; box-shadow: 0 14px 30px rgb(0 0 0 / 10%); }
#mat .mat-guide strong { font-size: 13px; }
#mat .mat-guide p { font-size: 12px; margin-top: 10px; color: var(--mat-secondary); }
#mat .mat-guide .mat-actions { margin-top: 22px; gap: 8px; }
#mat .mat-guide button { flex: 1; padding-inline: 8px; font-size: 12px; }
#mat .mat-detail .mat-demo-notice { margin-top: 20px; color: var(--mat-secondary); font-size: 11px; text-align: center; }
#mat .mat-demo-section .mat-workspace { color-scheme: dark; color: #f1f0f6; }
#mat .mat-workspace { position: relative; border: 1px solid #505966; border-radius: 10px; overflow: hidden; background: var(--mat-bg); box-shadow: 0 24px 55px rgb(0 0 0 / 24%); }
#mat .mat-app-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--mat-border); background: var(--mat-surface); }
#mat .mat-app-header strong { font-size: 22px; }
#mat .mat-app-header strong span { font-size: 14px; font-weight: 400; color: var(--mat-secondary); }
#mat .mat-demo-tag { font-size: 10px; letter-spacing: .06em; color: #bfc5ff; }
#mat .mat-app-shell { position: relative; display: grid; grid-template-columns: 58px minmax(0,1fr); min-width: 0; }
#mat .mat-app-content { min-width: 0; }
#mat .mat-app-rail { display: flex; justify-content: center; padding: 18px 8px; border-right: 1px solid var(--mat-border); background: #303841; }
#mat .mat-detail .mat-app-rail button { position: relative; width: 42px; min-width: 42px; height: 42px; min-height: 42px; padding: 9px; border-color: #596573; border-radius: 9px; background: #3d4854; color: #dfe3ff; }
#mat .mat-app-rail svg { width: 22px; height: 22px; }
#mat .mat-app-rail button > span:not(.sr-only) { position: absolute; top: -6px; right: -5px; display: grid; place-items: center; min-width: 20px; height: 20px; padding-inline: 4px; border: 2px solid #303841; border-radius: 999px; background: var(--mat-danger); color: #fff; font-size: 9px; font-weight: 800; }
#mat .mat-app-rail button[aria-expanded="true"] { border-color: #aeb5ff; background: var(--mat-primary); color: #fff; }
#mat .mat-alert-panel { position: absolute; z-index: 18; top: 0; bottom: 0; left: 58px; width: min(390px,calc(100% - 58px)); overflow-y: auto; border-right: 1px solid #596573; background: #343c46; box-shadow: 18px 0 40px rgb(0 0 0 / 34%); }
#mat .mat-alert-panel > header { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 20px; border-bottom: 1px solid var(--mat-border); background: #3b4550; }
#mat .mat-alert-panel > header span { color: #aeb5ff; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
#mat .mat-alert-panel > header h3 { margin-top: 4px; color: #f0f2f5; font-size: 17px; line-height: 1.25; }
#mat .mat-detail .mat-alert-panel > header button { width: 34px; min-width: 34px; min-height: 34px; padding: 0; border: 0; background: transparent; color: #d8dee5; font-size: 25px; }
#mat #mat-alert-list { display: grid; gap: 1px; background: var(--mat-border); }
#mat .mat-detail .mat-alert-item { display: grid; gap: 7px; width: 100%; padding: 16px 18px; border: 0; border-radius: 0; background: #37404a; text-align: left; }
#mat .mat-alert-item > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--mat-secondary); font-size: 10px; }
#mat .mat-alert-item > span b { padding: 3px 6px; border-radius: 3px; background: rgb(255 195 90 / 16%); color: #ffd383; font-size: 9px; }
#mat .mat-alert-item[data-risk="vencida"] > span b { background: rgb(250 92 124 / 16%); color: #ff9aae; }
#mat .mat-alert-item > strong { color: #eef2f5; font-size: 13px; line-height: 1.35; }
#mat .mat-alert-item > small { color: #bcc6cf; font-size: 10px; }
#mat .mat-alert-empty { padding: 30px 20px; color: var(--mat-secondary); font-size: 12px; text-align: center; }
#mat .mat-alert-panel > footer { padding: 14px 18px; color: #aeb7c1; font-size: 10px; line-height: 1.5; }
#mat .mat-filters { display: grid; grid-template-columns: 2fr repeat(3,1fr) auto; gap: 12px; align-items: end; padding: 20px 24px; }
#mat .mat-detail label { display: grid; gap: 6px; font-size: 12px; color: var(--mat-text); }
#mat .mat-detail :is(input,select,textarea) { width: 100%; min-height: 44px; border: 1px solid var(--mat-border); border-radius: 5px; padding: 9px; color: #eef2f5; background: var(--mat-input); font-size: 13px; }
#mat .mat-detail textarea { resize: vertical; }
#mat .mat-metrics { margin: 0 24px 18px; }
#mat .mat-metrics[hidden] { display: none; }
#mat .mat-metrics-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 14px; padding: 18px 20px; border: 1px solid var(--mat-border); border-radius: 12px; background: linear-gradient(135deg,#3d4854,#37404a); box-shadow: 0 12px 26px rgb(15 23 42 / 14%); }
#mat .mat-metrics-head > div:first-child { display: grid; gap: 2px; }
#mat .mat-metrics-head span, #mat .mat-metrics-head small { color: var(--mat-text); font-size: 11px; }
#mat .mat-metrics-head > div:first-child > strong { color: #eef2f5; font-size: 19px; }
#mat .mat-countdown { display: grid; grid-template-columns: auto auto; align-items: center; gap: 4px 14px; min-width: min(100%,340px); }
#mat .mat-countdown > span { text-align: right; }
#mat .mat-countdown > strong { color: #eef2f5; font-size: 24px; font-variant-numeric: tabular-nums; line-height: 1; }
#mat .mat-countdown > i { grid-column: 1 / -1; height: 3px; overflow: hidden; border-radius: 999px; background: #2f3740; }
#mat .mat-countdown > i > b { display: block; width: 100%; height: 100%; background: linear-gradient(90deg,var(--mat-primary),var(--mat-info)); transform: scaleX(0); transform-origin: left center; }
#mat .mat-detail .mat-countdown button { grid-column: 1 / -1; justify-self: end; min-height: 32px; padding: 5px 10px; font-size: 11px; }
#mat .mat-kpi-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
#mat .mat-kpi-card { min-height: 118px; padding: 18px; border: 1px solid var(--mat-border); border-radius: 16px; background: var(--mat-surface); box-shadow: 0 0 35px rgb(17 24 39 / 13%); }
#mat .mat-kpi-card > span, #mat .mat-kpi-card > small { display: block; color: var(--mat-text); font-size: 11px; }
#mat .mat-kpi-card > strong { display: block; margin-block: 6px; color: #c6cbff; font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; }
#mat .mat-kpi-card > small { color: #b8c2cb; }
#mat .mat-wide-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
#mat .mat-wide-kpis > article { min-height: 126px; padding: 20px; border: 1px solid var(--mat-border); border-radius: 14px; background: var(--mat-surface); box-shadow: 0 12px 28px rgb(17 24 39 / 12%); }
#mat .mat-wide-kpis span, #mat .mat-wide-kpis small { display: block; color: var(--mat-text); font-size: 11px; }
#mat .mat-wide-kpis strong { display: block; margin-block: 8px; color: #c6cbff; font-size: 28px; font-variant-numeric: tabular-nums; }
#mat .mat-wide-kpis small { color: #b8c2cb; }
#mat .mat-support-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 14px; margin-top: 18px; }
#mat .mat-support-grid > article { min-height: 104px; padding: 17px; border: 1px solid var(--mat-border); border-radius: 12px; background: var(--mat-surface); }
#mat .mat-support-grid span, #mat .mat-support-grid small { display: block; color: var(--mat-text); font-size: 10px; }
#mat .mat-support-grid strong { display: block; margin-block: 6px; color: #eef2f5; font-size: 18px; font-variant-numeric: tabular-nums; }
#mat .mat-support-grid small { color: #b8c2cb; }
#mat .mat-metric-table-card, #mat .mat-time-chart { margin-top: 18px; overflow: hidden; border: 1px solid var(--mat-border); border-radius: 12px; background: var(--mat-surface); box-shadow: 0 14px 30px rgb(17 24 39 / 12%); }
#mat .mat-metric-table-card > header, #mat .mat-time-chart > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; }
#mat .mat-metric-table-card > header > div, #mat .mat-time-chart > header > div { display: grid; gap: 3px; }
#mat .mat-metric-table-card > header strong, #mat .mat-time-chart > header strong { color: #eef2f5; font-size: 13px; }
#mat .mat-metric-table-card > header small, #mat .mat-time-chart > header small { color: var(--mat-text); font-size: 10px; }
#mat .mat-metric-table-card > header > span, #mat .mat-time-chart > header > span { padding: 4px 7px; border-radius: 3px; background: rgb(114 124 245 / 14%); color: #aeb5ff; font-size: 9px; }
#mat .mat-metric-table-wrap { overflow-x: auto; }
#mat .mat-metric-table-wrap table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 11px; }
#mat .mat-metric-table-wrap :is(th,td) { padding: 10px 16px; border-top: 1px solid var(--mat-border); text-align: left; white-space: nowrap; }
#mat .mat-metric-table-wrap th { background: #46515d; color: #eef2f5; font-size: 9px; text-transform: uppercase; }
#mat .mat-metric-table-wrap td { color: var(--mat-text); }
#mat .mat-positive { color: var(--mat-success); }
#mat .mat-risk { display: inline-block; padding: 3px 7px; border-radius: 3px; background: rgb(10 207 151 / 16%); color: #51ddb5; font-size: 9px; }
#mat .mat-risk[data-risk="por-vencer"] { background: rgb(255 195 90 / 18%); color: #ffd383; }
#mat .mat-risk[data-risk="vencida"] { background: rgb(250 92 124 / 18%); color: #ff8da5; }
#mat .mat-time-chart { padding-bottom: 20px; }
#mat .mat-vertical-chart { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: end; gap: clamp(22px,7vw,110px); height: 310px; margin: 0 28px; padding: 30px clamp(18px,5vw,90px) 0; border-bottom: 1px solid #59636f; }
#mat .mat-chart-gridlines { position: absolute; inset: 30px 0 0; background: repeating-linear-gradient(to bottom,transparent 0,transparent calc(25% - 1px),rgb(131 145 162 / 18%) 25%); pointer-events: none; }
#mat .mat-vertical-column { position: relative; z-index: 1; display: grid; grid-template-rows: minmax(0,1fr) 28px; height: 100%; text-align: center; }
#mat .mat-vertical-column > div { display: flex; align-items: end; justify-content: center; }
#mat .mat-vertical-column .mat-chart-fill { position: relative; display: flex; align-items: start; justify-content: center; width: min(100%,190px); height: var(--mat-chart-height); min-height: 3px; padding-top: 8px; border-radius: 3px 3px 0 0; background: var(--mat-chart-color); color: #fff; transform-origin: bottom center; }
#mat .mat-vertical-column .mat-chart-fill b { font-size: 10px; font-style: normal; white-space: nowrap; }
#mat .mat-vertical-column > span { padding-top: 7px; color: var(--mat-text); font-size: 10px; }
#mat .mat-chart-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 14px; }
#mat .mat-chart-card { min-height: 270px; padding: 20px; border: 1px solid var(--mat-border); border-radius: 14px; background: var(--mat-surface); box-shadow: 0 16px 32px rgb(17 24 39 / 12%); }
#mat .mat-chart-card > header { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--mat-border); }
#mat .mat-chart-card > header span { display: block; color: var(--mat-text); font-size: 10px; }
#mat .mat-chart-card h3 { margin-top: 3px; color: #eef2f5; font-size: 16px; letter-spacing: -.01em; }
#mat .mat-chart-card > header > b { color: #aeb5ff; font-size: 10px; font-weight: 700; text-align: right; }
#mat .mat-chart-body { display: grid; gap: 17px; padding-top: 18px; }
#mat .mat-chart-row { display: grid; gap: 7px; }
#mat .mat-chart-row > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#mat .mat-chart-row span, #mat .mat-chart-row strong { font-size: 11px; }
#mat .mat-chart-row span { color: var(--mat-text); }
#mat .mat-chart-row strong { color: #eef2f5; font-variant-numeric: tabular-nums; }
#mat .mat-chart-track { display: block; height: 9px; overflow: hidden; border-radius: 999px; background: #2e353d; box-shadow: inset 0 1px 2px rgb(0 0 0 / 24%); }
#mat .mat-chart-fill { display: block; width: var(--mat-chart-width); height: 100%; border-radius: inherit; background: var(--mat-chart-color); box-shadow: 0 0 14px color-mix(in srgb,var(--mat-chart-color) 36%,transparent); transform-origin: left center; }
#mat .mat-detail .mat-sample-note { margin: 14px 24px; font-size: 11px; }
#mat .mat-tabs { display: flex; gap: 8px; padding: 18px 24px; }
#mat .mat-detail .mat-tabs [aria-pressed="true"] { background: var(--mat-primary); border-color: var(--mat-primary); color: #fff; }
#mat .mat-board { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; padding: 0 24px 24px; align-items: start; }
#mat .mat-column { padding: 0 10px 14px; background: var(--mat-surface); border-radius: 10px; min-height: 260px; overflow: hidden; }
#mat .mat-column.is-over { outline: 2px dashed #aeb5ff; outline-offset: -3px; }
#mat .mat-column > h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 4px; font-size: 15px; }
#mat .mat-column > h3 span { display: grid; gap: 2px; color: #eef2f5; }
#mat .mat-column > h3 small { color: var(--mat-secondary); font-size: 10px; font-weight: 500; }
#mat .mat-column > h3 b { min-width: 28px; padding: 3px 8px; border-radius: 999px; background: #596573; color: #fff; text-align: center; }
#mat .mat-ticket { background: var(--mat-tertiary); padding: 14px; border: 1px solid var(--mat-border); border-radius: 8px; margin-top: 10px; overflow-wrap: anywhere; cursor: grab; }
#mat .mat-ticket.is-new { border: 2px solid #3b7ddd; box-shadow: 0 0 0 3px rgb(59 125 221 / 20%), 0 12px 28px rgb(16 24 40 / 24%); }
#mat .mat-ticket small, #mat .mat-ticket time { font-size: 10px; color: var(--mat-secondary); }
#mat .mat-ticket time { display: block; margin-top: 8px; }
#mat .mat-ticket-badges { display: flex; flex-wrap: wrap; gap: 6px; }
#mat .mat-ticket-badges > * { padding: 3px 7px; border-radius: 4px; }
#mat .mat-ticket-badges strong { font-size: 9px; color: #fff; background: #5d6875; }
#mat .mat-ticket-badges strong[data-priority="alta"] { background: var(--mat-warning); color: #493400; }
#mat .mat-ticket-badges strong[data-priority="media"] { background: var(--mat-info); }
#mat .mat-ticket-badges small { background: var(--mat-input); color: #e9edf1; }
#mat .mat-detail .mat-ticket button { text-align: left; justify-content: start; border: 0; background: none; font-size: 14px; padding: 8px 0; width: 100%; }
#mat .mat-ticket p { font-size: 12px; margin: 7px 0 12px; }
#mat .mat-ticket-type { display: inline-block; width: fit-content; padding: 3px 7px; border-radius: 4px; background: #4a5562; color: #dbe2e8; font-size: 10px; }
#mat .mat-ticket-sla { display: grid; gap: 3px; margin: 12px 0; padding: 9px 10px; border-left: 3px solid var(--mat-success); border-radius: 3px; background: rgb(10 207 151 / 9%); }
#mat .mat-ticket-sla > span { color: var(--mat-secondary); font-size: 10px; }
#mat .mat-ticket-sla > strong { color: #51ddb5; font-size: 11px; font-variant-numeric: tabular-nums; }
#mat .mat-ticket-sla[data-risk="por-vencer"] { border-color: var(--mat-warning); background: rgb(255 195 90 / 10%); }
#mat .mat-ticket-sla[data-risk="por-vencer"] > strong { color: #ffd383; }
#mat .mat-ticket-sla[data-risk="vencida"] { border-color: var(--mat-danger); background: rgb(250 92 124 / 10%); }
#mat .mat-ticket-sla[data-risk="vencida"] > strong { color: #ff8da5; }
#mat .mat-ticket label { border-top: 1px solid var(--mat-border); padding-top: 12px; }
#mat .mat-ticket select { font-size: 12px; }
#mat .mat-empty { font-size: 13px; padding: 16px 4px; }
#mat .mat-table-scroll { overflow: auto; max-width: 100%; margin: 0 24px 24px; border-radius: 8px; background: var(--mat-surface); }
#mat .mat-list-heading { position: sticky; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-width: min(100%, 900px); padding: 22px 24px 14px; }
#mat .mat-list-heading > div { display: grid; gap: 4px; }
#mat .mat-list-heading strong { color: #eef2f5; font-size: 14px; }
#mat .mat-list-heading small { color: var(--mat-secondary); }
#mat .mat-list-heading > span { padding: 8px 11px; border-radius: 5px; background: rgb(114 124 245 / 14%); color: #929aff; font-weight: 800; }
#mat .mat-list-tools { position: sticky; left: 0; display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-width: min(100%, 900px); padding: 8px 24px 16px; color: var(--mat-secondary); font-size: 12px; }
#mat .mat-list-tools button { min-height: 34px; padding: 5px 12px; }
#mat .mat-table-scroll table { width: 100%; border-collapse: collapse; min-width: 1450px; font-size: 12px; }
#mat .mat-table-scroll :is(th,td) { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--mat-border); vertical-align: middle; }
#mat .mat-table-scroll th { position: sticky; top: 0; z-index: 1; background: #46515d; color: #eef2f5; font-size: 10px; letter-spacing: .02em; text-transform: uppercase; }
#mat .mat-table-scroll td { color: var(--mat-text); }
#mat .mat-table-scroll td:nth-child(3) { max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#mat .mat-table-scroll caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#mat .mat-table-scroll td:last-child button { min-width: 36px; min-height: 36px; padding: 4px; border-radius: 50%; }
#mat .mat-list-priority { display: inline-block; min-width: 64px; padding: 5px 8px; border-radius: 4px; background: var(--mat-success); color: #fff; text-align: center; }
#mat .mat-list-priority[data-priority="alta"] { background: var(--mat-warning); color: #493400; }
#mat .mat-list-priority[data-priority="media"] { background: var(--mat-info); }
#mat .mat-detail #mat-live { padding: 0 24px 20px; font-size: 12px; min-height: 38px; }
#mat .mat-incoming-toast { display: flex; position: absolute; z-index: 20; top: 76px; right: 16px; align-items: flex-start; justify-content: space-between; gap: 18px; width: 350px; max-width: calc(100% - 32px); padding: 13px 14px 13px 16px; border: 0; border-radius: 4px; background: var(--mat-info); color: #fff; box-shadow: 0 16px 36px rgb(0 0 0 / 28%); }
#mat .mat-incoming-toast > div { display: grid; gap: 2px; }
#mat .mat-incoming-toast strong { color: #fff; font-size: 14px; }
#mat .mat-incoming-toast span { color: #fff; font-size: 13px; }
#mat .mat-incoming-toast small { color: #fff; font-size: 12px; }
#mat .mat-detail .mat-incoming-toast button { width: 32px; min-width: 32px; min-height: 32px; margin: -5px -6px -5px 0; padding: 0; border: 0; background: transparent; color: #fff; font-size: 24px; opacity: .78; }
#mat .mat-detail .mat-incoming-toast button:hover { opacity: 1; }
#mat .mat-insights { padding-block: 72px 60px; background: #24252d; }
#mat .mat-insights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
#mat .mat-alert-preview { overflow: hidden; border: 1px solid #595361; border-radius: 12px; background: #292a34; box-shadow: 0 20px 40px #0002; }
#mat .mat-alert-preview > header { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 18px 20px; border-bottom: 1px solid #494550; background: #31333d; }
#mat .mat-alert-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: rgb(114 124 245 / 16%); color: #bfc5ff; }
#mat .mat-alert-icon svg { width: 24px; height: 24px; }
#mat .mat-alert-preview header > div { display: grid; gap: 2px; }
#mat .mat-alert-preview header small { color: #9b9fad; font-size: 9px; font-weight: 800; letter-spacing: .09em; }
#mat .mat-alert-preview header strong { color: #f0f2f5; font-size: 15px; }
#mat .mat-alert-time { align-self: start; padding: 4px 7px; border-radius: 999px; background: rgb(10 207 151 / 15%); color: #51ddb5; font-size: 9px; font-weight: 800; }
#mat .mat-alert-body { padding: 22px 24px; }
#mat .mat-alert-body h3 { margin-top: 16px; color: #f0f2f5; font-size: 21px; }
#mat .mat-alert-body > p { margin-top: 8px; color: #aeb5bf; font-size: 13px; }
#mat .mat-alert-body dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 22px; border-top: 1px solid #494550; }
#mat .mat-alert-body dl > div { display: grid; gap: 4px; padding: 14px 12px 0 0; }
#mat .mat-alert-body dt { color: #8f95a2; font-size: 10px; }
#mat .mat-alert-body dd { color: #e1e5ea; font-size: 12px; }
#mat .mat-alert-preview > footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; background: #24252d; color: #b9bec8; font-size: 11px; }
#mat .mat-alert-preview footer b { margin-right: 4px; color: #c6cbff; font-size: 18px; }
#mat .mat-alert-preview footer small { color: #858b98; font-size: 9px; text-align: right; }
#mat .mat-closing { padding-block: 62px; border-top: 1px solid #ffffff12; background: #1c1d24; }
#mat .mat-closing-grid { display: grid; grid-template-columns: 220px minmax(0,1fr) 190px; gap: 52px; align-items: center; }
#mat .mat-closing .mat-wordmark { font-size: 48px; gap: 8px; }
#mat .mat-closing .mat-brand svg { width: 36px; height: 36px; flex-basis: 36px; }
#mat .mat-closing h2 { font-size: clamp(24px,2vw,30px); }
#mat .mat-closing p { font-size: 14px; margin-top: 14px; max-width: 620px; }
#mat .mat-closing .mat-actions { flex-direction: column; }
#mat #mat-dialog { margin: auto; width: min(860px,calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 28px; border: 1px solid var(--mat-border); border-radius: 10px; background: var(--mat-surface); color: #eef2f5; overflow-y: auto; }
#mat #mat-dialog::backdrop { background: rgb(12 12 18 / 78%); }
#mat #mat-dialog h2 { font-size: 25px; margin-bottom: 20px; }
#mat .mat-dialog-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.82fr); gap: 28px; align-items: start; }
#mat .mat-dialog-editor { min-width: 0; }
#mat #mat-edit-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#mat #mat-dialog label { margin-bottom: 15px; }
#mat #mat-dialog h3 { margin-top: 26px; }
#mat .mat-activity { padding: 18px; border: 1px solid var(--mat-border); border-radius: 8px; background: #343c45; }
#mat .mat-activity > header span { color: #aeb5ff; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
#mat #mat-dialog .mat-activity h3 { margin-top: 4px; font-size: 17px; }
#mat .mat-activity > header p { margin-top: 5px; color: var(--mat-secondary); }
#mat #mat-history { list-style: none; margin-block: 18px; counter-reset: activity; }
#mat #mat-history li { position: relative; margin-left: 8px; padding: 0 0 18px 24px; border-left: 1px solid #697582; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; counter-increment: activity; }
#mat #mat-history li::before { content: counter(activity); position: absolute; top: -2px; left: -11px; display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid #343c45; border-radius: 50%; background: var(--mat-primary); color: #fff; font-size: 8px; font-weight: 800; }
#mat #mat-history li:last-child { padding-bottom: 0; border-left-color: transparent; }
#mat #mat-dialog p { font-size: 12px; }
#mat #mat-dialog-error { color: #ffc4bc; margin-bottom: 12px; }
@media (hover: hover) and (pointer: fine) {
  #mat .mat-detail button:hover, #mat .mat-detail .mat-actions a:hover { background: #465362; }
  #mat .mat-capabilities-grid > div:hover { transform: translateY(-4px); border-color: rgb(174 181 255 / 28%); }
}

@media (prefers-reduced-motion: reduce) {
  #mat .mat-detail :is(button,.mat-actions a,.mat-primary), #mat .mat-capabilities-grid > div { transition: none; }
  #mat .mat-detail :is(button,.mat-actions a,.mat-primary):active, #mat .mat-capabilities-grid > div:hover { transform: none; }
  #mat .mat-chart-fill, #mat .mat-countdown > i > b { transition: none; }
  #mat .mat-countdown > i > b { transform: none !important; }
}
@media (max-width: 1200px) {
  #mat .mat-container { width: calc(100% - 64px); }
  #mat .mat-hero-grid { grid-template-columns: minmax(0,.4fr) minmax(0,.6fr); gap: 28px; }
  #mat .mat-hero-copy h1 { font-size: 34px; }
  #mat .mat-hero-points { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #mat .mat-capabilities-grid { gap: 14px; }
  #mat .mat-insights-grid { gap: 36px; }
  #mat .mat-closing-grid { grid-template-columns: 170px minmax(0,1fr) 180px; gap: 28px; }
}
@media (max-width: 1100px) {
  #mat .mat-demo-layout { grid-template-columns: minmax(0,1fr); }
  #mat .mat-guide { display: flex; align-items: center; gap: 20px; }
  #mat .mat-guide .mat-actions { margin-top: 0; flex-shrink: 0; }
  #mat .mat-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #mat .mat-board { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #mat .mat-kpi-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #mat .mat-support-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #mat .mat-chart-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  #mat .mat-hero { background-position: 64% center; }
  #mat .mat-hero-grid { grid-template-columns: 1fr; gap: 16px; min-height: 0; padding-block: 44px; }
  #mat .mat-hero-copy { max-width: 620px; }
  #mat .mat-hero-copy h1 { font-size: 40px; }
  #mat .mat-hero-points { grid-template-columns: repeat(4,minmax(0,1fr)); }
  #mat .mat-hero-visual { max-width: 760px; margin-inline: auto; }
  #mat .mat-preview-board { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #mat .mat-capabilities-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #mat .mat-closing-grid { grid-template-columns: 160px minmax(0,1fr); }
  #mat .mat-closing .mat-actions { grid-column: 2; flex-direction: row; }
  #mat .mat-dialog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  #mat .mat-container { width: calc(100% - 32px); }
  #mat .mat-detail h2 { font-size: 28px; }
  #mat .mat-hero-grid { padding-block: 36px 24px; }
  #mat .mat-wordmark { font-size: 58px; }
  #mat .mat-hero-note { margin-left: 10px !important; font-size: 19px; }
  #mat .mat-hero-copy h1 { font-size: clamp(29px,7.7vw,40px); margin-top: 22px; }
  #mat .mat-hero-copy > p:not(.mat-eyebrow) { font-size: 15px; }
  #mat .mat-hero-copy .mat-actions { flex-direction: column; }
  #mat .mat-hero-points { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  #mat .mat-hero-points b { font-size: 11px; }
  #mat .mat-hero { background-position: 60% center; }
  #mat .mat-hero-visual { padding-block: 16px; }
  #mat .mat-screen-preview { padding: 12px; }
  #mat .mat-preview-header strong { font-size: 14px; }
  #mat .mat-preview-add { padding: 6px 8px; font-size: 9px; }
  #mat .mat-preview-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  #mat .mat-detail .mat-preview-tabs button { min-width: 0; padding-inline: 4px; }
  #mat .mat-preview-filter > span:last-child { display: none; }
  #mat .mat-preview-board { grid-template-columns: none; grid-auto-columns: minmax(175px,72%); grid-auto-flow: column; overflow-x: auto; overscroll-behavior-inline: contain; padding-bottom: 5px; }
  #mat .mat-preview-ticket :is(time,.mat-ticket-type,p) { display: none; }
  #mat .mat-preview-ticket > strong { min-height: 36px; }
  #mat .mat-preview-ticket > span { display: none; }
  #mat .mat-preview-list, #mat .mat-preview-metric-view { min-height: 230px; }
  #mat .mat-preview-list-tools { flex-wrap: wrap; }
  #mat .mat-preview-list-tools .mat-preview-search { width: 100%; flex-basis: 100%; }
  #mat .mat-preview-table table { min-width: 920px; }
  #mat .mat-preview-table th, #mat .mat-preview-table td { padding-block: 7px; }
  #mat .mat-preview-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #mat .mat-preview-kpis > div { min-height: 64px; }
  #mat .mat-preview-charts { grid-template-columns: 1fr; }
  #mat .mat-preview-charts > article:last-child { display: none; }
  #mat .mat-hero-visual figcaption { text-align: left; }
  #mat :is(.mat-capabilities,.mat-demo-section,.mat-insights) { padding-block: 44px; }
  #mat .mat-capabilities-grid { gap: 10px; margin-top: 24px; }
  #mat .mat-capabilities-grid > div { padding: 17px 14px; }
  #mat .mat-capabilities-grid h3 { font-size: 16px; }
  #mat .mat-capabilities-grid p { font-size: 12px; }
  #mat .mat-process { margin-top: 32px; }
  #mat .mat-process h2 { font-size: 24px; }
  #mat .mat-process ol { grid-template-columns: 1fr; gap: 23px; }
  #mat .mat-process li { padding: 0 0 0 48px; }
  #mat .mat-process li > span { position: absolute; left: 0; top: 0; font-size: 20px; }
  #mat .mat-process li:not(:last-child)::after { content: ""; left: 13px; right: auto; top: 34px; bottom: -16px; width: 1px; background: #716180; }
  #mat .mat-insights-grid, #mat .mat-closing-grid { grid-template-columns: minmax(0,1fr); gap: 26px; }
  #mat .mat-alert-preview > header { grid-template-columns: 42px minmax(0,1fr); padding-inline: 14px; }
  #mat .mat-alert-icon { width: 40px; height: 40px; }
  #mat .mat-alert-time { grid-column: 2; justify-self: start; }
  #mat .mat-alert-body { padding-inline: 14px; }
  #mat .mat-alert-body dl { grid-template-columns: 1fr; }
  #mat .mat-alert-preview > footer { align-items: start; flex-direction: column; padding-inline: 14px; }
  #mat .mat-alert-preview footer small { text-align: left; }
  #mat .mat-incoming-toast { top: 76px; right: 12px; max-width: calc(100% - 24px); }
  #mat .mat-closing { padding-block: 40px; }
  #mat .mat-closing .mat-actions { grid-column: 1; }
  #mat .mat-closing .mat-actions > * { flex: 1 1 150px; }
  #mat .mat-demo-heading, #mat .mat-guide { align-items: start; flex-direction: column; }
  #mat .mat-board, #mat .mat-filters { grid-template-columns: 1fr; padding-inline: 14px; }
  #mat .mat-board { gap: 20px; }
  #mat .mat-column { min-height: 150px; }
  #mat .mat-metrics { margin-inline: 14px; }
  #mat .mat-metrics-head { align-items: stretch; flex-direction: column; }
  #mat .mat-countdown { min-width: 0; }
  #mat .mat-countdown > span { text-align: left; }
  #mat .mat-detail .mat-countdown button { justify-self: stretch; }
  #mat .mat-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #mat .mat-wide-kpis { grid-template-columns: 1fr; }
  #mat .mat-support-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #mat .mat-kpi-card { min-height: 104px; padding: 15px; }
  #mat .mat-kpi-card > strong { font-size: 25px; }
  #mat .mat-chart-card { min-height: 0; padding: 16px; }
  #mat .mat-metric-table-card > header, #mat .mat-time-chart > header { align-items: start; flex-direction: column; }
  #mat .mat-vertical-chart { height: 250px; gap: 16px; margin-inline: 10px; padding-inline: 8px; }
  #mat .mat-vertical-column .mat-chart-fill { width: min(100%,90px); }
  #mat .mat-app-header { padding-inline: 14px; flex-wrap: wrap; }
  #mat .mat-app-shell { grid-template-columns: 1fr; }
  #mat .mat-app-rail { justify-content: flex-start; padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--mat-border); }
  #mat .mat-alert-panel { top: 63px; left: 0; bottom: 0; width: 100%; }
  #mat #mat-edit-fields { grid-template-columns: 1fr; }
  #mat #mat-dialog { padding: 20px; }
}
