
:root{--bg:#f4f7ff;--card:#fff;--ink:#1f2340;--muted:#6d7390;--primary:#6c5ce7;--primary2:#8e7dff;--success:#20bf6b;--danger:#eb3b5a;--warning:#f7b731;--shadow:0 18px 50px rgba(61,62,110,.14)}
*{box-sizing:border-box} body{margin:0;min-height:100vh;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:radial-gradient(circle at top left,rgba(108,92,231,.18),transparent 34%),var(--bg);padding:16px}
button,input{font:inherit}.app{width:min(100%,980px);margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}.brand{font-weight:950;font-size:clamp(1.3rem,4vw,2rem)}.topstats{display:flex;gap:8px;flex-wrap:wrap}.pill{background:#fff;border:1px solid rgba(108,92,231,.12);box-shadow:0 8px 24px rgba(61,62,110,.08);padding:10px 14px;border-radius:999px;font-weight:850;white-space:nowrap}.coin{display:inline-grid;place-items:center;width:1.25em;height:1.25em;border-radius:50%;background:linear-gradient(135deg,#ffe36e,#efaa00);border:2px solid #a96f00;color:#6a4200;font-size:.78em;font-weight:950;vertical-align:-.1em}
.card{background:rgba(255,255,255,.96);box-shadow:var(--shadow);border-radius:24px;padding:clamp(20px,4vw,38px)}.screen{display:none}.screen.active{display:block}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2rem,7vw,3.7rem);letter-spacing:-.05em;margin-bottom:8px}h2{font-size:clamp(1.5rem,5vw,2.4rem)}.lead{color:var(--muted);font-size:1.02rem}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mode-btn,.main-btn,.secondary-btn,.small-btn{border:0;border-radius:17px;padding:16px;cursor:pointer;font-weight:900;touch-action:manipulation}.mode-btn{min-height:104px;background:#f4f1ff;text-align:left;display:flex;flex-direction:column;justify-content:space-between;border:2px solid transparent}.mode-btn.selected{border-color:var(--primary);box-shadow:0 10px 25px rgba(108,92,231,.15)}.mode-title{font-size:1.12rem}.mode-sub{color:var(--muted);font-weight:700;font-size:.9rem}.section-title{margin:24px 0 10px;font-weight:900}.operation-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.op-btn{background:#eef1f8;border:2px solid transparent;border-radius:15px;padding:13px;font-weight:900;cursor:pointer}.op-btn.selected{border-color:var(--primary);background:#eeeaff;color:var(--primary)}
.main-btn{width:100%;margin-top:22px;background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;box-shadow:0 12px 28px rgba(108,92,231,.25)}.secondary-btn{width:100%;margin-top:10px;background:#edf0f7;color:var(--ink)}.menu-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:12px}.menu-actions .secondary-btn{margin:0}.hero-card{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#fff7df,#f4f1ff);padding:16px;border-radius:18px;margin-bottom:22px;position:relative;overflow:hidden}.hero-avatar{font-size:4rem;position:relative;z-index:2}.hero-info{flex:1;position:relative;z-index:2}.hero-info strong{display:block;font-size:1.15rem}.hero-pets{font-size:1.8rem;margin-top:6px}.hero-effect{position:absolute;inset:0;pointer-events:none;font-size:1.3rem;opacity:.7}.hero-effect span{position:absolute}.hero-effect span:nth-child(1){top:8px;left:14px}.hero-effect span:nth-child(2){top:16px;right:22px}.hero-effect span:nth-child(3){bottom:12px;left:45%}.avatar-picker{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:14px 0}.avatar-option{border:3px solid transparent;border-radius:18px;background:#f5f7fb;padding:10px;cursor:pointer;display:grid;place-items:center}.avatar-option svg{width:58px;height:58px;display:block}.hero-avatar svg{width:72px;height:72px;display:block}.avatar-option.selected{border-color:var(--primary);background:#eeeaff;box-shadow:0 8px 20px rgba(108,92,231,.16)}.equipped-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.equipped-chip{background:#fff;border-radius:999px;padding:6px 10px;font-size:.88rem;font-weight:800;border:1px solid #e7e9f2}.hero-card.space-theme .hero-info,.hero-card.space-theme .hero-info strong,.hero-card.space-theme .mode-sub{color:#fff}.hero-card.space-theme .equipped-chip{background:rgba(15,18,60,.72);color:#fff;border-color:rgba(255,255,255,.22);box-shadow:0 4px 12px rgba(0,0,0,.18)}.hero-card.space-theme .small-btn{background:#7d6cff;color:#fff;box-shadow:0 6px 16px rgba(0,0,0,.22)}.hero-card.space-theme .hero-pets{filter:drop-shadow(0 2px 3px rgba(0,0,0,.6))}.hero-card.space-theme .hero-effect{filter:drop-shadow(0 2px 4px rgba(0,0,0,.55))}.category-title{margin:24px 0 10px;font-size:1.15rem}.profile-box{background:#f6f8fc;padding:16px;border-radius:18px;margin-top:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.text-input,.answer{width:100%;border:3px solid #dfe3ef;border-radius:16px;padding:13px;background:#fbfcff;outline:none}.text-input:focus,.answer:focus{border-color:var(--primary);box-shadow:0 0 0 5px rgba(108,92,231,.11)}.small-btn{background:var(--primary);color:#fff}.credentials{margin-top:12px;padding:13px;border-radius:14px;background:#eafaf2;font-weight:800}
.game-meta{display:flex;justify-content:space-between;color:var(--muted);font-weight:850;gap:10px;flex-wrap:wrap}.live-time{padding:8px 12px;border-radius:999px;background:#eefaf4;color:#18794e;font-weight:900}.daily-goal-box{margin:16px 0;padding:16px;border-radius:18px;background:#f6f3ff;border:2px solid #ded6ff}.daily-goal-box.done{background:#eafaf2;border-color:#75d5a5}.daily-goal-message{margin-top:10px;font-weight:900;color:var(--success)}.parent-lock{max-width:420px;margin:30px auto;text-align:center}.pin-input{width:180px;text-align:center;font-size:2rem;letter-spacing:.35em;padding:14px;border:3px solid #dfe3ef;border-radius:16px}.parent-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.mission-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:16px}.mission-card{background:#f5f7fb;border-radius:17px;padding:16px;border:2px solid transparent}.mission-card.done{background:#eafaf2;border-color:#75d5a5}.mission-card h3{margin-bottom:7px}.mission-progress{height:10px;background:#e4e8f0;border-radius:999px;overflow:hidden;margin-top:10px}.mission-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--primary),var(--success))}.world-map{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin-top:18px}.world-card{border-radius:22px;padding:22px;min-height:180px;position:relative;overflow:hidden;border:3px solid transparent}.world-card.locked{filter:grayscale(.7);opacity:.65}.world-card.completed{border-color:var(--success)}.world-card h3{font-size:1.4rem}.world-progress{height:12px;background:rgba(255,255,255,.65);border-radius:999px;overflow:hidden;margin-top:14px}.world-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--primary),var(--success))}.world-forest{background:linear-gradient(135deg,#dff7df,#9ed8ab)}.world-castle{background:linear-gradient(135deg,#ece4ff,#c8b2ff)}.world-volcano{background:linear-gradient(135deg,#ffe1ce,#ff9f76)}.world-space{background:linear-gradient(135deg,#171b4b,#4b3f91);color:white}.parent-settings{background:#f6f3ff;border:2px solid #ded6ff;border-radius:18px;padding:16px;margin:18px 0}.settings-row{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.number-input{width:100px;padding:10px;border:2px solid #dfe3ef;border-radius:12px;font-weight:900}.weak-list{display:grid;gap:10px;margin-top:12px}.weak-item{display:flex;justify-content:space-between;gap:10px;padding:12px;border-radius:14px;background:#fff2f4}.backup-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.hidden-file{display:none}.goal-progress{height:12px;background:#e6e9f2;border-radius:999px;overflow:hidden;margin-top:10px}.goal-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--primary),var(--success));width:0;transition:width .3s ease}.badge-row{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:14px 0}.badge{padding:8px 13px;border-radius:999px;background:#f1efff;color:var(--primary);font-weight:900}.progress-wrap{height:12px;background:#eceef5;border-radius:999px;overflow:hidden}.progress{height:100%;background:linear-gradient(90deg,var(--success),#55efc4);width:0;transition:width .2s}.question{text-align:center;font-size:clamp(3rem,12vw,7rem);font-weight:950;letter-spacing:-.05em;margin:32px 0 20px}.answer-wrap{display:flex;justify-content:center}.answer{max-width:260px;text-align:center;font-size:clamp(2rem,7vw,3rem);font-weight:950}.feedback{min-height:34px;text-align:center;margin-top:16px;font-weight:900;font-size:1.12rem}.ok{color:var(--success)}.bad{color:var(--danger)}
.result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.stat-card{background:#f5f7fb;border-radius:16px;padding:16px;text-align:center}.stat-card strong{display:block;font-size:1.45rem}.stat-card span{color:var(--muted);font-weight:750;font-size:.88rem}.list{display:grid;gap:12px;margin-top:16px}.list-item{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f6f8fc;border-radius:16px;padding:15px}.danger-item{background:#fff2f4;border:2px solid #ffd5dd}.count{font-weight:900;color:var(--danger);white-space:nowrap}.empty{text-align:center;padding:28px;background:#f5f7fb;border-radius:17px;color:var(--muted);font-weight:850}
.shop-grid,.achievement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.shop-item,.achievement{background:#f5f7fb;border-radius:17px;padding:17px;border:2px solid transparent;position:relative;overflow:hidden}.shop-item[data-rarity="common"]{border-color:#d9dee8}.shop-item[data-rarity="rare"]{border-color:#4da3ff;background:#f1f7ff}.shop-item[data-rarity="epic"]{border-color:#9b59ff;background:#f8f1ff}.shop-item[data-rarity="legendary"]{border-color:#f2b400;background:linear-gradient(135deg,#fff8df,#fff1b8);box-shadow:0 0 0 3px rgba(242,180,0,.12),0 12px 24px rgba(242,180,0,.16)}.rarity-badge{position:absolute;top:10px;right:10px;padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:900}.rarity-common{background:#e8ebf1;color:#596071}.rarity-rare{background:#ddecff;color:#1765b7}.rarity-epic{background:#eadcff;color:#6f28b8}.rarity-legendary{background:#ffe58a;color:#7a5400}.collection-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.filter-btn{border:0;border-radius:999px;padding:10px 14px;font-weight:850;cursor:pointer;background:#edf0f7;color:var(--ink)}.filter-btn.active{background:var(--primary);color:#fff}.collection-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}.collection-card{background:#f5f7fb;border-radius:15px;padding:14px;text-align:center}.collection-card strong{display:block;font-size:1.35rem}.equipped-panel{background:#f6f3ff;border:2px solid #ded6ff;border-radius:18px;padding:16px;margin:16px 0}.equipped-panel h3{margin-bottom:10px}.equipped-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.equipped-slot{background:#fff;border-radius:14px;padding:12px}.locked-overlay{position:absolute;inset:0;background:rgba(255,255,255,.72);display:grid;place-items:center;font-weight:900;color:var(--muted);pointer-events:none}.legendary-shine:before{content:"";position:absolute;inset:-40%;background:linear-gradient(120deg,transparent 40%,rgba(255,255,255,.7) 50%,transparent 60%);transform:translateX(-70%);animation:shine 3s infinite}@keyframes shine{0%{transform:translateX(-70%)}60%,100%{transform:translateX(70%)}}.shop-item.owned{border-color:var(--success);background:#effcf5}.shop-item.active-item{box-shadow:0 0 0 4px rgba(108,92,231,.18);border-color:var(--primary)}.item-emoji{font-size:2.3rem}.buy-btn{width:100%;border:0;border-radius:13px;padding:11px;font-weight:900;background:var(--primary);color:#fff;cursor:pointer}.buy-btn:disabled{opacity:.5}.exchange-card{background:#fff8df;border:2px solid #f0ca4c;border-radius:17px;padding:15px;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center;gap:12px}.time-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.calendar-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:20px 0 10px}.calendar-nav{border:0;border-radius:12px;padding:10px 13px;background:#edf0f7;font-weight:900;cursor:pointer}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.calendar-weekdays div{text-align:center;color:var(--muted);font-size:.8rem;font-weight:850;padding:6px}.calendar-day{min-height:72px;border-radius:14px;background:#f5f7fb;padding:8px;display:flex;flex-direction:column;justify-content:space-between;border:2px solid transparent}.calendar-day.empty-day{background:transparent}.calendar-day.today{border-color:var(--primary)}.calendar-day.active-day{background:#effaf5}.calendar-day strong{font-size:.9rem}.calendar-minutes{font-size:.78rem;color:var(--muted);font-weight:800}.calendar-heat-1{background:#eefaf4}.calendar-heat-2{background:#d8f4e5}.calendar-heat-3{background:#b9ebd2}.calendar-heat-4{background:#87dbb4}.calendar-heat-5{background:#55c994;color:#123c2b}.table-stats{display:grid;gap:10px;margin-top:20px}.table-row{display:grid;grid-template-columns:92px minmax(0,1fr) 58px;gap:10px;align-items:center}.table-row>strong{white-space:nowrap}.table-row>span{text-align:right;white-space:nowrap}.bar{height:13px;background:#e6e9f2;border-radius:999px;overflow:hidden}.bar span{display:block;height:100%;background:linear-gradient(90deg,var(--primary),var(--success))}.tab-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.tab-buttons button{border:0;border-radius:999px;padding:10px 14px;font-weight:850;cursor:pointer}.tab-buttons button.active{background:var(--primary);color:white}
@media(max-width:650px){body{padding:8px}.grid,.shop-grid,.achievement-grid,.result-grid,.form-grid{grid-template-columns:1fr}.operation-row{grid-template-columns:1fr}.card{border-radius:19px;padding:19px}.table-row{grid-template-columns:82px minmax(0,1fr) 52px}.hero-card{align-items:flex-start}.topbar{align-items:flex-start}.avatar-picker{grid-template-columns:repeat(3,1fr)}.collection-summary{grid-template-columns:repeat(2,1fr)}.time-summary{grid-template-columns:1fr}.calendar-day{min-height:58px;padding:6px}.calendar-minutes{font-size:.68rem}.parent-grid,.mission-grid,.world-map,.backup-actions{grid-template-columns:1fr}}


/* v10.1 unified top navigation */
.topbar{position:sticky;top:8px;z-index:50;background:rgba(255,255,255,.94);border:1px solid rgba(41,50,92,.10);border-radius:22px;padding:10px 14px;box-shadow:0 12px 35px rgba(38,48,90,.13);backdrop-filter:blur(14px)}
.player-top{display:flex;align-items:center;gap:10px;min-width:150px;cursor:pointer;border-radius:16px;padding:5px 8px}.player-top:hover{background:#f4f2ff}.player-top-avatar{width:46px;height:46px;display:grid;place-items:center}.player-top-avatar svg{width:46px;height:46px}.player-top-name{font-size:1.08rem;font-weight:950;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topstats{margin-left:auto;align-items:center}.status-pill{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #e5e8f1;border-radius:16px;padding:8px 11px;font-weight:950;box-shadow:0 5px 14px rgba(45,52,95,.07)}.status-icon{width:25px;height:25px}.status-label{font-size:.72rem;color:var(--muted);display:block;font-weight:750}.status-value{line-height:1}.language-wrap{position:relative}.language-button{border:1px solid #e5e8f1;background:#fff;border-radius:16px;padding:8px 11px;display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:950;box-shadow:0 5px 14px rgba(45,52,95,.07)}.flag-icon{width:28px;height:20px;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.12)}.language-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:170px;background:#fff;border:1px solid #e5e8f1;border-radius:16px;padding:7px;box-shadow:0 18px 40px rgba(35,43,80,.18)}.language-option{width:100%;border:0;background:transparent;border-radius:11px;padding:10px;display:flex;align-items:center;gap:9px;text-align:left;font-weight:850;cursor:pointer}.language-option:hover,.language-option.active{background:#f1efff;color:var(--primary)}
.pin-row{display:flex;justify-content:center;align-items:center;gap:8px}.pin-toggle{border:0;border-radius:12px;padding:13px;background:#edf0f7;cursor:pointer;font-size:1.15rem}.pin-help{margin-top:12px;padding:12px;border-radius:14px;background:#fff8df;border:1px solid #f0ce58;color:#665200;font-weight:750}.pin-reset{border:0;background:transparent;color:var(--primary);font-weight:900;cursor:pointer;text-decoration:underline}.lock-countdown{font-weight:900;color:var(--danger)}
@media(max-width:720px){.topbar{position:relative;top:0}.brand{display:none}.player-top{min-width:auto}.player-top-name{max-width:90px}.topstats{width:100%;justify-content:space-between}.status-pill{padding:7px 9px}.status-label{display:none}.language-button{padding:7px 9px}}

.pin-toggle {
  min-width: 52px;
  min-height: 52px;
  display: inline-grid;
  place-items: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.pin-toggle:hover,
.pin-toggle:focus-visible {
  background: #e2e6f1;
  outline: 3px solid rgba(108, 92, 231, .18);
}
.pin-toggle:active {
  transform: scale(.96);
}

.player-top-avatar {
  overflow: hidden;
  border-radius: 50%;
}
.player-top-avatar svg {
  width: 46px;
  height: 46px;
  display: block;
}


/* =========================================================
   V11 – PERSUKURTAS, TVARKINGAS PAGRINDINIS EKRANAS
========================================================= */
body{
 background:
  radial-gradient(circle at 8% 0%,rgba(99,174,255,.18),transparent 30%),
  radial-gradient(circle at 92% 0%,rgba(255,193,78,.15),transparent 28%),
  #f4f6ff;
}
.topbar{padding:10px 14px;gap:14px}
.player-top-avatar{
 width:50px;height:50px;border-radius:50%;overflow:hidden;background:#fff;
 border:3px solid #fff;box-shadow:0 6px 16px rgba(42,48,90,.14)
}
.player-top-avatar img{width:100%;height:100%;object-fit:cover;object-position:50% 18%;display:block}
.status-icon{width:36px;height:36px;object-fit:cover;border-radius:10px}
.status-pill{padding:8px 12px}
.v11-dashboard-top{
 display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);
 gap:18px;margin-bottom:20px
}
.v11-hero-card{
 display:grid;grid-template-columns:190px 1fr auto;align-items:center;gap:20px;
 min-height:245px;padding:18px;background:linear-gradient(135deg,#25235f,#493b91);
 border-radius:24px;color:#fff;overflow:hidden
}
.v11-hero-visual{position:relative;width:190px;height:205px;display:grid;place-items:end center}
.v11-hero-card .hero-avatar{
 width:180px;height:205px;border-radius:22px;overflow:hidden;background:rgba(255,255,255,.12);
 border:2px solid rgba(255,255,255,.25);box-shadow:none
}
.v11-hero-card .hero-avatar img{
 width:100%;height:100%;display:block;object-fit:contain;object-position:center bottom;
 background:linear-gradient(180deg,#fff9ef,#f5e6d8)
}
.v11-hero-card .hero-info{min-width:0}
.v11-hero-card .hero-info strong{font-size:1.55rem;margin:3px 0 6px}
.v11-hero-card .mode-sub{color:#d9dcff}
.v11-kicker{display:block;font-weight:950;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:#9bd6ff}
.v11-hero-edit{align-self:center;background:#7767ff;white-space:nowrap}
.v11-hero-card .equipped-chip{
 background:rgba(13,15,55,.58);color:#fff;border-color:rgba(255,255,255,.20);
 max-width:100%;overflow:hidden;text-overflow:ellipsis
}
.v11-hero-card .hero-pets{
 position:absolute;right:0;bottom:5px;width:54px;height:54px;
 display:grid;place-items:center;background:#fff;border-radius:16px;
 box-shadow:0 7px 16px rgba(0,0,0,.22)
}
.v11-goal-card{
 display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
 gap:10px;padding:22px;border-radius:24px;
 background:linear-gradient(145deg,#1da8f0,#1684d9);color:#fff;
 box-shadow:0 14px 30px rgba(35,126,207,.22)
}
.v11-goal-icon{width:76px;height:76px;border-radius:20px;overflow:hidden;background:#fff}
.v11-goal-icon img{width:100%;height:100%;object-fit:cover}
.v11-goal-card strong{display:block;font-size:2.25rem}
.v11-goal-card p{margin:0;color:#e8f6ff;font-weight:700}
.v11-goal-card .main-btn{margin-top:auto}
.v11-profile-box{padding:20px;margin:0 0 20px}
.v11-avatar-picker{
 display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;
 overflow:visible;margin:14px 0
}
.v11-avatar-picker .avatar-option{
 min-width:0;height:190px;padding:6px;border-radius:18px;overflow:hidden
}
.v11-avatar-picker .avatar-option img{
 width:100%;height:100%;object-fit:contain;object-position:center bottom;
 display:block;background:linear-gradient(180deg,#fff9ef,#f5e6d8);border-radius:13px
}
.v11-menu-grid{
 display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:20px 0
}
.v11-menu-card{
 min-width:0;border:0;border-radius:22px;padding:0 0 14px;background:#fff;
 overflow:hidden;box-shadow:0 12px 25px rgba(39,49,92,.13);cursor:pointer;
 transition:transform .16s ease,box-shadow .16s ease
}
.v11-menu-card:hover,.v11-menu-card:focus-visible{
 transform:translateY(-4px);box-shadow:0 18px 31px rgba(39,49,92,.20);
 outline:4px solid rgba(108,92,231,.14)
}
.v11-menu-card img{
 width:100%;height:138px;display:block;object-fit:cover;object-position:center;
 background:#f3f5fb
}
.v11-menu-card span,.v11-menu-card small{
 display:block;position:static;background:none;color:var(--ink);text-shadow:none;
 border:0;padding:0 10px
}
.v11-menu-card span{font-size:1.02rem;font-weight:950;margin-top:11px}
.v11-menu-card small{font-size:.78rem;color:var(--muted);font-weight:750;margin-top:3px}
.v11-training-panel{
 margin-top:20px;padding:22px;border:2px solid #e2ddff;border-radius:24px;
 background:linear-gradient(145deg,#fff,#f4f1ff)
}
.v11-training-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.v11-training-head h2{margin:3px 0 0}
.v11-review{width:auto;margin:0}
.v11-secondary-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.v11-secondary-actions .secondary-btn{margin:0}
.v11-pet-showcase{
 display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0
}
.v11-pet-showcase article{
 background:#fff;border:2px solid #e7eaf3;border-radius:18px;padding:10px;text-align:center
}
.v11-pet-showcase img{
 width:100%;height:115px;object-fit:contain;display:block;border-radius:12px;background:#fffaf2
}
.v11-pet-showcase strong{display:block;margin-top:7px}
@media(max-width:980px){
 .v11-dashboard-top{grid-template-columns:1fr}
 .v11-menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
 .v11-hero-card{grid-template-columns:120px 1fr;min-height:190px}
 .v11-hero-visual{width:120px;height:155px}
 .v11-hero-card .hero-avatar{width:116px;height:155px}
 .v11-hero-edit{grid-column:1/-1;width:100%}
 .v11-avatar-picker{grid-template-columns:repeat(3,minmax(0,1fr))}
 .v11-avatar-picker .avatar-option{height:165px}
 .v11-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v11-pet-showcase{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:470px){
 .v11-hero-card{grid-template-columns:95px 1fr;padding:13px;gap:12px}
 .v11-hero-visual{width:95px;height:125px}
 .v11-hero-card .hero-avatar{width:92px;height:125px}
 .v11-menu-card img{height:108px}
 .v11-menu-card span{font-size:.92rem}
 .v11-avatar-picker{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v11-secondary-actions{grid-template-columns:1fr}
}


/* =========================================================
   V11 UX PATAISYMAI
========================================================= */
.v11-hero-card{
  grid-template-columns:190px minmax(0,1fr);
  align-items:stretch;
}
.v11-hero-left{
  width:190px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:10px;
  position:relative;
  z-index:2;
}
.v11-hero-left .hero-avatar{
  width:100%;
  height:185px;
  flex:0 0 185px;
}
.v11-hero-left .v11-hero-edit{
  width:100%;
  margin:0;
  align-self:stretch;
}
.v11-hero-card .hero-info{
  width:100%;
  min-width:0;
  align-self:center;
}
.v11-hero-card .equipped-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(175px,1fr));
  gap:9px;
  width:100%;
}
.v11-hero-card .equipped-chip{
  width:100%;
  min-width:0;
  display:flex;
  align-items:center;
  border-radius:15px;
  padding:8px 12px;
  white-space:normal;
  line-height:1.2;
}
.v11-hero-card .hero-pets{
  display:none !important;
}
.v11-goal-icon{
  display:grid;
  place-items:center;
  padding:7px;
}
.v11-goal-icon img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
.reward-image{
  width:84px;
  height:84px;
  object-fit:contain;
  object-position:center;
  border-radius:16px;
  display:block;
  margin:0 auto;
  background:#fffaf2;
}
.item-emoji:has(.reward-image){
  font-size:0;
}
#gameScreen{
  position:relative;
  z-index:3;
}
#gameScreen button,
#gameScreen input{
  pointer-events:auto;
}
@media(max-width:760px){
  .v11-hero-card{
    grid-template-columns:130px minmax(0,1fr);
  }
  .v11-hero-left{
    width:130px;
  }
  .v11-hero-left .hero-avatar{
    height:145px;
    flex-basis:145px;
  }
  .v11-hero-card .equipped-list{
    grid-template-columns:1fr;
  }
}
@media(max-width:470px){
  .v11-hero-card{
    grid-template-columns:1fr;
  }
  .v11-hero-left{
    width:100%;
    max-width:190px;
  }
  .v11-hero-card .equipped-list{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   V11.1 – ŠVARŪS VIRŠUTINĖS JUOSTOS RESURSAI
========================================================= */
.player-top-avatar{
  width:58px;
  height:58px;
  padding:4px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#fff;
  border-radius:50%;
}
.player-top-avatar img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
  border-radius:50%;
}
.status-icon{
  width:46px;
  height:46px;
  padding:2px;
  object-fit:contain;
  object-position:center;
  background:#fff;
  border-radius:13px;
  display:block;
}
.status-pill{
  min-height:62px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  overflow:visible;
}
.status-pill .status-text{align-self:center}
.v11-goal-icon{
  width:108px;
  height:108px;
  padding:6px;
  border-radius:24px;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:#fff;
}
.v11-goal-icon img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
}
@media(max-width:650px){
  .player-top-avatar{width:48px;height:48px}
  .status-icon{width:38px;height:38px}
  .status-pill{min-height:54px}
}


/* =========================================================
   V11.2 – HEROJAUS IR DIENOS IŠŠŪKIO KORTELIŲ SUTVARKYMAS
========================================================= */

/* Abu viršutiniai blokai visada vienodo aukščio. */
.v11-dashboard-top{
  align-items:stretch;
  grid-auto-rows:1fr;
}
.v11-hero-card,
.v11-goal-card{
  min-height:340px;
  height:100%;
}

/* Herojaus kortelės fonas negali būti perrašytas šviesia inventoriaus tema. */
.v11-hero-card{
  background:
    radial-gradient(circle at 8% 12%,rgba(87,104,255,.28),transparent 35%),
    linear-gradient(135deg,#211f58 0%,#40367f 100%) !important;
  color:#fff !important;
  border:2px solid rgba(255,255,255,.18);
}
.v11-hero-card .hero-info,
.v11-hero-card .hero-info strong,
.v11-hero-card .hero-info span,
.v11-hero-card .v11-kicker,
.v11-hero-card .mode-sub{
  color:#fff !important;
}
.v11-hero-card .v11-kicker{
  color:#89d6ff !important;
}
.v11-hero-card .equipped-chip{
  color:#fff !important;
  background:rgba(11,14,54,.62) !important;
  border-color:rgba(255,255,255,.18) !important;
}

/* Paveikslas rodomas visas, nekerpant apačios ar šonų. */
.v11-hero-left{
  justify-content:center;
}
.v11-hero-left .hero-avatar{
  width:100%;
  height:225px;
  flex-basis:225px;
  padding:10px;
  background:#fff8ef;
  border-radius:24px;
}
.v11-hero-left .hero-avatar img{
  width:100%;
  height:100%;
  object-fit:contain !important;
  object-position:center bottom !important;
  display:block;
  border-radius:16px;
  background:#fff8ef;
}

/* Dienos iššūkio turinys subalansuotas pagal herojaus kortelę. */
.v11-goal-card{
  display:grid;
  grid-template-columns:120px minmax(0,1fr);
  grid-template-rows:auto 1fr auto;
  align-items:center;
  column-gap:18px;
  padding:24px;
}
.v11-goal-icon{
  grid-row:1 / 3;
  width:120px;
  height:120px;
  padding:12px;
  justify-self:center;
  align-self:center;
  border-radius:26px;
}
.v11-goal-icon img{
  width:100%;
  height:100%;
  object-fit:contain !important;
  object-position:center !important;
}
.v11-goal-card > div:not(.v11-goal-icon){
  min-width:0;
}
.v11-goal-card .main-btn{
  grid-column:1 / -1;
  width:100%;
  margin:8px 0 0;
  align-self:end;
}

/* Viršutinės juostos piktogramos rodomos pilnai. */
.player-top-avatar,
.status-icon{
  box-sizing:border-box;
}
.player-top-avatar img,
.status-icon{
  object-fit:contain !important;
  object-position:center !important;
}
.status-pill{
  overflow:visible !important;
}

/* Telefonas ir planšetė. */
@media(max-width:980px){
  .v11-hero-card,
  .v11-goal-card{
    min-height:310px;
  }
}
@media(max-width:760px){
  .v11-hero-card{
    grid-template-columns:135px minmax(0,1fr);
  }
  .v11-hero-left{
    width:135px;
  }
  .v11-hero-left .hero-avatar{
    height:170px;
    flex-basis:170px;
  }
  .v11-goal-card{
    grid-template-columns:95px minmax(0,1fr);
  }
  .v11-goal-icon{
    width:95px;
    height:95px;
  }
}
@media(max-width:520px){
  .v11-dashboard-top{
    display:grid;
    grid-template-columns:1fr;
  }
  .v11-hero-card,
  .v11-goal-card{
    min-height:auto;
  }
  .v11-hero-card{
    grid-template-columns:1fr;
  }
  .v11-hero-left{
    width:100%;
    max-width:220px;
    margin:0 auto;
  }
  .v11-hero-left .hero-avatar{
    height:240px;
    flex-basis:240px;
  }
  .v11-goal-card{
    grid-template-columns:90px minmax(0,1fr);
  }
}


/* =========================================================
   V11.3 – ATSKIRI ŠVARŪS RESURSAI IR FAVICON
========================================================= */
.status-icon{
  background:transparent !important;
  padding:0 !important;
  object-fit:contain !important;
  object-position:center !important;
  border-radius:0 !important;
}
.status-pill{
  padding-left:14px;
  padding-right:14px;
}
.v11-goal-icon{
  background:rgba(255,255,255,.92) !important;
  padding:14px !important;
}
.v11-goal-icon img{
  background:transparent !important;
  object-fit:contain !important;
  object-position:center !important;
}
.reward-image{
  background:#fffaf2;
  object-fit:contain !important;
  object-position:center !important;
}


/* =========================================================
   V11.4 – ORIGINALŪS SVG RESURSAI
========================================================= */
.status-icon{
  width:44px !important;
  height:44px !important;
  padding:0 !important;
  background:transparent !important;
  object-fit:contain !important;
  object-position:center !important;
  border-radius:0 !important;
}
.v11-goal-icon{
  background:rgba(255,255,255,.94) !important;
  padding:10px !important;
  overflow:visible !important;
}
.v11-goal-icon img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
  background:transparent !important;
}


/* =========================================================
   V11.6 – LOKALIZUOTŲ AKTYVIŲ DAIKTŲ IŠDĖSTYMAS
========================================================= */
.v11-hero-card .equipped-list{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
}
.v11-hero-card .equipped-chip{
  min-width:0 !important;
  max-width:100% !important;
  width:100% !important;
  white-space:normal !important;
  overflow-wrap:anywhere;
  word-break:normal;
  line-height:1.15;
  padding:10px 12px !important;
  min-height:54px;
}
.op-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
}
@media(max-width:980px){
  .v11-hero-card .equipped-list{
    grid-template-columns:1fr !important;
  }
}


/* =========================================================
   V11.8 – PILNO LOKALIZACIJOS AUDITO IŠDĖSTYMAS
========================================================= */
.v11-hero-card .equipped-list{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
.v11-hero-card .equipped-chip{
  min-width:0 !important;
  width:100% !important;
  max-width:100% !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
  line-height:1.2 !important;
}
@media(max-width:1100px){
  .v11-hero-card .equipped-list{
    grid-template-columns:1fr !important;
  }
}

/* =========================================================
   V11.9 – MOBILUS KALBOS MENIU
========================================================= */
.language-menu{
  z-index:1000;
  max-width:calc(100vw - 24px);
}
@media(max-width:720px){
  .language-wrap{position:static}
  .language-menu{
    position:fixed;
    right:auto;
    top:auto;
    width:min(240px,calc(100vw - 24px));
    min-width:0;
    max-height:min(60vh,320px);
    overflow:auto;
    overscroll-behavior:contain;
    padding:8px;
    border-radius:16px;
    box-shadow:0 18px 42px rgba(24,31,68,.28);
  }
  .language-option{
    min-height:48px;
    padding:12px;
    white-space:nowrap;
  }
}


/* =========================================================
   V11.10 – MOBILUS KALBOS MENIU PRIE LT / EN MYGTUKO
========================================================= */
.language-menu-anchored{
  position:fixed !important;
  right:auto !important;
  margin:0 !important;
  box-sizing:border-box;
  max-height:min(240px,calc(100dvh - 24px));
  overflow-y:auto;
  overscroll-behavior:contain;
  z-index:10000 !important;
  border-radius:18px;
  box-shadow:0 16px 36px rgba(25,31,72,.24);
}
.language-menu-anchored[hidden]{
  display:none !important;
}
.language-menu-anchored .language-option{
  width:100%;
  min-height:58px;
  display:flex;
  align-items:center;
  gap:12px;
  white-space:nowrap;
}

/* V12.1.0 */
.v121-learning-panel{display:grid;gap:16px;margin:18px 0 24px}.v121-level-card,.v121-recommendation,.v121-medals{background:linear-gradient(145deg,#fff,#f5f2ff);border:2px solid #e4dfff;border-radius:22px;padding:18px}.v121-level-card>div:first-child{display:flex;align-items:center;gap:14px}.v121-level-icon{font-size:2.4rem}.v121-level-card strong{display:block;font-size:1.45rem}.v121-level-progress{height:12px;border-radius:999px;overflow:hidden;background:#e7e8f1;margin-top:14px}.v121-level-progress span{display:block;height:100%;background:linear-gradient(90deg,#6c5ce7,#38c6ff);border-radius:inherit}.v121-recommendation-list{display:flex;flex-wrap:wrap;gap:10px}.v121-recommendation-chip{min-width:70px;text-align:center;padding:12px 16px;border-radius:16px;background:#fff;border:2px solid #dfe4ff;font-weight:950;font-size:1.25rem}.v121-medal-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.v121-medal-card{display:grid;justify-items:center;gap:5px;padding:12px 8px;background:#fff;border:2px solid #e8eaf3;border-radius:16px}.v121-medal-icon{font-size:1.75rem}.v121-medal-card small{color:var(--muted);font-weight:800}@media(max-width:760px){.v121-medal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:420px){.v121-medal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v12.1.1 – named learning level in header */
.level-name-value{font-size:.92rem;line-height:1.05;white-space:nowrap;max-width:150px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){.level-name-value{max-width:95px;font-size:.78rem}}


/* V12.1.2 – aiškesnis medalių progresas */
.v121-medal-card{
  min-height:178px;
  align-content:start;
}
.v121-medal-card.is-locked{
  background:linear-gradient(145deg,#fbfbfd,#f0f1f6);
}
.v121-medal-card.is-locked .v121-medal-icon{
  filter:grayscale(1);
  opacity:.72;
}
.v121-medal-name{
  font-weight:900;
  font-size:.86rem;
}
.v121-medal-progress{
  width:100%;
  height:8px;
  overflow:hidden;
  border-radius:999px;
  background:#e5e7ef;
  margin-top:2px;
}
.v121-medal-progress span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6c5ce7,#38c6ff);
}
.v121-medal-card.has-medal .v121-medal-progress span{
  background:linear-gradient(90deg,#f7b731,#ffd86b);
}
.v121-medal-accuracy{
  font-weight:850;
}
.v121-medal-remaining{
  min-height:2.2em;
  text-align:center;
  line-height:1.15;
}
@media(max-width:760px){
  .v121-medal-card{min-height:168px}
}


/* V12.1.3 – medalio kortelė rodo kitą tikslą */
.v121-medal-card{
  min-height:196px;
}
.v121-medal-goal{
  font-size:.78rem;
  font-weight:850;
  color:var(--muted);
  text-align:center;
  min-height:2em;
}
.v121-medal-count{
  font-weight:950;
}
.v121-medal-status{
  min-height:2.3em;
  text-align:center;
  line-height:1.15;
  font-weight:850;
}
.v121-medal-card.has-medal .v121-medal-status{
  color:#6b5b18;
}
.v121-medal-card.is-locked .v121-medal-status{
  color:var(--muted);
}


/* V12.2.0 – medalių kolekcija ir šventimas */
.v122-collection-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 18px}
.v122-collection-card{display:flex;align-items:center;gap:9px;padding:11px;border-radius:15px;background:#f3f4f8;border:2px solid #e2e4ed;opacity:.82}
.v122-collection-card.is-complete{background:linear-gradient(145deg,#fff8d8,#fff);border-color:#f4c84e;opacity:1}
.v122-collection-icon{font-size:1.65rem}.v122-collection-card div{display:grid;gap:2px;min-width:0}
.v122-collection-card strong{font-size:.82rem;line-height:1.1}.v122-collection-card small{font-weight:900;color:var(--muted)}
.v122-collection-state{margin-left:auto;font-size:1.05rem}
.medal-celebration{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:20px;opacity:0;transition:opacity .22s ease}
.medal-celebration[hidden]{display:none}.medal-celebration.is-visible{opacity:1}
.medal-celebration-backdrop{position:absolute;inset:0;background:rgba(17,25,58,.62);backdrop-filter:blur(5px)}
.medal-celebration-card{position:relative;width:min(430px,100%);overflow:hidden;text-align:center;padding:34px 28px 26px;border-radius:28px;background:linear-gradient(150deg,#fffdf2,#fff,#f1efff);border:4px solid #ffd55d;box-shadow:0 24px 70px rgba(15,25,70,.35);transform:scale(.72) translateY(25px);transition:transform .28s cubic-bezier(.2,.9,.25,1.25)}
.medal-celebration.is-visible .medal-celebration-card{transform:scale(1) translateY(0)}
.medal-celebration-icon{position:relative;display:block;font-size:5.5rem;line-height:1;animation:medal-pop 1s ease both}
.medal-celebration-card h2{position:relative;margin:15px 0 8px;font-size:2rem}.medal-celebration-card p{position:relative;margin:0 auto 20px;max-width:330px;font-size:1.1rem;font-weight:750}
.medal-celebration-card button{position:relative;min-width:150px;padding:12px 22px;border:0;border-radius:15px;background:linear-gradient(135deg,#6c5ce7,#38c6ff);color:#fff;font:inherit;font-weight:950;cursor:pointer}
.medal-confetti,.medal-confetti::before,.medal-confetti::after{position:absolute;inset:-20%;content:"";pointer-events:none;background-image:radial-gradient(circle,#ffcd3c 0 4px,transparent 5px),radial-gradient(circle,#6c5ce7 0 4px,transparent 5px),radial-gradient(circle,#38c6ff 0 4px,transparent 5px),radial-gradient(circle,#ff6b81 0 4px,transparent 5px);background-size:83px 97px,111px 89px,97px 121px,127px 101px;background-position:0 0,20px 30px,45px 15px,70px 55px;animation:confetti-fall 2.2s linear infinite}
.medal-confetti::before{transform:rotate(25deg);animation-duration:2.7s}.medal-confetti::after{transform:rotate(-18deg);animation-duration:3.1s}
@keyframes medal-pop{0%{transform:scale(.25) rotate(-18deg)}55%{transform:scale(1.22) rotate(7deg)}100%{transform:scale(1) rotate(0)}}
@keyframes confetti-fall{from{background-position:0 -160px,20px -130px,45px -180px,70px -120px}to{background-position:0 180px,20px 210px,45px 160px,70px 220px}}
@media(max-width:760px){.v122-collection-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.medal-celebration,.medal-celebration-card,.medal-celebration-icon,.medal-confetti,.medal-confetti::before,.medal-confetti::after{animation:none!important;transition:none!important}}


/* V12.2.1 – polished collection cards + cache-safe release */
.v122-collection-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:14px 0 22px;
}
.v122-collection-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  min-height:86px;
  padding:14px 15px;
  border-radius:18px;
  background:linear-gradient(145deg,#ffffff,#f3f4fa);
  border:2px solid #e3e6f0;
  box-shadow:0 5px 14px rgba(31,42,86,.06);
  opacity:1;
}
.v122-collection-card.is-complete{
  background:linear-gradient(145deg,#fff9dc,#fffdf5);
  border-color:#efc54b;
  box-shadow:0 7px 18px rgba(225,170,20,.14);
}
.v122-collection-icon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:13px;
  background:#fff;
  box-shadow:inset 0 0 0 1px #e8e9f1;
  font-size:1.8rem;
}
.v122-collection-content{
  display:grid;
  gap:6px;
  min-width:0;
}
.v122-collection-content strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.92rem;
  line-height:1.15;
}
.v122-collection-content small{
  color:var(--muted);
  font-weight:850;
}
.v122-collection-progress{
  height:7px;
  overflow:hidden;
  border-radius:999px;
  background:#e5e8f1;
}
.v122-collection-progress span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6c5ce7,#38c6ff);
}
.v122-collection-card.is-complete .v122-collection-progress span{
  background:linear-gradient(90deg,#f0b624,#ffd86b);
}
.v122-collection-state{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:#e9ebf2;
  color:#6c7085;
  font-size:.9rem;
}
.v122-collection-card.is-complete .v122-collection-state{
  background:#34c97a;
  color:#fff;
}
@media(max-width:980px){
  .v122-collection-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .v122-collection-summary{grid-template-columns:1fr}
}

.v122-sound-setting{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding:14px 16px;border:2px solid #e5e7f0;border-radius:16px;background:#fff}
.v122-sound-setting>div{display:grid;gap:3px}.v122-sound-setting small{color:var(--muted);font-weight:700}
.switch{position:relative;display:inline-block;width:52px;height:30px}.switch input{opacity:0;width:0;height:0}.switch .slider{position:absolute;inset:0;background:#cfd3df;border-radius:999px;cursor:pointer}.switch .slider:before{content:"";position:absolute;width:22px;height:22px;left:4px;top:4px;background:#fff;border-radius:50%;transition:.2s}.switch input:checked+.slider{background:linear-gradient(90deg,#6c5ce7,#38c6ff)}.switch input:checked+.slider:before{transform:translateX(22px)}

/* V12.2.5 – pilni kolekcijų pavadinimai */
.v122-collection-card{
  min-height:102px;
  align-items:center;
}
.v122-collection-content{
  align-self:stretch;
  align-content:center;
}
.v122-collection-content strong{
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
  line-height:1.18;
  min-height:2.25em;
  display:flex;
  align-items:center;
  font-size:.9rem;
}
.v122-collection-progress{
  width:100%;
}
@media(min-width:981px) and (max-width:1180px){
  .v122-collection-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:520px){
  .v122-collection-card{
    min-height:92px;
  }
  .v122-collection-content strong{
    min-height:auto;
  }
}


/* =========================================================
   V12.3.0 – IŠMANIOS MOKYMOSI REKOMENDACIJOS
========================================================= */
.v123-hidden{display:none!important}
.v123-recommendation-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.v123-recommendation-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:start;
  gap:12px;
  min-height:132px;
  padding:16px;
  border-radius:20px;
  border:2px solid #e4e6f1;
  background:linear-gradient(145deg,#fff,#f6f7fb);
  box-shadow:0 6px 16px rgba(29,42,86,.06);
}
.v123-recommendation-card.goal{
  background:linear-gradient(145deg,#fff9df,#fff);
  border-color:#f3cf63;
}
.v123-recommendation-card.weak{
  background:linear-gradient(145deg,#fff1f1,#fff);
  border-color:#f3b9b9;
}
.v123-recommendation-card.strong{
  background:linear-gradient(145deg,#eefbf4,#fff);
  border-color:#a9dfbf;
}
.v123-recommendation-icon{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:14px;
  background:#fff;
  box-shadow:inset 0 0 0 1px rgba(30,40,80,.08);
  font-size:1.7rem;
}
.v123-recommendation-card>div{
  display:grid;
  gap:7px;
}
.v123-recommendation-card strong{
  font-size:1rem;
}
.v123-recommendation-card p{
  margin:0;
  color:var(--muted);
  font-weight:750;
  line-height:1.35;
}
.v123-recommendation-table{
  align-self:center;
  min-width:52px;
  padding:9px 10px;
  border-radius:14px;
  text-align:center;
  background:#fff;
  border:2px solid #e3e6f0;
  font-size:1.15rem;
  font-weight:950;
}
@media(max-width:980px){
  .v123-recommendation-cards{grid-template-columns:1fr}
  .v123-recommendation-card{min-height:auto}
}


/* =========================================================
   V12.4.0 – IŠPLĖSTA PASIEKIMŲ SISTEMA
========================================================= */
.v124-achievement-summary{
  grid-column:1/-1;
  display:grid;
  gap:12px;
  margin-bottom:8px;
  padding:18px;
  border:2px solid #dedfff;
  border-radius:22px;
  background:linear-gradient(145deg,#fff9dc,#fff);
}
.v124-achievement-summary>div:first-child{
  display:flex;
  align-items:center;
  gap:13px;
}
.v124-summary-icon{font-size:2.2rem}
.v124-achievement-summary strong{display:block;font-size:1.25rem}
.v124-achievement-summary small{color:var(--muted);font-weight:850}
.v124-summary-progress,
.v124-achievement-progress{
  height:9px;
  overflow:hidden;
  border-radius:999px;
  background:#e5e7ef;
}
.v124-summary-progress span,
.v124-achievement-progress span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6c5ce7,#38c6ff);
}
.v124-achievement-category{
  grid-column:1/-1;
  display:grid;
  gap:12px;
}
.v124-achievement-category>h3{
  margin:12px 0 0;
  font-size:1.15rem;
}
.v124-achievement-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.v124-achievement{
  display:grid;
  align-content:start;
  gap:9px;
  min-height:225px;
  padding:16px;
  border:2px solid #e3e5ef!important;
  border-radius:20px;
  background:linear-gradient(145deg,#fff,#f5f6fa);
  text-align:left;
}
.v124-achievement.is-unlocked{
  background:linear-gradient(145deg,#fff9dc,#fff);
  border-color:#f0c64f!important;
  box-shadow:0 7px 18px rgba(220,170,30,.12);
}
.v124-achievement.is-locked{
  opacity:.78;
}
.v124-achievement-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.v124-achievement .item-emoji{
  font-size:2rem;
}
.v124-achievement-state{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:#e7e9f1;
  font-size:.85rem;
}
.v124-achievement.is-unlocked .v124-achievement-state{
  background:#34c97a;
  color:#fff;
}
.v124-achievement h4{
  margin:0;
  font-size:1.02rem;
}
.v124-achievement p{
  margin:0;
  min-height:3.8em;
  color:var(--muted);
  font-weight:700;
  line-height:1.3;
}
.v124-achievement small{
  color:var(--muted);
  font-weight:900;
}
.v124-achievement.is-unlocked .v124-achievement-progress span{
  background:linear-gradient(90deg,#f0b624,#ffd86b);
}
@media(max-width:1050px){
  .v124-achievement-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .v124-achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
  .v124-achievement-grid{grid-template-columns:1fr}
  .v124-achievement{min-height:auto}
}


/* =========================================================
   V12.5.0 – IŠPLĖSTA STATISTIKA
========================================================= */
.v125-stats-overview{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:18px 0;
}
.v125-stat-card{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:102px;
  padding:17px;
  border:2px solid #e3e5ef;
  border-radius:20px;
  background:linear-gradient(145deg,#fff,#f5f6fa);
  box-shadow:0 6px 16px rgba(29,42,86,.06);
}
.v125-stat-icon{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  flex:0 0 auto;
  border-radius:15px;
  background:#fff;
  box-shadow:inset 0 0 0 1px rgba(30,40,80,.08);
  font-size:1.8rem;
}
.v125-stat-card div{
  display:grid;
  gap:5px;
}
.v125-stat-card small{
  color:var(--muted);
  font-weight:800;
}
.v125-stat-card strong{
  font-size:1.3rem;
}
.v125-weekly-chart{
  margin:18px 0 24px;
  padding:20px;
  border:2px solid #dedfff;
  border-radius:22px;
  background:linear-gradient(145deg,#fff,#f7f7ff);
}
.v125-chart-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.v125-chart-header h3{
  margin:0 0 4px;
}
.v125-chart-header small{
  color:var(--muted);
  font-weight:750;
}
.v125-chart-header>strong{
  font-size:1.2rem;
}
.v125-chart-bars{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:12px;
  min-height:230px;
}
.v125-chart-column{
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:8px;
  justify-items:center;
}
.v125-chart-value{
  min-height:2.2em;
  text-align:center;
  color:var(--muted);
  font-size:.78rem;
  font-weight:800;
}
.v125-chart-track{
  position:relative;
  width:min(42px,80%);
  height:150px;
  overflow:hidden;
  border-radius:999px;
  background:#e6e8f0;
}
.v125-chart-track span{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  border-radius:inherit;
  background:linear-gradient(180deg,#38c6ff,#6c5ce7);
}
.v125-chart-column small{
  text-transform:capitalize;
  font-weight:850;
}
@media(max-width:900px){
  .v125-stats-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .v125-stats-overview{grid-template-columns:1fr}
  .v125-chart-bars{gap:6px}
  .v125-chart-track{width:28px}
  .v125-chart-value{font-size:.68rem}
}


/* =========================================================
   V12.6.0 – DIENOS MISIJOS SU APDOVANOJIMAIS
========================================================= */
.v126-mission-summary{
  grid-column:1/-1;
  display:grid;
  gap:13px;
  padding:18px;
  border:2px solid #dedfff;
  border-radius:22px;
  background:linear-gradient(145deg,#fff9dc,#fff);
}
.v126-mission-summary-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.v126-mission-summary-top>div:first-child{
  display:flex;
  align-items:center;
  gap:12px;
}
.v126-summary-icon{font-size:2rem}
.v126-mission-summary strong{display:block;font-size:1.15rem}
.v126-mission-summary small{color:var(--muted);font-weight:800}
.v126-summary-coins{
  padding:8px 12px;
  border-radius:13px;
  background:#fff;
  font-weight:950;
}
.v126-summary-progress{
  height:11px;
  overflow:hidden;
  border-radius:999px;
  background:#e5e7ef;
}
.v126-summary-progress span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6c5ce7,#38c6ff);
}
.v126-mission-list{
  grid-column:1/-1;
  display:grid;
  gap:12px;
}
.v126-mission-card{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  min-height:108px;
  padding:15px!important;
  text-align:left;
}
.v126-mission-card.done{
  border-color:#9edab8!important;
  background:linear-gradient(145deg,#effcf5,#fff)!important;
}
.v126-mission-card.claimed{
  opacity:.72;
}
.v126-mission-icon{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:15px;
  background:#fff;
  box-shadow:inset 0 0 0 1px rgba(30,40,80,.08);
  font-size:1.8rem;
}
.v126-mission-content{
  display:grid;
  gap:9px;
}
.v126-mission-content h3{
  margin:0;
  font-size:1rem;
}
.v126-mission-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
  font-weight:850;
}
.v126-claim-btn{
  min-width:112px;
  padding:10px 14px;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,#6c5ce7,#38c6ff);
  color:#fff;
  font:inherit;
  font-weight:950;
  cursor:pointer;
}
.v126-claim-btn:disabled{
  background:#dfe2eb;
  color:#777d91;
  cursor:default;
}
.v126-all-bonus{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:17px;
  border:2px dashed #d5d8e5;
  border-radius:20px;
  background:#f7f8fb;
}
.v126-all-bonus>div{
  display:flex;
  align-items:center;
  gap:12px;
}
.v126-bonus-icon{font-size:2.1rem}
.v126-all-bonus strong{display:block}
.v126-all-bonus small{color:var(--muted);font-weight:800}
.v126-all-bonus.is-ready{
  border-style:solid;
  border-color:#f0c64f;
  background:linear-gradient(145deg,#fff8d8,#fff);
}
.v126-all-bonus.is-claimed{
  opacity:.72;
}
@media(max-width:650px){
  .v126-mission-card{
    grid-template-columns:auto minmax(0,1fr);
  }
  .v126-mission-card .v126-claim-btn{
    grid-column:1/-1;
    width:100%;
  }
  .v126-all-bonus{
    align-items:stretch;
    flex-direction:column;
  }
}


/* =========================================================
   V12.7.0 – PASAULIŲ IR NUOTYKIŲ PROGRESAS
========================================================= */
.v127-world-summary{
  grid-column:1/-1;
  display:grid;
  gap:13px;
  padding:18px;
  border:2px solid #dedfff;
  border-radius:22px;
  background:linear-gradient(145deg,#eef7ff,#fff);
}
.v127-world-summary>div:first-child{
  display:flex;
  align-items:center;
  gap:13px;
}
.v127-world-summary-icon{font-size:2.2rem}
.v127-world-summary strong{display:block;font-size:1.2rem}
.v127-world-summary small{color:var(--muted);font-weight:800}
.v127-world-summary-progress{
  height:11px;
  overflow:hidden;
  border-radius:999px;
  background:#e5e7ef;
}
.v127-world-summary-progress span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6c5ce7,#38c6ff);
}
.v127-world-grid{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.v127-world-card{
  display:grid!important;
  align-content:start;
  gap:11px;
  min-height:300px;
  padding:18px!important;
}
.v127-world-card.locked{
  filter:grayscale(.75);
  opacity:.68;
}
.v127-world-card.completed{
  box-shadow:0 0 0 3px rgba(52,201,122,.18);
}
.v127-world-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.v127-world-icon{
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  border-radius:17px;
  background:rgba(255,255,255,.88);
  font-size:2rem;
}
.v127-world-status{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border-radius:50%;
  background:rgba(255,255,255,.82);
  font-weight:950;
}
.v127-world-card h3{margin:0}
.v127-world-card p{margin:0;color:var(--muted);font-weight:750}
.v127-world-progress-label{
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-weight:850;
}
.v127-world-unlock{
  min-height:2.4em;
  color:var(--muted);
  font-weight:800;
}
.v127-world-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:auto;
}
.v127-world-reward{
  padding:10px 12px;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,#f0b624,#ffd86b);
  color:#4b3900;
  font:inherit;
  font-weight:950;
  cursor:pointer;
}
.v127-world-reward:disabled{
  background:#dfe2eb;
  color:#777d91;
  cursor:default;
}
@media(max-width:760px){
  .v127-world-grid{grid-template-columns:1fr}
}
@media(max-width:460px){
  .v127-world-actions{grid-template-columns:1fr}
}


/* V12.7.1 – aiškesnė atrakinto pasaulio būsena */
.v127-world-status{
  font-size:.95rem;
}
.v127-world-card:not(.locked):not(.completed) .v127-world-status{
  background:#6c5ce7;
  color:#fff;
}
.v127-world-card.completed .v127-world-status{
  background:#34c97a;
  color:#fff;
}
.v127-world-card.locked .v127-world-status{
  background:rgba(255,255,255,.82);
  color:#4f5568;
}


/* =========================================================
   V12.8.0 – DIENOS ATLYGIS IR MOKYMOSI SERIJA
========================================================= */
.v128-daily-reward:empty{display:none}
.v128-daily-reward{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(220px,.8fr) auto;
  align-items:center;
  gap:18px;
  margin:18px 0;
  padding:18px 20px;
  border:3px solid #f0c64f;
  border-radius:24px;
  background:linear-gradient(145deg,#fff7d0,#fff,#f1efff);
  box-shadow:0 10px 24px rgba(220,170,30,.12);
}
.v128-reward-main{
  display:flex;
  align-items:center;
  gap:14px;
}
.v128-reward-icon{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  flex:0 0 auto;
  border-radius:18px;
  background:#fff;
  box-shadow:inset 0 0 0 1px rgba(30,40,80,.08);
  font-size:2.2rem;
}
.v128-reward-copy{
  display:grid;
  gap:4px;
}
.v128-reward-copy>span{
  color:var(--muted);
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.v128-reward-copy strong{
  font-size:1.25rem;
}
.v128-reward-copy small{
  color:var(--muted);
  font-weight:800;
}
.v128-reward-progress-wrap{
  display:grid;
  gap:7px;
}
.v128-reward-progress{
  height:10px;
  overflow:hidden;
  border-radius:999px;
  background:#e4e6ee;
}
.v128-reward-progress span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#ff9f43,#ffd55d);
}
.v128-reward-progress-wrap small{
  color:var(--muted);
  font-weight:800;
}
.v128-reward-action{
  display:grid;
  justify-items:center;
  gap:8px;
}
.v128-reward-action>span{
  font-size:1.15rem;
  font-weight:950;
}
.v128-reward-action button{
  min-width:150px;
  padding:11px 15px;
  border:0;
  border-radius:15px;
  background:linear-gradient(135deg,#6c5ce7,#38c6ff);
  color:#fff;
  font:inherit;
  font-weight:950;
  cursor:pointer;
}
.v128-reward-action button:disabled{
  background:#dfe2eb;
  color:#777d91;
  cursor:default;
}
@media(max-width:900px){
  .v128-daily-reward{
    grid-template-columns:1fr;
  }
  .v128-reward-action{
    justify-items:stretch;
  }
  .v128-reward-action button{
    width:100%;
  }
}


/* =========================================================
   V12.9.0 – LYGIO PAKĖLIMO SISTEMA
========================================================= */
.v129-level-up{
  position:fixed;
  inset:0;
  z-index:100000;
  display:grid;
  place-items:center;
  padding:20px;
  opacity:0;
  transition:opacity .22s ease;
}
.v129-level-up[hidden]{display:none}
.v129-level-up.is-visible{opacity:1}
.v129-level-backdrop{
  position:absolute;
  inset:0;
  background:rgba(19,25,58,.68);
  backdrop-filter:blur(6px);
}
.v129-level-card{
  position:relative;
  width:min(440px,100%);
  overflow:hidden;
  text-align:center;
  padding:34px 28px 28px;
  border:4px solid #8f7cff;
  border-radius:30px;
  background:linear-gradient(150deg,#fff,#f4f1ff,#eefaff);
  box-shadow:0 28px 80px rgba(20,26,70,.4);
  transform:scale(.72) translateY(24px);
  transition:transform .3s cubic-bezier(.2,.9,.25,1.25);
}
.v129-level-up.is-visible .v129-level-card{
  transform:scale(1) translateY(0);
}
.v129-level-rays{
  position:absolute;
  inset:-50%;
  background:repeating-conic-gradient(from 0deg,rgba(108,92,231,.12) 0 12deg,transparent 12deg 24deg);
  animation:v129-spin 10s linear infinite;
}
.v129-level-icon{
  position:relative;
  display:block;
  font-size:5rem;
  line-height:1;
  animation:v129-pop .9s ease both;
}
.v129-level-card h2{
  position:relative;
  margin:14px 0 6px;
  font-size:2rem;
}
.v129-level-card>strong{
  position:relative;
  display:block;
  font-size:1.45rem;
  margin-bottom:10px;
}
.v129-level-card p{
  position:relative;
  margin:0 auto 16px;
  max-width:340px;
  color:var(--muted);
  font-weight:750;
  line-height:1.4;
}
.v129-level-reward{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:110px;
  margin-bottom:18px;
  padding:10px 16px;
  border-radius:15px;
  background:#fff6cd;
  border:2px solid #f0c64f;
  font-size:1.2rem;
  font-weight:950;
}
.v129-level-card button{
  position:relative;
  display:block;
  min-width:160px;
  margin:0 auto;
  padding:12px 22px;
  border:0;
  border-radius:16px;
  background:linear-gradient(135deg,#6c5ce7,#38c6ff);
  color:#fff;
  font:inherit;
  font-weight:950;
  cursor:pointer;
}
@keyframes v129-spin{to{transform:rotate(360deg)}}
@keyframes v129-pop{
  0%{transform:scale(.25) rotate(-15deg)}
  55%{transform:scale(1.2) rotate(5deg)}
  100%{transform:scale(1)}
}
@media(prefers-reduced-motion:reduce){
  .v129-level-up,.v129-level-card,.v129-level-rays,.v129-level-icon{
    animation:none!important;
    transition:none!important;
  }
}


/* V12.9.1 – lygio garso ir monetų patvirtinimas */
.v129-coin-change{
  position:relative;
  display:block;
  margin:-8px 0 18px;
  color:var(--muted);
  font-weight:850;
}


/* =========================================================
   V12.10.0 – PASIEKIMŲ ATRAKINIMO PRANEŠIMAI
========================================================= */
.v1210-achievement-popup{
  position:fixed;
  inset:0;
  z-index:100010;
  display:grid;
  place-items:center;
  padding:20px;
  opacity:0;
  transition:opacity .22s ease;
}
.v1210-achievement-popup[hidden]{display:none}
.v1210-achievement-popup.is-visible{opacity:1}
.v1210-achievement-backdrop{
  position:absolute;
  inset:0;
  background:rgba(18,24,58,.68);
  backdrop-filter:blur(6px);
}
.v1210-achievement-card{
  position:relative;
  width:min(430px,100%);
  overflow:hidden;
  text-align:center;
  padding:34px 28px 28px;
  border:4px solid #f0c64f;
  border-radius:30px;
  background:linear-gradient(150deg,#fffdf2,#fff,#f3f1ff);
  box-shadow:0 28px 80px rgba(20,26,70,.4);
  transform:scale(.72) translateY(24px);
  transition:transform .3s cubic-bezier(.2,.9,.25,1.25);
}
.v1210-achievement-popup.is-visible .v1210-achievement-card{
  transform:scale(1) translateY(0);
}
.v1210-achievement-sparkles{
  position:absolute;
  inset:-25%;
  background-image:
    radial-gradient(circle,#ffd55d 0 4px,transparent 5px),
    radial-gradient(circle,#6c5ce7 0 4px,transparent 5px),
    radial-gradient(circle,#38c6ff 0 4px,transparent 5px);
  background-size:80px 90px,105px 95px,120px 110px;
  animation:v1210-float 3s linear infinite;
  opacity:.7;
}
.v1210-achievement-icon{
  position:relative;
  display:block;
  font-size:5rem;
  line-height:1;
  animation:v1210-pop .9s ease both;
}
.v1210-achievement-card h2{
  position:relative;
  margin:14px 0 7px;
  font-size:2rem;
}
.v1210-achievement-card>strong{
  position:relative;
  display:block;
  font-size:1.4rem;
  margin-bottom:10px;
}
.v1210-achievement-card p{
  position:relative;
  margin:0 auto 16px;
  max-width:340px;
  color:var(--muted);
  font-weight:750;
  line-height:1.4;
}
.v1210-achievement-reward{
  position:relative;
  display:inline-flex;
  min-width:110px;
  justify-content:center;
  margin-bottom:10px;
  padding:10px 16px;
  border-radius:15px;
  border:2px solid #f0c64f;
  background:#fff6cd;
  font-size:1.2rem;
  font-weight:950;
}
.v1210-achievement-coins{
  position:relative;
  display:block;
  margin-bottom:18px;
  color:var(--muted);
  font-weight:850;
}
.v1210-achievement-card button{
  position:relative;
  min-width:160px;
  padding:12px 22px;
  border:0;
  border-radius:16px;
  background:linear-gradient(135deg,#6c5ce7,#38c6ff);
  color:#fff;
  font:inherit;
  font-weight:950;
  cursor:pointer;
}
@keyframes v1210-float{
  from{background-position:0 -80px,20px -100px,40px -120px}
  to{background-position:0 180px,20px 160px,40px 200px}
}
@keyframes v1210-pop{
  0%{transform:scale(.25) rotate(-15deg)}
  55%{transform:scale(1.2) rotate(5deg)}
  100%{transform:scale(1)}
}
@media(prefers-reduced-motion:reduce){
  .v1210-achievement-popup,.v1210-achievement-card,.v1210-achievement-sparkles,.v1210-achievement-icon{
    animation:none!important;
    transition:none!important;
  }
}


/* =========================================================
   V12.11.0 – IŠPLĖSTA TĖVŲ ZONA
========================================================= */
.v1211-parent-overview,
.v1211-parent-medals,
.v1211-parent-recommendations{
  margin:20px 0;
  padding:18px;
  border:2px solid #e1e3ef;
  border-radius:22px;
  background:linear-gradient(145deg,#fff,#f7f8fc);
}
.v1211-parent-overview h3,
.v1211-parent-medals h3,
.v1211-parent-recommendations h3{
  margin:0 0 14px;
}
.v1211-parent-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.v1211-parent-card-grid article{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:88px;
  padding:14px;
  border-radius:17px;
  background:#fff;
  border:2px solid #e7e8f0;
}
.v1211-parent-card-grid article>span{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  flex:0 0 auto;
  border-radius:13px;
  background:#f4f2ff;
  font-size:1.5rem;
}
.v1211-parent-card-grid article div{
  display:grid;
  gap:4px;
}
.v1211-parent-card-grid small{
  color:var(--muted);
  font-weight:800;
}
.v1211-parent-card-grid strong{
  font-size:1.05rem;
}
.v1211-parent-medal-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.v1211-parent-medal-grid article{
  display:grid;
  justify-items:center;
  gap:5px;
  padding:15px;
  border-radius:17px;
  background:#fff;
  border:2px solid #e7e8f0;
}
.v1211-parent-medal-grid article>span{
  font-size:2rem;
}
.v1211-parent-medal-grid article strong{
  font-size:1.1rem;
}
.v1211-parent-medal-grid article small{
  color:var(--muted);
  font-weight:850;
}
.v1211-parent-recommendation-list{
  display:grid;
  gap:10px;
}
.v1211-parent-recommendation-list article{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px;
  border-radius:16px;
  background:#fff;
  border:2px solid #e7e8f0;
}
.v1211-parent-recommendation-list article>span{
  font-size:1.5rem;
}
.v1211-parent-recommendation-list p{
  margin:0;
  font-weight:750;
  line-height:1.4;
}
@media(max-width:900px){
  .v1211-parent-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .v1211-parent-card-grid,
  .v1211-parent-medal-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:430px){
  .v1211-parent-card-grid,
  .v1211-parent-medal-grid{grid-template-columns:1fr}
}


/* V12.11.2 – Tėvų zonos klaidų apsauga */
.v1211-parent-error{
  margin:0;
  padding:14px;
  border-radius:14px;
  background:#fff1f1;
  color:#8a3030;
  font-weight:800;
}


/* V12.11.3 – garso nustatymas bendroje Nustatymų skiltyje */
.v12113-sound-row{
  align-items:center;
}
.v12113-sound-row>label:first-child{
  display:grid;
  gap:4px;
}
.v12113-sound-row small{
  color:var(--muted);
  font-weight:700;
}
.v12113-sound-row .switch{
  justify-self:end;
}
@media(max-width:680px){
  .v12113-sound-row{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
}


/* =========================================================
   V12.12.0 – SAVAITĖS ATASKAITA TĖVAMS
========================================================= */
.v12120-report-settings{
  display:grid;
  gap:10px;
}
.v12120-report-settings .small-btn{
  justify-self:start;
}
.v12120-printable-report{
  display:none;
  color:#111833;
  background:#fff;
}
.v12120-report-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding-bottom:20px;
  border-bottom:3px solid #6c5ce7;
}
.v12120-report-header h1{
  margin:0 0 7px;
  font-size:1.8rem;
}
.v12120-report-header p{
  margin:0;
  color:#626980;
  font-weight:700;
}
.v12120-report-student{
  display:grid;
  justify-items:end;
  gap:5px;
}
.v12120-report-student strong{
  font-size:1.15rem;
}
.v12120-printable-report section{
  margin-top:24px;
}
.v12120-printable-report h2{
  margin:0 0 12px;
  font-size:1.3rem;
}
.v12120-report-summary,
.v12120-report-medals{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.v12120-report-summary article,
.v12120-report-medals article{
  display:grid;
  justify-items:center;
  gap:5px;
  padding:14px;
  border:2px solid #e0e3ed;
  border-radius:16px;
  text-align:center;
}
.v12120-report-summary article>span,
.v12120-report-medals article>span{
  font-size:1.8rem;
}
.v12120-report-summary small,
.v12120-report-medals small{
  color:#626980;
  font-weight:700;
}
.v12120-report-summary strong,
.v12120-report-medals strong{
  font-size:1.1rem;
}
.v12120-report-recommendations{
  display:grid;
  gap:10px;
}
.v12120-report-recommendations article{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:13px;
  border:2px solid #e0e3ed;
  border-radius:14px;
}
.v12120-report-recommendations article>span{
  font-size:1.4rem;
}
.v12120-report-recommendations p{
  margin:0;
  line-height:1.4;
  font-weight:700;
}
.v12120-printable-report footer{
  margin-top:28px;
  padding-top:12px;
  border-top:1px solid #d9dce5;
  color:#70768a;
  font-size:.8rem;
}
@media print{
  @page{
    size:A4 portrait;
    margin:14mm;
  }

  html,
  body{
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    background:#fff!important;
  }

  body.v12120-print-mode > *:not(#v12120PrintableReport){
    display:none!important;
  }

  body.v12120-print-mode > #v12120PrintableReport{
    display:block!important;
    position:static!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    box-shadow:none!important;
    border:0!important;
    background:#fff!important;
    break-before:auto!important;
    break-after:auto!important;
    page-break-before:auto!important;
    page-break-after:auto!important;
  }

  body.v12120-print-mode > #v12120PrintableReport,
  body.v12120-print-mode > #v12120PrintableReport *{
    visibility:visible!important;
  }

  .v12120-report-summary,
  .v12120-report-medals{
    grid-template-columns:repeat(4,1fr)!important;
  }

  .v12120-report-header,
  .v12120-printable-report section,
  .v12120-report-summary article,
  .v12120-report-medals article,
  .v12120-report-recommendations article{
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }

  .v12120-printable-report footer{
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
}


/* =========================================================
   V12.13.0 – IŠMANIOJI TRENIRUOTĖ
========================================================= */
.v12130-smart-practice{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:22px;
  margin:18px 0;
  padding:22px;
  border:3px solid #78c8ff;
  border-radius:25px;
  background:linear-gradient(145deg,#eefaff,#fff,#f3efff);
  box-shadow:0 10px 24px rgba(64,142,220,.1);
}
.v12130-smart-copy{
  display:grid;
  gap:8px;
}
.v12130-kicker{
  color:#5950c8;
  font-size:.82rem;
  font-weight:950;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.v12130-smart-practice h2{
  margin:0;
  font-size:1.35rem;
}
.v12130-smart-practice p{
  margin:0;
  color:var(--muted);
  font-weight:750;
  line-height:1.4;
}
.v12130-smart-targets{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:5px;
}
.v12130-smart-chip{
  padding:8px 11px;
  border:2px solid #dfe4f0;
  border-radius:13px;
  background:#fff;
  font-weight:850;
}
.v12130-smart-chip.needs-work{
  border-color:#f1b4b4;
  background:#fff3f3;
}
.v12130-smart-chip.needs-practice{
  border-color:#b8d9f4;
  background:#f1f9ff;
}
.v12130-smart-start{
  min-width:190px;
  padding:13px 18px;
  border:0;
  border-radius:17px;
  background:linear-gradient(135deg,#6c5ce7,#38c6ff);
  color:#fff;
  font:inherit;
  font-weight:950;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(78,94,220,.2);
}
.v12130-smart-start:hover{
  transform:translateY(-1px);
}
@media(max-width:780px){
  .v12130-smart-practice{
    grid-template-columns:1fr;
  }
  .v12130-smart-start{
    width:100%;
  }
}


/* =========================================================
   V12.14.0 – TRENIRUOČIŲ ISTORIJA
========================================================= */
.v12140-session-history{
  margin:18px 0 24px;
  padding:20px;
  border:2px solid #dedfff;
  border-radius:22px;
  background:linear-gradient(145deg,#fff,#f7f8fc);
}
.v12140-session-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}
.v12140-session-header h3{
  margin:0 0 4px;
}
.v12140-session-header p{
  margin:0;
  color:var(--muted);
  font-weight:750;
}
.v12140-session-count{
  padding:8px 11px;
  border-radius:13px;
  background:#fff;
  border:2px solid #e4e6ef;
  color:var(--muted);
  font-weight:850;
}
.v12140-session-list{
  display:grid;
  gap:11px;
}
.v12140-session-card{
  display:grid;
  grid-template-columns:minmax(210px,.9fr) minmax(0,1.4fr);
  align-items:center;
  gap:18px;
  padding:15px;
  border:2px solid #e5e7ef;
  border-radius:18px;
  background:#fff;
}
.v12140-session-card.is-smart{
  border-color:#9ed8f5;
  background:linear-gradient(145deg,#eefaff,#fff);
}
.v12140-session-main{
  display:flex;
  align-items:center;
  gap:12px;
}
.v12140-session-icon{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  flex:0 0 auto;
  border-radius:14px;
  background:#f3f1ff;
  font-size:1.65rem;
}
.v12140-session-main div{
  display:grid;
  gap:4px;
}
.v12140-session-main small{
  color:var(--muted);
  font-weight:750;
}
.v12140-session-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.v12140-session-metrics>span{
  display:grid;
  gap:3px;
  padding:9px;
  border-radius:13px;
  background:#f6f7fb;
  text-align:center;
}
.v12140-session-metrics small{
  color:var(--muted);
  font-size:.72rem;
  font-weight:800;
}
.v12140-session-metrics strong{
  font-size:.98rem;
}
.v12140-session-empty{
  padding:18px;
  border:2px dashed #d8dbe6;
  border-radius:16px;
  color:var(--muted);
  text-align:center;
  font-weight:800;
}
@media(max-width:820px){
  .v12140-session-card{
    grid-template-columns:1fr;
  }
}
@media(max-width:560px){
  .v12140-session-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .v12140-session-header{
    flex-direction:column;
  }
}


/* =========================================================
   V12.15.0 – SAVAITĖS MOKYMOSI TIKSLAS
========================================================= */
.v12150-weekly-goal{
  display:grid;
  gap:14px;
  margin:18px 0 24px;
  padding:20px;
  border:2px solid #dedfff;
  border-radius:22px;
  background:linear-gradient(145deg,#fffaf0,#fff,#f5f2ff);
}
.v12150-weekly-goal.is-complete{
  border-color:#8ed8ae;
  background:linear-gradient(145deg,#effcf5,#fff);
}
.v12150-weekly-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.v12150-weekly-head>div{
  display:flex;
  align-items:center;
  gap:13px;
}
.v12150-weekly-icon{
  display:grid;
  place-items:center;
  width:50px;
  height:50px;
  flex:0 0 auto;
  border-radius:15px;
  background:#fff;
  box-shadow:inset 0 0 0 1px rgba(30,40,80,.08);
  font-size:1.8rem;
}
.v12150-weekly-head h3{
  margin:0 0 4px;
}
.v12150-weekly-head p{
  margin:0;
  color:var(--muted);
  font-weight:750;
}
.v12150-weekly-head>strong{
  font-size:1.2rem;
  white-space:nowrap;
}
.v12150-weekly-progress{
  height:13px;
  overflow:hidden;
  border-radius:999px;
  background:#e4e6ee;
}
.v12150-weekly-progress span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6c5ce7,#38c6ff);
}
.v12150-weekly-goal.is-complete .v12150-weekly-progress span{
  background:linear-gradient(90deg,#34c97a,#8ae0ad);
}
.v12150-weekly-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  color:var(--muted);
  font-weight:850;
}
.v12150-weekly-goal.is-complete .v12150-weekly-footer{
  color:#268354;
}
@media(max-width:560px){
  .v12150-weekly-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .v12150-weekly-footer{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* V12.15.1 – versijos žyma ir savaitės tikslo patikimumas */
.app-version-marker{
  display:inline-block;
  margin:-8px 0 12px 4px;
  color:var(--muted);
  font-size:.72rem;
  font-weight:800;
}


/* =========================================================
   V12.16.0 – SILPNIAUSIOS LENTELĖS IR KLAIDOS ATASKAITOJE
========================================================= */
.v12160-report-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.v12160-report-list article{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border:2px solid #e0e3ed;
  border-radius:13px;
  background:#fff;
}
.v12160-report-list strong{
  font-size:.9rem;
}
.v12160-report-list span{
  color:#626980;
  font-size:.82rem;
  font-weight:700;
  text-align:right;
}
.v12160-report-empty{
  grid-column:1/-1;
  padding:12px;
  border:2px dashed #d9dce6;
  border-radius:13px;
  color:#626980;
  text-align:center;
  font-weight:700;
}

@media print{
  .v12120-printable-report section{
    margin-top:16px!important;
  }
  .v12120-printable-report h2{
    margin-bottom:8px!important;
    font-size:1.12rem!important;
  }
  .v12120-report-summary article,
  .v12120-report-medals article{
    padding:10px!important;
  }
  .v12120-report-recommendations article,
  .v12160-report-list article{
    padding:8px 10px!important;
  }
  .v12160-report-list{
    grid-template-columns:repeat(2,1fr)!important;
    gap:7px!important;
  }
  .v12120-printable-report footer{
    margin-top:18px!important;
  }
}


/* V12.16.2 – procentinė reikšmė neskaidoma į dvi eilutes */
.percent-nowrap{
  white-space:nowrap;
}


/* =========================================================
   V12.17.0 – SAVAITĖS TIKSLO APDOVANOJIMAS
========================================================= */
.v12170-weekly-reward{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px;
  border:2px solid #e2e4ed;
  border-radius:17px;
  background:#f7f8fb;
}
.v12170-weekly-reward>div{
  display:flex;
  align-items:center;
  gap:12px;
}
.v12170-reward-icon{
  display:grid;
  place-items:center;
  width:43px;
  height:43px;
  flex:0 0 auto;
  border-radius:13px;
  background:#fff;
  font-size:1.55rem;
}
.v12170-weekly-reward strong{
  display:block;
  margin-bottom:3px;
}
.v12170-weekly-reward small{
  color:var(--muted);
  font-weight:750;
}
.v12170-weekly-reward button{
  min-width:145px;
  padding:10px 14px;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,#6c5ce7,#38c6ff);
  color:#fff;
  font:inherit;
  font-weight:950;
  cursor:pointer;
}
.v12170-weekly-reward button:disabled{
  background:#dfe2eb;
  color:#777d91;
  cursor:default;
}
.v12170-weekly-reward.is-ready{
  border-color:#f0c64f;
  background:linear-gradient(145deg,#fff8d8,#fff);
}
.v12170-weekly-reward.is-claimed{
  border-color:#9ddcb8;
  background:linear-gradient(145deg,#effcf5,#fff);
}
@media(max-width:620px){
  .v12170-weekly-reward{
    align-items:stretch;
    flex-direction:column;
  }
  .v12170-weekly-reward button{
    width:100%;
  }
}

.v12180-weekly-comparison,.v12180-parent-comparison{margin:18px 0 24px;padding:20px;border:2px solid #dedfff;border-radius:22px;background:linear-gradient(145deg,#fff,#f7f8fc)}
.v12180-comparison-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.v12180-comparison-header h3,.v12180-parent-comparison h3{margin:0 0 5px}
.v12180-comparison-header p{margin:0;color:var(--muted);font-weight:750}
.v12180-overall-trend{padding:8px 12px;border-radius:13px;font-weight:900;white-space:nowrap}
.v12180-overall-trend.up,.v12180-difference.up{background:#eafaf1;color:#218453}
.v12180-overall-trend.down,.v12180-difference.down{background:#fff0f0;color:#b34747}
.v12180-overall-trend.same,.v12180-difference.same{background:#f0f2f7;color:#6d7385}
.v12180-comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.v12180-comparison-card{display:grid;gap:13px;padding:15px;border:2px solid #e4e6ef;border-radius:18px;background:#fff}
.v12180-comparison-card.up{border-color:#a8dfbf}.v12180-comparison-card.down{border-color:#efb5b5}
.v12180-metric-title{display:flex;align-items:center;gap:9px}.v12180-metric-title>span{font-size:1.55rem}
.v12180-period-values{display:grid;grid-template-columns:1fr 1fr;gap:8px}.v12180-period-values>div{display:grid;gap:4px;padding:9px;border-radius:12px;background:#f6f7fb}
.v12180-period-values small,.v12180-parent-comparison-grid small{color:var(--muted);font-size:.72rem;font-weight:800}
.v12180-difference{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px;border-radius:12px}
.v12180-parent-comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.v12180-parent-comparison-grid article{display:flex;align-items:center;gap:11px;padding:13px;border:2px solid #e4e6ef;border-radius:16px;background:#fff}
.v12180-parent-comparison-grid article.up{border-color:#a8dfbf}.v12180-parent-comparison-grid article.down{border-color:#efb5b5}
.v12180-parent-comparison-grid article>span{font-size:1.45rem}.v12180-parent-comparison-grid article div{display:grid;gap:4px}
@media(max-width:850px){.v12180-comparison-grid,.v12180-parent-comparison-grid{grid-template-columns:1fr}}
@media(max-width:560px){.v12180-comparison-header{flex-direction:column}.v12180-overall-trend{white-space:normal}}


/* =========================================================
   V12.19.0 – SAVAITĖS PALYGINIMAS PDF ATASKAITOJE
========================================================= */
.v12190-report-comparison-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px;
}
.v12190-report-comparison-heading h2{
  margin:0!important;
}
.v12190-report-overall{
  padding:6px 10px;
  border-radius:11px;
  font-size:.82rem;
  font-weight:900;
}
.v12190-report-overall.up,
.v12190-report-diff.up{
  background:#eafaf1;
  color:#218453;
}
.v12190-report-overall.down,
.v12190-report-diff.down{
  background:#fff0f0;
  color:#b34747;
}
.v12190-report-overall.same,
.v12190-report-diff.same{
  background:#f0f2f7;
  color:#6d7385;
}
.v12190-report-comparison{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.v12190-report-comparison article{
  display:grid;
  gap:8px;
  padding:11px;
  border:2px solid #e0e3ed;
  border-radius:14px;
  background:#fff;
}
.v12190-report-comparison article.up{
  border-color:#a8dfbf;
}
.v12190-report-comparison article.down{
  border-color:#efb5b5;
}
.v12190-report-metric{
  display:flex;
  align-items:center;
  gap:7px;
}
.v12190-report-metric>span{
  font-size:1.25rem;
}
.v12190-report-values{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
}
.v12190-report-values>span{
  display:grid;
  gap:3px;
  padding:7px;
  border-radius:10px;
  background:#f6f7fb;
}
.v12190-report-values small{
  color:#626980;
  font-size:.66rem;
  font-weight:700;
}
.v12190-report-values strong{
  font-size:.88rem;
}
.v12190-report-diff{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:6px;
  border-radius:10px;
  font-size:.84rem;
}

@media print{
  .v12190-report-comparison{
    grid-template-columns:repeat(3,1fr)!important;
    gap:7px!important;
  }
  .v12190-report-comparison article{
    padding:8px!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  .v12190-report-values>span{
    padding:5px!important;
  }
  .v12190-report-comparison-heading{
    margin-bottom:7px!important;
  }
}


/* =========================================================
   V12.20.0 – ASMENINIAI MOKYMOSI REKORDAI
========================================================= */
.v12200-learning-records,
.v12200-parent-records{
  margin:18px 0 24px;
  padding:20px;
  border:2px solid #dedfff;
  border-radius:22px;
  background:linear-gradient(145deg,#fffdf2,#fff,#f7f5ff);
}
.v12200-records-header{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  margin-bottom:16px;
}
.v12200-records-copy{min-width:0;flex:1;}
.v12200-records-header h3,
.v12200-parent-records h3{
  margin:0 0 5px;
}
.v12200-records-header p{
  margin:0;
  color:var(--muted);
  font-weight:750;
}
.v12200-records-badge{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:15px;
  background:#fff6c9;
  font-size:1.7rem;
}
.v12200-records-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.v12200-record-card,
.v12200-parent-records-grid article{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px;
  border:2px solid #e5e7ef;
  border-radius:17px;
  background:#fff;
}
.v12200-record-card>span,
.v12200-parent-records-grid article>span{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  flex:0 0 auto;
  border-radius:13px;
  background:#f5f3ff;
  font-size:1.5rem;
}
.v12200-record-card div,
.v12200-parent-records-grid article div{
  display:grid;
  gap:4px;
}
.v12200-record-card small,
.v12200-parent-records-grid small{
  color:var(--muted);
  font-weight:800;
}
.v12200-record-card strong{
  font-size:1.02rem;
}
.v12200-parent-records-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:11px;
}
@media(max-width:820px){
  .v12200-records-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:600px){
  .v12200-records-grid,
  .v12200-parent-records-grid{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   V12.21.0 – NAUJO REKORDO SVEIKINIMAS
========================================================= */
.v12210-record-popup{
  position:fixed;
  inset:0;
  z-index:100020;
  display:grid;
  place-items:center;
  padding:20px;
  opacity:0;
  transition:opacity .22s ease;
}
.v12210-record-popup[hidden]{display:none}
.v12210-record-popup.is-visible{opacity:1}
.v12210-record-backdrop{
  position:absolute;
  inset:0;
  background:rgba(18,24,58,.7);
  backdrop-filter:blur(6px);
}
.v12210-record-card{
  position:relative;
  width:min(430px,100%);
  overflow:hidden;
  text-align:center;
  padding:34px 28px 28px;
  border:4px solid #f0c64f;
  border-radius:30px;
  background:linear-gradient(150deg,#fffdf2,#fff,#f3f1ff);
  box-shadow:0 28px 80px rgba(20,26,70,.42);
  transform:scale(.72) translateY(24px);
  transition:transform .3s cubic-bezier(.2,.9,.25,1.25);
}
.v12210-record-popup.is-visible .v12210-record-card{
  transform:scale(1) translateY(0);
}
.v12210-record-rays{
  position:absolute;
  inset:-40%;
  background:repeating-conic-gradient(from 0deg,rgba(108,92,231,.12) 0 12deg,transparent 12deg 24deg);
  animation:v12210-spin 14s linear infinite;
}
.v12210-record-icon{
  position:relative;
  display:block;
  font-size:5rem;
  line-height:1;
  animation:v12210-pop .85s ease both;
}
.v12210-record-card h2{
  position:relative;
  margin:14px 0 8px;
  font-size:2rem;
}
.v12210-record-card>strong{
  position:relative;
  display:block;
  font-size:1.35rem;
}
.v12210-record-card p{
  position:relative;
  margin:10px 0 16px;
  color:var(--muted);
  font-size:1.2rem;
  font-weight:900;
}
.v12210-record-reward{
  position:relative;
  display:inline-flex;
  min-width:110px;
  justify-content:center;
  margin-bottom:9px;
  padding:10px 16px;
  border-radius:15px;
  border:2px solid #f0c64f;
  background:#fff6cd;
  font-size:1.2rem;
  font-weight:950;
}
.v12210-record-coins{
  position:relative;
  display:block;
  margin-bottom:18px;
  color:var(--muted);
  font-weight:850;
}
.v12210-record-card button{
  position:relative;
  min-width:160px;
  padding:12px 22px;
  border:0;
  border-radius:16px;
  background:linear-gradient(135deg,#6c5ce7,#38c6ff);
  color:#fff;
  font:inherit;
  font-weight:950;
  cursor:pointer;
}
@keyframes v12210-spin{to{transform:rotate(360deg)}}
@keyframes v12210-pop{
  0%{transform:scale(.25) rotate(-15deg)}
  55%{transform:scale(1.2) rotate(5deg)}
  100%{transform:scale(1)}
}
@media(prefers-reduced-motion:reduce){
  .v12210-record-popup,.v12210-record-card,.v12210-record-rays,.v12210-record-icon{
    animation:none!important;
    transition:none!important;
  }
}


/* =========================================================
   V12.22.0 – SAVAITĖS TIKSLAS IR REKORDAI PDF ATASKAITOJE
========================================================= */
.v12220-report-weekly-goal{
  padding:12px;
  border:2px solid #e0e3ed;
  border-radius:14px;
  background:#fff;
}
.v12220-report-goal-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:8px;
}
.v12220-report-goal-head>div{
  display:grid;
  gap:3px;
}
.v12220-report-goal-head small{
  color:#626980;
  font-weight:700;
}
.v12220-report-goal-head>span{
  font-weight:900;
  white-space:nowrap;
}
.v12220-report-goal-progress{
  height:10px;
  overflow:hidden;
  border-radius:999px;
  background:#e4e6ee;
}
.v12220-report-goal-progress span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6c5ce7,#38c6ff);
}
.v12220-report-records{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.v12220-report-records article{
  display:flex;
  align-items:center;
  gap:9px;
  padding:9px;
  border:2px solid #e0e3ed;
  border-radius:13px;
  background:#fff;
}
.v12220-report-records article>span{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  flex:0 0 auto;
  border-radius:10px;
  background:#f5f3ff;
  font-size:1.15rem;
}
.v12220-report-records article div{
  display:grid;
  gap:2px;
}
.v12220-report-records small{
  color:#626980;
  font-size:.68rem;
  font-weight:700;
}
.v12220-report-records strong{
  font-size:.86rem;
}

@media print{
  .v12220-report-weekly-goal{
    padding:9px!important;
  }
  .v12220-report-records{
    grid-template-columns:repeat(3,1fr)!important;
    gap:6px!important;
  }
  .v12220-report-records article{
    padding:7px!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  .v12220-report-records article>span{
    width:29px!important;
    height:29px!important;
    font-size:1rem!important;
  }
  .v12220-report-records small{
    font-size:.62rem!important;
  }
  .v12220-report-records strong{
    font-size:.78rem!important;
  }
}

.v12230-session-insights,.v12230-parent-insights{margin:18px 0 24px;padding:20px;border:2px solid #dedfff;border-radius:22px;background:linear-gradient(145deg,#f8fcff,#fff,#f8f5ff)}
.v12230-insights-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.v12230-insights-header h3,.v12230-parent-insights h3{margin:0 0 5px}
.v12230-insights-header p{margin:0;color:var(--muted);font-weight:750}
.v12230-insights-trend{padding:8px 12px;border-radius:13px;font-weight:900;white-space:nowrap}
.v12230-insights-trend.improving{background:#eafaf1;color:#218453}.v12230-insights-trend.declining{background:#fff0f0;color:#b34747}
.v12230-insights-trend.stable,.v12230-insights-trend.insufficient{background:#f0f2f7;color:#6d7385}
.v12230-insights-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.v12230-insight-card,.v12230-parent-insight{display:flex;align-items:flex-start;gap:12px;padding:14px;border:2px solid #e4e6ef;border-radius:17px;background:#fff}
.v12230-insight-card.positive,.v12230-parent-insight.positive{border-color:#a8dfbf;background:#f4fcf7}
.v12230-insight-card.warning,.v12230-parent-insight.warning{border-color:#efb5b5;background:#fff7f7}
.v12230-insight-card>span,.v12230-parent-insight>span{display:grid;place-items:center;width:43px;height:43px;flex:0 0 auto;border-radius:13px;background:#f5f3ff;font-size:1.45rem}
.v12230-insight-card div,.v12230-parent-insight div{display:grid;gap:5px}
.v12230-insight-card p,.v12230-parent-insight p{margin:0;color:var(--muted);font-weight:750;line-height:1.4}
@media(max-width:850px){.v12230-insights-grid{grid-template-columns:1fr}}
@media(max-width:560px){.v12230-insights-header{flex-direction:column}.v12230-insights-trend{white-space:normal}}


/* =========================================================
   V12.24.0 – PRIEINAMUMAS IR MOBILUS VAIZDAS
========================================================= */
.skip-link{
  position:fixed;
  top:10px;
  left:10px;
  z-index:200000;
  transform:translateY(-180%);
  padding:11px 15px;
  border:3px solid #1e2a62;
  border-radius:12px;
  background:#fff;
  color:#111833;
  font-weight:900;
  text-decoration:none;
  transition:transform .18s ease;
}
.skip-link:focus{
  transform:translateY(0);
}
:where(button,a,input,select,textarea,[tabindex]):focus-visible{
  outline:4px solid #ffbf2f!important;
  outline-offset:3px!important;
}
button,
a,
select,
input[type="checkbox"],
input[type="radio"]{
  touch-action:manipulation;
}
button:not(.switch),
.secondary-btn,
.small-btn{
  min-height:44px;
}
.switch{
  min-width:52px;
  min-height:44px;
  display:inline-flex;
  align-items:center;
}
.screen[hidden],
[hidden]{
  display:none!important;
}
[role="dialog"]:focus{
  outline:none;
}
@media(max-width:680px){
  body{
    -webkit-text-size-adjust:100%;
  }
  .card{
    border-radius:20px;
  }
  button,
  .small-btn,
  .secondary-btn,
  select,
  input[type="number"],
  input[type="password"]{
    min-height:48px;
  }
  .topbar button,
  .topbar select{
    min-height:44px;
  }
  .settings-row{
    row-gap:10px;
  }
  .settings-row>label{
    line-height:1.35;
  }
}
@media(prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    scroll-behavior:auto!important;
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
  }
}
html.lh-test-reduced-motion *,
html.lh-test-reduced-motion *::before,
html.lh-test-reduced-motion *::after{
  scroll-behavior:auto!important;
  animation-duration:.001ms!important;
  animation-iteration-count:1!important;
  transition-duration:.001ms!important;
}
@media(forced-colors:active){
  button,
  .card,
  .v12230-insight-card,
  .v12180-comparison-card{
    border:2px solid CanvasText!important;
  }
  :where(button,a,input,select,textarea,[tabindex]):focus-visible{
    outline:3px solid Highlight!important;
  }
}


/* =========================================================
   V12.25.0 – DUOMENŲ VIENTISUMAS
========================================================= */
.v12250-integrity-panel{
  border-color:#cfd7ef!important;
  background:linear-gradient(145deg,#f8fbff,#fff)!important;
}
.v12250-integrity-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.v12250-integrity-head h3{
  margin:0 0 5px;
}
.v12250-integrity-badge{
  padding:8px 12px;
  border-radius:13px;
  font-weight:900;
  white-space:nowrap;
  background:#f0f2f7;
  color:#6d7385;
}
.v12250-integrity-badge.ok{
  background:#eafaf1;
  color:#218453;
}
.v12250-integrity-badge.bad{
  background:#fff0f0;
  color:#b34747;
}
.v12250-integrity-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:16px 0;
}
.v12250-integrity-summary article{
  display:grid;
  gap:4px;
  padding:11px;
  border:2px solid #e4e6ef;
  border-radius:14px;
  background:#fff;
  text-align:center;
}
.v12250-integrity-summary small{
  color:var(--muted);
  font-weight:800;
}
.v12250-integrity-summary strong{
  font-size:1.15rem;
}
.v12250-integrity-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.v12250-integrity-actions .secondary{
  background:#eef1f7;
  color:#4d556f;
}
@media(max-width:680px){
  .v12250-integrity-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .v12250-integrity-head{
    flex-direction:column;
  }
  .v12250-integrity-actions>*{
    width:100%;
  }
}




/* =========================================================
   V13.1.0 – KELI VAIKŲ PROFILIAI
========================================================= */
.v1310-profile-switcher-btn{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:54px;
  padding:8px 12px;
  border:2px solid #e3e5ef;
  border-radius:17px;
  background:#fff;
  color:inherit;
  cursor:pointer;
}
.v1310-profile-switcher-btn>span:nth-child(2){
  display:grid;
  gap:2px;
  text-align:left;
}
.v1310-profile-switcher-btn small{
  color:var(--muted);
  font-weight:750;
}
.v1310-profile-avatar{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:12px;
  background:#f4f1ff;
  font-size:1.25rem;
}
.v1310-profile-dialog{
  position:fixed;
  inset:0;
  z-index:100050;
  display:grid;
  place-items:center;
  padding:18px;
  opacity:0;
  transition:opacity .18s ease;
}
.v1310-profile-dialog[hidden]{display:none}
.v1310-profile-dialog.is-visible{opacity:1}
.v1310-profile-backdrop{
  position:absolute;
  inset:0;
  background:rgba(18,24,58,.7);
  backdrop-filter:blur(5px);
}
.v1310-profile-card{
  position:relative;
  width:min(560px,100%);
  max-height:min(760px,92vh);
  overflow:auto;
  padding:22px;
  border:3px solid #d8d2ff;
  border-radius:26px;
  background:#fff;
  box-shadow:0 28px 80px rgba(20,26,70,.42);
}
.v1310-profile-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}
.v1310-profile-head h2{margin:0 0 5px}
.v1310-profile-head p{margin:0;color:var(--muted);font-weight:750}
.v1310-profile-head>button{
  width:44px;
  min-width:44px;
  padding:0;
  border:0;
  border-radius:13px;
  background:#f0f2f7;
}
.v1310-profile-list{
  display:grid;
  gap:10px;
}
.v1310-profile-item{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
  align-items:stretch;
}
.v1310-profile-select{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  padding:12px;
  border:2px solid #e5e7ef;
  border-radius:16px;
  background:#fff;
  color:inherit;
  text-align:left;
}
.v1310-profile-item.active .v1310-profile-select{
  border-color:#8b7cf6;
  background:#f6f4ff;
}
.v1310-profile-select>span{
  font-size:1.7rem;
}
.v1310-profile-select>div{
  display:grid;
  flex:1;
  gap:3px;
}
.v1310-profile-select small{
  color:var(--muted);
  font-weight:750;
}
.v1310-profile-delete{
  width:48px;
  min-width:48px;
  padding:0;
  border:2px solid #f1d0d0;
  border-radius:15px;
  background:#fff7f7;
}
.v1310-add-profile-form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  margin-top:18px;
  padding-top:18px;
  border-top:2px solid #eceef5;
}
.v1310-add-profile-form label{
  display:grid;
  gap:6px;
}
.v1310-add-profile-form input{
  min-height:48px;
  padding:0 13px;
  border:2px solid #dfe2ec;
  border-radius:14px;
  font:inherit;
}
.v1310-add-profile-form button{
  align-self:end;
  padding:0 16px;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,#6c5ce7,#38c6ff);
  color:#fff;
  font-weight:900;
}
@media(max-width:680px){
  .v1310-profile-switcher-btn{
    min-width:auto;
  }
  .v1310-profile-switcher-btn small{
    display:none;
  }
  .v1310-add-profile-form{
    grid-template-columns:1fr;
  }
  .v1310-add-profile-form button{
    min-height:48px;
  }
}


/* =========================================================
   V13.1.2 – PROFILIŲ INVENTORIUS IR STABILI VIRŠUTINĖ JUOSTA
========================================================= */
.topbar{
  display:grid!important;
  grid-template-columns:minmax(150px,210px) minmax(170px,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  flex-wrap:nowrap!important;
}
.v1310-profile-switcher-btn{
  width:100%;
  min-width:0;
  max-width:210px;
  overflow:hidden;
}
.v1310-profile-switcher-btn>span:nth-child(2){
  min-width:0;
  flex:1;
}
#v1310ActiveProfileName{
  display:block;
  min-width:0;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.player-top{
  min-width:0!important;
  max-width:260px;
}
.player-top>div:last-child{
  min-width:0;
}
.player-top-name{
  max-width:190px!important;
}
.topstats{
  margin-left:0!important;
  display:flex;
  justify-content:flex-end;
  flex-wrap:nowrap!important;
  min-width:0;
}
.status-pill{
  flex:0 0 auto;
}
@media(max-width:1050px){
  .topbar{
    grid-template-columns:minmax(145px,190px) minmax(145px,1fr) auto!important;
  }
  .status-pill{
    padding:7px 9px;
  }
  .status-icon{
    width:23px;
    height:23px;
  }
  .player-top-name{
    max-width:140px!important;
  }
}
@media(max-width:860px){
  .topbar{
    grid-template-columns:minmax(145px,1fr) auto!important;
  }
  .player-top{
    grid-column:1 / -1;
    grid-row:2;
    max-width:none;
    justify-self:start;
  }
  .topstats{
    grid-column:2;
    grid-row:1;
  }
}
@media(max-width:680px){
  .topbar{
    grid-template-columns:minmax(120px,1fr) auto!important;
    gap:8px!important;
  }
  .v1310-profile-switcher-btn{
    max-width:none;
  }
  .topstats{
    gap:5px!important;
  }
  .status-pill{
    padding:6px 8px;
  }
  .status-pill .status-label{
    display:none;
  }
  .status-icon{
    width:21px;
    height:21px;
  }
  .language-button{
    padding:7px 8px;
  }
  .player-top{
    padding-top:8px;
  }
}
@media(max-width:500px){
  .topbar{
    grid-template-columns:1fr!important;
  }
  .v1310-profile-switcher-btn,
  .player-top,
  .topstats{
    grid-column:1!important;
    width:100%;
    max-width:none;
  }
  .v1310-profile-switcher-btn{grid-row:1}
  .player-top{grid-row:2}
  .topstats{
    grid-row:3;
    justify-content:space-between;
    overflow-x:auto;
    padding-bottom:2px;
  }
}


/* =========================================================
   V13.2.0 – PROFILIŲ MIGRACIJA IR VIENTISUMAS
========================================================= */
.v1320-profile-diagnostics{
  margin-top:16px;
  padding:12px 14px;
  border:2px solid #e5e7ef;
  border-radius:15px;
  background:#fafbff;
}
.v1320-profile-diagnostics summary{
  cursor:pointer;
  font-weight:900;
}
.v1320-diagnostics-body{
  display:grid;
  gap:8px;
  margin-top:12px;
}
.v1320-diagnostic-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 10px;
  border-radius:11px;
  background:#fff;
}
.v1320-diagnostic-row span{
  color:var(--muted);
  font-weight:750;
}
.v1320-diagnostic-row .ok{
  color:#218453;
}
.v1320-diagnostic-row .bad{
  color:#b34747;
}


/* =========================================================
   V13.3.0 – ŠEIMOS PROFILIŲ VALDYMAS
========================================================= */
.v1330-family-panel{
  border-color:#d7e3f8!important;
  background:linear-gradient(145deg,#f8fbff,#fff)!important;
}
.v1330-family-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.v1330-family-head h3{
  margin:0 0 5px;
}
.v1330-family-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:16px 0;
}
.v1330-family-summary article{
  display:grid;
  gap:4px;
  padding:11px;
  border:2px solid #e4e8f1;
  border-radius:14px;
  background:#fff;
  text-align:center;
}
.v1330-family-summary small{
  color:var(--muted);
  font-weight:800;
}
.v1330-family-summary strong{
  font-size:1.15rem;
}
.v1330-family-profiles{
  display:grid;
  gap:12px;
}
.v1330-family-profile{
  display:grid;
  grid-template-columns:minmax(180px,1fr) minmax(280px,1.2fr) auto;
  align-items:center;
  gap:14px;
  padding:14px;
  border:2px solid #e4e8f1;
  border-radius:17px;
  background:#fff;
}
.v1330-family-profile.active{
  border-color:#8b7cf6;
  background:#f8f6ff;
}
.v1330-family-profile-main{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}
.v1330-family-avatar{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  flex:0 0 auto;
  border-radius:14px;
  background:#f4f1ff;
  font-size:1.55rem;
}
.v1330-family-profile-main>div{
  display:grid;
  gap:3px;
  min-width:0;
}
.v1330-family-profile-main strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.v1330-family-profile-main small{
  color:var(--muted);
  font-weight:750;
}
.v1330-family-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
}
.v1330-family-metrics span{
  display:grid;
  gap:3px;
  padding:8px;
  border-radius:11px;
  background:#f6f7fb;
  text-align:center;
}
.v1330-family-metrics small{
  color:var(--muted);
  font-weight:750;
}
.v1330-family-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:7px;
}
.v1330-family-actions button{
  min-height:40px;
  padding:7px 10px;
  border:0;
  border-radius:11px;
  background:#6c5ce7;
  color:#fff;
  font-weight:850;
}
.v1330-family-actions .danger{
  background:#fff0f0;
  color:#b34747;
  border:2px solid #f1c7c7;
}
.v1330-rename-dialog{
  position:fixed;
  inset:0;
  z-index:100060;
  display:grid;
  place-items:center;
  padding:18px;
  opacity:0;
  transition:opacity .18s ease;
}
.v1330-rename-dialog[hidden]{display:none}
.v1330-rename-dialog.is-visible{opacity:1}
.v1330-rename-backdrop{
  position:absolute;
  inset:0;
  background:rgba(18,24,58,.72);
  backdrop-filter:blur(5px);
}
.v1330-rename-card{
  position:relative;
  width:min(430px,100%);
  padding:22px;
  border:3px solid #d8d2ff;
  border-radius:24px;
  background:#fff;
  box-shadow:0 28px 80px rgba(20,26,70,.42);
}
.v1330-rename-card h2{
  margin-top:0;
}
.v1330-rename-card label{
  display:grid;
  gap:7px;
}
.v1330-rename-card input{
  min-height:48px;
  padding:0 13px;
  border:2px solid #dfe2ec;
  border-radius:14px;
  font:inherit;
}
.v1330-rename-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:16px;
}
.v1330-rename-actions button{
  min-width:110px;
  border:0;
  border-radius:13px;
  font-weight:900;
}
@media(max-width:980px){
  .v1330-family-profile{
    grid-template-columns:1fr;
  }
  .v1330-family-actions{
    justify-content:flex-start;
  }
}
@media(max-width:680px){
  .v1330-family-head{
    flex-direction:column;
  }
  .v1330-family-head button{
    width:100%;
  }
  .v1330-family-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .v1330-family-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .v1330-family-actions button{
    flex:1 1 120px;
  }
}


/* =========================================================
   V13.3.1 – TIKROS PROFILIŲ HEROJŲ MINIATIŪROS
========================================================= */
.v1310-profile-avatar,
.v1331-profile-list-avatar,
.v1330-family-avatar{
  overflow:hidden;
  padding:0;
}
.v1310-profile-avatar img,
.v1331-profile-list-avatar img,
.v1330-family-avatar img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center top;
}
.v1331-profile-list-avatar{
  width:52px;
  height:52px;
  flex:0 0 52px;
  border-radius:14px;
  background:#f4f1ff;
}
.v1310-profile-select>span.v1331-profile-list-avatar{
  font-size:0;
}


/* =========================================================
   V13.4.0 – ŠEIMOS PASKYRA IR PRISIJUNGIMAS
========================================================= */
.v1340-account-panel{
  border-color:#d8e0f5!important;
  background:linear-gradient(145deg,#f8fbff,#fff)!important;
}
.v1340-account-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.v1340-account-head h3{
  margin:0 0 5px;
}
.v1340-account-badge{
  padding:8px 12px;
  border-radius:13px;
  background:#f1f3f8;
  color:#70778c;
  font-weight:900;
  white-space:nowrap;
}
.v1340-account-badge.signed-in{
  background:#eafaf1;
  color:#218453;
}
.v1340-account-tabs{
  display:flex;
  gap:8px;
  margin:16px 0;
}
.v1340-account-tabs button{
  min-height:42px;
  padding:8px 14px;
  border:2px solid #e0e4ef;
  border-radius:12px;
  background:#fff;
  color:var(--text);
  font-weight:850;
}
.v1340-account-tabs button.active{
  border-color:#7867ed;
  background:#f4f1ff;
  color:#5544c9;
}
.v1340-account-form{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr)) auto;
  align-items:end;
  gap:10px;
}
.v1340-account-form label{
  display:grid;
  gap:6px;
}
.v1340-account-form input{
  min-height:48px;
  padding:0 13px;
  border:2px solid #dfe3ed;
  border-radius:14px;
  font:inherit;
}
.v1340-account-form>button{
  min-height:48px;
  padding:0 18px;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,#6c5ce7,#38c6ff);
  color:#fff;
  font-weight:900;
}
.v1340-account-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:16px;
  padding:16px;
  border:2px solid #dfe5ef;
  border-radius:16px;
  background:#fff;
}
.v1340-account-card>div:first-child{
  display:grid;
  gap:4px;
}
.v1340-account-card small,
.v1340-account-card span{
  color:var(--muted);
  font-weight:750;
}
.v1340-account-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}
.v1340-account-actions button{
  min-height:42px;
  padding:8px 12px;
  border:0;
  border-radius:12px;
  font-weight:850;
}
.v1340-account-actions #v1340SignOutBtn{
  background:#fff0f0;
  color:#b34747;
  border:2px solid #f0c9c9;
}
@media(max-width:980px){
  .v1340-account-form{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .v1340-account-form>button{
    grid-column:1 / -1;
  }
}
@media(max-width:680px){
  .v1340-account-head,
  .v1340-account-card{
    flex-direction:column;
    align-items:stretch;
  }
  .v1340-account-form{
    grid-template-columns:1fr;
  }
  .v1340-account-form>button{
    grid-column:auto;
  }
  .v1340-account-actions{
    justify-content:stretch;
  }
  .v1340-account-actions button{
    flex:1 1 180px;
  }
}


/* =========================================================
   V13.5.0 – API SINCHRONIZAVIMO SLUOKSNIS
========================================================= */
.v1350-sync-panel{
  border-color:#d8e6f5!important;
  background:linear-gradient(145deg,#f8fcff,#fff)!important;
}
.v1350-sync-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.v1350-sync-head h3{
  margin:0 0 5px;
}
.v1350-sync-badge{
  padding:8px 12px;
  border-radius:13px;
  background:#eef2f8;
  color:#6d7488;
  font-weight:900;
  white-space:nowrap;
}
.v1350-sync-badge.pending{
  background:#fff7df;
  color:#9a6b00;
}
.v1350-sync-badge.clean{
  background:#eafaf1;
  color:#218453;
}
.v1350-sync-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:16px 0;
}
.v1350-sync-summary article{
  display:grid;
  gap:4px;
  padding:11px;
  border:2px solid #e2e7ef;
  border-radius:14px;
  background:#fff;
  text-align:center;
}
.v1350-sync-summary small{
  color:var(--muted);
  font-weight:800;
}
.v1350-sync-summary strong{
  font-size:1.05rem;
}
.v1350-sync-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}
.v1350-sync-actions button{
  min-height:44px;
  padding:8px 14px;
  border:0;
  border-radius:13px;
  font-weight:900;
}
#v1350RunSyncBtn{
  background:linear-gradient(135deg,#6c5ce7,#38c6ff);
  color:#fff;
}
@media(max-width:680px){
  .v1350-sync-head{
    flex-direction:column;
  }
  .v1350-sync-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .v1350-sync-actions button{
    flex:1 1 150px;
  }
}


/* =========================================================
   V13.6.1 – BACKEND BŪSENA IR VIETINĖS PASKYROS VALDYMAS
========================================================= */
.v1361-clear-account-btn{
  margin-top:12px;
  min-height:42px;
  padding:8px 13px;
  border:2px solid #efcaca;
  border-radius:12px;
  background:#fff6f6;
  color:#b34747;
  font-weight:850;
}
.v1361-backend-notice{
  margin:12px 0;
  padding:12px 14px;
  border-radius:14px;
  font-weight:800;
}
.v1361-backend-notice.info{
  background:#eef7ff;
  color:#25608e;
  border:2px solid #cfe6f8;
}
.v1361-backend-notice.warning{
  background:#fff7df;
  color:#8b6300;
  border:2px solid #f1d58e;
}
.v1361-backend-config{
  display:grid;
  grid-template-columns:minmax(240px,1fr) auto auto;
  align-items:end;
  gap:10px;
  margin:12px 0;
}
.v1361-backend-config label{
  display:grid;
  gap:6px;
}
.v1361-backend-config input{
  min-height:46px;
  padding:0 12px;
  border:2px solid #dfe3ed;
  border-radius:13px;
  font:inherit;
}
.v1361-backend-config button{
  min-height:46px;
  padding:8px 13px;
  border-radius:13px;
  font-weight:850;
}
@media(max-width:760px){
  .v1361-backend-config{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   V13.9.0 – AUTOMATINIS PROFILIŲ SINCHRONIZAVIMAS
========================================================= */
.v1390-auto-sync-status{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  margin:14px 0;
  padding:13px 14px;
  border:2px solid #dbe5f1;
  border-radius:16px;
  background:linear-gradient(145deg,#f7fbff,#fff);
}
.v1390-auto-sync-status > span{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:13px;
  background:#f0f3ff;
  font-size:1.35rem;
}
.v1390-auto-sync-status div{display:grid;gap:3px}
.v1390-auto-sync-status strong{color:var(--ink)}
.v1390-auto-sync-status small{color:var(--muted);font-weight:750}
.v1390-auto-sync-status button{
  min-height:42px;
  padding:8px 13px;
  border-radius:12px;
  font-weight:850;
}
@media(max-width:680px){
  .v1390-auto-sync-status{grid-template-columns:auto 1fr}
  .v1390-auto-sync-status button{grid-column:1/-1;width:100%}
}


/* V13.9.1 – paprastesnė tėvų sinchronizavimo sąsaja */
.v1391-family-sync-status{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin:14px 0 10px;padding:14px 16px;border:2px solid #dbe5f1;border-radius:16px;background:linear-gradient(145deg,#f7fbff,#fff)}
.v1391-family-sync-status>span{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#eef6ff;font-size:1.35rem}
.v1391-family-sync-copy{display:grid;gap:4px;min-width:0}
.v1391-family-sync-copy strong{color:var(--ink);font-size:1rem}
.v1391-family-sync-copy small{color:var(--muted);font-weight:750;line-height:1.35}
.v1391-sync-now-btn{width:100%;min-height:50px;margin:0 0 14px;border:0;border-radius:14px;color:#fff;background:linear-gradient(135deg,#6655ee,#2ebcf1);font-weight:900;font-size:1rem;cursor:pointer}
.v1391-sync-now-btn:disabled{opacity:.65;cursor:wait}
[data-admin-only="true"]{display:none!important}


/* =========================================================
   V13.9.2 – PASKYROS KORTELĖS IŠDĖSTYMAS
========================================================= */
.v1340-account-card{
  display:grid !important;
  grid-template-columns:
    minmax(250px, 1.15fr)
    minmax(310px, 1fr)
    minmax(230px, .8fr);
  align-items:center !important;
  gap:22px !important;
}

.v1392-sync-column{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-content:center;
  gap:10px;
  min-width:0;
}

.v1392-sync-column .v1391-family-sync-status{
  width:100%;
  min-width:0;
  margin:0;
}

.v1392-sync-column .v1391-sync-now-btn{
  width:100%;
  min-height:50px;
  margin:0;
}

.v1340-account-actions{
  display:grid !important;
  grid-template-columns:minmax(0,1fr);
  align-content:center;
  gap:10px !important;
  width:100%;
}

.v1340-account-actions button{
  width:100%;
  min-height:52px;
}

@media(max-width:1050px){
  .v1340-account-card{
    grid-template-columns:minmax(230px, .9fr) minmax(300px, 1.1fr);
  }

  .v1340-account-actions{
    grid-column:1 / -1;
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:720px){
  .v1340-account-card{
    grid-template-columns:minmax(0,1fr);
    align-items:stretch !important;
  }

  .v1340-account-actions{
    grid-column:auto;
    grid-template-columns:minmax(0,1fr);
  }

  .v1392-sync-column,
  .v1392-sync-column .v1391-family-sync-status,
  .v1392-sync-column .v1391-sync-now-btn{
    width:100%;
  }
}


/* =========================================================
   V13.10.0 – GREITAS PAŽANGOS SINCHRONIZAVIMAS
========================================================= */
.v13100-sync-heading{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}
#v13100PendingBadge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:25px;
  padding:3px 9px;
  border-radius:999px;
  color:#8a6100;
  background:#fff2c9;
  font-size:.76rem;
  font-weight:900;
}
#v13100PendingBadge[hidden]{
  display:none !important;
}


/* =========================================================
   V13.11.0 – KELIŲ ĮRENGINIŲ KONFLIKTŲ APSAUGA
========================================================= */
#v13110ConflictBadge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:25px;
  padding:3px 9px;
  border-radius:999px;
  color:#a62d2d;
  background:#ffe3e3;
  font-size:.76rem;
  font-weight:900;
}
#v13110ConflictBadge[hidden]{
  display:none !important;
}


/* =========================================================
   V13.12.0 – PRIJUNGTŲ ĮRENGINIŲ VALDYMAS
========================================================= */
.v13120-devices-panel{
  grid-column:1/-1;
  display:grid;
  gap:14px;
  width:100%;
  margin-top:6px;
  padding-top:20px;
  border-top:2px solid #e7ebf4;
}
.v13120-devices-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.v13120-devices-header h3{
  margin:0;
  color:var(--ink);
  font-size:1.1rem;
}
.v13120-devices-header p{
  margin:4px 0 0;
  color:var(--muted);
  font-weight:700;
}
.v13120-devices-list{
  display:grid;
  gap:10px;
}
.v13120-device-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:13px;
  padding:13px 14px;
  border:2px solid #e1e6f0;
  border-radius:15px;
  background:#fff;
}
.v13120-device-card.current{
  border-color:#98dfb3;
  background:#f3fcf6;
}
.v13120-device-icon{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:13px;
  background:#f1f3ff;
  font-size:1.35rem;
}
.v13120-device-copy{
  display:grid;
  gap:3px;
  min-width:0;
}
.v13120-device-copy strong{
  overflow:hidden;
  color:var(--ink);
  text-overflow:ellipsis;
  white-space:nowrap;
}
.v13120-device-copy small{
  color:var(--muted);
  font-weight:700;
}
.v13120-current-badge{
  padding:6px 10px;
  border-radius:999px;
  color:#147b43;
  background:#dff7e8;
  font-size:.8rem;
  font-weight:900;
}
.v13120-device-empty{
  padding:16px;
  border:2px dashed #dfe4ee;
  border-radius:14px;
  color:var(--muted);
  text-align:center;
  font-weight:750;
}
#v13120LogoutOthersBtn{
  justify-self:start;
}
@media(max-width:680px){
  .v13120-devices-header{
    align-items:stretch;
    flex-direction:column;
  }
  .v13120-device-card{
    grid-template-columns:auto minmax(0,1fr);
  }
  .v13120-device-card > :last-child{
    grid-column:1/-1;
    width:100%;
  }
  #v13120LogoutOthersBtn{
    width:100%;
  }
}


/* =========================================================
   V13.12.3 – MONETOS PIKTOGRAMA APDOVANOJIMŲ LANGUOSE
========================================================= */
.v13123-coin-icon{
  display:inline-grid;
  place-items:center;
  width:25px;
  height:25px;
  flex:0 0 25px;
}
.v13123-coin-icon img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.v129-level-reward,
.v1210-achievement-reward,
.v12210-record-reward{
  align-items:center;
  gap:7px;
}


/* =========================================================
   V13.13.0 – ŠEIMOS PASKYROS SAUGUMAS
========================================================= */
.v13130-security-panel{
  grid-column:1/-1;
  display:grid;
  gap:16px;
  width:100%;
  padding-top:20px;
  border-top:2px solid #e7ebf4;
}
.v13130-security-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
}
.v13130-security-header h3{
  margin:0;
  color:var(--ink);
  font-size:1.1rem;
}
.v13130-security-header p{
  margin:4px 0 0;
  color:var(--muted);
  font-weight:700;
}
.v13130-session-expiry{
  display:grid;
  gap:3px;
  min-width:230px;
  padding:11px 14px;
  border-radius:14px;
  background:#f2f5fb;
}
.v13130-session-expiry span{
  color:var(--muted);
  font-size:.84rem;
  font-weight:800;
}
.v13130-session-expiry strong{
  color:var(--ink);
}
.v13130-password-form{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.v13130-password-form label{
  display:grid;
  gap:7px;
  color:var(--ink);
  font-weight:800;
}
.v13130-password-form input[type="password"]{
  width:100%;
  min-height:48px;
  padding:10px 13px;
  border:2px solid #dce2ee;
  border-radius:13px;
  font:inherit;
}
.v13130-checkbox-row{
  grid-column:1/-1;
  display:flex !important;
  grid-template-columns:none !important;
  align-items:center;
  gap:10px !important;
}
.v13130-checkbox-row input{
  width:20px;
  height:20px;
}
.v13130-password-hint{
  grid-column:1/3;
  align-self:center;
  color:var(--muted);
  font-weight:700;
}
#v13130ChangePasswordBtn{
  min-height:50px;
  border:0;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(135deg,#6655ee,#2ebcf1);
  font-weight:900;
}
#v13130SecurityMessage{
  grid-column:1/-1;
}
@media(max-width:820px){
  .v13130-security-header{
    flex-direction:column;
  }
  .v13130-session-expiry{
    width:100%;
    min-width:0;
  }
  .v13130-password-form{
    grid-template-columns:1fr;
  }
  .v13130-password-hint,
  .v13130-checkbox-row,
  #v13130SecurityMessage{
    grid-column:auto;
  }
}


/* =========================================================
   V13.13.1 – SLAPTAŽODŽIO STIPRUMO INDIKATORIUS
========================================================= */
.v13131-strength{
  grid-column:1/3;
  display:grid;
  gap:9px;
  padding:12px 14px;
  border:2px solid #e2e7f0;
  border-radius:14px;
  background:#fbfcff;
}
.v13131-strength-track{
  overflow:hidden;
  height:9px;
  border-radius:999px;
  background:#e7ebf4;
}
#v13131StrengthBar{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#ef5d5d,#f2b332,#4fc47a);
  transition:width .2s ease;
}
.v13131-strength strong{
  color:var(--ink);
}
.v13131-strength-rules{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px 14px;
  margin:0;
  padding:0;
  list-style:none;
}
.v13131-strength-rules li{
  color:var(--muted);
  font-size:.86rem;
  font-weight:750;
}
.v13131-strength-rules li::before{
  content:"○";
  margin-right:6px;
}
.v13131-strength-rules li.passed{
  color:#16804b;
}
.v13131-strength-rules li.passed::before{
  content:"✓";
}
@media(max-width:820px){
  .v13131-strength{
    grid-column:auto;
  }
  .v13131-strength-rules{
    grid-template-columns:1fr;
  }
}

.v13140-recovery-section{display:grid;gap:15px;margin-top:6px;padding-top:18px;border-top:2px solid #e7ebf4}
.v13140-recovery-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.v13140-recovery-heading h4{margin:0;color:var(--ink);font-size:1.05rem}
.v13140-recovery-heading p{margin:5px 0 0;color:var(--muted);font-weight:700}
.v13140-recovery-status{display:grid;gap:2px;min-width:150px;padding:10px 13px;border-radius:13px;background:#eef7ff;text-align:center}
.v13140-recovery-status span{color:var(--muted);font-size:.8rem;font-weight:800}
.v13140-recovery-status strong{color:var(--ink);font-size:1.3rem}
.v13140-recovery-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:13px}
.v13140-recovery-actions label{display:grid;gap:7px;color:var(--ink);font-weight:800}
.v13140-recovery-actions input{min-height:48px;padding:10px 13px;border:2px solid #dce2ee;border-radius:13px;font:inherit}
#v13140GenerateCodesBtn{min-height:48px;padding:0 20px;border:0;border-radius:13px;color:#fff;background:linear-gradient(135deg,#6655ee,#2ebcf1);font-weight:900}
.v13140-recovery-codes{display:grid;gap:13px;padding:15px;border:2px solid #f0ca68;border-radius:15px;background:#fffaf0}
.v13140-recovery-codes[hidden]{display:none!important}
.v13140-warning{color:#8a5b00;font-weight:850}
.v13140-codes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.v13140-codes-grid code{padding:10px 12px;border:2px solid #e3e7f0;border-radius:11px;color:var(--ink);background:#fff;font-size:1rem;font-weight:900;letter-spacing:.08em;text-align:center}
@media(max-width:700px){.v13140-recovery-heading{flex-direction:column}.v13140-recovery-status{width:100%}.v13140-recovery-actions{grid-template-columns:1fr}.v13140-codes-grid{grid-template-columns:1fr}#v13140GenerateCodesBtn,#v13140DownloadCodesBtn{width:100%}}

.v13141-forgot-link{justify-self:start;margin:2px 0 10px;padding:0;border:0;color:#5e50d8;background:transparent;font-weight:850;text-decoration:underline;cursor:pointer}
.v13141-recovery-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;border:2px solid #dfe4ef;border-radius:18px;background:#fff}
.v13141-recovery-form[hidden]{display:none!important}
.v13141-recovery-header{grid-column:1/-1;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.v13141-recovery-header h3{margin:0;color:var(--ink)}
.v13141-recovery-header p{margin:4px 0 0;color:var(--muted);font-weight:700}
.v13141-recovery-form label{display:grid;gap:7px;color:var(--ink);font-weight:800}
.v13141-recovery-form input{min-height:48px;padding:10px 13px;border:2px solid #dce2ee;border-radius:13px;font:inherit}
.v13141-recovery-strength{grid-column:1/-1;display:grid;gap:8px}
.v13141-recovery-strength-track{overflow:hidden;height:9px;border-radius:999px;background:#e7ebf4}
#v13141RecoveryStrengthBar{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ef5d5d,#f2b332,#4fc47a);transition:width .2s ease}
#v13141RecoverPasswordBtn{grid-column:1/-1;min-height:50px;border:0;border-radius:14px;color:#fff;background:linear-gradient(135deg,#6655ee,#2ebcf1);font-weight:900}
#v13141RecoveryMessage{grid-column:1/-1}
@media(max-width:700px){.v13141-recovery-form{grid-template-columns:1fr}.v13141-recovery-header,.v13141-recovery-strength,#v13141RecoverPasswordBtn,#v13141RecoveryMessage{grid-column:auto}.v13141-recovery-header{flex-direction:column}}


/* =========================================================
   V13.14.2 – KOMPAKTIŠKESNĖ VIRŠUTINĖ JUOSTA
========================================================= */
.topbar{
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
}
.player-top{
  display:none !important;
}
.v1310-profile-switcher-btn{
  min-width:210px;
  max-width:300px;
}
.topstats{
  min-width:0;
  justify-content:flex-end;
}
@media(max-width:920px){
  .topbar{
    grid-template-columns:minmax(190px,1fr);
  }
  .v1310-profile-switcher-btn{
    width:100%;
    max-width:none;
  }
  .topstats{
    width:100%;
    justify-content:space-between;
  }
}
@media(max-width:620px){
  .v1310-profile-switcher-btn{
    min-width:0;
  }
  .v1310-profile-switcher-btn > span:nth-child(2){
    min-width:0;
  }
  #v1310ActiveProfileName{
    display:block;
    overflow:hidden;
    max-width:135px;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
}

.v13150-history-section{display:grid;gap:14px;margin-top:6px;padding-top:18px;border-top:2px solid #e7ebf4}
.v13150-history-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.v13150-history-header h4{margin:0;color:var(--ink);font-size:1.05rem}
.v13150-history-header p{margin:5px 0 0;color:var(--muted);font-weight:700}
.v13150-security-alert{display:grid;gap:3px;padding:13px 15px;border:2px solid #f2b3b3;border-radius:14px;color:#9e3434;background:#fff3f3}
.v13150-security-alert[hidden]{display:none!important}
.v13150-security-alert span{font-weight:700}
.v13150-history-list{display:grid;gap:9px}
.v13150-history-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;padding:12px 14px;border:2px solid #e2e7f0;border-radius:14px;background:#fff}
.v13150-history-card.new-device{border-color:#f1b3b3;background:#fff8f8}
.v13150-history-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#f1f3ff;font-size:1.3rem}
.v13150-history-copy{display:grid;gap:3px;min-width:0}
.v13150-history-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.v13150-history-copy strong{color:var(--ink)}
.v13150-history-copy span,.v13150-history-copy small{color:var(--muted);font-weight:700}
.v13150-new-device{padding:4px 8px;border-radius:999px;color:#a03a3a!important;background:#ffe3e3;font-size:.75rem;font-weight:900!important}
.v13150-history-empty{padding:15px;border:2px dashed #dfe4ee;border-radius:14px;color:var(--muted);text-align:center;font-weight:750}
@media(max-width:700px){.v13150-history-header{flex-direction:column}#v13150RefreshHistoryBtn{width:100%}}


/* =========================================================
   V13.15.1 – NAUJO ĮRENGINIO PATVIRTINIMAS
========================================================= */
.v13150-security-alert{
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
}
.v13151-alert-copy{
  display:grid;
  gap:3px;
}
.v13151-acknowledge-btn{
  min-height:42px;
  padding:0 16px;
  border:0;
  border-radius:12px;
  color:#fff;
  background:#c84a4a;
  font-weight:900;
  cursor:pointer;
}
.v13151-acknowledge-btn:disabled{
  opacity:.65;
  cursor:wait;
}
.v13150-new-device.acknowledged{
  color:#25704b !important;
  background:#ddf4e7;
}
@media(max-width:650px){
  .v13150-security-alert{
    grid-template-columns:1fr;
  }
  .v13151-acknowledge-btn{
    width:100%;
  }
}


/* =========================================================
   V13.15.2 – NEATPAŽINTO PRISIJUNGIMO PRANEŠIMAS
========================================================= */
.v13152-alert-actions{
  display:flex;
  align-items:center;
  gap:9px;
}
.v13152-report-btn{
  min-height:42px;
  padding:0 16px;
  border:2px solid #c84a4a;
  border-radius:12px;
  color:#a53636;
  background:#fff;
  font-weight:900;
  cursor:pointer;
}
.v13152-report-btn:disabled{
  opacity:.65;
  cursor:wait;
}
.v13150-new-device.suspicious{
  color:#a53636 !important;
  background:#ffdede;
}
.v13150-history-card:has(.v13150-new-device.suspicious){
  border-color:#e79b9b;
  background:#fff4f4;
}
@media(max-width:750px){
  .v13152-alert-actions{
    width:100%;
    flex-direction:column;
  }
  .v13151-acknowledge-btn,
  .v13152-report-btn{
    width:100%;
  }
}


/* =========================================================
   V13.15.3 – PRIVALOMAS SLAPTAŽODŽIO PAKEITIMAS
========================================================= */
.v13153-password-required{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
  padding:15px 17px;
  border:2px solid #e39643;
  border-radius:16px;
  color:#7d4500;
  background:#fff5e5;
}
.v13153-password-required[hidden]{
  display:none !important;
}
.v13153-password-required > div{
  display:grid;
  gap:4px;
}
.v13153-password-required strong{
  color:#8c4400;
  font-size:1.02rem;
}
.v13153-password-required span{
  color:#78522c;
  font-weight:750;
}
#v13153PasswordRequiredAction{
  min-height:44px;
  padding:0 18px;
  border:0;
  border-radius:12px;
  color:#fff;
  background:#d87522;
  font-weight:900;
  cursor:pointer;
}
@media(max-width:680px){
  .v13153-password-required{
    grid-template-columns:1fr;
  }
  #v13153PasswordRequiredAction{
    width:100%;
  }
}

/* V13.16.1 – tvarkinga suskleidžiama Tėvų zona */
.v13160-parent-details,.v13160-subdetails{border:2px solid #dfe5ef;border-radius:17px;background:#fff}
.v13160-parent-details{margin-top:14px}
.v13160-parent-details>summary,.v13160-subdetails>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:15px 17px;color:var(--ink);cursor:pointer;list-style:none;user-select:none}
.v13160-parent-details>summary::-webkit-details-marker,.v13160-subdetails>summary::-webkit-details-marker{display:none}
.v13160-summary-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#f1f3ff;font-size:1.25rem}
.v13160-summary-copy{display:grid;gap:3px;min-width:0}.v13160-summary-copy strong,.v13160-subdetails>summary strong{font-size:1rem}.v13160-summary-copy small{color:var(--muted);font-weight:700}
.v13160-summary-state{color:var(--muted);font-size:1.4rem;font-weight:900;transition:transform .18s ease}details[open]>summary .v13160-summary-state{transform:rotate(180deg)}
.v13160-summary-badge{padding:5px 9px;border-radius:999px;color:#9d3d2f;background:#ffe4df;font-size:.76rem;font-weight:900}.v13160-summary-badge[hidden]{display:none!important}
.v13160-parent-details>section{margin:0 14px 14px}.v13160-subdetails{margin-top:14px}.v13160-subdetails>summary{padding:13px 15px;background:#f8f9fd;border-radius:15px}.v13160-subdetails>div{margin:0 14px 14px}
.v13160-parent-details[open]>summary{border-bottom:2px solid #edf0f5}.v13160-subdetails[open]>summary{margin-bottom:10px}
/* Svarbu: visi Tėvų zonos blokai lieka tame pačiame parentDashboard konteineryje */
#parentDashboard>.v1330-family-panel,#parentDashboard>.parent-settings,#parentDashboard>#parentLockBtn,#parentDashboard>[data-back]{position:relative;z-index:0}
@media(max-width:700px){.v13160-parent-details>summary,.v13160-subdetails>summary{grid-template-columns:auto minmax(0,1fr) auto}.v13160-summary-badge{grid-column:2/3;justify-self:start}.v13160-summary-state{grid-column:3/4;grid-row:1/2}}


/* =========================================================
   V13.16.2 – TĖVŲ ZONOS PLOČIO IR IŠDĖSTYMO PATAISYMAS
========================================================= */

/* Abu pagrindiniai suskleidžiami skyriai turi užimti visą paskyros kortelę. */
.v1340-account-card > .v13160-parent-details{
  grid-column:1 / -1;
  width:100%;
  min-width:0;
  box-sizing:border-box;
}

/* Vidiniai skyriai taip pat negali paveldėti siauro stulpelio pločio. */
.v13160-parent-details,
.v13160-subdetails,
.v13160-parent-details > section,
.v13160-subdetails > div{
  width:100%;
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}

/* Saugus turinio plotis, kad vidiniai tarpai neišstumtų blokų už ribų. */
.v13160-parent-details > section{
  margin:0;
  padding:18px;
}
.v13160-subdetails > div{
  margin:0;
  padding:16px;
}
.v13160-parent-details[open] > summary,
.v13160-subdetails[open] > summary{
  margin-bottom:0;
}

/* Pašalinamos dubliuotos vidinės viršutinės linijos. */
.v13160-parent-details .v13120-devices-panel,
.v13160-parent-details .v13130-security-panel{
  border-top:0;
  padding-top:0;
  margin-top:0;
}

/* Slaptažodžio forma vėl išnaudoja visą horizontalų plotį. */
.v13160-parent-details .v13130-password-form{
  width:100%;
  min-width:0;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.v13160-parent-details .v13131-strength{
  min-width:0;
}
.v13160-parent-details .v13130-password-form > *,
.v13160-parent-details .v13140-recovery-actions > *,
.v13160-parent-details .v13150-history-header > *,
.v13160-parent-details .v13120-devices-header > *{
  min-width:0;
}

/* Mygtukai ir įvestys neturi viršyti savo tėvinio bloko. */
.v13160-parent-details button,
.v13160-parent-details input,
.v13160-parent-details select{
  max-width:100%;
  box-sizing:border-box;
}
.v13160-parent-details input{
  min-width:0;
}

/* Atkūrimo kodų blokas naudojamas per visą plotį. */
.v13160-parent-details .v13140-recovery-heading{
  align-items:center;
}
.v13160-parent-details .v13140-recovery-actions{
  grid-template-columns:minmax(240px,1fr) auto;
}
.v13160-parent-details #v13140GenerateCodesBtn{
  white-space:normal;
  min-width:220px;
}

/* Įrenginių kortelės ir veiksmai telpa į savo ribas. */
.v13160-parent-details .v13120-device-card{
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
.v13160-parent-details .v13120-device-copy{
  min-width:0;
}
.v13160-parent-details #v13120LogoutOthersBtn{
  max-width:100%;
  white-space:normal;
}

/* Antraštės nesuspaudžiamos iki vieno žodžio stulpelio. */
.v13160-parent-details > summary{
  grid-template-columns:auto minmax(220px,1fr) auto auto;
}
.v13160-subdetails > summary{
  grid-template-columns:auto minmax(180px,1fr) auto auto;
}

/* Planšetėse forma pereina į du stulpelius, telefone – į vieną. */
@media(max-width:980px){
  .v13160-parent-details .v13130-password-form{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .v13160-parent-details .v13130-checkbox-row,
  .v13160-parent-details .v13130-password-hint,
  .v13160-parent-details .v13131-strength,
  .v13160-parent-details #v13130ChangePasswordBtn{
    grid-column:1 / -1;
  }
}

@media(max-width:720px){
  .v13160-parent-details > summary,
  .v13160-subdetails > summary{
    grid-template-columns:auto minmax(0,1fr) auto;
  }
  .v13160-parent-details > section,
  .v13160-subdetails > div{
    padding:14px;
  }
  .v13160-parent-details .v13130-password-form,
  .v13160-parent-details .v13140-recovery-actions{
    grid-template-columns:1fr;
  }
  .v13160-parent-details .v13130-checkbox-row,
  .v13160-parent-details .v13130-password-hint,
  .v13160-parent-details .v13131-strength,
  .v13160-parent-details #v13130ChangePasswordBtn{
    grid-column:auto;
  }
  .v13160-parent-details #v13140GenerateCodesBtn,
  .v13160-parent-details #v13120LogoutOthersBtn,
  .v13160-parent-details #v13120RefreshDevicesBtn,
  .v13160-parent-details #v13150RefreshHistoryBtn{
    width:100%;
    min-width:0;
  }
}


/* =========================================================
   V13.16.3 – IŠSAUGOMA SUSKLEIDIMO BŪSENA
========================================================= */
.v13160-parent-details > summary,
.v13160-subdetails > summary{
  transition:background .16s ease,border-color .16s ease;
}
.v13160-parent-details[open] > summary,
.v13160-subdetails[open] > summary{
  background:#fafbff;
}


/* =========================================================
   V13.16.4 – VISŲ SKYRIŲ IŠSKLEIDIMAS / SUSKLEIDIMAS
========================================================= */
.v13164-details-toolbar{
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
  margin-top:14px;
  padding:12px 14px;
  border:2px solid #e2e7f0;
  border-radius:15px;
  background:#fafbff;
  box-sizing:border-box;
}
#v13164DetailsToolbarLabel{
  color:var(--muted);
  font-weight:850;
}
.v13164-details-toolbar-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}
.v13164-details-toolbar-actions button{
  min-height:40px;
  padding:0 15px;
}
.v13164-details-toolbar-actions button:disabled{
  opacity:.5;
  cursor:not-allowed;
}
@media(max-width:650px){
  .v13164-details-toolbar{
    align-items:stretch;
    flex-direction:column;
  }
  .v13164-details-toolbar-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .v13164-details-toolbar-actions button{
    width:100%;
  }
}

/* V13.16.5 – skyrių informaciniai skaičiai */
.v13165-count-badge{
  display:inline-grid;
  place-items:center;
  min-width:30px;
  height:30px;
  padding:0 9px;
  border-radius:999px;
  color:#4d4f70;
  background:#eef0f8;
  font-size:.82rem;
  font-weight:900;
  box-sizing:border-box;
}
.v13165-count-badge[hidden]{display:none!important}
.v13160-parent-details > summary,
.v13160-subdetails > summary{
  grid-template-columns:auto minmax(0,1fr) auto auto auto;
}
@media(max-width:700px){
  .v13160-parent-details > summary,
  .v13160-subdetails > summary{
    grid-template-columns:auto minmax(0,1fr) auto;
  }
  .v13165-count-badge,
  .v13160-summary-badge{
    grid-column:2 / 3;
    justify-self:start;
  }
  .v13160-summary-state{
    grid-column:3 / 4;
    grid-row:1 / 2;
  }
}


/* =========================================================
   V13.17.0 – PASKYROS VEIKLOS SANTRAUKA
========================================================= */
.v13170-activity-summary{
  grid-column:1 / -1;
  display:grid;
  gap:14px;
  width:100%;
  margin-top:14px;
  padding:16px;
  border:2px solid #dfe5ef;
  border-radius:17px;
  background:#fff;
  box-sizing:border-box;
}
.v13170-activity-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.v13170-activity-header h4{
  margin:0;
  color:var(--ink);
  font-size:1.06rem;
}
.v13170-activity-header p{
  margin:4px 0 0;
  color:var(--muted);
  font-weight:700;
}
.v13170-activity-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.v13170-activity-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:11px;
  min-width:0;
  padding:13px;
  border:2px solid #e6eaf2;
  border-radius:14px;
  background:#fafbff;
}
.v13170-activity-icon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:12px;
  background:#eef0ff;
  font-size:1.2rem;
}
.v13170-activity-card > div{
  display:grid;
  gap:3px;
  min-width:0;
}
.v13170-activity-card small{
  color:var(--muted);
  font-weight:800;
}
.v13170-activity-card strong{
  color:var(--ink);
  font-size:.98rem;
  overflow-wrap:anywhere;
}
.v13170-activity-card span:not(.v13170-activity-icon){
  color:var(--muted);
  font-size:.86rem;
  font-weight:700;
  overflow-wrap:anywhere;
}
@media(max-width:1050px){
  .v13170-activity-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:650px){
  .v13170-activity-header{
    flex-direction:column;
  }
  #v13170RefreshActivityBtn{
    width:100%;
  }
  .v13170-activity-grid{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   V13.17.1 – NAUJAUSI PASKYROS VEIKSMAI
========================================================= */
.v13171-recent-activity{
  display:grid;
  gap:11px;
  padding-top:14px;
  border-top:2px solid #edf0f5;
}
.v13171-recent-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.v13171-recent-header h5{
  margin:0;
  color:var(--ink);
  font-size:1rem;
}
.v13171-recent-header p{
  margin:4px 0 0;
  color:var(--muted);
  font-weight:700;
}
.v13171-recent-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.v13171-recent-item{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:10px;
  min-width:0;
  padding:11px 12px;
  border:2px solid #e6eaf2;
  border-radius:13px;
  background:#fff;
}
.v13171-recent-item.warning{
  border-color:#efb0aa;
  background:#fff6f5;
}
.v13171-recent-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:11px;
  background:#f0f2ff;
  font-size:1.1rem;
}
.v13171-recent-copy{
  display:grid;
  gap:4px;
  min-width:0;
}
.v13171-recent-title{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
}
.v13171-recent-title strong{
  color:var(--ink);
  overflow-wrap:anywhere;
}
.v13171-recent-title span{
  padding:3px 7px;
  border-radius:999px;
  color:#8e3c34;
  background:#ffe5e2;
  font-size:.72rem;
  font-weight:900;
}
.v13171-recent-copy small{
  color:var(--muted);
  font-weight:700;
  overflow-wrap:anywhere;
}
.v13171-recent-empty{
  grid-column:1 / -1;
  padding:13px;
  border:2px dashed #dfe4ee;
  border-radius:13px;
  color:var(--muted);
  text-align:center;
  font-weight:750;
}
@media(max-width:900px){
  .v13171-recent-list{
    grid-template-columns:1fr;
  }
}
@media(max-width:650px){
  .v13171-recent-header{
    flex-direction:column;
  }
  #v13171OpenHistoryBtn{
    width:100%;
  }
}

/* V13.17.2 – paskyros veiklos santraukos duomenų pataisymas */
#v13170RefreshActivityBtn:disabled{
  opacity:.65;
  cursor:wait;
}

/* V13.17.4 – interaktyvi paskyros veiklos santrauka */
button.v13170-activity-card{
  width:100%;
  margin:0;
  border:2px solid #e6eaf2;
  color:inherit;
  font:inherit;
  text-align:left;
  cursor:pointer;
  appearance:none;
  grid-template-columns:auto minmax(0,1fr) auto;
  transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease,background .14s ease;
}
button.v13170-activity-card:hover{
  transform:translateY(-2px);
  border-color:#bfc6ee;
  background:#f7f8ff;
  box-shadow:0 7px 18px rgba(56,61,109,.09);
}
button.v13170-activity-card:focus-visible{
  outline:3px solid rgba(105,82,255,.35);
  outline-offset:3px;
}
button.v13170-activity-card::after{
  content:"›";
  align-self:center;
  color:#777aa0;
  font-size:1.35rem;
  font-weight:900;
}
@media(max-width:650px){
  button.v13170-activity-card:hover{transform:none}
}


/* =========================================================
   V13.17.5 – NAUJAUSIŲ VEIKSMŲ FILTRAI
========================================================= */
.v13175-recent-filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.v13175-filter{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:38px;
  padding:0 13px;
  border:2px solid #e1e5ef;
  border-radius:999px;
  color:#555978;
  background:#fff;
  font:inherit;
  font-size:.88rem;
  font-weight:850;
  cursor:pointer;
  transition:border-color .14s ease,background .14s ease,color .14s ease;
}
.v13175-filter:hover{
  border-color:#bfc6ee;
  background:#f8f8ff;
}
.v13175-filter.active{
  border-color:#7865ff;
  color:#5e49e8;
  background:#f0edff;
}
.v13175-filter:focus-visible{
  outline:3px solid rgba(105,82,255,.3);
  outline-offset:2px;
}
.v13175-filter strong{
  display:inline-grid;
  place-items:center;
  min-width:24px;
  height:24px;
  padding:0 6px;
  border-radius:999px;
  color:inherit;
  background:rgba(82,86,123,.1);
  font-size:.76rem;
}
.v13175-filter.active strong{
  background:rgba(105,82,255,.14);
}
@media(max-width:600px){
  .v13175-recent-filters{
    display:grid;
    grid-template-columns:1fr;
  }
  .v13175-filter{
    width:100%;
  }
}


/* =========================================================
   V13.17.6 – IŠSAUGOMAS VEIKLOS FILTRAS
========================================================= */
.v13175-recent-filters[data-persistent="true"]::after{
  content:"";
  display:none;
}


/* =========================================================
   V13.17.7 – VEIKLOS GRUPAVIMAS PAGAL DATĄ
========================================================= */
.v13171-recent-list{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.v13177-date-group{
  display:grid;
  gap:8px;
  min-width:0;
}
.v13177-date-group h6{
  margin:0;
  color:#666b8a;
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.v13177-date-group-items{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  min-width:0;
}
@media(max-width:900px){
  .v13177-date-group-items{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   V13.17.8 – GALUTINĖ V13.17 STABILIZACIJA
========================================================= */

/* Santraukos antraštė neturi išstumti mygtuko siauresniuose ekranuose. */
.v13170-activity-header > div,
.v13171-recent-header > div{
  min-width:0;
}
.v13170-activity-header h4,
.v13170-activity-header p,
.v13171-recent-header h5,
.v13171-recent-header p{
  overflow-wrap:anywhere;
}

/* Datos grupės ir kortelės visada lieka konteinerio ribose. */
.v13177-date-group,
.v13177-date-group-items,
.v13171-recent-item,
.v13171-recent-copy{
  max-width:100%;
  box-sizing:border-box;
}

/* Filtrų skaitikliai neperlaužia mygtukų. */
.v13175-filter span,
.v13175-filter strong{
  min-width:0;
}
.v13175-filter span{
  overflow-wrap:anywhere;
}

/* Planšetėse patogesnis dviejų stulpelių išdėstymas. */
@media(max-width:900px) and (min-width:651px){
  .v13170-activity-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .v13177-date-group-items{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* Telefonuose viskas išdėstoma viena kolona. */
@media(max-width:650px){
  .v13170-activity-summary{
    padding:13px;
  }
  .v13170-activity-header,
  .v13171-recent-header{
    align-items:stretch;
  }
  .v13170-activity-grid,
  .v13177-date-group-items{
    grid-template-columns:1fr;
  }
  .v13175-recent-filters{
    grid-template-columns:1fr;
  }
  .v13175-filter{
    justify-content:space-between;
    min-height:44px;
  }
  button.v13170-activity-card{
    min-height:92px;
  }
}

/* Labai siauruose ekranuose sumažinami vidiniai tarpai. */
@media(max-width:420px){
  .v13170-activity-card,
  .v13171-recent-item{
    padding:10px;
  }
  .v13170-activity-icon,
  .v13171-recent-icon{
    width:36px;
    height:36px;
  }
}


/* =========================================================
   V13.18.0 – TĖVAMS SUPRANTAMA SINCHRONIZAVIMO BŪSENA
========================================================= */
.v13180-sync-status{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  width:100%;
  margin-top:14px;
  padding:15px;
  border:2px solid #dfe5ef;
  border-radius:17px;
  background:#fafbff;
  box-sizing:border-box;
}
.v13180-sync-icon{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:14px;
  background:#eef0ff;
  font-size:1.35rem;
}
.v13180-sync-copy{
  display:grid;
  gap:4px;
  min-width:0;
}
.v13180-sync-copy strong{
  color:var(--ink);
  font-size:1rem;
}
.v13180-sync-copy span{
  color:var(--muted);
  font-weight:700;
  overflow-wrap:anywhere;
}
.v13180-sync-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}
.v13180-sync-actions button{
  min-height:42px;
  padding:0 15px;
}
.v13180-sync-status[data-state="synced"]{
  border-color:#bde8cd;
  background:#f2fff6;
}
.v13180-sync-status[data-state="pending"]{
  border-color:#efd694;
  background:#fffaf0;
}
.v13180-sync-status[data-state="offline"],
.v13180-sync-status[data-state="error"]{
  border-color:#efb6b0;
  background:#fff5f4;
}
.v13180-sync-status[data-state="conflict"]{
  border-color:#e6c16c;
  background:#fff9e8;
}
@media(max-width:750px){
  .v13180-sync-status{
    grid-template-columns:auto minmax(0,1fr);
  }
  .v13180-sync-actions{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .v13180-sync-actions button{
    width:100%;
  }
}
@media(max-width:480px){
  .v13180-sync-actions{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   V13.18.1 – SINCHRONIZAVIMO BŪSENOS PAAIŠKINIMAS
========================================================= */
.v13181-sync-explanation{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  width:100%;
  padding-top:14px;
  border-top:2px solid rgba(78,83,126,.1);
}
.v13181-sync-explanation[hidden]{
  display:none!important;
}
.v13181-sync-explanation > div{
  min-width:0;
  padding:12px;
  border-radius:13px;
  background:rgba(255,255,255,.72);
}
.v13181-sync-explanation strong{
  display:block;
  margin-bottom:5px;
  color:var(--ink);
  font-size:.9rem;
}
.v13181-sync-explanation p{
  margin:0;
  color:var(--muted);
  font-size:.86rem;
  font-weight:700;
  line-height:1.4;
  overflow-wrap:anywhere;
}
@media(max-width:800px){
  .v13181-sync-explanation{
    grid-template-columns:1fr;
  }
}

/* V13.18.2 – sinchronizavimo įvykių istorija */
.v13182-sync-history{grid-column:1/-1;width:100%;border-top:2px solid rgba(78,83,126,.1)}
.v13182-sync-history>summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:14px 0 0;cursor:pointer;list-style:none}
.v13182-sync-history>summary::-webkit-details-marker{display:none}
.v13182-sync-history>summary>span:first-child{display:grid;gap:3px;min-width:0}
.v13182-sync-history>summary strong{color:var(--ink)}
.v13182-sync-history>summary small{color:var(--muted);font-weight:700;overflow-wrap:anywhere}
.v13182-sync-history-body{display:grid;gap:10px;padding-top:12px}
.v13182-sync-history-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.v13182-sync-history-list{display:grid;gap:8px}
.v13182-sync-history-item{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;padding:11px 12px;border:2px solid #e4e8f1;border-radius:13px;background:rgba(255,255,255,.75)}
.v13182-sync-history-item[data-state="error"],.v13182-sync-history-item[data-state="offline"]{border-color:#efbbb5;background:#fff7f6}
.v13182-sync-history-item[data-state="conflict"],.v13182-sync-history-item[data-state="pending"]{border-color:#ead28e;background:#fffaf0}
.v13182-sync-history-item[data-state="synced"]{border-color:#bde6ca;background:#f4fff7}
.v13182-sync-history-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#f0f2ff}
.v13182-sync-history-item>div{display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px;min-width:0}
.v13182-sync-history-item strong{color:var(--ink)}
.v13182-sync-history-item small,.v13182-sync-history-item span{color:var(--muted);font-size:.82rem;font-weight:700}
.v13182-sync-history-empty{padding:13px;border:2px dashed #dfe4ee;border-radius:13px;color:var(--muted);text-align:center;font-weight:750}
@media(max-width:600px){.v13182-sync-history-toolbar{display:grid;grid-template-columns:1fr}.v13182-sync-history-toolbar button{width:100%}}

/* V13.18.3 – automatinis pakartotinis sinchronizavimas */
.v13183-retry-status{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px;border:2px solid #ead18b;border-radius:14px;background:#fff9e9}
.v13183-retry-status[hidden]{display:none!important}
.v13183-retry-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#fff1c8}
.v13183-retry-status>div{display:grid;gap:3px;min-width:0}
.v13183-retry-status strong{color:var(--ink)}
.v13183-retry-status span{color:var(--muted);font-weight:700;overflow-wrap:anywhere}
@media(max-width:600px){.v13183-retry-status{grid-template-columns:auto minmax(0,1fr)}.v13183-retry-status button{grid-column:1/-1;width:100%}}


/* =========================================================
   V13.18.4 – KONFLIKTŲ SPRENDIMAS
========================================================= */
.v13184-conflict-panel{
  grid-column:1 / -1;
  display:grid;
  gap:13px;
  padding:14px;
  border:2px solid #e4bf61;
  border-radius:15px;
  background:#fff9e9;
}
.v13184-conflict-panel[hidden]{
  display:none!important;
}
.v13184-conflict-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.v13184-conflict-header > div{
  display:grid;
  gap:4px;
  min-width:0;
}
.v13184-conflict-header strong{
  color:var(--ink);
}
.v13184-conflict-header span{
  color:var(--muted);
  font-weight:700;
  overflow-wrap:anywhere;
}
.v13184-conflict-options{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.v13184-conflict-option{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:9px;
  align-items:flex-start;
  min-width:0;
  padding:12px;
  border:2px solid #e6d8a8;
  border-radius:13px;
  background:#fff;
  cursor:pointer;
}
.v13184-conflict-option:has(input:checked){
  border-color:#b38a1e;
  background:#fff5cf;
}
.v13184-conflict-option input{
  margin-top:3px;
}
.v13184-conflict-option span{
  display:grid;
  gap:4px;
  min-width:0;
}
.v13184-conflict-option strong{
  color:var(--ink);
}
.v13184-conflict-option small{
  color:var(--muted);
  font-weight:700;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.v13184-conflict-warning{
  display:grid;
  gap:3px;
  padding:10px 12px;
  border-radius:12px;
  color:#6d541b;
  background:#fff0b7;
}
.v13184-conflict-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}
.v13184-conflict-actions button{
  min-height:42px;
}
@media(max-width:850px){
  .v13184-conflict-options{
    grid-template-columns:1fr;
  }
}
@media(max-width:600px){
  .v13184-conflict-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .v13184-conflict-actions button{
    width:100%;
  }
}


/* =========================================================
   V13.18.5 – LAUKIANČIŲ PAKEITIMŲ SĄRAŠAS
========================================================= */
.v13185-pending-details{
  grid-column:1 / -1;
  width:100%;
  border-top:2px solid rgba(78,83,126,.1);
}
.v13185-pending-details > summary{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:10px;
  padding:14px 0 0;
  cursor:pointer;
  list-style:none;
}
.v13185-pending-details > summary::-webkit-details-marker{
  display:none;
}
.v13185-pending-details > summary > span:first-child{
  display:grid;
  gap:3px;
  min-width:0;
}
.v13185-pending-details > summary strong{
  color:var(--ink);
}
.v13185-pending-details > summary small{
  color:var(--muted);
  font-weight:700;
  overflow-wrap:anywhere;
}
.v13185-pending-body{
  display:grid;
  gap:11px;
  padding-top:12px;
}
.v13185-pending-safety{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:9px;
  align-items:center;
  padding:11px 12px;
  border:2px solid #bde4c8;
  border-radius:13px;
  background:#f3fff6;
}
.v13185-pending-safety > span{
  font-size:1.2rem;
}
.v13185-pending-safety > div{
  display:grid;
  gap:3px;
  min-width:0;
}
.v13185-pending-safety strong{
  color:var(--ink);
}
.v13185-pending-safety small{
  color:var(--muted);
  font-weight:700;
  overflow-wrap:anywhere;
}
.v13185-pending-toolbar{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}
.v13185-pending-list{
  display:grid;
  gap:8px;
}
.v13185-pending-item{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:11px 12px;
  border:2px solid #e3e7ef;
  border-radius:13px;
  background:rgba(255,255,255,.78);
}
.v13185-pending-icon{
  display:grid;
  place-items:center;
  width:39px;
  height:39px;
  border-radius:11px;
  background:#f0f2ff;
}
.v13185-pending-copy{
  display:grid;
  gap:3px;
  min-width:0;
}
.v13185-pending-copy strong{
  color:var(--ink);
}
.v13185-pending-copy small,
.v13185-pending-copy span{
  color:var(--muted);
  font-size:.82rem;
  font-weight:700;
  overflow-wrap:anywhere;
}
.v13185-pending-state{
  padding:5px 8px;
  border-radius:999px;
  color:#765b10;
  background:#fff0b8;
  font-size:.75rem;
  font-weight:900;
}
.v13185-pending-empty{
  display:grid;
  place-items:center;
  gap:4px;
  padding:16px;
  border:2px dashed #cfd7e3;
  border-radius:13px;
  color:var(--muted);
  text-align:center;
}
.v13185-pending-empty > span{
  font-size:1.35rem;
}
.v13185-pending-empty strong{
  color:var(--ink);
}
@media(max-width:650px){
  .v13185-pending-toolbar{
    display:grid;
    grid-template-columns:1fr;
  }
  .v13185-pending-toolbar button{
    width:100%;
  }
  .v13185-pending-item{
    grid-template-columns:auto minmax(0,1fr);
  }
  .v13185-pending-state{
    grid-column:1 / -1;
    justify-self:start;
  }
}

/* =========================================================
   V13.18.6 – GALUTINĖ SINCHRONIZAVIMO STABILIZACIJA
========================================================= */
.v13180-sync-status,
.v13181-sync-explanation,
.v13182-sync-history,
.v13183-retry-status,
.v13184-conflict-panel,
.v13185-pending-details{
  max-width:100%;
  box-sizing:border-box;
}
.v13180-sync-status button,
.v13182-sync-history button,
.v13183-retry-status button,
.v13184-conflict-panel button,
.v13185-pending-details button{
  min-height:44px;
}
.v13184-conflict-option,
.v13185-pending-item,
.v13182-sync-history-item{
  min-width:0;
}
.v13184-conflict-option strong,
.v13184-conflict-option small,
.v13185-pending-copy strong,
.v13185-pending-copy small,
.v13182-sync-history-item strong,
.v13182-sync-history-item small{
  overflow-wrap:anywhere;
}
@media(max-width:520px){
  .v13180-sync-status,
  .v13184-conflict-panel{
    padding:11px;
  }
  .v13180-sync-actions,
  .v13184-conflict-actions,
  .v13185-pending-toolbar,
  .v13182-sync-history-toolbar{
    display:grid;
    grid-template-columns:1fr;
  }
  .v13180-sync-actions button,
  .v13184-conflict-actions button,
  .v13185-pending-toolbar button,
  .v13182-sync-history-toolbar button{
    width:100%;
  }
}

/* =========================================================
   V13.19.0 – PRIVATUMAS IR DUOMENŲ EKSPORTAS
========================================================= */
.v13190-privacy-details{
  grid-column:1/-1;
  width:100%;
  margin-top:14px;
  border:2px solid #dfe5ef;
  border-radius:17px;
  background:#fbfcff;
  box-sizing:border-box;
}
.v13190-privacy-details>summary{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:15px;
  cursor:pointer;
  list-style:none;
}
.v13190-privacy-details>summary::-webkit-details-marker{display:none}
.v13190-privacy-details>summary>span:first-child{
  display:grid;
  gap:4px;
  min-width:0;
}
.v13190-privacy-details>summary strong{color:var(--ink)}
.v13190-privacy-details>summary small{
  color:var(--muted);
  font-weight:700;
  overflow-wrap:anywhere;
}
.v13190-privacy-body{
  display:grid;
  gap:13px;
  padding:0 15px 15px;
}
.v13190-privacy-note{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:12px;
  border:2px solid #bde4c8;
  border-radius:13px;
  background:#f3fff6;
}
.v13190-privacy-note>span{font-size:1.25rem}
.v13190-privacy-note>div{
  display:grid;
  gap:3px;
  min-width:0;
}
.v13190-privacy-note small{
  color:var(--muted);
  font-weight:700;
  overflow-wrap:anywhere;
}
.v13190-export-options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.v13190-export-options label{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:flex-start;
  gap:9px;
  padding:12px;
  border:2px solid #e1e5ee;
  border-radius:13px;
  background:#fff;
  cursor:pointer;
}
.v13190-export-options label:has(input:checked){
  border-color:#9da9ff;
  background:#f4f5ff;
}
.v13190-export-options input{margin-top:3px}
.v13190-export-options span{
  display:grid;
  gap:4px;
  min-width:0;
}
.v13190-export-options strong{color:var(--ink)}
.v13190-export-options small{
  color:var(--muted);
  font-weight:700;
  overflow-wrap:anywhere;
}
.v13190-export-summary{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  background:#f0f2f8;
  color:var(--muted);
  font-weight:700;
}
.v13190-export-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}
.v13190-export-actions button{min-height:44px}
.v13190-export-preview{
  display:grid;
  gap:9px;
  padding:12px;
  border:2px solid #dfe4ed;
  border-radius:13px;
  background:#fff;
}
.v13190-export-preview[hidden]{display:none!important}
.v13190-export-preview-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.v13190-export-preview pre{
  max-height:320px;
  margin:0;
  padding:12px;
  overflow:auto;
  border-radius:10px;
  background:#1f2430;
  color:#fff;
  font-size:.78rem;
  line-height:1.45;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
@media(max-width:760px){
  .v13190-export-options{grid-template-columns:1fr}
}
@media(max-width:560px){
  .v13190-export-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .v13190-export-actions button{width:100%}
  .v13190-export-preview-header{
    align-items:stretch;
    flex-direction:column;
  }
  .v13190-export-preview-header button{width:100%}
}

/* =========================================================
   V13.19.1 – SAUGESNIS EKSPORTAS
========================================================= */
.v13191-sensitive-info{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:12px;
  border:2px solid #d8c8ff;
  border-radius:13px;
  background:#faf7ff;
}
.v13191-sensitive-info>span{
  font-size:1.25rem;
}
.v13191-sensitive-info>div{
  display:grid;
  gap:3px;
  min-width:0;
}
.v13191-sensitive-info strong{
  color:var(--ink);
}
.v13191-sensitive-info small{
  color:var(--muted);
  font-weight:700;
  overflow-wrap:anywhere;
}

/* =========================================================
   V13.19.2 – SAUGUS DUOMENŲ IMPORTAS
========================================================= */
.v13192-import-section{
  display:grid;
  gap:12px;
  padding-top:14px;
  border-top:2px solid #e2e6ee;
}
.v13192-import-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.v13192-import-header>div{
  display:grid;
  gap:4px;
  min-width:0;
}
.v13192-import-header strong{color:var(--ink)}
.v13192-import-header small{
  color:var(--muted);
  font-weight:700;
  overflow-wrap:anywhere;
}
.v13192-file-picker{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:10px 14px;
  border:2px dashed #9da9ff;
  border-radius:13px;
  background:#f6f7ff;
  color:var(--ink);
  font-weight:900;
  cursor:pointer;
}
.v13192-file-picker input{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  opacity:0;
}
.v13192-import-file-info{
  display:grid;
  gap:3px;
  padding:10px 12px;
  border-radius:12px;
  background:#f0f2f8;
}
.v13192-import-file-info[hidden]{display:none!important}
.v13192-import-file-info small{
  color:var(--muted);
  font-weight:700;
}
.v13192-import-validation{
  padding:10px 12px;
  border-radius:12px;
  font-weight:800;
}
.v13192-import-validation[hidden]{display:none!important}
.v13192-import-validation.success{
  border:2px solid #bde4c8;
  background:#f3fff6;
  color:#265f38;
}
.v13192-import-validation.error{
  border:2px solid #efb7b1;
  background:#fff5f4;
  color:#8a332c;
}
.v13192-import-preview{
  display:grid;
  gap:11px;
  padding:12px;
  border:2px solid #dfe4ed;
  border-radius:13px;
  background:#fff;
}
.v13192-import-preview[hidden]{display:none!important}
.v13192-import-preview-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.v13192-import-groups{
  display:grid;
  gap:8px;
}
.v13192-import-group{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:10px 11px;
  border:2px solid #e3e7ef;
  border-radius:12px;
  background:#fbfcff;
}
.v13192-import-group-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:10px;
  background:#f0f2ff;
}
.v13192-import-group>div{
  display:grid;
  gap:3px;
  min-width:0;
}
.v13192-import-group small{
  color:var(--muted);
  font-weight:700;
}
.v13192-import-ready{
  padding:5px 8px;
  border-radius:999px;
  background:#dcf4e4;
  color:#27643a;
  font-size:.75rem;
  font-weight:900;
}
.v13192-import-warning{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:9px;
  padding:11px;
  border:2px solid #d8c8ff;
  border-radius:12px;
  background:#faf7ff;
}
.v13192-import-warning>div{
  display:grid;
  gap:3px;
  min-width:0;
}
.v13192-import-warning small{
  color:var(--muted);
  font-weight:700;
  overflow-wrap:anywhere;
}
.v13192-import-confirm{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:9px;
  align-items:flex-start;
  padding:10px 12px;
  border-radius:12px;
  background:#f0f2f8;
  font-weight:800;
}
.v13192-import-confirm input{margin-top:3px}
.v13192-import-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}
.v13192-import-actions button{min-height:44px}
@media(max-width:600px){
  .v13192-import-group{
    grid-template-columns:auto minmax(0,1fr);
  }
  .v13192-import-ready{
    grid-column:1/-1;
    justify-self:start;
  }
  .v13192-import-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .v13192-import-actions button{width:100%}
}

/* V13.19.2.1 – vieninga šeimos kopija ir importo vaizdas */
.v13192-import-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  align-items:stretch!important;
  gap:10px!important;
}
.v13192-import-actions button{
  width:100%!important;
  margin:0!important;
  min-height:48px!important;
}
#v13192ImportMessage.feedback.ok{
  display:block;
  border:2px solid #9dd9ae;
  border-radius:12px;
  background:#effbf3;
  color:#216338;
  padding:11px 13px;
  font-weight:850;
}
@media(max-width:600px){
  .v13192-import-actions{
    grid-template-columns:1fr!important;
  }
}

/* =========================================================
   V13.19.2.2 – UI pataisymai
========================================================= */

/* Šeimos profilių statistikos kortelės */
.v1330-family-card .v1330-family-stat,
.v1330-family-card [class*="family-stat"]{
  min-width:82px;
}
.v1330-family-card .v1330-family-stat strong,
.v1330-family-card .v1330-family-stat span,
.v1330-family-card [class*="family-stat"] strong,
.v1330-family-card [class*="family-stat"] span{
  white-space:nowrap;
}

/* Tikslumo kortelei daugiau vietos */
.v1330-family-card .v1330-family-stat:nth-of-type(4),
.v1330-family-card [data-stat="accuracy"]{
  min-width:100px;
}

/* Importo veiksmų mygtukai vienodo pločio */
.v13192-import-actions{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:10px!important;
  align-items:stretch!important;
}
.v13192-import-actions > button{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  justify-self:stretch!important;
  min-height:48px!important;
}

/* Importo sėkmės žinutė tokia pati kaip kitų sėkmės pranešimų */
#v13192ImportMessage.feedback.ok,
#v13192ImportMessage.ok{
  display:block!important;
  border:2px solid #9dd9ae!important;
  border-radius:12px!important;
  background:#effbf3!important;
  color:#216338!important;
  padding:11px 13px!important;
  font-weight:850!important;
}

@media(max-width:900px){
  .v1330-family-card .v1330-family-stat,
  .v1330-family-card [class*="family-stat"]{
    min-width:76px;
  }
}
@media(max-width:600px){
  .v13192-import-actions{
    grid-template-columns:1fr!important;
  }
}

/* =========================================================
   V13.19.2.4 – tiksliniai UI pataisymai
========================================================= */

/* Vienodi tik Privatumo ir duomenų skyriaus veiksmų mygtukai */
#v13190PrivacyDetails .v13190-export-actions,
#v13190PrivacyDetails .v13192-import-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
#v13190PrivacyDetails .v13190-export-actions button,
#v13190PrivacyDetails .v13192-import-actions button,
#v13190PrivacyDetails #v13190ClosePreviewBtn{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:48px!important;
  margin:0!important;
  padding:10px 16px!important;
  border:0!important;
  border-radius:14px!important;
  background:#5f5df4!important;
  color:#fff!important;
  font-family:inherit!important;
  font-size:1rem!important;
  font-weight:900!important;
  line-height:1.2!important;
  box-shadow:none!important;
}
#v13190PrivacyDetails button:disabled{
  opacity:.55!important;
  cursor:not-allowed!important;
}

/* Tikroji šeimos profilių metrikų struktūra */
.v1330-family-metrics{
  grid-template-columns:repeat(3,minmax(82px,1fr)) minmax(112px,1.15fr)!important;
}
.v1330-family-metrics>span{
  min-width:82px!important;
}
.v1330-family-metrics>span:nth-child(4){
  min-width:112px!important;
}
.v1330-family-metrics>span:nth-child(4) small{
  white-space:nowrap!important;
  font-size:.88rem!important;
}

/* Importo sėkmės kortelė */
#v13192ImportMessage.feedback.ok{
  display:block!important;
  border:2px solid #8fd3a3!important;
  border-radius:13px!important;
  background:#eaf9ef!important;
  color:#176b34!important;
  padding:12px 14px!important;
  font-weight:900!important;
  line-height:1.4!important;
}

@media(max-width:900px){
  .v1330-family-metrics{
    grid-template-columns:repeat(2,minmax(100px,1fr))!important;
  }
  .v1330-family-metrics>span:nth-child(4){
    min-width:120px!important;
  }
}
@media(max-width:600px){
  #v13190PrivacyDetails .v13190-export-actions,
  #v13190PrivacyDetails .v13192-import-actions{
    grid-template-columns:1fr!important;
  }
  .v1330-family-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* V13.19.2.5 */
#v13180SyncNowBtn,#v13180RetryBtn,#v13185SyncPendingBtn,#v13185RefreshPendingBtn{
 appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-height:48px!important;padding:10px 16px!important;border:0!important;border-radius:14px!important;
 background:#5f5df4!important;color:#fff!important;font-family:inherit!important;font-size:1rem!important;font-weight:900!important;
}
#v13185PendingDetails .v13185-pending-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
#v13185PendingDetails .v13185-pending-toolbar button{width:100%!important;margin:0!important}
.v1330-family-row{display:grid!important;grid-template-columns:minmax(240px,1.1fr) minmax(440px,1.65fr) auto!important;align-items:center!important;gap:14px!important}
.v1330-family-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(88px,1fr)) minmax(120px,1.15fr)!important;gap:8px!important;min-width:0!important}
.v1330-family-metrics>span{min-width:0!important;width:auto!important}
.v1330-family-metrics>span:nth-child(4){min-width:120px!important}
.v1330-family-actions{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;justify-content:flex-end!important;min-width:max-content!important}
.v1330-family-actions button{flex:0 0 auto!important;white-space:nowrap!important}
@media(max-width:1100px){
 .v1330-family-row{grid-template-columns:minmax(220px,1fr) minmax(360px,1.5fr)!important}
 .v1330-family-actions{grid-column:1/-1!important;justify-content:flex-end!important}
}
@media(max-width:760px){
 .v1330-family-row{grid-template-columns:1fr!important}
 .v1330-family-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .v1330-family-actions{grid-column:auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important}
 .v1330-family-actions button{width:100%!important}
 #v13185PendingDetails .v13185-pending-toolbar{grid-template-columns:1fr!important}
}

/* =========================================================
   V13.19.2.6 – šeimos profilių ir inicializavimo pataisymai
========================================================= */

.v1330-family-profile{
  display:grid!important;
  grid-template-columns:minmax(190px,260px) minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px 16px!important;
}
.v1330-family-profile-main{
  grid-column:1!important;
  min-width:0!important;
}
.v1330-family-metrics{
  grid-column:2!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(105px,1fr))!important;
  gap:8px!important;
  min-width:0!important;
}
.v1330-family-metrics>span{
  min-width:0!important;
  width:auto!important;
  padding:9px 8px!important;
}
.v1330-family-metrics small{
  white-space:nowrap!important;
  font-size:.84rem!important;
}
.v1330-family-actions{
  grid-column:1/-1!important;
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
  gap:8px!important;
  min-width:0!important;
}
.v1330-family-actions button{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
@media(max-width:900px){
  .v1330-family-profile{
    grid-template-columns:1fr!important;
  }
  .v1330-family-profile-main,
  .v1330-family-metrics,
  .v1330-family-actions{
    grid-column:1!important;
  }
  .v1330-family-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .v1330-family-actions{
    justify-content:flex-start!important;
  }
}
@media(max-width:520px){
  .v1330-family-metrics{
    grid-template-columns:1fr 1fr!important;
  }
  .v1330-family-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  .v1330-family-actions button{
    width:100%!important;
  }
}

/* V13.19.2.7 */
#v1340ConnectedDevices button,#v1340LogoutOtherDevicesBtn,[data-device-logout]{
 appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-height:46px!important;padding:10px 16px!important;border:0!important;border-radius:14px!important;
 background:#5f5df4!important;color:#fff!important;font-family:inherit!important;font-size:1rem!important;font-weight:900!important
}
#v1340ChangePasswordBtn,#v1340PasswordForm button[type="submit"]{
 align-self:start!important;height:auto!important;min-height:46px!important;max-height:52px!important;padding:10px 18px!important
}
#v1340RecoveryMessage.feedback.ok,#v1340RecoveryCodesMessage.feedback.ok,[data-recovery-message].feedback.ok{
 display:block!important;border:2px solid #8fd3a3!important;border-radius:13px!important;background:#eaf9ef!important;
 color:#176b34!important;padding:12px 14px!important;font-weight:900!important;line-height:1.4!important
}

/* =========================================================
   V13.19.2.8 – tikrieji saugumo ir įrenginių elementai
========================================================= */

/* Prijungti įrenginiai: tikri ID ir klasės */
#v13120LogoutOthersBtn,
#v13120DevicesList .v13120-remove-device{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  padding:10px 16px!important;
  border:0!important;
  border-radius:14px!important;
  background:#5f5df4!important;
  color:#fff!important;
  font-family:inherit!important;
  font-size:1rem!important;
  font-weight:900!important;
  line-height:1.2!important;
  box-shadow:none!important;
}
#v13120LogoutOthersBtn{
  margin-top:10px!important;
}
#v13120DevicesList .v13120-remove-device{
  min-width:116px!important;
}

/* Tikras slaptažodžio mygtukas */
#v13130ChangePasswordBtn{
  grid-column:3!important;
  align-self:start!important;
  justify-self:stretch!important;
  height:50px!important;
  min-height:50px!important;
  max-height:50px!important;
  padding:10px 18px!important;
}
.v13130-password-form .v13131-strength{
  grid-column:1 / 3!important;
}
@media(max-width:980px){
  #v13130ChangePasswordBtn{
    grid-column:1 / -1!important;
    width:auto!important;
    justify-self:start!important;
    min-width:220px!important;
  }
  .v13130-password-form .v13131-strength{
    grid-column:1 / -1!important;
  }
}
@media(max-width:720px){
  #v13130ChangePasswordBtn{
    grid-column:auto!important;
    width:100%!important;
    min-width:0!important;
  }
  .v13130-password-form .v13131-strength{
    grid-column:auto!important;
  }
}

/* Tikras atkūrimo kodų pranešimas */
#v13140RecoveryMessage.feedback.ok{
  display:block!important;
  border:2px solid #8fd3a3!important;
  border-radius:13px!important;
  background:#eaf9ef!important;
  color:#176b34!important;
  padding:12px 14px!important;
  font-weight:900!important;
  line-height:1.4!important;
}

/* =========================================================
   V13.19.3.0 – saugus profilio pašalinimas
========================================================= */
.v131930-delete-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(20,24,44,.56);
}
.v131930-delete-modal[hidden]{display:none!important}
.v131930-delete-dialog{
  display:grid;
  gap:14px;
  width:min(620px,100%);
  max-height:90vh;
  overflow:auto;
  padding:20px;
  border-radius:20px;
  background:#fff;
  box-shadow:0 24px 70px rgba(25,31,60,.3);
}
.v131930-delete-header{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:11px;
  align-items:center;
}
.v131930-delete-header>span{font-size:1.6rem}
.v131930-delete-header>div{
  display:grid;
  gap:3px;
  min-width:0;
}
.v131930-delete-header strong{
  color:var(--ink);
  font-size:1.15rem;
}
.v131930-delete-header small{
  color:var(--muted);
  font-weight:700;
}
.v131930-delete-summary{
  display:grid;
  gap:10px;
  padding:12px;
  border:2px solid #e3e7ef;
  border-radius:14px;
  background:#fbfcff;
}
.v131930-delete-profile{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:10px;
  align-items:center;
}
.v131930-delete-profile img{
  width:52px;
  height:52px;
  object-fit:cover;
  border-radius:14px;
  background:#f0f2ff;
}
.v131930-delete-profile>div{
  display:grid;
  gap:3px;
}
.v131930-delete-profile small{
  color:var(--muted);
  font-weight:700;
}
.v131930-delete-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.v131930-delete-metrics span{
  display:grid;
  gap:3px;
  min-width:0;
  padding:9px;
  border-radius:11px;
  background:#f0f2f8;
  text-align:center;
}
.v131930-delete-metrics small{
  color:var(--muted);
  font-weight:800;
}
.v131930-delete-active-warning{
  display:grid;
  gap:3px;
  padding:11px 12px;
  border:2px solid #e5bd55;
  border-radius:12px;
  background:#fff8e6;
  color:#725615;
}
.v131930-delete-active-warning[hidden]{display:none!important}
.v131930-delete-confirm{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:9px;
  align-items:flex-start;
  padding:11px 12px;
  border-radius:12px;
  background:#f0f2f8;
  font-weight:800;
}
.v131930-delete-confirm input{margin-top:3px}
.v131930-delete-name{
  display:grid;
  gap:6px;
  color:var(--ink);
  font-weight:800;
}
.v131930-delete-name input{
  min-height:46px;
  padding:10px 12px;
  border:2px solid #d9deea;
  border-radius:12px;
  font:inherit;
}
.v131930-delete-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.v131930-delete-actions button{
  min-height:48px;
  border-radius:14px;
  font-weight:900;
}
#v131930DeleteConfirmBtn{
  border:2px solid #efb7b1;
  background:#fff0ef;
  color:#b44740;
}
#v131930DeleteConfirmBtn:disabled{
  opacity:.5;
  cursor:not-allowed;
}
@media(max-width:600px){
  .v131930-delete-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .v131930-delete-actions{
    grid-template-columns:1fr;
  }
}

/* V13.19.3.1 – profilio paveikslėlio kelio pataisymas */
.v131930-delete-profile img.v131931-avatar-fallback{
  object-fit:contain;
  padding:6px;
}

/* =========================================================
   V13.19.3.3 – modalinio profilio avataro apkirpimas
========================================================= */
.v131930-delete-profile img.v131933-profile-avatar{
  width:52px!important;
  height:52px!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  object-position:center 18%!important;
  border-radius:14px!important;
  background:#f0f2ff!important;
}
.v131930-delete-profile img.v131933-profile-avatar.v131931-avatar-fallback{
  object-fit:cover!important;
  object-position:center 18%!important;
  padding:0!important;
}

/* V13.19.4.0 */
.v131940-danger-details{margin-top:14px;border:2px solid #efb7b1;border-radius:16px;background:#fffafa;overflow:hidden}
.v131940-danger-details summary{display:flex;justify-content:space-between;padding:14px 16px;cursor:pointer}
.v131940-danger-details summary>span:first-child{display:grid;gap:3px}.v131940-danger-details summary strong{color:#a83f38}
.v131940-danger-body{display:grid;gap:12px;padding:0 16px 16px}.v131940-danger-warning{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:12px;border-radius:13px;background:#fff0ef;color:#8d352f}
#v131940OpenDeleteAccountBtn{min-height:48px;border:2px solid #efb7b1;border-radius:14px;background:#fff0ef;color:#b44740;font-weight:900}
.v131940-delete-account-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px;background:rgba(20,24,44,.62)}
.v131940-delete-account-modal[hidden]{display:none!important}.v131940-delete-account-dialog{display:grid;gap:14px;width:min(650px,100%);max-height:92vh;overflow:auto;padding:20px;border-radius:20px;background:#fff}
.v131940-delete-account-header{display:grid;grid-template-columns:auto 1fr;gap:11px;align-items:center}.v131940-delete-account-header>div{display:grid;gap:3px}
.v131940-delete-account-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.v131940-delete-account-stats span{display:grid;gap:3px;padding:10px;border-radius:11px;background:#f0f2f8;text-align:center}
.v131940-delete-account-list{padding:12px 14px;border:2px solid #efb7b1;border-radius:13px;background:#fff7f6;color:#7f342f}
.v131940-delete-account-confirm{display:grid;grid-template-columns:auto 1fr;gap:9px;padding:11px 12px;border-radius:12px;background:#f0f2f8;font-weight:800}
.v131940-delete-account-name{display:grid;gap:6px;font-weight:800}.v131940-delete-account-name input{min-height:46px;padding:10px 12px;border:2px solid #d9deea;border-radius:12px;font:inherit}
.v131940-delete-account-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.v131940-delete-account-actions button{min-height:48px;border-radius:14px;font-weight:900}
#v131940DeleteAccountConfirmBtn{border:2px solid #efb7b1;background:#fff0ef;color:#b44740}
@media(max-width:600px){.v131940-delete-account-stats,.v131940-delete-account-actions{grid-template-columns:1fr}}

/* V13.19.4.1 */
.v131940-danger-warning>div{
  display:grid!important;
  gap:4px!important;
}
.v131940-danger-warning strong{
  display:block!important;
}
.v131940-danger-warning small{
  display:block!important;
  line-height:1.4!important;
}

/* =========================================================
   V13.19.4.3 – paskyros pašalinimo skiltis per visą plotį
========================================================= */
#v131940DangerDetails{
  grid-column:1 / -1!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
#v131940DangerDetails summary,
#v131940DangerDetails .v131940-danger-body{
  width:100%!important;
  box-sizing:border-box!important;
}

/* =========================================================
   V13.19.5.0 – privatumo veiksmų istorija
========================================================= */
.v131950-history-section{
  display:grid;
  gap:12px;
  margin-top:16px;
  padding-top:16px;
  border-top:2px solid #e3e7ef;
}
.v131950-history-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.v131950-history-heading>div{
  display:grid;
  gap:3px;
  min-width:0;
}
.v131950-history-heading small{
  color:var(--muted);
  font-weight:700;
}
#v131950ClearHistoryBtn{
  flex:0 0 auto;
  min-height:42px!important;
  width:auto!important;
  padding:8px 14px!important;
  border-radius:12px!important;
}
.v131950-history-list{
  display:grid;
  gap:8px;
}
.v131950-history-empty{
  padding:14px;
  border:2px dashed #d7dce7;
  border-radius:13px;
  color:var(--muted);
  font-weight:750;
  text-align:center;
}
.v131950-history-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:11px 12px;
  border:2px solid #e3e7ef;
  border-radius:13px;
  background:#fbfcff;
}
.v131950-history-item>div{
  display:grid;
  gap:3px;
}
.v131950-history-item>div:last-child{
  justify-items:end;
  text-align:right;
}
.v131950-history-item small,
.v131950-history-item time{
  color:var(--muted);
  font-size:.86rem;
  font-weight:700;
}
.v131950-history-item span{
  font-weight:900;
}
.v131950-history-item.success span{color:#176b34}
.v131950-history-item.failed span{color:#a83f38}
.v131950-history-item.cancelled span{color:#7a6216}
@media(max-width:620px){
  .v131950-history-heading{
    align-items:stretch;
    flex-direction:column;
  }
  #v131950ClearHistoryBtn{
    width:100%!important;
  }
  .v131950-history-item{
    grid-template-columns:1fr;
  }
  .v131950-history-item>div:last-child{
    justify-items:start;
    text-align:left;
  }
}

/* V13.20.0 */
.v132000-final-audit{display:grid;gap:12px;margin-top:16px;padding:14px;border:2px solid #dfe3ed;border-radius:15px;background:#fbfcff}
.v132000-final-audit>div:first-child{display:grid;gap:3px}
.v132000-final-audit small{color:var(--muted);font-weight:700}
#v132000RunAuditBtn{justify-self:start;min-height:46px!important;width:auto!important;padding:10px 16px!important;border-radius:14px!important}
.v132000-audit-result{display:grid;gap:4px;padding:12px 14px;border-radius:13px}
.v132000-audit-result.ok{border:2px solid #8fd3a3;background:#eaf9ef;color:#176b34}
.v132000-audit-result.bad{border:2px solid #efb7b1;background:#fff5f4;color:#8a332c}
@media(max-width:600px){#v132000RunAuditBtn{width:100%!important}}

/* =========================================================
   V14.0.0 – Mokytojo zonos pagrindas
========================================================= */
#v1400AccountRoleRow select{
  width:100%;
  min-height:46px;
  padding:10px 12px;
  border:2px solid #d9deea;
  border-radius:12px;
  background:#fff;
  font:inherit;
}
.v1400-teacher-zone{
  display:grid;
  gap:16px;
  margin:18px 0;
  padding:18px;
  border:2px solid #cfd8ff;
  border-radius:20px;
  background:linear-gradient(180deg,#f8f9ff,#fff);
}
.v1400-teacher-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
}
.v1400-teacher-header>div{display:grid;gap:4px}
.v1400-teacher-header-actions{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap}
.v1400-teacher-header-actions #v1400TeacherLogoutBtn{min-height:38px;padding:8px 12px}
.v1400-teacher-school-affiliation{padding:10px 12px;border:1px solid #d8def1;border-radius:12px;background:#f6f8ff;font-weight:800;color:#33446f}
.v1400-kicker{font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#526bd7}
#v1400TeacherRoleBadge{padding:7px 11px;border-radius:999px;background:#e8ecff;color:#4054b2;font-weight:900}
.v1400-class-form,.v1400-student-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;
  gap:10px;
  align-items:end;
}
.v1400-class-form label,.v1400-student-form label{display:grid;gap:5px;font-weight:800}
.v1400-class-form input,.v1400-student-form input{
  min-height:44px;padding:9px 11px;border:2px solid #dbe0ec;border-radius:12px;font:inherit
}
.v1400-class-form button,.v1400-student-form button{
  min-height:44px;padding:9px 15px;border-radius:12px;font-weight:900
}
.v1400-class-list{display:grid;gap:12px}
.v1400-empty{padding:16px;border:2px dashed #d8ddec;border-radius:14px;text-align:center;color:var(--muted);font-weight:800}
.v1400-class-card{display:grid;gap:12px;padding:14px;border:2px solid #e0e4ef;border-radius:16px;background:#fff}
.v1400-class-card-head{display:flex;justify-content:space-between;gap:10px;align-items:center}
.v1400-class-card-head>div{display:grid;gap:3px}.v1400-class-card-head small{color:var(--muted);font-weight:700}
.v1400-class-card-head>span{min-width:34px;padding:6px 9px;border-radius:999px;background:#eef1f7;text-align:center;font-weight:900}
.v1400-student-list{display:grid;gap:8px}
.v1400-credential-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:11px 12px;border-radius:13px;background:#f5f7ff}
.v1400-credential-card>div{display:grid;gap:2px}.v1400-credential-card small{color:var(--muted);font-weight:700}
.v1400-credential-card dl{display:flex;gap:8px;margin:0}
.v1400-credential-card dl>div{display:grid;gap:2px;min-width:82px;padding:6px 8px;border-radius:9px;background:#fff}
.v1400-credential-card dt{font-size:.7rem;color:var(--muted);font-weight:900}.v1400-credential-card dd{margin:0;font-weight:900}
@media(max-width:720px){
 .v1400-teacher-header{flex-direction:column}
 .v1400-class-form,.v1400-student-form{grid-template-columns:1fr}
 .v1400-credential-card{grid-template-columns:1fr}
 .v1400-credential-card dl{flex-wrap:wrap}
}

/* =========================================================
   V14.0.1 – atskira mokytojo darbo aplinka
========================================================= */
.v140001-standalone-teacher-zone{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  grid-column:1 / -1!important;
  margin:18px 0!important;
}
.v140001-standalone-teacher-zone .v1400-class-form,
.v140001-standalone-teacher-zone .v1400-student-form{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  grid-template-columns:
    minmax(0,1.4fr)
    minmax(0,1fr)
    minmax(150px,auto)!important;
}
.v140001-standalone-teacher-zone label,
.v140001-standalone-teacher-zone input,
.v140001-standalone-teacher-zone button{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.v140001-teacher-account .parents-zone,
.v140001-teacher-account .parent-zone,
.v140001-teacher-account #parentsZone,
.v140001-teacher-account #parentZone,
.v140001-teacher-account #parentsPanel,
.v140001-teacher-account #parentPanel{
  display:none!important;
}
@media(max-width:900px){
  .v140001-standalone-teacher-zone .v1400-class-form,
  .v140001-standalone-teacher-zone .v1400-student-form{
    grid-template-columns:1fr 1fr!important;
  }
  .v140001-standalone-teacher-zone .v1400-class-form button,
  .v140001-standalone-teacher-zone .v1400-student-form button{
    grid-column:1 / -1!important;
    width:100%!important;
  }
}
@media(max-width:620px){
  .v140001-standalone-teacher-zone{
    padding:14px!important;
  }
  .v140001-standalone-teacher-zone .v1400-class-form,
  .v140001-standalone-teacher-zone .v1400-student-form{
    grid-template-columns:1fr!important;
  }
  .v140001-standalone-teacher-zone .v1400-class-form button,
  .v140001-standalone-teacher-zone .v1400-student-form button{
    grid-column:auto!important;
  }
}

/* V14.0.2 – atskiras įėjimas į Mokytojo zoną */
.v140002-teacher-entry-btn{display:inline-flex!important;align-items:center;gap:6px}
.v140002-teacher-auth-view{display:grid;gap:14px;max-width:620px;width:100%;margin:0 auto}
.v140002-teacher-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.v140002-teacher-auth-tabs button{min-height:44px;border-radius:12px;font-weight:900}
.v140002-teacher-auth-tabs button.active{background:#eef1ff;color:#4054b2;border:2px solid #cfd8ff}
.v140002-teacher-auth-form{display:grid;gap:10px}
.v140002-teacher-auth-form label{display:grid;gap:5px;font-weight:800}
.v140002-teacher-auth-form input{min-height:46px;padding:10px 12px;border:2px solid #d9deea;border-radius:12px;font:inherit}
#v140002TeacherAuthSubmitBtn{min-height:48px;border-radius:13px;font-weight:900}
#v140002TeacherWorkspaceView{display:grid;gap:16px}
#v140002TeacherWorkspaceView[hidden]{display:none!important}
@media(max-width:620px){
 .v11-secondary-actions{grid-template-columns:1fr!important}
 .v140002-teacher-entry-btn{width:100%!important;justify-content:center}
}

/* V14.0.3 */
#v1400TeacherZone.screen:not(.active){display:none!important}
#v1400TeacherZone.screen.active{display:grid!important}
#v1400TeacherZone[hidden]{display:none!important}
.v140003-bulk-students{display:grid;gap:10px;padding:12px;border:2px solid #dfe4f2;border-radius:14px;background:#fafbff}
.v140003-bulk-head{display:grid;gap:3px}
.v140003-bulk-head small{color:var(--muted);font-weight:700}
.v140003-bulk-textarea{width:100%;min-height:110px;resize:vertical;box-sizing:border-box;padding:10px 12px;border:2px solid #d9deea;border-radius:12px;font:inherit;line-height:1.4}
.v140003-bulk-summary{display:flex;justify-content:space-between;align-items:center;gap:10px}
.v140003-bulk-count{color:var(--muted);font-weight:800}
.v140003-bulk-add-btn{min-height:44px;padding:9px 14px;border-radius:12px;font-weight:900}
.v140003-single-student-details{border-top:1px solid #e6e9f0;padding-top:9px}
.v140003-single-student-details summary{cursor:pointer;font-weight:850}
.v140003-single-student-details .v1400-student-form{margin-top:10px}
@media(max-width:620px){
 .v140003-bulk-summary{align-items:stretch;flex-direction:column}
 .v140003-bulk-add-btn{width:100%}
}

/* =========================================================
   V14.1.0 – Mokinio prisijungimas
========================================================= */
.v1410-student-entry-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
}
.v1410-student-screen{
  gap:18px;
}
.v1410-student-header{
  display:flex;
  justify-content:space-between;
  gap:14px;
}
.v1410-student-header>div{
  display:grid;
  gap:4px;
}
.v1410-kicker{
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#526bd7;
}
.v1410-student-auth{
  display:grid;
  gap:12px;
  width:min(560px,100%);
  margin:0 auto;
}
.v1410-student-login-form{
  display:grid;
  gap:11px;
}
.v1410-student-login-form label{
  display:grid;
  gap:5px;
  font-weight:850;
}
.v1410-student-login-form input{
  width:100%;
  min-height:48px;
  box-sizing:border-box;
  padding:10px 12px;
  border:2px solid #d9deea;
  border-radius:13px;
  font:inherit;
}
#v1410StudentLoginBtn{
  min-height:48px;
  border-radius:13px;
  font-weight:900;
}
.v1410-student-dashboard{
  display:grid;
  gap:14px;
}
.v1410-student-dashboard[hidden]{
  display:none!important;
}
.v1410-student-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:14px;
  align-items:center;
  padding:16px;
  border:2px solid #dfe4f2;
  border-radius:18px;
  background:#f7f8ff;
}
.v1410-student-avatar{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border-radius:17px;
  background:#fff;
  font-size:2rem;
}
.v1410-student-card>div{
  display:grid;
  gap:3px;
}
.v1410-student-card small,
.v1410-student-card span{
  color:var(--muted);
  font-weight:750;
}
#v1410StudentName{
  font-size:1.25rem;
}
.v1410-student-inline-id{
  display:flex!important;
  align-items:baseline;
  gap:6px!important;
  margin-top:3px;
}
.v1410-student-inline-id strong{
  color:var(--text);
  font-weight:850;
}
.v1410-student-meta:not(:has(>div:not([hidden]))){
  display:none;
}
.v1410-student-meta{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.v1410-student-meta>div{
  display:grid;
  gap:3px;
  padding:12px;
  border:2px solid #e2e6ef;
  border-radius:14px;
  background:#fff;
}
.v1410-student-meta small{
  color:var(--muted);
  font-weight:750;
}
.v1410-student-actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(140px,.45fr);
  gap:10px;
}
.v1410-student-mode #v1310ProfileSwitcherBtn{
  pointer-events:auto;
  cursor:pointer;
}
.v1410-student-mode #v140002TeacherEntryBtn{display:none!important}
.v1410-student-mode #parentBtn{display:inline-flex!important}
@media(max-width:620px){
  .v1410-student-entry-btn{
    width:100%!important;
  }
  .v1410-student-meta,
  .v1410-student-actions{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   V14.1.1 – naujo mokinio PIN generavimas
========================================================= */
.v1400-credential-card{
  grid-template-columns:minmax(0,1fr) auto auto!important;
  align-items:center!important;
}
.v1411-student-main{
  display:grid;
  gap:2px;
  min-width:0;
}
.v1411-student-main small{
  color:var(--muted);
  font-weight:700;
}
.v1411-pin-actions{
  display:grid;
  gap:6px;
  min-width:170px;
}
.v1411-reset-pin-btn{
  min-height:40px;
  padding:8px 11px;
  border-radius:11px;
  font-weight:900;
}
.v1411-pin-message{
  max-width:280px;
  font-size:.78rem;
}
.v1411-pin-revealed{
  letter-spacing:.08em;
  font-size:1.05rem;
}
@media(max-width:760px){
  .v1400-credential-card{
    grid-template-columns:1fr!important;
  }
  .v1411-pin-actions{
    min-width:0;
  }
  .v1411-reset-pin-btn{
    width:100%;
  }
}

/* =========================================================
   V14.1.2 – mokinių prisijungimo kortelių eksportas
========================================================= */
.v1412-credentials-export{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:12px;
  border:2px solid #dfe4f2;
  border-radius:14px;
  background:#f8f9ff;
}
.v1412-credentials-export>div:first-child{
  display:grid;
  gap:3px;
  min-width:0;
}
.v1412-credentials-export small{
  color:var(--muted);
  font-weight:700;
}
.v1412-export-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}
.v1412-export-actions button{
  min-height:42px;
  padding:8px 12px;
  border-radius:11px;
  font-weight:900;
}
.v1412-export-actions button:disabled{
  opacity:.45;
  cursor:not-allowed;
}
@media(max-width:760px){
  .v1412-credentials-export{
    align-items:stretch;
    flex-direction:column;
  }
  .v1412-export-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .v1412-export-actions button{
    width:100%;
  }
}

/* =========================================================
   V14.1.3 – mokinio pašalinimas ir eksporto būsenos atnaujinimas
========================================================= */
.v1413-delete-student-btn{
  min-height:40px;
  padding:8px 11px;
  border-radius:11px;
  font-weight:900;
  border:2px solid #efc8c4!important;
  background:#fff6f5!important;
  color:#9a3f37!important;
}
.v1413-delete-student-btn:hover{
  background:#ffebe9!important;
}

/* =========================================================
   V14.1.5 – mokinio tapatybė ir Chrome monetos pataisa
========================================================= */
.v1415-reward-coin{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:5px;
  font-weight:900;
}
.v1415-reward-coin img{
  width:22px;
  height:22px;
  display:block;
  object-fit:contain;
}
.v1410-student-mode #profileToggleBtn{
  display:none!important;
}
.v1410-student-mode .v11-hero-kicker{
  pointer-events:none;
}

.v1410-student-mode #v1310ProfileSwitcherBtn{pointer-events:auto!important;cursor:pointer!important}

/* V14.1.9 */
.v1419-zone-btn{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;text-align:center!important;width:100%!important}
.v1419-zone-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;line-height:1;font-size:1.05em}
.v1410-student-mode #parentBtn{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}

.v14110-empty-profile-list,.v14110-family-empty{padding:16px;border:2px dashed #d9deea;border-radius:14px;color:var(--muted);text-align:center;font-weight:800}

/* =========================================================
   V14.1.11 – prijungtas mokyklos profilis Tėvų zonoje
========================================================= */
.v14111-school-profile{
  border-style:dashed!important;
  background:#f7fbff!important;
}
.v14111-school-profile .v1330-family-avatar{
  display:grid;
  place-items:center;
  font-size:1.65rem;
}
.v14111-school-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:7px 11px;
  border-radius:11px;
  background:#eaf4ff;
  color:#285f9f;
  font-weight:900;
}

.v14112-student-profile-choices{display:grid;gap:10px;margin-bottom:12px}.v14112-student-profile-choices[hidden]{display:none!important}.v14112-school-choice,.v14112-local-choice{display:grid;grid-template-columns:auto minmax(0,1fr);gap:11px;align-items:center;width:100%;min-height:64px;padding:11px 13px;border:2px solid #dfe4f2;border-radius:14px;background:#fff;text-align:left}.v14112-school-choice{background:#f5f9ff;border-color:#cfe0f6}.v14112-choice-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eef2ff;font-size:1.35rem}.v14112-student-profile-choices button>span:last-child{display:grid;gap:3px}.v14112-student-avatar-actions{display:flex}.v14112-student-avatar-picker{display:grid;gap:12px;padding:14px;border:2px solid #dfe4f2;border-radius:16px;background:#fafbff}.v14112-student-avatar-picker[hidden]{display:none!important}.v14112-avatar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.v14112-student-avatar-option{aspect-ratio:1;padding:4px;border:2px solid transparent;border-radius:13px;overflow:hidden;background:#fff}.v14112-student-avatar-option.selected{border-color:#7664ff}.v14112-student-avatar-option img,.v14112-school-avatar img{width:100%;height:100%;object-fit:cover}.v14112-school-avatar{display:block;width:48px;height:48px;overflow:hidden;border-radius:13px}.v14112-school-profile-meta{display:flex;align-items:center;justify-content:flex-end;gap:10px}.v14112-school-profile-meta>div{display:grid;gap:2px;min-width:110px}

/* V14.1.13 – mokinio zonos ir profilių sujungimo pataisos */
.v1410-student-card{grid-template-columns:72px minmax(0,1fr)!important;min-height:96px!important}
.v1410-student-avatar{width:64px!important;height:64px!important;border-radius:16px!important;overflow:hidden!important;background:#fff!important}
.v1410-student-avatar .v14113-student-avatar-img,.v14112-school-avatar .v14113-student-avatar-img,#v1331ActiveProfileAvatar .v14113-student-avatar-img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.v14112-student-avatar-picker{padding:14px 16px!important;overflow:hidden!important}
.v14112-avatar-grid{display:flex!important;gap:12px!important;overflow-x:auto!important;grid-template-columns:none!important;padding:2px 2px 8px!important;scrollbar-width:thin}
.v14112-student-avatar-option{flex:0 0 132px!important;width:132px!important;height:160px!important;aspect-ratio:auto!important;padding:4px!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important}
.v14112-student-avatar-option img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:10px!important;display:block!important}
.v14112-student-profile-choices{display:grid;gap:10px;margin-bottom:12px}
.v14112-student-profile-choices[hidden]{display:none!important}
.v14111-school-profile{border:2px dashed #b9d4f3!important;background:#f7fbff!important}
.v14112-school-profile-meta{display:flex;align-items:center;justify-content:flex-end;gap:12px}
@media(max-width:700px){.v14112-student-avatar-option{flex-basis:108px!important;width:108px!important;height:132px!important}.v1410-student-card{grid-template-columns:64px minmax(0,1fr)!important}.v1410-student-avatar{width:56px!important;height:56px!important}}

/* V14.1.14 */
.v14112-student-avatar-picker{padding:20px!important;margin-top:12px!important;border-radius:18px!important;overflow:visible!important}
.v14112-avatar-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;overflow:visible!important;padding:0!important;margin:14px 0!important}
.v14112-student-avatar-option{width:auto!important;height:190px!important;min-width:0!important;aspect-ratio:auto!important;padding:6px!important;border:3px solid transparent!important;border-radius:18px!important;overflow:hidden!important;background:#f5f7fb!important;cursor:pointer!important}
.v14112-student-avatar-option img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;display:block!important;background:linear-gradient(180deg,#fff9ef,#f5e6d8)!important;border-radius:13px!important}
.v14112-student-avatar-option.selected{border-color:var(--primary)!important;background:#eeeaff!important;box-shadow:0 8px 20px rgba(108,92,231,.16)!important}
.v14114-school-choice-avatar{overflow:hidden!important;padding:0!important}
.v14114-school-choice-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;border-radius:10px!important}
.v14111-school-profile .v1330-family-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:12px!important}
@media(max-width:760px){.v14112-avatar-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.v14112-student-avatar-option{height:165px!important}}

/* =========================================================
   V14.1.15 – profilio būsena ir mokyklos statistika
========================================================= */
.v14115-school-meta-line{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  padding:0 4px 4px;
  color:var(--muted);
  font-size:.82rem;
  font-weight:750;
}
.v14115-school-meta-line b{
  color:var(--text);
}

.v14116-school-meta-line{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  padding:0 4px 4px;
  color:var(--muted);
  font-size:.82rem;
  font-weight:750;
}
.v14116-school-meta-line b{color:var(--text)}

/* =========================================================
   V14.2.0 – mokytojo priskiriamos užduotys
========================================================= */
.v1420-class-assignments{
  display:grid;
  gap:12px;
  margin:16px 0;
  padding:14px;
  border:2px solid #dce6f7;
  border-radius:18px;
  background:#f8fbff;
}
.v1420-class-assignment-head,
.v1420-student-assignment-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.v1420-class-assignment-head>div,
.v1420-student-assignment-head>div{
  display:grid;
  gap:3px;
}
.v1420-class-assignment-head small,
.v1420-student-assignment-head small{
  color:var(--muted);
  font-weight:700;
}
.v1420-class-assignment-head>span,
#v1420StudentAssignmentsCount{
  min-width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#eef2ff;
  font-weight:900;
}
.v1420-class-assignments>summary{
  cursor:pointer;
  list-style:none;
}
.v1420-class-assignments>summary::-webkit-details-marker{
  display:none;
}
.v1420-class-assignments>summary::after{
  content:"▾";
  font-size:18px;
  color:#6254b8;
  transition:transform .18s ease;
}
.v1420-class-assignments[open]>summary::after{
  transform:rotate(180deg);
}
.v1420-class-assignments>.v1420-class-assignments-body{
  display:grid;
  gap:12px;
}
.v1420-assignment-list,
.v1420-student-assignment-list{
  display:grid;
  gap:10px;
}
.v1420-assignment-card,
.v1420-student-assignment-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border:1px solid #dce3f0;
  border-radius:14px;
  background:#fff;
}
.v1420-student-assignment-card{
  grid-template-columns:minmax(0,1fr) auto;
}
.v1420-assignment-main,
.v1420-student-assignment-card>div:first-child{
  display:grid;
  gap:4px;
}
.v1420-assignment-main small,
.v1420-student-assignment-card small{
  color:var(--muted);
  font-weight:700;
}
.v1420-assignment-meta,
.v1420-student-assignment-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 12px;
  color:var(--muted);
  font-size:.82rem;
  font-weight:750;
}
.v1420-delete-assignment-btn{
  border:0;
  border-radius:10px;
  padding:9px 12px;
  background:#fff0f0;
  color:#b34242;
  font-weight:850;
}
.v1420-assignment-details{
  border-top:1px solid #dce3f0;
  padding-top:10px;
}
.v1420-assignment-details summary{
  cursor:pointer;
  font-weight:900;
}
.v1420-assignment-form{
  display:grid;
  grid-template-columns:minmax(0,2fr) repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}
.v1420-assignment-form label{
  display:grid;
  gap:5px;
  min-width:0;
}
.v1420-assignment-form label>span,
.v1420-table-picker legend{
  font-size:.8rem;
  color:var(--muted);
  font-weight:800;
}
.v1420-assignment-form input,
.v1420-assignment-form select{
  width:100%;
  box-sizing:border-box;
  min-height:42px;
  border:2px solid #dde3ef;
  border-radius:11px;
  padding:8px 10px;
  background:#fff;
}
.v1420-assignment-form input[type="date"]{
  min-width:0;
  max-width:100%;
  inline-size:100%;
}
.v1420-table-picker{
  grid-column:1/-1;
  border:0;
  padding:0;
  margin:0;
}
.v1420-table-picker>div{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:6px;
}
.v1420-table-picker label{
  display:block;
}
.v1420-table-picker input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.v1420-table-picker span{
  display:grid;
  place-items:center;
  min-width:42px;
  min-height:38px;
  padding:0 8px;
  border:2px solid #dce3ef;
  border-radius:10px;
  background:#fff;
  color:var(--text);
}
.v1420-table-picker input:checked+span{
  border-color:#7563f6;
  background:#eeeaff;
}
.v1420-assignment-form>button{
  grid-column:1/-1;
}
.v1420-assignment-form-message{
  grid-column:1/-1;
}
.v1420-student-assignments{
  display:grid;
  gap:12px;
  margin-top:14px;
  padding:15px;
  border:2px solid #dce6f7;
  border-radius:18px;
  background:#f8fbff;
}
.v1420-assignment-empty{
  padding:14px;
  border-radius:12px;
  background:#fff;
  color:var(--muted);
  font-weight:750;
  text-align:center;
}
@media(max-width:900px){
  .v1420-assignment-form{
    grid-template-columns:1fr 1fr;
  }
  .v1420-assignment-title-field{
    grid-column:1/-1;
  }
  .v1420-assignment-card,
  .v1420-student-assignment-card{
    grid-template-columns:1fr;
  }
}
@media(max-width:560px){
  .v1420-assignment-form{
    grid-template-columns:1fr;
  }
  .v1420-assignment-title-field{
    grid-column:auto;
  }
}

/* =========================================================
   V14.2.1 – terminai ir užduočių atlikimo būsenos
========================================================= */
.v1421-overdue-badge,
.v1421-today-badge,
.v1421-completed-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:3px 9px;
  border-radius:999px;
  font-size:.75rem;
  font-weight:900;
}
.v1421-overdue-badge{
  background:#fff0f0;
  color:#b33c3c;
}
.v1421-today-badge{
  background:#fff7d9;
  color:#8a6500;
}
.v1421-completed-badge{
  background:#e9f9ef;
  color:#187a43;
}
.v1420-assignment-card.is-overdue,
.v1420-student-assignment-card.is-overdue{
  border-color:#efb9b9;
  background:#fffafa;
}
.v1420-student-assignment-card.is-completed{
  border-color:#bfe6ca;
  background:#fbfffc;
}
.v1421-start-assignment-btn{
  border:0;
  border-radius:11px;
  min-height:42px;
  padding:8px 14px;
  font-weight:900;
  background:linear-gradient(135deg,#6d5dfc,#3ab7ef);
  color:#fff;
}
.v1421-assignment-actions{
  display:flex;
  gap:8px;
}
.v1421-assignment-status-btn{
  border:0;
  border-radius:10px;
  padding:9px 12px;
  background:#edf2ff;
  color:#304f98;
  font-weight:850;
}
.v1421-assignment-status{
  grid-column:1/-1;
  border-top:1px solid #dce3f0;
  padding-top:12px;
}
.v1421-status-summary{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:10px;
}
.v1421-status-summary span{
  display:inline-flex;
  gap:5px;
  padding:6px 10px;
  border-radius:999px;
  background:#f1f3f8;
  font-size:.8rem;
  font-weight:800;
}
.v1421-status-summary .done{
  background:#eaf8ee;
  color:#247347;
}
.v1421-status-summary .todo{
  background:#fff1f1;
  color:#a64545;
}
.v1421-student-status-list{
  display:grid;
  gap:7px;
}
.v1421-student-status-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:9px 11px;
  border:1px solid #e1e6ef;
  border-radius:11px;
  background:#fff;
}
.v1421-student-status-row>div:first-child{
  display:grid;
  gap:2px;
}
.v1421-student-status-row small{
  color:var(--muted);
}
.v1421-student-result{
  display:flex;
  gap:8px;
  align-items:center;
  font-weight:800;
}
.v1421-not-done{
  color:#a64545;
  font-weight:850;
}
@media(max-width:700px){
  .v1421-student-status-row{
    grid-template-columns:1fr;
  }
  .v1421-student-result{
    flex-wrap:wrap;
  }
  .v1421-assignment-actions{
    width:100%;
  }
  .v1421-assignment-actions button{
    flex:1;
  }
}

/* =========================================================
   V14.2.3 – užduoties priskyrimo mygtukas ir rezultatų polish
========================================================= */
.v1423-assign-class-btn{
  grid-column:1/-1;
  width:100%;
  min-height:54px;
  border:0!important;
  border-radius:16px!important;
  padding:13px 20px!important;
  background:linear-gradient(135deg,#6c5cf4,#875ff6)!important;
  color:#fff!important;
  font:inherit;
  font-weight:900!important;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(108,92,244,.18);
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;
}
.v1423-assign-class-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 13px 26px rgba(108,92,244,.22);
  filter:brightness(1.02);
}
.v1423-assign-class-btn:active{
  transform:translateY(0);
}
.v1423-assign-class-btn:focus-visible{
  outline:3px solid rgba(108,92,244,.28);
  outline-offset:3px;
}
.v1423-student-status-person{
  min-width:0;
}
.v1423-result-score{
  display:grid;
  justify-items:end;
  gap:1px;
}
.v1423-result-score b{
  font-size:1rem;
  color:var(--text);
}
.v1423-result-score small{
  color:var(--muted);
  font-weight:800;
}
.v1423-result-attempts{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:6px 9px;
  border-radius:999px;
  background:#f1f4fb;
  color:var(--muted);
  font-size:.78rem;
  font-weight:800;
}
@media(max-width:700px){
  .v1423-result-score{
    justify-items:start;
  }
}

/* =========================================================
   V14.2.4 – mokinio užduoties rezultatas ir veiksmo tekstai
========================================================= */
.v1423-assign-class-btn{
  min-height:56px!important;
  height:auto!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1.2!important;
}
.v1424-student-assignment-main{
  display:grid;
  gap:5px;
  min-width:0;
}
.v1424-assignment-result{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:5px;
}
.v1424-assignment-result>span{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:5px 9px;
  border-radius:999px;
  background:#eef3ff;
  color:#45598a;
  font-size:.78rem;
  font-weight:800;
}
.v1424-assignment-result b{
  color:var(--text);
  font-size:.85rem;
}
.v1420-student-assignment-card.is-completed .v1424-assignment-result>span:first-child{
  background:#e9f9ef;
  color:#187a43;
}

/* =========================================================
   V14.2.5 – užduočių uždarymas / atidarymas ir filtrai
========================================================= */
.v1425-assignment-filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.v1425-assignment-filters button{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  padding:7px 11px;
  border:2px solid #dce3f0;
  border-radius:999px;
  background:#fff;
  color:var(--muted);
  font-weight:850;
  cursor:pointer;
}
.v1425-assignment-filters button span{
  min-width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#f1f4fb;
  color:var(--text);
  font-size:.75rem;
}
.v1425-assignment-filters button.active{
  border-color:#7563f6;
  background:#eeeaff;
  color:#4d3ed1;
}
.v1425-closed-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:3px 9px;
  border-radius:999px;
  background:#eef0f5;
  color:#697386;
  font-size:.75rem;
  font-weight:900;
}
.v1420-assignment-card.is-closed{
  background:#f7f8fb;
  border-color:#d9dde7;
  opacity:.88;
}
.v1425-assignment-state-btn{
  border:0;
  border-radius:10px;
  padding:9px 12px;
  font-weight:850;
  cursor:pointer;
}
.v1425-assignment-state-btn.close{
  background:#fff4dc;
  color:#926407;
}
.v1425-assignment-state-btn.reopen{
  background:#eaf8ee;
  color:#247347;
}
.v1425-hard-delete-btn{
  background:#fff0f0!important;
  color:#b34242!important;
}
@media(max-width:700px){
  .v1425-assignment-filters{
    display:grid;
    grid-template-columns:repeat(3,1fr);
  }
  .v1425-assignment-filters button{
    justify-content:center;
  }
}

/* =========================================================
   V14.2.6 – uždarytos užduotys mokiniui ir automatinė malonės diena
========================================================= */
.v1426-grace-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:3px 9px;
  border-radius:999px;
  background:#eef4ff;
  color:#3e5ea8;
  font-size:.75rem;
  font-weight:900;
}
.v1426-not-completed-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:3px 9px;
  border-radius:999px;
  background:#fff0f0;
  color:#b13e3e;
  font-size:.75rem;
  font-weight:900;
}
.v1420-student-assignment-card.is-closed{
  border-color:#d8dde7;
  background:#f7f8fb;
}
.v1420-student-assignment-card.is-closed.is-overdue{
  border-color:#d8dde7;
  background:#f7f8fb;
}
.v1420-student-assignment-card.is-closed .v1424-student-assignment-main,
.v1420-student-assignment-card.is-closed .v1420-student-assignment-meta{
  opacity:.9;
}

/* =========================================================
   V14.2.7 – užduoties rezultatų suvestinė
========================================================= */
.v1427-assignment-overview{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  margin-bottom:12px;
  padding:12px 14px;
  border:1px solid #dfe5f0;
  border-radius:14px;
  background:#fbfcff;
}
.v1427-overview-main{
  display:grid;
  gap:7px;
}
.v1427-overview-title{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}
.v1427-overview-title strong{
  color:var(--text);
}
.v1427-overview-title b{
  color:#4c55a6;
}
.v1427-overview-progress{
  height:10px;
  overflow:hidden;
  border-radius:999px;
  background:#e8ebf3;
}
.v1427-overview-progress>span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#7061f4,#39b5ef);
}
.v1427-overview-metrics{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.v1427-overview-metrics>span{
  display:grid;
  gap:2px;
  min-width:115px;
  padding:8px 10px;
  border-radius:12px;
  background:#f1f4fb;
  color:var(--muted);
  font-size:.76rem;
  font-weight:800;
}
.v1427-overview-metrics b{
  color:var(--text);
  font-size:1rem;
}
.v1427-completed-at{
  margin-top:2px;
  color:#7b8499!important;
}
.v1427-late-badge{
  display:inline-flex;
  align-items:center;
  padding:5px 8px;
  border-radius:999px;
  background:#fff3df;
  color:#9a6800;
  font-size:.76rem;
  font-weight:900;
}
@media(max-width:700px){
  .v1427-assignment-overview{
    grid-template-columns:1fr;
  }
  .v1427-overview-metrics{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .v1427-overview-metrics>span{
    min-width:0;
  }
}

/* =========================================================
   V14.2.8 – užduoties redagavimas ir dubliavimas
========================================================= */
.v1428-edit-assignment-btn,
.v1428-duplicate-assignment-btn{
  border:0;
  border-radius:10px;
  padding:9px 12px;
  font-weight:850;
  cursor:pointer;
}
.v1428-edit-assignment-btn{
  background:#eef2ff;
  color:#4e4ac9;
}
.v1428-duplicate-assignment-btn{
  background:#eef8ff;
  color:#2977a8;
}
.v1428-assignment-editor{
  grid-column:1/-1;
  padding-top:12px;
  border-top:1px solid #dce3f0;
}
.v1428-edit-form{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr 1fr;
  gap:10px;
}
.v1428-edit-form label{
  display:grid;
  gap:5px;
}
.v1428-edit-form label>span,
.v1428-edit-form legend{
  font-size:.8rem;
  color:var(--muted);
  font-weight:800;
}
.v1428-edit-form input,
.v1428-edit-form select{
  width:100%;
  min-height:42px;
  box-sizing:border-box;
  border:2px solid #dde3ef;
  border-radius:11px;
  padding:8px 10px;
  background:#fff;
}
.v1428-edit-form :disabled{
  opacity:.62;
  cursor:not-allowed;
}
.v1428-wide{
  grid-column:1/-1;
}
.v1428-lock-note{
  margin-bottom:10px;
  padding:10px 12px;
  border-radius:12px;
  background:#fff7df;
  color:#795e10;
  font-size:.82rem;
  font-weight:800;
}
.v1428-edit-actions{
  display:flex;
  gap:9px;
}
.v1428-save-edit-btn,
.v1428-cancel-edit-btn{
  min-height:44px;
  border:0;
  border-radius:12px;
  padding:9px 14px;
  font-weight:900;
  cursor:pointer;
}
.v1428-save-edit-btn{
  background:linear-gradient(135deg,#6c5cf4,#875ff6);
  color:#fff;
}
.v1428-cancel-edit-btn{
  background:#eef1f6;
  color:#5d6677;
}
@media(max-width:900px){
  .v1428-edit-form{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:560px){
  .v1428-edit-form{
    grid-template-columns:1fr;
  }
  .v1428-wide{
    grid-column:auto;
  }
  .v1428-edit-actions{
    display:grid;
  }
}

/* =========================================================
   V14.2.9 – mokytojo užduoties kortelės išdėstymo pataisa
========================================================= */
.v1420-assignment-card{
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:
    "main actions"
    "meta actions"
    "editor editor"
    "status status"!important;
  align-items:start!important;
  column-gap:18px!important;
  row-gap:8px!important;
}
.v1420-assignment-card .v1420-assignment-main{
  grid-area:main;
  min-width:0;
}
.v1420-assignment-card .v1420-assignment-meta{
  grid-area:meta;
  min-width:0;
  align-items:center;
}
.v1420-assignment-card .v1421-assignment-actions{
  grid-area:actions;
  align-self:center;
  justify-self:end;
  flex-wrap:wrap;
  justify-content:flex-end;
  max-width:640px;
}
.v1420-assignment-card .v1428-assignment-editor{
  grid-area:editor;
}
.v1420-assignment-card .v1421-assignment-status{
  grid-area:status;
}
.v1420-assignment-main strong{
  display:block;
  line-height:1.25;
}
.v1420-assignment-main small{
  display:block;
  line-height:1.45;
}
@media(max-width:980px){
  .v1420-assignment-card{
    grid-template-columns:1fr!important;
    grid-template-areas:
      "main"
      "meta"
      "actions"
      "editor"
      "status"!important;
  }
  .v1420-assignment-card .v1421-assignment-actions{
    justify-self:stretch;
    justify-content:flex-start;
    max-width:none;
  }
}

/* =========================================================
   V14.2.10 – autoritetingas herojaus fonų perjungimas
========================================================= */
.v11-hero-card.v14210-dark-background,
.v11-hero-card.v14210-dark-background .hero-info,
.v11-hero-card.v14210-dark-background .hero-info strong,
.v11-hero-card.v14210-dark-background .mode-sub{
  color:#fff!important;
}
.v11-hero-card.v14210-dark-background .equipped-chip{
  color:#fff!important;
  background:rgba(11,14,54,.58)!important;
  border-color:rgba(255,255,255,.20)!important;
}
.v11-hero-card[data-background="forest"]{
  border-color:rgba(208,255,221,.30)!important;
}
.v11-hero-card[data-background="crystal"]{
  border-color:rgba(218,242,255,.38)!important;
}
.v11-hero-card[data-background="castle"]{
  border-color:rgba(255,230,190,.24)!important;
}
.v11-hero-card[data-background="space"]{
  border-color:rgba(205,205,255,.28)!important;
}

/* =========================================================
   V14.2.11 – užduoties juodraščiai
========================================================= */
.v14211-draft-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:3px 9px;
  border-radius:999px;
  background:#eef2ff;
  color:#4d52ae;
  font-size:.75rem;
  font-weight:900;
}
.v1420-assignment-card:has(.v14211-draft-badge){
  border-style:dashed;
  background:#fbfbff;
}

/* =========================================================
   V14.4.5 – Mokinių prisijungimo skiltis ir Mokinio zonos mygtukai
========================================================= */
.v14214-student-access-details{
  margin:16px 0 14px;
  border:2px solid #dce6f7;
  border-radius:18px;
  background:#f8fbff;
  overflow:hidden;
}
.v14214-student-access-details>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  cursor:pointer;
  list-style:none;
  user-select:none;
}
.v14214-student-access-details>summary::-webkit-details-marker{
  display:none;
}
.v14214-student-access-details>summary::after{
  content:"⌄";
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:34px;
  height:34px;
  border-radius:999px;
  background:#eef2ff;
  color:#4d52ae;
  font-size:1.05rem;
  font-weight:900;
  transition:transform .16s ease;
}
.v14214-student-access-details[open]>summary::after{
  transform:rotate(180deg);
}
.v14214-student-access-summary-copy{
  display:grid;
  gap:3px;
  min-width:0;
}
.v14214-student-access-summary-copy strong{
  color:var(--text);
  font-weight:900;
}
.v14214-student-access-summary-copy small{
  color:var(--muted);
  font-weight:700;
}
.v14214-student-access-count{
  display:grid;
  place-items:center;
  min-width:34px;
  height:34px;
  margin-left:auto;
  border-radius:999px;
  background:#eef2ff;
  color:#4d52ae;
  font-weight:900;
}
.v14214-student-access-body{
  display:grid;
  gap:12px;
  padding:0 14px 14px;
  border-top:1px solid #dfe6f2;
}
.v14214-student-access-body>.v1412-credentials-export{
  margin:12px 0 0!important;
}
.v14214-add-method-details{
  border:1px solid #dce3f0;
  border-radius:13px;
  background:#fff;
  overflow:hidden;
}
.v14214-add-method-details>summary{
  padding:11px 13px;
  cursor:pointer;
  font-weight:900;
}
.v14214-add-method-details>.v140003-bulk-students,
.v14214-add-method-details>.v1400-student-form{
  margin:0!important;
  padding:0 13px 13px;
}
.v1420-student-assignment-card .v1421-start-assignment-btn{
  width:max-content!important;
  min-width:max-content!important;
  max-width:100%!important;
  justify-self:start!important;
  white-space:nowrap!important;
  padding-left:18px!important;
  padding-right:18px!important;
}
.v1410-student-actions{
  align-items:stretch!important;
}
#v1410StudentStartBtn,
#v1410StudentLogoutBtn{
  min-height:52px!important;
  height:52px!important;
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
@media(max-width:640px){
  .v14214-student-access-details>summary{
    align-items:flex-start;
  }
  .v14214-student-access-count{
    margin-top:1px;
  }
  .v1420-student-assignment-card .v1421-start-assignment-btn{
    max-width:100%!important;
  }
}

/* =========================================================
   V14.4.5 – mokinių sąrašas prisijungimo kortelių bloke
   ir vienoda Student area veiksmų bazinė linija
========================================================= */
.v14215-credentials-panel{
  display:grid;
  gap:10px;
  margin-top:12px;
}
.v14215-credentials-panel>.v1412-credentials-export{
  margin:0!important;
}
.v14215-student-login-card-list{
  display:grid!important;
  gap:10px!important;
  margin:0!important;
  padding:0!important;
}
.v14215-student-login-card-list .v1400-student-card,
.v14215-student-login-card-list .v1400-credential-card{
  margin:0!important;
}
.v14214-student-access-body{
  padding-top:0!important;
}

/* Student area primary actions: same row height AND same vertical position. */
.v1410-student-actions{
  display:grid!important;
  grid-template-columns:minmax(0,2fr) minmax(180px,.9fr)!important;
  gap:12px!important;
  align-items:stretch!important;
}
#v1410StudentStartBtn,
#v1410StudentLogoutBtn{
  align-self:stretch!important;
  margin:0!important;
  min-height:52px!important;
  height:52px!important;
  line-height:1.2!important;
  padding-top:0!important;
  padding-bottom:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  transform:none!important;
}
@media(max-width:640px){
  .v1410-student-actions{
    grid-template-columns:1fr!important;
  }
}

/* =========================================================
   V14.4.5 – Student action row final alignment guard
========================================================= */
.v1410-student-actions > #v1410StudentStartBtn,
.v1410-student-actions > #v1410StudentLogoutBtn{
  position:relative!important;
  top:0!important;
  bottom:auto!important;
  vertical-align:middle!important;
}

/* =========================================================
   V14.4.5 – Klasės pažangos suvestinė
========================================================= */
.v1430-class-overview{
  margin:14px 0;
  border:2px solid #dfe4ff;
  border-radius:18px;
  background:#fbfbff;
  overflow:hidden;
}
.v1430-class-overview>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  cursor:pointer;
  list-style:none;
}
.v1430-class-overview>summary::-webkit-details-marker{display:none}
.v1430-class-overview>summary::after{
  content:"⌄";
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:34px;
  height:34px;
  border-radius:999px;
  background:#eef2ff;
  color:#4d52ae;
  font-size:1.05rem;
  font-weight:900;
  transition:transform .16s ease;
}
.v1430-class-overview[open]>summary::after{transform:rotate(180deg)}
.v1430-overview-summary-copy{
  display:grid;
  gap:3px;
  min-width:0;
}
.v1430-overview-summary-copy strong{color:var(--text);font-weight:900}
.v1430-overview-summary-copy small{color:var(--muted);font-weight:700}
.v1430-overview-summary-status{
  margin-left:auto;
  padding:6px 10px;
  border-radius:999px;
  background:#eef1ff;
  color:#4f4db2;
  font-weight:900;
}
.v1430-overview-body{
  display:grid;
  gap:12px;
  padding:14px;
  border-top:1px solid #e1e5f2;
}
.v1430-overview-loading,
.v1430-overview-empty{
  padding:14px;
  border-radius:12px;
  background:#f4f6fb;
  color:var(--muted);
  font-weight:800;
}
.v1430-overview-toolbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
}
.v1430-overview-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
}
.v1430-overview-metrics>div{
  display:grid;
  gap:3px;
  padding:10px 12px;
  border:1px solid #e0e5f0;
  border-radius:12px;
  background:#fff;
}
.v1430-overview-metrics small,
.v1430-student-progress-stat small{color:var(--muted);font-weight:750}
.v1430-overview-metrics strong{color:var(--text);font-size:1.1rem}
.v1430-overview-refresh-btn{
  min-height:42px;
  border:0;
  border-radius:11px;
  padding:8px 12px;
  background:#eef1ff;
  color:#4c49bd;
  font-weight:900;
  cursor:pointer;
}
.v1430-overview-progress{
  height:10px;
  overflow:hidden;
  border-radius:999px;
  background:#e7eaf3;
}
.v1430-overview-progress>span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6d5ff4,#3db8ef);
}
.v1430-student-progress-list{display:grid;gap:8px}
.v1430-student-progress-row{
  display:grid;
  grid-template-columns:minmax(180px,1.25fr) repeat(3,minmax(115px,.75fr)) auto;
  gap:10px;
  align-items:center;
  padding:11px 12px;
  border:1px solid #e0e5ef;
  border-radius:13px;
  background:#fff;
}
.v1430-student-progress-row.needs-attention{
  border-color:#f3d2a4;
  background:#fffdf7;
}
.v1430-student-progress-person,
.v1430-student-progress-stat{
  display:grid;
  gap:2px;
  min-width:0;
}
.v1430-student-progress-person small{color:var(--muted)}
.v1430-student-progress-badge{
  display:inline-flex;
  justify-content:center;
  padding:6px 9px;
  border-radius:999px;
  white-space:nowrap;
  font-size:.75rem;
  font-weight:900;
  background:#eaf8ef;
  color:#207447;
}
.needs-attention .v1430-student-progress-badge{
  background:#fff0dc;
  color:#926006;
}
@media(max-width:980px){
  .v1430-overview-toolbar{grid-template-columns:1fr}
  .v1430-overview-refresh-btn{justify-self:start}
  .v1430-student-progress-row{grid-template-columns:1fr 1fr}
  .v1430-student-progress-person,
  .v1430-student-progress-badge{grid-column:1/-1}
  .v1430-student-progress-badge{justify-self:start}
}
@media(max-width:620px){
  .v1430-overview-metrics{grid-template-columns:1fr 1fr}
  .v1430-student-progress-row{grid-template-columns:1fr}
  .v1430-student-progress-person,
  .v1430-student-progress-badge{grid-column:auto}
}

/* =========================================================
   V14.4.5 – Klasės pažangos stulpelių lygiavimas
========================================================= */
.v1431-student-progress-table{
  display:grid;
  gap:8px;
}

.v1431-student-progress-head,
.v1430-student-progress-row{
  grid-template-columns:
    minmax(220px,1.45fr)
    minmax(145px,.8fr)
    minmax(155px,.8fr)
    minmax(175px,.9fr)
    minmax(150px,auto)!important;
}

.v1431-student-progress-head{
  display:grid;
  gap:14px;
  align-items:end;
  padding:0 14px 2px;
  color:var(--muted);
  font-size:.78rem;
  font-weight:850;
}

.v1430-student-progress-row{
  gap:14px!important;
  padding:12px 14px!important;
}

.v1430-student-progress-person,
.v1430-student-progress-stat{
  align-self:center;
}

.v1430-student-progress-person strong,
.v1430-student-progress-stat strong{
  line-height:1.25;
}

.v1430-student-progress-stat{
  justify-items:start;
}

.v1430-student-progress-badge{
  justify-self:end!important;
  align-self:center!important;
  min-width:132px;
  box-sizing:border-box;
  text-align:center;
}

@media(max-width:1100px){
  .v1431-student-progress-head{
    display:none;
  }

  .v1430-student-progress-row{
    grid-template-columns:
      minmax(190px,1.25fr)
      minmax(130px,.8fr)
      minmax(140px,.8fr)
      minmax(160px,.9fr)!important;
  }

  .v1430-student-progress-badge{
    grid-column:1/-1;
    justify-self:start!important;
    min-width:0;
  }
}

@media(max-width:760px){
  .v1430-student-progress-row{
    grid-template-columns:1fr 1fr!important;
  }

  .v1430-student-progress-person{
    grid-column:1/-1;
  }

  .v1430-student-progress-badge{
    grid-column:1/-1;
  }
}

@media(max-width:520px){
  .v1430-student-progress-row{
    grid-template-columns:1fr!important;
  }

  .v1430-student-progress-person,
  .v1430-student-progress-stat,
  .v1430-student-progress-badge{
    grid-column:auto;
  }
}

/* =========================================================
   V14.4.5 – Klasės pažangos kompaktiškas lentelės vaizdas
========================================================= */
.v1430-overview-toolbar{
  grid-template-columns:minmax(0,1fr) max-content!important;
}

.v1430-overview-refresh-btn{
  min-width:0!important;
  width:auto!important;
  padding:8px 12px!important;
  white-space:nowrap!important;
}

.v1431-student-progress-head,
.v1430-student-progress-row{
  grid-template-columns:
    minmax(210px,1.4fr)
    minmax(115px,.72fr)
    minmax(130px,.78fr)
    minmax(150px,.88fr)
    minmax(165px,.92fr)!important;
  column-gap:12px!important;
}

.v1431-student-progress-head{
  padding-left:14px!important;
  padding-right:14px!important;
}

.v1430-student-progress-row{
  padding-left:14px!important;
  padding-right:14px!important;
}

.v1430-student-progress-stat{
  align-items:center;
}

.v1430-student-progress-stat strong{
  white-space:nowrap;
}

.v1430-student-progress-badge{
  min-width:0!important;
  width:max-content!important;
  max-width:100%;
  padding:6px 10px!important;
  white-space:nowrap!important;
  justify-self:end!important;
}

.v1430-class-overview,
.v1430-overview-body,
.v1431-student-progress-table,
.v1430-student-progress-list{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}

.v1430-overview-body{
  overflow:hidden;
}

@media(max-width:1180px){
  .v1431-student-progress-head{
    grid-template-columns:
      minmax(190px,1.2fr)
      minmax(105px,.68fr)
      minmax(120px,.72fr)
      minmax(140px,.78fr)
      minmax(155px,.9fr)!important;
    font-size:.74rem;
  }

  .v1430-student-progress-row{
    grid-template-columns:
      minmax(190px,1.2fr)
      minmax(105px,.68fr)
      minmax(120px,.72fr)
      minmax(140px,.78fr)
      minmax(155px,.9fr)!important;
  }

  .v1430-student-progress-badge{
    font-size:.7rem!important;
  }
}

@media(max-width:980px){
  .v1431-student-progress-head{
    display:none!important;
  }

  .v1430-student-progress-row{
    grid-template-columns:
      minmax(180px,1.2fr)
      repeat(3,minmax(105px,.8fr))!important;
  }

  .v1430-student-progress-badge{
    grid-column:1/-1;
    justify-self:start!important;
  }
}

@media(max-width:720px){
  .v1430-student-progress-row{
    grid-template-columns:1fr 1fr!important;
  }

  .v1430-student-progress-person{
    grid-column:1/-1;
  }

  .v1430-student-progress-badge{
    grid-column:1/-1;
  }
}

/* =========================================================
   V14.4.5 – Klasės pažangos filtrai ir rikiavimas
========================================================= */
.v1433-overview-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.v1433-filter-group{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}
.v1433-filter-group button{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid #dfe5f1;
  border-radius:999px;
  padding:6px 10px;
  background:#fff;
  color:var(--muted);
  font-weight:850;
  cursor:pointer;
}
.v1433-filter-group button span{
  min-width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#f0f3f9;
  color:var(--text);
  font-size:.72rem;
}
.v1433-filter-group button.active{
  border-color:#7564f5;
  background:#efecff;
  color:#5147c8;
}
.v1433-sort-control{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:.8rem;
  font-weight:850;
}
.v1433-sort-control select{
  min-height:38px;
  border:1px solid #dfe5f1;
  border-radius:10px;
  padding:7px 30px 7px 10px;
  background:#fff;
  color:var(--text);
  font-weight:800;
}
@media(max-width:720px){
  .v1433-overview-controls{align-items:stretch}
  .v1433-filter-group{width:100%}
  .v1433-filter-group button{flex:1 1 auto;justify-content:center}
  .v1433-sort-control{width:100%;justify-content:space-between}
  .v1433-sort-control select{flex:1;max-width:240px}
}

/* =========================================================
   V14.4.5 – Mokinio detalės Klasės pažangoje
========================================================= */
.v1434-expandable-student{cursor:pointer}
.v1434-expandable-student:hover{border-color:#bbb6ff}
.v1434-expandable-student:focus-visible{outline:3px solid rgba(117,100,245,.25);outline-offset:2px}
.v1434-expandable-student.is-open{border-color:#8173f7;box-shadow:0 0 0 2px rgba(117,100,245,.08)}
.v1434-student-row-end{display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;justify-content:end;gap:7px;min-width:150px}.v1434-student-row-end .v1430-student-progress-badge{justify-self:end;max-width:none!important}.v1434-student-row-end .v1434-expand-indicator{justify-self:end;flex:0 0 auto}
.v1434-expand-indicator{
 width:22px;height:22px;display:grid;place-items:center;border-radius:999px;
 background:#f0f2f8;color:#596174;font-weight:900;transition:transform .16s ease
}
.v1434-expandable-student.is-open .v1434-expand-indicator{transform:rotate(180deg)}
.v1434-student-detail-panel{
 margin:-1px 8px 8px;padding:12px;border:1px solid #dedcfb;border-top:0;
 border-radius:0 0 14px 14px;background:#fafaff
}
.v1434-detail-loading{padding:12px;color:var(--muted);font-weight:800}
.v1434-detail-summary{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.v1434-detail-summary span{
 display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:5px 9px;
 border-radius:999px;background:#eef1f7;color:#4d5567;font-size:.77rem;font-weight:850
}
.v1434-detail-summary .done{background:#e9f8ef;color:#24764a}
.v1434-detail-summary .todo{background:#fff0ef;color:#a44944}
.v1434-detail-summary .late{background:#fff3d9;color:#96640a}
.v1434-assignment-detail-list{display:grid;gap:8px}
.v1434-assignment-detail-row{
 display:grid;
 grid-template-columns:minmax(210px,1.35fr) minmax(135px,.75fr) minmax(135px,.75fr)
  minmax(90px,.55fr) minmax(120px,.65fr) minmax(155px,.8fr) max-content;
 gap:10px;align-items:center;padding:10px 11px;border:1px solid #e1e5ee;border-radius:12px;background:#fff
}
.v1434-assignment-detail-row.success{border-color:#cfe8d7}
.v1434-assignment-detail-row.closed{background:#f7f8fb;opacity:.88}
.v1434-assignment-detail-main,.v1434-assignment-detail-stat{min-width:0;display:grid;gap:2px}
.v1434-assignment-detail-main small,.v1434-assignment-detail-stat small{color:var(--muted);font-size:.72rem;font-weight:750}
.v1434-assignment-detail-stat strong{white-space:nowrap}
.v1434-assignment-status,.v1434-timing-badge{
 display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;
 min-height:28px;padding:4px 8px;border-radius:999px;white-space:nowrap;font-size:.72rem;font-weight:900
}
.v1434-assignment-status.success,.v1434-timing-badge.ontime{background:#e9f8ef;color:#24764a}
.v1434-assignment-status.todo{background:#fff0ef;color:#a44944}
.v1434-assignment-status.closed{background:#eceff4;color:#687183}
.v1434-timing-badge.late{background:#fff3d9;color:#96640a}
@media(max-width:1180px){
 .v1434-assignment-detail-row{
  grid-template-columns:minmax(190px,1.2fr) minmax(120px,.75fr) minmax(120px,.75fr)
   minmax(80px,.5fr) minmax(110px,.65fr) minmax(140px,.78fr)
 }
 .v1434-timing-badge{grid-column:1/-1;justify-self:start}
}
@media(max-width:820px){
 .v1434-assignment-detail-row{grid-template-columns:1fr 1fr}
 .v1434-assignment-detail-main{grid-column:1/-1}
 .v1434-student-row-end{grid-column:1/-1;justify-content:flex-start}
}
@media(max-width:560px){
 .v1434-assignment-detail-row{grid-template-columns:1fr}
 .v1434-assignment-detail-main,.v1434-student-row-end{grid-column:auto}
 .v1434-student-detail-panel{margin:-1px 2px 7px;padding:9px}
}

/* =========================================================
   V14.4.5.1 – Mokinio detalių kompaktiškas išdėstymas
========================================================= */
.v1434-student-detail-panel{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

.v1434-assignment-detail-list{
  min-width:0!important;
  max-width:100%!important;
}

.v1434-assignment-detail-row{
  grid-template-columns:
    minmax(250px,1.55fr)
    minmax(120px,.72fr)
    minmax(74px,.42fr)
    minmax(112px,.62fr)
    minmax(175px,.9fr)!important;
  column-gap:10px!important;
  row-gap:6px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

.v14341-assignment-title-line{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  flex-wrap:wrap;
}

.v14341-assignment-title-line>strong{
  min-width:0;
}

.v14341-assignment-title-line .v1434-assignment-status{
  flex:0 0 auto;
}

.v1434-assignment-detail-main small{
  line-height:1.25;
}

.v1434-assignment-detail-stat{
  min-width:0!important;
}

.v1434-assignment-detail-stat strong{
  white-space:normal!important;
  overflow-wrap:anywhere;
  line-height:1.25;
}

.v14341-completed-cell{
  align-content:center;
}

.v14341-completed-cell .v1434-timing-badge{
  margin-top:3px;
  justify-self:start;
}

.v1434-assignment-status,
.v1434-timing-badge{
  font-size:.68rem!important;
  min-height:24px!important;
  padding:3px 7px!important;
}

@media(max-width:1180px){
  .v1434-assignment-detail-row{
    grid-template-columns:
      minmax(220px,1.35fr)
      minmax(110px,.68fr)
      minmax(68px,.4fr)
      minmax(105px,.6fr)
      minmax(160px,.82fr)!important;
  }
}

@media(max-width:940px){
  .v1434-assignment-detail-row{
    grid-template-columns:
      minmax(210px,1.3fr)
      minmax(105px,.68fr)
      minmax(65px,.4fr)
      minmax(100px,.58fr)
      minmax(150px,.8fr)!important;
    column-gap:8px!important;
    padding-left:9px!important;
    padding-right:9px!important;
  }
}

@media(max-width:760px){
  .v1434-assignment-detail-row{
    grid-template-columns:1fr 1fr!important;
  }

  .v1434-assignment-detail-main{
    grid-column:1/-1!important;
  }

  .v14341-completed-cell{
    grid-column:1/-1!important;
  }
}

@media(max-width:520px){
  .v1434-assignment-detail-row{
    grid-template-columns:1fr!important;
  }

  .v1434-assignment-detail-main,
  .v14341-completed-cell{
    grid-column:auto!important;
  }
}

/* =========================================================
   V14.4.5 – Mokytojo įžvalgos ir silpnosios vietos
========================================================= */
.v1435-class-insights{display:grid;gap:10px;padding:12px;border:1px solid #e0e5f1;border-radius:14px;background:#fbfcff}
.v1435-insights-heading>div{display:grid;gap:2px}
.v1435-insights-heading strong{font-size:.95rem;color:var(--text)}
.v1435-insights-heading small{color:var(--muted);font-weight:700}
.v1435-insight-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.v1435-insight-card{display:flex;align-items:center;gap:9px;min-width:0;padding:10px;border:1px solid #e2e6ef;border-radius:12px;background:#fff}
.v1435-insight-card>div{display:grid;gap:2px;min-width:0}
.v1435-insight-card small{color:var(--muted);font-size:.72rem;font-weight:800}
.v1435-insight-card strong{color:var(--text);line-height:1.2;overflow-wrap:anywhere}
.v1435-insight-card.attention{background:#fffaf4;border-color:#f2d8b3}
.v1435-insight-card.recommendation{background:#f5f3ff;border-color:#d9d3ff}
.v1435-insight-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:10px;background:#f1f3f8;font-size:1.05rem}
.v1435-student-recommendation{display:flex;align-items:flex-start;gap:9px;margin:0 0 10px;padding:9px 11px;border:1px solid #ded9ff;border-radius:11px;background:#f7f5ff}
.v1435-student-recommendation>div{display:grid;gap:2px}
.v1435-student-recommendation small{color:#665cb9;font-size:.72rem;font-weight:850}
.v1435-student-recommendation strong{color:var(--text);line-height:1.3}
@media(max-width:980px){.v1435-insight-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.v1435-insight-grid{grid-template-columns:1fr}}

/* =========================================================
   V14.4.5 – Student assignments + insights + refresh
========================================================= */
.v1436-student-assignment-card{
  grid-template-columns:1fr!important;
  align-items:stretch!important;
  gap:10px!important;
}
.v1436-student-assignment-top{
  display:grid;
  grid-template-columns:minmax(210px,1fr) auto;
  gap:14px;
  align-items:start;
  min-width:0;
}
.v1436-student-assignment-meta{
  justify-content:flex-end;
  align-items:center;
  min-width:0;
}
.v1436-student-assignment-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.v1436-student-assignment-statuses{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  min-width:0;
}
.v1436-result-badge,
.v1436-attempt-badge{
  display:inline-flex;
  align-items:center;
  gap:4px;
  min-height:28px;
  padding:4px 9px;
  border-radius:999px;
  background:#eef3ff;
  color:#45598a;
  font-size:.76rem;
  font-weight:850;
}
.v1436-result-badge{
  background:#e9f9ef;
  color:#187a43;
}
.v1436-result-badge b,
.v1436-attempt-badge b{
  color:var(--text);
}
.v1436-student-assignment-bottom .v1421-start-assignment-btn{
  margin-left:auto!important;
}
.v1436-overview-refresh-wrap{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
  min-width:0;
}
.v1436-overview-updated-at{
  color:var(--muted);
  font-size:.7rem;
  font-weight:750;
  white-space:nowrap;
}
.v1430-overview-refresh-btn[disabled]{
  opacity:.65;
  cursor:wait;
}
@media(max-width:900px){
  .v1436-student-assignment-top{
    grid-template-columns:1fr;
  }
  .v1436-student-assignment-meta{
    justify-content:flex-start;
  }
}
@media(max-width:640px){
  .v1436-student-assignment-bottom{
    align-items:stretch;
  }
  .v1436-student-assignment-bottom .v1421-start-assignment-btn{
    margin-left:0!important;
  }
  .v1436-overview-refresh-wrap{
    flex-direction:column;
    align-items:flex-end;
    gap:4px;
  }
}

/* =========================================================
   V14.4.5 – Rekomenduojamos užduoties paruošimas
========================================================= */
.v1437-recommendation-card{
  align-items:flex-start;
}
.v1437-recommendation-copy{
  display:grid!important;
  gap:6px!important;
  min-width:0;
}
.v1437-prepare-review-btn{
  justify-self:start;
  min-height:34px;
  padding:6px 11px;
  border:0;
  border-radius:10px;
  background:linear-gradient(135deg,#6c5cf4,#45baf3);
  color:#fff;
  font:inherit;
  font-size:.76rem;
  font-weight:900;
  cursor:pointer;
}
.v1437-prepare-review-btn:hover:not(:disabled){
  transform:translateY(-1px);
}
.v1437-prepare-review-btn:disabled{
  background:#e8eaf1;
  color:#8a91a3;
  cursor:not-allowed;
}
.v1420-assignment-form.v1437-recommended-prefill{
  border-radius:14px;
  box-shadow:0 0 0 3px rgba(108,92,244,.12);
}
.v1437-prefill-message{
  margin-top:4px;
}

/* =========================================================
   V14.4.5 – Student assignment filters + class trend
========================================================= */
.v1438-student-assignment-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin:8px 0 12px;
}
.v1438-student-assignment-filters{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.v1438-student-assignment-filters button{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  padding:7px 12px;
  border:1px solid #dfe4ef;
  border-radius:999px;
  background:#fff;
  color:#65708a;
  font:inherit;
  font-weight:850;
  cursor:pointer;
}
.v1438-student-assignment-filters button span{
  display:grid;
  place-items:center;
  min-width:22px;
  min-height:22px;
  padding:0 5px;
  border-radius:999px;
  background:#f0f2f8;
  font-size:.72rem;
}
.v1438-student-assignment-filters button.active{
  border-color:#6f5cf5;
  color:#5b4be1;
  background:#f8f6ff;
}
.v1438-student-assignment-sort{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-weight:800;
}
.v1438-student-assignment-sort select{
  min-height:38px;
  border:1px solid #dfe4ef;
  border-radius:10px;
  background:#fff;
  padding:6px 10px;
  font:inherit;
  font-weight:800;
  color:var(--text);
}
.v1438-class-trend{
  display:grid;
  gap:12px;
  padding:12px;
  border:1px solid #dfe5f2;
  border-radius:14px;
  background:#fbfcff;
}
.v1438-trend-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.v1438-trend-head>div:first-child{
  display:grid;
  gap:2px;
}
.v1438-trend-head strong{
  font-size:.95rem;
}
.v1438-trend-head small{
  color:var(--muted);
  font-weight:700;
}
.v1438-range-switch{
  display:flex;
  gap:5px;
  padding:4px;
  border-radius:12px;
  background:#eef1f8;
}
.v1438-range-switch button{
  min-height:32px;
  padding:5px 10px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#667089;
  font:inherit;
  font-size:.75rem;
  font-weight:850;
  cursor:pointer;
}
.v1438-range-switch button.active{
  background:#fff;
  color:#5d50e8;
  box-shadow:0 1px 4px rgba(34,39,70,.12);
}
.v1438-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.v1438-metrics article{
  display:grid;
  gap:4px;
  min-width:0;
  padding:10px;
  border:1px solid #e3e7ef;
  border-radius:12px;
  background:#fff;
}
.v1438-metrics small{
  color:var(--muted);
  font-size:.72rem;
  font-weight:800;
}
.v1438-metrics strong{
  font-size:1rem;
  line-height:1.2;
}
.v1438-change{
  display:inline-flex;
  width:max-content;
  min-height:24px;
  padding:3px 7px;
  border-radius:999px;
  font-size:.7rem;
  font-weight:900;
}
.v1438-change.up{
  background:#e8f8ee;
  color:#1f7b48;
}
.v1438-change.down{
  background:#fff0ef;
  color:#a34440;
}
.v1438-change.same{
  background:#eef1f6;
  color:#687183;
}
.v1438-chart{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(18px,1fr);
  gap:5px;
  align-items:end;
  min-height:150px;
  padding:8px 2px 0;
  overflow:hidden;
}
.v1438-bar-column{
  display:grid;
  grid-template-rows:20px 96px 18px;
  gap:3px;
  align-items:end;
  text-align:center;
  min-width:0;
}
.v1438-bar-column small,
.v1438-bar-column em{
  font-size:.62rem;
  color:var(--muted);
  font-style:normal;
  font-weight:750;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.v1438-bar-track{
  display:flex;
  align-items:flex-end;
  width:100%;
  max-width:24px;
  height:96px;
  margin:auto;
  border-radius:9px;
  background:#e9ecf3;
  overflow:hidden;
}
.v1438-bar-track i{
  display:block;
  width:100%;
  border-radius:9px 9px 0 0;
  background:linear-gradient(180deg,#38bdf8,#6757ef);
}
@media(max-width:760px){
  .v1438-metrics{
    grid-template-columns:1fr;
  }
  .v1438-student-assignment-sort{
    width:100%;
    justify-content:space-between;
  }
  .v1438-student-assignment-sort select{
    flex:1;
  }
}

/* =========================================================
   V14.4.5 – Class export + stabilization
========================================================= */
.v1439-overview-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.v1439-export-buttons{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}
.v1439-export-buttons button{
  min-height:42px;
  padding:8px 12px;
  border:1px solid #dfe4ef;
  border-radius:11px;
  background:#fff;
  color:#314b91;
  font:inherit;
  font-weight:850;
  cursor:pointer;
}
.v1439-export-buttons button:hover{
  background:#f5f7ff;
}
.v1439-print-frame{
  position:fixed;
  left:-10000px;
  top:-10000px;
  width:1px;
  height:1px;
  border:0;
}
@media(max-width:980px){
  .v1430-overview-toolbar{
    align-items:stretch;
  }
  .v1439-overview-actions{
    width:100%;
    justify-content:space-between;
  }
}
@media(max-width:640px){
  .v1439-overview-actions{
    display:grid;
    gap:8px;
  }
  .v1439-export-buttons{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .v1439-export-buttons button{
    width:100%;
  }
  .v1436-overview-refresh-wrap{
    width:100%;
    align-items:stretch!important;
  }
  .v1430-overview-refresh-btn{
    width:100%;
  }
}

/* =========================================================
   V14.4.5 – XLSX export + final v14.3 stabilization
========================================================= */
.v14310-xlsx-summary-btn::first-letter{font-weight:900}

/* =========================================================
   V14.4.5 – Individual assignment targeting
========================================================= */
.v1440-target-section{display:grid;gap:10px;padding:12px;border:1px solid #dfe4ef;border-radius:14px;background:#fbfcff}
.v1440-target-heading{display:grid;gap:2px}.v1440-target-heading small{color:var(--muted);font-weight:700}
.v1440-target-modes{display:flex;gap:8px;flex-wrap:wrap}.v1440-target-modes label{display:flex;align-items:center;gap:7px;min-height:40px;padding:8px 11px;border:1px solid #dfe4ef;border-radius:11px;background:#fff;font-weight:850;cursor:pointer}
.v1440-target-students{display:grid;gap:8px}.v1440-target-tools{display:flex;gap:7px;flex-wrap:wrap}.v1440-target-tools button{min-height:36px;padding:6px 10px;border:1px solid #dfe4ef;border-radius:10px;background:#fff;color:#44517c;font:inherit;font-weight:800;cursor:pointer}
.v1440-target-student-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:240px;overflow:auto;padding:2px}
.v1440-target-student-row{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 9px;border:1px solid #e2e6ef;border-radius:10px;background:#fff}.v1440-target-student-row span{display:grid;min-width:0}.v1440-target-student-row strong,.v1440-target-student-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v1440-target-student-row small{color:var(--muted)}
.v1440-target-selection-summary{color:#6559b8;font-weight:850}.v1440-assignment-target-badge{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;background:#f0ecff;color:#5e52b2;font-size:.75rem;font-weight:850}
@media(max-width:700px){.v1440-target-student-list{grid-template-columns:1fr}}

/* =========================================================
   V14.4.5.1 – Individual assignment UI correction
========================================================= */
.v1420-assignment-form>.v1440-target-section{
  grid-column:1 / -1!important;
  width:100%!important;
  box-sizing:border-box!important;
  padding:14px 16px!important;
  gap:12px!important;
}
.v1440-target-heading{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:3px!important;
}
.v1440-target-heading strong{
  font-size:1rem!important;
}
.v1440-target-heading small{
  max-width:none!important;
}
.v1440-target-modes{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,220px))!important;
  gap:10px!important;
  align-items:stretch!important;
}
.v1440-target-modes>label{
  width:100%!important;
  min-width:0!important;
  min-height:48px!important;
  margin:0!important;
  padding:9px 12px!important;
  box-sizing:border-box!important;
  justify-content:flex-start!important;
}
.v1440-target-modes>label input[type="radio"]{
  flex:0 0 auto!important;
  width:20px!important;
  height:20px!important;
  margin:0!important;
}
.v1440-target-modes>label span{
  min-width:0!important;
  line-height:1.2!important;
}
.v1440-target-students{
  width:100%!important;
  min-width:0!important;
  gap:10px!important;
  padding-top:2px!important;
}
.v1440-target-tools{
  display:flex!important;
  gap:8px!important;
  align-items:center!important;
  flex-wrap:wrap!important;
}
.v1440-target-tools button{
  min-width:150px!important;
  min-height:38px!important;
  margin:0!important;
  padding:7px 12px!important;
}
.v1440-target-student-list{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  width:100%!important;
  max-height:190px!important;
  gap:8px!important;
}
.v1440-target-student-row{
  width:100%!important;
  min-width:0!important;
  min-height:56px!important;
  margin:0!important;
  padding:8px 10px!important;
  box-sizing:border-box!important;
  cursor:pointer!important;
}
.v1440-target-student-row input[type="checkbox"]{
  flex:0 0 auto!important;
  width:20px!important;
  height:20px!important;
  margin:0!important;
}
.v1440-target-student-row span{
  min-width:0!important;
}
.v1440-target-student-row strong{
  font-size:.85rem!important;
}
.v1440-target-student-row small{
  font-size:.72rem!important;
}
.v1440-target-selection-summary{
  min-height:20px!important;
}
@media(max-width:900px){
  .v1440-target-student-list{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:620px){
  .v1440-target-modes{
    grid-template-columns:1fr 1fr!important;
  }
  .v1440-target-student-list{
    grid-template-columns:1fr!important;
  }
  .v1440-target-tools{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
  }
  .v1440-target-tools button{
    min-width:0!important;
    width:100%!important;
  }
}

/* =========================================================
   V14.4.5 – Individual target polish
========================================================= */
.v1420-assignment-form>.v1440-target-section{grid-column:1/-1!important;width:100%!important;padding:14px!important;border-radius:16px!important;background:#f9fbff!important}
.v1440-target-modes{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:min(100%,560px)!important}
.v1440-target-modes>label{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:56px!important;padding:10px 14px!important;margin:0!important;box-sizing:border-box!important}
.v1440-target-modes>label input[type="radio"]{width:20px!important;height:20px!important;margin:0!important}
.v1440-target-modes>label span{line-height:1.2!important;font-weight:850!important}
.v1440-target-students{display:grid!important;gap:10px!important;width:100%!important;padding-top:4px!important}
.v1440-target-tools{display:grid!important;grid-template-columns:repeat(2,minmax(0,180px))!important;gap:8px!important}
.v1440-target-tools button{width:100%!important;min-width:0!important;min-height:38px!important;padding:7px 10px!important;margin:0!important}
.v1440-target-student-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;max-height:180px!important;overflow:auto!important;padding:1px!important}
.v1440-target-student-row{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;min-height:58px!important;width:100%!important;padding:9px 10px!important;margin:0!important;box-sizing:border-box!important}
.v1440-target-student-row input[type="checkbox"]{width:20px!important;height:20px!important;margin:0!important}
.v1440-target-student-row span{display:grid!important;gap:1px!important;min-width:0!important}
.v1440-target-student-row strong,.v1440-target-student-row small{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.v1440-target-selection-summary{min-height:18px!important;margin:0!important}.v1440-assignment-target-badge{white-space:nowrap!important}
@media(max-width:900px){.v1440-target-student-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.v1440-target-modes,.v1440-target-tools,.v1440-target-student-list{grid-template-columns:1fr!important;width:100%!important}}

/* =========================================================
   V14.4.5 – Individual review from student recommendation
========================================================= */
.v1441-student-recommendation{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important}
.v1441-student-recommendation-copy{display:grid!important;gap:3px!important;min-width:0!important}
.v1441-prepare-student-review-btn{min-height:42px;padding:8px 13px;border:0;border-radius:11px;background:linear-gradient(135deg,#6c5cf4,#3fb7ed);color:#fff;font:inherit;font-weight:900;cursor:pointer;white-space:nowrap}
.v1441-prepare-student-review-btn:disabled{background:#e8ebf2;color:#8b93a5;cursor:not-allowed}
.v1441-individual-prefill{outline:2px solid rgba(108,92,244,.20);outline-offset:5px}
@media(max-width:760px){.v1441-student-recommendation{grid-template-columns:auto minmax(0,1fr)!important}.v1441-prepare-student-review-btn{grid-column:1/-1;width:100%}}

/* v14.4.5.1 */
.v1440-target-students[hidden]{display:none!important;}

/* =========================================================
   V14.4.5 – Shared weak-area review groups
========================================================= */
.v1442-review-groups{
  display:grid;
  gap:10px;
  margin:14px 0;
  padding:14px;
  border:1px solid #dedafc;
  border-radius:16px;
  background:#fbfaff;
}
.v1442-review-groups-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.v1442-review-groups-head>div{
  display:grid;
  gap:2px;
}
.v1442-review-groups-head small{
  color:var(--muted);
  font-weight:700;
}
.v1442-review-group-list{
  display:grid;
  gap:8px;
}
.v1442-review-group-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) 150px auto;
  gap:12px;
  align-items:center;
  padding:11px 12px;
  border:1px solid #e2e5f1;
  border-radius:12px;
  background:#fff;
}
.v1442-review-group-main{
  display:grid;
  gap:3px;
  min-width:0;
}
.v1442-review-group-main>strong{
  font-size:1rem;
}
.v1442-review-group-main>small{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--muted);
  font-weight:700;
}
.v1442-review-group-stat{
  display:grid;
  gap:2px;
}
.v1442-review-group-stat small{
  color:var(--muted);
  font-weight:700;
}
.v1442-prepare-group-review-btn{
  min-height:42px;
  padding:8px 12px;
  border:0;
  border-radius:11px;
  background:linear-gradient(135deg,#6c5cf4,#39afea);
  color:#fff;
  font:inherit;
  font-weight:850;
  cursor:pointer;
  white-space:nowrap;
}
@media(max-width:760px){
  .v1442-review-group-card{
    grid-template-columns:1fr 1fr;
  }
  .v1442-review-group-main{
    grid-column:1/-1;
  }
  .v1442-prepare-group-review-btn{
    width:100%;
  }
}
@media(max-width:520px){
  .v1442-review-group-card{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   V14.4.5.1 – Recommendation precision / assignment clarity
========================================================= */
.v14421-assignment-tables-badge{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:6px 12px;
  border-radius:999px;
  background:#f1edff;
  color:#6557d8;
  font-weight:850;
  white-space:nowrap;
}

/* =========================================================
   V14.4.5 – Assignment audience visibility
========================================================= */
.v1443-audience-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:4px 9px;
  border-radius:999px;
  font-size:.75rem;
  font-weight:850;
  white-space:nowrap;
}
.v1443-audience-badge.is-class{background:#eef2ff;color:#4256a6}
.v1443-audience-badge.is-individual{background:#fff3df;color:#9a6500}
.v1443-audience-badge.is-group{background:#edf9f0;color:#197a3d}
.v1443-audience-filter-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:8px 0 12px;
}
.v1443-audience-label{
  color:var(--muted);
  font-weight:850;
}
.v1443-audience-filters{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}
.v1443-audience-filters button{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:36px;
  padding:6px 11px;
  border:1px solid #dfe4ef;
  border-radius:999px;
  background:#fff;
  color:#59647f;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}
.v1443-audience-filters button.active{
  border-color:#7462ff;
  background:#f4f1ff;
  color:#5d4de0;
}
.v1443-audience-filters button span{
  display:inline-grid;
  place-items:center;
  min-width:22px;
  min-height:22px;
  padding:0 5px;
  border-radius:999px;
  background:#f0f2f8;
  font-size:.72rem;
}
@media(max-width:700px){
  .v1443-audience-filter-wrap{
    display:grid;
  }
  .v1443-audience-filters{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .v1443-audience-filters button{
    width:100%;
    justify-content:center;
  }
}

/* =========================================================
   V14.4.5 – Automatic student recommendations
========================================================= */
.v1444-adaptive-recommendation .v1441-student-recommendation-copy{gap:5px}
.v1444-decision-badge{
 display:inline-flex;align-items:center;width:max-content;max-width:100%;
 min-height:28px;padding:4px 9px;border-radius:999px;font-size:.74rem;font-weight:850
}
.v1444-decision-badge.is-review{background:#fff0ef;color:#a53a34}
.v1444-decision-badge.is-improving{background:#fff6dd;color:#8c6500}
.v1444-decision-badge.is-good{background:#eaf8ef;color:#17753b}
.v1444-decision-badge.is-insufficient{background:#f0f2f7;color:#65708a}

/* =========================================================
   V14.5.5 – Learning plan status UI
========================================================= */
.v1451-learning-plan{
  margin:14px 0;
  padding:14px;
  border:1px solid #e3e7f0;
  border-radius:18px;
  background:#fff;
}
.v1451-learning-plan-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.v1451-learning-plan-head>div:first-child{display:grid;gap:3px}
.v1451-learning-plan-head small{color:var(--muted)}
.v1451-plan-counts{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:6px;
}
.v1451-plan-counts span,
.v1451-plan-status{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:4px 8px;
  border-radius:999px;
  font-size:.72rem;
  font-weight:850;
}
.v1451-plan-counts .is-needs_work,
.v1451-plan-status.is-needs_work{background:#fff0ef;color:#a53a34}
.v1451-plan-counts .is-learning,
.v1451-plan-status.is-learning{background:#fff6dd;color:#8c6500}
.v1451-plan-counts .is-mastered,
.v1451-plan-status.is-mastered{background:#eaf8ef;color:#17753b}
.v1451-plan-skill-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.v1451-plan-skill-card{
  display:grid;
  gap:10px;
  padding:12px;
  border:1px solid #e5e8ef;
  border-radius:14px;
  background:#fbfcff;
}
.v1451-plan-skill-card.is-needs_work{border-color:#f1c8c4}
.v1451-plan-skill-card.is-learning{border-color:#ead89a}
.v1451-plan-skill-card.is-mastered{border-color:#bfe5ca}
.v1451-plan-skill-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.v1451-plan-skill-head>div{display:grid;gap:2px}
.v1451-plan-skill-head small{color:var(--muted)}
.v1451-plan-status{white-space:nowrap}
.v1451-plan-skill-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.v1451-plan-skill-meta span{display:grid;gap:2px;min-width:0}
.v1451-plan-skill-meta small{color:var(--muted);font-size:.68rem}
.v1451-plan-skill-meta b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v1451-plan-empty{
  padding:14px;
  border-radius:12px;
  background:#f6f8fb;
  color:var(--muted);
  text-align:center;
}
@media(max-width:760px){
  .v1451-learning-plan-head{display:grid}
  .v1451-plan-counts{justify-content:flex-start}
  .v1451-plan-skill-list{grid-template-columns:1fr}
}
@media(max-width:520px){
  .v1451-plan-skill-meta{grid-template-columns:1fr}
}

/* =========================================================
   V14.5.5.1 – Teacher detail title width + plan fallback
========================================================= */
@media(min-width:761px){
  .v1434-assignment-detail-row{
    grid-template-columns:
      minmax(360px,2.35fr)
      minmax(100px,.62fr)
      minmax(65px,.34fr)
      minmax(105px,.56fr)
      minmax(165px,.80fr)!important;
  }

  .v14341-assignment-title-line{
    align-items:flex-start!important;
  }

  .v14341-assignment-title-line>strong{
    flex:1 1 100%;
    max-width:100%;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
  }
}

@media(min-width:761px) and (max-width:1050px){
  .v1434-assignment-detail-row{
    grid-template-columns:
      minmax(320px,2.10fr)
      minmax(92px,.58fr)
      minmax(62px,.34fr)
      minmax(98px,.54fr)
      minmax(150px,.76fr)!important;
  }
}

/* =========================================================
   V14.5.5 – Full-width teacher titles + plan spacing
========================================================= */
.v1420-assignment-card{
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
}

.v1420-assignment-card>.v1420-assignment-main{
  grid-column:1/-1!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}

.v1420-assignment-card>.v1420-assignment-main>strong{
  display:block;
  width:100%;
  max-width:100%;
  white-space:normal;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
  line-height:1.28;
}

.v1420-assignment-card>.v1420-assignment-meta{
  grid-column:1;
  min-width:0;
  align-self:center;
}

.v1420-assignment-card>.v1421-assignment-actions{
  grid-column:2;
  justify-self:end;
  flex-wrap:wrap;
  justify-content:flex-end;
}

@media(max-width:900px){
  .v1420-assignment-card{
    grid-template-columns:1fr!important;
  }

  .v1420-assignment-card>.v1420-assignment-main,
  .v1420-assignment-card>.v1420-assignment-meta,
  .v1420-assignment-card>.v1421-assignment-actions{
    grid-column:1!important;
  }

  .v1420-assignment-card>.v1421-assignment-actions{
    justify-self:stretch;
    justify-content:flex-start;
  }
}

@media(max-width:560px){
  .v1420-assignment-card>.v1421-assignment-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%;
  }

  .v1420-assignment-card>.v1421-assignment-actions button{
    width:100%;
  }
}

/* Learning-plan summary counters: visible space after colon in LT + EN. */
.v1451-plan-counts span{
  gap:4px;
}

/* Give the date column more room and move it closer to Results. */
.v1451-plan-skill-meta{
  grid-template-columns:max-content max-content minmax(165px,1fr)!important;
  column-gap:18px!important;
  row-gap:8px!important;
  justify-content:start;
}

.v1451-plan-skill-meta span:last-child{
  min-width:165px;
}

.v1451-plan-skill-meta span:last-child b{
  overflow:visible;
  text-overflow:clip;
  white-space:nowrap;
}

@media(max-width:760px){
  .v1451-plan-skill-meta{
    grid-template-columns:max-content max-content minmax(150px,1fr)!important;
    column-gap:14px!important;
  }
}

@media(max-width:520px){
  .v1451-plan-skill-meta{
    grid-template-columns:1fr!important;
  }

  .v1451-plan-skill-meta span:last-child{
    min-width:0;
  }

  .v1451-plan-skill-meta span:last-child b{
    white-space:normal;
  }
}

/* =========================================================
   V14.5.5 – Full-width completed assignment titles
========================================================= */
.v1434-assignment-detail-row{
  grid-template-columns:
    minmax(110px,.72fr)
    minmax(74px,.42fr)
    minmax(112px,.62fr)
    minmax(175px,.95fr)!important;
  align-items:start!important;
}

.v1434-assignment-detail-row>.v1434-assignment-detail-main{
  grid-column:1/-1!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}

.v1434-assignment-detail-row .v14341-assignment-title-line{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:6px!important;
  width:100%!important;
}

.v1434-assignment-detail-row .v14341-assignment-title-line>strong{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
  line-height:1.28!important;
}

.v1434-assignment-detail-row .v14341-assignment-title-line .v1434-assignment-status{
  justify-self:start!important;
}

.v1434-assignment-detail-row>.v1434-assignment-detail-stat{
  align-self:center;
}

@media(max-width:760px){
  .v1434-assignment-detail-row{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .v1434-assignment-detail-row>.v1434-assignment-detail-main{
    grid-column:1/-1!important;
  }

  .v1434-assignment-detail-row>.v14341-completed-cell{
    grid-column:1/-1!important;
  }
}

@media(max-width:520px){
  .v1434-assignment-detail-row{
    grid-template-columns:1fr!important;
  }

  .v1434-assignment-detail-row>.v1434-assignment-detail-main,
  .v1434-assignment-detail-row>.v14341-completed-cell{
    grid-column:1!important;
  }
}

/* =========================================================
   V14.5.5 – Class learning-plans dashboard
========================================================= */
.v1453-class-learning-plans{
  margin-top:12px;
  border:1px solid #dde4ef;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}
.v1453-class-learning-plans>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px 15px;
  cursor:pointer;
  list-style:none;
}
.v1453-class-learning-plans>summary::-webkit-details-marker{
  display:none;
}
.v1453-class-plan-summary-copy{
  display:grid;
  gap:2px;
  min-width:0;
}
.v1453-class-plan-summary-copy small{
  color:var(--muted);
}
.v1453-class-plan-summary-count{
  display:grid;
  place-items:center;
  min-width:32px;
  min-height:32px;
  padding:0 8px;
  border-radius:999px;
  background:#eef1f7;
  font-weight:900;
}
.v1453-class-plan-body{
  border-top:1px solid #e4e8f0;
  padding:12px;
}
.v1453-plan-loading{
  padding:12px;
  color:var(--muted);
  font-weight:800;
}
.v1453-class-plan-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.v1453-class-plan-toolbar>div{
  display:grid;
  gap:2px;
}
.v1453-class-plan-toolbar small{
  color:var(--muted);
}
.v1453-class-plan-refresh-btn{
  border:0;
  border-radius:10px;
  padding:8px 11px;
  background:#eef2ff;
  color:#3854a2;
  font-weight:850;
}
.v1453-class-plan-list{
  display:grid;
  gap:8px;
}
.v1453-student-plan-row{
  display:grid;
  grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(115px,.65fr));
  gap:10px;
  align-items:center;
  padding:10px 11px;
  border:1px solid #e1e5ee;
  border-radius:12px;
  background:#fbfcff;
}
.v1453-student-plan-name{
  display:grid;
  gap:2px;
  min-width:0;
}
.v1453-student-plan-name small{
  color:var(--muted);
}
.v1453-student-plan-count{
  display:grid;
  gap:2px;
  padding:7px 9px;
  border-radius:10px;
}
.v1453-student-plan-count small{
  font-size:.7rem;
  font-weight:800;
}
.v1453-student-plan-count strong{
  font-size:1.05rem;
}
.v1453-student-plan-count.is-needs_work{
  background:#fff0ef;
  color:#9c3e38;
}
.v1453-student-plan-count.is-learning{
  background:#fff6dd;
  color:#8a6500;
}
.v1453-student-plan-count.is-mastered{
  background:#eaf8ef;
  color:#17753b;
}
.v1453-student-plan-empty{
  grid-column:2/-1;
  padding:8px 10px;
  border-radius:10px;
  background:#f1f3f7;
  color:var(--muted);
  font-weight:750;
}
@media(max-width:850px){
  .v1453-student-plan-row{
    grid-template-columns:1fr 1fr 1fr;
  }
  .v1453-student-plan-name,
  .v1453-student-plan-empty{
    grid-column:1/-1;
  }
}
@media(max-width:560px){
  .v1453-class-plan-toolbar{
    display:grid;
  }
  .v1453-class-plan-refresh-btn{
    width:100%;
  }
  .v1453-student-plan-row{
    grid-template-columns:1fr;
  }
  .v1453-student-plan-name,
  .v1453-student-plan-empty{
    grid-column:auto;
  }
}

/* =========================================================
   V14.5.5 – Student learning-plan progress view
========================================================= */
.v1454-student-learning-plan{
  display:grid;
  gap:12px;
  margin-top:14px;
  padding:15px;
  border:2px solid #dce6f7;
  border-radius:18px;
  background:#fbfcff;
}
.v1454-student-plan-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.v1454-student-plan-head>div{
  display:grid;
  gap:3px;
}
.v1454-student-plan-head small{
  color:var(--muted);
}
.v1454-student-plan-refresh{
  border:0;
  border-radius:11px;
  padding:8px 11px;
  background:#eef2ff;
  color:#3854a2;
  font-weight:850;
}
.v1454-student-plan-body{
  display:grid;
  gap:10px;
}
.v1454-student-plan-loading,
.v1454-student-plan-empty{
  padding:14px;
  border-radius:12px;
  background:#f1f4f8;
  color:var(--muted);
  font-weight:750;
  text-align:center;
}
.v1454-student-plan-summary{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.v1454-student-plan-summary span{
  display:inline-flex;
  align-items:center;
  gap:4px;
  min-height:30px;
  padding:5px 9px;
  border-radius:999px;
  font-size:.76rem;
  font-weight:850;
}
.v1454-student-plan-summary .is-needs_work{
  background:#fff0ef;
  color:#9c3e38;
}
.v1454-student-plan-summary .is-learning{
  background:#fff6dd;
  color:#8a6500;
}
.v1454-student-plan-summary .is-mastered{
  background:#eaf8ef;
  color:#17753b;
}
.v1454-student-next{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border:1px solid #ded9ff;
  border-radius:12px;
  background:#f7f5ff;
}
.v1454-student-next small{
  color:#665cb9;
  font-weight:800;
}
.v1454-student-skill-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.v1454-student-skill{
  display:grid;
  gap:8px;
  padding:11px;
  border:1px solid #e2e6ef;
  border-radius:13px;
  background:#fff;
}
.v1454-student-skill.is-needs_work{
  border-color:#f0c8c4;
}
.v1454-student-skill.is-learning{
  border-color:#ead89a;
}
.v1454-student-skill.is-mastered{
  border-color:#bfe5ca;
}
.v1454-student-skill-title{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:9px;
}
.v1454-student-skill-title span{
  flex:0 0 auto;
  font-size:.72rem;
  font-weight:850;
}
.v1454-student-skill-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 14px;
  color:var(--muted);
  font-size:.78rem;
}
.v1454-student-skill-meta b{
  color:var(--text);
}
@media(max-width:700px){
  .v1454-student-skill-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:560px){
  .v1454-student-plan-head,
  .v1454-student-next{
    display:grid;
  }
  .v1454-student-plan-refresh{
    width:100%;
  }
}

/* =========================================================
   V14.5.5 – Automatic review recommendations
========================================================= */
.v1455-plan-recommendation{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:9px 10px;
  border:1px solid #ded9ff;
  border-radius:11px;
  background:#f7f5ff;
}
.v1455-plan-recommendation>div{display:grid;gap:2px}
.v1455-plan-recommendation small{color:#6559b8;font-weight:800}
.v1455-plan-recommendation strong{font-size:.9rem}
.v1455-plan-recommendation.is-done{
  justify-content:flex-start;
  border-color:#c9e7d0;
  background:#eef9f1;
  color:#18743a;
  font-weight:850;
}
.v1455-prepare-plan-review-btn{
  flex:0 0 auto;
  border:0;
  border-radius:10px;
  padding:8px 11px;
  background:#6d5dfc;
  color:#fff;
  font-weight:850;
  cursor:pointer;
}
@media(max-width:650px){
  .v1455-plan-recommendation{display:grid}
  .v1455-prepare-plan-review-btn{width:100%}
}

/* =========================================================
   V14.8.0.2 – Drafts assignment filter
========================================================= */
.v1425-assignment-filters button[data-assignment-filter="drafts"] span{
  background:#f1edff;
  color:#5d50c0;
}
.v1425-assignment-filters button[data-assignment-filter="drafts"].active{
  border-color:#6d5dfc;
  background:#f4f1ff;
  color:#584bc4;
}

/* =========================================================
   V14.8.0.2 – Batch publish drafts
========================================================= */
.v1472-draft-toolbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:9px 12px;
  align-items:center;
  margin:8px 0 10px;
  padding:10px 12px;
  border:1px solid #dcd7ff;
  border-radius:12px;
  background:#f8f6ff;
}
.v1472-draft-toolbar>div:first-child{
  display:flex;
  align-items:center;
  gap:10px;
}
.v1472-draft-toolbar small{
  color:var(--muted);
  font-weight:800;
}
.v1472-draft-toolbar-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:6px;
}
.v1472-draft-toolbar-actions button{
  border:1px solid #dfe2eb;
  border-radius:9px;
  padding:7px 10px;
  background:#fff;
  color:#59647c;
  font-weight:800;
  cursor:pointer;
}
.v1472-draft-toolbar-actions .v1472-publish-selected-btn{
  border-color:#6b5ce8;
  background:#6657e8;
  color:#fff;
}
.v1472-draft-toolbar-actions button:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.v1472-draft-message{
  grid-column:1/-1;
  padding:8px 10px;
  border-radius:9px;
  background:#f0f2f6;
  color:#59647c;
  font-weight:800;
}
.v1472-draft-message.good{
  background:#eaf8ef;
  color:#17753b;
}
.v1472-draft-message.bad{
  background:#fff0ef;
  color:#9c3e38;
}
.v1472-draft-select{
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:max-content;
  margin:0 0 6px;
  color:#6558c7;
  font-size:.76rem;
  font-weight:850;
}
@media(max-width:700px){
  .v1472-draft-toolbar{grid-template-columns:1fr;}
  .v1472-draft-toolbar-actions{justify-content:flex-start;}
}

/* =========================================================
   V14.8.0.2 – Batch delete drafts
========================================================= */
.v1472-draft-toolbar-actions .v1473-delete-selected-btn{
  border-color:#e4c3c0;
  background:#fff7f6;
  color:#a0443e;
}
.v1472-draft-toolbar-actions .v1473-delete-selected-btn:not(:disabled):hover{
  background:#ffefed;
}

/* =========================================================
   V14.8.0.2 – Batch due date for drafts
========================================================= */
.v1474-due-control{
  grid-column:1/-1;
}
.v1474-due-control label{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  width:max-content;
  max-width:100%;
  color:#5d667b;
  font-weight:800;
}
.v1474-due-control label>span{
  font-size:.8rem;
}
.v1474-due-control label small{
  color:var(--muted);
  font-weight:700;
}
.v1474-due-control input{
  border:1px solid #dfe2eb;
  border-radius:9px;
  padding:7px 9px;
  background:#fff;
  color:inherit;
  font:inherit;
}
@media(max-width:560px){
  .v1474-due-control label{width:100%;}
  .v1474-due-control input{width:100%;}
}

/* =========================================================
   V14.8.0.2.1 – Created draft feedback/navigation hotfix
========================================================= */
.v14801-draft-created-notice{
  display:grid;
  gap:3px;
  margin:8px 0 10px;
  padding:10px 12px;
  border:1px solid #bfe2cb;
  border-radius:11px;
  background:#eefaf2;
  color:#176d38;
}
.v14801-draft-created-notice.is-partial{
  border-color:#ecd5a8;
  background:#fff9e9;
  color:#83611e;
}
.v14801-draft-created-notice small{
  color:inherit;
  opacity:.86;
}

/* =========================================================
   V14.8.0.2 – Draft creator shortcut
========================================================= */
.v14802-draft-creator-shortcut{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:8px 0 10px;
  padding:10px 12px;
  border:1px solid #d8d2ff;
  border-radius:11px;
  background:#f8f6ff;
  color:#59647c;
}
.v14802-draft-creator-shortcut span{
  font-size:.82rem;
  font-weight:750;
}
.v14802-draft-creator-shortcut button{
  flex:0 0 auto;
  border:0;
  border-radius:10px;
  padding:8px 12px;
  background:#6657e8;
  color:#fff;
  font-weight:850;
  cursor:pointer;
}
@media(max-width:620px){
  .v14802-draft-creator-shortcut{
    display:grid;
  }
  .v14802-draft-creator-shortcut button{
    width:100%;
  }
}

/* =========================================================
   V14.8.0.3 – Duplicate assignment protection
========================================================= */
.v14803-duplicate-cleanup{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:8px 0 10px;
  padding:10px 12px;
  border:1px solid #edcf9c;
  border-radius:11px;
  background:#fff9ea;
  color:#78591d;
}
.v14803-duplicate-cleanup>div{
  display:grid;
  gap:2px;
}
.v14803-duplicate-cleanup small{
  color:inherit;
  opacity:.84;
}
.v14803-duplicate-cleanup button{
  flex:0 0 auto;
  border:0;
  border-radius:10px;
  padding:8px 12px;
  background:#8d691f;
  color:#fff;
  font-weight:850;
  cursor:pointer;
}
@media(max-width:620px){
  .v14803-duplicate-cleanup{
    display:grid;
  }
  .v14803-duplicate-cleanup button{
    width:100%;
  }
}

/* =========================================================
   V14.8.1 – Teacher-visible assignment breakdown
========================================================= */
.v1481-student-breakdown{
  width:100%;
  display:grid;
  gap:5px;
  margin-top:7px;
}
.v1481-breakdown-title{
  color:var(--muted);
  font-weight:850;
}
.v1481-breakdown-list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.v1481-breakdown-chip{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 7px;
  border:1px solid #dfe4ec;
  border-radius:999px;
  background:#f7f9fc;
  color:#58647a;
  font-size:.75rem;
  font-weight:750;
}
.v1481-breakdown-chip strong{
  font-size:.78rem;
}
.v1481-breakdown-chip small{
  opacity:.75;
}
.v1481-breakdown-chip.is-weak{
  border-color:#efc5c2;
  background:#fff3f2;
  color:#9c3e38;
}
.v1481-breakdown-chip.is-learning{
  border-color:#ecd8a5;
  background:#fff9ea;
  color:#82631d;
}
.v1481-breakdown-chip.is-good{
  border-color:#bfe2cb;
  background:#eefaf2;
  color:#17753b;
}
.v1421-student-result .v1481-student-breakdown{
  flex-basis:100%;
}
@media(max-width:620px){
  .v1481-breakdown-list{
    display:grid;
    grid-template-columns:1fr;
  }
  .v1481-breakdown-chip{
    justify-content:flex-start;
    border-radius:10px;
  }
}

/* =========================================================
   V14.8.2 – Class aggregate assignment breakdown
========================================================= */
.v1482-class-breakdown{
  display:grid;
  gap:9px;
  margin:10px 0 12px;
  padding:11px 12px;
  border:1px solid #dfe4ec;
  border-radius:12px;
  background:#fbfcfe;
}
.v1482-class-breakdown-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.v1482-class-breakdown-head>div{
  display:grid;
  gap:2px;
}
.v1482-class-breakdown-head small{
  color:var(--muted);
}
.v1482-class-breakdown-head>span{
  display:grid;
  place-items:center;
  min-width:30px;
  min-height:30px;
  padding:0 7px;
  border-radius:999px;
  background:#eef1f7;
  color:#59647c;
  font-weight:900;
}
.v1482-class-breakdown-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}
.v1482-class-breakdown-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto auto;
  align-items:center;
  gap:7px;
  padding:8px 9px;
  border:1px solid #dfe4ec;
  border-radius:10px;
  background:#fff;
  color:#59647c;
}
.v1482-class-breakdown-row>div{
  display:flex;
  align-items:center;
  gap:5px;
  min-width:0;
}
.v1482-class-breakdown-row>div span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.v1482-class-breakdown-row.is-weak{
  border-color:#efc5c2;
  background:#fff5f4;
  color:#9c3e38;
}
.v1482-class-breakdown-row.is-learning{
  border-color:#ecd8a5;
  background:#fff9ea;
  color:#82631d;
}
.v1482-class-breakdown-row.is-good{
  border-color:#bfe2cb;
  background:#f1fbf4;
  color:#17753b;
}
@media(max-width:760px){
  .v1482-class-breakdown-list{
    grid-template-columns:1fr;
  }
}
@media(max-width:520px){
  .v1482-class-breakdown-row{
    grid-template-columns:minmax(0,1fr) auto auto;
  }
  .v1482-class-breakdown-row>small:last-child{
    grid-column:1/-1;
  }
}

/* =========================================================
   V14.8.3 – Student skill feedback after assignment
========================================================= */
.v1483-student-feedback{
  margin-top:10px;
  border-top:1px solid #e6e9ef;
  padding-top:9px;
}
.v1483-student-feedback>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  cursor:pointer;
  color:#58647a;
  font-weight:850;
  list-style:none;
}
.v1483-student-feedback>summary::-webkit-details-marker{
  display:none;
}
.v1483-student-feedback>summary b{
  font-size:.78rem;
  color:#8c5a1f;
}
.v1483-student-feedback section{
  display:grid;
  gap:6px;
  margin-top:9px;
}
.v1483-student-feedback section>strong{
  font-size:.8rem;
  color:#59647c;
}
.v1483-student-feedback-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
}
.v1483-student-skill-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:7px;
  padding:7px 8px;
  border:1px solid #dfe4ec;
  border-radius:10px;
  background:#fff;
  color:#59647c;
}
.v1483-student-skill-row>div{
  display:flex;
  gap:5px;
  align-items:center;
  min-width:0;
}
.v1483-student-skill-row>div span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.v1483-student-skill-row.is-weak{
  border-color:#efc5c2;
  background:#fff4f3;
  color:#9c3e38;
}
.v1483-student-skill-row.is-learning{
  border-color:#ecd8a5;
  background:#fff9ea;
  color:#82631d;
}
.v1483-student-skill-row.is-good{
  border-color:#bfe2cb;
  background:#effaf3;
  color:#17753b;
}
.v1483-all-strong{
  margin-top:9px;
  padding:9px 10px;
  border-radius:10px;
  background:#effaf3;
  color:#17753b;
  font-weight:800;
}
.v1483-student-feedback.is-legacy p{
  margin:8px 0 0;
  color:var(--muted);
  font-size:.8rem;
}
@media(max-width:620px){
  .v1483-student-feedback-list{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   V14.9.1 – Explicit student workload
========================================================= */
.v1491-class-workload{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 14px;
  margin:8px 0 12px;
  padding:9px 11px;
  border:1px solid #dde3ec;
  border-radius:11px;
  background:#fafbfd;
  color:#59647c;
}
.v1491-class-workload>strong{
  margin-right:auto;
}
.v1491-class-workload span{
  white-space:nowrap;
}
.v1491-class-workload .has-remaining{
  color:#8b5d1e;
}
.v1491-class-workload .is-done{
  color:#18753b;
}

.v1491-workload-stat{
  display:grid;
  gap:4px;
}
.v1491-student-workload{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}
.v1491-student-workload>span{
  display:grid;
  grid-template-columns:auto auto;
  align-items:center;
  gap:4px;
  padding:4px 6px;
  border:1px solid #e1e6ee;
  border-radius:8px;
  background:#fff;
  color:#59647c;
  line-height:1.05;
}
.v1491-student-workload small{
  font-size:.67rem;
  font-weight:750;
  opacity:.84;
}
.v1491-student-workload b{
  font-size:.78rem;
}
.v1491-student-workload .has-remaining{
  border-color:#ecd7aa;
  background:#fff9eb;
  color:#815e1d;
}
.v1491-student-workload .is-done{
  border-color:#c3e4ce;
  background:#f0faf3;
  color:#18753b;
}
.v1491-workload-percent{
  color:var(--muted);
  font-weight:850;
}

@media(max-width:720px){
  .v1491-class-workload{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .v1491-class-workload>strong{
    grid-column:1/-1;
  }
}
@media(max-width:520px){
  .v1491-student-workload{
    display:grid;
    grid-template-columns:repeat(3,1fr);
  }
  .v1491-student-workload>span{
    display:grid;
    grid-template-columns:1fr;
    gap:2px;
  }
}

/* =========================================================
   V14.9.2 – Overdue / due-soon priorities
========================================================= */
.v1492-class-deadlines{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:8px 0 12px;padding:9px 11px;border:1px solid #ecd8aa;border-radius:11px;background:#fffaf0;color:#77571c}
.v1492-class-deadlines>strong{margin-right:auto}
.v1492-class-deadlines .is-overdue{color:#a13f39;font-weight:800}
.v1492-class-deadlines .is-due-soon{color:#8a661d;font-weight:800}
.v1492-student-deadlines{display:flex;flex-wrap:wrap;gap:4px;margin-top:2px}
.v1492-student-deadlines>span{padding:3px 6px;border-radius:999px;background:#f3f5f8;color:#667187;font-size:.68rem;font-weight:800}
.v1492-student-deadlines .is-overdue{background:#fff0ef;color:#a13f39}
.v1492-student-deadlines .is-due-soon{background:#fff7e5;color:#89641a}
.v1492-student-deadlines .is-done{background:#eefaf2;color:#18753b}
.v1434-assignment-detail-row.overdue{border-color:#efc4c0;background:#fff5f4}
.v1434-assignment-status.overdue{background:#fff0ef;color:#a13f39}
.v1434-assignment-detail-row.due-soon{border-color:#ecd8aa;background:#fffaf0}
.v1434-assignment-status.due-soon,.v1492-due-soon-summary{background:#fff4d9;color:#856018}
@media(max-width:720px){.v1492-class-deadlines{display:grid;grid-template-columns:1fr 1fr}.v1492-class-deadlines>strong{grid-column:1/-1}}

/* =========================================================
   V14.9.3 – Work-status filters
========================================================= */
.v1433-filter-stack{
  display:grid;
  gap:7px;
  min-width:0;
}
.v1493-work-filter-wrap{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px 8px;
}
.v1493-work-filter-wrap>small{
  color:var(--muted);
  font-weight:850;
  white-space:nowrap;
}
.v1493-work-filter{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}
.v1493-work-filter button{
  display:inline-flex;
  align-items:center;
  gap:5px;
  border:1px solid #dfe4ec;
  border-radius:999px;
  padding:6px 9px;
  background:#fff;
  color:#59647c;
  font:inherit;
  font-size:.76rem;
  font-weight:800;
  cursor:pointer;
}
.v1493-work-filter button span{
  display:grid;
  place-items:center;
  min-width:20px;
  height:20px;
  padding:0 5px;
  border-radius:999px;
  background:#eef1f6;
  font-size:.67rem;
}
.v1493-work-filter button.active{
  border-color:#8175ee;
  background:#f0eeff;
  color:#5548c7;
}
.v1493-work-filter button[data-v1493-work-filter="overdue"].active{
  border-color:#e3aaa5;
  background:#fff0ef;
  color:#9f3d37;
}
@media(max-width:720px){
  .v1433-filter-stack{
    width:100%;
  }
  .v1493-work-filter-wrap{
    display:grid;
  }
}
@media(max-width:520px){
  .v1493-work-filter{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .v1493-work-filter button{
    justify-content:space-between;
    border-radius:10px;
  }
}

/* =========================================================
   V15.0.0 – Student "What to do now"
========================================================= */
#v1500StudentNextAssignment{
  margin:10px 0 12px;
}
.v1500-next-assignment{
  display:grid;
  gap:9px;
  padding:12px 13px;
  border:1px solid #d9dfeb;
  border-radius:14px;
  background:#fbfcff;
  box-shadow:0 4px 12px rgba(34,45,70,.05);
}
.v1500-next-assignment.is-overdue{
  border-color:#e9b7b2;
  background:#fff5f4;
}
.v1500-next-assignment.is-due_soon{
  border-color:#ecd7a5;
  background:#fffaf0;
}
.v1500-next-assignment.is-remaining{
  border-color:#cfd8f2;
  background:#f7f9ff;
}
.v1500-next-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.v1500-next-kicker{
  font-weight:900;
  color:#4f5c76;
}
.v1500-next-reason{
  color:#6d778b;
  font-size:.78rem;
  font-weight:750;
  text-align:right;
}
.v1500-next-body{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.v1500-next-main{
  display:grid;
  gap:3px;
  min-width:0;
}
.v1500-next-main>strong{
  color:#2f3950;
  font-size:1rem;
}
.v1500-next-main>small{
  color:#68758c;
}
.v1500-start-next-btn{
  flex:0 0 auto;
  white-space:nowrap;
}
.v1500-next-assignment.is-empty{
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
}
.v1500-next-assignment.is-empty .v1500-next-icon{
  font-size:1.55rem;
}
.v1500-next-assignment.is-empty strong{
  color:#4f5c76;
}
.v1500-next-assignment.is-empty p{
  margin:2px 0 0;
  color:#6d778b;
  font-size:.82rem;
}

@media(max-width:620px){
  .v1500-next-head,
  .v1500-next-body{
    display:grid;
  }
  .v1500-next-reason{
    text-align:left;
  }
  .v1500-start-next-btn{
    width:100%;
  }
}

/* =========================================================
   V15.0.0.1 HOTFIX – Unified work-status filter styling
========================================================= */
.v1493-work-filter{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.v1493-work-filter button{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid #dfe5f1;
  border-radius:999px;
  padding:6px 10px;
  background:#fff;
  color:var(--muted);
  font:inherit;
  font-weight:850;
  cursor:pointer;
}
.v1493-work-filter button span{
  min-width:22px;
  height:22px;
  display:grid;
  place-items:center;
  padding:0;
  border-radius:999px;
  background:#f0f3f9;
  color:var(--text);
  font-size:.72rem;
}
.v1493-work-filter button.active,
.v1493-work-filter button[data-v1493-work-filter="overdue"].active{
  border-color:#7564f5;
  background:#efecff;
  color:#5147c8;
}
@media(max-width:720px){
  .v1493-work-filter{
    width:100%;
  }
  .v1493-work-filter button{
    flex:1 1 auto;
    justify-content:center;
  }
}
@media(max-width:520px){
  .v1493-work-filter{
    display:flex;
    grid-template-columns:none;
  }
  .v1493-work-filter button{
    justify-content:center;
    border-radius:999px;
  }
}

/* =========================================================
   V15.0.1 – Today's student queue
========================================================= */
.v1501-student-queue{
  display:grid;
  gap:9px;
  margin-top:9px;
  padding:11px 12px;
  border:1px solid #dfe4ee;
  border-radius:14px;
  background:#fbfcff;
}
.v1501-student-queue-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.v1501-student-queue-head>div{
  display:grid;
  gap:2px;
}
.v1501-student-queue-head strong{
  color:#4e5a72;
}
.v1501-student-queue-head small{
  color:var(--muted);
}
.v1501-student-queue-head>span{
  display:grid;
  place-items:center;
  min-width:30px;
  min-height:30px;
  padding:0 8px;
  border-radius:999px;
  background:#f0f2f8;
  color:#566178;
  font-size:.74rem;
  font-weight:900;
  white-space:nowrap;
}
.v1501-student-queue-list{
  display:grid;
  gap:7px;
}
.v1501-student-queue-item{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  padding:9px 10px;
  border:1px solid #e2e6ee;
  border-radius:11px;
  background:#fff;
}
.v1501-student-queue-item.is-overdue{
  border-color:#edc0bc;
  background:#fff6f5;
}
.v1501-student-queue-item.is-due_soon{
  border-color:#ead6a7;
  background:#fffaf0;
}
.v1501-queue-position{
  display:grid;
  place-items:center;
  min-width:52px;
  min-height:28px;
  padding:0 8px;
  border-radius:999px;
  background:#eef1f7;
  color:#59647b;
  font-size:.72rem;
  font-weight:900;
}
.v1501-student-queue-item:first-child .v1501-queue-position{
  background:#efecff;
  color:#5147c8;
}
.v1501-queue-main{
  display:grid;
  gap:2px;
  min-width:0;
}
.v1501-queue-main>strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#344057;
}
.v1501-queue-main>small{
  color:#69758b;
}
.v1501-queue-start-btn{
  flex:0 0 auto;
  white-space:nowrap;
}

@media(max-width:650px){
  .v1501-student-queue-item{
    grid-template-columns:auto minmax(0,1fr);
  }
  .v1501-queue-start-btn{
    grid-column:1/-1;
    width:100%;
  }
}
@media(max-width:460px){
  .v1501-student-queue-head{
    display:grid;
  }
  .v1501-student-queue-head>span{
    justify-self:start;
  }
  .v1501-student-queue-item{
    grid-template-columns:1fr;
  }
  .v1501-queue-position{
    justify-self:start;
  }
  .v1501-queue-main>strong{
    white-space:normal;
  }
}

/* =========================================================
   V15.0.1.1 HOTFIX – Student priority cards layout
========================================================= */
.v1500-next-body{
  align-items:center;
}
.v1500-next-main{
  flex:1 1 auto;
  min-width:0;
}
.v1500-start-next-btn{
  width:auto;
  min-width:150px;
  max-width:220px;
  margin:0;
  padding:11px 18px;
  flex:0 0 auto;
  align-self:center;
}
.v1501-queue-main{
  min-width:0;
}
.v1501-queue-start-btn{
  width:auto;
  min-width:88px;
  max-width:150px;
  margin:0;
  padding:9px 14px;
  justify-self:end;
  align-self:center;
}
@media(max-width:650px){
  .v1501-queue-start-btn{
    width:100%;
    max-width:none;
    margin:0;
    justify-self:stretch;
  }
}
@media(max-width:620px){
  .v1500-next-body{
    gap:10px;
  }
  .v1500-start-next-btn{
    width:100%;
    max-width:none;
    margin:0;
  }
}

/* =========================================================
   V15.0.2 – Daily assigned-work progress
========================================================= */
.v1502-daily-progress{
  display:grid;
  gap:8px;
  margin:0 0 9px;
  padding:11px 12px;
  border:1px solid #dce3ef;
  border-radius:14px;
  background:#fff;
}
.v1502-daily-progress.is-done{
  border-color:#bfe4ca;
  background:#f4fbf6;
}
.v1502-daily-progress.is-empty{
  border-color:#dfe4ed;
  background:#fafbfe;
}
.v1502-daily-progress-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.v1502-daily-progress-head>div{
  display:grid;
  gap:2px;
}
.v1502-daily-progress-head strong{
  color:#44516a;
}
.v1502-daily-progress-head small{
  color:var(--muted);
}
.v1502-daily-progress-head>span{
  display:grid;
  place-items:center;
  min-width:42px;
  min-height:32px;
  padding:0 8px;
  border-radius:999px;
  background:#efecff;
  color:#5147c8;
  font-weight:900;
}
.v1502-daily-progress-track{
  height:10px;
  overflow:hidden;
  border-radius:999px;
  background:#e9edf5;
}
.v1502-daily-progress-track>span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6d5dfc,#3ab7ef);
}
.v1502-daily-progress.is-done .v1502-daily-progress-track>span{
  background:#42a765;
}
.v1502-daily-progress-foot{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px 14px;
  color:#657188;
  font-size:.78rem;
  font-weight:750;
}
.v1502-daily-progress-foot>strong{
  margin-left:auto;
  color:#4e5a72;
}
.v1502-daily-done{
  margin:0;
  padding:7px 9px;
  border-radius:9px;
  background:#eaf8ef;
  color:#18753b;
  font-size:.8rem;
  font-weight:850;
}
.v1502-daily-progress.is-empty p{
  margin:0;
  color:#6d778b;
  font-size:.8rem;
}

@media(max-width:520px){
  .v1502-daily-progress-head{
    align-items:flex-start;
  }
  .v1502-daily-progress-foot{
    display:grid;
    grid-template-columns:1fr 1fr auto;
  }
  .v1502-daily-progress-foot>strong{
    margin-left:0;
  }
}

/* =========================================================
   V15.0.3 – Assignment completion → next assignment flow
========================================================= */
#v1503AssignmentResultNext{
  margin:12px 0;
}
.v1503-result-next{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:12px 13px;
  border:1px solid #dce3ef;
  border-radius:14px;
  background:#fbfcff;
}
.v1503-result-next.is-saving{
  grid-template-columns:auto minmax(0,1fr);
}
.v1503-result-next.is-error{
  border-color:#efc4c0;
  background:#fff6f5;
}
.v1503-result-next.is-done{
  border-color:#bfe4ca;
  background:#f3fbf5;
}
.v1503-result-next.has-next{
  border-color:#cfd8f3;
  background:#f8f9ff;
}
.v1503-result-next-icon{
  font-size:1.6rem;
}
.v1503-result-next-main,
.v1503-result-next>div{
  display:grid;
  gap:3px;
  min-width:0;
}
.v1503-result-next strong{
  color:#3f4c65;
}
.v1503-result-next small{
  color:#6c788d;
}
.v1503-result-next-task{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 10px;
  margin-top:4px;
}
.v1503-result-next-task>b{
  color:#303b52;
}
.v1503-result-next-task>span{
  color:#6e788a;
  font-size:.78rem;
}
.v1503-start-next-assignment-btn,
.v1503-back-assignments-btn{
  width:auto;
  max-width:240px;
  margin:0;
  white-space:nowrap;
}
.v1503-start-next-assignment-btn{
  min-width:180px;
}
.v1503-back-assignments-btn{
  min-width:150px;
}

@media(max-width:650px){
  .v1503-result-next{
    grid-template-columns:auto minmax(0,1fr);
  }
  .v1503-start-next-assignment-btn,
  .v1503-back-assignments-btn{
    grid-column:1/-1;
    width:100%;
    max-width:none;
  }
}

/* =========================================================
   V15.1.0 – Weekly assignment plan
========================================================= */
.v1510-weekly-plan{
  display:grid;
  gap:9px;
  margin:0 0 9px;
  padding:11px 12px;
  border:1px solid #dde3ee;
  border-radius:14px;
  background:#fbfcff;
}
.v1510-weekly-plan-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.v1510-weekly-plan-head>div:first-child{
  display:grid;
  gap:2px;
}
.v1510-weekly-plan-head strong{
  color:#44516a;
}
.v1510-weekly-plan-head small{
  color:var(--muted);
}
.v1510-weekly-plan-alerts{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:5px;
}
.v1510-weekly-plan-alerts>span{
  padding:4px 7px;
  border-radius:999px;
  background:#f0f3f8;
  color:#667188;
  font-size:.72rem;
  font-weight:800;
}
.v1510-weekly-plan-alerts .is-overdue{
  background:#fff0ef;
  color:#a13f39;
}
.v1510-week-days{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:5px;
}
.v1510-week-day{
  display:grid;
  justify-items:center;
  gap:2px;
  min-width:0;
  padding:7px 4px;
  border:1px solid #e2e6ee;
  border-radius:10px;
  background:#fff;
  color:#657087;
  text-align:center;
}
.v1510-week-day>span{
  font-size:.72rem;
  font-weight:850;
  text-transform:capitalize;
}
.v1510-week-day>small{
  font-size:.66rem;
  color:#8590a3;
}
.v1510-week-day>b{
  display:grid;
  place-items:center;
  min-width:28px;
  height:28px;
  border-radius:999px;
  background:#f0f2f7;
  color:#465269;
  font-size:.82rem;
}
.v1510-week-day>em{
  min-height:13px;
  overflow:hidden;
  color:#788399;
  font-size:.62rem;
  font-style:normal;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.v1510-week-day.is-today{
  border-color:#8274f3;
  background:#f5f3ff;
}
.v1510-week-day.is-today>span,
.v1510-week-day.is-today>b{
  color:#5549ca;
}
.v1510-week-day.is-today>b{
  background:#e9e5ff;
}
.v1510-week-day.is-complete{
  border-color:#bfe3ca;
  background:#f3fbf5;
}
.v1510-week-day.is-complete>b{
  background:#dff3e5;
  color:#18753b;
}
.v1510-weekly-empty{
  margin:0;
  color:#6d788d;
  font-size:.78rem;
}

@media(max-width:700px){
  .v1510-week-days{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media(max-width:480px){
  .v1510-weekly-plan-head{
    display:grid;
  }
  .v1510-weekly-plan-alerts{
    justify-content:flex-start;
  }
  .v1510-week-days{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* =========================================================
   V15.1.1 – Clickable week days + day assignments
========================================================= */
button.v1510-week-day{
  width:100%;
  margin:0;
  font:inherit;
  cursor:pointer;
}
button.v1510-week-day:hover{
  border-color:#b9c4dc;
  transform:translateY(-1px);
}
button.v1510-week-day:focus-visible{
  outline:3px solid rgba(117,100,245,.22);
  outline-offset:2px;
}
.v1510-week-day.is-selected{
  border-color:#7564f5;
  box-shadow:0 0 0 2px rgba(117,100,245,.12);
}
.v1510-week-day.is-selected>span,
.v1510-week-day.is-selected>b{
  color:#5147c8;
}

.v1511-week-detail{
  display:grid;
  gap:8px;
  padding:10px 11px;
  border:1px solid #d9dfeb;
  border-radius:12px;
  background:#fff;
}
.v1511-week-detail-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.v1511-week-detail-head>div{
  display:grid;
  gap:2px;
}
.v1511-week-detail-head strong{
  color:#44516a;
}
.v1511-week-detail-head small{
  color:#748096;
  text-transform:capitalize;
}
.v1511-week-detail-close{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  margin:0;
  border:1px solid #dfe4ed;
  border-radius:999px;
  background:#f6f7fa;
  color:#667188;
  font:inherit;
  font-size:1.05rem;
  font-weight:900;
  cursor:pointer;
}
.v1511-week-detail-list{
  display:grid;
  gap:6px;
}
.v1511-week-detail-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:8px 9px;
  border:1px solid #e2e6ee;
  border-radius:10px;
  background:#fbfcff;
}
.v1511-week-detail-item.is-overdue{
  border-color:#edc0bc;
  background:#fff6f5;
}
.v1511-week-detail-item.is-due_soon{
  border-color:#ead6a7;
  background:#fffaf0;
}
.v1511-week-detail-item.is-completed{
  border-color:#c3e4ce;
  background:#f2faf4;
}
.v1511-week-detail-main{
  display:grid;
  gap:2px;
  min-width:0;
}
.v1511-week-detail-main>strong{
  overflow:hidden;
  color:#354158;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.v1511-week-detail-main>small{
  color:#6d788d;
}
.v1511-week-detail-start{
  width:auto;
  min-width:88px;
  max-width:150px;
  margin:0;
  padding:9px 13px;
}
.v1511-week-detail-status{
  padding:5px 8px;
  border-radius:999px;
  background:#f0f2f6;
  color:#68738a;
  font-size:.72rem;
  font-weight:850;
  white-space:nowrap;
}
.v1511-week-detail-status.is-completed{
  background:#e6f6eb;
  color:#18753b;
}
.v1511-week-detail-status.is-closed{
  background:#eef0f4;
  color:#626c80;
}
.v1511-week-detail-empty{
  margin:0;
  padding:7px 8px;
  border-radius:9px;
  background:#f8f9fc;
  color:#6f7a8f;
  font-size:.78rem;
}

@media(max-width:560px){
  .v1511-week-detail-item{
    grid-template-columns:1fr;
  }
  .v1511-week-detail-start{
    width:100%;
    max-width:none;
  }
  .v1511-week-detail-status{
    justify-self:start;
  }
  .v1511-week-detail-main>strong{
    white-space:normal;
  }
}

/* =========================================================
   V15.1.2 – Weekly progress summary
========================================================= */
.v1512-week-progress{
  display:grid;
  gap:8px;
  padding:10px 11px;
  border:1px solid #dce3ef;
  border-radius:12px;
  background:#fff;
}
.v1512-week-progress.is-done{
  border-color:#bfe4ca;
  background:#f4fbf6;
}
.v1512-week-progress.is-empty{
  background:#fafbfe;
}
.v1512-week-progress-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.v1512-week-progress-head strong{
  color:#44516a;
}
.v1512-week-progress-head>span{
  display:grid;
  place-items:center;
  min-width:42px;
  min-height:30px;
  padding:0 8px;
  border-radius:999px;
  background:#efecff;
  color:#5147c8;
  font-weight:900;
}
.v1512-week-progress-track{
  height:9px;
  overflow:hidden;
  border-radius:999px;
  background:#e9edf5;
}
.v1512-week-progress-track>span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6d5dfc,#3ab7ef);
}
.v1512-week-progress.is-done .v1512-week-progress-track>span{
  background:#42a765;
}
.v1512-week-progress-summary{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px 14px;
  color:#657188;
  font-size:.78rem;
  font-weight:750;
}
.v1512-week-progress-summary>strong{
  margin-left:auto;
  color:#4e5a72;
}
.v1512-week-progress-done{
  margin:0;
  padding:7px 9px;
  border-radius:9px;
  background:#eaf8ef;
  color:#18753b;
  font-size:.8rem;
  font-weight:850;
}
.v1512-week-progress.is-empty p{
  margin:0;
  color:#6d778b;
  font-size:.8rem;
}
@media(max-width:520px){
  .v1512-week-progress-summary{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .v1512-week-progress-summary>strong{
    margin-left:0;
  }
}

/* =========================================================
   V15.1.3 – Weekly quick filters
========================================================= */
.v1513-quick-filter-wrap{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px 8px;
}
.v1513-quick-filter-wrap>small{
  color:var(--muted);
  font-weight:850;
  white-space:nowrap;
}
.v1513-quick-filter{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.v1513-quick-filter button{
  min-height:34px;
}
.v1513-quick-filter button[data-v1513-quick-filter="overdue"].active{
  border-color:#e3aaa5;
  background:#fff0ef;
  color:#9f3d37;
}
.v1513-filter-results{
  display:grid;
  gap:8px;
  margin:8px 0 0;
}
.v1513-filter-results>p{
  margin:0;
  padding:10px 11px;
  border:1px dashed #d8deea;
  border-radius:10px;
  background:#fafbfe;
  color:#6c788d;
  font-size:.8rem;
}
@media(max-width:560px){
  .v1513-quick-filter-wrap{
    display:grid;
  }
  .v1513-quick-filter{
    width:100%;
  }
  .v1513-quick-filter button{
    flex:1 1 auto;
    justify-content:center;
  }
}

/* =========================================================
   V15.2.0 – Weekly learning rhythm
========================================================= */
.v1520-weekly-study{
  display:grid;
  gap:8px;
  margin:0 0 9px;
  padding:11px 12px;
  border:1px solid #dce3ef;
  border-radius:14px;
  background:#fff;
}
.v1520-weekly-study.is-done{
  border-color:#bfe4ca;
  background:#f4fbf6;
}
.v1520-weekly-study-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.v1520-weekly-study-head>div{
  display:grid;
  gap:2px;
}
.v1520-weekly-study-head strong{
  color:#44516a;
}
.v1520-weekly-study-head small{
  color:var(--muted);
}
.v1520-weekly-study-head>span{
  display:grid;
  place-items:center;
  min-width:44px;
  min-height:32px;
  padding:0 8px;
  border-radius:999px;
  background:#efecff;
  color:#5147c8;
  font-weight:900;
}
.v1520-weekly-study-track{
  height:9px;
  overflow:hidden;
  border-radius:999px;
  background:#e9edf5;
}
.v1520-weekly-study-track>span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6d5dfc,#3ab7ef);
}
.v1520-weekly-study.is-done .v1520-weekly-study-track>span{
  background:#42a765;
}
.v1520-weekly-study-summary{
  display:flex;
  flex-wrap:wrap;
  gap:7px 14px;
  color:#657188;
  font-size:.78rem;
  font-weight:750;
}
.v1520-weekly-study-days{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:5px;
}
.v1520-weekly-study-days>span{
  display:grid;
  justify-items:center;
  gap:2px;
  padding:6px 3px;
  border:1px solid #e2e6ee;
  border-radius:9px;
  background:#fafbfe;
  color:#778196;
}
.v1520-weekly-study-days>span.is-active{
  border-color:#c9d7f1;
  background:#f3f6ff;
  color:#4f5f7e;
}
.v1520-weekly-study-days>span.is-today{
  border-color:#7564f5;
  background:#f3f0ff;
  color:#5147c8;
}
.v1520-weekly-study-days small{
  font-size:.65rem;
  font-weight:850;
  text-transform:capitalize;
}
.v1520-weekly-study-days b{
  font-size:.72rem;
}
.v1520-weekly-study-done{
  margin:0;
  padding:7px 9px;
  border-radius:9px;
  background:#eaf8ef;
  color:#18753b;
  font-size:.8rem;
  font-weight:850;
}
@media(max-width:560px){
  .v1520-weekly-study-days{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

/* =========================================================
   V15.2.1 – Weekly regularity goal
========================================================= */
.v1521-regularity{
  display:grid;
  gap:6px;
  padding:8px 9px;
  border:1px solid #e0e5ee;
  border-radius:11px;
  background:#fafbfe;
}
.v1521-regularity.is-done{
  border-color:#c2e2cb;
  background:#f3faf5;
}
.v1521-regularity-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.v1521-regularity-head strong{
  color:#4b5871;
  font-size:.82rem;
}
.v1521-regularity-head span{
  min-width:40px;
  padding:3px 7px;
  border-radius:999px;
  background:#efecff;
  color:#5147c8;
  font-size:.76rem;
  font-weight:900;
  text-align:center;
}
.v1521-regularity-track{
  height:7px;
  overflow:hidden;
  border-radius:999px;
  background:#e8ecf4;
}
.v1521-regularity-track>span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6d5dfc,#3ab7ef);
}
.v1521-regularity.is-done .v1521-regularity-track>span{
  background:#42a765;
}
.v1521-regularity-summary{
  display:flex;
  flex-wrap:wrap;
  gap:5px 12px;
  color:#68748a;
  font-size:.72rem;
  font-weight:750;
}
.v1521-regularity>p{
  margin:0;
  padding:5px 7px;
  border-radius:8px;
  background:#e9f7ed;
  color:#18753b;
  font-size:.74rem;
  font-weight:850;
}
@media(max-width:520px){
  .v1521-regularity-summary{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* =========================================================
   V15.2.2 – Daily-goal study streak
========================================================= */
.v1522-goal-streak{
  display:grid;
  gap:6px;
  padding:8px 9px;
  border:1px solid #e0e5ee;
  border-radius:11px;
  background:#fafbfe;
}
.v1522-goal-streak.is-today-done{
  border-color:#f0cf9e;
  background:#fff9ef;
}
.v1522-goal-streak-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.v1522-goal-streak-head>div{
  display:grid;
  gap:2px;
}
.v1522-goal-streak-head strong{
  color:#4b5871;
  font-size:.82rem;
}
.v1522-goal-streak-head small{
  color:#747f93;
  font-size:.7rem;
}
.v1522-goal-streak-head>span{
  display:grid;
  place-items:center;
  min-width:40px;
  min-height:30px;
  padding:0 8px;
  border-radius:999px;
  background:#fff0dc;
  color:#a45c13;
  font-weight:900;
}
.v1522-goal-streak-stats{
  display:flex;
  flex-wrap:wrap;
  gap:5px 14px;
  color:#68748a;
  font-size:.72rem;
  font-weight:750;
}
.v1522-goal-streak>p{
  margin:0;
  padding:5px 7px;
  border-radius:8px;
  background:#f1f3f7;
  color:#68748a;
  font-size:.73rem;
  font-weight:800;
}
.v1522-goal-streak.is-today-done>p{
  background:#fff0dc;
  color:#92520f;
}
@media(max-width:520px){
  .v1522-goal-streak-stats{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
}

/* =========================================================
   V15.2.3 – Parent weekly regularity summary
========================================================= */
.v1523-parent-regularity{
  padding:0;
  overflow:hidden;
}
.v1523-parent-regularity-card{
  display:grid;
  gap:12px;
  padding:14px;
}
.v1523-parent-regularity-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.v1523-parent-regularity-head h3{
  margin:0;
}
.v1523-parent-regularity-head p{
  margin:3px 0 0;
  color:var(--muted);
  font-size:.8rem;
}
.v1523-parent-regularity-head>span{
  max-width:240px;
  padding:6px 9px;
  border-radius:999px;
  background:#f0f2f7;
  color:#68748a;
  font-size:.72rem;
  font-weight:800;
  text-align:center;
}
.v1523-parent-regularity-head>span.is-reached{
  background:#e8f7ed;
  color:#18753b;
}
.v1523-parent-regularity-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.v1523-parent-regularity-grid article{
  display:grid;
  gap:3px;
  padding:10px;
  border:1px solid #e0e5ee;
  border-radius:11px;
  background:#fafbfe;
}
.v1523-parent-regularity-grid small,
.v1523-parent-regularity-grid span{
  color:#748096;
  font-size:.72rem;
}
.v1523-parent-regularity-grid strong{
  color:#3f4c65;
  font-size:1.15rem;
}
.v1523-parent-progress-row{
  display:grid;
  gap:5px;
}
.v1523-parent-progress-row>div:first-child{
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:#68748a;
  font-size:.74rem;
  font-weight:800;
}
.v1523-parent-progress-track{
  height:8px;
  overflow:hidden;
  border-radius:999px;
  background:#e8ecf4;
}
.v1523-parent-progress-track>span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6d5dfc,#3ab7ef);
}
@media(max-width:720px){
  .v1523-parent-regularity-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:520px){
  .v1523-parent-regularity-head{
    display:grid;
  }
  .v1523-parent-regularity-head>span{
    max-width:none;
    justify-self:start;
  }
}

/* =========================================================
   V15.3.0 – Parent weekly insight
========================================================= */
.v1530-parent-insight{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:flex-start;
  gap:10px;
  padding:10px 11px;
  border:1px solid #dfe4ed;
  border-radius:11px;
  background:#fafbfe;
}
.v1530-parent-insight.is-good{
  border-color:#c8e4d0;
  background:#f3faf5;
}
.v1530-parent-insight.is-excellent{
  border-color:#ecd89d;
  background:#fffaf0;
}
.v1530-parent-insight.is-needs_attention{
  border-color:#ead6a7;
  background:#fffaf0;
}
.v1530-parent-insight-icon{
  font-size:1.45rem;
  line-height:1;
}
.v1530-parent-insight>div:last-child{
  display:grid;
  gap:3px;
}
.v1530-parent-insight strong{
  color:#435069;
}
.v1530-parent-insight p{
  margin:0;
  color:#657188;
  font-size:.78rem;
}
.v1530-parent-insight small{
  color:#59657b;
  font-weight:800;
}

/* =========================================================
   V15.3.1 – Parent previous-week comparison
========================================================= */
.v1531-previous-week{
  display:grid;
  gap:8px;
}
.v1531-previous-week>strong{
  color:#44516a;
}
.v1531-previous-week-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.v1531-previous-week-item{
  display:grid;
  gap:3px;
  padding:9px 10px;
  border:1px solid #e0e5ee;
  border-radius:10px;
  background:#fafbfe;
}
.v1531-previous-week-item small{
  color:#748096;
  font-size:.72rem;
}
.v1531-previous-week-item strong{
  color:#3f4c65;
}
.v1531-previous-week-item span{
  color:#6d788d;
  font-size:.72rem;
  font-weight:850;
}
.v1531-previous-week-item.is-up span{
  color:#18753b;
}
.v1531-previous-week-item.is-down span{
  color:#a13f39;
}
@media(max-width:700px){
  .v1531-previous-week-grid{
    grid-template-columns:1fr;
  }
}

.v1532-next-week{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px;border:1px solid #dfe4ed;border-radius:11px;background:#fafbfe}
.v1532-next-week.is-maintain{border-color:#ecd89d;background:#fffaf0}
.v1532-next-week.is-regularity{border-color:#cfd8f3;background:#f6f8ff}
.v1532-next-week.is-time{border-color:#c8e0f3;background:#f5fbff}
.v1532-next-week-icon{font-size:1.5rem;line-height:1}
.v1532-next-week-main{display:grid;gap:3px}
.v1532-next-week-main>strong{color:#44516a}
.v1532-next-week-main h4{margin:0;color:#354158;font-size:.92rem}
.v1532-next-week-main p{margin:0;color:#667188;font-size:.78rem}
.v1532-next-week-target{display:grid;gap:2px;min-width:130px;padding:8px 10px;border-radius:10px;background:#fff;text-align:center}
.v1532-next-week-target small{color:#778196;font-size:.68rem}
.v1532-next-week-target b{color:#44516a}
@media(max-width:700px){.v1532-next-week{grid-template-columns:auto minmax(0,1fr)}.v1532-next-week-target{grid-column:1/-1;width:100%}}

/* =========================================================
   V15.3.3 – Printable parent insight
========================================================= */
.v1533-print-insight-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.v1533-print-insight-grid article{
  padding:10px;
  border:1px solid #d8deea;
  border-radius:10px;
  background:#fafbfe;
}
.v1533-print-insight-grid h3{
  margin:0 0 6px;
  color:#3f4c65;
  font-size:.9rem;
}
.v1533-print-insight-grid p{
  margin:4px 0;
  color:#657188;
  font-size:.76rem;
}
@media(max-width:700px){
  .v1533-print-insight-grid{
    grid-template-columns:1fr;
  }
}
@media print{
  .v1533-print-insight-grid{
    grid-template-columns:1fr 1fr;
  }
  .v1533-print-insight-grid article{
    break-inside:avoid;
    background:#fff;
  }
}

/* =========================================================
   V15.4.0 – Student learning goals center
========================================================= */
.v1540-learning-goals{
  display:grid;
  gap:10px;
  margin:0 0 10px;
  padding:12px;
  border:1px solid #d9e0ec;
  border-radius:14px;
  background:#fff;
}
.v1540-learning-goals.is-done{
  border-color:#bfe4ca;
  background:#f5fbf7;
}
.v1540-learning-goals-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.v1540-learning-goals-head>div{
  display:grid;
  gap:2px;
}
.v1540-learning-goals-head strong{
  color:#44516a;
}
.v1540-learning-goals-head small{
  color:var(--muted);
}
.v1540-learning-goals-head>span{
  display:grid;
  place-items:center;
  min-width:44px;
  min-height:32px;
  padding:0 8px;
  border-radius:999px;
  background:#efecff;
  color:#5147c8;
  font-weight:900;
}
.v1540-learning-goals-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.v1540-learning-goals-grid article{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px 10px;
  padding:10px;
  border:1px solid #e0e5ee;
  border-radius:11px;
  background:#fafbfe;
}
.v1540-learning-goals-grid article.is-done{
  border-color:#c5e3cd;
  background:#f2faf4;
}
.v1540-learning-goals-grid article.is-empty{
  opacity:.75;
}
.v1540-learning-goals-grid article>div:first-child{
  display:grid;
  gap:2px;
}
.v1540-learning-goals-grid article strong{
  color:#48556e;
  font-size:.8rem;
}
.v1540-learning-goals-grid article span{
  color:#758095;
  font-size:.72rem;
}
.v1540-learning-goals-grid article>b{
  color:#4e5a72;
  font-size:.78rem;
}
.v1540-learning-goal-track{
  grid-column:1/-1;
  height:7px;
  overflow:hidden;
  border-radius:999px;
  background:#e8ecf4;
}
.v1540-learning-goal-track>span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6d5dfc,#3ab7ef);
}
.v1540-learning-goals-grid article.is-done .v1540-learning-goal-track>span{
  background:#42a765;
}
.v1540-learning-goals-done{
  margin:0;
  padding:7px 9px;
  border-radius:9px;
  background:#eaf8ef;
  color:#18753b;
  font-size:.8rem;
  font-weight:850;
}
@media(max-width:650px){
  .v1540-learning-goals-grid{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   V15.4.1 – Daily goal reward
========================================================= */
.v1541-daily-goal-reward{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto auto;
  align-items:center;
  gap:10px;
  margin:0 0 10px;
  padding:10px 11px;
  border:1px solid #e0e5ee;
  border-radius:12px;
  background:#fafbfe;
}
.v1541-daily-goal-reward.is-ready{
  border-color:#ecd89d;
  background:#fff9ef;
}
.v1541-daily-goal-reward.is-claimed{
  border-color:#c4e3cd;
  background:#f3faf5;
}
.v1541-daily-goal-reward-icon{
  font-size:1.45rem;
}
.v1541-daily-goal-reward-main{
  display:grid;
  gap:2px;
}
.v1541-daily-goal-reward-main strong{
  color:#44516a;
}
.v1541-daily-goal-reward-main small{
  color:#6f7a8e;
}
.v1541-daily-goal-reward-value{
  display:flex;
  flex-wrap:wrap;
  gap:5px 8px;
}
.v1541-daily-goal-reward-value span{
  padding:4px 7px;
  border-radius:999px;
  background:#fff;
  color:#5b667b;
  font-size:.72rem;
  font-weight:850;
}
.v1541-daily-goal-reward-state{
  display:grid;
  place-items:center;
  min-width:34px;
  min-height:34px;
  border-radius:999px;
  background:#edf0f5;
  color:#728096;
  font-weight:900;
}
.v1541-daily-goal-reward.is-claimed .v1541-daily-goal-reward-state{
  background:#e2f4e8;
  color:#18753b;
}
@media(max-width:700px){
  .v1541-daily-goal-reward{
    grid-template-columns:auto minmax(0,1fr);
  }
  .v1541-daily-goal-reward-value,
  .v1541-daily-goal-reward button,
  .v1541-daily-goal-reward-state{
    grid-column:1/-1;
  }
  .v1541-daily-goal-reward button{
    width:100%;
  }
}

/* =========================================================
   V15.4.2 – Priority goal
========================================================= */
.v1542-priority-goal{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  margin:0 0 10px;
  padding:11px 12px;
  border:1px solid #cfd8f3;
  border-radius:13px;
  background:#f6f8ff;
}
.v1542-priority-goal.is-done{
  border-color:#c4e3cd;
  background:#f3faf5;
}
.v1542-priority-goal-icon{
  font-size:1.6rem;
  line-height:1;
}
.v1542-priority-goal-main{
  display:grid;
  gap:3px;
}
.v1542-priority-goal-main>strong{
  color:#5147c8;
  font-size:.76rem;
  text-transform:uppercase;
  letter-spacing:.02em;
}
.v1542-priority-goal-main h4{
  margin:0;
  color:#354158;
  font-size:.95rem;
}
.v1542-priority-goal-main p{
  margin:0;
  color:#667188;
  font-size:.78rem;
}
.v1542-priority-goal-progress{
  display:grid;
  gap:2px;
  min-width:115px;
  padding:8px 10px;
  border-radius:10px;
  background:#fff;
  text-align:center;
}
.v1542-priority-goal-progress small{
  color:#7a8498;
  font-size:.67rem;
}
.v1542-priority-goal-progress b{
  color:#44516a;
}
.v1542-priority-goal-progress span{
  color:#5147c8;
  font-size:.72rem;
  font-weight:900;
}
.v1542-priority-goal.is-done .v1542-priority-goal-main>strong,
.v1542-priority-goal.is-done .v1542-priority-goal-progress span{
  color:#18753b;
}
@media(max-width:650px){
  .v1542-priority-goal{
    grid-template-columns:auto minmax(0,1fr);
  }
  .v1542-priority-goal-progress{
    grid-column:1/-1;
    width:100%;
  }
}

/* V15.4.3 – Parent-selected student priority */
.v1543-parent-priority{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(180px,260px);
  gap:8px 12px;
  align-items:center;
  padding:10px 11px;
  border:1px solid #dfe4ed;
  border-radius:11px;
  background:#fafbfe;
}
.v1543-parent-priority>div{display:grid;gap:2px}
.v1543-parent-priority strong{color:#44516a}
.v1543-parent-priority small{color:#748096}
.v1543-parent-priority select{
  width:100%;
  padding:8px 10px;
  border:1px solid #cfd6e2;
  border-radius:9px;
  background:#fff;
  color:#3f4c65;
  font-weight:750;
}
.v1543-parent-priority>span{
  grid-column:1/-1;
  min-height:1em;
  color:#18753b;
  font-size:.72rem;
  font-weight:800;
}
@media(max-width:650px){
  .v1543-parent-priority{grid-template-columns:1fr}
}

/* V15.4.3.4 – Daily reward action matches assignment buttons */
.v1541-claim-daily-goal-btn{
  min-width:92px;
  width:auto;
  white-space:nowrap;
}
@media(max-width:700px){
  .v1541-claim-daily-goal-btn{
    width:100%;
  }
}

/* V15.4.3.8 */
.v1210-achievement-popup[hidden],
.v129-level-up[hidden],
.v1210-achievement-popup:not(.is-visible),
.v129-level-up:not(.is-visible){pointer-events:none!important}
.v154338-result-error-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
@media(max-width:650px){.v154338-result-error-actions,.v154338-result-error-actions button{width:100%}}

/* V15.4.3.10 – guest/demo notice */
.v1543310-guest-demo-notice{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
  padding:12px 14px;
  border:1px solid #ecd18b;
  border-radius:13px;
  background:#fff9e8;
}
.v1543310-guest-demo-notice>div{
  display:grid;
  gap:3px;
}
.v1543310-guest-demo-notice strong{
  color:#745100;
}
.v1543310-guest-demo-notice span{
  color:#6f6754;
  font-size:.82rem;
}
@media(max-width:650px){
  .v1543310-guest-demo-notice{
    align-items:stretch;
    flex-direction:column;
  }
  .v1543310-guest-demo-notice button{
    width:100%;
  }
}

/* V15.4.4.2 – keep duration number and unit together */
.v12140-session-metrics span:last-child strong{
  white-space:nowrap;
}

/* V15.5.0 – learning areas foundation */
.v1550-learning-areas{margin:14px 0;padding:14px;border:1px solid #dce3f1;border-radius:16px;background:#fbfcff}
.v1550-learning-areas-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}
.v1550-learning-areas-head>div{display:grid;gap:3px}.v1550-learning-areas-head strong{color:#243252;font-size:1rem}.v1550-learning-areas-head span{color:#6c7892;font-size:.82rem}
.v1550-learning-areas-grid{display:grid;grid-template-columns:minmax(0,1.8fr) repeat(2,minmax(130px,1fr));gap:10px}
.v1550-learning-area-card{display:flex;align-items:center;gap:10px;min-width:0;padding:11px;border:1px solid #dfe5ef;border-radius:13px;background:#fff}
.v1550-learning-area-card.is-active{grid-row:span 2;align-items:flex-start;border-color:#a9d9ba;background:#f4fcf6}.v1550-learning-area-card.is-soon{opacity:.82;background:#f7f8fb}
.v1550-learning-area-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#eef2fb;font-size:1.35rem}
.v1550-learning-area-copy{display:grid;gap:3px;min-width:0;flex:1}.v1550-learning-area-copy strong{color:#1f2c49}.v1550-learning-area-copy small{color:#6b7690;line-height:1.35}
.v1550-learning-area-status{color:#6657d9;font-size:.68rem;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
.v1550-learning-area-progress{display:flex;gap:7px;margin-top:4px}.v1550-learning-area-progress span{padding:3px 7px;border-radius:999px;background:#e7f5eb;color:#286942;font-size:.72rem;font-weight:800}
@media(max-width:850px){.v1550-learning-areas-grid{grid-template-columns:1fr 1fr}.v1550-learning-area-card.is-active{grid-column:1/-1;grid-row:auto}}
@media(max-width:560px){.v1550-learning-areas-grid{grid-template-columns:1fr}.v1550-learning-area-card.is-active{grid-column:auto}}

/* V16.1.0.3 – active learning-area text and action use separate rows */
.v1550-learning-area-card.is-active{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:start;
  column-gap:12px;
  row-gap:12px;
}
.v1550-learning-area-card.is-active .v1550-learning-area-icon{
  grid-column:1;
  grid-row:1;
}
.v1550-learning-area-card.is-active .v1550-learning-area-copy{
  grid-column:2;
  grid-row:1;
  width:100%;
  min-width:0;
}
.v1550-learning-area-card.is-active .v1550-learning-area-copy strong{
  font-size:clamp(.98rem,1.35vw,1.08rem);
  line-height:1.18;
  overflow-wrap:anywhere;
}
.v1550-learning-area-card.is-active .v1550-learning-area-copy small{
  display:block;
  overflow-wrap:anywhere;
}
.v1550-learning-area-card.is-active .v1421-start-assignment-btn{
  grid-column:1 / -1;
  grid-row:2;
  align-self:end;
  justify-self:end;
  width:max-content;
  max-width:100%;
  margin:0;
  white-space:nowrap;
}
@media(max-width:560px){
  .v1550-learning-area-card.is-active .v1421-start-assignment-btn{
    width:100%;
    justify-self:stretch;
  }
}

/* V15.5.0.2 – indicate the scrolled-to practice area */
#trainingSetup.v15502-scroll-target{
  outline:3px solid rgba(100,87,217,.28);
  outline-offset:4px;
  transition:outline-color .25s ease;
}

/* V15.5.1 – skill-category progress */
.v1551-skill-progress-list{display:grid;gap:7px;margin-top:8px}
.v1551-skill-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 9px;border:1px solid #e1e6ef;border-radius:10px;background:#fff}
.v1551-skill-row-copy{display:grid;gap:2px;min-width:0}.v1551-skill-row-copy strong{font-size:.82rem;color:#263450}.v1551-skill-row-copy small{color:#74809a;font-size:.7rem}
.v1551-skill-row-result{display:grid;justify-items:end;gap:2px;flex:0 0 auto}.v1551-skill-row-result span{font-weight:850;color:#243252}.v1551-skill-row-result em{font-style:normal;font-size:.66rem;font-weight:800}
.v1551-skill-row[data-v1551-status="mastered"]{border-color:#b7dfc4;background:#f5fcf7}.v1551-skill-row[data-v1551-status="mastered"] em{color:#24804a}
.v1551-skill-row[data-v1551-status="learning"]{border-color:#d9d2ff;background:#faf9ff}.v1551-skill-row[data-v1551-status="learning"] em{color:#6657d9}
.v1551-skill-row[data-v1551-status="needs-work"]{border-color:#f1d3c7;background:#fff8f5}.v1551-skill-row[data-v1551-status="needs-work"] em{color:#b85d3b}
.v1551-skill-row[data-v1551-status="not-started"] em{color:#7c879d}
@media(max-width:620px){.v1551-skill-row{align-items:flex-start}}

/* V15.5.1.1 – detailed skill progress belongs in Statistics */
.v15511-skill-stats{margin:14px 0;padding:14px;border:1px solid #dce3f1;border-radius:16px;background:#fbfcff}
.v15511-skill-stats-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.v15511-skill-stats-head>div{display:grid;gap:3px}.v15511-skill-stats-head h3,.v15511-skill-stats-head p{margin:0}
.v15511-skill-stats-head p{color:#6c7892;font-size:.82rem}
.v15511-skill-stats-summary{padding:6px 9px;border-radius:999px;background:#edeaff;color:#5d50ce;font-size:.76rem;font-weight:850}
.v15511-skill-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
@media(max-width:650px){.v15511-skill-stats-grid{grid-template-columns:1fr}.v15511-skill-stats-head{flex-direction:column}.v15511-skill-stats-summary{align-self:flex-start}}

.v1552-session-module{display:inline-flex;width:max-content;margin-top:3px;padding:2px 6px;border-radius:999px;background:#eef2fb;color:#59647e;font-size:.62rem;font-weight:800}

/* V15.5.3 – parent and teacher module summaries */
.v1553-module-summary,
.v1553-teacher-module-summary{
  margin:14px 0;
  padding:14px;
  border:1px solid #dce3f1;
  border-radius:16px;
  background:#fbfcff;
}
.v1553-module-summary-head{
  margin-bottom:10px;
}
.v1553-module-summary-head>div{
  display:grid;
  gap:3px;
}
.v1553-module-summary-head strong{
  color:#243252;
}
.v1553-module-summary-head span{
  color:#6c7892;
  font-size:.8rem;
}
.v1553-module-summary-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:11px;
  border:1px solid #dfe5ef;
  border-radius:13px;
  background:#fff;
}
.v1553-module-summary-card>div:first-child{
  display:grid;
  gap:3px;
}
.v1553-module-summary-card small{
  color:#73809a;
}
.v1553-module-summary-metrics{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:6px;
}
.v1553-module-summary-metrics span{
  padding:4px 7px;
  border-radius:999px;
  background:#eef2fb;
  color:#45516d;
  font-size:.72rem;
  font-weight:800;
  white-space:nowrap;
}
@media(max-width:650px){
  .v1553-module-summary-card{
    align-items:flex-start;
    flex-direction:column;
  }
  .v1553-module-summary-metrics{
    justify-content:flex-start;
  }
}

/* V16.0.0 – Mathematics Hero brand foundation */
.v1600-brand{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:210px;
}
.v1600-brand-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:12px;
  background:#eeeaff;
  font-size:1.25rem;
}
.v1600-brand>span:last-child{
  display:grid;
  gap:1px;
}
.v1600-brand strong{
  color:#263450;
  font-size:.95rem;
  line-height:1.1;
}
.v1600-brand small{
  color:#6e7890;
  font-size:.66rem;
  line-height:1.2;
}
@media(max-width:820px){
  .v1600-brand{
    min-width:0;
  }
  .v1600-brand small{
    display:none;
  }
}
@media(max-width:580px){
  .v1600-brand strong{
    font-size:.8rem;
  }
  .v1600-brand-icon{
    width:34px;
    height:34px;
    flex-basis:34px;
  }
}

/* V16.0.0.2 – prevent top-bar overlap */
.topbar{
  display:grid;
  grid-template-columns:minmax(180px,210px) minmax(190px,230px) minmax(0,1fr);
  align-items:center;
  gap:10px;
}
.v1600-brand{
  min-width:0;
  width:100%;
}
.v1600-brand>span:last-child{
  min-width:0;
}
.v1600-brand strong,
.v1600-brand small{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#v1310ProfileSwitcherBtn{
  width:100%;
  min-width:0;
  overflow:hidden;
}
#v1310ProfileSwitcherBtn>span:nth-child(2){
  min-width:0;
}
#v1310ActiveProfileName{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.topstats{
  min-width:0;
  justify-content:flex-end;
  flex-wrap:nowrap;
}
.topstats .status-pill{
  min-width:0;
}
@media(max-width:1120px){
  .topbar{
    grid-template-columns:minmax(160px,190px) minmax(175px,210px) minmax(0,1fr);
  }
  .v1600-brand small{
    display:none;
  }
  .topstats .status-pill{
    padding-left:10px;
    padding-right:10px;
  }
}
@media(max-width:980px){
  .topbar{
    grid-template-columns:minmax(0,1fr) minmax(190px,230px);
  }
  .topstats{
    grid-column:1/-1;
    width:100%;
    justify-content:space-between;
    flex-wrap:wrap;
  }
}
@media(max-width:620px){
  .topbar{
    grid-template-columns:1fr;
  }
  .v1600-brand,
  #v1310ProfileSwitcherBtn,
  .topstats{
    grid-column:1;
  }
  .topstats{
    justify-content:flex-start;
  }
}


/* V16.0.0.2 – visible brand and reliable profile access */
@media (min-width:621px){
  .topbar{
    grid-template-columns:minmax(220px,1fr) minmax(0,2fr);
  }
  .v1600-brand{
    grid-column:1 / -1;
  }
  .v1600-brand strong,
  .v1600-brand small{
    overflow:visible;
    text-overflow:clip;
    white-space:normal;
  }
  #v1310ProfileSwitcherBtn{
    grid-column:1;
    justify-self:stretch;
  }
  .topstats{
    grid-column:2;
    width:100%;
    justify-content:flex-end;
    flex-wrap:wrap;
  }
}
@media (max-width:760px){
  .topbar{
    grid-template-columns:1fr;
  }
  .v1600-brand,
  #v1310ProfileSwitcherBtn,
  .topstats{
    grid-column:1;
  }
  .v1600-brand small{
    display:block;
  }
  .topstats{
    justify-content:flex-start;
  }
}

/* v16.1.0 – Clock and time module foundation */
.v1610-clock-area{margin:16px 0;padding:18px;border:1px solid #cfd9ef;border-radius:18px;background:#f8faff;scroll-margin-top:18px}
.v1610-clock-area[hidden]{display:none!important}
.v1610-clock-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.v1610-clock-head h2{margin:3px 0 5px;color:#223153}.v1610-clock-head p{margin:0;color:#65728b;line-height:1.45}
.v1610-clock-skills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.v1610-clock-skill{display:grid;gap:8px;padding:14px;border:1px solid #dce3f1;border-radius:14px;background:#fff}
.v1610-clock-skill strong{color:#243252}.v1610-clock-skill p{margin:5px 0 0;color:#69758d;font-size:.84rem;line-height:1.4}
.v1610-clock-skill>span{font-size:.76rem;font-weight:800;color:#56637d}.v1610-clock-skill>em{width:max-content;padding:4px 8px;border-radius:999px;background:#eef1f8;color:#66728a;font-size:.7rem;font-style:normal;font-weight:850}
.v1610-clock-skill[data-status="learning"]>em{background:#fff2c9;color:#835f00}.v1610-clock-skill[data-status="mastered"]>em{background:#e3f6e9;color:#21633a}
.v1610-clock-notice{margin-top:12px;padding:10px 12px;border-radius:12px;background:#eef3ff;color:#40547e;font-size:.82rem;font-weight:700}
@media(max-width:850px){.v1610-clock-skills{grid-template-columns:1fr 1fr}.v1610-clock-skill:last-child{grid-column:1/-1}}
@media(max-width:560px){.v1610-clock-head{display:grid}.v1610-clock-skills{grid-template-columns:1fr}.v1610-clock-skill:last-child{grid-column:auto}.v1610-clock-head .secondary-btn{width:100%}}

/* v16.1.1 – whole and half hour interactive practice */
.v1610-clock-skill{position:relative}.v1611-start-skill{min-height:40px;border:0;border-radius:11px;padding:9px 14px;background:linear-gradient(135deg,#6d5dfc,#3ab7ef);color:#fff;font-weight:900;cursor:pointer}.v1611-clock-practice{margin-top:14px;padding:16px;border:1px solid #d9e1f0;border-radius:16px;background:#fff}.v1611-clock-practice[hidden]{display:none!important}.v1611-practice-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.v1611-practice-head span{color:#6c7892;font-size:.78rem;font-weight:800}.v1611-practice-head h3{margin:4px 0 0;color:#243252}.v1611-practice-body{display:grid;grid-template-columns:minmax(220px,320px) minmax(220px,1fr);align-items:center;gap:24px}.v1611-clock-face{width:min(100%,300px);margin:auto}.v1611-clock-face svg{display:block;width:100%;filter:drop-shadow(0 8px 12px rgba(50,65,100,.12))}.v1611-face-ring{fill:#fbfcff;stroke:#6573dd;stroke-width:5}.v1611-hour-marks line{stroke:#263450;stroke-width:4;stroke-linecap:round}.v1611-hour-hand{stroke:#263450;stroke-width:10;stroke-linecap:round}.v1611-minute-hand{stroke:#5f52dd;stroke-width:6;stroke-linecap:round}.v1611-clock-pin{fill:#263450}.v1611-clock-answers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.v1611-clock-answers button{min-height:54px;border:2px solid #dce3f1;border-radius:13px;background:#fff;color:#263450;font-size:1.12rem;font-weight:900;cursor:pointer}.v1611-clock-answers button.is-correct{border-color:#55ad72;background:#edf9f1;color:#23663a}.v1611-clock-answers button.is-wrong{border-color:#df766c;background:#fff1ef;color:#983c34}.v1611-clock-feedback{min-height:24px;margin:12px 0;font-weight:850}.v1611-clock-feedback.ok{color:#267044}.v1611-clock-feedback.bad{color:#a3483e}#v1611ClockNext{width:auto;min-width:150px;margin-left:auto}@media(max-width:700px){.v1611-practice-body{grid-template-columns:1fr}.v1611-clock-face{max-width:240px}}@media(max-width:420px){.v1611-clock-answers{grid-template-columns:1fr}.v1611-practice-head{display:grid}#v1611ClockNext{width:100%}}


/* v16.1.1.3 – full clock round UX and consistent skill statuses */
.v1610-clock-skill[data-status="not-started"]>em{background:#fff;border:1px solid #dfe5ef;color:#66728a}
.v1611-clock-practice{position:relative;min-height:620px;padding:24px 22px;background:#fff}
.v1611-round-top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;color:#626d88;font-weight:900}
.v1611-round-top>:last-child{justify-self:end}.v1611-round-top>:nth-child(2){padding:9px 15px;border-radius:999px;background:#eef9f3;color:#137843}
.v1611-round-meta{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:16px 0 12px}.v1611-round-meta span{padding:8px 13px;border-radius:999px;background:#f0edff;color:#6753e7;font-weight:850}
.v1611-progress-track{height:12px;margin-bottom:28px;border-radius:999px;background:#e9edf5;overflow:hidden}.v1611-progress-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#6d5dfc,#3ab7ef);transition:width .25s ease}
.v1611-practice-head{text-align:center;justify-content:center}.v1611-practice-head h3{font-size:1.15rem}
.v1611-practice-body{grid-template-columns:minmax(240px,360px) minmax(300px,1fr);max-width:820px;margin:0 auto}
.v1611-time-entry{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:10px}.v1611-time-entry label{display:grid;gap:6px;color:#66728a;font-size:.76rem;font-weight:800}.v1611-time-entry input{width:100%;min-height:72px;border:3px solid #6d5dfc;border-radius:16px;text-align:center;font-size:2rem;font-weight:900;color:#17244d}.v1611-time-entry>b{padding-bottom:18px;font-size:2rem}.v1611-time-entry button{grid-column:1/-1;min-height:52px;border:0;border-radius:13px;background:linear-gradient(135deg,#6d5dfc,#3ab7ef);color:#fff;font-weight:900}
#v1611ClockExit{display:block;width:100%;margin-top:10px}.v1611-clock-feedback{text-align:center;font-size:1rem}
@media(max-width:700px){.v1611-round-top{grid-template-columns:1fr 1fr}.v1611-round-top>:nth-child(2){grid-column:1/-1;grid-row:1;justify-self:center}.v1611-round-top>:last-child{justify-self:end}.v1611-practice-body{grid-template-columns:1fr}.v1611-clock-practice{min-height:auto;padding:16px}.v1611-time-entry{max-width:420px;margin:auto}}


/* v16.1.1.3 – standalone clock screen, form spacing and equal status badges */
#v1611ClockPractice.screen{
  margin-top:0;
}
.v1611-time-entry{
  row-gap:16px;
}
.v1611-time-entry input:focus{
  outline:4px solid rgba(255,181,27,.95);
  outline-offset:4px;
}
.v1611-time-entry button{
  margin-top:10px;
}
.v1610-clock-skill{
  grid-template-rows:minmax(0,1fr) auto auto auto;
  align-content:stretch;
}
.v1610-clock-skill>em{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  box-sizing:border-box;
  line-height:1;
  white-space:nowrap;
}
.v1610-clock-skill:not(:has(.v1611-start-skill))::after{
  content:"";
  display:block;
  min-height:40px;
}
@media(max-width:700px){
  .v1611-time-entry button{margin-top:12px}
}

/* v16.1.3 – time duration practice */
.v1613-duration-clocks{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;width:100%}
.v1613-duration-clocks>div{display:grid;justify-items:center;gap:6px;min-width:0}.v1613-duration-clocks>div>b{font-size:.78rem;color:#44516d;text-align:center}.v1613-duration-clocks>span{font-size:1.7rem;font-weight:900;color:#6657d9}.v1613-duration-clocks svg{max-width:180px}
@media(max-width:520px){.v1613-duration-clocks{grid-template-columns:1fr}.v1613-duration-clocks>span{transform:rotate(90deg)}}


/* v16.1.4 – cross-area statistics */
.v1614-clock-stats-grid,.v1614-module-summary-list{display:grid;gap:10px}
.v1614-clock-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.v1614-clock-stat-card{display:grid;gap:9px;padding:13px;border:1px solid #dfe5ef;border-radius:13px;background:#fff}
.v1614-clock-stat-card strong{color:#243252}
.v1614-clock-stat-metrics{display:flex;flex-wrap:wrap;gap:6px}
.v1614-clock-stat-metrics span{padding:4px 7px;border-radius:999px;background:#eef2fb;color:#45516d;font-size:.72rem;font-weight:800}
.v1614-clock-stat-card em{width:max-content;padding:4px 8px;border-radius:999px;background:#eef1f8;color:#66728a;font-size:.7rem;font-style:normal;font-weight:850}
.v1614-module-summary-list .v1553-module-summary-card+ .v1553-module-summary-card{margin-top:0}
@media(max-width:850px){.v1614-clock-stats-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.v1614-clock-stats-grid{grid-template-columns:1fr}}

/* v16.1.4.1 – unified module statistics */
.v1614-clock-stats-grid{align-items:stretch}
.v1614-clock-stat-card{grid-template-rows:auto auto 1fr;min-height:150px}
.v16141-clock-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;align-self:end;flex-wrap:wrap}
.v16141-clock-medal{font-size:.72rem;font-weight:850;color:#56637d;white-space:nowrap}
.v1553-module-summary-card{min-height:104px}
.v1553-module-summary-metrics span{white-space:nowrap}


/* v16.1.4.4 – unified learning medal groups */
.v16144-medal-group-title{grid-column:1/-1;margin:12px 0 2px;color:#263450;font-size:1rem}
.v16144-clock-medal-card>strong{min-height:2.4em;line-height:1.2;text-align:center}
.v16144-clock-medal-card{min-width:0}


/* V16.1.4.6 – locale-safe percentages and two-line medal collection counts */
.v16146-collection-skills{display:grid!important;gap:1px;line-height:1.15}
.v16146-collection-skills span{font-weight:800;color:var(--muted)}
.v16146-collection-skills b{font-weight:900;color:var(--ink);white-space:nowrap}


/* V16.1.5 – final responsive stabilization */
:root{--v16151-responsive-stabilized:1}
@media (min-width:1000px){
  .v1550-learning-areas-grid{
    grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(150px,.82fr);
  }
}
.v1611-round-top>*{min-width:0}
.v1611-round-type-row{flex-wrap:wrap}
.v1611-clock-answers button{overflow-wrap:anywhere}
.v1611-time-entry{gap:14px}
.v1614-clock-stat-card,.v16144-clock-medal-card{min-width:0;overflow:hidden}
.v1614-clock-stat-metrics{align-content:flex-start}
@media (max-width:760px){
  .v1611-round-top{grid-template-columns:1fr 1fr;gap:10px}
  .v1611-round-top>:nth-child(2){grid-column:1/-1;grid-row:auto;justify-self:stretch;text-align:center}
  .v1611-practice-body{gap:18px}
  .v1611-clock-answers{width:100%}
  .v1613-duration-clocks svg{width:min(100%,190px)}
}
@media (max-width:480px){
  .v1611-round-top{grid-template-columns:1fr}
  .v1611-round-top>*{justify-self:stretch!important;text-align:center}
  .v1611-clock-practice{padding:13px 12px}
  .v1611-clock-face{max-width:220px}
  .v1611-clock-answers{grid-template-columns:1fr}
  .v1611-time-entry{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px}
  .v1614-clock-stat-card{min-height:0}
  .v16146-collection-skills{align-items:center}
}


/* V16.2.0.1 – Measurement module foundation */
.v1620-measurement-area{margin:16px 0;padding:18px;border:1px solid #cfd9ef;border-radius:18px;background:#f8faff;scroll-margin-top:18px}
.v1620-measurement-area[hidden]{display:none!important}
.v1620-measurement-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.v1620-measurement-head h2{margin:3px 0 5px;color:#223153}.v1620-measurement-head p{margin:0;color:#65728b;line-height:1.45}
.v1620-measurement-skills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.v1620-measurement-skill{display:grid;gap:8px;min-height:170px;padding:14px;border:1px solid #dce3f1;border-radius:14px;background:#fff}
.v1620-measurement-skill strong{color:#243252}.v1620-measurement-skill p{margin:5px 0 0;color:#69758d;font-size:.84rem;line-height:1.4}
.v1620-measurement-skill>span{font-size:.76rem;font-weight:800;color:#56637d}.v1620-measurement-skill>em{align-self:end;width:max-content;min-height:28px;display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#eef1f8;color:#66728a;font-size:.7rem;font-style:normal;font-weight:850}
.v1620-measurement-notice{margin-top:12px;padding:10px 12px;border-radius:12px;background:#eef3ff;color:#40547e;font-size:.82rem;font-weight:700}
@media(max-width:850px){.v1620-measurement-skills{grid-template-columns:1fr 1fr}.v1620-measurement-skill:last-child{grid-column:1/-1}}
@media(max-width:560px){.v1620-measurement-head{display:grid}.v1620-measurement-skills{grid-template-columns:1fr}.v1620-measurement-skill:last-child{grid-column:auto}.v1620-measurement-head .secondary-btn{width:100%}}

/* v16.2.1 – Length and distance practice */
.v1621-measurement-practice{max-width:920px;margin-inline:auto}
.v1621-measurement-visual{display:grid;place-items:center;min-height:150px;margin:8px 0 18px;padding:18px;border:1px solid #dce3f1;border-radius:18px;background:#fbfcff}
.v1621-ruler{display:flex;align-items:baseline;justify-content:center;gap:12px;flex-wrap:wrap;font-size:1.35rem}.v1621-ruler span,.v1621-ruler strong{font-size:2.2rem;color:#253453}.v1621-ruler i{font-style:normal;color:#6657d9;font-size:2rem}
.v1621-entry{display:flex;align-items:flex-end;justify-content:center;gap:14px;flex-wrap:wrap}.v1621-entry label{display:grid;gap:6px;font-weight:800}.v1621-entry input{width:150px;min-height:54px;text-align:center;font-size:1.35rem;border:2px solid #cfd8e8;border-radius:12px}.v1621-entry button{min-height:48px;margin-left:8px;border:0;border-radius:11px;padding:10px 18px;background:linear-gradient(135deg,#6d5dfc,#3ab7ef);color:#fff;font-weight:900}
.v1620-measurement-skill{display:grid;grid-template-rows:auto auto minmax(28px,auto) auto;align-content:start}.v1620-measurement-skill .v1611-start-skill{margin-top:4px}
@media(max-width:560px){.v1621-entry{display:grid}.v1621-entry input,.v1621-entry button{width:100%;margin-left:0}.v1621-ruler span,.v1621-ruler strong{font-size:1.8rem}}


/* V16.2.1.4 – length comparison and accessible answer controls */
.v16211-compare{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px;width:min(100%,620px);margin:0 auto;padding:18px;border:1px solid #d8e1f0;border-radius:18px;background:#fff}
.v16211-compare span{padding:16px 12px;border-radius:14px;background:#eef3ff;color:#263450;font-size:clamp(1.15rem,3vw,1.65rem);font-weight:900;text-align:center}
.v16211-compare b{font-size:2rem;color:#6657d9}
.v16211-compare-entry{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:14px}
.v16211-compare-entry select{min-width:100px;min-height:52px;padding:8px 16px;border:2px solid #cbd6e9;border-radius:12px;background:#fff;font-size:1.45rem;font-weight:900;text-align:center}
.v16211-compare-entry button{min-height:52px;padding:10px 20px;border:0;border-radius:12px;background:linear-gradient(135deg,#6d5dfc,#3ab7ef);color:#fff;font-weight:900}
@media(max-width:520px){.v16211-compare{gap:8px;padding:12px}.v16211-compare span{padding:12px 8px}.v16211-compare-entry{align-items:stretch;flex-direction:column}.v16211-compare-entry select,.v16211-compare-entry button{width:100%}}


/* V16.2.2.6 – mass comparison controls and round actions */
.v16211-compare-entry{position:relative;z-index:2}
.v16211-compare-entry label,.v16211-compare-entry select{position:relative;z-index:3;pointer-events:auto}
.v16211-compare-entry select{cursor:pointer;appearance:auto;-webkit-appearance:menulist}
#v1621MeasurementNext,#v1621MeasurementExit{position:relative;z-index:2;pointer-events:auto}
#v1621MeasurementExit:empty{display:none}


/* V16.2.2.6 – centered comparison answer controls */
.v16211-compare-entry{
  width:min(100%,620px);
  margin:28px auto 0;
  justify-content:center;
  gap:18px;
}
.v16226-compare-control{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  min-width:0;
}
.v16226-compare-label{
  color:#253453;
  font-weight:700;
  white-space:nowrap;
}
.v16211-compare-entry select{
  min-width:136px;
}
@media(max-width:620px){
  .v16211-compare-entry{
    display:grid;
    justify-items:center;
    gap:14px;
  }
  .v16226-compare-control{
    display:grid;
    justify-items:center;
    gap:10px;
    width:100%;
  }
  .v16211-compare-entry select,
  .v16211-compare-entry button{
    width:min(100%,280px);
  }
}


/* V16.2.2.8 – truly centered comparison controls and non-wrapping action */
.v16211-compare-entry{
  display:grid;
  grid-template-columns:auto auto;
  align-items:center;
  justify-content:center;
  column-gap:22px;
  width:max-content;
  max-width:100%;
  margin:30px auto 0;
}
.v16226-compare-control{
  display:grid;
  grid-template-columns:auto minmax(150px,auto);
  align-items:center;
  justify-content:center;
  gap:20px;
}
.v16211-compare-entry button{
  width:auto;
  min-width:132px;
  min-height:54px;
  padding:10px 24px;
  white-space:nowrap;
  line-height:1.15;
  overflow:visible;
}
.v16211-compare-entry select{
  min-width:150px;
}
@media(max-width:620px){
  .v16211-compare-entry{
    grid-template-columns:1fr;
    justify-items:center;
    width:100%;
    row-gap:16px;
  }
  .v16226-compare-control{
    grid-template-columns:1fr;
    justify-items:center;
    width:100%;
    gap:10px;
  }
  .v16211-compare-entry select,
  .v16211-compare-entry button{
    width:min(100%,280px);
  }
}


/* V16.2.2.8 – force comparison controls to the true horizontal center */
#v1621MeasurementAnswers:has(.v16211-compare-entry){
  display:block !important;
  width:100% !important;
}
.v16211-compare-entry{
  position:relative !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  width:max-content !important;
  max-width:calc(100% - 24px) !important;
  margin:30px 0 0 !important;
}
@media(max-width:620px){
  .v16211-compare-entry{
    left:0 !important;
    transform:none !important;
    width:100% !important;
    margin:24px auto 0 !important;
  }
}


/* V16.2.3.3 – center numeric measurement answer controls */
#v1621MeasurementAnswers:has(.v1621-entry){
  display:block !important;
  width:100% !important;
}
.v1621-entry{
  width:max-content;
  max-width:calc(100% - 24px);
  margin:30px auto 0;
  align-items:end;
  justify-content:center;
  gap:22px;
}
.v1621-entry button{
  min-width:132px;
  min-height:54px;
  margin-left:0;
  padding:10px 24px;
  white-space:nowrap;
  line-height:1.15;
}
@media(max-width:560px){
  .v1621-entry{
    width:100%;
    max-width:100%;
    justify-items:center;
    margin:24px auto 0;
    gap:14px;
  }
  .v1621-entry label,
  .v1621-entry input,
  .v1621-entry button{
    width:min(100%,280px);
  }
}

/* V16.2.3.3 – Capacity and volume skill */
.v1620-measurement-skill[data-measurement-skill="capacity-volume"]{min-width:0}


/* v16.2.3.3 – equal learning-area cards and anchored language menu */
@media (min-width:1000px){
  .v1550-learning-areas-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    align-items:stretch;
  }
  .v1550-learning-area-card,
  .v1550-learning-area-card.is-active,
  .v1550-learning-area-card.is-soon{
    grid-column:auto!important;
    grid-row:auto!important;
    width:auto;
    min-width:0;
    min-height:190px;
  }
}
.language-menu-anchored{
  transform:none!important;
}
@media(max-width:720px){
  .language-menu-anchored{
    width:min(240px,calc(100vw - 24px))!important;
  }
}


/* v16.2.3.3 – learning hub routing and exact desktop language-menu anchor */
#trainingSetup[hidden]{display:none!important}
@media(min-width:721px){
 .language-menu-anchored{left:auto!important}
}


/* v16.2.3.3 – dedicated learning-area screen, consistent statuses, exact language anchor */
.v16233-learning-hub-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.v16233-learning-hub-head h1{margin:4px 0 5px;color:#172548}.v16233-learning-hub-head p{margin:0;color:#69758d}
#v16233LearningHubBody>.v1550-learning-areas{margin-top:0}
#v16233LearningHubBody>#trainingSetup,#v16233LearningHubBody>.v1610-clock-area,#v16233LearningHubBody>.v1620-measurement-area{margin-top:0}
.v1620-measurement-skill[data-status="learning"]>em{background:#fff2c9;color:#835f00}
.v1620-measurement-skill[data-status="mastered"]>em{background:#e3f6e9;color:#21633a}
.v1620-measurement-skill[data-status="not-started"]>em{background:#eef1f8;color:#66728a}
.v1620-measurement-notice[hidden]{display:none!important}
@media(max-width:620px){.v16233-learning-hub-head{display:grid}.v16233-learning-hub-head .secondary-btn{width:100%}}
@media(min-width:721px){
 .language-menu-anchored{
  left:var(--lh-language-menu-left,auto)!important;
  right:auto!important;
 }
}


/* v16.2.4.1 – learning hub navigation, unified results and exact language anchor */
.v16233-learning-hub-head{display:block}
.v16234-learning-hub-back{display:block;width:100%;margin-top:18px}
.v16234-internal-close{display:none!important}
.v1610-clock-head,.v1620-measurement-head{display:block!important}
.v1610-clock-head>div,.v1620-measurement-head>div{width:100%;max-width:none}
.result-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
#v128DailyReward{margin-top:18px}
#v12130SmartPractice{margin-top:14px;margin-bottom:18px}
@media(min-width:721px){.language-menu-anchored{left:auto!important}}
@media(max-width:760px){.result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){.result-grid{grid-template-columns:1fr}}

/* v16.2.4.1 – exact language anchor and measurement integration */
@media(min-width:721px){.language-menu-anchored{left:auto!important;right:var(--lh-language-menu-right,12px)!important}}
.v1624-measurement-stat-card{min-height:138px}
.v1624-assignment-module,.v1624-assignment-type{width:100%}


/* v16.2.4.1 – teacher assignment filtering, unified statistics cards and stable language menu */
.v16241-measurement-stats{
  margin:14px 0;
  padding:14px;
  border:1px solid #dce3f1;
  border-radius:16px;
  background:#fbfcff;
}
.v1614-clock-stat-card em[data-status="mastered"]{
  background:#e3f6e9;
  color:#21633a;
  border:1px solid transparent;
}
.v1614-clock-stat-card em[data-status="learning"]{
  background:#fff2c9;
  color:#835f00;
  border:1px solid transparent;
}
.v1614-clock-stat-card em[data-status="needs-work"]{
  background:#fff0e8;
  color:#a54d2d;
  border:1px solid #f1d3c7;
}
.v1614-clock-stat-card em[data-status="not-started"]{
  background:#fff;
  color:#66728a;
  border:1px solid #dfe5ef;
}
.v16241-operation-field[hidden],
.v16241-difficulty-field[hidden],
.v16241-table-field[hidden]{display:none!important}
.language-menu-anchored{
  right:auto!important;
  transform:none!important;
}
@media(min-width:721px){
  .language-menu-anchored{
    right:auto!important;
  }
}

/* v16.2.4.1 – final viewport anchor override */
.language-menu-anchored{
  left:var(--lh-language-menu-left,12px)!important;
  right:auto!important;
}

/* v16.2.4.2 – unified learning status badges */
.v1610-clock-skill>em,
.v1620-measurement-skill>em,
#v1614ClockStats .v1614-clock-stat-card em[data-status],
#v1624MeasurementStats .v1614-clock-stat-card em[data-status],
#v1644MoneyStats .v1614-clock-stat-card em[data-status]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:4px 9px;
  border-radius:999px;
  line-height:1;
  white-space:nowrap;
}
.v1620-measurement-skill[data-status="not-started"]>em{
  background:#fff;
  border:1px solid #dfe5ef;
  color:#66728a;
}
.v1620-measurement-skill[data-status="needs-work"]>em{
  background:#fff0e8;
  border:1px solid #f1d3c7;
  color:#a54d2d;
}


/* v16.2.4.4 – teacher module cards and exact learning-status dimensions */
#v1614ClockStats .v1614-clock-stat-card em[data-status],
#v1624MeasurementStats .v1614-clock-stat-card em[data-status],
#v1644MoneyStats .v1614-clock-stat-card em[data-status]{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  height:28px!important;
  min-height:28px!important;
  padding:4px 9px;
  line-height:18px;
  white-space:nowrap;
}


/* v16.2.4.4 – module-aware edit forms, direct navigation and unified learning plans */
.v16244-learning-hub-actions,
.v16244-result-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:18px;
}
.v16244-learning-hub-actions .v16234-learning-hub-back,
.v16244-learning-hub-actions .v16244-learning-hub-menu,
.v16244-result-actions .secondary-btn{
  width:100%;
  margin:0;
}
.v16244-plan-modules{display:grid;gap:14px;margin-top:16px}
.v16244-plan-module{padding:14px;border:1px solid #dce3f1;border-radius:16px;background:#fbfcff}
.v16244-plan-module-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.v16244-plan-module-head>span{padding:5px 9px;border-radius:999px;background:#eeeaff;color:#5d50ce;font-size:.72rem;font-weight:850;white-space:nowrap}
.v16244-plan-skill-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.v16244-plan-skill{display:grid;grid-template-rows:auto auto 1fr;gap:8px;min-width:0;padding:12px;border:1px solid #dfe5ef;border-radius:13px;background:#fff}
.v16244-plan-skill>div{display:flex;flex-wrap:wrap;gap:6px;font-size:.72rem;color:#56637d}
.v16244-plan-skill>em{align-self:end;justify-self:start;display:inline-flex;align-items:center;justify-content:center;height:28px;padding:4px 9px;box-sizing:border-box;border-radius:999px;font-size:.7rem;font-style:normal;font-weight:850;white-space:nowrap}
.v16244-plan-skill.is-mastered>em{background:#e3f6e9;color:#21633a}
.v16244-plan-skill.is-learning>em{background:#fff2c9;color:#835f00}
.v16244-plan-skill.is-not-started>em{background:#fff;border:1px solid #dfe5ef;color:#66728a}
.v1428-edit-form .v16241-operation-field[hidden],
.v1428-edit-form .v16241-difficulty-field[hidden],
.v1428-edit-form .v16241-table-field[hidden]{display:none!important}
@media(max-width:760px){
 .v16244-learning-hub-actions,.v16244-result-actions{grid-template-columns:1fr}
 .v16244-plan-skill-grid{grid-template-columns:1fr}
 .v16244-plan-module-head{align-items:flex-start;flex-direction:column}
}


/* v16.2.5 – Measurement branch responsive and presentation stabilization */
:root{--lh-v1625-stabilized:1}
.v1620-measurement-skills{align-items:stretch}
.v1620-measurement-skill{
  height:100%;
  min-width:0;
  grid-template-rows:minmax(0,1fr) auto 28px auto;
}
.v1620-measurement-skill>div{min-width:0}
.v1620-measurement-skill strong,
.v1620-measurement-skill p{overflow-wrap:anywhere}
.v1620-measurement-skill>em{box-sizing:border-box;height:28px;min-height:28px}
.v1621-measurement-practice{width:min(100%,920px);overflow-x:clip}
.v1621-measurement-visual,
#v1621MeasurementAnswers{min-width:0;width:100%;box-sizing:border-box}
.v16211-compare{box-sizing:border-box}
.v1621-entry input,
.v16211-compare-entry select{box-sizing:border-box}
@media(max-width:760px){
  .v1620-measurement-skills{grid-template-columns:1fr}
  .v1620-measurement-skill:last-child{grid-column:auto}
  .v1621-measurement-practice{padding-inline:16px}
  .v1621-measurement-visual{min-height:130px;padding:14px}
}
@media(max-width:520px){
  .v16211-compare{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;padding:10px}
  .v16211-compare span{min-width:0;padding:11px 6px;font-size:clamp(1rem,6vw,1.35rem)}
  .v16211-compare b{font-size:1.55rem}
  .v1621-ruler{flex-wrap:wrap;justify-content:center}
  .v1621-measurement-practice .v1611-round-top,
  .v1621-measurement-practice .v1611-round-meta{gap:8px}
}

/* v16.4.2 – Pinigų modulio pagrindas */
.v1640-money-area{margin:16px 0;padding:18px;border:1px solid #e4d5a8;border-radius:18px;background:#fffaf0;scroll-margin-top:18px}
.v1640-money-area[hidden]{display:none!important}
.v1640-money-head{display:block;margin-bottom:14px}
.v1640-money-head h2{margin:3px 0 5px;color:#4d3b16}
.v1640-money-head p{margin:0;color:#716446;line-height:1.45}
.v1640-money-skills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
.v1640-money-skill{display:grid;grid-template-rows:auto auto 28px auto;align-content:start;gap:8px;min-height:176px;padding:14px;border:1px solid #eadfbf;border-radius:14px;background:#fff;min-width:0}
.v1640-money-skill strong{color:#4d3b16}.v1640-money-skill p{margin:5px 0 0;color:#74694f;font-size:.84rem;line-height:1.4;overflow-wrap:anywhere}
.v1640-money-skill>span{font-size:.76rem;font-weight:800;color:#665a40}
.v1640-money-skill>em{box-sizing:border-box;width:max-content;height:28px;min-height:28px;display:inline-flex;align-items:center;padding:4px 8px;border:1px solid #d8dce6;border-radius:999px;background:#fff;color:#66728a;font-size:.7rem;font-style:normal;font-weight:850}
.v1640-money-skill>small{align-self:end;color:#8b6e1f;font-weight:800}
.v1640-money-skill[data-status="learning"]>em{background:#fff2c9;color:#835f00}
.v1640-money-skill[data-status="mastered"]>em{background:#e3f6e9;color:#21633a}
.v1640-money-notice{margin-top:12px;padding:10px 12px;border-radius:12px;background:#fff0bf;color:#6e5513;font-size:.82rem;font-weight:700}
#v16233LearningHubBody>.v1640-money-area{margin-top:0}
@media(max-width:850px){.v1640-money-skills{grid-template-columns:1fr 1fr}.v1640-money-skill:last-child{grid-column:1/-1}}
@media(max-width:560px){.v1640-money-skills{grid-template-columns:1fr}.v1640-money-skill:last-child{grid-column:auto}}

/* v16.4.2 – Coins and banknotes practice */
.v1641-money-practice{width:min(100%,920px);margin-inline:auto;overflow-x:clip}
.v1641-money-visual{display:grid;place-items:center;min-height:245px;margin:8px 0 18px;padding:22px;border:1px solid #eadfbf;border-radius:20px;background:radial-gradient(circle at 50% 24%,#fffef8 0,#fff8df 58%,#f8edc6 100%)}
.v1641-money-token{position:relative;display:inline-flex;align-items:center;justify-content:center;isolation:isolate;filter:drop-shadow(0 12px 12px rgba(87,67,20,.18));user-select:none}
.v1641-money-token strong{position:relative;z-index:2;font-size:clamp(2rem,6vw,4rem);line-height:1;font-weight:950;letter-spacing:-.05em}
.v1641-money-token small{position:relative;z-index:2;margin-left:.18em;font-size:clamp(.85rem,2.1vw,1.25rem);font-weight:950}
.v1641-money-token.is-coin{width:180px;aspect-ratio:1;border:10px solid #d7b34e;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff7c9 0,#f3d66b 34%,#c79b2d 72%,#f6dc7b 100%);color:#634a0a;box-shadow:inset 0 0 0 5px rgba(255,255,255,.45),inset 0 0 0 12px rgba(122,83,8,.16)}
.v1641-money-token.is-coin.value-1c,.v1641-money-token.is-coin.value-2c,.v1641-money-token.is-coin.value-5c{border-color:#b86e43;background:radial-gradient(circle at 35% 30%,#ffd4b5 0,#d88b59 42%,#a95731 74%,#e8a174 100%);color:#592813}
.v1641-money-token.is-coin.value-1e,.v1641-money-token.is-coin.value-2e{border-color:#e2c85f;background:radial-gradient(circle at center,#d8d8cf 0 42%,#d5b33f 43% 72%,#f1dc78 100%);color:#423914}
.v1641-money-token.is-banknote{width:min(88vw,360px);aspect-ratio:1.95;border:5px solid rgba(255,255,255,.65);border-radius:16px;background:linear-gradient(135deg,#d7efdc,#91c8a2);color:#184b2b;box-shadow:inset 0 0 0 4px rgba(31,92,51,.2),inset 0 0 0 15px rgba(255,255,255,.18)}
.v1641-money-token.is-banknote::before,.v1641-money-token.is-banknote::after{content:"€";position:absolute;display:grid;place-items:center;width:50px;aspect-ratio:1;border:2px solid currentColor;border-radius:50%;font-weight:950;opacity:.38}
.v1641-money-token.is-banknote::before{left:18px;top:18px}.v1641-money-token.is-banknote::after{right:18px;bottom:18px}
.v1641-money-token.value-10e{background:linear-gradient(135deg,#f4d8d0,#dc8d76);color:#73331f}
.v1641-money-token.value-20e{background:linear-gradient(135deg,#d5e8f7,#78afd3);color:#184c70}
.v1641-money-token.value-50e{background:linear-gradient(135deg,#f2e0c5,#d49a4d);color:#6a3d08}
.v1641-money-token.value-100e{background:linear-gradient(135deg,#d9e9c1,#8db65e);color:#315510}
.v1641-money-token.value-200e{background:linear-gradient(135deg,#ead7e7,#b77aad);color:#5e2557}
.v1641-money-answers{width:min(100%,620px);margin-inline:auto}
.v1641-money-answers button{font-size:1.15rem}
.v1641-money-practice #v1641MoneyNext{display:block;width:min(100%,240px);min-width:170px;margin:12px auto 0}.v1641-money-next-hint{display:block;margin:7px auto 0;text-align:center;color:#68708f;font-weight:800}.v1641-money-next-hint[hidden]{display:none!important}
@media(max-width:560px){.v1641-money-practice{padding:14px 12px}.v1641-money-visual{min-height:205px;padding:16px}.v1641-money-token.is-coin{width:145px}.v1641-money-token.is-banknote{width:min(82vw,300px)}.v1641-money-practice #v1641MoneyNext{width:min(100%,280px)}}

/* v16.4.2 – universal manual continuation control */
.practice-continuation-button[data-practice-continuation-ready="true"]{
 display:block;
 width:min(100%,280px);
 min-width:170px;
 margin:12px auto 0;
}
.practice-continuation-hint{
 display:block;
 margin:7px auto 0;
 text-align:center;
 color:#68708f;
 font-weight:800;
 line-height:1.35;
}
.practice-continuation-hint[hidden]{display:none!important}
@media(max-width:560px){
 .practice-continuation-button[data-practice-continuation-ready="true"]{width:min(100%,300px)}
}

/* v16.4.2 – sumos sudarymas ir skaidymas */
.v1641-money-token.is-compact{filter:none;flex:0 0 auto}
.v1641-money-token.is-compact.is-coin{width:52px;border-width:4px;box-shadow:inset 0 0 0 2px rgba(255,255,255,.42),inset 0 0 0 5px rgba(122,83,8,.12)}
.v1641-money-token.is-compact.is-banknote{width:92px;border-width:2px;border-radius:9px;box-shadow:inset 0 0 0 2px rgba(31,92,51,.16)}
.v1641-money-token.is-compact strong{font-size:1.02rem;letter-spacing:-.03em}
.v1641-money-token.is-compact small{font-size:.62rem}
.v1641-money-token.is-compact.is-banknote::before,.v1641-money-token.is-compact.is-banknote::after{width:17px;border-width:1px;font-size:.58rem}
.v1641-money-token.is-compact.is-banknote::before{left:5px;top:5px}.v1641-money-token.is-compact.is-banknote::after{right:5px;bottom:5px}
.v1642-amount-board{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:min(100%,620px)}
.v1642-amount-board>span,.v1642-target-card{display:grid;gap:4px;place-items:center;padding:14px 18px;border:1px solid #e1d5af;border-radius:16px;background:rgba(255,255,255,.78)}
.v1642-amount-board small,.v1642-target-card small{color:#74694f;font-size:.78rem;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
.v1642-amount-board strong,.v1642-target-card strong{color:#4d3b16;font-size:clamp(1.4rem,4vw,2.2rem)}
.v1642-selected-total{background:#f5f2ff!important;border-color:#d8cffb!important}
.v1642-selected-tray{display:flex;align-items:center;justify-content:center;min-height:108px;width:min(100%,720px);margin-top:14px;padding:12px;border:2px dashed #ddcf9f;border-radius:16px;background:rgba(255,255,255,.54)}
.v1642-empty-tray{color:#887a55;font-weight:800}
.v1642-combination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px}
.v1642-combination-piece{position:relative;display:inline-flex;align-items:center}
.v1642-combination-piece>b{position:absolute;right:-5px;bottom:-5px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 4px;border-radius:999px;background:#2b2f55;color:#fff;font-size:.68rem;line-height:1}
.v1642-compose-controls{display:grid!important;gap:14px;width:min(100%,780px)!important}
.v1642-denomination-picker{display:flex;flex-wrap:wrap;justify-content:center;gap:9px}
.v1642-denomination-picker>button{display:grid;place-items:center;min-width:68px;min-height:64px;padding:6px;border:1px solid #ded8ee;border-radius:14px;background:#fff;box-shadow:0 4px 12px rgba(50,43,92,.08);cursor:pointer}
.v1642-denomination-picker>button:hover,.v1642-denomination-picker>button:focus-visible{border-color:#7a62ff;transform:translateY(-1px)}
.v1642-compose-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
.v1642-compose-actions button{width:auto;min-width:150px;font-size:.94rem}
.v1642-compose-actions .main-btn{min-width:190px}
.v1642-split-options{display:grid!important;grid-template-columns:1fr 1fr;gap:12px;width:min(100%,760px)!important}
.v1642-split-options>button{display:grid;place-items:center;min-height:104px;padding:12px;border:2px solid #e3dff2;border-radius:16px;background:#fff;cursor:pointer}
.v1642-split-options>button:hover,.v1642-split-options>button:focus-visible{border-color:#8068ff;background:#f8f6ff}
.v1642-split-options>button.is-correct{border-color:#35b878;background:#eaf9f1}
.v1642-split-options>button.is-wrong{border-color:#df6d63;background:#fff0ee}
@media(max-width:620px){
 .v1642-amount-board{grid-template-columns:1fr}
 .v1642-selected-tray{min-height:94px}
 .v1642-split-options{grid-template-columns:1fr}
 .v1642-compose-actions{display:grid;grid-template-columns:1fr 1fr}
 .v1642-compose-actions .main-btn{grid-column:1/-1;width:100%}
 .v1642-compose-actions button{min-width:0;width:100%}
 .v1641-money-token.is-compact.is-coin{width:46px}
 .v1641-money-token.is-compact.is-banknote{width:82px}
}

/* v16.5.0.1 – prices, shopping and change */
.v1643-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:min(100%,650px)}
.v1643-shopping-scene{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:16px;width:min(100%,680px)}
.v1643-product-card,.v1643-wallet-card,.v1643-paid-card{display:grid;place-items:center;gap:8px;min-height:180px;padding:18px;border:2px solid #e6d9ad;border-radius:20px;background:rgba(255,255,255,.86);box-shadow:0 8px 22px rgba(79,62,20,.08);text-align:center}
.v1643-product-card strong{font-size:1.05rem;color:#2d3153}.v1643-product-card>b{font-size:1.45rem;color:#62490f}
.v1643-product-icon{font-size:clamp(3.2rem,8vw,5.4rem);line-height:1}
.v1643-wallet-card{border-color:#d8cffb;background:#f7f4ff}.v1643-wallet-card>small,.v1643-paid-card small{font-weight:850;color:#6b6f8d;text-transform:uppercase;letter-spacing:.04em}.v1643-wallet-card>strong,.v1643-paid-card strong{font-size:clamp(1.35rem,4vw,2rem);color:#292d52}
.v1643-wallet-card .v1642-combination{margin-top:4px}
.v1643-paid-card{grid-template-columns:1fr 1fr;border-color:#bde4d2;background:#f1fbf6}.v1643-paid-card>span{display:grid;gap:5px;place-items:center}
.v1643-shopping-answers{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(100%,620px)!important}
.v1643-shopping-answers>button{min-height:64px;padding:12px 16px;font-size:1.05rem}
.v1643-shopping-answers>button.is-correct{border-color:#35b878;background:#eaf9f1;color:#17613e}.v1643-shopping-answers>button.is-wrong{border-color:#df6d63;background:#fff0ee;color:#8d2f28}
@media(max-width:620px){.v1643-product-grid,.v1643-shopping-scene{grid-template-columns:1fr}.v1643-product-card,.v1643-wallet-card,.v1643-paid-card{min-height:145px}.v1643-shopping-answers{grid-template-columns:1fr}.v1643-product-icon{font-size:3.4rem}}

/* v16.5.0.1 Money statistics and medals */
.v1644-money-stats{border:1px solid #e4d5a8;background:linear-gradient(145deg,#fffdf8,#fff8e7)}
.v1644-money-stat-card{border-color:#eadfbf}
.v1644-money-medal-card{border-color:#eadfbf;background:linear-gradient(145deg,#fff,#fffaf0)}
#v1644MoneyStats .v1614-clock-stat-card em[data-status]{box-sizing:border-box;display:inline-flex;align-items:center;width:max-content;height:28px;min-height:28px;padding:4px 8px;border:1px solid #d8dce6}

.v1640-money-skill[data-status="needs-work"]>em{background:#fff0e8;color:#a54d2d;border-color:#f1d3c7}


/* v16.5.0.1 – money module responsive and touch stabilization */
:root{--lh-money-responsive-v1645:1}
.v1641-money-practice,
.v1641-money-visual,
.v1641-money-answers,
.v1642-amount-board,
.v1642-selected-tray,
.v1642-compose-controls,
.v1642-split-options,
.v1643-product-grid,
.v1643-shopping-scene,
.v1643-shopping-answers,
#v1644MoneyStats,
#v1644MoneyStatsGrid{box-sizing:border-box;max-width:100%;min-width:0}
.v1642-denomination-picker>button,
.v1642-compose-actions button,
.v1642-split-options>button,
.v1643-shopping-answers>button{min-height:44px;touch-action:manipulation}
.v1642-denomination-picker{max-width:100%;overflow-wrap:anywhere}
.v1644-money-stat-card{height:100%;min-width:0}
.v1644-money-stat-card strong,
.v1644-money-stat-card span,
.v1644-money-stat-card small{overflow-wrap:anywhere}
@media(max-width:480px){
 .v1641-money-practice{padding-inline:10px}
 .v1641-money-visual{min-height:180px;padding:12px}
 .v1641-money-token.is-banknote{width:min(100%,280px)}
 .v1642-denomination-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
 .v1642-denomination-picker>button{min-width:0;width:100%;padding-inline:4px}
 .v1642-compose-actions{grid-template-columns:1fr}
 .v1642-compose-actions .main-btn{grid-column:auto}
 .v1643-paid-card{grid-template-columns:1fr}
 .v1643-product-card,.v1643-wallet-card,.v1643-paid-card{padding:14px}
}
@media(max-width:360px){
 .v1642-denomination-picker{grid-template-columns:repeat(2,minmax(0,1fr))}
 .v1641-money-token.is-compact.is-banknote{width:74px}
}

/* v16.6.0 – richer money-recognition tasks */
.v16531-equivalent-card{display:flex;align-items:center;justify-content:center;gap:clamp(14px,4vw,34px);width:min(100%,620px)}
.v16531-equivalent-card>span,.v16531-equivalent-card>strong{font-size:clamp(2rem,7vw,4rem);font-weight:950;color:#55431d}
.v16531-money-comparison{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:clamp(12px,4vw,30px);width:min(100%,620px)}
.v16531-money-comparison strong{display:grid;place-items:center;min-height:112px;padding:18px;border:2px solid #e0d2a5;border-radius:18px;background:rgba(255,255,255,.86);color:#4d3b16;font-size:clamp(1.65rem,5vw,3rem);text-align:center}
.v16531-money-comparison>span{font-size:clamp(2rem,6vw,3.5rem);font-weight:950;color:#8b6d1e}
.v16531-comparison-answers{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.v16531-comparison-answers button{font-size:clamp(1.8rem,6vw,2.8rem);font-weight:950}
@media(max-width:480px){.v16531-equivalent-card{gap:10px}.v16531-equivalent-card .v1641-money-token.is-coin{width:120px}.v16531-equivalent-card .v1641-money-token.is-banknote{width:min(60vw,230px)}.v16531-money-comparison{gap:8px}.v16531-money-comparison strong{min-height:86px;padding:10px;font-size:1.45rem}.v16531-money-comparison>span{font-size:2rem}}


/* =========================================================
   V16.6.0 – ADAPTIVE LEARNING RECOMMENDATION
========================================================= */
.v1654-recommendation-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:0 .38em;
  margin-top:2px;
  color:#615f78;
  font-weight:800;
  line-height:1.4;
}
.v182241-recommendation-meta-part{white-space:nowrap}
.v182241-recommendation-meta-sep{flex:0 0 auto;opacity:.85}
.v12130-smart-chip[data-v1654-recommendation]{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  line-height:1.25;
}
@media(max-width:520px){
  .v12130-smart-targets{
    display:grid;
    grid-template-columns:minmax(0,1fr);
  }
  .v12130-smart-chip[data-v1654-recommendation]{
    width:100%;
  }
}


/* v16.6.0 – adaptive recommendations in the parent zone. */
.v1655-parent-adaptive-recommendation{
 margin-top:14px;
 padding:18px;
 border:2px solid #b9dcff;
 border-radius:20px;
 background:linear-gradient(135deg,#f7fbff 0%,#f8f5ff 100%);
 box-shadow:0 8px 22px rgba(52,73,120,.08)
}
.v1655-parent-adaptive-recommendation.is-empty{border-color:#dfe7f2;background:#fff}
.v1655-parent-adaptive-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}
.v1655-parent-adaptive-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#e9e5ff;font-size:22px}
.v1655-parent-adaptive-head small{display:block;margin-bottom:4px;color:#6558cf;font-weight:900;text-transform:uppercase;letter-spacing:.03em}
.v1655-parent-adaptive-head strong{display:block;color:#1b2442;font-size:1rem;line-height:1.35}
.v1655-parent-adaptive-score{padding:7px 10px;border:1px solid #ffb6b6;border-radius:999px;background:#fff5f5;color:#9f3030;font-weight:900;white-space:nowrap}
.v1655-parent-adaptive-recommendation>p{margin:14px 0 8px;color:#2f3b5d;font-weight:700;line-height:1.5}
.v1655-parent-adaptive-meta{display:block;color:#68738f;font-weight:700}
.v1655-parent-alternatives{margin-top:14px;padding-top:12px;border-top:1px solid #dfe8f5}
.v1655-parent-alternatives>small{display:block;margin-bottom:8px;color:#68738f;font-weight:900}
.v1655-parent-alternatives>div{display:flex;flex-wrap:wrap;gap:8px}
.v1655-parent-alternatives span{display:inline-flex;padding:7px 10px;border:1px solid #b9dcff;border-radius:12px;background:#f4faff;color:#243253;font-weight:800;line-height:1.35}
.v1655-parent-extra-goals{margin-top:16px}
.v1655-parent-extra-goals h4{margin:0 0 9px;color:#2b3555;font-size:.95rem}
@media(max-width:620px){
 .v1655-parent-adaptive-head{grid-template-columns:auto minmax(0,1fr)}
 .v1655-parent-adaptive-score{grid-column:1/-1;justify-self:start;margin-left:54px}
 .v1655-parent-alternatives>div{display:grid;grid-template-columns:1fr}
}

/* v16.6.0 – Fractions learning-area foundation. */
.v1660-fractions-area{margin:16px 0;padding:18px;border:1px solid #d9c9f2;border-radius:18px;background:#fbf8ff;scroll-margin-top:18px}
.v1660-fractions-area[hidden]{display:none!important}
.v1660-fractions-head{display:block;margin-bottom:14px}
.v1660-fractions-head h2{margin:3px 0 5px;color:#3f2e67}
.v1660-fractions-head p{margin:0;color:#66577c;line-height:1.45}
.v1660-fractions-skills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
.v1660-fractions-skill{display:grid;grid-template-rows:auto auto 28px auto;align-content:start;gap:8px;min-height:184px;padding:14px;border:1px solid #e4d9f3;border-radius:14px;background:#fff;min-width:0}
.v1660-fractions-skill strong{color:#3f2e67}.v1660-fractions-skill p{margin:5px 0 0;color:#6e627d;font-size:.84rem;line-height:1.4;overflow-wrap:anywhere}
.v1660-fractions-skill>span{font-size:.76rem;font-weight:800;color:#665a78}
.v1660-fractions-skill>em{box-sizing:border-box;width:max-content;height:28px;min-height:28px;display:inline-flex;align-items:center;padding:4px 8px;border:1px solid #d8dce6;border-radius:999px;background:#fff;color:#66728a;font-size:.7rem;font-style:normal;font-weight:850}
.v1660-fractions-skill>small{align-self:end;color:#6d4ba3;font-weight:800}
.v1660-fractions-skill[data-status="learning"]>em{background:#fff2c9;color:#835f00}
.v1660-fractions-skill[data-status="mastered"]>em{background:#e3f6e9;color:#21633a}
.v1660-fractions-skill[data-status="needs-work"]>em{background:#fff0e8;color:#a54d2d;border-color:#f1d3c7}
.v1660-fractions-notice{margin-top:12px;padding:10px 12px;border-radius:12px;background:#efe5ff;color:#51347e;font-size:.82rem;font-weight:700}
#v16233LearningHubBody>.v1660-fractions-area{margin-top:0}
@media(max-width:900px){.v1660-fractions-skills{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.v1660-fractions-skills{grid-template-columns:1fr}}

/* v16.6.2 – visual fraction practice */
.v1661-fractions-practice{max-width:980px;margin-inline:auto;overflow:hidden}
.v1661-fractions-practice .v1611-practice-head{text-align:center;margin-top:18px}
.v1661-fractions-stage{display:grid;place-items:center;min-height:230px;padding:18px;border-radius:24px;background:linear-gradient(145deg,#f7f4ff,#eef8ff);border:2px solid #e1ddff}
.v1661-fraction-visual{display:inline-grid;place-items:center;width:min(260px,70vw);height:190px;vertical-align:middle}
.v1661-fraction-visual.is-compact{width:150px;height:112px}
.v1661-fraction-circle{width:170px;height:170px;filter:drop-shadow(0 8px 12px rgba(38,42,88,.08))}
.v1661-fraction-circle path{fill:#fffdf7;stroke:#273254;stroke-width:1.5;transition:transform .18s ease}
.v1661-fraction-circle path.is-shaded{fill:#7968ff}
.v1661-circle-outline{fill:none;stroke:#273254;stroke-width:3}
.v1661-fraction-bar{display:grid;grid-template-columns:repeat(var(--parts),1fr);width:min(250px,65vw);height:92px;border:3px solid #273254;border-radius:16px;overflow:hidden;background:#fff}
.v1661-fraction-bar i{display:block;border-right:2px solid #273254;background:#fffdf7}
.v1661-fraction-bar i:last-child{border-right:0}
.v1661-fraction-bar i.is-shaded{background:#37bff4}
.v1661-fraction-grid{display:grid;grid-template-columns:repeat(var(--columns),1fr);grid-template-rows:repeat(var(--rows),1fr);width:200px;height:150px;border:3px solid #273254;border-radius:14px;overflow:hidden;background:#fff}
.v1661-fraction-grid i{display:block;border:1px solid #273254;background:#fffdf7}
.v1661-fraction-grid i.is-shaded{background:#ffba3a}
.v1661-fraction-objects{display:grid;grid-template-columns:repeat(4,minmax(32px,1fr));gap:11px;align-items:center;justify-items:center;max-width:250px}
.v1661-fraction-objects i{font-style:normal;font-size:42px;line-height:1;color:#dfe5f1;text-shadow:0 2px 0 #273254}
.v1661-fraction-objects i.is-shaded{color:#68d391}
.v1661-fraction-number{display:inline-grid;grid-template-rows:1fr 1fr;min-width:46px;text-align:center;font-size:30px;font-weight:900;line-height:1.08;color:#17203f}
.v1661-fraction-number span:first-child{border-bottom:3px solid currentColor;padding:0 8px 4px}
.v1661-fraction-number span:last-child{padding:4px 8px 0}
.v1661-prompt-fraction{display:grid;place-items:center;min-height:160px}
.v1661-prompt-fraction .v1661-fraction-number{font-size:52px;min-width:76px}
.v1661-prompt-fraction .v1661-conversion-decimal{font-size:clamp(44px,7vw,64px);line-height:1.15;font-weight:900;font-variant-numeric:tabular-nums}
.v1661-fraction-answers{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:14px;margin-top:18px}
.v1661-answer{min-height:118px;border:2px solid #d9e1f2;border-radius:18px;background:#fff;box-shadow:0 5px 0 #dbe3f2;padding:12px;cursor:pointer;display:grid;place-items:center;transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease}
.v1661-answer:hover:not(:disabled),.v1661-answer:focus-visible{transform:translateY(-2px);border-color:#7968ff;outline:3px solid rgba(121,104,255,.2);outline-offset:2px}
.v1661-answer.is-number{min-height:92px}
.v1661-answer.is-visual{min-height:150px}
.v1661-answer .v1661-fraction-visual.is-compact{width:100%;height:112px}
.v1661-answer .v1661-fraction-circle{width:104px;height:104px}
.v1661-answer .v1661-fraction-bar{width:120px;height:58px;border-width:2px;border-radius:10px}
.v1661-answer .v1661-fraction-grid{width:108px;height:86px;border-width:2px;border-radius:9px}
.v1661-answer .v1661-fraction-objects{grid-template-columns:repeat(4,1fr);gap:5px;max-width:115px}
.v1661-answer .v1661-fraction-objects i{font-size:22px}
.v1661-answer.is-correct{border-color:#22b573;background:#e8fff3;box-shadow:0 5px 0 #9ce0bd}
.v1661-answer.is-wrong{border-color:#ec5b58;background:#fff0ef;box-shadow:0 5px 0 #ffc2bf}
.v1661-fractions-next{display:block;min-width:220px;margin:20px auto 0}
.v1661-fractions-next-hint{display:block;text-align:center;margin:9px auto;color:#65708d;font-weight:700}
.v1661-fractions-practice>.secondary-btn{display:block;margin:18px auto 0;min-width:220px}
@media(max-width:720px){
 .v1661-fraction-answers{grid-template-columns:repeat(2,minmax(120px,1fr))}
 .v1661-fractions-stage{min-height:205px;padding:12px}
 .v1661-fraction-visual{height:170px}
}
@media(max-width:420px){
 .v1661-fraction-answers{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .v1661-answer{padding:8px;min-height:100px}
 .v1661-answer.is-visual{min-height:132px}
 .v1661-fraction-circle{width:145px;height:145px}
 .v1661-fraction-grid{width:170px;height:128px}
 .v1661-fraction-bar{width:min(220px,72vw);height:82px}
 .v1661-prompt-fraction .v1661-fraction-number{font-size:44px}
}

/* v16.6.2 – fraction comparison and equivalence */
.v1662-fraction-comparison{display:flex;align-items:center;justify-content:center;gap:34px;min-height:170px}
.v1662-fraction-comparison>strong{font-size:54px;line-height:1;color:#7968ff}
.v1662-fraction-comparison .v1661-fraction-number{font-size:52px;min-width:76px}
.v1661-fraction-answers.is-relation-set{grid-template-columns:repeat(3,minmax(120px,1fr));max-width:680px;margin-inline:auto}
.v1661-answer.is-relation{min-height:104px;font-size:54px;font-weight:900;color:#17203f}
.v1661-answer.is-relation span{line-height:1}
@media(max-width:520px){
 .v1662-fraction-comparison{gap:18px;min-height:145px}
 .v1662-fraction-comparison .v1661-fraction-number{font-size:42px;min-width:58px}
 .v1662-fraction-comparison>strong{font-size:42px}
 .v1661-fraction-answers.is-relation-set{grid-template-columns:repeat(3,minmax(0,1fr))}
 .v1661-answer.is-relation{min-height:88px;font-size:44px}
}


/* v16.6.3.2 – fraction addition and subtraction */
.v1663-fraction-operation{
 display:flex;align-items:center;justify-content:center;gap:clamp(14px,3vw,34px);
 min-height:210px;font-size:clamp(2rem,5vw,4rem);font-weight:900;color:#102044
}
.v1663-fraction-operation>strong{font-size:.8em;color:#654cf4}
.v1663-operation-question{display:grid;place-items:center;width:1.25em;height:1.25em;border:3px dashed #8b7cff;border-radius:20px;background:#fff}
@media(max-width:520px){
 .v1663-fraction-operation{gap:10px;min-height:150px;font-size:2.15rem}
 .v1663-operation-question{border-width:2px;border-radius:14px}
}


/* v16.6.3.2 – step-by-step feedback for fraction operations */
.v16631-feedback-summary{font-weight:900}
.v16631-operation-explanation{
 max-width:760px;margin:10px auto 0;padding:14px 18px;text-align:left;
 color:#26314f;background:#fff;border:2px solid #ffd2cf;border-radius:16px;
 box-shadow:0 4px 0 rgba(236,91,88,.12)
}
.v16631-operation-explanation>strong{display:block;margin-bottom:6px;color:#a63e34}
.v16631-operation-explanation ol{margin:0;padding-left:24px;display:grid;gap:5px}
.v16631-operation-explanation li{line-height:1.42}
@media(max-width:520px){
 .v16631-operation-explanation{padding:12px 14px;font-size:.94rem}
}

/* v16.7.0 – fraction multiplication result formatting */
.v1664-mixed-result{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:900;color:#17203f}
.v1664-mixed-result>strong,.v1664-whole-result{font-size:34px;line-height:1;font-weight:900;color:#17203f}
.v1661-answer .v1664-mixed-result .v1661-fraction-number{font-size:25px;min-width:38px}
.v1661-answer .v1664-whole-result{font-size:34px}
@media(max-width:560px){
 .v1664-mixed-result{gap:5px}
 .v1664-mixed-result>strong,.v1664-whole-result{font-size:29px}
 .v1661-answer .v1664-mixed-result .v1661-fraction-number{font-size:22px;min-width:32px}
}


/* v16.7.0 – fractions statistics, medals and responsive integration. */
.v1666-fractions-stat-card,.v1666-fraction-medal-card{height:100%;min-width:0}
.v1666-fractions-stat-card strong,.v1666-fractions-stat-card span,.v1666-fractions-stat-card small,.v1666-fraction-medal-card strong{overflow-wrap:anywhere}
.v1666-fractions-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){.v1666-fractions-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.v1666-fractions-stats-grid{grid-template-columns:1fr}.v1666-fractions-stat-card{min-height:auto}}

/* =========================================================
   V16.7.0 – GEOMETRIJOS MODULIO PAGRINDAS
========================================================= */
.v1670-geometry-area{margin:16px 0;padding:18px;border:1px solid #c9d9f2;border-radius:18px;background:#f7fbff;scroll-margin-top:18px}
.v1670-geometry-area[hidden]{display:none!important}
.v1670-geometry-head{display:block;margin-bottom:14px}
.v1670-geometry-head h2{margin:3px 0 5px;color:#254f78}
.v1670-geometry-head p{margin:0;color:#526d86;line-height:1.45}
.v1670-geometry-skills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
.v1670-geometry-skill{display:grid;grid-template-rows:auto auto 28px auto;align-content:start;gap:8px;min-height:184px;padding:14px;border:1px solid #d8e5f2;border-radius:14px;background:#fff;min-width:0}
.v1670-geometry-skill strong{color:#254f78}
.v1670-geometry-skill p{margin:5px 0 0;color:#5b7084;font-size:.84rem;line-height:1.4;overflow-wrap:anywhere}
.v1670-geometry-skill>span{font-size:.76rem;font-weight:800;color:#536b80}
.v1670-geometry-skill>em{box-sizing:border-box;width:max-content;height:28px;min-height:28px;display:inline-flex;align-items:center;padding:4px 8px;border:1px solid #d8dce6;border-radius:999px;background:#fff;color:#66728a;font-size:.7rem;font-style:normal;font-weight:850}
.v1670-geometry-skill>small{align-self:end;color:#2d6697;font-weight:800}
.v1670-geometry-skill[data-status="learning"]>em{background:#fff2c9;color:#835f00}
.v1670-geometry-skill[data-status="mastered"]>em{background:#e3f6e9;color:#21633a}
.v1670-geometry-skill[data-status="needs-work"]>em{background:#fff0e8;color:#a54d2d;border-color:#f1d3c7}
.v1670-geometry-notice{margin-top:12px;padding:10px 12px;border-radius:12px;background:#e8f3ff;color:#26577f;font-size:.82rem;font-weight:700}
#v16233LearningHubBody>.v1670-geometry-area{margin-top:0}
@media(max-width:900px){.v1670-geometry-skills{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.v1670-geometry-skills{grid-template-columns:1fr}}

/* =========================================================
   V16.7.3.1 – FIGŪROS IR JŲ SAVYBĖS
   ========================================================= */
.v1671-geometry-practice{max-width:920px;margin-inline:auto;overflow:hidden}
.v1671-geometry-practice .v1611-practice-head{text-align:center;margin-top:18px}
.v1671-geometry-stage[hidden]{display:none}
.v1671-geometry-stage{display:grid;place-items:center;min-height:260px;padding:18px;border:2px solid #cfe1f3;border-radius:24px;background:linear-gradient(145deg,#f6fbff,#eef7ff)}
.v1671-shape-svg{display:block;width:min(100%,360px);height:auto;overflow:visible}
.v1671-shape-main{fill:#8fd1f2;stroke:#245f89;stroke-width:7;stroke-linejoin:round}
.v1671-vertex-marker circle{fill:#fff5bf;stroke:#9c6b00;stroke-width:3}
.v1671-vertex-marker text{fill:#6f4e00;font-size:12px;font-weight:900}
.v1671-geometry-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.v1671-answer{min-height:64px;padding:12px 16px;border:2px solid #cbdced;border-radius:16px;background:#fff;color:#254f78;font:inherit;font-size:1rem;font-weight:850;cursor:pointer;box-shadow:0 4px 10px rgba(45,92,132,.08);transition:transform .15s ease,border-color .15s ease,background .15s ease}
.v1671-answer:hover:not(:disabled),.v1671-answer:focus-visible:not(:disabled){transform:translateY(-2px);border-color:#4388bd;outline:none}
.v1671-answer.is-number{font-size:1.35rem}
.v1671-answer.is-correct{border-color:#37a665;background:#e8f8ed;color:#21633a}
.v1671-answer.is-wrong{border-color:#d9734f;background:#fff0e8;color:#9c4327}
.v1671-answer:disabled{cursor:default;opacity:1}
.v1671-feedback-summary{font-weight:900}
.v1671-geometry-explanation{margin-top:10px;padding:12px 14px;border:1px solid #f0c6b4;border-radius:14px;background:#fff8f4;color:#713a29;text-align:left}
.v1671-geometry-explanation>strong{display:block;margin-bottom:6px;color:#8b3f25}
.v1671-geometry-explanation ol{margin:0;padding-left:22px}
.v1671-geometry-explanation li+li{margin-top:5px}
.v1671-geometry-next{display:block;min-width:220px;margin:20px auto 0}
.v1671-geometry-next-hint{display:block;text-align:center;margin:9px auto;color:#65708d;font-weight:700}
.v1671-geometry-practice>.secondary-btn{display:block;margin:18px auto 0;min-width:220px}
@media(max-width:600px){
 .v1671-geometry-stage{min-height:215px;padding:10px}
 .v1671-shape-svg{width:min(100%,285px)}
 .v1671-geometry-answers{grid-template-columns:1fr;gap:10px}
 .v1671-answer{min-height:58px}
}

/* v16.7.3.1 – kampų treniruotė */
.v1672-angle-svg{display:block;width:min(100%,390px);height:auto;overflow:visible}
.v1672-angle-svg.is-compact{width:min(100%,235px)}
.v1672-angle-ray,.v1672-straight-line{stroke:#245f89;stroke-width:7;stroke-linecap:round}
.v1672-angle-wedge{fill:#dff2ff;stroke:none}
.v1672-angle-arc{fill:none;stroke:#ef8a3d;stroke-width:5;stroke-linecap:round}
.v1672-angle-origin{fill:#245f89}
.v16721-protractor-arc{fill:none;stroke:#a8bfd2;stroke-width:1.6;stroke-dasharray:3 3}
.v16721-protractor-tick{stroke:#8eaabe;stroke-width:1.4}
.v16721-protractor-tick.is-major{stroke:#587d9b;stroke-width:2.2}
.v16721-protractor-label{fill:#496d89;font-size:9px;font-weight:900;paint-order:stroke;stroke:#eef7ff;stroke-width:3px;stroke-linejoin:round}
.v1672-angle-svg.has-protractor .v1672-angle-wedge{fill:#dff2ff;fill-opacity:.72}
.v1672-angle-svg.has-protractor .v1672-angle-ray{stroke-width:6}
.v1672-right-marker{fill:none;stroke:#ef8a3d;stroke-width:4;stroke-linejoin:round}
.v1672-angle-measure,.v1672-known-angle,.v1672-missing-angle{fill:#254f78;font-size:24px;font-weight:900}
.v1672-angle-measure-card{display:flex;align-items:center;justify-content:center;gap:18px;min-height:210px;width:min(100%,430px);border:2px dashed #9fc8e8;border-radius:24px;background:#fff;font-weight:900;color:#254f78}
.v1672-angle-measure-card span{font-size:4.2rem;color:#ef8a3d;line-height:1}
.v1672-angle-measure-card strong{font-size:3.3rem;line-height:1}
.v1672-angle-compare{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;width:100%}
.v1672-angle-compare-item{display:grid;place-items:center;min-width:0}
.v1672-angle-compare-item>span{display:grid;place-items:center;width:34px;height:34px;margin-bottom:-8px;border-radius:50%;background:#fff;color:#245f89;font-weight:900;box-shadow:0 2px 8px rgba(45,92,132,.12);z-index:1}
.v1672-angle-question-mark{font-size:2.5rem;color:#ef8a3d}
.v1672-straight-svg{display:block;width:min(100%,440px);height:auto;overflow:visible}
.v1671-answer.is-relation{font-size:2rem}
.v1671-answer.is-shape-name span{line-height:1.25}
@media(max-width:640px){
 .v1672-angle-svg{width:min(100%,310px)}
 .v1672-angle-svg.is-compact{width:min(100%,170px)}
 .v1672-angle-compare{gap:2px}
 .v1672-angle-question-mark{font-size:1.8rem}
 .v1672-angle-measure-card{min-height:170px}
 .v1672-angle-measure-card span{font-size:3.2rem}
 .v1672-angle-measure-card strong{font-size:2.5rem}
 .v1672-known-angle,.v1672-missing-angle{font-size:21px}
}


/* v16.7.3.1 – perimeter and area diagrams */
.v1673-measurement-svg{display:block;width:min(100%,560px);height:auto;overflow:hidden}
.v1673-measurement-shape{fill:#dff2ff;stroke:#245f89;stroke-width:7;stroke-linejoin:round}
.v1673-measurement-svg.is-perimeter .v1673-measurement-shape{fill:#f7fbff;stroke:#ef8a3d;stroke-width:9}
.v1673-area-grid{stroke:#76a9ca;stroke-width:1.5;opacity:.75}
.v1673-measurement-label{fill:#254f78;font-size:22px;font-weight:900;paint-order:stroke;stroke:#eef7ff;stroke-width:4px;stroke-linejoin:round}
.v1673-measurement-label.is-missing{fill:#b9492f;font-size:32px}
.v1673-perimeter-total{fill:#8b3f25;font-size:22px;font-weight:900}
.v1671-answer.is-unit{font-size:1.45rem}
@media(max-width:620px){
 .v1673-measurement-svg{width:min(100%,390px)}
 .v1673-measurement-label{font-size:19px}
 .v1673-perimeter-total{font-size:19px}
}

/* =========================================================
   V16.7.4.1 – SIMETRIJA IR KOORDINATĖS
========================================================= */
.v1674-symmetry-svg,
.v1674-coordinate-svg{
  display:block;
  width:min(100%,560px);
  height:auto;
  overflow:hidden;
}
.v1674-symmetry-shape{
  fill:#dff2ff;
  stroke:#245f89;
  stroke-width:7;
  stroke-linejoin:round;
}
.v1674-symmetry-axis{
  stroke:#ef8a3d;
  stroke-width:5;
  stroke-dasharray:12 9;
  stroke-linecap:round;
}
.v1674-grid-line{
  stroke:#c9dceb;
  stroke-width:1.2;
}
.v1674-axis{
  stroke:#245f89;
  stroke-width:3;
}
.v1674-axis.is-highlighted{
  stroke:#ef8a3d;
  stroke-width:6;
}
.v1674-axis-arrow{
  fill:#245f89;
}
.v1674-axis-name,
.v1674-grid-label,
.v1674-coordinate-point-label,
.v1674-vector-note{
  fill:#254f78;
  font-weight:900;
  font-family:inherit;
}
.v1674-grid-label{font-size:12px}
.v1674-axis-name{font-size:17px}
.v1674-coordinate-point{
  fill:#38bd79;
  stroke:#1b5f47;
  stroke-width:3;
}
.v1674-coordinate-point-label{
  font-size:19px;
  paint-order:stroke;
  stroke:#eef7ff;
  stroke-width:4px;
  stroke-linejoin:round;
}
.v1674-vector-note{
  font-size:16px;
}
.v1674-vector-note-box{
  fill:#ffffff;
  stroke:#b9d7ec;
  stroke-width:1.5;
}
.v1671-answer.is-coordinate{
  font-size:1.25rem;
  font-variant-numeric:tabular-nums;
}
.v1671-answer.is-yes-no{
  font-size:1.2rem;
}
@media(max-width:620px){
  .v1674-symmetry-svg,
  .v1674-coordinate-svg{width:min(100%,400px)}
  .v1674-grid-label{font-size:11px}
  .v1674-coordinate-point-label{font-size:17px}
}


/* =========================================================
   V16.7.5.1 – MIŠRI GEOMETRIJOS TRENIRUOTĖ
   Naudoja esamus figūrų, kampų, matavimų ir koordinačių komponentus.
   ========================================================= */
.v1670-geometry-skill[data-geometry-skill="mixed-geometry"] > div > strong::before {
  content: "🔀 ";
}


/* =========================================================
   V16.7.6 – GEOMETRIJOS INTEGRACIJA IR STABILIZAVIMAS
   ========================================================= */
.v1676-geometry-stats{scroll-margin-top:18px}
.v1676-geometry-stat-card,.v1676-geometry-medal-card{min-width:0}
.v1676-geometry-stat-card strong,.v1676-geometry-medal-card strong{overflow-wrap:anywhere}
@media(max-width:560px){.v1676-geometry-stats-grid{grid-template-columns:1fr}}


/* =========================================================
   V16.10.4.3 – Word problems and logical thinking foundation
========================================================= */
.v1680-word-problems-area{margin:16px 0;padding:18px;border:1px solid #e0d4f6;border-radius:18px;background:#fbf8ff;scroll-margin-top:18px}
.v1680-word-problems-area[hidden]{display:none!important}
.v1680-word-problems-head{display:block;margin-bottom:14px}
.v1680-word-problems-head h2{margin:3px 0 5px;color:#573781}
.v1680-word-problems-head p{margin:0;color:#6b5a82;line-height:1.45}
.v1680-word-problems-skills{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
.v1680-word-problems-skill{display:grid;grid-template-rows:auto auto 28px auto;align-content:start;gap:8px;min-height:184px;padding:14px;border:1px solid #e6dcf4;border-radius:14px;background:#fff;min-width:0}
.v1680-word-problems-skill strong{color:#573781}
.v1680-word-problems-skill p{margin:5px 0 0;color:#70627f;font-size:.84rem;line-height:1.4;overflow-wrap:anywhere}
.v1680-word-problems-skill>span{font-size:.76rem;font-weight:800;color:#655875}
.v1680-word-problems-skill>em{box-sizing:border-box;width:max-content;height:28px;min-height:28px;display:inline-flex;align-items:center;padding:4px 8px;border:1px solid #ded7e8;border-radius:999px;background:#fff;color:#71677f;font-size:.7rem;font-style:normal;font-weight:850}
.v1680-word-problems-skill>small{align-self:end;color:#68439a;font-weight:800}
.v1680-word-problems-notice{margin-top:12px;padding:10px 12px;border-radius:12px;background:#f0e8ff;color:#5b3788;font-size:.82rem;font-weight:700}
#v16233LearningHubBody>.v1680-word-problems-area{margin-top:0}
@media(max-width:900px){.v1680-word-problems-skills{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.v1680-word-problems-skills{grid-template-columns:1fr}}


/* v16.10.4.3 – vieno veiksmo tekstinių uždavinių treniruotė */
.v1681-word-problems-practice{max-width:820px}
.v1681-problem-card{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;margin:14px 0;padding:18px;border:1px solid #e1d5f2;border-radius:18px;background:linear-gradient(135deg,#fff 0%,#faf6ff 100%);box-shadow:0 8px 24px rgba(81,52,128,.08)}
.v1681-problem-card>span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#efe5ff;font-size:1.5rem}
.v1681-problem-card h3{margin:2px 0 0;color:#362050;font-size:clamp(1.08rem,2.6vw,1.35rem);line-height:1.5}
.v1681-operation-section,.v1681-answer-section{display:grid;gap:9px;margin:14px 0}
.v1681-operation-section>strong,.v1681-answer-section>strong{color:#573781}
.v1681-operation-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.v1681-operation-btn{display:grid;place-items:center;gap:3px;min-height:76px;padding:9px;border:2px solid #e2d8ef;border-radius:14px;background:#fff;color:#4e3b63;box-shadow:none}
.v1681-operation-btn strong{font-size:1.55rem;line-height:1}
.v1681-operation-btn span{font-size:.76rem;font-weight:800}
.v1681-operation-btn:hover{border-color:#b79add;background:#fbf8ff}
.v1681-operation-btn.selected{border-color:#7951b2;background:#efe6ff;color:#4f247d;box-shadow:0 0 0 3px rgba(121,81,178,.12)}
.v1681-operation-btn.is-correct{border-color:#27a36a;background:#e7f8ef;color:#126c43}
.v1681-operation-btn.is-wrong{border-color:#dc5d66;background:#fff0f1;color:#9d2430}
.v1681-answer-section input{box-sizing:border-box;width:min(220px,100%);min-height:58px;padding:10px 16px;border:2px solid #ded4ea;border-radius:14px;background:#fff;color:#2f1f43;font-size:1.45rem;font-weight:850;text-align:center}
.v1681-answer-section input:focus{outline:3px solid rgba(121,81,178,.17);border-color:#7951b2}
.v1681-answer-section input.is-correct{border-color:#27a36a;background:#e7f8ef}
.v1681-answer-section input.is-wrong{border-color:#dc5d66;background:#fff0f1}
#v1681WordProblemsCheck,#v1681WordProblemsNext{margin-top:8px}
@media(max-width:620px){.v1681-operation-grid{grid-template-columns:1fr 1fr}.v1681-problem-card{grid-template-columns:1fr}.v1681-problem-card>span{width:40px;height:40px}.v1681-operation-btn{min-height:68px}}


/* v16.10.4.3 – dviejų veiksmų tekstiniai uždaviniai ir neutrali naujo klausimo būsena */
.v1682-second-operation[hidden]{display:none!important}
.v1682-second-operation{padding-top:4px;border-top:1px dashed #e2d8ef}
.v1681-answer-section input:not(.is-correct):not(.is-wrong){border-color:#ded4ea;background:#fff;color:#2f1f43}

/* v16.10.4.3 – information selection practice */
.v1683-information-section{display:grid;gap:10px;margin:14px 0}
.v1683-information-section[hidden]{display:none!important}
.v1683-information-section>strong{color:#573781}
.v1683-information-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.v1683-information-option{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;min-height:70px;padding:12px 14px;border:2px solid #e2d8ef;border-radius:14px;background:#fff;color:#3f3150;text-align:left;font:inherit;font-weight:750;box-shadow:none}
.v1683-information-option:hover{border-color:#b79add;background:#fbf8ff}
.v1683-information-option.selected{border-color:#7951b2;background:#efe6ff;color:#4f247d;box-shadow:0 0 0 3px rgba(121,81,178,.12)}
.v1683-information-option.is-correct{border-color:#27a36a;background:#e7f8ef;color:#126c43}
.v1683-information-option.is-wrong{border-color:#dc5d66;background:#fff0f1;color:#9d2430}
.v1683-information-option:disabled{opacity:1;cursor:default}
.v1683-choice-letter{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#f0ebf7;color:#573781;font-weight:900}
.v1683-information-option.selected .v1683-choice-letter{background:#7951b2;color:#fff}
.v1683-information-option.is-correct .v1683-choice-letter{background:#27a36a;color:#fff}
.v1683-information-option.is-wrong .v1683-choice-letter{background:#dc5d66;color:#fff}
@media(max-width:620px){.v1683-information-options{grid-template-columns:1fr}.v1683-information-option{min-height:62px}}


/* =========================================================
   V16.10.4.3 – LOGINĖS IR VAIZDINĖS SEKOS
========================================================= */
.v1684-sequence-section{display:grid;gap:12px;margin:14px 0}
.v1684-sequence-section[hidden]{display:none!important}
.v1684-sequence-section>strong{color:#573781}
.v1684-sequence-display{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;min-height:112px;padding:18px;border:2px solid #e2d8ef;border-radius:18px;background:linear-gradient(135deg,#fff 0%,#f8f4ff 100%);font-variant-numeric:tabular-nums}
.v1684-sequence-unit{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}
.v1684-sequence-item{display:grid;place-items:center;min-width:58px;min-height:58px;padding:7px 10px;border:2px solid #d9cbed;border-radius:14px;background:#fff;color:#3d2758;font-size:clamp(1.35rem,4vw,2rem);font-style:normal;font-weight:900;box-shadow:0 4px 12px rgba(81,52,128,.08)}
.v1684-sequence-display b{color:#9d86ba;font-size:1.15rem}
.v1684-sequence-item.is-question{border-style:dashed;border-color:#7951b2;background:#efe6ff;color:#5a2d8d}
.v1684-sequence-display.is-visual .v1684-sequence-item{min-width:64px;font-size:clamp(1.55rem,4.5vw,2.35rem)}
.v1684-sequence-option>span:last-child{font-size:1.16rem;font-weight:900;text-align:center}
@media(max-width:620px){
 .v1684-sequence-display{gap:7px;padding:13px;min-height:96px}
 .v1684-sequence-item{min-width:43px;min-height:48px;padding:5px 7px;font-size:1.25rem}
 .v1684-sequence-display.is-visual .v1684-sequence-item{min-width:48px;font-size:1.5rem}
 .v1684-sequence-display b{font-size:.9rem}
}


/* =========================================================
   V16.10.4.3 – LENTELĖS IR DIAGRAMOS
========================================================= */
.v1685-data-section{display:grid;gap:11px;margin:14px 0}
.v1685-data-section[hidden]{display:none!important}
.v1685-data-section>strong{color:#573781}
.v1685-data-title{margin:0;text-align:center;color:#3d2758;font-size:1.05rem}
.v1685-data-visual{overflow-x:auto;padding:14px;border:2px solid #e2d8ef;border-radius:18px;background:linear-gradient(135deg,#fff 0%,#f8f4ff 100%)}
.v1685-data-table{width:100%;max-width:560px;margin:0 auto;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid #d9cbed;border-radius:13px;background:#fff;font-variant-numeric:tabular-nums}
.v1685-data-table th,.v1685-data-table td{padding:10px 13px;border-bottom:1px solid #ece5f5;text-align:left}
.v1685-data-table thead th{background:#efe6ff;color:#4f247d;font-weight:900}
.v1685-data-table tbody th{color:#4e3b63;font-weight:800}
.v1685-data-table td{text-align:right;color:#2f1f43;font-weight:900}
.v1685-data-table tr:last-child th,.v1685-data-table tr:last-child td{border-bottom:0}
.v16851-bar-chart{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:clamp(190px,30vw,240px) minmax(36px,auto);width:min(100%,680px);margin:4px auto 0;padding-top:10px;font-variant-numeric:tabular-nums}
.v16851-y-axis{position:relative;grid-column:1;grid-row:1;border-right:2px solid #5b4777;color:#4e3b63;font-size:.72rem;font-weight:850}
.v16851-axis-tick{position:absolute;right:8px;bottom:var(--v16851-position);line-height:1;transform:translateY(50%);white-space:nowrap}
.v16851-plot{position:relative;grid-column:2;grid-row:1;border-bottom:2px solid #5b4777;min-width:0}
.v16851-grid-lines{position:absolute;inset:0;pointer-events:none}
.v16851-grid-line{position:absolute;right:0;bottom:var(--v16851-position);left:0;border-top:1px solid #d9d1e7}
.v16851-grid-line:first-child{border-top-color:#5b4777}
.v16851-bars{position:absolute;inset:0 12px 0 12px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:14px}
.v16851-bar-slot{display:flex;align-items:flex-end;justify-content:center;height:100%;min-width:0}
.v16851-bar{display:block;width:min(72%,88px);height:var(--v16851-bar-height);min-height:6px;border-radius:8px 8px 0 0;background:linear-gradient(180deg,#7657d9,#38aee8);box-shadow:0 2px 5px rgba(81,52,128,.12)}
.v16851-x-labels{grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:7px 12px 0;text-align:center}
.v16851-x-labels span{min-width:0;color:#4e3b63;font-size:.75rem;font-weight:850;line-height:1.25;overflow-wrap:anywhere}
.v1685-data-option>span:last-child{font-weight:850}
@media(max-width:620px){
 .v1685-data-visual{padding:10px 8px}
 .v1685-data-table th,.v1685-data-table td{padding:8px 9px;font-size:.82rem}
 .v16851-bar-chart{grid-template-columns:34px minmax(250px,1fr);grid-template-rows:190px minmax(42px,auto);min-width:292px;padding-top:8px}
 .v16851-y-axis{font-size:.66rem}
 .v16851-axis-tick{right:6px}
 .v16851-bars{inset:0 7px 0 7px;gap:7px}
 .v16851-x-labels{gap:7px;padding:7px 7px 0}
 .v16851-x-labels span{font-size:.67rem}
 .v16851-bar{width:min(76%,64px)}
}


/* v16.10.4.3 – unified student, parent and teacher statistics */
.v16901-unified-statistics,.v16901-teacher-summary{margin:22px 0;padding:20px;border:1px solid rgba(94,84,184,.18);border-radius:24px;background:linear-gradient(180deg,#fbfaff,#f4f2ff)}
.v16901-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.v16901-section-head h3{margin:0 0 5px}.v16901-section-head p{margin:0;color:var(--muted,#667085)}.v16901-section-head>span{display:grid;place-items:center;min-width:38px;height:38px;border-radius:14px;background:#6254b8;color:#fff;font-weight:800}
.v16901-teacher-summary>summary{cursor:pointer;list-style:none;margin:0}
.v16901-teacher-summary>summary::-webkit-details-marker{display:none}
.v16901-teacher-summary>summary::after{content:"▾";font-size:18px;color:#6254b8;transition:transform .18s}
.v16901-teacher-summary[open]>summary::after{transform:rotate(180deg)}
.v16901-teacher-summary>.v16901-teacher-summary-body{margin-top:16px}
.v16901-parent-insights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px}.v16901-parent-insights span{padding:12px 14px;border-radius:16px;background:#fff;border:1px solid rgba(98,84,184,.13)}
.v16901-area-list{display:grid;gap:12px}.v16901-area{border:1px solid rgba(98,84,184,.16);border-radius:18px;background:#fff;overflow:hidden}.v16901-area>summary{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:15px 17px;cursor:pointer;list-style:none}.v16901-area>summary::-webkit-details-marker{display:none}.v16901-area>summary:after{content:"▾";font-size:18px;color:#6254b8;transition:transform .18s}.v16901-area[open]>summary:after{transform:rotate(180deg)}.v16901-area>summary>div:first-child{display:grid;gap:3px}.v16901-area>summary small{color:#667085}.v16901-area-summary{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.v16901-area-summary span{padding:5px 9px;border-radius:999px;background:#eeeafe;color:#463b8d;font-size:.82rem;font-weight:750}
.v16901-skill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 15px 15px}.v16901-skill-card{padding:14px;border-radius:16px;background:#f9f8ff;border:1px solid rgba(98,84,184,.12)}.v16901-skill-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.v16901-skill-head>div{display:grid;gap:3px}.v16901-skill-head small{color:#667085;line-height:1.4}.v16901-skill-head>span,.v16901-skill-head>em{white-space:nowrap;font-style:normal;font-weight:800;color:#463b8d}.v16901-skill-extra{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.v16901-skill-extra span,.v16901-skill-extra em{padding:5px 8px;border-radius:10px;background:#fff;font-size:.78rem;font-style:normal}.v16901-skill-extra em[data-status="mastered"],.v16901-skill-head em[data-status="mastered"]{color:#147a4b}.v16901-skill-extra em[data-status="needs-work"],.v16901-skill-head em[data-status="needs-work"]{color:#b54708}.v16901-skill-head em[data-status="planned"]{color:#667085}
.v16901-category-details{margin-top:11px}.v16901-category-details>summary{cursor:pointer;font-weight:800;color:#51459e}.v16901-category-details ul{display:grid;gap:6px;margin:9px 0 0;padding:0;list-style:none}.v16901-category-details li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:11px;background:#fff;border:1px solid rgba(98,84,184,.09)}.v16901-category-details li>span{display:grid;gap:2px}.v16901-category-details li small{color:#667085}.v16901-category-details li em{font-size:.75rem;font-style:normal;font-weight:750;color:#51459e;text-align:right}
@media(max-width:760px){.v16901-unified-statistics,.v16901-teacher-summary{padding:14px;border-radius:18px}.v16901-skill-grid,.v16901-parent-insights{grid-template-columns:1fr}.v16901-area>summary{align-items:flex-start}.v16901-area-summary{display:none}.v16901-skill-head{flex-direction:column}.v16901-category-details li{align-items:flex-start}.v16901-category-details li em{max-width:110px}}
.v16901-category-state{display:grid;justify-items:end;gap:4px;min-width:max-content}
.v16901-category-state em{font-size:.75rem;font-style:normal;font-weight:750;color:#51459e;text-align:right}
.v16901-category-medal{font-size:.76rem;font-weight:850;color:#463b8d;white-space:nowrap}
@media(max-width:760px){.v16901-category-state{min-width:0;justify-items:end}.v16901-category-medal{white-space:normal;text-align:right}}

/* v16.10.4.3 – place-value practice */
.v1691-numbers-practice{max-width:860px}.v1691-number-question-card{display:flex;align-items:center;gap:12px;padding:18px 20px;margin:16px 0;border-radius:20px;background:linear-gradient(135deg,#f4f2ff,#fff);border:1px solid rgba(98,84,184,.16)}.v1691-number-question-card>span{display:grid;place-items:center;min-width:46px;height:46px;border-radius:15px;background:#6254b8;color:#fff;font-size:1.35rem}.v1691-number-question-card h3{margin:0;line-height:1.45}.v1691-numbers-visual{display:grid;place-items:center;min-height:132px;margin:10px 0 18px;padding:16px;border-radius:20px;background:#fbfaff;border:1px solid rgba(98,84,184,.14)}.v1691-number-display{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.v1691-number-display span{display:grid;place-items:center;width:52px;height:62px;border-radius:15px;background:#fff;border:2px solid #d9d3ff;font-size:2rem;font-weight:900;color:#3f357f;box-shadow:0 5px 14px rgba(70,59,141,.08)}.v1691-number-display span.is-target{background:#fff1b8;border-color:#f0b429;color:#7a5200;transform:translateY(-4px)}.v1691-number-display i{width:10px}.v1691-place-table{display:grid;grid-template-columns:repeat(6,minmax(72px,1fr));gap:8px;width:100%}.v1691-place-table span{display:grid;gap:8px;text-align:center;padding:10px 7px;border-radius:14px;background:#fff;border:1px solid #ddd8f7}.v1691-place-table small{min-height:34px;color:#667085;font-weight:700;line-height:1.25}.v1691-place-table strong{font-size:1.65rem;color:#463b8d}.v1691-number-options-section{display:grid;gap:10px}.v1691-number-options{grid-template-columns:repeat(2,minmax(0,1fr))}.v1691-number-choice span:last-child{font-variant-numeric:tabular-nums;font-weight:800}.v1691-number-choice.is-correct{border-color:#2ca66f;background:#e8f8ef}.v1691-number-choice.is-wrong{border-color:#d64545;background:#fdecec}.v1691-number-choice.selected{outline:3px solid rgba(98,84,184,.2)}
@media(max-width:680px){.v1691-number-question-card{padding:14px}.v1691-numbers-visual{padding:12px;min-height:116px}.v1691-number-display{gap:5px}.v1691-number-display span{width:39px;height:50px;font-size:1.55rem}.v1691-place-table{grid-template-columns:repeat(3,minmax(0,1fr))}.v1691-number-options{grid-template-columns:1fr}}


/* v16.10.4.3 – aiškus skaičių atsakymo pasirinkimas */
.v1691-number-choice{
 display:grid;
 grid-template-columns:38px minmax(0,1fr);
 column-gap:18px;
 align-items:center;
 min-height:64px;
 padding:11px 16px;
 border:2px solid #d9d3e8;
 background:#fff;
 transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.v1691-number-choice .v1691-choice-letter{
 width:34px;
 height:34px;
 border-radius:10px;
 background:#f0ebf7;
 color:#573781;
 font-size:1rem;
 font-weight:950;
}
.v1691-number-choice .v1691-choice-text{
 display:block;
 min-width:0;
 font-variant-numeric:tabular-nums;
 font-weight:850;
 line-height:1.35;
 text-align:left;
}
.v1691-number-choice:hover:not(:disabled):not(.selected){border-color:#a68bd0;background:#fbf8ff}
.v1691-number-choice.selected{
 border-color:#6254b8;
 background:#eeeaff;
 color:#3f357f;
 box-shadow:0 0 0 4px rgba(98,84,184,.18),0 8px 18px rgba(70,59,141,.10);
}
.v1691-number-choice.selected .v1691-choice-letter{background:#6254b8;color:#fff}
.v1691-number-choice.is-correct{border-color:#27a36a;background:#e7f8ef;color:#126c43;box-shadow:0 0 0 3px rgba(39,163,106,.14)}
.v1691-number-choice.is-wrong{border-color:#dc5d66;background:#fff0f1;color:#9d2430;box-shadow:0 0 0 3px rgba(220,93,102,.12)}
.v1691-number-choice.is-correct .v1691-choice-letter{background:#27a36a;color:#fff}
.v1691-number-choice.is-wrong .v1691-choice-letter{background:#dc5d66;color:#fff}
@media(max-width:620px){
 .v1691-number-choice{grid-template-columns:36px minmax(0,1fr);column-gap:14px;padding:10px 13px}
}

/* v16.10.4.3 – comparing and ordering numbers. */
.v1692-compare-display{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap;width:100%;font-variant-numeric:tabular-nums}.v1692-compare-display span{display:grid;place-items:center;min-width:170px;padding:18px 22px;border:2px solid #d9d3ff;border-radius:18px;background:#fff;color:#332a75;font-size:2rem;font-weight:900;box-shadow:0 5px 14px rgba(70,59,141,.08)}.v1692-compare-display strong{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#eeeaff;color:#6254b8;font-size:2rem}.v1692-order-display{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;width:100%;font-variant-numeric:tabular-nums}.v1692-order-display span{padding:14px 18px;border:2px solid #d9d3ff;border-radius:16px;background:#fff;color:#332a75;font-size:1.45rem;font-weight:900;box-shadow:0 5px 14px rgba(70,59,141,.08)}
@media(max-width:680px){.v1692-compare-display{gap:10px}.v1692-compare-display span{min-width:118px;padding:14px 10px;font-size:1.45rem}.v1692-compare-display strong{width:44px;height:44px;font-size:1.5rem}.v1692-order-display{gap:8px}.v1692-order-display span{padding:11px 12px;font-size:1.1rem}}


/* v16.10.4.3 – rounding and estimation */
.v1693-round-display{display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;width:100%;font-variant-numeric:tabular-nums}.v1693-round-display span{display:grid;place-items:center;min-width:190px;padding:18px 24px;border:2px solid #d9d3ff;border-radius:18px;background:#fff;color:#332a75;font-size:2.1rem;font-weight:950;box-shadow:0 5px 14px rgba(70,59,141,.08)}.v1693-round-display strong{color:#6254b8;font-size:2rem}.v1693-round-display em{padding:11px 15px;border-radius:13px;background:#fff3c9;color:#795500;font-size:1.05rem;font-style:normal;font-weight:850}.v1693-estimate-display{display:grid;grid-template-columns:auto auto auto auto;align-items:center;justify-content:center;gap:13px;width:100%;font-variant-numeric:tabular-nums}.v1693-estimate-display span{padding:15px 20px;border:2px solid #d9d3ff;border-radius:16px;background:#fff;color:#332a75;font-size:1.75rem;font-weight:950}.v1693-estimate-display strong{color:#6254b8;font-size:1.8rem}.v1693-estimate-display em{padding:13px 16px;border-radius:15px;background:#eeeaff;color:#51459e;font-size:1.45rem;font-style:normal;font-weight:950}.v1693-estimate-display small{grid-column:1/-1;text-align:center;color:#6a617f;font-size:.95rem;font-weight:800}
@media(max-width:680px){.v1693-round-display{gap:10px}.v1693-round-display span{min-width:135px;padding:14px 12px;font-size:1.55rem}.v1693-round-display strong{font-size:1.5rem}.v1693-round-display em{font-size:.9rem}.v1693-estimate-display{grid-template-columns:auto auto auto;gap:8px}.v1693-estimate-display span{padding:12px 10px;font-size:1.3rem}.v1693-estimate-display strong{font-size:1.4rem}.v1693-estimate-display em{grid-column:1/-1;padding:9px 13px;font-size:1.15rem}.v1693-estimate-display small{font-size:.82rem}}


/* v16.10.4.3 – operation order and brackets */
.v1694-expression-display{display:grid;place-items:center;gap:12px;width:100%;padding:22px 16px;text-align:center}
.v1694-expression{display:block;font-size:clamp(2rem,7vw,3.7rem);font-weight:900;line-height:1.2;letter-spacing:.02em;color:#171d4b;font-variant-numeric:tabular-nums}
.v1694-expression-display em{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 14px;border-radius:999px;background:#eeeaff;color:#51459e;font-size:.92rem;font-style:normal;font-weight:800}
.v1694-expression-display[data-operation-category="brackets"] em{background:#fff2c4;color:#7b5700}
@media(max-width:600px){.v1694-expression-display{padding:16px 8px}.v1694-expression{font-size:clamp(1.8rem,9vw,2.7rem)}.v1694-expression-display em{font-size:.82rem}}

/* v16.10.4.3 – division with remainder */
.v1695-remainder-display{display:grid;grid-template-columns:auto auto auto auto;align-items:center;justify-content:center;gap:14px;width:100%;padding:20px 14px;font-variant-numeric:tabular-nums}.v1695-remainder-display span{display:grid;place-items:center;min-width:120px;padding:16px 20px;border:2px solid #d9d3ff;border-radius:17px;background:#fff;color:#332a75;font-size:2rem;font-weight:950;box-shadow:0 5px 14px rgba(70,59,141,.08)}.v1695-remainder-display strong{color:#6254b8;font-size:2rem}.v1695-remainder-display em{padding:12px 15px;border-radius:14px;background:#eeeaff;color:#51459e;font-size:1.4rem;font-style:normal;font-weight:950}.v1695-remainder-display small{grid-column:1/-1;text-align:center;color:#6a617f;font-size:.94rem;font-weight:850}.v1695-remainder-display[data-remainder-category="remainder-only"] small{display:inline-flex;justify-self:center;padding:7px 13px;border-radius:999px;background:#fff2c4;color:#7b5700}
@media(max-width:600px){.v1695-remainder-display{grid-template-columns:auto auto auto;gap:8px;padding:14px 6px}.v1695-remainder-display span{min-width:88px;padding:12px 9px;font-size:1.5rem}.v1695-remainder-display strong{font-size:1.55rem}.v1695-remainder-display em{grid-column:1/-1;padding:9px 13px;font-size:1.15rem}.v1695-remainder-display small{font-size:.82rem}}


/* v16.10.4.3 – multiplication and division by powers of ten */
.v1696-power-display{display:grid;grid-template-columns:auto auto auto auto;align-items:center;justify-content:center;gap:14px;width:100%;padding:20px 14px;font-variant-numeric:tabular-nums}.v1696-power-display span{display:grid;place-items:center;min-width:120px;padding:16px 20px;border:2px solid #d9d3ff;border-radius:17px;background:#fff;color:#332a75;font-size:2rem;font-weight:950;box-shadow:0 5px 14px rgba(70,59,141,.08)}.v1696-power-display strong{color:#6254b8;font-size:2rem}.v1696-power-display em{padding:12px 15px;border-radius:14px;background:#eeeaff;color:#51459e;font-size:1.4rem;font-style:normal;font-weight:950}.v1696-power-display small{grid-column:1/-1;display:inline-flex;justify-self:center;padding:7px 13px;border-radius:999px;background:#eef8ff;color:#175a7d;text-align:center;font-size:.94rem;font-weight:850}.v1696-power-display[data-power-category="divide"] small{background:#fff2c4;color:#7b5700}
@media(max-width:600px){.v1696-power-display{grid-template-columns:auto auto auto;gap:8px;padding:14px 6px}.v1696-power-display span{min-width:88px;padding:12px 9px;font-size:1.5rem}.v1696-power-display strong{font-size:1.55rem}.v1696-power-display em{grid-column:1/-1;padding:9px 13px;font-size:1.15rem}.v1696-power-display small{font-size:.82rem}}


/* v16.10.4.3 – divisibility rules */
.v1697-divisibility-display{display:grid;grid-template-columns:auto auto auto auto;align-items:center;justify-content:center;gap:14px;width:100%;padding:20px 14px;font-variant-numeric:tabular-nums}.v1697-divisibility-display span{display:grid;place-items:center;min-width:120px;padding:16px 20px;border:2px solid #d9d3ff;border-radius:17px;background:#fff;color:#332a75;font-size:2rem;font-weight:950;box-shadow:0 5px 14px rgba(70,59,141,.08)}.v1697-divisibility-display span.is-pattern{letter-spacing:.08em}.v1697-divisibility-display strong{color:#6254b8;font-size:2rem}.v1697-divisibility-display em{padding:11px 15px;border-radius:14px;background:#eeeaff;color:#51459e;font-size:1.15rem;font-style:normal;font-weight:950}.v1697-divisibility-display small{grid-column:1/-1;display:inline-flex;justify-self:center;padding:7px 13px;border-radius:999px;background:#eef8ff;color:#175a7d;text-align:center;font-size:.94rem;font-weight:850}.v1697-divisibility-display[data-divisibility-category="missing-digit"] small{background:#fff2c4;color:#7b5700}
@media(max-width:600px){.v1697-divisibility-display{grid-template-columns:auto auto auto;gap:8px;padding:14px 6px}.v1697-divisibility-display span{min-width:88px;padding:12px 9px;font-size:1.5rem}.v1697-divisibility-display strong{font-size:1.55rem}.v1697-divisibility-display em{grid-column:1/-1;padding:9px 13px;font-size:1rem}.v1697-divisibility-display small{font-size:.82rem}}


/* =========================================================
   v16.10.4.3 – progress localization and history clarity
========================================================= */
#statsScreen #v15511SkillStats,
#statsScreen #v1614ClockStats,
#statsScreen #v1624MeasurementStats,
#statsScreen #v1644MoneyStats,
#statsScreen #v1666FractionsStats,
#statsScreen #v1676GeometryStats{
  display:none!important;
}
.v12140-session-card{
  grid-template-columns:minmax(0,1fr) minmax(280px,.85fr);
  align-items:start;
}
.v12140-session-main,
.v12140-session-copy{
  min-width:0;
}
.v12140-session-copy{
  display:grid;
  gap:5px;
}
.v12140-session-skill-title{
  display:block;
  max-width:100%;
  overflow-wrap:anywhere;
  line-height:1.28;
}
.v12140-session-main small{
  line-height:1.35;
}
.v12140-session-metrics{
  align-self:center;
}
@media(max-width:900px){
  .v12140-session-card{
    grid-template-columns:1fr;
  }
}
@media(max-width:560px){
  .v12140-session-history{
    padding:14px;
  }
  .v12140-session-card{
    padding:12px;
    gap:13px;
  }
  .v12140-session-main{
    align-items:flex-start;
  }
  .v12140-session-icon{
    width:42px;
    height:42px;
    font-size:1.35rem;
  }
}


/* =========================================================
   v16.10.4.3 – training-history metric containment
========================================================= */
.v12140-session-card{
  grid-template-columns:minmax(0,1fr) minmax(410px,.9fr);
}
.v12140-session-metrics{
  min-width:0;
  grid-template-columns:repeat(3,minmax(76px,1fr)) minmax(128px,1.25fr);
}
.v12140-session-metrics>span{
  min-width:0;
  box-sizing:border-box;
}
.v12140-session-metrics>span:last-child{
  min-width:128px;
}
.v12140-session-metrics>span:last-child strong{
  display:block;
  max-width:100%;
  white-space:nowrap;
  font-size:clamp(.86rem,1.35vw,.98rem);
}
@media(max-width:1100px){
  .v12140-session-card{
    grid-template-columns:1fr;
  }
  .v12140-session-metrics{
    grid-template-columns:repeat(3,minmax(0,1fr)) minmax(132px,1.2fr);
  }
  .v12140-session-metrics>span:last-child{
    min-width:132px;
  }
}
@media(max-width:640px){
  .v12140-session-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .v12140-session-metrics>span:last-child{
    min-width:0;
  }
}

/* v16.10.4.3 – factors and multiples practice */
.v1698-factors-multiples-display{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px 18px;min-height:132px;padding:24px;border:2px solid #d8d2ff;border-radius:22px;background:linear-gradient(180deg,#fbfaff,#f4f1ff);text-align:center}.v1698-factors-multiples-display>span{display:grid;place-items:center;min-width:112px;min-height:78px;padding:8px 18px;border:2px solid #c9c1ff;border-radius:20px;background:#fff;font-size:clamp(2rem,6vw,3.5rem);font-weight:900;color:#24205f}.v1698-factors-multiples-display>strong{font-size:2rem;color:#6757d9}.v1698-factors-multiples-display>em{padding:10px 16px;border-radius:999px;background:#fff1bd;color:#6b4a00;font-style:normal;font-weight:900}.v1698-factors-multiples-display>small{flex-basis:100%;font-weight:800;color:#5b6485}@media(max-width:560px){.v1698-factors-multiples-display{min-height:108px;padding:18px 12px;gap:10px}.v1698-factors-multiples-display>span{min-width:88px;min-height:64px}.v1698-factors-multiples-display>em{padding:8px 12px}}


/* v16.10.4.3 – prime and composite numbers */
.v1699-prime-display{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;min-height:118px;padding:20px;border:2px solid #d9d3ff;border-radius:22px;background:linear-gradient(145deg,#fff,#f7f5ff)}
.v1699-prime-display>span{display:grid;place-items:center;min-width:122px;min-height:74px;padding:10px 18px;border:3px solid #cfc7ff;border-radius:18px;background:#fff;color:#241b64;font-size:2.35rem;font-weight:950}
.v1699-prime-display>strong{font-size:2rem;color:#6556c5}
.v1699-prime-display>em{padding:9px 14px;border-radius:999px;background:#fff0bc;color:#6b4e00;font-style:normal;font-weight:900}
@media(max-width:520px){.v1699-prime-display{gap:10px;min-height:100px;padding:14px}.v1699-prime-display>span{min-width:100px;min-height:62px;font-size:1.9rem}}

/* v16.10.4.3 – DBD ir MBK */
.v16910-gcd-lcm-display{display:grid;grid-template-columns:minmax(96px,140px) auto minmax(96px,140px);align-items:center;justify-content:center;gap:14px;min-height:128px;padding:22px;border:2px solid #d9d3ff;border-radius:22px;background:linear-gradient(145deg,#fff,#f7f5ff);text-align:center}.v16910-gcd-lcm-display>span{display:grid;place-items:center;min-height:72px;padding:10px 16px;border:3px solid #cfc7ff;border-radius:18px;background:#fff;color:#241b64;font-size:clamp(1.9rem,5vw,2.7rem);font-weight:950}.v16910-gcd-lcm-display>strong{padding:10px 12px;border-radius:14px;background:#6757d9;color:#fff;font-size:1.15rem;font-weight:950}.v16910-gcd-lcm-display>em{grid-column:1/-1;justify-self:center;padding:9px 14px;border-radius:999px;background:#fff0bc;color:#6b4e00;font-style:normal;font-weight:900}.v16910-gcd-lcm-display[data-gcd-lcm-category="lcm"]>em{background:#e7f7ff;color:#125778}@media(max-width:520px){.v16910-gcd-lcm-display{grid-template-columns:minmax(82px,1fr) auto minmax(82px,1fr);gap:8px;min-height:106px;padding:14px 10px}.v16910-gcd-lcm-display>span{min-height:60px;padding:8px;font-size:1.75rem}.v16910-gcd-lcm-display>strong{padding:8px;font-size:1rem}.v16910-gcd-lcm-display>em{font-size:.88rem}}

/* v16.10.4.3 – Roman numerals */
.v16911-roman-display{display:grid;grid-template-columns:minmax(150px,230px) auto;align-items:center;justify-content:center;gap:14px;min-height:132px;padding:22px;border:2px solid #d9d3ff;border-radius:22px;background:linear-gradient(145deg,#fff,#f7f5ff);text-align:center}.v16911-roman-display>span{display:grid;place-items:center;min-height:74px;padding:12px 20px;border:3px solid #cfc7ff;border-radius:18px;background:#fff;color:#241b64;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.1rem,6vw,3.2rem);font-weight:900;letter-spacing:.08em}.v16911-roman-display>strong{color:#6757d9;font-size:2rem}.v16911-roman-display>em{grid-column:1/-1;justify-self:center;padding:9px 14px;border-radius:999px;background:#fff0bc;color:#6b4e00;font-style:normal;font-weight:900}.v16911-roman-display[data-roman-category="roman-write"]>em{background:#e7f7ff;color:#125778}@media(max-width:520px){.v16911-roman-display{grid-template-columns:minmax(120px,1fr) auto;gap:9px;min-height:108px;padding:14px 11px}.v16911-roman-display>span{min-height:62px;padding:9px 12px;font-size:2rem}.v16911-roman-display>strong{font-size:1.6rem}.v16911-roman-display>em{font-size:.88rem}}

/* =========================================================
   V16.10.4.3 – NUOTYKIŲ REŽIMAS 1.5: PIRMAS ATRAKINAMAS KELIAS
========================================================= */
.v16101-adventure-summary{
  grid-column:1/-1;
  display:grid;
  gap:12px;
  margin-bottom:20px;
  padding:19px;
  border:2px solid #dcdcff;
  border-radius:24px;
  background:linear-gradient(145deg,#eef7ff,#fff,#f7f2ff);
}
.v16101-adventure-summary-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px}
.v16101-adventure-summary-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:#fff;font-size:2.15rem;box-shadow:0 8px 20px rgba(53,62,120,.1)}
.v16101-adventure-summary strong{display:block;font-size:1.22rem}
.v16101-adventure-summary small,.v16101-adventure-summary p{color:var(--muted);font-weight:800;margin:0}
.v16101-adventure-percent{padding:8px 12px;border-radius:999px;background:#fff;color:var(--primary);font-weight:950}
.v16101-adventure-summary-progress,.v16101-stage-progress{height:11px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.82);box-shadow:inset 0 0 0 1px rgba(40,45,90,.08)}
.v16101-adventure-summary-progress span,.v16101-stage-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--primary),#38c6ff,#34c97a);transition:width .25s ease}
.v16101-adventure-path{grid-column:1/-1;display:grid;gap:16px}
.v16101-adventure-stage{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:15px;padding:19px;border:2px solid rgba(70,80,120,.14);border-radius:24px;box-shadow:0 12px 28px rgba(35,42,85,.08)}
.v16101-adventure-stage.is-locked{filter:grayscale(.62);opacity:.66}
.v16101-adventure-stage.is-complete{box-shadow:0 0 0 3px rgba(52,201,122,.17),0 12px 28px rgba(35,42,85,.08)}
.v16101-stage-marker{position:relative;display:grid;place-items:center;width:66px;height:66px;border-radius:21px;background:rgba(255,255,255,.9);font-size:2.15rem;box-shadow:0 7px 18px rgba(35,42,85,.1)}
.v16101-stage-marker b{position:absolute;right:-6px;bottom:-6px;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:var(--primary);color:#fff;font-size:.82rem}
.v16101-stage-copy{display:grid;gap:11px;min-width:0}
.v16101-stage-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.v16101-stage-heading small{color:var(--muted);font-size:.75rem;font-weight:950;text-transform:uppercase;letter-spacing:.04em}
.v16101-stage-heading h3{margin:2px 0 0}
.v16101-stage-state{display:grid;place-items:center;width:34px;height:34px;flex:0 0 auto;border-radius:50%;background:rgba(255,255,255,.88);font-weight:950}
.v16101-adventure-stage.is-unlocked:not(.is-complete) .v16101-stage-state{background:var(--primary);color:#fff}
.v16101-adventure-stage.is-complete .v16101-stage-state{background:#34c97a;color:#fff}
.v16101-stage-copy>p{margin:0;color:var(--muted);font-weight:750}
.v16101-stage-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.v16101-stage-metrics span{display:grid;gap:3px;padding:10px 11px;border-radius:14px;background:rgba(255,255,255,.8);color:var(--muted);font-size:.77rem;font-weight:850}
.v16101-stage-metrics strong{color:var(--ink);font-size:.96rem}
.world-space .v16101-stage-metrics strong,.world-space .v16101-stage-metrics span,.world-space .v16101-stage-requirement,.world-space .v16101-stage-copy>p{color:inherit}
.v16101-stage-requirement{min-height:1.25em;color:var(--muted);font-weight:850}
.v16101-stage-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.v16101-path-connector{position:absolute;left:43px;bottom:-21px;z-index:2;display:grid;justify-items:center;gap:0}
.v16101-path-connector span{display:block;width:5px;height:25px;border-radius:999px;background:#c9cde0}
.v16101-path-connector b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e7e9f2;color:#687087;font-size:.78rem}
.v16101-path-connector.is-open span{background:#34c97a}.v16101-path-connector.is-open b{background:#34c97a;color:#fff}
@media(max-width:650px){
  .v16101-adventure-summary-main{grid-template-columns:auto minmax(0,1fr)}
  .v16101-adventure-percent{grid-column:1/-1;justify-self:start}
  .v16101-adventure-stage{grid-template-columns:1fr}
  .v16101-stage-marker{width:58px;height:58px}
  .v16101-stage-metrics{grid-template-columns:1fr 1fr}
  .v16101-stage-metrics span:last-child{grid-column:1/-1}
  .v16101-stage-actions{grid-template-columns:1fr}
  .v16101-path-connector{left:45px}
}


/* v16.10.4.3 – adventure completion celebration and world transition */
.v16102-summary-next{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.v16102-summary-next p{flex:1 1 240px}
.v16102-continue{width:auto;min-width:190px;margin:0}
.v16101-adventure-summary.is-finished{background:linear-gradient(135deg,#fff7ca,#e7fff1,#e8f5ff)}
.v16102-stage-complete{position:relative;grid-column:1/-1;overflow:hidden;display:grid;justify-items:center;gap:8px;padding:28px 22px;border:3px solid rgba(255,255,255,.9);border-radius:28px;background:linear-gradient(145deg,#fff6c9,#e6fff2 52%,#e7f2ff);box-shadow:0 22px 55px rgba(42,50,102,.18);text-align:center;animation:v16102-celebration-in .55s cubic-bezier(.2,.9,.2,1) both}
.v16102-stage-complete small{font-weight:950;text-transform:uppercase;letter-spacing:.08em;color:var(--primary)}
.v16102-stage-complete h3{margin:0;font-size:clamp(1.5rem,4vw,2.15rem)}
.v16102-stage-complete p{margin:0;max-width:580px;color:var(--muted);font-weight:800}
.v16102-complete-icon{display:grid;place-items:center;width:88px;height:88px;border-radius:28px;background:#fff;font-size:3.35rem;box-shadow:0 13px 30px rgba(36,44,90,.15);animation:v16102-icon-pop .8s cubic-bezier(.2,1.4,.3,1) both}
.v16102-complete-reward{padding:9px 16px;border-radius:999px;background:#fff6b0;color:#6f5400;font-size:1.1rem;font-weight:950;box-shadow:0 7px 18px rgba(110,84,0,.12)}
.v16102-complete-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:5px}
.v16102-complete-actions .main-btn,.v16102-complete-actions .secondary-btn{width:auto;min-width:180px;margin:0}
.v16102-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.v16102-confetti i{--x:calc((var(--i) + 1) * 6.66%);position:absolute;left:var(--x);top:-18px;width:9px;height:18px;border-radius:3px;background:hsl(calc(var(--i) * 47deg) 82% 58%);transform:rotate(calc(var(--i) * 31deg));animation:v16102-confetti-fall 1.7s calc(var(--i) * .045s) ease-in both}
.v16101-adventure-stage.is-newly-unlocked{z-index:1;animation:v16102-world-unlock 1.05s cubic-bezier(.2,.9,.2,1) both;box-shadow:0 0 0 5px rgba(255,209,67,.34),0 18px 42px rgba(35,42,85,.16)}
.v16101-path-connector.is-transitioning span{animation:v16102-path-open .85s ease both}.v16101-path-connector.is-transitioning b{animation:v16102-path-badge .85s .2s ease both}
@keyframes v16102-celebration-in{from{opacity:0;transform:translateY(-14px) scale(.96)}to{opacity:1;transform:none}}
@keyframes v16102-icon-pop{0%{opacity:0;transform:scale(.35) rotate(-14deg)}65%{opacity:1;transform:scale(1.12) rotate(4deg)}100%{transform:scale(1)}}
@keyframes v16102-confetti-fall{0%{opacity:0;transform:translateY(-10px) rotate(0)}12%{opacity:1}100%{opacity:0;transform:translateY(290px) rotate(540deg)}}
@keyframes v16102-world-unlock{0%{opacity:.55;transform:scale(.95)}45%{opacity:1;transform:scale(1.025)}100%{transform:scale(1)}}
@keyframes v16102-path-open{from{background:#c9cde0;transform:scaleY(.1);transform-origin:top}to{background:#34c97a;transform:scaleY(1)}}
@keyframes v16102-path-badge{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:scale(1)}}
@media(max-width:680px){.v16102-summary-next{align-items:stretch}.v16102-continue{width:100%}.v16102-complete-actions{width:100%}.v16102-complete-actions .main-btn,.v16102-complete-actions .secondary-btn{width:100%}}
@media(prefers-reduced-motion:reduce){.v16102-stage-complete,.v16102-complete-icon,.v16102-confetti i,.v16101-adventure-stage.is-newly-unlocked,.v16101-path-connector.is-transitioning span,.v16101-path-connector.is-transitioning b{animation:none!important}.v16101-adventure-summary-progress span,.v16101-stage-progress span{transition:none}}

/* v16.10.4.3 – coherent mastery states and collapsible unified progress */
.v161021-unified-progress > summary{
  cursor:pointer;
  list-style:none;
  margin-bottom:0;
  padding-right:34px;
  position:relative;
}
.v161021-unified-progress > summary::-webkit-details-marker{display:none}
.v161021-unified-progress > summary::after{
  content:"▾";
  position:absolute;
  right:4px;
  top:50%;
  transform:translateY(-50%);
  color:#6254b8;
  font-size:1.15rem;
  transition:transform .18s ease;
}
.v161021-unified-progress:not([open]) > summary::after{transform:translateY(-50%) rotate(-90deg)}
.v161021-unified-progress:not([open]) > summary{margin-bottom:0}
.v161021-unified-progress[open] > summary{margin-bottom:14px}
.v161021-unified-progress-body{display:grid;gap:12px}
.v161021-progress-toolbar{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}
.v161021-progress-toolbar button{
  border:1px solid rgba(98,84,184,.2);
  border-radius:999px;
  background:#fff;
  color:#4d4291;
  padding:7px 11px;
  font:inherit;
  font-size:.78rem;
  font-weight:800;
  cursor:pointer;
}
.v161021-progress-toolbar button:hover,
.v161021-progress-toolbar button:focus-visible{
  border-color:#6254b8;
  outline:none;
  box-shadow:0 0 0 3px rgba(98,84,184,.12);
}
.v161021-category-coverage{
  margin:9px 0 0;
  padding:8px 10px;
  border-radius:10px;
  background:#fff8dc;
  color:#6d5712;
  font-size:.77rem;
  line-height:1.4;
}
.v16901-category-details li[data-status="not-started"] .v16901-category-state em{color:#69758d}
.v16901-category-details li[data-status="needs-work"] .v16901-category-state em{color:#b54708}
.v16901-category-details li[data-status="mastered"] .v16901-category-state em{color:#147a4b}
#statsScreen[data-v161021-layout="overview-insights-medals-progress"] > #v125StatsOverview{margin-top:12px}
#statsScreen[data-v161021-layout="overview-insights-medals-progress"] > #v121LearningPanel{margin-top:18px}
#statsScreen[data-v161021-layout="overview-insights-medals-progress"] > #v16901UnifiedStatistics{margin-top:14px}
@media(max-width:760px){
  .v161021-progress-toolbar{justify-content:stretch}
  .v161021-progress-toolbar button{flex:1 1 160px}
}
@media(prefers-reduced-motion:reduce){
  .v161021-unified-progress > summary::after{transition:none}
}


/* v16.10.4.3 – accessible adventure-card contrast */
.world-space .v16101-stage-heading small{
  color:#d9dcff;
}
.world-space .v16101-stage-copy>p,
.world-space .v16101-stage-requirement{
  color:#fff;
}
.world-space .v16101-stage-metrics span{
  background:#f3f4fa;
  color:#4a5068;
  text-shadow:none;
}
.world-space .v16101-stage-metrics strong{
  color:#171b4b;
}
.v16101-adventure-stage .v127-world-reward:disabled{
  background:#dfe2eb;
  color:#51586d;
  opacity:1;
}

/* v16.10.4.3 – statistics hierarchy, collapsible medals and richer weekly PDF report */
#statsScreen[data-v161021-layout="level-overview-insights-medals-progress"] > #v121LearningPanel{
  margin-top:12px;
}
#v121LearningPanel[data-v161023-order="level-overview-chart-insights-medals"]{
  display:grid;
  gap:16px;
}
#v121LearningPanel[data-v161023-order="level-overview-chart-insights-medals"] > *{
  margin-top:0;
  margin-bottom:0;
}
#v121LearningPanel > #v121LevelCard{
  border-color:#c9c2ff;
  box-shadow:0 10px 24px rgba(82,68,176,.1);
}
#v121LearningPanel > #v125StatsOverview,
#v121LearningPanel > #v125WeeklyChart{
  width:100%;
}
.v161023-medals-details{
  overflow:hidden;
}
.v161023-medals-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  cursor:pointer;
  list-style:none;
}
.v161023-medals-summary::-webkit-details-marker{display:none}
.v161023-medals-summary h3{margin:0}
.v161023-medals-summary > span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#55469a;
  font-size:.82rem;
  font-weight:900;
  white-space:nowrap;
}
.v161023-medals-summary > span::after{
  content:"⌃";
  display:inline-block;
  font-size:1rem;
  transition:transform .18s ease;
}
.v161023-medals-details:not([open]) .v161023-medals-summary > span::after{transform:rotate(180deg)}
.v161023-medals-body{display:grid;gap:14px;margin-top:14px}
.v161023-medals-details:not([open]) .v161023-medals-body{display:none}
.v161023-medals-details:not([open]){padding-bottom:18px}
.v161023-medals-details[open] .v161023-medals-summary{padding-bottom:4px}

.v161023-report-level-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border:2px solid #dcd8fb;
  border-radius:16px;
  background:#f7f5ff;
}
.v161023-report-level-icon{font-size:2.25rem}
.v161023-report-level-copy{display:grid;gap:2px}
.v161023-report-level-copy small,
.v161023-report-level-copy p,
.v161023-report-level-xp small{color:#626980;font-weight:700}
.v161023-report-level-copy strong{font-size:1.18rem}
.v161023-report-level-copy p{margin:0;font-size:.84rem}
.v161023-report-level-xp{display:grid;justify-items:end}
.v161023-report-level-xp strong{font-size:1.25rem}
.v161023-report-level-progress{
  height:10px;
  margin-top:9px;
  overflow:hidden;
  border-radius:999px;
  background:#e7e5f4;
}
.v161023-report-level-progress span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#6c5ce7,#38c6ff);
}
.v161023-report-activity-summary{
  display:flex;
  align-items:baseline;
  gap:8px;
  margin-bottom:9px;
  color:#626980;
  font-weight:700;
}
.v161023-report-activity-summary strong{color:#111833;font-size:1.15rem}
.v161023-report-days{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:7px;
}
.v161023-report-days article{
  display:grid;
  gap:3px;
  min-width:0;
  padding:9px 7px;
  border:1.5px solid #e0e3ed;
  border-radius:11px;
  background:#fff;
  text-align:center;
}
.v161023-report-days article.is-active{border-color:#9bd8bb;background:#f2fff8}
.v161023-report-days strong{font-size:.76rem}
.v161023-report-days span{color:#626980;font-size:.7rem;font-weight:700}
.v161023-report-areas{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.v161023-report-areas article{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:4px 12px;
  padding:10px 12px;
  border:1.5px solid #e0e3ed;
  border-radius:12px;
  background:#fff;
}
.v161023-report-areas article>div{display:grid;gap:2px}
.v161023-report-areas article>span{align-self:center;font-weight:900;white-space:nowrap}
.v161023-report-areas article>small{grid-column:1/-1;color:#626980;font-weight:700}
.v161023-report-areas article div small{color:#626980;font-weight:700}
.v12120-report-summary:has([data-v161023-summary]){grid-template-columns:repeat(3,minmax(0,1fr))}

@media(max-width:760px){
  .v161023-medals-summary{align-items:flex-start}
  .v161023-report-days{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v161023-report-areas{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .v161023-medals-summary > span::after{transition:none}
}
@media print{
  .v12120-report-summary:has([data-v161023-summary]){grid-template-columns:repeat(3,1fr)!important}
  .v161023-report-level-card,
  .v161023-report-days article,
  .v161023-report-areas article{
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  .v161023-report-days{grid-template-columns:repeat(7,1fr)!important;gap:5px!important}
  .v161023-report-days article{padding:7px 4px!important}
  .v161023-report-areas{grid-template-columns:repeat(2,1fr)!important;gap:6px!important}
  .v161023-report-areas article{padding:8px 9px!important}
}

/* =========================================================
   V16.10.4.3 – NUOTYKIŲ REŽIMAS: 4 PASAULIAI PO 5 ETAPUS
========================================================= */
.v16103-adventure-worlds{gap:18px}
.v16103-world-group{
  overflow:hidden;
  border:2px solid rgba(55,63,108,.16);
  border-radius:27px;
  box-shadow:0 14px 34px rgba(35,42,85,.09);
}
.v16103-world-group>summary{list-style:none}
.v16103-world-group>summary::-webkit-details-marker{display:none}
.v16103-world-group.is-locked{filter:grayscale(.45);opacity:.72}
.v16103-world-group.is-complete{box-shadow:0 0 0 3px rgba(52,201,122,.2),0 14px 34px rgba(35,42,85,.09)}
.v16103-world-summary{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto auto;
  align-items:center;
  gap:13px;
  min-height:104px;
  padding:18px 20px 25px;
  cursor:pointer;
}
.v16103-world-summary:focus-visible{outline:4px solid rgba(103,87,217,.35);outline-offset:-4px}
.v16103-world-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:20px;background:rgba(255,255,255,.9);font-size:2.35rem;box-shadow:0 8px 20px rgba(35,42,85,.12)}
.v16103-world-copy{display:grid;gap:2px;min-width:0}
.v16103-world-copy small{font-size:.72rem;font-weight:950;text-transform:uppercase;letter-spacing:.055em;color:var(--muted)}
.v16103-world-copy strong{font-size:1.25rem}
.v16103-world-copy em{overflow:hidden;color:var(--muted);font-size:.83rem;font-style:normal;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.v16103-world-score{display:grid;justify-items:end;gap:2px;min-width:74px}
.v16103-world-score b{font-size:1.08rem}
.v16103-world-score small{color:var(--muted);font-size:.74rem;font-weight:900}
.v16103-world-chevron{font-size:1.4rem;font-weight:950;transition:transform .2s ease}
.v16103-world-group[open] .v16103-world-chevron{transform:rotate(180deg)}
.v16103-world-progress{position:absolute;right:20px;bottom:12px;left:20px;height:8px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.72);box-shadow:inset 0 0 0 1px rgba(35,42,85,.08)}
.v16103-world-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6757d9,#38c6ff,#34c97a)}
.v16103-world-stages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 16px 17px}
.v16103-world-stages .v16101-adventure-stage{align-content:start;min-height:340px;padding:16px;box-shadow:0 8px 21px rgba(35,42,85,.08)}
.v16103-world-stages .v16101-stage-marker{width:58px;height:58px;font-size:1.85rem}
.v16103-world-stages .v16101-stage-marker b{width:auto;min-width:30px;padding:0 6px;border-radius:999px}
.v16103-world-stages .v16101-stage-heading h3{font-size:1.05rem}
.v16103-world-stages .v16101-stage-copy>p{min-height:2.8em;font-size:.86rem}
.v16103-world-stages .v16101-stage-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.v16103-world-stages .v16101-stage-metrics span{padding:8px;font-size:.7rem}
.v16103-world-stages .v16101-stage-metrics strong{font-size:.85rem}
.v16103-world-stages .v16101-stage-actions{margin-top:auto}
.v16103-world-stages .v16101-path-connector{display:none}
.v16103-world-group.world-space .v16103-world-copy small,
.v16103-world-group.world-space .v16103-world-copy em,
.v16103-world-group.world-space .v16103-world-score small{color:#e2e4ff}
.v16103-world-group.world-space .v16103-world-summary,
.v16103-world-group.world-space .v16103-world-score b,
.v16103-world-group.world-space .v16103-world-chevron{color:#fff}
.v16103-world-group.world-space .v16103-world-stages{background:rgba(9,12,51,.17)}
@media(max-width:820px){
  .v16103-world-stages{grid-template-columns:1fr}
  .v16103-world-stages .v16101-adventure-stage{min-height:0}
  .v16103-world-stages .v16101-stage-copy>p{min-height:0}
}
@media(max-width:560px){
  .v16103-world-summary{grid-template-columns:auto minmax(0,1fr) auto;padding:15px 14px 24px}
  .v16103-world-icon{width:52px;height:52px;font-size:1.95rem}
  .v16103-world-score{grid-column:2;grid-row:2;justify-items:start}
  .v16103-world-chevron{grid-column:3;grid-row:1/3}
  .v16103-world-copy em{white-space:normal}
  .v16103-world-progress{right:14px;left:14px}
  .v16103-world-stages{padding:0 10px 11px}
  .v16103-world-stages .v16101-stage-metrics{grid-template-columns:1fr 1fr}
  .v16103-world-stages .v16101-stage-metrics span:last-child{grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){.v16103-world-chevron{transition:none}}
/* v16.10.4.3 – keep locked multi-stage cards readable while still visibly unavailable */
.v16103-world-stages .v16101-adventure-stage.is-locked{filter:grayscale(.28);opacity:.84}
.v16103-world-group.is-locked{filter:grayscale(.28);opacity:.84}

/* v16.10.4.3 – adventure chests, world prizes and first boss checkpoint */
.v16104-chest-button{min-height:46px;line-height:1.18}
.v16104-reward-reveal,
.v16104-boss-dialog{
 position:relative;z-index:20;display:grid;justify-items:center;gap:10px;margin:0 0 18px;padding:24px;
 border:2px solid rgba(103,87,217,.24);border-radius:26px;background:linear-gradient(145deg,#fff9d8,#fff,#ecf8ff);
 box-shadow:0 20px 55px rgba(31,39,89,.18);text-align:center;overflow:hidden
}
.v16104-reward-reveal small,.v16104-boss-dialog>small{font-weight:950;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.v16104-reward-reveal h3,.v16104-boss-dialog h3{margin:0;font-size:1.45rem}
.v16104-reward-reveal p,.v16104-boss-dialog p{margin:0;color:var(--muted);font-weight:800}
.v16104-reward-reveal>strong,.v16104-boss-dialog>strong{font-size:1.24rem;color:#4b3fc0}
.v16104-reward-icon{display:grid;place-items:center;width:78px;height:78px;border-radius:24px;background:#fff;font-size:3rem;box-shadow:0 10px 25px rgba(40,48,100,.14);animation:v16104-pop .55s cubic-bezier(.2,.9,.25,1.25)}
.v16104-reward-sparkles{position:absolute;inset:12px auto auto 16px;font-size:1.25rem;letter-spacing:.35rem;animation:v16104-spark 1.2s ease-in-out infinite alternate}
.v16104-world-prize-reveal{background:linear-gradient(145deg,#fff0bb,#fff,#e4fff2)}
.v16104-world-prize{
 display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin:0 16px 17px;padding:16px 18px;
 border:2px dashed rgba(103,87,217,.25);border-radius:20px;background:rgba(255,255,255,.84)
}
.v16104-world-prize.is-unlocked{border-style:solid;border-color:rgba(52,201,122,.42);background:linear-gradient(135deg,#fffbea,#effff6)}
.v16104-world-prize.is-claimed{opacity:.82}
.v16104-world-prize-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:#fff;font-size:2rem;box-shadow:0 7px 18px rgba(35,42,85,.1)}
.v16104-world-prize div{display:grid;gap:2px;min-width:0}
.v16104-world-prize small{font-size:.7rem;font-weight:950;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.v16104-world-prize strong{font-size:1.02rem}
.v16104-world-prize p,.v16104-world-prize em{margin:0;color:var(--muted);font-size:.82rem;font-style:normal;font-weight:800}
.v16104-boss-card{
 display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;margin:0 16px 14px;padding:18px;
 border:2px solid rgba(167,91,43,.22);border-radius:22px;background:linear-gradient(135deg,#fff4d7,#fff,#edf8e8);box-shadow:0 9px 24px rgba(35,42,85,.08)
}
.v16104-boss-card.is-locked{filter:grayscale(.45);opacity:.72}
.v16104-boss-card.is-defeated{border-color:rgba(52,201,122,.5);background:linear-gradient(135deg,#effff5,#fff9d4)}
.v16104-boss-card-icon{display:grid;place-items:center;width:70px;height:70px;border-radius:22px;background:#fff;font-size:2.8rem;box-shadow:0 8px 20px rgba(35,42,85,.12)}
.v16104-boss-card-copy{display:grid;gap:4px;min-width:0}
.v16104-boss-card-copy>small:first-child{font-size:.7rem;font-weight:950;text-transform:uppercase;letter-spacing:.055em;color:#8f542b}
.v16104-boss-card-copy h3,.v16104-boss-card-copy p{margin:0}
.v16104-boss-card-copy p,.v16104-boss-card-copy>small:last-child{color:var(--muted);font-size:.82rem;font-weight:800}
.v16104-boss-card-metrics{display:flex;flex-wrap:wrap;gap:7px;margin:4px 0}
.v16104-boss-card-metrics span{display:grid;gap:1px;padding:7px 9px;border-radius:11px;background:#fff;color:var(--muted);font-size:.68rem;font-weight:850}
.v16104-boss-card-metrics strong{color:var(--text);font-size:.82rem}
.v16104-boss-dialog{background:linear-gradient(145deg,#e9ffe8,#fff8cf,#fff);text-align:left;justify-items:stretch}
.v16104-boss-dialog.is-victory{background:linear-gradient(145deg,#dcffe9,#fff8c9,#eef6ff)}
.v16104-boss-dialog.is-defeat{background:linear-gradient(145deg,#fff0e9,#fff,#f1efff)}
.v16104-boss-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}
.v16104-boss-head h3,.v16104-boss-head small{margin:0}
.v16104-boss-head small{color:var(--muted);font-weight:900}
.v16104-boss-head>b{padding:8px 11px;border-radius:999px;background:#fff;color:#2b8a55}
.v16104-boss-avatar{display:grid;place-items:center;width:72px;height:72px;border-radius:23px;background:#fff;font-size:3rem;box-shadow:0 9px 22px rgba(35,42,85,.13)}
.v16104-boss-health,.v16104-boss-result-bar{height:12px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.88);box-shadow:inset 0 0 0 1px rgba(35,42,85,.1)}
.v16104-boss-health span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ff765f,#ffb84a)}
.v16104-boss-result-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6757d9,#38c6ff,#34c97a)}
.v16104-boss-question{padding:14px 16px;border-radius:17px;background:#fff;color:var(--text)!important;font-size:1.05rem!important;font-weight:900!important}
.v16104-boss-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.v16104-boss-choices button{min-height:52px;padding:11px;border:2px solid rgba(103,87,217,.18);border-radius:15px;background:#fff;color:var(--text);font:inherit;font-weight:900;cursor:pointer}
.v16104-boss-choices button:hover:not(:disabled),.v16104-boss-choices button:focus-visible{border-color:#6757d9;transform:translateY(-1px)}
.v16104-boss-choices button.is-correct{border-color:#2fb66d;background:#eafff1;color:#17653b}
.v16104-boss-choices button.is-wrong{border-color:#e25353;background:#fff0f0;color:#8c2424}
.v16104-boss-feedback{padding:10px 13px;border-radius:13px;font-weight:950;text-align:center}
.v16104-boss-feedback.is-correct{background:#eafff1;color:#17653b}.v16104-boss-feedback.is-wrong{background:#fff0f0;color:#8c2424}
.v16104-boss-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.v16104-boss-exit{position:absolute;top:12px;right:12px;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:var(--text);font-size:1.5rem;font-weight:900;cursor:pointer}
@keyframes v16104-pop{0%{opacity:0;transform:scale(.55) rotate(-8deg)}100%{opacity:1;transform:none}}
@keyframes v16104-spark{from{opacity:.45;transform:translateY(0)}to{opacity:1;transform:translateY(-5px)}}
@media(max-width:760px){
 .v16104-boss-card,.v16104-world-prize{grid-template-columns:auto minmax(0,1fr)}
 .v16104-boss-card>button,.v16104-world-prize>button{grid-column:1/-1;width:100%}
 .v16104-boss-card-icon{width:58px;height:58px;font-size:2.25rem}
 .v16104-boss-choices{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.v16104-reward-icon,.v16104-reward-sparkles{animation:none!important}.v16104-boss-choices button{transform:none!important}}

/* =========================================================
   v16.10.4.3 – MOBILE HEADER, DAILY CHALLENGE AND PRIZE CONTRAST
========================================================= */
.v16104-world-prize.is-locked{
  opacity:1;
  background:#f3f4fa;
  border-color:#9b93dc;
}
.v16104-world-prize.is-locked small{color:#555d7b}
.v16104-world-prize.is-locked strong{color:#252957}
.v16104-world-prize.is-locked p,
.v16104-world-prize.is-locked em{color:#4f5874}
.v16104-world-prize.is-locked .v127-world-reward:disabled{
  color:#46506d !important;
  background:#e3e6ef !important;
  border-color:#b8bfce !important;
  opacity:1 !important;
}

@media(max-width:620px){
  html,body{max-width:100%;overflow-x:hidden}
  .app{width:100%;max-width:100%;overflow-x:clip}
  .topbar{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:8px !important;
    width:100%;
    max-width:100%;
    padding:8px !important;
    overflow:visible !important;
  }
  .v1600-brand{display:none !important}
  #v1310ProfileSwitcherBtn{
    grid-column:1;
    grid-row:1;
    width:100%;
    min-width:0;
    min-height:48px;
  }
  #v1310ActiveProfileName{max-width:none}
  .topstats{
    display:contents !important;
  }
  .language-wrap{
    grid-column:2;
    grid-row:1;
    align-self:stretch;
  }
  .language-button{
    min-width:62px;
    height:100%;
    padding:7px 8px !important;
  }
  .topstats .status-pill{
    min-width:0;
    width:auto;
    min-height:48px;
    padding:6px 8px !important;
    gap:5px;
    justify-content:center;
  }
  .topstats .status-pill:nth-child(1){grid-column:1;grid-row:2}
  .topstats .status-pill:nth-child(2){grid-column:2;grid-row:2}
  .topstats .status-pill:nth-child(3){grid-column:1 / -1;grid-row:3}
  .topstats .status-pill:nth-child(3){justify-self:stretch}
  .status-icon{width:30px !important;height:30px !important}
  .status-value{font-size:.92rem;white-space:nowrap}
  .status-label{display:block !important;font-size:.62rem}
  .level-name-value{max-width:130px;overflow:hidden;text-overflow:ellipsis}

  .v11-goal-card{
    min-height:0 !important;
    height:auto !important;
    grid-template-columns:112px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    column-gap:14px !important;
    row-gap:10px !important;
    padding:18px !important;
    align-items:center !important;
  }
  .v11-goal-icon{
    grid-column:1;
    grid-row:1;
    width:112px !important;
    height:112px !important;
    padding:8px !important;
    align-self:center !important;
  }
  .v11-goal-card>div:not(.v11-goal-icon){grid-column:2;grid-row:1}
  .v11-goal-card strong{font-size:2rem;line-height:1.05}
  .v11-goal-card p{font-size:.92rem;line-height:1.25}
  .v11-goal-card .main-btn{
    grid-column:1 / -1;
    grid-row:2;
    margin:0 !important;
    min-height:50px;
  }
}
@media(max-width:390px){
  .topbar{grid-template-columns:minmax(0,1fr) 58px !important}
  .language-button{min-width:58px}
  .language-button #languageCode{display:none}
  .v11-goal-card{grid-template-columns:96px minmax(0,1fr) !important;padding:15px !important}
  .v11-goal-icon{width:96px !important;height:96px !important}
  .v11-goal-card strong{font-size:1.8rem}
}

/* v16.10.4.3 final mobile topbar: profile/language first row, three stats second row. */
@media(max-width:620px){
  .topbar{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
  #v1310ProfileSwitcherBtn{grid-column:1 / 3 !important;grid-row:1 !important}
  .language-wrap{grid-column:3 !important;grid-row:1 !important;justify-self:stretch}
  .language-button{width:100%;justify-content:center}
  .topstats .status-pill:nth-child(1){grid-column:1 !important;grid-row:2 !important}
  .topstats .status-pill:nth-child(2){grid-column:2 !important;grid-row:2 !important}
  .topstats .status-pill:nth-child(3){grid-column:3 !important;grid-row:2 !important;justify-self:stretch}
}
@media(max-width:390px){
  .topbar{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}

/* =========================================================
   v16.10.4.3 – truly compact mobile daily challenge
========================================================= */
@media(max-width:620px){
  .v11-dashboard-top{
    grid-auto-rows:auto !important;
    align-items:start !important;
  }
  .v11-goal-card{
    min-height:0 !important;
    height:auto !important;
    max-height:none !important;
    grid-template-columns:82px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    gap:10px 12px !important;
    padding:14px 16px !important;
    border-radius:22px !important;
  }
  .v11-goal-icon{
    grid-column:1 !important;
    grid-row:1 !important;
    width:82px !important;
    height:82px !important;
    padding:7px !important;
    border-radius:20px !important;
  }
  .v11-goal-card>div:not(.v11-goal-icon){
    grid-column:2 !important;
    grid-row:1 !important;
    align-self:center !important;
  }
  .v11-goal-card .v11-kicker{font-size:.68rem !important;line-height:1.15 !important}
  .v11-goal-card strong{font-size:1.75rem !important;line-height:1 !important;margin:2px 0 4px !important}
  .v11-goal-card p{font-size:.84rem !important;line-height:1.2 !important}
  .v11-goal-card .main-btn{
    grid-column:1/-1 !important;
    grid-row:2 !important;
    min-height:44px !important;
    margin:0 !important;
    padding:10px 14px !important;
  }
}
@media(max-width:390px){
  .v11-goal-card{grid-template-columns:72px minmax(0,1fr) !important;padding:12px 14px !important}
  .v11-goal-icon{width:72px !important;height:72px !important}
  .v11-goal-card strong{font-size:1.6rem !important}
}

/* Locked world prizes remain fully readable in every themed world. */
.v16103-world-group .v16104-world-prize.is-locked,
.v16103-world-group.world-space .v16104-world-prize.is-locked{
  opacity:1 !important;
  filter:none !important;
  background:#f3f4fa !important;
  border-color:#8d84d4 !important;
  color:#252957 !important;
}
.v16103-world-group .v16104-world-prize.is-locked small,
.v16103-world-group.world-space .v16104-world-prize.is-locked small{color:#555d7b !important}
.v16103-world-group .v16104-world-prize.is-locked strong,
.v16103-world-group.world-space .v16104-world-prize.is-locked strong{color:#252957 !important}
.v16103-world-group .v16104-world-prize.is-locked p,
.v16103-world-group .v16104-world-prize.is-locked em,
.v16103-world-group.world-space .v16104-world-prize.is-locked p,
.v16103-world-group.world-space .v16104-world-prize.is-locked em{color:#46506d !important}

/* v16.11.2.1 – adventure progress in parent/teacher zones */
.v16105-adventure-report{margin:18px 0;padding:18px;border:1px solid #d9dcf5;border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(44,42,104,.07)}
.v16105-adventure-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.v16105-adventure-head h3{margin:0 0 5px}.v16105-adventure-head p{margin:0;color:#626785}.v16105-adventure-head>strong{white-space:nowrap;color:#34307e}
.v16105-adventure-bar{height:10px;margin:14px 0;border-radius:99px;background:#e9e9f7;overflow:hidden}.v16105-adventure-bar i{display:block;height:100%;background:linear-gradient(90deg,#6d5df5,#25c98b);border-radius:inherit}
.v16105-adventure-worlds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v16105-adventure-worlds article{display:flex;align-items:center;gap:10px;padding:11px;border-radius:14px;background:#f6f6fc}.v16105-adventure-worlds article>span{font-size:1.5rem}.v16105-adventure-worlds article div{display:grid;flex:1}.v16105-adventure-worlds small{color:#686d87}.v16105-adventure-worlds em{font-style:normal}.v16105-adventure-boss{margin-top:12px;padding:10px 12px;border-radius:12px;background:#fff7df;color:#55430c}
@media(max-width:600px){.v16105-adventure-head{display:grid}.v16105-adventure-worlds{grid-template-columns:1fr}}
/* v16.14.5 theory foundation */
.v161131-theory-btn{border:1px solid #c9c5ff;background:#fff;color:#4637a8;border-radius:14px;padding:10px 16px;font-weight:800;cursor:pointer;margin:4px 8px 4px 0}.v161131-theory-btn:hover{background:#f2f0ff}.v161131-theory-dialog{width:min(680px,calc(100vw - 24px));max-height:90vh;border:0;border-radius:24px;padding:0;box-shadow:0 24px 80px #18134c55}.v161131-theory-dialog::backdrop{background:#17143a99;backdrop-filter:blur(3px)}.v161131-theory-shell{position:relative;padding:26px;background:linear-gradient(145deg,#fff,#f6f8ff);color:#171b4b;overflow:auto;max-height:90vh}.v161131-theory-close{position:absolute;right:14px;top:12px;width:42px;height:42px;border:0;border-radius:50%;font-size:28px;background:#ececff;color:#302575;cursor:pointer}.v161131-theory-shell header{display:flex;gap:16px;padding-right:42px}.v161131-theory-shell header>span{font-size:44px}.v161131-theory-shell small{font-weight:900;letter-spacing:.08em;color:#6d63ae}.v161131-theory-shell h2{margin:2px 0 8px}.v161131-theory-shell section{margin-top:18px;padding:16px 18px;border-radius:16px;background:#fff;border:1px solid #e3e5f5}.v161131-theory-shell h3{margin:0 0 8px}.v161131-theory-shell ol{margin:0;padding-left:22px}.v161131-theory-shell li+li{margin-top:7px}.v161131-mistake{background:#fff7e8!important;border-color:#f3d18a!important}.v161131-check{background:#edfff4!important;border-color:#9bddb5!important}.v161131-theory-shell footer{margin-top:20px;display:flex;justify-content:flex-end}@media(max-width:600px){.v161131-theory-btn{padding:9px 12px;font-size:.9rem}.v161131-theory-shell{padding:20px 16px}.v161131-theory-shell header>span{font-size:36px}}

/* v16.14.5 – equal action alignment and mature learning-area headings. */
:is([data-number-skill],[data-money-skill],[data-clock-skill],[data-measurement-skill],[data-fractions-skill],[data-geometry-skill],[data-word-problem-skill]):has(> .v161131-theory-btn){
 display:grid!important;
 grid-template-rows:auto auto minmax(28px,auto) minmax(0,1fr) auto auto!important;
 align-content:stretch!important;
 height:100%;
}
:is([data-number-skill],[data-money-skill],[data-clock-skill],[data-measurement-skill],[data-fractions-skill],[data-geometry-skill],[data-word-problem-skill]) > .v161131-theory-btn{
 grid-row:5;margin:4px 0 4px!important;width:100%;align-self:end;
}
:is([data-number-skill],[data-money-skill],[data-clock-skill],[data-measurement-skill],[data-fractions-skill],[data-geometry-skill],[data-word-problem-skill]) > .v1611-start-skill{
 grid-row:6;width:100%;align-self:end;
}

/* v16.14.5 – theory reporting */
.v161135-theory-report{margin:16px 0;padding:18px;border:1px solid #d9dcff;border-radius:22px;background:#fff}
.v161135-theory-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.v161135-theory-head h3{margin:0 0 4px}.v161135-theory-head p{margin:0;color:#62668a}.v161135-theory-head>strong{padding:8px 12px;border-radius:999px;background:#efedff;color:#5144b8}
.v161135-theory-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.v161135-theory-metrics span{display:flex;flex-direction:column;padding:11px;border-radius:14px;background:#f7f7ff;color:#62668a}.v161135-theory-metrics b{font-size:1.1rem;color:#25265d}
.v161135-theory-list{display:grid;gap:10px}.v161135-theory-list article{display:grid;grid-template-columns:minmax(150px,.7fr) 1.3fr;gap:12px;padding:12px;border:1px solid #ececff;border-radius:14px}.v161135-theory-list small,.v161135-theory-list em{display:block;color:#686b8f;font-style:normal}.v161135-theory-empty{margin:12px 0 0;color:#686b8f}
@media(max-width:620px){.v161135-theory-metrics{grid-template-columns:1fr}.v161135-theory-list article{grid-template-columns:1fr}}

/* v16.14.5 – unified boss cards */
.v16104-boss-card.v161161-boss-card{
  grid-template-columns:70px minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:start;
  gap:14px 16px;
  min-height:250px;
}
.v161161-boss-copy{display:flex!important;flex-direction:column;min-height:100%}
.v161161-boss-copy>.v16104-boss-card-metrics{margin-top:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}
.v161161-boss-copy>.v16104-boss-card-metrics span{min-width:0;text-align:center}
.v16104-boss-card.v161161-boss-card>.v16104-boss-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));width:100%;margin-top:2px}
.v16104-boss-card.v161161-boss-card>.v16104-boss-actions>*{width:100%;min-height:46px;display:flex;align-items:center;justify-content:center}
.v16104-boss-card.v161161-boss-card[data-v161161-state="locked"]{opacity:.78}
.v16104-boss-card.v161161-boss-card[data-v161161-state="defeated"]{box-shadow:0 12px 30px rgba(52,201,122,.14)}
@media(max-width:720px){
 .v16104-boss-card.v161161-boss-card{grid-template-columns:58px minmax(0,1fr);min-height:0}
 .v161161-boss-copy>.v16104-boss-card-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* v16.14.5 – world completion screens */
.v161162-world-complete{margin:18px 14px 14px;padding:18px;display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;border-radius:18px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(247,250,255,.92));border:2px solid rgba(109,91,255,.18);box-shadow:0 10px 26px rgba(31,41,55,.08)}
.v161162-world-complete-icon{font-size:38px}.v161162-world-complete-copy small{font-weight:800;text-transform:uppercase;letter-spacing:.05em;opacity:.65}.v161162-world-complete-copy h4{margin:3px 0 5px;font-size:1.08rem}.v161162-world-complete-copy p{margin:0;opacity:.82}.v161162-world-complete-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.v161162-world-complete-actions button{white-space:nowrap}
@media(max-width:760px){.v161162-world-complete{grid-template-columns:auto 1fr}.v161162-world-complete-actions{grid-column:1/-1;justify-content:stretch}.v161162-world-complete-actions button{flex:1 1 180px}}

/* v16.14.5 – interactive theory mini checks */
.v161131-check[data-interactive-theory-check="true"]{background:linear-gradient(180deg,#f8fbff,#eef7ff);border:1px solid rgba(44,111,170,.2);border-radius:18px;padding:16px}
.v16121-check-question{font-weight:700;margin:0 0 12px}
.v16121-check-row,.v16121-self-row,.v16121-check-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.v16121-check-row input{min-width:160px;flex:1;border:2px solid rgba(44,111,170,.25);border-radius:12px;padding:11px 13px;font:inherit;background:#fff}
.v16121-check-feedback{min-height:24px;margin-top:10px}.v16121-check-feedback.is-correct{color:#176b3a}.v16121-check-feedback.is-wrong{color:#9a351f}
.v16121-check-actions{margin-top:12px}.v16121-check-actions[hidden]{display:none}.v16121-check-actions button,.v16121-self-row button{min-height:42px;border-radius:12px;padding:9px 14px}
@media(max-width:560px){.v16121-check-row>*{width:100%}.v16121-check-actions>*{flex:1 1 100%}}

/* v18.12.2.1 – wider attention status cell */
@media(max-width:980px){
 .v1434-student-row-end{grid-column:1/-1;grid-template-columns:max-content 24px;justify-content:start;min-width:0}
 .v1434-student-row-end .v1430-student-progress-badge{justify-self:start!important}
}
@media(max-width:520px){
 .v1434-student-row-end{width:100%;grid-template-columns:minmax(0,1fr) 24px}
 .v1434-student-row-end .v1430-student-progress-badge{white-space:normal!important;text-align:left}
}

/* v18.12.2.1 · Plano A1 · Admin diagnostics launcher */
.v180101-diagnostics-launch{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0}
.v180101-diagnostics-launch-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.v180101-diagnostics-launch-copy strong{color:var(--ink,#12213f)}
.v180101-diagnostics-launch-copy span{color:var(--muted,#66728c);font-size:.88rem;line-height:1.35}
.v180101-diagnostics-launch .secondary-btn{width:auto;min-width:230px;margin:0;flex:0 0 auto}
@media(max-width:720px){.v180101-diagnostics-launch{align-items:stretch;flex-direction:column}.v180101-diagnostics-launch .secondary-btn{width:100%;min-width:0}}

/* v18.12.2.1 – mobile topbar long-level-name guard */
.topstats .status-pill > div{
  min-width:0;
  max-width:100%;
  overflow:hidden;
}
.level-name-value{
  display:block;
  min-width:0;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
@media(max-width:620px){
  .topstats .status-pill{
    overflow:hidden;
  }
  .topstats .status-pill:nth-child(1){
    gap:4px;
  }
  .topstats .status-pill:nth-child(1) > div{
    min-width:0;
    width:100%;
  }
  .topstats .status-pill:nth-child(1) .level-name-value{
    max-width:100%;
    font-size:clamp(.68rem,3.1vw,.88rem);
  }
}
@media(max-width:390px){
  .topstats .status-pill{
    padding-left:5px !important;
    padding-right:5px !important;
  }
  .topstats .status-pill:nth-child(1) .status-icon{
    width:27px !important;
    height:27px !important;
  }
  .topstats .status-pill:nth-child(1) .level-name-value{
    font-size:clamp(.64rem,3.4vw,.78rem);
  }
}


/* v18.12.2.1 — Mistake Notebook visual polish */
.v18121-mn-card{
  margin-top:16px;padding:20px;border:1px solid #d9e2f2;border-radius:22px;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);
  box-shadow:0 8px 24px rgba(32,56,96,.06);
}
.v18121-mn-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.v18121-mn-title-wrap{display:flex;align-items:center;gap:12px;min-width:0}
.v18121-mn-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:14px;background:#eee9ff;font-size:24px;font-weight:900}
.v18121-mn-icon-ok{background:#e4f8eb}
.v18121-mn-title{margin:0;font-size:1.1rem;line-height:1.2}
.v18121-mn-subtitle{margin:4px 0 0;color:#687494;font-size:.86rem}
.v18121-mn-badges{display:flex;gap:8px}
.v18121-mn-badge{min-width:86px;padding:8px 10px;border-radius:14px;text-align:center;display:flex;flex-direction:column;gap:2px}
.v18121-mn-badge strong{font-size:1.05rem;line-height:1}
.v18121-mn-badge small{font-size:.72rem;font-weight:700}
.v18121-mn-badge-open{background:#fff3cf}
.v18121-mn-badge-done{background:#e2f7ea}
.v18121-mn-empty{margin-top:16px;padding:14px 16px;border-radius:16px;display:flex;gap:12px;align-items:center;background:#f1f8f4;border:1px solid #d7eddf}
.v18121-mn-empty-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:12px;background:#dff3e6;font-size:18px}
.v18121-mn-empty strong{display:block}
.v18121-mn-empty p{margin:3px 0 0;color:#687494;font-size:.84rem}
.v18121-mn-focus{margin-top:16px;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;background:#f2efff}
.v18121-mn-focus span{color:#687494;font-size:.82rem}
.v18121-mn-list{display:grid;gap:8px;margin-top:10px}
.v18121-mn-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;border:1px solid #e2e8f2;border-radius:14px;background:#fff}
.v18121-mn-row-main{min-width:0;display:flex;flex-direction:column;gap:2px}
.v18121-mn-row-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v18121-mn-row-main span{color:#687494;font-size:.78rem}
.v18121-mn-row-stats{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.v18121-mn-row-stats span{padding:5px 8px;border-radius:999px;background:#f5f7fb;font-size:.76rem}
@media (max-width:620px){
 .v18121-mn-card{padding:16px;border-radius:18px}
 .v18121-mn-header{flex-direction:column}
 .v18121-mn-badges{width:100%}
 .v18121-mn-badge{flex:1;min-width:0}
 .v18121-mn-row{align-items:flex-start;flex-direction:column}
 .v18121-mn-row-stats{justify-content:flex-start}
}


/* v18.12.2.1 — Mistake Notebook placement */
.v18122-mistake-notebook-host{
  margin:16px 0 18px;
}
.v18122-mistake-notebook-host .v18121-mn-card{
  margin-top:0;
}


/* v18.12.2.1 — temporary developer diagnostics shortcut */
.v18122-diag-shortcut{
  position:fixed;
  left:14px;
  right:auto;
  bottom:14px;
  z-index:9995;
  border:1px solid #cfd8ee;
  border-radius:999px;
  padding:9px 13px;
  background:#fff;
  box-shadow:0 8px 24px rgba(28,45,82,.16);
  font-weight:800;
  cursor:pointer;
}
.v18122-diag-shortcut:hover{transform:translateY(-1px)}
.v18122-diag-overlay{
  position:fixed;
  inset:0;
  z-index:9998;
  padding:18px;
  overflow:auto;
  background:rgba(31,42,68,.55);
  backdrop-filter:blur(3px);
}
.v18122-diag-sheet{
  width:min(1120px,100%);
  margin:0 auto;
  padding:18px;
  border-radius:22px;
  background:#f8faff;
  box-shadow:0 18px 60px rgba(20,31,59,.26);
}
.v18122-diag-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:12px;
}
.v18122-diag-head h2{margin:0}
.v18122-diag-head p{margin:4px 0 0;color:#687494}
body.v18122-diag-open{overflow:hidden}
@media(max-width:620px){
  .v18122-diag-overlay{padding:8px}
  .v18122-diag-sheet{padding:12px;border-radius:16px}
  .v18122-diag-head{flex-direction:column}
  .v18122-diag-head .secondary-btn{width:100%}
}

/* v18.12.2.1 — spaced repetition summary */
.v1813-sr-summary{margin-top:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.v1813-sr-pill{min-width:0;padding:9px 11px;border-radius:14px;background:#f4f5fb;display:flex;align-items:center;justify-content:space-between;gap:10px}
.v1813-sr-pill span{color:#687494;font-size:.78rem;font-weight:700}.v1813-sr-pill strong{text-align:right;font-size:.85rem}
@media(max-width:620px){.v1813-sr-summary{grid-template-columns:1fr}}


/* v18.12.2.1 — Parent multi-child switcher */
.v1814-parent-child-host{margin:0 0 16px}
.v1814-parent-child-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px}
.v1814-parent-child-head h3{margin:0;font-size:1.05rem}
.v1814-parent-child-head p{margin:4px 0 0;color:#687494;font-size:.84rem}
.v1814-parent-child-active{display:flex;flex-direction:column;align-items:flex-end;padding:7px 10px;border-radius:13px;background:#eef1ff}
.v1814-parent-child-active small{color:#687494;font-size:.68rem;font-weight:700}
.v1814-parent-child-active strong{font-size:.86rem}
.v1814-parent-child-list{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 4px;scrollbar-width:thin}
.v1814-parent-child-chip{min-width:180px;max-width:240px;border:1px solid #dde3ef;border-radius:16px;background:#fff;padding:10px 11px;display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer;box-shadow:0 3px 12px rgba(38,52,89,.04)}
.v1814-parent-child-chip.active{border-color:#705cf6;background:#f5f2ff;box-shadow:0 0 0 2px rgba(112,92,246,.08)}
.v1814-parent-child-avatar{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:11px;background:#f0f3f8;font-size:18px}
.v1814-parent-child-chip.active .v1814-parent-child-avatar{background:#e8e2ff}
.v1814-parent-child-copy{min-width:0;display:flex;flex-direction:column;gap:2px;flex:1}
.v1814-parent-child-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v1814-parent-child-copy small{color:#687494;font-size:.74rem}
.v1814-parent-child-check{width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;border-radius:999px;background:#dff5e6;color:#166c37;font-weight:900}
.v1814-parent-child-empty{padding:12px;border:1px dashed #d8deeb;border-radius:14px;color:#687494;background:#fafbfe}
@media(max-width:620px){
 .v1814-parent-child-head{flex-direction:column}
 .v1814-parent-child-active{align-items:flex-start}
 .v1814-parent-child-chip{min-width:165px}
}


/* v18.12.2.1 — Accessibility/TTS foundation */
.v1815-accessibility-card{
  margin:14px 0;
  padding:16px;
  border:1px solid #d9e2f2;
  border-radius:18px;
  background:#fbfcff;
}
.v1815-accessibility-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.v1815-accessibility-head h3{margin:0}
.v1815-accessibility-head p{margin:4px 0 0;color:#687494;font-size:.86rem}
.v1815-accessibility-grid{
  margin-top:12px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 14px;
}
.v1815-accessibility-grid label{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:12px;
  background:#f5f7fb;
  font-weight:700;
}
.v1815-speak-btn{
  min-width:42px;height:42px;
  border:0;border-radius:12px;
  background:#eee9ff;
  cursor:pointer;
  font-size:18px;
}
html.v1815-large-text{font-size:112%}
html.v1815-reduced-motion *,html.v1815-reduced-motion *::before,html.v1815-reduced-motion *::after{
  animation-duration:.001ms!important;
  animation-iteration-count:1!important;
  transition-duration:.001ms!important;
  scroll-behavior:auto!important
}
html.v1815-focus-ring :focus-visible{
  outline:3px solid currentColor!important;
  outline-offset:3px!important
}
@media(max-width:620px){
  .v1815-accessibility-grid{grid-template-columns:1fr}
}


/* v18.12.2.1 — Review session */
.v1822-review-launch{
  margin-top:10px;
  width:100%;
  border:0;
  border-radius:14px;
  padding:11px 14px;
  background:#6556e8;
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.v1822-review-launch:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.v1822-review-overlay{
  position:fixed;
  inset:0;
  z-index:9997;
  padding:18px;
  background:rgba(31,42,68,.55);
  backdrop-filter:blur(3px);
  display:grid;
  place-items:center;
}
.v1822-review-card{
  width:min(620px,100%);
  border-radius:22px;
  padding:18px;
  background:#fff;
  box-shadow:0 18px 60px rgba(20,31,59,.28);
}
.v1822-review-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.v1822-review-head h2{margin:0}
.v1822-review-head p{margin:4px 0 0;color:#687494}
.v1822-review-question{
  margin-top:16px;
  min-height:92px;
  border-radius:18px;
  padding:18px;
  display:grid;
  place-items:center;
  text-align:center;
  background:#f6f7fb;
  font-size:1.35rem;
  font-weight:900;
}
.v1822-review-answer{
  min-height:28px;
  margin-top:8px;
  text-align:center;
  color:#3c8f64;
  font-weight:900;
}
.v1822-review-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:14px;
}
.v1822-review-actions .main-btn,
.v1822-review-actions .secondary-btn{
  margin:0;
  min-height:64px;
  height:64px;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1.2;
}
body.v1822-review-open{overflow:hidden}
@media(max-width:620px){
  .v1822-review-overlay{padding:8px}
  .v1822-review-card{padding:14px;border-radius:16px}
  .v1822-review-actions{grid-template-columns:1fr}
}

.v1823-tts-lab{margin-top:14px;padding-top:14px;border-top:1px solid #e1e6f0}.v1823-tts-head{display:flex;justify-content:space-between;gap:10px}.v1823-tts-head small{display:block;color:#687494}.v1823-tts-lab label{display:flex;justify-content:space-between;gap:12px;margin:8px 0;padding:8px 10px;border-radius:12px;background:#f5f7fb}.v1823-tts-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.v1823-tts-status{min-height:20px;margin-top:8px;font-weight:700}.v1823-task-tts{display:block;margin:6px auto 10px;width:42px;height:42px;border:0;border-radius:50%;background:#eee9ff;font-size:18px;cursor:pointer}@media(max-width:620px){.v1823-tts-actions{grid-template-columns:1fr}.v1823-tts-lab label{flex-direction:column}}

.v18233-cost-note{
  margin:8px 0 10px;
  padding:9px 11px;
  border-radius:12px;
  background:#fff5df;
  color:#76550f;
  font-size:.78rem;
  line-height:1.35;
}
.v18233-task-tts-status{
  display:block;
  min-height:16px;
  margin:-4px auto 8px;
  text-align:center;
  color:#687494;
  font-size:.72rem;
  font-weight:700;
}

.v18234-liepa-probe{width:100%;margin-top:8px}
.v18234-liepa-result{
  margin:8px 0 0;
  max-height:280px;
  overflow:auto;
  padding:10px;
  border-radius:12px;
  background:#151a27;
  color:#eef2ff;
  font-size:.72rem;
  line-height:1.35;
  white-space:pre-wrap;
  text-align:left;
}

.v18234-liepa-probe:disabled{
  opacity:.55;
  cursor:not-allowed;
}

/* v18.12.2.1 – parent detailed progress hierarchy / badge alignment */
.v18832-parent-detailed-progress{border:1px solid rgba(98,84,184,.16);border-radius:18px;background:#fff;overflow:hidden}
.v18832-parent-detailed-progress>.v16901-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0;padding:16px 18px;cursor:pointer;list-style:none}
.v18832-parent-detailed-progress>.v16901-section-head::-webkit-details-marker{display:none}
.v18832-parent-details-chevron{color:#6254b8;font-size:18px;transition:transform .18s}
.v18832-parent-detailed-progress[open] .v18832-parent-details-chevron{transform:rotate(180deg)}
.v18832-parent-detailed-body{padding:0 16px 16px}
.v16901-area-summary{display:grid;grid-template-columns:minmax(96px,auto) minmax(100px,auto) minmax(112px,auto);align-items:center;justify-content:end;gap:7px}
.v16901-area-summary span{display:flex;align-items:center;justify-content:center;min-height:28px;line-height:1.1;white-space:nowrap;box-sizing:border-box}
@media(max-width:760px){.v18832-parent-detailed-progress>.v16901-section-head{align-items:flex-start}.v16901-area-summary{display:none}}

/* v18.12.2.1 – strict parent area metric alignment */
@media(min-width:761px){
 #v1553ParentModuleSummary .v16901-area>summary{
  display:grid;
  grid-template-columns:minmax(260px,1fr) 354px 22px;
  align-items:center;
  gap:12px;
 }
 #v1553ParentModuleSummary .v16901-area>summary:after{
  justify-self:end;
  margin:0;
 }
 #v1553ParentModuleSummary .v16901-area-summary{
  display:grid;
  grid-template-columns:112px 112px 116px;
  width:354px;
  justify-content:stretch;
  gap:7px;
 }
 #v1553ParentModuleSummary .v16901-area-summary span{
  width:100%;
  min-width:0;
  min-height:30px;
  padding:5px 7px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  box-sizing:border-box;
 }
}

/* v18.12.2.1 – Parent zone information hierarchy */
.v18835-family-children{
 margin:14px 0 16px;
 padding:12px 0 0;
 border-top:1px solid #e3e7f2
}
.v18835-family-children .v1814-parent-child-head{
 margin-bottom:9px
}
.v18835-family-children .v1814-parent-child-head h3{
 font-size:.94rem
}
.v18835-family-children .v1814-parent-child-head p{
 font-size:.78rem
}
.v18835-section-head{
 display:flex;
 align-items:flex-start;
 justify-content:space-between;
 gap:14px;
 margin-bottom:10px
}
.v18835-section-head h3{
 margin:0
}
.v18835-viewing-badge{
 display:inline-flex;
 flex-direction:column;
 align-items:flex-end;
 flex:0 0 auto;
 padding:7px 11px;
 border-radius:13px;
 background:#eef1ff;
 line-height:1.1
}
.v18835-viewing-badge small{
 color:#687494;
 font-size:.68rem
}
.v18835-viewing-badge strong{
 margin-top:2px;
 font-size:.84rem
}
@media(max-width:620px){
 .v18835-section-head{align-items:flex-start}
 .v18835-viewing-badge{align-items:flex-start}
}

/* v18.12.2.1 — tablet density and overflow hardening from real tablet screenshots */
:root{--v181022-tablet-layout:1}
@media (min-width:621px) and (max-width:1100px){
  body{padding:12px}
  .app{width:min(100%,960px);max-width:100%}
  .topbar{gap:8px;padding:8px 10px}
  .status-pill{padding:6px 9px;min-height:46px}
  .status-icon{width:30px;height:30px}

  .v11-dashboard-top{
    grid-template-columns:minmax(0,1.18fr) minmax(250px,.82fr) !important;
    gap:12px !important;
    grid-auto-rows:auto !important;
    align-items:stretch !important;
  }
  .v11-hero-card,.v11-goal-card{min-height:230px !important;height:auto !important}
  .v11-hero-card{grid-template-columns:138px minmax(0,1fr) auto !important;gap:13px !important;padding:14px !important}
  .v11-hero-visual,.v11-hero-left{width:138px !important;height:170px !important}
  .v11-hero-card .hero-avatar,.v11-hero-left .hero-avatar{width:134px !important;height:170px !important;flex-basis:170px !important;padding:7px !important}
  .v11-hero-card .hero-info strong{font-size:1.32rem !important}
  .v11-hero-card .equipped-list{gap:5px !important}
  .v11-hero-card .equipped-chip{padding:5px 8px !important;font-size:.78rem !important}
  .v11-goal-card{grid-template-columns:82px minmax(0,1fr) !important;grid-template-rows:auto auto !important;gap:9px 13px !important;padding:15px !important}
  .v11-goal-icon{grid-row:1 !important;width:82px !important;height:82px !important;padding:8px !important}
  .v11-goal-card strong{font-size:1.75rem !important;line-height:1.05 !important}
  .v11-goal-card p{font-size:.86rem !important;line-height:1.25 !important}
  .v11-goal-card .main-btn{grid-column:1/-1 !important;grid-row:2 !important;margin:0 !important;min-height:44px !important;padding:10px 12px !important}

  .v16901-skill-grid{gap:8px !important;padding:0 10px 10px !important}
  .v16901-skill-card{min-width:0 !important;padding:10px !important}
  .v16901-skill-head{display:grid !important;grid-template-columns:minmax(0,1fr) !important;gap:5px !important}
  .v16901-skill-head>div{min-width:0}
  .v16901-skill-head strong{display:block;overflow-wrap:anywhere;word-break:normal;line-height:1.18}
  .v16901-skill-head small{font-size:.77rem;line-height:1.28;overflow-wrap:anywhere}
  .v16901-skill-head>span,.v16901-skill-head>em{white-space:normal !important;overflow-wrap:anywhere;font-size:.78rem;line-height:1.15}
  .v16901-skill-extra{gap:5px !important;margin-top:7px !important}
  .v16901-skill-extra span,.v16901-skill-extra em{font-size:.7rem !important;padding:4px 6px !important;max-width:100%;overflow-wrap:anywhere}
  .v16901-category-details summary{font-size:.84rem;overflow-wrap:anywhere}
  .v16901-area>summary{padding:12px 13px !important}
  .v16901-area-summary{gap:5px !important}
  .v16901-area-summary span{font-size:.74rem !important;padding:4px 7px !important}
}
@media (min-width:621px) and (max-width:760px){
  .v11-dashboard-top{grid-template-columns:1fr !important}
  .v11-hero-card,.v11-goal-card{min-height:0 !important}
}

/* v18.12.2.1 — tablet statistics header containment from real tablet screenshots */
:root{--v181041-tablet-stats-containment:1}
@media (min-width:621px) and (max-width:1100px){
  /* Keep long skill names and medal labels in separate rows so neither can leave the card. */
  #v16901UnifiedStatistics .v16901-skill-card{overflow:hidden!important}
  #v16901UnifiedStatistics .v16901-skill-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    align-items:start!important;
    gap:5px!important;
  }
  #v16901UnifiedStatistics .v16901-skill-head>div{
    min-width:0!important;
    width:100%!important;
    grid-column:1!important;
  }
  #v16901UnifiedStatistics .v16901-skill-head>span,
  #v16901UnifiedStatistics .v16901-skill-head>em{
    grid-column:1!important;
    justify-self:start!important;
    max-width:100%!important;
    width:auto!important;
    min-width:0!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    text-align:left!important;
    font-size:.75rem!important;
    line-height:1.15!important;
  }
  #v16901UnifiedStatistics .v16901-skill-head strong{
    max-width:100%!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    hyphens:none!important;
  }
  #v16901UnifiedStatistics .v16901-skill-extra{
    display:flex!important;
    flex-wrap:wrap!important;
    min-width:0!important;
  }
  #v16901UnifiedStatistics .v16901-skill-extra span,
  #v16901UnifiedStatistics .v16901-skill-extra em{
    flex:0 1 auto!important;
    min-width:0!important;
    max-width:100%!important;
  }
  #v16901UnifiedStatistics .v16901-category-details,
  #v16901UnifiedStatistics .v16901-category-details ul,
  #v16901UnifiedStatistics .v16901-category-details li{min-width:0!important;max-width:100%!important}
  #v16901UnifiedStatistics .v16901-category-details li{
    grid-template-columns:minmax(0,1fr)!important;
    gap:4px!important;
  }
  #v16901UnifiedStatistics .v16901-category-state{
    justify-items:start!important;
    text-align:left!important;
    width:100%!important;
  }
  #v16901UnifiedStatistics .v16901-category-state em,
  #v16901UnifiedStatistics .v16901-category-medal{
    max-width:100%!important;
    white-space:normal!important;
    text-align:left!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
}


/* v18.12.2.1 — real tablet card-width containment + legacy desktop-mode fallback */
:root{--v181042-card-width-containment:1}
#v16901UnifiedStatistics .v16901-skill-card{container-type:inline-size;container-name:v181042-skill-card}
@container v181042-skill-card (max-width:460px){
  #v16901UnifiedStatistics .v16901-skill-head{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;
    gap:4px!important;align-items:start!important
  }
  #v16901UnifiedStatistics .v16901-skill-head>div,
  #v16901UnifiedStatistics .v16901-skill-head>span,
  #v16901UnifiedStatistics .v16901-skill-head>em{grid-column:1!important;min-width:0!important;max-width:100%!important}
  #v16901UnifiedStatistics .v16901-skill-head>span,
  #v16901UnifiedStatistics .v16901-skill-head>em{
    justify-self:start!important;width:auto!important;white-space:normal!important;text-align:left!important;
    overflow-wrap:anywhere!important;word-break:normal!important;font-size:.74rem!important;line-height:1.15!important
  }
  #v16901UnifiedStatistics .v16901-skill-head strong{overflow-wrap:anywhere!important;word-break:normal!important;hyphens:none!important}
  #v16901UnifiedStatistics .v16901-category-details li{grid-template-columns:minmax(0,1fr)!important;gap:4px!important}
  #v16901UnifiedStatistics .v16901-category-state{justify-items:start!important;text-align:left!important;width:100%!important}
}
/* Some Android tablets report a wide CSS viewport in desktop/landscape mode. Keep the same safe layout there. */
@media (min-width:621px) and (max-width:1366px){
  #v16901UnifiedStatistics .v16901-skill-card{overflow:hidden!important}
  #v16901UnifiedStatistics .v16901-skill-head>div{min-width:0!important}
  #v16901UnifiedStatistics .v16901-skill-head strong,
  #v16901UnifiedStatistics .v16901-skill-head small{max-width:100%!important;overflow-wrap:anywhere!important;word-break:normal!important}
  #v16901UnifiedStatistics .v16901-category-details,
  #v16901UnifiedStatistics .v16901-category-details ul,
  #v16901UnifiedStatistics .v16901-category-details li{min-width:0!important;max-width:100%!important;overflow:hidden!important}
  #v16901UnifiedStatistics .v16901-category-details li>span{min-width:0!important;max-width:100%!important}
  #v16901UnifiedStatistics .v16901-category-details li strong,
  #v16901UnifiedStatistics .v16901-category-details li small{overflow-wrap:anywhere!important;word-break:normal!important}
}

/* v18.12.2.1 negative numbers / number line */
.v18106-number-line{display:flex;align-items:flex-end;justify-content:space-between;gap:0;position:relative;width:min(100%,720px);margin:6px auto;padding:24px 18px 6px;box-sizing:border-box}.v18106-number-line::before{content:"";position:absolute;left:18px;right:18px;top:34px;height:3px;background:currentColor;opacity:.35;border-radius:3px}.v18106-number-line-tick{position:relative;display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;font-size:12px}.v18106-number-line-tick i{width:2px;height:14px;background:currentColor;opacity:.55;z-index:1}.v18106-number-line-tick b{margin-top:5px;font-size:12px;white-space:nowrap}.v18106-number-line-tick.is-start i{height:20px;width:4px;opacity:1}.v18106-number-line-tick.is-start b{font-size:15px}

/* v18.12.2.1 — scale task visual; avoids generic place-value fallback */
.v181061-scale-visual{display:grid;gap:14px;width:min(100%,640px);padding:8px 4px;box-sizing:border-box;color:#2f2868}
.v181061-scale-ratio{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.v181061-scale-ratio small{font-weight:800;color:#667085}.v181061-scale-ratio strong{font-size:1.35rem;color:#43388a}
.v181061-scale-links{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:center;width:100%}
.v181061-scale-links>span{display:grid;gap:6px;place-items:center;min-width:0;padding:14px 12px;border:1px solid #ddd8f7;border-radius:16px;background:#fff;text-align:center}
.v181061-scale-links small{font-weight:800;color:#667085}.v181061-scale-links b{font-size:1.35rem;overflow-wrap:anywhere}.v181061-scale-links>i{font-style:normal;font-size:1.5rem;font-weight:900;color:#6254b8}
.v181061-scale-hint{text-align:center;font-weight:800;color:#6254b8}
@media(max-width:560px){.v181061-scale-links{grid-template-columns:1fr}.v181061-scale-links>i{transform:rotate(90deg)}.v181061-scale-ratio strong,.v181061-scale-links b{font-size:1.15rem}}

/* v18.12.2.1 prism + volume visuals */
.v18107-prism-svg{width:min(100%,420px);height:auto;display:block;margin:0 auto}.v18107-prism-face{fill:#f2efff;stroke:#6355d8;stroke-width:3}.v18107-prism-line{fill:none;stroke:#6355d8;stroke-width:3}.v18107-prism-svg text{font-weight:800;fill:#25234d;font-size:15px}.v18107-net rect{fill:#f6f4ff;stroke:#6355d8;stroke-width:2}

/* v18.12.2.1 prism net choice clarity */
:root{--v181072-prism-net-choices:1;}
.v181072-prism-net-options .v18107-net-card{fill:#fff;stroke:#d8def5;stroke-width:1.5;}
.v181072-prism-net-options .v18107-net-option rect:not(.v18107-net-card){fill:#f5f1ff;stroke:#6655dd;stroke-width:1.8;}
.v181072-prism-net-options .v18107-net-label{font:700 18px system-ui,sans-serif;fill:#27304f;}

/* v18.14 Curriculum Completion I */
.v18140-decimal-visual,.v18140-percent-visual{display:grid;gap:10px;width:min(100%,640px);padding:14px 16px;border-radius:18px;background:rgba(95,82,214,.07);box-sizing:border-box;color:#2f2868}
.v18140-decimal-visual small,.v18140-percent-visual small{font-weight:800;opacity:.72}
.v18140-decimal-visual strong{font-size:clamp(28px,5vw,44px);letter-spacing:.02em}
.v18140-decimal-visual em,.v18140-percent-visual em{font-style:normal;font-size:.92rem;opacity:.76}
.v18140-percent-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.v18140-percent-head strong{font-size:clamp(26px,5vw,40px)}
.v18140-percent-bar{height:22px;border:2px solid rgba(47,40,104,.28);border-radius:999px;overflow:hidden;background:#fff}
.v18140-percent-bar i{display:block;height:100%;background:linear-gradient(90deg,#9b87ff,#5f52d6);border-radius:inherit}

/* v18.16 Learning Feedback 2.0 */
.v18160-feedback-extra{display:grid;gap:4px;margin-top:8px;padding:10px 12px;border-radius:14px;background:rgba(95,82,214,.08);text-align:left}
.v18160-feedback-extra b{font-size:.92rem}.v18160-feedback-extra span,.v18160-feedback-extra em{font-style:normal;font-size:.88rem}
.v18160-pretest-btn{margin-inline-end:8px}
.v18160-pretest-modal{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:18px;background:rgba(20,22,36,.52)}
.v18160-pretest-modal[hidden]{display:none}
.v18160-pretest-card{position:relative;width:min(620px,100%);max-height:min(82vh,760px);overflow:auto;padding:22px;border-radius:24px;background:#fff;box-shadow:0 22px 70px rgba(18,18,40,.26)}
.v18160-pretest-x{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer}
.v18160-pretest-q{display:grid;gap:14px}.v18160-pretest-q>strong{font-size:1.12rem}
.v18160-pretest-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.v18160-pretest-choices button{min-height:48px;border-radius:14px;border:1px solid rgba(47,40,104,.25);background:#fff;font-weight:700}
.v18160-pretest-choices button.is-correct{outline:3px solid rgba(44,160,96,.45)}.v18160-pretest-choices button.is-wrong{outline:3px solid rgba(210,70,70,.42)}
.v18160-pretest-result{display:grid;gap:12px}
@media(max-width:560px){.v18160-pretest-choices{grid-template-columns:1fr}.v18160-pretest-card{padding:20px 16px}}

/* v18.17 Early Math & Visual Foundations */
.v18170-area{margin-top:18px;padding:18px;border-radius:22px;background:rgba(92,80,210,.055)}
.v18170-area-head h3{margin:0 0 4px}.v18170-area-head p{margin:0 0 14px;opacity:.78}
.v18170-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.v18170-card{display:grid;gap:8px;padding:14px;border-radius:18px;background:#fff;border:1px solid rgba(47,40,104,.12)}
.v18170-card small{opacity:.68}
.v18170-practice{width:min(760px,calc(100% - 28px));margin:18px auto;display:grid;gap:18px;text-align:center}
.v18170-practice header{display:flex;align-items:center;gap:12px;text-align:left}
.v18170-practice [data-v18170-prompt]{font-size:1.15rem;font-weight:800}
.v18170-practice [data-v18170-visual]{min-height:170px;display:grid;place-items:center}
.v18170-practice [data-v18170-choices]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.v18170-practice [data-v18170-choice]{min-height:54px;border-radius:15px;border:1px solid rgba(47,40,104,.2);background:#fff;font-size:1.08rem;font-weight:800}
.v18170-practice [data-v18170-choice].is-correct{outline:3px solid rgba(45,160,95,.35)}.v18170-practice [data-v18170-choice].is-wrong{outline:3px solid rgba(215,70,70,.35)}
.v18170-big-number{font-size:92px;font-weight:900}
.v18170-ten-frame{display:grid;grid-template-columns:repeat(5,38px);grid-template-rows:repeat(2,38px);gap:6px;padding:8px;border:3px solid currentColor;border-radius:12px}
.v18170-ten-frame i{display:block;border:1px solid rgba(47,40,104,.25);border-radius:50%}.v18170-ten-frame i.on{background:currentColor}
.v18170-fingers{display:flex;gap:10px}.v18170-hand{display:flex;align-items:end;gap:2px;padding:8px;border-radius:16px;background:rgba(255,205,80,.18)}
.v18170-hand i{font-style:normal;font-size:30px;opacity:.18}.v18170-hand i.up{opacity:1}
.v18170-finger-equation{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.v18170-finger-equation>b{font-size:42px}
.v18170-number-line-svg{display:block;width:100%;max-width:720px;height:auto;margin:4px auto;overflow:visible}.v18170-number-line-axis,.v18170-number-line-tick line,.v18170-number-line-marker line{stroke:currentColor;stroke-width:2.4}.v18170-number-line-tick text{fill:currentColor;font-size:13px;font-weight:800}.v18170-number-line-tick.active text{font-size:15px}.v18170-number-line-marker circle{fill:currentColor}.v18170-number-line-marker line{stroke-width:2.8}
.v18170-place-blocks{display:flex;gap:14px}.v18170-place-blocks section{display:grid;place-items:center;min-width:110px;min-height:110px;border-radius:18px;background:rgba(95,82,214,.08)}.v18170-place-blocks strong{font-size:42px}
.v18170-trace{width:150px;height:195px;touch-action:none}
@media(max-width:720px){.v18170-grid{grid-template-columns:1fr 1fr}.v18170-place-blocks section{min-width:80px}.v18170-practice [data-v18170-choices]{grid-template-columns:1fr}}
@media(max-width:480px){.v18170-grid{grid-template-columns:1fr}.v18170-hand i{font-size:24px}}

/* v18.25.0 – Learning Feedback / fractions UI consistency hotfix */
.v18160-pretest-btn{
  box-sizing:border-box!important;
  height:54px!important;
  min-height:54px!important;
  max-height:54px!important;
  margin:0!important;
  padding:0 16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:end!important;
  line-height:1.15!important;
}
.v18160-start-full{
  box-sizing:border-box;
  min-height:54px;
  margin-top:0!important;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:17px;
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  color:#fff;
  font-weight:900;
  box-shadow:0 12px 28px rgba(108,92,231,.25);
}
.v18170-pretest-prompt-visual{
  display:grid;
  place-items:center;
  min-height:118px;
  padding:8px;
  border-radius:16px;
  background:rgba(108,92,231,.045);
}
.v18170-pretest-prompt-visual .v1661-fraction-visual.is-compact{
  width:150px;
  height:112px;
}
.v18160-pretest-choices.has-visuals button.has-visual{
  min-height:138px;
  padding:8px;
  display:grid;
  place-items:center;
}
.v18160-pretest-choices.has-visuals .v1661-fraction-visual.is-compact{
  width:100%;
  max-width:150px;
  height:112px;
}
.v18160-pretest-choices.has-visuals .v1661-fraction-circle{
  width:96px;
  height:96px;
}
.v18160-pretest-choices.has-visuals .v1661-fraction-bar{
  width:120px;
  height:58px;
}
.v18160-pretest-choices.has-visuals .v1661-fraction-grid{
  width:108px;
  height:86px;
}
.v18160-pretest-choices.has-visuals .v1661-fraction-objects{
  max-width:112px;
  gap:4px;
}
.v1660-fractions-skill>.v18160-pretest-btn{
  width:100%;
}
@media(max-width:560px){
  .v18160-pretest-choices.has-visuals button.has-visual{min-height:128px}
}

/* v18.18 Problem Solving 2.0 */
.v18180-shell{width:min(900px,100%);margin:auto;display:grid;gap:14px}
.v18180-shell header{display:flex;align-items:center;gap:12px}.v18180-shell header .secondary-btn{width:auto;margin:0}
.v18180-progress{height:10px;border-radius:999px;background:#e9edf5;overflow:hidden}.v18180-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--primary),var(--primary2))}
.v18180-task{display:grid;gap:16px}.v18180-task h3{font-size:1.22rem;line-height:1.45}
.v18180-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.v18180-data-grid button,.v18180-op-grid button{min-height:54px;border:2px solid #dce3f1;border-radius:15px;background:#fff;font-weight:800;cursor:pointer}
.v18180-data-grid button[aria-pressed="true"],.v18180-op-grid button[aria-pressed="true"]{border-color:var(--primary);background:#eeeaff;color:var(--primary)}
.v18180-op-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.v18180-op-grid strong{font-size:1.7rem}
.v18180-calc{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.v18180-calc input{min-height:60px;border:3px solid #dfe3ef;border-radius:15px;padding:10px 14px;font-size:1.35rem;font-weight:900}
.v18180-feedback{min-height:28px;font-weight:850}.v18180-feedback.ok{color:#267044}.v18180-feedback.bad{color:#a3483e}
.v18180-check-card{padding:16px;border-radius:16px;background:#eef9f3}.v18180-check-card strong{font-size:1.1rem}
.v18180-table{border-collapse:collapse;margin:auto}.v18180-table th,.v18180-table td{border:1px solid #ccd4e4;padding:8px 14px}
.v18180-bars{display:flex;align-items:end;justify-content:center;gap:18px;min-height:160px}.v18180-bars>div{display:grid;justify-items:center;gap:5px}.v18180-bars i{display:block;width:46px;border-radius:8px 8px 0 0;background:linear-gradient(180deg,var(--primary2),var(--primary))}
@media(max-width:620px){.v18180-data-grid{grid-template-columns:1fr}.v18180-op-grid{grid-template-columns:repeat(2,1fr)}}

/* v18.25.0 – Problem Solving width + keyboard navigation */
#v18180ProblemSolvingPractice{
  width:100%;
  box-sizing:border-box;
}
.v18180-shell{
  width:min(760px,calc(100% - 28px));
  max-width:760px;
  margin:18px auto;
}
.v18180-task{
  width:100%;
  box-sizing:border-box;
}
.v18180-task > [data-v18180-stage] > .main-btn,
.v18180-task > [data-v18180-next-task]{
  width:100%;
}
@media(max-width:820px){
  .v18180-shell{width:calc(100% - 20px)}
}

/* v18.25.0 – Problem Solving outer container + keyboard/exit UX */
#v18180ProblemSolvingPractice.screen.card{
  width:100%!important;
  max-width:100%!important;
  margin:0 0 16px 0!important;
  box-sizing:border-box;
}
#v18180ProblemSolvingPractice .v18180-shell{
  width:min(100%,760px);
  max-width:760px;
  margin:0 auto;
}
.v18180-explicit-exit{
  min-height:52px;
  margin-top:10px!important;
  width:100%;
}

/* v18.25.0 – Early Math canonical task layout */
#v18170EarlyMathPractice.card{
  width:100%!important;
  max-width:100%!important;
  margin:0 0 16px 0!important;
  box-sizing:border-box;
}
#v18170EarlyMathPractice .v18170-practice{
  width:min(100%,760px);
  max-width:760px;
  margin:18px auto;
}
.v18170-practice header{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr);
  align-items:center;
  gap:14px;
  text-align:left;
}
.v18170-practice header .v18170-back{
  width:52px!important;
  min-width:52px!important;
  max-width:52px!important;
  height:52px;
  min-height:52px;
  margin:0!important;
  padding:0!important;
}
.v18170-round-exit{
  width:100%;
  min-height:52px;
  margin-top:4px!important;
}
.v18170-ten-stack{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}
@media(max-width:620px){
  #v18170EarlyMathPractice .v18170-practice{width:calc(100% - 12px)}
  .v18170-ten-stack{gap:8px}
}

/* v18.19 Practice UI Shell */
.v18190-practice-shell{width:100%!important;max-width:100%!important;box-sizing:border-box}
.v18190-practice-shell-inner{width:min(100%,760px)!important;max-width:760px!important;margin:18px auto!important}
.v18190-early-top-level{width:min(100%,980px);margin:0 auto}
.v18190-trace-wrap{display:grid;gap:12px;place-items:center}
.v18190-trace-wrap .v18170-trace{width:210px;height:270px;cursor:crosshair}
.v18190-trace-guide{stroke:currentColor;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;opacity:.18}
.v18190-trace-wrap [data-v18190-user-trace]{stroke:currentColor;stroke-width:6;stroke-linecap:round;stroke-linejoin:round}
.v18190-trace-wrap [data-v18190-trace-start]{fill:currentColor}
.v18190-trace-clear{width:min(220px,100%);min-height:48px}
#v18190EarlyMathTopLevel .v18170-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){#v18190EarlyMathTopLevel .v18170-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){#v18190EarlyMathTopLevel .v18170-grid{grid-template-columns:1fr}}

/* v18.25.0 – Digit Tracing 2.0 */
.v18190-trace-guide.is-current{opacity:.24}
.v18190-trace-guide.is-next{opacity:.10}
.v18190-trace-guide.is-done{opacity:.08}
[data-v18190-trace-start].is-current{opacity:1}
[data-v18190-trace-start].is-next{opacity:.28}
[data-v18190-trace-start].is-done{opacity:.12}
.v18191-stroke-progress{min-height:20px;font-weight:800;text-align:center}
.v18191-trace-result-card{width:min(100%,560px);margin:44px auto;display:grid;gap:16px;text-align:center}
.v18191-trace-result-card h3{font-size:1.8rem;margin:0}
.v18191-trace-result-card strong{font-size:2rem}
.v18191-trace-result-card .main-btn,.v18191-trace-result-card .secondary-btn{width:100%;min-height:54px}

/* v18.25.0 – Mastery 2.0 statistics integration */
.v18193-mastery-box{
  margin-top:10px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(99,102,241,.06);
  display:grid;
  gap:6px;
}
.v18193-mastery-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.v18193-mastery-head em{font-style:normal;font-weight:800}
.v18193-mastery-box small{line-height:1.35}
.v18193-diagnostic-note{font-weight:800;font-size:.9rem}
.v18193-mastery-box[data-mastery-status="mastered"]{background:rgba(16,185,129,.08)}
.v18193-mastery-box[data-mastery-status="almost-mastered"]{background:rgba(59,130,246,.08)}
.v18193-mastery-box[data-mastery-status="needs-review"]{background:rgba(245,158,11,.10)}


/* v18.25.0 – canonical practice layout contract */
#gameScreen,#v1611ClockPractice,#v1621MeasurementPractice,#v1641MoneyPractice,#v1661FractionsPractice,#v1671GeometryPractice,#v1681WordProblemsPractice,#v1691NumbersPractice,#v18170EarlyMathPractice,#v18180ProblemSolvingPractice{width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box}
.v1621-measurement-practice,.v1641-money-practice,.v1661-fractions-practice,.v1671-geometry-practice,.v1681-word-problems-practice,.v1691-numbers-practice{width:100%!important;max-width:none!important;margin-inline:0!important}
#v18170EarlyMathPractice .v18170-practice,#v18180ProblemSolvingPractice .v18180-shell,.v18190-practice-shell-inner{width:100%!important;max-width:980px!important;margin:0 auto!important;box-sizing:border-box}
#v18170EarlyMathPractice .v18170-practice{display:grid;gap:18px;text-align:left}
#v18170EarlyMathPractice [data-v18170-prompt]{text-align:left;margin-top:18px}
#v18170EarlyMathPractice [data-v18170-visual]{min-height:170px}
#v18170EarlyMathPractice [data-v18170-feedback]{text-align:center;min-height:28px}
#v18170EarlyMathPractice [data-v18170-next],#v18170EarlyMathPractice [data-v18170-exit]{width:100%}
#v18170EarlyMathPractice [data-v18170-next-hint]{display:block;text-align:center}
#v18170EarlyMathPractice [data-v18170-next-hint][hidden]{display:none!important}
@media(max-width:620px){#v18170EarlyMathPractice .v18170-practice,#v18180ProblemSolvingPractice .v18180-shell{width:100%!important}}

/* v18.25.0 – teacher overview/export containment */
.v1430-overview-toolbar{grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important}
.v1439-overview-actions{width:100%;min-width:0;justify-content:flex-start!important;align-items:flex-start!important}
.v1439-export-buttons{display:flex!important;flex-wrap:wrap!important;gap:8px!important;min-width:0}
.v18114-report-export-note{width:100%;min-width:0;flex:1 1 100%;margin-top:0!important}
.v18114-report-export-note span{min-width:0;overflow-wrap:anywhere}
.v1436-overview-refresh-wrap{margin-left:auto;min-width:0}
@media(max-width:760px){.v1439-overview-actions{display:grid!important;grid-template-columns:1fr!important}.v1436-overview-refresh-wrap{margin-left:0;width:100%}.v1439-export-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.v1439-export-buttons button{width:100%}}

/* v18.25.0 diagnostics navigation isolation */
.v182016-diagnostics-cover{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;background:rgba(246,248,255,.97);color:#243252;font-weight:900;font-size:1.15rem;pointer-events:auto}
.v182016-diagnostics-cover[hidden]{display:none!important}

/* v18.25.0 teacher rejoin request */
.v140002-teacher-rejoin{margin-top:12px;padding:12px;border:1px solid #d9deea;border-radius:14px;background:#f8f9ff;display:grid;gap:10px}
.v140002-teacher-rejoin[hidden]{display:none!important}
.v140002-teacher-rejoin label{display:grid;gap:5px;font-weight:800}
.v140002-teacher-rejoin input{min-height:46px;padding:10px 12px;border:2px solid #d9deea;border-radius:12px;font:inherit}
.v140002-teacher-rejoin button{justify-self:start}

/* v18.29.9 – grade visibility on Learning Areas */
#v1550LearningAreas .v182543-area-grade-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
#v1550LearningAreas .v182543-area-grade-meta span{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;background:#f0f2fb;color:#4b5776;font-size:.72rem;font-weight:800;line-height:1.2}
#v1550LearningAreas .v182543-area-grade-meta span.is-profile{background:#eef8ff;color:#236184}


/* v18.29.9 – teacher workspace spacing and disclosure controls */
.v1400-class-card{gap:12px}
.v1400-class-card>.v1430-class-overview,
.v1400-class-card>.v1553-teacher-module-summary,
.v1400-class-card>.v1453-class-learning-plans,
.v1400-class-card>.v1420-class-assignments,
.v1400-class-card>.v14214-student-access-details{margin:0!important}
.v1400-class-card>.v1430-class-overview+*,
.v1400-class-card>.v1553-teacher-module-summary+*,
.v1400-class-card>.v1453-class-learning-plans+*,
.v1400-class-card>.v1420-class-assignments+*,
.v1400-class-card>.v14214-student-access-details+*{margin-top:0!important}
#v140002TeacherWorkspaceView>#v1833TeacherRemediationSignalsHost,
#v140002TeacherWorkspaceView>[data-v18200-teacher-guidance-signals],
#v140002TeacherWorkspaceView>#v1747TeacherCompetitions,
#v140002TeacherWorkspaceView>#v18254TeacherCurriculumBrowser,
#v140002TeacherWorkspaceView>#v18280TeacherPlanning,
#v140002TeacherWorkspaceView>#v18283TeacherPlanningLibrary,
#v140002TeacherWorkspaceView>#v18281TeacherPlanningSequence,
#v140002TeacherWorkspaceView>#v18282TeacherPlanningGroups,
#v140002TeacherWorkspaceView>[data-v161164-adventure-statistics="teacher"],
#v140002TeacherWorkspaceView>[data-v16105-adventure-report="teacher"]{margin:12px 0 0!important}
.v1453-class-learning-plans>summary,
.v1420-class-assignments>summary,
.v16901-teacher-summary>summary{user-select:none}
.v1453-class-plan-summary-toggle,
.v1420-class-assignment-toggle,
.v16901-teacher-summary-toggle{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;border-radius:999px;background:#eef2ff;color:#4d52ae;box-shadow:inset 0 0 0 1px rgba(98,84,184,.08);font-size:1.05rem;font-weight:900;transition:transform .16s ease}
.v1453-class-learning-plans[open]>summary>.v1453-class-plan-summary-toggle,
.v1420-class-assignments[open]>summary>.v1420-class-assignment-toggle,
.v16901-teacher-summary[open]>.v16901-section-head>.v16901-teacher-summary-toggle{transform:rotate(180deg)}
.v1453-class-learning-plans>summary::after,
.v1420-class-assignments>summary::after,
.v16901-teacher-summary>summary::after{display:none!important;content:none!important}
.v1453-class-plan-summary-count,.v1420-class-assignment-count,.v16901-teacher-summary-count{margin-left:auto}
.v16901-teacher-summary>.v16901-section-head{align-items:center;margin:0}
.v16901-teacher-summary>.v16901-section-head>span.v16901-teacher-summary-count{display:grid}

/* v18.29.9 – unified class-card disclosure controls */
.v1430-class-overview>summary::after,
.v14214-student-access-details>summary::after,
.v1453-class-plan-summary-toggle,
.v1420-class-assignment-toggle,
.v16901-teacher-summary>.v16901-section-head>.v16901-teacher-summary-toggle{
  display:grid!important;place-items:center!important;flex:0 0 auto!important;
  width:34px!important;height:34px!important;border-radius:999px!important;
  background:#eef2ff!important;color:#4d52ae!important;
  box-shadow:inset 0 0 0 1px rgba(98,84,184,.08)!important;
  font-size:1.05rem!important;font-weight:900!important;
}
.v16901-teacher-summary>.v16901-section-head>.v16901-teacher-summary-count{
  min-width:36px!important;height:36px!important;border-radius:999px!important;
  background:#eef2ff!important;color:#4d52ae!important;
}

/* v18.29.9 – aligned class-card disclosure rail */
.v1430-class-overview>summary,
.v16901-teacher-summary>.v16901-section-head,
.v1453-class-learning-plans>summary,
.v1420-class-assignments>summary,
.v14214-student-access-details>summary{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 72px 34px!important;
  align-items:center!important;
  column-gap:10px!important;
}
.v1430-overview-summary-copy,
.v16901-teacher-summary>.v16901-section-head>div:first-child,
.v1453-class-plan-summary-copy,
.v1420-class-assignment-head>div:first-child,
.v14214-student-access-summary-copy{
  grid-column:1!important;
  min-width:0!important;
}
.v1430-overview-summary-status,
.v16901-teacher-summary-count,
.v1453-class-plan-summary-count,
.v1420-class-assignment-count,
.v14214-student-access-count{
  grid-column:2!important;
  justify-self:center!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.v1430-class-overview>summary::after,
.v16901-teacher-summary-toggle,
.v1453-class-plan-summary-toggle,
.v1420-class-assignment-toggle,
.v14214-student-access-details>summary::after{
  grid-column:3!important;
  justify-self:end!important;
  margin:0!important;
}
.v1430-overview-summary-status,
.v16901-teacher-summary-count,
.v1453-class-plan-summary-count,
.v1420-class-assignment-count,
.v14214-student-access-count{
  min-width:34px!important;
  width:max-content!important;
  max-width:72px!important;
  min-height:34px!important;
  height:34px!important;
  padding:0 10px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:999px!important;
  background:#eef2ff!important;
  color:#4d52ae!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
@media(max-width:640px){
  .v1430-class-overview>summary,
  .v16901-teacher-summary>.v16901-section-head,
  .v1453-class-learning-plans>summary,
  .v1420-class-assignments>summary,
  .v14214-student-access-details>summary{
    grid-template-columns:minmax(0,1fr) 64px 34px!important;
    column-gap:8px!important;
    align-items:center!important;
  }
  .v14214-student-access-count{margin-top:0!important}
}


/* v18.29.9 – disclosure rail flex alignment */
.v1430-class-overview>summary,
.v16901-teacher-summary>.v16901-section-head,
.v1453-class-learning-plans>summary,
.v1420-class-assignments>summary,
.v14214-student-access-details>summary{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
.v1430-overview-summary-copy,
.v16901-teacher-summary>.v16901-section-head>div:first-child,
.v1453-class-plan-summary-copy,
.v1420-class-assignment-head>div:first-child,
.v14214-student-access-summary-copy{
  flex:1 1 auto!important;
  min-width:0!important;
}
.v1430-overview-summary-actions,
.v14214-student-access-summary-actions{
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex:0 0 auto!important;
}
.v1430-overview-summary-status,
.v16901-teacher-summary-count,
.v1453-class-plan-summary-count,
.v1420-class-assignment-count,
.v14214-student-access-count{
  margin-left:auto!important;
  min-width:34px!important;
  width:auto!important;
  max-width:none!important;
  height:34px!important;
  padding:0 10px!important;
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  border-radius:999px!important;
  background:#eef2ff!important;
  color:#4d52ae!important;
  font-weight:900!important;
  white-space:nowrap!important;
  line-height:1!important;
  vertical-align:middle!important;
}
.v1430-overview-summary-toggle,
.v14214-student-access-toggle,
.v16901-teacher-summary-toggle,
.v1453-class-plan-summary-toggle,
.v1420-class-assignment-toggle{
  display:grid!important;
  place-items:center!important;
  flex:0 0 auto!important;
  width:34px!important;
  height:34px!important;
  border-radius:999px!important;
  background:#eef2ff!important;
  color:#4d52ae!important;
  box-shadow:inset 0 0 0 1px rgba(98,84,184,.08)!important;
  font-size:1.05rem!important;
  font-weight:900!important;
  line-height:1!important;
  margin:0!important;
  transform-origin:center!important;
  transition:transform .16s ease!important;
}
.v1430-class-overview>summary::after,
.v14214-student-access-details>summary::after,
.v1453-class-learning-plans>summary::after,
.v1420-class-assignments>summary::after,
.v16901-teacher-summary>summary::after{display:none!important;content:none!important;}
.v1430-class-overview[open]>summary .v1430-overview-summary-toggle,
.v14214-student-access-details[open]>summary .v14214-student-access-toggle,
.v1453-class-learning-plans[open]>summary .v1453-class-plan-summary-toggle,
.v1420-class-assignments[open]>summary .v1420-class-assignment-toggle,
.v16901-teacher-summary[open]>.v16901-section-head>.v16901-teacher-summary-toggle{transform:rotate(180deg)!important;}


/* v18.29.9 – dedicated teacher summary action rail */
.v16901-teacher-summary-actions{
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex:0 0 auto!important;
}
.v16901-teacher-summary-count,
.v16901-teacher-summary-toggle{
  min-width:34px!important;
}
.v16901-teacher-summary-actions .v16901-teacher-summary-count{
  margin-left:0!important;
}
.v16901-teacher-summary[open]>.v16901-section-head>.v16901-teacher-summary-actions>.v16901-teacher-summary-toggle{
  transform:rotate(180deg)!important;
}


/* v18.29.9 – separate teacher summary count/toggle + saved-plan language refresh */
.v16901-teacher-summary>.v16901-section-head>.v16901-teacher-summary-actions{
  background:transparent!important;
  color:inherit!important;
  min-width:0!important;
  height:auto!important;
  padding:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.v16901-teacher-summary-actions>.v16901-teacher-summary-count,
.v16901-teacher-summary-actions>.v16901-teacher-summary-toggle{
  flex:0 0 auto!important;
}


/* v18.29.9 – exact disclosure edge alignment */
.v16901-teacher-summary{padding:14px 15px!important;}
.v16901-teacher-summary>.v16901-section-head{padding:0!important;}
.v1430-overview-summary-actions,
.v16901-teacher-summary-actions,
.v1453-class-learning-plans>summary,
.v1420-class-assignments>summary,
.v14214-student-access-summary-actions{box-sizing:border-box!important;}
.v1430-overview-summary-actions,
.v16901-teacher-summary-actions,
.v14214-student-access-summary-actions{gap:10px!important;}
.v1430-overview-summary-status,
.v16901-teacher-summary-count,
.v1453-class-plan-summary-count,
.v1420-class-assignment-count,
.v14214-student-access-count{min-width:44px!important;width:44px!important;max-width:44px!important;padding:0!important;margin-left:auto!important;}
.v1430-overview-summary-toggle,
.v16901-teacher-summary-toggle,
.v1453-class-plan-summary-toggle,
.v1420-class-assignment-toggle,
.v14214-student-access-toggle{width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;}


/* v18.29.9 – localized decimal badge sizing */
.v1430-overview-summary-status{
  min-width:64px!important;
  width:auto!important;
  max-width:none!important;
  padding:0 10px!important;
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
}


/* v18.29.9 – parent refresh controls + project-style select */
.v13120-devices-header,
.v13150-history-header,
.v13170-activity-header,
.v1861-weekly-head{align-items:flex-start!important;gap:14px!important}
.v13120-devices-header>div,
.v13150-history-header>div,
.v13170-activity-header>div,
.v1861-weekly-head>div{min-width:0!important;flex:1 1 auto!important}
#v13120RefreshDevicesBtn,
#v13150RefreshHistoryBtn,
#v13170RefreshActivityBtn,
.v1861-weekly-head [data-v18125-weekly-refresh]{
  width:auto!important;
  min-width:118px!important;
  max-width:150px!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:11px 16px!important;
  border-radius:14px!important;
  white-space:nowrap!important;
}
#v18220FamilyChallengesPanel .v18220-field select[data-target]{
  min-height:46px!important;
  width:100%!important;
  padding:10px 38px 10px 13px!important;
  border:2px solid #dfe3ef!important;
  border-radius:14px!important;
  background:#fbfcff!important;
  color:var(--ink,#171d4b)!important;
  font:inherit!important;
  font-weight:800!important;
  cursor:pointer!important;
  outline:none!important;
}
#v18220FamilyChallengesPanel .v18220-field select[data-target]:focus{
  border-color:var(--primary,#6c5ce7)!important;
  box-shadow:0 0 0 5px rgba(108,92,231,.11)!important;
}
@media(max-width:700px){
 #v13120RefreshDevicesBtn,#v13150RefreshHistoryBtn,#v13170RefreshActivityBtn,.v1861-weekly-head [data-v18125-weekly-refresh]{width:100%!important;max-width:none!important}
}


/* v18.29.9 – parent-zone action layout polish */
.v18291-refresh-btn::before{content:""}
#v18122DiagClose{width:auto!important;min-width:118px!important;max-width:150px!important;flex:0 0 auto!important;padding:10px 16px!important;white-space:nowrap!important}
.v18122-diag-head>div{min-width:0!important;flex:1 1 auto!important}
#v13171OpenHistoryBtn{width:auto!important;min-width:118px!important;max-width:150px!important;flex:0 0 auto!important;padding:10px 16px!important;white-space:nowrap!important}
.v13171-recent-header>div{min-width:0!important;flex:1 1 auto!important}
.v13180-sync-status{grid-template-columns:auto minmax(0,1fr) auto!important}
.v13180-sync-copy{min-width:220px!important}
.v13180-sync-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:8px!important;max-width:390px!important}
.v13180-sync-actions button{width:auto!important;min-width:132px!important;max-width:190px!important;flex:0 0 auto!important;padding:0 14px!important;white-space:nowrap!important}
.v13170-activity-card{grid-template-columns:38px minmax(0,1fr)!important;gap:9px!important;padding:11px!important}
.v13170-activity-icon{width:38px!important;height:38px!important}
.v13170-activity-card small{font-size:.78rem!important;line-height:1.25!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:auto!important}
.v13170-activity-card span:not(.v13170-activity-icon){font-size:.80rem!important;line-height:1.3!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:auto!important}
.v13170-activity-card strong{word-break:normal!important;overflow-wrap:normal!important}
#v1715RefreshBtn,#v13182RefreshHistoryBtn,#v13185RefreshPendingBtn{width:auto!important;min-width:118px!important;max-width:160px!important;padding:10px 16px!important;white-space:nowrap!important}
@media(max-width:700px){#v18122DiagClose,#v13171OpenHistoryBtn,#v1715RefreshBtn,#v13182RefreshHistoryBtn,#v13185RefreshPendingBtn{width:100%!important;max-width:none!important}.v13180-sync-status{grid-template-columns:auto minmax(0,1fr)!important}.v13180-sync-actions{grid-column:1/-1!important;max-width:none!important;justify-content:stretch!important}.v13180-sync-actions button{width:100%!important;max-width:none!important}.v13180-sync-copy{min-width:0!important}}


/* v18.29.9 – Family Guidance action button polish */
.v13180-sync-actions #v13180SyncNowBtn,
.v13180-sync-actions #v13180RetryBtn,
.v13180-sync-actions #v13181ExplainBtn{
  min-height:48px!important;
  height:48px!important;
  padding:0 16px!important;
  margin:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}


/* v18.29.9 – Family Guidance / Parent Zone layout polish */
/* Family guidance time units and actions never split across lines. */
.v18290-grid small,
.v18291-grid article>div small{
  white-space:nowrap!important;
}
.v18291-grid button{
  width:auto!important;
  min-width:160px!important;
  max-width:100%!important;
  min-height:48px!important;
  height:48px!important;
  padding:0 16px!important;
  white-space:nowrap!important;
  line-height:1!important;
}

/* Synchronization history: equal, compact controls on one row. */
#v13182SyncHistoryDetails .v13182-sync-history-toolbar{
  display:grid!important;
  grid-template-columns:repeat(2,160px)!important;
  justify-content:end!important;
  align-items:center!important;
  gap:10px!important;
}
#v13182SyncHistoryDetails .v13182-sync-history-toolbar button{
  width:160px!important;
  min-width:160px!important;
  max-width:160px!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:0 14px!important;
  white-space:nowrap!important;
}

/* Pending changes keeps the same paired-control rhythm. */
#v13185PendingDetails .v13185-pending-toolbar button{
  min-height:48px!important;
  height:48px!important;
}

/* More breathing room between collapsible header and its inner header/actions. */
#v13160DevicesDetails>.v13120-devices-panel,
#v13160SecurityDetails>.v13130-security-panel{
  padding-top:22px!important;
}
.v13120-devices-header,
.v13130-security-header{
  column-gap:22px!important;
}
.v13130-session-expiry{
  margin-left:10px!important;
}

@media(max-width:700px){
  #v13182SyncHistoryDetails .v13182-sync-history-toolbar{
    grid-template-columns:1fr!important;
  }
  #v13182SyncHistoryDetails .v13182-sync-history-toolbar button{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  .v18291-grid button{
    min-width:0!important;
  }
  #v13160DevicesDetails>.v13120-devices-panel,
  #v13160SecurityDetails>.v13130-security-panel{
    padding-top:18px!important;
  }
  .v13130-session-expiry{
    margin-left:0!important;
  }
}


/* =========================================================
   v18.31.3 – TABLET/MOBILE DASHBOARD COMPOSITION HARDENING
   Real-device feedback: keep hero wide, put daily challenge below it,
   simplify the top bar, and prevent status badges from clipping text.
========================================================= */
@media (max-width:1100px){
  .v11-dashboard-top{
    grid-template-columns:minmax(0,1fr) !important;
    gap:12px !important;
    align-items:start !important;
  }
  .v11-hero-card,
  .v11-goal-card{
    width:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    height:auto !important;
  }
  .v11-hero-card{
    grid-template-columns:minmax(150px,190px) minmax(0,1fr) !important;
    gap:16px !important;
    padding:16px !important;
    align-items:center !important;
  }
  .v11-hero-left{
    width:100% !important;
    max-width:190px !important;
  }
  .v11-hero-left .hero-avatar{
    width:100% !important;
    height:190px !important;
    flex-basis:190px !important;
  }
  .v11-hero-card .hero-info{
    align-self:end !important;
    grid-column:2 !important;
    grid-row:1 !important;
  }
  .v11-hero-left{grid-column:1 !important;grid-row:1 / 3 !important}
  .v11-hero-edit{
    grid-column:2 !important;
    grid-row:2 !important;
    justify-self:start !important;
    width:auto !important;
    margin-top:2px !important;
  }
  .v11-hero-card .equipped-list{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:7px !important;
  }
  .v11-hero-card .equipped-chip{
    min-width:0 !important;
    width:auto !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    text-overflow:clip !important;
    padding:7px 9px !important;
    line-height:1.18 !important;
  }
  .v11-goal-card{
    display:grid !important;
    grid-template-columns:92px minmax(0,1fr) auto !important;
    grid-template-rows:auto !important;
    align-items:center !important;
    gap:14px !important;
    padding:16px 18px !important;
  }
  .v11-goal-icon{
    width:82px !important;
    height:82px !important;
    grid-column:1 !important;
    grid-row:1 !important;
  }
  .v11-goal-card>div:not(.v11-goal-icon){grid-column:2 !important;grid-row:1 !important;min-width:0 !important}
  .v11-goal-card strong{font-size:1.85rem !important;line-height:1.05 !important}
  .v11-goal-card p{font-size:.9rem !important;line-height:1.25 !important}
  .v11-goal-card .main-btn{
    grid-column:3 !important;
    grid-row:1 !important;
    width:auto !important;
    min-width:130px !important;
    margin:0 !important;
    align-self:stretch !important;
  }

  .topbar{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:8px !important;
    padding:10px !important;
    align-items:stretch !important;
  }
  .v1600-brand{
    display:flex !important;
    grid-row:1 !important;
    width:100% !important;
    min-width:0 !important;
    padding:2px 4px !important;
  }
  .v1600-brand small{display:none !important}
  .topstats{
    grid-row:2 !important;
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:7px !important;
    width:100% !important;
  }
  .topstats .status-pill,
  .language-wrap{
    min-width:0 !important;
    width:100% !important;
    grid-column:auto !important;
    grid-row:auto !important;
  }
  .topstats .status-pill{
    min-height:50px !important;
    padding:6px 8px !important;
    justify-content:center !important;
    overflow:hidden !important;
  }
  .status-icon{width:32px !important;height:32px !important;flex:0 0 32px !important}
  .status-value,.status-label{min-width:0 !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}
  .language-button{width:100% !important;min-height:50px !important;justify-content:center !important}
  #v1310ProfileSwitcherBtn{
    grid-row:3 !important;
    grid-column:1 !important;
    width:100% !important;
    min-width:0 !important;
    min-height:50px !important;
    justify-content:flex-start !important;
  }
  #v1310ProfileSwitcherBtn>span:nth-child(2){min-width:0 !important;flex:1 1 auto !important;text-align:left !important}
  #v1310ActiveProfileName{display:block !important;max-width:100% !important;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important}
}
@media (max-width:620px){
  .v11-hero-card{
    grid-template-columns:118px minmax(0,1fr) !important;
    gap:12px !important;
    padding:13px !important;
  }
  .v11-hero-left{max-width:118px !important}
  .v11-hero-left .hero-avatar{height:145px !important;flex-basis:145px !important}
  .v11-hero-card .equipped-list{grid-template-columns:1fr !important}
  .v11-hero-card .equipped-chip{font-size:.76rem !important;padding:5px 7px !important}
  .v11-goal-card{
    grid-template-columns:72px minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    gap:10px 12px !important;
    padding:14px !important;
  }
  .v11-goal-icon{width:68px !important;height:68px !important}
  .v11-goal-card>div:not(.v11-goal-icon){grid-column:2 !important;grid-row:1 !important}
  .v11-goal-card strong{font-size:1.65rem !important}
  .v11-goal-card .main-btn{
    grid-column:1/-1 !important;
    grid-row:2 !important;
    width:100% !important;
    min-width:0 !important;
    min-height:46px !important;
  }
  .topstats{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .topstats .status-pill,.language-button{min-height:46px !important}
}
@media (max-width:430px){
  .v11-hero-card{grid-template-columns:100px minmax(0,1fr) !important}
  .v11-hero-left{max-width:100px !important}
  .v11-hero-left .hero-avatar{height:126px !important;flex-basis:126px !important}
  .v11-hero-card .hero-info strong{font-size:1.12rem !important}
}

/* Long status labels must stay inside their own green/grey pills. */
.v18220-badge,
.v18124-badge{
  max-width:min(100%,260px) !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
  line-height:1.18 !important;
  text-align:center !important;
}
.v18220-head,
.v18124-sync-head{min-width:0 !important}
.v18220-head>div,
.v18124-sync-head>strong{min-width:0 !important}
@media(max-width:760px){
  .v18220-head,
  .v18124-sync-head{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:7px !important;
    align-items:start !important;
  }
  .v18220-badge,
  .v18124-badge{
    justify-self:start !important;
    max-width:100% !important;
  }
}

/* v18.34.2-r19 column arithmetic guided input */
.v18342-column-practice{display:grid;place-items:center;gap:10px;width:100%;font-variant-numeric:tabular-nums}.v18342-column-practice small{color:#667085;font-weight:700}.v18342-column-stack{display:grid;justify-items:stretch;min-width:180px;font-size:2rem;line-height:1.15;color:#111827}.v18342-column-row{display:grid;grid-template-columns:1.1em minmax(3.2em,auto);align-items:center;text-align:right;padding:2px 8px}.v18342-column-row strong{font:800 1em/1.15 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.04em}.v18342-column-operator{font-weight:800;text-align:center}.v18342-column-rule{height:3px;background:#111827;border-radius:3px;margin:2px 4px 0}.v18342-long-division .v18342-division-corner{display:grid;grid-template-columns:auto minmax(3.2em,auto);grid-template-rows:auto auto;align-items:end;font:800 2rem/1.15 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.v18342-dividend{grid-column:1;grid-row:1 / span 2;padding:6px 12px 6px 0;text-align:right}.v18342-divisor{grid-column:2;grid-row:1;padding:6px 10px;border-left:3px solid #111827;text-align:center}.v18342-quotient-slot{grid-column:2;grid-row:2;padding:6px 10px;border-left:3px solid #111827;border-top:3px solid #111827;text-align:center;color:#98a2b3}.v1691-number-options.is-column-input{display:block}.v18342-column-answer-wrap{display:grid;gap:8px;max-width:320px;margin:0 auto}.v18342-column-answer-wrap>span{font-weight:800;color:#344054}.v18342-column-answer{width:100%;min-height:58px;padding:10px 16px;border:2px solid #d9d3ff;border-radius:14px;background:#fff;color:#2f276d;font-size:1.55rem;font-weight:900;text-align:center;font-variant-numeric:tabular-nums;outline:none}.v18342-column-answer:focus{border-color:#6254b8;box-shadow:0 0 0 4px rgba(98,84,184,.14)}.v18342-column-answer.is-correct{border-color:#2ca66f;background:#e8f8ef;color:#17603f}.v18342-column-answer.is-wrong{border-color:#d64545;background:#fdecec;color:#8b1e1e}
@media(max-width:680px){.v18342-column-stack,.v18342-long-division .v18342-division-corner{font-size:1.7rem}.v18342-column-answer{font-size:1.35rem}}

/* v18.34.2-r19 column arithmetic guided-work UI */
.v18342-column-level{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;font-weight:800;color:#344054}.v18342-column-level select{min-height:40px;padding:6px 34px 6px 12px;border:1px solid #cfc8ff;border-radius:10px;background:#fff;color:#2f276d;font-weight:800}.v18342-long-division-grid{display:grid;grid-template-columns:minmax(160px,auto) minmax(72px,auto);grid-template-areas:"quot quotient" "dividend divisor" "work work";gap:0;align-items:end;max-width:640px;width:100%;font-variant-numeric:tabular-nums}.v18342-quotient-entry{grid-area:quotient;display:flex;justify-content:flex-end;align-items:end;gap:8px;padding:0 0 6px}.v18342-quotient-entry>span{font-size:.8rem;color:#667085}.v18342-quotient-answer{max-width:180px;min-height:48px;font-size:1.35rem}.v18342-long-division-grid>.v18342-dividend{grid-area:dividend;border-top:3px solid #111827;padding:10px 12px;text-align:right;font:800 2rem/1.1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.v18342-long-division-grid>.v18342-divisor{grid-area:divisor;border-left:3px solid #111827;border-top:3px solid #111827;padding:10px 12px;text-align:center;font:800 2rem/1.1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.v18342-division-work{grid-area:work;display:grid;gap:8px;padding-top:10px}.v18342-division-step{display:grid;grid-template-columns:34px minmax(110px,1.2fr) repeat(3,minmax(92px,1fr));gap:8px;align-items:end;padding:8px;border:1px solid #e4e0ff;border-radius:12px;background:#fbfaff}.v18342-division-step>b{align-self:center;text-align:center}.v18342-step-current{font-size:.82rem;color:#667085;align-self:center}.v18342-step-field{display:grid;gap:4px}.v18342-step-field span{font-size:.72rem;font-weight:800;color:#667085}.v18342-step-field input{width:100%;min-width:0;min-height:42px;padding:5px 8px;border:2px solid #d9d3ff;border-radius:9px;background:#fff;text-align:center;font:800 1.05rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.v18342-step-field input:focus{outline:none;border-color:#6254b8;box-shadow:0 0 0 3px rgba(98,84,184,.12)}.v18342-step-field input.is-correct{border-color:#2ca66f;background:#e8f8ef}.v18342-step-field input.is-wrong{border-color:#d64545;background:#fdecec}.v18342-long-multiplication{min-width:260px}.v18342-partial-row{display:grid;grid-template-columns:1.2em 1fr;gap:5px;align-items:end;padding:2px 8px}.v18342-partial-row>.v18342-step-field span{display:none}.v18342-partial-row input{text-align:right;font-size:1.3rem}.v18342-final-inline{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;padding:4px 8px}.v18342-final-inline>span{font-size:.78rem;color:#667085;font-weight:800}.v18342-final-inline .v18342-column-answer{min-height:48px;font-size:1.3rem;text-align:right}.v18342-column-work-hint{text-align:center;color:#667085;font-weight:700}.v18342-column-answer.is-correct{border-color:#2ca66f;background:#e8f8ef}.v18342-column-answer.is-wrong{border-color:#d64545;background:#fdecec}.
@media(max-width:680px){.v18342-division-step{grid-template-columns:28px 1fr 1fr;}.v18342-step-current{grid-column:2 / -1}.v18342-long-division-grid>.v18342-dividend,.v18342-long-division-grid>.v18342-divisor{font-size:1.65rem}}

.v18342-digit-cells{--cell:2.15rem;width:calc(var(--digits)*var(--cell) + 10px)!important;max-width:100%;letter-spacing:.22em;background-image:repeating-linear-gradient(to right,transparent 0,transparent calc(var(--cell) - 1px),rgba(98,84,184,.22) calc(var(--cell) - 1px),rgba(98,84,184,.22) var(--cell));background-position:5px 0;background-size:var(--cell) 100%;}


/* v18.34.2-r19: pre-round level chooser and notebook column arithmetic */
.v183429-column-setup-overlay{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:18px;background:rgba(15,23,42,.52);backdrop-filter:blur(3px)}
.v183429-column-setup{position:relative;width:min(680px,100%);padding:24px;border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(15,23,42,.25);color:#1f2340}.v183429-column-setup h3{margin:4px 0 6px;font-size:1.45rem}.v183429-column-setup>p{margin:0 0 18px;color:#667085}.v183429-column-setup-kicker{font-size:.8rem;font-weight:900;color:#6254b8;text-transform:uppercase;letter-spacing:.04em}.v183429-column-setup-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:#f2f0ff;color:#40368b;font-size:1.5rem;cursor:pointer}.v183429-column-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.v183429-level-card{display:grid;grid-template-columns:auto 1fr;gap:3px 9px;align-items:start;padding:14px;border:2px solid #e4e0ff;border-radius:14px;cursor:pointer;background:#fbfaff}.v183429-level-card:has(input:checked){border-color:#6254b8;background:#f3f1ff}.v183429-level-card input{margin-top:3px}.v183429-level-card strong{font-weight:900}.v183429-level-card small{grid-column:2;color:#667085;line-height:1.35}.v183429-column-setup-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.v183429-column-cancel{min-height:44px;padding:0 18px;border:1px solid #d9d3ff;border-radius:12px;background:#fff;color:#40368b;font-weight:800}.v183429-column-start{min-width:170px}
.v183429-long-division{padding:8px 0}.v183429-ld-sheet{display:grid;grid-template-columns:minmax(calc(var(--cols)*2.05rem + 2.2rem),auto) minmax(90px,auto);grid-template-areas:"dividend side" "work side";align-items:start;justify-content:center;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-variant-numeric:tabular-nums;color:#111827}.v183429-ld-dividend{grid-area:dividend;align-self:start;padding:7px 12px 5px 0;text-align:right;font-size:2rem;font-weight:900;line-height:1}.v183429-ld-side{grid-area:side;border-left:3px solid #111827;min-height:100%;font-size:2rem;font-weight:900}.v183429-ld-divisor{display:block;padding:7px 10px 5px;text-align:center;line-height:1}.v183429-ld-side-rule{height:3px;background:#111827}.v183429-ld-quotient{display:flex;align-items:center;gap:6px;padding:7px 5px;justify-content:flex-start}.v183429-ld-quotient-label{font:700 .72rem/1.1 system-ui,sans-serif;color:#667085}.v183429-ld-quotient-input{width:5.6rem!important;min-width:5.6rem;height:2.4rem;border:1.5px solid #cfc8ff;border-radius:7px;text-align:center;font:900 1.35rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#fff;letter-spacing:.08em}.v183429-ld-work{grid-area:work;display:grid;justify-items:end;padding-right:12px;min-width:calc(var(--cols)*2.05rem)}.v183429-ld-step{display:grid;justify-items:end;width:100%;margin-top:2px}.v183429-ld-product{display:flex;align-items:end;justify-content:flex-end;gap:5px;width:100%}.v183429-ld-product>span{font-size:1.45rem;font-weight:900;padding-bottom:6px}.v183429-ld-rule{height:2px;background:#111827;width:min(100%,calc(var(--cols)*2.05rem));margin:1px 0 3px}.v183429-ld-remainder{display:flex;align-items:center;justify-content:flex-end;gap:1px;width:100%;min-height:2.4rem}.v183429-ld-brought{display:inline-grid;place-items:center;width:2.05rem;height:2.35rem;font-size:1.3rem;font-weight:900}.v18342-step-field.is-notebook{display:block}.v18342-step-field.is-notebook>span{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.v18342-step-field.is-notebook input{border-radius:5px;min-height:2.35rem;font-size:1.25rem;padding:3px 5px}.v183429-partial-row{display:grid;grid-template-columns:1.2em 1fr;align-items:center;gap:4px;padding:1px 8px}.v183429-partial-row>span{font-size:1.25rem;font-weight:900;padding-bottom:7px}.v183429-long-multiplication .v18342-step-field input{text-align:right;font-size:1.3rem}.v183429-long-multiplication{min-width:280px}
@media(max-width:680px){.v183429-column-levels{grid-template-columns:1fr}.v183429-column-setup{padding:20px 16px}.v183429-ld-sheet{grid-template-columns:minmax(calc(var(--cols)*1.75rem + 1.5rem),auto) minmax(76px,auto)}.v183429-ld-dividend,.v183429-ld-side{font-size:1.65rem}.v183429-ld-quotient-input{width:4.8rem!important;min-width:4.8rem;height:2.1rem;font-size:1.15rem}.v183429-ld-work{min-width:calc(var(--cols)*1.75rem)}.v183429-ld-brought{width:1.75rem}.v183429-column-setup-actions{flex-direction:column-reverse}.v183429-column-start,.v183429-column-cancel{width:100%}}

/* v18.34.2-r19 column-notation/profile polish */
.v18342-column-operator{position:relative;top:0;align-self:center;line-height:1}
.v183429-ld-product>span{padding-bottom:0;position:relative;top:-.34em;align-self:center;line-height:1}
.v18342-visual p{white-space:pre-line;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.v183413-profile-grade-field{display:grid;gap:6px;margin-top:10px;font-weight:800;color:#344054}.v183413-profile-grade-field .text-input{width:100%;background:#fff}

/* v18.34.2-r19 column operator alignment */
.v18342-column-row{align-items:center;}
.v18342-column-operator{position:relative!important;top:auto!important;transform:translateY(-0.32em);align-self:center;line-height:1!important;}
.v183429-division-step .v183429-minus,.v18342-long-division .v183429-minus{transform:translateY(-0.30em);align-self:center;}

/* v18.34.2-r19 column arithmetic notebook polish */
.v18342-column-stack{min-width:0!important;width:max-content!important;}
.v18342-column-row{grid-template-columns:1.15em minmax(2.7em,auto)!important;padding:1px 4px!important;}
.v18342-column-operator{top:auto!important;transform:translateY(-0.82em)!important;align-self:center!important;line-height:1!important;}
.v18342-column-rule{margin:0!important;width:100%!important;}
.v18342-column-result-row{display:grid;grid-template-columns:1.15em minmax(2.7em,auto);align-items:center;padding:5px 4px 0;}
.v18342-column-result-input{box-sizing:border-box!important;min-height:2.15rem!important;height:2.15rem!important;padding:2px 5px!important;border-radius:6px!important;font:900 1.35rem/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;text-align:right!important;}
.v183429-ld-product>span{padding-bottom:18px!important;transform:translateY(-0.20em);}
.v18342-column-practice>small,.v18342-column-work-hint{display:none!important;}

/* v18.34.2-r19 operator alignment */
.v18342-column-operator{transform:translateY(-0.82em)!important;}
.v183429-ld-product>span{padding-bottom:18px!important;transform:translateY(-0.20em)!important;}

/* v18.34.2-r19: compact arithmetic width and plain answer inputs */
.v18342-column-stack{--cols:2;--number-col:calc(var(--cols)*1.05ch + .45em);width:max-content!important;min-width:0!important;}
.v18342-column-row,.v18342-column-result-row{grid-template-columns:.78em var(--number-col)!important;column-gap:.06em!important;padding-left:0!important;padding-right:0!important;}
.v18342-column-row strong{justify-self:end;}
.v18342-column-rule{width:calc(.78em + .06em + var(--number-col))!important;justify-self:end;}
.v18342-column-result-input{width:100%!important;min-width:0!important;background-image:none!important;letter-spacing:.04em!important;}
.v183429-long-multiplication .v18342-column-rule{width:100%!important;}
.v183429-long-multiplication .v18342-final-inline .v18342-column-result-input{background-image:none!important;letter-spacing:.04em!important;}
.v183429-ld-quotient-input{letter-spacing:.04em!important;}

/* v18.34.2-r19: column number integrity and compact long-division fields */
.v18342-column-row strong{white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;}
.v18342-column-row,.v18342-column-result-row{white-space:nowrap!important;}
.v18342-step-field.is-notebook{display:inline-block!important;width:max-content!important;max-width:100%!important;}
.v18342-step-field.is-notebook input{box-sizing:border-box!important;width:calc(var(--digits,1)*1.05ch + 1.65rem)!important;min-width:2.75rem!important;max-width:7.5rem!important;}
.v183429-ld-product,.v183429-ld-remainder{width:auto!important;min-width:0!important;justify-self:end!important;}
.v183429-ld-step{width:auto!important;min-width:0!important;justify-self:end!important;}
.v183429-ld-rule{width:calc(var(--step-digits,2)*1.05ch + 2.2rem)!important;min-width:3.4rem!important;max-width:7.8rem!important;justify-self:end!important;}

/* v18.34.2-r23 — notebook long-division progressive alignment */
.v183429-ld-sheet{--digit-cell:2.05rem;}
.v183429-ld-work{width:calc(var(--cols)*var(--digit-cell))!important;min-width:calc(var(--cols)*var(--digit-cell))!important;padding-right:0!important;justify-items:stretch!important;}
.v183429-ld-step{box-sizing:border-box!important;width:100%!important;min-width:0!important;justify-self:stretch!important;padding-left:calc(var(--step-index,0)*var(--digit-cell))!important;}
.v183429-ld-product{display:grid!important;grid-template-columns:1.15rem minmax(0,1fr)!important;align-items:center!important;gap:.2rem!important;width:100%!important;min-width:0!important;justify-self:stretch!important;}
.v183429-ld-product>span{justify-self:start!important;align-self:center!important;padding:0!important;transform:translateY(-.08em)!important;line-height:1!important;}
.v183429-ld-remainder{display:block!important;width:calc(100% - 1.35rem)!important;min-width:0!important;margin-left:1.35rem!important;}
.v183429-ld-rule{width:calc(100% - 1.35rem)!important;min-width:0!important;max-width:none!important;margin-left:1.35rem!important;justify-self:stretch!important;}
.v18342-step-field.is-notebook{display:block!important;width:100%!important;max-width:none!important;}
.v18342-step-field.is-notebook input{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;}
@media(max-width:680px){.v183429-ld-sheet{--digit-cell:1.75rem;}}

/* v18.34.2-r23 — long division notebook row geometry */
.v183429-ld-work{width:calc(var(--cols)*var(--digit-cell))!important;min-width:calc(var(--cols)*var(--digit-cell))!important;padding-right:0!important;justify-items:end!important;}
.v183429-ld-step{box-sizing:border-box!important;width:calc(var(--work-cols)*var(--digit-cell) + 1.35rem)!important;min-width:calc(var(--digit-cell) + 1.35rem)!important;max-width:100%!important;justify-self:end!important;padding-left:0!important;}
.v183429-ld-product{display:grid!important;grid-template-columns:1.15rem calc(var(--work-cols)*var(--digit-cell))!important;align-items:center!important;gap:.2rem!important;width:100%!important;min-width:0!important;justify-self:end!important;}
.v183429-ld-product>span{justify-self:start!important;align-self:center!important;padding:0!important;transform:translateY(-.08em)!important;line-height:1!important;}
.v183429-ld-rule{width:calc(var(--work-cols)*var(--digit-cell))!important;max-width:none!important;justify-self:end!important;margin:1px 0 3px!important;}
.v183429-ld-remainder{width:calc(var(--work-cols)*var(--digit-cell))!important;min-width:var(--digit-cell)!important;justify-self:end!important;}
.v18342-step-field.is-notebook{display:block!important;width:100%!important;max-width:none!important;}
.v18342-step-field.is-notebook input{box-sizing:border-box!important;width:100%!important;min-width:var(--digit-cell)!important;max-width:none!important;}

/* v18.34.2-r23 — long-division subtraction-row alignment */
.v183429-ld-product{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:.22rem!important;width:100%!important;min-width:0!important;}
.v183429-ld-product>span{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 1.15rem!important;width:1.15rem!important;height:2.35rem!important;padding:0!important;margin:0!important;transform:none!important;line-height:1!important;font-size:1.45rem!important;font-weight:900!important;}
.v183429-ld-product>.v18342-step-field.is-notebook{display:block!important;flex:1 1 auto!important;width:auto!important;min-width:var(--digit-cell)!important;max-width:none!important;}
.v183429-ld-product>.v18342-step-field.is-notebook input{width:100%!important;min-width:var(--digit-cell)!important;max-width:none!important;}
.v183429-ld-rule,.v183429-ld-remainder{width:calc(100% - 1.37rem)!important;margin-left:1.37rem!important;min-width:var(--digit-cell)!important;max-width:none!important;}

/* v18.34.2-r23 — long-division minus anchored to the subtraction field */
.v183429-ld-step{width:calc(var(--work-cols)*var(--digit-cell) + 1.35rem)!important;min-width:calc(var(--digit-cell) + 1.35rem)!important;justify-self:end!important;padding-left:0!important;}
.v183429-ld-product{display:grid!important;grid-template-columns:1.15rem calc(var(--work-cols)*var(--digit-cell))!important;align-items:center!important;justify-content:end!important;gap:.20rem!important;width:100%!important;min-width:0!important;justify-self:end!important;}
.v183429-ld-product>span{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;width:1.15rem!important;height:2.35rem!important;padding:0!important;margin:0!important;line-height:1!important;font-size:1.45rem!important;font-weight:900!important;transform:translateY(-.42em)!important;}
.v183429-ld-product>.v18342-step-field.is-notebook{display:block!important;width:calc(var(--work-cols)*var(--digit-cell))!important;min-width:var(--digit-cell)!important;max-width:none!important;}
.v183429-ld-product>.v18342-step-field.is-notebook input{width:100%!important;min-width:var(--digit-cell)!important;max-width:none!important;}
.v183429-ld-rule,.v183429-ld-remainder{width:calc(var(--work-cols)*var(--digit-cell))!important;margin-left:1.35rem!important;min-width:var(--digit-cell)!important;max-width:none!important;justify-self:end!important;}

/* v18.34.2-r24 — definitive long-division subtraction geometry */
.v183429-ld-work{
  width:calc(var(--cols)*var(--digit-cell))!important;
  min-width:calc(var(--cols)*var(--digit-cell))!important;
  padding-right:0!important;
  justify-items:end!important;
}
.v183429-ld-step{
  box-sizing:border-box!important;
  width:calc(var(--work-cols)*var(--digit-cell))!important;
  min-width:var(--digit-cell)!important;
  max-width:100%!important;
  justify-self:end!important;
  padding-left:0!important;
  position:relative!important;
}
.v183429-ld-product{
  position:relative!important;
  display:block!important;
  width:calc(var(--work-cols)*var(--digit-cell))!important;
  min-width:var(--digit-cell)!important;
  max-width:none!important;
  justify-self:end!important;
}
.v183429-ld-product>span{
  position:absolute!important;
  left:-1.18rem!important;
  top:50%!important;
  width:1rem!important;
  height:auto!important;
  display:block!important;
  padding:0!important;
  margin:0!important;
  transform:translateY(-50%)!important;
  line-height:1!important;
  text-align:center!important;
  font-size:1.45rem!important;
  font-weight:900!important;
}
.v183429-ld-product>.v18342-step-field.is-notebook,
.v183429-ld-product>.v18342-step-field.is-notebook input{
  display:block!important;
  width:100%!important;
  min-width:var(--digit-cell)!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.v183429-ld-rule,.v183429-ld-remainder{
  width:calc(var(--work-cols)*var(--digit-cell))!important;
  min-width:var(--digit-cell)!important;
  max-width:none!important;
  margin-left:0!important;
  justify-self:end!important;
}

/* v18.34.4-r2 — r28 rollback progressive long-division grid */
.v183429-ld-sheet{--digit-cell:2.05rem;--ld-op-cell:1.20rem;}
.v183429-ld-work{width:calc(var(--cols)*var(--digit-cell) + var(--ld-op-cell))!important;min-width:calc(var(--cols)*var(--digit-cell) + var(--ld-op-cell))!important;padding-right:0!important;justify-items:end!important;}
.v183429-ld-step{display:grid!important;grid-template-columns:var(--ld-op-cell) calc(var(--work-cols)*var(--digit-cell))!important;grid-template-rows:auto 2px auto!important;width:calc(var(--ld-op-cell) + var(--work-cols)*var(--digit-cell))!important;min-width:calc(var(--ld-op-cell) + var(--digit-cell))!important;max-width:100%!important;justify-self:end!important;padding:0!important;margin:2px 0 0!important;box-sizing:border-box!important;}
.v183429-ld-product{grid-column:1 / 3!important;display:grid!important;grid-template-columns:var(--ld-op-cell) calc(var(--work-cols)*var(--digit-cell))!important;align-items:center!important;width:100%!important;min-width:0!important;max-width:none!important;position:static!important;gap:0!important;}
.v183429-ld-product>span{grid-column:1!important;position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;width:var(--ld-op-cell)!important;height:2.35rem!important;padding:0!important;margin:0!important;transform:none!important;line-height:1!important;font-size:1.45rem!important;font-weight:900!important;}
.v183429-ld-product>.v18342-step-field.is-notebook{grid-column:2!important;display:block!important;width:100%!important;min-width:0!important;max-width:none!important;}
.v183429-ld-product>.v18342-step-field.is-notebook input{width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;}
.v183429-ld-rule{grid-column:2!important;grid-row:2!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;justify-self:stretch!important;}
.v183429-ld-remainder{grid-column:2!important;grid-row:3!important;display:block!important;width:100%!important;min-width:0!important;max-width:none!important;margin:3px 0 0!important;justify-self:stretch!important;}
.v183429-ld-remainder .v18342-step-field.is-notebook,.v183429-ld-remainder .v18342-step-field.is-notebook input{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;}
@media(max-width:680px){.v183429-ld-sheet{--digit-cell:1.75rem;--ld-op-cell:1.05rem;}}

/* v18.34.4-r2 — r28 rollback subtraction sign placement */
.v183429-ld-sheet{--digit-cell:2.05rem!important;}
.v183429-ld-work{width:calc(var(--cols)*var(--digit-cell))!important;min-width:calc(var(--cols)*var(--digit-cell))!important;padding-right:0!important;justify-items:end!important;}
.v183429-ld-step{display:grid!important;grid-template-columns:calc(var(--work-cols)*var(--digit-cell))!important;grid-template-rows:auto 2px auto!important;width:calc(var(--work-cols)*var(--digit-cell))!important;min-width:var(--digit-cell)!important;max-width:100%!important;justify-self:end!important;padding:0!important;margin:8px 0 0!important;box-sizing:border-box!important;overflow:visible!important;}
.v183429-ld-product{grid-column:1!important;position:relative!important;display:block!important;width:100%!important;min-width:var(--digit-cell)!important;max-width:none!important;overflow:visible!important;}
.v183429-ld-product>span{position:absolute!important;left:-.78rem!important;top:-.54rem!important;display:block!important;width:.65rem!important;height:auto!important;padding:0!important;margin:0!important;transform:none!important;line-height:1!important;text-align:center!important;font-size:1.28rem!important;font-weight:900!important;}
.v183429-ld-product>.v18342-step-field.is-notebook,.v183429-ld-product>.v18342-step-field.is-notebook input{display:block!important;width:100%!important;min-width:var(--digit-cell)!important;max-width:none!important;box-sizing:border-box!important;}
.v183429-ld-rule{grid-column:1!important;grid-row:2!important;width:100%!important;min-width:var(--digit-cell)!important;max-width:none!important;margin:0!important;justify-self:stretch!important;}
.v183429-ld-remainder{grid-column:1!important;grid-row:3!important;display:block!important;width:100%!important;min-width:var(--digit-cell)!important;max-width:none!important;margin:3px 0 0!important;justify-self:stretch!important;}
.v183429-ld-remainder .v18342-step-field.is-notebook,.v183429-ld-remainder .v18342-step-field.is-notebook input{display:block!important;width:100%!important;min-width:var(--digit-cell)!important;max-width:none!important;box-sizing:border-box!important;}
@media(max-width:680px){.v183429-ld-sheet{--digit-cell:1.75rem!important}.v183429-ld-product>span{left:-.68rem!important;top:-.48rem!important;font-size:1.16rem!important;}}

/* v18.34.4-r2 — r28 rollback dividend alignment */
.v183429-ld-sheet{
  --ld-right-gap:.55rem!important;
  grid-template-columns:calc(var(--cols)*var(--digit-cell) + var(--ld-right-gap)) minmax(90px,auto)!important;
}
.v183429-ld-dividend{padding-right:var(--ld-right-gap)!important;}
.v183429-ld-work{
  width:calc(var(--cols)*var(--digit-cell))!important;
  min-width:calc(var(--cols)*var(--digit-cell))!important;
  justify-self:end!important;
  margin-right:var(--ld-right-gap)!important;
  padding-right:0!important;
  justify-items:end!important;
}
.v183429-ld-step{justify-self:end!important;}

/* v18.34.4-r2 — r28 rollback digit-grid alignment */
.v183429-ld-sheet{
  --digit-cell:2.05rem!important;
  grid-template-columns:calc(var(--cols)*var(--digit-cell)) minmax(90px,auto)!important;
  column-gap:0!important;
}
.v183429-ld-dividend{
  display:grid!important;
  grid-template-columns:repeat(var(--cols),var(--digit-cell))!important;
  width:calc(var(--cols)*var(--digit-cell))!important;
  padding:7px 0 5px!important;
  text-align:initial!important;
}
.v183429-ld-dividend>span{
  display:grid!important;
  place-items:center!important;
  min-width:0!important;
  line-height:1!important;
}
.v183429-ld-work{
  width:calc(var(--cols)*var(--digit-cell))!important;
  min-width:calc(var(--cols)*var(--digit-cell))!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
}
.v183429-ld-step{
  display:grid!important;
  grid-template-columns:repeat(var(--cols),var(--digit-cell))!important;
  grid-template-rows:auto 2px auto!important;
  width:calc(var(--cols)*var(--digit-cell))!important;
  min-width:0!important;
  max-width:none!important;
  padding:0!important;
  margin:8px 0 0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.v183429-ld-product{
  grid-column:var(--product-line) / span var(--product-cols)!important;
  grid-row:1!important;
  position:relative!important;
  display:block!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  overflow:visible!important;
}
.v183429-ld-product>span{
  position:absolute!important;
  left:-.78rem!important;
  top:-.48rem!important;
  display:block!important;
  width:.65rem!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  line-height:1!important;
  text-align:center!important;
  font-size:1.28rem!important;
  font-weight:900!important;
}
.v183429-ld-product>.v18342-step-field.is-notebook,
.v183429-ld-product>.v18342-step-field.is-notebook input{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.v183429-ld-rule{
  grid-column:var(--product-line) / span var(--product-cols)!important;
  grid-row:2!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  justify-self:stretch!important;
}
.v183429-ld-remainder{
  grid-column:var(--next-line) / span var(--next-cols)!important;
  grid-row:3!important;
  display:block!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:3px 0 0!important;
  justify-self:stretch!important;
}
.v183429-ld-remainder .v18342-step-field.is-notebook,
.v183429-ld-remainder .v18342-step-field.is-notebook input{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
@media(max-width:680px){
  .v183429-ld-sheet{--digit-cell:1.75rem!important;}
  .v183429-ld-product>span{left:-.68rem!important;top:-.43rem!important;font-size:1.16rem!important;}
}

/* v18.34.4-r2 — clean notebook long-division layout; isolated from legacy r20-r34 layers */
.v183435-layout .v183429-ld-sheet{
  --digit-cell:2.05rem!important;
  display:grid!important;
  grid-template-columns:calc(var(--cols)*var(--digit-cell)) minmax(5.6rem,auto)!important;
  grid-template-areas:"dividend side" "work side"!important;
  column-gap:0!important;
  justify-content:center!important;
  align-items:start!important;
}
.v183435-layout .v183429-ld-dividend{
  grid-area:dividend!important;
  display:grid!important;
  grid-template-columns:repeat(var(--cols),var(--digit-cell))!important;
  width:calc(var(--cols)*var(--digit-cell))!important;
  padding:7px 0 5px!important;
  font-size:2rem!important;
  font-weight:900!important;
  line-height:1!important;
}
.v183435-layout .v183429-ld-dividend>span{display:grid!important;place-items:center!important;min-width:0!important;}
.v183435-layout .v183429-ld-side{grid-area:side!important;border-left:3px solid #111827!important;min-height:100%!important;}
.v183435-layout .v183429-ld-work{
  grid-area:work!important;
  display:block!important;
  width:calc(var(--cols)*var(--digit-cell))!important;
  min-width:calc(var(--cols)*var(--digit-cell))!important;
  margin:0!important;
  padding:0!important;
}
.v183435-layout .v183429-ld-step{
  display:grid!important;
  grid-template-columns:repeat(var(--cols),var(--digit-cell))!important;
  grid-template-rows:2.45rem 2px 2.45rem!important;
  width:calc(var(--cols)*var(--digit-cell))!important;
  min-width:0!important;
  max-width:none!important;
  margin:4px 0 0!important;
  padding:0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.v183435-layout .v183429-ld-product{
  grid-column:var(--product-box-line) / span var(--neutral-cols)!important;
  grid-row:1!important;
  position:relative!important;
  display:block!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  overflow:visible!important;
}
.v183435-layout .v183429-ld-product>span{
  position:absolute!important;
  left:calc(var(--minus-offset)*var(--digit-cell) - .74rem)!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:.62rem!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
  text-align:center!important;
  font-size:1.28rem!important;
  font-weight:900!important;
}
.v183435-layout .v183429-ld-product>.v18342-step-field.is-notebook,
.v183435-layout .v183429-ld-remainder>.v18342-step-field.is-notebook{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;}
.v183435-layout .v183429-ld-product>.v18342-step-field.is-notebook input,
.v183435-layout .v183429-ld-remainder>.v18342-step-field.is-notebook input{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:2.35rem!important;
  box-sizing:border-box!important;
  text-align:right!important;
  font-variant-numeric:tabular-nums!important;
  letter-spacing:.03em!important;
}
.v183435-layout .v183429-ld-product>.v18342-step-field.is-notebook input{padding-right:calc(.42rem + var(--product-pad-right)*var(--digit-cell))!important;}
.v183435-layout .v183429-ld-rule{
  grid-column:var(--product-box-line) / span var(--neutral-cols)!important;
  grid-row:2!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:2px!important;
  margin:0!important;
  background:#111827!important;
  justify-self:stretch!important;
}
.v183435-layout .v183429-ld-remainder{
  grid-column:var(--next-box-line) / span var(--neutral-cols)!important;
  grid-row:3!important;
  display:block!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:3px 0 0!important;
  justify-self:stretch!important;
}
.v183435-layout .v183429-ld-remainder>.v18342-step-field.is-notebook input{padding-right:calc(.42rem + var(--next-pad-right)*var(--digit-cell))!important;}
@media(max-width:680px){
  .v183435-layout .v183429-ld-sheet{--digit-cell:1.75rem!important;grid-template-columns:calc(var(--cols)*var(--digit-cell)) minmax(4.8rem,auto)!important;}
  .v183435-layout .v183429-ld-product>span{left:calc(var(--minus-offset)*var(--digit-cell) - .66rem)!important;font-size:1.16rem!important;}
}

/* v18.34.4-r2 — long-division subtraction operator baseline fix */
.v183435-layout .v183429-ld-step{
  grid-template-rows:2.55rem 2px 2.55rem!important;
  margin-top:7px!important;
}
.v183435-layout .v183429-ld-product{
  overflow:visible!important;
}
.v183435-layout .v183429-ld-product>span{
  left:calc(var(--minus-offset)*var(--digit-cell) - .88rem)!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:.72rem!important;
  height:2.35rem!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
}
.v183435-layout .v183429-ld-remainder{
  margin-top:6px!important;
}
@media(max-width:680px){
  .v183435-layout .v183429-ld-product>span{left:calc(var(--minus-offset)*var(--digit-cell) - .78rem)!important;}
}

/* v18.34.4-r2 — long-division minus outside neutral input box */
.v183435-layout .v183429-ld-product>span{
  left:-.92rem!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:.72rem!important;
  height:2.35rem!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  pointer-events:none!important;
}
@media(max-width:680px){
  .v183435-layout .v183429-ld-product>span{left:-.82rem!important;}
}

/* v18.34.4-r2 — final minimal long-division minus lift; no geometry changes */
.v183435-layout .v183429-ld-product>span{
  top:20%!important;
  transform:translateY(-50%)!important;
}
@media(max-width:680px){
  .v183435-layout .v183429-ld-product>span{top:20%!important;}
}

/* v18.34.4-r2 — long-division minus raised slightly higher */
.v183435-layout .v183429-ld-product>span{
  top:42%!important;
  transform:translateY(-50%)!important;
}
@media(max-width:680px){
  .v183435-layout .v183429-ld-product>span{
    top:40%!important;
  }
}

/* v18.34.4-r2 — final cosmetic lift for long-division subtraction sign */
.v183435-layout .v183429-ld-product>span{
  top:20%!important;
  transform:translateY(-50%)!important;
}
@media(max-width:680px){
  .v183435-layout .v183429-ld-product>span{
    top:18%!important;
  }
}

/* v18.34.4-r2 — long-division subtraction sign lifted higher */
.v183435-layout .v183429-ld-product>span{
  top:6%!important;
  transform:translateY(-50%)!important;
}
@media(max-width:680px){
  .v183435-layout .v183429-ld-product>span{
    top:6%!important;
  }
}

/* v18.34.4-r2 — lift long-division subtraction sign slightly higher */
.v183435-layout .v183429-ld-product>span{
  top:2%!important;
  transform:translateY(-50%)!important;
}
@media(max-width:680px){
  .v183435-layout .v183429-ld-product>span{
    top:2%!important;
  }
}

/* v18.34.4-r2 — final micro-lift for long-division subtraction sign */
.v183435-layout .v183429-ld-product>span{
  top:0%!important;
  transform:translateY(-50%)!important;
}
@media(max-width:680px){
  .v183435-layout .v183429-ld-product>span{
    top:0%!important;
  }
}

/* v18.34.4-r2 — applied measurement task card */
.v18343-applied-measure{display:flex;align-items:center;justify-content:center;gap:10px;min-height:86px;padding:14px 18px;border:1px solid #dcd7ff;border-radius:16px;background:#fbfaff;color:#17224b;text-align:center}
.v18343-applied-measure>span{font-size:1.45rem;line-height:1}
.v18343-applied-measure>strong{font-size:1.12rem;line-height:1.35;font-variant-numeric:tabular-nums}

/* v18.34.12-r12: demo journey data disclosure */
.v18346-demo-plan-note{margin:0 0 12px;padding:8px 10px;border:1px solid #b9d6ff;border-radius:10px;background:#f0f7ff;color:#245487;font-size:.84rem;font-weight:600}

/* v18.34.12-r1: demo learning-journey preview controls. */
.v18346-journey-demo-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.v18346-journey-demo-controls button{font:inherit;padding:9px 14px;border-radius:12px}.v18346-journey-demo-controls button[hidden]{display:none!important}

/* 18.34.12-r1: demo-only sample mistake explanation */
.v18346-journey-demo-review{background:#f2f6ff;border:1px solid #b6ccf4;border-radius:12px;padding:12px 16px;margin-top:10px;color:#17375f}.v18346-journey-demo-review[hidden]{display:none!important}.v18346-journey-demo-review ul{margin:7px 0;padding-left:23px;display:grid;gap:4px}.v18346-journey-demo-review small{display:block;line-height:1.45}

/* v18.34.12-r1 — isolated demo mistake-review walkthrough. */
.v18346-demo-review-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;overflow:auto;padding:16px;background:rgba(16,24,48,.64)}
.v18346-demo-review-card{box-sizing:border-box;width:min(530px,100%);max-height:96vh;overflow:auto;padding:clamp(18px,4vw,30px);border-radius:20px;background:#fff;color:#202a49;box-shadow:0 24px 90px #10183066}
.v18346-demo-review-head{display:flex;align-items:start;justify-content:space-between;gap:10px}.v18346-demo-review-head h2{margin:0;font-size:clamp(1.18rem,3vw,1.6rem)}
.v18346-demo-review-head [data-demo-close]{width:auto;min-width:42px;padding:9px 14px}
.v18346-demo-review-progress{margin-top:22px;color:#626c86;font-weight:700}
.v18346-demo-review-question{padding:18px 4px;text-align:center;font-size:clamp(2rem,7vw,3rem);font-weight:800}
.v18346-demo-review-label{display:block;margin-bottom:8px;font-weight:700}
#v18346DemoReviewAnswer{display:block;box-sizing:border-box;width:100%;padding:12px 14px;border:2px solid #bfc5df;border-radius:12px;font-size:1.45rem;text-align:center}
.v18346-demo-review-card .feedback{min-height:1.7em;margin:12px 0}
.v18346-demo-review-card [data-demo-check],.v18346-demo-review-card [data-demo-back]{display:block;width:100%;margin-top:12px}
.v18346-demo-review-card [hidden]{display:none!important}


/* 18.34.12-r3 solution reveal */
.v183412-solution-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.v183412-solution{background:var(--card-bg,#fff);color:var(--text-color,#17324d);border:1px solid #bdd4e8;border-radius:12px;padding:16px;text-align:left}.v183412-solution[hidden]{display:none}.v183412-solution li{margin:8px 0;overflow-wrap:anywhere}.v183412-solution p{font-weight:700}.v183412-solution-actions button{min-height:44px}

.v183412-difficulty-badge{display:block;margin-bottom:12px;font-weight:700;color:#435477}

/* 18.34.12-r5 shared task interactions */
.v183412-interaction {display:block!important; width:100%; text-align:left;}
.v183412-interaction-hint {font-weight:600; margin:0 0 12px;}
.v183412-tokens,.v183412-targets {display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;}
.v183412-interaction button {min-width:44px;min-height:44px;border:2px solid var(--border,#a4b1c5);border-radius:10px;background:var(--card-bg,#fff);color:var(--text,#17263e);font-size:1rem;padding:8px 12px;cursor:pointer;}
.v183412-interaction button.selected {border-color:#2563eb;background:#dbeafe;color:#17263e;}
.v183412-interaction button:focus-visible,.v183412-interaction input:focus-visible,.v183412-interaction select:focus-visible {outline:3px solid #2563eb;outline-offset:3px;}
.v183412-interaction button:disabled {cursor:default;opacity:.7;}
.v183412-interaction .is-used {border-style:dashed;}
.v183412-targets button {display:grid;gap:5px;min-width:90px;}
.v183412-targets strong {font-size:1.5rem;}
.v183412-match {display:grid;gap:10px;max-width:420px;}
.v183412-match label {display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12px;font-size:1.2rem;}
.v183412-interaction select,.v183412-interaction input {min-height:44px;min-width:0;border:2px solid #a4b1c5;border-radius:8px;padding:8px;font-size:1.1rem;color:var(--text,#17263e);background:var(--card-bg,#fff);}
.v183412-answer-label {display:grid;gap:8px;max-width:260px;}
.v183412-order {display:grid;gap:8px;padding-left:30px;max-width:420px;}
.v183412-order li {padding-left:4px;}
.v183412-order li span {display:inline-block;min-width:100px;font-size:1.2rem;}
.v183412-order button {margin-left:8px;}
.v183412-number-line {position:relative;overflow-x:auto;padding:10px 0;}
.v183412-number-line svg {width:100%;min-width:600px;height:40px;display:block;}
.v183412-points {display:flex;justify-content:space-between;gap:0;min-width:600px;margin-top:-37px;position:relative;}
.v183412-points button {min-width:32px;padding:4px;flex:1;border-radius:50%;background:var(--card-bg,#fff);font-size:.85rem;}
.v183412-interaction.is-correct {border-left:4px solid #15803d;padding-left:10px;}
.v183412-interaction.is-wrong {border-left:4px solid #b91c1c;padding-left:10px;}
.v183412-status {display:block;min-height:1.4em;font-size:.9rem;margin-top:8px;}

/* Compact teacher assignment layout shared by place value and arithmetic. */
.v1420-assignment-form > label {align-self:start;}
.v1420-assignment-form > .v183412-question-count-field {grid-column:1;}
.v1420-assignment-form > .v183412-due-date-field {grid-column:2;}
.v1420-assignment-form[data-assignment-module]:not([data-assignment-module="arithmetic"]) > .v16241-difficulty-field {grid-column:4;}
.v1420-assignment-form > .v1722-assignment-summary {grid-column:1/-1;min-width:0;align-self:start;}
.v1420-assignment-form > .v1722-assignment-summary .v1722-assignment-chip {max-width:100%;}
@media (max-width:900px) {
 .v1420-assignment-form > .v183412-question-count-field,
 .v1420-assignment-form > .v183412-due-date-field,
 .v1420-assignment-form[data-assignment-module]:not([data-assignment-module="arithmetic"]) > .v16241-difficulty-field {grid-column:auto;grid-row:auto;}
}

/* Full solution and final answer are assessed separately. */
.v183412-full-solution {display:grid;gap:10px;grid-column:1/-1;padding:14px;border:1px solid #cbd5e1;border-radius:12px;margin:10px 0;text-align:left;}
.v183412-full-solution h4 {margin:0;font-size:1rem;}
.v183412-full-solution label {display:grid;gap:6px;font-weight:600;}
.v183412-full-solution input {max-width:300px;min-height:44px;border:2px solid #a4b1c5;border-radius:8px;padding:8px;font-size:1rem;background:var(--card-bg,#fff);color:var(--text,#17263e);}
.v183412-full-solution input.is-correct {border-color:#15803d;}
.v183412-full-solution input.is-wrong {border-color:#b91c1c;}

.v16531-equivalent-card {flex-wrap:wrap;gap:12px;}

/* 18.34.12-r14: keep the full assignment description above the action row. */
.v1420-assignment-card{
  grid-template-areas:"main main" "meta actions" "editor editor" "status status"!important;
}
.v1420-assignment-card:has(>.v1472-draft-select){
  grid-template-areas:"draft draft" "main main" "meta actions" "editor editor" "status status"!important;
}
.v1420-assignment-card>.v1472-draft-select{grid-area:draft;min-width:0}
.v1420-assignment-card>.v1420-assignment-main{grid-area:main;min-width:0}
.v1420-assignment-card>.v1420-assignment-main small{overflow-wrap:anywhere;white-space:normal}
.v1420-assignment-card>.v1420-assignment-meta{grid-area:meta}
.v1420-assignment-card>.v1421-assignment-actions{grid-area:actions;min-width:0;max-width:100%}
@media(max-width:980px){
  .v1420-assignment-card{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"main" "meta" "actions" "editor" "status"!important;
  }
  .v1420-assignment-card:has(>.v1472-draft-select){
    grid-template-areas:"draft" "main" "meta" "actions" "editor" "status"!important;
  }
  .v1420-assignment-card>.v1421-assignment-actions{grid-column:1;justify-self:stretch;justify-content:flex-start}
}
