@font-face {
  font-family:Vazirmatn;
  src:url("fonts/Vazirmatn.f6d31671339d.woff2") format('woff2');
  font-weight:100 900;
  font-style:normal;
  font-display:swap
}
:root {
  --paper:#f7f5f1;
  --surface:#fff;
  --ink:#23232b;
  --muted:#68666e;
  --accent:#b84218;
  --accent-dark:#a63c14;
  --line:#e6e2dc;
  --pink:#f2d3cc;
  --radius:18px;
  --shadow:0 6px 24px #29201705;
  --max:1360px;
  --font:Vazirmatn,Tahoma,system-ui,sans-serif
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:170px
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:15px/1.85 var(--font);
  -webkit-font-smoothing:antialiased
}
a {
  color:inherit;
  text-decoration:none
}
a:hover {
  color:var(--accent)
}
button,input,textarea,select {
  font:inherit
}
button {
  cursor:pointer
}
button,a,input,textarea,select {
  outline-offset:4px
}
:focus-visible {
  outline:3px solid var(--accent)
}
img {
  max-width:100%;
  height:auto
}
h1,h2,h3,h4,p {
  margin-top:0
}
h1,h2,h3,h4 {
  font-weight:750;
  line-height:1.55;
  letter-spacing:-.025em
}
h1 {
  font-size:clamp(28px,3.1vw,44px);
  margin-bottom:18px
}
h2 {
  font-size:25px
}
h3 {
  font-size:18px
}
p {
  margin-bottom:20px
}
small,.meta,.muted {
  color:var(--muted);
  font-size:12px
}
a,button {
  touch-action:manipulation
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap
}
.skip {
  position:fixed;
  inset-block-start:-100px;
  inset-inline-start:20px;
  background:white;
  padding:12px 20px;
  z-index:100
}
.skip:focus {
  inset-block-start:10px
}
.site-header {
  background:var(--surface);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:20
}
.header {
  max-width:var(--max);
  margin:auto;
  min-height:100px;
  padding:18px 40px;
  display:flex;
  align-items:center;
  gap:48px
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0
}
.brand-logo {
  display:block;
  width:52px;
  height:58px;
  overflow:hidden;
  position:relative;
  flex-shrink:0;
  background:#fff
}
.brand-logo img {
  position:absolute;
  width:113px;
  max-width:none;
  height:113px;
  left:-30px;
  top:-14px
}
.brand-type {
  font-family:Arial,sans-serif;
  font-size:26px;
  font-weight:900;
  letter-spacing:-1.5px;
  color:#343039;
  line-height:1
}
.brand-type>span {
  color:#cf5c67
}
.brand-type small {
  display:block;
  font-family:var(--font);
  letter-spacing:0;
  font-size:9px;
  font-weight:500;
  margin-top:9px;
  max-width:180px;
  line-height:1.5
}
.desktop-nav {
  display:flex;
  align-items:center;
  gap:32px;
  align-self:stretch
}
.desktop-nav a {
  display:flex;
  align-items:center;
  position:relative;
  font-weight:650;
  font-size:14px;
  white-space:nowrap
}
.desktop-nav a[aria-current]:after {
  content:'';
  position:absolute;
  bottom:-18px;
  inset-inline:0;
  height:3px;
  background:var(--accent)
}
.header-tools {
  display:flex;
  align-items:center;
  gap:24px;
  margin-inline-start:auto
}
.language-control {
  display:flex;
  direction:ltr;
  border:1px solid var(--line);
  border-radius:30px;
  padding:3px;
  background:var(--paper)
}
.language-control a {
  display:grid;
  place-items:center;
  min-width:36px;
  min-height:36px;
  font-size:11px;
  border-radius:50%
}
.language-control [aria-current] {
  color:var(--accent);
  background:#fff;
  box-shadow:0 1px 5px #23232b12;
  font-weight:750
}
.account {
  display:flex;
  align-items:center;
  gap:20px;
  font-size:12px
}
.account form {
  margin:0
}
.account-name {
  max-width:100px;
  overflow:hidden;
  text-overflow:ellipsis
}
.button,button[type=submit] {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:16px;
  min-height:48px;
  padding:11px 23px;
  background:var(--accent);
  color:#fff;
  border:1px solid transparent;
  border-radius:10px;
  font-weight:650;
  font-size:14px;
  line-height:1.6;
  transition:background .18s,transform .18s
}
.button:hover,button[type=submit]:hover {
  background:var(--accent-dark);
  color:white;
  transform:translateY(-1px)
}
.button.small {
  min-height:44px;
  padding:9px 18px;
  font-size:12px
}
.button-secondary {
  background:#fff;
  color:var(--ink);
  border-color:var(--line)
}
.button-secondary:hover {
  background:#f1ece6;
  color:var(--ink)
}
.button-quiet,.text-button {
  background:none;
  border:0;
  color:var(--muted);
  padding:8px 0;
  min-height:44px
}
.button-quiet {
  color:var(--accent)
}
.header-search {
  max-width:var(--max);
  margin:auto;
  padding:0 40px 15px;
  display:flex;
  align-items:center;
  gap:24px
}
.header-search form {
  display:flex;
  align-items:center;
  gap:12px;
  flex:1;
  max-width:650px;
  padding:0 16px;
  border:1px solid var(--line);
  background:#faf9f7;
  border-radius:10px;
  min-width:0
}
.header-search input {
  border:0;
  background:transparent;
  min-height:44px;
  padding:8px 0;
  flex:1;
  min-width:0;
  width:auto;
  font-size:12px
}
.header-search button[type=submit] {
  background:none;
  color:var(--ink);
  padding:0;
  min-height:44px;
  font-size:12px;
  white-space:nowrap;
  gap:12px
}
.search-icon {
  width:14px;
  height:14px;
  border:1.6px solid #716c72;
  border-radius:50%;
  position:relative;
  flex-shrink:0;
  margin-inline-end:4px
}
.search-icon:after {
  content:'';
  position:absolute;
  width:6px;
  height:1.5px;
  bottom:-3px;
  right:-4px;
  transform:rotate(45deg);
  background:#716c72
}
.search-hint {
  font-size:11px;
  color:var(--muted)
}
.menu-toggle {
  display:none;
  background:none;
  border:1px solid var(--line);
  border-radius:10px;
  width:44px;
  height:44px;
  padding:12px
}
.menu-toggle span {
  display:block;
  height:2px;
  background:var(--ink);
  margin:4px 0
}
.mobile-navigation[hidden] {
  display:none
}
.mobile-navigation {
  padding:12px 24px 20px;
  border-top:1px solid var(--line);
  display:grid;
  gap:4px
}
.mobile-navigation a {
  padding:10px 12px;
  min-height:44px;
  border-radius:8px
}
.mobile-navigation a:hover {
  background:var(--paper)
}
.container {
  max-width:var(--max);
  margin:auto;
  padding:42px 40px 72px;
  min-height:65vh
}
.hero-grid {
  display:grid;
  grid-template-columns:1.12fr 1fr;
  gap:48px;
  align-items:center;
  margin:0 0 52px
}
.hero-copy {
  padding:28px 0
}
.eyebrow {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:12px;
  font-weight:650;
  color:var(--accent);
  letter-spacing:.02em;
  margin-bottom:18px
}
.eyebrow:before {
  content:'';
  display:block;
  width:7px;
  height:7px;
  background:var(--accent);
  border-radius:50%
}
.hero-copy h1 {
  font-size:clamp(32px,3.8vw,53px);
  line-height:1.55;
  letter-spacing:-.04em;
  max-width:650px;
  margin-bottom:18px
}
.hero-copy h1 em,.hero-copy h1 strong {
  color:var(--accent);
  font-style:normal
}
.hero-copy p {
  color:var(--muted);
  max-width:540px;
  font-size:15px;
  line-height:2.05
}
.hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px
}
.hero-art {
  background:#f0e5dc;
  min-height:360px;
  border-radius:24px;
  overflow:hidden;
  position:relative
}
.content-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:30px;
  align-items:start
}
.content-layout>* {
  min-width:0
}
.section-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin:0 0 22px
}
.section-header h2 {
  margin:0;
  font-size:23px
}
.section-header>a {
  color:var(--accent);
  font-size:12px;
  font-weight:650;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  gap:10px
}
.section-header p {
  margin:4px 0 0
}
.article-grid,.grid,.cards {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px
}
.article-card {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .2s,box-shadow .2s;
  min-width:0
}
.article-card:hover {
  transform:translateY(-3px);
  box-shadow:0 10px 30px #2920170a
}
.article-art {
  height:185px;
  background:#eadbd1;
  position:relative;
  overflow:hidden
}
.art-coral {
  background:#f2d6ce
}
.art-lilac {
  background:#e5dfef
}
.art-sand {
  background:#ede0cc
}
.art-mint {
  background:#dfe9df
}
.article-content {
  padding:22px
}
.article-category {
  font-size:11px;
  font-weight:700;
  color:var(--accent);
  display:inline-block;
  margin-bottom:10px
}
.article-card h2,.article-card h3 {
  font-size:18px;
  line-height:1.9;
  margin:0 0 10px
}
.article-card p {
  font-size:12px;
  color:var(--muted);
  line-height:1.95;
  margin-bottom:18px
}
.article-meta {
  border-top:1px solid #eeeae5;
  padding-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  font-size:10px;
  color:var(--muted)
}
.sidebar {
  display:grid;
  gap:24px
}
.panel,.card,.form-panel,.discussion,.category-card,.post {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:25px;
  box-shadow:var(--shadow)
}
.panel h2,.panel h3 {
  margin:0 0 18px;
  font-size:18px
}
.discussion-list {
  display:grid
}
.discussion-item {
  padding:16px 0;
  border-top:1px solid var(--line);
  display:block
}
.discussion-item h3 {
  font-size:13px;
  line-height:1.95;
  margin:0 0 6px
}
.discussion-item p {
  font-size:11px;
  color:var(--muted);
  margin:0
}
.category-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px
}
.category-card {
  display:block;
  padding:25px;
  transition:border-color .18s,transform .18s
}
.category-card:hover {
  border-color:#d7a58b;
  transform:translateY(-2px)
}
.category-card h2,.category-card h3 {
  font-size:17px;
  margin:13px 0 9px
}
.category-card p {
  color:var(--muted);
  font-size:12px;
  margin-bottom:14px
}
.category-icon {
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  background:#f5e9e2;
  border-radius:12px;
  color:var(--accent);
  font-size:21px
}
.page-heading {
  margin-bottom:34px
}
.page-heading p {
  color:var(--muted);
  max-width:760px
}
.topic-list {
  border:1px solid var(--line);
  background:white;
  border-radius:var(--radius);
  padding:0 26px;
  overflow:hidden
}
.topic-row {
  padding:23px 0;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  gap:16px
}
.topic-row:last-child {
  border:0
}
.topic-main {
  flex:1;
  min-width:0
}
.topic-row h2,.topic-row h3 {
  font-size:16px;
  margin:0 0 7px;
  overflow-wrap:anywhere
}
.topic-row p {
  margin:0;
  font-size:11px;
  color:var(--muted)
}
.topic-stats {
  font-size:11px;
  color:var(--muted);
  text-align:center;
  min-width:65px
}
.topic-stats strong {
  display:block;
  font-size:17px;
  color:var(--ink)
}
.avatar {
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  background:#eee5db;
  color:#925c3d;
  border-radius:13px;
  font-size:15px;
  font-weight:700;
  flex-shrink:0
}
.breadcrumbs {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color:var(--muted);
  font-size:11px;
  margin-bottom:24px
}
.breadcrumbs a {
  display:inline-flex;
  align-items:center;
  min-height:32px
}
.form-panel {
  max-width:650px;
  margin:10px auto;
  padding:36px
}
.form-panel h1 {
  font-size:28px
}
.form-panel form>p {
  margin-bottom:22px
}
input,textarea,select {
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:48px;
  border:1px solid #d6d0c8;
  border-radius:9px;
  background:#fcfbf9;
  color:var(--ink);
  padding:11px 14px
}
input:focus,textarea:focus,select:focus {
  border-color:var(--accent)
}
input[type=checkbox],input[type=radio] {
  width:20px;
  min-height:20px;
  accent-color:var(--accent)
}
input[type=hidden] {
  display:none
}
textarea {
  min-height:190px
}
label {
  display:block;
  font-weight:650;
  margin-bottom:8px;
  font-size:13px
}
.helptext {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:7px
}
.errorlist {
  color:#a82e2e;
  font-size:12px;
  padding-inline-start:20px
}
.message {
  background:#f0f5ea;
  border:1px solid #d5dfc8;
  border-inline-start:4px solid #65784c;
  border-radius:10px;
  padding:16px 20px;
  margin-bottom:24px
}
.reading-layout {
  max-width:900px;
  margin:auto
}
.prose,.article-body,.post-body,.body {
  overflow-wrap:anywhere;
  white-space:pre-wrap;
  line-height:2.15
}
.prose {
  font-size:16px
}
.prose p {
  margin-bottom:24px
}
.discussion,.post {
  margin-bottom:24px
}
.post-header {
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:20px
}
.post .meta {
  border-bottom:1px solid var(--line);
  padding-bottom:16px;
  margin-bottom:20px
}
.empty,.empty-state {
  padding:32px;
  border:1px dashed #d5cabe;
  background:#f3eee7;
  border-radius:14px;
  color:var(--muted);
  font-size:14px
}
.pagination {
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:center;
  margin:32px 0;
  flex-wrap:wrap;
  font-size:12px
}
.pagination a {
  display:grid;
  place-items:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:9px;
  min-height:44px;
  padding:8px 16px
}
.badge {
  display:inline-flex;
  border-radius:5px;
  background:#f4ede5;
  padding:2px 9px;
  color:#856244;
  font-size:10px
}
.site-footer {
  border-top:1px solid var(--line);
  background:#fff
}
.footer-main,.footer-bottom {
  max-width:var(--max);
  margin:auto;
  padding:48px 40px;
  display:flex;
  justify-content:space-between;
  gap:70px
}
.footer-brand {
  max-width:430px
}
.footer-brand p {
  font-size:12px;
  color:var(--muted);
  margin:18px 0 0;
  line-height:2
}
.footer-main nav {
  display:flex;
  flex-direction:column;
  min-width:140px;
  gap:5px
}
.footer-main h2 {
  font-size:13px;
  margin:0 0 10px
}
.footer-main nav a {
  font-size:12px;
  color:var(--muted);
  min-height:34px;
  display:flex;
  align-items:center
}
.footer-main nav a:hover {
  color:var(--accent)
}
.footer-bottom {
  padding-block:20px;
  border-top:1px solid var(--line);
  font-size:10px;
  color:var(--muted)
}
table {
  width:100%;
  border-collapse:collapse
}
th,td {
  text-align:start;
  padding:12px;
  border-bottom:1px solid var(--line)
}
article {
  overflow-wrap:anywhere
}
.search-form {
  display:flex;
  gap:12px;
  margin-bottom:30px
}
.search-form input {
  flex:1
}
.section-space {
  margin-top:48px
}
@media(min-width:1500px) {
  .container {
  padding-top:50px
}
.hero-grid {
  gap:70px
}
}
@media(max-width:1100px) {
  .header {
  padding-inline:28px;
  gap:25px
}
.header-tools {
  gap:16px
}
.desktop-nav {
  gap:20px
}
.brand-type small {
  display:none
}
.account {
  gap:12px
}
.header-search {
  padding-inline:28px
}
.container {
  padding-inline:28px
}
.hero-grid {
  gap:30px
}
.content-layout {
  grid-template-columns:minmax(0,1fr) 280px;
  gap:22px
}
.article-grid {
  gap:16px
}
.article-content {
  padding:18px
}
.category-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.search-hint {
  display:none
}
}
@media(max-width:900px) {
  .header {
  min-height:82px;
  padding:12px 22px
}
.desktop-nav {
  display:none
}
.menu-toggle {
  display:block
}
.header-tools {
  gap:12px
}
.login-link,.account-name {
  display:none
}
.brand-logo {
  width:42px;
  height:49px
}
.brand-logo img {
  width:98px;
  height:98px;
  left:-27px;
  top:-12px
}
.brand-type {
  font-size:23px
}
.header-search {
  padding:0 22px 12px
}
.header-search form {
  max-width:none
}
.hero-grid {
  grid-template-columns:1fr 1fr;
  gap:24px
}
.hero-copy h1 {
  font-size:34px
}
.hero-art {
  min-height:310px
}
.content-layout {
  grid-template-columns:1fr
}
.sidebar {
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin-top:10px
}
.footer-main {
  gap:35px;
  padding:36px 28px
}
.footer-brand {
  max-width:340px
}
.footer-main nav {
  min-width:100px
}
}
@media(max-width:620px) {
  html {
  scroll-padding-top:140px
}
.header {
  padding:10px 16px;
  gap:12px;
  min-height:74px
}
.header-tools {
  gap:8px
}
.brand {
  gap:3px
}
.brand-type {
  font-size:21px
}
.brand-logo {
  width:36px;
  height:44px
}
.brand-logo img {
  width:88px;
  height:88px;
  left:-25px;
  top:-10px
}
.language-control {
  padding:2px
}
.language-control a {
  min-width:27px;
  min-height:34px;
  font-size:10px
}
.account .button.small {
  padding:8px 12px;
  min-height:42px;
  font-size:11px
}
.account .button span {
  display:none
}
.account {
  gap:8px
}
.account>a:not(.button),.account form {
  display:none
}
.header-search {
  padding:0 16px 12px
}
.header-search form {
  padding-inline:12px
}
.header-search input {
  font-size:11px
}
.header-search button[type=submit] {
  font-size:11px
}
.container {
  padding:26px 18px 48px
}
.hero-grid {
  grid-template-columns:1fr;
  gap:22px;
  margin-bottom:36px
}
.hero-copy {
  padding:0
}
.hero-copy h1 {
  font-size:33px;
  line-height:1.65
}
.hero-copy p {
  font-size:13px
}
.hero-actions {
  margin-top:22px
}
.hero-art {
  min-height:280px
}
.eyebrow {
  font-size:11px;
  margin-bottom:12px
}
.article-grid,.grid,.cards,.category-grid,.sidebar {
  grid-template-columns:1fr
}
.article-art {
  height:195px
}
.section-header {
  gap:12px;
  margin-bottom:18px
}
.section-header h2 {
  font-size:20px
}
.section-header>a {
  font-size:10px
}
.content-layout {
  gap:24px
}
.article-content {
  padding:22px
}
.topic-list {
  padding:0 17px
}
.topic-row {
  gap:12px;
  padding:20px 0;
  flex-wrap:wrap
}
.topic-main {
  min-width:150px
}
.topic-stats {
  min-width:auto;
  margin-inline-start:54px;
  text-align:start
}
.topic-stats strong {
  display:inline;
  font-size:12px;
  margin-inline-end:5px
}
.form-panel {
  padding:24px 20px
}
.panel,.card,.category-card,.post,.discussion {
  padding:22px
}
.page-heading {
  margin-bottom:26px
}
.page-heading h1 {
  font-size:29px
}
.footer-main {
  padding:32px 22px;
  flex-wrap:wrap;
  gap:28px
}
.footer-brand {
  max-width:none;
  width:100%
}
.footer-main nav {
  flex:1;
  min-width:100px
}
.footer-bottom {
  padding:20px 22px;
  gap:12px;
  flex-wrap:wrap
}
.search-form {
  flex-wrap:wrap
}
.search-form input {
  flex-basis:100%
}
.prose {
  font-size:14px
}
.button {
  font-size:12px;
  min-height:46px;
  padding:10px 18px
}
}
@media(max-width:360px) {
  .brand-type {
  font-size:18px
}
.brand-logo {
  width:31px
}
.header {
  padding-inline:12px
}
.header-tools {
  gap:5px
}
.account .button.small {
  padding-inline:9px
}
.language-control a {
  min-width:24px
}
.menu-toggle {
  width:40px;
  padding:10px
}
.container {
  padding-inline:15px
}
.hero-copy h1 {
  font-size:30px
}
}
@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}
*,*:before,*:after {
  transition:none!important;
  animation:none!important
}
}
/* Editorial artwork uses actual discussion content, without extra image requests. */
.hero-window {
  position:absolute;
  inset:32px 27px;
  background:#fffdfb;
  border:1px solid #d9c9bd;
  border-radius:15px;
  box-shadow:0 18px 35px #694a3214;
  transform:rotate(-3deg);
  padding:20px
}
.window-bar {
  display:flex;
  align-items:center;
  gap:5px;
  padding-bottom:15px;
  border-bottom:1px solid var(--line);
  margin-bottom:12px;
  direction:ltr
}
.window-bar span {
  width:7px;
  height:7px;
  border-radius:50%;
  background:#d5c8bd
}
.window-bar span:first-child {
  background:#d57357
}
.window-label {
  font-size:10px;
  color:var(--accent);
  margin:12px 0
}
.window-topic {
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  font-size:11px;
  line-height:1.8
}
.window-topic:last-child {
  border-bottom:0
}
.window-topic .avatar {
  width:32px;
  height:32px;
  font-size:11px;
  border-radius:9px
}
.window-topic small {
  font-size:9px
}
.community-stats {
  display:flex;
  flex-wrap:wrap;
  gap:25px;
  border-top:1px solid var(--line);
  margin-top:28px;
  padding-top:20px
}
.stat {
  font-size:11px;
  color:var(--muted)
}
.stat strong {
  font-size:21px;
  display:block;
  color:var(--ink);
  line-height:1.6
}
.sidebar-links {
  display:grid;
  gap:3px
}
.sidebar-links a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  min-height:44px;
  border-bottom:1px solid var(--line);
  font-size:12px
}
.sidebar-links a:last-child {
  border-bottom:0
}
.article-number {
  position:absolute;
  inset-inline-start:22px;
  top:15px;
  font-size:10px;
  font-family:monospace;
  color:#6e5146;
  letter-spacing:2px
}
.article-symbol {
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:84px;
  font-family:monospace;
  font-weight:500;
  color:#754c3d;
  line-height:1
}
.art-lilac .article-symbol {
  color:#695c8b
}
.art-mint .article-symbol {
  color:#536f59
}
.article-art:after {
  content:'';
  width:150px;
  height:150px;
  border:1px solid #ffffff70;
  border-radius:50%;
  position:absolute;
  inset-inline-end:-30px;
  top:-55px;
  pointer-events:none
}
.thread-post {
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  margin-bottom:22px
}
.author-rail {
  padding:26px 20px;
  background:#faf8f5;
  border-inline-end:1px solid var(--line);
  display:flex;
  align-items:center;
  flex-direction:column;
  gap:8px;
  text-align:center;
  font-size:12px
}
.author-rail .avatar {
  width:48px;
  height:48px
}
.author-rail small {
  font-size:10px
}
.post-content {
  padding:28px;
  min-width:0
}
.post-content .meta {
  padding-bottom:18px;
  margin-bottom:18px;
  border-bottom:1px solid var(--line)
}
.thread-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:24px 0
}
.form-intro {
  color:var(--muted);
  font-size:13px;
  line-height:2
}
.form-footer {
  border-top:1px solid var(--line);
  margin-top:25px;
  padding-top:18px;
  font-size:12px;
  color:var(--muted)
}
.form-footer a {
  color:var(--accent)
}
.language-badge {
  font-size:10px;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:5px;
  padding:2px 7px;
  display:inline-block;
  vertical-align:middle
}
.search-fields {
  display:flex;
  gap:12px;
  margin:24px 0 32px
}
.search-fields input {
  flex:1
}
.reading-header {
  padding-bottom:25px;
  margin-bottom:30px;
  border-bottom:1px solid var(--line)
}
.reading-header h1 {
  font-size:clamp(28px,3vw,42px)
}
.reading-header .meta {
  display:flex;
  flex-wrap:wrap;
  gap:14px
}
@media(max-width:620px) {
  .hero-window {
  inset:25px 24px;
  padding:16px
}
.window-topic {
  padding:9px 0;
  font-size:10px
}
.window-bar {
  padding-bottom:10px;
  margin-bottom:8px
}
.community-stats {
  gap:24px
}
.thread-post {
  grid-template-columns:1fr
}
.author-rail {
  flex-direction:row;
  text-align:start;
  padding:16px 20px;
  border-inline-end:0;
  border-bottom:1px solid var(--line)
}
.author-rail .avatar {
  width:38px;
  height:38px
}
.post-content {
  padding:22px
}
.search-fields {
  flex-wrap:wrap
}
.search-fields input {
  flex-basis:100%
}
}
.hero-art {
  min-height:400px;
  background:radial-gradient(circle at 85% 20%,#f6e7c7 0,transparent 42%),#eddfd4
}
.hero-window {
  inset:32px 28px 36px
}
.window-bar span {
  width:auto;
  height:auto;
  background:none!important;
  white-space:nowrap;
  font-size:9px;
  color:#a8907e;
  letter-spacing:3px
}
.window-bar span:last-child {
  margin-inline-start:auto;
  letter-spacing:1px;
  color:#6c625c
}
.window-topic {
  display:grid;
  grid-template-columns:32px minmax(0,1fr) 12px;
  gap:10px;
  min-height:65px
}
.window-topic .category-icon {
  width:30px;
  height:32px;
  font-size:17px;
  border-radius:8px
}
.window-topic strong {
  display:block;
  font-size:10px;
  font-weight:650;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.window-topic small {
  display:block;
  font-size:8px
}
.window-footer {
  margin-top:16px;
  font-size:9px;
  color:#826554;
  display:flex;
  align-items:center;
  gap:8px
}
.window-footer span {
  color:var(--accent);
  font-size:18px
}
.hero-spark {
  position:absolute;
  inset-inline-end:8px;
  bottom:-7px;
  font-size:88px;
  line-height:1;
  color:var(--accent);
  transform:rotate(15deg);
  text-shadow:0 3px #f1dfd1
}
.home-discussions {
  margin-top:45px
}
.join-panel {
  background:#f4e6dc;
  border-color:#e9d8ca
}
.join-panel .category-icon {
  background:#fff9f3;
  margin-bottom:20px
}
.join-panel h2 {
  font-size:23px;
  line-height:1.7
}
.join-panel p {
  font-size:12px;
  color:#705f53;
  line-height:2
}
.join-panel .button {
  margin-top:6px
}
.read-link {
  color:var(--accent);
  font-size:12px;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  gap:10px
}
.search-heading {
  margin-bottom:28px
}
.article-source {
  border-top:1px solid var(--line);
  margin-top:32px;
  padding-top:20px;
  font-size:12px;
  color:var(--muted);
  overflow-wrap:anywhere
}
.article-source a {
  color:var(--accent)
}
.reply-form {
  margin-top:35px
}
.reply-form h2 {
  font-size:21px
}
.community-stats {
  margin:-16px 0 46px;
  padding:23px 0;
  border-bottom:1px solid var(--line);
  gap:55px
}
.community-stats p {
  margin:0;
  margin-inline-start:auto;
  font-size:11px;
  color:var(--muted);
  line-height:1.8
}
.brand-logo img {
  top:-22px
}
@media(max-width:900px) {
  .brand-logo img {
  top:-18px
}
.hero-art {
  min-height:370px
}
.hero-window {
  inset:25px 20px
}
.community-stats {
  gap:35px
}
}
@media(max-width:620px) {
  .brand-logo img {
  top:-16px
}
.hero-art {
  min-height:360px
}
.hero-window {
  inset:27px 24px 30px
}
.community-stats {
  gap:25px;
  margin-top:0;
  margin-bottom:32px
}
.community-stats p {
  width:100%;
  margin:0
}
.hero-spark {
  font-size:70px
}
.window-topic strong {
  font-size:10px
}
}
.article-art {
  display: block;
}
.article-art > span:last-child:not(.article-symbol) {
  position: absolute;
  inset-inline-start: 22px;
  bottom: 17px;
  color: #70594f;
  font: 10px/1.5 monospace;
  letter-spacing: 1px;
}
.article-content > .article-meta {
  border-top: 0;
  padding-top: 0;
  align-items: center;
  margin-bottom: 12px;
}
.article-meta .article-category {
  margin: 0;
}
.article-meta time {
  margin-inline-start: auto;
}
/* Keep the supplied image intact; expose only its squirrel in the brand slot. */
.brand-logo {
  height: 48px;
}
.brand-logo img {
  top: -23px;
}
.article-number, .article-symbol {
  display: none;
}
.article-art {
  aspect-ratio: 16 / 9;
  height: auto;
}
.article-art:after {
  display: none;
}
.article-art img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article-art.brand-cover img {
  object-fit: contain;
  padding: 20px;
  background: white;
}
@media (max-width: 900px) {
  .brand-logo {
    height: 42px;
  }
  .brand-logo img {
    top: -20px;
  }
}
@media (max-width: 620px) {
  .brand-logo {
    height: 38px;
  }
  .brand-logo img {
    top: -18px;
  }
}
.forum-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 44px; align-items: start; }
.forum-section .section-header { margin-bottom: 12px; }
.forum-section .section-header h3 { margin: 0; font-size: 18px; }
.forum-child-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.forum-child-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 12px; }
.forum-child-list a > span:first-child { overflow-wrap: anywhere; }
.forum-child-list .meta { flex-shrink: 0; font-size: 10px; }
.child-categories { margin-bottom: 32px; }
.child-categories h2 { font-size: 19px; }
.child-categories a { display: inline-flex; align-items: center; min-height: 44px; margin-inline-end: 24px; font-size: 13px; }
@media (max-width: 900px) { .forum-sections { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .forum-child-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   Dark Mode (aitechfeed.ir-inspired WCAG AA tokens) & Upgraded Components
   ========================================================================== */
html[data-theme="dark"] {
  --paper: #111216;
  --surface: #1a1c23;
  --ink: #f0eff4;
  --muted: #a1a1aa;
  --line: #2a2d37;
  --accent: #e0683c;
  --accent-dark: #f07d52;
  --pink: #3a2320;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  --ref-navy: #e2e8f0;
  --ref-orange: #e0683c;
  --ref-soft: #22252f;
  --ref-border: #2a2d37;
  color-scheme: dark;
}
html[data-theme="dark"] body {
  background: var(--paper);
  color: var(--ink);
}
html[data-theme="dark"] .brand-type {
  color: #f0eff4;
}
html[data-theme="dark"] .brand-logo {
  border-radius: 10px;
}
html[data-theme="dark"] .skip {
  background: var(--surface);
  color: var(--ink);
}
html[data-theme="dark"] .language-control [aria-current] {
  background: var(--surface);
  color: var(--accent);
}
html[data-theme="dark"] .button-secondary,
html[data-theme="dark"] .pagination a,
html[data-theme="dark"] .article-card,
html[data-theme="dark"] .topic-list,
html[data-theme="dark"] .thread-post,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .ref-subjects,
html[data-theme="dark"] .ref-track,
html[data-theme="dark"] .ref-board-section {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
html[data-theme="dark"] .button-secondary:hover {
  background: #252834;
  color: var(--ink);
}
html[data-theme="dark"] .header-search form,
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select,
html[data-theme="dark"] .author-rail,
html[data-theme="dark"] .ref-board-row:nth-child(odd) {
  background: #14161c;
  color: var(--ink);
  border-color: var(--line);
}
html[data-theme="dark"] .empty,
html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .ref-archive-strip,
html[data-theme="dark"] .ref-archive-notice,
html[data-theme="dark"] .ref-board-legend {
  background: #1e212a;
  color: var(--muted);
  border-color: var(--line);
}
html[data-theme="dark"] .ref-archive-strip h2,
html[data-theme="dark"] .ref-hero h1,
html[data-theme="dark"] .ref-section-heading h2,
html[data-theme="dark"] .ref-board-heading h1,
html[data-theme="dark"] .ref-board-name strong {
  color: var(--ink);
}
html[data-theme="dark"] .ref-hero-copy > p:not(.eyebrow),
html[data-theme="dark"] .ref-subjects p,
html[data-theme="dark"] .ref-track p,
html[data-theme="dark"] .ref-section-note,
html[data-theme="dark"] .ref-subject-nav > span,
html[data-theme="dark"] .ref-board-heading p:not(.eyebrow),
html[data-theme="dark"] .ref-board-count,
html[data-theme="dark"] .ref-board-name small,
html[data-theme="dark"] .ref-archive-notice p {
  color: var(--muted);
}
html[data-theme="dark"] .ref-photo-mobile {
  border-color: var(--paper);
}
html[data-theme="dark"] .ref-board-section > header {
  background: #232734;
}
html[data-theme="dark"] .ref-archive-badge,
html[data-theme="dark"] .badge,
html[data-theme="dark"] .category-icon {
  background: #262a36;
  color: var(--ink);
  border-color: var(--line);
}
html[data-theme="dark"] .article-meta {
  border-top-color: var(--line);
}
html[data-theme="dark"] .message {
  background: #1d2b22;
  border-color: #2f4b39;
  color: #dff4e6;
}
html[data-theme="dark"] .article-art.brand-cover img {
  background: #14161c;
}

/* Header Theme Toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  transition: border-color .18s, background .18s, color .18s;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hub Pills & Category Strip */
.hub-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  margin-bottom: 24px;
  scrollbar-width: thin;
}
.hub-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color .16s, background .16s, color .16s, transform .16s;
}
.hub-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.hub-pill[aria-current="page"],
.hub-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.hub-pill .pill-count {
  font-size: 11px;
  opacity: 0.8;
  font-variant-numeric: tabular-nums;
}

/* Rich Markdown Prose */
.prose.prose-markdown {
  white-space: normal;
  line-height: 2.05;
}
.prose.prose-markdown h2 {
  font-size: 23px;
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.prose.prose-markdown h3 {
  font-size: 18px;
  margin: 26px 0 10px;
}
.prose.prose-markdown ul,
.prose.prose-markdown ol {
  margin: 0 0 22px;
  padding-inline-start: 26px;
}
.prose.prose-markdown li {
  margin-bottom: 8px;
}
.prose.prose-markdown a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.prose.prose-markdown blockquote {
  margin: 22px 0;
  padding: 14px 18px;
  border-inline-start: 4px solid var(--accent);
  background: var(--paper);
  border-radius: 10px;
  color: var(--ink);
}
.prose.prose-markdown blockquote p:last-child {
  margin-bottom: 0;
}
.prose.prose-markdown table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.prose.prose-markdown thead th {
  background: var(--paper);
  font-weight: 700;
  color: var(--ink);
}
.prose.prose-markdown th,
.prose.prose-markdown td {
  padding: 11px 14px;
  border: 1px solid var(--line);
}
.prose.prose-markdown code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 6px;
  direction: ltr;
  unicode-bidi: embed;
}
.prose.prose-markdown pre {
  position: relative;
  direction: ltr;
  text-align: left;
  background: #14161f;
  color: #f0eff4;
  border: 1px solid #2a2d37;
  border-radius: 12px;
  padding: 18px 20px;
  overflow-x: auto;
  margin: 22px 0;
  font-size: 13px;
  line-height: 1.75;
}
.prose.prose-markdown pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* Callouts */
.callout {
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  border-inline-start-width: 4px;
  background: var(--paper);
}
.callout p:last-child {
  margin-bottom: 0;
}
.callout-note {
  border-inline-start-color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}
.callout-tip {
  border-inline-start-color: #15803d;
  background: rgba(21, 128, 61, 0.09);
}
.callout-warning {
  border-inline-start-color: #d97706;
  background: rgba(217, 119, 6, 0.1);
}
html[data-theme="dark"] .callout-note {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.3);
  border-inline-start-color: #60a5fa;
}
html[data-theme="dark"] .callout-tip {
  background: rgba(34, 197, 94, 0.13);
  border-color: rgba(34, 197, 94, 0.28);
  border-inline-start-color: #4ade80;
}
html[data-theme="dark"] .callout-warning {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.3);
  border-inline-start-color: #fbbf24;
}

