/* ==========================================================================
   Takefat Misr / تكييفات مصر
   --------------------------------------------------------------------------
   Deliberately standalone: no Bootstrap.

   This repository already loads three different Bootstrap versions depending
   on which of the stacked sites you are on (4.5 for the doctor site, 3.3.7
   for the ERP layout, 3.3.6 for the university one). Pulling in a fourth,
   plus an RTL override sheet, would mean fighting cascade bugs all day. The
   whole product is a handful of page types, so plain modern CSS with flexbox
   and grid is smaller and far more predictable.

   Direction: the markup sets dir="rtl" or dir="ltr" on <html> from the
   locale. Layout here is built from flex/grid with `gap` and from logical
   properties (padding-inline, inset-inline) which flip automatically, so
   there is no separate RTL stylesheet to keep in sync.

   Palette comes from the logo:
     near-black background, cyan on مصر / MISR / the waves, silver on
     تكييفات / TAKEFAT / the crescent.
   ========================================================================== */

:root {
    /* ---- Takefat 2.0 design tokens ------------------------------------
       Layer 1: color, Arabic type, 8pt spacing, elevation, motion, density.
       Portals re-skin --cyan* via .tk-portal--* without rewriting components.
       ----------------------------------------------------------------- */
    --bg:            #07090C;
    --bg-raised:     #10141A;
    --bg-card:       #151A21;
    --bg-input:      #0C1016;
    --header-bg:     rgba(7, 9, 12, .92);
    --footer-bg:     #05070A;

    --cyan:          #00B4E6;
    --cyan-bright:   #3AD0F7;
    --cyan-dim:      rgba(0, 180, 230, 0.14);
    --cyan-line:     rgba(0, 180, 230, 0.36);

    --text:          #F7FAFC;
    --silver:        #D5DCE4;
    --silver-dim:    #9AA4B0;
    --silver-faint:  #6A7480;
    --logo-metal:    #C9D0D6;

    --line:          #252B34;
    --line-soft:     #1A1F27;

    --ok:            #2ECC8F;
    --warn:          #E8B339;
    --danger:        #E8574A;
    --badge-ok:      #67E3B4;
    --badge-warn:    #F0CB72;
    --badge-danger:  #F0857B;
    --btn-danger:    #F0857B;

    /* 8pt spacing scale */
    --space-1:       4px;
    --space-2:       8px;
    --space-3:       12px;
    --space-4:       16px;
    --space-5:       24px;
    --space-6:       32px;
    --space-7:       48px;
    --space-8:       64px;

    /* Arabic-tuned type */
    --font:          'Cairo', 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
    --fs-base:       17px;
    --lh-base:       1.75;
    --fs-xs:         .78rem;
    --fs-sm:         .88rem;
    --fs-md:         1rem;
    --fs-lg:         1.15rem;
    --fs-xl:         1.45rem;
    --fs-2xl:        1.85rem;
    --fs-3xl:        clamp(2rem, 4.5vw, 2.85rem);
    --fs-display:    clamp(2.2rem, 5.5vw, 3.4rem);

    --radius:        16px;
    --radius-sm:     10px;
    --radius-lg:     24px;
    --radius-pill:   999px;

    --shadow:        0 12px 36px rgba(0, 0, 0, 0.5);
    --shadow-pop:    0 18px 44px rgba(0, 0, 0, 0.38);
    --shadow-up:     0 -10px 30px rgba(0, 0, 0, 0.3);
    --bg-hover:      #1C232C;
    --focus-ring:    rgba(0, 180, 230, .2);

    /* Motion */
    --ease:          cubic-bezier(.22, 1, .36, 1);
    --dur-fast:      .15s;
    --dur:           .22s;
    --dur-slow:      .4s;

    /* Table density (comfortable default; compact via html[data-density=compact]) */
    --tk-row-y:      12px;
    --tk-touch:      48px;

    --maxw:          1200px;
    --hero-glow:     radial-gradient(1000px 420px at 78% -12%, rgba(0, 180, 230, .18), transparent 62%),
                     radial-gradient(700px 340px at 8% 108%, rgba(0, 180, 230, .08), transparent 60%);
}

html[data-theme="light"] {
    --bg:            #F3F6F9;
    --bg-raised:     #FFFFFF;
    --bg-card:       #FFFFFF;
    --bg-input:      #FFFFFF;
    --header-bg:     rgba(255, 255, 255, .94);
    --footer-bg:     #E2EAF1;

    --cyan:          #007EA8;
    --cyan-bright:   #0098C8;
    --cyan-dim:      rgba(0, 126, 168, 0.12);
    --cyan-line:     rgba(0, 126, 168, 0.32);

    --text:          #15202B;
    --silver:        #33404D;
    --silver-dim:    #3F4C58;
    --silver-faint:  #546270;
    --logo-metal:    #5C6B78;

    --line:          #C5D0DB;
    --line-soft:     #DCE4EC;

    --ok:            #1A8A5C;
    --warn:          #9A6B00;
    --danger:        #C0392B;
    --badge-ok:      #1A8A5C;
    --badge-warn:    #9A6B00;
    --badge-danger:  #C0392B;
    --btn-danger:    #C0392B;

    --shadow:        0 10px 28px rgba(21, 32, 43, 0.08);
    --shadow-pop:    0 14px 36px rgba(21, 32, 43, 0.14);
    --shadow-up:     0 -8px 24px rgba(21, 32, 43, 0.10);
    --bg-hover:      #E8EEF3;
    --focus-ring:    rgba(0, 126, 168, .22);
    --hero-glow:     radial-gradient(1000px 420px at 78% -12%, rgba(0, 126, 168, .12), transparent 62%),
                     radial-gradient(700px 340px at 8% 108%, rgba(0, 126, 168, .06), transparent 60%);
}

html[data-density="compact"] {
    --tk-row-y: 7px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

html[data-theme="light"] .tk-card,
html[data-theme="light"] .tk-service,
html[data-theme="light"] .tk-step--card,
html[data-theme="light"] .tk-faq__item,
html[data-theme="light"] .tk-cta-band,
html[data-theme="light"] .tk-request-card {
    box-shadow: var(--shadow);
}

html[data-theme="light"] .tk-input:-webkit-autofill,
html[data-theme="light"] .tk-textarea:-webkit-autofill,
html[data-theme="light"] .tk-select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    -webkit-text-fill-color: #15202B;
    caret-color: #15202B;
}

html[data-theme="light"] .tk-heat__dismiss:hover {
    background: rgba(21, 32, 43, .08);
}
html[data-theme="light"] .tk-hero--photo .tk-heat__dismiss:hover {
    background: rgba(255, 255, 255, .12);
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--silver);
    font-family: var(--font);
    font-size: var(--fs-base);
    font-weight: 600;
    line-height: var(--lh-base);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
/* Never letter-space Arabic — it tears connected letterforms. Latin-only
   wordmarks opt in via .tk-tracking / :lang(en). */
:lang(ar) { letter-spacing: normal; }
.tk-tracking,
:lang(en).tk-tracking { letter-spacing: .08em; }

html { overflow-x: clip; }
/* clip (not hidden) so descendants can use position:sticky against the viewport. */
body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }

/* Lock page scroll while the mobile drawer or admin sidebar is open. */
body:has(#tk-burger:checked),
body:has(#tk-adminmenu:checked),
body.tk-nav-open,
body.tk-sidebar-open { overflow: hidden; }
body.tk-nav-open .tk-wadock,
body:has(#tk-burger:checked) .tk-wadock {
    pointer-events: none;
    opacity: .35;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-bright); }

h1, h2, h3, h4 { color: var(--text); font-weight: 700; line-height: 1.3; margin: 0 0 .6rem; }
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p  { margin: 0 0 1rem; }

img { max-width: 100%; height: auto; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.6rem 0; }

/* Latin numerals read better than Arabic-Indic for prices and phone numbers,
   even when the rest of the page is Arabic. Isolate so an LTR number cannot
   flip a surrounding RTL row (footer / contact hotline + copy). */
.tk-num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
a.tk-phone[dir="ltr"] {
    direction: ltr;
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.tk-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: 20px; }
.tk-main { flex: 1 0 auto; padding-block: 34px 64px; }
.tk-section { padding-block: 52px; }
.tk-section--alt { background: var(--bg-raised); border-block: 1px solid var(--line-soft); }

.tk-grid { display: grid; gap: 18px; }
.tk-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tk-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tk-grid--4 { grid-template-columns: repeat(4, 1fr); }

.tk-row { display: flex; gap: 14px; flex-wrap: wrap; }
.tk-row--between { justify-content: space-between; align-items: center; }
.tk-row--center { justify-content: center; align-items: center; }
.tk-row--middle { align-items: center; }
.tk-spacer { flex: 1 1 auto; }

.tk-center { text-align: center; }
.tk-muted { color: var(--silver-dim); }
.tk-faint { color: var(--silver-faint); font-size: .88rem; }
.tk-small { font-size: .88rem; }
.tk-strong { color: var(--text); font-weight: 700; }
.tk-mt { margin-top: 1rem; }
.tk-mt-2 { margin-top: 2rem; }
.tk-mb { margin-bottom: 1rem; }
.tk-mb-0 { margin-bottom: 0; }
.tk-nowrap { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.tk-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.tk-header__inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px;
    min-height: 64px;
}

.tk-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.tk-logo-mark { width: 42px; height: 42px; display: block; flex-shrink: 0; }
.tk-logo-mark__metal { stroke: var(--logo-metal); }
.tk-logo-mark__cyan,
.tk-logo-mark__wave { stroke: var(--cyan); }
.tk-logo-mark__wave {
    stroke-dasharray: 14 6;
    animation: tk-wave-flow 2.6s linear infinite;
}
.tk-logo:hover .tk-logo-mark {
    filter: drop-shadow(0 0 10px rgba(0, 180, 230, .45));
}
.tk-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.tk-logo__ar { color: var(--text); font-weight: 800; font-size: 1.06rem; }
.tk-logo__ar em { color: var(--cyan); font-style: normal; }
.tk-logo__en { color: var(--silver-faint); font-size: .63rem; letter-spacing: .16em; text-transform: uppercase; }

.tk-logo-full--light { display: none; }
html[data-theme="light"] .tk-logo-full--dark { display: none; }
html[data-theme="light"] .tk-logo-full--light { display: inline-block; }

.tk-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    min-width: 0;
    justify-content: flex-start;
}
.tk-nav > a {
    color: var(--silver-dim);
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    font-size: .88rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.tk-nav > a:hover { color: var(--text); background: var(--bg-hover); }
.tk-nav > a.is-active { color: var(--cyan); background: var(--cyan-dim); }

.tk-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
    flex-shrink: 0;
}

.tk-langswitch {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
}
.tk-langswitch a { padding: 5px 11px; font-size: .78rem; font-weight: 700; color: var(--silver-dim); }
.tk-langswitch a.is-active { background: var(--cyan); color: #04222B; }

.tk-themeswitch {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-card);
    color: var(--silver);
    flex-shrink: 0;
    overflow: hidden;
}
.tk-themeswitch:hover,
.tk-themeswitch:focus-visible {
    border-color: var(--cyan-line);
    color: var(--cyan);
    background: var(--cyan-dim);
}
.tk-themeswitch svg {
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.tk-themeswitch__sun { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(1); }
.tk-themeswitch__moon { opacity: 0; transform: translate(-50%, -50%) rotate(-40deg) scale(.6); }
html[data-theme="light"] .tk-themeswitch__sun { opacity: 0; transform: translate(-50%, -50%) rotate(40deg) scale(.6); }
html[data-theme="light"] .tk-themeswitch__moon { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(1); }
@media (prefers-reduced-motion: reduce) {
    .tk-themeswitch svg { transition: none; }
}

/* Mobile-only chrome stays hidden on desktop. */
.tk-themeswitch--sheet { display: none; }
.tk-nav__panel { display: none; }

/* Compact account control — initials + label, name lives in the menu. */
.tk-account { position: relative; }
.tk-account__btn {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 4px 10px;
    padding-inline-start: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-card);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
}
.tk-account__btn::-webkit-details-marker { display: none; }
.tk-account__btn::marker { content: ''; }
.tk-account__btn:hover { border-color: var(--cyan-line); }
.tk-account[open] .tk-account__btn { border-color: var(--cyan-line); }
.tk-account__avatar,
.tk-nav__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: var(--cyan-dim);
    color: var(--cyan);
    font-size: .72rem;
    font-weight: 800;
    flex-shrink: 0;
}
.tk-account__text { max-width: 5.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-account__menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    z-index: 70;
    min-width: 200px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-raised);
    box-shadow: var(--shadow-pop);
    display: grid;
    gap: 4px;
}
.tk-account__name {
    margin: 0 0 6px;
    padding: 6px 10px;
    color: var(--silver-dim);
    font-size: .78rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tk-account__menu a,
.tk-account__menu button {
    display: block;
    width: 100%;
    text-align: start;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
}
.tk-account__menu a:hover,
.tk-account__menu button:hover { background: var(--bg-hover); color: var(--cyan); }

/* Mobile nav: checkbox toggle, dropdown under the header. */
.tk-burger { display: none; }
.tk-burger__btn {
    display: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--silver);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}
.tk-burger__btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.tk-burger__backdrop { display: none; }
.tk-header__auth { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Phone tab bar — hidden on desktop */
.tk-tabs {
    display: none;
}

.tk-stickybar {
    display: none;
}
.tk-book-submit--desktop { display: inline-flex; }
.tk-hide-mobile { display: inline-flex; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.tk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--silver);
    font-family: inherit;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .12s, background .15s, border-color .15s, color .15s;
    text-align: center;
}
.tk-btn:hover { transform: translateY(-1px); color: var(--text); }
.tk-btn:active { transform: translateY(0); }

