/* ==========================================================
   HARDYTECH — Pagina Tekto · estetica "tavola tecnica"
   navy di cantiere + arancio di sicurezza, griglia blueprint
   ========================================================== */

/* ---------- Hero blueprint ---------- */
.tk-hero { background: radial-gradient(110% 120% at 85% -10%, #1B4A78 0%, #10304F 46%, #0A2038 100%); }
.tk-hero .phero__fade { background: linear-gradient(transparent, #0A2038); }
.tk-blueprint, .tk-control__bg { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(150, 195, 235, 0.11) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 195, 235, 0.11) 1px, transparent 1px),
    linear-gradient(rgba(150, 195, 235, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 195, 235, 0.045) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 70% 40%, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse 90% 90% at 70% 40%, #000 30%, transparent 85%); }
.tk-lockup__ic { background: #143A60; }
.tk-hv { min-height: 660px; display: grid; place-items: center end; padding-right: 24px; }
.tk-phone.dev-phone { width: 292px; max-width: 292px; }

/* telefono: app di chi lavora in cantiere */
.tk-m { display: flex; flex-direction: column; padding: 38px 12px 0; background: #F3F5F8; color: var(--ink); font-size: 12px; line-height: 1.35; }
.tk-m__top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.tk-m__top img { height: 20px; width: auto; border-radius: 4px; }
.tk-m__top > span { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--muted); }
.tk-m__hello { margin-top: 12px; padding: 0 4px; }
.tk-m__hello small { display: block; color: var(--muted); font-size: 11px; }
.tk-m__hello b { font-size: 18px; letter-spacing: -0.02em; }
.tk-m__card { margin-top: 10px; background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 6px 20px rgba(12, 30, 51, 0.08); }
.tk-m__site { display: flex; align-items: center; gap: 9px; }
.tk-m__pin { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--p-soft); color: var(--p-2); flex-shrink: 0; }
.tk-m__pin .ic { width: 15px; height: 15px; }
.tk-m__site b { display: block; font-size: 12.5px; }
.tk-m__site small { display: block; font-size: 10.5px; color: var(--muted); }
.tk-m__map { margin-top: 9px; height: 150px; border-radius: 12px; overflow: hidden; }
.tk-m__map svg { display: block; width: 100%; height: 100%; }
.tk-geo { animation: tkDash 14s linear infinite; }
.tk-worker__pulse { transform-box: fill-box; transform-origin: center; animation: tkPulse 1.8s ease-out infinite; }
@keyframes tkPulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes tkDash { to { stroke-dashoffset: -160; } }
.tk-m__status { margin-top: 9px; display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; color: var(--muted); transition: color .3s ease; }
.tk-m__status i { width: 8px; height: 8px; border-radius: 50%; background: #94A3B8; flex-shrink: 0; transition: background .3s ease, box-shadow .3s ease; }
.tk-m__status-in { display: none; }
.is-in .tk-m__status { color: #15803D; }
.is-in .tk-m__status i { background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.is-in .tk-m__status-out { display: none; }
.is-in .tk-m__status-in { display: inline; }
.tk-m__btn { margin-top: 9px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #CBD5E1; color: #fff; font-weight: 800; font-size: 13px; transition: background .4s ease, box-shadow .4s ease; }
.is-in .tk-m__btn { background: linear-gradient(135deg, var(--p), var(--p-2)); box-shadow: 0 8px 18px var(--p-glow); }
.tk-m__btn-b { display: none; align-items: center; gap: 6px; }
.tk-m__btn-b .ic { width: 15px; height: 15px; stroke-width: 3; }
.is-done .tk-m__btn { background: #16A34A; box-shadow: 0 8px 18px rgba(22, 163, 74, 0.3); }
.is-done .tk-m__btn-a { display: none; }
.is-done .tk-m__btn-b { display: inline-flex; }
.tk-m__week { margin-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; background: #fff; border-radius: 16px; padding: 10px 12px; }
.tk-m__week small { display: block; font-size: 10.5px; color: var(--muted); }
.tk-m__week b { font-size: 14px; }
.tk-m__bars { display: flex; align-items: flex-end; gap: 4px; height: 30px; }
.tk-m__bars i { width: 8px; border-radius: 3px 3px 0 0; background: #143A60; }
.tk-m__bars i:nth-child(4) { background: var(--p); }
.tk-m__nav { margin: auto -12px 0; display: flex; justify-content: space-around; padding: 9px 0 16px; background: #fff; border-top: 1px solid #E5E9EF; font-size: 10px; font-weight: 600; color: #94A3B8; }
.tk-m__nav > span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tk-m__nav .ic { width: 17px; height: 17px; }
.tk-m__nav .on { color: #143A60; }

/* annotazioni tecniche e card */
.tk-anno { position: absolute; z-index: 4; width: 210px; display: flex; align-items: flex-start; gap: 10px; font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; line-height: 1.5; text-transform: uppercase; color: #A9C7E6; }
.tk-anno b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--p); color: var(--p); font-size: 0.7rem; flex-shrink: 0; background: #0E2A47; }
.tk-anno { --lw: calc(var(--hv-w, 620px) - 316px - 210px - 16px); }
.tk-anno::after { content: ""; position: absolute; top: 11px; width: var(--lw); height: 1px; background: repeating-linear-gradient(90deg, rgba(169, 199, 230, 0.75) 0 6px, transparent 6px 10px); }
.tk-anno::before { content: ""; position: absolute; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--p); }
.tk-anno--a { left: 0; top: 35%; }
.tk-anno--a::after, .tk-anno--c::after { left: calc(100% + 6px); } .tk-anno--a::before, .tk-anno--c::before { left: calc(100% + 6px + var(--lw)); }
.tk-anno--c { left: 0; top: 62.5%; }
.tk-anno--b { left: 0; top: 51%; }
.tk-anno--b::after { left: calc(100% + 6px); } .tk-anno--b::before { left: calc(100% + 6px + var(--lw)); }
.tk-float { position: absolute; z-index: 5; display: flex; align-items: center; gap: 11px; padding: 11px 15px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); font-size: 0.84rem; line-height: 1.3; }
.tk-float b { display: block; } .tk-float small { display: block; color: var(--muted); font-size: 0.74rem; }
.tk-float__ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(34, 197, 94, 0.14); color: #16A34A; }
.tk-float__ic .ic { width: 16px; height: 16px; stroke-width: 3; }
.tk-float__av { display: flex; }
.tk-float__av i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 0.66rem; font-weight: 800; color: #fff; border: 2px solid #fff; margin-left: -8px; background: #143A60; }
.tk-float__av i:first-child { margin-left: 0; background: var(--p); } .tk-float__av i:last-child { background: #16A34A; }
.tk-float--ok { right: 0; top: 8%; }
.tk-float--team { left: 16%; bottom: 7%; }
.tk-cartiglio { position: absolute; right: clamp(20px, 3vw, 40px); bottom: 26px; z-index: 2; display: grid; grid-template-columns: auto auto; border: 1px solid rgba(169, 199, 230, 0.35); font-family: var(--mono); color: #A9C7E6; background: rgba(10, 32, 56, 0.6); }
.tk-cartiglio > span { padding: 8px 14px; }
.tk-cartiglio b { display: block; font-size: 0.72rem; letter-spacing: 0.12em; color: #fff; }
.tk-cartiglio small { display: block; font-size: 0.62rem; letter-spacing: 0.08em; }
.tk-cartiglio__b { border-left: 1px solid rgba(169, 199, 230, 0.35); }
.tk-cartiglio__c { grid-column: 1 / -1; border-top: 1px solid rgba(169, 199, 230, 0.35); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Carta millimetrata ---------- */
.tk-paper { position: relative; background: #F7F5F1; }
.tk-paper::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(20, 58, 96, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 58, 96, 0.05) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.tk-paper--alt { background: #FBFAF7; }
.tk-paper .container { position: relative; }
.tk-tav { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--p-2); }
.tk-tav::before { content: ""; width: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--p) 0 6px, transparent 6px 9px); }
.tk-tav--light { color: var(--p-3); }
.section-head--center .tk-tav { justify-content: center; }
.tk-note { margin-top: 12px; text-align: center; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: #9A8F7E; }
.tk-note--light { color: #6F8BA8; }
.tk-live { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 700; color: #15803D; }
.tk-live i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; animation: pulse 2.6s infinite; }

/* ---------- Split con mockup ---------- */
.tk-split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 5vw, 84px); align-items: center; }
.tk-split--rev .tk-split__copy { order: 2; }
.tk-split__copy h2 { margin-top: 18px; font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.04; letter-spacing: -0.045em; font-weight: 800; text-wrap: balance; }
.tk-split__copy > p { margin-top: 18px; color: var(--muted); font-size: 1.08rem; line-height: 1.62; }
.tk-list { margin-top: 22px; display: grid; gap: 12px; }
.tk-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: 1rem; }
.tk-list .ic { width: 20px; height: 20px; color: var(--p); margin-top: 2px; }
.tk-list b { color: var(--ink); }

.tk-geomap { overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid #E9E3D8; box-shadow: var(--sh-lg); }
.tk-geomap__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #EEE9E0; }
.tk-geomap__head b { font-size: 0.98rem; }
.tk-geomap__map svg { display: block; width: 100%; height: auto; }
.tk-geomap__ring { animation: tkDash 16s linear infinite; }
.tk-geomap__log { display: grid; gap: 8px; padding: 14px 18px 18px; }
.tk-geomap__log span { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--muted); }
.tk-geomap__log i { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex-shrink: 0; }
.tk-geomap__log .ic { width: 14px; height: 14px; stroke-width: 3; }
.tk-geomap__log .ok i { background: rgba(34, 197, 94, 0.14); color: #16A34A; }
.tk-geomap__log .no i { background: rgba(239, 68, 68, 0.12); color: #DC2626; }
.tk-geomap__log b { color: var(--ink); }
.tk-geomap__log em { margin-left: auto; font-style: normal; font-size: 0.74rem; font-weight: 700; }
.tk-geomap__log .ok em { color: #15803D; } .tk-geomap__log .no em { color: #DC2626; }

/* ---------- Centrale di controllo ---------- */
.tk-control { position: relative; overflow: hidden; background: #0A2038; color: #fff; }
.tk-control__bg { -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 80%); }
.tk-control .container-wide { position: relative; }
.tk-control .section-head h2 { color: #fff; }
.tk-control .section-head p { color: #A9BCD2; }
.tk-cr { margin-top: 52px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.tk-cr__tabs { display: flex; flex-direction: column; gap: 8px; }
.tk-cr__tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-radius: 16px; text-align: left; cursor: pointer;
  font: inherit; color: #C9D6E7; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); transition: background .3s ease, border-color .3s ease, color .3s ease; }
.tk-cr__tab:hover { background: rgba(255, 255, 255, 0.06); }
.tk-cr__tab[aria-selected="true"] { background: rgba(232, 145, 47, 0.12); border-color: rgba(232, 145, 47, 0.45); color: #fff; }
.tk-cr__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: rgba(255, 255, 255, 0.06); color: #A9C7E6; transition: background .3s ease, color .3s ease; }
.tk-cr__ic .ic { width: 18px; height: 18px; }
.tk-cr__tab[aria-selected="true"] .tk-cr__ic { background: var(--p); color: #fff; }
.tk-cr__tab b { display: block; font-size: 0.95rem; letter-spacing: -0.01em; }
.tk-cr__tab small { display: block; margin-top: 1px; font-size: 0.78rem; color: #8FA6BF; }
.tk-cr__prog { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--p); transform: scaleX(0); transform-origin: left; }
.tk-browser { container-type: inline-size; box-shadow: 0 50px 100px rgba(0, 0, 0, 0.45); border-color: rgba(255, 255, 255, 0.1); }

/* mock dell'app ufficio (scala con la larghezza della finestra) */
.tk-app { display: grid; grid-template-columns: 11.5em minmax(0, 1fr); min-height: 38em; background: #F4F6F9; color: var(--ink); font-size: clamp(8.5px, 1.48cqw, 13px); line-height: 1.35; }
.tk-side { display: flex; flex-direction: column; gap: 0.3em; padding: 1.2em 0.8em; background: linear-gradient(180deg, #143A60, #0F2E4E); color: #A9C1DA; }
.tk-side img { height: 2.1em; width: auto; align-self: flex-start; margin: 0 0 1.2em 0.4em; border-radius: 0.3em; }
.tk-side > span { display: flex; align-items: center; gap: 0.7em; padding: 0.65em 0.8em; border-radius: 0.7em; font-weight: 600; transition: background .3s ease, color .3s ease; }
.tk-side .ic { width: 1.25em; height: 1.25em; }
.tk-side > span.on { background: rgba(232, 145, 47, 0.16); color: #fff; }
.tk-side > span.on .ic { color: var(--p); }
.tk-side .tk-side__user { margin-top: auto; font-size: 0.9em; }
.tk-side__user i { width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 0.8em; color: #fff; background: var(--p); }
.tk-main { position: relative; padding: 1.4em 1.6em; overflow: hidden; }
.tk-panel { display: none; }
.tk-panel.is-on { display: block; }
.tk-ph { display: flex; align-items: flex-start; justify-content: space-between; gap: 1em; margin-bottom: 1.1em; }
.tk-ph > span > b { display: block; font-size: 1.45em; letter-spacing: -0.03em; }
.tk-ph > span > small { display: block; color: var(--muted); font-size: 0.95em; }
.tk-btn { padding: 0.6em 1em; border-radius: 0.7em; background: #143A60; color: #fff; font-weight: 700; font-size: 0.92em; white-space: nowrap; }
.tk-pill { padding: 0.45em 0.9em; border-radius: 99px; background: rgba(34, 197, 94, 0.14); color: #15803D; font-weight: 800; font-size: 0.9em; white-space: nowrap; }
.tk-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8em; margin-bottom: 1em; }
.tk-kpis > span { padding: 0.8em 1em; border-radius: 0.9em; background: #fff; border: 1px solid #E6EAF0; }
.tk-kpis small { display: block; color: var(--muted); font-size: 0.85em; }
.tk-kpis b { font-size: 1.6em; letter-spacing: -0.03em; }
.tk-kpis .warn b { color: #D97706; }
.tk-table { display: block; overflow: hidden; background: #fff; border-radius: 0.9em; border: 1px solid #E6EAF0; }
.tk-tr { display: grid; grid-template-columns: 1.5fr 1.2fr 0.7fr 0.9fr; align-items: center; gap: 0.8em; padding: 0.7em 1em; border-top: 1px solid #EEF1F5; }
.tk-th { border-top: 0; background: #F8FAFC; font-size: 0.8em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #7C8CA1; }
.tk-who { display: flex; align-items: center; gap: 0.6em; font-weight: 600; white-space: nowrap; }
.tk-who i { width: 2.1em; height: 2.1em; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-style: normal; font-weight: 800; font-size: 0.78em; color: #fff; background: var(--c); }
.tk-mono { font-family: var(--mono); font-weight: 600; }
.tk-tr em { font-style: normal; font-weight: 700; font-size: 0.85em; padding: 0.3em 0.7em; border-radius: 99px; white-space: nowrap; }
.tk-tr em.ok { background: rgba(34, 197, 94, 0.14); color: #15803D; }
.tk-tr em.pause { background: rgba(59, 130, 246, 0.12); color: #1D4ED8; }
.tk-tr em.warn { background: rgba(245, 158, 11, 0.16); color: #B45309; }
.tk-t-stock .tk-tr { grid-template-columns: 2fr 1fr 0.9fr; }
.tk-t-leave .tk-tr { grid-template-columns: 1.7fr 1fr 1fr; }
.tk-two { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1em; align-items: start; }
.tk-moves, .tk-req, .tk-photos { display: flex; flex-direction: column; gap: 0.65em; padding: 1em; background: #fff; border-radius: 0.9em; border: 1px solid #E6EAF0; }
.tk-moves > b, .tk-req > b, .tk-photos > b { font-size: 1.02em; }
.tk-moves > span { display: flex; align-items: flex-start; gap: 0.7em; font-size: 0.92em; color: var(--muted); }
.tk-moves i { width: 1.9em; height: 1.9em; border-radius: 0.6em; display: grid; place-items: center; flex-shrink: 0; font-style: normal; font-weight: 800; }
.tk-moves .out i { background: var(--p-soft); color: var(--p-2); }
.tk-moves .in i { background: rgba(34, 197, 94, 0.14); color: #15803D; }
.tk-moves b { color: var(--ink); }
.tk-moves small { display: block; font-size: 0.85em; color: #94A3B8; }
.tk-week { overflow: hidden; background: #fff; border-radius: 0.9em; border: 1px solid #E6EAF0; }
.tk-wr { display: grid; grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr)); border-top: 1px solid #EEF1F5; }
.tk-wr > span { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 0.3em; min-height: 4.6em; padding: 0.7em 0.6em; border-left: 1px solid #EEF1F5; }
.tk-wr > span:first-child { border-left: 0; }
.tk-wh { border-top: 0; background: #F8FAFC; }
.tk-wh > span { min-height: 0; font-size: 0.8em; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #7C8CA1; }
.tk-wr .today { background: rgba(232, 145, 47, 0.06); }
.tk-wh .today { color: var(--p-2); }
.tk-site { align-items: center !important; font-size: 0.92em; font-weight: 700; }
.tk-site i { width: 0.75em; height: 0.75em; border-radius: 3px; background: var(--c); margin-right: 0.3em; }
.tk-wr em { padding: 0.3em 0.5em; border-radius: 0.5em; font-style: normal; font-size: 0.75em; font-weight: 800; background: #EEF2F7; color: #143A60; }
.tk-wr em.task { background: var(--p-soft); color: var(--p-2); }
.tk-hint { margin-top: 0.9em; display: flex; align-items: center; gap: 0.6em; font-size: 0.9em; color: var(--muted); }
.tk-hint .ic { width: 1.2em; height: 1.2em; color: var(--p); }
.tk-cost { display: grid; grid-template-columns: 12.5em minmax(0, 1fr); gap: 1.6em; align-items: center; padding: 1.2em 1.4em; background: #fff; border-radius: 0.9em; border: 1px solid #E6EAF0; }
.tk-gauge { position: relative; width: 12em; height: 12em; }
.tk-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tk-gauge circle { fill: none; stroke: #EEF1F5; stroke-width: 12; }
.tk-gauge .arc { stroke: var(--p); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 30; }
.tk-gauge > span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.tk-gauge b { font-size: 1.5em; letter-spacing: -0.03em; }
.tk-gauge small { font-size: 0.85em; color: var(--muted); }
.tk-areas { display: grid; gap: 0.95em; }
.tk-area { display: grid; grid-template-columns: 9em minmax(0, 1fr) 3em; align-items: center; gap: 0.8em; }
.tk-area b { display: block; font-size: 0.98em; }
.tk-area small { font-size: 0.82em; color: var(--muted); }
.tk-area i { position: relative; height: 0.75em; border-radius: 99px; background: #EEF1F5; overflow: hidden; }
.tk-area i::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #143A60, #2E6DA8); }
.tk-area.warn i::after { background: linear-gradient(90deg, var(--p), #F59E0B); }
.tk-area em { font-style: normal; font-family: var(--mono); font-weight: 700; font-size: 0.9em; text-align: right; }
.tk-area.warn em { color: #B45309; }
.tk-split-cost { margin-top: 0.9em; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6em 1.4em; font-size: 0.92em; color: var(--muted); }
.tk-split-cost i { display: inline-block; width: 0.8em; height: 0.8em; border-radius: 3px; margin-right: 0.4em; }
.tk-split-cost .lab { background: #143A60; } .tk-split-cost .mat { background: var(--p); }
.tk-split-cost b { color: var(--ink); }
.tk-hint-inline { margin-left: auto; font-size: 0.88em; color: #94A3B8; }
.tk-files { display: grid; gap: 0.5em; }
.tk-files > span { display: grid; grid-template-columns: 2.8em minmax(0, 1fr) auto; align-items: center; gap: 0.8em; padding: 0.6em 0.8em; background: #fff; border: 1px solid #E6EAF0; border-radius: 0.8em; }
.tk-files i { padding: 0.6em 0; border-radius: 0.5em; text-align: center; font-style: normal; font-size: 0.7em; font-weight: 800; }
.tk-files i.pdf { background: #FEE2E2; color: #B91C1C; } .tk-files i.xls { background: #DCFCE7; color: #15803D; }
.tk-files b { font-size: 0.95em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-files small { font-size: 0.82em; color: var(--muted); white-space: nowrap; }
.tk-files .warn small { color: #B45309; font-weight: 700; }
.tk-files .new { border-color: rgba(232, 145, 47, 0.5); background: #FFFBF5; }
.tk-files .new small { color: var(--p-2); font-weight: 700; }
.tk-photos__g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.45em; }
.tk-photos__g i { aspect-ratio: 4 / 3; border-radius: 0.5em; background: linear-gradient(180deg, #BFD6EA 0 45%, #9AA7B4 45% 100%); }
.tk-photos__g i:nth-child(2) { background: linear-gradient(180deg, #CFE0EE 0 38%, #C98A5A 38% 72%, #8E9AA6 72%); }
.tk-photos__g i:nth-child(3) { background: linear-gradient(160deg, #A8B4BF 0 50%, #7E8B97 50%); }
.tk-photos__g i:nth-child(4) { background: linear-gradient(180deg, #D7E4EF 0 30%, #E8912F 30% 42%, #B7C0C8 42%); }
.tk-photos__g i:nth-child(5) { background: linear-gradient(180deg, #C4D7E8 0 55%, #A0714C 55%); }
.tk-photos__g i:nth-child(6) { background: linear-gradient(135deg, #8894A0 0 40%, #C9D2DA 40%); }
.tk-photos > small { font-size: 0.82em; color: var(--muted); }
.tk-req__c { display: flex; flex-direction: column; gap: 0.6em; padding: 0.8em; border-radius: 0.8em; background: #F8FAFC; }
.tk-req__c b { font-size: 0.95em; }
.tk-req__c small { display: block; color: var(--muted); font-size: 0.85em; }
.tk-req__a { display: flex; gap: 0.5em; }
.tk-req__a em { padding: 0.45em 0.9em; border-radius: 0.6em; font-style: normal; font-weight: 700; font-size: 0.85em; }
.tk-req__a .no { background: #fff; border: 1px solid #E2E8F0; color: var(--muted); }
.tk-req__a .yes { background: #16A34A; color: #fff; }

@container (max-width: 640px) {
  .tk-app { grid-template-columns: minmax(0, 1fr); font-size: 10px; min-height: 0; }
  .tk-side { display: none; }
  .tk-main { padding: 1.2em; }
  .tk-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tk-two, .tk-cost { grid-template-columns: minmax(0, 1fr); }
  .tk-gauge { margin: 0 auto; }
  .tk-t-pres .tk-tr { grid-template-columns: 1.5fr 1.1fr 0.9fr; }
  .tk-t-pres .tk-tr > :nth-child(3) { display: none; }
  .tk-wr { grid-template-columns: 1.1fr repeat(5, minmax(0, 1fr)); }
  .tk-wr > span { padding: 0.5em 0.35em; }
  .tk-hint-inline { margin-left: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) { .tk-cartiglio { display: none; } }
@media (max-width: 1200px) { .tk-anno { display: none; } .tk-hv { place-items: center; padding-right: 0; } .tk-float--team { left: 2%; } }
@media (max-width: 1024px) {
  .tk-hv { min-height: 0; padding: 20px 0; }
  .tk-split { grid-template-columns: 1fr; }
  .tk-split--rev .tk-split__copy { order: 0; }
  .tk-cr { grid-template-columns: 1fr; }
  .tk-cr__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 0 4px 4px; }
  .tk-cr__tabs::-webkit-scrollbar { display: none; }
  .tk-cr__tab { flex-shrink: 0; padding: 10px 14px; }
  .tk-cr__tab small { display: none; }
}
@media (max-width: 720px) {
  .tk-anno { display: none; }
  .tk-phone.dev-phone { width: 262px; }
  .tk-float { font-size: 0.78rem; padding: 9px 12px; }
  .tk-float--ok { right: 0; top: 4%; }
  .tk-float--team { left: 0; bottom: 4%; }
}

/* ==========================================================
   L'APP TEKTO — TAV. 03: telefono e iPad in cantiere
   schermate ricostruite dall'app nativa (colori e testi reali,
   dati dimostrativi): scalano con la cornice del dispositivo.
   ========================================================== */
.tk-napp { background: #0A2038; }
.tk-napp .napp-sec__glow { opacity: 0.5; }
.tk-napp .napp__stage { background-color: rgba(14, 42, 71, 0.55); border-color: rgba(169, 199, 230, 0.22);
  background-image: linear-gradient(rgba(150, 195, 235, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 195, 235, 0.07) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px; }
.tk-napp .napp__ic { border-radius: 50%; background: #0E2A47; border: 1.5px solid var(--p); color: var(--p); font-size: 0.82rem; }
.tk-napp .napp__tab[aria-selected="true"] { background: rgba(232, 145, 47, 0.12); border-color: rgba(232, 145, 47, 0.45); }
.tk-napp .napp__tab[aria-selected="true"] .napp__ic { background: var(--p); color: #fff; }
.tk-napp .napp__how { background: rgba(10, 32, 56, 0.82); border-color: rgba(169, 199, 230, 0.2); }
.tk-as-tav { position: absolute; right: 16px; top: 16px; z-index: 4; display: grid; border: 1px solid rgba(169, 199, 230, 0.35); background: rgba(10, 32, 56, 0.6); font-family: var(--mono); color: #A9C7E6; pointer-events: none; }
.tk-as-tav b { padding: 6px 12px 0; font-size: 0.66rem; letter-spacing: 0.12em; color: #fff; }
.tk-as-tav small { padding: 0 12px 6px; font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* riquadri informativi intorno ai dispositivi (due stati sovrapposti dove serve) */
.tk-as-pos { position: absolute; z-index: 5; display: grid; }
.tk-as-pos > .tk-float { position: relative; grid-area: 1 / 1; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); }
.tk-as-pos--tl { left: 5%; top: 16%; }
.tk-as-pos--tr { right: 5%; top: 16%; }
.tk-as-pos--bl { left: 5%; bottom: 9%; }
.tk-as-pos--br { right: 5%; bottom: 9%; }
.tk-float__ic--o { background: var(--p-soft); color: var(--p-2); }
.tk-float__ic--warn { background: #FEF3C7; color: #B45309; }
.tk-float__ic--o .ic, .tk-float__ic--warn .ic { stroke-width: 2.4; }
.tk-as-st--b { opacity: 0; transform: translateY(8px); }
.is-flipped .tk-as-st--a { opacity: 0; transform: translateY(-8px); transition: opacity .4s ease, transform .5s var(--ease); }
.is-flipped .tk-as-st--b { opacity: 1; transform: none; transition: opacity .5s ease .25s, transform .6s var(--ease) .25s; }

/* ---------- Telefono: app Tekto ---------- */
.tk-ap.dev-phone { width: 248px; }
.tka { background: #FBFBF8; color: #143A60; font-size: 4.3cqw; line-height: 1.3; letter-spacing: -0.01em; }
.tka__status { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; height: 3.3em; padding: 0.45em 1.75em 0 2.35em; background: #143A60; color: #fff; }
.tka__status b { font-size: 1.02em; font-weight: 700; letter-spacing: 0; }
.tka__sys { display: inline-flex; align-items: center; gap: 0.4em; }
.tka__sig { width: 1.25em; height: 0.8em; background: repeating-linear-gradient(90deg, currentColor 0 18%, transparent 18% 27%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.tka__sig--off { opacity: 0.28; }
.tka__bat { width: 1.75em; height: 0.85em; padding: 1.5px; border: 1px solid currentColor; border-radius: 0.28em; opacity: 0.9;
  background: linear-gradient(currentColor, currentColor) content-box; background-size: 70% 100%; background-repeat: no-repeat; }
.tka__head { flex-shrink: 0; display: flex; align-items: center; gap: 0.55em; height: 3.9em; padding: 0 1.25em; background: #143A60; color: #fff; }
.tka__head > b { flex: 1; min-width: 0; font-size: 1.12em; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tka__head-t { flex: 1; min-width: 0; }
.tka__head-t small { display: block; font-size: 0.7em; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.tka__head-t b { display: block; font-size: 1.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tka__back .ic { width: 1.3em; height: 1.3em; color: rgba(255, 255, 255, 0.8); }
.tka__bell { position: relative; width: 2.2em; height: 2.2em; display: grid; place-items: center; color: rgba(255, 255, 255, 0.85); }
.tka__bell .ic { width: 1.25em; height: 1.25em; }
.tka__bell i { position: absolute; top: 0.35em; right: 0.4em; width: 0.5em; height: 0.5em; border-radius: 50%; background: #E0953F; box-shadow: 0 0 0 2px #143A60; }
.tka__clock { font-size: 0.86em; font-weight: 600; color: rgba(255, 255, 255, 0.7); font-variant-numeric: tabular-nums; }
.tka__clock small { font-size: 1em; color: rgba(255, 255, 255, 0.4); }
.tka__pill { padding: 0.3em 0.7em; border-radius: 2em; background: rgba(52, 211, 153, 0.18); color: #6EE7B7; font-size: 0.66em; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.tka__body { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 0.85em; padding: 1em 1em 0; overflow: hidden; }
.tka__card { flex-shrink: 0; padding: 1.25em 1.1em 1.15em; border-radius: 1.6em; background: #fff; box-shadow: 0 0.5em 1.6em rgba(20, 58, 96, 0.1); }
.tka__state { display: flex; align-items: center; gap: 0.5em; font-size: 0.84em; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; color: #4B5563; }
.tka__state i { width: 0.7em; height: 0.7em; border-radius: 50%; background: #D1D5DB; }
.tka__title { display: block; margin-top: 0.65em; font-size: 1.5em; font-weight: 900; letter-spacing: -0.02em; }
.tka__sub { display: block; margin: 0.2em 0 0.95em; font-size: 0.82em; color: #6B7280; }
.tka__sel { display: flex; align-items: center; gap: 0.65em; height: 3.3em; margin-bottom: 0.55em; padding: 0 0.9em; border-radius: 1.1em; border: 2px solid #F3F4F6; }
.tka__sel > .ic { width: 1.3em; height: 1.3em; flex-shrink: 0; color: #E0953F; }
.tka__sel > .ic:last-child { margin-left: auto; width: 1.15em; height: 1.15em; color: #D1D5DB; }
.tka__sel b { display: block; font-size: 0.96em; font-weight: 700; }
.tka__sel small { display: block; font-size: 0.6em; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: #9CA3AF; }
.tka__btn { display: flex; align-items: center; justify-content: center; gap: 0.55em; height: 3.8em; margin-top: 0.4em; border-radius: 1.1em; background: #E0953F; color: #fff; font-size: 1em; font-weight: 900; }
.tka__btn .ic { width: 1.2em; height: 1.2em; stroke-width: 2.6; }
.tka__btn--out { background: #EF4444; }
.tka__btn--off { opacity: 0.5; }
.tka__btn--navy { background: #143A60; }
.tka__spin { width: 1.15em; height: 1.15em; border-radius: 50%; border: 0.18em solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: tkaSpin .8s linear infinite; }
@keyframes tkaSpin { to { transform: rotate(360deg); } }
.tka__ok { display: block; padding: 0.95em 1em; border-radius: 1.1em; background: #ECFDF5; border: 1px solid #A7F3D0; }
.tka__ok-h { display: flex; align-items: center; gap: 0.5em; font-size: 1.04em; font-weight: 900; text-transform: uppercase; color: #047857; }
.tka__ok-h i { width: 0.7em; height: 0.7em; border-radius: 50%; background: #34D399; }
.tka__ok b { display: block; margin-top: 0.35em; font-size: 0.96em; color: #064E3B; }
.tka__ok small { display: block; font-size: 0.82em; color: #047857; }
.tka__ok strong { display: block; margin-top: 0.4em; font-size: 1.85em; font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tka__list-h { margin: 0.1em 0 0 0.2em; font-size: 0.68em; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: #4B5563; }
.tka__row { flex-shrink: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5em; padding: 0.85em 0.95em; border-radius: 1.1em; background: #fff; box-shadow: 0 0.15em 0.5em rgba(20, 58, 96, 0.07); }
.tka__row b { font-size: 0.86em; }
.tka__row small { font-size: 0.76em; color: #4B5563; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tka__sync { flex-shrink: 0; padding: 0.85em 1em; border-radius: 1.3em; border: 1px solid #FDE68A; background: #FFFBEB; color: #92400E; }
.tka__sync b { display: block; font-size: 0.86em; }
.tka__sync small { display: block; margin-top: 0.2em; font-size: 0.78em; line-height: 1.4; }
.tka__toast { position: absolute; left: 1em; right: 1em; bottom: 0.9em; z-index: 2; display: flex; align-items: flex-start; gap: 0.55em; padding: 0.8em 0.9em; border-radius: 1em;
  background: #0F2E4E; color: #fff; font-size: 0.78em; font-weight: 600; line-height: 1.35; box-shadow: 0 0.6em 1.6em rgba(0, 0, 0, 0.28); }
.tka__toast .ic { width: 1.35em; height: 1.35em; flex-shrink: 0; color: #34D399; stroke-width: 2.6; }
.tka__tabs { flex-shrink: 0; margin-top: auto; display: flex; padding: 0.5em 0.35em 1.75em; background: #fff; border-top: 1px solid #E5E7EB; }
.tka__tabs > span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.3em; margin: 0 0.25em; padding: 0.45em 0; border-radius: 0.9em; font-size: 0.72em; font-weight: 600; color: #9CA3AF; }
.tka__tabs .ic { width: 2em; height: 2em; stroke-width: 1.8; }
.tka__tabs .on { color: #E0953F; background: rgba(224, 149, 63, 0.1); }
.tka__tabs .on .ic { stroke-width: 2.5; }

/* due stati: timbratura (GPS → in cantiere) e senza campo (in attesa → sincronizzata) */
.tk-as-2 .tka__in-b { display: none; }
.tk-as-2.is-flipped .tka__in-a, .tk-as-2.is-flipped .tka__hide { display: none; }
.tk-as-2.is-flipped .tka__in-b { display: block; animation: tkaIn .55s var(--ease); }
.tk-as-2.is-flipped .tka__sig--off { opacity: 1; transition: opacity .4s ease; }
@keyframes tkaIn { from { opacity: 0; transform: translateY(0.6em); } }

/* scheda tecnica con firma del cliente */
.tka__sec { flex-shrink: 0; padding: 0.95em 1em; border-radius: 1.3em; background: #fff; box-shadow: 0 0.2em 0.7em rgba(20, 58, 96, 0.07); }
.tka__sec-h { display: flex; align-items: center; gap: 0.45em; margin-bottom: 0.55em; font-size: 0.72em; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: #6B7280; }
.tka__sec-h .ic { width: 1.35em; height: 1.35em; color: rgba(20, 58, 96, 0.7); }
.tka__sec--row { display: flex; align-items: center; justify-content: space-between; }
.tka__sec--row .tka__sec-h { margin: 0; }
.tka__sec--row em { font-style: normal; font-size: 0.82em; font-weight: 700; }
.tka__chk { display: flex; align-items: center; gap: 0.6em; padding: 0.3em 0; font-size: 0.86em; color: #374151; }
.tka__chk i { width: 1.35em; height: 1.35em; border-radius: 0.4em; display: grid; place-items: center; flex-shrink: 0; border: 2px solid #D1D5DB; color: #fff; }
.tka__chk i .ic { width: 0.9em; height: 0.9em; stroke-width: 3.2; }
.tka__chk.is-done { color: #9CA3AF; text-decoration: line-through; }
.tka__chk.is-done i { background: #10B981; border-color: #10B981; }
.tka__sign-h { font-size: 0.98em; font-weight: 700; margin-bottom: 0.5em; }
.tka__sign { display: block; height: 4.6em; border-radius: 0.9em; border: 1px solid #F3F4F6; background: #F9FAFB; }
.tka__sign svg { display: block; width: 100%; height: 100%; }
.tka__sign path { fill: none; stroke: #143A60; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tka__signed { margin-top: 0.55em; display: flex; align-items: center; gap: 0.45em; padding: 0.55em 0.8em; border-radius: 0.8em; background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; font-size: 0.84em; font-weight: 700; opacity: 0; }
.tka__signed .ic { width: 1.2em; height: 1.2em; color: #10B981; stroke-width: 2.6; }
.tka__signed small { margin-left: auto; font-size: 0.9em; font-weight: 600; color: #059669; }
.tk-as-sign.is-flipped .tka__sign path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.7s cubic-bezier(.45, .05, .35, 1) .15s; }
.tk-as-sign.is-flipped .tka__signed { opacity: 1; transition: opacity .4s ease 1.9s; }

/* magazzino */
.tka__search { flex-shrink: 0; display: flex; align-items: center; gap: 0.55em; height: 2.9em; padding: 0 0.9em; border-radius: 0.9em; border: 1px solid #D1D5DB; background: #F9FAFB; font-size: 0.84em; color: #9CA3AF; }
.tka__search .ic { width: 1.2em; height: 1.2em; }
.tka__cats { flex-shrink: 0; display: flex; gap: 0.4em; overflow: hidden; }
.tka__cats span { padding: 0.45em 0.85em; border-radius: 2em; background: #fff; border: 1px solid #E5E7EB; font-size: 0.74em; font-weight: 700; color: #6B7280; white-space: nowrap; }
.tka__cats .on { background: #143A60; border-color: #143A60; color: #fff; }
.tka__item { flex-shrink: 0; display: flex; align-items: center; gap: 0.7em; padding: 0.7em 0.8em; border-radius: 1.1em; background: #fff; box-shadow: 0 0.15em 0.5em rgba(20, 58, 96, 0.07); }
.tka__item > i { width: 2.4em; height: 2.4em; border-radius: 0.7em; display: grid; place-items: center; flex-shrink: 0; background: rgba(224, 149, 63, 0.12); color: #C2691A; }
.tka__item > i .ic { width: 1.2em; height: 1.2em; }
.tka__item > span { flex: 1; min-width: 0; }
.tka__item b { display: block; font-size: 0.84em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tka__item small { display: block; font-size: 0.72em; color: #6B7280; }
.tka__item small.warn { color: #B45309; font-weight: 700; }
.tka__item em { flex-shrink: 0; min-width: 2.2em; height: 2.2em; padding: 0 0.5em; border-radius: 0.7em; display: grid; place-items: center; font-style: normal; font-size: 0.8em; font-weight: 900; background: #143A60; color: #fff; }
.tka__item em.add { background: #F3F4F6; color: #143A60; }
.tka__fab { position: absolute; right: 1em; bottom: 6.6em; z-index: 2; width: 3.4em; height: 3.4em; border-radius: 50%; display: grid; place-items: center; background: #E0953F; color: #fff; box-shadow: 0 0.5em 1.2em rgba(224, 149, 63, 0.45); }
.tka__fab .ic { width: 1.45em; height: 1.45em; }
.tka__fab i { position: absolute; top: -0.15em; right: -0.15em; width: 1.4em; height: 1.4em; border-radius: 50%; display: grid; place-items: center; background: #143A60; color: #fff; font-style: normal; font-size: 0.72em; font-weight: 900; box-shadow: 0 0 0 2px #fff; }
.tka__cart { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 1em 1.1em 1.1em; border-radius: 1.4em 1.4em 0 0; background: #fff; box-shadow: 0 -0.6em 1.8em rgba(20, 58, 96, 0.18); transform: translateY(105%); }
.tka__cart::before { content: ""; display: block; width: 2.6em; height: 0.3em; margin: 0 auto 0.8em; border-radius: 1em; background: #E5E7EB; }
.tka__cart b { display: block; font-size: 0.98em; }
.tka__cart small { display: block; margin-top: 0.15em; font-size: 0.78em; color: #6B7280; }
.tka__cart .tka__sel { margin: 0.8em 0 0; height: 3em; }
.tk-as-mag.is-flipped .tka__cart { transform: none; transition: transform .7s var(--ease); }

/* ferie e permessi */
.tka__bal { flex-shrink: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55em; padding: 0.8em; border-radius: 1.3em; background: #fff; box-shadow: 0 0.2em 0.7em rgba(20, 58, 96, 0.07); }
.tka__bal > span { display: flex; flex-direction: column; align-items: center; padding: 0.9em 0.2em; border-radius: 1em; background: #F9FAFB; }
.tka__bal b { font-size: 1.45em; font-weight: 900; line-height: 1.1; }
.tka__bal small { font-size: 0.68em; color: #9CA3AF; }
.tka__bal em { margin-top: 0.25em; font-style: normal; font-size: 0.72em; font-weight: 900; }
.tka__req { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 0.6em; padding: 0.8em 0.95em; border-radius: 1.1em; background: #fff; box-shadow: 0 0.15em 0.5em rgba(20, 58, 96, 0.07); }
.tka__req b { display: block; font-size: 0.86em; }
.tka__req small { display: block; font-size: 0.74em; color: #6B7280; }
.tka__req em { flex-shrink: 0; padding: 0.3em 0.75em; border-radius: 2em; font-style: normal; font-size: 0.7em; font-weight: 800; }
.tka__req em.wait { background: #FEF3C7; color: #92400E; }
.tka__req em.ok { background: #DCFCE7; color: #15803D; }

/* ---------- iPad: area di chi dirige ---------- */
.tk-at.dev-tablet { width: min(600px, 100%); }
.tkd { display: grid; grid-template-columns: 11.8em minmax(0, 1fr); height: 100%; background: #F4F6F9; color: #143A60; font-size: 1.62cqw; line-height: 1.3; }
.tkd__side { display: flex; flex-direction: column; gap: 0.2em; padding: 1.4em 0.75em; background: linear-gradient(180deg, #143A60, #0F2E4E); color: #A9C1DA; }
.tkd__logo { margin: 0 0 1em 0.5em; font-size: 1.6em; font-weight: 900; letter-spacing: -0.04em; color: #fff; }
.tkd__logo em { font-style: normal; color: #E0953F; }
.tkd__side > span:not(.tkd__logo) { display: flex; align-items: center; gap: 0.65em; padding: 0.6em 0.75em; border-radius: 0.65em; font-size: 0.95em; font-weight: 600; }
.tkd__side .ic { width: 1.2em; height: 1.2em; }
.tkd__side .on { background: rgba(232, 145, 47, 0.16); color: #fff; }
.tkd__side .on .ic { color: #E0953F; }
.tkd__main { min-width: 0; display: flex; flex-direction: column; gap: 1.1em; padding: 1.6em 1.7em; overflow: hidden; }
.tkd__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1em; }
.tkd__head b { display: block; font-size: 1.8em; letter-spacing: -0.03em; line-height: 1.1; }
.tkd__head small { display: block; margin-top: 0.15em; font-size: 0.95em; color: var(--muted); }
.tkd .tk-live { font-size: 0.85em; }
.tkd__grid { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1em; }
.tkd__map { overflow: hidden; border-radius: 1em; border: 1px solid #E6EAF0; background: #EDF0F4; }
.tkd__map svg { display: block; width: 100%; height: 100%; }
.tkd__list { display: flex; flex-direction: column; gap: 0.5em; padding: 1em; border-radius: 1em; background: #fff; border: 1px solid #E6EAF0; }
.tkd__list > b { font-size: 1em; margin-bottom: 0.2em; }
.tkd__list > span { display: flex; align-items: center; gap: 0.6em; padding: 0.45em 0; border-top: 1px solid #F1F4F8; }
.tkd__list > span:first-of-type { border-top: 0; }
.tkd__list i { width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-style: normal; font-size: 0.76em; font-weight: 800; color: #fff; background: var(--c); }
.tkd__list span span { min-width: 0; flex: 1; }
.tkd__list strong { display: block; font-size: 0.88em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkd__list small { display: block; font-size: 0.76em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkd__list em { font-style: normal; font-family: var(--mono); font-size: 0.78em; font-weight: 700; }

@container napp (max-width: 820px) {
  .tk-as-pos, .tk-as-tav { display: none; }
}
@media (max-width: 720px) {
  .tk-ap.dev-phone { width: min(240px, 66vw); }
}
