
  #hwd-site .hd-app{--hd-bg:#f4f7fb;--hd-surface:#ffffff;--hd-ink:#182c49;--hd-muted:#5b6b82;--hd-line:#e1e7f0;--hd-accent:#2f65b7;--hd-on-accent:#ffffff;--hd-tint:#eaf1fc;--hd-side:#172f50;--hd-side-text:#edf3fe;--hd-side-muted:#b2c3dd;--hd-warm:#f5ba53;--hd-shadow:#142d502b;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.5;font-weight:400;color:var(--hd-ink);background:var(--hd-bg);border-radius:18px;overflow:clip;display:grid;grid-template-columns:194px minmax(0,1fr);position:relative;min-height:760px;isolation:isolate}
  #hwd-site .hd-app *{box-sizing:border-box}
  #hwd-site .hd-app [hidden]{display:none!important}
  #hwd-site .hd-app :where(button,input,textarea){font:inherit}
  #hwd-site .hd-app :where(button){color:inherit}
  #hwd-site .hd-app svg{width:18px;height:18px;flex-shrink:0}
  #hwd-site .hd-app h1,#hwd-site .hd-app h2,#hwd-site .hd-app h3,#hwd-site .hd-app p{margin:0}
  #hwd-site .hd-app h1{font-size:30px;font-weight:500;line-height:1.2;letter-spacing:-1px}
  #hwd-site .hd-app h2{font-size:17px;font-weight:500;letter-spacing:-.3px}
  #hwd-site .hd-app h3,#hwd-site .hd-app strong{font-size:13px;font-weight:500}
  #hwd-site .hd-app small{font-size:11px;display:block;color:var(--hd-muted)}
  #hwd-site .hd-sidebar{background:var(--hd-side);color:var(--hd-side-text);padding:27px 14px 18px;display:flex;flex-direction:column;gap:26px}
  #hwd-site .hd-brand{display:flex;gap:9px;align-items:center;font-weight:500;letter-spacing:.3px;font-size:12px;padding:0 7px;line-height:1.2}
  #hwd-site .hd-brand-icon{display:grid;place-items:center;background:var(--hd-warm);color:var(--hd-side);width:32px;height:34px;border-radius:10px}
  #hwd-site .hd-brand-dealer{display:block;color:var(--hd-warm);font-size:11px;letter-spacing:2.5px;margin-top:3px}
  #hwd-site .hd-sidebar-label{font-size:11px;letter-spacing:1.5px;color:var(--hd-side-muted);padding:8px 12px 0}
  #hwd-site .hd-nav{display:flex;flex-direction:column;gap:5px;margin-top:-16px}
  #hwd-site .hd-nav-item{border:0;background:transparent;width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:11px 12px;border-radius:9px;font-size:12px;white-space:normal}
  #hwd-site .hd-sidebar .hd-nav-item{color:var(--hd-side-muted)}
  #hwd-site .hd-sidebar .hd-nav-item[aria-current="page"]{color:var(--hd-side-text);background:color-mix(in srgb,var(--hd-side-text) 12%,transparent)}
  #hwd-site .hd-sidebar .hd-nav-item:hover{background:color-mix(in srgb,var(--hd-side-text) 8%,transparent)}
  #hwd-site .hd-soon{font-size:11px;padding:1px 5px;border-radius:4px;border:1px solid color-mix(in srgb,var(--hd-side-muted) 35%,transparent);margin-left:auto}
  #hwd-site .hd-sidebar-bottom{margin-top:auto;display:grid;gap:20px}
  #hwd-site .hd-wallet-mini{display:flex;gap:9px;padding:15px 9px;border-top:1px solid color-mix(in srgb,var(--hd-side-muted) 25%,transparent);font-size:12px}
  #hwd-site .hd-wallet-mini small{color:var(--hd-side-muted);font-size:11px;margin-top:4px}
  #hwd-site .hd-workspace{min-width:0;display:flex;flex-direction:column}
  #hwd-site .hd-topbar{padding:17px 27px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--hd-line);background:var(--hd-surface);min-height:68px}
  #hwd-site .hd-breadcrumb{font-size:11px;color:var(--hd-muted);display:flex;align-items:center;gap:10px;flex-wrap:wrap}
  #hwd-site .hd-breadcrumb strong{font-size:11px;color:var(--hd-ink)}
  #hwd-site .hd-topbar-right{display:flex;align-items:center;gap:12px}
  #hwd-site .hd-preview{font-size:11px;color:var(--hd-muted)}
  #hwd-site .hd-avatar{width:30px;height:30px;border:0;display:grid;place-items:center;background:var(--hd-tint);color:var(--hd-accent);border-radius:50%;font-size:12px}
  #hwd-site .hd-main{padding:26px;flex:1;min-width:0}
  #hwd-site .hd-hero{padding:27px;background:var(--hd-surface);border:1px solid var(--hd-line);border-radius:15px;display:flex;justify-content:space-between;gap:15px}
  #hwd-site .hd-eyebrow{font-size:11px;font-weight:500;letter-spacing:1.6px;color:var(--hd-accent);display:block;margin-bottom:13px}
  #hwd-site .hd-hero p,#hwd-site .hd-page-heading p{font-size:12px;color:var(--hd-muted);margin-top:13px;max-width:350px}
  #hwd-site .hd-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:23px}
  #hwd-site .hd-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 12px;border:1px solid var(--hd-line);border-radius:8px;background:var(--hd-surface);font-size:11px;font-weight:500}
  #hwd-site .hd-button.hd-primary{background:var(--hd-accent);border-color:var(--hd-accent);color:var(--hd-on-accent)}
  #hwd-site .hd-button:hover{filter:brightness(.96)}
  #hwd-site .hd-hero-mark{color:var(--hd-accent);background:var(--hd-tint);border-radius:80px 80px 20px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-width:133px;align-self:stretch;text-align:center;font-size:11px;margin:1px 0}
  #hwd-site .hd-hero-mark svg{width:42px;height:42px;stroke-width:1.3}
  #hwd-site .hd-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:25px 0 12px;flex-wrap:wrap}
  #hwd-site .hd-muted{font-size:11px;color:var(--hd-muted)}
  #hwd-site .hd-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}
  #hwd-site .hd-panel{background:var(--hd-surface);border:1px solid var(--hd-line);border-radius:12px;padding:19px;min-width:0}
  #hwd-site .hd-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px;flex-wrap:wrap}
  #hwd-site .hd-badge{display:inline-block;font-size:11px;color:var(--hd-accent);background:var(--hd-tint);padding:3px 8px;border-radius:6px;white-space:normal}
  #hwd-site .hd-neutral-badge{color:var(--hd-muted);background:var(--hd-bg)}
  #hwd-site .hd-request-title{display:flex;align-items:center;gap:10px}
  #hwd-site .hd-request-title p{font-size:11px;color:var(--hd-muted);margin-top:4px}
  #hwd-site .hd-file-icon{width:36px;height:42px;display:grid;place-items:center;border-radius:8px;background:var(--hd-tint);color:var(--hd-accent);flex-shrink:0}
  #hwd-site .hd-steps{display:flex;gap:10px;margin:22px 0;font-size:11px;color:var(--hd-muted)}
  #hwd-site .hd-steps span{flex:1;padding-top:7px;border-top:3px solid var(--hd-line)}
  #hwd-site .hd-steps .hd-step-done{border-color:var(--hd-accent)}
  #hwd-site .hd-steps .hd-step-current{border-color:var(--hd-warm);color:var(--hd-ink)}
  #hwd-site .hd-panel-footer{display:flex;justify-content:space-between;gap:7px;align-items:center;flex-wrap:wrap}
  #hwd-site .hd-text-button{background:transparent;border:0;padding:2px 0;display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--hd-accent);text-align:left}
  #hwd-site .hd-text-button svg{width:14px;height:14px}
  #hwd-site .hd-chat-row{display:flex;align-items:center;gap:10px;background:transparent;border:0;border-bottom:1px solid var(--hd-line);width:100%;text-align:left;padding:13px 0}
  #hwd-site .hd-chat-row:last-child{border-bottom:0}
  #hwd-site .hd-chat-row:hover{background:var(--hd-bg)}
  #hwd-site .hd-chat-row>span:nth-child(2){flex:1;min-width:0}
  #hwd-site .hd-chat-row small{margin-top:4px}
  #hwd-site .hd-chat-row>svg{width:14px;height:14px;color:var(--hd-muted)}
  #hwd-site .hd-small-icon{color:var(--hd-muted);display:grid;place-items:center;width:26px;flex-shrink:0}
  #hwd-site .hd-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:15px}
  #hwd-site .hd-shortcut{display:flex;align-items:center;text-align:left;gap:12px;padding:17px;border:1px solid var(--hd-line);border-radius:10px;background:var(--hd-surface)}
  #hwd-site .hd-shortcut>svg:first-child{color:var(--hd-accent)}
  #hwd-site .hd-shortcut>span{flex:1;min-width:0}
  #hwd-site .hd-shortcut>span small{margin-top:3px}
  #hwd-site .hd-shortcut>svg:last-child{width:14px;height:14px;color:var(--hd-muted)}
  #hwd-site .hd-footer{display:flex;justify-content:space-between;gap:15px;color:var(--hd-muted);font-size:11px;padding:0 28px 30px;margin-bottom:34px}
  #hwd-site .hd-page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:5px 0 28px;flex-wrap:wrap}
  #hwd-site .hd-page-heading h1{font-size:28px}
  #hwd-site .hd-history{padding:10px 20px}
  #hwd-site .hd-history .hd-chat-row{padding:20px 0}
  #hwd-site .hd-resume{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--hd-accent)}
  #hwd-site .hd-resume svg{width:14px;height:14px}
  #hwd-site .hd-request-grid{display:flex;gap:38px;flex-wrap:wrap;margin-bottom:16px}
  #hwd-site .hd-request-grid small{margin-bottom:4px}
  #hwd-site .hd-document-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-top:1px solid var(--hd-line);flex-wrap:wrap;font-size:12px}
  #hwd-site .hd-document-row>div{flex:1;min-width:100px;overflow-wrap:anywhere}
  #hwd-site .hd-document-row small{margin-top:4px}
  #hwd-site .hd-document-row:first-child{border-top:0}
  #hwd-site .hd-document-row>.hd-muted{margin-left:auto}
  #hwd-site .hd-draft{margin-top:18px}
  #hwd-site .hd-draft label{display:block;font-size:12px;margin:13px 0}
  #hwd-site .hd-draft input,#hwd-site .hd-draft textarea{display:block;width:100%;border:1px solid var(--hd-line);border-radius:8px;padding:9px 10px;background:var(--hd-bg);color:var(--hd-ink);margin-top:5px;resize:vertical}
  #hwd-site [data-view="apa"] .hd-panel h2{margin:16px 0 8px}
  #hwd-site [data-view="apa"] .hd-badge{margin-top:20px}
  #hwd-site .hd-wallet-preview{text-align:center;padding:44px 24px}
  #hwd-site .hd-wallet-symbol{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:var(--hd-tint);color:var(--hd-accent);margin:0 auto 19px}
  #hwd-site .hd-wallet-symbol svg{width:26px;height:26px}
  #hwd-site .hd-wallet-preview p{color:var(--hd-muted);font-size:12px;margin:12px 0 20px}
  #hwd-site .hd-wallet-features{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;border-top:1px solid var(--hd-line);padding-top:22px;margin-top:30px;font-size:11px;color:var(--hd-muted)}
  #hwd-site .hd-wallet-features span{display:flex;gap:5px;align-items:center}
  #hwd-site .hd-wallet-features svg{width:15px;height:15px}
  #hwd-site .hd-account-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:20px 0;border-bottom:1px solid var(--hd-line)}
  #hwd-site .hd-account-row:last-child{border:0}
  #hwd-site .hd-account-row small{margin-top:5px}
  #hwd-site .hd-launcher{position:absolute;bottom:20px;right:24px;display:flex;align-items:center;gap:8px;padding:14px 18px;border:0;border-radius:30px;background:var(--hd-accent);color:var(--hd-on-accent);box-shadow:0 6px 18px var(--hd-shadow);z-index:4;font-size:12px;font-weight:500}
  #hwd-site .hd-chat{position:absolute;bottom:86px;right:24px;width:min(350px,calc(100% - 48px));background:var(--hd-surface);border:1px solid var(--hd-line);border-radius:17px;box-shadow:0 14px 50px var(--hd-shadow);z-index:5;overflow:clip}
  #hwd-site .hd-chat.hd-chat-expanded{width:min(570px,calc(100% - 48px))}
  #hwd-site .hd-chat-header{display:flex;gap:10px;align-items:center;padding:16px;background:var(--hd-side);color:var(--hd-side-text)}
  #hwd-site .hd-chat-header>div{flex:1}
  #hwd-site .hd-chat-header small{color:var(--hd-side-muted);font-size:11px;margin-top:3px}
  #hwd-site .hd-assistant-icon{color:var(--hd-warm)}
  #hwd-site .hd-icon-button{background:transparent;border:0;color:inherit;padding:6px;display:grid;place-items:center}
  #hwd-site .hd-icon-button svg{width:16px;height:16px}
  #hwd-site .hd-chat-context{display:flex;align-items:center;gap:7px;padding:11px 16px;background:var(--hd-bg);border-bottom:1px solid var(--hd-line);font-size:11px;color:var(--hd-muted)}
  #hwd-site .hd-chat-context>svg{width:12px;height:12px}
  #hwd-site .hd-thread-name{flex:1}
  #hwd-site .hd-messages{padding:17px;display:flex;flex-direction:column;gap:12px;min-height:174px}
  #hwd-site .hd-message{font-size:12px;line-height:1.6;padding:11px 13px;max-width:94%;border-radius:11px;background:var(--hd-bg);overflow-wrap:anywhere}
  #hwd-site .hd-message-user{margin-left:auto;background:var(--hd-tint);color:var(--hd-ink)}
  #hwd-site .hd-composer{border-top:1px solid var(--hd-line);padding:13px}
  #hwd-site .hd-message-label{display:block;font-size:11px;color:var(--hd-muted)}
  #hwd-site .hd-composer textarea{display:block;width:100%;border:0;background:var(--hd-surface);color:var(--hd-ink);resize:none;font-size:12px;padding:7px 0;min-height:45px}
  #hwd-site .hd-composer-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:var(--hd-muted)}
  #hwd-site .hd-send{display:grid;place-items:center;border:0;border-radius:9px;width:31px;height:31px;background:var(--hd-accent);color:var(--hd-on-accent)}
  #hwd-site .hd-focus{grid-template-columns:minmax(0,1fr)}
  #hwd-site .hd-focus .hd-sidebar{padding:18px 26px;flex-direction:row;align-items:center;gap:28px}
  #hwd-site .hd-focus .hd-sidebar-label,#hwd-site .hd-focus .hd-sidebar-bottom{display:none}
  #hwd-site .hd-focus .hd-nav{flex:1;flex-direction:row;flex-wrap:wrap;gap:4px;margin:0}
  #hwd-site .hd-focus .hd-nav-item{width:auto;padding:8px 10px;gap:6px}
  #hwd-site .hd-focus .hd-nav-item svg{width:15px;height:15px}
  #hwd-site .hd-focus .hd-nav-item .hd-soon{display:none}
  #hwd-site .hd-focus .hd-topbar{min-height:57px}
  #hwd-site .hd-focus .hd-main{padding:24px 36px}
  #hwd-site .hd-focus .hd-hero{border:0;background:transparent;padding:3px 0 14px}
  #hwd-site .hd-focus .hd-hero-mark{min-width:165px;border-radius:20px}
  #hwd-site .hd-focus .hd-footer{padding-left:36px;padding-right:36px}
  #hwd-site .hd-compact .hd-main{padding:18px}
  #hwd-site .hd-compact .hd-hero{padding:21px}
  #hwd-site .hd-compact .hd-panel{padding:15px}
  @media(max-width:850px){#hwd-site .hd-app{grid-template-columns:168px minmax(0,1fr)}#hwd-site .hd-main{padding:20px}#hwd-site .hd-topbar{padding:15px 20px}#hwd-site .hd-hero{padding:21px}#hwd-site .hd-hero-mark{display:none}#hwd-site .hd-columns{grid-template-columns:1fr}#hwd-site .hd-focus{grid-template-columns:minmax(0,1fr)}#hwd-site .hd-focus .hd-main{padding:22px}#hwd-site .hd-focus .hd-sidebar{flex-wrap:wrap;gap:17px;padding:16px 22px}#hwd-site .hd-focus .hd-nav{flex-basis:100%}#hwd-site .hd-focus .hd-hero-mark{display:flex}#hwd-site .hd-preview{max-width:95px;line-height:1.4}#hwd-site .hd-app{min-height:920px}}
  @media(max-width:560px){#hwd-site .hd-app,#hwd-site .hd-focus{grid-template-columns:minmax(0,1fr);min-height:1170px;border-radius:12px}#hwd-site .hd-sidebar,#hwd-site .hd-focus .hd-sidebar{padding:18px 16px;gap:18px}#hwd-site .hd-brand{padding:0}#hwd-site .hd-sidebar-label,#hwd-site .hd-sidebar-bottom{display:none}#hwd-site .hd-nav,#hwd-site .hd-focus .hd-nav{margin:0;display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px;flex-basis:auto;width:100%}#hwd-site .hd-nav-item,#hwd-site .hd-focus .hd-nav-item{padding:9px 6px;font-size:11px;gap:5px;width:100%;min-height:38px}#hwd-site .hd-nav-item svg{width:15px;height:15px}#hwd-site .hd-soon{display:none}#hwd-site .hd-topbar{padding:14px 16px}#hwd-site .hd-topbar-right{gap:7px}#hwd-site .hd-main,#hwd-site .hd-focus .hd-main{padding:17px}#hwd-site .hd-hero{padding:20px}#hwd-site .hd-app h1{font-size:26px}#hwd-site .hd-actions{gap:7px}#hwd-site .hd-button{font-size:11px;padding:10px}#hwd-site .hd-columns,#hwd-site .hd-shortcuts{grid-template-columns:1fr}#hwd-site .hd-section-heading>.hd-muted{display:none}#hwd-site .hd-panel{padding:17px}#hwd-site .hd-focus .hd-hero-mark{display:none}#hwd-site .hd-footer,#hwd-site .hd-focus .hd-footer{padding:0 17px 24px;margin-bottom:48px}#hwd-site .hd-preview{font-size:11px}#hwd-site .hd-chat,#hwd-site .hd-chat.hd-chat-expanded{position:relative;inset:auto;grid-column:1;width:auto;margin:0 16px 88px;box-shadow:0 8px 25px var(--hd-shadow)}#hwd-site .hd-launcher{bottom:20px;right:17px}#hwd-site .hd-history .hd-chat-row{gap:5px}#hwd-site .hd-resume{font-size:11px}#hwd-site .hd-chat-row strong{font-size:12px}#hwd-site .hd-chat-row small{font-size:11px}#hwd-site .hd-draft input,#hwd-site .hd-draft textarea,#hwd-site .hd-composer textarea{font-size:16px}}
  @media(pointer:coarse){#hwd-site .hd-app button{min-height:44px}#hwd-site .hd-icon-button{min-width:44px}#hwd-site .hd-nav-item{font-size:11px}}
@media(max-width:370px){#hwd-site .hd-nav,#hwd-site .hd-focus .hd-nav{grid-template-columns:1fr 1fr}#hwd-site .hd-app,#hwd-site .hd-focus{min-height:1260px}}
/* Production portal: page layout, genuine empty states and account forms. */
.hwd-page{margin:0;background:#f4f7fb;color:#182c49;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#hwd-site .hd-app{min-height:100dvh;border-radius:0;overflow:visible;grid-template-columns:218px minmax(0,1fr)}
#hwd-site .hd-sidebar{position:sticky;top:0;height:100dvh;overflow:auto}
#hwd-site a{color:inherit;text-decoration:none}
#hwd-site a:hover{text-decoration:none}
#hwd-site .hd-nav-item{font-size:13px;min-height:44px}
#hwd-site .hd-main{max-width:1200px;width:100%;margin:0 auto;padding:34px}
#hwd-site .hd-brand{color:#edf3fe}
#hwd-site .hd-footer{margin:30px 0 0;padding-bottom:30px}
#hwd-site .hd-footer form{margin:0}
#hwd-site .hd-button{font-size:13px;min-height:42px}
#hwd-site .hd-text-button{font-size:12px;color:#2f65b7;min-height:32px}
#hwd-site .hd-account-link{display:flex;align-items:center;gap:12px;font-size:12px;max-width:45%;overflow-wrap:anywhere}
#hwd-site .hd-topbar{flex-wrap:wrap}
#hwd-site .hd-account-actions{display:flex;align-items:center;gap:14px;margin-left:auto;flex-shrink:0}
#hwd-site .hd-account-actions .language-switch{margin:0}
#hwd-site .hd-account-actions .hd-account-link{max-width:180px}
#hwd-site .hwd-signout{margin:0;flex-shrink:0}
#hwd-site .hwd-signout button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 12px;border:1px solid var(--hd-line);border-radius:9px;background:var(--hd-surface);color:var(--hd-ink);font:inherit;font-size:12px;font-weight:500;line-height:1.4;white-space:nowrap;cursor:pointer}
#hwd-site .hwd-signout button:hover{background:var(--hd-tint);border-color:var(--hd-accent)}
#hwd-site .hwd-signout button:focus-visible{outline:3px solid #42b9d3;outline-offset:3px}
@media(max-width:600px){#hwd-site .hd-topbar .hd-breadcrumb{flex-basis:100%}#hwd-site .hd-account-actions{width:100%;justify-content:flex-end;gap:12px}#hwd-site .hwd-signout button{min-height:44px}}
#hwd-site .hd-avatar{flex-shrink:0}
#hwd-site .hd-empty{padding:22px 8px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:16px}
#hwd-site .hd-empty h2{font-size:18px}
#hwd-site .hd-empty p{max-width:390px;color:#5b6b82;font-size:13px;line-height:1.6}
#hwd-site .hd-usage-number{display:flex;flex-direction:column;gap:3px;margin:14px 0}
#hwd-site .hd-usage-number strong{font-size:42px;line-height:1.1;letter-spacing:-1px;font-variant-numeric:tabular-nums}
#hwd-site .hd-usage-number span{font-size:13px;color:#5b6b82}
#hwd-site .hd-access-footer{border-top:1px solid #e1e7f0;margin-top:24px;padding-top:15px}
#hwd-site .hd-history-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;flex-wrap:wrap}
#hwd-site .hd-search{display:flex;align-items:center;gap:10px;flex:1;min-width:170px;background:#fff;border:1px solid #e1e7f0;border-radius:9px;padding:0 12px}
#hwd-site input,#hwd-site textarea,#hwd-site select{font:inherit;color:#182c49}
#hwd-site .hd-search input{border:0;background:transparent;width:100%;padding:12px 0;font-size:14px}
#hwd-site .hd-history-entry{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #e1e7f0;padding:10px 0}
#hwd-site .hd-history-entry:last-child{border-bottom:0}
#hwd-site .hd-history-entry .hd-chat-row{border:0;flex:1;min-width:0}
#hwd-site .hd-chat-row strong{overflow-wrap:anywhere}
#hwd-site .hd-history-actions{display:flex;gap:12px;flex-wrap:wrap}
#hwd-site [data-view] h2{margin:12px 0}
#hwd-site .hd-profile-form{display:grid;gap:10px;margin-top:20px}
#hwd-site .hd-profile-form input{border:1px solid #d5dfea;border-radius:8px;padding:11px;font-size:16px;width:100%}
#hwd-site .hd-profile-form label{font-size:12px;font-weight:500;margin-top:8px}
#hwd-site .hd-profile-form .hd-button{justify-self:start;margin-top:10px}
#hwd-site .hd-account-email{font-size:13px;overflow-wrap:anywhere;margin:6px 0}
#hwd-site .hd-admin-list{display:grid;gap:15px}
#hwd-site .hd-admin-user{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}
#hwd-site .hd-admin-user>div{min-width:180px;flex:1}
#hwd-site .hd-admin-user form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
#hwd-site .hd-admin-user label{font-size:11px;display:flex;flex-direction:column;gap:5px}
#hwd-site .hd-admin-user select,#hwd-site .hd-admin-user input{width:125px;padding:9px;border:1px solid #d5dfea;border-radius:7px;background:#fff}
.hd-notice{background:#eaf1fc;color:#204b8b;border:1px solid #cbdcf5;border-radius:9px;padding:12px 15px;font-size:13px;line-height:1.5;margin:0 0 20px;overflow-wrap:anywhere}
.hd-notice.error{background:#fff2ee;border-color:#efcbbf;color:#8f3a21}
.hd-toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);max-width:calc(100% - 32px);background:#172f50;color:#fff;padding:12px 18px;border-radius:10px;box-shadow:0 8px 24px #142d502b;z-index:1500;font:13px/1.5 system-ui}
.hd-dialog{font:14px/1.5 Inter,system-ui;color:#182c49;border:1px solid #e1e7f0;border-radius:16px;max-width:440px;width:calc(100% - 36px);padding:25px;box-sizing:border-box}
.hd-dialog::backdrop{background:#10203980}
.hd-dialog h2{font-size:21px;font-weight:500;margin:0 0 16px}
.hd-dialog p{color:#5b6b82;font-size:13px;overflow-wrap:anywhere}
.hd-dialog label{display:block;margin:12px 0 5px}
.hd-dialog input{box-sizing:border-box;width:100%;padding:12px;border:1px solid #d5dfea;border-radius:8px;font:16px system-ui;color:#182c49}
.hd-dialog .hd-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}
.hd-dialog .hd-button{padding:10px 13px;border:1px solid #d5dfea;background:#fff;border-radius:8px;font:13px system-ui;color:#182c49;cursor:pointer}
.hd-dialog .hd-primary{background:#2f65b7;color:#fff;border-color:#2f65b7}
.hwd-auth{margin:0;background:#f4f7fb;font:14px/1.5 Inter,system-ui;color:#182c49}
.hwd-auth *{box-sizing:border-box}
.hwd-auth a{color:#2f65b7;text-decoration:none}
.hwd-auth a:hover{text-decoration:underline}
.hwd-auth svg{width:18px;height:18px;flex-shrink:0}
.hwd-auth>header{max-width:1160px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:22px 30px;gap:18px}
.hwd-auth>header>a{display:flex;gap:8px;align-items:center;font-size:12px}
.hwd-auth .hd-auth-brand{color:#172f50;font-size:12px;font-weight:600;letter-spacing:1px}
.hwd-auth .hd-auth-brand .hwd-logo{width:74px}
.hd-auth-shell{max-width:960px;margin:48px auto;display:grid;grid-template-columns:1fr 1fr;gap:70px;padding:0 30px;align-items:center}
.hd-auth-shell aside h1{font-weight:500;font-size:38px;line-height:1.2;letter-spacing:-1.2px;margin:0 0 20px}
.hd-auth-shell aside>p{max-width:300px;color:#5b6b82;margin-bottom:35px}
.hwd-auth .hd-eyebrow{display:block;color:#2f65b7;font-size:11px;letter-spacing:1.8px;margin-bottom:18px}
.hd-auth-benefit{display:flex;gap:12px;align-items:center;margin:18px 0;color:#354c6a;font-size:13px}
.hd-auth-benefit svg{color:#2f65b7}
.hd-auth-card{background:#fff;border:1px solid #e1e7f0;border-radius:18px;padding:32px;box-shadow:0 10px 40px #172f5005}
.hd-auth-card h2{font-size:25px;font-weight:500;line-height:1.2;margin:0 0 12px;letter-spacing:-.5px}
.hd-auth-card>p{font-size:13px;color:#5b6b82;margin:0 0 26px}
.hd-auth-card form{display:flex;flex-direction:column;gap:9px}
.hd-auth-card label{font-size:12px;font-weight:500;margin-top:8px}
.hd-auth-card input{width:100%;padding:12px;border:1px solid #d5dfea;border-radius:8px;font:16px system-ui;color:#182c49;background:#fff}
.hd-auth-card .hd-button{border:0;border-radius:8px;padding:13px;background:#2f65b7;color:#fff;font:14px system-ui;cursor:pointer;margin-top:14px}
.hd-auth-links{display:grid;gap:13px;margin-top:23px;font-size:12px;color:#5b6b82}
@media(max-width:850px){#hwd-site .hd-app{grid-template-columns:180px minmax(0,1fr)}#hwd-site .hd-main{padding:24px}#hwd-site .hd-history-entry{flex-wrap:wrap;gap:0}#hwd-site .hd-history-actions{margin-left:28px;padding-bottom:8px}.hd-auth-shell{gap:35px;margin-top:25px}}
@media(max-width:600px){#hwd-site .hd-app{display:block;min-height:100dvh}#hwd-site .hd-sidebar{position:static;height:auto;padding:18px 16px;overflow:visible;gap:20px}#hwd-site .hd-sidebar-label,#hwd-site .hd-sidebar-bottom{display:none}#hwd-site .hd-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;gap:5px}#hwd-site .hd-nav-item{padding:9px 5px;font-size:11px;gap:5px;min-height:42px}#hwd-site .hd-nav-item svg{width:15px;height:15px}#hwd-site .hd-main{padding:18px}#hwd-site .hd-topbar{padding:16px 18px}#hwd-site .hd-account-link>span:first-child{display:none}#hwd-site .hd-hero{padding:21px}#hwd-site .hd-columns,#hwd-site .hd-shortcuts{grid-template-columns:1fr}#hwd-site .hd-history-toolbar .hd-button{font-size:12px}#hwd-site .hd-footer{padding:20px 18px 95px;margin:0}#hwd-site .hd-admin-user form{gap:10px}.hwd-auth>header{padding:16px 20px}.hwd-auth .hd-auth-brand span{display:none}.hd-auth-shell{display:block;margin:20px auto;padding:0 20px}.hd-auth-shell aside{display:none}.hd-auth-card{padding:25px}}
@media(max-width:370px){#hwd-site .hd-nav{grid-template-columns:repeat(2,minmax(0,1fr))}#hwd-site .hd-main{padding:14px}#hwd-site .hd-panel{padding:16px}#hwd-site .hd-history-toolbar{gap:10px}#hwd-site .hd-history-toolbar .hd-search{min-width:100%;box-sizing:border-box}#hwd-site .hd-button{font-size:12px}}
@media(prefers-reduced-motion:no-preference){#hwd-site button,#hwd-site a{transition:background-color .15s ease,color .15s ease}}
/* HomeWorkDealer identity: original logo and its original book emblem. */
#hwd-site .hd-brand{justify-content:center;padding:0;align-self:stretch}
#hwd-site .hd-brand .hwd-logo{width:112px}
#hwd-site .hd-hero-mark{min-width:185px;background:linear-gradient(145deg,#172f50,#214b6b);border-radius:22px;padding:22px 16px;color:#dce9f5;gap:16px}
#hwd-site .hd-hero-mark .hwd-logo{width:136px;filter:drop-shadow(0 8px 14px #09182966)}
#hwd-site .hd-hero-mark>span{font-size:11px}
#hwd-site .hd-button .hwd-logo--emblem{width:22px}
@media(max-width:600px){#hwd-site .hd-brand{justify-content:flex-start}#hwd-site .hd-brand .hwd-logo{width:76px}#hwd-site .hd-sidebar{gap:16px}.hwd-auth .hd-auth-brand .hwd-logo{width:64px}.hwd-auth .hd-auth-brand>.hwd-logo{display:inline-block}}
/* Administration: batch account controls and a separate read-only chat review. */
#hwd-site .hd-admin-tabs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 24px}
#hwd-site .hd-admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}
#hwd-site .hd-admin-stats>span{padding:18px;background:#fff;border:1px solid #e1e7f0;border-radius:12px;font-size:12px;color:#5b6b82}
#hwd-site .hd-admin-stats strong{display:block;font-size:26px;color:#182c49;margin-bottom:4px}
#hwd-site .hd-admin-help{font-size:13px;line-height:1.7;color:#5b6b82;margin:0 0 20px;overflow-wrap:anywhere}
#hwd-site .hd-admin-filter{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin:0 0 22px}
#hwd-site .hd-admin-filter>label{display:flex;flex-direction:column;gap:6px;font-size:12px;min-width:0;flex:1}
#hwd-site .hd-admin-filter input[type=search],#hwd-site .hd-admin-filter select,#hwd-site .hd-admin-bulk select{font:14px system-ui;padding:11px;border:1px solid #d5dfea;border-radius:8px;background:#fff;min-width:0;width:100%;max-width:100%;box-sizing:border-box;color:#182c49}
#hwd-site .hd-admin-select{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;font-size:12px}
#hwd-site .hd-admin-select input,#hwd-site .hd-admin-check{width:18px;height:18px;flex-shrink:0;accent-color:#2f65b7;cursor:pointer}
#hwd-site .hd-admin-check:disabled{cursor:default;opacity:.4}
#hwd-site .hd-admin-bulk{display:flex;align-items:center;gap:15px;flex-wrap:wrap;background:#eaf1fc;border:1px solid #d2e0f6;padding:16px;border-radius:12px;margin-bottom:20px}
#hwd-site .hd-admin-bulk>span{font-size:12px;color:#354c6a}
#hwd-site .hd-admin-action{display:flex;align-items:center;gap:8px;font-size:12px;margin-left:auto}
#hwd-site .hd-admin-action select{width:auto}
#hwd-site .hd-admin-bulk button:disabled{opacity:.5;cursor:default}
#hwd-site .hd-admin-identity{display:flex;align-items:flex-start;gap:12px;min-width:0!important}
#hwd-site .hd-admin-identity>div{min-width:0;flex:1}
#hwd-site .hd-admin-identity .hd-badge{margin-top:9px}
#hwd-site .hd-admin-row-links{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:9px}
#hwd-site .hd-danger-text{color:#9f3d2d}
#hwd-site .hd-admin-conversation-row{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
#hwd-site .hd-admin-conversation-row>div{flex:1;min-width:0}
#hwd-site .hd-admin-conversation-row h2,#hwd-site .hd-page-heading h1{overflow-wrap:anywhere}
#hwd-site .hd-admin-conversation-row small{margin-top:7px}
#hwd-site .hd-admin-thread{display:grid;gap:15px}
#hwd-site .hd-admin-message{max-width:100%}
#hwd-site .hd-admin-message-user{background:#eef4fc}
#hwd-site .hd-admin-message header{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid #dce5f0;margin-bottom:14px}
#hwd-site .hd-admin-message time{font-size:11px;color:#5b6b82}
#hwd-site .hd-admin-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}
#hwd-site .hd-admin-message ul{padding-left:20px}
#hwd-site .hd-admin-pagination{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:25px;font-size:12px;color:#5b6b82}
.hd-admin-confirm-users{max-height:220px;overflow:auto;padding-left:20px;font-size:12px;color:#354c6a;overflow-wrap:anywhere}
.hd-admin-confirm-users li{margin:10px 0}
@media(max-width:600px){#hwd-site .hd-admin-stats{gap:8px}#hwd-site .hd-admin-stats>span{padding:13px 9px;font-size:11px}#hwd-site .hd-admin-filter>label{flex-basis:100%}#hwd-site .hd-admin-action{margin-left:0;flex-basis:100%;min-width:0}#hwd-site .hd-admin-action select{flex:1;width:100%}#hwd-site .hd-admin-user>div{min-width:0}#hwd-site .hd-admin-identity{flex-basis:100%!important}#hwd-site .hd-admin-user form{width:100%}#hwd-site .hd-admin-user form label{flex:1;min-width:0}#hwd-site .hd-admin-user form select,#hwd-site .hd-admin-user form input{width:100%;max-width:100%}#hwd-site .hd-admin-conversation-row>div{flex-basis:100%}}

/* Registration honeypot stays outside visual and assistive interaction. */
.hd-registration-trap{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