.tk-btn--primary { background: var(--cyan); color: #04222B; overflow: hidden; position: relative; }
.tk-btn--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.38) 50%, transparent 60%);
    transform: translateX(-130%);
    pointer-events: none;
}
.tk-btn--primary:hover::after { animation: tk-shine .65s ease; }
.tk-btn--primary:hover { background: var(--cyan-bright); color: #04222B; }

.tk-btn--ghost { background: transparent; border-color: var(--line); color: var(--silver); }
.tk-btn--ghost:hover { border-color: var(--cyan-line); color: var(--text); }

.tk-btn--ok { background: var(--ok); color: #06251A; }
.tk-btn--danger { background: transparent; border-color: rgba(232, 87, 74, .45); color: var(--btn-danger); }
.tk-btn--danger:hover { background: rgba(232, 87, 74, .12); color: var(--btn-danger); }

.tk-btn--lg { padding: 14px 30px; font-size: 1.03rem; }
.tk-btn--sm { padding: 7px 14px; font-size: .84rem; }
.tk-btn--block { width: 100%; }

.tk-btn[disabled],
.tk-btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.tk-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}
.tk-card--pad-lg { padding: 30px; }
.tk-card__title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tk-card--link { transition: border-color .15s, transform .12s; display: block; color: inherit; }
.tk-card--link:hover { border-color: var(--cyan-line); transform: translateY(-2px); color: inherit; }

.tk-panel {
    background: var(--bg-raised);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 18px;
}

/* --------------------------------------------------------------------------
   Homepage banners
   --------------------------------------------------------------------------
   Photographs live in assets/takefat/img/banners/ and are listed by
   Banners::home(). On the homepage they are the hero background, not a
   separate cropped strip: the hero's own height (from the copy) is the
   frame, and the image covers it. object-position keeps the technician
   on the left of the photograph, which stays visible beside RTL copy.
   -------------------------------------------------------------------------- */

.tk-banner {
    position: relative;
    background: #071018;
    overflow: hidden;
}
html[data-theme="light"] .tk-banner { background: #1a2430; }

.tk-banner__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.tk-banner__track::-webkit-scrollbar { display: none; }

.tk-banner__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    margin: 0;
    position: relative;
    background: inherit;
}
.tk-banner__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 18% center;
}

.tk-banner__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(8, 10, 14, .45);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0 0 3px;
    backdrop-filter: blur(8px);
}
.tk-banner__nav:hover { border-color: var(--cyan); color: var(--cyan-bright); }
.tk-banner__nav--prev { inset-inline-start: 14px; }
.tk-banner__nav--next { inset-inline-end: 14px; }

.tk-banner__dots {
    position: absolute;
    inset-inline: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 4;
}
.tk-banner__dot {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    position: relative;
}
.tk-banner__dot::after {
    content: '';
    position: absolute;
    inset: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
}
.tk-banner__dot.is-active::after {
    background: var(--cyan);
    inset-inline: 4px 4px;
    inset-block: 9px;
}

@media (prefers-reduced-motion: reduce) {
    .tk-banner__track { scroll-behavior: auto; }
    .tk-hero--photo .tk-banner__slide { transition: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.tk-hero {
    position: relative;
    isolation: isolate;
    padding-block: 74px 66px;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background: var(--hero-glow), var(--bg);
}
.tk-hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.tk-hero h1 { font-size: 2.9rem; margin-bottom: 1rem; }
.tk-hero h1 em { color: var(--cyan); font-style: normal; }
.tk-hero__lead { font-size: 1.1rem; color: var(--silver-dim); max-width: 34rem; }
.tk-hero__art { display: flex; justify-content: center; }
.tk-hero__art img { width: min(310px, 100%); filter: drop-shadow(0 16px 44px rgba(0, 180, 230, .22)); }
html[data-theme="light"] .tk-hero__art img { filter: drop-shadow(0 12px 28px rgba(0, 152, 200, .18)); }

/* Photo hero: the banner fills the section; copy sits on a directional shade
   so Arabic (RTL) text reads over the open side of the photograph. Light
   mode keeps light-on-dark type here — a cinematic hero, not a paper card. */
.tk-hero--photo {
    min-height: min(78vh, 720px);
    padding-block: 88px 72px;
    display: flex;
    align-items: center;
    border-bottom: 0;
    background: #071018;
    color: #E8EEF3;
}
.tk-hero--photo .tk-banner {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #071018;
}
.tk-hero--photo .tk-banner__track {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
    scroll-snap-type: none;
}
.tk-hero--photo .tk-banner__slide {
    position: absolute;
    inset: 0;
    flex: none;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .85s ease;
    z-index: 0;
}
.tk-hero--photo .tk-banner__slide.is-active {
    opacity: 1;
    z-index: 1;
}
.tk-hero--photo .tk-banner__slide img {
    object-position: 16% center;
}

.tk-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    /* Physical `to left` so the overlay still paints if the browser
       does not understand logical gradient directions. RTL copy sits
       on the right, so that side stays the darkest. */
    background:
        linear-gradient(to left,
            rgba(6, 8, 12, .92) 0%,
            rgba(6, 8, 12, .78) 34%,
            rgba(6, 8, 12, .42) 62%,
            rgba(6, 8, 12, .16) 100%),
        linear-gradient(to top, rgba(6, 8, 12, .55) 0%, transparent 46%);
}
html[dir="ltr"] .tk-hero__shade {
    background:
        linear-gradient(to right,
            rgba(6, 8, 12, .92) 0%,
            rgba(6, 8, 12, .78) 34%,
            rgba(6, 8, 12, .42) 62%,
            rgba(6, 8, 12, .16) 100%),
        linear-gradient(to top, rgba(6, 8, 12, .55) 0%, transparent 46%);
}

.tk-hero--photo .tk-hero__inner {
    position: relative;
    z-index: 3;
    grid-template-columns: minmax(0, 38rem) 1fr;
    width: 100%;
}
.tk-hero--photo .tk-hero__art { display: none; }
.tk-hero--photo h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.15rem);
    color: #fff;
    text-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}
.tk-hero--photo h1 em { color: var(--cyan-bright); }
.tk-hero--photo .tk-hero__lead {
    color: rgba(255, 255, 255, .92);
    max-width: 36rem;
    font-size: 1.12rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .55);
}
.tk-hero--photo .tk-brand-mark__ar { color: #fff; }
.tk-hero--photo .tk-brand-mark__en { color: rgba(232, 238, 243, .55); }
.tk-hero--photo .tk-tagline {
    color: var(--cyan-bright);
    background: rgba(0, 180, 230, .16);
    border-color: rgba(34, 201, 245, .4);
}
.tk-hero--photo .tk-btn--ghost {
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
    background: rgba(8, 10, 14, .28);
}
.tk-hero--photo .tk-btn--ghost:hover {
    border-color: var(--cyan);
    color: #fff;
    background: rgba(0, 180, 230, .16);
}
.tk-hero--photo .tk-trust li {
    color: #fff;
    background: rgba(8, 10, 14, .55);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    padding-block: 6px;
    padding-inline: 1.45rem 14px;
    backdrop-filter: blur(8px);
}
.tk-hero--photo .tk-trust li::before { inset-inline-start: 10px; }
.tk-hero--photo .tk-banner__nav { display: none; }
.tk-hero--photo .tk-banner__dots {
    z-index: 4;
    bottom: 18px;
}
.tk-hero--photo:has(.tk-banner--multi),
.tk-hero--photo.tk-hero--multi { padding-bottom: 76px; }

/* Compact trust cues under the hero CTAs — not a card grid. */
.tk-trust {
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    max-width: 36rem;
}
.tk-trust li {
    position: relative;
    color: var(--silver-dim);
    font-size: .92rem;
    font-weight: 600;
    padding-inline-start: 1.35rem;
}
.tk-trust li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: .55em;
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 3px var(--cyan-dim);
}

.tk-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cyan);
    font-size: .82rem;
    font-weight: 700;
    background: var(--cyan-dim);
    border: 1px solid var(--cyan-line);
    border-radius: 999px;
    padding: 6px 16px;
    margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   Service picker
   -------------------------------------------------------------------------- */

.tk-service {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    color: inherit;
    transition: border-color .15s, transform .12s;
}
.tk-service:hover { border-color: var(--cyan-line); transform: translateY(-3px); color: inherit; }
.tk-service__icon {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--cyan-dim);
    color: var(--cyan);
    margin-bottom: 14px;
}
.tk-service__icon svg { width: 24px; height: 24px; }
.tk-service__price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.tk-price { color: var(--text); font-size: 1.5rem; font-weight: 800; }
.tk-price small { color: var(--silver-faint); font-size: .8rem; font-weight: 600; }
.tk-service__cta {
    display: inline-flex;
    margin-top: 12px;
    color: var(--cyan);
    font-size: .9rem;
    font-weight: 700;
}
.tk-service:hover .tk-service__cta { color: var(--cyan-bright); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.tk-field { margin-bottom: 17px; }
.tk-label { display: block; margin-bottom: 7px; color: var(--text); font-size: .9rem; font-weight: 700; }
.tk-label .tk-req { color: var(--cyan); }

.tk-input,
.tk-select,
.tk-textarea {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg-input);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: .96rem;
    transition: border-color .15s, box-shadow .15s;
}
.tk-input:focus,
.tk-select:focus,
.tk-textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--focus-ring);
}
.tk-input::placeholder, .tk-textarea::placeholder { color: var(--silver-faint); }
.tk-textarea { min-height: 118px; resize: vertical; }
.tk-select { appearance: none; background-image: none; cursor: pointer; }
.tk-select option { background: var(--bg-input); color: var(--text); }

.tk-help { margin-top: 6px; font-size: .82rem; color: var(--silver-faint); }
.tk-help.tk-ok,
.tk-ok { color: var(--ok, #3ecf8e); font-weight: 700; }
.tk-chip.is-disabled {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
}
.tk-error { margin-top: 6px; font-size: .84rem; color: var(--badge-danger); }
.tk-input.has-error, .tk-select.has-error, .tk-textarea.has-error { border-color: var(--danger); }

/* Big tappable radio cards, used for choosing a service or a role. */
.tk-choice { display: grid; gap: 12px; }
.tk-choice--2 { grid-template-columns: repeat(2, 1fr); }
.tk-choice--1 { grid-template-columns: 1fr; }
.tk-choice--3 { grid-template-columns: repeat(3, 1fr); }
.tk-choice input { position: absolute; opacity: 0; pointer-events: none; }
.tk-choice__box {
    display: block;
    height: 100%;
    padding: 16px;
    background: var(--bg-input);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.tk-choice__box:hover { border-color: var(--cyan-line); }
.tk-choice input:checked + .tk-choice__box,
.tk-choice__box.is-locked {
    border-color: var(--cyan);
    background: var(--cyan-dim);
    box-shadow: 0 0 0 1px var(--cyan) inset;
}
.tk-choice__title { color: var(--text); font-weight: 700; display: block; }
.tk-choice__meta { color: var(--silver-dim); font-size: .85rem; }

/* District multi-select, rendered as a scrollable wall of checkboxes. */
.tk-checkwall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 8px;
    max-height: 310px;
    overflow-y: auto;
    padding: 13px;
    background: var(--bg-input);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}
.tk-check { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: .9rem; }
.tk-check input { width: 16px; height: 16px; accent-color: var(--cyan); cursor: pointer; flex-shrink: 0; }

.tk-fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.tk-fieldset > legend {
    padding-inline: 10px;
    color: var(--cyan);
    font-size: .82rem;
    font-weight: 800;
}

input[type="file"].tk-input { padding: 9px 12px; cursor: pointer; }
input[type="file"]::file-selector-button {
    margin-inline-end: 11px;
    padding: 6px 13px;
    border: 0;
    border-radius: 7px;
    background: var(--cyan-dim);
    color: var(--cyan);
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   Alerts
   -------------------------------------------------------------------------- */

.tk-alert {
    display: flex;
    gap: 11px;
    padding: 13px 17px;
    border: 1px solid var(--line);
    border-inline-start: 3px solid var(--silver-faint);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    margin-bottom: 18px;
    font-size: .93rem;
}
.tk-alert--ok      { border-inline-start-color: var(--ok);    background: rgba(46, 204, 143, .07); }
.tk-alert--error   { border-inline-start-color: var(--danger);background: rgba(232, 87, 74, .07); }
.tk-alert--warn    { border-inline-start-color: var(--warn);  background: rgba(232, 179, 57, .07); }
.tk-alert--info    { border-inline-start-color: var(--cyan);  background: var(--cyan-dim); }
.tk-alert p:last-child { margin-bottom: 0; }
html[data-theme="light"] .tk-alert--ok      { background: rgba(26, 138, 92, .10); }
html[data-theme="light"] .tk-alert--error   { background: rgba(192, 57, 43, .10); }
html[data-theme="light"] .tk-alert--warn    { background: rgba(154, 107, 0, .10); }

/* --------------------------------------------------------------------------
   Badges and status pills
   -------------------------------------------------------------------------- */

.tk-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    background: var(--bg-raised);
    border: 1px solid var(--line);
    color: var(--silver-dim);
    white-space: nowrap;
}
.tk-badge--cyan   { background: var(--cyan-dim); border-color: var(--cyan-line); color: var(--cyan); }
.tk-badge--ok     { background: rgba(46, 204, 143, .13); border-color: rgba(46, 204, 143, .4); color: var(--badge-ok); }
.tk-badge--warn   { background: rgba(232, 179, 57, .13); border-color: rgba(232, 179, 57, .4); color: var(--badge-warn); }
.tk-badge--danger { background: rgba(232, 87, 74, .13); border-color: rgba(232, 87, 74, .4); color: var(--badge-danger); }
.tk-badge--soon   { background: transparent; border-style: dashed; color: var(--silver-faint); }

/* --------------------------------------------------------------------------
   Technician cards
   -------------------------------------------------------------------------- */

.tk-tech { display: flex; gap: 15px; align-items: flex-start; }
.tk-tech__photo {
    width: 62px; height: 62px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-raised);
    border: 2px solid var(--line);
    flex-shrink: 0;
}
.tk-tech__body { flex: 1 1 auto; min-width: 0; }
.tk-tech__name { color: var(--text); font-weight: 700; font-size: 1.05rem; }
.tk-tech__bio { color: var(--silver-dim); font-size: .89rem; margin: 4px 0 8px; }

.tk-stars { color: var(--warn); letter-spacing: 1px; font-size: .92rem; }
.tk-rating { display: inline-flex; align-items: center; gap: 6px; }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.tk-steps { display: grid; gap: 18px; }
.tk-step { position: relative; padding-inline-start: 58px; }

/* --------------------------------------------------------------------------
   Tables and money summaries
   -------------------------------------------------------------------------- */

.tk-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tk-table th, .tk-table td { padding: var(--tk-row-y) 13px; border-bottom: 1px solid var(--line); text-align: start; }
.tk-table th { color: var(--silver-faint); font-size: .8rem; font-weight: 700; }
.tk-table tbody tr:last-child td { border-bottom: 0; }
.tk-table td.tk-amount { text-align: end; white-space: nowrap; }

.tk-total { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; }
.tk-total--grand { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.tk-total--grand .tk-total__value { color: var(--cyan); font-size: 1.32rem; font-weight: 800; }
.tk-total__label { color: var(--silver-dim); }
.tk-total__value { color: var(--text); font-weight: 700; }

.tk-empty { text-align: center; padding: 52px 20px; color: var(--silver-faint); }
.tk-empty__mark {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 16px;
    border: 1px solid var(--cyan-line);
    background: var(--cyan-dim);
    display: grid;
    place-items: center;
}
.tk-empty__mark::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 2px solid var(--cyan);
    opacity: .85;
}
.tk-empty__title {
    color: var(--text);
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 0 6px;
}
.tk-empty p { margin: 0 auto 14px; max-width: 28rem; line-height: 1.55; }

/* Definition-style list used on the request detail page. */
.tk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 15px; }
.tk-fact__label { color: var(--silver-faint); font-size: .78rem; font-weight: 700; }
.tk-fact__value { color: var(--text); font-weight: 600; }
.tk-fact__value--lg {
    font-size: clamp(1.7rem, 4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
    margin: 6px 0 8px;
}

.tk-dash-card {
    display: block;
    color: inherit;
    transition: border-color .15s, transform .12s, box-shadow .15s;
}
.tk-dash-card:hover {
    border-color: var(--cyan-line);
    transform: translateY(-2px);
    color: inherit;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}
.tk-dash-card__cta {
    display: inline-flex;
    margin-top: 14px;
    color: var(--cyan);
    font-weight: 700;
    font-size: .9rem;
}

.tk-row--wrap { flex-wrap: wrap; }
.tk-gap-sm { gap: 8px; }
.tk-gap-md { gap: 12px; }
.tk-is-hidden { display: none !important; }

.tk-alert ul {
    margin: .4rem 0 0;
    padding-inline-start: 1.1rem;
}
.tk-alert__glyph {
    flex: 0 0 auto;
    width: 1.25rem;
    text-align: center;
    font-weight: 800;
    line-height: 1.4;
    opacity: .9;
}

/* --------------------------------------------------------------------------
   Page heading
   -------------------------------------------------------------------------- */

.tk-pagehead { margin-bottom: 26px; }
.tk-pagehead h1 { font-size: 1.85rem; margin-bottom: .3rem; }
.tk-crumb { color: var(--silver-faint); font-size: .85rem; margin-bottom: 8px; }
.tk-crumb a { color: var(--silver-dim); }

/* --------------------------------------------------------------------------
   Auth screens
   -------------------------------------------------------------------------- */

.tk-auth { max-width: 470px; margin: 42px auto; }
.tk-auth--wide { max-width: 640px; }
.tk-auth--change { max-width: 520px; }
.tk-change-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}
.tk-change-panel__title {
    font-size: 1.1rem;
    margin: 0 0 8px;
}
.tk-change-panel__meta {
    display: grid;
    gap: 4px;
    margin: 0 0 16px;
}
.tk-auth__head { text-align: center; margin-bottom: 26px; }
.tk-auth__head img { width: 78px; margin-bottom: 12px; }
.tk-auth__panel { min-width: 0; }
.tk-auth--booking {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.2fr);
    gap: 32px;
    max-width: 100%;
    width: 100%;
    align-items: stretch;
}
.tk-auth--booking .tk-auth-context {
    min-height: 100%;
    padding: 36px 32px;
    box-sizing: border-box;
    align-items: flex-start;
    justify-content: center;
}
.tk-auth--booking .tk-auth-context h2 { font-size: 1.35rem; }
.tk-auth--booking .tk-auth-context p { line-height: 1.55; }
.tk-auth--booking .tk-auth-context__trust {
    font-size: .95rem;
    gap: 10px;
}
.tk-auth-context {
    display: flex;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--cyan-line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--cyan-dim), var(--bg-card));
}
.tk-auth-context__icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--cyan);
    background: var(--bg-raised);
}
.tk-auth-context h2 { margin: 0 0 8px; font-size: 1.1rem; }
.tk-auth-context__trust {
    display: grid;
    gap: 7px;
    list-style: none;
    margin: 16px 0;
    padding: 0;
    color: var(--silver);
    font-size: .86rem;
}
@media (max-width: 760px) {
    .tk-auth--booking { display: block; max-width: none; }
    .tk-auth-context { margin-bottom: 18px; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.tk-footer {
    flex-shrink: 0;
    background: var(--footer-bg);
    border-top: 1px solid var(--line);
    padding-block: 40px 22px;
    color: var(--silver-faint);
    font-size: .89rem;
}
.tk-footer h4 { color: var(--text); font-size: .92rem; margin-bottom: 12px; }
.tk-footer a { color: var(--silver-dim); display: block; padding: 3px 0; }
.tk-footer a:hover { color: var(--cyan); }
.tk-footer .tk-num a,
.tk-footer .tk-copyline a,
.tk-footer a.tk-phone { display: inline; color: var(--text); font-weight: 700; padding: 0; }
.tk-footer__bottom {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.tk-admin-shell { margin-bottom: 22px; }

.tk-adminmenu-toggle {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.tk-adminmenu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--silver);
    font-family: inherit;
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
}
.tk-adminmenu-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}
.tk-adminmenu-btn:hover {
    color: var(--text);
    border-color: var(--cyan-line);
}

.tk-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s, visibility .18s;
}
.tk-adminmenu-toggle:checked ~ .tk-sidebar-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tk-sidebar {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    width: min(320px, 88vw);
    background: var(--bg-raised);
    border-inline-end: 1px solid var(--line);
    box-shadow: var(--shadow-pop);
    transform: translateX(-100%);
    transition: transform .2s ease;
    overflow: hidden;
}
html[dir="rtl"] .tk-sidebar {
    transform: translateX(100%);
}
.tk-adminmenu-toggle:checked ~ .tk-sidebar {
    transform: none;
}

