/* ============ FINZO WALLET — TG Post Maker ============ */
.tgpm-page{padding-bottom:28px}.tgpm-heading{display:flex;align-items:center;gap:12px;padding:8px 2px 26px}.tgpm-heading-icon{width:50px;height:50px;flex:0 0 50px;border-radius:16px;display:grid;place-items:center;color:#fff;font-size:1.48rem;background:linear-gradient(145deg,#2aabee,#168dcc);border:1px solid rgba(255,255,255,.34);box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 12px 24px -18px rgba(34,158,217,.9)}.tgpm-heading>div:last-child{min-width:0}.tgpm-heading h1{margin:0;font-size:clamp(1.24rem,5.2vw,1.62rem);line-height:1.1;letter-spacing:-.035em;font-weight:900}.tgpm-heading p{margin:5px 0 0;color:var(--text-muted);font-size:.65rem;line-height:1.42;font-weight:650}
.tgpm-builder-card{padding:16px;border-radius:20px}.tgpm-hero{display:grid;grid-template-columns:54px minmax(0,1fr) 40px;align-items:center;gap:12px;padding:14px;border:1px solid color-mix(in srgb,var(--primary) 18%,var(--border));border-radius:17px;background:linear-gradient(135deg,color-mix(in srgb,var(--primary) 7%,var(--surface)),var(--surface))}.tgpm-hero-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:color-mix(in srgb,#229ed9 14%,var(--surface));color:#229ed9;font-size:1.35rem}.tgpm-hero-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.tgpm-kicker{font-size:.68rem;line-height:1;font-weight:900;letter-spacing:.11em;color:var(--primary)}.tgpm-hero-copy>b{font-size:1rem;line-height:1.25;color:var(--text)}.tgpm-hero-copy p{margin:2px 0 0;font-size:.82rem;line-height:1.5;color:var(--text-muted)}.tgpm-youtube-mark{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:color-mix(in srgb,#ff0033 10%,var(--surface));color:#ff0033;font-size:1.1rem}.tgpm-link-field{margin-top:16px}.tgpm-link-field label{font-size:.84rem;font-weight:800}.tgpm-input-wrap{position:relative}.tgpm-input-wrap .input{height:50px;padding-right:91px;font-size:.9rem}.tgpm-paste-ribbon{right:7px!important;top:50%!important;transform:translateY(-50%)!important;transform-origin:center!important;height:34px!important;font-size:.76rem!important}.tgpm-paste-ribbon:hover,.tgpm-paste-ribbon:focus{transform:translateY(-50%)!important}.tgpm-paste-ribbon:active{transform:translateY(-50%) scale(.96)!important}.tgpm-continue{width:100%;height:50px;margin-top:14px;border-radius:15px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:.9rem;font-weight:850}

.tgpm-how-card{margin-top:16px;padding:16px;border:1px solid var(--border);border-radius:19px;background:var(--surface);box-shadow:0 8px 24px rgba(15,23,42,.04)}.tgpm-how-head{display:flex;align-items:center;gap:10px;margin-bottom:13px}.tgpm-how-head>span{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);font-size:.9rem}.tgpm-how-head>div{display:flex;flex-direction:column;gap:2px}.tgpm-how-head b{font-size:.95rem;color:var(--text)}.tgpm-how-head small{font-size:.76rem;color:var(--text-muted)}.tgpm-steps{display:grid;gap:10px}.tgpm-steps>div{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:start;padding:11px 12px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2)}.tgpm-steps>div>span{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:var(--primary);color:#fff;font-size:.78rem;font-weight:900}.tgpm-steps p{margin:0;display:flex;flex-direction:column;gap:3px}.tgpm-steps b{font-size:.86rem;color:var(--text)}.tgpm-steps small{font-size:.76rem;line-height:1.5;color:var(--text-muted)}

.sheet.tgpm-sheet-shell{max-height:min(94vh,900px);background:color-mix(in srgb,var(--surface) 98%,var(--primary) 2%);border:1px solid color-mix(in srgb,var(--border) 84%,var(--primary) 16%);border-bottom:0}.sheet.tgpm-sheet-shell .sheet-head h3{font-size:1rem;font-weight:900;letter-spacing:-.02em}.sheet.tgpm-sheet-shell .sheet-body{padding-bottom:max(26px,var(--safe-b));font-size:.88rem}

.tgpm-fetched-sheet,.tgpm-video-sheet,.tgpm-ready-sheet{padding-bottom:4px}.tgpm-fetched-head,.tgpm-config-intro,.tgpm-ready-banner{display:flex;align-items:center;gap:11px;margin-bottom:13px;padding:12px 13px;border:1px solid var(--border);border-radius:15px;background:var(--surface)}.tgpm-fetched-head>span,.tgpm-config-intro>span,.tgpm-ready-banner>span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:none}.tgpm-fetched-head>span{background:color-mix(in srgb,#ff0033 11%,var(--surface));color:#ff0033}.tgpm-config-intro>span{background:color-mix(in srgb,#229ed9 12%,var(--surface));color:#229ed9}.tgpm-ready-banner{border-color:color-mix(in srgb,#22a06b 24%,var(--border));background:color-mix(in srgb,#22a06b 6%,var(--surface))}.tgpm-ready-banner>span{background:color-mix(in srgb,#22a06b 13%,var(--surface));color:#16865a}.tgpm-fetched-head>div,.tgpm-config-intro>div,.tgpm-ready-banner>div{display:flex;min-width:0;flex-direction:column;gap:2px}.tgpm-fetched-head b,.tgpm-config-intro b,.tgpm-ready-banner b{font-size:.9rem;color:var(--text)}.tgpm-fetched-head small,.tgpm-config-intro small,.tgpm-ready-banner small{font-size:.75rem;line-height:1.4;color:var(--text-muted)}

.tgpm-post-image-wrap{position:relative;padding:7px;border:1px solid var(--border);border-radius:18px;background:#080808;box-shadow:0 10px 24px rgba(15,23,42,.08)}.tgpm-post-image-wrap img{display:block;width:100%;height:auto;border-radius:12px;object-fit:contain;background:#0f0f0f}.tgpm-image-badge{position:absolute;right:13px;top:13px;padding:6px 9px;border-radius:999px;background:rgba(0,0,0,.76);color:#fff;font-size:.66rem;font-weight:900;letter-spacing:.04em}.tgpm-download-btn{width:100%;height:46px;margin-top:10px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:.84rem;font-weight:850}.tgpm-create-telegram-btn{width:100%;height:50px;margin-top:12px;border-radius:15px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:.9rem;font-weight:850}

.tgpm-two-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tgpm-two-inputs .field label{font-size:.8rem;font-weight:800}.tgpm-two-inputs .input{height:46px;font-size:.88rem}.tgpm-tags-card{margin-top:13px;padding:12px;border:1px solid var(--border);border-radius:16px;background:var(--surface-2)}.tgpm-tags-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.tgpm-tags-head>div:first-child{display:flex;min-width:0;flex-direction:column;gap:2px}.tgpm-tags-head b{font-size:.86rem;color:var(--text)}.tgpm-tags-head small{font-size:.73rem;color:var(--text-muted);line-height:1.4}.tgpm-tags-head>div:last-child{display:flex;align-items:center;gap:6px;flex:none}.tgpm-tags-head>div:last-child>span{font-size:.7rem;font-weight:850;color:var(--text-muted)}.tgpm-tags-head button{height:32px;padding:0 10px;border:1px solid color-mix(in srgb,var(--primary) 24%,var(--border));border-radius:9px;background:var(--surface);color:var(--primary);font:800 .72rem/1 inherit}.tgpm-tags-head button:disabled{opacity:.42}.tgpm-tag-list{display:grid;gap:8px}.tgpm-tag-row{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:7px}.tgpm-tag-hash{width:32px;height:38px;border-radius:9px;display:grid;place-items:center;background:color-mix(in srgb,var(--primary) 8%,var(--surface));color:var(--primary);font-size:.7rem}.tgpm-tag-row .input{height:40px;padding:0 10px;font-size:.82rem;font-weight:650}.tgpm-tag-remove{width:32px;height:32px;border:0;border-radius:9px;background:transparent;color:var(--text-muted);font-size:.72rem}.tgpm-tag-remove:active{background:var(--danger-soft);color:var(--danger)}.tgpm-time-card{display:grid;grid-template-columns:40px minmax(0,1fr) 126px;align-items:center;gap:10px;margin-top:12px;padding:11px 12px;border:1px solid var(--border);border-radius:15px;background:var(--surface)}.tgpm-time-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary)}.tgpm-time-copy{display:flex;min-width:0;flex-direction:column;gap:2px}.tgpm-time-copy b{font-size:.84rem;color:var(--text)}.tgpm-time-copy small{font-size:.72rem;color:var(--text-muted)}.tgpm-time-card input[type=time]{width:126px;height:39px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text);font:800 .8rem/1 inherit;padding:0 8px;color-scheme:light dark}.tgpm-create-btn{width:100%;height:50px;margin-top:13px;border-radius:15px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:.9rem;font-weight:850}

