.auth-page{--auth-accent:#39644f;--auth-soft:#e4ede7;--auth-deep:#254d3d;--auth-text:#24312d;--auth-muted:#748079;width:100%;max-width:none;min-height:100dvh;color:var(--auth-text);background:#f2f5f3;place-items:center;margin:0;padding:32px;font-family:Segoe UI,Tahoma,Arial,sans-serif;line-height:1.5;display:grid}.auth-restaurant{--auth-accent:#42688b;--auth-soft:#e5edf5;--auth-deep:#2c4b67;background:#f2f5f8}.auth-admin{--auth-accent:#615b85;--auth-soft:#ebe9f3;--auth-deep:#454061;background:#f4f3f7}.auth-shell{background:#fff;border:1px solid #e1e7e3;border-radius:20px;grid-template-columns:1fr 1fr;width:min(960px,100%);min-height:600px;display:grid;overflow:hidden;box-shadow:0 18px 65px #263c2d09}.auth-intro{background:var(--auth-soft);border:0;flex-direction:column;padding:32px 38px;display:flex;position:relative;overflow:hidden}.auth-product{color:var(--auth-deep);align-items:center;gap:9px;font-size:15px;font-weight:600;display:flex}.auth-product>span{background:var(--auth-accent);border-radius:3px;width:8px;height:8px}.auth-story{margin:auto 0;padding:36px 0 20px}.auth-kicker{letter-spacing:1.5px;color:var(--auth-accent);margin:0 0 18px;font-size:10px;font-weight:600}.auth-story h2{white-space:pre-line;letter-spacing:-.8px;color:var(--auth-deep);margin:0 0 16px;font-size:31px;font-weight:600;line-height:1.35}.auth-story>p:not(.auth-kicker){max-width:320px;color:var(--auth-deep);opacity:.8;margin:0;font-size:13px;line-height:1.9}.auth-intro-foot{color:var(--auth-deep);opacity:.65;font-size:11px}.auth-illustration{margin:30px 0 8px;padding:12px 16px 12px 0;position:relative}.auth-orbit{border:1px solid color-mix(in srgb,var(--auth-accent) 15%,transparent);border-radius:50%;width:190px;height:190px;position:absolute;top:-15px;right:-30px}.auth-sheet{background:#ffffffbd;border:1px solid #ffffffdf;border-radius:12px;max-width:290px;padding:0 17px 6px;position:relative;box-shadow:0 8px 25px #24382c06}.auth-sheet-top{border-bottom:1px solid color-mix(in srgb,var(--auth-accent) 10%,transparent);align-items:center;gap:4px;height:35px;display:flex}.auth-sheet-top>span{background:var(--auth-soft);border-radius:3px;width:42px;height:5px;margin-right:auto}.auth-sheet-top i{background:var(--auth-accent);opacity:.3;border-radius:50%;width:4px;height:4px}.auth-step{color:var(--auth-deep);align-items:center;gap:10px;padding:12px 0;font-size:12px;display:flex}.auth-step+.auth-step{border-top:1px solid color-mix(in srgb,var(--auth-accent) 8%,transparent)}.auth-step-number{color:var(--auth-accent);opacity:.6;font-size:10px}.auth-step svg{opacity:.4;margin-left:auto}.auth-form-panel{background:#fff;flex-direction:column;justify-content:center;min-width:0;padding:44px 44px 24px;display:flex}.auth-form-inner{width:100%;margin:auto 0}.auth-form-inner h1{letter-spacing:-.6px;color:var(--auth-text);margin:0;font-size:29px;font-weight:600}.auth-welcome{color:var(--auth-muted);margin:10px 0 30px;font-size:13px}.auth-form-panel form{margin:0}.auth-form-panel fieldset{border:0;min-width:0;margin:0;padding:0}.auth-field{margin:0 0 20px}.auth-field>label{color:var(--auth-text);margin:0 0 8px;font-size:13px;font-weight:600;display:block}.auth-field input{width:100%;height:46px;color:var(--auth-text);box-sizing:border-box;background:#fff;border:1px solid #d9e0dc;border-radius:8px;margin:0;padding:10px 13px;font:14px Segoe UI,Tahoma,Arial,sans-serif;transition:border-color .15s,box-shadow .15s;display:block}.auth-field input::placeholder{color:#a0a9a3;font-size:13px}.auth-field input:focus{border-color:var(--auth-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--auth-accent) 12%,transparent);outline:0}.auth-password{position:relative}.auth-password input{padding-right:48px}.auth-reveal{width:36px;height:36px;color:var(--auth-muted);cursor:pointer;background:0 0;border:0;border-radius:5px;place-items:center;padding:0;display:grid;position:absolute;top:5px;right:5px}.auth-reveal:hover{background:var(--auth-soft);color:var(--auth-accent)}.auth-caps{color:#986420;margin:8px 0 0;font-size:12px}.auth-error{color:#a14a3b;overflow-wrap:anywhere;background:#fff3f0;border:1px solid #f1dbd5;border-radius:7px;outline:none;margin:0 0 18px;padding:11px 12px;font-size:13px;line-height:1.65}.auth-submit{background:var(--auth-accent);border:1px solid var(--auth-accent);color:#fff;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:9px;width:100%;height:46px;margin:5px 0 0;padding:10px 15px;font:600 14px Segoe UI,Tahoma,Arial,sans-serif;transition:filter .15s,transform .15s;display:flex}.auth-submit>span:last-child:not(.auth-spinner){margin-left:6px;font-size:18px}.auth-submit:hover{background:var(--auth-accent);filter:brightness(.93)}.auth-submit:active{transform:translateY(1px)}.auth-form-panel button:focus-visible{outline:2px solid var(--auth-accent);outline-offset:3px}.auth-form-panel fieldset:disabled button{opacity:.6;cursor:wait}.auth-field input:disabled{opacity:.7;background:#f8faf9}.auth-account-hint{color:var(--auth-muted);margin:17px 0 0;font-size:11px;line-height:1.8}.auth-help{color:var(--auth-muted);text-align:center;margin:30px 0 0;font-size:11px}.auth-mobile-product{display:none}.auth-checking{min-height:210px;color:var(--auth-muted);align-items:center;gap:10px;font-size:13px;display:flex}.auth-spinner{border:2px solid;border-right-color:#0000;border-radius:50%;flex-shrink:0;width:15px;height:15px;animation:.8s linear infinite auth-spin;display:inline-block}@keyframes auth-spin{to{transform:rotate(360deg)}}@media (max-width:760px){.auth-page{padding:20px}.auth-shell{border-radius:15px;grid-template-columns:1fr;max-width:440px;min-height:0}.auth-intro{display:none}.auth-form-panel{padding:30px}.auth-mobile-product{color:var(--auth-accent);margin:0 0 30px;font-size:13px;font-weight:600;display:block}.auth-form-inner h1{font-size:27px}.auth-help{margin-top:28px}}@media (max-width:380px){.auth-page{padding:12px}.auth-form-panel{padding:26px 22px}}@media (prefers-reduced-motion:reduce){.auth-spinner{animation:none}.auth-submit,.auth-field input{transition:none}}
.role-permissions{margin-top:24px}.role-guide{background:#f0f6f1;border:1px solid #dce9df;border-radius:8px;padding:14px 16px}.role-guide strong{font-size:14px}.role-guide p,.role-selection p,.role-custom>p{color:var(--muted);margin:7px 0 0;font-size:12px;line-height:1.7}.role-preset-group{margin-top:20px}.role-preset-group>h3{color:var(--muted);margin-bottom:10px;font-size:12px}.role-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.role-preset{text-align:left;border:1px solid var(--line);background:#fff;min-width:0;padding:14px}.role-preset>span{justify-content:space-between;align-items:center;gap:6px;display:flex}.role-preset strong{font-size:13px}.role-preset em{color:var(--green);white-space:nowrap;font-size:10px;font-style:normal}.role-preset small{margin-top:7px;font-size:11px;line-height:1.6}.role-preset.is-selected{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green);background:#f0f7f1}.role-selection{border:1px solid var(--line);border-radius:8px;margin-top:22px;padding:16px}.role-selection>strong{font-size:13px}.role-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px;display:grid}.role-preview h4{color:var(--muted);margin:0;font-size:11px}.role-preview ul{margin:8px 0 0;padding-left:17px;font-size:12px;line-height:1.8}.role-custom-toggle{color:var(--green);margin-top:16px;font-size:12px}.role-custom{margin-top:12px}.role-check-group{border-bottom:1px solid var(--line);padding:16px 0}.role-check-group .check{font-size:12px;line-height:1.7}.role-permissions .error>button{margin-left:10px;font-size:12px}@media (max-width:560px){.role-preset-grid,.role-preview{grid-template-columns:minmax(0,1fr)}.role-preset>span{align-items:flex-start}.role-permissions .error>button{margin:10px 0 0;display:block}}.role-mode-tabs{border-bottom:1px solid var(--line);gap:8px;margin-bottom:18px;padding-bottom:12px;display:flex}.role-mode-tabs button{font-size:12px}.role-mode-tabs button.selected{color:var(--green);border-color:var(--green);background:#edf5ee}.template-toolbar{justify-content:flex-end;margin-top:14px;display:flex}.template-card{border:1px solid var(--line);border-radius:8px;min-width:0;padding:16px}.template-card>strong{font-size:14px}.template-card>p{color:var(--muted);font-size:11px}.template-card .actions{flex-wrap:wrap;justify-content:flex-start;margin-top:14px}.template-card .actions button{font-size:12px}.template-manager .field{margin:14px 0;display:block}
