.signed-out .sidebar,.signed-out .topbar,.signed-out footer{display:none}.signed-out .app{margin:0}.auth-panel{max-width:520px;margin:5vh auto;padding:36px}.auth-panel>img{margin-bottom:24px}.auth-panel h1{font-size:1.8rem}.auth-panel form{margin-top:27px}.auth-panel button[type=submit]{width:100%;margin-top:20px}.auth-panel .field input{min-height:48px}.form-error,#auth-error{color:#ffb68e;line-height:1.5;font-size:14px;margin-top:16px}.details dd{overflow-wrap:anywhere}.task-info strong{overflow-wrap:anywhere}.report{overflow-wrap:anywhere}.header-right{gap:12px}.header-right .btn{padding:7px 12px}.badge{white-space:normal}.timeline li{line-height:1.7;overflow-wrap:anywhere}.note{white-space:pre-wrap}@media(max-width:760px){.auth-panel{margin:1vh auto;padding:25px}.topbar{height:auto;min-height:58px;gap:10px;flex-wrap:wrap;padding-block:10px}.header-right .demo-label{display:none}.contract-card h2{overflow-wrap:anywhere}.report table{display:block;overflow:auto}}
.brand-logo{display:inline-flex;width:52px;height:38px;align-items:center;justify-content:center;border-radius:10px;background:#fff;color:#161324;flex-shrink:0;vertical-align:middle;margin-right:10px;padding:8px;box-sizing:border-box}.brand-logo img{width:100%;height:100%;object-fit:contain}.brand-logo.large{width:92px;height:68px;border-radius:16px;padding:14px}.brand-logo>span{font-size:16px;font-weight:800}.brand-selection{display:flex;gap:16px;align-items:center}.brand-selection>.field{flex:1;min-width:0}.brand-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:18px}.brand-card{padding:24px;text-align:center}.brand-card .brand-logo{margin:0 auto 18px}.brand-card h2{font-size:20px;margin:0 0 8px}.brand-card p{font-size:14px;color:var(--muted);margin:0 0 18px}.brand-edit{display:block;color:#bfabed;margin:14px auto 0;font-size:14px;text-decoration:underline}.model-list section{border-bottom:1px solid #3d314b;padding:22px 0}.model-list p,.model-hint{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.model-hint:empty{display:none}.model-hint{background:#211b30;padding:16px;border-radius:12px}.model-hint p{margin:8px 0 0}.evidence-panel{margin-top:24px}.evidence-panel .panel-head{padding:0 0 22px;gap:16px;flex-wrap:wrap}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px}.photo-grid figure{margin:0;min-width:0;border:1px solid #342940;border-radius:14px;overflow:hidden}.photo-grid img{width:100%;height:180px;object-fit:cover;background:#0d0b14}.photo-grid figcaption{padding:14px;overflow-wrap:anywhere}.photo-grid figcaption p{font-size:14px;margin:8px 0}.photo-grid small{font-size:12px;color:#b7acc7}.photo-grid .empty{grid-column:1/-1}.page-head h1 .brand-logo{vertical-align:middle}.clickable td>button>.brand-logo{float:left}.field input[type=file]{white-space:normal;font-size:14px;max-width:100%}@media(max-width:600px){.brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.brand-card{padding:18px 10px}.brand-logo.large{width:76px;height:58px}.photo-grid{grid-template-columns:1fr}.page-head h1 .brand-logo{display:flex;margin-bottom:12px}.brand-selection{gap:8px}}@media print{.evidence-panel{display:none}}
[hidden]{display:none!important}.permissions-table{min-width:680px}.permissions-table th,.permissions-table td{padding:16px;text-align:center}.permissions-table th:first-child{text-align:left}.permissions-table input{width:20px;height:20px;accent-color:#a565ed;cursor:pointer}.permissions-table input:disabled{cursor:default;opacity:.6}#permission-matrix>form>.field{max-width:320px}#permission-matrix .notice{margin:20px 0}#permission-matrix button[type=submit]{margin-top:22px}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.settings-card{padding:30px;text-align:left;cursor:pointer;color:inherit;transition:border-color .2s,transform .2s}.settings-card:hover{border-color:#9868df;transform:translateY(-2px)}.settings-card:focus-visible{outline:2px solid #b992ff;outline-offset:4px}.settings-icon{display:inline-flex;padding:14px;border-radius:16px;background:#312344;color:#c6a4fc;margin-bottom:24px}.settings-icon svg{width:26px;height:26px}.settings-card h2{font-size:22px;margin:0 0 10px}.settings-card p{font-size:16px;line-height:1.6;color:#bdb1cd;margin:0 0 28px}.settings-link{display:flex;align-items:center;gap:12px;color:#cfb7ff;font-size:14px}.settings-link svg{width:20px;height:20px}@media(max-width:720px){.settings-grid{grid-template-columns:1fr}.settings-card{padding:24px}}
.pending-changes{position:sticky;top:8px;z-index:5;padding:12px 18px;margin-bottom:18px;border:1px solid #ab7039;border-radius:12px;background:#342319;color:#ffd5a6;font-size:14px}
.avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.account-identity{display:flex;gap:18px;align-items:center;margin-bottom:28px}.account-identity h2{margin:0}.account-identity p{color:var(--muted);overflow-wrap:anywhere}.account-avatar{width:88px;height:88px;min-width:88px;font-size:28px;border-radius:26px}.avatar-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.avatar-option{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;position:relative;border:1px solid #393047;border-radius:15px;padding:18px 8px;cursor:pointer;font-size:12px}.avatar-option:has(input:checked){border-color:#bb8cff;background:#a26fff20;box-shadow:0 0 0 1px #bb8cff}.avatar-option input{position:absolute;top:8px;left:8px;accent-color:#a26fff}.avatar-option svg{width:34px;height:34px;fill:none;stroke:#bda0ff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.avatar-option strong{height:34px;font-size:23px}.recovery-panel{margin-top:22px}.account-form .btn{margin-top:12px}.account-grid>div{min-width:0}#recovery-result input{font-family:monospace;font-size:13px}.account-form .form-error{color:#ff969e}
.account-avatar>svg{width:58px;height:58px;fill:none;stroke:#bda0ff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.toolbar{flex-wrap:wrap}.toolbar .search{min-width:200px}.toolbar>select{max-width:100%}.work-filter-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;color:var(--muted);font-size:13px}.work-filter-summary .back{margin:0}
.business-letterhead{border-bottom:2px solid #7955bc;padding-bottom:16px;margin-bottom:22px;overflow-wrap:anywhere}.business-letterhead h2{margin:0 0 8px;font-size:23px}.business-letterhead p{margin:4px 0;font-size:13px;line-height:1.5}.business-paper{background:#fff;color:#222;padding:24px;border-radius:12px}.business-paper .business-letterhead{margin:0}#business-form button[type=submit]{margin-top:18px}.brand small{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media print{.business-letterhead{border-color:#555}.business-letterhead h2,.business-letterhead p{color:#111}}
.business-logo{background:#000;border-radius:6px;padding:12px 16px;margin-bottom:18px;max-width:420px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.business-logo img{display:block;width:100%;height:auto;object-fit:contain}@media print{.business-logo{max-width:100mm;break-inside:avoid}.business-letterhead{break-inside:avoid}}
.business-paper .business-letterhead h2,.business-paper .business-letterhead p{color:#222}
.business-logo.transparent{background:transparent;padding:0;border-radius:0}
.agenda-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:22px;align-items:start}.agenda-calendar{padding:20px}.agenda-weekdays,.agenda-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.agenda-weekdays{margin-bottom:12px;color:var(--muted);font-size:12px;text-align:center}.agenda-day{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-height:78px;padding:10px 7px;border:1px solid #ffffff12;border-radius:10px;text-align:left}.agenda-day>span:first-child{font-weight:600}.agenda-day strong{font-size:13px;color:#bca0fa}.agenda-day strong small{font-size:10px;font-weight:400}.agenda-day.outside{opacity:.45}.agenda-day.today{border-color:#a472f3}.agenda-day.selected{background:#8c50de38;box-shadow:inset 0 0 0 1px #be94fc;opacity:1}.agenda-empty{font-size:11px;opacity:.3}.agenda-month-nav{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.agenda-month-nav h2{font-size:17px;margin:0 5px;text-transform:capitalize}.agenda-toolbar{gap:15px;justify-content:space-between}.agenda-mine{display:flex;gap:9px;align-items:center;font-size:14px}.agenda-mine input{accent-color:#a472f3;width:17px;height:17px}.agenda-details h2{font-size:17px;line-height:1.5}.agenda-day-actions{padding:0 22px 16px}.agenda-details .task-row{flex-wrap:wrap}.agenda-details .task-info{min-width:0;width:100%}@media(max-width:1150px){.agenda-layout{grid-template-columns:1fr}}@media(max-width:500px){.agenda-calendar{padding:12px 8px}.agenda-grid,.agenda-weekdays{gap:3px}.agenda-day{padding:7px 4px;min-height:64px}.agenda-day strong small{display:none}.agenda-month-nav{gap:6px}.agenda-month-nav h2{font-size:15px}}
#visit-alerts-button{gap:6px;min-width:56px;white-space:nowrap}#visit-alerts-button span{font-size:12px;font-weight:700;color:#c8a5ff}.visit-alert-group{margin-top:24px}.visit-alert-group h3{font-size:16px;display:flex;gap:12px;align-items:center}.visit-alert-group .task-row{padding:15px 0;flex-wrap:wrap}.visit-alert-group .task-info{min-width:160px}
.document-text{white-space:pre-wrap}.document-disclaimer{font-size:12px;line-height:1.5;margin-top:26px;color:#777}.report .report-signatures small{display:block;margin-top:8px}.report table th{text-align:left}@media print{.report h2,.document-disclaimer{color:#16121c!important}}

.technical-report-actions{flex-wrap:wrap}.technical-report-actions label{flex-basis:100%;font-size:13px;line-height:1.6}.report [hidden]{display:none!important}.report td,.document-text{overflow-wrap:anywhere}

.quote-line{border:1px solid var(--line);border-radius:12px;padding:16px;margin:18px 0}.quote-line legend{padding:0 8px;color:var(--muted)}.quote-line-numbers{display:grid;grid-template-columns:1fr 2fr 1fr;gap:12px;margin:14px 0}.quote-line .back{margin:0}.quote-document{background:white;color:#222}.quote-header{display:block;width:100%;height:auto}.quote-content{padding:24px 16px}.quote-content .eyebrow{color:#363e83}.quote-content h2,.quote-content h3{color:#222}.quote-document table{width:100%;font-size:12px}.quote-document td,.quote-document th{white-space:normal;padding:9px 5px}.quote-totals{margin:20px 0 20px auto;max-width:290px}.quote-totals p{display:flex;justify-content:space-between;gap:20px}.quote-totals p:last-child{border-top:2px solid #252543;padding-top:12px;font-size:18px}.quote-footer{display:flex;gap:18px;align-items:center;background:#332f30;color:white;padding:18px;font-size:11px;line-height:1.6;print-color-adjust:exact;-webkit-print-color-adjust:exact}.quote-footer img{width:135px;height:auto}.quote-footer div{border-left:1px solid #aaa;padding-left:18px}.quote-document .document-text{overflow-wrap:anywhere}@media print{.quote-header,.quote-footer{break-inside:avoid}.quote-content{padding:18px 0}.quote-document thead{display:table-header-group}.quote-document tr{break-inside:avoid}.quote-totals{break-inside:avoid}.quote-document .eyebrow{color:#252543!important}}@media(max-width:500px){.quote-footer{flex-direction:column;align-items:flex-start}.quote-footer div{border:0;padding:0}.quote-content{padding:15px 8px}.quote-line-numbers{grid-template-columns:1fr 1fr}.quote-document table{font-size:10px}}

.quote-document th{background:#f1f2f7;color:#222}.quote-document td{color:#222}.quote-footer strong{color:inherit}@media print{.quote-footer strong{color:white!important;background:transparent!important}}

.quote-document + .modal-foot{flex-wrap:wrap}

.form-grid>.wide{grid-column:1/-1}.customer-check{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.5}.customer-check input[type=checkbox]{width:18px;height:18px;accent-color:#a879ef;flex-shrink:0}.customer-whatsapp{display:grid;gap:12px}.customer-whatsapp small,.customer-consent small{color:var(--muted);font-size:12px}.customer-extra{border:1px solid var(--line);border-radius:12px;padding:16px}.customer-extra summary{cursor:pointer;font-weight:600}.customer-extra>.form-grid{margin-top:18px}.customer-extra p{font-size:13px;line-height:1.6;color:var(--muted)}.customer-consent{display:grid;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}

.customer-quotes{margin-top:22px}.customer-quotes .task-row{width:100%;text-align:left}.customer-quote-total{font-weight:600;white-space:nowrap}.customer-quotes .task-info{min-width:0;overflow-wrap:anywhere}@media(max-width:760px){.customer-quotes .panel-head{flex-wrap:wrap;gap:12px}.customer-quotes .task-row{flex-wrap:wrap}.customer-quotes .task-info{flex-basis:calc(100% - 70px)}}

.quote-line-total{display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:14px}.quote-line-total strong{color:var(--text);text-align:right}.quote-live-summary{padding:20px;margin:20px 0 26px;border:1px solid #7162af;border-radius:16px;background:linear-gradient(125deg,rgba(53,83,192,.16),rgba(128,64,188,.12))}.quote-live-summary>div{display:flex;justify-content:space-between;gap:16px;margin:10px 0}.quote-live-summary strong{font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere}.quote-live-summary .quote-grand-total{border-top:1px solid var(--line);padding-top:16px;font-size:20px}.quote-live-summary>p{font-size:12px;color:var(--muted);margin:12px 0 0}

.quote-validity{display:grid;gap:10px;margin:16px 0 24px}.quote-validity>span,.quote-validity>small{font-size:13px;color:var(--muted)}.quote-validity>div{display:flex;gap:8px;flex-wrap:wrap}.quote-validity [aria-pressed="true"]{background:#5540a1;border-color:#ae93f6;color:white}

.customer-contact-actions{margin:0 0 22px;display:flex;flex-wrap:wrap;gap:10px}#customer-wa-message{min-height:150px;resize:vertical}#customer-wa-open[aria-disabled="true"]{opacity:.45;cursor:not-allowed}

.quote-party{margin:0 0 24px;padding:16px 18px;border:1px solid #d9dcea;border-radius:10px;color:#222;break-inside:avoid}.quote-issuer{border-top:3px solid #494593}.quote-document .quote-party h3{margin:0 0 10px;font-size:11px;letter-spacing:1.5px;color:#494593}.quote-party-name{display:block;font-size:17px;margin-bottom:12px;overflow-wrap:anywhere}.quote-party dl{display:grid;grid-template-columns:1fr 1fr;gap:10px 22px;margin:0}.quote-party dl>div{min-width:0}.quote-party dt{font-size:10px;color:#626574;margin-bottom:3px}.quote-party dd{margin:0;font-size:12px;overflow-wrap:anywhere}.quote-recipient{background:#f7f8fc}@media screen and (max-width:500px){.quote-party dl{grid-template-columns:1fr}}

.finance-quote-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.finance-quote-stat{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:24px;gap:12px}.finance-quote-stat>strong{font-size:36px;line-height:1}.finance-quote-stat>small{color:var(--muted);min-height:36px}.finance-quote-amount{font-size:14px;overflow-wrap:anywhere}.finance-quote-stat:hover{border-color:#a482ee}.finance-quote-stat .settings-link{margin-top:auto}@media(max-width:850px){.finance-quote-overview{grid-template-columns:1fr}.finance-quote-stat>small{min-height:0}}

.quote-classic{padding:28px 22px;font-family:Arial,sans-serif;font-size:12px;line-height:1.5}.quote-classic-head{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:24px;break-inside:avoid}.quote-supplier{display:flex;align-items:flex-start;gap:16px;min-width:0}.quote-supplier>img{width:125px;height:auto;margin-top:5px}.quote-supplier>div,.quote-reference{min-width:0;overflow-wrap:anywhere}.quote-supplier-name{font-size:14px;display:block;margin-bottom:6px}.quote-number{border:1px solid #888;padding:12px 8px;margin-bottom:12px;color:#211867;font-size:13px}.quote-reference>div{margin-bottom:5px}.quote-document .quote-centered-title{text-align:center;color:#211867;margin:30px 0 8px;font-size:22px}.quote-subject{text-align:center;margin:0 0 28px}.quote-classic-client{margin-bottom:24px;break-inside:avoid}.quote-classic-client>div{margin:4px 0;overflow-wrap:anywhere}.quote-document .quote-classic-table{font-size:10px;table-layout:fixed}.quote-classic-table th:nth-child(2){width:27%}.quote-classic-table th,.quote-classic-table td{padding:6px 3px!important;overflow-wrap:anywhere}.quote-classic-table th{background:white;color:black;border-top:1px solid #222;border-bottom:2px solid #222}.quote-classic-table td{vertical-align:top}.quote-classic .quote-totals{font-size:12px}.quote-classic .quote-totals p:last-child{font-size:16px}.quote-classic h3{font-size:12px}.quote-classic .document-disclaimer{font-size:10px;margin-top:25px}@media screen and (max-width:600px){.quote-classic-head{grid-template-columns:1fr}.quote-supplier{flex-direction:column}.quote-classic{padding:18px 10px}.quote-classic-table{display:block;overflow-x:auto}.quote-classic-table th,.quote-classic-table td{min-width:65px}.quote-classic-table th:nth-child(2),.quote-classic-table td:nth-child(2){min-width:170px}}@media print{.quote-classic{padding:0}.quote-document .quote-classic-table{display:table;width:100%}.quote-line-numbers{grid-template-columns:repeat(4,1fr)}}

.quote-document .quote-classic-table{table-layout:auto}.quote-document .quote-classic-table th,.quote-document .quote-classic-table td{font-size:10px;line-height:1.4}.quote-document .quote-classic-table th:nth-child(n+4),.quote-document .quote-classic-table td:nth-child(n+4){white-space:nowrap;overflow-wrap:normal;text-align:right}.quote-classic-table th:nth-child(2){width:auto}

/* Header responds to the document width, including the narrow preview dialog. */
.quote-classic{container-type:inline-size}.quote-classic-head{grid-template-columns:minmax(0,1fr) 170px;gap:24px;padding-bottom:18px;border-bottom:1px solid #dcddea;align-items:start}.quote-supplier{display:grid;grid-template-columns:1fr;gap:12px}.quote-supplier>img{width:154px;max-width:100%;margin:0}.quote-supplier-name{font-size:15px;line-height:1.4;letter-spacing:.25px;text-transform:uppercase;margin-bottom:9px;text-wrap:balance}.quote-supplier>div>div{margin-top:4px;font-size:11px;line-height:1.5}.quote-reference{font-size:11px;line-height:1.6}.quote-reference>div{margin-bottom:7px}.quote-reference .quote-number{padding:12px;border:1px solid #c2c4d5;background:#f7f7fc;border-radius:4px;line-height:1.5;font-size:12px;margin-bottom:14px}.quote-document .quote-centered-title{margin-top:24px}.quote-subject{margin-bottom:24px}
@container (min-width:680px){.quote-supplier{grid-template-columns:120px minmax(0,1fr);gap:18px}.quote-supplier>img{width:120px;margin-top:3px}}
@container (max-width:440px){.quote-classic-head{grid-template-columns:1fr;gap:18px}.quote-reference{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px}.quote-reference .quote-number{grid-column:1/-1;margin-bottom:5px}.quote-supplier-name{text-wrap:initial}}

@media screen{#dialog.quote-preview-dialog{width:min(1020px,calc(100vw - 30px));max-width:calc(100vw - 30px)}.quote-preview-dialog .modal-body{padding:24px;background:#14121c}.quote-preview-dialog .quote-document{max-width:900px;margin:0 auto;box-shadow:0 8px 26px #0003}.quote-preview-dialog .modal-foot{max-width:900px;margin:20px auto 0;flex-wrap:wrap;gap:10px}.quote-preview-dialog .quote-classic-table th,.quote-preview-dialog .quote-classic-table td{font-size:11px}}
@media screen and (max-width:600px){.quote-preview-dialog .modal-body{padding:12px}.quote-preview-dialog .modal-foot .btn{flex:1 1 auto}}
@media print{#dialog.quote-preview-dialog{margin:0;padding:0;border-radius:0;overflow:visible}#dialog.quote-preview-dialog .modal-head,#dialog.quote-preview-dialog .modal-foot{display:none!important}#dialog.quote-preview-dialog .modal-body{padding:0;background:white}#dialog.quote-preview-dialog .quote-document{margin:0;max-width:none;box-shadow:none}}

.finance-quote-overview{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1150px){.finance-quote-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.finance-quote-overview{grid-template-columns:1fr}}

.business-preview-status{font-size:12px;color:var(--muted);margin:0 0 16px}.business-letterhead p{overflow-wrap:anywhere}

.quote-share-panel{max-width:900px;margin:24px auto 0;padding:22px;border:1px solid var(--line);border-radius:14px}.quote-share-panel h3{margin-top:0}.quote-share-panel>p{font-size:13px;line-height:1.6}.quote-share-panel summary{cursor:pointer;padding:12px 0}.quote-share-panel .form-grid{margin:14px 0}.quote-share-actions{display:flex;gap:12px;flex-wrap:wrap}.quote-share-panel a[aria-disabled="true"]{opacity:.45;cursor:not-allowed}.quote-share-recipient{overflow-wrap:anywhere}@media print{.quote-share-panel{display:none!important}}
/* Acta de entrega: portada, registro horizontal y fotografías. */
dialog:has(.acta-classic){width:min(1180px,96vw)}
.acta-classic{background:#eceef2;padding:16px;color:#182132;font-family:Arial,sans-serif;font-size:14px;line-height:1.55}
.acta-classic .acta-sheet{background:white;color:#182132;margin:0 auto 24px;padding:34px;box-shadow:0 2px 10px #0002;overflow-wrap:anywhere}
.acta-classic .acta-cover{max-width:790px;min-height:990px;display:flex;flex-direction:column}
.acta-classic .acta-landscape{max-width:1100px}
.acta-classic h2{font-size:19px;text-align:center;line-height:1.4;color:#182132;margin:22px 0 16px}
.acta-classic h3{color:#182132;font-size:15px;margin:16px 0 12px}
.acta-classic .business-letterhead{display:block;border-bottom:2px solid #22243a;padding:0 0 14px;column-count:2;column-gap:30px;font-size:11px;line-height:1.4}
.acta-classic .business-letterhead .business-logo{break-after:column;background:white;margin:0;padding:0;max-width:300px}
.acta-classic .business-letterhead img{width:100%;height:auto;object-fit:contain;max-height:85px}
.acta-classic .business-letterhead p{margin:2px 0}
.acta-classic .acta-date{text-align:right;margin-top:14px}.acta-classic .acta-stamp{text-align:center;font-size:11px;font-weight:bold;color:#535c71;letter-spacing:.7px}
.acta-classic .acta-totals{display:flex;flex-wrap:wrap;gap:6px 18px;background:#dfeaf4;border-top:2px solid #0074b9;padding:10px 12px;margin:14px 0;font-size:12px}
.acta-classic .report-signatures{margin-top:55px;gap:35px}.acta-classic .report-signatures div{color:#182132;border-color:#182132}
.acta-classic .acta-note{font-size:11px;margin-top:18px}
.acta-classic .acta-brand-footer{display:flex;justify-content:space-between;gap:18px;background:#22243a;color:white;font-size:10px;padding:14px 18px;margin-top:25px}
.acta-classic .acta-cover .acta-brand-footer{margin-top:auto}
.acta-classic .acta-brand-footer strong{color:white}.acta-classic .acta-brand-footer span{max-width:65%}
.acta-classic .acta-register{width:100%;table-layout:fixed;border-collapse:collapse;font-size:10px;line-height:1.4}
.acta-classic .acta-register th,.acta-classic .acta-register td{border:1px solid #bfd0df;padding:7px 5px;font-size:10px;vertical-align:top;white-space:pre-line;overflow-wrap:anywhere}
.acta-classic .acta-register th{background:#0074b9;color:white;font-weight:bold}.acta-classic .acta-register tr:nth-child(even) td{background:#f1f6fb}
.acta-classic .acta-register:not(.acta-components) th:nth-child(1){width:4%}.acta-classic .acta-register:not(.acta-components) th:nth-child(9){width:17%}
.acta-classic .acta-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.acta-classic figure{margin:0;break-inside:avoid}.acta-classic figure img{width:100%;height:410px;object-fit:contain}.acta-classic figcaption{font-size:11px;color:#182132;margin-top:10px}
@media screen and (max-width:760px){.acta-classic{overflow-x:auto}.acta-classic .acta-landscape{width:1050px}.acta-classic .acta-cover{min-width:600px}}
@page actaPortrait{size:letter portrait;margin:12mm}
@page actaLandscape{size:letter landscape;margin:10mm}
@media print{
 body>dialog:has(.acta-classic){position:static!important;overflow:visible!important;max-height:none!important;width:100%!important;margin:0!important;padding:0!important;border-radius:0!important}
 dialog:has(.acta-classic) .modal-head,dialog:has(.acta-classic) .modal-foot{display:none!important}
 dialog:has(.acta-classic) .modal-body{padding:0!important;overflow:visible!important}
 .acta-classic{padding:0!important;background:white!important;font-size:11px;line-height:1.4}
 .acta-classic .acta-sheet{width:auto!important;max-width:none!important;min-height:0;margin:0!important;padding:0!important;box-shadow:none!important;break-before:page}
 .acta-classic .acta-cover{page:actaPortrait;min-height:247mm;display:flex;break-before:auto}
 .acta-classic .acta-landscape{page:actaLandscape}
 .acta-classic .acta-register th{background:#0074b9!important;color:white!important}
 .acta-classic .acta-brand-footer,.acta-classic .acta-brand-footer strong{color:white!important;background:#22243a!important}
 .acta-classic .acta-register th,.acta-classic .acta-register td{font-size:8px!important;padding:5px 4px!important}
 .acta-classic thead{display:table-header-group}.acta-classic tr{break-inside:avoid}
 .acta-classic .acta-photo-grid img{height:140mm}
 .acta-classic,.acta-classic *{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}
.acta-classic .business-letterhead{column-count:auto;display:grid;grid-template-columns:45% 1fr;column-gap:28px;align-items:start}.acta-classic .business-letterhead .business-logo{grid-column:1;grid-row:1 / span 10;break-after:auto;max-width:none}.acta-classic .business-letterhead>p{grid-column:2}.acta-classic .business-letterhead img{max-height:none}.acta-classic .acta-legend,.acta-classic .acta-empty-photos{font-size:10px}.acta-classic .acta-empty-photos{background:white;padding:18px;margin:0}
@media print{html:has(.acta-classic),body:has(.acta-classic){background:white!important}.acta-classic .acta-register th,.acta-classic .acta-register td{padding:3px!important;line-height:1.25!important}.acta-classic .acta-landscape>.acta-brand-footer{display:none}.acta-classic .acta-register{break-after:avoid}.acta-classic .acta-empty-photos{page:actaLandscape;padding:10px 0;break-before:avoid}.acta-classic .acta-cover .business-letterhead{grid-template-columns:43% 1fr}}
@media print{html:has(.acta-classic),body:has(.acta-classic),.acta-classic{color-scheme:light!important}.acta-classic .acta-register th,.acta-classic .acta-register td{padding:1px 3px!important}.acta-classic .acta-totals{padding:6px 10px;margin:10px 0}.acta-classic .acta-landscape h3{margin:0 0 8px}.acta-classic .acta-landscape p{margin-bottom:8px}.acta-classic .business-letterhead img{padding:8px 2px;box-sizing:border-box}.acta-classic .acta-cover h2{font-size:17px}.acta-classic .acta-cover .business-letterhead{padding-top:6px}}

[data-diagnosis-custom][hidden]{display:none!important}
.photo-file-input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.equipment-photo-upload .btn{position:relative;cursor:pointer}.equipment-photo-upload .btn:focus-within{outline:2px solid #b88bff;outline-offset:3px}.equipment-photo-queue{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px}.equipment-photo-queue figure{margin:0;min-width:0}.equipment-photo-queue img{width:100%;height:110px;object-fit:cover;border-radius:8px}.equipment-photo-queue figcaption{font-size:12px;overflow-wrap:anywhere}

.user-password-wrap{width:100%}.user-password-wrap input{width:100%;padding-right:54px}
@media screen and (max-width:420px){#institution-result-form .component-row{grid-template-columns:minmax(0,1fr)}#institution-result-form .component-row>.field{min-width:0}#institution-result-form .component-row select{width:100%;min-height:48px}#institution-result-form .equipment-photo-upload .btn{min-height:48px;white-space:normal;text-align:center}#institution-result-form .modal-foot .btn{width:100%;white-space:normal}}

.workshop-budget{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.workshop-budget details{margin:16px 0}.workshop-budget details p{overflow-wrap:anywhere}.workshop-budget .details dd{overflow-wrap:anywhere}
.payment-receipt{background:#fff;color:#202a3e;padding:24px;font-size:12px;line-height:1.5}.payment-receipt h2,.payment-receipt h3{color:#222d59}.payment-receipt table{width:100%;table-layout:fixed}.payment-receipt th,.payment-receipt td{white-space:normal;overflow-wrap:anywhere;padding:7px 10px;border-bottom:1px solid #ddd;color:#202a3e}.payment-receipt th{background:#edf0f8;width:42%;text-align:left}.payment-receipt-amount{font-size:18px;border-block:2px solid #283964;padding:12px 0}.payment-receipt-cancelled{border:2px solid #9b2335;padding:12px;color:#9b2335}.payment-receipt .document-disclaimer{font-size:10px;margin-top:20px}@media print{.payment-receipt{padding:0}.payment-receipt tr,.payment-receipt-amount,.payment-receipt-cancelled{break-inside:avoid}}
.workshop-balance-row{width:100%;gap:20px;text-align:left;flex-wrap:wrap}
.workshop-balance-row .task-info{min-width:180px;flex:1;overflow-wrap:anywhere}
.workshop-balance-money{display:flex;flex-direction:column;gap:6px;text-align:right;max-width:100%;overflow-wrap:anywhere}
@media(max-width:600px){.workshop-balance-money{text-align:left;width:100%}#workshop-balances .toolbar{flex-direction:column;align-items:stretch}}
.workshop-payment-report-document .payment-report-entries{font-size:10px}.workshop-payment-report-document .payment-report-entries th{width:auto}.workshop-payment-report-document .payment-report-entries th:first-child{width:23%}.workshop-payment-report-document .payment-report-entries th:nth-child(2){width:25%}.workshop-payment-report-document .payment-report-entries th:nth-child(4){width:18%}.workshop-payment-report-document .payment-report-entries td[colspan]{background:#f7f8fc;font-size:9px;padding-bottom:12px}.workshop-payment-report-document thead{display:table-header-group}
@media screen and (max-width:600px){#workshop-delivery-form .form-grid{grid-template-columns:minmax(0,1fr)}#workshop-delivery-form input,#workshop-delivery-form textarea{font-size:16px;min-height:48px}#workshop-delivery-form .modal-foot{flex-direction:column;align-items:stretch}#workshop-delivery-form .modal-foot .btn{width:100%;min-height:48px;white-space:normal}}
.reception-customer-search small{display:block}.reception-customer-search [role=status]{font-size:13px;margin-top:8px}.reception-customer-match{display:flex;flex-direction:column;gap:5px;text-align:left;width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;margin-top:6px;min-height:48px;white-space:normal;overflow-wrap:anywhere}.reception-customer-match:hover,.reception-customer-match:focus-visible{background:var(--surface);outline:2px solid #b88bff}.reception-customer-match small{opacity:.8}@media(max-width:600px){#reception-customer-search{font-size:16px;min-height:48px}}

/* Workshop intake: continuous sections and mobile-friendly controls. */
#order-form .intake-heading{border-top:1px solid var(--border,#443653);padding-top:18px;margin-top:8px}#order-form .intake-heading h3{margin:0 0 8px}#order-form .intake-heading p{margin:0;color:var(--muted,#b8aac8);line-height:1.5}#order-form .brand-selection{grid-column:auto;display:flex;gap:10px;align-items:center}#order-form #brand-preview{flex:0 0 auto}#order-form .brand-logo.large{width:76px;height:58px;min-width:76px;padding:8px;margin-right:0;border-radius:12px}#order-form .brand-selection .field{min-width:0;flex:1}.intake-photo-inputs{display:grid;grid-template-columns:1fr 1fr;gap:16px}#intake-photos img{width:100%;max-height:160px;object-fit:contain}#order-form input,#order-form select{min-height:44px;min-width:0}#order-form .notice{overflow-wrap:anywhere}.intake-record dd{overflow-wrap:anywhere}@media(max-width:600px){.intake-photo-inputs{grid-template-columns:1fr}#order-form input,#order-form select,#order-form textarea{font-size:16px}}


.brand-combobox{position:relative;display:block;width:100%;min-width:0}.brand-combobox input{width:100%;padding-right:44px!important}.brand-dropdown-toggle{position:absolute;right:2px;top:2px;width:40px;height:calc(100% - 4px);border:0;background:transparent;color:inherit;cursor:pointer;border-radius:10px}.brand-options{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:30;max-height:220px;overflow:auto;background:#21182f;border:1px solid #806797;border-radius:10px;box-shadow:0 8px 20px #0006}.brand-options[hidden]{display:none}.brand-options button{display:block;width:100%;padding:12px;text-align:left;background:transparent;color:#eee;border:0;cursor:pointer}.brand-options button:hover,.brand-options button:focus{background:#48305e;outline:2px solid #ba84ee;outline-offset:-2px}.brand-empty{display:block;padding:12px;font-size:13px}

#intake-accessory-fields[hidden]{display:none}#intake-accessory-fields{margin:0;padding:0}

.intake-review h3{margin:0 0 10px}.intake-review-list{margin:12px 0}.intake-review-list>div{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,2fr);gap:12px;padding:8px 0;border-bottom:1px solid #ffffff18}.intake-review-list dt{font-weight:600}.intake-review-list dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.intake-review-pending{margin-top:16px}.intake-review-pending li{margin:8px 0}.intake-review-pending .link{text-align:left;white-space:normal}@media(max-width:420px){.intake-review-list>div{grid-template-columns:1fr;gap:4px}}

#order-form .field[hidden]{display:none}.brand-dropdown-toggle:disabled{opacity:.35;cursor:default}

#intake-photos figcaption{display:grid;gap:10px}#intake-photos input{width:100%;box-sizing:border-box}#intake-photos .btn{justify-self:start}

:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document){background:#fff;color:#202a3e;font-family:Arial,sans-serif;font-size:12px;line-height:1.4;padding:24px}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) h2,:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) h3{color:#202a3e}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) .intake-record{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) .intake-record>div{padding:4px 0;margin:0;break-inside:avoid}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) .intake-record dt{font-size:10px;color:#4c5666;margin:0 0 2px}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) .intake-record dd{font-size:12px;color:#172133;margin:0}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) .business-letterhead{color:#202a3e}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) .report-signatures{color:#202a3e;break-inside:avoid}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) .report-signatures div{border-color:#202a3e}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) p{white-space:pre-wrap;overflow-wrap:anywhere}.reception-reference{border-bottom:1px solid #aeb8c6;padding-bottom:8px}
@media print{html:has(:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document)),body:has(:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document)){background:white!important;color-scheme:light!important}body>dialog:has(:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document)){position:static!important;inset:auto!important;transform:none!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;background:white!important;color:#202a3e!important;border:0!important;border-radius:0!important}dialog:has(:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document)) .modal-head,dialog:has(:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document)) .modal-foot{display:none!important}dialog:has(:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document)) .modal-body{overflow:visible!important;max-height:none!important;padding:0!important;background:white!important}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document){padding:0;font-size:11px}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) h2{font-size:19px;margin:12px 0 8px}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) h3{font-size:12px;margin:12px 0 5px}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) .intake-record{gap:3px 20px}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) .intake-record dd{font-size:11px}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) .business-letterhead{margin-bottom:10px;padding-bottom:10px}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) .business-letterhead p{margin:2px 0}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) .report-signatures{margin-top:38px}:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) .business-letterhead,.reception-reference{break-inside:avoid}}

@media print{dialog:has(:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document))::backdrop{display:none!important;background:white!important;backdrop-filter:none!important}dialog:has(:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document)) #dialog-content{background:white!important;border:0!important;box-shadow:none!important}body:has(:is(.reception-receipt,.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document)){margin:0!important;padding:0!important}}

.order-lifecycle-filters{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 10px}.order-lifecycle-filters [aria-pressed=true]{background:#493366;border-color:#b583ee;color:#fff}.order-lifecycle-filters strong{margin-left:6px}

:is(.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) table{width:100%;border-collapse:collapse;table-layout:fixed}:is(.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) th,:is(.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) td{padding:5px 8px!important;color:#202a3e;background:white;white-space:normal;overflow-wrap:anywhere;border-bottom:1px solid #d9dce3;text-align:left;font-size:11px}:is(.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) th{width:36%;background:#f2f4f8}:is(.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) tr{break-inside:avoid}.delivery-receipt .document-disclaimer{font-size:10px;margin-top:20px}

@media print{:is(.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) table{display:table!important;width:100%!important}:is(.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) tbody{display:table-row-group!important}:is(.delivery-receipt,.workshop-payment-receipt,.workshop-budget-document) tr{display:table-row!important}}
.receipt-whatsapp-panel{min-width:0;overflow-wrap:anywhere}.receipt-whatsapp-panel .btn{max-width:100%;white-space:normal;text-align:center;min-height:44px}.receipt-whatsapp-panel .modal-foot{flex-wrap:wrap;gap:10px}.receipt-whatsapp-panel textarea{width:100%;min-width:0}.receipt-whatsapp-panel [aria-disabled=true]{opacity:.5;cursor:default}
@media screen and (max-width:480px){.receipt-whatsapp-panel .btn{width:100%}.receipt-whatsapp-panel ol{padding-left:22px}.receipt-whatsapp-panel li{margin-bottom:8px}}
.receipt-whatsapp-panel input[type=checkbox]{width:20px;height:20px;min-height:0;vertical-align:middle;margin-right:8px}
.purchase-line{min-width:0;margin:0 0 16px;padding:16px;border:1px solid var(--line);border-radius:12px}.purchase-line select{max-width:100%}.purchase-detail{overflow-wrap:anywhere}
@media(max-width:480px){#purchase-form .form-grid{grid-template-columns:minmax(0,1fr)}#purchase-form .btn{white-space:normal;max-width:100%}#purchase-form .modal-foot{flex-wrap:wrap}}

#purchase-history-panel{min-width:0;overflow-wrap:anywhere}#purchase-history-panel .field{min-width:0}#purchase-history-panel input,#purchase-history-panel select{min-width:0;max-width:100%}#purchase-history-panel .modal-foot{flex-wrap:wrap}
@media(max-width:480px){#purchase-history-panel .form-grid{grid-template-columns:minmax(0,1fr)}}

.budget-quick{margin:18px 0 24px;padding:22px;border:1px solid #8864be;background:linear-gradient(120deg,#251b39,#171324)}.budget-quick h2{margin:0 0 12px}.budget-quick-amounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.budget-quick-amounts dt{font-size:.9rem;color:#c5b5db}.budget-quick-amounts dd{margin:6px 0 0;font-size:1.25rem;font-weight:700;overflow-wrap:anywhere}.budget-quick-actions{display:flex;gap:12px;flex-wrap:wrap}.budget-quick .subtitle{line-height:1.5}@media(max-width:700px){.budget-quick-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-quick-actions .btn{width:100%;white-space:normal}.budget-quick{padding:16px}}
/* Workshop detail: scoped organization of the service workflow. */
.order-workspace{display:grid;gap:20px;min-width:0}.order-workspace>.panel{margin:0}.order-section-nav{display:flex;flex-wrap:wrap;gap:8px}.order-section-nav button{font:inherit;color:inherit;background:#211a30;border:1px solid #493957;border-radius:24px;padding:10px 16px;cursor:pointer}.order-section-nav button:hover,.order-section-nav button:focus-visible{border-color:#b887ff;background:#342346}.order-main-grid{align-items:start;gap:20px}.order-main-grid>.panel{min-width:0;margin:0}.order-section-label{font-size:.75rem;letter-spacing:.12em;font-weight:700;color:#bca7d8;margin:0 0 8px}.order-workspace h2{margin-top:0}.order-workspace h3{margin-top:0}.order-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.order-actions .btn{white-space:normal}.order-history{margin-top:20px;border-top:1px solid #44344e;padding-top:16px}.order-history summary{cursor:pointer;font-weight:600;padding:6px 0}.order-history[open] summary{margin-bottom:12px}.order-evidence{margin-top:22px}.order-evidence>section,.order-evidence>.panel{margin:0}.order-workspace #order-diagnosis>section.panel{margin:20px 0 0;padding:16px}.order-workspace .budget-quick-amounts{grid-template-columns:repeat(2,minmax(0,1fr));max-width:650px}.order-workspace .budget-quick{padding:20px}.order-workspace #workshop-budget>.btn{margin:6px 8px 6px 0;white-space:normal}.order-workspace #workshop-payments>.workshop-budget{margin:0;padding:0;border:0}.order-delivery{border-top:1px solid #44344e;margin-top:22px;padding-top:22px}.order-workspace [id]{scroll-margin-top:24px}.order-workspace .details dd{overflow-wrap:anywhere}.order-workspace .field{min-width:0}.order-workspace textarea{min-height:130px}@media(max-width:850px){.order-main-grid{grid-template-columns:1fr}.order-section-nav{display:grid;grid-template-columns:1fr 1fr}.order-section-nav button{font-size:.9rem;padding:10px}}@media(max-width:480px){.order-workspace{gap:14px}.order-workspace>.panel,.order-main-grid>.panel{padding:16px}.order-actions .btn{width:100%}.order-workspace .budget-quick-amounts{gap:12px}.order-workspace .budget-quick-amounts dd{font-size:1.1rem}}
.order-workspace>#workshop-budget,.order-workspace>.order-handover,.order-workspace>.panel:not(.budget-quick){padding:24px}.order-section-nav button{color:#eee5ff}.order-workspace .budget-quick{color:#eee5ff}@media(max-width:480px){.order-workspace>#workshop-budget,.order-workspace>.order-handover,.order-workspace>.panel:not(.budget-quick){padding:16px}}
/* Evidence and stock sit below the main columns, avoiding a tall empty side. */
.order-resources{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:20px;align-items:start}.order-resources>.order-evidence{margin:0;min-width:0}.order-resources>.panel{margin:0;padding:24px;min-width:0}.order-resources>.panel .btn{display:flex;margin-top:12px;white-space:normal}.order-resources>.order-evidence:only-child{grid-column:1/-1}@media(max-width:850px){.order-resources{grid-template-columns:1fr}}@media(max-width:480px){.order-resources>.panel{padding:16px}}
.payment-overview{padding:18px;border:1px solid #53465f;border-radius:16px;margin:12px 0 18px;background:#ffffff04}.payment-state{display:inline-flex;border:1px solid #9683af;background:#30253e;color:#eee5ff;padding:6px 12px;border-radius:20px;font-weight:700}.payment-overview--full .payment-state{background:#163e2c;border-color:#5da980;color:#a0efbd}.payment-overview--partial .payment-state{background:#483018;border-color:#d9a656;color:#ffd28c}.payment-overview p{margin:12px 0;color:#cfbfdc;line-height:1.5}.payment-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0 0}.payment-totals dt{font-size:.88rem;color:#c5b5db}.payment-totals dd{margin:6px 0 0;font-size:1.2rem;font-weight:700;overflow-wrap:anywhere}.payment-overview--full .payment-totals>div:last-child dd{color:#a0efbd}.payment-overview--partial .payment-totals>div:last-child dd{color:#ffd28c}@media(max-width:550px){.payment-totals{grid-template-columns:1fr;gap:12px}.payment-totals>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.payment-totals dd{font-size:1.05rem;text-align:right}.payment-overview{padding:14px}}
.order-workspace [hidden]{display:none!important}.order-main-grid{display:contents}.order-workspace .order-resources{margin-top:24px}.order-section-nav [aria-selected="true"]{background:#345ce4;border-color:#7695ff;color:#fff;box-shadow:0 0 0 1px #7695ff}.order-section-nav [role="tab"]{border-radius:12px}.order-workspace [data-order-related]>.panel{padding:24px;margin:0}
.order-section-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px;background:#110e1c;border:1px solid #453353;border-radius:18px;counter-reset:stage}.order-section-nav [role=tab]{display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;border:1px solid transparent;background:transparent;font-weight:600;color:#c7b6da;transition:background .15s,border-color .15s}.order-section-nav [role=tab]::before{counter-increment:stage;content:counter(stage);display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;border-radius:50%;background:#ffffff0d;color:#c7b6da;font-size:.82rem}.order-section-nav [aria-selected=true]{background:linear-gradient(120deg,#3158d8,#6145b6);border-color:#9a8bea;box-shadow:0 3px 12px #0003;color:#fff}.order-section-nav [aria-selected=true]::before{background:#ffffff24;color:#fff}.order-section-nav [role=tab]:focus-visible{outline:3px solid #c493ff;outline-offset:2px}@media(max-width:750px){.order-section-nav{grid-template-columns:1fr 1fr}.order-section-nav [role=tab]{justify-content:flex-start;min-height:52px;padding:10px;font-size:.85rem}}
.order-section-nav [role=tab]{min-width:0;white-space:normal;overflow-wrap:anywhere}@media(max-width:380px){.order-section-nav{gap:4px;padding:5px}.order-section-nav [role=tab]{gap:6px;padding:8px 6px}.order-section-nav [role=tab]::before{width:22px;height:22px}}
.order-section-nav button[role="tab"][aria-selected="true"],.order-section-nav button[role="tab"][aria-selected="true"]:hover{background:linear-gradient(120deg,#3158d8,#6145b6);border-color:#9a8bea;color:#fff;box-shadow:0 3px 12px #0003}
/* Reception sheet: clear hierarchy, compact facts and grouped document actions. */
#order-intake .intake-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:22px;border-bottom:1px solid #ffffff0d}#order-intake .intake-heading h2{font-size:1.35rem;margin:0}#order-intake .intake-history-link{font-size:.85rem;white-space:normal;text-align:left}#order-intake .intake-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}#order-intake .intake-facts>div{padding:16px 18px;background:#ffffff03;border:1px solid #ffffff0b;border-radius:12px;min-width:0}#order-intake .intake-facts dt{font-size:.76rem;color:#b6a3c7;margin-bottom:9px}#order-intake .intake-facts dd{margin:0;font-size:.94rem;line-height:1.55;color:#f1e8fa;overflow-wrap:anywhere}#order-intake .intake-facts .link{padding:0;text-align:left;font-weight:650;line-height:inherit}#order-intake .intake-issue{display:flex;gap:15px;align-items:flex-start;background:linear-gradient(110deg,#32203d66,#21192b);border:1px solid #9970bd44;border-left:3px solid #b888e4;border-radius:12px;padding:20px}#order-intake .intake-issue-icon{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;background:#b888e417;border-radius:10px;color:#cba5f0}#order-intake .intake-issue h3{font-size:.92rem;margin:0 0 8px;color:#d8bbee}#order-intake .intake-issue p{margin:0;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}#order-intake .order-history{border:1px solid #ffffff0c;border-radius:12px;padding:12px 16px;margin-top:18px}#order-intake .order-history summary{font-size:.88rem}#order-intake .intake-document-actions{padding-top:20px;margin-top:20px;border-top:1px solid #ffffff0d;gap:12px}#order-intake .intake-document-actions .btn{border-radius:12px}.order-workspace .intake-portal{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(110deg,#1b1529,#15111d)}.order-workspace .intake-portal h2{font-size:1.1rem;margin:0 0 8px}.order-workspace .intake-portal p:not(.order-section-label){margin:0;color:#bfaecc;font-size:.88rem;line-height:1.5}.order-workspace .intake-portal .btn{flex-shrink:0;border-radius:12px}@media(max-width:900px){#order-intake .intake-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){#order-intake .intake-heading,.order-workspace .intake-portal{align-items:stretch;flex-direction:column;gap:14px}#order-intake .intake-facts{grid-template-columns:1fr;gap:8px}#order-intake .intake-facts>div{padding:12px 14px}#order-intake .intake-issue{padding:15px;gap:10px}#order-intake .intake-issue-icon{width:30px;height:30px}.order-workspace .intake-portal .btn{white-space:normal}}
/* Customer directory: distinguish identity, contact and reception history. */
.customer-directory table{table-layout:fixed;width:100%}.customer-directory th:first-child{width:40%}.customer-directory th:nth-child(2){width:30%}.customer-directory th:nth-child(3){width:15%}.customer-directory th:last-child{width:15%}.customer-directory td{padding:22px 20px;vertical-align:middle;overflow-wrap:anywhere}.customer-directory th{padding:16px 20px}.customer-list-identity{display:flex;align-items:center;gap:14px}.customer-list-identity>div{min-width:0}.customer-list-avatar{width:42px;height:42px;flex-shrink:0;display:grid;place-items:center;border-radius:13px;background:#7653bb26;border:1px solid #ad80ec30;color:#dabcf9;font-weight:700}.customer-list-identity .link{padding:0;display:block;text-align:left;line-height:1.55}.customer-list-document{display:block!important;margin-top:6px;color:#bba8cc}.customer-list-contact{display:grid;gap:10px;line-height:1.45}.customer-list-contact>span{display:block}.customer-list-contact small{display:block;color:#a995bc;font-size:.72rem;margin-bottom:2px}.customer-list-count{display:inline-block;padding:7px 10px;background:#ffffff05;border:1px solid #ffffff10;border-radius:9px;color:#d6c5e6;font-size:.8rem}.customer-list-action .btn{border-radius:11px;white-space:normal}.customer-action-heading{font-size:.75rem}@media(max-width:750px){.customer-directory{overflow:visible}.customer-directory table,.customer-directory tbody,.customer-directory tr,.customer-directory td{display:block;width:100%}.customer-directory thead{display:none}.customer-directory tr{padding:18px;border-bottom:1px solid #ffffff12}.customer-directory tr:last-child{border-bottom:0}.customer-directory td{padding:0;border:0;margin-bottom:16px}.customer-directory td:last-child{margin-bottom:0}.customer-list-contact{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:12px;padding-top:14px;border-top:1px solid #ffffff0c}.customer-list-action .btn{width:100%}.customer-directory td.empty{padding:16px}.customer-list-avatar{width:36px;height:36px}}@media(max-width:380px){.customer-list-contact{grid-template-columns:1fr}}
/* Consistent stage styling for technical work, budget and handover. */
.order-workspace #order-diagnosis>h2,.order-workspace #workshop-budget>h2,.order-workspace #order-handover>h2{font-size:1.35rem;margin:0 0 10px}.stage-description{color:#bca9cd;font-size:.9rem;line-height:1.6;margin:0 0 24px}.diagnosis-assignment{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:18px;background:#ffffff03;border:1px solid #ffffff0c;border-radius:14px;margin-bottom:22px}.diagnosis-assignment .field{display:grid;gap:9px;align-content:start;margin:0}#order-diagnosis>.field{display:grid;gap:10px}#order-diagnosis #technical-note{min-height:180px;line-height:1.65;padding:18px}#order-diagnosis>.order-actions{border-top:1px solid #ffffff0c;padding-top:18px;margin-top:20px}#order-diagnosis .btn,#workshop-budget .btn,#order-handover .btn{border-radius:12px}#order-diagnosis>.order-history,.stage-history{border:1px solid #ffffff0c;border-radius:12px;padding:14px 16px;margin-top:20px}.stage-history summary{cursor:pointer;font-size:.9rem;font-weight:600}.stage-history[open] summary{margin-bottom:16px}.stage-history .notice{margin:12px 0;padding:18px}.stage-history .btn{margin:6px 8px 0 0}#order-diagnosis .order-resources{padding-top:22px;border-top:1px solid #ffffff0c}.budget-status-label{display:inline-flex;padding:7px 12px;border-radius:9px;background:#7952b41a;border:1px solid #ac83d43d;color:#ddc4f4;font-size:.85rem;font-weight:600}#workshop-budget .budget-breakdown{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}#workshop-budget .budget-breakdown>div{background:#ffffff03;border:1px solid #ffffff0c;padding:18px;border-radius:12px;min-width:0}#workshop-budget .budget-breakdown dt{font-size:.78rem;line-height:1.5}#workshop-budget .budget-breakdown dd{margin:12px 0 0;font-size:1.2rem;font-weight:650}#workshop-budget .budget-breakdown>div:last-child{background:#5d47a823;border-color:#aa8fe756}.budget-scope,.budget-response{padding:18px 20px;margin:16px 0;border:1px solid #ffffff0c;border-radius:12px;background:#ffffff02}.budget-scope h3,.budget-response h3{font-size:.88rem;color:#d8bbee;margin:0 0 9px}.budget-scope p,.budget-response p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.6}.budget-document-actions{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid #ffffff0c;padding-top:20px;margin-top:20px}.budget-document-actions .btn{white-space:normal}#workshop-budget>.subtitle{margin:18px 0;line-height:1.65}#order-handover #workshop-payments{margin-top:24px}#order-handover #workshop-payments h3{font-size:1.05rem}#order-handover #workshop-payments h3+p{max-width:820px;font-size:.9rem;line-height:1.6;color:#bfaecc}#order-handover .order-delivery{padding:22px;border:1px solid #a57bcb30;background:linear-gradient(120deg,#261b3366,#16121f);border-radius:14px;margin-top:24px}#order-handover .order-delivery h3{font-size:1.05rem}#order-handover .order-delivery p{line-height:1.6;color:#cfbfdf;font-size:.9rem}#order-handover .payment-overview{margin:20px 0}#order-handover .subtitle{line-height:1.6}@media(max-width:900px){#workshop-budget .budget-breakdown{grid-template-columns:1fr 1fr}}@media(max-width:600px){.diagnosis-assignment{grid-template-columns:1fr;padding:14px}.budget-document-actions .btn{width:100%}#workshop-budget .budget-breakdown{grid-template-columns:1fr}#workshop-budget .budget-breakdown>div{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:14px}#workshop-budget .budget-breakdown dd{margin:0;font-size:1.05rem;text-align:right}#order-handover .order-delivery{padding:16px}.stage-history .btn{white-space:normal}}
.diagnosis-assignment>.field.wide{grid-column:auto}
.order-date-fields{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:16px;margin:22px 0 14px}.order-date-fields .field{display:grid;gap:8px}.order-dates{display:grid;gap:7px;min-width:155px}.order-dates small{display:block}.due-tag{display:inline-flex;justify-self:start;padding:6px 10px;border-radius:8px;font-size:.8rem;border:1px solid #9786b644;background:#7b69aa18;color:#d3c3ea}.due-tag--urgent{color:#ffb4b4;background:#902d3038;border-color:#e2747470;font-weight:700}.due-tag--closed{color:#a0d8b8;background:#22543a33}.due-tag--unset{color:#ac9dbb}@media(max-width:700px){.order-date-fields{grid-template-columns:1fr}.order-date-fields .btn{width:100%}}
.device-password-input{display:flex;align-items:center;position:relative}.device-password-input input{width:100%;padding-right:58px}.device-password-input .btn{position:absolute;right:7px;padding:8px;border:0;background:transparent}.order-access-card{padding:18px;border:1px solid #ffffff12;background:#ffffff03;border-radius:12px;margin-top:20px}.order-access-card h3{font-size:.95rem;margin:0 0 8px}.order-access-card p{color:#bfaecc;font-size:.88rem}.field[hidden]{display:none!important}

.business-payment-qr{display:block;width:100%;max-width:300px;height:auto;margin:16px auto;border-radius:12px}

.budget-portal-card{margin-top:24px;padding:22px;border:1px solid #8a76d766;border-radius:16px;background:linear-gradient(120deg,#39275355,#17283b55)}.budget-portal-card h3{margin:6px 0 10px}.budget-portal-card p{line-height:1.6}.budget-portal-card .btn{margin-top:12px}@media(max-width:600px){.budget-portal-card .btn{width:100%;white-space:normal}}
/* Institutional visit: equipment-focused room workspace. */
.institutional-visit-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start}.visit-equipment-panel{padding:24px;min-width:0}.visit-equipment-panel>.panel-head{padding:0 0 20px;gap:16px;flex-wrap:wrap}.visit-equipment-panel>.toolbar{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:16px}.visit-equipment-panel .field{min-width:0}.visit-equipment-panel .visit-room-group{margin:18px 0;padding:20px;border-radius:18px;background:#a78bfa05}.visit-room-progress{display:block;width:100%;height:6px;margin:16px 0 4px;accent-color:#b394f5;border:0;border-radius:9px;overflow:hidden;background:#30263f}.visit-room-progress::-webkit-progress-bar{background:#30263f}.visit-room-progress::-webkit-progress-value{background:#ad8fe9}.visit-device-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:16px;margin-top:20px}.visit-device-card{min-width:0;padding:20px;border:1px solid #a68ac32e;border-radius:16px;background:linear-gradient(145deg,#20192c,#14101d);display:flex;flex-direction:column;gap:16px}.visit-device-card[data-ready=yes]{border-color:#61c9a54d}.visit-device-top{display:flex;align-items:center;gap:14px}.visit-device-top>div{min-width:0}.visit-device-icon{display:grid;place-items:center;flex-shrink:0;width:58px;height:58px;border-radius:15px;background:#a78bfa18;color:#c4b0ff}.visit-device-icon svg{width:38px;height:38px;stroke-width:1.5}.visit-device-icon[data-device-kind=laptop]{background:#5fb9e51c;color:#8fd5f7}.visit-device-icon[data-device-kind=aio]{background:#f59d4917;color:#ffbd7a}.visit-device-type{font-size:12px;color:#b6a8c9}.visit-device-top h3{font-size:17px;margin:5px 0;overflow-wrap:anywhere}.visit-device-top p{font-size:13px;margin:0;color:#c3b9d0;overflow-wrap:anywhere}.visit-review-state{align-self:flex-start;font-size:12px;padding:6px 10px;border-radius:20px;background:#ae87ed15;color:#d1bef2}.visit-review-state.is-ready{background:#55c59e16;color:#8ee0ba}.visit-device-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}.visit-device-facts dt{font-size:11px;color:#b3a5c7}.visit-device-facts dd{margin:5px 0 0;font-size:13px;overflow-wrap:anywhere}.visit-device-condition{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;color:#bfb2cf}.visit-device-notes{border-top:1px solid #b59acf20;padding-top:14px;font-size:13px;overflow-wrap:anywhere}.visit-device-notes summary{cursor:pointer;color:#d6c5ed}.visit-device-notes p{line-height:1.6}.visit-device-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto}.visit-device-actions .btn{min-height:44px;justify-content:center;white-space:normal}.visit-device-actions .primary{flex:1}.visit-room-group>.toolbar{flex-wrap:wrap;gap:10px;margin-top:20px}.visit-device-card[hidden]{display:none!important}@media(max-width:1200px){.institutional-visit-layout{grid-template-columns:1fr}.institutional-visit-layout>.detail-panel{max-width:none}}@media(max-width:600px){.visit-equipment-panel{padding:16px}.visit-equipment-panel>.toolbar{grid-template-columns:1fr}.visit-equipment-panel .visit-room-group{padding:14px}.visit-device-card{padding:16px}.visit-device-grid{grid-template-columns:1fr}.visit-device-actions .btn{width:100%}.visit-room-group>.toolbar .btn{white-space:normal}}
/* Room overview: clear identity, result counts and progress. */
.visit-equipment-panel .visit-room-group{position:relative;border:1px solid #aa8cd53b;background:linear-gradient(120deg,#241b3299,#15111e);box-shadow:0 8px 24px #00000012;transition:border-color .18s,box-shadow .18s}.visit-equipment-panel .visit-room-group:hover{border-color:#b591ef80;box-shadow:0 10px 30px #00000024}.visit-equipment-panel .visit-room-group[open]{border-color:#a17cd58c}.visit-room-group>.room-overview{list-style:none;outline-offset:8px}.room-overview::-webkit-details-marker{display:none}.visit-room-group>.room-overview span{margin:0;font-size:inherit}.room-overview-head{display:flex!important;align-items:center;gap:16px}.room-symbol{display:grid!important;place-items:center;width:58px;height:58px;flex:0 0 58px;border-radius:17px;background:linear-gradient(145deg,#b797ff30,#9468cf0c);border:1px solid #c1a4f133;color:#d5bdff;box-shadow:inset 0 1px 0 #ffffff0d}.room-symbol svg{width:32px;height:32px;stroke-width:1.5}.room-title-block{min-width:0;flex:1}.visit-room-group .room-site{color:#c6a7f1;font-size:11px!important;letter-spacing:.1em;text-transform:uppercase;overflow-wrap:anywhere}.visit-room-group>.room-overview .room-title-block>strong{display:block;font-size:22px;line-height:1.3;margin:4px 0 6px;color:#f4edff}.visit-room-group .room-teacher{font-size:12px!important;color:#b9adca;overflow-wrap:anywhere}.room-toggle{display:grid!important;place-items:center;width:34px;height:34px;border:1px solid #b799d52e;border-radius:50%;color:#cbb3ed;flex-shrink:0;transition:transform .2s}.visit-room-group[open] .room-toggle{transform:rotate(90deg);background:#ac83e41a}.room-counts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0!important}.room-counts>span{padding:12px 14px;border:1px solid #a58bbc20;border-radius:12px;background:#0d0a1480;font-size:12px!important;color:#bdb0cf}.room-counts b{display:block;font-size:23px;line-height:1.3;color:#eee5fc;margin-bottom:3px;font-variant-numeric:tabular-nums}.room-counts .room-done b{color:#8bdfb6}.room-counts .room-pending b{color:#f7bd7a}.room-progress-caption{display:flex!important;justify-content:space-between;gap:12px;color:#ab9cbe;font-size:11px!important}.visit-room-group>.room-overview .room-progress-caption strong{font-size:12px;color:#d7c2f5}.room-overview .visit-room-progress{margin:8px 0 12px;height:5px}.visit-room-group .room-open-hint{font-size:11px!important;color:#bba1db}.room-hint-open{display:none!important}.visit-room-group[open] .room-hint-closed{display:none!important}.visit-room-group[open] .room-hint-open{display:block!important}@media(max-width:600px){.room-overview-head{gap:12px}.room-symbol{width:46px;height:46px;flex-basis:46px;border-radius:13px}.room-symbol svg{width:28px;height:28px}.visit-room-group>.room-overview .room-title-block>strong{font-size:20px}.room-counts{gap:6px;margin:16px 0!important}.room-counts>span{padding:10px 7px;font-size:10px!important}.room-counts b{font-size:21px}.room-toggle{width:28px;height:28px}}
/* Single equipment review: fixed actions and a scrolling working area. */
dialog:has(#institution-result-form){width:820px;max-width:calc(100vw - 24px);height:min(900px,92dvh);max-height:92dvh;overflow:hidden;padding:0}dialog:has(#institution-result-form) #dialog-content{height:100%;display:flex;flex-direction:column;min-height:0}dialog:has(#institution-result-form) .modal-head{flex-shrink:0;padding:20px 24px}dialog:has(#institution-result-form) .modal-body{display:flex;flex-direction:column;overflow:hidden;min-height:0;flex:1;padding:0}#institution-result-form{display:flex;flex-direction:column;min-height:0;flex:1}#institution-result-form>.form-grid{display:flex;flex-direction:column;gap:18px;overflow-y:auto;min-height:0;padding:22px 24px;scroll-padding:20px}#institution-result-form>.modal-foot{flex-shrink:0;margin:0;padding:16px 24px;background:#1c1528;border-top:1px solid #b99ae33d;align-items:center;gap:12px;box-shadow:0 -8px 24px #0002}#institution-result-form>.form-error{flex-shrink:0;margin:0;padding:0 24px;background:#1c1528}#institution-result-form>.form-error:not(:empty){padding-top:10px;padding-bottom:10px}.review-save-status{flex:1;font-size:12px;color:#d4b5ff}.review-equipment-heading{display:flex;gap:14px;align-items:center;padding:16px;background:linear-gradient(110deg,#aa80e71c,#64c2e908);border:1px solid #af91d42e;border-radius:16px}.review-equipment-heading>div{min-width:0;display:grid;gap:4px}.review-equipment-heading strong{font-size:19px;color:#f2eaff}.review-equipment-heading span,.review-equipment-heading small{font-size:12px;color:#bfb1d2;overflow-wrap:anywhere}#institution-result-form>.form-grid>.notice{margin:0;padding:12px 16px;font-size:12px;line-height:1.6}#institution-result-form h3{font-size:17px;margin:0 0 10px}#institution-result-form section>p{font-size:13px;color:#b9abc9;line-height:1.6;margin:0 0 16px}.review-activities,.review-components,.review-outcome,#institution-result-form .equipment-photo-upload{padding:20px;border:1px solid #af91d426;border-radius:16px;background:#120e1980}.review-activities .check-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.review-activities .check-grid label{display:flex;align-items:center;gap:12px;min-height:52px;margin:0;padding:12px 14px;border:1px solid #b49bd533;border-radius:12px;background:#ffffff03;cursor:pointer}.review-activities .check-grid label:has(input:checked){border-color:#b58ff0;background:#a377e51c;color:#eadcff}.review-activities input{width:20px;height:20px;accent-color:#ad7ee7;flex-shrink:0}.review-activities label:focus-within{outline:2px solid #c8a5ff;outline-offset:2px}#institution-result-form .component-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#21192d;border:1px solid #b59bd524;border-radius:12px;padding:16px;margin:12px 0}#institution-result-form .component-row>strong{grid-column:1/-1;font-size:14px}#institution-result-form .field{min-width:0;gap:8px}#institution-result-form .field select,#institution-result-form .field textarea{font-size:16px}#institution-result-form .review-outcome>.form-grid{gap:18px}#institution-result-form [data-diagnosis-preview]{background:#151020;color:#c2b2d5;min-height:120px}#institution-result-form .equipment-photo-upload .visit-actions{gap:10px;flex-wrap:wrap}#institution-result-form .btn{min-height:46px;white-space:normal}@media(max-width:600px){dialog:has(#institution-result-form){max-width:calc(100vw - 12px);height:95dvh;max-height:95dvh}dialog:has(#institution-result-form) .modal-head{padding:16px}#institution-result-form>.form-grid{padding:14px;gap:14px}.review-activities,.review-components,.review-outcome,#institution-result-form .equipment-photo-upload{padding:14px}#institution-result-form .component-row{grid-template-columns:1fr;padding:12px}#institution-result-form>.modal-foot{padding:12px;display:grid;grid-template-columns:auto 1fr;gap:8px}.review-save-status{grid-column:1/-1}.review-activities .check-grid label{padding:10px;gap:8px;font-size:12px}.review-equipment-heading strong{font-size:17px}}
/* Inventory room actions remain usable on narrow screens. */
.institution-room-heading{flex-wrap:wrap;gap:12px;padding:18px 0}.institution-room-heading>div{flex:1 1 100%;min-width:0}.institution-room-heading h2{margin:0 0 6px}.institution-room-heading p{margin:0;color:#b9acc9;overflow-wrap:anywhere}.institution-room-heading .btn{min-height:44px;white-space:normal;max-width:100%;justify-content:center}.institution-inventory-row{gap:16px;align-items:center;flex-wrap:wrap;border:1px solid #b195d22b;border-radius:16px;margin:12px 0;background:#a98adb06}.institution-inventory-row .task-info{flex:1 1 230px;min-width:0;overflow-wrap:anywhere}.institution-inventory-row .task-info strong{line-height:1.5}.institution-inventory-row .task-info small{line-height:1.8}.institution-inventory-actions{display:flex;gap:10px;flex-wrap:wrap}.institution-inventory-actions .btn{min-height:44px;white-space:normal;justify-content:center}@media(max-width:600px){.institution-room-heading .btn{flex:1 1 100%}.institution-inventory-row{display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;padding:16px}.institution-inventory-row .visit-device-icon{width:46px;height:46px}.institution-inventory-row .visit-device-icon svg{width:30px;height:30px}.institution-inventory-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.institution-inventory-actions .btn{font-size:12px;padding:10px}.institution-inventory-row .task-info{font-size:13px}.institution-inventory-row .task-info strong{font-size:14px}}
.institution-inventory-panel{margin-top:22px}.institution-inventory-panel>.panel-head{flex-wrap:wrap;gap:12px}.company-info-panel>.panel-head{padding:0 0 18px;gap:12px;align-items:flex-start;flex-wrap:wrap}@media(max-width:600px){.company-info-panel .details{grid-template-columns:minmax(0,1fr);gap:0}.company-info-panel .details>div{padding:13px 0;border-bottom:1px solid #b798d421}.company-info-panel .details>div:last-child{border-bottom:0}.company-info-panel .details dd{line-height:1.6;margin-top:5px}.company-info-panel .details dt{color:#b9a9cc}}
/* Keep reception actions reachable while the long form scrolls. */
dialog:has(#order-form){height:min(940px,94dvh);max-height:94dvh;overflow:hidden}dialog:has(#order-form) #dialog-content{height:100%;display:flex;flex-direction:column;min-height:0}dialog:has(#order-form) .modal-head{flex-shrink:0}dialog:has(#order-form) .modal-body{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;padding:16px 0 0}dialog:has(#order-form) .steps{margin:0 24px 12px;flex-shrink:0}#order-form{display:flex;flex-direction:column;min-height:0;flex:1}#order-form>.form-grid{overflow-y:auto;min-height:0;padding:12px 24px 24px;scroll-padding:18px}#order-form>.modal-foot{flex-shrink:0;margin:0;padding:14px 24px;background:#1c1528;border-top:1px solid #b99ae33d;box-shadow:0 -8px 24px #0002}#order-form>.modal-foot .btn{min-height:46px}#order-form>.form-error{flex-shrink:0;margin:0;background:#1c1528;padding:0 24px}#order-form>.form-error:not(:empty){padding-top:10px;padding-bottom:10px}@media(max-width:600px){dialog:has(#order-form){max-width:calc(100vw - 12px);height:95dvh;max-height:95dvh}#order-form>.form-grid{padding:12px 16px 22px}#order-form>.modal-foot{padding:12px 16px}#order-form input,#order-form select,#order-form textarea{font-size:16px}}

/* Installation guide, available to every signed-in role. */
.install-brand{display:flex;align-items:center;gap:16px}.install-brand img{border-radius:18px}.install-brand strong{font-size:24px}.install-brand p{margin:4px 0;color:var(--muted)}.install-guide section{margin:24px 0;padding:18px;border:1px solid var(--line);border-radius:16px}.install-guide h3{margin:0 0 12px}.install-guide ol{padding-left:22px;margin:0}.install-guide li{margin:10px 0;line-height:1.6}.install-guide [hidden]{display:none!important}
