:root{
      --accent: #27e28a;

      --bg: #0b0b10;
      --panel: #10101a;

      --text: #f2f3f7;
      --muted:#b7bccb;

      --line: rgba(255,255,255,.10);
      --line2: rgba(255,255,255,.18);

      --radius: 26px;
      --shadow: 0 26px 90px rgba(0,0,0,.58);

      --fs-base: 18px;
      --fs-small: 15px;
      --fs-h2: 28px;
      --fs-card-title: 20px;

      --pad: 28px;

      --nav-h: 66px;
      --max: 1400px;

      /* icon buttons should match the height of regular buttons in toolbars */
      --icon-btn: 46px;
      --icon-size: 18px;

      --stack-break: 560px;
    }

    /* максимум 2 шрифта: используем один системный стек, без импортов */
    *{ box-sizing:border-box; }
    html,body{ height:100%; }
    /* Make native form controls (including date pickers) render in dark UI.
       This affects <input type="date"> popup calendars in modern browsers. */
    html{ color-scheme: dark; }
    input, select, textarea{ color-scheme: dark; }

    /* -------------------- Shared toolbar utilities (used in Stocks + Financial report) -------------------- */
    .toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-top:8px;}
    .toolbar .left{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
    .toolbar .right{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-end;}

    .pill{position:relative;display:inline-flex;align-items:center;gap:10px;padding:10px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(16,16,26,.55);color:rgba(242,243,247,.9);}
    .pill input{background:transparent;border:0;outline:none;color:var(--text);min-width:240px;}
    .pill select{background:transparent;border:0;outline:none;color:var(--text);min-width:110px;max-width:120px;}
    .pill select option{color:#111;}

    .popover{position:relative;display:inline-flex;align-items:center;}
    .pop{position:absolute;right:0;top:42px;min-width:240px;max-width:320px;border-radius:16px;border:1px solid rgba(255,255,255,.12);background:rgba(16,16,26,.98);box-shadow:0 16px 50px rgba(0,0,0,.55);padding:10px;display:none;z-index:80;}
    .popover[data-open="true"] .pop{display:block;}
    .pop h3{margin:0 0 10px;font-size:14px;letter-spacing:.2px;}
    .grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
    .field{display:flex;flex-direction:column;gap:6px;}
    .field label{font-size:12px;color:rgba(242,243,247,.68);font-weight:700;}
    .field input,.field select{height:32px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(10,10,18,.35);color:rgba(242,243,247,.92);padding:0 8px;outline:none;}
    .pop .row{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:10px;}
    .pop .row .btn.small{height:34px;}
    .small-muted{color:rgba(242,243,247,.62);font-size:12px;font-weight:700;}

    /* ================= Custom date picker (dark, consistent UI) =================
       Native <input type="date"> popups are browser-dependent and often appear in a light theme.
       We keep the original input for value storage, but render a custom dark picker UI.
    */
    input.dp-hidden{position:absolute !important;left:-9999px !important;width:1px !important;height:1px !important;opacity:0 !important;pointer-events:none !important;}
    .dp-wrap{position:relative;display:inline-flex;align-items:center;gap:10px;}
    .dp-field{height:46px;min-width:150px;padding:0 14px;border-radius:16px;border:1px solid rgba(255,255,255,.12);background:rgba(16,16,26,.55);color:rgba(242,243,247,.92);display:flex;align-items:center;gap:10px;cursor:pointer;user-select:none;}
    .dp-field:hover{border-color:rgba(255,255,255,.18);}
    .dp-text{font-weight:700;letter-spacing:.2px;}
    .dp-icon{width:18px;height:18px;opacity:.85;display:inline-flex;align-items:center;justify-content:center;}
    .dp-pop{position:absolute;top:54px;left:0;z-index:1000;min-width:280px;max-width:320px;border-radius:18px;border:1px solid rgba(255,255,255,.12);background:rgba(16,16,26,.98);box-shadow:0 18px 60px rgba(0,0,0,.55);padding:12px;display:none;}
    .dp-wrap[data-open="true"] .dp-pop{display:block;}
    .dp-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;}
    .dp-head .dp-nav{display:flex;gap:8px;align-items:center;}
    .dp-btn{height:34px;width:34px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:rgba(242,243,247,.92);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;}
    .dp-btn:hover{background:rgba(255,255,255,.08);} 
    .dp-month{font-weight:800;color:rgba(242,243,247,.92);}
    .dp-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;}
    .dp-dow{font-size:12px;color:rgba(242,243,247,.55);text-align:center;padding:6px 0;}
    .dp-day{height:34px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.02);color:rgba(242,243,247,.92);cursor:pointer;display:flex;align-items:center;justify-content:center;font-weight:700;}
    .dp-day:hover{background:rgba(255,255,255,.08);} 
    .dp-day[aria-disabled="true"]{opacity:.35;cursor:not-allowed;}
    .dp-day.dp-out{opacity:.35;}
    .dp-day.dp-today{border-color:rgba(39,226,138,.25);}
    .dp-day.dp-selected{background:rgba(39,226,138,.16);border-color:rgba(39,226,138,.35);} 
    body{
      margin:0;
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizeLegibility;
      background: var(--bg);
      color: var(--text);
      line-height: 1.55;
      font-size: var(--fs-base);
    }
    a{ color:inherit; text-decoration:none; }
    button{ font-family:inherit; }

    /* ================= Sticky header ================= */
    .topbar{
      position: sticky;
      top: 0;
      z-index: 999;
      height: var(--nav-h);
      display:flex;
      align-items:center;
      border-bottom: 1px solid rgba(255,255,255,.10);
      background: rgba(11,11,16,.88);
      backdrop-filter: blur(10px);
      /* allow dropdown menus to render outside the bar */
      overflow: visible;
    }
    .topbar-inner{
      width: 100%;
      padding: 0 22px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 14px;
      max-width: var(--max);
      margin: 0 auto;
      overflow: visible;
    }
    @media (max-width: 920px){
      .topbar-inner{ padding: 0 14px; }
    }

    .brand-mini{
      display:flex;
      align-items:center;
      min-width: 0;
    }
    .brand-mini img{
      height: 34px;
      width: auto;
      object-fit: contain;
      border-radius: 10px;
      background: transparent;
      display:block;
    }

    .top-actions{
      display:flex;
      gap: 10px;
      align-items:center;
      justify-content:flex-end;
    }

    
    /* ===== Quick services dropdown (header) ===== */
    .quick-nav{
      flex: 1;
      display:flex;
      align-items:stretch;
      justify-content:space-between;
      gap: 10px;
      margin: 0 6px;
      min-width: 0;
      /* Some pages enable horizontal scrolling on the nav; keep dropdowns visible */
      overflow-y: visible;
    }
    .quick-nav .q-item{position:relative;flex:1;min-width:0;}
    .quick-nav .q-btn{
      width: 100%;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      height: var(--icon-btn);
      padding: 0 10px;
      border-radius: 16px;
      border: 1px solid transparent;
      background: transparent;
      color: var(--text);
      font-weight: 750;
      font-size: 16px;
      letter-spacing: .2px;
      text-decoration:none;
      user-select:none;
      transition: background .15s ease, border-color .15s ease;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }

    /* ===== Small screens: make header menu usable ===== */
    @media (max-width: 760px){
      .quick-nav{
        justify-content:flex-start;
        gap: 8px;
        overflow:auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }
      .quick-nav::-webkit-scrollbar{ display:none; }
      .quick-nav .q-item{flex: 0 0 auto; min-width: 140px;}
      .quick-nav .q-btn{font-size:14px;padding:0 10px;}
    }

    /* ===== Password visibility toggle ===== */
    /* Hide native browser "reveal password" icons so we don't get double "eyes" */
    input[type="password"]::-ms-reveal,
    input[type="password"]::-ms-clear{
      display:none;
      width:0;
      height:0;
    }

    .pass-wrap{position:relative;display:flex;align-items:center;}
    .pass-wrap input{padding-right:46px;}
    .pass-toggle{
      position:absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      width: 34px;
      height: 34px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,.12);
      background: rgba(255,255,255,.04);
      color: rgba(242,243,247,.92);
      display:flex;
      align-items:center;
      justify-content:center;
      cursor:pointer;
    }
    .pass-toggle svg{width:18px;height:18px;stroke: rgba(242,243,247,.95);stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round;}
    .pass-toggle svg path{fill:none;}
    .quick-nav .q-btn:hover{background: rgba(255,255,255,.07);}
    .quick-nav .q-btn:focus-visible{outline: 2px solid rgba(140,155,255,.6);outline-offset:2px;}

    /* Hover bridge so the menu doesn't disappear while moving cursor from category to dropdown */
    .quick-nav .q-item::after{
      content:"";
      position:absolute;
      left:0;
      right:0;
      top: var(--icon-btn);
      height: 10px;
      pointer-events:none;
    }

    .quick-nav .q-menu{
      position:absolute;
      top: calc(var(--icon-btn) + 2px);
      left: 50%;
      transform: translateX(-50%);
      /* Narrower dropdowns so соседние меню не перекрывают друг друга */
      min-width: 220px;
      max-width: min(300px, calc(100vw - 28px));
      padding: 10px;
      border-radius: 18px;
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(16,16,26,.92);
      box-shadow: 0 16px 40px rgba(0,0,0,.45);
      display:none;
      z-index: 1002;
    }
    .quick-nav .q-item:hover .q-menu,
    .quick-nav .q-item:focus-within .q-menu{display:block;}
    .quick-nav .q-item[data-open="true"] .q-menu{display:block;}
    .quick-nav .q-item[data-open="true"] .q-btn{background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.10);}

    .quick-nav .q-link{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      padding: 10px 12px;
      border-radius: 14px;
      color: rgba(242,243,247,.92);
      text-decoration:none;
      font-weight: 700;
      font-size: 15px;
      line-height: 1.25;
      /* Allow long service names to wrap by words instead of pushing width */
      white-space: normal;
      word-break: break-word;
      border: 1px solid transparent;
    }
    .quick-nav .q-link:hover{background: rgba(255,255,255,.06);border-color: rgba(255,255,255,.10);}

    /* Hide desktop category header on mobile/tablets */
    @media (max-width: 1024px){
      .quick-nav{display:none;}
    }

    .btn{
      display:inline-flex;
      align-items:center;
      gap:10px;
      padding: 12px 14px;
      min-height: var(--icon-btn);
      border-radius: 16px;
      border: 1px solid var(--line2);
      background: var(--panel);
      color: var(--text);
      font-size: var(--fs-small);
      cursor:pointer;
      transition: filter .16s ease, transform .06s ease, background .16s ease;
      user-select:none;
    }
    .btn:hover{ filter: brightness(1.06); }
    .btn:active{ transform: translateY(1px); }

    .btn.primary{
      background: var(--accent);
      border-color: transparent;
      color: #08140f;
      font-weight: 900;
      letter-spacing:.1px;
    }

    .btn.outline{
      background: transparent;
      border: 1px dashed rgba(255,255,255,.28);
      color: rgba(242,243,247,.82);
      font-weight: 650;
    }
    .btn.outline:hover{ filter:none; background: rgba(255,255,255,.03); }

    /* ================= Select (dropdown) in фирменном дизайне ================= */
    select.btn{
      cursor: pointer;
      -webkit-appearance: none;
      appearance: none;
    }
    select.btn.outline{
      background: rgba(16,16,26,.55);
      border: 1px dashed rgba(255,255,255,.28);
      color: rgba(242,243,247,.92);
    }
    select.btn.outline:focus{
      outline: none;
      border-color: rgba(39,226,138,.35);
      box-shadow: 0 0 0 3px rgba(39,226,138,.12);
    }
    /* Styling opened list (best-effort across browsers) */
    select.btn.outline option, select.btn.outline optgroup{
      background: #10101a;
      color: #f2f3f7;
    }


    .btn.small{ padding: 11px 13px; font-size: var(--fs-small); }
    .btn.disabled{ opacity:.9; cursor:not-allowed; pointer-events:none; }

    .btn.icon{
      width: var(--icon-btn);
      height: var(--icon-btn);
      padding: 0;
      border-radius: 14px;
      display:grid;
      place-items:center;
      background: rgba(16,16,26,.55);
    }
    .btn.icon svg{
      width: var(--icon-size);
      height: var(--icon-size);
      stroke: rgba(242,243,247,.95);
      stroke-width: 2.6;
      fill:none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .btn.icon.primary{
      background: var(--accent);
      border-color: transparent;
    }
    .btn.icon.primary svg{ stroke: #08140f; }

    /* ================= Burger dropdown ================= */


    /* Burger button is only for narrow screens (when quick-nav is hidden) */
    .burger-btn{ display:none; }
    /* Burger menu/button should exist only on mobile & tablets */
    @media (max-width: 1024px){
      .burger-btn{ display:grid; }
    }
    /* Hard-disable burger UI on screens wider than tablets */
    @media (min-width: 1025px){
      .burger-btn{ display:none !important; }
      /*
        IMPORTANT:
        ".burger-pop" is also used for the account dropdown (id="acctPop").
        On desktop we must disable only the *services* burger menu (id="burgerPop"),
        while keeping the account dropdown working everywhere.
      */
      #burgerPop{ display:none !important; }
    }

    /* Burger accordion */
    .burger-cat{display:grid;gap:8px;}
    .burger-cat-btn{
      width:100%;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding: 14px 14px;
      border-radius: 16px;
      /* visually separate categories from services */
      border: 1px solid rgba(39,226,138,.60);
      box-shadow: inset 0 0 0 1px rgba(39,226,138,.18);
      background: rgba(16,16,26,.55);
      font-size: 16px;
      color: rgba(242,243,247,.92);
      cursor:pointer;
    }
    .burger-cat-btn svg{width:18px;height:18px;stroke:rgba(242,243,247,.92);stroke-width:2.6;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto;}
    .burger-cat[data-open="true"] .burger-cat-btn svg{ transform: rotate(180deg); }
    .burger-cat-list{ display:none; padding-left: 0; }
    .burger-cat[data-open="true"] .burger-cat-list{ display:grid; gap:10px; }
    .burger-cat-list a{ margin-left: 0; }

    /* "Главная" is a plain link (not expandable) */
    .burger-home{
      display:flex;
      align-items:center;
      justify-content:flex-start;
      padding: 14px 14px;
      border-radius: 16px;
      /* "Главная" визуально как категория */
      border: 1px solid rgba(39,226,138,.60);
      box-shadow: inset 0 0 0 1px rgba(39,226,138,.18);
      background: rgba(16,16,26,.55);
      font-size: 16px;
      color: rgba(242,243,247,.92);
    }

    /* Account button on main page (auth) */
    .acct-btn{
      display:inline-flex;
      align-items:center;
      gap:10px;
      padding: 12px 14px;
      min-height: var(--icon-btn);
      border-radius: 16px;
      border: 1px solid rgba(255,255,255,.18);
      background: rgba(16,16,26,.55);
      color: rgba(242,243,247,.92);
      font-weight: 850;
      max-width: 220px;
      cursor:pointer;
      user-select:none;
      transition: filter .16s ease, transform .06s ease, background .16s ease;
    }
    .acct-btn:hover{ filter: brightness(1.06); }
    .acct-btn:active{ transform: translateY(1px); }
    .acct-btn .label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width: 160px;}
    .acct-btn svg{width:18px;height:18px;stroke:rgba(242,243,247,.92);stroke-width:2.6;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto;}

    .burger-pop{
      position: fixed;
      z-index: 1100;
      display:none;
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(11,11,16,.94);
      backdrop-filter: blur(12px);
      border-radius: 18px;
      box-shadow: 0 30px 90px rgba(0,0,0,.62);
      overflow:hidden;
    }
    .burger-pop[data-open="true"]{ display:block; }
    .burger-pop .list{
      padding: 10px;
      display:grid;
      gap: 10px;
    }
    .burger-pop .menu-sec{display:grid;gap:10px;}
    .burger-pop .menu-title{padding:6px 10px 0;color:rgba(242,243,247,.62);font-weight:950;font-size:11px;letter-spacing:.12em;text-transform:uppercase;}

    .burger-pop a{
      display:flex;
      align-items:center;
      justify-content:flex-start;
      padding: 14px 14px;
      border-radius: 16px;
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(16,16,26,.55);
      font-size: 16px;
      color: rgba(242,243,247,.92);
    }

    /* Layout */
    .wrap{
      width:100%;
      max-width: var(--max);
      margin: 0 auto;
      padding: 18px 22px 64px;
    }
    @media (max-width: 920px){
      .wrap{ padding: 16px 14px 56px; }
    }
    section[id], main[id]{ scroll-margin-top: calc(var(--nav-h) + 18px); }

    /* ========================= HERO ========================= */
    .hero{
      margin-top: 18px;
      border-radius: calc(var(--radius) + 6px);
      overflow:hidden;
      box-shadow: var(--shadow);
      border: 1px solid rgba(255,255,255,.10);
      background:
        radial-gradient(900px 460px at 18% 18%, rgba(39,226,138,.22), transparent 60%),
        radial-gradient(780px 420px at 88% 0%, rgba(39,226,138,.10), transparent 58%),
        linear-gradient(180deg, #121220, #0b0b12);
    }

    .hero-inner{
      padding: 40px 36px 34px;
      display:flex;
      align-items:center;
      justify-content:center;
      text-align:center;
    }
    @media (max-width: 980px){
      .hero-inner{ padding: 26px 16px 22px; }
    }

    .hero-content{
      width: 100%;
      max-width: 980px;
      display:flex;
      flex-direction:column;
      align-items:center;
      gap: 14px;
    }

    .hero-logo{
      width: min(720px, 92%);
      height: auto;
      object-fit: contain;
      display:block;
      background: transparent;
      border-radius: 18px;
      filter: drop-shadow(0 24px 70px rgba(0,0,0,.55));
    }

    .hero-h1{
      margin: 4px 0 0;
      font-size: 34px;
      line-height: 1.12;
      letter-spacing: .1px;
      font-weight: 950;
      max-width: 46ch;
    }
    @media (max-width: 520px){
      .hero-h1{ font-size: 28px; }
    }
    .hero-h1 b{ color: var(--accent); }

    .hero-sub{
      margin:0;
      font-size: 20px;
      color: rgba(242,243,247,.86);
      max-width: 74ch;
    }
    @media (max-width: 520px){
      .hero-sub{ font-size: 18px; }
    }

    .hero-note{
      margin: 4px 0 0;
      font-size: 15.5px;
      color: rgba(242,243,247,.70);
    }
    .hero-note b{ color: rgba(242,243,247,.90); }

    .hero-cta{
      margin-top: 8px;
      display:flex;
      gap: 12px;
      flex-wrap:wrap;
      justify-content:center;
    }
    .btn.big{
      padding: 14px 18px;
      border-radius: 18px;
      font-size: 16px;
    }

    /* ===================== Popular ===================== */
    .popular{
      margin-top: 18px;
      border:1px solid var(--line);
      background: #0f0f18;
      border-radius: var(--radius);
      padding: var(--pad);
    }
    .popular h2{
      margin:0;
      font-size: var(--fs-h2);
      letter-spacing:.15px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .popular p{
      margin: 10px 0 0;
      color: rgba(242,243,247,.82);
      font-size: 18px;
      max-width: 95ch;
    }

    .services{
      display:grid;
      gap: 16px;
      grid-template-columns: repeat(12, 1fr);
      margin-top: 18px;
    }

    .popular .card{ grid-column: span 3; }
    @media (max-width: 1200px){ .popular .card{ grid-column: span 6; } }
    @media (max-width: 560px){ .popular .card{ grid-column: span 12; } }

    .card{
      border: 1px solid var(--line);
      border-radius: 24px;
      background: #10101a;
      padding: 22px 22px 18px;
      position:relative;
      overflow:hidden;
      min-height: 210px;
    }
    .card.featured{
      border-color: rgba(39,226,138,.45);
      box-shadow: 0 16px 48px rgba(0,0,0,.35);
    }

    /* Live / implemented services */
    .card.live{
      border-color: rgba(39,226,138,.45);
    }

    /* "В разработке" — без зелёной обводки; плашка с пунктиром */
    .btn.dev{
      border-style: dashed;
      border-color: rgba(255,255,255,.32);
      background: transparent;
      color: rgba(242,243,247,.78);
      cursor: not-allowed;
    }

    .card-head{
      display:flex;
      flex-direction:column;
      align-items:flex-start;
      gap: 8px;
    }
    .card-head-top{
      display:flex;
      width:100%;
      align-items:flex-start;
      justify-content:space-between;
      gap: 14px;
    }

    .card h3{
      margin:0;
      font-size: var(--fs-card-title);
      letter-spacing:.12px;
      line-height: 1.25;
    }
    .card p{
      margin: 12px 0 14px;
      color: rgba(242,243,247,.82);
      font-size: 17px;
      max-width: 95ch;
    }

    .actions{
      display:flex;
      gap: 12px;
      flex-wrap:wrap;
      align-items:center;
    }

    .popular .card{ display:flex; flex-direction:column; }
    .popular .actions{ margin-top:auto; }
    .popular .card h3{
      display:-webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow:hidden;
      min-height: calc(1.25em * 2);
    }
    .popular .card p{
      display:-webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow:hidden;
      min-height: calc(1.55em * 2);
      margin-bottom: 14px;
    }

    /* ===================== Section 3 ===================== */
    main{ margin-top: 18px; }

    .market-grid{
      display:grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 14px;
    }
    .market-grid .panel{ grid-column: span 6; }
    @media (max-width: 560px){ .market-grid .panel{ grid-column: span 12; } }

    /* после удаления Озона WB будет один: растягиваем на всю ширину */
    .market-grid .panel[data-market="wb"]{ grid-column: span 12; }

    .panel{
      border:1px solid var(--line);
      background: #0f0f18;
      border-radius: var(--radius);
      overflow:hidden;
    }

    .panel-head{
      padding: 20px 22px 18px;
      border-bottom: 1px solid rgba(255,255,255,.10);
      display:flex;
      align-items:center;
      gap: 14px;
    }

    .mp-logo{
      width: 30px;
      height: 30px;
      object-fit: contain;
      background: transparent;
      display:block;
      filter: none;
      border-radius: 10px;
    }

    .panel-title{
      font-size: 22px;
      font-weight: 950;
      letter-spacing:.2px;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .panel-body{ padding: 14px 14px 18px; }

    .section{
      border:1px solid var(--line);
      border-radius: 24px;
      overflow:hidden;
      background: #0b0b12;
      margin-top: 14px;
    }
    .section:first-child{ margin-top: 0; }

    .acc-btn{
      width:100%;
      text-align:left;
      padding: 20px 20px;
      border:0;
      background: transparent;
      color: var(--text);
      cursor:pointer;

      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 16px;
    }
    .acc-btn:hover{ background: rgba(255,255,255,.03); }

    .acc-left{
      display:flex;
      align-items:center;
      gap: 14px;
      min-width:0;
    }
    .section-flag{
      width: 14px;
      height: 14px;
      border-radius: 6px;
      background: rgba(39,226,138,.85);
      box-shadow: 0 0 0 8px rgba(39,226,138,.10);
      flex: 0 0 auto;
      opacity:.9;
    }
    .acc-meta{ min-width:0; }
    .acc-title{
      font-size: 20px;
      font-weight: 950;
      letter-spacing:.18px;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .acc-sub{
      font-size: 15.5px;
      color: var(--muted);
      margin-top: 4px;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }

    .chev{
      width: 44px;
      height: 44px;
      border-radius: 18px;
      border: 1px solid rgba(255,255,255,.16);
      background: rgba(12,12,20,.95);
      display:grid;
      place-items:center;
      transition: transform .18s ease, border-color .18s ease, background .18s ease;
      flex:0 0 auto;
    }
    .chev svg{
      width: 20px;
      height: 20px;
      stroke: rgba(242,243,247,.92);
      stroke-width: 2.6;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .acc-btn[aria-expanded="true"] .chev{
      border-color: rgba(39,226,138,.34);
      background: rgba(39,226,138,.14);
      transform: rotate(180deg);
    }

    .acc-body{
      border-top:1px solid var(--line);
      padding: 16px 16px 18px;
      display:none;
    }
    .acc-body[data-open="true"]{ display:block; }

    .market-services{
      display:grid;
      gap: 16px;
      grid-template-columns: repeat(12, 1fr);
    }
    .market-services .card{
      grid-column: span 6;
      min-height: 190px;
    }
    @media (max-width: 1279px){
      .market-services .card{ grid-column: span 12; }
    }
    @media (min-width: 1280px){
      .market-services .card{ grid-column: span 6; }
    }

    .market-services .card{ display:flex; flex-direction:column; }
    .market-services .actions{ margin-top:auto; }
    .market-services .card h3{
      display:-webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow:hidden;
      min-height: calc(1.25em * 2);
    }
    .market-services .card p{
      display:-webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow:hidden;
      min-height: calc(1.55em * 2);
      margin-bottom: 14px;
    }

    footer{
      margin-top: 22px;
      color: rgba(242,243,247,.62);
      font-size: var(--fs-small);
      padding: 0 6px;
      text-align:center;
    }

    button:focus-visible, a:focus-visible{
      outline: 3px solid rgba(39,226,138,.35);
      outline-offset: 3px;
      border-radius: 18px;
    }
    /* ---------------- Toast notifications ---------------- */
    .toast-root{
      position: fixed;
      right: 16px;
      top: 16px;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      gap: 10px;
      max-width: min(420px, calc(100vw - 32px));
    }

    .toast{
      background: rgba(20, 20, 28, 0.96);
      border: 1px solid rgba(255,255,255,0.10);
      border-radius: 16px;
      padding: 12px 12px;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
      box-shadow: 0 18px 60px rgba(0,0,0,.55);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      animation: toastIn .16s ease-out;
    }

    .toast[data-type="ok"]{ border-color: rgba(39,226,138,.35); }
    .toast[data-type="info"]{ border-color: rgba(255,255,255,.16); }
    .toast[data-type="err"]{ border-color: rgba(255,90,90,.35); }

    .toast__body{
      white-space: pre-wrap;
      word-break: break-word;
      color: rgba(242,243,247,.95);
      font-size: var(--fs-small);
      line-height: 1.35;
    }

    .toast__x{
      width: 30px;
      height: 30px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,.10);
      background: rgba(255,255,255,.06);
      color: rgba(242,243,247,.9);
      font-size: 18px;
      line-height: 1;
      cursor: pointer;
    }

    .toast__x:hover{ background: rgba(255,255,255,.10); }

    .toast--hide{ opacity: 0; transform: translateY(-6px); transition: opacity .20s ease, transform .20s ease; }

    @keyframes toastIn{
      from{ opacity: 0; transform: translateY(-6px); }
      to{ opacity: 1; transform: translateY(0); }
    }
