﻿/* ======================================
   Lynko.tv - Unified polished stylesheet
   Matches ToS/GDPR visual style
   ====================================== */

/* 0) Fonts */
@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto/Roboto-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto/Roboto-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

/* 1) Theme tokens */
:root{
  /* Base palette */
  --baby-green:#d9f7e3;
  --baby-lime:#e9ffd6;
  --lemon:#fff6b3;
  --ink:#111;
  --soft-gray:#EFF7F2;
  --mid-gray:#cbd5df;
  --accent:#9be2a8;     /* soft green secondary */
  --accent-2:#ffd24d;   /* lemon primary */
  --btn-text:#0b1b10;
  --focus:#3b82f6;
  --footer-safe: calc(var(--footer-h) + 20px + env(safe-area-inset-bottom));
  
  /* Layout sizes */
  --menu-h: 64px;
  --footer-h: 56px;

  /* Surfaces */
  --panel-bg:#F5FBF7;
  --panel-border:#E2EFE6;

  /* Inputs */
  --input-border: #cbd3df;
  --input-border-strong: #9aa6b2;
  --input-edge: #b6c2d0;
  --input-edge-hover: #9aa6b2;
  --input-ring: var(--focus);

  /* Shared aliases for polished components */
  --lk-accent: var(--accent-2);
  --lk-accent-weak: var(--accent);
  --lk-panel: var(--panel-bg);
  --lk-panel-dark: rgba(20,20,25,.85);
  --lk-text: var(--ink);
  --lk-text-dark: #e8eaee;
  --lk-muted: #4b5563;
  --lk-border: var(--panel-border);
}
@supports (color: color-mix(in srgb, #000, #fff)) {
  :root{
    --input-border: color-mix(in srgb, var(--mid-gray) 85%, #000 15%);
    --input-border-strong: color-mix(in srgb, var(--mid-gray) 70%, #000 30%);
  }
}
/*
@media (prefers-color-scheme: dark){
  :root{ color-scheme: dark; }
}
*/

/* 2) Base reset-ish */
*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font: 16px/1.5 'Roboto', system-ui, -apple-system, Segoe UI, Ubuntu, Cantarell, Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--soft-gray);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden; /* we scroll the main container, not body */
}
body.no-scroll { overflow: hidden; }
a, a:link, a:visited, a:hover, a:focus, a:active { text-decoration: none; color: inherit; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* 3) Layout shell - viewport grid: header | main scroller | footer */
.site-wrap{
  /* lock the app to the visible viewport height */
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;                    /* only main scrolls */
}
@supports (height: 100svh){
  .site-wrap{ height: 100svh; }        /* better on mobile toolbars */
}

/* Header sits in the top row - no need for sticky or fixed here */
.header{ position: relative; z-index: 1; }

/* Main is the only scroller */
.main, main.content{
  position: relative;                   /* remove absolute */
  inset: auto;
  overflow: auto;                       /* scroll here */
  -webkit-overflow-scrolling: touch;
  min-height: 0;                        /* allow the grid track to shrink */
  padding: 16px 0 16px;
}
.main-inner{ 
  max-width:960px; margin:0 auto; padding:20px 16px 48px; 
  padding-bottom: max(48px, var(--footer-safe));
}

/* Footer stays visible in the bottom row and can wrap to 2+ lines */
footer.footer{
  position: relative;                   /* not fixed */
  z-index: 1;
  border-top:1px solid var(--mid-gray);
  background: linear-gradient(0deg, var(--baby-green), var(--baby-lime));
}
.footer-inner{
  max-width:1100px; margin:0 auto; width:100%;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  font-size:14px; flex-wrap:wrap; text-align:center;
}
.footer-links{ flex:1; min-width:200px; }
.footer-cta{ flex-shrink:0; }

/* Mobile spacing tweaks only (no layout overrides needed) */
@media (max-width: 600px){
  .footer-inner{ flex-direction:column; gap:8px; font-size:13px; padding-bottom:12px; }
  .footer-links{ order:2; line-height:1.4; }
  .footer-cta{ order:1; }
}

@media (max-width: 400px){
  :root{ --footer-safe: calc(var(--footer-h) + 28px + env(safe-area-inset-bottom)); }
}

/* Header */
.header{
  position: sticky; top: 0; z-index: 1000;
  background: linear-gradient(0deg,#eaf9f0,#dcf6e6);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  border-bottom: 1px solid var(--mid-gray);
  backdrop-filter: saturate(1.2) blur(4px);
}
.header-inner{
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 10px 16px;
}
.brand{ display:flex; align-items:center; gap:12px; color:inherit; }
.brand img{ height:42px; width:auto; display:block; }
.brand .title{ font-weight:700; letter-spacing:.2px; font-size:18px; }
.nav{ margin-left:auto; display:flex; align-items:center; gap:10px; }

/* Nav menu */
.menu{ display:flex; gap:4px; list-style:none; margin:0; padding:0; }
.menu > li{ position:relative; }
.menu > li.right > .dropdown{ left:auto; right:0; }

/* Links and trigger */
.menu > li > a,
.menu > li > button.menu-trigger{
  appearance:none; background:transparent; border:0;
  font:inherit; color:inherit; line-height:1;
  cursor:pointer; display:inline-flex; align-items:center; gap:6px;
  font-weight:600; padding:10px 12px; border-radius:10px;
  transition: transform .06s ease, background .15s ease, box-shadow .15s ease;
}
.menu > li > a:hover,
.menu > li > button.menu-trigger:hover{ background: var(--lemon); }
.menu > li > a:active,
.menu > li > button.menu-trigger:active{ transform: translateY(1px); }
.menu > li > a:focus-visible,
.menu > li > button.menu-trigger:focus-visible{ outline:none; box-shadow:0 0 0 3px rgba(59,130,246,.28); }

/* ================================= LANGUAGE ================================ */


/* positie & spacing in de rij */
#mainMenu > li.lang{
  position:relative;
  margin-right:12px;       
}

/* pill */
#mainMenu > li.lang .lang-btn{
  display:inline-flex; align-items:center; gap:.45rem;
  min-height:36px; padding:0 .85rem; border-radius:9999px;
  font-size:.95rem; font-weight:600; line-height:1;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(0,0,0,.06);
  box-shadow:
    0 1px 2px rgba(0,0,0,.05),
    inset 0 1px 0 rgba(255,255,255,.7);
  backdrop-filter:saturate(160%) blur(6px);
  transition:background .2s ease, transform .06s ease, box-shadow .2s ease;
  cursor:pointer;
}
#mainMenu > li.lang .lang-btn:hover{ transform:translateY(-1px); }
#mainMenu > li.lang .lang-btn:focus-visible{
  outline:0;
  box-shadow:
    0 0 0 2px rgba(0,0,0,.10),
    0 0 0 4px rgba(60,190,110,.25); /* subtiele lime ring */
}
#mainMenu > li.lang .lang-btn .flag{ font-size:1.05em; }
#mainMenu > li.lang .lang-btn .abbr{ letter-spacing:.02em; }

/* caret */
#mainMenu > li.lang .lang-btn::after{
  content:'\25BE'; font-size:.8em; margin-left:.15rem; opacity:.7; transition:transform .15s ease;
}
#mainMenu > li.lang.open .lang-btn::after{ transform:rotate(180deg); }

/* open-state iets solider */
#mainMenu > li.lang.open .lang-btn{
  background:rgba(255,255,255,.92);
  border-color:rgba(0,0,0,.10);
  box-shadow:
    0 6px 18px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.9);
}

/* dropdown-pane */
#mainMenu > li.lang .dropdown{
  display:none; position:absolute; right:0; top:calc(100% + .55rem);
  min-width:200px; padding:.35rem;
  background:#fff; border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  box-shadow:0 12px 30px rgba(0,0,0,.12), 0 1px 0 rgba(255,255,255,.8) inset;
  z-index:50;
}
#mainMenu > li.lang.open > .dropdown{ display:block; }

/* dropdown-items */
#mainMenu > li.lang .lang-dropdown a{
  display:flex; align-items:center; gap:.6rem;
  padding:.6rem .9rem; border-radius:.55rem;
  font-weight:600; text-decoration:none;
  color:inherit;
}
#mainMenu > li.lang .lang-dropdown a:hover{
  background:rgba(0,0,0,.04);
}
#mainMenu > li.lang .lang-dropdown a.active{
  background:linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.02));
  position:relative;
}
#mainMenu > li.lang .lang-dropdown a.active::before{
  content:'\2713'; position:absolute; right:.7rem; opacity:.85;
}

/* Mobile: full-width, no panel shadow. */
@media (max-width:800px){
  #mainMenu > li.lang{ margin: .25rem 0; }
  #mainMenu > li.lang .lang-btn{ width:100%; justify-content:center; }
  #mainMenu > li.lang .dropdown{
    position:static; min-width:auto; padding:.25rem 0;
    border:0; border-radius:10px; box-shadow:none; background:transparent;
  }
  #mainMenu > li.lang .lang-dropdown a{ padding:.65rem; }
}




/* Chevron */
.menu > li > button.menu-trigger::after{
  content:"\25BE"; font-weight:600; transform-origin:center; transition: transform .15s ease;
}
.menu li.open > button.menu-trigger::after{ transform: rotate(180deg); }

/* Dropdown */
.dropdown{
  position:absolute; top: calc(100% + 6px); left: 0;
  min-width: 200px; padding: 8px;
  background: #fff; border: 1px solid var(--mid-gray);
  border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.08);
  display: none;
}
.menu li.open > .dropdown{ display:block; }
.dropdown a{
  display:block; padding:10px; border-radius:8px; color:inherit; text-decoration:none; font-weight:600;
}
.dropdown a:hover{ background: var(--baby-lime); }
.dropdown .menu-sep{
  height: 1px; margin: 6px 8px;
  background: linear-gradient(90deg, transparent, var(--mid-gray), transparent); opacity: .9;
}
.dropdown .menu-label{
  display:block; padding:6px 10px 2px; font-size:12px; letter-spacing:.06em; color:#475569; text-transform:uppercase;
}
.menu > li.sep{
  width:1px; height:18px; background:rgba(0,0,0,.18);
  align-self:center; margin:0 8px; border-radius:1px;
}

/* Mobile menu */
#menuBackdrop{ position: fixed; inset: 0; background: rgba(0,0,0,.2); display: none; z-index: 999; }
#menuBackdrop.show{ display:block; }
@media (max-width: 800px){
  .menu{
    position: fixed; left: 12px; right: 12px;
    max-height: calc(100vh - 96px);
    overflow: auto; flex-direction: column; gap: 6px; padding: 10px;
    background:#fff; border:1px solid var(--mid-gray); border-radius:14px;
    box-shadow:0 14px 36px rgba(0,0,0,.12);
    display: none; z-index: 1000;
  }
  .menu.show{ display:flex; }

  .menu li.open > .dropdown{ position: static; display: block; box-shadow: none; border: 0; padding: 4px 0; background: transparent; min-width: 0; }
  .dropdown a{ padding:10px 12px; }
  .menu > li.sep{ display:none; }
}
.menu > li.right{ margin-left:auto; }

/* Main and footer */
.main{ flex:1; }
.main-inner{ max-width:960px; margin:0 auto; padding: 0px 0px 16px; }
main.content,
.main{
  position: absolute;
  top: var(--menu-h);
  left: 0; right: 0;
  bottom: var(--footer-h); /* safe gap for fixed footer */
  overflow: auto;
  padding: 16px 0 16px;
  min-height: 0;
}

/* Fixed footer on wider screens */
footer.footer{
  position: fixed; left: 0; right: 0; bottom: 0;
  min-height: var(--footer-h);
  z-index: 900;
  display:flex; align-items:center;
  border-top:1px solid var(--mid-gray);
  background: linear-gradient(0deg, var(--baby-green), var(--baby-lime));
}


/* Reserve space so content doesn't sit under the fixed footer */
body{
  padding-bottom: calc(var(--footer-h) + env(safe-area-inset-bottom));
}

/* Inner */
.footer-inner{
  max-width:1100px; margin:0 auto; width:100%;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  font-size:14px; flex-wrap:wrap; text-align:center;
}
.footer-links{ flex:1; min-width:200px; }
.footer-cta{ flex-shrink:0; }

/* Phones - return footer to normal flow so it can't jump upward */
@media (max-width: 600px){
  footer.footer{
    position: static;         /* no sticky */
    min-height: auto;
  }
  body{ padding-bottom: 0; }  /* no overlay spacing needed */
  .footer-inner{ flex-direction:column; gap:8px; font-size:13px; padding-bottom:12px; }
  .footer-links{ order:2; line-height:1.4; }
  .footer-cta{ order:1; }
}


/* Mobile layout fix: let main be in normal flow and keep footer at bottom */
@media (max-width: 600px){
  /* allow the page to scroll */
  body{
    overflow: auto;                 /* was hidden */
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;              /* no fixed-footer compensation */
  }

  /* return main to normal flow so it creates space for the footer */
  .main, main.content{
    position: static;               /* undo absolute */
    top: auto; right: auto; bottom: auto; left: auto;
    overflow: visible;              /* or auto if you prefer */
    min-height: auto;
    padding: 16px;                  /* keep some breathing room */
  }

  /* footer lives in the flow and sticks to bottom when content is short */
  footer.footer{
    position: static;               /* not fixed on phones */
    margin-top: auto;               /* push to bottom in the flex column */
    min-height: auto;
  }

  /* your existing footer inner tweaks are fine */
  .footer-inner{ flex-direction: column; gap: 8px; font-size: 13px; padding-bottom: 12px; }
  .footer-links{ order: 2; line-height: 1.4; }
  .footer-cta{ order: 1; }
}







/* NEW MENU ---------------------------------------------------------------------------------------- */
/* === Lynko.tv Menu (final, consolidated) =================================== */

/* Mobile helper for the toggle button */
.only-mobile { display: none; }
@media (max-width: 800px){ .only-mobile{ display:inline-flex; align-items:center; } }

/* Trigger with avatar */
.acc-trigger { display:inline-flex; align-items:center; gap:8px; }
.acc-avatar  { width:24px; height:24px; border-radius:50%; object-fit:cover; border:1px solid var(--mid-gray); }
.acc-avatar.lg { width:36px; height:36px; }
.acc-label   { font-weight:700; }

/* Dropdown (desktop) */
.dropdown{
  position:absolute; top:calc(100% + 6px); left:0;
  width:auto; min-width:260px; max-width:360px;
  max-height:60vh; overflow:auto;
  padding:6px; background:#fff; border:1px solid var(--mid-gray);
  border-radius:12px; box-shadow:0 10px 28px rgba(0,0,0,.08);
  display:none; z-index:1002;
}
.menu li.open > .dropdown{ display:block; }
.menu > li.right > .dropdown{ left:auto; right:0; }

