/* Hotel operations use the existing Byggspor shell and warm module heading. */
.hotel-card{padding:24px;background:#fff;border:1px solid #dce3e6;border-radius:12px;color:#183340;font:400 15px/1.5 var(--bs-font-family)}
.hotel-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:24px}
.hotel-metrics button{border:0;border-right:1px solid #e1e8eb;background:#fff;color:#536b79;font:400 14px var(--bs-font-family);padding:8px 12px;cursor:pointer}
.hotel-metrics button:last-child{border-right:0}.hotel-metrics strong{display:block;margin-top:7px;color:#183340;font-size:28px;font-weight:650}.hotel-metrics .pending strong{color:#a66300}.hotel-metrics .booked strong{color:#16835b}.hotel-metrics .cancelled strong{color:#65747d}.hotel-metrics .changed strong{color:#bd3437}
.hotel-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:14px;margin-bottom:18px}.hotel-toolbar label{display:grid;gap:6px;min-width:130px}.hotel-toolbar label>span{font-size:14px;color:#536b79}.hotel-toolbar input,.hotel-toolbar select,.hotel-form input:not([type=checkbox]),.hotel-form select,.hotel-form textarea,.hotel-needs select,.hotel-group-actions select{width:100%;min-height:42px;border:1px solid #cbd6da;border-radius:7px;padding:9px 11px;background:#fff;color:#183340;font:400 15px/1.4 var(--bs-font-family);box-sizing:border-box}
.hotel-toolbar input[type=date]{min-width:150px}.hotel-search{flex:1}.hotel-toolbar .secondary-btn{height:42px}.hotel-overview-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #e1e8eb;padding:16px 0}.hotel-overview-actions>span{color:#536b79;font-size:14px}
.hotel-group{border:1px solid #dce3e6;border-radius:10px;margin-bottom:16px;overflow:hidden}.hotel-group>header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;padding:14px 16px;background:#f0f5f7}.hotel-group-select{display:flex;align-items:center;gap:14px}.hotel-group-select strong{display:block;font-size:19px;font-weight:600}.hotel-group-select small{display:block;margin-top:3px;font-size:13px;color:#536b79}.hotel-group input[type=checkbox],.hotel-form input[type=checkbox]{appearance:auto;accent-color:#16835b;width:18px;height:18px;margin:0;flex:none}.hotel-group-actions{display:flex;align-items:center;gap:10px}.hotel-group-actions select{width:190px}.hotel-group-actions button{white-space:nowrap}
.hotel-table-wrap{overflow-x:auto}.hotel-group table{width:100%;border-collapse:collapse;table-layout:fixed}.hotel-group th{font:600 12px var(--bs-font-family);text-transform:uppercase;color:#536b79;background:#fafcfd;text-align:left;padding:10px 16px}.hotel-group td{padding:11px 16px;border-top:1px solid #e5ebee;font-size:15px;vertical-align:middle;overflow-wrap:anywhere}.hotel-group td strong{font-weight:500}.hotel-group td small{display:block;color:#65747d;font-size:13px}.hotel-group th:first-child{width:29%}.hotel-group th:nth-child(2){width:24%}.hotel-group th:nth-child(3){width:25%}.hotel-group .hotel-booked-col{width:13%;text-align:center}.hotel-group th:last-child{width:9%}.hotel-row-menu{width:38px;min-height:34px;background:transparent;border:0;border-radius:6px;color:#234052;cursor:pointer;letter-spacing:2px}.hotel-row-menu:hover{background:#eaf0f3}
.hotel-status{font-weight:500}.hotel-status.pending{color:#996400}.hotel-status.booked{color:#16835b}.hotel-status.cancelled,.hotel-status.not_required{color:#65747d}.hotel-status.changed{color:#b43132}.hotel-status.unknown{color:#65747d}.hotel-selection{padding-top:10px;color:#65747d;font-size:13px}.hotel-empty{padding:32px 12px;text-align:center;color:#536b79}.hotel-empty button{padding:10px 16px;margin-top:10px}
.hotel-dialog{padding:0;width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 40px);border:1px solid #d4dfe4;border-radius:14px;color:#183340;background:#fff;box-shadow:0 24px 80px #08192247;font:400 15px/1.5 var(--bs-font-family)}.hotel-dialog::backdrop{background:#102a3a66}.hotel-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;background:#f4f1eb;padding:22px 24px}.hotel-dialog h2{font-size:24px;font-weight:600;margin:0}.hotel-dialog>header p{margin:5px 0 0;color:#536b79;font-size:14px}.hotel-dialog>header button{width:36px;height:36px;background:transparent;border:0;font-size:24px;color:#536b79;cursor:pointer}.hotel-dialog-body{padding:24px;overflow-y:auto;max-height:calc(100dvh - 240px)}.hotel-dialog>footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid #e1e8eb;background:#fff}.hotel-dialog button,.hotel-card button{font-family:var(--bs-font-family);font-size:15px}.hotel-dialog .primary-small,.hotel-dialog .secondary-btn,.hotel-card .secondary-btn,.hotel-danger{min-height:42px;padding:9px 14px;border-radius:7px;cursor:pointer}.hotel-dialog .primary-small{border:1px solid #e53b36;background:#e53b36;color:#fff}.hotel-dialog .secondary-btn,.hotel-card .secondary-btn{border:1px solid #cbd6da;background:#fff;color:#183340}.hotel-danger{border:1px solid #ebc6c6;background:#fff7f6;color:#b43132}.hotel-dialog :disabled,.hotel-card :disabled{cursor:default;opacity:.55}.hotel-dialog :focus-visible,.hotel-card :focus-visible{outline:3px solid #6f8996;outline-offset:2px}
.hotel-form h3{margin:0 0 14px;font-size:18px;font-weight:600}.hotel-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}.hotel-form label{display:grid;gap:5px;font-size:14px;color:#536b79}.hotel-wide{grid-column:1/-1}.hotel-form .hotel-check{display:flex;align-items:center;gap:9px;margin:18px 0;color:#183340;font-size:15px}.hotel-form input[type=file]{font-size:14px;padding:10px;max-width:100%}.hotel-form textarea{resize:vertical}.hotel-agreement{padding-top:18px;margin-top:18px;border-top:1px solid #e1e8eb}.hotel-agreement summary{font-size:17px;font-weight:600;color:#183340;cursor:pointer;margin-bottom:16px}.hotel-agreement summary small{font-size:13px;font-weight:400;color:#65747d;margin-left:8px}.hotel-contract{margin-top:18px;padding:16px;background:#f7f9fa;border:1px dashed #bdcdd7;border-radius:8px}.hotel-contract strong{font-size:15px}.hotel-contract p,.hotel-contract small{display:block;color:#65747d;font-size:13px}.hotel-contract-file{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0}.hotel-contract-file>button:first-child,.hotel-text-button{border:0;background:transparent;padding:4px 0;text-align:left;color:#285c7a;cursor:pointer;overflow-wrap:anywhere}.hotel-contract-file>button:last-child{font-size:13px;white-space:nowrap}.hotel-text-button{text-decoration:underline}.hotel-manager-dialog{width:min(1020px,calc(100vw - 32px))}.hotel-manager{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px}.hotel-manager>aside{border-right:1px solid #e1e8eb;padding-right:20px}.hotel-list-title{display:flex;gap:10px;align-items:center;margin-bottom:12px}.hotel-list-title strong{font-size:18px}.hotel-list-title span{padding:1px 7px;background:#eef3f5;border-radius:5px}.hotel-manager>aside>.secondary-btn{width:100%;margin-bottom:12px}.hotel-manager nav{display:grid;gap:6px}.hotel-manager nav button{display:block;width:100%;border:0;border-left:3px solid transparent;border-radius:7px;background:#fff;text-align:left;padding:14px 12px;color:#183340;cursor:pointer}.hotel-manager nav button strong{display:block;font-size:16px;font-weight:600}.hotel-manager nav button small{display:block;margin-top:4px;color:#65747d;font-size:13px}.hotel-manager nav button.active{background:#eaf5f0;border-left-color:#2d8f68}.hotel-hint{font-size:14px;color:#65747d}.hotel-needs{display:grid;gap:10px}.hotel-needs label{display:grid;grid-template-columns:1fr 230px;align-items:center;gap:14px;padding:10px 0;border-bottom:1px solid #e1e8eb}.hotel-needs strong{font-weight:500}.hotel-warning{padding:14px;background:#fff5e3;color:#825811;border-radius:7px}.hotel-error{margin:0;padding:12px 24px;background:#fff1ee;color:#a72a2a}.hotel-stay-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.hotel-history{list-style:none;padding:0;margin:0}.hotel-history li{border-left:3px solid #b8d4c7;padding:2px 0 16px 18px;margin:0 0 16px}.hotel-history strong{display:block}.hotel-history small{display:block;color:#65747d;font-size:13px}.hotel-history p{margin:8px 0 0;font-size:14px}.hotel-email-bundle{margin-bottom:24px}.hotel-email-bundle header{display:flex;justify-content:space-between;align-items:center;gap:14px}.hotel-email-bundle h3{margin:0}.hotel-email-bundle p{margin:6px 0;color:#65747d;font-size:14px}.hotel-email-bundle textarea{width:100%;box-sizing:border-box;border:1px solid #cbd6da;border-radius:7px;padding:14px;color:#183340;font:400 14px/1.6 var(--bs-font-family);resize:vertical}.hotel-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
#hotelPrintSheets{display:none}
@media(max-width:760px){.hotel-card{padding:16px}.hotel-metrics{grid-template-columns:repeat(3,1fr);gap:14px}.hotel-metrics button{padding:5px;font-size:12px}.hotel-metrics strong{font-size:23px}.hotel-toolbar{gap:10px}.hotel-toolbar label{flex:1;min-width:135px}.hotel-group>header{padding:12px}.hotel-group-select strong{font-size:17px}.hotel-group-actions{width:100%}.hotel-group-actions select{flex:1;min-width:0}.hotel-group table{min-width:650px}.hotel-manager{grid-template-columns:1fr;gap:20px}.hotel-manager>aside{border:0;padding:0}.hotel-manager nav{display:flex;overflow-x:auto}.hotel-manager nav button{min-width:170px}.hotel-dialog-body{padding:18px}.hotel-dialog>header{padding:18px}.hotel-dialog h2{font-size:22px}.hotel-needs label{grid-template-columns:1fr}.hotel-fields{gap:12px}.hotel-overview-actions{align-items:flex-start;flex-direction:column}}
@media(max-width:440px){.hotel-fields{grid-template-columns:1fr}.hotel-wide{grid-column:auto}.hotel-group-actions{flex-wrap:wrap}.hotel-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.hotel-dialog-body{max-height:calc(100dvh - 210px)}.hotel-email-bundle header{align-items:flex-start;flex-direction:column}.hotel-contract-file{flex-wrap:wrap}}
@media print{
  @page{size:A4 portrait;margin:15mm}
  body.hotel-printing> *:not(#hotelPrintSheets){display:none!important}
  body.hotel-printing #hotelPrintSheets{display:block!important;font:11pt/1.45 Arial,sans-serif;color:#18252d}
  body.hotel-printing{background:white!important}
  .hotel-order-sheet{break-after:page}.hotel-order-sheet:last-child{break-after:auto}
  .hotel-order-sheet>header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #b8c7ce;padding-bottom:12px;margin-bottom:18px}.hotel-order-sheet img{width:150px;height:auto}.hotel-order-sheet h1{font-size:19pt}.hotel-order-sheet h2{font-size:15pt}.hotel-order-sheet h3{font-size:12pt;margin:0 0 6px}.hotel-order-sheet>section{break-inside:avoid;border-bottom:1px solid #dce3e6;padding:12px 0}.hotel-order-sheet p{margin:6px 0}.hotel-order-sheet ul{list-style:none;padding:0;margin:8px 0}.hotel-order-sheet li{margin:2px 0}.hotel-order-sheet>footer{margin-top:18px;font-size:10pt}
}
.hotel-review-banner{padding:9px 16px;text-align:center;background:#fff2d6;color:#684713;font:14px/1.4 var(--bs-font-family)}.hotel-review-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:14px 22px;border-radius:9px;background:#183340;color:white;z-index:9999;font:15px var(--bs-font-family);max-width:90vw}

.hotel-group-select,.hotel-form .hotel-check{flex-direction:row;text-align:left;justify-content:flex-start}
.hotel-manager,.hotel-manager>aside,.hotel-manager>form,.hotel-form label,.hotel-fields,.hotel-fields>*{min-width:0}
.hotel-form input,.hotel-form select,.hotel-form textarea{min-width:0;max-width:100%}
@media(max-width:760px){.hotel-manager{grid-template-columns:minmax(0,1fr)}.hotel-manager>aside{overflow:hidden}.hotel-manager nav button{flex:0 0 170px}.hotel-group-select{align-items:flex-start}.hotel-group-select input{margin-top:4px}}
/* Keep the visually hidden action heading inside the table's scroll container. */
.hotel-group th{position:relative}
.hotel-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px}
.hotel-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.hotel-metrics .action strong{color:#a66300}
@media(max-width:760px){.hotel-group table{min-width:0}.hotel-group thead{display:none}.hotel-group tbody,.hotel-group tr,.hotel-group td{display:block;width:100%;box-sizing:border-box}.hotel-group tr{padding:12px;border-top:1px solid #e5ebee}.hotel-group td{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px;border:0;padding:6px 0;min-width:0}.hotel-group td::before{content:attr(data-label);color:#536b79;font-size:14px;font-weight:600}.hotel-group td>*{grid-column:2}.hotel-group td strong{grid-row:1}.hotel-group td[data-label=Handling]{display:flex;justify-content:flex-end}.hotel-group td[data-label=Handling]::before{display:none}.hotel-status-select{width:100%}.hotel-selection{align-items:stretch}.hotel-selection button{flex:1}.hotel-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hotel-status-select{font:500 15px var(--bs-font-family);padding:8px 30px 8px 10px;border:1px solid #cbd6da;border-radius:6px;background:#fff;color:#183340;max-width:100%;min-width:155px}.hotel-status-select.booked{color:#16774f;border-color:#a8cdb7}.hotel-status-select.cancelled{color:#637580}.hotel-saved{display:block;color:#238158;font-size:12px}.hotel-stay-status{display:flex;align-items:center;gap:16px;margin-bottom:18px}.hotel-stay-status label{display:flex;flex-direction:row;align-items:center;gap:12px}.hotel-stay-status small,.hotel-cancel-note small{color:#637580;font-size:13px}.hotel-cancel-note{display:grid;gap:6px;margin-bottom:20px;font-size:14px}.hotel-cancel-note textarea{padding:10px;border:1px solid #cbd6da;border-radius:6px;font:15px var(--bs-font-family)}.hotel-choice{display:grid;gap:12px}.hotel-choice button{padding:14px;text-align:left;border:1px solid #cbd6da;border-radius:7px;background:#fff;color:#183340;cursor:pointer}.hotel-needs>div{display:grid;gap:10px;border-bottom:1px solid #e1e8eb;padding:12px 0}.hotel-need-switch{display:flex;align-items:center;gap:12px;text-align:left;border:0;border-radius:8px;padding:12px;background:#f4f7f8;color:#183340;width:100%;cursor:pointer}.hotel-need-switch>span{flex:1;display:grid}.hotel-need-switch small{color:#637580}.hotel-need-switch>i{display:flex;align-items:center;gap:8px;font-style:normal}.hotel-need-switch em{font-style:normal;font-size:12px}.hotel-need-switch svg{width:24px;fill:none;stroke:currentColor;stroke-width:1.6}.shift-plan-display-bar{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:9px 14px;border-bottom:1px solid #dce4e7;background:#fff;color:#536b79;font-family:var(--bs-font-family)}.shift-plan-display-bar .hotel-status-legend{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-right:auto;font-size:var(--bs-text-8)}.shift-plan-display-bar .hotel-status-legend>span,.shift-plan-display-bar .hotel-status-legend>label{display:flex;flex-direction:row;align-items:center;gap:6px}.shift-plan-display-bar .hotel-status-legend i{display:inline-block;width:24px;height:6px;border-radius:2px}.shift-plan-display-bar .hotel-status-legend .booked{background:#2b8a61}.shift-plan-display-bar .hotel-status-legend .pending{background:#fff2d2;border:1px dashed #aa761b}.shift-plan-display-bar .shift-booked-travel-legend{padding-left:14px}.shift-plan-display-bar .shift-toolbar-travel{min-height:34px}.shift-plan-display-bar .shift-toolbar-travel>span:first-child{font-size:var(--bs-text-9)}@media(max-width:760px){.shift-plan-display-bar{align-items:flex-start;gap:10px}.shift-plan-display-bar .hotel-status-legend{width:100%;margin-right:0}.shift-plan-display-bar .shift-booked-travel-legend{padding-left:0;border-left:0}}
.hotel-calendar-legend{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:10px 14px;color:#536b79;font:13px var(--bs-font-family)}.hotel-calendar-legend>span,.hotel-calendar-legend>label{display:flex;flex-direction:row;align-items:center;gap:6px}.hotel-calendar-legend i{display:inline-block;width:24px;height:6px;border-radius:2px}.hotel-calendar-legend .booked{background:#2b8a61}.hotel-calendar-legend .pending{background:#fff2d2;border:1px dashed #aa761b}.shift-grid td:has(.hotel-calendar-marker){position:relative;padding-bottom:13px!important}.shift-grid td>button.hotel-calendar-marker{position:absolute!important;bottom:0!important;left:0!important;width:100%!important;min-height:13px!important;height:13px!important;border:0!important;border-radius:0!important;padding:0!important;background:#2b8a61!important;color:#fff!important;font:700 11px/13px Arial!important;cursor:pointer;z-index:2}.shift-grid td>button.hotel-calendar-marker.pending{background:#fff2d2!important;border-block:1px dashed #aa761b!important;color:#805400!important}.shift-grid td>button.hotel-calendar-marker.cancelled{background:repeating-linear-gradient(135deg,#ced5d9,#ced5d9 3px,#f2f4f5 3px,#f2f4f5 6px)!important;color:#536b79!important}.shift-grid td>button.hotel-calendar-marker.changed{background:#b84337!important}.shift-grid td>button.hotel-start{border-left:3px solid #164b37!important;border-top-left-radius:4px!important}.shift-grid td>button.hotel-end{border-right:3px solid #164b37!important;border-top-right-radius:4px!important}.shift-grid td>button.hotel-calendar-marker:focus-visible{outline:3px solid #172e3e;outline-offset:2px;z-index:5}
.shift-grid td.hotel-stay-cell{position:static!important;padding:0!important;overflow:hidden}.shift-grid td.hotel-stay-cell>button[data-shift-cell]{height:50px!important;min-height:50px!important}.shift-grid td.hotel-stay-cell>button.hotel-calendar-marker{position:static!important;display:block!important;bottom:auto!important;left:auto!important;width:100%!important;min-height:13px!important;height:13px!important;margin:0!important;z-index:auto}.shift-grid td.hotel-stay-cell>button.hotel-calendar-marker.hotel-checkout-tail{width:50%!important;margin-right:50%!important}
@media(max-width:760px){.hotel-stay-status{flex-wrap:wrap}.hotel-calendar-legend{gap:10px}}
.hotel-holiday-list{display:grid;gap:12px;margin:20px 0}.hotel-holiday-list>label{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #e1e8eb}.hotel-holiday-list small{display:block;color:#637580}.hotel-holiday-list select{max-width:210px}.hotel-overview-actions{flex-wrap:wrap;gap:10px}.hotel-overview-actions>span{margin-right:auto}@media(max-width:600px){.hotel-holiday-list>label{display:grid}}
