.pr-page{max-width:1120px;margin:0 auto;padding:8px 0 36px;font-size:14px;color:#303941}.pr-page *{box-sizing:border-box}.pr-page h1{font-size:25px;font-weight:600;margin:12px 0}.pr-page h2{font-size:17px;font-weight:600;margin:0 0 16px}.pr-page h3{font-size:15px;font-weight:550;margin:0 0 8px}.pr-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.pr-heading>div{min-width:0}.pr-panel{background:white;border:1px solid #e3e5e5;border-radius:12px;padding:24px;margin-bottom:20px}.pr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.pr-page label,.pr-email-dialog label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:500;min-width:0}.pr-page input,.pr-page textarea,.pr-page select,.pr-email-dialog input{width:100%;min-width:0;border:1px solid #d8dcdf;border-radius:7px;padding:11px 12px;background:#fff;color:#303941;font:inherit;font-size:14px;line-height:1.5}.pr-page textarea{resize:vertical;min-height:104px}.pr-page input:focus,.pr-page textarea:focus,.pr-page select:focus{outline:2px solid #d9bd36;outline-offset:2px}.pr-page .primary-btn,.pr-page .secondary-btn,.pr-preview button,.pr-email-dialog button{font-weight:500;min-height:42px;line-height:1.3;white-space:normal}.pr-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.pr-actions>button{flex:1;min-width:120px}.pr-muted{color:#69757e;font-size:13px;font-weight:400;line-height:1.6}.pr-selection{font-size:15px;font-weight:550;margin:18px 0}.pr-picker{position:relative}.pr-results{margin-top:8px;max-height:204px;overflow-y:auto;border:1px solid #e6e8e9;border-radius:8px}.pr-results:empty{display:none}.pr-results button{display:block;text-align:left;padding:11px 12px;border:0;border-bottom:1px solid #eef0f1;width:100%;background:white;color:inherit;font:inherit;min-height:42px}.pr-results button:hover,.pr-results button:focus{background:#f8f5e5}.pr-results button:disabled{color:#79838a;background:#f4f5f5}.pr-results p{padding:8px 12px}.pr-room-title{display:flex;align-items:end;gap:16px;margin-bottom:24px}.pr-room-title label{flex:1}.pr-room-title button{font-size:12px}.pr-photos{display:flex;gap:12px;overflow-x:auto;max-width:100%;padding:16px 0 12px}.pr-photos:empty{padding:0}.pr-photos figure{position:relative;margin:0;width:118px;height:110px;flex:0 0 118px;border-radius:8px;background:#f4f5f5;overflow:hidden}.pr-photos img{width:100%;height:100%;object-fit:contain}.pr-photos figure button{position:absolute;right:2px;top:2px;width:32px;height:32px;border-radius:50%;background:#fff;border:1px solid #ddd;color:#414141;font-size:22px}.pr-thumb-loading{display:flex;height:100%;align-items:center;text-align:center;font-size:12px;padding:12px;color:#69757e}.pr-file{position:relative;display:inline-flex!important;flex-direction:row!important;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;min-height:42px}.pr-file input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.pr-photo-actions{margin-top:16px}.pr-photo-actions>*{flex:1}.pr-bottom{margin-top:24px;padding:18px 0;background:#fcfcfa;border-top:1px solid #e1e4e4;display:flex;align-items:center;justify-content:space-between;gap:16px}.pr-bottom>[data-save-status]{font-size:12px;color:#69757e}.pr-bottom .pr-actions{flex:1;max-width:640px}.pr-badge{font-size:12px;border-radius:20px;padding:6px 12px;background:#f0f2f2;color:#5b676f;white-space:nowrap;font-weight:400}.pr-list-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border:0;border-bottom:1px solid #eceeee;background:transparent;width:100%;text-align:left;color:inherit;font:inherit}.pr-list-row>span:first-child{min-width:0;overflow-wrap:anywhere}.pr-list-row:hover{background:#fafaf5}.pr-list-row small,.pr-result-row small{display:block;color:#69757e;margin-top:5px;font-size:12px}.pr-empty{padding:24px 0;color:#69757e;line-height:1.7}.pr-error,.pr-notice{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dcc5c3;border-radius:8px;margin-bottom:16px;color:#874743;background:#fff8f7}.pr-error[hidden]{display:none}.pr-notice{color:#586950;background:#f6faf2;border-color:#dce6d5}.pr-error button,.pr-notice button{font-size:12px;flex-shrink:0}.pr-scenarios{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}.pr-scenario{padding:18px;border:1px solid #e1e5e5;border-radius:8px;display:flex;flex-direction:column;gap:8px}.pr-scenario.pr-expected{border-color:#e4d889;background:#fbf9ea}.pr-scenario span,.pr-scenario small{color:#65717b;font-size:12px}.pr-scenario strong{font-size:26px;font-weight:500}.pr-page details{margin-top:12px}.pr-page summary{cursor:pointer;font-size:13px;padding:12px 0}.pr-page details[open]>.pr-grid{margin:16px 0}.pr-comparable{border-top:1px solid #e6e8e8;margin-top:24px;padding-top:24px}.pr-comparable .pr-heading{margin-bottom:16px}.pr-comparable-photo{display:flex;gap:16px;align-items:center;margin-top:16px}.pr-comparable-photo img{width:120px;height:82px;object-fit:cover;border-radius:6px}.pr-rate{margin-top:24px}.pr-settings{display:flex;align-items:center;justify-content:space-between;gap:24px}.pr-settings h2{margin-bottom:4px}.pr-settings p{margin:0}.pr-toggle{display:flex!important;flex-direction:row!important;align-items:center}.pr-toggle input{width:20px;height:20px}.pr-report-room{border-top:1px solid #e4e7e7;padding-top:20px;margin-top:20px}.pr-report-room p{line-height:1.65;white-space:normal;overflow-wrap:anywhere}.pr-result-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e6e8e8;padding:14px 0}.pr-result-row strong{font-weight:500}.pr-inline-note{font-size:13px;line-height:1.7;padding:12px;background:#faf7e9;border-radius:8px}.pr-preview{width:min(960px,96vw);height:94dvh;max-height:94dvh;padding:0;border:1px solid #ddd;border-radius:12px;background:#f1f2f2}.pr-preview::backdrop,.pr-email-dialog::backdrop{background:#0008}.pr-preview-bar{position:sticky;top:0;z-index:2;background:white;border-bottom:1px solid #ddd;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}.pr-preview-bar strong{font-size:14px;font-weight:550}.pr-preview-bar>div{display:flex;gap:8px}.pr-pdf-pages{padding:12px;display:flex;flex-direction:column;align-items:center;gap:14px}.pr-pdf-pages canvas{background:white;box-shadow:0 2px 8px #0001;height:auto}.pr-email-dialog{max-width:540px;width:94vw;border:1px solid #ddd;border-radius:12px;padding:24px}.pr-email-dialog h2{font-size:20px;font-weight:600}.pr-email-dialog form{display:grid;gap:16px}.pr-email-dialog p{margin:0}.pr-page button:disabled{opacity:.55;cursor:default}.pr-page button:focus-visible{outline:2px solid #c8ac24;outline-offset:2px}
@media(max-width:680px){.pr-page{padding:4px 0 24px}.pr-panel{padding:16px;margin-bottom:16px}.pr-heading{gap:12px;align-items:flex-start}.pr-page h1{font-size:21px}.pr-grid{grid-template-columns:1fr;gap:16px}.pr-room-title{gap:12px;align-items:end}.pr-room-title button{min-width:70px;padding:10px}.pr-bottom{flex-direction:column;align-items:stretch;gap:12px}.pr-bottom .pr-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;width:100%;gap:10px}.pr-bottom .pr-actions>button{min-width:0;width:100%;padding:12px 8px}.pr-bottom .pr-actions>.primary-btn{grid-column:1/-1}.pr-scenarios{gap:8px}.pr-scenario{padding:12px 8px;gap:7px}.pr-scenario strong{font-size:20px}.pr-scenario span{font-size:11px}.pr-settings{padding:16px;gap:12px}.pr-settings h2{font-size:15px}.pr-comparable-photo{flex-wrap:wrap}.pr-preview{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.pr-preview-bar{padding:10px 12px}.pr-preview-bar strong{font-size:12px}.pr-preview button{padding:9px 10px;font-size:12px}.pr-pdf-pages{padding:8px}.pr-error,.pr-notice{align-items:flex-start}.pr-list-row{padding:16px 0}.pr-photo-actions{gap:10px}.pr-photo-actions .pr-file{padding:12px 8px}.pr-page>.secondary-btn{width:100%}}

.pr-adjustments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}.pr-slider input[type=range]{padding:0;min-height:44px;accent-color:#b69b27;border:0}.pr-scenarios{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.pr-photos figure button{width:40px;height:40px}.pr-page input,.pr-page textarea,.pr-page select{font-size:16px}.pr-favourites-dialog{width:min(520px,94vw);max-height:88dvh;border:1px solid #ddd;border-radius:12px;padding:24px}.pr-favourites-dialog label{display:flex;gap:12px;align-items:center;min-height:44px}.pr-favourites-dialog input{width:20px;height:20px}.pr-favourites-dialog form{display:grid;gap:16px}.pr-favourites-list{overflow:auto;max-height:55dvh}.pr-favourites-toolbar{display:flex;justify-content:space-between;gap:12px}.pr-favourites-edit{min-height:40px;background:transparent;border:0;color:inherit;cursor:pointer;font:inherit;font-size:12px}.module-shortcuts-wrap{color:inherit}.pr-room-title{flex-wrap:wrap}@media(max-width:850px){.pr-adjustments{grid-template-columns:1fr}.pr-scenarios{grid-template-columns:repeat(2,minmax(0,1fr))}.pr-checklist .pr-grid{grid-template-columns:1fr}}

.pr-projections{max-width:100%;overflow:auto;margin-bottom:20px}.pr-projections-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}.pr-projections-table caption{text-align:left;color:#69757e;font-size:13px;padding:0 0 12px}.pr-projections-table th,.pr-projections-table td{padding:14px 12px;border-bottom:1px solid #e3e5e5;text-align:right;vertical-align:middle;overflow-wrap:anywhere}.pr-projections-table thead th{font-weight:500;font-size:13px;color:#65717b;background:#f5f6f6}.pr-projections-table th:first-child{text-align:left}.pr-projections-table tbody th{font-weight:500}.pr-projections-table small{display:block;font-size:11px;font-weight:400;color:#65717b;margin-top:4px}.pr-projections-table .pr-expected{background:#fbf9ea}.pr-projections-table td:last-child{font-weight:550}@media(max-width:680px){.pr-projections-table th,.pr-projections-table td{padding:12px 4px;font-size:12px}.pr-projections-table thead th{font-size:11px}}

/* Compact inspection controls, including the iOS native date input. */
.pr-page [hidden]{display:none!important}
.pr-inspection-details .pr-grid{align-items:start;grid-template-columns:minmax(0,1fr) minmax(0,220px)}
.pr-inspection-details input{height:44px;min-height:44px;max-height:44px;max-width:100%;padding:9px 12px;line-height:24px}
.pr-inspection-details input[type=date]{display:block;appearance:none;-webkit-appearance:none;min-width:0;width:100%;overflow:hidden}
.pr-inspection-details input[type=date]::-webkit-date-and-time-value{min-height:24px;text-align:left}
.pr-inspection-details input[type=date]::-webkit-datetime-edit{padding:0}
.pr-picker{min-width:0}.pr-picker-single .pr-results{position:absolute;z-index:5;left:0;right:0;top:100%;margin-top:4px;background:#fff;box-shadow:0 6px 18px #0001;overflow-x:hidden}
.pr-results button{overflow-wrap:anywhere}
.pr-room-title{margin-bottom:8px}.pr-room-type{margin:0 0 16px;color:#69757e;font-size:13px}
.pr-add-room [data-room-chooser]{display:flex;align-items:end;gap:12px;max-width:460px}.pr-add-room label{flex:1;min-width:0}
.pr-checklist{margin:20px 0}.pr-check{border-top:1px solid #e5e7e7;padding:10px 0}
.pr-check-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.pr-check-name{min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:1.5}
.pr-check-controls{display:flex;flex-shrink:0;gap:6px}
.pr-page .pr-check-button{position:relative;display:inline-flex;flex:0 0 40px;width:40px;height:40px;min-height:40px;padding:8px;align-items:center;justify-content:center;border:1px solid #d8dcdf;border-radius:7px;background:#fff;color:#69757e;cursor:pointer}
.pr-check-button .cc-icon{width:22px;height:22px;flex-shrink:0}.pr-check-button:hover{background:#f4f5f5}.pr-check-camera:focus-within{outline:2px solid #c8ac24;outline-offset:2px}
.pr-check-button[data-check-status=good][aria-pressed=true]{color:#287444;border-color:#97c5a5;background:#eaf5ed}
.pr-check-button[data-check-status=attention][aria-pressed=true]{color:#a1453e;border-color:#d2a29c;background:#fbefed}
.pr-check [data-check-fields]{padding-top:12px}.pr-check .pr-grid{margin:12px 0 4px}.pr-check textarea{min-height:80px}.pr-check p{margin:0}
.pr-check-camera [data-check-photo-count]{position:absolute;top:0;right:1px;background:#edf0f1;border-radius:8px;font-size:10px;min-width:14px;text-align:center;pointer-events:none}
@media(max-width:680px){.pr-inspection-details .pr-grid{grid-template-columns:minmax(0,1fr)}.pr-add-room>[data-pr=add-room]{width:100%}.pr-check-row{gap:8px}.pr-check-controls{gap:4px}}

/* All projection controls stay above the results; fee assumptions tuck into the heading. */
.pr-income-panel{position:relative}.pr-income-panel>h2{padding-right:56px;min-height:44px;display:flex;align-items:center;margin-bottom:16px}
.pr-page .pr-fee-settings{margin:0}.pr-fee-settings>summary{position:absolute;right:24px;top:24px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:1px solid #d8dcdf;border-radius:7px;background:#fff;color:#65717b;list-style:none}
.pr-fee-settings>summary::-webkit-details-marker{display:none}.pr-fee-settings>summary:hover,.pr-fee-settings[open]>summary{background:#f5f6f6;color:#303941}.pr-fee-settings>summary:focus-visible{outline:2px solid #c8ac24;outline-offset:2px}.pr-fee-settings>summary .cc-icon{width:22px;height:22px}
.pr-fee-controls{padding:20px;margin:0 0 24px;border:1px solid #e3e5e5;border-radius:8px;background:#fafbfb}.pr-fee-controls h3{margin-bottom:16px}.pr-fee-basis{grid-column:1/-1}
.pr-income-panel .pr-adjustments{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px}.pr-income-panel .pr-slider{min-width:0}.pr-adjustments label{justify-content:space-between;min-height:96px;line-height:1.5}.pr-slider .pr-booking-mix{margin:0;font-size:12px}.pr-month-basis{margin:0 0 16px}
@media(max-width:1000px){.pr-income-panel .pr-adjustments{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.pr-fee-settings>summary{top:16px;right:16px}.pr-fee-controls{padding:16px}.pr-income-panel .pr-adjustments{grid-template-columns:minmax(0,1fr);gap:16px}.pr-adjustments label{min-height:0}.pr-income-panel>h2{font-size:16px}}

.pr-projections>h3{font-size:17px;font-weight:600;margin:0 0 8px}.pr-projections>.pr-month-basis{margin:0 0 16px}
.pr-comparable-evidence>.pr-picker{margin-top:24px}.pr-picker-multi .pr-results{position:absolute;z-index:5;left:0;right:0;top:100%;margin-top:4px;background:#fff;box-shadow:0 6px 18px #0001;overflow-x:hidden}
.pr-property-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.pr-property-tags:empty{margin:0}.pr-property-tag{display:flex;align-items:center;gap:8px;max-width:100%;min-width:0;border:1px solid #dde1e3;border-radius:8px;background:#f7f8f8;padding:4px 4px 4px 8px}.pr-property-tag>span{min-width:0;overflow-wrap:anywhere;font-size:13px;font-weight:400}.pr-property-tag>img{width:36px;height:36px;flex-shrink:0;border-radius:4px;object-fit:cover}.pr-property-tag>button{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;border:0;border-radius:6px;background:transparent;color:#69757e;cursor:pointer}.pr-property-tag>button:hover{background:#e9eded;color:#303941}.pr-property-tag .cc-icon{width:18px;height:18px}

.pr-pdf-sheet{position:relative;width:100%;line-height:0}.pr-pdf-sheet>canvas{display:block}.pr-pdf-link{position:absolute;display:block;cursor:pointer;border-radius:2px}.pr-pdf-link:hover{background:#c9dae233}.pr-pdf-link:focus-visible{outline:2px solid #50758b;outline-offset:3px}

/* Keep the reviewed evidence visually separate from its action and give each result room. */
.pr-evidence{margin-top:24px;padding-top:20px;border-top:1px solid #e5e8e8}.pr-evidence>h3{margin:0 0 10px;font-size:17px;font-weight:550;line-height:1.5}.pr-evidence>.pr-muted{margin:0 0 12px}.pr-evidence .pr-result-row{padding:18px 0;line-height:1.5}.pr-evidence .pr-result-row>span{min-width:0;overflow-wrap:anywhere}.pr-evidence .pr-result-row>strong{flex-shrink:0}.pr-evidence .pr-result-row:last-child{border-bottom:0}.pr-preview>.pr-inline-note{margin:12px 16px;padding:12px 16px;font-size:13px;line-height:1.6}

.pr-pdf-columns{border:0;padding:0;margin:20px 0 24px;min-width:0}.pr-pdf-columns legend{font-size:14px;font-weight:500;margin-bottom:8px}.pr-pdf-columns>div{display:flex;flex-wrap:wrap;gap:4px 20px}.pr-pdf-columns label{display:flex;align-items:center;gap:8px;min-height:40px;font-size:14px;font-weight:400}.pr-pdf-columns input{width:18px;height:18px;accent-color:#b89d30}

.pr-evidence-approval{display:flex;align-items:flex-start;gap:10px;margin:16px 0;font-size:14px;line-height:1.5}.pr-evidence-approval input{flex:0 0 18px;width:18px;height:18px;margin-top:2px}

.pr-picker-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left}.pr-picker-toggle span{color:#69757e;font-size:12px;font-weight:400}.pr-picker-multi [data-picker-panel]{padding:16px;margin-top:8px;border:1px solid #e3e5e5;border-radius:8px;background:#fafbfb}.pr-picker-multi .pr-results{position:static;max-height:280px;margin:12px 0;box-shadow:none}.pr-picker-multi [hidden]{display:none}
/* Inspection: staged capture and readable follow-up. */
.pr-page [data-inspection-step][hidden],.pr-page button[hidden]{display:none!important}.pr-inspection-steps{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 24px}.pr-inspection-steps button{display:flex;align-items:center;gap:12px;min-height:52px;padding:12px 16px;border:1px solid #e0e4e5;border-radius:8px;background:#fff;color:#647078;font:inherit;text-align:left}.pr-inspection-steps button[aria-current="step"]{background:#fbf8e8;border-color:#dac454;color:#303941}.pr-inspection-steps button span{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;background:#eef0ef;border-radius:50%;font-size:13px}.pr-inspection-steps button[aria-current="step"] span{background:#ebcf4e}.pr-step-actions{display:flex;justify-content:flex-end;margin-top:24px}.pr-inspection-context{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;color:#69757e}.pr-other-observations{margin-top:28px;padding:24px 20px;border:1px solid #e1e5e5;border-radius:8px;background:#f7f8f8}.pr-other-observations h3{margin-bottom:18px}.pr-check>.pr-photos{padding:12px 0 4px}.pr-check>.pr-photos:empty{padding:0}.pr-photos figure{width:auto;max-width:240px;height:140px;flex:0 0 auto}.pr-photos img{width:auto;max-width:240px;height:140px;object-fit:contain}.pr-photos .pr-thumb-loading{width:140px}.pr-inspection-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-top:12px}.pr-inspection-stats span{display:flex;flex-direction:column;gap:6px;color:#69757e;font-size:13px}.pr-inspection-stats strong{font-size:26px;font-weight:500;color:#303941}.pr-review-check{padding:16px 0;border-bottom:1px solid #e8ebeb}.pr-review-check-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.pr-review-check-heading h3{margin:0}.pr-needs-attention .pr-badge{background:#fbf2e5;color:#875f2c}.pr-report-room p,.pr-followup p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.pr-action-copy{padding:12px 16px;background:#f8f6ec;border-left:3px solid #d4bd54}.pr-action-copy strong{display:block;font-size:12px;font-weight:500;color:#69757e;margin-bottom:4px}.pr-followup{padding:20px 0;border-bottom:1px solid #e5e8e8}.pr-followup:last-child{border-bottom:0;padding-bottom:0}.pr-followup-buttons{display:flex;gap:12px;flex-wrap:wrap}.pr-followup-buttons button{flex:1;min-width:190px}.pr-inspection-overview{border-top:3px solid #d9be43}@media(max-width:600px){.pr-inspection-steps{gap:8px}.pr-inspection-steps button{padding:12px 8px;gap:8px;font-size:13px}.pr-inspection-context{align-items:flex-start;flex-direction:column}.pr-other-observations{padding:20px 16px}.pr-inspection-stats{gap:12px}.pr-review-check-heading{align-items:flex-start}.pr-review-check-heading .pr-badge{white-space:normal;flex-shrink:0;max-width:110px}.pr-followup-buttons{flex-direction:column}.pr-followup-buttons button{width:100%}}

.stay-page{max-width:1120px;margin:auto;padding:24px 0}.stay-page h1{font-size:26px;font-weight:600;margin:0}.stay-page h2{font-size:18px;font-weight:600;margin:0 0 16px}.stay-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.stay-panel{background:#fff;border:1px solid #e1e4e8;border-radius:8px;padding:24px;margin:16px 0}.stay-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.stay-grid label,#stayProviderForm>label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:500;min-width:0}.stay-page input,.stay-page textarea,.stay-page select{width:100%;padding:10px 12px;border:1px solid #bbc2ca;border-radius:6px;font-family:inherit;font-size:16px;font-weight:400;line-height:1.5;background:white;color:#30363c;min-height:44px}.stay-page textarea{resize:vertical}.stay-page summary{cursor:pointer;font-weight:500;margin-bottom:16px}.stay-actions{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.stay-page button{min-height:40px;font-weight:500}.stay-page iframe{width:100%;height:76vh;border:1px solid #dde1e6}.stay-error{color:#a53737;overflow-wrap:anywhere}.stay-status{font-size:13px;font-weight:400;background:#eef1f4;border-radius:4px;padding:5px 8px}.stay-row{display:grid;grid-template-columns:1fr 180px 120px;gap:16px;text-align:left;width:100%;border:0;border-bottom:1px solid #e4e7eb;background:#fff;padding:16px 0;color:inherit;cursor:pointer;align-items:center}.stay-row:hover{background:#f5f6f8}.stay-row small{display:block;color:#687584;font-weight:400;margin-top:4px}.stay-summary{display:grid;grid-template-columns:1fr 1fr;gap:16px}.stay-summary dt{color:#687584;font-size:13px}.stay-summary dd{margin:4px 0;overflow-wrap:anywhere}.stay-page .stay-consent{flex-direction:row;align-items:flex-start;margin:16px 0;font-weight:400}.stay-consent input{width:20px;min-height:20px;flex-shrink:0}.stay-page :focus-visible{outline:2px solid #82702d;outline-offset:2px}@media(max-width:700px){.stay-page{padding:16px 0}.stay-heading{align-items:flex-start}.stay-grid,.stay-summary{grid-template-columns:1fr}.stay-panel{padding:16px}.stay-row{grid-template-columns:1fr auto;gap:8px}.stay-row>span:nth-child(2){grid-row:2;grid-column:1/3}.stay-actions button{flex:1;min-width:140px}.stay-page h1{font-size:22px}}

.ps-page{font-size:14px;min-width:0;color:var(--text,#383838)}.ps-page h1{font-size:28px;font-weight:600;margin:0 0 8px}.ps-page h2{font-size:18px;font-weight:600;margin:0}.ps-page h3{font-size:15px;font-weight:500;margin:0}.ps-page p{color:#627080;line-height:1.5;margin:8px 0}.ps-header,.ps-toolbar,.ps-detail-header,.ps-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.ps-header{margin:8px 0 24px}.ps-toolbar{justify-content:flex-start;margin-bottom:16px}.ps-toolbar>span{color:#627080}.ps-page button{min-height:40px;font-size:14px;font-weight:500}.ps-page button:disabled{opacity:.55;cursor:wait}.ps-page button:focus-visible{outline:2px solid #8a701c;outline-offset:2px}.ps-page label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:14px;font-weight:500}.ps-page input,.ps-page select,.ps-page textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid #d9dee3;border-radius:6px;padding:10px 12px;background:#fff;font:inherit;color:inherit;min-height:44px}.ps-page textarea{resize:vertical}.ps-toolbar select{min-width:180px}.ps-layout{display:grid;grid-template-columns:minmax(220px,30%) minmax(0,1fr);gap:16px;align-items:start}.ps-property-list,.ps-detail,.ps-settings{border:1px solid #e0e4e8;border-radius:8px;background:white;min-width:0;overflow:hidden}.ps-property-list{max-height:72vh;overflow:auto}.ps-property{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;text-align:left;padding:16px;border:0;border-bottom:1px solid #edf0f2;background:#fff;color:inherit;cursor:pointer}.ps-property>span:first-child{overflow-wrap:anywhere}.ps-property.is-selected{background:#fff8df;box-shadow:inset 3px 0 #d6b33d}.ps-property:hover{background:#f6f7f8}.ps-badge{flex-shrink:0;display:inline-flex;align-items:center;background:#f4edcf;border:1px solid #e7d99d;color:#66541a;border-radius:6px;padding:5px 8px;font-size:13px;font-weight:400;line-height:1.3}.ps-badge.is-complete{background:#eaf3ee;color:#3d6953;border-color:#d9e9df}.ps-detail-header{padding:20px;border-bottom:1px solid #edf0f2}.ps-detail-header h2{overflow-wrap:anywhere}.ps-progress{display:flex;align-items:center;gap:12px;padding:16px 20px;font-size:13px;color:#627080}.ps-progress progress{min-width:0;flex:1;height:8px;accent-color:#b89727}.ps-task{padding:20px;border-top:1px solid #edf0f2}.ps-task-title{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.ps-meta{font-size:12px;color:#65717c}.ps-task-copy{min-width:0;overflow-wrap:anywhere}.ps-task-actions,.ps-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ps-task-actions{margin-top:12px}.ps-reason{color:#475d51!important}.ps-reason-form{margin-top:16px}.ps-reason-form .ps-actions{margin-top:12px}.ps-empty{padding:24px;color:#627080;line-height:1.6}.ps-settings{padding:20px;margin-bottom:16px}.ps-template{display:grid;grid-template-columns:1fr 1.3fr;gap:12px;padding:16px 0;border-top:1px solid #edf0f2}.ps-template:first-child{margin-top:16px}.ps-page .ps-checkbox{display:flex;flex-direction:row;align-items:center;font-weight:400;gap:8px}.ps-checkbox input{width:18px;min-height:18px;height:18px;flex-shrink:0;accent-color:#b89727}.ps-template .ps-actions{justify-content:flex-end}.ps-settings-fields{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-top:16px}.ps-settings small{font-size:12px;color:#627080;line-height:1.5}.ps-error{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #e6c2c2;background:#fff7f7;color:#874747;border-radius:6px;padding:12px;margin-bottom:16px}.ps-error>span{flex:1;min-width:160px}.ps-template button{padding:8px 12px}.ps-page [aria-busy=true]{cursor:progress}@media(max-width:760px){.ps-layout{grid-template-columns:1fr}.ps-property-list{max-height:260px}.ps-header{align-items:flex-start}.ps-header h1{font-size:24px}.ps-header>button{width:100%}.ps-detail-header,.ps-task,.ps-settings{padding:16px}.ps-template,.ps-settings-fields{grid-template-columns:1fr}.ps-template .ps-actions{justify-content:flex-start}.ps-task-actions button{flex:1}.ps-toolbar{gap:12px}.ps-toolbar label{flex:1}.ps-toolbar>span{order:3;width:100%}.ps-progress{padding:16px}.ps-badge{white-space:normal}.ps-property .ps-badge{white-space:nowrap}.ps-task-actions .ps-badge{width:100%;border:0;background:transparent;padding-left:0}}

.ce-page{max-width:1280px;margin:auto;font-size:14px}.ce-controls{border:0;padding:0;margin:0;min-width:0}.ce-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;align-items:start}.ce-card{background:#fff;border:1px solid #e0e3e6;border-radius:12px;padding:20px;min-width:0}.ce-card h2{font-size:18px;font-weight:600;margin:0 0 16px}.ce-card h3{font-size:16px;font-weight:550}.ce-card label{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;font-weight:500}.ce-card input:not([type=checkbox]),.ce-card textarea,.ce-card select{width:100%;min-height:42px;padding:10px 12px;border:1px solid #cbd1d8;border-radius:7px;font:inherit;font-weight:400;background:#fff;color:inherit;min-width:0}.ce-card textarea{resize:vertical;line-height:1.6}.ce-card button{min-height:42px;font-weight:500}.ce-help,.ce-address{color:#667085;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.ce-landlords{max-height:290px;overflow:auto;border:1px solid #e2e5e8;border-radius:8px;margin-bottom:16px;padding:8px}.ce-card .ce-choice{display:flex;flex-direction:row;align-items:start;gap:10px;padding:10px;margin:0;font-weight:400}.ce-choice[hidden]{display:none}.ce-choice input{width:18px;height:18px;flex-shrink:0;margin-top:2px;accent-color:#d6b741}.ce-choice span{min-width:0;overflow-wrap:anywhere}.ce-choice small,.ce-history small{display:block;color:#667085;line-height:1.5}.ce-choice:hover{background:#f6f7f8}.ce-recipient{padding:12px 0;border-top:1px solid #eceef0}.ce-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}.ce-preview,.ce-history{margin-top:20px}.ce-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-weight:400}.ce-count{font-size:14px;font-weight:400;color:#667085}.ce-notice{padding:12px 16px;background:#f4f6f8;margin-bottom:16px;border-radius:8px;display:flex;justify-content:space-between;gap:16px}.ce-notice button{border:0;background:none;min-width:32px}.ce-error{color:#a64040}.ce-card summary{cursor:pointer;min-height:40px;line-height:40px;font-weight:500}.ce-history article{border-top:1px solid #e5e7eb;padding:14px 0;overflow-wrap:anywhere}.ce-history article>button{margin:8px 0}.ce-history p{margin:6px 0}.ce-page :focus-visible{outline:2px solid #9c8426;outline-offset:2px}.ce-controls:disabled{opacity:.7}@media(max-width:760px){.ce-grid{grid-template-columns:1fr;gap:16px}.ce-card{padding:16px}.ce-card input:not([type=checkbox]),.ce-card textarea,.ce-card select{font-size:16px}.ce-actions>button{flex:1}.ce-preview{scroll-margin-top:90px}}

.ce-test{margin-top:20px}.ce-test-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.ce-test-controls label{flex:1;min-width:220px;margin:0}.ce-preview h2{scroll-margin-top:110px}.ce-test-controls button{flex-shrink:0}@media(max-width:760px){.ce-test-controls label{min-width:0;flex-basis:100%}.ce-test-controls button{width:100%}}

.ld-page{max-width:1100px;margin:auto}.ld-panel{background:#fff;border:1px solid #d9e0e9;border-top:4px solid #d0b719;border-radius:14px;padding:24px;margin:20px 0}.ld-panel h2{font-size:1.2rem;margin:0 0 16px}.ld-panel h3{font-size:1rem}.ld-page label{display:flex;flex-direction:column;gap:8px;font-size:1rem;font-weight:600;margin-bottom:14px;min-width:0}.ld-page input:not([type=checkbox]),.ld-page select,.ld-page textarea{width:100%;min-width:0;border:1px solid #cbd5e1;border-radius:8px;padding:12px;background:#fff;color:#172235;font:inherit;font-weight:400}.ld-page textarea{resize:vertical;line-height:1.6}.ld-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ld-checks{display:flex;flex-wrap:wrap;gap:10px 18px;margin:12px 0}.ld-checks label,.ld-page label.ld-inline{flex-direction:row;align-items:center;font-weight:400}.ld-page input[type=checkbox]{width:20px;height:20px;accent-color:#9e8600;flex-shrink:0}.ld-page fieldset{border:1px solid #d9e0e9;border-radius:10px;padding:16px;margin:16px 0;min-width:0}.ld-page legend{font-weight:700;padding:0 6px}.ld-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.ld-toolbar label{margin:0;flex:1}.ld-toolbar h2{margin:0}.ld-toolbar span,.ld-page small{font-size:.9rem;color:#657185}.ld-bed-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(80px,1fr) auto;gap:12px;align-items:center}.ld-generate{width:100%;padding:18px!important;font-size:1.1rem!important}.ld-output{scroll-margin-top:20px;margin-top:32px}.ld-page button{min-height:44px}.ld-page button:focus-visible,.ld-page input:focus-visible,.ld-page textarea:focus-visible,.ld-page select:focus-visible{outline:3px solid #aa9000;outline-offset:2px}@media(max-width:600px){.ld-panel{padding:16px}.ld-grid{grid-template-columns:1fr}.ld-bed-row{grid-template-columns:minmax(0,2fr) minmax(70px,1fr)}.ld-bed-row>button{grid-column:1/-1;justify-self:start}.ld-toolbar{align-items:stretch}.ld-page .page-title{display:block}.ld-output .ld-toolbar button{flex:1}.ld-checks{gap:8px 12px}}

:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182033;background:#f3f5f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#f3f5f8}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:#10192a;color:#fff;padding:24px 16px 18px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;padding:0 8px}.logo{width:38px;height:38px;border-radius:11px;background:#fff;color:#10192a;display:grid;place-items:center;font-weight:550}.brand strong{display:block;font-size:15px}.brand span{display:block;color:#91a0ba;font-size:11px;margin-top:2px}.sidebar nav{display:flex;flex-direction:column;gap:5px;margin-top:38px}.nav-item{width:100%;border:0;background:transparent;color:#aeb9cb;border-radius:11px;padding:12px 13px;display:grid;grid-template-columns:24px 1fr auto;align-items:center;text-align:left;gap:8px;cursor:pointer}.nav-item b{font-size:13px}.nav-item em{font-style:normal;background:#27344a;color:#fff;border-radius:999px;padding:3px 7px;font-size:10px}.nav-item.active,.nav-item:hover{background:#22314b;color:#fff}.sidebar-footer{margin-top:auto;border-top:1px solid #26344b;padding:18px 8px 0;display:flex;gap:10px;align-items:center}.avatar{width:34px;height:34px;border-radius:50%;background:#d9e3f8;color:#1a2b4a;display:grid;place-items:center;font-weight:550;font-size:12px}.sidebar-footer b{display:block;font-size:12px}.sidebar-footer span{color:#8f9db4;font-size:10px}.content-shell{min-width:0}.mobile-header{display:none}.content-shell main{max-width:1460px;margin:0 auto;padding:42px 42px 80px}.hero-row,.page-title{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:26px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#6c7a91;font-weight:550;margin:0 0 8px}.hero-row h1,.page-title h1{font-size:38px;letter-spacing:-.04em;margin:0;color:#141d2e}.hero-copy,.page-title p{color:#667287;margin:8px 0 0}.last-sync{background:#fff;border:1px solid #e1e6ee;border-radius:999px;padding:9px 13px;font-size:11px;color:#657188}.last-sync span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#22a06b;margin-right:6px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:26px}.stat-card{background:#fff;border:1px solid #e1e6ee;border-radius:15px;padding:17px 18px}.stat-card span,.stat-card small{display:block;color:#778397;font-size:11px}.stat-card strong{display:block;font-size:30px;margin:8px 0 5px;color:#172033}.stat-card.danger{border-top:4px solid #d92d20}.stat-card.warning{border-top:4px solid #f79009}.dashboard-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(280px,.8fr);gap:18px;margin-bottom:30px}.priority-panel,.attention-panel,.modules-section{background:#fff;border:1px solid #e1e6ee;border-radius:18px;padding:20px}.section-heading{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:16px}.section-heading h2{font-size:20px;margin:0;color:#182033}.section-heading p{margin:4px 0 0;color:#788499;font-size:12px}.text-btn{border:0;background:transparent;color:#2463eb;font-weight:550;cursor:pointer;font-size:12px}.priority-list{display:grid;gap:10px}.attention-item{display:flex;gap:12px;align-items:center;border-top:1px solid #edf0f4;padding:16px 0}.attention-item:first-of-type{border-top:0}.attention-number{width:38px;height:38px;border-radius:10px;background:#edf2f9;display:grid;place-items:center;font-weight:550}.attention-item b,.attention-item small{display:block}.attention-item b{font-size:13px}.attention-item small{font-size:11px;color:#7d899b;margin-top:3px}.modules-section{margin-top:0}.module-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.module-card{border:1px solid #e4e8ef;background:#fafbfd;border-radius:14px;padding:15px;text-align:left;cursor:pointer;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px}.module-card:hover{background:#fff;box-shadow:0 10px 24px rgba(18,30,50,.07)}.module-icon{width:40px;height:40px;border-radius:12px;background:#17243a;color:#fff;display:grid;place-items:center;font-weight:550}.module-card h3{font-size:14px;margin:0}.module-card p{font-size:11px;color:#738096;margin:4px 0 0;line-height:1.4}.module-card>span{font-size:10px;color:#607087;background:#edf1f6;padding:5px 7px;border-radius:999px;white-space:nowrap}.controls{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:22px}.tabs{display:flex;background:#e7ebf1;padding:4px;border-radius:12px}.tabs button{border:0;background:transparent;padding:8px 12px;border-radius:9px;color:#667286;font-size:12px;font-weight:550;cursor:pointer}.tabs button.active{background:#fff;color:#172033;box-shadow:0 2px 8px rgba(10,20,35,.08)}.filters{display:flex;gap:8px}.filters input{min-width:260px}input,select,textarea{border:1px solid #d7dde7;background:#fff;border-radius:10px;padding:10px 11px;color:#202a3b}.queue-section{margin-top:28px}.count-pill{font-size:11px;font-weight:550;background:#e7ecf4;padding:7px 10px;border-radius:999px}.issue-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.issue-card{display:block;text-align:left;width:100%;background:#fff;border:1px solid #e1e6ef;border-radius:15px;padding:17px;cursor:pointer;color:inherit;transition:.18s ease}.issue-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(15,23,42,.08)}.issue-card.compact{padding:14px}.issue-card.overdue{border-left:5px solid #ef4444}.issue-card-top,.issue-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.badges{display:flex;gap:6px;flex-wrap:wrap}.badge{font-size:9px;text-transform:uppercase;letter-spacing:.05em;font-weight:550;padding:5px 7px;border-radius:999px}.priority-critical{background:#fee2e2;color:#b42318}.priority-urgent{background:#ffedd5;color:#c2410c}.priority-important{background:#fef3c7;color:#92400e}.priority-routine{background:#e0f2fe;color:#075985}.neutral{background:#edf1f6;color:#5d6676}.overdue-badge{background:#ef4444;color:#fff}.age{font-size:11px;color:#7f899a}.issue-card h3{font-size:17px;margin:13px 0 5px}.location{font-weight:550;font-size:12px;color:#48566c;margin:0}.summary{color:#687387;line-height:1.45;margin:12px 0;font-size:13px}.issue-meta{border-top:1px solid #edf0f5;padding-top:10px;font-size:10px;color:#7d8798}.next-action{margin-top:10px;background:#f5f7fb;border-radius:9px;padding:9px 10px;font-size:11px;line-height:1.45;color:#4d586c}.primary-btn{border:0;border-radius:10px;background:#2463eb;color:#fff;padding:10px 14px;font-weight:550;cursor:pointer}.empty-state,.placeholder-card{border:1px dashed #cfd6e2;color:#718096;text-align:center;padding:45px;border-radius:16px;background:#fafbfc}.placeholder-card{max-width:700px;margin-top:30px}.placeholder-card h2{color:#1b2638}.placeholder-icon{width:52px;height:52px;background:#17243a;color:#fff;border-radius:14px;display:grid;place-items:center;margin:0 auto;font-size:22px}.modal-backdrop{position:fixed;inset:0;background:rgba(4,9,18,.66);display:grid;place-items:center;padding:20px;z-index:50}.modal{width:min(900px,100%);max-height:92vh;overflow:auto;background:#f7f8fb;border-radius:20px;padding:24px}.modal-header{display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid #e0e5ed;padding-bottom:18px;margin-bottom:20px}.modal-header h2{font-size:27px;margin:12px 0 5px}.modal-header p{margin:0;color:#6c7789}.icon-btn{height:36px;width:36px;border:0;border-radius:10px;background:#e9edf3;font-size:24px;cursor:pointer}.detail-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px}.panel{background:#fff;border:1px solid #e0e5ed;border-radius:14px;padding:17px;margin-bottom:12px}.panel h4{margin:0 0 9px}.panel p{line-height:1.55;color:#596579}.panel.quote{border-left:4px solid #2463eb}.panel textarea{width:100%;min-height:95px}.detail-side{background:#fff;border:1px solid #e0e5ed;border-radius:14px;padding:17px;height:max-content}.detail-side label,.create-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:550;margin-bottom:13px}.facts{border-top:1px solid #e6eaf0;margin-top:15px;padding-top:8px}.facts p{display:flex;justify-content:space-between;font-size:12px}.facts span{color:#7c8696}.full{width:100%}.danger-link{width:100%;border:0;background:transparent;color:#b42318;padding:12px;cursor:pointer}.create-form{background:#fff;border:1px solid #e0e5ed;border-radius:14px;padding:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.create-form textarea{min-height:90px;resize:vertical}
@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}.module-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.issue-grid{grid-template-columns:1fr}.controls{align-items:stretch;flex-direction:column}.filters{flex-wrap:wrap}}
@media(max-width:760px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:-270px;width:250px;transition:.2s}.sidebar.show{left:0}.mobile-header{display:flex;height:64px;background:#383838;color:#fff;align-items:center;justify-content:space-between;padding:0 16px}.mobile-header .brand{padding:0}.mobile-header .logo{width:32px;height:32px}.mobile-header button{border:0;background:transparent;color:#fff;font-size:22px}.content-shell main{padding:26px 16px 60px}.hero-row,.page-title{align-items:flex-start;flex-direction:column}.hero-row h1,.page-title h1{font-size:31px}.stats-grid{grid-template-columns:1fr 1fr;gap:10px}.module-grid{grid-template-columns:1fr}.filters{flex-direction:column;width:100%}.filters input{min-width:0}.tabs{overflow:auto;width:100%}.tabs button{white-space:nowrap}.detail-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.last-sync{display:none}}

/* The live Cleaning manager app stays inside the Command Centre shell. */
.cleaning-embed-active{height:100vh;overflow:hidden}.cleaning-embed-active .content-shell{display:grid;min-height:0;grid-template-rows:1fr}.cleaning-embed-active .content-shell main{width:100%;height:100vh;max-width:none;margin:0;padding:0;overflow:hidden}.cleaning-embed{width:100%;height:100%;background:#fff}.cleaning-embed iframe{display:block;width:100%;height:100%;border:0;background:#fff}
@media(max-width:760px){.cleaning-embed-active .content-shell{grid-template-rows:58px minmax(0,1fr)}.cleaning-embed-active .content-shell main{height:auto;min-height:0}.cleaning-embed-active .mobile-header{position:relative;z-index:2}}
.invoice-embed-active{height:100vh;overflow:hidden}.invoice-embed-active .content-shell{display:grid;min-height:0;grid-template-rows:1fr}.invoice-embed-active .content-shell main{width:100%;height:100vh;max-width:none;margin:0;padding:0;overflow:hidden}.invoice-builder-embed{position:relative;width:100%;height:100%;background:#fff}.invoice-builder-embed iframe{display:block;width:100%;height:100%;border:0;background:#fff;opacity:0;transition:opacity .15s ease}.invoice-builder-embed.is-ready iframe{opacity:1}.invoice-embed-loading{position:absolute;inset:0;z-index:1;display:grid;place-content:center;justify-items:center;gap:12px;background:#fff;color:#526174}.invoice-builder-embed.is-ready .invoice-embed-loading{display:none}
@media(max-width:760px){.invoice-embed-active .content-shell{grid-template-rows:58px minmax(0,1fr)}.invoice-embed-active .content-shell main{height:auto;min-height:0}.invoice-embed-active .mobile-header{position:relative;z-index:2}}
.external-embed-active{height:100vh;overflow:hidden}.external-embed-active .content-shell{display:grid;min-height:0;grid-template-rows:1fr}.external-embed-active .content-shell main{width:100%;height:100vh;max-width:none;margin:0;padding:0;overflow:hidden}.external-app-view{display:grid;height:100%;grid-template-rows:auto minmax(0,1fr);background:#f3f5f8}.external-app-view>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 24px;border-bottom:1px solid #dde3ec;background:#fff}.external-app-view h1{margin:0;color:#172033;font-size:24px}.external-app-view header p:last-child{margin:5px 0 0;color:#6b778b;font-size:11px}.external-app-view header a{text-decoration:none;white-space:nowrap}.external-app-frame{position:relative;min-height:0;background:#fff}.external-app-frame iframe{display:block;width:100%;height:100%;border:0;background:#fff}.external-app-frame>p{position:absolute;right:16px;bottom:12px;margin:0;border-radius:9px;background:rgba(16,25,42,.88);color:#fff;padding:8px 10px;font-size:10px;pointer-events:none}
@media(max-width:760px){.external-embed-active .content-shell{grid-template-rows:58px minmax(0,1fr)}.external-embed-active .content-shell main{height:auto;min-height:0}.external-app-view>header{align-items:flex-start;padding:14px 16px}.external-app-view header p:last-child{display:none}.external-app-view h1{font-size:20px}.external-app-frame>p{right:8px;bottom:8px;left:8px;text-align:center}}
.stay-line{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#64748b;font-size:12px;margin:8px 0}.stay-line b{color:#334155}.stay-line span{text-align:right}
@media(max-width:640px){.stay-line{align-items:flex-start;flex-direction:column;gap:3px}.stay-line span{text-align:left}.module-grid{grid-template-columns:1fr}.issue-card{padding:16px}.modal{width:calc(100vw - 20px);max-height:calc(100vh - 20px);overflow:auto}}

.auth-screen,.loading-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 10%,#e5ecf9 0,transparent 34%),#f3f5f8}.auth-card{width:min(100%,480px);padding:34px;background:#fff;border:1px solid #dfe5ef;border-radius:22px;box-shadow:0 24px 70px rgba(16,25,42,.12)}.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:34px}.auth-brand .logo{background:#10192a;color:#fff}.auth-brand strong,.auth-brand span{display:block}.auth-brand span{margin-top:3px;color:#738096;font-size:12px}.auth-card h1{margin:0;color:#141d2e;font-size:32px;letter-spacing:-.04em}.auth-card>p:not(.eyebrow){color:#667287;line-height:1.55}.auth-card form{display:grid;gap:14px;margin-top:24px}.auth-card label{display:grid;gap:7px;color:#344157;font-size:12px;font-weight:550}.auth-card input{width:100%;min-height:46px}.auth-card small{display:block;margin-top:18px;color:#8893a5;text-align:center;line-height:1.4}.auth-error,.connection-error{padding:12px 14px;border:1px solid #f1b8b2;border-radius:11px;background:#fff0ee;color:#a22d22;font-size:12px;line-height:1.45}.auth-error{margin-top:18px}.connection-error{margin:-8px 0 20px}.connection-error button{border:0;background:transparent;color:#8a241c;font-weight:550;text-decoration:underline;cursor:pointer}.prototype-link{display:block;width:100%;margin-top:14px;border:0;background:transparent;color:#52627a;font-weight:550;cursor:pointer;padding:8px}.loading-screen{align-content:center;gap:14px;color:#657188}.loading-screen .logo{background:#10192a;color:#fff;margin:auto}.loader{width:26px;height:26px;margin:auto;border:3px solid #d9e1ee;border-top-color:#2463eb;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.sidebar-footer{position:relative}.sidebar-footer>button{margin-left:auto;border:0;background:transparent;color:#92a1b8;font-size:10px;cursor:pointer}.empty-state.small{padding:24px}.primary-btn:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:520px){.auth-screen{padding:12px}.auth-card{padding:25px 20px}.auth-card h1{font-size:28px}}

.reservation-section{margin-bottom:20px}.issue-entry-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#e9edf3;border-radius:12px;padding:5px;margin-bottom:16px}.issue-entry-tabs button{border:0;border-radius:9px;background:transparent;color:#657188;padding:10px 12px;font-size:12px;font-weight:550;cursor:pointer}.issue-entry-tabs button.active{background:#fff;color:#172033;box-shadow:0 2px 8px rgba(16,25,42,.09)}.reservation-search-panel>label{display:grid;gap:7px;color:#344157;font-size:12px;font-weight:550}.reservation-search-panel input{width:100%;min-height:46px}.reservation-results{display:grid;gap:8px;max-height:310px;overflow:auto;margin-top:12px;padding-right:3px}.reservation-option{width:100%;border:1px solid #dde3ec;border-radius:12px;background:#fafbfd;padding:12px 13px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;text-align:left;color:#263247;cursor:pointer}.reservation-option:hover,.reservation-option:focus-visible{border-color:#7ba2f8;background:#f4f7ff;outline:2px solid rgba(36,99,235,.14)}.reservation-option-main,.reservation-option-meta{display:flex;flex-direction:column;gap:4px;min-width:0}.reservation-option-main strong{font-size:14px}.reservation-option-main span{font-size:12px;color:#59677d;overflow-wrap:anywhere}.reservation-option-meta{align-items:flex-end;text-align:right}.reservation-option-meta b,.reservation-source{width:max-content;border-radius:999px;background:#e6efff;color:#2159bf;padding:4px 7px;font-size:9px;text-transform:uppercase;letter-spacing:.05em}.reservation-option-meta span{font-size:11px;font-weight:550}.reservation-option-meta small{font-size:10px;color:#758195}.selected-reservation{border:1px solid #b8caef;border-radius:14px;background:#f4f7ff;padding:16px}.selected-reservation-heading{display:flex;justify-content:space-between;align-items:start;gap:14px}.selected-reservation-heading>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.selected-reservation-heading strong{font-size:17px}.selected-reservation-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;margin-top:16px}.selected-reservation-grid p{display:flex;flex-direction:column;gap:4px;margin:0;font-size:12px}.selected-reservation-grid span{color:#748096}.selected-reservation-grid b{overflow-wrap:anywhere}.reservation-empty,.reservation-loading{border:1px dashed #cbd4e1;border-radius:13px;background:#fafbfd;color:#68758a;padding:25px;text-align:center;font-size:12px;line-height:1.5}.reservation-empty .text-btn{display:block;margin:10px auto 0}.reservation-loading .loader{margin:0 auto 9px}.reservation-loading p{margin:0}.manual-reservation-fields{border:1px solid #e1e6ee;border-radius:13px;background:#fafbfd;padding:16px}.field-error{margin:10px 2px 0;color:#b42318;font-size:12px;font-weight:550}.issue-fields{border-top:1px solid #e4e8ef;padding-top:20px}
.message-list{display:grid;gap:12px}.message-card{background:#fff;border:1px solid #e1e6ef;border-radius:16px;padding:18px;border-left:5px solid #aab4c3}.message-card.inbound{border-left-color:#2463eb}.message-card.outbound{border-left-color:#22a06b}.message-card-top,.message-card-top>div,.message-facts,.message-actions{display:flex;align-items:center}.message-card-top{justify-content:space-between;gap:15px}.message-card-top>div{gap:10px;flex-wrap:wrap}.message-card-top strong{font-size:15px}.message-card-top time{color:#7b8799;font-size:11px}.message-direction{border-radius:999px;padding:5px 8px;font-size:9px;font-weight:550;text-transform:uppercase;letter-spacing:.05em}.message-direction.inbound{background:#e6efff;color:#2159bf}.message-direction.outbound{background:#e3f7ed;color:#13734c}.message-location{margin:8px 0 0;color:#59677d;font-size:12px;font-weight:550}.message-card blockquote{margin:14px 0;background:#f6f8fb;border-radius:11px;padding:13px 14px;color:#2d394c;font-size:13px;line-height:1.5;white-space:pre-wrap}.message-facts{justify-content:space-between;gap:12px;color:#778397;font-size:11px}.message-actions{justify-content:flex-end;margin-top:13px}.message-actions .primary-btn,.message-actions .secondary-btn{padding:8px 11px;font-size:11px}.message-sent-label{color:#627086;font-size:11px;font-weight:550}.message-prefill{margin:0 0 20px}.inbox-controls .filters{flex:1;justify-content:flex-end}.inbox-controls .filters input{width:min(360px,100%)}
.required-note{display:none}.required-label{color:#b42318;font-size:0;margin-left:4px;font-weight:550}.required-label::after{content:"*";font-size:12px}.optional-label{margin-left:4px;color:#7b8799;font-size:9px;font-weight:550;text-transform:uppercase;letter-spacing:.04em}.field-help{color:#7b8799;font-size:10px;font-weight:500;line-height:1.4}.manual-location-field{margin-top:2px}.stay-range-label{margin-top:2px}.date-range-control{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:10px;border:1px solid #d7dde7;background:#fff;border-radius:11px;padding:9px 11px}.date-range-control>span{display:grid;gap:5px}.date-range-control small{color:#7b8799;font-size:9px;text-transform:uppercase;letter-spacing:.05em}.date-range-control input{width:100%;border:0;border-radius:0;padding:2px 0;min-width:0}.date-range-control input:focus{outline:0}.date-range-control b{align-self:center;color:#8994a5;font-size:14px}.create-form input[list]{background-image:linear-gradient(45deg,transparent 50%,#778397 50%),linear-gradient(135deg,#778397 50%,transparent 50%);background-position:calc(100% - 16px) 50%,calc(100% - 11px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:30px}
.panel-help{margin:-2px 0 12px!important;color:#748096!important;font-size:11px;line-height:1.45!important}.issue-update-panel textarea{width:100%;min-height:92px;resize:vertical}.issue-update-panel .secondary-btn{margin-top:10px}.history-title{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;border-bottom:1px solid #e6eaf0;padding-bottom:12px;margin-bottom:5px}.history-title h4{margin:0}.history-title .eyebrow{margin-bottom:4px}.history-title>span{color:#7b8799;font-size:9px;text-transform:uppercase;letter-spacing:.05em}.issue-history-list{position:relative}.history-item{position:relative;display:grid;grid-template-columns:16px 1fr;gap:10px;padding:14px 0}.history-item:not(:last-child):before{content:"";position:absolute;left:5px;top:24px;bottom:-5px;width:2px;background:#dfe5ee}.history-dot{position:relative;z-index:1;width:12px;height:12px;border:3px solid #c7d7fb;border-radius:50%;background:#2463eb;margin-top:3px}.history-item.created .history-dot{border-color:#dce2ea;background:#758196}.history-content{min-width:0}.history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.history-heading strong{font-size:12px;text-transform:capitalize}.history-heading time{color:#7b8799;font-size:9px;white-space:nowrap}.history-content>p{margin:7px 0;color:#465368;font-size:12px;line-height:1.5;white-space:pre-wrap}.history-content>ul{margin:7px 0;padding-left:17px;color:#556277;font-size:11px;line-height:1.55}.history-content>small{display:block;margin-top:6px;color:#8994a5;font-size:9px}.history-loading,.history-error{display:flex;align-items:center;gap:8px;padding:20px 0;color:#738096;font-size:11px}.history-loading .loader{width:18px;height:18px}.history-error{color:#b42318}
.next-action-panel textarea{min-height:88px}.previous-actions{margin-top:16px;padding-top:14px;border-top:1px solid #e3e8ef}.previous-actions-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.previous-actions-heading h4{margin:0;font-size:12px}.previous-actions-heading span{color:#7b8799;font-size:9px;text-transform:uppercase;letter-spacing:.05em}.previous-actions-list{display:grid;gap:7px}.previous-action-item{padding:9px 11px;border:1px solid #e1e6ed;border-radius:9px;background:#f8fafc}.previous-action-item p{margin:0;color:#3e4b60;font-size:11px;line-height:1.45;white-space:pre-wrap}.previous-action-item small{display:block;margin-top:5px;color:#8994a5;font-size:9px}.previous-actions-empty{margin:8px 0 0;color:#7b8799;font-size:11px;line-height:1.45}
.issue-details-editor label,.standalone-field{display:flex;flex-direction:column;gap:6px;margin:0 0 13px;color:#344157;font-size:12px;font-weight:550}.issue-details-editor input,.issue-details-editor textarea{width:100%}.issue-details-editor textarea{min-height:120px;resize:vertical}.panel-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.panel-title-row h4{margin:0 0 5px}.panel-title-row .panel-help{margin:0!important}.panel-title-row>span{border-radius:999px;background:#e8eef7;color:#49607e;padding:5px 8px;font-size:9px;font-weight:550;text-transform:uppercase;letter-spacing:.05em}.standalone-field{margin:0}.standalone-field textarea{margin-top:2px}
.guest-attention-panel{background:#fff;border:1px solid #f0c36a;border-left:5px solid #f79009;border-radius:18px;padding:20px;margin-bottom:30px}.attention-count{border-radius:999px;background:#fff0d5;color:#9a4e00;padding:7px 10px;font-size:11px;font-weight:550;white-space:nowrap}.attention-message-list{display:grid;gap:10px}.attention-message-card{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #e4e8ef;border-radius:14px;background:#fafbfd;padding:14px}.attention-message-copy{min-width:0;flex:1}.attention-message-copy>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.attention-message-copy strong{font-size:13px}.attention-message-copy small{color:#748096;font-size:10px}.attention-message-copy p{margin:9px 0 0;color:#48566b;font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.attention-message-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.attention-message-actions .primary-btn{padding:8px 11px;font-size:11px}.view-all-attention{display:block;margin:14px auto 0}
.scheduled-tasks-panel{background:#fff;border:1px solid #e1e6ee;border-radius:18px;padding:20px;margin-bottom:30px}.scheduled-task-list{display:grid;gap:11px}.scheduled-task-card{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid #e1e6ef;border-left:5px solid #2463eb;border-radius:15px;padding:16px}.scheduled-task-card.overdue{border-left-color:#ef4444}.scheduled-task-main{min-width:0;flex:1}.scheduled-task-main h3{margin:10px 0 5px;font-size:16px}.scheduled-task-main>p{margin:0 0 10px;color:#667287;font-size:12px;line-height:1.45}.task-recurrence{background:#e6efff;color:#2159bf}.task-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#748096;font-size:10px}.task-meta strong{color:#243148}.scheduled-task-actions{display:flex;align-items:center;gap:5px;flex-shrink:0}.scheduled-task-actions .primary-btn{padding:8px 11px;font-size:11px}.scheduled-task-actions .danger-link{width:auto;padding:8px;font-size:11px}.task-status{border-radius:999px;background:#edf1f6;color:#59677d;padding:6px 9px;font-size:10px;font-weight:550}.scheduled-task-list.compact .scheduled-task-card{padding:13px}.scheduled-task-list.compact .scheduled-task-main h3{font-size:14px}.scheduled-task-list.compact .scheduled-task-actions .danger-link{display:none}
.scheduled-task-search{display:flex;align-items:center;gap:9px;max-width:680px;border:1px solid #d7dde7;border-radius:12px;background:#fff;padding:0 12px}.scheduled-task-search>span{color:#778397;font-size:18px}.scheduled-task-search input{width:100%;border:0;padding:12px 0;outline:0}
.custom-category-field{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}.custom-category-field[hidden]{display:none}.custom-category-field .text-btn{white-space:nowrap;padding:8px}
@media(max-width:640px){.modal{padding:18px}.modal-header{gap:12px}.modal-header h2{font-size:23px}.create-form{padding:14px}.reservation-option{grid-template-columns:1fr;gap:8px}.reservation-option-meta{align-items:flex-start;text-align:left}.selected-reservation-grid{grid-template-columns:1fr}.selected-reservation-heading{flex-direction:column}.selected-reservation-heading .text-btn{padding:0}.issue-entry-tabs button{padding:10px 7px}.custom-category-field{grid-template-columns:1fr}.custom-category-field .text-btn{text-align:left;padding-left:0}}
@media(max-width:640px){.message-card{padding:14px}.message-card-top{align-items:flex-start}.message-card-top time{white-space:nowrap}.message-facts{align-items:flex-start;flex-direction:column;gap:4px}.message-actions .primary-btn,.message-actions .secondary-btn{width:100%}.inbox-controls .filters input{width:100%}}
@media(max-width:640px){.guest-attention-panel{padding:15px}.guest-attention-panel .section-heading{flex-direction:column}.attention-message-card{align-items:stretch;flex-direction:column}.attention-message-actions{align-items:stretch;flex-direction:column}.attention-message-actions .primary-btn,.attention-message-actions .text-btn{width:100%}.attention-count{width:max-content}}
@media(max-width:640px){.scheduled-tasks-panel{padding:15px}.scheduled-task-card{align-items:stretch;flex-direction:column}.scheduled-task-actions{align-items:stretch;flex-direction:column}.scheduled-task-actions .primary-btn,.scheduled-task-actions .danger-link{width:100%}.task-meta{align-items:flex-start;flex-direction:column;gap:4px}}
@media(max-width:640px){.date-range-control{grid-template-columns:1fr}.date-range-control>b{display:none}.date-range-control>span+span{border-top:1px solid #e4e8ef;padding-top:9px}}

.reservation-option-main .assignment-note{width:max-content;max-width:100%;margin-top:2px;border-radius:7px;background:#fff3d9;color:#795400;padding:4px 7px;font-size:10px;font-weight:550;overflow-wrap:anywhere}.reservation-assignment-warning{display:flex;flex-direction:column;gap:3px;margin-top:14px;border-left:3px solid #d99a18;border-radius:8px;background:#fff7e6;padding:10px 12px;color:#5e480f}.reservation-assignment-warning b{font-size:12px}.reservation-assignment-warning span{font-size:11px;line-height:1.45}

.hero-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.last-sync.failed span{background:#d92d20}.secondary-btn{border:1px solid #ccd5e3;border-radius:10px;background:#fff;color:#26364f;padding:9px 13px;font-size:11px;font-weight:550;cursor:pointer}.secondary-btn:hover{border-color:#92a7ca;background:#f9fbff}.secondary-btn:disabled{opacity:.6;cursor:wait}.sync-notice{margin:-9px 0 20px;border-radius:11px;padding:11px 14px;font-size:12px;font-weight:550}.sync-notice.success{border:1px solid #a7d8bd;background:#edf9f2;color:#17633d}.sync-notice.error{border:1px solid #f1b8b2;background:#fff0ee;color:#a22d22}
@media(max-width:760px){.hero-actions{width:100%;justify-content:flex-start}.hero-actions .last-sync{display:block}.hero-actions .secondary-btn{flex:1}.sync-notice{margin-top:-10px}}

/* Clear operation labels, message issue scanning and dismissal history. */
.operation-badge{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:550;letter-spacing:.05em;text-transform:uppercase}
.operation-badge.hotel{background:#e8e7ff;color:#4741a5}.operation-badge.sa{background:#dff6ee;color:#08735f}
.issue-card.division-hotel{border-left:5px solid #625dcc}.issue-card.division-sa{border-left:5px solid #12836d}.issue-card.overdue{border-left-color:#ef4444}
.message-card.division-hotel{border-left-color:#625dcc}.message-card.division-sa{border-left-color:#12836d}.message-card.dismissed{background:#f8fafc;opacity:.84}
.message-issue-title{margin:14px 0 7px}.message-issue-title span{display:block;color:#7b8799;font-size:9px;font-weight:550;letter-spacing:.07em;text-transform:uppercase}.message-issue-title h3{margin:4px 0 0;color:#17243a;font-size:18px}
.message-card blockquote{margin-top:11px}.message-card mark,.attention-message-card mark,.message-prefill mark{border-radius:4px;background:#fff0a8;color:#413200;padding:1px 2px;font-weight:550}
.message-history-note{margin-top:9px;color:#7b8799;font-size:10px}.message-actions{gap:8px}.message-actions .dismiss-btn{padding:8px 11px;font-size:11px}
.dismiss-btn{border:1px solid #d8dee8;border-radius:9px;background:#fff;color:#5e697a;font-weight:550;cursor:pointer}.dismiss-btn:hover{border-color:#b6c0cf;background:#f6f8fb}
.tabs button em{margin-left:5px;border-radius:999px;background:#e3e8f0;padding:2px 6px;font-size:9px;font-style:normal}.tabs button.active em{background:#dce8ff;color:#1f55b5}
.attention-message-card{border-left:5px solid #aab4c3}.attention-message-card.division-hotel{border-left-color:#625dcc}.attention-message-card.division-sa{border-left-color:#12836d}.attention-message-copy h3{margin:9px 0 0;color:#17243a;font-size:14px}.attention-message-copy p{margin-top:6px}.attention-message-actions .dismiss-btn{padding:8px 11px;font-size:11px}
.message-prefill-heading{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.message-prefill-heading h4{margin:0}
@media(max-width:640px){.message-actions{align-items:stretch;flex-direction:column}.message-actions .dismiss-btn{width:100%}}
.attention-message-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.attention-message-card{align-items:stretch;flex-direction:column;min-width:0;height:100%;padding:13px}.attention-message-copy{display:flex;flex:1;flex-direction:column}.attention-message-copy>div{gap:6px}.attention-message-guest{display:flex!important;align-items:baseline!important;justify-content:space-between;gap:8px!important;margin-top:10px}.attention-message-guest small{text-align:right}.attention-message-copy h3{font-size:15px}.attention-message-copy p{-webkit-line-clamp:3}.attention-message-actions{justify-content:flex-end;margin-top:13px}.attention-message-actions .primary-btn,.attention-message-actions .dismiss-btn{flex:1}.view-all-attention{margin-top:16px}
@media(max-width:1200px){.attention-message-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.attention-message-list{grid-template-columns:1fr}.attention-message-guest{align-items:flex-start!important;flex-direction:column}.attention-message-guest small{text-align:left}.attention-message-actions{flex-direction:row}.attention-message-actions .primary-btn,.attention-message-actions .dismiss-btn{width:auto}}

/* Simplified command-centre workbench */
.dashboard-workbench{display:grid;grid-template-columns:minmax(0,var(--priority-pane)) 14px minmax(280px,1fr);align-items:stretch;margin-bottom:30px}.dashboard-workbench .priority-panel,.dashboard-workbench .guest-attention-panel{margin:0;min-width:0}.dashboard-workbench .priority-panel{background:#fff;border:1px solid #e1e6ee;border-radius:18px;padding:20px}.dashboard-workbench .guest-attention-panel{height:100%;display:flex;flex-direction:column;padding:20px 16px}.dashboard-workbench .attention-message-list{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));overflow:auto;max-height:760px;padding-right:2px}.dashboard-workbench .attention-message-card{min-height:0}.dashboard-workbench .attention-message-copy p{-webkit-line-clamp:2}.dashboard-resizer{display:grid;place-items:center;cursor:col-resize;touch-action:none;outline:0}.dashboard-resizer span{width:4px;height:72px;border-radius:999px;background:#d2d9e5;transition:.15s}.dashboard-resizer:hover span,.dashboard-resizer:focus span,.resizing-dashboard .dashboard-resizer span{background:#2463eb;width:5px}.resizing-dashboard{cursor:col-resize;user-select:none}.resizing-dashboard *{cursor:col-resize!important}.guest-operations-tabs{display:flex;gap:6px;margin:-6px 0 24px;padding:5px;background:#e7ebf1;border-radius:13px;overflow:auto}.guest-operations-tabs button{border:0;background:transparent;color:#617087;border-radius:9px;padding:10px 13px;font-weight:550;white-space:nowrap;cursor:pointer}.guest-operations-tabs button.active{background:#fff;color:#172033;box-shadow:0 2px 9px rgba(10,20,35,.09)}.guest-operations-tabs em{font-style:normal;margin-left:5px;background:#dce4f0;border-radius:999px;padding:2px 6px;font-size:10px}.guest-operations-tabs button.active em{background:#e6efff;color:#2159bf}.embedded-page-actions,.inbox-controls>div:first-child{display:flex;align-items:center;gap:10px}.embedded-page-actions{justify-content:space-between;margin-bottom:16px}.feedback-note{display:block;margin-top:5px;color:#48627f;font-weight:550}.message-history-note{font-size:11px;color:#7a8698}.linkified-text a,.scheduled-task-main h3 a{color:#2159bf;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;overflow-wrap:anywhere}.scheduled-task-actions .secondary-btn{padding:8px 10px;font-size:11px}
@media(max-width:1100px){.dashboard-workbench{grid-template-columns:minmax(0,1fr) 12px minmax(300px,.65fr)}.dashboard-workbench .attention-message-list{grid-template-columns:1fr}}
@media(max-width:820px){.dashboard-workbench{display:flex;flex-direction:column;gap:18px}.dashboard-resizer{display:none}.dashboard-workbench .attention-message-list{max-height:none}.guest-operations-tabs{margin-top:0}}
@media(max-width:640px){.embedded-page-actions{align-items:stretch;flex-direction:column}.embedded-page-actions .primary-btn{width:100%}.guest-operations-tabs{margin-bottom:18px}.dashboard-workbench .priority-panel,.dashboard-workbench .guest-attention-panel{padding:15px}}

/* Clearer dashboard hierarchy and fully collapsible message pane */
.dashboard-hero{align-items:flex-start}.dashboard-hero .hero-copy{max-width:610px;line-height:1.5}.hero-actions{align-items:stretch}.dashboard-add-issue{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.sync-source{display:flex;align-items:center;gap:7px;padding:5px;background:#fff;border:1px solid #e1e6ee;border-radius:14px}.sync-source .last-sync{border:0;padding:7px 8px;background:transparent}.sync-source .secondary-btn{white-space:nowrap}.dashboard-workbench{grid-template-columns:minmax(0,calc(var(--priority-pane) - 14px)) 14px minmax(0,1fr)}.dashboard-workbench .section-heading{margin-bottom:18px}.dashboard-workbench .section-heading h2{display:flex;align-items:center;gap:8px}.heading-count{display:inline-grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#e8eef7;color:#3b4b63;font-size:11px;font-weight:550}.heading-count.warm{background:#fff0d5;color:#9a4e00}.pane-heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.pane-heading-actions .secondary-btn span{display:inline-grid;place-items:center;min-width:19px;height:19px;margin-left:4px;border-radius:999px;background:#e8eef7;font-size:9px}.panel-hide-button{border:0;background:#f2f5f9;color:#617087;border-radius:8px;padding:7px 9px;font-size:10px;font-weight:550;cursor:pointer}.panel-hide-button:hover{background:#e7edf5;color:#26364f}.dashboard-resizer{position:relative}.dashboard-resizer:after{content:'Drag';position:absolute;top:calc(50% + 45px);font-size:8px;font-weight:550;letter-spacing:.04em;text-transform:uppercase;color:#9aa6b7;transform:rotate(-90deg)}.mna-collapsed .guest-attention-panel{visibility:hidden;opacity:0;pointer-events:none;padding:0;border:0;overflow:hidden}.mna-collapsed .dashboard-resizer span{background:#8ca5ca}.dashboard-workbench .empty-state.small{display:grid;gap:6px}.dashboard-workbench .empty-state.small b{color:#334158}.dashboard-workbench .empty-state.small span{font-size:11px}.guest-operations-tabs button>span{display:inline-grid;place-items:center;width:20px;height:20px;margin-right:5px;border-radius:50%;background:#d8e0ec;color:#52627a;font-size:10px}.guest-operations-tabs button.active>span{background:#2463eb;color:#fff}.guest-operations-title{margin-bottom:20px}
@media(max-width:1100px){.dashboard-workbench{grid-template-columns:minmax(0,calc(var(--priority-pane) - 12px)) 12px minmax(0,1fr)}.dashboard-workbench .attention-message-list{grid-template-columns:1fr}.sync-source{flex:1;min-width:260px}.sync-source .last-sync{flex:1}}
@media(max-width:820px){.dashboard-workbench{display:flex}.dashboard-workbench.mna-collapsed .guest-attention-panel{display:none}.dashboard-resizer{display:none}.sync-source{min-width:0;width:100%}.sync-source .last-sync{display:block}.pane-heading-actions{align-items:flex-end;flex-direction:column}.panel-hide-button{display:block}}
@media(max-width:560px){.sync-source{align-items:stretch;flex-direction:column}.sync-source .secondary-btn{width:100%}.guest-operations-tabs button{padding:9px 10px}.dashboard-workbench .section-heading{align-items:flex-start;flex-direction:column}.pane-heading-actions{align-items:flex-start;flex-direction:row}.panel-hide-button{position:absolute;right:14px}.dashboard-workbench .guest-attention-panel{position:relative}}

/* Operation-led issue cards and scannable information labels */
.ui-icon{width:15px;height:15px;flex:0 0 15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.issue-card.division-hotel{background:#eaf7ff;border-color:#9ed3ef;border-left:5px solid #4ba4d2}.issue-card.division-sa{background:#fff8d8;border-color:#e8ce62;border-left:5px solid #d2ac00}.issue-card.division-hotel:hover{background:#f2fbff}.issue-card.division-sa:hover{background:#fffbeb}.issue-card.overdue{border-left-color:#ef4444}.issue-card .operation-badge.hotel{background:#ccecff;color:#075f8f}.issue-card .operation-badge.sa{background:#f4ce29;color:#4f4100}.icon-line,.issue-context>span,.issue-meta>span,.message-facts>span,.attention-message-guest strong{display:flex;align-items:center;gap:6px}.issue-card .location{margin-top:7px}.issue-card .location .ui-icon{color:#51657b}.issue-context{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:9px 0;color:#536178;font-size:12px}.issue-context b{color:#26364a}.issue-context>span:last-child{justify-content:flex-end;text-align:right}.issue-meta{justify-content:flex-start;gap:12px 18px;flex-wrap:wrap;border-color:rgba(82,102,128,.16)}.issue-meta>span{white-space:nowrap}.issue-meta>span b{color:#526076}.issue-meta .ui-icon{width:13px;height:13px;flex-basis:13px}.issue-card .next-action{background:rgba(255,255,255,.62);border:1px solid rgba(79,99,125,.1)}.message-facts>span:only-child{margin-left:auto}.attention-message-guest strong .ui-icon{color:#68778c}.message-actions [data-improve-suggestion]{border-style:dashed}
@media(max-width:640px){.issue-context{align-items:flex-start;flex-direction:column;gap:5px}.issue-context>span:last-child{justify-content:flex-start;text-align:left}.issue-meta{align-items:flex-start;flex-direction:column;gap:7px}.message-actions{gap:7px}}

.guest-stay-editor{margin:0 0 16px;padding:14px;border:1px solid #dce3ed;border-radius:13px;background:#f7f9fc}.guest-stay-heading{display:flex;align-items:flex-start;gap:9px;margin-bottom:13px}.guest-stay-heading .ui-icon{margin-top:2px;color:#49627f}.guest-stay-heading h4{margin:0;font-size:14px}.guest-stay-heading p{margin:3px 0 0;color:#6f7c90;font-size:10px;line-height:1.4}.stay-date-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.guest-stay-editor>small{display:block;color:#7c8798;font-size:9px;line-height:1.4;margin-top:-4px}.guest-stay-editor label{margin-bottom:10px}.guest-stay-editor input{width:100%;min-width:0}
@media(max-width:520px){.stay-date-fields{grid-template-columns:1fr}}

/* Canonical operation colours used everywhere in the command centre */
:root{--hotel-bg:#eaf7ff;--hotel-bg-hover:#f2fbff;--hotel-border:#4ba4d2;--hotel-border-soft:#9ed3ef;--hotel-badge:#ccecff;--hotel-text:#075f8f;--sa-bg:#fff8d8;--sa-bg-hover:#fffbeb;--sa-border:#d2ac00;--sa-border-soft:#e8ce62;--sa-badge:#f4ce29;--sa-text:#4f4100}.operation-badge.hotel{background:var(--hotel-badge);color:var(--hotel-text)}.operation-badge.sa{background:var(--sa-badge);color:var(--sa-text)}.issue-card.division-hotel,.message-card.division-hotel,.attention-message-card.division-hotel{background:var(--hotel-bg);border-color:var(--hotel-border-soft);border-left-color:var(--hotel-border)}.issue-card.division-sa,.message-card.division-sa,.attention-message-card.division-sa{background:var(--sa-bg);border-color:var(--sa-border-soft);border-left-color:var(--sa-border)}.issue-card.division-hotel:hover,.message-card.division-hotel:hover,.attention-message-card.division-hotel:hover{background:var(--hotel-bg-hover)}.issue-card.division-sa:hover,.message-card.division-sa:hover,.attention-message-card.division-sa:hover{background:var(--sa-bg-hover)}.issue-card.overdue{border-left-color:#ef4444}.message-card blockquote,.attention-message-card .attention-message-copy p{background:rgba(255,255,255,.58)}.attention-message-card .attention-message-copy p{padding:8px;border-radius:9px}.message-card.dismissed{opacity:.72}.message-card.dismissed.division-hotel{background:var(--hotel-bg)}.message-card.dismissed.division-sa{background:var(--sa-bg)}

/* Professional outline-only operation treatment */
.issue-card.division-hotel,.message-card.division-hotel,.attention-message-card.division-hotel,.issue-card.division-sa,.message-card.division-sa,.attention-message-card.division-sa{background:#fff}.issue-card.division-hotel:hover,.message-card.division-hotel:hover,.attention-message-card.division-hotel:hover,.issue-card.division-sa:hover,.message-card.division-sa:hover,.attention-message-card.division-sa:hover{background:#fff;box-shadow:0 12px 28px rgba(18,30,50,.08)}.issue-card .next-action{background:#f6f8fb}.message-card blockquote{background:#f6f8fb}.attention-message-card .attention-message-copy p{background:#f6f8fb}.message-card.dismissed.division-hotel,.message-card.dismissed.division-sa{background:#fff}

/* The outline identifies the operation; the side strip is reserved for urgency. */
.issue-card.division-hotel,.issue-card.division-sa,.message-card.division-hotel,.message-card.division-sa,.attention-message-card.division-hotel,.attention-message-card.division-sa{border-left-width:1px}
.issue-card.urgency-urgent,.message-card.urgency-urgent,.attention-message-card.urgency-urgent{border-left:5px solid #f79009}
.issue-card.urgency-critical,.issue-card.overdue,.message-card.urgency-critical,.attention-message-card.urgency-critical{border-left:5px solid #ef4444}
.scheduled-task-card{border-left-width:1px}.scheduled-task-card.overdue{border-left-width:5px}

/* Consistent card rhythm and concise, expandable guest-message previews. */
.issue-card{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.issue-card:focus-visible{outline:3px solid rgba(36,99,235,.25);outline-offset:2px}.issue-card.compact{position:relative}.issue-card-open-target{position:absolute;inset:0;z-index:1;width:100%;height:100%;border:0;border-radius:inherit;background:transparent;padding:0;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:rgba(36,99,235,.12)}.issue-card-open-target:focus-visible{outline:3px solid rgba(36,99,235,.35);outline-offset:2px}.issue-card-actions{position:relative;z-index:2}.pms-reservation-link{touch-action:manipulation}
.issue-card .location{margin:7px 0 0}.issue-context{margin:9px 0 0}.issue-card .summary{margin:10px 0 0}.issue-meta{margin-top:10px}.issue-card .next-action{margin-top:10px}
.expandable-message{min-width:0}.issue-message-preview{margin-top:10px;border-radius:9px;background:#f6f8fb;padding:8px 10px}.message-preview-label{color:#6d798c;font-size:9px;font-weight:550;letter-spacing:.06em;text-transform:uppercase}.expandable-message-body{overflow-wrap:anywhere}.expandable-message:not(.expanded) .expandable-message-body{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.expandable-message.expanded .expandable-message-body{display:block;-webkit-line-clamp:unset;overflow:visible}.issue-message-preview p{margin:4px 0 0;color:#4c596d;font-size:11px;line-height:1.45}.message-preview-toggle{display:inline-flex;margin-top:6px;border:0;background:transparent;color:#2159bf;padding:0;font-size:10px;font-weight:550;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.message-card .expandable-message{margin:11px 0}.message-card .expandable-message blockquote{margin:0}.attention-message-copy .expandable-message{margin-top:6px}.attention-message-copy .expandable-message p{margin:0}.attention-message-copy .message-preview-toggle{align-self:flex-start}

/* Make urgency strips self-explanatory on suggested-message cards. */
.attention-message-card.urgency-urgent .attention-message-copy>div:first-child:after,.message-card.urgency-urgent .message-card-top>div:first-child:after{content:'Urgent';background:#ffedd5;color:#c2410c}.attention-message-card.urgency-critical .attention-message-copy>div:first-child:after,.message-card.urgency-critical .message-card-top>div:first-child:after{content:'Critical';background:#fee2e2;color:#b42318}.attention-message-card.urgency-urgent .attention-message-copy>div:first-child:after,.attention-message-card.urgency-critical .attention-message-copy>div:first-child:after,.message-card.urgency-urgent .message-card-top>div:first-child:after,.message-card.urgency-critical .message-card-top>div:first-child:after{display:inline-flex;border-radius:999px;padding:5px 7px;font-size:9px;font-weight:550;letter-spacing:.05em;text-transform:uppercase}

/* Desktop fullscreen mode with a remembered, fully collapsible side menu. */
.sidebar-collapse-button{position:absolute;top:24px;right:10px;display:grid;place-items:center;width:29px;height:29px;border:1px solid #33435c;border-radius:8px;background:#1a263a;color:#dce5f2;font-size:23px;line-height:1;cursor:pointer}.sidebar-collapse-button:hover{background:#263650;color:#fff}.sidebar-expand-button{position:fixed;top:14px;left:14px;z-index:18;display:flex;align-items:center;gap:7px;border:1px solid #d8e0eb;border-radius:11px;background:#fff;color:#26364f;padding:8px 11px;box-shadow:0 8px 24px rgba(16,25,42,.12);font-size:12px;font-weight:550;cursor:pointer}.sidebar-expand-button:hover{border-color:#9fb1ca;background:#f9fbff}
@media(min-width:761px){.app-shell.sidebar-collapsed{grid-template-columns:1fr}.app-shell.sidebar-collapsed .sidebar{display:none}.app-shell.sidebar-collapsed .content-shell main{max-width:none;padding-left:70px}}
@media(max-width:760px){.sidebar-collapse-button,.sidebar-expand-button{display:none}}

/* Clear dashboard / Guest Operations separation and direct PMS access. */
.dashboard-message-summary{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:14px;margin-bottom:18px;border:1px solid #dfe5ee;border-radius:16px;background:#fff;padding:14px 16px}.dashboard-message-summary.has-messages{border-color:#f0c36a;background:#fffdf7}.dashboard-message-summary-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#edf2f9;color:#344762;font-size:18px}.dashboard-message-summary.has-messages .dashboard-message-summary-icon{background:#fff0d5;color:#9a4e00}.dashboard-message-summary .eyebrow{margin-bottom:3px}.dashboard-message-summary h2{margin:0;color:#1b2638;font-size:16px}.dashboard-message-summary p:not(.eyebrow){margin:3px 0 0;color:#6d798c;font-size:11px;line-height:1.4}.dashboard-priority-full{margin-bottom:30px}.dashboard-priority-full .priority-list{grid-template-columns:repeat(2,minmax(0,1fr))}.issue-card-actions{display:flex;justify-content:flex-end;margin-top:9px}.pms-reservation-link{display:inline-flex;align-items:center;border:1px solid #c8d4e5;border-radius:8px;background:#fff;color:#2159bf;padding:6px 9px;font-size:10px;font-weight:550;text-decoration:none}.pms-reservation-link:hover{border-color:#7e9cc8;background:#f7faff}.reservation-shortcut{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;border:1px solid #cbd9ec;border-radius:12px;background:#f5f9ff;padding:11px 12px}.reservation-shortcut span,.reservation-shortcut b{display:block}.reservation-shortcut span{color:#6d798c;font-size:9px;text-transform:uppercase;letter-spacing:.05em;font-weight:550}.reservation-shortcut b{margin-top:3px;color:#283a53;font-size:12px}
@media(max-width:900px){.dashboard-priority-full .priority-list{grid-template-columns:1fr}}
@media(max-width:640px){.dashboard-message-summary{grid-template-columns:36px 1fr}.dashboard-message-summary-icon{width:36px;height:36px}.dashboard-message-summary .secondary-btn{grid-column:1/-1;width:100%}.reservation-shortcut{align-items:stretch;flex-direction:column}.reservation-shortcut .pms-reservation-link{justify-content:center}}

/* Live Cleaning module */
.dashboard-cleaning-summary{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:14px;margin-bottom:18px;border:1px solid #b9ddcf;border-radius:16px;background:#f8fffc;padding:14px 16px}.dashboard-cleaning-summary.has-error{border-color:#f0b7b3;background:#fffafa}.dashboard-cleaning-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#dff4ea;color:#08755a;font-size:19px;font-weight:550}.dashboard-cleaning-summary.has-error .dashboard-cleaning-icon{background:#fee8e6;color:#b42318}.dashboard-cleaning-summary .eyebrow{margin-bottom:3px}.dashboard-cleaning-summary h2{margin:0;color:#1b2638;font-size:16px}.dashboard-cleaning-summary p:not(.eyebrow){margin:3px 0 0;color:#68768a;font-size:11px;line-height:1.4}
.cleaning-page-title{align-items:flex-start}.cleaning-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;color:#6b788b;font-size:11px}.cleaning-live-dot{border-radius:999px;background:#e3f7ed;color:#08755a;padding:7px 10px;font-weight:550}.link-button{text-decoration:none}.cleaning-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:20px}.cleaning-stats>div{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #dce4ee;border-radius:14px;background:#fff;padding:13px 14px}.cleaning-stats span{color:#6d798c;font-size:11px;font-weight:550}.cleaning-stats strong{color:#17243a;font-size:22px}.cleaning-stats .needs-attention{border-color:#f2b8b5;background:#fff8f8}.cleaning-stats .needs-attention strong{color:#b42318}
.cleaning-alert{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;margin-bottom:20px;border:1px solid #f0c36a;border-radius:15px;background:#fffdf5;padding:14px}.cleaning-alert-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#fff0d5;color:#9a4e00;font-size:18px;font-weight:550}.cleaning-alert .eyebrow{margin-bottom:3px}.cleaning-alert h3{margin:0;color:#342a18;font-size:15px}.cleaning-alert p:not(.eyebrow){margin:4px 0 0;color:#73664f;font-size:11px;line-height:1.45}
.cleaning-day-section{margin-bottom:22px;border:1px solid #dfe5ee;border-radius:18px;background:#fff;padding:18px}.cleaning-day-section .section-heading{margin-bottom:14px}.cleaning-task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cleaning-task-card{display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px;border:1px solid #dce4ee;border-radius:13px;background:#fff;padding:12px}.cleaning-task-card.status-pending{border-color:#efb8b3}.cleaning-task-card.status-in-progress{border-color:#f0c36a}.cleaning-task-card.status-completed{border-color:#b9ddcf}.cleaning-room-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#edf3f0;color:#144e42;font-size:17px}.cleaning-task-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.cleaning-task-heading h3{margin:0;color:#1d2a3d;font-size:15px}.cleaning-status{border-radius:999px;padding:4px 7px;font-size:9px;font-weight:550;text-transform:uppercase;letter-spacing:.04em}.cleaning-status.pending{background:#fee7e5;color:#b42318}.cleaning-status.in-progress{background:#fff0d5;color:#9a4e00}.cleaning-status.completed{background:#e3f7ed;color:#08755a}.cleaning-task-facts{display:flex;gap:7px 15px;flex-wrap:wrap;margin-top:8px;color:#667489;font-size:10px}.cleaning-task-facts b{color:#27364c}.cleaning-task-flags{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.cleaning-flag{border-radius:999px;background:#eef2f7;color:#52627a;padding:4px 7px;font-size:9px;font-weight:550}.cleaning-flag.arrival{background:#e5f6ee;color:#08755a}.cleaning-flag.priority{background:#e7efff;color:#2459ba}.cleaning-flag.blocked{background:#fff0d5;color:#915000}
@media(max-width:980px){.cleaning-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.cleaning-task-list{grid-template-columns:1fr}}
@media(max-width:640px){.dashboard-cleaning-summary{grid-template-columns:36px 1fr}.dashboard-cleaning-icon{width:36px;height:36px}.dashboard-cleaning-summary .secondary-btn{grid-column:1/-1;width:100%}.cleaning-page-actions{align-items:stretch;justify-content:flex-start}.cleaning-page-actions>*{flex:1;text-align:center}.cleaning-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cleaning-day-section{padding:14px}.cleaning-task-card{grid-template-columns:32px minmax(0,1fr);padding:10px}.cleaning-room-icon{width:32px;height:32px}.cleaning-task-heading{align-items:flex-start;flex-direction:column;gap:6px}}
.cleaning-section-toggle{display:inline-grid;grid-template-columns:1fr 1fr;gap:4px;margin:0 0 18px;padding:4px;border:1px solid #dce4ee;border-radius:12px;background:#eef2f7}.cleaning-section-toggle button{min-height:36px;padding:0 13px;border:0;border-radius:8px;background:transparent;color:#667489;font:inherit;font-size:11px;font-weight:550;cursor:pointer}.cleaning-section-toggle button.active{background:#fff;color:#173f35;box-shadow:0 3px 12px rgba(20,35,55,.08)}.timesheet-command-summary{border:1px solid #dfe5ee;border-radius:18px;background:#fff;padding:18px}.timesheet-command-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}.timesheet-command-toolbar label{display:grid;gap:6px;color:#5f6d82;font-size:10px;font-weight:550;text-transform:uppercase}.timesheet-command-toolbar input{min-height:39px;padding:7px 10px;border:1px solid #d9e1eb;border-radius:9px;background:#fff;color:#1d2a3d;font:inherit}.timesheet-command-toolbar>span{color:#6b788b;font-size:11px;font-weight:550}.timesheet-command-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.timesheet-command-stats>div{display:grid;gap:4px;padding:13px 14px;border:1px solid #dfe5ee;border-radius:12px;background:#f9fbfd}.timesheet-command-stats span{color:#6b788b;font-size:10px;font-weight:550}.timesheet-command-stats strong{color:#1b2b42;font-size:19px}.timesheet-command-table{overflow:hidden;border:1px solid #dfe5ee;border-radius:13px}.timesheet-command-row{display:grid;grid-template-columns:minmax(150px,1.2fr) minmax(105px,.8fr) 70px 90px 110px 120px;align-items:center;gap:10px;min-height:52px;padding:10px 13px;border-bottom:1px solid #e8edf3;color:#56647a;font-size:11px}.timesheet-command-row:last-child{border-bottom:0}.timesheet-command-row.heading{min-height:39px;background:#f3f6f9;color:#778397;font-size:9px;font-weight:550;text-transform:uppercase}.timesheet-command-row>strong{color:#1c2b40}.timesheet-command-status{display:inline-flex;padding:5px 7px;border-radius:999px;background:#eef2f7;color:#667489;font-size:9px;text-transform:uppercase}.timesheet-command-status.submitted{background:#e7efff;color:#2459ba}.timesheet-command-status.approved{background:#e3f7ed;color:#08755a}.timesheet-command-status.returned{background:#fee8e6;color:#b42318}.timesheet-pay-note{margin:12px 0 0;color:#7b8798;font-size:10px}.timesheet-command-table .empty-state{border:0;border-radius:0}
@media(max-width:760px){.cleaning-section-toggle{display:grid;width:100%}.timesheet-command-summary{padding:13px}.timesheet-command-stats{grid-template-columns:1fr 1fr}.timesheet-command-stats>div:last-child{grid-column:1/-1}.timesheet-command-table{border:0;overflow:visible}.timesheet-command-row.heading{display:none}.timesheet-command-row{grid-template-columns:1fr 1fr;gap:7px;margin-bottom:10px;border:1px solid #dfe5ee!important;border-radius:12px;background:#fff;padding:13px}.timesheet-command-row>strong:first-child{grid-column:1/-1;font-size:14px}.timesheet-command-row>span:nth-child(2){position:absolute;right:26px}.timesheet-command-row>span:nth-child(3)::before{content:'Days: ';color:#8792a2}.timesheet-command-row>span:nth-child(4)::before{content:'Hours: ';color:#8792a2}.timesheet-command-row>span:nth-child(5)::before{content:'Rate: ';color:#8792a2}.timesheet-command-row>strong:last-child::before{content:'Pay: ';color:#8792a2;font-weight:500}}
.timesheet-command-row{position:relative}
.timesheet-command-cleaner{border-bottom:1px solid #e8edf3}.timesheet-command-cleaner:last-child{border-bottom:0}.timesheet-command-cleaner summary{list-style:none;cursor:pointer}.timesheet-command-cleaner summary::-webkit-details-marker{display:none}.timesheet-command-cleaner summary .timesheet-command-row{border-bottom:0}.timesheet-command-cleaner[open]{background:#fbfcfe}.timesheet-command-days{display:grid;gap:7px;padding:0 13px 13px 30px}.timesheet-command-day{display:grid;grid-template-columns:minmax(125px,.8fr) minmax(120px,.8fr) minmax(100px,.7fr) 80px;gap:10px;align-items:center;padding:9px 11px;border:1px solid #e2e8f0;border-radius:9px;background:#fff;color:#657287;font-size:10px}.timesheet-command-day strong{color:#223149}.timesheet-command-day small{grid-column:1/-1;color:#7b8798}@media(max-width:760px){.timesheet-command-cleaner{margin-bottom:10px;border:1px solid #dfe5ee;border-radius:12px}.timesheet-command-cleaner .timesheet-command-row{margin:0;border:0!important}.timesheet-command-days{padding:0 12px 12px}.timesheet-command-day{grid-template-columns:1fr 1fr}.timesheet-command-day strong{text-align:right}}

/* Resilient link-based navigation, including iOS touch targets. */
.nav-item,.link-button{text-decoration:none}.dashboard-cleaning-summary .link-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;touch-action:manipulation}.nav-item{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.nav-finance{border-radius:11px}.nav-finance>summary{list-style:none;width:100%;color:#aeb9cb;border-radius:11px;padding:12px 13px;display:grid;grid-template-columns:24px 1fr auto;align-items:center;text-align:left;gap:8px;cursor:pointer}.nav-finance>summary::-webkit-details-marker{display:none}.nav-finance>summary b{font-size:13px}.nav-finance>summary em{font-style:normal;font-size:12px;transition:transform .15s ease}.nav-finance[open]>summary,.nav-finance>summary:hover{background:#22314b;color:#fff}.nav-finance[open]>summary em{transform:rotate(180deg)}.nav-finance>div{display:grid;gap:3px;margin:3px 0 5px 15px;padding-left:10px;border-left:1px solid #33435b}.nav-finance>div .nav-item{padding:9px 10px;grid-template-columns:20px 1fr auto}.nav-finance>div .nav-item b{font-size:12px}.team-access-settings-card{align-content:start}.team-access-settings-card .secondary-btn{justify-self:start}
.nav-group{margin-top:12px;padding-top:12px;border-top:1px solid #26344b}.nav-group-label,.nav-subgroup-label{display:block;color:#71819a;font-size:9px;font-weight:550;letter-spacing:.12em;text-transform:uppercase;padding:0 13px 7px}.nav-subgroup-label{padding-top:8px;padding-bottom:4px;color:#8997ad}.nav-group .nav-item{padding-top:10px;padding-bottom:10px}.in-progress-projects{background:#fff;border:1px solid #e1e6ee;border-radius:18px;padding:20px;margin:0 0 18px}.project-progress-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.project-progress-card{border:1px solid #dde4ee;background:#f8fafc;border-radius:14px;padding:15px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;text-align:left;color:#182033;cursor:pointer}.project-progress-card:hover{background:#fff;border-color:#bac8dc;box-shadow:0 8px 22px rgba(18,30,50,.07)}.project-progress-icon{width:40px;height:40px;border-radius:11px;background:#17243a;color:#fff;display:grid;place-items:center;font-weight:550}.project-progress-card b,.project-progress-card small{display:block}.project-progress-card small{color:#738096;margin-top:4px;line-height:1.35}.project-progress-card em{font-style:normal;background:#fff2cc;color:#7a5200;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:550;white-space:nowrap}@media(max-width:700px){.project-progress-grid{grid-template-columns:1fr}.project-progress-card{grid-template-columns:38px 1fr auto}.project-progress-icon{width:36px;height:36px}}
.ticket-type-fieldset{border:0;padding:0;margin:0 0 20px}.ticket-type-fieldset legend{font-weight:550;margin-bottom:10px}.ticket-type-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ticket-type-option{appearance:none;text-align:left;border:1px solid var(--line,#d9e1ec);background:#fff;border-radius:14px;padding:14px;cursor:pointer;color:inherit;min-height:82px}.ticket-type-option b,.ticket-type-option span{display:block}.ticket-type-option b{font-size:.94rem;margin-bottom:5px}.ticket-type-option span{font-size:.78rem;line-height:1.35;color:#65738a}.ticket-type-option:hover{border-color:#8aa5d6}.ticket-type-option.active{border:2px solid #2f63ef;background:#f1f5ff;padding:13px;box-shadow:0 0 0 3px rgba(47,99,239,.08)}.ticket-context-section,.ticket-operational-context{margin-bottom:20px}.ticket-operational-context{border:1px solid var(--line,#d9e1ec);background:#f8fafc;border-radius:16px;padding:16px}.context-help{margin:0 0 12px;color:#65738a;font-size:.88rem}.badge.ticket-type{background:#eef2f7;color:#354258}
@media(max-width:760px){.ticket-type-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.ticket-type-picker{grid-template-columns:1fr}.ticket-type-option{min-height:0}}

/* Stronger ticket outlines make adjacent work items easier to scan. */
.issue-card{border-width:2px}
.scheduled-task-card{cursor:pointer;touch-action:manipulation}.scheduled-task-card:focus-visible{outline:3px solid rgba(36,99,235,.25);outline-offset:2px}

/* Mobile-first dashboard: priorities first, compact shortcuts, quiet sync tools. */
.dashboard-shortcut-detail{display:block;margin-top:3px;color:#08755a;font-size:10px;font-weight:550;line-height:1.25}
.dashboard-add-task{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.dashboard-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px}.dashboard-shortcut{appearance:none;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;min-height:66px;border:1px solid #dce3ed;border-radius:14px;background:#fff;color:#1c293c;padding:11px 13px;text-align:left;text-decoration:none;cursor:pointer;touch-action:manipulation}.dashboard-shortcut:hover{border-color:#9eb1cc;box-shadow:0 8px 22px rgba(18,30,50,.06)}.dashboard-shortcut.message.has-messages{border-color:#e7bd60}.dashboard-shortcut.cleaning{border-color:#a9d7c5}.dashboard-shortcut.has-error{border-color:#efa9a4}.dashboard-shortcut-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#edf2f9;color:#344762;font-size:17px;font-weight:550}.dashboard-shortcut.message.has-messages .dashboard-shortcut-icon{background:#fff0d5;color:#9a4e00}.dashboard-shortcut.cleaning .dashboard-shortcut-icon{background:#dff4ea;color:#08755a}.dashboard-shortcut.has-error .dashboard-shortcut-icon{background:#fee8e6;color:#b42318}.dashboard-shortcut-copy{display:block;min-width:0}.dashboard-shortcut-copy small,.dashboard-shortcut-copy strong{display:block}.dashboard-shortcut-copy small{margin-bottom:3px;color:#758197;font-size:9px;font-weight:550;letter-spacing:.06em;line-height:1.2;text-transform:uppercase}.dashboard-shortcut-copy strong{font-size:13px;line-height:1.25;overflow-wrap:anywhere;white-space:normal}.dashboard-shortcut-arrow{color:#63728a;font-size:22px}.dashboard-data-status{margin-top:18px;border:1px solid #dfe5ee;border-radius:13px;background:#fff}.dashboard-data-status summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 13px;color:#344158;cursor:pointer;font-size:11px;font-weight:550}.dashboard-data-status summary small{min-width:0;overflow:hidden;color:#778397;font-size:10px;font-weight:550;text-overflow:ellipsis;white-space:nowrap}.dashboard-data-status-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;border-top:1px solid #e8ecf2;padding:11px}.dashboard-data-status .sync-source{min-width:0}.dashboard-sync-notice{margin:10px 0 0}.add-work-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.add-work-options>button{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #dce3ed;border-radius:15px;background:#fff;color:#26364f;padding:16px;text-align:left;cursor:pointer}.add-work-options>button:hover{border-color:#7e9ed2;background:#f8faff}.add-work-options strong,.add-work-options small{display:block}.add-work-options strong{margin-bottom:4px;font-size:14px}.add-work-options small{color:#6e7a8d;font-size:11px;line-height:1.4}.add-work-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#e9f0ff;color:#2159bf;font-size:20px;font-weight:550}
@media(max-width:760px){.content-shell main{padding-top:18px}.dashboard-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin-bottom:14px}.dashboard-hero .eyebrow{margin-bottom:5px;font-size:9px}.dashboard-hero h1{font-size:28px}.dashboard-hero .hero-actions{width:auto}.dashboard-add-task{min-height:42px;padding:9px 12px}.dashboard-priority-full{margin-bottom:14px;padding:14px}.dashboard-priority-full .section-heading{align-items:center;margin-bottom:12px}.dashboard-priority-full .section-heading p{display:none}.dashboard-priority-full .section-heading h2{font-size:19px}.dashboard-priority-full .text-btn{white-space:nowrap}.dashboard-shortcuts{margin-bottom:14px}.scheduled-tasks-panel{margin-bottom:14px}.dashboard-data-status{margin-top:14px}}

.scheduled-repeat-grid{grid-template-columns:minmax(120px,.8fr) minmax(120px,.8fr) minmax(220px,1.4fr)}
.scheduled-repeat-grid label[data-repeat-count]{position:relative}
.scheduled-repeat-grid label[data-repeat-count] small{position:absolute;right:12px;bottom:13px;color:#718096;font-weight:550}
.scheduled-repeat-grid label[data-repeat-count] input{padding-right:72px}
@media(max-width:760px){.scheduled-repeat-grid{grid-template-columns:1fr 1fr}.scheduled-repeat-grid label:last-child{grid-column:1/-1}}
@media(max-width:560px){.dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-shortcut{grid-template-columns:30px minmax(0,1fr);gap:7px;min-height:62px;padding:8px}.dashboard-shortcut-icon{width:30px;height:30px;font-size:14px}.dashboard-shortcut-copy small{font-size:8px}.dashboard-shortcut-copy strong{font-size:11px}.dashboard-shortcut-arrow{display:none}.dashboard-data-status summary{align-items:flex-start;flex-direction:column;gap:3px}.dashboard-data-status-content{grid-template-columns:1fr}.add-work-options{grid-template-columns:1fr}}
@media(max-width:390px){.dashboard-hero h1{font-size:24px}.dashboard-add-task{font-size:12px}.dashboard-priority-full .section-heading{align-items:flex-start;flex-direction:column;gap:7px}}

/* Compact ticket and message cards: keep only what is needed to decide and act. */
.issue-card{padding:13px 14px}.issue-card.compact{padding:12px 13px}.issue-card-top{align-items:flex-start}.issue-card-corner{display:flex;align-items:center;gap:7px;flex:0 0 auto}.issue-card h3{margin:9px 0 4px;font-size:16px}.issue-card .summary{display:-webkit-box;margin:8px 0 0;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.issue-card .location,.issue-context{margin-top:6px}.issue-meta{margin-top:8px;margin-bottom:12px;padding-top:8px}.issue-card .next-action{margin-top:8px;padding:7px 9px}.issue-card .badges{gap:4px}.issue-card .badge,.issue-card .operation-badge{padding:4px 6px;font-size:8px}.pms-reservation-link.icon-only{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;padding:0;font-size:15px;line-height:1}.message-card{padding:14px 15px}.message-card .expandable-message{margin:9px 0}.message-card blockquote{padding:10px 12px}.message-issue-title h3{margin-bottom:4px}.message-location{margin-top:5px}.message-history-note{margin-top:7px}.message-actions{margin-top:10px}
@media(max-width:640px){.issue-card{padding:12px}.issue-context{gap:4px}.issue-meta{gap:5px}.message-card{padding:12px}.message-card-top>div{gap:6px}.message-card-top strong{width:100%}}

/* Personal account settings. */
.settings-title{margin-bottom:20px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1050px}.settings-card{border:1px solid #dfe5ee;border-radius:17px;background:#fff;padding:20px}.settings-card h2{margin:0;color:#1b2638;font-size:20px}.settings-card>div>p{margin:5px 0 18px;color:#6f7b8e;font-size:12px;line-height:1.5}.settings-card form{display:grid;gap:13px}.settings-card label{display:grid;gap:6px;color:#344157;font-size:12px;font-weight:550}.settings-card label small,.settings-card form>small{color:#7d889a;font-size:10px;font-weight:500;line-height:1.4}.settings-card input{width:100%;min-height:44px}.settings-card input:disabled{background:#f3f5f8;color:#7a8697}.settings-card .primary-btn{justify-self:start}.settings-message{max-width:1050px;margin:0 0 14px;border-radius:11px;padding:11px 13px;font-size:12px;font-weight:550}.settings-message.success{border:1px solid #a9dbc8;background:#eefaf5;color:#08755a}.settings-message.error{border:1px solid #efb2ad;background:#fff0ee;color:#a22d22}
.settings-card.settings-collapsible{align-content:start;padding:0!important;overflow:hidden}
.settings-section-toggle{display:flex;width:100%;min-width:0;align-items:center;justify-content:space-between;gap:16px;border:0!important;border-radius:0!important;background:transparent;padding:17px 20px;color:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.settings-section-toggle>div{min-width:0}.settings-section-toggle h2{font-size:17px}.settings-section-toggle p{margin:4px 0 0;color:#6f7b8e;font-size:11px;font-weight:400;line-height:1.45}
.settings-section-chevron{flex:0 0 auto;color:#8a6d00;font-size:24px;font-weight:550;line-height:1;transition:transform .16s ease}
.settings-card.is-collapsed .settings-section-chevron{transform:rotate(-90deg)}
.settings-section-toggle:hover{background:#fbfaf4}.settings-section-toggle:focus-visible{outline:2px solid #b68e00;outline-offset:-3px}
.settings-section-body{display:grid;gap:13px;border-top:1px solid #edf0f3;padding:18px 20px 20px}.settings-section-body[hidden]{display:none}
.notification-settings-card .settings-section-body>label{display:grid;gap:6px;color:#344157;font-size:12px;font-weight:550}.notification-settings-card .settings-section-body>small{color:#7d889a;font-size:10px;line-height:1.45}
.menu-layout-save-state{justify-self:start;border-radius:999px;background:#eef7f2;padding:6px 10px;color:#28704a;font-size:11px;font-weight:650}.menu-layout-save-state.saving{background:#f3f5f8;color:#657188}.menu-layout-save-state.error{border-radius:8px;background:#fff0ee;color:#a22d22}
.email-notification-settings-card{grid-column:1/-1}.email-notification-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.email-notification-option{min-width:0;margin:0;border:1px solid #dfe5ee;border-radius:14px;background:#f8fafc;padding:15px}.email-notification-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.email-notification-heading h3{margin:0;color:#1f2b3d;font-size:15px}.email-notification-heading p{margin:5px 0 14px;color:#6f7b8e;font-size:11px;line-height:1.45}.email-notification-toggle{display:flex!important;grid-template-columns:auto auto!important;align-items:center;gap:7px!important;white-space:nowrap}.email-notification-toggle input{width:17px!important;min-height:17px!important}.email-notification-fields,.email-message-fields{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(130px,.7fr);align-items:start;gap:10px}.email-message-fields{margin-top:10px}.email-message-fields small{line-height:1.35}.email-recipient-field{display:grid;gap:6px}.email-recipient-field>span{color:#344157;font-size:12px;font-weight:550}.email-recipient-list{display:grid;gap:7px}.email-recipient-row{display:grid;grid-template-columns:minmax(0,1fr) 40px;align-items:center;gap:7px}.email-recipient-row .icon-btn{width:40px;height:40px;color:#9b3a33}.email-recipient-row .icon-btn:disabled{visibility:hidden}.email-recipient-add{justify-self:start;padding:4px 0!important;font-size:11px}.email-notification-option>.secondary-btn{margin-top:12px}.settings-inline-warning{margin:-5px 0 14px;border:1px solid #f0c36e;border-radius:10px;background:#fff8e7;color:#8a5a00;padding:10px 12px;font-size:11px;font-weight:550}
.gmail-senders-card{grid-column:1/-1}.gmail-sender-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gmail-sender-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;padding:14px;border:1px solid #dfe5ee;border-radius:12px;background:#f8fafc}.gmail-sender-row>div{min-width:0}.gmail-sender-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.gmail-sender-title h3{margin:0;font-size:15px;font-weight:600}.gmail-sender-row p{margin:5px 0;color:#657287;font-size:12px;line-height:1.45}.gmail-sender-row small{display:block;overflow:hidden;color:#344157;text-overflow:ellipsis}.gmail-sender-row .secondary-btn{flex:none}
@media(max-width:800px){.settings-grid{grid-template-columns:1fr}.settings-card{padding:16px}.settings-section-toggle{padding:15px 16px}.settings-section-body{padding:16px}.email-notification-options,.email-notification-fields,.email-message-fields,.gmail-sender-list{grid-template-columns:1fr}.email-notification-settings-card,.gmail-senders-card{grid-column:auto}.gmail-sender-row{align-items:flex-start;flex-direction:column}.gmail-sender-row .secondary-btn{width:100%}}

/* Persistent scheduled-task reminders and notification controls. */
.task-reminder-panel{margin:0 0 14px;border:2px solid #efb25e;border-radius:16px;background:#fffaf0;padding:15px}.task-reminder-heading{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px}.task-reminder-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#ffead0;color:#a04d00;font-size:18px;font-weight:550}.task-reminder-heading .eyebrow{margin-bottom:3px;color:#9a570e}.task-reminder-heading h2{margin:0;color:#38260f;font-size:17px}.task-reminder-heading p:not(.eyebrow){margin:3px 0 0;color:#755d3d;font-size:11px;line-height:1.4}.task-reminder-list{display:grid;gap:7px;margin-top:12px}.task-reminder-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;border-top:1px solid #efdcbf;padding-top:9px;cursor:pointer}.task-reminder-row>div{min-width:0}.task-reminder-row strong,.task-reminder-row span{display:block}.task-reminder-row strong{color:#302516;font-size:13px}.task-reminder-row strong a{color:inherit}.task-reminder-row span{margin-top:3px;color:#7d6749;font-size:10px}.task-reminder-row .primary-btn{padding:8px 11px;font-size:11px}.notification-settings-card{display:grid;align-content:start;gap:13px}.notification-settings-card>div>p{margin-bottom:0}.notification-status{display:flex;align-items:center;gap:8px;border-radius:10px;background:#f2f4f7;color:#5f6d82;padding:10px 11px;font-size:11px}.notification-status span{width:8px;height:8px;border-radius:50%;background:#98a2b3}.notification-status.enabled{background:#eaf8f2;color:#08755a}.notification-status.enabled span{background:#17a274}.notification-settings-card>label{display:grid;gap:6px;color:#344157;font-size:12px;font-weight:550}.notification-settings-card select{width:100%;min-height:44px}.notification-setting-actions{display:flex;align-items:center;gap:8px}.notification-settings-card>small{color:#7d889a;font-size:10px;line-height:1.45}
@media(max-width:640px){.task-reminder-panel{padding:12px}.task-reminder-heading{grid-template-columns:32px minmax(0,1fr)}.task-reminder-icon{width:31px;height:31px}.task-reminder-heading>.secondary-btn{grid-column:1/-1;width:100%}.task-reminder-row{align-items:stretch;grid-template-columns:1fr}.task-reminder-row .primary-btn{width:100%}}

/* Dense ticket board and reliable full-card touch targets. */
.content-shell main{max-width:1840px}
.issue-card{position:relative}.issue-card-content{pointer-events:none}.issue-card-content [data-pms-link]{pointer-events:auto}.issue-card:active{background:#f6f8fb}
.dashboard-priority-full .priority-list,.issue-grid{grid-template-columns:repeat(auto-fill,minmax(305px,1fr));gap:10px}
.priority-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.ticket-layout-toggle{display:inline-flex;align-items:center;border:1px solid #d7deea;border-radius:9px;background:#eef1f6;padding:3px}.ticket-layout-toggle button{display:inline-flex;align-items:center;gap:5px;min-height:28px;border:0;border-radius:7px;background:transparent;color:#647186;padding:5px 8px;font-size:10px;font-weight:550;cursor:pointer}.ticket-layout-toggle button.active{background:#fff;color:#1d2b40;box-shadow:0 1px 5px rgba(15,23,42,.1)}
.ticket-kanban{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:10px;align-items:start}.kanban-column{min-width:0;border:1px solid #dfe4ec;border-radius:13px;background:#f5f7fa;padding:9px;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.kanban-column.drop-target{border-color:#6286c8;background:#eef4ff;box-shadow:inset 0 0 0 2px rgba(64,105,179,.16)}.kanban-column>header{display:flex;align-items:center;justify-content:space-between;padding:2px 3px 9px}.kanban-column>header h3{margin:0;color:#344157;font-size:12px}.kanban-column>header span{display:grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#e3e8ef;color:#556277;font-size:10px;font-weight:550}.kanban-new>header{border-bottom:2px solid #6688c9}.kanban-progress>header{border-bottom:2px solid #e0a331}.kanban-waiting>header{border-bottom:2px solid #9873be}.kanban-ticket-list{display:grid;min-height:54px;gap:8px;padding-top:8px}.kanban-ticket-list .issue-card{padding:10px 11px;cursor:grab;transition:opacity .14s ease,transform .14s ease,box-shadow .14s ease}.kanban-ticket-list .issue-card:active{cursor:grabbing}.kanban-ticket-list .issue-card.dragging{opacity:.48;transform:scale(.985);box-shadow:0 12px 28px rgba(19,33,55,.18)}.kanban-ticket-list .issue-card h3{margin-top:7px;font-size:14px}.kanban-ticket-list .issue-meta{display:none}.kanban-ticket-list .next-action{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.kanban-empty{border:1px dashed #cbd3df;border-radius:10px;color:#8792a4;padding:24px 10px;text-align:center;font-size:11px}.waiting-status-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.waiting-status-options button{display:grid;gap:5px;border:1px solid #d7dfeb;border-radius:13px;background:#fff;color:#26364f;padding:16px;text-align:left;cursor:pointer}.waiting-status-options button:hover{border-color:#6e91ce;background:#f6f9ff}.waiting-status-options b{font-size:13px}.waiting-status-options span{color:#6f7c8f;font-size:10px;line-height:1.45}
.ticket-type-picker{grid-template-columns:repeat(5,minmax(0,1fr))}.contract-renewal-fields{margin-top:14px;border-top:1px solid #dce3ed;padding-top:14px}
@media(max-width:900px) and (min-width:761px){.dashboard-priority-full .priority-list,.issue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ticket-kanban{overflow-x:auto;grid-template-columns:repeat(3,minmax(280px,1fr));padding-bottom:4px}}
@media(max-width:760px){.dashboard-priority-full .priority-list,.issue-grid{grid-template-columns:1fr}.priority-heading-actions{align-items:flex-end;flex-direction:column;gap:7px}.ticket-kanban{overflow-x:auto;grid-template-columns:repeat(3,minmax(275px,82vw));margin-right:-14px;padding:0 14px 7px 0;scroll-snap-type:x proximity}.kanban-column{scroll-snap-align:start}.ticket-type-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.waiting-status-options{grid-template-columns:1fr}}
@media(max-width:480px){.ticket-layout-toggle button span{display:none}.ticket-type-picker{grid-template-columns:1fr}}

/* Ticket alignment, supplies workflow and scheduled-task delay controls. */
.issue-card{height:100%}.issue-card-content{display:flex;min-height:100%;flex-direction:column}.issue-card .next-action{margin-top:auto}.issue-card .next-action:before{content:"";display:block;height:2px}.priority-list,.issue-grid,.kanban-ticket-list{align-items:stretch}.kanban-ticket-list .issue-card{height:auto}.ticket-type-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.delay-task-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:18px}.delay-task-options button{min-height:46px;border:1px solid #cfd8e6;border-radius:10px;background:#f7f9fc;color:#344157;font-weight:550;cursor:pointer}.delay-task-options button:hover{border-color:#7d9ddd;background:#f2f6ff}.scheduled-task-actions .secondary-btn[data-delay-task]{border-color:#d5b465;background:#fffaf0;color:#825400}
@media(max-width:760px){.delay-task-options{grid-template-columns:repeat(2,minmax(0,1fr))}.ticket-type-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.ticket-type-picker{grid-template-columns:1fr}}
.install-app-note{display:grid;gap:4px;border:1px solid #cbd9ec;border-radius:11px;background:#f4f8ff;padding:11px 12px;color:#31445f}.install-app-note strong{font-size:12px}.install-app-note span{color:#65758c;font-size:10px;line-height:1.45}
.notification-help-steps{margin:0 0 20px;padding:0;list-style:none;counter-reset:notification-step;display:grid;gap:10px}.notification-help-steps li{counter-increment:notification-step;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:10px;border:1px solid #dfe5ee;border-radius:11px;background:#fff;padding:11px 12px;color:#344157;font-size:13px;line-height:1.45}.notification-help-steps li:before{content:counter(notification-step);display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#eaf0ff;color:#2457bf;font-weight:550}

/* Property contract register and renewal workflow. */
.contracts-page-title{align-items:flex-start}.contract-notice{margin-bottom:14px}.contract-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.contract-stats>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dce4ee;border-radius:14px;background:#fff;padding:13px 14px}.contract-stats span{color:#6d798c;font-size:11px;font-weight:550}.contract-stats strong{color:#17243a;font-size:22px}.contract-stats .needs-attention{border-color:#efc16b;background:#fffaf1}.contract-stats .needs-attention strong{color:#925400}.contract-reminder-plan{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);align-items:center;gap:18px;margin-bottom:20px;border:1px solid #cad8ee;border-radius:15px;background:#f6f9ff;padding:13px 15px}.contract-reminder-plan span,.contract-reminder-plan b{display:block}.contract-reminder-plan span{margin-bottom:4px;color:#60708a;font-size:9px;font-weight:550;letter-spacing:.06em;text-transform:uppercase}.contract-reminder-plan b{color:#263b5c;font-size:13px}.contract-reminder-plan p{margin:0;color:#65748a;font-size:11px;line-height:1.45}.contract-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:11px}.contract-card{display:flex;min-width:0;flex-direction:column;border:2px solid #dce3ed;border-radius:16px;background:#fff;padding:15px}.contract-card.tone-critical{border-left:6px solid #e5484d}.contract-card.tone-urgent{border-left:6px solid #f79009}.contract-card.tone-warning,.contract-card.tone-watch{border-left:6px solid #d6a127}.contract-card.tone-complete{border-color:#aadbc7}.contract-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.contract-card-top>div{display:flex;gap:5px;flex-wrap:wrap}.contract-operation,.contract-stage,.contract-type{display:inline-flex;border-radius:999px;padding:5px 7px;font-size:8px;font-weight:550;letter-spacing:.04em;text-transform:uppercase}.contract-operation.sa{border:1px solid #9eadd4;color:#4b5f91;background:#f7f8fd}.contract-operation.hotel{border:1px solid #77b8a1;color:#176e58;background:#f5fbf8}.contract-stage{background:#eef2f7;color:#566479}.tone-critical .contract-stage{background:#fee8e6;color:#b42318}.tone-urgent .contract-stage{background:#fff0d5;color:#9a4e00}.tone-warning .contract-stage,.tone-watch .contract-stage{background:#fff6d8;color:#795d00}.tone-complete .contract-stage{background:#e3f7ed;color:#08755a}.contract-type{max-width:42%;overflow:hidden;background:#f2f4f7;color:#687489;text-overflow:ellipsis;white-space:nowrap}.contract-card h3{margin:12px 0 3px;color:#1c2b41;font-size:18px}.contract-address{margin:0;color:#748095;font-size:10px;line-height:1.4}.contract-dates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:13px}.contract-dates span{border-radius:9px;background:#f5f7fa;padding:8px}.contract-dates small,.contract-dates b{display:block}.contract-dates small{margin-bottom:3px;color:#7d8799;font-size:8px;font-weight:550;text-transform:uppercase}.contract-dates b{color:#2d3b50;font-size:10px}.contract-owner{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;color:#6e7a8d;font-size:10px}.contract-owner b{color:#344157;text-align:right}.contract-document{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;margin-top:10px;border:1px solid #e1e6ed;border-radius:10px;padding:8px}.contract-document>span{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#edf2f9;color:#405676}.contract-document b,.contract-document small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contract-document b{color:#344157;font-size:10px}.contract-document small{margin-top:2px;color:#7b8799;font-size:9px}.contract-actions{display:flex;align-items:center;gap:7px;margin-top:auto;padding-top:12px}.contract-actions .secondary-btn{padding:8px 10px;font-size:10px}.contract-actions .danger-link{margin-left:auto}.contract-empty{grid-column:1/-1;display:grid;justify-items:center;gap:8px}.contract-empty .primary-btn{margin-top:5px}.contract-form .contract-date-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.input-suffix{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border:1px solid #d8e0eb;border-radius:9px;background:#fff;overflow:hidden}.input-suffix input{border:0!important;border-radius:0!important}.input-suffix small{padding:0 10px;color:#6d798c;font-size:10px}.contract-file-field{border:1px dashed #aebbd0;border-radius:12px;background:#f8faff;padding:12px}.contract-file-field input{padding:8px;background:#fff}
@media(max-width:840px){.contract-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.contract-reminder-plan{grid-template-columns:1fr}.contract-grid{grid-template-columns:1fr}}
@media(max-width:560px){.contracts-page-title{align-items:stretch;flex-direction:column}.contracts-page-title .primary-btn{width:100%}.contract-stats{gap:7px}.contract-stats>div{padding:10px}.contract-stats span{font-size:9px}.contract-stats strong{font-size:18px}.contract-reminder-plan{padding:11px}.contract-card{padding:12px}.contract-card-top{align-items:flex-start;flex-direction:column}.contract-type{max-width:100%}.contract-dates{grid-template-columns:1fr 1fr}.contract-dates span:last-child{grid-column:1/-1}.contract-actions{display:grid;grid-template-columns:1fr 1fr}.contract-actions .secondary-btn{justify-content:center}.contract-actions .danger-link{grid-column:1/-1;margin:0;padding:7px;text-align:center}.contract-form .contract-date-fields{grid-template-columns:1fr}}

/* Desktop-first searchable multi-location and category controls. */
.ticket-location-grid{align-items:start}.multi-property-label{min-width:0}.multi-property-picker,.searchable-choice{position:relative;margin-top:6px}.searchable-choice{display:grid;grid-template-columns:minmax(0,1fr) 38px 38px;border:1px solid #d8e0eb;border-radius:11px;background:#fff;overflow:hidden}.searchable-choice.no-custom{grid-template-columns:minmax(0,1fr) 38px}.searchable-choice:focus-within{border-color:#7295d1;box-shadow:0 0 0 3px rgba(36,99,235,.1)}.multi-property-picker>input,.searchable-choice>input{width:100%;min-height:42px}.multi-property-picker>input{border:1px solid #d8e0eb!important;border-radius:9px!important;background:#fff}.multi-property-picker>input:focus{border-color:#7295d1!important;box-shadow:0 0 0 3px rgba(36,99,235,.1)!important}.searchable-choice>input{min-width:0;border:0!important;border-radius:0!important;box-shadow:none!important}.searchable-choice-toggle,.searchable-choice-add{display:grid;place-items:center;border:0;border-left:1px solid #e3e8ef;background:#f8fafc;color:#53627a;font-weight:550;cursor:pointer}.searchable-choice-toggle{font-size:14px}.searchable-choice-add{color:#2463eb;font-size:19px}.searchable-choice-add[hidden]{display:none}.multi-property-selected{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding-top:7px}.multi-property-selected[hidden],.multi-property-results[hidden]{display:none}.property-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #b7c9e5;border-radius:999px;background:#edf4ff;color:#274b80;padding:5px 8px;font-size:10px;font-weight:550;cursor:pointer}.property-chip span{font-size:14px;line-height:1}.multi-property-results,.searchable-choice-results{display:grid;gap:5px;max-height:190px;overflow:auto;background:#f7f9fc;padding:7px}.multi-property-results{position:absolute;z-index:30;top:47px;right:0;left:0;grid-template-columns:1fr;border:1px solid #d8e0eb;border-radius:9px;box-shadow:0 8px 22px rgba(23,36,58,.14)}.searchable-choice-results{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #eef1f5}.property-result,.searchable-choice-results button{display:flex;min-width:0;min-height:35px;align-items:center;justify-content:space-between;gap:8px;border:1px solid #dfe5ee;border-radius:8px;background:#fff;color:#344157;padding:7px 9px;text-align:left;font-size:10px;font-weight:550;cursor:pointer}.property-result:hover,.searchable-choice-results button:hover{border-color:#91acd4;background:#f5f8ff}.property-result.selected{border-color:#78ad98;background:#edf9f4;color:#176b56}.property-result span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.property-result b{color:#65748b;font-size:8px;text-transform:uppercase}.property-result.selected b{color:#08755a}.search-result-empty{grid-column:1/-1;color:#7b8798;padding:8px;font-size:10px}.issue-details-editor>.multi-property-label{margin:0 0 13px}.issue-details-editor>.multi-property-label>.multi-property-picker{margin-top:6px}

/* A real full-card button makes ticket editing reliable on touch and desktop. */
.issue-card-hitarea{position:absolute;z-index:1;inset:0;width:100%;height:100%;border:0;border-radius:inherit;background:transparent;cursor:pointer}.issue-card-hitarea:focus-visible{outline:3px solid rgba(36,99,235,.28);outline-offset:3px}.issue-card-content{position:relative;z-index:2;pointer-events:none}.issue-card-content [data-pms-link]{position:relative;z-index:3;pointer-events:auto}

/* Wide screens use a compact horizontal reminder band; phones retain a stacked alert. */
@media(min-width:900px){.task-reminder-panel{display:grid;grid-template-columns:minmax(270px,360px) minmax(0,1fr);align-items:start;gap:18px;padding:12px 14px}.task-reminder-heading{grid-template-columns:32px minmax(0,1fr);gap:9px}.task-reminder-icon{width:31px;height:31px;font-size:15px}.task-reminder-heading h2{font-size:15px}.task-reminder-heading p:not(.eyebrow){margin-top:2px;font-size:10px}.task-reminder-heading>.secondary-btn{grid-column:2;justify-self:start;padding:6px 8px;font-size:9px}.task-reminder-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px;margin-top:0}.task-reminder-row{min-height:50px;border-top:0;border-left:1px solid #e9d4b2;padding:4px 0 4px 12px}.task-reminder-row strong{font-size:12px}.task-reminder-row .primary-btn{padding:7px 9px;font-size:10px}}
@media(max-width:640px){.multi-property-results,.searchable-choice-results{grid-template-columns:1fr;max-height:170px}.ticket-location-grid{grid-template-columns:1fr}.issue-card-hitarea{touch-action:manipulation}}

/* Keep ticket type selection compact: the form below explains the chosen type. */
.ticket-type-option{display:flex;align-items:center;min-height:48px;padding:10px 12px}
.ticket-type-option.active{padding:9px 11px}
.ticket-type-option b{margin:0}
.ticket-type-option span{display:none}
@media(max-width:480px){
  .ticket-type-picker{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ticket-type-option{min-height:44px;padding:9px 10px}
  .ticket-type-option.active{padding:8px 9px}
}

/* Per-user notes and media history. */
.team-user-note-form{display:grid;gap:13px;border:1px solid #d9e2ef;border-radius:14px;background:#f7f9fc;padding:14px}.team-user-note-form textarea{min-height:96px}.team-note-upload{border:1px dashed #aebed4;border-radius:11px;background:#fff;padding:11px}.team-note-upload input{margin-top:7px;background:#fff}.team-profile-notes{margin-top:18px}.team-profile-notes .section-heading{margin-bottom:10px}.team-profile-notes .section-heading h3{margin:0}.team-profile-note{display:grid;gap:9px;border:1px solid #dfe5ed;border-radius:13px;background:#fff;padding:12px}.team-profile-note+ .team-profile-note{margin-top:9px}.team-profile-note header,.team-profile-note footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.team-profile-note header b{color:#25364f;font-size:11px}.team-profile-note header time{color:#7a8799;font-size:9px}.team-profile-note p{margin:0;color:#3e4c61;font-size:12px;line-height:1.55}.team-profile-note footer{justify-content:flex-end}.team-note-files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.team-note-file{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px;border:1px solid #dce3ec;border-radius:9px;background:#f8fafc;padding:8px;text-align:left;cursor:pointer}.team-note-file>span:first-child{display:grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#e9f0fb;color:#315b99}.team-note-file b,.team-note-file small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-note-file b{color:#35445a;font-size:10px}.team-note-file small{margin-top:2px;color:#7c8797;font-size:8px}.team-notes-loading{display:flex;align-items:center;justify-content:center;gap:9px;min-height:150px;color:#66758b}.team-user-actions{align-content:start}.team-user-actions .secondary-btn[data-team-user-notes]{border-color:#9eb4d2;background:#f5f8fd}
@media(max-width:620px){.team-note-files{grid-template-columns:1fr}.team-profile-note header{align-items:flex-start;flex-direction:column}.team-user-actions{width:100%}.team-user-actions button{width:100%;justify-content:center}}

/* Development sprint board attached to each Team & access profile. */
.team-feature-board-modal{width:min(1180px,100%);background:#f7f8fb}
.team-feature-board-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid #dde4ed;padding-bottom:16px}
.team-feature-board-header h2{margin:2px 0 5px;color:#17243a;font-size:25px}.team-feature-board-header p{margin:0;color:#6c788b;font-size:12px}
.team-feature-board-actions{display:flex;align-items:center;gap:8px}.team-feature-board-actions .modal-close{margin-left:4px}
.team-feature-search{display:flex;align-items:center;gap:7px;max-width:430px;margin:14px 0;border:1px solid #d7dfea;border-radius:11px;background:#fff;padding:0 11px;color:#718097}
.team-feature-search input{width:100%;min-height:42px;border:0;background:transparent;box-shadow:none!important}
.team-feature-kanban{display:grid;grid-template-columns:repeat(3,minmax(250px,1fr));align-items:stretch;gap:11px}
.team-feature-column{display:flex;min-width:0;min-height:520px;flex-direction:column;border:1px solid #dfe5ed;border-radius:14px;background:#f1f4f8;padding:10px;transition:border-color .15s,background .15s,box-shadow .15s}
.team-feature-column.drop-target{border-color:#3f78c5;background:#f1f6ff;box-shadow:inset 0 0 0 2px rgba(63,120,197,.15)}
.team-feature-column>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border-bottom:2px solid #b8c4d4;padding:3px 3px 10px}
.team-feature-column:nth-child(2)>header{border-color:#6f92cc}.team-feature-column:nth-child(3)>header{border-color:#e0a331}
.team-feature-column h3{margin:0;color:#2b3b53;font-size:13px}.team-feature-column header p{margin:3px 0 0;color:#8290a2;font-size:9px}
.team-feature-column header>span,.team-feature-done>header>span{display:grid;min-width:23px;height:23px;place-items:center;border-radius:999px;background:#dfe6ef;color:#536177;font-size:10px;font-weight:550}
.team-feature-list{display:grid;align-content:start;flex:1;gap:8px;padding-top:9px}
.team-feature-card{overflow:hidden;border:1px solid #dbe2ec;border-radius:12px;background:#fff;box-shadow:0 3px 10px rgba(21,34,55,.04)}.team-feature-card.dragging{opacity:.48}
.team-feature-card-main{display:block;width:100%;border:0;background:transparent;padding:13px;color:inherit;text-align:left;cursor:pointer}
.team-feature-card-tags{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}
.team-feature-urgency,.team-feature-media-count{border-radius:999px;padding:4px 7px;font-size:9px;font-weight:550}.team-feature-media-count{background:#edf1f6;color:#5b687a}
.team-feature-urgency.how-soon-now{background:#feeceb;color:#a32d28}.team-feature-urgency.how-soon-today{background:#fff4d9;color:#875500}.team-feature-urgency.how-soon-this_week{background:#edf4ff;color:#2b5795}.team-feature-urgency.how-soon-no_rush{background:#eef8f2;color:#286849}
.team-feature-card strong{display:block;color:#213149;font-size:13px}.team-feature-card p{display:-webkit-box;overflow:hidden;margin:7px 0 12px;color:#647287;font-size:11px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.team-feature-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #edf0f4;padding-top:9px;color:#8b96a6;font-size:9px}
.team-feature-empty{border:1px dashed #c9d2df;border-radius:10px;color:#8a95a5;padding:22px 10px;text-align:center;font-size:10px}
.team-feature-done>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.team-feature-done h3{margin:0;color:#26364f}
.team-feature-done>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:9px}.team-feature-card.is-done{opacity:.82}
.team-feature-form{display:grid;gap:14px}.team-feature-form>label,.team-feature-form .form-grid label{display:grid;gap:6px;color:#344157;font-size:12px;font-weight:550}.team-feature-form textarea{min-height:260px;font-size:16px;line-height:1.55}
.team-feature-form .modal-actions .danger-link{width:auto;margin-right:auto}.team-feature-existing-media h3{margin:0 0 9px;color:#344157;font-size:12px}
@media(max-width:760px){
  .team-feature-board-header{align-items:stretch;flex-direction:column}.team-feature-board-actions{display:grid;grid-template-columns:1fr 1fr auto}.team-feature-board-actions button{justify-content:center}
  .team-feature-kanban{overflow-x:auto;grid-template-columns:repeat(3,minmax(275px,82vw));margin-right:-14px;padding:0 14px 8px 0;scroll-snap-type:x proximity}.team-feature-column{min-height:480px;scroll-snap-align:start}
  .team-feature-done>div{grid-template-columns:1fr}
}

/* Email triage */
.email-automatic-status{display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center;margin-bottom:14px;border:1px solid #cfe6d8;border-radius:12px;background:#f2fbf5;padding:11px 13px;color:#245c39}.email-automatic-status>span{grid-row:1/3;width:9px;height:9px;border-radius:50%;background:#25a55f;box-shadow:0 0 0 4px rgba(37,165,95,.12)}.email-automatic-status b{font-size:11px}.email-automatic-status small{color:#5e7567;font-size:9px}
.email-page-title{align-items:flex-start}.email-connect-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:16px;border:1px solid #c9d8ef;border-radius:16px;background:linear-gradient(135deg,#f4f8ff,#fff);padding:19px}.email-connect-card h2{margin:3px 0 6px;color:#203651;font-size:20px}.email-connect-card p{max-width:720px;margin:0;color:#65758a;font-size:12px;line-height:1.55}.link-button.disabled{pointer-events:none;opacity:.58}.email-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:14px}.email-toolbar .segmented{display:flex;border:1px solid #d7dfeb;border-radius:11px;background:#eef2f7;padding:3px}.email-toolbar .segmented button{border:0;border-radius:8px;background:transparent;padding:8px 11px;color:#637187;font-size:10px;font-weight:550;cursor:pointer}.email-toolbar .segmented button.active{background:#fff;color:#243c5d;box-shadow:0 1px 4px rgba(20,39,68,.12)}.email-toolbar .segmented span{margin-left:4px;border-radius:999px;background:#e7edf5;padding:2px 5px}.email-toolbar>label{display:flex;align-items:center;gap:7px;color:#647287;font-size:10px;font-weight:550}.email-toolbar select{width:auto;min-width:180px;padding:8px 30px 8px 10px}.email-toolbar>button{margin-left:auto}.email-triage-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:12px}.email-triage-card{display:flex;min-width:0;flex-direction:column;border:1px solid #dfe6ef;border-radius:15px;background:#fff;padding:16px;box-shadow:0 4px 15px rgba(17,36,67,.035)}.email-triage-card header{display:flex;align-items:center;justify-content:space-between;gap:10px}.email-triage-card header>div{display:flex;gap:6px;flex-wrap:wrap}.email-triage-card time{color:#8792a2;font-size:9px}.email-priority,.email-category{border-radius:999px;background:#edf1f6;color:#586579;padding:5px 8px;font-size:9px;font-weight:550}.email-priority.urgent{background:#ffebe6;color:#a03e28}.email-priority.important{background:#fff2ce;color:#805b00}.email-category{background:#eaf1fc;color:#355d95}.email-triage-card h2{overflow-wrap:anywhere;margin:14px 0 4px;color:#1d2e45;font-size:16px}.email-sender{margin:0 0 13px;color:#78869a;font-size:10px}.email-summary{margin:0;color:#46566b;font-size:12px;line-height:1.55}.email-action{display:grid;gap:3px;margin-top:14px;border-left:3px solid #e0a928;background:#fff9e8;padding:9px 11px}.email-action b{color:#775800;font-size:9px;text-transform:uppercase}.email-action span{color:#4b5260;font-size:11px;line-height:1.45}.email-card-actions{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:auto;padding-top:16px}.email-card-actions .text-btn{width:auto}.email-empty{grid-column:1/-1}.email-thread-modal{display:grid;grid-template-columns:.9fr 1.1fr;gap:16px}.email-thread-modal section,.email-thread-modal form{min-width:0;border:1px solid #e0e6ee;border-radius:13px;background:#f9fbfd;padding:14px}.email-thread-modal h3{margin:0 0 10px;color:#263a56;font-size:13px}.email-thread-modal label{display:grid;gap:5px;margin-bottom:12px}.email-thread-modal pre{max-height:350px;overflow:auto;border:1px solid #e0e5ec;border-radius:10px;background:#fff;padding:12px;color:#49586c;font:11px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:pre-wrap}.email-thread-modal form{display:flex;flex-direction:column;background:#fff}.email-thread-modal form p{margin:-4px 0 10px;color:#758195;font-size:10px}.email-thread-modal textarea{min-height:320px;flex:1;resize:vertical}.email-thread-modal form button{margin-top:10px}.email-category-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}.email-category-list span{border-radius:999px;background:#eaf1fc;color:#355d95;padding:7px 10px;font-size:10px;font-weight:550}
.email-import-progress{display:flex;align-items:center;gap:13px;margin-bottom:14px;border:1px solid #c9d8ef;border-radius:13px;background:#f4f8ff;padding:13px 15px;color:#29496f}.email-import-progress .loader{flex:0 0 auto}.email-import-progress b{font-size:12px}.email-import-progress p{margin:3px 0 0;color:#65758a;font-size:11px;line-height:1.45}
@media(max-width:720px){.email-page-title{align-items:stretch;flex-direction:column}.email-connect-card{align-items:stretch;flex-direction:column}.email-toolbar{align-items:stretch;flex-direction:column}.email-toolbar .segmented{display:grid;grid-template-columns:1fr 1fr}.email-toolbar>label{justify-content:space-between}.email-toolbar select{flex:1;min-width:0}.email-toolbar>button{width:100%;margin-left:0}.email-triage-grid{grid-template-columns:1fr}.email-thread-modal{grid-template-columns:1fr}.email-thread-modal textarea{min-height:260px}}

.email-alert-board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin:16px 0}.email-alert-card{display:flex;min-width:0;align-items:center;gap:11px;border:1px solid #dce4ee;border-radius:15px;background:#fff;padding:14px;text-align:left;cursor:pointer;box-shadow:0 3px 12px rgba(17,36,67,.035);transition:border-color .16s,box-shadow .16s,transform .16s}.email-alert-card:hover{transform:translateY(-1px);border-color:#9db7da;box-shadow:0 7px 18px rgba(17,36,67,.08)}.email-alert-card.active{border-color:#477bbd;background:linear-gradient(145deg,#f2f7ff,#fff);box-shadow:0 0 0 2px rgba(71,123,189,.12)}.email-alert-icon{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border-radius:11px;background:#eaf1fb;color:#35649f;font-size:14px;font-weight:550}.email-alert-card>span:last-child{display:grid;min-width:0;grid-template-columns:auto 1fr;align-items:baseline;column-gap:7px}.email-alert-card b{color:#1f395b;font-size:22px}.email-alert-card strong{overflow:hidden;color:#314860;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.email-alert-card small{grid-column:1/-1;margin-top:2px;color:#8490a0;font-size:8px}.email-workflow-tabs{max-width:100%;overflow-x:auto}.email-toolbar .email-workflow-tabs{flex-wrap:nowrap}.email-toolbar .email-workflow-tabs button{white-space:nowrap}.email-queue-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:18px 0 10px}.email-queue-heading h2{margin:2px 0 0;color:#203651;font-size:19px}.email-queue-heading>span{border-radius:999px;background:#edf2f8;padding:6px 9px;color:#647287;font-size:9px;font-weight:550}.email-task-linked{border-radius:999px;background:#e5f6eb;color:#287343;padding:5px 8px;font-size:9px;font-weight:550}.email-card-actions{justify-content:flex-start}.email-card-actions .email-task-button{margin-left:auto}.email-workflow-actions{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px;border-top:1px solid #edf1f5;padding-top:8px}.email-workflow-actions .text-btn{width:auto;padding:5px 7px;font-size:9px}.email-modal-actions{display:flex;flex-wrap:wrap;gap:7px;margin:11px 0 15px}.email-modal-actions .text-btn{width:auto}.email-task-prefill{margin-bottom:13px}

@media(max-width:1050px){.email-alert-board{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.email-alert-board{display:flex;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x proximity}.email-alert-card{min-width:185px;scroll-snap-align:start}.email-toolbar .email-workflow-tabs{display:flex;width:100%;overflow-x:auto}.email-toolbar .email-workflow-tabs button{min-width:max-content}.email-queue-heading{align-items:flex-start}.email-card-actions{display:grid;grid-template-columns:1fr 1fr}.email-card-actions .email-task-button{margin-left:0}.email-workflow-actions{justify-content:space-between}}

/* Keep a clear visual break before the aligned next-action row. */
.kanban-ticket-list .issue-card .latest-update{margin-top:12px}.kanban-ticket-list .issue-card-hitarea{touch-action:none}

/* Ticket sections and latest-update workflow. */
.issue-card .latest-update{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;margin-top:auto;border:1px solid rgba(79,99,125,.1);border-radius:8px;background:#f6f8fb;padding:8px 9px;color:#425168;font-size:11px;line-height:1.4}.issue-card .latest-update b{grid-column:1/-1;color:#68768a;font-size:9px;text-transform:uppercase;letter-spacing:.04em}.issue-card .latest-update span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.issue-card .latest-update small{align-self:end;color:#8a95a5;font-size:8px;white-space:nowrap}.issue-card .latest-update.empty{color:#8b96a6;font-style:italic}.kanban-ticket-list .latest-update{margin-top:12px}.ticket-section-details{border-left:5px solid #5e83c2;background:linear-gradient(90deg,#f3f7ff 0,#fff 18%)}.ticket-section-status{border:1px solid #e3d8b7;border-radius:14px;background:#fffaf0;padding:14px}.ticket-section-updates{border-left:5px solid #3b9878;background:linear-gradient(90deg,#effaf6 0,#fff 18%)}.section-label{margin:-2px 0 12px;color:#8a641b;font-size:9px;font-weight:550;letter-spacing:.08em;text-transform:uppercase}.waiting-update-form{display:grid;gap:14px}.waiting-update-form label{display:grid;gap:7px;color:#344157;font-size:12px;font-weight:550}.waiting-update-form textarea{min-height:120px}.invalid{border-color:#d74444!important;box-shadow:0 0 0 3px rgba(215,68,68,.12)!important}.field-error{color:#b52626;font-size:10px;font-weight:550}
/* Team and page permissions */
.team-title{align-items:flex-start}.team-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.team-summary>div{background:#fff;border:1px solid #dde3ec;border-radius:14px;padding:18px;box-shadow:0 4px 15px rgba(18,30,50,.04)}.team-summary span{display:block;color:#687386;font-size:12px;font-weight:550}.team-summary strong{display:block;color:#111b2e;font-size:25px;margin-top:7px}.team-access-note{display:flex;align-items:flex-start;gap:12px;background:#eef8f2;border:1px solid #cce8d6;border-radius:14px;padding:15px 17px;margin-bottom:18px}.team-access-note>span{width:28px;height:28px;border-radius:50%;background:#24764b;color:#fff;display:grid;place-items:center;font-weight:550}.team-access-note b{display:block;color:#194f34}.team-access-note p{margin:3px 0 0;color:#547060;font-size:13px}.team-user-list{display:grid;gap:12px}.team-user-card{background:#fff;border:1px solid #dfe4ec;border-radius:16px;padding:18px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:15px;align-items:start;box-shadow:0 4px 16px rgba(18,30,50,.035)}.team-user-card.is-suspended{background:#f8f9fb;opacity:.78}.team-user-avatar{width:46px;height:46px;border-radius:14px;background:#e8eef9;color:#1d355e;display:grid;place-items:center;font-weight:550}.team-user-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.team-user-heading h2{font-size:16px;margin:0 0 3px;color:#152038}.team-user-heading a{color:#667389;font-size:12px;text-decoration:none}.team-user-status{border-radius:999px;padding:5px 9px;font-size:10px;font-weight:550;white-space:nowrap;background:#edf1f6;color:#526077}.team-user-status.status-active{background:#e8f6ed;color:#1f6a40}.team-user-status.status-invited{background:#fff4d8;color:#8b5d00}.team-user-status.status-invite_failed,.team-user-status.status-suspended{background:#fdeaea;color:#9d3030}.team-user-role{margin:12px 0 10px;display:flex;gap:8px;align-items:baseline}.team-user-role b{font-size:13px;color:#1c2a43}.team-user-role span{font-size:11px;color:#7b8699}.team-page-chips{display:flex;flex-wrap:wrap;gap:6px}.team-page-chips span{background:#f0f3f8;border:1px solid #e0e5ed;border-radius:999px;padding:5px 8px;color:#4d5b72;font-size:10px;font-weight:550}.team-last-seen{display:block;margin-top:10px;color:#8893a5}.team-user-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.team-user-modal .modal-card{width:min(780px,calc(100vw - 28px));max-height:calc(100vh - 30px);overflow:auto}.team-user-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.team-user-fields label,.permission-fieldset{display:flex;flex-direction:column;gap:6px}.team-user-fields input,.team-user-fields select{width:100%;border:1px solid #ccd3df;border-radius:10px;padding:11px;background:#fff}.team-user-fields small{color:#758095}.permission-fieldset{border:0;padding:0;margin:22px 0 0}.permission-fieldset legend{font-weight:550;color:#172238;padding:0}.permission-fieldset>p{margin:0 0 12px;color:#707c90;font-size:12px}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.permission-choice{display:flex;flex-direction:row;align-items:flex-start;gap:10px;border:1px solid #dfe4ec;border-radius:12px;padding:12px;background:#fafbfc;cursor:pointer}.permission-choice:has(input:checked){border-color:#6584b7;background:#f0f5fd}.permission-choice input{margin-top:3px}.permission-choice b,.permission-choice small{display:block}.permission-choice b{font-size:12px;color:#1d2b43}.permission-choice small{margin-top:2px;color:#778297;font-size:10px}.modal-inline-error{background:#fff0f0;color:#9b2929;border:1px solid #f3c8c8;border-radius:10px;padding:10px 12px;margin-bottom:14px;font-size:12px}.success-banner{background:#eaf7ef;color:#1e6740;border:1px solid #cce8d7;border-radius:12px;padding:12px 15px;margin:14px 0}.modal-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.modal-header h2{margin:3px 0}.modal-header p{margin:4px 0;color:#6d788b}.modal-close{border:0;background:#eef1f5;width:34px;height:34px;border-radius:10px;font-size:22px;cursor:pointer}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
@media(max-width:760px){.team-summary{grid-template-columns:1fr}.team-user-card{grid-template-columns:42px minmax(0,1fr)}.team-user-actions{grid-column:2;flex-direction:row;align-items:center}.team-user-heading{display:block}.team-user-status{display:inline-block;margin-top:8px}.team-user-role{display:block}.team-user-role span{display:block;margin-top:3px}.team-user-fields,.permission-grid{grid-template-columns:1fr}}
.team-user-modal .modal-card{background:#fff;border-radius:20px;padding:24px;box-shadow:0 24px 80px rgba(5,12,25,.3)}

/* Shared operational ticket filters and a stronger live-work state. */
.ticket-filter-bar{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:0 0 12px}.ticket-filter-bar select{width:auto;min-width:155px;border:1px solid #ccd6e4;border-radius:10px;background:#fff;padding:8px 30px 8px 10px;color:#354258;font-size:11px;font-weight:550}.controls .ticket-filter-bar{margin:0}.maintenance-ticket-board{margin-bottom:18px}.guest-maintenance-reports{border:1px solid #dfe5ed;border-radius:15px;background:#fff;padding:14px}.guest-maintenance-reports>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;color:#26364f;font-weight:550}.guest-maintenance-reports>summary span{border-radius:999px;background:#eef2f7;padding:4px 8px;font-size:10px}.guest-maintenance-reports[open]>summary{margin-bottom:16px}.kanban-progress{border-color:#e3aa38;background:linear-gradient(180deg,#fff7df 0,#fffdf7 70%);box-shadow:0 0 0 3px rgba(224,163,49,.11)}.kanban-progress>header h3:before,.maintenance-status-pill.status-in_progress:before{content:"";display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:#f0a500;box-shadow:0 0 0 0 rgba(240,165,0,.55);animation:inProgressPulse 1.35s ease-out infinite}.maintenance-report-card.status-in_progress{border-left-width:7px;background:linear-gradient(90deg,#eef5ff 0,#fff 24%)}
@keyframes inProgressPulse{0%{box-shadow:0 0 0 0 rgba(240,165,0,.55)}70%{box-shadow:0 0 0 8px rgba(240,165,0,0)}100%{box-shadow:0 0 0 0 rgba(240,165,0,0)}}
@media(prefers-reduced-motion:reduce){.kanban-progress>header h3:before,.maintenance-status-pill.status-in_progress:before{animation:none;box-shadow:0 0 0 3px rgba(240,165,0,.22)}}
.detail-side #saveIssue{position:sticky;bottom:12px;z-index:8;margin-top:12px;box-shadow:0 10px 26px rgba(20,54,107,.24)}
@media(max-width:700px){.ticket-filter-bar{display:grid;grid-template-columns:1fr 1fr}.ticket-filter-bar select{width:100%;min-width:0}.controls .ticket-filter-bar{grid-column:1/-1}.detail-side #saveIssue{bottom:8px}.dashboard-ticket-heading{align-items:flex-start}}
@media(max-width:460px){.ticket-filter-bar{grid-template-columns:1fr}}

/* Maintenance ticket evidence and contractor hand-off. */
.ticket-media-picker{display:grid;gap:7px;border:1px dashed #9cb1cd;border-radius:12px;background:#f7faff;padding:13px;color:#344157;font-size:12px;font-weight:550}.ticket-media-picker[hidden]{display:none}.ticket-media-picker>span{display:flex;align-items:center;justify-content:space-between;gap:8px}.ticket-media-picker em{color:#758297;font-size:9px;font-style:normal;text-transform:uppercase}.ticket-media-picker input{width:100%;min-height:42px;border:1px solid #d8e0eb;border-radius:9px;background:#fff;padding:8px;font-size:12px}.ticket-media-picker small{color:#6f7e93;font-size:10px;font-weight:550;line-height:1.4}.ticket-media-picker.compact{padding:11px}.quick-maintenance-context>.ticket-media-picker{margin-top:12px}.ticket-media-panel{border-left:5px solid #7c5cc4;background:linear-gradient(90deg,#f5f1ff 0,#fff 18%)}.ticket-media-add{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin-top:13px}.ticket-media-add .secondary-btn{min-height:42px}.ticket-attachment-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ticket-attachment-card{min-width:0;overflow:hidden;border:1px solid #d9e1ec;border-radius:11px;background:#fff}.ticket-attachment-card img,.ticket-attachment-card video{display:block;width:100%;height:145px;object-fit:cover;background:#111827}.ticket-attachment-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 9px}.ticket-attachment-card footer span{overflow:hidden;color:#4a586d;font-size:10px;font-weight:550;text-overflow:ellipsis;white-space:nowrap}.ticket-attachment-card footer button{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border:0;border-radius:50%;background:#f6e8e8;color:#9f2b2b;cursor:pointer}.attachment-loading,.empty-attachments,.attachment-error{grid-column:1/-1;border:1px dashed #d4dce7;border-radius:10px;color:#748197;padding:20px;text-align:center;font-size:11px}.attachment-loading .loader{display:inline-block;width:16px;height:16px;margin:0 7px -4px 0}.attachment-error{border-color:#e6b0aa;background:#fff4f2;color:#9a3028}
.contractor-message-panel{border-left:5px solid #2f8d73;background:linear-gradient(90deg,#eefaf6 0,#fff 18%)}.contractor-message-fields{display:grid;grid-template-columns:1.2fr 1fr .8fr;gap:10px;margin-bottom:12px}.contractor-message-panel label{display:grid;gap:6px;color:#344157;font-size:12px;font-weight:550}.contractor-message-panel textarea{min-height:240px;resize:vertical;font-family:inherit;line-height:1.55}.contractor-message-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:11px}.whatsapp-disabled{min-height:38px;border:1px solid #cfd5de;border-radius:9px;background:#eef1f5;color:#929aa7;padding:8px 13px;font-weight:550;cursor:not-allowed}.contractor-message-actions span{color:#08755a;font-size:11px;font-weight:550}.contractor-template-settings{grid-column:1/-1}.contractor-template-settings textarea{min-height:330px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.55}
@media(max-width:760px){.ticket-attachment-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.ticket-media-add{grid-template-columns:1fr}.contractor-message-fields{grid-template-columns:1fr 1fr}.contractor-message-fields label:first-child{grid-column:1/-1}.contractor-message-panel textarea{min-height:280px}}
@media(max-width:430px){.ticket-attachment-gallery{grid-template-columns:1fr}.ticket-attachment-card img,.ticket-attachment-card video{height:210px}.contractor-message-fields{grid-template-columns:1fr}.contractor-message-fields label:first-child{grid-column:auto}}

/* Equal-height ticket columns make drag targets available across the full board. */
.ticket-kanban{align-items:stretch}
.kanban-column{display:flex;height:100%;flex-direction:column}
.kanban-ticket-list{flex:1;align-content:start}

/* Fast create controls: lightning for Quick Ticket, plus for Create Task. */
.dashboard-create-actions{display:flex;align-items:center;gap:9px}
.circle-create-button{display:grid;flex:0 0 48px;width:48px;height:48px;place-items:center;border:0;border-radius:50%;color:#fff;cursor:pointer;box-shadow:0 10px 24px rgba(29,48,82,.22);transition:transform .15s ease,box-shadow .15s ease}
.circle-create-button:hover{transform:translateY(-1px);box-shadow:0 13px 28px rgba(29,48,82,.28)}
.circle-create-button:disabled{opacity:.5;cursor:not-allowed;transform:none}
.circle-create-button.quick{background:#2463eb}.circle-create-button.task{background:#17243a}
.circle-create-button span{font-size:22px;line-height:1}
.mobile-create-actions{display:none}
@media(max-width:760px){
  .dashboard-create-actions{display:none}
  .mobile-create-actions{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:38;display:flex;gap:10px}
  .mobile-create-actions .circle-create-button{width:52px;height:52px;flex-basis:52px}
}

/* Ticket category and response-time tags. */
.badge.category-tag{border:1px solid #c9d5e6;background:#f5f8fc;color:#42536d;text-transform:none}
.badge[class*="how-soon-"]{border:1px solid transparent;text-transform:none}
.badge.how-soon-now{border-color:#efaaa6;background:#feeceb;color:#a32d28}
.badge.how-soon-today{border-color:#efc980;background:#fff4d9;color:#875500}
.badge.how-soon-this_week{border-color:#a9c1ea;background:#edf4ff;color:#2b5795}
.badge.how-soon-no_rush{border-color:#bdd9ca;background:#eef8f2;color:#286849}

/* Private notes as a feature Kanban board. */
.notes-workflow{min-width:0}
.notes-workflow-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}
.notes-workflow-header h1{margin:2px 0 4px;color:#17243a;font-size:32px}
.notes-workflow-header>div>span{color:#6e7b8e;font-size:12px}
.notes-workflow-actions{display:flex;gap:8px}.notes-workflow-actions button{min-height:40px}.notes-workflow-actions button span{margin-left:5px}
.notes-workflow-search{display:flex;align-items:center;gap:8px;max-width:420px;margin-bottom:14px;border:1px solid #d7dfea;border-radius:11px;background:#fff;padding:0 11px;color:#718097}
.notes-workflow-search input{width:100%;min-height:42px;border:0;background:transparent;box-shadow:none!important}
.notes-kanban{display:grid;grid-template-columns:repeat(3,minmax(250px,1fr));align-items:stretch;gap:11px}
.notes-kanban-column{display:flex;min-width:0;min-height:520px;flex-direction:column;border:1px solid #dfe5ed;border-radius:14px;background:#f5f7fa;padding:10px;transition:border-color .15s,background .15s,box-shadow .15s}
.notes-kanban-column.drop-target{border-color:#e2ad22;background:#fffaf0;box-shadow:inset 0 0 0 2px rgba(226,173,34,.16)}
.notes-kanban-column>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border-bottom:2px solid #d7dee8;padding:3px 3px 10px}
.notes-kanban-column:nth-child(2)>header{border-color:#6f92cc}.notes-kanban-column:nth-child(3)>header{border-color:#e0a331}
.notes-kanban-column h2{margin:0;color:#2b3b53;font-size:13px}.notes-kanban-column header p{margin:3px 0 0;color:#8290a2;font-size:9px}
.notes-kanban-column header>span{display:grid;min-width:23px;height:23px;place-items:center;border-radius:999px;background:#e2e8f0;color:#536177;font-size:10px;font-weight:550}
.notes-kanban-list{display:grid;align-content:start;flex:1;gap:8px;padding-top:9px}
.notes-feature-card{border:1px solid #dbe2ec;border-radius:12px;background:#fff;box-shadow:0 3px 10px rgba(21,34,55,.04);overflow:hidden}
.notes-feature-card.dragging{opacity:.48}.notes-feature-card button{display:block;width:100%;border:0;background:transparent;padding:13px;color:inherit;text-align:left;cursor:pointer}
.notes-feature-card strong{display:block;color:#213149;font-size:13px}.notes-feature-card p{display:-webkit-box;overflow:hidden;margin:7px 0 12px;color:#647287;font-size:11px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.notes-feature-card footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0f4;padding-top:9px;color:#8b96a6;font-size:9px}.notes-feature-card footer span{color:#a16d00;font-weight:550}
.notes-kanban-empty{border:1px dashed #c9d2df;border-radius:10px;color:#8a95a5;padding:22px 10px;text-align:center;font-size:10px}
.note-workflow-form{display:grid;gap:14px}.note-workflow-form label{display:grid;gap:6px;color:#344157;font-size:12px;font-weight:550}.note-workflow-form textarea{min-height:260px;font-size:16px;line-height:1.55}
.note-workflow-form .modal-actions .danger-link{margin-right:auto}
.done-notes-list{display:grid;gap:8px}.done-notes-list>button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;border:1px solid #dfe5ed;border-radius:11px;background:#fff;padding:12px;text-align:left;cursor:pointer}.done-notes-list strong,.done-notes-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.done-notes-list strong{color:#26364f;font-size:12px}.done-notes-list span{grid-column:1;color:#6f7c8f;font-size:10px}.done-notes-list time{grid-column:2;grid-row:1/3;align-self:center;color:#8b96a6;font-size:9px}
@media(max-width:760px){
  .notes-workflow-header{align-items:stretch;flex-direction:column}.notes-workflow-actions{display:grid;grid-template-columns:1fr 1fr}.notes-workflow-actions button{justify-content:center}
  .notes-kanban{overflow-x:auto;grid-template-columns:repeat(3,minmax(275px,82vw));margin-right:-14px;padding:0 14px 8px 0;scroll-snap-type:x proximity}.notes-kanban-column{min-height:480px;scroll-snap-align:start}
}

/* Private notes — a focused, Apple Notes-inspired workspace. */
.notes-app{display:flex;min-height:calc(100vh - 74px);flex-direction:column;margin:-24px;background:#fff;color:#1d1d1f}
.notes-app-header{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px;border-bottom:1px solid #ddd;background:#f7f7f6;padding:14px 22px}
.notes-app-header h1{margin:0;font-size:30px;letter-spacing:-.03em}.notes-app-header span{color:#888;font-size:11px}
.notes-new-button{display:flex;align-items:center;gap:7px;border:0;border-radius:10px;background:#ffd84d;color:#3a3000;padding:10px 13px;font-size:12px;font-weight:550;cursor:pointer}
.notes-new-button>span{font-size:17px;line-height:1}.notes-banner{margin:10px 14px 0}
.notes-shell{display:grid;min-height:0;flex:1;grid-template-columns:330px minmax(0,1fr)}
.notes-list-pane{display:flex;min-width:0;flex-direction:column;border-right:1px solid #d8d8d8;background:#f4f4f2}
.notes-search{display:grid;grid-template-columns:24px 1fr;align-items:center;margin:13px 14px 9px;border-radius:10px;background:#e4e4e2;padding:0 9px;color:#777}
.notes-search span{font-size:19px}.notes-search input{min-width:0;height:36px;border:0;background:transparent;padding:0;font-size:16px;outline:0;box-shadow:none}
.notes-list{min-height:0;overflow:auto;padding:0 8px 18px}
.notes-list-item{display:block;width:100%;border:0;border-bottom:1px solid #dededc;border-radius:0;background:transparent;padding:13px 14px;color:#1d1d1f;text-align:left;cursor:pointer}
.notes-list-item:hover{background:#eaeae7}.notes-list-item.active{border-bottom-color:transparent;border-radius:10px;background:#ffd84d}
.notes-list-item strong{display:block;overflow:hidden;margin-bottom:5px;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.notes-list-item>span{display:block;overflow:hidden;color:#737373;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.notes-list-item time{margin-right:7px;color:#444;font-weight:550}
.notes-list-empty{display:grid;place-items:center;gap:5px;padding:70px 20px;color:#888;text-align:center}
.notes-list-empty>span,.notes-editor-empty>span{font-size:32px;color:#b5b5b2}.notes-list-empty b{font-size:13px;color:#555}.notes-list-empty small{font-size:11px}
.notes-editor-pane{min-width:0;background:#fff}.notes-editor{display:flex;height:100%;min-height:560px;flex-direction:column}
.notes-editor-toolbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:51px;border-bottom:1px solid #ececec;padding:0 20px}
.notes-editor-toolbar time{color:#999;font-size:10px;text-align:center}.notes-back-button{display:none}
.notes-delete-button{justify-self:end;border:0;background:transparent;color:#d64b40;padding:8px;font-size:11px;cursor:pointer}
.notes-editor textarea{width:100%;min-height:430px;flex:1;border:0;background:#fff;padding:34px clamp(28px,6vw,88px);color:#242424;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;font-size:16px;line-height:1.65;resize:none;outline:0;box-shadow:none}
.notes-editor footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #ececec;padding:12px 20px}
.notes-editor footer>span{color:#999;font-size:10px}.notes-save-button{border:0;border-radius:9px;background:#ffd84d;color:#3a3000;padding:9px 16px;font-size:11px;font-weight:550;cursor:pointer}
.notes-editor-empty{display:grid;height:100%;min-height:560px;place-content:center;place-items:center;color:#8b8b8b;text-align:center}
.notes-editor-empty h2{margin:12px 0 5px;color:#555;font-size:18px}.notes-editor-empty p{margin:0;font-size:12px}

/* Keep staff notes visually aligned with the main notes experience. */
.team-user-note-form{border-color:#e0d38f!important;background:#fffdf4!important}.team-profile-note{border:0!important;border-bottom:1px solid #e5e5e2!important;border-radius:0!important;box-shadow:none!important}.team-user-actions .secondary-btn[data-team-user-notes]{border-color:#d9bd3f!important;background:#fff9dc!important;color:#5b4900}

@media(max-width:720px){
  .notes-app{min-height:calc(100vh - 58px);margin:-14px}.notes-app-header{min-height:64px;padding:10px 14px}.notes-app-header h1{font-size:26px}.notes-new-button{padding:9px 11px}
  .notes-shell{display:block;position:relative}.notes-list-pane,.notes-editor-pane{min-height:calc(100vh - 122px)}
  .notes-shell.editor-open .notes-list-pane{display:none}.notes-shell:not(.editor-open) .notes-editor-pane{display:none}.notes-list-pane{border-right:0}
  .notes-editor{min-height:calc(100vh - 122px)}.notes-editor-toolbar{grid-template-columns:1fr auto 1fr;padding:0 10px}
  .notes-back-button{display:flex;align-items:center;gap:3px;border:0;background:transparent;color:#a77700;padding:8px 4px;font-size:18px;cursor:pointer}.notes-back-button span{font-size:12px}
  .notes-editor textarea{min-height:0;padding:25px 20px;font-size:16px}.notes-editor footer{padding-bottom:calc(12px + env(safe-area-inset-bottom))}.notes-editor-empty{min-height:calc(100vh - 122px)}
}

/* Guest maintenance reports and photo evidence. */
.maintenance-page-title{align-items:flex-start}.maintenance-title-actions{display:flex;gap:9px}.maintenance-share-note{display:flex;align-items:flex-start;gap:13px;margin-bottom:16px;border:1px solid #cbd9ed;border-radius:14px;background:#f3f7fd;padding:15px 17px}.maintenance-share-note>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#17243a;color:#fff;font-size:18px}.maintenance-share-note b{display:block;color:#263954}.maintenance-share-note p{margin:4px 0 0;color:#68778c;font-size:12px}.maintenance-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.maintenance-summary>div{display:flex;align-items:center;justify-content:space-between;border:1px solid #dde4ed;border-radius:13px;background:#fff;padding:13px 15px}.maintenance-summary span{color:#6d788b;font-size:11px;font-weight:550}.maintenance-summary strong{font-size:22px}.maintenance-report-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:12px}.maintenance-report-card{display:flex;min-width:0;flex-direction:column;border:1px solid #dfe5ed;border-left:5px solid #8290a4;border-radius:15px;background:#fff;padding:16px}.maintenance-report-card.status-new{border-left-color:#d76b30}.maintenance-report-card.status-in_progress{border-left-color:#3372c4}.maintenance-report-card.status-resolved{border-left-color:#24805b}.maintenance-report-card header{display:flex;align-items:center;justify-content:space-between;gap:9px}.maintenance-report-card header>div{display:flex;gap:6px;flex-wrap:wrap}.maintenance-area,.maintenance-reference{border-radius:999px;background:#eef2f7;color:#526176;padding:5px 8px;font-size:9px;font-weight:550}.maintenance-reference{background:#f8f0d5;color:#755b05}.maintenance-report-card header select{width:auto;min-width:118px;padding:7px 9px;font-size:10px;font-weight:550}.maintenance-report-card h2{margin:14px 0 7px;color:#1b2a40;font-size:17px}.maintenance-description{margin:0;color:#566478;line-height:1.55;font-size:12px;white-space:pre-line}.maintenance-report-card dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.maintenance-report-card dl div{min-width:0}.maintenance-report-card dt{color:#8590a0;font-size:9px;font-weight:550;text-transform:uppercase}.maintenance-report-card dd{overflow-wrap:anywhere;margin:3px 0 0;color:#334157;font-size:11px;font-weight:550}.maintenance-report-card footer{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:auto;border-top:1px solid #edf0f4;padding-top:12px}.maintenance-report-card footer small{color:#8993a1}.maintenance-status-pill{border-radius:999px;background:#edf1f5;color:#536072;padding:5px 8px;font-size:9px;font-weight:550}.maintenance-status-pill.status-new{background:#fff0e8;color:#99502c}.maintenance-status-pill.status-in_progress{background:#e8f0fd;color:#285c9e}.maintenance-status-pill.status-resolved{background:#e5f6ee;color:#1e6d4d}.maintenance-empty{grid-column:1/-1}.maintenance-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.maintenance-photo-grid figure{margin:0;border:1px solid #dfe5ed;border-radius:12px;background:#fff;overflow:hidden}.maintenance-photo-grid img{display:block;width:100%;max-height:520px;object-fit:contain;background:#eef1f5}.maintenance-photo-grid figcaption{padding:9px 11px;color:#637086;font-size:11px}
@media(max-width:700px){.maintenance-page-title{align-items:stretch;flex-direction:column}.maintenance-title-actions{display:grid;grid-template-columns:1fr}.maintenance-title-actions>*{justify-content:center;text-align:center}.maintenance-summary{grid-template-columns:1fr}.maintenance-report-grid,.maintenance-photo-grid{grid-template-columns:1fr}.maintenance-report-card{padding:13px}.maintenance-report-card header{align-items:flex-start;flex-direction:column}.maintenance-report-card header select{width:100%}}

/* Compact dashboard filters and type-ahead category suggestions. */
.searchable-choice-results[hidden]{display:none}.searchable-choice-results{grid-template-columns:1fr}
.dashboard-ticket-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.dashboard-ticket-controls{display:flex;align-items:center;gap:8px}.dashboard-ticket-controls .ticket-filter-bar{margin:0;flex-wrap:nowrap}.dashboard-division-filter{display:flex;align-items:center;gap:3px;border:1px solid #d6deea;border-radius:11px;background:#f4f6f9;padding:3px}.dashboard-division-filter button{border:0;border-radius:8px;background:transparent;color:#617086;padding:7px 10px;font-size:10px;font-weight:550;cursor:pointer;white-space:nowrap}.dashboard-division-filter button.active{background:#fff;color:#233754;box-shadow:0 1px 4px rgba(24,39,65,.12)}
.assignee-icon-filter{position:relative;display:grid;place-items:center;flex:0 0 38px;width:38px;height:36px;border:1px solid #ccd6e4;border-radius:10px;background:#fff;color:#31486b;overflow:hidden}.assignee-icon-filter>span{font-size:11px;font-weight:550;pointer-events:none}.assignee-icon-filter select{position:absolute!important;inset:0;width:100%!important;min-width:0!important;height:100%;opacity:0;cursor:pointer}.dashboard-ticket-heading{margin-bottom:10px}
@media(max-width:850px){.dashboard-ticket-toolbar{align-items:stretch;flex-direction:column}.dashboard-ticket-controls{justify-content:space-between}.dashboard-ticket-controls .ticket-filter-bar{display:flex;flex:1}.dashboard-ticket-controls #ticketTypeFilter{flex:1}.dashboard-division-filter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-division-filter button{padding-inline:6px}.dashboard-ticket-controls .ticket-layout-toggle{flex:0 0 auto}}
@media(max-width:480px){.dashboard-ticket-controls .ticket-filter-bar{display:flex;min-width:0}.dashboard-ticket-controls #ticketTypeFilter{min-width:0}.dashboard-division-filter button{font-size:9px}.dashboard-ticket-heading{align-items:center!important;flex-direction:row!important}}

/* Command Centre branding, bottom project navigation and collaboration areas. */
.command-centre-brand{width:100%;min-height:62px;color:#fff}.command-centre-brand .logo.custom-logo{width:168px;height:58px}.command-centre-brand .logo:not(.custom-logo){width:52px;height:52px;font-size:16px}.sidebar nav{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none}.sidebar nav::-webkit-scrollbar{display:none;width:0;height:0}.nav-bottom-spacer{flex:1;min-height:22px}.nav-projects-bottom{flex:0 0 auto;margin-top:10px;border-top:1px solid #26344b;padding-top:10px}.nav-projects-bottom .nav-item{padding-top:10px;padding-bottom:10px}.sidebar-footer>button{display:flex;align-items:center;gap:5px;white-space:nowrap}.sidebar-footer>button>span{color:inherit;font-size:15px}
.assignee-icon-filter{width:42px;height:38px}.assignee-icon-filter>span{display:grid;place-items:center;font-size:13px}.assignee-icon-filter svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.dashboard-ticket-controls>select{width:auto;min-width:150px;border:1px solid #ccd6e4;border-radius:10px;background:#fff;padding:8px 30px 8px 10px;color:#354258;font-size:11px;font-weight:550}
.quick-links{margin:0 0 14px;border:1px solid #dfe5ed;border-radius:14px;background:#fff}.quick-links>summary{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;color:#344157;font-size:12px;font-weight:550;cursor:pointer}.quick-links>summary small{color:#7a8799;font-size:10px}.quick-links-tools{display:flex;justify-content:flex-end;border-top:1px solid #edf0f4;padding:7px 10px 0}.quick-links-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:7px;padding:10px}.quick-links-grid a{display:flex;align-items:center;gap:8px;min-width:0;border:1px solid #e1e6ee;border-radius:10px;background:#fafbfd;color:#344157;padding:8px;text-decoration:none;font-size:10px;font-weight:550}.quick-links-grid a:hover{border-color:#aabbd3;background:#fff}.quick-link-icon{position:relative;display:grid;flex:0 0 27px;width:27px;height:27px;place-items:center;overflow:hidden;border:1px solid #dde4ed;border-radius:8px;background:#fff;color:#31445e;font-size:10px;font-weight:550}.quick-link-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:4px;background:#fff}.quick-links-empty{grid-column:1/-1;display:grid;gap:3px;padding:10px;color:#748196;text-align:center}.quick-links-empty b{color:#435168}.quick-links-error{margin:7px 10px 0;border-radius:8px;background:#fff1ed;color:#9a4f32;padding:8px 10px;font-size:10px}.quick-links-modal{width:min(720px,100%)}.quick-link-form{display:grid;gap:12px;border:1px solid #dfe5ed;border-radius:14px;background:#f8fafc;padding:14px}.quick-link-form label{display:grid;gap:6px}.quick-link-advanced{border-top:1px solid #e1e6ee;padding-top:10px}.quick-link-advanced>summary{display:flex;justify-content:space-between;color:#42516a;font-size:11px;font-weight:550;cursor:pointer}.quick-link-advanced>summary span{color:#8a95a6;font-size:9px}.quick-link-advanced[open]{display:grid;gap:12px}.quick-link-form-actions{margin:0}.quick-link-current{margin-top:16px}.quick-link-current h3{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px;color:#273750;font-size:13px}.quick-link-current h3 span{border-radius:999px;background:#edf1f6;padding:3px 7px;font-size:9px}.quick-link-current ul{display:grid;gap:7px;margin:0;padding:0;list-style:none}.quick-link-current li{display:grid;grid-template-columns:30px minmax(0,1fr) auto auto;align-items:center;gap:8px;border:1px solid #e1e6ee;border-radius:11px;padding:8px}.quick-link-current li>div{display:grid;min-width:0}.quick-link-current li b{color:#344157;font-size:11px}.quick-link-current li small{overflow:hidden;color:#7a8799;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.quick-link-current .danger-link{width:auto;padding:6px 7px}.quick-link-empty-row{display:block!important;color:#7a8799;text-align:center}
.notes-compose,.request-compose{margin-bottom:16px;border:1px solid #dfe5ed;border-radius:15px;background:#fff;padding:15px}.notes-compose form,.request-compose form{display:grid;gap:10px}.notes-compose textarea,.request-compose textarea{min-height:88px;resize:vertical}.request-compose form{grid-template-columns:minmax(220px,.7fr) minmax(300px,1.3fr) auto;align-items:start}.request-compose button{min-height:42px}.notes-compose button{justify-self:end}.notes-grid,.request-feed{display:grid;gap:11px}.notes-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.note-card,.request-card{border:1px solid #dfe5ed;border-radius:15px;background:#fff;padding:16px;box-shadow:0 3px 12px rgba(18,30,50,.03)}.note-card p,.request-card p{margin:0;color:#46556b;line-height:1.55;font-size:12px}.note-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;border-top:1px solid #edf0f4;padding-top:10px}.note-card time,.request-card time{color:#8a95a5;font-size:9px}.note-card footer>div{display:flex;align-items:center}.note-card .danger-link{width:auto;padding:6px 8px}.request-feed{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.request-card header{display:flex;align-items:center;justify-content:space-between;gap:10px}.request-card header>div{display:grid;gap:3px}.request-author{color:#31527d;font-size:10px;font-weight:550}.request-card header select{width:auto;padding:7px 28px 7px 8px;font-size:9px}.request-card h2{margin:14px 0 8px;color:#1d2a3e;font-size:17px}.request-status{border-radius:999px;background:#edf1f6;padding:5px 8px;color:#5b687a;font-size:9px;font-weight:550;text-transform:capitalize}.request-status.status-in_progress{background:#fff2cc;color:#765000}.request-status.status-completed{background:#e6f6ed;color:#1d6b43}.blank-app{min-height:65vh;display:grid;place-items:center;align-content:center;text-align:center}.blank-app .logo{margin-bottom:18px;background:#17243a;color:#fff}.blank-app h1{margin:0;color:#172033;font-size:36px}.blank-app>p:last-child{max-width:520px;color:#6d798b;line-height:1.55}
.projects-notes-shortcut{margin-bottom:16px}.projects-notes-shortcut>button{display:grid;width:100%;grid-template-columns:44px 1fr auto;align-items:center;gap:12px;border:1px solid #cad7ea;border-radius:15px;background:#f7faff;color:#253650;padding:13px 15px;text-align:left;cursor:pointer}.projects-notes-shortcut>button:hover{border-color:#91acd3;background:#fff}.projects-notes-shortcut span:nth-child(2){display:grid;gap:3px}.projects-notes-shortcut b{font-size:13px}.projects-notes-shortcut small{color:#708097;font-size:10px}.projects-notes-shortcut em{color:#2463eb;font-size:11px;font-style:normal;font-weight:550}
@media(max-width:850px){.dashboard-ticket-controls{flex-wrap:wrap}.dashboard-ticket-controls>select{flex:1}.request-compose form{grid-template-columns:1fr}.request-compose button,.notes-compose button{width:100%;justify-self:stretch}}
@media(max-width:520px){.quick-links-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-link-form .form-grid{grid-template-columns:1fr}.quick-link-current li{grid-template-columns:30px minmax(0,1fr) auto}.quick-link-current li .danger-link{grid-column:2/-1;justify-self:end}.notes-grid,.request-feed{grid-template-columns:1fr}.dashboard-ticket-controls>select{min-width:0}.sidebar-footer{gap:7px}.sidebar-footer>button{font-size:0}.sidebar-footer>button>span{font-size:17px}}

/* Quick ticket capture */
.dashboard-hero .hero-actions{display:flex;align-items:center;gap:8px}
.quick-ticket-fab{display:none;position:fixed;right:22px;bottom:22px;z-index:38;align-items:center;gap:7px;border:0;border-radius:999px;background:#2463eb;color:#fff;padding:13px 17px;font-weight:550;box-shadow:0 14px 35px rgba(36,99,235,.32);cursor:pointer}
.quick-ticket-fab span{font-size:19px;line-height:1}
.quick-ticket-modal{width:min(520px,100%);background:#fff}
.quick-ticket-header{margin-bottom:18px}
.quick-ticket-header h2{margin-top:4px}
.quick-ticket-form{display:grid;gap:17px}
.quick-ticket-form>label,.quick-maintenance-context>label{display:grid;grid-template-columns:1fr auto;gap:6px;color:#344157;font-size:12px;font-weight:550}
.quick-ticket-form>label>.searchable-choice,.quick-maintenance-context>label>.searchable-choice{grid-column:1/-1;width:100%}
.quick-ticket-form input,.quick-maintenance-context input{width:100%;min-height:50px}
.quick-title-control{display:grid;grid-column:1/-1;grid-template-columns:minmax(0,1fr) 50px;overflow:hidden;border:2px solid #cbd5e3;border-radius:13px;background:#fff;transition:border-color .15s,box-shadow .15s}
.quick-title-control:focus-within{border-color:#2463eb;box-shadow:0 0 0 4px rgba(36,99,235,.12)}
.quick-title-control input{min-width:0;min-height:52px;border:0;border-radius:0;padding:12px 14px;font-size:16px;box-shadow:none!important}
.quick-title-control button{display:grid;place-items:center;border:0;border-left:1px solid #e1e6ee;background:#f3f6fb;font-size:19px;cursor:pointer}
.quick-title-control button.listening{background:#fee9e7;animation:quickMicPulse 1.2s ease-in-out infinite}
.quick-voice-status{grid-column:1/-1;color:#7d899b;font-size:10px;font-weight:550}
.quick-maintenance-context{display:grid;gap:13px;border:1px solid #cbd9ed;border-radius:13px;background:#f5f8fe;padding:13px}
.quick-maintenance-context[hidden]{display:none}
.quick-default-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.quick-default-row span{color:#6b7890;font-size:10px;font-weight:550;text-transform:uppercase;letter-spacing:.05em}
.quick-default-row b{border-radius:999px;background:#e4edff;color:#234f98;padding:6px 9px;font-size:10px}
.quick-maintenance-context>small{color:#718097;font-size:10px;line-height:1.45}
.quick-create-button{min-height:50px;font-size:14px}
@keyframes quickMicPulse{50%{box-shadow:inset 0 0 0 4px rgba(211,48,48,.12)}}
@media(prefers-reduced-motion:reduce){.quick-title-control button.listening{animation:none}}
@media(max-width:760px){
  .dashboard-quick-ticket{display:none}
  .quick-ticket-fab{display:flex;right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}
  .quick-ticket-modal{width:calc(100vw - 16px);max-height:calc(100vh - 16px);border-radius:19px;padding:20px}
  .quick-ticket-header h2{font-size:27px}
  .modal-backdrop{padding:8px;overflow:hidden}
  .modal,.modal form,.modal fieldset,.modal section,.modal .panel,.modal .detail-grid,.modal .detail-main,.modal .detail-side,.modal label{min-width:0;max-width:100%}
  .modal input,.modal select,.modal textarea{width:100%;max-width:100%;font-size:16px}
  .modal textarea{resize:vertical}
  .quick-title-control input{font-size:16px}
}
/* Mobile-first To-Do home */
.todo-page{max-width:880px;margin:0 auto}.todo-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}.todo-header h1{margin:0;color:#141d2e;font-size:40px;letter-spacing:-.045em}.todo-header p:not(.eyebrow){margin:8px 0 0;color:#6b778b}.todo-header .primary-btn{min-height:44px;padding-inline:18px}.todo-sections{display:grid;gap:24px}.todo-section>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;padding:0 2px}.todo-section>header h2{margin:0;font-size:17px;color:#243047}.todo-section>header span{display:grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#e6ebf2;color:#536176;font-size:11px;font-weight:550}.todo-section.overdue>header h2{color:#b42318}.todo-section.overdue>header span{background:#fee4e2;color:#b42318}.todo-list{display:grid;gap:8px}.todo-row{display:grid;grid-template-columns:30px minmax(0,1fr) 20px;align-items:center;gap:11px;min-height:72px;padding:13px 15px;background:#fff;border:1px solid #e0e5ed;border-radius:14px;cursor:pointer;box-shadow:0 2px 5px rgba(16,24,40,.025)}.todo-row:hover{border-color:#c5cfdd;box-shadow:0 8px 20px rgba(16,24,40,.06)}.todo-section.overdue .todo-row{border-left:4px solid #e5484d}.todo-checkbox{width:28px;height:28px;display:grid;place-items:center;cursor:pointer}.todo-checkbox input{position:absolute;opacity:0;pointer-events:none}.todo-checkbox span{width:22px;height:22px;border:2px solid #aeb8c7;border-radius:7px;background:#fff}.todo-checkbox input:checked+span{background:#2463eb;border-color:#2463eb;box-shadow:inset 0 0 0 5px #2463eb}.todo-checkbox input:checked+span:after{content:'✓';display:block;color:#fff;font-size:14px;font-weight:550;line-height:18px;text-align:center}.todo-copy{min-width:0}.todo-copy h3{margin:0 0 8px;color:#1b2638;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.todo-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#718096;font-size:10px}.todo-priority{border-radius:999px;padding:4px 7px;font-weight:550;text-transform:uppercase;letter-spacing:.025em}.todo-priority.critical{background:#fee2e2;color:#b42318}.todo-priority.urgent{background:#ffedd5;color:#c2410c}.todo-priority.important{background:#fef3c7;color:#92400e}.todo-priority.routine{background:#e0f2fe;color:#075985}.todo-arrow{color:#9aa6b6;font-size:25px}.todo-row.is-complete{opacity:.62}.todo-row.is-complete h3{text-decoration:line-through}.todo-empty{padding:20px;border:1px dashed #d2d9e4;border-radius:12px;color:#8792a4;text-align:center;background:#f8fafc;font-size:12px}
.todo-attention-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 28px}.todo-attention-card{display:grid;grid-template-columns:1fr auto;gap:3px 10px;align-items:center;border:1px solid #dce3ec;border-radius:14px;background:#fff;padding:14px 15px;text-align:left;cursor:pointer}.todo-attention-card span{color:#657288;font-size:11px;font-weight:550}.todo-attention-card strong{grid-row:1/3;grid-column:2;font-size:28px;color:#1e2b3f}.todo-attention-card small{color:#8490a2;font-size:10px}.todo-attention-card.needs-attention{border-color:#edc78a;background:#fffbf2;box-shadow:inset 3px 0 0 #d58a24}.todo-attention-card.booking.needs-attention strong{color:#a65c0d}.todo-attention-card.maintenance.needs-attention strong{color:#a63b32}
.booking-request-summary{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 16px;margin-bottom:16px;border:1px solid #edc78a;border-radius:14px;background:#fffbf2;padding:15px 17px}.booking-request-summary span{color:#7a5b28;font-size:11px;font-weight:550}.booking-request-summary strong{grid-row:1/3;grid-column:2;color:#9a5b16;font-size:30px}.booking-request-summary small{color:#866e48;font-size:11px}
@media(max-width:640px){.content-shell main{padding:22px 15px 90px}.todo-header{align-items:stretch;margin-bottom:22px}.todo-header h1{font-size:34px}.todo-header>div{min-width:0}.todo-header .primary-btn{align-self:flex-end;white-space:nowrap}.todo-attention-grid{grid-template-columns:1fr 1fr;margin-bottom:24px}.todo-attention-card.booking{grid-column:1/-1}.todo-sections{gap:21px}.todo-row{min-height:68px;padding:12px 11px;grid-template-columns:28px minmax(0,1fr) 14px}.todo-copy h3{font-size:14px}.todo-meta{gap:6px}.todo-meta time{width:100%}}

/* Softer status language: card tint replaces the old coloured edge. */
.todo-section.overdue .todo-row{border-left-width:1px;border-color:#f0c3c3;background:#fff1f1}
.todo-row.priority-critical{border-color:#efc6c6;background:#fff1f1}
.todo-row.priority-urgent{border-color:#efd2b3;background:#fff6ea}
.todo-row.priority-important{border-color:#eadcae;background:#fffbea}
.todo-row.priority-routine{border-color:#cedfec;background:#f4f9fc}
.todo-row.is-complete{border-color:#d5e4dc;background:#f3faf6;opacity:.75}
.issue-card.urgency-critical,.issue-card.overdue,.message-card.urgency-critical,.attention-message-card.urgency-critical{border-left-width:1px;border-color:#efc6c6;background:#fff1f1}
.issue-card.urgency-urgent,.message-card.urgency-urgent,.attention-message-card.urgency-urgent{border-left-width:1px;border-color:#efd2b3;background:#fff6ea}
.maintenance-report-card{border-left-width:1px}
.maintenance-report-card.status-new{border-color:#efd2b3;background:#fff6ea}
.maintenance-report-card.status-in_progress{border-left-width:1px;border-color:#c8d9ec;background:#f1f7fd}
.maintenance-report-card.status-resolved{border-color:#c8dfd2;background:#f1faf5}

.todo-attention-groups{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,2fr);gap:12px;margin:0 0 28px}
.todo-view-controls{display:flex;justify-content:flex-end;margin:-4px 0 12px}.todo-view-controls label{display:flex;align-items:center;gap:7px;color:#676a64;font-size:10px;font-weight:550}.todo-view-controls select{min-height:36px;border-color:#d8d9d4;background:#fff;padding:7px 31px 7px 10px;font-size:11px;font-weight:550}.todo-attention-overview{margin:0 0 28px}.todo-attention-overview>header{margin-bottom:8px}.todo-attention-overview>header button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:14px;border:0;background:transparent;padding:3px 2px;color:#30352f;text-align:left;cursor:pointer}.todo-attention-overview>header span{display:grid;gap:2px}.todo-attention-overview>header b{font-size:12px}.todo-attention-overview>header small{color:#7a7d76;font-size:9px;font-weight:550}.todo-attention-overview>header i{color:#777b74;font-size:19px;font-style:normal;transition:transform .16s ease}.todo-attention-overview.is-collapsed>header i{transform:rotate(-90deg)}.todo-attention-overview.is-collapsed .todo-attention-body{display:none}.todo-attention-overview .todo-attention-groups{margin-bottom:0}
.todo-attention-booking,.todo-attention-maintenance{min-width:0;border:1px solid #dfe5ed;border-radius:17px;background:#f8fafc;padding:9px}
.todo-attention-maintenance{border-color:#d8e3dd;background:#f6faf7}
.todo-attention-group-label{margin:0 0 7px;padding:0 5px;color:#7a8798;font-size:9px;font-weight:550;letter-spacing:.08em;text-transform:uppercase}
.todo-attention-maintenance-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.todo-attention-card{width:100%;height:100%}
.todo-attention-card.needs-attention{box-shadow:none}
.todo-attention-card.booking.needs-attention{border-color:#efd2b3;background:#fff6ea}
.todo-attention-card.maintenance.needs-attention{border-color:#efc6c6;background:#fff1f1}

.todo-section>header{gap:10px}
.todo-section-toggle{display:flex;flex:1;min-width:0;align-items:center;justify-content:space-between;gap:12px;border:0;background:transparent;padding:4px 2px;color:inherit;text-align:left;cursor:pointer}
.todo-section-heading{display:flex!important;min-width:0!important;height:auto!important;align-items:center;gap:8px;padding:0!important;border-radius:0!important;background:transparent!important;color:inherit!important}
.todo-section-heading h2{margin:0;font-size:17px;color:#243047}
.todo-section-heading .todo-section-count{display:grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#e6ebf2;color:#536176;font-size:11px;font-weight:550}
.todo-section-chevron{display:block!important;min-width:0!important;width:auto!important;height:auto!important;padding:0!important;border-radius:0!important;background:transparent!important;color:#7b8799!important;font-size:20px!important;font-weight:550!important;line-height:1!important;transition:transform .16s ease}
.todo-section.is-collapsed .todo-section-chevron{transform:rotate(-90deg)}
.todo-loading-state{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:13px;border:1px solid #e0e5ed;border-radius:var(--cc-radius);background:#fff;padding:18px;color:#344054;box-shadow:0 3px 12px rgba(36,48,68,.04)}
.todo-loading-state .loader{width:24px;height:24px;border-width:3px}
.todo-loading-state strong{display:block;font-size:13px}.todo-loading-state p{margin:3px 0 0;color:#718096;font-size:11px}
.todo-loading-skeleton{grid-column:1/-1;display:grid;gap:8px;margin-top:3px}.todo-loading-skeleton span{display:block;height:46px;border:1px solid #edf0f4;border-radius:var(--cc-radius);background:linear-gradient(90deg,#f4f6f8 25%,#fafbfc 45%,#f4f6f8 65%);background-size:220% 100%;animation:todo-skeleton-pulse 1.35s ease-in-out infinite}
@keyframes todo-skeleton-pulse{from{background-position:100% 0}to{background-position:-100% 0}}
.todo-section.is-collapsed>header{margin-bottom:0}
.todo-section.is-collapsed .todo-section-body,.todo-section.is-collapsed .completed-heading-actions,.todo-section.is-collapsed>header>[data-hide-all-completed]{display:none}
.todo-section.overdue .todo-section-heading h2{color:#b42318}
.todo-section.overdue .todo-section-count{background:#fee4e2;color:#b42318}
.todo-section-toggle:focus-visible{outline:2px solid #2463eb;outline-offset:3px}

.todo-section>header>div:first-child{display:flex;align-items:center;gap:8px}
.completed-heading-actions{display:flex;align-items:center;gap:8px}
.secondary-btn.compact{padding:7px 10px;font-size:10px}
.completed-filters{display:grid;gap:11px;margin-bottom:14px;border:1px solid #dfe5ed;border-radius:14px;background:#f8fafc;padding:12px}
.completed-date-presets{display:flex;gap:6px;flex-wrap:wrap}
.completed-date-presets button{border:1px solid #d7dfeb;border-radius:999px;background:#fff;padding:7px 10px;color:#5f6d80;font-size:10px;font-weight:550;cursor:pointer}
.completed-date-presets button.active{border-color:#2463eb;background:#eaf1ff;color:#174cae}
.completed-filter-row,.completed-custom-range{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.completed-custom-range{grid-template-columns:repeat(2,minmax(0,1fr))}
.completed-filter-row label,.completed-custom-range label{display:grid;gap:5px;color:#677489;font-size:9px;font-weight:550;text-transform:uppercase}
.completed-filter-row select,.completed-custom-range input{width:100%;min-width:0;padding:8px 9px;font-size:11px;text-transform:none}
.completed-history{display:grid;gap:18px}
.completed-history-group>h3{display:flex;align-items:center;gap:7px;margin:0 0 8px;color:#536176;font-size:12px}
.completed-history-group>h3 span{border-radius:999px;background:#e7edf4;padding:3px 6px;font-size:9px}

@media(max-width:640px){.todo-attention-groups{grid-template-columns:1fr}.todo-attention-maintenance-cards{grid-template-columns:1fr 1fr}.todo-section.completed>header{align-items:flex-start;gap:9px}.todo-section.completed:not(.is-collapsed)>header{flex-wrap:wrap}.todo-section.completed:not(.is-collapsed) .completed-heading-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}.completed-filter-row{grid-template-columns:1fr}.completed-custom-range{grid-template-columns:1fr 1fr}}
.operations-overview{margin-top:38px;padding-top:30px;border-top:1px solid #dbe2ec}.operations-overview>header{margin-bottom:14px}.operations-overview>header h2{margin:2px 0 0;color:#1c293c;font-size:24px;letter-spacing:-.025em}.operations-overview .operations-priorities{margin-top:14px;padding:16px}.operations-overview .operations-priorities .section-heading{margin-bottom:12px}.operations-overview .priority-list{display:grid;gap:8px}.operations-overview .dashboard-data-status{margin-top:14px}
@media(max-width:640px){.operations-overview{margin-top:30px;padding-top:24px}.operations-overview>header h2{font-size:21px}.operations-overview .operations-priorities{padding:13px}.operations-overview .operations-priorities .section-heading{align-items:center}.operations-overview .operations-priorities .section-heading p{display:none}}
#scheduledTaskForm input::placeholder,#scheduledTaskForm textarea::placeholder{font-weight:400}
.scheduled-task-modal-header{align-items:center}
.scheduled-task-modal-header h2{margin:0}
.scheduled-task-modal-loading{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:13px;border:1px solid #e0e5ed;background:#fff;padding:20px;color:#344054}
.scheduled-task-modal-loading .loader{width:25px;height:25px;border-width:3px}.scheduled-task-modal-loading strong{display:block;font-size:13px}.scheduled-task-modal-loading p{margin:3px 0 0;color:#718096;font-size:11px}
.scheduled-task-form-skeleton{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:5px}.scheduled-task-form-skeleton span{height:48px;border:1px solid #edf0f4;background:linear-gradient(90deg,#f4f6f8 25%,#fafbfc 45%,#f4f6f8 65%);background-size:220% 100%;animation:todo-skeleton-pulse 1.35s ease-in-out infinite}.scheduled-task-form-skeleton span:last-child{grid-column:1/-1;height:76px}
.scheduled-task-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto}
.scheduled-task-status-control{display:flex;align-items:center;gap:8px;border:2px solid var(--swift-yellow);border-left-width:5px;border-radius:var(--cc-radius)!important;background:#fff8d8;padding:4px 5px 4px 9px;color:var(--swift-charcoal);font-size:10px;font-weight:550;text-transform:uppercase;letter-spacing:.06em;box-shadow:0 2px 8px rgba(48,48,48,.08)}
.scheduled-task-header-actions select{width:auto;min-width:132px;max-width:150px;border:1px solid #d1b332!important;background:#fff;padding:8px 32px 8px 10px;color:#252525;font-size:13px;font-weight:550;text-transform:none;letter-spacing:0}
.searchable-choice.labelled-add:not(.no-custom){grid-template-columns:minmax(0,1fr) 38px auto}.searchable-choice.labelled-add .searchable-choice-add{padding:0 10px;font-size:10px;white-space:nowrap}
.field-label-row{display:inline-flex;min-height:16px;align-items:baseline;gap:4px}.field-label-row .required-label,.field-label-row .optional-label{margin-left:0}.create-form label>.field-label-row+.searchable-choice{margin-top:0}
.gardening-embed{width:100%;height:100%;background:#f4f6f3}.gardening-embed iframe{display:block;width:100%;height:100%;border:0;background:#f4f6f3}

/* The mobile menu owns durable UI state; background page redraws must not dismiss it. */
.mobile-menu-backdrop,.mobile-menu-close{display:none}
.client-inquiry-list{display:grid;gap:12px}.client-inquiry{background:#fff;border:1px solid #dce2ea;border-radius:14px;overflow:hidden}.client-inquiry>summary{display:flex;align-items:center;gap:16px;padding:18px;cursor:pointer}.client-inquiry>summary>span:first-child{flex:1;min-width:0}.client-inquiry>summary b,.client-inquiry>summary>span>span{display:block;overflow-wrap:anywhere}.client-inquiry>summary>span>span{margin-top:5px;color:#64748b}.client-inquiry time{font-size:14px;color:#64748b}.client-inquiry-body{padding:0 18px 18px;border-top:1px solid #e4e8ef}.client-inquiry pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;max-height:420px;overflow:auto;background:#f6f7f9;padding:16px;border-radius:8px}.client-inquiry .secondary-btn{display:inline-block}.client-inquiries-page>p{color:#64748b;line-height:1.5}@media(max-width:600px){.client-inquiry>summary{flex-wrap:wrap;gap:10px}.client-inquiry>summary>span:first-child{flex-basis:100%}}
@media(max-width:760px){
  body.mobile-menu-open{overflow:hidden}
  .sidebar{z-index:42;will-change:left}
  .mobile-menu-backdrop{position:fixed;z-index:41;inset:0;display:block;border:0;background:rgba(5,12,24,.48);opacity:0;pointer-events:none;transition:opacity .2s ease;-webkit-tap-highlight-color:transparent}
  .mobile-menu-backdrop.show{opacity:1;pointer-events:auto}
  .mobile-menu-close{position:absolute;z-index:2;top:14px;right:12px;display:grid;width:36px;height:36px;place-items:center;border:0;border-radius:10px;background:#22314b;color:#fff;font-size:25px;line-height:1;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .sidebar>.brand{padding-right:40px}
  #mobileMenu{min-width:44px;min-height:44px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
}

/* Cleaner typography and a mobile-safe task form. */
:root{font-family:"Avenir Next",Avenir,"Segoe UI Variable",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
input,select,textarea{font-weight:400}
#scheduledTaskForm,#scheduledTaskForm .form-grid,#scheduledTaskForm .scheduled-repeat-grid,#scheduledTaskForm label{box-sizing:border-box;min-width:0;max-width:100%}
#scheduledTaskForm .task-due-field{inline-size:100%;width:100%;overflow:hidden;contain:inline-size}
#scheduledTaskForm .task-due-input-wrap{display:block;box-sizing:border-box;inline-size:100%;width:100%;min-inline-size:0;min-width:0;max-inline-size:100%;max-width:100%;overflow:hidden}
#scheduledTaskForm input[type="datetime-local"]{display:block;box-sizing:border-box;inline-size:100%!important;width:100%!important;min-inline-size:0!important;min-width:0!important;max-inline-size:100%!important;max-width:100%!important;overflow:hidden;-webkit-appearance:none;appearance:none}
#scheduledTaskForm .task-email-toggle{display:flex;align-items:flex-start;flex-direction:row;gap:11px;margin:14px 0 16px;border:1px solid #dce4ee;border-radius:12px;background:#f7f9fc;padding:12px 13px;cursor:pointer}
#scheduledTaskForm>.full+.full{margin-top:10px}
#scheduledTaskForm .task-email-toggle input{flex:0 0 20px;width:20px;height:20px;margin:1px 0 0;padding:0;accent-color:#2463eb}
.task-email-toggle>span{display:grid;gap:3px;min-width:0}
.task-email-toggle b{color:#2e3b4f;font-size:12px;font-weight:550}
.task-email-toggle small{color:#728095;font-size:10px;font-weight:400;line-height:1.45}
@media(max-width:760px){
  .scheduled-task-modal-header{gap:10px}
  .scheduled-task-modal-header h2{font-size:22px}
  .scheduled-task-form-skeleton{grid-template-columns:1fr}.scheduled-task-form-skeleton span:last-child{grid-column:auto}
  .scheduled-task-header-actions{gap:7px}
  .scheduled-task-status-control{gap:5px;padding-left:7px}
  .scheduled-task-header-actions select{min-width:100px;max-width:112px;padding-left:8px}
  #scheduledTaskForm .scheduled-repeat-grid{grid-template-columns:minmax(0,1fr)}
  #scheduledTaskForm .scheduled-repeat-grid>label{grid-column:1/-1;overflow:hidden}
  #scheduledTaskForm input[type="datetime-local"]{-webkit-min-logical-width:0;font-size:16px}
}

.priority-reminder-list{display:grid;gap:10px}
.priority-reminder-row{display:grid;grid-template-columns:minmax(90px,1fr) auto 90px 120px;align-items:center;gap:10px;border:1px solid #e1e6ed;border-radius:10px;padding:10px 12px;background:#fff}
.priority-reminder-row strong{color:#283548;font-size:13px}
.priority-reminder-row>span{color:#718096;font-size:12px}
.priority-reminder-row input,.priority-reminder-row select{min-width:0;width:100%}
.task-priority-reminder-settings-card form{display:grid;gap:14px}
.todo-quiet-hours-settings-card form{display:grid;gap:14px}
.quiet-hours-toggle{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:11px;border:1px solid #e1e6ed;border-radius:10px;background:#fff;padding:12px;cursor:pointer}
.quiet-hours-toggle input{flex:0 0 20px;width:20px;height:20px;margin:1px 0 0;padding:0;accent-color:var(--swift-yellow,#ffca00)}
.quiet-hours-toggle span{display:grid;gap:2px}.quiet-hours-toggle b{color:#283548;font-size:13px}.quiet-hours-toggle small{color:#718096;font-size:11px;font-weight:400}
.quiet-hours-time-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quiet-hours-time-grid input{width:100%;min-width:0}
@media(max-width:620px){
  .priority-reminder-row{grid-template-columns:minmax(80px,1fr) auto 74px minmax(90px,1fr);gap:7px;padding:9px}
  .quiet-hours-time-grid{grid-template-columns:1fr}
}
/* Swift Property Group brand system */
:root{--swift-yellow:#ffca00;--swift-charcoal:#383838;--swift-cream:#f9f9f7;--swift-ink:#202020}
body{font-family:Poppins,"Avenir Next",Avenir,Inter,system-ui,sans-serif;background:var(--swift-cream);color:var(--swift-ink)}
.sidebar{background:var(--swift-charcoal)}
.sidebar .brand,.sidebar .nav-item,.sidebar .nav-finance summary{color:#fff}
.sidebar .nav-item.active{background:var(--swift-yellow);color:var(--swift-charcoal);box-shadow:none}
.sidebar .nav-item:hover,.sidebar .nav-finance summary:hover{background:rgba(255,202,0,.16)}
.sidebar .nav-item.active:hover{background:var(--swift-yellow)}
.logo{background:var(--swift-yellow);color:var(--swift-charcoal)}
.logo.custom-logo{padding:3px;overflow:hidden;background:#fff}
.logo.custom-logo img{display:block;width:100%;height:100%;object-fit:contain}
.primary-btn{background:var(--swift-yellow);border-color:var(--swift-yellow);color:var(--swift-charcoal);font-weight:550}
.primary-btn:hover{background:#e7b700;border-color:#e7b700}
.page-title .eyebrow,.eyebrow{color:#7a6100}
.content-shell main{background:var(--swift-cream)}
.task-due-field{min-width:0}
.task-due-field input{width:100%;max-width:100%;box-sizing:border-box;min-width:0}
.task-due-presets{display:flex;flex-wrap:wrap;gap:8px;margin:-2px 0 4px}
.task-due-presets button{border:1px solid #d8d5ca;background:#fff;border-radius:999px;padding:8px 12px;color:var(--swift-charcoal);font:inherit;font-size:.82rem;cursor:pointer}
.task-due-presets button:hover,.task-due-presets button:focus-visible{border-color:var(--swift-yellow);background:#fff9db;outline:none}
.branding-logo-preview{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid #e1ded4;border-radius:14px;background:#fff}
.branding-logo-preview .logo{width:70px;height:54px;border-radius:10px}
.branding-logo-preview span{color:#5d5b55;font-size:.9rem}
.branding-actions{display:flex;gap:10px;flex-wrap:wrap}
.danger-outline-btn{border:1px solid #c74848;background:#fff;color:#a72828;border-radius:10px;padding:10px 14px;font:inherit;font-weight:550;cursor:pointer}
@media(max-width:700px){.scheduled-repeat-grid{grid-template-columns:minmax(0,1fr)}.task-due-presets{margin-top:0}.task-due-presets button{flex:1 1 calc(50% - 8px)}}

/* Square, Jira-inspired visual language. Status is shown by a bottom edge, not a tinted cell. */
button,input,select,textarea,.logo,.modal,.panel,.detail-side,.issue-card,.message-card,.attention-message-card,.scheduled-task-card,.todo-row,.todo-empty,.todo-attention-booking,.todo-attention-maintenance,.todo-attention-card,.completed-filters,.maintenance-report-card,.maintenance-summary>div,.booking-request-summary,.settings-card,.queue-section,.empty-state,.placeholder-card,.quick-links,.quick-links-grid a,.note-card,.request-card,.task-reminder-panel,.cleaning-task-card,.cleaning-day-section,.contract-card,.email-triage-card,.email-connect-card,.branding-logo-preview,.task-email-toggle,.badge,.count-pill,.heading-count,.todo-priority,.task-status,.maintenance-status-pill,.request-status,.completed-date-presets button{border-radius:0!important}

.todo-attention-booking{overflow:hidden}
.todo-attention-booking .todo-attention-card{min-width:0;max-width:100%;overflow:hidden}
.todo-attention-card span,.todo-attention-card small{min-width:0;overflow-wrap:anywhere}

.todo-row{position:relative;overflow:visible;border:1px solid #e0e5ed!important;background:#fff!important}
.todo-section.overdue .todo-row{border:1px solid #e0e5ed!important;background:#fff!important}
.todo-row::after{content:"";position:absolute;right:0;bottom:0;left:0;height:4px;background:#83a9c1}
.todo-row.priority-important::after{background:#d0a91c}
.todo-row.priority-urgent::after{background:#e17824}
.todo-row.priority-critical::after,.todo-section.overdue .todo-row::after{background:#d84c4c}
.todo-row.is-complete{border-color:#dbe3df!important;background:#fff!important}
.todo-row.is-complete::after{background:#4c9b70}

.issue-card,.message-card,.attention-message-card{border-left-width:1px!important;background:#fff!important}
.issue-card.urgency-urgent,.message-card.urgency-urgent,.attention-message-card.urgency-urgent{border-color:#e1e6ef!important;border-bottom:4px solid #e17824!important;background:#fff!important}
.issue-card.urgency-critical,.issue-card.overdue,.message-card.urgency-critical,.attention-message-card.urgency-critical{border-color:#e1e6ef!important;border-bottom:4px solid #d84c4c!important;background:#fff!important}
.maintenance-report-card{border-left-width:1px!important;background:#fff!important}
.maintenance-report-card.status-new{border-color:#dfe5ed!important;border-bottom:4px solid #e17824!important;background:#fff!important}
.maintenance-report-card.status-in_progress{border-color:#dfe5ed!important;border-bottom:4px solid #4b83c5!important;background:#fff!important}
.maintenance-report-card.status-resolved{border-color:#dfe5ed!important;border-bottom:4px solid #4c9b70!important;background:#fff!important}
.todo-attention-card.needs-attention,.todo-attention-card.booking.needs-attention,.todo-attention-card.maintenance.needs-attention{border-color:#dce3ec;background:#fff;box-shadow:none}
.todo-attention-card.booking.needs-attention{border-bottom:4px solid #d39a20}
.todo-attention-card.maintenance.needs-attention{border-bottom:4px solid #d84c4c}

/* Refined version: modest corners, left-edge status and balanced group padding. */
button,input,select,textarea,.logo,.modal,.panel,.detail-side,.issue-card,.message-card,.attention-message-card,.scheduled-task-card,.todo-row,.todo-empty,.todo-attention-booking,.todo-attention-maintenance,.todo-attention-card,.completed-filters,.maintenance-report-card,.maintenance-summary>div,.booking-request-summary,.settings-card,.queue-section,.empty-state,.placeholder-card,.quick-links,.quick-links-grid a,.note-card,.request-card,.task-reminder-panel,.cleaning-task-card,.cleaning-day-section,.contract-card,.email-triage-card,.email-connect-card,.branding-logo-preview,.task-email-toggle{border-radius:6px!important}
.badge,.count-pill,.heading-count,.todo-priority,.task-status,.maintenance-status-pill,.request-status,.completed-date-presets button{border-radius:5px!important}

.todo-attention-booking{display:grid;grid-template-rows:auto minmax(0,1fr);padding:9px!important;overflow:hidden}
.todo-attention-booking .todo-attention-card{height:100%;min-height:0;margin:0}

.todo-row::after{top:0;right:auto;bottom:0;left:0;width:4px;height:auto}
.issue-card.urgency-urgent,.message-card.urgency-urgent,.attention-message-card.urgency-urgent{border-bottom:1px solid #e1e6ef!important;border-left:4px solid #e17824!important}
.issue-card.urgency-critical,.issue-card.overdue,.message-card.urgency-critical,.attention-message-card.urgency-critical{border-bottom:1px solid #e1e6ef!important;border-left:4px solid #d84c4c!important}
.maintenance-report-card.status-new{border-bottom:1px solid #dfe5ed!important;border-left:4px solid #e17824!important}
.maintenance-report-card.status-in_progress{border-bottom:1px solid #dfe5ed!important;border-left:4px solid #4b83c5!important}
.maintenance-report-card.status-resolved{border-bottom:1px solid #dfe5ed!important;border-left:4px solid #4c9b70!important}
.todo-attention-card.booking.needs-attention{border-bottom:1px solid #dce3ec;border-left:4px solid #d39a20}
.todo-attention-card.maintenance.needs-attention{border-bottom:1px solid #dce3ec;border-left:4px solid #d84c4c}

/* Command Centre design system — shared by every native module. */
:root{--cc-radius:6px;--cc-radius-small:5px;--cc-border:#dfe5ed;--cc-surface:#fff;--cc-hover:#fff9df;--cc-selected:#fff4bd;--cc-muted-surface:#f8fafc}
button,input,select,textarea{border-radius:var(--cc-radius)!important;transition:border-color .15s ease,background-color .15s ease,color .15s ease,box-shadow .15s ease}
input:focus,select:focus,textarea:focus{border-color:#c7a900!important;outline:3px solid rgba(255,202,0,.16)}
.secondary-btn:hover,.text-btn:hover,.dismiss-btn:hover,.danger-outline-btn:hover{border-color:#d0b33b;background:var(--cc-hover);color:#3d3400}
.nav-item,.nav-finance,.nav-finance>summary,.mobile-menu-close{border-radius:var(--cc-radius)!important}
.nav-item:hover,.nav-finance>summary:hover,.nav-finance[open]>summary{background:rgba(255,202,0,.15);color:#fff}
.nav-item.active,.nav-item.active:hover{background:var(--swift-yellow);color:var(--swift-charcoal)}
.priority-panel,.attention-panel,.modules-section,.dashboard-workbench .priority-panel,.dashboard-workbench .guest-attention-panel,.guest-maintenance-reports,.maintenance-share-note,.maintenance-summary>div,.maintenance-report-card,.email-connect-card,.email-triage-card,.booking-request-summary,.settings-card,.email-notification-option,.notification-status,.quick-links,.quick-links-grid a,.notes-compose,.request-compose,.note-card,.request-card,.projects-notes-shortcut>button,.contract-card,.queue-section,.scheduled-task-card,.task-reminder-panel,.panel,.detail-side,.modal{border-radius:var(--cc-radius)!important}
.badge,.operation-badge,.count-pill,.heading-count,.todo-priority,.task-status,.maintenance-status-pill,.request-status,.email-priority,.email-category,.cleaning-flag{border-radius:var(--cc-radius-small)!important}
.issue-card:hover,.email-triage-card:hover,.maintenance-report-card:hover,.quick-links-grid a:hover,.note-card:hover,.request-card:hover,.projects-notes-shortcut>button:hover{border-color:#d0b33b;background:var(--cc-hover)!important;box-shadow:0 5px 16px rgba(25,32,45,.07);transform:none}
.email-triage-card{border-left:4px solid #d39a20;background:var(--cc-surface)}
.email-visibility-card{gap:10px}.email-visibility-card header{align-items:flex-start}.email-visibility-card header .email-sender{margin:0;color:#536176;font-size:12px;font-weight:550;overflow-wrap:anywhere}.email-visibility-card time{display:grid;flex:0 0 auto;gap:2px;text-align:right}.email-visibility-card time span{color:#596579;font-size:10px;font-weight:550}.email-visibility-card time small{color:#8a93a0;font-size:9px}.email-visibility-card h2{margin:3px 0 2px}.email-visibility-preview{display:-webkit-box;overflow:hidden;margin:0;color:#5f6b7b;font-size:11px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:3}.email-visibility-card .email-card-actions{justify-content:flex-start}.email-visibility-card .email-card-action{display:inline-flex;min-height:36px;align-items:center;justify-content:center;border-width:1px;padding:8px 12px;font-size:11px;font-weight:550;line-height:1.2}.email-visibility-card .email-card-actions a{text-decoration:none}.email-window-note{margin:-2px 0 14px;color:#737d8b;font-size:10px}.email-loading-state{min-height:180px}.email-loading-state .loader{margin:0 0 4px}
@media(max-width:520px){.email-visibility-card header{display:grid;gap:5px}.email-visibility-card time{text-align:left}.email-visibility-card .email-card-actions{display:grid;grid-template-columns:1fr 1fr}.email-visibility-card .email-card-actions>*{justify-content:center;width:100%}}
.settings-card,.email-notification-option{background:var(--cc-surface)}
.email-notification-option{border-color:var(--cc-border)}

.email-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.booking-window-control{display:flex;align-items:center;gap:7px;border:1px solid #ded8c5;border-radius:var(--cc-radius);background:#fff;padding:6px 8px 6px 11px;color:#625f55;font-size:11px;font-weight:550}.booking-window-control input{width:62px;min-height:34px;padding:6px 7px;text-align:center;font-weight:550}.booking-window-control:focus-within{border-color:#c7a900;box-shadow:0 0 0 3px rgba(255,202,0,.13)}
@media(max-width:720px){.email-page-actions{align-items:stretch;flex-direction:column}.booking-window-control{justify-content:space-between}.booking-window-control input{margin-left:auto}.email-page-actions .secondary-btn{width:100%}.mobile-header .command-centre-brand{min-width:0;min-height:0;width:auto;max-width:calc(100% - 52px);flex:1;overflow:visible}.mobile-logo-frame{display:flex;align-items:center;justify-content:flex-start;width:min(160px,calc(100vw - 92px));height:56px;padding:4px 0;overflow:visible}.mobile-logo-frame .logo.custom-logo{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;flex:0 1 160px;overflow:visible!important}.mobile-logo-frame .logo.custom-logo img{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain!important;object-position:left center}.mobile-logo-frame .logo:not(.custom-logo){width:38px;height:38px;flex:0 0 38px}.mobile-header>button{flex:0 0 40px;margin-left:8px}}

/* Cancellation calculator */
.cancellation-page{width:min(1120px,100%);margin:0 auto;padding-bottom:60px}.cancellation-title{margin-bottom:22px}.cancellation-title>div{max-width:760px}.cancellation-search-card,.cancellation-selected-card,.cancellation-form,.cancellation-outcome{border:1px solid #ded8c5;border-radius:var(--cc-radius);background:#fff;box-shadow:0 5px 18px rgba(45,43,34,.055)}.cancellation-search-card,.cancellation-selected-card,.cancellation-form{margin-bottom:18px;padding:22px}.cancellation-search-card label,.cancellation-form label,.cancellation-fee-row label{display:grid;gap:7px;color:#3f403b;font-size:11px;font-weight:550}.cancellation-search-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;margin-top:7px}.cancellation-search-control input{min-height:45px}.cancellation-results{display:grid;gap:8px;max-height:370px;margin-top:14px;overflow:auto}.cancellation-results>button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;width:100%;border:1px solid #e2dfd4;border-radius:var(--cc-radius-small);background:#faf9f5;padding:13px 14px;color:#33352f;text-align:left;cursor:pointer}.cancellation-results>button:hover,.cancellation-results>button:focus-visible{border-color:#c7a900;background:#fffdf0;outline:3px solid rgba(255,202,0,.13)}.cancellation-results>button>span{display:grid;gap:4px;min-width:0}.cancellation-results>button>span:last-child{text-align:right}.cancellation-results strong{font-size:14px}.cancellation-results b{color:#75630a;font-size:11px}.cancellation-results small{color:#74766f;font-size:10px;overflow-wrap:anywhere}.cancellation-search-state{display:grid;place-items:center;gap:8px;margin-top:14px;border:1px dashed #d9d5c8;background:#faf9f5;padding:24px;color:#6f706a;text-align:center}.cancellation-inline-error{margin:12px 0;border-left:4px solid #bf3c32;background:#fff1ee;padding:11px 13px;color:#8e2822;font-size:12px;font-weight:550}.cancellation-selected-heading,.cancellation-section-heading,.cancellation-result-header,.cancellation-email-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.cancellation-selected-heading h2,.cancellation-section-heading h2,.cancellation-result-header h2{margin:5px 0 0;font-size:20px}.cancellation-selected-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 22px;margin:20px 0}.cancellation-selected-card dl div{display:grid;gap:4px}.cancellation-selected-card dt{color:#77786f;font-size:10px;font-weight:550;text-transform:uppercase}.cancellation-selected-card dd{margin:0;color:#343630;font-size:12px;font-weight:550;overflow-wrap:anywhere}.cancellation-extracted{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e1ddd0;background:#faf9f4}.cancellation-extracted>div{display:grid;gap:5px;padding:15px;border-right:1px solid #e1ddd0}.cancellation-extracted>div:last-child{border:0}.cancellation-extracted span{color:#73746c;font-size:10px;font-weight:550}.cancellation-extracted strong{font-size:19px}.cancellation-extracted small{color:#85867e;font-size:9px}.cancellation-payment-warning{margin:13px 0 0;border-left:3px solid #c7a900;background:#fffbed;padding:10px 12px;color:#665d2c;font-size:11px;line-height:1.5}.cancellation-section-heading>span,.cancellation-result-header>span{border:1px solid #ded8c5;background:#f8f5e9;padding:6px 8px;color:#6a6040;font-size:10px;font-weight:550}.cancellation-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.cancellation-form input,.cancellation-form select{width:100%;min-height:44px}.cancellation-form label>small{color:#7b7c75;font-size:9px;font-weight:500}.money-field{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;border:1px solid #d7d4c9;background:#fff}.money-field b{display:grid;place-items:center;height:100%;border-right:1px solid #e3dfd2;color:#6a6040}.money-field input{border:0!important;box-shadow:none!important}.cancellation-outcome{overflow:hidden}.cancellation-result-header{padding:22px}.cancellation-money-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #e2ded1;border-bottom:1px solid #e2ded1}.cancellation-money-grid article{display:grid;gap:6px;padding:22px}.cancellation-money-grid article:first-child{border-right:1px solid #e2ded1}.cancellation-money-grid .refund{background:#edf8f1}.cancellation-money-grid .retained{background:#fff8e6}.cancellation-money-grid span{color:#62665f;font-size:11px;font-weight:550}.cancellation-money-grid strong{color:#283229;font-size:30px;letter-spacing:-.03em}.cancellation-money-grid small{color:#73776f;font-size:10px}.cancellation-breakdown,.cancellation-manual-fees,.cancellation-email{padding:22px;border-bottom:1px solid #e2ded1}.cancellation-email{border-bottom:0}.cancellation-breakdown h3,.cancellation-manual-fees h3,.cancellation-email h3{margin:0 0 7px;font-size:16px}.cancellation-breakdown p,.cancellation-manual-fees>div>p,.cancellation-email-heading p{margin:0;color:#686a64;font-size:11px;line-height:1.55}.cancellation-breakdown ol{display:grid;gap:8px;margin:16px 0 0;padding-left:20px;color:#444640;font-size:12px;line-height:1.45}.cancellation-fee-row{display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:end;gap:20px;margin-top:14px;border:1px solid #e2ded2;background:#faf9f5;padding:13px}.cancellation-fee-row>div{display:grid;gap:4px}.cancellation-fee-row span{color:#73746d;font-size:10px;font-weight:550}.cancellation-fee-row strong{font-size:20px}.cancellation-fee-row select{min-height:40px}.cancellation-pending-fees{display:flex;justify-content:space-between;gap:14px;margin-top:14px;border-left:4px solid #c7a900;background:#fffbed;padding:12px}.cancellation-pending-fees b,.cancellation-pending-fees span{font-size:11px}.cancellation-final-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.cancellation-final-totals>div{display:grid;gap:5px;border:1px solid #d9decf;background:#f4f8ef;padding:14px}.cancellation-final-totals span{color:#666b61;font-size:10px;font-weight:550}.cancellation-final-totals strong{font-size:21px}.cancellation-email-heading{align-items:center;margin-bottom:13px}.cancellation-email textarea{width:100%;min-height:340px;border:1px solid #d8d5ca;background:#faf9f5;padding:15px;color:#343630;font:inherit;font-size:12px;line-height:1.55;resize:vertical}.cancellation-copy-notice{margin-bottom:10px;background:#edf8f1;padding:9px 11px;color:#28613c;font-size:11px;font-weight:550}
@media(max-width:720px){.cancellation-page{padding-bottom:35px}.cancellation-search-card,.cancellation-selected-card,.cancellation-form,.cancellation-result-header,.cancellation-breakdown,.cancellation-manual-fees,.cancellation-email{padding:16px}.cancellation-search-control,.cancellation-form-grid,.cancellation-money-grid,.cancellation-extracted,.cancellation-final-totals{grid-template-columns:1fr}.cancellation-search-control .primary-btn{width:100%}.cancellation-results>button{grid-template-columns:1fr;gap:9px}.cancellation-results>button>span:last-child{text-align:left}.cancellation-selected-card dl{grid-template-columns:1fr}.cancellation-extracted>div,.cancellation-money-grid article:first-child{border-right:0;border-bottom:1px solid #e1ddd0}.cancellation-fee-row{grid-template-columns:1fr;gap:10px}.cancellation-pending-fees,.cancellation-email-heading{align-items:stretch;flex-direction:column}.cancellation-email-heading .secondary-btn{width:100%}.cancellation-money-grid strong{font-size:26px}}

/* Cancellation refund emphasis, aligned inputs and direct email delivery */
.cancellation-form-grid{align-items:start}.cancellation-form-grid>label{grid-template-rows:auto 44px auto}.cancellation-field-label{min-height:18px}.money-field{min-height:44px}.cancellation-money-grid{grid-template-columns:minmax(0,1.45fr) minmax(220px,.55fr);border-top-color:#d8e8dc}.cancellation-money-grid .refund{border-left:6px solid #2f8a50;background:#e5f6eb;padding:25px 26px}.cancellation-money-grid .refund span{color:#28613c;font-size:12px}.cancellation-money-grid .refund strong{font-size:38px}.cancellation-money-grid .retained{background:#faf9f5;padding:20px 22px}.cancellation-money-grid .retained strong{color:#5e615b;font-size:23px}.cancellation-final-totals{grid-template-columns:minmax(0,1.35fr) minmax(220px,.65fr)}.cancellation-final-totals>div{background:#f7f7f3}.cancellation-final-totals>div:first-child{border-left:5px solid #2f8a50;background:#edf8f1}.cancellation-final-totals>div:first-child strong{font-size:25px}.cancellation-email-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;margin:15px 0}.cancellation-email-fields label,.cancellation-cc-field{display:grid;align-content:start;gap:7px;color:#3f403b;font-size:11px;font-weight:550}.cancellation-email-fields>label:not(.full){grid-template-rows:auto 42px}.cancellation-email-fields .full{grid-column:1/-1}.cancellation-email-fields input{width:100%;height:42px;min-height:42px;padding:10px 11px;font-size:13px;line-height:20px}.cancellation-cc-field>span small{color:#777b74;font-weight:550}.cancellation-recipient-list{display:grid;gap:7px}.cancellation-recipient-row{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:7px}.cancellation-recipient-row.single{grid-template-columns:minmax(0,1fr)}.cancellation-recipient-row .icon-btn{width:40px;height:42px;color:#9b3a33}.cancellation-add-cc{justify-self:start;padding:3px 0!important;font-size:11px}.cancellation-email textarea{font-size:13px}.cancellation-email-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}.cancellation-send-notice{margin-bottom:10px;background:#edf8f1;padding:9px 11px;color:#28613c;font-size:11px;font-weight:550}
@media(max-width:720px){.cancellation-money-grid,.cancellation-final-totals,.cancellation-email-fields{grid-template-columns:1fr}.cancellation-money-grid .refund strong{font-size:32px}.cancellation-email-fields .full{grid-column:auto}.cancellation-email-fields input,.cancellation-email textarea{font-size:16px}.cancellation-email-actions{align-items:stretch;flex-direction:column-reverse}.cancellation-email-actions button{width:100%}}

.generated-contract-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}.generated-contract-actions .danger-link{width:auto;margin:0;padding:8px 4px;font-size:10px}
@media(max-width:700px){.generated-contract-actions{display:grid;grid-template-columns:1fr auto}.generated-contract-actions .secondary-btn{width:100%}}

/* SPG brand polish: quieter canvas, yellow shell controls and logo-safe surfaces. */
:root{--swift-cream:#fcfcfa;--swift-charcoal:#383838;--swift-yellow:#ffca00;--swift-yellow-soft:#fff7cf}
html,body{background:var(--swift-cream)}
.content-shell main{background:var(--swift-cream)}
.mobile-header{background:var(--swift-charcoal)!important}
.todo-header{align-items:center;margin-bottom:18px}
.todo-header-actions{display:flex;align-items:center;gap:8px}.todo-header-actions .icon-only{width:42px;min-width:42px;padding:8px;font-size:18px}
.todo-search{display:grid;grid-template-columns:auto minmax(0,1fr) 34px;align-items:center;gap:8px;margin:-6px 0 16px;border:1px solid #d8d9d4;border-radius:var(--cc-radius);background:#fff;padding:6px 7px 6px 12px;box-shadow:0 3px 12px rgba(45,43,34,.045)}.todo-search>span{color:#73756f;font-size:18px}.todo-search input{width:100%;min-width:0;border:0!important;background:transparent!important;padding:7px 0!important;box-shadow:none!important;font-size:14px}.todo-search button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:var(--cc-radius-small);background:#f1f2ef;color:#666963;font-size:21px;cursor:pointer}.todo-search-toggle[aria-expanded="true"]{border-color:#c7a900!important;background:var(--swift-yellow-soft)!important;color:#4b421a!important}
.receipt-booking-field{display:grid;gap:7px}.receipt-booking-field label{display:grid;gap:7px}.receipt-booking-selected{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #d9e2d5;border-left:4px solid #5a8b65;background:#f3f8f2;padding:10px 12px}.receipt-booking-selected>div{display:grid;gap:3px}.receipt-booking-selected span,.receipt-booking-selected small{color:#687168;font-size:10px}.receipt-booking-results{display:grid;gap:6px;max-height:220px;overflow:auto}.receipt-booking-results button{display:grid;gap:3px;width:100%;border:1px solid #dedfd9;background:#fff;padding:10px 11px;color:#343630;text-align:left;cursor:pointer}.receipt-booking-results button:hover,.receipt-booking-results button:focus-visible{border-color:#c7a900;background:#fffdf0}.receipt-booking-results span,.receipt-booking-results small{color:#70726c;font-size:10px}.receipt-booking-error{color:#a23b32}.receipt-notes{margin:4px 0 0;border-left:3px solid #d9d3bd;background:#faf9f5;padding:7px 9px;color:#62645e;font-size:10px;line-height:1.45;white-space:pre-wrap}.receipt-booking{color:#506c56!important;font-weight:550}
.task-subtasks{margin:7px 8px 0 42px;border-left:2px solid #e2e6eb;padding-left:10px}.task-subtasks summary{width:max-content;cursor:pointer;color:#6b7280;font-size:11px;font-weight:550;list-style:none;padding:4px}.task-subtasks summary::-webkit-details-marker{display:none}.task-subtasks summary span{display:inline-block;transition:transform .15s ease}.task-subtasks[open] summary span{transform:rotate(180deg)}.task-subtasks>div{display:flex;gap:8px;overflow-x:auto;padding:6px 2px 4px}.task-subtasks.vertical>div{display:grid;overflow:visible}.scheduled-subtask-card{display:grid;grid-template-columns:25px minmax(130px,1fr) 28px;align-items:center;gap:7px;min-width:220px;border:1px solid #dfe4ea;border-radius:6px;background:#fff;padding:8px}.scheduled-subtask-card.is-complete{opacity:.62}.scheduled-subtask-card.is-complete strong{text-decoration:line-through}.scheduled-subtask-card small{display:block;margin-top:3px;color:#7a8492;font-size:9px}.subtask-check{border:0;background:transparent;padding:2px;color:#1f7a55;font-size:19px}.task-subtasks.vertical .scheduled-subtask-card{min-width:0}.scheduled-task-family{min-width:0}.scheduled-task-family+.scheduled-task-family{margin-top:11px}
.update-notes-page{max-width:900px;margin:0 auto}.update-notes-page form{display:grid;gap:12px;border:1px solid #dedede;border-radius:6px;background:#fff;padding:18px}.update-notes-page textarea{min-height:520px;resize:vertical;line-height:1.6}.update-notes-page form>footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.update-notes-page form>footer>span{color:#748095;font-size:9px;font-weight:550}.update-notes-page form>footer>div{display:flex;gap:8px}.update-notes-loading{display:flex;align-items:center;justify-content:center;gap:13px;min-height:320px;border:1px solid #dedede;border-radius:6px;background:#fff;color:#5f6e82}.update-notes-loading .loader{margin:0}.update-notes-loading b{font-size:12px}.update-notes-loading p{margin:3px 0 0;color:#7b8798;font-size:9px}@media(max-width:650px){.update-notes-page form>footer{align-items:stretch;flex-direction:column}.update-notes-page form>footer>div{display:grid;grid-template-columns:1fr}.update-notes-page form>footer button{width:100%}}
.todo-header p{display:none}
.todo-attention-card{grid-template-rows:auto;gap:8px 10px;padding-block:12px}
.todo-attention-card strong{grid-row:auto;grid-column:2}
.todo-attention-card small{display:none}
@media(max-width:640px){
  .task-subtasks{margin-left:18px}.todo-header-actions{flex-shrink:0;gap:6px}.todo-header-actions .primary-btn{padding-inline:10px}.todo-header-actions .icon-only{width:38px;min-width:38px}.todo-search{margin-top:-4px}
  .content-shell main{padding-top:18px}
  .todo-header{align-items:center;margin-bottom:16px}
  .todo-header h1{font-size:32px}
  .todo-header .primary-btn{align-self:center;min-height:40px;padding:8px 13px}
  .todo-attention-groups{margin-bottom:22px}
}
.auth-screen,.loading-screen{background:radial-gradient(circle at 18% 8%,rgba(255,202,0,.055) 0,transparent 31%),var(--swift-cream)}
.logo.custom-logo{overflow:hidden;background:transparent!important;padding:0!important}
.logo.custom-logo img{display:block;width:100%;height:100%;object-fit:contain}
.logo-loading-placeholder{opacity:0}
.brand-logo-stage{display:grid;place-items:center;flex:0 0 auto;width:52px;height:52px;border:1px solid rgba(255,202,0,.32);border-radius:var(--cc-radius);background:var(--swift-charcoal);padding:7px}
.brand-logo-stage .logo{width:100%;height:100%;margin:0;border-radius:4px!important}
.sidebar-command-centre-brand{min-width:0;overflow:visible}
.sidebar-logo-frame{display:flex;align-items:center;justify-content:center;width:100%;height:76px;padding:3px 0;overflow:visible}
.sidebar-logo-frame .logo.custom-logo{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;overflow:visible!important}
.sidebar-logo-frame .logo.custom-logo img{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center center}
.sidebar-logo-frame .logo:not(.custom-logo){width:52px;height:52px;flex:0 0 52px}
.auth-brand .brand-logo-stage{width:54px;height:54px}
.auth-brand .logo{background:var(--swift-yellow);color:var(--swift-charcoal)}
.branding-logo-preview{background:#fff}
.branding-logo-stage{width:148px;height:66px;padding:9px 12px}
.branding-logo-preview .branding-logo-stage .logo{width:100%;height:100%}
.loading-screen{grid-template-rows:auto auto auto;align-content:center;gap:15px;color:#68665e}

/* Owner-configurable navigation layout. */
.menu-layout-settings-card{grid-column:1/-1}.menu-group-editor,.menu-item-editor{display:grid;gap:9px}.menu-layout-settings-card h3{margin:0;color:#344157;font-size:12px}.menu-group-editor>div,.menu-item-editor>div{display:grid;gap:7px}.menu-group-editor-row{display:grid;grid-template-columns:56px minmax(150px,1fr) auto;align-items:center;gap:8px}.menu-group-editor-row input:first-child,.menu-group-add input:first-child{padding-inline:7px;text-align:center}.menu-group-add{display:grid!important;grid-template-columns:56px minmax(150px,1fr) auto;align-items:center;gap:8px;margin-top:2px;border-top:1px solid #e7ebf1;padding-top:10px}.menu-item-editor-row{display:grid;grid-template-columns:28px minmax(150px,1fr) minmax(170px,.7fr) auto;align-items:center;gap:9px;border:1px solid #e1e6ed;border-radius:6px;background:#f8fafc;padding:8px 9px}.menu-item-editor-row>span{text-align:center}.menu-item-editor-row>b{color:#2d3b50;font-size:12px}.menu-item-editor-row select{width:100%;min-width:0}.menu-item-editor-row>div{display:flex;gap:5px}.menu-item-editor-row .icon-btn{width:34px;height:34px;font-size:16px}.menu-layout-empty{margin:0;color:#7b8798;font-size:11px}
@media(max-width:700px){.menu-group-editor-row,.menu-group-add{grid-template-columns:48px minmax(0,1fr) auto}.menu-group-editor-row .danger-outline-btn{padding-inline:9px}.menu-item-editor-row{grid-template-columns:26px minmax(0,1fr) auto}.menu-item-editor-row select{grid-column:2/-1;grid-row:2}.menu-item-editor-row>div{grid-column:3;grid-row:1}}
.menu-item-editor-row{transition:margin .15s ease,width .15s ease}.menu-item-editor-row.is-submenu-item{width:calc(100% - 28px);margin-left:28px;border-left:4px solid #c7a900;background:#fffdf2}.menu-item-editor-row.is-submenu-item>b:after{content:attr(data-submenu-label);display:block;margin-top:3px;color:#8a7410;font-size:9px;font-weight:550}@media(max-width:700px){.menu-item-editor-row.is-submenu-item{width:calc(100% - 16px);margin-left:16px}}
.receipt-absorbed-toggle{display:flex!important;align-items:flex-start;gap:11px;padding:13px 14px;border:1px solid #dce2ea;border-radius:8px;background:#f8fafc;cursor:pointer}.receipt-absorbed-toggle input{width:19px!important;height:19px!important;min-height:0!important;margin:1px 0 0;accent-color:#d5ad00}.receipt-absorbed-toggle span{display:grid;gap:3px}.receipt-absorbed-toggle b{color:#29374c;font-size:13px}.receipt-absorbed-toggle small{color:#697589;font-size:11px;line-height:1.45}.optional-label{margin-left:5px;color:#8a7410;font-size:10px;font-weight:550;text-transform:uppercase}.receipt-property{color:#4f5e73;font-size:12px;font-weight:550}.receipt-expense-status{display:inline-flex;align-self:flex-start;width:max-content;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:550}.receipt-expense-status.absorbed{background:#e9eef5;color:#536176}.receipt-expense-status.landlord{background:#fff5c2;color:#695700}

/* Management agreement generator */
.contract-generator-title{align-items:flex-start}.contract-generator-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;border:1px solid #d7dee8;border-left:4px solid var(--swift-yellow);background:#fff;padding:16px 18px}.contract-generator-intro>div{display:flex;align-items:center;gap:13px}.contract-generator-icon{display:grid;width:42px;height:42px;place-items:center;background:#163c78;color:#fff;font-size:18px;font-weight:550}.contract-generator-intro h2{margin:0;color:#1b293d;font-size:16px}.contract-generator-intro p{margin:4px 0 0;color:#6d7889;font-size:11px}.contract-generator-intro>small{color:#625219;background:#fff5c8;border:1px solid #eed66b;padding:7px 9px;font-size:10px;font-weight:550;white-space:nowrap}.contract-generator-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:22px}.contract-generator-stats>div{border:1px solid #dde3eb;background:#fff;padding:13px 15px}.contract-generator-stats span,.contract-generator-stats strong{display:block}.contract-generator-stats span{color:#748094;font-size:10px;font-weight:550;text-transform:uppercase}.contract-generator-stats strong{margin-top:5px;color:#17243a;font-size:23px}.generated-contracts-section{margin-top:0}.generated-contract-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:12px}.generated-contract-card{display:flex;min-width:0;flex-direction:column;border:1px solid #dce2ea;background:#fff;padding:16px}.generated-contract-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.generated-contract-card h3{margin:8px 0 0;color:#18263c;font-size:17px}.agreement-type-pill{display:inline-flex;width:max-content;background:#edf1f6;color:#516075;padding:5px 8px;font-size:9px;font-weight:550;letter-spacing:.04em;text-transform:uppercase}.agreement-type-pill.individual{background:#eaf2ff;color:#24518c}.agreement-type-pill.company{background:#eeeafb;color:#5b408e}.contract-document-status{width:auto;min-width:110px;padding:7px 28px 7px 9px;font-size:11px;font-weight:550}.contract-document-status.status-draft{border-color:#d7b45e;background:#fff9e8;color:#765700}.contract-document-status.status-generated{border-color:#91acd5;background:#f2f7ff;color:#254c82}.contract-document-status.status-signed{border-color:#83bca2;background:#edf9f2;color:#276647}.generated-contract-property{margin:10px 0 13px;color:#647186;font-size:11px;line-height:1.45}.generated-contract-card dl{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0}.generated-contract-card dl>div{background:#f6f8fa;padding:8px 9px}.generated-contract-card dt{color:#818b9b;font-size:8px;font-weight:550;text-transform:uppercase}.generated-contract-card dd{margin:3px 0 0;color:#334157;font-size:10px;font-weight:550}.generated-contract-card footer{display:flex;align-items:center;gap:10px;margin-top:14px;border-top:1px solid #e8ebf0;padding-top:12px}.generated-contract-file{display:grid;min-width:0;flex:1;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px}.generated-contract-file>span{display:grid;width:29px;height:29px;place-items:center;background:#163c78;color:#fff;font-size:11px;font-weight:550}.generated-contract-file b,.generated-contract-file small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.generated-contract-file b{color:#354258;font-size:9px}.generated-contract-file small{margin-top:2px;color:#818b9b;font-size:8px}.generated-contract-card footer .secondary-btn{flex:0 0 auto;padding:8px 10px;font-size:10px}.agreement-type-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.agreement-type-options button{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:11px;border:1px solid #d9dfe8;background:#fff;padding:18px;text-align:left;cursor:pointer}.agreement-type-options button:hover{border-color:#b99a25;background:#fffdf4}.agreement-type-options button>span{grid-row:1/3;display:grid;width:44px;height:44px;place-items:center;background:#f0f3f7;font-size:20px}.agreement-type-options strong{color:#1d2a3e;font-size:15px}.agreement-type-options small{grid-column:2/4;color:#6e7a8d;font-size:10px;line-height:1.45}.agreement-type-options em{color:#7d6817;font-size:10px;font-style:normal;font-weight:550}.contract-generator-form textarea{min-height:72px}.contract-generator-dates input[readonly]{background:#f2f4f7;color:#526074}.calculated-label{color:#596879;font-size:9px;font-weight:550}.contract-generator-form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}.contract-preview-summary{border:1px solid #dde3eb;background:#fff}.contract-preview-summary>header{border-bottom:1px solid #e5e9ef;padding:17px}.contract-preview-summary h3{margin:9px 0 4px;color:#18263b;font-size:20px}.contract-preview-summary header p{margin:0;color:#667388;font-size:11px}.contract-preview-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:0;background:#e6eaf0}.contract-preview-summary dl>div{background:#fff;padding:12px 15px}.contract-preview-summary dt{color:#7a8698;font-size:9px;font-weight:550;text-transform:uppercase}.contract-preview-summary dd{margin:4px 0 0;color:#2e3b50;font-size:11px;line-height:1.45}.contract-preview-validation{display:flex;align-items:center;gap:10px;margin:14px;border:1px solid #b9ddc9;background:#eff9f3;padding:11px 12px}.contract-preview-validation>span{display:grid;width:25px;height:25px;place-items:center;background:#287448;color:#fff;font-weight:550}.contract-preview-validation b,.contract-preview-validation small{display:block}.contract-preview-validation b{color:#245d3c;font-size:11px}.contract-preview-validation small{margin-top:2px;color:#61806e;font-size:9px}
@media(max-width:700px){.contract-generator-title{align-items:stretch;flex-direction:column}.contract-generator-title .primary-btn{width:100%}.contract-generator-intro{align-items:flex-start;flex-direction:column}.contract-generator-intro>small{white-space:normal}.contract-generator-stats{grid-template-columns:1fr 1fr}.generated-contract-grid{grid-template-columns:1fr}.agreement-type-options{grid-template-columns:1fr}.contract-preview-summary dl{grid-template-columns:1fr}.contract-generator-form-actions{display:grid;grid-template-columns:1fr 1fr}.generated-contract-card footer{align-items:stretch;flex-direction:column}.generated-contract-card footer .secondary-btn{width:100%}}
.loading-brand-panel{display:flex;align-items:center;gap:14px;min-width:min(340px,calc(100vw - 40px));border:1px solid #e5e0d1;border-radius:var(--cc-radius);background:#fff;padding:14px 18px;box-shadow:0 12px 38px rgba(56,56,56,.08)}
.loading-brand-panel strong,.loading-brand-panel span{display:block}
.loading-brand-panel strong{color:var(--swift-charcoal);font-size:15px}
.loading-brand-panel span{margin-top:3px;color:#77736a;font-size:11px}
.loading-logo-stage{width:72px;height:52px;padding:7px 9px}
.loading-screen .loader{border-color:#e7e2d5;border-top-color:var(--swift-yellow)}
.loading-screen>p{margin:0;font-size:12px;font-weight:550}
.sidebar-collapse-button{border-color:rgba(255,202,0,.52)!important;background:rgba(255,202,0,.12)!important;color:var(--swift-yellow)!important}
.sidebar-collapse-button:hover{border-color:var(--swift-yellow)!important;background:var(--swift-yellow)!important;color:var(--swift-charcoal)!important}
.sidebar-expand-button{border-color:#d7bf59!important;background:var(--swift-charcoal)!important;color:#fff!important;box-shadow:0 8px 24px rgba(56,56,56,.16)}
.sidebar-expand-button:hover{border-color:var(--swift-yellow)!important;background:#262626!important;color:var(--swift-yellow)!important}
.mobile-menu-close{background:rgba(255,202,0,.14)!important;color:var(--swift-yellow)!important;border:1px solid rgba(255,202,0,.42)!important}
.mobile-menu-close:hover{background:var(--swift-yellow)!important;color:var(--swift-charcoal)!important}
.avatar{background:var(--swift-yellow-soft);color:var(--swift-charcoal)}
@media(max-width:480px){.loading-brand-panel{padding:12px 14px}.loading-logo-stage{width:62px;height:46px}.loading-brand-panel strong{font-size:14px}}

/* Monthly receipt capture and QuickBooks forwarding. */
.receipts-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;min-width:0}.receipts-title h1{margin:0;font-size:26px;font-weight:600}.receipt-month-control{display:grid;gap:4px;min-width:0;max-width:100%;color:#4d5664;font-size:11px;font-weight:500}.receipt-month-control input{display:block;box-sizing:border-box;width:190px;min-width:0;max-width:100%;min-height:40px;background:#fff}.receipt-month-control input::-webkit-date-and-time-value{min-width:0;text-align:left}.receipt-message{max-width:none}.receipt-toolbar{min-width:0;margin-bottom:8px}.receipt-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:8px;max-width:600px}.receipt-actions button{width:100%;min-width:0;min-height:40px;padding:8px;font-size:14px;font-weight:500;line-height:1.3;white-space:normal}.receipt-file-input{display:none!important}.receipt-email-destination{margin:6px 0 0;color:#697383;font-size:11px;line-height:1.4;overflow-wrap:anywhere}.receipt-email-destination b{font-weight:500;color:#4d5664}.receipt-summary{display:flex;flex-wrap:wrap;gap:8px 20px;margin-bottom:12px;color:#697383;font-size:12px;line-height:1.5}.receipt-summary>span{display:inline-flex;align-items:baseline;gap:6px}.receipt-summary strong{color:#303846;font-size:13px;font-weight:500}.receipt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.receipt-card{display:grid;grid-template-rows:190px auto auto;overflow:hidden;border:1px solid var(--cc-border);border-left:4px solid #d39a20;border-radius:var(--cc-radius);background:#fff}.receipt-card.is-sent{border-left-color:#3e9166}.receipt-photo{position:relative;overflow:hidden;background:#f2f3f1}.receipt-photo img{display:block;width:100%;height:100%;object-fit:cover}.receipt-photo-placeholder{display:grid;height:100%;place-items:center;align-content:center;gap:6px;color:#77736a}.receipt-photo-placeholder span{font-size:20px;font-weight:550}.receipt-photo-placeholder small{font-size:10px}.receipt-status{position:absolute;top:9px;right:9px;border-radius:var(--cc-radius-small);padding:5px 7px;font-size:9px;font-weight:550;text-transform:uppercase;box-shadow:0 2px 8px rgba(0,0,0,.08)}.receipt-status.ready{background:#fff4bd;color:#725d00}.receipt-status.sent{background:#e9f7ef;color:#26724a}.receipt-card-copy{display:grid;gap:4px;min-width:0;padding:12px 12px 8px}.receipt-card-copy b{overflow:hidden;color:#2e3745;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.receipt-card-copy small{color:#7a8493;font-size:9px}.receipt-card>.danger-outline-btn{justify-self:start;margin:0 12px 12px;padding:7px 10px;font-size:10px}.receipt-loading{display:grid;min-height:220px;place-items:center;align-content:center;gap:12px;border:1px solid var(--cc-border);border-radius:var(--cc-radius);background:#fff;color:#687282}.receipt-loading .loader{width:27px;height:27px}.receipt-loading b{font-size:12px}.receipt-empty{border-left:4px solid var(--swift-yellow)}
@media(max-width:760px){.receipts-title{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,190px);align-items:center;gap:12px}.receipts-title h1{font-size:24px}.receipt-month-control input{width:100%}.receipt-grid{grid-template-columns:1fr 1fr}.receipt-card{grid-template-rows:150px auto auto}}
@media(max-width:500px){.receipts-title{grid-template-columns:minmax(0,1fr) minmax(0,170px)}.receipt-actions{gap:6px}.receipt-actions button{font-size:13px;padding:8px 6px}.receipt-grid{grid-template-columns:1fr}.receipt-card{grid-template-rows:230px auto auto}}
.receipt-card-copy h3{margin:0;color:#252d38;font-size:23px;letter-spacing:-.025em}.receipt-card-copy b{margin-top:2px;font-size:13px}.receipt-extracted-date{color:#5f6b7b;font-size:10px;font-weight:550}.receipt-scan-state{margin-top:4px;border-left:3px solid var(--swift-yellow);background:#fff9df;padding:6px 7px;color:#665819!important;font-weight:550}.receipt-scan-state.needs-review{border-left-color:#d88437;background:#fff5e9;color:#854b18!important}.receipt-original-file{overflow:hidden;color:#9aa2ad!important;text-overflow:ellipsis;white-space:nowrap}.receipt-card-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;border-top:1px solid #edf0f3;padding:10px 12px 12px}.receipt-card-actions button{padding:7px 9px;font-size:10px}.receipt-card-actions .danger-outline-btn{margin-left:auto}@media(max-width:500px){.receipt-card-actions .danger-outline-btn{margin-left:0}}
.receipt-status.ready{background:#e9f7ef;color:#26724a}.receipt-status.sent{background:#dff3e8;color:#236844}.receipt-status.scanning{background:#fff4bd;color:#725d00}.receipt-status.review{background:#fff0df;color:#89501c}.receipt-status.failed{background:#fde8e6;color:#9b332c}.receipt-card.is-review{border-left-color:#d88437}.receipt-ai-label{width:max-content;margin-top:3px;border-radius:999px;background:#eef1ff;padding:3px 7px;color:#4e53a5;font-size:9px;font-weight:550}.receipt-scan-state{line-height:1.45}.receipt-card-actions .danger-outline-btn{margin-left:0!important}.receipt-processing-fields{display:grid;gap:7px;padding:2px 0 1px}.receipt-processing-fields span{display:block;height:11px;border-radius:5px;background:linear-gradient(90deg,#edf0f3 25%,#f8f9fa 45%,#edf0f3 65%);background-size:220% 100%;animation:receipt-scan-shimmer 1.8s ease-in-out infinite}.receipt-processing-fields .receipt-processing-total{width:48%;height:25px}.receipt-processing-fields span:nth-child(2){width:68%}.receipt-processing-fields .receipt-processing-date{width:42%;height:10px}@keyframes receipt-scan-shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.receipt-processing-fields span{animation:none}}@media(max-width:500px){.receipt-card-actions{align-items:stretch;flex-direction:column}.receipt-card-actions button{width:100%}}
.receipt-expand-btn{position:absolute;right:9px;bottom:9px;display:grid;width:34px;height:34px;place-items:center;border:1px solid rgba(255,255,255,.75);background:rgba(24,31,42,.82);color:#fff;font-size:18px;line-height:1;cursor:pointer;box-shadow:0 3px 10px rgba(0,0,0,.22)}.receipt-expand-btn:hover,.receipt-expand-btn:focus-visible{background:#172033;outline:3px solid rgba(255,202,0,.45)}.receipt-image-modal{width:min(1200px,calc(100vw - 24px));max-height:calc(100vh - 24px);padding:14px;background:#20242b}.receipt-image-modal-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:4px 4px 12px;color:#fff}.receipt-image-modal-header .eyebrow{margin-bottom:4px;color:#b7bec8}.receipt-image-modal-header h2{margin:0;color:#fff;font-size:18px}.receipt-image-modal-header .icon-btn{flex:0 0 auto;background:#343b45;color:#fff}.receipt-image-modal-body{max-height:calc(100vh - 100px);overflow:auto;background:#111318}.receipt-image-modal-body img{display:block;width:100%;height:auto;margin:0 auto}.receipt-image-modal-body::-webkit-scrollbar{width:10px;height:10px}.receipt-image-modal-body::-webkit-scrollbar-thumb{background:#555d68}@media(max-width:720px){.receipt-image-modal{width:calc(100vw - 12px);max-height:calc(100vh - 12px);padding:8px}.receipt-image-modal-body{max-height:calc(100vh - 82px)}}

/* Touch-safe To-Do actions. The sheet lives outside the tappable task card so iOS Safari never has to operate a fixed menu inside a native details element. */
.todo-quick-actions-trigger{display:grid;width:34px;height:34px;place-items:center;border:0!important;background:transparent!important;color:#667085;font-size:24px;font-weight:550;line-height:1;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.todo-quick-actions-trigger:hover,.todo-quick-actions-trigger:focus-visible,.todo-quick-actions-trigger[aria-expanded="true"]{background:#eef1f4!important;color:#232b37}
.todo-assignee-trigger{display:inline-flex;min-height:30px;align-items:center;gap:4px;border:0!important;background:#eef1f5!important;padding:5px 8px!important;color:#4f5e73;font:inherit;font-weight:550;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.todo-assignee-trigger:hover,.todo-assignee-trigger:focus-visible,.todo-assignee-trigger[aria-expanded="true"]{background:#e1e7ef!important;color:#263449}
.todo-action-sheet-layer{position:fixed;inset:0;z-index:1000;display:grid;align-items:end;background:rgba(19,27,38,.46);padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom));overscroll-behavior:contain}
.todo-action-sheet{justify-self:center;width:min(460px,100%);max-height:min(70vh,560px);overflow:auto;border:1px solid #d9dee6;border-radius:10px!important;background:#fff;padding:10px;box-shadow:0 20px 60px rgba(16,24,40,.3);-webkit-overflow-scrolling:touch}
.todo-action-sheet header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid #e8ebef;padding:5px 5px 11px}.todo-action-sheet header small{display:block;margin-bottom:3px;color:#7b8797;font-size:10px;font-weight:550;text-transform:uppercase}.todo-action-sheet h2{margin:0;color:#202a38;font-size:15px;line-height:1.35}.todo-action-sheet header button{display:grid;flex:0 0 44px;width:44px;height:44px;place-items:center;border:0;background:#f0f2f5;color:#465265;font-size:24px;touch-action:manipulation}
.todo-action-sheet-actions{display:grid;gap:4px;padding-top:8px}.todo-action-sheet-actions>button{width:100%;min-height:48px;border:0;background:transparent;padding:12px 13px;color:#273345;text-align:left;font-size:14px;font-weight:550;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.todo-action-sheet-actions>button:hover,.todo-action-sheet-actions>button:focus-visible{background:#f1f3f5}.todo-action-sheet-actions>button.danger{color:#b42318}.todo-action-sheet-actions>button.danger:hover,.todo-action-sheet-actions>button.danger:focus-visible{background:#fff0f0}.todo-action-sheet-actions>p{margin:0;padding:16px 12px;color:#7b8798;text-align:center}
.todo-row.is-snoozed,.scheduled-task-card.is-snoozed{border-left-color:#7b61a8!important;background:#faf8ff}.task-status.snoozed,.snoozed-badge{background:#eee8fa!important;color:#5b4187!important}.todo-row.is-snoozed .todo-checkbox{opacity:.45}.todo-row.is-snoozed .todo-copy>h3{color:#5c5570}

/* Leads tracker */
.leads-page{min-width:0}.leads-header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.leads-header h1{margin:2px 0 5px;font-size:30px}.leads-header p:not(.eyebrow){max-width:680px;margin:0;color:#6b778a;font-size:12px;line-height:1.5}.lead-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.lead-summary article{display:grid;gap:3px;border:1px solid #dfe5ee;background:#fff;padding:14px 15px}.lead-summary span{color:#657186;font-size:10px;font-weight:550;text-transform:uppercase;letter-spacing:.04em}.lead-summary strong{color:#1f2b3d;font-size:25px}.lead-summary small{color:#8791a2;font-size:9px}.lead-follow-up-panel{margin-bottom:14px;border:1px solid #efc171;border-left:5px solid #e89a22;background:#fffaf0;padding:14px}.lead-follow-up-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.lead-follow-up-panel h2{margin:1px 0 0;font-size:17px}.lead-follow-up-panel>header>strong{display:grid;place-items:center;min-width:32px;height:32px;background:#ffead0;color:#9b5000;font-size:15px}.lead-follow-up-panel>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:7px;margin-top:10px}.lead-follow-up-panel button{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #eed8b6;background:#fff;padding:9px 10px;text-align:left}.lead-follow-up-panel button span,.lead-follow-up-panel button b,.lead-follow-up-panel button small{display:block;min-width:0}.lead-follow-up-panel button b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#342716;font-size:11px}.lead-follow-up-panel button small{margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#846e51;font-size:9px}.lead-follow-up-panel button em{flex:none;color:#a75900;font-size:9px;font-style:normal;font-weight:550}.lead-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}.lead-toolbar input{width:min(440px,100%);min-height:40px}.lead-toolbar>span{color:#7a8597;font-size:10px;font-weight:550}.lead-pipeline-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(245px,285px);align-items:start;gap:10px;max-width:100%;overflow-x:auto;padding:1px 1px 14px;scroll-snap-type:x proximity}.lead-stage-column{scroll-snap-align:start;border:1px solid #dfe5ee;background:#f4f6f9;min-height:190px}.lead-stage-column>header{display:grid;grid-template-columns:5px minmax(0,1fr) auto;align-items:center;gap:8px;border-bottom:1px solid #dfe5ee;background:#fff;padding:11px}.lead-stage-column>header>span{align-self:stretch;background:#7b879a}.lead-stage-column[data-colour="blue"]>header>span{background:#3975d5}.lead-stage-column[data-colour="cyan"]>header>span{background:#1a99aa}.lead-stage-column[data-colour="violet"]>header>span{background:#7657b5}.lead-stage-column[data-colour="amber"]>header>span{background:#d49a1d}.lead-stage-column[data-colour="orange"]>header>span{background:#d97025}.lead-stage-column[data-colour="pink"]>header>span{background:#bd5d83}.lead-stage-column[data-colour="green"]>header>span{background:#299169}.lead-stage-column[data-colour="red"]>header>span{background:#c65353}.lead-stage-column>header h2{margin:0;color:#29364a;font-size:12px}.lead-stage-column>header b{display:grid;place-items:center;min-width:24px;height:24px;background:#edf1f5;color:#5f6d80;font-size:10px}.lead-stage-column>div{display:grid;gap:8px;padding:9px}.lead-card{border:1px solid #dfe4eb;border-left:4px solid #aeb8c6;background:#fff;padding:11px;cursor:pointer}.lead-card.needs-follow-up{border-left-color:#e89a22;background:#fffcf7}.lead-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.lead-card>header span{color:#56657a;font-size:8px;font-weight:550;text-transform:uppercase;letter-spacing:.04em}.lead-card>header b{color:#5e6b7e;font-size:8px}.lead-card h3{margin:8px 0 4px;color:#253247;font-size:12px;line-height:1.35}.lead-card>p{margin:0;color:#6f7c8e;font-size:9px;line-height:1.4}.lead-card>p.muted{color:#9ba3af}.lead-card footer{display:grid;gap:7px;margin-top:10px;border-top:1px solid #edf0f4;padding-top:8px}.lead-follow-up{color:#728096;font-size:9px;font-weight:550}.lead-follow-up.due{color:#a75900}.lead-card select{width:100%;min-height:32px;padding:5px 7px;color:#415066;font-size:9px}.lead-stage-empty{padding:25px 8px;color:#9aa3b1;text-align:center;font-size:10px}.lead-stage-settings-card{grid-column:1/-1}.lead-stage-settings-list{display:grid;gap:7px}.lead-stage-setting-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(100px,.45fr) minmax(90px,.4fr) auto;align-items:center;gap:7px;border:1px solid #e1e6ed;background:#f8fafc;padding:8px}.lead-stage-setting-row input,.lead-stage-setting-row select{min-height:38px}.lead-stage-setting-row>div{display:flex;gap:4px}.lead-stage-setting-row .icon-btn{width:34px;height:34px}.lead-stage-setting-row .icon-btn.danger{color:#a13f37}.lead-stage-settings-actions{display:flex;align-items:center;gap:8px;margin-top:12px}
@media(max-width:900px){.lead-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-stage-setting-row{grid-template-columns:minmax(0,1fr) 100px}.lead-stage-setting-row>select[name="outcome"]{grid-column:1}.lead-stage-setting-row>div{grid-column:2;grid-row:2}}
@media(max-width:640px){.leads-header{align-items:stretch;flex-direction:column}.leads-header .primary-btn{width:100%}.lead-summary{gap:7px}.lead-summary article{padding:11px}.lead-summary strong{font-size:21px}.lead-follow-up-panel>div{grid-template-columns:1fr}.lead-toolbar{align-items:stretch;flex-direction:column}.lead-toolbar input{width:100%}.lead-pipeline-board{grid-auto-columns:82vw}.lead-stage-setting-row{grid-template-columns:1fr}.lead-stage-setting-row>select[name="outcome"],.lead-stage-setting-row>div{grid-column:auto;grid-row:auto}.lead-stage-settings-actions{align-items:stretch;flex-direction:column}.lead-stage-settings-actions button{width:100%}}
@media(min-width:641px){.todo-action-sheet-layer{align-items:center}.todo-action-sheet{width:min(390px,calc(100vw - 32px))}}

/* Compact active-work queue for the To-Do page. */
.todo-focus-strip{position:sticky;top:8px;z-index:12;margin:0 0 22px;border:1px solid #d8d9d4;border-left:4px solid var(--swift-yellow);border-radius:var(--cc-radius);background:rgba(252,252,250,.97);padding:10px 10px 11px;box-shadow:0 8px 22px rgba(45,43,34,.075);backdrop-filter:blur(8px)}
.todo-focus-strip>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 2px 8px}.todo-focus-strip>header>div{display:flex;align-items:center;gap:8px}.todo-focus-strip h2{margin:0;color:#283039;font-size:15px}.todo-focus-strip>header span{display:grid;min-width:42px;height:23px;place-items:center;border-radius:var(--cc-radius-small);background:#fff4bd;color:#665500;font-size:10px;font-weight:550}.todo-focus-strip>header small{color:#777b74;font-size:9px;font-weight:550;text-transform:uppercase;letter-spacing:.06em}
.todo-focus-scroller{display:flex;gap:9px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;padding:1px 1px 5px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#c4c8c2 transparent;-webkit-overflow-scrolling:touch}
.todo-focus-card{position:relative;display:grid;grid-template-rows:minmax(34px,auto) auto;grid-template-columns:minmax(0,1fr) 30px;flex:0 0 clamp(170px,calc((100% - 36px)/5),205px);min-height:82px;gap:7px 8px;overflow:hidden;border:1px solid #e4e2d8;border-left:4px solid #83a9c1;border-radius:var(--cc-radius);background:#fffdf7;padding:10px;scroll-snap-align:start;cursor:pointer}.todo-focus-card.priority-important{border-left-color:#d0a91c}.todo-focus-card.priority-urgent{border-left-color:#e17824}.todo-focus-card.priority-critical{border-left-color:#d84c4c}.todo-focus-card:hover,.todo-focus-card:focus-visible{border-color:#c7a900;box-shadow:0 5px 15px rgba(25,32,45,.08);outline:0}.todo-focus-card h3{grid-column:1/-1;display:-webkit-box;overflow:hidden;margin:0;color:#202a38;font-size:12px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.todo-focus-meta{display:flex;min-width:0;align-items:center;gap:7px}.todo-focus-card .todo-priority{padding:4px 7px;font-size:10px}.todo-focus-card .todo-quick-actions-trigger{align-self:end;justify-self:end}.todo-backlog-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dedfd9;padding:0 2px 9px}.todo-backlog-heading h2{margin:0;color:#283039;font-size:19px}.todo-backlog-heading span{display:grid;min-width:27px;height:25px;place-items:center;border-radius:var(--cc-radius-small);background:#e6ebf2;color:#536176;font-size:11px;font-weight:550}
@media(max-width:640px){.todo-focus-strip{top:6px;margin-inline:-5px;padding:9px 8px 10px}.todo-focus-strip>header{margin-bottom:7px}.todo-focus-strip>header small{display:none}.todo-focus-card{flex-basis:calc(40% - 6px);min-width:124px;max-width:148px;min-height:80px;padding:9px}.todo-focus-scroller{gap:8px}.todo-backlog-heading h2{font-size:18px}}

/* Keep To-Do cards fully inside narrow iPhone viewports with balanced gutters. */
.todo-page,.todo-sections,.todo-section,.todo-section-body,.todo-list,.todo-task-family{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.todo-row{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:640px){
  .todo-page{overflow-x:clip}
  .todo-list{padding:1px 2px}
  .todo-row{grid-template-columns:28px minmax(0,1fr) 34px;gap:10px;padding:12px 10px 12px 12px}
  .todo-checkbox{justify-self:start}
  .todo-quick-actions-trigger{justify-self:end}
}
.cancellation-extracted{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.cancellation-fee-row>div+b{align-self:center;color:#5f615b;font-size:11px;text-align:right}

/* Property Database: fast property switching and deliberately obvious field labels. */
.property-directory-page{min-width:0}.property-directory-title{align-items:flex-end}.property-directory-layout{display:grid;grid-template-columns:300px minmax(0,1fr);align-items:start;gap:16px}.property-switcher,.property-detail-panel{border:1px solid var(--cc-border);border-radius:var(--cc-radius);background:#fff}.property-switcher{position:sticky;top:18px;overflow:hidden}.property-switcher>label{display:grid;gap:7px;border-bottom:1px solid #e5e9ee;padding:15px}.property-switcher>label>span,.property-field-search>span,.property-mobile-switcher label{color:#39465a;font-size:10px;font-weight:550;letter-spacing:.045em;text-transform:uppercase}.property-switcher input{width:100%;background:#f8fafc}.property-switcher-count{border-bottom:1px solid #edf0f3;padding:9px 15px;color:#7a8595;font-size:10px;font-weight:550}.property-switcher-list{max-height:calc(100vh - 270px);overflow:auto;padding:6px}.property-switcher-item{display:grid;width:100%;gap:4px;border:0;border-left:4px solid transparent;background:transparent;padding:11px 10px;text-align:left;cursor:pointer}.property-switcher-item:hover{background:#f5f7f9}.property-switcher-item.active{border-left-color:var(--swift-yellow);background:#fff8d9}.property-switcher-item span{color:#263347;font-size:12px;font-weight:550}.property-switcher-item small{overflow:hidden;color:#778294;font-size:9px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.property-switcher-empty{padding:24px 12px;color:#758092;font-size:11px;text-align:center}.property-mobile-switcher{display:none}.property-detail-panel{min-width:0;padding:18px}.property-detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid #e8ebef;padding-bottom:15px}.property-detail-heading h2{margin:3px 0 4px;color:#202b3b;font-size:25px;letter-spacing:-.025em}.property-detail-heading p:not(.eyebrow){margin:0;color:#687487;font-size:11px;line-height:1.45}.property-field-search{display:grid;grid-template-columns:auto minmax(220px,390px);align-items:center;justify-content:end;gap:12px;margin:14px 0}.property-field-search>div{display:grid;grid-template-columns:28px 1fr;align-items:center;border:1px solid #d7dde5;background:#f8fafc}.property-field-search>div>span{color:#7a8492;text-align:center}.property-field-search input{min-width:0;border:0!important;background:transparent!important;padding-left:0!important;box-shadow:none!important}.property-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.property-data-card{display:grid;min-width:0;align-content:start;gap:9px;border:1px solid #dfe4ea;border-left:4px solid #9aa5b3;background:#fff;padding:13px 14px}.property-data-card.is-manual{border-left-color:var(--swift-yellow);background:#fffdf5}.property-data-card.is-private{border-left-color:#293b58;background:#f7f9fc}.property-data-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.property-data-card>header>span{color:#556174;font-size:9px;font-weight:550;letter-spacing:.055em;text-transform:uppercase}.property-data-card>header>small{border-radius:999px;background:#eef1f5;padding:3px 6px;color:#748094;font-size:7px;font-weight:550;letter-spacing:.04em;text-transform:uppercase}.property-data-card.is-manual>header>small{background:#fff3b6;color:#725f0b}.property-data-card.is-private>header>small{background:#e7ebf2;color:#35445a}.property-data-value{min-width:0;color:#202c3d;font-size:15px;font-weight:550;line-height:1.45;overflow-wrap:anywhere}.property-data-value input{width:100%;background:#fff}.property-photo-card{grid-column:1/-1;padding:0;overflow:hidden}.property-photo-card>header{padding:12px 14px 0}.property-photo-card .property-data-value{display:grid;min-height:260px;place-items:center;background:#f0f2f3}.property-photo-card img{display:block;width:100%;max-height:430px;object-fit:cover}.property-photo-card .property-missing{padding:80px 20px}.property-missing{color:#929aa6;font-size:11px;font-style:italic;font-weight:550}.property-booking-link{display:inline-flex;align-items:center;gap:7px;color:#173f77;text-decoration:none}.property-booking-link:hover{text-decoration:underline}.property-private-value{letter-spacing:.14em}.property-private-value.is-revealed{letter-spacing:.02em}.property-field-actions{display:flex;gap:5px;margin-top:8px}.property-inline-button{border:1px solid #cfd6df;background:#fff;padding:5px 8px;color:#3f5066;font-size:9px;font-weight:550;cursor:pointer}.property-inline-button:hover{border-color:#b49a30;background:#fff9dc}.property-edit-actions{display:flex;align-items:center;gap:12px;margin-top:14px;border-top:1px solid #e8ebef;padding-top:14px}.property-edit-actions span{color:#778293;font-size:10px}.property-no-fields{grid-column:1/-1;display:grid;min-height:180px;place-items:center;align-content:center;gap:5px;border:1px dashed #cfd6df;color:#758093;text-align:center}.property-no-fields b{color:#344156}.property-directory-loading{display:grid;min-height:380px;place-items:center;align-content:center;gap:12px;border:1px solid var(--cc-border);background:#fff}.property-directory-loading b{color:#596577;font-size:12px}

.property-directory-settings-card{grid-column:1/-1}.property-field-editor-list{display:grid;gap:7px}.property-field-editor-row{display:grid;grid-template-columns:68px minmax(180px,1fr) auto;align-items:center;gap:10px;border:1px solid #e0e5eb;background:#f8fafc;padding:9px 10px}.property-field-visibility{display:flex!important;align-items:center;gap:7px;color:#506076;font-size:10px;font-weight:550}.property-field-visibility input{width:17px!important;height:17px!important;min-height:0!important;accent-color:#cfa900}.property-field-editor-name{display:grid;gap:3px}.property-field-editor-name b{color:#2c394d;font-size:11px}.property-field-editor-name small{color:#7a8697;font-size:8px;font-weight:550;text-transform:uppercase}.property-field-editor-name input{width:100%}.property-field-order{display:flex;gap:5px}.property-field-order .icon-btn{width:34px;height:34px}.property-field-order .danger-outline-btn{padding:7px 9px;font-size:9px}.property-custom-field-add{display:grid;grid-template-columns:minmax(180px,1fr) minmax(170px,.65fr) auto;align-items:end;gap:9px;border-top:1px solid #e3e7ec;padding-top:13px}.property-custom-field-add label{gap:5px}.property-directory-settings-card>#savePropertyFields{justify-self:start}
@media(max-width:900px){.property-directory-layout{grid-template-columns:250px minmax(0,1fr)}.property-data-grid{grid-template-columns:1fr}}
@media(max-width:700px){.property-directory-title{align-items:stretch;flex-direction:column}.property-directory-title>button{width:100%}.property-mobile-switcher{display:block;margin-bottom:10px;border:1px solid var(--cc-border);background:#fff;padding:12px}.property-mobile-switcher label{display:grid;gap:7px}.property-mobile-switcher select{width:100%;font-size:14px}.property-directory-layout{display:block}.property-switcher{display:none}.property-detail-panel{padding:13px}.property-detail-heading{align-items:stretch;flex-direction:column}.property-detail-heading h2{font-size:22px}.property-detail-heading>button{width:100%}.property-field-search{grid-template-columns:1fr;justify-content:stretch}.property-field-search>div{width:100%}.property-data-grid{grid-template-columns:1fr}.property-photo-card .property-data-value{min-height:210px}.property-edit-actions{align-items:stretch;flex-direction:column}.property-edit-actions button{width:100%}.property-field-editor-row{grid-template-columns:64px minmax(0,1fr)}.property-field-order{grid-column:1/-1;justify-content:flex-end;border-top:1px solid #e5e9ee;padding-top:7px}.property-custom-field-add{grid-template-columns:1fr}.property-custom-field-add button,.property-directory-settings-card>#savePropertyFields{width:100%}}

.social-media-page{min-width:0}.social-media-title{align-items:flex-end}.social-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.social-summary>div{display:grid;gap:5px;border:1px solid var(--cc-border);border-left:4px solid #9aa5b3;background:#fff;padding:14px 16px}.social-summary>div:first-child{border-left-color:var(--swift-yellow);background:#fffdf2}.social-summary>div.ready{border-left-color:#1f8b68}.social-summary span{color:#6d7889;font-size:9px;font-weight:550;letter-spacing:.04em;text-transform:uppercase}.social-summary strong{color:#202c3d;font-size:22px}.social-tabs{display:flex;gap:4px;margin-bottom:14px;border-bottom:1px solid var(--cc-border)}.social-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;padding:11px 14px;color:#697588;font:inherit;font-size:11px;font-weight:550;cursor:pointer}.social-tabs button.active{border-bottom-color:var(--swift-yellow);color:#222d3d}.social-post-list{display:grid;gap:12px}.social-post-card{display:grid;grid-template-columns:220px minmax(0,1fr);overflow:hidden;border:1px solid var(--cc-border);border-left:4px solid #9aa5b3;background:#fff}.social-post-card.status-pending_review{border-left-color:var(--swift-yellow)}.social-post-card.status-approved{border-left-color:#39836c}.social-post-card.status-scheduled{border-left-color:#3569ad}.social-post-card.status-changes_requested{border-left-color:#b96b48}.social-post-visual{min-height:190px;background:linear-gradient(145deg,#f5efca,#e8ebef);border-right:1px solid var(--cc-border)}.social-post-visual img{width:100%;height:100%;object-fit:cover}.social-post-visual>div{display:grid;height:100%;place-items:center;align-content:center;gap:7px;padding:20px;color:#405067;text-align:center}.social-post-visual>div>span{font-size:32px;color:#8f7b25}.social-post-visual b{font-size:12px}.social-post-visual small{color:#758093;font-size:9px;line-height:1.4}.social-post-body{display:grid;align-content:start;padding:17px}.social-post-body>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.social-post-body h2{margin:6px 0 0;color:#243044;font-size:18px}.social-pillar{color:#8a6d00;font-size:9px;font-weight:550;letter-spacing:.055em;text-transform:uppercase}.social-status,.connection-pill{display:inline-flex;align-items:center;background:#eef1f5;padding:5px 8px;color:#5f6d81;font-size:8px;font-weight:550;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap}.social-post-body>p{margin:14px 0;color:#49576b;font-size:12px;line-height:1.65}.social-review-note{border-left:3px solid #b96b48;background:#fff6f1;padding:9px 11px;color:#7a4b37;font-size:10px;line-height:1.5}.social-review-note b{display:block;margin-bottom:2px}.social-post-body>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;border-top:1px solid #e8ebef;padding-top:12px}.social-post-body>footer>span{color:#7b8697;font-size:9px;font-weight:550}.social-post-body>footer>div{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.social-post-body>footer button{padding:8px 10px;font-size:9px}.social-calendar,.social-connection-card,.social-strategy-card,.social-settings-form{border:1px solid var(--cc-border);background:#fff}.social-calendar-heading{display:flex;align-items:flex-start;justify-content:space-between;padding:17px;border-bottom:1px solid var(--cc-border)}.social-calendar h2,.social-connection-card h2,.social-strategy-card h2,.social-settings-form h2{margin:0;color:#243044;font-size:18px}.social-calendar-heading p,.social-connection-card p,.social-strategy-card p,.social-settings-form p{margin:5px 0 0;color:#6d7889;font-size:10px;line-height:1.5}.social-calendar-heading>span{color:#7b8697;font-size:9px;font-weight:550}.social-calendar>article{display:grid;grid-template-columns:170px minmax(0,1fr) auto;align-items:center;gap:15px;border-bottom:1px solid #e9edf1;padding:14px 17px}.social-calendar>article:last-child{border-bottom:0}.social-calendar time{color:#45546a;font-size:10px;font-weight:550}.social-calendar article b{color:#263347;font-size:12px}.social-calendar article p{overflow:hidden;margin:4px 0 0;color:#738094;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.social-setup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.social-connection-card,.social-strategy-card,.social-settings-form{padding:18px}.social-connection-card>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px}.social-connection-icon{display:grid;width:37px;height:37px;place-items:center;background:#26354c;color:#fff;font-size:18px}.connection-pill.ready{background:#e4f5ee;color:#147054}.social-connection-card>p{margin-top:15px}.social-strategy-card{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:24px;align-items:center;border-left:4px solid var(--swift-yellow);background:#fffdf3}.social-pillars{display:flex;flex-wrap:wrap;gap:7px}.social-pillars span{border:1px solid #e5d88f;background:#fff;padding:7px 9px;color:#665a22;font-size:9px;font-weight:550}.social-settings-form{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.social-settings-form>div,.social-settings-form>button{grid-column:1/-1}.social-settings-form label{display:grid;gap:6px;color:#344157;font-size:10px;font-weight:550}.social-settings-form input{width:100%}
@media(max-width:850px){.social-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.social-post-card{grid-template-columns:160px minmax(0,1fr)}.social-setup-grid{grid-template-columns:1fr}.social-strategy-card,.social-settings-form{grid-column:auto}.social-strategy-card{grid-template-columns:1fr}}
@media(max-width:650px){.social-media-title{align-items:stretch;flex-direction:column}.social-media-title>button{width:100%}.social-summary{grid-template-columns:1fr 1fr}.social-tabs{overflow:auto}.social-tabs button{white-space:nowrap}.social-post-card{grid-template-columns:1fr}.social-post-visual{min-height:150px;border-right:0;border-bottom:1px solid var(--cc-border)}.social-post-body>footer{align-items:stretch;flex-direction:column}.social-post-body>footer>div{justify-content:stretch}.social-post-body>footer button{flex:1}.social-calendar>article{grid-template-columns:1fr auto}.social-calendar time{grid-column:1/-1}.social-settings-form{grid-template-columns:1fr}.social-settings-form>div,.social-settings-form>button{grid-column:auto}}
.social-drive-folders{grid-column:1/-1;display:grid;gap:10px;margin:2px 0 0;border:1px solid #dfe4ea;padding:14px}.social-drive-folders legend{padding:0 6px;color:#263347;font-size:11px;font-weight:550}.social-drive-folders>p{margin:0;color:#737f91;font-size:9px}.social-drive-folder-list{display:grid;gap:8px}.social-drive-folder-row{display:grid;grid-template-columns:minmax(150px,.65fr) minmax(230px,1.35fr) auto;align-items:end;gap:8px;border:1px solid #e3e7ec;background:#f8fafc;padding:10px}.social-drive-folder-row .danger-outline-btn{min-height:42px}.social-drive-empty{display:grid;gap:4px;border:1px dashed #cdd5df;padding:18px;color:#718094;text-align:center}.social-drive-empty b{color:#35445a;font-size:10px}.social-drive-empty span{font-size:9px}.social-drive-folders>#addSocialDriveFolder{justify-self:start}
.social-drive-locked{grid-column:1/-1;display:grid;gap:4px;border:1px dashed #cdd5df;background:#f8fafc;padding:15px;color:#718094}.social-drive-locked b{color:#35445a;font-size:10px}.social-drive-locked span{font-size:9px}
.social-manual-mode{display:flex;align-items:center;gap:13px;margin-bottom:12px;border:1px solid #e3d37a;border-left:4px solid var(--swift-yellow);background:#fffbea;padding:12px 14px}.social-manual-mode>span{background:#2d394b;padding:5px 7px;color:#fff;font-size:8px;font-weight:550;letter-spacing:.08em}.social-manual-mode b{display:block;color:#303948;font-size:11px}.social-manual-mode p{margin:3px 0 0;color:#6f735f;font-size:9px;line-height:1.45}.social-post-body>header small{display:block;margin-top:4px;color:#778395;font-size:9px}.social-post-visual>.social-post-image-grid{position:relative;display:grid;height:100%;min-height:190px;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:2px;padding:0}.social-post-image-grid.count-1{display:block}.social-post-image-grid.count-2{grid-template-rows:1fr}.social-post-image-grid.count-3 img:first-child{grid-row:1/-1}.social-post-image-grid img{display:block;min-width:0;min-height:0;object-fit:cover}.social-post-image-grid>span{position:absolute;right:8px;bottom:8px;background:rgba(24,34,49,.88);padding:5px 7px;color:#fff;font-size:9px;font-weight:550}.social-generated-details{margin:0 0 12px;border:1px solid #e0e5eb;background:#f8fafc;padding:9px 11px;color:#536176;font-size:10px}.social-generated-details summary{cursor:pointer;font-weight:550}.social-generated-details ol{display:grid;gap:5px;margin:9px 0 0;padding-left:21px;line-height:1.45}.social-draft-extra{display:grid;gap:3px;border-left:3px solid var(--swift-yellow);background:#fffbea;padding:8px 10px;color:#555f70;font-size:10px}.social-draft-extra b{color:#344156;font-size:9px;text-transform:uppercase}.social-hashtags{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.social-hashtags span{background:#edf2f8;padding:4px 6px;color:#426084;font-size:8px;font-weight:550}.social-generator-form{display:grid;gap:12px}.social-generator-form>section{display:grid;gap:11px;border:1px solid #dde3ea;background:#fff;padding:14px}.social-generator-form h3{margin:0;color:#263347;font-size:13px}.social-generator-form label{display:grid;gap:6px;color:#435168;font-size:10px;font-weight:550}.social-photo-uploader{display:block!important;border:2px dashed #c6ced8;background:#f8fafc;padding:16px;text-align:center;cursor:pointer}.social-photo-uploader input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.social-photo-uploader span,.social-photo-uploader b,.social-photo-uploader small{display:block}.social-photo-uploader b{color:#254c80;font-size:12px}.social-photo-uploader small{margin-top:3px;color:#7a8698;font-size:9px}.social-draft-photo-preview{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;min-height:64px}.social-draft-photo-preview>span{grid-column:1/-1;display:grid;place-items:center;border:1px solid #e5e8ec;color:#8a94a2;font-size:9px}.social-draft-photo-preview figure{position:relative;overflow:hidden;margin:0;aspect-ratio:1;background:#edf0f3}.social-draft-photo-preview img{width:100%;height:100%;object-fit:cover}.social-draft-photo-preview figcaption{position:absolute;right:4px;bottom:4px;display:grid;width:19px;height:19px;place-items:center;background:rgba(23,33,48,.85);color:#fff;font-size:8px;font-weight:550}.social-checkbox-label{display:flex!important;align-items:center;gap:8px;align-self:end;min-height:42px;border:1px solid #d9dfe7;background:#f8fafc;padding:9px}.social-checkbox-label input{width:18px;height:18px;min-height:0;accent-color:#c9aa1e}.social-fact-warning{display:flex;align-items:flex-start;gap:9px;border:1px solid #b8dfca;background:#eff9f3;padding:9px 10px}.social-fact-warning>span{display:grid;width:20px;height:20px;flex:0 0 auto;place-items:center;background:#2d8052;color:#fff;font-size:10px;font-weight:550}.social-fact-warning p{margin:1px 0 0;color:#47705a;font-size:9px;line-height:1.45}.social-generate-status{min-height:18px;color:#55677f;font-size:10px;font-weight:550}.social-generate-status.error{color:#a43e34}.social-generator-header{margin-bottom:12px}
.social-facts-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.social-facts-heading p{margin:4px 0 0;color:#6c788a;font-size:9px;line-height:1.45}.social-facts-heading>span{flex:0 0 auto;background:#fff7cc;padding:5px 7px;color:#6e5b00;font-size:8px;font-weight:550;text-transform:uppercase;letter-spacing:.06em}.social-dynamic-facts>[hidden],.social-generator-form>[hidden]{display:none!important}.social-dynamic-facts label small{color:#798597;font-size:8px;font-weight:550;line-height:1.35}.social-review-plan{display:grid;gap:14px;margin-top:14px;border:1px solid #dce2e9;background:#fff;padding:18px}.social-review-plan>div:first-child h2{margin:3px 0 6px;color:#28364a;font-size:18px}.social-review-plan>div:first-child p:last-child{margin:0;max-width:750px;color:#667388;font-size:10px;line-height:1.55}.social-review-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.social-review-plan-grid article{display:grid;align-content:start;gap:6px;border:1px solid #e1e5ea;border-top:3px solid var(--swift-yellow);background:#f9fafb;padding:13px}.social-review-plan-grid article>span{color:#8b7610;font-size:8px;font-weight:550;letter-spacing:.08em}.social-review-plan-grid article>b{color:#2d3b50;font-size:12px}.social-review-plan-grid article p{margin:0;color:#657286;font-size:9px;line-height:1.5}.social-review-plan-grid article a{margin-top:3px;color:#275888;font-size:9px;font-weight:550;text-decoration:none}.social-review-plan-grid article small{color:#8a6570;font-size:8px;font-weight:550}
.social-media-loading small{color:#7b8798;font-size:9px}.social-generate-status:not(:empty):not(.error){display:flex;align-items:center;gap:9px;border:1px solid #dbe4ef;background:#f6f9fc;padding:9px 11px}.social-generate-status:not(:empty):not(.error)::before{content:"";width:17px;height:17px;flex:0 0 auto;border:2px solid #d9e1ee;border-top-color:var(--swift-yellow);border-radius:50%;animation:spin .8s linear infinite}.social-delete-post{border-color:#dfb5b1!important;color:#963a32!important}.social-delete-post:disabled{opacity:.55}
@media(max-width:650px){.social-drive-folders{grid-column:auto}.social-drive-folder-row{grid-template-columns:1fr}.social-drive-folder-row .danger-outline-btn,.social-drive-folders>#addSocialDriveFolder{width:100%}}
@media(max-width:650px){.social-manual-mode{align-items:flex-start}.social-draft-photo-preview{grid-template-columns:repeat(3,minmax(0,1fr))}.social-generator-form .form-grid,.social-review-plan-grid{grid-template-columns:1fr}.social-facts-heading{display:grid}.social-facts-heading>span{justify-self:start}.social-post-visual>.social-post-image-grid{min-height:180px}}

.availability-page{max-width:1040px}.availability-card{border:1px solid var(--cc-border);border-radius:var(--cc-radius);background:#fff;padding:24px;box-shadow:0 8px 24px rgba(31,45,66,.05)}.availability-form{display:grid;grid-template-columns:minmax(190px,1.2fr) repeat(2,minmax(155px,1fr)) minmax(100px,.55fr) auto;align-items:end;gap:14px}.availability-form label{display:grid;align-content:start;gap:7px;color:#39465a;font-size:11px;font-weight:650}.availability-form label>span{letter-spacing:.035em;text-transform:uppercase}.availability-form input,.availability-form select{width:100%;min-height:46px;background:#fbfcfd;font-size:14px}.availability-form .primary-btn{min-height:46px;padding-inline:20px;white-space:nowrap}.availability-form .primary-btn span{font-size:15px}.availability-source-note{margin:10px 0 0;color:#7a8595;font-size:11px;line-height:1.45}.availability-card .connection-error{margin:0 0 16px}
@media(max-width:950px){.availability-form{grid-template-columns:repeat(2,minmax(0,1fr))}.availability-form .primary-btn{grid-column:1/-1;justify-self:start}.availability-source-note{margin-top:12px}}
@media(max-width:520px){.availability-card{padding:15px}.availability-form{grid-template-columns:1fr}.availability-form .primary-btn{grid-column:auto;width:100%}}
.settings-group{grid-column:1/-1;display:grid;gap:11px}.settings-group-heading{border-bottom:2px solid #d9d3b7;padding:9px 2px}.settings-group-heading h2{margin:0;color:#222b39;font-size:20px}.settings-group-heading p{margin:4px 0 0;color:#6f7b8e;font-size:11px;line-height:1.45}.settings-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.task-reminder-email-option{grid-column:1/-1}@media(max-width:800px){.settings-group-grid{grid-template-columns:1fr}.task-reminder-email-option{grid-column:auto}}

/* Property Database refinements: calm typography, stable in-place filtering and compact imagery. */
.property-switcher>label>span,.property-field-search>span,.property-mobile-switcher label{font-weight:550}.property-switcher-item span{font-weight:550}.property-detail-heading h2{margin-top:7px;font-weight:550}.property-edit-heading-button{border:0;background:transparent;color:#526176;padding:0;font:inherit;font-size:10px;font-weight:550;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.property-edit-heading-button:hover{color:#1e4e8c}.property-detail-thumbnail{display:block;width:88px;height:66px;flex:0 0 auto;border:1px solid #dfe4e9;border-radius:7px;object-fit:cover}.property-field-search{justify-content:start}.property-data-card>header>span,.property-data-card>header>small{font-weight:550}.property-data-value{font-weight:550}.property-photo-card{display:none}.property-switcher-item[hidden],.property-data-card[hidden],.property-no-fields[hidden],.property-switcher-empty[hidden]{display:none!important}.property-custom-field-add{grid-template-columns:minmax(180px,1fr) auto}.receipt-disclaimer{margin:14px 2px 0;color:#8d96a3;font-size:9px;line-height:1.45;text-align:center}

/* Menu dividers stay visible against the dark navigation background. */
.nav-group,.nav-projects-bottom{border-top-color:rgba(255,255,255,.5)}.nav-finance>div{border-left-color:rgba(255,255,255,.5)}

@media(max-width:700px){.property-detail-heading{align-items:flex-start;flex-direction:row}.property-detail-thumbnail{width:76px;height:57px}.property-custom-field-add{grid-template-columns:1fr}}

/* Shared emphasis: avoid browser-default heavy headings and bold text. */
h1,h2,h3,h4,h5,h6,b,strong{font-weight:550}
/* Email warnings update independently of the page, preserving unsaved forms. */
.email-health-banner{display:flex;align-items:flex-start;gap:12px;background:#fff8df;border:1px solid #d8bc63;border-radius:8px;padding:15px 18px;margin-bottom:20px;color:#57410b}
.email-health-banner.is-error{background:#fff0ef;border-color:#df9d95;color:#862f27}
.email-health-banner>span{display:grid;place-items:center;flex:0 0 24px;height:24px;border:1px solid currentColor;border-radius:50%;font-weight:800}
.email-health-banner>div{min-width:0;flex:1}.email-health-banner p{margin:5px 0 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.email-health-banner button{flex-shrink:0}.email-health-panel{scroll-margin-top:24px;min-width:0}
.email-health-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.email-health-heading button{flex-shrink:0}
.email-health-summary{display:flex;flex-direction:column;gap:5px;padding:14px;background:#f5f5f1;border-radius:6px;margin-top:16px}
.email-health-summary span,.email-health-note{font-size:13px;line-height:1.5;color:#60615a}
.email-health-issues{list-style:none;padding:0;margin:14px 0;display:grid;gap:10px}.email-health-issues li{border-left:3px solid #c09825;background:#fff8df;padding:12px 14px;overflow-wrap:anywhere}.email-health-issues li.is-error{border-color:#be5143;background:#fff0ef}.email-health-issues p{margin:5px 0 0;line-height:1.5}
.email-health-allowance{margin:18px 0;border-block:1px solid #e3e3dc;padding:15px 0}.email-health-allowance h3{font-size:15px;margin:0 0 12px}.email-health-allowance a{font-size:13px;color:#395d48;text-decoration:underline}
.email-health-quotas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.email-health-quota{display:flex;flex-direction:column;gap:5px;min-width:0}.email-health-quota>strong{font-size:25px}.email-health-quota strong small{font-size:14px;font-weight:500;color:#6b6b63}.email-health-quota meter{width:100%;height:12px}.email-health-quota>small{color:#66685f;font-size:12px}
.email-health-summaries{display:grid;gap:12px}.email-health-summaries article{padding:12px 0;border-bottom:1px solid #e5e5de}.email-health-summaries article>div{display:flex;justify-content:space-between;gap:12px}.email-health-summaries span,.email-health-summaries small{font-size:12px;color:#686960}.email-health-summaries p{overflow-wrap:anywhere;margin:5px 0;font-size:13px}
@media(max-width:650px){.email-health-banner{flex-wrap:wrap;padding:12px}.email-health-banner button{margin-left:36px}.email-health-heading{flex-wrap:wrap}.email-health-quotas{grid-template-columns:1fr}.email-health-summaries article>div{flex-direction:column;gap:4px}}

/* Login password recovery */
.auth-notice{margin-top:18px;padding:12px 14px;border:1px solid #a9d9bd;border-radius:11px;background:#eef9f2;color:#246443;font-size:12px;line-height:1.45}
.auth-forgot-link{justify-self:end;margin:-5px 0 1px;border:0;background:transparent;color:#245bb5;padding:3px 0;font:inherit;font-weight:550;cursor:pointer}
.auth-forgot-link:hover,.auth-forgot-link:focus-visible{text-decoration:underline;text-underline-offset:3px}

/* Slim fixed shortcuts; reserve their height so page content remains accessible. */
.content-shell.has-floating-attention{padding-top:0}
.floating-attention{position:static;height:48px;min-height:48px;max-height:48px;display:flex;align-items:center;justify-content:center;gap:18px;background:#fff6c9;border:0;box-shadow:0 2px 8px #17223808;padding:0 12px;overflow:hidden;flex:none}
.floating-attention.is-empty{display:none}
.floating-attention button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:44px;flex:0 1 auto;padding:0 8px;border:0;background:transparent;color:#596579;font:inherit;font-size:14px;cursor:pointer;white-space:nowrap}
.floating-attention button b{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 5px;border-radius:6px;background:#f0f2f5;color:#596579;font-size:14px}
.floating-attention button.has-items b{background:#fff1b8;color:#6a5400}
.floating-attention button:hover{background:#f5f6f8}
.floating-attention button:focus-visible{outline:2px solid #947d00;outline-offset:-3px}
.attention-label-short{display:none}
.cleaning-embed-active .content-shell.has-floating-attention,.invoice-embed-active .content-shell.has-floating-attention,.external-embed-active .content-shell.has-floating-attention{grid-template-rows:auto minmax(0,1fr)}
.cleaning-embed-active .content-shell.has-floating-attention:has(.floating-attention.is-empty),.invoice-embed-active .content-shell.has-floating-attention:has(.floating-attention.is-empty),.external-embed-active .content-shell.has-floating-attention:has(.floating-attention.is-empty){grid-template-rows:minmax(0,1fr)}
.cleaning-embed-active .content-shell.has-floating-attention main,.invoice-embed-active .content-shell.has-floating-attention main,.external-embed-active .content-shell.has-floating-attention main{height:100%}
@media(max-width:760px){.content-shell.has-floating-attention{padding-top:0}.content-shell.has-floating-attention main{padding-top:0}.floating-attention{gap:0;padding:0 4px}.floating-attention button{flex:1 1 0;gap:5px;padding:0 3px;font-size:12px}.floating-attention button b{min-width:21px;height:21px;font-size:12px}.attention-label-long{display:none}.attention-label-short{display:inline}.cleaning-embed-active .content-shell.has-floating-attention,.invoice-embed-active .content-shell.has-floating-attention,.external-embed-active .content-shell.has-floating-attention{grid-template-rows:58px 48px minmax(0,1fr)}.cleaning-embed-active .content-shell.has-floating-attention main,.invoice-embed-active .content-shell.has-floating-attention main,.external-embed-active .content-shell.has-floating-attention main{height:auto}}
@media(max-width:760px){.cleaning-embed-active .content-shell.has-floating-attention:has(.floating-attention.is-empty),.invoice-embed-active .content-shell.has-floating-attention:has(.floating-attention.is-empty),.external-embed-active .content-shell.has-floating-attention:has(.floating-attention.is-empty){grid-template-rows:58px minmax(0,1fr)}}
@media(max-width:760px){.mobile-header+.floating-attention{margin-top:0}.floating-attention{height:44px;min-height:44px;max-height:44px}.floating-attention button{min-height:40px}.cleaning-embed-active .content-shell.has-floating-attention,.invoice-embed-active .content-shell.has-floating-attention,.external-embed-active .content-shell.has-floating-attention{grid-template-rows:58px 44px minmax(0,1fr)}}

@media(max-width:360px){.floating-attention button{font-size:11px;gap:3px}.floating-attention button b{min-width:19px;padding:0 4px}}

.todo-header{align-items:center;gap:12px;flex-wrap:wrap}.todo-header h1{display:flex;align-items:center;gap:10px}.todo-title-count{font-size:16px;line-height:1.4;background:#eef1f5;color:#536074;padding:3px 9px;border-radius:8px}.todo-inline-scope{display:flex;align-items:center;gap:7px;font-size:14px}.todo-inline-scope select{font:inherit;border:1px solid #d7dee8;border-radius:9px;background:#fff;min-height:42px;padding:8px;max-width:220px}.todo-header-actions{flex-wrap:wrap;align-items:center}.todo-header .eyebrow{margin-bottom:4px}@media(max-width:760px){.todo-header-actions{gap:8px}.todo-inline-scope select{max-width:180px}.todo-header{flex-direction:row}}

/* To-Do multi-select keeps batch decisions visible without exposing a bulk-delete path. */
.todo-multi-select-toggle[aria-pressed="true"]{border-color:#c8a600;background:#fff3ad;color:#443700;box-shadow:inset 0 0 0 1px #d6b500}
.todo-batch-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-12px 0 18px;border:1px solid #ddc75b;border-left:4px solid var(--swift-yellow);background:#fffbea;padding:11px 12px}.todo-batch-bar>div:first-child{flex:0 0 auto;color:#39465a;font-size:12px;font-weight:550;white-space:nowrap}.todo-batch-bar [data-todo-selected-count]{display:inline-grid;min-width:24px;height:24px;place-items:center;background:#2e394a;color:#fff;padding:0 6px;margin-right:3px}.todo-batch-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.todo-batch-actions .secondary-btn{min-height:36px;padding:7px 10px;font-size:10px;font-weight:500}.todo-batch-actions .text-btn{min-height:36px;padding:7px 9px;font-size:10px}
.todo-row.is-selected,.todo-focus-card.is-selected{border-color:#c7a900!important;background:#fff9d9!important;box-shadow:0 0 0 2px rgba(207,174,0,.16)}.todo-row.is-selected::after{background:#c7a900}.todo-multi-checkbox span{border-color:#8b7a23}.todo-multi-checkbox input:checked+span{border-color:#c7a900;background:#c7a900;box-shadow:inset 0 0 0 5px #c7a900}.todo-multi-unavailable{display:block;width:22px;height:22px;justify-self:center;border:1px dashed #c8ced7;background:#f2f4f7;opacity:.7}.todo-focus-card .todo-multi-checkbox{position:absolute;top:8px;right:8px;z-index:1}.todo-focus-card:has(.todo-multi-checkbox) h3{padding-right:30px}.todo-focus-card:has(.todo-multi-checkbox){grid-template-columns:minmax(0,1fr)}
@media(max-width:760px){.todo-batch-bar{align-items:stretch;flex-direction:column;margin-top:-8px}.todo-batch-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch}.todo-batch-actions button{width:100%}.todo-header-actions .todo-multi-select-toggle{order:2}.todo-header-actions .todo-search-toggle{order:3}.todo-header-actions #newScheduledTaskBtn{order:4}}
@media(max-width:430px){.todo-batch-actions{grid-template-columns:1fr}.todo-inline-scope{flex:1 1 100%}.todo-inline-scope select{max-width:none;width:100%}}

.nav-favicon{width:20px;height:20px;object-fit:contain}.nav-submenu button.nav-item{width:100%;background:transparent;border:0;color:inherit;text-align:left;cursor:pointer}.settings-group.settings-card{padding:18px;min-width:0;grid-column:1/-1}.settings-group.settings-card>.settings-section-body{padding-top:16px}.settings-group .settings-group-heading{padding:0;margin:0}.quick-link-current li{flex-wrap:wrap}.quick-link-current [data-move-link]{min-width:36px;min-height:40px}
.floating-attention .urgent-invoice-approval{background:transparent!important;color:#596579!important}.floating-attention .urgent-invoice-approval b{background:#f3d6d2!important;color:#8f2f27!important}.floating-attention .urgent-invoice-approval:hover{background:#f8f2f1!important}
.floating-email-alert{display:flex;align-items:center;min-width:0;flex:1 1 0}.floating-email-alert .email-health-attention{flex:1 1 auto}.floating-attention .email-health-attention b{background:#f3d6d2;color:#8f2f27}.floating-attention .floating-attention-dismiss{width:44px;min-width:44px;max-width:44px;flex:0 0 44px;padding:0;font-size:20px;font-weight:650}.floating-attention .floating-attention-dismiss:hover{background:#ffefaa}.email-health-attention .attention-label-long{overflow:hidden;text-overflow:ellipsis}

body.app-is-blocked{overflow:hidden}.app-blocking-loader{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:20px;background:rgba(244,247,250,.84);backdrop-filter:blur(2px)}.app-blocking-loader-card{display:grid;place-items:center;gap:14px;min-width:min(280px,calc(100vw - 40px));padding:24px 30px;border:1px solid #dce2e9;border-radius:14px;background:#fff;box-shadow:0 18px 50px #1720332b;color:#172033;text-align:center}.app-blocking-loader-card strong{font-size:14px;line-height:1.4}

.todo-carried-over{color:#64748b;font-size:12px;font-weight:400;white-space:normal;overflow-wrap:anywhere}.todo-focus-meta:has(.todo-carried-over){flex-wrap:wrap}

/* Email connections use the shared Settings card and disclosure layout. */
.gmail-sender-list{display:grid;grid-template-columns:1fr;gap:0;min-width:0}
.gmail-sender-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;min-width:0;border:0;background:transparent}
.gmail-sender-row+ .gmail-sender-row{border-top:1px solid var(--border,#e2e6ea)}
.gmail-sender-row>div{min-width:0;overflow-wrap:anywhere}
.gmail-sender-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.gmail-sender-title h3{margin:0;font-size:14px;font-weight:550}
.gmail-sender-row p,.settings-connection-note{font-size:14px;line-height:1.5;color:var(--muted,#64748b);margin:8px 0}
.gmail-sender-row small{color:var(--muted,#64748b);overflow-wrap:anywhere}
.gmail-sender-row .secondary-btn,.email-troubleshooting-status .secondary-btn{flex-shrink:0;min-height:40px}
.email-troubleshooting-status{display:flex;align-items:center;justify-content:space-between;gap:16px}
.email-troubleshooting-status p{margin:0;font-size:14px;line-height:1.5}
.email-health-issues{padding-left:20px;font-size:14px;line-height:1.5}
.email-health-issues strong{font-weight:550}.email-health-issues p{margin:4px 0 12px}
@media(max-width:600px){.gmail-sender-row,.email-troubleshooting-status{align-items:flex-start;flex-direction:column}.gmail-sender-row .secondary-btn{width:100%}}

[data-edit-task-card].is-saving{position:relative;pointer-events:none;cursor:wait;min-height:64px}
[data-edit-task-card].is-saving>:not(.task-saving-status){opacity:.45}
.task-saving-status{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;background:rgba(255,255,255,.85);border-radius:inherit;color:#344157;font-size:14px;font-weight:500;z-index:2}
.task-saving-status .statement-button-loader{width:16px;height:16px;flex:0 0 16px}
/* Give every notification an equal share; dismiss remains a fixed end control. */
.floating-attention{gap:0}
.floating-attention .floating-email-alert{display:contents}
.floating-attention>button,.floating-attention .email-health-attention{flex:1 1 0}
.floating-attention .floating-attention-dismiss{flex:0 0 44px}

.task-assignee-load-status{display:block;min-height:20px;color:#718096;font-size:12px;line-height:20px}
.task-assignee-retry{border:0;background:none;padding:0 3px;color:#315f96;font:inherit;text-decoration:underline;cursor:pointer;min-height:40px}

/* Shared menu shortcuts: icon links on mobile and a compact row on desktop. */
.module-shortcuts{display:flex;align-items:center;gap:5px}
.desktop-module-shortcuts{justify-content:flex-start;flex:0 0 auto;gap:8px;margin:0 0 10px;padding:0 8px}
.module-shortcut-link{width:auto;min-width:38px;height:38px;padding:6px;display:inline-grid;grid-template-columns:1fr;justify-items:center;align-items:center;border:1px solid rgba(255,255,255,.22);border-radius:9px;color:#fff!important;background:rgba(255,255,255,.08)!important;text-decoration:none}
.module-shortcut-link:hover,.module-shortcut-link.active{background:#f2c500!important;color:#182033!important}
.module-shortcut-link>span{font-size:17px;line-height:1}
.module-shortcut-link>b,.module-shortcut-link>em{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.desktop-module-shortcuts .module-shortcut-link{width:40px;min-width:40px;height:40px}

.menu-item-editor-row{grid-template-columns:28px minmax(130px,1fr) minmax(150px,.7fr) 34px 52px auto}
.menu-shortcut-toggle{display:grid;place-items:center;width:34px;height:34px;border:1px solid #e1e6ed;border-radius:8px;background:#fff;cursor:pointer;color:#9aa3b1}
.menu-shortcut-toggle input{position:absolute;opacity:0;width:1px;height:1px}
.menu-shortcut-toggle span{font-size:19px;line-height:1}
.menu-shortcut-toggle:has(input:checked){color:#c6a300;background:#fff9d8;border-color:#e9d76e}
.menu-item-editor-row select[name="shortcutOrder"]{padding:6px;text-align:center}
.menu-item-editor-row select[name="shortcutOrder"]:disabled{color:#9aa3b1;background:#f0f2f5}
@media(max-width:760px){
  .mobile-header{gap:7px;justify-content:initial;padding:0 12px}
  .mobile-header .mobile-command-centre-brand{flex:1 1 auto;width:auto;min-width:0;max-width:none}
  .mobile-header .mobile-logo-frame{width:min(140px,30vw)}
  .mobile-header .module-shortcuts{flex:0 1 auto;gap:3px}
  .mobile-header .module-shortcut-link{width:32px;min-width:32px;height:36px;padding:5px}
  .mobile-header>button{margin-left:auto;flex:0 0 36px}
  .desktop-module-shortcuts{display:none}
  .menu-item-editor-row{grid-template-columns:26px minmax(0,1fr) 34px 52px auto}
  .menu-item-editor-row select[name="groupId"]{grid-column:2/-1;grid-row:2}
  .menu-item-editor-row>.menu-shortcut-toggle{grid-column:3;grid-row:1}
  .menu-item-editor-row select[name="shortcutOrder"]{grid-column:4;grid-row:1}
  .menu-item-editor-row>div{grid-column:5;grid-row:1}
}
.menu-shortcut-toggle:has(input:focus-visible){outline:3px solid #2463eb;outline-offset:2px}

/* Module shortcuts: one icon family and a quiet selected treatment. */
.module-shortcuts{gap:6px}
.desktop-module-shortcuts{gap:6px;padding:0 8px;margin-bottom:14px}
.module-shortcut-link,.desktop-module-shortcuts .module-shortcut-link{position:relative;display:grid!important;place-items:center;width:40px;min-width:40px;height:40px;padding:9px!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:10px!important;background:rgba(255,255,255,.025)!important;color:#c6cbd1!important;transition:background .15s,border-color .15s,color .15s;box-shadow:none!important}
.module-shortcut-link>span{display:grid;place-items:center}
.module-shortcut-link svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.module-shortcut-link:hover{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.16)!important;color:#fff!important}
.module-shortcut-link.active{background:rgba(255,202,0,.10)!important;border-color:rgba(255,202,0,.25)!important;color:#ffca00!important}
.module-shortcut-link.active:after{content:"";position:absolute;bottom:3px;left:calc(50% - 5px);width:10px;height:2px;border-radius:2px;background:#ffca00}
.module-shortcut-link:focus-visible{outline:2px solid #ffca00;outline-offset:3px}
@media(max-width:920px){.mobile-header .module-shortcut-link{width:40px;min-width:40px;height:40px;padding:9px!important}.mobile-header .module-shortcuts{gap:3px}}
@media(max-width:380px){.mobile-header .module-shortcut-link{width:36px;min-width:36px;padding:8px!important}}

.task-description-editor{margin-bottom:18px;display:grid;gap:0;min-width:0;border:1px solid #dde2e8;border-radius:10px;overflow:hidden;background:#fff}
.task-description-editor>.task-description-label-row{gap:8px;margin:0;padding:14px 14px 8px;color:#46515f;font-size:14px;font-weight:500}
.task-description-editor textarea{min-height:150px;width:100%;box-sizing:border-box;border:0!important;border-radius:0!important;background:transparent!important;padding:0 14px 12px!important;font-size:14px;font-weight:400;line-height:1.6;resize:vertical;outline-offset:3px}
.task-description-editor textarea[hidden],.task-description-preview[hidden],.task-description-error[hidden],.task-description-editor input[type=file][hidden]{display:none!important}
.task-format-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:2px;padding:2px 8px;border-top:1px solid #e9edf1;background:#f8f9fb}
.task-format-toolbar button{display:grid;place-items:center;min-width:30px;min-height:32px;padding:3px 6px;border:0;border-radius:6px;background:transparent;color:#536171;font-size:14px;font-weight:500;cursor:pointer}
.task-format-toolbar button:hover{background:#e9edf2;color:#202c3a}
.task-format-toolbar button:focus-visible,.task-file-row button:focus-visible{outline:2px solid #827016;outline-offset:1px}
.task-format-toolbar .task-preview-toggle{margin-left:auto;padding:6px 10px;font-size:13px}
.task-format-toolbar strong{font-weight:600}
.task-description-preview{padding:14px;min-height:150px;max-height:360px;overflow:auto;box-sizing:border-box}
.task-markdown{color:#3d4855;font-size:14px;line-height:1.65;overflow-wrap:anywhere;white-space:normal}
.task-markdown p{margin:0 0 10px}.task-markdown p:last-child{margin-bottom:0}.task-markdown h3,.task-markdown h4,.task-markdown h5{margin:14px 0 6px;font-weight:600;line-height:1.35}.task-markdown h3{font-size:18px}.task-markdown h4{font-size:16px}.task-markdown h5{font-size:14px}
.task-markdown ul,.task-markdown ol{margin:8px 0;padding-left:22px}.task-markdown li{margin:4px 0}.task-markdown strong{font-weight:600}.task-markdown a{color:#315b89;text-decoration:underline;text-underline-offset:2px}.task-markdown code{padding:2px 4px;border-radius:4px;background:#f0f2f5;font-size:13px}.task-markdown pre{padding:12px;background:#f0f2f5;border-radius:6px;overflow:auto;max-width:100%;box-sizing:border-box}.task-markdown pre code{padding:0;white-space:pre}.task-markdown blockquote{margin:10px 0;border-left:3px solid #d8dee6;padding-left:12px;color:#65707c}.task-markdown-check{display:flex;align-items:flex-start;gap:8px;list-style:none}.task-markdown-check input{width:16px!important;height:16px!important;margin:4px 0 0;flex-shrink:0;accent-color:#827016}
.task-description-files{border-top:1px solid #e9edf1;padding:10px 14px}
.task-files-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#65707c;font-size:13px}
.task-files-heading button{min-height:40px;padding:6px 8px;font-size:13px;font-weight:500;white-space:nowrap}
.task-file-list{display:grid;gap:6px;max-height:230px;overflow:auto}
.task-file-row{display:flex;align-items:center;gap:8px;border:1px solid #e7ebf0;border-radius:6px;padding:2px 6px 2px 10px;min-width:0;font-size:14px}
.task-file-row>span,.task-file-row>.task-file-open{flex:1;min-width:0;overflow-wrap:anywhere;text-align:left}
.task-file-row button{min-width:40px;min-height:40px;border:0;background:none;color:#52647a;padding:8px;cursor:pointer;font-size:16px}.task-file-row .task-file-open{font-size:14px}.task-file-row small{display:block;color:#7a8591;font-size:12px}.task-description-error{margin:8px 0 0;color:#aa4343;font-size:14px}.task-files-loading,.task-description-empty{color:#7a8591;font-size:13px}.task-file-row button:disabled{opacity:.5;cursor:wait}
.task-description-label-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.task-description-label-row .task-preview-toggle{min-height:40px;border:0;border-radius:6px;background:transparent;color:#52647a;font-size:13px;font-weight:500;padding:6px 8px;cursor:pointer}
.task-description-label-row .task-preview-toggle:hover{background:#f0f2f5}.task-description-label-row .task-preview-toggle:focus-visible{outline:2px solid #827016;outline-offset:1px}

.app-blocking-loader-card{max-width:min(520px,100%);overflow-wrap:anywhere}

.auth-card[data-scroll-key="mfa"] h1{font-weight:600;font-size:1.6rem}.auth-card[data-scroll-key="mfa"] button{font-weight:500;min-height:40px}
.auth-card[data-scroll-key="mfa"]{min-width:0;overflow-wrap:anywhere}.auth-card[data-scroll-key="mfa"] label,.auth-card[data-scroll-key="mfa"] .auth-error,.auth-card[data-scroll-key="mfa"] .mfa-help{font-size:14px}.auth-card[data-scroll-key="mfa"] input{font-size:16px;min-width:0}.auth-card[data-scroll-key="mfa"] button{white-space:normal}
@media(max-width:480px){.auth-card[data-scroll-key="mfa"]{padding:24px}}

/* Emergency priority extends existing compact ticket styling. */
.badge.priority-ultra_critical,.task-priority.priority-ultra_critical,.priority-ultra_critical .task-priority{background:#fee2e2;color:#991b1b;border-color:#efb6b6;font-weight:500}
.todo-row.priority-ultra_critical{border-color:#dfaaaa}
.todo-row.priority-ultra_critical::after{background:#a92c2c}
.ultra-critical-help{display:block;max-width:100%;white-space:normal;color:#8e2929;font-size:13px;line-height:1.5;margin-top:6px;font-weight:400}
.ultra-critical-help[hidden]{display:none}
.todo-priority.ultra_critical{background:#fee2e2;color:#991b1b;font-weight:500}.todo-focus-card.priority-ultra_critical{border-left-color:#a92c2c}

/* Task comments share the task modal; updates leave its editor mounted. */
.task-comments{min-width:0;margin-top:24px;padding-top:20px;border-top:1px solid #e1e5e9;overflow-anchor:none}
.task-comments-heading,.task-comment-meta,.task-comment-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.task-comments h3{margin:0;font-size:16px;font-weight:600}.task-comments-heading{margin-bottom:12px}
.task-comment-history{max-height:360px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;overflow-anchor:none}
.task-comment{padding:12px 0;border-bottom:1px solid #edf0f2}.task-comment:last-child{border-bottom:0}
.task-comment-meta{flex-wrap:wrap;justify-content:flex-start;gap:6px 12px;font-size:14px;margin-bottom:6px}.task-comment-meta>span{font-weight:500}.task-comment-meta time{color:#667085;font-size:12px}
.task-comment-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6;color:#303842}.task-comment-mention{color:#24548a;background:#edf3fa;border-radius:3px;padding:1px 2px}
.task-comment-state,.task-comment-footer small{font-size:13px;color:#667085;line-height:1.5;margin:8px 0}
.task-comment-compose{margin-top:16px}.task-comment-compose>label{display:block;font-size:14px;font-weight:500;margin-bottom:8px}.task-comment-input-wrap{position:relative;min-width:0}
.task-comment-compose textarea{display:block;width:100%;box-sizing:border-box;min-height:96px;resize:vertical;padding:12px;border:1px solid #cdd3db;border-radius:6px;font:inherit;font-size:16px;line-height:1.5;background:white;color:#303842}
.task-comment-compose textarea:focus{outline:2px solid #e4b900;outline-offset:2px}.task-comment-footer{margin-top:10px;align-items:flex-start}.task-comment-footer button{flex:none;min-height:40px;font-size:14px;font-weight:500}
.task-comment-people{position:absolute;z-index:3;bottom:calc(100% + 6px);left:0;right:0;max-height:200px;overflow:auto;background:#fff;border:1px solid #d4d9df;border-radius:6px;box-shadow:0 4px 16px #172b4d1a}
.task-comment-people[hidden],.task-comment-compose[hidden]{display:none}.task-comment-people button{display:block;width:100%;border:0;border-radius:0;background:#fff;color:#303842;text-align:left;min-height:40px;padding:10px 12px;font:inherit;font-size:14px;font-weight:400;white-space:normal;overflow-wrap:anywhere}
.task-comment-people button:hover,.task-comment-people button[aria-selected=true]{background:#fff7d1}.task-comment-people .task-comment-state{display:block;padding:4px 12px}.task-comment-error{color:#ae3535;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.task-comment-error[hidden]{display:none}.task-comments [data-comment-load-status]{font-size:14px;color:#667085}.task-comments button:disabled{opacity:.55;cursor:default}
@media(max-width:480px){.task-comment-footer{flex-wrap:wrap}.task-comment-footer small{flex:1;min-width:140px}.task-comment-footer button{min-height:44px}.task-comment-history{max-height:300px}}

.task-comment-actions{display:flex;gap:12px;margin-top:4px}.task-comment-actions button{min-height:40px;font-size:13px;font-weight:400}.task-comment-actions .task-comment-delete{color:#ae3535}.task-comment-footer [hidden]{display:none}

.task-format-toolbar .task-attach-button{margin-left:auto}.task-format-toolbar button:disabled{opacity:.5;cursor:wait}
.task-description-files[hidden]{display:none}.task-description-editor>.task-description-error{padding:8px 14px 12px;margin:0}
.task-file-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.task-file-row{padding:4px;gap:2px}
.task-file-row .task-file-open,.task-file-pending{display:flex;align-items:center;gap:8px;padding:2px;line-height:1.4}.task-file-open>span:last-child,.task-file-pending>span:last-child{min-width:0;overflow-wrap:anywhere}
.task-file-thumbnail{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;overflow:hidden;border-radius:4px;background:#f0f2f5;color:#6a7787}.task-file-thumbnail img{width:100%;height:100%;object-fit:cover}.task-file-thumbnail small{font-size:9px;line-height:1.1}
@media(max-width:640px){.task-format-toolbar{padding:2px 4px;gap:0}.task-format-toolbar button{min-height:40px;min-width:30px;padding:3px 5px}.task-file-list{grid-template-columns:minmax(0,1fr)}}

.task-description-label-row>label{margin:0;font-weight:500;font-size:14px}

/* Cancellation dates and live search share bounded, mobile-safe controls. */
.cancellation-page,.cancellation-search-card,.cancellation-selected-card,.cancellation-form,.cancellation-form-grid>label,.cancellation-search-card label{min-width:0;max-width:100%;box-sizing:border-box}
.cancellation-search-control{grid-template-columns:minmax(0,1fr)}
.cancellation-search-control input,.cancellation-form input,.cancellation-form .money-field{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.cancellation-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.cancellation-form-grid>label{grid-template-columns:minmax(0,1fr)}
.cancellation-form input[type="date"]{display:block;width:100%;min-width:0;max-width:100%;height:44px;min-height:44px;max-height:44px;padding:10px 11px;line-height:22px;appearance:none;-webkit-appearance:none;box-sizing:border-box}
.cancellation-form input[type="date"]::-webkit-date-and-time-value{min-width:0;text-align:left}
.cancellation-form input[type="date"]::-webkit-datetime-edit{min-width:0;padding:0}
.cancellation-field-label{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px}
.cancellation-stay-tag{display:inline-flex;width:fit-content;max-width:100%;padding:3px 7px;border-radius:6px;font-size:12px;font-weight:400;line-height:1.4;white-space:normal}
.cancellation-stay-tag.current{background:#edf8f1;color:#28613c}
.cancellation-stay-tag.future{background:#edf3fb;color:#365d84}
.cancellation-results strong{font-weight:550;overflow-wrap:anywhere}
.cancellation-results small{font-size:12px}
@media(max-width:720px){.cancellation-form-grid{grid-template-columns:minmax(0,1fr)}.cancellation-form input,.cancellation-search-control input{font-size:16px}.cancellation-extracted{grid-template-columns:minmax(0,1fr)}}

.email-booking-summary{margin:0;padding-left:20px;color:#5f6b7b;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.email-booking-summary li+li{margin-top:6px}.email-summary-label{font-weight:550;color:#536176}

.login-methods{display:flex;gap:8px;margin:16px 0}.login-methods button{flex:1;min-height:44px;font-weight:500}.login-methods button[aria-pressed="true"]{border-color:#c6a432;background:#fff8dc}.login-code-actions{display:flex;justify-content:space-between;gap:12px}.auth-card [hidden]{display:none!important}.auth-card input{min-width:0;max-width:100%;box-sizing:border-box}

.auth-card[data-scroll-key="login"] button,.auth-card[data-scroll-key="login"] label{font-weight:500}.auth-card[data-scroll-key="login"] h1{font-weight:600}

/* A consistent completion action on every unfinished task surface. */
.todo-row:has(.todo-row-actions){grid-template-columns:30px minmax(0,1fr) auto}
.todo-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
.todo-row-actions .todo-mark-done,.scheduled-subtask-card .todo-mark-done{min-height:40px;padding:7px 10px;font-size:13px;font-weight:500;white-space:nowrap}
.todo-row-actions .todo-quick-actions-trigger{min-width:40px;min-height:40px}
.todo-focus-card .todo-row-actions{grid-column:1/-1;justify-content:space-between;gap:4px}
.todo-focus-card .todo-mark-done{padding-inline:6px;font-size:12px;white-space:normal;line-height:1.3}
.todo-focus-card .todo-quick-actions-trigger{min-width:32px;width:32px}
.scheduled-subtask-card:has(.todo-mark-done){grid-template-columns:28px minmax(0,1fr) auto auto}
@media(max-width:640px){.todo-row:has(.todo-row-actions){grid-template-columns:28px minmax(0,1fr)}.todo-row>.todo-row-actions{grid-column:2;justify-content:flex-end}.scheduled-subtask-card:has(.todo-mark-done){grid-template-columns:28px minmax(0,1fr) auto}.scheduled-subtask-card>.todo-mark-done{grid-column:2;grid-row:2;justify-self:start}.scheduled-subtask-card>.icon-btn{grid-column:3;grid-row:1/3}}

/* Embedded invoice scrolling must stop inside the visible shell, below its bars. */
.app-shell.invoice-embed-active{height:100dvh;min-height:0}
.app-shell.invoice-embed-active .content-shell{height:100%;min-height:0;min-width:0;overflow:hidden}
.app-shell.invoice-embed-active .content-shell>main{height:auto;min-height:0;min-width:0;padding:0;align-self:stretch;overflow:hidden}
.app-shell.invoice-embed-active .invoice-builder-embed{min-height:0;max-height:100%}

.sidebar .app-update-button{display:flex;align-items:center;gap:8px;margin:8px 12px;padding:10px 12px;min-height:44px;border:1px solid #756b3c;border-radius:6px;background:#4b4634;color:#fff3b0;font-family:inherit;font-size:14px;font-weight:500;flex-wrap:wrap;text-align:left;cursor:pointer}.sidebar .app-update-button small{font-size:12px;font-weight:400}.sidebar .app-update-button:hover{background:#5b5337}.sidebar .app-update-button:focus-visible{outline:2px solid #ffcf00;outline-offset:2px}.sidebar .app-update-button[hidden]{display:none!important}

/* To-Do: compact mobile controls and wider, shallower focus cards. */
.todo-page[data-todo-day]>.todo-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px 12px}
@media(max-width:760px){
  .todo-page[data-todo-day]>.todo-header{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:12px}
  .todo-page[data-todo-day]>.todo-header>div:first-child{grid-column:1;grid-row:1}
  .todo-page[data-todo-day]>.todo-header>#newScheduledTaskBtn{grid-column:2;grid-row:1;min-height:40px;margin:0;white-space:nowrap;padding:8px 12px}
  .todo-page[data-todo-day] .todo-header-actions{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:40px minmax(0,1fr) 40px 40px;gap:8px;min-width:0}
  .todo-header-actions #quickReceiptCameraBtn{grid-column:1;grid-row:1;order:0}
  .todo-header-actions .todo-inline-scope{grid-column:2;grid-row:1;min-width:0}
  .todo-header-actions .todo-inline-scope select{width:100%;max-width:none;min-width:0;min-height:40px;height:40px;padding:8px;font-size:14px}
  .todo-header-actions #todoMultiSelectToggle{grid-column:3;grid-row:1;order:0}
  .todo-header-actions #todoSearchToggle{grid-column:4;grid-row:1;order:0}
  .todo-page[data-todo-day] .todo-header-actions .icon-only{width:40px;min-width:40px;height:40px;min-height:40px;padding:8px;margin:0}
  .todo-focus-strip{margin-bottom:16px;padding:8px}
  .todo-focus-strip>header{margin:0 0 8px}
  .todo-focus-card{flex:0 0 clamp(228px,68vw,248px);min-width:0;max-width:none;min-height:0;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-content:start;align-items:center;gap:4px 8px;padding:8px}
  .todo-focus-card h3{font-size:14px;line-height:1.35;min-height:0}
  .todo-focus-card .todo-focus-meta{display:contents}
  .todo-focus-card .todo-priority{grid-column:1;grid-row:2;justify-self:start}
  .todo-focus-card .todo-carried-over{grid-column:1/-1;grid-row:3;font-size:11px;line-height:1.35}
  .todo-focus-card .todo-row-actions{grid-column:2;grid-row:2;gap:4px;align-self:center}
  .todo-focus-card .todo-mark-done{font-size:12px;white-space:nowrap;padding:6px;min-height:40px}
  .todo-focus-card .todo-quick-actions-trigger{width:40px;min-width:40px;min-height:40px}
  .todo-focus-card:has(.todo-multi-checkbox){grid-template-columns:minmax(0,1fr)}
}

.scheduled-repeat-grid [data-repeat-count][hidden]{display:none!important}
@media(min-width:761px){.scheduled-repeat-grid:has([data-repeat-count][hidden]){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

/* Version history stays independent of mounted module forms. */
.app-version-link{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 12px;background:transparent;border:0;color:#cbd5e1;text-align:left;font:400 12px/1.4 Inter,system-ui,sans-serif;cursor:pointer;min-height:40px;flex-shrink:0}
.app-version-link span{font-size:11px;color:#aebacf}.app-version-link:hover{background:#26344b;color:#fff}.app-version-link:focus-visible{outline:2px solid #ffdb48;outline-offset:-2px}
.release-history-dialog{width:min(860px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid #d9dde2;border-radius:12px;color:#303640;background:#fff;box-shadow:0 20px 60px #0003;font-family:Inter,system-ui,sans-serif;overflow:hidden}
.release-history-dialog::backdrop{background:#14203366}.release-history-dialog>header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e6e8eb;gap:12px}.release-history-dialog h2{font-size:21px;font-weight:600;margin:0}.release-history-dialog header p{font-size:13px;color:#667085;margin:6px 0 0}.release-history-dialog header button{min-width:40px;min-height:40px}.release-search{display:grid;gap:6px;padding:16px 24px;font-size:13px}.release-search input{width:100%;padding:10px 12px;border:1px solid #d9dde2;border-radius:6px;font:inherit;box-sizing:border-box}
.release-layout{display:grid;grid-template-columns:220px minmax(0,1fr);height:min(480px,60dvh);border-top:1px solid #e6e8eb}.release-layout nav{overflow:auto;padding:8px;border-right:1px solid #e6e8eb}.release-layout nav button{display:grid;gap:4px;width:100%;text-align:left;background:#fff;color:#414650;border:0;border-radius:6px;padding:12px;font:400 14px/1.4 Inter,system-ui,sans-serif;cursor:pointer;min-height:44px}.release-layout nav button[aria-current=true]{background:#fff7d6;color:#333}.release-layout nav button:hover{background:#f3f4f6}.release-layout nav small{color:#667085;font-size:12px}.release-layout section{overflow:auto;padding:20px 24px;overflow-wrap:anywhere}.release-layout h3{font-size:18px;font-weight:550;margin:8px 0 16px}.release-layout li{font-size:14px;line-height:1.65;margin-bottom:10px}.release-layout ul{padding-left:20px}.release-meta,.release-archive-note{font-size:12px;line-height:1.5;color:#667085}.release-archive-note{margin-top:24px}.release-history-dialog button:focus-visible{outline:2px solid #8d741c;outline-offset:-2px}
@media(max-width:600px){.release-history-dialog>header{padding:16px}.release-search{padding:12px 16px}.release-layout{grid-template-columns:130px minmax(0,1fr);height:58dvh}.release-layout nav{padding:4px}.release-layout nav button{font-size:12px;padding:10px 8px}.release-layout section{padding:14px}.release-layout h3{font-size:16px}}

/* Available update details never replace the mounted working page. */
.app-update-actions[hidden]{display:none!important}.app-update-actions{margin:8px 12px;display:flex;flex-wrap:wrap;gap:4px;align-items:center}.sidebar .app-update-actions .app-update-button{margin:0;width:100%}.app-update-notes{min-height:40px;padding:8px 10px;background:transparent;border:0;color:#fff3b0;font:400 13px/1.4 Inter,system-ui,sans-serif;cursor:pointer}.app-update-notes:hover{background:#4b4634}.app-update-notes:focus-visible{outline:2px solid #ffcf00;outline-offset:2px}.app-update-dialog{width:min(620px,calc(100vw - 32px))}.app-update-details{max-height:55dvh;overflow:auto;overscroll-behavior:contain;padding:16px 24px;font-size:14px;line-height:1.6}.app-update-details h3{font-size:17px;font-weight:550;margin:4px 0 8px}.app-update-details article+article{border-top:1px solid #e6e8eb;margin-top:16px;padding-top:16px}.app-update-details ul{padding-left:20px}.app-update-dialog footer{display:flex;justify-content:flex-end;gap:8px;padding:16px 24px;border-top:1px solid #e6e8eb}.app-update-dialog footer button{min-height:40px}@media(max-width:600px){.app-update-details{padding:16px}.app-update-dialog footer{padding:12px 16px}.app-update-dialog footer button{flex:1}}

/* Five shortcuts fit within the sidebar and compact phone header. */
.desktop-module-shortcuts{gap:4px;padding:0 4px}
.desktop-module-shortcuts .module-shortcut-link{width:36px;min-width:36px;height:40px}
@media(max-width:920px){.mobile-header .mobile-logo-frame{width:100%;max-width:110px}.mobile-header .mobile-command-centre-brand{flex:1 1 60px;min-width:24px}.mobile-header .module-shortcuts{flex:0 0 auto}.mobile-header>button{margin-left:0}}

/* Compact contracts toolbar; keep actions visible while agreements load. */
.contracts-page-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.contracts-loading{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.contracts-loading .loader{display:block;flex-shrink:0}.contracts-loading p{margin:0}
@media(max-width:700px){.contracts-page-actions{display:grid;grid-template-columns:1fr;width:100%;gap:8px}.contracts-page-actions button{width:100%;white-space:normal}}

/* The dark master logo needs a white surface on charcoal navigation. */
.logo.custom-logo.master-logo{background:#fff!important;border-radius:6px;padding:5px;box-sizing:border-box}

/* Keep the complete wordmark comfortably inside the compact phone header. */
@media(max-width:720px){
  .mobile-header .mobile-logo-frame{box-sizing:border-box;width:clamp(78px,26vw,104px);height:48px;padding:4px 6px;overflow:hidden;border-radius:9px;background:#fff;flex:0 1 auto}
  .mobile-header .mobile-command-centre-brand{flex:0 1 auto;min-width:0;width:auto}
  .mobile-logo-frame .logo.custom-logo{width:100%!important;height:100%!important;padding:0!important;border-radius:4px!important;overflow:hidden!important;background:transparent!important}
  .mobile-logo-frame .logo.custom-logo img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important}
}

.invoice-subnav{display:flex;gap:6px;margin-bottom:24px;padding:5px;width:max-content;max-width:100%;border:1px solid #dfe4ea;border-radius:12px;background:#f5f7f9}.invoice-subnav button{border:0;background:transparent;color:#536071;padding:9px 14px;border-radius:8px;font-weight:550;cursor:pointer}.invoice-subnav button.active{background:#fff;color:#10192a;box-shadow:0 2px 8px #17203312}.invoice-page-heading,.invoice-builder-heading,.invoice-detail-heading,.roadmap-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}.invoice-page-heading h1,.invoice-builder-heading h1,.invoice-detail-heading h1,.roadmap-heading h1{font-size:clamp(28px,3vw,42px);letter-spacing:-.035em;margin:3px 0 7px}.invoice-page-heading p,.roadmap-heading p{max-width:720px;color:#697586}.invoice-new-button{min-width:148px}.invoice-notice{padding:13px 16px;margin:0 0 18px;border:1px solid #bfe3cb;border-radius:10px;background:#effbf3;color:#176537;font-weight:550}.invoice-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:10px;margin-bottom:18px}.invoice-summary-card{min-height:92px;padding:16px;text-align:left;border:1px solid #e0e5eb;border-radius:13px;background:#fff;cursor:pointer;transition:.15s ease}.invoice-summary-card:hover{border-color:#98a5b5;transform:translateY(-1px)}.invoice-summary-card span{display:block;color:#6d7888;font-size:12px;font-weight:550}.invoice-summary-card strong{display:block;margin-top:8px;color:#111a2b;font-size:23px}.invoice-summary-card.overdue strong{color:#b43b32}.invoice-summary-card.money{background:#111a2b}.invoice-summary-card.money span,.invoice-summary-card.money strong{color:#fff}.invoice-toolbar{display:flex;gap:10px;margin-bottom:12px}.invoice-search{position:relative;display:flex;align-items:center;flex:1;min-width:280px}.invoice-search span{position:absolute;left:13px;color:#687486}.invoice-search input,.invoice-toolbar select{width:100%;min-height:43px;border:1px solid #d9e0e8;border-radius:10px;background:#fff;padding:10px 12px}.invoice-search input{padding-left:36px}.invoice-toolbar select{width:auto;min-width:155px}.invoice-table-wrap{overflow:auto;border:1px solid #e0e5eb;border-radius:14px;background:#fff}.invoice-table{width:100%;min-width:1050px;border-collapse:collapse}.invoice-table th{padding:12px 14px;background:#f5f7f9;color:#697586;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.invoice-table td{padding:14px;border-top:1px solid #edf0f3;color:#263244;vertical-align:top;font-size:13px}.invoice-table td small{display:block;margin-top:3px;color:#7a8595}.invoice-table .money{text-align:right}.invoice-number-link{border:0;background:none;padding:0;color:#1a5baa;font-weight:550;cursor:pointer}.row-action{border:1px solid #d8dee7;border-radius:8px;background:#fff;padding:7px 10px;font-weight:550;cursor:pointer}.invoice-status{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#eef1f5;color:#4e5968;font-size:11px;font-weight:550;white-space:nowrap}.invoice-status.status-paid,.invoice-status.status-fully_credited{background:#e4f6eb;color:#1f6f3d}.invoice-status.status-overdue{background:#fde8e6;color:#a9362e}.invoice-status.status-part_paid,.invoice-status.status-part_credited{background:#fff2d7;color:#8a5b00}.invoice-status.status-sent,.invoice-status.status-issued{background:#e7effd;color:#285992}.confidence-small{max-width:190px}.invoice-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:160px;color:#758193;text-align:center}.invoice-loading{display:grid;place-items:center;min-height:420px;gap:12px}.invoice-create-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1000px}.invoice-create-choices>button{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;min-height:150px;padding:24px;border:1px solid #dce2e9;border-radius:16px;background:#fff;text-align:left;cursor:pointer}.invoice-create-choices>button:hover{border-color:#5579aa;box-shadow:0 12px 30px #13213a12}.choice-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:15px;background:#162239;color:#fff;font-size:24px;font-weight:550}.choice-icon.manual{background:#f4c445;color:#172033}.invoice-create-choices b{font-size:18px}.invoice-create-choices p{margin-top:6px;color:#697586}.invoice-builder-heading{position:sticky;top:0;z-index:20;margin:-6px -6px 18px;padding:12px 6px;background:#f3f5f8ee;backdrop-filter:blur(10px)}.invoice-builder-heading>div:first-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.invoice-builder-heading>div:last-child{display:flex;gap:8px}.back-link{border:0;background:none;padding:0;color:#526174;font-weight:550;cursor:pointer}.draft-save-status{border-radius:999px;background:#eaf0f5;padding:5px 9px;color:#667386;font-size:11px;font-weight:550}.invoice-builder-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(380px,.8fr);gap:22px;align-items:start}.invoice-builder-form{display:grid;gap:16px}.invoice-form-card{padding:22px;border:1px solid #dfe4eb;border-radius:15px;background:#fff;box-shadow:0 5px 18px #16233a08}.invoice-form-card h2{font-size:19px}.invoice-form-card h3{margin:22px 0 10px}.invoice-form-card label{display:grid;gap:6px;color:#2f3a4a;font-size:12px;font-weight:550}.invoice-form-card label small{color:#8993a0;font-weight:550}.invoice-form-card input,.invoice-form-card select,.invoice-form-card textarea{width:100%;min-height:42px;border:1px solid #d9dfe7;border-radius:9px;background:#fff;padding:10px 11px;color:#172033;font:inherit;font-weight:500}.invoice-form-card textarea{min-height:86px;resize:vertical}.invoice-form-card input:focus,.invoice-form-card select:focus,.invoice-form-card textarea:focus{outline:3px solid #2d6da519;border-color:#4c78aa}.form-card-heading{display:flex;align-items:start;justify-content:space-between;margin-bottom:18px}.form-card-heading>div{display:flex;gap:12px}.form-card-heading>div>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#15223a;color:#fff;font-size:12px;font-weight:550}.form-card-heading p{margin-top:4px;color:#758091;font-size:12px}.invoice-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.booking-search-box{position:relative}.booking-search-box input{padding-right:100px}.booking-search-box>span{position:absolute;right:12px;top:13px;color:#6c7888;font-size:12px}.booking-result-list{display:grid;gap:7px;margin-top:8px;max-height:330px;overflow:auto}.booking-result-list button{display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e2e6ec;border-radius:10px;background:#fff;text-align:left;cursor:pointer}.booking-result-list button:hover{border-color:#6d8db8;background:#f7faff}.booking-result-list button div{display:grid;gap:3px}.booking-result-list span,.booking-result-list small{color:#6f7a89;font-size:12px}.booking-import-warning{display:grid;gap:4px;margin-top:12px;padding:12px;border-radius:10px;background:#fff8e5;color:#73540a}.booking-import-warning span{font-size:12px;line-height:1.5}.imported-badge{display:inline-flex;width:max-content;border-radius:999px;background:#e7effd;color:#285992;padding:4px 8px;font-size:10px;text-transform:uppercase;letter-spacing:.04em}.preset-strip{display:flex;gap:7px;overflow:auto;padding-bottom:8px}.preset-strip button{flex:0 0 auto;border:1px solid #dce2e9;border-radius:999px;background:#fff;padding:8px 11px;color:#3b4655;font-weight:550;cursor:pointer}.preset-strip button.prominent{border-color:#d5ad31;background:#fff8db}.quick-line-add{display:flex;gap:8px;margin:12px 0}.quick-line-add select{flex:1}.invoice-line-list{display:grid;gap:8px}.invoice-line-row{display:grid;grid-template-columns:20px minmax(180px,1fr) 78px 105px 90px 32px 32px;gap:8px;align-items:end;padding:10px;border:1px solid #e2e6eb;border-radius:11px;background:#fafbfc}.invoice-line-row label{gap:4px}.invoice-line-row strong{align-self:center;text-align:right;font-size:12px}.invoice-line-row button{align-self:center;border:0;background:#edf1f5;border-radius:7px;width:30px;height:30px;cursor:pointer}.line-grip{align-self:center;color:#a5adb8}.invoice-adjustments{display:grid;grid-template-columns:repeat(2,minmax(0,170px));justify-content:end;gap:10px;margin-top:14px}.invoice-preview-panel{position:sticky;top:82px;padding:14px;border:1px solid #dfe4ea;border-radius:15px;background:#e7ebf0}.preview-panel-heading{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 12px}.preview-panel-heading div{display:grid}.preview-panel-heading span{color:#778394;font-size:11px}.preview-panel-heading button{border:0;background:none;color:#3d5f8a;font-weight:550}.invoice-live-preview{aspect-ratio:1/1.414;min-height:580px;padding:7%;background:#fff;color:#202735;box-shadow:0 7px 22px #16233a14;font-size:9px;overflow:hidden}.invoice-preview-top{display:flex;justify-content:space-between;gap:20px}.swift-wordmark{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:7px;align-items:center}.swift-wordmark>span{grid-row:1/3;color:#f0b91d;font-size:34px}.swift-wordmark>b{font-size:14px}.swift-wordmark>small{color:#e8b310;text-align:center;letter-spacing:.15em}.invoice-preview-top>div:last-child{display:grid;text-align:right}.invoice-preview-top h3{font-size:24px;letter-spacing:.05em}.invoice-preview-top span{margin-top:18px;color:#6e7887}.invoice-preview-top strong{font-size:13px}.invoice-preview-meta{display:flex;justify-content:space-between;margin:45px 0 30px}.invoice-preview-meta>div{display:grid;gap:3px}.invoice-preview-meta>div:last-child{gap:8px;text-align:right}.invoice-preview-customer{display:grid;min-height:42px}.invoice-live-preview table{width:100%;border-collapse:collapse}.invoice-live-preview th{padding:8px;background:#151d2a;color:#fff;text-align:left}.invoice-live-preview td{padding:9px 8px;border-bottom:1px solid #dfe2e5}.invoice-preview-totals{display:grid;gap:8px;width:48%;margin:12px 0 0 auto}.invoice-preview-totals span{display:flex;justify-content:space-between}.invoice-preview-totals .total{padding-top:7px;border-top:1px solid #cbd1d8;font-weight:550}.invoice-preview-totals .balance{padding:9px;background:#f0f2f5;font-weight:550}.invoice-preview-bank{display:grid;gap:3px;margin-top:30px}.invoice-detail-heading>div:first-child>div{display:flex;align-items:center;gap:10px}.invoice-detail-actions{display:flex;gap:8px;flex-wrap:wrap}.invoice-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}.invoice-detail-grid main,.invoice-detail-grid aside{display:grid;gap:14px}.invoice-detail-summary{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #dfe4eb;border-radius:14px;background:#fff;overflow:hidden}.invoice-detail-summary>div{display:grid;gap:6px;padding:17px;border-right:1px solid #e6e9ed}.invoice-detail-summary>div:last-child{border:0}.invoice-detail-summary span{color:#728092;font-size:11px;font-weight:550}.invoice-detail-summary strong{font-size:20px}.invoice-detail-summary .balance{background:#172238;color:#fff}.invoice-detail-summary .balance span{color:#c9d2df}.invoice-detail-card,.invoice-action-card{padding:20px;border:1px solid #dfe4eb;border-radius:14px;background:#fff}.invoice-detail-card h2,.invoice-action-card h2{margin-bottom:14px;font-size:17px}.invoice-detail-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.invoice-detail-card dl div{display:grid;gap:4px}.invoice-detail-card dt{color:#758193;font-size:11px;font-weight:550}.invoice-detail-card dd{margin:0;font-weight:550}.detail-line-table{display:grid}.detail-line-table>div{display:grid;grid-template-columns:1fr auto 100px;gap:14px;padding:11px 0;border-top:1px solid #edf0f3}.detail-line-table>div:first-child{border-top:0}.detail-line-table small{color:#748091}.detail-line-table b{text-align:right}.payment-confidence{display:grid;gap:5px;margin:13px 0;padding:12px;border-radius:10px;background:#fff5df;color:#745407}.payment-confidence span,.payment-confidence small{font-size:11px;line-height:1.45}.invoice-action-card .full{width:100%;margin-top:8px}.invoice-timeline{display:grid}.invoice-timeline>div{display:grid;grid-template-columns:12px 1fr;gap:10px;padding:8px 0}.invoice-timeline>div>span{width:8px;height:8px;margin-top:5px;border-radius:50%;background:#4f78a8}.invoice-timeline>div>div{display:grid;gap:3px}.invoice-timeline small{color:#7c8794}.card-heading-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.invoice-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.bank-settings-card{grid-column:1/-1}.saved-bank{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 0;border-top:1px solid #edf0f3}.saved-bank>div{display:grid;gap:3px}.saved-bank small{color:#6d7988}.saved-bank b span{border-radius:999px;background:#e6f5ea;color:#226840;padding:3px 6px;font-size:9px}.saved-bank button{border:0;background:none;color:#2f5f99;font-weight:550}.settings-save-bar{grid-column:1/-1;position:sticky;bottom:12px;display:flex;justify-content:flex-end;padding:12px;border:1px solid #dfe4eb;border-radius:12px;background:#fffffff0;backdrop-filter:blur(8px)}.email-config-status{display:grid;gap:4px;margin:10px 0 14px;padding:12px;border-radius:10px;background:#fff4dd;color:#745407}.email-config-status.ready{background:#eaf8ef;color:#1f6e3e}.connection-progress{display:grid;grid-template-columns:repeat(5,1fr);margin:0 0 20px;border:1px solid #dfe4eb;border-radius:14px;background:#fff;overflow:hidden}.connection-progress>div{display:flex;align-items:center;gap:9px;padding:14px;border-right:1px solid #e5e9ee;color:#7a8594}.connection-progress>div:last-child{border:0}.connection-progress span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e8ecf1;font-size:10px}.connection-progress .done{color:#243246}.connection-progress .done span{background:#1f7544;color:#fff}.provider-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;padding:22px;border:1px solid #dfe4eb;border-radius:15px;background:#fff}.provider-logo{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;background:#18243a;color:#fff;font-size:25px;font-weight:550}.provider-main>div{display:flex;align-items:center;gap:10px}.provider-main p{margin:7px 0 13px;color:#6c7888}.provider-main dl{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.provider-main dl div{display:grid;gap:4px}.provider-main dt{color:#798493;font-size:10px;text-transform:uppercase;font-weight:550}.provider-main dd{margin:0;font-size:12px}.connection-pill{border-radius:999px;background:#e8f6ed;color:#216b3f;padding:4px 8px;font-size:10px;font-weight:550}.provider-actions{display:grid;gap:8px;align-content:start}.connection-plain-guide{margin-top:16px;padding:22px;border:1px solid #dfe4eb;border-radius:15px;background:#fff}.connection-plain-guide ol{display:grid;gap:10px;margin:14px 0 0;padding-left:20px;color:#4e5b6d}.roadmap-heading .eyebrow span{margin-left:8px;border-radius:999px;background:#f4c541;color:#2c2c22;padding:3px 7px}.commercial-vision{display:flex;justify-content:space-between;gap:20px;margin-bottom:18px;padding:22px;border:1px solid #d2a92d;border-radius:15px;background:linear-gradient(135deg,#fff8da,#fffdf5)}.commercial-vision>div{display:flex;gap:13px}.commercial-vision>div>span{font-size:26px}.commercial-vision small{color:#80620d;font-weight:550;text-transform:uppercase}.commercial-vision p{max-width:900px;margin-top:7px;line-height:1.6;font-weight:550}.commercial-vision button{align-self:start;border:0;background:none;color:#765912;font-weight:550}.roadmap-filter-bar{display:flex;gap:7px;overflow:auto;margin-bottom:14px}.roadmap-filter-bar button{flex:0 0 auto;border:1px solid #dce2e9;border-radius:999px;background:#fff;padding:8px 12px;font-weight:550}.roadmap-filter-bar button.active{border-color:#172238;background:#172238;color:#fff}.roadmap-grid{display:grid;grid-template-columns:repeat(4,minmax(230px,1fr));gap:12px}.roadmap-card{display:grid;align-content:start;min-height:180px;padding:17px;border:1px solid #dfe4eb;border-top:4px solid #7d8998;border-radius:13px;background:#fff}.roadmap-card.priority-high,.roadmap-card.priority-critical{border-top-color:#c54a3e}.roadmap-card>div{display:flex;justify-content:space-between;gap:6px;color:#7a8594;font-size:10px;text-transform:capitalize}.roadmap-card h2{margin:14px 0 8px;font-size:16px}.roadmap-card p{color:#687586;font-size:12px;line-height:1.5}.roadmap-card footer{display:flex;justify-content:space-between;margin-top:auto;padding-top:15px;color:#687586;font-size:11px;text-transform:capitalize}.roadmap-card footer button{border:0;background:none;color:#315f96;font-weight:550}
@media(max-width:1180px){.invoice-summary-grid{grid-template-columns:repeat(3,minmax(150px,1fr))}.invoice-builder-layout{grid-template-columns:minmax(0,1fr) 360px}.invoice-line-row{grid-template-columns:18px minmax(150px,1fr) 70px 95px 75px 28px 28px}.roadmap-grid{grid-template-columns:repeat(3,minmax(220px,1fr))}.provider-main dl{grid-template-columns:1fr}}
@media(max-width:900px){.invoice-builder-layout,.invoice-detail-grid{grid-template-columns:1fr}.invoice-preview-panel{position:relative;top:auto}.invoice-settings-grid{grid-template-columns:1fr}.bank-settings-card,.settings-save-bar{grid-column:auto}.roadmap-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}.connection-progress{grid-template-columns:1fr}.connection-progress>div{border-right:0;border-bottom:1px solid #e5e9ee}.provider-card{grid-template-columns:auto 1fr}.provider-actions{grid-column:1/-1;grid-template-columns:repeat(2,1fr)}.invoice-detail-summary{grid-template-columns:repeat(2,1fr)}.invoice-detail-summary>div:nth-child(2){border-right:0}}
@media(max-width:640px){.invoice-subnav{width:100%;overflow:auto}.invoice-subnav button{flex:1 0 auto;padding:8px 10px}.invoice-page-heading,.invoice-builder-heading,.invoice-detail-heading,.roadmap-heading{flex-direction:column}.invoice-new-button{width:100%}.invoice-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-summary-card{min-height:80px;padding:13px}.invoice-summary-card strong{font-size:19px}.invoice-toolbar{display:grid;grid-template-columns:1fr 1fr}.invoice-search{grid-column:1/-1;min-width:0}.invoice-toolbar select{width:100%;min-width:0}.invoice-create-choices{grid-template-columns:1fr}.invoice-create-choices>button{grid-template-columns:auto 1fr;min-height:130px;padding:18px}.invoice-create-choices>button>span:last-child{display:none}.invoice-builder-heading{position:relative;top:auto}.invoice-builder-heading>div:last-child{width:100%}.invoice-builder-heading>div:last-child button{flex:1}.invoice-two-col{grid-template-columns:1fr}.invoice-line-row{grid-template-columns:16px minmax(0,1fr) 72px}.invoice-line-row label:first-of-type{grid-column:2/4}.invoice-line-row label:nth-of-type(2){grid-column:2}.invoice-line-row label:nth-of-type(3){grid-column:3}.invoice-line-row>strong{grid-column:2;text-align:left}.invoice-line-row button{grid-row:3}.invoice-adjustments{grid-template-columns:1fr 1fr}.invoice-live-preview{min-height:470px}.invoice-detail-actions{width:100%}.invoice-detail-actions button{flex:1}.invoice-detail-summary{grid-template-columns:1fr 1fr}.invoice-detail-card dl{grid-template-columns:1fr}.detail-line-table>div{grid-template-columns:1fr auto}.detail-line-table small{grid-column:1}.roadmap-grid{grid-template-columns:1fr}.commercial-vision{flex-direction:column}.provider-card{grid-template-columns:1fr}.provider-logo{width:48px;height:48px}.provider-actions{grid-template-columns:1fr}.connection-progress{display:none}}
.invoice-summary-card.selected{border-color:#315f96;box-shadow:0 0 0 2px #315f9626}.invoice-summary-card.money{cursor:default}.invoice-summary-card.money:hover{transform:none}.draft-save-status.failed{background:#fde8e6;color:#a9362e}.line-order{display:grid;gap:2px;align-self:center}.line-order button{width:20px;height:18px;border:0;border-radius:4px;background:#e8edf3;color:#48586d;font-size:10px;line-height:1;cursor:pointer}.line-order button:disabled{opacity:.3;cursor:default}.invoice-preview-panel.expanded{position:fixed;inset:20px;z-index:1000;overflow:auto;max-width:900px;margin:auto;background:#e7ebf0;box-shadow:0 20px 80px #10192a55}.invoice-preview-panel.expanded .invoice-live-preview{max-width:720px;margin:auto;min-height:900px}

/* Keep the preview in the page flow so it never obscures invoice fields. */
.invoice-builder-layout{grid-template-columns:minmax(0,1fr)}
.invoice-builder-form{min-width:0}
.invoice-preview-panel,.invoice-preview-panel.expanded{position:relative;inset:auto;top:auto;z-index:auto;width:min(100%,820px);max-width:820px;margin:6px auto 0;overflow:visible;box-shadow:none}
.invoice-preview-panel.expanded{width:min(100%,980px);max-width:980px}
.invoice-preview-panel.expanded .invoice-live-preview{max-width:760px;margin:auto;min-height:900px}
.booking-cache-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;padding:10px 12px;border:1px solid #dce5f1;border-radius:10px;background:#f4f8fd;color:#596a80}
.booking-cache-bar>span{font-size:11px;line-height:1.45}
.booking-cache-bar button{flex:0 0 auto;padding:8px 11px;font-size:11px}
.booking-result-list button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.booking-result-primary,.booking-result-stay{min-width:0}
.booking-result-primary span,.booking-result-stay span{overflow-wrap:anywhere}
.booking-result-primary span strong,.booking-result-stay span strong{color:#39485c}
.booking-result-stay{justify-items:end;text-align:right}
.selected-booking-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid #dce4ee;border-radius:12px;background:#f8fafc}
.selected-booking-summary>div{display:grid;gap:4px;min-width:0}.selected-booking-summary b{font-size:15px}.selected-booking-summary span{color:#344257;font-weight:550}.selected-booking-summary small{color:#718096;line-height:1.45}
.booking-import-warning.booking-total-found{background:#eaf8ef;color:#1f6e3e}
.invoice-line-row textarea[data-line-description]{min-height:64px;resize:vertical;line-height:1.4}
.invoice-description-display{white-space:pre-line;line-height:1.45}
.detail-line-table>div>span{white-space:pre-line}

@media(max-width:640px){
  .booking-cache-bar{align-items:stretch;flex-direction:column}
  .booking-cache-bar button{width:100%}
  .booking-result-list button{grid-template-columns:1fr}
  .booking-result-stay{justify-items:start;text-align:left;padding-top:7px;border-top:1px solid #edf0f4}
  .selected-booking-summary{align-items:stretch;flex-direction:column}.selected-booking-summary button{width:100%}
  .invoice-preview-panel.expanded .invoice-live-preview{min-height:560px}
}

/* Invoice-shaped editing surface */
.invoice-builder-heading-v2{align-items:center}
.invoice-builder-title{min-width:0}
.invoice-builder-title>div{display:flex;align-items:center;gap:10px;min-width:0}
.invoice-builder-title h1{margin:0;white-space:nowrap}
.invoice-builder-actions{display:flex;gap:8px}
.invoice-paper-card{padding:0;overflow:hidden;border-color:#d8dee7;box-shadow:0 12px 38px rgba(16,25,42,.09)}
.invoice-paper-masthead{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px;background:#151f31;color:#fff}
.invoice-paper-brand{display:flex;align-items:center;gap:11px}
.invoice-paper-brand>span{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#f2c443;color:#172033;font-size:14px;font-weight:550}
.invoice-paper-brand div{display:grid;gap:2px}
.invoice-paper-brand b{font-size:14px}
.invoice-paper-brand small{color:#aeb9c9;font-size:10px}
.invoice-paper-document{display:grid;justify-items:end;gap:4px}
.invoice-paper-document strong{color:#f2c443;font-size:22px;letter-spacing:.11em}
.invoice-paper-document span{color:#c7d0dc;font-size:10px;font-weight:550}
.invoice-paper-intro{display:flex;align-items:flex-start;gap:12px;padding:22px 26px 18px;border-bottom:1px solid #e3e7ed}
.invoice-paper-intro h2{margin:0;font-size:20px}
.invoice-paper-intro p{margin:4px 0 0;color:#748092;font-size:12px}
.invoice-step-number{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#f2c443;color:#172033;font-size:12px;font-weight:550}
.invoice-paper-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr)}
.invoice-paper-section{min-width:0;padding:22px 26px}
.invoice-paper-section:nth-child(2){border-left:1px solid #e4e8ed}
.invoice-paper-section>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:16px;padding-bottom:9px;border-bottom:2px solid #192437}
.invoice-paper-section>header span{color:#192437;font-size:11px;font-weight:550;letter-spacing:.1em}
.invoice-paper-section>header small{color:#8a94a2;font-size:10px;text-align:right}
.invoice-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.invoice-field-wide{grid-column:1/-1}
.invoice-stay-details{grid-column:1/-1;border-top:1px solid #e4e8ed;background:#fafbfc}
.invoice-stay-grid{display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(3,minmax(135px,.7fr));gap:13px}
.invoice-paper-section label{min-width:0}
.invoice-paper-section input,.invoice-paper-section select{background:#fff}
.invoice-charge-card{position:relative;overflow:hidden}
.invoice-charge-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#f2c443}
.invoice-presets-label{margin-bottom:8px;color:#697586;font-size:10px;font-weight:550;text-transform:uppercase;letter-spacing:.07em}
.invoice-line-table-heading{display:grid;grid-template-columns:minmax(180px,1fr) 78px 105px 90px;gap:8px;margin:14px 74px 5px 38px;padding:0 10px;color:#788394;font-size:9px;font-weight:550;text-transform:uppercase;letter-spacing:.06em}
.invoice-line-table-heading span:last-child{text-align:right}
.invoice-charge-totals{display:grid;gap:8px;width:min(100%,360px);margin:18px 0 0 auto;padding-top:15px;border-top:1px solid #dfe4ea}
.invoice-charge-totals>span{display:flex;align-items:center;justify-content:space-between;gap:24px;color:#667386;font-size:12px}
.invoice-charge-totals b{color:#253247}
.invoice-charge-grand-total{margin-top:2px;padding:13px 14px;border-radius:10px;background:#172238!important;color:#fff!important;font-size:14px!important;font-weight:550}
.invoice-charge-grand-total strong{color:#f2c443;font-size:19px}
.invoice-notes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}

/* A genuine phone layout, including embedded iPhone browsers using a desktop layout viewport. */
@media (max-width:760px), (max-device-width:760px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  .app-shell,.content-shell,.content-shell main{min-width:0;width:100%;max-width:100%}
  .app-shell{grid-template-columns:minmax(0,1fr)}
  .sidebar{position:fixed;left:-270px;width:250px}
  .sidebar.show{left:0}
  .mobile-header{display:flex;width:100%;height:58px;align-items:center;justify-content:space-between;padding:0 14px;background:#10192a;color:#fff}
  .mobile-header .brand{padding:0}
  .mobile-header .brand span{display:none}
  .mobile-header .logo{width:31px;height:31px;border-radius:9px;font-size:11px}
  .mobile-header button{border:0;background:transparent;color:#fff;font-size:21px}
  .content-shell main{margin:0;padding:14px 12px 44px}
  .invoice-subnav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin-bottom:14px;padding:4px;overflow:visible}
  .invoice-subnav button{min-width:0;padding:9px 5px;font-size:11px;white-space:nowrap}
  .invoice-builder-heading-v2{position:relative;top:auto;z-index:auto;display:grid;grid-template-columns:1fr;margin:0 0 12px;padding:0;background:transparent;backdrop-filter:none;gap:11px}
  .invoice-builder-title{display:grid!important;gap:7px!important}
  .invoice-builder-title>div{justify-content:space-between;width:100%}
  .invoice-builder-title h1{font-size:25px}
  .back-link{width:max-content;font-size:12px}
  .draft-save-status{font-size:10px;white-space:nowrap}
  .invoice-builder-actions{display:grid!important;grid-template-columns:1fr 1.35fr;width:100%;gap:8px}
  .invoice-builder-actions button{width:100%;min-height:44px;font-size:13px}
  .invoice-builder-layout-v2,.invoice-builder-form-v2{display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;gap:12px}
  .invoice-form-card{width:100%;min-width:0;padding:15px;border-radius:14px;box-shadow:0 3px 12px rgba(16,25,42,.06)}
  .booking-import-card{padding:14px}
  .booking-card-heading{display:block;margin-bottom:13px}
  .booking-card-heading>div{align-items:flex-start}
  .booking-card-heading .imported-badge{margin:10px 0 0 40px}
  .form-card-heading{margin-bottom:14px}
  .form-card-heading>div{min-width:0;gap:10px}
  .form-card-heading>div>span{flex:0 0 25px;width:25px;height:25px}
  .form-card-heading h2{margin:0;font-size:17px}
  .form-card-heading p{line-height:1.4}
  .booking-cache-bar{align-items:stretch;flex-direction:column;gap:8px;padding:10px}
  .booking-cache-bar button{width:100%;min-height:42px}
  .booking-search-box input{min-height:48px;padding-right:42px;font-size:16px}
  .booking-search-box>span{top:16px}
  .booking-result-list{max-height:290px}
  .booking-result-list button{grid-template-columns:1fr;width:100%;padding:13px}
  .booking-result-primary b{font-size:15px}
  .booking-result-stay{justify-items:start;text-align:left;padding-top:8px;border-top:1px solid #edf0f4}
  .invoice-paper-card{padding:0;border-radius:15px}
  .invoice-paper-masthead{padding:17px 16px}
  .invoice-paper-brand>span{width:35px;height:35px}
  .invoice-paper-brand b{font-size:12px}
  .invoice-paper-document strong{font-size:18px}
  .invoice-paper-intro{padding:17px 15px 14px}
  .invoice-paper-intro h2{font-size:18px}
  .invoice-paper-intro p{line-height:1.4}
  .invoice-paper-grid{grid-template-columns:minmax(0,1fr)}
  .invoice-paper-section{grid-column:1!important;padding:18px 15px;border-left:0!important}
  .invoice-paper-section+.invoice-paper-section{border-top:1px solid #e4e8ed}
  .invoice-paper-section>header{align-items:flex-start;flex-direction:column;gap:3px;margin-bottom:14px}
  .invoice-paper-section>header small{text-align:left}
  .invoice-field-grid,.invoice-stay-grid,.invoice-notes-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .invoice-field-wide,.invoice-property-field{grid-column:1}
  .invoice-form-card label{font-size:12px}
  .invoice-form-card input,.invoice-form-card select,.invoice-form-card textarea{min-height:48px;padding:12px;font-size:16px}
  .invoice-form-card textarea{min-height:100px}
  .preset-strip{margin-right:-15px;padding-right:15px;scroll-snap-type:x proximity}
  .preset-strip button{min-height:40px;scroll-snap-align:start}
  .quick-line-add{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:12px 0}
  .quick-line-add select,.quick-line-add button{width:100%;min-height:46px}
  .invoice-line-table-heading{display:none}
  .invoice-line-row{display:grid;grid-template-columns:minmax(0,1fr) 88px 38px 38px;gap:9px;width:100%;padding:12px;background:#fbfcfd}
  .invoice-line-row .line-order{grid-column:1/-1;grid-row:1;display:flex;gap:5px}
  .invoice-line-row .line-order button{width:30px;height:27px}
  .invoice-line-row label:first-of-type{grid-column:1/-1;grid-row:2}
  .invoice-line-row label:nth-of-type(2){grid-column:1;grid-row:3}
  .invoice-line-row label:nth-of-type(3){grid-column:2/5;grid-row:3}
  .invoice-line-row>strong{grid-column:1/3;grid-row:4;align-self:center;text-align:left;font-size:14px}
  .invoice-line-row>strong:before{content:"Amount: ";color:#7c8795;font-size:10px;font-weight:550;text-transform:uppercase;letter-spacing:.05em}
  .invoice-line-row>button{grid-row:4!important;align-self:center;width:36px;height:36px}
  .invoice-line-row>button[data-duplicate-line]{grid-column:3}
  .invoice-line-row>button[data-delete-line]{grid-column:4;color:#aa3028;background:#fdeceb}
  .invoice-adjustments{grid-template-columns:minmax(0,1fr);justify-content:stretch}
  .invoice-charge-totals{width:100%;margin-top:14px}
  .invoice-preview-panel,.invoice-preview-panel.expanded{width:100%;max-width:100%;margin:0;padding:13px;border-radius:14px;overflow:hidden}
  .preview-panel-heading{padding:0}
  .preview-panel-heading button{min-height:38px;padding:0 5px;font-size:12px}
  .invoice-preview-panel:not(.expanded) .invoice-live-preview{display:none}
  .invoice-preview-panel.expanded .preview-panel-heading{padding-bottom:12px}
  .invoice-preview-panel.expanded .invoice-live-preview{display:block;width:100%;min-height:0;aspect-ratio:1/1.414;padding:6%;font-size:7px}
  .invoice-preview-panel.expanded .invoice-preview-meta{margin:28px 0 20px}
  .invoice-preview-panel.expanded .invoice-preview-top h3{font-size:18px}
  .invoice-preview-panel.expanded .swift-wordmark>span{font-size:25px}
  .invoice-preview-panel.expanded .swift-wordmark>b{font-size:10px}
  .invoice-preview-panel.expanded .invoice-preview-totals{width:58%}
}

/* Invoice module uses the same compact geometry and interaction language. */
.invoice-subnav,.invoice-subnav button,.invoice-notice,.invoice-summary-card,.invoice-search input,.invoice-toolbar select,.invoice-table-wrap,.row-action,.invoice-create-choices>button,.choice-icon,.draft-save-status,.invoice-form-card,.invoice-form-card input,.invoice-form-card select,.invoice-form-card textarea,.booking-result-list button,.booking-import-warning,.preset-strip button,.invoice-line-row,.invoice-line-row button,.invoice-preview-panel,.invoice-detail-summary,.invoice-detail-card,.invoice-action-card,.payment-confidence,.settings-save-bar,.email-config-status,.connection-progress,.provider-card,.provider-logo,.connection-pill,.connection-plain-guide,.commercial-vision,.roadmap-filter-bar button,.roadmap-card{border-radius:6px!important}
.invoice-status,.imported-badge,.saved-bank b span{border-radius:5px!important}
.invoice-summary-card,.invoice-form-card,.invoice-detail-card,.invoice-action-card,.provider-card,.connection-plain-guide,.invoice-table-wrap{background:#fff;border-color:#dfe5ed}
.invoice-summary-card:hover,.invoice-create-choices>button:hover,.booking-result-list button:hover,.row-action:hover,.roadmap-card:hover{border-color:#d0b33b;background:#fff9df;box-shadow:0 5px 16px rgba(25,32,45,.07);transform:none}
.invoice-summary-card.selected{border-color:#d0b33b;background:#fff9df;box-shadow:inset 4px 0 0 #d0a91c}
.invoice-subnav button.active,.roadmap-filter-bar button.active{background:#fff4bd;color:#332b00;box-shadow:inset 4px 0 0 #d0a91c}
.recurring-back-bar{display:flex;margin-bottom:18px}.recurring-back-bar button,.recurring-detail-back{min-height:42px;padding:9px 13px;border:1px solid #ccd5e3;border-radius:10px;background:#fff;color:#26364f;font-size:11px;font-weight:550;line-height:1.2}.recurring-detail-back:hover{border-color:#d0b33b;background:#fff9df;color:#3d3400}@media(max-width:760px){.recurring-back-bar{padding-top:14px}.recurring-detail-page{padding-top:14px}}
.recurring-section-form{display:grid;gap:16px}.recurring-section-form>.invoice-form-card{max-width:980px}.recurring-section-form .form-card-heading>div{align-items:flex-start}.recurring-section-form .form-card-heading h2{margin:0;line-height:28px}.recurring-section-form .form-card-heading p{margin-top:2px}.recurring-section-form .invoice-two-col{align-items:start}.recurring-section-form label,.recurring-cc-field label{gap:7px}.recurring-section-form .field-label{display:block;min-height:18px;line-height:18px}.recurring-section-form .field-label i{color:#c6322d;font-style:normal;font-weight:700}.recurring-section-form input,.recurring-section-form select{height:42px;min-height:42px}.recurring-cc-field{display:grid;gap:8px}.recurring-cc-field [data-cc-list]{display:grid;gap:8px}.recurring-cc-field>.text-btn{justify-self:start}.recurring-section-form label>small{line-height:1.45}
.booking-result-stay{justify-items:start}.booking-stay-tag{display:inline-flex;width:max-content;padding:4px 8px;border-radius:999px;font-size:11px;font-style:normal;font-weight:650;line-height:1.2}.booking-stay-tag.current{background:#e4f6eb;color:#1f6f3d}.booking-stay-tag.future{background:#e7effd;color:#285992}.booking-stay-tag.past{background:#eef1f5;color:#596575}
.booking-search-box>span{display:grid;place-items:center;width:32px;height:32px;right:7px!important;top:5px!important;color:#526174!important;font-size:22px!important;font-weight:500;line-height:1}.booking-search-box>span.can-clear{cursor:pointer}.booking-search-box>span.can-clear:hover{color:#172033!important;background:#eef1f5;border-radius:50%}.booking-search-box input{padding-right:48px!important}
.recurring-list{overflow:auto;border:1px solid #e0e5eb;border-radius:14px;background:#fff}.recurring-head,.recurring-row{display:grid;grid-template-columns:minmax(300px,1fr) 160px 160px 112px;gap:16px;align-items:center;min-width:760px;padding:13px 16px}.recurring-head{background:#f5f7f9;color:#697586;font-size:11px;font-weight:650;text-transform:uppercase}.recurring-row{width:100%;border:0;border-top:1px solid #edf0f3;background:#fff;color:#263244;text-align:left;cursor:pointer}.recurring-row.needs-action{box-shadow:inset 4px 0 0 #d0a91c}.recurring-row:hover{background:#f8fafc}.recurring-row:disabled{cursor:progress;opacity:.72}.recurring-row.is-loading{background:#f5f8fb}.recurring-row span:first-child{display:grid;gap:4px}.recurring-row small{color:#7a8595}.recurring-row em{justify-self:start;font-style:normal}.recurring-alerts{display:grid;gap:8px;margin-bottom:18px;padding:16px;border:1px solid #f2cf8b;border-radius:13px;background:#fff8e8}.recurring-alerts h2{font-size:16px}.recurring-reminder{display:flex;justify-content:space-between;gap:16px;border:0;border-radius:9px;background:#fff;padding:11px 13px;text-align:left;cursor:pointer}.recurring-reminder span{color:#a9362e}.recurring-form{max-width:900px}.recurring-check{display:flex!important;grid-column:1/-1;align-items:center}.recurring-check input{width:auto!important;min-height:auto!important}.number-stepper{display:flex;align-items:center;gap:10px}.number-stepper input{max-width:130px}.number-stepper>span{color:#687588}.recurring-history-card h2{margin:0 0 12px}.recurring-history-card>p{margin:0}.recurring-history-row{display:flex;align-items:center;gap:12px;width:100%;padding:12px 0;border-top:1px solid #edf0f3}.recurring-history-row:first-of-type{border-top:0}.recurring-history-open{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:14px;align-items:center;flex:1;min-width:0;border:0;background:none;padding:0;text-align:left;cursor:pointer}.recurring-history-open span{display:grid;gap:3px}.recurring-history-open small{color:#748091}.recurring-history-open em{font-style:normal}.invoice-action-card>span,.invoice-action-card>b{display:block;margin-top:8px}.invoice-status.status-active,.invoice-status.status-paid{background:#e4f6eb;color:#1f6f3d}.invoice-status.status-sent{background:#e9efff;color:#3154a5}.invoice-status.status-generated{background:#fff2d7;color:#8a5b00}.invoice-status.status-paused{background:#fff2d7;color:#8a5b00}.invoice-status.status-ended{background:#eef1f5;color:#4e5968}@media(max-width:760px){.recurring-form .invoice-two-col{grid-template-columns:1fr}.invoice-subnav{overflow-x:auto}.recurring-reminder{display:grid}.recurring-history-row{align-items:stretch;flex-direction:column}.recurring-history-open{grid-template-columns:1fr auto}.recurring-history-open em{grid-column:1/-1;justify-self:start}}
.recurring-approval-note,.recurring-approval-banner{border:1px solid #f0b5af;border-radius:10px;background:#fff1f0;color:#8f251d;padding:12px 14px;font-size:13px;line-height:1.45}.recurring-approval-note{grid-column:1/-1;margin:18px 0 0}.recurring-approval-banner{display:flex;align-items:center;gap:10px;margin:-10px 0 18px}.recurring-approval-banner span{color:#6f342f}.approve-send-btn{background:#b42318!important;border-color:#b42318!important}.invoice-status.status-pending_approval{background:#fee4e2;color:#b42318}
.recurring-detail-page{display:grid;gap:22px;max-width:1180px;margin:0 auto}.recurring-detail-back{justify-self:start;min-height:36px}.recurring-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.recurring-detail-heading h1{margin:3px 0 6px;font-size:clamp(28px,3vw,42px);letter-spacing:-.035em}.recurring-detail-heading>div:first-child>p:last-child{color:#697586}.recurring-detail-actions,.recurring-upcoming-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.danger-button{border-color:#e0a6a1!important;color:#a42921!important;background:#fff8f7!important}.recurring-generate-button{border-color:#cbd3de!important;background:#f7f9fb!important;color:#344054!important}.recurring-upcoming-card{border:1px solid #d8dee7;border-top:4px solid #d0a91c;border-radius:15px;background:#fff;padding:20px 22px}.recurring-upcoming-card header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.recurring-upcoming-card h2{margin:2px 0 0;font-size:22px}.recurring-upcoming-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid #e1e6ed;border-radius:11px;background:#f8fafc}.recurring-upcoming-grid>div{display:grid;grid-template-rows:22px auto minmax(0,auto);align-content:start;gap:6px;min-width:0;min-height:104px;padding:17px 18px;border-right:1px solid #e1e6ed}.recurring-upcoming-grid>div:last-child{border-right:0}.recurring-upcoming-grid span{display:flex;align-items:center;color:#697789;font-size:12px;font-weight:650}.recurring-upcoming-grid strong{align-self:start;color:#172033;font-size:17px;line-height:1.35}.recurring-upcoming-grid small{color:#7b8797;font-size:11px;line-height:1.35}.recurring-detail-content{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.recurring-settings-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;margin-top:14px;border:1px solid #e1e6ed;border-radius:11px}.recurring-settings-card dl>div{display:grid;grid-template-columns:minmax(115px,.45fr) minmax(0,1fr);align-items:center;gap:18px;min-height:68px;padding:14px 17px;border-right:1px solid #e1e6ed;border-bottom:1px solid #e1e6ed;background:#fff}.recurring-settings-card dl>div:nth-child(2n){border-right:0}.recurring-settings-card dl>div:nth-last-child(-n+2){border-bottom:0}.recurring-settings-card dl>.recurring-setting-wide{grid-column:1/-1;border-right:0}.recurring-settings-card dt{color:#697789;font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.035em}.recurring-settings-card dd{margin:0;color:#202938;font-size:14px;font-weight:650;line-height:1.45}.recurring-history-card{min-height:150px}.secondary-btn.compact,.primary-btn.compact{min-height:34px;padding:7px 11px}.recurring-preview-modal{position:fixed;z-index:300;inset:0;display:grid;place-items:center;padding:20px;background:rgba(18,27,42,.52)}.recurring-preview-panel{display:grid;gap:16px;width:min(680px,100%);max-height:90vh;overflow:auto;padding:24px;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.24)}.recurring-pdf-panel{display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px;width:min(980px,96vw);height:min(900px,94vh);min-width:0;padding:18px;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.24);overflow:hidden}.recurring-pdf-frame{display:block;width:100%;max-width:100%;height:100%;min-height:560px;border:1px solid #dce2e8;border-radius:10px;background:#eef1f4;overflow:hidden}.recurring-preview-panel dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.recurring-preview-panel dl>div,.recurring-preview-line{display:flex;justify-content:space-between;gap:12px;padding:13px;border-radius:10px;background:#f6f8fa}.recurring-preview-panel dt{color:#6c7888}.recurring-preview-panel dd{margin:0;font-weight:700}.recurring-preview-panel label{display:grid;gap:6px}.recurring-preview-line{border-top:1px solid #e4e8ed;background:#fff}.recurring-attachment{padding:12px;border-radius:9px;background:#f0f6ff;color:#31548a}@media(max-width:820px){.recurring-detail-heading{align-items:flex-start;flex-direction:column}.recurring-upcoming-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recurring-upcoming-grid>div:nth-child(2n){border-right:0}.recurring-upcoming-grid>div:nth-child(-n+2){border-bottom:1px solid #e1e6ed}.recurring-settings-card dl{grid-template-columns:1fr}.recurring-settings-card dl>div,.recurring-settings-card dl>div:nth-child(2n),.recurring-settings-card dl>.recurring-setting-wide{grid-column:auto;border-right:0;border-bottom:1px solid #e1e6ed}.recurring-settings-card dl>div:last-child{border-bottom:0}}@media(max-width:560px){.recurring-detail-page{gap:16px}.recurring-detail-actions{width:100%}.recurring-upcoming-card{padding:17px}.recurring-upcoming-card header{align-items:flex-start;flex-direction:column}.recurring-upcoming-grid{grid-template-columns:1fr}.recurring-upcoming-grid>div,.recurring-upcoming-grid>div:nth-child(2n){grid-template-rows:20px auto auto;gap:5px;min-height:78px;padding:14px 15px;border-right:0;border-bottom:1px solid #e1e6ed;align-content:start}.recurring-upcoming-grid>div:last-child{border-bottom:0}.recurring-upcoming-grid span{min-height:20px}.recurring-upcoming-grid strong{min-height:24px;line-height:1.4}.recurring-settings-card dl,.recurring-preview-panel dl{grid-template-columns:1fr}.recurring-settings-card dl>div{grid-template-columns:1fr;gap:6px;min-height:0;padding:13px 14px}.recurring-preview-modal{padding:0}.recurring-pdf-panel{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:10px;border-radius:0}.recurring-pdf-panel .card-heading-row{padding:2px}.recurring-pdf-frame{width:100%;max-width:100%;min-height:0;border-radius:7px}}
@media(max-width:760px){.recurring-list{overflow:visible;border:0;background:transparent}.recurring-head{display:none}.recurring-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"booking status" "amount date";gap:10px 14px;min-width:0;margin-bottom:10px;padding:15px;border:1px solid #e0e5eb!important;border-radius:12px;background:#fff}.recurring-row>span:first-child{grid-area:booking;min-width:0}.recurring-row>span:first-child b,.recurring-row>span:first-child small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recurring-row>strong{grid-area:amount}.recurring-row>.recurring-next-date{grid-area:date;justify-self:end;color:#637083;font-size:13px}.recurring-row>em{grid-area:status;justify-self:end}.recurring-upcoming-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.recurring-upcoming-actions>.invoice-status{grid-column:1/-1;justify-self:start}.recurring-upcoming-actions button{width:100%;min-height:40px!important;padding:8px 10px!important;font-size:13px!important;font-weight:550!important}}
.recurring-detail-page{gap:16px}.recurring-detail-heading h1{font-weight:600}.recurring-booking-summary{padding:15px 18px}.recurring-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.recurring-summary-heading h2{margin:2px 0 0;font-size:19px;font-weight:600}.recurring-booking-summary dl{display:grid;grid-template-columns:1.35fr .8fr .9fr 1.2fr;overflow:hidden;margin:0;border:1px solid #e1e6ed;border-radius:10px;background:#f8fafc}.recurring-booking-summary dl>div{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:3px;min-width:0;min-height:64px;padding:8px 13px;border-right:1px solid #e1e6ed}.recurring-booking-summary dl>div:last-child{border-right:0}.recurring-booking-summary dt,.recurring-upcoming-grid span{color:#697789;font-size:11px;font-weight:550}.recurring-booking-summary dd{display:grid;gap:1px;margin:0;color:#202938;font-size:14px;font-weight:550;line-height:1.3}.recurring-booking-summary dd small{color:#7b8797;font-size:11px;font-weight:450}.recurring-upcoming-card{padding:15px 18px}.recurring-upcoming-card header{margin-bottom:10px}.recurring-next-heading{display:flex;align-items:center;gap:9px;min-height:34px}.recurring-next-title{margin:0!important;color:#172033;font-size:24px!important;font-weight:600;letter-spacing:-.01em}.recurring-upcoming-card.is-ready-to-send{border-top-color:#b59417}.recurring-upcoming-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.recurring-upcoming-grid>div{display:flex;align-items:center;min-height:72px;padding:8px 13px}.recurring-upcoming-cell-content{display:grid;width:100%;gap:6px}.recurring-upcoming-grid strong{font-weight:550}.recurring-history-card{min-height:120px}.recurring-history-card h2,.recurring-history-open b,.recurring-history-open strong{font-weight:550}@media(max-width:820px){.recurring-booking-summary dl{grid-template-columns:repeat(2,minmax(0,1fr))}.recurring-booking-summary dl>div:nth-child(2){border-right:0}.recurring-booking-summary dl>div:nth-child(-n+2){border-bottom:1px solid #e1e6ed}}@media(max-width:560px){.recurring-booking-summary{padding:13px}.recurring-summary-heading{align-items:flex-start;margin-bottom:9px}.recurring-booking-summary dl{grid-template-columns:1fr}.recurring-booking-summary dl>div,.recurring-booking-summary dl>div:nth-child(2){min-height:64px;padding:7px 12px;border-right:0;border-bottom:1px solid #e1e6ed}.recurring-booking-summary dl>div:last-child{border-bottom:0}.recurring-upcoming-card{padding:13px}.recurring-upcoming-card header{margin-bottom:9px}.recurring-next-heading{min-height:32px}.recurring-next-title{font-size:22px!important}.recurring-upcoming-grid{grid-template-columns:1fr}.recurring-upcoming-grid>div,.recurring-upcoming-grid>div:nth-child(2n){display:flex;align-items:center;min-height:72px;padding:7px 12px}}
.dismissible-notice{display:flex;align-items:center;justify-content:space-between;gap:12px}.notice-dismiss{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border:0;border-radius:7px;background:transparent;color:inherit;font:500 22px/1 Inter,system-ui,sans-serif;cursor:pointer}.notice-dismiss:hover,.notice-dismiss:focus-visible{background:#ffffff9c;outline:none}.recurring-detail-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px;border:1px solid #dfe4eb;border-radius:14px;background:linear-gradient(135deg,#fff 0%,#f6f8fb 100%)}.recurring-detail-hero h1{margin:3px 0 7px;color:#172033;font-size:clamp(27px,3vw,39px);font-weight:600;letter-spacing:-.035em}.recurring-detail-hero p:last-child{margin:0;color:#687587;font-size:14px}.recurring-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.recurring-booking-summary,.recurring-history-card{border:1px solid #dfe4eb;border-radius:14px;background:#fff}.recurring-booking-summary{padding:20px}.recurring-history-card{padding:20px}.recurring-history-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.recurring-history-heading h2{margin:2px 0 0}.recurring-history-heading>span{border-radius:999px;background:#edf1f5;padding:5px 8px;color:#637083;font-size:11px;font-weight:550}.recurring-upcoming-card{border-top-width:3px}.recurring-upcoming-actions .primary-btn{min-width:126px}.recurring-next-heading .eyebrow{margin:0}.recurring-next-heading{flex-wrap:wrap}.recurring-next-title{flex-basis:100%}@media(max-width:620px){.recurring-detail-hero{flex-direction:column;padding:18px}.recurring-detail-actions{width:100%}.recurring-detail-actions button{flex:1}.recurring-history-card{padding:15px}.recurring-history-heading{align-items:flex-start}}
.recurring-layout-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.recurring-layout-options button{display:grid;gap:10px;text-align:left;align-content:start;min-width:0;border:1px solid #dce2e8;background:#fff;border-radius:9px;padding:16px;color:#344054;font:400 14px/1.5 Inter,system-ui,sans-serif;cursor:pointer}.recurring-layout-options button[aria-pressed=true]{border:2px solid #bf9d00;padding:15px;background:#fffdf2}.recurring-layout-options b{font-weight:500;font-size:16px}.recurring-layout-options button:focus-visible{outline:2px solid #415976;outline-offset:3px}.layout-mini{height:65px;display:grid;gap:5px;background:#f0f3f6;padding:8px;border-radius:4px}.layout-mini i{display:block;border:1px solid #c9d1da;background:#fff;border-radius:2px}.layout-mini-overview{grid-template-rows:2fr 1fr 1fr}.layout-mini-workspace{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr}.layout-mini-workspace i:nth-child(2){grid-column:2;grid-row:1/3}.layout-mini-ledger{gap:0;grid-template-rows:repeat(3,1fr)}.layout-mini-ledger i{border:0;border-bottom:1px solid #c9d1da;border-radius:0}.recurring-layout-feedback{font-size:14px;color:#667085}.recurring-layout-options button:disabled{opacity:.6;cursor:wait}

/* Recurring detail views share one type scale and spacing system. */
.recurring-record{--ri-border:#e0e3e6;--ri-muted:#687078;--ri-ink:#292d32;--ri-surface:#f7f8f9;container:recurring-record / inline-size;display:grid;gap:20px;min-width:0;padding:0;color:var(--ri-ink);font-size:14px;line-height:1.5}
.recurring-record :is(section,header,div,dl,dd){min-width:0}
.recurring-record h1,.recurring-record h2,.recurring-record p,.recurring-record dl,.recurring-record dd{margin:0}
.recurring-record h2{font-size:18px;line-height:1.4;font-weight:500;letter-spacing:-.015em;color:var(--ri-ink)}
.recurring-record .invoice-status{font-size:12px;line-height:1.4;font-weight:400;white-space:nowrap;padding:4px 8px}
.recurring-record button:disabled{opacity:.6;cursor:wait}
.ri-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}
.recurring-record .recurring-detail-back{min-height:40px;border:0;border-radius:5px;padding:6px 0;background:transparent;color:var(--ri-muted);font-size:13px;font-weight:400;line-height:1.5;white-space:nowrap}
.recurring-record .recurring-detail-back:hover{color:var(--ri-ink);background:transparent;text-decoration:underline;text-underline-offset:4px}
.recurring-layout-switcher{position:relative;display:flex;align-items:center;gap:7px;margin:0;color:#747b82;font-size:12px;font-weight:400;white-space:nowrap}
.recurring-layout-switcher select{width:112px;min-height:32px;border:1px solid transparent;border-radius:5px;padding:5px 4px;background:transparent;color:#59616a;font-family:inherit;font-size:12px;font-weight:400;line-height:1.5;cursor:pointer}
.recurring-layout-switcher select:hover{border-color:var(--ri-border);background:#fff}
.recurring-layout-switcher select:disabled{cursor:wait;opacity:.65}
.recurring-layout-switcher .recurring-layout-feedback{position:absolute;right:4px;top:100%;font-size:11px;line-height:1.2;margin:0}
.recurring-record :is(button,select):focus-visible{outline:2px solid #707b87;outline-offset:3px}
.ri-header{padding:26px 28px 0;border:1px solid var(--ri-border);border-radius:8px;background:#fff}
.ri-header-main{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:22px}
.ri-kicker{font-size:12px;font-weight:400;color:var(--ri-muted);margin-bottom:7px!important}
.ri-title{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.recurring-record h1{font-size:28px;line-height:1.25;font-weight:500;letter-spacing:-.03em;overflow-wrap:anywhere}
.ri-property{font-size:14px;color:var(--ri-muted);margin-top:9px!important}
.ri-record-actions{display:flex;gap:8px;flex:none;align-items:center;padding-top:22px}
.recurring-record .ri-record-actions button{min-height:40px;border:1px solid #d4d9de;border-radius:6px;padding:8px 14px;color:#4d555f;background:#fff;font-size:13px;font-weight:400;line-height:20px;box-shadow:none}
.recurring-record .ri-record-actions .danger-button{color:#925049}
.recurring-record .ri-record-actions button:hover{background:var(--ri-surface);border-color:#b8c0c8}
.ri-recipients{display:flex;flex-wrap:wrap;gap:10px 32px;padding:15px 0 17px;border-top:1px solid var(--ri-border);font-size:13px}
.ri-recipients>div{display:flex;gap:10px;align-items:baseline}
.ri-recipients dt{color:var(--ri-muted);font-weight:400;flex:none}
.ri-recipients dd{color:#4d555f;font-weight:400;overflow-wrap:anywhere}
.ri-content{display:grid;gap:20px}
.ri-panel{padding:24px 28px;border:1px solid var(--ri-border);border-radius:8px;background:#fff}
.ri-section-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:20px}
.ri-section-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ri-next{border-top:2px solid #d8b330;padding-top:23px}
.ri-next-actions{display:flex;gap:8px}
.recurring-record .ri-next-actions button{width:138px;min-width:138px;height:42px;min-height:42px;padding:10px 12px;border:1px solid #cdd3d9;border-radius:6px;background:#fff;color:#3e4752;font-size:14px;font-weight:500;line-height:20px;box-shadow:none;white-space:nowrap}
.recurring-record .ri-next-actions button:hover{background:var(--ri-surface);border-color:#a6b0ba}
.ri-facts{display:grid;overflow:hidden;border:1px solid var(--ri-border);border-radius:6px;background:var(--ri-surface)}
.ri-next-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
.ri-booking-facts{grid-template-columns:1.25fr .85fr .85fr 1.15fr}
.ri-fact{padding:16px;border-right:1px solid var(--ri-border)}
.ri-fact:last-child{border-right:0}
.ri-fact dt{margin:0 0 6px;color:var(--ri-muted);font-size:13px;font-weight:400;line-height:1.4}
.ri-fact dd{color:var(--ri-ink);font-size:15px;font-weight:500;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.ri-fact dd small{display:block;margin-top:4px;color:var(--ri-muted);font-size:12px;font-weight:400;line-height:1.5}
.recurring-record .ri-history{padding:24px 28px;min-height:0;border:1px solid var(--ri-border);border-radius:8px;background:#fff}
.recurring-record .recurring-history-heading{align-items:center;margin-bottom:16px}
.recurring-record .recurring-history-heading>span{padding:0;background:transparent;font-size:12px;font-weight:400;color:var(--ri-muted);white-space:nowrap}
.recurring-record .recurring-history-row{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 0;border:0;border-top:1px solid #e9ecef}
.recurring-record .recurring-history-row:last-child{padding-bottom:0}
.recurring-record .recurring-history-open{display:grid;grid-template-columns:minmax(170px,1fr) 100px 135px;gap:16px;flex:1;min-width:440px;padding:4px 0;line-height:1.5;color:var(--ri-ink)}
.recurring-record .recurring-history-open b,.recurring-record .recurring-history-open strong{font-size:14px;font-weight:500}
.recurring-record .recurring-history-open strong{text-align:right;font-variant-numeric:tabular-nums}
.recurring-record .recurring-history-open small{font-size:12px;color:var(--ri-muted)}
.recurring-record .recurring-history-open .recurring-status-cell{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;padding-left:8px;text-align:left}
.recurring-record .recurring-history-open .invoice-status{margin:0;max-width:100%;white-space:normal}
.recurring-record .recurring-history-open .recurring-status-cell>small{margin:0;overflow-wrap:anywhere;line-height:1.4}
.recurring-record .ri-history-actions>.secondary-btn{min-height:40px;padding:8px 12px;border:1px solid #d4d9de;border-radius:6px;font-size:13px;font-weight:400;line-height:20px;background:#fff;color:#4d555f}
.recurring-record .ri-history-actions{display:flex;flex-wrap:wrap;gap:8px;flex:0 0 208px}.recurring-record .ri-history-actions:empty{min-height:40px}.recurring-record .recurring-history-open:hover b{text-decoration:underline;text-underline-offset:3px}
.recurring-record .ri-empty{padding:12px 0;color:var(--ri-muted);font-size:14px}
/* Workspace: two balanced panels, with the booking facts as a side record. */
.recurring-layout-workspace .ri-content{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:stretch}
.recurring-layout-workspace .ri-panel{padding:24px}
.recurring-layout-workspace .ri-next .ri-section-header{display:grid;grid-template-columns:1fr;margin-bottom:24px}
.recurring-layout-workspace .ri-next-actions{grid-row:2}
.recurring-layout-workspace .ri-facts{display:block;background:transparent;border:0;border-radius:0}
.recurring-layout-workspace .ri-fact{display:grid;grid-template-columns:125px minmax(0,1fr);align-items:baseline;gap:16px;padding:16px 0;border:0;border-bottom:1px solid var(--ri-border)}
.recurring-layout-workspace .ri-fact:first-child{border-top:1px solid var(--ri-border)}
.recurring-layout-workspace .ri-fact:last-child{border-bottom:0;padding-bottom:0}
.recurring-layout-workspace .ri-fact dt{margin:0}
.recurring-layout-workspace .ri-booking{background:#fafbfb}
/* Ledger: a single sheet, clear section columns and ruled label/value rows. */
.recurring-layout-ledger .ri-content{gap:0;background:#fff;border:1px solid var(--ri-border);border-radius:8px;overflow:hidden}
.recurring-layout-ledger .ri-panel{display:grid;grid-template-columns:160px minmax(0,1fr);gap:16px;padding:20px;border:0;border-radius:0;background:transparent}
.recurring-layout-ledger .ri-panel+.ri-panel{border-top:1px solid var(--ri-border)}
.recurring-layout-ledger .ri-section-header{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px;margin:0}
.recurring-layout-ledger .ri-next-actions{display:grid;gap:8px}
.recurring-record.recurring-layout-ledger .ri-next-actions button{width:132px;min-width:132px;height:40px;min-height:40px;padding:8px 10px}
.recurring-layout-ledger .ri-facts{display:block;border:0;border-radius:0;background:transparent}
.recurring-layout-ledger .ri-fact{display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px;align-items:baseline;padding:8px 12px;border:0;border-bottom:1px solid #e9ecef;background:#fafbfc}
.recurring-layout-ledger .ri-fact:first-child{border-top:1px solid #e9ecef}
.recurring-layout-ledger .ri-fact dt{margin:0}
@container recurring-record (max-width:1000px){.ri-header-main{flex-wrap:wrap;gap:16px}.ri-record-actions{padding-top:0}.recurring-layout-overview .ri-booking-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.recurring-layout-overview .ri-booking-facts .ri-fact:nth-child(2){border-right:0}.recurring-layout-overview .ri-booking-facts .ri-fact:nth-child(-n+2){border-bottom:1px solid var(--ri-border)}.recurring-layout-workspace .ri-content{grid-template-columns:repeat(2,minmax(0,1fr))}.recurring-layout-workspace .ri-fact{grid-template-columns:1fr;gap:6px}.recurring-layout-workspace .ri-booking-facts .ri-fact:nth-child(2){border-bottom:1px solid var(--ri-border)}}
@container recurring-record (max-width:800px){.recurring-record{gap:16px}.ri-header{padding:22px 22px 0}.ri-panel,.recurring-record .ri-history{padding:22px}.recurring-record .recurring-history-open{grid-template-columns:minmax(170px,1fr) 90px 135px}.recurring-layout-ledger .ri-panel{grid-template-columns:150px minmax(0,1fr);gap:12px;padding:16px}.recurring-layout-ledger .ri-fact{grid-template-columns:105px minmax(0,1fr);gap:12px}.ri-next-facts .ri-fact{padding:14px}.recurring-layout-ledger .ri-fact{padding:8px 12px}.ri-fact dd{font-size:15px}.recurring-layout-workspace .ri-next-actions{flex-wrap:wrap}}
@container recurring-record (max-width:620px){.recurring-record{gap:14px}.ri-toolbar{gap:8px}.recurring-record .recurring-detail-back{font-size:12px}.recurring-layout-switcher{gap:3px}.recurring-layout-switcher select{min-height:40px;width:99px;font-size:12px}.recurring-record h1{font-size:24px}.ri-header{padding:20px 18px 0}.ri-header-main{display:block;padding-bottom:18px}.ri-title{gap:9px}.ri-property{line-height:1.5}.ri-record-actions{margin-top:20px;gap:6px;align-items:stretch}.recurring-record .ri-record-actions button{padding:8px 9px;flex:1;white-space:nowrap}.recurring-record .ri-record-actions .danger-button{flex:1.6}.ri-recipients{display:grid;gap:8px;padding:14px 0 16px}.ri-recipients>div{display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px}.ri-panel,.recurring-record .ri-history{padding:20px 18px}.ri-section-header{display:block;margin-bottom:18px}.ri-next-actions{margin-top:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.recurring-record .ri-next-actions button{width:100%;min-width:0;padding:10px 8px}.ri-facts,.recurring-layout-overview .ri-booking-facts,.ri-next-facts{grid-template-columns:1fr}.recurring-layout-overview .ri-facts .ri-fact,.recurring-layout-overview .ri-booking-facts .ri-fact:nth-child(2){padding:14px;border:0;border-bottom:1px solid var(--ri-border)}.recurring-layout-overview .ri-facts .ri-fact:last-child{border-bottom:0}.recurring-record .recurring-history-heading{gap:8px}.recurring-record .recurring-history-open{flex-basis:100%;min-width:0;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.recurring-record .recurring-history-open .recurring-status-cell{grid-column:1/-1;padding-left:0}.recurring-record .ri-history-actions{flex:1}.recurring-record .ri-history-actions:empty{display:none}.recurring-record .ri-history-actions>.secondary-btn{flex:1}.recurring-layout-workspace .ri-content{grid-template-columns:1fr;gap:14px}.recurring-layout-workspace .ri-panel{padding:20px 18px}.recurring-layout-workspace .ri-next .ri-section-header{display:block;margin-bottom:18px}.recurring-layout-workspace .ri-fact{grid-template-columns:104px minmax(0,1fr);gap:12px;padding:14px 0}.recurring-layout-workspace .ri-fact:last-child{padding-bottom:0}.recurring-layout-ledger .ri-panel{display:block;padding:16px}.recurring-layout-ledger .ri-section-header{display:block;margin-bottom:12px}.recurring-layout-ledger .ri-next-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}.recurring-record.recurring-layout-ledger .ri-next-actions button{width:100%;min-width:0;padding:8px}.recurring-layout-ledger .ri-fact{grid-template-columns:100px minmax(0,1fr);padding:10px;gap:8px}}

@media(max-width:620px){.recurring-layout-options{grid-template-columns:1fr}}

.recurring-form [hidden]{display:none!important}
.recurring-form [data-recurring-schedule-summary]{font-size:14px;font-weight:400;line-height:1.5;color:var(--cc-muted,#596579)}
.recurring-row>strong>small{display:block;font-size:12px;font-weight:400}

.recurring-section-form select{padding:8px 12px;line-height:24px}
@media(max-width:760px){.recurring-section-form input,.recurring-section-form select{height:48px;min-height:48px;padding:10px 12px;line-height:24px}}

.recurring-form .recurring-cadence{grid-column:1/-1;max-width:100%}
.recurring-form [data-recurring-schedule-dates],.recurring-form .recurring-timing-note{font-size:14px;line-height:1.5;font-weight:400}
.recurring-form .recurring-timing-note{border-left:3px solid #d3b34e;padding:8px 12px;background:#fff9e9;color:#715923}
.recurring-form [data-recurring-schedule-summary]:empty,.recurring-form [data-recurring-schedule-dates]:empty{display:none}

/* Property selection stays attached while the recurring form is being edited. */
.recurring-property-picker{position:relative;grid-column:1/-1;min-width:0}
.recurring-property-picker input{width:100%}
.recurring-property-options{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:15;max-height:260px;overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #ccd5df;border-radius:6px;box-shadow:0 8px 20px #18203318;padding:4px}
.recurring-property-options button{display:grid;gap:3px;width:100%;min-height:44px;text-align:left;padding:10px 12px;border:0;border-radius:4px;background:#fff;color:#263244;font-size:14px;font-weight:400;cursor:pointer}
.recurring-property-options button small{font-size:12px;color:#687588;white-space:normal;overflow-wrap:anywhere}
.recurring-property-options button:hover,.recurring-property-options button[aria-selected=true]{background:#fff7cf}
.recurring-property-options button:focus-visible{outline:2px solid #aa8b19;outline-offset:-2px}
.recurring-property-status{display:block;font-size:12px;line-height:1.5;color:#687588;margin-top:5px}
.recurring-property-status:empty{display:none}
.recurring-property-options[hidden],.recurring-section-form [data-recurring-property-detail][hidden]{display:none!important}

.recurring-form .number-stepper{position:relative;display:block;width:100%}
.recurring-form .number-stepper input{width:100%;max-width:none;padding-right:76px;box-sizing:border-box}
.recurring-form .number-stepper>span{position:absolute;right:28px;top:50%;transform:translateY(-50%);pointer-events:none;font-size:14px;font-weight:400}
.recurring-form [data-recurring-schedule-summary]{white-space:pre-line}
/* The timeline has its own full-width header, independent of ledger columns. */
.recurring-record .ri-panel.ri-future{display:block;padding:20px;border:1px solid var(--ri-border);border-radius:8px;background:#fff}
.ri-future-header{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.ri-future .secondary-btn{align-self:start;justify-self:start;height:auto;min-height:40px;padding:9px 14px;font-size:14px;font-weight:500;line-height:20px;flex:none}
.ri-future [hidden]{display:none}
.ri-future>div{min-width:0}
.ri-future>div>p{font-size:14px;color:var(--ri-muted);margin:16px 0}
.ri-timeline{list-style:none;margin:20px 0 0 6px;padding:0 0 0 22px;border-left:1px solid #dce2e9}
.ri-timeline li{position:relative;margin:0 0 16px;padding:16px;border:1px solid var(--ri-border);border-radius:6px;background:#fafbfc;min-width:0}
.ri-timeline li:last-child{margin-bottom:0}
.ri-timeline li:before{content:'';position:absolute;left:-29px;top:26px;width:10px;height:10px;border:1px solid #a4afbe;border-radius:50%;background:#fff}
.ri-timeline li:first-child:before{background:#ffcf00;border-color:#b89b22}
.ri-timeline-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px;padding-bottom:12px;border-bottom:1px solid var(--ri-border)}
.ri-timeline-heading h3,.ri-timeline-heading>span{margin:0;font-size:16px;font-weight:500;line-height:1.5}
.ri-timeline-heading>span{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.ri-timeline-label{margin:0 0 4px;font-size:13px;font-weight:400;color:var(--ri-muted);line-height:1.5}
.ri-timeline dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,auto);gap:16px;margin:12px 0 0}
.ri-timeline dl>div:last-child{text-align:right}
.ri-timeline dt{font-size:13px;color:var(--ri-muted);margin-bottom:4px;line-height:1.5}
.ri-timeline dd{margin:0;font-size:14px;font-weight:400;line-height:1.5;font-variant-numeric:tabular-nums}
.ri-timeline li>.secondary-btn{margin-top:12px}
@container recurring-record (max-width:620px){.recurring-record .ri-panel.ri-future{padding:16px}.ri-future-header{align-items:flex-start}.ri-future-header h2{width:100%}.ri-timeline{padding-left:16px;margin-left:5px}.ri-timeline li{padding:12px;margin-bottom:12px}.ri-timeline li:before{left:-23px;top:25px}.ri-timeline-heading{gap:8px}.ri-timeline-heading h3,.ri-timeline-heading>span{font-size:14px}.ri-timeline dl{grid-template-columns:minmax(0,1fr);gap:10px}.ri-timeline dl>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:8px}.ri-timeline dl>div:last-child{text-align:left}.ri-timeline dt{margin:0}.ri-timeline dd{overflow-wrap:anywhere}}

.recurring-section-form .recurring-cleans-option{grid-column:1/-1;display:flex;align-items:flex-start;gap:10px;min-height:40px;cursor:pointer}
.recurring-section-form .recurring-cleans-option input{flex:none;width:18px;height:18px;min-height:18px;margin:2px 0 0;padding:0;accent-color:#b69720}
.recurring-cleans-option>span{font-size:14px;font-weight:400;line-height:1.5}.recurring-cleans-option small{font-weight:400;display:block;margin-top:3px;color:var(--cc-muted,#596579);font-size:13px}

.recurring-billing-address{min-width:0;margin:20px 0 0;padding:0;border:0}.recurring-billing-address legend{padding:0;margin:0 0 12px;font-size:14px;font-weight:500;color:#344054}

.recurring-email-overlay{position:fixed;inset:0;z-index:10050;background:#0006}.recurring-email-overlay>iframe{display:block;width:100%;height:100%;border:0;background:transparent}.recurring-email-loading{position:absolute;inset:0;pointer-events:none}

.recurring-email-cancel{position:absolute;right:24px;top:24px;z-index:10001;pointer-events:auto}

/* Render the original PDF to width-fitted pages instead of the iOS native iframe viewer. */
.recurring-pdf-pages{min-width:0;min-height:0;width:100%;overflow-y:auto;overflow-x:hidden;box-sizing:border-box;background:#eef1f4;padding:8px;overscroll-behavior:contain}
.recurring-pdf-pages img{display:block;max-width:100%;width:100%;height:auto;margin:0 auto 12px;background:#fff}
.recurring-pdf-panel>.card-heading-row{min-width:0}.recurring-pdf-panel h2{overflow-wrap:anywhere}

.recurring-preview-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}.recurring-preview-actions a{text-decoration:none}
@media(max-width:560px){.recurring-pdf-panel>.card-heading-row{flex-wrap:wrap;gap:8px}.recurring-preview-actions .secondary-btn{min-height:40px;padding:8px 10px}}

/* Booking context comes first in ledger/workspace and in every mobile layout. */
.recurring-layout-overview .ri-next{order:-1}
.recurring-layout-workspace .ri-content{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)}
@container recurring-record (max-width:620px){.recurring-layout-overview .ri-next{order:0}.recurring-layout-workspace .ri-content{grid-template-columns:minmax(0,1fr)}}

.recurring-period-callout{padding:16px 18px;margin:18px 0 0;border:1px solid #e6d58a;border-left:4px solid #e2b700;border-radius:8px;background:#fff9df;color:#3f3b2d;font-size:14px;line-height:1.65;white-space:pre-line}
.recurring-period-callout:empty{display:none}
.recurring-bank-details{margin-top:14px;color:#536071;font-size:14px;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere}
.app-dialog-field input[type=date]{min-height:44px;min-width:0;font-size:16px}

/* Recurring list: compact booking context and one segment for each invoice. */
.recurring-list-tools{display:grid;gap:12px;margin:16px 0}.recurring-list-tools>input{width:100%;max-width:520px;min-height:44px;padding:10px 12px;border:1px solid #d7dce1;border-radius:6px;font:inherit;background:white}
.recurring-filter-tabs{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid #dce0e4}.recurring-filter-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:10px 12px;min-height:44px;color:#526174;font:inherit;font-weight:500}.recurring-filter-tabs button[aria-pressed=true]{border-bottom-color:#e6b900;color:#242a32}.recurring-filter-tabs button:hover{background:#f5f6f7}.recurring-filter-tabs button:focus-visible{outline:2px solid #b58e00;outline-offset:2px}
.recurring-booking-cell{min-width:0}.recurring-booking-dates{display:block;margin-top:6px;font-size:14px;color:#526174}.recurring-progress{display:flex;flex-wrap:wrap;gap:4px;margin-top:10px;max-width:440px}.recurring-segment{display:inline-block;flex:1 0 10px;max-width:48px;height:10px;border:1px solid #adb8c2;border-radius:2px;background:white}.segment-paid{background:#39835a;border-color:#39835a}.segment-due{background:#d5a34a;border-color:#bb8b33}.segment-overdue{background:#bb5252;border-color:#bb5252}.segment-ready{background:#728ca8;border-color:#728ca8}.segment-part_paid{background:linear-gradient(90deg,#39835a 50%,#e9c67e 50%);border-color:#9caa8e}.segment-closed{background:#c2c6cd;border-color:#a0a7b0}
.recurring-progress-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:12px 0;color:#526174;font-size:12px}.recurring-progress-legend>span{display:flex;align-items:center;gap:5px}.recurring-progress-legend .recurring-segment{width:16px;flex:none}.recurring-ended{margin-top:20px}.recurring-ended>summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:500;color:#526174}.recurring-ended .recurring-list{margin-top:8px}.recurring-row{align-items:center}.recurring-row>span,.recurring-row b{overflow-wrap:anywhere}.recurring-row strong small{display:block;font-size:13px;font-weight:400;color:#526174}
@media(max-width:620px){.recurring-filter-tabs button{padding:10px 8px;font-size:13px}.recurring-progress{max-width:100%}.recurring-booking-dates{font-size:13px}}

.recurring-filter-tabs button{border-radius:0!important}.recurring-list .recurring-row b,.recurring-list .recurring-row strong{font-weight:500}.recurring-list-tools~[data-recurring-results]{overflow-anchor:none}

/* Recurring list: group identity, contact and reservation details for scanning. */
.recurring-list .recurring-booking-cell{display:grid;gap:6px}
.recurring-list .recurring-booking-name{display:block;color:#263345;font-size:16px;line-height:1.4}
.recurring-list .recurring-property-name{display:block;color:#526174;font-size:14px;line-height:1.4;margin-bottom:3px}
.recurring-list .recurring-meta{display:flex;align-items:flex-start;gap:8px;margin:0;color:#647286;font-size:14px;line-height:1.5}
.recurring-meta svg{flex:0 0 16px;width:16px;height:16px;margin-top:2px;color:#8793a3}
.recurring-meta>span{min-width:0;overflow-wrap:anywhere}
.recurring-list .recurring-progress{margin-top:7px}
.recurring-first-due{display:grid;gap:7px;margin-top:16px;max-width:calc(50% - 10px)}
.recurring-due-preview{margin:12px 0 0;color:#526174;font-size:14px}
@media(max-width:620px){.recurring-first-due{max-width:100%}.recurring-list .recurring-booking-name{font-size:16px}}

.recurring-head>span:nth-child(2),.recurring-head>span:nth-child(3),.recurring-row>strong,.recurring-row>.recurring-next-date{text-align:center;justify-self:stretch}.recurring-row .recurring-meta{display:flex!important;align-items:center;gap:7px}.recurring-meta svg{width:16px;height:16px;flex:none}.recurring-row .invoice-status small{display:block;margin-top:4px;color:inherit;font-size:12px;font-weight:400}.segment-sent{background:#becbe0}

/* Shared recurring metadata and calm, two-line payment status. */
.recurring-row .recurring-status-cell{display:flex;flex-direction:column;align-items:flex-start;gap:5px;font-style:normal;min-width:0}.recurring-status-cell>small{display:block;font-size:12px;line-height:1.4;color:#687588;white-space:normal}.recurring-status-cell>.invoice-status{display:inline-flex;white-space:nowrap}
.ri-title h1,.ri-section-header h2,.ri-recipients dt{display:flex;align-items:center;gap:8px}.ri-title h1 svg{width:24px;height:24px;flex:none;color:#6b7789}.ri-section-header h2 svg,.ri-recipients dt svg,.ri-booking-meta svg{width:17px;height:17px;flex:none;color:#788493}.ri-booking-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;margin-top:12px;color:#59677a;font-size:14px;line-height:1.5}.ri-booking-meta>span{display:flex;align-items:center;gap:7px;min-width:0}.ri-booking-meta>span>span{overflow-wrap:anywhere}.ri-header-main .ri-identity{min-width:0;flex:1}.ri-title h1>span{overflow-wrap:anywhere}
@media(max-width:760px){.ri-booking-meta{flex-direction:column;align-items:flex-start;gap:8px}.recurring-row .recurring-status-cell{align-items:flex-end;text-align:right;max-width:120px}}
.ri-recipients>div{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:12px}.ri-recipients dt{width:auto;min-width:0;white-space:nowrap}.ri-recipients dd{min-width:0;margin:0}

.recurring-calendar-note{display:grid;gap:7px;font-size:14px;line-height:1.45;color:#4d5967}.recurring-calendar-note p{margin:0;min-height:42px;display:flex;align-items:center;color:#303942;font-weight:500}.recurring-calendar-note small{font-size:13px;line-height:1.45;color:#697482}

.invoice-status.status-payment_initiated{background:#eaf1fb;color:#315f96;font-weight:400}
.invoice-status.status-due,.invoice-status.status-ready{background:#fff6d4;color:#756019;font-weight:400}
.recurring-segment.segment-payment_initiated{background:#86a8d1}
.recurring-segment.segment-part_paid{background:#bbcfb7}
.invoice-status-note{display:block;margin-top:5px;color:#657184;font-size:12px;line-height:1.5}

/* List payment actions belong to the displayed invoice, separate from its next issue date. */
.recurring-list .recurring-meta{color:#263244}
.recurring-head,.recurring-row{grid-template-columns:minmax(280px,1fr) 160px 160px 180px}
/* Compact visible badge; the transparent native picker retains a comfortable tap area. */
.recurring-status-control{position:relative;display:inline-flex;align-items:center;align-self:flex-start;width:max-content;max-width:100%;min-height:40px;vertical-align:middle}
.recurring-status-control .recurring-status-face{display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:100%;min-height:0;margin:0;padding:3px 8px;border-radius:6px;font-family:inherit;line-height:20px;font-size:12px;font-weight:400;white-space:nowrap}
.recurring-status-face::after{content:"";width:5px;height:5px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-2px) rotate(45deg);opacity:.7}
.recurring-status-control .recurring-status-select{position:absolute;inset:0;width:100%!important;height:100%!important;min-width:0!important;min-height:40px!important;max-width:100%;margin:0!important;padding:0!important;opacity:0;cursor:pointer;font:inherit}
.recurring-status-control:focus-within .recurring-status-face,.recurring-row:focus-visible{outline:2px solid #8a7420;outline-offset:2px}
.recurring-status-control:hover .recurring-status-face{filter:brightness(.97)}
.recurring-status-control:has(select:disabled){opacity:.7}.recurring-status-control select:disabled{cursor:progress}
@media(max-width:760px){.recurring-head{display:none}.recurring-row{grid-template-columns:minmax(0,1fr) minmax(110px,150px);grid-template-areas:"booking status" "date amount"}.recurring-row>.recurring-next-date{grid-area:date;text-align:left;justify-self:start;color:#263244}.recurring-row>.recurring-next-date:before{content:"Payment due";display:block;font-size:12px;color:#687588;margin-bottom:4px}.recurring-row .recurring-status-cell{align-self:start;max-width:150px}.recurring-row>strong{text-align:right}}

.recurring-history-preview{display:block;min-width:0;min-height:40px;padding:0;border:0;background:transparent;text-align:left;color:inherit;font:inherit;cursor:pointer}.recurring-history-preview span{display:grid;gap:4px}.recurring-history-preview:focus-visible{outline:2px solid #8a7420;outline-offset:2px}.recurring-history-preview:disabled{opacity:.7;cursor:progress}

/* Give each invoice action a readable, balanced touch target on narrow screens. */
@container recurring-record (max-width:620px){
  .recurring-record .ri-history-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;flex:0 0 auto;gap:8px}
  .recurring-record .ri-history-actions>.secondary-btn{width:100%;min-width:0;min-height:44px;padding:10px 8px;line-height:20px;text-align:center}
}

/* Native iOS date controls share the same measured box as other form fields. */
.recurring-section-form .invoice-two-col>*,.recurring-section-form label{min-width:0}
.recurring-section-form :is(input:not([type=checkbox]),select,textarea){box-sizing:border-box;width:100%;max-width:100%;min-width:0}
.recurring-section-form :is(input:not([type=checkbox]),select){height:44px;min-height:44px;padding:10px 12px;line-height:22px}
.recurring-section-form input[type=date]{display:block;appearance:none;-webkit-appearance:none;text-align:left}
.recurring-section-form input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:22px;margin:0}
.recurring-section-form input[type=date]::-webkit-datetime-edit{padding:0}
.invoice-status.status-email_scheduled{background:#edf0fa;color:#505e8f;font-weight:400}
.recurring-segment.segment-email_scheduled{background:#9ba6cd}
.recurring-row .recurring-status-cell{align-items:flex-end;text-align:right;justify-self:end}
.recurring-row .recurring-status-control{align-self:flex-end}
.recurring-row .recurring-status-control>.recurring-status-face{display:inline-flex;flex-direction:row;flex-wrap:nowrap;align-items:center;white-space:nowrap}
.recurring-status-face::after{flex-shrink:0}
@media(max-width:760px){
  .recurring-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name status" "property property" "email email" "dates dates" "note note" "progress progress" "date amount";gap:8px 12px;padding:16px}
  .recurring-list .recurring-row .recurring-booking-cell,.recurring-row .recurring-status-cell{display:contents}
  .recurring-list .recurring-booking-name{grid-area:name;align-self:center;font-size:15px;font-weight:500}
  .recurring-list .recurring-booking-name>span{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
  .recurring-list .recurring-property-name{grid-area:property}
  .recurring-list .recurring-email{grid-area:email}
  .recurring-list .recurring-booking-dates{grid-area:dates}
  .recurring-row .recurring-progress{grid-area:progress;margin:4px 0 6px}
  .recurring-row .recurring-status-cell>.recurring-status-control,.recurring-row .recurring-status-cell>.invoice-status{grid-area:status;justify-self:end;align-self:center;max-width:none}
  .recurring-row .recurring-status-cell>small{grid-area:note;text-align:right;justify-self:end;max-width:100%;margin:0}
  .recurring-row .recurring-status-control{min-height:40px}
  .recurring-row>strong{grid-area:amount;align-self:end}
  .recurring-row>.recurring-next-date{align-self:end}
}

/* Shared list controls: compact status multi-select and ordering. */
.recurring-head>span:last-child{justify-self:end;text-align:right}
.recurring-list-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px}
.recurring-filter-menu{position:relative;flex:none}
.recurring-filter-menu>summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;border:1px solid #dce2e8;border-radius:8px;background:#fff;min-height:42px;padding:8px 12px;font-size:14px;color:#263244;font-weight:500;box-sizing:border-box}
.recurring-filter-menu>summary::-webkit-details-marker{display:none}
.recurring-filter-menu svg,.recurring-sort-direction svg{width:18px;height:18px;flex:none}
.recurring-filter-menu[open]>summary{border-color:#bda12b}
.recurring-filter-menu>summary:focus-visible{outline:2px solid #b58e00;outline-offset:2px}
.recurring-filter-options{position:absolute;top:calc(100% + 6px);left:0;z-index:30;width:240px;max-width:calc(100vw - 48px);max-height:360px;overflow:auto;padding:6px;background:#fff;border:1px solid #dce2e8;border-radius:10px;box-shadow:0 8px 24px #2632441a}
.recurring-filter-options label{display:flex;align-items:center;gap:10px;min-height:40px;padding:6px 10px;box-sizing:border-box;font-size:14px;font-weight:400;color:#263244;cursor:pointer;border-radius:6px}
.recurring-filter-options label:hover{background:#f5f7f9}
.recurring-filter-options input{width:16px;height:16px;min-height:0;margin:0;accent-color:#b08b00}
.recurring-sort-label{display:flex;align-items:center;gap:8px;color:#526174;font-size:14px;margin-left:auto}
.recurring-sort-label select{min-height:42px;border:1px solid #dce2e8;border-radius:8px;background:#fff;padding:8px 30px 8px 10px;color:#263244;font-family:inherit;font-size:14px;max-width:100%}
.recurring-sort-direction{display:flex;align-items:center;gap:8px;min-height:42px!important;font-size:14px!important;font-weight:500!important}
@media(max-width:620px){.recurring-list-controls{gap:8px}.recurring-sort-label{margin-left:0;flex:1;min-width:180px}.recurring-sort-label select{min-width:0;width:100%}.recurring-sort-direction{margin-left:auto}.recurring-filter-menu{max-width:100%}}
@media(max-width:620px){.recurring-filter-menu{order:1}.recurring-sort-direction{order:2}.recurring-sort-label{order:3;flex-basis:100%;white-space:nowrap}.recurring-sort-label select{flex:1}.recurring-list-controls{margin-bottom:4px}}

main[data-cached-invoice]{display:none!important}

.recurring-schedule-state{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:400;color:#687588;white-space:nowrap}
.recurring-schedule-state:before{content:'';width:6px;height:6px;border-radius:50%;background:#919aa5;flex:none}
.recurring-schedule-state.schedule-active:before{background:#3b805c}
.recurring-schedule-state.schedule-paused:before{background:#a7893a}
.ri-section-title>.recurring-status-control{flex:none}

/* Header sorting uses one chevron, never the shared selected-action underline. */
.recurring-head{font-weight:500;font-size:12px}
.recurring-head>span{min-width:0}
.recurring-column-sort{display:inline-flex;align-items:center;justify-content:inherit;gap:6px;min-height:40px;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-transform:inherit;text-align:inherit;cursor:pointer}
.recurring-column-sort::before,.recurring-column-sort::after,.recurring-booking-sort-menu button::before,.recurring-booking-sort-menu button::after{display:none!important}
.recurring-column-sort svg{width:16px;height:16px;flex:none}
.recurring-column-sort:hover,.recurring-column-sort.is-sorted{color:#263244}
.recurring-column-sort:focus-visible{outline:2px solid #b58e00;outline-offset:3px;border-radius:3px}
.recurring-booking-heading{display:flex;align-items:center;gap:8px}
.recurring-booking-reverse{justify-content:center;min-width:40px}
.recurring-booking-sort-menu{position:fixed;inset:auto;margin:0;width:240px;max-width:calc(100vw - 24px);max-height:280px;overflow:auto;padding:6px;background:#fff;border:1px solid #dce2e8;border-radius:10px;box-shadow:0 8px 24px #2632441a;color:#263244;box-sizing:border-box}
.recurring-booking-sort-menu::backdrop{background:transparent}
.recurring-booking-sort-menu p{margin:4px 10px 6px;font-size:12px;color:#687588}
.recurring-booking-sort-menu button{display:block;min-height:40px;width:100%;border:0;border-radius:6px;background:transparent;color:#263244;font:inherit;font-size:14px;font-weight:400;text-align:left;padding:8px 10px;cursor:pointer}
.recurring-booking-sort-menu button:hover,.recurring-booking-sort-menu button[aria-pressed="true"]{background:#f5f7f9}
.recurring-booking-sort-menu button:focus-visible{outline:2px solid #b58e00;outline-offset:-2px}

/* Paid coverage stays visible alongside the booking dates at every width. */
.recurring-list .recurring-paid-coverage{display:block;min-width:0;font-size:14px;font-weight:400;line-height:1.5;color:#526174;white-space:normal;overflow-wrap:anywhere}
.recurring-list .recurring-paid-coverage.has-payment{color:#326749}
@media(max-width:760px){
  .recurring-row{grid-template-areas:"name status" "property property" "email email" "dates dates" "paid paid" "note note" "progress progress" "date amount"}
  .recurring-list .recurring-paid-coverage{grid-area:paid}
}

/* Compact invoice history: one aligned row and one overflow trigger per invoice. */
.recurring-record .ri-history{padding:24px;border-radius:12px}
.recurring-record .recurring-history-heading{margin-bottom:20px;gap:16px}
.recurring-record .recurring-history-heading h2{margin:0;font-size:18px;font-weight:550;letter-spacing:-.02em}
.recurring-record .recurring-history-heading>span{font-size:13px;color:#737c87}
.recurring-record .ri-history-columns,.recurring-record .recurring-history-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(96px,128px) minmax(128px,164px) 40px;gap:24px;align-items:center}
.recurring-record .ri-history-columns{padding:0 0 12px;color:#737c87;font-size:12px;font-weight:500;line-height:1.5}
.ri-history-columns>span:nth-child(2){text-align:right}
.recurring-record .recurring-history-row{min-height:88px;padding:16px 0;border-top:1px solid #edf0f2}
.recurring-record .recurring-history-row:last-child{padding-bottom:16px}
.recurring-record .recurring-history-open{display:contents;min-width:0}
.recurring-record .recurring-history-preview{display:flex;align-items:center;gap:12px;min-width:0;min-height:44px;padding:0;border-radius:6px}
.recurring-record .recurring-history-preview>span.ri-history-document{display:grid;place-items:center;flex:0 0 38px;width:38px;height:42px;border:1px solid #e8ebee;border-radius:8px;background:#f8f9fb;color:#7c8794}
.ri-history-document svg{width:20px;height:20px}
.recurring-record .recurring-history-preview>.ri-history-identity{display:grid;gap:4px;min-width:0}
.recurring-record .ri-history-identity b{font-size:14px;font-weight:500;line-height:1.5;letter-spacing:.01em}
.recurring-record .ri-history-identity small{font-size:13px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;color:#707986}
.recurring-record .recurring-history-open:hover b{text-decoration:none}
.recurring-record .recurring-history-preview:hover b{text-decoration:underline;text-underline-offset:3px}
.recurring-record .recurring-history-open .ri-history-amount{font-size:14px;font-weight:500;text-align:right;white-space:nowrap}
.recurring-record .recurring-history-open .recurring-status-cell{grid-column:auto;padding:0;gap:5px;min-width:0;align-items:flex-start}
.recurring-record .recurring-history-open .recurring-status-cell>small{font-size:12px;line-height:1.4}
.recurring-record .ri-history-actions{display:block;width:40px;min-width:0;margin:0;flex:none;justify-self:end}
.ri-history-more{display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:#7a8490;cursor:pointer}
.ri-history-more svg{width:21px;height:21px}
.ri-history-more:hover,.ri-history-more[aria-expanded=true]{background:#f1f3f6;border-color:#e7eaee;color:#27313d}
.ri-history-more:focus-visible,.ri-history-menu button:focus-visible{outline:2px solid #8a7420;outline-offset:2px}
.ri-history-more:disabled{opacity:.45;cursor:progress}
.ri-history-menu[popover]{display:none;position:fixed;inset:auto;margin:0;padding:6px;width:224px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;border:1px solid #e4e8ed;border-radius:10px;background:#fff;box-shadow:0 8px 30px #2430441f,0 2px 6px #2430440a;color:#303944;z-index:1200}
.ri-history-menu[popover]:popover-open,.ri-history-menu[popover][data-open=true]{display:block}
.ri-history-menu button{display:flex;align-items:center;min-height:40px;width:100%;margin:0;padding:9px 12px;border:0;border-radius:5px;background:transparent;color:inherit;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;text-align:left;cursor:pointer}
.ri-history-menu button:hover,.ri-history-menu button:focus-visible{background:#f3f5f7;color:#1d2937}
.ri-history-menu button:disabled{opacity:.45;cursor:progress}
.ri-history-menu button[data-recurring-regenerate]{border-top:1px solid #edf0f2;border-radius:0 0 5px 5px;margin-top:5px;padding-top:12px}
@container recurring-record (max-width:700px){
  .recurring-record .ri-history{padding:20px}
  .recurring-record .ri-history-columns{display:none}
  .recurring-record .recurring-history-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"invoice actions" "status amount";gap:12px 16px;padding:18px 0;min-height:112px}
  .recurring-record .recurring-history-preview{grid-area:invoice;gap:10px}
  .recurring-record .recurring-history-open .ri-history-amount{grid-area:amount;align-self:center}
  .recurring-record .recurring-history-open .recurring-status-cell{grid-area:status;padding-left:48px}
  .recurring-record .ri-history-actions{grid-area:actions;align-self:start;display:block;width:40px}
  .recurring-record .recurring-history-heading{margin-bottom:16px}
}
@container recurring-record (max-width:380px){
  .recurring-record .ri-history{padding:16px}
  .recurring-record .recurring-history-preview>span.ri-history-document{display:none}
  .recurring-record .recurring-history-open .recurring-status-cell{padding-left:0}
}

/* Exceptional booking changes stay outside ordinary creation and retain their mounted controls. */
.ri-exception-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #dce0e4;border-radius:12px;color:#25313c;background:#fff;box-shadow:0 20px 70px #0003}
.ri-exception-dialog::backdrop{background:#18212b77}
.ri-exception-form{display:flex;flex-direction:column;max-height:calc(100dvh - 34px);margin:0}
.ri-exception-form>header,.ri-exception-form>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;flex:none}
.ri-exception-form>header{border-bottom:1px solid #e3e6e9}.ri-exception-form>footer{border-top:1px solid #e3e6e9;justify-content:flex-end}
.ri-exception-form h2{font-size:19px;font-weight:550;margin:0}.ri-exception-form h3{font-size:16px;font-weight:550;margin:20px 0 12px}
.ri-exception-body{overflow:auto;overscroll-behavior:contain;padding:0 20px 20px;min-height:0;scrollbar-gutter:stable}
.ri-exception-form p{font-size:14px;line-height:1.5;color:#647080}.ri-exception-form button{min-height:44px;font-size:14px;font-weight:500}
.ri-exception-form label{display:grid;gap:6px;min-width:0;font-size:14px;font-weight:500}
.ri-exception-form input{box-sizing:border-box;width:100%;max-width:100%;min-width:0;height:44px;padding:10px 12px;border:1px solid #ccd3db;border-radius:6px;background:#fff;color:inherit;font:inherit}
.ri-break-row{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin:16px 0}
.ri-exception-totals{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0;border:1px solid #dfe4e9;border-radius:8px;overflow:hidden}
.ri-exception-totals>div{padding:12px 14px;background:#f7f8fa}.ri-exception-totals dt{font-size:12px;color:#647080}.ri-exception-totals dd{margin:5px 0 0;font-size:18px;font-weight:500}
.ri-exception-changes,.ri-exception-schedule,.ri-break-summary ul{list-style:none;padding:0;margin:12px 0}
.ri-exception-changes li,.ri-exception-schedule li{display:flex;gap:8px;flex-wrap:wrap;justify-content:space-between;padding:12px 0;border-bottom:1px solid #e3e6e9;font-size:14px}
.ri-exception-changes small{width:100%}.ri-exception-form b{font-weight:500}.ri-exception-form small,.ri-break-summary small{display:block;font-size:12px;color:#647080;margin-top:4px}
.ri-exception-form summary{cursor:pointer;padding:12px 0;font-size:14px;font-weight:500}.ri-break-summary{margin-bottom:16px}.ri-break-summary ul{padding:0 20px 8px}.ri-break-summary li{font-size:14px;padding:8px 0}
@media(max-width:540px){.ri-break-row{grid-template-columns:1fr 1fr}.ri-break-row>button{grid-column:1/-1;justify-self:end}.ri-exception-form>header,.ri-exception-form>footer{padding:12px}.ri-exception-body{padding:0 12px 16px}.ri-exception-form>footer>*{flex:1}.ri-exception-totals dd{font-size:16px}}

.recurring-record .ri-record-actions,.recurring-record .ri-next-actions{flex-wrap:wrap}
@container recurring-record (max-width:620px){.recurring-record .ri-record-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.recurring-record .ri-record-actions>.ri-booking-actions{display:flex;min-width:0}.recurring-record .ri-record-actions>.ri-booking-actions>.secondary-btn{width:100%}.recurring-record .ri-next-actions [data-edit-recurring-rate]{grid-column:1/-1}.recurring-record .ri-break-summary .ri-section-header{display:flex;gap:12px;align-items:center;flex-wrap:wrap}}

/* Booking controls have their own layout; history action menus stay 40px wide. */
.recurring-record .ri-record-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex:0 1 340px;min-width:0;max-width:100%;align-items:stretch;padding-top:0}
.recurring-record .ri-booking-actions{display:flex;min-width:0}
.recurring-record .ri-record-actions>button,.recurring-record .ri-booking-actions>button{width:100%;min-width:0;min-height:44px;white-space:normal;overflow-wrap:anywhere}
.recurring-record .ri-header-main,.recurring-record .ri-content,.recurring-record .ri-panel{min-width:0}
.recurring-record .ri-invoice-panel{order:0}
.recurring-record .ri-current{border-top:2px solid #d8b330}
.recurring-record .ri-next{border-top:1px solid var(--ri-border)}
.recurring-record .ri-invoice-panel .ri-section-header{display:flex;align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:16px}
.recurring-record .ri-invoice-reference,.recurring-record .ri-invoice-note{font-size:13px;font-weight:400;line-height:1.5;color:var(--ri-muted);overflow-wrap:anywhere}
.recurring-record .ri-invoice-reference{margin:0}
.recurring-record .ri-invoice-note{margin:14px 0 0}
.recurring-record .ri-invoice-actions{display:flex;flex-wrap:wrap;grid-row:auto;gap:8px;width:100%;margin-top:4px}
.recurring-record .ri-invoice-actions>button{flex:1 1 132px;width:auto;min-width:0;height:auto;min-height:44px;padding:10px 12px;white-space:normal;overflow-wrap:anywhere}
.recurring-layout-overview .ri-invoice-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
.recurring-layout-overview .ri-invoice-facts .ri-fact{border-right:1px solid var(--ri-border);border-bottom:1px solid var(--ri-border)}
.recurring-layout-overview .ri-invoice-facts .ri-fact:nth-child(2n){border-right:0}
.recurring-layout-overview .ri-invoice-facts .ri-fact:nth-last-child(-n+2){border-bottom:0}
.recurring-layout-workspace .ri-content{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);align-items:start}
.recurring-layout-workspace .ri-booking{grid-column:1;grid-row:1}
.recurring-layout-workspace .ri-current{grid-column:2;grid-row:1}
.recurring-layout-workspace .ri-next{grid-column:2;grid-row:2}
.recurring-layout-ledger .ri-invoice-note{grid-column:2}
.recurring-layout-ledger .ri-invoice-panel .ri-invoice-actions>button{flex-basis:100%}
.recurring-list .recurring-current-coverage{display:block;min-width:0;font-size:14px;font-weight:400;line-height:1.5;white-space:normal;overflow-wrap:anywhere;color:#526174}
.recurring-list .current-status-paid,.recurring-list .current-status-fully_credited{color:#1f6f3d}
.recurring-list .current-status-overdue{color:#a9362e}
.recurring-list .current-status-ready,.recurring-list .current-status-due,.recurring-list .current-status-part_paid,.recurring-list .current-status-part_credited{color:#806019}
.recurring-list .current-status-sent,.recurring-list .current-status-payment_initiated{color:#315f96}
.recurring-list .current-status-email_scheduled{color:#505e8f}
@container recurring-record (max-width:1000px){
  .recurring-record .ri-record-actions{flex-basis:100%;width:min(100%,440px)}
}
@container recurring-record (max-width:620px){
  .recurring-record .ri-record-actions{width:100%;max-width:none}
  .recurring-layout-workspace .ri-content{grid-template-columns:minmax(0,1fr)}
  .recurring-layout-workspace .ri-content>.ri-panel{grid-column:auto;grid-row:auto}
  .recurring-record .ri-invoice-actions [data-edit-recurring-rate]{flex-basis:100%}
  .recurring-layout-overview .ri-invoice-facts{grid-template-columns:minmax(0,1fr)}
  .recurring-layout-overview .ri-invoice-facts .ri-fact{border-right:0;border-bottom:1px solid var(--ri-border)}
  .recurring-layout-overview .ri-invoice-facts .ri-fact:last-child{border-bottom:0}
}
@media(max-width:760px){
  .recurring-row{grid-template-areas:"name status" "property property" "email email" "dates dates" "current current" "paid paid" "note note" "progress progress" "date amount"}
  .recurring-list .recurring-current-coverage{grid-area:current}
}

.ri-exception-form .ri-revision-confirm{display:flex;align-items:flex-start;gap:10px;margin:16px 0;line-height:1.5;padding:12px;background:#fff8e5;border-radius:6px}
.ri-exception-form .ri-revision-confirm input{width:20px;height:20px;flex:0 0 20px;margin:1px 0 0;padding:0}

.ri-message-dialog{width:min(680px,calc(100vw - 24px))}
.ri-message-body{display:grid;gap:16px;padding-top:20px}
.ri-message-body select,.ri-message-body textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:10px 12px;border:1px solid #ccd3db;border-radius:6px;background:#fff;color:inherit;font:inherit;font-weight:400;line-height:1.6}
.ri-message-body select{min-height:44px;text-overflow:ellipsis}
.ri-message-body textarea{resize:vertical;min-height:150px;font-size:16px}
.ri-message-body p{margin:0}.ri-message-body [data-message-result]{color:#334a3d}
.ri-message-body select:focus-visible,.ri-message-body textarea:focus-visible{outline:2px solid #ae8200;outline-offset:2px}
@media(max-width:540px){.ri-message-body{padding-top:16px}.ri-message-body select{font-size:16px}.ri-message-body textarea{min-height:260px}.ri-message-dialog h2{font-size:17px}}

.recurring-record .ri-record-actions.ri-record-actions-compact{display:flex;flex:0 1 auto;align-items:center;justify-content:flex-end;flex-wrap:nowrap;width:auto;gap:8px}
.recurring-record .ri-record-actions-compact>[data-generate-guest-message]{width:auto;flex:0 1 auto;min-width:0}
.recurring-record .ri-record-actions-compact>.ri-booking-actions{display:block;flex:none;width:44px}
.recurring-record .ri-record-actions-compact .ri-schedule-more{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;flex:none}
.recurring-record .ri-schedule-menu button{width:100%;min-height:44px;padding:9px 12px;border:0;background:transparent;border-radius:5px;text-align:left;white-space:normal;font-size:14px}
.recurring-record .ri-schedule-menu button:hover{background:#f3f5f7}
.recurring-record .ri-schedule-menu [data-recurring-action="end"]{border-top:1px solid #edf0f2;border-radius:0;margin-top:4px;color:#925049}
@container recurring-record (max-width:620px){.recurring-record .ri-record-actions.ri-record-actions-compact{width:100%;justify-content:flex-start}.recurring-record .ri-record-actions-compact>[data-generate-guest-message]{flex:1}}

/* A single, compact feature backlog. */
.feature-backlog{max-width:1080px;margin:0;min-width:0}.feature-backlog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 24px}.feature-backlog-heading h1{margin:0;font-size:28px;font-weight:600;letter-spacing:-.03em}.feature-backlog-heading button{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;min-height:40px;font-size:14px;font-weight:500}.feature-backlog-heading svg,.feature-backlog-actions svg{width:18px;height:18px}.feature-backlog-list{border:1px solid #dfe3e8;border-radius:10px;overflow:hidden;background:#fff}.feature-backlog-row{display:grid;grid-template-columns:minmax(0,1fr) 156px 108px;align-items:center;gap:16px;padding:10px 16px;min-height:62px;border-bottom:1px solid #eceef1}.feature-backlog-row:last-child{border-bottom:0}.feature-backlog-name{font-size:14px;font-weight:500;overflow-wrap:anywhere;line-height:1.45}.feature-backlog-status{position:relative;justify-self:start;font-size:13px;font-weight:400;color:#626974;background:#f0f1f3;border-radius:5px;padding:5px 9px}.feature-backlog-status.developing{background:#eaf0f9;color:#405c85}.feature-backlog-status:has(select){padding:0}.feature-backlog-status select{border:0;background:transparent;color:inherit;font:inherit;min-height:40px;padding:0 8px;max-width:156px;cursor:pointer}.feature-backlog-status select:disabled{cursor:wait;opacity:.65}.feature-backlog-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.feature-backlog-actions .secondary-btn,.feature-backlog-actions .icon-btn{min-height:40px;min-width:40px;font-size:13px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:0}.feature-backlog-actions .secondary-btn{padding:8px 12px;text-decoration:none}.feature-row-feedback{grid-column:1/-1;color:#795040;font-size:13px}.feature-row-feedback[hidden]{display:none}.feature-backlog-error{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px;padding:12px;border:1px solid #ead2ce;border-radius:8px;color:#9c433d}.feature-backlog-loading{display:flex;align-items:center;gap:12px;min-height:120px;color:#66717e}.feature-backlog-empty{padding:24px;color:#66717e;font-size:14px}.feature-editor{border:1px solid #dfe3e8;border-radius:12px;padding:24px;width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 18px 60px #1720332a}.feature-editor::backdrop{background:#17203360}.feature-editor h2{margin:0 0 20px;font-size:21px;font-weight:600}.feature-editor label{display:grid;gap:7px;margin-bottom:16px;font-size:14px;font-weight:500}.feature-editor input,.feature-editor select{box-sizing:border-box;width:100%;min-height:44px;padding:9px 10px;border:1px solid #d6dce3;border-radius:7px;font:inherit;font-weight:400}.feature-editor footer{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.feature-editor footer button{min-height:40px;font-size:14px}.feature-editor [role=alert]{font-size:14px;color:#a0443d}.feature-editor :focus-visible,.feature-backlog :focus-visible{outline:2px solid #647b9a;outline-offset:3px}.feature-backlog-actions button:hover{background:#f1f3f6}.feature-editor [disabled]{opacity:.6;cursor:wait}@media(max-width:760px){.feature-backlog-heading{gap:12px;align-items:flex-start;margin-bottom:16px}.feature-backlog-heading h1{font-size:24px;line-height:1.2}.feature-backlog-heading button{font-size:13px;padding:9px 10px}.feature-backlog-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:12px}.feature-backlog-name{grid-column:1/-1}.feature-backlog-status{grid-column:1}.feature-backlog-actions{grid-column:2}.feature-editor{padding:20px}.feature-editor input,.feature-editor select{font-size:16px}}

.project-filter{display:flex;align-items:center;gap:8px;margin:0 0 16px;font-size:14px}.project-filter select{min-height:40px;padding:8px;border:1px solid #ddd;border-radius:6px;background:white}.feature-backlog-row[hidden]{display:none}.project-delete{color:#b42318!important;border-color:#e7b7b2!important}.feature-editor footer{flex-wrap:wrap}

@media(max-width:820px) and (min-width:561px){
  .recurring-upcoming-grid>div:nth-child(2n){border-right:1px solid #e1e6ed!important;border-bottom:0!important}
  .recurring-upcoming-grid>div:last-child{border-right:0!important}
}
@media(max-width:560px){
  .recurring-upcoming-grid>div:nth-child(2n){border-right:0!important;border-bottom:1px solid #e1e6ed!important}
  .recurring-upcoming-grid>div:last-child{border-bottom:0!important}
}

.recurring-progress{gap:4px}.recurring-progress .recurring-segment{height:3px;min-width:10px;max-width:48px;border:0;border-radius:999px;flex:1 0 10px}.recurring-progress .segment-future{background:#dce2e9}.recurring-progress .segment-ready{background:#d5a34a}.recurring-progress .segment-sent{background:#3e71ac}.recurring-progress .segment-payment_initiated{background:#3e71ac}.recurring-progress .segment-email_scheduled{background:#8b80b5}.recurring-progress .segment-due,.recurring-progress .segment-part_paid{background:#d5a34a}.recurring-progress .segment-paid{background:#39835a}.recurring-progress .segment-overdue{background:#bb5252}.recurring-progress .segment-closed,.recurring-progress .segment-void,.recurring-progress .segment-fully_credited{background:#c2c6cd}.recurring-progress .segment-part_credited{background:#d5a34a}

/* Keep list quick actions beside the status and future actions separated when wrapping. */
.recurring-status-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;max-width:100%}
.recurring-quick-actions{display:inline-flex;flex:none}
.recurring-status-actions .ri-history-more{position:static;min-width:40px;min-height:40px}
.ri-future-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px}
.ri-timeline .ri-future-actions>button{margin:0}
@media(max-width:760px){.recurring-row .recurring-status-cell>.recurring-status-actions{grid-area:status;justify-self:end;align-self:center;min-width:0;max-width:100%}}
.recurring-row .recurring-status-cell>.recurring-status-actions{display:flex;flex-direction:row;align-items:center;gap:8px}
.recurring-row .recurring-status-actions>.recurring-quick-actions{display:inline-flex}

/* Landlord statement processing */
.statement-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.statement-page-heading h1{margin:0;color:#141d2e;font-size:36px;letter-spacing:-.04em}.statement-page-heading p:not(.eyebrow){margin:7px 0 0;color:#69768a}.statement-page-heading>div:last-child{display:flex;gap:9px}.statement-loading{display:grid;place-items:center;min-height:420px;color:#758196}.statement-notice{margin-bottom:18px;border:1px solid #a7dec6;border-radius:12px;background:#effaf4;color:#176b49;padding:12px 14px;font-size:12px;font-weight:550}.statement-steps{display:flex;align-items:center;justify-content:center;gap:12px;margin:8px 0 20px;color:#8a95a6;font-size:12px;font-weight:550}.statement-steps span{display:flex;align-items:center;gap:7px}.statement-steps b{display:grid;width:27px;height:27px;place-items:center;border-radius:50%;background:#e4e8ef;color:#748096;font-size:11px}.statement-steps .complete{color:#1f5dbd}.statement-steps .complete b{background:#2463eb;color:#fff}.statement-steps i{width:70px;height:2px;background:#dce2eb}.statement-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:17px}.statement-summary-grid>div{border:1px solid #e1e6ee;border-top:4px solid #8d9aad;border-radius:14px;background:#fff;padding:15px 17px}.statement-summary-grid span{display:block;color:#778397;font-size:11px}.statement-summary-grid strong{display:block;margin-top:6px;color:#172033;font-size:27px}.statement-summary-grid .attention{border-top-color:#f79009}.statement-summary-grid .ready{border-top-color:#22a06b}.statement-dropzone{display:grid;place-items:center;border:2px dashed #b7c2d2;border-radius:18px;background:#f9fbfd;padding:34px 20px;cursor:pointer;transition:.18s}.statement-dropzone:hover{border-color:#2463eb;background:#f4f8ff}.statement-dropzone input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.statement-dropzone b{color:#253146;font-size:15px}.statement-dropzone small{max-width:560px;margin-top:7px;color:#7a8699;text-align:center;line-height:1.45}.statement-upload-icon{display:grid;width:45px;height:45px;margin-bottom:12px;place-items:center;border-radius:13px;background:#17243a;color:#fff;font-size:24px}.statement-dropzone.is-uploading{cursor:wait;opacity:.75}.statement-review-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:28px 0 14px}.statement-review-heading h2{margin:0;color:#182033;font-size:22px}.statement-review-heading p:not(.eyebrow){margin:5px 0 0;color:#778397;font-size:12px}.statement-review-heading>span{border-radius:999px;background:#e8eef8;color:#3b5376;padding:7px 10px;font-size:11px;font-weight:550}.statement-review-list{display:grid;gap:14px}.statement-review-card{overflow:hidden;border:1px solid #e0e6ef;border-left:5px solid #f79009;border-radius:16px;background:#fff}.statement-review-card.is-ready{border-left-color:#22a06b}.statement-file-summary{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid #e7ebf1;background:#fafbfd;padding:13px 16px}.statement-file-summary b,.statement-file-summary small{display:block}.statement-file-summary b{overflow:hidden;color:#263247;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.statement-file-summary small{overflow:hidden;margin-top:3px;color:#7e899a;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.statement-pdf-icon{display:grid;width:39px;height:39px;place-items:center;border-radius:10px;background:#e44136;color:#fff;font-size:9px;font-weight:550}.statement-status{border-radius:999px;padding:6px 9px;font-size:10px;font-weight:550;white-space:nowrap}.statement-status.ready{background:#dcf6e9;color:#14704b}.statement-status.review{background:#fff0d5;color:#9a4e00}.statement-status.duplicate{background:#fee2e2;color:#a92d24}.statement-review-grid{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(360px,1.25fr);gap:0}.statement-review-grid>section{padding:17px}.statement-review-grid>section+section{border-left:1px solid #e6eaf0}.statement-review-grid label,.statement-contact-form label{display:grid;gap:6px;margin-bottom:12px;color:#445066;font-size:11px;font-weight:550}.statement-review-grid label>span,.statement-contact-form label>span{color:#8b95a5;font-size:9px;font-weight:550}.statement-review-grid input,.statement-review-grid select,.statement-review-grid textarea,.statement-contact-form input{width:100%}.statement-review-grid textarea{resize:vertical;line-height:1.48}.statement-period-row{display:grid;grid-template-columns:1fr 110px;gap:9px}.statement-email-preview{background:#fcfdff}.statement-email-preview>div{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:12px}.statement-email-preview>div b{color:#263247;font-size:13px}.statement-email-preview>div small{color:#8993a3;font-size:10px}.statement-email-preview .primary-btn{float:right}.statement-download{font-size:11px}.statement-empty{display:grid;place-items:center;margin-top:18px;border:1px dashed #cad3df;border-radius:16px;background:#fafbfd;padding:52px 20px;text-align:center}.statement-empty>span{display:grid;width:52px;height:52px;place-items:center;border-radius:14px;background:#17243a;color:#fff;font-size:22px}.statement-empty h2{margin:14px 0 5px;color:#263247}.statement-empty p{margin:0;color:#7b8799}.statement-contacts-layout{display:grid;grid-template-columns:minmax(320px,.75fr) minmax(480px,1.25fr);gap:18px}.statement-contact-form,.statement-contact-list{border:1px solid #e0e6ef;border-radius:17px;background:#fff;padding:20px}.statement-contact-form h2,.statement-contact-list h2{margin:0;color:#1d293b}.statement-contact-form>div>p:not(.eyebrow){margin:6px 0 18px;color:#758196;font-size:12px;line-height:1.45}.statement-contact-list>div:first-child{margin-bottom:13px}.statement-contact-list article{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.8fr);gap:15px;border-top:1px solid #e9edf3;padding:14px 0}.statement-contact-list article b,.statement-contact-list article span,.statement-contact-list article small{display:block}.statement-contact-list article b{color:#263247;font-size:13px}.statement-contact-list article>div:first-child span{margin-top:4px;color:#526078;font-size:11px}.statement-contact-list article small{margin-top:4px;color:#8a95a6;font-size:10px}.statement-contact-list article>div:last-child span{margin-bottom:4px;color:#315d9d;font-size:11px;overflow-wrap:anywhere}
.statement-contact-recipients{display:flex;min-width:0;flex-direction:column;align-items:flex-start}.statement-contact-edit{margin-top:7px;padding:7px 10px;font-size:10px}.statement-contact-list .statement-contact-edit-card{display:block;border:1px solid #b9ccec;border-radius:13px;background:#f7faff;padding:15px}.statement-contact-edit-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.statement-contact-edit-heading b,.statement-contact-edit-heading small{display:block}.statement-contact-edit-heading small{margin-top:4px}.statement-contact-edit-heading .secondary-btn{padding:7px 10px;font-size:10px}.statement-contact-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.statement-contact-edit-grid label{display:grid;gap:6px;margin-bottom:11px;color:#445066;font-size:11px;font-weight:550}.statement-contact-edit-grid label>span{color:#8b95a5;font-size:9px;font-weight:550}.statement-contact-edit-grid .wide{grid-column:1/-1}.statement-contact-edit-grid input{width:100%}.statement-contact-edit-actions{display:flex;justify-content:flex-end}.statement-contact-edit-actions .primary-btn{min-width:115px}
.statement-recipient-field{display:grid;gap:7px;margin-bottom:12px;color:#445066;font-size:11px}.statement-recipient-field>b{font-size:11px}.statement-recipient-list{display:grid;gap:7px}.statement-recipient-row{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:7px}.statement-recipient-row input{width:100%;min-width:0}.statement-recipient-row [data-remove-email-recipient]{width:40px;min-width:40px;border:1px solid #e2c4c1;background:#fff5f4;color:#a52d26;font-size:18px}.statement-recipient-add{justify-self:start;padding:3px 0;color:#315f96;font-size:11px}.statement-recipient-add:hover{text-decoration:underline}
.statement-file-details{min-width:0}.statement-file-name{display:block;max-width:100%;overflow:hidden;border:0;background:transparent;color:#245bb5;padding:0;font:inherit;font-size:13px;font-weight:550;text-align:left;text-decoration:underline;text-decoration-color:#b9cae6;text-underline-offset:3px;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.statement-file-name:hover,.statement-file-name:focus-visible{color:#17468f;text-decoration-color:currentColor}.statement-delete{margin-top:2px}.statement-review-controls{display:flex;align-items:center;gap:10px}.statement-review-controls>span{border-radius:999px;background:#e8eef8;color:#3b5376;padding:7px 10px;font-size:11px;font-weight:550}.statement-review-controls .danger-link{min-height:31px}.statement-button-loader{display:inline-block;width:14px;height:14px;margin:0 7px -2px 0;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}.statement-upload-loader{margin:0 0 14px}.statement-preview-backdrop{position:fixed;z-index:3000;inset:0;display:grid;place-items:center;background:rgba(12,20,34,.72);padding:24px}.statement-preview-modal{display:grid;width:min(1000px,96vw);height:min(820px,92vh);grid-template-rows:auto 1fr;overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.35)}.statement-preview-modal header{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #e4e8ef;padding:13px 16px}.statement-preview-modal header b,.statement-preview-modal header small{display:block}.statement-preview-modal header b{color:#263247;font-size:13px}.statement-preview-modal header small{margin-top:3px;color:#7d8899;font-size:10px}.statement-preview-actions{display:flex;align-items:center;gap:8px}.statement-preview-modal iframe{width:100%;height:100%;border:0;background:#eef1f5}
@media(max-width:1000px){.statement-review-grid{grid-template-columns:1fr}.statement-review-grid>section+section{border-top:1px solid #e6eaf0;border-left:0}.statement-contacts-layout{grid-template-columns:1fr}.statement-summary-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.statement-page-heading{align-items:flex-start;flex-direction:column}.statement-page-heading h1{font-size:31px}.statement-page-heading>div:last-child{width:100%}.statement-page-heading>div:last-child button{flex:1}.statement-steps{justify-content:flex-start;overflow:auto}.statement-steps i{min-width:24px}.statement-summary-grid{gap:8px}.statement-file-summary{grid-template-columns:38px minmax(0,1fr)}.statement-file-summary .statement-status{grid-column:1/-1;width:max-content}.statement-period-row{grid-template-columns:1fr 95px}.statement-contact-list article{grid-template-columns:1fr}.statement-review-heading{align-items:flex-start;flex-direction:column}.statement-review-controls{width:100%;justify-content:space-between}.statement-dropzone{padding:26px 14px}.statement-preview-actions .secondary-btn{padding:8px 10px}}
@media(max-width:680px){.statement-contact-edit-grid{grid-template-columns:1fr}.statement-contact-edit-grid .wide{grid-column:auto}.statement-preview-backdrop{padding:0}.statement-preview-modal{width:100vw;height:100vh;border-radius:0}}

/* Landlord Statements follows the approved Command Centre card system. */
.statement-notice,.statement-summary-grid>div,.statement-dropzone,.statement-upload-icon,.statement-review-heading>span,.statement-review-card,.statement-pdf-icon,.statement-status,.statement-empty,.statement-empty>span,.statement-contact-form,.statement-contact-list,.statement-contact-list .statement-contact-edit-card,.statement-review-controls>span,.statement-preview-modal{border-radius:6px!important}
.statement-summary-grid>div{border-top:1px solid #e1e6ee;border-left:4px solid #8d9aad}
.statement-summary-grid .attention{border-left-color:#e17824}
.statement-summary-grid .ready{border-left-color:#4c9b70}
.statement-review-card{border-left-width:4px}
.statement-status,.statement-review-heading>span,.statement-review-controls>span{border-radius:5px!important}
.statement-review-card,.statement-contact-form,.statement-contact-list,.statement-summary-grid>div{background:#fff;border-color:#dfe5ed}
.statement-review-card:hover,.statement-contact-list article:hover{border-color:#d0b33b;background:#fff9df}
.statement-dropzone:hover{border-color:#d0b33b;background:#fff9df}
/* A visible transfer total, with individual fees directly beside their statements. */
.statement-fee-total{display:flex;justify-content:space-between;gap:24px;margin:22px 0;padding:24px;background:#fff9df;border:1px solid #ead380;border-left:5px solid #ffca00;border-radius:8px;color:#383838}
.statement-fee-total h2{font-size:19px;margin:6px 0 10px;font-weight:550}
.statement-fee-amount{display:block;font-size:clamp(32px,5vw,46px);font-weight:550;line-height:1.2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.statement-fee-total p{margin:8px 0}.statement-fee-total small,.statement-fee-card small{display:block;line-height:1.5;color:#635e50}
.statement-fee-actions{display:flex;flex-direction:column;gap:12px;min-width:230px;align-self:center}
.statement-fee-actions label,.statement-fee-edit label{display:grid;gap:6px;font-size:12px;font-weight:550}
.statement-fee-actions select,.statement-fee-edit input{width:100%;min-width:0;border:1px solid #d7d3c8;border-radius:6px;background:#fff;color:#383838;padding:10px;font:inherit;font-size:14px;box-sizing:border-box}
.statement-fee-card{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-top:1px solid #eee;border-bottom:1px solid #eee;margin:16px 0}
.statement-fee-card>div:first-child{flex:1;min-width:0}.statement-fee-card strong{display:block;font-size:24px;font-weight:550;margin:5px 0;font-variant-numeric:tabular-nums}
.statement-fee-edit{display:flex;align-items:end;gap:8px}.statement-fee-edit input{max-width:145px}.statement-fee-edit button{white-space:nowrap}
.statement-fee-warning{color:#8a4514!important}.statement-fee-progress{display:flex;align-items:center;gap:8px}.statement-fee-progress .statement-button-loader{flex:0 0 auto}
@media(max-width:680px){.statement-fee-total,.statement-fee-card{flex-direction:column;gap:16px;padding:18px}.statement-fee-actions{min-width:0;width:100%;align-self:stretch}.statement-fee-edit{align-items:end}.statement-fee-edit label{flex:1}.statement-fee-edit input{max-width:none}.statement-fee-card{padding:16px 0}}

.statement-drive-panel{padding:22px;margin:22px 0;border:1px solid #d9dfd0;border-radius:8px;background:#fff}.statement-drive-heading,.statement-drive-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.statement-drive-panel h2{font-size:19px;font-weight:550;margin:0 0 8px}.statement-drive-panel p{font-size:14px;line-height:1.5;margin:8px 0}.statement-drive-panel a{color:#4e603a;text-decoration:underline;overflow-wrap:anywhere}.statement-drive-panel form{display:flex;align-items:end;gap:12px;margin:18px 0}.statement-drive-panel label{display:grid;gap:8px;flex:1;font-size:14px;font-weight:550;min-width:0}.statement-drive-panel input{min-width:0;width:100%;padding:11px;border:1px solid #d2d8ca;border-radius:6px;font-size:14px;box-sizing:border-box}.statement-drive-actions{justify-content:flex-start;margin-top:18px}.statement-drive-actions span{font-size:14px;color:#637055}.statement-drive-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;font-size:14px}.statement-drive-periods{color:#6b591a}.statement-drive-panel .statement-status{overflow-wrap:anywhere;white-space:normal}.statement-drive-panel .statement-fee-progress{align-items:flex-start}.statement-drive-panel .statement-button-loader{flex-shrink:0;margin-top:3px}
@media(max-width:640px){.statement-drive-panel{padding:16px}.statement-drive-panel form{align-items:stretch;flex-direction:column}.statement-drive-panel form label{width:100%}.statement-drive-panel input{font-size:16px}.statement-drive-actions{align-items:stretch;flex-direction:column}}

/* Landlord payout review and reusable bank account rules. */
.lp-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,310px);gap:24px;margin:20px 0;padding:24px;background:#fff9dc;border:1px solid #e8d786;border-radius:16px}.lp-summary h2,.lp-settings h2{font-size:22px;font-weight:550;margin:3px 0 10px}.lp-total{display:block;font-size:34px;font-weight:550;letter-spacing:-.5px}.lp-summary p{margin:10px 0}.lp-summary small,.lp-card small,.lp-property-list small{color:#5c655e;font-size:13px;line-height:1.5}.lp-actions{display:flex;flex-direction:column;gap:10px;justify-content:center}.lp-actions label,.lp-card-inputs label,.lp-editor label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:500}.lp-actions select,.lp-card-inputs input,.lp-card-inputs select,.lp-editor input,.lp-editor select{width:100%;min-width:0;padding:11px 12px;border:1px solid #cad2ca;border-radius:9px;background:#fff;color:#20352d;font:inherit}.lp-checks{font-size:13px;max-width:750px}.lp-checks summary{cursor:pointer;font-weight:500}.lp-checks p{margin:7px 0}.lp-card{margin:18px 0;padding:20px;border:1px solid #ded5b4;border-radius:12px;background:#fffcf0}.lp-card.is-verified{background:#f3f8f1;border-color:#b1c9ac}.lp-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.lp-card-heading strong{display:block;font-size:27px;font-weight:550;margin:4px 0}.lp-card-heading span{font-size:14px}.lp-card-heading small{display:block}.lp-card-inputs{display:grid;grid-template-columns:minmax(150px,.6fr) minmax(0,1fr);gap:14px;margin:16px 0}.lp-splits>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-top:1px solid #e1e4d9;font-size:15px;overflow-wrap:anywhere}.lp-splits small{display:block;margin-top:5px}.lp-splits strong{font-weight:550;white-space:nowrap;font-size:18px}.lp-card-actions,.lp-editor-buttons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:16px}.lp-editor{background:#fff;padding:22px;border:1px solid #ccd3c8;border-radius:14px;margin:20px 0}.lp-editor h3,.lp-property-list h3{font-size:18px;font-weight:550;margin:0 0 10px}.lp-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.lp-editor fieldset{margin:20px 0;padding:18px;border:1px solid #dce2d7;border-radius:10px;min-width:0}.lp-editor legend{font-weight:500;padding:0 7px;font-size:15px}.lp-property-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.lp-property-list article{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;padding:20px;border:1px solid #dce2d7;border-radius:12px;background:white}.lp-property-list p{font-size:14px;overflow-wrap:anywhere}.lp-property-list small{display:block;margin-top:5px}.lp-property-list button{flex-shrink:0}.lp-summary [hidden],.lp-settings [hidden]{display:none}.lp-summary .statement-button-loader{margin-right:8px;vertical-align:middle}
@media(max-width:900px){.lp-property-list{grid-template-columns:1fr}.lp-summary{grid-template-columns:1fr}.lp-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}}
@media(max-width:600px){.lp-summary,.lp-card,.lp-editor{padding:16px}.lp-card-inputs,.lp-editor-fields,.lp-actions{grid-template-columns:1fr}.lp-property-list article{flex-direction:column}.lp-card-heading{flex-wrap:wrap}.lp-card-actions>button,.lp-editor-buttons>button{flex:1}.lp-editor input,.lp-editor select,.lp-actions select,.lp-card-inputs input,.lp-card-inputs select{font-size:16px}}

/* Consistent spacing and readable controls throughout the statement workspace. */
.statement-page{--statement-gutter:24px;min-width:0;font-size:16px;line-height:1.5}
.statement-page *{box-sizing:border-box}
.statement-page-heading{align-items:center;gap:24px;margin-bottom:28px}
.statement-page-heading>div:first-child{min-width:0;max-width:720px}
.statement-page-heading>div:last-child{flex-wrap:wrap;flex-shrink:0}
.statement-uplisting-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.statement-page-heading h1{font-size:32px;line-height:1.2}
.statement-page .primary-btn,.statement-page .secondary-btn{min-height:42px;padding:10px 16px;font-size:14px;line-height:1.4}
.statement-page .danger-link{min-height:40px;font-size:14px}
.statement-page .eyebrow{font-size:12px;letter-spacing:.08em}
.statement-page .statement-status{font-size:12px;font-weight:550;padding:6px 10px}
.statement-steps{justify-content:flex-start;margin:0 0 24px;font-size:14px}
.statement-steps b{width:30px;height:30px;font-size:13px}
.statement-steps i{width:40px}
.statement-summary-grid{gap:16px;margin:24px 0}
.statement-summary-grid>div{padding:18px 20px}
.statement-summary-grid span{font-size:14px;color:#596575}
.statement-summary-grid strong{font-size:28px;margin-top:4px}
.statement-dropzone{padding:32px 24px;text-align:center;gap:4px}
.statement-dropzone b{font-size:16px}
.statement-dropzone small{font-size:14px;color:#596575;max-width:620px}
.statement-page .statement-fee-total,.statement-page .lp-summary,.statement-page .statement-drive-panel{margin:24px 0;padding:var(--statement-gutter);border-radius:8px}
.statement-fee-total{align-items:flex-start;gap:32px}
.statement-fee-total h2,.statement-page .lp-summary h2,.statement-drive-panel h2{font-size:20px;font-weight:550;line-height:1.3}
.statement-fee-total small,.statement-fee-card small,.statement-page .lp-summary small{font-size:14px}
.statement-fee-actions{width:280px;max-width:100%;min-width:0;flex-shrink:0;align-self:flex-start}
.statement-fee-actions label,.statement-fee-edit label{font-size:14px}
.statement-fee-actions small{color:#655f4a;font-size:13px;line-height:1.5}
.statement-page .lp-summary{background:#fff;border:1px solid #dfe5ed}
.statement-page .lp-total{font-variant-numeric:tabular-nums}
.statement-page .lp-checks{font-size:14px;margin-top:16px}
.statement-page .lp-checks summary{min-height:36px;display:list-item}
.statement-page .lp-actions{gap:12px}
.statement-drive-heading{align-items:flex-start}
.statement-drive-heading>div{flex:1;min-width:200px}
.statement-drive-heading p{color:#596575}
.statement-drive-panel form{padding-top:4px;margin:20px 0}
.statement-review-heading{margin:36px 0 20px;align-items:center}
.statement-review-heading p:not(.eyebrow){font-size:14px;line-height:1.5}
.statement-review-controls{flex-shrink:0;flex-wrap:wrap}
.statement-review-controls>span{font-size:14px}
.statement-review-list{gap:24px}
.statement-page .statement-review-card:hover{background:#fff;border-color:#dfe5ed}
.statement-file-summary{padding:20px var(--statement-gutter);gap:16px}
.statement-file-name{font-size:16px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.statement-file-summary small{font-size:12px;white-space:normal;overflow-wrap:anywhere;color:#647083}
.statement-financials{display:grid;grid-template-columns:minmax(240px,.75fr) minmax(0,1.25fr);align-items:start;gap:20px;padding:var(--statement-gutter);border-bottom:1px solid #e6eaf0}
.statement-financials .statement-fee-card,.statement-financials .lp-card{margin:0;padding:20px;border-radius:8px;min-width:0}
.statement-financials .statement-fee-card{flex-direction:column;gap:24px;background:#fafbfc;border:1px solid #e0e6ed}
.statement-financials .statement-fee-card.needs-review{background:#fffaf0;border-color:#ebd4a3}
.statement-fee-card strong{font-size:28px;margin:6px 0 10px;line-height:1.3}
.statement-fee-edit{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}
.statement-fee-edit input{max-width:none}
.statement-financials .lp-card{background:#fffdf5;border-color:#e5dbc0}
.statement-financials .lp-card.is-verified{background:#f3f8f1;border-color:#b1c9ac}
.statement-page .lp-card-inputs{grid-template-columns:minmax(0,.6fr) minmax(0,1fr)}
.statement-page .lp-card-heading small{font-size:14px}
.statement-page .lp-splits>div{align-items:flex-start}
.statement-review-grid{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}
.statement-review-grid>section{padding:var(--statement-gutter);min-width:0}
.statement-review-grid label,.statement-contact-form label,.statement-contact-edit-grid label{font-size:14px;gap:8px;margin-bottom:18px;font-weight:550}
.statement-review-grid input,.statement-review-grid select,.statement-review-grid textarea,.statement-contact-form input,.statement-contact-edit-grid input{min-width:0;min-height:44px;border:1px solid #cbd3dd;border-radius:6px;background:#fff;color:#263247;padding:11px 12px;font:inherit;font-size:16px;line-height:1.5}
.statement-review-grid textarea{min-height:190px}
.statement-period-row{gap:14px}
.statement-recipient-field,.statement-recipient-field>b{font-size:14px}
.statement-recipient-row{gap:10px}
.statement-page .statement-recipient-add{font-size:14px;padding:8px 0}
.statement-recipient-row [data-remove-email-recipient]{border-radius:6px;min-height:44px}
.statement-email-preview>div{gap:12px;flex-wrap:wrap;margin-bottom:20px}
.statement-email-preview>div b{font-size:16px}
.statement-email-preview>div small{font-size:13px}
.statement-email-preview .primary-btn{float:none;display:block;margin-left:auto}
.statement-contacts-layout{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:24px}
.statement-contact-form,.statement-contact-list{padding:var(--statement-gutter);min-width:0}
.statement-contact-form>div>p:not(.eyebrow){font-size:14px}
.statement-contact-list article{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:20px 0}
.statement-contact-list article b{font-size:16px}
.statement-contact-list article>div:first-child span,.statement-contact-list article>div:last-child span{font-size:14px}
.statement-contact-list article small{font-size:12px}
.statement-page :is(input,select,textarea,button):focus-visible{outline:3px solid #b18e13;outline-offset:3px}
.statement-page [disabled]{cursor:not-allowed;opacity:.6}
@media(max-width:1100px){
  .statement-page-heading{align-items:flex-start;flex-direction:column}
  .statement-financials,.statement-review-grid,.statement-contacts-layout{grid-template-columns:minmax(0,1fr)}
  .statement-review-grid>section+section{border-left:0;border-top:1px solid #e6eaf0}
}
@media(max-width:680px){
  .statement-page{--statement-gutter:18px}
  .statement-page-heading h1{font-size:28px}
  .statement-page-heading>div:last-child{width:100%;gap:10px}
  .statement-page-heading>div:last-child button{flex:1 1 150px}
  .statement-steps{gap:8px;font-size:13px}
  .statement-steps span{flex-shrink:0;gap:6px}
  .statement-steps i{width:16px;min-width:16px}
  .statement-summary-grid{gap:12px}
  .statement-summary-grid>div{padding:14px 16px}
  .statement-fee-total{flex-direction:column;gap:20px}
  .statement-fee-actions{width:100%;max-width:none}
  .statement-review-heading{align-items:flex-start}
  .statement-financials{gap:16px}
  .statement-financials .statement-fee-card,.statement-financials .lp-card{padding:16px}
  .statement-page .lp-card-inputs{grid-template-columns:minmax(0,1fr)}
  .statement-page .lp-card-heading{flex-wrap:wrap}
  .statement-contact-list article{grid-template-columns:minmax(0,1fr)}
  .statement-page .lp-editor-fields{grid-template-columns:minmax(0,1fr)}
  .statement-page .lp-property-list article{flex-direction:column}
  .statement-fee-actions select,.statement-fee-edit input,.statement-page .lp-actions select{font-size:16px}
}
@media(max-width:380px){.statement-fee-edit{grid-template-columns:minmax(0,1fr)}.statement-steps i{display:none}.statement-steps{justify-content:space-between;font-size:12px}.statement-steps b{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){.statement-button-loader{animation:none}}
.statement-operation-status{display:flex;align-items:center;gap:10px;margin-bottom:18px;border:1px solid #b8cae4;border-radius:6px;background:#f2f6fc;color:#29496f;padding:12px 14px;font-size:14px;font-weight:550}.statement-operation-status .statement-button-loader{flex:0 0 auto;margin:0}

/* PDF, amounts and email are separate review surfaces. */
.statement-page .statement-review-card b,.statement-page .statement-review-card strong,.statement-page .statement-file-name{font-weight:550}
.statement-page .statement-review-card{overflow:visible}
.statement-page .statement-file-summary{border-radius:6px 6px 0 0}
.statement-page .statement-financials{grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);align-items:start;gap:20px}
.statement-document{min-width:0;border:1px solid #d5dbe3;border-radius:6px;overflow:hidden;background:#eef0f3}
.statement-document header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#f8f9fb;border-bottom:1px solid #d5dbe3}
.statement-document h3,.statement-email-heading h3{font-size:16px;font-weight:550;margin:0}
.statement-inline-pdf{height:650px;overflow:auto;overscroll-behavior:contain;padding:12px;scrollbar-gutter:stable}
.statement-pdf-loading{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;min-height:140px;color:#526078;font-size:14px}
.statement-pdf-page{background:white;box-shadow:0 1px 4px #0002;margin:0 auto 12px;text-align:center;color:#647083;font-size:13px}
.statement-pdf-page canvas{display:block;max-width:100%}
.statement-amounts{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;min-width:0}
.statement-page .statement-amounts .lp-card,.statement-page .statement-amounts .statement-fee-card{padding:18px;background:#fff;border:1px solid #dfe5ed;gap:14px}
.statement-amounts .lp-card-heading{flex-direction:row;flex-wrap:wrap;gap:12px}
.statement-amounts strong{font-size:26px;overflow-wrap:anywhere}
.statement-amounts .lp-card-actions{justify-content:flex-start}
.statement-amounts .lp-splits>div{flex-direction:row;gap:12px}
.statement-amounts .lp-splits strong{font-size:18px}
.statement-linked-property{margin:0;padding-top:14px;border-top:1px solid #e1e5eb}
.statement-linked-property>span{font-size:14px;color:#596575}
.statement-linked-property p{margin:4px 0 8px;font-size:16px;overflow-wrap:anywhere}
.statement-amend{min-width:0;font-size:14px}
.statement-amend summary,.statement-amend-button{display:inline-block;border:1px solid #ccd3dd;background:white;border-radius:5px;color:#445066;padding:6px 10px;font:inherit;font-size:14px;font-weight:500;cursor:pointer;min-height:34px;text-align:left}
.statement-amend summary{list-style:none;user-select:none}
.statement-amend summary::-webkit-details-marker{display:none}
.statement-amend[open]>summary{margin-bottom:12px;background:#f1f3f6}
.statement-amend[open]{width:100%}
.statement-amend label{display:grid;gap:6px;font-size:14px;font-weight:500;margin-bottom:12px}
.statement-amend input,.statement-amend select{width:100%;min-width:0;max-width:100%;font:inherit;font-size:16px;padding:10px;border:1px solid #cbd3dd;border-radius:5px;background:white}
.statement-amend-button:hover,.statement-amend summary:hover{background:#f5f6f8}
.statement-linked-property .statement-amend{margin-bottom:8px}
.statement-amounts .statement-fee-edit{grid-template-columns:minmax(0,1fr);gap:4px}
.statement-email-section{padding:24px;background:#f0f3f7;border-top:1px solid #d6dde6;border-radius:0 0 6px 6px}
.statement-email-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.statement-email-envelope{background:#fff;border:1px solid #d2dae4;border-radius:6px;overflow:hidden}
.statement-email-address-line,.statement-email-subject{display:grid;grid-template-columns:4.5em minmax(0,1fr);align-items:baseline;gap:12px;margin:0;padding:16px 20px;font-size:16px;line-height:1.6;border-bottom:1px solid #e5e9ef;overflow-wrap:anywhere}
.statement-email-field-label{font-weight:500;color:#526078}
.statement-email-address-line [data-recipient-summary]{min-width:0;font-weight:400;color:#263247}
.statement-email-tools{display:flex;flex:1;align-items:flex-start;flex-wrap:wrap;gap:10px;min-width:0}
.statement-email-tools .statement-amend[open]{flex-basis:100%;padding:12px;background:#f7f8fa;border-radius:5px}
.statement-email-section .statement-recipient-field{margin:0}
.statement-email-section input[data-statement-subject]{min-width:0;width:100%;margin:0;padding:0;border:0;background:#fff;font:inherit;font-size:16px;font-weight:400;line-height:inherit;color:#263247}
.statement-email-message{display:block;padding:12px 20px}
.statement-email-message textarea{display:block;box-sizing:border-box;width:100%;min-height:220px;resize:vertical;border:0;background:#fff;font:inherit;font-size:16px;line-height:1.65;padding:8px 6px;color:#263247}
.statement-email-section .statement-recipient-row input{padding:10px;font-size:16px;background:white;border:1px solid #cbd3dd;border-radius:5px}
.statement-attachment{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 20px;background:#fafbfc;color:#526078;font:inherit;font-size:13px;border:0;border-top:1px solid #e5e9ef;overflow-wrap:anywhere;text-align:left;cursor:pointer}.statement-attachment span{flex-shrink:0;text-decoration:underline;text-underline-offset:3px}.statement-attachment:hover{background:#f0f3f7}
.statement-email-section footer{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-top:16px}
.statement-flagged{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 24px;color:#874415;background:#fff2db;border-bottom:1px solid #edd4af}
.statement-disabled-help{position:relative;display:block;min-width:0;border-radius:6px}
.statement-disabled-help>button{width:100%}
.statement-disabled-help>button:disabled{pointer-events:none;cursor:default}
.statement-disabled-help [role=tooltip]{position:absolute;z-index:100;bottom:calc(100% + 9px);right:0;width:max-content;max-width:min(360px,85vw);padding:11px 14px;border-radius:6px;background:#253146;color:white;font-size:14px;line-height:1.5;box-shadow:0 3px 14px #0002;visibility:hidden;opacity:0;pointer-events:none;white-space:normal}
.statement-disabled-help:hover [role=tooltip],.statement-disabled-help:focus [role=tooltip],.statement-disabled-help:focus-within [role=tooltip]{visibility:visible;opacity:1}
.statement-disabled-help:focus-visible,.statement-amend summary:focus-visible,.statement-inline-pdf:focus-visible{outline:3px solid #b18e13;outline-offset:3px}
.statement-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.statement-page [hidden]{display:none!important}

@media(max-width:900px){.statement-page .statement-financials{grid-template-columns:minmax(0,1fr)}.statement-amounts{grid-template-columns:minmax(0,1fr)}.statement-inline-pdf{height:480px}}
@media(max-width:600px){.statement-amounts{grid-template-columns:minmax(0,1fr)}.statement-email-section{padding:18px}.statement-email-address-line,.statement-email-subject,.statement-email-message,.statement-attachment{padding-left:14px;padding-right:14px}.statement-email-heading,.statement-email-section footer{align-items:flex-start;flex-wrap:wrap}.statement-email-section footer .primary-btn{width:100%}.statement-inline-pdf{height:420px}}

/* Compact financial panels leave most of the review width for the statement. */
.statement-page .statement-file-name{display:block;margin:0;font-size:21px;line-height:1.35;color:#263247;text-decoration:none;cursor:default;background:none;border:0;padding:0;text-align:left}
.statement-page .statement-file-name:hover{text-decoration:none;color:#263247}
.statement-file-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px}
.statement-page .statement-amounts .lp-card{background:#fff9e8;border-color:#e8dfc5}
.statement-page .statement-amounts .statement-fee-card{background:#f3f5f8;border-color:#dce2e9}
.statement-financial-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:6px}
.statement-financial-actions .secondary-btn,.statement-email-tools summary,.statement-email-tools .statement-amend-button{background:#fff}
.statement-financial-actions .primary-btn{margin-left:auto}
.statement-payout-edit{display:grid;gap:14px}
.statement-payout-edit label,.statement-fee-edit label{display:grid;gap:6px;font-size:14px;font-weight:500;min-width:0}
.statement-payout-edit input,.statement-payout-edit select{box-sizing:border-box;width:100%;min-width:0;padding:10px;border:1px solid #cbd3dd;border-radius:5px;background:#fff;color:#263247;font:inherit;font-size:16px}
.statement-bank-editor{min-width:0}
.statement-bank-editor fieldset{min-width:0;padding:12px;margin:12px 0 0;border:1px solid #e1d9c4;border-radius:5px}
.statement-bank-editor legend{font-size:13px;padding:0 5px;color:#596575}
.statement-bank-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.statement-email-heading h3{font-size:18px;overflow-wrap:anywhere}
.statement-email-tools .statement-amend[open]{background:#fff;border:1px solid #d2dae4}
.statement-email-section footer>.primary-btn{flex-shrink:0}
@media(max-width:600px){.statement-file-actions{justify-content:flex-start}.statement-page .statement-file-name{font-size:19px}.statement-email-tools{flex-basis:100%}.statement-attachment{flex-wrap:wrap}}
@media(max-width:380px){.statement-bank-fields{grid-template-columns:minmax(0,1fr)}.statement-financial-actions{gap:8px}}

.statement-page .statement-delete-month{color:#a33a32;border-color:#dfbdb8;background:#fff}
.statement-page .statement-delete-month:hover:not(:disabled){background:#fff4f2;border-color:#b9756c}

/* The same label/value hierarchy is used for every payout detail being checked. */
.statement-page .lp-card .statement-review-label,.statement-page .lp-card .statement-payment-fields dt{display:block;margin:0;color:#596575;font-size:14px;line-height:1.4;font-weight:500}
.statement-page .lp-card .statement-review-value,.statement-page .lp-card .statement-payment-fields dd{display:block;margin:4px 0 0;color:#263247;font-size:16px;line-height:1.45;font-weight:550;overflow-wrap:anywhere;white-space:normal}
.statement-page .lp-card [data-payout-display]{font-size:27px;line-height:1.25;font-variant-numeric:tabular-nums}
.statement-page .lp-card .statement-linked-property>.statement-review-value{font-size:18px;margin-bottom:0}
.statement-page .lp-card .statement-linked-property{margin-top:16px;padding-top:16px;border-color:#e1d9c4}
.statement-payment-details{margin-top:12px;padding-top:12px;border-top:1px solid #e1d9c4}
.statement-page .lp-card .lp-splits>.statement-payment-account{display:block;padding:10px 0 0;border:0}
.statement-page .lp-card .lp-splits>.statement-payment-account+.statement-payment-account{margin-top:12px;padding-top:12px;border-top:1px solid #e1d9c4}
.statement-page .lp-card .statement-split-amount{margin-bottom:10px;text-align:left}
.statement-page .lp-card .statement-split-amount>.statement-review-value{font-size:24px;font-variant-numeric:tabular-nums;white-space:nowrap}
.statement-payment-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0}
.statement-payment-fields>div{min-width:0}
.statement-payment-fields dd{font-variant-numeric:tabular-nums}
.statement-page .lp-card .statement-payment-fields .statement-payee-line{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px;row-gap:2px}
.statement-payee-line>span{min-width:0}
.statement-bank-detail{display:inline-flex;align-items:baseline;gap:8px;white-space:nowrap}
.statement-payee-separator{color:#89919c}
.statement-page .lp-card .statement-financial-actions{margin-top:16px}
@media(max-width:600px){.statement-page .lp-card .statement-payment-fields .statement-payee-line{flex-direction:column;align-items:flex-start}.statement-payee-separator{display:none}}

/* Gmail-style recipient chips and a full-width subject line. */
.statement-compose-recipient-row{display:grid;grid-template-columns:4rem minmax(0,1fr) auto;align-items:baseline;gap:12px;padding:12px 20px;border-bottom:1px solid #e5e9ef;min-height:60px;box-sizing:border-box}
.statement-compose-recipient-row .statement-email-field-label{color:#5f6368;font-size:14px;font-weight:500}
.statement-recipient-composer{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.statement-recipient-chips{display:contents}
.statement-recipient-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:4px 8px 4px 12px;border:1px solid #dadce0;border-radius:18px;background:#f7f8fa;font-size:14px;line-height:1.5;color:#263247}
.statement-recipient-chip>span{min-width:0;overflow-wrap:anywhere}
.statement-recipient-chip button{border:0;background:none;color:#5f6368;font:inherit;font-size:18px;line-height:1;width:24px;height:24px;flex-shrink:0;padding:0;cursor:pointer;border-radius:50%}
.statement-recipient-chip button:hover{background:#e2e6eb;color:#263247}
.statement-email-section input[data-recipient-entry]{flex:1 1 140px;min-width:0;max-width:100%;width:140px;padding:6px 0;border:0;background:transparent;font:inherit;font-size:16px;line-height:1.5;color:#263247;outline:none}
.statement-email-section input[data-recipient-entry]:focus{box-shadow:0 2px 0 #d1ae32}
.statement-email-section input[data-recipient-entry]::placeholder{color:#7a8490;font-size:14px}
.statement-email-section .statement-cc-toggle{background:none;border:0;padding:6px 0;font:inherit;font-size:14px;color:#5f6368;cursor:pointer}
.statement-cc-toggle:hover{text-decoration:underline}
.statement-recipient-error{flex-basis:100%;font-size:14px;color:#a33a32}
.statement-email-subject{display:grid;grid-template-columns:4rem minmax(0,1fr);padding:16px 20px}
.statement-email-subject .statement-email-field-label{color:#5f6368;font-size:14px;font-weight:500}
.statement-email-section input[data-statement-subject]::placeholder{color:#5f6368}
@media(max-width:600px){.statement-compose-recipient-row,.statement-email-subject{padding-left:14px;padding-right:14px;gap:8px}}

.statement-bulk-review{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0;padding:16px 20px;border:1px solid #e2dbc0;border-radius:6px;background:#fff9e8}
.statement-bulk-review p{margin:0;font-size:16px;color:#263247;font-weight:500}
.statement-bulk-review p span{display:block;margin-top:4px;font-size:14px;line-height:1.5;font-weight:400;color:#596575}
.statement-bulk-review .statement-disabled-help{flex-shrink:0}
@media(max-width:680px){.statement-bulk-review{align-items:stretch;flex-direction:column}}

/* Separate complete statements while keeping their review sections together. */
.statement-page .statement-review-list{gap:36px}
.statement-page .statement-review-card,.statement-page .statement-review-card:hover{border:1px solid #bcc8d6;border-top:4px solid #d5b44b;background:#fff;box-shadow:0 6px 20px rgba(38,50,71,.09)}
.statement-page .statement-file-summary{background:#e9eef4;border-bottom:1px solid #cbd5e1;border-radius:3px 3px 0 0}
.statement-page .statement-verified-confirmation{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-left:auto;padding:11px 14px;border:1px solid #b7d8c5;border-radius:6px;background:#eaf5ee;color:#226344;font-size:14px;line-height:1.4;font-weight:550}
.statement-page .lp-card.is-verified .statement-financial-actions{flex-wrap:wrap}
@media(max-width:600px){.statement-page .statement-review-list{gap:28px}}

/* A shared, quiet success surface; confirmation stays distinct from the card. */
.statement-page .statement-amounts .lp-card.is-verified,
.statement-page .statement-amounts .statement-fee-card.is-verified{background:#f0f8f3;border-color:#b7d8c5}
.statement-page .lp-card.is-verified .statement-linked-property,
.statement-page .lp-card.is-verified .statement-payment-details,
.statement-page .lp-card.is-verified .statement-payment-account+.statement-payment-account{border-color:#cee2d6}
.statement-page .statement-amounts .is-verified .statement-verified-confirmation,
.statement-page .statement-amounts .is-verified .statement-status.ready{background:#dceee2;border:1px solid #aecfba;color:#226344}
.statement-page .statement-amounts [data-unverify-payout],.statement-page .statement-amounts [data-unverify-fee]{font-weight:400;background:#fff;color:#445066;border-color:#cbd8d0}

/* Header actions must not inherit the full-width destructive form button. */
.statement-page .statement-file-actions{flex-wrap:nowrap;gap:12px}
.statement-page .statement-file-actions .statement-delete{width:auto;flex:0 0 auto;margin:0;padding:8px 10px;white-space:nowrap;font-weight:400}
@media(max-width:680px){
  .statement-page .statement-file-summary{grid-template-columns:39px minmax(0,1fr);row-gap:12px}
  .statement-page .statement-file-actions{grid-column:2/-1;justify-content:flex-start;flex-wrap:wrap}
}

.statement-page .statement-fee-expenses{margin:0;padding:12px 14px;border:1px solid #d4dce5;border-radius:6px;background:#fff;color:#445066;font-size:14px;line-height:1.55}
.statement-page .statement-fee-expenses>span{display:block;margin-bottom:4px;color:#263247;font-weight:550}
.statement-page .statement-fee-card.is-verified .statement-fee-expenses{border-color:#cee2d6}

.statement-page .statement-email-section.is-verified{background:#f0f8f3;border-color:#b7d8c5}
.statement-page .statement-email-section.is-verified .statement-email-envelope{border-color:#cee2d6}
.statement-page .statement-email-section.is-verified .statement-status.ready{background:#dceee2;border:1px solid #aecfba;color:#226344}
.statement-page .statement-review-card{scroll-margin-top:16px}
.statement-page .statement-review-card.is-complete{border-color:#b7d8c5;border-top-color:#79ab8c}
.statement-page .statement-review-card.is-complete>.statement-file-summary{background:#f0f8f3;border-bottom-color:#cee2d6}
.statement-page .statement-collapse-toggle{font-weight:400;background:#fff;white-space:nowrap}
@media(min-width:681px) and (max-width:1050px){.statement-page .statement-file-actions{flex-wrap:wrap;max-width:220px}}

.statement-page .statement-email-section.is-verified .statement-verified-confirmation{background:#dceee2;border-color:#aecfba;color:#226344;font-weight:500}
.statement-page .statement-email-section.is-verified .statement-email-envelope{background:#fff}
.statement-page [data-amend-payout],.statement-page [data-amend-fee],.statement-page .statement-email-tools .statement-amend>summary{background:#fff2f0;border:1px solid #edc7c2;color:#914a43;font-weight:400}
.statement-page [data-amend-payout]:hover,.statement-page [data-amend-fee]:hover,.statement-page .statement-email-tools .statement-amend>summary:hover{background:#fbe8e5;border-color:#dca8a0}
.statement-page .statement-contact-edit-actions button,.statement-page .statement-contact-form>button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.statement-page .statement-contact-edit-actions .statement-button-loader,.statement-page .statement-contact-form>button .statement-button-loader{display:inline-block;flex:0 0 auto;margin:0}
.statement-page .statement-contact-edit-actions button{white-space:nowrap;font-weight:500}
.statement-mail-panel{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px;background:#f3f6fa;border:1px solid #ccd6e3;border-radius:14px;margin:20px 0}
.statement-mail-panel h2,.statement-sent h2,.statement-sent h3{font-weight:500;margin:0 0 8px}
.statement-mail-panel p,.statement-sent p{font-size:14px;line-height:1.5;margin:8px 0}
.statement-mail-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.statement-sent>header,.statement-sent-card>header{display:flex;justify-content:space-between;gap:16px;align-items:center}
.statement-sent-card{margin:18px 0;padding:24px;border:1px solid #cdd6e3;border-radius:12px;background:#fff;box-shadow:0 2px 8px #25334908}
.statement-sent-card summary{cursor:pointer;font-size:14px;font-weight:500;padding:12px 0}
.statement-sent-card pre{font:inherit;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;background:#f8fafc;padding:20px;border-radius:8px}
@media(max-width:760px){.statement-mail-panel,.statement-sent>header,.statement-sent-card>header{align-items:stretch;flex-direction:column}.statement-mail-panel,.statement-sent-card{padding:18px}.statement-mail-actions{align-items:stretch;flex-direction:column}}
.statement-page .statement-contact-edit-card input,.statement-page .statement-contact-edit-card label,.statement-page .statement-contact-edit-heading b,.statement-page .statement-contact-form input,.statement-page .statement-contact-form label{font-weight:400}
.statement-page .statement-email-section.is-verified input,.statement-page .statement-email-section.is-verified textarea{background:transparent;color:#263247;opacity:1;-webkit-text-fill-color:#263247}
.statement-page [data-unverify-email]{font-weight:400;background:#fff;color:#445066;border-color:#cbd8d0}
.statement-page .statement-review-card.is-collapsed>.statement-file-summary{grid-template-columns:minmax(0,1fr) auto;padding-top:16px;padding-bottom:16px;border-bottom:0}
.statement-page .statement-review-card.is-collapsed .statement-pdf-icon{display:none}
.statement-page .statement-review-card.is-collapsed .statement-file-name{font-size:18px;font-weight:500}
.statement-page .statement-completion-summary{display:flex;flex-wrap:wrap;gap:6px 24px;margin-top:8px;color:#596575;font-size:14px;line-height:1.5;font-weight:400}
.statement-page .statement-completion-summary>span>span{margin-left:6px;color:#263247;font-weight:500;font-variant-numeric:tabular-nums}
@media(max-width:680px){.statement-page .statement-review-card.is-collapsed>.statement-file-summary{grid-template-columns:minmax(0,1fr)}.statement-page .statement-review-card.is-collapsed .statement-file-actions{grid-column:1;max-width:none}.statement-page .statement-email-section.is-verified footer{align-items:stretch}}
.statement-page .statement-month-panel{display:block;padding:28px;background:#fff;border:1px solid #dfe5ed}
.statement-month-panel>header{display:flex;justify-content:space-between;gap:24px;align-items:start}
.statement-month-heading{display:flex;align-items:center;gap:12px}
.statement-month-heading h2{flex:1;min-width:0}
.statement-month-toggle{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:0;border:1px solid #91c5a3;border-radius:8px;background:transparent;color:#24633d;cursor:pointer}
.statement-month-toggle:hover{background:#24633d12}
.statement-month-toggle:focus-visible{outline:2px solid #24633d;outline-offset:2px}
.statement-month-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
#statement-month-details[hidden]{display:none}
.statement-month-scanning .statement-scan-status{display:flex;align-items:center;gap:10px;margin:20px 0 12px;font-size:16px;font-weight:500}
.statement-month-scanning .statement-button-loader{flex-shrink:0}
.statement-scan-progress{display:block;width:min(100%,480px);height:8px;margin:16px 0;accent-color:#b38b00}
.statement-month-scanning>p:last-child{font-size:14px;line-height:1.6;color:#667287}
.statement-month-panel>header label{display:grid;gap:8px;min-width:210px;font-size:14px}
.statement-month-panel select{padding:12px;border:1px solid #cbd3df;border-radius:8px;background:#fff;font:inherit;width:100%}
.statement-month-choice{min-height:150px}
.statement-month-choice>header{align-items:center}
.statement-month-choice h2{margin-bottom:4px}
.statement-month-choice header p:last-child{color:#667287}
.statement-month-loading .statement-scan-status{margin:14px 0 0}
.statement-month-totals{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:14px;margin:24px 0;padding:14px;background:#f3f6f9;border:1px solid #e1e6ed;border-radius:12px}
.statement-total-card{min-width:0;padding:22px 24px;border:1px solid #dfe5ec;border-radius:9px;background:#fff}
.statement-landlord-total{border-left:5px solid #d0a500}
.statement-management-total{border-left:4px solid #8d9aad}
.statement-management-total strong{font-size:30px;font-weight:550;line-height:1.2;display:block;font-variant-numeric:tabular-nums}
.statement-month-panel .lp-total{font-size:38px;font-weight:550}
.statement-month-totals p{margin:8px 0 0;font-size:14px;color:#596575}
.statement-month-totals .eyebrow{margin:0 0 14px;color:#566273}
.statement-historical-completion{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:22px 0;padding:20px;border:1px solid #c8d4e2;border-radius:10px;background:#f5f8fc}
.statement-historical-completion>div{max-width:720px}
.statement-historical-completion h3{margin:4px 0 7px;font-size:18px;font-weight:550;color:#263247}
.statement-historical-completion p{margin:0;color:#596575;font-size:14px;line-height:1.5}
.statement-historical-completion .statement-disabled-help{flex:0 0 auto}
.statement-month-panel{container-type:inline-size}
.statement-month-steps{list-style:none;padding:0;margin:24px 0;display:grid;grid-template-columns:32px max-content minmax(0,1fr);column-gap:16px}
.statement-checklist-intro{margin:24px 0 0;color:#465468}
.statement-checklist-intro+.statement-month-steps{margin-top:12px}
.statement-month-step{grid-column:1/-1;display:grid;grid-template-columns:subgrid;align-items:start;padding:18px 0;border-top:1px solid #e0e5ed}
.statement-step-number{display:grid;place-items:center;flex:0 0 32px;height:32px;border:1px solid #c6ceda;border-radius:50%;color:#475569;font-size:15px}
.statement-month-step>div{grid-column:2/-1;display:grid;grid-template-columns:subgrid;row-gap:8px;min-width:0}
.statement-month-step>div>p,.statement-month-step>div>small{grid-column:1/-1;margin:0}
.statement-month-step p{font-size:14px;color:#596477;line-height:1.5}
.statement-month-step .primary-btn,.statement-export-complete{font-family:inherit;font-size:14px;font-weight:500;line-height:1.4;text-align:left;white-space:nowrap;min-height:42px;padding:10px 14px;border:1px solid transparent;border-radius:8px}
.statement-month-step.is-done .statement-step-number{background:#e1f3e7;border-color:#97c9aa;color:#196038}
.statement-month-step.is-done .statement-step-main button:disabled,.statement-export-complete{background:#e9f4ed;color:#24633d;border:1px solid #bdd9c6;opacity:1}
.statement-page .statement-month-panel.is-complete{background:#edf8f0;border-color:#91c5a3}
.statement-month-panel.is-complete .statement-month-totals{background:#f8fcf9}
.statement-month-tools,.statement-local-settings nav{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.statement-local-settings nav{margin-bottom:24px}
.statement-local-settings [aria-current=page]{background:#fff3b5;border-color:#bda851}
@media(max-width:650px){.statement-page .statement-month-panel{padding:18px}.statement-month-panel>header{display:block}.statement-month-panel>header label{margin-top:18px}.statement-month-totals{grid-template-columns:1fr;padding:10px;gap:10px}.statement-total-card{padding:18px}.statement-historical-completion{align-items:stretch;flex-direction:column}.statement-historical-completion .statement-disabled-help,.statement-historical-completion button{width:100%}.statement-month-step{gap:10px}.statement-month-tools>button{width:100%}}
.statement-step-actions{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap}
.statement-month-step .statement-step-actions{grid-column:1/-1;display:grid;grid-template-columns:subgrid;align-items:start}
.statement-step-main{grid-column:1;min-width:0;position:relative}
.statement-step-main .primary-btn,.statement-export-complete{box-sizing:border-box;width:100%}
.statement-step-shortcuts{grid-column:2;display:flex;align-items:start;gap:8px;flex-wrap:wrap;min-width:0}
.statement-step-shortcut,.statement-step-shortcuts .secondary-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:inherit;font-size:14px;font-weight:500;line-height:1.4;padding:10px 14px;border-radius:8px;text-decoration:none;white-space:nowrap;min-height:42px;box-sizing:border-box}
@container(max-width:760px){.statement-month-steps{grid-template-columns:32px minmax(0,1fr);column-gap:10px}.statement-month-step .statement-step-actions{grid-template-columns:minmax(0,1fr);row-gap:8px}.statement-step-shortcuts{grid-column:1}.statement-month-step .primary-btn,.statement-export-complete,.statement-step-shortcuts .secondary-btn{white-space:normal;overflow-wrap:anywhere}}
.statement-step-help{white-space:pre-wrap;overflow-wrap:anywhere}
.statement-step-help[hidden]{display:none}
.statement-step-main[data-has-instructions] .primary-btn,.statement-step-main[data-has-instructions] .statement-export-complete{padding-right:54px}
.statement-instructions-toggle{position:absolute;right:3px;top:0;bottom:0;width:42px;display:grid;place-items:center;padding:0;border:0;border-radius:6px;background:transparent;color:#24633d;cursor:pointer}
.statement-instructions-toggle:hover{background:#24633d12}
.statement-instructions-toggle:focus-visible{outline:2px solid #24633d;outline-offset:1px}
.statement-instructions-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.statement-step-status{display:block}
.statement-checklist-settings{display:grid;gap:20px;max-width:800px;margin-top:20px}
.statement-checklist-settings label{display:grid;gap:8px;font-weight:500;font-size:14px}
.statement-checklist-settings textarea{width:100%;padding:12px;font:inherit;font-weight:400;resize:vertical;min-height:76px;border:1px solid #d5d9df;border-radius:8px;background:#fff;color:#222}
.statement-card-menu{position:relative;flex-shrink:0}
.statement-card-menu>summary{list-style:none;display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid #d5d9df;border-radius:8px;background:#fff;font-size:24px;cursor:pointer}
.statement-card-menu>summary::-webkit-details-marker{display:none}
.statement-card-menu>summary:focus-visible{outline:2px solid #333;outline-offset:3px}
.statement-card-menu-options{position:absolute;right:0;top:calc(100% + 6px);z-index:20;display:grid;gap:8px;width:min(280px,75vw);padding:12px;background:#fff;border:1px solid #d5d9df;border-radius:10px;box-shadow:0 8px 24px #0002}
.statement-card-menu-options button{text-align:left;justify-content:flex-start;min-height:42px;padding:10px}
.statement-card-menu-options small{font-size:13px;line-height:1.5;color:#586174}

.statement-insights{display:grid;gap:20px}.statement-insights>header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.statement-insights h2{margin:3px 0 5px;font-size:24px;font-weight:550}.statement-insights header p{margin:0;color:#687386}.statement-insight-refresh{display:grid;justify-items:end;gap:6px;max-width:320px}.statement-insight-refresh small{color:#748094;font-size:12px;line-height:1.4;text-align:right}.statement-insight-filters{position:sticky;z-index:12;top:10px;display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;border:1px solid #dce2ea;border-left:4px solid #d5b51d;border-radius:10px;background:#fff;padding:12px;box-shadow:0 8px 22px #1522380d}.statement-insight-filter{position:relative}.statement-insight-filter-trigger{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:space-between;gap:6px 12px;min-width:170px;border:1px solid #cfd7e2;border-radius:7px;background:#f9fafb;padding:10px 12px;color:#303b4d;font:inherit;font-size:14px;font-weight:550;text-align:left;cursor:pointer}.statement-insight-filter-trigger:after{content:'⌄';grid-column:2;grid-row:1;color:#6b7586}.statement-insight-filter.is-open .statement-insight-filter-trigger:after{content:'⌃'}.statement-insight-filter-trigger span{grid-column:1;grid-row:1}.statement-insight-filter-trigger b{grid-column:1 / -1;overflow:hidden;max-width:210px;color:#564a0b;font-size:12px;font-weight:550;text-overflow:ellipsis;white-space:nowrap}.statement-insight-filter.has-selection .statement-insight-filter-trigger{border-color:#bca229;background:#fff7cb;box-shadow:inset 0 0 0 1px #d5b51d}.statement-insight-filter-options{position:absolute;z-index:30;top:calc(100% + 6px);left:0;display:grid;gap:8px;width:max-content;min-width:240px;max-width:min(360px,85vw);max-height:320px;overflow:auto;border:1px solid #d4dbe5;border-radius:8px;background:#fff;padding:12px;box-shadow:0 14px 35px #1522382b}.statement-insight-filter-options[hidden]{display:none}.statement-insight-filter label{display:flex;align-items:center;gap:9px;min-height:34px;color:#3f4b5f;font-size:14px}.statement-insight-filter input{width:18px;height:18px;min-height:0}.statement-insight-active-filters{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border:1px solid #d9c459;border-radius:9px;background:#fffbea;padding:12px 14px}.statement-insight-active-filters>div{display:flex;align-items:flex-start;gap:10px}.statement-insight-active-filters>div>b{padding-top:7px;color:#4f461c;font-size:13px;white-space:nowrap}.statement-insight-active-filters>div>div{display:flex;gap:7px;flex-wrap:wrap}.statement-insight-active-filters [data-remove-insight-filter]{display:inline-flex;align-items:center;gap:4px;min-height:32px;border:1px solid #d7c65f;border-radius:999px;background:#fff;color:#273246;padding:5px 9px;font:inherit;font-size:13px;cursor:pointer}.statement-insight-active-filters [data-remove-insight-filter] span{color:#72652b}.statement-insight-active-filters [data-remove-insight-filter] em{font-size:17px;font-style:normal;line-height:1}.statement-insight-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.statement-insight-cards article{display:grid;align-content:start;min-height:135px;border:1px solid #dfe4eb;border-top:4px solid #d5b51d;border-radius:10px;background:#fff;padding:17px}.statement-insight-cards span{color:#657186;font-size:14px;line-height:1.4}.statement-insight-cards strong{margin-top:9px;color:#182235;font-size:28px;font-weight:550;letter-spacing:-.03em}.statement-insight-cards small{margin-top:7px;color:#788397;font-size:12px;text-align:left}.statement-insight-rankings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.statement-insight-rankings>section{min-width:0;overflow:auto;border:1px solid #dfe4eb;border-radius:10px;background:#fff;padding:17px}.statement-insight-rankings h3{margin:0 0 13px;font-size:17px;font-weight:550}.statement-insight-rankings table{width:100%;border-collapse:collapse;font-size:14px}.statement-insight-rankings th,.statement-insight-rankings td{border-top:1px solid #e7eaf0;padding:10px 8px;text-align:left;white-space:nowrap}.statement-insight-rankings th{color:#758095;font-size:12px;font-weight:550}.statement-insight-rankings td:first-child b{display:grid;width:25px;height:25px;place-items:center;border-radius:50%;background:#f2e6a6;color:#5d4c00}.statement-insight-method{border:1px solid #dce2ea;border-radius:8px;background:#f8fafc;padding:14px 16px;color:#566176;font-size:14px;line-height:1.55}.statement-insight-method summary{color:#303b4d;font-weight:550;cursor:pointer}.statement-insights-settings{max-width:760px}.statement-insights-settings>p{color:#667286;line-height:1.55}.statement-insights-settings form{display:grid;gap:16px;margin-top:20px}.statement-insight-switch{display:flex!important;align-items:center;justify-content:space-between;gap:20px;border:1px solid #dce2ea;border-radius:9px;background:#fff;padding:16px}.statement-insight-switch span,.statement-insight-switch b,.statement-insight-switch small{display:block}.statement-insight-switch small{margin-top:5px;color:#687386;font-size:13px;line-height:1.45}.statement-insight-switch input{width:24px;height:24px;min-height:0;flex:0 0 auto}
@media(max-width:900px){.statement-insight-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.statement-insight-rankings{grid-template-columns:1fr}.statement-insights>header{align-items:stretch;flex-direction:column}.statement-insight-refresh{justify-items:start;max-width:none}.statement-insight-refresh small{text-align:left}.statement-insights>header button{align-self:flex-start}}
@media(max-width:560px){.statement-insight-filters{position:static;display:grid;grid-template-columns:1fr}.statement-insight-filter-trigger{width:100%}.statement-insight-filter-options{width:100%;max-width:none}.statement-insight-active-filters,.statement-insight-active-filters>div{align-items:stretch;flex-direction:column}.statement-insight-active-filters>div>b{padding-top:0}.statement-insight-active-filters>.text-btn{align-self:flex-start}.statement-insight-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.statement-insight-cards article{min-height:115px}.statement-insight-cards strong{font-size:25px}}
.statement-insight-filter-panel{position:sticky;z-index:12;top:10px;display:grid;gap:10px;border:1px solid #dce2ea;border-left:4px solid #d5b51d;border-radius:10px;background:#fff;padding:12px;box-shadow:0 8px 22px #1522380d}
.statement-insight-filter-panel .statement-insight-filters{position:static;z-index:auto;top:auto;border:0;border-left:0;border-radius:0;background:transparent;padding:0;box-shadow:none}
.statement-insight-result-scope{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;border-radius:8px;background:#f4f7fa;padding:10px 13px;color:#596579;font-size:13px}.statement-insight-result-scope b{color:#263247;font-weight:550}
@media(max-width:560px){.statement-insight-filter-panel{position:sticky;top:0;padding:10px}.statement-insight-filter-panel .statement-insight-active-filters{order:-1;padding:10px}.statement-insight-filter-panel .statement-insight-active-filters>div>div{display:flex;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}.statement-insight-filter-panel .statement-insight-active-filters [data-remove-insight-filter]{flex:0 0 auto}.statement-insight-result-scope{align-items:flex-start;flex-direction:column;gap:3px}}
.statement-insight-filter-done{position:sticky;bottom:-12px;width:100%;margin-top:4px;background:#fff}
.statement-insight-header-tools{display:flex;align-items:flex-start;justify-content:flex-end;gap:10px}.statement-insight-metric-picker{position:relative}.statement-insight-metric-picker>summary{list-style:none;display:flex;align-items:center;gap:7px;min-height:42px;border:1px solid #cfd7e2;border-radius:8px;background:#fff;padding:9px 12px;color:#303b4d;font-size:14px;font-weight:550;cursor:pointer}.statement-insight-metric-picker>summary::-webkit-details-marker{display:none}.statement-insight-metric-picker>summary span{font-size:18px}.statement-insight-metric-picker>div{position:absolute;z-index:35;top:calc(100% + 7px);right:0;display:grid;gap:9px;width:min(330px,88vw);max-height:420px;overflow:auto;border:1px solid #d4dbe5;border-radius:9px;background:#fff;padding:14px;box-shadow:0 14px 35px #1522382b}.statement-insight-metric-picker label{display:flex;align-items:center;gap:9px;min-height:34px;color:#3f4b5f;font-size:14px}.statement-insight-metric-picker input{width:18px;height:18px;min-height:0}.statement-insight-metric-picker p{display:flex;align-items:center;gap:7px;margin:0;color:#596579;font-size:13px}.statement-insight-no-metrics{margin:0;border:1px dashed #cdd6e3;border-radius:9px;padding:18px;color:#596579}
.statement-sent-months{display:grid;gap:12px;margin-top:20px}.statement-sent-month{border:1px solid #cdd6e3;border-radius:12px;background:#f8fafc;overflow:hidden}.statement-sent-month>summary,.statement-sent-card>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer}.statement-sent-month>summary::-webkit-details-marker,.statement-sent-card>summary::-webkit-details-marker{display:none}.statement-sent-month>summary{padding:18px 20px}.statement-sent-month>summary h3,.statement-sent-card>summary h4{margin:0 0 4px;font-weight:550}.statement-sent-month>summary p,.statement-sent-card>summary p{margin:0;color:#687386}.statement-sent-month>summary>span,.statement-sent-card>summary>span{transition:transform .15s ease}.statement-sent-month[open]>summary>span,.statement-sent-card[open]>summary>span{transform:rotate(180deg)}.statement-sent-month-list{display:grid;gap:10px;border-top:1px solid #dce2ea;padding:12px}.statement-sent-card{margin:0;padding:0;border-color:#dce2ea;box-shadow:none}.statement-sent-card>summary{padding:15px 17px}.statement-sent-card-body{border-top:1px solid #e4e8ee;padding:4px 17px 17px}.statement-sent-card-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}
@media(max-width:900px){.statement-insight-header-tools{align-items:stretch;flex-direction:column}.statement-insight-metric-picker>div{right:auto;left:0}}
@media(max-width:560px){.statement-insight-filter-panel .statement-insight-active-filters{order:initial}.statement-insight-header-tools,.statement-insight-metric-picker,.statement-insight-metric-picker>summary{width:100%}.statement-insight-metric-picker>summary{justify-content:center}.statement-sent-month>summary{padding:15px}.statement-sent-month-list{padding:9px}.statement-sent-card>summary{padding:14px}.statement-sent-card-body{padding:4px 14px 14px}.statement-sent-card-actions{align-items:stretch;flex-direction:column}.statement-sent-card-actions button{width:100%}}
.statement-insight-all-option{margin-top:3px;border-top:1px solid #e4e8ee;padding-top:9px;font-weight:600}.statement-insight-section-picker{position:relative}.statement-insight-section-picker>summary{list-style:none;display:flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #cfd7e2;border-radius:8px;background:#fff;padding:9px 12px;color:#303b4d;font-size:14px;font-weight:550;cursor:pointer}.statement-insight-section-picker>summary::-webkit-details-marker{display:none}.statement-insight-section-picker>div{position:absolute;z-index:35;top:calc(100% + 7px);right:0;display:grid;gap:9px;width:min(350px,88vw);max-height:430px;overflow:auto;border:1px solid #d4dbe5;border-radius:9px;background:#fff;padding:14px;box-shadow:0 14px 35px #1522382b}.statement-insight-section-picker label{display:flex;align-items:center;gap:9px;min-height:34px;color:#3f4b5f;font-size:14px}.statement-insight-section-picker input{width:18px;height:18px;min-height:0}.statement-insight-section-picker p{display:flex;align-items:center;gap:7px;margin:0;color:#596579;font-size:13px}.statement-insight-section-picker small{color:#748094;line-height:1.45}.statement-insight-chart-card{display:grid;gap:20px;border:1px solid #dfe4eb;border-radius:12px;background:#fff;padding:22px;box-shadow:0 7px 18px #1522380a}.statement-insight-chart-card h3{margin:3px 0 4px;font-size:20px;font-weight:560}.statement-insight-chart-card p{margin:0;color:#718095;font-size:13px}.statement-insight-chart-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.statement-insight-chart-heading>strong{color:#273246;font-size:15px;font-weight:550}.statement-insight-chart-heading label{display:grid;gap:5px;color:#657186;font-size:12px}.statement-insight-chart-heading select{min-width:120px;border:1px solid #cfd7e2;border-radius:7px;background:#fff;padding:8px 10px;color:#303b4d}.statement-source-chart{display:grid;grid-template-columns:minmax(190px,280px) minmax(240px,1fr);align-items:center;gap:34px}.statement-donut{display:grid;width:min(250px,100%);aspect-ratio:1;place-items:center;margin:auto;border-radius:50%;box-shadow:inset 0 0 0 1px #ffffff80}.statement-donut:before{content:'';grid-area:1/1;width:58%;aspect-ratio:1;border-radius:50%;background:#fff;box-shadow:0 2px 8px #15223816}.statement-donut span{z-index:1;grid-area:1/1;display:grid;justify-items:center}.statement-donut b{color:#172236;font-size:30px;font-weight:560}.statement-donut small{color:#778295}.statement-source-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}.statement-source-legend>div{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:10px;border-bottom:1px solid #edf0f4;padding:10px 2px}.statement-source-legend i{width:11px;height:11px;border-radius:3px}.statement-source-legend span{display:grid;gap:2px}.statement-source-legend b{color:#303b4d;font-size:14px;font-weight:560}.statement-source-legend small{color:#788397;font-size:12px}.statement-source-legend strong{color:#263246;font-size:15px}.statement-chart-empty{border:1px dashed #cdd6e3;border-radius:9px;padding:26px;color:#687386;text-align:center}.statement-growth-chart svg{display:block;width:100%;height:auto;max-height:330px;overflow:visible}.statement-growth-chart line{stroke:#dce2ea;stroke-width:1}.statement-growth-chart polygon{fill:#e8dd9d;opacity:.35}.statement-growth-chart polyline{fill:none;stroke:#a88904;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.statement-growth-chart circle{fill:#fff;stroke:#a88904;stroke-width:3}.statement-growth-chart>div{display:flex;justify-content:space-between;gap:10px;color:#748094;font-size:12px}.statement-growth-chart>div b{color:#303b4d;font-size:13px}.statement-insight-method{padding:0;overflow:hidden}.statement-insight-method>button{display:flex;width:100%;align-items:center;justify-content:space-between;border:0;background:transparent;padding:14px 16px;color:#303b4d;font:inherit;font-weight:550;text-align:left;cursor:pointer}.statement-insight-method>button span{font-size:20px;font-weight:400}.statement-insight-method>div{border-top:1px solid #e1e6ed;padding:4px 16px 12px}.statement-insight-method>div[hidden]{display:none}
@media(max-width:900px){.statement-insight-section-picker>div{right:auto;left:0}.statement-source-chart{grid-template-columns:1fr}.statement-donut{max-width:230px}}
@media(max-width:560px){.statement-insight-section-picker,.statement-insight-section-picker>summary{width:100%}.statement-source-legend{grid-template-columns:1fr}.statement-insight-chart-card{padding:17px}.statement-insight-chart-heading{flex-direction:column}.statement-insight-chart-heading label,.statement-insight-chart-heading select{width:100%}.statement-donut{max-width:210px}}
.statement-insight-cards sup,.statement-insight-earnings-note sup{color:#8a7200;font-size:.7em}.statement-insight-earnings-note{margin:-4px 0 0;color:#667286;font-size:13px;line-height:1.5}
.statement-insight-review-alert{overflow:hidden;border:2px solid #c93434;border-radius:12px;background:#fff5f5;box-shadow:0 10px 28px #a51f1f1c}.statement-insight-review-heading{display:flex;align-items:flex-start;gap:14px;background:#b4232c;padding:18px;color:#fff}.statement-insight-review-heading>span{display:grid;width:36px;height:36px;flex:0 0 36px;place-items:center;border:2px solid #fff;border-radius:50%;font-size:24px;font-weight:700}.statement-insight-review-heading p{margin:0;color:#fff!important;line-height:1.45}.statement-insight-review-heading>div>p:first-child{font-size:13px;font-weight:750;letter-spacing:.09em}.statement-insight-review-heading h3{margin:3px 0 5px;color:#fff;font-size:22px;font-weight:650}.statement-insight-review-alert ul{display:grid;max-height:430px;margin:0;padding:0;overflow:auto;list-style:none}.statement-insight-review-alert li{display:grid;grid-template-columns:minmax(190px,.7fr) minmax(0,1.3fr);gap:18px;border-top:1px solid #f0c5c8;padding:14px 18px}.statement-insight-review-alert li:first-child{border-top:0}.statement-insight-review-alert li>div{display:grid;align-content:start;gap:3px}.statement-insight-review-alert li strong{color:#372024;font-size:15px}.statement-insight-review-alert li span{color:#795d62;font-size:13px}.statement-insight-review-alert li b{width:max-content;border-radius:999px;background:#fde0e2;color:#9f1821;padding:3px 8px;font-size:12px}.statement-insight-review-alert li p{margin:2px 0 0;color:#5e3e43;font-size:14px;line-height:1.45}
@media(max-width:560px){.statement-insight-review-heading{padding:15px}.statement-insight-review-heading h3{font-size:19px}.statement-insight-review-alert li{grid-template-columns:1fr;gap:8px;padding:13px 15px}.statement-insight-review-alert ul{max-height:380px}}
.statement-file-picker{position:fixed!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.statement-loading{place-content:center;gap:12px;min-height:calc(100dvh - 80px);text-align:center}.statement-loading p{margin:0}.statement-page:has(>.statement-loading)>:not(.statement-loading){display:none}.statement-page:has(>.statement-loading)>.statement-loading,.statement-full-loading{min-height:calc(100dvh - 48px)}

.statement-expenses-confirmed{font-size:14px;font-weight:400;color:#42604e;padding:12px 0;line-height:1.5}

.statement-insight-section-tools{display:flex;justify-content:flex-end;min-width:0;margin-bottom:-8px}.statement-insight-section-tools details{max-width:100%}.statement-insight-section-tools details>div{box-sizing:border-box;max-height:min(420px,60dvh)}
@media(max-width:900px){.statement-insight-section-tools{justify-content:flex-start}}

/* Earlier payouts affect bank transfers only, never statement earnings. */
.statement-page .statement-prior-payment-summary{display:grid;gap:10px;margin:16px 0;padding:14px 0;border-top:1px solid #dce2e8;border-bottom:1px solid #dce2e8}
.statement-page .statement-prior-payment-summary>div{display:flex;justify-content:space-between;gap:16px;font-size:14px}
.statement-page .statement-prior-payment-summary dd{margin:0;font-weight:500;font-variant-numeric:tabular-nums}
.statement-page .statement-prior-payment-editor{margin:0 24px 20px;padding:20px;border:1px solid #e1d298;border-radius:8px;background:#fffbea;display:grid;gap:16px}
.statement-page .statement-prior-payment-editor h3{margin:0;font-size:18px;font-weight:550}
.statement-page .statement-prior-payment-editor p{margin:0;font-size:14px;line-height:1.5}
.statement-page .statement-prior-payment-editor label{display:grid;gap:8px;font-size:14px;font-weight:500}
.statement-page .statement-prior-payment-editor input{width:100%;min-height:44px;padding:10px 12px;box-sizing:border-box;border:1px solid #ccd3db;border-radius:6px;font:inherit;background:white}
.statement-page .statement-prior-payment-editor small{font-size:13px;font-weight:400;color:#657084}
.statement-page .statement-prior-payment-editor>div{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.statement-page .statement-review-card{scroll-margin-top:16px}
.statement-page .statement-file-name:focus{outline:2px solid #b68b00;outline-offset:5px}
@media(max-width:680px){.statement-page .statement-prior-payment-editor{margin:0 12px 16px;padding:16px}.statement-page .statement-prior-payment-editor input{font-size:16px}.statement-page .statement-prior-payment-editor>div button{flex:1}}
/* Compact statement review: payout first, secondary fee, then email beside PDF. */
.statement-page .statement-financials{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:stretch}
.statement-page .statement-document{display:flex;flex-direction:column;align-self:start}
.statement-page .statement-inline-pdf{flex:none;height:420px;min-height:0;max-height:520px;box-sizing:border-box}
.statement-page .statement-amounts{display:grid;grid-template-rows:auto minmax(0,1fr);align-items:stretch;gap:12px}
.statement-page .statement-amounts .lp-card{padding:16px;gap:12px}
.statement-page .statement-amounts .lp-card-heading{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;gap:16px}
.statement-page .statement-amounts .statement-fee-inline{display:flex;flex-direction:column;align-items:flex-end;gap:4px;border:0;background:transparent;padding:0;margin:0;min-width:0;max-width:48%;text-align:right}
.statement-page .statement-amounts .statement-fee-inline strong{font-size:18px;line-height:1.3;font-weight:500;color:#566174}
.statement-page .statement-fee-inline .statement-review-label,.statement-page .statement-fee-inline small{font-size:13px;color:#687385;font-weight:400}
.statement-page .statement-fee-inline input{width:100%;font-size:16px;min-width:0}
.statement-page .statement-fee-inline .statement-fee-expenses{font-size:12px;line-height:1.4;border:0;margin:4px 0 0;padding:0}
.statement-page .statement-linked-property{position:relative;padding-right:95px}
.statement-page .statement-linked-property>button{position:absolute;right:0;top:12px;min-height:40px}
.statement-page .statement-amounts .statement-email-section{margin:0;padding:14px;background:#fff;border:1px solid #dce2e9;border-radius:6px;display:flex;flex-direction:column;gap:10px;min-width:0}
.statement-page .statement-amounts .statement-email-heading{margin:0;padding:0}
.statement-page .statement-amounts .statement-email-heading h3{font-size:15px;font-weight:500}
.statement-page .statement-amounts .statement-email-envelope{display:flex;flex-direction:column;flex:1;border:1px solid #e0e4e9;min-width:0}
.statement-page .statement-amounts .statement-compose-recipient-row{padding:6px 10px;gap:6px;min-height:38px}
.statement-page .statement-amounts .statement-recipient-chip{font-size:12px;padding:3px 6px}
.statement-page .statement-amounts .statement-recipient-composer{min-width:0}
.statement-page .statement-amounts .statement-email-subject{padding:6px 10px;gap:6px;min-height:38px}
.statement-page .statement-amounts .statement-email-subject input{font-size:13px;padding:4px 0;min-height:26px}
.statement-page .statement-amounts .statement-email-message{display:flex;flex:1;padding:8px 10px}
.statement-page .statement-amounts .statement-email-message textarea{font-size:13px;line-height:1.45;min-height:140px;resize:vertical;flex:1}
.statement-page .statement-amounts .statement-email-section footer{margin:0;padding:0;gap:8px;align-items:center}
.statement-page .statement-verify-reason{color:#a93636;background:#fff3f1;border:1px solid #efcfca;padding:10px 12px;border-radius:6px;font-size:14px;line-height:1.45;margin:8px 0 0}
.statement-page .statement-property-setup{margin:0 24px 20px;padding:20px;border:1px solid #dce2e9;border-radius:8px;background:#f8f9fb;scroll-margin-top:85px}
.statement-page .statement-property-setup h3{font-size:18px;font-weight:550;margin:0 0 8px}
.statement-page .statement-property-setup p{font-size:14px;line-height:1.5}
.statement-page .statement-property-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
.statement-page .statement-property-fields label{display:grid;gap:7px;font-size:14px;font-weight:500;min-width:0}
.statement-page .statement-property-fields .wide{grid-column:1/-1}
.statement-page .statement-property-fields input{min-width:0;width:100%;min-height:44px;padding:10px 12px;border:1px solid #ccd3db;border-radius:6px;box-sizing:border-box;font:inherit;background:#fff}
.statement-page .statement-property-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:16px}
@media(max-width:1000px){.statement-page .statement-financials{grid-template-columns:minmax(0,1fr)}.statement-page .statement-inline-pdf{height:420px;min-height:0;flex:none}.statement-page .statement-amounts{grid-template-rows:auto auto}}
@media(max-width:680px){.statement-page .statement-property-setup{margin:0 12px 16px;padding:16px}.statement-page .statement-property-fields{grid-template-columns:1fr}.statement-page .statement-property-fields input,.statement-page .statement-amounts .statement-email-subject input,.statement-page .statement-amounts .statement-email-message textarea{font-size:16px}.statement-page .statement-fee-inline strong{font-size:17px}.statement-page .statement-linked-property{padding-right:0}.statement-page .statement-linked-property>button{position:static;justify-self:start}.statement-page .statement-property-actions button{flex:1}}
.statement-page .statement-amounts .statement-fee-inline strong{margin:0}
.statement-page .statement-amounts .statement-fee-inline .statement-amend-button{min-height:40px;margin:0;padding:4px 8px;font-size:13px}
.statement-page .statement-amounts .lp-card .statement-linked-property{margin-top:10px;padding-top:10px}
.statement-page .statement-prior-payment-summary{margin:10px 0;padding:10px 0;gap:6px}
.statement-page .statement-payment-details{margin-top:10px;padding-top:10px}
.statement-page .statement-amounts .lp-card .statement-payment-account{padding-top:6px}
.statement-page .statement-amounts .lp-card .statement-payment-account+.statement-payment-account{margin-top:10px;padding-top:10px}
.statement-page .statement-amounts .lp-card .statement-split-amount{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 8px}
.statement-page .statement-amounts .lp-card .statement-payment-fields{gap:6px}
.statement-page .statement-amounts .lp-card .statement-payment-fields>div{display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px;align-items:baseline}
.statement-page .statement-amounts .lp-card .statement-payment-fields dt,.statement-page .statement-amounts .lp-card .statement-payment-fields dd{font-size:14px;line-height:1.4;margin:0;font-weight:400}
.statement-page .statement-amounts .lp-card .statement-financial-actions{margin-top:10px;padding-top:0}
.statement-page .statement-amounts input[data-recipient-entry]{font-size:13px;flex-basis:70px;width:70px;padding:2px 0}
.statement-page .statement-amounts .statement-email-subject{grid-template-columns:60px minmax(0,1fr)}
@media(max-width:680px){.statement-page .statement-amounts input[data-recipient-entry]{font-size:16px}.statement-page .statement-amounts .lp-card .statement-payment-fields>div{grid-template-columns:72px minmax(0,1fr)}}

.statement-page .statement-amounts .lp-card .lp-splits>.statement-payment-account{padding-top:6px}
.statement-page .statement-amounts .lp-card .lp-splits>.statement-payment-account+.statement-payment-account{margin-top:10px;padding-top:10px}
.statement-page .statement-amounts .lp-card .statement-split-amount>.statement-review-value{font-size:20px;margin:0}
.statement-page .statement-property-setup .statement-bank-fields label{display:grid;gap:6px;min-width:0;font-size:14px}
.statement-page .statement-property-setup .statement-bank-fields input,.statement-page .statement-property-setup .statement-bank-fields select{width:100%;min-width:0;box-sizing:border-box;padding:10px 12px;border:1px solid #ccd3db;border-radius:6px;font:inherit;background:#fff;min-height:44px}
@media(max-width:680px){.statement-page .statement-property-setup .statement-bank-fields{grid-template-columns:minmax(0,1fr)}.statement-page .statement-property-setup .statement-bank-fields input,.statement-page .statement-property-setup .statement-bank-fields select{font-size:16px}}

/* The original PDF stays continuous inside a compact payout-focused viewport. */
.statement-page .statement-pdf-page{position:relative;box-shadow:none;margin:0 auto;overflow:hidden;flex:none;max-width:100%}
.statement-page .statement-pdf-page+.statement-pdf-page{border-top:1px solid #e5e8ed}
.statement-page .statement-pdf-page canvas{width:100%;height:auto}
.statement-payout-highlight{position:absolute;box-sizing:border-box;pointer-events:none;background:rgba(255,211,0,.19);border:2px solid #d1a500;border-radius:3px}

.statement-page [data-payout-splits]:empty{display:none}
@media(max-width:680px){
  .statement-page .statement-financial-actions [data-amend-payout]{width:100%;min-height:40px}
  .statement-page .statement-amounts .statement-email-section footer{flex-direction:column;align-items:stretch}
  .statement-page .statement-email-tools{width:100%;flex-basis:auto}
  .statement-page .statement-email-tools .statement-amend{width:100%}
  .statement-page .statement-email-tools .statement-amend[open]{padding:0;border:0;background:transparent}
  .statement-page .statement-email-tools .statement-amend>summary,.statement-page .statement-email-section [data-save-statement]{box-sizing:border-box;width:100%;min-height:40px;text-align:center}
}
/* Guided monthly statements: compact framing, existing review cards. */
.statement-guided-page .statement-page-heading{gap:12px;margin:0 0 6px;align-items:center;flex-direction:row;flex-wrap:wrap}
.statement-guided-page .statement-page-heading h1{font-size:26px;font-weight:600;letter-spacing:-.025em}
.statement-guided-page .statement-title-row{display:flex;align-items:center;gap:8px;max-width:100%}
.statement-guided-page .statement-heading-actions{width:auto;gap:8px;flex-wrap:wrap}
.statement-guided-page .statement-heading-actions button{flex:none;min-height:40px;padding:8px 12px}
.statement-guided-page>[data-statement-progress]{font-size:13px;margin:0 0 12px;color:#667384}
.statement-workflow{min-width:0;scroll-margin-top:90px}
.statement-workflow-summary{display:grid;grid-template-columns:minmax(180px,1fr) repeat(2,minmax(0,1fr));align-items:center;gap:16px;padding:10px 14px;border:1px solid #e1e6ed;background:#fff;border-radius:8px;margin-bottom:12px}
.statement-workflow-summary>div{min-width:0}
.statement-workflow-summary>div+div{border-left:1px solid #e1e6ed;padding-left:16px}
.statement-workflow-summary label{display:grid;gap:3px;font-size:12px;color:#667384;margin:0}
.statement-workflow-summary select{width:100%;min-width:0;min-height:40px;font-size:14px;padding:7px 9px}
.statement-workflow-summary span{display:block;font-size:13px;color:#667384;line-height:1.4}
.statement-workflow-summary strong{font-size:20px;line-height:1.5;font-weight:550;color:#263247;font-variant-numeric:tabular-nums}
.statement-stage-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px;margin:0 0 16px;min-width:0}
.statement-stage-bar>strong{grid-column:1;grid-row:1;font-size:14px;font-weight:550;min-width:0;color:#354157}
.statement-stage-bar nav{grid-column:1/-1;grid-row:2;position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;width:100%;min-width:0}
.statement-stage-bar nav::before,.statement-stage-bar nav::after{content:"";position:absolute;z-index:-1;top:18.5px;left:10%;width:80%;height:3px;border-radius:999px;pointer-events:none}
.statement-stage-bar nav::before{background:#e1e6eb}
.statement-stage-bar nav::after{background:linear-gradient(90deg,#328057,#65ad81);transform:scaleX(var(--statement-progress,0));transform-origin:left center}
.statement-stage-bar nav.is-advancing::after{animation:statement-stage-fill 380ms cubic-bezier(.2,.7,.2,1) both}
@keyframes statement-stage-fill{from{transform:scaleX(var(--statement-progress-from,0))}to{transform:scaleX(var(--statement-progress,0))}}
.statement-stage-bar nav button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;min-width:0;min-height:72px;width:100%;padding:6px 8px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#667384;font-size:14px;font-weight:400;line-height:1.35;text-align:center;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.statement-stage-number{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border:1px solid #b9c3cf;border-radius:50%;background:#fcfcfa;box-shadow:0 0 0 4px #fcfcfa;color:#526078;font-size:13px;font-weight:500;transition:background-color 160ms,border-color 160ms,box-shadow 160ms}
.statement-stage-number svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.statement-stage-bar nav button.is-complete{color:#37674c}
.statement-stage-bar nav button.is-complete .statement-stage-number{border-color:#83b497;background:#e9f5ed;color:#26764a}
.statement-stage-title{min-width:0;max-width:175px}.statement-stage-short-title{display:none}
.statement-stage-bar nav button[aria-current="step"]{background:transparent;color:#282e37;font-weight:550}
.statement-stage-bar nav button[aria-current="step"] .statement-stage-number{border:2px solid #b9941d;background:#ffdc57;color:#282e37;box-shadow:0 0 0 4px #fcfcfa,0 0 0 6px #b9941d22}
.statement-stage-bar nav button:disabled{cursor:not-allowed;background:transparent;color:#818996}
.statement-stage-bar nav button:disabled .statement-stage-number{border-color:#d2d8e0;color:#818996}
.statement-stage-bar nav button[aria-current="step"]:disabled{color:#282e37}
.statement-stage-bar nav button[aria-current="step"]:disabled .statement-stage-number{border-color:#b9941d;color:#282e37}
.statement-stage-bar nav button:not(:disabled):hover .statement-stage-title,.statement-stage-bar nav button:not(:disabled):hover .statement-stage-short-title{text-decoration:underline;text-underline-offset:3px}
.statement-stage-bar>.statement-workflow-tools{grid-column:2;grid-row:1}
.statement-stage-bar button:focus-visible,.statement-workflow-tools summary:focus-visible{outline:2px solid #526680;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.statement-stage-bar nav.is-advancing::after{animation:none}.statement-stage-number{transition:none}}
.statement-workflow-tools{position:relative;flex:none}
.statement-workflow-tools>summary{display:grid;place-items:center;width:40px;height:40px;cursor:pointer;list-style:none;border:1px solid #dfe5ec;border-radius:6px;font-size:22px;background:#fff}
.statement-workflow-tools>summary::-webkit-details-marker{display:none}
.statement-workflow-tools>div{position:absolute;top:calc(100% + 4px);right:0;z-index:25;display:grid;gap:8px;width:min(290px,80vw);padding:12px;border:1px solid #dfe5ec;border-radius:8px;background:#fff;box-shadow:0 8px 24px #17243a20}
.statement-workflow-tools>div .secondary-btn,.statement-workflow-tools>div .danger-link{text-align:left;justify-content:flex-start;width:100%}
.statement-stage-content{min-width:0}
.statement-stage-content>h2,.statement-upload-stage>h2{font-size:21px;font-weight:550;margin:0 0 16px;color:#263247}
.statement-stage-content [data-statement-stage-heading]:focus{outline:none}
.statement-stage-content .statement-review-heading{margin:0 0 14px;gap:12px}
.statement-stage-content .statement-review-heading h2{font-size:21px;font-weight:550}
.statement-stage-content .statement-review-heading .eyebrow{margin:0 0 4px}
.statement-upload-stage{border:1px solid #e1e6ed;border-radius:8px;background:#fff;padding:20px}
.statement-upload-period{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.statement-upload-period label{display:grid;gap:6px;font-size:14px;flex:1;min-width:120px;max-width:260px}
.statement-upload-period select{width:100%;min-height:42px;font-size:14px}
.statement-stage-hint{font-size:14px;color:#667384}
.statement-uploaded-list{margin:20px 0}
.statement-uploaded-list h3{font-size:16px;font-weight:550;margin:0 0 8px}
.statement-uploaded-list>div,.statement-fee-breakdown-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #edf0f3;font-size:14px}
.statement-uploaded-list span{overflow-wrap:anywhere;min-width:0}.statement-uploaded-list button{flex-shrink:0}
.statement-historical-option{font-size:14px;color:#667384;margin:16px 0}
.statement-historical-option>summary{padding:8px 0;cursor:pointer}.statement-historical-option .statement-disabled-help{margin-top:8px}
.statement-upload-stage>.statement-uplisting-link{font-size:14px;margin-top:12px}
.statement-workflow-action{padding:16px 0;border-bottom:1px solid #e1e6ed}
.statement-workflow-action:first-of-type{padding-top:0}
.statement-workflow-action-main{display:grid;grid-template-columns:minmax(0,340px) minmax(0,180px);align-items:end;gap:12px}
.statement-workflow-primary{display:grid;min-width:0;gap:8px}
.statement-workflow-action-main .primary-btn,.statement-workflow-action-main .secondary-btn{width:100%;white-space:normal;justify-content:center;text-align:center}
.statement-workflow-primary .statement-disabled-help [role=tooltip]{left:50%;right:auto;transform:translateX(-50%);max-width:100%;text-align:center}
.statement-workflow-action p{font-size:14px;color:#667384;margin:8px 0 0}
.statement-workflow-action small{display:block;font-size:13px;color:#667384;margin-top:8px}
.statement-stage-done{font-size:14px;color:#23754b;font-weight:500}
.statement-stage-instructions{margin:10px 0 0;font-size:14px;color:#667384}
.statement-stage-instructions summary{cursor:pointer;min-height:32px;padding:4px 0}
.statement-stage-instructions p{margin:6px 0;max-width:780px}
.statement-fee-transfer-total{font-size:30px;font-weight:550;margin:0 0 12px;font-variant-numeric:tabular-nums}
.statement-workflow-footer{position:sticky;bottom:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding:12px 0 calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid #dfe5ec;background:#fcfcfa}
.statement-workflow-footer>.statement-disabled-help{margin-left:auto;max-width:100%}
.statement-workflow-complete{border:1px solid #c9dfd0;border-radius:8px;padding:20px;background:#f6fbf7}
.statement-workflow-complete h2{font-size:21px;font-weight:550;margin:0}.statement-workflow-complete p{font-size:14px;color:#667384}
.statement-workflow-complete>div{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:680px){
.statement-guided-page .statement-page-heading h1{font-size:23px}
.statement-guided-page .statement-heading-actions{gap:6px}
.statement-guided-page>[data-statement-progress]{margin-bottom:10px;font-size:12px}
.statement-workflow-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;padding:10px 12px;margin-bottom:10px}
.statement-workflow-summary .statement-workflow-month{grid-column:1/-1}
.statement-workflow-summary .statement-workflow-month label{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px}
.statement-workflow-summary>div:nth-child(2){border:0;padding-left:0}
.statement-workflow-summary>div:nth-child(3){padding-left:12px}
.statement-workflow-summary strong{font-size:18px}.statement-workflow-summary span{font-size:12px}
.statement-stage-bar{gap:8px;margin-bottom:12px}
.statement-stage-bar nav::before,.statement-stage-bar nav::after{top:17.5px}
.statement-stage-bar nav button{gap:7px;padding:6px 3px;min-height:80px;font-size:14px;line-height:1.3}
.statement-stage-bar .statement-stage-number{width:26px;height:26px;font-size:12px}
.statement-stage-title{display:none}.statement-stage-short-title{display:block;min-width:0}
.statement-stage-content .statement-review-heading{margin-top:0;gap:8px}
.statement-stage-content .statement-review-heading h2,.statement-stage-content>h2,.statement-upload-stage>h2{font-size:19px}
.statement-stage-content .statement-review-heading .eyebrow{display:none}
.statement-stage-content .statement-review-heading p:not(.eyebrow){display:none}
.statement-stage-content .statement-review-controls{width:auto}
.statement-upload-stage{padding:16px}.statement-upload-period{gap:12px}
.statement-upload-period label{min-width:100px;max-width:none}
.statement-upload-period>button{width:100%}
.statement-workflow-action-main{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:8px}
.statement-workflow-footer{gap:8px}.statement-workflow-footer>.secondary-btn{flex:0 0 auto}
.statement-workflow-footer>.statement-disabled-help{flex:1;min-width:0}
.statement-workflow-footer .statement-disabled-help>button{width:100%;white-space:normal;min-height:44px;padding:10px 12px}
}

.statement-insight-cards article{min-width:0;align-content:center;min-height:120px}.statement-insight-cards strong{font-size:clamp(1.15rem,2.3vw,1.75rem);overflow-wrap:anywhere}.statement-insight-rankings>section:only-child{grid-column:1 / -1}.statement-insight-rankings td:nth-child(2){white-space:normal;overflow-wrap:anywhere}.statement-insight-rankings td:last-child{white-space:normal}.statement-insight-rankings table{table-layout:fixed}.statement-insight-rankings th:first-child{width:36px}.statement-insight-rankings th:nth-child(3){width:100px}.statement-insight-rankings th:last-child{width:90px}
@media(max-width:560px){.statement-insight-cards article{padding:12px;min-height:112px}.statement-insight-cards span{font-size:14px}.statement-insight-rankings>section{padding:12px}.statement-insight-rankings th,.statement-insight-rankings td{padding:9px 4px}.statement-insight-rankings th:nth-child(3){width:82px}.statement-insight-rankings th:last-child{width:68px}.statement-insight-rankings td:first-child b{font-weight:500}}

.statement-resend-form{display:grid;gap:12px;border-top:1px solid #dce2ea;margin-top:16px;padding-top:16px;min-width:0}.statement-resend-form h4,.statement-resend-form p{margin:0}.statement-resend-form label{display:grid;gap:6px;font-size:14px;font-weight:500}.statement-resend-form input{box-sizing:border-box;width:100%;min-width:0;min-height:42px;font:inherit;font-size:16px;padding:10px;border:1px solid #cdd6e3;border-radius:6px}.statement-resend-form small{color:#687386}.statement-resend-form .statement-sent-card-actions{margin:0}.statement-resend-dialog{box-sizing:border-box;width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #cdd6e3;border-radius:12px;padding:24px;color:#263247;background:#fff;box-shadow:0 24px 80px #0004;font:inherit}.statement-resend-dialog::backdrop{background:#0c142ab8}.statement-resend-dialog h2{font-size:20px;font-weight:600;margin:0 0 16px}.statement-resend-dialog p{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.statement-resend-dialog button{min-height:42px}.statement-resend-form input:focus-visible,.statement-resend-dialog button:focus-visible{outline:2px solid #245bb5;outline-offset:2px}@media(max-width:560px){.statement-resend-dialog{padding:20px}.statement-resend-dialog .statement-sent-card-actions{display:grid}.statement-resend-dialog button{width:100%}}

.statement-title-row{display:flex;align-items:center;gap:12px}
.statement-help-button{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;padding:0;border:1px solid #aeb8c6;border-radius:50%;background:#fff;color:#596575;font-size:18px;font-weight:500;cursor:pointer}
.statement-help-button:hover,.statement-help-button:focus-visible{background:#fff4c2;border-color:#ad8f25;color:#263247;outline-offset:3px}
.statement-guide-dialog{width:min(1180px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid #c8d0da;border-radius:10px;color:#263247;background:#fff;box-shadow:0 24px 80px #10192a40;overflow:auto;font-size:16px;line-height:1.6;overscroll-behavior:contain}
.statement-guide-dialog::backdrop{background:#10192a99}
.statement-guide-header{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 28px;background:#fff;border-bottom:1px solid #dce2ea}
.statement-guide-header h2{margin:0;font-size:25px;font-weight:550;line-height:1.3}
.statement-guide-header .eyebrow{font-size:12px;margin-bottom:5px}
.statement-guide-header>div:last-child{display:flex;align-items:center;gap:14px;flex-shrink:0}
.statement-guide-close{display:grid;place-items:center;width:40px;height:40px;border:0;background:#f0f2f5;border-radius:6px;font-size:26px;color:#596575;cursor:pointer}
.statement-guide-layout{display:grid;grid-template-columns:245px minmax(0,1fr);align-items:start}
.statement-guide-layout>nav{position:sticky;top:105px;padding:26px 20px;display:grid;gap:7px;max-height:calc(100dvh - 155px);overflow:auto}
.statement-guide-layout>nav>span{color:#778397;font-size:14px;margin-bottom:6px}
.statement-guide-layout>nav button{display:flex;align-items:baseline;gap:10px;text-align:left;font:inherit;font-size:14px;line-height:1.4;background:transparent;border:0;border-radius:5px;padding:8px;color:#445066;cursor:pointer}
.statement-guide-layout>nav button:hover{background:#fff4c2}
.statement-guide-layout>nav button span{color:#8c7320;min-width:18px}
.statement-guide-content{padding:28px 32px 44px;border-left:1px solid #e5e9ef;min-width:0}
.statement-guide-intro{font-size:17px;margin:0 0 12px}
.statement-guide-meta{font-size:14px;color:#6c7789;margin:0 0 26px}
.statement-guide-step{padding:28px 0;border-top:1px solid #e5e9ef;scroll-margin-top:115px}
.statement-guide-step h3{display:flex;align-items:baseline;gap:12px;font-size:22px;line-height:1.35;font-weight:550;margin:0 0 18px}
.statement-guide-step h3>span{display:grid;place-items:center;flex-shrink:0;min-width:34px;height:34px;background:#f9ebad;color:#665113;border-radius:6px;font-size:18px}
.statement-guide-step ol{margin:0;padding-left:24px}.statement-guide-step li{padding-left:5px;margin-bottom:14px}.statement-guide-step li::marker{color:#8290a3;font-size:14px}
.statement-guide-note{padding:16px 18px;border-left:3px solid #d1ae32;background:#fff9e5;margin-top:20px;border-radius:0 5px 5px 0}
.statement-guide-figure{margin:24px 0 0}.statement-guide-figure img{display:block;width:100%;height:auto;border:1px solid #cfd7e3;border-radius:6px}.statement-guide-figure a:focus-visible{outline:3px solid #d1ae32;outline-offset:4px}.statement-guide-figure figcaption{font-size:14px;color:#657188;margin-top:10px}.statement-guide-figure figcaption span{color:#8c7320}
.statement-guide-message,.statement-guide-update{margin:16px 28px;padding:12px 16px;background:#edf7f0;border-radius:5px}.statement-guide-message.is-error{background:#fff0ed;color:#993629}.statement-guide-update{background:#fff4cc}.statement-guide-update button{margin-top:12px;display:block}
.statement-guide-reference{margin:20px;border:1px solid #d1ae32;padding:16px}.statement-guide-reference>summary{cursor:pointer;font-weight:550}.statement-guide-reference nav{display:none}.statement-guide-reference .statement-guide-layout{display:block}
.statement-guide-editor{padding:22px 28px 0}.statement-guide-editor label{display:grid;gap:6px;margin:16px 0;color:#445066;font-size:14px}.statement-guide-editor input,.statement-guide-editor textarea{font-size:16px;font-weight:400;line-height:1.5;width:100%;min-width:0}.statement-guide-editor textarea{resize:vertical}.statement-guide-editor fieldset{min-width:0;border:1px solid #cfd7e3;border-radius:6px;padding:18px;margin:24px 0}.statement-guide-editor legend{font-size:18px;font-weight:500;padding:0 8px}.statement-guide-edit-actions,.statement-guide-image-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.statement-guide-image-controls label{flex:1;min-width:180px}.statement-guide-editor footer{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:12px;padding:18px 0;background:#fff;border-top:1px solid #dce2ea;margin-top:24px}.statement-guide-dialog button:disabled{opacity:.55;cursor:wait}
.statement-guide-confirm{position:sticky;top:0;z-index:5;background:#fff4cc;padding:24px;border-bottom:1px solid #d1ae32;box-shadow:0 5px 18px #0002}.statement-guide-confirm p{margin:0 0 16px}.statement-guide-confirm button{margin-right:12px}
@media(max-width:760px){.statement-guide-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.statement-guide-header{padding:16px;gap:10px;align-items:flex-start}.statement-guide-header h2{font-size:21px}.statement-guide-header>div:last-child{gap:6px}.statement-guide-header .secondary-btn{font-size:14px;padding:8px}.statement-guide-layout{display:block}.statement-guide-layout>nav{position:static;max-height:none;padding:18px;border-bottom:1px solid #e5e9ef}.statement-guide-content{padding:22px 18px;border-left:0}.statement-guide-step h3{font-size:20px}.statement-guide-step{scroll-margin-top:140px}.statement-guide-editor{padding:16px 16px 0}.statement-guide-editor fieldset{padding:12px}.statement-guide-message,.statement-guide-update{margin:12px 16px}.statement-title-row h1{min-width:0}.statement-guide-header .eyebrow{font-size:11px}}

.cp-page{max-width:1500px;margin:auto}.cp-page h1,.cp-page h2,.cp-page strong,.cp-page th{font-weight:550}.cp-title{align-items:center}.cp-title p:last-child{margin-bottom:0}.cp-topbar,.cp-toolbar,.cp-actions,.cp-settings-heading,.cp-review>header,.cp-property-editor>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cp-topbar{margin:20px 0}.cp-actions{justify-content:flex-start}.cp-tabs{display:flex;gap:4px;padding:4px;background:#efefeb;border-radius:10px}.cp-tabs button{border:0;background:transparent;color:#6b6b63;padding:10px 16px;border-radius:7px;font-weight:500}.cp-tabs button.active{background:white;color:#25251f;box-shadow:0 1px 4px #0000000d}.cp-page select,.cp-page input:not([type=checkbox]),.cp-page textarea{background:#fff;color:#262721;border:1px solid #d9dcd3;border-radius:8px;padding:10px 12px;width:100%;font:inherit}.cp-topbar select{width:auto;max-width:340px}.cp-notice{display:flex;align-items:center;gap:12px;padding:14px 18px;margin:12px 0;border-radius:10px;background:#f0f4e8;color:#35412a}.cp-notice .loader{width:18px;height:18px;border-width:2px;flex-shrink:0}.cp-loading,.cp-preview-loading{display:flex;align-items:center;justify-content:center;gap:15px;min-height:220px;color:#73746b}.cp-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}.cp-summary article{padding:20px;background:white;border:1px solid #e4e5df;border-radius:12px;display:grid;gap:7px}.cp-summary span{font-size:13px;color:#73746b}.cp-summary strong{font-size:30px;letter-spacing:-.6px}.cp-summary small,.cp-note{color:#77796e;font-size:12px}.cp-note{line-height:1.6;margin:14px 0 20px}.cp-export{margin-left:auto}.cp-table-wrap{overflow:auto;border:1px solid #e1e3da;border-radius:12px;background:#fff}.cp-table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}.cp-table th{padding:13px 16px;color:#6d7064;background:#f6f7f2;white-space:nowrap;font-size:12px}.cp-table td{padding:15px 16px;border-top:1px solid #eceee5;vertical-align:middle}.cp-table td strong,.cp-table small{display:block}.cp-table small{color:#838578;margin-top:4px;font-size:11px}.cp-number{white-space:nowrap;font-variant-numeric:tabular-nums}.cp-table button{white-space:nowrap;font-size:12px}.cp-badge{border-radius:6px;font-size:11px;padding:5px 9px;white-space:nowrap}.cp-badge.approved{background:#eaf2e2;color:#476633}.cp-badge.review{background:#fff2d5;color:#85662b}.cp-unmatched{margin:20px 0;border:1px solid #efdec0;border-radius:12px;padding:18px;background:#fffcf6}.cp-unmatched h2{font-size:16px;margin:0 0 12px}.cp-unmatched>div{display:flex;align-items:center;gap:15px;padding:12px 0;border-top:1px solid #efe7d8}.cp-unmatched>div>span{flex:1;min-width:0;overflow-wrap:anywhere}.cp-unmatched small{display:block;margin-top:5px;color:#807662}.cp-review{border:1px solid #d5dace;border-radius:12px;background:white;margin:20px 0;overflow:hidden;scroll-margin-top:20px}.cp-review>header{padding:16px 20px;background:#f4f6ef;border-bottom:1px solid #dfe3d6}.cp-review h2,.cp-property-editor h2{font-size:18px;margin:0 0 8px}.cp-review>header>div{flex:1;max-width:75%}.cp-review>header select{max-width:600px}.cp-review-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,1fr)}.cp-preview{background:#eceee7;min-height:650px;overflow:auto}.cp-preview iframe{width:100%;height:780px;border:0}.cp-preview img{display:block;max-width:100%;height:auto;margin:auto}.cp-review-form{padding:22px;min-width:0}.cp-review-form fieldset,.cp-property-editor fieldset{border:0;margin:0;padding:0;min-width:0}.cp-review-form label,.cp-property-editor label{display:grid;gap:6px;font-size:12px;color:#696d5e;margin-bottom:15px}.cp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.cp-review-status{font-size:13px;color:#85662b;background:#fff5df;padding:11px 13px;border-radius:8px;margin-bottom:15px}.cp-review-status.is-approved{color:#476633;background:#edf4e6}.cp-flags{padding:0 0 0 18px;font-size:12px;line-height:1.6;color:#836a3d;margin:0 0 18px}.cp-bank-summary{background:#f6f7f2;padding:13px;border-radius:8px;display:grid;gap:4px;margin:0 0 16px;font-size:12px;color:#5d6450}.cp-bank-summary>span:first-child{text-transform:uppercase;font-size:10px;letter-spacing:.8px}.cp-review-form details{font-size:12px;margin:10px 0 18px}.cp-lines{padding:0;list-style:none}.cp-lines li{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #ebede5;padding:8px 0}.cp-page label.cp-check{display:flex;align-items:flex-start;gap:9px;line-height:1.5}.cp-check input{margin:2px 0 0;flex-shrink:0;accent-color:#69794c}.cp-review-navigation{margin-top:20px;padding-top:18px;border-top:1px solid #e7e9df}.cp-property-editor{background:white;border:1px solid #d8dece;border-radius:12px;padding:22px;margin:18px 0}.cp-property-editor>header{margin-bottom:20px}.cp-settings-heading{margin:25px 0 18px}.cp-settings-heading h2{font-size:19px;margin:0 0 6px}.cp-settings-heading p{font-size:13px;color:#7c7f73;max-width:720px;margin:0;line-height:1.5}.cp-inactive{opacity:.6}.cp-empty{padding:55px 25px;margin:20px 0}.cp-empty h2{font-size:21px}.cp-empty p{max-width:640px;margin:12px auto 22px;line-height:1.6}.cp-excluded{margin-top:20px;font-size:13px;color:#737769}.cp-page button:disabled{opacity:.45;cursor:not-allowed}.cp-page button,.cp-page summary{cursor:pointer}.cp-page .text-btn{border:0;background:transparent;font:inherit;font-size:12px;padding:8px;color:#696f5b}.cp-page textarea{resize:vertical;min-height:65px}.cp-page input:focus,.cp-page select:focus,.cp-page textarea:focus{outline:2px solid #c1cea3;outline-offset:1px}
@media(max-width:1000px){.cp-review-columns{grid-template-columns:1fr}.cp-preview{min-height:350px;max-height:600px}.cp-preview iframe{height:550px}.cp-preview img{max-height:600px;object-fit:contain}.cp-review-form{padding:20px}.cp-table td,.cp-table th{padding:12px}.cp-topbar select{max-width:240px}}
@media(max-width:600px){.cp-title h1{font-size:26px}.cp-title>button{display:inline-flex}.cp-topbar{display:block}.cp-topbar>.cp-actions{margin-top:14px;flex-wrap:nowrap}.cp-topbar select{max-width:none;flex:1;min-width:0}.cp-topbar>.cp-actions button{white-space:nowrap}.cp-tabs button{flex:1}.cp-tabs{width:100%}.cp-summary{gap:8px}.cp-summary article{padding:14px 10px}.cp-summary strong{font-size:23px}.cp-summary span,.cp-summary small{font-size:10px}.cp-toolbar>.cp-actions{width:100%}.cp-toolbar>.cp-actions button{flex:1;font-size:12px}.cp-export{width:100%;justify-content:center}.cp-form-grid{grid-template-columns:1fr}.cp-review-form,.cp-property-editor{padding:16px}.cp-unmatched>div{flex-wrap:wrap}.cp-unmatched>div>span{flex-basis:100%}.cp-preview iframe{height:470px}.cp-review>header{padding:12px}.cp-review>header>div{max-width:70%}.cp-review-form .cp-actions button{flex:1}.cp-settings-heading button{width:100%}}

.cp-scanning{margin:20px 0;padding:20px;border:1px solid #c8d8dd;border-radius:12px;background:#f0f7f8;color:#334f57}.cp-scanning header{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.cp-scanning header>div{flex:1;min-width:200px}.cp-scanning h2{font-size:17px;margin:0 0 6px}.cp-scanning p{font-size:13px;line-height:1.5;margin:0;overflow-wrap:anywhere}.cp-scanning .loader{display:block;flex:0 0 23px;width:23px;height:23px;margin:0;border-color:#d3e3e7;border-top-color:#466c77}.cp-scanning progress{display:block;width:100%;height:9px;accent-color:#527980;margin:18px 0}.cp-scanning ul{list-style:none;padding:0;margin:15px 0 0;max-height:210px;overflow:auto}.cp-scanning li{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #dbe7e9;padding:10px 0;font-size:12px}.cp-scanning li span{overflow-wrap:anywhere;min-width:0}.cp-scanning li strong{white-space:nowrap}.cp-review-form>[data-cp-setup]{margin-bottom:18px;width:100%}.cp-topbar>.cp-actions{flex-wrap:wrap}@media(prefers-reduced-motion:reduce){.cp-page .loader{animation:none}}

.cp-page .cp-notice{justify-content:flex-start;line-height:1.5}
.cp-page .cp-notice .loader,.cp-page .cp-preview-loading .loader{display:block;margin:0;flex:0 0 18px;width:18px;height:18px;border-width:2px}
.cp-notice>span:last-child{min-width:0;overflow-wrap:anywhere}
.cp-progress{background:#f0f7f8;color:#334f57}
.cp-include{width:19px;height:19px;accent-color:#69794c;cursor:pointer}
.cp-review-columns{grid-template-columns:minmax(0,1.2fr) minmax(320px,1fr);align-items:start}
.cp-preview{min-width:0;min-height:200px;max-height:85vh;overflow:auto;padding:14px;box-sizing:border-box}
.cp-preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px;font-size:12px;color:#5d6450}
.cp-preview-toolbar a{color:inherit;text-decoration:underline}
.cp-preview .cp-pdf-page,.cp-preview .cp-invoice-image{display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain;margin:0 auto 14px;background:white;box-shadow:0 1px 6px #0002}
.cp-preview-error{font-size:13px;line-height:1.5;padding:12px;color:#836a3d}
.cp-review>header>div{min-width:0;max-width:none}
.cp-review>header select{max-width:100%;text-overflow:ellipsis}
.cp-review-form input,.cp-review-form select,.cp-form-grid>label{min-width:0;max-width:100%;box-sizing:border-box}
.cp-review-form .cp-flags{overflow-wrap:anywhere}
.cp-page button{font-weight:550}
@media(max-width:1000px){.cp-review-columns{grid-template-columns:minmax(0,1fr)}.cp-preview{max-height:65vh}.cp-review>header>div{max-width:calc(100% - 90px)}}
@media(max-width:600px){.cp-page .cp-notice{padding:12px;gap:10px;font-size:13px}.cp-preview{padding:10px;max-height:60vh}.cp-review>header{gap:10px;align-items:flex-start}.cp-review>header>div{flex:1;max-width:calc(100% - 75px)}.cp-review>header select{font-size:13px}.cp-review-form input,.cp-review-form select,.cp-review-form textarea{font-size:16px}.cp-review-form .cp-actions{align-items:stretch}.cp-review-form .cp-actions button{min-height:42px}}

.cp-original{min-width:0}.cp-original-summary{padding:18px 20px;background:#fff9e7;display:grid;gap:7px;border-bottom:1px solid #ede2bf}.cp-original-summary>span,.cp-original-summary>small{font-size:12px;color:#746745}.cp-original-summary>strong{font-size:20px;overflow-wrap:anywhere}.cp-original-summary>.cp-original-total{font-size:26px;font-variant-numeric:tabular-nums}.cp-review-count{font-size:12px;color:#646c57;margin:0 0 10px}.cp-key-details{background:#fff9e7;border:1px solid #e6cf84;border-radius:10px;padding:16px;margin-bottom:18px}.cp-key-details label{font-size:13px;color:#645526}.cp-key-details label:last-child{margin-bottom:0}.cp-key-details select{font-size:17px;font-weight:550;min-height:48px}.cp-key-details input{font-size:28px!important;font-weight:550;font-variant-numeric:tabular-nums;min-height:52px}.cp-review-form .cp-approve-actions{position:sticky;bottom:0;background:white;padding:12px 0;z-index:2}.cp-sequential .cp-approve-actions>.primary-btn{min-width:150px;min-height:46px}.cp-pdf-sheet{position:relative;margin-bottom:14px;line-height:0}.cp-preview .cp-pdf-sheet .cp-pdf-page{margin:0}.cp-highlight{position:absolute;pointer-events:none;border-radius:2px;box-sizing:border-box;mix-blend-mode:multiply}.cp-highlight-property{background:#ffe15b60;outline:1px solid #d6ac32aa}.cp-highlight-total{background:#83d6bf65;outline:1px solid #20916aaa}.cp-preview-hint{font-size:12px;line-height:1.5;color:#696d5e;margin:10px 0}.cp-review-complete{padding:22px;background:#f0f5e9;border:1px solid #cddfbb;border-radius:12px;margin:20px 0}.cp-review-complete h2{font-size:20px;margin:0 0 8px}.cp-review-complete p{margin:0;font-size:14px}.cp-validation{margin:18px 0;padding:18px;background:#fff5e7;border:1px solid #e8c89b;border-radius:10px}.cp-validation h2{font-size:17px;margin:0 0 10px}.cp-validation p{font-size:13px;line-height:1.5;overflow-wrap:anywhere;margin:6px 0}.cp-quickbooks{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px;border:1px solid #dce2d3;border-radius:10px;background:#f7f9f3;margin:18px 0}.cp-quickbooks>div{min-width:0}.cp-quickbooks p{margin:5px 0;font-size:13px;overflow-wrap:anywhere}.cp-quickbooks small{font-size:12px;color:#69735c}.cp-quickbooks button{flex-shrink:0}.cp-field-error{color:#a34126!important}.cp-table .cp-number{font-size:16px;font-weight:550}.cp-table td:first-child strong{font-size:15px}.cp-page .cp-reopen{margin:4px 0 12px}
.cp-page:has(>.cp-loading)>:not(.cp-loading){display:none}.cp-page>.cp-loading{display:grid;place-items:center;place-content:center;gap:12px;min-height:calc(100dvh - 48px);color:#73746b;text-align:center}.cp-page>.cp-loading .loader{margin:0 auto}
@media(max-width:600px){.cp-original-summary{padding:14px}.cp-original-summary>strong{font-size:18px}.cp-key-details{padding:12px}.cp-quickbooks{align-items:stretch;flex-direction:column}.cp-quickbooks button{width:100%}.cp-approve-actions>.primary-btn{flex-basis:100%!important}.cp-key-details select{font-size:16px}.cp-toolbar>.cp-actions{flex-wrap:wrap}.cp-toolbar>.cp-actions button{flex:1 1 140px}}

.cp-review-form textarea[name="notes"]{min-height:110px;resize:vertical;line-height:1.55}.cp-review-form #cpAccountingNotesHelp,.cp-accounting-delivery{display:block;line-height:1.5;margin-top:6px;font-size:12px;font-weight:400;color:#68715e}.cp-accounting-delivery{color:#8a561e}.cp-accounting-marker{color:#6b591a!important}

.cp-workflow{margin:22px 0;border:1px solid #d9dfd0;border-radius:16px;background:#fff;overflow:hidden}.cp-workflow>header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:22px 24px;background:#f7f5e9;border-bottom:1px solid #e5e1cc}.cp-workflow>header h2{margin:2px 0 6px;font-size:25px}.cp-workflow>header p:last-child{margin:0;color:#686b61;font-size:13px;line-height:1.5}.cp-workflow .eyebrow{margin:0;color:#786615}.cp-workflow.is-complete{border-color:#bdd5af}.cp-workflow.is-complete>header{background:#eff7e9}.cp-complete-pill{padding:7px 11px;border-radius:999px;background:#dcefd1;color:#3d652f;font-size:12px;font-weight:550;white-space:nowrap}.cp-workflow-list{padding:8px 24px 18px}.cp-workflow-step{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;padding:18px 0;border-bottom:1px solid #eceee7}.cp-workflow-step:last-child{border-bottom:0}.cp-step-number{display:grid;place-items:center;width:40px;height:40px;border:2px solid #d4d9cf;border-radius:50%;color:#697064;font-weight:550}.cp-workflow-step.is-current .cp-step-number{border-color:#d9b53f;background:#fff6cf;color:#6d5711}.cp-workflow-step.is-complete .cp-step-number{border-color:#77a864;background:#e8f3df;color:#3f7130}.cp-workflow-step.is-locked{opacity:.62}.cp-step-content{min-width:0}.cp-step-actions{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap}.cp-step-actions>button:first-child{width:min(100%,410px);justify-content:center}.cp-done-btn{display:inline-flex;align-items:center;border:1px solid #80ad6d;border-radius:8px;background:#e9f4e2;color:#355e29;padding:10px 16px;font:inherit;font-weight:550;min-height:42px}.cp-step-content p{margin:9px 0 0;color:#6f7268;font-size:13px;line-height:1.5}.cp-step-content small{display:block;margin-top:7px;color:#587049}.cp-external{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap}
@media(max-width:600px){.cp-workflow>header{align-items:flex-start;padding:18px}.cp-workflow>header h2{font-size:21px}.cp-workflow-list{padding:4px 16px 12px}.cp-workflow-step{grid-template-columns:36px minmax(0,1fr);gap:11px;padding:15px 0}.cp-step-number{width:32px;height:32px}.cp-step-actions>button:first-child{width:100%}.cp-step-actions .cp-external{width:100%}.cp-step-content p{font-size:12px}}
.cp-review-workspace{min-width:0;display:grid;align-content:start;gap:16px}
.cp-review-workspace .cp-property-editor{margin:0;padding:16px}
.cp-review-workspace .cp-property-editor .cp-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1100px){.cp-review-workspace .cp-property-editor .cp-form-grid{grid-template-columns:1fr}}

.cp-inbox{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:20px;background:#fff;border:1px solid #dde2e8;border-radius:12px;margin-bottom:16px}.cp-inbox h2{font-size:16px;font-weight:550;margin:0 0 5px}.cp-inbox p{margin:4px 0;font-size:14px;overflow-wrap:anywhere}.cp-inbox small,.cp-month-check small{display:block;color:#586577;font-size:13px}.cp-inbox-help,.cp-import-report{flex-basis:100%}.cp-import-report ul{padding-left:20px;max-height:260px;overflow:auto}.cp-import-report li{margin:10px 0;font-size:14px}.cp-import-report li strong{display:block;font-weight:500;overflow-wrap:anywhere}.cp-import-report li span{display:block}.cp-month-check{padding:14px;border:1px solid #dde2e8;border-radius:8px;display:grid;gap:8px;font-size:14px;overflow-wrap:anywhere}.cp-month-check strong{font-weight:550}.cp-month-check p{margin:0}.cp-month-check details>p{margin:10px 0}.cp-email-text{white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;font:14px/1.6 system-ui,sans-serif}.cp-month-check summary{cursor:pointer}.cp-inbox .cp-actions{flex-wrap:wrap}@media(max-width:600px){.cp-inbox{padding:16px}.cp-inbox>.cp-actions{width:100%}.cp-inbox>.cp-actions button{flex:1;min-height:40px}.cp-inbox>div:first-child{max-width:100%}}

.cp-coverage{background:white;border:1px solid #dde2e8;border-radius:12px;padding:20px;margin-bottom:16px}.cp-coverage h2{font-size:16px;font-weight:550;margin:0}.cp-coverage h3{font-size:14px;font-weight:550;margin:18px 0 6px}.cp-coverage p{font-size:14px;margin:6px 0}.cp-coverage small{display:block;color:#586577;font-size:13px}.cp-coverage-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #edf0f3}.cp-coverage-row strong{font-size:14px;font-weight:500}.cp-coverage-row small{margin-top:4px}.cp-coverage .cp-actions{flex-wrap:wrap}.cp-coverage details{margin:16px 0}.cp-coverage>small{margin-top:14px}@media(max-width:600px){.cp-coverage{padding:16px}.cp-coverage-row{align-items:stretch;flex-direction:column}.cp-coverage .cp-actions{width:100%}.cp-coverage .cp-actions button{min-height:40px;flex:1}}

.cp-inbox-dates{display:grid;gap:6px;width:100%}.cp-inbox-dates label{font-size:14px}.cp-inbox-date-row{display:flex;align-items:center;gap:16px;min-width:0}.cp-inbox-dates input{box-sizing:border-box;width:150px;max-width:60%;min-width:0;height:44px;padding:8px 12px;border:1px solid #dce1e5;border-radius:8px;background:white;color:inherit;font:inherit}.cp-inbox-dates span{font-size:13px;color:#64748b;white-space:nowrap}

/* Keep batch controls aligned independently of global form sizing. */
.cp-topbar{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:center;margin:20px 0}
.cp-batch-controls{display:grid;grid-template-columns:minmax(180px,280px) auto auto 44px;gap:8px;align-items:center;justify-content:end;min-width:0}
.cp-batch-controls #cpBatchSelect{grid-column:1;grid-row:1;width:100%;max-width:none;min-width:0}
.cp-batch-controls #cpReload{grid-column:2;grid-row:1}
.cp-batch-controls #cpNewBatch{grid-column:3;grid-row:1}
.cp-batch-controls>.secondary-btn,.cp-batch-controls>select,.cp-title>.secondary-btn,.cp-tabs button{box-sizing:border-box;height:44px;font-size:14px;font-weight:500;line-height:1.25;white-space:nowrap}
.cp-batch-controls>.secondary-btn,.cp-title>.secondary-btn{padding:0 16px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px}
.cp-tabs{background:#f0f2f4;border-radius:10px;padding:3px}.cp-tabs button{height:40px}
.cp-batch-menu{position:relative;grid-column:4;grid-row:1}
.cp-batch-menu>summary{display:flex;align-items:center;justify-content:center;list-style:none;width:44px;height:44px;border:1px solid #d9dfe5;border-radius:8px;background:white;cursor:pointer;color:#586577}
.cp-batch-menu>summary::-webkit-details-marker{display:none}.cp-batch-menu>summary:hover{background:#f5f6f8}.cp-batch-menu>summary:focus-visible{outline:2px solid #a88600;outline-offset:2px}
.cp-batch-menu>div{position:absolute;right:0;top:calc(100% + 6px);z-index:30;min-width:160px;padding:6px;background:white;border:1px solid #dde2e8;border-radius:10px;box-shadow:0 8px 24px #17203318}
.cp-batch-menu .danger-link{width:100%;min-height:40px;text-align:left;padding:8px 12px;font-size:14px;font-weight:500;white-space:nowrap}
@media(max-width:1100px){.cp-topbar{grid-template-columns:1fr}.cp-tabs{justify-self:start}.cp-batch-controls{justify-content:start;grid-template-columns:minmax(180px,1fr) auto auto 44px}}
@media(max-width:600px){.cp-title{gap:12px;align-items:flex-start;flex-wrap:wrap}.cp-title>.secondary-btn{margin:0}.cp-topbar{gap:12px}.cp-tabs{width:100%;justify-self:stretch}.cp-batch-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px}.cp-batch-controls #cpBatchSelect{grid-column:1/4;grid-row:1}.cp-batch-controls #cpReload{grid-column:1;grid-row:2}.cp-batch-controls #cpNewBatch{grid-column:2;grid-row:2}.cp-batch-menu{grid-column:3;grid-row:2}.cp-batch-controls>.secondary-btn{padding:0 10px}.cp-summary article{padding:16px 12px}}

.cp-property-list .cp-table{font-size:14px}.cp-property-list .cp-badge{font-size:12px;display:inline-block;white-space:normal}.cp-badge.neutral{background:#eef0f2;color:#586577}.cp-property-actions>div{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.cp-property-list button{min-height:40px;font-size:13px}.cp-property-list td{overflow-wrap:anywhere}.cp-property-list td:first-child{min-width:180px}.cp-property-actions{max-width:280px}
@media(max-width:1100px){.cp-property-list{overflow:visible}.cp-property-list thead{display:none}.cp-property-list table,.cp-property-list tbody{display:block}.cp-property-list tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:16px;gap:12px;border-top:1px solid #eceee5}.cp-property-list tr:first-child{border-top:0}.cp-property-list td{display:block;border:0;padding:0;min-width:0!important}.cp-property-list td:first-child,.cp-property-list td:nth-child(5),.cp-property-list td:last-child{grid-column:1/-1}.cp-property-list td:nth-child(2){grid-column:1/-1}.cp-property-list td[data-label]:not(:first-child)::before{content:attr(data-label);display:block;color:#6d7064;font-size:12px;margin-bottom:4px}.cp-property-actions{max-width:none}.cp-property-actions>div{justify-content:flex-start}.cp-property-actions button{flex:1}.cp-property-list td:first-child strong{font-size:16px}}

/* Compact statuses follow the Command Centre; setup is a direct action. */
.cp-property-list .cp-badge{border-radius:6px;font-size:13px;font-weight:400;line-height:1.4;padding:6px 10px}
.cp-property-list .cp-status-action{font-family:inherit;border:1px solid #e5d6af;min-height:40px;text-align:left;text-decoration:underline;text-underline-offset:3px;white-space:normal;box-shadow:none}
.cp-property-list .cp-status-action:hover:not(:disabled){background:#ffebba;border-color:#c9ad68}
.cp-property-list .cp-status-action:focus-visible{outline:2px solid #a88600;outline-offset:3px}

/* Review stays focused on property, amount and the saved payee. */
.cp-bank-summary{position:relative;padding:16px 60px 16px 16px;background:#f6f8f9;border:1px solid #e1e6ea;border-radius:6px;font-size:14px;line-height:1.5;color:#596875}
.cp-bank-summary>span:first-child{font-size:12px;letter-spacing:0;text-transform:none;color:#74818b}
.cp-bank-summary>strong{font-weight:500;color:#3f4d59}
.cp-bank-summary .cp-payee-edit{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#61707e;box-shadow:none}
.cp-bank-summary .cp-payee-edit:hover:not(:disabled){background:#fff;border-color:#d8dee4}
.cp-bank-summary .cp-payee-edit:focus-visible{outline:2px solid #a88600;outline-offset:2px}
.cp-review-form .cp-currency-check{padding:12px;border:1px solid #e5d6af;border-radius:6px;background:#fff9e9;font-size:14px}
.cp-review-form .cp-currency-check small{font-size:13px;font-weight:400;line-height:1.5}

.cp-match-picker{margin:20px 0;padding:20px;border:1px solid #dce2e7;border-radius:8px;background:#fff;scroll-margin-top:20px}
.cp-match-picker>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.cp-match-picker h2{margin:0;font-size:18px;font-weight:500;color:#394753}
.cp-match-picker p{font-size:14px;line-height:1.5;color:#687784;margin:8px 0 0}
.cp-match-list{margin-top:16px}.cp-match-list article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:14px 0;border-top:1px solid #e8ecef;font-size:14px}
.cp-match-list strong{font-weight:500;overflow-wrap:anywhere}.cp-match-list small{display:block;margin-top:4px;color:#75818b;overflow-wrap:anywhere}
.cp-match-picker button{min-height:40px;font-size:14px}.cp-match-empty{padding:16px 0}
.cp-review [hidden]{display:none!important}
@media(max-width:600px){.cp-match-picker{padding:16px}.cp-match-list article{grid-template-columns:minmax(0,1fr) auto;gap:12px}.cp-match-list article>button{grid-column:1/-1;width:100%}}

/* Sort controls follow the table alignment and remain available in mobile cards. */
.cp-property-list .cp-actions-heading{text-align:right}
.cp-property-list .cp-column-sort,.cp-mobile-sort .cp-column-sort{display:inline-flex;align-items:center;gap:6px;padding:0;min-height:40px;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;text-align:inherit}
.cp-column-sort svg{flex-shrink:0;opacity:.45}
.cp-column-sort[aria-pressed=true] svg{opacity:1}
.cp-column-sort:hover{color:#252b31}
.cp-column-sort:focus-visible{outline:2px solid #b39a24;outline-offset:3px;border-radius:4px}
.cp-mobile-sort{display:none}
@media(max-width:1100px){.cp-mobile-sort{display:flex;flex-wrap:wrap;gap:4px 16px;margin:12px 0;color:#586577;font-size:14px}.cp-mobile-sort .cp-column-sort[aria-pressed=true]{color:#252b31;font-weight:550}}

/* Inline invoice review: one editable yellow panel, neutral surrounding surfaces. */
.cp-property-list .cp-expanded-row>td{padding:0;border-top:0;white-space:normal}
.cp-expanded-row .cp-review{margin:0;border:0;border-top:1px solid #e1e6ea;border-bottom:1px solid #e1e6ea;border-radius:0}
.cp-review>header{background:#f7f8fa;border-color:#e1e6ea}
.cp-review-status,.cp-review-status.is-approved{background:transparent;color:#596875;padding:0;margin-bottom:14px;font-size:14px}
.cp-review .cp-preview{background:#f1f3f5}
.cp-review .cp-key-details{border-radius:6px;background:#fff9e7;border-color:#e9ddb3}
.cp-review .cp-key-details select,.cp-review .cp-key-details input{min-height:44px;font-size:16px!important;font-weight:500}
.cp-review .cp-key-details label,.cp-review-form label,.cp-review-form details{font-size:14px}
.cp-review .cp-review-form small{font-size:12px;white-space:normal}
.cp-review .cp-review-form .cp-approve-actions{position:static}
.cp-review h2{margin-bottom:4px}
.cp-review .cp-review-count{margin:0;overflow-wrap:anywhere}
.cp-review .cp-flags{color:#596875}
@media(max-width:1100px){
 .cp-property-list tr.cp-expanded-row{display:block;padding:0;border:0}
 .cp-property-list .cp-expanded-row>td{display:block;width:100%;min-width:0!important;padding:0}
 .cp-expanded-row .cp-review-columns{display:flex;flex-direction:column}
 .cp-expanded-row .cp-review-workspace,.cp-expanded-row .cp-original{width:100%;box-sizing:border-box}
 .cp-expanded-row .cp-review-workspace{order:-1}
 .cp-review-form .cp-actions button{white-space:normal}
}

/* Stable property-row geometry, including rows with two invoices. */
.cp-property-list .cp-property-actions{max-width:none;width:1%;white-space:nowrap}
.cp-property-list .cp-property-actions>div{flex-wrap:nowrap;align-items:center}
.cp-property-list .cp-property-actions button{flex:0 0 auto;height:40px;min-height:40px;white-space:nowrap}
.cp-property-list td[data-label="Status"]{min-width:10.5rem}
.cp-property-list .cp-badge{display:inline-flex;align-items:center;box-sizing:border-box;width:10.5rem;min-height:40px;line-height:1.35}
.cp-property-list .cp-status-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:2.7em}
.cp-page .cp-column-sort::after{content:none}
@media(max-width:1100px){
 .cp-property-list .cp-property-actions{width:auto;min-width:0}
 .cp-property-list .cp-property-actions>div{overflow-x:auto}
 .cp-property-list .cp-property-actions button{flex:1 0 auto}
}

.cp-review .cp-flags{list-style:none;padding-left:0;display:grid;gap:6px}
.cp-property-list tr[data-cp-row]{scroll-margin-top:16px}
/* Missing invoices use the same single action line as received invoices. */
.cp-property-list .cp-property-actions>div:has([data-cp-no-cleans]){flex-wrap:nowrap;gap:4px}
.cp-property-list .cp-property-actions:has([data-cp-no-cleans]) button{padding-left:6px;padding-right:6px}
@media(max-width:1100px){.cp-property-list .cp-property-actions:has(button:nth-child(3)){max-width:none}.cp-property-list .cp-property-actions>div{overflow-x:visible}}

.cp-deductions{display:grid;gap:12px;margin:0 0 14px}
.cp-deductions>button{justify-self:start;min-height:40px}
.cp-deduction{display:grid;grid-template-columns:minmax(100px,.6fr) minmax(0,1.4fr) auto;gap:10px;align-items:end;padding-top:12px;border-top:1px solid #e9ddb3}
.cp-review .cp-deduction label{margin:0}
.cp-review .cp-deduction input{font-size:14px!important;font-weight:400}
.cp-deductions>small{font-size:12px;line-height:1.5;color:#687784}
@media(max-width:600px){.cp-deduction{grid-template-columns:minmax(0,1fr) auto}.cp-deduction>label:nth-child(2){grid-row:2;grid-column:1/-1}.cp-deduction>button{grid-column:2;grid-row:1}}

/* Stable tracks: expanded invoice content must never participate in column sizing. */
@media(min-width:1101px){
 .cp-property-list .cp-table{table-layout:fixed;width:100%}
 .cp-property-list .cp-col-property{width:22%}.cp-property-list .cp-col-cleaner{width:17%}.cp-property-list .cp-col-invoices{width:7%}.cp-property-list .cp-col-amount{width:10%}.cp-property-list .cp-col-status{width:19%}.cp-property-list .cp-col-actions{width:25%}
 .cp-property-list td:first-child,.cp-property-list td[data-label="Status"]{min-width:0}
 .cp-property-list .cp-property-actions{width:auto}
 .cp-property-list .cp-badge{width:100%;max-width:10.5rem}
 .cp-property-list .cp-property-actions button{padding-left:8px;padding-right:8px}
 .cp-property-list th,.cp-property-list td{padding-left:10px;padding-right:10px}
 .cp-property-list .cp-expanded-row>td{padding:0}
}
.cp-cleaner-list{display:grid;gap:12px;margin-top:20px}
.cp-cleaner-list article{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px;background:#fff;border:1px solid #dfe3e7;border-radius:10px}
.cp-cleaner-list article>div{min-width:0}.cp-cleaner-list h3,.cp-cleaner-editor h3{font-size:16px;font-weight:550;margin:0 0 8px}
.cp-cleaner-list p{font-size:14px;line-height:1.5;color:#586577;margin:4px 0;overflow-wrap:anywhere}
.cp-cleaner-list button{flex-shrink:0;min-height:40px}
.cp-cleaner-editor label{font-size:14px}.cp-cleaner-editor fieldset{min-width:0}
.cp-cleaner-help{font-size:14px;color:#586577;line-height:1.5}
.cp-cleaner-assignments{max-height:420px;overflow:auto;overscroll-behavior:contain;margin:16px 0;scrollbar-gutter:stable}
.cp-cleaner-assignment{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,240px);gap:16px;align-items:start;padding:12px 4px;border-top:1px solid #e6e9ec}
.cp-cleaner-assignment label{margin:0;min-width:0}.cp-cleaner-assignment .cp-check{display:flex!important;align-items:flex-start;gap:10px;min-height:40px}
.cp-cleaner-assignment .cp-check input{flex-shrink:0;margin-top:4px}.cp-cleaner-assignment span{overflow-wrap:anywhere}
.cp-cleaner-assignment small{display:block;margin-top:4px;color:#687385;font-size:13px}
.cp-cleaner-assignment label[hidden]{display:none!important}
@media(max-width:600px){.cp-tabs button{padding:10px 8px;flex:1;white-space:nowrap}.cp-cleaner-assignment{grid-template-columns:minmax(0,1fr);gap:8px}.cp-cleaner-list article{padding:16px}.cp-cleaner-editor .cp-form-grid{grid-template-columns:minmax(0,1fr)}}

@media(max-width:1100px){.cp-property-list colgroup{display:none}}

.cp-statement-download{display:inline-flex;align-items:center;justify-content:center;min-height:42px;max-width:100%;padding:8px 4px;font-size:14px;white-space:normal;text-align:center}.cp-workflow #cpConfirmUplisting{white-space:normal;line-height:1.4}.cp-statement-download:hover:not(:disabled){color:#695700}.cp-statement-download:focus-visible{outline:2px solid #b99a20;outline-offset:3px}.cp-statement-download:disabled{cursor:not-allowed;opacity:.55}

/* One task at a time; progress reflects saved records, never navigation. */
.cp-flow{margin:16px 0 24px}.cp-flow-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;color:#667085;font-size:14px}.cp-flow-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%}.cp-flow-step{position:relative;display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;min-height:74px;padding:0 6px 8px;border:0;background:transparent;color:#69717e;font:inherit;font-size:13px;line-height:1.35;text-align:center;cursor:pointer}.cp-flow-step:before{content:'';position:absolute;top:16px;left:-50%;width:100%;height:2px;background:#e2e5e9}.cp-flow-step:first-child:before{display:none}.cp-flow-step.is-complete+.cp-flow-step:before{background:#8eb99b}.cp-flow-marker{position:relative;z-index:1;display:grid;place-items:center;width:34px;height:34px;border:2px solid #d8dde4;border-radius:50%;background:#fff;font-weight:500}.cp-flow-step.is-complete .cp-flow-marker{background:#eaf4ed;border-color:#8eb99b;color:#326746}.cp-flow-step.is-current .cp-flow-marker{background:#ffe89b;border-color:#e4c35b;color:#2e3137}.cp-flow-step.is-current{color:#202731;font-weight:500}.cp-flow-step:disabled{cursor:default}.cp-flow-step:disabled:not(.is-current):not(.is-complete){color:#9097a1}.cp-flow-step:hover:not(:disabled) .cp-flow-title{text-decoration:underline}.cp-flow-step:focus-visible{outline:2px solid #b99a20;outline-offset:2px;border-radius:6px}.cp-flow-short{display:none}.cp-flow-screen{min-width:0;min-height:200px}.cp-flow-screen>h2{margin:0 0 16px;font-size:20px;font-weight:600;scroll-margin-top:96px;outline:none}.cp-flow-screen .cp-inbox{margin-top:0}.cp-import-files{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:8px 0 20px}.cp-import-files>span{font-size:14px;color:#69717e}.cp-stage-card{border:1px solid #e2e5e9;background:white;border-radius:12px;padding:20px;max-width:900px}.cp-stage-card>p{margin:0 0 20px;line-height:1.6}.cp-stage-card .cp-actions{flex-wrap:wrap}.cp-stage-card .cp-actions>*{white-space:normal;min-height:44px}.cp-payment-total{display:flex;flex-direction:column;gap:6px}.cp-payment-total strong{font-size:28px;font-weight:550}.cp-payment-total small{color:#69717e;font-size:13px}.cp-review-toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}.cp-review-rules{padding:14px 16px;border:1px solid #e2e5e9;background:#fafbfc;border-radius:8px;margin-bottom:20px;font-size:14px;line-height:1.6}.cp-review-rules summary{cursor:pointer;font-weight:500;min-height:24px}.cp-review-rules ul{padding-left:20px}.cp-review-rules p{color:#69717e;margin-bottom:0}.cp-flow-footer{position:sticky;bottom:0;z-index:8;display:flex;align-items:center;gap:16px;background:#fff;border-top:1px solid #e2e5e9;padding:14px 0 max(14px,env(safe-area-inset-bottom));margin-top:24px}.cp-flow-footer>button{min-height:44px;flex-shrink:0}.cp-flow-hint{flex:1;color:#69717e;font-size:13px;line-height:1.45}.cp-title p:empty{display:none}.cp-review-rules summary:focus-visible{outline:2px solid #b99a20;outline-offset:3px}
@media(max-width:600px){.cp-flow{margin-bottom:20px}.cp-flow-title{display:none}.cp-flow-short{display:block}.cp-flow-step{font-size:11px;padding:0 2px 6px;min-height:65px}.cp-flow-caption{font-size:13px}.cp-stage-card{padding:16px}.cp-stage-card .cp-actions{display:grid;grid-template-columns:1fr}.cp-flow-footer{gap:10px;flex-wrap:wrap}.cp-flow-footer>button{flex:1;padding:10px 12px;font-size:14px}.cp-flow-hint:not(:empty){order:-1;flex-basis:100%}.cp-flow-hint:empty{display:none}.cp-review-toolbar>button{flex:1;white-space:normal}.cp-flow-screen>h2{font-size:19px}.cp-stage-card .cp-quickbooks{align-items:stretch;flex-direction:column}.cp-deduction input{font-size:16px}}
.cp-flow{scroll-margin-top:80px}.cp-page .cp-flow-step:disabled{opacity:1}.cp-flow-step:disabled:not(.is-current):not(.is-complete){color:#707987}.cp-flow-step.is-complete:disabled{color:#5e6b62}

/* Cleaner assignment stays above the list without moving its scroll position. */
.cp-property-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #d9dee5;border-radius:16px;background:#fff;color:#222c39;box-shadow:0 24px 70px #11182740;overscroll-behavior:contain;overflow:auto}
.cp-property-dialog::backdrop{background:rgba(15,23,42,.45)}
.cp-property-dialog .cp-property-editor{border:0;margin:0;padding:24px;background:#fff}
.cp-property-dialog .cp-property-editor>header{align-items:center;gap:16px}
.cp-property-dialog h2{font-size:20px;font-weight:600;line-height:1.4}
.cp-property-dialog .cp-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.cp-property-dialog input,.cp-property-dialog select,.cp-property-dialog textarea{box-sizing:border-box;max-width:100%;min-width:0;font-size:16px}
.cp-property-dialog button{min-height:40px;font-weight:500}
.cp-property-dialog :focus-visible{outline:2px solid #657b9a;outline-offset:2px}
.cp-property-feedback{padding:0 24px 20px;font-size:14px;color:#596579}
.cp-property-feedback:empty{display:none}.cp-property-feedback.error{color:#a33131}
@media(max-width:600px){.cp-property-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.cp-property-dialog .cp-property-editor{padding:16px}.cp-property-dialog .cp-form-grid{grid-template-columns:1fr}.cp-property-dialog .cp-property-editor>header{align-items:flex-start}.cp-property-dialog h2{font-size:18px}.cp-property-dialog [type=submit]{width:100%}.cp-property-feedback{padding:0 16px 16px}}

.cp-property-dialog .cp-form-grid>label{align-content:start}
.cp-property-dialog label.cp-check{display:flex;align-items:center;gap:9px;line-height:1.5}
.cp-property-dialog label{font-size:14px}.cp-property-dialog small{font-size:12px}
.cp-property-dialog input:not([type=checkbox]),.cp-property-dialog select{height:44px}

.cp-property-dialog .cp-property-editor>header{flex-wrap:nowrap;align-items:flex-start}.cp-property-dialog #cpCancelProperty{flex-shrink:0}

/* After approval, reveal the table headings and the remaining review rows. */
#cpInvoiceTable{scroll-margin-top:12px}

/* Review actions are immediately beside the review heading. */
.cp-review>header>div.cp-review-header-actions{flex:0 1 auto;max-width:100%;gap:8px}
.cp-review>header .cp-review-header-actions button{min-height:40px;white-space:nowrap}
.cp-review>header .cp-review-header-actions .primary-btn{min-width:0;flex-basis:auto!important}
.cp-bank-mismatch{background:#fff1f0;border:1px solid #d69a96;border-left:4px solid #b8473e;border-radius:6px;padding:14px;margin-bottom:16px;color:#80342e;font-size:14px;line-height:1.45}
.cp-bank-mismatch h3{margin:0 0 6px;font-size:15px;font-weight:550}.cp-bank-mismatch p{margin:0 0 10px}
.cp-bank-mismatch table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}
.cp-review .cp-bank-mismatch th,.cp-review .cp-bank-mismatch td{padding:6px 4px;border:0;background:transparent;color:inherit;font-weight:400;white-space:normal;overflow-wrap:anywhere;text-align:left}
.cp-bank-mismatch td{font-variant-numeric:tabular-nums}
.cp-accounting-notes>summary{display:flex;align-items:center;min-height:40px;width:fit-content;padding:0 10px;border:1px solid #d9dfe5;border-radius:6px;cursor:pointer;color:#586577;font-size:14px;list-style:none}
.cp-accounting-notes>summary::-webkit-details-marker{display:none}.cp-accounting-notes>summary:before{content:'+';margin-right:8px}.cp-accounting-notes[open]>summary:before{content:'−'}.cp-accounting-notes>summary:hover{background:#f5f6f8}.cp-accounting-notes>summary:focus-visible{outline:2px solid #a88600;outline-offset:2px}
.cp-review-form .cp-accounting-notes>label{margin-top:12px}.cp-review-form .cp-accounting-notes textarea{min-height:90px;font-size:16px}
@media(max-width:600px){.cp-review>header{gap:12px}.cp-review>header>div.cp-review-header-actions{width:100%;justify-content:space-between}.cp-review-header-actions .primary-btn{flex:1}.cp-bank-mismatch{padding:12px}}

.cp-replacement,.cp-correction-help,.cp-invoice-history{margin:12px 0;padding:16px;border:1px solid #d8dde3;border-radius:8px;background:#fff;min-width:0}
.cp-replacement h3{font-size:16px;font-weight:600;margin:0 0 8px}.cp-replacement p,.cp-invoice-history p,.cp-correction-help p{font-size:14px;margin:0 0 12px}
.cp-replacement fieldset{border:0;padding:0;margin:0;display:grid;gap:12px;min-width:0}.cp-replacement label{display:grid;gap:6px;font-size:14px;font-weight:500;min-width:0}.cp-replacement input:not([type=checkbox]){box-sizing:border-box;width:100%;min-width:0;font:inherit;padding:10px;border:1px solid #cbd1d9;border-radius:6px}.cp-replacement input[type=file]{overflow:hidden}.cp-replacement .cp-check{display:flex;align-items:flex-start;font-weight:400}.cp-replacement small{overflow-wrap:anywhere}
.cp-invoice-history summary{cursor:pointer;font-size:14px;font-weight:500}.cp-invoice-history[open]>summary{margin-bottom:12px}.cp-invoice-history article{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 0;border-top:1px solid #e4e7eb}.cp-invoice-history article>div{min-width:0;overflow-wrap:anywhere}.cp-invoice-history strong{font-weight:500}.cp-invoice-history small{display:block;color:#5d6876;margin-top:4px}.cp-invoice-history article p{margin:6px 0 0}
@media(max-width:600px){.cp-replacement,.cp-correction-help,.cp-invoice-history{padding:12px}.cp-replacement input:not([type=checkbox]){font-size:16px}.cp-invoice-history article{align-items:stretch;flex-direction:column}.cp-replacement .cp-actions{display:grid;grid-template-columns:1fr 1fr}.cp-review-header-actions{flex-wrap:wrap}}
.cp-inbox [hidden]{display:none!important}
.cp-replacement-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cp-replacement-options [aria-pressed=true]{border-color:#8c7834;background:#fff8dc}
.cp-replacement-search{min-width:0}.cp-replacement-search-controls{display:flex;align-items:flex-end;gap:12px;margin:12px 0}.cp-replacement-search-controls label{flex:1;max-width:260px}.cp-replacement-search-controls button{min-height:44px}
.cp-replacement-candidates{max-height:340px;overflow:auto}.cp-replacement-candidates article{display:flex;gap:12px;align-items:center;justify-content:space-between;border:1px solid #dce0e5;border-radius:6px;padding:12px;margin-top:8px}.cp-replacement-candidates article.is-selected{background:#fff9e2;border-color:#b4a570}.cp-replacement-candidates article>div{min-width:0;overflow-wrap:anywhere}.cp-replacement-candidates strong,.cp-replacement-selected strong{font-size:14px;font-weight:500}.cp-replacement-candidates small{display:block;color:#66717d;margin-top:5px}.cp-replacement-candidates p{margin:5px 0 0}.cp-replacement-candidates button{flex-shrink:0}.cp-replacement-candidates .cp-match-hints{color:#596947}
.cp-replacement-selected{margin-top:16px;padding:12px;border:1px solid #dce0e5;border-radius:6px;overflow-wrap:anywhere}.cp-replacement-preview{max-height:480px;overflow:auto;margin-top:12px}.cp-replacement-preview img{display:block;width:100%;height:auto;margin-bottom:8px}.cp-replacement-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.5 inherit}.cp-replacement-error{color:#922f2f}
@media(max-width:600px){.cp-replacement-search-controls{flex-wrap:wrap}.cp-replacement-search-controls label{max-width:none}.cp-replacement-candidates article{flex-direction:column;align-items:stretch}.cp-replacement-options button{min-height:44px}.cp-replacement-search-controls input[type=date]{height:44px;max-width:100%;min-width:0}}

.cp-replacement .cp-receipt-filter{margin:12px 0;min-height:40px}.cp-receipt-filter small{display:block;font-weight:400;color:#66717d;margin-top:3px}

/* Approval issues must be visible beside the action, never low-contrast notes. */
.cp-approval-blockers{margin:12px 20px;padding:14px 16px;border:1px solid #d9a29a;border-left:4px solid #a8473a;border-radius:8px;background:#fff1ee;color:#87352b;font-size:14px;line-height:1.55;overflow-wrap:anywhere}.cp-approval-blockers h3{font-size:15px;font-weight:550;margin:0 0 6px}.cp-approval-blockers ul{margin:0;padding-left:18px}.cp-approval-blockers li+li{margin-top:5px}.cp-review-warnings{padding:12px 14px;list-style:none;border:1px solid #d9a29a;border-radius:8px;background:#fff1ee;color:#87352b;font-size:13px}.cp-review-warnings li+li{margin-top:7px}

/* The expanded review belongs to its property card, with shared white surfaces. */
.cp-expanded-row .cp-review,.cp-expanded-row .cp-review>header,.cp-review-columns,.cp-review-workspace{background:#fff}
.cp-expanded-row .cp-review{border-top:0}
.cp-review>header{border-bottom:0}
.cp-property-list .cp-row-open{background:#fff}
.cp-paid-action{padding:4px 20px 12px}
.cp-paid-action button{min-height:40px;white-space:normal;max-width:100%}
.cp-review .cp-flags.cp-review-warnings{padding:14px 16px;color:#87352b;gap:8px}
.cp-review fieldset:disabled .cp-key-details{background:#f7f8f9;border-color:#e1e6ea}
.cp-review fieldset:disabled input,.cp-review fieldset:disabled select{opacity:1;color:#39434d;-webkit-text-fill-color:#39434d}
.cp-property-list th{white-space:normal;line-height:1.35}
.cp-property-list .cp-column-sort{white-space:normal}
@media(min-width:1101px){
 .cp-property-list .cp-col-property{width:18%}.cp-property-list .cp-col-cleaner{width:13%}.cp-property-list .cp-col-invoices{width:6%}.cp-property-list .cp-col-cleans{width:7%}.cp-property-list .cp-col-amount,.cp-property-list .cp-col-landlord,.cp-property-list .cp-col-absorbed{width:10%}.cp-property-list .cp-col-status{width:14%}.cp-property-list .cp-col-actions{width:12%}
 .cp-property-list td,.cp-property-list th{padding:12px 8px}.cp-property-list .cp-property-actions>div{flex-wrap:wrap}.cp-property-list .cp-property-actions button{white-space:normal;height:auto}
}
@media(max-width:1100px){
 .cp-property-list tr[data-cp-row]{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px 10px}
 .cp-property-list tr[data-cp-row]>td{grid-column:span 3}
 .cp-property-list tr[data-cp-row]>td[data-label="Property"],.cp-property-list tr[data-cp-row]>td[data-label="Cleaner"],.cp-property-list tr[data-cp-row]>td[data-label="Status"],.cp-property-list tr[data-cp-row]>td.cp-property-actions{grid-column:1/-1}
 .cp-property-list tr[data-cp-row]>td[data-label="Pay cleaner"],.cp-property-list tr[data-cp-row]>td[data-label="Charge landlord"],.cp-property-list tr[data-cp-row]>td[data-label="SPGM absorbs"]{grid-column:span 2;padding:10px 0;border-top:1px solid #eceee5}
 .cp-property-list td[data-label]::before{white-space:normal;font-size:12px;line-height:1.4;min-height:17px}
 .cp-property-list .cp-number{font-size:15px}
 .cp-property-list tr.cp-row-open{padding-bottom:12px;border-bottom:0}
 .cp-paid-action{padding:4px 16px 12px}.cp-expanded-row .cp-review>header{padding:12px 16px}
}

.outreach-page-title{align-items:flex-start}.outreach-loading{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;border:1px solid var(--cc-border);background:var(--cc-surface);padding:22px}.outreach-workspace{display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);gap:18px;align-items:start}.outreach-compose-card,.outreach-preview-card,.outreach-history-card{border:1px solid var(--cc-border);border-radius:var(--cc-radius);background:var(--cc-surface);box-shadow:0 5px 18px rgba(45,43,34,.055)}.outreach-compose-card,.outreach-preview-card{padding:20px}.outreach-compose-card header,.outreach-preview-card header,.outreach-history-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.outreach-compose-card header>div,.outreach-preview-card header>div{display:flex;align-items:flex-start;gap:11px}.outreach-compose-card header>div>span,.outreach-preview-card header>div>span{display:grid;width:28px;height:28px;flex:0 0 28px;place-items:center;background:#ffca00;color:#26230e;font-weight:800}.outreach-compose-card h2,.outreach-preview-card h2,.outreach-history-card h2{margin:0;color:#292b27;font-size:18px}.outreach-compose-card header p,.outreach-preview-card header p,.outreach-history-card header p{margin:4px 0 0;color:#74766f;font-size:11px}.outreach-compose-card label,.outreach-preview-card label,.outreach-history-card label{display:grid;gap:7px;color:#3f403b;font-size:11px;font-weight:550}.outreach-compose-card>label,.outreach-compose-card>fieldset{margin-top:15px}.outreach-two-column{display:grid;grid-template-columns:1fr 1fr;gap:12px}.outreach-compose-card fieldset{min-width:0;margin-inline:0;border:0;padding:0}.outreach-compose-card legend{margin-bottom:7px;color:#3f403b;font-size:11px;font-weight:550}.outreach-recipient-list{display:grid;gap:8px}.outreach-recipient-row{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:8px}.outreach-recipient-row .icon-btn{width:40px;height:40px;color:#9b3a33}.outreach-recipient-row .icon-btn:disabled{visibility:hidden}.outreach-compose-card fieldset>.text-btn{width:auto;padding:7px 0}.outreach-preview-card textarea{min-height:540px;resize:vertical;font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.outreach-send-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;border-top:1px solid var(--cc-border);padding-top:15px}.outreach-send-bar>div{display:grid;gap:3px}.outreach-send-bar b{font-size:11px}.outreach-send-bar small{color:#74766f;font-size:10px}.outreach-send-bar .primary-btn{min-width:145px}.outreach-duplicate-warning{display:grid;gap:4px;margin-top:14px;border-left:4px solid #c28b13;background:#fff8dd;padding:11px 13px;color:#705600}.outreach-duplicate-warning b{font-size:11px}.outreach-duplicate-warning span{font-size:10px;line-height:1.45}.outreach-history-card{margin-top:18px;padding:20px}.outreach-history-card>header label{width:min(320px,100%)}.outreach-history-count{margin-bottom:9px;color:#77786f;font-size:10px}.outreach-history-list{display:grid;gap:8px}.outreach-history-row{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #e2dfd4;background:#faf9f5;padding:13px 14px}.outreach-history-row>div{display:grid;gap:4px;min-width:0}.outreach-history-row>div:last-child{justify-items:end;text-align:right}.outreach-history-row strong{font-size:13px}.outreach-history-row span,.outreach-history-row small,.outreach-history-row time{overflow-wrap:anywhere;color:#696b65;font-size:10px}.outreach-status{display:inline-block!important;width:max-content;border-radius:var(--cc-radius-small);padding:4px 7px!important;font-weight:700}.outreach-status.status-sent{background:#e4f5e9;color:#26633a}.outreach-status.status-failed{background:#ffebe6;color:#9b3a33}.outreach-status.status-unknown{background:#fff2ce;color:#805b00}.outreach-history-empty{grid-column:1/-1}.outreach-history-row[hidden]{display:none}
@media(max-width:960px){.outreach-workspace{grid-template-columns:1fr}.outreach-preview-card textarea{min-height:440px}}
@media(max-width:680px){.outreach-page-title{align-items:stretch;flex-direction:column}.outreach-page-title .secondary-btn{width:100%}.outreach-loading{grid-template-columns:auto 1fr}.outreach-loading button{grid-column:1/-1}.outreach-two-column{grid-template-columns:1fr}.outreach-compose-card,.outreach-preview-card,.outreach-history-card{padding:16px}.outreach-history-card>header,.outreach-history-row{align-items:stretch;flex-direction:column}.outreach-history-card>header label{width:100%}.outreach-history-row>div:last-child{justify-items:start;text-align:left}.outreach-send-bar{align-items:stretch;flex-direction:column}.outreach-send-bar .primary-btn{width:100%}.outreach-preview-card textarea{min-height:500px}}

.outreach-title-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.contractor-outreach-settings{grid-column:1/-1}.contractor-outreach-settings textarea{min-height:520px;resize:vertical;font:12px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.outreach-send-actions{display:flex;align-items:center;gap:16px}.outreach-schedule-panel{display:flex;align-items:flex-end;justify-content:flex-end;gap:12px;margin-top:12px;border:1px solid #e1d9b4;background:#fffdf3;padding:12px}.outreach-schedule-panel label{width:min(280px,100%)}.outreach-schedule-panel>div{display:flex;align-items:center;gap:8px}.outreach-status.status-scheduled{background:#fff3c4;color:#705900}.outreach-status.status-cancelled{background:#eceef1;color:#687282}
@media(max-width:680px){.outreach-title-actions{display:grid;grid-template-columns:1fr}.outreach-send-actions,.outreach-schedule-panel{align-items:stretch;flex-direction:column}.outreach-send-actions button,.outreach-schedule-panel button,.outreach-schedule-panel label{width:100%}.outreach-schedule-panel>div{display:grid;grid-template-columns:1fr 1fr}}

.outreach-campaign-page{display:grid;gap:18px}.outreach-module-tabs{display:flex;gap:4px;border-bottom:1px solid var(--cc-border);overflow-x:auto}.outreach-module-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;padding:11px 14px;color:#687282;font-weight:500;cursor:pointer;white-space:nowrap}.outreach-module-tabs button.active{border-bottom-color:#c5a900;background:#fffdf3;color:#6f5d00;font-weight:600}.campaign-loading-card{display:flex;align-items:center;gap:12px;border:1px solid var(--cc-border);background:var(--cc-surface);padding:22px}.campaign-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.campaign-metrics.compact{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:0}.campaign-metrics>div{border:1px solid var(--cc-border);background:var(--cc-surface);padding:16px}.campaign-metrics span{display:block;color:#6c7787;font-size:12px}.campaign-metrics strong{display:block;margin-top:7px;font-size:28px}.campaign-card-grid,.outreach-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.campaign-card{display:grid;gap:10px;border:1px solid var(--cc-border);background:var(--cc-surface);padding:17px;text-align:left;color:inherit;cursor:pointer}.campaign-card:hover{border-color:#c6ae20;box-shadow:0 8px 22px #17223810}.campaign-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.campaign-card h2{margin:0;font-size:18px}.campaign-card p{min-height:38px;margin:0;color:#6c7787;font-size:13px}.campaign-card dl{display:grid;grid-template-columns:repeat(4,1fr);margin:4px 0 0;border-top:1px solid var(--cc-border);padding-top:11px}.campaign-card dl div{display:grid;gap:3px}.campaign-card dt{color:#778191;font-size:10px}.campaign-card dd{margin:0;font-weight:800}.campaign-status{display:inline-flex;width:max-content;border-radius:999px;background:#eceff3;color:#596579;padding:4px 8px;font-size:11px;font-style:normal;font-weight:400}.campaign-status.status-active,.campaign-status.status-sent,.campaign-status.status-completed,.campaign-status.status-replied{background:#e2f3e7;color:#28633b}.campaign-status.status-failed,.campaign-status.status-suppressed,.campaign-status.status-unsubscribed{background:#f6dfdc;color:#8d3028}.campaign-status.status-scheduled,.campaign-status.status-needs_review{background:#fff1c2;color:#6d5700}.campaign-section-heading,.campaign-detail-heading,.campaign-detail-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.campaign-section-heading h2,.campaign-detail-heading h2,.campaign-detail-panel h3{margin:0}.campaign-section-heading p,.campaign-detail-heading p,.campaign-detail-panel header p{margin:5px 0 0;color:#6b7584}.outreach-template-card{display:grid;gap:9px;border:1px solid var(--cc-border);background:var(--cc-surface);padding:17px}.outreach-template-card.is-archived{opacity:.67}.outreach-template-card>div:first-child{display:flex;align-items:center;gap:7px}.template-step{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#756300}.outreach-template-card em{border-radius:999px;background:#fff1bd;padding:3px 7px;font-size:10px;font-style:normal}.outreach-template-card h2{margin:0;font-size:17px}.outreach-template-card p{min-height:36px;margin:0;color:#667180;font-size:12px}.outreach-template-card small{color:#7b8491}.template-actions{display:flex;flex-wrap:wrap;gap:7px;border-top:1px solid var(--cc-border);padding-top:11px}.template-editor-layout,.campaign-create-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:16px;align-items:start}.campaign-form-card,.template-preview,.campaign-sequence-card,.campaign-detail-panel{border:1px solid var(--cc-border);background:var(--cc-surface);padding:18px}.campaign-form-card,.campaign-sequence-card{display:grid;gap:14px}.campaign-form-card h3,.campaign-sequence-card h3{margin:3px 0}.campaign-form-card label,.campaign-sequence-card label{display:grid;gap:6px;color:#414b5a;font-size:12px;font-weight:700}.campaign-form-card input,.campaign-form-card select,.campaign-form-card textarea,.campaign-sequence-card input,.campaign-sequence-card select,.campaign-sequence-card textarea{width:100%}.campaign-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.campaign-options{display:flex;gap:18px;border:0;padding:0}.campaign-options label{display:flex;align-items:center;grid-template-columns:auto 1fr}.campaign-options input{width:auto}.campaign-form-actions{display:flex;justify-content:flex-end;gap:9px}.template-preview{position:sticky;top:20px}.template-preview h3{margin:0 0 14px}.template-preview>div{margin-top:12px;line-height:1.55}.campaign-file-control{border:1px dashed var(--cc-border);padding:12px}.campaign-import-review{display:grid;gap:4px;border-left:4px solid #d0b611;background:#fff9df;padding:11px 13px;font-size:12px}.campaign-sequence-step{border:1px solid var(--cc-border);background:#fafafa}.campaign-sequence-step summary{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;cursor:pointer}.campaign-sequence-step summary>span{display:grid;width:28px;height:28px;place-items:center;background:#ffca00;font-weight:900}.campaign-sequence-step summary div{display:grid}.campaign-sequence-step summary small{color:#747e8b}.campaign-sequence-step summary label{display:flex;align-items:center}.campaign-sequence-step summary input{width:auto}.campaign-sequence-step>div{display:grid;grid-template-columns:1fr 150px;gap:11px;border-top:1px solid var(--cc-border);padding:13px}.campaign-sequence-step>div label:nth-last-of-type(-n+2){grid-column:1/-1}.campaign-sequence-step textarea{resize:vertical}.campaign-detail-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.campaign-detail-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.campaign-detail-heading>[data-campaign-back],.campaign-detail-actions>.primary-btn,.campaign-detail-actions>.secondary-btn,.campaign-more-menu>summary{box-sizing:border-box;height:34px;min-height:34px;padding:9px 13px;font-size:11px;line-height:1}.campaign-more-menu{position:relative}.campaign-more-menu>summary{display:inline-flex;align-items:center;justify-content:center;min-width:38px;border:1px solid #ccd5e3;border-radius:10px;background:#fff;color:#26364f;cursor:pointer;list-style:none;font-weight:600}.campaign-more-menu>summary::-webkit-details-marker{display:none}.campaign-more-menu>div{position:absolute;top:calc(100% + 7px);right:0;z-index:12;display:grid;min-width:190px;overflow:hidden;border:1px solid var(--cc-border);border-radius:10px;background:#fff;padding:6px;box-shadow:0 12px 28px rgba(17,29,48,.16)}.campaign-more-menu:not([open])>div{display:none}.campaign-more-menu>div button{border:0;border-radius:7px;background:transparent;padding:10px 11px;text-align:left;font:inherit;font-size:12px;cursor:pointer}.campaign-more-menu>div button:hover{background:#fff1ef}.campaign-menu-danger{color:#9b3029}.campaign-detail-panel{display:grid;gap:14px}.campaign-table-list,.campaign-message-list{display:grid;gap:8px}.campaign-table-list article{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--cc-border);background:#fafafa;padding:12px}.campaign-table-list article>div{display:grid;gap:4px;min-width:0}.campaign-table-list article>div:last-child{justify-items:end}.campaign-table-list span,.campaign-table-list small{overflow-wrap:anywhere;color:#697484;font-size:12px}.contact-row-actions{display:flex;gap:8px;flex-wrap:wrap}.contact-row-actions .danger{color:#9b3029}.campaign-message-list details{border:1px solid var(--cc-border);background:#fafafa}.campaign-message-list summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px;cursor:pointer}.campaign-message-list details>div{border-top:1px solid var(--cc-border);padding:14px}.campaign-message-list p{line-height:1.55}.suppression-form{display:grid;grid-template-columns:minmax(220px,1fr) 190px auto;gap:9px;border:1px solid var(--cc-border);background:var(--cc-surface);padding:14px}
@media(max-width:980px){.campaign-card-grid,.outreach-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-editor-layout,.campaign-create-layout{grid-template-columns:1fr}.template-preview{position:static}}
.campaign-create-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.campaign-create-progress button{display:grid;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:2px 9px;min-width:0;border:1px solid var(--cc-border);border-top:5px solid #d9dee6;background:#fff;padding:11px 12px;color:#566274;text-align:left;cursor:pointer}.campaign-create-progress button.complete{border-top-color:#278354}.campaign-create-progress button.current{border-top-color:#d0b611;background:#fffdf4;color:#202124}.campaign-create-progress button:disabled{cursor:not-allowed;opacity:.65}.campaign-create-progress button>span{display:grid;grid-row:1/3;width:28px;height:28px;place-items:center;border-radius:50%;background:#edf0f4;font-size:12px;font-weight:800}.campaign-create-progress button.complete>span{background:#e2f3e7;color:#28633b}.campaign-create-progress button.current>span{background:#ffca00;color:#202124}.campaign-create-progress b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.campaign-create-progress small{color:#788394;font-size:10px}.campaign-wizard-card,.campaign-sequence-full{width:100%}.campaign-wizard-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;border-top:1px solid var(--cc-border);padding-top:16px}.campaign-wizard-actions button{min-width:190px}.campaign-import-results{display:grid;gap:10px}.campaign-import-summary{display:grid;gap:4px;border-left:4px solid #278354;background:#eef8f1;padding:11px 13px;font-size:12px}.campaign-import-summary span{color:#556273}.campaign-import-table-wrap{max-width:100%;overflow:auto;border:1px solid var(--cc-border)}.campaign-import-table-wrap table{width:100%;min-width:760px;border-collapse:collapse;background:#fff}.campaign-import-table-wrap th,.campaign-import-table-wrap td{border-bottom:1px solid var(--cc-border);padding:10px 12px;text-align:left;vertical-align:top;font-size:12px;line-height:1.45}.campaign-import-table-wrap th{position:sticky;top:0;background:#f4f6f8;color:#4f5a68;font-weight:600}.campaign-import-table-wrap th:nth-child(1){width:22%}.campaign-import-table-wrap th:nth-child(2){width:25%}.campaign-import-table-wrap tr:last-child td{border-bottom:0}.campaign-sequence-full{display:grid;gap:14px}.campaign-sequence-step>div{display:grid;grid-template-columns:1fr;gap:11px}.campaign-sequence-settings{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(180px,.9fr) minmax(150px,.7fr);gap:11px;align-items:end}.campaign-template-reference{display:grid;gap:6px;align-content:start}.campaign-template-reference span{color:#414b5a;font-size:12px;font-weight:500}.campaign-template-reference b{display:flex;align-items:center;min-height:42px;border:1px solid var(--cc-border);background:#f3f5f8;padding:11px 12px;font-size:13px;font-weight:600}.campaign-sequence-step label{font-weight:500}.campaign-sequence-step summary div>b{font-weight:600}.campaign-reset-template{justify-self:start;padding-left:0!important;text-align:left}.campaign-sequence-full .campaign-wizard-actions{grid-column:1/-1}
@media(max-width:680px){.outreach-campaign-page{gap:14px}.outreach-module-tabs{margin-inline:-15px;padding-inline:8px}.campaign-metrics,.campaign-metrics.compact{grid-template-columns:1fr 1fr}.campaign-metrics>div{padding:12px}.campaign-metrics strong{font-size:23px}.campaign-card-grid,.outreach-template-grid{grid-template-columns:1fr}.campaign-section-heading,.campaign-detail-panel>header{align-items:stretch;flex-direction:column}.campaign-detail-heading{grid-template-columns:1fr}.campaign-detail-actions{display:grid;grid-template-columns:1fr 1fr}.campaign-detail-heading>[data-campaign-back],.campaign-detail-actions>.primary-btn,.campaign-detail-actions>.secondary-btn,.campaign-more-menu>summary{width:100%;height:40px;min-height:40px}.campaign-more-menu>div{right:0;left:auto}.campaign-form-grid{grid-template-columns:1fr}.campaign-options{align-items:flex-start;flex-direction:column}.campaign-form-actions{display:grid;grid-template-columns:1fr 1fr}.campaign-sequence-step summary{grid-template-columns:30px minmax(0,1fr)}.campaign-sequence-step summary>label{grid-column:2}.campaign-sequence-step>div{grid-template-columns:1fr}.campaign-sequence-step>div label{grid-column:1!important}.campaign-table-list article{align-items:stretch;flex-direction:column}.campaign-table-list article>div:last-child{justify-items:start}.contact-row-actions{display:grid;grid-template-columns:repeat(2,1fr)}.campaign-message-list summary{grid-template-columns:1fr auto}.campaign-message-list summary time{grid-column:1/-1}.suppression-form{grid-template-columns:1fr}.template-actions{display:grid;grid-template-columns:1fr 1fr}.template-actions button{width:100%}}
@media(max-width:680px){.campaign-create-progress{grid-template-columns:1fr}.campaign-create-progress button{padding:9px}.campaign-create-progress b{font-size:12px}.campaign-sequence-settings{grid-template-columns:1fr}.campaign-wizard-actions{display:grid;grid-template-columns:1fr}.campaign-wizard-actions>span{display:none}.campaign-wizard-actions button{width:100%;min-width:0}.campaign-wizard-actions .secondary-btn{order:2}}

/* Campaign types and editable sequences use normal-weight labels. */
.campaign-group-picker{display:grid;gap:6px;max-width:380px;font-size:14px;font-weight:400}.campaign-group-picker select{width:100%}.campaign-add-email{display:flex;align-items:end;gap:12px}.campaign-add-email label{flex:1;min-width:0}.campaign-add-email button{min-height:42px;white-space:nowrap}.campaign-sequence-actions{display:flex;justify-content:space-between;gap:12px}.campaign-form-card small{font-weight:400;line-height:1.5}.outreach-campaign-page .outreach-module-tabs button,.outreach-campaign-page .campaign-form-card label,.outreach-campaign-page .template-step{font-weight:500}.outreach-campaign-page .campaign-form-card label small{font-weight:400}.campaign-sequence-actions button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:640px){.campaign-add-email{align-items:stretch;flex-direction:column}.campaign-section-heading{flex-wrap:wrap}.campaign-group-picker{max-width:none}.template-editor-layout{grid-template-columns:1fr}.template-preview{position:static}.campaign-sequence-actions{flex-wrap:wrap}}

/* Help text must not stretch adjacent controls. */
.campaign-form-grid{align-items:start}.campaign-form-grid>label{align-content:start}.campaign-form-grid>label>input,.campaign-form-grid>label>select{box-sizing:border-box;min-height:42px;margin:0}.campaign-sender-field{grid-column:1/-1}

.campaign-open-status{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-weight:400}.campaign-open-status small{font-size:13px;color:#697484}.campaign-status.status-opened{background:#e2f3e7;color:#28633b;font-weight:400}.campaign-detail-panel header .campaign-tracking-help{font-size:13px;font-weight:400}

/* Keep campaign titles aligned with the surrounding actions. */
.campaign-detail-heading{align-items:start}.campaign-detail-copy{min-width:0}.campaign-detail-title{display:flex;align-items:center;gap:9px;min-height:34px}.campaign-detail-title h2{min-width:0}

.campaign-retry-menu>summary{font-weight:500;font-size:14px;white-space:nowrap}.campaign-retry-menu>div{width:min(300px,calc(100vw - 40px));padding:8px}.campaign-retry-menu small{display:block;padding:8px;line-height:1.5;font-size:12px;color:#64748b}.campaign-retry-menu button{font-weight:500;min-height:40px;width:100%;text-align:left}

.campaign-contacts-collapse{display:block}.campaign-contacts-collapse>summary,.campaign-email-group>summary{cursor:pointer;min-height:40px;align-content:center;font-size:16px;font-weight:500;overflow-wrap:anywhere}.campaign-contacts-collapse>summary small,.campaign-email-group>summary small{margin-left:12px;color:#697484;font-size:13px;font-weight:400}.campaign-contacts-collapse[open]>.campaign-table-list{margin-top:16px}.campaign-email-groups{display:grid;gap:12px}.campaign-email-group{border:1px solid var(--cc-border);background:#fff;min-width:0}.campaign-email-group>summary{padding:12px 16px}.campaign-email-group>.campaign-message-list{padding:12px;border-top:1px solid var(--cc-border)}.campaign-email-group:not([open])>.campaign-message-list,.campaign-contacts-collapse:not([open])>.campaign-table-list{display:none}.campaign-email-group summary:focus-visible,.campaign-contacts-collapse>summary:focus-visible{outline:2px solid #9b8300;outline-offset:3px}.campaign-message-list summary>span{overflow-wrap:anywhere;min-width:0}

.campaign-section-loading{display:grid;place-items:center;min-height:320px;width:100%}.campaign-section-loading .loader{margin:0;width:32px;height:32px}.campaign-contact-search{display:grid;gap:8px;margin-top:16px}.campaign-contact-search label{font-size:14px;font-weight:500}.campaign-contact-search input{width:100%;min-height:40px}.campaign-contact-search small{font-size:13px;color:#697484}.campaign-table-list article[hidden],.campaign-contacts-collapse:not([open])>.campaign-contact-search{display:none}

.campaign-status.status-blocked{background:#f6dfdc;color:#8d3028}.campaign-metrics.compact{grid-template-columns:repeat(7,minmax(0,1fr))}@media(max-width:1000px){.campaign-metrics.compact{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:680px){.campaign-metrics.compact{grid-template-columns:repeat(2,minmax(0,1fr))}}

.campaign-status.status-needs_review{background:#fff1c2;color:#6d5700}
.contact-row-actions{display:flex;flex-wrap:wrap;gap:8px;max-width:100%}
.contact-row-actions .text-btn{min-height:40px;padding:8px;font-size:13px;font-weight:400;white-space:normal}
.campaign-table-list .campaign-status{max-width:100%;white-space:normal}
@media(max-width:700px){.contact-row-actions{display:flex;justify-content:flex-start}.campaign-table-list article>div{min-width:0}}
.campaign-status-filter{display:grid;gap:6px;width:min(100%,280px);font-size:14px;color:#465568}
.campaign-status-filter select{min-height:40px;width:100%;font:inherit;padding:8px 12px;border:1px solid var(--cc-border);background:#fff;color:inherit}
.campaign-contact-count{margin:0;color:#687282;font-size:13px}
.campaign-contact-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.campaign-contact-group-heading h2{font-size:16px;font-weight:500;margin:0 0 4px}
.campaign-contact-group-heading small{color:#687282}
.campaign-table-list article>div{min-width:0;overflow-wrap:anywhere}

.hotel-handover-page{display:grid;gap:18px}.handover-title{margin-bottom:0}.handover-total{border:1px solid #e1e6ee;border-radius:999px;background:#fff;padding:9px 13px;color:#596579;font-size:13px;font-weight:550}.handover-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-bottom:1px solid #dfe4ec;padding-bottom:0}.handover-tabs button{min-height:52px;border:0;border-bottom:3px solid transparent;background:transparent;padding:10px 12px;color:#657188;cursor:pointer;text-align:left}.handover-tabs button span,.handover-tabs button small{display:block}.handover-tabs button span{font-size:14px;font-weight:550}.handover-tabs button small{margin-top:4px;color:#8791a0;font-size:12px}.handover-tabs button.active{border-bottom-color:#d0b611;color:#172033}.handover-panel{border:1px solid #e1e6ee;border-radius:16px;background:#fff;padding:20px}.handover-panel>header{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #edf0f4;padding-bottom:16px}.handover-panel h2{margin:0;font-size:21px;font-weight:600}.handover-panel header p{margin:4px 0 0;color:#748095;font-size:13px}.handover-progress{width:220px;height:8px;overflow:hidden;border-radius:999px;background:#edf0f4}.handover-progress span{display:block;height:100%;border-radius:inherit;background:#d0b611;transition:width .18s ease}.handover-list{display:grid;gap:0;margin:0;padding:0;list-style:none}.handover-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;border-bottom:1px solid #edf0f4;padding:15px 2px}.handover-item label{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:11px;cursor:pointer}.handover-item input[type="checkbox"]{width:19px;height:19px;margin:1px 0 0;accent-color:#2f7d4b}.handover-item label span{color:#253047;font-size:15px;line-height:1.45}.handover-item.completed label span{color:#8992a0;text-decoration:line-through}.handover-item-actions{display:flex;gap:4px}.handover-item-actions .danger{color:#9b3029}.handover-item.busy{opacity:.66}.handover-item.editing{display:block}.handover-item.editing form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.handover-item.editing form>div{display:flex;gap:8px}.handover-item.editing input,.handover-add-form input{width:100%;min-height:42px;border:1px solid #cfd6e1;border-radius:9px;padding:9px 11px;color:#1d2738}.handover-add-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding-top:16px}.handover-loading{display:flex;align-items:center;gap:12px;border:1px solid #e1e6ee;border-radius:16px;background:#fff;padding:24px}.nav-item.nav-handover{margin-bottom:7px;border:1px solid #47556b;background:#1d2a40;color:#fff}.nav-item.nav-handover.active,.nav-item.nav-handover:hover{border-color:#d0b611;background:#27364f}
@media(max-width:720px){.hotel-handover-page{gap:14px}.handover-title{align-items:flex-start}.handover-total{white-space:nowrap}.handover-tabs{display:flex;overflow-x:auto;margin-inline:-15px;padding-inline:8px}.handover-tabs button{min-width:160px}.handover-panel{padding:15px}.handover-panel>header{align-items:flex-start;flex-direction:column;gap:12px}.handover-progress{width:100%}.handover-item{grid-template-columns:1fr;gap:8px}.handover-item-actions{padding-left:31px}.handover-item.editing form,.handover-add-form{grid-template-columns:1fr}.handover-item.editing form>div,.handover-add-form button{width:100%}.handover-item.editing form>div button{flex:1}.handover-add-form button{min-height:42px}}

.mnt-page {
  --mnt-border: #e3e5e7;
  --mnt-text: #30343b;
  --mnt-muted: #6b7280;
  color: var(--mnt-text);
  font-size: 14px;
  line-height: 1.5;
  padding: 8px 0 24px;
}
.mnt-page * {
  box-sizing: border-box;
}
.mnt-page h1 {
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}
.mnt-page h2 {
  font-size: 19px;
  font-weight: 600;
  margin: 0;
}
.mnt-page h3 {
  font-size: 15px;
  font-weight: 550;
  margin: 0 0 10px;
}
.mnt-page p {
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.mnt-page small {
  display: block;
  color: var(--mnt-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}
.mnt-header,
.mnt-section-heading,
.mnt-detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.mnt-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.mnt-button,
.mnt-page button[type='submit'] {
  font-size: 14px;
  font-weight: 500;
  min-height: 40px;
  padding: 8px 14px;
  white-space: normal;
}
.mnt-page .primary-btn {
  background: var(--swift-yellow, #ffdb48);
  color: #25272c;
  border: 1px solid #e8c642;
  box-shadow: none;
}
.mnt-page .secondary-btn:hover:not(:disabled) {
  background: #f6f6f2;
  border-color: #c9ccc5;
}
.mnt-page .secondary-btn {
  background: #fff;
  border: 1px solid #d9dde2;
  color: #414650;
  box-shadow: none;
}
.mnt-page button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.mnt-page button:focus-visible,
.mnt-page input:focus-visible,
.mnt-page select:focus-visible,
.mnt-page textarea:focus-visible,
.mnt-page summary:focus-visible {
  outline: 2px solid #b89000;
  outline-offset: 2px;
}
.mnt-connection {
  font-size: 12px;
  color: var(--mnt-muted);
  margin-top: 4px;
}
.mnt-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--mnt-border);
  margin-bottom: 20px;
}
.mnt-tabs button {
  min-height: 44px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0 !important;
  color: #69707a;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 2px;
}
.mnt-tabs button.active {
  color: #252a31;
  border-bottom-color: #e6bc19;
}
.mnt-filters {
  display: flex;
  gap: 12px;
  align-items: end;
  margin: 0 0 20px;
}
.mnt-page label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  min-width: 0;
}
.mnt-field-label {
  display: block;
  line-height: 20px;
  color: #4c514e;
}
.mnt-page input:not([type='checkbox']):not([type='file']),
.mnt-page select,
.mnt-page textarea {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid #d9dde2;
  border-radius: 9px;
  background: #fff;
  color: #30343b;
  font:
    400 14px/1.5 Inter,
    system-ui,
    sans-serif;
  padding: 10px 12px;
}
.mnt-page input::placeholder,
.mnt-page textarea::placeholder {
  color: #8a908b;
  opacity: 1;
}
.mnt-page textarea {
  resize: vertical;
  min-height: 108px;
}
.mnt-page input[type='file'] {
  font:
    400 14px/1.5 Inter,
    system-ui;
  max-width: 100%;
}
.mnt-page input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: #bf9600;
  flex-shrink: 0;
}
.mnt-search {
  flex: 1;
}
.mnt-filters > label:not(.mnt-search) {
  width: 185px;
}
.mnt-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.mnt-column {
  min-width: 0;
  padding: 12px;
  background: #f6f6f2;
  border: 1px solid var(--mnt-border);
  border-radius: 10px;
}
.mnt-column h2 {
  font-size: 14px;
  font-weight: 550;
  margin: 2px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.mnt-column h2 span {
  font-size: 12px;
  font-weight: 400;
  color: #68707b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border: 1px solid var(--mnt-border);
  border-radius: 6px;
  background: #fff;
}
.mnt-ticket {
  display: block;
  text-align: left;
  width: 100%;
  border: 1px solid #e1e4e8;
  border-radius: 10px;
  background: #fff;
  padding: 16px;
  margin-bottom: 12px;
  color: var(--mnt-text);
  cursor: pointer;
  transition: border-color 0.15s;
}
.mnt-ticket:hover {
  border-color: #c2a540;
}
.mnt-ticket.mnt-ticket-created {
  background: #fff4c9;
  border-color: #d1ae30;
}
.mnt-ticket:last-child {
  margin-bottom: 0;
}
.mnt-ticket h3 {
  font-size: 15px;
  line-height: 1.4;
  margin: 9px 0 6px;
}
.mnt-ticket p {
  font-size: 13px;
  color: #616975;
  margin: 0 0 10px;
}
.mnt-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #7a808a;
}
.mnt-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  background: #f0f2f4;
  color: #58606a;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
}
.mnt-chip.positive {
  background: #eaf3ed;
  color: #39714e;
}
.mnt-chip.guest { background: #edf3fb; color: #365b84; font-weight: 400; }
.mnt-guest-details { margin: 12px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--mnt-border); }
.mnt-guest-details dd { overflow-wrap: anywhere; }
.mnt-notification-settings { max-width: 680px; }
.mnt-notification-settings fieldset { display: grid; gap: 16px; border: 0; margin: 0; padding: 0; min-width: 0; }
.mnt-notification-settings button[type='submit'] { justify-self: start; }
.mnt-chip.urgent {
  background: #f9edeb;
  color: #a6453a;
}
.mnt-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}
.mnt-contractor-line {
  font-size: 13px;
  margin: 10px 0 4px;
  color: #414854;
}
.mnt-card-attention {
  border-top: 1px solid #f1e8c5;
  padding-top: 8px;
  margin-top: 10px;
  color: #8b6613;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mnt-column-empty {
  color: #90969f;
  font-size: 13px;
  text-align: center;
  padding: 16px 0;
}
.mnt-empty {
  padding: 32px 20px;
  color: #737b85;
  text-align: center;
  border: 1px dashed #d9dde2;
  border-radius: 10px;
  grid-column: 1/-1;
}
.mnt-closed {
  margin: 20px 0;
}
.mnt-page summary {
  cursor: pointer;
  padding: 12px 0;
  font-weight: 500;
  font-size: 14px;
  min-height: 44px;
}
.mnt-closed > summary {
  display: flex;
  gap: 10px;
  color: #616975;
}
.mnt-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mnt-panel {
  background: #fff;
  border: 1px solid var(--mnt-border);
  border-radius: 12px;
  padding: 24px;
  margin: 0 0 16px;
}
.mnt-panel > h2,
.mnt-panel > h3 {
  margin-bottom: 16px;
}
.mnt-panel details {
  border-top: 1px solid #eceef0;
  margin-top: 0;
  padding-bottom: 8px;
}
.mnt-panel details[open] > summary {
  margin-bottom: 8px;
}
.mnt-panel > form:not(.mnt-inline-form):not(.mnt-upload),
form.mnt-edit-form {
  display: grid;
  gap: 20px;
  align-content: start;
}
.mnt-panel > form > button[type='submit'],
form.mnt-edit-form > button[type='submit'] {
  justify-self: start;
}
.mnt-panel > form > .mnt-upload {
  margin-top: 0;
}
.mnt-panel details label {
  margin-bottom: 12px;
}
.mnt-panel details .mnt-form-grid label {
  margin-bottom: 0;
}
.mnt-panel details .mnt-form-grid {
  margin-bottom: 16px;
}
.mnt-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
  align-items: start;
}
.mnt-page .mnt-check {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}
.mnt-check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.mnt-edit-form {
  max-width: 860px;
  margin-top: 16px;
}
form.mnt-new-ticket {
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.mnt-form-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--mnt-border);
}
.mnt-form-body {
  display: grid;
  gap: 20px;
  padding: 24px;
}
.mnt-form-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--mnt-border);
  background: #fafaf7;
}
.mnt-form-footer button {
  min-width: 108px;
}
.mnt-required {
  color: #b64134;
}
.mnt-detail-heading {
  justify-content: flex-start;
  align-items: flex-start;
}
.mnt-detail-heading > div:first-of-type {
  flex: 1;
  min-width: 0;
}
.mnt-ticket-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
  max-width: 100%;
}
.mnt-ticket-header-actions .mnt-card-tags {
  justify-content: flex-end;
}
.mnt-detail-heading h2 {
  overflow-wrap: anywhere;
  margin: 4px 0;
}
.mnt-detail-heading p {
  color: #6c747f;
  font-size: 13px;
}
.mnt-reference {
  font-size: 12px;
  color: #7c838c;
}
.mnt-ticket-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
}
.mnt-detail-main,
.mnt-detail-side {
  min-width: 0;
}
.mnt-stacked-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mnt-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 9px 0;
  font-size: 12px;
}
.mnt-facts dt {
  color: #717985;
}
.mnt-facts dd {
  margin: 0;
  text-align: right;
}
.mnt-live-label,
.mnt-muted,
.mnt-help {
  font-size: 12px;
  color: #7a818a;
  font-weight: 400;
}
.mnt-page .mnt-help {
  font-size: 13px;
  line-height: 1.6;
}
.mnt-response-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.mnt-response {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #eceef1;
}
.mnt-response > div:first-child {
  flex: 1;
}
.mnt-response > div:nth-child(2) {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.mnt-timeline {
  max-height: 460px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-right: 8px;
}
.mnt-event {
  padding: 14px 0;
  border-bottom: 1px solid #eceef1;
}
.mnt-event:first-child {
  padding-top: 0;
}
.mnt-event > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #7b828b;
  font-size: 12px;
}
.mnt-event p {
  font-size: 14px;
  white-space: pre-wrap;
}
.mnt-event .mnt-button {
  min-height: 32px;
  padding: 4px 10px;
  font-size: 12px;
}
.mnt-error-text {
  color: #a14337 !important;
}
.mnt-alert,
.mnt-notice {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
}
.mnt-alert {
  background: #f9efed;
  color: #8f3e35;
}
.mnt-notice {
  background: #f5f2e4;
  color: #6d5f22;
}
.mnt-alert button,
.mnt-notice button {
  background: none !important;
  border: 0 !important;
}
.mnt-flow {
  border-color: #d9c576;
  scroll-margin-top: 24px;
}
.mnt-broadcast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.mnt-message-preview {
  background: #f7f8f9;
  border: 1px solid #e1e4e8;
  border-radius: 9px;
  white-space: pre-wrap;
  font:
    400 14px/1.65 Inter,
    system-ui;
  padding: 16px;
  margin: 0;
  overflow-wrap: anywhere;
}
.mnt-recipient {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  padding: 11px 0;
  align-items: center;
}
.mnt-recipient small {
  font-size: 12px;
}
.mnt-directory {
  border: 1px solid var(--mnt-border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 16px;
}
.mnt-directory-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 12px;
  gap: 16px;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #eceef1;
  background: #fff;
  padding: 16px 20px;
  color: #434b57;
  font-size: 13px;
  cursor: pointer;
}
.mnt-directory-row:hover {
  background: #fbfbf8;
}
.mnt-directory-row h3 {
  margin: 0;
  font-size: 15px;
}
.mnt-directory-row p {
  font-size: 12px;
  margin: 4px 0 0;
}
.mnt-preferred {
  color: #a38619;
  font-size: 15px;
}
.mnt-trade-picker {
  border: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.mnt-trade-picker legend {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}
.mnt-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--mnt-border);
  border-radius: 10px;
  background: #fff;
  margin: 16px 0;
  overflow: hidden;
}
.mnt-metrics > div {
  padding: 18px;
  border-right: 1px solid #eceef1;
  border-bottom: 1px solid #eceef1;
}
.mnt-metrics dt {
  font-size: 12px;
  color: #6e7783;
}
.mnt-metrics dd {
  font-size: 22px;
  font-weight: 500;
  margin: 6px 0;
}
.mnt-history-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #eceef1;
  background: #fff;
  padding: 14px 0;
  font-size: 14px;
  color: #4d5560;
}
.mnt-ratings {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mnt-upload {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.mnt-upload > label:first-child {
  flex: 1;
  min-width: 200px;
}
.mnt-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mnt-media {
  border: 1px solid #e5e8ec;
  border-radius: 9px;
  padding: 8px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mnt-media img,
.mnt-media video {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
}
.mnt-media audio {
  width: 100%;
}
.mnt-media > span {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mnt-media .mnt-button {
  font-size: 12px;
  padding: 5px 8px;
}
.mnt-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.mnt-small-spinner {
  width: 14px !important;
  height: 14px !important;
  display: inline-block !important;
  margin-right: 6px;
}
.mnt-inbox-row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding: 16px 0;
}
.mnt-inbox-row > div:last-child {
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 50%;
}
.mnt-inline-form {
  display: flex;
  gap: 12px;
  align-items: end;
}
.mnt-inline-form label {
  flex: 1;
}
.mnt-setup {
  max-width: 700px;
  margin-top: 16px;
}
.mnt-setup label {
  margin: 20px 0;
}
.mnt-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1150px) {
  .mnt-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mnt-ticket-layout {
    grid-template-columns: minmax(0, 1fr) 245px;
  }
  .mnt-directory-row {
    grid-template-columns: 1fr 1fr;
  }
  .mnt-directory-row > span:last-child {
    display: none;
  }
  .mnt-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .mnt-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .mnt-header h1 {
    font-size: 25px;
  }
  .mnt-actions {
    width: 100%;
  }
  .mnt-header .mnt-actions > .mnt-button {
    flex: 1;
    padding: 8px;
    font-size: 13px;
  }
  .mnt-filters {
    flex-wrap: wrap;
    gap: 8px;
  }
  .mnt-search {
    flex-basis: 100%;
  }
  .mnt-filters > label:not(.mnt-search) {
    flex: 1;
    width: auto;
    min-width: 100px;
  }
  .mnt-board {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mnt-column {
    padding: 10px;
  }
  .mnt-column h2 {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .mnt-ticket {
    padding: 14px;
  }
  .mnt-card-grid {
    grid-template-columns: 1fr;
  }
  .mnt-ticket-layout {
    display: flex;
    flex-direction: column;
  }
  .mnt-detail-heading {
    flex-wrap: wrap;
    gap: 10px;
  }
  .mnt-detail-heading > .mnt-button {
    flex-basis: 100%;
    width: auto;
    text-align: left;
  }
  .mnt-ticket-header-actions {
    flex-basis: 100%;
    align-items: stretch;
  }
  .mnt-ticket-header-actions .mnt-card-tags {
    justify-content: flex-start;
  }
  .mnt-panel {
    padding: 16px;
  }
  form.mnt-new-ticket {
    padding: 0;
  }
  .mnt-form-header,
  .mnt-form-body,
  .mnt-form-footer {
    padding: 16px;
  }
  .mnt-form-footer button {
    flex: 1;
    min-height: 44px;
  }
  .mnt-form-grid,
  .mnt-broadcast-grid {
    grid-template-columns: 1fr;
  }
  .mnt-ratings {
    grid-template-columns: 1fr 1fr;
  }
  .mnt-detail-side {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .mnt-response {
    flex-wrap: wrap;
  }
  .mnt-response > div:first-child {
    min-width: 55%;
  }
  .mnt-response .mnt-button {
    min-height: 40px;
  }
  .mnt-event > div:first-child {
    flex-direction: column;
    gap: 2px;
  }
  .mnt-directory-row {
    gap: 8px;
    padding: 16px;
  }
  .mnt-directory-row > div:first-child {
    grid-column: 1/-1;
  }
  .mnt-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mnt-metrics > div {
    padding: 14px;
  }
  .mnt-media-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mnt-media img,
  .mnt-media video {
    height: 120px;
  }
  .mnt-inbox-row {
    flex-direction: column;
    gap: 8px;
  }
  .mnt-inbox-row > div:last-child {
    max-width: 100%;
  }
  .mnt-history-row {
    flex-direction: column;
    gap: 4px;
  }
  .mnt-upload > label {
    width: 100%;
  }
  .mnt-upload > button {
    width: 100%;
  }
  .mnt-inline-form {
    flex-wrap: wrap;
  }
  .mnt-page input:not([type='checkbox']),
  .mnt-page select,
  .mnt-page textarea {
    font-size: 16px !important;
  }
  .mnt-timeline {
    max-height: 420px;
  }
  .mnt-section-heading {
    gap: 8px;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mnt-page * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Quiet working surfaces: light column backgrounds, crisp cards and consistent controls. */
.mnt-header { padding: 4px 0 20px; margin-bottom: 0; }
.mnt-header h1 { letter-spacing: -.035em; }
.mnt-tabs { margin-bottom: 24px; gap: 28px; }
.mnt-tabs button { padding: 12px 0; }
.mnt-tabs button.active { border-bottom-width: 3px; }
.mnt-filters { padding: 16px; border: 1px solid var(--mnt-border); border-radius: 12px; background: #fff; gap: 16px; }
.mnt-filters input, .mnt-filters select { background: #fafbfc !important; }
.mnt-column { border-color: transparent; background: #f0f2f4; padding: 14px; border-radius: 14px; }
.mnt-column h2 { padding: 0 2px 10px; margin-bottom: 12px; border-bottom: 2px solid #d1d7de; font-weight: 500; }
.mnt-column[data-stage=seeking] h2 { border-bottom-color: #d8b846; }
.mnt-column[data-stage=assigned] h2 { border-bottom-color: #8cabc3; }
.mnt-column[data-stage=in_progress] h2 { border-bottom-color: #86a693; }
.mnt-column h2 span { border: 0; background: #e5e8ec; color: #526070; border-radius: 5px; }
.mnt-ticket { border-color: #e1e5e9; border-radius: 10px; box-shadow: 0 2px 4px rgba(28,40,54,.035); transition: border-color .15s, box-shadow .15s; }
.mnt-ticket:hover { border-color: #b7bec6; box-shadow: 0 4px 12px rgba(28,40,54,.08); }
.mnt-ticket h3 { margin: 12px 0 6px; font-size: 16px; font-weight: 500; letter-spacing: -.015em; }
.mnt-ticket p { font-size: 14px; margin-bottom: 14px; }
.mnt-card-meta { font-size: 12px; }
.mnt-chip { padding: 4px 8px; border-radius: 6px; }
.mnt-panel, .mnt-directory { box-shadow: 0 2px 6px rgba(28,40,54,.025); }
.mnt-detail-heading { padding: 20px; background: #fff; border: 1px solid var(--mnt-border); border-radius: 12px; }
.mnt-detail-heading h2 { font-size: 22px; letter-spacing: -.025em; }
.mnt-detail-side .mnt-panel { background: #fafbfc; }
.mnt-page .mnt-button, .mnt-page button[type=submit] { border-radius: 8px; }
.mnt-page .mnt-facts > div { font-size: 13px; padding: 6px 0; margin: 0; }
.mnt-page .mnt-form-footer { background: #f8f9fa; }
.mnt-closed > summary { border-top: 1px solid var(--mnt-border); }
html.mnt-modal-open, html.mnt-modal-open body { overflow: hidden; overscroll-behavior: none; }
.mnt-cancel-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; margin: auto; border: 1px solid #e0e4e8; border-radius: 16px; color: var(--mnt-text); background: #fff; box-shadow: 0 24px 80px rgba(19,29,40,.22); overflow-y: auto; overscroll-behavior: contain; }
.mnt-cancel-dialog::backdrop { background: rgba(24,31,41,.46); backdrop-filter: blur(3px); }
.mnt-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 24px 18px; }
.mnt-page .mnt-modal-header h3 { margin: 0 0 6px; font-size: 21px; font-weight: 550; letter-spacing: -.025em; }
.mnt-modal-header p { margin: 0; color: var(--mnt-muted); font-size: 14px; }
.mnt-modal-header .mnt-button { min-width: 40px; padding: 4px; font-size: 24px; border: 0; background: #f3f5f7; }
.mnt-modal-body { display: grid; gap: 16px; padding: 0 24px 24px; }
.mnt-cancel-dialog [hidden] { display: none !important; }
.mnt-cancel-dialog .mnt-alert { margin: 0; }
.mnt-page .mnt-cancel-confirm { background: #a84740; border-color: #a84740; color: #fff; }
.mnt-page .mnt-cancel-confirm:hover:not(:disabled) { background: #923b35; border-color: #923b35; }
.mnt-cancel-dialog .mnt-form-footer { padding: 16px 24px; }
@media (max-width: 700px) {
  .mnt-filters { padding: 12px; gap: 12px; }
  .mnt-column { padding: 12px; }
  .mnt-detail-heading { padding: 16px; }
  .mnt-detail-heading h2 { font-size: 20px; }
  .mnt-cancel-dialog { max-height: calc(100dvh - 24px); width: calc(100% - 24px); }
  .mnt-modal-header { padding: 20px 20px 16px; }
  .mnt-modal-body { padding: 0 20px 20px; }
  .mnt-cancel-dialog .mnt-form-footer { padding: 16px 20px; }
  .mnt-cancel-dialog .mnt-form-footer button { padding: 10px; min-width: 0; }
}
.mnt-cancel-dialog .mnt-form-footer { align-items: stretch; }
.mnt-cancel-dialog #mnt-flow-heading:focus { outline: none; }

.mnt-response { flex-wrap:wrap; }
.mnt-response > div:first-child { min-width:160px; overflow-wrap:anywhere; }
.mnt-response-actions { display:flex; flex-wrap:wrap; gap:6px; justify-content:flex-start; width:100%; }
.mnt-response-actions .mnt-button { min-height:40px; }
.mnt-response-actions [data-mnt="decline-offer"] { color:#a23e39; border-color:#ead2d0; }
@media(max-width:700px) { .mnt-response-actions { width:100%; justify-content:flex-start; } }

/* Compact, independently expandable job overview. */
.mnt-collapsible { padding:12px 20px; }
.mnt-collapsible > summary { display:flex; align-items:center; gap:12px; list-style:none; min-height:44px; margin:0; }
.mnt-collapsible > summary::-webkit-details-marker { display:none; }
.mnt-collapsible > summary::before { content:''; width:7px; height:7px; flex:none; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(-45deg); }
.mnt-collapsible[open] > summary::before { transform:rotate(45deg); }
.mnt-collapsible > summary h3 { margin:0; font-size:15px; font-weight:600; flex:1; min-width:0; }
.mnt-collapsible[open] > summary { margin-bottom:16px; }
.mnt-section-hint { font-size:12px; color:var(--mnt-muted); font-weight:400; white-space:nowrap; }
.mnt-collapsible > .mnt-section-heading:empty { display:none; }
.mnt-collapsible [data-mnt=show-responses] { margin-bottom:16px; }
.mnt-collapsible { scroll-margin-top:24px; }
@media(max-width:700px) { .mnt-collapsible { padding:10px 16px; } .mnt-collapsible > summary { gap:10px; } }
.mnt-new-fields {border:0;padding:0;margin:0;min-width:0;display:grid;gap:16px}
.mnt-photo-picker {display:grid;gap:12px;margin-top:12px;min-width:0}
.mnt-photo-button {display:inline-flex;gap:8px;align-items:center;justify-self:start;min-height:40px}
.mnt-photo-picker input[hidden] {display:none}
.mnt-photo-selection {display:flex;gap:12px;align-items:center;min-width:0}
.mnt-photo-selection img {width:88px;height:88px;object-fit:cover;border-radius:8px;border:1px solid var(--border,#ddd)}
.mnt-photo-selection > div {display:grid;gap:8px;min-width:0}
.mnt-photo-selection span {font-size:13px;overflow-wrap:anywhere}
.mnt-photo-selection button {justify-self:start}
.mnt-offer-photo img {display:block;max-width:100%;max-height:260px;object-fit:contain;border-radius:8px;margin:12px 0}

/* Staff uploads belong to the job; contractor uploads retain their own disclosure. */
#mnt-job-photos { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--mnt-border); }
#mnt-job-photos h4 { margin: 0 0 12px; font-size: 14px; font-weight: 550; }
.mnt-flow > .mnt-section-heading { align-items: flex-start; }
.mnt-flow > .mnt-section-heading h3 { margin-bottom: 0; }
.mnt-flow > .mnt-section-heading button { flex-shrink: 0; }

.mnt-needs-attention { border-left:3px solid #d7ad43; }
.mnt-needs-attention h3 { margin:0; }
.mnt-attention-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:10px; max-height:340px; overflow:auto; margin-top:12px; }
.mnt-attention-job { display:flex; flex-direction:column; gap:5px; width:100%; min-width:0; text-align:left; padding:12px; border:1px solid #e5e2da; border-radius:8px; background:#fffdf6; font:inherit; cursor:pointer; overflow-wrap:anywhere; }
.mnt-attention-title { font-weight:550; }
.mnt-attention-job .mnt-muted { font-size:12px; }
.mnt-attention-reasons { display:flex; flex-direction:column; gap:4px; color:#795b17; font-size:13px; }
.mnt-attention-links { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.mnt-attention-link { border:1px solid #e4d7ae; border-radius:7px; padding:10px 12px; background:#fffaf0; color:#72551a; font:inherit; font-size:13px; text-align:left; cursor:pointer; }
.mnt-attention-job:focus-visible,.mnt-attention-link:focus-visible { outline:2px solid #a67c20; outline-offset:2px; }

.mnt-job-trades { grid-column:1 / -1; min-width:0; }
.mnt-job-trades .mnt-help { flex-basis:100%; margin:0; }
.mnt-job-trades .mnt-check { min-height:40px; }

.mnt-attention-bar { margin:0 0 16px; border:1px solid #e7dfc7; border-radius:8px; background:#fffcf4; }
.mnt-attention-bar > summary { min-height:42px; padding:8px 12px; display:flex; align-items:center; justify-content:space-between; gap:12px; cursor:pointer; font-size:13px; font-weight:500; }
.mnt-attention-bar > summary:after { content:'⌄'; }
.mnt-attention-bar[open] > summary:after { content:'⌃'; }
.mnt-attention-bar > summary > .mnt-muted { margin-left:auto; font-size:12px; }
.mnt-attention-bar .mnt-attention-list { display:block; margin:0; padding:0 12px 8px; max-height:260px; }
.mnt-attention-bar .mnt-attention-job { padding:9px 0; border:0; border-top:1px solid #e9e4d9; border-radius:0; background:transparent; gap:3px; }
.mnt-attention-bar .mnt-attention-reasons { flex-direction:row; flex-wrap:wrap; gap:4px 12px; font-size:12px; }
.mnt-response-tools { display:flex; gap:8px; flex-wrap:wrap; margin:8px 0 16px; }
.mnt-job-delete { margin-top:20px; padding-top:16px; border-top:1px solid var(--mnt-border); display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.mnt-job-delete small { color:var(--mnt-muted); }
.mnt-deleted-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px; border-bottom:1px solid var(--mnt-border); }
.mnt-deleted-row small { display:block; color:var(--mnt-muted); }
#mnt-primary-action { display:contents; }

.mnt-page .secondary-btn.mnt-danger { color: #a3322b; border-color: #b84a42; background: #fff; }
.mnt-page .secondary-btn.mnt-danger:hover:not(:disabled) { color: #872720; border-color: #a3322b; background: #fff1f0; }
.mnt-page .secondary-btn.mnt-danger:focus-visible { outline-color: #a3322b; }

/* One line-icon and selected-state language for all Command Centre modules. */
.cc-icon{display:inline-block;width:18px;height:18px;min-width:18px;flex:0 0 18px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
button .cc-icon,a .cc-icon,summary .cc-icon{font-size:initial}
.nav-item>span>.cc-icon,.nav-submenu>summary>span>.cc-icon{width:20px;height:20px;min-width:20px}
.nav-item>span,.nav-submenu>summary>span{display:inline-flex;align-items:center;justify-content:center}
button svg:not(.cc-icon):not(.spinner),a.nav-item svg:not(.cc-icon){stroke-linecap:round;stroke-linejoin:round}
:is(.tabs,.guest-operations-tabs,.social-tabs,.issue-entry-tabs,.invoice-subnav,.roadmap-filter-bar,.handover-tabs,.mnt-tabs,.cp-tabs,.outreach-module-tabs,.ticket-layout-toggle,.dashboard-division-filter,.cleaning-section-toggle,.segmented,.task-description-tabs) button,.nav-item,[role="tab"]{position:relative}
:is(.tabs,.guest-operations-tabs,.social-tabs,.issue-entry-tabs,.invoice-subnav,.roadmap-filter-bar,.handover-tabs,.mnt-tabs,.cp-tabs,.outreach-module-tabs,.ticket-layout-toggle,.dashboard-division-filter,.cleaning-section-toggle,.segmented,.task-description-tabs) button.active::after,.nav-item.active::after,[role="tab"][aria-selected="true"]::after{content:"";position:absolute;bottom:3px;left:calc(50% - 5px);width:10px;height:2px;border-radius:2px;background:#b28b00;pointer-events:none}
.sidebar .nav-item.active::after,.mobile-header .nav-item.active::after{background:#ffca00}
.sidebar .nav-item:not(.module-shortcut-link).active::after{left:18px;bottom:4px}
:is(.tabs,.guest-operations-tabs,.social-tabs,.issue-entry-tabs,.invoice-subnav,.roadmap-filter-bar,.handover-tabs,.mnt-tabs,.cp-tabs,.outreach-module-tabs,.ticket-layout-toggle,.segmented) button.active{border-bottom-color:transparent;box-shadow:none}
@media(max-width:920px){button:has(>.cc-icon):not([data-task-file-remove]),a.nav-item{min-height:40px}}
button:has(.cc-icon){font-weight:500}

/* Recurring filters already have a full-width selected underline. */
.recurring-filter-tabs button[aria-pressed="true"]::after{content:none}

.workspace-host{margin:0;color:#263241;background:#f6f7f8;font:400 14px/1.45 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden}
.workspace-host *{box-sizing:border-box}
.workspace-host button{font:inherit;cursor:pointer}
.workspace-host button:focus-visible{outline:2px solid #a77a00;outline-offset:-3px}
.workspace-host button:disabled{cursor:default;opacity:.55}
.workspace-shell{height:100vh;height:100dvh;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top)}
.workspace-toolbar{display:flex;align-items:stretch;gap:8px;padding:0 12px;background:#383838;color:#fff;min-height:48px;flex:none}
.workspace-toolbar[hidden],.workspace-notice[hidden],.workspace-panel[hidden]{display:none!important}
.workspace-tablist{display:flex;gap:4px;align-items:stretch;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:none;flex:1;min-width:0}
.workspace-tablist::-webkit-scrollbar{display:none}
.workspace-tab{display:flex;align-items:stretch;min-width:128px;max-width:240px;flex:none;border-bottom:3px solid transparent}
.workspace-tab.is-active{background:#464646;border-bottom-color:#efd26a}
.workspace-tab button{background:none;color:#e7e9ec;border:0;min-height:44px}
.workspace-tab button[role=tab]{padding:8px 8px 8px 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;max-width:192px;text-align:left}
.workspace-tab.is-active button[role=tab]{color:#fff}
.workspace-tab:hover,.workspace-new:hover{background:#525252}
.workspace-tab-close{width:40px;flex:none;display:grid;place-items:center}
.workspace-tab svg,.workspace-new svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round}
.workspace-new{display:flex;align-items:center;justify-content:center;gap:6px;flex:none;background:none;color:#fff;border:0;padding:0 12px;min-height:44px;white-space:nowrap}
.workspace-panels{flex:1;min-height:0;position:relative;background:#fcfcfa}
.workspace-panel{position:absolute;inset:0}
.workspace-panel iframe{width:100%;height:100%;display:block;border:0;background:#fcfcfa}
.workspace-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 16px;background:#fff5d6;flex:none;font-size:13px}
.workspace-notice button{border:1px solid #b3a478;border-radius:5px;padding:8px 12px;min-height:40px;background:#fff;flex:none;color:#263241}
.workspace-dialog{max-width:min(440px,calc(100vw - 32px));border:1px solid #dce1e5;border-radius:12px;padding:24px;color:#263241;background:#fff}
.workspace-dialog::backdrop{background:rgb(20 26 33 / .35)}
.workspace-dialog h2{margin:0 0 8px;font-size:18px;font-weight:600}
.workspace-dialog p{margin:0 0 24px;color:#56616e}
.workspace-dialog-actions{display:flex;justify-content:flex-end;gap:8px}
.workspace-dialog button{border:1px solid #dce1e5;border-radius:6px;background:#fff;padding:10px 16px;min-height:44px;color:#263241;font-weight:500}
.workspace-dialog button[value=confirm]{background:#efd26a;border-color:#efd26a}
.feature-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:12px 0}
.feature-toggle-row strong{display:block;font-size:14px;font-weight:500}
.feature-toggle-row small{display:block;margin-top:4px;line-height:1.5;color:#667280}
.feature-toggle-control{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;flex:none;min-height:44px;cursor:pointer}
.feature-toggle-control input{width:20px!important;height:20px!important;accent-color:#8c6d13;cursor:pointer}
.feature-toggle-message{min-height:20px;font-size:13px;color:#667280}
.feature-toggle-message[data-error=true]{color:#a33a35}
@media(max-width:600px){.workspace-toolbar{padding:0 4px;gap:0}.workspace-tab{min-width:110px;max-width:190px}.workspace-tab button[role=tab]{max-width:146px}.workspace-new{padding:0 8px}.workspace-new span{display:none}.workspace-new{width:44px}.workspace-notice{align-items:flex-start;flex-direction:column;gap:6px}.feature-toggle-row{gap:12px}}

.workspace-tab button[role=tab]{cursor:grab;touch-action:pan-x pan-y pinch-zoom;user-select:none;-webkit-user-select:none}
.workspace-tab.is-dragging{opacity:.55}
.workspace-tablist.is-reordering,.workspace-tablist.is-reordering button[role=tab]{cursor:grabbing}
.workspace-tab.drop-before{box-shadow:inset 3px 0 #efd26a}
.workspace-tab.drop-after{box-shadow:inset -3px 0 #efd26a}
.workspace-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.workspace-host .device-push-invitation{flex:none;margin:12px 16px}.workspace-host .device-push-invite-actions button{border:1px solid #c9cdd2;border-radius:7px;padding:10px 14px;font-weight:500}.workspace-host .device-push-invite-actions .primary-btn{background:#f1cf52;color:#303a48}.workspace-host .device-push-invite-actions .secondary-btn{background:#fff;color:#303a48}

@media(pointer:coarse){.workspace-tab button[role=tab]{cursor:pointer}}

#devicePushSetup{max-width:760px;padding-top:8px}#devicePushSetup>.secondary-btn{display:inline-flex;align-items:center;text-decoration:none;margin-bottom:24px}#devicePushSetup .page-title{margin-bottom:24px}#devicePushSetup .device-push-card{display:block;padding:24px}#devicePushSetup h2{font-size:18px;font-weight:600;margin:0 0 12px}#devicePushSetup p{line-height:1.6;margin:12px 0;color:#657080}#devicePushSetup .device-push-status{font-size:16px;font-weight:500;border-top:1px solid #e2e5e8;padding-top:20px;margin-top:20px}#devicePushSetup .device-push-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}#devicePushSetup button{min-height:44px;font-weight:500}#devicePushSetup [hidden]{display:none!important}#devicePushSetup .device-push-note{font-size:13px}#devicePushSetup [data-push-error]{color:#8e4035}#devicePushSetup [data-push-notice]{padding:12px 16px;background:#f3f5f7;border-radius:8px}#devicePushSetup button:focus-visible{outline:3px solid #697b92;outline-offset:3px}.device-push-entry{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:16px 20px;margin:0 0 24px;border:1px solid #e2e5e8;border-radius:10px;background:#fff}.device-push-entry p{margin:4px 0 0;color:#657080;font-size:14px}.device-push-entry a{white-space:nowrap;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}@media(max-width:560px){#devicePushSetup .device-push-card{padding:20px}#devicePushSetup .device-push-actions{flex-direction:column}#devicePushSetup .device-push-actions button{width:100%}.device-push-entry{align-items:stretch;flex-direction:column}.device-push-entry a{justify-content:center}}

.device-push-invitation{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff5ce;padding:16px;margin:0 0 20px;border-radius:8px;color:#303a48}.device-push-invitation[hidden]{display:none!important}.device-push-invitation strong{font-size:15px;font-weight:500}.device-push-invitation p{font-size:14px;line-height:1.5;margin:4px 0 0}.device-push-invitation [data-invite-status]:empty{display:none}.device-push-invite-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.device-push-invite-actions button{min-height:44px;white-space:nowrap}.device-push-invite-actions a{font-size:14px;color:inherit;min-height:44px;display:inline-flex;align-items:center}.device-push-invite-actions :focus-visible{outline:3px solid #697b92;outline-offset:3px}@media(max-width:760px){.device-push-invitation{flex-direction:column;align-items:stretch}.device-push-invite-actions{gap:8px}.device-push-invite-actions button{flex:1}}

.notification-chrome{position:sticky;top:0;z-index:25;height:64px;min-height:64px;display:flex;align-items:center;gap:12px;padding:0 20px;background:#fff0ac;border:0;color:#303a48}
.notification-chrome-spacer{flex:1}.notification-chrome button{display:flex;align-items:center;gap:8px;background:none;border:0;min-height:40px;font:500 14px/1.4 Inter,system-ui,sans-serif;color:inherit;cursor:pointer}
/* Leave the collapsed desktop menu reachable above the sticky notification bar. */
@media(min-width:761px){
  .app-shell.sidebar-collapsed .content-shell.has-notification-drawer>.sidebar-expand-button{top:4px;left:14px;z-index:26;min-height:40px}
  .app-shell.sidebar-collapsed .content-shell.has-notification-drawer>.notification-chrome{padding-left:126px}
}
.notification-unread-count{display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:5px;background:#edf0f2;color:#4b5867;font-size:12px}.notification-unread-count[hidden]{display:none}
.notification-critical-summary{min-width:0;flex:0 1 auto}.notification-critical-summary[hidden]{display:none}.notification-critical-title{max-width:420px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:400}
.notification-priority{padding:3px 7px;border-radius:4px;white-space:nowrap;font-size:12px;font-weight:400}.notification-priority.critical{background:#f6e4e1;color:#943c34}
.content-shell.has-notification-drawer>main{padding-top:20px}.content-shell.has-notification-drawer{padding-top:0}
.cleaning-embed-active .content-shell.has-notification-drawer,.invoice-embed-active .content-shell.has-notification-drawer,.external-embed-active .content-shell.has-notification-drawer{display:grid;grid-template-rows:64px minmax(0,1fr)}
#notificationDrawerRoot{position:fixed;inset:0;z-index:85;color:#2e3947;font:400 14px/1.5 Inter,system-ui,sans-serif}#notificationDrawerRoot[hidden]{display:none}
.notification-drawer-backdrop{position:absolute;inset:0;border:0;border-radius:0;background:rgba(29,35,42,.19);width:100%;height:100%;cursor:default}
.notification-drawer{position:absolute;inset:0 0 0 auto;width:min(440px,100%);background:#fff;box-shadow:-10px 0 35px #20262e1a;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;border-left:1px solid #dfe3e7}
.notification-drawer-heading{padding:22px 24px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px}.notification-drawer-heading h2{margin:0;font-size:22px;font-weight:500;letter-spacing:-.3px}.notification-drawer-heading p{font-size:12px;color:#687584;margin:5px 0 0}
.notification-drawer-heading .icon-btn{min-height:40px;min-width:40px;background:transparent;border:0;color:#647180}
.notification-drawer-tabs{display:flex;gap:24px;padding:0 24px;border-bottom:1px solid #e2e5e8}.notification-drawer-tabs button{position:relative;padding:10px 0 13px;background:none;border:0;color:#667382;font:400 14px/1.4 Inter,system-ui,sans-serif;cursor:pointer;min-height:44px}
.notification-drawer-tabs button[aria-pressed=true]{color:#273341}.notification-drawer-tabs button[aria-pressed=true]:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#ffca00}
.notification-drawer-body{overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable;overflow-wrap:anywhere}.notification-group-title{margin:0;padding:19px 24px 5px;color:#6d7885;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.9px}
.notification-row{border-bottom:1px solid #e6e9ec}.notification-row-heading{display:grid;grid-template-columns:32px minmax(0,1fr) 6px;width:100%;align-items:start;gap:12px;padding:17px 24px;text-align:left;border:0;background:#fff;color:#2e3947;font:400 14px/1.5 Inter,system-ui,sans-serif;cursor:pointer}
.notification-row-heading:hover,.notification-row-heading[aria-expanded=true]{background:#f6f7f8}.notification-row-heading strong{font-size:14px;font-weight:500}.notification-row-heading small{display:block;margin-top:4px;color:#697583;font-size:12px;line-height:1.6}.notification-row-heading small span{display:block}
.notification-row-icon{display:grid;place-items:center;width:32px;height:32px;background:#f0f2f4;color:#677382;border-radius:6px}.notification-row.critical .notification-row-icon{background:#f6e4e1;color:#943c34}.notification-unread-dot{margin-top:8px;width:6px;height:6px;background:#8a7119;border-radius:50%}.notification-unread-dot[hidden]{display:none}
.notification-row-detail{padding:0 24px 19px 68px;background:#f6f7f8}.notification-row-detail[hidden]{display:none}.notification-row-detail p{font-size:13px;line-height:1.65;color:#5c6978;margin:0 0 14px}.notification-row-actions{display:flex;flex-wrap:wrap;gap:8px}.notification-row-actions button{font-size:13px;font-weight:500;min-height:40px;padding:8px 12px;border-radius:5px}.notification-row-detail>small{display:flex;align-items:center;gap:6px;color:#687584;font-size:11px;margin-top:14px}.notification-row-detail>small svg{width:15px;height:15px}
.notification-drawer-footer{padding:12px 24px 14px;border-top:1px solid #e2e5e8;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 12px;background:#fff}.notification-drawer-footer button{border:0;background:none;min-height:40px;padding:8px 0;font:400 13px/1.4 Inter,system-ui,sans-serif;color:#465564;cursor:pointer}.notification-drawer-footer button:disabled{opacity:.5;cursor:default}.notification-drawer-footer p{flex-basis:100%;font-size:11px;color:#697583;margin:3px 0 0;min-height:17px}
.notification-empty{padding:30px 24px;color:#697583;font-size:14px}.notification-error{padding:16px 24px;color:#943c34;font-size:13px;background:#fff8f6}.notification-error button{display:block;margin-top:10px;background:#fff;border:1px solid #dfc9c5;border-radius:5px;padding:8px 12px;min-height:40px;cursor:pointer}
.notification-email-rules{padding:24px}.notification-email-rules h3{font-size:17px;font-weight:500;margin:0 0 20px}.notification-email-rules p{font-size:13px;color:#657281;margin:18px 0 6px}.notification-email-rules strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}.notification-email-rules hr{border:0;border-top:1px solid #e2e5e8;margin:24px 0}
#notificationDrawerRoot button:focus-visible,.notification-chrome button:focus-visible{outline:2px solid #967400;outline-offset:2px}.notification-drawer [hidden]{display:none!important}
.notification-routing-note{grid-column:1/-1;padding:14px 16px;border:1px solid #e2e5e8;border-radius:6px;background:#fff;font-size:13px;color:#566473}.notification-routing-note strong{font-weight:500;color:#2e3947;overflow-wrap:anywhere}
@media(max-width:760px){.notification-chrome{padding:0 12px;gap:8px}.notification-critical-title{display:none}.notification-chrome .notification-bell{font-size:13px}.notification-drawer-heading{padding:18px 20px 14px}.notification-drawer-tabs{padding:0 20px}.notification-row-heading{padding:16px 20px}.notification-row-detail{padding:0 20px 18px 64px}.notification-group-title{padding-left:20px}.notification-drawer-footer{padding:10px 20px max(14px,env(safe-area-inset-bottom))}.cleaning-embed-active .content-shell.has-notification-drawer,.invoice-embed-active .content-shell.has-notification-drawer,.external-embed-active .content-shell.has-notification-drawer{grid-template-rows:58px 64px minmax(0,1fr)}.content-shell.has-notification-drawer>main{padding-top:16px}}
@media(prefers-reduced-motion:reduce){.notification-drawer{scroll-behavior:auto}}

.notification-row-detail .notification-completion-error{color:#943c34;margin:10px 0 0}.notification-row-actions button:disabled{opacity:.6;cursor:wait}

/* Persistent unresolved counts are distinct from the personal unread badge. */
.notification-chrome .notification-overdue-summary,.notification-chrome .notification-critical-summary{gap:10px;text-align:left;padding:4px 12px 4px 0;flex-shrink:0}
.notification-chrome [hidden]{display:none}
.notification-attention-count{display:grid;place-items:center;min-width:30px;height:32px;padding:0 6px;border-radius:6px;background:#f5dcd4;color:#86382d;font-size:18px;font-weight:600}
.notification-summary-label{font-size:13px;line-height:1.35;white-space:nowrap}.notification-summary-label small{display:block;font-size:11px;font-weight:400;color:#665d39;margin-top:2px}
.notification-chrome button:hover{background:#e7ca6440;border-radius:5px}.notification-chrome .notification-bell{white-space:nowrap}.notification-unread-count{background:#fff8dc}
@media(max-width:760px){.notification-chrome{gap:6px;padding:0 10px}.notification-chrome .notification-overdue-summary,.notification-chrome .notification-critical-summary{gap:6px;padding-right:2px}.notification-summary-label{font-size:12px}.notification-summary-label small{font-size:10px}.notification-attention-count{font-size:16px;min-width:26px;padding:0 4px}.notification-chrome .notification-bell{padding:0;min-width:40px;justify-content:center;position:relative}.notification-bell>span:not(.notification-unread-count){display:none}.notification-bell .notification-unread-count{position:absolute;top:0;right:-4px;height:17px;min-width:17px;font-size:10px}.notification-chrome-spacer{min-width:0}.notification-drawer-tabs{gap:22px}}

/* Severity is independent of read state and email routing. */
.notification-mobile-label{display:none}
.notification-row{--notice-bg:#f4f6f8;--notice-hover:#eaf0f5;background:var(--notice-bg)}
.notification-row.urgency-overdue,.notification-row.urgency-critical{--notice-bg:#fff0ed;--notice-hover:#fbe3de}
.notification-row.urgency-ultra_critical{--notice-bg:#f8dcd7;--notice-hover:#f1cdc6}
.notification-row.urgency-urgent,.notification-row.urgency-action{--notice-bg:#fff6e1;--notice-hover:#ffedc2}
.notification-row.urgency-important{--notice-bg:#fffbe9;--notice-hover:#fff4cc}
.notification-row.urgency-routine,.notification-row.urgency-normal{--notice-bg:#f0f5fa;--notice-hover:#e6eef6}
.notification-row-heading,.notification-row-detail{background:var(--notice-bg)}
.notification-row-heading:hover,.notification-row-heading[aria-expanded=true]{background:var(--notice-hover)}
.notification-drawer-tabs{gap:16px;justify-content:space-between}
@media(max-width:760px){
 .notification-chrome{height:44px;min-height:44px;gap:5px;padding:0 8px}
 .notification-desktop-label{display:none}.notification-mobile-label{display:inline}
 .notification-chrome .notification-overdue-summary,.notification-chrome .notification-critical-summary{gap:4px;padding:0;min-height:40px}
 .notification-attention-count{height:24px;min-width:22px;font-size:14px;padding:0 3px}
 .notification-summary-label{font-size:12px}
 .notification-chrome .notification-bell{min-width:36px}
 .cleaning-embed-active .content-shell.has-notification-drawer,.invoice-embed-active .content-shell.has-notification-drawer,.external-embed-active .content-shell.has-notification-drawer{grid-template-rows:58px 44px minmax(0,1fr)}
 .notification-drawer-tabs{gap:12px;padding:0 16px}.notification-drawer-tabs button{font-size:12px}
}

#devicePushSetup{max-width:760px;padding-top:8px}#devicePushSetup>.secondary-btn{display:inline-flex;align-items:center;text-decoration:none;margin-bottom:24px}#devicePushSetup .page-title{margin-bottom:24px}#devicePushSetup .device-push-card{display:block;padding:24px}#devicePushSetup h2{font-size:18px;font-weight:600;margin:0 0 12px}#devicePushSetup p{line-height:1.6;margin:12px 0;color:#657080}#devicePushSetup .device-push-status{font-size:16px;font-weight:500;border-top:1px solid #e2e5e8;padding-top:20px;margin-top:20px}#devicePushSetup .device-push-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}#devicePushSetup button{min-height:44px;font-weight:500}#devicePushSetup [hidden]{display:none!important}#devicePushSetup .device-push-note{font-size:13px}#devicePushSetup [data-push-error]{color:#8e4035}#devicePushSetup [data-push-notice]{padding:12px 16px;background:#f3f5f7;border-radius:8px}#devicePushSetup button:focus-visible{outline:3px solid #697b92;outline-offset:3px}.device-push-entry{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:16px 20px;margin:0 0 24px;border:1px solid #e2e5e8;border-radius:10px;background:#fff}.device-push-entry p{margin:4px 0 0;color:#657080;font-size:14px}.device-push-entry a{white-space:nowrap;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}@media(max-width:560px){#devicePushSetup .device-push-card{padding:20px}#devicePushSetup .device-push-actions{flex-direction:column}#devicePushSetup .device-push-actions button{width:100%}.device-push-entry{align-items:stretch;flex-direction:column}.device-push-entry a{justify-content:center}}

.device-push-invitation{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff5ce;padding:16px;margin:0 0 20px;border-radius:8px;color:#303a48}.device-push-invitation[hidden]{display:none!important}.device-push-invitation strong{font-size:15px;font-weight:500}.device-push-invitation p{font-size:14px;line-height:1.5;margin:4px 0 0}.device-push-invitation [data-invite-status]:empty{display:none}.device-push-invite-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.device-push-invite-actions button{min-height:44px;white-space:nowrap}.device-push-invite-actions a{font-size:14px;color:inherit;min-height:44px;display:inline-flex;align-items:center}.device-push-invite-actions :focus-visible{outline:3px solid #697b92;outline-offset:3px}@media(max-width:760px){.device-push-invitation{flex-direction:column;align-items:stretch}.device-push-invite-actions{gap:8px}.device-push-invite-actions button{flex:1}}

.notification-preferences{max-width:1000px;margin:0 auto;padding-bottom:24px;min-width:0}.notification-preferences .page-title{margin:24px 0 16px}.notification-preferences h1{font-size:26px;font-weight:600}.notification-preferences h2{font-size:18px;font-weight:600;margin:0 0 8px}.notification-preferences h3{font-size:15px;font-weight:550;margin:0 0 6px}.notification-preferences p{color:#647183;font-size:14px;line-height:1.5;margin:4px 0 12px}.notification-preferences small{display:block;font-size:12px;color:#687584;line-height:1.5}.notification-preferences label{font-weight:500;font-size:14px}.np-card{background:#fff;border:1px solid #dfe3e8;border-radius:10px;padding:24px;margin:16px 0;min-width:0}.np-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:16px 0;min-width:0}.np-row>div{min-width:0;flex:1}.np-row p{margin:4px 0}.np-row select,.np-row>label{width:195px;flex-shrink:0}.notification-preferences input:not([type=checkbox]),.notification-preferences select{font-family:inherit;font-size:14px;font-weight:400;border:1px solid #ccd3db;border-radius:6px;padding:10px 12px;height:44px;max-width:100%;box-sizing:border-box;background:#fff;color:#293442;min-width:0}.notification-preferences input:disabled,.notification-preferences select:disabled{opacity:.65}.np-label{display:block;margin-bottom:5px}.np-check{display:flex;align-items:center;gap:10px;min-height:40px}.np-check input{accent-color:#a48615;width:18px;height:18px;flex-shrink:0}.np-fallback{margin:8px 0 16px}.np-device{background:#f6f7f8;border-radius:6px;padding:16px;display:flex;align-items:center;gap:20px;justify-content:space-between}.np-device>div{flex:1}.np-device p{color:#293442;margin:0 0 4px}.np-device .secondary-btn{flex-shrink:0}.np-group{margin-top:24px}.np-group>h3{font-size:13px;color:#687584;text-transform:uppercase;letter-spacing:.04em;padding-bottom:8px;border-bottom:1px solid #dfe3e8}.np-group .np-row{border-bottom:1px solid #edf0f3}.np-group .np-row:last-child{border-bottom:0}.np-team-form{border-top:1px solid #dfe3e8;margin-top:20px;padding-top:4px}.np-team-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px;margin:12px 0 16px}.np-team-fields label{display:flex;flex-direction:column;gap:6px;min-width:0}.np-team-fields input{width:100%}.np-card summary{font-weight:550;cursor:pointer;min-height:32px;font-size:16px}.np-card[open]>summary{margin-bottom:16px}.np-frequency{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:12px 0 16px}.np-frequency input{width:100%;margin:6px 0}.np-card form[data-np-frequency]{margin-top:24px;padding-top:20px;border-top:1px solid #dfe3e8}.np-error{color:#ad3e3e!important}.notification-preferences [data-np-message]{min-height:21px;margin:0}.notification-preferences .np-footnote{font-size:13px}.np-loading{padding:32px;background:#f6f7f8;border-radius:8px}.notification-preferences button,.notification-preferences a.secondary-btn{font-weight:500;min-height:40px}.notification-preferences :focus-visible{outline:2px solid #a48615;outline-offset:3px}@media(max-width:600px){.np-card{padding:16px}.np-row{gap:12px;align-items:flex-start}.np-group .np-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.np-row select,.np-row>label{width:100%}.np-card>.np-row{display:grid;grid-template-columns:1fr}.np-device{display:block}.np-device .secondary-btn{display:flex;justify-content:center;margin-top:14px}.np-team-fields{grid-template-columns:1fr}.np-frequency{grid-template-columns:repeat(2,minmax(0,1fr))}.np-team-form .np-row>label{width:auto}.notification-preferences .page-title{margin-top:20px}.notification-preferences input[type=time]{width:100%;min-width:0;max-width:100%;height:44px}.notification-preferences p{overflow-wrap:anywhere}}

.np-entry-actions{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:600px){.np-entry-actions{width:100%}.np-entry-actions a{flex:1;text-align:center}}

.notification-preferences a.secondary-btn{font-size:14px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;box-sizing:border-box}

.np-delivery{padding:12px 0;border-top:1px solid #dfe3e8;overflow-wrap:anywhere}.np-delivery:first-of-type{border-top:0}

.pf-page{color:#30343b;max-width:1600px;margin:0 auto;padding:8px 0 32px;min-width:0;font-size:14px}
.pf-page *,.pf-dialog *{box-sizing:border-box}.pf-page h1{font-size:25px;font-weight:600;letter-spacing:-.5px;margin:0 0 6px}.pf-page h2{font-size:18px;font-weight:550;margin:0}.pf-page p{margin:4px 0;color:#69717c;line-height:1.5}
.pf-header,.pf-toolbar,.pf-card-top,.pf-default-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.pf-header{margin-bottom:24px}.pf-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pf-page button,.pf-dialog button{font-size:14px;font-weight:500;min-height:40px;white-space:normal}.pf-page .primary-btn,.pf-dialog .primary-btn{background:#f1cd44;color:#30343b;border:1px solid #dfbd35}.pf-page .secondary-btn,.pf-dialog .secondary-btn{background:#fff;color:#424952;border:1px solid #dfe2e5;border-radius:6px;padding:8px 12px}.pf-page button:disabled,.pf-dialog button:disabled{opacity:.55;cursor:default}.pf-page button:hover:not(:disabled){filter:brightness(.98)}.pf-page :focus-visible,.pf-dialog :focus-visible{outline:2px solid #ad8c15;outline-offset:2px}
.pf-projects{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:16px}.pf-project-card{text-align:left;padding:20px;border:1px solid #dfe2e5;border-radius:8px;background:#fff;display:grid;gap:16px;color:inherit}.pf-project-card h2{overflow-wrap:anywhere}.pf-card-money{display:flex;gap:24px}.pf-card-money span{display:grid;gap:6px;font-size:12px;color:#69717c}.pf-card-money b{font-size:20px;font-weight:500;color:#30343b}.pf-project-card small{font-size:12px;color:#69717c}.pf-page progress{appearance:none;border:0;background:#eef0f1;display:block;width:100%;height:5px;border-radius:3px;overflow:hidden}.pf-page progress::-webkit-progress-bar{background:#eef0f1}.pf-page progress::-webkit-progress-value{background:#80a38a}.pf-page progress::-moz-progress-bar{background:#80a38a}
.pf-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #dfe2e5;background:white;border-radius:8px;overflow:hidden}.pf-summary>div{padding:16px 20px;display:flex;flex-direction:column;justify-content:center;gap:7px;min-width:0}.pf-summary>div+div{border-left:1px solid #e5e7e9}.pf-summary span{font-size:13px;color:#69717c;display:flex;gap:8px;align-items:center}.pf-summary strong{font-size:27px;font-weight:500;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.pf-summary small{color:#69717c;font-size:11px}.pf-summary .pf-text{font-size:12px;min-height:20px;padding:0;text-decoration:underline}.pf-over strong{color:#a44f4b}.pf-progress{display:flex;gap:12px;align-items:center;margin:14px 0 24px;font-size:12px;color:#69717c;flex-wrap:wrap}.pf-progress progress{width:100px}.pf-save-state{margin-left:auto}.pf-toolbar{margin-bottom:16px;flex-wrap:wrap}.pf-tabs{display:flex;border-bottom:1px solid #e4e6e8;gap:16px;min-width:0}.pf-tabs button{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 4px;color:#747b84}.pf-tabs button[aria-selected=true]{border-bottom-color:#c6a635;color:#30343b}.pf-group{margin:0 0 20px;background:#fff;border:1px solid #e0e3e6;border-radius:7px;overflow:hidden}.pf-group summary{list-style:none;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px 16px;cursor:pointer;font-weight:550;background:#f8f9fa;min-height:48px}.pf-group summary::-webkit-details-marker{display:none}.pf-group summary>span:first-child:before{content:'›';display:inline-block;width:18px;color:#6b747e}.pf-group[open] summary>span:first-child:before{transform:rotate(90deg)}.pf-group summary small{font-weight:400;margin-left:7px;color:#7b838c}.pf-group-meta{font-size:12px;font-weight:400;color:#7b838c;text-align:right}.pf-table-scroll{overflow-x:auto;min-width:0}.pf-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:13px}.pf-table th{font-weight:400;font-size:11px;text-align:left;color:#747b84;background:#fff}.pf-table th,.pf-table td{padding:7px 10px;border-bottom:1px solid #eef0f2;vertical-align:middle}.pf-table th:first-child,.pf-table td:first-child{padding-left:16px}.pf-table th[data-column=item]{width:24%}.pf-table th[data-column=phase]{width:10%}.pf-table th[data-column=status]{width:16%}.pf-table th[data-column=supplier]{width:17%}.pf-table th[data-column=budget]{width:11%}.pf-table th[data-column=actual]{width:10%}.pf-table th[data-column=actions]{width:12%}.pf-page input,.pf-page select,.pf-dialog input,.pf-dialog select{font:inherit;color:#30343b;background:#fff;border:1px solid #dce0e4;border-radius:5px;min-height:40px;width:100%;min-width:0;padding:8px 10px;line-height:1.3}.pf-table input,.pf-table select{border-color:transparent;padding:5px 4px;font-size:13px;background:transparent;border-radius:4px}.pf-table input:hover:not(:disabled),.pf-table select:hover:not(:disabled){border-color:#dce0e4}.pf-table input:focus,.pf-table select:focus{background:#fff;border-color:#c9cfd6}.pf-table input:disabled,.pf-table select:disabled{opacity:1;color:#525c66;cursor:default}.pf-table .pf-status{font-size:12px;font-weight:400;background:#f1f2f4;min-height:34px}.pf-status-pending_collection .pf-status,.pf-status-ordered .pf-status,.pf-status-running_total .pf-status,.pf-status-in_cart .pf-status{background:#f3f0e5;color:#7c682e}.pf-status-done .pf-status{background:#e9f2eb;color:#4a7355}.pf-status-not_required .pf-status{background:#f0f1f2;color:#7b838c}.pf-status-not_required .pf-name{color:#8b9199}.pf-table .pf-number{text-align:right;font-variant-numeric:tabular-nums}.pf-money-input{display:flex;align-items:center;gap:3px}.pf-money-input>span{color:#89919b;font-size:12px}.pf-money-input input{text-align:right}.pf-money-input input::-webkit-inner-spin-button,.pf-money-input input::-webkit-outer-spin-button{appearance:none;margin:0}.pf-cost{background:none;border:0;padding:4px 0;text-align:right;color:#424952;width:100%;font-variant-numeric:tabular-nums}.pf-table small{display:block;color:#7b838c;font-weight:400;font-size:11px}.pf-room-tag{padding:2px 4px 4px}.pf-text{background:none;border:0;padding:6px;color:#69717c;cursor:pointer}.pf-remove{color:#a05550}.pf-row-actions{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}.pf-row-actions .secondary-btn{min-height:30px;font-size:11px;padding:4px 7px}.pf-row-actions .pf-remove{min-height:28px;padding:2px 4px}.pf-table tfoot td{background:#fafafa;font-weight:500;border-bottom:0;padding-top:12px;padding-bottom:12px}.pf-group-bottom{padding:8px 16px;border-top:1px solid #eceef0}.pf-group-bottom button{border:0!important;padding-left:0!important;color:#747b84!important;background:none!important}.pf-empty{padding:52px 24px;text-align:center;border:1px dashed #d8dde2;border-radius:8px;background:#fcfcfc;grid-column:1/-1}.pf-empty h2{font-weight:500}.pf-empty p{margin:10px auto 20px;max-width:480px}.pf-empty-cell{padding:24px!important;text-align:center;color:#7b838c}.pf-error,.pf-notice{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:12px 16px;margin-bottom:20px;border:1px solid #e4c9c6;background:#fff8f7;border-radius:6px;color:#934b47;flex-wrap:wrap}.pf-notice{background:#f6faf6;border-color:#d9e6db;color:#497352}.pf-muted{color:#7b838c;font-size:12px}.pf-default-note{border-left:3px solid #e7cf70;padding:4px 16px;margin-bottom:24px}.pf-default-note small{font-size:12px;color:#7b838c}.pf-template-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:24px}.pf-template-tabs button{padding:8px 12px;border:1px solid #dfe2e5;border-radius:5px;background:white;color:#69717c;font-weight:400}.pf-template-tabs button[aria-pressed=true]{border-color:#cdb45f;background:#fcf8e9;color:#434b55}.pf-default-heading{margin-bottom:16px;align-items:end}.pf-default-heading label{max-width:320px;display:grid;gap:6px;font-size:12px;color:#69717c;flex:1}.pf-default-footer{margin-top:20px}.pf-default-table th:nth-child(1){width:36%}.pf-default-table th:nth-child(2){width:15%}.pf-default-table th:nth-child(3){width:25%}.pf-default-table th:nth-child(4){width:14%}.pf-default-table th:nth-child(5){width:10%}.pf-dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #dce0e4;border-radius:10px;box-shadow:0 20px 80px #1113;color:#30343b;background:white}.pf-dialog::backdrop{background:#1d25375c}.pf-dialog form{padding:24px}.pf-dialog h2{font:550 20px/1.3 Inter,system-ui,sans-serif;margin:0 0 24px}.pf-dialog-fields{display:grid;gap:16px}.pf-dialog label{display:grid;gap:7px;font:400 13px/1.4 Inter,system-ui,sans-serif;color:#69717c}.pf-dialog input,.pf-dialog select{font-size:16px}.pf-dialog p{margin:0;line-height:1.5}.pf-dialog-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #edf0f2;margin-top:24px;padding-top:16px}.pf-dialog-error{color:#a6534c;font-size:13px;padding-top:12px}.pf-form-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:1100px) and (min-width:761px){.pf-table{min-width:850px}.pf-summary>div{padding:14px}.pf-summary strong{font-size:23px}}


.pf-page .pf-tabs [role="tab"]{border-radius:0!important;box-shadow:none}.pf-page .pf-tabs [role="tab"]::after{display:none!important}

/* Compact Notion-style checklist. Native selects sit over content-sized tags. */
.pf-group{border:0;border-radius:0;background:#fff;margin-bottom:24px;overflow:visible}
.pf-group summary{background:#fff;padding:6px 0;min-height:44px;font-weight:500;gap:12px}
.pf-group summary>span:first-child:before{content:none}
.pf-group-title{display:inline-flex;align-items:center;gap:8px;min-width:0}
.pf-disclosure{width:12px;height:12px;flex:0 0 12px;fill:none;stroke:#73716c;stroke-width:1.5;transform-origin:50% 50%}
.pf-group[open] .pf-disclosure{transform:rotate(90deg)}
.pf-group summary small{margin:0;font-size:12px;line-height:22px}
.pf-page .pf-room-tag{display:inline-block;padding:2px 7px;border-radius:3px;background:hsl(var(--pf-room-hue) 45% 92%);color:hsl(var(--pf-room-hue) 30% 34%);font-size:13px;font-weight:500;line-height:20px;overflow-wrap:anywhere}
.pf-item-title>.pf-room-tag{font-size:11px;line-height:16px;margin:0 4px 4px;font-weight:400}
.pf-page .pf-select-tag{position:relative;display:inline-flex;align-items:center;min-height:40px;max-width:100%;vertical-align:middle}
.pf-page .pf-tag-label{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:400;line-height:20px;white-space:nowrap;padding:1px 7px;border-radius:3px;background:var(--pf-tag-bg);color:var(--pf-tag-fg)}
.pf-page .pf-status-tag .pf-tag-label{border-radius:12px}
.pf-status-tag .pf-tag-label:before{content:'';width:7px;height:7px;flex:0 0 7px;background:var(--pf-dot);border-radius:50%}
.pf-phase-1{--pf-tag-bg:#e1eee6;--pf-tag-fg:#3d6d53}.pf-phase-2{--pf-tag-bg:#eeedeb;--pf-tag-fg:#62615d}.pf-phase-3{--pf-tag-bg:#eee5f3;--pf-tag-fg:#77558e}
.pf-status-not_started,.pf-status-not_required{--pf-tag-bg:#eeedeb;--pf-tag-fg:#5d5c58;--pf-dot:#96948f}
.pf-status-in_cart,.pf-status-running_total,.pf-status-pending_collection,.pf-status-ordered{--pf-tag-bg:#e4edf6;--pf-tag-fg:#3c678b;--pf-dot:#5b8fba}
.pf-status-done{--pf-tag-bg:#e1eee6;--pf-tag-fg:#3d6d53;--pf-dot:#659077}
.pf-page .pf-select-tag select{position:absolute;inset:0;width:100%;height:100%;min-height:40px;margin:0;opacity:0;cursor:pointer;appearance:auto;padding:0;font-size:16px}
.pf-select-tag:focus-within .pf-tag-label{outline:2px solid #ad8c15;outline-offset:2px}
.pf-select-tag:has(select:disabled){opacity:.7}
.pf-page .pf-table{min-width:1040px;border-top:1px solid #e9e8e5;font-size:13px}
.pf-table th,.pf-table td{padding:0 8px;border-bottom:1px solid #eeedeb;height:41px;vertical-align:middle}
.pf-table th+th,.pf-table td+td{border-left:1px solid #eeedeb}
.pf-table th{height:32px;font-size:12px;color:#8a8883}
.pf-table th:first-child,.pf-table td:first-child{padding-left:4px}
.pf-table th[data-column=item]{width:26%}.pf-table th[data-column=phase]{width:9%}.pf-table th[data-column=status]{width:16%}.pf-table th[data-column=supplier]{width:14%}.pf-table th[data-column=budget]{width:10%}.pf-table th[data-column=actual]{width:10%}.pf-table th[data-column=actions]{width:15%}
.pf-page .pf-table th,.pf-page .pf-table th.pf-number,.pf-page .pf-table .pf-actions-heading{text-align:left}
.pf-page .pf-table input{height:40px;min-height:40px;padding:4px;border:1px solid transparent;font-size:13px;line-height:20px;margin:0}
.pf-page .pf-table input:hover:not(:disabled){border-color:#e0dfdc}
.pf-item-cell{display:flex;gap:2px;align-items:center;min-width:0}
.pf-item-title{min-width:0;flex:1}
.pf-page .pf-grip{font:20px/1 system-ui;color:#a8a59f;min-width:24px;width:24px;min-height:40px;padding:0;border:0;background:transparent;cursor:grab;opacity:.45}
.pf-page tr:hover .pf-grip,.pf-page .pf-grip:focus-visible{opacity:1}
.pf-page .pf-grip:active{cursor:grabbing}
.pf-drop-before{box-shadow:inset 0 2px #6b98b9}.pf-drop-after{box-shadow:inset 0 -2px #6b98b9}
.pf-page .pf-cost{display:inline-block;width:auto;max-width:100%;min-height:40px;padding:0;border:0;background:transparent;border-radius:3px;text-align:right;font-family:inherit;font-size:13px;font-weight:400;line-height:20px;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:0}
.pf-page .pf-cost:hover:not(:disabled){text-decoration:underline;text-underline-offset:3px}
.pf-page .pf-row-actions{gap:6px;flex-wrap:nowrap;justify-content:flex-start;align-items:center;margin:0}
.pf-page .pf-row-actions .secondary-btn,.pf-page .pf-row-actions .pf-remove{min-height:40px;padding:4px 5px;font-size:11px!important;border:0;background:none;white-space:nowrap}
.pf-page .pf-row-actions .secondary-btn{color:#4f705b}
.pf-page .pf-mobile-action{display:none}
.pf-page .pf-money-input{display:inline-flex;gap:0;align-items:center;justify-content:flex-end;width:auto;max-width:100%}
.pf-page .pf-money-input>span{font-size:13px;color:inherit;line-height:20px}
.pf-page .pf-money-input input{padding-left:0;padding-right:0;text-align:left;min-width:4ch;max-width:13ch;font-variant-numeric:tabular-nums;appearance:textfield}
.pf-table .pf-partial-label{margin-top:-6px;padding-bottom:4px}
.pf-table tfoot td{background:#fff;padding:8px;font-size:12px;font-weight:400;color:#77756f;height:40px;border-left:0}
.pf-group-bottom{padding:0 8px;border:0}
.pf-page .pf-default-table{min-width:760px}
.pf-default-table th:nth-child(1){width:36%}.pf-default-table th:nth-child(2){width:15%}.pf-default-table th:nth-child(3){width:25%}.pf-default-table th:nth-child(4){width:14%}.pf-default-table th:nth-child(5){width:10%}
.pf-quick-content{padding:20px}
.pf-quick-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.pf-quick-heading h2{margin:0;overflow-wrap:anywhere}
.pf-quick-heading button{font-size:24px;min-width:40px}
.pf-quick-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.pf-quick-buttons button{min-height:44px;padding:8px;border-radius:6px}
@media(max-width:760px){
 .pf-page{padding-top:4px}.pf-header{align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:20px}.pf-header h1{font-size:22px}.pf-header>.pf-actions{width:100%}.pf-header>.pf-actions button{flex:1}
 .pf-summary{grid-template-columns:1fr 1fr}.pf-summary>div{padding:12px}.pf-summary>div:nth-child(3){border-left:0;border-top:1px solid #e5e7e9}.pf-summary>div:nth-child(4){border-top:1px solid #e5e7e9}.pf-summary strong{font-size:23px}.pf-summary small{font-size:10px}.pf-summary span{font-size:12px}
 .pf-progress{gap:8px;margin-bottom:16px}.pf-progress progress{width:60px}.pf-save-state{flex-basis:100%;margin-left:0}.pf-toolbar{display:grid;gap:8px}.pf-toolbar>.pf-actions{justify-content:flex-end}.pf-tabs{gap:16px}.pf-tabs button{font-size:14px}
 .pf-group summary{padding:4px 0;gap:8px}.pf-group-meta{max-width:40%;font-size:10px}.pf-group-title{gap:6px}.pf-group-title .pf-room-tag{font-size:12px}
 .pf-table-scroll{overflow:visible}.pf-page .pf-table,.pf-table tbody{display:block;min-width:0;width:100%}.pf-table thead{display:none}
 .pf-table tbody tr{display:grid;grid-template-columns:64px minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;padding:0 4px;border-bottom:1px solid #e6e5e2;gap:0}
 .pf-page .pf-table td{display:block;height:auto;padding:0 4px;border:0;min-width:0;text-align:left}
 .pf-table:not(.pf-default-table) tbody td[data-column=item]{grid-column:1/3;grid-row:1}.pf-table:not(.pf-default-table) tbody td[data-column=phase]{grid-column:1;grid-row:2}.pf-table:not(.pf-default-table) tbody td[data-column=status]{grid-column:3;grid-row:1;justify-self:end}.pf-table:not(.pf-default-table) tbody td[data-column=supplier]{display:none}.pf-table:not(.pf-default-table) tbody td[data-column=budget]{grid-column:2;grid-row:2}.pf-table:not(.pf-default-table) tbody td[data-column=actual]{grid-column:3;grid-row:2}.pf-table:not(.pf-default-table) tbody td[data-column=actions]{display:none}
 .pf-page .pf-table input{font-size:14px;min-height:40px;padding:4px 0}
 .pf-page .pf-grip{display:block;flex:0 0 40px;width:40px;min-width:40px;opacity:.65}.pf-page .pf-item-title>.pf-room-tag{margin-left:0;font-size:10px;line-height:14px}
 .pf-page .pf-tag-label{font-size:11px;line-height:19px;padding:1px 5px;gap:4px}.pf-status-tag .pf-tag-label:before{width:6px;height:6px;flex-basis:6px}
 .pf-table tbody td.pf-number{border-left:1px solid #f0efed;display:flex;align-items:center;justify-content:flex-end;gap:2px;position:relative;white-space:nowrap}
 .pf-table tbody td.pf-number:before{content:attr(data-label);position:absolute;top:0;right:4px;font-size:8px;color:#98948d;line-height:11px}
 .pf-page .pf-cost{font-size:12px;padding:7px 0 0;min-height:40px}
 .pf-table .pf-partial-label{display:none}.pf-page .pf-row-actions>*{display:none}.pf-page .pf-row-actions .pf-mobile-action{display:block;width:40px;min-height:40px;padding:0;font-size:22px;line-height:1;color:#77736d}
 .pf-table tfoot,.pf-table tfoot tr{display:block}.pf-table tfoot tr{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 4px;background:#fff}.pf-page .pf-table tfoot td{background:none;font-size:11px;padding:0 4px}.pf-table tfoot td:empty{display:none}.pf-table tfoot td:nth-child(2)::before{content:'Budget';display:block;font-size:9px;color:#98948d}.pf-table tfoot td:nth-child(3)::before{content:'Actual';display:block;font-size:9px;color:#98948d}
 .pf-default-heading{flex-wrap:wrap;align-items:center}.pf-default-heading>label{flex-basis:100%;max-width:none}.pf-default-heading>.pf-actions{width:100%}
 .pf-default-table tbody tr{grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto;padding:4px}.pf-page .pf-default-table tbody td:nth-child(1){grid-column:1;grid-row:1}.pf-page .pf-default-table tbody td:nth-child(2){grid-column:2;grid-row:1;justify-self:end}.pf-page .pf-default-table tbody td:nth-child(3){grid-column:1/3;grid-row:2;display:block;justify-self:stretch}.pf-page .pf-default-table tbody td:nth-child(3):before{content:'Supplier';font-size:10px;color:#98948d}.pf-page .pf-default-table tbody td:nth-child(4){display:block;grid-column:1;grid-row:3}.pf-page .pf-default-table tbody td:nth-child(5){grid-column:2;grid-row:3;justify-self:end}.pf-default-table tfoot td:nth-child(2)::before{display:none}
 .pf-empty{padding:32px 16px}.pf-dialog form{padding:20px}.pf-dialog-actions button{flex:1}.pf-form-pair{gap:12px}.pf-card-money{justify-content:space-between}.pf-project-card{padding:16px}.pf-project-card h2{font-size:16px}.pf-quick-dialog{align-self:end;margin-bottom:max(12px,env(safe-area-inset-bottom));max-height:85dvh}
}

.pf-page .pf-room-more{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;min-height:40px;padding:0;border:0;border-radius:4px;background:transparent;color:#8a8883;cursor:pointer}
.pf-room-more svg{width:20px;height:20px;fill:currentColor}.pf-page .pf-room-more:hover:not(:disabled),.pf-page .pf-room-more[aria-expanded=true]{background:#f0efed;color:#42413d}
.pf-room-menu{position:fixed;inset:auto;margin:0;padding:4px;width:224px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;border:1px solid #e1dfda;border-radius:6px;box-shadow:0 5px 20px #26221b20;background:#fff;color:#42413d}
.pf-page .pf-room-menu button{display:block;width:100%;min-height:40px;padding:8px 10px;border:0;border-radius:3px;background:transparent;color:inherit;text-align:left;font-size:13px;font-weight:400;line-height:20px;cursor:pointer}
.pf-page .pf-room-menu button:hover:not(:disabled),.pf-page .pf-room-menu button:focus-visible{background:#f2f1ee}
.pf-page .pf-room-menu button:disabled{color:#a5a29c;opacity:.65;cursor:default}
.pf-page .pf-room-menu [data-pf=delete-room]{color:#a05550;border-top:1px solid #eeece8;border-radius:0;margin-top:4px}
.pf-dialog .primary-btn.pf-danger{background:#a6534c;color:#fff;border-color:#974b45}

/* Room spacing, readable totals and reorderable columns. */
.pf-page .pf-group{padding:8px 12px 0;border:1px solid #e9e8e5;border-radius:6px}
.pf-group summary{padding:0 0 8px;min-height:48px}
.pf-table th:first-child,.pf-table td:first-child{padding-left:8px}
.pf-page .pf-table:not(.pf-default-table) tfoot td{padding:12px 8px;font-size:14px;font-weight:500;color:#4a4843;border-top:1px solid #e5e3df}
.pf-page .pf-table tfoot .pf-total-label{font-size:13px;font-weight:500;padding-left:12px}
.pf-page .pf-table tfoot small{font-weight:400;font-size:11px;color:#838078;margin-top:3px}
.pf-page .pf-row-actions [data-pf=done]{min-height:32px;padding:4px 10px;border:1px solid #d9dfda;border-radius:5px;background:#f8fbf8;color:#48654f;font-size:12px!important}
.pf-page .pf-row-actions .pf-mobile-action{display:inline-flex;align-items:center;justify-content:center;width:40px;min-height:40px;padding:0;font-size:22px;line-height:1;color:#77736d}
.pf-page .pf-column-handle{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:32px;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font-size:12px;font-weight:400;line-height:18px;text-align:inherit;white-space:nowrap;cursor:grab}
.pf-page .pf-column-handle:active{cursor:grabbing}.pf-column-dots{font-size:15px;color:#bbb8b2;opacity:.5}.pf-column-handle:hover .pf-column-dots,.pf-column-handle:focus-visible .pf-column-dots{opacity:1}
.pf-column-before{box-shadow:inset 2px 0 #6b98b9}.pf-column-after{box-shadow:inset -2px 0 #6b98b9}
@media(max-width:760px){
 .pf-page .pf-group{padding:4px 8px 0}.pf-group summary{padding:0 0 4px}
 .pf-page .pf-table:not(.pf-default-table) tfoot tr{gap:8px;padding:8px 0;border-top:1px solid #e5e3df}
 .pf-page .pf-table:not(.pf-default-table) tfoot td{border:0;padding:4px;font-size:13px;white-space:nowrap}
 .pf-page .pf-table:not(.pf-default-table) tfoot .pf-total-label{order:0;flex:1;font-size:12px;white-space:normal;padding-left:8px}
 .pf-page .pf-table:not(.pf-default-table) tfoot td[data-column=budget]{order:1;text-align:right}
 .pf-page .pf-table:not(.pf-default-table) tfoot td[data-column=actual]{order:2;text-align:right}
 .pf-table:not(.pf-default-table) tfoot td::before{content:none!important}
 .pf-table:not(.pf-default-table) tfoot td[data-column=budget]::before{content:'Budget'!important;display:block;font-size:10px;color:#838078;font-weight:400}
 .pf-table:not(.pf-default-table) tfoot td[data-column=actual]::before{content:'Actual'!important;display:block;font-size:10px;color:#838078;font-weight:400}
}

.pf-page .pf-column-handle{touch-action:none}.pf-column-dragging,.pf-column-dragging *{user-select:none!important;cursor:grabbing!important}

/* Coloured room headers, neutral column headings and resizable columns. */
.pf-page .pf-room-group>summary{margin:-8px -12px 0;padding:4px 12px;background:hsl(var(--pf-room-hue) 45% 92%);color:hsl(var(--pf-room-hue) 30% 34%);border-radius:5px 5px 0 0}
.pf-page .pf-room-group:not([open])>summary{border-radius:5px}
.pf-page .pf-room-group>summary .pf-room-tag{background:transparent;padding-left:0;padding-right:0}
.pf-page .pf-room-group>summary .pf-disclosure{stroke:currentColor}
.pf-page .pf-table th{background:#f4f4f2;color:#77756f;position:relative}
.pf-page .pf-table.pf-sized th[data-column]{width:auto}
.pf-column-resize{position:absolute;z-index:2;right:-4px;top:0;bottom:0;width:9px;cursor:col-resize;touch-action:none}
.pf-column-resize:hover,.pf-column-resize:focus-visible{background:#7d9bab55;outline:0}.pf-column-resize:before{content:'';position:absolute;left:4px;top:5px;bottom:5px;width:1px;background:#dcdad5}
.pf-page .pf-table th:has(.pf-column-resize){padding-right:12px}
.pf-save-state{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pf-save-error{color:#a05550}.pf-save-state .secondary-btn{font-size:12px;min-height:28px;padding:3px 7px}
.pf-page [data-project-save]:empty{display:none}
@media(max-width:760px){
 .pf-page .pf-room-group>summary{margin:-4px -8px 0;padding:4px 8px}
 .pf-page .pf-table.pf-sized{width:100%!important;min-width:0!important}.pf-table colgroup{display:none}
 .pf-save-state .secondary-btn{min-height:40px}
}

/* Full-width headings, aligned add rows and clear row/quick actions. */
.pf-page .pf-group>.pf-table-scroll{margin:0 -12px;padding:0 12px;background:linear-gradient(#f4f4f2,#f4f4f2) no-repeat left top / 100% 33px}
.pf-page .pf-table tbody td[data-column=actions]{padding:4px 12px}
.pf-page .pf-row-actions [data-pf=done]{padding:5px 12px;line-height:20px}
.pf-page .pf-table:not(.pf-default-table) tfoot .pf-new-item-row td{padding:0 8px;border:0;height:40px;text-align:left}
.pf-page .pf-new-item{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0;border:0;background:transparent;color:#77756f;font:400 13px/20px Inter,system-ui,sans-serif;white-space:nowrap;cursor:pointer}
.pf-page .pf-new-item>span{display:inline-flex;justify-content:center;align-items:center;width:24px;flex:0 0 24px;font:300 21px/1 system-ui}
.pf-page .pf-new-item:hover{color:#42413d;background:#f7f6f3;border-radius:4px}
.pf-dialog .pf-quick-buttons .pf-remove{font-size:14px;color:#a05550;border:1px solid #dfb9b5;background:#fff5f4}
.pf-dialog .pf-quick-buttons .pf-remove:hover:not(:disabled){background:#fce9e7}
@media(max-width:760px){
 .pf-page .pf-group>.pf-table-scroll{margin:0;padding:0;background:none}
 .pf-page .pf-table:not(.pf-default-table) tfoot .pf-new-item-row{padding:0 4px;border-top:0}
 .pf-page .pf-table:not(.pf-default-table) tfoot .pf-new-item-row td{padding:0 4px}
 .pf-page .pf-table:not(.pf-default-table) tfoot .pf-new-item-row td:not([data-column=item]){display:none}
 .pf-page .pf-new-item{gap:2px;font-size:14px}.pf-page .pf-new-item>span{width:40px;flex-basis:40px}
}

@media(max-width:760px){.pf-page .pf-group{width:100%!important}}

/* Guided house setup. Keep the form mounted while the checklist saves. */
.pf-empty-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.pf-house-dialog{width:min(600px,calc(100vw - 24px))}
.pf-house-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.pf-house-heading h2{margin:5px 0 0}.pf-house-heading>button{font-size:24px;min-width:40px;padding:0}
.pf-house-name{font-weight:500;font-size:16px}.pf-house-shared,.pf-bedroom-choice{margin:0;padding:12px;border:1px solid #e5e3df;border-radius:6px;min-width:0}.pf-house-shared legend,.pf-bedroom-choice legend{font-size:13px;color:#5e6267;padding:0 5px}
.pf-house-shared{display:flex;gap:12px;flex-wrap:wrap}.pf-house-shared label{display:flex;align-items:center;gap:8px;min-height:40px}.pf-house-shared input{width:17px;height:17px;min-height:17px;padding:0;accent-color:#ad8c15}
.pf-house-review-total{padding:14px;background:#f6f5f2;border-radius:6px;display:grid;grid-template-columns:1fr auto;gap:5px;align-items:center;font-size:13px}.pf-house-review-total strong{font-size:22px;font-weight:500}.pf-house-review-total small{grid-column:2;text-align:right;color:#77756f;font-size:11px}
.pf-house-review{margin:0;padding:0;list-style:none}.pf-house-review li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #eeedeb;font-size:14px}.pf-house-review small{display:block;font-size:12px;font-weight:400;color:#77756f;margin-top:3px}
.pf-page .pf-mobile-hint{display:none}

/* Phone checklist: one compact row per item, with the Item column pinned. */
@media(max-width:760px){
 .pf-page .pf-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:4px;flex-wrap:nowrap}.pf-page .pf-toolbar .pf-tabs{flex:1;gap:6px}.pf-page .pf-tabs button{font-size:12px;padding:8px 3px;white-space:nowrap}.pf-page .pf-toolbar>.pf-actions{flex:0 0 auto}.pf-page .pf-toolbar>.pf-actions button{font-size:12px;padding:6px 9px;min-height:40px}
 .pf-page .pf-toolbar.pf-toolbar-add-item{flex-wrap:wrap}.pf-page .pf-toolbar-add-item>.pf-actions{margin-left:auto}
 .pf-page .pf-mobile-hint{display:block;font-size:11px;line-height:16px;color:#88847d;margin:0 0 12px}
 .pf-page .pf-group{container-type:inline-size;margin-bottom:16px}.pf-page .pf-room-group>summary{min-height:44px;padding:0 8px}.pf-page .pf-group-title{gap:6px}.pf-page .pf-group>.pf-table-scroll{margin:0 -8px;padding:0;container-type:inline-size;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 .pf-page .pf-group .pf-table{display:block;width:924px!important;min-width:924px!important;table-layout:fixed;border-top:1px solid #e9e8e5}.pf-page .pf-group .pf-table colgroup{display:none}
 .pf-page .pf-group .pf-table thead,.pf-page .pf-group .pf-table tbody,.pf-page .pf-group .pf-table tfoot{display:block;width:924px}
 .pf-page .pf-group .pf-table tr{display:flex;align-items:stretch;gap:0;width:924px;padding:0;border:0;background:#fff}
 .pf-page .pf-group .pf-table tr>[data-column]{flex:0 0 var(--pf-mobile-col);width:var(--pf-mobile-col);order:0;min-width:0}
 .pf-page .pf-group .pf-table tr>[data-column=item]{--pf-mobile-col:200px;order:-1;position:sticky;left:0;z-index:2;background:#fff;box-shadow:1px 0 #e5e3df}
 .pf-page .pf-group .pf-table tr>[data-column=phase]{--pf-mobile-col:94px}.pf-page .pf-group .pf-table tr>[data-column=status]{--pf-mobile-col:160px}.pf-page .pf-group .pf-table tr>[data-column=supplier]{--pf-mobile-col:160px}.pf-page .pf-group .pf-table tr>[data-column=budget],.pf-page .pf-group .pf-table tr>[data-column=actual]{--pf-mobile-col:110px}.pf-page .pf-group .pf-table tr>[data-column=actions]{--pf-mobile-col:90px}
 .pf-page .pf-group .pf-table th{display:flex;align-items:center;height:33px;padding:0 8px;background:#f4f4f2;border-bottom:1px solid #e5e3df;text-align:left;font-size:12px}.pf-page .pf-group .pf-table th[data-column=item]{background:#f4f4f2;z-index:3}.pf-page .pf-group .pf-column-handle{font-size:12px;min-height:32px}.pf-page .pf-group .pf-column-dots,.pf-page .pf-group .pf-column-resize{display:none}
 .pf-page .pf-group .pf-table tbody td{display:flex;align-items:center;height:44px;padding:0 8px;border-bottom:1px solid #eeedeb;justify-content:flex-start;border-left:1px solid #f0efed}
 .pf-page .pf-group .pf-table tbody td[data-column=item]{padding:0 4px;border-left:0}.pf-page .pf-group .pf-item-cell{width:100%}.pf-page .pf-group .pf-grip{display:block;flex:0 0 40px;width:40px;min-width:40px;min-height:40px;opacity:.65}
 .pf-page .pf-group .pf-table input{height:40px;min-height:40px;font-size:16px;padding:4px 0}.pf-page .pf-group .pf-table .pf-name{font-size:14px}.pf-page .pf-group .pf-table .pf-name:focus{font-size:16px}
 .pf-page .pf-group .pf-table tbody td.pf-number{justify-content:flex-end}.pf-page .pf-group .pf-table tbody td:before{content:none}.pf-page .pf-group .pf-cost{font-size:13px;min-height:40px;padding:0}.pf-page .pf-group .pf-tag-label{font-size:11px;line-height:20px}.pf-page .pf-group .pf-table .pf-select-tag{min-height:40px}
 .pf-page .pf-group .pf-row-actions{display:flex}.pf-page .pf-group .pf-row-actions>*{display:inline-flex;align-items:center}.pf-page .pf-group .pf-row-actions .secondary-btn{min-height:36px;padding:4px 8px}.pf-page .pf-group .pf-item-title>.pf-room-tag{display:none}
 .pf-page .pf-group .pf-table tfoot .pf-new-item-row{border-bottom:1px solid #e5e3df}.pf-page .pf-group .pf-table tfoot .pf-new-item-row td{height:40px;padding:0 4px;border:0}.pf-page .pf-group .pf-new-item{font-size:13px}
 .pf-page .pf-group .pf-table tfoot .pf-total-row{position:sticky;left:0;width:100cqw;min-height:52px;padding:8px 4px;gap:8px;align-items:center}.pf-page .pf-group .pf-table tfoot .pf-total-row td{position:static;box-shadow:none;background:transparent;border:0;padding:0;flex:0 0 auto;width:auto;font-size:12px;white-space:nowrap}
 .pf-page .pf-group .pf-table tfoot .pf-total-row [data-column=item]{flex:1;white-space:normal;font-size:12px;min-width:70px}.pf-page .pf-group .pf-table tfoot .pf-total-row td:empty{display:none}.pf-page .pf-group .pf-table tfoot .pf-total-row [data-column=budget],.pf-page .pf-group .pf-table tfoot .pf-total-row [data-column=actual]{text-align:right}
 .pf-house-dialog form{padding:16px}.pf-house-heading{margin-bottom:16px}.pf-house-heading h2{font-size:19px}.pf-house-dialog .pf-dialog-fields{gap:12px}.pf-house-dialog .pf-dialog-actions{position:sticky;bottom:-16px;background:#fff;padding-bottom:4px;z-index:2}.pf-house-shared{gap:4px 16px}.pf-house-dialog .pf-form-pair{gap:10px}
}

@media(max-width:760px){.pf-page .pf-group .pf-table .pf-new-item-row td::before{content:none!important}}

.pf-supplier-cell{display:flex;align-items:center;gap:4px;min-width:0}.pf-supplier-cell a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#365f83;text-decoration:underline;flex:1;padding:10px 0}.pf-supplier-cell input{min-width:0}.pf-supplier-cell button{flex-shrink:0;min-width:40px;min-height:40px}.pf-supplier-cell [hidden]{display:none!important}

.pf-collaborators{max-height:45vh;overflow:auto}.pf-collaborators label{display:flex;align-items:center;gap:10px;padding:8px 0;min-height:40px}.pf-collaborators input[type=checkbox]{width:20px;min-height:20px;flex-shrink:0}.pf-collaborators small{display:block;color:#667085;font-size:12px}

.pf-list-access{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 16px;min-height:36px;font-size:14px}.pf-access-label{color:#667085;margin-right:4px}.pf-access-person{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;background:#f0f2f4;border-radius:5px}.pf-access-person small{color:#667085;font-size:12px}

/* Keep mobile section totals readable inside the visible table width. */
@media(max-width:760px){
 .pf-page .pf-group .pf-table tfoot .pf-total-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;gap:10px 0;padding:12px 16px 14px;box-sizing:border-box;background:#f8f8f6;border-top:1px solid #e5e3df;align-items:start}
 .pf-page .pf-group .pf-table tfoot .pf-total-row [data-column=item]{grid-column:1/-1;grid-row:1;order:0;min-width:0;font-size:13px;font-weight:500;text-align:left;line-height:1.4}
 .pf-page .pf-group .pf-table tfoot .pf-total-row [data-column=budget],.pf-page .pf-group .pf-table tfoot .pf-total-row [data-column=actual]{grid-row:2;order:0;min-width:0;text-align:left;font-size:16px;font-weight:500;line-height:1.4;font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}
 .pf-page .pf-group .pf-table tfoot .pf-total-row [data-column=budget]{grid-column:1;padding-right:16px}
 .pf-page .pf-group .pf-table tfoot .pf-total-row [data-column=actual]{grid-column:2;border-left:1px solid #deded9;padding-left:16px}
 .pf-page .pf-group .pf-table tfoot .pf-total-row [data-column=budget]::before,.pf-page .pf-group .pf-table tfoot .pf-total-row [data-column=actual]::before{font-size:12px;color:#6d706c;line-height:1.4;margin-bottom:3px;font-weight:400}
}

.pf-save-state:empty{display:none}

.pf-header>.pf-actions>button{min-height:40px;box-sizing:border-box;padding:9px 14px;line-height:20px;align-self:stretch}

.pf-project-wrap{position:relative;min-width:0}.pf-project-wrap>.pf-project-card{width:100%;height:100%}.pf-project-wrap .pf-card-top{padding-right:40px}.pf-project-options{position:relative;align-self:center}.pf-project-wrap>.pf-project-options{position:absolute;right:12px;top:12px;z-index:2}.pf-project-options summary{list-style:none;cursor:pointer;padding:10px;min-width:40px;min-height:40px;box-sizing:border-box;text-align:center}.pf-project-options summary::-webkit-details-marker{display:none}.pf-project-options>div{position:absolute;right:0;top:100%;width:180px;padding:6px;background:white;border:1px solid #ddd;border-radius:6px;box-shadow:0 4px 16px #0001;z-index:5}.pf-project-options button{display:block;width:100%;text-align:left;padding:10px;border:0;background:white;font:inherit}.pf-project-options button:hover{background:#f5f5f3}.pf-project-options .pf-danger{color:#a05550}

/* Room figures remain readable without opening the checklist. */
.pf-page .pf-group.pf-room-group>summary{flex-wrap:wrap;row-gap:12px;padding:10px 16px}
.pf-room-totals{display:grid;grid-template-columns:repeat(2,minmax(80px,1fr));gap:0;margin-left:auto;padding:4px 0;color:#666761;font-size:12px;font-weight:400;line-height:1.4}
.pf-room-totals>span{display:grid;gap:6px;white-space:nowrap;padding:0 20px}
.pf-room-totals>span:first-child{padding-left:0}
.pf-room-totals>span:last-child{padding-right:0;border-left:1px solid rgb(70 65 55 / 15%)}
.pf-room-totals strong{font-size:15px;font-weight:500;color:#353a36;font-variant-numeric:tabular-nums;line-height:1.4}
@media(max-width:760px){
 .pf-page .pf-group.pf-room-group>summary{row-gap:10px;padding:8px 12px 16px}
 .pf-room-totals{flex-basis:100%;width:calc(100% - 26px);margin-left:26px;padding:0;grid-template-columns:repeat(2,minmax(0,1fr))}
 .pf-room-totals>span{padding:0 18px;white-space:normal;overflow-wrap:anywhere;gap:6px}
 .pf-room-totals strong{font-size:15px}
}

/* Completed purchases and resolved statuses share the Done green. */
.pf-status-not_required{--pf-tag-bg:#e1eee6;--pf-tag-fg:#3d6d53;--pf-dot:#659077}
.pf-page .pf-group .pf-table tbody tr.pf-status-done,.pf-page .pf-group .pf-table tbody tr.pf-status-done>td{background:#e1eee6}
.pf-room-progress{flex-basis:100%;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:#4c6255;line-height:1.5}
.pf-room-progress progress{width:110px;height:6px;accent-color:#659077;border:0;border-radius:4px;overflow:hidden}
.pf-room-progress progress::-webkit-progress-bar{background:#ffffff80}
.pf-room-progress progress::-webkit-progress-value{background:#659077}
.pf-room-progress progress::-moz-progress-bar{background:#659077}
.pf-quick-dialog .pf-quick-purchase{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:16px 0 0}
.pf-quick-dialog .pf-quick-purchase[hidden]{display:none}
.pf-quick-purchase button{min-height:42px;padding:8px 12px}
.pf-quick-purchase .pf-dialog-error{grid-column:1/-1;padding:0}
.pf-quick-purchase .pf-dialog-error:empty{display:none}
.pf-more-actions{margin-top:16px;border-top:1px solid #e5e3df;padding-top:6px}
.pf-more-actions>summary{padding:10px 0;font-size:14px;cursor:pointer;color:#69717c}
.pf-more-actions .pf-quick-buttons{margin-top:4px}


/* Compact six-column checklist; all status and phase hues are distinct. */
.pf-status-not_started{--pf-tag-bg:#eeeef0;--pf-tag-fg:#555860;--pf-dot:#8b8e96}
.pf-status-pending_collection{--pf-tag-bg:#fff0d5;--pf-tag-fg:#795817;--pf-dot:#a27a2c}
.pf-status-running_total{--pf-tag-bg:#dceef2;--pf-tag-fg:#326a78;--pf-dot:#518693}
.pf-status-in_cart{--pf-tag-bg:#f7e3ed;--pf-tag-fg:#874c69;--pf-dot:#ab6e8c}
.pf-status-ordered{--pf-tag-bg:#e1eafb;--pf-tag-fg:#426493;--pf-dot:#6986b0}
.pf-status-not_required{--pf-tag-bg:#e8e7da;--pf-tag-fg:#656441;--pf-dot:#85845c}
.pf-status-done{--pf-tag-bg:#e1eee6;--pf-tag-fg:#3d6d53;--pf-dot:#659077}
.pf-phase-1{--pf-tag-bg:#f5e5d8;--pf-tag-fg:#885d3c}
.pf-phase-2{--pf-tag-bg:#eee2f6;--pf-tag-fg:#79548e}
.pf-phase-3{--pf-tag-bg:#e6e4fa;--pf-tag-fg:#605996}
.pf-page .pf-group .pf-table tbody tr[data-item]>td{background:var(--pf-tag-bg,#eeeef0);border-bottom:1px solid #c5ccc7;border-right:1px solid #c5ccc7;border-left:0}
.pf-page .pf-group .pf-table th{border-bottom:1px solid #c5ccc7;border-right:1px solid #c5ccc7}
.pf-page .pf-group .pf-table .pf-tag-label{white-space:nowrap}
.pf-page .pf-group .pf-table .pf-cost{white-space:nowrap;font-variant-numeric:tabular-nums}
.pf-sort-rule{display:grid;grid-template-columns:18px 1fr 1fr;gap:8px;align-items:center;padding:12px 0;border-bottom:1px solid #ddd}
.pf-sort-buttons{grid-column:2/-1;display:flex;gap:8px}
.pf-sort-buttons button{min-width:40px;min-height:40px}
.pf-quick-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.pf-page .pf-group .pf-table{min-width:708px}
@media(max-width:760px){
 .pf-page .pf-group .pf-table,.pf-page .pf-group .pf-table thead,.pf-page .pf-group .pf-table tbody,.pf-page .pf-group .pf-table tfoot,.pf-page .pf-group .pf-table tr{width:708px!important;min-width:708px!important}
 .pf-page .pf-group .pf-table tr>[data-column=item]{--pf-mobile-col:200px}
 .pf-page .pf-group .pf-table tr>[data-column=budget],.pf-page .pf-group .pf-table tr>[data-column=actual]{--pf-mobile-col:90px}
 .pf-page .pf-group .pf-table tr>[data-column=status]{--pf-mobile-col:142px}
 .pf-page .pf-group .pf-table tr>[data-column=phase]{--pf-mobile-col:76px}
 .pf-page .pf-group .pf-table tr>[data-column=supplier]{--pf-mobile-col:110px}
 .pf-page .pf-group .pf-table tbody td{height:44px;min-height:44px;padding:0 6px}
 .pf-page .pf-group .pf-table tfoot .pf-total-row{width:100cqw!important;min-width:0!important}
 .pf-quick-dialog .pf-quick-purchase{grid-template-columns:minmax(0,1fr)}
 .pf-sort-rule{grid-template-columns:18px minmax(0,1fr)}
 .pf-sort-rule>label{grid-column:2}.pf-sort-rule>span{grid-column:1;grid-row:1}
}

/* Fit operational values; keep badges visible against the status-tinted rows. */
.pf-page .pf-group .pf-table .pf-tag-label{background:color-mix(in srgb,var(--pf-tag-bg) 45%,white 55%);border:1px solid color-mix(in srgb,var(--pf-tag-fg) 24%,transparent);padding:0 5px;line-height:20px}
.pf-page .pf-group .pf-table th[data-column=budget],.pf-page .pf-group .pf-table th[data-column=actual],.pf-page .pf-group .pf-table th[data-column=phase],.pf-page .pf-group .pf-table td[data-column=budget],.pf-page .pf-group .pf-table td[data-column=actual],.pf-page .pf-group .pf-table td[data-column=phase]{text-align:center;justify-content:center;padding-left:6px;padding-right:6px}
.pf-page .pf-group .pf-table .pf-cost{text-align:center}
.pf-page .pf-group .pf-table td[data-column=actual]{position:relative}
.pf-page .pf-group .pf-table td[data-column=actual] .pf-partial-label{display:none}
.pf-page .pf-group .pf-table th[data-column=budget] .pf-column-handle,.pf-page .pf-group .pf-table th[data-column=actual] .pf-column-handle,.pf-page .pf-group .pf-table th[data-column=phase] .pf-column-handle{text-align:center}
@media(max-width:760px){
 .pf-page .pf-group .pf-table,.pf-page .pf-group .pf-table thead,.pf-page .pf-group .pf-table tbody,.pf-page .pf-group .pf-table tfoot,.pf-page .pf-group .pf-table tr{width:var(--pf-table-width,708px)!important;min-width:var(--pf-table-width,708px)!important}
 .pf-page .pf-group .pf-table tr>[data-column=budget]{--pf-mobile-col:var(--pf-width-budget,64px)}
 .pf-page .pf-group .pf-table tr>[data-column=actual]{--pf-mobile-col:var(--pf-width-actual,64px)}
 .pf-page .pf-group .pf-table tr>[data-column=status]{--pf-mobile-col:var(--pf-width-status,126px)}
 .pf-page .pf-group .pf-table tr>[data-column=phase]{--pf-mobile-col:var(--pf-width-phase,60px)}
 .pf-page .pf-group .pf-table tfoot .pf-total-row{width:100cqw!important;min-width:0!important}
}

/* Centre the content itself, not only its containing cell. */
.pf-page .pf-group .pf-table :is(th,td):is([data-column=budget],[data-column=actual]){vertical-align:middle;text-align:center;align-items:center;justify-content:center}
.pf-page .pf-group .pf-table :is([data-column=budget],[data-column=actual]) :is(.pf-cost,.pf-column-handle){display:inline-flex;align-items:center;justify-content:center;text-align:center;width:100%;margin:0;padding:0;line-height:20px}
.pf-page .pf-group .pf-table tbody td.pf-number:is([data-column=budget],[data-column=actual]){justify-content:center;align-items:center;text-align:center}

.pf-page .pf-budget-overview{gap:0;border:1px solid #d9dfdb;background:#f7f8f7}
.pf-page .pf-budget-overview>div{padding:18px 20px;gap:8px;min-width:0}
.pf-page .pf-budget-overview>div:nth-child(3){border-left:6px solid white}
.pf-page .pf-budget-overview>div>span{font-size:13px;font-weight:500;color:#4d5952;min-height:22px}
.pf-page .pf-budget-overview strong{font-size:26px;line-height:1.2;color:#343f39;font-weight:500;overflow-wrap:anywhere}
.pf-page .pf-budget-overview small{line-height:1.45;color:#657068}
.pf-page .pf-budget-overview .pf-metric-balance{background:#edf3f8}
.pf-page .pf-budget-overview .pf-metric-balance strong{color:#365b78}
.pf-page .pf-budget-overview .pf-metric-positive{background:#eaf4ed}
.pf-page .pf-budget-overview .pf-metric-positive strong,.pf-page .pf-budget-overview .pf-metric-positive>span{color:#38694a}
.pf-page .pf-budget-overview .pf-metric-warning{background:#fbf1df}
.pf-page .pf-budget-overview .pf-metric-warning strong,.pf-page .pf-budget-overview .pf-metric-warning>span{color:#866023}
.pf-page .pf-budget-overview .pf-metric-neutral{background:#f2f3f2}
@media(max-width:760px){
 .pf-page .pf-budget-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pf-page .pf-budget-overview>div{padding:14px 12px;gap:6px}
 .pf-page .pf-budget-overview>div:nth-child(3){border-left:0}
 .pf-page .pf-budget-overview>div:nth-child(n+3){border-top:6px solid white}
 .pf-page .pf-budget-overview strong{font-size:23px}
}
/* Phase headers need their own wrapping layout, like room headers. */
.pf-page .pf-group:not(.pf-room-group)>summary{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:12px}
.pf-page .pf-group:not(.pf-room-group)>summary .pf-group-title{display:flex;align-items:center;gap:8px;min-width:0;width:100%}
.pf-page .pf-group:not(.pf-room-group)>summary .pf-room-more{margin-left:auto;flex-shrink:0}
.pf-page .pf-group:not(.pf-room-group)>summary .pf-room-progress{display:flex;align-items:center;gap:10px;flex-wrap:wrap;width:100%;min-width:0}
.pf-page .pf-group:not(.pf-room-group)>summary .pf-group-meta{text-align:left;white-space:normal;line-height:1.4}
.pf-page .pf-group:not(.pf-room-group)>summary .pf-group-meta{max-width:none;width:100%}
.pf-page .pf-budget-overview>div{justify-content:flex-start}

.pf-complete-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border:1px solid #a9c9b5;border-radius:20px;background:#e4f2e9;color:#2c6343;font-size:13px;font-weight:500;white-space:nowrap}
.pf-page .pf-group-complete>summary{box-shadow:inset 4px 0 #67977a}
.pf-quick-purchase .pf-purchase-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;grid-column:1/-1}
.pf-purchase-actions button{min-height:44px;white-space:normal;padding:10px;font-size:14px}
.pf-quick-purchase>label,.pf-quick-purchase>.pf-amount-help,.pf-quick-purchase>[data-replace-confirm]{grid-column:1/-1}
.pf-quick-purchase [hidden]{display:none!important}
.pf-amount-help{margin:0;font-size:13px}

/* All items shows Room beside Item without increasing row height. */
.pf-room-cell{display:block;min-width:0;max-width:100%}
.pf-room-cell>.pf-room-tag{display:block;width:fit-content;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:20px}
@media(max-width:760px){.pf-page .pf-group .pf-table tr>[data-column=room]{--pf-mobile-col:140px}}

.damage-page{width:100%;max-width:1024px;margin:0 auto;padding:16px 0 48px;color:#343b3e;font-size:14px}.damage-page *{box-sizing:border-box}.damage-page h1{font-size:24px;font-weight:600;margin:0}.damage-page h2{font-size:16px;font-weight:550;margin:0}.damage-header,.damage-header>div,.damage-actions,.damage-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.damage-header{justify-content:space-between;margin-bottom:20px}.damage-header>div{gap:20px}.damage-header [data-save-status]{font-size:12px;color:#65747b}.damage-fields{border:0;padding:0;margin:0;min-width:0}.damage-card{background:#fff;border:1px solid #dfe4e5;border-radius:12px;padding:20px;margin:0 0 16px}.damage-page label{display:flex;flex-direction:column;gap:7px;font-weight:500;min-width:0;margin:0 0 16px}.damage-page label:last-child{margin-bottom:0}.damage-page label small{font-weight:400;color:#78858b;font-size:12px;display:contents}.damage-page input,.damage-page select,.damage-page textarea{width:100%;max-width:100%;min-width:0;border:1px solid #cfd7db;border-radius:7px;background:#fff;color:#30383d;padding:10px 12px;font:400 16px/1.5 Inter,system-ui,sans-serif;min-height:44px;box-sizing:border-box}.damage-page input[type=date]{appearance:none;-webkit-appearance:none;height:46px;min-width:0;display:block}.damage-page textarea{resize:vertical}.damage-page input:focus,.damage-page select:focus,.damage-page textarea:focus{outline:2px solid #b5a662;outline-offset:2px}.damage-grid{display:grid;grid-template-columns:2fr 1fr;gap:16px}.damage-item>header{display:flex;justify-content:space-between;align-items:center;margin:0 0 14px}.damage-remove-item{background:transparent;border:0;color:#7c4e4e;min-height:40px;font:400 13px Inter,system-ui;cursor:pointer;padding:8px}.damage-remove-item:hover{background:#faf3f3;border-radius:6px}.damage-photo-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-weight:500}.damage-photo-label small{font-weight:400;color:#74818a}.damage-photos{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 16px;min-width:0}.damage-photo,.damage-add-photo{min-width:0;aspect-ratio:1/1;border-radius:10px;position:relative;overflow:hidden;background:#f5f7f7;border:1px solid #dce2e4;max-height:160px}.damage-photo>button:first-child{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.damage-photo img{display:block;width:100%;height:100%;object-fit:contain}.damage-page .damage-add-photo{margin:0;display:flex;justify-content:center;align-items:center;cursor:pointer;border:1.5px dashed #bbc6cc;min-height:44px;color:#67767e}.damage-add-photo:hover,.damage-add-photo:focus-within{background:#fffaf0;border-color:#9b905d;outline:2px solid #d3c591;outline-offset:1px}.damage-add-photo>svg{height:26px;width:26px;pointer-events:none}.damage-add-photo>span{font-size:30px;font-weight:400}.damage-page .damage-add-photo input{position:absolute;inset:0;width:100%;height:100%;min-height:0;opacity:0;cursor:pointer;padding:0}.damage-photo .damage-remove-photo{position:absolute;top:0;right:0;width:40px;height:40px;border:0;border-radius:0 8px 0 12px;background:#fffef0ed;color:#5d4242;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:10px}.damage-remove-photo svg{width:20px;height:20px}.damage-photo-pending{position:absolute;bottom:2px;left:3px;right:3px;background:#fffce5;font-size:10px;text-align:center;pointer-events:none}.damage-cost{max-width:350px}.damage-footer{justify-content:space-between;padding-top:20px;margin-top:16px;border-top:1px solid #e1e5e7}.damage-footer [data-damage=delete]{color:#985757;border-color:#c79393;background:#fff}.damage-total{display:flex;justify-content:space-between;gap:16px;background:#f0f3f2;border-left:3px solid #d9bd45;padding:16px;margin-top:24px}.damage-total strong{font-size:20px;font-weight:500}.damage-total[hidden],.damage-error[hidden],.damage-pending[hidden]{display:none}.damage-error,.damage-pending,.damage-resume{padding:12px 16px;border:1px solid #d9c3aa;background:#fffcf4;border-radius:8px;margin-bottom:16px;display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}.damage-error{color:#914a49}.damage-error span{flex:1;min-width:180px}.damage-pending{margin:16px 0}.damage-search{max-width:420px}.damage-report-row{width:100%;display:flex;align-items:center;gap:16px;text-align:left;background:#fff;border:1px solid #e0e5e7;border-radius:10px;padding:16px;margin-bottom:10px;font:400 14px Inter,system-ui;cursor:pointer;color:inherit}.damage-report-row:hover{background:#fafbf9;border-color:#bbc6cc}.damage-report-row>span:first-child{flex:1;min-width:0}.damage-report-row strong{display:block;font-weight:500;font-size:15px;overflow-wrap:anywhere}.damage-report-row small{display:block;color:#6d7a80;margin-top:5px;overflow-wrap:anywhere}.damage-report-row>svg{width:20px}.damage-empty{padding:40px 20px;text-align:center;color:#6d797f;background:#fff;border-radius:10px;border:1px solid #e3e8e9}.damage-page button:focus-visible,.damage-preview button:focus-visible,.damage-lightbox button:focus-visible{outline:2px solid #aa9650;outline-offset:3px}.damage-page button:disabled{opacity:.55;cursor:default}.damage-page button.primary-btn,.damage-page button.secondary-btn,.damage-preview button,.damage-lightbox button{min-height:40px;font-weight:500;font-size:14px;white-space:normal}.damage-preview,.damage-lightbox{border:0;border-radius:12px;padding:0;box-shadow:0 20px 80px #0005;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.damage-preview::backdrop,.damage-lightbox::backdrop{background:#121c26b8}.damage-preview{width:960px;height:calc(100dvh - 40px);background:#edf0f0}.damage-preview[open]{display:flex;flex-direction:column}.damage-preview>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#fff;flex-shrink:0}.damage-preview h2{font:500 16px Inter,system-ui;margin:0}.damage-preview header>div{display:flex;gap:8px}.damage-preview [data-preview-error]{padding:10px 16px;color:#914a49}.damage-pdf-pages{padding:12px;overflow:auto;min-height:0;overscroll-behavior:contain;display:flex;flex-direction:column;align-items:center;gap:16px}.damage-pdf-pages canvas{width:100%;height:auto;flex-shrink:0;background:white;box-shadow:0 1px 5px #0002}.damage-lightbox{width:fit-content;background:#172027;padding:52px 12px 12px}.damage-lightbox>button{position:absolute;top:7px;right:12px;background:#fff}.damage-lightbox img{display:block;max-width:min(1100px,calc(100vw - 48px));max-height:calc(100dvh - 100px);object-fit:contain}.damage-page [aria-busy=true]{cursor:progress}@media(max-width:600px){.damage-page{padding:12px 0 32px}.damage-header{gap:10px}.damage-header>div{gap:12px;align-items:flex-start;flex-direction:column}.damage-page h1{font-size:22px}.damage-card{padding:16px}.damage-grid{grid-template-columns:minmax(0,1fr);gap:0}.damage-photos{gap:6px}.damage-photo,.damage-add-photo{border-radius:8px}.damage-cost{max-width:none}.damage-footer{align-items:stretch}.damage-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.damage-preview>header{padding:10px;align-items:flex-start}.damage-preview h2{font-size:14px;padding-top:10px}.damage-preview header>div{gap:6px}.damage-preview header button{padding:9px 10px}.damage-report-row{gap:10px;padding:14px}.damage-report-row>span:nth-child(2){font-size:12px;white-space:nowrap}}

.damage-details>.damage-grid{margin-bottom:16px}.damage-grid>label{margin-bottom:0}.damage-lightbox-actions{position:absolute;top:7px;right:12px;display:flex;gap:8px}.damage-lightbox-actions button{background:#fff}.damage-lightbox-actions [data-remove]{color:#965959}@media(max-width:600px){.damage-grid{gap:16px}.damage-photo .damage-remove-photo{display:none}}