.tk-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
}
.tk-sidebar__title {
    color: var(--text);
    font-weight: 800;
}
.tk-sidebar__close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    color: var(--silver);
    cursor: pointer;
}
.tk-sidebar__close svg {
    width: 18px;
    height: 18px;
    display: block;
}
.tk-sidebar__close:hover {
    color: var(--text);
    background: var(--bg-hover);
}

.tk-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.tk-sidebar__link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--silver);
    font-size: .95rem;
    font-weight: 600;
}
.tk-sidebar__link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
}
.tk-sidebar__link:hover {
    color: var(--text);
    background: var(--bg-hover);
}
.tk-sidebar__link.is-active {
    color: var(--cyan);
    background: var(--cyan-dim);
}

.tk-job-photos { margin: 10px 0 12px; }
.tk-job-photos__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.tk-job-photos img,
.tk-job-photos__grid img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 9px;
    border: 1px solid var(--line);
}

.tk-nid {
    display: block;
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Website polish: brand hero, coverage, FAQ, motion, mobile lists
   -------------------------------------------------------------------------- */

.tk-brand-mark {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 18px;
}
.tk-brand-mark__ar {
    color: var(--text);
    font-weight: 800;
    font-size: clamp(1.85rem, 4vw, 2.55rem);
    line-height: 1.15;
}
.tk-brand-mark__ar em { color: var(--cyan); font-style: normal; }
.tk-brand-mark__en {
    color: var(--silver-faint);
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 700;
}

.tk-hero--photo .tk-brand-mark { margin-bottom: 10px; }
.tk-hero--photo .tk-brand-mark__ar { font-size: 1.2rem; }

.tk-step { position: relative; padding-inline-start: 3.2rem; }
.tk-step--card {
    padding: 22px 20px;
    padding-inline-start: 20px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.tk-step--card .tk-step__num {
    position: static;
    margin-bottom: 12px;
}
.tk-step--card h3 { font-size: 1.08rem; }
.tk-step__num {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--cyan-dim);
    border: 1px solid var(--cyan-line);
    color: var(--cyan);
    font-weight: 800;
    font-size: .95rem;
}

.tk-coverage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.tk-coverage__gov h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--cyan);
}
.tk-coverage__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
}
.tk-coverage__list span {
    color: var(--silver);
    font-size: .92rem;
    padding-block: 2px;
    border-bottom: 1px solid var(--line-soft);
}

.tk-cta-band {
    background:
        radial-gradient(700px 220px at 80% 0%, rgba(0, 180, 230, .14), transparent 60%),
        var(--bg-card);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    padding: 42px 28px;
}

.tk-cta-split {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    overflow: hidden;
}
.tk-cta-split--pair {
    grid-template-columns: 1fr 1fr;
}
.tk-cta-split__pane {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    min-width: 0;
    padding: 32px 28px;
}
.tk-cta-split:not(.tk-cta-split--pair) .tk-cta-split__pane {
    align-items: center;
    text-align: center;
    padding: 36px 28px;
}
.tk-cta-split__pane h2 {
    margin: 0 0 8px;
    font-size: 1.22rem;
    line-height: 1.35;
}
.tk-cta-split__pane p {
    margin: 0;
    flex: 1;
}
.tk-cta-split__pane .tk-btn {
    margin-top: 18px;
}
.tk-cta-split--pair .tk-cta-split__pane + .tk-cta-split__pane {
    border-inline-start: 1px solid var(--line);
}

@media (max-width: 720px) {
    .tk-cta-split--pair {
        grid-template-columns: 1fr;
    }
    .tk-cta-split--pair .tk-cta-split__pane + .tk-cta-split__pane {
        border-inline-start: none;
        border-block-start: 1px solid var(--line);
    }
    .tk-cta-split__pane,
    .tk-cta-split:not(.tk-cta-split--pair) .tk-cta-split__pane {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px 12px;
        padding: 14px 16px;
        text-align: start;
    }
    .tk-cta-split__pane h2 {
        margin: 0;
        font-size: 1rem;
        flex: 1 1 0;
        min-width: 0;
    }
    .tk-cta-split__pane p {
        display: none;
    }
    .tk-cta-split__pane .tk-btn {
        margin-top: 0;
        flex: 0 0 auto;
        padding: 10px 14px;
        font-size: .9rem;
    }
}

.tk-prose { max-width: 42rem; }
.tk-prose h2 { margin-top: 1.6rem; font-size: 1.2rem; }
.tk-prose p { color: var(--silver-dim); }

.tk-faq-page {
    max-width: 46rem;
    margin-inline: auto;
}
.tk-faq { display: grid; gap: 10px; }
.tk-faq__item {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 4px 18px;
}
.tk-faq__item summary {
    cursor: pointer;
    list-style: none;
    color: var(--text);
    font-weight: 700;
    padding: 14px 0;
}
.tk-faq__item summary::-webkit-details-marker { display: none; }
.tk-faq__item summary::after {
    content: '❄';
    float: right;
    color: var(--cyan);
    font-weight: 800;
    transition: transform .25s ease;
}
html[dir="rtl"] .tk-faq__item summary::after { float: left; }
.tk-faq__item[open] summary::after { content: '❄'; transform: rotate(180deg); }
.tk-faq__item p { color: var(--silver-dim); padding-bottom: 14px; margin: 0; }

/* Legacy name chip removed — account uses .tk-account instead. */

.tk-badge--inline {
    display: inline-flex;
    vertical-align: middle;
    margin-inline-start: 8px;
    font-size: .68rem;
    padding: 2px 8px;
}

.tk-starrate {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
    justify-content: flex-end;
    direction: ltr;
}
.tk-starrate input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.tk-starrate label {
    cursor: pointer;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--silver-faint);
    transition: color .12s, transform .12s;
}
.tk-starrate label:hover,
.tk-starrate label:hover ~ label,
.tk-starrate input:checked ~ label {
    color: var(--warn);
}
.tk-starrate label:hover { transform: scale(1.08); }

.tk-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.tk-request-cards { display: none; gap: 12px; }
.tk-request-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
    color: inherit;
    transition: border-color .15s, transform .12s;
}
.tk-request-card:hover { border-color: var(--cyan-line); transform: translateY(-2px); color: inherit; }
.tk-card.tk-table-wrap {
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tk-fab {
    display: none;
}

@keyframes tk-rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.tk-reveal {
    animation: tk-rise .55s ease both;
    animation-delay: var(--tk-delay, 0s);
}
.tk-reveal--2 { --tk-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
    .tk-reveal { animation: none; }
    .tk-btn:hover, .tk-card--link:hover, .tk-request-card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
    .tk-hero__inner,
    .tk-hero--photo .tk-hero__inner { grid-template-columns: 1fr; }
    .tk-hero__art { order: -1; }
    .tk-hero__art img { width: 190px; }
    .tk-hero h1 { font-size: 2.1rem; }
    .tk-hero--photo {
        min-height: 0;
        padding-block: 56px 64px;
    }
    .tk-hero--photo h1 { font-size: 2.05rem; }
    .tk-hero--photo .tk-hero__shade,
    html[dir="ltr"] .tk-hero--photo .tk-hero__shade {
        background:
            linear-gradient(to top, rgba(6, 8, 12, .9) 0%, rgba(6, 8, 12, .58) 48%, rgba(6, 8, 12, .4) 100%);
    }
    .tk-grid--3, .tk-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .tk-coverage { grid-template-columns: 1fr; }
    .tk-banner__nav { display: none; }
}

/* Tablet + compact desktop: lean dropdown under the header (not a side drawer). */
@media (max-width: 1100px) {
    :root {
        --tk-safe-top: env(safe-area-inset-top, 0px);
        --tk-safe-bottom: env(safe-area-inset-bottom, 0px);
        --tk-header-h: 58px;
    }

    .tk-header {
        padding-top: var(--tk-safe-top);
    }
    .tk-header__inner {
        position: relative;
        min-height: var(--tk-header-h);
        gap: 12px;
    }
    .tk-logo__en { display: none; }
    .tk-header__actions {
        margin-inline-start: auto;
        gap: 8px;
        position: relative;
        z-index: 72;
    }
    .tk-header__auth { display: none; }
    .tk-hide-mobile { display: none !important; }

    /* Theme moves into the dropdown; keep lang + burger in the top bar. */
    .tk-header__actions > .tk-themeswitch { display: none; }
    .tk-themeswitch--sheet {
        display: inline-flex;
        width: 40px;
        height: 40px;
    }

    .tk-langswitch a {
        padding: 7px 11px;
        font-size: .8rem;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
    }

    .tk-burger__btn { display: inline-flex; }

    .tk-burger:checked ~ .tk-header__actions .tk-burger__btn {
        border-color: var(--cyan-line);
        color: var(--cyan);
    }
    .tk-burger:checked ~ .tk-header__actions .tk-burger__btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .tk-burger:checked ~ .tk-header__actions .tk-burger__btn span:nth-child(2) {
        opacity: 0;
    }
    .tk-burger:checked ~ .tk-header__actions .tk-burger__btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .tk-burger__backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 55;
        background: rgba(0, 0, 0, .35);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .18s, visibility .18s;
    }
    .tk-burger:checked ~ .tk-burger__backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .tk-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        inset-inline: 0;
        z-index: 60;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        width: auto;
        max-height: min(70vh, 520px);
        padding: 10px;
        background: var(--bg-raised);
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: var(--shadow-pop);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: none;
    }
    html[dir="rtl"] .tk-nav {
        transform: none;
        box-shadow: var(--shadow-pop);
    }
    .tk-burger:checked ~ .tk-nav {
        display: flex;
        transform: none;
    }

    .tk-nav > a {
        padding: 12px 14px;
        font-size: .95rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        border-radius: 10px;
    }

    .tk-nav__panel {
        display: grid;
        gap: 10px;
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid var(--line);
    }
    .tk-nav__panel-tools {
        display: flex;
        justify-content: flex-end;
    }
    .tk-nav__account {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 10px;
        border-radius: 10px;
        background: var(--bg-hover);
        color: inherit;
        text-decoration: none;
    }
    a.tk-nav__account:hover {
        color: inherit;
        background: var(--bg-card);
    }
    a.tk-nav__account.is-active {
        box-shadow: inset 0 0 0 1px var(--cyan-line);
        background: var(--cyan-dim);
    }
    .tk-nav__account-meta {
        min-width: 0;
        display: grid;
        gap: 2px;
    }
    .tk-nav__account-label {
        font-size: .72rem;
        font-weight: 700;
        color: var(--silver-dim);
    }
    .tk-nav__account-name {
        font-size: .9rem;
        font-weight: 600;
        color: var(--text);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .tk-nav__auth {
        display: grid;
        gap: 8px;
    }
    .tk-nav__logout { margin: 0; }
}

