:root { --gb-navy: #0F2340; --gb-navy-2: #18355f; --gb-gold: #E3A92B; }
body { background: #f4f6fa; }
.gb-nav { background: var(--gb-navy); }
.gb-logo { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--gb-gold); color: var(--gb-navy); font-size: .8rem; font-weight: 800; margin-right: 4px; }
.btn-gold { background: var(--gb-gold); color: var(--gb-navy); font-weight: 600; border: 0; }
.btn-gold:hover { background: #cf961b; color: var(--gb-navy); }
.btn-navy { background: var(--gb-navy); color: #fff; } .btn-navy:hover { background: var(--gb-navy-2); color: #fff; }
.card { border: 0; box-shadow: 0 1px 3px rgba(15,35,64,.08); border-radius: 12px; }
.hero { background: linear-gradient(135deg, var(--gb-navy), var(--gb-navy-2)); color: #fff; border-radius: 18px; }
.hero .lead { color: rgba(255,255,255,.8); }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--gb-gold); color: var(--gb-navy); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.auth-card { max-width: 440px; margin: 30px auto; }

/* Editor */
.editor-wrap { display: grid; grid-template-columns: minmax(380px, 1fr) minmax(420px, 1.1fr); gap: 1rem; }
@media (max-width: 991px) { .editor-wrap { grid-template-columns: 1fr; } }
.preview-pane { position: sticky; top: 12px; height: calc(100vh - 24px); }
.preview-pane iframe { width: 100%; height: calc(100% - 52px); border: 0; border-radius: 10px; background: #525659; }
.accordion-button:not(.collapsed) { background: #eef2f8; color: var(--gb-navy); }
.repeat-row { background: #f8f9fb; border: 1px solid #e5e8ee; border-radius: 10px; padding: .75rem; margin-bottom: .75rem; position: relative; }
.repeat-row .btn-remove { position: absolute; top: 6px; right: 6px; }
.save-status { font-size: .8rem; }
.tpl-option input { display: none; }
.tpl-option label { border: 2px solid #dee2e6; border-radius: 10px; padding: .5rem .75rem; cursor: pointer; font-size: .85rem; }
.tpl-option input:checked + label { border-color: var(--gb-gold); background: #fff8e8; font-weight: 600; }
.paywall { background: #fff8e8; border: 1px solid #f2d48c; border-radius: 12px; }
.cv-card .badge { font-weight: 500; }
