:root{
    --bg:#f4f1ea;
    --panel:#fffdf8;
    --panel-2:#ffffff;
    --text:#17130d;
    --muted:#776f63;
    --line:#e7dfd2;
    --dark:#17130d;
    --gold:#b88a3a;
    --gold-2:#e2c27a;
    --green:#0f7b5f;
    --red:#b33838;
    --shadow:0 28px 80px rgba(41,31,18,.12);
    --radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color:var(--text);
    background:
        radial-gradient(circle at 10% -10%, rgba(226,194,122,.36), transparent 35%),
        radial-gradient(circle at 95% 5%, rgba(15,123,95,.13), transparent 30%),
        var(--bg);
    line-height:1.55;
}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.page-shell{max-width:1220px;margin:0 auto;padding:28px}
.hero{
    background:linear-gradient(135deg,#19140e,#282016 58%,#0f211b);
    color:#fff;
    border-radius:36px;
    padding:24px;
    box-shadow:var(--shadow);
    overflow:hidden;
    position:relative;
}
.hero:before{
    content:"";
    position:absolute;
    inset:-80px -140px auto auto;
    width:420px;height:420px;
    background:radial-gradient(circle,rgba(226,194,122,.28),transparent 62%);
    pointer-events:none;
}
.topbar{display:flex;align-items:center;gap:14px;position:relative;z-index:1}
.brand-mark{
    width:44px;height:44px;border-radius:14px;
    display:grid;place-items:center;
    font-weight:900;letter-spacing:-.08em;
    background:linear-gradient(135deg,var(--gold-2),var(--gold));
    color:#17130d;
    box-shadow:0 12px 30px rgba(0,0,0,.18);
}
.brand-mark.large{width:60px;height:60px;border-radius:20px;margin:0 auto 18px}
.topbar strong{display:block;font-size:15px}
.topbar span{display:block;color:rgba(255,255,255,.68);font-size:13px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.7fr);gap:28px;padding:78px 18px 28px;position:relative;z-index:1}
.eyebrow{margin:0 0 12px;color:var(--gold-2);font-size:12px;text-transform:uppercase;letter-spacing:.18em;font-weight:800}
h1,h2,p{margin-top:0}
.hero h1{font-size:clamp(40px,7vw,76px);line-height:.95;letter-spacing:-.07em;margin-bottom:22px;max-width:780px}
.lead{font-size:clamp(17px,2vw,21px);color:rgba(255,255,255,.78);max-width:780px;margin-bottom:26px}
.hero-points{display:flex;flex-wrap:wrap;gap:10px}
.hero-points span{
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(16px);
    padding:10px 14px;
    border-radius:999px;
    color:rgba(255,255,255,.82);
    font-size:14px;
}
.hero-card{
    align-self:end;
    background:rgba(255,255,255,.1);
    border:1px solid rgba(255,255,255,.14);
    border-radius:28px;
    padding:26px;
    backdrop-filter:blur(20px);
}
.status-dot{width:11px;height:11px;border-radius:99px;background:#68e0b7;box-shadow:0 0 0 8px rgba(104,224,183,.12);margin-bottom:24px}
.hero-card h2{font-size:23px;letter-spacing:-.04em;margin-bottom:10px}
.hero-card p{color:rgba(255,255,255,.72);margin:0}
.content-card{
    background:rgba(255,253,248,.82);
    backdrop-filter:blur(16px);
    border:1px solid rgba(231,223,210,.82);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    margin-top:24px;
    padding:12px;
}
.onboarding-form{display:grid;gap:12px}
.form-section{
    background:var(--panel-2);
    border:1px solid var(--line);
    border-radius:24px;
    padding:30px;
}
.section-head{display:flex;gap:18px;align-items:flex-start;margin-bottom:24px}
.section-head>span{
    min-width:42px;height:42px;border-radius:14px;
    display:grid;place-items:center;
    background:#f3eadb;color:#8a6425;font-weight:900;
}
.section-head h2{font-size:25px;line-height:1.08;letter-spacing:-.05em;margin-bottom:5px}
.section-head p{margin:0;color:var(--muted);font-size:15px}
.field-grid{display:grid;grid-template-columns:1fr;gap:16px}
.field-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
label{display:grid;gap:8px;font-weight:750;color:#211b13;font-size:14px}
input,textarea,select{
    width:100%;
    border:1px solid #ded5c6;
    border-radius:16px;
    background:#fffdf9;
    color:var(--text);
    padding:14px 15px;
    outline:none;
    transition:border .2s, box-shadow .2s, background .2s;
}
textarea{min-height:132px;resize:vertical}
input:focus,textarea:focus,select:focus{
    border-color:var(--gold);
    box-shadow:0 0 0 4px rgba(184,138,58,.14);
    background:#fff;
}
.upload-section label+ .dropzone{margin-top:18px}
.dropzone{
    position:relative;
    min-height:170px;
    border:2px dashed #cdbf9e;
    border-radius:24px;
    background:linear-gradient(180deg,#fffdfa,#f8f2e8);
    display:grid;
    place-items:center;
    text-align:center;
    transition:.2s;
    cursor:pointer;
    margin-top:16px;
}
.dropzone:hover,.dropzone.dragover{border-color:var(--gold);background:#fff9ed;transform:translateY(-1px)}
.dropzone input{position:absolute;inset:0;opacity:0;cursor:pointer}
.dropzone-inner{display:grid;gap:8px;padding:30px;pointer-events:none}
.dropzone-inner strong{font-size:20px;letter-spacing:-.03em}
.dropzone-inner span{color:var(--muted);font-size:14px}
.file-list{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:8px}
.file-list li{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:11px 13px;border:1px solid var(--line);border-radius:14px;background:#fffdf9;color:var(--muted);font-size:14px;
}
.checkline{display:flex;grid-template-columns:auto 1fr;gap:12px;align-items:flex-start;font-weight:650;color:var(--muted);line-height:1.45}
.checkline input{width:18px;height:18px;margin-top:2px;accent-color:var(--dark)}
.submit-btn{
    border:0;
    border-radius:18px;
    background:linear-gradient(135deg,#17130d,#332719);
    color:#fff;
    padding:15px 22px;
    font-weight:850;
    letter-spacing:-.02em;
    cursor:pointer;
    box-shadow:0 14px 32px rgba(23,19,13,.18);
    transition:transform .2s, box-shadow .2s;
    margin-top:18px;
}
.submit-btn:hover{transform:translateY(-1px);box-shadow:0 18px 38px rgba(23,19,13,.23)}
.submit-btn.inline{display:inline-flex;margin-top:10px}
.microcopy{color:var(--muted);font-size:13px;margin:12px 0 0}.footer{display:flex;justify-content:center;gap:18px;color:var(--muted);font-size:14px;padding:26px 0 6px}.footer a{text-decoration:underline;text-underline-offset:3px}.simple-page,.admin-login-page{min-height:100vh;display:grid;place-items:center;padding:24px}.success-card,.login-card{width:min(560px,100%);background:var(--panel-2);border:1px solid var(--line);border-radius:30px;padding:36px;box-shadow:var(--shadow);text-align:center}.success-icon{width:64px;height:64px;border-radius:22px;display:grid;place-items:center;margin:0 auto 18px;background:#e9f7f0;color:var(--green);font-weight:900;font-size:30px}.success-icon.warning{background:#fff0e8;color:#a44b21}.success-card h1,.login-card h1{letter-spacing:-.06em;line-height:1.05}.success-card p,.login-card p{color:var(--muted)}.login-card{text-align:left}.login-card .brand-mark{text-align:center}.login-card h1,.login-card p{text-align:center}.login-card label{margin-top:14px}.login-card small{display:block;color:var(--muted);margin-top:14px;text-align:center}.alert{padding:12px 14px;border-radius:14px;background:#fff0ec;color:#8c2f1c;border:1px solid #f2c5b9;margin:16px 0}.admin-body{background:#f6f3ed}.admin-header{max-width:1220px;margin:0 auto;padding:34px 28px 18px;display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.admin-header h1{font-size:clamp(32px,5vw,54px);line-height:.98;letter-spacing:-.07em;margin-bottom:8px}.admin-header p:last-child{color:var(--muted);margin:0}.admin-logout,.back-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 14px;font-weight:800;color:#2c2419}.back-link{margin-bottom:14px}.admin-main{max-width:1220px;margin:0 auto;padding:0 28px 34px}.admin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:12px}.admin-stats div{background:#fff;border:1px solid var(--line);border-radius:24px;padding:22px}.admin-stats strong{display:block;font-size:30px;letter-spacing:-.06em}.admin-stats span{color:var(--muted);font-size:14px}.admin-table-card,.detail-card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:24px;box-shadow:0 18px 55px rgba(41,31,18,.07)}.table-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:18px}.table-head h2,.detail-card h2{letter-spacing:-.05em;margin:0}.table-search{max-width:360px}.table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse;min-width:850px}.admin-table th{text-align:left;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em;border-bottom:1px solid var(--line);padding:12px}.admin-table td{border-bottom:1px solid var(--line);padding:15px 12px;vertical-align:middle}.admin-table td span{color:var(--muted);font-size:13px}.status-pill{display:inline-flex;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;background:#eef3ff;color:#294880}.status-pill.new{background:#fff1da;color:#875713}.status-pill.reviewed{background:#e9f7f0;color:#0d674f}.table-action{display:inline-flex;background:#17130d;color:#fff;border-radius:999px;padding:9px 13px;font-weight:850;font-size:13px}.empty-state{color:var(--muted);margin:0}.detail-main{display:grid;gap:12px}.top-detail{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.top-detail div{border:1px solid var(--line);border-radius:18px;padding:16px;background:#fffdf8}.top-detail span,.detail-block span{display:block;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:850;margin-bottom:6px}.top-detail strong{font-size:18px}.detail-grid{display:grid;grid-template-columns:1fr;gap:12px}.detail-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-block{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}.detail-card h2+.detail-grid,.detail-card h2+.detail-block{margin-top:18px}.detail-block p{white-space:normal;margin:0;color:#2b241b}.upload-list-admin{display:grid;gap:10px;margin-top:16px}.upload-row{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid var(--line);background:#fffdf9;border-radius:18px;padding:14px}.upload-row span{display:block;color:var(--muted);font-size:13px;margin-top:2px}.legal-page{max-width:900px;margin:0 auto;padding:30px}.legal-card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:30px;box-shadow:var(--shadow)}.legal-card h1{letter-spacing:-.06em}.legal-card p,.legal-card li{color:#4f473e}
@media (max-width: 860px){
    .page-shell{padding:14px}.hero{border-radius:28px;padding:18px}.hero-grid{grid-template-columns:1fr;padding:48px 4px 8px}.hero h1{font-size:43px}.content-card{padding:8px}.form-section{padding:22px;border-radius:20px}.field-grid.two,.detail-grid.two,.top-detail,.admin-stats{grid-template-columns:1fr}.section-head{gap:12px}.section-head h2{font-size:22px}.dropzone-inner strong{font-size:17px}.footer{flex-wrap:wrap}.admin-header{padding:24px 16px 14px;display:grid}.admin-main{padding:0 16px 24px}.table-head{display:grid}.table-search{max-width:none}.upload-row{align-items:flex-start;flex-direction:column}.admin-table-card,.detail-card{padding:18px;border-radius:20px}.success-card,.login-card{padding:26px;border-radius:24px}
}
@media (max-width: 520px){
    .hero h1{font-size:36px}.lead{font-size:16px}.hero-points span{width:100%;text-align:left}.form-section{padding:18px}.section-head{display:grid}.checkline{font-size:13px}.submit-btn{width:100%;justify-content:center}.file-list li{align-items:flex-start;flex-direction:column}.admin-header h1{font-size:34px}
}

/* Hardened admin additions */
.admin-actions-top{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.admin-stats{grid-template-columns:repeat(4,1fr)}
.success-alert{background:#e9f7f0;color:#0d674f;border-color:#bde7d8;margin-bottom:14px}
.danger-zone{border-color:#f0c9bd;background:#fffaf8}
.danger-zone p{color:var(--muted);max-width:840px}
.danger-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:16px}
.delete-btn{border:0;border-radius:999px;background:#8f2e1c;color:#fff;padding:10px 14px;font-weight:900;cursor:pointer}
.delete-btn:hover{filter:brightness(.96)}
@media (max-width: 860px){.admin-actions-top{justify-content:flex-start}.admin-stats{grid-template-columns:1fr}.danger-actions{align-items:stretch;flex-direction:column}.danger-actions .table-action,.danger-actions form,.delete-btn{width:100%;justify-content:center;text-align:center}}

/* Anti-spam honeypot: visually hidden, still present for bot traps. */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.admin-actions-top .danger-link,
.danger-link {
    border-color: rgba(185, 28, 28, 0.28) !important;
    color: #991b1b !important;
    background: rgba(254, 242, 242, 0.88) !important;
}

.retention-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.retention-form input[type="number"] {
    width: 110px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
}
@media (max-width: 720px) {
    .admin-actions-top,
    .retention-form {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Brand logo updates */
.topbar{
    justify-content:space-between;
    gap:24px;
}
.site-logo-link{
    display:inline-flex;
    align-items:center;
}
.site-logo{
    display:block;
    width:100%;
    height:auto;
    max-width:100%;
}
.site-logo--hero{
    width:min(360px, 58vw);
}
.site-logo--legal,
.site-logo--thankyou{
    width:min(320px, 80vw);
    margin:0 auto 10px;
}
.site-logo--admin{
    width:min(260px, 78vw);
    margin:0 auto 4px;
}
.topbar-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 14px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(255,255,255,.08);
    color:rgba(255,255,255,.84);
    font-size:13px;
    font-weight:800;
    letter-spacing:.02em;
    text-align:center;
}
.legal-logo-wrap,
.thankyou-logo-wrap,
.admin-logo-wrap{
    display:flex;
    justify-content:center;
    margin-bottom:12px;
}

/* Legal page refinements */
.legal-card h2{
    margin:26px 0 10px;
    font-size:22px;
    letter-spacing:-.04em;
}
.legal-card a{
    text-decoration:underline;
    text-underline-offset:3px;
}
.footer--legal{
    padding-top:18px;
    padding-bottom:28px;
}

/* Cookie banner */
.cookie-banner{
    position:fixed;
    left:18px;
    right:18px;
    bottom:18px;
    z-index:9999;
}
.cookie-banner__inner{
    max-width:1180px;
    margin:0 auto;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    background:rgba(23,19,13,.96);
    color:#fff;
    border:1px solid rgba(226,194,122,.18);
    box-shadow:0 24px 60px rgba(0,0,0,.28);
    border-radius:22px;
    padding:18px 20px;
}
.cookie-banner__copy strong{
    display:block;
    font-size:17px;
    margin-bottom:4px;
}
.cookie-banner__copy p{
    margin:0;
    color:rgba(255,255,255,.78);
    max-width:820px;
}
.cookie-banner__links{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:10px;
}
.cookie-banner__links a{
    color:var(--gold-2);
    text-decoration:underline;
    text-underline-offset:3px;
}
.cookie-banner__actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}
.cookie-btn{
    border:0;
    border-radius:999px;
    padding:12px 16px;
    font-weight:800;
    cursor:pointer;
    background:linear-gradient(135deg,var(--gold-2),var(--gold));
    color:#17130d;
}
.cookie-btn--secondary{
    background:rgba(255,255,255,.08);
    color:#fff;
    border:1px solid rgba(255,255,255,.14);
}

@media (max-width: 860px){
    .site-logo--hero{width:min(300px, 64vw)}
    .topbar{align-items:flex-start;flex-direction:column}
    .cookie-banner__inner{flex-direction:column;align-items:flex-start}
}
@media (max-width: 520px){
    .cookie-banner{left:12px;right:12px;bottom:12px}
    .cookie-banner__inner{padding:16px}
    .cookie-banner__actions{width:100%}
    .cookie-btn{width:100%;text-align:center}
}

/* v4 logo sizing cleanup */
.site-logo--hero{
    width:min(220px, 42vw) !important;
}
.site-logo--legal,
.site-logo--thankyou,
.site-logo--admin{
    width:min(220px, 60vw) !important;
}
.legal-logo-wrap,
.thankyou-logo-wrap,
.admin-logo-wrap{
    background:#17130d;
    padding:12px 18px;
    border-radius:18px;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 10px 30px rgba(23,19,13,.10);
}
.thankyou-logo-wrap,
.admin-logo-wrap{
    margin-left:auto;
    margin-right:auto;
}
.topbar-badge{
    padding:8px 12px !important;
    font-size:12px !important;
}
@media (max-width: 860px){
    .site-logo--hero{width:min(190px, 52vw) !important;}
}
@media (max-width: 520px){
    .site-logo--hero{width:min(170px, 56vw) !important;}
    .site-logo--legal,
    .site-logo--thankyou,
    .site-logo--admin{width:min(180px, 68vw) !important;}
}

/* v5 onboarding content cleanup + modern cookie consent */
.upload-disclaimer{
    margin:18px 0 4px;
    padding:18px 20px;
    border-radius:20px;
    border:1px solid rgba(184,138,58,.24);
    background:linear-gradient(135deg,rgba(255,249,237,.96),rgba(255,253,248,.92));
    box-shadow:0 12px 34px rgba(41,31,18,.06);
}
.upload-disclaimer strong{
    display:block;
    margin-bottom:6px;
    color:#21170f;
    font-size:15px;
    letter-spacing:-.02em;
}
.upload-disclaimer p,
.upload-aftercopy{
    margin:0;
    color:var(--muted);
    font-size:14px;
    line-height:1.55;
}
.upload-aftercopy{
    margin-top:12px;
}
.footer-link{
    appearance:none;
    border:0;
    background:transparent;
    padding:0;
    color:inherit;
    font:inherit;
    cursor:pointer;
    text-decoration:underline;
    text-underline-offset:3px;
}

.cookie-consent{
    position:fixed;
    inset:0;
    z-index:9999;
    display:grid;
    place-items:end center;
    padding:18px;
    background:linear-gradient(180deg,rgba(17,13,8,0),rgba(17,13,8,.22));
}
.cookie-consent[hidden]{display:none !important}
.cookie-consent__panel{
    width:min(1040px,100%);
    border:1px solid rgba(226,194,122,.20);
    border-radius:28px;
    background:rgba(255,253,248,.96);
    backdrop-filter:blur(18px);
    color:var(--text);
    box-shadow:0 30px 90px rgba(17,13,8,.24);
    padding:22px;
}
.cookie-consent__top{
    display:grid;
    grid-template-columns:1fr auto;
    gap:18px;
    align-items:start;
}
.cookie-kicker{
    margin:0 0 8px;
    color:var(--gold);
    font-size:12px;
    font-weight:900;
    letter-spacing:.16em;
    text-transform:uppercase;
}
.cookie-consent h2{
    margin:0 0 8px;
    font-size:clamp(22px,3vw,34px);
    letter-spacing:-.06em;
    line-height:1.02;
}
.cookie-consent p{
    margin:0;
    color:var(--muted);
    max-width:780px;
}
.cookie-close{
    width:42px;
    height:42px;
    border-radius:999px;
    border:1px solid var(--line);
    background:#fff;
    color:var(--text);
    font-size:24px;
    line-height:1;
    cursor:pointer;
}
.cookie-consent__categories{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-top:18px;
}
.cookie-category{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:12px;
    align-items:flex-start;
    padding:16px;
    border-radius:20px;
    border:1px solid var(--line);
    background:#fff;
    color:var(--text);
    font-weight:700;
}
.cookie-category input{
    width:20px;
    height:20px;
    margin-top:2px;
    accent-color:var(--dark);
}
.cookie-category strong{
    display:block;
    margin-bottom:4px;
    font-size:14px;
}
.cookie-category small{
    display:block;
    color:var(--muted);
    font-weight:500;
    line-height:1.45;
}
.cookie-category--locked{
    background:linear-gradient(135deg,#fffdfa,#f8f1e5);
}
.cookie-consent__footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-top:18px;
}
.cookie-consent__links,
.cookie-consent__actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}
.cookie-consent__links a{
    color:#7d5a20;
    font-weight:800;
    text-decoration:underline;
    text-underline-offset:3px;
}
.cookie-action{
    border:0;
    border-radius:999px;
    padding:12px 16px;
    font-weight:900;
    cursor:pointer;
    background:linear-gradient(135deg,#17130d,#332719);
    color:#fff;
    box-shadow:0 12px 28px rgba(23,19,13,.14);
}
.cookie-action--secondary{
    background:linear-gradient(135deg,var(--gold-2),var(--gold));
    color:#17130d;
}
.cookie-action--ghost{
    background:#fff;
    color:#2c2419;
    border:1px solid var(--line);
    box-shadow:none;
}
@media (max-width: 900px){
    .cookie-consent__categories{grid-template-columns:1fr}
    .cookie-consent__footer{align-items:flex-start;flex-direction:column}
    .cookie-consent__actions{width:100%}
    .cookie-action{flex:1;min-width:180px}
}
@media (max-width: 560px){
    .cookie-consent{padding:10px;place-items:end center}
    .cookie-consent__panel{border-radius:22px;padding:16px;max-height:92vh;overflow:auto}
    .cookie-consent__top{grid-template-columns:1fr}
    .cookie-close{position:absolute;right:18px;top:18px}
    .cookie-consent h2{padding-right:46px}
    .cookie-consent__actions{display:grid;grid-template-columns:1fr;gap:8px}
    .cookie-action{width:100%;min-width:0}
    .upload-disclaimer{padding:16px;border-radius:18px}
}

/* v6 logo + cookie perfection */
.site-logo-link{
    display:inline-flex !important;
    align-items:center !important;
    gap:14px !important;
}
.brand-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:64px;
    height:64px;
    border-radius:18px;
    background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
    border:1px solid rgba(255,255,255,.10);
    box-shadow:0 12px 28px rgba(0,0,0,.18);
    overflow:hidden;
    flex-shrink:0;
}
.brand-chip--light{
    background:#17130d;
    border-color:#17130d;
}
.site-logo--monogram{
    width:38px !important;
    height:auto !important;
    display:block;
}
.brand-copy{
    display:grid;
    gap:2px;
}
.brand-copy strong{
    color:#fff;
    font-size:16px;
    letter-spacing:-.03em;
    line-height:1.05;
}
.brand-copy span{
    color:rgba(255,255,255,.72);
    font-size:13px;
    line-height:1.1;
}
.site-logo--thankyou-mark,
.site-logo--admin-mark{
    width:42px !important;
    height:auto !important;
    display:block;
}
.site-logo--legal{
    width:min(180px, 58vw) !important;
}
.legal-logo-wrap,
.thankyou-logo-wrap,
.admin-logo-wrap{
    background:none !important;
    padding:0 !important;
    box-shadow:none !important;
}

.cookie-consent{
    position:fixed !important;
    left:20px !important;
    right:20px !important;
    bottom:20px !important;
    inset:auto 20px 20px 20px !important;
    z-index:9999 !important;
    display:block !important;
    padding:0 !important;
    background:none !important;
}
.cookie-consent[hidden]{display:none !important}
.cookie-consent__panel{
    width:min(960px, 100%) !important;
    margin:0 auto !important;
    border-radius:24px !important;
    border:1px solid rgba(15,23,42,.08) !important;
    background:rgba(255,255,255,.98) !important;
    backdrop-filter:blur(18px) !important;
    box-shadow:0 25px 70px rgba(15,23,42,.18) !important;
    padding:22px !important;
}
.cookie-consent__header{
    display:block;
    margin-bottom:16px;
}
.cookie-kicker{
    color:#8a6425 !important;
    margin-bottom:6px !important;
}
.cookie-consent h2{
    color:#17130d !important;
    margin-bottom:8px !important;
}
.cookie-consent p{
    color:#5b544a !important;
}
.cookie-consent__categories{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:12px !important;
    margin-top:0 !important;
}
.cookie-category{
    background:#fbfaf7 !important;
    border:1px solid #e8e0d4 !important;
    border-radius:18px !important;
    padding:16px !important;
    min-height:100% !important;
}
.cookie-category input{accent-color:#17130d !important}
.cookie-category strong{font-size:14px !important}
.cookie-category small{font-size:12.5px !important; color:#6b645a !important}
.cookie-consent__footer{
    margin-top:16px !important;
    padding-top:2px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:14px !important;
}
.cookie-consent__actions{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:10px !important;
}
.cookie-action{
    min-height:46px;
    padding:12px 16px !important;
}
.cookie-action--ghost{
    background:#fff !important;
    border:1px solid #ddd4c8 !important;
}
.cookie-action--secondary{
    background:linear-gradient(135deg,#f3deb2,#ddb15d) !important;
}
body.cookie-banner-open{padding-bottom:220px}

@media (max-width: 900px){
    .cookie-consent__categories{grid-template-columns:1fr !important}
    .cookie-consent__footer{flex-direction:column !important; align-items:flex-start !important}
    body.cookie-banner-open{padding-bottom:440px}
}
@media (max-width: 700px){
    .brand-chip{width:56px;height:56px;border-radius:16px}
    .site-logo--monogram{width:33px !important}
    .brand-copy strong{font-size:14px}
    .brand-copy span{font-size:12px}
}
@media (max-width: 560px){
    .topbar{display:flex !important;flex-direction:row !important;align-items:center !important}
    .site-logo-link{gap:10px !important}
    .brand-copy strong{font-size:13.5px}
    .brand-copy span{font-size:11.5px}
    .cookie-consent{left:10px !important; right:10px !important; bottom:10px !important; inset:auto 10px 10px 10px !important}
    .cookie-consent__panel{padding:16px !important; border-radius:20px !important}
    .cookie-consent__actions{width:100% !important; display:grid !important; grid-template-columns:1fr !important}
    .cookie-action{width:100% !important}
    body.cookie-banner-open{padding-bottom:520px}
}
.site-logo--legal-mark{width:42px !important;height:auto !important;display:block;}



/* v11 standalone cookie banner rebuild - forced working */
#udCookieBanner.ud-cookie-v11[hidden] { display: none !important; }

#udCookieBanner.ud-cookie-v11 {
    position: fixed !important;
    left: 18px !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 2147483646 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    color: #17130d !important;
    pointer-events: none !important;
}

#udCookieBanner.ud-cookie-v11,
#udCookieBanner.ud-cookie-v11 * {
    box-sizing: border-box !important;
}

#udCookieBanner .ud-cookie-v11__panel {
    width: min(980px, 100%) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 26px !important;
    border: 1px solid rgba(23, 19, 13, .10) !important;
    background: rgba(255, 255, 255, .985) !important;
    box-shadow: 0 28px 90px rgba(15, 23, 42, .24) !important;
    backdrop-filter: blur(18px) !important;
    pointer-events: auto !important;
}

#udCookieBanner .ud-cookie-v11__body {
    padding: 20px 22px 16px !important;
}

#udCookieBanner .ud-cookie-v11__kicker {
    display: block !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    color: #9c7028 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
}

#udCookieBanner .ud-cookie-v11__title {
    display: block !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: #17130d !important;
    font-size: 24px !important;
    line-height: 1.08 !important;
    letter-spacing: -.04em !important;
    font-weight: 900 !important;
}

#udCookieBanner .ud-cookie-v11__text {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 850px !important;
    color: #5b544a !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
}

#udCookieBanner .ud-cookie-v11__options {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
}

#udCookieBanner .ud-cookie-v11__option {
    display: grid !important;
    grid-template-columns: 20px 1fr !important;
    align-items: start !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 14px !important;
    border: 1px solid #e7dfd2 !important;
    border-radius: 16px !important;
    background: #fbfaf7 !important;
    cursor: pointer !important;
    color: #17130d !important;
    min-height: 100% !important;
}

#udCookieBanner .ud-cookie-v11__option--locked {
    background: linear-gradient(135deg, #fffdfa, #f6efe2) !important;
}

#udCookieBanner .ud-cookie-v11__option input {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    accent-color: #17130d !important;
}

#udCookieBanner .ud-cookie-v11__option strong {
    display: block !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: #17130d !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
}

