/* Tamtudy – platby her a účet instituce */

.tt-notice { padding: 10px 14px; border-radius: var(--tt-radius); border: 1px solid var(--tt-line); background: #f6f8f5; margin: 0 0 14px; font-size: 15px; }
.tt-notice--ok { background: var(--tt-green-soft); border-color: #bcd6b7; }
.tt-notice--warn { background: #fff6e6; border-color: #f0d49c; }
.tt-notice--err { background: #fdeeee; border-color: #efc1c1; }
.tt-notice p { margin: 0 0 6px; }

.tt-muted { color: var(--tt-muted); }
.tt-ok { color: var(--tt-green); font-weight: 600; }
.tt-btn--small { padding: 6px 12px; font-size: 13px; }
.tt-link { background: none; border: 0; padding: 0; color: var(--tt-muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }

.tt-field { display: grid; gap: 4px; font-size: 14px; font-weight: 600; color: var(--tt-ink); margin: 0 0 12px; }
.tt-field small { font-weight: 400; color: var(--tt-muted); }
.tt-field input, .tt-field select, .tt-field textarea { font: inherit; font-weight: 400; padding: 9px 11px; border: 1px solid var(--tt-line); border-radius: 8px; background: #fff; width: 100%; box-sizing: border-box; }
.tt-field input:focus, .tt-field select:focus, .tt-field textarea:focus { outline: 2px solid var(--tt-green); outline-offset: 0; border-color: var(--tt-green); }
.tt-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: 0 0 12px; }
.tt-inline { display: flex; gap: 8px; }
.tt-inline input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .08em; }
.tt-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) { .tt-grid2 { grid-template-columns: 1fr; } }

/* Platební stěna */
.tt-paywall { max-width: 560px; margin: 0 auto 24px; padding: 20px; border: 1px solid var(--tt-line); border-radius: 16px; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.tt-paywall h2 { margin: 0 0 8px; font-size: 24px; }
.tt-paywall p { margin: 0 0 14px; }
.tt-paywall__plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 14px; }
.tt-plan { position: relative; cursor: pointer; }
.tt-plan input { position: absolute; opacity: 0; }
.tt-plan span { display: flex; flex-direction: column; align-items: center; padding: 12px 6px; border: 1.5px solid var(--tt-line); border-radius: 12px; line-height: 1.2; }
.tt-plan strong { font-size: 20px; }
.tt-plan small { color: var(--tt-muted); font-size: 13px; }
.tt-plan input:checked + span { border-color: var(--tt-green); background: var(--tt-green-soft); }
.tt-plan input:focus-visible + span { outline: 3px solid #e07a2e; }
.tt-paywall .tt-btn--primary { width: 100%; justify-content: center; font-size: 16px; padding: 12px; }
.tt-paywall__note { font-size: 12px; color: var(--tt-muted); margin: 8px 0 0 !important; }
.tt-paywall__code { border-top: 1px solid var(--tt-line); margin-top: 18px; padding-top: 16px; }
.tt-paywall__org { font-size: 14px; color: var(--tt-muted); }

.tt-sponsor { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding: 10px 14px; margin: 0 0 14px; border-radius: var(--tt-radius); background: #fff4ea; border: 1px solid #f3d3b6; font-size: 14px; }
.tt-sponsor span { color: var(--tt-muted); }
.tt-sponsor p { flex-basis: 100%; margin: 4px 0 0; }
.tt-sponsor.has-logo { flex-wrap: nowrap; align-items: center; gap: 12px; }
.tt-sponsor .tt-org-logo { width: auto; height: auto; max-width: 96px; max-height: 56px; object-fit: contain; flex: 0 0 auto; }
.tt-org-logo-prev { max-width: 160px; max-height: 80px; display: block; margin: 6px 0; }
.tt-story textarea { min-height: 70px; }

/* Účet instituce */
.tt-org { max-width: 1040px; margin: 0 auto; }
.tt-org__who { color: var(--tt-muted); margin: 0 0 8px; }
.tt-org__tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--tt-line); margin: 0 0 20px; }
.tt-org__tabs a { padding: 9px 14px; text-decoration: none; color: var(--tt-muted); border-bottom: 3px solid transparent; font-weight: 600; font-size: 15px; }
.tt-org__tabs a.is-active, .tt-org__tabs a:hover { color: var(--tt-green); border-bottom-color: var(--tt-green); }
.tt-org h3 { margin: 24px 0 8px; }
.tt-list { padding-left: 20px; }
.tt-list li { margin: 4px 0; }
.tt-lead { font-size: 18px; }

.tt-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.tt-kpi { border: 1px solid var(--tt-line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 2px; }
.tt-kpi span { font-size: 13px; color: var(--tt-muted); }
.tt-kpi strong { font-size: 30px; line-height: 1.1; }
.tt-kpi small { font-size: 12px; color: var(--tt-muted); }

.tt-offer { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 16px 0; }
.tt-offer__card { border: 1px solid var(--tt-line); border-radius: 14px; padding: 16px; }
.tt-offer__card h3 { margin: 0 0 4px; font-size: 18px; }
.tt-offer__card p { margin: 0 0 8px; font-size: 14px; }
.tt-offer__price { font-size: 26px !important; font-weight: 800; color: var(--tt-green); }
.tt-offer__price small { font-size: 14px; font-weight: 400; color: var(--tt-muted); }

.tt-table-wrap { overflow-x: auto; }
.tt-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tt-table th, .tt-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--tt-line); vertical-align: middle; }
.tt-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--tt-muted); }
.tt-actions { white-space: nowrap; }
.tt-actions > * { margin: 2px 0; }
.tt-inline-form { display: inline-flex; gap: 8px; align-items: flex-end; margin: 0; }
.tt-inline-form .tt-field { margin: 0; }
@media (max-width: 720px) { .tt-actions { white-space: normal; } }

