:root{--bg:#f3f4ef;--paper:#fff;--ink:#18342e;--muted:#738078;--line:#dfe5db;--green:#193f33;--lime:#d7eb97;--radius:20px;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #92b450;outline-offset:3px}.prototype-bar{padding:10px 24px;background:#102f29;color:#b4c9ba;display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:1.6px;gap:8px}.role-switch{display:flex;gap:3px;background:#ffffff13;padding:3px;border-radius:10px}.role-switch button{border:0;background:none;color:#ccdad0;padding:7px 12px;border-radius:7px;font-size:12px;letter-spacing:0}.role-switch button[aria-pressed=true]{background:var(--lime);color:var(--ink)}.app-shell{max-width:740px;margin:auto;padding:0 28px 110px}.app-shell.staff{max-width:1150px}.app-header{display:flex;justify-content:space-between;align-items:center;padding:28px 0}.brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:750}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:white;font-weight:800;border:7px solid #c7d7b6;font-size:17px}.brand-sub{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:4px}.demo-pill{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--muted)}.demo-pill span{width:6px;height:6px;border-radius:100%;background:#95ac70}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:var(--muted)}h1{font-size:34px;line-height:1.14;letter-spacing:-1.3px;margin:12px 0}h2{font-size:22px;letter-spacing:-.6px;margin:0}h3{font-size:16px;margin:0}p{line-height:1.6}.intro{color:var(--muted);font-size:14px;margin:0 0 26px}.hero{padding:27px 28px;background:var(--green);border-radius:24px;position:relative;overflow:hidden;color:white;margin-bottom:22px}.hero .eyebrow{color:#a5c2a8}.hero h1{max-width:350px}.hero p{color:#c7d7cb;font-size:13px;max-width:330px;margin:12px 0 0}.hero:after{content:'8';position:absolute;right:-10px;top:12px;font-size:170px;font-weight:800;line-height:1;color:#ffffff08;pointer-events:none}.controls{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:20px;margin-bottom:24px}.controls-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.controls-top input{padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--bg);font-size:13px;color:var(--ink);max-width:165px}.date-label{font-size:14px;font-weight:650;display:block;margin-top:6px}.segmented{display:flex;gap:5px;background:var(--bg);padding:4px;border-radius:12px}.segmented button{flex:1;padding:10px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:13px}.segmented button.active{background:white;color:var(--ink);box-shadow:0 2px 5px #18342e0b;font-weight:650}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 14px;gap:12px}.section-heading span{font-size:12px;color:var(--muted)}.table-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.table-card{background:white;border:1px solid var(--line);border-radius:18px;padding:18px;text-align:left;color:var(--ink);display:grid;grid-template-columns:1fr auto;gap:12px;transition:border-color .15s,transform .15s}.table-card:hover{border-color:#829c70}.table-card.selected{border:2px solid var(--green);padding:17px;background:#fcfef5}.table-card .info{grid-column:1/-1;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.table-card strong{font-size:17px}.table-card .type{font-size:12px;display:block;margin-top:5px}.table-icon{width:65px;height:38px;border:5px solid #aebca0;background:#367257;border-radius:9px;position:relative;box-shadow:inset 0 0 0 2px #204b38}.table-icon:before,.table-icon:after{content:'';position:absolute;border-radius:50%;width:5px;height:5px;background:#eaf3dc;top:9px;left:16px}.table-icon:after{background:#d8a54f;left:34px;top:15px}.slots{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.slot{border:1px solid var(--line);background:white;padding:14px 5px;border-radius:12px;font-size:14px;color:var(--ink)}.slot:disabled{background:#eaece6;color:#a1aaa2;text-decoration:line-through;border-color:transparent}.slot.selected{background:var(--green);color:white;border-color:var(--green)}.legend{display:flex;gap:18px;align-items:center;font-size:11px;color:var(--muted);margin-top:14px}.legend span{display:flex;gap:6px;align-items:center}.legend i{display:inline-block;width:8px;height:8px;border:1px solid #b7c3af;border-radius:3px}.legend .busy{background:#dce1d6;border:0}.selection-bar{margin:25px 0 0;padding:18px;background:var(--lime);border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.selection-bar strong{display:block;font-size:14px}.selection-bar small{font-size:12px;display:block;margin-top:5px}.primary{padding:14px 18px;border:0;border-radius:12px;background:var(--green);color:white;font-weight:650;font-size:13px;min-height:46px}.primary:disabled{opacity:.45}.secondary{padding:11px 14px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);font-size:12px;min-height:42px}.danger{color:#9b5142}.muted-note{font-size:12px;color:var(--muted);margin-top:20px}.empty{background:white;border:1px dashed #c9d4c2;border-radius:20px;padding:35px;text-align:center}.empty .empty-symbol{font-size:28px;margin-bottom:12px}.empty p{font-size:13px;color:var(--muted)}.booking-card{border:1px solid var(--line);background:white;border-radius:18px;padding:20px;margin-bottom:12px}.booking-head{display:flex;justify-content:space-between;gap:12px;align-items:start}.booking-head small{display:block;color:var(--muted);font-size:11px;margin-top:7px}.badge{font-size:10px;border-radius:7px;padding:7px 9px;white-space:nowrap;display:inline-block}.amber{color:#99702e;background:#faf0d8}.green{color:#396146;background:#edf4df}.blue{color:#416c8d;background:#eaf1fa}.muted{color:#748077;background:#edf0ea}.booking-time{font-size:22px;font-weight:650;margin:20px 0 7px;letter-spacing:-.5px}.booking-person{font-size:13px;color:var(--muted);margin:6px 0}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.booking-message{font-size:12px;line-height:1.6;background:var(--bg);border-radius:10px;padding:12px;margin-top:14px;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.stat{padding:18px;border-radius:16px;background:white;border:1px solid var(--line)}.stat strong{display:block;font-size:28px;margin-bottom:8px}.stat span{font-size:12px;color:var(--muted)}.schedule-scroll{overflow:auto;background:white;border:1px solid var(--line);border-radius:18px;padding:20px}.schedule{min-width:810px}.schedule-row{display:grid;grid-template-columns:110px repeat(12,1fr);gap:4px;align-items:center;margin:8px 0}.schedule-row.header{color:var(--muted);font-size:10px;text-align:center;margin-bottom:15px}.schedule-label{font-size:12px}.schedule-label small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.schedule-cell{height:48px;background:#f0f3e9;border-radius:6px;display:grid;place-items:center;font-size:11px;color:#567247;position:relative}.schedule-cell.reserved{background:#e0e9cb}.schedule-cell.requested{background:#fbefd6;color:#99702e}.schedule-cell.pending_iiko{background:#e6edf8;color:#416c8d}.schedule-cell.past{background:#e9ece7;color:#9ca59e}.schedule-help{font-size:12px;color:var(--muted);margin:16px 0 0}#navigation{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);display:flex;width:min(640px,calc(100% - 32px));padding:6px;background:#fff;border:1px solid var(--line);border-radius:19px;box-shadow:0 10px 35px #18342e13;z-index:5}#navigation button{flex:1;display:grid;gap:6px;place-items:center;border:0;border-radius:13px;background:none;color:var(--muted);font-size:11px;padding:11px 5px}#navigation button.active{background:#edf3e4;color:var(--green);font-weight:650}#navigation svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.6}.details-list{background:white;border:1px solid var(--line);border-radius:18px;padding:8px 20px}.detail-row{padding:17px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:13px}.detail-row:last-child{border:0}.detail-row span{color:var(--muted)}.detail-row strong{font-weight:500;text-align:right}.notice{padding:17px 20px;border-radius:14px;background:#e8eddf;font-size:13px;line-height:1.7;margin-top:20px}dialog{width:min(480px,calc(100% - 28px));border:0;border-radius:24px;padding:26px;color:var(--ink);max-height:calc(100dvh - 36px);overflow:auto}dialog::backdrop{background:#102f297a;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.icon-button{border:0;border-radius:50%;width:32px;height:32px;background:var(--bg);font-size:24px;color:var(--muted)}label{display:block;font-size:12px;font-weight:650;margin:17px 0}label input,label textarea{display:block;width:100%;margin-top:8px;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:13px;color:var(--ink);font-size:16px}textarea{resize:vertical}.optional{font-size:11px;font-weight:400;color:var(--muted);margin-left:5px}.summary{padding:15px;background:#edf3e4;margin-top:18px;border-radius:12px;font-size:14px;line-height:1.8}.form-note{font-size:11px;color:var(--muted);line-height:1.6}.error{font-size:12px;color:#a24e40}form>.primary{width:100%}#toast{position:fixed;left:50%;transform:translateX(-50%);bottom:104px;z-index:20;max-width:calc(100% - 36px);width:max-content;padding:14px 20px;border-radius:12px;background:#102f29;color:white;font-size:13px;box-shadow:0 5px 20px #0002;display:none}#toast.visible{display:block}
@media(max-width:600px){.prototype-bar{padding:9px 16px;font-size:9px;letter-spacing:1px}.app-shell{padding:0 18px 115px}.app-header{padding:24px 0}.brand{font-size:17px}.hero{padding:24px}.hero h1{font-size:30px;max-width:230px}.hero p{max-width:245px}.table-card{padding:15px}.table-card.selected{padding:14px}.table-icon{width:56px;height:34px}.table-card .type{font-size:11px}.selection-bar{align-items:stretch;flex-direction:column}.booking-head{flex-direction:column;gap:10px}.stats{gap:7px}.stat{padding:15px 10px}.stat span{font-size:11px}.controls{padding:16px}.detail-row{font-size:12px}h1{font-size:30px}#navigation{bottom:max(12px,env(safe-area-inset-bottom))}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
