.test-banner{background:#fff5d5;color:#725519;padding:10px 16px;border:1px solid #ecd694;border-radius:10px;margin:0 0 16px;font-size:14px}.signed-out .sidebar,.signed-out .top-actions{display:none}.signed-out .shell{display:block}.signed-out .main{margin:0 auto;max-width:900px}.login-card{max-width:460px;margin:35px auto}.login-card>img{width:72px}.login-card form{display:grid;gap:12px}.dispatch-row{display:flex;align-items:center;gap:15px;flex-wrap:wrap;border-bottom:1px solid #e6edf1;padding:8px}.dispatch-row .field{max-width:150px;margin:0}.notice label{display:block;margin:10px 0}#equipmentQuoteScope{margin-bottom:18px}#scopeNote{white-space:pre-wrap;margin-top:10px}.document-preview{max-width:100%;overflow:auto}.quote-sheet .q-notes{white-space:pre-wrap;overflow-wrap:anywhere}.login-card #loginError{color:#a23030;padding-top:15px}[hidden]{display:none!important}.worker-app{font-family:system-ui,'Microsoft JhengHei',sans-serif;color:#23374d;background:#f3f6f8;margin:0}.worker-app *{box-sizing:border-box}.worker-app header{position:sticky;top:0;z-index:5;background:white;border-bottom:1px solid #d9e4eb;padding:12px 16px;display:flex;gap:12px;align-items:center}.worker-app header img{width:40px}.worker-app header div{flex:1}.worker-app small{display:block;color:#64798a;overflow-wrap:anywhere}.worker-app main{max-width:700px;padding:16px;margin:auto}.worker-app .card{background:white;border:1px solid #dfe7ed;padding:20px;border-radius:14px;margin:0 0 16px;box-shadow:0 3px 12px #25456006}.worker-app h2{font-size:21px;margin:10px 0}.worker-app h3{font-size:17px}.worker-app p{line-height:1.7}.worker-app button,.worker-app .btn{display:inline-block;background:#edf3f7;border:1px solid #cfdee8;border-radius:8px;padding:11px 14px;color:#244c66;font-size:15px;cursor:pointer;text-decoration:none}.worker-app button.primary{background:#245b78;color:white;border-color:#245b78}.worker-app .actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.worker-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}.worker-app .notice{background:#edf6fa;padding:14px;line-height:1.7;border-radius:9px}.worker-app .notice.warn{background:#fff5d5}.worker-app .status{color:#3a6d85;font-size:13px}.worker-app label{display:block;margin:16px 0 8px}.worker-app input{display:block;padding:12px;border:1px solid #c7d6e0;border-radius:8px;font-size:16px;width:100%;margin-top:7px}.worker-app article article{border-top:1px solid #e3ebef;padding:12px 0}.worker-app #workerToast{position:fixed;bottom:18px;left:16px;right:16px;background:#223d50;color:white;border-radius:10px;padding:12px;max-width:600px;margin:auto}.worker-app #workerToast:empty{display:none}#view,.card,.notice{overflow-wrap:anywhere}.main{min-width:0}@media(max-width:720px){.dispatch-row{gap:9px}.dispatch-row .field{max-width:130px}.document-preview .quote-sheet{min-width:718px}.test-banner{font-size:12px}.card-head{flex-wrap:wrap}.workday .formrow{grid-template-columns:1fr 1fr}.top-actions{flex-wrap:wrap}.worker-app main{padding:12px}.worker-app .card{padding:16px}.tablewrap{max-width:100%}}@media print{.no-print{display:none!important}}
@font-face{font-family:'BW Chinese';src:url('vendor/NotoSansCJKtc-Regular.otf') format('opentype');font-display:swap}:root{font-family:'BW Chinese',system-ui,sans-serif}.worker-app{font-family:'BW Chinese',system-ui,sans-serif}.quote-sheet{font-family:'DFKai-SB','BiauKai','BW Chinese',serif}
.q-issuer-info{max-width:calc(100% - 145px);overflow-wrap:anywhere}.q-sign td{height:165px}.q-sign .q-stamp,.pdf-render .q-sign .q-stamp{left:auto!important;right:8px!important;top:35px!important;width:130px!important;height:auto!important}.subsection .two>div:first-child .checkgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.checkitem>span{min-width:0;flex:1}.checkitem input[type=number]{min-width:0;width:100%}
button,input,select,textarea{font-family:inherit}

.schedule-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0}.schedule-toolbar .field{margin:0;min-width:180px}.schedule-queue{margin-top:16px;border-top:1px solid #dce3e9;padding-top:12px}.schedule-queue summary{cursor:pointer;font-weight:600;padding:8px 0}.schedule-controls{padding:12px;background:#f4f7fa;border-radius:10px;margin:12px 0}.schedule-controls p{margin:0}.schedule-controls .notice{margin-bottom:0}
.quote-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,1fr);gap:22px;align-items:start}#quoteEditPane,#quoteLivePane{min-width:0}#quoteEditPane .formrow{grid-template-columns:repeat(2,minmax(0,1fr))}#quoteEditPane .formrow.three{grid-template-columns:repeat(3,minmax(0,1fr))}#quoteLivePane{position:sticky;top:16px;border:1px solid #dbe5ed;border-radius:10px;padding:12px;background:#f3f6f9}#quoteLivePane h3{font-size:16px;margin:0}#quoteLivePane small{color:#617788}#quotePreviewViewport{width:100%;overflow:hidden;background:white;border:1px solid #dbe5ed;margin-top:10px}#quoteLiveFrame{display:block;border:0;transform-origin:top left;pointer-events:auto}#quoteEditPane .quote-editor-table{min-width:570px;table-layout:fixed}#quoteEditPane .quote-editor-table th:first-child{width:175px}#quoteEditPane .quote-editor-table th:nth-child(2){width:70px!important}#quoteEditPane .quote-editor-table th:nth-child(3){width:60px!important}#quoteEditPane .quote-editor-table th:nth-child(4){width:100px!important}#quoteEditPane .quote-editor-table th:nth-child(5){width:95px!important}#quoteEditPane .quote-editor-table th:last-child{width:70px}#quoteEditPane .quote-editor-table td{padding:5px}#quoteEditPane .quote-editor-table input{padding:8px 5px;min-width:0;border-radius:3px}#quoteEditPane .quote-editor-table input:focus{outline:2px solid #2d6fb8;outline-offset:-2px;background:#f3f8ff}#jqEquipmentNotes{background:#f5f8fb;resize:vertical}.quote-mobile-tabs{display:none}
@media(max-width:1179px){.quote-workspace{display:block}.quote-mobile-tabs{display:flex;gap:8px;margin-bottom:14px}#quoteLivePane{display:none;position:static}#quoteWorkspace[data-mobile-pane=preview] #quoteLivePane{display:block}#quoteWorkspace[data-mobile-pane=preview] #quoteEditPane{display:none}}
@media(max-width:720px){#quoteEditPane .formrow,#quoteEditPane .formrow.three{grid-template-columns:1fr}#quoteEditPane .quote-editor-table{min-width:0;table-layout:auto}#quoteLivePane{padding:8px}.quote-mobile-tabs button{flex:1}#quoteEditPane .quote-editor-table td{padding:5px 0}}

.equipment-progress-summary{border:1px solid #d7e4ed;background:#f5f9fc;padding:16px;border-radius:10px;margin-bottom:20px}.equipment-progress-summary p{margin:8px 0}.equipment-progress-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.equipment-progress-row{border:1px solid #dde5eb;border-radius:8px;background:white;padding:12px;display:grid;gap:5px}.equipment-progress-row span{color:#855d17}.equipment-progress-row.is-complete{border-color:#b6decb;background:#f2fbf6}.equipment-progress-row.is-complete span{color:#167452}.equipment-day-progress{border-top:1px solid #d9e4ed;margin-top:18px;padding-top:12px}.equipment-day-progress .checkgrid{margin:12px 0}.equipment-day-progress small,.equipment-progress-row small{display:block;color:#627b8c}.equipment-progress-history{margin-top:20px;border-top:1px solid #dbe4eb;padding-top:12px}@media(max-width:720px){.equipment-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.equipment-progress-summary{padding:12px}.equipment-day-progress .checkgrid{grid-template-columns:1fr}}

.equipment-closure-panel{padding:14px 16px;border:1px solid #dce5ed;border-radius:10px;margin-bottom:18px;background:#fff}.equipment-closure-panel h3{margin:0 0 8px}.equipment-closure-panel small{display:block;color:#647d8e;margin-top:8px}.equipment-closure-panel button:disabled{opacity:.45;cursor:not-allowed}

.cleaning-history-content{overflow-wrap:anywhere;min-width:0}.cleaning-history-case p{white-space:pre-wrap}.cleaning-history-case details{margin:10px 0}.cleaning-history-case summary{cursor:pointer;font-weight:600}

.bulk-allocation-row{display:block;border:1px solid #dbe5ed;border-radius:8px;padding:10px;margin:8px 0;overflow-wrap:anywhere}.bulk-allocation-row[hidden]{display:none}.bulk-allocation-row small{display:block}.receipt-match-history{overflow-wrap:anywhere}

.prep-catalog-row{display:flex;gap:8px;margin:8px 0;min-width:0}.prep-catalog-row input{min-width:0;flex:1}#preparationPanel{overflow-wrap:anywhere}#preparationPanel p{white-space:pre-wrap}

/* Quote typography and semantic PDF pages keep the established logo, stamp and tables. */
.quote-sheet .q-meta td{font-size:12px;line-height:1.6;padding:5px 7px;overflow-wrap:anywhere}
.quote-sheet .q-equipment-scope{border:1.3px solid #000;border-top:0;padding:7px;font-size:12px;line-height:1.6;background:#f5f7f8;overflow-wrap:anywhere}
.quote-sheet .q-equipment-scope b{display:block;font-size:13px}.q-scope-line{white-space:pre-wrap}
.quote-sheet .q-items{table-layout:fixed}.quote-sheet .q-items th{letter-spacing:1px;font-weight:700;font-size:12px}.quote-sheet .q-items th:nth-child(1){width:7%}.quote-sheet .q-items th:nth-child(2){width:45%}.quote-sheet .q-items th:nth-child(3){width:14%}.quote-sheet .q-items th:nth-child(4),.quote-sheet .q-items th:nth-child(5){width:17%}
.quote-sheet .q-items td{font-size:12px;line-height:1.6;padding:6px;vertical-align:top;overflow-wrap:anywhere}.quote-sheet .q-items td:nth-child(3){text-align:right;font-variant-numeric:tabular-nums}.quote-sheet .q-right,.quote-sheet .q-amount{font-variant-numeric:tabular-nums;white-space:nowrap}.quote-sheet .q-items .q-amount{font-size:13px}
.quote-sheet .q-notes{font-size:11.5px;line-height:1.65;white-space:normal}.q-note-paragraph{white-space:pre-wrap;overflow-wrap:anywhere}.quote-sheet .q-total{font-variant-numeric:tabular-nums}.quote-sheet .q-sign td{font-size:12px;line-height:1.65}
.q-pdf-page{position:relative!important;box-sizing:border-box!important;width:190mm!important;height:277mm!important;min-height:277mm!important;margin:0!important;padding:4mm 8mm 9mm!important;font-family:'BW Chinese',serif!important;background:white!important;overflow:visible!important}.q-pdf-page .q-company{font-size:25px!important}.q-pdf-page .q-title{font-size:23px!important}.q-pdf-page .q-logo{width:58px!important;height:58px!important}.q-pdf-page .q-note-continuation{grid-template-columns:1fr}.q-pdf-page .q-notes{min-height:0}.q-pdf-page .q-note-continuation .q-notes{border-right:0}.q-pdf-page .q-continuation{font-size:11px;margin:5px 0;overflow-wrap:anywhere}.q-pdf-page .q-page-number{position:absolute;bottom:3mm;left:8mm;right:8mm;text-align:center;font-size:10px}.q-pdf-page .q-sign{border-top:1px solid #000}.q-pdf-page .q-closing{break-inside:avoid}.q-pdf-page .q-pdf-body{display:flow-root}
#quotePreviewViewport.quote-preview-zoom{overflow:auto}.quote-preview-zoom iframe{max-width:none!important}

.q-pdf-page .q-note-continuation{border-top:1.3px solid #000}

/* Cases: expandable read-only summary and saved view controls. */
.job-saved-views{margin:14px 0}.job-saved-views select{max-width:100%;min-width:140px;flex:1}.job-saved-views .actions{flex-wrap:wrap}
.job-list-summary{margin-top:10px;white-space:normal;overflow-wrap:anywhere;max-width:420px}.job-list-summary summary{cursor:pointer;color:var(--primary,#176568);padding:8px 0;min-height:40px}.job-summary-body{font-size:13px;line-height:1.6;padding:10px;border-radius:8px;background:#f3f7f7}.job-summary-body p{margin:4px 0}.job-summary-body small{color:#566}
@media(max-width:700px){.job-list-summary{max-width:100%}.mobile-card>.equipment-row>.actions{display:flex;flex-wrap:wrap}.mobile-card>.equipment-row>.actions button{min-height:44px;flex:1 0 28%}.job-saved-views .actions button{min-height:44px}}

.payroll-worker{border-top:1px solid #dce6e6;padding:14px 0}.payroll-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0}.payroll-review-row{display:flex;gap:12px;align-items:center;border-bottom:1px solid #ddd;padding:12px 0;overflow-wrap:anywhere}.payroll-review-row>div{flex:1;min-width:0}.payroll-review-row>input{width:22px;height:22px;flex-shrink:0}.payroll-review-row>b{white-space:nowrap}.payroll-worker button{min-height:44px}@media(max-width:600px){.payroll-totals{font-size:13px;gap:5px}.payroll-worker .card-head{flex-wrap:wrap}.payroll-review-row{gap:8px;font-size:13px}}

#operatingReports details{margin:12px 0}#operatingReports summary{cursor:pointer;padding:10px 0;min-height:44px}.report-case-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:10px 0;border-bottom:1px solid #dce6e6;overflow-wrap:anywhere}.report-case-row>div{flex:1;min-width:150px}.report-profit-row{padding:14px 0;border-bottom:1px solid #dce6e6;overflow-wrap:anywhere}#operatingReports .summary-card strong{font-size:22px}#operatingReports .actions{flex-wrap:wrap}#operatingReports .tablewrap{max-width:100%}#operatingReports p{overflow-wrap:anywhere}@media(max-width:600px){#operatingReports>.card-head{display:block}#operatingReports .actions>.field{flex:1;min-width:110px}#operatingReports .grid4{grid-template-columns:1fr}#operatingReports .summary-card strong{font-size:21px}.report-profit-row .card-head{flex-wrap:wrap}}

.master-panel{border:1px solid #dce6e6;border-radius:10px;padding:14px;margin:14px 0}.master-panel p{margin:8px 0;overflow-wrap:anywhere}.master-tag{margin:4px;display:inline-block;overflow-wrap:anywhere;max-width:100%}.master-list-tags{padding:0 12px}.contact-purpose-row{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0}.contact-purpose-row input{width:20px;height:20px;margin-right:7px}.contact-purpose-row label{display:flex;align-items:center;min-height:36px}.case-role-contacts p{overflow-wrap:anywhere}#towerGrid input{min-width:110px;width:100%;max-width:230px}#towerGrid td{padding:5px}#towerGrid{max-width:100%}#towerGridPreview{overflow-wrap:anywhere}@media(max-width:600px){.master-panel .card-head{flex-wrap:wrap}.contact-purpose-row{display:block}.master-panel button{min-height:44px}}

#towerGrid table{min-width:560px;table-layout:fixed}#towerGrid th,#towerGrid td{height:auto}#towerGrid td:last-child,#towerGrid th:last-child{width:110px;white-space:nowrap}#towerGrid button{white-space:nowrap;min-height:44px}#towerGrid input{min-width:0;max-width:none}

#quoteDraftRecovery{margin-bottom:16px}.draft-recovery-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 0}.draft-json{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto;font-size:12px}.form-conflict-list{max-height:240px;overflow:auto;overflow-wrap:anywhere}#formSaveFailure{margin:12px 0}#formSaveFailure label{display:flex;align-items:flex-start;gap:8px}#formSaveFailure input[type=checkbox]{width:20px;height:20px;flex-shrink:0}#quoteDraftRecovery button,#formSaveFailure button{min-height:44px}

/* Equipment recurrence overview. */
.reminder-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;padding:14px 0;border-bottom:1px solid #dde5e5}.reminder-row small{display:block;margin-top:6px;color:#53676a}.reminder-active{color:#9a3412}.reminder-setting{border:1px solid #ccd9da;border-radius:10px;margin:14px 0;padding:12px;min-width:0}.recurrence-panel .actions{flex-wrap:wrap}.reminder-row>div{min-width:0;overflow-wrap:anywhere}@media(max-width:650px){.reminder-row{grid-template-columns:1fr}.reminder-setting .formrow{display:block}.recurrence-panel .card-head{flex-wrap:wrap}}

.expense-cost-row{padding:14px 0;border-bottom:1px solid #dce4e6;display:flex;justify-content:space-between;gap:14px}.expense-cost-row .actions{align-self:center;flex-wrap:wrap}.expense-workspace .card-head{flex-wrap:wrap}.expense-workspace small{display:block}.expense-workspace td{white-space:normal;min-width:100px}.expense-advance-person{padding:12px 0;border-bottom:1px solid #dce4e6}.expense-workspace p,.expense-advance-person p{overflow-wrap:anywhere}#expenseCatalogText{white-space:pre;min-height:240px;font-family:inherit}@media(max-width:650px){.expense-cost-row{display:block}.expense-cost-row .actions{margin-top:10px}.expense-advance-person .list-row{flex-wrap:wrap}.expense-workspace .actions{flex-wrap:wrap}}

.expense-over-budget{color:#a43114;font-weight:700}

.quote-catalog-tools .card-head,.quote-catalog-tools .actions{flex-wrap:wrap}.qcat-choice{margin:8px 0}.qcat-choice[hidden]{display:none}.qcat-choice small{display:block;color:#52666d;white-space:pre-wrap}.qcat-scope-text{white-space:pre-line}#qcatInsertRows td,#quoteBundleRows td{min-width:140px;vertical-align:top}#qcatInsertRows td:first-child,#quoteBundleRows td:first-child{min-width:260px}#qcatInsertRows textarea,#quoteBundleRows textarea{min-height:90px}.q-item-description{white-space:normal;font-size:13px;line-height:1.45;margin-top:4px}.quote-editor-table details{margin:6px 0}.quote-editor-table textarea{width:100%;box-sizing:border-box}#qcatAmountPreview{margin-top:12px}@media(max-width:650px){.quote-catalog-tools .actions{display:flex}.quote-catalog-tools button{white-space:normal}.quote-catalog-tools{overflow-wrap:anywhere}}

#caseTimeline{max-width:1000px;margin:auto}#caseTimeline>.card-head{flex-wrap:wrap}.timeline-date{padding:9px 12px;background:#eaf1f5;border-radius:8px;margin:22px 0 10px}.case-timeline-event{display:grid;grid-template-columns:16px minmax(0,1fr);gap:12px;position:relative;padding:0 0 18px}.case-timeline-event:before{content:'';position:absolute;top:10px;bottom:0;left:6px;width:2px;background:#cddce5}.timeline-event-dot{height:12px;width:12px;border-radius:50%;background:#2568a4;margin-top:12px;z-index:1}.timeline-event-body{padding:14px;border:1px solid #d7e2eb;border-radius:10px;background:#fff;min-width:0;overflow-wrap:anywhere}.timeline-event-body .card-head{align-items:flex-start;flex-wrap:wrap}.timeline-event-body p{margin:8px 0;white-space:pre-wrap}.timeline-event-body small{display:block;color:#526773}.timeline-when{font-size:13px;color:#315c78}.timeline-event-body .actions{margin-top:9px}.timeline-source-context{margin-bottom:14px}#timelineCurrentPlan,#timelineUnknown{margin:16px 0;padding:12px;border:1px solid #d7e2eb;border-radius:10px}#timelinePagination{flex-wrap:wrap;align-items:center}@media(max-width:650px){.case-timeline-event{grid-template-columns:12px minmax(0,1fr);gap:7px}.case-timeline-event:before{left:5px}.timeline-event-dot{width:10px;height:10px}.timeline-event-body{padding:10px}.timeline-event-body .actions{flex-wrap:wrap}.timeline-event-body button{white-space:normal}#timelineCurrentPlan,#timelineUnknown{padding:8px}}

/* Client/site name search A */
.name-search-group{border-top:1px solid #d8e4ef;margin-top:16px;padding-top:8px}.name-search-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e5edf3}.name-search-row>div{min-width:0;overflow-wrap:anywhere}.name-search-row button{flex-shrink:0}.name-search-row p{margin:5px 0}.name-search-row .badge{margin-left:6px}#globalNameQuery{width:100%;box-sizing:border-box}#globalNameStatus{margin:10px 0}#clientSiteNameSearch{min-width:0;overflow-wrap:anywhere}@media(max-width:560px){.name-search-row{align-items:flex-start;flex-wrap:wrap}.name-search-row>div{flex-basis:100%}.name-search-row button{margin-left:auto}}

.name-search-row small{display:block;margin-top:5px;color:#64748b}

/* Reviewed atomic master imports */
#masterImportEditor{min-width:0;overflow-wrap:anywhere}#miMapping select{max-width:100%;min-width:0}#miMapping .field{min-width:0}.master-import-row{padding:12px 0;border-top:1px solid #d7e4ee}.master-import-row .tablewrap{max-width:100%}.master-import-row th,.master-import-row td{white-space:pre-wrap;overflow-wrap:anywhere;min-width:85px}#miReferences{margin:10px 0}#miReferences td{overflow-wrap:anywhere}@media(max-width:600px){#miMapping .grid2{display:block}#masterImportEditor .formrow{display:block}}

#dataExportPanel{min-width:0;overflow-wrap:anywhere}#deSample .tablewrap{max-width:100%;overflow:auto}#deSample th,#deSample td{white-space:pre-wrap;min-width:110px;max-width:280px;overflow-wrap:anywhere}
/* v2.2.34 workspace actions, optional sections and contextual mobile save */
.workspace-more{position:relative;display:inline-block}.workspace-more>summary{cursor:pointer;border:1px solid #cbd5e1;border-radius:8px;padding:8px 12px;background:#fff;list-style:none}.workspace-more-panel{position:absolute;right:0;top:100%;z-index:20;min-width:190px;display:grid;gap:8px;padding:12px;background:white;border:1px solid #cbd5e1;border-radius:9px;box-shadow:0 6px 20px #15304a22}.workspace-section{min-width:0;border:1px solid #d8e1eb;border-radius:8px;align-self:start}.workspace-section>summary,.workspace-fold>summary{cursor:pointer;padding:12px;font-weight:650}.workspace-section-body{padding:0 12px 12px}.workspace-save-bar{display:none}
@media(min-width:761px){.workspace-sticky-table{max-height:65vh;overflow:auto;isolation:isolate}.workspace-sticky-table table{border-collapse:separate;border-spacing:0;min-width:960px}.workspace-sticky-table thead th{position:sticky;top:0;z-index:2;background:#edf4f8}.workspace-sticky-table tr>:first-child{position:sticky;left:0;z-index:1;background:#fff;min-width:210px;max-width:300px;box-shadow:2px 0 0 #d7e3eb}.workspace-sticky-table thead tr>:first-child{z-index:3;background:#edf4f8}.workspace-receipt-card{display:none!important}}
@media(max-width:760px){.workspace-receipt-table{display:none}.workspace-has-save #view{padding-bottom:100px}.workspace-save-bar{display:flex;gap:8px;align-items:center;position:fixed;bottom:0;left:0;right:0;z-index:90;background:#fff;border-top:1px solid #b7c9d8;padding:8px 12px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -3px 12px #15304a18}.workspace-save-label{flex:1;min-width:0;font-size:12px;max-height:42px;overflow:auto}.workspace-save-bar button{min-height:44px;white-space:nowrap}.dialog-body:has(>.workspace-save-bar){padding-bottom:0}#dialogContent>.workspace-save-bar{position:sticky;bottom:0;left:auto;right:auto;margin-top:16px;z-index:3}.workspace-more-panel{max-width:80vw}.workspace-section{margin-bottom:12px}}
@media print{.workspace-save-bar,.workspace-more{display:none!important}.workspace-sticky-table{max-height:none;overflow:visible}.workspace-sticky-table th,.workspace-sticky-table td{position:static!important}.workspace-receipt-table{display:none}.workspace-receipt-card{display:block!important}}
@media(max-width:760px){body.workspace-has-save .toast{bottom:92px}}
.case-number-label{display:block;font-variant-numeric:tabular-nums;color:#49677e;margin:4px 0;overflow-wrap:anywhere}
.case-flow-guide{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 16px;padding:14px 16px;border:1px solid #b9d9e9;border-left:4px solid #247fa6;border-radius:10px;background:#f2f9fc}.case-flow-guide p{margin:5px 0 0;color:#466279;font-size:14px}.case-flow-guide button{flex-shrink:0;min-height:44px}.case-flow-guide[hidden]{display:none}
@media(max-width:760px){.case-flow-guide{align-items:stretch;flex-direction:column;gap:10px}.case-flow-guide button{width:100%}}
@media print{.case-flow-guide{display:none!important}}
#caseNumberLabel{border:0;background:transparent;padding:0;margin:10px 0 4px;color:#526d82;font-size:13px}
.system-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.mobile-system-toggle{display:none}
@media(max-width:760px){.top-actions{position:relative;flex-wrap:nowrap;gap:6px}.mobile-system-toggle{display:inline-block}.system-tools{display:none;position:absolute;top:100%;right:0;z-index:30;min-width:190px;background:#fff;border:1px solid #ccdce5;border-radius:10px;padding:12px;box-shadow:0 6px 20px #173b5422}.system-tools[data-open=true]{display:grid}.system-tools .badge{white-space:normal}.top>.top-actions>button{white-space:nowrap}}
.case-field-error{margin:4px 0 8px!important;padding:8px 10px!important;font-size:14px}[aria-invalid=true]{outline:2px solid #b45309;outline-offset:2px}
/* v2.2.38: one daily form, readable checkboxes and a case list that fits the screen. */
.checkgrid>label.checkitem,.checkgrid>label:has(>input[type=checkbox]),.actions>label:has(>input[type=checkbox]){display:flex;align-items:flex-start;gap:8px;line-height:1.65;text-align:left;margin:0;min-width:0}
input[type=checkbox],input[type=radio]{width:18px!important;height:18px;flex:0 0 18px;align-self:flex-start;margin:3px 0 0!important;accent-color:#2e69a4}
.checkgrid>label>span{min-width:0;flex:1}.day-worker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.day-worker-row{border:1px solid #d9e4ec;border-radius:8px;padding:10px;background:#fff;min-width:0}.day-worker-row>.checkitem{border:0;padding:0 0 8px}.day-worker-pay{display:grid;grid-template-columns:1fr 1fr;gap:10px}.day-worker-pay .field{margin:0}.day-worker-pay input,.day-worker-pay select{width:100%;min-width:0}.day-extra{margin:14px 0}.day-extra>summary,.preparation-advanced>summary{cursor:pointer;color:#426885;padding:9px 0}.day-extra .actions{margin-top:10px}.simple-work h4{margin:18px 0 8px}.simple-work .muted{margin:6px 0 12px}.simple-work .equipment-day-progress{border:0;margin:0}.day-main-actions{margin-top:14px}.simple-work .workday-fold>summary{font-size:16px}.equipment-progress-summary{padding:12px;margin:18px 0}.equipment-progress-summary>.card-head{margin:0}.equipment-progress-summary h3{font-size:15px;margin:0}.equipment-progress-summary>details{margin-top:10px}.equipment-closure-panel>details>summary{cursor:pointer;font-weight:650;padding:8px 0}#preparationPanel{margin:12px 0;padding:12px;background:#f8fbfd}#preparationPanel>h3{font-size:15px;margin:0 0 8px}#preparationPanel>p{font-size:13px;margin:8px 0}#prepInlineTools,#prepInlineCautions{padding:10px;background:#f1f6fa;border-radius:8px;margin-bottom:12px}.prep-catalog-row{display:flex;gap:8px;margin-bottom:8px}.prep-catalog-row input{flex:1;min-width:0}.prep-catalog-row button{flex-shrink:0}#backupStatus{border:0;box-shadow:none;padding:0 0 12px}
@media(min-width:1201px){.workspace-sticky-table.fit-case-table{max-width:100%;overflow-y:auto;overflow-x:hidden}.fit-case-table table{min-width:0;width:100%;table-layout:fixed}.fit-case-table th,.fit-case-table td{min-width:0!important;max-width:none!important;padding:10px 7px;font-size:13px;white-space:normal!important;overflow-wrap:anywhere}.fit-case-table tr>:first-child{width:24%;min-width:0!important;white-space:normal;overflow:visible}.fit-case-table tr>:nth-child(2){width:14%}.fit-case-table tr>:nth-child(3){width:12%;white-space:nowrap!important;overflow-wrap:normal}.fit-case-table tr>:nth-child(4){width:11%}.fit-case-table tr>:nth-child(5){width:9%}.fit-case-table tr>:nth-child(6){width:13%}.fit-case-table tr>:nth-child(7){width:9%}.fit-case-table tr>:nth-child(8){width:8%}.fit-case-table .muted{white-space:normal}.fit-case-table .actions{gap:5px}.fit-case-table button{padding:6px 8px;min-height:34px}.workspace-receipt-table table{min-width:0;table-layout:fixed;width:100%}.workspace-receipt-table tr>:first-child{min-width:0;width:28%}}
@media(max-width:1200px){#view:has(#jobSearch) .desktop-table{display:none}#view:has(#jobSearch) .mobile-card{display:block}.mobile-card .equipment-row{max-width:100%;min-width:0}.mobile-card .card-head{flex-wrap:wrap}.mobile-card .card-head b{overflow-wrap:anywhere}}
@media(max-width:760px){.day-worker-grid{grid-template-columns:1fr}.workday .formrow.three{grid-template-columns:1fr}.day-main-actions>button{flex:1;min-height:44px}.checkgrid{grid-template-columns:1fr!important}.checkitem{min-height:44px}.preparation-advanced .actions{align-items:stretch}.preparation-advanced button{max-width:100%}.prep-catalog-row{align-items:start}.prep-catalog-row button{font-size:12px;padding:8px}.workspace-receipt-table table{min-width:0}}
/* v2.2.39: compact case identity and one quote agreement action. */
.case-site-heading{font-size:22px;line-height:1.5}.case-engineering{display:flex;gap:9px;align-items:baseline;flex-wrap:wrap;margin:6px 0;color:#234e72;font-weight:650}.case-engineering>span,.case-list-engineering>span{display:inline-block;font-size:12px;font-weight:400;color:#698298;margin-right:6px}.case-list-site{display:block;white-space:normal;line-height:1.6}.case-list-engineering{white-space:normal;line-height:1.65;margin-top:5px}.case-custom-name{display:block;color:#6b8195;line-height:1.6}.quote-agreement .card-head{align-items:start}.quote-agreement .notice{margin:10px 0}.quote-current-copy{border:1px solid #d9e4ed;border-radius:8px;padding:12px;margin:12px 0}.quote-current-copy .actions{margin-top:10px}.quote-history{padding:10px 0;margin-top:14px}.quote-history>summary{cursor:pointer;color:#4b6d89;font-weight:650}.quote-agreement .field{max-width:300px}.estimate-editor{display:block;min-width:0}.estimate-section .checkgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
/* Use the bundled font identically in draft iframe, formal preview and PDF. */
.quote-sheet{font-family:'BW Chinese','Microsoft JhengHei',sans-serif!important}.quote-sheet .q-notes{white-space:normal!important;letter-spacing:normal!important;word-spacing:normal!important;line-height:1.7;font-size:12px}.quote-sheet .q-notes>b{display:block;margin:0 0 5px}.quote-sheet .q-note-paragraph{margin:0 0 5px;line-height:1.7;white-space:normal;break-inside:avoid;letter-spacing:normal!important}.quote-sheet .q-numbered-note{display:grid;grid-template-columns:2em minmax(0,1fr);column-gap:3px}.quote-sheet .q-note-marker{white-space:pre;text-align:left;font-variant-numeric:tabular-nums}.quote-sheet .q-note-text{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}.quote-sheet .q-blank-note{height:8px;margin:0}.quote-sheet .q-numbered-note .q-note-text{text-align:left}.quote-sheet .q-total{white-space:normal}
@media(max-width:760px){.case-site-heading{font-size:20px}.case-engineering{font-size:14px}.quote-agreement .card-head{display:block}.quote-agreement .card-head>.actions{margin-top:12px}.quote-agreement .field{max-width:none;width:100%}.estimate-section .checkgrid{grid-template-columns:1fr}}

/* v2.2.40: arrangement and field records are distinct steps. */
.simple-arrange>p,.simple-work>p{line-height:1.7}.arrangement-preparation{border:1px solid #d7e5ef;border-radius:9px;padding:16px;margin:16px 0}.arrangement-preparation .checkgrid{grid-template-columns:repeat(4,minmax(0,1fr))}.simple-arrange .workday-fold{margin:14px 0}.simple-arrange .workday-fold>summary{font-weight:700;cursor:pointer;padding:14px}.simple-arrange .workday{padding:14px}.dispatch-recipients{margin:10px 0}.dispatch-recipients>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid #e6edf3}.dispatch-recipients span{font-size:12px;color:#5c7387}.dispatch-recipients button{font-size:12px;padding:6px 10px}.case-next-action{margin-top:12px;padding:10px;border-left:3px solid #2a86a5;background:#f1f8fc;display:grid;gap:6px}.case-next-action>small{display:block;font-size:12px;line-height:1.6;color:#567186;white-space:normal}.case-next-action button{width:fit-content;max-width:100%;text-align:left;white-space:normal;font-size:12px;padding:7px 10px;min-height:34px}.case-next-action>small:first-child{font-weight:700;color:#214f70}.workday-roster{line-height:1.9;padding:10px 0}.worker-sync{font-size:12px;color:#6c8193;line-height:1.7;margin:8px 0}.q-meta td{vertical-align:top;line-height:1.7}.simple-arrange .day-main-actions{margin-top:14px}.simple-arrange .day-main-actions>button{min-height:44px}.simple-arrange .workday>small{display:block;margin-top:9px;color:#60798d;line-height:1.7}
@media(max-width:900px){.arrangement-preparation .checkgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.simple-arrange>.card-head{display:block}.simple-arrange>.card-head>button{margin-top:10px}.arrangement-preparation{padding:12px}.simple-arrange .workday{padding:8px}.arrangement-preparation .checkgrid{grid-template-columns:1fr}.case-next-action button{min-height:44px}.simple-arrange .day-main-actions>button{flex-basis:100%}.dispatch-recipients>div{align-items:flex-start}.dispatch-recipients span{flex-basis:100%}.worker-sync{padding:0 2px}}

/* v41: bounded client/site history and a quiet case heading. */
.client-selected-site,.site-history-picker{margin-top:18px;padding-top:12px;border-top:1px solid #dce7f0}.selected-history-case{padding:16px;background:#f5f9fc;border-radius:12px}.selected-history-case .actions{flex-wrap:wrap}.site-history-picker select,#clientSiteChoice{max-width:100%;width:100%}.recurrence-panel>summary{font-weight:700;cursor:pointer}.recurrence-panel[open]>summary{margin-bottom:14px}.case-address-edit button{margin-top:6px}

/* v42 focused date selection and readable quotation inputs. */
.multi-date-picker{margin:16px 0;padding:14px;border:1px solid #d9e6f0;border-radius:12px}.multi-date-picker summary{cursor:pointer;font-weight:700}.multi-date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:10px 0}.multi-date-grid>*{min-width:0;text-align:center}.multi-date-grid button{padding:10px 2px}.multi-date-grid button[aria-pressed=true]{background:#2465a4;color:white}.date-grid-head{display:flex;align-items:center;justify-content:space-between;margin-top:12px}.lump-pricing{display:grid!important;grid-template-columns:minmax(0,1fr) 65px 125px!important;align-items:end}.lump-pricing>.field{min-width:0}.lump-pricing input{min-width:0;width:100%}.worker-list-row{display:grid!important;grid-template-columns:minmax(0,1fr) 140px minmax(0,1fr);align-items:center}.worker-unpaid{text-align:center}.worker-case-history{margin:12px 0;border:1px solid #dce7f0;border-radius:12px;padding:14px}.worker-case-history>summary{font-weight:700;cursor:pointer}.worker-case-history[open]>summary{margin-bottom:14px}.worker-day-line{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;padding:12px 0;border-bottom:1px solid #e4edf4}.worker-day-line>*{min-width:0}.worker-case-money{display:flex;gap:16px;flex-wrap:wrap;margin:10px 0}.quote-editor-table th:first-child{width:auto}.quote-editor-table th:nth-child(2),.quote-editor-table th:nth-child(3){width:54px!important}.quote-editor-table th:nth-child(4),.quote-editor-table th:nth-child(5){width:92px!important}.quote-editor-table th:last-child{width:58px}
@media(max-width:700px){.lump-pricing{grid-template-columns:minmax(0,1fr) 100px!important}.lump-pricing>.field:first-child{grid-column:1/-1}.worker-list-row{gap:8px!important;grid-template-columns:minmax(0,1fr) 80px auto}.worker-unpaid strong{font-size:15px}.worker-list-row .right button{padding:9px}}

.worker-wallet{display:grid;grid-template-columns:1fr 1fr;gap:12px}.worker-wallet>div{padding:16px;border:1px solid #dbe8f0;border-radius:16px;background:#f4f8fc}.worker-wallet span,.worker-wallet strong{display:block}.worker-wallet strong{font-size:26px;margin-top:8px}.worker-job-wage{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0}.worker-preparation details{padding:12px 0;border-top:1px solid #dbe8f0}.worker-preparation summary{cursor:pointer;font-weight:600}.worker-sync{display:flex;align-items:center;justify-content:space-between;gap:10px}.worker-sync button{padding:8px 12px}.worker-month button{min-height:58px}.worker-month small{display:block;font-size:11px}.worker-month .has-work{background:#e2f0f7;color:#12577c;font-weight:700}.worker-month button[aria-pressed=true]{background:#245b78;color:#fff}.worker-app .worker-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.worker-app .worker-tabs button{padding:12px 5px;min-width:0}.worker-app .worker-case-history{background:#f7fafc}.worker-app .worker-case-history summary small{font-weight:400}.worker-app .worker-day-line b{white-space:normal}

/* Compact numeric columns leave the service description the largest share. */
#quoteEditPane .quote-editor-table th:first-child{width:auto}#quoteEditPane .quote-editor-table th:nth-child(2),#quoteEditPane .quote-editor-table th:nth-child(3){width:54px!important}#quoteEditPane .quote-editor-table th:nth-child(4),#quoteEditPane .quote-editor-table th:nth-child(5){width:92px!important}#quoteEditPane .quote-editor-table th:last-child{width:58px}

.worker-list-row>.right{justify-self:end}

.workday-date-action{display:flex;justify-content:flex-end;margin-bottom:10px}.worker-app #workerCalendarDialog{width:min(760px,calc(100vw - 24px));max-height:85vh;overflow:auto;padding:22px;border:0;border-radius:16px;color:#24415f;box-sizing:border-box}.worker-app #workerCalendarDialog::backdrop{background:rgba(30,50,65,.4)}.worker-calendar-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.worker-calendar-dialog-head h2{font-size:22px;margin:6px 0 20px;overflow-wrap:anywhere}.worker-calendar-dialog-head button{padding:5px 12px;background:none;border:0;font-size:27px}.worker-calendar-detail{border-bottom:1px solid #dce7f0;padding-bottom:16px;margin-bottom:18px}.worker-calendar-detail:last-child{border-bottom:0;margin-bottom:0}.worker-calendar-detail h3{font-size:20px;margin:4px 0}.worker-calendar-status{display:inline-block;padding:4px 10px;border-radius:20px;background:#e2f4eb;color:#138166;font-size:14px}.worker-calendar-facts{padding:14px;background:#f5faff;border:1px solid #dce7f0;border-radius:10px;line-height:1.7;overflow-wrap:anywhere;margin:14px 0}.worker-app #workerCalendarDialog .btn{display:inline-block;padding:10px 14px;border:1px solid #cadce8;border-radius:8px;text-decoration:none;color:#245b78}

.worker-month button[aria-pressed=true] small{color:inherit}

/* Worker and administrator use the same public government calendar files. */
.worker-holiday-note{font-size:12px;line-height:1.7;color:#526577;margin:14px 0;overflow-wrap:anywhere}
.worker-month .worker-holiday-red,.worker-month .worker-holiday .worker-day-number,.worker-month .worker-holiday-name{color:#b42332}
.worker-month .worker-holiday-name{font-size:10px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;margin-top:4px}
.worker-month button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px}
.worker-month button[aria-pressed=true]{background:#e5edf8;color:#17334e;outline:2px solid #245b78;outline-offset:-2px}
.worker-month button[aria-pressed=true] .worker-holiday-name{color:#b42332}

.tower-entry{border:1px solid #dbe5ee;border-radius:12px;padding:16px;margin:12px 0;min-width:0}.tower-entry .formrow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tower-entry label,.tower-entry input,.tower-entry select{min-width:0;width:100%;box-sizing:border-box}.tower-entry label{display:flex;flex-direction:column;gap:8px}.tower-entry-total{margin:14px 0}.tower-entry>button{font-size:13px;padding:6px 10px}@media(max-width:600px){.tower-entry .formrow{grid-template-columns:minmax(0,1fr)}}

.worker-account-actions{display:flex;justify-content:flex-end;margin:8px 0}.worker-account-actions button{padding:7px 12px;font-size:13px}#workerPasswordDialog{width:min(92vw,480px);max-height:90dvh;overflow:auto;border:0;border-radius:16px;padding:0}#workerPasswordDialog .card{margin:0;border:0;min-width:0}#workerPasswordDialog input{box-sizing:border-box;width:100%;min-width:0}#workerPasswordDialog::backdrop{background:#152a3a77}
