:root {
  --paper: #faf9f6;
  --surface: #fff;
  --ink: #292f29;
  --muted: #686f65;
  --line: #e9e9e1;
  --soft: #eff2e9;
  --brand: #536b48;
  --brand2: #73815b;
  --accent: #be8d66;
  --bg: var(--paper);
  --bs-primary: #536b48;
  --bs-primary-rgb: 83, 107, 72;
  --bs-link-color: #536b48;
  --bs-link-hover-color: #3c5133;
  --bs-body-font-family: 'Vazirmatn', Tahoma, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
  --bs-border-color: var(--line);
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.9 'Vazirmatn', Tahoma, sans-serif; background: var(--paper); color: var(--ink); }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand2); }
button, input, select, textarea { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #b6c5a4; outline-offset: 3px; }
img, video { max-width: 100%; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 800; line-height: 1.65; }
h1 { font-size: 32px; letter-spacing: -.8px; }
h2 { font-size: 25px; letter-spacing: -.6px; }
h3 { font-size: 17px; }
.muted, .text-muted { color: var(--muted) !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; right: 20px; z-index: 100; padding: 10px 20px; background: var(--brand); color: white; border-radius: 10px; }
.skip-link:focus { top: 10px; }
.site-container { width: min(1220px, calc(100% - 64px)); margin-inline: auto; }
.site-main { min-height: 45vh; padding-top: 32px; padding-bottom: 40px; }
.announcement { min-height: 34px; padding: 5px 16px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; background: #ecefe5; color: #6d795e; font-size: 10px; }
.announcement a { margin-right: 10px; color: #536b48; font-weight: 600; }
.announcement a span { margin-right: 7px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #7b956a; display: inline-block; flex-shrink: 0; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.site-brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font: 800 22px/1.5 'Vazirmatn', sans-serif; letter-spacing: -.8px; }
.site-brand:hover { color: var(--ink); }
.site-brand small { display: block; color: var(--muted); font-size: 9px; font-weight: 400; letter-spacing: 0; }
.brand-symbol { position: relative; display: grid; place-items: center; width: 41px; height: 43px; border-radius: 13px; background: #edf0e7; color: #536b48; font: 700 36px Georgia, serif; }
.brand-symbol>span { position: absolute; top: 0; left: 4px; font: 12px sans-serif; }
.site-navigation { display: flex; align-items: center; gap: 25px; }
.site-navigation a { color: #777d72; font-size: 12px; padding: 10px 0; white-space: nowrap; }
.site-navigation a.active { color: var(--brand); font-weight: 700; }
.site-navigation a:hover { color: var(--ink); }
.header-actions { display: flex; gap: 11px; align-items: center; }
.icon-btn { display: inline-flex; justify-content: center; align-items: center; width: 33px; height: 36px; padding: 0; color: #747b6c; border: 0; border-radius: 10px; background: transparent; font-size: 17px; }
.icon-btn:hover { color: var(--brand); background: var(--soft); }
.cart-link { position: relative; }
.cart-badge { position: absolute; top: -3px; left: -2px; display: grid; place-items: center; background: var(--brand); color: #fff; min-width: 16px; height: 16px; padding: 1px 4px; border-radius: 6px; font-size: 9px; }
.admin-access { display: flex; gap: 5px; align-items: center; font-size: 10px; }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 21px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 600; transition: .15s ease; white-space: nowrap; }
.button:hover { border-color: #b2bea4; color: var(--brand); background: var(--soft); transform: translateY(-1px); }
.button.primary { background: var(--brand); border-color: var(--brand); color: white; }
.button.primary:hover { background: #425939; border-color: #425939; }
.button-small { min-height: 37px; padding: 7px 13px; font-size: 11px; }
.text-link { color: var(--brand); font-size: 12px; font-weight: 600; }
.text-link:hover { text-decoration: underline; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; color: var(--brand); margin-bottom: 12px; }
.tiny-label { font-size: 9px; letter-spacing: 2px; }
.store-hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 70px; min-height: 480px; padding: 27px 0 49px; }
.hero-copy h1 { font-size: clamp(32px,3.5vw,46px); line-height: 1.8; font-weight: 900; letter-spacing: -1.7px; margin: 3px 0 17px; }
.hero-copy h1 em { font-style: normal; color: var(--brand); position: relative; }
.hero-copy h1 em:after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 7px; border-top: 2px solid #b8c6a7; border-radius: 50%; transform: rotate(-2deg); }
.hero-copy>p { color: var(--muted); font-size: 13px; line-height: 2.25; max-width: 520px; margin-bottom: 24px; }
.hero-search { border: 1px solid #dddeda; border-radius: 13px; padding: 6px; padding-right: 17px; display: flex; gap: 11px; align-items: center; background: var(--surface); box-shadow: 0 6px 25px #39442f04; max-width: 530px; }
.hero-search>i { color: var(--muted); font-size: 16px; }
.hero-search input { width: 100%; min-width: 0; padding: 9px 0; border: 0; background: transparent; color: var(--ink); font-size: 11px; }
.hero-search .button { min-height: 43px; padding: 10px 20px; font-size: 11px; }
.hero-highlights { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; font-size: 9px; color: var(--muted); margin-top: 22px; }
.hero-highlights span { display: flex; align-items: center; gap: 5px; }
.hero-highlights i { color: #8a9e78; font-size: 13px; }
.hero-studio { position: relative; padding: 39px 24px 20px; background: radial-gradient(ellipse at 50% 45%, #e8ecde, transparent 73%); }
.hero-studio:before { content: ''; position: absolute; top: 8%; right: 0; bottom: 6%; left: 0; border: 1px solid #dce3d1; border-radius: 50%; transform: rotate(-18deg); pointer-events: none; }
.studio-star { position: absolute; font-size: 55px; line-height: 1; color: #a8b796; left: 5px; top: -3px; transform: rotate(15deg); }
.studio-label { position: absolute; right: 31px; top: 6px; font-size: 8px; letter-spacing: 2px; color: #9ba78e; direction: ltr; }
.studio-window { position: relative; border: 1px solid #e4e7db; border-radius: 19px; background: var(--surface); transform: rotate(-2deg); box-shadow: 0 25px 55px #495c3820; padding: 0 20px; max-width: 400px; margin: 0 auto; }
.studio-window-bar { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; color: #b5b9ac; border-bottom: 1px solid var(--line); }
.studio-window-bar>span:first-child { display: flex; gap: 4px; }
.studio-window-bar i { width: 5px; height: 5px; border-radius: 50%; background: #d8ddcf; }
.studio-window-bar small { font-size: 9px; }
.studio-heading { display: flex; gap: 13px; align-items: center; padding: 23px 0 20px; }
.studio-heading h2 { font-size: 16px; letter-spacing: -.3px; margin: 0; }
.studio-heading p { font-size: 9px; color: var(--muted); margin: 3px 0 0; }
.studio-spark { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 12px; background: var(--soft); color: var(--brand); font-size: 25px; }
.studio-agent { display: flex; align-items: center; gap: 11px; padding: 11px 12px; margin-bottom: 9px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--ink); }
.studio-agent:hover { border-color: #becbad; }
.agent-mini-icon { width: 39px; height: 39px; border-radius: 11px; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; font-size: 23px; overflow: hidden; flex-shrink: 0; }
.agent-mini-icon img { width: 100%; height: 100%; object-fit: cover; }
.studio-agent strong { display: block; font-size: 11px; font-weight: 600; }
.studio-agent small { font-size: 9px; color: var(--muted); display: block; }
.studio-arrow { margin-right: auto; color: #9ba88d; font-size: 18px; }
.studio-footer { display: flex; gap: 7px; align-items: center; padding: 11px 0 15px; font-size: 9px; color: #97a087; }
.studio-footer>span:last-child { margin-right: auto; font-size: 19px; }
.floating-note { position: absolute; display: flex; gap: 10px; align-items: center; left: -12px; bottom: -2px; background: #f5eddc; border: 1px solid #e7ddc3; border-radius: 12px; padding: 13px 19px; transform: rotate(4deg); box-shadow: 0 10px 20px #6e62430b; }
.floating-note>span { color: #b6975f; font-size: 27px; }
.floating-note>div { font-size: 11px; color: #7b6d50; font-weight: 600; }
.floating-note small { display: block; font-size: 8px; font-weight: 400; color: #a29880; }
.benefit-strip { border-block: 1px solid var(--line); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: #8a9082; }
.benefit-strip>span { display: flex; align-items: center; gap: 10px; }
.benefit-strip>span:first-child { font-size: 10px; color: #a0a696; }
.benefit-strip i { font-size: 19px; color: #9aa98a; }
.store-section { margin-top: 65px; margin-bottom: 30px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 27px; }
.section-heading h2 { margin: 0; }
.section-heading p { color: var(--muted); font-size: 12px; margin: 10px 0 0; }
.section-heading .eyebrow { margin-bottom: 4px; }
.category-pills { display: flex; gap: 9px; overflow-x: auto; padding: 0 0 22px; scrollbar-width: thin; }
.category-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 9px; font-size: 11px; color: #858c7b; white-space: nowrap; background: var(--surface); }
.category-pills a.selected { background: #edf1e6; color: #5d744d; border-color: #dbe3ce; }
.category-pills a span { font-size: 9px; color: #9fa795; }
.agent-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.product-card { border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; min-width: 0; }
.product-card:hover { box-shadow: 0 15px 30px #48523909; transform: translateY(-4px); border-color: #d5ddcb; }
.product-visual { position: relative; display: flex; align-items: center; justify-content: center; height: 205px; margin: 9px 9px 0; border-radius: 11px; overflow: hidden; background: var(--product-bg,var(--soft)); }
.product-visual img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.product-card:hover .product-visual img { transform: scale(1.035); }
.product-emoji { font-size: 74px; filter: drop-shadow(0 8px 9px #444a3a16); }
.product-category { position: absolute; top: 12px; right: 12px; font-size: 9px; border: 1px solid #ffffff80; background: #ffffffe0; color: #747b6c; border-radius: 7px; padding: 4px 9px; }
.product-favorite { position: absolute; top: 11px; left: 13px; color: #a18c4d; font-size: 24px; }
.video-chip { position: absolute; bottom: 12px; right: 12px; background: #ffffffde; color: #616e53; border: 1px solid #ffffff80; border-radius: 8px; padding: 4px 8px; font-size: 9px; display: flex; align-items: center; gap: 5px; }
.product-body { padding: 21px 21px 18px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 16px; margin: 0 0 9px; }
.product-body h3 a { color: var(--ink); }
.product-body>p { font-size: 11px; color: var(--muted); line-height: 2.1; margin-bottom: 17px; }
.product-specs { display: flex; align-items: center; gap: 20px; font-size: 10px; color: #a0a596; margin-top: auto; padding-bottom: 17px; }
.product-specs i { color: #9aa88e; margin-left: 4px; }
.product-bottom { border-top: 1px solid var(--line); padding-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-bottom small { font-size: 9px; color: var(--muted); display: block; margin-bottom: 2px; }
.product-bottom strong { font-size: 15px; font-weight: 800; color: var(--ink); }
.product-go { width: 38px; height: 38px; border: 1px solid #e1e6d9; border-radius: 11px; color: #7c8d68; background: #f4f6ef; display: grid; place-items: center; font-size: 21px; }
.product-go:hover { color: white; background: var(--brand); border-color: var(--brand); }
.how-section { margin: 65px 0 50px; border-radius: 18px; background: #f0f1e9; padding: 37px; display: grid; grid-template-columns: 1.05fr 1fr 1fr 1fr; gap: 30px; }
.how-section h2 { font-size: 25px; line-height: 1.8; margin-bottom: 15px; }
.how-section h3 { font-size: 14px; margin: 10px 0 13px; }
.how-section p { font-size: 11px; color: #929887; line-height: 2.2; margin: 0; }
.step-number { display: inline-block; color: #adb99a; font-size: 24px; font-weight: 500; margin: 6px 0 10px; border-bottom: 1px solid #d8dfcd; padding-bottom: 6px; }
.help-banner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 30px 36px; border: 1px solid var(--line); background: var(--surface); border-radius: 17px; margin: 50px 0 15px; }
.help-banner h2 { font-size: 22px; margin: 0; }
.help-banner .eyebrow { margin-bottom: 5px; }
.help-banner p { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.quote-card { border: 1px solid var(--line); border-radius: 15px; background: var(--surface); padding: 25px; display: flex; flex-direction: column; }
.quote-mark { font: 48px/1 Georgia,serif; color: #c8d2b9; }
.quote-card>p { font-size: 12px; line-height: 2.1; color: #838b78; margin: 10px 0 20px; flex: 1; }
.quote-card>div { display: flex; align-items: center; gap: 9px; }
.quote-card strong { font-size: 11px; }.review-stars { margin-right: auto; color: #ba9a5b; font-size: 10px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: var(--soft); color: var(--brand); font-size: 14px; font-weight: 700; flex-shrink: 0; }
.site-footer { background: #f2f3ed; border-top: 1px solid #e6e9df; padding: 45px 0 0; margin-top: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 35px; }
.footer-grid p { font-size: 11px; color: #909784; margin: 19px 0 0; line-height: 2.3; }
.footer-grid h3 { font-size: 12px; margin-bottom: 15px; }.footer-grid>div>a:not(.site-brand) { display: block; color: #929987; font-size: 11px; margin: 8px 0; }
.footer-note { border-right: 1px solid #dce1d3; padding-right: 30px; }
.footer-note .tiny-label { color: #a0aa92; font-size: 7px; }.footer-note strong { display: block; color: #738363; font-size: 21px; font-weight: 600; line-height: 1.8; margin-top: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid #dfe4d6; padding: 17px 0; font-size: 9px; color: #a0a793; }
.catalog-heading { padding: 18px 0 25px; }.catalog-heading h1 { margin: 0 0 10px; }.catalog-heading p { color: var(--muted); font-size: 12px; }
.catalog-filters { display: flex; align-items: center; gap: 10px; padding: 15px; border: 1px solid var(--line); background: var(--surface); border-radius: 13px; flex-wrap: wrap; }
.catalog-search { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 200px; padding: 0 8px; color: #a0a591; }
.catalog-search input { width: 100%; min-width: 0; border: 0; background: transparent; font-size: 12px; padding: 10px 0; color: var(--ink); }
.catalog-filters select { border: 1px solid var(--line); border-radius: 8px; padding: 11px 10px; background: var(--paper); color: #828a77; font-size: 11px; max-width: 200px; }
.video-filter { display: inline-flex; align-items: center; gap: 7px; margin: 0 5px; font-size: 11px; color: #818a76; white-space: nowrap; }.video-filter input { accent-color: var(--brand); }
.catalog-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 23px 0; font-size: 11px; color: var(--muted); flex-wrap: wrap; }
.catalog-meta>span:last-child { font-size: 10px; }
.store-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; font-size: 12px; color: var(--muted); margin: 35px 0; }
.store-empty { grid-column: 1/-1; text-align: center; padding: 65px 20px; color: var(--muted); border: 1px dashed #d9dfcf; border-radius: 15px; }
.store-empty>span { display: block; font-size: 42px; color: #b2c09f; margin-bottom: 16px; }.store-empty h3 { font-size: 17px; }.store-empty p { font-size: 12px; }
.store-breadcrumb { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--muted); padding: 0 0 26px; flex-wrap: wrap; }
.product-detail { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 30px; align-items: start; }.product-main { min-width: 0; }
.detail-art { position: relative; height: 340px; border-radius: 18px; display: flex; align-items: center; justify-content: center; overflow: hidden; }.detail-art img { width: 100%; height: 100%; object-fit: contain; }.detail-art>span:not(.art-favorite) { font-size: 110px; }.art-label { position: absolute; bottom: 20px; right: 22px; font-size: 9px; letter-spacing: 1px; color: #6f795e; }.art-favorite { position: absolute; top: 20px; right: 20px; background: #ffffffd9; color: #908254; border-radius: 8px; padding: 5px 12px; font-size: 10px; }
.detail-section { padding: 27px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); margin-top: 24px; }.detail-section h2 { font-size: 19px; }.detail-section .section-heading { margin-bottom: 20px; }.detail-section .eyebrow { font-size: 10px; }
.label-soft { display: inline-flex; gap: 5px; align-items: center; background: var(--soft); color: var(--brand); padding: 5px 10px; border-radius: 7px; font-size: 10px; }
.prose { font-size: 13px; line-height: 2.4; color: #818a76; overflow-wrap: anywhere; }.prose p:last-child { margin-bottom: 0; }
.agent-video-player { border-radius: 12px; overflow: hidden; background: #262d24; aspect-ratio: 16/9; }.agent-video-player video { width: 100%; height: 100%; object-fit: contain; display: block; }.video-error { font-size: 11px; margin-top: 12px; }
.video-placeholder { min-height: 235px; border: 1px dashed #d4ddc8; border-radius: 12px; background: linear-gradient(130deg,var(--paper),var(--soft)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 25px; text-align: center; }.play-outline { display: grid; place-items: center; width: 57px; height: 57px; border-radius: 50%; border: 1px solid #bdcbaa; color: #8b9d78; font-size: 25px; padding-right: 3px; }.video-placeholder strong { font-size: 13px; color: #7b886c; }.video-placeholder p { font-size: 11px; color: #a1aa95; margin: 0; }
.purchase-card { position: sticky; top: 24px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); padding: 28px; }.purchase-card h1 { font-size: 25px; margin: 0 0 15px; }.purchase-card>p { font-size: 12px; color: #8b9281; line-height: 2.1; }.purchase-card dl { margin: 22px 0 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); }.purchase-card dl>div { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 13px; font-size: 11px; }.purchase-card dt { font-weight: 400; color: #9ca48e; }.purchase-card dt i { margin-left: 6px; }.purchase-card dd { margin: 0; font-weight: 600; }.purchase-price { padding: 23px 0; }.purchase-price small { display: block; font-size: 11px; color: var(--muted); }.purchase-price strong { font-size: 27px; font-weight: 800; display: block; margin-top: 5px; }.purchase-button { display: flex; width: 100%; }.purchase-button>span { margin-right: auto; }.video-jump { display: block; text-align: center; font-size: 11px; color: #97a187; margin: 16px 0; }.purchase-note { display: flex; align-items: start; gap: 7px; border-top: 1px solid var(--line); padding-top: 17px; font-size: 10px; color: #a1a893; line-height: 2; }.purchase-note i { font-size: 13px; }
.io-sample { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 15px 0; }.io-sample>div { padding: 18px; min-width: 0; }.io-sample>div:last-child { background: var(--soft); border-right: 1px solid var(--line); }.io-sample span { font-size: 10px; color: var(--brand); }.io-sample p { font-size: 12px; color: #8b947e; line-height: 2.2; margin: 10px 0 0; overflow-wrap: anywhere; }
/* Shared Bootstrap pages inherit the same quiet palette. */
.card { border: 1px solid var(--line); border-radius: 15px; background: var(--surface); color: var(--ink); }.shadow-sm { box-shadow: 0 4px 18px #3b453008 !important; }.card-footer { border-top-color: var(--line); }.card h4,.card h5 { font-size: 18px; }.card h6 { font-size: 15px; }.btn { border-radius: 9px; font-size: 12px; padding: 9px 16px; }.btn-sm { font-size: 11px; padding: 5px 11px; }.btn-brand { background: var(--brand); border: 1px solid var(--brand); color: #fff; }.btn-brand:hover,.btn-brand:focus { color: #fff; background: #415a36; border-color: #415a36; }.btn-outline-primary { --bs-btn-color: var(--brand); --bs-btn-border-color: #cdd7c1; --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-active-bg: var(--brand); --bs-btn-active-border-color: var(--brand); }.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: #415a36; --bs-btn-hover-border-color: #415a36; }.text-primary { color: var(--brand) !important; }.bg-primary,.progress-bar { background-color: var(--brand) !important; }.bg-info { background: #e9eddf !important; color: #687954 !important; }.bg-success { background: #e4efdf !important; color: #5f7d4e !important; }.bg-danger { background: #f6e5e1 !important; color: #ab6f60 !important; }.bg-warning { background: #f5eedc !important; color: #a08a50 !important; }.bg-secondary { background: #eeeee8 !important; color: #919482 !important; }.badge { font-weight: 500; border-radius: 6px; padding: 6px 9px; font-size: 10px; }.alert { border-radius: 11px; font-size: 12px; }.alert-info { background: #eff1e9; border-color: #dce3d0; color: #748562; }.alert-warning { background: #faf5e8; border-color: #eee2bf; color: #9c895a; }.alert-success { background: #eef5e9; border-color: #d5e4c9; color: #698356; }.form-control,.form-select { border: 1px solid var(--line); background-color: var(--surface); color: var(--ink); border-radius: 9px; font-size: 13px; }.form-control:focus,.form-select:focus { border-color: #b5c6a4; box-shadow: 0 0 0 3px #9db18618; }.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }.table { --bs-table-bg: var(--surface); --bs-table-color: var(--ink); --bs-table-border-color: var(--line); --bs-table-striped-bg: var(--paper); font-size: 12px; }.table th { color: var(--muted); font-size: 11px; font-weight: 500; background: var(--paper); padding: 13px; }.table td { padding: 15px 13px; vertical-align: middle; }.list-group-item { background: var(--surface); color: var(--ink); border-color: var(--line); font-size: 13px; }.hero { background: #f0f2e9; color: var(--ink); border-radius: 18px; padding: 38px; }.hero h1 { font-size: 29px; }.hero .lead { font-size: 13px; color: #929b84; }.stat { font-weight: 800; font-size: 27px; color: var(--brand); }.agent-cat { display: inline-block; padding: 3px 10px; border-radius: 7px; color: var(--brand); background: var(--soft); font-size: 10px; }.progress { background: var(--soft); }.feature-ico { font-size: 24px; color: var(--brand); margin-bottom: 15px; }
form input[type=email],form input[type=password],form input[name=username] { direction: ltr; text-align: left; }
.auth-card { max-width: 480px; margin: 30px auto; }.auth-card input:not([type=checkbox]) { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; background: var(--paper); color: var(--ink); }
body.dark { --paper: #1d221c; --surface: #252b23; --ink: #e4e8dd; --muted: #a0a894; --line: #373e31; --soft: #303b29; --brand: #a7bd8f; --brand2: #bdcfa6; --bs-primary-rgb: 167,189,143; --bs-link-color: #a7bd8f; color-scheme: dark; }
.dark .announcement,.dark .site-footer { background: #252e21; border-color: var(--line); }.dark .announcement,.dark .announcement a { color: #a6b792; }.dark .button.primary,.dark .btn-brand { background: #738d5c; border-color: #738d5c; color: #fff; }.dark .brand-symbol { background: #35432c; color: #b9cda1; }.dark .category-pills a.selected,.dark .how-section,.dark .hero { background: #2b3425; }.dark .hero-studio { background: radial-gradient(ellipse,#35422b,transparent 73%); }.dark .hero-studio:before,.dark .studio-window,.dark .category-pills a.selected { border-color: #4e5e40; }.dark .floating-note { background: #423b2b; border-color: #5b5038; }.dark .floating-note>div { color: #d1be91; }.dark .footer-note,.dark .footer-bottom { border-color: var(--line); }.dark .product-category,.dark .video-chip,.dark .art-favorite { background: #283020e8; border-color: #435037; color: #c0ceae; }.dark .product-go { background: #34402c; border-color: #45523b; color: #b5c99d; }.dark .bg-white { background: var(--surface) !important; }.dark .thread-message,.dark .sample { background: var(--paper); }.dark .video-placeholder { border-color: #4a5d3b; }.dark .io-sample>div:last-child { border-color: var(--line); }.dark .store-empty { border-color: #4f6042; }
@media(min-width:1600px) { .site-container { width: min(1300px,calc(100% - 80px)); }.store-hero { min-height: 540px; }.product-visual { height: 230px; } }
@media(max-width:1100px) { .site-container { width: calc(100% - 48px); }.header-inner { gap: 16px; }.site-navigation { gap: 17px; }.site-navigation a { font-size: 11px; }.header-actions { gap: 7px; }.site-brand { font-size: 19px; }.store-hero { gap: 30px; }.hero-copy h1 { font-size: 37px; }.floating-note { left: 0; padding: 10px 13px; }.hero-highlights { gap: 10px; font-size: 8px; }.hero-studio { padding: 35px 15px 25px; }.benefit-strip { font-size: 10px; gap: 15px; }.benefit-strip i { font-size: 16px; }.how-section { gap: 20px; padding: 25px; }.how-section h2 { font-size: 22px; }.product-detail { grid-template-columns: minmax(0,1fr) 310px; gap: 22px; }.purchase-card { padding: 23px; }.product-body { padding: 18px; }.product-visual { height: 180px; }.product-body h3 { font-size: 14px; }.agent-grid { gap: 18px; }.footer-grid { gap: 25px; }.admin-access span { display: none; } }
@media(max-width:850px) { .site-navigation { position: absolute; display: none; top: 120px; right: 20px; left: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 15px; box-shadow: 0 12px 30px #0000000b; z-index: 50; flex-wrap: wrap; }.site-navigation.open { display: flex; }.menu-toggle { display: inline-flex; margin-right: auto; }.header-inner { min-height: 77px; }.header-actions { gap: 10px; }.store-hero { gap: 25px; min-height: 0; padding-top: 20px; }.hero-copy h1 { font-size: 31px; }.hero-copy>p { font-size: 11px; }.hero-search { padding-right: 11px; gap: 8px; }.hero-search .button { padding: 10px 13px; }.hero-search input { font-size: 10px; }.studio-heading h2 { font-size: 13px; }.studio-agent strong { font-size: 10px; }.studio-window { padding: 0 14px; }.hero-highlights { font-size: 8px; gap: 10px; }.hero-highlights span:last-child { display: none; }.studio-star { font-size: 43px; top: 0; }.studio-label { font-size: 7px; right: 15px; }.agent-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.product-visual { height: 215px; }.product-body h3 { font-size: 16px; }.how-section { grid-template-columns: 1fr 1fr; gap: 28px; }.benefit-strip>span:first-child { display: none; }.product-detail { grid-template-columns: minmax(0,1fr) 280px; gap: 18px; }.detail-art { height: 260px; }.purchase-card { padding: 20px; }.purchase-card h1 { font-size: 21px; }.purchase-price strong { font-size: 23px; }.detail-section { padding: 20px; }.detail-section .section-heading { flex-wrap: wrap; gap: 8px; }.footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }.footer-note { display: none; }.section-heading h2 { font-size: 22px; } }
@media(max-width:650px) { .site-container { width: calc(100% - 32px); }.site-main { padding-top: 21px; }.announcement { font-size: 8px; gap: 6px; }.announcement a { margin-right: 4px; }.header-inner { gap: 10px; min-height: 72px; }.site-brand { font-size: 18px; gap: 7px; }.brand-symbol { width: 33px; height: 36px; font-size: 30px; border-radius: 11px; }.site-brand small { font-size: 7px; }.header-actions { gap: 5px; }.header-actions .icon-btn { width: 27px; font-size: 16px; }.header-actions .button { font-size: 9px; min-height: 33px; padding: 6px 8px; }.header-actions .admin-access { display: none; }.menu-toggle { width: 28px; font-size: 17px; }.site-navigation { top: 107px; right: 16px; left: 16px; gap: 12px 22px; }.site-navigation a { font-size: 12px; }.store-hero { grid-template-columns: 1fr; gap: 27px; padding: 8px 0 27px; }.hero-copy h1 { font-size: 35px; margin-bottom: 15px; }.hero-copy>p { font-size: 12px; margin-bottom: 20px; }.hero-highlights { font-size: 9px; gap: 14px; margin-top: 18px; }.hero-highlights span:last-child { display: flex; }.hero-copy .eyebrow { font-size: 10px; }.hero-search { max-width: none; }.hero-search input { font-size: 11px; }.hero-search .button { font-size: 10px; }.hero-studio { padding: 36px 25px 22px; max-width: 440px; width: 100%; margin: auto; }.studio-window { padding: 0 20px; }.studio-label { right: 25px; }.studio-heading h2 { font-size: 15px; }.studio-agent strong { font-size: 12px; }.studio-star { left: 8px; top: -5px; }.floating-note { left: 0; }.benefit-strip { padding: 19px 0; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }.benefit-strip>span { font-size: 9px; flex: 1 0 43%; gap: 8px; }.benefit-strip>span:first-child { display: none; }.benefit-strip i { font-size: 15px; }.store-section { margin-top: 40px; }.section-heading { align-items: start; flex-wrap: wrap; gap: 15px; margin-bottom: 22px; }.section-heading h2 { font-size: 22px; }.section-heading p { font-size: 11px; line-height: 2.1; }.section-heading .button { padding: 8px 13px; min-height: 36px; font-size: 10px; }.eyebrow { font-size: 10px; }.agent-grid { gap: 16px; }.product-visual { height: 155px; margin: 7px 7px 0; border-radius: 9px; }.product-emoji { font-size: 59px; }.product-category { font-size: 7px; top: 9px; right: 8px; padding: 3px 6px; }.product-favorite { top: 9px; left: 9px; font-size: 18px; }.video-chip { font-size: 7px; right: 8px; bottom: 9px; }.product-body { padding: 15px 12px 13px; }.product-body h3 { font-size: 12px; line-height: 1.9; }.product-body>p { font-size: 9px; line-height: 2.1; margin-bottom: 13px; }.product-specs { font-size: 8px; gap: 9px; flex-wrap: wrap; padding-bottom: 12px; }.product-specs i { margin-left: 1px; }.product-bottom { padding-top: 12px; gap: 5px; }.product-bottom small { font-size: 8px; }.product-bottom strong { font-size: 11px; }.product-go { width: 27px; height: 29px; border-radius: 8px; font-size: 16px; flex-shrink: 0; }.product-card { border-radius: 12px; }.how-section { padding: 25px 22px; gap: 20px; margin: 40px 0; }.how-section h2 { font-size: 22px; }.how-section h3 { font-size: 13px; }.how-section p { font-size: 10px; }.how-section .eyebrow { font-size: 9px; }.step-number { font-size: 22px; }.how-section .text-link { font-size: 10px; }.help-banner { padding: 24px; margin-top: 35px; flex-wrap: wrap; gap: 18px; }.help-banner h2 { font-size: 19px; }.help-banner .button { font-size: 11px; }.quote-card { padding: 20px; }.quote-card>p { font-size: 11px; }.quote-card>div { flex-wrap: wrap; }.review-stars { font-size: 9px; }.footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }.footer-grid>div:first-child { grid-column: 1/-1; }.site-footer { padding-top: 30px; }.footer-grid p { font-size: 10px; margin-top: 12px; }.footer-grid>div>a:not(.site-brand) { font-size: 10px; }.footer-bottom { font-size: 8px; flex-wrap: wrap; gap: 6px; padding: 15px 0; }.catalog-heading { padding-top: 9px; padding-bottom: 15px; }.catalog-heading h1 { font-size: 26px; }.catalog-heading p { font-size: 11px; }.catalog-filters { padding: 12px; gap: 9px; }.catalog-search { flex-basis: 100%; border-bottom: 1px solid var(--line); padding-bottom: 8px; }.catalog-filters select { flex: 1; min-width: 0; max-width: none; width: 40%; font-size: 10px; padding: 10px 8px; }.catalog-filters .button { min-height: 37px; padding: 8px 15px; font-size: 10px; margin-right: auto; }.video-filter { font-size: 10px; }.catalog-meta { font-size: 10px; gap: 10px; margin: 20px 0; }.catalog-meta>span:last-child { font-size: 8px; }.product-detail { display: flex; flex-direction: column; gap: 0; }.purchase-card { order: -1; width: 100%; position: static; margin-bottom: 22px; padding: 22px; }.product-main { width: 100%; }.purchase-card h1 { font-size: 26px; }.purchase-card>p { font-size: 12px; }.purchase-card dl { margin-top: 18px; padding-bottom: 10px; }.purchase-price { padding: 16px 0; }.purchase-price strong { font-size: 27px; }.purchase-card dl>div { font-size: 12px; }.purchase-note { font-size: 10px; }.detail-art { height: 270px; }.detail-section { margin-top: 20px; padding: 20px; }.detail-section h2 { font-size: 19px; }.detail-section .label-soft { font-size: 9px; }.io-sample { grid-template-columns: 1fr; }.io-sample>div:last-child { border-right: 0; border-top: 1px solid var(--line); }.prose { font-size: 12px; }.video-placeholder { min-height: 190px; }.video-placeholder strong { font-size: 12px; }.video-placeholder p { font-size: 10px; }.store-breadcrumb { font-size: 10px; gap: 8px; padding-bottom: 20px; }.hero { padding: 25px; }.hero h1 { font-size: 25px; }.card h4,.card h5 { font-size: 17px; }.btn { font-size: 11px; }.store-pagination { gap: 12px; }.store-pagination .button { padding: 9px 13px; font-size: 10px; } }
@media(max-width:360px) { .agent-grid { grid-template-columns: 1fr; }.product-visual { height: 220px; }.product-body h3 { font-size: 16px; }.product-body>p { font-size: 12px; }.product-bottom strong { font-size: 16px; }.hero-copy h1 { font-size: 30px; }.header-actions .icon-btn[data-theme-toggle] { display: none; }.site-container { width: calc(100% - 24px); } }
@media(prefers-reduced-motion:reduce) { *,*:before,*:after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Personal workspace: warm white, sage, sand and subtle lavender. */
.dashboard-shell { display:grid; grid-template-columns:235px minmax(0,1fr); gap:28px; align-items:start; padding:8px 0 28px; }
.dashboard-sidebar { position:sticky; top:24px; background:var(--surface); border:1px solid var(--line); border-radius:20px; overflow:hidden; }
.dashboard-person { display:flex; flex-direction:column; align-items:center; text-align:center; gap:9px; padding:28px 18px 23px; border-bottom:1px solid var(--line); }
.dashboard-avatar { display:grid; place-items:center; width:62px; height:62px; border-radius:22px; font-size:26px; font-weight:800; color:var(--brand); background:var(--soft); border:1px solid var(--line); }
.dashboard-person strong { font-size:14px; overflow-wrap:anywhere; }
.dashboard-person small { font-size:11px; color:var(--muted); max-width:100%; overflow-wrap:anywhere; }
.dashboard-person .label-soft { font-size:10px; }
.dashboard-nav { display:flex; flex-direction:column; gap:5px; padding:18px 12px; }
.dashboard-nav a { display:flex; align-items:center; gap:11px; min-height:46px; padding:10px 13px; color:var(--muted); font-size:12px; border-radius:11px; }
.dashboard-nav a:hover,.dashboard-nav a.active { background:var(--soft); color:var(--brand); }
.dashboard-nav a.active { font-weight:700; }
.dashboard-nav i { font-size:17px; }
.dashboard-nav a>span { margin-right:auto; background:var(--surface); padding:0 7px; border-radius:6px; font-size:10px; }
.dashboard-sidebar-bottom { padding:18px; border-top:1px solid var(--line); }
.dashboard-sidebar-bottom p { color:var(--muted); font-size:11px; }
.dashboard-sidebar-bottom .button { width:100%; font-size:11px; }
.logout-button { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; border:0; background:transparent; color:var(--muted); font-size:11px; padding:16px 0 0; }
.dashboard-content { min-width:0; }
.dashboard-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; margin-bottom:25px; }
.dashboard-heading h1 { font-size:25px; margin:0 0 8px; letter-spacing:-.5px; }
.dashboard-heading p { color:var(--muted); font-size:12px; margin:0; }
.dashboard-heading .eyebrow { margin-bottom:8px; display:block; }
.dashboard-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:24px; }
.dashboard-stat { position:relative; min-width:0; background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:19px 16px; display:flex; flex-direction:column; align-items:start; }
.stat-icon { width:38px; height:38px; border-radius:12px; display:inline-flex; align-items:center; justify-content:center; font-size:19px; flex-shrink:0; }
.sage { background:#edf3e8; color:#536f43; }.sand { background:#f7f0df; color:#8d6a31; }.lilac { background:#f1edf5; color:#7b6293; }.rose { background:#faeeea; color:#a26956; }
.dashboard-stat>small { color:var(--muted); font-size:11px; margin-top:16px; }
.dashboard-stat>strong { font-size:29px; line-height:1.7; margin-top:5px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.dashboard-stat>strong.money-stat { font-size:19px; line-height:2.6; }
.dashboard-stat>span:last-child { font-size:10px; color:var(--muted); }
.dashboard-panel { padding:23px; margin-bottom:22px; border:1px solid var(--line); border-radius:17px; background:var(--surface); min-width:0; }
.panel-title { display:flex; align-items:center; justify-content:space-between; gap:15px; flex-wrap:wrap; margin-bottom:19px; }
.panel-title h2 { font-size:16px; margin:0; }
.panel-title .eyebrow { font-size:10px; }
.dashboard-table { margin-bottom:0; }
.dashboard-table th { white-space:nowrap; }
.dashboard-table td { font-size:11px; }
.instance-name { display:flex; align-items:center; gap:10px; min-width:145px; color:var(--ink); font-size:12px; font-weight:600; }
.instance-name .agent-mini-icon { width:35px; height:38px; font-size:20px; border-radius:10px; flex-shrink:0; }
.expiry-progress { height:5px; min-width:70px; margin-top:8px; border-radius:10px; }
.attention-panel { border-color:#e3d9bd; }
.attention-row { display:flex; align-items:center; gap:12px; color:var(--ink); padding:12px 0; }
.attention-row+ .attention-row { border-top:1px solid var(--line); }
.attention-row>div { flex:1; }
.attention-row strong { display:block; font-size:12px; }
.attention-row small { display:block; color:var(--muted); font-size:11px; margin-top:4px; }
.dashboard-columns { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.dashboard-list-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:15px 0; color:var(--ink); border-bottom:1px solid var(--line); font-size:12px; }
.dashboard-list-row:last-child { border-bottom:0; padding-bottom:0; }
.dashboard-list-row strong { font-size:12px; overflow-wrap:anywhere; }
.dashboard-list-row>div>small { display:block; font-size:10px; color:var(--muted); margin-top:6px; }
.dashboard-list-row>.badge { flex-shrink:0; }
.dashboard-empty { text-align:center; padding:30px 16px; }
.dashboard-empty>i { display:block; color:var(--brand); font-size:38px; margin-bottom:12px; }
.dashboard-empty h3 { font-size:16px; }
.dashboard-empty p { color:var(--muted); font-size:12px; }
.dashboard-empty .button { margin-top:12px; }
.dashboard-agent-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.dashboard-agent-grid>.dashboard-empty { grid-column:1/-1; }
.instance-card { margin:0; }
.instance-card-header { display:flex; align-items:center; gap:12px; }
.instance-card-header .agent-mini-icon { width:48px; height:51px; font-size:28px; border-radius:14px; flex-shrink:0; }
.instance-card-header>div { flex:1; }
.instance-card-header h2 { font-size:15px; margin:0; }
.instance-card-header small { font-size:10px; }
.instance-facts { margin:23px 0 16px; }
.instance-facts>div { display:flex; justify-content:space-between; gap:12px; font-size:12px; padding:7px 0; }
.instance-facts dt { font-weight:400; color:var(--muted); }.instance-facts dd { margin:0; }
.instance-card>p { font-size:10px; margin-top:8px; }
.instance-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; border-top:1px solid var(--line); padding-top:17px; }
.instance-actions .text-link { font-size:10px; }
.order-total { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-top:20px; margin-top:8px; font-size:14px; }
.dashboard-form { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.dashboard-field { display:flex; flex-direction:column; gap:9px; min-width:0; }
.dashboard-field label { font-size:12px; font-weight:600; }
.dashboard-field input { width:100%; min-height:44px; border:1px solid var(--line); background:var(--paper); color:var(--ink); border-radius:10px; padding:9px 13px; font-size:13px; }
.dashboard-field small { font-size:10px; }.dashboard-field input[name=phone] { direction:ltr; text-align:left; }
.dashboard-form-actions { grid-column:1/-1; padding-top:7px; }
.errorlist { color:#b94d3d; padding-right:16px; margin:0; font-size:12px; }
.dashboard-form>.errorlist { grid-column:1/-1; }
.agent-video-player { overflow:hidden; border-radius:12px; background:#171d16; aspect-ratio:16/9; }
.agent-video-player video { width:100%; height:100%; display:block; object-fit:contain; }
.video-error { font-size:12px; padding-top:12px; }
.product-body>p,.hero-copy>p,.section-heading p,.purchase-card>p,.prose,.io-sample p { color:var(--muted); }
.product-specs,.purchase-card dt,.purchase-note,.video-jump,.catalog-meta,.video-placeholder p { color:var(--muted); }
.product-card { transition:transform .2s,border-color .2s,box-shadow .2s; }
.product-card:hover { transform:translateY(-4px); border-color:#cbd6be; box-shadow:0 12px 32px #35432d0a; }
.dark .dashboard-sidebar,.dark .dashboard-stat,.dark .dashboard-panel { background:var(--surface); }
.dark .sage { background:#303f2b; color:#c0d5ad; }.dark .sand { background:#413b2c; color:#e2c78e; }.dark .lilac { background:#39323f; color:#cdbbdc; }.dark .rose { background:#45342d; color:#e5b9a5; }
.dark .attention-panel { border-color:#5c533c; }.dark .dashboard-nav a.active { background:var(--soft); }
.dark .dashboard-heading h1,.dark .dashboard-list-row,.dark .attention-row,.dark .instance-name { color:var(--ink); }
@media(max-width:1100px) { .dashboard-shell { grid-template-columns:205px minmax(0,1fr); gap:20px; }.dashboard-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }.dashboard-columns { grid-template-columns:1fr; gap:0; }.dashboard-panel { padding:19px; }.dashboard-agent-grid { grid-template-columns:1fr; } }
@media(max-width:750px) { .dashboard-shell { grid-template-columns:1fr; gap:22px; }.dashboard-sidebar { position:static; }.dashboard-person { flex-direction:row; flex-wrap:wrap; padding:16px; gap:10px; text-align:right; }.dashboard-avatar { width:42px; height:42px; border-radius:14px; font-size:19px; }.dashboard-person small { display:none; }.dashboard-person .label-soft { margin-right:auto; }.dashboard-nav { flex-direction:row; overflow-x:auto; padding:10px; gap:5px; }.dashboard-nav a { flex-shrink:0; white-space:nowrap; font-size:11px; padding:8px 10px; min-height:38px; gap:7px; }.dashboard-nav a>span { display:none; }.dashboard-nav i { font-size:14px; }.dashboard-sidebar-bottom { display:none; }.dashboard-heading h1 { font-size:23px; }.dashboard-heading { gap:13px; }.dashboard-heading p { font-size:11px; }.dashboard-stats { gap:12px; }.dashboard-stat { padding:16px; }.dashboard-stat>strong { font-size:27px; }.dashboard-stat>strong.money-stat { font-size:17px; }.dashboard-form { grid-template-columns:1fr; gap:18px; }.dashboard-panel { padding:17px; }.dashboard-table { min-width:570px; }.panel-title h2 { font-size:15px; }.dashboard-list-row>strong { font-size:11px; }.attention-row small { font-size:10px; }.order-total { font-size:13px; } }

/* Clip the rotated studio decoration without widening the mobile page. */
@media(max-width:650px) { .hero-studio { overflow-x:clip; overflow-y:visible; } }

.hero-studio{overflow-x:clip;overflow-y:visible;min-width:0}.hero-copy{min-width:0}@media(min-width:651px){.store-hero{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}}

/* Original Agentworld identity. */
.site-brand { flex-shrink:0; }
.brand-logo { width:206px; height:65px; object-fit:contain; display:block; }
.site-footer .brand-logo { width:230px; height:auto; }
.category-nav-border { border-top:1px solid var(--line); background:var(--surface); }
.store-category-nav { position:relative; display:flex; align-items:center; gap:26px; min-height:49px; }
.category-menu { flex-shrink:0; }
.category-menu>summary { list-style:none; cursor:pointer; display:flex; align-items:center; gap:9px; color:var(--ink); font-size:12px; font-weight:700; min-height:49px; border-bottom:2px solid transparent; }
.category-menu>summary::-webkit-details-marker { display:none; }
.category-menu>summary>.bi-list { font-size:20px; }
.category-chevron { font-size:9px; transition:transform .2s; }
.category-menu[open]>summary { color:var(--brand); border-bottom-color:var(--brand); }
.category-menu[open] .category-chevron { transform:rotate(180deg); }
.category-shortcuts { display:flex; align-items:center; gap:24px; border-right:1px solid var(--line); padding-right:24px; }
.category-shortcuts>a { display:inline-flex; align-items:center; gap:7px; color:var(--muted); font-size:11px; white-space:nowrap; }
.category-shortcuts>a:hover { color:var(--brand); }
.category-mega { position:absolute; top:100%; right:0; left:0; z-index:90; border:1px solid var(--line); border-radius:0 0 18px 18px; background:var(--surface); box-shadow:0 25px 60px #25321c18; overflow:hidden; }
.category-mega-top { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:16px 24px; border-bottom:1px solid var(--line); font-size:11px; color:var(--muted); }
.category-mega-top>a { font-weight:600; color:var(--brand); }
.category-mega-top>a i { margin-right:8px; }
.category-mega-body { display:grid; grid-template-columns:225px minmax(0,1fr); height:365px; max-height:65vh; }
.category-rail { background:var(--paper); border-left:1px solid var(--line); overflow-y:auto; padding:10px; scrollbar-width:thin; }
.category-tab { display:flex; align-items:center; gap:10px; padding:13px 12px; border-radius:9px; font-size:12px; color:var(--ink); }
.category-tab.selected,.category-tab:hover { background:var(--soft); color:var(--brand); }
.category-tab-icon { font-size:21px; }
.category-tab>i { margin-right:auto; font-size:10px; }
.category-panes { overflow-y:auto; padding:25px 29px; scrollbar-width:thin; }
.category-pane[hidden] { display:none; }
.category-pane-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; flex-wrap:wrap; margin-bottom:20px; }
.category-pane-heading h2 { font-size:20px; margin:0; padding-right:12px; border-right:3px solid var(--brand); }
.category-pane-heading p { font-size:11px; color:var(--muted); margin:8px 0 0; }
.category-pane-heading .eyebrow { font-size:10px; margin-bottom:9px; }
.category-pane-heading .text-link { font-size:11px; }
.category-product-links { display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.category-product-links>a { display:flex; align-items:center; gap:12px; padding:12px; border:1px solid var(--line); border-radius:11px; color:var(--ink); min-width:0; }
.category-product-links>a:hover { border-color:var(--brand); background:var(--paper); }
.category-preview-icon { display:grid; place-items:center; width:46px; height:46px; border-radius:12px; font-size:25px; overflow:hidden; flex-shrink:0; }
.category-preview-icon img { width:100%; height:100%; object-fit:cover; }
.category-product-links>a>span:nth-child(2) { min-width:0; flex:1; }
.category-product-links strong { font-size:12px; display:block; }
.category-product-links small { display:block; color:var(--muted); font-size:10px; margin-top:4px; }
.category-product-links>a>i { color:var(--muted); font-size:12px; }
.category-explore { display:flex; justify-content:space-between; gap:15px; font-size:11px; padding:17px 0 0; color:var(--brand); }
.category-menu-empty { padding:35px; text-align:center; font-size:12px; }
.category-showcase { margin:39px 0 45px; padding:28px 28px 30px; border:1px solid var(--line); border-radius:19px; background:var(--surface); }
.category-showcase-heading { text-align:center; margin-bottom:28px; }
.category-showcase-heading h2 { font-size:24px; margin:0; }
.category-showcase-heading .eyebrow { margin-bottom:7px; }
.category-showcase-heading p { font-size:12px; color:var(--muted); margin:9px 0 0; }
.category-circle-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(110px,1fr)); gap:24px 15px; }
.category-circle-link { display:flex; flex-direction:column; align-items:center; text-align:center; gap:10px; color:var(--ink); min-width:0; }
.category-circle { width:91px; height:91px; border-radius:50%; display:grid; place-items:center; font-size:38px; border:5px solid var(--surface); box-shadow:0 0 0 1px var(--line); transition:transform .2s; }
.category-circle-link:hover .category-circle { transform:translateY(-4px); }
.category-circle-link strong { font-size:12px; }
.category-circle-link small { color:var(--muted); font-size:10px; margin-top:-7px; }
/* Centered authentication, shared form language. */
.auth-stage { display:grid; place-items:center; min-height:calc(100svh - 230px); padding:35px 12px 55px; background:radial-gradient(ellipse at center,#e8edde60 0,transparent 65%); }
.auth-panel { width:100%; max-width:470px; padding:36px 38px 28px; background:var(--surface); border:1px solid var(--line); border-radius:24px; box-shadow:0 16px 60px #2c3b1f08; }
.auth-brand { display:block; width:216px; max-width:100%; margin:0 auto 24px; }
.auth-brand img { display:block; width:100%; height:auto; }
.auth-eyebrow { display:block; text-align:center; color:var(--brand); font-size:11px; margin-bottom:8px; }
.auth-panel h1 { font-size:23px; text-align:center; margin:0 0 10px; letter-spacing:-.5px; }
.auth-intro { font-size:11px; text-align:center; color:var(--muted); margin-bottom:26px; }
.auth-form { display:flex; flex-direction:column; gap:19px; }
.auth-field label { display:flex; align-items:center; gap:5px; font-size:12px; font-weight:600; margin-bottom:8px; }
.required-mark { color:var(--brand); font-size:10px; }
.auth-input-wrap { position:relative; }
.auth-field input { display:block; width:100%; min-height:47px; padding:11px 14px; border-radius:11px; border:1px solid var(--line); background:var(--paper); color:var(--ink); font-size:13px; }
.auth-field input:focus { outline:2px solid #b6c5a4; outline-offset:2px; }
.auth-field input::placeholder { color:var(--muted); opacity:.75; font-size:11px; }
.auth-field input[type=password],.auth-field input[data-password-visible] { padding-left:47px; direction:ltr; text-align:left; }
.auth-field input[aria-invalid=true] { border-color:#bb705d; }
.password-toggle { position:absolute; left:8px; top:5px; width:37px; height:37px; display:grid; place-items:center; border:0; background:transparent; color:var(--muted); border-radius:8px; }
.password-toggle:hover { color:var(--brand); background:var(--soft); }
.auth-field-help { font-size:10px; color:var(--muted); line-height:1.9; margin-top:7px; }
.auth-field-help ul { padding-right:17px; margin:0; }
.auth-errors { border:1px solid #e6b9ac; background:#fcf0eb; padding:13px; border-radius:11px; color:#974832; font-size:12px; }
.auth-errors ul,.auth-field-errors ul { padding-right:16px; margin:0; }
.auth-field-errors { margin-top:7px; }
.auth-submit { width:100%; margin-top:5px; min-height:47px; }
.auth-submit i { margin-right:auto; }
.auth-switch { text-align:center; font-size:12px; color:var(--muted); padding-top:24px; margin:0; }
.auth-switch a { color:var(--brand); font-weight:700; margin-right:5px; }
.auth-footnote { display:flex; align-items:center; justify-content:center; gap:7px; padding-top:20px; margin-top:23px; border-top:1px solid var(--line); font-size:10px; color:var(--muted); }
/* Small companions stay in the footer and leave every control unobstructed. */
.footer-robot-scene { height:74px; position:relative; overflow:hidden; pointer-events:none; margin-top:15px; color:var(--brand); }
.robot-ground { position:absolute; left:0; right:0; bottom:9px; height:1px; background:linear-gradient(90deg,transparent,var(--line),transparent); }
.quiet-walker { position:absolute; bottom:5px; left:0; width:43px; height:55px; opacity:.24; animation:quiet-walk 42s linear infinite alternate; }
.walker-2 { width:33px; height:43px; opacity:.16; animation-duration:57s; animation-delay:-24s; }
.walking-robot { width:100%; height:100%; stroke:currentColor; stroke-width:2.8; stroke-linecap:round; stroke-linejoin:round; }
.robot-shell { fill:var(--surface); }.robot-face { fill:var(--soft); }
.robot-leg { transform-box:fill-box; transform-origin:50% 0; animation:robot-step .65s ease-in-out infinite alternate; }
.leg-back { animation-direction:alternate-reverse; }
.robot-body { animation:robot-bob 1.3s ease-in-out infinite; }
@keyframes quiet-walk { from { left:7%; } to { left:84%; } }
@keyframes robot-step { from { transform:rotate(-18deg); } to { transform:rotate(18deg); } }
@keyframes robot-bob { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-1.5px); } }
.dark .auth-stage { background:radial-gradient(ellipse at center,#3c4b2e44 0,transparent 65%); }
.dark .auth-errors { background:#412b25; border-color:#704438; color:#ebc1b5; }
.dark .category-mega { box-shadow:0 25px 60px #0005; }
.dark .category-circle { border-color:var(--surface); }
@media(max-width:1100px) { .brand-logo { width:175px; height:57px; }.category-mega-body { grid-template-columns:190px minmax(0,1fr); }.category-panes { padding:22px; } }
@media(max-width:850px) { .brand-logo { width:174px; height:55px; }.site-navigation { top:168px; }.category-product-links { grid-template-columns:1fr; }.category-mega-body { height:420px; }.category-shortcuts { gap:18px; }.category-shortcuts>a { font-size:10px; }.category-shortcuts>a:last-child { display:none; }.category-circle-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px 12px; } }
@media(max-width:650px) { .brand-logo { width:145px; height:46px; }.header-inner { min-height:72px; }.site-navigation { top:157px; }.site-footer .brand-logo { width:200px; }.store-category-nav { gap:15px; min-height:47px; }.category-menu>summary { font-size:11px; gap:7px; min-height:47px; }.category-menu>summary>.bi-list { font-size:18px; }.category-shortcuts { padding-right:15px; gap:0; }.category-shortcuts>a { font-size:10px; }.category-shortcuts>a:not(:first-child) { display:none; }.category-mega-top { padding:12px; font-size:10px; }.category-mega-body { grid-template-columns:110px minmax(0,1fr); height:410px; max-height:65vh; }.category-rail { padding:5px; }.category-tab { flex-direction:column; align-items:flex-start; gap:3px; padding:10px 8px; font-size:10px; }.category-tab>i { display:none; }.category-tab-icon { font-size:20px; }.category-panes { padding:16px 11px; }.category-pane-heading { gap:8px; margin-bottom:15px; }.category-pane-heading h2 { font-size:15px; padding-right:8px; }.category-pane-heading p { font-size:10px; }.category-pane-heading .eyebrow { font-size:8px; }.category-pane-heading .text-link { font-size:9px; }.category-product-links { gap:8px; }.category-product-links>a { gap:7px; padding:9px 7px; }.category-preview-icon { width:30px; height:34px; font-size:19px; border-radius:8px; }.category-product-links strong { font-size:10px; }.category-product-links small { display:none; }.category-product-links>a>i { display:none; }.category-explore { font-size:9px; line-height:2; padding-top:14px; }.category-showcase { padding:23px 14px; margin:30px 0; }.category-showcase-heading { margin-bottom:22px; }.category-showcase-heading h2 { font-size:21px; }.category-showcase-heading p { font-size:11px; }.category-circle-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px 10px; }.category-circle { width:71px; height:71px; font-size:30px; border-width:4px; }.category-circle-link { gap:9px; }.category-circle-link strong { font-size:10px; }.category-circle-link small { font-size:9px; }.auth-stage { padding:15px 0 30px; min-height:calc(100svh - 195px); }.auth-panel { padding:27px 23px 23px; border-radius:19px; }.auth-brand { width:190px; margin-bottom:21px; }.auth-panel h1 { font-size:21px; }.auth-intro { font-size:10px; }.auth-form { gap:17px; }.auth-switch { font-size:11px; }.footer-robot-scene { height:62px; }.quiet-walker { width:36px; height:46px; }.walker-2 { width:28px; height:36px; } }
@media(max-width:360px) { .brand-logo { width:120px; height:39px; }.header-actions .button { padding:6px; font-size:9px; }.header-inner { gap:6px; }.category-shortcuts { padding-right:10px; }.store-category-nav { gap:10px; }.category-menu>summary { font-size:10px; }.category-shortcuts>a { font-size:9px; } }
@media(prefers-reduced-motion:reduce) { .quiet-walker,.robot-leg,.robot-body { animation:none!important; }.walker-1 { left:20%; }.walker-2 { left:75%; } }

.category-circle svg { width:39px; height:39px; color:#526348; stroke-width:1.5; }
.category-tab-icon svg { width:22px; height:22px; display:block; }
.category-preview-icon svg { width:26px; height:26px; color:#526348; }
@media(max-width:650px) { .category-circle svg { width:31px; height:31px; }.category-tab-icon svg { width:20px; height:20px; }.category-preview-icon svg { width:20px; height:20px; } }

/* Agent workspace uses manifest-driven forms and safely rendered result blocks. */
.workspace-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:27px; }
.workspace-identity { display:flex; align-items:center; gap:17px; min-width:0; }
.workspace-icon { display:grid; place-items:center; width:74px; height:78px; border-radius:20px; font-size:40px; overflow:hidden; flex-shrink:0; }
.workspace-icon img { width:100%; height:100%; object-fit:cover; }.workspace-icon svg { width:43px; height:43px; }
.workspace-heading h1 { font-size:26px; margin:0; }.workspace-heading p { font-size:12px; color:var(--muted); margin:8px 0 0; }.workspace-heading .eyebrow { margin-bottom:5px; }
.workspace-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:24px; align-items:start; }
.workspace-field { margin-bottom:21px; }.workspace-field>label { display:block; font-size:12px; font-weight:600; margin-bottom:9px; }.workspace-field .required-mark { margin-right:5px; }.workspace-field>small { display:block; margin-top:8px; font-size:11px; }
.workspace-field textarea { resize:vertical; min-height:130px; }.workspace-field input,.workspace-field select,.workspace-field textarea { min-height:45px; }
.workspace-checkbox { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }.workspace-checkbox>label { margin:0; }.workspace-checkbox input { min-height:0; width:18px; height:18px; margin:0; }
.workspace-submit { width:100%; }.workspace-note { font-size:11px; color:var(--muted); line-height:2; margin:15px 0 0; }.workspace-note i { margin-left:5px; }.workspace-running { font-size:12px; color:var(--brand); margin-top:17px; }.workspace-running[hidden] { display:none; }
.workspace-empty { padding:35px 15px; text-align:center; min-height:220px; display:flex; flex-direction:column; align-items:center; justify-content:center; }.workspace-empty>i { font-size:34px; color:var(--brand); margin-bottom:15px; }.workspace-empty-symbol { font-size:47px; color:#a8b796; margin-bottom:18px; }.workspace-empty h3 { font-size:16px; }.workspace-empty p { font-size:12px; color:var(--muted); max-width:320px; line-height:2; }
.workspace-run-meta { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; color:var(--muted); font-size:11px; border-bottom:1px solid var(--line); padding-bottom:16px; margin-bottom:20px; }
.workspace-result { margin-bottom:23px; }.workspace-result-heading { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:10px; }.workspace-result h3 { font-size:13px; margin:0; }.copy-result { background:var(--soft); color:var(--brand); border:1px solid var(--line); border-radius:8px; padding:5px 9px; font-size:10px; }
.workspace-result pre { white-space:pre-wrap; overflow-wrap:anywhere; word-break:break-word; background:var(--paper); border:1px solid var(--line); border-radius:11px; padding:17px; font:12px/2.1 'Vazirmatn',Tahoma,sans-serif; color:var(--ink); max-height:550px; overflow:auto; margin:0; }
.workspace-result pre[dir=ltr] { font-family:Consolas,monospace; text-align:left; }.workspace-sent-inputs { font-size:11px; border-top:1px solid var(--line); margin-top:20px; padding-top:16px; }.workspace-sent-inputs summary { cursor:pointer; color:var(--muted); }.workspace-sent-inputs dl { padding-top:14px; margin:0; }.workspace-sent-inputs dt { font:11px Consolas,monospace; color:var(--brand); margin-top:9px; }.workspace-sent-inputs dd { white-space:pre-wrap; overflow-wrap:anywhere; margin-top:5px; }
@media(max-width:850px) { .workspace-grid { grid-template-columns:1fr; gap:0; }.workspace-heading h1 { font-size:23px; }.workspace-heading p { font-size:11px; } }
@media(max-width:650px) { .workspace-heading { gap:15px; }.workspace-icon { width:58px; height:61px; font-size:30px; border-radius:16px; }.workspace-heading h1 { font-size:21px; }.workspace-identity { gap:12px; }.workspace-heading .eyebrow { font-size:9px; }.workspace-empty { min-height:175px; }.workspace-result pre { padding:13px; font-size:11px; } }

.workspace-identity>div { min-width:0; }.workspace-heading h1,.workspace-field>label { overflow-wrap:anywhere; }

/* The silver original wordmark needs a darker treatment on light surfaces. */
body:not(.dark) .brand-logo,body:not(.dark) .auth-brand img { filter:none; }
body.dark .brand-logo,body.dark .auth-brand img { filter:none; }
.catalog-heading+.category-showcase { margin:20px 0 28px; }
.category-circle-link.selected { color:var(--brand); }
.category-circle-link.selected .category-circle { box-shadow:0 0 0 2px var(--brand); }
.category-circle-link.selected strong { font-weight:800; }

.workspace-parameters-summary { margin-bottom:24px; padding-bottom:20px; border-bottom:1px solid var(--line); }
.workspace-parameters-summary dl { margin:0 0 16px; }.workspace-parameters-summary dl>div { padding:12px 0; border-bottom:1px solid var(--line); }.workspace-parameters-summary dl>div:last-child { border-bottom:0; }
.workspace-parameters-summary dt { font-size:11px; color:var(--muted); font-weight:400; margin-bottom:6px; }.workspace-parameters-summary dd { margin:0; font-size:13px; white-space:pre-wrap; overflow-wrap:anywhere; }
.workspace-parameters-summary>small { display:block; margin:15px 0; font-size:10px; }
.workspace-multiselect { display:grid; grid-template-columns:1fr 1fr; gap:9px; }.workspace-multiselect label { display:flex; align-items:center; gap:9px; border:1px solid var(--line); padding:10px; border-radius:9px; font-size:12px; }.workspace-multiselect input { min-height:0; width:17px; height:17px; flex-shrink:0; }
@media(max-width:650px) { .workspace-multiselect { grid-template-columns:1fr; } }

/* Separate logo assets follow the existing day/night theme. */
body:not(.dark) .theme-logo-dark,body.dark .theme-logo-light { display:none; }
