@font-face { font-family: Prompt; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/prompt/prompt-400-thai.woff2") format("woff2"); unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face { font-family: Prompt; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/prompt/prompt-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Prompt; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/prompt/prompt-500-thai.woff2") format("woff2"); unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face { font-family: Prompt; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/prompt/prompt-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Prompt; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/prompt/prompt-600-thai.woff2") format("woff2"); unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC; }
@font-face { font-family: Prompt; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/prompt/prompt-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
    --red: #c82032;
    --red-dark: #a51929;
    --red-soft: #fdf0f2;
    --ink: #252b36;
    --muted: #707885;
    --border: #e7e9ed;
    --canvas: #f5f6f8;
    --green: #22734d;
    --sidebar-width: 256px;
    font-family: Prompt, "Leelawadee UI", Tahoma, Arial, sans-serif;
    color: var(--ink);
    background: var(--canvas);
    font-size: 16px;
    line-height: 1.6;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:disabled { cursor: default; }
h1, h2, h3, p { margin: 0; }
strong { font-weight: 600; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { color: #791020; background: #f6ccd0; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted); }
.icon-button:hover { background: #f3f4f6; color: var(--ink); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 42px; padding: 9px 16px; border: 1px solid #dfe2e7; border-radius: 7px; background: white; color: #48515f; font-size: .875rem; font-weight: 500; line-height: 1.5; white-space: nowrap; transition: background 150ms, border-color 150ms; }
.button .icon { width: 17px; height: 17px; }
.button:hover { border-color: #bec4cd; background: #fafbfc; }
.button-primary { color: white; background: var(--red); border-color: var(--red); }
.button-primary:hover { background: var(--red-dark); color: white; border-color: var(--red-dark); }
.text-button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: var(--red); font-size: .875rem; white-space: nowrap; }
.text-button .icon { width: 16px; height: 16px; }
.text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.muted { color: var(--muted); }
.rotate { transform: rotate(180deg); }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 50%; transform: translateX(-50%); padding: 10px 20px; background: var(--red); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sidebar { display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 40; width: var(--sidebar-width); background: white; border-right: 1px solid var(--border); transition: width 160ms; }
.brand-row { display: flex; align-items: center; justify-content: space-between; min-height: 77px; padding: 0 23px; }
.brand { font-family: Arial, sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -1.2px; color: var(--red); line-height: 1; }
.brand-period { color: #28303a; }
.brand-row .icon { width: 18px; height: 18px; }
.sidebar-product { margin: 3px 23px 24px; padding: 14px 0 20px; border-bottom: 1px solid var(--border); }
.sidebar-product strong { display: block; font-size: 1.0625rem; font-weight: 650; }
.sidebar-product span { display: block; margin-top: 3px; color: var(--muted); font-size: .8125rem; }
.nav-label { padding: 0 24px 11px; font-size: .8125rem; color: #8a9099; }
.sidebar nav { display: grid; gap: 7px; padding: 0 12px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 12px; min-height: 47px; padding: 10px 12px; border-radius: 7px; color: #626a77; font-size: .875rem; white-space: nowrap; }
.nav-item .icon { width: 19px; height: 19px; }
.nav-item:hover { background: #f7f7f9; color: var(--ink); }
.nav-item.active { color: var(--red); background: var(--red-soft); font-weight: 600; }
.active-mark { position: absolute; inset: 13px auto 13px 0; width: 3px; border-radius: 0 4px 4px 0; background: var(--red); }
.sidebar-bottom { margin-top: auto; padding: 25px 17px 20px; }
.demo-card { padding: 17px 15px; border: 1px solid #f0dfe2; border-radius: 8px; background: #fffbfc; }
.demo-card > .icon { display: block; width: 23px; height: 23px; margin-bottom: 10px; color: var(--red); }
.demo-card strong { font-size: .875rem; }
.demo-card p { margin: 4px 0 12px; color: var(--muted); font-size: .8125rem; }
.demo-card .text-button { font-size: .8125rem; }
.sidebar-version { display: flex; justify-content: space-between; margin-top: 20px; color: #989da6; font-size: .6875rem; }
.content-shell { margin-left: var(--sidebar-width); transition: margin-left 160ms; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 77px; padding: 12px 32px; border-bottom: 1px solid var(--border); background: white; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.portal-title { font-family: Arial, sans-serif; font-size: 17px; font-weight: 700; white-space: nowrap; }
.portal-title span { margin-left: 3px; font-weight: 400; color: #7a828d; }
.topbar-caption { color: #8a9099; font-size: .8125rem; }
.topbar-divider { width: 1px; height: 25px; background: var(--border); }
.demo-badge { padding: 3px 10px; border: 1px solid #f0d1d6; border-radius: 5px; background: #fff7f8; color: #b82437; font-size: .75rem; white-space: nowrap; }
.profile { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: transparent; text-align: left; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #b52033; background: #f9e9ec; font-family: Arial,sans-serif; font-size: 12px; font-weight: 700; }
.profile-copy { display: grid; gap: 1px; }
.profile-copy strong { font-size: .8125rem; }
.profile-copy small { color: #9096a0; font-size: .6875rem; }
.profile > .icon { margin-left: 9px; width: 14px; height: 14px; }
.mobile-menu { display: none; }
main { max-width: 1780px; min-height: calc(100vh - 143px); margin: 0 auto; padding: 24px 32px 32px; }
main:focus { outline: none; }
.breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; color: #8c939d; font-size: .75rem; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .icon { width: 12px; height: 12px; }
.breadcrumb > span { color: #636c78; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-bottom: 20px; }
.page-heading h1 { color: #272c35; font-size: 1.75rem; line-height: 1.35; font-weight: 650; letter-spacing: -.5px; }
.page-heading p { margin-top: 7px; color: var(--muted); font-size: .875rem; }
.page-actions { display: flex; gap: 9px; flex: 0 0 auto; }
.demo-notice { display: flex; align-items: center; gap: 9px; padding: 10px 14px; margin-bottom: 22px; border: 1px solid #eedfe2; border-radius: 7px; background: #fdf7f8; color: #9b5962; font-size: .75rem; }
.demo-notice > .icon { width: 16px; height: 16px; color: #c9616f; }
.notice-extra { margin-left: 10px; color: #9c858b; }
.demo-date { margin-left: auto; white-space: nowrap; font-size: .75rem; }
.panel { min-width: 0; border: 1px solid var(--border); border-radius: 10px; background: white; box-shadow: 0 2px 4px #252b3602; }
.filters { margin-bottom: 22px; padding: 19px 22px 0; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.filter-title { display: flex; gap: 8px; align-items: center; }
.filter-title .icon { width: 17px; height: 17px; color: var(--red); }
.filter-title h2 { font-size: .9375rem; font-weight: 600; }
.filter-heading .text-button { font-size: .75rem; color: var(--muted); }
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span:first-child { color: #666f7d; font-size: .875rem; }
.field input, .field select, .page-size select { width: 100%; height: 41px; min-width: 0; padding: 0 12px; border: 1px solid #dfe3e8; border-radius: 6px; background: white; color: #495260; font-size: .875rem; }
input::placeholder { color: #a1a7b0; }
input[type=date] { font-family: inherit; color-scheme: light; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23808a96' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 12px center !important; padding-right: 30px !important; }
.search-field { grid-column: span 2; }
.search-input { position: relative; display: block; }
.search-input .icon { position: absolute; left: 12px; top: 12px; width: 17px; height: 17px; color: #99a0aa; pointer-events: none; }
.search-input input { padding-left: 38px; }
.filter-submit { height: 41px; }
.filter-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 12px 0; border-top: 1px solid #f0f1f4; color: #969ca5; font-size: .75rem; }
.filter-foot > span:first-child { display: flex; align-items: center; gap: 6px; color: #818a96; }
.filter-foot .icon { width: 14px; height: 14px; }
.kpi-grid { display: grid; gap: 16px; }
.kpi-four { grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: 22px; }
.kpi { position: relative; min-width: 0; padding: 18px 21px; border: 1px solid var(--border); border-radius: 10px; background: white; }
.kpi-top { display: flex; justify-content: space-between; align-items: center; gap: 7px; color: #727b88; font-size: .875rem; }
.kpi-icon { display: grid; place-items: center; width: 32px; height: 32px; background: #f3f4f6; color: #7e8794; border-radius: 7px; }
.kpi-icon .icon { width: 18px; height: 18px; }
.kpi > strong { display: block; margin-top: 2px; font-family: Arial,"Leelawadee UI",sans-serif; font-size: 1.875rem; font-weight: 650; line-height: 1.3; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.kpi > small { display: block; margin-top: 8px; font-size: .75rem; color: #9299a3; line-height: 1.6; }
.kpi.accent .kpi-icon { color: var(--red); background: var(--red-soft); }
.kpi.accent > strong { color: var(--red); }
.kpi.positive .kpi-icon { color: #3d8a63; background: #edf6f1; }
.kpi.warning .kpi-icon { color: #a17526; background: #fcf6e9; }
.executive-summary { display: grid; grid-template-columns: minmax(300px,1.08fr) minmax(0,2fr); gap: 18px; margin-bottom: 27px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 20px 22px 0; }
.panel-heading h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 1rem; font-weight: 600; color: #353d49; }
.panel-heading p { margin-top: 4px; font-size: .75rem; color: #9198a3; }
.panel-heading > .icon { color: #a2a8b0; width: 18px; height: 18px; }
.kpi-summary { grid-template-columns: repeat(2, minmax(0,1fr)); }
.kpi-summary .kpi { padding: 15px 21px; }
.score-panel .panel-heading { padding-bottom: 0; }
.score-panel .panel-heading .icon { width: 15px; height: 15px; color: #a1a7b1; }
.score-body { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 28px 20px 26px; }
.score-ring { display: grid; place-items: center; width: 144px; height: 144px; flex: 0 0 auto; border-radius: 50%; background: conic-gradient(from -90deg, var(--red) calc(var(--score)*1%), #f4e6e9 0); }
.score-ring > div { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 124px; height: 124px; border-radius: 50%; background: white; }
.score-ring strong { color: var(--red); font-family: Arial,sans-serif; font-size: 43px; font-weight: 650; line-height: 1.15; }
.score-ring span { margin-top: 6px; font-size: .6875rem; color: #9299a3; }
.score-copy p { margin-top: 11px; color: #8c939d; font-size: .75rem; line-height: 1.9; }
.score-copy .badge { font-size: .6875rem; }
.score-footer { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; border-top: 1px solid #f0f1f4; color: #858d98; font-size: .8125rem; }
.score-footer strong { display: flex; align-items: center; gap: 6px; color: #343d49; font-family: Arial,sans-serif; font-size: 17px; }
.score-footer .icon { color: #b38437; width: 16px; height: 16px; fill: #f9edce; }
.score-footer small { font-size: 12px; color: #a0a6ae; font-weight: 400; }
.badge { display: inline-flex; align-items: center; justify-content: center; min-height: 25px; padding: 3px 9px; border-radius: 5px; font-size: .75rem; line-height: 1.5; font-weight: 500; white-space: nowrap; }
.badge-green { color: #327554; background: #edf7f1; }
.badge-red { color: #b94353; background: #fdf0f2; }
.badge-amber { color: #9c752d; background: #fcf6e9; }
.badge-neutral { color: #687483; background: #f0f2f5; }
.section-heading { display: flex; justify-content: space-between; gap: 15px; align-items: end; margin-bottom: 17px; }
.section-heading h2 { font-size: 1.0625rem; font-weight: 600; }
.section-heading p { margin-top: 4px; color: #9299a3; font-size: .75rem; }
.section-meta { color: #9299a3; font-size: .75rem; white-space: nowrap; }
.chart-grid-layout { display: grid; grid-template-columns: minmax(0,1.95fr) minmax(280px,1fr); gap: 18px; margin-bottom: 20px; }
.trend-panel { display: flex; flex-direction: column; }
.segmented { display: flex; padding: 3px; background: #f5f6f8; border-radius: 6px; flex: 0 0 auto; }
.segmented button { min-height: 29px; padding: 3px 10px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #929aa5; font-size: .75rem; }
.segmented button.selected { border-color: #e7e9ed; background: white; color: var(--red); box-shadow: 0 1px 3px #00000008; }
.chart-legend { display: flex; gap: 20px; align-items: center; padding: 17px 23px 10px; font-size: .6875rem; color: #878f9a; }
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; }
.chart-legend small { margin-left: auto; font-size: .6875rem; }
.trend-chart { display: block; width: 100%; height: auto; padding: 0 11px 0 4px; overflow: visible; }
.trend-panel [data-chart] { flex: 1; display: flex; align-items: center; min-height: 230px; }
.chart-grid { stroke: #eff0f3; stroke-dasharray: 3 4; }
.chart-label { fill: #949ca7; font-size: 11px; font-family: Arial,"Leelawadee UI",sans-serif; }
.trend-bar { fill: #f2b9bf; transition: fill 120ms; }
.trend-bar:hover { fill: #df7180; }
.trend-line { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linejoin: round; }
.trend-point { stroke: white; fill: var(--red); stroke-width: 1.3; }
.chart-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding: 12px 22px; border-top: 1px solid #f1f2f4; color: #929aa4; font-size: .6875rem; }
.chart-foot strong { color: #626b78; }
.service-panel { padding-bottom: 13px; }
.donut { display: grid; place-items: center; width: 150px; height: 150px; margin: 22px auto 18px; border-radius: 50%; transform: rotate(0deg); }
.donut > div { display: flex; align-items: center; justify-content: center; flex-direction: column; width: 116px; height: 116px; border-radius: 50%; background: white; }
.donut strong { color: #313a47; font-family: Arial,sans-serif; font-size: 30px; font-weight: 600; line-height: 1.3; }
.donut span { margin-top: 3px; color: #9199a4; font-size: .6875rem; }
.service-legend { list-style: none; margin: 0; padding: 0 22px; }
.service-legend li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: .75rem; }
.service-legend li > span { display: flex; align-items: center; gap: 7px; color: #7a8390; }
.service-legend i { display: block; width: 8px; height: 8px; border-radius: 2px; flex: 0 0 auto; }
.service-legend strong { white-space: nowrap; font-family: Arial,sans-serif; font-size: 12px; }
.service-legend small { display: inline-block; min-width: 42px; margin-left: 10px; color: #959da7; font-size: 11px; text-align: right; font-weight: 400; }
.operations-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 18px; margin-bottom: 20px; }
.journey { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; padding: 22px 20px 23px; }
.journey > div { display: flex; position: relative; align-items: center; flex-direction: column; text-align: center; }
.journey > div:not(:last-child):after { content: ""; position: absolute; left: calc(50% + 24px); top: 19px; width: calc(100% - 43px); border-top: 1px dashed #e0e3e8; }
.journey-icon { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 10px; border-radius: 50%; background: #fdf0f2; color: var(--red); }
.journey-icon .icon { width: 18px; height: 18px; }
.journey-icon.positive { background: #edf6f0; color: #438461; }
.journey-icon.muted { background: #f2f3f5; color: #929aa5; }
.journey strong { font-family: Arial,sans-serif; font-size: 23px; font-weight: 600; line-height: 1.2; }
.journey > div > span:last-child { margin-top: 6px; color: #949ba5; font-size: .6875rem; }
.journey-note { display: flex; align-items: center; gap: 6px; padding: 11px 22px; border-top: 1px solid #f1f2f4; color: #9ba2ac; font-size: .6875rem; }
.journey-note .icon { width: 14px; height: 14px; }
.sla-panel { padding-bottom: 17px; }
.sla-overview { display: flex; align-items: baseline; gap: 12px; padding: 18px 23px 13px; }
.sla-overview strong { font-family: Arial,sans-serif; font-size: 34px; font-weight: 600; line-height: 1.3; color: #3d805b; }
.sla-overview small { margin-left: 2px; font-size: 21px; }
.sla-overview > span { color: #8a939f; font-size: .75rem; }
.sla-bar { height: 9px; margin: 0 23px 13px; border-radius: 4px; overflow: hidden; background: #f4cbd0; }
.sla-bar > span { display: block; height: 100%; background: #5a9a76; }
.sla-legend { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 23px; }
.sla-legend > span { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: #87909c; }
.sla-legend strong { margin-left: 7px; font-family: Arial,sans-serif; color: #46505d; }
.legend-dot { width: 7px; height: 7px; border-radius: 2px; }
.legend-dot.green { background: #5a9a76; }
.legend-dot.red { background: #e5a2ab; }
.bottom-grid { display: grid; grid-template-columns: minmax(0,1.95fr) minmax(280px,1fr); gap: 18px; }
.recent-panel .panel-heading { padding-bottom: 18px; }
.recent-panel .panel-heading .text-button { font-size: .75rem; }
.area-ranking { padding: 18px 23px 14px; }
.area-row { display: flex; gap: 11px; align-items: center; padding: 11px 0; }
.area-row .rank { width: 22px; height: 22px; border-radius: 5px; background: #f7f2f3; color: #ae727b; text-align: center; font-family: Arial,sans-serif; font-size: 11px; line-height: 22px; }
.area-row > div { flex: 1; min-width: 0; }
.area-row > div > span { display: block; margin-bottom: 7px; font-size: .75rem; color: #75808d; }
.area-bar { height: 4px; border-radius: 3px; background: #f7eff1; }
.area-bar > span { display: block; height: 100%; border-radius: 3px; background: #d77c88; }
.area-row > strong { margin-left: 5px; font-size: 14px; font-family: Arial,sans-serif; text-align: right; }
.area-row > strong > small { display: block; color: #a0a6af; font-family: "Leelawadee UI",sans-serif; font-size: 10px; font-weight: 400; }
.area-footer { display: flex; align-items: center; gap: 6px; padding: 12px 22px 0; border-top: 1px solid #f1f2f4; color: #9ba2ac; font-size: .6875rem; }
.area-footer .icon { width: 14px; height: 14px; }
.records-panel .panel-heading { padding-bottom: 19px; }
.count-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; background: #f1f3f6; color: #7f8793; font-size: .6875rem; font-weight: 400; white-space: nowrap; }
.page-size { display: flex; align-items: center; gap: 8px; color: #8b939f; font-size: .75rem; white-space: nowrap; }
.page-size select { width: 65px; height: 33px; padding-left: 10px; font-size: .75rem; }
.table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #d7dce3 transparent; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .875rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.data-table th { padding: 13px 16px; border-top: 1px solid #edf0f3; border-bottom: 1px solid #e9ecf0; background: #fafbfc; color: #858e9b; font-size: .75rem; font-weight: 500; }
.data-table th:first-child, .data-table td:first-child { padding-left: 22px; }
.data-table th:last-child, .data-table td:last-child { padding-right: 22px; }
.data-table th a { display: inline-flex; align-items: center; gap: 8px; }
.data-table th .icon { width: 12px; height: 12px; color: #b4bac3; }
.data-table th[aria-sort] a, .data-table th[aria-sort] .icon { color: var(--red); }
.data-table td { padding: 17px 16px; border-bottom: 1px solid #eff1f4; color: #5c6775; font-size: .8125rem; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: #fffafb; }
.data-table td > small, .customer-name small { display: block; margin-top: 5px; color: #9aa1ac; font-size: .6875rem; line-height: 1.5; }
.record-link { color: #a83546; font-weight: 500; }
.record-link:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.data-table td > .record-link:first-child { font-weight: 500; }
.data-table td small .record-link { color: #9a7c85; font-weight: 400; }
.action-col { text-align: center; width: 70px; }
.row-action { display: inline-flex; justify-content: center; align-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid #e5e8ed; border-radius: 5px; background: white; color: #9ba2ac; }
.row-action .icon { width: 14px; height: 14px; }
.row-action:hover { color: var(--red); border-color: #dfb0b7; background: #fff7f9; }
.number-cell { text-align: right; font-family: Arial,sans-serif; font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.direction { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; color: #7c8795; }
.direction.inbound { color: #397955; }
.direction .icon { width: 15px; height: 15px; }
.customer-name { display: flex; align-items: center; gap: 10px; }
.table-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; color: #9b626d; background: #f6edf0; font-size: .875rem; }
.package-label { font-family: Arial,sans-serif; font-size: 12px; color: #75818f; }
.mini-progress { width: 90px; height: 3px; margin-top: 8px; overflow: hidden; background: #f2ecee; border-radius: 2px; }
.mini-progress > span { display: block; height: 100%; border-radius: 2px; background: #ce7280; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 22px; border-top: 1px solid #eef0f3; }
.pagination > span { color: #929ba7; font-size: .75rem; }
.pagination nav { display: flex; gap: 5px; align-items: center; }
.page-button { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 5px; border: 1px solid #e4e7eb; border-radius: 5px; color: #929aa5; background: white; font-size: 12px; font-family: Arial,sans-serif; }
.page-button .icon { width: 12px; height: 12px; }
.page-button.selected { border-color: var(--red); color: white; background: var(--red); }
.page-button:hover:not(.disabled):not(.selected) { color: var(--red); border-color: #dbaab2; }
.page-button.disabled { opacity: .35; }
.empty-state { display: flex; flex-direction: column; align-items: center; padding: 55px 20px; text-align: center; }
.empty-state > .icon { width: 42px; height: 42px; color: #c4c9d1; margin-bottom: 18px; }
.empty-state h3 { font-weight: 500; font-size: 1rem; }
.empty-state p { margin: 7px 0 19px; color: #9aa1ad; font-size: .875rem; }
.chart-empty { display: grid; place-items: center; min-height: 245px; width: 100%; color: var(--muted); font-size: .875rem; }
.footer { display: flex; justify-content: space-between; gap: 15px; margin: 0 32px; padding: 20px 0; border-top: 1px solid #e6e9ed; color: #a0a7b0; font-size: .6875rem; }
.detail-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px; margin-bottom: 20px; }
.detail-identity { display: flex; align-items: center; gap: 16px; }
.detail-avatar { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 12px; background: var(--red-soft); color: var(--red); flex: 0 0 auto; }
.detail-avatar .icon { width: 27px; height: 27px; }
.eyebrow { color: #9c6470; font-size: .75rem; }
.detail-identity h2 { margin-top: 3px; font-size: 1.375rem; font-weight: 600; }
.detail-identity p { margin-top: 4px; color: #929aa6; font-size: .8125rem; }
.detail-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(280px,1fr); gap: 20px; }
.detail-main, .detail-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.detail-grid .panel-heading { padding-bottom: 18px; border-bottom: 1px solid #f0f1f4; }
.info-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; padding: 24px 22px; gap: 24px 20px; }
.info-grid.single { grid-template-columns: 1fr; }
.info-item { min-width: 0; }
.info-item dt { margin-bottom: 6px; font-size: .75rem; color: #929ba6; }
.info-item dd { margin: 0; color: #576270; font-size: .875rem; overflow-wrap: anywhere; }
.case-note { margin: 0 22px 22px; padding: 17px; border: 1px solid #eceef2; border-radius: 7px; background: #fafbfc; }
.case-note h3 { margin-bottom: 7px; font-size: .8125rem; font-weight: 500; }
.case-note p { font-size: .875rem; color: #88919d; }
.case-note small { display: block; margin-top: 12px; color: #a2a9b2; font-size: .6875rem; }
.related-repair { display: flex; align-items: center; gap: 9px; padding: 15px 22px; border-top: 1px solid #f1f2f5; color: #939aa4; font-size: .8125rem; }
.related-repair .icon { width: 17px; height: 17px; }
.package-card { margin: 20px 22px 0; padding: 20px; border: 1px solid #f1dce0; border-radius: 7px; background: #fdf6f7; }
.package-card > span { color: #bc8390; font-family: Arial,sans-serif; font-size: 12px; }
.package-card > strong { display: block; margin-top: 7px; color: #a42d41; font-family: Arial,sans-serif; font-size: 18px; font-weight: 600; }
.package-card p { margin-top: 12px; color: #ad8c95; font-size: .75rem; line-height: 1.8; }
.timeline { list-style: none; margin: 25px 22px 0; padding: 0; }
.timeline li { display: flex; gap: 13px; position: relative; min-height: 74px; }
.timeline li:not(:last-child):before { content: ""; position: absolute; left: 11px; top: 24px; height: calc(100% - 24px); border-left: 1px solid #e7eaf0; }
.timeline li.done:not(:last-child):before { border-color: #e9b9c2; }
.timeline-marker { display: grid; place-items: center; position: relative; z-index: 1; width: 24px; height: 24px; border: 1px solid #e3e6eb; border-radius: 50%; background: white; flex: 0 0 auto; }
.timeline-marker .icon { width: 13px; height: 13px; }
.timeline li.done .timeline-marker { border-color: #e9b9c2; background: #fdf0f3; color: var(--red); }
.timeline li.current .timeline-marker:after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.timeline strong { display: block; color: #9ba3ae; font-size: .8125rem; font-weight: 400; }
.timeline li.done strong { color: #5b6574; }
.timeline small { display: block; margin-top: 4px; font-size: .75rem; color: #a2a9b2; }
.timeline-caption { padding: 0 22px 20px; color: #a2a9b2; font-size: .6875rem; }
.detail-summary-note { display: flex; align-items: center; gap: 9px; font-size: .8125rem; color: #929aa5; }
.detail-summary-note .icon { width: 17px; height: 17px; }
.no-history { padding: 40px !important; text-align: center; color: #9ba2ac !important; }
.error-panel { display: flex; flex-direction: column; align-items: center; padding: 60px 20px; text-align: center; }
.error-panel > .icon { width: 50px; height: 50px; color: #bd8894; }
.error-code { font-size: 70px; font-family: Arial,sans-serif; font-weight: 700; color: var(--red); }
.error-panel h2 { font-size: 1.375rem; }
.error-panel p { margin: 12px 0 25px; color: var(--muted); }
dialog { width: min(550px,calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 25px; border: 1px solid var(--border); border-radius: 13px; color: var(--ink); background: white; box-shadow: 0 20px 90px #232a3940; }
dialog::backdrop { background: #1b202a65; backdrop-filter: blur(2px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 15px; }
.about-logo { margin: 15px 0; color: var(--red); font-family: Arial,sans-serif; font-size: 34px; font-weight: 800; letter-spacing: -1px; }
dialog h2 { font-size: 1.375rem; font-weight: 600; }
dialog p { margin-top: 12px; color: #8a939f; font-size: .875rem; }
.about-info { display: grid; grid-template-columns: 100px 1fr; gap: 12px; margin-top: 24px; padding: 20px 0; border-block: 1px solid var(--border); font-size: .875rem; }
.about-info > span { color: #9ca3ad; }
.about-info > strong { font-weight: 400; color: #677280; }
.about-dialog > .button { margin-top: 24px; }
.call-detail-ref { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.call-dialog .info-grid { padding: 22px 0; }
.call-dialog .case-note { margin: 0 0 20px; }
.call-dialog .related-repair { padding-left: 0; padding-right: 0; }
@media (min-width: 1101px) {
.sidebar-collapsed { --sidebar-width: 76px; }
.sidebar-collapsed .brand-row { min-height: 77px; padding: 0 12px; justify-content: center; }
.sidebar-collapsed .brand { display: none; }
.sidebar-collapsed .sidebar-product, .sidebar-collapsed .nav-label, .sidebar-collapsed .nav-item > span, .sidebar-collapsed .sidebar-bottom { display: none; }
.sidebar-collapsed .sidebar nav { padding: 14px 10px; }
.sidebar-collapsed .nav-item { justify-content: center; padding: 12px; }
}
.sidebar-backdrop { display: none; }
@media (min-width: 1800px) {
    .score-body { padding-top: 35px; padding-bottom: 32px; gap: 30px; }
    .score-ring { width: 165px; height: 165px; }
    .score-ring > div { width: 142px; height: 142px; }
    .kpi-summary .kpi { padding: 20px 24px; }
}
@media (max-width: 1350px) {
    :root { --sidebar-width: 232px; }
    .brand-row { padding-inline: 20px; }
    .sidebar-product { margin-inline: 20px; }
    .nav-item { gap: 10px; font-size: .8125rem; }
    .topbar { padding-inline: 25px; }
    .topbar-caption { display: none; }
    .topbar-left > .topbar-divider { display: none; }
    main { padding-inline: 25px; }
    .page-heading h1 { font-size: 1.625rem; }
    .notice-extra { display: none; }
    .executive-summary { grid-template-columns: minmax(280px,1.08fr) minmax(0,2fr); gap: 16px; }
    .score-body { gap: 14px; padding-inline: 16px; }
    .score-ring { width: 125px; height: 125px; }
    .score-ring > div { width: 108px; height: 108px; }
    .score-ring strong { font-size: 37px; }
    .score-copy .badge { padding-inline: 6px; font-size: .625rem; }
    .score-copy p { font-size: .6875rem; }
    .kpi-summary { gap: 13px; }
    .kpi-summary .kpi { padding-inline: 17px; }
    .kpi-top { font-size: .8125rem; }
    .kpi > strong { font-size: 1.75rem; }
    .chart-grid-layout, .bottom-grid { grid-template-columns: minmax(0,1.7fr) minmax(270px,1fr); gap: 16px; }
    .chart-grid-layout .panel-heading { padding-inline: 18px; }
    .trend-panel .panel-heading { flex-wrap: wrap; gap: 12px; }
    .panel-heading h2 { font-size: .9375rem; }
    .kpi-four { gap: 13px; }
    .kpi-four .kpi { padding: 17px; }
}
@media (max-width: 1100px) and (min-width: 801px) {
    :root { --sidebar-width: 76px; }
    body:not(.sidebar-expanded) .brand-row { justify-content: center; padding-inline: 12px; }
    body:not(.sidebar-expanded) .brand { display: none; }
    body:not(.sidebar-expanded) .sidebar-product, body:not(.sidebar-expanded) .nav-label, body:not(.sidebar-expanded) .nav-item > span, body:not(.sidebar-expanded) .sidebar-bottom { display: none; }
    body:not(.sidebar-expanded) .sidebar nav { padding: 14px 10px; }
    body:not(.sidebar-expanded) .nav-item { justify-content: center; }
    .sidebar-expanded { --sidebar-width: 232px; }
}
@media (max-width: 800px) {
    :root { --sidebar-width: 0px; }
    .sidebar { width: 256px; transform: translateX(-100%); transition: transform 180ms; }
    .sidebar-open .sidebar { transform: translateX(0); }
    .sidebar-open .sidebar-backdrop { display: block; position: fixed; inset: 0; z-index: 35; border: 0; background: #20263265; }
    .sidebar-open { overflow: hidden; }
    .content-shell { margin-left: 0; }
    .mobile-menu { display: inline-flex; }
    .topbar { min-height: 68px; padding: 12px 18px; }
    .topbar-left { gap: 9px; }
    .topbar-right { gap: 12px; }
    .topbar-right > .topbar-divider { display: none; }
    .portal-title { font-size: 15px; }
    .profile-copy, .profile > .icon { display: none; }
    main { padding: 20px; }
    .page-heading { align-items: flex-start; }
    .page-heading h1 { font-size: 1.5rem; }
    .page-heading p { font-size: .8125rem; }
    .page-actions .button { padding: 9px 12px; }
    .page-actions .button[data-print] { display: none; }
    .executive-summary { grid-template-columns: minmax(260px,1fr) minmax(0,1.4fr); gap: 14px; }
    .score-body { padding-top: 30px; padding-bottom: 30px; gap: 12px; }
    .score-ring { width: 116px; height: 116px; }
    .score-ring > div { width: 100px; height: 100px; }
    .score-copy .badge { font-size: .625rem; }
    .score-copy p { font-size: .625rem; }
    .kpi-summary { gap: 12px; }
    .kpi-summary .kpi { padding: 14px 15px; }
    .kpi-top { font-size: .75rem; }
    .kpi-summary .kpi-icon { width: 26px; height: 26px; }
    .kpi > small { font-size: .6875rem; }
    .kpi > strong { font-size: 1.625rem; }
    .filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .filter-grid .search-field { grid-column: auto; }
    .filter-submit { grid-column: 1 / -1; }
    .chart-grid-layout, .bottom-grid { grid-template-columns: minmax(0,1.5fr) minmax(230px,1fr); gap: 14px; }
    .chart-legend { gap: 12px; padding-inline: 18px; }
    .chart-foot { flex-wrap: wrap; }
    .service-legend { padding-inline: 16px; }
    .service-legend li { font-size: .6875rem; }
    .service-legend small { min-width: 34px; margin-left: 6px; }
    .donut { width: 136px; height: 136px; }
    .donut > div { width: 105px; height: 105px; }
    .operations-grid { gap: 14px; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); }
    .panel-heading { padding-inline: 18px; }
    .panel-heading h2 { font-size: .875rem; }
    .panel-heading p { font-size: .6875rem; }
    .journey { padding-inline: 12px; }
    .journey-note { font-size: .625rem; padding-inline: 15px; }
    .sla-legend { flex-wrap: wrap; padding-inline: 18px; }
    .kpi-four { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .detail-grid { grid-template-columns: minmax(0,1.5fr) minmax(240px,1fr); gap: 15px; }
    .detail-identity h2 { font-size: 1.125rem; }
    .info-grid { gap: 20px 16px; }
    .footer { margin-inline: 20px; }
}
@media (max-width: 600px) {
    .topbar { padding-inline: 12px; }
    .portal-title span { display: none; }
    .topbar-right { gap: 10px; }
    .topbar-right .avatar { width: 32px; height: 32px; }
    .demo-badge { font-size: .6875rem; padding: 3px 8px; }
    main { padding: 17px 14px 24px; }
    .breadcrumb { margin-bottom: 14px; }
    .page-heading { flex-wrap: wrap; gap: 14px; margin-bottom: 17px; }
    .page-heading h1 { font-size: 1.375rem; }
    .page-actions { width: 100%; }
    .page-actions .button { min-height: 38px; padding: 8px 12px; font-size: .8125rem; }
    .demo-notice { flex-wrap: wrap; padding: 9px 12px; gap: 6px; margin-bottom: 17px; font-size: .6875rem; }
    .demo-date { width: 100%; margin-left: 22px; font-size: .625rem; }
    .filters { padding: 16px 15px 0; margin-bottom: 17px; }
    .filter-grid { gap: 13px 12px; }
    .filter-grid .search-field { grid-column: 1 / -1; }
    .field > span:first-child, .field input, .field select { font-size: .8125rem; }
    .field input, .field select { padding-inline: 10px; height: 40px; }
    .field input[type=search] { padding-left: 34px; }
    .field input[type=date] { padding-right: 6px; }
    .search-input .icon { left: 10px; }
    .filter-foot { font-size: .625rem; gap: 5px; }
    .filter-foot > span:last-child { display: none; }
    .executive-summary { grid-template-columns: 1fr; margin-bottom: 23px; }
    .score-body { gap: 25px; padding-block: 22px; }
    .score-ring { width: 133px; height: 133px; }
    .score-ring > div { width: 115px; height: 115px; }
    .score-ring strong { font-size: 40px; }
    .score-copy .badge { font-size: .75rem; }
    .score-copy p { font-size: .75rem; }
    .score-footer { padding-inline: 20px; }
    .kpi-summary, .kpi-four { gap: 12px; }
    .kpi-summary .kpi, .kpi-four .kpi { padding: 14px; }
    .kpi-top { font-size: .75rem; }
    .kpi-icon { width: 27px; height: 27px; }
    .kpi-icon .icon { width: 15px; height: 15px; }
    .kpi > strong { margin-top: 6px; font-size: 1.5rem; }
    .kpi > small { font-size: .6875rem; }
    .kpi-four .kpi:last-child > strong { font-size: 1.375rem; }
    .section-heading p { font-size: .6875rem; }
    .section-meta { display: none; }
    .section-heading h2 { font-size: 1rem; }
    .chart-grid-layout, .operations-grid, .bottom-grid { grid-template-columns: 1fr; gap: 15px; margin-bottom: 15px; }
    .panel-heading { padding: 18px 17px 0; gap: 10px; }
    .panel-heading h2 { font-size: .9375rem; }
    .trend-panel .panel-heading { flex-wrap: wrap; }
    .segmented { margin-left: auto; }
    .trend-panel [data-chart] { min-height: 160px; }
    .trend-chart { padding-inline: 3px; }
    .chart-legend { flex-wrap: wrap; font-size: .6875rem; }
    .chart-legend small { font-size: .625rem; }
    .chart-foot { padding-inline: 17px; font-size: .625rem; }
    .donut { width: 155px; height: 155px; margin-top: 22px; }
    .donut > div { width: 120px; height: 120px; }
    .service-legend { padding: 0 24px 10px; }
    .service-legend li { padding-block: 8px; font-size: .8125rem; }
    .service-legend small { margin-left: 20px; }
    .journey { padding-block: 24px; }
    .journey > div > span:last-child { font-size: .6875rem; }
    .journey-note { font-size: .625rem; padding: 12px 15px; }
    .sla-panel { padding-bottom: 22px; }
    .sla-overview { padding-top: 20px; }
    .area-footer { padding-bottom: 17px; }
    .area-row > div > span { font-size: .8125rem; }
    .area-row > strong > small { font-size: 12px; }
    .records-panel .panel-heading { flex-wrap: wrap; padding-bottom: 16px; }
    .page-size { margin-left: auto; }
    .data-table th { padding: 12px 14px; }
    .data-table td { padding: 15px 14px; }
    .data-table th:first-child, .data-table td:first-child { padding-left: 17px; }
    .pagination { flex-wrap: wrap; justify-content: center; padding: 16px; gap: 12px; }
    .pagination > span { width: 100%; text-align: center; }
    .page-button { min-width: 33px; height: 33px; }
    .footer { margin-inline: 14px; padding-block: 18px; flex-wrap: wrap; gap: 4px; font-size: .625rem; }
    .detail-grid { display: flex; flex-direction: column; }
    .detail-header { padding: 19px 17px; align-items: flex-start; flex-wrap: wrap; gap: 13px; }
    .detail-identity { gap: 12px; }
    .detail-identity h2 { font-size: 1.125rem; }
    .detail-identity p { font-size: .6875rem; }
    .detail-avatar { width: 45px; height: 45px; border-radius: 10px; }
    .detail-header > .badge { margin-left: 57px; }
    .info-grid { padding: 21px 17px; gap: 20px; }
    .info-item dd { font-size: .8125rem; }
    .detail-summary-note { align-items: flex-start; font-size: .75rem; }
    .detail-summary-note .icon { margin-top: 3px; }
    .case-note { margin-inline: 17px; padding: 14px; }
    .case-note p { font-size: .8125rem; }
    .detail-side { gap: 17px; }
    .package-card { margin-inline: 17px; }
    .about-info { grid-template-columns: 80px 1fr; font-size: .8125rem; }
    dialog { padding: 20px; }
    dialog h2 { font-size: 1.1875rem; }
}
/* Readable report text, including at browser zoom. */
.data-table :is(th,td), .field > span:first-child, .page-size, .filter-title h2, .filter-heading .text-button, .panel-heading p, .chart-legend, .chart-foot, .service-legend li, .area-row > div > span, .sla-legend > span, .journey > div > span:last-child { font-size: max(.875rem, 14px); }
.data-table td > small, .customer-name small, .score-copy p, .score-ring span, .kpi > small, .chart-legend small, .service-legend small, .donut span { font-size: .75rem; }
.page-heading p, .kpi-top, .kpi > small, .panel-heading p, .field > span:first-child, .chart-legend, .chart-foot, .service-legend li > span, .area-row > div > span, .sla-legend > span, .journey > div > span:last-child, .info-item dt, .info-item dd, .pagination > span, .data-table th { color: #707a88; }
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { transition: none !important; scroll-behavior: auto !important; } }
@media print {
    :root { font-size: 12px; }
    body { background: white; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .sidebar, .topbar, .breadcrumb, .page-actions, .filter-heading .text-button, .filter-submit, .search-field, .page-size, .pagination, .footer, dialog, .segmented, .sidebar-backdrop { display: none !important; }
    .content-shell { margin: 0; }
    main { max-width: none; padding: 0; }
    .page-heading { margin-bottom: 15px; }
    .demo-notice { margin-bottom: 15px; }
    .filters { padding: 10px 15px 0; }
    .filter-grid { grid-template-columns: repeat(4,1fr); gap: 8px; }
    .field input, .field select { border: 0; padding: 0; height: 28px; background-image: none !important; }
    .executive-summary { grid-template-columns: 1fr 2fr; }
    .chart-grid-layout, .bottom-grid { grid-template-columns: 1.6fr 1fr; }
    .operations-grid { grid-template-columns: 1.2fr 1fr; }
    .panel, .kpi, .page-heading { break-inside: avoid; box-shadow: none; }
    .table-wrap { overflow: visible; }
    .data-table { white-space: normal; }
    .data-table :is(td,th) { font-size: 10px; padding: 9px 7px; }
    .data-table .badge { font-size: 9px; white-space: normal; }
    .data-table td > small { font-size: 9px; }
    .row-action { display: none; }
    .detail-grid { display: grid; grid-template-columns: 2fr 1fr; }
    .demo-date { display: inline; width: auto; margin-left: auto; }
    .chart-label { font-size: 13px; }
    @page { size: A4 landscape; margin: 12mm; }
}
