/* Finpomosh24 0.7 — Netlify/Supabase admin and catalog */
:root{color-scheme:light;--ink:#192644;--muted:#6a7894;--accent:#7160f5;--paper:#f6f8fe;--line:#e1e6f3}
html{scroll-behavior:smooth}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased;background:var(--paper);color:var(--ink)}*{box-sizing:border-box}
a{color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}
.fp-review{min-height:0}.fp-review-top{min-height:auto}.fp-review-header nav{flex-wrap:wrap;gap:18px}.fp-review-header nav a{font-size:13px}
.fp-v07-main{max-width:1160px;margin:0 auto;padding:60px 24px 90px}.fp-v07-eyebrow{color:#7661f6;font-size:11px;font-weight:850;letter-spacing:2px;text-transform:uppercase}
.fp-v07-main h1{font-size:clamp(32px,5vw,50px);letter-spacing:-1.7px;margin:12px 0 15px;line-height:1.16}.fp-v07-lead{max-width:820px;color:var(--muted);line-height:1.8;margin:0 0 28px;font-size:15px}
.fp-v07-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,.85fr);gap:22px}.fp-v07-box{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:0 12px 40px #1022500c}.fp-v07-box h2{margin:0 0 13px;font-size:22px;letter-spacing:-.55px}.fp-v07-box p{font-size:13px;line-height:1.7;color:var(--muted)}
.fp-v07-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.fp-v07-form label,.fp-v07-field{display:grid;gap:7px;color:#475978;font-size:12px;font-weight:700}.fp-v07-form input,.fp-v07-form select,.fp-v07-form textarea,.fp-v07-field input,.fp-v07-field textarea{width:100%;padding:12px;border:1px solid #d8deea;border-radius:10px;background:#fff;color:#12213d;min-width:0}
.fp-v07-form input:focus,.fp-v07-form select:focus,.fp-v07-form textarea:focus,.fp-v07-field input:focus{outline:3px solid #7565ff37;border-color:#7a6cf0}
.fp-v07-wide{grid-column:1/-1}.fp-v07-pill{display:inline-block;border-radius:999px;padding:6px 11px;font-size:11px;font-weight:800;background:#eeecff;color:#5f56c5}
.fp-v07-button{border:none;border-radius:12px;background:#705eff;color:#fff;padding:13px 19px;font-weight:750;box-shadow:0 5px 18px #705eff23}.fp-v07-button.secondary{background:#edf0fc;color:#3b4a74;box-shadow:none}.fp-v07-button.danger{background:#fff1f1;color:#a5283a;box-shadow:none}
.fp-v07-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.fp-v07-muted{color:var(--muted);font-size:13px;line-height:1.7}.fp-v07-message{padding:17px 20px;border-radius:14px;background:#eaf0ff;color:#374b78;border:1px solid #d5e1ff;line-height:1.6;font-size:13px;margin:20px 0}.fp-v07-message.error{background:#fff0f0;border-color:#f3caca;color:#8a2634}.fp-v07-message.success{background:#ecfaf2;border-color:#c7ecd4;color:#245d3a}.fp-v07-message[hidden],.fp-v07-box[hidden],#catalog-content[hidden],#signin[hidden],#admin-workspace[hidden]{display:none!important}
.fp-v07-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.fp-v07-offer{border:1px solid var(--line);border-radius:20px;background:#fff;padding:26px;display:flex;flex-direction:column;gap:14px}.fp-v07-offer-title{font-size:22px;font-weight:850;letter-spacing:-.65px}.fp-v07-offer-legal{font-size:12px;color:#65728d;line-height:1.6}.fp-v07-offer-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fp-v07-offer-data>div{padding:12px;border-radius:12px;background:#f2f5fd}.fp-v07-offer-data span{display:block;font-size:10px;color:#65728d;margin-bottom:7px}.fp-v07-offer-data b{font-size:14px;color:#182749}.fp-v07-offer-action{margin-top:auto;padding-top:6px}.fp-v07-offer-action a{display:inline-block;text-decoration:none;color:white;background:#715cff;padding:13px 16px;border-radius:10px;font-weight:750;font-size:13px}.fp-v07-offer a:hover{text-decoration:underline}.fp-v07-offer-action small{display:block;color:#67768f;font-size:11px;line-height:1.7;margin-top:12px}
.fp-v07-admin{display:grid;grid-template-columns:300px 1fr;gap:20px;align-items:start}.fp-v07-items{display:grid;gap:9px;margin-top:18px}.fp-v07-item{padding:14px;border:1px solid #e3e9f1;border-radius:13px;background:#fff;text-align:left;color:#1b2a4a;font-weight:700}.fp-v07-item span{display:block;color:#7c89a2;font-size:11px;margin-top:6px;font-weight:400}.fp-v07-item.active{border-color:#806fff;background:#f2efff}
.fp-v07-editor fieldset{border:1px solid #e0e7f2;border-radius:16px;padding:22px;margin:0 0 19px;min-width:0}.fp-v07-editor legend{padding:0 9px;font-size:15px;font-weight:800;color:#263558}.fp-v07-editor input[type=checkbox]{width:18px;height:18px;accent-color:#705eff}.fp-v07-check{display:flex;align-items:center;gap:9px;font-weight:650;color:#25365a;line-height:1.5;font-size:13px}.fp-v07-actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:7px}.fp-v07-editor textarea{min-height:88px;resize:vertical}.fp-v07-footnote{margin-top:28px;background:#eef2fb;border-radius:13px;padding:18px 20px;font-size:12px;line-height:1.75;color:#5c6e8b}.fp-v07-hidden{display:none!important}
.fp-v07-footer{margin-top:auto}
@media(max-width:920px){.fp-v07-grid,.fp-v07-admin{grid-template-columns:1fr}.fp-v07-offers{grid-template-columns:1fr}.fp-review-header nav{display:flex}.fp-v07-main{padding:44px 20px 70px}}
@media(max-width:600px){.fp-review-header{flex-direction:column;align-items:flex-start}.fp-review-header nav{display:flex;gap:10px 18px}.fp-v07-box{padding:20px}.fp-v07-form{grid-template-columns:1fr}.fp-v07-offer-data{grid-template-columns:1fr}.fp-v07-main h1{font-size:36px}.fp-v07-editor fieldset{padding:14px}.fp-v07-actions button{flex:1}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* 0.7.3: advertising disclosure for each promotional card; no visual redesign of existing pages. */
.fp-v07-ad-label{font-size:11px;font-weight:650;color:#6757a8;letter-spacing:.15px;padding:0;align-self:flex-start;line-height:1.4}
.fp-v07-offer-data>.fp-v07-psk{grid-column:1 / -1;background:#e9edff;border:1px solid #d7dcfc}
.fp-v07-offer-data>.fp-v07-psk span{font-size:14px;color:#253b70;font-weight:750}
.fp-v07-offer-data>.fp-v07-psk b{font-size:19px;line-height:1.4}
.fp-v07-zero-note{font-size:12px;line-height:1.6;color:#536281;margin:0}
.fp-v07-preview-note{font-weight:700;margin:0 0 23px;padding:18px 21px;border:2px solid #e9c25e;background:#fff7db;color:#79530b;border-radius:14px;font-size:14px;line-height:1.65}

.fp-v07-likezaim-alert{border:1px solid #dfb953;border-radius:12px;background:#fff8e6;padding:14px 16px;color:#6b4c12;font-size:12px;line-height:1.55;font-weight:650}
.fp-v07-offer-legal a{color:#4334a7;text-decoration:underline}

/* 0.7.5: unified, compact catalog notice for ADMIN PREVIEW ONLY.
   Legal signoff required before public advertising: each ad may need its own warning. */
.fp-v075-shared-warning{display:flex;flex-direction:column;gap:5px;margin:15px 0 20px;padding:15px 19px;border:1px solid #b5c9f4;border-left:4px solid #705eff;border-radius:12px;background:#edf2ff;color:#163163;line-height:1.5}
.fp-v075-shared-warning strong{font-size:15px;font-weight:800}
.fp-v075-shared-warning span{font-size:12px;color:#42577e}
@media(max-width:600px){.fp-v075-shared-warning{padding:13px 14px}.fp-v075-shared-warning strong{font-size:14px}}


/* 0.7.8: larger CTA, bigger amount values, smaller PSK emphasis, ad label moved below the whole list */
.fp-v07-offer{padding:28px;gap:16px}
.fp-v07-offer-data{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fp-v07-offer-data>div{padding:14px;border-radius:14px}
.fp-v07-offer-data span{font-size:11px;margin-bottom:8px}
.fp-v07-offer-data b{font-size:16px}
.fp-v07-offer-data>.fp-v07-amount b{font-size:22px;line-height:1.25;font-weight:850}
.fp-v07-offer-data>.fp-v07-amount{background:#eef3ff;border:1px solid #d7e2ff}
.fp-v07-offer-data>.fp-v07-psk{grid-column:auto;background:#f7f8fd;border:1px solid #e5e8f4}
.fp-v07-offer-data>.fp-v07-psk span{font-size:11px;color:#5d6c88;font-weight:700}
.fp-v07-offer-data>.fp-v07-psk b{font-size:15px;line-height:1.3;font-weight:750}
.fp-v07-offer-action{margin-top:auto;padding-top:10px}
.fp-v07-offer-action a{display:block;width:100%;text-align:center;text-decoration:none;color:white;background:#715cff;padding:17px 20px;border-radius:14px;font-weight:800;font-size:16px;box-shadow:0 10px 24px rgba(113,92,255,.18)}
.fp-v07-offer-action a:hover{text-decoration:none;transform:translateY(-1px)}
.fp-v07-list-ad-note{margin-top:16px;font-size:11px;color:#7a8398;line-height:1.4}
@media(max-width:600px){
  .fp-v07-offer-data{grid-template-columns:1fr}
  .fp-v07-offer-data>.fp-v07-psk{grid-column:auto}
  .fp-v07-offer-action a{font-size:15px;padding:16px 18px}
}

/* 0.7.9: non-splitting monetary amounts and protected closed preview. */
.fp-v07-offer-data>.fp-v07-amount b{font-size:clamp(17px,1.6vw,20px);line-height:1.4;overflow-wrap:normal;word-break:normal}
.fp-v07-offer-data>.fp-v07-amount b .fp-v079-amount-nowrap{display:inline;color:inherit;font-size:inherit;line-height:inherit;margin:0;white-space:nowrap;font-weight:inherit}
.fp-v079-public-label{display:block;color:#545b72;font-size:12px;line-height:1.4}
.fp-v079-public-risk{padding:14px 16px;margin:8px 0 0;background:#edf2ff;border:1px solid #bbcaf6;border-radius:12px;font-weight:800;font-size:14px;line-height:1.5;color:#1a2d58;min-height:64px}

/* 0.8.0: one neutral «Первый займ» checkbox; verified promotional conditions only. */
.fp-v07-form>.fp-v08-first-label{display:flex;flex-direction:row;align-items:center;gap:12px;margin-top:2px;font-size:14px;font-weight:800;color:#283b62;cursor:pointer}
.fp-v07-form>.fp-v08-first-label input[type="checkbox"]{appearance:auto;box-sizing:border-box;flex:none;width:19px;height:19px;padding:0;margin:0;accent-color:#715cff;cursor:pointer;border:none;box-shadow:none}
.fp-v08-first-help{font-size:12px!important;font-weight:400!important;line-height:1.55!important;color:#65728d!important;margin:-8px 0 0!important}
.fp-v08-promo{font-size:12px;line-height:1.6;margin:0;padding:12px 15px;background:#f5f6ff;border:1px solid #e0e3ff;border-radius:12px;color:#354577}

/* 0.8.1: search, helpful empty states and reset controls, preserving 0.7.8 offer cards. */
.fp-v081-search-hint{font-size:12px!important;color:#697793!important;line-height:1.5!important;margin:-8px 0 0!important}
.fp-v07-form input[type="search"]{appearance:auto}
.fp-v081-reset,.fp-v081-reset-inline{background:#f2f0ff;color:#5142b8;border:1px solid #ded8ff;border-radius:10px;padding:9px 13px;font-weight:750;font-size:12px;cursor:pointer}
.fp-v081-reset:hover,.fp-v081-reset-inline:hover{background:#e7e2ff}
.fp-v081-reset:focus-visible,.fp-v081-reset-inline:focus-visible{outline:3px solid #9181ff;outline-offset:2px}
.fp-v081-empty{grid-column:1/-1;background:#fff;border:1px solid #e1e6f3;border-radius:14px;padding:17px 20px;margin:0}
.fp-v081-reset-inline{grid-column:1/-1;justify-self:start}

/* 0.8.2: amount-and-duration discovery, without brand-name search. */
.fp-v082-intro{margin:0 0 18px!important;font-size:13px!important;line-height:1.6!important;color:#687894!important}
.fp-v082-find{width:100%;margin-top:18px;padding:15px 20px;font-size:15px;border-radius:12px;text-align:center}
.fp-v082-find:hover{background:#604de8;transform:translateY(-1px)}
.fp-v082-find:focus-visible{outline:3px solid #9a90ff;outline-offset:3px}
@media(max-width:600px){.fp-v082-find{font-size:15px;padding:16px 20px}}

/* v1.0: сведения об индивидуальной рекламе вынесены под карточку */
.fp-v1-offer-unit{min-width:0;display:flex;flex-direction:column;gap:7px}
.fp-v1-offer-unit>.fp-v07-offer{flex:1;min-width:0}
.fp-v1-ad-disclosure{font-size:12px;line-height:1.55;color:#65728d;margin:0 8px 12px;overflow-wrap:anywhere}
.fp-v1-terms-warning{font-size:14px;line-height:1.6;color:#1b315b;margin:0;background:#f5f7fe;padding:14px 16px;border-radius:12px}
.fp-v1-terms-warning a{color:#4037a6;text-decoration:underline;font-weight:750}
.fp-v1-terms-warning a:focus-visible{outline:3px solid #5b4aff;outline-offset:2px}

/* v1.0.1: единый раздел после ВСЕГО каталога (не внутри карточек). */
.fp-v101-legal-footer[hidden]{display:none!important}
.fp-v101-legal-footer{margin-top:32px;border:1px solid #e0e7f5;background:#fff;border-radius:22px;padding:30px;box-shadow:0 14px 38px rgba(32,48,92,.035)}
.fp-v101-legal-footer h3{font-size:22px;font-weight:850;letter-spacing:-.5px;color:#18284a;margin:0 0 8px}
.fp-v101-legal-lead{font-size:13px;line-height:1.65;color:#65738e;margin:0 0 18px}
.fp-v101-legal-alert{background:#edf2ff;border:1px solid #b5c9f4;border-left:5px solid #715cff;border-radius:14px;padding:19px 21px;margin-bottom:22px;color:#1b315b}
.fp-v101-legal-alert strong{display:block;font-size:20px;line-height:1.45;font-weight:850;letter-spacing:-.15px}
.fp-v101-legal-alert p{font-size:13px;line-height:1.7;margin:9px 0 0;color:#354a73}
.fp-v101-legal-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.fp-v101-legal-row{border:1px solid #e5eaf5;border-radius:14px;background:#f9faff;padding:16px;min-width:0}
.fp-v101-legal-brand{font-weight:800;font-size:15px;letter-spacing:-.1px;margin:0 0 9px;color:#1f2d53}
.fp-v101-legal-row p{font-size:12px;line-height:1.65;color:#53637f;margin:5px 0;overflow-wrap:anywhere}
.fp-v101-legal-row a{color:#4b3db3;text-decoration:underline;text-underline-offset:2px}
.fp-v101-legal-row a:focus-visible{outline:3px solid #8979fc;outline-offset:2px}
.fp-v101-legal-row .fp-v101-legal-meta{font-size:11px;color:#6c7a92}
.fp-v101-legal-endnote{font-size:11px;line-height:1.65;margin:17px 0 0;color:#67738a}
@media(max-width:690px){.fp-v101-legal-footer{padding:20px;border-radius:17px}.fp-v101-legal-records{grid-template-columns:1fr}.fp-v101-legal-alert strong{font-size:17px}.fp-v101-legal-footer h3{font-size:19px}}

/* v1.0.2: compact wide information section after the full offer grid. */
.fp-v101-legal-footer{margin-top:24px;padding:22px 24px;border-radius:16px}
.fp-v101-legal-footer h3{font-size:19px;margin-bottom:4px}
.fp-v101-legal-lead{font-size:12px;line-height:1.4;margin:0 0 12px}
.fp-v101-legal-alert{padding:12px 16px;margin-bottom:14px;border-radius:11px}
.fp-v101-legal-alert strong{font-size:17px;line-height:1.35}
.fp-v101-legal-alert p{font-size:12px;line-height:1.45;margin-top:4px}
.fp-v101-legal-records{gap:10px}
.fp-v101-legal-row{padding:12px 13px;border-radius:11px}
.fp-v101-legal-brand{font-size:14px;margin:0 0 5px}
.fp-v101-legal-row p{font-size:12px;line-height:1.4;margin:3px 0}
.fp-v101-legal-row .fp-v101-legal-meta{font-size:11px}
.fp-v101-legal-endnote{margin-top:12px;line-height:1.5}
@media (min-width:1100px){
  .fp-v101-legal-footer{width:min(1400px,calc(100vw - 48px));max-width:none;position:relative;left:50%;transform:translateX(-50%);margin-left:0;margin-right:0}
  .fp-v101-legal-records{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:700px) and (max-width:1099px){
  .fp-v101-legal-records{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:699px){
  .fp-v101-legal-footer{width:auto;max-width:none;padding:15px;border-radius:14px;margin-top:22px}
  .fp-v101-legal-footer h3{font-size:18px}
  .fp-v101-legal-alert{padding:12px 13px}
  .fp-v101-legal-alert strong{font-size:16px}
  .fp-v101-legal-records{grid-template-columns:1fr;gap:8px}
  .fp-v101-legal-row{padding:11px 12px}
}
