:root{--bg:#f6f7fb;--panel:#fff;--ink:#172033;--muted:#687286;--line:#e2e8f0;--brand:#0f766e;--brand2:#164e63;--danger:#b91c1c;--ok:#047857;--warn:#b45309;--shadow:0 12px 28px rgba(15,23,42,.08)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink)}a{color:inherit}.app-shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh}.sidebar{background:#0f172a;color:#e5e7eb;padding:18px 14px;position:sticky;top:0;height:100vh;overflow:auto}.brand{display:flex;gap:10px;align-items:center;font-weight:800;text-decoration:none}.brand-mark{width:36px;height:36px;border-radius:10px;display:inline-grid;place-items:center;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff}.side-brand{margin-bottom:18px}.sidebar nav a{display:block;text-decoration:none;padding:10px 12px;border-radius:10px;margin:2px 0;color:#dbeafe}.sidebar nav a:hover,.sidebar nav a.active{background:rgba(255,255,255,.12)}.nav-section{font-size:11px;color:#93a4b8;text-transform:uppercase;letter-spacing:.08em;margin:18px 12px 8px}.main-content{padding:24px;min-width:0}.topbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}.topbar h1{margin:.2rem 0 0}.eyebrow{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.user-pill{background:var(--panel);border:1px solid var(--line);padding:10px 12px;border-radius:999px;color:var(--muted);white-space:nowrap}.panel,.card{background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:18px;margin-bottom:16px}.grid{display:grid;gap:16px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.btn,button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:none;border-radius:10px;padding:10px 14px;background:var(--brand);color:#fff;text-decoration:none;font-weight:700;cursor:pointer}.btn.secondary{background:#334155}.btn.light{background:#e2e8f0;color:#0f172a}.btn.danger{background:var(--danger)}.btn.warn{background:var(--warn)}input,select,textarea{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}label{font-weight:700;font-size:13px;display:block;margin-bottom:6px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px}table{width:100%;border-collapse:collapse;min-width:740px}th,td{text-align:left;border-bottom:1px solid var(--line);padding:11px;vertical-align:top}th{background:#f1f5f9;color:#334155;font-size:13px}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:12px;background:#e2e8f0;color:#334155}.badge.ok{background:#dcfce7;color:#166534}.badge.warn{background:#fef3c7;color:#92400e}.badge.danger{background:#fee2e2;color:#991b1b}.alert{padding:12px 14px;border-radius:12px;margin-bottom:14px;border:1px solid var(--line)}.alert.success{background:#ecfdf5;color:#065f46}.alert.error{background:#fef2f2;color:#991b1b}.muted{color:var(--muted)}.stat{font-size:30px;font-weight:900}.public-shell{min-height:100vh}.public-header{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;background:#fff;border-bottom:1px solid var(--line)}.public-main{max-width:1160px;margin:0 auto;padding:36px 20px}.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:22px;align-items:center}.hero h1{font-size:44px;line-height:1.05;margin:0 0 12px}.hero-card{background:linear-gradient(135deg,#0f766e,#164e63);color:white;border-radius:28px;padding:28px;box-shadow:var(--shadow)}.small{font-size:12px}.actions{display:flex;gap:8px;flex-wrap:wrap}.status-flow{display:flex;gap:8px;flex-wrap:wrap}.status-flow span{padding:6px 10px;border-radius:999px;background:#e2e8f0;font-size:12px}.status-flow span.active{background:#d1fae5;color:#065f46;font-weight:800}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.topbar,.hero{display:block}.grid-2,.grid-3,.grid-4,.form-grid{grid-template-columns:1fr}.user-pill{white-space:normal}.main-content{padding:16px}}
.alert.warn{background:#fffbeb;color:#92400e;border-color:#fde68a}.alert.task-mode{background:#eff6ff;color:#1e3a8a;border-color:#bfdbfe}.topbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.task-switcher{display:flex;align-items:center;gap:8px;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:8px 10px}.task-switcher label{margin:0;font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.task-switcher select{width:auto;min-width:190px;padding:8px 10px}.task-pill{font-size:12px;line-height:1.35;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:10px 12px;margin:0 0 12px;color:#e0f2fe}.task-cards .task-card{margin:0}.task-card button{width:100%;min-height:46px}.task-card.active{outline:2px solid #14b8a6;border-radius:12px}.installer-wrap{max-width:1120px;margin:0 auto;padding:28px 16px}.installer-card{background:var(--panel);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:24px}.installer-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.install-version{background:#0f172a;color:#fff;border-radius:999px;padding:8px 12px;font-weight:800}.install-steps{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.install-steps span{padding:8px 12px;border-radius:999px;background:#e2e8f0;color:#334155;font-weight:700;font-size:12px}.install-steps span.active{background:#ccfbf1;color:#115e59}code{word-break:break-word;background:#f1f5f9;padding:2px 5px;border-radius:6px}@media(max-width:900px){.topbar-actions{justify-content:flex-start}.task-switcher{width:100%;align-items:stretch;flex-direction:column}.task-switcher select{width:100%}.installer-head{display:block}}

/* v0.1.2 public landing and branding */
.brand-logo-img{width:42px;height:42px;object-fit:contain;border-radius:10px}.sidebar-logo-img{width:40px;height:40px;object-fit:contain;border-radius:10px;background:rgba(255,255,255,.08)}.public-brand{gap:12px}.public-brand span{display:flex;flex-direction:column;line-height:1.1}.public-brand small{font-size:12px;color:var(--muted);font-weight:600}.sidebar .public-brand small{color:#cbd5e1}.landing-header{position:sticky;top:0;z-index:10}.landing-nav{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.landing-nav a:not(.btn){text-decoration:none;color:#334155;font-weight:700}.landing-page .lead{font-size:18px;line-height:1.65;color:#334155}.landing-hero{padding:22px 0 10px}.hotel-card{min-height:330px;display:flex;flex-direction:column;justify-content:center}.hero-logo{width:190px;max-width:100%;height:auto;margin-bottom:12px;background:rgba(255,255,255,.96);border-radius:18px;padding:10px}.landing-panel{margin-top:24px}.process-steps{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.process-steps span{background:#e0f2fe;color:#0c4a6e;border:1px solid #bae6fd;border-radius:999px;padding:8px 12px;font-weight:800;font-size:13px}@media(max-width:900px){.landing-nav{margin-top:10px}.landing-header{align-items:flex-start;gap:12px;flex-direction:column}.hero h1{font-size:34px}.public-main{padding:24px 16px}.hotel-card{min-height:auto}}

/* v0.1.4 grouped sidebar and in-page subcategory navigation */
.grouped-sidebar .side-brand{align-items:center;gap:12px}.grouped-sidebar .side-brand span{display:flex;flex-direction:column;line-height:1.05}.grouped-sidebar .side-brand small{font-size:11px;color:#94a3b8;font-weight:700;margin-top:3px}.nav-category{border:1px solid rgba(148,163,184,.16);background:rgba(15,23,42,.18);border-radius:14px;padding:8px;margin:10px 0}.nav-category-title{font-size:11px;color:#7dd3fc;text-transform:uppercase;letter-spacing:.08em;font-weight:900;margin:4px 8px 8px}.sidebar-hint{font-size:11px;line-height:1.35;color:#94a3b8;padding:6px 8px 4px}.grouped-sidebar nav a{margin:2px 0}.page-subnav{padding:12px 14px;margin-bottom:16px}.page-subnav-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px;color:#334155}.page-subnav-head span{font-size:12px;color:var(--muted);font-weight:600}.page-subnav-links{display:flex;flex-wrap:wrap;gap:8px}.subnav-link{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:8px 12px;text-decoration:none;background:#fff;color:#334155;font-weight:800;font-size:13px}.subnav-link:hover,.subnav-link.active{background:#ccfbf1;border-color:#5eead4;color:#115e59}.admin-link-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.admin-link-grid a{display:block;text-decoration:none;border:1px solid var(--line);border-radius:14px;background:#fff;padding:14px}.admin-link-grid strong{display:block;margin-bottom:4px}.admin-link-grid span{display:block;color:var(--muted);font-size:12px;line-height:1.4}@media(max-width:900px){.page-subnav-head{display:block}.admin-link-grid{grid-template-columns:1fr}.nav-category{margin:8px 0}}

/* v0.1.5 DentalCare-style owner controls and flat sidebar */
.app-shell{grid-template-columns:220px minmax(0,1fr)}
.sidebar.dental-style-sidebar{width:220px;background:#0d2434;color:#fff;padding:18px 12px;display:flex;flex-direction:column;gap:12px}
.dental-style-sidebar .sidebar-brand-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.dental-style-sidebar .side-brand{margin:0;color:#fff;gap:10px;min-width:0}
.dental-style-sidebar .side-brand span{display:flex;flex-direction:column;line-height:1.06;min-width:0}
.dental-style-sidebar .side-brand strong{font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dental-style-sidebar .side-brand small{font-size:.67rem;color:#9fb3bd;font-weight:750;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dental-style-sidebar .sidebar-logo-img{width:38px;height:38px;border-radius:0;background:transparent;padding:0;object-fit:contain;flex:0 0 auto}
.primary-nav{display:flex;flex-direction:column;gap:6px;min-height:0;overflow-y:auto;padding:2px 0;flex:1}
.primary-nav-link{display:flex!important;align-items:center;gap:10px;margin:0!important;padding:11px 10px!important;border-radius:12px!important;color:#c6d3db!important;text-decoration:none;font-weight:780;position:relative;background:transparent!important;border:0!important}
.primary-nav-link:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
.primary-nav-link.active{background:#173d4e!important;color:#fff!important;box-shadow:none!important}
.primary-nav-link.active:before{content:"";position:absolute;left:-5px;top:11px;bottom:11px;width:3px;border-radius:99px;background:#45b8a9}
.primary-nav-symbol{width:30px;height:30px;border-radius:9px;background:rgba(255,255,255,.08);display:grid;place-items:center;color:#dff8f3;font-size:.9rem;font-weight:900;flex:0 0 auto}
.primary-nav-link.active .primary-nav-symbol{background:#0f766e;color:#fff}
.nav-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.task-pill-flat{background:rgba(255,255,255,.06);border:0;border-left:3px solid #45b8a9;border-radius:10px;margin:0;padding:9px 10px;color:#dbeafe}
.sidebar-user{margin-top:auto;display:grid;grid-template-columns:36px minmax(0,1fr) 30px;align-items:center;gap:8px;padding:10px;background:rgba(255,255,255,.07);border:0;border-radius:14px;color:#fff}
.sidebar-user-avatar{width:36px;height:36px;border-radius:11px;background:linear-gradient(145deg,#0f766e,#45b8a9);display:grid;place-items:center;font-weight:900;color:#fff}
.sidebar-user-copy{display:flex;flex-direction:column;min-width:0}
.sidebar-user-copy strong,.sidebar-user-copy span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-user-copy strong{font-size:.82rem}.sidebar-user-copy span{font-size:.69rem;color:#9fb3bd}.sidebar-signout{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:#d9e7ec!important;text-decoration:none}.sidebar-signout:hover{background:rgba(255,255,255,.08)}.sidebar-signout span{display:none}
.nav-category,.grouped-sidebar .nav-category{border:0!important;background:transparent!important;border-radius:0!important;padding:0!important;margin:0!important}.nav-category-title,.sidebar-hint{display:none!important}
.grouped-sidebar nav a{margin:0!important}
.page-subnav.panel{box-shadow:none;border-radius:16px;background:#fff}.page-subnav-head strong{color:#14213d}.subnav-link{box-shadow:none}
.owner-control-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:16px;align-items:stretch}.owner-control-hero .panel{margin:0}.owner-control-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.owner-flow-list{display:grid;gap:8px;margin-top:10px}.owner-flow-list a{display:flex;justify-content:space-between;gap:10px;align-items:center;text-decoration:none;border:1px solid var(--line);border-radius:12px;padding:11px 12px;background:#fff;color:var(--ink);font-weight:800}.owner-flow-list a:hover{border-color:#99f6e4;background:#f0fdfa}.owner-flow-list small{font-weight:600;color:var(--muted)}
@media(max-width:900px){.app-shell{grid-template-columns:1fr}.sidebar.dental-style-sidebar{width:auto;height:auto;position:relative}.primary-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.owner-control-hero{grid-template-columns:1fr}}

/* v0.1.6 DentalCare-style governance pages */
.admin-control-group{margin-bottom:18px}.admin-control-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.admin-control-group-head h2{margin:0}.admin-control-group-head span{color:var(--muted);font-size:12px;font-weight:800}.compact-list{display:grid;gap:8px}.check-row{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;text-decoration:none;border:1px solid var(--line);border-radius:12px;padding:11px 12px;background:#fff;color:var(--ink)}.check-row:hover{border-color:#99f6e4;background:#f0fdfa}.check-row strong{min-width:180px}.check-row span{color:var(--muted);font-size:13px;line-height:1.35}.check-row.ok{border-left:4px solid var(--ok)}.check-row.todo{border-left:4px solid var(--warn)}.qa-card-grid .qa-card{min-height:178px;display:flex;flex-direction:column}.qa-card .muted{margin-top:auto}.qa-summary{display:flex;justify-content:space-between;align-items:center;gap:16px}.compact-checklist{display:flex;flex-wrap:wrap;gap:8px}.compact-checklist span{background:#f1f5f9;border:1px solid var(--line);border-radius:999px;padding:8px 12px;font-weight:800;font-size:13px;color:#334155}details.panel summary{cursor:pointer;font-size:18px}details.panel[open]{background:#fff}.owner-flow-list a span:first-child{flex:0 0 auto}.owner-flow-list a small{text-align:right}@media(max-width:900px){.admin-control-group-head,.qa-summary,.check-row{display:block}.check-row strong{display:block;min-width:0;margin-bottom:4px}.owner-flow-list a{display:block}.owner-flow-list a small{text-align:left;margin-top:4px;display:block}.admin-link-grid{grid-template-columns:1fr!important}.qa-card-grid{grid-template-columns:1fr!important}}

/* v0.1.7 Website Branding Manager + upgraded SVG icons */
.ui-icon,.sidebar-icon{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.primary-nav-symbol{color:#dff8f3}.primary-nav-symbol .sidebar-icon{width:17px;height:17px}.sidebar-logo-monogram{width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#0f766e,#0f172a);display:grid;place-items:center;font-weight:950;color:#fff;letter-spacing:.02em;flex:0 0 auto}.brand-preview-card{display:flex;align-items:center;gap:14px;border:1px solid var(--line);border-radius:18px;background:#fff;padding:18px}.brand-preview-card img{width:72px;height:72px;object-fit:contain}.brand-preview-card strong{display:block;font-size:1.1rem}.brand-preview-card span{display:block;color:var(--muted);font-weight:700}.preview-monogram{width:72px;height:72px;border-radius:18px;background:linear-gradient(145deg,#0f766e,#0f172a);color:#fff;display:grid;place-items:center;font-size:34px;font-weight:950}.brand-toggles{display:grid!important;gap:8px}.brand-toggles label{display:flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:10px 12px;font-weight:800;color:#334155}.mini-editor-card{border:1px solid var(--line);border-radius:16px;background:#fff;padding:14px}.mini-editor-card p{margin:0 0 10px}.mini-editor-card p:last-child{margin-bottom:0}.public-brand img{flex:0 0 auto}.hero-card .hero-logo{box-shadow:none}

/* v0.1.8 Customer updates, booking status, receipt, and billing workflow */
.status-actions{display:grid;grid-template-columns:minmax(130px,1fr) minmax(160px,1fr) auto;gap:6px;align-items:center}.frontdesk-action-form{display:grid;gap:8px}.inline-check{display:flex!important;align-items:center;gap:8px;font-size:12px;font-weight:800;color:#334155;background:#f8fafc;border:1px solid var(--line);border-radius:10px;padding:8px}.inline-check input{width:auto}.booking-status-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:16px;align-items:center}.status-copy-box{border:1px dashed #99f6e4;background:#f0fdfa;border-radius:16px;padding:14px}.status-copy-box input{font-size:12px}.timeline-list{display:grid;gap:10px}.timeline-item{border-left:4px solid var(--brand);background:#f8fafc;border-radius:12px;padding:10px 12px}.timeline-item strong{display:inline-block;text-transform:capitalize}.timeline-item span{float:right;color:var(--muted);font-size:12px}.timeline-item p{clear:both;margin:6px 0 0;color:#334155}.status-lookup-card{max-width:780px;margin-inline:auto}.receipt-panel{max-width:980px;margin-inline:auto}.receipt-head{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:16px}.receipt-info{margin-bottom:16px}.receipt-total{margin-left:auto;max-width:360px;background:#f8fafc;border:1px solid var(--line);border-radius:14px;padding:12px 16px;margin-top:16px}.receipt-total p{display:flex;justify-content:space-between;margin:6px 0}.receipt-brand{text-align:center;margin-top:20px}.small{font-size:12px}.lead{font-size:1.1rem;color:#334155;line-height:1.5}.table-wrap .btn{white-space:nowrap}@media(max-width:900px){.status-actions{grid-template-columns:1fr}.booking-status-hero,.receipt-head{grid-template-columns:1fr;display:block}.receipt-total{max-width:none}.timeline-item span{float:none;display:block;margin-top:3px}}
@media print{body{background:#fff}.sidebar,.topbar,.page-subnav,.print-hidden,.app-footer,.public-header,.public-footer{display:none!important}.app-shell{display:block}.main-content,.public-main{padding:0}.panel{box-shadow:none;border:0}.table-wrap{overflow:visible;border-color:#ddd}table{min-width:0}.receipt-panel{max-width:none}}


/* v0.1.9 Navigation/page icon polish */
.page-title-wrap{display:flex;align-items:center;gap:12px;min-width:0}
.page-title-mark{width:44px;height:44px;border-radius:14px;background:#ecfeff;border:1px solid #a5f3fc;color:#0f766e;display:grid;place-items:center;flex:0 0 auto}
.page-title-icon{width:23px;height:23px;display:block}
.subnav-head-icon{width:16px;height:16px;display:inline-block;vertical-align:-3px;margin-right:5px;color:#0f766e}
.subnav-icon{width:26px;height:26px;border-radius:999px;background:#f0fdfa;color:#0f766e;display:grid;place-items:center;flex:0 0 auto}
.subnav-svg{width:15px;height:15px;display:block}
.admin-tool-card{display:flex!important;align-items:flex-start;gap:12px;min-height:86px}
.admin-tool-icon{width:38px;height:38px;border-radius:13px;background:#ecfeff;color:#0f766e;display:grid;place-items:center;flex:0 0 auto;border:1px solid #ccfbf1}
.admin-tool-svg{width:20px;height:20px;display:block}
.admin-tool-copy{display:block!important;min-width:0;color:inherit!important}
.admin-tool-copy strong{font-size:14px;line-height:1.2}
.admin-tool-copy span{font-size:12px;line-height:1.35;color:var(--muted)!important}
.icon-stat-card{display:flex;align-items:center;gap:14px}
.stat-card-icon{width:44px;height:44px;border-radius:15px;background:#f0fdfa;border:1px solid #ccfbf1;color:#0f766e;display:grid;place-items:center;flex:0 0 auto}
.stat-icon{width:22px;height:22px;display:block}
.btn-icon{width:16px;height:16px;display:block;flex:0 0 auto}
button .btn-icon,.btn .btn-icon{color:currentColor}
.primary-nav-link .sidebar-icon{transition:transform .15s ease}
.primary-nav-link:hover .sidebar-icon{transform:translateY(-1px)}
@media(max-width:900px){.page-title-wrap{align-items:flex-start}.page-title-mark{width:38px;height:38px;border-radius:12px}.page-title-icon{width:20px;height:20px}.admin-tool-card{min-height:auto}.icon-stat-card{align-items:flex-start}}


/* v0.1.10 Pending update notice + compact hotel forms */
.update-pending-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;border-left:4px solid var(--warn)}
.update-pending-notice .btn{flex:0 0 auto}
.nav-badge{margin-left:auto;min-width:20px;height:20px;border-radius:999px;background:#f59e0b;color:#111827;display:inline-grid;place-items:center;font-size:11px;font-weight:950;padding:0 6px;box-shadow:0 0 0 2px rgba(255,255,255,.08)}
.primary-nav-link{gap:8px}
.form-compact-note{font-size:12px;color:var(--muted);margin-top:4px}
.panel form,.card form,.installer-card form,.public-main form{max-width:980px}
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.wide):not(.full-width),select:not(.wide):not(.full-width){max-width:380px;min-height:38px;padding:8px 10px;font-size:14px}
textarea:not(.wide):not(.full-width){max-width:620px;min-height:78px;padding:8px 10px;font-size:14px;line-height:1.4}
input[type="date"],input[type="time"],input[type="number"]{max-width:190px}
input[type="email"],input[type="url"]{max-width:460px}
input[type="password"]{max-width:340px}
.form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,360px));gap:10px 12px;align-items:start;justify-content:start}
.form-grid label,.panel form label,.card form label{font-size:12px;margin-bottom:4px;color:#334155}
.form-grid > div,.form-grid > label{min-width:0}
.actions{align-items:center}
.actions select{width:auto;min-width:160px;max-width:260px}
.table-wrap input:not([type="checkbox"]):not([type="radio"]),.table-wrap select{max-width:260px;min-width:0}
.table-wrap textarea{max-width:320px;min-height:62px}
.status-actions{grid-template-columns:minmax(120px,170px) minmax(140px,220px) auto;justify-content:start}
.task-switcher select{max-width:230px}
.status-copy-box input{max-width:100%!important}
.receipt-panel form,.status-lookup-card form{max-width:760px}
button,.btn{min-height:38px;padding:9px 13px}
@media(max-width:900px){.update-pending-notice{display:block}.update-pending-notice .btn{margin-top:10px}.form-grid{grid-template-columns:1fr}.panel form,.card form,.installer-card form,.public-main form,input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea{max-width:100%}.actions select{width:100%;max-width:100%}}

/* v0.1.13 High-contrast compact forms + shorter add pages */
:root{
  --bg:#eef2f7;
  --panel:#ffffff;
  --field-panel:#f8fafc;
  --field-bg:#ffffff;
  --line:#cbd5e1;
  --line-strong:#94a3b8;
  --focus:#0f766e;
}
body{background:linear-gradient(180deg,#eef2f7 0%,#f8fafc 260px,#eef2f7 100%)}
.panel,.card,.installer-card,.mini-editor-card,.brand-preview-card{
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 12px 30px rgba(15,23,42,.10);
}
.panel h1,.panel h2,.panel h3,.card h1,.card h2,.card h3{color:#0f172a}
.panel form:not(.actions):not(.task-card),.card form:not(.actions):not(.task-card),.installer-card form:not(.actions):not(.task-card),.public-main form:not(.actions):not(.task-card){
  background:var(--field-panel);
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
}
.form-grid > p,.form-grid > div,.form-grid > label,.panel form:not(.actions):not(.task-card) > p,.card form:not(.actions):not(.task-card) > p{
  background:#fff;
  border:1px solid #d6dee9;
  border-radius:12px;
  padding:9px 10px;
  margin:0;
  box-shadow:0 1px 0 rgba(15,23,42,.03);
}
.form-grid > p[style*="grid-column"],.panel form > p[style*="grid-column"],.card form > p[style*="grid-column"]{max-width:760px}
label{color:#1e293b}
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea{
  background:var(--field-bg);
  border:1.5px solid var(--line-strong);
  box-shadow:inset 0 1px 2px rgba(15,23,42,.05);
}
input:focus,select:focus,textarea:focus{
  outline:3px solid rgba(15,118,110,.16);
  border-color:var(--focus);
  background:#fff;
}
input::placeholder,textarea::placeholder{color:#64748b}
select{background-color:#fff}
.form-grid{grid-template-columns:repeat(auto-fit,minmax(190px,300px));gap:8px;align-items:start;justify-content:start}
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.wide):not(.full-width),select:not(.wide):not(.full-width){max-width:300px;min-height:36px;padding:7px 9px}
textarea:not(.wide):not(.full-width){max-width:520px;min-height:64px;max-height:130px;resize:vertical}
input[type="date"],input[type="time"],input[type="number"]{max-width:160px}
input[type="email"],input[type="url"]{max-width:360px}
input[type="password"]{max-width:300px}
.actions input:not([type="checkbox"]):not([type="radio"]),.actions select{max-width:220px}
.status-actions{grid-template-columns:minmax(105px,150px) minmax(120px,190px) auto;gap:5px}
.status-actions input,.status-actions select{max-width:190px;min-height:34px;padding:6px 8px}
.table-wrap{background:#fff;border-color:#cbd5e1;box-shadow:0 8px 20px rgba(15,23,42,.05)}
th{background:#e2e8f0;color:#0f172a;border-bottom-color:#cbd5e1}
td{background:#fff}.table-wrap tr:nth-child(even) td{background:#f8fafc}
.table-wrap form.actions,.table-wrap .status-actions{background:#eef6ff;border:1px solid #bfdbfe;border-radius:12px;padding:7px;margin-bottom:5px}
.table-wrap input:not([type="checkbox"]):not([type="radio"]),.table-wrap select{max-width:190px;min-height:34px}
.table-wrap textarea{max-width:240px;min-height:52px}
.compact-add-panel,.panel.form-compact-panel{
  border-left:5px solid #0f766e;
  margin-bottom:12px;
}
.compact-add-panel > h2,.form-compact-panel > h2{margin-bottom:6px}
.compact-add-panel form,.form-compact-panel form{max-height:52vh;overflow:auto;scrollbar-gutter:stable}
.compact-add-panel.compact-folded form{max-height:0;overflow:hidden;padding-top:0!important;padding-bottom:0!important;border-width:0!important}
.form-panel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-2px 0 10px;color:#475569;font-size:12px;font-weight:800}
.form-panel-toolbar button{min-height:30px;padding:6px 10px;border-radius:999px;background:#e2e8f0;color:#0f172a}
.compact-page-checklist{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 14px}.compact-page-checklist span{background:#ecfeff;border:1px solid #a5f3fc;color:#155e75;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}
.public-main .panel form{max-height:none}
@media(min-width:1200px){.form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,280px))}.panel form:not(.actions):not(.task-card),.card form:not(.actions):not(.task-card){max-width:1040px}}
@media(max-width:900px){.form-grid{grid-template-columns:1fr}.form-grid > p[style*="grid-column"],.panel form > p[style*="grid-column"],.card form > p[style*="grid-column"]{max-width:none}.compact-add-panel form,.form-compact-panel form{max-height:none}.form-panel-toolbar{display:block}.form-panel-toolbar button{margin-top:6px;width:auto}.table-wrap form.actions,.table-wrap .status-actions{display:grid;grid-template-columns:1fr}.table-wrap input:not([type="checkbox"]):not([type="radio"]),.table-wrap select,.table-wrap textarea,.actions input:not([type="checkbox"]):not([type="radio"]),.actions select{max-width:100%;width:100%}}

/* v0.2.0 Operational board + reservation detail center */
.reservation-detail-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-left:5px solid #0f766e}
.detail-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.status-flow.compact{margin-top:10px;gap:6px;flex-wrap:wrap}.status-flow.compact span{font-size:12px;padding:6px 9px}
.operations-kpis .card{min-height:86px}
.timeline{display:grid;gap:9px;max-height:56vh;overflow:auto;scrollbar-gutter:stable}
.timeline .timeline-item{background:#fff;border:1px solid #d6dee9;border-radius:14px;padding:10px 12px;box-shadow:0 1px 0 rgba(15,23,42,.03)}
.timeline .timeline-item strong{display:inline-block;color:#0f172a;text-transform:capitalize}.timeline .timeline-item span{float:right;color:#64748b;font-size:12px}.timeline .timeline-item p{margin:6px 0 0;color:#334155}
.detail-actions .btn,.reservation-detail-hero .btn{white-space:nowrap}.panel.form-compact-panel + .panel.form-compact-panel{margin-top:0}
.compact-list .check-row form.actions{margin-top:7px;background:#f8fafc;border:1px solid #dbeafe;border-radius:12px;padding:7px;display:flex;gap:6px;flex-wrap:wrap}
.compact-list .check-row form.actions select{max-width:170px}
.primary-nav-link.active .primary-nav-symbol{background:#ccfbf1;color:#0f766e}
@media(max-width:900px){.reservation-detail-hero{display:block}.detail-actions{justify-content:flex-start;margin-top:12px}.timeline .timeline-item span{float:none;display:block;margin-top:3px}.compact-list .check-row form.actions{display:grid;grid-template-columns:1fr}.compact-list .check-row form.actions select{max-width:100%;width:100%}}

/* v0.2.1 Customer-facing room showcase, images, prices, and gallery */
.section-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:20px 0 14px}
.customer-booking-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-left:5px solid #0f766e}
.room-search-panel{border-left:5px solid #164e63}.room-search-panel form{max-height:none!important}
.room-public-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin:16px 0}.room-public-grid.compact{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.public-room-card,.room-admin-card{background:#fff;border:1px solid #cbd5e1;border-radius:20px;overflow:hidden;box-shadow:0 12px 28px rgba(15,23,42,.09);display:flex;flex-direction:column}.public-room-card.selected{outline:3px solid rgba(15,118,110,.28);border-color:#0f766e}
.public-room-card>img,.public-room-card>a>img,.room-admin-card>img{width:100%;height:210px;object-fit:cover;background:#0f172a;display:block}.room-public-grid.compact .public-room-card>a>img{height:180px}
.public-room-body,.room-admin-card-body{padding:15px}.room-card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.room-card-title-row h2,.room-card-title-row h3{margin:.1rem 0 .45rem}.room-price-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#0f766e}.old-price{text-decoration:line-through;color:#64748b;font-size:12px}.room-chip-row{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.room-chip-row span{background:#eef6ff;border:1px solid #bfdbfe;color:#1e3a8a;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800}.amenity-list{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.amenity-list span{background:#ecfeff;border:1px solid #a5f3fc;color:#155e75;border-radius:999px;padding:5px 8px;font-size:12px;font-weight:800}.amenity-list.large span{font-size:13px;padding:7px 10px}.public-booking-form-panel{scroll-margin-top:100px}.public-booking-form-panel form{max-height:none!important}
.room-detail-public-hero{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start}.room-detail-book-box{background:#f8fafc;border:1px solid #cbd5e1;border-radius:18px;padding:16px}.room-detail-price{font-size:26px;font-weight:950;color:#0f766e;line-height:1.1;margin:8px 0}.room-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px}.room-gallery-main img{width:100%;height:min(56vh,520px);object-fit:cover;border-radius:18px;background:#0f172a}.room-gallery-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px;margin-top:10px}.room-gallery-strip img{width:100%;height:78px;object-fit:cover;border-radius:12px;border:2px solid #e2e8f0}.room-detail-side-card{position:sticky;top:18px}.summary-row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e2e8f0;padding:10px 0}.summary-row span{color:#64748b}.summary-row strong{text-align:right}.compact-bullets{margin:0;padding-left:20px}.compact-bullets li{margin:7px 0}.room-admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}.room-admin-card img{height:190px}.room-gallery-manager{margin-top:12px;background:#f8fafc;border:1px solid #dbeafe;border-radius:14px;padding:10px}.room-gallery-manager summary{font-weight:900;cursor:pointer;color:#0f172a}.gallery-add-form{margin:10px 0}.gallery-add-form input[type=file]{max-width:220px}.inline-check{display:inline-flex;align-items:center;gap:5px;margin:0;font-size:12px}.inline-check input{width:auto}.gallery-admin-thumbs{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-top:10px}.gallery-admin-thumbs>div{background:#fff;border:1px solid #d6dee9;border-radius:12px;padding:8px}.gallery-admin-thumbs img{width:100%;height:80px;object-fit:cover;border-radius:9px}.gallery-admin-thumbs span{display:block;font-size:11px;color:#64748b;margin:5px 0}.gallery-admin-thumbs .actions{display:grid;grid-template-columns:1fr 1fr}.gallery-admin-thumbs button{min-height:30px;padding:5px 7px;font-size:11px}.landing-room-showcase{margin:24px 0}.lead{font-size:18px;line-height:1.55}
@media(max-width:900px){.section-title-row,.customer-booking-hero{display:block}.section-title-row .btn{margin-top:10px}.room-detail-public-hero,.room-detail-layout{grid-template-columns:1fr}.room-detail-side-card{position:relative;top:auto}.room-gallery-main img{height:300px}.summary-row strong{text-align:left}.public-room-card>img,.public-room-card>a>img{height:190px}.gallery-add-form{display:grid!important;grid-template-columns:1fr}.gallery-add-form input,.gallery-add-form select{max-width:100%!important;width:100%}}

/* v0.2.2 structural UX: breadcrumbs, route health, and cleaner page identity */
.breadcrumbs{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 14px;
  padding:9px 12px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.82);
  border-radius:14px;
  box-shadow:0 8px 20px rgba(15,23,42,.04);
  color:#64748b;
  font-size:13px;
}
.breadcrumbs a{color:#0f766e;text-decoration:none;font-weight:700;}
.breadcrumbs a:hover{text-decoration:underline;}
.crumb-separator{color:#94a3b8;font-weight:800;}
.crumb-current{color:#334155;font-weight:700;}
.page-structure-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;}
.structure-check-card{border:1px solid rgba(15,23,42,.10);border-radius:16px;padding:14px;background:#fff;}
.structure-check-card.ok{border-color:rgba(22,163,74,.25);background:#f7fef9;}
.structure-check-card.todo{border-color:rgba(217,119,6,.28);background:#fffaf0;}
.structure-check-card strong{display:block;margin-bottom:6px;color:#0f172a;}
.structure-check-card small{display:block;color:#64748b;line-height:1.45;}
.route-slug-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#eef2ff;color:#3730a3;padding:4px 9px;font-size:12px;font-weight:800;}
@media (max-width: 720px){.breadcrumbs{font-size:12px;padding:8px 10px}.page-structure-grid{grid-template-columns:1fr}}

/* v0.2.5 routed list pagination */
.pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:10px 0 12px;padding:10px 12px;background:#f8fafc;border:1px solid #cbd5e1;border-radius:14px;box-shadow:0 3px 10px rgba(15,23,42,.04)}
.pagination-summary{font-size:13px;color:#475569;font-weight:700}.pagination-summary strong{color:#0f172a}.pagination-size{display:inline-flex!important;align-items:center;gap:7px;background:transparent!important;border:0!important;padding:0!important;margin:0!important;max-width:none!important}.pagination-size label{margin:0;font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.06em}.pagination-size select{width:auto!important;max-width:90px!important;min-width:74px!important;min-height:34px!important;padding:6px 8px!important}.pagination-actions{display:flex;gap:6px;align-items:center}.pagination-actions .btn{min-height:34px;padding:7px 11px}.btn.disabled{opacity:.48;cursor:not-allowed;pointer-events:none;background:#e2e8f0;color:#64748b}@media(max-width:720px){.pagination-bar{display:grid;grid-template-columns:1fr;align-items:start}.pagination-actions{justify-content:flex-start}.pagination-size{justify-content:flex-start}}

/* v0.2.6 compact update screens + 10-row pagination default */
.compact-health-panel{padding:16px}.health-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.health-panel-head h2{margin:0 0 3px}.health-panel-head p{margin:0}.health-summary-grid{margin-bottom:10px}.mini-stat{border:1px solid #cbd5e1;background:#f8fafc;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:2px}.mini-stat strong{font-size:24px;color:#0f172a}.mini-stat span{font-size:12px;color:#64748b;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.compact-details,.compact-details-panel{margin-top:10px}.compact-details summary,.compact-details-panel summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #cbd5e1;background:#f8fafc;border-radius:12px;padding:10px 12px;font-weight:900;color:#0f172a}.compact-details summary::-webkit-details-marker,.compact-details-panel summary::-webkit-details-marker{display:none}.compact-details summary:after,.compact-details-panel summary:after{content:'Show';font-size:12px;color:#0f766e;background:#ccfbf1;border:1px solid #5eead4;border-radius:999px;padding:4px 9px}.compact-details[open] summary:after,.compact-details-panel[open] summary:after{content:'Hide'}.compact-checklist-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-top:10px}.compact-checklist-grid .check-row{min-height:0;padding:9px 10px}.compact-checklist-grid .check-row strong{min-width:0;font-size:13px}.compact-checklist-grid .check-row span{font-size:11px}.compact-details-panel{padding:14px}.compact-details-panel > summary{margin:-2px 0 10px}.page-subnav.panel{padding:10px 12px}.page-subnav-links{max-height:94px;overflow:auto;scrollbar-gutter:stable}.page-subnav-head{margin-bottom:8px}.pagination-bar{position:relative}.pagination-actions a.btn.light{background:#ccfbf1;color:#115e59;border:1px solid #5eead4}.pagination-actions .btn.disabled{border:1px solid #cbd5e1}@media(max-width:900px){.health-panel-head{display:block}.health-panel-head .badge{margin-top:8px}.compact-checklist-grid{grid-template-columns:1fr}.page-subnav-links{max-height:none}}

/* v0.3.0 Revenue Center */
.inline-form{display:inline-flex;gap:.35rem;align-items:center;margin:.15rem}.inline-form button{white-space:nowrap}.public-room-card .alert.small{padding:.45rem .6rem;margin:.4rem 0}.room-detail-book-box .muted.small{max-width:22rem}.health-summary-grid .mini-stat strong{font-size:1.35rem}.table-wrap td .badge{display:inline-block;margin-top:.15rem}

/* v1.0.2 plain focus mode: less decoration, help separated */
body{background:#f3f6fa!important}
.panel,.card,.installer-card,.mini-editor-card,.brand-preview-card{box-shadow:none!important;border-color:#cbd5e1!important}
.topbar,.breadcrumbs{box-shadow:none!important}
.page-title-mark{background:#f1f5f9!important;border:1px solid #cbd5e1!important;color:#0f172a!important}
.alert.task-mode,.workspace-status{display:none!important}
.muted{line-height:1.45}
.dashboard-task-card p.muted{font-size:12px}
.help-center-hero{border-left:4px solid #0f766e}
.help-card{min-height:120px}
/* v1.1.0 daily operations controls */
.grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}.compact-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}.compact-form-grid .full-span,.full-span{grid-column:1/-1}.compact-entry-panel{max-width:1100px}.compact-filter-row{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:12px}.compact-filter-row label{min-width:180px}.soft-card{box-shadow:none}.night-audit-checklist label{display:flex;gap:8px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px;margin:0}.night-audit-checklist label.full-span{display:block}.night-audit-checklist input[type=checkbox]{width:auto}.close-drawer-form{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.inline-form{display:inline-grid;grid-template-columns:minmax(120px,1fr) auto;gap:6px;align-items:center}.inline-form input{min-width:120px;padding:7px 9px}.inline-form button{padding:7px 10px}@media(max-width:900px){.grid-5,.compact-form-grid{grid-template-columns:1fr}.compact-filter-row{display:block}.compact-filter-row label{min-width:0}}