/* Copy Button */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  transition: background .15s, border-color .15s, color .15s;
}
.copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
pre .copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #232635;
  color: #f0eff4;
  border-color: #3a3f54;
}
pre .copy-btn:hover {
  border-color: var(--accent);
  color: #fff;
}

/* Table of Contents & FAQ Accordion */
.toc-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 28px;
}
.toc-box h2 {
  font-size: 15px;
  margin: 0 0 10px;
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.toc-list a {
  font-size: 13px;
  color: var(--muted);
  display: inline-block;
  padding: 2px 0;
}
.toc-list a:hover {
  color: var(--accent);
}
.toc-level-3 {
  padding-inline-start: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.faq-list details[open] summary::after {
  content: '−';
}
.faq-list details[open] summary {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.faq-answer {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}

/* Metadata & Tag Pills */
.meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}
.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12px;
  color: var(--muted);
}
.tag-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Catalog / Prices / Devices */
.filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 24px;
}
.filter-bar label {
  font-size: 12px;
  margin-bottom: 6px;
}
.filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.device-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform .18s, border-color .18s;
  min-width: 0;
}
.device-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.device-card h3 {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.device-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.price-badge small {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.price-change {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  direction: ltr;
}
.price-change.up {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}
.price-change.down {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}
.price-change.flat {
  background: var(--paper);
  color: var(--muted);
}
html[data-theme="dark"] .price-change.up {
  color: #fca5a5;
}
html[data-theme="dark"] .price-change.down {
  color: #86efac;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
}
.spec-row span:first-child {
  color: var(--muted);
}
.spec-row strong {
  color: var(--ink);
  text-align: end;
}

.sparkline-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.sparkline-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.compare-table th,
.compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th {
  background: var(--paper);
  font-weight: 750;
}

/* Feed Cards & AI Tools Calculators */
.feed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.feed-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: border-color .18s, transform .18s;
}
.feed-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.feed-card h3 {
  font-size: 18px;
  margin: 0;
  line-height: 1.7;
}
.feed-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}
.tool-calculator {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}
.tool-calculator h2 {
  font-size: 20px;
  margin: 0;
}
.calc-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.calc-output {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.calc-metric span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.calc-metric strong {
  font-size: 18px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.prompt-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  gap: 12px;
}
.prompt-preview {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  font-size: 13px;
  color: var(--muted);
  white-space: pre-wrap;
  max-height: 180px;
  overflow: auto;
}

@media (max-width: 1050px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .price-grid,
  .feed-grid,
  .tool-grid,
  .specs-grid,
  .calc-fields {
    grid-template-columns: 1fr;
  }
}