@media (max-width: 720px) {
    :root {
        --tk-tabs-h: 64px;
        --tk-safe-bottom: env(safe-area-inset-bottom, 0px);
        --tk-safe-top: env(safe-area-inset-top, 0px);
        --tk-header-h: 56px;
    }

    .tk-body:has(.tk-tabs),
    .tk-body.tk-body--tabs {
        padding-bottom: calc(var(--tk-tabs-h) + var(--tk-safe-bottom));
    }

    .tk-header__inner {
        gap: 10px;
        min-height: var(--tk-header-h);
    }
    .tk-logo-mark { width: 36px; height: 36px; }
    .tk-logo__ar { font-size: .98rem; }
    .tk-header__actions { gap: 6px; }

    /* Dropdown sits under the header; bottom tabs stay independent. */

    /* Bottom tab bar */
    .tk-tabs {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        z-index: 50;
        min-height: calc(var(--tk-tabs-h) + var(--tk-safe-bottom));
        padding: 6px 4px calc(6px + var(--tk-safe-bottom));
        background: var(--header-bg);
        backdrop-filter: blur(14px);
        border-top: 1px solid var(--line);
        box-shadow: var(--shadow-up);
    }
    .tk-body--tech .tk-tabs {
        grid-template-columns: repeat(4, 1fr);
    }
    .tk-tabs--staff-operations_manager {
        grid-template-columns: repeat(5, 1fr);
    }
    .tk-tabs--staff-catalogue_manager {
        grid-template-columns: repeat(3, 1fr);
    }

    .tk-tabs__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-height: 48px;
        padding: 4px 2px;
        color: var(--silver-dim);
        font-size: .68rem;
        font-weight: 700;
        line-height: 1.15;
        text-align: center;
        border-radius: 12px;
        -webkit-tap-highlight-color: transparent;
    }
    .tk-tabs__item svg {
        width: 22px;
        height: 22px;
        display: block;
    }
    .tk-tabs__item.is-active { color: var(--cyan); }
    .tk-tabs__item--book {
        position: relative;
        top: -10px;
        color: var(--cyan);
    }
    .tk-tabs__book {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: var(--cyan);
        color: #04222B;
        display: grid;
        place-items: center;
        box-shadow: 0 8px 22px rgba(0, 180, 230, .4);
        margin-bottom: 2px;
    }
    .tk-tabs__book svg { width: 26px; height: 26px; }
    .tk-tabs__item--book.is-active .tk-tabs__book {
        background: var(--cyan-bright);
    }
    .tk-tabs__item--book span:last-child {
        color: var(--cyan);
    }

    /* Sticky action / booking bar sits above the tabs.
       Leave room for the elevated Book FAB so it does not cover actions. */
    .tk-stickybar {
        display: flex;
        align-items: center;
        gap: 10px;
        position: fixed;
        inset-inline: 0;
        bottom: calc(var(--tk-tabs-h) + var(--tk-safe-bottom) + 14px);
        z-index: 45;
        padding: 10px 14px;
        background: var(--header-bg);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--line);
        box-shadow: var(--shadow-up);
    }
    .tk-stickybar--split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; }
    /* Call + WhatsApp on one row, complete full-width underneath. */
    .tk-stickybar--trio {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
    .tk-stickybar--trio .tk-stickybar__btn-wrap {
        grid-column: 1 / -1;
    }

    .tk-stickybar__btn-wrap { margin: 0; display: flex; }
    .tk-stickybar__btn-wrap .tk-btn { width: 100%; min-height: 48px; }

    .tk-stickybar__meta {
        display: flex;
        flex-direction: column;
        min-width: 0;
        flex: 1;
    }
    .tk-stickybar__label {
        font-size: .72rem;
        color: var(--silver-faint);
        font-weight: 600;
    }
    .tk-stickybar__value {
        color: var(--text);
        font-weight: 800;
        font-size: clamp(1rem, 4.2vw, 1.15rem);
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.2;
    }
    .tk-stickybar__btn {
        flex: 1.15;
        min-height: 48px;
        width: auto;
        padding-inline: 10px;
        white-space: normal;
        line-height: 1.2;
        font-size: .9rem;
        text-align: center;
    }
    .tk-stickybar__full { width: 100%; margin: 0; }
    .tk-book-submit--desktop { display: none; }

    .tk-body:has(.tk-stickybar),
    .tk-body.tk-body--sticky {
        padding-bottom: calc(var(--tk-tabs-h) + var(--tk-safe-bottom) + 96px);
    }
    .tk-body:has(.tk-stickybar--trio),
    .tk-body.tk-body--sticky-trio {
        padding-bottom: calc(var(--tk-tabs-h) + var(--tk-safe-bottom) + 150px);
    }

    .tk-grid--2, .tk-grid--3, .tk-grid--4 { grid-template-columns: 1fr; }
    .tk-choice--2, .tk-choice--3 { grid-template-columns: 1fr; }
    .tk-choice__box {
        padding: 18px 16px;
        min-height: 64px;
    }
    .tk-input,
    .tk-select,
    .tk-textarea {
        padding: 14px 14px;
        font-size: 1rem;
        min-height: 48px;
    }
    .tk-textarea { min-height: 120px; }
    .tk-fieldset {
        padding: 16px;
        border-radius: 16px;
        margin-bottom: 14px;
    }
    .tk-fieldset > legend {
        font-size: 1rem;
        padding-inline: 6px;
    }

    h1 { font-size: 1.55rem; }
    .tk-pagehead { margin-bottom: 18px; }
    .tk-pagehead h1 { font-size: 1.45rem; }

    .tk-container { padding-inline: 16px; }
    .tk-banner__dots { bottom: 10px; }

    .tk-hero {
        padding-block: 28px 22px;
        background:
            radial-gradient(720px 280px at 50% -20%, rgba(0, 180, 230, .2), transparent 60%),
            var(--bg);
    }
    .tk-hero--photo {
        padding-block: 32px 56px;
        min-height: 0;
    }
    .tk-hero--photo .tk-brand-mark { display: none; }
    .tk-hero__art { display: none; }
    .tk-hero h1,
    .tk-hero--photo h1 { font-size: 1.65rem; line-height: 1.25; }
    .tk-hero__lead { font-size: .98rem; margin-bottom: 0; }
    .tk-trust { margin-top: 1.15rem; gap: 8px 14px; }
    .tk-trust li { font-size: .86rem; }
    .tk-brand-mark { margin-bottom: 10px; }
    .tk-brand-mark__ar { font-size: 1.35rem; }
    .tk-row.tk-mt-2 {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 18px;
    }
    .tk-service {
        padding: 20px 18px;
        min-height: 148px;
        border-radius: 16px;
    }
    .tk-service__icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }
    .tk-service__icon svg { width: 28px; height: 28px; }
    .tk-service h3 { font-size: 1.15rem; }
    .tk-price { font-size: 1.65rem; }

    .tk-card { padding: 18px; border-radius: 16px; }
    .tk-card--pad-lg { padding: 20px; }
    .tk-btn {
        width: 100%;
        min-height: 48px;
        padding: 13px 18px;
        font-size: 1rem;
        border-radius: 12px;
    }
    .tk-btn--inline { width: auto; min-height: 40px; }
    .tk-btn--sm,
    .tk-btn--inline { min-height: 44px; padding: 10px 14px; }
    .tk-btn--lg { min-height: 52px; font-size: 1.05rem; }

    .tk-pagehead .tk-row--between {
        align-items: flex-start;
        gap: 8px;
    }
    .tk-pagehead h1 { min-width: 0; flex: 1 1 auto; }
    .tk-extras-card .tk-row--between > :first-child {
        min-width: 0;
        overflow-wrap: anywhere;
        padding-inline-end: 10px;
    }
    /* Scrollable tables stay usable; list pages swap to cards instead. */
    .tk-table-wrap {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }
    .tk-table-wrap:has(.tk-table--desktop),
    .tk-table-wrap--cards { display: none; }
    .tk-row .tk-btn { flex: 1 1 auto; }
    .tk-extra-actions .tk-btn { width: 100%; }
    .tk-extra-actions { gap: 8px; }

    .tk-table--desktop { display: none; }
    .tk-request-cards { display: grid; gap: 12px; }
    .tk-request-card {
        padding: 18px 16px;
        border-radius: 16px;
        min-height: 96px;
    }

    .tk-main { padding-block: 22px 28px; }
    .tk-section { padding-block: 36px; }
    .tk-step { padding: 18px; }
    .tk-step__num {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .tk-auth {
        max-width: none;
        margin: 8px auto 24px;
    }
    .tk-auth__head img,
    .tk-auth__head .tk-logo-full { width: 72px; }
    .tk-auth__head h1 { font-size: 1.45rem; }
    .tk-check {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .tk-footer {
        padding-bottom: 12px;
    }
    .tk-footer .tk-grid--3 > div:nth-child(2),
    .tk-footer .tk-grid--3 > div:nth-child(3) {
        display: none;
    }
    .tk-footer__bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        font-size: .78rem;
    }

    .tk-starrate label {
        font-size: 2rem;
        padding: 6px;
        min-width: 44px;
        min-height: 44px;
        display: inline-grid;
        place-items: center;
    }

    .tk-facts {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .tk-alert { padding: 14px; border-radius: 14px; }

    /* Hide in-card call/complete only when a sticky bar already covers them. */
    .tk-body:has(.tk-stickybar--split) .tk-tech-contact { display: none; }
    .tk-body.tk-body--sticky-split .tk-tech-contact { display: none; }
    .tk-body:has(.tk-stickybar__full) .tk-complete-form .tk-btn,
    .tk-body:has(.tk-stickybar__btn-wrap) .tk-complete-form .tk-btn { display: none; }
    .tk-body.tk-body--sticky-full .tk-complete-form .tk-btn,
    .tk-body.tk-body--sticky-btns .tk-complete-form .tk-btn { display: none; }

    .tk-checkwall__list {
        grid-template-columns: 1fr 1fr;
    }

    .tk-photo-preview img {
        width: 96px;
        height: 96px;
    }

    /* Auth screens: quieter chrome, room for the tab bar. */
    .tk-auth {
        padding-bottom: 12px;
    }
    .tk-auth .tk-card {
        border-radius: 18px;
        padding: 22px 18px;
    }
    .tk-auth__head {
        margin-bottom: 18px;
    }
    .tk-auth__head h1 {
        font-size: 1.4rem;
    }

    /* Coverage chips stay scannable without horizontal scroll traps. */
    .tk-coverage__list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .tk-coverage__list span {
        padding: 8px 12px;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        background: var(--bg-raised);
        border: 1px solid var(--line);
        font-size: .86rem;
    }

    .tk-choice__box {
        min-height: 64px;
        padding: 16px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .tk-fieldset {
        padding: 16px;
        border-radius: 16px;
    }

    .tk-input,
    .tk-select,
    .tk-textarea {
        min-height: 48px;
        font-size: 1rem;
        padding: 12px 14px;
        border-radius: 12px;
    }
    .tk-textarea { min-height: 120px; }
}

@media (max-width: 380px) {
    .tk-tabs__item { font-size: .62rem; }
    .tk-tabs__book { width: 48px; height: 48px; }
    .tk-hero h1,
    .tk-hero--photo h1 { font-size: 1.45rem; }

    /* Keep header chrome from forcing horizontal scroll on small phones. */
    .tk-logo__ar { max-width: 9.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .tk-header__actions { gap: 4px; }
    .tk-langswitch a { padding: 7px 9px; }
    .tk-stickybar__btn { font-size: .82rem; padding-inline: 8px; }
}

/* ---- batch 2 polish ---- */
.tk-checklist {
    list-style: none;
    margin: 12px 0 16px;
    padding: 0;
    display: grid;
    gap: 8px;
}
.tk-checklist li {
    position: relative;
    padding-inline-start: 1.4rem;
    color: var(--silver-dim);
    font-size: .92rem;
}
.tk-checklist li::before {
    content: '✓';
    position: absolute;
    inset-inline-start: 0;
    color: var(--cyan);
    font-weight: 800;
}

.tk-coverage--compact { gap: 14px; }
.tk-coverage--compact .tk-coverage__gov h3 { font-size: .95rem; margin-bottom: 6px; }

.tk-checkwall__group { margin-bottom: 16px; }
.tk-checkwall__title {
    margin: 0 0 8px;
    color: var(--cyan);
    font-size: .95rem;
}
.tk-checkwall__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}

.tk-photo-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.tk-photo-preview img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
}
.tk-photo-preview--single img {
    width: 112px;
    height: 112px;
}


/* --------------------------------------------------------------------------
   Map picker (booking + technician profile)
   -------------------------------------------------------------------------- */

.tk-map {
    margin-top: 12px;
    margin-bottom: 8px;
}
.tk-map__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.tk-map__status {
    color: var(--silver-dim);
    font-size: .88rem;
    font-weight: 600;
}
.tk-map__canvas {
    width: 100%;
    height: 240px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(0, 180, 230, .08), transparent 55%),
        var(--bg-input);
    overflow: hidden;
}
.tk-map__canvas--empty {
    display: grid;
    place-items: center;
    color: var(--silver-faint);
    font-size: .9rem;
}
.tk-map__canvas--empty::after {
    content: attr(data-empty-label);
}
.tk-map__fallback {
    margin-top: 8px;
}
.tk-map-view {
    display: block;
    margin-top: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    overflow: hidden;
}
.tk-map-view iframe,
.tk-map-view img {
    display: block;
    width: 100%;
    height: 200px;
    border: 0;
}
.tk-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-weight: 700;
}

@media (max-width: 720px) {
    .tk-map__canvas { height: 220px; }
    .tk-map__toolbar {
        flex-wrap: wrap;
        gap: 8px;
    }
    .tk-map__toolbar .tk-btn { width: auto; min-height: 44px; flex: 1 1 auto; }
    .tk-map__status { width: 100%; }
    .tk-map-view { min-height: 200px; }
}

/* --------------------------------------------------------------------------
   UX / accessibility (focus, skip link, form progress, busy submit)
   -------------------------------------------------------------------------- */