/* Items (full-row clickable, tight) */
.drop-grid{ display:block; }
.drop-grid a{
  display:flex; align-items:center; justify-content:space-between;
  width:100%; padding:12px 14px; border-radius:8px;
  white-space:nowrap; line-height:1.25;
  color:inherit; text-decoration:none; font-weight:600;
}
.drop-grid a + a{ border-top:1px solid color-mix(in srgb, var(--mid-gray) 60%, #fff 40%); }
.drop-grid a:hover{ background: var(--baby-lime); }
.drop-grid a:focus-visible,
#mainMenu > li.lang .lang-dropdown a:focus-visible,
.account-panel .logout-link:focus-visible{
  outline:0;
  background:var(--baby-lime);
  box-shadow:0 0 0 3px rgba(59,130,246,.24);
}

/* Optional visual separator block (if present in markup) */
.dropdown .menu-sep{
  height:1px; margin:8px 6px;
  background:linear-gradient(90deg, transparent, var(--mid-gray), transparent);
  opacity:.9;
}

/* Account panel details */
.account-panel{ min-width:260px; }
.account-panel .account-head{ display:flex; align-items:center; gap:10px; padding:2px 6px 8px; }
.account-panel .acc-name{ font-weight:800; }
.account-panel .account-links a{ padding:10px 8px; }
.account-panel .logout-form{ padding:4px 6px; }
.account-panel .logout-link{
  appearance:none; background:transparent; border:0; padding:8px;
  font-weight:700; color:#b42318; border-radius:8px; cursor:pointer;
}
.account-panel .logout-link:hover{ background:#fee4e2; }

/* Shared keyboard visibility for form and disclosure controls */
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible{
  outline:2px solid var(--focus);
  outline-offset:2px;
}

summary{
  cursor:pointer;
}

/* Mobile sheet */
@media (max-width: 800px){
  .menu{
    position:fixed; left:12px; right:12px;
    max-height:calc(100vh - 96px);
    overflow:auto; display:none; z-index:1000;
    background:transparent; border:0; box-shadow:none; padding:0; gap:10px;
    flex-direction:column;
  }
  .menu.show{ display:flex; }
  .menu > li.right{ margin-left:0; }         /* stop pushing to the edge */
  .menu > li{
    width:100%; background:#fff; border:1px solid var(--mid-gray);
    border-radius:14px; overflow:hidden;
  }
  .menu > li > a,
  .menu > li > button.menu-trigger{
    width:100%; justify-content:space-between; padding:12px 14px;
  }
  .menu li.open > .dropdown{
    position:static; display:block; border:0; box-shadow:none; background:transparent;
    width:100%; max-width:none; max-height:none; padding:0 6px 8px;
  }
  .drop-grid{ display:block; }
  .drop-grid a{ padding:12px 12px; }
  .drop-grid a + a{ border-top:1px solid color-mix(in srgb, var(--mid-gray) 65%, #fff 35%); }
}


/*==================================================================================*/


/* 4) Text bubble - polished shared component (ToS/GDPR) */
.text-bubble {
  --accent: var(--lk-accent);
  --bg: var(--lk-panel);
  --bg-dark: var(--lk-panel-dark);
  --text: var(--lk-text);
  --muted: var(--lk-muted);
  --border: var(--lk-border);
  --ring: color-mix(in oklab, var(--accent) 60%, black 0%);
  position: relative;
  max-width: 900px;
  margin: 12px auto;
  padding: 22px 24px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
  backdrop-filter: blur(6px);
}

.text-bubble h1, .text-bubble h2{
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.25;
  margin: 0 0 8px;
  letter-spacing: 0.2px;
}
.text-bubble .muted{ color: var(--muted); font-size: .92rem; margin: 4px 0 18px; }
.text-bubble h3{
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  margin: 22px 0 8px;
  padding-left: 12px;
  border-left: 4px solid color-mix(in oklab, var(--lk-accent) 85%, transparent);
}
.text-bubble p{ margin: 8px 0 10px; line-height: 1.55; }
.text-bubble ul{ margin: 8px 0 14px 1.15em; padding:0; }
.text-bubble li{ margin: 6px 0; }
.text-bubble li ul{ margin-top: 6px; }

/* Links inside bubbles */
.text-bubble a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed color-mix(in oklab, var(--lk-accent) 60%, currentColor 40%);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.text-bubble a:hover,
.text-bubble a:focus-visible{
  color: color-mix(in oklab, var(--lk-accent) 60%, currentColor 40%);
  border-bottom-color: currentColor;
  outline: none;
}

/* Accent rule */
.text-bubble hr.lemon{
  height: 3px; border: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--lk-accent) 0%, color-mix(in oklab, var(--lk-accent) 50%, transparent) 50%, transparent 100%);
  margin: 10px 0 18px;
}
/* Subtle hr */
.text-bubble hr{
  border: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--lk-border), transparent);
  margin: 18px 0;
}
/* Anchor focus flash */
.text-bubble :target{
  scroll-margin-top: 90px;
  animation: lkFlash 900ms ease-out 1;
}
@keyframes lkFlash{
  0% { background: color-mix(in oklab, var(--lk-accent) 18%, transparent); }
  100% { background: transparent; }
}

/* 5) Buttons - unified */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--lk-accent) 60%, #000 0%);
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--lk-accent) 12%, #fff 88%),
    color-mix(in oklab, var(--lk-accent) 20%, #fff 80%)
  );
  color: #1b1b1b;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(0,0,0,.06), 0 8px 16px rgba(0,0,0,.06) inset;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease, filter .15s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 3px 0 rgba(0,0,0,.08), 0 10px 18px rgba(0,0,0,.08) inset; filter: saturate(1.05); }
