/* Shared readable surfaces and responsive alignment, 5 November 2026. */
:root { --text:#f2f6fc; --muted:#c0ccdc; --line:#38516a; }
html { max-width:100%; }
body { padding:0!important; min-width:0; }
main, section, article, header, footer, form, .site-width, .wrap { min-width:0; }
img, video { max-width:100%; }
h1,h2,h3,p,li,a,label { overflow-wrap:break-word; }
p,li { color:#c8d3e2; }
.brand,.new-brand,.workspace-brand,.legal-brand { display:inline-flex!important; align-items:center!important; gap:10px!important; line-height:1.25!important; }
.brand img,.new-brand img,.workspace-brand img,.legal-brand img { display:block!important; width:40px!important; height:40px!important; flex:0 0 40px!important; object-fit:contain; border-radius:8px!important; margin:0!important; transform:none!important; }
.new-brand { letter-spacing:-.3px; }
.header-inner,.topbar .nav { align-items:center!important; }
.hero-content { padding:28px; border:1px solid #7094b83b; border-radius:22px; background:linear-gradient(120deg,#040b16f5,#040b16da); }
.hero-content:before { display:none; }
.new-hero h1 { overflow-wrap:anywhere; }
.new-hero p { color:#d3deed!important; }
.glass-feature,.process-list,.card,.notice,.panel,.workflow-panel { background:#071322f2!important; }
.glass-feature p,.card p,.lead,.notice,.setting-label,.muted { color:#c8d3e2!important; }
.box { width:min(900px,calc(100% - 40px)); max-width:900px!important; margin:28px auto!important; padding:28px!important; border:1px solid #36516b; border-radius:18px!important; background:#071322fa!important; color:#edf4fd!important; box-shadow:0 16px 50px #0005; }
.box p,.box li,.box label,.box legend { color:#cbd7e7!important; }
.box h1,.box h2,.box h3,.box b,.box strong { color:#f2f6fc!important; }
.box h1 { font-size:clamp(28px,4vw,40px); line-height:1.2!important; margin:24px 0; }
.box h2 { margin:28px 0 14px; font-size:22px; }
.box a { color:#77e9f2!important; text-decoration:underline; text-underline-offset:4px; }
.box a:hover { color:#c4fcff!important; }
.box ul { padding-left:22px; }
.box li { margin:10px 0; overflow-wrap:anywhere; }
.workspace-header,.legal-header { display:flex; align-items:center; flex-wrap:wrap; gap:18px; padding-bottom:18px; border-bottom:1px solid #36516b; }
.workspace-brand,.legal-brand { color:#f2f6fc!important; text-decoration:none!important; font-weight:650; }
.workspace-nav { display:flex; align-items:center; gap:16px; margin-left:auto; }
.workspace-header .language-switch,.legal-header .language-switch { margin-left:auto; }
.box footer { display:flex; flex-wrap:wrap; gap:8px; margin-top:28px; padding-top:18px; background:transparent!important; }
.box form { margin:18px 0; }
.box form>label:has(input[type=file]),.box form>label:has(input[type=password]) { display:grid; gap:10px; }
.box input:not([type=checkbox]):not([type=hidden]),.box textarea { width:100%; min-width:0; max-width:100%; }
.box input[type=file] { padding:10px!important; font-size:14px; }
input[type=file]::file-selector-button { margin-right:12px; padding:9px 12px; border:1px solid #5a829a; border-radius:7px; background:#193247; color:#f2f6fc; cursor:pointer; }
input,select,textarea { color-scheme:dark; }
select { max-width:100%; }
select option { background:#0b192a; color:#edf4fd; }
input[type=checkbox] { vertical-align:middle; margin:0 8px 0 0; }
.box label:has(input[type=checkbox]) { display:flex; align-items:flex-start; gap:10px; }
.box label input[type=checkbox] { margin:4px 0 0; }
.box fieldset { min-width:0; margin:22px 0; padding:16px; border:1px solid #45627e; border-radius:12px; }
.box fieldset label { margin:10px 0; }
.box legend { padding:0 8px; }
.box pre,.box code { white-space:pre-wrap; overflow-wrap:anywhere; color:#d3e4f5; }
.box video { display:block; width:100%; border:1px solid #36516b; border-radius:12px; background:#020711; }
.language-switch-floating { position:relative!important; inset:auto!important; display:flex; width:max-content; margin:16px 20px 0 auto; }
.language-switch { max-width:100%; }
.motion-toggle { position:relative!important; inset:auto!important; display:block; width:max-content; max-width:calc(100% - 32px); margin:20px 16px 16px auto; }
.site-footer .motion-toggle { margin:0; }
@media(max-width:850px) {
  .topbar .nav { justify-content:flex-start; }
  .topbar .nav .links { order:3; width:100%; }
  .topbar .nav .language-switch { margin-left:auto; }
}
@media(max-width:600px) {
  .site-width { width:calc(100% - 32px)!important; }
  .header-inner { gap:14px!important; }
  .new-brand { font-size:15px!important; }
  .brand img,.new-brand img,.workspace-brand img,.legal-brand img { width:34px!important; height:34px!important; flex-basis:34px!important; }
  .header-inner nav { width:100%!important; flex:auto!important; flex-wrap:wrap; gap:18px!important; }
  .header-inner>.outline-button { order:4; width:100%; margin:0; font-size:13px; min-height:44px; }
  .hero-content { padding:22px 18px; width:100%; }
  .new-hero { padding:32px 0; min-height:0; }
  .new-hero h1 { font-size:clamp(30px,9.3vw,46px)!important; letter-spacing:-1.4px; }
  .new-hero p { font-size:17px!important; }
  .hero-actions { display:grid; grid-template-columns:1fr; }
  .hero-actions a { width:100%; }
  .box { width:calc(100% - 24px); margin:16px auto!important; padding:20px 16px!important; }
  .workspace-header,.legal-header { gap:14px; }
  .workspace-brand,.legal-brand { font-size:14px; }
  .workspace-nav { margin-left:0; }
  .workspace-header .language-switch { margin-left:auto; }
  .box button[type=submit],.box form>button,.box form p>button { width:100%; }
  .box h1 { margin-top:22px; }
}