.tgpm-caption-preview{margin-top:14px;padding:12px;border:1px solid color-mix(in srgb,var(--primary) 18%,var(--border));border-radius:17px;background:linear-gradient(145deg,color-mix(in srgb,var(--primary) 5%,var(--surface)),var(--surface));box-shadow:0 8px 20px rgba(15,23,42,.05)}.tgpm-caption-preview-head{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--border)}.tgpm-caption-preview-head>span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,#229ed9 12%,var(--surface));color:#229ed9;font-size:.9rem}.tgpm-caption-preview-head>div{display:flex;flex-direction:column;gap:2px}.tgpm-caption-preview-head b{font-size:.86rem;color:var(--text)}.tgpm-caption-preview-head small{font-size:.73rem;color:var(--text-muted);line-height:1.4}.tgpm-edit-hint{margin-left:5px;padding:2px 6px;border-radius:6px;background:var(--primary-soft);color:var(--primary);font-size:.62rem;font-weight:850}.tgpm-caption-preview-body{max-height:390px;overflow:auto;padding:13px 5px 8px;font-family:Arial,"Helvetica Neue",sans-serif;font-size:.84rem;line-height:1.58;color:var(--text);overflow-wrap:anywhere}.tgpm-preview-line{min-height:1.15em}.tgpm-preview-gap{height:.72em}.tgpm-preview-line strong{font-weight:800;color:var(--text);letter-spacing:-.005em}.tgpm-preview-line a{color:#229ed9;text-decoration:none;font-weight:650}.tgpm-preview-line code{display:inline-block;max-width:100%;padding:2px 6px;border:1px solid color-mix(in srgb,var(--border) 82%,var(--primary) 18%);border-radius:6px;background:var(--surface-2);color:var(--text);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.79rem;white-space:normal}.tgpm-caption-editor-body{min-height:250px;cursor:text;border-radius:11px;transition:background .18s,box-shadow .18s}.tgpm-caption-editor-body:focus{outline:0;background:color-mix(in srgb,var(--primary) 3.5%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primary) 20%,transparent)}.tgpm-caption-editor-body a{pointer-events:none}.tgpm-caption-editor-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;padding-top:9px;border-top:1px solid var(--border);color:var(--text-muted);font-size:.72rem;font-weight:750}.tgpm-caption-editor-foot>span:first-child{display:flex;align-items:center;gap:5px}.tgpm-caption-editor-foot>span:first-child i{color:var(--primary)}.tgpm-caption-count{padding:4px 7px;border-radius:7px;background:var(--surface-2);color:var(--text-muted);font-size:.68rem;font-weight:800}.tgpm-caption-count.over{color:var(--danger);background:var(--danger-soft)}

