:root{--app-background:#151515;--shell-background:#181817;--card-background:#1a1a19;--card-border:#313130;--text-primary:#f0efec;--text-secondary:#898781;--accent:#6da7ec;--accent-dark:#0d2847;--badge-background:#d03b3b;--badge-text:#fff;--avatar-background:#032042;--danger:#ef6a6a;--success:#65c78b;--safe-top:var(--tg-content-safe-area-inset-top,env(safe-area-inset-top,0px));--safe-bottom:var(--tg-content-safe-area-inset-bottom,env(safe-area-inset-bottom,0px))}*{box-sizing:border-box}html{background:var(--app-background)}body{background:var(--app-background);color:var(--text-primary);margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,sans-serif}button{font:inherit}.app-root{min-height:100dvh;padding:calc(18px + var(--safe-top)) 12px calc(24px + var(--safe-bottom));background:radial-gradient(circle at 50% -20%,#263343 0,transparent 38%),var(--app-background)}.app-shell{background:#181817f5;border:1px solid #252524;border-radius:30px;width:min(100%,460px);min-height:calc(100dvh - 42px);margin:auto;padding:22px;box-shadow:0 28px 80px #0008}.profile-header{align-items:center;gap:14px;margin:4px 2px 28px;display:flex}.avatar{background:var(--avatar-background);width:54px;height:54px;color:var(--accent);border:1px solid #174779;border-radius:50%;place-items:center;display:grid}.avatar svg{width:25px}.profile-header span,.page-header p{color:var(--text-secondary);font-size:13px}.profile-header h1,.page-header h1{letter-spacing:-.03em;margin:2px 0 0;font-size:24px;line-height:1.1}.menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.menu-card{border:1px solid var(--card-border);background:var(--card-background);min-height:142px;color:var(--text-primary);text-align:left;border-radius:22px;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:18px;transition:transform .16s,border-color .16s,background .16s;display:flex;position:relative}.menu-card:active{background:#20201f;transform:scale(.975)}.menu-card:hover{border-color:#46566a}.menu-card svg{width:27px;height:27px;color:var(--accent);stroke-width:1.7px}.menu-card span{font-size:18px;font-weight:650}.notification-badge{background:var(--badge-background);min-width:24px;height:24px;color:var(--badge-text);border-radius:999px;place-items:center;padding:0 6px;font-size:12px;display:grid;position:absolute;top:14px;right:14px}.mock-label{color:#686762;text-align:center;margin:20px 0 0;font-size:11px}.page-header{align-items:center;gap:12px;margin:2px 0 22px;display:flex}.page-header>div{min-width:0}.icon-button{border:1px solid var(--card-border);background:var(--card-background);width:42px;height:42px;color:var(--text-primary);border-radius:14px;flex:none;place-items:center;display:grid}.icon-button svg{width:20px}.state-controls{background:#121212;border-radius:12px;gap:5px;margin:-8px 0 16px;padding:4px;display:flex;overflow:auto}.state-controls button{color:#77756f;white-space:nowrap;background:0 0;border:0;border-radius:9px;flex:1;padding:7px 8px;font-size:10px}.state-controls button.active{color:var(--text-primary);background:#292928}.card-list{gap:12px;display:grid}.content-card,.details-card{border:1px solid var(--card-border);background:var(--card-background);border-radius:20px;padding:18px}.card-kicker{color:var(--accent);letter-spacing:.12em;text-transform:uppercase;font-size:10px;font-weight:750}.date-row{color:var(--text-secondary);justify-content:space-between;align-items:center;margin:0 0 16px;font-size:14px;display:flex}.date-row strong{color:var(--text-primary);font-size:23px}.button-row{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px;display:grid}.action-button{background:var(--accent);color:#07192e;border:1px solid #0000;border-radius:13px;width:100%;min-height:44px;padding:10px 13px;font-weight:720;transition:opacity .15s,transform .15s}.action-button:active{transform:scale(.98)}.action-button:disabled{opacity:.42}.action-button.secondary{color:var(--text-primary);background:#242423;border-color:#3b3b39}.compact h2{margin-bottom:0}.info-strip{color:#aecbeb;background:#142536;border:1px solid #284866;border-radius:14px;margin-bottom:14px;padding:13px 14px;font-size:13px;line-height:1.45}.slot-choice{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:16px;display:grid}.slot-choice button{border:1px solid var(--card-border);background:var(--card-background);color:var(--text-secondary);text-align:left;border-radius:16px;flex-direction:column;gap:8px;padding:16px;display:flex}.slot-choice button strong{color:var(--text-primary);font-size:22px}.segmented{background:#101010;border-radius:14px;grid-template-columns:repeat(3,1fr);gap:4px;margin-bottom:16px;padding:4px;display:grid}.segmented button{color:var(--text-secondary);background:0 0;border:0;border-radius:10px;padding:10px 4px;font-size:12px}.segmented button.active{color:var(--text-primary);background:#292928}.quick-actions{grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:14px;display:grid}.quick-actions button{border:1px solid var(--card-border);background:var(--card-background);min-height:62px;color:var(--text-secondary);border-radius:13px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:7px;font-size:10px;display:flex}.quick-actions svg{width:18px;color:var(--accent)}.slot-card{border:1px solid var(--card-border);background:var(--card-background);border-radius:16px;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.slot-card>div{color:var(--text-secondary);flex-direction:column;gap:4px;font-size:12px;display:flex}.slot-card strong{color:var(--text-primary);font-size:20px}.status{border:0;border-radius:10px;padding:8px 10px;font-size:11px;font-weight:700}.status.free{color:#75daa0;background:#173426}.status.blocked{color:#f18686;background:#382323}.status.pending{color:#f0c66d;background:#3b311d}.status.booked{color:#80b8f5;background:#172e49}.list-link{border:1px solid var(--card-border);background:var(--card-background);width:100%;color:var(--text-primary);text-align:left;border-radius:17px;align-items:center;gap:12px;padding:14px;display:flex}.list-link>div:nth-child(2){flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.list-link span{color:var(--text-secondary);font-size:12px}.list-link>svg{width:18px;color:var(--text-secondary)}.client-avatar{background:var(--avatar-background);width:43px;height:43px;color:var(--accent);border-radius:14px;flex:none;place-items:center;font-size:12px;font-weight:800;display:grid}.details-card{margin-bottom:12px}.detail{border-bottom:1px solid #2b2b2a;justify-content:space-between;gap:20px;padding:14px 0;display:flex}.detail:last-child{border:0}.detail span{color:var(--text-secondary);font-size:12px}.detail strong{text-align:right;font-size:14px}.state-card{border:1px dashed var(--card-border);min-height:260px;color:var(--text-secondary);text-align:center;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;padding:30px 16px;display:flex}.state-card.tall{min-height:440px}.state-card svg{width:28px;color:var(--accent)}.state-card h2{color:var(--text-primary);margin:14px 0 4px;font-size:17px}.state-card p{margin:0 0 16px;font-size:13px}.state-icon{color:var(--accent);font-size:40px}.toast{left:50%;bottom:calc(24px + var(--safe-bottom));z-index:10;color:#d8eaff;white-space:nowrap;background:#10243a;border:1px solid #436384;border-radius:13px;padding:12px 16px;font-size:13px;position:fixed;transform:translate(-50%);box-shadow:0 10px 30px #0008}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=370px){.app-root{padding-left:7px;padding-right:7px}.app-shell{border-radius:24px;padding:16px}.menu-card{min-height:128px;padding:15px}.menu-card span{font-size:16px}.state-controls button{font-size:9px}.button-row{grid-template-columns:1fr}}@media (width>=700px){.app-shell{min-height:720px;margin-top:20px;margin-bottom:20px}.menu-card{min-height:150px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}.app-root{padding:0 12px calc(18px + var(--safe-bottom));background:#000}.app-shell{width:min(100%,740px);min-height:auto;box-shadow:none;background:#161616;border:0;border-radius:24px;margin:0 auto;padding:48px}.profile-header{gap:20px;margin:0 0 28px}.avatar{background:#052a53;border:0;width:72px;height:72px}.avatar svg{stroke-width:2px;width:30px;height:30px}.profile-header span{font-size:16px}.profile-header h1{letter-spacing:-.025em;margin-top:0;font-size:30px;font-weight:720}.menu-grid{gap:16px}.menu-card{text-align:center;background:#1a1a19;border:2px solid #303030;border-radius:16px;justify-content:center;align-items:center;gap:18px;min-height:138px;padding:20px}.menu-card:hover{background:#1d1d1c;border-color:#444}.menu-card svg{stroke-width:2px;width:32px;height:32px;color:var(--accent)}.menu-card span{font-size:27px;font-weight:520;line-height:1.05}.notification-badge{min-width:36px;height:36px;padding:0 8px;font-size:20px;font-weight:650;top:-12px;right:-14px}.mock-label{margin-top:24px;font-size:12px}.page-header{gap:20px;margin:0 0 28px}.page-header .icon-button{width:72px;height:72px;color:var(--accent);background:#052a53;border:0;border-radius:50%}.page-header .icon-button svg{width:30px;height:30px}.page-header h1{font-size:30px;font-weight:720}.page-header p{margin-top:4px;font-size:22px;line-height:1.25}.state-controls{border-radius:13px;margin:0 0 24px;padding:5px}.state-controls button{padding:9px 10px;font-size:12px}.card-list{gap:20px}.content-card,.details-card{background:#1a1a19;border:2px solid #303030;border-radius:24px;padding:28px}.content-card h2{margin:4px 0 14px;font-size:27px}.card-kicker{font-size:13px}.date-row{margin-bottom:20px;font-size:22px}.date-row strong{font-size:26px}.button-row{gap:16px;margin-bottom:14px}.action-button{min-height:66px;color:var(--text-primary);background:#191919;border:2px solid #444;border-radius:16px;padding:14px 18px;font-size:25px;font-weight:540}.action-button:hover{background:#1d1d1d;border-color:#606060}.action-button.secondary{background:#191919;border-color:#444}.action-button.danger{color:var(--text-primary);background:#191919;border-color:#444}.info-strip{color:#c3c2bc;background:#1a1a19;border:2px solid #303030;border-radius:20px;margin-bottom:24px;padding:22px 28px;font-size:22px}.slot-choice{gap:16px;margin-bottom:20px}.slot-choice button{text-align:center;background:#1a1a19;border:2px solid #303030;border-radius:18px;justify-content:center;align-items:center;min-height:116px;padding:22px}.slot-choice button span{font-size:18px}.slot-choice button strong{font-size:28px}.slot-choice button.selected{border-color:var(--accent);background:#102945}.segmented{border-radius:15px;gap:6px;margin-bottom:24px;padding:5px}.segmented button{padding:13px 8px;font-size:17px}.quick-actions{gap:12px;margin-bottom:24px}.quick-actions button{background:#1a1a19;border:2px solid #303030;border-radius:16px;gap:10px;min-height:92px;padding:12px;font-size:15px}.quick-actions svg{width:25px;height:25px}.slot-card{border:2px solid #303030;border-radius:19px;padding:20px 28px}.slot-card>div{font-size:17px}.slot-card strong{font-size:27px}.status{border-radius:12px;padding:10px 16px;font-size:16px}.list-link{border:2px solid #303030;border-radius:20px;gap:18px;padding:20px 24px}.list-link strong{font-size:23px}.list-link span{font-size:18px}.list-link>svg{width:24px}.client-avatar{border-radius:50%;width:58px;height:58px;font-size:16px}.detail{padding:20px 0}.detail span{font-size:18px}.detail strong{font-size:21px}.state-card{border:2px solid #303030;border-radius:22px;min-height:350px}.state-card h2{font-size:24px}.state-card p{font-size:18px}.toast{border-radius:14px;padding:14px 22px;font-size:17px}@media (width<=600px){.app-root{padding-left:0;padding-right:0}.app-shell{border-radius:0;min-height:100dvh;padding:26px 20px}.profile-header,.page-header{gap:14px;margin-bottom:22px}.avatar,.page-header .icon-button{width:58px;height:58px}.profile-header h1,.page-header h1{font-size:24px}.page-header p{font-size:15px}.menu-grid{gap:10px}.menu-card{border-width:1px;gap:14px;min-height:128px;padding:14px}.menu-card svg{width:27px;height:27px}.menu-card span{font-size:20px}.notification-badge{min-width:28px;height:28px;font-size:15px;top:-7px;right:-7px}.content-card,.details-card{border-width:1px;padding:20px}.content-card h2{font-size:21px}.date-row{font-size:16px}.date-row strong{font-size:23px}.action-button{border-width:1px;min-height:52px;padding:11px 12px;font-size:18px}.info-strip{border-width:1px;padding:17px 18px;font-size:16px}.quick-actions button,.slot-card,.list-link{border-width:1px}.list-link strong{font-size:18px}.list-link span{font-size:14px}.state-card{border-width:1px}}@media (width<=370px){.app-shell{padding:22px 14px}.menu-card{min-height:116px}.menu-card span{font-size:18px}.button-row{grid-template-columns:1fr}.action-button{font-size:17px}}.status:disabled{cursor:not-allowed;opacity:.78}