.tt-form { margin: 0 0 20px; }
.tt-form--quiet { margin-top: -8px; }
.tt-task { border: 1px solid var(--tt-line); border-radius: 12px; padding: 12px 14px 2px; margin: 0 0 12px; }
.tt-task legend { font-weight: 700; padding: 0 6px; }
.tt-abcd { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 0 0 12px; }
.tt-abcd__opt { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.tt-abcd__opt input[type=text], .tt-abcd__opt input:not([type]) { flex: 1; font: inherit; font-weight: 400; padding: 8px 10px; border: 1px solid var(--tt-line); border-radius: 8px; }
.tt-abcd small { grid-column: 1 / -1; }
@media (max-width: 640px) { .tt-abcd { grid-template-columns: 1fr; } }

.tt-pay { background: #fff; border: 1px solid var(--tt-line); border-radius: 8px; padding: 10px 12px; font: 15px/1.5 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; }
.tt-qr { width: 160px; margin: 8px 0 2px; }
.tt-qr svg { width: 100%; height: auto; display: block; }
/* Přihlášení a profil */
.tt-auth { max-width: 460px; }
.tt-login__lost { margin-left: 12px; font-size: 14px; }
.tt-check { display: flex; gap: 8px; align-items: center; font-size: 14px; margin: 0 0 12px; }
.tt-profile { max-width: 760px; }

/* Paušál organizace */
.tt-pausal { border: 2px solid var(--tt-line); border-radius: 14px; padding: 14px 16px; margin: 12px 0 18px; background: #fffaf3; }
.tt-pausal.is-on { border-color: var(--tt-green); background: #f2f8ef; }
.tt-pausal p { margin: 0 0 10px; }
.tt-pausal__tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.tt-pausal__tier { display: flex; flex-direction: column; gap: 3px; background: #fff; border: 1px solid var(--tt-line); border-radius: 12px; padding: 12px; }
.tt-pausal__tier.is-hi { border: 2px solid var(--tt-green); }
.tt-pausal__tier.is-off { opacity: .55; }
.tt-pausal__tier b { font-size: 20px; color: var(--tt-green); }
.tt-pausal__tier form { margin-top: 6px; }
.tt-warn { color: #b45309; font-weight: 700; }
