/*
Theme Name: Freeware.pk Downloads
Theme URI: https://freeware.pk/
Author: Freeware.pk
Author URI: https://freeware.pk/
Description: A complete moderated software-download directory with version history, publisher submissions, platform and category hubs, download analytics, and built-in technical SEO.
Version: 1.9.4
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: freeware-pk
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

:root {
  --fw-bg: #f4f7fb;
  --fw-surface: #ffffff;
  --fw-text: #152238;
  --fw-muted: #64748b;
  --fw-line: #e2e8f0;
  --fw-brand: #0b65d8;
  --fw-brand-dark: #084da5;
  --fw-accent: #20b486;
  --fw-warning: #f59e0b;
  --fw-radius: 14px;
  --fw-shadow: 0 10px 30px rgba(20, 42, 75, .08);
  --fw-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--fw-text); background: var(--fw-bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
a { color: var(--fw-brand); text-decoration: none; }
a:hover { color: var(--fw-brand-dark); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: min(calc(100% - 32px), var(--fw-container)); margin-inline: auto; }
.site-main { min-height: 55vh; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--fw-line); backdrop-filter: blur(12px); }
.admin-bar .site-header { top: 32px; }
.header-row { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.site-branding { display: flex; align-items: center; flex: 0 0 auto; }
.custom-logo { max-height: 46px; width: auto; }
.site-title { color: var(--fw-text); font-size: 1.45rem; font-weight: 850; letter-spacing: -.04em; }
.site-title span { color: var(--fw-brand); }
.header-search { position: relative; flex: 1; max-width: 540px; }
.header-search input { width: 100%; height: 46px; padding: 0 116px 0 44px; border: 1px solid var(--fw-line); border-radius: 999px; background: #f8fafc; outline: 0; }
.header-search input:focus { border-color: var(--fw-brand); background: #fff; box-shadow: 0 0 0 3px rgba(11,101,216,.12); }
.header-search:before { content: "\2315"; position: absolute; left: 17px; top: 9px; color: var(--fw-muted); font-size: 20px; transform: rotate(-20deg); }
.header-search button { position: absolute; right: 4px; top: 4px; height: 38px; border: 0; border-radius: 999px; padding: 0 19px; color: #fff; background: var(--fw-brand); font-weight: 750; cursor: pointer; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--fw-line); border-radius: 10px; background: #fff; cursor: pointer; }
.primary-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-menu a { display: flex; align-items: center; gap: 7px; padding: 10px 12px; color: var(--fw-text); font-size: .93rem; font-weight: 700; border-radius: 9px; }
.primary-menu .platform-icon { width: 21px; height: 21px; border-radius: 6px; font-size: 13px; }
.primary-menu a:hover { color: var(--fw-brand); background: #eff6ff; }
.platform-bar { color: #dbeafe; background: #0d2343; }
.platform-nav { display: flex; gap: 7px; overflow-x: auto; padding-block: 9px; scrollbar-width: none; }
.platform-nav a { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 7px; padding: 5px 11px; color: #dbeafe; font-size: .84rem; font-weight: 700; border-radius: 999px; }
.platform-nav a:hover { color: #fff; background: rgba(255,255,255,.1); }

.hero { overflow: hidden; padding: 64px 0 58px; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(32,180,134,.28), transparent 28%), linear-gradient(135deg, #0d2343 0%, #0b65d8 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); align-items: center; gap: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: #a7f3d0; font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fw-accent); box-shadow: 0 0 0 5px rgba(32,180,134,.17); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.05; letter-spacing: -.055em; }
.hero p { max-width: 640px; margin: 20px 0 28px; color: #dbeafe; font-size: 1.09rem; }
.hero-search { position: relative; max-width: 650px; }
.hero-search input { width: 100%; height: 60px; padding: 0 142px 0 22px; border: 0; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.18); outline: 0; }
.hero-search button { position: absolute; right: 6px; top: 6px; height: 48px; padding: 0 24px; border: 0; border-radius: 9px; color: #fff; background: var(--fw-accent); font-weight: 800; cursor: pointer; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; color: #bfdbfe; font-size: .84rem; font-weight: 650; }
.hero-proof span:before { content: "\2713"; margin-right: 7px; color: #6ee7b7; font-weight: 900; }
.hero-panel { padding: 26px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.1); box-shadow: 0 25px 70px rgba(0,0,0,.16); backdrop-filter: blur(12px); }
.hero-panel h2 { margin: 0 0 18px; font-size: 1.05rem; }
.hero-stat { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.hero-stat:last-child { border: 0; }
.hero-stat strong { font-size: 1.25rem; }
.hero-stat span { color: #bfdbfe; font-size: .88rem; }

.section { padding: 58px 0; }
.section + .section { padding-top: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-heading h2, .archive-header h1 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.2; letter-spacing: -.035em; }
.section-heading p { margin: 6px 0 0; color: var(--fw-muted); }
.section-link { flex: 0 0 auto; font-weight: 800; }
.software-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.software-card { position: relative; display: block; min-width: 0; overflow: hidden; padding: 0; border: 1px solid var(--fw-line); border-radius: var(--fw-radius); background: var(--fw-surface); box-shadow: 0 4px 18px rgba(20,42,75,.04); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.software-card:hover { transform: translateY(-3px); border-color: #bfdbfe; box-shadow: var(--fw-shadow); }
.software-card__screenshot { display: block; overflow: hidden; aspect-ratio: 8 / 5; background: #e8eef7; border-bottom: 1px solid var(--fw-line); }
.software-card__screenshot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.software-card:hover .software-card__screenshot img { transform: scale(1.025); }
.software-card__content { display: flex; min-width: 0; padding: 20px; }
.software-card__icon-link { flex: 0 0 auto; }
.software-card__icon { flex: 0 0 66px; width: 66px; height: 66px; margin-right: 16px; border-radius: 14px; object-fit: cover; background: #eff6ff; box-shadow: inset 0 0 0 1px rgba(15,23,42,.06); }
.software-card__placeholder { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--fw-brand), #7c3aed); font-size: 1.35rem; font-weight: 900; }
.software-card__body { min-width: 0; flex: 1; }
.software-card h3 { overflow: hidden; margin: 0 0 2px; color: var(--fw-text); font-size: 1.05rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.software-card__meta { color: var(--fw-muted); font-size: .79rem; }
.software-card__platforms { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.software-card__platforms .platform-label { padding: 2px 7px 2px 3px; color: #475569; background: #f1f5f9; border-radius: 999px; font-size: .69rem; font-weight: 750; }
.software-card__platforms .platform-icon { width: 19px; height: 19px; border-radius: 6px; font-size: 12px; }
.software-card__excerpt { display: -webkit-box; overflow: hidden; margin: 9px 0 12px; color: #475569; font-size: .88rem; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.software-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.version-pill { display: inline-flex; padding: 3px 9px; color: #047857; background: #ecfdf5; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.download-count { color: var(--fw-muted); font-size: .75rem; white-space: nowrap; }
.category-block { margin-bottom: 44px; }
.category-block:last-child { margin-bottom: 0; }
.category-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.category-directory__card { min-width: 0; padding: 21px; border: 1px solid var(--fw-line); border-radius: var(--fw-radius); background: #fff; box-shadow: 0 4px 18px rgba(20,42,75,.04); }
.category-directory__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.category-directory__heading > a { color: var(--fw-text); font-size: 1.03rem; font-weight: 850; }
.category-directory__heading > a:hover { color: var(--fw-brand); }
.category-directory__heading > span { display: inline-grid; min-width: 28px; height: 28px; padding: 0 7px; place-items: center; color: var(--fw-brand); background: #eff6ff; border-radius: 999px; font-size: .72rem; font-weight: 850; }
.category-directory__card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.category-directory__card li { min-width: 0; }
.category-directory__card li a { display: block; overflow: hidden; padding: 5px 9px; color: #475569; background: #f8fafc; border: 1px solid #edf2f7; border-radius: 7px; font-size: .75rem; font-weight: 650; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.category-directory__card li a:hover { color: var(--fw-brand); background: #eff6ff; border-color: #bfdbfe; }
.platform-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.platform-card { padding: 22px 16px; color: var(--fw-text); text-align: center; border: 1px solid var(--fw-line); border-radius: var(--fw-radius); background: #fff; }
.platform-card:hover { color: var(--fw-brand); border-color: #93c5fd; box-shadow: var(--fw-shadow); }
.platform-icon { --platform-color: #64748b; display: inline-grid; flex: 0 0 auto; place-items: center; color: #fff; background: var(--platform-color); vertical-align: middle; }
.platform-icon .dashicons { width: 1em; height: 1em; font-size: 1em; line-height: 1; }
.platform-icon--small { width: 24px; height: 24px; border-radius: 7px; font-size: 15px; }
.platform-icon--large { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 16px; font-size: 29px; box-shadow: 0 9px 22px rgba(15, 23, 42, .14); }
.platform-icon--windows { --platform-color: #0078d4; }
.platform-icon--mac { --platform-color: #374151; }
.platform-icon--linux { --platform-color: #d69309; }
.platform-icon--android { --platform-color: #168f58; }
.platform-icon--ios { --platform-color: #111827; }
.platform-icon--web { --platform-color: #0b87c9; }
.platform-label { display: inline-flex; align-items: center; gap: 7px; }
.platform-nav .platform-icon { width: 21px; height: 21px; border-radius: 6px; font-size: 13px; }
.platform-card strong { display: block; }
.platform-card small { color: var(--fw-muted); }

.archive-header { padding: 44px 0 26px; }
.archive-header p { max-width: 740px; margin: 10px 0 0; color: var(--fw-muted); }
.archive-title-row { display: flex; align-items: center; gap: 14px; }
.archive-title-row .platform-icon { margin: 0; }
.category-children { padding-bottom: 28px; }
.category-children .section-heading { margin-bottom: 15px; }
.category-children .section-heading h2 { font-size: 1.2rem; }
.subcategory-links { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.subcategory-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 12px 14px; color: #334155; border: 1px solid var(--fw-line); border-radius: 10px; background: #fff; font-size: .83rem; font-weight: 750; }
.subcategory-links a:hover { color: var(--fw-brand); border-color: #93c5fd; box-shadow: 0 6px 18px rgba(20,42,75,.07); }
.subcategory-links a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.subcategory-links small { flex: 0 0 auto; color: var(--fw-muted); font-size: .7rem; }
.breadcrumbs { margin-bottom: 12px; color: var(--fw-muted); font-size: .82rem; }
.breadcrumbs a { color: var(--fw-muted); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 28px; padding-bottom: 60px; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.sidebar-box { margin-bottom: 18px; padding: 20px; border: 1px solid var(--fw-line); border-radius: var(--fw-radius); background: #fff; }
.sidebar-box h2 { margin: 0 0 14px; font-size: 1rem; }
.sidebar-list { margin: 0; padding: 0; list-style: none; }
.sidebar-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f1f5f9; font-size: .87rem; }
.sidebar-list li:last-child { border: 0; }
.sidebar-list span { color: var(--fw-muted); }
.sidebar-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
.sidebar-heading h2 { margin: 2px 0 0; color: var(--fw-text); font-size: 1.15rem; letter-spacing: -.025em; }
.sidebar-eyebrow { display: block; color: var(--fw-brand); font-size: .67rem; font-weight: 850; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.sidebar-heading__icon { display: grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; color: var(--fw-brand); background: #eff6ff; border-radius: 10px; font-size: .9rem; }
.related-apps { overflow: hidden; padding: 22px 20px 0; border-color: #d9e5f4; box-shadow: 0 8px 24px rgba(20,42,75,.06); }
.related-app-list { margin: 0; padding: 0; list-style: none; }
.related-app-list li { border-top: 1px solid #edf2f7; }
.related-app { display: grid; grid-template-columns: 48px minmax(0,1fr) 24px; align-items: center; gap: 12px; margin: 0 -10px; padding: 13px 10px; color: var(--fw-text); border-radius: 11px; transition: background .16s ease, transform .16s ease; }
.related-app:hover { color: var(--fw-text); background: #f5f9ff; transform: translateX(2px); }
.related-app__icon { display: grid; width: 48px; height: 48px; place-items: center; object-fit: cover; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 4px 12px rgba(15,23,42,.07); }
.related-app__icon.software-card__placeholder { color: #fff; font-size: 1rem; font-weight: 900; }
.related-app__body { min-width: 0; }
.related-app__body strong, .related-app__body small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-app__body strong { font-size: .9rem; line-height: 1.35; }
.related-app__body small { margin-top: 3px; color: var(--fw-muted); font-size: .7rem; }
.related-app__arrow { display: grid; width: 24px; height: 24px; place-items: center; color: #94a3b8; background: #f1f5f9; border-radius: 50%; font-size: .78rem; transition: color .16s ease, background .16s ease; }
.related-app:hover .related-app__arrow { color: #fff; background: var(--fw-brand); }
.sidebar-box__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px -20px 0; padding: 13px 20px; color: var(--fw-brand); background: #f8fbff; border-top: 1px solid #e5edf7; font-size: .78rem; font-weight: 800; }
.sidebar-box__footer:hover { color: var(--fw-brand-dark); background: #f1f7ff; }
.sidebar-box .search-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; }
.sidebar-box .search-form label { grid-column: 1 / -1; }
.sidebar-box .search-field, .sidebar-box .wp-block-search__input { width: 100%; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 9px; outline: 0; }
.sidebar-box .search-field:focus, .sidebar-box .wp-block-search__input:focus { border-color: var(--fw-brand); box-shadow: 0 0 0 3px rgba(11,101,216,.1); }
.sidebar-box .search-submit, .sidebar-box .wp-block-search__button { min-height: 44px; margin: 0; padding: 0 15px; color: #fff; background: var(--fw-brand); border: 0; border-radius: 9px; font-weight: 750; cursor: pointer; }
.sidebar-box > ul, .sidebar-box .wp-block-latest-posts, .sidebar-box .wp-block-latest-comments { margin: 0; padding: 0; list-style: none; }
.sidebar-box > ul li, .sidebar-box .wp-block-latest-posts li, .sidebar-box .wp-block-latest-comments li { padding: 9px 0; border-bottom: 1px solid #f1f5f9; }
.sidebar-box > ul li:last-child, .sidebar-box .wp-block-latest-posts li:last-child, .sidebar-box .wp-block-latest-comments li:last-child { border-bottom: 0; }

.software-hero { padding: 40px 0 30px; background: #fff; border-bottom: 1px solid var(--fw-line); }
.software-identity { display: grid; grid-template-columns: 110px minmax(0,1fr) auto; align-items: center; gap: 24px; }
.software-icon { width: 110px; height: 110px; object-fit: cover; border: 1px solid var(--fw-line); border-radius: 22px; box-shadow: var(--fw-shadow); }
.software-icon--placeholder { display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--fw-brand), #7c3aed); font-size: 2.2rem; font-weight: 900; }
.software-title h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.045em; }
.software-title p { margin: 9px 0 0; color: var(--fw-muted); }
.software-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.software-tags > a, .software-tags > span { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; color: #475569; background: #f1f5f9; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.software-tags .platform-icon { width: 20px; height: 20px; margin-left: -5px; border-radius: 6px; font-size: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 21px; border: 0; border-radius: 10px; color: #fff; background: var(--fw-brand); font-weight: 850; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.button:hover { color: #fff; background: var(--fw-brand-dark); transform: translateY(-1px); }
.software-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.button--download { min-width: 210px; min-height: 56px; background: var(--fw-accent); font-size: 1.03rem; }
.button--download:hover { background: #15936e; }
.button--mirror { min-height: 40px; color: var(--fw-brand); background: #eff6ff; border: 1px solid #bfdbfe; font-size: .82rem; }
.button--mirror:hover { color: #fff; background: var(--fw-brand); }
.button small { display: block; font-size: .68rem; font-weight: 600; opacity: .85; }
.software-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: start; gap: 28px; padding: 34px 0 64px; }
.content-card { margin-bottom: 22px; padding: clamp(22px, 4vw, 34px); border: 1px solid var(--fw-line); border-radius: var(--fw-radius); background: #fff; }
.content-card h2 { margin: 0 0 18px; font-size: 1.35rem; }
.content-card h3 { margin-top: 1.7em; }
.software-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 0; }
.software-details div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.software-details dt { color: var(--fw-muted); font-size: .84rem; }
.software-details dd { margin: 0; font-size: .87rem; font-weight: 700; }
.software-details dd .platform-label { margin: 2px 8px 2px 0; }
.software-details dd .platform-icon { width: 20px; height: 20px; border-radius: 6px; font-size: 12px; }
.screenshot-gallery { display: grid; grid-auto-columns: minmax(250px, 74%); grid-auto-flow: column; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.screenshot-gallery a { scroll-snap-align: start; }
.screenshot-gallery img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--fw-line); border-radius: 10px; }
.version-list { margin: 0; padding: 0; list-style: none; }
.version-item { padding: 14px 0; border-bottom: 1px solid var(--fw-line); }
.version-item:first-child { padding-top: 0; }
.version-item:last-child { padding-bottom: 0; border: 0; }
.version-item__row { display: flex; justify-content: space-between; gap: 14px; }
.version-item strong { display: block; font-size: .93rem; }
.version-item small { display: block; margin-top: 3px; color: var(--fw-muted); }
.version-meta { display: flex !important; align-items: center; flex-wrap: wrap; gap: 5px 12px; }
.version-meta > span + span:before { content: "·"; margin-right: 12px; }
.version-meta .platform-label:before { content: none; }
.version-meta .platform-icon { width: 19px; height: 19px; border-radius: 5px; font-size: 12px; }
.version-item a { flex: 0 0 auto; font-size: .78rem; font-weight: 850; }
.version-download-links { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.version-download-links .mirror-link { padding-left: 8px; border-left: 1px solid var(--fw-line); }
.download-blocked { color: #b91c1c; font-size: .72rem; font-weight: 800; }
.latest-label { margin-left: 5px; color: #047857; font-size: .68rem; text-transform: uppercase; }
.notice { margin: 20px 0; padding: 14px 18px; border-left: 4px solid var(--fw-brand); border-radius: 7px; background: #eff6ff; }
.notice--success { color: #065f46; border-color: var(--fw-accent); background: #ecfdf5; }
.notice--error { color: #991b1b; border-color: #dc2626; background: #fef2f2; }

.auth-page { margin: 48px auto 72px; }
.auth-shell { display: grid; grid-template-columns: minmax(300px,.78fr) minmax(440px,1.22fr); overflow: hidden; max-width: 1020px; min-height: 610px; margin: 0 auto; border: 1px solid #dbe4ef; border-radius: 24px; background: #fff; box-shadow: 0 24px 70px rgba(20,42,75,.12); }
.auth-intro { position: relative; overflow: hidden; padding: 48px 42px; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(32,180,134,.35), transparent 30%), linear-gradient(145deg,#0d2343,#0b65d8); }
.auth-intro:after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 250px; height: 250px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.04), 0 0 0 75px rgba(255,255,255,.025); }
.auth-logo { position: relative; z-index: 1; display: inline-block; margin-bottom: 70px; color: #fff; font-size: 1.5rem; font-weight: 900; letter-spacing: -.045em; }
.auth-logo:hover { color: #fff; }
.auth-logo span { color: #6ee7b7; }
.auth-kicker { position: relative; z-index: 1; display: block; margin-bottom: 12px; color: #a7f3d0; font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.auth-intro h1 { position: relative; z-index: 1; margin: 0; color: #fff; font-size: clamp(2rem,4vw,3rem); line-height: 1.08; letter-spacing: -.045em; }
.auth-intro > p { position: relative; z-index: 1; color: #dbeafe; }
.auth-benefits { position: relative; z-index: 1; margin: 30px 0 0; padding: 0; list-style: none; }
.auth-benefits li { margin: 12px 0; color: #e0f2fe; font-size: .86rem; }
.auth-benefits li:before { content: "✓"; display: inline-grid; width: 21px; height: 21px; margin-right: 9px; place-items: center; color: #064e3b; background: #6ee7b7; border-radius: 50%; font-size: .72rem; font-weight: 900; }
.auth-card { align-self: center; padding: 46px clamp(30px,5vw,62px); }
.auth-card h2 { margin: 0; font-size: 1.65rem; letter-spacing: -.035em; }
.auth-card__lead { margin: 5px 0 24px; color: var(--fw-muted); font-size: .9rem; }
.auth-form .fw-field { margin-bottom: 17px; }
.auth-form .fw-field label, .auth-label-row label { font-size: .8rem; }
.auth-form input[type=text], .auth-form input[type=email], .auth-form input[type=url], .auth-form input[type=password] { width: 100%; height: 47px; padding: 0 13px; border: 1px solid #cbd5e1; border-radius: 9px; outline: 0; }
.auth-form input:focus { border-color: var(--fw-brand); box-shadow: 0 0 0 3px rgba(11,101,216,.1); }
.auth-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.auth-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.auth-label-row label { margin: 0; }
.auth-label-row a { font-size: .74rem; font-weight: 700; }
.password-field { position: relative; }
.password-field input { padding-right: 62px !important; }
.password-toggle { position: absolute; right: 5px; top: 5px; height: 37px; padding: 0 10px; color: var(--fw-brand); background: #eff6ff; border: 0; border-radius: 7px; font-size: .7rem; font-weight: 800; cursor: pointer; }
.auth-check { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 18px; color: #475569; font-size: .78rem; line-height: 1.5; }
.auth-check input { flex: 0 0 auto; margin-top: 3px; }
.auth-password-help { margin: -9px 0 16px; }
.auth-submit { width: 100%; min-height: 50px; margin-top: 5px; }
.auth-card__footer { margin: 23px 0 0; color: var(--fw-muted); text-align: center; font-size: .82rem; }
.auth-card__footer a { font-weight: 800; }
.fw-captcha { overflow: hidden; max-width: 100%; margin: 17px 0; }
.fw-security-note { padding: 10px 12px; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; font-size: .75rem; }
.fw-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.entry-card, .form-card { margin: 40px auto 60px; padding: clamp(22px, 5vw, 42px); border: 1px solid var(--fw-line); border-radius: var(--fw-radius); background: #fff; }
.entry-card { max-width: 880px; }
.form-card { max-width: 940px; }
.submission-page { margin: 34px auto 72px; }
.submission-page > .breadcrumbs + .form-card { margin-top: 18px; }
.entry-card h1, .form-card h1 { margin-top: 0; }
.fw-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.fw-field { margin-bottom: 18px; }
.fw-field--full { grid-column: 1 / -1; }
.fw-field label { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 800; }
.fw-field input[type=text], .fw-field input[type=url], .fw-field input[type=date], .fw-field input[type=file], .fw-field select, .fw-field textarea { width: 100%; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; outline: 0; }
.fw-field textarea { min-height: 130px; resize: vertical; }
.fw-field textarea.fw-short-description { min-height: 82px; }
.fw-field textarea.fw-full-description { min-height: 280px; }
.fw-field input:focus, .fw-field select:focus, .fw-field textarea:focus { border-color: var(--fw-brand); box-shadow: 0 0 0 3px rgba(11,101,216,.1); }
.fw-help { display: block; margin-top: 5px; color: var(--fw-muted); font-size: .75rem; }
.fw-optional { color: var(--fw-muted); font-size: .75rem; font-weight: 650; }
.fw-url-field { display: grid; grid-template-columns: 92px minmax(0, 1fr); }
.fw-url-field select { position: relative; z-index: 1; border-radius: 8px 0 0 8px; }
.fw-url-field input[type=text] { margin-left: -1px; border-radius: 0 8px 8px 0; }
.fw-field .selectize-control { width: 100%; }
.fw-field .selectize-input { min-height: 43px; padding: 9px 12px; border-color: #cbd5e1; border-radius: 8px; box-shadow: none; }
.fw-field .selectize-input.focus { border-color: var(--fw-brand); box-shadow: 0 0 0 3px rgba(11,101,216,.1); }
.fw-field .selectize-input > input { font-size: .86rem; }
.fw-field .selectize-dropdown { z-index: 20; border-color: #cbd5e1; }
.fw-field .selectize-dropdown-content { max-height: 240px; }
.fw-field .selectize-control.multi .selectize-input > div { padding: 4px 7px; color: #17365f; background: #e7f1ff; border: 1px solid #c8dfff; border-radius: 5px; }
.fw-version-row { position: relative; margin-bottom: 12px; padding: 16px; border: 1px solid var(--fw-line); border-radius: 10px; background: #f8fafc; }
.fw-version-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.fw-version-row .fw-field { margin: 0; }
.fw-remove-version { position: absolute; top: 8px; right: 8px; border: 0; color: #b91c1c; background: transparent; cursor: pointer; }
.publisher-dashboard-page { margin: 34px auto 72px; }
.publisher-dashboard { display: grid; grid-template-columns: 252px minmax(0,1fr); overflow: hidden; min-height: 760px; border: 1px solid #dbe4ef; border-radius: 22px; background: #fff; box-shadow: 0 18px 55px rgba(20,42,75,.1); }
.publisher-sidebar { display: flex; min-width: 0; padding: 25px 17px 20px; flex-direction: column; color: #cbd5e1; background: #0d2343; }
.publisher-profile { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 0 8px 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.publisher-profile > div { min-width: 0; }
.publisher-profile strong, .publisher-profile span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.publisher-profile strong { color: #fff; font-size: .84rem; line-height: 1.3; }
.publisher-profile > div span { margin-top: 2px; color: #8ea4c2; font-size: .68rem; }
.publisher-avatar { display: inline-grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; color: #fff; background: linear-gradient(145deg,#1878e7,#20b486); border: 2px solid rgba(255,255,255,.22); border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,.16); font-size: .8rem; font-weight: 900; letter-spacing: .02em; }
.publisher-menu { margin-top: 17px; }
.publisher-menu__label { display: block; margin: 18px 10px 7px; color: #6f89aa; font-size: .61rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.publisher-menu__label:first-child { margin-top: 0; }
.publisher-menu a, .publisher-signout { display: flex; align-items: center; gap: 10px; min-height: 42px; margin: 2px 0; padding: 8px 10px; color: #b9c8dc; border-radius: 9px; font-size: .77rem; font-weight: 700; transition: color .16s ease, background .16s ease, transform .16s ease; }
.publisher-menu a > span, .publisher-signout > span { display: inline-grid; flex: 0 0 24px; width: 24px; height: 24px; place-items: center; color: #91a8c5; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; font-size: .8rem; line-height: 1; }
.publisher-menu a b { min-width: 23px; margin-left: auto; padding: 2px 6px; color: #9fb1c9; background: rgba(255,255,255,.07); border-radius: 999px; text-align: center; font-size: .62rem; }
.publisher-menu a:hover, .publisher-menu a.is-active { color: #fff; background: rgba(255,255,255,.09); transform: translateX(2px); }
.publisher-menu a.is-active > span { color: #fff; background: #0b65d8; border-color: #2b7dde; }
.publisher-menu a.publisher-menu__primary { color: #d9fff3; background: rgba(32,180,134,.12); }
.publisher-menu a.publisher-menu__primary > span { color: #d9fff3; background: rgba(32,180,134,.2); border-color: rgba(110,231,183,.25); font-size: 1rem; }
.publisher-signout { margin-top: auto; color: #8fa6c3; border-top: 1px solid rgba(255,255,255,.1); border-radius: 0; padding-top: 18px; }
.publisher-signout:hover { color: #fff; }
.publisher-workspace { min-width: 0; padding: clamp(25px,3.3vw,42px); background: #f7f9fc; }
.publisher-welcome { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; overflow: hidden; padding: 27px 29px; color: #fff; background: radial-gradient(circle at 82% 5%,rgba(53,202,155,.4),transparent 31%),linear-gradient(135deg,#0d2343 0%,#0b65d8 100%); border-radius: 17px; box-shadow: 0 13px 32px rgba(11,101,216,.18); }
.publisher-welcome:after { content: ""; position: absolute; right: -44px; bottom: -78px; width: 190px; height: 190px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.035); }
.publisher-welcome > * { position: relative; z-index: 1; }
.publisher-eyebrow { display: block; margin-bottom: 7px; color: #a7f3d0; font-size: .65rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.publisher-welcome h1 { margin: 0; color: #fff; font-size: clamp(1.45rem,2.6vw,2rem); line-height: 1.15; letter-spacing: -.04em; }
.publisher-welcome p { max-width: 590px; margin: 8px 0 0; color: #cfe4ff; font-size: .79rem; }
.publisher-submit-button { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 6px; min-height: 44px; padding-inline: 17px; color: #0d2343; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.13); font-size: .76rem; }
.publisher-submit-button:hover { color: #0b65d8; background: #f8fbff; }
.publisher-submit-button span { font-size: 1.05rem; }
.publisher-alert { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 14px 16px; color: #713f12; background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; }
.publisher-alert > span { display: inline-grid; flex: 0 0 29px; width: 29px; height: 29px; place-items: center; color: #92400e; background: #fef3c7; border-radius: 8px; font-weight: 900; }
.publisher-alert strong { display: block; font-size: .8rem; }
.publisher-alert p { margin: 2px 0 0; font-size: .72rem; line-height: 1.55; }
.publisher-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin: 19px 0; }
.publisher-stats article { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 16px; border: 1px solid #e2e8f0; border-radius: 13px; background: #fff; box-shadow: 0 4px 15px rgba(20,42,75,.035); }
.publisher-stat-icon { display: inline-grid; flex: 0 0 37px; width: 37px; height: 37px; place-items: center; border-radius: 10px; font-size: .84rem; font-weight: 900; }
.publisher-stat-icon--blue { color: #0759bd; background: #e7f1ff; }
.publisher-stat-icon--green { color: #047857; background: #e3f8f0; }
.publisher-stat-icon--amber { color: #a16207; background: #fff6d8; }
.publisher-stat-icon--violet { color: #6d28d9; background: #f1eafe; }
.publisher-stats article div { min-width: 0; }
.publisher-stats strong, .publisher-stats article div span { display: block; }
.publisher-stats strong { color: #10213a; font-size: 1.25rem; line-height: 1.15; letter-spacing: -.03em; }
.publisher-stats article div span { overflow: hidden; margin-top: 3px; color: #718096; font-size: .66rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.publisher-panel { overflow: hidden; border: 1px solid #e0e7f0; border-radius: 15px; background: #fff; box-shadow: 0 5px 20px rgba(20,42,75,.04); }
.publisher-panel__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 20px 22px 16px; border-bottom: 1px solid #edf1f6; }
.publisher-panel__header h2 { margin: 0; font-size: 1.04rem; letter-spacing: -.025em; }
.publisher-panel__header p { margin: 2px 0 0; color: #7b8ba1; font-size: .68rem; }
.publisher-filters { display: flex; gap: 3px; padding: 3px; background: #f1f5f9; border-radius: 8px; }
.publisher-filters a { padding: 6px 9px; color: #64748b; border-radius: 6px; font-size: .62rem; font-weight: 800; white-space: nowrap; }
.publisher-filters a:hover { color: #0b65d8; }
.publisher-filters a.is-active { color: #0b65d8; background: #fff; box-shadow: 0 1px 4px rgba(15,23,42,.1); }
.publisher-table-wrap { overflow-x: auto; }
.fw-dashboard-list { width: 100%; border-collapse: collapse; }
.fw-dashboard-list th { padding: 11px 15px; color: #8492a6; background: #fafbfd; font-size: .59rem; font-weight: 850; letter-spacing: .07em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.fw-dashboard-list td { padding: 13px 15px; color: #536174; text-align: left; border-top: 1px solid #edf1f6; font-size: .71rem; vertical-align: middle; }
.fw-dashboard-list tbody tr:hover { background: #fbfdff; }
.publisher-software-cell { display: flex; align-items: center; gap: 10px; min-width: 185px; }
.publisher-software-icon { display: inline-grid; flex: 0 0 35px; width: 35px; height: 35px; place-items: center; color: #fff; background: linear-gradient(145deg,#0b65d8,#20b486); border-radius: 9px; font-size: .78rem; font-weight: 900; }
.publisher-software-cell strong, .publisher-software-cell small { display: block; }
.publisher-software-cell strong { color: #16263d; font-size: .76rem; line-height: 1.35; }
.publisher-software-cell small { overflow: hidden; max-width: 230px; margin-top: 2px; color: #8a98aa; font-size: .61rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; color: #475569; background: #f1f5f9; border-radius: 999px; font-size: .6rem; font-weight: 850; white-space: nowrap; }
.status-badge:before { content: ""; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.status-badge--publish { color: #047857; background: #ecfdf5; }
.status-badge--pending { color: #a16207; background: #fffbeb; }
.status-badge--draft { color: #536174; background: #f1f5f9; }
.status-badge--rejected { color: #b91c1c; background: #fef2f2; }
.publisher-row-action { color: #0b65d8; font-size: .66rem; font-weight: 800; white-space: nowrap; }
.publisher-empty { padding: 44px 24px 48px; text-align: center; }
.publisher-empty > span { display: inline-grid; width: 48px; height: 48px; place-items: center; color: #0b65d8; background: #eaf3ff; border-radius: 14px; font-size: 1.45rem; }
.publisher-empty h3 { margin: 13px 0 3px; font-size: .98rem; }
.publisher-empty p { margin: 0 auto 16px; color: #718096; font-size: .74rem; }
.publisher-empty .button { min-height: 39px; padding: 8px 15px; font-size: .7rem; }
.publisher-account-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 19px; padding: 17px 19px; border: 1px solid #e0e7f0; border-radius: 13px; background: #fff; }
.publisher-account-card > div { display: flex; align-items: center; gap: 11px; min-width: 0; }
.publisher-avatar--small { width: 38px; height: 38px; border: 0; border-radius: 10px; box-shadow: none; }
.publisher-account-card h2 { margin: 0; font-size: .8rem; }
.publisher-account-card p { overflow: hidden; margin: 2px 0 0; color: #8492a6; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.publisher-account-card > a { flex: 0 0 auto; font-size: .7rem; font-weight: 800; }
.pagination { margin: 30px 0; }
.pagination .page-numbers { display: inline-grid; min-width: 40px; height: 40px; place-items: center; margin-right: 4px; border: 1px solid var(--fw-line); border-radius: 8px; background: #fff; }
.pagination .current { color: #fff; border-color: var(--fw-brand); background: var(--fw-brand); }
.empty-state { padding: 50px 24px; text-align: center; border: 1px dashed #cbd5e1; border-radius: var(--fw-radius); background: #fff; }

.site-footer { padding-top: 48px; color: #cbd5e1; background: #0d1b2e; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; padding-bottom: 38px; }
.footer-brand { color: #fff; font-size: 1.4rem; font-weight: 850; }
.footer-copy { max-width: 360px; color: #94a3b8; font-size: .88rem; }
.site-footer h2 { margin: 0 0 13px; color: #fff; font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 7px; }
.footer-links a { display: inline-flex; align-items: center; gap: 7px; color: #cbd5e1; font-size: .87rem; }
.footer-links .platform-icon { width: 21px; height: 21px; border-radius: 6px; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; color: #94a3b8; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; }
.footer-legal-links { display: inline-flex; flex-wrap: wrap; gap: 14px; }
.footer-legal-links a { color: #cbd5e1; }
.footer-legal-links a:hover { color: #fff; }
.footer-legal-links button { padding: 0; color: #cbd5e1; border: 0; background: transparent; font: inherit; cursor: pointer; }
.footer-legal-links button:hover { color: #fff; }
.analytics-consent { position: fixed; right: 18px; bottom: 18px; z-index: 10000; display: flex; align-items: center; width: min(720px, calc(100% - 36px)); padding: 18px; color: var(--fw-text); border: 1px solid var(--fw-line); border-radius: 14px; background: #fff; box-shadow: 0 18px 55px rgba(15,23,42,.24); }
.analytics-consent[hidden] { display: none; }
.analytics-consent__copy { flex: 1; }
.analytics-consent__copy strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.analytics-consent__copy p { margin: 0; color: var(--fw-muted); font-size: .87rem; line-height: 1.55; }
.analytics-consent__actions { display: flex; flex: 0 0 auto; gap: 9px; margin-left: 18px; }
.analytics-consent__reject { padding: 10px 13px; color: var(--fw-text); border: 1px solid var(--fw-line); border-radius: 8px; background: #fff; font-weight: 700; cursor: pointer; }

@media (max-width: 1000px) {
  .header-row { flex-wrap: wrap; min-height: auto; padding: 14px 0; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-navigation { display: none; width: 100%; order: 4; }
  .site-navigation.is-open { display: block; }
  .primary-menu { align-items: stretch; flex-direction: column; padding-top: 8px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .software-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .category-directory { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .subcategory-links { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .platform-cards { grid-template-columns: repeat(3, 1fr); }
  .software-layout { grid-template-columns: minmax(0,1fr) 290px; }
  .publisher-dashboard { grid-template-columns: 218px minmax(0,1fr); }
  .publisher-workspace { padding: 25px; }
  .publisher-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .publisher-panel__header { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .admin-bar .site-header { top: 46px; }
  .hero { padding: 45px 0; }
  .software-grid, .archive-grid { grid-template-columns: 1fr; }
  .content-layout, .software-layout { grid-template-columns: 1fr; }
  .software-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
  .software-sidebar .sidebar-box { margin-bottom: 0; }
  .software-sidebar .related-apps { grid-column: 1 / -1; }
  .software-identity { grid-template-columns: 82px minmax(0,1fr); gap: 16px; }
  .software-icon { width: 82px; height: 82px; border-radius: 17px; }
  .software-actions { grid-column: 1 / -1; }
  .button--download { width: 100%; }
  .software-details { grid-template-columns: 1fr; }
  .platform-cards { grid-template-columns: repeat(2, 1fr); }
  .subcategory-links { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand-wrap { grid-column: 1 / -1; }
  .fw-form-grid, .fw-version-grid { grid-template-columns: 1fr; }
  .auth-page { width: min(calc(100% - 22px),var(--fw-container)); margin: 24px auto 48px; }
  .auth-shell { grid-template-columns: 1fr; border-radius: 18px; }
  .auth-intro { padding: 32px 28px; }
  .auth-logo { margin-bottom: 32px; }
  .auth-benefits { display: none; }
  .auth-card { padding: 34px 28px 38px; }
  .fw-field--full { grid-column: auto; }
  .publisher-dashboard-page { width: min(calc(100% - 22px),var(--fw-container)); margin: 22px auto 48px; }
  .publisher-dashboard { grid-template-columns: 1fr; border-radius: 17px; }
  .publisher-sidebar { display: block; padding: 11px; }
  .publisher-profile, .publisher-menu__label, .publisher-signout { display: none; }
  .publisher-menu { display: flex; gap: 4px; overflow-x: auto; margin: 0; padding-bottom: 2px; scrollbar-width: none; }
  .publisher-menu a { flex: 0 0 auto; min-height: 39px; margin: 0; padding: 7px 10px; }
  .publisher-menu a:hover, .publisher-menu a.is-active { transform: none; }
  .publisher-menu a > span { flex-basis: 22px; width: 22px; height: 22px; }
  .publisher-workspace { padding: 18px; }
  .publisher-welcome { align-items: flex-start; flex-direction: column; padding: 24px; }
  .publisher-submit-button { width: 100%; justify-content: center; }
  .publisher-panel__header { padding: 18px; }
  .publisher-filters { max-width: 100%; overflow-x: auto; }
  .publisher-dashboard .fw-dashboard-list thead { display: none; }
  .publisher-dashboard .fw-dashboard-list tbody { display: block; }
  .publisher-dashboard .fw-dashboard-list tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 16px 18px; border-top: 1px solid #edf1f6; }
  .publisher-dashboard .fw-dashboard-list td { display: block; padding: 0; border: 0; }
  .publisher-dashboard .fw-dashboard-list td:first-child { grid-column: 1 / -1; }
  .publisher-dashboard .fw-dashboard-list td:nth-child(3):before, .publisher-dashboard .fw-dashboard-list td:nth-child(4):before { display: block; margin-bottom: 2px; color: #94a3b8; font-size: .55rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
  .publisher-dashboard .fw-dashboard-list td:nth-child(3):before, .publisher-dashboard .fw-dashboard-list td:nth-child(4):before { content: attr(data-label); }
  .publisher-dashboard .fw-dashboard-list td:last-child { align-self: end; text-align: right; }
}

@media (max-width: 480px) {
  .container { width: min(calc(100% - 22px), var(--fw-container)); }
  .site-title { font-size: 1.25rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .software-card__content { padding: 17px; }
  .category-directory, .subcategory-links { grid-template-columns: 1fr; }
  .software-sidebar { grid-template-columns: 1fr; }
  .auth-field-grid { grid-template-columns: 1fr; gap: 0; }
  .auth-intro, .auth-card { padding-inline: 22px; }
  .g-recaptcha { transform: scale(.9); transform-origin: left top; margin-bottom: -8px; }
  .software-sidebar .related-apps { grid-column: auto; }
  .platform-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand-wrap { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .analytics-consent { align-items: stretch; flex-direction: column; }
  .analytics-consent__actions { margin: 14px 0 0; }
  .publisher-workspace { padding: 13px; }
  .publisher-welcome { padding: 21px; }
  .publisher-stats { gap: 9px; }
  .publisher-stats article { gap: 8px; padding: 13px 11px; }
  .publisher-stat-icon { flex-basis: 32px; width: 32px; height: 32px; }
  .publisher-panel__header { padding: 16px; }
  .publisher-account-card { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; transition: none !important; }
}
