:root { --navy:#09243f; --navy-2:#123953; --green:#64b437; --green-dark:#438a28; --blue:#2198c7; --surface:#f3f7f8; --paper:#fff; --ink:#18344a; --muted:#6d7e88; --line:#d8e3e7; font-family:Arial,"Helvetica Neue",sans-serif; color:var(--ink); background:var(--surface); }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; min-width:320px; background:var(--surface); }
button,input,select,textarea { font:inherit; }
.login-shell { min-height:100vh; display:grid; place-items:center; padding:24px; background:linear-gradient(135deg,var(--navy),#164866); }
.login-card { width:min(430px,100%); padding:38px; border-radius:22px; background:white; box-shadow:0 22px 70px #00162966; }
.portal-brand { display:flex; flex-direction:column; width:max-content; }
.portal-brand strong { color:var(--navy); font-size:27px; letter-spacing:.04em; }
.portal-brand span { margin-top:3px; color:var(--green-dark); font-size:8px; font-weight:800; letter-spacing:.12em; }
.test-environment { width:max-content; margin:24px 0 12px; padding:5px 9px; border:1px solid #d27b22; border-radius:999px; color:#9b4f0c; background:#fff5e8; font-size:9px; font-weight:800; letter-spacing:.08em; }
.login-card h1 { margin:0 0 8px; color:var(--navy); font-size:27px; }
.login-card > p { margin:0 0 24px; color:var(--muted); line-height:1.5; }
label { display:block; margin:15px 0 6px; color:var(--navy); font-size:12px; font-weight:800; }
input,select { width:100%; min-height:48px; padding:11px 13px; border:1px solid #cbd9df; border-radius:10px; color:var(--ink); background:white; }
textarea { display:block; width:100%; margin-top:6px; padding:11px 13px; border:1px solid #cbd9df; border-radius:10px; color:var(--ink); background:white; resize:vertical; }
input:focus,select:focus { outline:3px solid #64b43733; border-color:var(--green); }
.form-error { min-height:20px; margin:9px 0; color:#a52c2c; font-size:12px; }
.primary-button,.secondary-button,.text-button { min-height:42px; padding:10px 15px; border:0; border-radius:9px; font-weight:800; cursor:pointer; }
.primary-button { width:100%; background:var(--green); color:#09243f; }
.secondary-button { background:var(--navy); color:white; }
.text-button { border:1px solid var(--line); background:white; color:var(--navy); }
.portal-app { min-height:100vh; display:grid; grid-template-columns:245px 1fr; }
.portal-sidebar { position:sticky; top:0; height:100vh; display:flex; flex-direction:column; padding:28px 20px 22px; background:var(--navy); color:white; }
.portal-brand.light strong { color:white; }
.portal-brand.light span { color:#9fd67e; }
.portal-sidebar nav { display:flex; flex-direction:column; gap:7px; margin-top:44px; }
.nav-button { display:flex; align-items:center; gap:11px; width:100%; min-height:45px; padding:10px 12px; border:0; border-radius:10px; background:transparent; color:#cad7e0; text-align:left; cursor:pointer; }
.nav-button:hover,.nav-button.active { background:#ffffff14; color:white; }
.nav-button.active { border-left:3px solid var(--green); }
.nav-icon { width:24px; height:24px; display:grid; place-items:center; border-radius:7px; background:#ffffff12; }
.sidebar-foot { display:flex; flex-direction:column; gap:13px; margin-top:auto; padding-top:18px; border-top:1px solid #ffffff24; }
.sidebar-foot span { color:#9fd67e; font-size:9px; font-weight:800; letter-spacing:.1em; }
.sidebar-foot button { width:max-content; padding:0; border:0; background:transparent; color:#d6e0e6; cursor:pointer; }
.portal-workspace { min-width:0; }
.portal-topbar { min-height:82px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 34px; border-bottom:1px solid var(--line); background:white; }
.portal-topbar > div { display:flex; flex-direction:column; gap:3px; }
.portal-topbar span { color:var(--muted); font-size:10px; }
.portal-topbar strong { color:var(--navy); font-size:17px; }
.user-context { align-items:flex-end; }
#roleBadge { padding:4px 8px; border-radius:999px; background:#eaf5e3; color:var(--green-dark); font-weight:800; letter-spacing:.05em; }
.mobile-menu { display:none; width:42px; height:42px; border:1px solid var(--line); border-radius:9px; background:white; color:var(--navy); }
.portal-content { width:min(1180px,100%); margin:0 auto; padding:32px; }
.page-intro { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:22px; }
.page-intro h1 { margin:0 0 6px; color:var(--navy); font-size:30px; }
.page-intro p { margin:0; color:var(--muted); line-height:1.5; }
.test-data-label { display:inline-block; padding:5px 8px; border:1px solid #d27b22; border-radius:999px; background:#fff5e8; color:#9b4f0c; font-size:8px; font-weight:900; letter-spacing:.07em; }
.metric-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; margin-bottom:24px; }
.metric-card,.portal-card { border:1px solid var(--line); border-radius:15px; background:white; box-shadow:0 4px 16px #10243c0d; }
.metric-card { padding:20px; }
.summary-button { width:100%; border:1px solid var(--line); text-align:left; cursor:pointer; }
.summary-button:hover { border-color:var(--green); box-shadow:0 5px 18px #64b43722; }
.metric-card span { color:var(--muted); font-size:11px; }
.metric-card strong { display:block; margin-top:11px; color:var(--navy); font-size:30px; }
.portal-card { padding:20px; margin-bottom:18px; }
.card-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:15px; }
.card-heading h2 { margin:0; color:var(--navy); font-size:18px; }
.search-input { max-width:340px; }
.property-list,.unit-list,.history-list { display:flex; flex-direction:column; gap:10px; }
.property-row,.unit-row,.history-row { display:grid; grid-template-columns:minmax(180px,1.6fr) minmax(150px,1fr) auto auto; align-items:center; gap:18px; min-height:70px; padding:13px 15px; border:1px solid var(--line); border-radius:11px; background:#fbfcfc; }
.row-main strong { display:block; margin-bottom:4px; color:var(--navy); }
.row-main span,.row-meta span { color:var(--muted); font-size:11px; }
.row-meta { display:flex; flex-direction:column; gap:4px; }
.status-pill { display:inline-flex; width:max-content; padding:5px 8px; border-radius:999px; background:#eaf5e3; color:var(--green-dark); font-size:9px; font-weight:900; white-space:nowrap; }
.status-pill.building { background:#fff3df; color:#9a5c16; }
.status-pill.review { background:#eaf4fa; color:#176a94; }
.row-actions { display:flex; gap:7px; flex-wrap:wrap; justify-content:flex-end; }
.row-actions button { min-height:35px; padding:8px 10px; font-size:10px; }
.breadcrumb { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:16px; color:var(--muted); font-size:11px; }
.breadcrumb button { padding:0; border:0; background:none; color:var(--green-dark); cursor:pointer; }
.property-summary { display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:16px; }
.summary-block { padding:15px; border-radius:11px; background:var(--surface); }
.summary-block span { display:block; color:var(--muted); font-size:10px; }
.summary-block strong { display:block; margin-top:6px; color:var(--navy); }
.gateway-radio-section > p { margin:0 0 16px; color:var(--muted); line-height:1.5; }
.gateway-primary-action { width:auto; }
.gateway-overview-list { display:flex; flex-direction:column; gap:10px; }
.gateway-overview-row { display:grid; grid-template-columns:minmax(170px,1fr) minmax(300px,1.5fr) auto; align-items:center; gap:18px; padding:15px; border:1px solid var(--line); border-radius:11px; background:#fbfcfc; }
.gateway-overview-row > div:first-child strong,.gateway-overview-row > div:first-child span { display:block; }
.gateway-overview-row > div:first-child span { margin-top:4px; color:var(--muted); font-size:11px; }
.gateway-overview-row dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:0; }
.gateway-overview-row dt { color:var(--muted); font-size:9px; }
.gateway-overview-row dd { margin:4px 0 0; color:var(--navy); font-size:11px; font-weight:700; overflow-wrap:anywhere; }
.gateway-overview-row button:disabled { opacity:.65; cursor:not-allowed; }
#gatewayCommissioning .card { padding:20px; border:1px solid var(--line); border-radius:15px; background:white; box-shadow:0 4px 16px #10243c0d; }
#gatewayCommissioning .btn { min-height:42px; padding:10px 15px; border:0; border-radius:9px; background:var(--green); color:var(--navy); font-weight:800; cursor:pointer; }
#gatewayCommissioning .btn.secondary { background:var(--navy); color:white; }
.tenant-hero { display:grid; grid-template-columns:1.4fr .8fr; gap:20px; padding:26px; border-radius:18px; background:linear-gradient(135deg,var(--navy),var(--navy-2)); color:white; }
.tenant-hero h1 { margin:0 0 9px; font-size:29px; }
.tenant-hero p { margin:0; color:#cedae2; line-height:1.5; }
.current-uvi-card { padding:20px; border-radius:14px; background:white; color:var(--ink); }
.current-uvi-card > span { color:var(--muted); font-size:10px; }
.current-uvi-card strong { display:block; margin:7px 0 12px; color:var(--navy); font-size:20px; }
.current-uvi-card .row-actions { justify-content:flex-start; }
.empty-state { padding:25px; border-radius:12px; background:var(--surface); color:var(--muted); text-align:center; }
.loading { padding:50px; color:var(--muted); text-align:center; }
.error-card { padding:22px; border:1px solid #efc9c9; border-radius:13px; background:#fff5f5; color:#8d2828; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.form-grid .full { grid-column:1/-1; }
.form-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:18px; }
.form-actions .primary-button { width:auto; min-width:150px; }
.wizard { display:grid; gap:14px; }
.wizard-step { padding:18px; border:1px solid var(--line); border-radius:13px; background:#fbfcfc; }
.wizard-step legend { padding:0 8px; color:var(--navy); font-weight:800; }
.step-number { display:inline-grid; place-items:center; width:25px; height:25px; margin-right:7px; border-radius:50%; background:var(--green); color:var(--navy); font-size:11px; }
.inline-note { padding:12px; border-left:3px solid var(--blue); border-radius:7px; background:#edf7fb; color:#486574; font-size:11px; line-height:1.5; }
.success-card { padding:15px; border:1px solid #bcdcae; border-radius:11px; background:#f1f9ed; color:#315f22; }
.compact-form { display:flex; align-items:flex-end; gap:10px; flex-wrap:wrap; }
.compact-form > label { flex:1 1 180px; margin:0; }
.compact-form button { flex:0 0 auto; }
.assignment-row { display:grid; grid-template-columns:minmax(170px,1.5fr) minmax(150px,1fr) minmax(170px,1fr) auto; gap:14px; align-items:center; padding:13px 15px; border:1px solid var(--line); border-radius:11px; background:#fbfcfc; }
.source-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.source-card { padding:18px; border:1px solid var(--line); border-radius:13px; background:white; }
.source-card h3 { margin:0 0 8px; color:var(--navy); }
.source-card p { color:var(--muted); font-size:12px; line-height:1.5; }
.source-card.disabled { opacity:.65; }
.source-property { display:flex; flex-direction:column; gap:3px; margin-top:10px; padding:10px; border-radius:9px; background:var(--surface); }
.source-property strong { color:var(--navy); font-size:11px; }
.source-property span,.source-property small { color:var(--muted); font-size:9px; }
.source-facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:8px; margin:12px 0; }
.source-facts div { min-width:0; padding:9px; background:var(--surface); border-radius:9px; }
.source-facts dt { color:var(--muted); font-size:9px; }
.source-facts dd { margin:3px 0 0; color:var(--navy); font-size:11px; font-weight:700; overflow-wrap:anywhere; }
.activation-shell { min-height:100vh; display:grid; place-items:center; padding:24px; background:linear-gradient(135deg,var(--navy),#164866); }
.activation-card { width:min(480px,100%); padding:34px; border-radius:20px; background:white; }
.activation-card h1 { color:var(--navy); }
.status-pill.invited { background:#eaf4fa; color:#176a94; }
.status-pill.ended { background:#edf0f1; color:#62717a; }
.meter-filter { display:grid; grid-template-columns:repeat(4,minmax(130px,1fr)); gap:10px; align-items:end; }
.meter-filter label { margin:0; }
.meter-filter input,.meter-filter select { min-height:42px; }
.period-presets { display:flex; gap:7px; flex-wrap:wrap; margin-top:13px; }
.period-presets button,.inline-link { padding:0; border:0; background:transparent; color:var(--green-dark); font-weight:800; cursor:pointer; }
.period-presets button { padding:7px 10px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--navy); font-size:10px; }
.device-overview { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.device-summary { padding:15px; border:1px solid var(--line); border-radius:12px; background:#fbfcfc; }
.device-summary > div:first-child { display:flex; flex-direction:column; gap:3px; }
.device-summary > div:first-child span,.device-summary dt { color:var(--muted); font-size:10px; }
.device-summary dl { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin:14px 0; }
.device-summary dl div { min-width:0; }
.device-summary dd { margin:3px 0 0; color:var(--navy); font-size:11px; overflow-wrap:anywhere; }
.relevance-label,.quality-label { display:inline-flex; width:max-content; margin-top:8px; padding:4px 7px; border-radius:999px; background:#eaf5e3; color:var(--green-dark); font-size:8px; font-weight:900; }
.relevance-label.secondary { background:#edf0f1; color:#62717a; }
.quality-label.warning { background:#fff3df; color:#9a5c16; }
.quality-label.plausible { background:#eaf5e3; color:var(--green-dark); }
.quality-label.notice { background:#eaf4fa; color:#176a94; }
.quality-label.action_required { background:#fff3df; color:#9a5c16; }
.quality-label.blocking { background:#fdebea; color:#a33b35; }
.measurement-table { display:flex; flex-direction:column; min-width:0; }
.measurement-head,.measurement-row { display:grid; grid-template-columns:1.05fr 1.1fr 1.2fr 1.15fr .7fr .8fr; gap:12px; align-items:center; }
.measurement-head { padding:8px 12px; color:var(--muted); font-size:9px; font-weight:900; text-transform:uppercase; letter-spacing:.04em; }
.measurement-row { padding:12px; border-top:1px solid var(--line); font-size:11px; }
.measurement-row small { display:block; margin-top:3px; color:var(--muted); font-size:9px; }
.measurement-row strong { color:var(--navy); }
.device-detail-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.device-detail-grid div { padding:13px; border-radius:10px; background:var(--surface); }
.device-detail-grid span { display:block; margin-bottom:5px; color:var(--muted); font-size:10px; }
.device-detail-grid strong { color:var(--navy); font-size:12px; }
.quality-issues { display:flex; flex-direction:column; gap:9px; }
.data-issue { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:12px 14px; border-left:4px solid #d88925; border-radius:9px; background:#fff8ed; }
.data-issue div { display:flex; flex-direction:column; gap:4px; }
.data-issue span { color:var(--muted); font-size:10px; }
.data-issue.expanded { align-items:flex-start; padding:15px 16px; }
.data-issue.expanded.blocking { border-left-color:#b94b44; background:#fff5f4; }
.data-issue.expanded.notice { border-left-color:#4d91b7; background:#f2f8fb; }
.data-issue .issue-copy { flex:1; min-width:0; }
.data-issue .issue-title-row { flex-direction:row; align-items:center; gap:8px; }
.data-issue .issue-title-row .quality-label { margin-top:0; }
.data-issue p { margin:4px 0 0; color:#405460; font-size:10px; line-height:1.55; }
.data-issue details { margin-top:5px; color:var(--muted); font-size:9px; }
.data-issue details summary { width:max-content; color:var(--green-dark); font-weight:800; cursor:pointer; }
.data-issue details span { display:block; margin-top:3px; }
.quality-filter,.device-measurement-filter { display:grid; grid-template-columns:repeat(4,minmax(135px,1fr)); gap:10px; align-items:end; margin-bottom:14px; }
.quality-filter label,.device-measurement-filter label { margin:0; }
.quality-filter input,.quality-filter select,.device-measurement-filter input,.device-measurement-filter select { min-height:42px; }
.quality-filter .text-button { align-self:center; }
.quality-groups { display:flex; gap:7px; flex-wrap:wrap; margin:4px 0 14px; }
.quality-groups button { display:flex; align-items:center; gap:7px; padding:7px 10px; border:1px solid var(--line); border-radius:9px; background:white; color:var(--navy); cursor:pointer; }
.quality-groups button strong { display:grid; min-width:22px; height:22px; place-items:center; border-radius:999px; background:var(--surface); font-size:10px; }
.quality-groups button span { font-size:9px; }
.readiness-explanation { margin:-5px 0 15px; padding:11px 14px; border-left:4px solid var(--green); border-radius:8px; background:#f3f8f4; color:#405460; font-size:11px; }
.finding-toggle { display:flex; min-height:42px; align-items:center; gap:8px; padding:0 10px; border:1px solid var(--line); border-radius:8px; color:var(--navy); font-size:10px; font-weight:800; }
.finding-toggle input { min-height:auto; width:auto; margin:0; }
.filter-actions { display:flex; align-items:center; gap:9px; }
.active-filters { display:flex; gap:6px; flex-wrap:wrap; margin:12px 0; color:var(--muted); font-size:10px; }
.active-filters span { padding:5px 8px; border-radius:999px; background:#edf5f8; color:#245c78; }
.result-count { margin-bottom:8px; color:var(--muted); font-size:10px; font-weight:800; }
.metric-card strong.metric-small { font-size:14px; line-height:1.4; }
.uvi-filter { display:grid; grid-template-columns:repeat(4,minmax(150px,1fr)); gap:10px; align-items:end; }
.uvi-filter label { margin:0; }
.uvi-filter input,.uvi-filter select { min-height:42px; }
.uvi-table { display:flex; flex-direction:column; min-width:0; }
.uvi-table-head,.uvi-table-row { display:grid; grid-template-columns:1.35fr .8fr 1fr 1fr 1.2fr; gap:12px; align-items:center; }
.uvi-table-head { padding:8px 12px; color:var(--muted); font-size:9px; font-weight:900; text-transform:uppercase; }
.uvi-table-row { min-height:68px; padding:12px; border-top:1px solid var(--line); font-size:11px; }
.uvi-table-row strong,.uvi-table-row small { display:block; }
.uvi-table-row strong { color:var(--navy); }
.uvi-table-row small { margin-top:4px; color:var(--muted); }
.pager { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:16px; color:var(--muted); font-size:11px; }
.monitor-property-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.monitor-property-card { display:flex; flex-direction:column; gap:10px; padding:15px; border:1px solid var(--line); border-radius:11px; background:#fff; }
.monitor-property-card > div:first-child { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; color:var(--navy); }
.monitor-property-card dl { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0; }
.monitor-property-card dl div { padding:8px; border-radius:8px; background:var(--surface); }
.monitor-property-card dt,.monitor-property-card small { color:var(--muted); font-size:9px; }
.monitor-property-card dd { margin:2px 0 0; color:var(--navy); font-size:14px; font-weight:900; }
.monitoring-filter { display:grid; grid-template-columns:2fr repeat(3,1fr); gap:10px; align-items:end; margin-bottom:15px; }
.monitoring-filter label { margin:0; }
.monitoring-filter input,.monitoring-filter select { min-height:42px; }
.property-device-filter { display:grid; grid-template-columns:repeat(5,minmax(145px,1fr)); gap:10px; align-items:end; margin-bottom:10px; }
.property-device-filter label { margin:0; }
.property-device-filter input,.property-device-filter select { min-height:42px; }
.property-device-filter .filter-actions { display:grid; grid-column:span 2; grid-template-columns:repeat(2,minmax(0,1fr)); min-width:0; }
.property-device-filter .filter-actions button { min-width:0; width:100%; white-space:normal; }
.monitor-kpis .summary-button { text-align:left; }
.monitor-recommendations { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.monitor-recommendation { display:flex; flex-direction:column; align-items:flex-start; gap:7px; padding:13px; border:1px solid var(--line); border-left:4px solid var(--green); border-radius:10px; background:#fff; color:#405460; font-size:10px; }
.monitor-recommendation p { margin:0; line-height:1.5; }
.monitor-recommendation > button { margin-top:auto; }
.monitor-device-card .device-problem { padding:7px 9px; border-radius:7px; background:#fff5eb; color:#7c451d; font-size:9px; line-height:1.45; }
.service-admin-grid,.manager-service-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
.service-admin-card,.manager-service-card { min-width:0; padding:18px; border:1px solid var(--line); border-radius:12px; background:#fff; box-shadow:0 8px 22px rgba(0,36,62,.05); }
.service-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.service-card-head h2,.service-card-head strong { margin:0; color:var(--navy); font-size:15px; }
.service-card-head small { display:block; margin-top:4px; color:var(--muted); font-size:9px; line-height:1.45; }
.service-admin-card > p,.manager-service-card > p { color:#405460; font-size:10px; line-height:1.55; }
.entitlement-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-top:14px; }
.entitlement-form label { margin:0; }
.entitlement-form button { align-self:end; min-height:42px; }
.entitlement-result { grid-column:1 / -1; }
.service-readiness { display:flex; justify-content:space-between; gap:12px; margin-top:14px; padding:10px 12px; border-radius:8px; background:var(--surface); color:var(--muted); font-size:10px; }
.service-readiness strong { color:var(--navy); }
.trial-note { padding:8px 10px; border-left:3px solid var(--green); background:#f3f8f4; color:var(--green-dark) !important; font-weight:800; }
.optional-service { color:var(--muted) !important; font-weight:800; }
.service-more-info { margin-top:14px; padding:14px; border:1px solid var(--line); border-radius:10px; background:var(--blue-050); }
.service-more-info strong,.service-more-info span { display:block; }
.service-more-info p { margin:7px 0; color:var(--text); font-size:10px; line-height:1.55; }
.service-more-info span { color:var(--muted); font-size:9px; }
.locked-service { max-width:680px; margin:50px auto; text-align:center; }
.locked-service h1 { margin:16px 0 8px; color:var(--navy); }
.locked-service p { color:#405460; line-height:1.6; }
.customer-context-shell { margin-bottom:20px; border:1px solid #bfd1da; border-radius:15px; overflow:hidden; background:white; box-shadow:0 5px 18px #10243c0d; }
.customer-context-head { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:16px 18px; background:linear-gradient(100deg,var(--navy),var(--navy-2)); color:white; }
.customer-context-head > div:first-child { display:flex; flex-direction:column; gap:4px; }
.customer-context-head span { color:#acd9ee; font-size:9px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.customer-context-head strong { font-size:17px; }
.customer-context-actions { display:flex; align-items:end; gap:10px; }
.customer-context-actions label { min-width:190px; margin:0; color:#dce8ee; }
.customer-context-actions select { min-height:38px; padding:7px 10px; }
.customer-context-actions .text-button { color:white; border-color:#ffffff55; background:#ffffff0d; }
.customer-context-nav { display:flex; gap:5px; padding:9px 12px; overflow-x:auto; border-bottom:1px solid var(--line); }
.customer-context-nav button { flex:0 0 auto; padding:8px 10px; border:0; border-radius:8px; background:transparent; color:var(--navy); font-size:10px; font-weight:800; cursor:pointer; }
.customer-context-nav button.active,.customer-context-nav button:hover { background:#edf5f8; color:var(--green-dark); }
.admin-support-notice { display:flex; gap:10px; align-items:center; padding:10px 14px; background:#fff6e8; color:#6f491b; font-size:10px; }
.admin-support-notice span { color:#775e40; }
.admin-customer-list { display:flex; flex-direction:column; gap:9px; }
.admin-customer-row { display:grid; grid-template-columns:minmax(190px,1.5fr) .7fr .85fr .85fr auto; align-items:center; gap:14px; padding:13px 15px; border:1px solid var(--line); border-radius:11px; background:#fbfcfc; font-size:10px; }
.admin-customer-row > div:not(.row-main):not(.row-actions) { display:flex; flex-direction:column; gap:4px; color:var(--navy); }
.admin-customer-row small { color:var(--muted); }
.service-badges,.customer-shortcuts,.service-actions { display:flex; gap:8px; flex-wrap:wrap; }
.customer-shortcuts { margin-top:18px; }
.service-admin-card.compact { display:flex; flex-direction:column; gap:12px; }
.service-admin-card.compact > .text-button { align-self:flex-start; }
.service-runtime { display:flex; justify-content:space-between; gap:10px; padding:9px 11px; border-radius:8px; background:var(--surface); color:var(--muted); font-size:10px; }
.service-runtime strong { color:var(--navy); }
.service-detail { padding-top:12px; border-top:1px solid var(--line); }
.service-history summary { color:var(--navy); font-weight:800; cursor:pointer; }
.service-history .history-list { margin-top:14px; }
.mail-status-list { display:flex; flex-direction:column; gap:8px; }
.mail-status-row { display:grid; grid-template-columns:1.2fr 1fr auto .8fr; align-items:center; gap:12px; padding:12px; border:1px solid var(--line); border-radius:9px; font-size:10px; }
.mail-status-row > div { display:flex; flex-direction:column; gap:3px; }
.mail-status-row small { color:var(--muted); }

/* Customer Workspace P1: action-first composition of existing services. */
.workspace-intro p { max-width:760px; }
.workspace-kpis { grid-template-columns:repeat(4,minmax(0,1fr)); }
.workspace-kpis .metric-card { min-width:0; }
.workspace-kpis .metric-card span { display:block; line-height:1.35; }
.workspace-today { border-top:4px solid var(--green); }
.workspace-all-clear { display:flex; flex-direction:column; gap:5px; margin-bottom:16px; padding:18px; border:1px solid #b8d8cc; border-radius:12px; background:#f1f9ed; color:#315f22; }
.workspace-all-clear strong { font-size:17px; }
.workspace-all-clear span { font-size:11px; }
.workspace-filter-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.65fr); gap:14px; align-items:end; margin-bottom:16px; }
.workspace-quick-filters { display:flex; gap:7px; flex-wrap:wrap; }
.workspace-quick-filters button { min-height:36px; padding:7px 10px; border:1px solid var(--line); border-radius:999px; background:#fff; color:var(--navy); font-size:10px; font-weight:800; cursor:pointer; }
.workspace-quick-filters button.active { border-color:var(--green); background:#eaf5e3; color:var(--green-dark); }
#workspaceSearch { display:grid; grid-template-columns:minmax(130px,1fr) auto auto; gap:7px; align-items:center; }
#workspaceSearch input { min-height:40px; }
#workspaceSearch button { min-height:40px; white-space:nowrap; }
.workspace-action-list { display:flex; flex-direction:column; gap:9px; }
.workspace-action { display:grid; grid-template-columns:minmax(145px,.6fr) minmax(210px,1.1fr) minmax(200px,1fr) minmax(145px,.65fr); gap:15px; align-items:center; padding:15px; border:1px solid var(--line); border-radius:11px; background:#fbfcfc; font-size:10px; }
.workspace-action-head { display:flex; flex-direction:column; align-items:flex-start; gap:7px; }
.workspace-source { color:var(--muted); font-weight:800; }
.workspace-action h3 { margin:0 0 6px; color:var(--navy); font-size:13px; }
.workspace-action p { margin:3px 0; color:#405460; line-height:1.5; }
.workspace-action small { display:block; margin-top:5px; color:var(--muted); }
.workspace-action-cta { display:flex; flex-direction:column; align-items:flex-start; gap:7px; color:var(--navy); }
.workspace-action-cta button { width:100%; white-space:normal; }
.workspace-building-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.workspace-building { padding:16px; border:1px solid var(--line); border-radius:12px; background:#fbfcfc; }
.workspace-building-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.workspace-building h3 { margin:0 0 4px; color:var(--navy); }
.workspace-building-head > div > span { color:var(--muted); font-size:10px; }
.workspace-building dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px 14px; margin:16px 0; }
.workspace-building dt { color:var(--muted); font-size:9px; font-weight:800; }
.workspace-building dd { margin:3px 0 0; color:var(--navy); font-size:10px; line-height:1.45; overflow-wrap:anywhere; }
.value-event-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.value-event { display:flex; gap:11px; padding:14px; border:1px solid var(--line); border-radius:11px; background:#f7fafb; }
.value-event-icon { display:grid; flex:0 0 28px; width:28px; height:28px; place-items:center; border-radius:50%; background:#eaf5e3; color:var(--green-dark); font-weight:900; }
.value-event strong { color:var(--navy); font-size:11px; }
.value-event p { margin:5px 0 0; color:var(--muted); font-size:10px; line-height:1.5; }

/* Billing Readiness P1: operational projection of the existing data platform. */
.billing-filter { display:grid; grid-template-columns:repeat(4,minmax(145px,1fr)); gap:10px; align-items:end; }
.billing-filter label { margin:0; }
.billing-filter input,.billing-filter select { min-height:42px; }
.billing-filter .billing-search { grid-column:span 2; }
.billing-filter .filter-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.billing-filter .filter-actions button { min-width:0; width:100%; white-space:normal; }
.billing-readiness-hero { display:grid; grid-template-columns:minmax(220px,1fr) auto; gap:16px; align-items:center; margin-bottom:18px; padding:22px; border:1px solid #b8d8cc; border-left:5px solid var(--green); border-radius:13px; background:linear-gradient(110deg,#f2f9f5,#fff); }
.billing-readiness-hero > div { display:grid; gap:3px; }
.billing-readiness-hero > div > span,.billing-readiness-hero small { color:var(--muted); font-size:10px; font-weight:800; }
.billing-readiness-hero > div > strong { color:var(--navy); font-size:36px; }
.billing-readiness-hero > div > strong.billing-readiness-headline { max-width:760px; font-size:22px; line-height:1.25; }
.billing-readiness-hero > p { grid-column:1 / -1; margin:0; color:#405460; font-size:10px; line-height:1.6; }
.billing-metrics { grid-template-columns:repeat(4,minmax(0,1fr)); }
.billing-metrics .metric-card strong { font-size:23px; }
.billing-worklist { display:flex; flex-direction:column; gap:9px; }
.billing-issue { display:grid; grid-template-columns:1.2fr 1.5fr 1fr; gap:14px; align-items:center; padding:13px 14px; border:1px solid var(--line); border-radius:10px; background:#fff; font-size:10px; }
.billing-issue h3 { margin:6px 0 3px; color:var(--navy); font-size:12px; }
.billing-issue p { margin:0; color:#405460; line-height:1.55; }
.billing-issue small { color:var(--muted); }
.billing-issue > div:last-child { display:flex; flex-direction:column; align-items:flex-start; gap:5px; color:var(--navy); }
.billing-unit-list,.billing-device-list { display:flex; flex-direction:column; gap:8px; }
.billing-unit-row { display:grid; grid-template-columns:minmax(180px,1.4fr) .8fr .7fr auto auto; gap:12px; align-items:center; padding:12px 13px; border:1px solid var(--line); border-radius:9px; background:#fbfcfc; font-size:10px; }
.billing-unit-row strong,.billing-unit-row small,.billing-device-row strong,.billing-device-row small,.billing-device-row span { display:block; }
.billing-unit-row strong,.billing-device-row strong { color:var(--navy); }
.billing-unit-row small,.billing-device-row small,.billing-device-row span { margin-top:3px; color:var(--muted); }
.billing-export { display:grid; grid-template-columns:minmax(260px,1fr) minmax(180px,.4fr) auto; gap:16px; align-items:end; }
.billing-export h2 { margin:0 0 5px; color:var(--navy); }
.billing-export p { margin:0; color:var(--muted); font-size:10px; }
.billing-export label { margin:0; }
.billing-resident-periods { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.billing-resident-periods article { display:grid; gap:3px; padding:13px; border:1px solid var(--line); border-radius:9px; background:var(--surface); font-size:10px; }
.billing-resident-periods span,.billing-resident-periods small { color:var(--muted); }
.billing-device-row { display:grid; grid-template-columns:1.1fr 1fr 1.3fr .9fr auto; gap:12px; align-items:center; padding:13px; border:1px solid var(--line); border-radius:9px; font-size:10px; }

@media (max-width:900px) {
  .metric-grid { grid-template-columns:repeat(2,1fr); }
  .property-row,.unit-row,.history-row { grid-template-columns:1fr auto; }
  .row-meta { grid-column:1; }
  .property-summary { grid-template-columns:1fr; }
  .gateway-overview-row { grid-template-columns:1fr; }
  .gateway-overview-row dl { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:900px) {
  .portal-app { display:block; }
  .portal-sidebar { position:fixed; z-index:20; left:-260px; width:245px; transition:left .2s; }
  .portal-app.menu-open .portal-sidebar { left:0; box-shadow:8px 0 35px #00162955; }
  .mobile-menu { display:block; }
  .portal-topbar { min-height:68px; padding:11px 15px; justify-content:flex-start; }
  .user-context { margin-left:auto; max-width:125px; overflow:hidden; }
  #userEmail { display:none; }
  .portal-content { padding:20px 14px 30px; }
  .page-intro { display:block; }
  .page-intro h1 { font-size:25px; }
  .metric-grid { grid-template-columns:1fr 1fr; gap:10px; }
  .metric-card { padding:15px; }
  .metric-card strong { font-size:24px; }
  .portal-card { padding:14px; }
  .card-heading { align-items:flex-start; flex-direction:column; }
  .search-input { max-width:none; }
  .property-row,.unit-row,.history-row { grid-template-columns:1fr; gap:9px; }
  .row-meta { grid-column:auto; }
  .row-actions { justify-content:flex-start; }
  .gateway-primary-action { width:100%; }
  .gateway-overview-row dl { grid-template-columns:1fr; }
  .tenant-hero { grid-template-columns:1fr; padding:19px; }
  .tenant-hero h1 { font-size:24px; }
  .form-grid,.source-cards { grid-template-columns:1fr; }
  .form-grid .full { grid-column:auto; }
  .assignment-row { grid-template-columns:1fr; gap:8px; }
  .meter-filter { grid-template-columns:1fr 1fr; }
  .quality-filter,.device-measurement-filter { grid-template-columns:1fr 1fr; }
  .uvi-filter { grid-template-columns:1fr 1fr; }
  .uvi-table-head { display:none; }
  .uvi-table-row { grid-template-columns:1fr 1fr; margin-bottom:10px; border:1px solid var(--line); border-radius:10px; }
  .uvi-table-row [data-label]::before { content:attr(data-label); display:block; margin-bottom:4px; color:var(--muted); font-size:8px; font-weight:900; text-transform:uppercase; }
  .meter-filter .secondary-button { width:100%; }
  .device-overview,.device-detail-grid { grid-template-columns:1fr; }
  .monitor-property-grid { grid-template-columns:1fr 1fr; }
  .service-admin-grid,.manager-service-grid { grid-template-columns:1fr; }
  .admin-customer-row { grid-template-columns:1fr 1fr; }
  .admin-customer-row .row-actions { grid-column:1 / -1; }
  .customer-context-head { align-items:flex-start; flex-direction:column; }
  .customer-context-actions { width:100%; }
  .customer-context-actions label { flex:1; }
  .mail-status-row { grid-template-columns:1fr 1fr; }
  .workspace-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .workspace-filter-row { grid-template-columns:1fr; }
  .workspace-action { grid-template-columns:1fr 1fr; }
  .workspace-action-cta { grid-column:1 / -1; }
  .workspace-building-grid { grid-template-columns:1fr; }
  .billing-filter { grid-template-columns:1fr 1fr; }
  .billing-filter .billing-search { grid-column:1 / -1; }
  .billing-filter .filter-actions { grid-column:1 / -1; }
  .billing-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .billing-issue { grid-template-columns:1fr 1fr; }
  .billing-issue > div:last-child { grid-column:1 / -1; }
  .billing-unit-row { grid-template-columns:1fr 1fr; }
  .billing-unit-row > button { width:100%; }
  .billing-export { grid-template-columns:1fr 1fr; }
  .billing-export > div { grid-column:1 / -1; }
  .billing-resident-periods { grid-template-columns:1fr 1fr; }
  .billing-device-row { grid-template-columns:1fr 1fr; }
  .billing-device-row > button { width:100%; }
  .monitoring-filter,.property-device-filter { grid-template-columns:1fr 1fr; }
  .property-device-filter .filter-actions { grid-column:1 / -1; }
  .data-issue.expanded { flex-direction:column; }
  .data-issue.expanded > button { width:100%; }
  .measurement-head { display:none; }
  .measurement-row { grid-template-columns:1fr 1fr; gap:10px; margin-bottom:10px; border:1px solid var(--line); border-radius:10px; }
  .measurement-row > span,.measurement-row > strong { min-width:0; overflow-wrap:anywhere; }
  .measurement-row [data-label]::before { content:attr(data-label); display:block; margin-bottom:4px; color:var(--muted); font-size:8px; font-weight:900; text-transform:uppercase; }
  .form-actions { justify-content:stretch; }
  .form-actions button,.form-actions .primary-button { width:100%; }
}

@media (max-width:430px) {
  .meter-filter,.measurement-row,.uvi-filter,.uvi-table-row,.quality-filter,.device-measurement-filter,.monitor-property-grid,.monitoring-filter,.property-device-filter,.monitor-recommendations { grid-template-columns:1fr; }
  .device-summary dl { grid-template-columns:1fr; }
  .period-presets button { flex:1 1 45%; }
  .filter-actions { align-items:stretch; flex-direction:column; }
  .filter-actions button { width:100%; }
  .property-device-filter .filter-actions { grid-template-columns:1fr; }
  .entitlement-form { grid-template-columns:1fr; }
  .service-card-head { flex-direction:column; }
  .admin-customer-row,.mail-status-row { grid-template-columns:1fr; }
  .customer-context-actions { align-items:stretch; flex-direction:column; }
  .customer-context-actions label { min-width:0; }
  .admin-support-notice { align-items:flex-start; flex-direction:column; }
  .workspace-kpis,.workspace-action,.workspace-building dl,.value-event-grid,#workspaceSearch,.billing-filter,.billing-readiness-hero,.billing-metrics,.billing-issue,.billing-unit-row,.billing-export,.billing-resident-periods,.billing-device-row { grid-template-columns:1fr; }
  .workspace-action-cta { grid-column:auto; }
  .workspace-building-head { flex-direction:column; }
  #workspaceSearch button { width:100%; }
  .billing-filter .billing-search,.billing-filter .filter-actions,.billing-readiness-hero > p,.billing-issue > div:last-child,.billing-export > div { grid-column:auto; }
  .billing-filter .filter-actions { grid-template-columns:1fr; }
  .billing-export > button,.billing-device-row > button { width:100%; }
}

/* Nutzerwechsel-Assistent P1: reuse the established portal visual language. */
.resident-change-shell { max-width:1120px; margin-inline:auto; }
.wizard-progress { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; margin:0 0 26px; padding:0; list-style:none; }
.wizard-progress li { display:flex; align-items:center; gap:8px; min-width:0; color:var(--muted); font-size:12px; line-height:1.25; }
.wizard-progress li span { display:grid; flex:0 0 30px; width:30px; height:30px; place-items:center; border:1px solid var(--line); border-radius:50%; background:#fff; font-weight:700; }
.wizard-progress li.active { color:var(--blue); font-weight:700; }
.wizard-progress li.active span { border-color:var(--blue); background:var(--blue); color:#fff; }
.wizard-progress li.complete span { border-color:var(--green); background:var(--green); color:#fff; }
.wizard-step { min-height:330px; }
.wizard-step[hidden] { display:none; }
.wizard-step > p { max-width:760px; color:var(--muted); }
.wide-field { display:grid; gap:7px; max-width:650px; margin-top:22px; font-weight:600; }
.wizard-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:24px; padding-top:18px; border-top:1px solid var(--line); }
.wizard-actions [data-wizard-back] { margin-right:auto; }
.handover-note { margin-top:18px; padding:14px 16px; border-left:4px solid #79aace; border-radius:8px; background:#edf6fc; color:var(--blue); }
.vacancy-choice { margin:16px 0; padding:14px; border:1px solid var(--line); border-radius:10px; background:#f8fafc; }
.checkbox-field,.vacancy-choice label { display:flex !important; align-items:center; gap:9px; }
.checkbox-field input,.vacancy-choice input { width:auto; }
.disabled-fields { opacity:.48; }
.handover-table { display:grid; gap:2px; margin-top:16px; }
.handover-head,.handover-row { display:grid; grid-template-columns:1.2fr .9fr 1.2fr .8fr; gap:14px; align-items:center; padding:13px 14px; }
.handover-head { background:var(--blue); color:#fff; border-radius:8px 8px 0 0; font-size:12px; font-weight:700; }
.handover-row { border-bottom:1px solid var(--line); background:#fff; }
.handover-row span { min-width:0; }
.handover-row small { display:block; margin-top:4px; color:var(--muted); overflow-wrap:anywhere; }
.explanation-grid,.review-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:16px; }
.explanation-grid article,.review-grid article { padding:15px; border:1px solid var(--line); border-radius:10px; background:#f8fafc; }
.explanation-grid p { margin:7px 0 0; color:var(--muted); }
.review-grid article { display:grid; gap:5px; }
.review-grid article > span { color:var(--muted); font-size:12px; }
.readiness-banner { display:flex; justify-content:space-between; gap:18px; margin-top:18px; padding:15px; border-radius:10px; background:#edf6fc; }
.readiness-banner.ready { border-left:4px solid var(--green); }
.readiness-banner.review_required { border-left:4px solid #e8a531; }
.readiness-banner.blocked { border-left:4px solid #b42318; }
.issue-list { margin:14px 0 0; padding-left:21px; }
.issue-list li + li { margin-top:7px; }
.confirmation-warning { margin-top:16px; color:var(--blue); }
.success-panel { text-align:center; }
.success-panel .success-mark { display:grid; width:52px; height:52px; margin:0 auto 14px; place-items:center; border-radius:50%; background:var(--green); color:#fff; font-size:27px; }
.resident-history-row { grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto; }

@media (max-width:900px) {
  .wizard-progress { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .handover-head { display:none; }
  .handover-row { grid-template-columns:repeat(2,minmax(0,1fr)); border:1px solid var(--line); border-radius:9px; margin-bottom:8px; }
  .handover-row [data-label]::before { content:attr(data-label); display:block; margin-bottom:4px; color:var(--muted); font-size:11px; font-weight:700; text-transform:uppercase; }
}

@media (max-width:560px) {
  .wizard-progress { grid-template-columns:1fr 1fr; }
  .wizard-progress li { font-size:11px; }
  .wizard-progress li span { width:26px; height:26px; flex-basis:26px; }
  .wizard-step { min-height:0; }
  .explanation-grid,.review-grid,.handover-row { grid-template-columns:1fr; }
  .wizard-actions { flex-wrap:wrap; }
  .wizard-actions button { flex:1 1 100%; width:100%; }
  .wizard-actions [data-wizard-back] { order:2; margin-right:0; }
  .readiness-banner { flex-direction:column; }
  .resident-history-row { grid-template-columns:1fr; }
}

/* Service Request P1: calm commercial handover, no shop styling. */
.service-card-actions,.service-actions { display:flex; flex-wrap:wrap; gap:9px; align-items:center; }
.service-card-actions { margin-top:12px; }
.service-card-actions button { min-width:0; white-space:normal; }
.request-benefit { display:grid; gap:6px; margin-bottom:20px; padding:18px; border-left:4px solid var(--green); border-radius:9px; background:#f2f9f5; }
.request-benefit span,.request-info-grid p,.request-info-grid li { color:var(--muted); }
.request-benefit strong { color:var(--navy); font-size:16px; line-height:1.45; }
.request-info-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-bottom:22px; }
.request-info-grid article { padding:15px; border:1px solid var(--line); border-radius:10px; background:#fbfcfc; }
.request-info-grid h2 { margin:0 0 9px; color:var(--navy); font-size:13px; }
.request-info-grid p,.request-info-grid ul { margin:0; font-size:11px; line-height:1.6; }
.request-info-grid ul { padding-left:18px; }
.request-scope { margin:12px 0 18px; padding:16px; border:1px solid var(--line); border-radius:10px; }
.request-scope > label { display:flex; flex-direction:row; align-items:center; gap:8px; margin-bottom:8px; }
.request-scope input[type="radio"],.request-scope input[type="checkbox"] { width:auto; }
.request-property-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:12px; }
.request-property-list label { display:flex; flex-direction:row; align-items:flex-start; gap:9px; margin:0; padding:11px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.request-property-list span,.request-property-list small { display:block; }
.request-property-list small { margin-top:3px; color:var(--muted); }
.request-legal { margin:16px 0; padding:14px 16px; border:1px solid #b9d3e6; border-radius:9px; background:#edf6fc; color:var(--blue); line-height:1.55; }
.request-legal p { margin:5px 0 0; }
.request-success { max-width:850px; margin-inline:auto; }
.request-status-detail,.request-admin-detail { max-width:1050px; margin-inline:auto; }
.activation-confirmation { margin-top:1.25rem; padding:1.1rem; border:1px solid var(--border); border-radius:14px; background:var(--surface-soft); }
.activation-confirmation > label { display:grid; gap:.4rem; max-width:18rem; margin:1rem 0; font-weight:700; }
.activation-confirmation .form-actions { margin-top:1rem; }
.info-card { margin:14px 0; padding:14px; border:1px solid var(--line); border-radius:9px; background:#f7fafb; }
.info-card p { margin:6px 0 0; color:var(--muted); }
.service-request-filter { display:grid; grid-template-columns:repeat(4,minmax(140px,1fr)); gap:10px; align-items:end; }
.service-request-filter label { margin:0; }
.service-request-filter .request-search { grid-column:span 2; }
.service-request-filter button { min-height:42px; white-space:normal; }
.service-request-list { display:flex; flex-direction:column; gap:8px; }
.service-request-row { display:grid; grid-template-columns:1.15fr 1fr 1.25fr .8fr auto; gap:13px; align-items:center; padding:13px; border:1px solid var(--line); border-radius:9px; background:#fbfcfc; }
.service-request-row strong,.service-request-row span,.service-request-row small { display:block; min-width:0; overflow-wrap:anywhere; }
.service-request-row small { margin-top:4px; color:var(--muted); }
.service-request-inline { display:grid; gap:3px; margin:12px 0; padding:10px; border-radius:8px; background:#edf6fc; }
.service-request-inline span { color:var(--muted); font-size:10px; }
.service-request-inline button { justify-self:start; padding-left:0; }
.customer-request-link { margin:10px 0 0; border:0; background:transparent; color:var(--blue); font-weight:700; cursor:pointer; }

@media (max-width:900px) {
  .request-info-grid,.request-property-list { grid-template-columns:1fr; }
  .service-request-filter { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .service-request-filter .request-search { grid-column:1 / -1; }
  .service-request-row { grid-template-columns:1fr 1fr; }
  .service-request-row button { width:100%; }
}

@media (max-width:430px) {
  .service-card-actions,.service-actions { align-items:stretch; flex-direction:column; }
  .service-card-actions button,.service-actions button { width:100%; }
  .service-request-filter,.service-request-row { grid-template-columns:1fr; }
  .service-request-filter .request-search { grid-column:auto; }
  .request-detail,.request-confirmation,.request-admin-detail { overflow:hidden; }
}

.portal-edit-device{padding:14px;border:1px solid #d9e3ec;border-radius:10px;margin:12px 0;overflow-wrap:anywhere}.portal-edit-device input[type=checkbox],[data-bulk-form] input[type=checkbox],[data-matches] input[type=checkbox]{width:22px;min-height:22px;margin-right:8px}[data-editor] input,[data-editor] select{max-width:100%;box-sizing:border-box}[data-editor] .form-grid>*{min-width:0}