.tk-skip {
    position: absolute;
    inset-inline-start: 12px;
    top: 12px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--cyan);
    color: #04222B;
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform .15s ease;
}
.tk-skip:focus,
.tk-skip:focus-visible {
    transform: translateY(0);
    outline: 2px solid var(--text);
    outline-offset: 2px;
}

:where(a, button, .tk-btn, .tk-tabs__item, .tk-burger__btn, .tk-adminmenu-btn, .tk-sidebar__link, .tk-sidebar__close, .tk-banner__nav, .tk-banner__dot, summary):focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

.tk-choice label:focus-within .tk-choice__box,
.tk-choice input:focus-visible + .tk-choice__box {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
    border-color: var(--cyan-line);
}

.tk-btn.is-busy,
.tk-btn[disabled].is-busy {
    opacity: .72;
    pointer-events: none;
    cursor: wait;
}

.tk-form-progress {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    margin: 0 0 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.tk-form-progress::-webkit-scrollbar { display: none; }
.tk-form-progress__item {
    flex: 1 0 auto;
    min-width: 4.5rem;
    text-align: center;
    font-family: inherit;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--silver-faint);
    text-decoration: none;
    padding: 8px 6px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--bg-raised);
}
.tk-form-progress__item:hover { color: var(--text); border-color: var(--cyan-line); }
.tk-form-progress__item.is-active {
    color: var(--cyan);
    border-color: var(--cyan-line);
    background: var(--cyan-dim);
}
.tk-form-progress__item.is-complete {
    color: var(--ok);
    border-color: rgba(35, 198, 136, .35);
}

.tk-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}
.tk-timeline li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 7px;
    color: var(--silver-faint);
    font-size: .76rem;
    font-weight: 700;
    text-align: center;
}
.tk-timeline li::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 15px;
    inset-inline-start: -50%;
    width: 100%;
    height: 2px;
    background: var(--line);
}
.tk-timeline li:first-child::before { display: none; }
.tk-timeline__dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--bg-raised);
}
.tk-timeline li.is-complete,
.tk-timeline li.is-current { color: var(--text); }
.tk-timeline li.is-complete::before,
.tk-timeline li.is-current::before { background: var(--cyan); }
.tk-timeline li.is-complete .tk-timeline__dot {
    color: #061712;
    border-color: var(--ok);
    background: var(--ok);
}
.tk-timeline li.is-current .tk-timeline__dot {
    color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 0 5px var(--cyan-dim);
}
.tk-timeline.is-terminal li.is-current .tk-timeline__dot {
    color: var(--warn);
    border-color: var(--warn);
    box-shadow: 0 0 0 5px rgba(240, 172, 59, .12);
}
.tk-request-history {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}
.tk-request-history summary {
    padding: 12px 15px;
    color: var(--silver);
    font-weight: 700;
    cursor: pointer;
}
.tk-request-history ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0 15px 15px;
    list-style: none;
}
.tk-request-history li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--silver-dim);
    font-size: .82rem;
}
.tk-select--compact {
    min-height: 38px;
    width: auto;
    max-width: 12rem;
    padding-block: 6px;
    font-size: .8rem;
}
.tk-chip {
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-raised);
    color: var(--silver);
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
}
.tk-chip:hover,
.tk-chip.is-active {
    color: var(--cyan);
    border-color: var(--cyan-line);
    background: var(--cyan-dim);
}
.tk-cancel-reasons {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
}
.tk-cancel-reasons > legend {
    padding: 0;
    margin-bottom: 8px;
}
.tk-cancel-reasons__list {
    display: grid;
    gap: 6px;
}
.tk-cancel-reasons__option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    background: var(--bg-raised);
    cursor: pointer;
}
.tk-cancel-reasons__option:hover {
    border-color: var(--cyan-line);
    background: var(--bg-hover);
}
.tk-cancel-reasons__option:has(input:checked) {
    color: var(--cyan);
    border-color: var(--cyan-line);
    background: var(--cyan-dim);
}
.tk-cancel-reasons__option:has(input:focus-visible) {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}
.tk-cancel-reasons__option input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--cyan);
    flex-shrink: 0;
    cursor: pointer;
}
.tk-cancel-reasons__option span {
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.35;
}
.tk-cancel-dialog {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(6, 10, 16, .72);
}
.tk-cancel-dialog[hidden] { display: none; }
.tk-cancel-dialog__panel {
    width: min(100%, 400px);
    max-height: min(90vh, 640px);
    overflow: auto;
    padding: 20px 18px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .35);
}
.tk-cancel-dialog__close {
    border: 0;
    background: transparent;
    color: var(--silver);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}
.tk-cancel-dialog__close:hover { color: var(--cyan); }
.tk-cancel-form { margin: 0; }
.tk-map-disclosure {
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}
.tk-map-disclosure > summary {
    padding: 13px 15px;
    color: var(--cyan);
    font-weight: 700;
    cursor: pointer;
}
.tk-map-disclosure[open] > summary {
    border-bottom: 1px solid var(--line);
}
.tk-map-disclosure > .tk-map { margin: 0; padding: 14px; }
.is-price-pop { animation: tk-price-pop .32s ease-out; }
@keyframes tk-price-pop {
    50% { color: var(--cyan-bright); transform: translateY(-2px) scale(1.06); }
}
.tk-support-request,
.tk-admin-editor {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}
.tk-support-request > summary,
.tk-admin-editor > summary {
    padding: 14px 16px;
    color: var(--cyan);
    font-weight: 800;
    cursor: pointer;
}
.tk-support-request > form,
.tk-admin-editor__body {
    padding: 0 16px 16px;
}
.tk-support-grid {
    display: grid;
    gap: 14px;
}
.tk-input--short { width: 8rem; }
.tk-earnings {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.tk-stat {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}
.tk-stat span { color: var(--silver-dim); font-size: .78rem; }
.tk-stat strong { color: var(--cyan); font-size: 1.12rem; }
@media (max-width: 720px) {
    .tk-earnings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tk-header,
.tk-header__inner,
.tk-header__actions { overflow: visible; }
.tk-notices { position: relative; display: inline-block; flex-shrink: 0; }
.tk-notification-bell {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--silver);
    background: var(--bg-raised);
}
.tk-notices__btn {
    list-style: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}
.tk-notices__btn::-webkit-details-marker { display: none; }
.tk-notices__btn::marker { content: ''; }
.tk-notices__btn:hover,
.tk-notices[open] .tk-notices__btn { border-color: var(--cyan-line); color: var(--text); }
.tk-notices__btn:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}
.tk-notification-bell svg { width: 19px; height: 19px; }
.tk-notification-bell__count {
    position: absolute;
    top: -5px;
    inset-inline-end: -6px;
    min-width: 19px;
    padding: 2px 5px;
    border-radius: 999px;
    color: #061016;
    background: var(--cyan-bright);
    font-size: .65rem;
    font-weight: 900;
    text-align: center;
}
.tk-notices__panel {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    z-index: 72;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(360px, calc(100vw - 24px));
    max-height: min(70vh, 440px);
    padding: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg-raised);
    box-shadow: var(--shadow-pop);
}
.tk-notices__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.tk-notices__head strong { color: var(--text); font-size: .95rem; }
.tk-notices__quiet {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--cyan);
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}
.tk-notices__quiet:hover { color: var(--cyan-bright); }
.tk-notices__empty {
    margin: 0;
    padding: 14px 8px;
    color: var(--silver-dim);
    font-size: .88rem;
    text-align: center;
}
.tk-notices__head,
.tk-notices__panel > .tk-btn { flex: 0 0 auto; }
.tk-notices__list,
.tk-notices__empty {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.tk-notices__list { display: grid; align-content: start; gap: 8px; }
.tk-notices .tk-notification button {
    padding: 10px 12px;
    grid-template-columns: 8px 1fr;
    gap: 10px;
}
.tk-notices .tk-notification button > span:last-child { gap: 2px; }
.tk-notices .tk-notification button strong,
.tk-notices .tk-notification button span span {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tk-notices .tk-notification__dot { margin-top: 6px; }
@media (max-width: 1100px) {
    /* Hang the panel from the header row so a 360px card cannot clip off-screen. */
    .tk-notices { position: static; }
    .tk-notices__panel {
        top: calc(100% + 8px);
        inset-inline: 10px;
        width: auto;
        max-width: none;
    }
}
.tk-notification-list { display: grid; gap: 10px; }
.tk-notification {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}
.tk-notification.is-unread {
    border-color: var(--cyan-line);
    background: linear-gradient(90deg, var(--cyan-dim), var(--bg-card) 45%);
}
.tk-notification button {
    display: grid;
    grid-template-columns: 10px 1fr;
    gap: 12px;
    width: 100%;
    padding: 16px;
    border: 0;
    color: var(--text);
    background: transparent;
    font: inherit;
    text-align: start;
    cursor: pointer;
}
.tk-notification button > span:last-child { display: grid; gap: 5px; }
.tk-notification button span span,
.tk-notification button small { color: var(--silver-dim); }
.tk-notification__dot {
    width: 8px;
    height: 8px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--line);
}
.tk-notification.is-unread .tk-notification__dot { background: var(--cyan); }
.tk-otp-input {
    letter-spacing: .45em;
    text-align: center;
    font-size: 1.35rem;
}
.tk-rebook { position: relative; overflow: hidden; }
.tk-rebook::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%);
    background: linear-gradient(110deg, transparent 25%, rgba(120, 231, 255, .24), transparent 70%);
    transition: transform .45s ease;
    pointer-events: none;
}
.tk-rebook:hover::after { transform: translateX(120%); }
.tk-service--link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}
.tk-service--link .tk-service__price { margin-top: auto; }
.tk-service--link:hover { color: inherit; border-color: var(--cyan-line); }
.tk-proof-band {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--cyan-line);
    border-radius: var(--radius);
    background: linear-gradient(90deg, var(--cyan-dim), var(--bg-card), var(--cyan-dim));
}
.tk-proof-band__stars { color: var(--warn); letter-spacing: .08em; }
.tk-coverage-checker {
    max-width: 620px;
    margin: 0 auto 24px;
    padding: 18px;
    border: 1px solid var(--cyan-line);
    border-radius: var(--radius);
    background: var(--bg-card);
}
.tk-tech-earnings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--cyan-line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--cyan-dim), var(--bg-card));
}
.tk-tech-earnings__calc {
    padding: 18px;
    border-radius: var(--radius-sm);
    background: var(--bg-raised);
}
.tk-tech-earnings__calc input[type="range"] { width: 100%; accent-color: var(--cyan); }
.tk-tech-earnings__calc strong { color: var(--cyan); font-size: 1.3rem; }
.tk-tech-earnings__calc small { color: var(--silver-dim); }
.tk-onboarding {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.tk-onboarding li {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}
.tk-onboarding li > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #061016;
    background: var(--cyan);
    font-weight: 900;
}
.tk-faq-search { margin-bottom: 18px; }
.tk-faq-more { margin-top: 2rem; }
.tk-legal-toc {
    position: sticky;
    top: calc(var(--tk-header-h, 56px) + 12px);
    z-index: 3;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 0 0 24px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--header-bg);
    backdrop-filter: blur(12px);
}
.tk-legal-toc strong,
.tk-legal-toc a {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: .76rem;
}
.tk-legal-toc a { border: 1px solid var(--line); background: var(--bg-raised); }
.tk-prose h2[id] { scroll-margin-top: calc(var(--tk-header-h, 56px) + 90px); }
@media (max-width: 720px) {
    .tk-tech-earnings { grid-template-columns: 1fr; }
    .tk-onboarding { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tk-admin-request-cards,
.tk-admin-mobile-cards { display: none; }
.tk-cancel-stats {
    display: grid;
    gap: 12px;
}
.tk-cancel-stats__row {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
}
.tk-cancel-stats__bar {
    margin-top: 8px;
    height: 6px;
    border-radius: 999px;
    background: var(--bg-raised);
    overflow: hidden;
}
.tk-cancel-stats__bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--cyan);
}
.tk-bucket-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 0 0 20px;
    padding-bottom: 4px;
}
.tk-bucket-nav a {
    flex: 0 0 auto;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--silver);
    background: var(--bg-raised);
    font-size: .82rem;
    font-weight: 700;
}
.tk-bucket-nav a.is-active {
    color: var(--cyan);
    border-color: var(--cyan-line);
    background: var(--cyan-dim);
}
.tk-review-quote {
    margin: 14px 0;
    padding: 12px 14px;
    border-inline-start: 3px solid var(--cyan);
    color: var(--silver);
    background: var(--bg-raised);
}
.tk-dispatch-confirmation {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    align-items: center;
    margin: 0 0 22px;
    padding: 20px;
    border: 1px solid var(--cyan-line);
    border-radius: var(--radius);
    background: linear-gradient(120deg, var(--cyan-dim), var(--bg-card));
}
.tk-dispatch-confirmation h2 { margin: 8px 0 6px; font-size: 1.2rem; }
.tk-dispatch-confirmation p { margin: 0; color: var(--silver-dim); }
.tk-dispatch-radar {
    position: relative;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
}
.tk-dispatch-radar span {
    position: absolute;
    width: 34px;
    height: 34px;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    animation: tk-dispatch-wave 2s ease-out infinite;
}
.tk-dispatch-radar span:nth-child(2) { animation-delay: 1s; }
.tk-dispatch-radar i {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #061016;
    background: var(--cyan);
    font-style: normal;
}
@keyframes tk-dispatch-wave {
    from { opacity: .8; transform: scale(.8); }
    to { opacity: 0; transform: scale(2.1); }
}
.tk-match-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.tk-match-signals span {
    padding: 4px 8px;
    border: 1px solid var(--cyan-line);
    border-radius: 999px;
    color: var(--cyan);
    background: var(--cyan-dim);
    font-size: .7rem;
    font-weight: 700;
}
@media (max-width: 720px) {
    .tk-admin-request-cards,
    .tk-admin-mobile-cards { display: grid; gap: 10px; }
    .tk-admin-request-card,
    .tk-admin-mobile-card {
        display: grid;
        gap: 8px;
        padding: 15px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        color: var(--text);
        background: var(--bg-card);
    }
    .tk-admin-request-card h3,
    .tk-admin-request-card p,
    .tk-admin-mobile-card h3,
    .tk-admin-mobile-card p { margin: 0; }
    .tk-admin-requests-table,
    .tk-admin-desktop-table { display: none; }
    .tk-dispatch-confirmation { grid-template-columns: 1fr; text-align: center; }
    .tk-dispatch-radar { margin: 0 auto; }
}
.tk-fieldset[id] {
    scroll-margin-top: calc(var(--tk-header-h, 56px) + var(--tk-safe-top, 0px) + 12px);
    scroll-margin-bottom: calc(var(--tk-tabs-h, 64px) + 96px);
}
.tk-input,
.tk-select,
.tk-textarea,
.tk-choice__box {
    scroll-margin-bottom: calc(var(--tk-tabs-h, 64px) + 96px);
}

