
/* Access, sessions, accounting and shared seasonal presentation. */
.site-snow{position:fixed;inset:0;width:100vw;height:100dvh;pointer-events:none;z-index:1000;opacity:.56}
.topbar{gap:12px}.sessions-topbar,.topbar-logout{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border:1px solid #31536b;border-radius:9px;color:#b8dbee;background:#10283b}
.topbar-logout:hover{color:#ffc0cb;border-color:#ac6979}.sessions-topbar:hover{color:#8be3ff;border-color:#65bddc}
.topbar .breadcrumbs{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar .brand-row{z-index:2}.sidebar-festive{height:110px;background:url('/static/winter-corner.png') left -30px top -45px/170px auto no-repeat;opacity:.6}.sidebar-festive span{display:none}
.festive-trim{height:23px;margin-top:1px;border-top-color:#4f7186}
.festive-trim span{width:7px;height:11px;border:1px solid #7edaf2;animation:winter-lights calc(2.4s + var(--n)*.09s) ease-in-out infinite;animation-delay:calc(var(--n)*-.43s)}
@keyframes winter-lights{0%,18%,100%{opacity:.3;background:#3e7186;box-shadow:0 0 1px #6ad9ff33}42%,68%{opacity:1;background:#d6f8ff;box-shadow:0 0 6px #adf0ff,0 0 14px #39c9ff99}}
.festive-trim span:nth-child(3n){animation-name:winter-lights-silver}
@keyframes winter-lights-silver{0%,22%,100%{opacity:.35;background:#647689;box-shadow:0 0 1px #d3e7ff33}48%,72%{opacity:1;background:#f3f7ff;box-shadow:0 0 6px #e6f4ff,0 0 14px #b6d9ff77}}
.login-festive-frame .fir{width:185px;height:185px;top:-38px;opacity:.98;animation:fir-light 6s ease-in-out infinite;object-fit:contain}
.login-festive-frame .fir-left{left:-37px;transform:none}.login-festive-frame .fir-right{right:-37px;transform:scaleX(-1);animation-delay:-3s}
.login-festive-frame .hanging-ornament{display:none}.frame-spark{animation:sparkle 4s ease-in-out infinite}.frame-spark.spark-right{animation-delay:-2s}
@keyframes fir-light{0%,100%{filter:brightness(.92)}50%{filter:brightness(1.12)}}
@keyframes sparkle{0%,100%{opacity:.35}50%{opacity:1}}
.hero-snow{display:none}.seasonal-on .home-brand-lockup:after{background-image:url('/static/winter-corner.png');width:175px;height:175px;top:-57px;right:-44px;transform:none;opacity:.9}
.brand-insignia{width:90px;height:90px;object-fit:contain}.bizon-login-card .login-emblem{width:78px;height:78px;object-fit:contain}
.role-row{display:grid!important;grid-template-columns:24px minmax(110px,1fr) 148px 34px;gap:12px;align-items:center;min-height:66px}.role-row>i{justify-self:center}.role-row>.role-fixed{width:148px;text-align:right;font-size:9px;line-height:1.5;justify-self:end}.role-row .role-appearance-edit{margin:0;justify-self:end}
.access-controls{display:grid;grid-template-columns:minmax(160px,.7fr) minmax(220px,1.2fr) minmax(180px,1fr);gap:16px;padding:22px}
.access-controls label{font-size:12px;color:#a3c1d7;display:flex;flex-direction:column;gap:7px}.access-hint{padding:0 22px 20px;margin:0;font-size:12px;line-height:1.8}
.access-group{border-top:1px solid #2b485f;padding:20px 22px}.access-group h2{font-size:15px;color:#8ad9f2;margin:0 0 15px}
.access-rule{display:grid;grid-template-columns:minmax(0,1fr) 175px;gap:18px;align-items:center;padding:12px 0;border-bottom:1px solid #29425577}
.access-rule:last-child{border-bottom:0}.access-rule strong{font-size:13px;font-weight:600;line-height:1.6}.effective-access{display:block;font-size:10px;margin-top:5px}.access-rule select{font-size:12px;min-height:40px}
.employee-tools{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;padding-bottom:16px;border-bottom:1px solid #29485f}.employee-tools .btn{font-size:11px;min-height:34px}
.session-device{display:flex;align-items:flex-start;gap:16px;padding:18px 0;border-top:1px solid #2c4960}.session-device>i{font-size:24px;color:#7fd4f1;min-width:26px;margin-top:4px}.session-device>div{flex:1;min-width:0}.session-device strong{display:block;font-size:14px;margin-bottom:7px}.session-device small{display:block;color:#91b2c8;line-height:1.9;font-size:11px;overflow-wrap:anywhere}.session-device .badge-status{margin-bottom:7px}.session-device>button{width:36px;height:36px;border:1px solid #704b5b;border-radius:7px;flex-shrink:0}
.audit-table{min-width:630px}.audit-table td small{display:block;margin-top:6px;font-size:10px}.audit-table tr[tabindex]:focus-visible{outline:2px solid #74dbfa;outline-offset:-2px}
.audit-diff{border:1px solid #36566b;border-radius:9px;overflow:hidden;margin:20px 0}.diff-heading,.diff-row{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1fr) minmax(0,1fr);gap:12px;padding:13px 15px}.diff-heading{background:#123148;color:#a4d6ed;font-size:12px}.diff-row{border-top:1px solid #2d4a60;align-items:start}.diff-row>strong{font-size:12px;overflow-wrap:anywhere}.audit-details pre{font-family:inherit;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#c2d8e8}.diff-row pre:nth-child(2){color:#e6b8c0}.diff-row pre:nth-child(3){color:#99e0c5}.audit-details dl{margin:20px 0;display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px}.audit-details dt{font-size:12px;color:#94b8ce}.audit-details dd{margin:0}
.profile-layout{display:grid;grid-template-columns:minmax(270px,330px) minmax(0,1fr);gap:24px;align-items:start}.profile-work{min-width:0}.profile-work .weekly-period{margin-top:0;padding:16px;gap:12px;flex-wrap:wrap}.profile-work .weekly-period>strong{font-size:12px;flex:1;min-width:150px}.display-name-form{padding-bottom:23px!important;margin-bottom:22px!important}.display-name-form button{margin-top:15px;margin-bottom:3px}.profile-card dl{margin-top:24px}.profile-work .table small{display:block;font-size:10px;color:#8caec4;margin-top:5px}
.salary-view-switch{display:flex;align-items:center;gap:7px;margin:18px 0 20px;flex-wrap:wrap}
.salary-view-switch button{border:1px solid #365b74;border-radius:8px;background:#10273b;color:#a4c5da;padding:9px 14px;font-size:12px;min-height:40px}.salary-view-switch button.active{background:#19475e;border-color:#6ed6ed;color:#e0faff}.salary-plan-hint{font-size:12px;line-height:1.8;margin-bottom:20px}.bonus-policy-body{padding:22px}.bonus-policy-body .toggle-label{display:flex;align-items:center;gap:9px;margin-bottom:24px}.bonus-policy .position-options{margin:24px 0}.bonus-policy p{font-size:12px;line-height:1.8}.revenue-table{min-width:650px}
.schedule-layout-control{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:18px}.schedule-layout-control>span{font-size:11px;color:#9ab9cf}.schedule-layout-control .view-switch button{font-size:12px;min-height:38px}
.shift-reference{display:block;font-size:9px;font-weight:400;color:#82acc5;line-height:1.6;margin:3px 0;letter-spacing:.3px}.shift-card .shift-reference{float:right;margin:0;font-size:8px}
.shift-money-actions{display:flex;gap:5px;padding:7px 4px;flex-wrap:wrap}.shift-money-actions button{background:#142f43;border:1px solid #34536b;border-radius:6px;padding:5px 8px;font-size:10px;line-height:1.5;color:#b8d5e7;flex:1;white-space:nowrap;min-height:30px}.shift-money-actions button:first-child{color:#ecc1c8}.shift-money-actions button:last-child{color:#b9e4cb}.shift-money-actions button:hover{border-color:#71c7e2;background:#1c4259}
.people-schedule{width:max-content;min-width:100%;margin:0}.people-schedule th:first-child{position:sticky;left:0;background:#10273a;z-index:1;width:190px;min-width:190px;max-width:220px;border-right:1px solid #36536c;white-space:normal}.people-schedule thead th:first-child{z-index:2}.people-schedule td{min-width:150px;width:150px;vertical-align:top}.people-schedule th small{display:block;margin-top:5px;font-size:10px;color:#88aabf}
.person-shift-button{display:block;width:100%;text-align:left;border:1px solid #37647d;background:#12364d;border-radius:7px;color:#c7eafb;padding:9px;margin-bottom:7px;line-height:1.6;font-size:12px}.person-shift-button small{display:block;color:#9bbfd3;font-size:9px;white-space:normal}.person-add-shift{border:1px dashed #365e75;background:transparent;color:#86b8d1;font-size:10px;border-radius:5px;padding:4px 7px;margin:3px}
.schedule-agenda{padding:16px}.schedule-agenda article{border:1px solid #2e4c64;border-radius:10px;background:#10283c;padding:12px;margin-bottom:12px}.agenda-main{display:flex;align-items:center;gap:24px;width:100%;padding:8px 0 12px;border:0;background:transparent;color:#d7eaf6;text-align:left}.agenda-date{min-width:165px;font-size:13px}.agenda-main>span:nth-child(2){flex:1}.agenda-main small{display:block;color:#95b5cc;font-size:11px;margin-top:7px}.schedule-agenda .shift-money-actions{max-width:250px;padding:10px 0 0}.schedule-agenda .lg-chip{border:1px solid #36566d}.lg-chip.waiting{color:#abcedd;background:#173446;border-color:#416479}
.home-duty-group h3{font-size:13px;margin:0;padding:17px 22px 9px;color:#a3d7ef;display:flex;align-items:center;gap:10px}.home-duty-group+.home-duty-group{border-top:1px solid #2c465d}.group-empty{padding:5px 22px 17px;margin:0;font-size:12px}.current-duty h2{font-size:18px;margin:12px 0}.current-duty p{font-size:12px;line-height:1.7;margin-bottom:8px}.home-duty-group .today-shift{padding-top:14px;padding-bottom:14px}
.view-error{padding:40px;text-align:center}.view-error>strong{font-size:70px;color:#76d9f9}.view-error h1{font-size:22px;line-height:1.6;margin:10px 0 24px}.view-error .btn{margin:5px}
@media(max-width:1200px){.topbar .today{display:none}.topbar{gap:9px}.profile-layout{grid-template-columns:minmax(250px,290px) minmax(0,1fr);gap:18px}.role-row{grid-template-columns:22px minmax(100px,1fr) 130px 32px;gap:9px}.role-row>.role-fixed{width:130px;font-size:8px}.access-controls{grid-template-columns:1fr 1.3fr}.access-controls label:last-child{grid-column:1/-1}}
@media(max-width:1000px){.profile-layout{grid-template-columns:minmax(230px,.9fr) minmax(0,1.1fr)}.profile-work .weekly-period>strong{min-width:100%;order:3}.profile-work .weekly-period small{order:4}}
@media(max-width:760px){.profile-layout{grid-template-columns:1fr;gap:20px}.profile-card{max-width:none}.profile-work .weekly-period>strong{min-width:150px;order:0}.profile-work .weekly-period small{order:0}.access-controls{grid-template-columns:1fr;padding:17px;gap:14px}.access-controls label:last-child{grid-column:auto}.access-controls input,.access-controls select,.access-rule select{font-size:16px}.access-group{padding:17px}.access-hint{padding:0 17px 17px;font-size:11px}.access-rule{grid-template-columns:minmax(0,1fr) 138px;gap:12px}.access-rule strong{font-size:12px}.access-rule select{font-size:12px}.audit-diff .diff-heading{display:none}.diff-row{grid-template-columns:1fr 1fr;gap:12px}.diff-row>strong{grid-column:1/-1}.diff-row pre:nth-child(2):before{content:"Было: ";font-weight:bold}.diff-row pre:nth-child(3):before{content:"Стало: ";font-weight:bold}.session-device{gap:11px}.session-device strong{font-size:13px}.session-device small{font-size:10px}.employee-tools{gap:7px}.employee-tools .btn{font-size:10px}.role-row{grid-template-columns:20px minmax(90px,1fr) 108px 30px;gap:7px;padding-left:13px;padding-right:13px}.role-row>strong{font-size:12px;line-height:1.5}.role-row>.role-fixed{width:108px;font-size:7px}.role-row .role-appearance-edit{width:30px;height:32px}.role-row>.role-fixed>i{font-size:8px}.schedule-layout-control{justify-content:flex-start;align-items:flex-start;flex-direction:column;gap:7px}.schedule-layout-control .view-switch{max-width:100%;display:flex}.schedule-layout-control .view-switch button{font-size:11px;padding:8px 9px;white-space:nowrap}.schedule-layout-control .view-switch i{margin-right:3px}.people-schedule th:first-child{min-width:145px;width:145px;font-size:11px}.people-schedule td{min-width:125px;width:125px}.agenda-main{gap:13px;align-items:flex-start}.agenda-date{min-width:105px;font-size:11px}.agenda-main strong{font-size:12px}.agenda-main small{font-size:10px;line-height:1.6}.schedule-agenda{padding:12px}.bonus-policy-body{padding:17px}.session-device .badge-status{font-size:9px}.home-duty-group h3{padding-left:17px}.login-festive-frame .fir{width:155px;height:155px;top:-30px}.login-festive-frame .fir-left{left:-29px}.login-festive-frame .fir-right{right:-29px}.seasonal-on .home-brand-lockup:after{width:130px;height:130px;top:-30px;right:-32px}.brand-insignia{width:68px;height:76px}.view-error{padding:28px 18px}}
@media(max-width:420px){.topbar{gap:7px}.topbar .mobile-brand span{display:none}.topbar .mobile-brand img{width:30px;height:34px}.topbar .season-toggle{margin-left:auto;gap:5px;padding:6px 8px}.sessions-topbar,.topbar-logout{width:33px;height:34px}.access-rule{grid-template-columns:minmax(0,1fr) 125px;gap:9px}.access-rule select{font-size:11px;padding-left:8px}.role-row{grid-template-columns:18px minmax(75px,1fr) 94px 28px;gap:6px}.role-row>.role-fixed{width:94px;font-size:7px}.role-row>strong{font-size:11px}.role-row .role-appearance-edit{width:28px;height:30px}}
@media(prefers-reduced-motion:reduce){.festive-trim span,.login-festive-frame .fir,.frame-spark{animation:none}}

@media(max-width:1450px){.roles-layout{grid-template-columns:minmax(0,1fr)}}

.sessions-topbar i,.topbar-logout i{color:#b9dced;font-size:15px}

.shift-card .shift-reference{float:none;text-align:right;line-height:1.3;margin-top:3px}
@media(max-width:360px){.schedule-layout-control .view-switch{display:flex;width:100%;min-width:0}.schedule-layout-control .view-switch button{flex:1 1 0;min-width:0;width:0;padding:7px 4px;font-size:10px;line-height:1.4;white-space:normal;overflow-wrap:normal}.schedule-layout-control .view-switch button i{display:block;margin:0 0 4px!important;font-size:13px}}

/* Home cards share a normal document flow at every viewport width. */
.home-page .home-hero{display:grid;grid-template-columns:minmax(0,1fr) 280px;min-height:0;padding:26px 28px;gap:26px;margin-bottom:20px}
.home-page .hero-copy h1{font-size:27px;line-height:1.35;margin:10px 0 0;max-width:620px}
.home-page .hero-copy h1>span{display:inline}
.home-page .hero-copy>p{margin:12px 0 18px;max-width:none;font-size:13px}
.home-page .hero-copy .actions{gap:10px;flex-wrap:wrap}
.home-page .home-brand-lockup{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:0;padding:12px 0;text-align:center;border:0;gap:12px}
.home-brand-heading{display:flex;align-items:center;justify-content:center;gap:15px;max-width:100%}
.home-page .brand-insignia{width:80px;height:84px;margin:0;flex:0 0 auto}
.home-page .brand-lockup-name{display:flex;flex-direction:column;align-items:flex-start;font-size:36px;letter-spacing:-1px;line-height:1.08}
.home-page .brand-lockup-caption{font-size:8px;letter-spacing:1.6px;margin:0}
.home-page .brand-winter-note{margin:0;font-size:19px}
.home-page .home-columns{grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);align-items:start;gap:20px}
.home-page .home-club-summary,.home-page .home-shift-summary{display:flex;flex-direction:column;align-items:stretch;gap:20px;min-width:0}
.home-shift-summary>.panel{position:relative;inset:auto;height:auto;min-height:0;margin:0;padding:22px;flex:0 0 auto;isolation:isolate}
.home-shift-summary .current-duty h2,.home-shift-summary .next-shift h2{font-size:20px;line-height:1.4;margin:13px 0 10px}
.home-shift-summary .current-duty p,.home-shift-summary .next-shift>p{font-size:13px;line-height:1.75;margin:0 0 10px}
.home-shift-summary .shift-reference{display:block;margin-top:10px}
.home-shift-summary .next-shift>.muted{display:block}
.home-shift-summary .btn{justify-content:center;white-space:normal;line-height:1.5}
.home-page .home-salary{display:flex;flex-direction:column;gap:13px}
.home-salary-value{display:flex;flex-direction:column;gap:6px;padding:12px 0}
.home-salary-value+.home-salary-value{border-top:1px solid #29475f}
.home-salary-value>span{font-size:12px}
.home-salary-value>strong{font-size:26px;line-height:1.3}
.home-salary-value.salary-planned>strong{color:#99e5fa}
.home-page .home-salary>small{font-size:11px;line-height:1.7;margin:0}
.home-page .home-section-note{font-size:11px;line-height:1.8;padding:14px 22px 0;margin:0}
.home-page .home-duty-group{padding:16px 0 20px}
.home-page .home-duty-group+.home-duty-group{margin-top:8px;padding-top:20px;border-top:1px solid #2c465d}
.home-page .home-duty-group h3{padding:0 22px 13px;line-height:1.6;gap:10px}
.home-page .today-shift{display:flex;align-items:center;gap:13px;padding:13px 22px}
.home-page .today-shift+.today-shift{border-top:1px solid #284259}
.home-page .today-shift .position-mark{flex:0 0 30px;align-self:flex-start}
.home-page .home-duty-person{flex:1;min-width:0}
.home-page .home-duty-person strong{display:block;font-size:13px;line-height:1.6;margin:0 0 5px;overflow-wrap:anywhere}
.home-page .home-duty-person small{display:block;font-size:11px;color:#94b4cc;line-height:1.75}
.home-page .home-duty-person .home-duty-role{margin-bottom:3px}
.home-page .today-shift>.badge-status{flex:0 0 auto;margin-left:auto;font-size:9px;max-width:110px;white-space:normal;text-align:center;line-height:1.6}
.home-page .group-empty{padding:2px 22px 0;line-height:1.8}
.home-page .club-now>.group-empty{padding:18px 22px 22px}
.role-badge{gap:6px}
.role-badge i{margin-right:0}
@media(max-width:1200px){
 .home-page .home-hero{grid-template-columns:minmax(0,1fr) 235px;padding:24px;gap:22px}
 .home-page .hero-copy h1{font-size:25px}
 .home-page .brand-lockup-name{font-size:31px}
 .home-page .brand-insignia{width:66px;height:74px}
 .home-page .home-columns{grid-template-columns:minmax(0,1fr)}
 .home-page .home-shift-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
}
@media(max-width:760px){
 .home-page .home-hero{grid-template-columns:minmax(0,1fr);padding:22px 20px;gap:20px}
 .home-page .hero-copy h1{font-size:25px}
 .home-page .home-brand-lockup{padding:18px 0 0;border-top:1px solid #365d794d;gap:10px}
 .home-page .home-brand-heading{gap:14px}
 .home-page .brand-insignia{width:64px;height:70px}
 .home-page .brand-lockup-name{font-size:32px}
 .home-page .home-brand-lockup:after{top:-25px;right:-36px;width:110px;height:110px;opacity:.65}
 .home-page .home-shift-summary{display:flex;gap:16px}
 .home-page .home-columns,.home-page .home-club-summary{gap:16px}
 .home-page .today-shift{padding:13px 16px;gap:10px;align-items:flex-start;flex-wrap:wrap}
 .home-page .today-shift>.badge-status{margin-left:40px;max-width:none}
 .home-page .home-duty-person{flex-basis:calc(100% - 40px)}
 .home-page .home-duty-group h3,.home-page .home-section-note{padding-left:16px;padding-right:16px}
 .home-page .group-empty{padding-left:16px;padding-right:16px}
}

@media(max-width:760px){
 .home-page .hero-copy .actions{flex-wrap:nowrap;gap:8px}
 .home-page .hero-copy .actions>.btn{display:flex;justify-content:center;align-items:center;flex:1;min-width:0;min-height:38px;padding:8px;font-size:10px;line-height:1.5;white-space:normal}
 .home-page .hero-copy .actions>.btn i{font-size:11px}
}
@media(max-width:380px){
 .home-page .hero-copy h1{font-size:22px}
 .home-page .hero-copy>p{font-size:12px;margin:10px 0 14px}
 .home-page .home-brand-lockup{padding-top:14px;gap:8px}
}