.tgpm-channel-head{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:17px 1px 9px}.tgpm-channel-head>div{display:flex;flex-direction:column;gap:2px}.tgpm-channel-head b{font-size:.88rem;color:var(--text)}.tgpm-channel-head small{font-size:.74rem;color:var(--text-muted)}.tgpm-select-all{border:0;background:transparent;color:var(--primary);font:800 .74rem/1 inherit;padding:7px}.tgpm-channel-list{display:grid;gap:9px}.tgpm-channel-option{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:11px;border:1px solid var(--border);border-radius:15px;background:var(--surface);color:var(--text);cursor:pointer;text-align:left;transition:border-color .18s,background .18s,transform .16s}.tgpm-channel-option:active{transform:scale(.985)}.tgpm-channel-option.selected{border-color:color-mix(in srgb,var(--primary) 55%,var(--border));background:color-mix(in srgb,var(--primary) 7%,var(--surface))}.tgpm-channel-option.unavailable{opacity:.64}.tgpm-channel-logo{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:color-mix(in srgb,#229ed9 12%,var(--surface));color:#229ed9;flex:none}.tgpm-channel-logo img{width:100%;height:100%;object-fit:cover;display:block}.tgpm-channel-logo-fallback{font-size:1rem}.tgpm-channel-option>div{min-width:0;display:flex;flex-direction:column;gap:3px}.tgpm-channel-option b{font-size:.84rem;line-height:1.25;color:var(--text)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tgpm-channel-option small{font-size:.71rem;line-height:1.3;color:var(--text-muted)!important}.tgpm-check{width:25px;height:25px;border:1.5px solid var(--border);border-radius:8px;display:grid!important;place-items:center;background:var(--surface-2)!important;color:transparent!important;font-size:.64rem;transition:.18s}.tgpm-channel-option.selected .tgpm-check{background:var(--primary)!important;border-color:var(--primary);color:#fff!important}.tgpm-no-channels{padding:18px;border:1px dashed var(--border);border-radius:16px;text-align:center;background:var(--surface-2);color:var(--text)}.tgpm-no-channels i{font-size:1.35rem;color:#229ed9}.tgpm-no-channels b{display:block;margin-top:8px;font-size:.86rem}.tgpm-no-channels p{margin:5px auto 11px;max-width:280px;color:var(--text-muted);font-size:.75rem;line-height:1.45}.tgpm-post-btn{width:100%;height:51px;margin-top:15px;border-radius:15px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:.88rem;font-weight:850}.tgpm-post-btn:disabled{opacity:.48;cursor:not-allowed;filter:saturate(.55)}.tgpm-post-note,.tgpm-disabled-note,.tgpm-alerts-note{display:flex;align-items:flex-start;gap:7px;margin:9px 3px 0;color:var(--text-muted);font-size:.72rem;line-height:1.45}.tgpm-disabled-note{padding:10px 11px;border:1px dashed var(--border);border-radius:12px;background:var(--surface-2)}.tgpm-post-note i,.tgpm-disabled-note i,.tgpm-alerts-note i{color:var(--primary);margin-top:2px}.tgpm-personal-separator{position:relative;display:flex;align-items:center;justify-content:center;margin:16px 0 11px;color:var(--text-muted);font-size:.68rem;font-weight:900;letter-spacing:.12em}.tgpm-personal-separator:before,.tgpm-personal-separator:after{content:"";height:1px;flex:1;background:var(--border)}.tgpm-personal-separator span{padding:0 10px}.tgpm-alerts-btn{width:100%;height:49px;border-radius:15px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:.84rem;font-weight:850}.tgpm-alerts-btn i{color:#229ed9}

@media(max-width:420px){.tgpm-page{padding-bottom:20px}.tgpm-builder-card{padding:13px}.tgpm-hero{grid-template-columns:48px minmax(0,1fr);padding:12px}.tgpm-hero-icon{width:48px;height:48px}.tgpm-youtube-mark{display:none}.tgpm-hero-copy p{font-size:.79rem}.tgpm-two-inputs{grid-template-columns:1fr 1fr}.tgpm-tags-head{align-items:flex-start;flex-direction:column}.tgpm-tags-head>div:last-child{width:100%;justify-content:flex-end}.tgpm-time-card{grid-template-columns:38px minmax(0,1fr) 116px}.tgpm-time-icon{width:38px;height:38px}.tgpm-time-card input[type=time]{width:116px}.tgpm-caption-preview-head{grid-template-columns:36px minmax(0,1fr)}.tgpm-caption-preview-head>span{width:36px;height:36px}.tgpm-channel-option{grid-template-columns:42px minmax(0,1fr) auto}.tgpm-channel-logo{width:42px;height:42px}}
@media(max-width:339px){.tgpm-two-inputs{grid-template-columns:1fr}.tgpm-time-card{grid-template-columns:36px minmax(0,1fr)}.tgpm-time-card input[type=time]{grid-column:1/-1;width:100%}}

/* v2026.09.07.2 — true task-details popup above the still-active preview sheet. */
body.tgpm-detail-modal-open{overflow:hidden}
.tgpm-detail-modal-backdrop{position:fixed;inset:0;z-index:16000;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(9,12,20,.56);backdrop-filter:blur(4px);opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease}
.tgpm-detail-modal-backdrop.open{opacity:1;visibility:visible}
.tgpm-detail-modal{width:min(520px,100%);max-height:min(86vh,760px);display:flex;flex-direction:column;overflow:hidden;border:1px solid color-mix(in srgb,var(--primary) 18%,var(--border));border-radius:22px;background:var(--surface);box-shadow:0 28px 80px rgba(0,0,0,.28);transform:translateY(12px) scale(.985);transition:transform .18s ease}
.tgpm-detail-modal-backdrop.open .tgpm-detail-modal{transform:translateY(0) scale(1)}
.tgpm-detail-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 15px 13px;border-bottom:1px solid var(--border);background:linear-gradient(135deg,color-mix(in srgb,var(--primary) 5%,var(--surface)),var(--surface))}
.tgpm-detail-modal-head>div:first-child{display:flex;align-items:center;min-width:0;gap:10px}.tgpm-detail-modal-head>div:first-child>span{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;flex:none;background:color-mix(in srgb,#229ed9 13%,var(--surface));color:#229ed9;font-size:1rem}.tgpm-detail-modal-head>div:first-child>div{display:flex;min-width:0;flex-direction:column;gap:2px}.tgpm-detail-modal-head b{font-size:.98rem;line-height:1.25;color:var(--text)}.tgpm-detail-modal-head small{font-size:.76rem;line-height:1.4;color:var(--text-muted)}
.tgpm-detail-close{width:38px;height:38px;display:grid;place-items:center;flex:none;border:1px solid var(--border);border-radius:12px;background:var(--surface-2);color:var(--text);font-size:.82rem;cursor:pointer}.tgpm-detail-close:active{transform:scale(.96)}
.tgpm-detail-modal-body{overflow:auto;padding:15px 15px 18px;overscroll-behavior:contain}.tgpm-detail-modal-body .tgpm-two-inputs .field label{font-size:.84rem}.tgpm-detail-modal-body .tgpm-two-inputs .input{height:48px;font-size:.92rem}.tgpm-detail-modal-body .tgpm-tags-head b{font-size:.9rem}.tgpm-detail-modal-body .tgpm-tags-head small{font-size:.76rem}.tgpm-detail-modal-body .tgpm-tag-row .input{font-size:.86rem}.tgpm-detail-modal-body .tgpm-time-copy b{font-size:.88rem}.tgpm-detail-modal-body .tgpm-time-copy small{font-size:.75rem}
@media(max-width:520px){.tgpm-detail-modal-backdrop{padding:13px}.tgpm-detail-modal{max-height:88vh;border-radius:20px}.tgpm-detail-modal-head{padding:13px}.tgpm-detail-modal-body{padding:13px 13px 16px}}

/* v2026.09.07.5 — linked Telegram identity gate for TG Post Maker. */
.tgpm-alert-link-card{margin:15px 0 2px;padding:18px 15px 15px}.tgpm-alert-link-card h3{font-size:.94rem;color:var(--text)}.tgpm-alert-link-card p{font-size:.76rem;line-height:1.5;color:var(--text-muted);max-width:390px}.tgpm-alert-link-card .btn{height:47px;font-size:.82rem;font-weight:850}.tgpm-alert-link-waiting{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;align-items:center;margin-top:11px;padding:10px 11px;border-radius:12px;background:var(--info-soft);color:var(--info);text-align:left}.tgpm-alert-link-waiting.hidden{display:none}.tgpm-alert-link-waiting>i{font-size:.85rem}.tgpm-alert-link-waiting>div{display:flex;min-width:0;flex-direction:column;gap:2px}.tgpm-alert-link-waiting b{font-size:.73rem}.tgpm-alert-link-waiting span{font-size:.68rem;line-height:1.4}.tgpm-ready-sheet .tg-alert-connect-icon{width:52px;height:52px;border-radius:17px;font-size:1.4rem}

/* v2026.09.07.14 — streamlined maker layout, saved task defaults and Telegram quote preview. */
.tgpm-entry{padding:2px 1px 0}.tgpm-entry .tgpm-link-field{margin-top:0}.tgpm-entry .tgpm-link-field label{display:block;margin:0 0 7px;font-size:.86rem;font-weight:850;color:var(--text)}.tgpm-entry .tgpm-input-wrap .input{height:52px;border-radius:15px;background:var(--surface);box-shadow:0 5px 18px rgba(15,23,42,.035)}.tgpm-entry .tgpm-continue{height:51px;margin-top:12px;border-radius:15px;box-shadow:0 8px 22px color-mix(in srgb,var(--primary) 17%,transparent)}.tgpm-entry-divider{height:0;margin:18px 1px 16px;border-top:1.5px dashed color-mix(in srgb,var(--border) 78%,var(--primary) 22%)}
.tgpm-how-card{margin-top:0}.tgpm-how-card,.tgpm-steps>div{box-shadow:none}.tgpm-how-card{background:linear-gradient(180deg,var(--surface),color-mix(in srgb,var(--surface-2) 45%,var(--surface)))}
.tgpm-setup-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.tgpm-setup-grid .field label{font-size:.84rem;font-weight:850;color:var(--text)}.tgpm-setup-grid .input{height:48px;font-size:.91rem}.tgpm-main-channel-field{grid-column:1/-1}.tgpm-main-channel-field small{display:block;margin:6px 2px 0;font-size:.7rem;line-height:1.4;color:var(--text-muted)}
.tgpm-tags-card{margin-top:14px}.tgpm-preview-quote-line{position:relative;margin:0;padding:5px 10px 5px 13px;border-left:3px solid color-mix(in srgb,var(--primary) 72%,#229ed9 28%);background:color-mix(in srgb,var(--primary) 5%,var(--surface-2));min-height:1.6em}.tgpm-preview-quote-line+ .tgpm-preview-quote-line{padding-top:2px}.tgpm-preview-gap+.tgpm-preview-quote-line,.tgpm-preview-line:not(.tgpm-preview-quote-line)+.tgpm-preview-quote-line{border-top-right-radius:10px}.tgpm-preview-quote-line:has(+ .tgpm-preview-gap),.tgpm-preview-quote-line:not(:has(+ .tgpm-preview-quote-line)){border-bottom-right-radius:10px}.tgpm-preview-quote-line code{background:color-mix(in srgb,var(--surface) 78%,var(--primary) 22%)}
@media(max-width:420px){.tgpm-entry{padding-inline:0}.tgpm-setup-grid{grid-template-columns:1fr 1fr}.tgpm-main-channel-field{grid-column:1/-1}.tgpm-entry-divider{margin-top:16px}.tgpm-how-card{padding:14px}}
@media(max-width:339px){.tgpm-setup-grid{grid-template-columns:1fr}.tgpm-main-channel-field{grid-column:auto}}

@media(max-width:390px){.tgpm-heading{gap:10px;padding-top:5px;padding-bottom:24px}.tgpm-heading-icon{width:46px;height:46px;flex-basis:46px;border-radius:14px;font-size:1.32rem}.tgpm-heading p{font-size:.61rem}}


/* v2026.09.07.18 — compact task-detail popup with saved Send Proof username. */
.tgpm-proof-user-field{grid-column:1/-1}
.tgpm-time-card{grid-template-columns:40px minmax(0,1fr) 126px}
.tgpm-time-label{min-width:0;font-size:.84rem;line-height:1.2;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:420px){.tgpm-proof-user-field{grid-column:1/-1}.tgpm-time-card{grid-template-columns:38px minmax(0,1fr) 112px}.tgpm-time-card input[type=time]{width:112px}}
@media(max-width:339px){.tgpm-proof-user-field{grid-column:auto}.tgpm-time-card{grid-template-columns:34px minmax(0,1fr) 102px;gap:7px;padding-inline:9px}.tgpm-time-icon{width:34px;height:34px}.tgpm-time-label{font-size:.74rem}.tgpm-time-card input[type=time]{grid-column:auto;width:102px;padding:0 5px;font-size:.73rem}}

/* v2026.09.08.1 — generated TG thumbnail now uses its intrinsic compact height after moving FINZO branding into the stats row. */


/* ================= RESPONSIVE TG POST MAKER ================= */
@media(max-width:339px){
  .tgpm-setup-grid,.tgpm-two-inputs{grid-template-columns:1fr}
  .tgpm-main-channel-field,.tgpm-proof-user-field{grid-column:auto}
  .tgpm-builder-card{padding-left:11px;padding-right:11px}
}


/* 384-reference compact safety */
@media(max-width:339px){
  .tgpm-row,.tgpm-grid{min-width:0}
}

/* ================= v2026.09.13.47 · TG POST MAKER READABILITY ================= */
.tgpm-heading p,.tgpm-edit-hint{font-size:.72rem}
