* { box-sizing: border-box; font-family: 'Inter', -apple-system, sans-serif; }
body { margin: 0; background: #f4f3ef; color: #1c1917; }
.topbar { background: #ffffff; border-bottom: 1px solid #e7e5e4; padding: 14px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.brand { font-weight: 800; font-size: 19px; letter-spacing: -0.03em; color: #1c1917; display: flex; align-items: center; gap: 8px; }
.brand-badge { background: #0f766e; color: #fff; font-size: 11px; padding: 3px 7px; border-radius: 6px; font-weight: 700; }
.lang-switch { display: flex; background: #f5f5f4; border-radius: 10px; padding: 3px; border: 1px solid #e7e5e4; }
.lang-btn { border: none; background: transparent; padding: 5px 11px; border-radius: 7px; font-size: 12px; font-weight: 600; color: #78716c; cursor: pointer; }
.lang-btn.active { background: #1c1917; color: #ffffff; }
.workspace { max-width: 1380px; margin: 22px auto; padding: 0 24px; display: grid; grid-template-columns: 410px 1fr; gap: 22px; align-items: start; }
@media (max-width: 940px) { .workspace { grid-template-columns: 1fr; } }
.left-col { display: flex; flex-direction: column; gap: 16px; }
.card-box { background: #ffffff; border: 1px solid #e7e5e4; border-radius: 20px; padding: 20px; }
.step-header { display: flex; align-items: center; margin-bottom: 14px; }
.step-left { display: flex; align-items: center; gap: 10px; }
.step-tag { background: #1c1917; color: #fff; font-size: 11px; font-weight: 700; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.step-title { font-weight: 700; font-size: 15px; color: #1c1917; }
.dropzone { border: 1.5px dashed #d6d3d1; border-radius: 14px; padding: 26px 16px; text-align: center; cursor: pointer; background: #fafaf9; }
.btn-black { background: #1c1917; color: #fff; border: none; padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 13px; cursor: pointer; }
.drop-hint { font-size: 11.5px; color: #78716c; margin-top: 8px; }
.refs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.ref-slot { aspect-ratio: 1 / 1; border-radius: 10px; border: 1.5px dashed #d6d3d1; background: #fafaf9; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 20px; color: #78716c; }
.ref-slot.filled { border-style: solid; border-color: #e7e5e4; cursor: default; }
.ref-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ref-del { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(28,25,23,0.75); color: #fff; border: none; font-size: 11px; cursor: pointer; padding: 0; }
.analyze-pill { background: #f0fdfa; color: #0f766e; border: 1px solid #ccfbf1; border-radius: 10px; padding: 9px 12px; font-size: 12.5px; font-weight: 600; text-align: center; margin-bottom: 8px; }
.meta-input { width: 100%; padding: 9px 12px; border: 1px solid #e7e5e4; border-radius: 10px; font-size: 13px; font-weight: 600; color: #1c1917; background: #fafaf9; margin-bottom: 6px; outline: none; }
.meta-input.sub { font-size: 12px; font-weight: 500; color: #57534e; }
.mode-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #f5f5f4; padding: 4px; border-radius: 12px; margin-bottom: 14px; }
.mode-tab { border: none; background: transparent; padding: 8px; border-radius: 9px; font-size: 13px; font-weight: 600; color: #78716c; cursor: pointer; }
.mode-tab.active { background: #1c1917; color: #ffffff; }
.empty-settings { text-align: center; color: #78716c; font-size: 13px; padding: 24px 12px; background: #fafaf9; border-radius: 12px; }
.sec-label { font-size: 12px; font-weight: 700; color: #292524; margin-bottom: 7px; }
.funnel-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.f-tab { text-align: left; padding: 8px 10px; border: 1.5px solid #e7e5e4; border-radius: 10px; background: #fff; font-size: 12px; font-weight: 600; color: #44403c; cursor: pointer; }
.f-tab.active { border-color: #0f766e; background: #f0fdfa; color: #0f766e; }
.wishes-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }
.ai-idea-btn { background: #f5f5f4; border: 1px solid #e7e5e4; color: #1c1917; padding: 4px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.wishes-area { width: 100%; padding: 9px 11px; border: 1px solid #e7e5e4; border-radius: 10px; font-size: 12.5px; line-height: 1.4; background: #fafaf9; outline: none; resize: vertical; margin-bottom: 12px; }
.adv-toggle { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: #fafaf9; border: 1px solid #e7e5e4; border-radius: 10px; cursor: pointer; margin-bottom: 12px; }
.adv-toggle b { display: block; font-size: 12.5px; }
.adv-toggle span { font-size: 11px; color: #78716c; }
.adv-body { padding: 10px; border: 1px solid #e7e5e4; border-radius: 10px; margin-bottom: 12px; background: #fafaf9; }
.seg-row { display: flex; gap: 5px; }
.seg-btn { flex: 1; padding: 7px 6px; border: 1px solid #e7e5e4; background: #fff; border-radius: 8px; font-size: 11.5px; font-weight: 600; color: #57534e; cursor: pointer; }
.seg-btn.active { background: #1c1917; color: #fff; border-color: #1c1917; }
.usp-section { border-top: 1px solid #f5f5f4; padding-top: 12px; margin-bottom: 12px; }
.usp-row { display: grid; grid-template-columns: 95px 1fr 22px; gap: 6px; align-items: center; margin-bottom: 6px; }
.usp-in { padding: 7px 9px; border: 1px solid #e7e5e4; border-radius: 8px; font-size: 12px; background: #fafaf9; outline: none; width: 100%; }
.usp-in.bold { font-weight: 700; color: #0f766e; }
.usp-del { border: none; background: transparent; color: #a8a29e; font-size: 16px; cursor: pointer; }
.btn-add-q { width: 100%; background: #fafaf9; border: 1px dashed #d6d3d1; color: #44403c; padding: 8px; border-radius: 10px; font-size: 12px; font-weight: 600; cursor: pointer; }
.btn-primary { width: 100%; background: #0f766e; color: #ffffff; border: none; padding: 14px; border-radius: 12px; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.btn-primary:disabled { background: #e7e5e4; color: #a8a29e; cursor: not-allowed; }
.results-box { min-height: 620px; display: flex; flex-direction: column; }
.results-empty { flex: 1; display: flex; align-items: center; justify-content: center; color: #78716c; font-size: 14px; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; }
.result-item { background: #fafaf9; border: 2px solid #e7e5e4; border-radius: 16px; padding: 14px; transition: border-color 0.15s; }
.result-item.selected { border-color: #0f766e; }
.card-canvas { position: relative; width: 100%; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: #e7e5e4; }
.card-canvas img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.cov-hero-head { position: absolute; top: 18px; left: 18px; width: max-content; max-width: 90%; z-index: 4; cursor: grab; user-select: none; }
.cov-kicker { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.88); margin-bottom: 2px; text-shadow: 0 1px 6px rgba(0,0,0,0.45); outline: none; }
.cov-hero-title { font-size: 27px; font-weight: 900; color: #ffffff; line-height: 1.02; text-shadow: 0 2px 12px rgba(0,0,0,0.45); outline: none; }
.cov-hero-badge { display: inline-block; margin-top: 6px; background: rgba(15, 23, 42, 0.72); backdrop-filter: blur(8px); color: #ffffff; font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.22); outline: none; }
.cov-hero-col { position: absolute; left: 16px; top: 120px; width: 138px; display: flex; flex-direction: column; gap: 8px; z-index: 3; cursor: grab; user-select: none; }
.cov-hero-stat { background: rgba(15, 23, 42, 0.56); backdrop-filter: blur(10px); border-radius: 12px; padding: 7px 10px; border: 1px solid rgba(255,255,255,0.24); border-left: 3px solid #ffffff; }
.cov-hero-sm { font-size: 9.5px; font-weight: 600; color: rgba(255,255,255,0.85); outline: none; }
.cov-hero-bg { font-size: 15.5px; font-weight: 900; color: #ffffff; line-height: 1.08; outline: none; }
.cov-hero-foot { background: rgba(15, 23, 42, 0.82); backdrop-filter: blur(10px); border-radius: 12px; padding: 8px 10px; color: #fff; border: 1px solid rgba(255,255,255,0.28); }
.mp-head { position: absolute; top: 20px; left: 20px; width: max-content; max-width: 90%; z-index: 4; cursor: grab; user-select: none; }
.mp-title { font-size: 28px; font-weight: 800; color: #292524; line-height: 1.02; outline: none; }
.mp-sub { font-size: 15px; font-weight: 400; color: #44403c; margin-top: 2px; outline: none; }
.panel-numbers, .panel-cards, .panel-steps { position: absolute; left: 18px; top: 105px; width: 165px; background: rgba(255,255,255,0.84); backdrop-filter: blur(12px); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; z-index: 3; cursor: grab; user-select: none; }
.panel-cards, .panel-steps { left: auto; right: 18px; }
.num-item { border-left: 2.5px solid #292524; padding-left: 8px; }
.num-big, .dc-big, .st-big { font-size: 14px; font-weight: 800; color: #292524; outline: none; }
.num-small, .dc-small, .st-small { font-size: 10px; color: #57534e; outline: none; }
.st-num { width: 18px; height: 18px; border-radius: 50%; background: #3f3f46; color: #fff; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-right: 5px; }
.tone-bar { display: flex; align-items: center; gap: 5px; }
.tone-bar .seg-btn { padding: 4px 9px; font-size: 11px; }
.sticker-dock { background: #fafaf9; border: 1px solid #e7e5e4; border-radius: 14px; padding: 10px 12px; margin-bottom: 14px; }
.dock-head { font-size: 11.5px; font-weight: 600; color: #57534e; margin-bottom: 8px; }
.dock-list { display: flex; flex-wrap: wrap; gap: 7px; }
.dock-chip { background: #ffffff; border: 1px solid #d6d3d1; border-radius: 10px; padding: 6px 10px; font-size: 11.5px; font-weight: 700; color: #1c1917; cursor: grab; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; max-width: 210px; user-select: none; }
.dock-chip.add-btn { border-style: dashed; border-color: #0f766e; color: #0f766e; cursor: pointer; }
.dock-chip-top { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; }
.dock-chip-sub { font-size: 10px; font-weight: 500; color: #78716c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.dock-chip.used { opacity: 0.45; border-style: solid; border-color: #0f766e; background: #f0fdfa; cursor: default; }
.dock-chip.clear-btn { border-color: #fca5a5; color: #b91c1c; background: #fef2f2; cursor: pointer; }
.drag-widget { position: absolute; z-index: 5; cursor: grab; user-select: none; backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.45); box-shadow: 0 8px 24px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.35); }
.drag-widget:active { cursor: grabbing; }
.dw-del { position: absolute; top: -7px; right: -7px; width: 18px; height: 18px; border-radius: 50%; background: #1c1917; color: #fff; border: 1px solid #fff; font-size: 11px; cursor: pointer; display: none; align-items: center; justify-content: center; padding: 0; z-index: 9; }
.drag-widget:hover .dw-del, .dw-stat:hover .dw-del { display: flex; }
.dw-resize { position: absolute; bottom: -5px; right: -5px; width: 14px; height: 14px; border-radius: 4px; background: #ffffff; border: 1.5px solid #0f766e; cursor: nwse-resize; display: none; z-index: 8; }
.drag-widget:hover .dw-resize { display: block; }
.dw-capsule { border-radius: 999px; padding: 7px 16px; font-size: 12px; font-weight: 800; }
.dw-plus { border-radius: 14px; padding: 10px 13px; min-width: 135px; }
.dw-plus-badge { position: absolute; top: -9px; left: 10px; width: 18px; height: 18px; background: #fff; color: #111827; border-radius: 5px; font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.dw-tile { border-radius: 14px; padding: 9px 13px; text-align: center; }
.dw-icons { border-radius: 16px; padding: 10px 12px; width: 148px; min-width: 105px; display: flex; flex-direction: column; }
.dw-icons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 6px; flex: 1; }
.dw-ic-cell { position: relative; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.28); border-radius: 8px; padding: 5px 6px; font-size: 9.5px; font-weight: 700; text-align: center; outline: none; display: flex; align-items: center; justify-content: center; word-break: normal; overflow-wrap: normal; }
.ic-cell-del { position: absolute; top: -5px; right: -5px; width: 14px; height: 14px; border-radius: 50%; background: #1c1917; color: #fff; border: 1px solid #fff; font-size: 9px; line-height: 1; cursor: pointer; display: none; align-items: center; justify-content: center; padding: 0; z-index: 9; }
.dw-ic-cell:hover .ic-cell-del { display: flex; }
.ic-cell-add { position: absolute; bottom: -6px; left: 10px; width: 18px; height: 18px; border-radius: 6px; background: #0f766e; color: #fff; border: 1.5px solid #fff; font-size: 13px; font-weight: 800; line-height: 1; cursor: pointer; display: none; align-items: center; justify-content: center; padding: 0; z-index: 9; }
.dw-icons:hover .ic-cell-add { display: flex; }
.dw-big { font-size: 13.5px; font-weight: 800; line-height: 1.1; outline: none; }
.dw-small { font-size: 10.5px; opacity: 0.9; margin-top: 2px; line-height: 1.15; outline: none; }
[contenteditable="true"] { outline: 2px solid #0f766e !important; outline-offset: 2px; border-radius: 6px; cursor: text !important; user-select: text !important; background-color: rgba(255, 255, 255, 0.14); }
.card-footer { display: flex; margin-top: 12px; }
.btn-dl { background: #1c1917; color: #fff; border: none; padding: 11px; border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; width: 100%; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(28, 25, 23, 0.45); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.modal-card { background: #fff; border-radius: 22px; padding: 24px; width: 100%; max-width: 420px; }
.m-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 12px; color: #78716c; }
.m-close { border: none; background: transparent; font-size: 20px; cursor: pointer; }
.m-q { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.m-opt { width: 100%; text-align: left; padding: 11px 14px; border: 1.5px solid #e7e5e4; background: #fff; border-radius: 12px; font-size: 13px; font-weight: 600; margin-bottom: 8px; cursor: pointer; }
.m-custom { width: 100%; padding: 11px 14px; border: 1.5px dashed #d6d3d1; border-radius: 12px; font-size: 13px; outline: none; margin-bottom: 12px; }
.m-nav { display: flex; justify-content: space-between; align-items: center; }

/* ---------- Шапка: аккаунт и баланс ---------- */
.topbar-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.user-area { display: flex; align-items: center; }
.btn-login { background: #0f766e; color: #fff; border: none; padding: 8px 16px; border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer; }
.btn-login:hover { background: #0d5f59; }
.user-chip { display: flex; align-items: center; gap: 9px; background: #fafaf9; border: 1px solid #e7e5e4; border-radius: 999px; padding: 4px 6px 4px 12px; }
.user-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1px solid #e7e5e4; }
.user-name { font-size: 12.5px; font-weight: 700; color: #1c1917; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.credits-badge { background: #f0fdfa; color: #0f766e; border: 1px solid #ccfbf1; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.btn-topup { background: #1c1917; color: #fff; border: none; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; cursor: pointer; }
.btn-topup:hover { background: #0f766e; }
.btn-admin { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; text-decoration: none; }
.btn-logout { background: transparent; color: #78716c; border: 1px solid #e7e5e4; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; cursor: pointer; }
.btn-logout:hover { color: #dc2626; border-color: #fecaca; }

/* ---------- Модалка входа ---------- */
.auth-title { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.auth-note { font-size: 12.5px; color: #78716c; margin-bottom: 16px; line-height: 1.45; }
.auth-btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 12px; border-radius: 12px; font-size: 13.5px; font-weight: 700; cursor: pointer; margin-bottom: 9px; border: 1px solid #e7e5e4; background: #fff; color: #1c1917; text-decoration: none; }
.auth-btn:hover { border-color: #0f766e; color: #0f766e; }
.auth-btn.tg { background: #229ed9; border-color: #229ed9; color: #fff; }
.auth-btn.tg:hover { background: #1b87ba; color: #fff; }
.auth-btn.dev { background: #fafaf9; border-style: dashed; color: #57534e; }
.auth-sep { text-align: center; font-size: 11px; color: #a8a29e; margin: 12px 0; letter-spacing: .08em; }
.tg-holder { display: flex; justify-content: center; margin-bottom: 4px; }

/* ---------- Витрина пакетов ---------- */
.pkg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.pkg { border: 1.5px solid #e7e5e4; border-radius: 14px; padding: 13px; background: #fafaf9; position: relative; }
.pkg.popular { border-color: #0f766e; background: #f0fdfa; }
.pkg-tag { position: absolute; top: -9px; right: 10px; background: #0f766e; color: #fff; font-size: 9.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; letter-spacing: .04em; }
.pkg-name { font-size: 12.5px; font-weight: 800; color: #1c1917; }
.pkg-credits { font-size: 19px; font-weight: 900; color: #0f766e; margin: 4px 0 2px; letter-spacing: -0.02em; }
.pkg-price { font-size: 12px; font-weight: 700; color: #57534e; }
.pkg-per { font-size: 10.5px; color: #a8a29e; margin-top: 2px; }
.pkg-stub { font-size: 11.5px; color: #78716c; background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 10px 12px; line-height: 1.45; }
.pkg-clickable { text-align: left; cursor: pointer; font: inherit; font-size: inherit; transition: border-color .12s, box-shadow .12s, transform .12s; }
.pkg-clickable:hover:not(:disabled) { border-color: #0f766e; box-shadow: 0 4px 14px rgba(15, 118, 110, 0.16); transform: translateY(-1px); }
.pkg-clickable:disabled { opacity: 0.55; cursor: progress; }

/* ---------- Всплывающие уведомления ---------- */
.toast-holder { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 200; pointer-events: none; }
.toast { background: #1c1917; color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px rgba(28, 25, 23, 0.28); max-width: 330px; opacity: 1; transition: opacity .6s, transform .6s; }
.toast.toast-out { opacity: 0; transform: translateY(8px); }

/* ---------- Подвал сайта ---------- */
.site-footer { margin-top: 34px; border-top: 1px solid #e7e5e4; background: #ffffff; }
.footer-inner { max-width: 1380px; margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-brand b { font-size: 15px; font-weight: 800; color: #1c1917; letter-spacing: -0.02em; }
.footer-brand span { font-size: 11.5px; color: #78716c; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.footer-links a { font-size: 12.5px; font-weight: 600; color: #57534e; text-decoration: none; }
.footer-links a:hover { color: #0f766e; text-decoration: underline; }
.footer-copy { font-size: 11.5px; color: #a8a29e; }

/* Шапка на узких экранах: чип аккаунта переносится, а не вылезает за край */
@media (max-width: 900px) {
  .topbar { padding: 12px 18px; }
  .user-chip { flex-wrap: wrap; justify-content: flex-end; border-radius: 16px; padding: 5px 8px; }
  .user-name { max-width: 96px; }
}
@media (max-width: 700px) {
  .user-name { display: none; }
  .topbar-right { gap: 8px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Мои карточки ---------- */
.btn-my-cards { background: transparent; color: #0f766e; border: 1px solid #ccfbf1; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; cursor: pointer; }
.btn-my-cards:hover { background: #f0fdfa; }
.modal-wide { max-width: 760px; max-height: 86vh; overflow-y: auto; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.gallery-item { border: 1px solid #e7e5e4; border-radius: 12px; overflow: hidden; background: #fafaf9; display: flex; flex-direction: column; }
.gallery-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: #e7e5e4; }
.gallery-meta { padding: 8px 10px 4px; }
.gallery-name { font-size: 12px; font-weight: 700; color: #1c1917; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-sub { font-size: 10.5px; color: #78716c; margin-top: 2px; }
.btn-dl-mini { margin: 6px 10px 10px; text-align: center; background: #1c1917; color: #fff; text-decoration: none; padding: 7px; border-radius: 8px; font-size: 11.5px; font-weight: 700; }
.btn-dl-mini:hover { background: #0f766e; }
.gallery-empty { grid-column: 1 / -1; text-align: center; color: #78716c; font-size: 13px; padding: 28px 12px; background: #fafaf9; border-radius: 12px; }

/* ---------- Юридические страницы ---------- */
.legal-wrap { max-width: 780px; margin: 0 auto; padding: 28px 24px 60px; }
.legal-wrap h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
.legal-wrap h2 { font-size: 16px; font-weight: 800; margin: 26px 0 8px; }
.legal-wrap p, .legal-wrap li { font-size: 13.5px; line-height: 1.65; color: #44403c; }
.legal-wrap ul { padding-left: 20px; }
.legal-meta { font-size: 12px; color: #78716c; margin-bottom: 22px; }
.legal-card { background: #ffffff; border: 1px solid #e7e5e4; border-radius: 18px; padding: 26px 28px; }
.legal-back { display: inline-block; margin-bottom: 16px; font-size: 12.5px; font-weight: 600; color: #0f766e; text-decoration: none; }
.legal-note { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 12px 14px; font-size: 12.5px; color: #78716c; line-height: 1.55; }
