/* Shared surface and narrow-screen corrections. Keep document white in dark mode. */
.quality-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.quality-check{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:13px;border:1px solid var(--line);border-radius:10px}.quality-check span{font-size:12px}.quality-check .ready{color:#19845e}.quality-check .pending{color:#a76a14}.skill3562 .pg-strengths{display:flex;flex-wrap:wrap;gap:7px}.rail button.visited{color:#8be5bf}.editing{min-width:0}.editing .fieldgroup{min-width:0}.editing input,.editing textarea,.editing select{max-width:100%}.previewbar{flex-wrap:wrap}.workspace .rail{overflow:auto}.pg-home3533 .pg-gallery img{aspect-ratio:210/297;object-fit:contain}.pg-home3533 .pg-hero-art{min-width:0}.pg-home3533 .pg-hero-art img{width:100%}.adminnav3550{max-height:calc(100dvh - 64px);overflow:auto}.adminnav3550 a[aria-current=page]{background:var(--accent);color:white}.adminbody3550>.panel[hidden]{display:none!important}.adminbody3550>.metrics[hidden]{display:none!important}.adminbody3550 .member{flex-wrap:wrap}.adminbody3550 textarea{max-width:100%}.pg-page-editor footer{display:none}.pg-page-editor .editing>.row:last-child{position:sticky;bottom:0;background:var(--surface,#fff);padding:12px 0;border-top:1px solid var(--line);z-index:3}.pg-page-editor dialog{width:min(650px,94vw);max-height:90dvh;overflow:auto}.pg-page-editor dialog::backdrop{background:#11152b99}.pg-page-editor .rail button:focus-visible,.pg-page-editor button:focus-visible{outline:2px solid #8c8eff;outline-offset:2px}html[data-theme=dark] .editing,html[data-theme=dark] .previewbar,html[data-theme=dark] .pg-page-editor .editing>.row:last-child,html[data-theme=dark] dialog{background:#202334;color:var(--ink)}html[data-theme=dark] .editing .record,html[data-theme=dark] .studio-start{background:#292d42}html[data-theme=dark] .editing input,html[data-theme=dark] .editing textarea,html[data-theme=dark] .editing select{border-color:#454a61}html[data-theme=dark] .paper{background:white;color:#252b36}html[data-theme=dark] .paper p{color:inherit}html[data-theme=dark] .quality-check .ready{color:#8be5bf}html[data-theme=dark] .quality-check .pending{color:#f2c37e}@media(max-width:800px){.quality-grid{grid-template-columns:1fr}.adminnav3550{max-height:none}.adminbody3550 .member{display:flex;flex-direction:column;align-items:stretch}.workspace .rail{overflow:visible}.pg-page-editor .editing>.row:last-child{position:static}.pg-page-editor .previewbar button{flex:1 1 auto}.pg-page-editor .previewbar .preview-label{width:100%}.pg-page-editor .fieldgroup{grid-template-columns:1fr}.pg-page-editor .editing{min-height:0}}@media print{.pg-page-editor .editing>.row:last-child{display:none}}
.nav-language3562{display:flex;gap:4px;align-items:end;flex:none;margin:0}.nav-language3562 label{margin:0;font-size:10px;line-height:1}.nav-language3562 select{margin:3px 0 0;max-width:120px;padding:5px;font-size:11px;min-height:28px}.nav-language3562 button{padding:5px!important;font-size:11px!important;min-height:28px}.top nav{flex-wrap:wrap;min-width:0}.top{height:auto;min-height:64px;flex-wrap:wrap;padding-block:8px}.pg-page-editor .top{height:64px;flex-wrap:nowrap}.pg-page-editor .top nav{flex-wrap:nowrap}@media(max-width:800px){.pg-page-editor .top{height:auto;flex-wrap:wrap}.pg-page-editor .top nav{flex-wrap:wrap}.nav-language3562 label span{font-size:10px}.top nav{gap:9px}}
