.dwpn-app{--bg:#fff;--side:#f8f8f8;--ink:#202124;--muted:#777;--border:#e8e8e8;--accent:#171717;display:flex;min-height:75vh;width:100%;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;border:1px solid var(--border);border-radius:18px;overflow:hidden;box-sizing:border-box}.dwpn-app *{box-sizing:border-box}.dwpn-app.dark{--bg:#202020;--side:#161616;--ink:#f5f5f5;--muted:#aaa;--border:#383838;--accent:#eee}.dwpn-side{width:235px;flex-shrink:0;background:var(--side);padding:22px 13px;display:flex;flex-direction:column;border-right:1px solid var(--border)}.dwpn-brand{display:flex;align-items:center;gap:9px;padding:0 10px 30px;font-size:17px}.dwpn-mark,.dwpn-logo{display:grid;place-items:center;background:var(--ink);color:var(--bg);border-radius:12px;font-weight:800}.dwpn-mark{width:29px;height:29px}.dwpn-brand button{margin-left:auto;background:none;border:0;color:var(--ink);cursor:pointer}.dwpn-nav{padding:12px 14px;text-align:left;background:none;border:0;border-radius:9px;font-size:14px;color:var(--ink);cursor:pointer}.dwpn-nav:hover,.dwpn-nav.active{background:var(--border)}.dwpn-side-foot{margin-top:auto;padding:12px;color:var(--muted);font-size:12px}.dwpn-side-foot small{display:block;margin-top:5px}.dwpn-main{flex:1;min-width:0;display:flex;flex-direction:column}.dwpn-head{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;font-size:15px}.dwpn-head button{border:0;background:none;color:var(--ink);font-size:23px;cursor:pointer}.dwpn-conversation{flex:1;width:100%;max-width:790px;margin:0 auto;padding:20px 28px;display:flex;flex-direction:column;gap:20px;min-height:380px}.dwpn-welcome{margin:auto;text-align:center;padding:35px 0}.dwpn-logo{width:52px;height:52px;margin:0 auto 25px;font-size:25px}.dwpn-welcome h1{font-size:clamp(23px,3vw,32px);font-weight:600;margin:0 0 12px;line-height:1.25;color:var(--ink)}.dwpn-welcome p{font-size:15px;color:var(--muted);margin:0}.dwpn-suggestions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:34px}.dwpn-suggestions button{background:transparent;border:1px solid var(--border);border-radius:22px;color:var(--ink);font-size:12px;padding:9px 13px;cursor:pointer}.dwpn-compose-wrap{max-width:790px;width:100%;padding:0 28px 20px;margin:0 auto}.dwpn-compose{border:1px solid var(--border);border-radius:22px;padding:14px 15px 10px;background:var(--bg);box-shadow:0 3px 18px #0000000a}.dwpn-compose textarea{resize:vertical;min-height:45px;max-height:160px;width:100%;border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;color:var(--ink)!important;font:15px inherit;padding:5px!important}.dwpn-compose-bottom{display:flex;align-items:center;justify-content:space-between}.dwpn-modes{display:flex;gap:5px}.dwpn-modes button{background:transparent;border:1px solid transparent;border-radius:16px;padding:6px 11px;font-size:12px;color:var(--muted);cursor:pointer}.dwpn-modes button.selected{border-color:var(--border);color:var(--ink);background:var(--side)}.dwpn-send{width:31px;height:31px;border:0;border-radius:50%;background:var(--ink);color:var(--bg);font-size:19px;cursor:pointer}.dwpn-disclaimer{text-align:center;font-size:11px;color:var(--muted);margin:10px 0 0}.dwpn-msg{padding:14px 18px;white-space:pre-wrap;line-height:1.6;font-size:14px;max-width:90%;border-radius:17px}.dwpn-msg.user{background:var(--side);align-self:flex-end}.dwpn-msg.assistant{align-self:flex-start}.dwpn-app.sidebar-hidden .dwpn-side{display:none}@media(max-width:680px){.dwpn-app{min-height:80vh;border-radius:10px}.dwpn-side{width:60px;padding:14px 5px}.dwpn-side .dwpn-brand strong,.dwpn-side .dwpn-nav,.dwpn-side-foot{display:none}.dwpn-brand{padding:0;display:flex;flex-direction:column}.dwpn-brand button{margin:0}.dwpn-head{padding:0 16px}.dwpn-conversation{padding:12px 16px;min-height:380px}.dwpn-compose-wrap{padding:0 12px 15px}.dwpn-suggestions{gap:6px}}

/* V1.1: dedicated fullscreen DWPN search page; no surrounding WordPress chrome. */
html:has(body.dwpn-fullscreen-page),body.dwpn-fullscreen-page{margin:0!important;padding:0!important;min-height:100%!important;width:100%!important;overflow-x:hidden!important;background:#fff}
body.dwpn-fullscreen-page .dwpn-app{height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important;margin:0!important;width:100%!important;max-width:none!important;box-shadow:none!important}
body.dwpn-fullscreen-page .dwpn-conversation{min-height:0!important;overflow-y:auto!important;scrollbar-width:thin}
body.dwpn-fullscreen-page .dwpn-main{min-height:0!important;max-height:100dvh!important}
body.dwpn-fullscreen-page .dwpn-compose-wrap{flex-shrink:0!important;padding-bottom:max(14px,env(safe-area-inset-bottom))!important}
body.dwpn-fullscreen-page .dwpn-head{flex-shrink:0}
body.dwpn-fullscreen-page .dwpn-side{max-height:100dvh;overflow-y:auto}
@media(max-width:680px){body.dwpn-fullscreen-page .dwpn-app{border-radius:0!important}body.dwpn-fullscreen-page .dwpn-head{height:54px}body.dwpn-fullscreen-page .dwpn-welcome{padding:12px 0}}

/* V2.1 DWPN editorial rebrand: preserve full-screen search layout. */
.dwpn-welcome h1{letter-spacing:-.045em;font-weight:650}
.dwpn-welcome p{font-weight:450;letter-spacing:-.01em}
.dwpn-side-foot small{display:block;line-height:1.5}

/* V2.3: balance welcome area without changing the established layout */
.dwpn-conversation{max-width:850px}
.dwpn-welcome{width:100%;max-width:720px;align-self:center;padding:18px 0}
@media(min-width:681px){.dwpn-welcome{transform:translateY(-12px)}}