.tk-payment-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--bg-raised);
    color: var(--silver-dim);
    font-size: .92rem;
}
.tk-payment-note strong { color: var(--text); display: block; margin-bottom: 2px; }

.tk-empty__actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.tk-hero--photo .tk-hero__lead { margin-bottom: 14px; }

@media (max-width: 720px) {
    .tk-hero--photo .tk-row.tk-mt-2 {
        margin-top: 16px;
    }
    .tk-hero--photo .tk-trust {
        margin-bottom: 8px;
    }
    .tk-form-progress__item { min-width: 5.2rem; font-size: .74rem; }
    .tk-btn,
    .tk-tabs__item,
    .tk-choice__box {
        min-height: 44px;
    }
}


@media (max-width: 720px) {
    .tk-home-steps { grid-template-columns: 1fr; }
}

.tk-form-inline{margin:0;display:inline;}
.tk-auth-narrow{max-width:520px;}
.tk-max-sm{max-width:520px;}

/* Customer account: readable desktop composition + stacked mobile */
.tk-account-page {
    width: 100%;
    max-width: 920px;
}
.tk-account-page__head {
    margin-bottom: 22px;
}
.tk-account-page__head h1 {
    margin-bottom: .35rem;
}
.tk-account-layout {
    display: grid;
    gap: 16px;
    align-items: start;
}
.tk-account-layout__heading {
    font-size: 1.08rem;
    margin: 0 0 16px;
}
.tk-account-layout__fields {
    display: grid;
    gap: 0 16px;
}
.tk-account-layout__verify {
    margin: 4px 0 18px;
    padding: 14px 14px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-raised);
}
.tk-account-layout__verify .tk-label {
    margin-bottom: 8px;
}
.tk-account-layout__verify .tk-help {
    margin-top: 8px;
}
.tk-account-layout__save {
    min-width: 9rem;
}
.tk-account-layout__aside {
    display: grid;
    gap: 12px;
}
.tk-account-layout__security .tk-muted {
    margin-bottom: 16px;
}
.tk-account-layout__note {
    margin: 0;
    padding: 0 2px;
    line-height: 1.45;
}
.tk-account-addresses {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}
.tk-account-addresses__head {
    margin-bottom: 16px;
}
.tk-account-addresses__head h2 {
    font-size: 1.28rem;
    margin: 0 0 .35rem;
}
.tk-account-addresses__grid {
    display: grid;
    gap: 16px;
}
.tk-account-address__title {
    margin-bottom: 12px;
}
.tk-account-address__actions {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

@media (min-width: 820px) {
    .tk-account-layout {
        grid-template-columns: minmax(0, 1.7fr) minmax(240px, .95fr);
        gap: 20px;
    }
    .tk-account-layout__fields {
        grid-template-columns: 1fr 1fr;
    }
    .tk-account-layout__email {
        grid-column: 1 / -1;
    }
    .tk-account-layout__security {
        position: sticky;
        top: 16px;
    }
    .tk-account-addresses__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 819px) {
    .tk-account-page__head {
        margin-bottom: 16px;
    }
    .tk-account-layout__profile.tk-card--pad-lg,
    .tk-account-layout__security.tk-card--pad-lg {
        padding: 18px 16px;
    }
    .tk-account-layout__save,
    .tk-account-layout__security .tk-btn {
        width: 100%;
    }
    .tk-account-addresses {
        margin-top: 26px;
        padding-top: 20px;
    }
}

/* --------------------------------------------------------------------------
   Quirky cooling flourishes
   -------------------------------------------------------------------------- */

::selection { background: rgba(0, 180, 230, .35); color: var(--text); }

@keyframes tk-wave-flow {
    to { stroke-dashoffset: -40; }
}
@keyframes tk-shine {
    from { transform: translateX(-130%); }
    to   { transform: translateX(130%); }
}
@keyframes tk-snow-fall {
    from { transform: translateY(-8vh) rotate(0deg); }
    to   { transform: translateY(110vh) rotate(240deg); }
}
@keyframes tk-burst-fly {
    from { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
    to   { opacity: 0; transform: translate(var(--tk-dx), var(--tk-dy)) scale(.4) rotate(var(--tk-rot)); }
}
@keyframes tk-pulse-glow {
    50% { box-shadow: 0 8px 22px rgba(0, 180, 230, .55), 0 0 0 8px rgba(0, 180, 230, .16); }
}
@keyframes tk-breathe {
    50% { transform: scale(1.06); box-shadow: 0 0 0 6px var(--cyan-dim); }
}
@keyframes tk-frost-sweep {
    0%   { transform: scaleX(0); opacity: .55; }
    55%  { transform: scaleX(1); opacity: .35; }
    100% { transform: scaleX(1); opacity: 0; }
}
@keyframes tk-toast-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tk-coolbar {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 80;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(to right, var(--cyan), var(--cyan-bright));
    pointer-events: none;
}
html[dir="rtl"] .tk-coolbar { transform-origin: right; }
html[dir="ltr"] .tk-coolbar { transform-origin: left; }
html[dir="rtl"] .tk-coolbar { background: linear-gradient(to left, var(--cyan), var(--cyan-bright)); }

.tk-scrolled .tk-header {
    box-shadow: 0 10px 28px rgba(0, 180, 230, .08);
    border-bottom-color: var(--cyan-line);
}

.tk-frostwipe {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(180, 240, 255, .45), rgba(0, 180, 230, .12));
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
}
html[dir="rtl"] .tk-frostwipe { transform-origin: right; }
.tk-frostwipe.is-on { animation: tk-frost-sweep .6s ease forwards; }

.tk-burst {
    position: fixed;
    inset: 0;
    z-index: 85;
    pointer-events: none;
    overflow: hidden;
}
.tk-burst__bit {
    position: absolute;
    width: 8px;
    height: 8px;
    margin: -4px;
    border-radius: 50%;
    background: var(--cyan-bright);
    box-shadow: 0 0 8px var(--cyan);
    animation: tk-burst-fly .65s ease-out forwards;
}
.tk-burst__bit:nth-child(odd) {
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: #fff;
}

.tk-snow {
    position: fixed;
    inset: 0;
    z-index: 35;
    pointer-events: none;
    overflow: hidden;
}
.tk-snow__flake {
    position: absolute;
    top: -8vh;
    color: var(--cyan-bright);
    animation-name: tk-snow-fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

html[data-ice="on"] {
    --cyan: #4DDCFF;
    --cyan-bright: #9AF0FF;
    --cyan-dim: rgba(77, 220, 255, .16);
    --cyan-line: rgba(77, 220, 255, .42);
}
html[data-theme="light"][data-ice="on"] {
    --cyan: #00748C;
    --cyan-bright: #008BA3;
    --cyan-dim: rgba(0, 116, 140, .14);
    --cyan-line: rgba(0, 116, 140, .38);
}
html[data-ice="on"] body {
    background-image: radial-gradient(900px 320px at 50% -8%, rgba(77, 220, 255, .14), transparent 58%);
}
html[data-theme="light"][data-ice="on"] body {
    background-image: radial-gradient(900px 320px at 50% -8%, rgba(0, 116, 140, .10), transparent 58%);
}

.tk-heat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 4px 10px;
    padding-inline-end: 4px;
    border-radius: 999px;
    background: rgba(232, 87, 74, .14);
    border: 1px solid rgba(232, 87, 74, .35);
    max-width: 100%;
}
.tk-heat.is-peak {
    animation: tk-pulse-glow 1.8s ease-in-out infinite;
}
.tk-hero--photo .tk-heat {
    background: rgba(8, 10, 14, .5);
    border-color: rgba(255, 180, 160, .4);
    backdrop-filter: blur(8px);
}
.tk-heat__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    min-width: 0;
    padding: 4px 6px;
}
.tk-heat__link:hover { color: var(--text); }
.tk-hero--photo .tk-heat__link { color: #fff; }
.tk-heat__temp {
    font-weight: 800;
    color: #F0857B;
    font-variant-numeric: tabular-nums;
    direction: ltr;
}
.tk-heat__copy {
    font-size: .86rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tk-hero--photo .tk-heat__copy { color: #fff; }
.tk-heat__dismiss {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    flex-shrink: 0;
}
.tk-heat__dismiss:hover { background: rgba(255,255,255,.12); }

.tk-toast {
    position: fixed;
    z-index: 70;
    inset-inline-start: 16px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: min(92vw, 360px);
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--bg-raised);
    border: 1px solid var(--cyan-line);
    box-shadow: var(--shadow);
    animation: tk-toast-in .35s ease;
}
.tk-toast[hidden] { display: none !important; }
.tk-toast__text { margin: 0; color: var(--text); font-weight: 700; font-size: .9rem; }
.tk-toast__btn {
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    background: var(--cyan-dim);
    color: var(--cyan);
    font: inherit;
    font-weight: 800;
    font-size: .8rem;
    cursor: pointer;
}

.tk-totop {
    position: fixed;
    z-index: 46;
    inset-inline-end: 16px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--cyan-line);
    border-radius: 50%;
    background: var(--header-bg);
    color: var(--cyan);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}
.tk-totop[hidden] { display: none !important; }
.tk-totop:hover { color: var(--cyan-bright); border-color: var(--cyan); }

.tk-ice-toggle {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--silver-dim);
    border-radius: 999px;
    padding: 4px 10px;
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    margin-inline-end: 8px;
}
.tk-ice-toggle:hover,
.tk-ice-toggle.is-active { color: var(--cyan); border-color: var(--cyan-line); }
.tk-footer__fun { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; }

.tk-tabs__book { animation: tk-pulse-glow 2.6s ease-in-out infinite; }
.tk-empty__mark { animation: tk-breathe 2.8s ease-in-out infinite; }

.tk-service,
.tk-card.tk-tilt {
    transform-style: preserve-3d;
    will-change: transform;
}

html[data-ice="on"] .tk-logo-mark__wave {
    animation-duration: 1.05s;
}
html[data-ice="on"] .tk-logo-mark {
    filter: drop-shadow(0 0 12px rgba(77, 220, 255, .55));
}

.tk-greet {
    margin: 0 0 8px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--cyan);
}
.tk-hero--photo .tk-greet { color: #9AF0FF; }
.tk-greet[hidden] { display: none !important; }

.tk-season {
    display: inline-flex;
    align-items: center;
    margin: 0 0 16px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--cyan-line);
    background: var(--cyan-dim);
    color: var(--text);
    font-size: .86rem;
    font-weight: 700;
    max-width: 100%;
}
.tk-hero--photo .tk-season { color: #fff; background: rgba(0, 180, 230, .22); }
.tk-season:hover { color: var(--cyan-bright); }
.tk-season[hidden] { display: none !important; }
.tk-hero--photo .tk-heat { margin-bottom: 14px; }

.tk-hero__mist {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,.22) 0 2px, transparent 3px),
        radial-gradient(circle at 28% 42%, rgba(255,255,255,.16) 0 1.5px, transparent 3px),
        radial-gradient(circle at 71% 22%, rgba(255,255,255,.2) 0 2px, transparent 3px),
        radial-gradient(circle at 86% 58%, rgba(255,255,255,.12) 0 1px, transparent 3px),
        radial-gradient(circle at 44% 70%, rgba(255,255,255,.14) 0 2px, transparent 3px);
    animation: tk-mist 12s ease-in-out infinite alternate;
    opacity: .55;
}
@keyframes tk-mist {
    from { transform: translateY(0); opacity: .4; }
    to   { transform: translateY(10px); opacity: .7; }
}

.tk-copyline {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}
.tk-copy {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--silver-dim);
    border-radius: 999px;
    padding: 3px 10px;
    font: inherit;
    font-size: .72rem;
    font-weight: 800;
    cursor: pointer;
}
.tk-copy:hover { color: var(--cyan); border-color: var(--cyan-line); }
.tk-copy--quiet { margin-inline-start: 8px; vertical-align: middle; }

.tk-desk {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 10px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--silver-dim);
}
.tk-desk[hidden] { display: none !important; }
.tk-desk__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--silver-faint);
}
.tk-desk.is-open .tk-desk__dot {
    background: var(--ok);
    box-shadow: 0 0 0 4px rgba(46, 204, 143, .2);
}
.tk-desk.is-closed .tk-desk__dot { background: var(--warn); }
.tk-desk__clock {
    color: var(--silver-faint);
    font-size: .78rem;
}

.tk-wadock {
    position: fixed;
    z-index: 55;
    inset-inline-start: 16px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(92vw, 280px);
    padding: 10px 12px 10px 12px;
    border-radius: 16px;
    background: var(--bg-raised);
    border: 1px solid var(--cyan-line);
    box-shadow: var(--shadow);
    color: var(--text);
    transform: translateY(12px);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
}
.tk-wadock.is-in { transform: none; opacity: 1; }
.tk-wadock[hidden] { display: none !important; }
.tk-wadock:hover { color: var(--text); border-color: var(--cyan); }
.tk-wadock__link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: inherit;
}
.tk-wadock__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #1FA855;
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.tk-wadock__copy { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.tk-wadock__copy strong { font-size: .88rem; }
.tk-wadock__copy span { font-size: .72rem; color: var(--silver-dim); font-weight: 600; }
.tk-wadock__close {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: var(--silver-dim);
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    flex-shrink: 0;
}
.tk-wadock__close:hover { background: var(--cyan-dim); color: var(--text); }

.tk-empty--404 .tk-empty__mark {
    font-size: 1.4rem;
    color: var(--cyan);
}
.tk-empty--404 .tk-empty__mark::before { display: none; }
.tk-empty__code {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--cyan);
    margin: 0 0 4px;
}

.tk-badge--ok {
    position: relative;
    overflow: hidden;
}
.tk-badge--ok::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255,255,255,.35), transparent);
    transform: translateX(-120%);
    animation: tk-shine 2.8s ease-in-out infinite;
}

.tk-service:hover .tk-service__icon svg {
    animation: tk-fan .9s linear infinite;
}
@keyframes tk-fan {
    to { transform: rotate(18deg); }
}

