/* Agency partner program (2026-11-28). */
.agp { --a-cyan: #0891b2; --a-cyan-text: #0b6a80; --a-tint: #ecf8fb; --a-line: #dbe3e7; --a-field: #b9c6cc; --a-muted: #4a5a62; --a-ink: #0f1d24;
  max-width: 1040px; margin: 0 auto 48px; color: var(--a-ink); }
.agp [hidden] { display: none !important; }
.agp-muted { color: var(--a-muted); }
.agp-small { font-size: .86rem; }
.agp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 18px 0 8px; }
.agp-link { color: var(--a-cyan-text); font-weight: 600; }
.agp-section { margin-top: 44px; }
.agp-section > h2 { margin: 0 0 10px; }

.agp-steps { margin: 0; padding: 0; list-style: none; counter-reset: agp; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.agp-steps li { counter-increment: agp; background: #fff; border: 1px solid var(--a-line); border-radius: 14px; padding: 16px 16px 16px 56px; position: relative; line-height: 1.5; }
.agp-steps li::before { content: counter(agp); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--a-cyan); color: #fff; font-weight: 700; font-size: .88rem; display: flex; align-items: center; justify-content: center; }

.agp-table-wrap { overflow-x: auto; border: 1px solid var(--a-line); border-radius: 14px; background: #fff; }
.agp-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.agp-table th, .agp-table td { padding: 12px 16px; text-align: left; border-top: 1px solid #e6edf0; }
.agp-table thead th { border-top: 0; background: #f6fafb; font-size: .84rem; color: var(--a-muted); font-weight: 600; }
.agp-table tbody th { font-weight: 700; }
.agp-table s { color: var(--a-muted); }
.agp-table strong { color: var(--a-cyan-text); font-size: 1.02rem; }

.agp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.agp-card { background: #fff; border: 1px solid var(--a-line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.agp-card h3 { margin: 0; font-size: 1.25rem; }
.agp-price { margin: 0; }
.agp-price strong { font-size: 2rem; color: var(--a-ink); }
.agp-price span { color: var(--a-muted); }
.agp-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.agp-list li { padding-left: 26px; position: relative; line-height: 1.45; }
.agp-list li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 14px; height: 8px; border-left: 2.5px solid var(--a-cyan); border-bottom: 2.5px solid var(--a-cyan); transform: rotate(-45deg); }
.agp-specs { margin: 4px 0 0; padding-top: 12px; border-top: 1px solid #e6edf0; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.agp-specs div { display: flex; justify-content: space-between; gap: 12px; }
.agp-specs dt { color: var(--a-muted); }
.agp-specs dd { margin: 0; font-weight: 600; text-align: right; }

.agp-faq { display: flex; flex-direction: column; gap: 8px; }
.agp-faq details { background: #fff; border: 1px solid var(--a-line); border-radius: 12px; padding: 0 16px; }
.agp-faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style-position: inside; }
.agp-faq details[open] summary { border-bottom: 1px solid #e6edf0; }
.agp-faq details p { margin: 12px 0 14px; line-height: 1.55; }

.agp-form { background: #fff; border: 1px solid var(--a-line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.agp-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.agp-form legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; padding: 0; }
.agp-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 16px; }
.agp-field { min-width: 0; }
.agp-full { grid-column: 1 / -1; }
.agp-field label { display: block; font-weight: 600; font-size: .9rem; margin: 0 0 6px; }
.agp-optional { font-weight: 400; color: var(--a-muted); }
.agp-field input, .agp-field select, .agp-field textarea { width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 12px; border: 1px solid var(--a-field); border-radius: 8px; font: inherit; font-size: .95rem; background: #fff; color: var(--a-ink); }
.agp-field textarea { resize: vertical; }
.agp-field input:focus, .agp-field select:focus, .agp-field textarea:focus { outline: 2px solid var(--a-cyan); outline-offset: 1px; border-color: var(--a-cyan); }
.agp-hint { margin: 6px 0 0; font-size: .82rem; color: var(--a-muted); }
.agp-field-error, .agp-error { margin: 6px 0 0; color: #b42318; font-size: .86rem; }
.agp-error { margin: 0; padding: 10px 14px; background: #fdf0ef; border-radius: 8px; }
.agp-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.45; }
.agp-check input { accent-color: var(--a-cyan); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.agp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agp-submit { align-self: flex-start; border: 0; cursor: pointer; font: inherit; }
.agp-submit:disabled { opacity: .6; cursor: wait; }
.agp-done { background: var(--a-tint); border: 1px solid #bfe3ec; border-radius: 16px; padding: 20px; }
.agp-done h3 { margin: 0 0 8px; }
@media (max-width: 520px) { .agp-form, .agp-card { padding: 16px; } .agp-steps li { padding-left: 52px; } }
