/* =====================================================================
   IntrasTech - tehnohooldus ja hooldusfirmad. Laeb pärast v3.css-i ja sub.css-i.
   Hoolduskäsiraamat ja tööriistakast: betoonihall paber, terassinine põhitoon, hoiatusvesti laimiroheline ainult märgina
   (täide tumeda tekstiga, tumedal taustal ka tekst). Kandilised nurgad ja peened jooned, pehmeid helendusi ei ole.
   Lehe füüsilised motiivid: paberist tööleht ja hoolduskleebis kuude ringiga.
   ===================================================================== */
html.theme-tech {
  --teal-rgb: 36, 80, 107;
  --hi-rgb: 212, 242, 58;
  --bg-rgb: 240, 239, 234;
  --acc-rgb: 217, 72, 15;
  --bg: #f0efea;
  --white: #fff;
  --ink: #1a2026;
  --ink-2: #454d55;
  --ink-3: #636b73;                /* väike tekst vähemalt 4,5:1 valgel, --bg ja --mint taustal */
  --ink-4: #a6adb3;
  --line: #dcdad2;
  --line-2: #e9e7e0;
  --teal: #24506b;
  --teal-d: #1a3d53;
  --teal-hi: #d4f23a;
  --mint: #e4ecf1;
  --mint-2: #cfdde6;
  --navy: #152027;
  --navy-d: #0e161b;
  --acc: #d9480f;
  --acc-d: #a8370b;                /* tekstina --acc-t taustal vähemalt 4,5:1 */
  --acc-t: #fdeee4;
  --brand: #24506b;
  --av2: #8a6d1a;
  --sig: #d4f23a;                  /* hoiatusvesti laim: ainult täide tumeda tekstiga või tekst tumedal taustal */
  --ok: #1d7a46;                   /* roheline tekst valgel ja --ok-t taustal vähemalt 4,5:1 */
  --ok-t: #e6f1ea;
  --paper: #fffefb;
  --r: 6px;
  --r-lg: 10px;
  --sh-2: 0 1px 0 rgba(26, 32, 38, .05), 0 10px 22px -16px rgba(26, 32, 38, .3);
  --sh-3: 0 1px 0 rgba(26, 32, 38, .06), 0 22px 40px -26px rgba(26, 32, 38, .4);
}
html.theme-tech .h1, html.theme-tech .h2, html.theme-tech .final__title { font-weight: 850; letter-spacing: -.04em; }
html.theme-tech .btn { border-radius: 6px; }
html.theme-tech .label::before, html.theme-tech .eyebrow::before { border-radius: 0; }
html.theme-tech .pbadge { border-radius: 6px; box-shadow: none; }
html.theme-tech .mkit a, html.theme-tech .pnote, html.theme-tech .sfam__a { box-shadow: none; }
html.theme-tech .mkit__ic { border-radius: 4px; background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
html.theme-tech .rooms__st { border-radius: 4px; }
html.theme-tech .rooms__st[data-state="ok"] { background: var(--ok-t); color: var(--ok); }

/* ---------------- avavaade: millimeetripaber, tööleht, hoolduskleebis ---------------- */
.txh::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(26, 32, 38, .055) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(26, 32, 38, .055) 1px, transparent 1px) 0 0 / 24px 24px; -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 88%); mask-image: linear-gradient(180deg, #000 20%, transparent 88%); }
html.theme-tech .sxh__title { font-size: clamp(44px, 5.2vw, 78px); line-height: .98; }
.tx-fields { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.tx-fields li { padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.tx-stage { width: min(100%, 468px); margin: 3% auto 12%; padding-bottom: 5%; }
.tx-sheet { position: relative; z-index: 2; padding: 22px 24px 18px; border: 1px solid rgba(26, 32, 38, .2); border-radius: 3px; background: var(--paper); box-shadow: 10px 10px 0 rgba(26, 32, 38, .08); transform: rotate(-1.2deg); }
.tx-sheet__top { display: flex; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font: 500 12px/1.2 var(--mono); color: var(--ink-3); }
.tx-sheet__top b { margin-right: auto; font: 850 17px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.tx-sheet__meta { margin: 12px 0 0; }
.tx-sheet__meta div { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; padding: 5px 0; }
.tx-sheet__meta dt { font: 500 10px/1.7 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.tx-sheet__meta dd { margin: 0; font-size: 13.5px; font-weight: 750; line-height: 1.35; }
.tx-sheet__chk { margin-top: 10px; padding: 10px 0 6px; border-top: 1px dashed rgba(26, 32, 38, .3); }
.tx-sheet__chk li { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.tx-sheet__chk li::before { content: ''; width: 15px; height: 15px; flex: none; border: 1.5px solid var(--ink); border-radius: 2px; }
.tx-sheet__chk li.on { color: var(--ink); }
.tx-sheet__chk li.on::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4.5 10.5 3.5 3.5 7.5-8' fill='none' stroke='%23d4f23a' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.tx-sheet__chk em { margin-left: auto; font: 500 12px/1 var(--mono); font-style: normal; color: var(--ink); }
.tx-sheet__rows { width: 100%; border-collapse: collapse; border-top: 1px dashed rgba(26, 32, 38, .3); font: 500 12.5px/1.3 var(--mono); }
.tx-sheet__rows td { padding: 7px 0; font-variant-numeric: tabular-nums; }
.tx-sheet__rows td:nth-child(2) { width: 62px; color: var(--ink-3); }
.tx-sheet__rows td:last-child { width: 86px; text-align: right; }
.tx-sheet__rows .is-sum td { padding-top: 9px; border-top: 1px solid var(--ink); font-weight: 500; }
.tx-sheet__rows .is-sum td:first-child { font: 800 13.5px/1.3 var(--font); }
.tx-sheet__rows .is-sum td:last-child { font-size: 14px; background: linear-gradient(transparent 22%, var(--sig) 22% 94%, transparent 94%); }
.tx-sheet__foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 10px; border-top: 2px solid var(--ink); font: 500 10.5px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.tx-sheet__foot b { font: 500 14px/1 var(--mono); letter-spacing: 0; color: var(--ink); }
/* hoolduskleebis: kuude ring, käesolev kuu on augustatud */
.tx-stk { position: absolute; z-index: 3; right: -10%; top: -9%; width: 148px; height: 148px; transform: rotate(9deg); filter: drop-shadow(4px 6px 0 rgba(26, 32, 38, .16)); }
.tx-stk__bg { fill: var(--sig); stroke: var(--ink); stroke-width: 1.5; }
.tx-stk__in { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; }
.tx-stk__hole { fill: var(--bg); stroke: var(--ink); stroke-width: 1.5; }
.tx-stk__m { font: 500 9px var(--mono); fill: var(--ink); text-anchor: middle; }
.tx-stk__k { font: 800 6.6px var(--font); letter-spacing: .09em; fill: var(--ink); text-anchor: middle; }
.tx-stk__d { font: 850 23px var(--font); letter-spacing: -.03em; fill: var(--ink); text-anchor: middle; }
.tx-qr { position: absolute; z-index: 3; left: -11%; bottom: -13%; width: 92px; padding: 7px 7px 6px; border: 1px solid rgba(26, 32, 38, .2); border-radius: 3px; background: #fff; box-shadow: 5px 5px 0 rgba(26, 32, 38, .08); transform: rotate(-5deg); text-align: center; }
.tx-qr__qr { display: block; width: 100%; height: auto; color: var(--ink); }
.tx-qr span { display: block; margin-top: 4px; font: 500 10px/1.2 var(--mono); letter-spacing: .04em; }
.js .sxh__stage.is-in .tx-sheet { animation: txSheet 1s var(--ease) .1s both; }
.js .sxh__stage.is-in .tx-stk { animation: txStk .5s cubic-bezier(.3, 1.5, .5, 1) .95s both; }
.js .sxh__stage.is-in .tx-qr { animation: txQr .7s var(--ease) .7s both; }
@keyframes txSheet { from { opacity: 0; transform: translateY(26px) rotate(-3.5deg); } to { opacity: 1; transform: rotate(-1.2deg); } }
@keyframes txStk { from { opacity: 0; transform: rotate(26deg) scale(1.7); } to { opacity: 1; transform: rotate(9deg); } }
@keyframes txQr { from { opacity: 0; transform: translateY(14px) rotate(-5deg); } to { opacity: 1; transform: rotate(-5deg); } }

/* ---------------- kuus sammu: siin (toru) ja sõlmed ---------------- */
.tx-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.tx-rail li + li { border-left: 1px solid var(--line); }
.tx-rail a { position: relative; height: 100%; display: flex; flex-direction: column; padding: 20px 16px 16px; color: var(--ink); text-decoration: none; transition: background-color .2s; }
.tx-rail a::before { content: ''; position: absolute; left: -1px; top: -6px; width: 10px; height: 10px; background: var(--ink); transition: background-color .2s, transform .3s var(--ease); }
.tx-rail a:hover, .tx-rail a:focus-visible { background: var(--sig); }
.tx-rail a:hover::before { transform: scale(1.5); }
.tx-rail i { font: 500 12px/1 var(--mono); font-style: normal; color: var(--ink-3); }
.tx-rail b { margin-top: 12px; font-size: 19px; font-weight: 860; letter-spacing: -.025em; line-height: 1.15; }
.tx-rail span { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.tx-rail em { margin-top: auto; padding-top: 14px; font: 500 10.5px/1.3 var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.tx-rail a:hover i, .tx-rail a:hover span, .tx-rail a:hover em { color: var(--ink); }

/* ---------------- 01 seadmed ---------------- */
.tdevs { padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.tdevs__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; }
.tdevs__f { display: flex; flex-wrap: wrap; gap: 4px; }
.tdevs__f button { height: 36px; padding: 0 13px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: 13.5px; font-weight: 800; color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.tdevs__f button:hover { border-color: var(--ink); color: var(--ink); }
.tdevs__f button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.tdevs__sum { font: 500 12.5px/1.3 var(--mono); color: var(--ink-2); }
.tdevs__list { margin-top: 12px; border-top: 2px solid var(--ink); }
.tdevs__list li { display: grid; grid-template-columns: 40px minmax(0, 1.7fr) 84px 92px 150px 128px; align-items: center; gap: 14px; padding: 11px 6px; border-bottom: 1px solid var(--line-2); animation: chipIn .35s var(--ease) backwards; transition: background-color .3s; }
.tdevs__list li[hidden] { display: none; }
.tdevs__list li.is-planned { background: linear-gradient(90deg, var(--ok-t), transparent 70%); }
.tdevs__ic { width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 4px; font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--ink); }
.tdevs__n { min-width: 0; }
.tdevs__n b { display: block; overflow-wrap: anywhere; font-size: 14.5px; font-weight: 850; line-height: 1.3; }
.tdevs__n small, .tdevs__int small, .tdevs__due small { display: block; font-size: 12px; font-weight: 650; color: var(--ink-3); }
.tdevs__int small, .tdevs__due small { font: 500 10px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.tdevs__int, .tdevs__due time { font: 500 13.5px/1.3 var(--mono); font-variant-numeric: tabular-nums; }
.tdevs__st { justify-self: start; padding: 4px 9px; border-radius: 3px; background: var(--line-2); color: var(--ink-2); font-style: normal; font-size: 12px; font-weight: 850; white-space: nowrap; }
.tdevs__list li.is-soon .tdevs__st { background: var(--sig); color: var(--ink); }
.tdevs__list li.is-late .tdevs__st { background: var(--acc-d); color: #fff; }
.tdevs__btn { justify-self: end; height: 34px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 4px; background: var(--white); font-size: 13px; font-weight: 800; color: var(--ink); white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s; }
.tdevs__btn:hover { background: var(--ink); color: #fff; }
.tdevs__btn.is-set { border-color: transparent; background: var(--ok-t); color: var(--ok); cursor: default; }

/* ---------------- 02 graafik ---------------- */
.sched { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0; overflow: hidden; border: 1px solid var(--ink); border-radius: var(--r-lg); background: var(--white); }
.sched__q { padding: 18px; background: var(--navy); color: #fff; }
.sched__qh { display: flex; justify-content: space-between; align-items: center; font: 500 11px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.sched__qh span { min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 3px; background: var(--sig); color: var(--navy); font: 800 12px/1 var(--font); letter-spacing: 0; }
.sched__q ul { display: grid; gap: 8px; margin-top: 12px; }
.sched__q li { padding: 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 6px; animation: chipIn .35s var(--ease) backwards; }
.sched__q li[hidden] { display: none; }
.sched__q li em { display: inline-block; padding: 3px 7px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 3px; font: 500 10.5px/1.2 var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.sched__q li em.is-rike { border-color: #ff9a66; color: #ffb48c; }
.sched__q li b { display: block; margin-top: 8px; font-size: 15px; font-weight: 850; line-height: 1.3; }
.sched__q li small { display: block; font-size: 12.5px; font-weight: 650; color: rgba(255, 255, 255, .62); }
.sched__btn { width: 100%; height: 36px; margin-top: 10px; border: 0; border-radius: 4px; background: var(--sig); font-size: 13px; font-weight: 850; color: var(--navy); cursor: pointer; transition: background-color .2s; }
.sched__btn:hover { background: #fff; }
.sched__why { margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .2); font-size: 13.5px; font-weight: 600; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.sched__why b { color: #fff; }
.sched__empty { padding: 10px 0; font-size: 13.5px; font-weight: 700; color: var(--sig); }
.sched__q .again { color: rgba(255, 255, 255, .7); }
.sched__q .again:hover { color: #fff; }
.sched__board { min-width: 0; padding: 10px 4px 4px; }
.sched__scroll { overflow-x: auto; padding: 0 12px 8px; scrollbar-width: thin; }
.sched__row { display: grid; grid-template-columns: 160px repeat(5, minmax(108px, 1fr)); min-width: 700px; }
.sched__row + .sched__row { border-top: 1px solid var(--line-2); }
.sched__row--h { border-bottom: 2px solid var(--ink); }
.sched__row--h > span, .sched__row--h > i { padding: 8px 6px; font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-style: normal; }
.sched__row > span { display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 0; }
.sched__row > span .av { width: 32px; height: 32px; flex: none; border-radius: 4px; font-size: 13px; }
.sched__row > span b { display: block; font-size: 14px; font-weight: 850; }
.sched__row > span small { display: block; font-size: 11.5px; font-weight: 650; line-height: 1.3; color: var(--ink-3); }
.sched__cell { display: grid; align-content: start; gap: 5px; min-height: 88px; padding: 8px 5px; border-left: 1px solid var(--line-2); }
.job { padding: 6px 8px; border-left: 3px solid var(--c); border-radius: 0 3px 3px 0; background: var(--bg); font-size: 12px; font-weight: 750; line-height: 1.3; color: var(--ink); }
.job small { display: block; font: 500 10.5px/1.3 var(--mono); color: var(--ink-3); }
.job--new { animation: jobIn .7s var(--ease) both; background: var(--sig); box-shadow: 0 0 0 1.5px var(--ink); }
@keyframes jobIn { 0% { opacity: 0; transform: translateY(-14px) scale(.9); } 60% { opacity: 1; transform: translateY(2px) scale(1.03); } 100% { transform: none; } }

/* ---------------- 03 tööleht ---------------- */
.ws__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ws__try { margin-top: 26px; padding: 2px 0 2px 14px; border-left: 4px solid var(--sig); box-shadow: -1.5px 0 0 var(--ink); font-size: 15px; font-weight: 750; line-height: 1.5; color: var(--ink); }
.ws { display: grid; grid-template-columns: 262px minmax(0, 1fr); gap: 22px; align-items: center; }
.wp { position: absolute; z-index: 2; inset: .55em; display: flex; flex-direction: column; padding: 3.4em .95em 1em; border-radius: 2.3em; }
.wp__h small { display: block; font: 500 .6em/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.wp__h b { display: block; margin-top: .2em; font-size: 1.04em; font-weight: 900; letter-spacing: -.01em; }
.wp__h span { display: block; font-size: .74em; font-weight: 650; color: var(--ink-3); }
.wp__list { display: grid; gap: .32em; margin-top: .8em; }
.wp__it { width: 100%; display: flex; align-items: center; gap: .6em; padding: .55em .6em; border: 1px solid var(--line); border-radius: .35em; background: #fff; font-size: .76em; font-weight: 750; line-height: 1.25; text-align: left; color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s; }
.wp__it em { width: 1.6em; height: 1.6em; flex: none; margin-left: auto; border: 1.5px solid var(--ink); border-radius: .2em; transition: background-color .2s; }
.wp__it[aria-pressed="true"] { border-color: var(--ink); }
.wp__it[aria-pressed="true"] em { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4.5 10.5 3.5 3.5 7.5-8' fill='none' stroke='%23d4f23a' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 76% no-repeat; }
.wp__part { display: flex; align-items: center; gap: .6em; margin-top: .6em; padding: .6em; border-radius: .35em; background: var(--bg); }
.wp__part b { display: block; font-size: .74em; font-weight: 850; }
.wp__part small { display: block; font-size: .66em; font-weight: 650; color: var(--ink-3); }
.wp__qty { display: flex; align-items: center; gap: .3em; margin-left: auto; }
.wp__qty button { width: 1.9em; height: 1.9em; border: 1px solid var(--ink); border-radius: .3em; background: #fff; font-size: .9em; font-weight: 800; line-height: 1; color: var(--ink); cursor: pointer; }
.wp__qty button[disabled] { opacity: .35; cursor: default; }
.wp__qty output { min-width: 1.4em; text-align: center; font: 500 .9em/1 var(--mono); }
.wp__done { height: 2.7em; margin-top: auto; border: 0; border-radius: .35em; background: var(--teal); color: #fff; font-size: .82em; font-weight: 900; cursor: pointer; }
.wp__done[disabled] { background: var(--ok); cursor: default; }
.wsout { padding: 20px; border: 1px solid rgba(26, 32, 38, .2); border-radius: 3px; background: var(--paper); box-shadow: 8px 8px 0 rgba(26, 32, 38, .07); }
.wsout__h { padding-bottom: 10px; border-bottom: 2px solid var(--ink); font: 850 14px/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; }
.wsout__list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(26, 32, 38, .28); }
.wsout__ic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 3px; font: 500 11.5px/1 var(--mono); color: var(--ink); transition: background-color .3s; }
.wsout__list b { display: block; font-size: 14.5px; font-weight: 850; }
.wsout__list small { display: block; margin-top: 1px; font-size: 13px; font-weight: 650; line-height: 1.45; color: var(--ink-3); }
.wsout__list small b { display: inline; font-size: inherit; color: var(--ink); }
.wsout__list li.is-done { animation: chipIn .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms); }
.wsout__list li.is-done .wsout__ic { background: var(--sig); }
.wsout__list li.is-warn .wsout__ic { border-color: var(--acc-d); background: var(--acc-d); color: #fff; }
.wsout__list li.is-warn small b { color: var(--acc-d); }
.wsout__note { margin-top: 12px; font-size: 13.5px; font-weight: 650; line-height: 1.5; color: var(--ink-2); }
.wsout__note.is-warn { color: var(--acc-d); }
.wsout__note b { color: var(--ink); }

/* ---------------- 04 seadme logi (tume) ---------------- */
.tx-loggrid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 48px); align-items: start; }
.tx-log { overflow: hidden; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-lg); background: rgba(255, 255, 255, .035); }
.tx-log__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 16px; padding: 18px 20px 16px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.tx-log__head small { display: block; font: 500 11px/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--sig); }
.tx-log__head b { display: block; margin-top: 3px; font-size: 20px; font-weight: 860; letter-spacing: -.025em; line-height: 1.2; }
.tx-log__head p > span { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .62); }
.tx-log__st { padding: 5px 9px; border: 1px solid var(--sig); border-radius: 3px; font: 500 11px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--sig); }
.tx-log__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 20px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.tx-log__f { display: flex; flex-wrap: wrap; gap: 4px; }
.tx-log__f button { height: 34px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 4px; background: none; font-size: 13px; font-weight: 800; color: rgba(255, 255, 255, .82); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.tx-log__f button:hover { border-color: #fff; color: #fff; }
.tx-log__f button[aria-pressed="true"] { border-color: var(--sig); background: var(--sig); color: var(--navy); }
.tx-log__q { display: flex; align-items: center; gap: 8px; height: 34px; margin-left: auto; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 4px; color: rgba(255, 255, 255, .7); transition: border-color .2s; }
.tx-log__q:focus-within { border-color: var(--sig); }
.tx-log__q svg { width: 16px; height: 16px; flex: none; }
.tx-log__q input { width: 214px; min-width: 0; border: 0; outline: 0; background: none; font: 600 14px/1 var(--font); color: #fff; }
.tx-log__q input::placeholder { color: rgba(255, 255, 255, .5); }
.tx-log__q input::-webkit-search-cancel-button { filter: invert(1); }
.tx-log__list li { display: grid; grid-template-columns: 96px 78px minmax(0, 1fr) auto; align-items: start; gap: 14px; padding: 13px 20px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.tx-log__list li[hidden] { display: none; }
.tx-log__list time { font: 500 12px/1.5 var(--mono); color: rgba(255, 255, 255, .58); }
.tx-log__list time b { display: block; font-weight: 500; color: #fff; }
.tx-log__list em { justify-self: start; padding: 4px 7px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 3px; font: 500 10.5px/1.2 var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.tx-log__list .is-hooldus em { border-color: var(--sig); background: var(--sig); color: var(--navy); }
.tx-log__list .is-rike em { border-color: #ff9a66; color: #ffb48c; }
.tx-log__t b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.35; }
.tx-log__t small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; line-height: 1.45; color: rgba(255, 255, 255, .62); }
.tx-log__who { font-size: 12.5px; font-weight: 750; color: rgba(255, 255, 255, .72); }
.tx-log__sum { padding: 11px 20px 13px; font: 500 12px/1.3 var(--mono); color: rgba(255, 255, 255, .62); }
/* näitude riba: lubatud vahemik ja näidu asukoht skaalal */
.tx-rng { position: relative; display: block; max-width: 250px; height: 6px; margin-top: 9px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.tx-rng::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 100%); width: calc((var(--b) - var(--a)) * 100%); background: rgba(var(--hi-rgb), .5); }
.tx-rng i { position: absolute; top: -4px; left: calc(var(--v) * 100%); width: 3px; height: 14px; margin-left: -1.5px; background: #fff; }
.tx-log__list .is-rike .tx-rng i { background: #ff9a66; }
.tx-logside__h { font: 500 12.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--sig); }
.tx-logside ul { margin-top: 14px; border-top: 2px solid #fff; }
.tx-logside li { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.tx-logside li b { display: block; margin-bottom: 3px; font-size: 17px; font-weight: 850; letter-spacing: -.02em; line-height: 1.3; color: #fff; }
.tx-logside__cu { margin-top: 20px; padding: 16px 18px; border: 1px dashed rgba(var(--hi-rgb), .6); border-radius: var(--r); font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.tx-logside__cu span { display: block; margin-bottom: 6px; font: 500 11px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--sig); }

/* ---------------- 05 koolitus: pädevused ja e-kursus ---------------- */
.tx-train { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.tx-mx { padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.tx-mx__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.tx-mx__head b { display: block; font-size: 17px; font-weight: 880; letter-spacing: -.02em; }
.tx-mx__head small { display: block; font-size: 13px; font-weight: 650; color: var(--ink-3); }
/* position: relative: lahtrite ekraanilugeja tekst (.sr-only, absoluutne) jääb kerimisala sisse ega venita lehte laiemaks */
.tx-mx__scroll { position: relative; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; }
.tx-mx__t { width: 100%; min-width: 560px; border-collapse: collapse; border-top: 2px solid var(--ink); }
.tx-mx__t thead th { padding: 9px 6px; text-align: left; font: 500 10.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.tx-mx__t tbody th { padding: 10px 6px 10px 0; text-align: left; border-top: 1px solid var(--line-2); }
.tx-mx__t tbody th b { display: block; font-size: 14.5px; font-weight: 850; }
.tx-mx__t tbody th small { display: block; font-size: 12px; font-weight: 650; color: var(--ink-3); }
.tx-mx__t td { padding: 8px 6px; border-top: 1px solid var(--line-2); }
.tx-cell { display: inline-flex; align-items: center; height: 30px; padding: 0 9px; border: 1.5px solid transparent; border-radius: 3px; font: 800 12px/1 var(--font); white-space: nowrap; }
.tx-cell--ok { background: var(--ok-t); color: var(--ok); }
.tx-cell--none { width: 20px; height: 2px; padding: 0; border: 0; background: var(--ink-4); }
.tx-cell--course { border: 1.5px dashed var(--teal); color: var(--teal); }
button.tx-cell--soon { border-color: var(--ink); background: var(--sig); color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s; }
button.tx-cell--soon:hover { background: var(--ink); color: var(--sig); }
.tx-cell.is-new { animation: blkFix .7s var(--ease); }
.tx-mx__note { margin-top: 12px; padding: 2px 0 2px 14px; border-left: 4px solid var(--sig); box-shadow: -1.5px 0 0 var(--ink); font-size: 13.5px; font-weight: 650; line-height: 1.5; color: var(--ink-2); }
.tx-mx__note b { color: var(--ink); }
.tx-quiz { padding: 20px; border: 1px solid rgba(26, 32, 38, .2); border-radius: 3px; background: var(--paper); box-shadow: 8px 8px 0 rgba(26, 32, 38, .07); }
.tx-quiz__top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font: 500 11px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.tx-quiz__top em { font-style: normal; color: var(--ink); }
.tx-quiz__who { margin-top: 12px; }
.tx-quiz__who b { display: block; font-size: 15px; font-weight: 850; }
.tx-quiz__who small { display: block; font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
.tx-quiz__q { margin: 16px 0 12px; font-size: 21px; font-weight: 860; letter-spacing: -.025em; line-height: 1.2; }
.tx-quiz__opts { display: grid; gap: 8px; }
.tx-quiz__opts button { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; text-align: left; font-size: 14.5px; font-weight: 650; line-height: 1.4; color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s, opacity .2s; }
.tx-quiz__opts button:hover { border-color: var(--ink); }
.tx-quiz__opts i { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 3px; font: 500 12px/1 var(--mono); font-style: normal; transition: background-color .2s, color .2s, border-color .2s; }
.tx-quiz__opts button.is-ok { border-color: var(--ok); background: var(--ok-t); }
.tx-quiz__opts button.is-ok i { border-color: var(--ok); background: var(--ok); color: #fff; }
.tx-quiz__opts button.is-no { border-color: var(--acc-d); background: var(--acc-t); }
.tx-quiz__opts button.is-no i { border-color: var(--acc-d); background: var(--acc-d); color: #fff; }
.tx-quiz__opts button[disabled] { cursor: default; }
.tx-quiz__opts button[disabled]:not(.is-ok) { opacity: .5; }
.tx-quiz__fb { margin-top: 12px; font-size: 14px; font-weight: 650; line-height: 1.5; color: var(--ink-2); }
.tx-quiz__fb.is-ok { color: var(--ok); }
.tx-quiz__fb.is-no { color: var(--acc-d); }
.tx-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 34px; border-top: 2px solid var(--ink); }
.tx-facts li { padding: 18px 22px 0 0; }
.tx-facts li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.tx-facts small { display: block; font: 500 10.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.tx-facts b { display: block; margin-top: 10px; font-size: 17px; font-weight: 860; letter-spacing: -.02em; line-height: 1.25; }
.tx-facts p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

/* ---------------- 06 eritellimus komplekti all ---------------- */
.tx-custom { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr) auto; align-items: center; gap: 16px 34px; margin-top: 16px; padding: 22px 26px; border: 1.5px dashed var(--ink-4); border-radius: var(--r-lg); }
.tx-custom__h b { display: block; font-size: 20px; font-weight: 870; letter-spacing: -.025em; }
.tx-custom__h span { display: block; margin-top: 5px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.tx-custom ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.tx-custom li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.tx-custom li::before { content: '+'; width: 18px; height: 18px; flex: none; display: grid; place-items: center; margin-top: 1px; border-radius: 2px; background: var(--sig); font: 800 13px/1 var(--font); color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.tx-custom .link-arrow { color: var(--teal); white-space: nowrap; }

/* ---------------- kohandumine ---------------- */
@media (max-width: 1180px) {
  .tdevs__list li { grid-template-columns: 40px minmax(0, 1fr) 92px 128px; }
  .tdevs__int, .tdevs__st { display: none; }
  .sched { grid-template-columns: minmax(0, 1fr); }
  .sched__q ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tx-custom { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1060px) {
  .ws__grid, .tx-loggrid, .tx-train { grid-template-columns: minmax(0, 1fr); }
  .tx-stage { width: min(100%, 430px); margin-top: 40px; }
  .tx-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tx-rail li:nth-child(n+4) { border-top: 2px solid var(--ink); }
  .tx-rail li:nth-child(4) { border-left: 0; }
  .tx-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tx-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .tx-facts li:nth-child(n+3) { margin-top: 22px; border-top: 2px solid var(--ink); }
}
@media (max-width: 760px) {
  .ws { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .wsout { width: 100%; }
  .sched__q ul { grid-template-columns: minmax(0, 1fr); }
  .tx-log__q { width: 100%; margin-left: 0; }
  .tx-log__q input { width: 100%; }
}
@media (max-width: 640px) {
  .tx-stage { width: 84%; margin: 44px auto 12%; }
  .tx-sheet { padding: 16px 16px 14px; }
  .tx-sheet__top b { font-size: 15px; }
  .tx-sheet__top span:last-child { display: none; }
  .tx-sheet__top { padding-right: 64px; }
  .tx-stk { width: 104px; height: 104px; right: -8%; top: -11%; }
  .tx-qr { width: 66px; left: -7%; padding: 5px; }
  .tx-qr span { display: none; }
  .tx-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tx-rail li:nth-child(n+3) { border-top: 2px solid var(--ink); }
  .tx-rail li:nth-child(odd) { border-left: 0; }
  .tx-rail li:nth-child(4) { border-left: 1px solid var(--line); }
  .tx-rail a { padding: 18px 12px 14px; }
  .tx-rail b { font-size: 17px; }
  .tdevs { padding: 12px; }
  .tdevs__list li { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 4px 10px; }
  .tdevs__ic { width: 36px; height: 36px; grid-row: span 2; }
  .tdevs__due { grid-column: 3; grid-row: 1; text-align: right; }
  .tdevs__due small { display: none; }
  .tdevs__btn { grid-column: 2 / -1; justify-self: start; }
  .tx-log__head, .tx-log__bar, .tx-log__list li, .tx-log__sum { padding-left: 14px; padding-right: 14px; }
  .tx-log__list li { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 10px; }
  .tx-log__list time { grid-column: 1 / 3; }
  .tx-log__list time b { display: inline; margin-right: 8px; }
  .tx-log__list em { grid-column: 3; grid-row: 1; }
  .tx-log__t { grid-column: 1 / -1; }
  .tx-log__who { grid-column: 1 / -1; }
  .tx-mx { padding: 14px; }
  .tx-quiz { padding: 16px; }
  .tx-facts { grid-template-columns: minmax(0, 1fr); }
  .tx-facts li, .tx-facts li + li { margin-top: 0; padding: 16px 0; border-left: 0; border-top: 1px solid var(--line); }
  .tx-facts li:first-child { border-top: 0; }
  .tx-facts li:nth-child(n+3) { margin-top: 0; border-top: 1px solid var(--line); }
  .tx-custom { padding: 18px 16px; }
  .tx-custom ul { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .js .sxh__stage.is-in .tx-sheet, .js .sxh__stage.is-in .tx-stk, .js .sxh__stage.is-in .tx-qr { animation: none; }
}