@media (max-width: 720px) {
    .tk-wadock {
        bottom: calc(var(--tk-tabs-h, 64px) + var(--tk-safe-bottom, 0px) + 12px);
        inset-inline: 12px;
        max-width: none;
    }
    .tk-body:has(.tk-wadock.is-in) .tk-totop { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .tk-hero__mist,
    .tk-badge--ok::after,
    .tk-service:hover .tk-service__icon svg,
    .tk-wadock,
    .tk-dispatch-radar span { animation: none; transition: none; opacity: 1; transform: none; }
}

@media (max-width: 720px) {
    .tk-totop {
        bottom: calc(var(--tk-tabs-h, 64px) + var(--tk-safe-bottom, 0px) + 12px);
    }
    .tk-body:has(.tk-stickybar) .tk-totop,
    .tk-body.tk-body--sticky .tk-totop { display: none !important; }
    .tk-toast {
        bottom: calc(var(--tk-tabs-h, 64px) + var(--tk-safe-bottom, 0px) + 12px);
        inset-inline: 12px;
        max-width: none;
    }
    .tk-heat__copy { font-size: .8rem; }
    .tk-coolbar { top: var(--tk-safe-top, 0px); }
}

@media (prefers-reduced-motion: reduce) {
    .tk-logo-mark__wave,
    .tk-tabs__book,
    .tk-empty__mark,
    .tk-heat.is-peak,
    .tk-btn--primary::after,
    .tk-snow__flake { animation: none; }
    .tk-frostwipe.is-on { animation: none; opacity: 0; }
}

/* ---- website improvements: header reach, wizard, pager, filters ---- */
.tk-header__reach {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tk-header__call {
    font-size: .82rem;
    font-weight: 700;
    color: var(--cyan);
    white-space: nowrap;
}
/* Password fields stay LTR (masked value + latin keypad). Force the
   wrapper the same way so the toggle and reserved padding share one edge —
   otherwise RTL pages put inset-inline-end on the left while the input's
   padding-inline-end (dir=ltr) clears the right, and the label covers dots. */
.tk-password {
    position: relative;
    display: block;
    direction: ltr;
    width: 100%;
}
.tk-password .tk-input {
    display: block;
    width: 100%;
    padding-inline-end: 4.25rem;
    box-sizing: border-box;
}
.tk-password__toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 3.6rem;
    padding: 4px 6px;
    background: var(--bg-card);
    border: 0;
    color: var(--silver);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    z-index: 2;
}
.tk-password__toggle:hover,
.tk-password__toggle:focus-visible {
    color: var(--cyan);
}
.tk-wizard.is-stepping fieldset.tk-fieldset { display: none; }
.tk-wizard.is-stepping fieldset.tk-fieldset.is-current { display: block; }
.tk-wizard__nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0 88px;
}
.tk-price-dock {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid var(--cyan-line);
    border-radius: var(--radius);
    background: var(--cyan-dim);
}
.tk-price-dock__label {
    color: var(--silver-dim);
    font-size: .88rem;
    font-weight: 700;
}
.tk-price-dock__value {
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}
.tk-price-dock__value small {
    color: var(--silver-faint);
    font-size: .78rem;
    font-weight: 600;
    margin-inline-start: 4px;
}
.tk-price-dock.has-price .tk-price-dock__value { color: var(--cyan); }
.tk-price-dock [data-tk="inspection-note-live"] {
    flex: 1 1 100%;
}
.tk-stickybar--price-only .tk-stickybar__btn[hidden] { display: none !important; }
.tk-stickybar--price-only .tk-stickybar__meta { flex: 1 1 auto; }
.tk-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 18px 0;
    font-size: .9rem;
}
.tk-pager__disabled { color: var(--silver-faint); }
.tk-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.tk-filterbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.tk-filterbar .tk-input,
.tk-filterbar .tk-select { flex: 1 1 180px; }
.tk-checklist li.is-pending { color: var(--silver); }
.tk-checklist li.is-pending::before { content: '○'; color: var(--silver); }
.tk-checklist li.is-done { color: var(--ok); }
.tk-checklist li.is-done::before { content: '✓'; color: var(--ok); }
.tk-body--app .tk-snow,
.tk-body--app .tk-burst,
.tk-body--app .tk-frostwipe { display: none !important; }
.tk-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .82);
    padding: 24px;
}
body.tk-modal-open { overflow: hidden; }
.tk-lightbox[hidden] { display: none; }
.tk-lightbox img {
    max-width: min(96vw, 1100px);
    max-height: 90vh;
    border-radius: 8px;
}
.tk-lightbox__close {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 720px) {
    .tk-header__reach { display: none; }
}

.tk-mfa-secret {
    font-size: 1.15rem;
    letter-spacing: .14em;
    font-weight: 700;
    word-break: break-all;
}
.tk-recovery-codes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tk-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.tk-pii-form .tk-field { margin-bottom: 8px; }
@media (max-width: 720px) {
    .tk-recovery-codes { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Purpose-built product surfaces
   --------------------------------------------------------------------------
   Each audience gets its own visual system. The public site remains an
   expressive storefront; signed-in areas feel like focused products rather
   than marketing pages with different links.
   ========================================================================== */

.tk-portal--customer {
    --cyan: #4F8CFF;
    --cyan-bright: #79A9FF;
    --cyan-dim: rgba(79, 140, 255, .13);
    --cyan-line: rgba(79, 140, 255, .34);
    --focus-ring: rgba(79, 140, 255, .2);
}
.tk-portal--technician {
    --cyan: #F5A524;
    --cyan-bright: #FFC65C;
    --cyan-dim: rgba(245, 165, 36, .13);
    --cyan-line: rgba(245, 165, 36, .36);
    --focus-ring: rgba(245, 165, 36, .2);
}
.tk-portal--admin {
    --cyan: #9A7CFF;
    --cyan-bright: #B7A2FF;
    --cyan-dim: rgba(154, 124, 255, .13);
    --cyan-line: rgba(154, 124, 255, .34);
    --focus-ring: rgba(154, 124, 255, .2);
}
.tk-portal--employee {
    --cyan: #35CDA0;
    --cyan-bright: #69E0BD;
    --cyan-dim: rgba(53, 205, 160, .12);
    --cyan-line: rgba(53, 205, 160, .34);
    --focus-ring: rgba(53, 205, 160, .2);
}

.tk-body--app {
    background-color: var(--bg);
    background-attachment: fixed;
}
.tk-portal--customer {
    background-image:
        radial-gradient(800px 430px at 8% 4%, rgba(79, 140, 255, .11), transparent 65%),
        linear-gradient(180deg, rgba(79, 140, 255, .035), transparent 40%);
}
.tk-portal--technician {
    background-image:
        linear-gradient(rgba(245, 165, 36, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 165, 36, .025) 1px, transparent 1px),
        radial-gradient(760px 380px at 85% 0%, rgba(245, 165, 36, .1), transparent 68%);
    background-size: 32px 32px, 32px 32px, auto;
}
.tk-portal--admin {
    background-image:
        radial-gradient(900px 500px at 50% -10%, rgba(154, 124, 255, .1), transparent 67%);
}
.tk-portal--employee {
    background-image:
        linear-gradient(135deg, rgba(53, 205, 160, .04) 25%, transparent 25%),
        linear-gradient(315deg, rgba(53, 205, 160, .025) 25%, transparent 25%);
    background-size: 46px 46px;
}

html[data-theme="light"] .tk-portal--customer {
    --cyan: #245DD8;
    --cyan-bright: #174AB9;
    --cyan-dim: rgba(36, 93, 216, .09);
    --cyan-line: rgba(36, 93, 216, .24);
}
html[data-theme="light"] .tk-portal--technician {
    --cyan: #A85E00;
    --cyan-bright: #874B00;
    --cyan-dim: rgba(168, 94, 0, .09);
    --cyan-line: rgba(168, 94, 0, .25);
}
html[data-theme="light"] .tk-portal--admin {
    --cyan: #6545C7;
    --cyan-bright: #4F32A8;
    --cyan-dim: rgba(101, 69, 199, .09);
    --cyan-line: rgba(101, 69, 199, .24);
}
html[data-theme="light"] .tk-portal--employee {
    --cyan: #087F61;
    --cyan-bright: #05664E;
    --cyan-dim: rgba(8, 127, 97, .09);
    --cyan-line: rgba(8, 127, 97, .24);
}

.tk-body--app {
    --tk-header-h: 70px;
}
.tk-body--app .tk-header {
    border-bottom: 0;
    box-shadow: 0 1px 0 var(--line);
}
.tk-body--app .tk-header__inner { min-height: var(--tk-header-h); }
.tk-logo--workspace .tk-logo-mark {
    width: 38px;
    height: 38px;
    padding: 7px;
    border: 1px solid var(--cyan-line);
    border-radius: 11px;
    background: var(--cyan-dim);
}
.tk-logo--workspace .tk-logo__ar {
    max-width: 11rem;
    overflow: hidden;
    font-size: .92rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tk-logo--workspace .tk-logo__en {
    color: var(--cyan);
    font-size: .56rem;
    letter-spacing: .12em;
}

.tk-workspacebar {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid var(--line-soft);
    background: color-mix(in srgb, var(--bg-raised) 90%, var(--cyan) 10%);
}
.tk-workspacebar__inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.tk-workspacebar__identity,
.tk-workspacebar__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.tk-workspacebar__identity > span:not(.tk-workspacebar__pulse) {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.tk-workspacebar__identity strong {
    color: var(--text);
    font-size: .76rem;
    white-space: nowrap;
}
.tk-workspacebar__identity small,
.tk-workspacebar__meta {
    color: var(--silver-faint);
    font-size: .7rem;
}
.tk-workspacebar__pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 4px var(--cyan-dim);
}
.tk-workspacebar__meta > span:first-child {
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tk-workspacebar__role {
    padding: 2px 8px;
    border: 1px solid var(--cyan-line);
    border-radius: 999px;
    color: var(--cyan);
    background: var(--cyan-dim);
}

.tk-body--app .tk-main {
    padding-block-start: 28px;
}
.tk-footer--workspace {
    padding-block: 14px;
    border-top-color: var(--line-soft);
    background: var(--bg-raised);
}
.tk-footer--workspace .tk-footer__bottom {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: .72rem;
}
.tk-footer__workspace { color: var(--cyan); }

.tk-portal-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
    min-height: 250px;
    margin-bottom: 34px;
    padding: clamp(26px, 4vw, 46px);
    overflow: hidden;
    border: 1px solid var(--cyan-line);
    border-radius: 26px;
    background:
        radial-gradient(460px 240px at 84% 0%, var(--cyan-dim), transparent 70%),
        linear-gradient(135deg, var(--bg-card), var(--bg-raised));
    box-shadow: 0 18px 52px rgba(0, 0, 0, .16);
}
.tk-portal-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 260px;
    height: 260px;
    inset-inline-end: -90px;
    bottom: -160px;
    border: 34px solid var(--cyan-dim);
    border-radius: 50%;
}
.tk-portal-hero__copy { max-width: 42rem; }
.tk-portal-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--cyan);
    font-size: .75rem;
    font-weight: 800;
}
.tk-portal-hero h1 {
    max-width: 36rem;
    margin-bottom: 10px;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}
:lang(en) .tk-portal-hero h1 { letter-spacing: -.035em; }
.tk-portal-hero__copy > p {
    max-width: 38rem;
    color: var(--silver-dim);
    font-size: 1rem;
}
.tk-portal-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(92px, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--line);
}
.tk-portal-hero__stats > div {
    min-width: 110px;
    padding: 20px 18px;
    background: color-mix(in srgb, var(--bg-raised) 94%, var(--cyan) 6%);
}
.tk-portal-hero__stats strong,
.tk-portal-hero__stats span {
    display: block;
}
.tk-portal-hero__stats strong {
    margin-bottom: 5px;
    color: var(--cyan);
    font-size: 1.9rem;
    line-height: 1;
}
.tk-portal-hero__stats span {
    color: var(--silver-dim);
    font-size: .72rem;
}
.tk-portal-hero__metric {
    display: grid;
    align-content: center;
    min-width: 190px;
    min-height: 170px;
    padding: 24px;
    border: 1px solid var(--cyan-line);
    border-radius: 50%;
    color: var(--silver-dim);
    background: var(--cyan-dim);
    text-align: center;
}
.tk-portal-hero__metric strong {
    color: var(--cyan);
    font-size: 3.4rem;
    line-height: 1.05;
}
.tk-portal-hero__metric span,
.tk-portal-hero__metric small { font-size: .75rem; }
.tk-portal-hero__metric small { color: var(--silver-faint); }
.tk-pagehead--section h2 { font-size: 1.35rem; }

.tk-portal-hero--customer {
    border-radius: 32px 32px 12px 32px;
    background:
        linear-gradient(120deg, rgba(79, 140, 255, .16), transparent 42%),
        var(--bg-card);
}
html[dir="rtl"] .tk-portal-hero--customer { border-radius: 32px 32px 32px 12px; }
.tk-portal--customer .tk-card,
.tk-portal--customer .tk-request-card {
    border-radius: 20px;
}
.tk-portal--customer .tk-timeline__dot { box-shadow: 0 0 0 5px var(--bg); }

.tk-portal-hero--technician {
    border-radius: 10px 32px 10px 32px;
    background:
        repeating-linear-gradient(120deg, transparent 0 30px, rgba(245, 165, 36, .025) 30px 31px),
        linear-gradient(135deg, var(--bg-card), color-mix(in srgb, var(--bg-card) 88%, var(--cyan) 12%));
}
html[dir="rtl"] .tk-portal-hero--technician { border-radius: 32px 10px 32px 10px; }
.tk-portal--technician .tk-grid--2 > .tk-card {
    position: relative;
    height: 100%;
    border-inline-start: 3px solid var(--cyan);
    border-radius: 8px 16px 16px 8px;
}
html[dir="rtl"] .tk-portal--technician .tk-grid--2 > .tk-card {
    border-radius: 16px 8px 8px 16px;
}
.tk-portal--technician .tk-total--grand {
    margin-inline: -22px;
    padding-inline: 22px;
    background: linear-gradient(90deg, var(--cyan-dim), transparent);
}

.tk-portal-hero--admin,
.tk-portal-hero--employee,
.tk-portal-hero--technician {
    min-height: 0;
    margin-bottom: 22px;
    padding: clamp(20px, 3vw, 32px);
    gap: 22px;
}
.tk-portal-hero--admin {
    background:
        linear-gradient(rgba(154, 124, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(154, 124, 255, .05) 1px, transparent 1px),
        linear-gradient(135deg, var(--bg-card), var(--bg-raised));
    background-size: 28px 28px, 28px 28px, auto;
}
.tk-portal--admin .tk-adminmenu-btn {
    border-color: var(--cyan-line);
    background: var(--cyan-dim);
}
.tk-portal--admin .tk-dash-card { border-top: 3px solid var(--cyan); }

.tk-portal-hero--employee {
    border-radius: 8px 24px 24px 8px;
    border-inline-start-width: 5px;
    background:
        linear-gradient(100deg, rgba(53, 205, 160, .13), transparent 44%),
        var(--bg-card);
}
html[dir="rtl"] .tk-portal-hero--employee { border-radius: 24px 8px 8px 24px; }
.tk-portal--employee .tk-card,
.tk-portal--employee .tk-stat {
    border-radius: 9px;
}
.tk-portal--employee .tk-adminmenu-btn {
    border-radius: 8px;
    border-inline-start: 4px solid var(--cyan);
}
.tk-portal--employee .tk-sidebar {
    border-inline-start: 4px solid var(--cyan);
}

.tk-portal--public .tk-main > .tk-container {
    max-width: 1240px;
}
.tk-portal--public .tk-service {
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .018), transparent 45%),
        var(--bg-card);
}
.tk-portal--public .tk-service__icon {
    border-radius: 50%;
}

