
/* Shared record screens: presentation only; preserve the existing controls and records. */
#reports.staffReportView>.leadTypeBreakdown,#reports.staffReportView>.reportCreditNote{display:none}
#app .recordsUi{color:#e8f0f8}
#app .recordsUi .panel,#app .recordsUi>.recordFilters,#app .showroomsUi .showroom,#app .showroomsUi .roomScopeHeader{background:linear-gradient(120deg,#13212c,#0b151e);border:1px solid #263c4b;border-radius:18px;box-shadow:0 8px 24px #0002;color:#e8f0f8}
#app .recordsUi .recordTablePanel{padding:0;overflow:hidden;margin-top:18px}
#app .recordsUi .recordTablePanel>.panelhead{display:flex;align-items:center;gap:16px;padding:20px;margin:0;min-height:84px;border-bottom:1px solid #243745}
#app .recordsUi .recordTablePanel .panelhead h2{flex:1;font-size:21px;margin:0;color:#f3f7fc}
#app .recordsUi .recordUiIcon{width:48px;height:48px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;background:linear-gradient(135deg,#9d501d45,#522c151f);border:1px solid #ff901b25;border-radius:13px;color:#ff941f}
#app .recordsUi .recordUiIcon svg{width:26px;height:26px}
#app .recordsUi .panelhead .tag{color:#ffa953;background:#ff891b12;border:1px solid #ff891b20;padding:8px 12px;border-radius:20px;font-size:11px}
#app .recordsUi>.recordFilters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:14px;padding:20px;margin:0 0 20px}
#app .recordsUi>.recordFilters[hidden]{display:none}
#app .recordsUi .recordFilters label{display:flex;flex-direction:column;gap:8px;flex:1 1 170px;min-width:0;color:#c1d1df;font-size:12px}
#app .recordsUi .recordFilters input,#app .recordsUi .recordFilters select{width:100%;min-width:0;max-width:100%;background:#0b1721;color:#eaf2fb;border:1px solid #354e60;padding:12px 14px;border-radius:10px;font:inherit;color-scheme:dark;height:43px}
#app .recordsUi .btn{border:1px solid #3b5365;background:#12202c;color:#e6f1fc;border-radius:10px;padding:10px 15px;cursor:pointer;font:inherit;font-size:12px;font-weight:700}
#app .recordsUi .btn.primary{background:linear-gradient(120deg,#ff9b1e,#ff791c);color:#17110a;border-color:#ff941f}
#app .recordsUi .tablewrap{overflow:auto;max-width:100%;padding:0 16px}
#app .recordsUi table{width:100%;border-collapse:collapse;color:#e3ebf5;background:transparent}
#app .recordsUi thead th{background:#1b2d3b75;color:#a8c1d8;padding:15px 12px;font-size:10px;letter-spacing:.025em;white-space:nowrap;border-bottom:1px solid #2c4050}
#app .recordsUi tbody td{background:transparent;color:#d6e4ef;padding:14px 12px;border-bottom:1px solid #243644;font-size:12px}
#app .recordsUi tbody td:first-child{color:#f2f6fb}
#app .recordsUi tbody tr:hover{background:#273e4d30}
#app .recordsUi tbody td .btn{background:#ff861b0c;color:#ffae5a;border-color:#9e5c233f;white-space:nowrap;padding:8px 16px}
#app .recordsUi .recordStatus{display:inline-block;white-space:nowrap;padding:5px 10px;border:1px solid #2c618055;border-radius:15px;background:#124c722e;color:#86c5f5;font-size:11px}
#app .recordsUi .recordStatus.positive{background:#14874e2b;border-color:#29764d66;color:#74dfad}
#app .recordsUi .recordStatus.negative{background:#9b54252a;border-color:#9d653a66;color:#ffb176}
#app .recordsUi .workspacePager{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;padding:18px;margin:0}
#app .recordsUi .workspacePagerCount{padding:10px 15px;border:1px solid #98531e55;border-radius:10px;background:#ff891b12;color:#ffa953;font-size:12px}
#app .showroomsUi>.notice:not(.roomScopeHeader):not([role]){display:none}
#app .showroomsUi .roomScopeHeader{display:grid;grid-template-columns:54px 1fr;column-gap:16px;align-items:center;padding:18px 22px;margin:0 0 18px;font-size:12px;color:#a9bfd2}
#app .showroomsUi .roomScopeHeader>.recordUiIcon{grid-row:1/3}
#app .showroomsUi .roomScopeHeader>b{color:#f0f5fc;font-size:20px;margin-bottom:5px}
#app .showroomsUi .showrooms{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
#app .showroomsUi .showroom{grid-column:span 2;padding:18px;min-width:0}
#app .showroomsUi .showroom:nth-last-child(-n+2){grid-column:span 3}
#app .showroomsUi .showroom:only-child{grid-column:1/-1}
#app .showroomsUi .roomCardHeader{display:flex;align-items:center;gap:15px;min-height:66px;margin-bottom:22px}
#app .showroomsUi .roomNumber{display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex-shrink:0;border-radius:12px;background:linear-gradient(130deg,#7a431f,#482e20);color:#ffb86d;border:1px solid #a8642830;font-size:19px;font-weight:800}
#app .showroomsUi .roomCardHeader h3{font-size:20px;color:#f3f7fc;margin:0 0 7px}
#app .showroomsUi .roomCardHeader p{margin:0;color:#a8bfd2;font-size:12px}
#app .showroomsUi .roomLeadCount{display:grid;grid-template-columns:54px 1fr;gap:5px 14px;font-size:13px!important;color:#abc3d9;margin:0 0 16px!important;align-items:center}
#app .showroomsUi .roomLeadCount .recordUiIcon{grid-row:1/3}
#app .showroomsUi .roomLeadCount>b{font-size:29px;float:none!important;color:#f0f6ff;grid-column:2;font-variant-numeric:tabular-nums}
#app .showroomsUi .track{height:11px;background:#263641;border-radius:15px;overflow:hidden}
#app .showroomsUi .fill{height:100%;background:linear-gradient(90deg,#ffad38,#ff861f);border-radius:15px;max-width:100%}
#app .showroomsUi .roomMiniMetrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-top:20px!important}
#app .showroomsUi .roomMiniMetrics>div{background:#23333e55;border-radius:12px;padding:12px 8px;min-width:0;display:flex;flex-direction:column;gap:7px}
#app .showroomsUi .roomMiniMetrics .recordUiIcon{width:26px;height:26px;background:#34445255;border:0;color:#bfccd8;border-radius:8px}
#app .showroomsUi .roomMiniMetrics .recordUiIcon svg{width:18px;height:18px}
#app .showroomsUi .roomMiniMetrics small{font-size:10px;color:#b0c3d4;overflow-wrap:anywhere}
#app .showroomsUi .roomMiniMetrics br{display:none}
#app .showroomsUi .roomMiniMetrics b{color:#f1f6fc;font-size:19px!important}
#app .showroomsUi .roomFlow{padding:22px}
#app .showroomsUi .roomFlow .panelhead{display:flex;gap:14px;align-items:center;margin-bottom:22px}
#app .showroomsUi .roomFlow h2{flex:1;margin:0;font-size:20px;color:#f3f7fc}
#app .showroomsUi .roomFlow .progressrow{display:grid;grid-template-columns:150px minmax(0,1fr) 70px;align-items:center;gap:18px;margin:18px 0;color:#d3e2ef;font-size:12px}
#app .showroomsUi .roomFlow .progressrow>span{text-align:right;font-variant-numeric:tabular-nums}
@media(max-width:1150px){#app .showroomsUi .showrooms{grid-template-columns:repeat(2,minmax(0,1fr))}#app .showroomsUi .showroom,#app .showroomsUi .showroom:nth-last-child(-n+2){grid-column:auto}#app .showroomsUi .showroom:last-child:nth-child(odd){grid-column:1/-1}}
@media(max-width:700px){#app .recordsUi>.recordFilters{padding:14px;gap:12px}#app .recordsUi .recordFilters label{flex-basis:100%}#app .recordsUi .recordTablePanel>.panelhead{padding:15px;gap:10px;flex-wrap:wrap}#app .recordsUi .recordTablePanel .panelhead h2{font-size:18px}#app .recordsUi .tablewrap{padding:0 8px}#app .showroomsUi .showrooms{grid-template-columns:1fr}#app .showroomsUi .showroom{grid-column:1/-1!important;padding:15px}#app .showroomsUi .roomFlow .progressrow{grid-template-columns:100px minmax(0,1fr) 40px;gap:9px}#app .showroomsUi .roomScopeHeader{padding:15px;grid-template-columns:44px 1fr;gap:10px}#app .showroomsUi .roomScopeHeader>b{font-size:17px}#app .showroomsUi .roomScopeHeader>.recordUiIcon{width:42px;height:42px}#app .showroomsUi .roomMiniMetrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Override older showroom layout rules without changing metric contents. */
#app #showrooms.showroomsUi{background:transparent!important;border:0;box-shadow:none}
#app #showrooms.showroomsUi .showrooms{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
#app #showrooms.showroomsUi .showrooms>.showroom{min-width:0;background:linear-gradient(120deg,#13212c,#0b151e)!important;border-color:#263c4b!important}
#app #showrooms.showroomsUi .roomLeadCount{display:grid!important;grid-template-columns:54px 1fr;justify-content:start;align-items:center!important;gap:5px 14px}
#app #showrooms.showroomsUi .roomLeadLabel{grid-column:2;grid-row:1}
#app #showrooms.showroomsUi .roomLeadCount>b{grid-row:2;text-align:left}
#app #showrooms.showroomsUi .roomMiniMetrics{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
#app #showrooms.showroomsUi .roomCardHeader h3{margin:0 0 7px}
#app #showrooms.showroomsUi .panel,#app #showrooms.showroomsUi .roomScopeHeader{background:linear-gradient(120deg,#13212c,#0b151e)!important;border-color:#263c4b!important}
@media(max-width:1150px){#app #showrooms.showroomsUi .showrooms{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#app #showrooms.showroomsUi .showrooms{grid-template-columns:1fr}#app #showrooms.showroomsUi .roomMiniMetrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Showroom reference: compact three-and-two cards and warm orange accents. */
#app #showrooms.showroomsUi .showroom,#app #showrooms.showroomsUi .panel,#app #showrooms.showroomsUi .roomScopeHeader{background:radial-gradient(ellipse at 70% 0,#18273155,transparent 75%),linear-gradient(125deg,#101b23,#0c151c)!important;border-color:#26353e!important}
#app #showrooms.showroomsUi .showroom{padding:18px 16px!important;min-height:0}
#app #showrooms.showroomsUi .roomCardHeader{margin-bottom:26px;min-height:56px;gap:18px}
#app #showrooms.showroomsUi .roomNumber{background:linear-gradient(135deg,#854820,#4d301e);border:1px solid #a9652630;color:#ffb46c;box-shadow:inset 0 1px #ffc88515}
#app #showrooms.showroomsUi .roomCardHeader h3{font-size:20px}
#app #showrooms.showroomsUi .roomCardHeader p{font-size:12px;color:#aebfcf}
#app #showrooms.showroomsUi .roomCardArrow{display:grid;place-items:center;width:34px;height:34px;margin-left:auto;background:#ffffff08;color:#d8e2e9;border-radius:50%;flex-shrink:0}
#app #showrooms.showroomsUi .roomCardArrow svg{width:18px;height:18px}
#app #showrooms.showroomsUi .roomLeadCount{gap:5px 17px;font-weight:400;font-size:14px!important;margin-bottom:15px!important}
#app #showrooms.showroomsUi .roomLeadCount .recordUiIcon{background:linear-gradient(135deg,#7c431d55,#57371e30);color:#ff8c22;border:0;border-radius:12px;width:52px;height:52px}
#app #showrooms.showroomsUi .roomLeadCount .recordUiIcon svg{width:32px;height:32px}
#app #showrooms.showroomsUi .roomLeadCount>b{font-size:30px;line-height:1.1;letter-spacing:-.6px}
#app #showrooms.showroomsUi .track{height:13px;background:#22303a!important}
#app #showrooms.showroomsUi .fill{background:linear-gradient(90deg,#ff9d30,#ff8623)!important}
#app #showrooms.showroomsUi .roomMiniMetrics{margin-top:20px!important;gap:9px!important}
#app #showrooms.showroomsUi .roomMiniMetrics>div{display:grid;grid-template-columns:29px minmax(0,1fr);grid-template-rows:auto auto;gap:6px 7px;padding:13px 7px;background:linear-gradient(130deg,#24313a66,#1c29314d);border-radius:12px;align-items:center}
#app #showrooms.showroomsUi .roomMiniMetrics .recordUiIcon{grid-row:1/3;width:29px;height:36px;border-radius:9px;background:#ffffff06;color:#c4ccd2}
#app #showrooms.showroomsUi .roomMiniMetrics small{grid-column:2;font-size:10px;white-space:nowrap}
#app #showrooms.showroomsUi .roomMiniMetrics b{grid-column:2;font-size:19px!important}
#app #showrooms.showroomsUi .roomScopeHeader{grid-template-columns:66px minmax(0,1fr) auto;padding:12px 16px!important;min-height:88px}
#app #showrooms.showroomsUi .roomScopeHeader>.recordUiIcon{width:64px;height:64px;border-radius:14px;background:linear-gradient(135deg,#743b16,#4a2914);color:#ff8f25;border:0}
#app #showrooms.showroomsUi .roomScopeHeader>.recordUiIcon svg{width:35px;height:35px}
#app #showrooms.showroomsUi .roomScopeHeader>b{font-size:20px}
#app #showrooms.showroomsUi .roomScopeHeader>span:not(.recordUiIcon):not(.roomHistoryChip){grid-column:2;font-size:12px;color:#aec0d0}
#app #showrooms.showroomsUi .roomHistoryChip{grid-column:3;grid-row:1/3;display:flex;gap:12px;align-items:center;padding:14px 18px;background:#ffffff05;border:1px solid #2b3b46;border-radius:11px;color:#e6edf4;font-size:12px}
#app #showrooms.showroomsUi .roomHistoryChip svg{width:20px;height:20px}
#app #showrooms.showroomsUi .roomFlow{padding:12px 18px}
#app #showrooms.showroomsUi .roomFlow .panelhead{margin-bottom:10px}
#app #showrooms.showroomsUi .roomFlow .panelhead>.recordUiIcon{width:40px;height:40px}
#app #showrooms.showroomsUi .roomFlow h2{font-size:17px}
#app #showrooms.showroomsUi .roomFlowBody{display:grid;grid-template-columns:1.6fr 1fr;gap:16px}
#app #showrooms.showroomsUi .roomFlowBars,#app #showrooms.showroomsUi .roomDistributionChart{min-width:0;padding:14px 12px;border:1px solid #24343e;border-radius:13px;background:#09131a40}
#app #showrooms.showroomsUi .roomFlow .progressrow{grid-template-columns:155px minmax(0,1fr) 65px 45px;gap:14px;margin:10px 0 15px;font-weight:400}
#app #showrooms.showroomsUi .roomFlow .progressrow>b{display:flex;gap:12px;align-items:center;font-weight:500}
#app #showrooms.showroomsUi .roomFlow .progressrow .recordUiIcon{width:26px;height:26px;background:#ff8b2215;border:0;border-radius:7px}
#app #showrooms.showroomsUi .roomFlow .progressrow .recordUiIcon svg{width:18px;height:18px}
#app #showrooms.showroomsUi .roomFlowShare{color:#aac0d2;text-align:right;font-size:11px}
#app #showrooms.showroomsUi .roomDistributionChart h3{font-size:15px;margin:0 0 10px;color:#f2f6fa}
#app #showrooms.showroomsUi .roomDistributionChart>svg{width:100%;display:block;max-height:180px;background:repeating-linear-gradient(0deg,transparent,transparent 35px,#ffffff04 36px),repeating-linear-gradient(90deg,transparent,transparent 45px,#ffffff04 46px)}
#app #showrooms.showroomsUi .roomChartLabels{display:flex;justify-content:space-between;gap:6px;color:#aebfcc;font-size:9px;margin-top:7px}
@media(min-width:1051px){#app #showrooms.showroomsUi .showrooms{grid-template-columns:repeat(6,minmax(0,1fr))}#app #showrooms.showroomsUi .showroom{grid-column:span 2!important}#app #showrooms.showroomsUi .showroom:nth-last-child(-n+2){grid-column:span 3!important}}
@media(max-width:1200px){#app #showrooms.showroomsUi .roomMiniMetrics>div{grid-template-columns:1fr}#app #showrooms.showroomsUi .roomMiniMetrics .recordUiIcon{grid-row:auto}#app #showrooms.showroomsUi .roomMiniMetrics small,#app #showrooms.showroomsUi .roomMiniMetrics b{grid-column:1}}
@media(max-width:900px){#app #showrooms.showroomsUi .roomFlowBody{grid-template-columns:1fr}#app #showrooms.showroomsUi .roomScopeHeader{grid-template-columns:52px minmax(0,1fr)}#app #showrooms.showroomsUi .roomHistoryChip{grid-row:auto;grid-column:1/-1;justify-self:start;margin-top:10px}#app #showrooms.showroomsUi .roomScopeHeader>.recordUiIcon{width:48px;height:48px}}
@media(max-width:700px){#app #showrooms.showroomsUi .roomFlow .progressrow{grid-template-columns:90px minmax(0,1fr) 35px 30px;gap:7px;font-size:10px}#app #showrooms.showroomsUi .roomFlow .progressrow>b{gap:6px}#app #showrooms.showroomsUi .roomFlow .progressrow .recordUiIcon{display:none}#app #showrooms.showroomsUi .roomMiniMetrics>div{grid-template-columns:29px 1fr}#app #showrooms.showroomsUi .roomMiniMetrics .recordUiIcon{grid-row:1/3}#app #showrooms.showroomsUi .roomMiniMetrics small,#app #showrooms.showroomsUi .roomMiniMetrics b{grid-column:2}}

#app #showrooms.showroomsUi .roomMiniMetrics>div{overflow:hidden}
#app #showrooms.showroomsUi .roomMiniMetrics small{font-size:clamp(8px,.7vw,11px)}
#app #showrooms.showroomsUi .roomNumber{background:linear-gradient(135deg,#854820,#4d301e)!important;border-color:#a9652630!important;color:#ffb46c!important}

#app .recordsUi .sourceChooser{position:relative;width:100%;min-width:0}
#app .recordsUi .sourceChooser input{padding-right:42px}
#app .recordsUi .sourceChooser select[hidden]{display:none}
#app .recordsUi .sourceToggle{position:absolute;right:3px;top:3px;width:37px;height:37px;padding:9px;border:0;background:transparent;color:#b9cfe2;cursor:pointer}
#app .recordsUi .sourceToggle svg{width:19px;height:19px}
#app .recordsUi .sourceOptions{position:absolute;top:calc(100% + 8px);left:0;width:max(100%,240px);max-width:calc(100vw - 90px);max-height:300px;overflow:auto;scrollbar-width:thin;scrollbar-color:#36566e #10202c;z-index:25;padding:6px;border:1px solid #38536a;border-radius:13px;background:#10202c;box-shadow:0 14px 38px #0008}
#app .recordsUi .sourceOptions[hidden]{display:none}
#app .recordsUi .sourceOptions button{display:block;width:100%;text-align:left;border:0;border-radius:8px;background:transparent;color:#c7d9e9;font:inherit;font-size:12px;padding:10px 12px;cursor:pointer}
#app .recordsUi .sourceOptions button:hover,#app .recordsUi .sourceOptions button.highlighted{background:#213a4e;color:#fff}
#app .recordsUi .sourceOptions button[aria-selected=true]{color:#ffae5c;background:#ff911b18}
#app .recordsUi .recordFilters{overflow:visible}

/* Omit the detailed lead classification section from showroom pages. */
#showrooms .leadTypeShowroomBreakdown{display:none!important}

#app #showrooms.showroomsUi .roomLeadBars{display:flex;flex-direction:column;gap:19px;padding:14px 0}
#app #showrooms.showroomsUi .roomLeadBar{display:grid;grid-template-columns:90px minmax(0,1fr) 55px;gap:12px;align-items:center;font-size:11px;color:#b9ccdc}
#app #showrooms.showroomsUi .roomLeadBar b{color:#edf5fc;font-variant-numeric:tabular-nums;text-align:right}
#app #showrooms.showroomsUi .roomLeadBarTrack{height:12px;background:#223541;border-radius:8px;overflow:hidden}
#app #showrooms.showroomsUi .roomLeadBarTrack i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#ffab35,#ff861f)}
@media(max-width:700px){#app #showrooms.showroomsUi .roomLeadBar{grid-template-columns:80px minmax(0,1fr) 45px;gap:8px;font-size:10px}}
