.top{height:auto;min-height:90px;background:#232d29;color:#fff;padding:20px max(24px,calc((100% - 1200px)/2));gap:20px}.top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.top button{padding:7px 12px;background:#3a463e;border-radius:6px;color:#fff}.app-wrap{max-width:1250px;margin:auto;padding:30px 24px}.app-wrap nav{display:flex;gap:8px;margin-bottom:22px;overflow:auto}.app-wrap nav button{color:#526455;width:auto;white-space:nowrap}.app-wrap nav button.active{background:#e5eadf;color:#293d2e;box-shadow:none}.branches{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.branch-view{background:#fff;padding:25px;border-radius:12px;border:1px solid var(--line);position:relative}.branch-view h2{font-size:24px;margin:12px 0}.branch-view .capacity{font:44px Arial;color:#496c53}.branch-view .capacity small{font:12px Tahoma;color:#777}.branch-view .meta{margin:13px 0;color:#777;font-size:12px}.slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.slot{background:#f1f5ee;border:1px solid #dae4d4;padding:14px;border-radius:7px}.slot small{display:block;color:#75816d}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:22px 0 18px}.section-title input{width:190px}.heading{margin:10px 0 30px}.heading p{color:#7b827a}.hours{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.hours label{padding:8px;background:#f3f5ef;border-radius:5px;margin:0;font-size:11px;display:flex;align-items:center;gap:5px}.hours input{width:auto;margin:0}.holiday-row{display:flex;gap:10px}.holiday-list{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.holiday-list button{background:#f7e6dc;border-radius:4px;padding:5px 9px;color:#9e4d32}.note{background:#fcf5e9;padding:12px 16px;border-radius:8px;margin:15px 0;font-size:12px;color:#8b673e}.table-tile{background:#f0f5ec;border:1px solid #d8e4cf;padding:16px;border-radius:9px;min-height:110px}.table-tile.busy{background:#f7e8e1;border-color:#e3c9b8}.table-tile.held{background:#fff3d9;border-color:#eadbb3}.table-tile b{font-size:20px}.table-tile small{display:block;margin:5px 0;color:#888}.table-tile button{font-size:11px;background:#fff;padding:4px 8px;border:1px solid #ddd;border-radius:5px;margin:3px}.checklist label{display:flex;align-items:center;gap:10px;background:#f3f5ef;padding:9px}.checklist input{width:auto;margin:0}.inline-fields{display:flex;gap:12px;align-items:center}.inline-fields label{flex:1}.badge.closed{background:#f1dcd7;color:#9c4c39}#error{color:#b54d37;font-size:12px}#toast{z-index:100;display:block}#toast[hidden]{display:none}.demo-strip{background:#fff0d6;padding:12px 22px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.demo-strip select{width:210px}.demo-strip button{padding:8px;background:white;border-radius:6px}.demo-strip small{color:#8d6845}.phone-link{color:#b45334;text-decoration:underline}.login-card{max-width:450px;margin:45px auto}.controls{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.controls select{width:200px}.muted-link{background:none;color:#999}.reserve-table{min-width:600px}.reserve-table td{vertical-align:top}.reserve-table .actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.reserve-table button{font-size:11px;padding:5px 9px}.table-wrap{max-width:100%}.loading{padding:50px;text-align:center;color:#888}@media(max-width:700px){.branches{grid-template-columns:1fr}.app-wrap{padding:20px 14px}.top{padding:16px;align-items:flex-start}.top-actions{justify-content:flex-end;max-width:190px;font-size:10px}.top-actions button{font-size:10px}.brand b{font-size:20px}.brand small{font-size:7px}.hours{grid-template-columns:repeat(3,1fr)}.heading h1{font-size:26px}.section-title{flex-wrap:wrap}.inline-fields{flex-wrap:wrap}.inline-fields label{flex:1 1 100px}.demo-strip{padding:10px;font-size:11px}.demo-strip select{width:180px}}

.setup-note{background:#f9ecd9;padding:12px;border-radius:8px}
.slot-past{background:#e5e7eb;border-color:#9ca3af;color:#374151}.slot-past small{color:#4b5563}.slot-available{background:#dcfce7;border-color:#86c89a;color:#14532d}.slot-available small{color:#166534}.slot-full{background:#fef08a;border-color:#d8af15;color:#713f12}.slot-full small{color:#713f12}.slot-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:#586459;margin-bottom:12px}.refresh-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.refresh-controls span{font-size:12px;color:#526455}.refresh-controls .refresh-error{color:#a13b23}.refresh-controls button{white-space:nowrap}.refresh-controls button:disabled{opacity:.6;cursor:wait}@media(max-width:700px){.refresh-controls{width:100%;justify-content:space-between}.section-title input{max-width:100%}}

.booking-controls{align-items:end;padding:14px;background:#eaf0e6;border-radius:8px}.controls label{margin:0}.table-tile .book-table{background:#385a40;color:white;border-color:#385a40}.danger{background:#a63c29;color:white;padding:10px 16px;border-radius:6px;margin-top:18px}.report-filters{max-width:850px}.report-filters>label{display:block}.report-filters select{width:100%}.report-branches{display:flex;gap:12px;flex-wrap:wrap;align-items:center;border:1px solid #d4ddce;border-radius:8px;padding:16px;margin:12px 0}.report-branches label{display:flex;align-items:center;gap:6px;margin:0}.report-branches input{width:auto;margin:0}.report-actions{display:flex;gap:8px;flex-wrap:wrap}.report-caption{font-size:13px;color:#465949}.report-definitions{font-size:11px;color:#657260}.report-table{min-width:700px}.report-table td{vertical-align:top;overflow-wrap:anywhere}.report-error{color:#a13b23}.report-actions button:disabled{opacity:.5;cursor:not-allowed}.audit-section{margin-top:28px}@page{size:A4 portrait;margin:12mm}@media print{body.printing-report{background:white!important;color:black!important;font:10pt Tahoma,Arial,sans-serif}.printing-report .top,.printing-report nav,.printing-report footer,.printing-report #toast,.printing-report #modal,.printing-report .audit-section,.printing-report .report-filters,.printing-report .report-actions,.printing-report #page>h1,.printing-report .reports-section>.section-title{display:none!important}.printing-report .app-wrap{max-width:none;margin:0;padding:0}.printing-report .panel{border:0;box-shadow:none;padding:0}.printing-report .table-wrap{overflow:visible}.printing-report .report-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:8pt}.printing-report th,.printing-report td{padding:5pt;border:1px solid #888;color:black;background:white;word-break:break-word}.printing-report thead{display:table-header-group}.printing-report tr{break-inside:avoid}.printing-report h2{font-size:16pt}.printing-report .report-definitions{font-size:8pt;color:#333}.printing-report .report-caption{color:black}}