@media (max-width: 900px) {
    .tk-portal-hero { grid-template-columns: 1fr; }
    .tk-portal-hero__stats { width: 100%; }
    .tk-portal-hero__metric {
        min-width: 0;
        min-height: 0;
        border-radius: 18px;
    }
}

@media (max-width: 720px) {
    .tk-body--app .tk-header__inner { min-height: var(--tk-header-h); }
    .tk-workspacebar__inner { min-height: 36px; }
    .tk-workspacebar__identity small,
    .tk-workspacebar__meta > span:first-child { display: none; }
    .tk-workspacebar__identity > span:not(.tk-workspacebar__pulse) { display: block; }
    .tk-logo--workspace .tk-logo__ar { max-width: 7.5rem; }
    .tk-logo--workspace .tk-logo-mark { width: 34px; height: 34px; }
    .tk-portal-hero {
        min-height: 0;
        margin-inline: -4px;
        margin-bottom: 26px;
        padding: 24px 20px;
        border-radius: 20px !important;
        box-shadow: none;
    }
    .tk-portal-hero::after { display: none; }
    .tk-portal-hero h1 { font-size: 1.75rem; }
    .tk-portal-hero__stats {
        grid-template-columns: repeat(3, 1fr);
        border-radius: 14px;
    }
    .tk-portal-hero__stats > div {
        min-width: 0;
        padding: 15px 8px;
        text-align: center;
    }
    .tk-portal-hero__stats strong { font-size: 1.45rem; }
    .tk-portal-hero__metric {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 4px 12px;
        padding: 16px;
        text-align: start;
    }
    .tk-portal-hero__metric strong {
        grid-row: 1 / span 2;
        grid-column: 2;
        font-size: 2.4rem;
    }
    .tk-footer--workspace { display: none; }
}

/* ==========================================================================
   Dedicated shells: technician wizard, compact timelines, auth
   ========================================================================== */

.tk-header--auth { border-bottom-color: transparent; }
.tk-main--auth {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}
.tk-portal--auth .tk-auth { max-width: 460px; margin-inline: auto; }
.tk-portal--auth .tk-auth--wide { max-width: 640px; }
.tk-portal--auth .tk-auth--booking { max-width: 100%; width: 100%; }

.tk-tech-wizard {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}
.tk-tech-wizard li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--silver-faint);
    font-size: .78rem;
    background: var(--bg-card);
}
.tk-tech-wizard li.is-done { color: var(--ok); border-color: rgba(46, 204, 143, .35); }
.tk-tech-wizard li.is-current {
    color: var(--text);
    border-color: var(--cyan-line);
    box-shadow: 0 0 0 3px var(--cyan-dim);
}
.tk-fieldset.is-current {
    border-color: var(--cyan-line);
    box-shadow: 0 0 0 3px var(--cyan-dim);
}

.tk-timeline--compact {
    margin: 12px 0 0;
    font-size: .7rem;
}
.tk-timeline--compact .tk-timeline__dot {
    width: 18px;
    height: 18px;
    font-size: .65rem;
}

.tk-tabs__item { position: relative; }
.tk-tabs__badge {
    position: absolute;
    top: 6px;
    inset-inline-end: 18%;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--cyan);
    color: #04222B;
    font-size: .62rem;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
}

:lang(en).tk-portal--public .tk-hero h1,
.tk-portal--public:lang(en) .tk-hero h1,
html[lang="en"] .tk-portal--public .tk-hero h1 { letter-spacing: -.04em; }
.tk-portal--auth .tk-header__inner { min-height: 64px; }
.tk-portal--customer .tk-workspacebar { border-bottom-color: var(--cyan-line); }
.tk-portal--technician .tk-workspacebar { border-bottom-style: dashed; }

.tk-tabs__badge[hidden] { display: none !important; }

.tk-portal--auth {
    background-image: radial-gradient(620px 340px at 50% -8%, rgba(0, 212, 232, .08), transparent 70%);
}
.tk-portal--auth .tk-header { background: transparent; box-shadow: none; }
.tk-main--auth {
    min-height: calc(100vh - 140px);
    padding-block: 36px 64px;
}
.tk-portal--auth .tk-footer--workspace { display: block; background: transparent; }

.tk-portal--public .tk-header {
    backdrop-filter: blur(16px);
}
.tk-portal--public .tk-tabs__item--book .tk-tabs__book {
    box-shadow: 0 10px 24px rgba(0, 212, 232, .28);
}

@media (max-width: 900px) {
    .tk-tech-wizard { grid-template-columns: 1fr 1fr; }
}


/* ---- Takefat 2.0 portal UX additions ---- */

.tk-auth {
    max-width: min(470px, 100%);
    width: 100%;
}
.tk-auth--booking,
.tk-portal--auth .tk-auth--booking {
    max-width: 100%;
}
.tk-main--auth {
    min-height: max(240px, calc(100vh - 160px));
    min-height: max(240px, calc(100dvh - 160px));
}
.tk-portal--auth .tk-auth__head { max-width: 100%; }

.tk-filterbar.sticky {
    position: sticky;
    top: var(--tk-header-h, 64px);
    z-index: 8;
    padding: 10px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
}
.tk-density {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.tk-density .is-active {
    border-color: var(--cyan-line);
    color: var(--cyan);
}

.tk-details {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background: var(--bg-raised);
}
.tk-details > summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--text);
}
.tk-details[open] > summary { margin-bottom: 12px; }

.tk-testimonials .tk-quote {
    margin: 0;
    padding: 18px 16px;
    border-inline-start: 3px solid var(--cyan);
    background: var(--bg-card);
    border-radius: 0 12px 12px 0;
}
html[dir="rtl"] .tk-testimonials .tk-quote {
    border-radius: 12px 0 0 12px;
}
.tk-testimonials .tk-quote p {
    margin: 0 0 10px;
    color: var(--silver);
    line-height: 1.55;
}
.tk-testimonials .tk-quote footer {
    color: var(--silver-faint);
    font-size: .85rem;
    font-weight: 700;
}

.tk-grid:has(> .tk-job-card) {
    align-items: stretch;
}
.tk-job-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.tk-job-card:hover,
.tk-job-card:focus-within {
    border-color: var(--cyan-line);
    box-shadow: var(--shadow);
}
.tk-job-card__hit {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}
.tk-job-card__body { flex: 1 1 auto; min-height: 0; }
.tk-job-card__foot {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 0 0 auto;
    margin-top: auto;
    width: 100%;
}
.tk-job-card__foot > p { margin-bottom: 0; }
.tk-job-card__action { position: relative; z-index: 2; }
.tk-job-header {
    margin-bottom: 18px;
}
.tk-extra-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.tk-btn--call {
    background: transparent;
    border-color: var(--cyan-line);
    color: var(--cyan);
}
.tk-btn--call:hover {
    background: var(--cyan-dim);
    color: var(--cyan-bright);
    border-color: var(--cyan);
}
.tk-hero--photo .tk-btn--call {
    border-color: rgba(154, 240, 255, .45);
    color: #9AF0FF;
    background: rgba(8, 10, 14, .35);
}

/* Desktop: pin the admin/ops sidebar while page content scrolls.
   Sticky (not viewport-fixed) keeps it in the centered grid column and
   below the sticky header. Do not min-height the rail to ~100vh — that
   makes sticky a no-op and, with multiple content roots, hides later
   sections below the fold. Content MUST be a single .tk-admin-main sibling. */
.tk-admin-main { min-width: 0; }
@media (min-width: 1100px) {
    .tk-body--admin {
        --tk-admin-sidebar-top: calc(var(--tk-header-h, 70px) + 12px);
    }
    .tk-body--admin .tk-main > .tk-container:has(.tk-admin-shell) {
        display: grid;
        grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
        column-gap: 28px;
        align-items: start;
    }
    .tk-body--admin .tk-main > .tk-container:has(.tk-admin-shell) > .tk-admin-shell {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0;
        position: sticky;
        top: var(--tk-admin-sidebar-top);
        align-self: start;
        max-height: calc(100vh - var(--tk-admin-sidebar-top) - 16px);
        z-index: 25;
    }
    .tk-body--admin .tk-main > .tk-container:has(.tk-admin-shell) > .tk-admin-main {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .tk-admin-shell .tk-adminmenu-btn,
    .tk-admin-shell .tk-sidebar-backdrop,
    .tk-admin-shell .tk-sidebar__close {
        display: none !important;
    }

    .tk-admin-shell .tk-sidebar {
        position: static;
        inset: auto;
        z-index: auto;
        width: 100%;
        max-width: none;
        min-height: 0;
        height: 100%;
        max-height: inherit;
        transform: none !important;
        box-shadow: none;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--bg-card);
        overflow: hidden;
    }
    html[dir="rtl"] .tk-admin-shell .tk-sidebar {
        transform: none !important;
    }
    .tk-admin-shell .tk-sidebar__head {
        border-bottom: 1px solid var(--line-soft);
    }
    .tk-admin-shell .tk-sidebar__nav {
        flex: 1 1 auto;
        min-height: 0;
    }
}

/* --------------------------------------------------------------------------
   Admin / ops spacing — clearer sections, less crowded lists
   -------------------------------------------------------------------------- */

.tk-admin-section {
    margin-top: 2.35rem;
}
.tk-admin-section:first-child {
    margin-top: 0;
}
.tk-body--admin .tk-main {
    padding-block: 28px 72px;
}
.tk-body--admin .tk-portal-hero {
    min-height: 0;
    margin-bottom: 0;
}
.tk-body--admin .tk-pagehead {
    margin-bottom: 18px;
}
.tk-body--admin .tk-pagehead h1 {
    margin: 0 0 .45rem;
    line-height: 1.2;
}
.tk-body--admin .tk-pagehead h2 {
    margin: 0 0 .4rem;
    font-size: 1.22rem;
    line-height: 1.25;
}
.tk-body--admin .tk-pagehead .tk-muted,
.tk-body--admin .tk-pagehead > p {
    margin: 0;
    max-width: 40rem;
    line-height: 1.5;
}
.tk-body--admin .tk-pagehead .tk-row {
    gap: 12px 16px;
}
.tk-body--admin .tk-filterbar {
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-raised);
}
.tk-body--admin .tk-filterbar .tk-density {
    margin-inline-start: auto;
    flex: 0 0 auto;
}
.tk-body--admin .tk-filterbar .tk-check {
    margin: 0;
    padding-inline: 4px;
}
.tk-body--admin .tk-grid {
    gap: 16px;
}
.tk-body--admin .tk-earnings {
    gap: 14px;
}
.tk-body--admin .tk-stat {
    padding: 18px 16px;
    gap: 8px;
}
.tk-body--admin .tk-dash-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 22px;
}
.tk-body--admin .tk-dash-card .tk-fact__label {
    margin-bottom: 2px;
}
.tk-body--admin .tk-dash-card .tk-fact__value--lg {
    margin: 6px 0 10px;
}
.tk-body--admin .tk-dash-card .tk-muted,
.tk-body--admin .tk-dash-card .tk-faint {
    margin-top: 0;
}
.tk-body--admin .tk-dash-card__cta {
    margin-top: auto;
    padding-top: 16px;
}
.tk-body--admin .tk-card.tk-table-wrap {
    padding: 4px 0;
    overflow: hidden;
}
.tk-body--admin .tk-table th,
.tk-body--admin .tk-table td {
    padding: 13px 16px;
}
.tk-body--admin .tk-support-grid {
    gap: 16px;
}
.tk-body--admin .tk-support-grid > .tk-card {
    padding: 20px;
}
.tk-body--admin .tk-alert.tk-pii-banner {
    margin-bottom: 20px;
    padding: 14px 16px;
}
.tk-body--admin .tk-pii-form {
    margin-top: 12px;
}
.tk-body--admin .tk-pii-form .tk-grid {
    gap: 12px;
    margin-bottom: 10px;
}
.tk-body--admin .tk-cancel-stats {
    gap: 12px;
}
.tk-body--admin .tk-cancel-stats__row {
    padding: 14px 16px;
}
.tk-body--admin .tk-empty {
    padding: 36px 20px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--bg-raised);
}
.tk-body--admin .tk-admin-shell {
    margin-bottom: 18px;
}
.tk-body--admin .tk-pager {
    margin-top: 20px;
}
.tk-body--admin .tk-facts {
    gap: 14px 18px;
    margin-top: 14px;
}
.tk-body--admin .tk-admin-editor {
    margin-bottom: 18px;
}
.tk-body--admin .tk-admin-editor + .tk-admin-editor {
    margin-top: 8px;
}
.tk-body--admin .tk-admin-editor__body {
    padding: 4px 18px 18px;
}
.tk-body--admin .tk-admin-editor .tk-panel {
    margin-bottom: 16px;
    padding: 16px;
}
.tk-body--admin .tk-admin-editor .tk-panel:last-child {
    margin-bottom: 0;
}
.tk-body--admin .tk-support-grid > .tk-card h3 {
    margin: 0 0 6px;
    line-height: 1.3;
}
.tk-body--admin .tk-support-grid > .tk-card > p {
    margin: 0 0 10px;
    line-height: 1.5;
}
.tk-body--admin .tk-support-grid > .tk-card > form {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
}
.tk-body--admin section > h2 {
    margin: 0 0 14px;
    font-size: 1.15rem;
    line-height: 1.3;
}
.tk-body--admin .tk-admin-section + .tk-admin-section {
    padding-top: .15rem;
}

@media (max-width: 720px) {
    .tk-body--admin .tk-filterbar .tk-density {
        margin-inline-start: 0;
        width: 100%;
    }
    .tk-body--admin .tk-admin-section {
        margin-top: 1.75rem;
    }
    .tk-body--admin .tk-portal-hero {
        padding: 20px;
        gap: 16px;
    }
    .tk-body--admin .tk-admin-request-cards,
    .tk-body--admin .tk-admin-mobile-cards {
        gap: 14px;
    }
    .tk-body--admin .tk-admin-request-card,
    .tk-body--admin .tk-admin-mobile-card {
        gap: 10px;
        padding: 18px;
    }
}

/* App portals (customer / technician): keep list pages readable */
.tk-body--app .tk-pagehead {
    margin-bottom: 22px;
}
.tk-body--app .tk-pagehead h1 {
    margin-bottom: .4rem;
}
.tk-body--app .tk-filterbar {
    margin-bottom: 18px;
    gap: 12px;
}
.tk-body--app .tk-portal-hero {
    margin-bottom: 28px;
}
.tk-body--app .tk-card.tk-table-wrap {
    margin-top: 4px;
}
