/* Resident website refinements; does not apply to staff or native screens. */
html[data-resident=true] button,html[data-resident=true] .button,html[data-resident=true] input,html[data-resident=true] select,html[data-resident=true] textarea{font-family:"DM Sans",-apple-system,sans-serif}
html[data-resident=true] .resident-query{--muted:#566b60;--line:#dce3dc;padding-top:0}
html[data-resident=true][data-theme=dark] .resident-query{--muted:#bdcdc3;--line:#45584c}
html[data-resident=true] input[type=checkbox],html[data-resident=true] input[type=radio]{width:20px;height:20px;min-height:20px;padding:0;flex:none;accent-color:var(--accent);vertical-align:middle}
html[data-resident=true] label:has(>input[type=checkbox]){display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:10px 0;font-weight:400}
html[data-resident=true] label>input[type=checkbox]{margin:3px 0 0}
html[data-resident=true] .preference-choices label:has(input){align-items:center}
html[data-resident=true] .settings-page,html[data-resident=true] .more-page{max-width:900px;margin:0}
html[data-resident=true] .representatives-page{max-width:none;margin:0}
html[data-resident=true] .rep-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 24px}
html[data-resident=true] .directory-area{margin:20px 0 8px}
html[data-resident=true] .representatives-page h1{max-width:none}
html[data-resident=true] main>.panel{margin:0;max-width:760px}
html[data-resident=true] main>.note:first-child{margin-top:0}
html[data-resident=true] main .sync-entry-notice{margin:20px 0 28px;font-size:.825rem;max-width:76ch}
html[data-resident=true] .resident-query .intro{margin-bottom:24px}
html[data-resident=true] .settings-page>h1,html[data-resident=true] .representatives-page>h1{margin-top:16px;margin-bottom:24px}
html[data-resident=true] .settings-section:first-of-type{padding-top:12px}
html[data-resident=true] .web-document{--paper:var(--cream);--soft:var(--surface-soft);--on-green:var(--accent-ink);background:var(--cream);color:var(--ink)}
html[data-resident=true] .web-document main{min-height:50vh}
html[data-resident=true] .web-document .legal-article{max-width:76ch}
html[data-resident=true] .legal-article>h1{margin-top:16px}
html[data-resident=true] .legal-article h2{margin:36px 0 14px}
html[data-resident=true] .legal-article p{margin:0 0 20px}
html[data-resident=true] .legal-article aside{background:var(--surface-soft);padding:18px 20px;border-radius:12px;margin:24px 0;color:var(--ink)}
html[data-resident=true] .legal-article footer{max-width:none;margin:32px 0 24px;padding:24px 0;display:block}
html[data-resident=true] .web-document>footer{max-width:1200px;padding:30px 0}
html[data-resident=true] .web-document .workspace-nav{max-width:1200px;margin:24px auto 0;padding:0 0 16px;border-top:0;gap:12px;justify-content:flex-start}
html[data-resident=true] .web-document .workspace-nav a{font-size:.95rem;border:1px solid var(--line);background:var(--surface);color:var(--ink)}
html[data-resident=true] .web-document .workspace-nav a[aria-current]{background:var(--accent);color:var(--accent-ink)}
html[data-resident=true] .web-document .inbox-list,html[data-resident=true] .web-document .item-detail{max-width:900px}
html[data-resident=true] .web-document .notification,html[data-resident=true] .web-document .empty{background:var(--surface);color:var(--ink)}
html[data-resident=true] .web-document .notification.unread{background:var(--surface-soft)}
html[data-resident=true] .web-document .status.cancelled{background:#fbe9e5;color:#823c30}
html[data-resident=true][data-theme=dark] .web-document .status.cancelled{background:#472c28;color:#ffc3b8}
@media(max-width:1100px){html[data-resident=true] .rep-grid{grid-template-columns:repeat(3,minmax(0,1fr))}html[data-resident=true] .web-document .workspace-nav{margin-inline:32px}html[data-resident=true] .web-document>footer{margin-inline:32px}}
@media(max-width:750px){html[data-resident=true] .rep-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 12px}html[data-resident=true] .web-document .workspace-nav{margin:20px 20px 0;padding-bottom:16px}html[data-resident=true] .web-document>footer{margin:0;padding:26px 20px}html[data-resident=true] .legal-article h2{font-size:1.4rem}html[data-resident=true] main>.panel{padding:22px}html[data-resident=true] .preferences-layout{grid-template-columns:1fr}}
html[data-resident=true][data-reading=extra-large] .rep-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:750px){html[data-resident=true][data-reading=extra-large] .rep-grid{grid-template-columns:1fr}html[data-resident=true][data-reading=extra-large] .preferences-layout{grid-template-columns:1fr}html[data-resident=true][data-reading=extra-large] .web-document .workspace-nav{flex-direction:column;align-items:stretch}}
html[data-resident=true] .web-document>.demo{padding:7px 15px;font-size:.75rem;line-height:1.6}
html[data-resident=true][data-theme=dark] .resident-query .step{background:var(--surface-soft);color:var(--ink)}
