.hotel{max-width:1440px;margin:0 auto;padding:24px 16px 48px;color:#243247}.hotel-narrow{max-width:940px}.hotel h1{font-size:2rem;font-weight:750;margin:12px 0 4px}.hotel h2,.hotel legend{font-size:1.15rem;font-weight:700;margin:12px 0 16px}.hotel-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.hotel-header p,.hotel-muted{color:#627086}.hotel-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hotel-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}.hotel-stats>div,.hotel-stats>a{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #dce4ef;border-radius:12px;padding:20px;color:inherit;text-decoration:none}.hotel-stats strong{font-size:2rem;line-height:1.2}.hotel-stats span{font-size:.9rem;color:#627086}.hotel-buildings{display:flex;gap:16px;margin-bottom:24px;flex-wrap:wrap}.hotel-buildings>a{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;background:#f4f7fb;padding:14px 18px;border-radius:10px;min-width:280px;flex:1;color:inherit;text-decoration:none}.hotel-buildings span{font-size:.88rem;text-align:right}.hotel-buildings progress{grid-column:1/-1;width:100%;height:7px;accent-color:#3f7de2}.hotel-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;background:#fff;border:1px solid #dce4ef;border-radius:12px;padding:16px;margin-bottom:20px}.hotel-toolbar input.form-control{flex:2;min-width:230px}.hotel-toolbar select{flex:1;min-width:150px;max-width:230px}.hotel-panel{padding:24px;background:#fff;border:1px solid #dce4ef;border-radius:12px;margin:20px 0}.hotel-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:16px;margin:16px 0 24px}.hotel-fields label{font-size:.9rem;font-weight:600}.hotel-fields label .form-control,.hotel-fields label .form-select{margin-top:6px;font-weight:400}.hotel-wide{grid-column:1/-1}.hotel-check{display:flex;align-items:center;gap:10px}.hotel-check input{width:18px;height:18px}.hotel-notes{grid-template-columns:1fr 1fr}.hotel-section-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 8px;gap:12px}.hotel-section-heading h2{margin:0}.hotel-table-wrap{overflow-x:auto;border:1px solid #dce4ef;border-radius:10px;background:#fff}.hotel-table{width:100%;border-collapse:collapse;text-align:left;font-size:.94rem}.hotel-table th{font-weight:650;background:#f5f7fa;color:#526177;white-space:nowrap}.hotel-table td,.hotel-table th{padding:14px 16px;border-bottom:1px solid #e5eaf2;vertical-align:middle}.hotel-table tr:last-child td{border-bottom:0}.hotel-table small{display:block;color:#627086;font-size:.82rem;margin-top:3px}.hotel-tires input{min-width:110px}.hotel-tires td:nth-child(2) input{min-width:175px}.hotel-tires td:nth-child(5) input{min-width:70px;max-width:100px}.hotel-tires td,.hotel-tires th{padding:10px}.hotel-badge{display:inline-block;font-size:.82rem;padding:5px 10px;background:#eef3fb;border-radius:6px}.hotel-empty{text-align:center;padding:40px!important;color:#627086}.hotel-map{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:12px;margin:16px 0 24px}.hotel-place{display:flex;align-items:center;flex-direction:column;gap:6px;padding:16px 10px;border:1px solid #dce4ef;border-radius:10px;text-decoration:none!important;color:#243247!important;background:#fff}.hotel-place strong{font-size:1.15rem}.hotel-place span,.hotel-place small{font-size:.8rem}.hotel-place--free{border-color:#a8d5bd;background:#f3fbf5}.hotel-place--reserved{border-color:#e5cb8d;background:#fff9ea}.hotel-place--stored{border-color:#d6c3ed;background:#f5effb;color:#7852a4!important}.hotel-place--disabled{border-style:dashed;background:#f1f2f4;color:#7c8490!important}.hotel-place[href]:hover{box-shadow:0 3px 12px #182f5620;transform:translateY(-1px)}.hotel-notice{padding:14px 18px;border-left:3px solid #3f7de2;background:#edf4ff;border-radius:4px;margin:18px 0}.hotel-identity{display:grid;grid-template-columns:2fr 2fr 1fr;gap:16px;background:#f4f7fb;border-radius:10px;padding:18px 24px}.hotel-identity small{display:block;color:#627086;margin-bottom:4px}.hotel-save{margin-top:24px;border-top:1px solid #e5eaf2;padding-top:20px}.hotel-operations,.hotel-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}.hotel-operations form{display:flex;flex-direction:column;gap:12px;align-items:flex-start}.hotel-operations label{width:100%}.hotel-operations select,.hotel-operations textarea{margin-top:6px}.hotel-lookup-results{display:flex;flex-direction:column;max-height:320px;overflow-y:auto;margin-top:10px;gap:4px}.hotel-lookup-results button{text-align:left;background:#f4f7fb;border:1px solid #e2e8f0;border-radius:6px;padding:10px 14px}.hotel-lookup-results button:hover{background:#e7effd}.hotel-pagination{display:flex;gap:20px;align-items:center;justify-content:flex-end;padding:16px 0}.hotel [hidden]{display:none!important}.hotel fieldset{min-width:0}.hotel fieldset:disabled .form-control,.hotel fieldset:disabled .form-select{color:#344155;background:#f8f9fb;opacity:1}.hotel a:focus-visible,.hotel button:focus-visible{outline:3px solid #3f7de2;outline-offset:3px}
@media(max-width:750px){.hotel{padding:16px 8px}.hotel-header{align-items:flex-start;flex-direction:column;gap:8px}.hotel-stats{grid-template-columns:1fr 1fr;gap:8px}.hotel-stats>div,.hotel-stats>a{padding:14px}.hotel-panel{padding:16px}.hotel-notes,.hotel-identity{grid-template-columns:1fr}.hotel-section-heading{align-items:flex-start;flex-direction:column}.hotel-toolbar select{max-width:none}.hotel-columns{grid-template-columns:1fr}}

/* Přehled Pneu Hotelu používá stejné panely, souhrny a ovládání jako ostatní moduly IS. */
.hotel-overview{max-width:none;min-width:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:1.1rem}
.hotel-overview__panel{border:1px solid rgba(176,200,237,.72);border-radius:1rem;background:rgba(255,255,255,.94);box-shadow:0 18px 42px -34px rgba(16,45,94,.8);overflow:hidden}
.hotel-overview .hotel-header{margin:0}
.hotel-overview__header{padding:1rem 1.15rem;align-items:center;background:rgba(248,251,255,.92)}
.hotel-overview__header-main{display:flex;align-items:center;gap:.8rem;min-width:0}
.hotel-overview__header-icon{width:2.75rem;height:2.75rem;flex:0 0 2.75rem;display:grid;place-items:center;border:1px solid #bdd0f2;border-radius:.85rem;background:#edf3ff;color:#4168ad;box-shadow:inset 0 1px 0 #fff}
.hotel-overview__header-icon svg{width:1.7rem;height:1.7rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hotel-overview__header-copy h1{margin:0;color:#0f2347;font-size:clamp(1.2rem,1.05rem + .55vw,1.55rem);font-weight:800;line-height:1.15}
.hotel-overview__header-copy p{margin:.25rem 0 0;color:#64748b;font-size:.82rem;line-height:1.3}
.hotel-overview__summary-panel{padding:.85rem}
.hotel-overview__summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}
.hotel-overview__summary-item{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.8rem;min-height:5.2rem;padding:1rem;border:1px solid #e2e8f1;border-radius:.9rem;background:linear-gradient(135deg,#fff,#f5f7fb);color:#263b5a;text-decoration:none;transition:border-color 150ms ease,box-shadow 150ms ease,background 150ms ease}
.hotel-overview__summary-item:hover{border-color:#b4c5df;background:#f0f5fc;box-shadow:0 6px 18px -12px #45618c}
.hotel .hotel-overview__summary-item:focus-visible{outline:2px solid #6485b8;outline-offset:2px}
.hotel-overview__summary-item.is-selected{border-color:#8da8d2;background:#edf3fc;box-shadow:inset 0 0 0 1px #b6c8e3}
.hotel-overview__summary-icon{width:2.5rem;height:2.5rem;display:grid;place-items:center;border-radius:.8rem;background:#eaf0f8;color:#607da6}
.hotel-overview__summary-icon svg{width:1.5rem;height:1.5rem;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.hotel-overview__summary-copy{min-width:0;display:grid;gap:.12rem}
.hotel-overview__summary-copy>span{font-size:.88rem;font-weight:650;line-height:1.3}
.hotel-overview__summary-copy small{color:#6b7b91;font-size:.7rem;font-weight:400;line-height:1.35}
.hotel-overview__summary-item>strong{color:#294365;font-size:1.9rem;font-weight:650;letter-spacing:-.04em;font-variant-numeric:tabular-nums;line-height:1}
.hotel-overview__buildings{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.75rem;padding:.85rem}
.hotel-overview__building{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.35rem .9rem;padding:.75rem .9rem;border:1px solid rgba(176,200,237,.55);border-radius:.8rem;background:#f8faff;color:#0f2347;text-decoration:none;transition:border-color 150ms ease,box-shadow 150ms ease,transform 150ms ease}
.hotel-overview__building:hover,.hotel-overview__building:focus-visible,.hotel-overview__building.is-selected{border-color:#7ca4ea;box-shadow:0 8px 20px -16px #315fae;outline:none;transform:translateY(-1px)}
.hotel-overview__building>span:first-child{display:grid;gap:.08rem}.hotel-overview__building small{color:#64748b;font-size:.76rem}.hotel-overview__building-count{align-self:center;color:#315fae;font-weight:750;font-variant-numeric:tabular-nums}.hotel-overview__building progress{grid-column:1/-1;width:100%;height:.4rem;border:0;border-radius:999px;overflow:hidden;accent-color:#3f7de2}
.hotel-overview__list-panel{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:.75rem;padding:1rem 1.15rem 1.15rem}
.hotel-overview__toolbar{display:grid;gap:.7rem;width:100%}
.hotel-overview__header-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.65rem}
.hotel-overview__header-actions .btn{white-space:nowrap}
.hotel-overview__search-input{flex:2 1 280px;min-width:220px;border-radius:999px}
.hotel-overview__filter-panel{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;padding:.75rem .85rem;border:1px solid rgba(148,163,184,.28);border-radius:1rem;background:rgba(255,255,255,.58);box-shadow:0 14px 30px rgba(15,23,42,.06)}
.hotel-overview__filter-panel .form-select{flex:1 1 170px;min-width:150px;width:auto;border-radius:999px}.hotel-overview__filter-panel .btn{border-radius:999px;white-space:nowrap}.hotel-overview__clear-filter{padding:.45rem .25rem;white-space:nowrap}
.hotel-search-error{margin:0;color:#b42318;font-size:.85rem}
.hotel-overview__search-row{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}
.hotel-overview__search-box{position:relative;flex:1 1 320px;max-width:640px;min-width:0}
.hotel-overview__search-box .hotel-overview__search-input{width:100%;min-width:0;padding-right:2.6rem}
.hotel-overview__clear-search{position:absolute;right:.5rem;top:50%;transform:translateY(-50%);border:0;border-radius:50%;background:#edf2fc;color:#48649d;width:1.8rem;height:1.8rem;font-size:1.3rem;line-height:1;cursor:pointer}
.hotel-overview__view{display:flex;align-items:center;gap:.65rem;margin-left:auto;color:#627086;font-size:.85rem}
.hotel-overview__view .form-select{width:auto;border-radius:999px}
.hotel-overview__search-help{margin:0;color:#627086;font-size:.8rem}
.hotel-overview__toolbar .hotel-overview__filter-panel{background:#f2f5fc;box-shadow:none;border-color:#e0e7f3}
.hotel-overview__filter-panel>strong{font-size:.85rem;color:#526177}
@media(max-width:600px){.hotel-overview__search-box{flex-basis:100%;max-width:none}.hotel-overview__view{margin-left:0}}
.hotel-overview .hotel-table-wrap{border:0;border-radius:1rem}.hotel-overview .hotel-table{min-width:850px;border:1px solid var(--entity-table-border);font-size:.95rem}.hotel-overview .hotel-table th{background:var(--entity-table-head-bg);color:#0f172a;font-weight:650}.hotel-overview .hotel-table td,.hotel-overview .hotel-table th{padding:.9rem 1.1rem;border:0}.hotel-overview .hotel-table tbody tr:nth-child(even){background:var(--entity-table-row-bg-b)}
.hotel-overview .hotel-pagination{padding:.2rem 0 0}.hotel-overview__map-help{margin:0;color:#64748b;font-size:.84rem}.hotel-overview .hotel-map{margin-bottom:.5rem}
@media(max-width:1100px){.hotel-overview__header{align-items:flex-start;flex-direction:column}.hotel-overview__header-actions{justify-content:flex-start}}
@media(max-width:800px){.hotel-overview__summary{grid-template-columns:repeat(2,minmax(0,1fr))}.hotel-overview__filter-panel{align-items:stretch;flex-direction:column}.hotel-overview__filter-panel .form-select,.hotel-overview__filter-panel .btn,.hotel-overview__search-input{flex:0 0 auto;width:100%;max-width:none;min-width:0}.hotel-overview__clear-filter{text-align:center}}
@media(max-width:520px){.hotel-overview__summary{grid-template-columns:1fr}.hotel-overview__summary-item{min-height:4.25rem}.hotel-overview__list-panel{padding:.8rem}}

/* Barevné rozlišení kapacity a vzdušnější horní část přehledu. */
.hotel-overview .hotel-overview__header{padding:1.2rem 1.3rem;background:rgba(248,251,255,.92);border-color:rgba(176,200,237,.72)}
.hotel-overview .hotel-overview__header-icon{width:3rem;height:3rem;flex-basis:3rem;border:0;border-radius:0;background:none;box-shadow:none;color:var(--modules-theme-base,#3f7de2)}
.hotel-overview .hotel-overview__header-icon svg{width:2.65rem;height:2.65rem;stroke-width:1.6}
.hotel-overview__summary-panel{padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
.hotel-overview__summary{gap:.85rem}
.hotel-overview__summary-item{--status-rgb:37,99,235;--status-ink:#2857a0;min-height:6rem;padding:1.15rem 1rem;border-color:rgba(var(--status-rgb),.18);background:linear-gradient(120deg,rgba(255,255,255,.97),rgba(255,255,255,.87)),rgb(var(--status-rgb));box-shadow:0 7px 20px -16px rgba(var(--status-rgb),.5);transition:border-color 150ms ease,box-shadow 150ms ease,transform 150ms ease}
.hotel-overview__summary-item.is-free{--status-rgb:16,145,109;--status-ink:#16745c}
.hotel-overview__summary-item.is-reserved{--status-rgb:213,147,26;--status-ink:#95620c}
.hotel-overview__summary-item.is-stored{--status-rgb:144,93,197;--status-ink:#7852a4}
.hotel-overview__summary-item.is-incomplete{--status-rgb:144,93,197;--status-ink:#7852a4}
.hotel-overview__summary-item:hover{border-color:rgba(var(--status-rgb),.5);background:linear-gradient(120deg,rgba(255,255,255,.93),rgba(255,255,255,.8)),rgb(var(--status-rgb));box-shadow:0 10px 24px -16px rgba(var(--status-rgb),.55);transform:translateY(-2px)}
.hotel-overview__summary-item.is-selected{border-color:var(--status-ink);background:var(--status-ink);color:#fff;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--status-ink),0 10px 24px -14px rgba(var(--status-rgb),.55)}
.hotel-overview__summary-item.is-selected .hotel-overview__summary-icon,.hotel-overview__summary-item.is-selected .hotel-overview__summary-copy small,.hotel-overview__summary-item.is-selected>strong{color:#fff}
.hotel .hotel-overview__summary-item:focus-visible{outline:2px solid var(--status-ink);outline-offset:3px}
.hotel-overview__summary-icon{width:2.75rem;height:2.75rem;border:0;border-radius:0;background:none;color:var(--status-ink)}
.hotel-overview__summary-icon svg{width:2.25rem;height:2.25rem;stroke-width:1.6}
.hotel-overview__summary-item>strong{color:var(--status-ink);font-size:2rem;font-weight:750}
.hotel-overview__summary-copy small{color:#536379}
.hotel-overview__building{background:linear-gradient(115deg,#fff,#f2f6fd);border-color:rgba(var(--modules-theme-rgb,63,125,226),.14);padding:.9rem 1rem}
.hotel-overview__building-count{color:var(--modules-theme-dark,#315fae)}
.hotel-overview__building progress{appearance:none;-webkit-appearance:none;height:.45rem;background:#e7edf6;color:var(--modules-theme-base,#3f7de2)}
.hotel-overview__building progress::-webkit-progress-bar{background:#e7edf6;border-radius:999px}
.hotel-overview__building progress::-webkit-progress-value{background:#9060c5;border-radius:999px}
.hotel-overview__building progress::-moz-progress-bar{background:#9060c5;border-radius:999px}
@media(max-width:1100px) and (min-width:801px){.hotel-overview__summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.hotel-overview__summary-item{transition:none}.hotel-overview__summary-item:hover{transform:none}}

/* Detail sady: stejná lišta a bílé panely jako přehled modulu. */
.hotel-detail{display:grid;grid-template-columns:minmax(0,1fr);gap:1.1rem;max-width:none;padding:0;min-width:0}
.hotel-detail .hotel-header{margin:0;flex-wrap:wrap;gap:1rem}
.hotel-detail .hotel-overview__header-main{flex-wrap:wrap}
.hotel-detail .hotel-overview__header-copy h1{margin:0;font-size:clamp(1.2rem,1.05rem + .55vw,1.55rem);font-weight:800}
.hotel-detail__number{color:var(--color-text-muted);font-weight:500}
.hotel-detail__back{text-decoration:none;transition:background 150ms ease}
.hotel-detail__back:hover{background:var(--color-primary-soft-strong);color:var(--color-primary-700)}
.hotel-detail__status{padding:.35rem .75rem;border:1px solid var(--color-primary-soft-border);border-radius:999px;background:var(--color-primary-soft);color:var(--color-primary-700);font-size:.78rem;font-weight:600}
.hotel-detail .hotel-panel,.hotel-detail .hotel-identity{margin:0;border:1px solid var(--color-primary-soft-border);border-radius:1rem;background:rgba(255,255,255,.96);box-shadow:0 18px 42px -34px rgba(16,45,94,.8)}
.hotel-detail .hotel-panel{padding:1.5rem;min-width:0}
.hotel-detail .hotel-identity{padding:1.15rem 1.4rem;gap:1rem}
.hotel-detail .hotel-identity>div{padding:.2rem 1.2rem;border-left:1px solid var(--entity-table-border);min-width:0;overflow-wrap:anywhere}
.hotel-detail .hotel-identity>div:first-child{padding-left:0;border-left:0}
.hotel-detail .hotel-identity small{font-size:.75rem;color:var(--color-text-muted);margin-bottom:.35rem}
.hotel-detail .hotel-identity strong{font-size:.95rem;color:var(--color-text);font-weight:650}
.hotel-detail h2,.hotel-detail legend{color:var(--color-text);font-size:1.05rem;font-weight:650}
.hotel-detail legend{margin:0 0 .4rem;padding-bottom:.85rem;border-bottom:1px solid var(--entity-table-border)}
.hotel-detail .hotel-panel>h2{margin-top:0}
.hotel-detail .hotel-fields{gap:1rem;margin:1rem 0 1.5rem}
.hotel-detail .hotel-fields label,.hotel-detail .hotel-operations label{font-size:.85rem;font-weight:600;color:var(--color-text-muted)}
.hotel-detail .form-control,.hotel-detail .form-select{border-color:var(--color-primary-soft-border);border-radius:.65rem}
.hotel-detail .hotel-check{align-self:end;min-height:2.5rem;padding:.55rem .7rem;background:var(--color-primary-soft);border:1px solid var(--entity-table-border);border-radius:.65rem}
.hotel-detail .hotel-check input{flex:0 0 auto;accent-color:var(--color-primary-600)}
.hotel-detail .hotel-section-heading{margin-top:1.5rem;margin-bottom:.75rem}
.hotel-detail .hotel-table-wrap{border:1px solid var(--color-primary-soft-border);border-radius:1rem}
.hotel-detail .hotel-table{box-shadow:none;border:0}
.hotel-detail .hotel-table th{background:var(--entity-table-head-bg,#dfe8fa);color:var(--color-text);font-size:.8rem;font-weight:650}
.hotel-detail .hotel-table td,.hotel-detail .hotel-table th{border-bottom:0;padding:.8rem}
.hotel-detail .hotel-table tbody th{background:transparent;text-align:center;color:var(--color-text-muted)}
.hotel-detail .hotel-table tbody tr{background:var(--entity-table-row-bg-a,#fff)}
.hotel-detail .hotel-table tbody tr:nth-child(even){background:var(--entity-table-row-bg-b,var(--color-primary-soft))}
.hotel-detail .hotel-table tbody tr:focus-within{background:var(--entity-table-row-hover)}
.hotel-detail [data-hotel-rims],.hotel-detail__notes-title{margin-top:1.5rem;padding-top:1.1rem;border-top:1px solid var(--entity-table-border)}
.hotel-detail .hotel-save{justify-content:flex-end;margin-top:1.25rem;padding-top:1.25rem}
.hotel-detail .hotel-operations{gap:1rem}
.hotel-detail .hotel-operations>form{padding:1rem;border:1px solid var(--entity-table-border);border-radius:.85rem;background:var(--color-primary-soft)}
.hotel-detail .hotel-operations .hotel-muted{margin-bottom:0;font-size:.82rem}
.hotel-detail .hotel-notice{margin:0}
@media(max-width:750px){.hotel-detail{padding:0}.hotel-detail .hotel-panel{padding:1rem}.hotel-detail .hotel-identity{padding:1rem}.hotel-detail .hotel-identity>div{padding:.6rem 0 0;border-left:0;border-top:1px solid var(--entity-table-border)}.hotel-detail .hotel-identity>div:first-child{padding-top:0;border-top:0}.hotel-detail .hotel-save{align-items:stretch;flex-direction:column}.hotel-detail .hotel-save .btn{white-space:normal}}

.hotel-detail .hotel-work{grid-template-columns:repeat(3,minmax(0,1fr))}
.hotel-detail .hotel-rim-fields{grid-template-columns:minmax(0,1.6fr) minmax(0,2.9fr) 75px}
@media(max-width:750px){.hotel-detail .hotel-work,.hotel-detail .hotel-rim-fields{grid-template-columns:1fr}}

/* Intake dialogs share the module's controls and keep actions visible while editing. */
.hotel-dialog{width:min(1180px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--color-primary-soft-border);border-radius:18px;background:#fff;color:var(--color-text);box-shadow:0 24px 80px #0f172a40}
.hotel-dialog::backdrop{background:rgba(15,23,42,.45)}
body:has(.hotel-dialog[open]){overflow:hidden}
.hotel-detail-dialog{width:min(780px,calc(100vw - 32px));overflow:hidden}
.hotel-detail-dialog .hotel-detail{display:flex;flex-direction:column;gap:0;max-height:calc(100dvh - 42px);padding:0;width:100%}
.hotel-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;border-bottom:1px solid var(--color-primary-soft-border);background:var(--color-primary-soft);flex-shrink:0}
.hotel-dialog-header>div:first-child{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.hotel-dialog-header h1{font-size:1.4rem;margin:0}
.hotel-dialog-body{overflow-y:auto;min-height:0;padding:16px 22px;overscroll-behavior:contain}
.hotel-dialog-footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:nowrap;padding:14px 22px;border-top:1px solid var(--color-primary-soft-border);background:#fff;flex-shrink:0}
.hotel-created-by{padding:4px 22px 8px;color:#166534;font-size:.85rem;line-height:1.3;flex-shrink:0;overflow-wrap:anywhere}
.hotel-dialog-footer-start{display:flex;align-items:center;gap:8px;margin-right:auto}
.hotel-dialog-footer-end{display:flex;align-items:center;justify-content:flex-end;gap:10px;white-space:nowrap}
.hotel-audit-row{display:flex;justify-content:space-between;gap:8px 20px;flex-wrap:wrap}
.hotel-locked-by{margin-left:auto;text-align:right}
.hotel-print-actions{flex-wrap:nowrap}
.hotel-detail-dialog .hotel-print-actions{flex-wrap:wrap;justify-content:flex-end}
.hotel-print-actions .btn{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.hotel-print-actions .hotel-email-action.is-sent{border-color:#7bc69d;background:#eaf8ef;color:#166534}
.hotel-print-actions .hotel-email-action.is-sent:hover{border-color:#3b9b65;background:#d9f1e2;color:#12542a}
.hotel-print-actions svg,.hotel-icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.hotel-dialog-footer .hotel-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:66px;min-height:42px;padding:9px 18px;border-radius:999px;font-weight:600;white-space:nowrap}
.hotel-dialog-footer .hotel-icon-button svg{width:20px;height:20px;stroke-width:2}
.hotel-dialog-footer .hotel-action-button{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;white-space:nowrap}
.hotel-dialog-footer .hotel-action-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.hotel-detail-dialog .hotel-panel{padding:14px 0 0;border:0;box-shadow:none}
.hotel-detail-dialog .hotel-identity{padding:10px 14px;box-shadow:none;background:var(--color-primary-soft)}
.hotel-detail-dialog .hotel-fields{gap:10px 14px;margin:10px 0 16px}
.hotel-detail-dialog h2,.hotel-detail-dialog legend{font-size:1rem;margin:10px 0 8px}
.hotel-detail-dialog .hotel-section-heading{margin:12px 0 8px}
.hotel-detail-dialog .hotel-table td,.hotel-detail-dialog .hotel-table th{padding:7px 9px}
.hotel-detail-dialog [data-hotel-rims],.hotel-detail-dialog .hotel-detail__notes-title{margin-top:12px;padding-top:10px}
.hotel-internal{padding:8px 0}
.hotel-internal summary{cursor:pointer;font-size:.85rem;color:var(--color-text-muted)}
.hotel-internal label{display:block;margin-top:10px}
.hotel-internal summary span{font-weight:600}
.hotel-menu{position:relative}
.hotel-menu summary{cursor:pointer;list-style:none;white-space:nowrap}
.hotel-menu summary::-webkit-details-marker{display:none}
.hotel-menu summary:focus-visible{outline:3px solid var(--color-primary-600);outline-offset:3px}
.hotel-menu-items{position:absolute;right:0;top:calc(100% + 4px);z-index:30;min-width:220px;padding:6px;background:#fff;border:1px solid var(--color-primary-soft-border);border-radius:10px;box-shadow:0 8px 30px #142b4c26}
.hotel-menu-items a,.hotel-menu-items>span{display:block;padding:9px 12px;color:var(--color-text);text-decoration:none;font-size:.88rem;white-space:normal}
.hotel-menu-items a:hover,.hotel-menu-items a:focus-visible{background:var(--color-primary-soft);border-radius:6px}
.hotel-state-menu .hotel-menu-items{position:fixed;right:auto;max-height:calc(100dvh - 16px);overflow-y:auto}
.hotel-operation-dialog{width:min(580px,calc(100vw - 32px));padding:22px}
.hotel-operation-dialog h2,.hotel-history-dialog h2{font-size:1.2rem;margin:0 0 16px}
.hotel-operation-dialog label{display:block;width:100%;font-size:.9rem}
.hotel-operation-dialog .form-control,.hotel-operation-dialog .form-select{margin-top:6px}
.hotel-operation-dialog .hotel-dialog-footer{padding:16px 0 0;margin-top:18px}
.hotel-email-dialog{position:fixed;inset:0;margin:auto;width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto}
.hotel-email-dialog p{font-size:.9rem;color:#526177}
.hotel-email-dialog p.text-danger{color:#b42331}
.hotel-email-dialog form{display:grid;gap:14px}
.hotel-email-dialog .hotel-email-save{display:flex;align-items:center;gap:10px;font-weight:400}
.hotel-email-dialog .hotel-email-save input{width:18px;height:18px}
.hotel-email-dialog .hotel-email-hint{display:flex;align-items:center;gap:9px;margin:0;font-size:.82rem;overflow-wrap:anywhere}
.hotel-email-dialog .hotel-email-hint svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hotel-email-dialog .hotel-dialog-footer{display:flex;justify-content:flex-end;gap:10px}
.hotel-email-toast{position:fixed;right:24px;bottom:20px;z-index:10000;max-width:min(440px,calc(100vw - 32px));margin:0;padding:14px 18px;border-radius:12px;box-shadow:0 12px 35px #142b4c30;color:#fff!important;font-weight:600;pointer-events:none}
.hotel-email-toast.is-success{background:#167447}
.hotel-email-toast.is-error{background:#b42331}
.hotel-history-dialog{position:fixed;inset:0;margin:auto;width:min(520px,calc(100vw - 32px));padding:24px;overflow:hidden}
.hotel-history-dialog[open]{display:flex;flex-direction:column}
.hotel-history-dialog h2{font-size:1.5rem;margin:0 0 8px;flex-shrink:0}
.hotel-history-dialog .history-item__changes{overflow-wrap:anywhere}
.hotel-history-dialog>.btn{display:block;margin:20px 0 0 auto;flex-shrink:0}
.hotel-dialog-loading{padding:24px}
.hotel-dialog [role=alert]:focus{outline:none}
.hotel-detail-dialog .hotel-dialog-header{padding:10px 16px;gap:10px}
.hotel-detail-dialog .hotel-dialog-header>div:first-child{gap:8px}
.hotel-detail-dialog .hotel-dialog-header h1{font-size:1.12rem;line-height:1.3}
.hotel-detail-dialog .hotel-detail__status{padding:4px 9px;font-size:.72rem}
.hotel-detail-dialog .hotel-print-actions{gap:6px}
.hotel-detail-dialog .hotel-print-actions .btn{padding:5px 10px;font-size:.78rem;line-height:1.35;min-height:30px;gap:5px}
.hotel-detail-dialog .hotel-print-actions svg{width:16px;height:16px}
.hotel-detail-dialog .hotel-dialog-body{padding:10px 16px}
.hotel-detail-dialog .hotel-identity{padding:6px 10px;gap:10px;border-radius:10px}
.hotel-detail-dialog .hotel-identity>div{padding:0 10px}
.hotel-detail-dialog .hotel-identity>div:first-child{padding-left:0}
.hotel-detail-dialog .hotel-identity small{font-size:.68rem;margin-bottom:1px}
.hotel-detail-dialog .hotel-identity strong{font-size:.83rem;line-height:1.3}
.hotel-detail-dialog .hotel-panel{padding-top:8px}
.hotel-detail-dialog .hotel-fields{gap:8px 10px;margin:8px 0 12px}
.hotel-detail .hotel-receipt-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.hotel-detail .hotel-set-fields{grid-template-columns:minmax(100px,1fr) 110px minmax(150px,1fr)}
.hotel-detail .hotel-tires-wrap,.hotel-detail .hotel-tires{border-radius:0}
.hotel-detail-dialog .hotel-fields label{font-size:1rem;min-width:0;color:var(--color-text);letter-spacing:.01em}
.hotel-detail-dialog .form-control,.hotel-detail-dialog .form-select{font-size:1rem;line-height:1.5;padding:.375rem .75rem;min-width:0;border-radius:var(--radius-sm);border-color:rgba(148,163,184,.35)}
.hotel-detail-dialog .hotel-fields label .form-control,.hotel-detail-dialog .hotel-fields label .form-select{margin-top:.08rem}
.hotel-detail-dialog .form-select{padding-right:2.5rem}
.hotel-detail-dialog textarea.form-control{height:calc(2 * 1.5em + 1rem + 2px);min-height:calc(2 * 1.5em + 1rem + 2px)}
.hotel-detail-dialog .hotel-check{padding:5px 7px;gap:6px;min-height:38px;font-weight:400;letter-spacing:normal}
.hotel-detail-dialog .hotel-tires{table-layout:fixed}
.hotel-detail-dialog .hotel-tires th:first-child{width:44px}
.hotel-detail-dialog .hotel-tires th:nth-child(2){width:30%}
.hotel-detail-dialog .hotel-tires th:nth-child(3){width:24%}
.hotel-detail-dialog .hotel-tires th:last-child{width:88px}
.hotel-detail-dialog .hotel-tires td input{width:100%;min-width:0;max-width:none}
.hotel-detail-dialog .hotel-tires td,.hotel-detail-dialog .hotel-tires th{padding:6px;font-size:.85rem}
.hotel-detail-dialog .hotel-dialog-footer{padding:12px 16px;gap:.75rem}
.hotel-detail-dialog .hotel-dialog-footer .btn{font-size:1rem;padding:.55rem 1.45rem;line-height:1.5;border-radius:var(--radius-pill,999px);font-weight:600}
.hotel-detail-dialog .hotel-dialog-footer .hotel-icon-button{min-width:66px}
@media(max-width:860px){.hotel-detail-dialog .hotel-dialog-footer{gap:.45rem;padding-inline:12px}.hotel-detail-dialog .hotel-dialog-footer-start,.hotel-detail-dialog .hotel-dialog-footer-end{gap:.45rem}.hotel-detail-dialog .hotel-dialog-footer .btn{padding-inline:.9rem}}
.hotel-detail-dialog .hotel-created-by{padding:4px 16px 6px;font-size:.78rem}
@media(max-width:750px){.hotel-detail-dialog{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0}.hotel-detail-dialog .hotel-detail{height:100dvh;max-height:100dvh}.hotel-dialog-header{padding:12px;align-items:flex-start;flex-wrap:wrap}.hotel-dialog-body{padding:12px;flex:1}.hotel-dialog-header .hotel-actions{gap:6px}.hotel-dialog-footer{padding:12px;gap:8px}.hotel-dialog-footer .btn{font-size:.85rem}.hotel-detail-dialog .hotel-identity{grid-template-columns:2fr 2fr 1fr;gap:8px;padding:8px}.hotel-detail-dialog .hotel-identity>div{border:0;padding:0}.hotel-detail-dialog .hotel-identity strong{font-size:.8rem}.hotel-detail-dialog .hotel-panel{padding:12px 0 0}}
@media(max-width:650px){.hotel-detail-dialog .hotel-set-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.hotel-detail-dialog .hotel-set-fields .hotel-check{grid-column:1/-1}}
@media(max-width:768px){.hotel-detail-dialog .form-control,.hotel-detail-dialog .form-select{font-size:16px}}

/* Overview, settings and detached dialogs inherit the current system palette. */
.modules-layout .hotel,.modules-layout .hotel-dialog,.modules-layout .tire-hotel-settings,.modules-layout .tire-hotel-settings-modal{
  --color-primary-400:color-mix(in srgb,var(--modules-theme-base) 68%,white);
  --color-primary-500:var(--modules-theme-light);
  --color-primary-600:var(--modules-theme-base);
  --color-primary-700:color-mix(in srgb,var(--modules-theme-base) 86%,black);
  --color-primary-800:var(--modules-theme-dark);
  --color-primary-rgb:var(--modules-theme-rgb);
  --color-focus-ring:rgba(var(--color-primary-rgb),.45);
  --color-primary-soft:rgba(var(--color-primary-rgb),.06);
  --color-primary-soft-strong:rgba(var(--color-primary-rgb),.18);
  --color-primary-soft-border:rgba(var(--color-primary-rgb),.25);
  --color-primary-soft-border-strong:rgba(var(--color-primary-rgb),.45);
  --color-primary-shadow:rgba(var(--color-primary-rgb),.25);
  --color-primary-shadow-soft:rgba(var(--color-primary-rgb),.2);
  --entity-table-border:rgba(var(--color-primary-rgb),.16);
  --entity-table-head-bg:rgba(var(--color-primary-rgb),.14);
  --entity-table-row-bg-a:var(--color-surface);
  --entity-table-row-bg-b:rgba(var(--color-primary-rgb),.06);
  --entity-table-row-hover:rgba(var(--color-primary-rgb),.12);
  color:var(--color-text);
}
:is(.hotel-dialog,.hotel-detail) :is(.form-control,.form-select):focus{
  border-color:var(--color-primary-600);
  box-shadow:0 0 0 .2rem var(--color-focus-ring);
}
:is(.hotel-dialog,.hotel-detail) :is(a,button,summary):focus-visible{
  outline:3px solid var(--color-primary-600);
  outline-offset:3px;
}
.hotel-detail fieldset:disabled :is(.form-control,.form-select){
  color:var(--color-text);
  background:rgba(255,255,255,.9);
}
.hotel-detail .hotel-field-error{display:block;margin-top:.35rem;font-size:.85rem;font-weight:500;line-height:1.35;color:#dc2626;white-space:normal;}
.hotel-detail .hotel-field-error:empty{display:none;}
.hotel-detail .input-validation-error,
.hotel-detail .input-validation-error:focus{border-color:#ff3347;box-shadow:0 0 0 .15rem rgb(255 51 71 / 15%);}
.hotel-detail .hotel-tires td{vertical-align:top;}
.hotel-form-error.validation-summary-valid{display:none;}
.hotel-detail .hotel-form-error{margin:0;padding:.5rem 1rem;color:#dc2626;}
.hotel-form-error ul{margin:0;padding-left:1rem;}
.hotel-detail .hotel-identity>div{display:flex;align-items:baseline;gap:.5rem;min-width:0;}
.hotel-detail .hotel-identity small{display:inline;margin-bottom:0;flex-shrink:0;}
.hotel-detail .hotel-identity strong{min-width:0;}
.hotel-detail-dialog [data-hotel-rims],
.hotel-detail-dialog .hotel-detail__notes-title{margin-top:16px;padding-top:10px;border-top:1px solid var(--entity-table-border);}
.hotel-detail-dialog [data-hotel-rims] .hotel-fields{margin-top:0;margin-bottom:0;}
.hotel-detail-dialog .hotel-notes{margin-bottom:0;}
.hotel-detail-dialog .hotel-dialog-body{padding-bottom:2px;}
.hotel-copy-actions{display:flex;justify-content:flex-start;margin-top:10px;}
.hotel-detail .btn.hotel-copy-button{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:42px;padding:.6rem 1.1rem;background:#4568b2;color:#fff;border-color:#4568b2;font-size:.9rem;font-weight:700;box-shadow:0 4px 10px rgba(49,79,143,.22);}
.hotel-detail .btn.hotel-copy-button:not(:disabled):hover{background:#365594;border-color:#365594;box-shadow:0 5px 14px rgba(49,79,143,.3);}
.hotel-detail .btn.hotel-copy-button:disabled{background:#e8edf6;color:#73819b;border-color:#d5deec;box-shadow:none;opacity:1;}
.hotel-copy-button svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.hotel-detail .hotel-check .form-check-input{width:1em;height:1em;margin:0;float:none;cursor:pointer;}
.hotel-row-status{display:flex;align-items:center;gap:.75rem;width:100%;}.hotel-row-status .hotel-quick-print{margin-left:auto;flex-shrink:0;}
.hotel-status-badge{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .6rem;border:1px solid rgba(var(--status-rgb),.22);border-radius:.55rem;background:rgba(var(--status-rgb),.1);color:var(--status-ink);font-size:.82rem;font-weight:600;white-space:nowrap;}
.hotel-status-badge.is-reserved{--status-rgb:213,147,26;--status-ink:#95620c;}
.hotel-status-badge.is-stored{--status-rgb:144,93,197;--status-ink:#7852a4;}
.hotel-status-badge.is-issued{--status-rgb:16,145,109;--status-ink:#16745c;}
.hotel-status-badge.is-cancelled{--status-rgb:100,116,139;--status-ink:#64748b;}
.hotel-status-badge svg,.hotel-quick-print svg{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.hotel-overview .hotel-quick-print{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid var(--color-primary-soft-border);border-radius:.55rem;color:var(--color-primary-700);background:var(--color-primary-soft);text-decoration:none;}
.hotel-overview .hotel-quick-print:hover{background:var(--color-primary-soft-strong);border-color:var(--color-primary-soft-border-strong);}
.hotel-email-sent-indicator{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:none;border:1px solid #9ad5af;border-radius:.55rem;background:#eaf8ef;color:#166534}
.hotel-email-sent-indicator[hidden]{display:none}
.hotel-email-sent-indicator svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hotel-detail__status.is-stored{color:#7852a4;background:rgba(144,93,197,.1);border-color:rgba(144,93,197,.22);}
.hotel-detail__status.is-reserved{color:#95620c;background:rgba(213,147,26,.1);border-color:rgba(213,147,26,.22);}
.hotel-overview__building-count{color:#7852a4;}
.hotel-overview__building progress{color:#9060c5;accent-color:#9060c5;}

/* System controls follow the selected theme; status colors remain semantic. */
.hotel-overview .hotel-overview__panel{border-color:var(--color-primary-soft-border);box-shadow:0 18px 42px -34px var(--color-primary-shadow);}
.hotel-overview .hotel-overview__header{background:var(--color-elevated-surface-start,#fff);}
.hotel-overview .hotel-overview__summary-panel{border:0;box-shadow:none;}
.hotel-overview .hotel-overview__building{border-color:var(--color-primary-soft-border);background:var(--color-primary-soft);color:var(--color-text);}
.hotel-overview .hotel-overview__building:is(:hover,:focus-visible,.is-selected){border-color:var(--color-primary-soft-border-strong);box-shadow:0 8px 20px -16px var(--color-primary-shadow);}
.hotel-overview .hotel-overview__header-copy h1,.hotel-overview .hotel-table th{color:var(--color-text);}
.hotel-overview .hotel-overview__header-copy p,.hotel-overview .hotel-overview__building small,.hotel-overview .hotel-table small,.hotel-overview .hotel-overview__map-help{color:var(--color-text-muted);}
.hotel-overview .hotel-table tbody tr:nth-child(odd){background:var(--entity-table-row-bg-a);}
.hotel-overview .hotel-table tbody tr:hover{background:var(--entity-table-row-hover);}
.hotel-overview :is(.form-control,.form-select){border-color:var(--color-primary-soft-border);}
.hotel-overview :is(.form-control,.form-select):focus{border-color:var(--color-primary-600);box-shadow:0 0 0 .2rem var(--color-focus-ring);}
.hotel-overview :is(a,button,summary):focus-visible{outline:3px solid var(--color-primary-600);outline-offset:3px;}

.hotel-overview__filter-reset:disabled{background:#e9eef7;color:#627086;border:1px solid #d6dfed;opacity:1;box-shadow:none;cursor:default}

/* Keep wide content inside its own panel instead of sizing the page's grid track. */
.hotel :is(.hotel-fields>*,.hotel-overview__toolbar,.hotel-overview__search-row,[data-hotel-results],.hotel-table-wrap){min-width:0}
.hotel :is(.hotel-notice,.hotel-muted,.hotel-overview__search-help,.hotel-overview__map-help,.hotel-place,.hotel-overview__building){overflow-wrap:anywhere}
.hotel-pagination{flex-wrap:wrap;gap:.75rem 1.25rem}
.hotel-dialog :is(.hotel-dialog-header>div,.hotel-dialog-body,.hotel-dialog-footer>div){min-width:0}
.hotel-print-actions{flex-wrap:wrap}
body.modules-layout:has(.hotel,.hotel-intake-modal[open]) .app-confirm-modal__body{min-width:0;overflow-wrap:anywhere}
body.modules-layout:has(.hotel,.hotel-intake-modal[open]) .app-confirm-modal__body>p{max-width:100%}

@media(max-width:800px){
  .hotel-overview__buildings{grid-template-columns:minmax(0,1fr)}
  .hotel-overview__header-copy{min-width:0;overflow-wrap:anywhere}
  .hotel-overview .hotel-overview__header{padding:1rem}
  .hotel-overview__header-actions{width:100%}
  .hotel-overview__header-actions .btn{white-space:normal;min-height:44px}
  .hotel-overview__view{width:100%;min-width:0;margin-left:0}
  .hotel-overview__view .form-select{flex:1;min-width:0;max-width:100%}
  .hotel-overview :is(.form-control,.form-select),
  .hotel-detail :is(.form-control,.form-select),
  .hotel-operation-dialog :is(.form-control,.form-select){font-size:16px;min-height:44px;min-width:0;max-width:100%}
  .hotel-overview__filter-panel .btn{min-height:44px;white-space:normal}
  .hotel-overview .hotel-table-wrap{overflow:visible;background:transparent;border-radius:0}
  .hotel-overview .hotel-table{display:block;min-width:0;border:0;background:transparent;box-shadow:none;overflow:visible}
  /* Visually hide column headings while retaining them for assistive technology. */
  :is(.hotel-overview,.hotel-detail) .hotel-table thead{
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
  }
  .hotel-overview .hotel-table tbody{display:grid;gap:.75rem}
  .hotel-overview .hotel-table tbody tr{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem 1rem;padding:1rem;
    border:1px solid var(--entity-table-border);border-radius:.85rem;
  }
  .hotel-overview .hotel-table tbody td{display:block;min-width:0;padding:0;overflow-wrap:anywhere}
  .hotel-overview .hotel-table td:is(:nth-child(1),:nth-child(2),:nth-child(3),:nth-child(6),[colspan]){grid-column:1/-1}
  .hotel-overview .hotel-table td[data-label]::before,
  .hotel-detail .hotel-tires td[data-label]::before{
    content:attr(data-label);display:block;margin-bottom:.3rem;color:var(--color-text-muted,#627086);font-size:.78rem;font-weight:600;
  }
  .hotel-overview .hotel-table td:is(:first-child,:last-child)::before{display:none}
  .hotel-overview .hotel-table td:first-child a{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:44px}
  .hotel-overview .hotel-table td:first-child strong{font-size:1.15rem}
  .hotel-overview .hotel-table td:first-child small{margin:0}
  .hotel-row-status{flex-wrap:wrap;gap:.5rem}
  .hotel-status-badge{white-space:normal}
  .hotel-overview .hotel-quick-print{width:44px;height:44px}
  .hotel-pagination{justify-content:center;text-align:center}
  .hotel-pagination>span{width:100%}
  .hotel-pagination>a{display:inline-flex;align-items:center;min-height:44px}
  .hotel-detail .hotel-set-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hotel-detail .hotel-set-fields .hotel-check{grid-column:1/-1}
  .hotel-detail .hotel-rim-fields{grid-template-columns:minmax(0,1fr)}
  .hotel-detail .hotel-tires-wrap{overflow:visible;border:0}
  .hotel-detail .hotel-tires{display:block;min-width:0;table-layout:auto;background:transparent;overflow:visible}
  .hotel-detail .hotel-tires tbody{display:grid;gap:.75rem}
  .hotel-detail .hotel-tires tbody tr{
    display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);
    grid-template-areas:"wheel wheel" "brand brand" "size size" "condition tread";
    gap:.65rem .75rem;padding:.75rem;border:1px solid var(--entity-table-border);border-radius:.75rem;
  }
  .hotel-detail .hotel-tires tbody :is(th,td){display:block;min-width:0;width:auto;padding:0;font-size:.9rem;text-align:left}
  .hotel-detail .hotel-tires tbody th:first-child{grid-area:wheel;width:auto;font-weight:700}
  .hotel-detail .hotel-tires td:nth-child(2){grid-area:brand}
  .hotel-detail .hotel-tires td:nth-child(3){grid-area:size}
  .hotel-detail .hotel-tires td:nth-child(4){grid-area:condition}
  .hotel-detail .hotel-tires td:nth-child(5){grid-area:tread}
  .hotel-detail .hotel-tires td input{width:100%;min-width:0;max-width:none}
  .hotel-detail .hotel-copy-button{width:100%;white-space:normal;text-align:left}
  .hotel-detail-dialog .hotel-identity{grid-template-columns:minmax(0,1fr)}
  .hotel-detail .hotel-identity>div{flex-wrap:wrap;gap:.25rem .5rem}
  .hotel-detail-dialog .hotel-identity strong{font-size:.9rem}
  .hotel-detail .hotel-dialog-header{flex-direction:column;align-items:stretch}
  .hotel-detail .hotel-print-actions{justify-content:flex-start}
  .hotel-detail .hotel-print-actions .btn{min-height:44px;white-space:normal}
  .hotel-detail .hotel-dialog-footer{flex-wrap:wrap}
  .hotel-detail :is(.hotel-dialog-footer-start,.hotel-dialog-footer-end){flex-wrap:wrap;width:100%;gap:.5rem;white-space:normal}
  .hotel-detail .hotel-dialog-footer-end{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}
  .hotel-detail .hotel-dialog-footer .btn{min-height:44px;min-width:0;white-space:normal;padding:.5rem .75rem}
  .hotel-detail-dialog .hotel-dialog-footer .hotel-icon-button{min-width:44px;padding:.5rem .75rem}
  .hotel-detail-dialog .hotel-dialog-footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}
  .hotel-locked-by{margin-left:0;text-align:left}
  .hotel-operation-dialog{padding:16px;overflow-y:auto}
  .hotel-operation-dialog .hotel-dialog-footer{flex-wrap:wrap}
  .hotel-operation-dialog .hotel-dialog-footer .btn{min-height:44px;white-space:normal}
  .hotel-history-dialog{padding:16px}
  .hotel-history-dialog :is(.history-item__top,.history-item__who,.history-item__changes){overflow-wrap:anywhere;min-width:0}
  .hotel-history-dialog .history-item__top{flex-wrap:wrap}
  .hotel-history-dialog .btn{white-space:normal;min-height:44px}
}
@media(max-width:400px){
  .hotel-detail .hotel-receipt-fields{grid-template-columns:minmax(0,1fr)}
}
