/* Экран панели «Интерактивное расписание» (ir-kiosk.js). Размеры — в пикселях панели: 1280×720 или 720×1280,
   блок масштабируется целиком. Цвета — как в Школьном звонке ПРО. */
.irk-stage { position: relative; overflow: hidden; border-radius: 6px; margin: 0 auto; }
.irk {
  --k-blue: #1565C0; --k-dblue: #0D47A1; --k-soft: #E3F2FD; --k-green: #2E7D32; --k-gsoft: #E8F5E9;
  --k-red: #C62828; --k-orange: #E65100; --k-osoft: #FFF3E0; --k-purple: #6A1B9A; --k-psoft: #F3E5F5;
  --k-ink: #17202A; --k-ink2: #44515E; --k-ink3: #6B7785; --k-line: #DDE3EA; --k-bg: #F2F5F9;
  position: absolute; left: 0; top: 0; transform-origin: 0 0; display: flex; flex-direction: column;
  width: 1280px; height: 720px; background: var(--k-bg); color: var(--k-ink); overflow: hidden;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; font-size: 18px; line-height: 1.3;
  user-select: none; -webkit-user-select: none; text-align: left;
}
.irk.irk-port { width: 720px; height: 1280px; }
.irk *, .irk *::before, .irk *::after { box-sizing: border-box; }
.irk h2, .irk h3, .irk p { margin: 0; letter-spacing: 0; }
.irk section, .irk aside, .irk main { padding: 0; margin: 0; }
.irk .irk-body { padding: 18px 24px; }
.irk :where(button) { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; text-align: left; -webkit-tap-highlight-color: transparent; }
.irk :where(button):focus-visible { outline: 4px solid #FFB300; outline-offset: 2px; }
.irk-i { width: 30px; height: 30px; flex: none; }

/* шапка */
.irk-head { flex: none; display: flex; align-items: center; gap: 24px; height: 96px; padding: 0 28px;
  background: linear-gradient(100deg, var(--k-dblue), var(--k-blue)); color: #fff; }
.irk-school { display: flex; align-items: center; gap: 14px; min-width: 0; }
.irk-logo { width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
.irk-logo svg { width: 32px; height: 32px; }
.irk-school b { display: block; font-size: 24px; font-weight: 800; white-space: nowrap; }
.irk-school span { font-size: 15px; opacity: .8; white-space: nowrap; }
.irk-st { flex: 1; display: flex; align-items: center; justify-content: center; gap: 22px; min-width: 0; }
.irk-st-a b { display: block; font-size: 30px; font-weight: 800; white-space: nowrap; }
.irk-st-a span { font-size: 16px; opacity: .85; white-space: nowrap; }
.irk-st-b { display: flex; flex-direction: column; align-items: center; background: rgba(255,255,255,.14); border-radius: 14px; padding: 6px 18px; }
.irk-st-b span { font-size: 14px; opacity: .85; }
.irk-st-b strong { font-size: 36px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.irk-clock { text-align: right; flex: none; }
.irk-clock b { display: block; font-size: 46px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.irk-clock span { font-size: 15px; opacity: .85; }
.irk-brk .irk-head { background: linear-gradient(100deg, #1B5E20, var(--k-green)); }
.irk-prog { flex: none; height: 6px; background: #CFD8E3; }
.irk-prog i { display: block; height: 100%; background: var(--k-blue); transition: width .5s linear; }
.irk-prog i.brk { background: var(--k-green); }

.irk-port .irk-head { height: 168px; flex-wrap: wrap; align-content: center; gap: 14px 20px; padding: 0 26px; }
.irk-port .irk-school { flex: 1; }
.irk-port .irk-st { order: 3; flex: 1 0 100%; justify-content: space-between; background: rgba(255,255,255,.1); border-radius: 16px; padding: 8px 10px 8px 18px; }

/* тело */
.irk-body { flex: 1; min-height: 0; overflow: hidden; padding: 18px 24px; position: relative; }
.irk-body h3 { font-size: 19px; font-weight: 800; color: var(--k-ink2); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.irk-body h3 em { font-style: normal; background: var(--k-orange); color: #fff; border-radius: 99px; font-size: 14px; padding: 1px 9px; }

/* главный экран */
.irk-s-now { display: grid; grid-template-columns: 1fr 360px; gap: 20px; }
.irk-port .irk-s-now { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.irk-cgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.irk-port .irk-cgrid { gap: 10px; }
.irk-cc { position: relative; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--k-line); border-radius: 14px; padding: 8px 14px; height: 72px; min-width: 0; }
.irk-port .irk-cc { height: 96px; }
.irk-cc:active { background: var(--k-soft); }
.irk-cc .c { font-size: 30px; font-weight: 800; color: var(--k-blue); width: 66px; flex: none; }
.irk-cc div { min-width: 0; }
.irk-cc .s, .irk-cc .m { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.irk-cc .s { font-size: 20px; font-weight: 700; }
.irk-cc .m { font-size: 15px; color: var(--k-ink3); }
.irk-cc.sub { border-color: #FFB74D; background: var(--k-osoft); box-shadow: inset 5px 0 0 var(--k-orange); }
.irk-cc.cancel { border-color: #EF9A9A; background: #FFEBEE; box-shadow: inset 5px 0 0 var(--k-red); }
.irk-cc.off { opacity: .55; }
.tg { position: absolute; right: 10px; top: 8px; font-style: normal; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; border-radius: 6px; padding: 2px 7px; color: #fff; background: var(--k-orange); }
.tg-r { background: var(--k-purple); } .tg-c { background: var(--k-red); }
.irk-home-s { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.irk-land .irk-box { padding: 10px 14px; }
.irk-port .irk-home-s { display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
.irk-port .irk-find { grid-column: 1 / -1; }
.irk-box { background: #fff; border: 1px solid var(--k-line); border-radius: 14px; padding: 14px 16px; }
.irk-box h3 { margin-bottom: 8px; }
.irk-sl, .irk-al { list-style: none; margin: 0; padding: 0; }
.irk-sl li { display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; padding: 6px 0; border-top: 1px solid #EEF2F6; font-size: 15px; }
.irk-sl li:first-child { border-top: 0; }
.irk-sl b { grid-row: span 2; font-size: 20px; color: var(--k-orange); }
.irk-sl span { color: var(--k-ink3); }
.irk-sl .w { color: var(--k-ink); font-weight: 600; }
.irk-al li { font-size: 15px; padding: 6px 0 6px 14px; border-top: 1px solid #EEF2F6; position: relative; }
.irk-al li:first-child { border-top: 0; }
.irk-al li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--k-blue); }
.irk-al li.imp { font-weight: 700; } .irk-al li.imp::before { background: var(--k-orange); }
.irk-none { color: var(--k-green); font-weight: 700; }
.irk-more { color: var(--k-blue); font-weight: 700; margin-top: 4px; font-size: 15px; }
.irk-find { display: flex; align-items: center; gap: 14px; background: var(--k-blue); color: #fff !important; border-radius: 14px; padding: 12px 16px; margin-top: auto; }
.irk-find svg { width: 40px; height: 40px; }
.irk-find span { font-size: 15px; opacity: .95; }
.irk-find b { display: block; font-size: 20px; }

/* заголовок страницы */
.irk-pgh { display: flex; align-items: baseline; gap: 18px; margin-bottom: 14px; flex-wrap: wrap; }
.irk-pgh h2 { font-size: 34px; font-weight: 800; }
.irk-pgh p { color: var(--k-ink3); font-size: 17px; }
.irk-pgh-x { align-items: center; }
.irk-back { display: inline-flex; align-items: center; gap: 4px; background: #fff !important; border: 1px solid var(--k-line) !important; border-radius: 12px; height: 54px; padding: 0 18px 0 10px !important; font-weight: 700; color: var(--k-blue) !important; }

/* выбор класса */
.irk-pars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.irk-port .irk-pars { grid-template-columns: repeat(2, 1fr); }
.irk-par { background: #fff; border: 1px solid var(--k-line); border-radius: 16px; padding: 12px 14px 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.irk-par span { flex: 1 0 100%; color: var(--k-ink3); font-weight: 700; font-size: 15px; }
.irk-par button { flex: 1; min-width: 100px; height: 96px; border-radius: 14px; background: var(--k-soft); color: var(--k-dblue); font-size: 40px; font-weight: 800; text-align: center; }
.irk-par button:active { background: var(--k-blue); color: #fff; }

/* дни, этажи */
.irk-days { display: flex; gap: 8px; margin-bottom: 12px; }
.irk-days button { flex: 1; height: 56px; border-radius: 12px; background: #fff; border: 1px solid var(--k-line); font-weight: 700; font-size: 20px; text-align: center; line-height: 1.05; }
.irk-days button small { display: block; font-size: 12px; font-weight: 600; color: var(--k-ink3); }
.irk-days button[aria-pressed="true"] { background: var(--k-blue); color: #fff; border-color: var(--k-blue); }
.irk-days button[aria-pressed="true"] small { color: #fff; opacity: .85; }
.irk-floors { max-width: 560px; }

/* строки расписания */
.irk-cls { display: grid; grid-template-columns: 1fr 230px; gap: 16px; }
.irk-port .irk-cls { grid-template-columns: 1fr; }
.irk-rows { display: flex; flex-direction: column; gap: 6px; }
.irk-row { display: grid; grid-template-columns: 40px 118px 1fr 190px 88px; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--k-line); border-radius: 12px; min-height: 46px; padding: 5px 14px; font-size: 18px; }
.irk-s-tch .irk-row, .irk-s-room .irk-row { grid-template-columns: 40px 118px 1fr 190px; }
.irk-port .irk-row { min-height: 68px; grid-template-columns: 40px 110px 1fr 76px; }
.irk-port .irk-row .t { grid-column: 3; grid-row: 2; font-size: 15px; color: var(--k-ink3); }
.irk-port .irk-row .r { grid-row: 1; grid-column: 4; }
.irk-port .irk-row .n, .irk-port .irk-row .tm { grid-row: span 2; }
.irk-row .n { font-weight: 800; color: var(--k-ink3); font-size: 20px; }
.irk-row .tm { font-variant-numeric: tabular-nums; color: var(--k-ink2); }
.irk-row .s { font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; }
.irk-row .s small { font-size: 13px; font-weight: 700; color: var(--k-orange); }
.irk-row .s small.nw { color: #fff; background: var(--k-blue); border-radius: 6px; padding: 1px 7px; }
.irk-row .t { color: var(--k-ink2); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.irk-row .r { font-weight: 800; text-align: right; color: var(--k-dblue); }
.irk-row.now { background: var(--k-soft); border: 2px solid var(--k-blue); }
.irk-row.next { border: 2px dashed var(--k-green); }
.irk-row.next .s small.nw { background: var(--k-green); }
.irk-row.past { opacity: .45; }
.irk-row.sub { background: var(--k-osoft); border-color: #FFB74D; }
.irk-row.cancel .s { text-decoration: line-through; color: var(--k-red); }
.irk-row.cancel .s small { text-decoration: none; color: var(--k-red); }
.irk-row.free .s { color: var(--k-green); font-weight: 600; }
.irk-qrbox { background: #fff; border: 1px solid var(--k-line); border-radius: 14px; padding: 16px; text-align: center; align-self: start; }
.irk-port .irk-qrbox { display: grid; grid-template-columns: 120px 1fr; text-align: left; align-items: center; column-gap: 16px; }
.irk-port .irk-qrbox .irk-qr { grid-row: span 2; }
.irk-qr { width: 150px; height: 150px; display: block; margin: 0 auto 10px; }
.irk-port .irk-qr { width: 120px; height: 120px; margin: 0; }
.irk-qrbox b { display: block; font-size: 17px; }
.irk-qrbox span { font-size: 14px; color: var(--k-ink3); }

/* учителя */
.irk-tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.irk-port .irk-tgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.irk-tgrid button { background: #fff; border: 1px solid var(--k-line); border-radius: 12px; padding: 9px 12px; min-height: 92px; }
.irk-port .irk-tgrid button { min-height: 100px; }
.irk-tgrid b { display: block; font-size: 18px; }
.irk-tgrid span { display: block; font-size: 13px; color: var(--k-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.irk-tgrid em { display: inline-block; font-style: normal; font-size: 13px; font-weight: 700; margin-top: 4px; color: var(--k-green); }
.irk-tgrid em.on { color: var(--k-blue); }
.irk-tnow { display: flex; align-items: center; gap: 16px; background: var(--k-gsoft); border: 2px solid #A5D6A7; border-radius: 14px; padding: 12px 18px; margin-bottom: 10px; }
.irk-tnow.on { background: var(--k-soft); border-color: #90CAF9; }
.irk-tnow svg { width: 40px; height: 40px; color: var(--k-blue); flex: none; }
.irk-tnow b { display: block; font-size: 24px; }
.irk-tnow span { color: var(--k-ink2); }
.irk-s-tch .irk-row { min-height: 40px; }
.irk-land.irk .irk-s-tch .irk-rows { gap: 4px; }

/* кабинеты */
.irk-map { background: #fff; border: 1px solid var(--k-line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.irk-mrow { display: flex; gap: 10px; }
.irk-rm { flex: 1; height: 112px; border-radius: 10px; border: 2px solid; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.irk-port .irk-rm { height: 150px; }
.irk-rm b { font-size: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.irk-rm span { font-size: 14px; font-weight: 600; }
.irk-rm.free { border-color: #81C784; background: var(--k-gsoft); color: #1B5E20; }
.irk-rm.busy { border-color: #64B5F6; background: var(--k-soft); color: var(--k-dblue); }
.irk-rm.svc { border-color: var(--k-line); background: #F7F9FB; color: var(--k-ink3); cursor: default; }
.irk-rm.svc b { font-size: 17px; }
.irk-corr { height: 44px; border-radius: 8px; background: repeating-linear-gradient(90deg, #EEF2F6 0 18px, #E6EBF1 18px 36px); display: flex; align-items: center; justify-content: center; gap: 20px; color: var(--k-ink3); font-size: 15px; font-weight: 600; }
.irk-here { display: inline-flex; align-items: center; gap: 4px; color: #fff; background: var(--k-red); border-radius: 99px; padding: 3px 12px 3px 6px; font-weight: 700; }
.irk-here svg { width: 22px; height: 22px; }

/* замены */
.irk-subs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.irk-port .irk-subs { grid-template-columns: 1fr; }
.irk-sub { position: relative; display: grid; grid-template-columns: 70px 76px 1fr; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--k-line); border-left: 6px solid var(--k-orange); border-radius: 12px; padding: 12px 14px; }
.irk-sub-room { border-left-color: var(--k-purple); } .irk-sub-cancel { border-left-color: var(--k-red); }
.irk-sub .c { font-size: 30px; font-weight: 800; color: var(--k-dblue); }
.irk-sub .when { font-weight: 800; font-size: 18px; }
.irk-sub .when span { display: block; font-weight: 500; color: var(--k-ink3); font-size: 15px; }
.irk-sub .was { display: block; font-size: 14px; color: var(--k-ink3); text-decoration: line-through; padding-right: 70px; }
.irk-sub .now { display: block; font-size: 17px; font-weight: 700; }
.irk-sub small { display: block; font-size: 13px; color: var(--k-ink3); }
.irk-empty { background: var(--k-gsoft); color: #1B5E20; border-radius: 16px; padding: 40px; font-size: 26px; font-weight: 700; text-align: center; }

/* звонки */
.irk-bells .irk-row { grid-template-columns: 40px 1fr 200px; min-height: 42px; }
.irk-port .irk-bells .irk-row { grid-template-columns: 40px 1fr 200px; min-height: 64px; }
.irk-bells .irk-row .tm { font-size: 22px; font-weight: 700; text-align: right; grid-row: auto !important; }
.irk-brkrow { font-size: 13px; color: var(--k-ink3); padding-left: 64px; line-height: 1; }
.irk-brkrow.now { color: var(--k-green); font-weight: 800; }
.irk-warn { background: var(--k-osoft); color: #BF360C; border: 1px solid #FFCC80; border-radius: 12px; padding: 10px 16px; font-weight: 700; margin-bottom: 10px; }
.irk-land .irk-s-bells .irk-rows { gap: 3px; }

/* объявления */
.irk-anns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.irk-port .irk-anns { grid-template-columns: 1fr; }
.irk-an { background: #fff; border: 1px solid var(--k-line); border-radius: 14px; padding: 18px; }
.irk-an.imp { background: #FFF8E1; border-color: #FFD54F; }
.irk-an em { font-style: normal; font-size: 12px; font-weight: 800; text-transform: uppercase; color: #fff; background: var(--k-orange); border-radius: 6px; padding: 2px 8px; }
.irk-an p { font-size: 21px; font-weight: 600; margin: 6px 0; }
.irk-an span { font-size: 14px; color: var(--k-ink3); }

/* бегущая строка */
.irk-tick { flex: none; height: 46px; display: flex; align-items: center; background: #fff; border-top: 1px solid var(--k-line); overflow: hidden; }
.irk-tick-h { flex: none; height: 100%; display: grid; place-items: center; padding: 0 14px; background: var(--k-orange); color: #fff; }
.irk-tick-h svg { width: 26px; height: 26px; }
.irk-tick-w { flex: 1; overflow: hidden; white-space: nowrap; }
.irk-tick-in { display: inline-block; white-space: nowrap; font-size: 18px; font-weight: 600; animation: irk-marq 60s linear infinite; padding-left: 20px; }
.irk-tick-in i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--k-ink3); margin: 0 22px; vertical-align: middle; }
.irk-tick-in .imp { color: #BF360C; font-weight: 800; }
@keyframes irk-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* навигация — внизу, в зоне досягаемости */
.irk-nav { flex: none; display: flex; height: 92px; background: var(--k-dblue); padding: 8px 10px; gap: 8px; }
.irk-port .irk-nav { height: 116px; padding: 10px; gap: 6px; }
.irk-nav button { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff; border-radius: 12px; font-size: 15px; font-weight: 600; text-align: center; }
.irk-port .irk-nav button { font-size: 14px; }
.irk-nav button[aria-current="page"] { background: #fff; color: var(--k-dblue); }
.irk-nav button:active { background: rgba(255,255,255,.25); }
.irk-nav em { position: absolute; top: 6px; right: 18%; min-width: 24px; height: 24px; border-radius: 12px; background: var(--k-orange); color: #fff; font-style: normal; font-size: 14px; font-weight: 800; display: grid; place-items: center; padding: 0 6px; }
.irk-nav em[hidden] { display: none; }

/* всплывающее */
.irk-idle { position: absolute; left: 50%; bottom: 150px; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; background: rgba(23,32,42,.92); color: #fff; border-radius: 16px; padding: 10px 10px 10px 20px; font-size: 17px; white-space: nowrap; z-index: 5; }
.irk-idle button { background: #fff; color: var(--k-ink); border-radius: 10px; padding: 10px 18px; font-weight: 700; }
.irk-toast { position: absolute; right: 24px; top: 116px; display: flex; align-items: center; gap: 10px; max-width: 520px; background: #fff; color: var(--k-ink); border: 2px solid var(--k-green); border-radius: 14px; padding: 12px 16px; font-size: 16px; font-weight: 600; box-shadow: 0 10px 30px rgba(16,38,64,.18); z-index: 6; animation: irk-in .35s ease; }
.irk-toast svg { width: 26px; height: 26px; color: var(--k-green); flex: none; }
.irk-port .irk-toast { top: 186px; left: 24px; right: 24px; max-width: none; }
.irk-bell { position: absolute; left: 0; right: 0; top: 0; height: 96px; display: flex; align-items: center; justify-content: center; gap: 18px; background: #FFB300; color: #3E2723; z-index: 7; }
.irk-port .irk-bell { height: 168px; }
.irk-bell.on { animation: irk-drop .4s ease; }
.irk-bi { width: 52px; height: 52px; animation: irk-ring .5s ease 3; }
.irk-bell b { display: block; font-size: 32px; font-weight: 800; }
.irk-bell span { font-size: 16px; font-weight: 600; }
@keyframes irk-in { from { opacity: 0; transform: translateY(-10px); } }
@keyframes irk-drop { from { transform: translateY(-100%); } }
@keyframes irk-ring { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(14deg); } 75% { transform: rotate(-14deg); } }
.irk [hidden] { display: none !important; }

/* тревога */
.irk-alarm { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; color: #fff; text-align: center; }
.irk-al-air { background: var(--k-red); } .irk-al-lock { background: var(--k-purple); } .irk-al-evac { background: #BF360C; }
.irk-al-stripe { height: 34px; flex: none; background: repeating-linear-gradient(-45deg, rgba(0,0,0,.28) 0 26px, transparent 26px 52px); animation: irk-stripe 1s linear infinite; }
@keyframes irk-stripe { to { background-position: 52px 0; } }
.irk-al-in { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px 60px; gap: 14px; }
.irk-al-k { font-size: 22px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; opacity: .9; animation: irk-blink 1s steps(2) infinite; }
@keyframes irk-blink { 50% { opacity: .35; } }
.irk-alarm h2 { font-size: 84px; line-height: 1; font-weight: 900; text-transform: uppercase; }
.irk-port .irk-alarm h2 { font-size: 72px; }
.irk-al-1 { font-size: 36px; font-weight: 700; max-width: 900px; }
.irk-al-2 { font-size: 24px; opacity: .92; max-width: 860px; }
.irk-al-src { margin-top: 18px !important; font-size: 18px; opacity: .85; border-top: 1px solid rgba(255,255,255,.4); padding-top: 14px; }

/* заставка */
.irk .irk-s-attract { padding: 24px 28px; }
.irk-at { height: 100%; animation: irk-fade .6s ease; }
@keyframes irk-fade { from { opacity: 0; } }
.irk-at-now { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #fff; border-radius: 24px; border: 1px solid var(--k-line); }
.irk-at-now .k { font-size: 24px; color: var(--k-ink3); font-weight: 600; }
.irk-at-now h2 { font-size: 92px; font-weight: 900; color: var(--k-dblue); line-height: 1.05; }
.irk-at-now p { font-size: 30px; color: var(--k-ink2); margin-top: 10px; }
.irk-at-now strong { font-size: 170px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--k-blue); }
.irk-port .irk-at-now strong { font-size: 190px; }
.irk-at-now .nx { margin-top: 18px; font-size: 22px; color: var(--k-ink3); }
.irk-at-h { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.irk-at-cls .irk-cc { height: 82px; }
.irk-port .irk-at-cls .irk-cc { height: 132px; }
.irk-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 8px; }
.irk-dots i { width: 10px; height: 10px; border-radius: 50%; background: #C5CFDA; }
.irk-dots i.on { background: var(--k-blue); width: 28px; border-radius: 5px; }
.irk-touch { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; background: var(--k-blue); color: #fff; padding: 14px 26px; border-radius: 99px; font-size: 22px; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 30px rgba(13,71,161,.35); animation: irk-pulse 2s ease-in-out infinite; }
.irk-touch svg { width: 34px; height: 34px; }
@keyframes irk-pulse { 50% { transform: translateX(-50%) scale(1.05); } }
.irk-tv .irk-body.irk-s-attract { padding-bottom: 30px; }

@media (prefers-reduced-motion: reduce) {
  .irk *, .irk *::before { animation: none !important; transition: none !important; }
  .irk-tick-w { overflow-x: auto; }
}

/* общее расписание на неделю: уроки × классы */
.irk-wg { display: flex; flex-direction: column; gap: 4px; }
.irk-wg-h, .irk-wg-r { display: grid; grid-template-columns: 76px repeat(var(--cols), 1fr); gap: 4px; }
.irk-port .irk-wg-h, .irk-port .irk-wg-r { grid-template-columns: 52px repeat(var(--cols), 1fr); gap: 3px; }
.irk-wg-h b { text-align: center; font-size: 20px; font-weight: 800; color: var(--k-dblue); background: #fff; border: 1px solid var(--k-line); border-radius: 8px; padding: 3px 0; }
.irk-port .irk-wg-h b { font-size: 17px; }
.irk-wg-r .n { display: flex; flex-direction: column; justify-content: center; font-size: 13px; color: var(--k-ink3); font-variant-numeric: tabular-nums; line-height: 1.1; }
.irk-wg-r .n b { font-size: 20px; color: var(--k-ink2); }
.irk-wc { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center !important; background: #fff; border: 1px solid var(--k-line); border-radius: 8px; height: 37px; min-width: 0; line-height: 1.1; }
.irk-port .irk-wc { height: 88px; }
.irk-wc b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.irk-wc span { font-size: 12px; color: var(--k-ink3); }
.irk-port .irk-wc b { font-size: 13px; white-space: normal; }
.irk-port .irk-wc span { font-size: 13px; font-weight: 700; color: var(--k-dblue); margin-top: 4px; }
.irk-wc.sub { background: var(--k-osoft); border-color: #FFB74D; box-shadow: inset 0 -4px 0 var(--k-orange); }
.irk-wc.cancel { background: #FFEBEE; border-color: #EF9A9A; }
.irk-wc.cancel b { text-decoration: line-through; color: var(--k-red); }
.irk-wg-r i.e { border-radius: 8px; background: repeating-linear-gradient(-45deg, transparent 0 6px, #E6EBF1 6px 8px); }
.irk-wg-r.now .irk-wc { border: 2px solid var(--k-blue); background: var(--k-soft); }
.irk-wg-r.now .irk-wc.sub { background: var(--k-osoft); border-color: var(--k-orange); }
.irk-wg-r.now .n { color: var(--k-blue); font-weight: 700; } .irk-wg-r.now .n b { color: var(--k-blue); }
.irk-wg-r.past { opacity: .45; }
.irk-nav button span { white-space: nowrap; }
.irk-port .irk-nav button { font-size: 13px; }
.irk-s-attract .irk-wc { height: 48px; }
.irk-port .irk-s-attract .irk-wc { height: 112px; }

/* главный экран: вся школа + поиск учителя */
.irk-s-home { display: grid; grid-template-columns: 1fr 318px; gap: 16px; align-items: start; }
.irk-home-t { overflow: hidden; max-height: 100%; }
.irk-port .irk-s-home { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 14px; }
.irk-home-g { min-width: 0; }
.irk-hg-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.irk-hg-h h3 { margin: 0 !important; font-size: 22px !important; color: var(--k-ink) !important; }
.irk-hg-h span { font-size: 14px; color: var(--k-ink3); }
.irk-s-home .irk-days { margin-bottom: 8px; }
.irk-s-home .irk-days button { height: 44px; font-size: 18px; }
.irk-land .irk-s-home .irk-wg { gap: 3px; }
.irk-home-t { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.irk-port .irk-home-t { display: grid; grid-template-columns: 1fr; }
.irk-tsearch h3 svg { width: 24px; height: 24px; color: var(--k-blue); }
.irk-letters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.irk-port .irk-letters { grid-template-columns: repeat(11, 1fr); }
.irk-letters button { height: 52px; border-radius: 10px; background: var(--k-soft); color: var(--k-dblue); font-size: 26px; font-weight: 800; text-align: center; }
.irk-port .irk-letters button { height: 64px; }
.irk-letters button[aria-pressed="true"] { background: var(--k-blue); color: #fff; }
.irk-tl { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.irk-port .irk-tl { flex-direction: row; }
.irk-tl button { background: #fff; border: 1px solid var(--k-line); border-radius: 10px; padding: 8px 12px; flex: 1; }
.irk-tl b { display: block; font-size: 18px; }
.irk-tl span { display: block; font-size: 13px; color: var(--k-ink3); }
.irk-tl em { font-style: normal; font-size: 14px; font-weight: 700; color: var(--k-green); }
.irk-tl em.on { color: var(--k-blue); }
.irk-tl-h { font-size: 14px; color: var(--k-ink3); margin-top: 10px !important; }

/* общее расписание, горизонтальный формат: строки — классы, столбцы — уроки */
.irk-wg-hz { gap: 3px; }
.irk-wg-hz .irk-wg-h, .irk-wg-hz .irk-wg-r { grid-template-columns: 62px repeat(var(--cols), minmax(0, 1fr)); gap: 3px; }
.irk-port .irk-wg-hz .irk-wg-h, .irk-port .irk-wg-hz .irk-wg-r { grid-template-columns: 54px repeat(var(--cols), minmax(0, 1fr)); }
.irk-wg-hz .irk-wg-h > span { align-self: end; font-size: 13px; color: var(--k-ink3); font-weight: 700; padding: 0 0 4px 6px; }
.irk-wg-hz .irk-wg-h b { font-size: 15px; font-weight: 800; color: var(--k-ink2); background: #fff; border: 1px solid var(--k-line); border-radius: 8px; padding: 3px 4px; text-align: center; line-height: 1.15; }
.irk-wg-hz .irk-wg-h b small { display: block; font-size: 12px; font-weight: 600; color: var(--k-ink3); font-variant-numeric: tabular-nums; }
.irk-wg-hz .irk-wg-h b.now { background: var(--k-blue); border-color: var(--k-blue); color: #fff; }
.irk-wg-hz .irk-wg-h b.now small { color: #fff; opacity: .9; }
.irk-wg-hz .irk-wg-r .n { display: flex; align-items: center; justify-content: center; background: var(--k-soft); color: var(--k-dblue); border-radius: 8px; font-size: 19px; font-weight: 800; text-align: center; }
.irk-wg-hz .irk-wc { flex-direction: row; justify-content: space-between; gap: 6px; padding: 0 8px; height: 31px; }
.irk-wg-hz .irk-wc b { font-size: 14px; }
.irk-wg-hz .irk-wc span { font-size: 12px; white-space: nowrap; }
.irk-port .irk-wg-hz .irk-wc { flex-direction: column; justify-content: center; gap: 2px; padding: 0 3px; height: 50px; }
.irk-port .irk-wg-hz .irk-wc b { font-size: 13px; white-space: nowrap; }
.irk-port .irk-wg-hz .irk-wc span { font-size: 12px; font-weight: 600; color: var(--k-ink3); margin: 0; }
.irk-port .irk-wg-hz .irk-wg-h b { font-size: 13px; padding: 3px 1px; }
.irk-port .irk-wg-hz .irk-wg-h b small { font-size: 11px; }
.irk-port .irk-s-week .irk-wg-hz .irk-wc, .irk-port .irk-s-attract .irk-wg-hz .irk-wc { height: 64px; }
.irk-wg-hz .irk-wc.now { border: 2px solid var(--k-blue); background: var(--k-soft); }
.irk-wg-hz .irk-wc.sub.now { background: var(--k-osoft); border-color: var(--k-orange); }
.irk-wg-hz .past { opacity: .45; }
.irk-wg-hz i.e { border-radius: 8px; background: repeating-linear-gradient(-45deg, transparent 0 6px, #E6EBF1 6px 8px); }
.irk-wg-hz i.e.now { outline: 2px solid #90CAF9; }
.irk-land .irk-s-week .irk-wg-hz .irk-wc, .irk-land .irk-s-attract .irk-wg-hz .irk-wc { height: 30px; }

.irk-land .irk-s-home { grid-template-columns: 1fr 280px; gap: 14px; }
.irk-land .irk-s-home .irk-hg-h { margin-bottom: 4px; }
.irk-land .irk-s-home .irk-hg-h h3 { font-size: 19px !important; }
.irk-land .irk-s-home .irk-hg-h span { display: none; }
.irk-land .irk-s-home .irk-days { margin-bottom: 5px; gap: 6px; }
.irk-land .irk-s-home .irk-days button { height: 34px; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.irk-land .irk-s-home .irk-days button small { display: inline; }
.irk-land .irk-wg-hz .irk-wg-h b { padding: 2px 4px; font-size: 14px; }
.irk-land .irk-s-home .irk-wg-hz .irk-wc { height: 28px; padding: 0 6px; }
.irk-land .irk-wg-hz .irk-wc b { font-size: 13.5px; overflow: visible; }
.irk-land .irk-wg-hz .irk-wg-r .n { font-size: 17px; }
.irk-land .irk-s-home .irk-letters button { height: 46px; font-size: 23px; }

/* учитель в ячейке общего расписания */
.irk-wg-hz .irk-wc { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-content: center; column-gap: 4px; row-gap: 0; text-align: left !important; }
.irk-wg-hz .irk-wc b { grid-column: 1; grid-row: 1; text-align: left; }
.irk-wg-hz .irk-wc span { grid-column: 2; grid-row: 1; text-align: right; }
.irk-wg-hz .irk-wc em { grid-column: 1 / -1; grid-row: 2; font-style: normal; font-size: 11.5px; color: var(--k-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.1; }
.irk-wg-hz .irk-wc em i { font-style: normal; }
.irk-wg-hz .irk-wc em .s { display: none; }
.irk-wg-hz .irk-wc.sub em { color: #BF360C; font-weight: 700; }
.irk-land .irk-s-home .irk-wg-hz .irk-wc { height: 32px; padding: 0 6px; }
.irk-land .irk-s-home .irk-days button { height: 30px; }
.irk-land .irk-wg-hz .irk-wg-h b { padding: 1px 4px; }
.irk-land .irk-s-home .irk-wg-hz .irk-wc b { font-size: 13px; }
.irk-land .irk-s-week .irk-wg-hz .irk-wc, .irk-land .irk-s-attract .irk-wg-hz .irk-wc { height: 32px; }
.irk-port .irk-wg-hz .irk-wc { grid-template-columns: 1fr; padding: 2px 3px; height: 58px; }
.irk-port .irk-wg-hz .irk-wc b, .irk-port .irk-wg-hz .irk-wc span, .irk-port .irk-wg-hz .irk-wc em { grid-column: 1; grid-row: auto; text-align: center; }
.irk-port .irk-wg-hz .irk-wc em .f { display: none; }
.irk-port .irk-wg-hz .irk-wc em .s { display: inline; }
.irk-port .irk-s-week .irk-wg-hz .irk-wc, .irk-port .irk-s-attract .irk-wg-hz .irk-wc { height: 68px; }
.irk-land .irk-at-now { padding-bottom: 70px; }
.irk-land .irk-at-now h2 { font-size: 72px; }
.irk-land .irk-at-now strong { font-size: 136px; }
.irk-land .irk-touch { bottom: 26px; font-size: 20px; padding: 10px 22px; }
.irk-st-b strong { line-height: 1.1; }
.irk-clock b { line-height: 1.1; }
.irk-land .irk-s-home .irk-wg-hz .irk-wc { height: 31px; }

/* правки по проверке «текст помещается» */
.irk-at-now h2 { line-height: 1.15; }
.irk-at-now strong { line-height: 1.12; }
.irk-land .irk-at-cls .irk-cc { height: 70px; }
.irk-land .irk-s-attract .irk-wg-hz .irk-wc { height: 29px; }
.irk-land .irk-bells .irk-row { min-height: 37px; padding-top: 3px; padding-bottom: 3px; }
.irk-land .irk-brkrow { line-height: .9; }
.irk-land .irk-s-tch .irk-row { min-height: 36px; padding-top: 3px; padding-bottom: 3px; }
.irk-land .irk-s-tch .irk-tnow { padding: 8px 16px; margin-bottom: 8px; }
.irk-land .irk-tgrid button { min-height: 86px; }
.irk-land .irk-s-week .irk-days button { height: 40px; }
.irk-land .irk-s-week .irk-pgh { margin-bottom: 8px; }
.irk-land .irk-s-week .irk-wg-hz .irk-wc { height: 28px; }
.irk-port .irk-head { gap: 10px 20px; }
.irk-port .irk-row { grid-template-columns: 40px 104px 1fr 100px; }
.irk-port .irk-row .r { white-space: nowrap; }
.irk-port .irk-s-home .irk-wg-hz .irk-wc { height: 52px; }
.irk-port .irk-letters button { height: 56px; }
.irk-port .irk-tgrid button { min-height: 90px; }
.irk-at-now strong { line-height: 1.2; }
.irk-port .irk-s-home .irk-wg-hz .irk-wc { height: 50px; }
.irk-port .irk-letters button { height: 52px; }
/* заставка «сейчас» на горизонтальной панели: всё помещается в карточку */
.irk-land .irk-at-now { padding: 16px 0 64px; justify-content: center; overflow: hidden; }
.irk-land .irk-at-now .k { font-size: 20px; }
.irk-land .irk-at-now h2 { font-size: 58px; }
.irk-land .irk-at-now p { font-size: 24px; margin-top: 4px; }
.irk-land .irk-at-now strong { font-size: 118px; line-height: 1.1; }
.irk-land .irk-at-now .nx { margin-top: 8px; font-size: 18px; }
.irk-port .irk-at-now { overflow: hidden; }
.irk-wg-hz .irk-wc em { line-height: 1.3; }
.irk-port .irk-hg-h span { display: none; }
.irk-port .irk-hg-h h3 { white-space: nowrap; }
