/* Public portal only. The administrator stylesheet and persisted content stay unchanged. */
:root:has(body.portal-theme) {
  color-scheme: dark;
  --ink: #f4f5f7;
  --muted: #a4a8b1;
  --line: #ffffff1c;
  --surface: #0c0e12;
  --white: #171a20;
  --radius: 8px;
  --cyan: #74ddeb;
  --blue: #4285f4;
  --mint: #75d8b4;
  --amber: #e8be76;
  --highlight: color-mix(in srgb, var(--accent) 38%, white);
  background: var(--surface);
  color: var(--ink);
}
.portal-theme { background: var(--surface); color: var(--ink); }
.portal-theme ::selection { background: #4285f45c; color: #fff; }
.portal-theme :focus-visible { outline-color: var(--cyan); }
.portal-theme .container { width: min(1200px, calc(100% - 64px)); }
.portal-theme .site-header { background: #0c0e12f2; border-bottom-color: var(--line); backdrop-filter: blur(14px); }
.portal-theme .header-inner { width: min(1280px, calc(100% - 64px)); min-height: 76px; gap: 32px; }
.portal-theme .brand { max-width: 300px; }
.portal-theme .brand-mark { width: 38px; height: 38px; flex-basis: 38px; border-radius: 8px; background: var(--accent); box-shadow: 0 4px 18px #0003; }
.portal-theme .brand-copy strong { color: #fff; font-size: 20px; font-weight: 750; }
.portal-theme .brand-copy small { color: var(--cyan); font-size: 9px; }
.portal-theme #main-nav { align-items: center; gap: 5px; }
.portal-theme #main-nav a { min-height: 38px; padding: 9px 13px; font-size: 13px; font-weight: 500; border-radius: 6px; color: #c0c3cb; }
.portal-theme #main-nav a:hover { background: #ffffff09; color: #fff; }
.portal-theme #main-nav a.active { background: #74ddeb0d; color: var(--cyan); }
.portal-theme #main-nav a.active::after { bottom: -12px; left: 13px; right: 13px; height: 1px; background: var(--cyan); }
.portal-theme .icon-button { color: var(--muted); }
.portal-theme .icon-button:hover { color: #fff; background: #ffffff0d; }
.portal-theme .button { min-height: 44px; padding: 11px 18px; border-radius: 6px; transition: background .18s, border-color .18s, transform .18s; }
.portal-theme .primary { color: #fff; background: var(--accent); border-color: #ffffff15; }
.portal-theme .primary:hover { filter: brightness(1.15); transform: translateY(-1px); }
.portal-theme .secondary, .portal-theme .light-outline { background: #ffffff05; color: #e1e4eb; border-color: #ffffff26; }
.portal-theme .secondary:hover, .portal-theme .light-outline:hover { color: #fff; border-color: var(--cyan); background: #ffffff0a; }
.portal-theme .text-action { color: var(--cyan); font-weight: 500; font-size: 13px; }
.portal-theme .text-action:hover { color: #fff; }
.portal-theme .eyebrow { display: inline-flex; gap: 8px; align-items: center; color: var(--cyan); font-size: 11px; font-weight: 600; }
.portal-theme .eyebrow .icon { width: 15px; height: 15px; }
.portal-theme .hero { background: #111519; color: #fff; min-height: 480px; }
.portal-theme .hero-photo { object-position: center 58%; }
.portal-theme .hero::after { background: #080c12bb; }
.portal-theme .hero-inner { min-height: 480px; padding-block: 68px 70px; }
.portal-theme .hero-content { max-width: 800px; }
.portal-theme .hero .eyebrow { color: var(--cyan); margin-bottom: 22px; }
.portal-theme .hero h1 { font-size: 64px; font-weight: 800; line-height: 1.18; margin-bottom: 23px; text-wrap: balance; }
.portal-theme .hero p { font-size: 18px; line-height: 1.85; color: #d4d8dd; margin-bottom: 30px; }
.portal-theme .hero .primary { background: var(--accent); color: #fff; }
.portal-theme .hero .button { min-height: 48px; font-size: 14px; padding: 12px 23px; }
.portal-theme .hero .hero-promise { display: flex; align-items: center; gap: 10px; border-top: 1px solid #ffffff26; padding-top: 19px; margin: 28px 0 0; color: #c0c9cc; font-size: 12px; max-width: 640px; }
.portal-theme .hero-promise .icon { color: var(--mint); width: 16px; height: 16px; }
.portal-theme .hero-caption { bottom: 18px; color: #c6d1d5; font-size: 11px; }
.portal-theme .stats-band { background: #101317; border-bottom-color: var(--line); }
.portal-theme .stats { gap: 52px; min-height: 116px; padding-block: 25px; }
.portal-theme .stats > div { gap: 16px; min-width: 0; }
.portal-theme .stats > div > .icon { color: var(--cyan); width: 25px; height: 25px; }
.portal-theme .stats > div:nth-child(2) > .icon { color: var(--amber); }
.portal-theme .stats > div:nth-child(3) > .icon { color: var(--mint); }
.portal-theme .stats > div > div { display: flex; flex-direction: column; gap: 6px; }
.portal-theme .stats strong { font-size: 28px; font-weight: 750; color: #f1f5f5; }
.portal-theme .stats span { font-size: 12px; color: var(--muted); }
.portal-theme .stats > p { max-width: 220px; font-size: 12px; color: #a4a8b1; }
.portal-theme .home-section { padding-block: 72px 56px; }
.portal-theme .section-heading { display: flex; flex-direction: column; align-items: center; gap: 17px; text-align: center; margin-bottom: 34px; }
.portal-theme .section-heading h2 { font-size: 30px; font-weight: 750; margin-top: 13px; }
.portal-theme .section-heading p { max-width: 680px; margin: 13px auto 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.portal-theme .section-heading .eyebrow { border: 1px solid #74ddeb30; background: #74ddeb08; padding: 4px 12px; border-radius: 6px; }
.portal-theme .service-grid { gap: 16px; }
.portal-theme .service-item { background: #15181e; border-color: var(--line); padding: 24px 20px; transition: transform .2s, border-color .2s; }
.portal-theme .service-item:hover { border-color: #74ddeb70; transform: translateY(-4px); }
.portal-theme .service-top { margin-bottom: 24px; }
.portal-theme .service-icon { width: 44px; height: 44px; border-radius: 8px; }
.portal-theme .tone-0 { color: var(--cyan); background: #74ddeb12; }
.portal-theme .tone-1 { color: var(--amber); background: #e8be7612; }
.portal-theme .tone-2 { color: #97baff; background: #4285f41c; }
.portal-theme .tone-3 { color: var(--mint); background: #75d8b412; }
.portal-theme .index { color: #747982; font-size: 11px; }
.portal-theme .service-item h3 { color: #f4f5f7; font-size: 16px; }
.portal-theme .service-item p { color: var(--muted); font-size: 12px; margin-bottom: 20px; }
.portal-theme .service-item .text-action { font-size: 12px; }
.portal-theme .home-recommended, .portal-theme .home-recommended:nth-child(2n) { background: none; padding-block: 56px 64px; }
.portal-theme .home-recommended + .home-recommended { border-top: 1px solid #ffffff0a; }
.portal-theme .catalog { min-height: calc(100vh - 360px); padding-block: 60px 80px; }
.portal-theme .page-heading { justify-content: center; text-align: center; margin-bottom: 36px; }
.portal-theme .page-heading > div { max-width: 820px; }
.portal-theme .page-heading .eyebrow { padding: 5px 13px; border: 1px solid #74ddeb30; background: #74ddeb08; border-radius: 6px; }
.portal-theme .page-heading h1 { color: #fff; font-size: 42px; font-weight: 800; margin: 19px 0 16px; text-wrap: balance; }
.portal-theme .page-heading p { font-size: 15px; color: var(--muted); line-height: 1.9; }
.portal-theme .related-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 24px; margin: 0 auto 30px; }
.portal-theme .related-nav a { padding: 9px 20px; border-radius: 6px; color: var(--muted); font-size: 13px; }
.portal-theme .related-nav a:hover { color: #fff; background: #ffffff08; }
.portal-theme .related-nav a.active { color: var(--cyan); background: #74ddeb10; box-shadow: inset 0 0 0 1px #74ddeb30; }
.portal-theme .catalog-toolbar { padding-block: 0 24px; }
.portal-theme .search { height: 46px; background: #171a20; border-color: #ffffff26; border-radius: 6px; width: min(440px, 100%); }
.portal-theme .search:focus-within { border-color: var(--cyan); }
.portal-theme .search input { color: #f4f5f7; font-size: 13px; }
.portal-theme .search input::placeholder { color: #8a909a; }
.portal-theme .sort { font-size: 12px; }
.portal-theme .sort select { background: #171a20; color: #c5cad2; padding: 9px; border: 1px solid var(--line); border-radius: 6px; }
.portal-theme .category-tabs { gap: 8px; padding: 0 0 24px; }
.portal-theme .page-check .category-tabs button { max-width: 100%; overflow-wrap: anywhere; }
.portal-theme .category-tabs button, .portal-theme .subcategories button { color: #b7bbc4; border: 1px solid transparent; font-size: 13px; padding: 8px 16px; border-radius: 6px; }
.portal-theme .category-tabs button:hover, .portal-theme .subcategories button:hover { background: #ffffff0b; color: #fff; }
.portal-theme .category-tabs .selected, .portal-theme .category-tabs .selected:hover,
.portal-theme .subcategories .selected { color: var(--cyan); background: #74ddeb10; border-color: #74ddeb40; }
.portal-theme .subcategories { gap: 7px; padding: 16px 0; }
.portal-theme .subcategories button { padding: 5px 12px; font-size: 12px; }
.portal-theme .results-heading { padding-block: 24px 19px; }
.portal-theme .results-heading .eyebrow { color: #8c939f; }
.portal-theme .expert-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 28px; padding: 10px 0 32px; border-bottom: 1px solid var(--line); }
.portal-theme .expert-categories button { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 120px; padding: 0; }
.portal-theme .category-symbol { display: grid; place-items: center; width: 80px; height: 80px; border: 1px solid #ffffff29; border-radius: 50%; color: #b7c0cf; background: #171a20; transition: border-color .2s, background .2s; }
.portal-theme .category-symbol .icon { width: 28px; height: 28px; }
.portal-theme .expert-categories button:hover .category-symbol { color: #fff; border-color: var(--cyan); }
.portal-theme .expert-categories .selected .category-symbol { color: var(--cyan); border-color: #74ddeb88; background: #74ddeb10; }
.portal-theme .category-label { color: #b2b7c1; font-size: 13px; text-align: center; overflow-wrap: anywhere; }
.portal-theme .category-label small { color: #929baa; font-size: 11px; padding-left: 6px; }
.portal-theme .expert-categories .selected .category-label { color: #fff; }
.portal-theme .product-grid, .portal-theme .tools-grid, .portal-theme .knowledge-grid,
.portal-theme .experts-grid, .portal-theme .downloads-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.portal-theme .product-card, .portal-theme .tool-card, .portal-theme .article-card,
.portal-theme .expert-card, .portal-theme .download-card {
  border-color: #ffffff1e; background: #16191f; border-radius: 8px;
  box-shadow: 0 8px 24px #00000014, inset 0 1px #ffffff04;
  transition: transform .2s, border-color .2s;
}
.portal-theme .product-card:hover, .portal-theme .tool-card:hover, .portal-theme .article-card:hover,
.portal-theme .expert-card:hover, .portal-theme .download-card:hover { transform: translateY(-3px); border-color: #74ddeb55; }
.portal-theme .product-card { padding: 0; overflow: hidden; }
.portal-theme .product-banner { min-height: 108px; padding: 20px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #234d7c; border-bottom: 1px solid #ffffff12; }
.portal-theme .product-banner.teal { background: #175d68; }
.portal-theme .product-banner.coral { background: #56414c; }
.portal-theme .product-banner.gold { background: #56503c; }
.portal-theme .product-banner.blue { background: #234d7c; }
.portal-theme .product-banner > .icon { width: 44px; height: 44px; color: #ffffff35; }
.portal-theme .product-logo { background: #ffffff0d; width: 64px; height: 64px; border-radius: 8px; border: 1px solid #ffffff30; font-size: 25px; }
.portal-theme .product-logo:has(img) { width: min(200px, 75%); background: #fff; padding: 8px; }
.portal-theme .product-logo img { object-fit: contain; }
.portal-theme .product-content { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 24px; }
.portal-theme .tag { color: var(--cyan); font-size: 11px; }
.portal-theme .product-content > .tag { margin-bottom: 9px; overflow-wrap: anywhere; }
.portal-theme .product-content h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.portal-theme .product-content > p { font-size: 13px; line-height: 1.85; color: var(--muted); margin-bottom: 24px; }
.portal-theme .product-pricing { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: auto; padding-bottom: 21px; }
.portal-theme .price { font-size: 25px; font-weight: 700; color: var(--cyan); }
.portal-theme .price small { font-size: 11px; color: #9ca5b1; line-height: 1.5; }
.portal-theme .product-note { max-width: 150px; color: #9ca5b1; font-size: 11px; margin: 0; }
.portal-theme .product-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.portal-theme .product-actions > * { flex: 1 1 115px; min-width: 0; font-size: 12px; margin: 0; padding: 10px 12px; }
.portal-theme .product-actions .icon { flex-shrink: 0; }
.portal-theme .tool-card { padding: 0; overflow: hidden; }
.portal-theme .tool-banner { position: relative; min-height: 108px; padding: 20px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; overflow: hidden; background: #234d7c; border-bottom: 1px solid #ffffff12; }
.portal-theme .tool-card:nth-child(2n) .tool-banner { background: #175d68; }
.portal-theme .tool-card:nth-child(3n) .tool-banner { background: #56414c; }
.portal-theme .tool-card:nth-child(4n) .tool-banner { background: #56503c; }
.portal-theme .tool-banner::after { content: ""; position: absolute; inset: 0; background: #080c1226; pointer-events: none; }
.portal-theme .tool-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.portal-theme .tool-banner > .icon:last-child { position: relative; z-index: 1; width: 44px; height: 44px; margin-left: auto; color: #ffffff35; }
.portal-theme .tool-symbol { position: relative; z-index: 1; color: #fff; background: #ffffff12; width: 64px; height: 64px; margin: 0; border: 1px solid #ffffff30; border-radius: 8px; }
.portal-theme .tool-symbol .icon { width: 29px; height: 29px; }
.portal-theme .tool-content { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 24px; }
.portal-theme .tool-meta small { color: #9ca5b1; }
.portal-theme .tool-card h3, .portal-theme .article-card h3 { font-size: 18px; line-height: 1.6; }
.portal-theme .tool-content > p, .portal-theme .article-card > p { font-size: 13px; line-height: 1.85; color: var(--muted); }
.portal-theme .tool-actions { margin-top: auto; padding-top: 22px; }
.portal-theme .tool-actions .button { width: 100%; justify-content: center; font-size: 12px; }
.portal-theme .tool-cover, .portal-theme .article-cover { background: #22272e; height: auto; aspect-ratio: 16 / 9; }
.portal-theme .article-index { color: var(--cyan); margin-bottom: 24px; }
.portal-theme .article-index span { font-size: 23px; font-weight: 500; }
.portal-theme .article-meta { color: #9ca5b1; line-height: 1.7; }
.portal-theme .download-card { padding: 24px; display: flex; flex-direction: column; gap: 0; }
.portal-theme .download-symbol { display: grid; place-items: center; width: 44px; height: 44px; color: var(--cyan); background: #74ddeb12; border: 1px solid #74ddeb22; border-radius: 8px; margin-bottom: 20px; }
.portal-theme .download-card:nth-child(3n + 2) .download-symbol { color: var(--amber); background: #e8be7610; border-color: #e8be7626; }
.portal-theme .download-card:nth-child(3n) .download-symbol { color: var(--mint); background: #75d8b40f; border-color: #75d8b426; }
.portal-theme .download-preview { height: auto; min-height: 0; aspect-ratio: 16 / 9; width: 100%; margin-bottom: 22px; background: #22272e; }
.portal-theme .download-preview > img { object-fit: contain; }
.portal-theme .download-content { flex: 1; }
.portal-theme .download-card .card-top { align-items: flex-start; margin-bottom: 12px; gap: 8px; }
.portal-theme .download-card .card-top small { color: #9ca5b1; font-size: 11px; }
.portal-theme .download-card h3 { font-size: 17px; line-height: 1.65; margin-bottom: 11px; }
.portal-theme .download-card p { color: var(--muted); line-height: 1.85; font-size: 13px; margin-bottom: 22px; }
.portal-theme .download-card .card-bottom { padding-top: 18px; }
.portal-theme .download-card .button { font-size: 12px; padding: 8px 12px; min-height: 38px; }
.portal-theme .download-card .price { font-size: 23px; }
.portal-theme .expert-avatar { border-radius: 8px; width: 58px; height: 58px; color: var(--cyan); background: #74ddeb13; border: 1px solid #74ddeb2e; }
.portal-theme .expert-top { align-items: flex-start; }
.portal-theme .expert-top > div { min-width: 0; }
.portal-theme .expert-top > .icon { color: var(--mint); flex-shrink: 0; }
.portal-theme .expert-top h3 { font-size: 19px; }
.portal-theme .expert-top p { color: #b0b8c3; font-size: 12px; }
.portal-theme .expert-tags .tag { padding: 3px 8px; border: 1px solid #74ddeb26; background: #74ddeb09; border-radius: 4px; }
.portal-theme .expert-description { color: var(--muted); font-size: 13px; line-height: 1.85; }
.portal-theme .expert-services { color: #c3c8d1; line-height: 1.8; }
.portal-theme .expert-services .icon { color: var(--cyan); }
.portal-theme .expert-card > small { color: #9ca5b1; }
.portal-theme .expert-card > .button { margin-top: 0; }
.portal-theme .empty-state > .icon { color: #859fb0; }
.portal-theme .empty-state h3 { color: var(--muted); }
.portal-theme .site-footer { background: #0a0c0f; border-top-color: var(--line); margin-top: 24px; }
.portal-theme .footer-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); align-items: flex-start; gap: 52px; padding-block: 48px 42px; }
.portal-theme .footer-brand p { max-width: 350px; color: var(--muted); font-size: 12px; line-height: 1.9; margin-top: 16px; }
.portal-theme .footer-brand p + p { margin-top: 7px; color: #929aa5; }
.portal-theme .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 22px; font-size: 13px; color: #b5bdc8; }
.portal-theme .footer-nav a:hover { color: var(--cyan); }
.portal-theme .footer-contact { font-size: 13px; color: #b5bdc8; gap: 18px; }
.portal-theme .footer-contact a { overflow-wrap: anywhere; min-width: 0; }
.portal-theme .footer-contact .icon { color: var(--cyan); flex-shrink: 0; }
.portal-theme .copyright { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding-block: 22px; color: #9098a4; font-size: 11px; text-align: center; }
.portal-theme dialog { color-scheme: dark; color: var(--ink); background: #171a20; border: 1px solid #ffffff29; box-shadow: 0 28px 100px #0007; border-radius: 8px; }
.portal-theme dialog::backdrop { background: #06090dc9; backdrop-filter: blur(6px); }
.portal-theme .dialog-heading { background: #171a20; border-bottom-color: var(--line); }
.portal-theme .dialog-heading h2 { font-size: 19px; }
.portal-theme .material-overview { background: #ffffff04; }
.portal-theme .material-meta .price { color: var(--cyan); }
.portal-theme .material-intro p, .portal-theme .qr-description p { color: #b7bdc8; }
.portal-theme .channel-tabs button { border-color: #ffffff26; background: #ffffff04; color: #c9cdd5; }
.portal-theme .channel-tabs button.selected { border-color: var(--cyan); color: var(--cyan); background: #74ddeb0d; }
.portal-theme .qr-image { background: #fff; color-scheme: light; border: 8px solid #fff; padding: 0; border-radius: 4px; }
.portal-theme .qr-image img { background: #fff; object-fit: contain; }
.portal-theme .qr-description .remark { color: var(--amber); }
.portal-theme .contact-note { color: #aab3c0; }
.portal-theme .contact-note a { color: var(--cyan); }
.portal-theme .qr-empty { background: #ffffff05; color: var(--muted); border: 1px dashed #ffffff26; border-radius: 6px; }
.portal-theme .qr-empty > .icon { color: var(--cyan); flex-shrink: 0; }
.portal-theme .article-body > p { color: #cbd0d8; }
.portal-theme #toast { background: #e1f5f5; color: #142b2e; box-shadow: 0 8px 40px #0005; }
@media (min-width: 1600px) {
  .portal-theme .hero, .portal-theme .hero-inner { min-height: 500px; }
}
@media (max-width: 1100px) {
  .portal-theme .header-inner { gap: 20px; }
  .portal-theme .brand { max-width: 240px; }
  .portal-theme #main-nav a { padding-inline: 9px; font-size: 12px; }
  .portal-theme .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portal-theme .product-grid, .portal-theme .tools-grid, .portal-theme .knowledge-grid,
  .portal-theme .experts-grid, .portal-theme .downloads-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .portal-theme .stats { gap: 42px; }
  .portal-theme .hero h1 { font-size: 56px; }
  .portal-theme .footer-inner { gap: 28px; }
  .portal-theme .expert-categories { gap: 22px 16px; }
}
@media (max-width: 820px) {
  .portal-theme .container, .portal-theme .header-inner { width: calc(100% - 40px); }
  .portal-theme .header-inner { min-height: 68px; }
  .portal-theme .brand { max-width: calc(100% - 56px); }
  .portal-theme #main-nav { top: 100%; padding: 12px 20px 20px; background: #101318; border-color: var(--line); box-shadow: 0 16px 24px #0004; }
  .portal-theme #main-nav.open { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .portal-theme #main-nav a { padding: 12px 8px; }
  .portal-theme #main-nav a.active::after { display: none; }
  .portal-theme .menu-button { border: 1px solid var(--line); border-radius: 6px; }
  .portal-theme .hero, .portal-theme .hero-inner { min-height: 460px; }
  .portal-theme .hero-inner { padding-block: 54px 58px; }
  .portal-theme .hero h1 { font-size: 48px; }
  .portal-theme .hero-content { max-width: 650px; }
  .portal-theme .hero p { font-size: 17px; }
  .portal-theme .hero-photo { object-position: 62% center; }
  .portal-theme .hero-caption { left: 0; right: auto; }
  .portal-theme .stats { justify-content: space-between; gap: 20px; }
  .portal-theme .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-theme .footer-brand { grid-column: 1 / -1; }
  .portal-theme .footer-brand p { max-width: none; }
  .portal-theme .expert-categories { gap: 22px 10px; }
  .portal-theme .expert-categories button { width: 100px; }
}
@media (max-width: 540px) {
  .portal-theme .container, .portal-theme .header-inner { width: calc(100% - 32px); }
  .portal-theme .brand-copy strong { font-size: 18px; }
  .portal-theme .brand-copy small { font-size: 8px; }
  .portal-theme .brand-mark { width: 34px; height: 34px; flex-basis: 34px; font-size: 19px; }
  .portal-theme .hero, .portal-theme .hero-inner { min-height: 410px; }
  .portal-theme .hero-inner { padding-block: 42px 54px; }
  .portal-theme .hero h1 { font-size: 38px; line-height: 1.28; margin-bottom: 19px; }
  .portal-theme .hero .eyebrow { font-size: 9px; margin-bottom: 17px; }
  .portal-theme .hero p { font-size: 15px; margin-bottom: 25px; }
  .portal-theme .hero .button { font-size: 12px; min-height: 44px; padding: 11px 14px; }
  .portal-theme .hero .hero-promise { font-size: 11px; margin-top: 22px; margin-bottom: 0; padding-top: 16px; }
  .portal-theme .hero-caption { font-size: 9px; bottom: 15px; }
  .portal-theme .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; min-height: 104px; padding-block: 21px; }
  .portal-theme .stats > div { flex-direction: row; gap: 8px; align-items: center; }
  .portal-theme .stats > div > .icon { width: 19px; height: 19px; }
  .portal-theme .stats strong { font-size: 22px; }
  .portal-theme .stats span { font-size: 10px; line-height: 1.6; }
  .portal-theme .home-section { padding-block: 46px 28px; }
  .portal-theme .section-heading { gap: 16px; margin-bottom: 26px; }
  .portal-theme .section-heading h2 { font-size: 25px; line-height: 1.5; }
  .portal-theme .section-heading p { font-size: 13px; }
  .portal-theme .section-heading .eyebrow { font-size: 9px; padding: 4px 10px; }
  .portal-theme .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .portal-theme .service-item { padding: 20px 15px; }
  .portal-theme .service-item:last-child { grid-column: auto; }
  .portal-theme .service-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .portal-theme .service-icon { width: 39px; height: 39px; }
  .portal-theme .service-item h3 { font-size: 15px; }
  .portal-theme .service-item p { font-size: 12px; }
  .portal-theme .service-item .text-action { font-size: 11px; }
  .portal-theme .home-recommended, .portal-theme .home-recommended:nth-child(2n) { padding-block: 36px 44px; }
  .portal-theme .product-grid, .portal-theme .tools-grid, .portal-theme .knowledge-grid,
  .portal-theme .experts-grid, .portal-theme .downloads-grid { grid-template-columns: 1fr; gap: 16px; }
  .portal-theme .catalog { padding-block: 38px 52px; }
  .portal-theme .page-heading { margin-bottom: 28px; }
  .portal-theme .page-heading h1 { font-size: 32px; margin: 16px 0 12px; }
  .portal-theme .page-heading p { font-size: 13px; }
  .portal-theme .related-nav { gap: 4px; padding-bottom: 21px; margin-bottom: 24px; }
  .portal-theme .related-nav a { padding: 9px 12px; font-size: 12px; }
  .portal-theme .catalog-toolbar { padding-bottom: 18px; gap: 12px; }
  .portal-theme .search { width: 100%; }
  .portal-theme .category-tabs { gap: 7px; padding-bottom: 20px; }
  .portal-theme .category-tabs button { font-size: 12px; padding: 7px 12px; }
  .portal-theme .subcategories { gap: 5px; }
  .portal-theme .subcategories button { padding: 5px 9px; font-size: 11px; }
  .portal-theme .expert-categories { gap: 20px 4px; padding-block: 6px 26px; }
  .portal-theme .expert-categories button { width: calc((100% - 8px) / 3); }
  .portal-theme .category-symbol { width: 66px; height: 66px; }
  .portal-theme .category-symbol .icon { width: 24px; height: 24px; }
  .portal-theme .category-label { font-size: 12px; }
  .portal-theme .product-content, .portal-theme .tool-content, .portal-theme .article-card,
  .portal-theme .expert-card, .portal-theme .download-card { padding: 22px; }
  .portal-theme .product-banner, .portal-theme .tool-banner { min-height: 98px; padding: 18px 22px; }
  .portal-theme .download-preview { min-height: 0; }
  .portal-theme .footer-inner { grid-template-columns: 1fr; padding-block: 32px; gap: 30px; }
  .portal-theme .footer-brand { grid-column: auto; }
  .portal-theme .footer-contact { gap: 14px; }
  .portal-theme .footer-nav { gap: 16px 24px; }
  .portal-theme .copyright { font-size: 10px; padding-block: 20px; }
  .portal-theme .dialog-heading h2 { font-size: 16px; }
  .portal-theme .material-meta .price { font-size: 25px; }
  .portal-theme .qr-image { width: 210px; height: 210px; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .portal-theme *, .portal-theme *::before, .portal-theme *::after { transition: none !important; animation: none !important; }
}