.btn:active{ transform: translateY(0); }
.btn:focus-visible{ outline: 2px solid color-mix(in oklab, var(--lk-accent) 50%, #000 0%); outline-offset: 2px; }
.btn.lemon{
  border-color: var(--accent-2);
  background: linear-gradient(180deg, var(--accent-2), #fff1a6);
  box-shadow: 0 10px 28px rgba(255,210,77,.25);
}
.btn.ghost{ background:#fff; border:1px solid #e5e7eb; }
.btn.ghost:hover{ background:#f8fafc; }
.btn.danger{ background:#ef4444; color:#fff; border:0; }
.btn.danger:hover{ filter:brightness(.96); }
.btn.tiny{ font-size:.82rem; border-radius:10px; height:28px; padding:0 10px; }
.btn-full{ width:100%; }

/* Shared UI snippets for small PHP helpers in ui_components.php */
.lk-ui-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:26px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid #cbd5e1;
  background:#f8fbfa;
  color:#1f2937;
  font-size:.82rem;
  font-weight:800;
  line-height:1.1;
  white-space:nowrap;
}
.lk-ui-badge-success{background:#ecfdf3;color:#05603a;border-color:#8fd9ae;}
.lk-ui-badge-warning{background:#fffaeb;color:#7a4d00;border-color:#e7c65f;}
.lk-ui-badge-danger{background:#fef3f2;color:#b42318;border-color:#fecdca;}
.lk-ui-badge-premium{background:#fff8c5;color:#5c4100;border-color:#e7c65f;}
.lk-ui-tooltip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.16);
  background:#fff;
  color:#334155;
  font-size:12px;
  font-weight:900;
  line-height:1;
  cursor:help;
}
.lk-ui-tooltip:focus-visible{
  outline:2px solid color-mix(in oklab, var(--lk-accent) 55%, #000 0%);
  outline-offset:2px;
}
.lk-ui-empty{
  padding:24px;
  border:1px dashed #b8d7d1;
  border-radius:8px;
  background:linear-gradient(180deg,#fff,#fbfffb);
}
.lk-ui-empty strong{
  display:block;
  margin:0 0 6px;
  color:#0f172a;
  font-size:1rem;
}
.lk-ui-empty p{
  max-width:760px;
  margin:0 0 14px;
  color:#4b5563;
}
.lk-ui-empty-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.lk-ui-limit-card{
  display:grid;
  gap:12px;
  width:min(100%, 680px);
  min-width:0;
  padding:16px;
  border:1px solid rgba(20,58,45,.16);
  border-radius:8px;
  background:
    linear-gradient(90deg,rgba(185,244,109,.26),rgba(255,216,77,.20)) top left/100% 4px no-repeat,
    linear-gradient(180deg,#ffffff,#f7fbf9);
  box-shadow:0 14px 34px rgba(15,35,25,.07);
  color:#102019;
}
.lk-ui-limit-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  min-width:0;
}
.lk-ui-limit-values{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  min-width:0;
}
.lk-ui-limit-values > div{
  min-width:0;
  padding:10px 12px;
  border:1px solid rgba(20,58,45,.10);
  border-radius:8px;
  background:rgba(255,255,255,.76);
}
.lk-ui-limit-values > div:last-child{
  text-align:right;
}
.lk-ui-limit-head span,
.lk-ui-limit-values span{
  display:block;
  color:#52616d;
  font-size:.78rem;
  font-weight:800;
  line-height:1.25;
}
.lk-ui-limit-head strong,
.lk-ui-limit-values strong{
  display:block;
  color:#07130f;
  font-weight:900;
  line-height:1.2;
}
.lk-ui-limit-values strong{
  font-size:1.15rem;
}
.lk-ui-limit-name{
  color:#143a2d;
  font-size:.9rem;
  font-weight:950;
  text-align:right;
}
.lk-ui-limit-bar{
  position:relative;
  width:100%;
  height:12px;
  overflow:hidden;
  border-radius:999px;
  background:#e7efe9;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.08);
}
.lk-ui-limit-bar span{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#12805c,#b9f46d);
}
.lk-ui-limit-card.is-near-limit .lk-ui-limit-bar span{
  background:linear-gradient(90deg,#a76109,#ffd84d);
}
.lk-ui-limit-card.is-at-limit .lk-ui-limit-bar span{
  background:linear-gradient(90deg,#b42318,#ffd84d);
}
.lk-ui-limit-help{
  margin:0;
  color:#52616d;
  font-size:.84rem;
  font-weight:750;
  line-height:1.45;
}
.lk-ui-limit-upgrade{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px;
  border:1px solid rgba(167,97,9,.22);
  border-radius:8px;
  background:linear-gradient(180deg,#fff8df,#fffdf3);
  color:#5c4100;
  font-size:.84rem;
  line-height:1.35;
}
.lk-ui-limit-upgrade div{
  display:grid;
  gap:3px;
  min-width:0;
}
.lk-ui-limit-upgrade strong{
  color:#412d00;
  font-size:.9rem;
  font-weight:950;
}
.lk-ui-limit-upgrade span{
  color:#66521d;
  font-weight:760;
}
.lk-ui-limit-upgrade a{
  color:#143a2d;
  font-weight:950;
  white-space:nowrap;
}
.lk-ui-limit-card.is-unlimited .lk-ui-limit-bar span{
  width:100%!important;
  background:linear-gradient(90deg,#12805c,#b9f46d);
  opacity:.45;
}
.lk-ui-limit-card--compact{
  width:min(100%, 360px);
  padding:12px;
  box-shadow:0 8px 20px rgba(15,35,25,.06);
}
.lk-limeline{
  --usage-color:#12805c;
  --usage-soft:rgba(18,128,92,.10);
  position:relative;
  display:block;
  width:min(100%, 440px);
  min-width:0;
  color:#102019;
}
.lk-limeline--inline{
  width:auto;
}
.lk-limeline--header{
  margin-block:10px 0;
}
.lk-limeline--dock,
.lk-limeline--hero,
.lk-limeline--section{
  width:min(100%, 620px);
}
.lk-limeline--dock{
  justify-self:end;
}
.lk-limeline--hero{
  width:min(100%, 560px);
}
.lk-limeline--section{
  width:min(100%, 520px);
}
.lk-quota-dock{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  min-width:0;
  max-width:100%;
}
.lk-quota-dock.is-stack{
  align-items:flex-end;
  flex-direction:column;
}
.lk-limeline-note{
  color:#52616d;
  font-size:.78rem;
  font-weight:750;
  line-height:1.35;
  text-align:right;
}
.lk-cap-head-meta{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px 12px;
  min-width:0;
  max-width:100%;
  flex-wrap:wrap;
}
.lk-limeline--notice{
  --usage-color:#22a06b;
  --usage-soft:rgba(34,160,107,.14);
}
.lk-limeline--warning{
  --usage-color:#c98212;
  --usage-soft:rgba(255,216,77,.22);
}
.lk-limeline--full{
  --usage-color:#b42318;
  --usage-soft:rgba(180,35,24,.12);
}
.lk-limeline__summary{
  display:grid;
  grid-template-columns:max-content minmax(clamp(140px, 18vw, 320px), 1fr);
  align-items:center;
  gap:8px;
  min-width:0;
  max-width:100%;
  list-style:none;
  cursor:pointer;
}
.lk-limeline__summary::-webkit-details-marker{
  display:none;
}
.lk-limeline__summary:focus-visible{
  outline:0;
}
.lk-limeline__summary:focus-visible .lk-limeline__pill{
  box-shadow:0 0 0 3px rgba(14,165,233,.24);
}
.lk-limeline__pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  max-width:100%;
  min-height:30px;
  padding:6px 10px;
  border:1px solid rgba(20,58,45,.14);
  border-radius:999px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.92),rgba(248,251,249,.88)),
    var(--usage-soft);
  color:#143a2d;
  box-shadow:0 8px 22px rgba(15,35,25,.07);
  font-size:.82rem;
  font-weight:850;
  line-height:1.15;
  white-space:normal;
}
.lk-limeline__pill strong{
  color:#07130f;
  font-weight:950;
}
.lk-limeline__chevron{
  color:#52616d;
  font-size:.85em;
  transition:transform .16s ease;
}
.lk-limeline[open] .lk-limeline__chevron{
  transform:rotate(180deg);
}
.lk-limeline__bar{
  position:relative;
  display:block;
  width:100%;
  height:4px;
  min-width:clamp(140px, 18vw, 320px);
  overflow:hidden;
  border-radius:999px;
  background:rgba(20,58,45,.09);
  box-shadow:inset 0 1px 1px rgba(15,23,42,.08);
  transition:height .16s ease, background-color .16s ease;
}
.lk-limeline:hover .lk-limeline__bar,
.lk-limeline[open] .lk-limeline__bar,
.lk-limeline--warning .lk-limeline__bar,
.lk-limeline--full .lk-limeline__bar{
  height:5px;
}
.lk-limeline__fill{
  display:block;
  width:var(--usage-percent, 0%);
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--usage-color),#b9f46d);
  transition:width .22s ease;
}
.lk-limeline--warning .lk-limeline__fill{
  background:linear-gradient(90deg,#c98212,#ffd84d);
}
.lk-limeline--full .lk-limeline__fill{
  background:linear-gradient(90deg,#b42318,#ffd84d);
}
.lk-limeline.is-unlimited .lk-limeline__fill{
  width:100%;
  opacity:.46;
}
.lk-limeline__panel{
  display:grid;
  gap:10px;
  width:min(100%, 380px);
  margin-top:10px;
  padding:12px;
  border:1px solid rgba(20,58,45,.14);
  border-radius:8px;
  background:linear-gradient(180deg,#ffffff,#f8fbf9);
  box-shadow:0 14px 34px rgba(15,35,25,.10);
  color:#102019;
  font-size:.86rem;
  line-height:1.4;
}
.lk-limeline--dock[open],
.lk-limeline--hero[open],
.lk-limeline--section[open]{
  z-index:30;
}
.lk-limeline--dock .lk-limeline__panel,
.lk-limeline--hero .lk-limeline__panel,
.lk-limeline--section .lk-limeline__panel{
  position:absolute;
  right:0;
}
.lk-limeline__panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  min-width:0;
}
.lk-limeline__panel-head strong{
  color:#07130f;
  font-weight:950;
}
.lk-limeline__panel-head span,
.lk-limeline__panel p{
  color:#52616d;
}
.lk-limeline__panel p{
  margin:0;
  font-weight:700;
}
.lk-limeline__meta{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:0;
}
.lk-limeline__meta > div{
  min-width:0;
  padding:9px 10px;
  border:1px solid rgba(20,58,45,.10);
  border-radius:8px;
  background:rgba(255,255,255,.76);
}
.lk-limeline__meta dt{
  margin:0 0 2px;
  color:#52616d;
  font-size:.74rem;
  font-weight:850;
}
.lk-limeline__meta dd{
  margin:0;
  color:#07130f;
  font-weight:950;
}
.lk-limeline__upgrade{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px;
  border:1px solid color-mix(in srgb, var(--usage-color) 22%, #fff);
  border-radius:8px;
  background:var(--usage-soft);
}
.lk-limeline__upgrade div{
  display:grid;
  gap:2px;
  min-width:0;
}
.lk-limeline__upgrade strong{
  color:#07130f;
  font-weight:950;
}
.lk-limeline__upgrade span{
  color:#52616d;
  font-size:.8rem;
  font-weight:750;
}
.lk-limeline__upgrade a{
  color:#143a2d;
  font-weight:950;
  white-space:nowrap;
}
@media(max-width:640px){
  .lk-ui-limit-card{width:100%}
  .lk-quota-dock,
  .lk-quota-dock.is-stack{
    align-items:stretch;
    justify-content:flex-start;
    flex-direction:column;
    width:100%;
  }
  .lk-limeline{
    width:100%;
  }
  .lk-limeline--dock,
  .lk-limeline--hero,
  .lk-limeline--section,
  .lk-limeline--mobile-stack{
    width:100%;
  }
  .lk-limeline__summary{
    grid-template-columns:1fr;
  }
  .lk-limeline__bar{
    min-width:0;
    width:100%;
  }
  .lk-limeline--dock .lk-limeline__panel,
  .lk-limeline--hero .lk-limeline__panel,
  .lk-limeline--section .lk-limeline__panel{
    position:static;
  }
  .lk-limeline__pill{
    justify-content:space-between;
    width:100%;
  }
  .lk-limeline__panel,
  .lk-limeline__upgrade,
  .lk-limeline__panel-head{
    width:100%;
    align-items:stretch;
    flex-direction:column;
  }
  .lk-limeline__meta{
    grid-template-columns:1fr;
  }
  .lk-limeline-note{
    text-align:left;
  }
  .lk-cap-head-meta{
    align-items:stretch;
    justify-content:flex-start;
    flex-direction:column;
    width:100%;
  }
  .lk-ui-limit-head,
  .lk-ui-limit-upgrade{
    align-items:stretch;
    flex-direction:column;
  }
  .lk-ui-limit-values{
    grid-template-columns:1fr;
  }
  .lk-ui-limit-name,
  .lk-ui-limit-values > div:last-child{
    text-align:left;
  }
}

/* Readability pass for soft helper text, badges and disabled controls */
.muted,
.hint,
.help,
.helper,
small.muted,
.lk-ui-help{
  color:#4b5563;
}
.badge,
.chip,
.lk-dash-chip,
.lk-lite-pill{
  border-color:#cbd5e1;
  color:#17362b;
}
input:disabled,
select:disabled,
textarea:disabled,
input[readonly],
textarea[readonly]{
  color:#475569;
  background:#eef3f1;
  border-color:#b8c5ce;
  opacity:1;
}
input:disabled::placeholder,
textarea:disabled::placeholder,
input[readonly]::placeholder,
textarea[readonly]::placeholder{
  color:#4b5563;
  opacity:1;
}

/* 6) Forms and inputs */
.input,
input:not([type]),
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="tel"],
input[type="number"],
select,
textarea{
  width:100%; padding:10px 12px; border-radius:12px;
  border:1px solid var(--input-edge); background:#fff; color:var(--ink);
  outline:none; transition: border .15s ease, box-shadow .15s ease;
  box-shadow: 0 0 0 1px rgba(17,24,39,.07), inset 0 1px 0 rgba(0,0,0,.04);
}
.input:hover,
input:not([type]):hover,
input[type="text"]:hover,
input[type="email"]:hover,
input[type="url"]:hover,
input[type="search"]:hover,
input[type="password"]:hover,
input[type="tel"]:hover,
input[type="number"]:hover,
select:hover,
textarea:hover{
  border-color: var(--input-edge-hover);
}
.input:focus,
input:not([type]):focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus{
  border-color: var(--input-ring);
  box-shadow: 0 0 0 1px rgba(17,24,39,.07), 0 0 0 1px rgba(59,130,246,.22);
}
textarea{ min-height:110px; resize: vertical; }
@media (prefers-contrast: more){
  .input,
  input:not([type]),
  input[type="text"],
  input[type="email"],
  input[type="url"],
  input[type="search"],
  input[type="password"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea{ border-width:2px; }
}

/* Form layouts */
.auth-card{ padding:28px; }
.card-head h1{ margin:0 0 6px; font-size:clamp(24px,3.2vw,32px); }
.card-head .sub{ margin:0 0 16px; color:#4b5563; }
.form-grid{ display:grid; gap:14px; }
.field label{ display:flex; justify-content:space-between; align-items:flex-end; font-weight:700; margin:0 0 6px; }
.hint{ font-weight:600; color:#4b5563; font-size:.92rem; }
.input-row{ display:flex; gap:8px; align-items:center; }
.icon-btn{
  border:1px solid var(--mid-gray); background:#fff; border-radius:10px; padding:8px 10px; line-height:1; cursor:pointer;
}
.icon-btn:focus-visible{ outline:none; box-shadow:0 0 0 3px rgba(59,130,246,.28); }
.agree{ font-size:.9rem; color:#475569; margin:10px 0 0; }

/* Notices */
.notice{
  border:1px solid; border-radius:12px; padding:10px 12px; margin:10px 0 16px;
}
.notice.success{ background:#f0fdf4; border-color:#86efac; }
.notice.error{ background:#fff1f1; border-color:#fca5a5; }
.notice.error ul{ margin:0; padding-left:18px; }
.text-bubble .notice ul li::before{ content:none; }
.text-bubble .notice.error ul li{ position:relative; padding-left:28px; }
.text-bubble .notice.error ul li::before{ content:"\2716"; position:absolute; left:0; top:0; color:#dc2626; font-weight:900; }
.text-bubble .notice.success ul li::before{ content:"\2714"; position:absolute; left:0; top:0; color:#16a34a; font-weight:900; }

/* 7) Utilities */
.container{ max-width:1100px; margin:0 auto; padding:0 16px; }
.hide-on-mobile{ display:block; }
.only-mobile{ display:none; }
@media (max-width: 800px){
  .hide-on-mobile{ display:none; }
  .only-mobile{ display:inline-flex; }
}

/* Link utilities */
.link-plain{
  color: inherit; text-decoration: none; background: transparent; border: 0; padding: 0; font-weight: inherit;
}
.link-plain:hover,
.link-plain:active,
.link-plain:focus,
.link-plain:focus-visible{
  color: inherit; text-decoration: none; background: transparent; box-shadow: none; transform: none; outline: 0;
}

/* 8) Shortlink page (namespaced) */
.lk-sl-card{
  padding:32px 28px;
  background: linear-gradient(180deg,#f7fbf9,#f2f9f5);
  border:1px solid var(--panel-border);
  border-radius:16px;
  box-shadow:0 12px 40px rgba(0,0,0,.06);
}
.lk-sl-head h1{ font-size: clamp(26px,3.4vw,36px); margin:0 0 6px; }
.lk-sl-head .lk-sl-sub{ color:#4f5f68; margin:0 0 12px; }
.lk-sl-rules{ display:grid; gap:14px; margin:12px 0 18px; grid-template-columns:1fr; }
.lk-sl-rule{
  background:#fff; border:1px solid var(--mid-gray);
  border-radius:14px; padding:14px 16px; box-shadow:0 8px 24px rgba(0,0,0,.04);
}
.lk-sl-rule strong{ display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.lk-sl-rule strong::before{ content:""; width:10px; height:10px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 2px rgba(155,226,168,.35); }
.lk-sl-rule:nth-child(2) strong::before{ background:#ffd24d; }
.lk-sl-rule:nth-child(3) strong::before{ background:#34c759; }
.lk-sl-tag{
  display:inline-block; margin-left:8px; padding:2px 8px;
  background: var(--lemon); border:1px solid var(--accent-2);
  border-radius:999px; font-size:.75rem; font-weight:800; color:#0b1b10;
}
.lk-sl-field{ margin-bottom:14px; }
.lk-sl-labelrow{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 0 6px; }
.lk-sl-meta{ font-size:.9rem; color:#475569; }
.lk-sl-inputgroup{
  display:flex; align-items:center;
  border:1px solid var(--mid-gray); border-radius:14px; background:#fff;
  box-shadow: inset 0 1px 0 rgba(0,0,0,.02);
}
.lk-sl-prefix{
  padding:10px 12px; border-right:1px dashed var(--mid-gray);
  border-radius:14px 0 0 14px; background:#f3f7f4; color:#475569;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace; white-space:nowrap;
}
.lk-sl-inputgroup input{ border:0; outline:0; width:100%; padding:10px 12px; background:transparent; }
.lk-sl-field.lk-sl-locked .input,
.lk-sl-field.lk-sl-locked .lk-sl-inputgroup{ background:#f1f5f9; }
.lk-sl-field.lk-sl-locked .input{ color:#475569; border-style:dashed; }
.lk-sl-field.lk-sl-locked .lk-sl-prefix{ opacity:.78; color:#475569; }
.lk-sl-badge{
  display:inline-block; padding:2px 10px; border-radius:999px;
  background:var(--lemon); border:1px solid var(--accent-2);
  font-weight:800; font-size:.75rem; color:#0b1b10;
}
.lk-sl-preview{
  margin-top:6px; padding:8px 10px; background:#fff;
  border:1px dashed var(--mid-gray); border-radius:10px; color:#334155;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
}
.lk-sl-muted{ color:#4b5563; }
.lk-sl-smallprint{ font-size:.92rem; margin-top:12px; }
.lk-sl-btnfull{ width:100%; }
.btn.lemon.lk-sl-btn{ box-shadow:0 10px 28px rgba(255,210,77,.25); }
.btn.lemon.lk-sl-btn:hover{ filter:saturate(1.08); transform:translateY(-1px); }
.btn.lemon.lk-sl-btn:active{ transform:translateY(0); }
@media (min-width: 820px){
  .lk-sl-rules{ grid-template-columns: repeat(3, 1fr); }
}

/* 9) My Links table */
.lk-my-links{ margin-top:16px; }
.lk-links-box{
  --ring: 1px solid #e9ebf0; --bg:#fff; --bg-sticky:#fff; --row-hover:#fafbff;
  --radius:14px; --muted:#4b5563; --shadow:0 8px 26px rgba(16,24,40,.06);
}
.lk-tablewrap{
  border: var(--ring); border-radius: var(--radius); overflow: auto;
  max-height: clamp(260px, 42vh, 380px);
  background: var(--bg); box-shadow: var(--shadow);
}
.lk-table{
  width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed;
  font-size: 0.95rem;
}
.lk-table thead th{
  position: sticky; top: 0; z-index: 3;
  background: var(--bg); padding: 10px 12px;
  font-weight: 700; text-align: left; border-bottom: var(--ring);
}
.lk-table .col-idx{ width: 3.2ch; }
.lk-table .col-created{ width: 12rem; }
.lk-table .col-clicks{ width: 6rem; text-align: right; font-variant-numeric: tabular-nums; }
.lk-table .col-actions{ width: 14rem; }
.lk-table tbody td{
  padding: 12px; border-bottom: 1px solid #f2f4f7; vertical-align: middle;
}
.lk-table tbody tr:hover{ background: var(--row-hover); }
.lk-table .col-idx { color: var(--muted); }
.lk-table .col-target a,
.lk-table .col-short a{
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lk-table .actions{ display:grid; grid-template-columns: 1fr 1fr; gap:.5rem; }
.lk-table .actions .btn{
  display:flex; align-items:center; justify-content:center;
  height:34px; width:100%; padding:0 .6rem; line-height:1;
  white-space:nowrap; margin:0;
}

/* Additional generic table tidy */
.lk-table th, .lk-table td{ padding:10px 12px; border-bottom:1px solid var(--panel-border); vertical-align:middle; }
.lk-table tr:hover td{ background:#f7fbf8; }
.col-idx,.col-metric,.col-actions{ text-align:right; white-space:nowrap; }
.col-created{ white-space:nowrap; }
.col-pixel{ text-align:center; width:44px; }
.col-name .title{
  display:inline-block; max-width:320px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:600;
}
.col-name .sub{ font-size:12px; color:#4b5563; margin-top:2px; }
.col-name code{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:12px;
  background:#f6f8fa; border:1px solid var(--panel-border); padding:1px 4px; border-radius:4px;
}

/* Empty state */
.lk-links-empty{ text-align:center; padding:.85rem; color: #4b5563; }

/* Table responsive */
@media (max-width: 560px){
  .lk-table thead th, .lk-table tbody td { padding: 10px 8px; }
}
@media (max-width: 400px){
  .lk-table thead th, .lk-table tbody td { padding: 8px 6px; }
}
@media (max-width: 760px){
  .lk-table .col-short{ display: none; }
  .lk-table .col-idx{ width: 2.2ch; }
  .lk-table .col-created{ width: 9.5rem; }
  .lk-table .col-clicks{ width: 4.5rem; text-align: right; }
  .lk-table .col-actions{ width: 9.5rem; }
  .lk-table .actions{ grid-template-columns: 1fr 1fr; gap: .35rem; }
  .btn.tiny { height: 32px; font-size: .8rem; }
}
@media (max-width: 560px){
  .lk-table .col-created { display: none; }
  .lk-table thead th, .lk-table tbody td { min-width: 0; }
}
@media (max-width: 480px){
  .lk-table .col-idx { display: none; }
  .lk-table .col-actions{ width: 8.5rem; }
}
@media (max-width: 430px){
  .lk-table .actions{ grid-template-columns: 1fr; }
  .lk-table .col-actions{ width: 6.5rem; }
}
@media (max-width: 370px){
  .lk-table{ min-width: 480px; }
  .lk-tablewrap{ overflow-x: auto; }
}

/* Misc chips and badges */
.badge.warn{
  margin-left:6px; padding:2px 6px; border-radius:999px; background:#fff3cd; border:1px solid #e7c65f; font-size:12px; color:#624000;
}
.uv{
  display:inline-block; min-width:52px; padding:2px 8px; border-radius:999px;
  background: linear-gradient(0deg,var(--baby-green),var(--baby-lime));
  border:1px solid var(--panel-border); font-size:12px;
}
.uv .u{ font-weight:600; }
.uv .sep{ padding:0 2px; opacity:.6; }
.actions{ display:flex; gap:8px; justify-content:flex-end; }

/* Admin abuse count pill */
.badge2{
  display:inline-block; min-width:22px; padding:2px 8px; border-radius:999px;
  background:#e8f6ee; color:#14532d; border:1px solid #d8e7dd; font-weight:700; text-align:center;
}

/* 10) Dashboard */
.lk-dash-card{ padding:28px; }
.lk-dash-header{
  display:flex; align-items:center; gap:12px; justify-content:space-between; margin-bottom:12px;
}
.lk-dash-badge{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px; border-radius:999px; font-weight:800; font-size:.85rem;
  border:1px solid var(--mid-gray); background:#fff; color:#0b1b10;
}
.lk-dash-badge.ok{ border-color:#86efac; background:#f0fdf4; }
.lk-dash-badge.warn{ border-color:#fecaca; background:#fff1f2; }
.lk-dash-grid{
  display:grid; gap:12px; margin:8px 0 16px; grid-template-columns: 1fr;
}
.lk-dash-kv{
  background:var(--panel-bg); border:1px solid var(--panel-border);
  border-radius:12px; padding:12px 14px; display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.lk-dash-label{ color:#475569; font-weight:700; }
.lk-dash-value a{ color:inherit; text-decoration:none; border-bottom:1px dashed rgba(0,0,0,.2); }
.lk-dash-value a:hover{ border-bottom-color:transparent; }
.lk-dash-chip{
  display:inline-block; padding:4px 10px; border-radius:999px; font-weight:800;
  border:1px solid var(--mid-gray); background:#fff;
}
.lk-dash-chip.plan-0{ border-color:#cbd5e1; background:#f8fafc; }
.lk-dash-chip.plan-1{ border-color:#86efac; background:#f0fdf4; }
.lk-dash-chip.plan-2{ border-color:#c4b5fd; background:#eef2ff; }
.lk-dash-chip.plan-3{ border-color:#fcd34d; background:#fffbeb; }
.lk-dash-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.lk-dash-actions .btn[aria-disabled="true"]{ filter: grayscale(.2); opacity:.7; cursor:not-allowed; }
@media (min-width: 820px){
  .lk-dash-grid{ grid-template-columns: 1fr 1fr; }
}

/* 11) Home hero CTAs */
.lk-home-cta{
  display:grid; grid-template-columns: 1fr auto; align-items:center; gap:16px; margin-top:12px;
}
.lk-home-notes{ color:#5b6470; font-size:.85rem; line-height:1.4; }
.lk-home-notes p{ margin:0; }
.lk-home-notes p + p{ margin-top:2px; }
.lk-home-actions{ display:flex; gap:12px; justify-self:end; }
.lk-home-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 16px; border-radius:14px; font-weight:800; letter-spacing:.2px; text-decoration:none;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
  transition: transform .06s ease, filter .15s ease, box-shadow .15s ease;
  border:1px solid transparent; white-space:nowrap;
}
.lk-home-btn:hover{ filter:saturate(1.05); transform:translateY(-1px); }
.lk-home-btn:active{ transform:translateY(0); }
.lk-home-btn--primary{
  background:linear-gradient(180deg,#ffd24d,#ffe784);
  border-color:#ffd24d; color:#0b1b10;
  box-shadow:0 10px 28px rgba(255,210,77,.28);
}
.lk-home-btn--disabled{
  background:linear-gradient(180deg,#f4f6f8,#e9edf2);
  border-color:#d8dde3; color:#7a8594;
  filter:grayscale(.1); opacity:.8; cursor:not-allowed; pointer-events:none;
}
@media (max-width: 820px){
  .lk-home-notes{ font-size:.9rem; }
  .text-bubble .lk-home-notes p{ font-size:.9rem; }
  .lk-home-cta{ grid-template-columns: 1fr; align-items:stretch; }
  .lk-home-actions{ justify-self:stretch; }
  .lk-home-btn{ flex:1 1 100%; text-align:center; }
}
.text-bubble .lk-home-notes p{ font-size:.85rem; line-height:1.4; margin:0; }
.text-bubble .lk-home-notes p + p{ margin-top: 2px; }

/* 12) Mini roadmap */
.lk-lite-rm{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  padding:8px 12px; border:1px solid var(--panel-border);
  border-radius:999px; background:#fff; box-shadow:0 6px 18px rgba(0,0,0,.04);
  width: max-content; margin: 16px auto 0; max-width: calc(100% - 32px);
}
.lk-lite-pill{
  display:inline-block; padding:4px 10px; border-radius:999px;
  font-size:12px; font-weight:800; letter-spacing:.02em;
  border:1px solid var(--mid-gray); background:#f8fafc; color:#0b1b10;
}
.lk-lite-pill.beta{ border-color:#fde68a; background:#fffbeb; }
.lk-lite-text{ font-size:14px; color:#475569; line-height:1.4; }
.lk-lite-text strong{ color:#0f172a; font-weight:800; }

/* 13) Readable roadmap */
.lk-rm-easy{
  max-width: 720px; margin: 16px auto 0; padding: 14px 16px;
  background: #fff; border: 1px solid var(--panel-border);
  border-radius: 14px; box-shadow: 0 8px 22px rgba(0,0,0,.06);
}
.lk-rm-easy .badge{
  display:inline-flex; align-items:center; gap:6px;
  padding:4px 10px; border-radius:999px;
  border:1px solid var(--mid-gray); background:#f8fafc; color:#0b1b10;
  font-size:.85rem; font-weight:800; letter-spacing:.02em; margin-bottom:8px;
}
.lk-rm-easy .list{ list-style:none; margin:0; padding:0; }
.lk-rm-easy .row{
  display:grid; grid-template-columns: 160px 1fr;
  gap: 10px 14px; padding: 10px 0; border-top: 1px dashed var(--mid-gray);
}
.lk-rm-easy .row:first-child{ border-top: 0; }
.lk-rm-easy .heading{
  font-weight: 900; letter-spacing:.2px; color:#0b1b10;
  font-size: clamp(15px, 2.8vw, 16px); line-height: 1.2;
}
.lk-rm-easy .heading.live{ color:#166534; }
.lk-rm-easy .heading.building{ color:#92400e; }
.lk-rm-easy .heading.next{ color:#1e3a8a; }
.lk-rm-easy .chips{ display:flex; flex-wrap:wrap; gap:8px; }
.lk-rm-easy .chip{
  display:inline-flex; align-items:center; padding:6px 10px; border-radius:999px;
  border:1px solid var(--mid-gray); background:#fff; color:#0b1b10;
  font-weight:800; font-size:.95rem; box-shadow:0 2px 8px rgba(0,0,0,.04);
}
@media (max-width: 720px){
  .lk-rm-easy .row{ grid-template-columns: 1fr; }
  .lk-rm-easy .heading{ font-size: 1rem; }
  .lk-rm-easy .chip{ font-size:.92rem; }
}

/* 14) Pretty upgrade hint */
.lk-upgrade-row .meta{
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end;
}
.lk-up-sep{ opacity:.5; }
.lk-up-text{ color:#4b5563; font-weight:700; }
.lk-up-pill{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px; border-radius:999px;
  background:linear-gradient(180deg,var(--accent-2),#fff1a6);
  border:1px solid var(--accent-2);
  color:var(--btn-text);
  font-weight:900; font-size:.8rem; text-decoration:none;
  box-shadow:0 6px 18px rgba(255,210,77,.22);
  transition:transform .06s ease, filter .15s ease;
}
.lk-up-pill:hover{ filter:saturate(1.06); transform:translateY(-1px); }
.lk-up-tiers{ display:inline-flex; gap:6px; align-items:center; flex-wrap:wrap; }
.lk-tier{
  display:inline-block; padding:3px 8px; border-radius:999px;
  border:1px solid var(--mid-gray); font-size:.75rem; font-weight:800; letter-spacing:.02em; background:#fff;
}
.lk-tier.bronze{ background:#f0fdf4; border-color:#86efac; }
.lk-tier.silver{ background:#eef2ff; border-color:#c4b5fd; }
.lk-tier.gold{ background:#fffbeb; border-color:#fcd34d; }

/* 15) Section divider you can reuse anywhere */
hr.lemon {
  border: none; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--baby-lime) 0%, var(--accent) 50%, var(--baby-green) 100%);
  margin: 32px auto; width: 80%; max-width: 720px; opacity: .8;
}

/* 16) Print-friendly for text-bubble */
@media print{
  .text-bubble{
    background: #fff; border-color: #000; box-shadow: none;
  }
  .text-bubble a[href^="?"],
  .text-bubble a[href^="http"]::after{
    content: " (" attr(href) ")"; font-size: .9em; color: #333; border: 0;
  }
}


/* ==== Unify ALL yellow CTAs (Create link / Live tree demo / Create QR code / etc.) ==== */
:root{
  --ctaY-top:#ffe784;      /* light */
  --ctaY-btm:#ffd24d;      /* base */
  --ctaY-border:#f7d771;   /* outline */
  --ctaY-text:#0b1b10;     /* ink */
  --ctaY-shadow:rgba(255,210,77,.28);
}

/* Buttons and links that use the yellow primary treatment */
button.btn.lemon,
a.btn.lemon,
.btn.lemon,
a.lk-home-btn.lk-home-btn--primary,
.lk-home-btn--primary{
  /* visual recipe (force it to win) */
  background: linear-gradient(180deg,var(--ctaY-top),var(--ctaY-btm)) !important;
  background-color: var(--ctaY-btm) !important;
  border: 2px solid var(--ctaY-border) !important;
  color: var(--ctaY-text) !important;
  box-shadow: 0 10px 28px var(--ctaY-shadow) !important;

  /* keep shape/weight consistent */
  border-radius: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: transform .06s ease, filter .15s ease, box-shadow .15s ease !important;
}

button.btn.lemon:hover,
a.btn.lemon:hover,
.lk-home-btn--primary:hover{
  transform: translateY(-1px);
  filter: saturate(1.06);
  box-shadow: 0 12px 32px var(--ctaY-shadow);
}

button.btn.lemon:active,
a.btn.lemon:active,
.lk-home-btn--primary:active{
  transform: translateY(0);
}

button.btn.lemon:focus-visible,
a.btn.lemon:focus-visible,
.lk-home-btn--primary:focus-visible{
  outline: 2px solid var(--ctaY-border);
  outline-offset: 2px;
}



/* ===== Lynko.tv - Drop-in mobile scroll + footer patch ===== */

/* 1) Desktop only: keep your fixed footer and absolute main */
@media (min-width: 601px){
  footer.footer{
    position: fixed; left: 0; right: 0; bottom: 0;
    min-height: var(--footer-h);
    z-index: 900;
  }
  body{
    /* reserve space so content does not sit under footer */
    padding-bottom: calc(var(--footer-h) + env(safe-area-inset-bottom));
    overflow: hidden; /* desktop keeps the main as the scroller */
  }
  .main, main.content{
    position: absolute;
    top: var(--menu-h);
    left: 0; right: 0;
    bottom: var(--footer-h);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
  }
  .site-wrap{
    height: 100svh; /* viewport-true on modern mobiles, fine on desktop */
    overflow: hidden;
  }
}

/* 2) Phones: let the whole page scroll and put footer in normal flow */
@media (max-width: 600px){
  html, body{
    height: auto;
    min-height: 100dvh;
    overflow: auto;               /* restore page scrolling */
    touch-action: pan-y;
    padding-bottom: 0;            /* no fixed-footer spacing needed */
  }

  /* prevent the wrapper from clipping content */
  .site-wrap{
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  /* main back to normal flow so it pushes the footer down */
  .main, main.content{
    position: static;
    top: auto; right: auto; bottom: auto; left: auto;
    overflow: visible;            /* no nested scroller on phones */
    min-height: auto;
    padding: 16px;
  }

  /* footer sits after content and stays at the bottom when short */
  footer.footer{
    position: static;
    margin-top: auto;
    min-height: auto;
  }

  /* your existing footer tweaks */
  .footer-inner{ flex-direction: column; gap: 8px; font-size: 13px; padding-bottom: 12px; }
  .footer-links{ order: 2; line-height: 1.4; }
  .footer-cta{ order: 1; }
}

/* Remove incorrect CTA spacer. */
.lk-home-cta:last-child { margin-bottom: 0 !important; }



/* Force light rendering for these controls, regardless of device theme */
.with-toggle .input-row,
.with-toggle .icon-btn,
#captcha-display,
.btn-step {
  color-scheme: light;
}

/* Make the text dark and visible */
.with-toggle .icon-btn,
.btn-step {
  background-color: #fff;
  color: #111827;            /* dark gray text */
  border: 1px solid #d1d5db; /* subtle border so it shows on white */
  border-radius: 12px;
}

.with-toggle .icon-btn { padding: 0.45rem 0.75rem; }

/* Captcha stepper look */
.btn-step {
  width: 44px;
  height: 44px;
  font-size: 22px;
  line-height: 1;
}

#captcha-display {
  background-color: #fff;
  color: #111827;
  border: 1px solid #d1d5db;
  border-radius: 12px;
}

/* Optional: if you set color-scheme on html/body, keep forms light */
form, .form-card { color-scheme: light; }



/* Footer-safe spacing for the final content block on the page.
.main-inner > .text-bubble:last-of-type,
.main-inner > .lk-sl-card:last-of-type,
.main-inner > .lk-rm-easy:last-of-type,
.main-inner > .container:last-of-type {
  margin-bottom: var(--footer-safe);
}
  */
  /* ===== Lynko Maintenance (lemon-lime) ===== */
.lk-maint-title{ margin:4px 0 12px; font-size:20px; color:#0f172a; }

.lk-maint-form{ display:grid; gap:12px; }
.lk-maint-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px; }
.lk-maint-wrap .amd-btn{ padding:10px 14px; border-radius:12px; }
.lk-maint-wrap .amd-btn.ghost{ background:#fff; border:1px solid #e6e9ee; }

.lk-switch{ display:flex; align-items:center; gap:12px; padding:12px; border:1px solid #e6e9ee; border-radius:14px; background:#fff;
  box-shadow:0 1px 2px rgba(16,24,40,.04); }
.lk-switch .label{ display:flex; flex-direction:column; line-height:1.2; color:#0f172a; }
.lk-switch small{ color:#667085; }

.lk-switch input{ display:none; }
.lk-switch .slider{
  width:48px; height:28px; border-radius:999px; background:#e6e9ee; position:relative; flex:0 0 auto;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.02);
}
.lk-switch .slider::after{
  content:""; position:absolute; top:3px; left:3px; width:22px; height:22px; border-radius:50%; background:#fff;
  box-shadow:0 1px 2px rgba(16,24,40,.12); transition:all .18s ease;
}
.lk-switch input:checked + .slider{ background:#a3e635; }          /* track lemon-lime */
.lk-switch input:checked + .slider::after{ transform:translateX(20px); }

.lk-maint-reason textarea{
  width:100%; min-height:96px; padding:10px 12px; border:1px solid #e6e9ee; border-radius:10px; resize:vertical;
  background:#fff; color:#0f172a; box-shadow:0 1px 2px rgba(16,24,40,.04);
}

.lk-maint-actions{ display:flex; gap:8px; align-items:center; }

.lk-maint-box{
  margin:10px 0; padding:12px 14px; border-radius:12px; border:1px solid #e6e9ee; background:#fff;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}
.lk-maint-box.success{ border-color:#16a34a33; }
.lk-maint-box.error{ border-color:#ef444433; }
.lk-maint-box.warn{ border-color:#f59e0b33; }
.lk-maint-box .muted{ color:#667085; }
.lk-maint-box .reason{ margin-top:4px; }




/* ===================== MOBILE MENU FIX ===================== */
@media (max-width: 800px){

  /* Zorg dat header layout logisch blijft */
  .header-inner{
    justify-content: space-between;
  }

  /* Keep the toggle in flow so it does not cover content. */
  #mobileToggle{
    position: static !important;
    z-index: 1001;
    white-space: nowrap;
  }

  /* Prevent nav from inheriting unexpected margin-left:auto behavior. */
  .nav{
    margin-left: 0;
  }

  /* Menu wordt een nette sheet onder de header */
  .menu{
    position: fixed;
    left: 12px;
    right: 12px;
    top: 72px; /* pas aan als je header hoger/lager is */
    max-height: calc(100vh - 96px);
    overflow: auto;

    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 12px;

    background: #fff;
    border: 1px solid var(--mid-gray);
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(0,0,0,.12);
    z-index: 1000;
  }
  .menu.show{ display:flex; }

  /* Belangrijk: haal desktop "naar rechts duwen" weg op mobiel */
  .menu > li.right{
    margin-left: 0 !important;
  }

  /* Alles full width */
  .menu > li{
    width: 100%;
  }

  /* Links and triggers as clean mobile buttons. */
  .menu > li > a,
  .menu > li > button.menu-trigger{
    width: 100%;
    justify-content: space-between;
    padding: 14px 12px;
    border-radius: 12px;
    line-height: 1.2;
  }

  /* Separators weg */
  .menu > li.sep{ display:none !important; }

  /* Dropdowns as accordions, not floating panels. */
  .dropdown{
    position: static !important;
    display: none;
    min-width: 0 !important;
    padding: 6px 0 !important;
    border: 0 !important;
    border-radius: 12px;
    box-shadow: none !important;
    background: transparent !important;
    margin-top: 4px;
  }
  .menu li.open > .dropdown{ display:block; }

  /* Dropdown items iets ingesprongen voor duidelijkheid */
  .dropdown a{
    padding: 12px 12px;
    border-radius: 10px;
    margin-left: 10px;
    width: calc(100% - 10px);
  }

  /* Language control spans the full width on mobile. */
  #mainMenu > li.lang{
    margin: 0 !important;
  }
  #mainMenu > li.lang .lang-btn{
    width: 100% !important;
    justify-content: space-between !important;
  }

  /* Backdrop werkt nu ook echt goed visueel */
  #menuBackdrop{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.25);
    display: none;
    z-index: 999;
  }
  #menuBackdrop.show{ display:block; }

  /* Kleine polish: dropdown scheidingslijn in menu zelf */
  .dropdown .menu-sep{
    margin: 8px 12px;
  }
}

@media (max-width: 800px){

  /* Header layout: logo left, menu button right. */
  .header-inner{
    display: flex;
    align-items: center;
  }

  /* Nav altijd rechts */
  .nav{
    margin-left: auto;
    display: flex;
    align-items: center;
  }

  /* Keep the menu button explicitly aligned right. */
  #mobileToggle{
    margin-left: auto;
  }
}
.header{
  background-color: #eaf9f0;
  background-image: linear-gradient(0deg,#eaf9f0,#dcf6e6);
}
body.login .header,
body.auth .header{
  background-color: #eaf9f0;
  background-image: linear-gradient(0deg,#eaf9f0,#dcf6e6);
}


/* ===== Mobile: keep Menu button on the right (final override) ===== */
@media (max-width: 800px){
  /* Zorg dat items niet door elkaar heen duwen */
  .header-inner{
    display:flex;
    align-items:center;
    justify-content:flex-start !important; /* voorkom rare center/space-between clashes */
  }

  /* Brand left, nav in the middle, button last on the right. */
  .nav{
    order: 2;
    margin-left: 0 !important;
  }

  #mobileToggle{
    order: 3;
    margin-left: auto !important; /* push the button to the right */
    align-self: center;
  }
}


/* ==========================================================================
   Lynko.tv SaaS Design Foundation
   Additive system classes for new page work. Existing page-specific classes
   such as .lk-card, .lk-btn, .lk-sl-*, .lk-dash-* are intentionally untouched.
   ========================================================================== */

:root{
  /* Brand and semantic color tokens */
  --lk-ui-bg:#f4f8f6;
  --lk-ui-bg-strong:#edf5f1;
  --lk-ui-surface:#ffffff;
  --lk-ui-surface-soft:#f8fbfa;
  --lk-ui-surface-tint:#f0f8ee;
  --lk-ui-ink:#101820;
  --lk-ui-heading:#07130f;
  --lk-ui-muted:#52616d;
  --lk-ui-muted-strong:#42515c;
  --lk-ui-border:#dfe8e3;
  --lk-ui-border-strong:#c7d6cf;
  --lk-ui-primary:#143a2d;
  --lk-ui-primary-strong:#0b261d;
  --lk-ui-primary-soft:#dff4e7;
  --lk-ui-lime:#b9f46d;
  --lk-ui-lemon:#ffd84d;
  --lk-ui-sky:#0ea5e9;
  --lk-ui-violet:#6d5dfc;
  --lk-ui-success:#12805c;
  --lk-ui-success-soft:#e7f8ef;
  --lk-ui-warning:#a76109;
  --lk-ui-warning-soft:#fff5d9;
  --lk-ui-danger:#b42318;
  --lk-ui-danger-soft:#fff0ed;
  --lk-ui-info:#0b6b91;
  --lk-ui-info-soft:#e7f6fd;

  /* Typography */
  --lk-ui-font-sans:'Roboto', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --lk-ui-font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --lk-ui-text-xs:.78rem;
  --lk-ui-text-sm:.875rem;
  --lk-ui-text-md:1rem;
  --lk-ui-text-lg:1.125rem;
  --lk-ui-text-xl:1.35rem;
  --lk-ui-text-2xl:1.75rem;

  /* Spacing */
  --lk-ui-space-1:4px;
  --lk-ui-space-2:8px;
  --lk-ui-space-3:12px;
  --lk-ui-space-4:16px;
  --lk-ui-space-5:20px;
  --lk-ui-space-6:24px;
  --lk-ui-space-7:32px;
  --lk-ui-space-8:40px;
  --lk-ui-space-9:56px;
  --lk-ui-mobile-gutter:14px;

  /* Shape and elevation */
  --lk-ui-radius-xs:4px;
  --lk-ui-radius-sm:6px;
  --lk-ui-radius-md:8px;
  --lk-ui-radius-lg:8px;
  --lk-ui-radius-pill:999px;
  --lk-ui-shadow-xs:0 1px 2px rgba(16,24,40,.05);
  --lk-ui-shadow-sm:0 8px 20px rgba(15,35,25,.06);
  --lk-ui-shadow-md:0 16px 40px rgba(15,35,25,.10);
  --lk-ui-focus-ring:0 0 0 3px rgba(14,165,233,.28);
  --lk-ui-focus-border:#0ea5e9;

  /* Layout */
  --lk-ui-container-sm:720px;
  --lk-ui-container-md:960px;
  --lk-ui-container-lg:1180px;
  --lk-ui-container-xl:1320px;
  --lk-ui-control-h:42px;
  --lk-ui-control-h-sm:34px;
  --lk-ui-speed:160ms;
}

.lk-page,
.lk-container,
.lk-ui-section,
.lk-ui-section-head,
.lk-ui-card,
.lk-ui-stat,
.lk-ui-form,
.lk-ui-field,
.lk-ui-table-wrap{
  box-sizing:border-box;
  max-width:100%;
  min-width:0;
}

.lk-page{
  width:100%;
  padding:var(--lk-ui-space-6) 0 var(--lk-ui-space-8);
  color:var(--lk-ui-ink);
  font-family:var(--lk-ui-font-sans);
}

.lk-container{
  width:min(100%, calc(100vw - 32px));
  max-width:var(--lk-ui-container-lg);
  margin-inline:auto;
}
.lk-container.is-sm{ max-width:var(--lk-ui-container-sm); }
.lk-container.is-md{ max-width:var(--lk-ui-container-md); }
.lk-container.is-xl{ max-width:var(--lk-ui-container-xl); }

.lk-ui-section{
  display:grid;
  gap:var(--lk-ui-space-5);
}
.lk-ui-section + .lk-ui-section{
  margin-top:var(--lk-ui-space-8);
}
.lk-ui-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:var(--lk-ui-space-4);
}
.lk-ui-section-copy{
  display:grid;
  gap:var(--lk-ui-space-2);
  max-width:760px;
}
.lk-ui-eyebrow{
  margin:0;
  color:var(--lk-ui-success);
  font-size:var(--lk-ui-text-xs);
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.lk-ui-title{
  margin:0;
  color:var(--lk-ui-heading);
  font-size:var(--lk-ui-text-2xl);
  line-height:1.12;
  letter-spacing:0;
}
.lk-ui-subtitle{
  margin:0;
  color:var(--lk-ui-muted);
  font-size:var(--lk-ui-text-md);
  line-height:1.55;
}

.lk-ui-card{
  background:var(--lk-ui-surface);
  border:1px solid var(--lk-ui-border);
  border-radius:var(--lk-ui-radius-lg);
  box-shadow:var(--lk-ui-shadow-sm);
  padding:var(--lk-ui-space-5);
}
.lk-ui-card.is-soft{
  background:linear-gradient(180deg,var(--lk-ui-surface),var(--lk-ui-surface-soft));
}
.lk-ui-card.is-flat{
  box-shadow:none;
}
.lk-ui-card.is-compact{
  padding:var(--lk-ui-space-4);
}

.lk-ui-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));
  gap:var(--lk-ui-space-4);
}
.lk-ui-grid.is-dense{
  grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));
  gap:var(--lk-ui-space-3);
}
.lk-ui-stack{
  display:flex;
  flex-direction:column;
  gap:var(--lk-ui-space-4);
}
.lk-ui-stack.is-tight{ gap:var(--lk-ui-space-2); }
.lk-ui-cluster{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:var(--lk-ui-space-3);
}
.lk-ui-split{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--lk-ui-space-4);
}

.lk-ui-btn{
  appearance:none;
  min-height:var(--lk-ui-control-h);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:var(--lk-ui-space-2);
  padding:0 var(--lk-ui-space-4);
  border:1px solid transparent;
  border-radius:var(--lk-ui-radius-md);
  background:var(--lk-ui-primary);
  color:#fff;
  font:700 var(--lk-ui-text-sm)/1 var(--lk-ui-font-sans);
  text-decoration:none;
  cursor:pointer;
  transition:
    background-color var(--lk-ui-speed) ease,
    border-color var(--lk-ui-speed) ease,
    box-shadow var(--lk-ui-speed) ease,
    transform var(--lk-ui-speed) ease;
}
.lk-ui-btn:hover{
  background:var(--lk-ui-primary-strong);
  transform:translateY(-1px);
}
.lk-ui-btn:active{
  transform:translateY(0);
}
.lk-ui-btn:focus-visible{
  outline:0;
  box-shadow:var(--lk-ui-focus-ring);
}
.lk-ui-btn.is-secondary{
  background:var(--lk-ui-lime);
  color:#102015;
  border-color:color-mix(in srgb, var(--lk-ui-lime) 70%, #0f172a 10%);
}
.lk-ui-btn.is-secondary:hover{
  background:color-mix(in srgb, var(--lk-ui-lime) 84%, #fff);
}
.lk-ui-btn.is-ghost{
  background:var(--lk-ui-surface);
  color:var(--lk-ui-primary);
  border-color:var(--lk-ui-border-strong);
}
.lk-ui-btn.is-ghost:hover{
  background:var(--lk-ui-surface-tint);
}
.lk-ui-btn.is-danger{
  background:var(--lk-ui-danger);
  color:#fff;
}
.lk-ui-btn.is-sm{
  min-height:var(--lk-ui-control-h-sm);
  padding-inline:var(--lk-ui-space-3);
  font-size:var(--lk-ui-text-xs);
}
.lk-ui-btn.is-block{
  width:100%;
}
.lk-ui-btn[disabled],
.lk-ui-btn[aria-disabled="true"]{
  opacity:.55;
  cursor:not-allowed;
  pointer-events:none;
  transform:none;
}

.lk-ui-form{
  display:grid;
  gap:var(--lk-ui-space-4);
}
.lk-ui-field{
  display:grid;
  gap:var(--lk-ui-space-2);
}
.lk-ui-label{
  color:var(--lk-ui-heading);
  font-weight:800;
  font-size:var(--lk-ui-text-sm);
}
.lk-ui-help{
  color:var(--lk-ui-muted);
  font-size:var(--lk-ui-text-sm);
  line-height:1.45;
}
.lk-ui-input,
.lk-ui-select,
.lk-ui-textarea{
  width:100%;
  min-height:var(--lk-ui-control-h);
  padding:10px 12px;
  border:1px solid var(--lk-ui-border-strong);
  border-radius:var(--lk-ui-radius-md);
  background:var(--lk-ui-surface);
  color:var(--lk-ui-ink);
  font:500 var(--lk-ui-text-md)/1.35 var(--lk-ui-font-sans);
  box-shadow:var(--lk-ui-shadow-xs);
  transition:border-color var(--lk-ui-speed) ease, box-shadow var(--lk-ui-speed) ease;
}
.lk-ui-textarea{
  min-height:112px;
  resize:vertical;
}
.lk-ui-input::placeholder,
.lk-ui-textarea::placeholder{
  color:#8a98a3;
}
.lk-ui-input:focus,
.lk-ui-select:focus,
.lk-ui-textarea:focus{
  outline:0;
  border-color:var(--lk-ui-focus-border);
  box-shadow:var(--lk-ui-focus-ring);
}
.lk-ui-input[aria-invalid="true"],
.lk-ui-select[aria-invalid="true"],
.lk-ui-textarea[aria-invalid="true"]{
  border-color:var(--lk-ui-danger);
}

.lk-ui-alert{
  display:flex;
  gap:var(--lk-ui-space-3);
  align-items:flex-start;
  padding:var(--lk-ui-space-4);
  border:1px solid var(--lk-ui-border);
  border-radius:var(--lk-ui-radius-md);
  background:var(--lk-ui-surface-soft);
  color:var(--lk-ui-ink);
  line-height:1.5;
}
.lk-ui-alert.is-success{
  background:var(--lk-ui-success-soft);
  border-color:color-mix(in srgb, var(--lk-ui-success) 25%, white);
  color:#0f5138;
}
.lk-ui-alert.is-warning{
  background:var(--lk-ui-warning-soft);
  border-color:color-mix(in srgb, var(--lk-ui-warning) 25%, white);
  color:#6f4307;
}
.lk-ui-alert.is-danger{
  background:var(--lk-ui-danger-soft);
  border-color:color-mix(in srgb, var(--lk-ui-danger) 25%, white);
  color:#84251d;
}
.lk-ui-alert.is-info{
  background:var(--lk-ui-info-soft);
  border-color:color-mix(in srgb, var(--lk-ui-info) 25%, white);
  color:#064b68;
}

.lk-ui-table-wrap,
.lk-table-scroll{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid var(--lk-ui-border);
  border-radius:var(--lk-ui-radius-md);
  background:var(--lk-ui-surface);
}
.lk-ui-table{
  width:100%;
  min-width:640px;
  border-collapse:separate;
  border-spacing:0;
  color:var(--lk-ui-ink);
}
.lk-ui-table th,
.lk-ui-table td{
  padding:12px 14px;
  border-bottom:1px solid var(--lk-ui-border);
  text-align:left;
  vertical-align:middle;
}
.lk-ui-table th{
  background:var(--lk-ui-surface-soft);
  color:var(--lk-ui-muted-strong);
  font-size:var(--lk-ui-text-xs);
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.lk-ui-table tr:last-child td{
  border-bottom:0;
}
.lk-ui-table td.is-number,
.lk-ui-table th.is-number{
  text-align:right;
  font-variant-numeric:tabular-nums;
}

.lk-ui-stat-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));
  gap:var(--lk-ui-space-4);
}
.lk-ui-stat{
  display:grid;
  gap:var(--lk-ui-space-2);
  padding:var(--lk-ui-space-4);
  border:1px solid var(--lk-ui-border);
  border-radius:var(--lk-ui-radius-md);
  background:var(--lk-ui-surface);
  box-shadow:var(--lk-ui-shadow-xs);
}
.lk-ui-stat-label{
  color:var(--lk-ui-muted);
  font-size:var(--lk-ui-text-xs);
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.lk-ui-stat-value{
  color:var(--lk-ui-heading);
  font-size:var(--lk-ui-text-xl);
  font-weight:900;
  line-height:1.1;
  font-variant-numeric:tabular-nums;
}
.lk-ui-stat-meta{
  color:var(--lk-ui-muted);
  font-size:var(--lk-ui-text-sm);
}

.lk-ui-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:26px;
  padding:0 10px;
  border:1px solid var(--lk-ui-border);
  border-radius:var(--lk-ui-radius-pill);
  background:var(--lk-ui-surface-soft);
  color:var(--lk-ui-muted-strong);
  font-size:var(--lk-ui-text-xs);
  font-weight:800;
  white-space:nowrap;
}

.lk-ui-muted{ color:var(--lk-ui-muted); }
.lk-ui-mono{ font-family:var(--lk-ui-font-mono); }
.lk-ui-nowrap{ white-space:nowrap; }
.lk-ui-text-right{ text-align:right; }
.lk-ui-visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

@media (max-width: 760px){
  html,
  body,
  .site-wrap,
  .main,
  .main-inner{
    max-width:100%;
    min-width:0;
  }

  .lk-page{
    padding-block:var(--lk-ui-space-4) var(--lk-ui-space-7);
  }
  .lk-container{
    width:min(100%, calc(100vw - (var(--lk-ui-mobile-gutter) * 2)));
  }
  .lk-ui-section-head,
  .lk-ui-split{
    align-items:stretch;
    flex-direction:column;
  }
  .lk-ui-title{
    font-size:1.45rem;
  }
  .lk-ui-card{
    padding:var(--lk-ui-space-4);
  }
  .lk-ui-cluster{
    align-items:stretch;
  }
  .lk-ui-cluster > .lk-ui-btn{
    flex:1 1 160px;
  }
}

@media (max-width: 420px){
  :root{
    --lk-ui-mobile-gutter:12px;
    --lk-ui-control-h:40px;
  }
  .lk-ui-table{
    min-width:560px;
  }
}

@media (prefers-reduced-motion: reduce){
  .lk-ui-btn,
  .lk-ui-input,
  .lk-ui-select,
  .lk-ui-textarea{
    transition:none;
  }
  .lk-ui-btn:hover{
    transform:none;
  }
}

/* ========================================================================== 
   Authenticated app foundation
   Namespaced utilities shared by dashboard/workspace pages.
   ========================================================================== */

.lk-ui-icon{
  display:inline-block;
  flex:0 0 auto;
  vertical-align:-.18em;
}

.lk-app-card,
.lk-app-panel,
.lk-app-stat,
.lk-app-accordion,
.lk-app-table-wrap{
  box-sizing:border-box;
  max-width:100%;
  min-width:0;
  border:1px solid var(--lk-ui-border);
  border-radius:var(--lk-ui-radius-lg);
  background:var(--lk-ui-surface);
  box-shadow:var(--lk-ui-shadow-sm);
}

.lk-app-card,
.lk-app-panel{
  padding:var(--lk-ui-space-5);
}

.lk-app-stat-bar{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));
  gap:0;
  overflow:hidden;
  border-radius:var(--lk-ui-radius-lg);
  background:linear-gradient(120deg,#062e2a 0%,#06382d 42%,#137338 100%);
  color:#fff;
  box-shadow:var(--lk-ui-shadow-md);
}

.lk-app-stat{
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:12px;
  align-items:center;
  padding:var(--lk-ui-space-5);
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:inherit;
}

.lk-app-stat + .lk-app-stat{
  border-left:1px solid rgba(255,255,255,.22);
}

.lk-app-stat-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:var(--lk-ui-radius-md);
  background:rgba(255,255,255,.14);
}

.lk-app-stat-icon svg{
  width:22px;
  height:22px;
}

.lk-app-stat-copy{
  display:grid;
  gap:3px;
}

.lk-app-stat-label{
  color:rgba(255,255,255,.78);
  font-size:var(--lk-ui-text-xs);
  font-weight:900;
  text-transform:uppercase;
}

.lk-app-stat-value{
  color:#fff;
  font-size:var(--lk-ui-text-xl);
  font-weight:950;
  line-height:1;
}

.lk-app-stat-help{
  color:rgba(255,255,255,.78);
  font-size:var(--lk-ui-text-sm);
}

.lk-app-accordion{
  overflow:hidden;
  box-shadow:var(--lk-ui-shadow-xs);
}

.lk-app-accordion summary{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--lk-ui-space-3);
  padding:0 var(--lk-ui-space-4);
  color:var(--lk-ui-heading);
  font-weight:900;
  list-style:none;
  cursor:pointer;
}

.lk-app-accordion summary::-webkit-details-marker{
  display:none;
}

.lk-app-accordion summary::after{
  content:"";
  width:9px;
  height:9px;
  border-right:2px solid var(--lk-ui-primary);
  border-bottom:2px solid var(--lk-ui-primary);
  transform:rotate(45deg);
  transition:transform var(--lk-ui-speed) ease;
}

.lk-app-accordion[open] summary{
  border-bottom:1px solid var(--lk-ui-border);
}

.lk-app-accordion[open] summary::after{
  transform:rotate(225deg);
}

.lk-app-accordion-body{
  padding:var(--lk-ui-space-4);
}

@media (max-width:760px){
  .lk-app-stat-bar{
    grid-template-columns:1fr;
  }
  .lk-app-stat + .lk-app-stat{
    border-left:0;
    border-top:1px solid rgba(255,255,255,.18);
  }
}

/* ========================================================================== 
   Lynko visual overhaul phase 1 - extracted page styles
   Static styles moved out of PHP templates; dynamic runtime styles stay inline.
   ========================================================================== */

/* ---- Shell and language choice (from index.php) ---- */
.lk-lang-choice{
  position:fixed;
  inset:0;
  z-index:1500;
  display:grid;
  place-items:center;
  padding:clamp(14px,3vw,28px);
}
.lk-lang-choice[hidden]{display:none}
.lk-lang-choice__overlay{
  position:absolute;
  inset:0;
  background:rgba(5,18,14,.56);
  backdrop-filter:blur(6px);
}
.lk-lang-choice__dialog{
  position:relative;
  width:min(880px,calc(100vw - 28px));
  max-height:min(820px,calc(100svh - 28px));
  display:grid;
  grid-template-columns:minmax(250px,.82fr) minmax(0,1.18fr);
  overflow:hidden;
  border:1px solid rgba(25,96,58,.20);
  border-radius:8px;
  background:#fff;
  box-shadow:0 26px 80px rgba(5,18,14,.32);
}
.lk-lang-choice__media{
  min-height:100%;
  background:#0c1f17;
}
.lk-lang-choice__media img{
  width:100%;
  height:100%;
  min-height:330px;
  display:block;
  object-fit:cover;
}
.lk-lang-choice__body{
  min-width:0;
  min-height:0;
  padding:clamp(22px,3vw,34px);
  padding-right:clamp(54px,5vw,66px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:13px;
  overflow:auto;
  scrollbar-gutter:stable;
}
.lk-lang-choice__close{
  position:absolute;
  top:12px;
  right:12px;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(16,24,40,.14);
  border-radius:999px;
  background:rgba(255,255,255,.96);
  color:#101820;
  font-size:0;
  line-height:1;
  cursor:pointer;
  z-index:2;
  box-shadow:0 10px 24px rgba(16,24,40,.12);
  transition:background .16s ease,border-color .16s ease,transform .08s ease,box-shadow .16s ease;
}
.lk-lang-choice__close::before{
  content:"\00d7";
  font-size:25px;
  font-weight:500;
  line-height:1;
  transform:translateY(-1px);
}
.lk-lang-choice__close:hover{
  background:#f8fafc;
  border-color:rgba(16,24,40,.22);
  box-shadow:0 12px 28px rgba(16,24,40,.15);
}
.lk-lang-choice__close:active{
  transform:translateY(1px);
}
.lk-lang-choice__close:focus-visible,
.lk-lang-choice__actions a:focus-visible,
.lk-lang-choice__actions button:focus-visible,
.lk-lang-choice__option:focus-visible{
  outline:0;
  box-shadow:0 0 0 3px rgba(14,165,233,.28);
}
.lk-lang-choice__eyebrow{
  margin:0;
  color:#167447;
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:0;
}
.lk-lang-choice__eyebrow .lk-lang-choice__secondary{
  margin-top:2px;
  color:#5f746b;
  font-size:.92em;
}
.lk-lang-choice__body h2{
  margin:0;
  color:#07130f;
  font-size:clamp(1.75rem,3vw,2.55rem);
  line-height:1.04;
  letter-spacing:0;
}
.lk-lang-choice__primary,
.lk-lang-choice__secondary{
  display:block;
}
.lk-lang-choice__secondary{
  margin-top:6px;
  color:#49625a;
  font-size:.62em;
  font-weight:800;
  line-height:1.22;
}
.lk-lang-choice__secondary:empty,
.lk-lang-choice__translated:empty{
  display:none;
}
.lk-lang-choice__body p{
  margin:0;
  color:#43534b;
  line-height:1.55;
}
.lk-lang-choice__translated{
  display:block;
  margin-top:4px;
  color:#66786f;
  font-size:.9em;
  line-height:1.45;
}
.lk-lang-choice__actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(146px,max-content));
  align-items:center;
  gap:10px;
  margin-top:8px;
}
.lk-lang-choice__actions .btn{
  min-width:146px;
  min-height:46px;
  padding:0 18px;
  border-radius:8px;
  border:1px solid rgba(25,96,58,.18);
  background:#fff;
  color:#10231a;
  box-shadow:0 1px 0 rgba(255,255,255,.88) inset,0 8px 18px rgba(16,24,40,.06);
  font-weight:900;
  line-height:1.15;
  text-align:center;
  white-space:normal;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .08s ease,color .16s ease;
}
.lk-lang-choice__actions .btn{
  flex-direction:column;
  gap:2px;
}
.lk-lang-choice__actions .lk-lang-choice__secondary{
  margin-top:0;
  color:inherit;
  font-size:.78rem;
  font-weight:750;
  opacity:.72;
}
.lk-lang-choice__btn--primary .lk-lang-choice__secondary{
  opacity:.82;
}
.lk-lang-choice__actions .btn:hover{
  transform:translateY(-1px);
  filter:none;
  box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 12px 24px rgba(16,24,40,.10);
}
.lk-lang-choice__actions .btn:active{
  transform:translateY(0);
}
.lk-lang-choice__btn--keep{
  background:linear-gradient(180deg,#fffdf5,#fff8df) !important;
  border-color:#eac95d !important;
}
.lk-lang-choice__btn--primary{
  background:linear-gradient(180deg,#1a5f42,#143a2d) !important;
  border-color:#143a2d !important;
  color:#fff !important;
  box-shadow:0 12px 24px rgba(20,58,45,.24), inset 0 1px 0 rgba(255,255,255,.16) !important;
}
.lk-lang-choice__btn--primary:hover{
  background:linear-gradient(180deg,#20724f,#174534) !important;
  box-shadow:0 14px 28px rgba(20,58,45,.28), inset 0 1px 0 rgba(255,255,255,.18) !important;
}
.lk-lang-choice__btn--other{
  grid-column:1 / -1;
  justify-self:start;
  background:#fbfff9 !important;
  border-color:#d7e7dc !important;
}
.lk-lang-choice__other{
  padding-top:4px;
}
.lk-lang-choice__other[hidden]{display:none}
.lk-lang-choice__other-title{
  margin:0 0 8px;
  color:#18241f;
  font-weight:900;
}
.lk-lang-choice__grid{
  max-height:260px;
  overflow:auto;
  overscroll-behavior:contain;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));
  gap:8px;
  padding:0 4px 8px 0;
  scrollbar-gutter:stable;
}
.lk-lang-choice__option{
  min-width:0;
  min-height:64px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px;
  border:1px solid rgba(25,96,58,.14);
  border-radius:8px;
  color:#101820;
  background:#fbfff9;
  text-decoration:none;
}
.lk-lang-choice__option:hover,
.lk-lang-choice__option.is-active{
  background:#eff8f2;
  border-color:rgba(25,96,58,.24);
}
.lk-lang-choice__option-copy{
  min-width:0;
  display:grid;
  gap:2px;
}
.lk-lang-choice__option-label{
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.lk-lang-choice__option-note{
  color:#64736b;
  font-size:.82rem;
}
.lk-lang-choice__mark{
  width:24px;
  height:18px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:3px;
  background:#143a2d;
  color:#fff;
  font-size:10px;
  font-weight:900;
}
.lk-lang-choice.is-language-list-open .lk-lang-choice__dialog{
  height:min(820px,calc(100svh - 28px));
}
.lk-lang-choice.is-language-list-open .lk-lang-choice__body{
  display:grid;
  grid-template-rows:auto auto auto minmax(0,1fr);
  align-content:start;
  justify-content:stretch;
  gap:10px;
  overflow:auto;
}
.lk-lang-choice.is-language-list-open #lkLanguageChoiceMessage,
.lk-lang-choice.is-language-list-open #lkLanguageChoiceHelp{
  display:none;
}
.lk-lang-choice.is-language-list-open .lk-lang-choice__actions{
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-top:2px;
}
.lk-lang-choice.is-language-list-open .lk-lang-choice__actions .btn{
  min-width:0;
  padding:0 12px;
}
.lk-lang-choice.is-language-list-open .lk-lang-choice__btn--other{
  grid-column:auto;
  justify-self:stretch;
}
.lk-lang-choice.is-language-list-open .lk-lang-choice__other{
  min-height:0;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  padding-top:0;
}
.lk-lang-choice.is-language-list-open .lk-lang-choice__grid{
  min-height:0;
  max-height:none;
}
@media (max-width:720px){
  .lk-lang-choice{
    align-items:end;
    padding:10px;
  }
  .lk-lang-choice__dialog{
    width:100%;
    max-height:calc(100svh - 20px);
    grid-template-columns:1fr;
  }
  .lk-lang-choice__media img{
    min-height:150px;
    max-height:190px;
  }
  .lk-lang-choice__body{
    padding:18px;
    justify-content:flex-start;
  }
  .lk-lang-choice__actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .lk-lang-choice__actions .btn{
    width:100%;
    min-width:0;
  }
  .lk-lang-choice__btn--other{
    justify-self:stretch;
  }
  .lk-lang-choice.is-language-list-open .lk-lang-choice__dialog{
    height:calc(100svh - 20px);
  }
  .lk-lang-choice.is-language-list-open .lk-lang-choice__body{
    grid-template-rows:auto auto auto minmax(0,1fr);
    gap:9px;
  }
  .lk-lang-choice.is-language-list-open .lk-lang-choice__actions{
    grid-template-columns:1fr;
  }
  .lk-lang-choice.is-language-list-open .lk-lang-choice__media img{
    max-height:150px;
  }
}

/* Modern shell layer: scoped to index.php layout only. */
body{
  padding-bottom:0 !important;
  display:block;
  overflow:hidden;
}
.lk-shell{
  --lk-shell-max:1180px;
  --lk-shell-border:#dfe8e3;
  --lk-shell-border-strong:#c4d4cc;
  --lk-shell-muted:#4b5563;
  --lk-shell-ink:#101820;
  --lk-shell-heading:#07130f;
  --lk-shell-panel:#fbfff9;
  --lk-shell-soft:#edf8f1;
  --lk-shell-surface:#ffffff;
  --lk-shell-green:#24b46b;
  --lk-shell-green-dark:#143a2d;
  --lk-shell-yellow:#ffd24d;
  --lk-shell-focus:0 0 0 3px rgba(14,165,233,.28);
  --lk-shell-shadow:0 18px 50px rgba(16,24,40,.15);
}
.lk-shell.site-wrap{
  height:100vh;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  overflow:hidden;
}
@supports (height:100svh){
  .lk-shell.site-wrap{ height:100svh; }
}
.lk-shell .header{
  position:sticky !important;
  top:0 !important;
  z-index:1260;
  isolation:isolate;
  background:rgba(248,255,250,.88) !important;
  border-bottom:1px solid rgba(25,96,58,.13);
  box-shadow:0 10px 28px rgba(24,92,55,.08);
  backdrop-filter:saturate(145%) blur(18px);
}
.lk-shell .header::after{
  content:"";
  position:absolute;
  inset:auto 0 -1px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(185,244,109,.72),transparent);
  pointer-events:none;
}
.lk-shell .header-inner{
  width:100%;
  max-width:var(--lk-shell-max);
  min-height:72px;
  margin:0 auto;
  padding:11px clamp(14px,3vw,28px);
  display:flex;
  align-items:center;
  gap:20px;
}
.lk-shell .brand{
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}
.lk-shell .brand img{
  width:auto;
  height:44px;
  display:block;
  filter:drop-shadow(0 8px 16px rgba(16,24,40,.08));
}
.lk-shell .brand .title:not(:empty){
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border:1px solid rgba(36,180,107,.22);
  border-radius:999px;
  background:#f1fff7;
  color:#17663f;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}
.lk-shell .nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  min-width:0;
}
.lk-shell .menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  list-style:none;
  margin:0;
  padding:0;
}
.lk-shell .menu > li,
.lk-shell .menu > li.right{
  position:relative;
  margin-left:0 !important;
}
.lk-shell .menu > li.sep{ display:none !important; }
.lk-shell .menu > li > a,
.lk-shell .menu > li > button.menu-trigger{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 14px;
  border:1px solid transparent;
  border-radius:999px;
  background:transparent;
  color:var(--lk-shell-ink);
  font:inherit;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .08s ease,color .16s ease;
}
.lk-shell .menu > li > a:hover,
.lk-shell .menu > li > button.menu-trigger:hover,
.lk-shell .menu > li > a.is-active,
.lk-shell .menu > li.active > button.menu-trigger{
  background:rgba(255,255,255,.92);
  border-color:rgba(25,96,58,.15);
  box-shadow:0 8px 22px rgba(24,92,55,.10);
}
.lk-shell .menu > li > a:focus-visible,
.lk-shell .menu > li > button.menu-trigger:focus-visible,
.lk-shell .mobile-menu-toggle:focus-visible,
.lk-shell .dropdown a:focus-visible,
.lk-shell .logout-link:focus-visible,
.lk-shell .footer-links a:focus-visible{
  outline:0;
  box-shadow:var(--lk-shell-focus);
}
.lk-shell .menu > li > a:active,
.lk-shell .menu > li > button.menu-trigger:active{
  transform:translateY(1px);
}
.lk-shell .menu > li > a.nav-action-primary{
  color:#0d1f16;
  background:linear-gradient(180deg,#ffe178,#ffd24d);
  border-color:#efbd2e;
  box-shadow:0 10px 22px rgba(255,210,77,.28), inset 0 1px 0 rgba(255,255,255,.75);
}
.lk-shell .menu > li > a.nav-action-primary:hover{
  filter:saturate(1.05);
  box-shadow:0 12px 26px rgba(255,210,77,.34), inset 0 1px 0 rgba(255,255,255,.8);
}
.lk-shell .menu > li.lk-create-menu > button.menu-trigger{
  color:#0d1f16;
  background:linear-gradient(180deg,#ffe178,#ffd24d);
  border-color:#efbd2e;
  box-shadow:0 10px 22px rgba(255,210,77,.28), inset 0 1px 0 rgba(255,255,255,.75);
}
.lk-shell .menu > li.lk-create-menu > button.menu-trigger:hover,
.lk-shell .menu > li.lk-create-menu.open > button.menu-trigger,
.lk-shell .menu > li.lk-create-menu.active > button.menu-trigger{
  filter:saturate(1.05);
  background:linear-gradient(180deg,#ffe68e,#ffd65b);
  border-color:#e5b520;
  box-shadow:0 12px 26px rgba(255,210,77,.34), inset 0 1px 0 rgba(255,255,255,.8);
}
.lk-shell .menu > li > button.menu-trigger::after,
.lk-shell #mainMenu > li.lang .lang-btn::after{
  content:"";
  width:7px;
  height:7px;
  margin-left:2px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-1px);
  transform-origin:center;
  transition:transform .16s ease;
  opacity:.76;
}
.lk-shell .menu li.open > button.menu-trigger::after,
.lk-shell #mainMenu > li.lang.open .lang-btn::after{
  transform:rotate(225deg) translate(-1px,-1px);
}
.lk-shell .dropdown{
  position:absolute !important;
  top:calc(100% + 12px) !important;
  left:0;
  right:auto;
  width:max-content;
  min-width:250px;
  max-width:min(380px,calc(100vw - 28px));
  max-height:min(72vh,520px);
  overflow:auto;
  padding:10px;
  display:none;
  background:linear-gradient(180deg,#ffffff,#f7fcf8) !important;
  border:1px solid rgba(25,96,58,.14) !important;
  border-radius:8px !important;
  box-shadow:var(--lk-shell-shadow) !important;
  z-index:1320;
  scrollbar-gutter:stable;
}
.lk-shell .menu > li.right > .dropdown,
.lk-shell #mainMenu > li.lang .dropdown{
  left:auto;
  right:0;
}
.lk-shell .menu li.open > .dropdown{ display:block; }
.lk-shell .drop-grid{
  display:grid;
  gap:2px;
}
.lk-shell .dropdown a,
.lk-shell .account-links a{
  min-height:42px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  width:100%;
  padding:10px 12px;
  border-radius:8px;
  color:var(--lk-shell-ink);
  font-weight:750;
  line-height:1.25;
  white-space:nowrap;
  border:1px solid transparent;
  transition:background .16s ease,border-color .16s ease,color .16s ease;
}
.lk-shell .menu-item-copy{
  align-self:center;
  display:grid;
  gap:3px;
  min-width:0;
}
.lk-shell .menu-item-label{
  color:inherit;
}
.lk-shell .menu-item-desc{
  display:block;
  color:var(--lk-shell-muted);
  font-size:.82rem;
  font-weight:600;
  line-height:1.25;
  white-space:normal;
}
.lk-shell .dropdown a:hover,
.lk-shell .dropdown a.is-active,
.lk-shell .account-links a:hover{
  background:#f0fbf4;
  border-color:rgba(25,96,58,.10);
  color:var(--lk-shell-heading);
}
.lk-shell .dropdown a:hover .menu-item-desc,
.lk-shell .dropdown a.is-active .menu-item-desc,
.lk-shell .account-links a:hover .menu-item-desc{
  color:#33483f;
}
.lk-shell .dropdown .menu-sep{
  height:1px;
  margin:6px 8px;
  background:linear-gradient(90deg,transparent,var(--lk-shell-border),transparent);
}
.lk-shell .badge2{
  flex:0 0 auto;
  min-width:22px;
  min-height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 7px;
  border-radius:999px;
  background:#101820;
  color:#fff;
  font-size:12px;
  font-weight:900;
}
.lk-shell #mainMenu > li.lang{
  margin:0 !important;
}
.lk-shell #mainMenu > li.lang .lang-btn{
  min-height:42px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(25,96,58,.16);
  box-shadow:0 1px 0 rgba(255,255,255,.75) inset;
}
.lk-shell #mainMenu > li.lang .lang-dropdown a{
  justify-content:flex-start;
  padding-right:40px;
  position:relative;
}
.lk-shell #mainMenu > li.lang .lang-dropdown a.active::before{
  content:"";
  position:absolute;
  top:50%;
  right:15px;
  width:7px;
  height:13px;
  border-right:2px solid #167447;
  border-bottom:2px solid #167447;
  transform:translateY(-58%) rotate(45deg);
  opacity:1;
}
.lk-shell .flag{
  width:24px;
  height:18px;
  object-fit:cover;
  border-radius:3px;
  box-shadow:0 0 0 1px rgba(0,0,0,.08);
}
.lk-shell .account-panel{
  min-width:292px;
}
.lk-shell .account-head{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px;
  border-radius:8px;
  background:linear-gradient(180deg,#f7fcf8,#eff8f2);
}
.lk-shell .acc-avatar{
  width:28px;
  height:28px;
  border-radius:999px;
  object-fit:cover;
  border:1px solid var(--lk-shell-border);
}
.lk-shell .acc-avatar.lg{
  width:42px;
  height:42px;
}
.lk-shell .acc-name{
  font-weight:900;
  color:var(--lk-shell-ink);
}
.lk-shell .logout-form{
  padding:6px 4px 2px;
}
.lk-shell .logout-link{
  width:100%;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  border:0;
  border-radius:8px;
  padding:10px 12px;
  background:transparent;
  color:#b42318;
  font:inherit;
  font-weight:850;
  cursor:pointer;
}
.lk-shell .logout-link:hover{
  background:#fff1f0;
}
.lk-shell .main,
.lk-shell main.content{
  position:relative !important;
  inset:auto !important;
  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
  min-height:0;
  overflow:auto;
  padding:20px 0;
  background:
    linear-gradient(180deg,rgba(255,255,255,.45),rgba(255,255,255,0) 180px),
    var(--lk-ui-bg, #f4f8f6);
}
.lk-shell .main-inner{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding:0 clamp(14px,3vw,28px) 42px;
  box-sizing:border-box;
  min-width:0;
}
.lk-shell .main-inner:has(.lk-dash2),
.lk-shell .main-inner:has(.lk2-wrap),
.lk-shell .main-inner:has(.lk-create){
  max-width:1240px;
}
.lk-shell .main-inner > .text-bubble,
.lk-shell .main-inner > .container,
.lk-shell .main-inner > .lk-sl-card{
  max-width:100%;
}
.lk-shell .notice{
  border-radius:8px;
  border:1px solid var(--lk-shell-border);
  box-shadow:0 1px 2px rgba(16,24,40,.04);
}
.lk-shell .notice.success{
  border-color:rgba(18,128,92,.25);
  background:#e7f8ef;
}
.lk-shell .notice.error{
  border-color:rgba(180,35,24,.25);
  background:#fff0ed;
}
.lk-shell .footer{
  position:relative !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  z-index:100;
  min-height:auto !important;
  display:block !important;
  border-top:1px solid rgba(25,96,58,.13);
  background:linear-gradient(180deg,#ffffff,#eff8f2) !important;
  box-shadow:0 -10px 26px rgba(24,92,55,.06);
}
.lk-shell .footer-inner{
  width:100%;
  max-width:var(--lk-shell-max);
  margin:0 auto;
  padding:12px clamp(14px,3vw,28px) calc(12px + env(safe-area-inset-bottom));
  display:grid;
  grid-template-columns:minmax(150px,.7fr) minmax(0,2.2fr) minmax(118px,auto);
  align-items:center;
  gap:10px;
  text-align:left;
  font-size:14px;
}
.lk-shell .footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.lk-shell .footer-logo{
  font-weight:900;
  color:var(--lk-shell-ink);
  white-space:nowrap;
  letter-spacing:0;
}
.lk-shell .footer-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px;
  min-width:0;
  flex-wrap:wrap;
}
.lk-shell .footer-links a{
  padding:6px 8px;
  border-radius:999px;
  color:#334155;
  font-weight:750;
  border:1px solid transparent;
  transition:background .16s ease,border-color .16s ease,color .16s ease;
}
.lk-shell .footer-links a:hover,
.lk-shell .footer-links a.is-active{
  color:var(--lk-shell-ink);
  background:#f1f7f3;
  border-color:rgba(25,96,58,.10);
}
.lk-shell .footer-cta{
  justify-self:end;
}
.lk-shell .footer-cta .btn{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:0 14px;
  background:var(--lk-shell-green-dark);
  color:#fff;
  border-color:transparent;
  font-weight:850;
}
.lk-shell #menuBackdrop{
  position:fixed;
  inset:0;
  display:none;
  background:rgba(16,24,40,.38);
  backdrop-filter:blur(3px);
  z-index:1180;
}
.lk-shell #menuBackdrop.show{
  display:block;
}
body.no-scroll .lk-shell .main{
  overflow:hidden;
}
.lk-shell .mobile-menu-toggle{
  display:none;
  min-height:42px;
  align-items:center;
  gap:10px;
  padding:0 13px;
  border-radius:999px;
  border:1px solid rgba(25,96,58,.16);
  background:rgba(255,255,255,.92);
  color:var(--lk-shell-ink);
  font-weight:900;
  box-shadow:0 8px 22px rgba(16,24,40,.08);
  cursor:pointer;
}
.lk-shell .hamburger{
  width:18px;
  display:grid;
  gap:4px;
}
.lk-shell .hamburger span{
  height:2px;
  border-radius:999px;
  background:currentColor;
}
@media (max-width:1180px){
  .lk-shell .footer-inner{
    grid-template-columns:minmax(150px,auto) minmax(0,1fr);
  }
  .lk-shell .footer-links{
    justify-content:flex-end;
  }
  .lk-shell .footer-cta{
    display:none;
  }
}
@media (max-width:920px){
  body{
    overflow:auto;
  }
  body.no-scroll{
    overflow:hidden;
  }
  .lk-shell.site-wrap{
    height:auto;
    min-height:100svh;
    grid-template-rows:auto minmax(0,1fr) auto;
    overflow:visible;
  }
  .lk-shell .only-mobile,
  .lk-shell .mobile-menu-toggle{
    display:inline-flex !important;
  }
  .lk-shell .header-inner{
    min-height:66px;
    gap:12px;
  }
  .lk-shell .brand img{
    height:40px;
  }
  .lk-shell .nav{
    order:2;
    margin-left:0 !important;
  }
  .lk-shell .mobile-menu-toggle{
    order:3;
    margin-left:auto !important;
  }
  .lk-shell .menu{
    position:fixed;
    top:var(--mobile-menu-top,74px) !important;
    left:12px !important;
    right:12px !important;
    width:auto;
    max-height:calc(100dvh - var(--mobile-menu-top,74px) - 16px);
    display:none;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:7px;
    padding:10px;
    overflow:auto;
    background:linear-gradient(180deg,#ffffff,#edf8f1);
    border:1px solid rgba(25,96,58,.16);
    border-radius:8px;
    box-shadow:0 22px 60px rgba(16,24,40,.22);
    z-index:1320;
    overscroll-behavior:contain;
  }
  .lk-shell .menu.show{ display:flex; }
  .lk-shell .menu > li{
    width:100%;
    border:1px solid rgba(25,96,58,.10);
    border-radius:8px;
    background:rgba(255,255,255,.92);
    overflow:hidden;
  }
  .lk-shell .menu > li > a,
  .lk-shell .menu > li > button.menu-trigger,
  .lk-shell #mainMenu > li.lang .lang-btn{
    width:100%;
    min-height:48px;
    justify-content:space-between !important;
    border:0;
    border-radius:0;
    box-shadow:none;
    padding:0 14px;
  }
  .lk-shell .menu > li > a.nav-action-primary{
    border-radius:0;
    justify-content:center !important;
  }
  .lk-shell .menu > li.lk-create-menu > button.menu-trigger{
    border-radius:0;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
  }
  .lk-shell .dropdown,
  .lk-shell #mainMenu > li.lang .dropdown{
    position:static !important;
    width:100%;
    max-width:none;
    min-width:0;
    max-height:none;
    display:none;
    padding:0 8px 8px !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:transparent !important;
  }
  .lk-shell .menu li.open > .dropdown{ display:block; }
  .lk-shell #mainMenu > li.lang.open > .dropdown{ display:block; }
  .lk-shell .dropdown a,
  .lk-shell .account-links a{
    white-space:normal;
    min-height:40px;
    padding:9px 10px;
  }
  .lk-shell .account-panel{
    min-width:0;
  }
  .lk-shell .main,
  .lk-shell main.content{
    overflow:visible;
    padding:12px 0 0;
  }
  .lk-shell .main-inner{
    padding-bottom:20px;
  }
  .lk-shell .footer{
    box-shadow:none;
  }
  .lk-shell .footer-inner{
    grid-template-columns:minmax(130px,auto) minmax(0,1fr);
    justify-items:stretch;
    text-align:left;
    gap:8px;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom));
    font-size:12px;
  }
  .lk-shell .footer-brand{
    font-size:13px;
  }
  .lk-shell .footer-logo{
    font-weight:850;
  }
  .lk-shell .footer-links{
    justify-content:flex-end;
    gap:2px;
    line-height:1.2;
  }
  .lk-shell .footer-links a{
    padding:4px 6px;
    font-size:12px;
    font-weight:720;
  }
  .lk-shell .footer-cta{
    display:none;
  }
}
@media (max-width:420px){
  .lk-shell .brand img{ height:36px; }
  .lk-shell .brand .title:not(:empty){ display:none; }
  .lk-shell .mobile-menu-toggle{ padding:0 11px; }
  .lk-shell .footer-inner{ padding-top:8px; padding-bottom:calc(8px + env(safe-area-inset-bottom)); }
  .lk-shell .footer-links a{ padding:3px 5px; font-size:11.5px; }
}
@media (max-width:700px){
  .lk-shell .footer-inner{
    grid-template-columns:1fr;
    justify-items:center;
    text-align:center;
  }
  .lk-shell .footer-links{
    justify-content:center;
  }
}

.lk-shell.is-authenticated{
  --lk-app-sidebar-w:260px;
  --lk-app-bg:#f4f8f6;
  --lk-app-panel:#ffffff;
  --lk-app-soft:#edf8f1;
  --lk-app-border:#dde8e4;
  --lk-app-border-strong:#c9d8d1;
  --lk-app-ink:#07130f;
  --lk-app-muted:#5a6874;
  --lk-app-green:#0b5a46;
  --lk-app-green-dark:#073c31;
  --lk-app-lime:#b9f46d;
  --lk-app-shadow:0 18px 46px rgba(15,35,25,.08);
  grid-template-columns:var(--lk-app-sidebar-w) minmax(0,1fr);
  grid-template-rows:66px minmax(0,1fr) auto;
  grid-template-areas:
    "sidebar header"
    "sidebar main"
    "sidebar footer";
  background:var(--lk-app-bg);
}
.lk-shell.is-authenticated .lk-app-sidebar{
  grid-area:sidebar;
  position:sticky;
  top:0;
  z-index:1280;
  height:100vh;
  height:100svh;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  gap:14px;
  padding:18px 14px 16px;
  border-right:1px solid rgba(20,58,45,.12);
  background:
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(244,250,246,.96)),
    var(--lk-app-panel);
  box-shadow:8px 0 28px rgba(15,35,25,.05);
  overflow:hidden;
}
.lk-shell.is-authenticated .lk-app-sidebar-brand{
  display:grid;
  gap:8px;
  padding:0 4px 10px;
}
.lk-shell.is-authenticated .lk-app-brand{
  width:max-content;
  max-width:100%;
  display:inline-flex;
  align-items:center;
}
.lk-shell.is-authenticated .lk-app-brand img{
  width:auto;
  height:48px;
  display:block;
}
.lk-shell.is-authenticated .lk-app-env{
  justify-self:start;
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 9px;
  border:1px solid rgba(18,128,92,.20);
  border-radius:999px;
  background:#effaf4;
  color:#0b5a46;
  font-size:12px;
  font-weight:900;
}
.lk-shell.is-authenticated .lk-app-side-nav{
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:6px;
  overflow:auto;
  padding:2px 2px 6px;
  scrollbar-gutter:stable;
}
.lk-shell.is-authenticated .lk-app-nav-link,
.lk-shell.is-authenticated .lk-app-nav-summary{
  width:100%;
  min-height:42px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 10px;
  border:1px solid transparent;
  border-radius:8px;
  color:#24362f;
  background:transparent;
  text-decoration:none;
  font-weight:850;
  line-height:1;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .08s ease;
}
.lk-shell.is-authenticated .lk-app-nav-form{
  margin:0;
}
.lk-shell.is-authenticated .lk-app-nav-button{
  font:inherit;
  text-align:left;
  cursor:pointer;
}
.lk-shell.is-authenticated .lk-app-nav-link:hover,
.lk-shell.is-authenticated .lk-app-nav-summary:hover,
.lk-shell.is-authenticated .lk-app-nav-link:focus-visible,
.lk-shell.is-authenticated .lk-app-nav-summary:focus-visible{
  outline:0;
  background:#f1fbf5;
  border-color:rgba(20,58,45,.10);
  box-shadow:0 8px 18px rgba(15,35,25,.06);
}
.lk-shell.is-authenticated .lk-app-nav-link.is-active,
.lk-shell.is-authenticated .lk-app-nav-group.is-active > .lk-app-nav-summary,
.lk-shell.is-authenticated .lk-app-nav-sub .lk-app-nav-link.is-active{
  background:linear-gradient(180deg,#e4f8e6,#d7f2d1);
  border-color:rgba(18,128,92,.20);
  color:#0b5a46;
}
.lk-shell.is-authenticated .lk-app-nav-link:active,
.lk-shell.is-authenticated .lk-app-nav-summary:active{
  transform:translateY(1px);
}
.lk-shell.is-authenticated .lk-app-nav-group{
  display:grid;
  gap:4px;
}
.lk-shell.is-authenticated .lk-app-nav-summary{
  list-style:none;
}
.lk-shell.is-authenticated .lk-app-nav-summary::-webkit-details-marker{
  display:none;
}
.lk-shell.is-authenticated .lk-app-nav-icon{
  width:19px;
  height:19px;
  flex:0 0 19px;
  color:currentColor;
}
.lk-shell.is-authenticated .lk-app-nav-label{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.lk-shell.is-authenticated .lk-app-nav-badge{
  margin-left:auto;
  min-width:22px;
  min-height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 7px;
  border-radius:999px;
  background:#10231a;
  color:#fff;
  font-size:12px;
  font-weight:900;
}
.lk-shell.is-authenticated .lk-app-nav-chevron{
  margin-left:auto;
  width:8px;
  height:8px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
  opacity:.6;
  transition:transform .16s ease;
}
.lk-shell.is-authenticated .lk-app-nav-group[open] > .lk-app-nav-summary .lk-app-nav-chevron{
  transform:rotate(225deg);
}
.lk-shell.is-authenticated .lk-app-nav-sub{
  display:grid;
  gap:4px;
  padding-left:8px;
}
.lk-shell.is-authenticated .lk-app-nav-sub .lk-app-nav-link{
  min-height:36px;
  padding-left:12px;
  font-size:13.5px;
  font-weight:800;
}
.lk-shell.is-authenticated .lk-app-nav-sep{
  height:1px;
  margin:5px 10px;
  background:linear-gradient(90deg,transparent,var(--lk-app-border),transparent);
}
.lk-shell.is-authenticated .lk-app-sidebar-foot{
  display:grid;
  gap:10px;
}
.lk-shell.is-authenticated .lk-app-upgrade-card{
  display:grid;
  gap:8px;
  padding:14px;
  border:1px solid rgba(18,128,92,.16);
  border-radius:8px;
  background:linear-gradient(180deg,#f3fbf5,#eaf7ee);
  box-shadow:0 12px 26px rgba(15,35,25,.07);
}
.lk-shell.is-authenticated .lk-app-upgrade-icon{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#fff7d6;
  color:#b7791f;
}
.lk-shell.is-authenticated .lk-app-upgrade-icon svg{
  width:18px;
  height:18px;
}
.lk-shell.is-authenticated .lk-app-upgrade-card strong{
  color:var(--lk-app-ink);
  font-size:15px;
}
.lk-shell.is-authenticated .lk-app-upgrade-card span{
  color:#40534a;
  font-size:13px;
  line-height:1.42;
}
.lk-shell.is-authenticated .lk-app-upgrade-btn{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background:linear-gradient(180deg,#0f6b4e,#0a523e);
  color:#fff;
  text-decoration:none;
  font-weight:900;
  box-shadow:0 10px 20px rgba(10,82,62,.20);
}
.lk-shell.is-authenticated .header{
  grid-area:header;
  min-width:0;
  border-bottom:1px solid rgba(20,58,45,.10);
  background:rgba(255,255,255,.90) !important;
  box-shadow:0 8px 24px rgba(15,35,25,.06);
}
.lk-shell.is-authenticated .header-inner{
  max-width:none;
  min-height:66px;
  padding:10px 22px;
  justify-content:space-between;
}
.lk-shell.is-authenticated .header .brand{
  display:none;
}
.lk-shell.is-authenticated .nav{
  width:auto;
  margin-left:0;
}
.lk-shell.is-authenticated .menu{
  width:auto;
  justify-content:flex-start;
}
.lk-shell.is-authenticated .menu > li.lang{
  margin-left:0 !important;
}
.lk-shell.is-authenticated .lk-app-topbar{
  width:100%;
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
}
.lk-shell.is-authenticated .lk-app-topbar-left{
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
}
.lk-shell.is-authenticated .lk-app-mobile-sidebar-toggle{
  display:none;
}
.lk-shell.is-authenticated .lk-app-topbar-kicker{
  color:#0b6f58;
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.lk-shell.is-authenticated .lk-app-topbar-title{
  margin-top:2px;
  color:#101820;
  font-size:18px;
  font-weight:950;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.lk-shell.is-authenticated .lk-app-topbar-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}
.lk-shell.is-authenticated .lk-app-account-chip{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:5px 10px 5px 6px;
  border:1px solid rgba(20,58,45,.12);
  border-radius:999px;
  background:rgba(255,255,255,.82);
  color:#17231f;
  text-decoration:none;
  font-weight:900;
  box-shadow:0 8px 22px rgba(15,35,25,.06);
}
.lk-shell.is-authenticated .lk-app-account-chip img{
  width:32px;
  height:32px;
  border-radius:999px;
  object-fit:cover;
  border:1px solid rgba(20,58,45,.12);
}
.lk-shell.is-authenticated .lk-app-account-name{
  max-width:160px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.lk-shell.is-authenticated .lk-app-account-plan{
  display:none;
}
.lk-shell.is-authenticated .menu > li > button.menu-trigger,
.lk-shell.is-authenticated #mainMenu > li.lang .lang-btn{
  min-height:38px;
  padding:0 10px;
  font-size:13px;
  color:#28352f;
  background:rgba(255,255,255,.72);
  box-shadow:none;
}
.lk-shell.is-authenticated .main{
  grid-area:main;
  padding:0;
  background:
    radial-gradient(circle at 100% 0,rgba(185,244,109,.18),transparent 28%),
    linear-gradient(180deg,#f7fbf8 0%,#eef6f2 100%);
}
.lk-shell.is-authenticated .main-inner{
  width:100%;
  max-width:none;
  min-height:100%;
  margin:0;
  padding:0 0 clamp(18px,2.4vw,30px);
}
.lk-shell.is-authenticated .main-inner:has(.lk-dash2),
.lk-shell.is-authenticated .main-inner:has(.lk-qr){
  max-width:none;
}
.lk-shell.is-authenticated .main-inner > .text-bubble,
.lk-shell.is-authenticated .main-inner > .container,
.lk-shell.is-authenticated .main-inner > .lk-sl-card,
.lk-shell.is-authenticated .main-inner > .lk2-wrap,
.lk-shell.is-authenticated .main-inner > .lk-rm-easy{
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
.lk-shell.is-authenticated .main-inner > :where(
  .text-bubble,
  .container,
  .lk-sl-card,
  .lk-edit-card,
  .lk2-wrap,
  .lk-rm-easy,
  .lk-dash2,
  .lk-create,
  .lk-cards-page,
  .lk-card-live-editor,
  .lk-studio,
  .lk-qr,
  #lk-qr-page,
  .lk-campaigns,
  .lk-poll-create,
  .ama,
  .ama-dash,
  #lk-support-edit,
  .lk-sup-edit,
  .lk-profile-wrap,
  .lk-saas,
  .lk-sub-page
):first-of-type{
  margin-block-start:0;
}
.lk-shell.is-authenticated .main-inner > #lk-support-edit{
  margin-block-start:0;
}
@media (min-width:921px){
  .lk-shell.is-authenticated .main-inner > #lk-support-edit{
    width:100%;
    max-width:100%;
    margin-inline:0;
    padding-inline:0;
  }
}
.lk-shell.is-authenticated .main-inner > #lk-an-page,
.lk-shell.is-authenticated .main-inner > .lk-trust,
.lk-shell.is-authenticated .main-inner > .lk-docs,
.lk-shell.is-authenticated .main-inner > .lk-report-page,
.lk-shell.is-authenticated .main-inner > .lk-contact,
.lk-shell.is-authenticated .main-inner > .lk-rm-wrap{
  margin-block-start:0;
}
.lk-shell.is-authenticated .main-inner > :where(.lk-cd-wrap,.lk-ab-page) > :first-child{
  margin-block-start:0;
}
.lk-shell.is-authenticated .main-inner > :where(.lk-dash2,.lk-profile,.lk-qr){
  border:1px solid rgba(20,58,45,.14);
  border-radius:8px;
  background:linear-gradient(180deg,#ffffff,#f8fcf9) !important;
  box-shadow:0 18px 44px rgba(20,58,45,.08);
}
.lk-shell.is-authenticated .main-inner > .lk-dash2{
  padding:0 0 clamp(18px,2.4vw,30px);
}
.lk-shell.is-authenticated .main-inner > :where(.lk-profile,.lk-qr){
  padding:clamp(18px,2.4vw,30px);
}
.lk-shell.is-authenticated .main-inner > .lk-qr{
  border:1px solid rgba(20,58,45,.14) !important;
  box-shadow:0 18px 44px rgba(20,58,45,.08) !important;
}
.lk-shell.is-authenticated .main-inner > :where(
  .lk2-stats-overview,
  #lk-an-page,
  .lk-cd-wrap,
  .lk-dash2,
  .lk-create,
  .lk-sl-card,
  .lk-cards-page,
  .lk-campaigns,
  .lk-poll-create,
  .lk-growth-shell,
  .lk-blog-shell,
  .lk-saas,
  .lk-profile,
  .lk-qr,
  .lk-trust,
  .lk-docs,
  .lk-report-page,
  .ama-dash,
  #lk-support-edit,
  .lk-sup-edit,
  .lk-admin-rt,
  .lk-page,
  .lk-ab-page,
  .lk-rm-wrap
){
  min-height:100%;
}
.lk-shell.is-authenticated .main-inner > :where(
  .lk2-stats-overview,
  #lk-an-page,
  .lk-cd-wrap,
  .ama-dash,
  #lk-support-edit,
  .lk-sup-edit,
  .lk-saas,
  .lk-trust,
  .lk-docs,
  .lk-report-page,
  .lk-admin-rt,
  .lk-page,
  .lk-ab-page,
  .lk-rm-wrap
){
  border:1px solid rgba(20,58,45,.14);
  border-radius:8px;
  background:linear-gradient(180deg,#ffffff,#f8fcf9);
  box-shadow:0 18px 44px rgba(20,58,45,.08);
  padding:clamp(18px,2.4vw,30px);
}
.lk-shell.is-authenticated .main-inner > :where(#lk-an-page,.ama-dash,#lk-support-edit,.lk-sup-edit){
  border-color:rgba(20,58,45,.14) !important;
  background:linear-gradient(180deg,#ffffff,#f8fcf9) !important;
  box-shadow:0 18px 44px rgba(20,58,45,.08) !important;
}
.lk-shell.is-authenticated .main-inner > .lk-campaigns > .lk-campaign-hero{
  margin:0 0 18px !important;
}
@media (min-width:921px){
  .lk-shell.is-authenticated .main-inner > :where(
    .lk2-stats-overview,
    #lk-an-page,
    .lk-cd-wrap,
    .lk-dash2,
    .lk-create,
    .lk-sl-card,
    .lk-cards-page,
    .lk-campaigns,
    .lk-poll-create,
    .lk-growth-shell,
    .lk-blog-shell,
    .lk-saas,
    .lk-profile,
    .lk-qr,
    .lk-trust,
    .lk-docs,
    .lk-report-page,
    .ama-dash,
    #lk-support-edit,
    .lk-sup-edit,
    .lk-admin-rt,
    .lk-page,
    .lk-ab-page,
    .lk-rm-wrap
  ){
    border-radius:0;
    padding-block-start:0 !important;
    padding-inline:0 !important;
  }
  .lk-shell.is-authenticated .main-inner > :where(
    .text-bubble,
    .container,
    .lk-sl-card,
    .lk-edit-card,
    .lk2-wrap,
    .lk-rm-easy,
    .lk-dash2,
    .lk-create,
    .lk-cards-page,
    .lk-card-live-editor,
    .lk-studio,
    .lk-qr,
    #lk-qr-page,
    .lk-campaigns,
    .lk-poll-create,
    .ama,
    .ama-dash,
    #lk-support-edit,
    .lk-sup-edit,
    .lk-profile-wrap,
    .lk-saas,
    .lk-sub-page,
    #lk-an-page,
    .lk-trust,
    .lk-docs,
    .lk-report-page,
    .lk-contact,
    .lk-rm-wrap,
    .lk-cd-wrap,
    .lk-ab-page
  ){
    width:100%;
    max-width:100%;
    margin-inline:0;
  }
}
@media (max-width:920px){
  .lk-shell.is-authenticated .main-inner > :where(.lk-dash2,.lk-profile,.lk-qr){
    border-radius:8px;
  }
  .lk-shell.is-authenticated .main-inner > :where(.lk-profile,.lk-qr){
    padding:clamp(14px,3vw,18px);
  }
  .lk-shell.is-authenticated .main-inner > :where(
    .lk2-stats-overview,
    #lk-an-page,
    .lk-cd-wrap,
    .ama-dash,
    #lk-support-edit,
    .lk-sup-edit,
    .lk-saas,
    .lk-trust,
    .lk-docs,
    .lk-report-page,
    .lk-admin-rt,
    .lk-page,
    .lk-ab-page,
    .lk-rm-wrap
  ){
    padding:clamp(14px,3vw,18px);
  }
  .lk-shell.is-authenticated .main-inner > :where(
    .lk2-stats-overview,
    #lk-an-page,
    .lk-cd-wrap,
    .lk-dash2,
    .lk-create,
    .lk-sl-card,
    .lk-cards-page,
    .lk-campaigns,
    .lk-poll-create,
    .lk-growth-shell,
    .lk-blog-shell,
    .lk-saas,
    .lk-profile,
    .lk-qr,
    .lk-trust,
    .lk-docs,
    .lk-report-page,
    .ama-dash,
    #lk-support-edit,
    .lk-sup-edit,
    .lk-admin-rt,
    .lk-page,
    .lk-ab-page,
    .lk-rm-wrap
  ){
    padding-block-start:0 !important;
    padding-inline:0 !important;
  }
}
.lk-shell.is-authenticated table{
  max-width:100%;
}
.lk-shell.is-authenticated .table-wrap,
.lk-shell.is-authenticated .tablewrap,
.lk-shell.is-authenticated .lk2-tablewrap,
.lk-shell.is-authenticated .lk-ui-table-wrap,
.lk-shell.is-authenticated .responsive-table{
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.lk-shell.is-authenticated .btn,
.lk-shell.is-authenticated button,
.lk-shell.is-authenticated input,
.lk-shell.is-authenticated select,
.lk-shell.is-authenticated textarea{
  max-width:100%;
}
.lk-shell.is-authenticated .footer{
  grid-area:footer;
  border-top:1px solid rgba(20,58,45,.10);
  background:rgba(255,255,255,.80) !important;
  box-shadow:none;
}
.lk-shell.is-authenticated .footer-inner{
  max-width:none;
  padding:9px 22px calc(9px + env(safe-area-inset-bottom));
  grid-template-columns:minmax(250px,auto) minmax(0,1fr);
  gap:12px;
}
.lk-shell.is-authenticated .footer-cta{
  display:none;
}
.lk-shell.is-authenticated .footer-brand{
  gap:8px;
  flex-wrap:wrap;
}
.lk-shell.is-authenticated .lk-app-footer-sep{
  color:#64746c;
  font-weight:800;
}
.lk-shell.is-authenticated .lk-app-footer-plan{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  max-width:100%;
  padding:0 9px;
  border-radius:999px;
  border:1px solid rgba(18,128,92,.18);
  background:#eefaf3;
  color:#0b5a46;
  font-size:11.5px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
}
.lk-shell.is-authenticated .lk-app-footer-plan.is-gold{
  border-color:rgba(196,142,26,.22);
  background:#fff8df;
  color:#7a5100;
}
.lk-shell.is-authenticated .lk-app-footer-plan.is-silver{
  border-color:rgba(100,116,139,.25);
  background:linear-gradient(180deg,#f8fafc,#ecfdf3);
  color:#475569;
}
.lk-shell.is-authenticated .lk-app-footer-plan.is-bronze{
  border-color:rgba(180,83,9,.24);
  background:#fff2e3;
  color:#92400e;
}
.lk-shell.is-authenticated .lk-app-footer-plan.is-free{
  border-color:rgba(15,82,62,.18);
  background:#f5fbf7;
  color:#0f5138;
}
@media (min-width:921px){
  .lk-shell.is-authenticated .mobile-menu-toggle{
    display:none !important;
  }
}
@media (max-width:920px){
  .lk-shell.is-authenticated{
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:auto minmax(0,1fr) auto;
    grid-template-areas:
      "header"
      "main"
      "footer";
    min-height:100svh;
    height:auto;
    overflow:visible;
  }
  .lk-shell.is-authenticated .lk-app-sidebar{
    position:fixed;
    inset:0 auto 0 0;
    width:min(320px,calc(100vw - 34px));
    max-width:100%;
    height:100dvh;
    display:grid;
    transform:translateX(-105%);
    transition:transform .22s ease;
    box-shadow:18px 0 48px rgba(15,35,25,.18);
    z-index:1305;
  }
  .lk-shell.is-authenticated.is-sidebar-open .lk-app-sidebar{
    transform:translateX(0);
  }
  .lk-shell.is-authenticated .header .brand{
    display:none;
  }
  .lk-shell.is-authenticated .header-inner{
    padding:10px 14px;
  }
  .lk-shell.is-authenticated .nav{
    width:auto;
  }
  .lk-shell.is-authenticated .menu{
    width:auto;
  }
  .lk-shell.is-authenticated .menu > li.lang{
    margin-left:0 !important;
  }
  .lk-shell.is-authenticated .lk-app-topbar{
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
  }
  .lk-shell.is-authenticated .lk-app-mobile-sidebar-toggle{
    min-width:42px;
    width:42px;
    height:42px;
    display:inline-grid;
    place-items:center;
    border:1px solid rgba(20,58,45,.15);
    border-radius:8px;
    background:#fff;
    color:#0b5a46;
    box-shadow:0 8px 18px rgba(15,35,25,.08);
    cursor:pointer;
  }
  .lk-shell.is-authenticated .lk-app-mobile-sidebar-toggle svg{
    width:20px;
    height:20px;
  }
  .lk-shell.is-authenticated .lk-app-topbar-title{
    font-size:16px;
  }
  .lk-shell.is-authenticated .lk-app-topbar-right{
    gap:7px;
  }
  .lk-shell.is-authenticated .lk-app-account-chip{
    min-height:38px;
    padding:3px;
  }
  .lk-shell.is-authenticated .lk-app-account-chip img{
    width:31px;
    height:31px;
  }
  .lk-shell.is-authenticated .lk-app-account-name{
    display:none;
  }
  .lk-shell.is-authenticated #mainMenu > li.lang .lang-btn{
    min-height:38px;
    padding:0 8px;
  }
  .lk-shell.is-authenticated #mainMenu > li.lang .abbr{
    display:none;
  }
  .lk-shell.is-authenticated .main{
    overflow:visible;
    padding:0;
  }
  .lk-shell.is-authenticated .main-inner{
    padding:0 clamp(12px,3vw,18px) 22px;
  }
  .lk-shell.is-authenticated .footer-inner{
    grid-template-columns:1fr;
    justify-items:center;
    text-align:center;
  }
  .lk-shell.is-authenticated .footer-brand,
  .lk-shell.is-authenticated .footer-links{
    justify-content:center;
  }
  .lk-shell.is-authenticated .lk-app-footer-plan{
    white-space:normal;
    line-height:1.2;
    padding-top:4px;
    padding-bottom:4px;
  }
}

