/* "What's new" popup. Self-contained: it also opens on classic-design pages, where the redesign styles are not loaded. */
#wdt-whats-new { --wn-surface:#fff; --wn-soft:#f3f6fb; --wn-text:#152133; --wn-muted:#526176; --wn-border:#dce3ed; --wn-action:#0765b5; --wn-accent:#8059ef;
    position:fixed; inset:0; z-index:100000; display:flex; align-items:center; justify-content:center; padding:24px; box-sizing:border-box; font-family:Geist,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; }
html[data-wdt-theme=dark] #wdt-whats-new { --wn-surface:#192235; --wn-soft:#222d42; --wn-text:#edf2ff; --wn-muted:#b0bfd6; --wn-border:#35435c; --wn-action:#8db9ff; --wn-accent:#bba5ff; color-scheme:dark; }
#wdt-whats-new[hidden] { display:none; }
html.wdt-wn-open { overflow:hidden; }
#wdt-whats-new *, #wdt-whats-new *::before, #wdt-whats-new *::after { box-sizing:border-box; }
#wdt-whats-new .wdt-wn-backdrop { position:absolute; inset:0; background:#0c1730a6; }
#wdt-whats-new .wdt-wn-dialog { position:relative; width:100%; max-width:820px; max-height:100%; overflow:auto; background:var(--wn-surface); color:var(--wn-text); border:1px solid var(--wn-border); border-radius:24px; box-shadow:0 24px 80px #0c173055; outline:none; animation:wdt-wn-in .28s cubic-bezier(.2,.7,.2,1); }
@keyframes wdt-wn-in { from { opacity:0; transform:translateY(12px) scale(.98); } }
@media(prefers-reduced-motion:reduce) { #wdt-whats-new .wdt-wn-dialog { animation:none; } }

#wdt-whats-new .wdt-wn-close { position:absolute; top:14px; right:14px; z-index:1; width:34px; height:34px; border:0; border-radius:50%; background:#ffffffb3; color:#152133; font-size:22px; line-height:1; cursor:pointer; }
#wdt-whats-new .wdt-wn-close:hover { background:#fff; }
#wdt-whats-new :is(a,button,summary):focus-visible { outline:2px solid var(--wn-action); outline-offset:2px; }

#wdt-whats-new .wdt-wn-hero { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:28px; align-items:center; padding:36px; background:linear-gradient(135deg,#eaf2ff,#f3ebff 55%,#ffeef8); border-radius:23px 23px 0 0; }
html[data-wdt-theme=dark] #wdt-whats-new .wdt-wn-hero { background:linear-gradient(135deg,#1b2a45,#2a2148 55%,#3a2140); }
#wdt-whats-new .wdt-wn-eyebrow { margin:0 0 12px; font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:#6a3fe2; }
html[data-wdt-theme=dark] #wdt-whats-new .wdt-wn-eyebrow { color:var(--wn-accent); }
#wdt-whats-new h2 { margin:0 0 12px; padding:0; font:600 30px/1.15 'Space Grotesk',Geist,-apple-system,'Segoe UI',sans-serif; letter-spacing:-.6px; color:var(--wn-text); }
#wdt-whats-new .wdt-wn-lead { margin:0 0 16px; font-size:15px; line-height:1.55; color:var(--wn-text); }
#wdt-whats-new .wdt-wn-points { margin:0 0 22px; padding:0; list-style:none; }
#wdt-whats-new .wdt-wn-points li { position:relative; margin:0 0 8px; padding-left:24px; font-size:14px; line-height:1.45; color:var(--wn-text); }
#wdt-whats-new .wdt-wn-points li::before { content:'✓'; position:absolute; left:0; top:0; font-weight:700; color:var(--wn-accent); }
#wdt-whats-new .wdt-wn-note { margin:16px 0 0; font-size:12px; line-height:1.5; color:var(--wn-muted); }

#wdt-whats-new .wdt-wn-button { display:inline-block; border:1px solid transparent; border-radius:999px; padding:12px 24px; background:#1c68c2; color:#fff; font:600 14px/1 inherit; font-family:inherit; text-decoration:none; cursor:pointer; }
#wdt-whats-new .wdt-wn-button:hover, #wdt-whats-new .wdt-wn-button:focus { background:#175aa9; color:#fff; }
#wdt-whats-new .wdt-wn-button--quiet { background:var(--wn-soft); border-color:var(--wn-border); color:var(--wn-text); }
#wdt-whats-new .wdt-wn-button--quiet:hover, #wdt-whats-new .wdt-wn-button--quiet:focus { background:var(--wn-border); color:var(--wn-text); }

#wdt-whats-new .wdt-wn-chat { display:flex; flex-direction:column; gap:10px; padding:18px; background:var(--wn-surface); border:1px solid var(--wn-border); border-radius:18px; box-shadow:0 12px 36px #263c6220; }
#wdt-whats-new .wdt-wn-bubble { max-width:92%; padding:10px 14px; border-radius:14px; font-size:13px; line-height:1.45; }
#wdt-whats-new .wdt-wn-bubble--user { align-self:flex-end; background:#2779da; color:#fff; border-bottom-right-radius:4px; }
#wdt-whats-new .wdt-wn-bubble--ai { display:flex; gap:10px; align-items:flex-start; background:var(--wn-soft); color:var(--wn-text); border-bottom-left-radius:4px; }
#wdt-whats-new .wdt-wn-bubble svg { flex:0 0 32px; width:32px; height:30px; }
#wdt-whats-new .wdt-wn-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:1px; overflow:hidden; background:var(--wn-border); border:1px solid var(--wn-border); border-radius:10px; }
#wdt-whats-new .wdt-wn-grid i { height:18px; background:var(--wn-surface); }
#wdt-whats-new .wdt-wn-grid i:nth-child(-n+3) { background:var(--wn-soft); }
#wdt-whats-new .wdt-wn-grid i::after { content:''; display:block; width:55%; height:5px; margin:6px 8px; border-radius:3px; background:var(--wn-border); }
#wdt-whats-new .wdt-wn-grid i:nth-child(-n+3)::after { background:var(--wn-accent); opacity:.55; }

#wdt-whats-new .wdt-wn-design { display:grid; grid-template-columns:170px minmax(0,1fr); gap:24px; align-items:center; padding:26px 36px; border-bottom:1px solid var(--wn-border); }
#wdt-whats-new h3 { margin:0 0 8px; padding:0; font:600 20px/1.25 'Space Grotesk',Geist,-apple-system,'Segoe UI',sans-serif; color:var(--wn-text); }
#wdt-whats-new .wdt-wn-design p { margin:0; font-size:14px; line-height:1.55; color:var(--wn-muted); }
#wdt-whats-new .wdt-wn-link { display:inline-block; margin-top:10px; font-size:14px; font-weight:600; color:var(--wn-action); text-decoration:none; }
#wdt-whats-new .wdt-wn-themes { position:relative; height:104px; }
#wdt-whats-new .wdt-wn-screen { position:absolute; left:0; top:0; display:flex; flex-direction:column; gap:7px; width:124px; height:84px; padding:12px; background:#fff; border:1px solid #dce3ed; border-radius:12px; box-shadow:0 8px 22px #263c6222; }
#wdt-whats-new .wdt-wn-screen--dark { left:auto; right:0; top:20px; background:#192235; border-color:#35435c; }
#wdt-whats-new .wdt-wn-screen i { height:8px; border-radius:4px; background:#dce3ed; }
#wdt-whats-new .wdt-wn-screen i:first-child { width:45%; background:#8059ef; }
#wdt-whats-new .wdt-wn-screen i:last-child { width:70%; }
#wdt-whats-new .wdt-wn-screen--dark i { background:#35435c; }
#wdt-whats-new .wdt-wn-screen--dark i:first-child { background:#bba5ff; }

#wdt-whats-new .wdt-wn-more { padding:0 36px; border-bottom:1px solid var(--wn-border); }
#wdt-whats-new .wdt-wn-more summary { padding:16px 0; font-size:14px; font-weight:600; color:var(--wn-text); cursor:pointer; }
#wdt-whats-new .wdt-wn-more h4 { margin:4px 0 8px; padding:0; font:600 12px/1.3 inherit; font-family:inherit; letter-spacing:.06em; text-transform:uppercase; color:var(--wn-muted); }
#wdt-whats-new .wdt-wn-more ul { margin:0 0 16px; padding-left:18px; list-style:disc; }
#wdt-whats-new .wdt-wn-more li { margin:0 0 6px; font-size:13px; line-height:1.5; color:var(--wn-text); }
#wdt-whats-new .wdt-wn-more a, #wdt-whats-new .wdt-wn-footer a { color:var(--wn-action); }

#wdt-whats-new .wdt-wn-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 36px; }
#wdt-whats-new .wdt-wn-footer a { font-size:13px; text-decoration:none; }

@media(max-width:720px) {
    #wdt-whats-new { padding:12px; }
    #wdt-whats-new .wdt-wn-hero { grid-template-columns:1fr; padding:28px 22px 22px; }
    #wdt-whats-new .wdt-wn-design { grid-template-columns:1fr; padding:22px; }
    #wdt-whats-new .wdt-wn-themes { display:none; }
    #wdt-whats-new .wdt-wn-more { padding:0 22px; }
    #wdt-whats-new .wdt-wn-footer { padding:16px 22px; }
    #wdt-whats-new h2 { font-size:25px; }
}
