:root{--ink:#173d3b;--muted:#78918f;--teal:#0f8178;--teal-dark:#0b625d;--mint:#e8f5f2;--line:#d9e9e6;--orange:#e87835;--bg:#f5faf9;--shadow:0 20px 60px rgba(18,61,58,.08)}
.field-hint{display:block;color:var(--muted);font-size:12px;font-weight:400;margin-top:6px}
*{box-sizing:border-box}body{margin:0;background:linear-gradient(135deg,#eef8f6 0,#fbfdfd 42%,#f3f8f7 100%);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.5}button,input,select{font:inherit}button{cursor:pointer}.hidden{display:none!important}.page-shell{max-width:1180px;margin:0 auto;padding:36px 24px 56px}.auth-layout{min-height:calc(100vh - 92px);display:grid;grid-template-columns:minmax(280px,1fr) minmax(380px,520px);gap:72px;align-items:center}.brand-block{padding:20px}.brand-avatar{width:88px;height:88px;border-radius:25px;display:block;object-fit:cover;box-shadow:0 10px 24px rgba(15,118,110,.16);margin-bottom:28px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:3px;color:var(--teal);margin:0 0 8px}.brand-block h1{font-size:clamp(38px,5vw,68px);line-height:1.14;margin:0 0 18px;letter-spacing:-2px}.brand-copy,.muted{color:var(--muted)}.brand-copy{font-size:18px;margin:0}.auth-card,.panel,.profile-card,.hero-card{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:24px}.auth-card{padding:36px 40px}.auth-heading,.section-heading,.topbar,.topbar-brand,.topbar-actions,.order-bar,.identity-controls{display:flex;align-items:center;justify-content:space-between;gap:18px}.auth-heading h2,.section-heading h2{font-size:24px;margin:0}.text-link,.link-button{color:var(--teal);text-decoration:none;background:none;border:0;padding:4px 0}.link-button{font-weight:700}.auth-card form{margin-top:24px}.auth-card label,.mid-segment label{display:block;color:#486461;font-weight:700;margin:0 0 16px}.auth-card input,.mid-segment select{width:100%;border:1px solid #cfe0dd;border-radius:14px;padding:13px 14px;margin-top:7px;color:var(--ink);background:#fff;outline:none}.auth-card input:focus,.mid-segment select:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(15,129,120,.12)}.code-row{display:grid;grid-template-columns:1fr 130px;gap:10px;align-items:end}.button{border:0;border-radius:14px;padding:13px 18px;font-weight:800;transition:.2s;white-space:nowrap}.button-primary{color:#fff;background:var(--teal)}.button-primary:hover{background:var(--teal-dark)}.button-light{color:var(--teal);background:var(--mint)}.button:disabled{opacity:.5;cursor:not-allowed}.checkbox-row{font-size:14px;font-weight:500!important;display:flex!important;align-items:center;gap:8px}.checkbox-row input{width:17px!important;margin:0!important}.form-error{color:#c94b36;min-height:24px;margin:2px 0 8px}.form-error.form-notice{color:var(--teal)}.auth-actions{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.security-note,.readonly-tip{color:var(--muted);font-size:13px;margin:22px 0 0}.app-view{animation:fadein .3s ease}.topbar{padding:4px 0 28px}.topbar-brand{justify-content:flex-start}.mini-avatar{height:44px;width:44px;border-radius:13px}.topbar-brand strong{display:block;font-size:22px}.topbar-actions{justify-content:flex-end;color:var(--muted);font-size:14px}.admin-link{padding:8px 12px}.app-message{min-height:0;margin-bottom:12px;color:#a95132}.hero-card{padding:34px 38px;display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;background:linear-gradient(120deg,#fff 0,#f2fbf9 100%)}.hero-card h1{font-size:clamp(30px,4vw,50px);line-height:1.16;margin:0 0 8px;letter-spacing:-1px}.hero-subtitle{font-size:18px;color:var(--muted);margin:0}.window-badge{display:flex;align-items:center;gap:10px;background:var(--mint);border-radius:999px;padding:12px 17px;color:var(--teal);font-weight:800}.window-badge #windowDot{width:9px;height:9px;border-radius:50%;background:#22a06b}.window-badge.closed #windowDot{background:#d07b56}.profile-card{padding:28px 32px;margin-bottom:18px}.area-label{font-size:18px;color:var(--muted);font-weight:700}.profile-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin:20px 0}.profile-grid span{display:block;color:var(--muted);font-size:13px;margin-bottom:4px}.profile-grid strong{display:block;font-size:17px;overflow-wrap:anywhere}.segmented{display:flex;gap:8px}.segmented button{min-width:120px;border:0;border-radius:12px;padding:11px 25px;background:#f0f6f5;color:#587471;font-weight:800}.segmented button.active{background:var(--teal);color:#fff}.mid-segment{min-width:250px}.mid-segment label{margin:0}.content-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr);gap:18px}.panel{padding:27px}.menu-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.menu-item{border:1px solid var(--line);border-radius:17px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:14px}.menu-item h3{font-size:17px;margin:0 0 2px}.menu-item p{margin:0;color:var(--muted);font-size:13px}.dish-price{color:var(--orange);font-size:18px;font-weight:800;margin-top:5px}.quantity{display:flex;align-items:center;gap:9px}.quantity button{width:30px;height:30px;border:0;border-radius:50%;background:var(--mint);color:var(--teal);font-size:21px;line-height:1}.quantity strong{min-width:18px;text-align:center}.order-bar{position:sticky;bottom:12px;background:#133f3c;color:#fff;border-radius:17px;padding:15px 17px;margin-top:18px;box-shadow:0 10px 26px rgba(19,63,60,.18)}.order-bar>div{display:flex;align-items:baseline;gap:15px}.order-bar strong:last-child{font-size:21px;color:#ffd3b8}.order-bar .button{background:#15968c}.side-column{display:flex;flex-direction:column;gap:18px}.big-number{font-size:34px;color:var(--orange);display:block;margin-top:16px}.orders-list{margin-top:14px;display:flex;flex-direction:column;gap:10px;max-height:420px;overflow:auto}.order-card{border:1px solid var(--line);border-radius:14px;padding:13px}.order-card header{display:flex;justify-content:space-between;gap:8px;font-weight:800}.order-card small,.order-card p{color:var(--muted);margin:3px 0;font-size:13px}.status-valid{color:var(--teal)}.status-canceled{color:#9aa9a7}.footer-note{text-align:center;color:var(--muted);font-size:13px;margin-top:22px}@keyframes fadein{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media (max-width:850px){.page-shell{padding:20px 14px 35px}.auth-layout{min-height:auto;grid-template-columns:1fr;gap:18px}.brand-block{padding:12px 4px}.brand-avatar{width:64px;height:64px;border-radius:18px;margin-bottom:16px}.brand-block h1{font-size:38px}.brand-copy{font-size:15px}.auth-card{padding:25px 20px}.topbar{align-items:flex-start}.topbar-actions{gap:10px;flex-wrap:wrap}.topbar-actions>span{display:none}.admin-link{display:none}.hero-card{padding:25px 22px}.hero-card h1{font-size:33px}.window-badge{font-size:13px;padding:9px 11px}.profile-card,.panel{padding:21px 18px}.profile-grid{grid-template-columns:repeat(2,1fr);gap:16px}.identity-controls{align-items:stretch;flex-direction:column}.segmented button{flex:1}.mid-segment{min-width:0}.content-grid{grid-template-columns:1fr}.menu-list{grid-template-columns:1fr}.order-bar{bottom:5px}.section-heading h2{font-size:21px}}
@media (max-width:420px){.hero-card{align-items:flex-start;gap:12px;flex-direction:column}.hero-card h1{font-size:29px}.code-row{grid-template-columns:1fr}.code-row .button{width:100%}.auth-actions{font-size:14px}}
.button-danger{background:#b94935!important;color:#fff}.button-danger:hover{background:#913829!important}