#udCookieBanner .ud-cookie-v11__option small {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #6d665d !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
}

#udCookieBanner .ud-cookie-v11__footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 22px 18px !important;
    border-top: 1px solid #eee7dc !important;
    background: #fffdf9 !important;
}

#udCookieBanner .ud-cookie-v11__links {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

#udCookieBanner .ud-cookie-v11__links a {
    display: inline-flex !important;
    color: #7d5a20 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

#udCookieBanner .ud-cookie-v11__actions {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

#udCookieBanner .ud-cookie-v11__btn {
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 10px 15px !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #17130d, #35291b) !important;
    box-shadow: 0 10px 24px rgba(23, 19, 13, .14) !important;
    font: inherit !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

#udCookieBanner .ud-cookie-v11__btn--secondary {
    color: #17130d !important;
    background: linear-gradient(135deg, #f4ddb0, #dcae56) !important;
}

#udCookieBanner .ud-cookie-v11__btn--ghost {
    color: #2e261d !important;
    background: #fff !important;
    border: 1px solid #ddd4c8 !important;
    box-shadow: none !important;
}

body.ud-cookie-v11-open {
    padding-bottom: 236px !important;
}

@media (max-width: 900px) {
    #udCookieBanner .ud-cookie-v11__options {
        grid-template-columns: 1fr !important;
    }
    #udCookieBanner .ud-cookie-v11__footer {
        align-items: flex-start !important;
        flex-direction: column !important;
    }
    #udCookieBanner .ud-cookie-v11__actions {
        width: 100% !important;
        justify-content: flex-start !important;
    }
    body.ud-cookie-v11-open {
        padding-bottom: 420px !important;
    }
}

@media (max-width: 560px) {
    #udCookieBanner.ud-cookie-v11 {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
    }
    #udCookieBanner .ud-cookie-v11__panel {
        max-height: 88vh !important;
        overflow-y: auto !important;
        border-radius: 20px !important;
    }
    #udCookieBanner .ud-cookie-v11__body {
        padding: 16px !important;
    }
    #udCookieBanner .ud-cookie-v11__title {
        font-size: 20px !important;
    }
    #udCookieBanner .ud-cookie-v11__text {
        font-size: 13px !important;
    }
    #udCookieBanner .ud-cookie-v11__footer {
        padding: 12px 16px 16px !important;
    }
    #udCookieBanner .ud-cookie-v11__actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
    #udCookieBanner .ud-cookie-v11__btn {
        width: 100% !important;
    }
    body.ud-cookie-v11-open {
        padding-bottom: 520px !important;
    }
}
