:root {
      color-scheme: light;
      --ink: #17253a;
  --muted: #586a80;
      --line: #e0e7ef;
      --paper: #fff;
      --canvas: #f2f6fa;
      --purple: #5b4be2;
      --purple-dark: #4939c7;
      --orange: #ff6844;
      --teal: #08a78d;
      --shadow: 0 12px 32px rgb(26 47 75 / 8%);
      --radius: 18px;
  font-family: "Segoe UI", Arial, sans-serif;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { display: flex; min-height: 100vh; margin: 0; flex-direction: column; color: var(--ink); background: var(--canvas); font-size: 16px; line-height: 1.55; }
    body > main { flex: 1 0 auto; }
    button, input { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    a { color: inherit; text-decoration: none; }
    button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgb(91 75 226 / 38%); outline-offset: 3px; }
    .topbar { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid #e5ebf1; background: rgb(255 255 255 / 94%); backdrop-filter: blur(14px); }
    .topbar-inner { display: flex; width: min(1320px, calc(100% - 48px)); min-height: 76px; margin: auto; align-items: center; gap: 20px; }
    .brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: -.6px; }
    .brand-image { display: block; width: 225px; height: auto; }
    .brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: linear-gradient(145deg, #7264f5, #5141d0); color: white; box-shadow: 0 6px 14px rgb(91 75 226 / 24%); }
    .brand-mark svg { width: 21px; height: 21px; }
    .brand-word span { color: var(--purple); }
    .site-header-inner { max-width: 1320px; }
    .top-search { display: flex; max-width: 760px; min-width: 260px; height: 48px; margin: 0 auto; flex: 1 1 500px; align-items: center; gap: 11px; padding: 0 14px; border: 1px solid #d9e1ec; border-radius: 12px; background: #fff; color: #74839a; box-shadow: 0 3px 10px rgb(26 47 75 / 4%); }
    .top-search svg { width: 17px; height: 17px; flex: 0 0 auto; }
    .top-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
    .top-search input::placeholder { color: #8794a8; }
    .top-search button { min-height: 34px; padding: 0 13px; border: 0; border-radius: 8px; background: #f0efff; color: var(--purple); font-size: 12px; font-weight: 750; cursor: pointer; }
    .guest-actions, .account-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
    .guest-actions .button-primary { min-height: 42px; margin: 0; padding: 0 17px; white-space: nowrap; }
    .button-outline { display: inline-flex; min-height: 42px; padding: 0 15px; align-items: center; justify-content: center; border: 1px solid #d9e1ec; border-radius: 10px; background: #fff; color: #34465e; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: .18s ease; }
    .button-outline:hover { border-color: #c7c1ff; color: var(--purple); background: #faf9ff; }
    .account-action { display: inline-flex; min-height: 39px; padding: 0 10px; align-items: center; justify-content: center; gap: 5px; border: 1px solid #d9e1ec; border-radius: 10px; background: #fff; color: #34465e; font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; }
    .account-action:hover { border-color: #c7c1ff; color: var(--purple); }
    .header-icon-action { position: relative; width: 39px; min-width: 39px; height: 39px; flex: 0 0 39px; padding: 0; }
    .header-icon-action svg { width: 18px; height: 18px; }
    .header-icon-action .notification-bell-icon { width: 13px; height: 13px; }
    .header-icon-count { position: absolute; top: -5px; right: -5px; display: grid; min-width: 15px; height: 15px; padding: 0 3px; place-items: center; border: 2px solid #fff; border-radius: 999px; background: #718096; color: #fff; font-size: 9px; font-weight: 800; line-height: 1; }
    .logout-form { margin: 0; }
    .logout-button { font: inherit; }
    .avatar { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 50%; background: var(--purple); color: #fff; font-size: 16px; font-weight: 800; box-shadow: 0 5px 12px rgb(91 75 226 / 21%); }
    .account-menu { position: relative; flex: 0 0 auto; margin-left: 7px; }
    .account-menu > summary { display: flex; width: max-content; height: 39px; min-height: 39px; padding: 2px 8px 2px 3px; align-items: center; gap: 7px; border: 1px solid #d9e1ec; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; list-style: none; transition: border-color .16s ease, color .16s ease; }
    .account-menu > summary:hover, .account-menu[open] > summary { border-color: #bcb5fb; color: var(--purple); }
    .account-menu > summary::-webkit-details-marker { display: none; }
    .account-menu > summary > .avatar { width: 31px; height: 31px; font-size: 14px; }
    .account-greeting { max-width: 130px; overflow: hidden; font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
    .account-menu-chevron { width: 14px; height: 14px; flex: 0 0 auto; color: #728096; transition: transform .16s ease; }
    .account-menu[open] .account-menu-chevron { transform: rotate(180deg); }
    .account-dropdown { position: absolute; z-index: 30; top: calc(100% + 5px); right: 0; display: none; min-width: 205px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 14px 32px rgb(26 47 75 / 15%); }
    .account-dropdown::before { position: absolute; top: -8px; right: 0; left: 0; height: 8px; content: ''; }
    .account-menu:hover .account-dropdown, .account-menu:focus-within .account-dropdown, .account-menu[open] .account-dropdown { display: grid; }
    .account-dropdown > a, .account-dropdown .logout-form button { display: flex; width: 100%; min-height: 39px; padding: 8px 11px; align-items: center; border: 0; border-radius: 8px; background: transparent; color: #34465e; font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
    .account-dropdown > a:hover, .account-dropdown .logout-form button:hover { background: #f3f2ff; color: var(--purple); }
    .account-dropdown .logout-form { margin-top: 4px; padding-top: 4px; border-top: 1px solid #edf0f4; }
    .account-action:first-child { color: var(--purple); }
    .account-action svg { width: 15px; height: 15px; flex: 0 0 auto; }
    .top-cta { display: inline-flex; min-height: 43px; padding: 0 17px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; background: var(--purple); color: white; font-weight: 700; box-shadow: 0 6px 15px rgb(91 75 226 / 20%); transition: .18s ease; }
    .top-cta:hover, .button-primary:hover { transform: translateY(-1px); background: var(--purple-dark); }
    .top-cta svg { width: 17px; height: 17px; }
    .mobile-menu { display: none; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
    .mobile-menu svg { width: 20px; }
    .shell { width: min(1320px, calc(100% - 48px)); margin: 28px auto 70px; }
    .layout { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 20px; align-items: start; }
    .left-rail { display: grid; min-width: 0; height: max-content; align-self: start; align-content: start; gap: 14px; }
    .sidebar, .hero-copy, .hero-note, .catalog-section, .how-section { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
    .sidebar { height: max-content; align-self: start; padding: 21px 16px; }
    .side-title { display: flex; margin: 0 2px 14px; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 800; letter-spacing: -.35px; }
    .side-title small { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; background: #f0efff; color: var(--purple); font-size: 15px; }
    .category-nav { display: grid; gap: 3px; }
    .category-nav-group { position: relative; min-width: 0; }
    .category-nav-group:hover, .category-nav-group:focus-within { z-index: 20; }
    .category-button { display: flex; min-height: 43px; width: 100%; padding: 6px 9px; align-items: center; gap: 10px; border: 0; border-radius: 10px; background: transparent; color: #33445c; text-align: left; cursor: pointer; transition: background .16s ease, color .16s ease; }
    .category-button:hover { background: #f5f6fc; color: var(--purple); }
    .category-button[aria-pressed="true"] { background: #f0efff; color: var(--purple-dark); font-weight: 700; }
    .category-button[aria-current="page"] { background: #f0efff; color: var(--purple-dark); font-weight: 750; }
    .category-icon { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: #f1f4f9; font-size: 16px; }
    .category-button:nth-child(2) .category-icon { background: #fff3e9; }
    .category-button:nth-child(3) .category-icon { background: #e9f7f4; }
    .category-button:nth-child(4) .category-icon { background: #eff0ff; }
    .category-button:nth-child(5) .category-icon { background: #eef5ff; }
    .category-label { flex: 1; font-size: 14px; }
    .category-arrow { color: #97a4b5; font-size: 17px; }
    .category-subnav { position: absolute; z-index: 21; top: 0; left: 100%; display: none; width: 245px; margin: 0; padding: 8px; grid-auto-flow: row; gap: 2px; border: 1px solid #dce3ec; border-radius: 12px; background: #fff; box-shadow: 0 12px 28px rgb(26 47 75 / 16%); }
    .category-nav-group:hover .category-subnav, .category-nav-group:focus-within .category-subnav { display: grid; }
    .category-subnav a { min-height: 35px; padding: 7px 9px; border-radius: 7px; color: #43546b; font-size: 12px; }
    .category-subnav a:hover { background: #f5f6fc; color: var(--purple); }
    .category-subnav a[aria-current="page"] { color: var(--purple-dark); font-weight: 750; }
    .sidebar-note { margin: 20px 2px 0; padding: 13px; border: 1px solid #e3e1ff; border-radius: 12px; background: linear-gradient(135deg, #f7f6ff, #fbfaff); }
    .sidebar-note strong { display: block; margin-bottom: 4px; font-size: 12px; }
    .sidebar-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
    .main-column { min-width: 0; }
    .hero-grid { display: grid; grid-template-columns: minmax(245px, .86fr) minmax(0, 1.2fr); gap: 15px; }
    .hero-copy { position: relative; min-height: 336px; padding: 30px; overflow: hidden; border: 0; background: linear-gradient(140deg, #ff714b, #ff5b36); color: white; }
    .hero-copy::after { position: absolute; right: -70px; bottom: -145px; width: 300px; height: 300px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 50%; box-shadow: 0 0 0 28px rgb(255 255 255 / 5%), 0 0 0 60px rgb(255 255 255 / 4%); content: ''; }
    .hero-kicker { display: inline-flex; margin-bottom: 17px; padding: 6px 10px; align-items: center; gap: 7px; border: 1px solid rgb(255 255 255 / 26%); border-radius: 999px; background: rgb(165 46 25 / 17%); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
    .hero-kicker span { width: 6px; height: 6px; border-radius: 50%; background: #ffe38b; }
    h1 { max-width: 530px; margin: 0; font-size: clamp(33px, 4vw, 50px); font-weight: 800; letter-spacing: -2.3px; line-height: 1.02; }
    h1 em { color: #ffe190; font-style: normal; }
    .hero-copy > p { max-width: 450px; margin: 14px 0 20px; color: rgb(255 255 255 / 95%); font-size: 15px; }
    .hero-search { position: relative; z-index: 1; display: flex; max-width: 470px; min-height: 49px; padding: 5px; align-items: center; gap: 8px; border: 1px solid rgb(255 255 255 / 67%); border-radius: 11px; background: white; color: var(--muted); box-shadow: 0 8px 18px rgb(138 43 19 / 15%); }
    .hero-search svg { width: 18px; height: 18px; margin-left: 8px; flex: 0 0 auto; color: var(--orange); }
    .hero-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
    .hero-search input::placeholder { color: #8290a2; }
    .hero-search button { min-height: 37px; padding: 0 15px; border: 0; border-radius: 8px; background: var(--purple); color: white; font-size: 12px; font-weight: 800; cursor: pointer; }
    .hero-search button:hover { background: var(--purple-dark); }
    .hero-note { display: flex; min-height: 336px; padding: 27px 28px; flex-direction: column; justify-content: space-between; overflow: hidden; }
    .note-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
    .eyebrow { margin: 0 0 8px; color: var(--purple); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
    .hero-note h2 { max-width: 430px; margin: 0; font-size: clamp(21px, 2.6vw, 31px); letter-spacing: -1.2px; line-height: 1.12; }
    .hero-note h2 span { color: var(--orange); }
    .note-copy { max-width: 420px; margin: 9px 0 0; color: var(--muted); font-size: 14px; }
    .hero-stamp { display: grid; width: 55px; height: 55px; flex: 0 0 auto; place-items: center; border-radius: 16px; background: #f0efff; color: var(--purple); transform: rotate(5deg); }
    .hero-stamp svg { width: 27px; height: 27px; }
    .paper-scene { position: relative; display: flex; min-height: 124px; margin-top: 12px; align-items: flex-end; justify-content: center; gap: 12px; overflow: hidden; border-radius: 14px; background: radial-gradient(circle at 75% 25%, #e8f5ff 0 9%, transparent 10%), linear-gradient(125deg, #f2f0ff 0%, #edf7ff 52%, #f3f8fb 100%); }
    .scene-sun { position: absolute; top: -35px; right: 10%; width: 150px; height: 150px; border-radius: 50%; background: #ffcf8f; opacity: .56; }
    .paper { position: relative; z-index: 1; width: 92px; height: 108px; margin-bottom: -16px; padding: 11px 10px; border: 1px solid #e1e5ef; border-radius: 9px 9px 0 0; background: white; box-shadow: 0 9px 18px rgb(53 70 101 / 10%); transform: rotate(-7deg); }
    .paper:nth-of-type(3) { width: 108px; height: 126px; margin-bottom: -15px; transform: rotate(5deg); }
    .paper-mark { display: grid; width: 21px; height: 21px; margin-bottom: 10px; place-items: center; border-radius: 6px; background: #f0efff; color: var(--purple); font-size: 11px; font-weight: 900; }
    .paper-line { height: 4px; margin: 6px 0; border-radius: 9px; background: #e9edf4; }
    .paper-line.short { width: 62%; }
    .paper-check { display: flex; margin-top: 8px; align-items: center; gap: 5px; color: var(--teal); font-size: 8px; font-weight: 700; }
    .paper-check i { display: grid; width: 12px; height: 12px; place-items: center; border-radius: 50%; background: #e5f7f3; font-size: 8px; font-style: normal; }
    .scene-spark { position: absolute; z-index: 2; color: var(--purple); font-size: 21px; }
    .scene-spark.one { top: 16px; left: 19%; }
    .scene-spark.two { top: 39px; right: 18%; color: var(--orange); font-size: 16px; }
    .benefit-row { display: flex; margin-top: 14px; flex-wrap: wrap; gap: 8px 14px; }
    .benefit { display: inline-flex; align-items: center; gap: 6px; color: #354860; font-size: 12px; font-weight: 650; }
    .benefit b { display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: #e6f8f3; color: #078e77; font-size: 10px; }
    .quick-links { display: grid; margin: 16px 0 25px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
    .quick-link { display: flex; min-height: 60px; padding: 9px 12px; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--line); border-radius: 13px; background: white; color: #263850; font-size: 13px; font-weight: 700; box-shadow: 0 5px 14px rgb(26 47 75 / 5%); transition: .17s ease; }
    .quick-link:hover { border-color: #c7c1ff; color: var(--purple); transform: translateY(-2px); }
    .quick-link span { color: var(--purple); font-size: 17px; }
    .catalog-section { padding: 25px; scroll-margin-top: 95px; }
    .section-head { display: flex; margin-bottom: 17px; align-items: flex-end; justify-content: space-between; gap: 16px; }
    .section-head h2 { margin: 0; font-size: 23px; letter-spacing: -.8px; }
    .section-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
    .result-count { flex: 0 0 auto; color: #8794a6; font-size: 12px; }
    .filter-row { display: flex; margin-bottom: 18px; flex-wrap: wrap; gap: 7px; }
    .filter-chip { display: inline-flex; min-height: 35px; padding: 0 13px; align-items: center; border: 1px solid #e2e7ef; border-radius: 999px; background: white; color: #475a73; font-size: 12px; font-weight: 650; text-decoration: none; cursor: pointer; transition: .15s ease; }
    .filter-chip:hover { border-color: #c9c3ff; color: var(--purple); }
    .filter-chip[aria-pressed="true"] { border-color: var(--purple); background: var(--purple); color: white; }
    .form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .form-card { position: relative; display: flex; min-height: 183px; padding: 17px; flex-direction: column; border: 1px solid #e4e9ef; border-radius: 14px; background: white; transition: .18s ease; }
    .form-card[hidden] { display: none; }
    .form-card:hover { border-color: #d1ccff; box-shadow: 0 10px 22px rgb(49 48 115 / 8%); transform: translateY(-2px); }
    .card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .form-icon { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; background: #f0efff; color: var(--purple); font-size: 19px; }
    .form-card:nth-child(3n + 2) .form-icon { background: #fff2e9; color: #e87545; }
    .form-card:nth-child(3n) .form-icon { background: #eaf8f4; color: #078d78; }
    .status { display: inline-flex; min-height: 22px; padding: 0 8px; align-items: center; border-radius: 999px; background: #f3f5f8; color: #738196; font-size: 9px; font-weight: 750; white-space: nowrap; }
    .form-card h3 { margin: 13px 0 5px; font-size: 15px; letter-spacing: -.2px; line-height: 1.35; }
    .form-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
    .card-bottom { display: flex; margin-top: auto; padding-top: 13px; align-items: center; justify-content: space-between; gap: 8px; }
    .card-category { color: #65758a; font-size: 11px; }
    .card-link { display: inline-flex; align-items: center; gap: 5px; color: var(--purple); font-size: 12px; font-weight: 700; }
    .card-link[aria-disabled="true"] { color: #929eb0; cursor: default; }
    .card-link span { font-size: 15px; }
    .empty-state { display: none; padding: 30px 16px; border: 1px dashed #d7dfea; border-radius: 13px; color: var(--muted); text-align: center; }
    .empty-state strong { display: block; margin-bottom: 4px; color: var(--ink); }
    .how-section { display: grid; margin-top: 20px; padding: 24px 25px; grid-template-columns: minmax(180px, .7fr) repeat(3, 1fr); align-items: center; gap: 18px; }
    .how-intro h2 { margin: 0; font-size: 19px; letter-spacing: -.6px; }
    .how-intro p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
    .step { display: flex; align-items: flex-start; gap: 10px; }
    .step-number { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: #f0efff; color: var(--purple); font-size: 11px; font-weight: 800; }
    .step .step-number { display: flex; align-items: center; justify-content: center; line-height: 1; text-align: center; }
    .step strong { display: block; margin: 1px 0 3px; font-size: 11px; }
    .step span { display: block; color: var(--muted); font-size: 11px; line-height: 1.45; }
    .site-footer { position: relative; display: grid; margin: auto auto 0; padding: 21px 3px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; color: #7b899d; font-size: 11px; }
    .site-footer::before { position: absolute; top: 0; right: 0; left: 0; width: 100%; border-top: 1px solid var(--line); content: ''; }
    .footer-info { display: grid; flex: 1 1 auto; gap: 8px; }
    .footer-right { display: grid; flex: 0 0 auto; justify-items: end; gap: 14px; }
    .footer-privacy-badge { display: flex; min-height: 70px; max-width: 100%; padding: 11px 17px; align-items: center; justify-content: center; gap: 13px; border-radius: 9px; background: #101a30; color: #fff; }
    .footer-privacy-copy { display: grid; gap: 1px; }
    .footer-privacy-copy strong { color: #fff; font-size: 16px; line-height: 1.35; white-space: nowrap; }
    .footer-privacy-copy span { color: #cbd5e6; font-size: 12px; white-space: nowrap; }
    .footer-privacy-badge svg { display: block; width: 45px; height: 45px; flex: 0 0 auto; }
    .footer-brand { display: inline-flex; align-items: center; gap: 8px; color: #43536a; font-weight: 750; }
    .footer-logo { display: block; width: 190px; height: auto; }
    .footer-brand .brand-mark { width: 27px; height: 27px; border-radius: 8px; box-shadow: none; }
    .footer-brand svg { width: 15px; height: 15px; }
    .footer-links { display: flex; gap: 17px; }
    .footer-links a:hover { color: var(--purple); }
    .footer-partners { display: flex; align-items: center; justify-content: flex-end; gap: 19px; }
    .footer-partners a { display: inline-flex; min-height: 30px; align-items: center; justify-content: center; }
    .footer-przelew img { display: block; width: 122px; max-height: 30px; object-fit: contain; }
    .footer-443 img { display: block; width: 72px; max-height: 30px; object-fit: contain; }
    .footer-grupanext { gap: 2px; color: #43536a; font-size: 12px; font-weight: 750; }
    .footer-grupanext img { flex: 0 0 auto; object-fit: contain; }
    .footer-grupanext span { white-space: nowrap; }
    .content-page { min-height: 0; padding-top: 28px; }
    .page-heading { max-width: 760px; margin: 0 auto 24px; text-align: center; }
    .page-heading:not(.category-heading) { display: none; }
    .page-heading .eyebrow { margin-bottom: 8px; }
    .page-heading h1, .error-page h1 { margin: 0; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; letter-spacing: -1.8px; }
    .page-heading > p:last-child { margin: 12px 0 0; color: var(--muted); }
    .content-card { max-width: 850px; margin: 0 auto; padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
    .contact-card { display: flex; align-items: flex-start; gap: 20px; }
    .content-icon { display: grid; width: 52px; height: 52px; flex: 0 0 auto; place-items: center; border-radius: 15px; background: #f0efff; color: var(--purple); font-size: 25px; }
    .content-card h2 { margin: 0 0 10px; font-size: 21px; letter-spacing: -.5px; }
    .content-card p { color: var(--muted); }
    .content-card a:not(.button-primary) { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
    .button-primary { display: inline-flex; min-height: 43px; margin-top: 8px; padding: 0 16px; align-items: center; justify-content: center; border-radius: 10px; background: var(--purple); color: #fff !important; font-weight: 700; transition: .18s ease; }
    .legal-copy h2 { margin: 25px 0 7px; font-size: 18px; }
    .legal-copy h2:first-child { margin-top: 0; }
    .legal-copy p { margin: 0 0 12px; }
    .legal-note { margin-top: 24px !important; padding: 13px 15px; border-radius: 10px; background: #fff8e9; color: #72531c !important; font-size: 13px; }
    .page-back { max-width: 850px; margin: 20px auto 0; color: var(--purple); font-weight: 650; }
    .error-page .content-card { padding: 48px 28px; text-align: center; }
    .error-page .eyebrow { color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
    .global-message { width: min(850px, calc(100% - 32px)); margin: 18px auto 0; padding: 13px 16px; border: 1px solid #bfe8db; border-radius: 11px; background: #edfaf5; color: #176b54; font-size: 14px; }
    .global-message.error { border-color: #f2c7c5; background: #fff3f2; color: #9b302c; }
    .form-panel { display: grid; gap: 16px; }
    .form-field { display: grid; gap: 7px; color: #354860; font-size: 13px; font-weight: 700; }
    .form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid #d5deea; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-weight: 400; }
    .form-field textarea { min-height: 125px; resize: vertical; }
    .form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--purple); outline: 3px solid rgb(91 75 226 / 12%); }
    .form-field small, .form-hint { color: var(--muted); font-size: 12px; font-weight: 400; }
    .form-hint { margin: 0; line-height: 1.5; }
    .form-hint a, .form-switch a, .text-link { color: var(--purple); font-weight: 700; }
    .form-alert { padding: 12px 14px; border: 1px solid; border-radius: 10px; font-size: 13px; }
    .form-alert ul { margin: 0; padding-left: 20px; }
    .form-alert li + li { margin-top: 5px; }
    .form-alert.error { border-color: #f2c7c5; background: #fff3f2; color: #9b302c; }
    .form-alert.info { border-color: #f0dca9; background: #fff9e9; color: #70551b; }
    .auth-page { max-width: 1320px; }
    .auth-layout { display: grid; max-width: 1160px; margin: 0 auto; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 0; align-items: stretch; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
    .auth-card { max-width: none; height: 100%; margin: 0; padding: 30px 34px; align-content: center; gap: 12px; border: 0; border-radius: 0; box-shadow: none; }
    .auth-title { margin: 0 0 3px; font-size: 25px; font-weight: 800; letter-spacing: -.7px; line-height: 1.2; }
    .auth-card .form-field { gap: 4px; font-size: 12px; }
    .auth-card .form-field input { min-height: 38px; padding: 7px 10px; border-radius: 8px; font-size: 14px; }
    .auth-card .form-field small { font-size: 11px; }
    .auth-card .full-button { width: auto; min-width: 174px; min-height: 40px; justify-self: center; margin-top: 0; padding: 0 28px; border-radius: 9px; font-size: 13px; }
    .auth-card .form-switch { font-size: 12px; }
    .auth-card .form-hint { font-size: 11px; }
    .login-layout { align-items: start; }
    .login-card { height: auto; align-content: start; padding-top: 24px; }
    .form-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .auth-card .form-label-row a { color: var(--purple); font-size: 11px; font-weight: 700; text-decoration: none; }
    .auth-card .form-label-row a:hover { text-decoration: underline; text-underline-offset: 2px; }
    .auth-visual { position: relative; min-height: 560px; overflow: hidden; border: 0; border-radius: 0; background: #ebe9f5; box-shadow: none; }
    .auth-visual img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
    .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
    .full-button { width: 100%; margin: 0; border: 0; cursor: pointer; }
    .form-switch { margin: 0; color: var(--muted); font-size: 13px; text-align: center; }
    .turnstile-box { min-height: 0; overflow-x: auto; }
    .contact-layout { display: grid; max-width: 1060px; margin: 0 auto; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 20px; align-items: start; }
    .contact-info { padding: 28px; }
    .contact-info ol { margin: 18px 0 24px; padding-left: 20px; color: var(--muted); }
    .contact-info li + li { margin-top: 10px; }
    .contact-faq { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #f8f9fc; }
    .contact-faq p { margin: 7px 0; color: var(--muted); font-size: 13px; }
    .contact-faq a { color: var(--purple); font-size: 13px; font-weight: 700; }
    .activation-card, .empty-account { max-width: 620px; text-align: center; }
    .activation-card p, .empty-account p { color: var(--muted); }
    .activation-card .text-link { display: block; margin-top: 16px; }
    .activation-page { width: min(1320px, calc(100% - 48px)); }
    .activation-panel { display: grid; width: 100%; max-width: none; min-height: 470px; margin: 0; padding: clamp(22px, 4vw, 48px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 64px); }
    .activation-art-wrap { overflow: hidden; border-radius: 18px; background: #f1efff; }
    .activation-art { display: block; width: 100%; height: auto; aspect-ratio: 1.56; object-fit: cover; }
    .activation-copy { max-width: 540px; }
    .activation-copy h1 { max-width: none; margin: 0; font-size: clamp(34px, 4vw, 48px); letter-spacing: -1.8px; line-height: 1.1; }
    .activation-copy > p:not(.eyebrow) { color: var(--muted); }
    .activation-copy .eyebrow { margin-bottom: 8px; }
    .activation-copy .activation-description { margin: 9px 0 22px; }
    .activation-actions { display: flex; margin-top: 22px; align-items: center; gap: 18px; }
    .activation-actions .button-primary { min-height: 44px; margin: 0; padding: 0 20px; }
    .activation-actions .text-link { color: var(--purple); font-weight: 700; }
    .account-card { display: flex; max-width: 620px; align-items: center; gap: 18px; }
    .account-card h2 { margin: 0; }
    .account-card p { margin: 5px 0 8px; }
    .account-card a { color: var(--purple); font-weight: 700; }
    .large-avatar { width: 64px; height: 64px; font-size: 24px; }
    .simple-list { display: grid; max-width: 900px; margin: auto; gap: 10px; }
    .simple-row { display: flex; padding: 17px 20px; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow); }
    .simple-row > div { display: grid; gap: 5px; }
    .simple-row a { color: var(--ink); }
    .simple-row span, .simple-row p { margin: 0; color: var(--muted); font-size: 12px; }
    .simple-row form { margin: 0; }
    .notification-row.unread { border-left: 4px solid var(--purple); }
    .application-intro { margin-bottom: 16px; }
    .application-intro > p { margin: 0 0 12px; color: var(--muted); }
    .favorite-form { margin-top: 12px; }
    .toast { position: fixed; z-index: 20; right: 22px; bottom: 22px; max-width: min(380px, calc(100% - 44px)); padding: 13px 17px; border: 1px solid #e0e7ef; border-radius: 12px; background: white; color: var(--ink); font-size: 13px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s ease; }
    .toast.show { opacity: 1; transform: translateY(0); }

    @media (max-width: 1060px) {
      .topbar-inner, .shell { width: min(100% - 32px, 960px); }
      .layout { grid-template-columns: 215px minmax(0, 1fr); gap: 14px; }
      .sidebar { padding: 17px 11px; }
      .hero-grid { grid-template-columns: 1fr; }
      .hero-copy, .hero-note { min-height: 270px; }
      .hero-note { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 10px; }
      .paper-scene { min-height: 190px; margin: 0; }
      .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .how-section { grid-template-columns: repeat(3, 1fr); }
      .how-intro { grid-column: 1 / -1; }
    }
    @media (max-width: 1100px) and (min-width: 721px) {
      .topbar-inner { gap: 14px; }
      .brand-image { width: 175px; }
      .top-search { min-width: 180px; flex-basis: 260px; }
      .top-cta { padding: 0 12px; font-size: 13px; }
      .account-actions { gap: 5px; }
      .account-action { padding: 0 7px; font-size: 11px; }
    }
    @media (max-width: 850px) and (min-width: 721px) {
      .site-header-inner { flex-wrap: wrap; padding: 9px 0; }
      .top-search { order: 3; width: 100%; max-width: none; margin: 0; flex: 1 0 100%; }
      .guest-actions, .account-actions { margin-left: auto; }
    }
    @media (max-width: 850px) {
      .site-footer { grid-template-columns: 1fr; align-items: start; gap: 17px; }
      .footer-privacy-badge { justify-self: center; }
      .footer-right { width: 100%; justify-items: start; gap: 13px; }
      .footer-partners { justify-content: flex-start; flex-wrap: wrap; gap: 14px 19px; }
      .auth-layout { max-width: 620px; grid-template-columns: minmax(0, 1fr); gap: 0; }
      .auth-visual { min-height: 340px; }
      .auth-card { padding: 26px; }
      .activation-panel { min-height: 0; grid-template-columns: 1fr; }
      .activation-art-wrap { max-width: 600px; margin: 0 auto; }
      .activation-copy { max-width: 650px; margin: 0 auto; }
    }
    @media (max-width: 720px) {
      .topbar-inner { width: calc(100% - 28px); min-height: 66px; height: auto; padding: 9px 0; flex-wrap: wrap; gap: 9px; }
      .brand { gap: 8px; font-size: 16px; }
      .brand-image { width: 155px; }
      .brand-mark { width: 35px; height: 35px; }
      .top-search { order: 3; width: 100%; max-width: none; min-width: 0; height: 43px; margin: 0; flex: 1 0 100%; }
      .top-search input { font-size: 12px; }
      .topbar .top-cta { display: none; }
      .mobile-menu { display: grid; flex: 0 0 auto; order: 1; }
      .guest-actions { order: 2; margin-left: auto; gap: 6px; }
      .guest-actions .button-outline, .guest-actions .button-primary { min-height: 37px; padding: 0 11px; font-size: 12px; }
      .account-actions { order: 2; margin-left: auto; gap: 5px; }
      .account-action { min-height: 36px; padding: 0 7px; font-size: 10px; }
      .account-action span:not(.header-icon-count) { display: none; }
      .avatar { width: 36px; height: 36px; }
      .account-menu > summary { height: 39px; min-height: 39px; padding: 2px 7px 2px 3px; gap: 6px; }
      .account-greeting { max-width: 100px; font-size: 11px; }
      .account-menu-chevron { width: 12px; height: 12px; }
      .shell { width: calc(100% - 28px); margin-top: 17px; }
      .auth-visual { min-height: 270px; }
      .layout { display: block; }
      .sidebar { display: none; margin-bottom: 13px; }
      .sidebar.open { display: block; }
      .category-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .sidebar-note { display: none; }
      .hero-copy { min-height: 320px; padding: 26px 22px; }
      h1 { max-width: 430px; font-size: clamp(37px, 8vw, 48px); }
      .hero-copy > p { max-width: 380px; font-size: 13px; }
      .hero-note { min-height: 255px; padding: 20px; }
      .hero-note h2 { font-size: 23px; }
      .paper-scene { min-height: 165px; }
      .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
      .quick-link { min-height: 54px; justify-content: flex-start; padding-left: 15px; }
      .catalog-section { padding: 19px 15px; }
      .section-head h2 { font-size: 20px; }
      .section-head { align-items: flex-start; }
      .result-count { padding-top: 5px; }
      .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; scrollbar-width: thin; }
      .filter-chip { flex: 0 0 auto; }
      .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
      .form-card { min-height: 190px; padding: 13px; }
      .form-card h3 { font-size: 13px; }
      .form-card p { font-size: 11px; }
      .status { padding: 0 6px; font-size: 8px; }
      .how-section { padding: 20px 17px; grid-template-columns: 1fr; gap: 15px; }
      .how-intro { grid-column: auto; }
      .footer-logo { width: 170px; }
      .contact-card { gap: 14px; }
      .contact-layout { grid-template-columns: 1fr; }
      .activation-page { width: calc(100% - 28px); }
      .activation-panel { padding: 18px; gap: 20px; }
      .activation-copy h1 { font-size: 34px; }
      .activation-actions { align-items: flex-start; flex-direction: column; gap: 13px; }
      .contact-info { padding: 22px; }
      .simple-row { padding: 14px; }
      .simple-row .button-outline { min-height: 36px; padding: 0 10px; }
    }
    @media (max-width: 430px) {
      .top-search { flex-basis: auto; padding: 0 9px; }
      .top-search input { font-size: 11px; }
      .hero-note { display: flex; min-height: unset; }
      .note-top { align-items: center; }
      .hero-stamp { width: 43px; height: 43px; border-radius: 13px; }
      .paper-scene { min-height: 140px; }
      .form-grid { grid-template-columns: 1fr; }
      .form-card { min-height: 157px; }
      .footer-links { flex-wrap: wrap; gap: 10px 15px; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
    }
    .application-price { margin-top: 11px !important; color: #34445d !important; }
    .payment-summary { padding: 25px; }
    .payment-summary dl { display: grid; gap: 12px; margin: 0 0 18px; }
    .payment-summary dl div { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 10px; border-bottom: 1px solid #e4eaf1; }
    .payment-summary dt { color: #53647a; }
    .payment-summary dd { margin: 0; color: #172b49; font-weight: 700; text-align: right; }
    .payment-summary .button-primary { margin-top: 9px; }
    .admin-header-button { border-color: var(--purple); background: var(--purple); color: #fff !important; }
    .admin-header-button:hover { border-color: #4434d2; background: #4434d2; color: #fff !important; }
    .admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
    .admin-stat { position: relative; display: grid; min-width: 0; min-height: 116px; max-width: none; margin: 0; padding: 20px; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 15px; overflow: hidden; border-color: #e3e9f1; border-radius: 16px; box-shadow: 0 8px 24px rgb(26 47 75 / 6%); }
    .admin-stat::after { position: absolute; right: -23px; bottom: -41px; width: 100px; height: 100px; border-radius: 50%; background: var(--stat-soft, #f0efff); content: ''; opacity: .58; }
    .admin-stat > div { position: relative; z-index: 1; display: grid; gap: 10px; }
    .admin-stat span:not(.admin-stat-icon) { color: #617187; font-size: 12px; font-weight: 700; line-height: 1.3; }
    .admin-stat strong { color: #172b49; font-size: 32px; line-height: 1; }
    .admin-stat-icon { position: relative; z-index: 1; display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; background: var(--stat-soft, #f0efff); color: var(--stat-color, var(--purple)); font-size: 23px; font-weight: 800; }
    .admin-stat-users { --stat-soft: #f0efff; --stat-color: #5b4be2; }
    .admin-stat-applications { --stat-soft: #eaf7f5; --stat-color: #088b7d; }
    .admin-stat-submissions { --stat-soft: #fff3e9; --stat-color: #ed7a28; }
    .admin-stat-payments { --stat-soft: #edf4ff; --stat-color: #3b75ce; }
    .admin-welcome-card { display: flex; max-width: none; padding: 24px; align-items: center; justify-content: space-between; gap: 22px; }
    .admin-welcome-card h2 { margin: 0; color: #172b49; font-size: 20px; }
    .admin-welcome-card p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
    .admin-shortcuts { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 9px; }
    .admin-note { padding: 22px; }
    .admin-note h2 { margin: 0 0 8px; color: #172b49; font-size: 20px; }
    .admin-note p { margin: 0; color: #53647a; line-height: 1.65; }
    .category-admin { max-width: none; margin: 0 0 20px; padding: clamp(19px, 3vw, 30px); }
    .category-admin-heading h1 { margin: 0; color: var(--ink); font-size: 23px; letter-spacing: -.7px; }
    .category-admin-heading > div > p:last-child { margin: 6px 0 18px; color: var(--muted); }
    .category-add-main { margin-bottom: 24px; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: #f9fafc; }
    .category-add-main h2, .category-admin-group > h2 { margin: 0 0 13px; font-size: 16px; }
    .category-admin-fields { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 100px; gap: 11px; align-items: end; }
    .category-icon-field { max-width: 115px; }
    .category-checkbox { display: inline-flex; min-height: 38px; align-items: center; gap: 7px; color: #53647a; font-size: 12px; font-weight: 650; white-space: nowrap; }
    .category-checkbox input { width: 16px; height: 16px; accent-color: var(--purple); }
    .category-add-main > .button-primary { min-height: 38px; margin: 4px 0 0 14px; font-size: 12px; }
    .category-admin-list { display: grid; gap: 17px; }
    .category-admin-group { padding: 17px; border: 1px solid var(--line); border-radius: 13px; }
    .category-admin-group > h2 { display: flex; align-items: center; gap: 8px; }
    .category-admin-group > h2 > span { font-size: 21px; }
    .category-admin-group > h2 small { margin-left: auto; color: var(--muted); font-size: 11px; font-weight: 600; }
    .category-add-inline { display: grid; grid-template-columns: minmax(0, 1.6fr) 100px auto auto; gap: 10px; align-items: end; margin-bottom: 13px; padding: 12px; border-radius: 10px; background: #f6f7fb; }
    .category-add-inline .form-field { font-size: 11px; }
    .category-add-inline .form-field input { min-height: 38px; padding: 7px 9px; font-size: 13px; }
    .category-add-inline .button-outline { min-height: 38px; font-size: 11px; }
    .category-admin-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; padding: 12px 0; border-top: 1px solid #edf0f4; }
    .category-admin-item.is-child { padding-left: 17px; }
    .category-admin-edit { display: grid; grid-template-columns: minmax(130px, 1.2fr) minmax(120px, 1fr) 75px minmax(140px, 1fr) auto auto; gap: 9px; align-items: end; }
    .category-admin-edit .form-field { gap: 4px; font-size: 10px; }
    .category-admin-edit .form-field input, .category-admin-edit .form-field select { min-height: 36px; padding: 6px 8px; border-radius: 8px; font-size: 12px; }
    .category-admin-edit .category-icon-field { max-width: none; }
    .category-admin-edit .category-checkbox { min-height: 36px; font-size: 10px; }
    .category-admin-edit .category-checkbox input { width: 14px; height: 14px; }
    .category-save, .category-admin-actions .button-outline { min-height: 36px; margin: 0; padding: 0 11px; font-size: 11px; }
    .category-admin-actions { display: flex; gap: 6px; }
    .category-admin-actions form { margin: 0; }
    .category-admin-actions .category-delete { border-color: #f0d1cf; color: #a43c36; }
    .category-admin-error { padding: 12px; border: 1px solid #f2c7c5; border-radius: 9px; background: #fff3f2; color: #9b302c; }
    .category-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: #687a90; font-size: 12px; }
    .category-breadcrumbs a { color: var(--purple); font-weight: 700; }
    .category-heading { display: flex; max-width: none; min-height: 82px; margin: 0 0 16px; padding: 13px 16px; align-items: center; justify-content: flex-start; gap: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; text-align: left; }
    .category-heading-icon { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border-radius: 13px; background: #f0efff; font-size: 24px; }
    .category-heading-copy { min-width: 0; }
    .category-heading .eyebrow { margin: 0 0 2px; font-size: 9px; }
    .category-heading h1 { max-width: 100%; font-size: 24px; letter-spacing: -.7px; line-height: 1.2; }
    .category-heading-copy > p:last-child { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
    .category-results { margin: 0 auto 22px; }
    .category-results h2 { margin: 0 0 13px; font-size: 20px; letter-spacing: -.5px; }
    .category-tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 11px; }
    .category-tile { display: flex; min-height: 68px; padding: 13px 15px; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 5px 14px rgb(26 47 75 / 4%); }
    .category-tile > span:first-child { font-size: 22px; }
    .category-tile strong { flex: 1; font-size: 13px; }
    .category-tile > span:last-child { color: var(--purple); }
    .category-tile:hover { border-color: #c7c1ff; color: var(--purple); }
    .category-empty { max-width: 800px; text-align: center; }
    .category-empty p { margin: 7px 0 12px; }
    .category-empty a { color: var(--purple); font-weight: 700; }
    .category-page-layout { align-items: start; }
    .category-sidebar { align-self: start; }
    .category-all-link { display: inline-block; margin: 17px 8px 0; color: var(--purple); font-size: 12px; font-weight: 700; }
    .category-page-body { min-width: 0; }
    .search-panel { width: 100%; max-width: none; padding: clamp(18px, 3vw, 30px); }
    .search-page-heading { display: flex; margin-bottom: 20px; align-items: flex-end; justify-content: space-between; gap: 22px; }
    .search-page-heading h1 { max-width: none; margin: 0; font-size: clamp(25px, 3vw, 34px); letter-spacing: -1px; line-height: 1.2; }
    .search-page-heading p:not(.eyebrow) { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
    .search-page-form { display: flex; width: min(520px, 48%); min-height: 46px; align-items: center; gap: 8px; }
    .search-page-form input { width: 100%; min-width: 0; min-height: 44px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
    .search-page-form .button-primary { flex: 0 0 auto; min-height: 42px; margin: 0; }
    .search-pagination { display: flex; min-height: 42px; margin: 15px 0; align-items: center; justify-content: space-between; gap: 12px; }
    .search-pagination > a, .search-pagination > span, .search-page-numbers a, .search-page-numbers > span { display: inline-flex; min-width: 34px; min-height: 34px; padding: 0 10px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #43536a; font-size: 12px; font-weight: 700; }
    .search-pagination > span.is-disabled { color: #a5afbd; background: #f7f8fa; }
    .search-page-numbers { display: flex; align-items: center; gap: 5px; }
    .search-page-numbers > span[aria-current="page"] { border-color: var(--purple); background: var(--purple); color: #fff; }
    .search-page-numbers > span:not([aria-current]) { min-width: auto; padding: 0 4px; border: 0; background: transparent; }
    .search-empty { display: grid; min-height: 145px; padding: 24px; place-content: center; gap: 6px; border: 1px dashed #d7dfea; border-radius: 13px; color: var(--muted); text-align: center; }
    .search-empty strong { color: var(--ink); }
    .search-result-grid { margin-top: 8px; }
    .ad-slot { min-width: 0; overflow: hidden; }
    .ad-slot a { display: block; color: inherit; }
    .ad-slot img, .ad-slot iframe { display: block; max-width: 100%; }
    .ad-slot-header { display: flex; width: min(1320px, calc(100% - 48px)); margin: 10px auto 0; align-items: center; justify-content: center; text-align: center; }
    .ad-slot-header img { width: auto; max-height: 100px; margin: 0 auto; object-fit: contain; }
    .ad-slot-header iframe { margin: 0 auto; }
    .ad-slot-home { display: flex; box-sizing: border-box; width: 100%; min-width: 0; min-height: 72px; margin: 14px 0 0; overflow: hidden; align-items: center; justify-content: center; border-radius: 12px; text-align: center; }
    .ad-slot-home img { display: block; width: auto; min-width: 0; max-width: 100%; height: auto; max-height: none; margin: 0 auto; object-fit: contain; }
    .ad-slot-home iframe { max-width: 100%; margin: 0 auto; }
    .ad-slot-sidebar { width: 100%; border-radius: 12px; }
    .ad-slot-sidebar img { width: 100%; max-height: 520px; object-fit: contain; }
    .admin-menu { display: flex; width: min(1320px, calc(100% - 48px)); min-height: 64px; margin: 16px auto 12px; padding: 8px 11px 8px 17px; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #202e49; border-radius: 15px; background: linear-gradient(105deg, #17243d, #202b45); color: #fff; box-shadow: 0 8px 22px rgb(23 37 58 / 13%); }
    .admin-menu-heading { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
    .admin-menu-brand-icon { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgb(255 255 255 / 14%); border-radius: 12px; background: rgb(255 255 255 / 8%); color: #bcb5ff; font-size: 15px; font-weight: 850; }
    .admin-menu-heading > span:last-child { display: grid; gap: 1px; }
    .admin-menu-heading small { color: #abb8cd; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
    .admin-menu-heading strong { color: #fff; font-size: 13px; }
    .admin-menu-links { display: flex; align-items: center; gap: 5px; }
    .admin-menu-links a { display: inline-flex; min-height: 42px; padding: 0 14px; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 10px; color: #d5deed; font-size: 12px; font-weight: 700; transition: background .16s ease, color .16s ease, border-color .16s ease; }
    .admin-menu-links a svg { width: 17px; height: 17px; flex: 0 0 auto; }
    .admin-menu-links a:hover { background: rgb(255 255 255 / 8%); color: #fff; }
    .admin-menu-links a[aria-current="page"] { border-color: rgb(255 255 255 / 13%); background: #5b4be2; color: #fff; box-shadow: 0 4px 12px rgb(7 10 30 / 18%); }
    .admin-page-heading { margin-bottom: 18px; }
    .admin-page { margin-top: 0; padding-top: 0; }
    .ad-list, .ad-editor { width: 100%; max-width: none; padding: clamp(19px, 3vw, 30px); }
    .ad-list-heading, .ad-editor-heading { display: flex; margin-bottom: 18px; align-items: center; justify-content: space-between; gap: 16px; }
    .ad-list-heading h2, .ad-editor-heading h2 { margin: 0; color: var(--ink); font-size: 22px; letter-spacing: -.6px; }
    .ad-list-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
    .ad-list-heading .button-primary, .ad-form-actions .button-primary { min-height: 39px; margin: 0; white-space: nowrap; }
    .ad-editor-heading > a { color: var(--purple); font-size: 12px; font-weight: 700; }
    .ad-table-wrap { overflow-x: auto; }
    .ad-table { width: 100%; border-collapse: collapse; text-align: left; }
    .ad-table th { padding: 11px 10px; border-bottom: 1px solid var(--line); color: #65758a; font-size: 11px; font-weight: 750; }
    .ad-table td { padding: 13px 10px; border-bottom: 1px solid #edf0f4; color: #40536d; font-size: 12px; vertical-align: middle; }
    .ad-table td strong { color: var(--ink); }
    .ad-table-actions { display: flex; align-items: center; gap: 6px; }
    .ad-table-actions form { margin: 0; }
    .ad-table-actions .button-outline { min-height: 33px; padding: 0 9px; font-size: 11px; }
    .ad-delete-button { border-color: #f0d1cf; color: #a43c36; }
    .ad-status { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: #f3f5f8; color: #6b798b; font-size: 10px; font-weight: 700; }
    .ad-status.is-active { background: #e8f8f3; color: #087c66; }
    .ad-empty { padding: 15px; border: 1px dashed #d8e0ea; border-radius: 10px; color: var(--muted); text-align: center; }
    .ad-form { gap: 16px; }
    .ad-form-grid { display: grid; grid-template-columns: 1.15fr 1.4fr 1fr; gap: 13px; align-items: end; }
    .ad-form-grid .form-field input, .ad-form-grid .form-field select, .ad-content-panel .form-field input, .ad-content-panel .form-field textarea { min-height: 42px; padding: 9px 11px; }
    .ad-content-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
    .ad-content-panel[hidden] { display: none; }
    .ad-content-panel textarea { min-height: 190px !important; resize: vertical; font-family: Consolas, monospace !important; font-size: 12px !important; }
    .ad-content-panel .form-field:has(textarea) { grid-column: 1 / -1; }
    .ad-html-note { grid-column: 1 / -1; margin-top: -8px; color: var(--muted); font-size: 11px; }
    .ad-form-actions { display: flex; align-items: center; gap: 9px; }
    .ad-form-actions .button-outline { min-height: 39px; }
    @media (max-width: 520px) {
      .payment-summary { padding: 18px; }
      .payment-summary dl div { flex-direction: column; gap: 4px; }
      .payment-summary dd { text-align: left; }
      .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
      .admin-stat { min-height: 96px; padding: 13px; gap: 10px; }
      .admin-stat-icon { width: 40px; height: 40px; border-radius: 12px; font-size: 19px; }
      .admin-stat span { font-size: 11px; }
      .admin-stat strong { font-size: 24px; }
      .admin-welcome-card { align-items: flex-start; flex-direction: column; }
    }
    @media (max-width: 850px) {
      .category-admin-item { grid-template-columns: minmax(0, 1fr); }
      .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .admin-welcome-card { align-items: flex-start; flex-direction: column; }
      .category-admin-edit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .category-admin-actions { justify-content: flex-end; }
    }
    @media (max-width: 600px) {
      .category-admin-fields, .category-add-inline { grid-template-columns: minmax(0, 1fr) minmax(76px, .45fr); }
      .category-add-main > .button-primary { margin-left: 0; }
      .category-add-inline .category-checkbox { grid-column: 1; }
      .category-add-inline .button-outline { grid-column: 2; grid-row: 2; }
      .category-admin-edit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .category-admin-item.is-child { padding-left: 8px; }
      .category-tile-grid { grid-template-columns: 1fr; }
      .category-heading { min-height: 72px; padding: 10px 12px; gap: 10px; }
      .category-heading-icon { width: 42px; height: 42px; font-size: 21px; }
      .category-heading h1 { font-size: 21px; }
    }
    @media (max-width: 720px) {
      .ad-slot-header { width: calc(100% - 28px); }
      .admin-menu { width: calc(100% - 28px); margin: 12px auto 10px; padding: 10px; align-items: flex-start; flex-direction: column; gap: 9px; }
      .admin-page { margin-top: 0; padding-top: 0; }
      .admin-menu-links { width: 100%; flex-wrap: wrap; gap: 4px; }
      .admin-menu-links a { min-height: 38px; padding: 0 10px; gap: 7px; font-size: 11px; }
      .ad-list-heading, .ad-editor-heading { align-items: flex-start; flex-direction: column; }
      .ad-form-grid, .ad-content-panel { grid-template-columns: 1fr; }
      .ad-content-panel .form-field:has(textarea), .ad-html-note { grid-column: auto; }
      .ad-table thead { display: none; }
      .ad-table, .ad-table tbody, .ad-table tr, .ad-table td { display: block; width: 100%; }
      .ad-table tr { padding: 9px 0; border-bottom: 1px solid var(--line); }
      .ad-table td { display: flex; padding: 7px 0; align-items: center; justify-content: space-between; gap: 12px; border: 0; }
      .ad-table td::before { flex: 0 0 auto; color: #65758a; content: attr(data-label); font-size: 11px; font-weight: 700; }
      .ad-table td:last-child { align-items: flex-start; flex-direction: column; }
      .ad-table-actions { flex-wrap: wrap; }
    }
    @media (max-width: 720px) {
      .category-subnav { position: static; width: 100%; margin: 0 0 5px; padding: 2px 0 2px 49px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
      .category-page-layout .sidebar.open .category-subnav, .sidebar.open .category-subnav { display: grid; }
      .search-page-heading { align-items: stretch; flex-direction: column; gap: 14px; }
      .search-page-form { width: 100%; }
      .search-pagination { gap: 5px; }
      .search-pagination > a, .search-pagination > span { min-width: 31px; padding: 0 7px; font-size: 10px; }
      .search-page-numbers { gap: 2px; }
      .search-page-numbers a, .search-page-numbers > span { min-width: 29px; padding: 0 6px; font-size: 11px; }
    }

    /* Konto: szerokość listy zapisanych formularzy odpowiada szerokości headera. */
    .saved-forms-page { width: min(1320px, calc(100% - 48px)); margin-top: 28px; }
    .favorites-page { width: min(1320px, calc(100% - 48px)); }
    .favorites-page .content-card, .favorites-page .simple-list { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
    .saved-forms-page .account-page-heading, .account-home-page .account-page-heading { display: block; max-width: none; margin: 0 0 20px; text-align: left; }
    .saved-forms-page .account-page-heading h1, .account-home-page .account-page-heading h1 { font-size: clamp(30px, 4vw, 40px); }
    .saved-forms-card { width: 100%; max-width: none; margin: 0; padding: clamp(18px, 2.4vw, 30px); }
    .saved-forms-message { width: 100%; margin: 0 0 16px; }
    .saved-forms-card-head { display: flex; margin-bottom: 16px; align-items: center; justify-content: space-between; gap: 15px; }
    .saved-forms-card-head .eyebrow { margin: 0 0 4px; color: var(--purple); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
    .saved-forms-card-head h2 { margin: 0; font-size: 23px; }
    .saved-forms-count { padding: 6px 10px; border-radius: 999px; background: #f0efff; color: var(--purple-dark); font-size: 12px; font-weight: 750; white-space: nowrap; }
    .saved-forms-table-wrap { width: 100%; overflow-x: auto; }
    .saved-forms-table { width: 100%; border-collapse: collapse; text-align: left; }
    .saved-forms-table th { padding: 12px 13px; border-bottom: 1px solid var(--line); color: #687991; font-size: 11px; font-weight: 750; white-space: nowrap; }
    .saved-forms-table td { position: relative; padding: 14px 13px; border-bottom: 1px solid #edf0f4; color: #53647b; font-size: 13px; vertical-align: middle; }
    .saved-forms-table tbody tr:last-child td { border-bottom: 0; }
    .saved-form-title-cell { min-width: 225px; }
    .saved-form-edit, .saved-form-copy { position: relative; }
    .saved-form-edit > summary { display: grid; width: max-content; max-width: 100%; gap: 2px; color: var(--ink); font-size: 14px; font-weight: 750; cursor: pointer; list-style: none; }
    .saved-form-edit > summary::-webkit-details-marker, .saved-form-copy > summary::-webkit-details-marker { display: none; }
    .saved-title-edit-hint { color: var(--purple); font-size: 10px; font-weight: 650; }
    .saved-form-kind { display: inline-flex; align-items: center; gap: 8px; color: #40536d; }
    .saved-form-kind > span { font-size: 17px; }
    .saved-form-actions { display: flex; align-items: center; gap: 7px; }
    .saved-form-actions .button-outline { min-height: 35px; padding: 0 11px; font-size: 11px; }
    .saved-form-actions > form { display: flex; margin: 0; }
    .saved-form-delete { display: inline-grid; width: 35px; height: 35px; padding: 0; place-items: center; border: 1px solid #e34d4d; border-radius: 9px; background: #e34d4d; color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
    .saved-form-delete:hover { border-color: #c93434; background: #c93434; }
    .saved-form-copy > summary { list-style: none; }
    .saved-form-unavailable { color: #8a96a7; font-size: 11px; }
    .saved-form-inline-editor { position: static; display: grid; width: min(410px, 100%); margin-top: 9px; gap: 7px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 8px 22px rgb(26 47 75 / 9%); }
    .saved-form-inline-editor > label { color: #40536d; font-size: 11px; font-weight: 750; }
    .saved-form-inline-editor > div { display: flex; align-items: center; gap: 7px; }
    .saved-form-inline-editor input { width: 100%; min-width: 0; min-height: 37px; padding: 7px 9px; border: 1px solid #d5deea; border-radius: 8px; font-size: 12px; }
    .saved-form-inline-editor .button-primary { min-height: 37px; margin: 0; padding: 0 11px; border: 0; font-size: 11px; white-space: nowrap; cursor: pointer; }
    .saved-form-inline-editor small { color: var(--muted); font-size: 10px; }
    .saved-forms-footnote { margin: 15px 0 0; padding-top: 13px; border-top: 1px solid #edf0f4; color: var(--muted); font-size: 11px; }
    .saved-forms-empty { width: 100%; max-width: none; text-align: center; }
    .saved-forms-empty .saved-forms-message { width: 100%; margin-bottom: 16px; text-align: left; }
    .saved-forms-empty h2 { margin: 8px 0; }
    .saved-forms-empty p { color: var(--muted); }
    .saved-forms-empty-icon { display: grid; width: 52px; height: 52px; margin: auto; place-items: center; border-radius: 15px; background: #f0efff; color: var(--purple); font-size: 27px; }
    .account-home-page .account-card, .account-shortcut-card { width: 100%; max-width: none; margin: 0 0 16px; }
    .account-shortcut-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .account-shortcut-card h2 { margin: 0; }
    .account-shortcut-card p:not(.eyebrow) { margin: 5px 0 0; }
    .account-shortcut-card .eyebrow { margin: 0 0 4px; color: var(--purple); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
    @media (max-width: 720px) {
      .saved-forms-page { width: calc(100% - 28px); margin-top: 17px; }
      .favorites-page { width: calc(100% - 28px); }
      .saved-forms-card { padding: 17px 13px; }
      .saved-forms-table thead { display: none; }
      .saved-forms-table, .saved-forms-table tbody, .saved-forms-table tr, .saved-forms-table td { display: block; width: 100%; }
      .saved-forms-table tr { padding: 9px 0; border-bottom: 1px solid var(--line); }
      .saved-forms-table tr:last-child { border: 0; }
      .saved-forms-table td { display: flex; padding: 7px 0; align-items: center; justify-content: space-between; gap: 12px; border: 0; text-align: right; }
      .saved-forms-table td::before { flex: 0 0 auto; color: #687991; content: attr(data-label); font-size: 10px; font-weight: 750; }
      .saved-forms-table td:first-child { display: block; text-align: left; }
      .saved-forms-table td:first-child::before { display: none; }
      .saved-form-actions { justify-content: flex-end; flex-wrap: wrap; }
      .account-shortcut-card { align-items: flex-start; flex-direction: column; gap: 12px; }
    }
