/* Functional and responsive adaptations of the supplied Stitch screens. */
body { font-family: Vazirmatn, "Plus Jakarta Sans", Tahoma, sans-serif; line-height: 1.7; }
h1,h2,h3,h4 { letter-spacing: 0; text-wrap: pretty; }
.material-symbols-outlined { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; word-wrap: normal; direction: ltr; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
.gh-setup-code { background:#10110f; border:1px solid #fec20030; border-radius:12px; padding:20px; overflow-x:auto; white-space:pre; color:#fec200; font-family:"JetBrains Mono",monospace; font-size:13px; margin:24px 0; text-align:left; }
.gh-setup-bot { display:flex; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid #393a32; padding:18px 0; }
.gh-setup-checks { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.gh-setup-checks .gh-card { margin-bottom:0; }
.stitch-connection form small { display:block; font-size:12px; color:#a09f9c; line-height:1.8; }
.stitch-connection .gh-card { scroll-margin-top:100px; }
.gh-full { grid-column:1/-1; }
.gh-ticket-message { padding:16px; margin:16px 0; border:1px solid #393a32; border-radius:10px; background:#11110f; overflow-wrap:anywhere; }
.gh-archive-tabs { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.gh-archive-filters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.gh-archive-filters label { min-width:0; }
.gh-archive-filters .gh-actions { align-self:end; }
.gh-archive-reference { min-width:180px; max-width:240px; overflow-wrap:anywhere; font-size:12px; }
.gh-archive-pagination { justify-content:center; margin-top:24px; }
#archive-detail { overflow-wrap:anywhere; }
@media(max-width:767px) { .gh-archive-filters { grid-template-columns:1fr; } .gh-archive-tabs .gh-button { font-size:12px; } }
@media(max-width:767px) { .gh-setup-checks { grid-template-columns:1fr; } .gh-setup-bot { flex-wrap:wrap; } }
.stitch-upload { display:block; position:relative; cursor:pointer; }
.stitch-upload > div { padding:32px 20px; min-height:155px; text-align:center; }
.stitch-file-input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.stitch-upload:focus-within { outline:2px solid #fec200; outline-offset:5px; border-radius:12px; }
.stitch-upload-status { display:block; margin-top:12px; font-size:12px; color:#a09f9c; overflow-wrap:anywhere; }
.stitch-upload-selected { border-color:#10b981 !important; background:#10b98108; }
.stitch-optional { display:inline-block; margin-inline-start:10px; color:#fec200; font-size:11px; border:1px solid #fec20033; border-radius:5px; padding:2px 8px; }
.stitch-apply form input[type=text],.stitch-apply form input[type=tel] { padding-inline-end:42px; }
.stitch-apply form input[name=site_name] { direction:rtl; text-align:right; }
.stitch-admin-header { padding-right:312px; }
.stitch-admin-main { max-width:1440px; }
.stitch-home .font-display-hero { line-height:1.6; }
.stitch-home [data-product] h3 { overflow-wrap:anywhere; }
.stitch-home header .stitch-brand { flex-shrink:0; }
.stitch-home #telegram button { cursor:default; }
.stitch-login { max-width:1280px; gap:48px; }
.stitch-login .gh-auth-intro { border:1px solid #fec20030; border-radius:16px; background:radial-gradient(ellipse at 60% 10%,#fec2000e,transparent 65%),#181816; padding:40px; }
.stitch-login .gh-auth-intro h1 { font-size:32px; line-height:1.65; }
.stitch-login .gh-card { border-color:#fec20030; background:#242320; }
.stitch-login .gh-login-card h2 { font-size:22px; }
.stitch-preview-badge { position:fixed; bottom:12px; left:12px; z-index:100; background:#242320; color:#fec200; border:1px solid #fec20055; border-radius:7px; padding:7px 12px; font-size:11px; box-shadow:0 4px 16px #0006; pointer-events:none; }
@media(min-width:1024px) { .stitch-apply .lg\:col-span-8 { grid-column:span 8 / span 8; } }
@media(max-width:1023px) {
 .stitch-admin-header { padding-right:24px; }
 .stitch-admin-main { padding-top:88px; }
 .stitch-mobile-nav { display:flex; flex-wrap:nowrap; overflow-x:auto; padding-bottom:12px; }
 .stitch-mobile-nav a { flex-shrink:0; white-space:nowrap; }
}
@media(max-width:767px) {
 header > div { padding-inline:16px; }
 .stitch-brand-title { font-size:18px; }
 .stitch-brand-subtitle { font-size:10px; }
 .stitch-header-actions { gap:8px; }
 .stitch-header-actions > a { padding:8px 12px; font-size:12px; }
 .stitch-home section { padding-top:48px; padding-bottom:48px; }
 .stitch-home section:first-child { padding-top:32px; }
 .stitch-home section:first-child .grid { gap:28px; }
 .stitch-home .max-w-7xl { padding-inline:16px; }
 .stitch-home .text-display-hero-mobile { font-size:28px; line-height:1.65; }
 .stitch-home .grid-cols-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .stitch-home .grid-cols-3 p { font-size:11px; line-height:1.8; }
 .stitch-apply main { padding-inline:16px; }
 .stitch-apply h1 { display:block; font-size:23px; line-height:1.75; }
 .stitch-apply .grid-cols-5 span { font-size:10px; }
 .stitch-apply form > div { padding:20px; }
 .stitch-apply form .flex.items-center.justify-between { flex-wrap:wrap; gap:12px; }
 .stitch-apply .stitch-upload > div { min-height:145px; }
 .stitch-apply button[type=submit] { width:100%; }
 .stitch-terms main { padding-inline:16px; }
 .stitch-login .gh-auth-intro { padding:24px; }
 .stitch-login .gh-auth-intro h1 { font-size:26px; }
 .stitch-admin-header { height:64px; flex-wrap:nowrap; padding:12px 16px; }
 .stitch-admin-header > div { gap:8px; padding-inline:0; }
 .stitch-admin-header .text-headline-sm { font-size:15px; }
 .stitch-admin-main { padding-inline:16px; }
 .stitch-admin-header a[title="پشتیبانی"] { display:none; }
}
