/* Extraido de docs/ux/atlas_tributario_layout_final_mix.html (layout aprovado). */
:root {
      --bg: #f6f8fb;
      --surface: #ffffff;
      --surface-2: #eef3f8;
      --text: #172033;
      --muted: #5f6b7a;
      --soft: #d9e2ec;
      --line: #e4ebf2;
      --brand: #153b5c;
      --brand-2: #1f6f8b;
      --accent: #0f766e;
      --accent-2: #e7f8f5;
      --warning: #9a5b00;
      --warning-bg: #fff5dc;
      --radius: 18px;
      --radius-sm: 12px;
      --shadow: 0 14px 36px rgba(25, 39, 52, .08);
      --max: 1180px;
    }

    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
    }

    body {
      margin: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top left, rgba(31, 111, 139, .14), transparent 34rem),
        radial-gradient(circle at top right, rgba(15, 118, 110, .10), transparent 30rem),
        var(--bg);
      line-height: 1.55;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    a:hover { text-decoration: underline; }

    button,
    input,
    select {
      font: inherit;
    }

    .skip-link {
      position: absolute;
      left: -999px;
      top: 8px;
      padding: 10px 14px;
      border-radius: 999px;
      color: #fff;
      background: var(--brand);
      z-index: 20;
    }

    .skip-link:focus { left: 12px; }

    .wrap {
      width: min(var(--max), calc(100% - 32px));
      margin-inline: auto;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 10;
      background: rgba(246, 248, 251, .92);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(217, 226, 236, .9);
    }

    .topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      min-height: 74px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: max-content;
      font-weight: 800;
      letter-spacing: -.03em;
      color: var(--brand);
    }

    .brand-mark {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 13px;
      color: #fff;
      background:
        linear-gradient(135deg, var(--brand), var(--brand-2));
      box-shadow: 0 10px 22px rgba(21, 59, 92, .22);
      font-weight: 900;
      line-height: 1;
    }

    .brand-text {
      display: grid;
      line-height: 1.05;
    }

    .brand-text small {
      font-size: .76rem;
      color: var(--muted);
      font-weight: 650;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 6px;
      color: #243044;
      font-size: .95rem;
      font-weight: 650;
    }

    .nav a {
      padding: 10px 12px;
      border-radius: 999px;
    }

    .nav a:hover {
      text-decoration: none;
      background: var(--surface-2);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .header-search {
      display: flex;
      align-items: center;
      width: min(330px, 28vw);
      border: 1px solid var(--line);
      background: var(--surface);
      border-radius: 999px;
      overflow: hidden;
      box-shadow: 0 8px 18px rgba(25, 39, 52, .04);
    }

    .header-search input {
      width: 100%;
      min-width: 0;
      border: 0;
      outline: 0;
      padding: 11px 12px 11px 16px;
      background: transparent;
      color: var(--text);
    }

    .header-search button {
      border: 0;
      background: var(--brand);
      color: #fff;
      min-height: 40px;
      padding: 0 14px;
      cursor: pointer;
      font-weight: 750;
    }

    .menu-toggle {
      display: none;
    }

    details.mobile-menu {
      display: none;
    }

    .hero {
      padding: 72px 0 34px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
      gap: 30px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 8px 12px;
      border: 1px solid #cde7e2;
      border-radius: 999px;
      color: #0b5e57;
      background: rgba(231, 248, 245, .88);
      font-weight: 750;
      font-size: .92rem;
    }

    .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 5px rgba(15, 118, 110, .12);
    }

    h1 {
      max-width: 860px;
      margin: 20px 0 14px;
      font-size: clamp(2.2rem, 4.6vw, 4.9rem);
      line-height: .98;
      letter-spacing: -.065em;
      color: #0e1a2d;
    }

    .lead {
      max-width: 760px;
      margin: 0;
      color: var(--muted);
      font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    }

    .hero-search {
      margin-top: 30px;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
      max-width: 790px;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 24px;
      background: rgba(255, 255, 255, .96);
      box-shadow: var(--shadow);
    }

    .hero-search label {
      position: absolute;
      clip: rect(0 0 0 0);
      width: 1px;
      height: 1px;
      overflow: hidden;
      white-space: nowrap;
    }

    .hero-search input {
      min-height: 58px;
      border: 0;
      outline: 0;
      padding: 0 18px;
      border-radius: 16px;
      color: var(--text);
      background: #f7fafc;
      font-size: 1.05rem;
    }

    .hero-search button,
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 58px;
      padding: 0 22px;
      border: 0;
      border-radius: 16px;
      color: #fff;
      background: linear-gradient(135deg, var(--brand), var(--brand-2));
      box-shadow: 0 12px 24px rgba(21, 59, 92, .18);
      cursor: pointer;
      font-weight: 800;
    }

    .quick-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 16px;
      color: var(--muted);
      font-size: .94rem;
    }

    .quick-links a {
      padding: 6px 10px;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255, 255, 255, .72);
      color: #26364b;
      font-weight: 650;
    }

    .hero-panel {
      border: 1px solid var(--line);
      border-radius: calc(var(--radius) + 8px);
      background: rgba(255, 255, 255, .85);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .panel-head {
      padding: 20px 22px;
      border-bottom: 1px solid var(--line);
      background:
        linear-gradient(135deg, rgba(21, 59, 92, .08), rgba(15, 118, 110, .06));
    }

    .panel-head strong {
      display: block;
      font-size: 1.05rem;
    }

    .panel-head span {
      display: block;
      margin-top: 4px;
      color: var(--muted);
      font-size: .92rem;
    }

    .status-list {
      display: grid;
      gap: 0;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .status-list li {
      display: grid;
      grid-template-columns: 88px 1fr auto;
      gap: 12px;
      align-items: center;
      padding: 15px 18px;
      border-bottom: 1px solid var(--line);
    }

    .status-list li:last-child { border-bottom: 0; }

    .code-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 4px 10px;
      border-radius: 10px;
      color: var(--brand);
      background: var(--surface-2);
      font-weight: 850;
      font-variant-numeric: tabular-nums;
    }

    .status-list small {
      color: var(--muted);
    }

    .tag {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 4px 9px;
      border-radius: 999px;
      color: #0b5e57;
      background: var(--accent-2);
      font-size: .82rem;
      font-weight: 750;
      white-space: nowrap;
    }

    .section {
      padding: 42px 0;
    }

    .section-header {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 20px;
    }

    .section-header h2 {
      margin: 0;
      font-size: clamp(1.55rem, 2.4vw, 2.25rem);
      line-height: 1.1;
      letter-spacing: -.04em;
    }

    .section-header p {
      max-width: 640px;
      margin: 8px 0 0;
      color: var(--muted);
    }

    .view-all {
      color: var(--brand-2);
      font-weight: 800;
      white-space: nowrap;
    }

    .grid {
      display: grid;
      gap: 16px;
    }

    .grid.cards {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .card {
      position: relative;
      min-height: 190px;
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, .86);
      box-shadow: 0 10px 24px rgba(25, 39, 52, .05);
    }

    .card:hover {
      border-color: #c6d7e3;
      box-shadow: 0 16px 34px rgba(25, 39, 52, .09);
      text-decoration: none;
      transform: translateY(-1px);
    }

    .card-kicker {
      display: inline-flex;
      margin-bottom: 14px;
      padding: 6px 10px;
      border-radius: 999px;
      color: var(--brand);
      background: var(--surface-2);
      font-size: .8rem;
      font-weight: 850;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .card h3 {
      margin: 0 0 8px;
      font-size: 1.2rem;
      letter-spacing: -.025em;
    }

    .card p {
      margin: 0;
      color: var(--muted);
      font-size: .95rem;
    }

    .card .arrow {
      position: absolute;
      right: 18px;
      bottom: 16px;
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      background: #f4f7fa;
      color: var(--brand);
      font-weight: 900;
    }

    .two-col {
      display: grid;
      grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
      gap: 18px;
      align-items: start;
    }

    .feature-box {
      padding: 26px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--brand);
      color: #fff;
      overflow: hidden;
    }

    .feature-box h2 {
      margin: 0 0 10px;
      font-size: clamp(1.5rem, 2.4vw, 2.2rem);
      line-height: 1.1;
      letter-spacing: -.04em;
    }

    .feature-box p {
      margin: 0 0 18px;
      color: rgba(255,255,255,.78);
    }

    .feature-list {
      display: grid;
      gap: 10px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .feature-list li {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      padding: 12px;
      border-radius: 14px;
      background: rgba(255,255,255,.08);
    }

    .feature-list li::before {
      content: "✓";
      flex: 0 0 auto;
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      color: var(--brand);
      background: #fff;
      font-weight: 900;
      line-height: 1;
    }

    .search-cards {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .mini-card {
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      background: rgba(255,255,255,.9);
    }

    .mini-card h3 {
      margin: 0 0 8px;
      font-size: 1rem;
    }

    .mini-card p {
      margin: 0 0 12px;
      color: var(--muted);
      font-size: .92rem;
    }

    .mini-card a {
      color: var(--brand-2);
      font-weight: 800;
    }

    .table-wrap {
      overflow: auto;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      box-shadow: 0 10px 24px rgba(25, 39, 52, .05);
    }

    table {
      width: 100%;
      min-width: 780px;
      border-collapse: collapse;
      font-size: .95rem;
    }

    th,
    td {
      padding: 14px 16px;
      border-bottom: 1px solid var(--line);
      text-align: left;
      vertical-align: top;
    }

    th {
      color: #243044;
      background: #f8fbfd;
      font-size: .82rem;
      letter-spacing: .05em;
      text-transform: uppercase;
    }

    tr:last-child td { border-bottom: 0; }

    td strong {
      color: var(--brand);
    }

    .muted { color: var(--muted); }

    .notice {
      display: flex;
      gap: 14px;
      padding: 18px;
      border: 1px solid #f2dcab;
      border-radius: var(--radius);
      color: #5e3800;
      background: var(--warning-bg);
    }

    .notice strong {
      display: block;
      color: var(--warning);
    }

    .notice-icon {
      flex: 0 0 auto;
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      background: #ffe6aa;
      font-weight: 900;
    }

    .code-page-preview {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 330px;
      gap: 18px;
      align-items: start;
    }

    .result-card {
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      box-shadow: 0 10px 24px rgba(25, 39, 52, .05);
    }

    .breadcrumb {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 0 0 14px;
      color: var(--muted);
      font-size: .9rem;
    }

    .breadcrumb a { color: var(--brand-2); }

    .result-title {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 12px;
    }

    .result-title .big-code {
      display: inline-flex;
      align-items: center;
      min-height: 52px;
      padding: 0 16px;
      border-radius: 14px;
      color: #fff;
      background: var(--brand);
      font-size: 1.35rem;
      font-weight: 900;
      font-variant-numeric: tabular-nums;
    }

    .result-title h2 {
      margin: 0;
      font-size: clamp(1.35rem, 2vw, 2rem);
      line-height: 1.15;
      letter-spacing: -.035em;
    }

    .definition {
      padding: 18px;
      border-radius: 16px;
      color: #12302d;
      background: var(--accent-2);
      font-size: 1.04rem;
    }

    .meta-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-top: 16px;
    }

    .meta-item {
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #fbfdff;
    }

    .meta-item small {
      display: block;
      color: var(--muted);
      font-weight: 750;
    }

    .meta-item strong {
      display: block;
      margin-top: 4px;
      color: var(--text);
    }

    .side-card {
      padding: 20px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      box-shadow: 0 10px 24px rgba(25, 39, 52, .05);
    }

    .side-card h3 {
      margin: 0 0 12px;
    }

    .link-list {
      display: grid;
      gap: 10px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .link-list a {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px solid var(--line);
      color: var(--brand-2);
      font-weight: 750;
    }

    .link-list li:last-child a { border-bottom: 0; }

    .cta {
      margin: 42px 0 16px;
      padding: 30px;
      border: 1px solid #cde7e2;
      border-radius: calc(var(--radius) + 8px);
      background:
        linear-gradient(135deg, rgba(21, 59, 92, .97), rgba(15, 118, 110, .95));
      color: #fff;
      box-shadow: var(--shadow);
    }

    .cta-grid {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 18px;
      align-items: center;
    }

    .cta h2 {
      margin: 0 0 8px;
      font-size: clamp(1.5rem, 2.6vw, 2.4rem);
      letter-spacing: -.04em;
    }

    .cta p {
      margin: 0;
      color: rgba(255,255,255,.78);
    }

    .cta .btn {
      color: var(--brand);
      background: #fff;
      box-shadow: none;
    }

    .site-footer {
      margin-top: 60px;
      padding: 44px 0 34px;
      border-top: 1px solid var(--line);
      background: rgba(255,255,255,.65);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.3fr repeat(4, 1fr);
      gap: 24px;
    }

    .footer-grid h3 {
      margin: 0 0 12px;
      font-size: 1rem;
    }

    .footer-grid p,
    .footer-grid a {
      color: var(--muted);
      font-size: .94rem;
    }

    .footer-links {
      display: grid;
      gap: 8px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .subfooter {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 14px;
      margin-top: 28px;
      padding-top: 22px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: .88rem;
    }

    /* Paginas institucionais (texto longo) */
    .prose { max-width: 760px; }
    .prose h1 { margin: 0 0 10px; }
    .prose h2 { margin: 30px 0 8px; font-size: 1.18rem; }
    .prose p, .prose li { line-height: 1.7; }
    .prose ul { padding-left: 20px; display: grid; gap: 8px; }
    .prose .lead { margin-bottom: 18px; }
    .prose .table-wrap { margin: 16px 0; }

    /* Formulario de contato */
    .contato-form { max-width: 480px; display: grid; gap: 14px; margin: 18px 0 10px; }
    .cf-field { display: grid; gap: 6px; }
    .cf-field label { font-weight: 600; font-size: .92rem; }
    .cf-field input, .cf-field textarea {
      width: 100%; padding: 10px 12px; border: 1px solid var(--line);
      border-radius: 8px; font: inherit; background: #fff;
    }

    @media (max-width: 1060px) {
      .nav,
      .header-search {
        display: none;
      }

      details.mobile-menu {
        display: block;
        position: relative;
      }

      details.mobile-menu summary {
        list-style: none;
        cursor: pointer;
        padding: 10px 13px;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: #fff;
        font-weight: 800;
      }

      details.mobile-menu summary::-webkit-details-marker { display: none; }

      .mobile-menu-panel {
        position: absolute;
        right: 0;
        top: calc(100% + 10px);
        width: min(88vw, 340px);
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #fff;
        box-shadow: var(--shadow);
      }

      .mobile-menu-panel a {
        display: block;
        padding: 12px;
        border-radius: 12px;
        font-weight: 750;
      }

      .mobile-menu-panel a:hover {
        text-decoration: none;
        background: var(--surface-2);
      }

      .mobile-menu-panel form {
        display: grid;
        gap: 8px;
        margin-bottom: 8px;
      }

      .mobile-menu-panel input {
        width: 100%;
        min-height: 44px;
        padding: 0 12px;
        border: 1px solid var(--line);
        border-radius: 12px;
      }

      .mobile-menu-panel button {
        min-height: 44px;
        border: 0;
        border-radius: 12px;
        color: #fff;
        background: var(--brand);
        font-weight: 800;
      }

      .hero-grid,
      .two-col,
      .code-page-preview,
      .cta-grid {
        grid-template-columns: 1fr;
      }

      .grid.cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .hero {
        padding-top: 46px;
      }
    }

    @media (max-width: 690px) {
      .wrap {
        width: min(100% - 22px, var(--max));
      }

      .topbar {
        min-height: 66px;
      }

      .brand-mark {
        width: 38px;
        height: 38px;
      }

      .brand-text strong {
        font-size: .98rem;
      }

      .brand-text small {
        font-size: .66rem;
      }

      .hero-search {
        grid-template-columns: 1fr;
        border-radius: 20px;
      }

      .hero-search button {
        width: 100%;
      }

      .section-header {
        display: block;
      }

      .section-header .view-all {
        display: inline-block;
        margin-top: 12px;
      }

      .grid.cards,
      .search-cards,
      .meta-grid {
        grid-template-columns: 1fr;
      }

      .status-list li {
        grid-template-columns: 1fr;
        align-items: start;
      }

      .result-title {
        display: block;
      }

      .result-title .big-code {
        margin-bottom: 12px;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }
    }

    /* Hybrid overrides: original base + executive header + buscador hero */
    .topbar {
      display: block;
      min-height: 0;
      background: #0d2539;
      color: #dbe8f2;
      font-size: 13px;
    }

    .topbar .wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 8px 0;
      min-height: 0;
    }

    .topbar strong { color: #fff; font-weight: 700; }

    header {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(255,255,255,.92);
      backdrop-filter: saturate(140%) blur(10px);
      border-bottom: 1px solid var(--line);
    }

    .head {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 22px;
      padding: 14px 0;
    }

    .head .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: max-content;
      color: var(--brand);
      letter-spacing: 0;
    }

    .mark {
      width: 42px;
      height: 42px;
      border-radius: 13px;
      background: linear-gradient(135deg, var(--brand), var(--brand-2));
      display: grid;
      place-items: center;
      color: #fff;
      font-weight: 900;
      letter-spacing: -.05em;
      box-shadow: 0 10px 20px rgba(18,50,77,.2);
    }

    .brand-title {
      display: block;
      font-size: 18px;
      font-weight: 850;
      line-height: 1;
      color: var(--brand);
      letter-spacing: -.03em;
    }

    .brand-sub {
      display: block;
      color: var(--muted);
      font-size: 12px;
      margin-top: 4px;
    }

    header nav {
      display: flex;
      gap: 4px;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      color: #344154;
      font-size: 14px;
      font-weight: 500;
    }

    header nav a {
      font-size: 14px;
      color: #344154;
      padding: 9px 10px;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 500;
    }

    header nav a:hover {
      background: var(--surface-2);
      text-decoration: none;
      color: var(--brand);
    }

    .head-search {
      display: flex;
      align-items: center;
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 999px;
      padding: 4px;
      box-shadow: 0 4px 18px rgba(17,40,64,.05);
      min-width: 270px;
    }

    .head-search input {
      border: 0;
      outline: 0;
      width: 100%;
      padding: 8px 10px;
      color: var(--text);
      background: transparent;
    }

    .head-search button {
      border: 0;
      background: var(--brand);
      color: #fff;
      border-radius: 999px;
      padding: 8px 14px;
      font-weight: 800;
      cursor: pointer;
    }

    details.mobile-menu { display: none; }

    .hero {
      padding: 44px 0 24px;
      background:
        radial-gradient(circle at 20% 0, #dbeafe 0, rgba(219,234,254,0) 34%),
        radial-gradient(circle at 90% 10%, #d1fae5 0, rgba(209,250,229,0) 28%);
    }

    .hero h1 {
      text-align: center;
      max-width: 900px;
      margin: 0 auto 14px;
      font-size: clamp(36px,6vw,64px);
      line-height: 1;
      letter-spacing: -.06em;
      color: #111827;
    }

    .hero p {
      text-align: center;
      max-width: 760px;
      margin: 0 auto 28px;
      color: #475467;
      font-size: 19px;
    }

    .searchbox {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 24px;
      box-shadow: var(--shadow);
      max-width: 920px;
      margin: 0 auto;
      padding: 12px;
    }

    .searchrow {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
    }

    .searchrow input {
      border: 0;
      outline: 0;
      background: #f8fafc;
      border-radius: 16px;
      padding: 18px;
      font-size: 19px;
      color: var(--text);
      min-width: 0;
    }

    .searchrow button {
      border: 0;
      background: #1d4ed8;
      color: #fff;
      border-radius: 16px;
      padding: 0 24px;
      font-weight: 900;
      font-size: 16px;
      cursor: pointer;
    }

    .filters {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 10px;
    }

    .filters a {
      font-size: 13px;
      padding: 7px 10px;
      border-radius: 999px;
      background: #f8fafc;
      border: 1px solid var(--line);
      color: #344054;
      text-decoration: none;
    }

    .filters a:hover { background: var(--surface-2); }
    .filters a strong { color: #0f172a; }

    .quick {
      display: grid;
      grid-template-columns: repeat(6,1fr);
      gap: 10px;
      margin-top: 20px;
    }

    .quick a {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 14px;
      text-align: center;
      box-shadow: 0 6px 18px rgba(15,23,42,.04);
      text-decoration: none;
    }

    .quick a:hover { background: #fbfdff; }
    .quick b { display: block; font-size: 18px; letter-spacing: -.02em; }
    .quick span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

    @media (max-width: 1000px) {
      .head { grid-template-columns: 1fr auto; }
      .head-search,
      header nav { display: none; }
      details.mobile-menu { display: block; }
      details.mobile-menu summary {
        list-style: none;
        cursor: pointer;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 8px 12px;
        font-weight: 800;
        color: var(--brand);
      }
      details.mobile-menu summary::-webkit-details-marker { display: none; }
      details.mobile-menu[open] .mobile-panel {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 76px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 14px;
        box-shadow: var(--shadow);
      }
      .mobile-panel a {
        display: block;
        padding: 10px;
        border-radius: 10px;
      }
      .mobile-panel a:hover { background: var(--surface-2); text-decoration: none; }
      .mobile-panel form {
        margin-top: 10px;
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 8px;
      }
      .mobile-panel input {
        width: 100%;
        border: 0;
        outline: 0;
        padding: 8px;
      }
      .quick { grid-template-columns: repeat(3, 1fr); }
    }

    @media (max-width: 680px) {
      .topbar .wrap { display: block; }
      .topbar .wrap span:last-child { display: none; }
      .searchrow { grid-template-columns: 1fr; }
      .searchrow button { padding: 14px; }
      .quick { grid-template-columns: repeat(2, 1fr); }
      .hero p { font-size: 17px; }
    }
