:root{--yellow: #ff6b00;--yellow-deep: #e85d04;--blue: #1a6dbb;--navy: #102a4d;--ink: #343a40;--muted: #666666;--line: #e6e6e6;--bg: #f5f5f5;--card: #ffffff;--shadow: 0 10px 30px rgba(0, 0, 0, .1);--rental: #e8f1ff;--training: #ffe8d6;--danger: #e11d48;--ok: #128a3e}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{font-family:Montserrat,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f6f3ee}.login-card{width:min(420px,100%);display:grid;gap:12px;background:#fff;border-radius:18px;padding:28px;box-shadow:0 16px 40px #10182814}.login-card h2{margin:8px 0 0}.login-wait{padding:32px}.yc-user{display:grid;gap:2px;margin-top:auto;padding:12px 4px 0;font-size:13px}.yc-user span,.yc-user button{color:#6b7280}.yc-user button{justify-self:start;margin-top:6px;border:0;background:transparent;padding:0;cursor:pointer}.rights{display:grid;gap:6px}.check{display:flex;align-items:center;gap:8px}.app{min-height:100vh}.app.yc-app{display:grid;grid-template-columns:252px minmax(0,1fr);background:#f4f5f7}.header{position:sticky;top:0;z-index:10;background:#fff;box-shadow:0 1px #ececec}.header-inner{max-width:1280px;margin:0 auto;padding:12px 28px;display:flex;align-items:center;gap:28px}.brand{display:flex;flex-direction:column;line-height:1.05;color:var(--blue);min-width:132px}.brand-title{font-weight:800;font-size:15px;text-transform:uppercase;letter-spacing:.04em}.brand-sub{margin-top:4px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--blue)}.nav{display:flex;gap:4px;flex-wrap:wrap;flex:1}.nav a{padding:10px 12px;color:var(--ink);font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.04em;border-radius:0}.nav a:hover,.nav a.active{color:var(--blue)}.nav a.active{box-shadow:inset 0 -3px 0 var(--yellow)}.header-phone{margin-left:auto;font-weight:700;color:var(--ink);white-space:nowrap}.content{max-width:none;margin:0;padding:22px 24px 48px;min-width:0;background:#f7f8fa}.topbar{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:22px;flex-wrap:wrap}.topbar h2{margin:0;font-size:28px;font-weight:700;letter-spacing:0;text-transform:none;color:#1a1a1a}.topbar p{margin:6px 0 0;color:var(--muted)}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.topbar .row{flex:1 1 280px;min-width:0;justify-content:flex-end}.btn{border:0;background:#2b2b2b;color:#fff;border-radius:4px;padding:10px 16px;font-weight:600;cursor:pointer}.btn:hover{opacity:.92}.btn.yellow{background:#ff9f1c;color:#fff}.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}.btn.danger{background:var(--danger)}.btn:disabled{opacity:.5;cursor:not-allowed}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.stat{background:var(--card);border-radius:18px;padding:16px 18px;box-shadow:var(--shadow)}.stat span{color:var(--muted);font-size:13px;font-weight:600}.stat strong{display:block;margin-top:6px;font-size:24px;letter-spacing:-.04em}.board-wrap{background:#fff;border:1px solid #e6e8ee;border-radius:14px;box-shadow:0 1px 2px #1018280a,0 10px 28px #1018280d;overflow:auto;max-height:calc(100vh - 220px)}.board{position:relative;display:grid;width:max-content;min-width:0;background:linear-gradient(#fff,#fff) padding-box}.corner,.th,.hour,.slot,.booking,.blocked{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.corner,.th{position:sticky;top:0;z-index:3;background:var(--navy);color:#fff;height:56px;display:flex;align-items:center;justify-content:center;font-weight:700}.corner{left:0;z-index:4}.hour{position:sticky;left:0;z-index:2;background:#fafafa;display:grid;place-items:center;font-weight:700;font-size:11px;color:#444}.slot{background:#fff;cursor:pointer;min-height:22px;transition:background .15s ease}.slot:hover{background:#ffe8d6}.slot:after{content:"+";display:none;color:#111;font-size:22px;font-weight:700;height:100%;align-items:center;justify-content:center}.slot:hover:after{display:flex;font-size:16px;color:#c4c8d0}.slot.off{background:repeating-linear-gradient(-45deg,#f6f6f6,#f6f6f6 8px,#efefef 8px,#efefef 16px);cursor:not-allowed}.slot.off:hover,.slot.off:hover:after{background:repeating-linear-gradient(-45deg,#f6f6f6,#f6f6f6 8px,#efefef 8px,#efefef 16px);content:none}.booking{margin:4px;border:0;border-radius:14px;text-align:left;padding:10px 12px;cursor:pointer;color:#111;box-shadow:inset 4px 0 0 var(--accent, var(--yellow));overflow:hidden}.booking.training{background:var(--training)}.booking.rental{background:var(--rental)}.booking b{display:block;font-size:13px}.booking small{display:block;color:#444;margin-top:4px}.legend{display:flex;gap:18px;margin:14px 2px 0;color:#6b7280;font-size:13px;font-weight:500;flex-wrap:wrap;align-items:center}.dot{width:10px;height:10px;border-radius:99px;display:inline-block;margin-right:6px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#11111173;display:grid;place-items:center;z-index:20;padding:20px}.modal{width:min(560px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border-radius:24px;padding:24px;box-shadow:0 20px 60px #0003}.modal h3{margin:0 0 16px;font-size:24px;letter-spacing:-.04em}.form{display:grid;gap:12px}.form label{display:grid;gap:6px;font-size:13px;font-weight:700;color:#444}input,select,textarea{border:1px solid #e4e2dc;border-radius:12px;padding:10px 12px;background:#fafafa}.form input,.form select,.form textarea,.card input{width:100%}.topbar input[type=date]{background:#fff}input[type=checkbox]{width:auto;padding:0}.card label{display:grid;gap:6px;font-size:13px;font-weight:700;color:#444}.form textarea{min-height:72px;resize:vertical}.client-hits{display:grid;gap:6px}.client-hits button{display:flex;justify-content:space-between;gap:12px;text-align:left;border:1px solid #e6e8ee;background:#fff;border-radius:10px;padding:8px 10px;cursor:pointer}.client-hits span,.price-note,.pass-list span{color:#6b7280;font-weight:500}.price-note{margin:-4px 0 0;font-size:13px}.linkish{margin-left:8px;border:0;background:none;color:#1a6dbb;font-weight:700;cursor:pointer;padding:0}.pass-create{display:grid;grid-template-columns:1fr 88px auto;gap:8px;align-items:center}.pass-list{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:8px}.pass-list li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e6e8ee;border-radius:10px}.pass-list .change-log{flex-basis:100%}.click-row{cursor:pointer}.click-row:hover td{background:#fff8ee}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.cards.coaches{grid-template-columns:1fr;gap:20px}.card{background:var(--card);border-radius:20px;padding:18px;box-shadow:var(--shadow)}.card h3{margin:0;font-size:20px}.card .btn{width:220px;height:42px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:10px 16px;border:1px solid transparent}.card form .btn{justify-self:start}.card .btn.ghost{border-color:var(--line)}.muted{color:var(--muted)}.table{width:100%;border-collapse:collapse;background:var(--card);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}.table th,.table td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--line)}.table th{background:var(--navy);color:#fff;font-size:13px}.table tr:last-child td{border-bottom:0}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700;background:#f3f3f3}.toast{position:fixed;right:24px;bottom:24px;background:#111;color:#fff;padding:12px 16px;border-radius:12px;z-index:30}.error{color:var(--danger);font-size:13px}.coach-card{background:var(--card);border-radius:20px;box-shadow:var(--shadow);overflow:hidden;display:grid;grid-template-columns:180px 1fr;min-height:220px}.coach-photo{width:100%;height:100%;object-fit:cover;background:#dbe7f3}.coach-body{padding:20px 22px}.coach-body h3{margin:0;color:var(--blue);font-size:22px}.coach-rank{margin:6px 0 10px;color:var(--yellow);font-weight:700;font-size:14px}@media(max-width:640px){.header-inner{flex-wrap:wrap;padding:12px 16px}.header-phone{margin-left:0}.content{padding:18px}.stats{grid-template-columns:1fr 1fr}.coach-card{grid-template-columns:1fr}.coach-photo{height:220px}.app.yc-app{grid-template-columns:1fr}.yc-side{position:static;height:auto}}.yc-side{display:flex;flex-direction:column;background:#f3f4f6;border-right:1px solid #e6e8ee;min-height:100vh;padding:16px 12px 24px;position:sticky;top:0;height:100vh;overflow-x:hidden;overflow-y:auto}.yc-brand{display:flex;gap:10px;align-items:center;margin-bottom:14px}.yc-brand strong,.yc-brand span{display:block}.yc-brand strong{font-size:14px}.yc-brand span{color:#6b7280;font-size:12px}.yc-logo{width:34px;height:34px;border-radius:8px;background:#ffd21f;color:#111;font-weight:800;display:grid;place-items:center}.yc-cal{background:#fff;border:1px solid #eceff3;border-radius:8px;padding:8px;margin-bottom:14px}.yc-cal-head,.yc-cal-grid{display:grid}.yc-cal-head{grid-template-columns:28px minmax(0,1fr) 28px;align-items:center;margin-bottom:6px;font-size:13px;text-transform:capitalize}.yc-cal-head span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.yc-cal-head button,.yc-day{border:0;background:transparent;cursor:pointer;font-family:inherit;padding:0;margin:0;line-height:1}.yc-cal-head button{width:28px;height:28px;display:grid;place-items:center}.yc-cal-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.yc-dow,.yc-day,.yc-cal-grid>span{min-width:0;width:100%;display:flex;align-items:center;justify-content:center}.yc-dow{height:22px;color:#9aa0a6;font-size:11px}.yc-day{height:28px;border-radius:6px;font-size:12px;font-variant-numeric:tabular-nums}.yc-day.today{box-shadow:inset 0 0 0 1px #ff9f1c}.yc-day.on{background:#ff9f1c;color:#fff}.yc-nav{display:flex;flex-direction:column;gap:2px}.yc-nav a{padding:9px 10px;border-radius:8px;color:#333;font-size:14px}.yc-nav a.active{background:#fff;font-weight:700}.yc-today{margin-top:16px;width:100%;border:0;background:#ff9f1c;color:#fff;border-radius:4px;padding:10px;cursor:pointer;font-weight:700}.yc-side-note{color:#8b9098;font-size:12px;line-height:1.4;margin:10px 0 0;overflow-wrap:anywhere}.yc-kicker{margin:0 0 4px;color:#8b9098;font-size:13px}.yc-revenue{background:#fff;border:1px solid #e6e8ee;border-radius:10px;padding:6px 12px 7px;min-width:96px;line-height:1.15}.yc-revenue span{display:block;color:#8b9098;font-size:11px;font-weight:600}.yc-revenue b{font-size:16px;font-weight:700}.yc-revenue small{display:block;color:#8b9098;font-size:11px}.yc-panel{background:#fff;border:1px solid #eceff3;border-radius:10px;padding:16px}.yc-panel+.yc-panel{margin-top:16px}.yc-panel h3,.occ-block h3{margin:0 0 6px;font-size:18px}.occ-block{margin-top:22px}.occ-chart{display:flex;align-items:stretch;gap:6px;height:220px;margin-top:14px}.occ-col{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px}.occ-col>span{font-size:11px;color:#6b7280;min-height:14px}.occ-track{flex:1;width:100%;max-width:28px;background:#f3f4f6;border-radius:8px;display:flex;align-items:flex-end;overflow:hidden}.occ-track i{display:block;width:100%;background:#ff9f1c;border-radius:8px 8px 0 0}.occ-col b{font-size:12px;font-weight:700}.yc-search,.yc-range{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.yc-search input,.yc-range input,.row select{border:1px solid #e3e6eb;border-radius:4px;padding:10px 12px;background:#fff;min-width:180px}.yc-search input{flex:1}.yc-segments{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:14px 0;font-size:14px}.yc-segments button{border:0;background:transparent;color:#1a6dbb;cursor:pointer;padding:4px 2px}.yc-segments button.on{font-weight:700;border-bottom:2px solid #ff9f1c}.yc-table-wrap{overflow:auto}.yc-clients td,.yc-clients th{white-space:nowrap}.yc-pager{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:12px;color:#666;flex-wrap:wrap}.yc-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.yc-metrics.cols-4{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:0;margin-bottom:16px}.pass-pill{display:inline-flex;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700;background:#f3f4f6;color:#6b7280}.pass-pill.ok{background:#e8f7f3;color:#0f766e}.pass-pill.warn{background:#fff4e5;color:#b45309}.yc-metrics article{border:1px solid #eceff3;border-radius:8px;padding:14px 16px;min-height:110px}.yc-metrics span,.yc-metrics small{display:block;color:#6b7280}.yc-metrics strong{display:block;margin:10px 0 6px;font-size:28px;font-weight:500}.yc-board .corner,.yc-board .th{height:auto;align-self:stretch;background:#fff;color:#172033;box-shadow:inset 0 -1px #e6e8ee}.yc-th{position:relative;display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:flex-end;text-align:center;padding:4px 2px 3px}.yc-hide{position:absolute;top:1px;right:1px;width:16px;height:16px;border:0;border-radius:999px;background:transparent;color:#9aa3b2;font-size:14px;line-height:14px;padding:0;cursor:pointer}.yc-hide:hover{background:#f3f4f6;color:#172033}.coach-hidden{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}.coach-hidden span{color:#6b7280;font-size:13px}.coach-hidden button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:4px 10px;font:inherit;font-size:13px;cursor:pointer}.coach-hidden button:hover{border-color:#ff9f1c}.yc-th-name{display:flex;flex-direction:column;align-items:center;width:100%;min-width:0;border:0;background:transparent;padding:0;color:inherit;font:inherit;cursor:default}.yc-th-name[title]{cursor:pointer}.yc-rename{width:100%;min-width:0;border-radius:6px;padding:2px 4px;font-size:11px;text-align:center}.yc-th b,.yc-th small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yc-th b{font-size:11px;line-height:1.1;font-weight:700;color:#172033}.yc-th small{color:#6b7280;font-weight:500;font-size:10px}.yc-avatar{width:26px;height:26px;border-radius:50%;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:700;flex:0 0 auto;object-fit:cover;background:#e8edf3;box-shadow:0 0 0 1px #e6e8ee}.yc-table-mark{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:#e8f7f3;color:#0f766e;font-weight:700;font-size:11px}.hour.mark{color:#172033;font-weight:800;font-size:12px;background:#e7ebf2;box-shadow:inset 0 2px #8e98a8}.hour.half{font-weight:600;color:#6b7280;font-size:11px}.hour.quarter{font-weight:500;color:#9ca3af;font-size:10px}.hour.hot{background:#ff9f1c;color:#172033;font-weight:800;font-size:12px;z-index:5;box-shadow:inset 3px 0 #172033}.row-guide{grid-column:1 / -1;position:relative;z-index:1;background:#ff9f1c57;box-shadow:inset 0 2px #ff9f1c,inset 0 -2px #ff9f1c;pointer-events:none}.row-time{position:absolute;z-index:7;transform:translate(-50%);height:18px;padding:0 6px;border-radius:999px;background:#172033;color:#fff;font-size:11px;font-weight:800;line-height:18px;white-space:nowrap;pointer-events:none}.row-guide[hidden]{display:none}.yc-slot{position:relative;z-index:2;background-color:transparent;background-image:linear-gradient(to bottom,transparent 49%,#f2f3f5 50%,transparent 51%);touch-action:none;-webkit-user-select:none;user-select:none}.yc-slot.mark{background-color:#f3f5f8;box-shadow:inset 0 2px #8e98a8}.yc-slot.half{box-shadow:inset 0 1px #d5dae3}.yc-slot:after{content:attr(data-time);font-size:10px;font-weight:800;color:#172033;letter-spacing:-.02em}.yc-slot.selecting{background:#ffe3bf;box-shadow:inset 0 0 0 2px #ff9f1c}.yc-slot.selecting:after{display:none}.drag-chip{position:relative;z-index:6;align-self:start;justify-self:center;height:18px;margin-top:-8px;display:flex;align-items:center;padding:0 7px;border-radius:999px;background:#172033;color:#fff;font-size:11px;font-weight:700;white-space:nowrap;pointer-events:none;box-shadow:0 4px 10px #1018282e}.yc-card{position:relative;z-index:2;border:0;border-radius:4px;margin:1px;padding:2px 3px;text-align:left;cursor:pointer;color:#1d1d1d;overflow:hidden;display:flex;flex-direction:column;gap:1px}.yc-card b,.yc-card span,.yc-card small{display:block;line-height:1.2}.yc-card b{font-size:10px}.yc-card span{font-size:11px;font-weight:600}.yc-card small{font-size:10px;opacity:.8}.yc-card.training{background:#ffb067}.yc-card.group{background:#8ddeaf}.yc-card.rental{background:#7fd9c4}.yc-card.event-ladder{background:#f3d37a}.yc-card.event-tournament{background:#9ec1ff}.people{display:grid;gap:10px}.person{display:grid;gap:8px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fffaf3}.person .btn{justify-self:start}.yc-card.event-corporate{background:#d7b4f3}.pass-sale{display:grid;gap:8px;padding:12px;border:1px solid #eceff3;border-radius:12px;background:#fafafa}.pass-sale h4{margin:0;font-size:14px}.pass-sale .btn{justify-self:start}.week-board{display:grid;grid-template-columns:48px repeat(7,minmax(96px,1fr));gap:6px;overflow:auto}.week-hours .week-head,.week-col header{height:56px;display:flex;align-items:center;justify-content:center;font-size:12px;color:#666}.week-tick{display:flex;align-items:center;justify-content:center;font-size:11px;color:#888}.week-col header.on{font-weight:700;color:#111}.week-body{position:relative;background:#fff;border:1px solid #eceff3;border-radius:8px}.change-log{margin-top:8px;max-height:220px;overflow:auto;border-top:1px solid #ece7df;padding-top:8px}.change-log-row{display:flex;flex-direction:column;gap:2px;padding:6px 0;border-bottom:1px solid #f3efe8;font-size:13px}.change-log-row span{white-space:pre-line;color:#3d3a36}.week-body .yc-card{position:absolute;left:4px;right:4px;width:auto}@media(max-width:900px){.yc-metrics,.yc-metrics.cols-4{grid-template-columns:1fr 1fr}}
