:root{
  --navy:#073540;
  --navy-2:#0a4350;
  --navy-3:#0d5360;
  --lime:#a7db00;
  --lime-soft:#eef9ce;
  --orange:#ff6b20;
  --orange-soft:#fff0e7;
  --ink:#14282e;
  --muted:#6e7f84;
  --muted-2:#97a5a9;
  --line:#e5ebec;
  --panel:#ffffff;
  --canvas:#f5f7f6;
  --blue:#2e78df;
  --blue-soft:#eaf2ff;
  --green:#2f9a68;
  --green-soft:#e9f7ef;
  --red:#d95454;
  --red-soft:#ffeded;
  --yellow:#d49412;
  --yellow-soft:#fff7dd;
  --shadow:0 16px 48px rgba(14,44,50,.08);
  --radius:16px;
}

*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;background:var(--canvas);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(255,107,32,.28);outline-offset:2px}
button:disabled{cursor:not-allowed;opacity:.48}

.prototype-bar{height:31px;background:#062b35;color:#bcd1d4;display:flex;align-items:center;justify-content:center;gap:28px;font-size:10px;letter-spacing:.02em;position:relative;z-index:90}
.prototype-bar>span:first-child{font-weight:800;color:#fff;text-transform:uppercase;letter-spacing:.1em}.prototype-bar i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 4px rgba(167,219,0,.13);margin-right:8px}.prototype-bar button{position:absolute;right:19px;border:0;background:transparent;color:#9ebbc0;font-size:10px}.prototype-bar button:hover{color:#fff}

.app{min-height:calc(100vh - 31px);display:grid;grid-template-columns:238px minmax(0,1fr)}
.sidebar{height:calc(100vh - 31px);position:sticky;top:31px;background:var(--navy);color:#dfeaec;display:flex;flex-direction:column;padding:21px 14px 14px;z-index:40;overflow:auto}
.brand-wrap{display:flex;align-items:center;justify-content:space-between;padding:0 10px 21px;border-bottom:1px solid rgba(255,255,255,.09)}
.brand-wrap img{display:block;width:150px;height:47px;object-fit:contain;background:#fff;border-radius:7px;padding:2px 4px}
.brand-wrap span{font-size:8px;letter-spacing:.17em;font-weight:900;color:#8cafb4;writing-mode:vertical-rl;transform:rotate(180deg)}
.school-switcher,.user-chip{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}
.school-switcher{margin:15px 3px 20px;padding:10px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);border-radius:12px}
.school-mark{width:33px;height:33px;border-radius:9px;background:linear-gradient(145deg,var(--lime),#7db900);display:grid;place-items:center;color:#12343b;font-size:10px;font-weight:900}
.school-logo-mark{width:56px;padding:5px 6px;background:#fff;box-sizing:border-box;box-shadow:0 5px 16px rgba(0,0,0,.13)}
.school-logo-mark img{display:block;width:100%;height:100%;object-fit:contain}
.school-switcher strong,.user-chip strong{display:block;font-size:11px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.school-switcher small,.user-chip small,.sidebar-status small{display:block;color:#8fb0b5;font-size:9px;margin-top:3px;line-height:1.25}.chevron{color:#739aa0;font-size:14px}
.nav-caption{padding:0 13px 8px;color:#6f9aa0;font-size:8px;font-weight:850;letter-spacing:.16em}
.main-nav{display:grid;gap:3px}.nav-button{width:100%;min-height:39px;border:0;border-radius:9px;background:transparent;color:#a8c1c5;display:flex;align-items:center;gap:11px;padding:8px 12px;text-align:left;font-size:11px;font-weight:650;transition:.16s}.nav-button:hover{background:rgba(255,255,255,.07);color:#fff}.nav-button.is-active{background:#fff;color:var(--navy);box-shadow:0 8px 22px rgba(1,25,31,.2)}.nav-button.is-active .nav-glyph{color:var(--orange)}.nav-glyph{width:21px;font-size:17px;text-align:center;line-height:1}.nav-count{margin-left:auto;min-width:20px;height:18px;border-radius:7px;display:grid;place-items:center;padding:0 5px;background:rgba(255,255,255,.09);font-size:9px}.nav-button.is-active .nav-count{background:var(--orange-soft);color:var(--orange)}
.sidebar-spacer{flex:1;min-height:24px}.sidebar-status{display:flex;width:calc(100% - 8px);align-items:center;gap:11px;margin:0 4px 11px;padding:12px;border:0;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08);background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer;border-radius:9px;transition:background .2s ease,border-color .2s ease}.sidebar-status:hover{background:rgba(255,255,255,.045)}.sidebar-status:focus-visible{outline:2px solid rgba(167,219,0,.6);outline-offset:2px}.sidebar-status strong{display:block;font-size:10px;color:#d6e5e6}.status-orbit{position:relative;flex:0 0 auto;width:23px;height:23px;border:1px solid rgba(167,219,0,.28);border-radius:50%;display:grid;place-items:center;transition:border-color .25s ease,background .25s ease}.status-orbit i{width:7px;height:7px;background:var(--lime);border-radius:50%;transition:background .25s ease,box-shadow .25s ease}.sidebar-status.is-online .status-orbit i{animation:server-online-pulse 2.8s ease-in-out infinite}.sidebar-status.is-saving .status-orbit{border-color:rgba(255,157,40,.45)}.sidebar-status.is-saving .status-orbit i{background:#ff9d28;animation:server-sync-pulse 1s ease-in-out infinite}.sidebar-status.is-offline .status-orbit{border-color:rgba(255,185,72,.38);background:rgba(255,157,40,.06)}.sidebar-status.is-offline .status-orbit i{background:#ffad3b;box-shadow:0 0 0 4px rgba(255,157,40,.1)}.sidebar-status.is-offline strong{color:#ffd59b}.sidebar-status.is-blocked .status-orbit i{background:#ef6a47}.sidebar-status.is-blocked strong{color:#ffb39f}@keyframes server-online-pulse{0%,100%{box-shadow:0 0 0 3px rgba(159,214,0,.1)}50%{box-shadow:0 0 0 7px rgba(159,214,0,.02)}}@keyframes server-sync-pulse{0%,100%{opacity:.45;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}
.requires-online{opacity:.48!important;filter:saturate(.55);cursor:not-allowed!important}.nav-button.requires-online{background:transparent!important}.offline-mode-banner{display:flex;align-items:center;gap:11px;margin:0 0 16px;padding:11px 14px;border:1px solid #f0d5a7;border-radius:13px;background:#fff9ed;color:#6f521e}.offline-mode-banner>span:first-child{display:grid;place-items:center;flex:0 0 auto;width:28px;height:28px;border-radius:50%;background:#ffedc9;color:#c17409;font-size:17px}.offline-mode-banner strong,.offline-mode-banner small{display:block}.offline-mode-banner strong{font-size:11px}.offline-mode-banner small{margin-top:2px;color:#8a7144;font-size:9px}
.user-chip{border:0;background:transparent;text-align:left;padding:7px 9px;border-radius:10px;color:inherit}.user-chip:hover{background:rgba(255,255,255,.06)}
.avatar{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#d9e9e5;color:#174a4d;font-size:10px;font-weight:900}.avatar-dark{width:31px;height:31px;background:#0e4d59;color:#e8f1f2;border:1px solid rgba(255,255,255,.12)}

.workspace{min-width:0;min-height:calc(100vh - 31px)}
.topbar{height:76px;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(150px,1fr) minmax(260px,440px) minmax(360px,1fr);align-items:center;gap:22px;padding:0 30px;position:sticky;top:31px;z-index:30}
.page-context span{display:block;font-size:8px;font-weight:850;letter-spacing:.13em;color:#97a6a9}.page-context strong{display:block;margin-top:4px;font-size:16px;letter-spacing:-.025em}.global-search{height:38px;border:1px solid var(--line);background:#f8faf9;border-radius:10px;display:flex;align-items:center;gap:8px;padding:0 10px;color:#8b999d}.global-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:11px}.global-search input::placeholder{color:#9aa7aa}.global-search kbd{font-family:inherit;border:1px solid #d9e0e1;border-bottom-width:2px;border-radius:5px;background:#fff;padding:2px 5px;font-size:8px;color:#859397}.top-actions{justify-self:end;display:flex;align-items:center;gap:10px}.role-switch{display:flex;padding:3px;border:1px solid var(--line);border-radius:9px;background:#f8faf9}.role-switch button{border:0;background:transparent;color:#829095;padding:7px 9px;border-radius:6px;font-size:9px;font-weight:750}.role-switch button.is-active{background:#fff;color:var(--navy);box-shadow:0 2px 7px rgba(20,45,50,.08)}.icon-button{position:relative;width:34px;height:34px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#566c70}.notification-button i{position:absolute;right:-3px;top:-4px;width:16px;height:16px;background:var(--orange);color:#fff;border:2px solid #fff;border-radius:50%;font-style:normal;font-size:7px;font-weight:900;display:grid;place-items:center}.mobile-menu{display:none}

main{padding:28px 30px 60px;max-width:1510px;margin:0 auto}main:focus{outline:0}.sidebar{scrollbar-width:none}.sidebar::-webkit-scrollbar{display:none}
.page-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:22px}.page-head h1{font-size:30px;line-height:1.1;letter-spacing:-.045em;margin:5px 0 7px}.page-head p{font-size:11px;line-height:1.55;color:var(--muted);margin:0;max-width:650px}.eyebrow{font-size:8px;font-weight:900;letter-spacing:.14em;color:var(--orange);text-transform:uppercase}.page-actions{display:flex;align-items:center;gap:8px}
.btn{min-height:38px;border:0;border-radius:9px;padding:9px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:10px;font-weight:800;white-space:nowrap;transition:.16s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--orange);color:#fff;box-shadow:0 7px 18px rgba(255,107,32,.2)}.btn-primary:hover{background:#ed5e16}.btn-secondary{background:var(--navy);color:#fff}.btn-quiet{background:#fff;border:1px solid var(--line);color:#41585d}.btn-soft{background:var(--orange-soft);color:#d85515}.btn-small{min-height:30px;padding:7px 10px;font-size:9px}.btn-icon{font-size:14px}.btn-success{background:var(--green);color:#fff}

.grid{display:grid;gap:15px}.stats-grid{grid-template-columns:repeat(4,1fr);margin-bottom:15px}.stat-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:18px 19px;min-width:0;position:relative;overflow:hidden}.stat-top{display:flex;justify-content:space-between;align-items:flex-start}.stat-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:16px;background:#eef5f4;color:var(--navy-3)}.stat-icon.orange{background:var(--orange-soft);color:var(--orange)}.stat-icon.lime{background:var(--lime-soft);color:#6e9600}.stat-icon.blue{background:var(--blue-soft);color:var(--blue)}.stat-trend{font-size:9px;font-weight:800;color:var(--green);background:var(--green-soft);padding:4px 6px;border-radius:6px}.stat-card strong.value{display:block;margin:17px 0 3px;font-size:25px;letter-spacing:-.045em}.stat-card>span.label{font-size:10px;color:var(--muted)}.stat-foot{margin-top:13px;padding-top:11px;border-top:1px solid #edf0f0;font-size:8px;color:#98a5a7;display:flex;justify-content:space-between}.progress-line{height:4px;border-radius:5px;background:#edf1ef;overflow:hidden;margin-top:11px}.progress-line i{display:block;height:100%;border-radius:5px;background:var(--lime)}
.dashboard-grid{grid-template-columns:minmax(0,1.65fr) minmax(290px,.75fr);align-items:start}.stack{display:grid;gap:15px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-pad{padding:19px}.panel-head{min-height:58px;padding:15px 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-head h2,.panel-head h3{margin:0;font-size:14px;letter-spacing:-.025em}.panel-head p{margin:3px 0 0;color:var(--muted);font-size:9px}.panel-link{border:0;background:transparent;color:var(--orange);font-size:9px;font-weight:800}.date-badge{font-size:9px;color:var(--muted);background:#f6f8f7;padding:6px 8px;border-radius:7px}

.schedule-list{padding:6px 18px 14px}.schedule-row{display:grid;grid-template-columns:57px 4px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:66px;border-bottom:1px solid #edf1f1}.schedule-row:last-child{border:0}.schedule-time strong{font-size:11px;display:block}.schedule-time small{font-size:8px;color:#9ca7aa}.schedule-line{height:36px;border-radius:5px;background:var(--orange)}.schedule-line.blue{background:var(--blue)}.schedule-line.lime{background:var(--lime)}.schedule-main strong{display:block;font-size:11px}.schedule-main span{display:block;color:var(--muted);font-size:9px;margin-top:4px}.schedule-meta{text-align:right}.schedule-meta strong{display:block;font-size:9px}.schedule-meta span{display:inline-block;margin-top:4px;font-size:8px;color:#698084;background:#f2f6f5;padding:3px 5px;border-radius:5px}
.action-list{padding:7px 16px 14px}.action-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;padding:12px 2px;border-bottom:1px solid #edf1f1}.action-item:last-child{border:0}.action-dot{width:29px;height:29px;border-radius:9px;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center;font-size:12px}.action-dot.yellow{background:var(--yellow-soft);color:var(--yellow)}.action-dot.blue{background:var(--blue-soft);color:var(--blue)}.action-item strong{display:block;font-size:10px}.action-item small{display:block;color:var(--muted);font-size:8px;margin-top:3px}.action-count{font-size:10px;font-weight:900;color:var(--ink)}
.capacity-list{padding:10px 18px 17px}.capacity-row{display:grid;grid-template-columns:92px minmax(0,1fr) 38px;gap:10px;align-items:center;margin-top:12px}.capacity-row:first-child{margin-top:2px}.capacity-row span{font-size:9px}.capacity-row strong{text-align:right;font-size:9px}.bar{height:7px;background:#eef2f1;border-radius:10px;overflow:hidden}.bar i{display:block;height:100%;border-radius:10px;background:var(--navy-3)}.bar i.orange{background:var(--orange)}.bar i.lime{background:var(--lime)}

.filter-bar{display:flex;align-items:center;gap:8px;margin-bottom:13px;flex-wrap:wrap}.search-box{height:37px;min-width:240px;flex:1;max-width:390px;border:1px solid var(--line);border-radius:9px;background:#fff;display:flex;align-items:center;gap:8px;padding:0 11px;color:#95a2a5}.search-box input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:10px}.filter-select{height:37px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#53686d;padding:0 28px 0 10px;font-size:9px}.filter-spacer{flex:1}
.table-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.data-table{width:100%;border-collapse:collapse}.data-table th{text-align:left;padding:12px 15px;background:#f8faf9;color:#809095;font-size:8px;letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid var(--line);white-space:nowrap}.data-table td{padding:13px 15px;border-bottom:1px solid #edf1f1;font-size:10px;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr{transition:.15s}.data-table tbody tr:hover{background:#fbfcfb}.clickable-row{cursor:pointer}.person-cell{display:flex;align-items:center;gap:10px}.person-avatar{width:32px;height:32px;border-radius:10px;background:#e6f0ed;color:#20565b;display:grid;place-items:center;font-size:9px;font-weight:900}.person-avatar.orange{background:var(--orange-soft);color:var(--orange)}.person-avatar.lime{background:var(--lime-soft);color:#6c9005}.person-cell strong{display:block;font-size:10px}.person-cell small{display:block;color:var(--muted);font-size:8px;margin-top:3px}.tag{display:inline-flex;align-items:center;gap:5px;min-height:23px;padding:4px 7px;border-radius:7px;background:#f0f4f3;color:#4d666b;font-size:8px;font-weight:750;white-space:nowrap}.tag i{width:5px;height:5px;border-radius:50%;background:#758d90}.tag.green{background:var(--green-soft);color:#237b50}.tag.green i{background:var(--green)}.tag.orange{background:var(--orange-soft);color:#c9571d}.tag.orange i{background:var(--orange)}.tag.blue{background:var(--blue-soft);color:#2b67bb}.tag.blue i{background:var(--blue)}.tag.yellow{background:var(--yellow-soft);color:#966c16}.tag.yellow i{background:var(--yellow)}.tag.red{background:var(--red-soft);color:#af4444}.tag.red i{background:var(--red)}.hour-balance{font-weight:850}.hour-balance.negative{color:var(--red)}.table-action{width:27px;height:27px;border:1px solid var(--line);background:#fff;border-radius:7px;color:#7a8c90}.empty-note{text-align:center;padding:45px 20px;color:var(--muted);font-size:10px}

.calendar-shell{display:grid;grid-template-columns:210px minmax(0,1fr);gap:14px}.calendar-aside{display:grid;gap:14px;align-content:start}.mini-calendar{padding:16px}.mini-calendar-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.mini-calendar-head strong{font-size:11px}.mini-calendar-head button{border:0;background:transparent;color:#7f9094}.mini-week,.mini-days{display:grid;grid-template-columns:repeat(7,1fr);text-align:center}.mini-week span{font-size:7px;font-weight:800;color:#98a5a8;padding-bottom:8px}.mini-days button{aspect-ratio:1;border:0;background:transparent;border-radius:7px;font-size:8px;color:#51676c}.mini-days button.muted{color:#c2cacc}.mini-days button.today{background:var(--orange);color:#fff;font-weight:900}.mini-days button.selected:not(.today){background:var(--lime-soft);color:#587700;font-weight:900}.calendar-filter{padding:15px}.calendar-filter h3{font-size:10px;margin:0 0 12px}.check-row{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:9px;color:#53686c}.check-row input{accent-color:var(--orange)}.color-key{width:7px;height:7px;border-radius:3px;background:var(--orange)}.color-key.blue{background:var(--blue)}.color-key.lime{background:var(--lime)}.color-key.gray{background:#9aabad}
.calendar-main{min-width:0}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-bottom:1px solid var(--line)}.calendar-toolbar strong{font-size:12px}.calendar-controls{display:flex;gap:4px}.calendar-controls button{height:30px;border:1px solid var(--line);background:#fff;color:#687b80;padding:0 10px;font-size:8px;font-weight:750}.calendar-controls button:first-child{border-radius:7px 0 0 7px}.calendar-controls button:last-child{border-radius:0 7px 7px 0}.calendar-controls button.is-active{background:var(--navy);border-color:var(--navy);color:#fff}
.week-grid{display:grid;grid-template-columns:48px repeat(5,minmax(105px,1fr));overflow:auto;position:relative}.week-corner,.week-day{height:48px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);background:#fbfcfb;position:sticky;top:0;z-index:2}.week-day{display:flex;flex-direction:column;align-items:center;justify-content:center}.week-day span{font-size:7px;color:#8d999c;text-transform:uppercase}.week-day strong{font-size:11px;margin-top:2px}.week-day.today{color:var(--orange)}.week-day.today strong{width:24px;height:24px;background:var(--orange);color:#fff;border-radius:50%;display:grid;place-items:center}.time-label{height:58px;border-right:1px solid var(--line);border-bottom:1px solid #edf1f1;padding:7px 8px;text-align:right;color:#9aa6a8;font-size:7px}.time-cell{height:58px;border-right:1px solid var(--line);border-bottom:1px solid #edf1f1;position:relative}.calendar-event{position:absolute;left:3px;right:3px;top:3px;min-height:51px;border:0;border-left:3px solid var(--orange);border-radius:7px;background:var(--orange-soft);padding:7px;text-align:left;color:#8f401b;overflow:hidden;z-index:1}.calendar-event.blue{border-left-color:var(--blue);background:var(--blue-soft);color:#285d9f}.calendar-event.lime{border-left-color:#86ae05;background:var(--lime-soft);color:#5a7700}.calendar-event.gray{border-left-color:#82969a;background:#eff3f3;color:#52696d}.calendar-event strong{display:block;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-event small{display:block;margin-top:3px;font-size:7px;opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.profile-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:15px}.profile-card{padding:22px}.profile-identity{text-align:center;padding-bottom:19px;border-bottom:1px solid var(--line)}.profile-identity .person-avatar{width:58px;height:58px;border-radius:17px;margin:0 auto 11px;font-size:14px}.profile-identity h2{margin:0;font-size:17px}.profile-identity p{margin:5px 0 0;color:var(--muted);font-size:9px}.profile-info{display:grid;gap:12px;padding:17px 0}.profile-info-row span{display:block;color:#8c9a9d;font-size:7px;text-transform:uppercase;letter-spacing:.09em}.profile-info-row strong{display:block;margin-top:4px;font-size:9px}.profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.profile-tabs{display:flex;border-bottom:1px solid var(--line);padding:0 16px;overflow:auto}.profile-tab{border:0;background:transparent;padding:16px 12px 12px;color:#809095;font-size:9px;font-weight:750;border-bottom:2px solid transparent;white-space:nowrap}.profile-tab.is-active{color:var(--navy);border-bottom-color:var(--orange)}.profile-content{padding:18px}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.detail-card{border:1px solid var(--line);border-radius:11px;padding:13px}.detail-card span{display:block;color:#8a989b;font-size:7px;text-transform:uppercase;letter-spacing:.08em}.detail-card strong{display:block;margin-top:7px;font-size:12px}.timeline{margin-top:17px}.timeline h3{font-size:11px;margin:0 0 12px}.timeline-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:10px;padding:10px 0;border-bottom:1px solid #edf1f1}.timeline-icon{width:24px;height:24px;border-radius:8px;background:#eef4f3;display:grid;place-items:center;font-size:10px}.timeline-row strong{display:block;font-size:9px}.timeline-row p{margin:3px 0 0;color:var(--muted);font-size:8px;line-height:1.4}.timeline-row time{font-size:7px;color:#9aa7a9}

.vehicle-grid{grid-template-columns:repeat(3,1fr)}.vehicle-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.vehicle-top{height:92px;background:linear-gradient(135deg,#e5efed,#f6f8f7);position:relative;display:flex;align-items:center;justify-content:center;font-size:49px;color:#174651}.vehicle-category{position:absolute;top:11px;left:11px;padding:5px 7px;background:#fff;border-radius:6px;font-size:8px;font-weight:900}.vehicle-status{position:absolute;top:11px;right:11px}.vehicle-body{padding:15px}.vehicle-body h3{margin:0;font-size:13px}.vehicle-body>p{margin:4px 0 13px;color:var(--muted);font-size:9px}.vehicle-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.vehicle-stat{background:#f7f9f8;border-radius:8px;padding:9px}.vehicle-stat span{display:block;color:#8a989b;font-size:7px}.vehicle-stat strong{display:block;margin-top:4px;font-size:9px}.vehicle-alert{display:flex;align-items:center;gap:7px;margin-top:11px;padding-top:11px;border-top:1px solid var(--line);font-size:8px;color:#9a6f17}.vehicle-alert.ok{color:#287f55}

.log-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;padding:15px;border-bottom:1px solid var(--line)}.log-summary div{padding:11px;background:#f7f9f8;border-radius:9px}.log-summary span{display:block;font-size:7px;color:#859397}.log-summary strong{display:block;font-size:12px;margin-top:4px}.log-list{padding:0 15px 14px}.log-row{display:grid;grid-template-columns:50px minmax(0,1.3fr) .8fr .7fr auto;gap:10px;align-items:center;padding:12px 1px;border-bottom:1px solid #edf1f1}.log-row:last-child{border:0}.log-index{width:29px;height:29px;border-radius:9px;background:#edf4f2;display:grid;place-items:center;font-size:9px;font-weight:900}.log-row strong{display:block;font-size:9px}.log-row small{display:block;color:var(--muted);font-size:7px;margin-top:3px}.log-km{text-align:right}

.instructor-shell{max-width:980px;margin:0 auto}.tablet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.tablet-greeting span{font-size:9px;color:var(--muted)}.tablet-greeting h1{margin:4px 0 0;font-size:28px;letter-spacing:-.045em}.tablet-date{padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:9px;font-weight:750}.instructor-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:15px}.instructor-stat{background:var(--navy);color:#fff;border-radius:14px;padding:15px}.instructor-stat span{font-size:8px;color:#a7c1c5}.instructor-stat strong{display:block;font-size:20px;margin-top:6px}.today-list{display:grid;gap:10px}.lesson-card{display:grid;grid-template-columns:77px minmax(0,1fr) auto;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px;transition:.15s}.lesson-card:hover{border-color:#cbd8d9;box-shadow:0 9px 25px rgba(13,43,49,.05)}.lesson-time{text-align:center;border-right:1px solid var(--line);padding-right:13px}.lesson-time strong{font-size:15px}.lesson-time span{display:block;font-size:8px;color:var(--muted);margin-top:3px}.lesson-person{padding-left:14px;display:flex;align-items:center;gap:11px}.lesson-person h3{font-size:11px;margin:0}.lesson-person p{font-size:8px;color:var(--muted);margin:4px 0 0}.lesson-card.is-done{opacity:.68}.lesson-card.is-active{border-color:#f8b28d;box-shadow:0 0 0 2px var(--orange-soft)}
.active-session{background:linear-gradient(135deg,#083b46,#0b515d);color:#fff;border-radius:18px;padding:22px;margin-bottom:15px;box-shadow:0 15px 40px rgba(7,53,64,.18)}.session-top{display:flex;justify-content:space-between;align-items:flex-start}.session-top span{font-size:8px;color:#a6c7cb;letter-spacing:.1em}.session-top h2{font-size:20px;margin:5px 0 0}.live-pill{display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:7px;background:rgba(255,255,255,.1);font-size:8px;font-weight:850}.live-pill i{width:6px;height:6px;background:var(--lime);border-radius:50%;animation:pulse 1.4s infinite}.session-timer{text-align:center;padding:26px 0 21px;font-size:42px;font-weight:750;letter-spacing:-.04em}.session-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.session-meta div{background:rgba(255,255,255,.08);padding:11px;border-radius:9px}.session-meta span{display:block;color:#9fc2c6;font-size:7px}.session-meta strong{display:block;margin-top:5px;font-size:10px}.session-actions{display:flex;justify-content:center;gap:8px;margin-top:17px}.session-actions .btn-quiet{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.14);color:#fff}

.student-shell{max-width:980px;margin:0 auto}.student-hero{background:linear-gradient(135deg,#073743 0%,#0d4d59 75%);color:#fff;border-radius:20px;padding:25px;position:relative;overflow:hidden}.student-hero:after{content:"";position:absolute;width:230px;height:230px;border-radius:50%;right:-80px;top:-130px;border:42px solid rgba(167,219,0,.12)}.student-hero span{font-size:9px;color:#b4cdd0}.student-hero h1{font-size:29px;margin:5px 0 10px;letter-spacing:-.045em}.student-hero p{font-size:10px;color:#b9ced1;margin:0;max-width:520px;line-height:1.55}.student-next{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:center;margin-top:20px;padding:14px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.08);border-radius:12px;position:relative;z-index:1}.student-date{width:48px;height:48px;border-radius:10px;background:var(--lime);color:#173d43;display:flex;flex-direction:column;align-items:center;justify-content:center}.student-date strong{font-size:18px;line-height:1}.student-date span{font-size:7px;color:#31555b;font-weight:850}.student-next h3{margin:0;font-size:11px}.student-next p{margin:4px 0 0;font-size:8px}.student-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:15px;margin-top:15px}.progress-ring-wrap{display:grid;grid-template-columns:130px minmax(0,1fr);align-items:center;gap:18px;padding:21px}.progress-ring{width:120px;height:120px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--lime) 0 68%,#edf1ef 68% 100%);position:relative}.progress-ring:before{content:"";position:absolute;inset:10px;background:#fff;border-radius:50%}.progress-ring span{position:relative;text-align:center}.progress-ring strong{display:block;font-size:25px}.progress-ring small{display:block;font-size:7px;color:var(--muted)}.progress-copy h2{font-size:17px;margin:0 0 5px}.progress-copy p{font-size:9px;color:var(--muted);line-height:1.5}.skill-list{display:grid;gap:9px;margin-top:13px}.skill-row{display:grid;grid-template-columns:108px minmax(0,1fr) 28px;align-items:center;gap:8px}.skill-row span,.skill-row strong{font-size:8px}.skill-row strong{text-align:right}.checklist{padding:8px 17px 16px}.checklist-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #edf1f1}.checklist-row:last-child{border:0}.check-icon{width:25px;height:25px;border-radius:8px;background:var(--green-soft);color:var(--green);display:grid;place-items:center;font-size:10px;font-weight:900}.check-icon.todo{background:var(--yellow-soft);color:var(--yellow)}.checklist-row strong{font-size:9px}.checklist-row small{display:block;font-size:7px;color:var(--muted);margin-top:3px}

.modal-layer{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:24px}.modal-backdrop{position:absolute;inset:0;border:0;background:rgba(5,30,36,.55);backdrop-filter:blur(4px)}.modal{position:relative;width:min(620px,100%);max-height:min(780px,calc(100vh - 48px));overflow:auto;background:#fff;border-radius:18px;box-shadow:0 30px 90px rgba(3,26,32,.28)}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:20px 21px 16px;border-bottom:1px solid var(--line)}.modal-header span{font-size:8px;color:var(--orange);font-weight:900;letter-spacing:.12em}.modal-header h2{font-size:18px;margin:4px 0 0}.modal-close{width:31px;height:31px;border:1px solid var(--line);background:#fff;border-radius:8px;color:#718387}.modal-body{padding:20px 21px}.modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 21px;border-top:1px solid var(--line);background:#fbfcfb}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-group{display:grid;gap:6px}.form-group.full{grid-column:1/-1}.form-group label{font-size:8px;font-weight:800;color:#52676c}.form-group input,.form-group select,.form-group textarea{width:100%;border:1px solid #dce4e4;border-radius:9px;background:#fff;padding:10px;color:var(--ink);font-size:10px;outline:0}.form-group textarea{min-height:74px;resize:vertical}.form-note{grid-column:1/-1;background:#f3f7f5;color:#607579;padding:10px;border-radius:9px;font-size:8px;line-height:1.5}.exercise-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.exercise-option{display:flex;gap:8px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:9px;font-size:8px}.exercise-option input{accent-color:var(--orange)}
.candidate-modal-top{display:flex;align-items:center;gap:13px;padding-bottom:16px;border-bottom:1px solid var(--line)}.candidate-modal-top .person-avatar{width:46px;height:46px;border-radius:14px}.candidate-modal-top h3{margin:0;font-size:14px}.candidate-modal-top p{margin:4px 0 0;font-size:8px;color:var(--muted)}
.toast-region{position:fixed;right:20px;bottom:20px;z-index:180;display:grid;gap:8px}.toast{min-width:260px;max-width:360px;background:#0b3c47;color:#fff;border-radius:11px;padding:13px 14px;display:flex;align-items:center;gap:10px;box-shadow:0 15px 40px rgba(3,30,36,.22);animation:toast-in .25s ease}.toast i{width:22px;height:22px;border-radius:7px;background:var(--lime);color:#183b3f;display:grid;place-items:center;font-style:normal;font-weight:900}.toast span{font-size:9px;line-height:1.4}.toast.is-leaving{animation:toast-out .25s ease forwards}
.search-popover{position:fixed;z-index:80;width:420px;max-width:calc(100vw - 24px);background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:8px}.search-result{width:100%;border:0;background:#fff;border-radius:8px;text-align:left;padding:10px;display:flex;gap:10px;align-items:center}.search-result:hover{background:#f6f8f7}.search-result strong{font-size:9px}.search-result small{display:block;color:var(--muted);font-size:7px;margin-top:3px}.search-result>span:last-child{margin-left:auto;font-size:7px;color:#9aa6a8}
.mobile-nav{display:none}

@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(167,219,0,.45)}50%{box-shadow:0 0 0 6px rgba(167,219,0,0)}}
@keyframes toast-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes toast-out{to{opacity:0;transform:translateY(10px)}}

@media(max-width:1180px){
  .app{grid-template-columns:210px minmax(0,1fr)}.topbar{grid-template-columns:minmax(130px,.7fr) minmax(220px,1fr) auto;padding:0 21px}.role-switch button{padding:7px}.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(260px,.7fr)}.vehicle-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:930px){
  .prototype-bar>span:nth-child(2){display:none}.app{display:block}.sidebar{position:fixed;left:0;top:31px;bottom:0;width:238px;height:auto;transform:translateX(-105%);transition:.22s;box-shadow:20px 0 50px rgba(2,31,38,.2)}.sidebar.is-open{transform:none}.topbar{grid-template-columns:auto 1fr auto}.mobile-menu{display:grid;place-items:center;width:35px;height:35px;border:1px solid var(--line);border-radius:9px;background:#fff}.global-search{display:none}.dashboard-grid,.student-grid{grid-template-columns:1fr}.calendar-shell{grid-template-columns:1fr}.calendar-aside{grid-template-columns:1fr 1fr}.profile-layout{grid-template-columns:1fr}.profile-card{display:grid;grid-template-columns:180px 1fr;gap:20px}.profile-identity{border:0;border-right:1px solid var(--line);padding:0 20px 0 0}.profile-info{grid-template-columns:repeat(2,1fr);padding:0}.profile-actions{grid-column:1/-1}.log-row{grid-template-columns:40px minmax(0,1fr) .7fr auto}.log-row>*:nth-child(4){display:none}
}
@media(max-width:680px){
  .prototype-bar{justify-content:flex-start;padding-left:15px}.prototype-bar button{right:10px}.topbar{height:62px;top:31px;padding:0 14px;gap:10px}.page-context span{display:none}.page-context strong{font-size:14px;margin:0}.top-actions{gap:6px}.role-switch{position:fixed;z-index:55;bottom:70px;left:50%;transform:translateX(-50%);box-shadow:0 8px 25px rgba(10,40,47,.13);background:#fff}.top-actions>.avatar{display:none}main{padding:19px 14px 105px}.page-head{align-items:flex-end;margin-bottom:16px}.page-head h1{font-size:25px}.page-head p{display:none}.page-actions .btn-quiet{display:none}.stats-grid{grid-template-columns:1fr 1fr;gap:8px}.stat-card{padding:13px}.stat-card strong.value{font-size:21px;margin-top:13px}.stat-foot{display:none}.dashboard-grid{gap:10px}.panel{border-radius:13px}.panel-head{padding:13px}.schedule-list{padding:4px 12px 10px}.schedule-row{grid-template-columns:48px 3px minmax(0,1fr);gap:8px}.schedule-meta{display:none}.filter-bar{display:grid;grid-template-columns:1fr 1fr}.search-box{grid-column:1/-1;min-width:0;max-width:none}.filter-spacer{display:none}.table-panel{overflow:auto}.data-table{min-width:670px}.calendar-aside{display:none}.week-grid{grid-template-columns:38px repeat(5,minmax(118px,1fr))}.vehicle-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr 1fr}.profile-card{display:block}.profile-identity{border-right:0;border-bottom:1px solid var(--line);padding:0 0 16px}.profile-info{padding:15px 0}.log-summary{grid-template-columns:1fr 1fr}.log-row{grid-template-columns:36px minmax(0,1fr) auto}.log-row>*:nth-child(3){display:none}.tablet-head{align-items:flex-end}.tablet-greeting h1{font-size:24px}.instructor-stats{gap:7px}.instructor-stat{padding:12px}.lesson-card{grid-template-columns:61px minmax(0,1fr)}.lesson-card>.btn{grid-column:1/-1;margin-top:10px}.lesson-person{padding-left:10px}.session-meta{grid-template-columns:1fr 1fr}.session-meta>div:last-child{grid-column:1/-1}.session-timer{font-size:36px}.student-hero{padding:20px}.student-next{grid-template-columns:auto minmax(0,1fr)}.student-next>.btn{grid-column:1/-1}.student-grid{gap:10px}.progress-ring-wrap{grid-template-columns:100px minmax(0,1fr);padding:15px}.progress-ring{width:95px;height:95px}.skill-row{grid-template-columns:90px minmax(0,1fr) 25px}.form-grid{grid-template-columns:1fr}.form-group.full{grid-column:auto}.form-note{grid-column:auto}.modal-layer{align-items:flex-end;padding:0}.modal{width:100%;max-height:90vh;border-radius:18px 18px 0 0}.exercise-grid{grid-template-columns:1fr}.mobile-nav{position:fixed;z-index:50;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,1fr);height:66px;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 25px rgba(15,43,48,.06)}.mobile-nav button{border:0;background:transparent;color:#819095;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:8px;font-weight:750}.mobile-nav button span{font-size:18px;line-height:1}.mobile-nav button.is-active{color:var(--orange)}.toast-region{right:12px;left:12px;bottom:78px}.toast{min-width:0;max-width:none}.search-popover{left:12px!important;right:12px!important;width:auto!important}
}

/* V1.1: večja in udobnejša tipografija za vsakodnevno delo. */
body{font-size:15px}
.prototype-bar{height:35px;font-size:11px}
.app{min-height:calc(100vh - 35px);grid-template-columns:252px minmax(0,1fr)}
.sidebar{height:calc(100vh - 35px);top:35px;padding-left:16px;padding-right:16px}
.brand-wrap img{width:166px;height:51px}
.brand-wrap span{font-size:9px}
.school-switcher strong,.user-chip strong{font-size:13px}
.school-switcher small,.user-chip small,.sidebar-status small{font-size:10px}
.nav-caption{font-size:9px}
.nav-button{min-height:43px;font-size:13px;padding:9px 13px}
.nav-glyph{font-size:19px;width:23px}
.nav-count{font-size:10px;min-width:22px;height:20px}
.sidebar-status strong{font-size:11px}
.topbar{height:82px;top:35px;padding-left:34px;padding-right:34px}
.page-context span{font-size:9px}.page-context strong{font-size:18px}
.global-search{height:42px}.global-search input{font-size:13px}.global-search kbd{font-size:9px}
.role-switch button{font-size:11px;padding:8px 11px}
.icon-button{width:38px;height:38px}.avatar{width:38px;height:38px;font-size:11px}
main{padding:32px 34px 64px}
.page-head{margin-bottom:25px}.page-head h1{font-size:34px}.page-head p{font-size:13px}.eyebrow{font-size:9px}
.btn{min-height:42px;padding:10px 16px;font-size:12px}.btn-small{min-height:34px;font-size:10px}
.stat-card{padding:20px 21px}.stat-icon{width:38px;height:38px;font-size:18px}.stat-trend{font-size:10px}.stat-card strong.value{font-size:29px}.stat-card>span.label{font-size:12px}.stat-foot{font-size:10px}
.panel-head{min-height:64px;padding:17px 20px}.panel-head h2,.panel-head h3{font-size:16px}.panel-head p{font-size:11px}.panel-link,.date-badge{font-size:11px}
.schedule-row{min-height:72px}.schedule-time strong{font-size:13px}.schedule-time small{font-size:10px}.schedule-main strong{font-size:13px}.schedule-main span{font-size:11px}.schedule-meta strong{font-size:11px}.schedule-meta span{font-size:9px}
.action-item{padding:14px 2px}.action-dot{width:33px;height:33px;font-size:14px}.action-item strong{font-size:12px}.action-item small{font-size:10px}.action-count{font-size:12px}
.capacity-row{grid-template-columns:112px minmax(0,1fr) 50px}.capacity-row span,.capacity-row strong{font-size:11px}.bar{height:8px}
.search-box{height:41px}.search-box input{font-size:12px}.filter-select{height:41px;font-size:11px}
.data-table th{font-size:9px;padding:14px 16px}.data-table td{font-size:12px;padding:15px 16px}
.person-avatar{width:36px;height:36px;font-size:10px}.person-cell strong{font-size:12px}.person-cell small{font-size:10px}.tag{font-size:10px;min-height:26px;padding:5px 8px}.table-action{width:31px;height:31px}
.mini-calendar-head strong{font-size:13px}.mini-week span{font-size:9px}.mini-days button{font-size:10px}.calendar-filter h3{font-size:12px}.check-row{font-size:11px}
.calendar-toolbar strong{font-size:14px}.calendar-controls button{height:34px;font-size:10px}.week-day span{font-size:9px}.week-day strong{font-size:13px}.time-label{font-size:9px}.calendar-event strong{font-size:10px}.calendar-event small{font-size:9px}
.profile-identity h2{font-size:19px}.profile-identity p{font-size:11px}.profile-info-row span{font-size:9px}.profile-info-row strong{font-size:11px}.profile-tab{font-size:11px}.detail-card span{font-size:9px}.detail-card strong{font-size:14px}.timeline h3{font-size:13px}.timeline-row strong{font-size:11px}.timeline-row p{font-size:10px}.timeline-row time{font-size:9px}
.vehicle-body h3{font-size:15px}.vehicle-body>p{font-size:11px}.vehicle-stat span{font-size:9px}.vehicle-stat strong{font-size:11px}.vehicle-alert{font-size:10px}
.log-summary span{font-size:9px}.log-summary strong{font-size:14px}.log-row strong{font-size:11px}.log-row small{font-size:9px}.log-index{font-size:10px}
.tablet-greeting span{font-size:10px}.tablet-greeting h1{font-size:32px}.tablet-date{font-size:11px}.instructor-stat span{font-size:10px}.instructor-stat strong{font-size:23px}.lesson-time strong{font-size:17px}.lesson-time span{font-size:10px}.lesson-person h3{font-size:13px}.lesson-person p{font-size:10px}
.session-top span{font-size:10px}.session-top h2{font-size:23px}.live-pill{font-size:10px}.session-meta span{font-size:9px}.session-meta strong{font-size:12px}
.student-hero span{font-size:10px}.student-hero h1{font-size:33px}.student-hero p{font-size:12px}.student-date span{font-size:9px}.student-next h3{font-size:13px}.student-next p{font-size:10px}.progress-ring small{font-size:9px}.progress-copy h2{font-size:19px}.progress-copy p{font-size:11px}.skill-row span,.skill-row strong{font-size:10px}.checklist-row strong{font-size:11px}.checklist-row small{font-size:9px}
.modal-header span{font-size:9px}.modal-header h2{font-size:21px}.form-group label{font-size:10px}.form-group input,.form-group select,.form-group textarea{font-size:12px;padding:11px}.form-note,.exercise-option{font-size:10px}.candidate-modal-top h3{font-size:16px}.candidate-modal-top p{font-size:10px}.toast span{font-size:11px}.search-result strong{font-size:11px}.search-result small,.search-result>span:last-child{font-size:9px}

@media(max-width:1180px){.app{grid-template-columns:224px minmax(0,1fr)}.nav-button{font-size:12px}.topbar{padding-left:24px;padding-right:24px}}
@media(max-width:930px){.sidebar{top:35px;width:252px}.app{display:block}}
@media(max-width:680px){
  .topbar{height:66px;top:35px}.page-context strong{font-size:16px}main{padding:22px 16px 108px}.page-head h1{font-size:28px}.stats-grid{gap:10px}.stat-card{padding:15px}.stat-card strong.value{font-size:24px}.stat-card>span.label{font-size:11px}.panel-head h2,.panel-head h3{font-size:15px}.schedule-main strong{font-size:12px}.schedule-main span{font-size:10px}.role-switch button{font-size:10px}.tablet-greeting h1{font-size:27px}.student-hero h1{font-size:29px}.mobile-nav button{font-size:9px}
}

/* V1.2 — Mirna premium: oblikovalska smer iz izbranega koncepta. */
:root{
  --navy:#063c46;
  --navy-2:#074852;
  --navy-3:#0b5962;
  --lime:#9fd600;
  --lime-soft:#eff9d6;
  --orange:#ff6a21;
  --canvas:#f2f6f5;
  --line:#e2eae9;
  --ink:#0c2732;
  --muted:#6f8188;
  --shadow:0 14px 42px rgba(6,45,53,.07);
  --radius:18px;
}

body{background:radial-gradient(circle at 74% 0,rgba(208,235,229,.24),transparent 34%),var(--canvas)}
.app{grid-template-columns:274px minmax(0,1fr)}
.sidebar{
  padding:24px 16px 16px;
  background:linear-gradient(180deg,#06424c 0%,#043842 100%);
  overflow:hidden auto;
  isolation:isolate;
}
.sidebar>*{position:relative;z-index:2}
.sidebar::before{
  content:"";
  position:absolute;
  z-index:1;
  left:-66px;
  bottom:74px;
  width:245px;
  height:330px;
  opacity:.075;
  transform:rotate(24deg);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='300' viewBox='0 0 180 300'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='8' stroke-linecap='round'%3E%3Cpath d='M45 0v300M135 0v300' opacity='.45'/%3E%3Cpath d='M10 12l65 32M105 44l65-32M10 72l65 32M105 104l65-32M10 132l65 32M105 164l65-32M10 192l65 32M105 224l65-32M10 252l65 32M105 284l65-32'/%3E%3C/g%3E%3C/svg%3E");
  background-size:100% 100%;
  pointer-events:none;
}
.brand-wrap{min-height:66px;padding:0 5px 18px;border-bottom-color:rgba(255,255,255,.08)}
.brand-logo-viewport{
  position:relative;
  display:block;
  width:205px;
  height:55px;
  overflow:hidden;
  border-radius:12px;
  background:#fff;
  writing-mode:horizontal-tb!important;
  transform:none!important;
  box-shadow:0 8px 22px rgba(0,24,29,.16);
}
.brand-wrap .brand-logo-viewport img{
  position:absolute;
  left:50%;
  top:-3px;
  width:248px;
  height:auto;
  max-width:none;
  padding:0;
  border-radius:0;
  background:transparent;
  object-fit:initial;
  transform:translateX(-50%);
}
.brand-wrap>span:last-child{font-size:9px;color:#87aeb3}
.school-switcher{margin:18px 2px 22px;padding:12px;border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.045);border-radius:14px}
.school-mark{width:39px;height:39px;border-radius:11px;background:linear-gradient(145deg,#b4e800,#89c700);box-shadow:0 5px 16px rgba(157,214,0,.19);font-size:12px}
.school-logo-mark{width:62px;padding:5px 6px;background:#fff;box-shadow:0 5px 16px rgba(0,0,0,.14)}
.school-switcher strong{white-space:normal;line-height:1.14;font-size:11.5px}
.school-switcher strong,.user-chip strong{font-size:13px}.school-switcher small,.user-chip small,.sidebar-status small{font-size:10px;color:#91b5ba}
.nav-caption{padding:0 14px 10px;color:#76a0a6;font-size:9px}
.main-nav{gap:5px}
.nav-button{min-height:48px;border-radius:12px;padding:10px 13px;color:#cae0e2;font-size:14px;font-weight:620;gap:13px}
.nav-button:hover{background:rgba(255,255,255,.075)}
.nav-button.is-active{color:#0b3039;background:#fff;box-shadow:0 11px 24px rgba(0,28,34,.2)}
.nav-button.is-active .nav-glyph{color:#0b4a54}
.nav-glyph{width:25px;height:25px;display:grid;place-items:center;color:#d7e8e9}
.nav-glyph svg,.stat-icon svg,.btn svg,.notification-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nav-count{height:22px;min-width:23px;background:rgba(255,255,255,.1);font-size:10px}.nav-button.is-active .nav-count{background:#edf7d3;color:#668900}
.sidebar-status{padding:14px 9px}.sidebar-status strong{font-size:12px}.status-orbit{width:27px;height:27px}.status-orbit i{box-shadow:0 0 0 5px rgba(159,214,0,.12)}
.user-chip{padding:9px;border-radius:12px}.avatar-dark{width:38px;height:38px;background:#1a6570}

.topbar{
  height:78px;
  grid-template-columns:minmax(330px,650px) minmax(440px,1fr);
  gap:24px;
  padding:0 38px;
  background:rgba(255,255,255,.91);
  border-bottom:1px solid rgba(222,233,231,.9);
  box-shadow:0 1px 0 rgba(11,56,65,.015);
}
.page-context{display:none}
.global-search{height:44px;border-radius:13px;background:#fbfcfc;padding:0 14px;box-shadow:inset 0 0 0 1px rgba(7,55,64,.01)}
.global-search>span{font-size:21px;color:#729097}.global-search input{font-size:13px}.global-search kbd{font-size:10px;padding:4px 7px}
.top-actions{gap:12px}.weather-widget{position:relative}.weather-chip{height:48px;padding:0 13px;border:1px solid var(--line);border-radius:14px;background:#fff;display:flex;align-items:center;gap:9px;color:#567078;box-shadow:0 5px 16px rgba(7,48,56,.035);font:inherit;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.weather-chip:hover,.weather-chip[aria-expanded="true"]{border-color:#c6d9d6;box-shadow:0 9px 24px rgba(7,48,56,.09);transform:translateY(-1px)}
.weather-chip-icon{display:grid;place-items:center;width:24px;height:24px}.weather-chip-place{display:grid;grid-template-columns:auto auto;align-items:center;gap:5px;white-space:nowrap}.weather-chip-place strong{font-size:12px;color:var(--ink)}.weather-chip-place small{font-size:10px;color:#73898e}.weather-chip-details{display:flex;align-items:center;gap:7px;padding-left:9px;border-left:1px solid #e4ecea}.weather-chip-details small{display:flex;align-items:center;gap:3px;color:#73898e;font-size:9px;white-space:nowrap}.weather-chip-details i{color:#0e8590;font-style:normal}.weather-chip-details b{font-weight:750;color:#48646a}
.weather-popover{position:absolute;z-index:80;right:0;top:56px;width:610px;padding:18px;border:1px solid #dce8e6;border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 22px 60px rgba(6,45,53,.17);color:var(--ink);backdrop-filter:blur(15px)}
.weather-popover[hidden]{display:none}.weather-svg{width:100%;height:100%;fill:none;stroke:#267681;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.weather-svg-sun{stroke:#f6a313}.weather-svg-moon,.weather-svg-night-cloud{stroke:#687db0}.weather-svg-rain{stroke:#2587b6}.weather-svg-snow{stroke:#5aa6c9}.weather-svg-storm{stroke:#d97c19}.weather-icon-accent{stroke:#f6a313}.weather-icon-rain{stroke:#35a4d1}.weather-icon-snow{stroke:#67b9dc}.weather-icon-storm{stroke:#f39b22;stroke-width:2.2}.weather-current{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid #e5eeec}.weather-current-icon{width:58px;height:58px;display:grid;place-items:center;padding:10px;border:1px solid #e5efec;border-radius:17px;background:linear-gradient(145deg,#fffaf0,#f1f9f5);box-shadow:inset 0 1px 0 #fff,0 7px 18px rgba(15,83,91,.06)}.weather-current-copy span,.weather-current-meta span{display:block;font-size:10px;color:#789096}.weather-current-copy strong{display:block;margin:2px 0;font-size:17px}.weather-current-copy small{display:block;color:#526e75;font-size:11px}.weather-current-meta{text-align:right}.weather-current-meta strong{display:block;margin:3px 0 6px;font-size:24px;color:#0b3039}.weather-current-meta small{font-size:9px;color:#789096}
.weather-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 1px 8px}.weather-section-title strong{font-size:11px}.weather-section-title small{color:#819599;font-size:8.5px}.weather-hourly{display:flex;gap:7px;overflow-x:auto;padding:2px 1px 9px;scrollbar-width:thin;scrollbar-color:#cbdad7 transparent;scroll-snap-type:x proximity}.weather-hour{flex:0 0 59px;display:grid;place-items:center;gap:4px;padding:8px 5px;border:1px solid #e4edeb;border-radius:12px;background:linear-gradient(180deg,#fff,#f8fbfa);scroll-snap-align:start;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}.weather-hour:hover{transform:translateY(-1px);border-color:#cbdedb}.weather-hour.is-current{border-color:#a5cf41;background:linear-gradient(180deg,#fbfff3,#f1f9df);box-shadow:0 5px 15px rgba(114,158,9,.11)}.weather-hour>span{font-size:9px;font-weight:800;color:#4c6870}.weather-hour>i{display:block;width:25px;height:25px;font-style:normal}.weather-hour>strong{font-size:11px}.weather-hour>small{display:flex;align-items:center;gap:3px;font-size:7.5px;color:#748b90}.weather-hour>small:first-of-type b{color:#2a98c3;font-size:6px}.weather-hour>small:last-of-type b{color:#239099;font-size:9px}.weather-days-title{margin-top:8px}.weather-forecast{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.weather-day{padding:11px 8px;border:1px solid #e4edeb;border-radius:13px;background:linear-gradient(180deg,#fff,#f8fbfa);text-align:center}.weather-day>span{display:block;font-size:10px;font-weight:750;color:#4c6870}.weather-day>i{display:block;width:31px;height:31px;margin:7px auto 5px;font-style:normal}.weather-day>b{display:block;font-size:12px}.weather-day>small{display:block;margin-top:4px;color:#7d9297;font-size:9px}.weather-source{display:flex;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid #edf2f1;color:#879a9e;font-size:8.5px}.weather-error{padding:8px;text-align:center;color:#647d83;font-size:11px}.weather-loading{padding:22px;text-align:center;color:#70878c;font-size:11px}
.role-switch{height:40px;border-radius:11px}.role-switch button{font-size:11px;border-radius:8px}
.icon-button{width:40px;height:40px;border:0;background:transparent}.notification-button svg{width:23px;height:23px;color:#153945}.notification-button i{width:17px;height:17px;font-size:8px}
.top-actions>.avatar{width:42px;height:42px;background:#dcefed;color:#16474d;font-size:12px}

main{max-width:1580px;padding:34px 38px 70px}
.dashboard-hero{position:relative;min-height:162px;padding:8px 0 24px;overflow:hidden}
.dashboard-hero::before{
  content:"";
  position:absolute;
  z-index:0;
  right:-30px;
  top:0;
  width:68%;
  height:150px;
  opacity:.72;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 170'%3E%3Cg fill='none'%3E%3Cpath d='M-30 37C180 30 204 156 430 119S660 19 930 36' stroke='%23dce9e7' stroke-width='2'/%3E%3Cpath d='M-30 62C180 55 204 181 430 144S660 44 930 61' stroke='%23dce9e7' stroke-width='2'/%3E%3Cpath d='M-30 49C180 42 204 168 430 131S660 31 930 48' stroke='%23c9dbd8' stroke-width='3' stroke-dasharray='18 20'/%3E%3Cg fill='%239fd600' stroke='%23ffffff' stroke-width='4'%3E%3Ccircle cx='285' cy='112' r='7'/%3E%3Ccircle cx='590' cy='70' r='7'/%3E%3Ccircle cx='810' cy='39' r='7'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat;
  pointer-events:none;
}
.dashboard-hero>*{position:relative;z-index:1}
.dashboard-hero .page-head{margin:0;min-height:128px;align-items:flex-start}
.dashboard-hero .page-head>div:first-child{padding-top:7px}
.dashboard-hero .eyebrow{color:#688089;font-size:10px;letter-spacing:.09em}
.dashboard-hero .page-head h1{font-size:44px;line-height:1.03;margin:8px 0 8px;color:#092633}
.dashboard-hero .page-head p{font-size:15px;color:#74878d}
.dashboard-hero .page-actions{padding-top:7px}
.btn{border-radius:11px;font-size:12px}.btn svg{width:17px;height:17px}.btn-primary{box-shadow:0 9px 24px rgba(255,106,33,.22)}

.grid{gap:18px}.stats-grid{gap:16px;margin-bottom:18px}
.stat-card{min-height:132px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px;border-color:#e3ebe9;border-radius:17px;box-shadow:0 7px 22px rgba(8,52,60,.045)}
.stat-icon{width:48px;height:48px;border-radius:14px;background:#e8f4f3;color:#07505a}.stat-icon svg{width:25px;height:25px}.stat-icon.orange{background:#e8f7fb;color:#0793b9}.stat-icon.lime{background:#e6f8ec;color:#00a24c}.stat-icon.blue{background:#e9f5ed;color:#08734a}
.stat-copy{min-width:0}.stat-copy .label{display:block;color:#526a72;font-size:12px;font-weight:700}.stat-card strong.value{margin:5px 0 1px;font-size:29px;color:#092633}.stat-detail{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7c8f95;font-size:10px}
.stat-side{height:100%;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between}.stat-side>i{width:32px;height:32px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:#244851;font-size:22px;font-style:normal}.stat-trend{font-size:9px}.progress-line{height:3px;margin-top:10px}.stat-card .progress-line i{background:linear-gradient(90deg,#9fd600,#c2e95a)}
.dashboard-grid{grid-template-columns:minmax(0,1.55fr) minmax(340px,.82fr);gap:18px}.stack{gap:18px}
.panel,.table-panel{border-color:#e1eae8;border-radius:18px;box-shadow:0 9px 30px rgba(8,49,57,.045)}
.panel-head{min-height:68px;padding:18px 21px}.panel-head h2,.panel-head h3{font-size:17px;color:#0c2a35}.panel-head p{font-size:11px}.panel-link{font-size:11px}.date-badge{border:1px solid var(--line);background:#fff}
.schedule-list{padding:10px 16px 16px;display:grid;gap:8px}.schedule-row{min-height:72px;padding:8px 10px;border:1px solid #e5eceb!important;border-radius:12px;background:#fff!important}.schedule-row:hover{border-color:#cfdedb!important;box-shadow:0 5px 16px rgba(8,52,59,.05)}.schedule-time strong{font-size:14px}.schedule-time small{font-size:10px}.schedule-main strong{font-size:13px}.schedule-main span{font-size:10px}.schedule-line{height:40px;width:4px}.schedule-meta strong{font-size:11px}.schedule-meta span{font-size:9px}
.action-list{padding:9px 14px 14px;display:grid;gap:8px}.action-item{min-height:58px;padding:8px 9px!important;border:1px solid #e5eceb!important;border-radius:12px;background:#fff!important}.action-item:hover{border-color:#ceddda!important}.action-dot{width:38px;height:38px;border-radius:11px}.action-item strong{font-size:12px}.action-item small{font-size:10px}.action-count{color:var(--orange)}
.capacity-list{padding:13px 21px 21px}.capacity-row{grid-template-columns:120px minmax(0,1fr) 58px;gap:12px}.capacity-row span,.capacity-row strong{font-size:11px}.bar{height:9px}.bar i{background:#74a70b}.bar i.orange{background:#ff7d37}.bar i.lime{background:linear-gradient(90deg,#91c900,#b6df3e)}

@media(max-width:1180px){
  .app{grid-template-columns:238px minmax(0,1fr)}
  .topbar{grid-template-columns:minmax(250px,1fr) auto;padding:0 25px}.weather-chip-details{display:none}
  main{padding-left:25px;padding-right:25px}.dashboard-hero::before{width:62%;opacity:.55}
  .dashboard-hero .page-actions{display:none}.stats-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:930px){
  .app{display:block}.sidebar{width:274px}.topbar{grid-template-columns:auto 1fr auto}.page-context{display:block}.global-search{display:none}.weather-chip{display:none}
  .dashboard-hero::before{width:75%}.dashboard-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  .topbar{height:66px;padding:0 14px}.role-switch{height:auto}
  main{padding:20px 14px 108px}.dashboard-hero{min-height:128px;padding-top:0}.dashboard-hero::before{right:-95px;width:100%;height:115px;opacity:.42}
  .dashboard-hero .page-head{min-height:105px}.dashboard-hero .page-head h1{font-size:32px}.dashboard-hero .page-head p{display:block;font-size:12px;max-width:260px}
  .stats-grid{grid-template-columns:1fr}.stat-card{min-height:112px}.stat-card strong.value{font-size:25px}
  .brand-logo-viewport{width:200px}
}
@media(max-width:640px){.weather-popover{position:fixed;top:72px;right:12px;left:12px;width:auto}.weather-current{grid-template-columns:48px 1fr}.weather-current-icon{width:48px;height:48px}.weather-current-meta{display:none}.weather-forecast{gap:6px}.weather-day{padding-left:5px;padding-right:5px}}

/* V1.3 — čistejša znamka, brez dekorativnih prog in ilustrirane ceste. */
.sidebar::before{
  left:-120px;
  bottom:-115px;
  width:360px;
  height:360px;
  opacity:1;
  transform:none;
  border-radius:50%;
  background:
    radial-gradient(circle,transparent 0 104px,rgba(159,214,0,.055) 105px 107px,transparent 108px 145px,rgba(255,255,255,.025) 146px 148px,transparent 149px),
    radial-gradient(circle at 50% 50%,rgba(25,104,113,.16),transparent 64%);
}
.brand-wrap{
  min-height:94px;
  margin:-24px -16px 0;
  padding:14px 22px 13px;
  justify-content:center;
  background:#fff;
  border:0;
  box-shadow:0 1px 0 rgba(5,42,49,.1),0 10px 26px rgba(2,29,35,.1);
}
.brand-logo-viewport{
  width:226px;
  height:67px;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.brand-wrap .brand-logo-viewport img{top:-5px;width:282px}
.brand-wrap>span:last-child{display:none}
.school-switcher{margin-top:18px}

.dashboard-hero{min-height:0;padding:0 0 22px;overflow:visible}
.dashboard-hero::before{display:none}
.dashboard-hero .page-head{
  min-height:154px;
  margin:0;
  padding:28px 30px;
  overflow:hidden;
  border:1px solid #dfeae7;
  border-radius:23px;
  background:
    radial-gradient(circle at 91% 138%,transparent 0 74px,rgba(159,214,0,.18) 75px 78px,transparent 79px 112px,rgba(7,60,70,.055) 113px 116px,transparent 117px),
    radial-gradient(circle at 77% -82%,rgba(255,255,255,.96) 0 82px,transparent 210px),
    linear-gradient(118deg,#edf6f3 0%,#f6faf8 56%,#eef6f3 100%);
  box-shadow:0 12px 34px rgba(7,53,62,.055);
}
.dashboard-hero .page-head::before{
  content:"";
  position:absolute;
  right:118px;
  bottom:31px;
  width:58px;
  height:58px;
  border:1px solid rgba(7,60,70,.11);
  border-radius:50%;
  box-shadow:0 0 0 10px rgba(255,255,255,.34),0 0 0 11px rgba(7,60,70,.035);
}
.dashboard-hero .page-head::after{
  content:"";
  position:absolute;
  right:138px;
  bottom:51px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:var(--lime);
  box-shadow:0 5px 14px rgba(118,163,0,.24);
}
.dashboard-hero .page-head>div,.dashboard-hero .page-actions{position:relative;z-index:1}
.dashboard-hero .page-head h1{font-size:42px}

@media(max-width:1180px){
  .brand-wrap{margin-left:-16px;margin-right:-16px}.dashboard-hero .page-head{padding:25px 26px}.dashboard-hero .page-head::before{right:88px}.dashboard-hero .page-head::after{right:108px}
}
@media(max-width:930px){
  .brand-wrap{margin-top:-24px}.dashboard-hero .page-head::before{right:56px;opacity:.65}.dashboard-hero .page-head::after{right:76px;opacity:.8}
}
@media(max-width:680px){
  .brand-logo-viewport{width:226px}.dashboard-hero{padding-bottom:15px}.dashboard-hero .page-head{min-height:132px;padding:21px 20px;border-radius:18px}.dashboard-hero .page-head h1{font-size:31px}.dashboard-hero .page-head::before,.dashboard-hero .page-head::after{display:none}
}

/* V1.4 — poravnava znamke in sredinsko iskanje. */
.brand-wrap .brand-logo-viewport img{top:-4px;width:260px}
.topbar{grid-template-columns:minmax(0,1fr) minmax(360px,620px) minmax(0,1fr)}
.global-search{grid-column:2;width:100%;justify-self:center}
.top-actions{grid-column:3}
@media(max-width:1180px){
  .topbar{grid-template-columns:minmax(260px,1fr) auto}
  .global-search{grid-column:1;width:min(520px,100%)}
  .top-actions{grid-column:2}
}
@media(max-width:930px){
  .topbar{grid-template-columns:auto 1fr auto}
  .global-search{display:none}
  .top-actions{grid-column:3}
}

/* V1.5 — optična poravnava logotipa. */
.brand-logo-viewport{margin-left:-10px;margin-right:10px}

/* V1.6 — svetla ilustracija poti v pozdravnem okvirju. */
.dashboard-hero .page-head{
  background-color:#f1f7f5;
  background-image:
    url("./assets/hero-road-light.png"),
    radial-gradient(circle at 75% -65%,rgba(255,255,255,.95) 0 78px,transparent 220px),
    linear-gradient(118deg,#edf6f3 0%,#f8fbfa 58%,#eff6f3 100%);
  background-repeat:no-repeat,no-repeat,no-repeat;
  background-position:right 44%,center,center;
  background-size:64% auto,100% 100%,100% 100%;
}
.dashboard-hero .page-head::before,.dashboard-hero .page-head::after{display:none}
@media(max-width:1180px){.dashboard-hero .page-head{background-size:72% auto,100% 100%,100% 100%}}
@media(max-width:680px){.dashboard-hero .page-head{background-image:linear-gradient(118deg,#edf6f3 0%,#f8fbfa 100%)}}

/* V1.7 — ilustracija poti v praznem delu stranskega menija. */
.sidebar::before{display:none}
.sidebar-spacer{
  min-height:210px;
  margin:6px 0 2px;
  opacity:.46;
  background:url("./assets/sidebar-tech-car.png") center 68%/228px auto no-repeat;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 18%,#000 88%,transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0,#000 18%,#000 88%,transparent 100%);
}
@media(max-height:850px){.sidebar-spacer{min-height:105px;background-size:154px auto;opacity:.52}}
@media(max-width:930px){.sidebar-spacer{background-size:210px auto}}

/* V2.2 — odzivnejša navigacija: hover, aktivna stran in klik. */
.nav-button{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  transition:background-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.nav-button::before{
  content:"";
  position:absolute;
  z-index:2;
  left:0;
  top:50%;
  width:4px;
  height:23px;
  border-radius:0 5px 5px 0;
  background:var(--lime);
  box-shadow:0 0 14px rgba(159,214,0,.5);
  transform:translateY(-50%) scaleY(0);
  opacity:0;
  transition:transform .2s ease,opacity .2s ease;
}
.nav-button:not(.is-active):hover{
  color:#fff;
  background:linear-gradient(90deg,rgba(255,255,255,.095),rgba(255,255,255,.045));
  transform:translateX(4px);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);
}
.nav-button:not(.is-active):hover::before{transform:translateY(-50%) scaleY(.55);opacity:.5}
.nav-button:not(.is-active):active{transform:translateX(2px) scale(.985);transition-duration:.06s}
.nav-button.is-active:active{transform:scale(.985);transition-duration:.06s}
.nav-button.is-active{
  color:#082f38;
  background:linear-gradient(100deg,#fff 0%,#f7fbfa 100%);
  box-shadow:0 10px 26px rgba(0,25,31,.2),inset 0 0 0 1px rgba(255,255,255,.78);
  font-weight:750;
}
.nav-button.is-active::before{transform:translateY(-50%) scaleY(1);opacity:1}
.nav-glyph{
  border-radius:9px;
  transition:transform .2s ease,background-color .2s ease,color .2s ease,box-shadow .2s ease;
}
.nav-button:not(.is-active):hover .nav-glyph{transform:scale(1.08);background:rgba(255,255,255,.075);box-shadow:0 0 0 5px rgba(255,255,255,.025)}
.nav-button.is-active .nav-glyph{
  color:#073943;
  background:
    linear-gradient(#f8fbfa,#f8fbfa) padding-box,
    linear-gradient(135deg,#073943 0 38%,#ff6b20 38% 64%,#9fd600 64% 100%) border-box;
  border:2px solid transparent;
  box-shadow:0 0 0 4px rgba(232,244,241,.76),0 4px 10px rgba(4,48,57,.12);
}
.nav-count{transition:background-color .2s ease,color .2s ease,transform .2s ease}
.nav-button:not(.is-active):hover .nav-count{color:#d9f68b;background:rgba(159,214,0,.14);transform:translateX(-2px)}
.nav-button.is-active .nav-count{color:#547600;background:#eaf6c9}
#main-content>*{animation:page-enter .24s cubic-bezier(.22,.8,.3,1)}
@keyframes page-enter{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.nav-button,.nav-button::before,.nav-glyph,.nav-count{transition:none!important}#main-content>*{animation:none}}

/* V2.6 — zgornji rob stranskega menija je poravnan z glavo vsebine. */
.brand-wrap{
  height:78px;
  min-height:78px;
  padding:4px 22px 3px;
}
.brand-logo-viewport{height:61px}
.brand-wrap .brand-logo-viewport img{top:-7px;width:254px}

/* V2.7 — nežen, neenakomeren vzorec prve črke d v glavnem ozadju. */
.workspace{
  position:relative;
  isolation:isolate;
  min-width:0;
}
.workspace::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:78px 0 0;
  pointer-events:none;
  background-image:url("./assets/main-d-watermark-pattern-v2.png");
  background-position:center top;
  background-size:2200px 1400px;
  background-repeat:repeat-y;
  opacity:.31;
}
.workspace>main{position:relative;z-index:1}
@media(max-width:680px){
  .workspace::before{top:66px;background-size:1500px auto;opacity:.24}
}

/* V3.0 — enoten svetel naslovni okvir na vseh podstraneh. */
.subpage-hero{
  position:relative;
  min-height:154px;
  padding:27px 30px;
  align-items:center;
  overflow:hidden;
  border:1px solid #dfeae7;
  border-radius:23px;
  background-color:#f1f7f5;
  background-image:
    url("./assets/hero-road-light.png"),
    radial-gradient(circle at 75% -65%,rgba(255,255,255,.95) 0 78px,transparent 220px),
    linear-gradient(118deg,#edf6f3 0%,#f8fbfa 58%,#eff6f3 100%);
  background-repeat:no-repeat,no-repeat,no-repeat;
  background-position:right 44%,center,center;
  background-size:64% auto,100% 100%,100% 100%;
  box-shadow:0 12px 34px rgba(7,53,62,.055);
}
.subpage-hero>div,.subpage-hero .page-actions{position:relative;z-index:1}
.subpage-hero>div:first-child{max-width:64%}
.subpage-hero h1{font-size:42px;color:#092633}
.subpage-hero p{font-size:14px;color:#74878d}
@media(max-width:1180px){
  .subpage-hero{padding:25px 26px;background-size:72% auto,100% 100%,100% 100%}
}
@media(max-width:680px){
  .subpage-hero{min-height:132px;padding:21px 20px;align-items:flex-end;border-radius:18px;background-image:linear-gradient(118deg,#edf6f3 0%,#f8fbfa 100%)}
  .subpage-hero>div:first-child{max-width:100%}
  .subpage-hero h1{font-size:31px}
}

/* V3.1 — preklop jezika v zgornji vrstici. */
.language-switcher{
  position:relative;
  height:40px;
}
.language-switcher>button{
  height:40px;
  min-width:82px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:0 9px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fff;
  color:#173b44;
  box-shadow:0 4px 14px rgba(7,48,56,.025);
  cursor:pointer;
}
.language-switcher>button:hover,.language-switcher.is-open>button{border-color:#c5d4d5;background:#f9fbfa}
.language-icon{font-size:15px;color:#0b5962}.language-switcher strong{font-size:11px;font-weight:800}.language-chevron{font-size:10px;color:#799095;transition:transform .16s}.language-switcher.is-open .language-chevron{transform:rotate(180deg)}
.language-menu{
  position:absolute;
  z-index:100;
  top:calc(100% + 8px);
  right:0;
  width:108px;
  padding:5px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#fff;
  box-shadow:0 14px 34px rgba(5,38,45,.16);
}
.language-menu[hidden]{display:none}
.language-menu button{width:100%;height:34px;display:flex;align-items:center;padding:0 10px;border:0;border-radius:7px;background:transparent;color:#39545a;font-size:11px;font-weight:750;text-align:left;cursor:pointer}
.language-menu button:hover,.language-menu button.is-active{background:#edf5f2;color:#073f49}.language-menu button.is-active::after{content:"✓";margin-left:auto;color:#78a400;font-weight:900}
@media(max-width:1180px){.weather-chip{display:flex;padding-left:11px;padding-right:11px}.weather-chip-details{display:none}.weather-chip-place small{display:none}}
@media(max-width:680px){.language-switcher,.language-switcher>button{height:38px}.language-switcher>button{min-width:58px;padding:0 7px;gap:4px}.language-icon{display:none}.language-switcher strong{font-size:10px}.language-menu{right:-5px}}

/* V3.6 — bolj izrazite, vendar mirne kartice na nadzorni plošči. */
.stats-grid .stat-card{
  --card-accent:#0b5962;
  --card-soft:#e8f4f3;
  isolation:isolate;
  border-color:rgba(10,69,78,.11);
  background:linear-gradient(145deg,#fff 0%,#fff 76%,color-mix(in srgb,var(--card-soft) 42%,#fff) 100%);
  box-shadow:0 12px 30px rgba(8,49,57,.065),inset 0 1px 0 rgba(255,255,255,.9);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.stats-grid .stat-card.orange{--card-accent:#ff6b20;--card-soft:#fff0e7}
.stats-grid .stat-card.lime{--card-accent:#82b400;--card-soft:#eff8d9}
.stats-grid .stat-card.blue{--card-accent:#008ba8;--card-soft:#e4f6f8}
.stats-grid .stat-card.navy{--card-accent:#07515c;--card-soft:#e5f1f1}
.stats-grid .stat-card::before{content:"";position:absolute;z-index:-1;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,var(--card-accent),color-mix(in srgb,var(--card-accent) 45%,#fff));opacity:.9}
.stats-grid .stat-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--card-accent) 28%,#dfe8e6);box-shadow:0 18px 36px rgba(8,49,57,.1),inset 0 1px 0 #fff}
.stats-grid .stat-icon{border:1px solid color-mix(in srgb,var(--card-accent) 13%,transparent);background:color-mix(in srgb,var(--card-soft) 86%,#fff);color:var(--card-accent);box-shadow:0 8px 18px color-mix(in srgb,var(--card-accent) 12%,transparent)}
.stats-grid .stat-copy .label{color:#385861;font-weight:780}.stats-grid .stat-card strong.value{font-size:31px}.stats-grid .stat-detail{color:#789096}
.stats-grid .stat-side{height:auto;align-self:start;justify-content:flex-start}.stats-grid .stat-trend{border:1px solid rgba(32,157,94,.12);border-radius:999px;background:#e9f8ef;color:#17844b;padding:4px 7px;box-shadow:none}
.stats-grid .progress-line{height:5px;background:rgba(8,52,60,.075)}.stats-grid .stat-card .progress-line i{background:linear-gradient(90deg,var(--card-accent),color-mix(in srgb,var(--card-accent) 50%,#d7ef82));box-shadow:0 0 10px color-mix(in srgb,var(--card-accent) 20%,transparent)}

.dashboard-grid .panel{position:relative;border-color:rgba(10,69,78,.11);box-shadow:0 14px 34px rgba(8,49,57,.06);transition:box-shadow .2s ease,border-color .2s ease}
.dashboard-grid .panel:hover{border-color:rgba(10,69,78,.17);box-shadow:0 17px 42px rgba(8,49,57,.085)}
.dashboard-grid .panel-head{position:relative;background:linear-gradient(180deg,#fff,#fbfdfc)}
.dashboard-grid .panel-head::before{content:"";position:absolute;left:21px;bottom:-1px;width:48px;height:3px;border-radius:4px;background:linear-gradient(90deg,var(--orange),var(--lime))}
.dashboard-grid .panel-head h2{letter-spacing:-.035em}.dashboard-grid .panel-link{padding:7px 10px;border-radius:8px;background:#fff4ed;transition:background .16s ease,transform .16s ease}.dashboard-grid .panel-link:hover{background:#ffe8da;transform:translateX(2px)}
.dashboard-grid .date-badge{border-color:#dbe6e4;background:#f9fbfa;box-shadow:0 3px 10px rgba(7,48,56,.035)}

.dashboard-grid .schedule-row{--row-accent:#ff6b20;position:relative;overflow:hidden;background:linear-gradient(90deg,color-mix(in srgb,var(--row-accent) 4%,#fff),#fff 27%)!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.dashboard-grid .schedule-row.blue{--row-accent:#2f7ddd}.dashboard-grid .schedule-row.lime{--row-accent:#8fc700}
.dashboard-grid .schedule-row::after{content:"";position:absolute;right:-24px;top:-29px;width:72px;height:72px;border-radius:50%;border:1px solid color-mix(in srgb,var(--row-accent) 12%,transparent)}
.dashboard-grid .schedule-row:hover{transform:translateX(3px);border-color:color-mix(in srgb,var(--row-accent) 28%,#dbe5e3)!important;box-shadow:0 8px 20px rgba(8,52,59,.07)}
.dashboard-grid .schedule-time{padding:8px 7px;border-right:0;border-radius:9px;background:color-mix(in srgb,var(--row-accent) 8%,#fff)}
.dashboard-grid .schedule-time strong{color:#123942}.dashboard-grid .schedule-line{background:var(--row-accent);box-shadow:0 0 10px color-mix(in srgb,var(--row-accent) 24%,transparent)}
.dashboard-grid .schedule-meta span{background:#eef5f3;color:#46656b;font-weight:750}

.dashboard-grid .action-item{--action-accent:#ff6b20;position:relative;overflow:hidden;background:linear-gradient(90deg,color-mix(in srgb,var(--action-accent) 4%,#fff),#fff 48%)!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.dashboard-grid .action-item.yellow{--action-accent:#e0a000}.dashboard-grid .action-item.blue{--action-accent:#2f7ddd}
.dashboard-grid .action-item::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:0 4px 4px 0;background:var(--action-accent);opacity:.72}
.dashboard-grid .action-item:hover{transform:translateX(3px);border-color:color-mix(in srgb,var(--action-accent) 27%,#dce6e4)!important;box-shadow:0 7px 18px rgba(8,52,59,.065)}
.dashboard-grid .action-dot{border:1px solid color-mix(in srgb,var(--action-accent) 13%,transparent);background:color-mix(in srgb,var(--action-accent) 10%,#fff);color:var(--action-accent);box-shadow:0 6px 15px color-mix(in srgb,var(--action-accent) 10%,transparent)}
.dashboard-grid .action-count{padding:5px 8px;border-radius:999px;background:color-mix(in srgb,var(--action-accent) 9%,#fff);color:var(--action-accent);white-space:nowrap}
.dashboard-grid .capacity-row{padding:4px 0}.dashboard-grid .capacity-row>span:first-child{color:#426068;font-weight:680}.dashboard-grid .capacity-row strong{color:#173942}.dashboard-grid .bar{background:#eaf0ee;box-shadow:inset 0 1px 2px rgba(7,48,56,.055)}.dashboard-grid .bar i{box-shadow:0 2px 7px rgba(85,137,16,.15)}

@media(max-width:1380px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.stats-grid{grid-template-columns:1fr}.stats-grid .stat-card{min-height:118px}.stats-grid .stat-card strong.value{font-size:27px}.dashboard-grid .schedule-row:hover,.dashboard-grid .action-item:hover{transform:none}}

/* V4.0 — celovit delovni profil kandidata. */
.candidate-profile-shell{display:grid;gap:16px}
.profile-back{justify-self:start;border:0;background:transparent;color:#60777d;font-size:11px;font-weight:750;padding:4px 0;transition:color .16s,transform .16s}.profile-back:hover{color:var(--orange);transform:translateX(-2px)}
.candidate-profile-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:142px;padding:24px 27px;border:1px solid #dce8e5;border-radius:22px;background:linear-gradient(120deg,#fff 0%,#f7fbf9 62%,#eef7f3 100%);box-shadow:0 12px 34px rgba(8,49,57,.055)}
.candidate-profile-hero::after{content:"";position:absolute;right:-45px;bottom:-86px;width:210px;height:210px;border-radius:50%;border:22px solid rgba(159,214,0,.07);box-shadow:0 0 0 25px rgba(7,81,92,.025)}
.candidate-profile-identity{position:relative;z-index:1;display:flex;align-items:center;gap:18px;min-width:0}.candidate-avatar-xl{flex:none;width:72px;height:72px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(145deg,#0b5962,#063b45);color:#fff;font-size:21px;font-weight:900;box-shadow:0 12px 24px rgba(7,66,76,.18),inset 0 0 0 1px rgba(255,255,255,.14)}
.candidate-profile-identity h1{margin:5px 0 5px;font-size:31px;line-height:1;letter-spacing:-.045em}.candidate-profile-identity p{margin:0;color:#6e8389;font-size:11px}.candidate-hero-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}.candidate-profile-actions{position:relative;z-index:1;display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.candidate-stage-panel{padding:20px 22px;border:1px solid #e0e9e7;border-radius:18px;background:#fff;box-shadow:0 9px 28px rgba(8,49,57,.045)}.candidate-stage-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.candidate-stage-head h2{font-size:19px;margin:4px 0 3px;letter-spacing:-.035em}.candidate-stage-head p{margin:0;color:var(--muted);font-size:10px}
.candidate-stage-track{display:grid;grid-template-columns:repeat(8,minmax(74px,1fr));gap:0;margin-top:19px;overflow:auto;padding-bottom:3px}.candidate-stage{position:relative;min-width:74px;display:grid;justify-items:center;gap:7px;color:#9aabad;text-align:center}.candidate-stage::before{content:"";position:absolute;z-index:0;left:0;right:0;top:14px;height:2px;background:#e8eeed}.candidate-stage:first-child::before{left:50%}.candidate-stage:last-child::before{right:50%}.candidate-stage span{position:relative;z-index:1;width:29px;height:29px;border-radius:50%;display:grid;place-items:center;border:2px solid #dce5e4;background:#fff;color:#8fa0a4;font-size:9px;font-weight:900}.candidate-stage strong{font-size:9px;white-space:nowrap}.candidate-stage.is-complete::before,.candidate-stage.is-current::before{background:#a5d62b}.candidate-stage.is-complete span{border-color:#9fd600;background:#9fd600;color:#173d43}.candidate-stage.is-complete strong{color:#587500}.candidate-stage.is-current span{border-color:var(--orange);background:#fff4ed;color:var(--orange);box-shadow:0 0 0 5px rgba(255,107,32,.08)}.candidate-stage.is-current strong{color:#c9571d}
.candidate-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.candidate-kpi{position:relative;overflow:hidden;min-height:98px;padding:16px 17px;border:1px solid #e1e9e8;border-radius:15px;background:#fff;box-shadow:0 7px 22px rgba(8,49,57,.04)}.candidate-kpi::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#0b5962}.candidate-kpi.orange::before{background:var(--orange)}.candidate-kpi.lime::before{background:var(--lime)}.candidate-kpi.blue::before{background:#28a4bc}.candidate-kpi>span{display:block;color:#75898e;font-size:9px;font-weight:750}.candidate-kpi>strong{display:block;margin:7px 0 3px;font-size:19px;letter-spacing:-.035em;color:#0c2f38}.candidate-kpi>small{display:block;color:#91a0a4;font-size:9px}
.candidate-tabs{display:flex;gap:4px;padding:5px;border:1px solid #e0e9e7;border-radius:13px;background:#fff;box-shadow:0 6px 20px rgba(8,49,57,.035);overflow:auto}.candidate-tabs button{position:relative;min-height:38px;padding:8px 15px;border:0;border-radius:9px;background:transparent;color:#708388;font-size:10px;font-weight:800;white-space:nowrap}.candidate-tabs button:hover{background:#f4f8f6;color:#173f48}.candidate-tabs button.is-active{background:#073f49;color:#fff;box-shadow:0 5px 13px rgba(7,63,73,.16)}.candidate-tabs button i{position:absolute;right:4px;top:3px;min-width:15px;height:15px;padding:0 4px;border-radius:9px;display:grid;place-items:center;background:var(--orange);color:#fff;font-size:7px;font-style:normal}
.candidate-tab-content{min-width:0}.candidate-content-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);gap:16px}.candidate-content-grid .panel{box-shadow:0 9px 28px rgba(8,49,57,.045)}.candidate-activity-panel{grid-row:span 1}.candidate-info-list{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:7px 20px 18px}.candidate-info-list>div{padding:12px 6px;border-bottom:1px solid #edf2f1}.candidate-info-list span{display:block;color:#8b999d;font-size:8px;text-transform:uppercase;letter-spacing:.08em}.candidate-info-list strong{display:block;margin-top:5px;font-size:11px;color:#173941}.candidate-task-list{display:grid;gap:8px;padding:12px 15px 16px}.candidate-task{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px;border:1px solid #e5eceb;border-radius:11px;background:#fff;text-align:left;transition:.16s}.candidate-task:hover{transform:translateX(2px);border-color:#cadbd8;background:#fbfdfc}.candidate-task strong{display:block;font-size:11px}.candidate-task small{display:block;margin-top:3px;color:var(--muted);font-size:9px}.candidate-task>i{font-style:normal;color:#7d9094}.candidate-timeline{margin:0;padding:4px 20px 17px}.candidate-timeline .timeline-row:last-child{border:0}
.candidate-table-wrap{overflow:auto}.candidate-table-wrap .data-table{min-width:720px}.candidate-empty{display:grid;justify-items:center;padding:46px 20px;text-align:center}.candidate-empty>span{font-size:29px;color:#7a969b}.candidate-empty h3{margin:9px 0 4px;font-size:15px}.candidate-empty p{margin:0 0 15px;color:var(--muted);font-size:10px}
.candidate-progress-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px}.candidate-progress-summary{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px;text-align:center}.candidate-progress-ring{--progress:0deg;width:142px;height:142px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--lime) 0 var(--progress),#edf2f0 var(--progress) 360deg);position:relative}.candidate-progress-ring::before{content:"";position:absolute;inset:12px;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 1px #edf1ef}.candidate-progress-ring span{position:relative}.candidate-progress-ring strong{display:block;font-size:29px}.candidate-progress-ring small{display:block;color:var(--muted);font-size:8px}.candidate-progress-summary h2{margin:18px 0 6px;font-size:17px}.candidate-progress-summary p{margin:0 0 18px;color:var(--muted);font-size:10px;line-height:1.55}.candidate-skill-list{display:grid;gap:18px;padding:20px 22px 24px}.candidate-skill>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.candidate-skill strong,.candidate-skill span{font-size:11px}.candidate-skill span{color:#647c82;font-weight:800}.candidate-skill .bar{height:9px}.candidate-skill .bar i{background:linear-gradient(90deg,#78aa08,#a7d92b)}
.candidate-finance-grid{display:grid;gap:16px}.candidate-finance-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.candidate-notes-grid{display:grid;grid-template-columns:minmax(290px,.7fr) minmax(0,1.3fr);gap:16px;align-items:start}.candidate-note-form{display:grid;gap:12px;padding:16px}.candidate-note-form textarea{min-height:150px;border:1px solid #dce5e3;border-radius:11px;padding:13px;resize:vertical;font:inherit;font-size:11px;line-height:1.55;outline:0}.candidate-note-form textarea:focus{border-color:#9ac6c1;box-shadow:0 0 0 3px rgba(12,98,109,.07)}.candidate-note-form .btn{justify-self:end}.candidate-note-list{display:grid;padding:5px 18px 18px}.candidate-note-list article{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:14px 2px;border-bottom:1px solid #edf1f1}.candidate-note-list article:last-child{border:0}.candidate-note-list article>div>div{display:flex;justify-content:space-between;gap:12px}.candidate-note-list strong{font-size:11px}.candidate-note-list time{font-size:8px;color:#91a0a3}.candidate-note-list p{margin:5px 0 0;color:#536b70;font-size:10px;line-height:1.55}
.progress-form{display:grid;gap:15px}.progress-form>label{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:12px}.progress-form>label>span:first-child{font-size:10px;font-weight:750;color:#405a60}.progress-form>label>span:last-child{display:grid;grid-template-columns:minmax(0,1fr) 38px;align-items:center;gap:10px}.progress-form input[type="range"]{width:100%;accent-color:var(--lime)}.progress-form strong{font-size:10px;text-align:right}
@media(max-width:1100px){.candidate-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.candidate-content-grid,.candidate-notes-grid{grid-template-columns:1fr}.candidate-progress-grid{grid-template-columns:260px minmax(0,1fr)}}
@media(max-width:760px){.candidate-profile-hero{align-items:flex-start;flex-direction:column}.candidate-profile-actions{width:100%;justify-content:flex-start}.candidate-stage-head{align-items:flex-start;flex-direction:column}.candidate-stage-track{grid-template-columns:repeat(8,100px)}.candidate-progress-grid{grid-template-columns:1fr}.candidate-info-list{grid-template-columns:1fr}.candidate-finance-kpis{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.candidate-profile-hero{padding:20px}.candidate-profile-identity{align-items:flex-start}.candidate-avatar-xl{width:56px;height:56px;border-radius:17px;font-size:17px}.candidate-profile-identity h1{font-size:25px}.candidate-kpis,.candidate-finance-kpis{grid-template-columns:1fr}.candidate-tabs button{padding:8px 12px}.progress-form>label{grid-template-columns:1fr}}

/* V5.0 — delovni tokovi, nastavitve in upravljanje platforme. */
.calendar-event.navy{border-color:#0a5963;background:#e9f5f4}.calendar-event.is-cancelled{opacity:.52;text-decoration:line-through;filter:grayscale(.6)}
.calendar-day-view{padding:18px}.calendar-day-title{display:flex;align-items:baseline;gap:12px;padding:4px 4px 17px}.calendar-day-title span,.calendar-list-date span{font-size:8px;font-weight:900;letter-spacing:.13em;color:#ef641f}.calendar-day-title strong{font-size:18px}
.calendar-list-view{padding:8px 18px 20px}.calendar-list-view>section{display:grid;grid-template-columns:72px minmax(0,1fr);border-bottom:1px solid #edf1f1;padding:12px 0}.calendar-list-view>section:last-child{border:0}.calendar-list-date{display:flex;flex-direction:column;gap:3px;padding:8px}.calendar-list-date strong{font-size:19px}.calendar-list-view .schedule-row{border-bottom:1px solid #edf1f1!important}.calendar-list-view .schedule-row:last-child{border:0!important}.form-note.is-error{background:#fff1ec;color:#a53b15;border:1px solid #ffd1bf}
.offline-ready{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;padding:10px 14px;border:1px solid rgba(107,172,23,.25);border-radius:12px;background:#f5faeb;color:#48631b}.offline-ready span{font-weight:850;font-size:10px}.offline-ready span i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;background:#8ccf06;box-shadow:0 0 0 4px rgba(140,207,6,.15)}.offline-ready small{font-size:8px;color:#6c7c61}
.student-finance-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.student-finance-note{display:flex;align-items:center;gap:12px;margin-top:16px;padding:15px 17px;border:1px solid #dce8e6;border-radius:14px;background:linear-gradient(135deg,#f7fbfa,#fff)}.student-finance-note>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e6f3f2;color:#07515c;font-weight:900}.student-finance-note p{flex:1;margin:0;font-size:9px;line-height:1.55;color:#5c7075}.student-finance-note p strong{color:#17363d;font-size:10px}
.settings-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,.75fr);gap:16px;margin-bottom:16px}.settings-side{display:grid;gap:16px}.settings-badge{display:inline-flex;align-items:center;min-height:25px;padding:0 10px;border-radius:999px;background:#edf8d6;color:#5c8500;font-size:8px;font-weight:900}.settings-form{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:18px 20px 22px}.settings-form label{display:grid;gap:6px}.settings-form label.full{grid-column:1/-1}.settings-form label span{font-size:9px;font-weight:850;color:#526a70}.settings-form input,.settings-form select{height:39px;border:1px solid #dce5e3;border-radius:10px;padding:0 12px;background:#fff;color:#12343b;font:inherit;font-size:10px;outline:0}.settings-form input:focus,.settings-form select:focus{border-color:#84bdb6;box-shadow:0 0 0 3px rgba(12,98,109,.07)}.settings-compact .panel-head{padding-bottom:10px}.chip-cloud{display:flex;flex-wrap:wrap;gap:7px;padding:0 16px 16px}.chip-cloud>span{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border-radius:9px;background:#eef5f4;color:#244d55;font-size:9px;font-weight:800}.chip-cloud>span button{border:0;background:transparent;color:#799095;cursor:pointer}.chip-cloud.category>span{background:#f1f9df;color:#668e08}.settings-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:16px}.settings-users{padding:2px 16px 14px}.settings-users article{display:grid;grid-template-columns:auto minmax(0,1fr) 140px 80px 30px;align-items:center;gap:10px;padding:10px 2px;border-bottom:1px solid #edf1f1}.settings-users article:last-child{border:0}.settings-users strong,.settings-users small{display:block}.settings-users strong{font-size:10px}.settings-users small{font-size:8px;color:var(--muted);margin-top:2px}.user-role{font-size:9px;color:#526a70}.settings-toggles{display:grid;padding:4px 18px 16px}.settings-toggles label{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #edf1f1;cursor:pointer;position:relative}.settings-toggles label:last-child{border:0}.settings-toggles strong,.settings-toggles small{display:block}.settings-toggles strong{font-size:9px}.settings-toggles small{font-size:8px;color:var(--muted);margin-top:3px}.settings-toggles input{position:absolute;opacity:0}.settings-toggles i{width:35px;height:20px;border-radius:999px;background:#ced9d7;position:relative;transition:.2s}.settings-toggles i::after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:.2s}.settings-toggles input:checked+i{background:#88c900}.settings-toggles input:checked+i::after{transform:translateX(15px)}
.platform-shell{max-width:1450px;margin:0 auto}.platform-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.platform-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.65fr);gap:16px}.platform-table{overflow-x:auto}.platform-table-head,.platform-school-row{min-width:690px;display:grid;grid-template-columns:minmax(240px,1.8fr) 110px 85px 85px 110px 25px;align-items:center;gap:10px}.platform-table-head{padding:10px 17px;background:#f7faf9;border-bottom:1px solid #e4ebea;color:#8a9b9f;font-size:7px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.platform-school-row{width:100%;border:0;border-bottom:1px solid #edf1f1;padding:12px 17px;background:#fff;text-align:left;color:#17343b;font:inherit;cursor:pointer;transition:.18s}.platform-school-row:hover{background:#f7fbfa}.platform-school-row:last-child{border:0}.platform-school-row>span{font-size:9px}.platform-school-row>span:first-child{display:flex;align-items:center;gap:10px}.platform-school-row>span:first-child>i{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#092f37,#0b6973);color:#fff;font-style:normal;font-weight:900}.platform-school-row strong,.platform-school-row small{display:block}.platform-school-row strong{font-size:10px}.platform-school-row small{margin-top:2px;color:var(--muted);font-size:7px}.platform-activity .panel-head{border-bottom:1px solid #edf1f1}.activity-feed{padding:3px 17px 12px}.activity-feed article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid #edf1f1}.activity-feed article:last-child{border:0}.activity-feed i{width:8px;height:8px;border-radius:50%;background:#78a5aa;box-shadow:0 0 0 5px #eef5f4}.activity-feed i.green{background:#8ccf06;box-shadow:0 0 0 5px #f0f8e0}.activity-feed i.orange{background:#ff6a22;box-shadow:0 0 0 5px #fff0e9}.activity-feed strong,.activity-feed small{display:block}.activity-feed strong{font-size:9px}.activity-feed small,.activity-feed time{color:var(--muted);font-size:7px}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}.plan-card{position:relative;display:flex;flex-direction:column;padding:26px;border:1px solid #dfe8e6;border-radius:19px;background:#fff;box-shadow:0 15px 32px rgba(15,51,58,.06)}.plan-card.featured{border:2px solid #8acb05;transform:translateY(-5px);box-shadow:0 20px 42px rgba(83,125,0,.13)}.plan-popular{position:absolute;top:-12px;left:50%;transform:translateX(-50%);padding:6px 11px;border-radius:999px;background:#8acb05;color:#fff;font-size:7px;font-weight:950;letter-spacing:.08em;white-space:nowrap}.plan-card h2{margin:8px 0 17px;font-size:17px}.plan-price{display:flex;align-items:baseline;gap:5px}.plan-price strong{font-size:25px}.plan-price span,.plan-card>p{color:var(--muted);font-size:9px}.plan-card ul{display:grid;gap:10px;padding:18px 0;margin:16px 0;border-top:1px solid #edf1f1;list-style:none;flex:1}.plan-card li{display:flex;gap:8px;font-size:9px}.plan-card li i{color:#78ad00;font-style:normal;font-weight:900}.system-health{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.system-health article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:16px;border:1px solid #dfe8e6;border-radius:15px;background:#fff}.health-dot{width:10px;height:10px;border-radius:50%}.health-dot.ok{background:#87cb05;box-shadow:0 0 0 5px #eef8dc}.health-dot.warn{background:#ff8a23;box-shadow:0 0 0 5px #fff2e7}.system-health strong,.system-health small{display:block}.system-health strong{font-size:10px}.system-health small{font-size:7px;color:var(--muted);margin-top:2px}.system-health b{font-size:8px;color:#628d05}.system-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.system-checks,.audit-list{padding:3px 18px 16px}.system-checks>div,.audit-list article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #edf1f1}.system-checks>div:last-child,.audit-list article:last-child{border:0}.system-checks strong,.system-checks small,.audit-list strong,.audit-list small{display:block}.system-checks strong,.audit-list strong{font-size:9px}.system-checks small,.audit-list small,.audit-list time{font-size:7px;color:var(--muted)}.audit-list code{padding:5px 7px;border-radius:6px;background:#eef4f3;color:#406067;font-size:7px}.school-modal-hero{display:flex;align-items:center;gap:12px;margin-bottom:16px}.school-modal-hero>span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:linear-gradient(135deg,#082f37,#0a6973);color:#fff;font-weight:950;font-size:16px}.school-modal-hero p{margin:0 0 6px;color:var(--muted)}.btn.danger{color:#b64319;border-color:#f1c7b7}.btn.danger:hover{background:#fff0ea}
@media(max-width:1150px){.student-finance-summary,.platform-stats,.system-health{grid-template-columns:repeat(2,minmax(0,1fr))}.platform-grid,.settings-grid{grid-template-columns:1fr}.settings-users article{grid-template-columns:auto minmax(0,1fr) 120px 75px 30px}}
@media(max-width:850px){.settings-layout,.system-grid,.plan-grid{grid-template-columns:1fr}.plan-card.featured{transform:none}.calendar-list-view>section{grid-template-columns:55px minmax(0,1fr)}.platform-grid{grid-template-columns:1fr}}
@media(max-width:620px){.student-finance-summary,.platform-stats,.system-health{grid-template-columns:1fr}.settings-form{grid-template-columns:1fr}.settings-form label.full{grid-column:auto}.settings-users article{grid-template-columns:auto minmax(0,1fr) auto}.settings-users .user-role,.settings-users .tag{display:none}.offline-ready{align-items:flex-start;flex-direction:column}.calendar-day-view{padding:10px}.calendar-list-view{padding:5px 10px 15px}}

.sync-state.is-saving i{background:#ff9d28}.sync-state.is-error i{background:#ef5c39}.role-switch.is-locked{display:none}.user-chip .avatar{flex:0 0 auto}

.top-user-avatar{border:0;cursor:pointer;transition:transform .16s,box-shadow .16s}.top-user-avatar:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(15,63,68,.14)}.top-user-avatar:focus-visible{outline:3px solid rgba(137,207,0,.34);outline-offset:2px}.account-modal{width:min(780px,100%)}.account-summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;border:1px solid #dfe8e6;border-radius:13px;background:linear-gradient(135deg,#f5faf8,#fff);margin-bottom:16px}.account-summary .person-avatar{width:43px;height:43px;border-radius:13px;background:#0b5964;color:#fff}.account-summary strong,.account-summary small{display:block}.account-summary strong{font-size:12px}.account-summary small{margin-top:3px;color:var(--muted);font-size:8px}.account-session{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;background:#edf8d9;color:#628c04;font-size:8px;font-weight:850}.account-session i{width:6px;height:6px;border-radius:50%;background:#8bcf05}.account-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.account-settings-grid>section{padding:16px;border:1px solid #e0e8e7;border-radius:14px;background:#fff}.account-section-head{display:flex;gap:10px;align-items:flex-start;margin-bottom:14px}.account-section-head>span{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#eaf4f3;color:#0b5c66;font-size:8px;font-weight:900}.account-section-head h3{margin:0;font-size:12px}.account-section-head p{margin:3px 0 0;color:var(--muted);font-size:8px;line-height:1.4}.account-form{display:grid;gap:10px}.account-form label{display:grid;gap:5px}.account-form label>span{font-size:8px;font-weight:800;color:#52686d}.account-form input,.account-form select{height:38px;border:1px solid #dbe5e3;border-radius:9px;background:#fff;padding:0 10px;color:var(--ink);font:inherit;font-size:9px;outline:0}.account-form input:focus,.account-form select:focus{border-color:#82bbb5;box-shadow:0 0 0 3px rgba(10,96,105,.07)}.account-form input:disabled{background:#f3f6f5;color:#89999c}.account-form .btn{justify-content:center;margin-top:3px}.password-rules{display:flex;align-items:center;gap:7px;padding:8px;border-radius:8px;background:#f3f7f6;color:#61767a;font-size:7px}.password-rules i{font-style:normal;color:#78a900;font-weight:900}.account-form-error{padding:8px 9px;border:1px solid #ffc8b4;border-radius:8px;background:#fff1eb;color:#a6421d;font-size:8px}
@media(max-width:700px){.account-settings-grid{grid-template-columns:1fr}.account-summary{grid-template-columns:auto minmax(0,1fr)}.account-session{grid-column:1/-1;justify-self:start}}

/* V1.5 — varnostna in uporabniška dejanja. */
.account-extra-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px;padding-top:14px;border-top:1px solid #e7eeec}.account-extra-actions .btn{flex:1;justify-content:center;min-width:190px}
@media(max-width:520px){.account-extra-actions{display:grid}.account-extra-actions .btn{min-width:0}}

/* Functional operations and internal messaging */
.message-toolbar{display:flex;gap:8px;align-items:center;margin:0 0 14px}.message-panel{overflow:hidden}.message-list{display:grid}.message-row{width:100%;border:0;border-bottom:1px solid var(--line);background:#fff;display:grid;grid-template-columns:44px minmax(0,1fr) 24px;gap:14px;align-items:center;text-align:left;padding:16px 18px;color:var(--ink);cursor:pointer;transition:.18s ease}.message-row:last-child{border-bottom:0}.message-row:hover{background:#f6fbfa;transform:translateX(2px)}.message-row.is-unread{background:linear-gradient(90deg,rgba(145,218,0,.1),#fff 24%)}.message-row.is-unread strong:after{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--lime);margin-left:8px}.message-row span:nth-child(2){min-width:0}.message-row strong,.message-row small,.message-row p{display:block}.message-row small{color:var(--muted);font-size:11px;margin-top:3px}.message-row p{color:#47636b;font-size:12px;margin:6px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message-row>i{font-style:normal;font-size:24px;color:#87a0a6}.message-avatar{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#e9f4f2;color:#075261;font-weight:900;font-size:12px}.message-detail-meta{display:flex;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--line);color:#466169}.message-detail-meta span{font-size:12px}.message-detail-body{padding:22px 2px;line-height:1.7;color:#183943;white-space:normal}.operations-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.operation-card{border:1px solid var(--line);border-radius:16px;padding:16px;background:#fff}.operation-card h3{margin:0 0 5px}.operation-card p{color:var(--muted);font-size:12px;margin:0 0 14px}.operation-actions{display:flex;gap:8px;flex-wrap:wrap}.report-result{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.report-result div{border:1px solid var(--line);border-radius:14px;padding:12px;background:#f8fbfa}.report-result strong,.report-result span{display:block}.report-result strong{font-size:20px}.report-result span{font-size:11px;color:var(--muted)}
.message-read-state{display:inline-flex!important;align-items:center;gap:5px;width:max-content;margin-top:7px;padding:4px 8px;border-radius:999px;font-size:10px!important;font-weight:800;line-height:1;color:#647b80;background:#f0f4f3}.message-read-state i{font-style:normal;letter-spacing:-4px;margin-right:3px}.message-read-state.read{color:#297341;background:#eaf7ee}.message-read-state.partial{color:#08728a;background:#e8f6f8}.message-read-state.pending{color:#6d7c80;background:#f0f3f3}.message-receipt-card{display:flex;align-items:center;gap:12px;margin-top:16px;padding:13px 15px;border:1px solid #d9e5e2;border-radius:14px;background:#f6faf9;color:#526b71}.message-receipt-card.read{border-color:#cce7d2;background:#eff9f1;color:#297341}.message-receipt-card.partial{border-color:#cce8ed;background:#eff9fb;color:#08728a}.message-receipt-card .message-receipt-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:rgba(255,255,255,.8);font-weight:900;letter-spacing:-4px;padding-right:4px}.message-receipt-card strong,.message-receipt-card small{display:block}.message-receipt-card strong{font-size:13px}.message-receipt-card small{margin-top:3px;font-size:11px;color:#657b80}
@media(max-width:760px){.operations-grid,.report-result{grid-template-columns:1fr}.message-row{grid-template-columns:38px minmax(0,1fr);padding:14px}.message-row>i{display:none}.message-detail-meta{display:grid}}

/* Blagajna — hiter POS za storitve avtošole */
.pos-shell{max-width:1560px;margin:0 auto}.pos-status-strip{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:-2px 0 14px;padding:11px 15px;border:1px solid #dbe8e5;border-radius:14px;background:rgba(255,255,255,.82);color:#587277;font-size:12px;box-shadow:0 8px 24px rgba(18,72,75,.04)}.pos-status-strip span{display:flex;align-items:center;gap:8px}.pos-status-strip i{width:9px;height:9px;border-radius:50%;background:#a0d91d;box-shadow:0 0 0 5px rgba(160,217,29,.13)}.pos-status-strip .is-closed i{background:#ff7a37;box-shadow:0 0 0 5px rgba(255,122,55,.12)}.pos-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(355px,.72fr);gap:16px;align-items:start}.pos-catalog,.pos-cart{border-radius:22px;box-shadow:0 18px 50px rgba(15,64,67,.08)}.pos-catalog{padding:18px;min-height:600px}.pos-catalog-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px}.pos-catalog-head h2,.pos-cart-head h2{margin:0;font-size:20px}.pos-catalog-head p{margin:4px 0 0;color:var(--muted);font-size:11px}.pos-search{width:min(330px,42%)}.pos-categories{display:flex;gap:7px;overflow:auto;padding:3px 0 15px;scrollbar-width:thin}.pos-category{white-space:nowrap;padding:9px 13px;border:1px solid #dce7e5;border-radius:999px;background:#f8fbfa;color:#557076;font:inherit;font-size:11px;font-weight:850;cursor:pointer}.pos-category:hover,.pos-category.is-active{border-color:#b3df56;background:#eef9dc;color:#4a7300}.pos-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.pos-product{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:11px;min-height:112px;padding:15px;border:1px solid #dce8e6;border-radius:17px;background:linear-gradient(145deg,#fff,#f7fbfa);text-align:left;color:var(--ink);cursor:pointer;overflow:hidden;transition:.18s ease}.pos-product::after{content:"";position:absolute;right:-28px;top:-34px;width:86px;height:86px;border-radius:50%;background:var(--pos-accent,#ddf0ee);opacity:.54}.pos-product:hover{transform:translateY(-3px);border-color:var(--pos-border,#a8cfca);box-shadow:0 12px 24px rgba(9,73,79,.1)}.pos-product.teal{--pos-accent:#c6ece8;--pos-border:#77c8c0}.pos-product.lime{--pos-accent:#e7f5bf;--pos-border:#add64f}.pos-product.orange{--pos-accent:#ffe0d0;--pos-border:#ffab7e}.pos-product.blue{--pos-accent:#d9e9fb;--pos-border:#91bcea}.pos-product.purple{--pos-accent:#e9e0f8;--pos-border:#b9a0df}.pos-product-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--pos-accent,#ddf0ee);color:#0a6870;font-size:15px;font-weight:950;z-index:1}.pos-product>span:nth-child(2){min-width:0;z-index:1}.pos-product strong,.pos-product small{display:block}.pos-product strong{font-size:13px;line-height:1.25}.pos-product small{margin-top:5px;color:#7b9195;font-size:9px}.pos-product>b{align-self:end;grid-column:2;font-size:15px;color:#0a4a53;z-index:1}.pos-cart{position:sticky;top:20px;padding:18px;min-height:600px;background:linear-gradient(165deg,#fff 0,#fbfdfc 72%,#f2f8f6 100%)}.pos-cart-head{display:flex;justify-content:space-between;align-items:start;padding-bottom:14px;border-bottom:1px solid #e4ecea}.pos-customer{display:grid;gap:7px;margin:14px 0}.pos-customer>span,.pos-discount label>span:first-child{color:#607a7f;font-size:10px;font-weight:850}.pos-customer select{width:100%;height:45px;border:1px solid #d6e3e1;border-radius:12px;background:#fff;padding:0 12px;color:var(--ink);font:inherit;font-size:12px}.pos-cart-items{display:grid;gap:8px;min-height:145px;max-height:300px;overflow:auto;padding:3px 2px 10px}.pos-cart-empty{display:grid;place-items:center;align-content:center;gap:6px;min-height:140px;border:1px dashed #d6e3e1;border-radius:14px;color:#8aa0a3}.pos-cart-empty strong{color:#617a7e;font-size:13px}.pos-cart-empty span{font-size:10px}.pos-cart-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto 22px;gap:9px;align-items:center;padding:10px;border:1px solid #e0e9e7;border-radius:13px;background:#fff}.pos-cart-row span:first-child strong,.pos-cart-row span:first-child small{display:block}.pos-cart-row span:first-child strong{font-size:11px}.pos-cart-row span:first-child small{margin-top:3px;color:#8a9da0;font-size:8px}.pos-cart-row>strong{font-size:11px;white-space:nowrap}.pos-quantity{display:flex;align-items:center;gap:6px}.pos-quantity button,.pos-remove{display:grid;place-items:center;width:23px;height:23px;border:1px solid #dce6e4;border-radius:7px;background:#f7faf9;color:#41636a;cursor:pointer}.pos-quantity b{min-width:16px;text-align:center;font-size:10px}.pos-remove{border:0;background:transparent;color:#e56a38;font-size:17px}.pos-discount{margin:4px 0 8px;padding:10px 0;border-top:1px solid #e5eceb;border-bottom:1px solid #e5eceb}.pos-discount label{display:flex;justify-content:space-between;align-items:center}.pos-discount label>span:last-child{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:850}.pos-discount input{width:62px;height:34px;border:1px solid #d7e2e0;border-radius:9px;text-align:right;padding:0 8px;font:inherit}.pos-totals{display:grid;gap:8px;padding:8px 2px 13px}.pos-totals>div{display:flex;justify-content:space-between;color:#647d81;font-size:11px}.pos-totals strong{color:#274a51}.pos-totals .pos-total{align-items:end;margin-top:4px;padding-top:11px;border-top:1px dashed #cfddda}.pos-totals .pos-total span{font-weight:900;color:#143c44}.pos-totals .pos-total strong{font-size:25px;color:#082f3a}.pos-checkout{width:100%;height:54px;justify-content:space-between;padding:0 18px;font-size:13px}.pos-checkout strong{font-size:15px}.pos-checkout:disabled{opacity:.45;box-shadow:none;cursor:not-allowed}.pos-furs-note{display:block;margin:10px 5px 0;color:#809397;font-size:8px;line-height:1.45;text-align:center}.pos-session-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.pos-session-summary div{padding:13px;border:1px solid #dfe9e7;border-radius:13px;background:#f7fbfa}.pos-session-summary span,.pos-session-summary strong{display:block}.pos-session-summary span{color:#789095;font-size:9px}.pos-session-summary strong{margin-top:5px;font-size:12px}.pos-payment-total{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;padding:17px;border-radius:16px;background:linear-gradient(135deg,#083f49,#075967);color:#fff}.pos-payment-total span{font-size:11px;font-weight:800}.pos-payment-total strong{font-size:28px}.pos-payment-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.pos-payment-methods label{cursor:pointer}.pos-payment-methods input{position:absolute;opacity:0}.pos-payment-methods span{display:grid;place-items:center;gap:5px;height:74px;border:1px solid #dce7e5;border-radius:13px;background:#fff;color:#527076;font-size:18px;transition:.16s}.pos-payment-methods b{font-size:9px}.pos-payment-methods input:checked+span{border-color:#91ce19;background:#f2fadf;color:#4d7500;box-shadow:0 0 0 3px rgba(145,206,25,.11)}.pos-success{text-align:center;padding:12px 8px 20px}.pos-success>span{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 13px;border-radius:50%;background:#eef9d9;color:#72a600;font-size:28px}.pos-success h3{margin:0;font-size:17px}.pos-success>strong{display:block;margin:10px 0;font-size:32px}.pos-success p{color:#526f74}.pos-success small{display:block;max-width:380px;margin:12px auto 0;color:#829497;font-size:9px}.pos-new-product{margin-top:16px;padding-top:16px;border-top:1px solid #e1eae8}.pos-history-list{max-height:500px;overflow:auto}
@media(max-width:1180px){.pos-layout{grid-template-columns:minmax(0,1fr) 360px}.pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:880px){.pos-layout{grid-template-columns:1fr}.pos-cart{position:static;min-height:0}.pos-catalog{min-height:0}.pos-status-strip{align-items:flex-start;flex-direction:column}.pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.pos-catalog-head{align-items:stretch;flex-direction:column}.pos-search{width:100%}.pos-product-grid{grid-template-columns:1fr}.pos-session-summary,.pos-payment-methods{grid-template-columns:1fr}.pos-cart-row{grid-template-columns:minmax(0,1fr) auto 22px}.pos-cart-row>strong{grid-column:1}.pos-layout{gap:11px}.pos-catalog,.pos-cart{padding:13px;border-radius:17px}}

/* Dnevni povzetek blagajne */
.pos-day-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:0 0 14px}
.pos-day-summary article{position:relative;min-width:0;padding:13px 15px;border:1px solid #dce8e5;border-radius:15px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(245,250,248,.92));box-shadow:0 8px 22px rgba(13,66,70,.045);overflow:hidden}
.pos-day-summary article::after{content:"";position:absolute;right:-18px;bottom:-24px;width:62px;height:62px;border-radius:50%;background:rgba(154,211,30,.09)}
.pos-day-summary article:nth-child(2)::after{background:rgba(255,106,32,.09)}
.pos-day-summary span,.pos-day-summary strong,.pos-day-summary small{position:relative;z-index:1;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pos-day-summary span{color:#71878b;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.045em}
.pos-day-summary strong{margin-top:5px;color:#0a3440;font-size:18px;line-height:1.1}
.pos-day-summary small{margin-top:4px;color:#91a1a4;font-size:8px}
@media(max-width:1050px){.pos-day-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.pos-day-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-day-summary article:nth-child(2){grid-column:span 1}}

/* Izvoz izdanih računov */
.invoice-export-period{display:flex;gap:10px;align-items:end;margin-bottom:10px}.invoice-export-period label{display:grid;gap:5px;min-width:155px;color:#60787d;font-size:9px;font-weight:850}.invoice-export-period input{height:39px;padding:0 10px;border:1px solid #d8e4e2;border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:11px}.invoice-export-toolbar{flex-wrap:wrap;margin-bottom:10px}.invoice-export-toolbar .btn{min-width:108px;justify-content:center}.invoice-export-note{margin:0 0 14px}.invoice-export-note strong{color:#31545b}.invoice-list{max-height:430px;overflow:auto;padding-right:3px}
@media(max-width:620px){.invoice-export-period{display:grid;grid-template-columns:1fr 1fr}.invoice-export-period label{min-width:0}.invoice-export-toolbar{display:grid;grid-template-columns:1fr 1fr}.invoice-export-toolbar .btn{min-width:0}}

.invoice-template-modal{width:min(1120px,96vw)}.invoice-template-modal .modal-body{padding:22px}.invoice-template-grid{display:grid;grid-template-columns:minmax(360px,.92fr) minmax(420px,1.08fr);gap:24px;align-items:start}.invoice-template-preview{position:sticky;top:0;border:1px solid #dce8e6;border-radius:18px;padding:18px;background:linear-gradient(145deg,#eef6f4,#f8fbfa)}.invoice-preview-paper{--invoice-accent:#07515b;position:relative;min-height:560px;padding:30px 28px 25px;overflow:hidden;border-radius:10px;background:#fff;box-shadow:0 16px 40px rgba(5,48,57,.13);color:#17353d}.invoice-preview-accent{position:absolute;inset:0 0 auto;height:8px;background:var(--invoice-accent)}.invoice-preview-paper header{display:flex;justify-content:space-between;align-items:flex-start;min-height:68px;padding-top:5px;border-bottom:1px solid #dce8e6}.invoice-preview-paper header>div:last-child{text-align:right}.invoice-preview-paper header b{display:block;font-size:21px;letter-spacing:.02em}.invoice-preview-paper header span{display:block;margin-top:5px;color:#71878b;font-size:9px}.invoice-preview-logo{display:flex;align-items:center;width:160px;height:52px;color:var(--invoice-accent);font-size:17px}.invoice-preview-logo img{display:block;max-width:100%;max-height:48px;object-fit:contain;object-position:left center}.invoice-preview-parties{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:25px}.invoice-preview-parties p{display:grid;gap:4px;margin:0;font-size:9px}.invoice-preview-parties small{color:var(--invoice-accent);font-size:7px;font-weight:900;letter-spacing:.08em}.invoice-preview-parties span{color:#6c8286}.invoice-preview-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:28px 0 20px;padding:13px 15px;border-radius:8px;background:#f2f7f6;color:#6c8286;font-size:8px}.invoice-preview-dates b{color:#17353d;font-size:9px}.invoice-preview-line{display:flex;justify-content:space-between;padding:14px 10px;border-top:24px solid var(--invoice-accent);border-bottom:1px solid #dce8e6;font-size:9px}.invoice-preview-total{display:flex;justify-content:space-between;align-items:center;width:190px;margin:25px 0 0 auto;padding:13px 14px;border-radius:7px;background:var(--invoice-accent);color:#fff;font-size:9px}.invoice-preview-total b{font-size:12px}.invoice-preview-paper footer{position:absolute;right:28px;bottom:24px;left:28px;padding-top:11px;border-top:1px solid #dce8e6;color:#71878b;text-align:center;font-size:8px}.invoice-preview-help{margin:12px 4px 0;color:#60787d;font-size:10px;line-height:1.5}.invoice-template-form{min-width:0}.invoice-logo-control{display:flex;gap:9px;align-items:center;margin-bottom:16px;padding:13px;border:1px solid #dce8e6;border-radius:13px;background:#f8fbfa}.invoice-logo-control>div{display:grid;gap:3px;margin-right:auto}.invoice-logo-control strong{font-size:11px}.invoice-logo-control small{max-width:260px;color:#71878b;font-size:8px;line-height:1.45}.invoice-template-form .form-group small{color:#789094;font-size:8px}.invoice-template-form textarea{resize:vertical}.invoice-color{height:43px!important;padding:4px!important;cursor:pointer}.invoice-template-options{display:flex;gap:24px;margin-top:15px;padding:12px 14px;border-radius:12px;background:#f2f7f6;color:#34545b;font-size:10px;font-weight:750}.invoice-template-options label{display:flex;gap:8px;align-items:center}.invoice-template-options input{accent-color:#82c900}.input-suffix{display:flex;align-items:center;overflow:hidden;border:1px solid #d8e4e2;border-radius:11px;background:#fff}.input-suffix input{border:0!important}.input-suffix span{padding-right:12px;color:#71878b;font-size:9px}
.invoice-preview-qr{display:flex;gap:10px;align-items:center;margin-top:18px;color:#46636a}.invoice-preview-qr[hidden]{display:none}.invoice-preview-qr>i{width:44px;height:44px;border:4px solid #fff;background:repeating-conic-gradient(#17353d 0 25%,#fff 0 50%) 0/10px 10px;box-shadow:0 0 0 1px #d3e0de}.invoice-preview-qr span{display:grid;gap:3px;font-size:8px}.invoice-preview-qr b{color:var(--invoice-accent);font-size:9px}.invoice-preview-qr small{color:#71878b}.invoice-template-options{flex-wrap:wrap}
@media(max-width:900px){.invoice-template-grid{grid-template-columns:1fr}.invoice-template-preview{position:static}.invoice-preview-paper{min-height:500px}.invoice-template-modal{width:min(720px,96vw)}}@media(max-width:560px){.invoice-template-modal .modal-body{padding:14px}.invoice-template-grid{display:block}.invoice-template-preview{margin-bottom:16px;padding:10px}.invoice-preview-paper{min-height:480px;padding:24px 18px}.invoice-preview-paper footer{right:18px;left:18px}.invoice-logo-control{align-items:flex-start;flex-wrap:wrap}.invoice-logo-control>div{flex-basis:100%}.invoice-template-options{align-items:flex-start;flex-direction:column;gap:10px}}
.invoice-legal-note{display:flex;gap:11px;align-items:flex-start;margin:0 0 16px;padding:13px 14px;border:1px solid #d8e9cf;border-radius:13px;background:linear-gradient(135deg,#f5faef,#edf7f5);color:#315a47}.invoice-legal-note>span{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:50%;background:#dff3ad;color:#527d00;font-weight:900}.invoice-legal-note div{display:grid;gap:3px}.invoice-legal-note strong{color:#17353d;font-size:11px}.invoice-legal-note small{color:#5f7772;font-size:8.5px;line-height:1.5}.invoice-palettes{display:flex;align-items:center;gap:9px;min-height:43px;padding:5px 7px;border:1px solid #d8e4e2;border-radius:11px;background:#fff}.invoice-palettes button{width:29px;height:29px;padding:0;border:3px solid #fff;border-radius:50%;background:var(--swatch);box-shadow:0 0 0 1px #cfddda;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}.invoice-palettes button:hover,.invoice-palettes button:focus-visible{transform:translateY(-2px) scale(1.08);box-shadow:0 4px 12px color-mix(in srgb,var(--swatch) 35%,transparent)}.invoice-palettes .invoice-color{width:45px!important;height:31px!important;margin-left:auto;border:0!important;border-radius:8px!important}.invoice-vat-mode{margin:0;padding:12px 14px;border:1px solid #dce8e6;border-radius:11px;background:#f8fbfa}.invoice-price-guide{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;margin-top:16px;padding:14px;border:1px solid #dce8e6;border-radius:13px;background:linear-gradient(135deg,#f8fbfa,#eef6f4)}.invoice-price-guide>div{display:grid;gap:3px}.invoice-price-guide strong{font-size:11px;color:#17353d}.invoice-price-guide small{color:#60787d;font-size:8.5px;line-height:1.45}.invoice-preview-dates{grid-template-columns:repeat(4,1fr);gap:7px}.invoice-preview-table{align-items:stretch;gap:8px;padding:0;border:0;border-bottom:1px solid #dce8e6}.invoice-preview-table>span{display:grid;gap:7px;padding:12px 9px}.invoice-preview-table>span:first-child{flex:1}.invoice-preview-table>span:not(:first-child){min-width:66px;text-align:right}.invoice-preview-table small{color:#71878b;font-size:6.5px;font-weight:900;letter-spacing:.08em}.invoice-preview-table.solid{border-top:22px solid var(--invoice-accent)}.invoice-preview-table.soft{margin-top:10px;border-radius:8px;background:color-mix(in srgb,var(--invoice-accent) 9%,#fff);box-shadow:inset 4px 0 var(--invoice-accent)}.invoice-preview-table.minimal{margin-top:10px;border-top:2px solid var(--invoice-accent)}.invoice-preview-table.solid small{color:var(--invoice-accent)}.invoice-preview-tax-note{margin-top:8px;padding:8px 10px;border-radius:7px;background:#f5f8f7;color:#667e82;font-size:7.5px}.invoice-preview-tax-note[hidden]{display:none}
@media(max-width:760px){.invoice-price-guide{grid-template-columns:1fr}.invoice-price-guide .btn{width:100%}.invoice-preview-dates{grid-template-columns:1fr 1fr}}

/* Celoten A4 predogled računa v urejevalniku */
.invoice-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 2px 12px;color:#31555d}.invoice-preview-toolbar span{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:900}.invoice-preview-toolbar span i{width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 5px rgba(145,218,0,.13)}.invoice-preview-toolbar small{color:#71878b;font-size:8px}.invoice-preview-paper{aspect-ratio:210/297;min-height:630px;padding:25px 23px 17px;display:flex;flex-direction:column;overflow:hidden}.invoice-live-head{display:flex!important;justify-content:space-between;align-items:flex-start;min-height:59px!important;padding-top:5px!important;border-bottom:1px solid #dce8e6!important}.invoice-live-title{text-align:right}.invoice-live-title small{display:block;margin-bottom:2px;color:var(--invoice-accent);font-size:6px;font-weight:900;letter-spacing:.13em}.invoice-live-title b{display:block;font-size:20px!important;letter-spacing:.035em}.invoice-live-title span{display:block;margin-top:4px;color:#71878b;font-size:8px}.invoice-preview-logo{width:164px;height:45px}.invoice-preview-logo strong{max-width:164px;color:var(--invoice-accent);font-size:15px;line-height:1.08}.invoice-preview-logo img{max-height:42px}.invoice-live-parties{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:16px}.invoice-live-parties article{display:flex;flex-direction:column;gap:2px;min-width:0;color:#61787d;font-size:7.2px;line-height:1.35}.invoice-live-parties article>small{margin-bottom:3px;color:var(--invoice-accent);font-size:6px;font-weight:900;letter-spacing:.12em}.invoice-live-parties article>strong{overflow:hidden;color:#17353d;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.invoice-live-parties article span b{color:#35535a;font-weight:800}.invoice-preview-dates{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:15px 0 12px;padding:9px 10px;border-radius:7px;background:#f2f7f6}.invoice-preview-dates>span{display:flex;flex-direction:column;color:#71878b;font-size:5.6px;font-weight:850;letter-spacing:.04em}.invoice-preview-dates b{margin-top:4px;color:#17353d;font-size:7px;letter-spacing:0}.invoice-preview-dates em{margin-top:2px;color:#829397;font-size:5.8px;font-style:normal;font-weight:500;letter-spacing:0}.invoice-preview-paper table.invoice-preview-table,.invoice-preview-paper table.invoice-preview-line.invoice-preview-table{display:table;width:100%;margin:0;border:0;border-collapse:separate;border-spacing:0;border-bottom:1px solid #dce8e6;font-size:6.6px}.invoice-preview-table th,.invoice-preview-table td{padding:7px 5px;text-align:right}.invoice-preview-table th:first-child,.invoice-preview-table td:first-child{width:43%;text-align:left}.invoice-preview-table th{color:#fff;background:var(--invoice-accent);font-size:5.5px;letter-spacing:.05em}.invoice-preview-table th:first-child{border-radius:5px 0 0 5px}.invoice-preview-table th:last-child{border-radius:0 5px 5px 0}.invoice-preview-table td{color:#35545b;border-bottom:1px solid #edf2f1}.invoice-preview-table tbody tr:last-child td{border-bottom:0}.invoice-preview-table.soft thead th{color:var(--invoice-accent);background:color-mix(in srgb,var(--invoice-accent) 11%,#fff)}.invoice-preview-table.minimal thead th{color:var(--invoice-accent);background:#fff;border-bottom:2px solid var(--invoice-accent);border-radius:0}.invoice-preview-tax-note{margin-top:6px;padding:6px 8px;font-size:6.4px}.invoice-live-settlement{display:grid;grid-template-columns:minmax(0,1fr) 165px;gap:18px;align-items:start;margin-top:13px}.invoice-live-payment{display:flex;flex-direction:column;gap:3px;color:#60787d;font-size:6.5px}.invoice-live-payment>small{margin-bottom:3px;color:var(--invoice-accent);font-size:6px;font-weight:900;letter-spacing:.1em}.invoice-live-payment span{display:grid;grid-template-columns:53px minmax(0,1fr);gap:5px}.invoice-live-payment b{overflow:hidden;color:#28474e;text-overflow:ellipsis;white-space:nowrap}.invoice-live-totals{display:flex;flex-direction:column;gap:6px}.invoice-live-totals>span{display:flex;justify-content:space-between;color:#637a7f;font-size:7px}.invoice-live-totals span em{margin-left:auto;margin-right:8px;color:#819397;font-style:normal}.invoice-live-totals span b{color:#29464d}.invoice-live-totals>strong{display:flex;justify-content:space-between;align-items:center;margin-top:2px;padding:9px 10px;border-radius:6px;background:var(--invoice-accent);color:#fff}.invoice-live-totals strong em{font-size:7px;font-style:normal}.invoice-live-totals strong b{font-size:10px}.invoice-preview-qr{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;align-items:center;width:205px;margin-top:12px;padding:7px;border:1px solid #dbe7e5;border-radius:8px;background:#f8fbfa;color:#46636a}.invoice-preview-qr[hidden]{display:none}.invoice-preview-qr img{width:60px;height:60px;padding:2px;border:1px solid #d6e2e0;background:#fff;object-fit:contain}.invoice-preview-qr>span{display:grid;place-items:center;width:60px;height:60px;padding:5px;border:1px dashed #cbdad7;border-radius:5px;color:#809296;text-align:center;font-size:6px}.invoice-preview-qr>div{display:flex;flex-direction:column;gap:3px}.invoice-preview-qr>div b{color:var(--invoice-accent);font-size:7px}.invoice-preview-qr>div small{color:#71878b;font-size:6.4px}.invoice-preview-qr>div em{color:#29464d;font-size:6.3px;font-style:normal;font-weight:800}.invoice-preview-footer{position:static!important;right:auto!important;bottom:auto!important;left:auto!important;display:flex;justify-content:space-between;gap:12px;margin-top:auto;padding-top:9px!important;border-top:1px solid #dce8e6;color:#71878b;text-align:left!important;font-size:6.2px!important}.invoice-preview-footer span{max-width:58%;font-weight:700}.invoice-preview-footer small{font-size:5.8px;text-align:right}.invoice-preview-help{margin:11px 3px 0;font-size:8.5px}.invoice-preview-paper [hidden]{display:none!important}
@media(max-width:900px){.invoice-preview-paper{width:min(480px,100%);min-height:660px;margin:0 auto}}@media(max-width:560px){.invoice-preview-toolbar{align-items:flex-start;flex-direction:column}.invoice-preview-paper{min-height:570px;padding:22px 16px 14px}.invoice-live-parties{gap:12px}.invoice-live-settlement{grid-template-columns:minmax(0,1fr) 145px;gap:10px}.invoice-preview-qr{width:185px}}
.invoice-preview-qr img.is-demo{opacity:.38;filter:grayscale(1)}

/* FOORA_COMPLETENESS_STYLES_V1 */
.operations-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.operation-card{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) auto 18px;gap:12px;align-items:center;min-height:100px;padding:18px;border:1px solid #d9e7e4;border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(243,249,247,.94));color:var(--ink);text-align:left;box-shadow:0 12px 30px rgba(9,69,73,.055);cursor:pointer;overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.operation-card::after{content:"";position:absolute;right:-24px;bottom:-34px;width:88px;height:88px;border-radius:50%;background:rgba(145,218,0,.08)}.operation-card:hover,.operation-card:focus-visible{transform:translateY(-3px);border-color:#bcd8d2;box-shadow:0 17px 35px rgba(9,69,73,.11)}.operation-card>span{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#e8f4f1;color:#07515b;font-size:18px;font-weight:950}.operation-card:nth-child(2n)>span{background:#fff0e8;color:#f15b25}.operation-card:nth-child(3n)>span{background:#f0f8dc;color:#67a100}.operation-card>div{display:grid;gap:5px;min-width:0}.operation-card strong{font-size:12px}.operation-card small{color:#6f868a;font-size:8.5px;line-height:1.4}.operation-card b{position:relative;z-index:1;padding:5px 8px;border-radius:999px;background:#eff6f4;color:#31545b;font-size:9px;white-space:nowrap}.operation-card>i{position:relative;z-index:1;color:#ff6726;font-style:normal;font-weight:900}.operations-note{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 24px}.operations-note h2{margin:4px 0 5px;font-size:16px}.operations-note p{margin:0;color:#71878b;font-size:10px}.operation-list{max-height:330px;overflow:auto;margin-top:16px}.operation-compose{padding-bottom:16px;border-bottom:1px solid #e0eae8}.operation-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.operation-columns>section,.stats-detail>section{min-width:0;padding:16px;border:1px solid #deebe8;border-radius:16px;background:#f9fbfb}.operation-columns h3,.stats-detail h3{margin:0 0 12px;color:#143c44;font-size:13px}.compact-form{margin-bottom:13px;padding-bottom:13px;border-bottom:1px dashed #d5e2df}.stats-detail{display:grid;gap:16px}.table-scroll{overflow:auto}.candidate-registration-modal{width:min(900px,96vw)}.candidate-registration .form-section-title{grid-column:1/-1;margin:8px 0 0;padding:11px 0 7px;border-bottom:1px solid #dfe9e7;color:#0a4651;font-size:12px}.candidate-registration .form-section-title:first-child{margin-top:0}.checkbox-line{padding:10px 12px;border-radius:11px;background:#f2f8f6}.checkbox-line label{display:flex!important;align-items:center;gap:8px}.checkbox-line input{width:auto!important;height:auto!important;accent-color:#82c900}.accounting-readiness{padding:12px;border-radius:12px;background:#eef7f4}.invoice-export-toolbar{row-gap:8px}
@media(max-width:1180px){.operations-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.operations-grid,.operation-columns{grid-template-columns:1fr}.operations-note{align-items:flex-start;flex-direction:column}.operations-note .btn{width:100%}.operation-card{grid-template-columns:44px minmax(0,1fr) auto}.operation-card>span{width:44px;height:44px}.operation-card>i{display:none}}

/* STATISTICS_SUITE_V1 */
.statistics-page{display:grid;gap:18px}.statistics-filter-panel{position:sticky;top:42px;z-index:18;display:grid;grid-template-columns:auto repeat(4,minmax(130px,1fr)) 42px;gap:10px;align-items:end;padding:12px 14px;border:1px solid rgba(190,213,208,.9);border-radius:17px;background:rgba(255,255,255,.94);box-shadow:0 10px 30px rgba(8,62,70,.07);backdrop-filter:blur(14px)}.statistics-periods{display:flex;gap:3px;padding:4px;border-radius:12px;background:#eef5f3}.statistics-periods button{height:34px;padding:0 13px;border:0;border-radius:9px;background:transparent;color:#557178;font:inherit;font-size:9px;font-weight:900;cursor:pointer;transition:.16s ease}.statistics-periods button:hover{color:#073b46;background:rgba(255,255,255,.65)}.statistics-periods button.is-active{color:#fff;background:#07515b;box-shadow:0 5px 13px rgba(7,81,91,.21)}.statistics-filter-panel>label{display:grid;gap:5px;color:#647d82;font-size:8px;font-weight:900;letter-spacing:.03em;text-transform:uppercase}.statistics-filter-panel input,.statistics-filter-panel select{height:42px;min-width:0;padding:0 11px;border:1px solid #d6e4e1;border-radius:11px;background:#fff;color:#153b43;font:inherit;font-size:10px;outline:0}.statistics-filter-panel input:focus,.statistics-filter-panel select:focus{border-color:#80bfc3;box-shadow:0 0 0 3px rgba(32,166,179,.1)}.statistics-refresh{display:grid;place-items:center;width:42px;height:42px;border:1px solid #d6e4e1;border-radius:11px;background:#f8fbfa;color:#07515b;font-size:18px;cursor:pointer;transition:.16s ease}.statistics-refresh:hover{transform:rotate(20deg);border-color:#9fcfca;background:#eef8f6}.statistics-content{display:grid;gap:18px;min-height:420px}.statistics-meta{display:flex;align-items:center;justify-content:space-between;color:#698186;font-size:9px}.statistics-meta>span{display:flex;align-items:center;gap:8px;color:#345860;font-weight:850}.statistics-meta i{width:7px;height:7px;border-radius:50%;background:#92d400;box-shadow:0 0 0 5px rgba(146,212,0,.12)}.statistics-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.statistics-kpi{--stat-accent:#0b8190;position:relative;display:flex;flex-direction:column;min-width:0;min-height:154px;padding:16px;border:1px solid #dce8e6;border-radius:18px;background:linear-gradient(145deg,#fff,#f7fbfa);box-shadow:0 10px 26px rgba(8,61,69,.055);overflow:hidden}.statistics-kpi::after{content:"";position:absolute;right:-34px;bottom:-44px;width:104px;height:104px;border-radius:50%;background:color-mix(in srgb,var(--stat-accent) 8%,transparent)}.statistics-kpi.lime{--stat-accent:#77ac00}.statistics-kpi.blue{--stat-accent:#3778cb}.statistics-kpi.orange{--stat-accent:#ff6525}.statistics-kpi.violet{--stat-accent:#7750a8}.statistics-kpi.navy{--stat-accent:#234d57}.statistics-kpi-top{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:13px}.statistics-kpi-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:color-mix(in srgb,var(--stat-accent) 12%,#fff);color:var(--stat-accent);font-size:15px;font-weight:950}.statistics-kpi-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.statistics-kpi>span:not(.statistics-kpi-top){color:#5f797f;font-size:9px;font-weight:850}.statistics-kpi>strong{position:relative;z-index:1;margin:4px 0;color:#0c3440;font-size:21px;line-height:1.1;letter-spacing:-.035em}.statistics-kpi>small{position:relative;z-index:1;margin-top:auto;color:#789095;font-size:7.8px;line-height:1.35}.statistics-change{display:inline-flex;align-items:center;gap:3px;padding:4px 6px;border-radius:999px;font-size:7.5px;font-weight:950;white-space:nowrap}.statistics-change.is-positive{color:#4e8100;background:#eaf7cc}.statistics-change.is-negative{color:#d65326;background:#fff0e8}.statistics-change.is-neutral{color:#60777c;background:#edf3f2}.statistics-grid{display:grid;gap:18px}.statistics-grid-main{grid-template-columns:minmax(0,1.8fr) minmax(300px,.8fr)}.statistics-grid-halves{grid-template-columns:1fr 1fr}.statistics-grid-bottom{grid-template-columns:1.25fr .75fr}.statistics-panel{min-width:0;border:1px solid #dce8e6;border-radius:20px;background:rgba(255,255,255,.96);box-shadow:0 13px 34px rgba(9,62,69,.055);overflow:hidden}.statistics-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 13px;border-bottom:1px solid #e4eceb}.statistics-panel>header>div{min-width:0}.statistics-panel header .eyebrow{font-size:7.5px}.statistics-panel h2{margin:5px 0 3px;color:#0a3440;font-size:14px;letter-spacing:-.02em}.statistics-panel header p{margin:0;color:#768d91;font-size:8.5px;line-height:1.45}.statistics-panel>header>strong{align-self:center;color:#0b5964;font-size:17px;white-space:nowrap}.statistics-chart-wrap{padding:10px 14px 6px}.statistics-line-chart{display:block;width:100%;height:245px;overflow:visible}.statistics-grid-line{stroke:#e7efed;stroke-width:1}.statistics-line-path{fill:none;stroke:#0b8b98;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.statistics-point circle{fill:#fff;stroke:#0b8b98;stroke-width:3}.statistics-point text{fill:#789095;font-size:8px}.statistics-bars{display:flex;align-items:end;gap:4px;height:254px;padding:32px 18px 20px;overflow:hidden}.statistics-bar-column{position:relative;display:flex;flex:1;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;min-width:7px}.statistics-bar-column>i{display:block;width:min(20px,75%);min-height:0;border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,#9bd900,#5f9d00);box-shadow:0 5px 12px rgba(100,160,0,.14);transition:height .3s ease}.statistics-bar-column small{position:absolute;bottom:-16px;color:#7c9296;font-size:7px;white-space:nowrap}.statistics-bar-value{position:absolute;bottom:calc(var(--bar-height,0%) + 2px);display:none;color:#47656b;font-size:7px;white-space:nowrap}.statistics-bar-column:hover .statistics-bar-value{display:block}.statistics-donut-layout{display:grid;grid-template-columns:150px minmax(0,1fr);gap:21px;align-items:center;padding:24px 20px}.statistics-donut{display:grid;place-items:center;width:145px;height:145px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(8,57,65,.06)}.statistics-donut>span{display:grid;place-items:center;width:86px;height:86px;border-radius:50%;background:#fff;box-shadow:0 3px 15px rgba(10,65,72,.12)}.statistics-donut strong{color:#0b3f49;font-size:16px}.statistics-donut small{color:#7a9094;font-size:7px}.statistics-legend{display:grid;gap:9px;min-width:0}.statistics-legend>div{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:8px;align-items:center;color:#567278;font-size:8px}.statistics-legend i{width:8px;height:8px;border-radius:3px}.statistics-legend strong{color:#173f47;font-size:8px;white-space:nowrap}.statistics-funnel{display:grid;gap:12px;padding:22px 20px}.statistics-funnel>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;align-items:center}.statistics-funnel span{display:flex;align-items:center;gap:8px;color:#49686e;font-size:9px;font-weight:800}.statistics-funnel span b{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#e8f3f1;color:#0b7480;font-size:8px}.statistics-funnel>div>strong{color:#0b3b45;font-size:12px}.statistics-funnel>div>i{grid-column:1/-1;height:7px;border-radius:999px;background:#edf3f2;overflow:hidden}.statistics-funnel em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b7d88,#9bd700)}.statistics-category-list{display:grid;padding:5px 20px 17px}.statistics-category-list article{display:grid;grid-template-columns:31px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf2f1}.statistics-category-list article:last-child{border:0}.statistics-rank{color:#a1b1b4;font-size:8px;font-weight:900}.statistics-category-list article>div{display:grid;gap:4px}.statistics-category-list article strong{color:#173e47;font-size:10px}.statistics-category-list article small{color:#779095;font-size:7.5px}.statistics-category-list article>div>i{height:5px;border-radius:99px;background:#edf3f2;overflow:hidden}.statistics-category-list em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ff6b2b,#a0db00)}.statistics-category-list article>b{color:#0b5964;font-size:10px}.statistics-table-panel>header{padding-bottom:15px}.statistics-table{min-width:780px}.statistics-table th{font-size:7.2px}.statistics-table td{font-size:8.5px}.statistics-table td small{display:block;margin-top:3px;color:#83969a;font-size:7px}.statistics-table.compact{min-width:520px}.statistics-rate{display:grid;grid-template-columns:74px auto;gap:7px;align-items:center}.statistics-rate::before{content:"";grid-area:1/1;height:6px;border-radius:99px;background:#e8efed}.statistics-rate i{grid-area:1/1;display:block;height:6px;border-radius:99px;background:linear-gradient(90deg,#ff8b3c,#8ed100);z-index:1}.statistics-rate b{font-size:8px}.statistics-day-list{display:grid;gap:12px;padding:20px}.statistics-day-list>div{display:grid;grid-template-columns:72px minmax(0,1fr) 48px;gap:10px;align-items:center}.statistics-day-list span{color:#516f75;font-size:8.5px;font-weight:800}.statistics-day-list i{height:8px;border-radius:99px;background:#edf3f2;overflow:hidden}.statistics-day-list em{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#18a2b0,#78c800)}.statistics-day-list strong{color:#193f47;font-size:8.5px;text-align:right}.statistics-hour-tags{display:flex;flex-wrap:wrap;gap:7px;padding:0 20px 20px}.statistics-hour-tags span{display:flex;gap:7px;align-items:center;padding:7px 9px;border-radius:9px;background:#eff6f4;color:#567178;font-size:8px;font-weight:850}.statistics-hour-tags b{display:grid;place-items:center;min-width:18px;height:18px;border-radius:6px;background:#fff;color:#0b7783}.statistics-finance{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:20px}.statistics-finance article{display:grid;gap:5px;padding:14px;border-radius:14px;background:#f3f8f7}.statistics-finance span{color:#668087;font-size:8px;font-weight:850}.statistics-finance strong{color:#0d414b;font-size:13px}.statistics-finance small{color:#819498;font-size:7px}.statistics-finance article.is-alert{background:#fff2eb}.statistics-finance article.is-alert strong{color:#df5f2a}.statistics-attention{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:20px}.statistics-attention article{display:grid;grid-template-columns:42px 1fr;gap:8px;align-items:center;min-height:58px;padding:10px;border:1px solid #e2ecea;border-radius:13px;background:#fafcfc}.statistics-attention strong{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#fff0e7;color:#ef6025;font-size:14px}.statistics-attention span{color:#537077;font-size:8px;font-weight:800;line-height:1.35}.statistics-insights{border:1px solid #cfdfdc;border-radius:20px;background:linear-gradient(135deg,#073e48,#075761);box-shadow:0 16px 38px rgba(7,62,72,.14);overflow:hidden}.statistics-insights>header{padding:20px 22px 11px}.statistics-insights .eyebrow{color:#a7db00}.statistics-insights h2{margin:5px 0;color:#fff;font-size:15px}.statistics-insights>div{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:5px 20px 20px}.statistics-insights article{display:flex;gap:11px;min-width:0;padding:13px;border:1px solid rgba(255,255,255,.11);border-radius:14px;background:rgba(255,255,255,.07)}.statistics-insights article>i{display:grid;place-items:center;flex:0 0 27px;height:27px;border-radius:8px;background:rgba(150,215,0,.17);color:#b3e32c;font-style:normal;font-weight:950}.statistics-insights article.warn>i{background:rgba(255,112,45,.18);color:#ff9c68}.statistics-insights article>span{display:grid;gap:4px}.statistics-insights strong{color:#fff;font-size:9px;line-height:1.35}.statistics-insights small{color:#a9c4c7;font-size:7.5px;line-height:1.5}.statistics-empty{display:grid;place-items:center;min-height:120px;padding:20px;color:#789095;font-size:9px;text-align:center}.statistics-empty.compact{min-height:60px}.statistics-loading{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.statistics-loading i{display:block;height:150px;border-radius:18px;background:linear-gradient(90deg,#edf4f2 25%,#f8fbfa 50%,#edf4f2 75%);background-size:220% 100%;animation:statistics-shimmer 1.35s infinite}.statistics-loading p{grid-column:1/-1;margin:5px;color:#70878b;font-size:9px;text-align:center}.statistics-error{display:flex;flex-direction:column;align-items:center;gap:8px;padding:54px;border:1px solid #f1d7ca;border-radius:20px;background:#fff8f4;text-align:center}.statistics-error>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#ffebe1;color:#f0642a;font-size:18px;font-weight:950}.statistics-error strong{color:#183f47;font-size:13px}.statistics-error small{margin-bottom:6px;color:#748a8e;font-size:9px}@keyframes statistics-shimmer{to{background-position:-220% 0}}
@media(max-width:1320px){.statistics-kpi-grid{grid-template-columns:repeat(3,1fr)}.statistics-insights>div{grid-template-columns:1fr 1fr}.statistics-filter-panel{grid-template-columns:auto repeat(2,minmax(130px,1fr)) 42px}.statistics-filter-panel>label:nth-of-type(3),.statistics-filter-panel>label:nth-of-type(4){grid-row:2}.statistics-filter-panel>label:nth-of-type(3){grid-column:2}.statistics-filter-panel>label:nth-of-type(4){grid-column:3}.statistics-refresh{grid-column:4;grid-row:1/3;align-self:center}}
@media(max-width:980px){.statistics-filter-panel{position:static;grid-template-columns:1fr 1fr}.statistics-periods{grid-column:1/-1}.statistics-filter-panel>label:nth-of-type(n){grid-column:auto;grid-row:auto}.statistics-refresh{grid-column:auto;grid-row:auto;width:100%}.statistics-grid-main,.statistics-grid-halves,.statistics-grid-bottom{grid-template-columns:1fr}.statistics-donut-layout{grid-template-columns:160px 1fr}.statistics-finance{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.statistics-page{gap:13px}.statistics-page>.subpage-hero{align-items:flex-start;flex-wrap:wrap}.statistics-page>.subpage-hero>div:first-child{flex:1 1 100%}.statistics-page .page-actions{display:grid;grid-template-columns:1fr 1fr;flex:1 1 100%;width:100%}.statistics-page .page-actions .btn-quiet{display:flex}.statistics-page .page-actions .btn{width:100%;justify-content:center}.statistics-filter-panel{grid-template-columns:1fr 1fr;padding:10px}.statistics-periods{display:grid;grid-template-columns:1fr 1fr}.statistics-kpi-grid{grid-template-columns:1fr 1fr;gap:9px}.statistics-kpi{min-height:142px;padding:13px}.statistics-kpi>strong{font-size:18px}.statistics-panel>header{padding:15px}.statistics-chart-wrap{overflow-x:auto}.statistics-line-chart{width:660px}.statistics-bars{overflow-x:auto}.statistics-bar-column{min-width:18px}.statistics-donut-layout{grid-template-columns:1fr}.statistics-donut{margin:auto}.statistics-finance,.statistics-attention,.statistics-insights>div{grid-template-columns:1fr}.statistics-insights>div{padding:5px 14px 15px}.statistics-meta{align-items:flex-start;flex-direction:column;gap:5px}}


/* V7.2 — skrbniški meni kot mobilni predal tudi na širših telefonskih prikazih. */
.sidebar-close,.sidebar-scrim{display:none}
@media(max-width:1280px){
  body[data-app-role="superadmin"] .app{display:block}
  body[data-app-role="superadmin"] .sidebar{
    position:fixed;z-index:75;left:0;top:35px;bottom:0;
    width:min(320px,calc(100vw - 54px));height:auto;
    transform:translateX(-106%);transition:transform .24s ease;
    box-shadow:22px 0 55px rgba(2,31,38,.28)
  }
  body[data-app-role="superadmin"] .sidebar.is-open{transform:translateX(0)}
  body[data-app-role="superadmin"] .sidebar-close{
    position:absolute;z-index:5;right:10px;top:10px;display:grid;place-items:center;
    width:36px;height:36px;border:1px solid rgba(255,255,255,.24);border-radius:11px;
    background:rgba(3,42,50,.72);color:#fff;font:400 25px/1 Arial,sans-serif;cursor:pointer
  }
  body[data-app-role="superadmin"] .sidebar-close:focus-visible,
  body[data-app-role="superadmin"] .mobile-menu:focus-visible{outline:3px solid rgba(159,214,0,.48);outline-offset:2px}
  body[data-app-role="superadmin"] .sidebar-scrim{position:fixed;z-index:65;inset:35px 0 0;border:0;background:rgba(4,30,36,.36);backdrop-filter:blur(2px)}
  body[data-app-role="superadmin"] .sidebar.is-open + .sidebar-scrim{display:block}
  body[data-app-role="superadmin"] .topbar{grid-template-columns:auto minmax(0,1fr) auto}
  body[data-app-role="superadmin"] .mobile-menu{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:11px;background:#fff;color:#123b44;font-size:20px;cursor:pointer}
  body[data-app-role="superadmin"] .page-context{display:block}
  body[data-app-role="superadmin"] .global-search{display:none}
  body[data-app-role="superadmin"].sidebar-open{overflow:hidden}
}
@media(max-width:680px){
  body[data-app-role="superadmin"] .sidebar{top:35px;width:min(300px,calc(100vw - 44px))}
  body[data-app-role="superadmin"] .topbar{grid-template-columns:auto minmax(0,1fr) auto}
  body[data-app-role="superadmin"] .page-context strong{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}


/* V7.4 — skrbniško navigacijo je mogoče skriti pri vsaki širini, tudi v namiznem načinu telefona. */
body[data-app-role="superadmin"] .mobile-menu{
  display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);
  border-radius:11px;background:#fff;color:#123b44;font-size:20px;cursor:pointer
}
body[data-app-role="superadmin"] .sidebar-close{
  position:absolute;z-index:6;right:10px;top:10px;display:grid;place-items:center;
  width:36px;height:36px;border:1px solid rgba(255,255,255,.24);border-radius:11px;
  background:rgba(3,42,50,.78);color:#fff;font:400 25px/1 Arial,sans-serif;cursor:pointer
}
body[data-app-role="superadmin"].sidebar-collapsed .app{display:block}
body[data-app-role="superadmin"].sidebar-collapsed .sidebar{
  position:fixed;z-index:75;left:0;top:35px;bottom:0;
  width:min(320px,calc(100vw - 54px));height:auto;
  transform:translateX(-106%);transition:transform .24s ease;
  box-shadow:22px 0 55px rgba(2,31,38,.28)
}
body[data-app-role="superadmin"].sidebar-collapsed .sidebar.is-open{transform:translateX(0)}
body[data-app-role="superadmin"].sidebar-collapsed .topbar{grid-template-columns:auto minmax(0,1fr) auto}
body[data-app-role="superadmin"].sidebar-collapsed .page-context{display:block}
body[data-app-role="superadmin"].sidebar-collapsed .global-search{display:none}
body[data-app-role="superadmin"].sidebar-collapsed .sidebar.is-open + .sidebar-scrim{display:block;position:fixed;z-index:65;inset:35px 0 0;border:0;background:rgba(4,30,36,.36);backdrop-filter:blur(2px)}
@media(pointer:coarse){
  body[data-app-role="superadmin"] .app{display:block}
  body[data-app-role="superadmin"] .sidebar{
    position:fixed;z-index:75;left:0;top:35px;bottom:0;
    width:min(320px,calc(100vw - 54px));height:auto;
    transform:translateX(-106%);transition:transform .24s ease;
    box-shadow:22px 0 55px rgba(2,31,38,.28)
  }
  body[data-app-role="superadmin"] .sidebar.is-open{transform:translateX(0)}
  body[data-app-role="superadmin"] .sidebar.is-open + .sidebar-scrim{display:block;position:fixed;z-index:65;inset:35px 0 0;border:0;background:rgba(4,30,36,.36);backdrop-filter:blur(2px)}
  body[data-app-role="superadmin"] .topbar{grid-template-columns:auto minmax(0,1fr) auto}
  body[data-app-role="superadmin"] .page-context{display:block}
  body[data-app-role="superadmin"] .global-search{display:none}
}


/* V7.5 — vsak mobilni predal ima jasen gumb za zapiranje, ne glede na uporabniško vlogo. */
@media(max-width:930px){
  .sidebar.is-open .sidebar-close{
    position:absolute;z-index:8;right:10px;top:10px;display:grid;place-items:center;
    width:38px;height:38px;border:1px solid rgba(255,255,255,.3);border-radius:12px;
    background:rgba(3,42,50,.86);color:#fff;font:400 26px/1 Arial,sans-serif;
    box-shadow:0 6px 18px rgba(0,24,29,.2);cursor:pointer
  }
  .sidebar.is-open + .sidebar-scrim{
    display:block;position:fixed;z-index:65;inset:35px 0 0;border:0;
    background:rgba(4,30,36,.38);backdrop-filter:blur(2px)
  }
}


/* V7.6 — odprti mobilni meni je nad zatemnitvijo in ostane oster ter klikljiv. */
@media(max-width:930px){
  .sidebar.is-open{z-index:90}
  .sidebar.is-open + .sidebar-scrim{
    z-index:70;
    background:rgba(4,30,36,.34);
    -webkit-backdrop-filter:none;
    backdrop-filter:none
  }
}

/* V7.7 — zatemnitev ostane pod mobilnim menijem, zato je meni oster in klikljiv. */
@media(max-width:930px){
  .sidebar.is-open{z-index:90!important;filter:none!important}
  .sidebar.is-open + .sidebar-scrim{
    z-index:35!important;
    background:rgba(4,30,36,.34);
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important
  }
}

/* V7.8 — mobilna glava menija rezervira prostor za zapiranje brez prekrivanja logotipa. */
@media(max-width:930px){
  .sidebar.is-open .brand-wrap{
    justify-content:flex-start;
    padding-left:18px;
    padding-right:68px
  }
  .sidebar.is-open .brand-logo-viewport{
    width:min(190px,100%);
    margin-left:0;
    margin-right:0
  }
  .sidebar.is-open .brand-wrap .brand-logo-viewport img{width:224px}
  .sidebar.is-open .sidebar-close{
    right:12px;
    top:11px;
    box-shadow:0 5px 14px rgba(0,24,29,.16)
  }
}


/* V7.9 — značka obvestil je vidna samo, ko obstajajo neprebrana obvestila. */
.notification-button i[hidden]{display:none!important}


/* GPS evidence, live fleet and route archive */
.gps-loading{min-height:220px;display:grid;place-items:center;color:#6a8085;font-weight:800;background:rgba(255,255,255,.75);border:1px solid var(--line);border-radius:24px}
.gps-live-card,.gps-start-card{background:linear-gradient(145deg,#073f48,#07535b);color:#fff;border-radius:28px;padding:28px;box-shadow:0 20px 55px rgba(4,55,64,.2);margin-bottom:22px;overflow:hidden;position:relative}
.gps-live-card:after,.gps-start-card:after{content:"";position:absolute;width:240px;height:240px;border:1px solid rgba(148,211,15,.2);border-radius:50%;right:-80px;top:-100px;pointer-events:none}
.gps-live-head{display:flex;align-items:center;gap:16px;position:relative;z-index:1}.gps-live-head>div{flex:1}.gps-live-head h2,.gps-start-card h2{font-size:clamp(23px,3vw,34px);margin:5px 0;color:#fff}.gps-live-head p,.gps-start-card p{margin:0;color:#b8d0d3}
.gps-pulse{width:17px;height:17px;border-radius:50%;background:#9ce116;box-shadow:0 0 0 0 rgba(156,225,22,.55);animation:gpsPulse 2s infinite;flex:none}@keyframes gpsPulse{70%{box-shadow:0 0 0 14px rgba(156,225,22,0)}100%{box-shadow:0 0 0 0 rgba(156,225,22,0)}}
.gps-signal{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:13px 16px;margin:23px 0}.gps-signal i{width:11px;height:11px;border-radius:50%;background:#f3b62f}.gps-signal.is-live i{background:#9ce116}.gps-signal.is-error i{background:#ff6b35}.gps-signal span{display:grid}.gps-signal small{color:#a9c6c9;margin-top:2px}
.gps-current-ride{background:#fff;color:#082e37;border-radius:22px;padding:22px;box-shadow:0 16px 38px rgba(0,0,0,.15);position:relative;z-index:1}.gps-current-ride h3{font-size:27px;margin:7px 0 17px}.gps-current-ride>div{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}.gps-current-ride>div span{display:grid;background:#f2f8f7;border-radius:14px;padding:12px;color:#698084;font-size:12px}.gps-current-ride>div b{color:#082e37;font-size:15px;margin-top:4px}.gps-current-ride .btn{width:100%}
.gps-pickup{display:grid;grid-template-columns:1fr minmax(220px,310px) auto;align-items:end;gap:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:20px;padding:20px;position:relative;z-index:1}.gps-pickup h3{margin:5px 0;font-size:22px}.gps-pickup p{font-size:13px}.gps-pickup select,.gps-start-card select{height:50px;border-radius:13px;border:1px solid #d8e7e5;background:#fff;color:#0b3942;padding:0 14px;font:inherit}
.gps-start-card{display:grid;grid-template-columns:auto 1fr minmax(300px,390px);align-items:center;gap:22px}.gps-start-icon{width:72px;height:72px;display:grid;place-items:center;border-radius:21px;background:rgba(156,225,22,.15);color:#b3ed35}.gps-start-icon svg{width:37px}.gps-start-card form{display:grid;gap:9px;position:relative;z-index:1}.gps-start-card label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#c4dadd}.gps-privacy{grid-column:2/-1;display:flex;gap:12px;padding-top:16px;border-top:1px solid rgba(255,255,255,.13);color:#b8d0d3}.gps-privacy strong{color:#b3ed35;white-space:nowrap}
.gps-history-panel{overflow:hidden}.gps-history-list{display:grid}.gps-history-row{display:grid;grid-template-columns:44px 1fr auto 20px;align-items:center;gap:13px;padding:16px 20px;border:0;border-top:1px solid #e3edeb;background:#fff;text-align:left;color:#0b3540;cursor:pointer}.gps-history-row:hover{background:#f5faf8}.gps-history-row>span{display:grid}.gps-history-row small{color:#708489;margin-top:4px}.gps-history-row>span:nth-child(3){text-align:right}.gps-history-icon{width:42px;height:42px!important;border-radius:13px;background:#e8f6f1;color:#0b8e73;display:grid!important;place-items:center!important}.gps-history-icon svg{width:22px}
.gps-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.gps-stat-grid article{background:#fff;border:1px solid #dce9e7;border-radius:20px;padding:20px;box-shadow:0 12px 34px rgba(4,49,57,.08);display:grid}.gps-stat-grid span{color:#657d82;font-size:13px;font-weight:800}.gps-stat-grid strong{font-size:28px;color:#072f39;margin:7px 0}.gps-stat-grid small{color:#819397}
.gps-fleet-panel{margin-bottom:20px;overflow:hidden}.gps-auto-refresh{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border-radius:13px;background:#eaf7ef;color:#16825d;font-weight:800}.gps-auto-refresh i{width:8px;height:8px;border-radius:50%;background:#6fcf59;animation:gpsPulse 2s infinite}
.gps-map{height:410px;position:relative;overflow:hidden;background:linear-gradient(135deg,#dceae8,#edf4f1);border-top:1px solid #dce8e6;border-bottom:1px solid #dce8e6}.gps-map-tiles{position:absolute;inset:0}.gps-map-tiles img{width:256px;height:256px;position:absolute;filter:saturate(.65) contrast(.92)}.gps-map svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.gps-route-shadow{fill:none;stroke:#fff;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;opacity:.88}.gps-route-line{fill:none;stroke:#ff6b2c;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 4px rgba(184,61,11,.35))}.gps-route-start{fill:#9bdc18;stroke:#fff;stroke-width:4}.gps-route-end{fill:#ff682b;stroke:#fff;stroke-width:4}.gps-vehicle-marker circle{fill:#07515a;stroke:#a9e829;stroke-width:4;filter:drop-shadow(0 5px 8px rgba(0,0,0,.35))}.gps-vehicle-marker text{fill:#fff;font-size:13px;font-weight:900}.gps-map-legend{position:absolute;left:14px;bottom:14px;display:flex;gap:12px;background:rgba(255,255,255,.94);padding:9px 12px;border-radius:12px;box-shadow:0 5px 18px rgba(0,0,0,.14);font-size:12px;font-weight:800}.gps-map-legend span{display:flex;align-items:center;gap:6px}.gps-map-legend i{width:9px;height:9px;border-radius:50%;background:#9bdc18}.gps-map-legend i.end{background:#ff682b}.gps-map-credit{position:absolute;right:8px;bottom:6px;background:rgba(255,255,255,.85);padding:3px 6px;color:#4a686d;font-size:10px;text-decoration:none}.gps-map-empty{height:100%;display:grid;place-content:center;text-align:center;color:#5e777b}.gps-map-empty strong{font-size:18px}.gps-map-empty span{margin-top:5px}.gps-map-loading{position:absolute;inset:0;display:grid;place-items:center;color:#5d777b;font-weight:800}
.gps-map-tiles:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(3,54,61,.04));pointer-events:none}.gps-map.layer-satellite .gps-map-tiles img{filter:saturate(1.08) contrast(1.03)}.gps-map.layer-satellite .gps-map-tiles:after{background:linear-gradient(180deg,rgba(1,37,44,.02),rgba(1,37,44,.1))}.gps-vehicle-marker{cursor:pointer}.gps-vehicle-marker circle{transition:transform .18s ease,filter .18s ease}.gps-vehicle-marker:hover circle{transform:scale(1.12);filter:drop-shadow(0 7px 12px rgba(0,0,0,.42))}.gps-vehicle-marker.stale circle{stroke:#f5a623}.gps-map-no-vehicles{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(390px,calc(100% - 36px));display:grid;justify-items:center;gap:7px;padding:20px 24px;text-align:center;color:#173f46;background:rgba(255,255,255,.9);border:1px solid rgba(255,255,255,.96);border-radius:18px;box-shadow:0 12px 34px rgba(4,54,61,.18);backdrop-filter:blur(8px)}.gps-map-no-vehicles strong{font-size:17px}.gps-map-no-vehicles>span:last-child{color:#607b80;font-size:12px;line-height:1.45}.gps-map-no-vehicles-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;color:#0a6570;background:#e8f5f3;font-size:24px}.gps-map-controls{position:absolute;right:14px;top:14px;display:flex;align-items:stretch;gap:9px;z-index:4}.gps-map-layers,.gps-map-zoom{display:flex;padding:4px;background:rgba(255,255,255,.95);border:1px solid rgba(207,224,221,.95);border-radius:13px;box-shadow:0 6px 20px rgba(0,0,0,.15);backdrop-filter:blur(8px)}.gps-map-layers button,.gps-map-zoom button{border:0;background:transparent;color:#49686d;font:800 11px/1 inherit;cursor:pointer;border-radius:9px;transition:background .16s ease,color .16s ease,transform .16s ease}.gps-map-layers button{padding:9px 11px}.gps-map-layers button:hover,.gps-map-layers button.active{color:#fff;background:#07515a}.gps-map-zoom{align-items:center}.gps-map-zoom button{display:grid;place-items:center;width:34px;font-size:20px}.gps-map-zoom button:hover{color:#07515a;background:#e8f4f2}.gps-map-zoom button:disabled{opacity:.35;cursor:not-allowed}.gps-map-zoom span{display:grid;place-items:center;min-width:24px;color:#577277;font-size:10px;font-weight:900}.gps-map-legend i.idle{background:#9fb2b5;box-shadow:0 0 0 4px rgba(159,178,181,.18)}
.gps-vehicle-list{display:grid}.gps-vehicle-list article{display:grid;grid-template-columns:38px 1fr auto auto;align-items:center;gap:13px;padding:14px 20px;border-top:1px solid #e1ecea}.gps-vehicle-list article>span{display:grid}.gps-vehicle-list small{color:#70858a;margin-top:3px}.gps-vehicle-number{width:34px;height:34px;border-radius:50%;background:#0a515b;color:#fff;place-items:center;font-weight:900}.gps-live-status{display:flex!important;grid-auto-flow:column;align-items:center;gap:6px;color:#7a8a8d;font-weight:800;font-size:12px}.gps-live-status i{width:8px;height:8px;border-radius:50%;background:#e7a62c}.gps-live-status.online{color:#158563}.gps-live-status.online i{background:#6fcf59}.gps-vehicle-list article>span:last-child{text-align:right;margin-left:16px}.gps-vehicle-distance a{margin-top:5px;color:#e65b20;font-size:11px;font-weight:900;text-decoration:none}.gps-vehicle-distance a:hover{text-decoration:underline}
.gps-detail-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:15px}.gps-detail-meta span{display:grid;background:#f1f7f6;border-radius:13px;padding:12px}.gps-detail-meta small{color:#71868a}.gps-detail-meta strong{color:#083640;margin-top:5px}.modal .gps-map{height:380px;border-radius:18px;border:1px solid #dce8e6}.gps-note{margin-top:14px;background:#f3f8f7;border-left:4px solid #99da19;border-radius:12px;padding:14px}.gps-note p{margin:6px 0 0;color:#50696e;white-space:pre-wrap}.gps-note.private{background:#fff5e9;border-color:#ff793f}.gps-note.private strong:after{content:" · samo za inštruktorja in vodstvo";color:#9b735c;font-weight:500;font-size:12px}
@media(max-width:1000px){.gps-stat-grid{grid-template-columns:repeat(2,1fr)}.gps-start-card{grid-template-columns:auto 1fr}.gps-start-card form,.gps-privacy{grid-column:1/-1}.gps-pickup{grid-template-columns:1fr}.gps-live-head{align-items:flex-start;flex-wrap:wrap}.gps-live-head .btn{margin-left:33px}.gps-detail-meta{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.gps-live-card,.gps-start-card{padding:19px;border-radius:20px}.gps-start-card{grid-template-columns:1fr}.gps-start-icon{width:58px;height:58px}.gps-start-card form,.gps-privacy{grid-column:auto}.gps-privacy{display:grid}.gps-current-ride>div{grid-template-columns:1fr}.gps-live-head .btn{margin-left:0;width:100%}.gps-stat-grid{grid-template-columns:1fr 1fr;gap:10px}.gps-stat-grid article{padding:15px}.gps-stat-grid strong{font-size:22px}.gps-map{height:330px}.gps-map-controls{right:9px;top:9px;left:9px;justify-content:space-between;gap:6px}.gps-map-layers button{padding:8px 7px}.gps-map-zoom button{width:30px}.gps-map-zoom span{display:none}.gps-map-no-vehicles{padding:17px 18px;margin-top:20px}.gps-map-legend{left:10px;bottom:12px;max-width:calc(100% - 100px)}.gps-vehicle-list article{grid-template-columns:34px 1fr}.gps-live-status,.gps-vehicle-list article>span:last-child{grid-column:2;text-align:left;margin:0}.gps-history-row{grid-template-columns:40px 1fr 18px}.gps-history-row>span:nth-child(3){grid-column:2;text-align:left;display:flex;gap:8px}.gps-detail-meta{grid-template-columns:1fr 1fr}.modal .gps-map{height:300px}}

.gps-breakdown-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.gps-ranking{display:grid}.gps-ranking>div{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:10px;padding:13px 18px;border-top:1px solid #e2ecea}.gps-ranking>div>span{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#edf7f3;color:#078267;font-weight:900}.gps-ranking>div>b{text-align:right}.gps-ranking>div>small{grid-column:2/-1;color:#71858a}@media(max-width:800px){.gps-breakdown-grid{grid-template-columns:1fr}}

/* Fotografije vozil in kandidatova dodelitev */
.vehicle-card{cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.vehicle-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(4,49,57,.11)}
.vehicle-top{height:168px;overflow:hidden;background:linear-gradient(145deg,#dbe9e6,#f6f9f8)}
.vehicle-photo{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:7px;color:#557277}.vehicle-photo>span{font-size:46px;opacity:.52}.vehicle-photo>small{font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#789094}.vehicle-photo img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s ease}.vehicle-card:hover .vehicle-photo img{transform:scale(1.035)}
.vehicle-category,.vehicle-status{z-index:2;box-shadow:0 5px 15px rgba(5,47,55,.08)}
.vehicle-photo-editor{grid-column:1/-1;display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;align-items:center;padding:15px;border:1px solid #dce9e7;border-radius:17px;background:linear-gradient(135deg,#f4f9f7,#fff)}
.vehicle-photo-preview{height:126px;border-radius:14px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(145deg,#dceae7,#eef5f3);color:#0b6570}.vehicle-photo-preview img{width:100%;height:100%;display:block;object-fit:cover}.vehicle-photo-preview>span svg{width:48px;height:48px}
.vehicle-photo-copy{display:grid;justify-items:start;gap:9px}.vehicle-photo-copy>strong{font-size:14px;color:#092f38}.vehicle-photo-copy>small{color:#6d8387}.vehicle-photo-copy>div{display:flex;gap:8px;flex-wrap:wrap}.vehicle-photo-copy label{cursor:pointer}
.student-assignment-card{grid-template-columns:auto minmax(0,1fr) 86px auto;min-height:86px}.student-assignment-loading,.student-assignment-empty{grid-column:1/-1;display:grid;gap:4px;color:#d7e5e6;font-size:12px}.student-assignment-empty strong{font-size:14px}.student-assignment-empty small{color:#a9c2c5}.student-assignment-copy{display:grid;align-content:center;min-width:0}.student-assignment-copy>small{font-size:8px!important;font-weight:900;letter-spacing:.12em;color:#b6d2d5!important}.student-assignment-copy h3{font-size:15px;margin:3px 0 4px}.student-assignment-copy p{font-size:10px;margin:0;color:#d8e5e6}.student-assignment-copy p b{color:#b9ef3f}.student-assignment-copy em{font-size:9px;font-style:normal;color:#9fbabd;margin-top:5px}.student-assignment-photo{width:86px;height:62px;border-radius:13px;overflow:hidden;display:grid;place-items:center;background:rgba(255,255,255,.1);color:#b8ef3d}.student-assignment-photo img{width:100%;height:100%;object-fit:cover}.student-assignment-photo svg{width:35px;height:35px}
@media(max-width:930px){.student-assignment-card{grid-template-columns:auto minmax(0,1fr) 72px}.student-assignment-photo{width:72px;height:58px}.student-assignment-card>.btn{grid-column:1/-1;width:100%}}
@media(max-width:560px){.vehicle-top{height:190px}.vehicle-photo-editor{grid-template-columns:1fr}.vehicle-photo-preview{height:170px}.student-assignment-card{grid-template-columns:auto minmax(0,1fr)}.student-assignment-photo{grid-column:1/-1;width:100%;height:120px}.student-assignment-copy p{font-size:9px}}

/* Interaktivni GPS zemljevid: premikanje z miško/prstom, sedež in jasen odziv. */
.gps-map.is-interactive{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.gps-map.is-interactive.is-drag-ready{cursor:grabbing}.gps-map.is-interactive.is-dragging{cursor:grabbing}.gps-map.is-interactive.is-dragging .gps-map-tiles,.gps-map.is-interactive.is-dragging>svg{will-change:transform}.gps-map-controls,.gps-map-legend,.gps-map-credit{user-select:none}.gps-school-marker{pointer-events:none}.gps-school-marker>path:first-of-type{fill:#ff682b;stroke:#fff;stroke-width:3;filter:drop-shadow(0 5px 9px rgba(4,54,61,.35))}.gps-school-marker>circle{fill:#fff}.gps-school-marker .gps-school-house{fill:#07515a;stroke:none}.gps-school-marker.approximate>path:first-of-type{fill:#0a7881}.gps-map-no-vehicles{left:18px;top:18px;transform:none;width:min(330px,calc(100% - 36px));grid-template-columns:42px 1fr;justify-items:start;column-gap:12px;row-gap:4px;text-align:left;padding:14px 16px;pointer-events:none;z-index:3}.gps-map-no-vehicles-icon{grid-row:1/3}.gps-map-no-vehicles strong,.gps-map-no-vehicles>span:last-child{grid-column:2}.gps-map-zoom [data-gps-home]{font-size:17px;border-right:1px solid #dce8e6;border-radius:8px 0 0 8px}.gps-map-zoom [data-gps-home]:hover{background:#e5f3f1}.gps-map-tiles,.gps-map>svg{transform:translate3d(0,0,0)}
@media(max-width:640px){.gps-map-no-vehicles{left:10px;top:62px;width:min(300px,calc(100% - 20px));padding:12px 13px}.gps-map-no-vehicles-icon{width:36px;height:36px}.gps-map-zoom [data-gps-home]{font-size:15px}}

/* Fleet map: larger working area requested for live dispatch view. */
.gps-fleet-panel > .gps-map{height:820px}
@media(max-width:640px){.gps-fleet-panel > .gps-map{height:660px}}


/* Credits for reusable vehicle photographs. */
.vehicle-photo-credit{position:absolute;left:10px;bottom:9px;z-index:2;max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 8px;border:1px solid rgba(255,255,255,.3);border-radius:9px;background:rgba(3,44,51,.78);box-shadow:0 4px 14px rgba(0,0,0,.18);backdrop-filter:blur(7px);color:#fff!important;font-size:8px!important;font-weight:750;letter-spacing:.02em;text-decoration:none;text-transform:none!important}
.vehicle-photo-credit:hover{background:rgba(3,44,51,.94)}

/* V1.10 — komunikacijski center: pregleden predal, filtri in uporaben prazen prikaz. */
.message-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 16px}
.message-overview-card{--message-accent:#0e8b91;--message-soft:#e6f6f5;position:relative;display:flex;align-items:center;gap:14px;min-width:0;padding:18px;border:1px solid #dbe8e6;border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(247,251,250,.94));box-shadow:0 12px 34px rgba(7,59,65,.07);overflow:hidden}
.message-overview-card:after{content:"";position:absolute;right:-32px;top:-38px;width:98px;height:98px;border:1px solid color-mix(in srgb,var(--message-accent) 18%,transparent);border-radius:50%;box-shadow:0 0 0 15px color-mix(in srgb,var(--message-accent) 5%,transparent)}
.message-overview-card.unread{--message-accent:#91c900;--message-soft:#f0f9d9}.message-overview-card.sent{--message-accent:#ff6a2a;--message-soft:#fff0e8}.message-overview-card.contacts{--message-accent:#3f7fc4;--message-soft:#eaf2fc}
.message-overview-card>span{width:48px;height:48px;display:grid;place-items:center;flex:none;border-radius:15px;background:var(--message-soft);color:var(--message-accent)}.message-overview-card>span svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.message-overview-card>div{display:grid;min-width:0}.message-overview-card small{color:#60787d;font-size:10px;font-weight:850}.message-overview-card strong{margin:2px 0;font-size:25px;line-height:1;color:#082f39}.message-overview-card em{font-style:normal;color:#8a9c9f;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.message-hub{padding:0;overflow:hidden;border-radius:24px;box-shadow:0 18px 48px rgba(8,57,63,.08)}
.message-hub-head{display:grid;grid-template-columns:auto minmax(240px,1fr) auto auto;gap:11px;align-items:center;padding:15px 17px;border-bottom:1px solid #dfeae8;background:linear-gradient(180deg,#fff,#fbfdfc)}
.message-box-tabs{display:flex;gap:4px;padding:4px;border:1px solid #dce8e6;border-radius:14px;background:#f3f8f7}.message-box-tabs button{display:flex;align-items:center;gap:7px;height:38px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:#5d777c;font:inherit;font-size:11px;font-weight:850;cursor:pointer;transition:.18s ease}.message-box-tabs button:hover{color:#0a5962}.message-box-tabs button.is-active{background:#fff;color:#073b44;box-shadow:0 5px 14px rgba(7,63,69,.1)}.message-box-tabs span{display:grid;place-items:center}.message-box-tabs svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.message-box-tabs b{min-width:20px;padding:3px 6px;border-radius:999px;background:#e8f1ef;color:#668085;font-size:9px;text-align:center}.message-box-tabs .is-active b{background:#eaf6cf;color:#598200}
.message-search{height:46px;display:flex;align-items:center;gap:9px;padding:0 11px;border:1px solid #dce7e5;border-radius:13px;background:#fff;color:#70868a;transition:.18s ease}.message-search:focus-within{border-color:#83c6c3;box-shadow:0 0 0 3px rgba(60,159,157,.1)}.message-search>span{font-size:20px;line-height:1}.message-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#183d45;font:inherit;font-size:11px}.message-search kbd{padding:4px 6px;border:1px solid #d9e4e2;border-radius:6px;background:#f5f8f7;color:#87999c;font-size:8px;white-space:nowrap}
.message-filter{height:46px;min-width:150px;padding:0 35px 0 12px;border:1px solid #dce7e5;border-radius:13px;background:#fff;color:#365861;font:inherit;font-size:10px;font-weight:800}.message-mark-all{height:46px;padding:0 13px;border:1px solid #d6e6c6;border-radius:13px;background:#f4fae9;color:#628800;font:inherit;font-size:10px;font-weight:900;white-space:nowrap;cursor:pointer}.message-mark-all:hover{background:#ebf7d4}.message-mark-all:disabled{opacity:.55;cursor:wait}.message-mark-all[hidden]{display:none}
.message-hub-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;min-height:450px}.message-list-column{min-width:0;background:#fff}.message-list-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 22px 14px}.message-list-head h2{margin:0;font-size:16px;color:#0a3540}.message-list-head p{margin:4px 0 0;color:#7b9094;font-size:10px}.message-list-head .settings-badge{white-space:nowrap}
.message-list{display:grid;padding:0 12px 14px}.message-row{margin-bottom:8px;border:1px solid #e1ebe9!important;border-radius:16px!important;grid-template-columns:46px minmax(0,1fr) 24px!important;gap:13px!important;padding:14px!important;background:linear-gradient(145deg,#fff,#fbfdfc)!important;box-shadow:0 5px 16px rgba(14,68,72,.035);transform:none!important}.message-row:last-child{margin-bottom:0}.message-row:hover{border-color:#bcd9d6!important;background:#f8fcfb!important;box-shadow:0 9px 22px rgba(10,75,79,.08);transform:translateY(-1px)!important}.message-row.is-unread{border-left:4px solid #9ad51a!important;background:linear-gradient(90deg,rgba(154,213,26,.11),#fff 28%)!important}.message-row-copy{display:block!important;min-width:0}.message-row-top{display:flex!important;align-items:flex-start;justify-content:space-between;gap:14px}.message-row-top>span{min-width:0}.message-row-top strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#0a3540}.message-row-top small{font-size:9px!important}.message-row-top time{flex:none;padding-top:2px;color:#84979a;font-size:9px;font-weight:750}.message-row p{font-size:10px!important;margin-top:7px!important;color:#5a7378!important}.message-row-arrow{display:grid;place-items:center!important;width:24px;height:24px;border-radius:8px;background:#f0f6f5;font-size:18px!important}.message-role-tag{display:inline-flex!important;width:max-content;margin-top:7px;padding:4px 7px;border-radius:7px;background:#eaf5f4;color:#176c73;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.message-avatar{width:46px!important;height:46px!important;border-radius:15px!important;background:linear-gradient(145deg,#dff3ef,#eef9f6)!important;box-shadow:inset 0 0 0 1px #d4eae6;color:#08737c!important}
.message-side{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:28px 24px;border-left:1px solid #dfeae8;background:linear-gradient(160deg,#063f48 0%,#07515a 72%,#09616a 100%);color:#fff;overflow:hidden}.message-side:after{content:"";position:absolute;width:250px;height:250px;right:-130px;bottom:-125px;border:1px solid rgba(167,222,31,.25);border-radius:50%;box-shadow:0 0 0 34px rgba(167,222,31,.035)}.message-side .eyebrow{position:relative;z-index:1;color:#b6ec42;font-size:8px}.message-side h3{position:relative;z-index:1;margin:9px 0 8px;font-size:22px;line-height:1.12;color:#fff}.message-side>p{position:relative;z-index:1;margin:0;color:#b9cfd2;font-size:10px;line-height:1.6}.message-side>.btn{position:relative;z-index:1;width:100%;justify-content:center;margin-top:17px}.message-side-visual{position:relative;width:100%;height:112px;margin:-5px 0 18px}.message-side-visual>span{position:absolute;left:50%;top:50%;width:58px;height:58px;display:grid;place-items:center;transform:translate(-50%,-50%);border-radius:19px;background:linear-gradient(145deg,#a9df2a,#7dac0c);color:#fff;box-shadow:0 12px 28px rgba(162,217,31,.24);z-index:2}.message-side-visual svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.7}.message-side-visual i{position:absolute;left:50%;top:50%;border:1px solid rgba(140,209,206,.22);border-radius:50%;transform:translate(-50%,-50%)}.message-side-visual i:nth-of-type(1){width:90px;height:90px}.message-side-visual i:nth-of-type(2){width:130px;height:130px}.message-side-visual i:nth-of-type(3){width:170px;height:170px;border-color:rgba(167,222,31,.12)}
.message-audiences{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:6px;margin:16px 0 0}.message-audiences>span{color:#a9c4c7;font-size:9px}.message-audience{display:flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid rgba(255,255,255,.13);border-radius:999px;background:rgba(255,255,255,.07);color:#dceced;font:inherit;font-size:8px;font-weight:850;cursor:pointer}.message-audience:hover{background:rgba(255,255,255,.14)}.message-audience i{width:6px;height:6px;border-radius:50%;background:#8ecacb}.message-audience.lime i{background:#b0e634}.message-audience.blue i{background:#75b7ee}.message-audience.orange i{background:#ff8b56}.message-security-note{position:relative;z-index:1;display:flex;align-items:center;gap:9px;width:100%;margin-top:auto;padding-top:20px}.message-security-note>span{width:28px;height:28px;display:grid;place-items:center;flex:none;border-radius:9px;background:rgba(167,222,31,.15);color:#b5ec3d}.message-security-note small{display:grid;color:#91afb3;font-size:8px}.message-security-note strong{margin-bottom:2px;color:#dceced;font-size:9px}
.message-empty{min-height:330px;display:grid;place-content:center;justify-items:center;padding:38px;text-align:center;border:1px dashed #d7e5e2;border-radius:18px;background:radial-gradient(circle at 50% 35%,#f1f8f6 0,rgba(255,255,255,.72) 42%,#fff 72%)}.message-empty-visual{position:relative;width:120px;height:92px;margin-bottom:10px}.message-empty-visual>span{position:absolute;left:50%;top:50%;width:54px;height:54px;display:grid;place-items:center;transform:translate(-50%,-50%);border-radius:18px;background:#e6f5f2;color:#0b7980;box-shadow:0 10px 24px rgba(9,99,105,.1);z-index:2}.message-empty-visual svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8}.message-empty-visual i{position:absolute;left:50%;top:50%;width:86px;height:86px;transform:translate(-50%,-50%);border:1px solid #dcece8;border-radius:50%}.message-empty-visual i:last-child{width:116px;height:116px;border-color:#edf4f2}.message-empty .eyebrow{font-size:8px;color:#ff6a2a}.message-empty h3{margin:8px 0 6px;font-size:20px;color:#0a3740}.message-empty p{max-width:430px;margin:0 0 17px;color:#6e8488;font-size:10px;line-height:1.6}.message-empty.is-error .message-empty-visual>span{background:#fff0e8;color:#ec672d;font-size:22px;font-weight:900}.message-loading{min-height:330px;display:grid;place-content:center;justify-items:center;gap:11px;color:#698185;font-size:10px}.message-loading i{width:28px;height:28px;border:3px solid #dce8e6;border-top-color:#84bb12;border-radius:50%;animation:messageSpin .8s linear infinite}@keyframes messageSpin{to{transform:rotate(360deg)}}
.message-compose-banner{display:flex;align-items:center;gap:13px;margin-bottom:18px;padding:14px;border:1px solid #dbeae6;border-radius:16px;background:linear-gradient(135deg,#f0f9f6,#fbfdfc)}.message-compose-banner>span{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:13px;background:#daf0eb;color:#087780}.message-compose-banner svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.message-compose-banner div{display:grid}.message-compose-banner strong{font-size:12px;color:#123d45}.message-compose-banner small{margin-top:3px;color:#6d8589;font-size:9px}.message-compose-form textarea{resize:vertical;min-height:150px}.message-character-count{justify-self:end;margin-top:-2px;color:#82969a;font-size:8px}.message-compose-note{display:flex;align-items:center;gap:10px;padding:12px 13px;border-radius:13px;background:#f3f7f6;color:#537177}.message-compose-note>span{width:28px;height:28px;display:grid;place-items:center;flex:none;border-radius:9px;background:#e4f3cb;color:#669400;font-weight:900}.message-compose-note div{display:grid}.message-compose-note strong{font-size:10px}.message-compose-note small{margin-top:2px;font-size:8px}.message-detail-sender{display:flex;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px solid #e0e9e7}.message-detail-sender>div{display:grid}.message-detail-sender strong{font-size:13px;color:#123b43}.message-detail-sender small{margin-top:3px;color:#72878b;font-size:9px}.message-detail-body{margin-top:16px;padding:19px!important;border:1px solid #e1ebe9;border-radius:15px;background:#fbfdfc;line-height:1.75!important}.message-detail-security{display:flex;align-items:center;gap:7px;margin-top:12px;color:#789094;font-size:8px}.message-detail-security span{color:#75a900;font-weight:900}
@media(max-width:1180px){.message-hub-head{grid-template-columns:auto minmax(220px,1fr) auto}.message-mark-all{grid-column:1/-1;width:max-content;justify-self:end;height:38px}.message-hub-body{grid-template-columns:minmax(0,1fr) 260px}.message-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.message-hub-head{grid-template-columns:1fr 1fr}.message-search{grid-column:1/-1;grid-row:1}.message-box-tabs{grid-column:1}.message-filter{grid-column:2}.message-mark-all{grid-column:1/-1}.message-hub-body{grid-template-columns:1fr}.message-side{border-left:0;border-top:1px solid #dfeae8}.message-side-visual{display:none}.message-side h3{font-size:19px}.message-security-note{margin-top:18px}.message-audiences{margin-top:13px}}
@media(max-width:560px){.message-overview{grid-template-columns:1fr 1fr;gap:9px}.message-overview-card{gap:9px;padding:13px;border-radius:16px}.message-overview-card>span{width:40px;height:40px;border-radius:12px}.message-overview-card>span svg{width:20px;height:20px}.message-overview-card strong{font-size:21px}.message-overview-card em{display:none}.message-hub{border-radius:18px}.message-hub-head{grid-template-columns:1fr;padding:11px}.message-search,.message-box-tabs,.message-filter,.message-mark-all{grid-column:1;width:100%}.message-search{grid-row:auto;order:2}.message-box-tabs{order:1}.message-box-tabs button{flex:1;justify-content:center}.message-filter{order:3}.message-mark-all{order:4}.message-list-head{padding:16px 14px 11px}.message-list{padding:0 8px 9px}.message-row{grid-template-columns:40px minmax(0,1fr)!important;padding:11px!important}.message-avatar{width:40px!important;height:40px!important}.message-row-arrow{display:none!important}.message-row-top time{font-size:8px}.message-empty{min-height:300px;padding:24px 15px}.message-side{padding:23px 19px}.message-side>.btn{width:100%}.message-compose-banner{align-items:flex-start}}

.instructor-table{overflow-x:auto}
.instructor-table .data-table{min-width:760px}
.instructor-name{display:block;padding:0;border:0;background:transparent;color:var(--navy);font:inherit;font-weight:850;text-align:left;cursor:pointer}
.instructor-name:hover,.instructor-name:focus-visible{color:var(--orange);text-decoration:underline;text-underline-offset:3px}
.modal.instructor-profile-modal{display:flex;flex-direction:column;width:min(820px,calc(100vw - 36px));max-height:min(790px,calc(100vh - 40px));overflow:hidden;border:1px solid rgba(255,255,255,.7);border-radius:22px;box-shadow:0 35px 100px rgba(3,26,32,.3)}
.instructor-profile-hero{position:relative;flex:none;overflow:hidden;padding:23px 28px 27px;background:radial-gradient(circle at 90% -25%,rgba(168,224,33,.23),transparent 38%),linear-gradient(120deg,#073a45,#075563 74%,#0d6670);color:#fff}
.instructor-profile-hero::after{position:absolute;right:-55px;bottom:-155px;width:350px;height:350px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 36px rgba(255,255,255,.035),0 0 0 72px rgba(255,255,255,.025);content:"";pointer-events:none}
.instructor-profile-hero-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px}
.instructor-profile-kicker{display:flex;align-items:center;gap:9px;color:#aee5df;font-size:10px;font-weight:850;letter-spacing:.12em}
.instructor-profile-kicker i{width:4px;height:4px;border-radius:50%;background:#a4da21}
.instructor-profile-close{width:32px;height:32px;flex:none;border:1px solid rgba(255,255,255,.28);border-radius:9px;background:rgba(255,255,255,.1);color:#fff;font-size:19px;line-height:1;cursor:pointer}
.instructor-profile-close:hover,.instructor-profile-close:focus-visible{background:rgba(255,255,255,.22)}
.instructor-profile-identity{position:relative;z-index:1;display:flex;align-items:center;gap:19px;margin-top:16px}
.instructor-profile-avatar{display:grid;place-items:center;flex:none;width:74px;height:74px;border:2px solid rgba(255,255,255,.62);border-radius:20px;background:linear-gradient(145deg,#f7ffe7,#d9f1d1);box-shadow:0 10px 30px rgba(0,0,0,.13);color:#174b42;font-size:25px;font-weight:900;letter-spacing:-.05em}
.instructor-profile-identity h2{margin:0;color:#fff;font-size:26px;letter-spacing:-.04em;line-height:1.1}
.instructor-profile-identity p{margin:6px 0 0;color:#b9dfdd;font-size:12px;overflow-wrap:anywhere}
.instructor-profile-badges{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:11px}
.instructor-profile-badges .tag{min-height:23px;background:rgba(216,255,230,.16);color:#d5f7d7}
.instructor-profile-badges .tag i{background:#a3df63}
.instructor-profile-category{display:inline-grid;place-items:center;min-width:25px;height:23px;padding:0 8px;border:1px solid rgba(255,255,255,.25);border-radius:7px;background:rgba(255,255,255,.08);color:#fff;font-size:10px;font-weight:800}
.instructor-profile-content{min-height:0;overflow:auto;padding:22px 28px 24px;background:#f8fbfa}
.instructor-profile-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.instructor-profile-metrics>div{position:relative;min-height:96px;padding:17px 16px;border:1px solid #e1ebe8;border-radius:15px;background:#fff;box-shadow:0 5px 14px rgba(8,55,62,.035)}
.instructor-profile-metrics>div>span:nth-child(2){display:block;margin-top:11px;color:#6b8184;font-size:10px;font-weight:700}
.instructor-profile-metrics strong{display:block;margin-top:3px;color:#0b3944;font-size:25px;line-height:1;letter-spacing:-.05em}
.instructor-profile-metric-icon{position:absolute;top:15px;right:15px;display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#e8f5e1;color:#548a12}
.instructor-profile-metric-icon.calendar{background:#e6f4f8;color:#187c96}
.instructor-profile-metric-icon.log{background:#fff0e7;color:#e36b29}
.instructor-profile-metric-icon svg,.instructor-profile-entry-icon svg,.instructor-profile-empty svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.instructor-profile-tabs{display:flex;gap:8px;margin-top:24px;padding-bottom:10px;border-bottom:1px solid #dce7e3;overflow-x:auto}
.instructor-profile-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:39px;padding:8px 13px;border:1px solid transparent;border-radius:10px;background:transparent;color:#698084;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}
.instructor-profile-tabs button span{min-width:20px;height:20px;padding:3px 5px;border-radius:6px;background:#e8efed;color:#557176;font-size:10px;line-height:14px}
.instructor-profile-tabs button[aria-selected="true"]{border-color:#cbded7;background:#eaf6ed;color:#0b4e42}
.instructor-profile-tabs button[aria-selected="true"] span{background:#bce697;color:#235927}
.instructor-profile-panel{display:grid;gap:9px;max-height:314px;min-height:124px;margin-top:13px;overflow:auto;align-content:start}
.instructor-profile-panel[hidden]{display:none!important}
.instructor-profile-entry{display:flex;align-items:center;gap:13px;width:100%;min-height:60px;padding:9px 14px;border:1px solid #e0eae7;border-radius:12px;background:#fff;color:#153943;text-align:left;cursor:pointer;transition:border-color .16s,transform .16s,box-shadow .16s}
.instructor-profile-entry:hover,.instructor-profile-entry:focus-visible{border-color:#99d3aa;box-shadow:0 8px 20px rgba(8,70,69,.07);transform:translateY(-1px)}
.instructor-profile-entry-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:11px;background:#eaf4e7;color:#2e7948;font-size:12px;font-weight:900}
.instructor-profile-entry-icon.calendar{background:#e9f5f7;color:#227f99}
.instructor-profile-entry-icon.log{background:#fff0e8;color:#d56b30}
.instructor-profile-entry-copy{min-width:0;flex:1}
.instructor-profile-entry-copy strong,.instructor-profile-entry-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.instructor-profile-entry-copy strong{font-size:12px}
.instructor-profile-entry-copy small{margin-top:4px;color:#71888b;font-size:10px}
.instructor-profile-entry-arrow{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:8px;background:#f1f6f3;color:#387b69;font-size:15px;font-weight:800}
.instructor-profile-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:150px;border:1px dashed #ccdcd5;border-radius:13px;background:#fff;color:#698084;text-align:center;font-size:11px}
.instructor-profile-empty svg{width:23px;height:23px;color:#3e8e73}
.instructor-profile-empty strong{color:#17434b;font-size:13px}
.instructor-profile-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;flex:none;padding:13px 28px;border-top:1px solid #e0eae7;background:#fff}
.instructor-profile-footer>span{color:#829696;font-size:10px}
@media(max-width:680px){.modal.instructor-profile-modal{width:100%;max-height:94vh;border-radius:20px 20px 0 0}.instructor-profile-hero{padding:18px 19px 22px}.instructor-profile-kicker{font-size:8px;letter-spacing:.08em}.instructor-profile-identity{gap:13px}.instructor-profile-avatar{width:58px;height:58px;border-radius:15px;font-size:20px}.instructor-profile-identity h2{font-size:22px}.instructor-profile-content{padding:17px 16px 20px}.instructor-profile-metrics{gap:7px}.instructor-profile-metrics>div{min-height:84px;padding:12px 9px}.instructor-profile-metrics>div>span:nth-child(2){font-size:9px}.instructor-profile-metrics strong{font-size:21px}.instructor-profile-metric-icon{top:10px;right:9px;width:24px;height:24px}.instructor-profile-metric-icon svg{width:14px;height:14px}.instructor-profile-tabs{gap:2px;margin-top:17px}.instructor-profile-tabs button{padding:7px 9px;font-size:10px}.instructor-profile-footer{padding:11px 16px}.instructor-profile-footer>span{display:none}.instructor-profile-footer .btn{width:100%}}

/* Phase 2: draft rulebook and read-only preview. */
.business-rules-modal{width:min(1040px,100%);max-height:calc(100dvh - 48px)}
.business-rules-modal .modal-body{font-size:14px;line-height:1.55;color:#24464e}
.business-rules-modal .modal-header h2{font-size:23px}
.business-rules-banner{padding:18px;border:1px solid #f5cfad;border-radius:14px;background:#fff6ed;color:#694124}
.business-rules-banner strong{font-size:15px}.business-rules-banner p{margin:7px 0}.business-rules-banner small{font-size:12px;color:#745a45}
.business-rule-prices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.business-rule-prices article{display:flex;flex-direction:column;padding:16px;border:1px solid #dbe7e8;border-radius:14px;background:#f7fbfa}
.business-rule-prices span,.business-rule-prices small{font-size:12px;line-height:1.5}.business-rule-prices strong{font-size:24px;color:#073c47;white-space:nowrap;margin:6px 0}
.business-rule-calculator{padding:20px;border:1px solid #d6e5e5;border-radius:15px;background:#fff}
.business-rules-modal h3{margin:0 0 8px;font-size:18px;color:#0b3a45}.business-rules-modal h4{font-size:14px;margin:0 0 5px;color:#0b3a45}.business-rules-modal p{margin:5px 0 12px}
.business-rules-modal .form-group label{font-size:13px}.business-rules-modal input{font-size:16px;min-height:44px}.business-rules-modal .form-group small{font-size:12px;margin-top:6px;color:#607c81}
.business-trial{font-size:13px;align-self:center}.business-trial input{width:20px;min-height:20px;flex-shrink:0}.business-calc-submit{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.business-calc-submit span{font-size:12px;color:#607c81}
.business-rule-result{margin-top:18px;border-radius:12px;padding:16px;background:#edf6f5}.business-rule-result>p{margin:12px 0 0;font-size:12px;color:#526e73}
.business-calculation-lines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px;margin:0}.business-calculation-lines>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #d5e4e2}.business-calculation-lines dt{font-size:13px}.business-calculation-lines dd{font-size:13px;font-weight:700;margin:0;white-space:nowrap}
.business-calculation-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.business-calculation-totals article{display:flex;flex-direction:column;border-radius:10px;background:#fff;padding:13px}.business-calculation-totals span{font-size:12px}.business-calculation-totals strong{font-size:25px;color:#073c47;margin-top:4px}
.business-rule-examples{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.business-rule-error{color:#a83519;background:#fff0eb;border-radius:8px;padding:10px}
.business-rule-section{margin-top:25px}.business-rule-definitions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.business-rule-definitions article{padding:15px;border:1px solid #e0e9e9;border-radius:12px;background:#fafcfc}.business-rule-definitions p{font-size:13px;margin-bottom:0}
.business-role-list{margin:12px 0}.business-role-list>div{display:grid;grid-template-columns:165px 1fr;gap:16px;padding:11px 0;border-bottom:1px solid #e0e9e9}.business-role-list dt{font-weight:700;font-size:13px}.business-role-list dd{font-size:13px;margin:0}
.business-rule-pending{background:#fff9ef;padding:18px;border-radius:13px;border:1px solid #f0dfbd}.business-rule-pending ol{padding-left:22px;margin-bottom:0}.business-rule-pending li{margin-top:12px}.business-rule-pending li p{font-size:13px;margin:3px 0}.business-approval-list{padding-left:20px}.business-approval-list li{margin:5px 0}
@media(max-width:700px){.business-rule-prices{grid-template-columns:repeat(2,minmax(0,1fr))}.business-rule-definitions,.business-calculation-lines,.business-calculation-totals{grid-template-columns:1fr}.business-role-list>div{grid-template-columns:1fr;gap:3px}.business-rule-calculator{padding:14px}.business-rules-modal .modal-body{padding:16px}.business-rules-modal{max-height:calc(100dvh - 24px)}}
@media(max-width:380px){.business-rule-prices{grid-template-columns:1fr}.business-rule-prices article{padding:12px}.business-rule-prices strong{font-size:22px}}

/* Phase 3: licences and clearly non-fiscal platform statements. */
.platform-billing-modal{width:min(1180px,100%);max-height:calc(100dvh - 40px)}
.platform-billing-modal .modal-body{padding:22px;color:#284b52;font-size:14px;line-height:1.5}.platform-billing-modal .modal-header h2{font-size:24px}.platform-billing-modal .modal-footer{gap:15px;justify-content:space-between}
.billing-banner{display:grid;gap:7px;padding:17px 19px;border:1px solid #c9dfd9;border-radius:15px;background:linear-gradient(120deg,#edf7f2,#f8fcfa);color:#23524c}.billing-banner>span{font-size:10px;font-weight:900;letter-spacing:.11em;color:#176350}.billing-banner>strong{font-size:16px;color:#123d43}.billing-banner p{margin:0;font-size:12px;max-width:91ch;color:#5c7779}
.billing-toolbar{display:flex;align-items:end;gap:16px;margin:20px 0}.billing-toolbar .form-group{flex:1;min-width:180px}.billing-toolbar .form-group:last-of-type{flex:0 1 210px}.billing-toolbar label,.platform-billing-modal label{font-size:12px;font-weight:800}.billing-toolbar select,.billing-toolbar input,.platform-billing-modal input,.platform-billing-modal select{min-height:44px;font-size:15px}.billing-toolbar>.btn{min-height:44px;flex:none}.billing-school-name{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0;padding:6px 0}.billing-school-name small{font-size:10px;letter-spacing:.1em;color:#72908d}.billing-school-name strong{font-size:20px;color:#123d43;overflow-wrap:anywhere}
.billing-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.billing-summary article{padding:15px;border:1px solid #dbe6e4;border-radius:13px;background:#fff;display:flex;flex-direction:column;min-width:0}.billing-summary span{font-size:11px;font-weight:700;color:#59767a}.billing-summary strong{font-size:25px;color:#103e49;line-height:1.2;margin:9px 0 5px;overflow-wrap:anywhere}.billing-summary small{font-size:10px;color:#8a9f9e}.billing-summary article.is-attention{background:#fff8ef;border-color:#f2d5b3}
.billing-tabs{display:flex;gap:5px;overflow-x:auto;margin:21px 0 0;border-bottom:1px solid #dce7e3;padding-bottom:8px}.billing-tabs button{display:flex;align-items:center;gap:7px;min-height:40px;padding:8px 15px;border:0;border-radius:10px;background:transparent;color:#6c8585;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer}.billing-tabs button[aria-selected=true]{background:#0b5257;color:white}.billing-tabs button span{min-width:20px;padding:2px 5px;border-radius:6px;background:rgba(112,146,135,.15);font-size:10px}.billing-tabs button[aria-selected=true] span{background:rgba(255,255,255,.18)}
.billing-section{margin-top:21px}.billing-section h3{margin:0 0 7px;font-size:20px;color:#113b44}.billing-section h4{margin:0 0 8px;font-size:14px;color:#214a51}.billing-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.billing-section-head p{margin:0;font-size:12px;color:#729092}.billing-section-head>.btn{flex:none}.billing-section-head .eyebrow{font-size:10px;display:block;margin-bottom:5px}.billing-badge{display:inline-flex;align-items:center;padding:5px 9px;border:1px solid #d8e5e3;border-radius:7px;background:#f2f7f6;color:#587b7c;font-size:10px;font-weight:800;line-height:1.3;white-space:nowrap}.billing-badge.is-green{background:#edf8df;color:#4b7c10;border-color:#dbedc4}
.billing-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 25px;padding:15px 18px;margin:0;border:1px solid #dce8e5;border-radius:13px;background:#f8fbfa}.billing-breakdown>div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #e4ece9}.billing-breakdown dt{font-size:12px}.billing-breakdown dd{margin:0;font-size:13px;font-weight:800;white-space:nowrap;color:#17434d}.billing-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.billing-results article{border:1px solid #d1e4d9;background:#edf7ef;padding:15px 18px;border-radius:12px;display:flex;flex-direction:column;gap:6px}.billing-results article:first-child{border-color:#e8d7c1;background:#fff7ec}.billing-results span{font-size:12px;color:#6d7977}.billing-results strong{font-size:26px;color:#16464c}
.billing-caption{font-size:11px;color:#7a9293;margin:10px 0;line-height:1.55}.billing-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;margin-top:23px}.billing-split>section{min-width:0}.billing-person-list{margin:0;padding:0;list-style:none}.billing-person-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e3ece8;padding:11px 0;font-size:12px}.billing-person-list small{display:block;margin-top:3px;color:#829896;font-size:10px}.billing-person-list strong{white-space:nowrap;color:#265950}.billing-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0 2px}
.billing-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed #d0dfd8;background:#f8fbf8;border-radius:13px;text-align:center;min-height:150px;padding:24px}.billing-empty strong{font-size:15px;color:#22524d}.billing-empty p{max-width:68ch;margin:0;color:#7a9190;font-size:12px}.billing-empty-small{padding:16px;border-radius:10px;background:#f6f9f7;color:#829694;font-size:12px}.billing-empty-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #d2e5d5;background:#edf6e5;color:#78a127;border-radius:12px;font-size:25px}
.billing-table-scroll{overflow-x:auto;border:1px solid #dce7e3;border-radius:12px;background:#fff}.billing-table{width:100%;min-width:680px}.billing-table th{font-size:10px;text-transform:uppercase;letter-spacing:.035em;background:#f3f8f5;white-space:nowrap}.billing-table td{font-size:12px;vertical-align:middle;padding-top:13px;padding-bottom:13px}.billing-table td small{display:block;font-size:10px;color:#819695;margin-top:4px}.billing-table td:last-child{text-align:right}.billing-table tr[hidden]{display:none}.billing-table .btn{white-space:nowrap}.billing-negative{color:#b65b39}.billing-positive{color:#43865a}.billing-filters{display:flex;align-items:center;gap:10px;margin:14px 0}.billing-filters .search-box{flex:1;min-width:170px}.billing-filters>span{font-size:11px;color:#7a9190;white-space:nowrap}
.billing-profile{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0}.billing-profile>div{border-bottom:1px solid #e2ebe7;padding:13px 0;min-width:0}.billing-profile dt{font-size:11px;color:#7e9593}.billing-profile dd{font-size:13px;font-weight:700;color:#255258;margin:5px 0 0;overflow-wrap:anywhere}.billing-policy{padding:15px;border-left:3px solid #9acb45;border-radius:0 10px 10px 0;background:#f5f9ef;margin-top:17px;font-size:12px;color:#617961}.billing-policy strong{color:#3c5d36}.billing-policy p{margin:6px 0 0}.billing-policy .btn{margin-top:10px}.billing-error{border-radius:10px;background:#fff0eb;border:1px solid #f2cbbd;color:#a24023;padding:13px;margin:15px 0}.billing-error[hidden]{display:none}.billing-error p{margin:7px 0}.billing-loading{padding:50px 20px;text-align:center;color:#6f8a86}
.billing-licence-hero{display:flex;align-items:center;gap:16px;margin:22px 0}.billing-licence-hero .billing-empty-icon{width:64px;height:64px;font-size:38px}.billing-licence-hero h3{font-size:27px;margin:9px 0 3px;color:#103f49}.billing-licence-hero h3 small{font-size:11px;font-weight:400;color:#849692}.billing-licence-hero p{margin:0;font-size:12px;color:#7b9691}.billing-timeline{list-style:none;margin:15px 0 0;padding:0}.billing-timeline li{display:flex;gap:14px;padding:0 0 20px;font-size:12px}.billing-timeline i{display:block;flex:none;width:10px;height:10px;border-radius:50%;background:#9bc648;margin-top:5px;box-shadow:0 0 0 5px #f0f6e8}.billing-timeline li>div{flex:1;border-bottom:1px solid #e4ece7;padding-bottom:14px}.billing-timeline time{display:block;font-size:10px;color:#89a09a;margin:5px 0}.billing-timeline p{margin:5px 0}.billing-timeline p small{display:block;color:#7d9691;margin-top:5px}.platform-billing-modal .btn:focus-visible,.billing-tabs button:focus-visible{outline:3px solid #bddf7d;outline-offset:3px}.platform-billing-modal button[disabled]{opacity:.45;cursor:not-allowed}
.billing-page-intro{padding:24px;border:1px solid #dbe7e2;background:white;border-radius:20px}.billing-tariff-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:24px 0}.billing-tariff-grid article{display:flex;flex-direction:column;padding:22px;border-radius:15px;border:1px solid #dce7e3;background:#f8fbf9}.billing-tariff-grid span{font-size:12px;font-weight:700;color:#688781}.billing-tariff-grid strong{font-size:32px;color:#10424b;margin:12px 0}.billing-tariff-grid small{font-size:11px;color:#819a92}.billing-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:30px 0}.billing-plan-grid article{padding:4px}.billing-plan-grid h2{font-size:19px;margin:15px 0 10px;color:#214b51}.billing-plan-grid p{color:#7b9590;font-size:13px;line-height:1.7}.billing-page-action{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px;border-radius:15px;background:#edf7ef}.billing-page-action h3{margin:0 0 6px;font-size:19px;color:#20594a}.billing-page-action p{margin:0;color:#719286;font-size:13px}
@media(max-width:800px){.billing-summary,.billing-tariff-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-toolbar{flex-wrap:wrap;gap:10px}.billing-toolbar .form-group{min-width:150px}.billing-toolbar .form-group:last-of-type,.billing-toolbar>.btn{flex:1}.billing-split{gap:14px}.platform-billing-modal .modal-footer>.billing-caption{display:none}.billing-plan-grid{gap:15px}.billing-page-action{flex-wrap:wrap}}
@media(max-width:600px){.platform-billing-modal{max-height:calc(100dvh - 18px)}.platform-billing-modal .modal-body{padding:15px}.platform-billing-modal .modal-header h2{font-size:21px}.billing-banner{padding:14px}.billing-banner>strong{font-size:14px}.billing-summary{gap:8px}.billing-summary article{padding:12px}.billing-summary strong{font-size:23px}.billing-summary small{font-size:9px}.billing-tabs button{padding:8px 12px;font-size:12px}.billing-breakdown,.billing-profile,.billing-split,.billing-results,.billing-plan-grid{grid-template-columns:1fr}.billing-section-head{align-items:flex-start;flex-wrap:wrap;gap:10px}.billing-filters{flex-wrap:wrap}.billing-filters>span{margin-left:auto}.billing-filters .filter-select{flex:1}.billing-results strong{font-size:24px}.billing-school-name strong{font-size:18px}.billing-toolbar .form-group{min-width:125px}.platform-billing-modal .modal-footer .btn{width:100%}.billing-licence-hero h3{font-size:24px}.billing-page-intro{padding:16px}.billing-tariff-grid{gap:10px}.billing-tariff-grid article{padding:14px}.billing-tariff-grid strong{font-size:26px}.billing-page-action{padding:17px}.billing-page-action>.btn{width:100%}}


/* Phase 4 — candidate learning and consent-based family portal */
.p4-portal{max-width:1320px;margin:0 auto}.p4-portal .panel{overflow:hidden;margin-bottom:22px}.p4-loading,.p4-error,.p4-empty{padding:42px 24px;text-align:center;background:#fff;border-radius:20px;border:1px solid #dce8e7}.p4-loading p,.p4-empty p,.p4-error p{color:#617c82;font-size:15px;line-height:1.65;margin:10px auto 0;max-width:560px}.p4-loading strong,.p4-error strong{display:block;font-size:18px}.p4-spinner{display:block;width:30px;height:30px;border:3px solid #e0efec;border-top-color:#07515b;border-radius:50%;margin:0 auto 18px;animation:p4spin .9s linear infinite}.p4-empty{border:0;background:transparent}.p4-empty>span{display:flex;align-items:center;justify-content:center;width:58px;height:58px;margin:0 auto 16px;border-radius:18px;background:#eaf5f1;color:#07515b}.p4-empty>span svg{width:28px;height:28px}.p4-empty h3{font-size:18px;margin:0;color:#10333d}.p4-error{border-color:#f1d8cc;background:#fff8f4}.p4-error .btn{margin-top:18px}.p4-review-notice{display:flex;gap:14px;align-items:flex-start;padding:18px 20px;margin:0 0 22px;border:1px solid #d5e7e1;background:#eff7f3;border-radius:16px;color:#244c51}.p4-review-notice>span{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#dceddc;color:#37683c;font-weight:800}.p4-review-notice>span svg{width:18px;height:18px}.p4-review-notice strong{font-size:15px;line-height:1.5}.p4-review-notice p{font-size:14px;line-height:1.7;margin:5px 0 0;color:#547579}.p4-welcome{padding:34px 36px;border:1px solid #cce1dd;background:linear-gradient(110deg,#e9f4ef,#fff);border-radius:24px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px;overflow:hidden}.p4-welcome h2{font-size:36px;letter-spacing:-1px;margin:12px 0;color:#0a3541}.p4-welcome p{font-size:16px;line-height:1.7;color:#56767b;max-width:620px}.p4-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.p4-welcome .p4-actions{margin-top:22px}.p4-welcome-art{width:170px;height:150px;position:relative;display:grid;place-items:center;flex-shrink:0;background:#dceee6;border-radius:50%;color:#07515b;transform:rotate(-6deg)}.p4-welcome-art>svg{width:90px;height:90px;stroke-width:1.25}.p4-welcome-art>span{position:absolute;right:0;top:0;border-radius:14px;background:#a0d910;color:#173e36;font-size:30px;font-weight:900;padding:8px 17px;box-shadow:0 10px 25px #608d1024}.p4-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 24px}.p4-metric{background:#fff;border:1px solid #dce8e7;border-radius:18px;padding:20px 22px;min-width:0}.p4-metric>span{display:block;font-size:13px;color:#547076;font-weight:700}.p4-metric>strong{display:block;margin:9px 0;font-size:29px;line-height:1.2;letter-spacing:-.8px;color:#0a3541;overflow-wrap:anywhere}.p4-metric>small{font-size:12px;line-height:1.6;color:#6b8387;display:block}.p4-two-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.p4-two-columns>.panel{min-width:0;align-self:start}.p4-record-list>article{display:flex;gap:15px;align-items:center;padding:20px 23px;border-bottom:1px solid #e5eeec;min-width:0}.p4-record-list>article:last-child{border-bottom:0}.p4-record-list>article>div:not(.p4-record-end){flex:1;min-width:0}.p4-record-list strong{font-size:15px;display:block;color:#143a43;overflow-wrap:anywhere}.p4-record-list small{display:block;font-size:13px;color:#668086;line-height:1.7;margin-top:4px}.p4-record-icon{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;background:#edf6f3;border-radius:13px;color:#07515b}.p4-record-icon svg{width:22px;height:22px}.p4-record-end{display:flex;align-items:flex-end;flex-direction:column;gap:6px;text-align:right;min-width:90px}.p4-record-end .btn{padding:7px 12px;font-size:12px;min-height:34px}.p4-state{display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border-radius:9px;background:#f0f6f3;color:#4d7466;font-size:12px;font-weight:700;line-height:1.35;text-align:center;flex-shrink:0}.p4-assignment{display:flex;gap:16px;margin:0 20px 20px;padding:15px;border-radius:15px;background:#eff6f5;align-items:center}.p4-assignment>img{width:115px;height:76px;object-fit:cover;border-radius:10px}.p4-assignment>span{display:grid;place-items:center;background:#dfebe8;border-radius:10px;width:70px;height:70px;color:#07515b}.p4-assignment svg{width:36px;height:36px}.p4-assignment small{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#6e878a}.p4-assignment strong{font-size:16px;display:block;margin-top:5px}.p4-assignment p{font-size:13px;color:#57777e;line-height:1.6;margin:5px 0 0}.p4-shortcuts{padding:9px 20px 20px}.p4-shortcuts>button{width:100%;display:flex;gap:14px;text-align:left;align-items:center;padding:15px 4px;background:none;border:0;border-bottom:1px solid #e5eeec;color:#17414b;cursor:pointer}.p4-shortcuts>button:last-child{border-bottom:0}.p4-shortcuts>button>span{width:42px;height:42px;background:#f0f6f2;border-radius:12px;display:grid;place-items:center;color:#27715f;flex-shrink:0}.p4-shortcuts svg{width:21px;height:21px}.p4-shortcuts strong{display:block;font-size:15px}.p4-shortcuts small{display:block;font-size:12px;color:#72898e;margin-top:4px}.p4-shortcuts b{margin-left:auto;font-size:20px;font-weight:400}.p4-shortcuts button:hover{background:#f5f9f7;border-radius:12px}.p4-learning-actions{display:flex;gap:24px;align-items:center;justify-content:space-between;margin:34px 0 24px}.p4-learning-actions h2{font-size:25px;line-height:1.35;letter-spacing:-.6px;margin:8px 0 10px}.p4-learning-actions p{font-size:14px;line-height:1.65;color:#668086;max-width:650px}.p4-open-sessions{padding:18px 22px;background:#fff8ef;border:1px solid #f1dfc9;border-radius:16px;margin:0 0 24px}.p4-open-sessions>strong{display:block;font-size:15px;margin-bottom:12px;color:#7b5d36}.p4-open-sessions>div{display:flex;flex-wrap:wrap;gap:8px}.p4-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.p4-topic-card{min-width:0;background:#fff;border:1px solid #dce8e7;border-radius:21px;padding:25px;display:flex;flex-direction:column;transition:box-shadow .2s,border-color .2s}.p4-topic-card:hover{border-color:#b7d8ce;box-shadow:0 10px 30px #0b44480b}.p4-topic-card.is-completed{border-top:3px solid #87bd0a}.p4-topic-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.p4-topic-number{font-size:20px;font-weight:800;color:#2c6c68;background:#edf6f2;width:46px;height:46px;display:grid;place-items:center;border-radius:13px}.p4-topic-card h3{font-size:19px;line-height:1.4;margin:20px 0 10px;letter-spacing:-.3px;color:#103942}.p4-topic-card>p{font-size:14px;line-height:1.8;color:#668187;margin:0 0 18px;flex:1}.p4-topic-card>small{font-size:12px;color:#6f878a;margin:0 0 18px;line-height:1.6}.p4-topic-card .btn{padding:10px 12px;font-size:12px;min-height:40px}.p4-topic-card .p4-actions{gap:8px}.p4-source-note{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:center;padding:22px 4px;font-size:12px;color:#778c8e}.p4-source-note a{color:#38776f;text-decoration:underline;text-underline-offset:3px}.p4-topic-reading{font-size:16px;line-height:1.85;color:#476b71}.p4-topic-reading>p{margin:0 0 22px}.p4-topic-reading>div:not(.p4-review-notice):not(.p4-inline-error){padding:20px;background:#f0f7f3;border-radius:16px;margin-bottom:24px}.p4-topic-reading>div p{margin:8px 0 0}.p4-topic-reading a{color:#07515b;text-decoration:underline}.p4-topic-reading .p4-review-notice{margin-top:24px}.p4-save-hint{font-size:13px;line-height:1.75;color:#71898d}.p4-quiz-header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:20px}.p4-quiz-header>span{font-size:13px;color:#648087}.p4-quiz-card{background:#fff;border:1px solid #d9e8e2;border-radius:23px;padding:34px;max-width:1000px;margin:0 auto;box-shadow:0 15px 40px #0e3d4310}.p4-question-meta{display:flex;justify-content:space-between;align-items:center;gap:14px}.p4-question-meta>strong{color:#69868b;font-size:13px}.p4-question-progress{height:5px;background:#ebf3f0;border-radius:4px;margin:20px 0 30px;overflow:hidden}.p4-question-progress>i{display:block;height:100%;background:linear-gradient(90deg,#07515b,#a6d914);border-radius:4px}.p4-quiz-card h2{font-size:25px;line-height:1.55;letter-spacing:-.4px;max-width:850px;margin:0 0 25px;color:#103942}.p4-options{padding:0;border:0;margin:0;min-width:0}.p4-options legend{font-size:13px;color:#6c858b;margin-bottom:12px}.p4-option{display:flex;align-items:center;gap:16px;padding:17px 18px;margin-bottom:11px;border:1.5px solid #dae6e2;border-radius:14px;cursor:pointer;transition:background .15s,border-color .15s}.p4-option input{width:18px;height:18px;accent-color:#07515b;flex-shrink:0}.p4-option>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#f1f6f3;font-weight:800;color:#749089;flex-shrink:0}.p4-option>strong{font-size:16px;font-weight:600;line-height:1.6;color:#31555d}.p4-option.is-selected{border-color:#177469;background:#edf7f1}.p4-option.is-selected>span{background:#07515b;color:#fff}.p4-option:hover{border-color:#86b8a8}.p4-quiz-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:25px;margin-top:14px;border-top:1px solid #e5eeeb}.p4-quiz-nav>small{font-size:12px;color:#7b9195;max-width:210px;text-align:center;line-height:1.6}.p4-question-dots{display:flex;flex-wrap:wrap;gap:7px;margin-top:27px}.p4-question-dots>button{width:32px;height:32px;border:1px solid #dce8e3;background:#f6f9f7;border-radius:9px;font-size:12px;color:#75908d;cursor:pointer}.p4-question-dots>button.is-answered{background:#e4f1e7;color:#3f7556;border-color:#b7d9c1}.p4-question-dots>button.is-current{background:#07515b;color:#fff;border-color:#07515b}.p4-result-summary{padding:32px;background:linear-gradient(110deg,#e9f5ee,#fff);border:1px solid #d3e4dc;border-radius:23px;margin:0 0 24px}.p4-result-summary h2{font-size:29px;letter-spacing:-.6px;margin:12px 0;color:#103942}.p4-result-summary p{font-size:15px;line-height:1.7;color:#5d7e81;margin:0 0 22px}.p4-result-list{display:grid;gap:14px}.p4-result-list>article{padding:24px 26px;background:#fff;border:1px solid #dce8e3;border-left:4px solid #81b778;border-radius:16px}.p4-result-list>article.is-wrong{border-left-color:#ff8b4c}.p4-result-top{display:flex;justify-content:space-between;gap:14px;color:#558058;font-size:13px;font-weight:700}.p4-result-list .is-wrong .p4-result-top{color:#c57235}.p4-result-top small{color:#8a9d9b;font-size:12px}.p4-result-list h3{font-size:17px;line-height:1.65;margin:14px 0 10px;color:#234c55}.p4-result-list p{font-size:14px;line-height:1.85;color:#688287;margin:0}.p4-inline-error{margin-top:16px;background:#fff0e9;border:1px solid #f3c9b4;color:#a64e28;padding:12px 15px;border-radius:12px;font-size:14px;line-height:1.7}.p4-topic-stats{padding:8px 23px 22px}.p4-topic-stats>article{padding:17px 0;border-bottom:1px solid #e9f0ed;display:grid;grid-template-columns:minmax(0,1fr) 85px 40px;align-items:center;gap:12px}.p4-topic-stats strong{display:block;color:#31545c;font-size:14px;line-height:1.5}.p4-topic-stats small{display:block;color:#7b9195;font-size:12px;line-height:1.6;margin-top:4px}.p4-topic-stats b{font-size:13px;color:#587c75;text-align:right}.p4-panel-foot{padding:17px 22px;border-top:1px solid #e5eeeb}.p4-shared-note{font-size:14px;line-height:1.75;padding:10px 13px;background:#f0f6f3;border-radius:10px;color:#527268;margin:9px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.p4-family-form{display:grid;gap:19px;min-width:0}.p4-family-form>label:not(.p4-consent-check){display:grid;gap:9px;font-size:14px;font-weight:700;color:#31545c}.p4-family-form input:not([type=checkbox]){width:100%;min-width:0;padding:13px 15px;font-size:16px;min-height:48px;border:1px solid #ceded9;background:#fff;border-radius:11px;color:#173d45;box-sizing:border-box}.p4-family-form input[readonly]{background:#f4f8f5;color:#60817c}.p4-family-form p{font-size:15px;line-height:1.8;color:#5b7b81;margin:0}.p4-family-form .p4-save-hint{font-size:13px}.p4-scope-inputs{display:grid;gap:9px;padding:0;margin:0;border:0;min-width:0}.p4-scope-inputs legend{font-size:15px;font-weight:700;color:#31545c;margin-bottom:12px}.p4-scope-inputs label{display:flex;align-items:center;gap:13px;padding:13px 15px;border:1px solid #d9e7e0;border-radius:12px;background:#fafcfb;cursor:pointer}.p4-scope-inputs input,.p4-consent-check input{width:19px;height:19px;flex-shrink:0;accent-color:#07515b}.p4-scope-inputs strong{display:block;font-size:14px;line-height:1.5}.p4-scope-inputs small{display:block;font-size:12px;line-height:1.6;color:#738b8b;margin-top:3px}.p4-scope-badges{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.p4-scope-badges>span{display:inline-flex;padding:6px 9px;border-radius:8px;background:#ecf5ee;color:#4d795f;font-size:11px;font-weight:700;line-height:1.45}.p4-family-list{padding:0 22px}.p4-family-list>article{display:flex;gap:17px;align-items:flex-start;padding:22px 0;border-bottom:1px solid #e2ece8;min-width:0}.p4-family-list>article:last-child{border-bottom:0}.p4-family-list>article>div:not(.p4-parent-avatar):not(.p4-family-actions){flex:1;min-width:0}.p4-family-list h3{font-size:17px;margin:0 0 5px;color:#234d54}.p4-family-list small{color:#77928f;font-size:12px;overflow-wrap:anywhere}.p4-parent-avatar{display:grid;place-items:center;border-radius:15px;background:#e6f2eb;color:#3f745f;width:54px;height:54px;flex-shrink:0;font-size:18px;font-weight:800}.p4-parent-avatar svg{width:27px;height:27px}.p4-family-actions{display:flex;gap:7px;flex-direction:column}.p4-family-actions .btn{font-size:12px;padding:8px 12px;min-height:35px}.p4-identity{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:24px;background:#eef5f1;border:1px dashed #bfd7cc;border-radius:18px;margin-top:22px}.p4-identity h3{font-size:17px;margin:0 0 10px;color:#345e5a}.p4-identity p{font-size:13px;color:#6c8985;line-height:1.8;max-width:760px;margin:0}.p4-identity details{margin-top:10px;font-size:12px;color:#78958c}.p4-identity code{overflow-wrap:anywhere;display:block;margin-top:8px}.p4-child-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.p4-child-card{background:#fff;border:1px solid #d9e8df;border-radius:22px;padding:26px;min-width:0}.p4-child-heading{display:flex;gap:16px;align-items:center;margin-bottom:16px}.p4-child-heading h2{font-size:22px;margin:0 0 6px;color:#214c53}.p4-child-heading p{font-size:13px;color:#75908c;line-height:1.6;margin:0}.p4-child-card .p4-actions{margin-top:22px}.p4-child-detail-heading{display:flex;justify-content:space-between;gap:22px;align-items:center;margin:32px 0 20px}.p4-child-detail-heading h2{font-size:27px;margin:10px 0;color:#254d54}.p4-consent-check{display:flex;gap:13px;align-items:flex-start;font-size:14px;line-height:1.75;color:#4e706f;padding:16px;background:#edf6f0;border-radius:12px}.p4-consent-check input{margin-top:3px}.p4-portal .btn:disabled{opacity:.48;cursor:not-allowed}.p4-portal :focus-visible,.p4-family-form :focus-visible,.p4-quiz-card :focus-visible{outline:3px solid #8ec7b4;outline-offset:3px}.p4-portal .panel-head h2{line-height:1.4}.p4-portal .panel-head p{line-height:1.7}.p4-portal .p4-record-list .btn{flex-shrink:0}
body[data-app-role=parent] .role-switch,body[data-app-role=parent] #notifications-button,body[data-app-role=parent] #weather-button,body[data-app-role=parent] .global-search,body[data-app-role=parent] #reset-demo{display:none!important}
@keyframes p4spin{to{transform:rotate(360deg)}}
@media(max-width:1150px){.p4-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.p4-learning-actions{align-items:flex-start;flex-direction:column}.p4-metric{padding:18px}.p4-two-columns{grid-template-columns:1fr}.p4-welcome{padding:29px}.p4-welcome-art{width:125px;height:125px}.p4-welcome-art>svg{width:70px;height:70px}.p4-child-grid{grid-template-columns:1fr}}
@media(max-width:650px){.p4-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.p4-metric{padding:16px;border-radius:15px}.p4-metric>strong{font-size:25px}.p4-metric>span{font-size:12px}.p4-metric>small{font-size:11px}.p4-topic-grid{grid-template-columns:1fr}.p4-welcome{padding:24px;position:relative;display:block}.p4-welcome h2{font-size:31px;padding-right:35px}.p4-welcome-art{position:absolute;right:14px;top:20px;width:62px;height:62px;opacity:.5}.p4-welcome-art>svg{width:40px;height:40px}.p4-welcome-art>span{font-size:15px;padding:3px 8px;border-radius:6px}.p4-welcome p{font-size:14px}.p4-welcome .eyebrow{font-size:9px}.p4-topic-card{padding:23px}.p4-quiz-card{padding:23px 18px;border-radius:18px}.p4-quiz-card h2{font-size:21px}.p4-option{padding:14px 12px;gap:10px}.p4-option>strong{font-size:15px}.p4-option>span{display:none}.p4-quiz-header{align-items:flex-start;flex-direction:column}.p4-quiz-nav{flex-wrap:wrap}.p4-quiz-nav>small{order:3;max-width:none;flex-basis:100%}.p4-record-list>article{padding:18px 16px;gap:11px;flex-wrap:wrap}.p4-record-list>article>.p4-state{margin-left:55px}.p4-record-end{margin-left:auto}.p4-assignment{margin:0 15px 16px;flex-wrap:wrap}.p4-assignment>img{width:95px;height:65px}.p4-result-summary{padding:24px}.p4-result-summary h2{font-size:24px}.p4-result-list>article{padding:20px}.p4-result-top{flex-direction:column;gap:5px}.p4-review-notice{padding:16px;gap:11px}.p4-review-notice strong{font-size:14px}.p4-review-notice p{font-size:13px}.p4-topic-stats{padding:5px 17px 18px}.p4-topic-stats>article{grid-template-columns:minmax(0,1fr) 55px 36px;gap:9px}.p4-family-list{padding:0 16px}.p4-family-list>article{flex-wrap:wrap}.p4-family-actions{flex-direction:row;flex-basis:100%;padding-left:70px}.p4-identity{flex-direction:column;align-items:flex-start;padding:22px}.p4-child-card{padding:22px}.p4-child-heading h2{font-size:20px}.p4-child-detail-heading{align-items:flex-start;flex-direction:column}.p4-family-form input:not([type=checkbox]){font-size:16px}}
@media(prefers-reduced-motion:reduce){.p4-spinner{animation:none}.p4-topic-card,.p4-option{transition:none}}

.p4-program-modal{width:min(1180px,calc(100vw - 32px));max-width:1180px}.p4-program-review{font-size:15px}.p4-program-intro{display:flex;gap:26px;align-items:center;margin:28px 0}.p4-program-intro h3{font-size:25px;color:#163d46;line-height:1.4;letter-spacing:-.5px;margin:10px 0}.p4-program-intro p{font-size:14px;line-height:1.85;color:#658188;max-width:680px}.p4-program-counts{display:flex;gap:28px;margin-left:auto;padding:20px 25px;background:#f0f7f2;border-radius:18px;flex-shrink:0}.p4-program-counts strong{font-size:30px;color:#256354}.p4-program-counts small{display:block;font-size:11px;font-weight:600;color:#78948c;margin-top:7px}.p4-program-outline{display:grid;gap:10px}.p4-program-outline>details{border:1px solid #dae8e2;border-radius:13px;background:#fff;overflow:hidden}.p4-program-outline summary{display:flex;align-items:center;gap:14px;padding:16px 19px;cursor:pointer;list-style:none;color:#2c5359}.p4-program-outline summary::-webkit-details-marker{display:none}.p4-program-outline summary>span{display:grid;place-items:center;width:34px;height:34px;background:#eef6f0;border-radius:9px;font-size:12px;font-weight:800;color:#6b9182;flex-shrink:0}.p4-program-outline summary>strong{font-size:15px;line-height:1.5}.p4-program-outline summary>small{margin-left:auto;white-space:nowrap;font-size:12px;color:#8a9e99}.p4-program-outline summary>b{font-weight:400;color:#6a8e85}.p4-program-outline details[open] summary{background:#f5f9f6;border-bottom:1px solid #e5eee9}.p4-program-outline details[open] summary>b{transform:rotate(45deg)}.p4-program-outline details>div{padding:20px 24px;color:#5e7b81;line-height:1.85;font-size:14px}.p4-program-outline h4{margin:20px 0 8px;color:#38645e;font-size:14px}.p4-program-outline p{margin:0 0 10px}.p4-program-outline a{color:#206c61;text-decoration:underline;text-underline-offset:3px}.p4-program-outline ol,.p4-topic-reading ol{padding-left:22px}.p4-program-outline li,.p4-topic-reading li{margin-top:8px}.p4-program-review .p4-source-note{padding-top:24px}
@media(max-width:650px){.p4-program-intro{align-items:flex-start;flex-direction:column;gap:13px}.p4-program-intro h3{font-size:23px}.p4-program-counts{margin-left:0;width:100%;justify-content:space-around;box-sizing:border-box}.p4-program-outline summary{padding:13px;gap:10px}.p4-program-outline summary>strong{font-size:14px}.p4-program-outline summary>small{display:none}.p4-program-outline details>div{padding:18px}.p4-program-modal .modal-body{padding:20px}}

/* Source-based B review: reader-friendly expert pack, never an approval screen. */
.p4-review-audit{border:1px solid #d6e7e2;background:#f1f7f4;border-radius:14px;padding:18px 20px;margin:20px 0;color:#345c60;display:flex;gap:10px 20px;flex-wrap:wrap;align-items:center}.p4-review-audit p{flex-basis:100%;margin:0;font-size:13px;line-height:1.65}.p4-review-pending{background:#fff0e6;color:#a54519;border-radius:99px;padding:7px 12px;font-size:12px;font-weight:800}.p4-review-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:22px 0}.p4-review-nav>button{border:1px solid #d9e6e5;border-radius:10px;background:#fff;color:#4c7175;font:inherit;font-weight:800;padding:11px 16px;cursor:pointer}.p4-review-nav>button.is-active{background:#07515b;color:white;border-color:#07515b}.p4-review-nav>a{margin-left:auto}.p4-review-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(230px,2fr);gap:12px 16px;margin:16px 0}.p4-review-toolbar label{display:grid;gap:7px;color:#385f64;font-weight:800;font-size:12px}.p4-review-toolbar input,.p4-review-toolbar select{width:100%;min-width:0;border:1px solid #d5e3e2;border-radius:10px;padding:12px;color:#183d44;background:#fff;font:inherit;font-size:14px}.p4-review-toolbar p{grid-column:1/-1;color:#6a8489;font-size:12px;margin:0}.p4-review-questions{display:grid;gap:10px}.p4-review-question{border:1px solid #d9e7e5;border-radius:12px;background:#fff;overflow:hidden}.p4-review-question summary{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;cursor:pointer;list-style:none;color:#163d45}.p4-review-question summary::-webkit-details-marker{display:none}.p4-review-question summary strong{flex:1;line-height:1.65;font-size:14px}.p4-review-question summary>b{font-size:18px;color:#6a878a}.p4-review-question[open] summary{background:#eff6f3;border-bottom:1px solid #dfebe7}.p4-review-question[open] summary>b{transform:rotate(45deg)}.p4-review-qid{font-size:11px;line-height:1.5;color:#5b777c;padding:4px 6px;background:#eef5f3;border-radius:6px;white-space:nowrap}.p4-review-question>div{padding:18px 22px;font-size:14px;line-height:1.75;color:#45696f}.p4-review-topic{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:#6b878b;margin-bottom:12px}.p4-review-options{padding-left:23px;display:grid;gap:8px}.p4-review-options li{padding:8px 12px}.p4-review-options li.is-correct{background:#edf6e6;border-radius:8px;color:#36610c}.p4-review-options li b{display:inline-block;margin-left:12px;font-size:11px}.p4-review-references{display:grid;gap:7px;margin:14px 0;padding:0;list-style:none;font-size:12px}.p4-review-references li{display:flex;gap:6px 12px;flex-wrap:wrap;align-items:baseline}.p4-review-references a{color:#07515b;text-decoration:underline;text-underline-offset:3px}.p4-review-references span{color:#6d868a}.p4-review-coverage-notice{border:1px solid #f0dcc2;background:#fff9ef;border-radius:14px;padding:20px 22px;color:#71522c;font-size:14px;line-height:1.75}.p4-review-coverage-notice h3{margin:0 0 10px}.p4-review-coverage-notice p{margin:0 0 10px}.p4-review-coverage-notice ul{margin-bottom:0}.p4-review-coverage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.p4-review-coverage-grid article{border:1px solid #dbe7e5;border-radius:12px;padding:18px;font-size:13px;line-height:1.7;color:#57777c}.p4-review-coverage-grid h4{color:#1e464d;font-size:14px;margin:0 0 5px}.p4-review-coverage-grid span{font-size:11px;color:#947127}.p4-review-coverage-grid ul{padding-left:18px;margin-bottom:0}.p4-review-changes{padding:18px 0;color:#4b6e74;line-height:1.8}.p4-review-changes small{display:block;color:#799095;font-size:11px}.p4-history{border:1px solid #d7e5e2;background:#fff;border-radius:18px;padding:22px;margin:20px 0}.p4-history h3{margin:0 0 6px;color:#183e46;font-size:18px}.p4-history>div>p{margin:0;color:#6d898e;font-size:13px;line-height:1.6}.p4-history-list{display:grid;gap:0;margin-top:14px}.p4-history-list article{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0;border-top:1px solid #e7efed}.p4-history-list article>div{display:grid;gap:5px}.p4-history-list strong{font-size:14px;color:#204850}.p4-history-list span{font-size:12px;color:#5f7e83}.p4-history-list small,.p4-result-version{font-size:11px;color:#7a8f94}.p4-result-list .p4-review-references{margin-top:14px;padding-top:12px;border-top:1px solid #e4eeeb}
@media(max-width:680px){.p4-review-nav>a{margin-left:0;width:100%;justify-content:center}.p4-review-toolbar,.p4-review-coverage-grid{grid-template-columns:1fr}.p4-review-question summary{gap:8px;padding:14px 12px;flex-wrap:wrap}.p4-review-question summary strong{flex-basis:calc(100% - 35px);order:2}.p4-review-qid{flex-basis:100%;width:fit-content}.p4-review-question summary>b{order:3}.p4-review-question>div{padding:16px 14px}.p4-review-options li b{display:block;margin-left:0}.p4-history{padding:18px 16px}.p4-history-list article{align-items:flex-start;flex-direction:column;gap:12px}.p4-history-list .btn{width:100%;justify-content:center}.p4-review-audit{padding:16px}}

/* Visual and multiple-answer learning tasks. */
.p4-question-kind{display:inline-flex;align-items:center;border:1px solid #d6e4e2;background:#f0f6f5;color:#45696f;border-radius:7px;padding:6px 10px;font-size:12px;font-weight:750;line-height:1.45;margin:14px 0 5px}.p4-question-kind.is-multiple{border-color:#c8dca6;background:#f2f8e8;color:#4a681d}.p4-question-image{margin:24px 0;background:#f4f8f7;border:1px solid #dce9e6;border-radius:16px;overflow:hidden}.p4-question-image>a{display:flex;justify-content:center;align-items:center;background:#fff;padding:16px}.p4-question-image img{display:block;width:100%;max-width:760px;height:auto;max-height:520px;object-fit:contain}.p4-question-image figcaption{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 16px;color:#5c7a7f;font-size:12px;line-height:1.65}.p4-question-image figcaption a{white-space:nowrap;color:#07515b;text-decoration:underline;text-underline-offset:3px}.p4-multiple-hint{font-size:13px;line-height:1.6;color:#617f84;margin:0 0 16px}.p4-option{min-height:58px}.p4-option.is-multiple>span{border-radius:7px;display:flex;align-items:center;justify-content:center;border:2px solid #b9cfcb;background:#fff;min-width:25px;height:25px;font-size:16px}.p4-option.is-multiple.is-selected>span{background:#07515b;border-color:#07515b;color:#fff}.p4-option:focus-within{outline:3px solid #b8ddea;outline-offset:3px}.p4-result-options{list-style:none;display:grid;gap:9px;padding:0;margin:20px 0}.p4-result-options li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:start;gap:10px 12px;padding:13px;border:1px solid #e0e9e7;border-radius:10px;color:#4e6e74;font-size:14px;line-height:1.65}.p4-result-options li.is-answer-correct{background:#f0f7e7;border-color:#d1e3b7;color:#395e23}.p4-result-options li.is-answer-incorrect{background:#fff4ee;border-color:#f0cab7;color:#8c4d34}.p4-result-letter{display:flex;align-items:center;justify-content:center;min-width:26px;height:26px;border-radius:6px;background:#edf3f1;font-size:12px;font-weight:800}.p4-result-options li>div{display:flex;flex-wrap:wrap;gap:5px}.p4-result-options b{font-size:10px;line-height:1.4;padding:4px 6px;border-radius:5px;white-space:nowrap}.p4-selected-badge{background:#dcebe8;color:#07515b}.p4-correct-badge{background:#dceec3;color:#3c621c}.p4-format-summary{display:flex;gap:10px 22px;align-items:center;flex-wrap:wrap;border:1px solid #dbe8e1;background:#f6faf4;border-radius:12px;padding:15px 20px;margin:16px 0 22px;color:#496c5d;font-size:13px}.p4-format-summary b{font-size:20px;margin-right:5px;color:#07515b}.p4-format-summary p{flex-basis:100%;font-size:12px;color:#688177;margin:0}.p4-review-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,1.25fr)}.p4-review-toolbar p{grid-column:1/-1}.p4-review-question .p4-question-image{margin:16px 0 20px}.p4-review-question .p4-question-image img{max-height:430px}.p4-covered-items{color:#416a55}
@media(max-width:680px){.p4-question-image{margin:18px 0;border-radius:12px}.p4-question-image>a{padding:6px}.p4-question-image img{max-height:none}.p4-question-image figcaption{align-items:flex-start;flex-direction:column;padding:11px 12px}.p4-question-kind{font-size:11px}.p4-result-options li{grid-template-columns:26px minmax(0,1fr);padding:12px 10px}.p4-result-options li>div{grid-column:2;gap:5px}.p4-review-toolbar{grid-template-columns:1fr}.p4-format-summary{padding:14px 16px;gap:10px 16px}.p4-option{min-height:60px}.p4-multiple-hint{font-size:12px}}

/* Readable topic explanations shared by the candidate and teacher views. */
.p4-study-notes{display:grid;gap:18px;margin:24px 0}.p4-study-notes section{padding:18px 20px;border:1px solid #d9e6e8;border-left:4px solid #a4d800;border-radius:12px;background:#f7faf9}.p4-study-notes h4{margin:0 0 8px;font-size:16px;line-height:1.4;color:#10343e}.p4-study-notes p{margin:0;font-size:15px;line-height:1.7;color:#325562;white-space:pre-line}.p4-topic-reading .p4-study-notes{background:none;padding:0}.p4-topic-reading .p4-study-notes section{background:#f7faf9}.p4-program-outline .p4-study-notes{padding:0}.p4-program-outline .p4-study-notes h4{margin-top:0}@media(max-width:600px){.p4-study-notes section{padding:16px}.p4-study-notes h4{font-size:16px}.p4-study-notes p{font-size:15px}}

/* Platform payments: provider status and immutable order history. */
.p5-payments{min-width:0;color:#365b63}.p5-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin:6px 0 20px}.p5-heading h3{font-size:23px;margin:0 0 9px;color:#143f49}.p5-heading p{font-size:14px;line-height:1.75;margin:0;color:#668188;max-width:720px}.p5-mode{display:inline-flex;padding:7px 11px;white-space:nowrap;border-radius:8px;background:#edf2f3;color:#587079;font-size:11px;font-weight:800}.p5-mode.is-test{background:#fff2d9;color:#8a641d}.p5-mode.is-live{background:#e5f4eb;color:#2a654c}.p5-readiness{padding:20px 22px;border:1px solid #e7d9bc;background:#fff9ef;border-radius:14px;margin-bottom:20px}.p5-readiness.is-ready{background:#eef7f2;border-color:#cee4d6}.p5-readiness strong{display:block;font-size:15px;line-height:1.5;color:#5f5738}.p5-readiness p,.p5-readiness li{font-size:13px;line-height:1.7}.p5-readiness p{margin:7px 0 0}.p5-readiness ul{padding-left:20px;margin:9px 0 0}.p5-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0}.p5-actions .btn{min-height:42px}.p5-payments .btn:disabled{opacity:.5;cursor:not-allowed}.p5-order-list{display:grid;gap:12px}.p5-order{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;border:1px solid #d9e6e3;border-radius:13px;background:#fff;padding:19px 20px;min-width:0}.p5-order strong{display:block;font-size:15px;color:#214a52;line-height:1.6}.p5-order small{display:block;font-size:12px;color:#789096;margin-top:5px;line-height:1.6;overflow-wrap:anywhere}.p5-order-end{text-align:right}.p5-order-end .btn{margin-top:9px}.p5-status{display:inline-flex;padding:5px 9px;background:#edf3f2;border-radius:7px;font-size:11px;font-weight:800;line-height:1.5;color:#4b7378}.p5-status.is-paid{background:#e6f4e6;color:#39672d}.p5-status.is-attention{background:#fff0e8;color:#994c2c}.p5-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:20px 0;padding:0}.p5-facts>div{padding:13px 0;border-bottom:1px solid #e4eeeb;min-width:0}.p5-facts dt{font-size:12px;color:#789096;margin:0 0 7px}.p5-facts dd{font-size:14px;line-height:1.65;color:#244f57;margin:0;overflow-wrap:anywhere}.p5-facts dd strong{font-size:23px}.p5-history{margin:22px 0}.p5-history h4{font-size:16px;color:#2a535b;margin-bottom:12px}.p5-history article{border-left:2px solid #d6e7e0;padding:3px 0 14px 17px;margin-left:4px}.p5-history article strong{font-size:13px;display:block;line-height:1.6}.p5-history article small,.p5-history article p{display:block;font-size:12px;color:#739095;line-height:1.7;margin:5px 0 0;overflow-wrap:anywhere}.p5-form{margin-top:20px}.p5-form .form-note{line-height:1.75}.p5-form label{line-height:1.6}.p5-form input,.p5-form select,.p5-form textarea{min-width:0;max-width:100%;font-size:16px}.p5-form .p5-checkbox{display:flex;align-items:flex-start;gap:11px;font-size:14px;line-height:1.7}.p5-checkbox input{width:18px;height:18px;flex-shrink:0;margin-top:4px}.p5-plain-note{font-size:13px;line-height:1.8;color:#6b858a;margin:18px 0;overflow-wrap:anywhere}.p5-error{padding:13px 16px;border:1px solid #ecc8b6;background:#fff2ea;color:#974929;border-radius:10px;line-height:1.65;font-size:14px}.p5-error[hidden]{display:none}.p5-student-entry{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:22px;margin:20px 0;border:1px solid #d5e5df;border-radius:16px;background:#f0f7f3}.p5-student-entry h3{font-size:18px;color:#214c52;margin:0 0 8px}.p5-student-entry p{font-size:13px;line-height:1.8;color:#66838a;margin:0}.p5-student-entry .btn{flex-shrink:0}.p5-payments :focus-visible{outline:3px solid #92c7b8;outline-offset:3px}.p5-payment-modal{width:min(1080px,calc(100vw - 32px));max-width:1080px}.billing-tabs{flex-wrap:wrap}
@media(max-width:650px){.p5-heading{flex-direction:column;gap:12px}.p5-readiness{padding:17px}.p5-order{grid-template-columns:1fr;padding:16px;gap:12px}.p5-order-end{text-align:left;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.p5-order-end .btn{margin:0 0 0 auto}.p5-facts{grid-template-columns:1fr}.p5-student-entry{align-items:flex-start;flex-direction:column;padding:19px}.p5-student-entry .btn{width:100%;justify-content:center}.p5-actions>.btn{flex:1;justify-content:center}.p5-payment-modal .modal-body{padding:20px}.p5-form{grid-template-columns:1fr}.p5-mode{white-space:normal}}

.billing-summary[hidden],.billing-shadow-month[hidden]{display:none!important}

/* Canonical current-week calendar; the existing grid remains horizontally scrollable. */
.pilot-calendar-scroll{overflow:auto}.pilot-week-grid{grid-template-columns:48px repeat(7,minmax(125px,1fr));min-width:925px}.pilot-week-grid .week-day span{white-space:normal;font-size:11px;line-height:1.5}.calendar-list-date strong{font-size:13px}.calendar-filter #pilot-calendar-filters{display:grid;gap:12px}

/* School invoice payments use the existing finance modal and school invoice PDFs. */
.sip-modal{width:min(1040px,calc(100vw - 32px))}
.sip-panel{display:grid;gap:24px;min-width:0}
.sip-panel section{min-width:0}
.sip-panel h3{margin:0 0 14px}
.sip-invoices{display:grid;gap:12px}
.sip-invoice{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px;border:1px solid var(--line,#e4e9ef);border-radius:14px}
.sip-invoice>div{min-width:0}
.sip-invoice strong,.sip-invoice small{display:block;overflow-wrap:anywhere}
.sip-invoice small{margin-top:6px;color:var(--muted,#68768a);line-height:1.5}
.sip-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
.sip-invoice>.sip-actions{justify-content:flex-end;max-width:340px}
.sip-reasons{margin:10px 0 0;padding-left:18px;color:#86631a;font-size:12px;line-height:1.65}
.sip-separation{margin:0;color:var(--muted,#68768a);font-size:13px;line-height:1.6}
.sip-setup{padding:18px;background:var(--surface-soft,#f7f9fc);border-radius:14px}
.sip-school-select{display:grid;gap:8px;max-width:440px;font-size:13px;font-weight:600}
.sip-school-select select{width:100%;min-width:0;padding:10px;border:1px solid var(--line,#e4e9ef);border-radius:9px;background:white}
.sip-json{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-width:100%;padding:14px;border-radius:10px;background:#f3f6fa;font-size:12px}
#sip-form input,#sip-form select,#sip-form textarea{max-width:100%;min-width:0}
@media(max-width:650px){.sip-modal{width:calc(100vw - 20px)}.sip-invoice{display:grid;gap:14px;padding:14px}.sip-invoice>.sip-actions{justify-content:flex-start;max-width:none}.sip-invoice>.sip-actions>strong{width:100%}.sip-panel .p5-facts{grid-template-columns:1fr}.sip-actions .btn{white-space:normal;height:auto;min-height:38px}.sip-setup{padding:14px}}

/* BUSINESS_OPERATIONS_UI_V1 */
.bo-workspace{display:grid;gap:18px;min-width:0}.bo-toolbar,.bo-scope,.bo-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.bo-toolbar{justify-content:space-between}.bo-scope label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#4c6971}.bo-scope select{min-width:180px;max-width:360px;border:1px solid #d7e3e4;border-radius:11px;padding:11px 14px;background:#fff;color:#12333f;font-size:14px}.bo-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid #d9e4e5;padding-bottom:10px}.bo-tabs button{border:0;background:transparent;color:#5a747d;padding:12px 17px;border-radius:12px;font-weight:700;font-size:14px;min-height:44px}.bo-tabs button[aria-pressed=true]{background:#083e49;color:#fff;box-shadow:0 4px 12px #073b4914}.bo-notice{border:1px solid #d9e5e5;border-radius:12px;padding:13px 16px;color:#4e6a73;background:#f6fbfa;font-size:13px;line-height:1.6}.bo-panel{background:#fff;border:1px solid #dce6e7;border-radius:20px;overflow:hidden;min-width:0;box-shadow:0 10px 32px #072e3710}.bo-panel>header{display:flex;justify-content:space-between;gap:20px;padding:22px;border-bottom:1px solid #e3ebec;align-items:center}.bo-panel h2{margin:0 0 7px;font-size:20px;color:#12333f}.bo-panel header p{margin:0;color:#637c84;font-size:13px;line-height:1.6}.bo-readiness{padding:18px 22px;background:#f7faf9;line-height:1.7;font-size:14px}.bo-readiness p{margin:7px 0;color:#617981}.bo-readiness>strong{color:#143c47}.bo-issues{margin:8px 0;padding-left:20px;color:#86621a;font-size:13px;line-height:1.7}.bo-list{display:grid}.bo-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid #e7eeee;min-width:0}.bo-row:last-child{border-bottom:0}.bo-row>div{min-width:0}.bo-row strong,.bo-row small{display:block;overflow-wrap:anywhere}.bo-row strong{font-size:15px;color:#133846}.bo-row p{margin:6px 0;color:#657d86;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.bo-row small{color:#71878f;font-size:12px;margin-top:6px;line-height:1.5}.bo-tag{display:inline-flex;padding:6px 10px;background:#eef4f6;color:#4c6c7a;border-radius:8px;font-size:12px;font-weight:700;line-height:1.3;margin-bottom:7px;overflow-wrap:anywhere}.bo-issued,.bo-delivered,.bo-paid,.bo-completed{background:#e9f7ef;color:#18714e}.bo-unknown,.bo-execution_pending,.bo-fiscal_pending{background:#fff4d7;color:#8b6310}.bo-failed,.bo-fiscal_failed,.bo-rejected{background:#ffede8;color:#b14328}.bo-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}.bo-stats>div{background:#fff;border:1px solid #dce6e7;border-radius:17px;padding:19px}.bo-stats span{display:block;color:#637d85;font-size:13px}.bo-stats strong{display:block;font-size:25px;margin-top:9px;color:#103640}.bo-empty{padding:40px 24px;text-align:center;color:#6e858c}.bo-empty>span{font-size:32px;color:#68a7a7}.bo-empty h3{font-size:16px;color:#244b56;margin:14px 0 8px}.bo-empty p{font-size:13px}.bo-inset{padding:18px 22px}.bo-loading{padding:25px;color:#617982}.bo-error{background:#fff0eb;color:#a63721;padding:14px;border-radius:11px;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.bo-error[hidden]{display:none}.bo-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.bo-form>label{display:grid;align-content:start;gap:8px;color:#244854;font-size:14px;font-weight:600;min-width:0}.bo-form input,.bo-form select,.bo-form textarea{min-height:46px;width:100%;box-sizing:border-box;border:1px solid #cfdddf;border-radius:10px;padding:11px 13px;background:#fff;color:#153843;font-size:16px;font-family:inherit;min-width:0;max-width:100%}.bo-form textarea{resize:vertical}.bo-form input:focus,.bo-form select:focus,.bo-form textarea:focus{outline:2px solid #90c5bd;outline-offset:2px}.bo-form .bo-check{display:flex;align-items:flex-start;gap:10px;font-weight:500;line-height:1.5}.bo-form .bo-check input{width:20px;height:20px;min-height:20px;flex:0 0 20px;accent-color:#07535b}.bo-form>p,.bo-form>.bo-error,.bo-form-note,.bo-preview{grid-column:1/-1;line-height:1.7;color:#657f87;margin:0;font-size:14px}.bo-form>label small{font-weight:400;font-size:12px}.bo-modal{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px)}.bo-document-modal{width:min(1120px,calc(100vw - 32px));max-height:calc(100dvh - 32px)}.bo-document-head{padding:12px 0;line-height:1.7}.bo-document-head p{color:#59747e;margin:6px 0;overflow-wrap:anywhere}.bo-document-head>strong{display:block;font-size:23px}.bo-document-head small{color:#647d85}.bo-pdf-holder{background:#e9eeee;border-radius:13px;padding:12px;min-height:260px}.bo-pdf-holder>p{padding:20px;line-height:1.7}.bo-pdf-frame{display:block;border:0;background:#fff;width:100%;height:70vh;min-height:420px;border-radius:5px}.bo-actions .btn{height:auto;min-height:40px;white-space:normal;line-height:1.4;padding:10px 14px}.bo-actions .btn:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:650px){.bo-toolbar{align-items:stretch}.bo-scope{display:grid;grid-template-columns:1fr 1fr;width:100%}.bo-scope label{min-width:0}.bo-scope select{min-width:0;width:100%;font-size:16px}.bo-tabs{display:grid;grid-template-columns:1fr 1fr}.bo-tabs button{padding:11px 8px;font-size:13px}.bo-panel>header{display:grid;padding:18px}.bo-panel h2{font-size:19px}.bo-row{display:grid;grid-template-columns:1fr auto;padding:17px;gap:12px}.bo-row>.bo-actions,.bo-row>.btn{grid-column:1/-1;justify-self:start}.bo-row>div:nth-child(2){text-align:right;max-width:150px}.bo-form{grid-template-columns:1fr}.bo-modal,.bo-document-modal{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.bo-inset,.bo-readiness{padding:17px}.bo-stats{grid-template-columns:1fr 1fr;gap:9px}.bo-stats>div{padding:15px}.bo-stats strong{font-size:21px}.bo-pdf-frame{min-height:380px;height:64vh}}

/* FINANCIAL_ADJUSTMENTS_UI_V1 */
.bo-money-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin:14px 0;min-width:0}.bo-money-grid>div{min-width:0}.bo-money-grid dt{font-size:12px;color:#637d85;line-height:1.5}.bo-money-grid dd{margin:4px 0 0;font-size:16px;font-weight:700;color:#123e49;overflow-wrap:anywhere}.bo-balance-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(280px,2fr);align-items:start}.bo-balance-row>.bo-actions{grid-column:1/-1}.bo-order-check{display:flex;gap:8px;align-items:center;font-size:12px;margin-bottom:12px}.bo-order-check input{width:20px;height:20px;accent-color:#07535b}.bo-credit-close,.bo-school-notice{padding:12px 15px;border-radius:10px;background:#eaf6f0;color:#205c48;line-height:1.6}.bo-export-form{padding:22px}.bo-mapping{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border:1px solid #d5e3e3;border-radius:12px;padding:18px;min-width:0}.bo-mapping legend{font-weight:700;color:#244854;padding:0 8px}.bo-mapping>p{grid-column:1/-1;margin:0;font-size:13px;line-height:1.6;color:#647c84}.bo-mapping>label{display:grid;gap:8px;font-size:13px;min-width:0}.bo-validation{padding-left:22px;font-size:13px;line-height:1.7;color:#86621a;overflow-wrap:anywhere}.bo-export-actions{grid-column:1/-1;flex-wrap:wrap}.bo-export-documents{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:18px}.bo-export-documents>div{padding:12px;border:1px solid #e0e9e9;border-radius:10px;min-width:0}.bo-export-documents strong,.bo-export-documents small{display:block;overflow-wrap:anywhere}.bo-export-documents small{margin-top:6px;color:#627b84;font-size:12px;line-height:1.6}
@media(max-width:650px){.bo-balance-row{grid-template-columns:1fr}.bo-balance-row>div:nth-child(2){max-width:none;text-align:left}.bo-balance-row>.bo-money-grid{grid-column:1/-1}.bo-money-grid{gap:12px}.bo-money-grid dd{font-size:15px}.bo-export-form{padding:17px}.bo-mapping{grid-template-columns:1fr;padding:14px}.bo-export-actions .btn{width:100%;justify-content:center}.bo-export-documents{grid-template-columns:1fr}.bo-scope:has(>label:only-child){grid-template-columns:1fr}}

/* Connected workflows use the same navigation style as existing pages. */
.workflow-nav-link{text-decoration:none}
