.legislative-dialog{box-sizing:border-box;width:min(960px,96vw);max-height:88vh;overflow:auto;padding:24px;color:#14263e;background:#fff;border:1px solid #467493;border-radius:16px}
.legislative-dialog h2{color:#102d49;border-bottom:2px solid #ed932f;padding-bottom:.6rem}
.legislative-dialog label{display:inline-flex;flex-direction:column;gap:.25rem;margin:.4rem}
.legislative-dialog button,.legislative-dialog a{display:inline-block;margin:.25rem;padding:.4rem .7rem;border-radius:7px;border:1px solid #8da9bb;color:#163650;background:#f0f7fb}
.legislative-dialog article{margin:.7rem 0;padding:.8rem;border:1px solid #d4dfe7;border-radius:8px}
.legislative-dialog article p{margin:.25rem 0;overflow-wrap:anywhere}
.legislative-adjustment{background:#ffe1bc;color:#562e0d;padding:.4rem}
#choose-legislative{background:radial-gradient(ellipse at 100% 0%,#ffc076a8,transparent 60%),linear-gradient(135deg,#215e86,#327ca6);border-color:#e9a25c;color:#f3f9ff}
#choose-legislative .area-choice-title,#choose-legislative span{color:#f3f9ff}
#area-dialog .area-choice-grid{grid-auto-rows:1fr;align-items:stretch}
#area-dialog .area-choice{min-width:0;width:100%;box-sizing:border-box;justify-content:center}
#area-dialog .area-choice strong{font-size:clamp(15px,1.6vw,18px)}
#area-dialog .area-choice>span{font-size:13px}
#choose-legislative svg{flex-shrink:0;color:#ffc381}
#choose-legislative:hover,#choose-legislative:focus-visible{background:radial-gradient(ellipse at 100% 0%,#ffc076c7,transparent 63%),linear-gradient(135deg,#256890,#3984ae);border-color:#ffc381}
dialog.legislative-workspace{position:fixed;inset:0;width:auto;height:auto;max-width:none;max-height:none;margin:0;padding:clamp(14px,3vw,32px);background:#edf3f7;border:0;border-radius:0;font-size:16px}
html.nexus-app dialog.legislative-workspace{zoom:1.333333}
.legislative-workspace::backdrop{background:#edf3f7}
.legislative-workspace-bar{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;padding:.6rem 0}
.legislative-workspace-bar span{margin-left:auto;font-weight:700}
.legislative-workspace-bar time{background:#10263e;color:#ffc381;padding:.45rem .7rem;border-radius:8px;font-variant-numeric:tabular-nums}
.legislative-hero{position:relative;isolation:isolate;overflow:hidden;padding:clamp(22px,5vw,54px);border-radius:22px;color:white;background:radial-gradient(ellipse at 96% 0%,#744e3e,transparent 55%),radial-gradient(ellipse at 20% 100%,#164e6d,transparent 70%),#10263e}
.legislative-hero svg{position:absolute;z-index:-1;width:min(55%,350px);height:85%;right:4%;top:8%;color:#ffc381;opacity:.32}
.legislative-hero span{color:#ffc381;font-weight:800;text-transform:uppercase;letter-spacing:.12em}
.legislative-hero h1{color:white;font-size:clamp(2rem,5vw,3.65rem);line-height:1.08;margin:.4em 0 .23em}
.legislative-hero p{color:#e0edf7;margin:0}
.legislative-workspace nav button[aria-pressed=true]{background:#10263e;color:white}
.legislative-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:16px;margin-top:14px}
.legislative-layout>section{background:white;border:1px solid #dce5eb;border-radius:15px;padding:16px;overflow-wrap:anywhere}
.legislative-layout>section:empty{display:none}
@media(max-width:680px){.legislative-layout{grid-template-columns:1fr}}
.legislative-receipt{width:min(760px,94vw);max-height:90vh;padding:24px;color:#14263e;background:white;overflow:auto;overflow-wrap:anywhere}
.legislative-receipt section{font:14pt/1.45 Arial,sans-serif}
@media print{
  html.nexus-app:has(.legislative-receipt[open]){zoom:1}
  body:has(>.legislative-receipt[open])> :not(.legislative-receipt){display:none!important}
  dialog.legislative-receipt[open]{position:static;display:block;width:auto;max-width:none;max-height:none;margin:0;padding:10mm;border:0;overflow:visible}
  dialog.legislative-receipt::backdrop{display:none}
  .legislative-receipt>button{display:none!important}
}
.legislative-layout article.legislative-adjustment{background:#fff0dc;border-color:#e6a15c;border-left:5px solid #ba590e;color:#66320d}
.legislative-adjustment p{white-space:pre-wrap}
.legislative-matter-actions,.legislative-adjustment-form form>div{display:flex;flex-wrap:wrap;gap:8px}
.legislative-dialog button.legislative-adjustment-button,.legislative-adjustment-form button[type=submit]{background:#9f4609;color:#fff;border-color:#9f4609}
.legislative-adjustment-form{width:min(620px,94vw)}
.legislative-adjustment-form form,.legislative-comment-box{display:grid;gap:10px}
.legislative-adjustment-form label,.legislative-comment-box label{display:flex;margin:0}
.legislative-adjustment-form input,.legislative-adjustment-form textarea,.legislative-comment-box textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid #9ab0c1;border-radius:8px;font:inherit}
.legislative-adjustment-form form>div{justify-content:flex-end}
.legislative-adjustment-form [role=alert]:empty{display:none}
.legislative-comment-box{margin-top:14px;padding:12px;background:#f1f7fb;border-radius:8px}
.legislative-comment-box button{justify-self:start}
.legislative-layout article.legislative-message{background:#fff7d6;border-color:#dcc364;color:#594500}
.legislative-layout article.legislative-approved{background:#e5f6e8;border-color:#89be96;color:#21512e}
.legislative-layout article.legislative-rejected{background:#fde9e8;border-color:#e5a09b;color:#792c28}
.legislative-dialog .legislative-message-quote{font:600 .85em/1.5 Georgia,serif;text-transform:uppercase;white-space:pre-wrap}
