:root{--brand-warning:#ffc107;--brand-dark:#212529;--brand-cream:#fff8df;--brand-border:#e7d8a8}
*{box-sizing:border-box}body{font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:#f8f7f2;color:var(--brand-dark);margin:0;line-height:1.5;min-height:100vh;display:flex;flex-direction:column}a{color:#684d00;text-decoration:none}a:hover{text-decoration:underline}header{background:var(--brand-dark);border-bottom:1px solid #3b4147;position:sticky;top:0;z-index:3}.nav{max-width:1160px;margin:auto;min-height:68px;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap} .logo{display:inline-flex;align-items:center;gap:9px;font-weight:900;font-size:22px;color:#fff}.logo img{background:#fff;border-radius:9px;padding:2px;flex:none}.logo:hover{text-decoration:none;color:var(--brand-warning)}.nav-links{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.wrap{width:100%;max-width:1120px;margin:38px auto;padding:0 20px;flex:1 0 auto}.narrow{max-width:590px;margin-left:auto;margin-right:auto}.hero-app{padding:45px 0 35px;max-width:780px}.hero-app h1{font-size:clamp(33px,5vw,54px);line-height:1.12;letter-spacing:-.04em;margin:0 0 18px}.hero-app p{font-size:clamp(16px,2.4vw,19px);color:#516275;max-width:62ch}.card{background:#fff;border:1px solid #e2e8f0;border-radius:15px;padding:25px;margin:16px 0;box-shadow:0 7px 22px rgba(16,43,77,.035)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.grid .card,.grid-2 .card{margin:0}.muted,small{color:#516275}.muted{font-size:14px}.button,button{display:inline-block;border:0;border-radius:9px;padding:11px 18px;background:var(--brand-warning);color:var(--brand-dark);font-weight:700;font-size:14px;cursor:pointer}.button:hover,button:hover{background:#e7ae00;color:var(--brand-dark);text-decoration:none}.button.outline,button.outline{border:1px solid #7c7769;background:#fff;color:var(--brand-dark)}.button.danger,button.danger{background:#a82739;color:#fff}.button.danger:hover,button.danger:hover{background:#861c2b}.button.small,button.small{padding:7px 11px;font-size:12px}.button:disabled,button:disabled{opacity:.5;cursor:not-allowed}.field{margin:14px 0;display:grid;gap:6px}.field label{font-size:14px;font-weight:750}.field input,.field select,.field textarea{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;background:#fff}.field textarea{min-height:100px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{outline:2px solid #a77b00}.hint{font-size:13px;color:#516275}.trap{position:absolute;left:-10000px;overflow:hidden;height:1px}.flash{padding:15px;border-radius:9px;margin-bottom:18px;border:1px solid}.flash.error{background:#fff2f1;color:#802b2b;border-color:#f7c8c4}.flash.ok{background:#ecf9ef;color:#226536;border-color:#bde6c5}.flex{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.between{justify-content:space-between}.stack{display:grid;gap:15px}.tag{font-size:12px;font-weight:700;color:#3b556c;background:#e8f0f8;border-radius:5px;padding:5px 9px;display:inline-block}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:12px;border-bottom:1px solid #e4eaf1;vertical-align:top}th{color:#56697e;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.stat{padding:24px;background:white;border:1px solid #dce6ee;border-radius:12px}.stat b{display:block;font-size:30px}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:24px;align-items:start}.preview-box{background:#fdfdfd;border:1px solid #d4dde6;border-radius:10px;overflow:hidden;position:sticky;top:92px}.preview-box iframe{width:100%;height:680px;border:0;background:#fff}.editor-grid .card{margin:0}.section-title{margin-top:30px;padding-top:15px;border-top:1px solid #e9eef3}.footer{flex-shrink:0;background:var(--brand-dark);border-top:1px solid #3b4147;color:#e4e0d6;font-size:13px;text-align:center;padding:25px}.footer a{color:#ffe083;margin:0 8px}h1{line-height:1.2}h2{margin:0 0 12px}h3{margin:0 0 8px}.notice{background:#fff8dc;padding:13px;border-radius:8px;border:1px solid #eadea8}.copy{word-break:break-word}.text-red{color:#aa3040}.text-green{color:#246438}.num{font-variant-numeric:tabular-nums}hr{border:0;border-top:1px solid #e6ebf2;margin:25px 0}@media(max-width:900px){.grid,.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-grid{grid-template-columns:minmax(0,1fr)}.preview-box{position:static}}@media(max-width:570px){.grid,.grid-2,.stats{grid-template-columns:minmax(0,1fr)}.nav{gap:10px}.wrap{margin:22px auto}.card{padding:18px}.nav-links{gap:4px 14px;font-size:14px}.nav{padding:10px 16px}}

.choice{display:block;margin:10px 0;line-height:1.5}.choice input{margin-right:5px}.addon-entry{padding:14px 0;border-top:1px solid #e2e8f0}.addon-entry p{margin:6px 0}details>summary{cursor:pointer;margin-top:8px}

:focus-visible { outline: 3px solid #947000; outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 5; transform: translateY(-150%); background: #fff; color: #102d47; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: none; }
main, .card, .notice, .flex > * { min-width: 0; overflow-wrap: anywhere; }
main [id] { scroll-margin-top: 120px; }
.nav-links a, .nav-links button { min-height: 40px; display: inline-flex; align-items: center; }
.nav-links a:not(.button) { color: #fff; }
.nav-links a:not(.button):hover { color: var(--brand-warning); }
header :focus-visible, .footer :focus-visible { outline-color: var(--brand-warning); }
.button, button { min-height: 44px; max-width: 100%; text-align: center; }
.button.small, button.small { min-height: 36px; font-size: 13px; }
.button.outline:hover, button.outline:hover { background: var(--brand-cream); }
.google-auth { margin-top: 14px; }
.google-auth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 9px 12px;
    border: 1px solid #747775;
    border-radius: 4px;
    background: #fff;
    color: #1f1f1f;
    font: 500 14px/1.4 Roboto, Arial, sans-serif;
}
.google-auth-button img { flex: none; }
.google-auth-button:hover { background: #f8faff; color: #1f1f1f; }
.field input, .field select, .field textarea { min-width: 0; }
.field input[type=color] { min-height: 44px; padding: 5px; }
.card > :first-child, .notice > :first-child { margin-top: 0; }
.card > :last-child, .notice > :last-child { margin-bottom: 0; }
.notice > form, .tablewrap td > form, .flex + .flex, form > button + small { margin-top: 10px; }
form > small { display: block; line-height: 1.5; }
form > small + button { margin-top: 10px; }
.editor-nav { margin: 12px 0 20px; }
.editor-nav a { padding: 7px 0; }
.preview-actions { padding: 12px; }
.secondary-action { margin-top: 14px; }
.steps { margin: 0; padding: 0; list-style: none; }
.help-card { margin-top: 24px; }
.pro-offer { border-left: 4px solid var(--brand-warning); background: var(--brand-cream); }
.support-page { max-width: 900px; margin-inline: auto; }
.support-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.support-page .pro-choice { background: var(--brand-cream); border-radius: 8px; padding: 10px 12px; }
.phone-option:not(:has(input[name="allow_phone"]:checked)) [data-phone-field] { display: none; }
.choice input { accent-color: var(--brand-warning); }
.manual { max-width: 900px; }
.manual li + li { margin-top: 6px; }
.deletion > summary { color: #8a2030; font-weight: 750; }
.deletion:target { border-color: #a82739; }
@media (max-width: 640px) { .support-options { grid-template-columns: minmax(0, 1fr); } }

.funnel { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px 16px; max-width: 650px; }
.funnel dt { font-weight: 700; }
.funnel dd { margin: 0; }
@media (max-width: 460px) { .funnel { grid-template-columns: minmax(0,1fr); } .funnel dd { margin-bottom: 8px; } }

.field-label { display: flex; align-items: center; gap: 8px; }
.field-help { position: relative; display: inline-grid; place-items: center; width: 21px; height: 21px; border: 1px solid #afbdce; border-radius: 50%; color: #355370; font: 700 13px system-ui; cursor: help; flex: none; }
.field-help span { position: absolute; top: calc(100% + 5px); left: -48px; z-index: 6; width: min(220px, 60vw); padding: 8px 10px; border-radius: 6px; background: #20354b; color: #fff; line-height: 1.45; font-weight: 400; display: none; }
.field-help:hover span, .field-help:focus span { display: block; }
.editor-section { margin: 16px 0; border: 1px solid #dce5ee; border-radius: 10px; }
.editor-section > summary { margin: 0; padding: 12px 14px; font-weight: 750; }
.editor-section-content { padding: 0 14px 12px; min-width: 0; }
.editor-repeater { margin: 12px 0 4px; }
.editor-repeater > small { display: block; margin-top: 6px; }
.editor-row, .developer-options { min-width: 0; border: 1px solid #dce5ee; border-radius: 8px; margin: 0 0 12px; padding: 0 12px 12px; }
.editor-row legend, .developer-options legend { padding: 0 5px; font-weight: 700; }
.editor-save { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 10px 0; border-top: 1px solid #dce5ee; background: #fff; }
.stats-period { margin: 14px 0; }
.stats-track { display: inline-block; width: min(160px, 33vw); height: 8px; margin-right: 8px; vertical-align: middle; background: #e8f0f8; border-radius: 6px; overflow: hidden; }
.stats-track span { display: block; height: 100%; background: var(--brand-warning); }


.admin-nav { border-top: 1px solid #44494d; background: var(--brand-dark); overflow-x: auto; }
.admin-nav-inner { display: flex; gap: 4px; max-width: 1160px; margin: auto; padding: 4px 16px; width: max-content; min-width: min(100%, 1160px); }
.admin-nav a, .admin-filters a { padding: 8px 11px; border-radius: 7px; font-weight: 650; white-space: nowrap; color: var(--brand-dark); }
.admin-nav a { color: #fff; }
.admin-nav a:hover { background: #3b4147; }
.admin-filters a:hover { background: var(--brand-cream); }
.admin-nav a[aria-current], .admin-filters a[aria-current] { background: var(--brand-warning); color: var(--brand-dark); }
.admin-nav a:focus-visible { outline-offset: -3px; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0; }
.admin-search { align-items: flex-end; margin: 16px 0; }
.admin-search .field { margin: 0; flex: 1 1 260px; max-width: 480px; }
.admin-search > a { align-self: center; }
.admin-metrics { margin: 24px 0; }
.admin-metric { color: var(--brand-dark); }
.admin-metric:hover { background: var(--brand-cream); border-color: var(--brand-border); }
.admin-metric b { color: var(--brand-dark); }
.has-admin-nav main [id] { scroll-margin-top: 162px; }
.has-admin-nav .preview-box { top: 138px; }
.has-admin-nav tr:target { background: var(--brand-cream); }

.contact-phone { font-weight: 700; white-space: nowrap; }
.hero-app .hero-contact { font-size: 15px; margin: 14px 0 0; }
.marketing-section { margin: 38px 0; }
.marketing-section > .flex { margin-bottom: 12px; }
.marketing-section > .flex h2 { margin: 0; }
.demo-grid .demo-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.demo-thumb { display: block; background: #ece9df; aspect-ratio: 3 / 2; }
.demo-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.demo-card-content { padding: 20px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.demo-card-content p { margin: 0 0 12px; }
.demo-card-content .button { margin-top: auto; }
.plan-grid { margin: 18px 0; }
.plan-grid ul { padding-inline-start: 20px; }
.plan-grid li + li { margin-top: 6px; }
.plan-price { color: var(--brand-dark); font-size: clamp(19px, 3vw, 30px); font-weight: 800; margin: 8px 0 14px; }
.price-list { margin-bottom: 0; }
.price-list dt { font-weight: 750; }
.price-list dd { margin: 3px 0 0; padding-bottom: 12px; }
.price-list dd + dt { padding-top: 12px; border-top: 1px solid #e2e8f0; }
.price-list dd p { margin: 3px 0 0; }

.site-next a { text-decoration: underline; text-underline-offset: .15em; }
.site-next + .editor-nav { margin-top: 16px; }
.editor-view-switch { display: none; }
.seo-suggestion { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: -5px 0 18px; }
@media (max-width: 900px) {
    .editor-view-switch:not([hidden]) { display: flex; gap: 4px; width: fit-content; padding: 4px; margin: 0 0 12px; background: #ede9df; border-radius: 12px; }
    .editor-view-switch button { border-color: transparent; min-width: 104px; background: transparent; }
    .editor-view-switch button[aria-pressed=true] { background: #fff; border-color: #d5d0c3; }
    .editor-grid[data-view=edit] > #nahled, .editor-grid[data-view=preview] > #obsah-webu { display: none; }
    .preview-box iframe { height: 66vh; min-height: 360px; }
}
@media (max-width: 570px) {
    .hero-app { padding: 18px 0; }
    .marketing-section { margin: 28px 0; }
    .demo-thumb { aspect-ratio: 16 / 9; }
}
