.service-toolbar{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:18px}.service-toolbar>label{display:grid;gap:6px;flex:1 1 160px;min-width:0}.service-toolbar>.service-search{flex:2 1 240px}.service-layout{display:grid;grid-template-columns:minmax(170px,240px) minmax(0,1fr);gap:24px}.service-room-list{display:flex;flex-direction:column;gap:10px;max-height:70vh;overflow:auto}.service-room-list button{text-align:left;display:grid;gap:7px;flex:none}.service-room-list small{font-weight:400;color:var(--muted)}.service-room-list button.active{outline:2px solid var(--ink);outline-offset:-2px}.service-room-heading{display:flex;justify-content:space-between;gap:14px;align-items:center}.service-room-heading h2{margin:0}.service-room-heading p{margin-bottom:18px}.service-checklist{min-width:950px}.service-checklist td{vertical-align:middle}.service-checklist td:nth-child(2){min-width:160px}.service-checklist input[data-rs-qty],.service-checklist input[data-rs-return]{width:100px;min-width:100px}.service-checklist select{min-width:155px}.service-checklist textarea{min-width:150px;min-height:42px}.service-checklist .checkbox-row{white-space:nowrap}.service-dialog{width:min(760px,calc(100% - 28px));max-height:90vh;overflow:auto}.service-dialog form>label,.service-notes{display:grid;gap:6px;margin-top:18px}.service-dialog .checkbox-row{display:flex;align-items:center;gap:10px}.service-dialog input[type=checkbox],.service-checklist input[type=checkbox]{width:auto;flex:none;margin:0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:20px}.service-warning{color:#b42318;font-weight:700}.service-error{color:#b42318}.service-success{font-weight:650}.service-dnd{font-weight:700;color:#b42318}.service-checklist .service-outcome-failed{color:#b42318}html[data-theme=dark] .service-warning,html[data-theme=dark] .service-error,html[data-theme=dark] .service-dnd{color:#ff8a80}#rsDetail{min-width:0}#rsDetail details,#breakfastView details{margin-top:24px}#apVisits{display:grid;gap:8px;margin-top:14px}#bfPaymentFields{margin-top:18px}#rsVisitState{overflow-wrap:anywhere}@media(max-width:1000px){.service-layout{grid-template-columns:minmax(0,1fr)}.service-room-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));max-height:250px}.service-room-list button{align-content:start}}@media(max-width:600px){.service-toolbar>label{flex-basis:100%}.service-toolbar .toolbar-actions{width:100%}.service-room-heading{flex-wrap:wrap}.service-dialog .form-grid{grid-template-columns:1fr}.service-dialog .dialog-actions>button{flex:1}.service-toolbar .toolbar-actions>button{max-width:100%}}

.service-checklist td:nth-child(2) strong,.service-checklist td:nth-child(2) small{display:block}.service-checklist td:nth-child(2) small{margin-top:5px;color:var(--muted);font-weight:400}.service-checklist .checkbox-row{display:inline-flex;align-items:center;gap:8px;min-width:90px}

#ruleForm .form-grid{align-items:start}#ruleForm .form-grid>label{display:flex;flex-direction:column;gap:6px;min-width:0}.rule-field-help{display:block;color:var(--muted);font-size:.82rem;font-weight:400;line-height:1.45;letter-spacing:normal}.rule-setup-guide{border:1px solid var(--line);border-radius:12px;margin-top:20px;padding:14px 16px;background:var(--surface-soft)}.rule-setup-guide summary{cursor:pointer;font-weight:650}.rule-guide-content{font-size:.9rem;line-height:1.55}.rule-guide-content p{margin:12px 0 0}.rule-guide-content ul{margin:10px 0;padding-left:22px}.rule-guide-content li+li{margin-top:6px}

#ciForm .form-grid{align-items:start}#ciForm .form-grid>label{display:flex;flex-direction:column;gap:6px;min-width:0}.rule-readonly{display:flex;align-items:center;min-height:44px;min-width:0;overflow-wrap:anywhere;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);font-weight:400}.rule-unlinked{display:block;margin-top:4px;color:var(--muted);font-size:.8rem}
