.reb-app{--reb-orange:#ff9b3d;background:#151515;color:#f5f5f5;padding:clamp(16px,4vw,32px);border-radius:18px;font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;max-width:920px;margin:24px auto;line-height:1.6;box-sizing:border-box}.reb-app *{box-sizing:border-box}.reb-app h2,.reb-app h3,.reb-app p,.reb-app label,.reb-app summary,.reb-app table{color:inherit}.reb-app h2{font-size:clamp(24px,5vw,34px);margin:0 0 24px}.reb-app h3{font-size:20px}.reb-brand{color:var(--reb-orange)!important;font-weight:700;letter-spacing:.06em}.reb-app label{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.reb-app input,.reb-app select,.reb-app textarea{background:#252525;color:#fff;border:1px solid #747474;border-radius:9px;min-height:48px;padding:10px 12px;font:inherit;width:100%;color-scheme:dark}.reb-app textarea{min-height:90px}.reb-app input[type=checkbox]{width:26px;min-height:26px;accent-color:#ff9b3d}.reb-app button{background:var(--reb-orange);color:#171717;border:0;border-radius:9px;min-height:46px;padding:10px 15px;font:inherit;font-weight:700;cursor:pointer}.reb-app button:disabled{background:#333;color:#a3a3a3;cursor:default}.reb-app :focus-visible{outline:3px solid #ffcf98;outline-offset:3px}.reb-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:16px 0}.reb-calendar button{padding:8px 0}.reb-calendar .selected{box-shadow:inset 0 0 0 3px white}.reb-weekday{text-align:center;color:#bbb}.reb-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.reb-toolbar label{flex:1;min-width:200px;margin:0}.reb-toolbar h3{flex:1;text-align:center;margin:0}.reb-message{min-height:26px;color:#ffcf98!important;overflow-wrap:anywhere}.reb-muted{color:#bbb!important;font-size:14px}.reb-app form{margin-top:20px}.reb-card{border:1px solid #555;border-left:4px solid var(--reb-orange);background:#212121;border-radius:12px;padding:18px;margin:14px 0;overflow-wrap:anywhere}.reb-card p{margin:8px 0}.reb-number{font-family:ui-monospace,monospace;font-size:clamp(16px,4vw,22px);overflow-wrap:anywhere}.reb-break{border-left-color:#999}.reb-status-cancelled,.reb-status-no_show{opacity:.7;border-left-color:#999}.reb-status-in_service{border-left-color:#71d39b}.reb-app details{padding:10px 0}.reb-app details button{margin:5px}.reb-app summary{cursor:pointer}.reb-dialog{background:#1b1b1b;color:#fff;border:1px solid #888;border-radius:16px;width:min(94vw,580px);max-height:90dvh;overflow:auto;padding:24px}.reb-dialog::backdrop{background:rgba(0,0,0,.7)}.reb-total{font-size:24px;color:#ffbf80!important;display:block;margin:15px 0}.reb-app table{width:100%;border-collapse:collapse;font-size:14px;background:#202020}.reb-app th,.reb-app td{padding:10px 6px;text-align:left;border-bottom:1px solid #555}.reb-trap{position:absolute;left:-10000px;opacity:0}.reb-log{font-size:12px;overflow-wrap:anywhere}.reb-app [hidden]{display:none!important}@media(max-width:500px){.reb-dialog{padding:18px}.reb-toolbar button{flex-grow:1}.reb-calendar{gap:4px}.reb-app{border-radius:12px;margin:12px 0}}

.reb-time-axis{position:relative;display:flex;flex-direction:column;gap:4px;border-left:2px solid #888;padding-left:12px;margin:18px 0}.reb-app .reb-time-span{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;width:100%;padding:12px 16px;border-radius:8px;text-align:left;overflow-wrap:anywhere;box-shadow:inset 0 0 0 1px #666}.reb-app .reb-time-free{background:var(--reb-orange);color:#171717;box-shadow:none}.reb-app div.reb-time-free{background:#352819;color:#edbe8f}.reb-time-booked{background:#3a3a3a;color:#eee}.reb-time-buffer{background:repeating-linear-gradient(135deg,#262626,#262626 6px,#373737 6px,#373737 12px);color:#ddd}.reb-time-break{background:#252b34;color:#e0e6f1}.reb-time-closed{background:#202020;color:#bbb}.reb-time-span span{font-size:14px;font-weight:400}.reb-legend{display:flex;flex-wrap:wrap;gap:8px;font-size:12px}.reb-legend span{border-radius:5px;border:1px solid #777;padding:3px 7px}.reb-legend .reb-legend-free{background:var(--reb-orange);color:#171717;border-color:var(--reb-orange)}.reb-app .reb-overview h3{margin-top:24px}

.reb-slot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0}.reb-app .reb-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:10px 4px;min-height:102px}.reb-slot-time{font-size:16px}.reb-slot-mark{font-size:28px;line-height:1.2}.reb-slot small{font-size:11px;font-weight:400}.reb-app .reb-slot-closed:disabled{background:#262626;color:#bbb;border:1px solid #555}.reb-app .reb-slot.selected{box-shadow:inset 0 0 0 3px #fff}.reb-slot-grid .reb-slot-open{background:var(--reb-orange);color:#151515}@media(min-width:650px){.reb-slot-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}

.reb-app details.reb-hour{border:1px solid #555;border-radius:10px;background:#202020;margin:10px 0;padding:0 12px}.reb-hour summary{display:list-item;padding:15px 0;min-height:56px}.reb-hour summary strong{margin-right:14px}.reb-hour summary span{font-size:14px}.reb-hour-available{color:#ffbf80}.reb-hour .reb-slot-grid{margin:0 0 14px}.reb-app .reb-hour button{margin:0}

.reb-dashboard-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reb-dashboard-cards .reb-card{margin:0}.reb-warnings .reb-card{border-color:#ff9b3d}.reb-app .reb-print-frame{position:fixed;left:-10000px;top:0;width:1px;height:1px;border:0}@media(max-width:600px){.reb-dashboard-cards{grid-template-columns:1fr}}

.reb-extra-menus{border:1px solid #555;border-radius:10px;padding:14px;margin:14px 0}.reb-extra-menus h4{color:inherit;margin:0 0 12px}.reb-extra-row{display:flex;align-items:flex-end;gap:8px;margin-bottom:12px}.reb-extra-row label{flex:1;min-width:0;margin:0}.reb-extra-row button{flex-shrink:0}.reb-combo-total{font-weight:700;color:#ffbf80!important}.reb-extra-menus .reb-extra-list:empty{display:none}

.reb-list-filters .selected{box-shadow:inset 0 0 0 3px #fff}.reb-reservation-group{border-top:1px solid #555;padding-top:10px;margin-top:18px}.reb-reservation-group h4,.reb-dialog h4{color:inherit;font-size:18px}.reb-overdue{background:#54301c;color:#ffd3a7!important;border:1px solid #ff9b3d;border-radius:8px;padding:10px;font-weight:700}

.reb-customer-manage{border:1px solid #ff9b3d;border-radius:10px;padding:12px 16px!important;margin:16px 0}.reb-customer-manage>summary{font-weight:700;color:#ffbf80}.reb-customer-manage .reb-card{margin-top:18px}

.reb-admin-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.reb-admin-title h2{margin:0;min-width:0}.reb-app button.reb-settings-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;min-width:48px;min-height:48px;flex:0 0 48px;border-radius:50%;padding:0;font-size:27px;line-height:1;background:#252525;color:#ffbf80;border:1px solid #ff9b3d}.reb-settings-icon:hover{background:#3b2a1c!important}.reb-settings-content{border:1px solid #666;border-radius:12px;background:#202020;overflow:hidden}.reb-settings-group{padding:16px;border-top:1px solid #444}.reb-settings-group:first-child{border-top:0}.reb-settings-group h3{font-size:16px;margin:0;color:#ffbf80!important}.reb-settings-group .reb-toolbar{margin:10px 0 0}.reb-settings-group>details{margin-top:8px}.reb-app .reb-settings-group button{margin:0}.reb-settings-group>details button{margin:5px}

.reb-sales-forecast{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;margin:16px 0}.reb-sales-card{border:1px solid #555;border-radius:12px;background:#212121;padding:16px;min-width:0}.reb-sales-card:first-child{border-color:#ff9b3d;background:#302319}.reb-sales-card h4{margin:0;font-size:16px;color:inherit}.reb-sales-card .reb-total{margin:8px 0;overflow-wrap:anywhere}.reb-sales-card .reb-muted{margin:0}

.reb-booking-views button[aria-pressed=true],.reb-calendar-toolbar button[aria-pressed=true]{box-shadow:inset 0 0 0 3px #fff}.reb-app.reb-wide-timeline{max-width:1500px}.reb-calendar-toolbar h4{margin:0;flex:1;min-width:200px;font-size:18px}.reb-calendar-scroll{height:min(70vh,760px);min-height:360px;overflow:auto;overscroll-behavior:contain;border:1px solid #79604a;border-radius:10px;position:relative;max-width:100%;margin:12px 0}.reb-calendar-grid{display:grid;isolation:isolate}.reb-calendar-axis-head,.reb-calendar-day-head{position:sticky;top:0;z-index:5;background:#32271d;border-bottom:1px solid #9c7c59;padding:10px 6px;text-align:center;font-size:13px;min-height:60px}.reb-calendar-axis-head{left:0;z-index:7}.reb-calendar-day-head span,.reb-calendar-day-head strong{display:block}.reb-calendar-day-head span{font-size:12px;color:#ffd6ae}.reb-calendar-axis{position:sticky;left:0;z-index:4;background:#191919;border-right:2px solid #e6a35e;font-size:12px}.reb-calendar-axis span{position:absolute;right:5px;transform:translateY(-50%);background:#191919;padding:1px 2px;color:#fff}.reb-calendar-axis span:first-child{transform:none}.reb-calendar-axis span:last-child{transform:translateY(-100%)}.reb-calendar-column{position:relative;background:#211f1d;border-right:1px solid #8c7760;overflow:hidden;min-width:0}.reb-calendar-lines{position:absolute;inset:0;z-index:2;pointer-events:none;background:repeating-linear-gradient(to bottom,#d1a46e 0,#d1a46e 2px,transparent 2px,transparent 120px),repeating-linear-gradient(to bottom,#b9aa9259 0,#b9aa9259 1px,transparent 1px,transparent 60px),repeating-linear-gradient(to bottom,#d0c5b51c 0,#d0c5b51c 1px,transparent 1px,transparent 10px)}.reb-calendar-closed,.reb-calendar-unavailable,.reb-calendar-blocked,.reb-calendar-column .reb-timeline-break{position:absolute;left:0;right:0;padding:3px 5px;overflow:hidden;font-size:11px;line-height:15px;color:#e2d6e5;background:repeating-linear-gradient(135deg,#493c5266 0 6px,#28222eaa 6px 12px);z-index:1}.reb-calendar-unavailable{background:#53402f}.reb-calendar-blocked{background:#403545}.reb-calendar-column .reb-timeline-break{background:repeating-linear-gradient(135deg,#5b5549aa 0 5px,#302e2999 5px 10px);color:#fff}.reb-app button.reb-calendar-free{position:absolute;left:0;right:0;min-height:0;margin:0;border:0;padding:0;border-radius:0;background:transparent;color:#fff;z-index:0;cursor:crosshair}.reb-app button.reb-calendar-free:hover,.reb-app button.reb-calendar-free:focus-visible{background:#47663b;z-index:3}.reb-calendar-free:hover::after,.reb-calendar-free:focus-visible::after{content:'＋';display:block;font-size:14px;line-height:16px}.reb-app button.reb-timeline-booking{position:absolute;display:flex;flex-direction:column;align-items:flex-start;gap:0;min-height:0;margin:0;padding:3px 6px;border:1px solid #ffb164;border-left:4px solid #ff9b3d;border-radius:7px;background:#673b16;color:#fff;font-size:11px;font-weight:400;line-height:15px;text-align:left;overflow:hidden;z-index:3}.reb-timeline-booking>*{display:block;max-width:100%;flex-shrink:0;overflow-wrap:anywhere}.reb-timeline-booking strong{font-size:12px;line-height:16px}.reb-timeline-booking small{font-size:10px}.reb-app button.reb-timeline-booking.reb-status-checked_in{background:#164663;border-color:#86b7e9}.reb-app button.reb-timeline-booking.reb-status-in_service{background:#1c4939;border-color:#71d39b}.reb-app button.reb-timeline-booking.reb-status-completed{background:#393939;border-color:#aaa}.reb-app button.reb-timeline-booking.reb-timeline-warning{box-shadow:inset 0 0 0 2px #ffca73}.reb-app button.reb-timeline-booking:focus-visible{z-index:6}.reb-timeline-buffer{position:absolute;z-index:1;overflow:hidden;background:repeating-linear-gradient(135deg,#80613d 0 4px,#493c2b 4px 8px);color:#fff;font-size:10px;line-height:15px;text-align:center}.reb-timeline-dialog .reb-card{margin-top:0}

@media(max-width:700px){.reb-wide-timeline .reb-calendar-scroll{height:66dvh;min-height:320px}.reb-wide-timeline .reb-calendar-toolbar{gap:8px}.reb-wide-timeline .reb-calendar-toolbar h4{flex-basis:100%;font-size:16px}.reb-wide-timeline .reb-calendar-toolbar button{font-size:13px;padding:8px 10px}.reb-calendar-day-head{font-size:12px}.reb-calendar-day-head span{font-size:11px}}

.reb-payment-badge{display:inline-flex!important;align-items:center;border:2px solid;border-radius:6px;padding:3px 9px;margin:0 8px 7px 0;font-size:14px!important;line-height:20px!important;font-weight:800;white-space:nowrap}.reb-payment-unpaid{background:#ff9b3d!important;color:#151515!important;border-color:#ffc082!important}.reb-payment-paid{background:#d9f3e3!important;color:#12452b!important;border-color:#75bc91!important}.reb-timeline-booking .reb-payment-badge{font-size:11px!important;line-height:14px!important;padding:0 4px;margin:0 0 2px;border-width:1px}.reb-card>.reb-payment-badge{display:table!important}

.reb-work-tabs{display:grid;grid-template-columns:1fr 1fr;margin:12px 0}.reb-work-tabs button{font-size:18px;font-weight:800;min-height:48px}.reb-work-tabs button[aria-selected="true"]{background:#ff9b3d;color:#151515;border-color:#ff9b3d}

.reb-app .reb-admin-availability>summary,.reb-app .reb-more-actions>summary,.reb-app .reb-booking-details>summary,.reb-app .reb-calendar-help>summary{cursor:pointer;padding:10px 0;font-weight:700}.reb-app .reb-next-customer{padding:12px 16px;margin:12px 0}.reb-next-customer p{margin:6px 0 0}.reb-booking-details{margin:8px 0}.reb-booking-price{font-weight:700}.reb-more-actions[open]{flex-basis:100%}

.reb-staff-login{max-width:460px;margin:16px auto;padding:18px;border:1px solid #666;border-radius:12px;background:#202020}.reb-staff-login>button{width:100%;min-height:48px}.reb-staff-session{justify-content:space-between;font-size:13px}.reb-staff-session button{padding:8px 14px}.reb-app input[type=password]{box-sizing:border-box;width:100%;padding:12px;border-radius:7px;border:1px solid #777;background:#fff;color:#151515;font-size:16px}

.reb-app .reb-work-tabs button.reb-tab-reception{background:#172638;color:#b4d6ff;border:2px solid #7fb1ed}.reb-app .reb-work-tabs button.reb-tab-reception[aria-selected=true]{background:#b4d6ff;color:#142c49}.reb-app .reb-work-tabs button.reb-tab-accounting{background:#14281f;color:#a7e2bb;border:2px solid #75bc91}.reb-app .reb-work-tabs button.reb-tab-accounting[aria-selected=true]{background:#a7e2bb;color:#123d26}.reb-app .reb-work-tabs button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.reb-app .reb-work-tabs button[aria-selected=true]{outline:2px solid #fff;outline-offset:2px}.reb-app .reb-work-tabs button:focus-visible{outline:3px solid #fff;outline-offset:3px}

.reb-password-field{margin-bottom:14px}.reb-app .reb-password-field>label{margin-bottom:6px}.reb-password-control{position:relative}.reb-app .reb-password-control>input{padding-right:58px;background:#252525;color:#fff}.reb-app .reb-password-control>button.reb-password-toggle{position:absolute;right:3px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;min-height:44px;height:44px;margin:0;padding:9px;background:transparent;color:#eee;border:0;border-radius:7px}.reb-password-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.reb-app .reb-password-toggle:hover{background:#444!important}

.reb-app .reb-earliest{display:block;width:100%;min-height:50px;margin:14px 0;font-size:17px}

.reb-sales-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.reb-app table.reb-sales-breakdown{display:table!important;width:100%!important;min-width:320px;table-layout:auto!important;border-collapse:collapse!important}.reb-app .reb-sales-breakdown thead{display:table-header-group!important}.reb-app .reb-sales-breakdown tbody{display:table-row-group!important}.reb-app .reb-sales-breakdown tr{display:table-row!important}.reb-app .reb-sales-breakdown th,.reb-app .reb-sales-breakdown td{display:table-cell!important;float:none!important;width:auto!important;white-space:nowrap;padding:9px 6px!important;font-size:clamp(12px,3.1vw,14px);text-align:left!important}.reb-app .reb-sales-breakdown th::before,.reb-app .reb-sales-breakdown td::before{display:none!important}.reb-sticker-applied{color:#a7e2bb!important;font-weight:700}
.reb-app.reb-kiosk{max-width:760px}.reb-kiosk button,.reb-kiosk input,.reb-kiosk select{min-height:56px;font-size:18px}.reb-kiosk>button{display:block;width:100%;margin:14px 0}.reb-kiosk input[type=checkbox]{min-height:26px}.reb-kiosk .reb-number{display:block;white-space:normal;overflow-wrap:anywhere;font-size:24px}.reb-kiosk form button{width:100%;margin-top:12px}.reb-save-state:empty{display:none}.reb-save-state{font-size:13px;color:#b4d6ff!important}

/* Menu editor: touch controls and readable scope labels. */
.reb-app .reb-menu-order-list{display:grid;gap:12px;width:100%}.reb-app .reb-menu-order-row{display:block;min-width:0;padding:14px;border:1px solid #666;border-radius:10px;background:#242424;overflow-wrap:anywhere}.reb-app .reb-menu-order-row p{margin:6px 0}.reb-app .reb-menu-order-row small{display:block;color:#ddd}.reb-app .reb-menu-order-row .reb-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.reb-app .reb-menu-order-row button{min-height:44px;margin:0;padding:10px 14px}.reb-app .reb-menu-editor{width:100%;min-width:0}.reb-app .reb-menu-order-row button:disabled{opacity:.45;cursor:default}

.reb-app .reb-manual-time{border:0;padding:0;margin:0 0 14px;min-width:0}.reb-app .reb-manual-time legend{padding:0;margin-bottom:6px}.reb-app .reb-manual-time .reb-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:12px}.reb-app .reb-manual-time label{min-width:0}
