@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:Manrope,Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#123555;background:#f3f7fb;font-synthesis:none;--navy:#082e55;--blue:#06559b;--cyan:#13a7bb;--muted:#6e8398;--stroke:#e0e9f2;--soft:#f3f8fc;--shadow:0 16px 40px rgba(12,52,88,.06)}*{box-sizing:border-box}html{min-width:320px}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}input,select{outline:none}input:focus,select:focus{border-color:#25a2ce!important;box-shadow:0 0 0 4px rgba(17,155,208,.1)}.hidden{display:none!important}.auth-screen{position:relative;min-height:100vh;overflow:hidden;color:#fff;background:linear-gradient(137deg,#061d39 4%,#063d6c 53%,#09698a 100%)}.auth-screen:after{position:absolute;content:"";width:90vw;height:80vw;max-width:1100px;max-height:1100px;border:1px solid rgba(255,255,255,.08);border-radius:50%;top:-65%;right:-25%;pointer-events:none}.auth-deco{position:absolute;border-radius:50%;filter:blur(5px)}.auth-deco-one{width:500px;height:500px;left:-250px;bottom:-270px;background:radial-gradient(circle,rgba(26,187,213,.34),transparent 69%)}.auth-deco-two{width:420px;height:420px;right:-150px;top:0;background:radial-gradient(circle,rgba(66,166,242,.16),transparent 70%)}.auth-shell{position:relative;z-index:1;max-width:1160px;min-height:100vh;margin:auto;padding:34px 26px 20px;display:grid;grid-template-columns:1.06fr .94fr;gap:6vw;align-items:center}.brand-box{display:flex;align-items:center;gap:11px}.brand-auth{position:absolute;left:26px;top:27px}.official-logo{width:58px;height:58px;object-fit:contain;flex:none;filter:drop-shadow(0 5px 10px rgba(0,0,0,.06))}.brand-type{display:flex;flex-direction:column;line-height:1.13;gap:5px}.brand-title{font-size:21px;letter-spacing:.13em;font-weight:800}.brand-caption{font-size:12px;letter-spacing:.19em;font-weight:800;color:#5cdaeb}.auth-copy h1{font-size:clamp(45px,4.2vw,66px);line-height:1.12;letter-spacing:-.05em;margin:17px 0 20px;font-weight:800}.auth-copy h1 em{font-style:normal;color:#49d3e6}.auth-copy>p{max-width:470px;font-size:17px;line-height:1.85;color:#bcd9e8}.eyebrow{font-size:10px;letter-spacing:.15em;color:#1697af;font-weight:800;text-transform:uppercase}.eyebrow.light{color:#82dce9}.auth-card{background:white;border-radius:28px;padding:34px 34px 27px;color:var(--navy);box-shadow:0 30px 75px rgba(0,20,45,.25);max-width:485px;width:100%;justify-self:end}.auth-tabs{display:flex;border-bottom:1px solid var(--stroke);gap:18px;margin-bottom:25px}.auth-tab{border:0;background:none;font-weight:800;padding:0 6px 16px;color:#8899a8;position:relative}.auth-tab.active{color:var(--blue)}.auth-tab.active:after{content:"";height:3px;border-radius:5px;background:#109bb7;position:absolute;bottom:-2px;left:0;right:0}.field{display:flex;flex-direction:column;gap:9px;margin-bottom:19px}.field>span{font-size:12px;font-weight:800;color:#28516d}.field i{font-style:normal;color:#9cadbe;font-weight:500}.field input,.field select,.filter-box select,.stats-selectors input,.stats-selectors select,.date-controls input{height:47px;width:100%;border:1px solid #dae5ee;background:#fafcfe;border-radius:11px;padding:0 14px;color:var(--navy);font-size:13px;font-weight:600}.field small{color:var(--muted);font-size:11px;line-height:1.4}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.btn{height:43px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;padding:0 18px;font-size:12px;font-weight:800;border:1px solid transparent;white-space:nowrap;transition:transform .12s,box-shadow .12s}.btn:hover{transform:translateY(-1px)}.btn:disabled{opacity:.55;cursor:wait}.btn-primary{background:linear-gradient(115deg,#0477ae,#0ba8c3);color:#fff;box-shadow:0 7px 17px rgba(0,135,180,.16)}.auth-submit{width:100%;height:51px;justify-content:space-between;padding:0 22px;font-size:14px}.auth-submit span{font-size:19px}.btn-light{background:#eaf3f9;color:#0c5988}.btn-outline{background:#fff;color:#0876a1;border-color:#c9e3ed}.btn-danger{background:#fff0f0;color:#c63b43;border-color:#f4cccc}.auth-hint{color:#899bac;text-align:center;font-size:11px;line-height:1.5;margin:17px 0 0}.auth-error,.modal-error{color:#c63543;font-size:12px;margin:10px 0 0;min-height:16px}.auth-bottom{position:absolute;bottom:16px;left:26px;color:#81b1c9;font-size:10px}.app-wrap{min-height:100vh}.topbar{height:83px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1250px)/2));box-shadow:0 1px 0 #e6edf3}.brand-app .brand-title{font-size:19px;color:#063c69}.brand-app .brand-caption{font-size:10px}.brand-app .official-logo{height:47px;width:47px}.topbar-right{display:flex;align-items:center;gap:25px}.live-indicator{display:flex;align-items:center;gap:8px;color:#6f8396;font-size:11px;font-weight:700}.live-indicator i{display:block;height:7px;width:7px;background:#19bfa8;border-radius:50%;box-shadow:0 0 0 4px #e1f8f4}.account{display:flex;align-items:center;gap:10px}.avatar{height:36px;width:36px;display:grid;place-items:center;background:#e7f6fc;color:#067fa5;border-radius:11px;font-weight:800}.account-names{display:flex;flex-direction:column;gap:3px;max-width:170px}.account-names strong{font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.account-names small{font-size:10px;color:#8397a6}.icon-btn{border:0;background:#edf5fa;width:36px;height:36px;border-radius:9px;color:#416886;font-size:17px}.container{max-width:1250px;margin:0 auto;padding:44px 24px 28px}.page-top{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:30px}.page-top h1{font-size:clamp(23px,2.7vw,30px);letter-spacing:-.035em;margin:8px 0 8px}.page-top p,.section-heading p,.content-head p{margin:0;color:#8193a6;font-size:12px;line-height:1.6}.add-top{height:47px;padding:0 22px}.toolbar{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:31px;border-bottom:1px solid #dbe6ef}.nav-tabs{display:flex;align-items:center;gap:22px;min-width:0}.nav-tab{display:flex;align-items:center;gap:10px;padding:0 7px 18px;border:0;background:none;color:#899aab;font-weight:800;font-size:12px;white-space:nowrap;position:relative}.nav-tab.active{color:var(--blue)}.nav-tab.active:after{content:"";position:absolute;height:3px;border-radius:5px 5px 0 0;bottom:-1px;left:0;right:0;background:#0c9db9}.filter-box{display:flex;align-items:center;gap:12px;padding-bottom:13px}.filter-title{font-size:11px;font-weight:800;color:#74889c;white-space:nowrap}.filter-box select{width:215px;height:39px;background:#fff;font-size:12px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:23px}.section-heading h2{font-size:20px;margin:0 0 7px;letter-spacing:-.025em}.date-controls,.stats-selectors{display:flex;gap:7px;align-items:center}.date-controls input{width:158px;height:40px;padding:0 10px;background:#fff}.date-controls .btn{height:40px}.date-arrow{width:37px;height:40px;border:1px solid #dce9f1;background:#fff;color:#31617d;font-weight:800;font-size:25px;border-radius:10px;line-height:1}.stats-selectors input,.stats-selectors select{height:40px;background:white;width:auto;min-width:150px}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:28px}.metric-card{min-height:164px;position:relative;overflow:hidden;padding:20px 22px;border:1px solid #e8eff5;border-radius:17px;background:#fff;box-shadow:var(--shadow);display:flex;flex-direction:column}.metric-top{font-size:12px;font-weight:800;color:#668094;display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:1}.metric-card strong{font-size:34px;font-weight:800;letter-spacing:-.05em;color:#0e395a;line-height:1.2;margin-top:22px;z-index:1;white-space:nowrap}.metric-note{font-size:11px;color:#9babba;margin-top:6px;z-index:1}.metric-primary{border:0;color:white;background:linear-gradient(132deg,#0b4782,#0077a2 70%,#0cacc0);box-shadow:0 14px 26px rgba(4,90,144,.13)}.metric-primary .metric-top,.metric-primary strong,.metric-primary .metric-note{color:white}.metric-primary .metric-note{color:#b9e5f0}.metric-water{position:absolute;width:160px;height:160px;right:-64px;bottom:-80px;border:22px solid rgba(255,255,255,.08);border-radius:50%}.metric-symbol{width:27px;height:27px;border-radius:9px;display:grid;place-items:center}.metric-symbol.blue{color:#0d88b6;background:#e3f5fb}.metric-symbol.cyan{color:#02adad;background:#d9faf6}.metric-symbol.gold{color:#cd970a;background:#fff5dc}.content-box{background:#fff;border:1px solid #e6eef5;border-radius:18px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:30px}.content-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 25px;border-bottom:1px solid #eaf0f5}.content-head h3{font-size:15px;margin:0 0 5px}.content-head .btn{height:38px}.desktop-table{width:100%;overflow:auto}.entries-table{width:100%;border-collapse:collapse;text-align:left}.entries-table thead{background:#f8fbfd}.entries-table th{font-size:10px;color:#8196a9;text-transform:uppercase;letter-spacing:.065em;font-weight:800;padding:15px 22px;white-space:nowrap}.entries-table td{font-size:12px;font-weight:700;padding:16px 22px;border-top:1px solid #edf2f5;white-space:nowrap}.entries-table tbody tr:hover{background:#fcfeff}.time-strong{font-weight:800;color:#0c416d}.coach-name{color:#244a6a}.record-type{display:inline-flex;padding:6px 10px;border-radius:8px;font-size:10px;font-weight:800}.record-type.personal{color:#07689b;background:#eaf6fb}.record-type.split{color:#029d96;background:#e3f9f5}.amount-strong{color:#0e4569;font-weight:800}.table-action{border:0;background:#f0f6fa;color:#2e6d92;border-radius:8px;padding:7px 10px;font-size:11px;font-weight:800}.table-action:disabled{visibility:hidden}.mobile-entries{display:none}.empty-state{text-align:center;padding:53px 10px 60px;color:#90a2b0}.empty-state h3{color:#224a65;font-size:15px}.empty-state p{font-size:12px}.empty-icon{width:56px;height:56px;border-radius:18px;background:#eff8fb;color:#15b3c7;font-size:31px;display:inline-grid;place-items:center}.coach-highlight{display:flex;align-items:center;gap:18px;background:linear-gradient(110deg,#e9f5fb,#f8fcfe);border:1px solid #dcebf4;padding:20px 23px;border-radius:16px;margin-bottom:20px}.coach-picture{width:55px;height:55px;flex:none;border-radius:17px;background:linear-gradient(125deg,#0b81b2,#26bcd4);color:white;display:grid;place-items:center;font-size:30px}.coach-highlight h2{font-size:19px;margin:5px 0}.coach-highlight p{font-size:11px;color:#7e94a4;margin:0}.month-hero{position:relative;display:flex;align-items:center;gap:45px;background:linear-gradient(100deg,#0b315b,#005b83 70%,#079eaf);border-radius:19px;padding:29px 35px;color:white;margin-bottom:25px;overflow:hidden}.month-hero>div:not(.month-decor){z-index:1;display:flex;flex-direction:column;gap:10px}.month-hero strong{font-size:30px;letter-spacing:-.04em}.month-hero strong small{font-size:13px;color:#c2e6ed;letter-spacing:0}.month-separator{height:44px;width:1px;background:#ffffff3e}.month-decor{position:absolute;width:240px;height:240px;border:32px solid rgba(255,255,255,.05);border-radius:50%;right:-80px;top:-110px}.rank-table th,.rank-table td{padding:16px 19px}footer{display:flex;justify-content:space-between;gap:10px;padding:15px 0 25px;color:#92a5b5;font-size:11px;font-weight:700}footer span{font-weight:500}.modal-backdrop{position:fixed;z-index:50;inset:0;background:rgba(5,25,47,.58);display:flex;justify-content:flex-end;backdrop-filter:blur(3px)}.modal-panel{background:#fff;width:min(100%,485px);height:100vh;overflow:auto;box-shadow:-18px 0 60px rgba(0,25,45,.18);padding:27px 29px 35px;animation:appear .14s ease-out}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:27px}.modal-head h2{font-size:22px;margin:7px 0 0;letter-spacing:-.03em}.modal-panel .field{margin-bottom:17px}.kind-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px}.kind-picker label input{position:absolute;opacity:0;pointer-events:none}.kind-picker span{display:flex;align-items:center;justify-content:center;padding:13px 6px;border:1px solid #dae6ed;border-radius:11px;background:#fafcfe;color:#6e8b9e;font-size:12px;font-weight:800;cursor:pointer;min-height:46px}.kind-picker input:checked+span{border-color:#14a5b7;background:#e8f9fc;color:#007e9b}.split-hint{font-size:11px;color:#008e8c;margin-top:-3px;background:#e6fbf9;padding:11px;border-radius:9px}.modal-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:10px}.modal-actions .btn{height:47px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,120px);z-index:100;pointer-events:none;opacity:0;background:#093f65;color:white;border-radius:11px;padding:12px 20px;font-size:12px;box-shadow:0 10px 30px #092e4c55;transition:.25s;max-width:95vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}@keyframes appear{from{transform:translateX(30px);opacity:.5}to{transform:translateX(0);opacity:1}}
@media(max-width:1050px){.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar{flex-wrap:wrap;align-items:flex-start}.filter-box{padding-bottom:13px}.nav-tabs{flex:1}.topbar-right{gap:13px}.live-indicator{display:none}.auth-shell{gap:26px}}@media(max-width:720px){.auth-shell{min-height:100svh;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:20px;padding:30px 18px}.brand-auth{position:static}.brand-auth .official-logo{width:44px;height:44px}.brand-auth .brand-title{font-size:18px}.auth-copy{margin-top:16px}.auth-copy h1{font-size:38px;margin:12px 0}.auth-copy>p{font-size:13px;line-height:1.6;margin:0}.auth-card{max-width:100%;padding:26px 22px 18px;align-self:center;border-radius:20px}.auth-bottom{position:static;text-align:center;margin:4px 0;color:#b4d3e4}.topbar{height:71px;padding:0 16px}.brand-app .official-logo{width:41px;height:41px}.brand-app .brand-title{font-size:17px}.brand-app .brand-caption{font-size:9px}.account-names{display:none}.container{padding:26px 15px 20px}.page-top{align-items:flex-start;margin-bottom:25px}.page-top h1{font-size:24px}.page-top p{font-size:11px}.add-top{display:none}.toolbar{gap:4px;margin-bottom:26px}.nav-tabs{width:100%;justify-content:space-between;gap:8px}.nav-tab{font-size:11px;padding:0 6px 13px;gap:5px}.filter-box{width:100%;justify-content:space-between;padding-top:13px}.filter-box select{width:min(65%,240px);height:40px}.section-heading{align-items:flex-start;flex-direction:column;gap:13px}.section-heading h2{font-size:18px}.section-heading p{font-size:11px}.date-controls{width:100%}.date-controls input{flex:1;min-width:0}.date-controls .btn{padding:0 11px}.summary-grid{gap:11px;margin-bottom:18px}.metric-card{min-height:139px;padding:16px 14px;border-radius:14px}.metric-top{font-size:10px}.metric-card strong{font-size:28px;margin-top:20px}.metric-note{font-size:10px}.metric-symbol{display:none}.content-head{padding:17px 16px}.content-head .btn{font-size:10px;padding:0 10px}.desktop-table{display:none}.mobile-entries{display:block;padding:6px 16px 17px}.entry-mobile{border-bottom:1px solid #e9eff3;padding:15px 0;display:flex;flex-direction:column;gap:10px}.entry-mobile:last-child{border:0}.entry-mobile-head{display:flex;justify-content:space-between;gap:6px;align-items:center}.entry-mobile-head strong{font-size:15px}.entry-mobile-name{font-size:12px;font-weight:800;color:#1f5377}.entry-mobile-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.entry-mobile-meta{font-size:11px;color:#8295a7}.entry-mobile-money{font-weight:800;font-size:14px}.entry-mobile-flex{display:flex;align-items:center;justify-content:space-between;gap:9px}.stats-selectors{width:100%}.stats-selectors select,.stats-selectors input{min-width:0;flex:1}.stats-selectors button{flex:none}.coach-highlight{padding:15px}.coach-picture{width:44px;height:44px;border-radius:13px}.coach-highlight h2{font-size:16px}.month-hero{padding:23px 19px;gap:18px}.month-hero strong{font-size:23px}.month-hero .eyebrow{font-size:9px}.month-separator{height:38px}.day-card{display:grid;grid-template-columns:1fr auto;gap:4px;border-bottom:1px solid #edf2f6;padding:14px 0}.day-card strong{font-size:12px}.day-card span{color:#8a9eaf;font-size:11px}.day-card b{color:#165877;font-size:12px;text-align:right}.day-card small{font-size:10px;color:#36a5b9;grid-column:1/-1}.rank-card{border-bottom:1px solid #eef1f6;padding:14px 0}.rank-card>div{display:flex;justify-content:space-between;gap:6px;font-size:12px}.rank-card strong{color:#155879}.rank-card small{font-size:11px;color:#8fa1b1;display:block;margin-top:7px}.modal-panel{padding:24px 21px 34px}.modal-actions .btn{flex:1;padding:0 12px}footer span{display:none}}@media(max-width:380px){.nav-tab span{font-size:10px}.nav-tabs{gap:3px}.form-grid{gap:9px}.field input{padding:0 9px}.account{display:none}.metric-top{font-size:9px}.metric-card strong{font-size:25px}}

/* Official original wordmark is a horizontal image: preserve its proportions. */
.brand-auth .official-logo{width:155px;height:49px}.brand-app .official-logo{width:137px;height:40px}.brand-app .brand-title{font-size:15px;letter-spacing:.025em}.brand-app .brand-caption{font-size:9px;letter-spacing:.12em}.brand-auth .brand-title{font-size:16px;letter-spacing:.025em}.brand-auth .brand-caption{font-size:9px;letter-spacing:.1em}@media(max-width:720px){.brand-auth .official-logo{width:120px;height:37px}.brand-app .official-logo{width:104px;height:32px}.brand-app .brand-title{font-size:12px}.brand-app .brand-caption{font-size:8px}}

.history-bottom{display:flex;justify-content:center;padding:7px 20px 23px}.history-bottom:has(.hidden){display:none}

/* Финальный этап: управление командой и история изменений */
.role-explainer{background:linear-gradient(105deg,#e6f6fb,#f3f9fc);border:1px solid #c6e6ee;border-radius:16px;padding:19px 22px;margin:0 0 22px;color:#164568}
.role-explainer strong{font-size:15px}.role-explainer p{font-size:12px;line-height:1.7;margin:6px 0 0;color:#5b7d92}
.status-pill{display:inline-block;border-radius:999px;padding:5px 12px;font-size:11px;font-weight:800}.status-pill.on{color:#0c7567;background:#ddf8f2}.status-pill.off{color:#9a453b;background:#fff0eb}
.team-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:9px}.team-card{padding:18px 0;border-bottom:1px solid #e7edf2;display:flex;flex-direction:column;gap:5px}.team-card strong{font-size:14px;color:#123c5a}.team-card small{color:#8398a9}.audit-info{font-size:11px;color:#647f93;max-width:420px}
#changePinBtn{font-size:20px;font-weight:700;color:#0a7196}
@media(max-width:720px){.nav-tabs{flex-wrap:wrap;justify-content:flex-start;row-gap:6px}.nav-tab{padding:10px 5px}.toolbar{align-items:flex-start}.team-mobile,.audit-mobile{display:block}.team-desktop,.audit-desktop{display:none}.role-explainer{padding:15px}.section-heading #newCoachBtn{width:100%}}
