/* Packet cards are rendered under .e90-portal, without the legacy .e89 root.
   Scope the missing form styles to that actual structure, not the entire website. */
html body.pr-public #main-content .e90.e90-portal .e89-card{min-width:0;max-width:100%;box-sizing:border-box;color:#194532;background:#fff}
html body.pr-public #main-content .e90.e90-portal .e89-card label{display:block;line-height:1.6;font-size:14px;font-weight:600;color:#234c39;margin:14px 0}
html body.pr-public #main-content .e90.e90-portal .e89-card input:not([type=checkbox]):not([type=hidden]),html body.pr-public #main-content .e90.e90-portal .e89-card textarea,html body.pr-public #main-content .e90.e90-portal .e89-card select{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:46px;margin-top:7px;padding:12px;border:1px solid #9bbdaa;border-radius:10px;background:#fff!important;color:#173e2f!important;-webkit-text-fill-color:#173e2f!important;font:inherit}
html body.pr-public #main-content .e90.e90-portal .e89-card input[type=checkbox]{width:19px;height:19px;min-height:0;accent-color:#0b6248;margin:2px 9px 0 0;vertical-align:top}
html body.pr-public #main-content .e90.e90-portal .e89-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:16px 0}
html body.pr-public #main-content .e90.e90-portal .e89-card button{display:inline-flex;align-items:center;justify-content:center;white-space:normal;min-height:46px;max-width:100%;padding:12px 16px;border:1px solid #0b6048;border-radius:10px;background:#0b6048!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:600 14px/1.5 system-ui;cursor:pointer}
html body.pr-public #main-content .e90.e90-portal .e89-card button[value=draft]{background:#fff!important;color:#0b6048!important;-webkit-text-fill-color:#0b6048!important}
html body.pr-public #main-content .e90.e90-portal .e89-card button[value=decline]{background:#fff1ed!important;color:#8a382c!important;-webkit-text-fill-color:#8a382c!important;border-color:#d8aba0}
html body.pr-public #main-content .e90.e90-portal .e89-card .e89-reading,html body.pr-public #main-content .e90.e90-portal .e89-note{overflow-wrap:anywhere;white-space:normal;line-height:1.7;color:#264d3b}
html body.pr-public #main-content .e90.e90-portal .e1221-research-sign-help{font-size:12px;color:#4a6656;line-height:1.6}
html body.pr-public #main-content .e90.e90-portal .e90-table th{background:#e9f3ed!important;color:#144a33!important;-webkit-text-fill-color:#144a33!important;text-align:left}
html body.pr-public #main-content .e90.e90-portal .e90-table td{background:#fff;color:#234d38!important;-webkit-text-fill-color:#234d38!important;overflow-wrap:anywhere;padding:12px;border-bottom:1px solid #d5e4da;vertical-align:top}
html body.pr-public #main-content .e90.e90-portal .e90-table table{width:100%;min-width:590px;border-collapse:collapse}
html body.pr-public #main-content .e90.e90-portal .e90-stats article,html body.pr-public #main-content .e90.e90-portal .e90-workload article{min-width:0;overflow-wrap:anywhere}
.e1221-wallet-convert{margin:18px 0;padding:17px;border:1px solid #c4d9ca;border-radius:12px;background:#fff;color:#214c36}.e1221-wallet-convert summary{cursor:pointer;font-weight:700;line-height:1.5;color:#17573c}.e1221-wallet-convert p{font-size:13px;line-height:1.6;color:#486753}.e1221-wallet-convert form{margin-top:16px;display:flex;flex-wrap:wrap;gap:12px;align-items:end}.e1221-wallet-convert label{display:block;flex:1 1 210px;max-width:390px;font-size:14px;font-weight:600}.e1221-wallet-convert input{display:block;box-sizing:border-box;width:100%;min-height:44px;margin-top:7px;padding:10px;border:1px solid #9abaA8;border-radius:9px;background:#fff;color:#214c36}.e1221-wallet-convert button{min-height:44px}
.e1221-private-notes-list{min-width:0;max-width:100%;box-sizing:border-box}.e1221-private-notes-list .e1221-private-notes-table{max-width:100%;overflow:auto;margin-top:18px}.e1221-private-notes-list .e1221-private-notes-table table{min-width:590px;width:100%;border-collapse:collapse}.e1221-private-notes-list .e1221-private-notes-table th,.e1221-private-notes-list .e1221-private-notes-table td{padding:12px;text-align:left;vertical-align:top;overflow-wrap:anywhere}.e1221-private-notes-list :is(input,textarea){box-sizing:border-box;max-width:100%}
.etpr-validation form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}.etpr-validation form label{min-width:0;display:block}.etpr-validation form input{display:block;box-sizing:border-box;width:100%;min-height:46px;margin-top:8px;padding:12px;border:1px solid #a5bfaf;border-radius:9px;background:#fff;color:#173f2f}.etpr-validation form p{margin:0}.etpr-validation form button{min-height:46px}.etpr-validation .etpr-ok{padding:16px;border:1px solid #b8d9c3;border-left:4px solid #267548;background:#edf8f0;color:#174b2e!important;-webkit-text-fill-color:#174b2e!important;line-height:1.7}.etpr-validation .etpr-error{padding:16px;border:1px solid #e4b7ac;border-left:4px solid #a34a37;background:#fff0ec;color:#80362a!important;-webkit-text-fill-color:#80362a!important;line-height:1.7}
.e1221-scroll-region:focus-visible,.e90-portal :is(a,button,input,textarea,select,summary):focus-visible,.etpr-validation :is(a,button,input):focus-visible,.e1221-wallet-convert :is(button,input,summary):focus-visible,.e1221-private-notes-list :is(a,button,input,textarea):focus-visible{outline:3px solid #b78316!important;outline-offset:3px!important}
.e1221-scroll-region{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:650px){html body.pr-public #main-content .e90.e90-portal{padding-inline:0}html body.pr-public #main-content .e90.e90-portal .e89-card{padding:18px}html body.pr-public #main-content .e90.e90-portal .e89-actions{align-items:stretch;flex-direction:column}html body.pr-public #main-content .e90.e90-portal .e89-actions button{width:100%}html body.pr-public #main-content .e90.e90-portal .e90-head h1{overflow-wrap:anywhere;font-size:clamp(25px,7vw,34px)}.etpr-validation form{grid-template-columns:1fr}.etpr-validation form button{width:100%}.e1221-wallet-convert form{align-items:stretch}.e1221-wallet-convert form>*{width:100%;max-width:none}.e1221-private-notes-list form{padding:16px!important}}
@media(prefers-reduced-motion:reduce){.e90-portal *,.etpr129-wallet *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Match the legacy portal's compound-ID :is() specificity and pair the billing heading with its own light surface. */
html body.pr-public #main-content#main-content .etpr460-shell .etpr1135-board .etpr1135-head{background:#edf6f0!important;color:#174b35!important;-webkit-text-fill-color:#174b35!important;border:1px solid #c8dfd0!important;border-radius:14px!important;padding:22px!important}
html body.pr-public #main-content#main-content .etpr460-shell .etpr1135-board .etpr1135-head :is(h2,p,span){color:#174b35!important;-webkit-text-fill-color:#174b35!important;opacity:1!important;text-shadow:none!important}
html body.pr-public #main-content#main-content .etpr460-shell .etpr1135-head h2{font-size:clamp(23px,3vw,30px)!important;line-height:1.25!important}
