:root{
  --strict-navy:#0b3655;
  --strict-deep:#092f4d;
  --strict-blue:#188bc2;
  --strict-line:#c5d7e4;
  --strict-bg:#f2f6fa;
}

/* V44 로그인: 원본 한 장만 사용하고 임의 문구·중복 이미지는 만들지 않는다. */
.login-view{min-height:100vh;display:flex;flex-direction:column;background:#fff}
.login-header{height:78px;min-height:78px;background:#0d3474;display:flex;align-items:center;padding:0 1cm}
.login-header img{display:block;width:210px;height:auto}
.login-body{height:calc(100vh - 78px);display:grid;grid-template-columns:minmax(0,3fr) minmax(410px,1fr);overflow:hidden}
.login-visual{display:flex!important;flex-direction:column;position:relative;padding:0!important;color:#48647a;background:#fff!important;overflow:hidden}
.login-slogan{height:150px;min-height:150px;display:flex;align-items:center;justify-content:center;padding:24px;font-size:15px;color:#536d80;text-align:center;white-space:nowrap}
.login-original-image{flex:none;width:100%;max-height:calc(100% - 150px);aspect-ratio:1953/745;background-image:url('/assets/images/login_hero_reference.png');background-repeat:no-repeat;background-position:center;background-size:100% 100%;background-color:#fff;image-rendering:auto}
.login-panel{display:flex;align-items:center;justify-content:center;padding:150px 42px 24px;border-left:0;background:#fff;overflow:auto}
.login-card{width:min(360px,100%);margin:0 auto;position:relative;color:#173f5d}
.login-language-row{display:flex;justify-content:flex-end;margin:0 0 28px}
.login-language-row select{width:176px;height:42px;padding:6px 36px 6px 13px;border:1px solid #86a8c0;border-radius:5px;font-size:14px;background:#fff}
.login-product-brand{display:flex;align-items:center;gap:7px;color:#0b3b62;font-weight:900;letter-spacing:-.02em;margin-bottom:5px}
.login-product-brand img{width:28px;height:28px;object-fit:contain;display:block}
.login-product-brand span{color:#0b3b62;font-size:22px;font-weight:900;line-height:28px;white-space:nowrap}
.login-subtitle{margin:0 0 25px;color:#496a82;font-size:17px;font-weight:600;line-height:1.2}
.login-caption{margin:0 0 11px;color:#355b75;font-size:15px;font-weight:700}
.login-card label{gap:6px;margin:8px 0 0;font-size:15px}
.login-card input{height:49px;border-radius:5px;padding:10px 13px;font-size:15px;border-color:#9fb9cb}
.login-card .form-error{margin:1px 0;min-height:7px;font-size:12px}
.login-card .btn.wide{height:45px;border-radius:5px;margin-top:7px;font-size:15px}
.login-card .btn.guest{border-color:#0b557f;background:#eef7fc;color:#0b4d78}
.guest-note{margin:6px 0 2px;color:#536f83;text-align:center;font-size:12px;font-weight:600;line-height:1.45}
.login-note{margin:11px 0 9px;padding:0;border:0;background:transparent;color:#4f6f85;font-size:12px;font-weight:500;line-height:1.55}
.login-exit{display:block;margin:12px auto 10px;border:0;background:transparent;color:#536f83;font-size:13px;cursor:pointer}
.login-copyright{border-top:1px solid #d7e2e9;margin:0;padding-top:15px;text-align:center;color:#6f8798;font-size:11px}
.closed-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f4f7fa;color:#0b3655;text-align:center}
.closed-screen img{width:190px;height:auto;margin-bottom:24px}.closed-screen h1{margin:0 0 8px;font-size:26px}.closed-screen p{margin:0;color:#647f92}

/* V44 공통 헤더, 사이드바, 작업 탭 */
.app-view{height:100vh;height:100dvh;min-height:0;display:grid;grid-template:64px minmax(0,1fr)/252px minmax(0,1fr);overflow:hidden;background:var(--strict-bg)}
.global-header{grid-row:1;grid-column:1/-1;position:sticky;top:0;z-index:40;height:64px;background:var(--strict-navy);display:flex;align-items:center;justify-content:space-between;color:#fff;padding:0 24px}
.global-brand{display:flex;align-items:center;height:64px}
.global-brand img{width:152px;height:auto;display:block}
.global-user{display:flex;align-items:center;gap:8px;font-size:13px}
.global-user img{width:25px;height:25px}
.sidebar{grid-row:2;grid-column:1;position:sticky;top:64px;left:auto;bottom:auto;width:252px;height:calc(100vh - 64px);background:var(--strict-navy);box-shadow:none;color:#fff;display:flex;flex-direction:column;z-index:20;overflow:hidden;contain:layout paint;will-change:width;transition:width .16s ease-out}
.sidebar nav{padding:13px 10px 7px;overflow-y:auto;flex:1}
.nav-caption{padding:10px 14px 8px;font-size:14px;font-weight:800;color:#fff;transition:font-size .14s ease,padding .18s ease}
.nav-system-title{min-height:44px;display:flex;align-items:center;font-size:16px;letter-spacing:-.02em;white-space:nowrap;overflow:hidden}
.nav-item{min-height:41px;width:100%;border:0;border-radius:6px;background:transparent;color:#fff;display:flex;align-items:center;gap:9px;padding:8px 13px;font-size:13px;font-weight:800;text-align:left;cursor:pointer;transition:background-color .12s ease,font-size .14s ease,padding .18s ease,gap .18s ease}
.nav-item.active,.nav-item:hover{background:#188bc2;color:#fff}
.nav-icon{width:19px;height:19px;object-fit:contain;filter:brightness(0) invert(1);opacity:.95;flex:none}
.nav-parent span{margin-left:auto}
.nav-child{padding-left:34px;min-height:34px;font-size:12px}
.nav-child .nav-icon{width:15px;height:15px}
.nav-children.collapsed{display:none}
.sidebar-foot{display:grid;gap:5px;padding:7px 10px 10px;border:0}
.sidebar-foot button{height:36px;border:0;border-radius:6px;background:#124a73;color:#fff;text-align:left;padding:0 13px;font-size:12px;font-weight:800;cursor:pointer;transition:font-size .14s ease,padding .18s ease}
.main{--topbar-height:52px;grid-row:2;grid-column:2;display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;overflow:hidden;background:var(--strict-bg);padding-left:0}
.topbar{--work-tab-gap:2px;flex:0 0 var(--topbar-height);height:var(--topbar-height);min-height:var(--topbar-height);position:sticky;top:0;z-index:15;display:flex;align-items:center;gap:var(--work-tab-gap);padding:0 22px 0 .5mm;background:#f8fafc;border-bottom:1px solid #e3ebf1}
.topbar>.workspace-tabs{align-self:stretch;display:flex;align-items:flex-end;gap:var(--work-tab-gap);min-width:0;flex:1;overflow:clip}
.work-tabs{flex:1 1 0;min-width:0;height:100%;margin:0;border:0;display:flex;align-items:flex-end;gap:var(--work-tab-gap);overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
.work-tab{height:35px;padding:0 12px;display:flex;align-items:center;gap:16px;border:1px solid #c9d8e2;border-bottom:0;background:#edf3f7;color:#28506a;font-size:12px;flex:0 0 auto;white-space:nowrap}
.work-tab.current{background:#fff;color:#073a60;font-weight:800}
.tab-close{border:0;background:transparent;color:#7d92a2;font:700 14px/1 sans-serif;padding:2px;cursor:pointer}
.tab-close:hover{color:#0b3655}
.top-actions{display:flex;align-items:center;gap:7px;flex:none}
.topbar>.top-actions{align-self:flex-end}
.top-actions select{height:34px;width:auto;min-width:130px;border-radius:5px;padding:5px 32px 5px 10px;border:1px solid #c9d8e2;background:#edf3f7}
.content{flex:1 1 0;padding:14px 18px 20px;max-width:none;margin:0;min-width:0;min-height:0;overflow-y:auto;scrollbar-width:none}
.content::-webkit-scrollbar{width:0;height:0}
.v44-title{margin:0 8px 13px}
.v44-title h1{font-size:26px}

/* 업무 화면은 V44의 밀도와 행 구성을 유지한다. */
.v44-panel{border-radius:8px}
.dashboard-kpis{gap:6px;margin-bottom:10px}
.v44-kpi{min-height:84px}
.dashboard-six{gap:6px}
.mini-chart{height:205px}
.dashboard-tables{gap:6px;margin-top:9px}
.inspection-kpis,.quality-kpis{gap:7px}
.inspection-charts.single-chart{grid-template-columns:1fr}
.wide-chart{width:100%}
.filter-grid{padding:10px 12px}
.filter-grid label{margin:0}
.filter-grid input,.filter-grid select{height:38px}
.filter-buttons{justify-content:flex-end}
.registration-filter-ppap{grid-template-columns:repeat(9,minmax(78px,1fr)) auto}
.registration-filter-customer_4m{grid-template-columns:repeat(8,minmax(82px,1fr)) auto}
.registration-filter-supplier_4m{grid-template-columns:repeat(7,minmax(88px,1fr)) auto}
.v44-btn{width:72px;min-width:72px;height:38px;padding:0 7px;font-size:14px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;line-height:1;white-space:nowrap;text-align:center;overflow:visible}
.main-table{max-height:282px}
.main-table .v44-table{min-width:1080px}
.module-supplier_audit{table-layout:fixed!important}
.module-supplier_audit th:nth-child(11),.module-supplier_audit td:nth-child(11){width:130px;min-width:130px;max-width:130px}
.module-supplier_audit .attachment-cell{width:130px;min-width:130px;max-width:130px}
.table-footer{justify-content:flex-start;gap:24px;font-weight:700}
.details-content{max-height:62vh;overflow:auto;min-width:0}
.details-content dl{display:grid;grid-template-columns:minmax(150px,28%) minmax(0,1fr);margin:14px 0 0;border-top:1px solid #d8e3eb;border-left:1px solid #d8e3eb}
.details-content dt,.details-content dd{min-width:0;margin:0;padding:10px 12px;border-right:1px solid #d8e3eb;border-bottom:1px solid #d8e3eb;line-height:1.55;overflow-wrap:anywhere;word-break:break-word}
.details-content dt{font-weight:800;background:#eef5f9;white-space:normal}
.details-content dd{white-space:pre-wrap;background:#fff}
#details-dialog{width:min(860px,calc(100vw - 32px))}
.raw-main-table{height:565px}

/* V44 메뉴: 비고정 상태에서 마우스 진입 시 펼치고 이탈 시 접는다. */
.app-view.menu-collapsed{grid-template-columns:72px minmax(0,1fr)}
.app-view.menu-collapsed .sidebar{width:72px}
.app-view.menu-collapsed.menu-hover-expanded .sidebar{width:252px;box-shadow:7px 0 18px rgba(5,35,55,.18)}
.app-view.menu-collapsed.menu-hover-expanded .main{padding-left:180px}
.app-view.menu-collapsed:not(.menu-hover-expanded) .sidebar nav{padding-left:7px;padding-right:7px}
.app-view.menu-collapsed:not(.menu-hover-expanded) .nav-caption,.app-view.menu-collapsed:not(.menu-hover-expanded) .nav-item:not(.nav-child){font-size:0}
.app-view.menu-collapsed:not(.menu-hover-expanded) .nav-item{justify-content:center;padding-left:8px;padding-right:8px;gap:0}
.app-view.menu-collapsed:not(.menu-hover-expanded) .nav-parent span,.app-view.menu-collapsed:not(.menu-hover-expanded) .nav-children{display:none!important}
.app-view.menu-collapsed:not(.menu-hover-expanded) .sidebar-foot button{font-size:0;text-align:center;padding:0}
.app-view.menu-collapsed:not(.menu-hover-expanded) #pin-menu::before{content:'⚑';font-size:16px}
.app-view.menu-collapsed:not(.menu-hover-expanded) #logout-button::before{content:'⇥';font-size:16px}

/* 계정 생성 닫기 버튼: 다른 입력 항목과 같은 옅은 회색 테두리 */
.signup-modal .modal-head .icon-btn{width:32px;height:32px;padding:0;border:1px solid #bfd0de;border-radius:4px;background:#fff;color:#6b8192;line-height:28px}

/* Rev.1 문서 새창: V44 데스크톱 등록창의 2열 구조·검색형 선택창·달력·첨부 영역 */
.v44-document-dialog{width:min(1000px,calc(100vw - 30px));border-radius:10px;overflow:visible}
.v44-document-dialog::backdrop{background:rgba(18,36,50,.24);backdrop-filter:none}
.v44-document-dialog form{position:relative;padding:14px 14px 12px;background:#f1f5f9;border-radius:10px;overflow:visible}
.v44-document-dialog .modal-kicker{display:none}
.v44-document-dialog .modal-head{align-items:center;border:0;padding:0 0 10px}
.v44-document-dialog .modal-head h3{margin:0;font-size:26px;line-height:1.25;color:#073a60;letter-spacing:-.035em}
.v44-document-dialog .modal-head .icon-btn{font-size:25px;line-height:1}
.v44-document-dialog #record-fields{max-height:none;overflow:visible;background:#fff;border:1px solid #c7d7e2;border-radius:9px;padding:30px 28px;min-height:390px}
.document-form-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-auto-rows:minmax(56px,auto);column-gap:22px;row-gap:14px}
.document-field{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:8px;min-width:0;margin:0}
.document-caption{text-align:right;font-size:16px;font-weight:500;color:#173f5d;white-space:nowrap;overflow:visible}
.document-caption em,#record-fields>label>span em{color:#e53935;font-style:normal;font-weight:900;margin-left:2px}
#record-fields>label{min-width:0}
#record-fields>label>span{display:flex;align-items:center;gap:2px;min-height:18px;white-space:nowrap;overflow:visible}
.document-field input,.document-field select,.document-field textarea{height:42px;margin:0;border:1px solid #8ea6bc;border-radius:6px;background:#fff;padding:8px 12px;font-size:16px;box-shadow:none}
.document-field textarea{height:70px;resize:vertical}
.v44-search-select,.v44-date-field{position:relative;min-width:0;width:100%;height:42px;display:grid;grid-template-columns:minmax(0,1fr) 42px;border:1px solid #8ea6bc;border-radius:6px;overflow:hidden;background:#fff}
.v44-search-select{overflow:visible}
.v44-search-select.open{z-index:350;border-color:#188bc2;box-shadow:0 0 0 2px rgba(24,139,194,.12)}
.v44-search-select input,.v44-date-field input{width:100%;min-width:0;height:40px!important;padding:8px 12px!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.searchable-trigger,.calendar-trigger{position:static;width:42px;height:40px;border:0;border-left:1px solid #8ea6bc;border-radius:0;background:#f8fbfd;display:grid;place-items:center;cursor:pointer}
.searchable-trigger img,.calendar-trigger img{width:17px;height:17px}
.v44-search-options{position:absolute;top:46px;left:-1px;right:-1px;max-height:220px;overflow:auto;padding:4px;background:#fff;border:1px solid #8ea6bc;border-radius:6px;box-shadow:0 8px 18px rgba(7,34,52,.22);z-index:360}
.v44-search-options[hidden]{display:none}
.v44-search-option{display:block;width:100%;height:38px;padding:7px 11px;border:0;border-radius:4px;background:#fff;color:#173f5d;text-align:left;font-size:15px;cursor:pointer}
.v44-search-option:hover,.v44-search-option:focus{background:#eaf6fc;color:#075b85;outline:none}
.v44-search-option[hidden]{display:none}
.v44-checkbox{height:42px;display:flex;align-items:center;gap:9px}
.v44-checkbox input{width:20px;height:20px;flex:none;margin:0}
.v44-checkbox label{display:block;margin:0;font-size:16px;font-weight:500}
.document-attachment{display:grid;grid-template-columns:112px minmax(0,1fr);gap:10px;align-items:center;min-width:0}
.record-attachment-drop{min-height:165px;border:1px dashed #83afd0;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;background:#fbfdff;color:#244e69;font-size:16px}
.record-attachment-drop.dragging{background:#eaf6fc;border-color:#188bc2}
.record-attachment-drop #record-file-names{min-width:0;overflow-wrap:anywhere}
.record-attachment-drop .btn{flex:none;min-width:98px;font-size:15px}
.record-select-head,.record-select-cell{width:54px;min-width:54px;max-width:54px;text-align:center!important}
.record-select-head input,.record-select-cell input{display:block;width:18px;height:18px;margin:0 auto;accent-color:#0b72b9;cursor:pointer}
.filter-buttons .v44-btn.red{width:88px;min-width:88px;background:#c93632;border-color:#c93632;color:#fff}
.filter-buttons .v44-btn.amber{width:88px;min-width:88px;background:#d98200;border-color:#d98200;color:#fff}
.main-table .v44-table tbody tr.selected-record{background:#d9eef9!important;outline:2px solid #188bc2;outline-offset:-2px}
.v44-document-dialog .form-error{min-height:0;margin:4px 0 0}
.v44-document-dialog .modal-actions{margin-top:8px}
.v44-document-dialog .modal-actions .btn{height:43px;min-width:64px;font-size:15px}
.modal.calendar-host{overflow:visible}
.v44-calendar-popover{position:fixed;width:360px;background:#fff;border:1px solid #aebdca;box-shadow:0 14px 34px rgba(7,34,52,.28);z-index:1000;padding:14px 12px 10px;color:#173f5d;border-radius:3px}
.calendar-head{height:42px;display:grid;grid-template-columns:40px 1fr 40px;align-items:center;text-align:center;font-size:18px}
.calendar-head>[data-calendar-nav]{height:36px;border:0;background:#fff;color:#17456b;font-size:28px;cursor:pointer}
.calendar-title{display:flex;align-items:center;justify-content:center;gap:5px}
.calendar-title-button{height:34px;padding:0 7px;border:0;border-radius:5px;background:#fff;color:#173f5d;font-size:18px;font-weight:900;cursor:pointer}
.calendar-title-button:hover,.calendar-title-button:focus{background:#eaf6fc;color:#0874aa;outline:none}
.calendar-range{font-size:17px;font-weight:900;color:#173f5d}
.calendar-choice-grid{min-height:216px;display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:46px;gap:7px;padding:10px 2px;align-content:center}
.calendar-choice{border:1px solid #d6e1e8;border-radius:5px;background:#fff;color:#234c6b;font-size:15px;font-weight:700;cursor:pointer}
.calendar-choice:hover,.calendar-choice:focus{border-color:#188bc2;background:#eaf6fc;outline:none}
.calendar-choice.active{border-color:#188bc2;background:#188bc2;color:#fff}
.calendar-choice:disabled{background:#f5f7f9;color:#bdc8cf;cursor:not-allowed}
.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);text-align:center}
.calendar-week{height:38px;align-items:center;border-bottom:1px solid #edf1f4;font-size:15px}
.calendar-week b:first-child,.calendar-week b:last-child{color:#ef5962}
.calendar-days{border-top:1px solid #edf1f4;border-left:1px solid #edf1f4}
.calendar-day{height:36px;border:0;border-right:1px solid #edf1f4;border-bottom:1px solid #edf1f4;background:#fff;color:#234c6b;font-size:15px;cursor:pointer}
.calendar-day:nth-child(7n+1),.calendar-day:nth-child(7n){color:#ef5962}
.calendar-day.muted{color:#b9c3ca}
.calendar-day.active{background:#188bc2;color:#fff}
.calendar-day.disabled{background:#f7f9fa;color:#cbd3d9;cursor:not-allowed}
.calendar-cancel{display:block;margin:5px auto 0;border:0;background:#fff;color:#1195cb;font-size:16px;font-weight:800;cursor:pointer}
.filter-grid .filter-date-field{height:38px;grid-template-columns:minmax(0,1fr) 38px}
.filter-grid .filter-date-field input{height:36px!important;padding:7px 9px!important}
.filter-grid .filter-date-field .calendar-trigger{width:38px;height:36px}
.overview-filter .overview-date-field{height:42px;grid-template-columns:minmax(0,1fr) 42px}
.overview-filter .overview-date-field input{height:40px!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.overview-filter .overview-date-field .calendar-trigger{height:40px}
.audit-plan-cell{cursor:pointer}
.flow-cell{cursor:pointer;white-space:normal!important;line-height:1.25;font-weight:800}
.flow-cell.flow-good{background:#c9f2da;color:#176540}.flow-cell.flow-pending{background:#ffe4a8;color:#775000}.flow-cell.flow-bad{background:#ffc7c7;color:#c62828}
.v44-document-dialog.initial-flow-dialog{width:min(720px,calc(100vw - 30px))}
.initial-flow-dialog #record-fields{min-height:230px;padding:24px 20px}
.initial-flow-dialog .document-form-grid{column-gap:18px;row-gap:12px}
.initial-flow-dialog .document-field{grid-template-columns:96px minmax(0,1fr);gap:8px}
.qcost-record-dialog #record-fields>label>span{color:#173f5d}
.qcost-charts{grid-template-columns:minmax(0,2fr) minmax(250px,1fr);align-items:stretch}
.qcost-charts .chart-panel,.qcost-charts .donut-panel{height:auto;min-height:252px}
.qcost-charts .qcost-trend-svg{display:block;width:100%;height:auto!important;min-height:181px;aspect-ratio:900/265;padding:0 10px 8px!important}
.qcost-charts .qcost-donut-v44{position:relative;display:grid;grid-template-columns:minmax(150px,1.35fr) minmax(118px,1fr);grid-template-rows:repeat(3,1fr);align-items:center;gap:7px 12px;width:100%;height:100%;min-width:0;min-height:216px;padding:12px}
.qcost-charts .qcost-donut-ring{position:relative;left:auto;top:auto;grid-column:1;grid-row:1 / 4;width:min(100%,150px);height:auto;aspect-ratio:1;margin:auto;transform:none}
.qcost-charts .qcost-callout{position:relative;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:min(100%,150px);min-width:0;justify-self:end}
.qcost-charts .qcost-callout.prevention{grid-column:2;grid-row:1}.qcost-charts .qcost-callout.appraisal{grid-column:2;grid-row:2}.qcost-charts .qcost-callout.failure{grid-column:2;grid-row:3}
.qcost-charts .qcost-connector{display:none}
.ppm-legend{height:24px;display:flex;justify-content:flex-end;align-items:center;gap:16px;padding:0 16px;font-size:10px;color:#526f83}
.ppm-legend span{display:flex;align-items:center;gap:5px}.ppm-legend i{display:inline-block;width:22px;height:0;border-top:2px solid}
.ppm-legend .ppm-actual-line{border-color:#0b557e}.ppm-legend .ppm-target-line{border-color:#e45d63;border-top-style:dashed}
.ppm-actual{fill:none;stroke:#0b557e;stroke-width:3}.ppm-target{fill:none;stroke:#e45d63;stroke-width:2;stroke-dasharray:7 5}.ppm-point{fill:#0b557e}
.admin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;margin-bottom:10px;color:#31556d;font-weight:700}
.admin-toolbar>div{display:flex;gap:6px}.admin-table tbody tr{cursor:pointer}.admin-table tbody tr.selected{background:#d9eef9!important;outline:2px solid #188bc2;outline-offset:-2px}

/* hotfix6: 회의 보고용 종합검사 현황 */
.overview-filter{min-height:72px;margin-bottom:10px;padding:11px 28px;display:flex;align-items:end;gap:34px}
.overview-filter label{width:300px;margin:0;gap:6px;font-size:14px;color:#173f5d;display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center}
.overview-filter input{height:42px;border:1px solid #9bb6c9;border-radius:6px;padding:8px 12px;font-size:15px}
.overview-filter .v44-btn{width:88px;height:42px;font-size:14px}
.overview-kpis{margin-bottom:10px}
.overview-kpis .v44-kpi{min-height:92px;padding:14px 20px}
.overview-kpis .v44-kpi span{font-size:14px}.overview-kpis .v44-kpi b{font-size:30px}
.overview-main{display:grid;grid-template-columns:minmax(480px,1.15fr) minmax(480px,1fr);gap:10px;margin-bottom:10px}
.overview-chart-panel,.overview-type-panel{min-height:340px}
.overview-chart-panel h3{padding:13px 17px 3px;border-left:4px solid #1688c1;margin:10px 0 0 10px;font-size:16px}
.overview-chart-legend{height:28px;display:flex;align-items:center;justify-content:flex-end;gap:18px;padding:0 24px;font-size:11px;color:#4d6c81}
.overview-chart-legend span{display:flex;align-items:center;gap:5px}
.overview-chart-svg{display:block;width:100%;height:278px;padding:0 10px 10px;overflow:visible}
.overview-grid{stroke:#d8e2e9;stroke-width:1}.overview-axis-label{fill:#536f82;font-size:11px}.overview-axis-title{fill:#234d68;font-size:11px;font-weight:700}.defect-axis-label{fill:#d94f55}
.overview-bar{fill:#0b3b5d}.overview-bar-value{fill:#0b3b5d;font-size:13px;font-weight:900;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}.overview-category-label{fill:#173f5d;font-size:13px;font-weight:800}
.overview-defect-line{fill:none;stroke:#ff5b60;stroke-width:3}.overview-defect-point{fill:#ff5b60;stroke:#fff;stroke-width:1}.overview-defect-value{fill:#d94349;font-size:13px;font-weight:900;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
.v44-btn:disabled{opacity:.66;cursor:wait;transform:none!important}
.overview-empty{height:270px;display:grid;place-items:center;padding:0}
.overview-type-panel{display:flex;align-items:center;padding:18px 12px;background:#f8fbfd}
.overview-type-grid{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.overview-type-card{min-width:0;border:1px solid #c6d8e5;border-radius:9px;background:#fff;overflow:hidden;box-shadow:0 2px 5px rgba(12,55,83,.04)}
.overview-type-card h4{height:52px;margin:0;padding:0 12px;display:flex;align-items:center;gap:8px;background:#e5f3ff;color:#0874bc;font-size:16px;white-space:nowrap}
.overview-type-card h4 img{width:24px;height:24px}.overview-type-card.process h4{background:#e8f8e9;color:#17833b}.overview-type-card.outgoing h4{background:#fff1de;color:#d56d00}
.overview-type-card dl{margin:0;padding:7px 11px 10px}.overview-type-card dl div{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:5px;border-bottom:1px solid #e2e9ee}
.overview-type-card dl div:last-child{border-bottom:0}.overview-type-card dt{font-size:12px;color:#274d66}.overview-type-card dd{margin:0;color:#075bad;font-size:15px;font-weight:900;text-align:right;white-space:nowrap}
.overview-summary .v44-table{font-size:13px}.overview-summary .v44-table th{height:38px;font-size:13px}.overview-summary .v44-table td{height:38px;font-size:13px}
.overview-total-row{background:#ddecf8!important;color:#073f67;font-weight:900}.overview-total-row td{font-size:14px!important}

@media(max-width:850px){
  .v44-document-dialog{width:calc(100vw - 20px)}
  .document-form-grid{grid-template-columns:1fr;grid-auto-rows:auto}
  .document-field{grid-column:1!important;grid-row:auto!important}
  .document-attachment{grid-column:1!important;grid-row:auto!important}
}

@media(max-width:900px){
  .qcost-charts{grid-template-columns:1fr}
}

@media(max-width:1050px){
  .login-body{grid-template-columns:1fr}.login-visual{display:none!important}.login-panel{min-height:calc(100vh - 78px);padding:32px}
  .app-view{grid-template-columns:1fr}.sidebar{display:none}.main{grid-column:1}.content{min-width:0}.app-view.menu-collapsed.menu-hover-expanded .main{padding-left:0}
}
@media(max-height:820px) and (min-width:1051px){
  .login-panel{align-items:flex-start;padding-top:104px;padding-bottom:12px}
  .login-language-row{margin-bottom:18px}
  .login-subtitle{margin-bottom:16px}
  .login-card .btn.wide{height:42px;margin-top:5px}
  .login-note{margin-top:7px;margin-bottom:5px}
  .login-exit{margin:7px auto}
}

/* visibility review: larger text, stable chart ratios, and unobtrusive scrolling */
body{font-size:15px}
.login-original-image{flex:1;min-height:0;max-height:none;aspect-ratio:auto;background-size:100% 100%}
.global-user{font-size:14px}
.nav-caption{font-size:15px}
.nav-system-title{font-size:17px}
.nav-item{font-size:14px;line-height:1.35}
.nav-child{font-size:13px}
.sidebar-foot button{font-size:13px}
.work-tab{font-size:13px}
.top-actions select{font-size:14px}
.v44-title h1{font-size:28px}
.v44-panel h3{font-size:15px;line-height:1.4}
.v44-kpi span,.inspection-kpis .v44-kpi span{font-size:13px}
.chart-legend,.qcost-v44-legend,.ppm-legend{font-size:11px}
.chart-label{font-size:12px}
.filter-grid label{font-size:12px;line-height:1.35}
.filter-grid input,.filter-grid select{font-size:14px}
.v44-table{font-size:12px}
.v44-table th,.v44-table td{font-size:12px;line-height:1.35}
.summary-table .v44-table th,.summary-table .v44-table td{font-size:11px}
.table-footer{font-size:12px}
.status-badge,.attachment-download{font-size:11px}
.content{overflow-x:hidden}
.main{scrollbar-width:none}
.main::-webkit-scrollbar{width:0;height:0}

/* Every action area uses one button width; narrow screens wrap instead of clipping. */
.filter-buttons{flex-wrap:wrap;justify-content:flex-end}
.filter-buttons .v44-btn{width:92px!important;min-width:92px!important}

/* Inspection legends: percentage/value is one line below its label and right-aligned. */
.v44-legend{gap:9px;min-width:0}
.legend-row{grid-template-columns:10px minmax(0,1fr);gap:8px;align-items:start;font-size:12px;min-width:0}
.legend-row i{margin-top:4px}
.legend-copy{display:flex;flex-direction:column;align-items:stretch;min-width:0;line-height:1.25}
.legend-label{width:100%;min-width:0;text-align:left;white-space:normal;overflow-wrap:anywhere}
.legend-copy b{align-self:flex-end;margin-top:2px;font-size:12px;line-height:1.2}

/* Q-Cost donut: approximately twice the V44 ring size with fixed right callouts. */
.qcost-charts{grid-template-columns:minmax(0,1.15fr) minmax(500px,1fr);gap:10px}
.qcost-charts .chart-panel,.qcost-charts .donut-panel{min-height:344px}
.qcost-charts .qcost-donut-v44{grid-template-columns:minmax(276px,1.45fr) minmax(150px,1fr);min-height:306px;gap:10px 18px;padding:13px 16px}
.qcost-charts .qcost-donut-ring{width:min(100%,276px)}
.qcost-charts .qcost-donut-ring:after{inset:70px}
.qcost-charts .qcost-donut-ring>div{font-size:13px}
.qcost-charts .qcost-donut-ring b{font-size:22px}
.qcost-charts .qcost-callout{width:min(100%,162px);min-height:48px;font-size:12px;padding:6px 8px}
.qcost-filter{grid-template-columns:.7fr .8fr .8fr 1.8fr}
.qcost-filter .filter-buttons{grid-column:1/-1;justify-content:flex-end}

/* Overview content may shrink but never forces a page-level horizontal overflow. */
.inspection-charts,.quality-charts{grid-template-columns:minmax(0,1.7fr) minmax(330px,.9fr)}
.overview-main{grid-template-columns:minmax(0,1.15fr) minmax(420px,1fr)}
.overview-axis-label,.overview-axis-title{font-size:12px}
.overview-bar-value,.overview-category-label,.overview-defect-value{font-size:14px}
.overview-type-card dt{font-size:13px}
.overview-type-card dd{font-size:16px}

@media(max-width:1320px){
  .qcost-charts{grid-template-columns:1fr}
  .qcost-charts .qcost-donut-v44{grid-template-columns:minmax(260px,1.25fr) minmax(150px,1fr)}
  .overview-main{grid-template-columns:1fr}
  .overview-type-panel{min-height:auto}
}
@media(max-width:900px){
  .v44-title h1{font-size:24px}
  .qcost-charts .qcost-donut-v44{grid-template-columns:minmax(220px,1fr) minmax(140px,.8fr)}
  .qcost-charts .qcost-donut-ring{width:min(100%,240px)}
  .qcost-charts .qcost-donut-ring:after{inset:61px}
}

/* hotfix review 2: corrected image proportions, chart geometry and action placement */
.login-visual{padding-bottom:0!important}
.login-slogan{height:164px;min-height:164px}
.login-original-image{
  flex:1;
  height:auto;
  min-height:0;
  max-height:none;
  aspect-ratio:auto;
  background-size:100% 100%;
  background-position:center;
  image-rendering:auto;
  margin-bottom:0;
}
.login-visual::after{content:"";display:block;flex:0 0 28px;height:28px;background:#fff}

/* Keep wheel/touch scrolling, but remove visible drag bars from the application shell. */
.main,.sidebar nav,.work-tabs,.table-scroll,.login-panel{scrollbar-width:none}
.main::-webkit-scrollbar,.sidebar nav::-webkit-scrollbar,.work-tabs::-webkit-scrollbar,.table-scroll::-webkit-scrollbar,.login-panel::-webkit-scrollbar{width:0;height:0}

/* Q-Cost ring: 80% of the previous review size and centred on both axes. */
.qcost-charts .qcost-donut-v44{
  position:relative;
  display:block;
  width:100%;
  min-width:0;
  min-height:306px;
  padding:12px 14px;
}
.qcost-charts .qcost-donut-ring{
  position:absolute;
  left:50%;
  top:50%;
  width:220px;
  height:220px;
  margin:0;
  transform:translate(-50%,-50%);
}
.qcost-charts .qcost-donut-ring:after{inset:56px}
.qcost-charts .qcost-callout{position:absolute!important;width:138px;min-height:46px;font-size:12px;padding:6px 8px}
.qcost-charts .qcost-callout.failure{left:10px!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)}
.qcost-charts .qcost-callout.prevention{left:auto!important;right:10px!important;top:20%!important;bottom:auto!important}
.qcost-charts .qcost-callout.appraisal{left:auto!important;right:10px!important;top:auto!important;bottom:18%!important}
.qcost-charts .qcost-connector{display:block;position:absolute;width:42px;height:1px;z-index:1;transform-origin:center}
.qcost-charts .qcost-connector.left{left:calc(50% - 152px);top:51%;background:#0b3658;transform:rotate(0deg)}
.qcost-charts .qcost-connector.right-top{right:calc(50% - 152px);top:36%;background:#e6ad24;transform:rotate(-17deg)}
.qcost-charts .qcost-connector.right-bottom{right:calc(50% - 152px);bottom:34%;background:#49a7c4;transform:rotate(17deg)}

/* Inspection donut: fixed columns keep labels and percentages on one unbroken row. */
.inspection-charts,.quality-charts{grid-template-columns:minmax(0,1.55fr) minmax(420px,.9fr)}
.inspection-charts .chart-panel,.inspection-charts .donut-panel{height:272px}
.inspection-charts .chart-panel .chart-svg{height:225px}
.inspection-charts>.ppm-chart-panel{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto auto minmax(0,1fr);
}
.inspection-charts>.ppm-chart-panel>.chart-svg{display:block;height:100%;min-height:0}
.donut-panel .v44-donut-layout{height:236px;grid-template-columns:156px minmax(220px,1fr);gap:12px;padding:5px 12px 13px}
.donut-panel .v44-legend{gap:12px;min-width:0}
.donut-panel .legend-row{display:grid;grid-template-columns:10px minmax(0,1fr);gap:8px;align-items:center;font-size:12px;min-width:0}
.donut-panel .legend-row i{margin:0;width:10px;height:10px}
.donut-panel .legend-copy{display:grid;grid-template-columns:minmax(0,1fr) 46px;align-items:center;gap:8px;min-width:0;line-height:1.25}
.donut-panel .legend-label{white-space:nowrap;overflow:visible;overflow-wrap:normal;text-align:left}
.donut-panel .legend-copy b{align-self:center;margin:0;text-align:right;font-size:12px;line-height:1.25}

/* Inspection actions stay in one horizontal row at every desktop scale. */
.inspection-filter .filter-buttons,.quality-filter .filter-buttons{flex-wrap:nowrap;justify-content:flex-end}
.inspection-filter .filter-buttons .v44-btn,.quality-filter .filter-buttons .v44-btn{width:92px!important;min-width:92px!important}

/* Edit-dialog destructive action replaces dashboard delete actions. */
#record-dialog .modal-actions .btn{width:88px;min-width:88px;height:43px;justify-content:center}
#record-dialog .record-delete-button{background:#c93632;border-color:#c93632;color:#fff}

/* Preserve the full-screen composition down to a reduced desktop window. */
@media(min-width:1051px){
  .qcost-charts{grid-template-columns:minmax(0,1.2fr) minmax(460px,.8fr)}
  .inspection-charts,.quality-charts{grid-template-columns:minmax(0,1.55fr) minmax(420px,.9fr)}
}
@media(max-width:1180px) and (min-width:1051px){
  .qcost-charts{grid-template-columns:minmax(0,1.12fr) minmax(420px,.88fr)}
  .qcost-charts .qcost-donut-ring{width:196px;height:196px}
  .qcost-charts .qcost-donut-ring:after{inset:50px}
  .qcost-charts .qcost-callout{width:120px;font-size:11px}
  .qcost-charts .qcost-connector.left{left:calc(50% - 137px)}
  .qcost-charts .qcost-connector.right-top,.qcost-charts .qcost-connector.right-bottom{right:calc(50% - 137px)}
}
@media(max-height:950px) and (min-width:1051px){
  .login-language-row{margin-bottom:14px}
  .login-subtitle{margin-bottom:14px}
  .login-card label{margin-top:6px}
  .login-card input{height:42px}
  .login-card .btn.wide{height:38px;margin-top:4px}
  .guest-note{margin:4px 0 1px}
  .login-note{margin:7px 0 5px;line-height:1.4}
  .login-exit{margin:7px auto}
  .login-copyright{padding-top:10px}
}

/* hotfix11: final correction review (2026-11-06) */

/*
 * Login artwork
 * - The artwork begins on the same horizontal line as the language selector.
 * - The original 1953x745 PNG is reused without recompression.
 * - Its upper (0..419) and lower (420..744) source bands are rendered as two
 *   equal-height rows so the second row is no longer visually compressed.
 */
.login-slogan{height:125px;min-height:125px}
.login-panel{align-items:flex-start;padding:125px 42px 28px}
.login-card{height:100%;display:flex;flex-direction:column;justify-content:space-between}
.login-original-image{
  position:relative;
  display:grid;
  grid-template-rows:minmax(0,1fr) minmax(0,1fr);
  overflow:hidden;
  background:none!important;
}
.login-original-image::before,.login-original-image::after{
  content:"";
  display:block;
  min-width:0;
  min-height:0;
  background-image:url('/assets/images/login_hero_reference.png');
  background-repeat:no-repeat;
  background-color:#fff;
  image-rendering:auto;
}
.login-original-image::before{
  background-size:100% 177.38%;
  background-position:center top;
}
.login-original-image::after{
  background-size:100% 229.23%;
  background-position:center bottom;
}

/*
 * Q-Cost composition chart
 * Grid placement replaces viewport-dependent absolute coordinates.  The
 * connector cells meet the ring and the callout boxes, so no line is broken
 * and no label can overlap the ring at full or reduced desktop widths.
 */
.qcost-charts .chart-panel,.qcost-charts .donut-panel{min-height:300px}
.qcost-charts .qcost-donut-v44{
  position:relative;
  display:grid;
  grid-template-columns:minmax(110px,1fr) 32px minmax(150px,176px) 32px minmax(110px,1fr);
  grid-template-rows:repeat(3,minmax(0,1fr));
  align-items:center;
  width:100%;
  min-width:0;
  min-height:262px;
  padding:10px 12px;
  column-gap:0;
  row-gap:0;
}
.qcost-charts .qcost-donut-ring{
  position:relative;
  left:auto;
  top:auto;
  grid-column:3;
  grid-row:1 / 4;
  align-self:center;
  justify-self:center;
  width:min(100%,176px);
  height:auto;
  aspect-ratio:1;
  margin:0;
  transform:none;
  z-index:2;
}
.qcost-charts .qcost-donut-ring:after{inset:25%}
.qcost-charts .qcost-callout{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  transform:none!important;
  width:min(100%,142px);
  min-width:0;
  min-height:46px;
  margin:0;
  padding:6px 8px;
  font-size:12px;
  z-index:3;
}
.qcost-charts .qcost-callout.failure{grid-column:1;grid-row:2;justify-self:end}
.qcost-charts .qcost-callout.prevention{grid-column:5;grid-row:1;justify-self:start}
.qcost-charts .qcost-callout.appraisal{grid-column:5;grid-row:3;justify-self:start}
.qcost-charts .qcost-connector{
  position:relative;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  display:block;
  align-self:center;
  width:100%;
  height:2px;
  margin:0;
  transform:none!important;
  transform-origin:center;
  z-index:1;
}
.qcost-charts .qcost-connector.left{grid-column:2;grid-row:2;background:#0b3658}
.qcost-charts .qcost-connector.right-top{grid-column:4;grid-row:1;background:#e6ad24}
.qcost-charts .qcost-connector.right-bottom{grid-column:4;grid-row:3;background:#49a7c4}

/* Inspection/quality donuts: no dark outline; label and value share one line. */
.donut-panel .v44-donut{border:0!important;outline:0!important;box-shadow:none!important}
.donut-panel .v44-donut-layout{grid-template-columns:156px minmax(240px,1fr)}
.donut-panel .legend-copy{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:0;
  min-width:0;
  white-space:nowrap;
  line-height:1.25;
}
.donut-panel .legend-label{width:auto;white-space:nowrap;overflow:visible;overflow-wrap:normal}
.donut-panel .legend-copy b{
  align-self:center;
  flex:none;
  margin:0 0 0 .35em;
  text-align:left;
  white-space:nowrap;
  font-size:12px;
  line-height:1.25;
}

/* Modal action captions stay optically centred at every browser zoom level. */
#record-dialog .modal-actions .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:88px;
  min-width:88px;
  height:43px;
  padding:0;
  line-height:1;
  text-align:center;
}

/* Keep both Q-Cost and inspection comparison cards side-by-side on desktop. */
@media(min-width:1051px){
  .qcost-charts{grid-template-columns:minmax(0,1.2fr) minmax(460px,.8fr)}
  .inspection-charts,.quality-charts{grid-template-columns:minmax(0,1.55fr) minmax(420px,.9fr)}
}
@media(max-width:1180px) and (min-width:1051px){
  .qcost-charts{grid-template-columns:minmax(0,1.12fr) minmax(440px,.88fr)}
  .qcost-charts .qcost-donut-v44{
    grid-template-columns:minmax(104px,1fr) 26px minmax(144px,164px) 26px minmax(104px,1fr);
  }
  .qcost-charts .qcost-callout{width:min(100%,132px);font-size:11px}
}
@media(max-height:820px) and (min-width:1051px){
  .login-slogan{height:104px;min-height:104px}
  .login-panel{padding-top:104px;padding-bottom:12px}
}

/* hotfix12: corrected chart legends and document deletion placement. */

/*
 * Q-Cost composition labels own three fixed grid areas.  Connector bars were
 * intentionally removed so they cannot cross the ring or appear detached at
 * reduced desktop widths.
 */
.qcost-charts .qcost-donut-v44{
  grid-template-columns:minmax(110px,1fr) minmax(150px,176px) minmax(110px,1fr);
  grid-template-rows:repeat(3,minmax(0,1fr));
  column-gap:12px;
}
.qcost-charts .qcost-donut-ring{grid-column:2;grid-row:1 / 4}
.qcost-charts .qcost-callout.failure{grid-column:1;grid-row:1;justify-self:end}
.qcost-charts .qcost-callout.prevention{grid-column:3;grid-row:1;justify-self:start}
.qcost-charts .qcost-callout.appraisal{grid-column:3;grid-row:3;justify-self:start}
.qcost-charts .qcost-connector{display:none!important}

/* Centre the donut-and-legend group without changing legend wrapping/spacing. */
.inspection-charts .donut-panel .v44-donut-layout{
  grid-template-columns:156px max-content;
  justify-content:center;
  width:fit-content;
  max-width:100%;
  margin:0 auto;
}
.inspection-charts .donut-panel .v44-legend{width:max-content;max-width:240px}

@media(max-width:1180px) and (min-width:1051px){
  .qcost-charts .qcost-donut-v44{
    grid-template-columns:minmax(100px,1fr) minmax(144px,164px) minmax(100px,1fr);
    column-gap:10px;
  }
}

/* hotfix13: vertically centre every login control caption without resizing it. */
.login-language-row select{
  padding-top:0;
  padding-bottom:0;
  line-height:40px;
}
.login-card input{
  padding-top:0;
  padding-bottom:0;
  line-height:47px;
}
.login-card .btn.wide{
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top:0;
  padding-bottom:0;
  line-height:1;
}
@media(max-height:950px) and (min-width:1051px){
  .login-card input{line-height:40px}
}

/* hotfix14: historical claims, scalable dashboard, resizable detail columns and themes. */

/* Visibility review: one modest step larger, with fixed line boxes to prevent clipping. */
body{font-size:16px}
.global-user{font-size:15px}
.nav-caption{font-size:16px}
.nav-system-title{font-size:18px}
.nav-item{font-size:15px;line-height:1.35}
.nav-child{font-size:14px}
.sidebar-foot button{font-size:14px}
.work-tab{font-size:14px;line-height:1.2}
.v44-panel h3{font-size:16px}
.v44-kpi span,.inspection-kpis .v44-kpi span{font-size:14px;line-height:1.3}
.filter-grid label{font-size:13px;line-height:1.35}
.v44-table,.v44-table th,.v44-table td{font-size:13px;line-height:1.35}
.summary-table .v44-table th,.summary-table .v44-table td{font-size:11px}
.table-footer{font-size:13px}

/* Dense dashboard summaries wrap only their headers.  Five rows remain
   visible, while body values use ellipsis instead of colliding with the next
   column. */
.dashboard-tables .summary-table .v44-table th{
  height:34px;
  padding:4px 2px;
  font-size:10px;
  line-height:1.15;
  white-space:normal;
  overflow:hidden;
  overflow-wrap:anywhere;
}
.dashboard-tables .summary-table .v44-table th.dashboard-part-number{padding-inline:0}
.dashboard-part-number-label{display:block;container-type:inline-size}
.dashboard-part-number-label>span{display:block;white-space:nowrap}
.dashboard-part-number-label>span:first-child{font-size:min(1em,20cqi)}
.dashboard-part-number-label>span:last-child{font-size:min(1em,45cqi)}
.dashboard-part-number-label:lang(en)>span:last-child{font-size:min(1em,23cqi)}
.dashboard-tables .summary-table .v44-table td{
  height:23px;
  padding:3px 2px;
  font-size:10px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.dashboard-six .mini-chart{
  display:grid;
  grid-template-rows:auto 22px minmax(0,1fr);
}
.dashboard-six .mini-chart .chart-svg{
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  overflow:hidden;
}

/* Theme controls share the selector height and never alter the surrounding layout. */
.login-language-row{gap:8px}
.theme-toggle{flex:0 0 42px;width:42px;height:42px;padding:0;border:1px solid #86a8c0;border-radius:5px;background:#fff;color:#0b4d78;display:inline-grid;place-items:center;font-size:20px;line-height:1;cursor:pointer}
.top-actions .theme-toggle{flex-basis:34px;width:34px;height:34px;font-size:17px;border-color:#c9d8e2;background:#edf3f7}
.theme-toggle:hover,.theme-toggle:focus-visible{border-color:#188bc2;box-shadow:0 0 0 3px rgba(24,139,194,.14);outline:0}

/* V44 tab overflow controls: tab captions remain intact and move horizontally. */
.tab-scroll-button{display:grid;place-items:center;flex:0 0 30px;width:30px;height:35px;padding:0;border:1px solid #c9d8e2;border-bottom:0;background:#e5eef4;color:#164868;font-size:24px;line-height:1;cursor:pointer}
.tab-scroll-button[hidden]{display:none}
.tab-scroll-button:disabled{opacity:.38;cursor:default}
.work-tab-label{display:block;white-space:nowrap;overflow:visible;text-overflow:clip}
@media(max-width:480px){
  .topbar{padding-right:.5mm}
  .topbar>.top-actions{gap:4px}
  .top-actions select{min-width:0;max-width:none;padding:5px 18px 5px 4px;font-size:12px}
  .tab-scroll-button{flex-basis:24px;width:24px}
}
@media(max-width:360px){
  .main{--topbar-height:88px}
  .topbar{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr 35px}
  .topbar>.top-actions{grid-row:1;justify-self:end}
  .topbar>.workspace-tabs{grid-row:2}
}

/* Every detailed status table exposes a precise drag target between columns. */
.main-table .v44-table.is-resizable{table-layout:fixed}
.main-table .v44-table.is-resizable td{max-width:none}
.resizable-column{position:sticky;padding-right:15px!important}
.column-resizer{position:absolute;right:-4px;top:0;z-index:5;width:9px;height:100%;padding:0;border:0;background:transparent;cursor:col-resize;touch-action:none}
.column-resizer::after{content:"";position:absolute;left:4px;top:22%;bottom:22%;width:1px;background:#8caabd;opacity:.85}
.column-resizer:hover::after,.column-resizer.active::after,.column-resizer:focus-visible::after{width:2px;background:#1688c1;opacity:1}
.column-resizer:focus-visible{outline:2px solid #1688c1;outline-offset:-2px}

/* A reduced desktop keeps the same 5/3/3 dashboard composition and scales it. */
@media(min-width:901px) and (max-width:1100px){
  .app-view,.app-view.menu-collapsed{grid-template:64px minmax(0,1fr)/72px minmax(0,1fr)}
  .sidebar,.app-view.menu-collapsed .sidebar{display:flex;grid-row:2;grid-column:1;width:72px!important;height:calc(100vh - 64px)}
  .main,.app-view.menu-collapsed .main{display:flex;grid-row:2;grid-column:2;height:100%;padding-left:0!important}
  .sidebar nav{padding-left:7px;padding-right:7px}
  .nav-caption,.nav-item{font-size:0!important}
  .nav-item{justify-content:center;padding-left:8px;padding-right:8px;gap:0}
  .nav-parent span,.nav-children{display:none!important}
  .sidebar-foot button{font-size:0!important;text-align:center;padding:0}
  #pin-menu::before{content:'⚑';font-size:16px}
  #logout-button::before{content:'⇥';font-size:16px}
  .topbar{padding-right:10px}
  .top-actions{gap:5px}.top-actions select{min-width:105px;max-width:118px;font-size:12px}
  .content{padding:8px 10px 12px}
  .v44-title{margin:0 5px 7px}.v44-title h1{font-size:22px}
  .dashboard-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin-bottom:5px}
  .dashboard-kpis .v44-kpi{min-height:68px;padding:6px 7px;gap:6px}
  .dashboard-kpis .v44-kpi img{width:25px;height:25px;padding:5px}
  .dashboard-kpis .v44-kpi span{font-size:10px}.dashboard-kpis .v44-kpi b{font-size:16px;margin-top:2px}.dashboard-kpis .v44-kpi small{font-size:9px;margin-top:2px}
  .dashboard-six,.dashboard-tables{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
  .dashboard-six .mini-chart{height:clamp(196px,24vh,218px)}.dashboard-six .mini-chart h3{font-size:12px;padding:7px 9px 0}
  .dashboard-six .mini-chart{grid-template-rows:auto 19px minmax(0,1fr)}
  .dashboard-six .mini-chart .chart-legend{height:19px;font-size:9px;padding:0 8px;gap:8px}
  .dashboard-six .mini-chart .chart-svg{height:100%;padding:0 5px 3px}
  .dashboard-tables{margin-top:5px}.dashboard-tables .summary-table{height:clamp(180px,22vh,200px)}.dashboard-tables .summary-table .table-scroll{height:calc(100% - 33px)}
  .dashboard-tables .summary-table h3{padding:6px;font-size:11px}
  .dashboard-tables .summary-table .v44-table th{height:32px;padding:3px 1px;font-size:8px;line-height:1.1}
  .dashboard-tables .summary-table .v44-table td{height:20px;padding:2px 1px;font-size:8px}
  .inspection-charts,.quality-charts{grid-template-columns:minmax(0,1.45fr) minmax(300px,.8fr)}
  .inspection-filter{grid-template-columns:1.1fr .9fr .9fr .7fr 1.05fr 1.05fr auto}
  .quality-filter{grid-template-columns:.55fr .8fr .8fr .8fr .9fr auto}
  .inspection-filter .filter-buttons,.quality-filter .filter-buttons{grid-column:auto}
  .inspection-filter .filter-buttons .v44-btn,.quality-filter .filter-buttons .v44-btn{width:72px!important;min-width:72px!important;font-size:12px}
}
@media(min-width:1101px) and (max-height:950px){
  .dashboard-six .mini-chart{height:clamp(196px,23vh,215px)}
  .dashboard-six .mini-chart .chart-svg{height:100%}
  .dashboard-tables .summary-table{height:clamp(188px,21vh,200px)}.dashboard-tables .summary-table .table-scroll{height:calc(100% - 37px)}
}

/* Dark mode keeps brand colours while replacing every reading surface. */
:root[data-theme="dark"]{
  color-scheme:dark;
  --bg:#0b1620;--text:#dce9f2;--muted:#91a9b9;--line:#314655;--white:#13232f;
  --strict-bg:#0b1620;--strict-line:#314655;--v44-pale:#0b1620;--v44-line:#314655;--v44-cell-line:#304654;--v44-head:#1d3545;--v44-text:#dce9f2;
}
:root[data-theme="dark"] body,:root[data-theme="dark"] .app-view,:root[data-theme="dark"] .main,:root[data-theme="dark"] .content{background:#0b1620;color:#dce9f2}
:root[data-theme="dark"] .topbar{background:#101f2b;border-color:#2b404f}
:root[data-theme="dark"] .work-tab{background:#182a37;border-color:#385061;color:#afc6d6}
:root[data-theme="dark"] .work-tab.current{background:#233846;color:#fff}
:root[data-theme="dark"] .tab-scroll-button{background:#182a37;border-color:#385061;color:#d6e9f5}
:root[data-theme="dark"] .tab-close{color:#9bb0bf}
:root[data-theme="dark"] .v44-title h1,:root[data-theme="dark"] .section-title,:root[data-theme="dark"] .v44-panel h3{color:#e1eef6}
:root[data-theme="dark"] .v44-panel,:root[data-theme="dark"] .v44-kpi,:root[data-theme="dark"] .summary-table,:root[data-theme="dark"] .overview-type-card{background:#13232f;border-color:#314655;color:#dce9f2}
:root[data-theme="dark"] .v44-kpi span,:root[data-theme="dark"] .table-footer,:root[data-theme="dark"] .chart-legend,:root[data-theme="dark"] .qcost-v44-legend,:root[data-theme="dark"] .ppm-legend{color:#9fb5c4}
:root[data-theme="dark"] input,:root[data-theme="dark"] select,:root[data-theme="dark"] textarea,:root[data-theme="dark"] .theme-toggle{background:#162733;border-color:#486374;color:#e6f1f7}
:root[data-theme="dark"] .top-actions select,:root[data-theme="dark"] .top-actions .theme-toggle{background:#182a37;border-color:#385061}
:root[data-theme="dark"] input:focus,:root[data-theme="dark"] select:focus,:root[data-theme="dark"] textarea:focus{border-color:#45a9d4;box-shadow:0 0 0 3px rgba(69,169,212,.18)}
:root[data-theme="dark"] .v44-table{background:#13232f;color:#dce9f2}
:root[data-theme="dark"] .v44-table th{background:#1d3545;color:#e6f1f7;border-color:#405767}
:root[data-theme="dark"] .v44-table tbody tr:nth-child(even){background:#10202b}
:root[data-theme="dark"] .v44-table tbody tr:hover{background:#1a3444}
:root[data-theme="dark"] .summary-table h3{background:#173748;color:#e6f1f7}
:root[data-theme="dark"] .modal,:root[data-theme="dark"] .modal form,:root[data-theme="dark"] .v44-document-dialog form{background:#13232f;color:#dce9f2}
:root[data-theme="dark"] .modal-head{border-color:#314655}:root[data-theme="dark"] .modal-head h3,:root[data-theme="dark"] .v44-document-dialog .modal-head h3{color:#e6f1f7}
:root[data-theme="dark"] .btn.ghost,:root[data-theme="dark"] .signup-modal .modal-head .icon-btn{background:#162733;border-color:#486374;color:#dce9f2}
:root[data-theme="dark"] .details-content dt{background:#1d3545}:root[data-theme="dark"] .details-content dd{background:#13232f}:root[data-theme="dark"] .details-content dl,:root[data-theme="dark"] .details-content dt,:root[data-theme="dark"] .details-content dd{border-color:#405767}
:root[data-theme="dark"] .v44-calendar-popover,:root[data-theme="dark"] .calendar-day,:root[data-theme="dark"] .calendar-choice,:root[data-theme="dark"] .calendar-title-button,:root[data-theme="dark"] .calendar-head>[data-calendar-nav],:root[data-theme="dark"] .calendar-cancel{background:#162733;color:#dce9f2;border-color:#405767}
:root[data-theme="dark"] .calendar-day.muted{color:#6f8797}:root[data-theme="dark"] .calendar-day.active,:root[data-theme="dark"] .calendar-choice.active{background:#188bc2;color:#fff}
:root[data-theme="dark"] .metric-tabs button,:root[data-theme="dark"] .qcost-callout,:root[data-theme="dark"] .record-attachment-drop{background:#162733;border-color:#405767;color:#dce9f2}
:root[data-theme="dark"] .v44-donut:after,:root[data-theme="dark"] .qcost-donut-ring:after{background:#13232f}
:root[data-theme="dark"] .v44-donut>div,:root[data-theme="dark"] .qcost-donut-ring>div{color:#9fb5c4}:root[data-theme="dark"] .v44-donut>div b,:root[data-theme="dark"] .qcost-donut-ring b{color:#e6f1f7}
:root[data-theme="dark"] .chart-grid,:root[data-theme="dark"] .overview-grid{stroke:#304654}:root[data-theme="dark"] .chart-label,:root[data-theme="dark"] .overview-axis-label{fill:#9fb5c4}
:root[data-theme="dark"] .overview-axis-title,:root[data-theme="dark"] .overview-category-label,:root[data-theme="dark"] .overview-bar-value{fill:#dce9f2}:root[data-theme="dark"] .overview-bar-value{stroke:#13232f}
:root[data-theme="dark"] .overview-type-panel{background:#0f1e29}:root[data-theme="dark"] .overview-type-card dl div{border-color:#314655}:root[data-theme="dark"] .overview-type-card dt{color:#a9bfcd}
:root[data-theme="dark"] .login-view,:root[data-theme="dark"] .login-visual,:root[data-theme="dark"] .login-panel,:root[data-theme="dark"] .login-visual::after{background:#0b1620!important}
:root[data-theme="dark"] .login-card,:root[data-theme="dark"] .login-product-brand,:root[data-theme="dark"] .login-product-brand span,:root[data-theme="dark"] .login-caption{color:#e6f1f7}
:root[data-theme="dark"] .login-subtitle,:root[data-theme="dark"] .login-slogan,:root[data-theme="dark"] .login-note,:root[data-theme="dark"] .guest-note,:root[data-theme="dark"] .login-exit,:root[data-theme="dark"] .login-copyright{color:#a9bfcd}
:root[data-theme="dark"] .login-copyright{border-color:#314655}

/* hotfix15: proportional login, stable dashboard scaling, visible page scroll,
   invisible table resize hit areas and session-safe UI geometry. */

/* The 410px desktop track still reserves the complete 360px form width. */
@media(min-width:1051px){
  .login-panel{padding-left:25px;padding-right:25px}
}

/* The application shell stays within the viewport. */
.main{
  overflow-x:hidden;
  overflow-y:hidden;
  scrollbar-width:none;
  scrollbar-gutter:auto;
}
.main::-webkit-scrollbar{width:0;height:0}

/* Keep every resize target usable while hiding the visual guide requested in
   the inspection tables.  Header captions remain inside their own column. */
.main-table .v44-table.is-resizable .resizable-column{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.main-table .v44-table.is-resizable .column-resizer{right:0;width:12px}
.main-table .v44-table.is-resizable .column-resizer::after,
.main-table .v44-table.is-resizable .column-resizer:hover::after,
.main-table .v44-table.is-resizable .column-resizer.active::after,
.main-table .v44-table.is-resizable .column-resizer:focus-visible::after{display:none}

/* Browser 100% presents the dashboard at the approved former 110% reading
   size.  Only dashboard tokens change; module forms and detail tables do not. */
@media(min-width:1101px){
  .dashboard-page .v44-title h1{font-size:29px}
  .dashboard-page .dashboard-kpis{gap:8px;margin-bottom:13px}
  .dashboard-page .dashboard-kpis .v44-kpi{min-height:92px;padding:14px 17px;gap:13px}
  .dashboard-page .dashboard-kpis .v44-kpi img{width:37px;height:37px;padding:8px}
  .dashboard-page .dashboard-kpis .v44-kpi span{font-size:15px}
  .dashboard-page .dashboard-kpis .v44-kpi b{font-size:23px}
  .dashboard-page .dashboard-kpis .v44-kpi small{font-size:11px}
  .dashboard-page .dashboard-six{gap:8px}
  .dashboard-page .dashboard-six .mini-chart h3{font-size:18px}
  .dashboard-page .dashboard-six .mini-chart .chart-legend{height:24px;font-size:10px}
  .dashboard-page .dashboard-six .mini-chart .chart-label{font-size:13px}
  .dashboard-page .dashboard-tables{gap:8px;margin-top:11px}
  .dashboard-page .dashboard-tables .summary-table h3{font-size:18px;padding:9px}
  .dashboard-page .dashboard-tables .summary-table .v44-table th{height:37px;font-size:11px}
  .dashboard-page .dashboard-tables .summary-table .v44-table td{height:25px;font-size:11px}
}
@media(min-width:1101px) and (min-height:951px){
  .dashboard-page .dashboard-six .mini-chart{height:226px}
  .dashboard-page .dashboard-tables .summary-table{height:216px}
  .dashboard-page .dashboard-tables .summary-table .table-scroll{height:173px}
}
@media(min-width:1101px) and (max-height:950px){
  .dashboard-page .dashboard-six .mini-chart{height:216px}
  .dashboard-page .dashboard-tables .summary-table{height:207px}
  .dashboard-page .dashboard-tables .summary-table .table-scroll{height:calc(100% - 41px)}
}

/* The compact desktop retains 5/3/3 columns and grows only bounded tokens. */
@media(min-width:901px) and (max-width:1100px){
  .sidebar,.app-view.menu-collapsed .sidebar{transform:none!important}
  .dashboard-page .v44-title h1{font-size:24px}
  .dashboard-page .dashboard-kpis .v44-kpi{min-height:75px;padding:7px 8px;gap:7px}
  .dashboard-page .dashboard-kpis .v44-kpi img{width:28px;height:28px;padding:6px}
  .dashboard-page .dashboard-kpis .v44-kpi span{font-size:11px}
  .dashboard-page .dashboard-kpis .v44-kpi b{font-size:18px}
  .dashboard-page .dashboard-kpis .v44-kpi small{font-size:10px}
  .dashboard-page .dashboard-six .mini-chart h3{font-size:13px}
  .dashboard-page .dashboard-six .mini-chart .chart-legend{font-size:10px}
  .dashboard-page .dashboard-tables .summary-table h3{font-size:12px}
  .dashboard-page .dashboard-tables .summary-table .v44-table th{height:35px;font-size:9px}
  .dashboard-page .dashboard-tables .summary-table .v44-table td{height:22px;font-size:9px}
}

/* hotfix16: inspection pages keep the application shell fixed.  When the
   viewport is short, only the detail table receives a vertical scrollbar. */
.main.inspection-module-active{
  overflow-y:hidden;
  scrollbar-width:none;
  scrollbar-gutter:auto;
}
.main.inspection-module-active::-webkit-scrollbar{width:0;height:0}
.content.inspection-module-content{
  height:auto;
  min-height:0;
  overflow:hidden;
}
.inspection-page{
  height:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.inspection-page>.v44-title,
.inspection-page>.inspection-kpis,
.inspection-page>.metric-tabs,
.inspection-page>.section-title{flex:0 0 auto}
.inspection-page>.inspection-charts{flex:0 1 auto;min-height:0;overflow:auto;scrollbar-width:thin}
.inspection-page>.inspection-detail-panel{
  flex:1 0 200px;
  min-height:200px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.inspection-detail-panel>.filter-grid,
.inspection-detail-panel>.table-footer{flex:0 0 auto}
.inspection-detail-panel>.filter-grid{flex-shrink:1;min-height:0;max-height:30vh;overflow:auto;scrollbar-width:none}
.inspection-detail-panel>.filter-grid::-webkit-scrollbar{width:0;height:0}
.inspection-detail-panel>.main-table{
  --inspection-scroll-thumb:#7198ae;
  --inspection-scroll-thumb-active:#527f98;
  --inspection-scroll-color:transparent;
  flex:1 1 0;
  margin-inline:12px;
  min-height:64px;
  max-height:none;
  overflow-x:auto;
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:var(--inspection-scroll-color) transparent;
  scrollbar-gutter:auto;
  border-bottom:1px solid var(--v44-cell-line);
}
.inspection-detail-panel>.main-table:is(:hover,:focus-visible,.is-scrolling){
  --inspection-scroll-color:var(--inspection-scroll-thumb);
}
.inspection-detail-panel>.main-table:active{--inspection-scroll-color:var(--inspection-scroll-thumb-active)}
.inspection-detail-panel>.main-table::-webkit-scrollbar{width:10px;height:10px}
.inspection-detail-panel>.main-table::-webkit-scrollbar-track,
.inspection-detail-panel>.main-table::-webkit-scrollbar-corner{background:transparent}
.inspection-detail-panel>.main-table::-webkit-scrollbar-thumb{
  background:var(--inspection-scroll-color);
  border:2px solid transparent;
  border-radius:999px;
  background-clip:padding-box;
}
:root[data-theme="dark"] .inspection-detail-panel>.main-table{
  --inspection-scroll-thumb:#83a6ba;
  --inspection-scroll-thumb-active:#a0c0d2;
}

/* Keep the detail table readable on short desktop inspection screens. */
@media(min-width:901px) and (max-height:820px){
  .inspection-page>.v44-title{margin-bottom:8px}
  .inspection-page>.inspection-kpis .v44-kpi{min-height:64px;padding-block:6px}
  .inspection-page>.inspection-kpis .v44-kpi b{font-size:22px}
  .inspection-page>.metric-tabs button{height:34px}
  .inspection-page>.section-title{margin-block:4px}
  .inspection-detail-panel>.filter-grid,.inspection-detail-panel>.table-footer{padding-block:6px}
  .inspection-page>.inspection-charts>.v44-panel{height:clamp(166px,calc(100vh - 560px),260px)}
  .inspection-page .inspection-charts h3{padding-block:6px 3px}
  .inspection-page .inspection-charts>.chart-panel{display:grid;grid-template-rows:auto auto minmax(0,1fr)}
  .inspection-page .inspection-charts .chart-legend{margin-top:0}
  .inspection-page .inspection-charts .chart-svg{height:100%;min-height:0}
  .inspection-page .inspection-charts>.donut-panel{display:grid;grid-template-rows:auto minmax(0,1fr)}
  .inspection-page .inspection-charts .v44-donut-layout{
    height:100%;
    min-height:0;
    grid-template-columns:110px max-content;
    padding-block:4px;
  }
  .inspection-page .inspection-charts .v44-donut{width:110px;height:110px}
  .inspection-page .inspection-charts .v44-donut::after{inset:28px}
  .inspection-page .inspection-charts .v44-legend{gap:3px}
  .inspection-page .inspection-charts .chart-empty{height:100%;padding:0}
}

/* Only the reduced-height desktop login is normalised.  Tall/full-screen
   geometry and the original artwork remain unchanged. */
@media(max-height:950px) and (min-width:1051px){
  .login-card input,
  .login-card .btn.wide{
    width:100%;
    height:38px;
    min-height:38px;
  }
  .login-card input{line-height:36px}
  .login-card .btn.wide{flex:0 0 38px}
}

/* Inspection upload reconciliation stays inside its dialog. */
#import-dialog{max-height:92dvh;overflow:auto}
#import-dialog.reconcile-active .drop-zone{min-height:0;padding:10px;flex-direction:row;flex-wrap:wrap;gap:8px}
#import-dialog.reconcile-active .drop-zone .upload-icon,
#import-dialog.reconcile-active .drop-zone small{display:none}
#import-dialog.reconcile-active .drop-zone b{font-size:13px}
.import-reconcile-options{margin-top:14px;padding:10px 12px;border:1px solid var(--v44-cell-line);border-radius:6px}
.import-reconcile-toggle{display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:700;font-size:13px}
.import-reconcile-toggle input{width:16px;height:16px;flex:none;margin:0}
.import-reconcile-options p,#import-preview p{font-size:12px;line-height:1.55}
.import-reconcile-dates{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.import-reconcile-dates label{min-width:0;font-size:13px}
.import-reconcile-dates input{min-width:0;width:100%;max-width:100%;height:38px;padding:6px 8px}
#import-preview dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;margin:12px 0}
#import-preview dt,#import-preview dd{margin:0;font-size:13px}
#import-preview dd{text-align:right;font-weight:700}
.import-preview-table{max-height:180px;overflow:auto;border:1px solid var(--v44-cell-line)}
.import-preview-table .v44-table{min-width:0;width:100%;table-layout:fixed}
.import-preview-table .v44-table th:first-child{width:110px}
.import-reconcile-done{font-weight:700}
/* Dashboard cards share the actual height available below the toolbar. */
.content.dashboard-module-content{overflow:hidden}
.dashboard-page{height:100%;min-height:0;display:flex;flex-direction:column;gap:8px}
.dashboard-page>.v44-title{flex:none;margin:0 8px}
.dashboard-page>.dashboard-kpis{flex:none;margin:0}
.dashboard-page>.dashboard-six{
  flex:1 1 0;
  min-height:0;
  grid-template-rows:repeat(2,minmax(0,1fr));
}
.dashboard-page>.dashboard-six>.mini-chart{height:auto;min-height:0}
.dashboard-page>.dashboard-tables{flex:0 1 clamp(144px,23vh,216px);min-height:0;margin:0}
.dashboard-page>.dashboard-tables>.summary-table{height:100%;min-height:0;display:flex;flex-direction:column}
.dashboard-page>.dashboard-tables>.summary-table>h3{flex:none}
.dashboard-page>.dashboard-tables>.summary-table>.table-scroll{height:auto;flex:1 1 0;min-height:0}
@media(max-height:820px){
  .dashboard-page{gap:6px}
  .dashboard-page>.v44-title h1{font-size:22px}
  .dashboard-page>.dashboard-kpis>.v44-kpi{min-height:64px;padding:6px 8px;gap:7px}
  .dashboard-page>.dashboard-kpis>.v44-kpi span{font-size:12px}
  .dashboard-page>.dashboard-kpis>.v44-kpi b{font-size:20px}
  .dashboard-page>.dashboard-kpis>.v44-kpi small{font-size:10px}
  .dashboard-page>.dashboard-six>.mini-chart>h3{font-size:14px;padding:6px 9px 0}
  .dashboard-page>.dashboard-six>.mini-chart>.chart-legend{height:20px;font-size:9px}
  .dashboard-page>.dashboard-six>.mini-chart{grid-template-rows:auto 20px minmax(0,1fr)}
  .dashboard-page>.dashboard-tables>.summary-table>h3{font-size:14px;padding:6px}
}
@media(max-height:620px){
  .dashboard-page>.dashboard-six{grid-template-rows:repeat(2,minmax(126px,1fr));overflow:auto;scrollbar-width:thin}
}
@media(max-width:900px){
  .dashboard-page>.dashboard-kpis{display:flex;overflow:auto;scrollbar-width:thin}
  .dashboard-page>.dashboard-kpis>.v44-kpi{flex:1 0 148px}
  .dashboard-page>.dashboard-six{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(140px,1fr));overflow:auto;scrollbar-width:thin}
  .dashboard-page>.dashboard-tables{display:flex;overflow:auto;scrollbar-width:thin}
  .dashboard-page>.dashboard-tables>.summary-table{flex:1 0 300px}
}
