/* «Гайды» workspace. Light colours only: the dark theme is generated from
   this sheet (platform/dark_theme.py). Brand: red #ef3e2c, graphite #313543. */

.gd-workspace .dashboard-content { padding-bottom: 64px; }
.gd-workspace .topbar-left { flex: 1 1 auto; min-width: 0; }
.gd-workspace .active-tab-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gd-page { display: block; width: 100%; max-width: 1180px; margin: 0 auto; color: #313543; font-family: Outfit, Manrope, sans-serif; }
.gd-page *, .gd-dialog * { box-sizing: border-box; }
/* The toolbar shrinks to a phone without the workspace styles (a guest has none). */
.gd-toolbar > *, .gd-toolbar-row > *, .gd-search-input, .gd-select { min-width: 0; max-width: 100%; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-muted { color: #737885; font-size: 13px; line-height: 1.45; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-loading { padding: 48px 0; color: #737885; font: 500 14px/1.4 Outfit, Manrope, sans-serif; text-align: center; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-kicker { display: inline-block; margin-bottom: 8px; color: #ef3e2c; font: 750 11px/1 Outfit, Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; }

/* buttons */
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid rgba(49, 53, 67, .12); border-radius: 14px; background: #ffffff; color: #313543; font: 650 13px/1 Outfit, Manrope, sans-serif; text-decoration: none; cursor: pointer; transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-btn:hover { border-color: rgba(49, 53, 67, .24); background: #f4f4f6; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-btn:focus-visible, :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-chip:focus-visible, :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-tool:focus-visible, :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-vote:focus-visible, :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-card:focus-visible { outline: 2px solid #ef3e2c; outline-offset: 2px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-btn:disabled { opacity: .55; cursor: wait; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-btn[hidden] { display: none; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-btn-primary { border-color: #ef3e2c; background: #ef3e2c; color: #ffffff; box-shadow: 0 10px 22px rgba(239, 62, 44, .18); }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-btn-primary:hover { border-color: #da3020; background: #da3020; transform: translateY(-1px); }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-btn-ghost { background: transparent; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-btn-ghost.is-danger { color: #c9301f; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-btn-small { min-height: 34px; padding: 0 13px; border-radius: 11px; font-size: 12px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-link-btn { margin-left: auto; padding: 0; border: 0; background: none; color: #737885; font: 600 12px/1 Outfit, Manrope, sans-serif; cursor: pointer; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-link-btn:hover { color: #c9301f; }
.gd-top-write { min-height: 36px; padding: 0 14px; border-radius: 12px; font-size: 12px; }
.gd-test-badge { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border: 1px dashed #e0a100; border-radius: 9px; background: #fff7df; color: #8a6200; font: 700 11px/1 Outfit, Manrope, sans-serif; }

/* hero and toolbar */
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 6px 0 22px; padding: 30px 32px; border-radius: 28px; background: #313543; color: #ffffff; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-hero h1 { margin: 0 0 8px; color: #ffffff; font: 750 34px/1.05 Outfit, Manrope, sans-serif; letter-spacing: -.035em; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-hero p { max-width: 640px; margin: 0; color: #c9cbd2; font: 500 15px/1.5 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-hero .gd-kicker { color: #ff7b6c; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-hero.is-compact { padding: 24px 28px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-btn-on-dark { border-color: rgba(255, 255, 255, .18); background: transparent; color: #ffffff; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-btn-on-dark:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-author-hero { align-items: center; margin-top: 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-author-id { display: flex; align-items: center; gap: 18px; min-width: 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-author-id h1 { overflow-wrap: anywhere; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-avatar { display: grid; flex: none; place-items: center; width: 72px; height: 72px; border-radius: 24px; background: #ef3e2c; color: #ffffff; font: 780 30px/1 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-avatar.is-official { background: #ffffff; color: #ef3e2c; font-size: 24px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-hero.is-compact h1 { font-size: 28px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-toolbar { display: grid; gap: 12px; margin-bottom: 16px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-search { position: relative; display: flex; align-items: center; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-search svg { position: absolute; left: 16px; width: 18px; height: 18px; fill: none; stroke: #8b8f9a; stroke-width: 2; stroke-linecap: round; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-search-input { width: 100%; min-height: 52px; padding: 0 18px 0 46px; border: 1px solid rgba(49, 53, 67, .12); border-radius: 18px; background: #ffffff; color: #313543; font: 500 15px/1 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-search-input:focus, :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-input:focus, :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-textarea:focus, :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-select:focus { border-color: #ef3e2c; outline: 0; box-shadow: 0 0 0 3px rgba(239, 62, 44, .14); }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-toolbar-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-toolbar-selects { display: flex; gap: 8px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-chip { min-height: 36px; padding: 0 14px; border: 1px solid rgba(49, 53, 67, .1); border-radius: 999px; background: #ffffff; color: #555a66; font: 600 13px/1 Outfit, Manrope, sans-serif; cursor: pointer; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-chip:hover { border-color: rgba(49, 53, 67, .25); color: #313543; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-chip.is-active { border-color: #313543; background: #313543; color: #ffffff; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-select { width: auto; min-width: 170px; min-height: 38px; padding: 0 30px 0 12px; border: 1px solid rgba(49, 53, 67, .12); border-radius: 12px; background: #ffffff; color: #313543; font: 600 13px/1 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 2px 12px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-count { color: #313543; font: 700 14px/1 Outfit, Manrope, sans-serif; }

/* cards */
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-grid[aria-busy="true"] { opacity: .6; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(49, 53, 67, .08); border-radius: 22px; background: #ffffff; color: #313543; text-decoration: none; box-shadow: 0 1px 2px rgba(49, 53, 67, .04); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-card:focus-within { border-color: rgba(239, 62, 44, .45); }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-card:hover { border-color: rgba(49, 53, 67, .16); box-shadow: 0 18px 38px rgba(49, 53, 67, .1); transform: translateY(-2px); }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-card-link { color: inherit; text-decoration: none; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 22px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-card-link:focus-visible { outline: 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-author-link { position: relative; z-index: 2; color: #313543; text-decoration: none; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-author-link:hover { color: #ef3e2c; text-decoration: underline; text-underline-offset: 3px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-card h3 { margin: 2px 0 0; color: #313543; font: 700 18px/1.2 Outfit, Manrope, sans-serif; letter-spacing: -.015em; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-card p { display: -webkit-box; margin: 0; overflow: hidden; color: #686d78; font: 500 13px/1.45 Outfit, Manrope, sans-serif; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-card-cat { color: #8b8f9a; font: 600 12px/1 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; color: #737885; font: 600 12px/1 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-card-author { color: #313543; font-weight: 700; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-meta-icon { display: inline-flex; align-items: center; gap: 4px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-meta-icon svg, :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-vote svg, :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-back svg, :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-paywall-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 7px; background: #eeeef1; color: #555a66; font: 750 11px/1 Outfit, Manrope, sans-serif; letter-spacing: .01em; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-badge.is-free { background: #e3f5ea; color: #1d7a45; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-badge.is-paid { background: #fdeceb; color: #c9301f; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-badge.is-owned { background: #e6effd; color: #2459b8; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-badge.is-official { background: #313543; color: #ffffff; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-badge.is-pinned { background: #fff1ec; color: #ef3e2c; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-badge.is-hidden { background: #fdeceb; color: #c9301f; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-badge.is-author { background: #313543; color: #ffffff; }

/* covers */
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; aspect-ratio: 16 / 9; overflow: hidden; padding: 16px 18px; background: #313543; color: #ffffff; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover::after { content: ""; position: absolute; right: -40px; top: -60px; width: 170px; height: 170px; border: 26px solid rgba(255, 255, 255, .06); border-radius: 50%; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover:has(img)::after { display: none; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover-label { position: relative; z-index: 1; color: #ff9a8f; font: 750 10px/1 Outfit, Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover-title { position: relative; z-index: 1; display: -webkit-box; overflow: hidden; color: #ffffff; font: 750 19px/1.15 Outfit, Manrope, sans-serif; letter-spacing: -.02em; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover.gd-cat-telegram { background: #24394f; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover.gd-cat-youtube { background: #4a2523; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover.gd-cat-clients { background: #313543; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover.gd-cat-sales { background: #3c2f45; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover.gd-cat-craft { background: #263f3b; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover.gd-cat-ai { background: #2c3350; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover.gd-cat-money { background: #3e3a26; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover.is-small { width: 132px; flex: none; padding: 10px; border-radius: 14px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover.is-small .gd-cover-title { font-size: 12px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover.is-small .gd-cover-label { font-size: 8px; }

:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 8px; padding: 48px 24px; border: 1px dashed rgba(49, 53, 67, .18); border-radius: 22px; background: #ffffff; text-align: center; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-empty strong { color: #313543; font: 700 18px/1.2 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-empty p { max-width: 460px; margin: 0 0 8px; color: #686d78; font: 500 14px/1.5 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-empty.is-error strong { color: #c9301f; }

/* article */
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-article { max-width: 760px; margin: 0 auto; padding: 8px 0 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 18px; color: #737885; font: 650 13px/1 Outfit, Manrope, sans-serif; text-decoration: none; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-back:hover { color: #ef3e2c; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-article-cover { margin: 0 0 22px; overflow: hidden; border-radius: 24px; background: #eeeef1; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-article-cover img { display: block; width: 100%; max-height: 420px; object-fit: cover; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-article-title { margin: 12px 0 12px; color: #313543; font: 760 40px/1.08 Outfit, Manrope, sans-serif; letter-spacing: -.035em; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-article-lead { margin: 0 0 16px; color: #555a66; font: 500 18px/1.55 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid rgba(49, 53, 67, .1); color: #737885; font: 600 13px/1 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-article-actions { display: flex; gap: 8px; margin-left: auto; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-article-actions .gd-btn { min-height: 34px; padding: 0 13px; font-size: 12px; }

:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose { color: #313543; font: 400 17px/1.7 Outfit, Manrope, sans-serif; overflow-wrap: anywhere; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose > :first-child { margin-top: 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose :is(p, li, blockquote, dd, dt, strong, em, u, s, a, span) { font-size: inherit; line-height: inherit; letter-spacing: normal; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose p { margin: 0 0 1em; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose h2 { margin: 1.6em 0 .55em; color: #313543; font: 740 26px/1.2 Outfit, Manrope, sans-serif; letter-spacing: -.02em; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose h3 { margin: 1.4em 0 .45em; color: #313543; font: 720 20px/1.25 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose a { color: #d4301f; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose ul, :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose ol { margin: 0 0 1em; padding-left: 1.4em; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose li { margin: .3em 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose li > p { margin: .2em 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 3px solid #ef3e2c; border-radius: 0 14px 14px 0; background: #f6f6f8; color: #434754; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose blockquote p:last-child { margin-bottom: 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose code { padding: 1px 6px; border-radius: 6px; background: #eeeef1; color: #313543; font: 500 .88em/1.4 "Fira Code", ui-monospace, monospace; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose pre { overflow: auto; padding: 14px 16px; border-radius: 14px; background: #eeeef1; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose pre code { padding: 0; background: none; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose hr { height: 1px; margin: 2em 0; border: 0; background: rgba(49, 53, 67, .14); }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose figure { margin: 1.4em 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose img { display: block; max-width: 100%; height: auto; margin: 1em auto; border-radius: 16px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose figure img { margin: 0 auto; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose figcaption { margin-top: 8px; color: #737885; font-size: 13px; text-align: center; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 1em; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose dt { color: #737885; font-weight: 600; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose dd { margin: 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose.is-teaser { position: relative; max-height: 520px; overflow: hidden; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose.is-teaser::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: min(120px, 55%); background: linear-gradient(rgba(242, 242, 244, 0), #f2f2f4); pointer-events: none; }

:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-paywall { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px 16px; margin: 10px 0 30px; padding: 24px; border: 1px solid rgba(239, 62, 44, .2); border-radius: 24px; background: #ffffff; box-shadow: 0 18px 40px rgba(49, 53, 67, .08); }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-paywall-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 17px; background: #ef3e2c; color: #ffffff; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-paywall-icon svg { width: 22px; height: 22px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-paywall-copy strong { display: block; margin-bottom: 6px; color: #313543; font: 740 21px/1.2 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-paywall-copy p { margin: 0; color: #686d78; font: 500 14px/1.5 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-paywall-actions { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 2; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-paywall > .gd-muted { grid-column: 2; margin: 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-paywall.is-preview { margin-top: 16px; }

:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 26px 0 0; padding: 18px 0; border-top: 1px solid rgba(49, 53, 67, .1); border-bottom: 1px solid rgba(49, 53, 67, .1); color: #313543; font: 650 14px/1 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-vote { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border: 1px solid rgba(49, 53, 67, .12); border-radius: 12px; background: #ffffff; color: #555a66; font: 700 13px/1 Outfit, Manrope, sans-serif; cursor: pointer; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-vote svg { width: 17px; height: 17px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-vote:hover:not(:disabled) { border-color: #1d7a45; color: #1d7a45; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-vote.is-down:hover:not(:disabled) { border-color: #c9301f; color: #c9301f; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-vote.is-active { border-color: #1d7a45; background: #e3f5ea; color: #1d7a45; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-vote.is-down.is-active { border-color: #c9301f; background: #fdeceb; color: #c9301f; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-vote:disabled { opacity: .6; cursor: default; }

:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-notice { margin: 0 0 14px; padding: 12px 16px; border: 1px solid rgba(49, 53, 67, .1); border-radius: 14px; background: #ffffff; color: #434754; font: 600 14px/1.45 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-notice.is-ok { border-color: rgba(29, 122, 69, .25); background: #e9f7ef; color: #1d6b3e; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-notice.is-error { border-color: rgba(201, 48, 31, .25); background: #fdeeec; color: #a92a1b; }

/* comments */
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-comments { max-width: 760px; margin: 30px auto 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-comments h2 { margin: 0 0 14px; color: #313543; font: 740 22px/1.2 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-comment-list { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-comment { padding: 14px 16px; border: 1px solid rgba(49, 53, 67, .08); border-radius: 16px; background: #ffffff; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-comment.is-hidden { opacity: .6; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-comment-author { color: #313543; font: 700 14px/1 Outfit, Manrope, sans-serif; text-decoration: none; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-comment-head strong { color: #313543; font: 700 14px/1 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-comment-head small { color: #8b8f9a; font: 500 12px/1 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-comment-body { margin: 0; color: #434754; font: 500 15px/1.5 Outfit, Manrope, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-comment-empty { padding: 16px; border-radius: 16px; background: #ffffff; color: #737885; font: 500 14px/1.4 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-comment-form { display: grid; gap: 10px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-comment-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* forms */
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-input, :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(49, 53, 67, .12); border-radius: 14px; background: #ffffff; color: #313543; font: 500 15px/1.45 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-textarea { resize: vertical; min-height: 84px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-field { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-label { padding: 0; color: #313543; font: 700 13px/1 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-form-message { min-height: 18px; margin: 10px 0 0; color: #686d78; font: 600 13px/1.4 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-form-message.is-ok { color: #1d7a45; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-form-message.is-error { color: #c9301f; }

/* editor */
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-editor-head .gd-back { margin-bottom: 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 20px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-input-title { margin-bottom: 12px; padding: 16px 18px; border-radius: 18px; font: 740 28px/1.15 Outfit, Manrope, sans-serif; letter-spacing: -.025em; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-editor-paper { border: 1px solid rgba(49, 53, 67, .1); border-radius: 22px; background: #ffffff; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-editor-toolbar { position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; gap: 4px; padding: 10px; border-bottom: 1px solid rgba(49, 53, 67, .08); border-radius: 22px 22px 0 0; background: #fafafb; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-tool { min-width: 36px; height: 34px; padding: 0 9px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #434754; font: 750 13px/1 Outfit, Manrope, sans-serif; cursor: pointer; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-tool:hover { border-color: rgba(49, 53, 67, .12); background: #ffffff; color: #313543; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-tool[data-command="italic"] { font-style: italic; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-tool[data-command="underline"] { text-decoration: underline; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-tool[data-command="strikeThrough"] { text-decoration: line-through; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-editor-body { min-height: 460px; padding: 24px 26px 40px; outline: 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-editor-body { position: relative; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-editor-body.is-empty::before { content: attr(data-placeholder); position: absolute; top: 24px; right: 26px; left: 26px; color: #9a9ea8; pointer-events: none; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-editor-body[aria-busy="true"] { opacity: .6; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-editor-side { position: sticky; top: 74px; padding: 20px; border: 1px solid rgba(49, 53, 67, .1); border-radius: 22px; background: #ffffff; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover-pick img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover-pick[aria-busy="true"] { opacity: .6; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover-pick-actions { display: flex; gap: 6px; margin-top: 8px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover-empty { display: grid; place-items: center; gap: 6px; width: 100%; aspect-ratio: 16 / 9; border: 1px dashed rgba(49, 53, 67, .22); border-radius: 14px; background: #f6f6f8; color: #313543; font: 700 14px/1.2 Outfit, Manrope, sans-serif; cursor: pointer; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover-empty small { color: #737885; font: 500 12px/1.3 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover-empty:hover { border-color: #ef3e2c; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-price-kinds { display: flex; gap: 6px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-radio { position: relative; flex: 1; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-radio input { position: absolute; opacity: 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-radio span { display: flex; align-items: center; justify-content: center; min-height: 38px; border: 1px solid rgba(49, 53, 67, .12); border-radius: 12px; background: #ffffff; color: #555a66; font: 650 13px/1 Outfit, Manrope, sans-serif; cursor: pointer; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-radio input:checked + span { border-color: #313543; background: #313543; color: #ffffff; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-radio input:focus-visible + span { outline: 2px solid #ef3e2c; outline-offset: 2px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-price-input { display: flex; align-items: center; gap: 8px; color: #555a66; font: 650 15px/1 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-input-price { max-width: 150px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-input-price:disabled { background: #f4f4f6; color: #9a9ea8; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-side-note { margin: 0 0 14px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-editor-actions { display: grid; gap: 8px; }

/* author list and stats */
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-stats article { padding: 18px 20px; border: 1px solid rgba(49, 53, 67, .08); border-radius: 20px; background: #ffffff; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-stats small { display: block; margin-bottom: 8px; color: #737885; font: 650 12px/1 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-stats strong { color: #313543; font: 760 28px/1 Outfit, Manrope, sans-serif; letter-spacing: -.03em; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-stats .is-accent { border-color: #ef3e2c; background: #ef3e2c; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-stats .is-accent small { color: #ffe1dd; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-stats .is-accent strong { color: #ffffff; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-mine-list { display: grid; gap: 10px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-mine-row { display: flex; align-items: center; gap: 16px; padding: 12px; border: 1px solid rgba(49, 53, 67, .08); border-radius: 20px; background: #ffffff; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-mine-copy { display: grid; flex: 1; gap: 6px; min-width: 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-mine-copy h3 { margin: 0; overflow: hidden; color: #313543; font: 700 17px/1.2 Outfit, Manrope, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-mine-copy .gd-card-meta { margin-top: 0; padding-top: 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-mine-copy p { margin: 0; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-mine-actions { display: flex; flex-direction: column; gap: 6px; }
#guidesApp .gd-sales { margin-bottom: 18px; padding: 16px 20px; border: 1px solid rgba(49, 53, 67, .08); border-radius: 20px; background: #ffffff; }
#guidesApp .gd-sales-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; }
#guidesApp .gd-sales-heading h2 { margin: 0; color: #313543; font: 750 18px/1.2 Outfit, Manrope, sans-serif; }
#guidesApp .gd-sales-list { display: grid; margin: 10px 0 0; padding: 0; list-style: none; }
#guidesApp .gd-sale { display: grid; grid-template-columns: minmax(0, 1fr) minmax(6rem, auto) minmax(6rem, auto); align-items: start; gap: 12px 20px; padding: 10px 0; border-top: 1px solid rgba(49, 53, 67, .1); }
#guidesApp .gd-sale-guide, #guidesApp .gd-sale-amount { display: grid; gap: 3px; min-width: 0; }
#guidesApp .gd-sale-guide a, #guidesApp .gd-sale-amount strong { color: #313543; font-size: 14px; font-weight: 720; overflow-wrap: anywhere; }
#guidesApp .gd-sale-guide a { width: fit-content; text-underline-offset: 3px; }
#guidesApp .gd-sale-guide time, #guidesApp .gd-sale-amount span, #guidesApp .gd-guide-sales { color: #737885; font-size: 12px; line-height: 1.35; }
#guidesApp .gd-sale-amount { text-align: end; font-variant-numeric: tabular-nums; }
#guidesApp .gd-sales-empty { margin: 8px 0 0; }
#guidesApp .gd-guide-sales { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
#guidesApp .gd-guide-sales strong { color: #313543; }
@media (max-width: 520px) {
  #guidesApp .gd-sale { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  #guidesApp .gd-sale-guide { grid-column: 1 / -1; }
  #guidesApp .gd-sale-amount { text-align: start; }
}

/* dialog and toast */
.gd-dialog { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: start center; overflow: auto; padding: 40px 16px; background: rgba(49, 53, 67, .5); backdrop-filter: blur(8px); }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-dialog-panel { position: relative; width: min(820px, 100%); padding: 34px 40px 40px; border-radius: 28px; background: #f8f8f9; color: #313543; font-family: Outfit, Manrope, sans-serif; box-shadow: 0 30px 90px rgba(35, 38, 48, .3); }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-dialog-panel .gd-chips { margin: 10px 0 20px; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-dialog-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border: 1px solid rgba(49, 53, 67, .1); border-radius: 13px; background: #ececef; color: #555a66; font: 500 22px/1 Outfit, sans-serif; cursor: pointer; }
:is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-dialog-close:hover { background: #313543; color: #ffffff; }
.gd-dialog .gd-prose.is-teaser::after { background: linear-gradient(rgba(248, 248, 249, 0), #f8f8f9); }
.gd-toast { position: fixed; z-index: 2100; right: 24px; bottom: 24px; max-width: min(420px, calc(100vw - 32px)); padding: 13px 16px; border-radius: 14px; background: #313543; color: #ffffff; font: 600 14px/1.4 Outfit, Manrope, sans-serif; box-shadow: 0 18px 40px rgba(35, 38, 48, .3); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.gd-toast.is-visible { opacity: 1; transform: none; }
.gd-toast.is-error { background: #c9301f; }

/* local test payment page */
.gd-testpay-body { min-height: 100vh; margin: 0; display: grid; place-items: center; padding: 16px; background: #eceef1; font-family: Outfit, Manrope, sans-serif; }
.gd-testpay { width: min(480px, 100%); padding: 32px; border-radius: 26px; background: #ffffff; color: #313543; box-shadow: 0 22px 60px rgba(49, 53, 67, .14); }
.gd-testpay h1 { margin: 16px 0 6px; font: 740 26px/1.15 Outfit, Manrope, sans-serif; }
.gd-testpay-sum { margin: 0 0 12px; color: #ef3e2c; font: 780 34px/1 Outfit, Manrope, sans-serif; }
.gd-testpay code { font-size: 12px; }
.gd-testpay-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

@media (max-width: 1240px) {
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-editor-grid { grid-template-columns: 1fr; }
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-editor-side { position: static; }
}
@media (max-width: 720px) {
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-hero { flex-direction: column; align-items: flex-start; padding: 22px 20px; border-radius: 22px; }
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-hero h1 { font-size: 26px; }
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-toolbar-row { align-items: stretch; }
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-toolbar-selects { width: 100%; }
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-toolbar-selects .gd-select { flex: 1; min-width: 0; }
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-article-title { font-size: 30px; }
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-prose { font-size: 16px; }
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-paywall { grid-template-columns: 1fr; padding: 20px; }
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-paywall-actions, :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-paywall > .gd-muted { grid-column: 1; }
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-stats { grid-template-columns: 1fr; }
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-mine-row { flex-wrap: wrap; }
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-cover.is-small { width: 100%; }
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-mine-actions { flex-direction: row; }
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-dialog-panel { padding: 26px 20px 28px; border-radius: 22px; }
  :is(#guidesApp, .gd-dialog, .gd-testpay, .dashboard-topbar) .gd-editor-toolbar { top: 56px; }
  .gd-top-write { display: none; }
}
:is(#guidesApp) .gd-author-bio { max-width: 640px; margin: 8px 0 0; font-size: 15px; line-height: 1.55; opacity: .86; }
:is(#guidesApp) .gd-author-bio-form { max-width: 720px; margin: 0 0 24px; padding: 18px; border: 1px solid rgba(49, 53, 67, .12); border-radius: 18px; background: #ffffff; }

/* Phones: a short hero, filters in one swipeable row, lower covers. */
@media (max-width: 560px) {
  #guidesApp .gd-hero { gap: 14px; padding: 20px 18px; }
  #guidesApp .gd-hero h1 { font-size: 24px; }
  #guidesApp .gd-hero p { display: none; }
  #guidesApp .gd-chips { flex-wrap: nowrap; margin: 0 -16px; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; }
  #guidesApp .gd-chips::-webkit-scrollbar { display: none; }
  #guidesApp .gd-chips > * { flex: 0 0 auto; }
  #guidesApp .gd-cover { aspect-ratio: 2.4 / 1; padding: 12px 16px; }
  #guidesApp .gd-cover-title { font-size: 17px; }
}

/* The author's Telegram channel: the card, the blocks in the text and «доступ по подписке». */
:is(#guidesApp, .gd-dialog) .gd-badge.is-gated { background: #e3f2fb; color: #1b6f9c; }
:is(#guidesApp, .gd-dialog) .gd-tg-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid rgba(34, 158, 217, .22); border-radius: 22px; background: #f3f9fd; color: #313543; font-family: Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog) .gd-tg-avatar { display: grid; flex: none; place-items: center; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #229ed9; color: #ffffff; font: 760 26px/1 Outfit, Manrope, sans-serif; box-shadow: 0 6px 16px rgba(34, 158, 217, .2); }
:is(#guidesApp, .gd-dialog) .gd-tg-info { display: grid; flex: 1; gap: 4px; min-width: 0; }
:is(#guidesApp, .gd-dialog) .gd-tg-kicker { display: inline-flex; align-items: center; gap: 5px; color: #1b7fb5; font: 750 11px/1 Outfit, Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
:is(#guidesApp, .gd-dialog) .gd-tg-kicker svg, :is(#guidesApp, .gd-dialog) .gd-tg-btn svg, :is(#guidesApp, .gd-dialog) .gd-tg-verify svg, :is(#guidesApp, .gd-dialog) .gd-gate .gd-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:is(#guidesApp, .gd-dialog) .gd-tg-title { overflow: hidden; color: #313543; font: 740 19px/1.2 Outfit, Manrope, sans-serif; letter-spacing: -.015em; text-overflow: ellipsis; white-space: nowrap; }
:is(#guidesApp, .gd-dialog) .gd-tg-facts { color: #5d6472; font: 600 13px/1.3 Outfit, Manrope, sans-serif; overflow-wrap: anywhere; }
:is(#guidesApp, .gd-dialog) .gd-tg-btn { flex: none; border-color: #229ed9; background: #229ed9; color: #ffffff; box-shadow: 0 10px 22px rgba(34, 158, 217, .24); }
:is(#guidesApp, .gd-dialog) .gd-tg-btn:hover { border-color: #1a8cc3; background: #1a8cc3; color: #ffffff; transform: translateY(-1px); }
:is(#guidesApp, .gd-dialog) .gd-tg-card.is-compact { gap: 12px; padding: 10px 12px; border-radius: 16px; }
:is(#guidesApp, .gd-dialog) .gd-tg-card.is-compact .gd-tg-avatar { width: 44px; height: 44px; font-size: 18px; box-shadow: none; }
:is(#guidesApp, .gd-dialog) .gd-tg-card.is-compact .gd-tg-title { font-size: 15px; }
:is(#guidesApp, .gd-dialog) .gd-tg-card.is-compact .gd-tg-kicker { font-size: 10px; }
:is(#guidesApp, .gd-dialog) .gd-tg-top { margin: -8px 0 26px; }
:is(#guidesApp, .gd-dialog) .gd-prose .gd-tg-block { display: block; margin: 1.6em 0; }
:is(#guidesApp, .gd-dialog) .gd-prose .gd-tg-block .gd-tg-card { font-size: 15px; line-height: 1.4; }

/* the block in the editor */
:is(#guidesApp, .gd-dialog) .gd-editor-body .gd-tg-marker { position: relative; display: grid; gap: 8px; margin: 1.2em 0; padding: 12px 44px 12px 12px; border: 1px dashed rgba(34, 158, 217, .5); border-radius: 18px; background: #f7fbfe; cursor: default; user-select: none; }
:is(#guidesApp, .gd-dialog) .gd-tg-marker-label { color: #1b7fb5; font: 700 11px/1 Outfit, Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
:is(#guidesApp, .gd-dialog) .gd-tg-marker-remove { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 1px solid rgba(49, 53, 67, .12); border-radius: 10px; background: #ffffff; color: #555a66; font: 500 18px/1 Outfit, sans-serif; cursor: pointer; }
:is(#guidesApp, .gd-dialog) .gd-tg-marker-remove:hover { border-color: #c9301f; color: #c9301f; }

/* the side panel of the editor */
:is(#guidesApp, .gd-dialog) .gd-tg-field { padding-top: 16px; border-top: 1px solid rgba(49, 53, 67, .08); }
:is(#guidesApp, .gd-dialog) .gd-tg-input { display: flex; gap: 6px; }
:is(#guidesApp, .gd-dialog) .gd-tg-input .gd-input { flex: 1; min-width: 0; padding: 9px 12px; font-size: 14px; }
:is(#guidesApp, .gd-dialog) .gd-tg-input .gd-btn { min-height: 40px; }
:is(#guidesApp, .gd-dialog) .gd-tg-preview:empty { display: none; }
:is(#guidesApp, .gd-dialog) .gd-check { display: flex; align-items: center; gap: 10px; color: #313543; font: 650 13px/1.3 Outfit, Manrope, sans-serif; cursor: pointer; }
:is(#guidesApp, .gd-dialog) .gd-check input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: #ef3e2c; }
:is(#guidesApp, .gd-dialog) .gd-check:has(input:disabled) { color: #9a9ea8; cursor: not-allowed; }
:is(#guidesApp, .gd-dialog) .gd-tg-guide { padding: 12px 14px; border-radius: 14px; background: #f6f6f8; }
:is(#guidesApp, .gd-dialog) .gd-tg-guide summary { color: #313543; font: 700 13px/1.3 Outfit, Manrope, sans-serif; cursor: pointer; }
:is(#guidesApp, .gd-dialog) .gd-tg-guide > .gd-muted { margin: 8px 0 0; font-size: 12px; }
:is(#guidesApp, .gd-dialog) .gd-tg-steps { display: grid; gap: 8px; margin: 10px 0 0; padding-left: 20px; color: #434754; font: 500 13px/1.45 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog) .gd-tg-steps li { padding: 2px 4px; border-radius: 8px; }
:is(#guidesApp, .gd-dialog) .gd-tg-steps li.is-attention { background: #fff1ec; color: #a92a1b; }
:is(#guidesApp, .gd-dialog) .gd-tg-bot { color: #1b7fb5; }
:is(#guidesApp, .gd-dialog) .gd-tg-copy { margin-left: 2px; color: #1b7fb5; text-decoration: underline; text-underline-offset: 2px; }
:is(#guidesApp, .gd-dialog) .gd-tg-copy[hidden] { display: none; }
:is(#guidesApp, .gd-dialog) .gd-tg-verify[hidden] { display: none; }
:is(#guidesApp, .gd-dialog) .gd-tg-status { margin: 0; color: #686d78; font: 600 13px/1.45 Outfit, Manrope, sans-serif; }
:is(#guidesApp, .gd-dialog) .gd-tg-status:empty { display: none; }
:is(#guidesApp, .gd-dialog) .gd-tg-status.is-ok { padding: 10px 12px; border-radius: 12px; background: #e9f7ef; color: #1d6b3e; }
:is(#guidesApp, .gd-dialog) .gd-tg-status.is-error { padding: 10px 12px; border-radius: 12px; background: #fdeeec; color: #a92a1b; }
:is(#guidesApp, .gd-dialog) .gd-tg-status a { color: inherit; font-weight: 750; }

/* «Подпишись на канал, чтобы читать» */
:is(#guidesApp, .gd-dialog) .gd-gate { border-color: rgba(34, 158, 217, .28); }
:is(#guidesApp, .gd-dialog) .gd-paywall-icon.is-telegram { background: #229ed9; }
:is(#guidesApp, .gd-dialog) .gd-gate-card { grid-column: 2; }
:is(#guidesApp, .gd-dialog) .gd-gate-status { min-height: 18px; }
@media (max-width: 720px) {
  :is(#guidesApp, .gd-dialog) .gd-gate-card { grid-column: 1; }
  :is(#guidesApp, .gd-dialog) .gd-tg-card { flex-wrap: wrap; }
  :is(#guidesApp, .gd-dialog) .gd-tg-card:not(.is-compact) .gd-tg-btn { width: 100%; }
  :is(#guidesApp, .gd-dialog) .gd-tg-title { white-space: normal; }
}
/* The card inside the text keeps its own look: the prose rules for pictures, links and inline text stop here. */
:is(#guidesApp, .gd-dialog) .gd-prose .gd-tg-card img.gd-tg-avatar { display: grid; max-width: none; margin: 0; border-radius: 50%; }
:is(#guidesApp, .gd-dialog) .gd-prose .gd-tg-card .gd-tg-kicker { font-size: 11px; line-height: 1; letter-spacing: .08em; }
:is(#guidesApp, .gd-dialog) .gd-prose .gd-tg-card .gd-tg-title { font-size: 19px; line-height: 1.2; letter-spacing: -.015em; }
:is(#guidesApp, .gd-dialog) .gd-prose .gd-tg-card .gd-tg-facts { font-size: 13px; line-height: 1.3; }
:is(#guidesApp, .gd-dialog) .gd-prose .gd-tg-card.is-compact .gd-tg-title { font-size: 15px; }
:is(#guidesApp, .gd-dialog) .gd-prose .gd-tg-card.is-compact .gd-tg-kicker { font-size: 10px; }
:is(#guidesApp, .gd-dialog) .gd-prose a.gd-tg-btn { color: #ffffff; font-size: 13px; line-height: 1; text-decoration: none; }
:is(#guidesApp, .gd-dialog) .gd-prose .gd-tg-marker .gd-tg-marker-label { font-size: 11px; line-height: 1; letter-spacing: .08em; }
:is(#guidesApp, .gd-dialog) .gd-prose .gd-tg-marker > .gd-muted { font-size: 13px; }
:is(#guidesApp, .gd-dialog) .gd-check input { color-scheme: light; }
