/* Public style selection uses only exported fictional samples. */
body:has(#notice-style-chooser[data-static-examples="1"])>.hero-banner{padding:22px 0 10px;margin:0;border:0;background:#f7f7f0}
body:has(#notice-style-chooser[data-static-examples="1"])>.hero-banner .container{max-width:1040px}
body:has(#notice-style-chooser[data-static-examples="1"])>.hero-banner h1{font-size:30px;color:#234c3d;line-height:1.4;font-weight:700}
body:has(#notice-style-chooser[data-static-examples="1"])>.hero-banner p{color:#58675c;line-height:1.7;font-size:15px}
#notice-style-chooser[data-static-examples="1"]{max-width:1000px;margin:16px auto 24px;text-align:left}
#notice-style-controls.notice-style-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0;padding:0;border:0;background:none}
.notice-style-card{display:flex;flex-direction:column;min-width:0;padding:22px;background:#fffdf8;border:1px solid #d6ded0;border-radius:12px}
.notice-style-card h3{font-size:23px;font-weight:650;color:#244e3e;margin:0 0 6px;line-height:1.4}
.notice-style-card>p{font-size:14px;line-height:1.7;color:#5b6a5d;margin:0 0 14px}
.notice-style-card figure{margin:0;min-width:0}
.notice-landing-preview{height:350px;padding:10px;background:#f0f2eb;border:1px solid #e0e4da;border-radius:6px;display:flex;align-items:center;justify-content:center}
.notice-landing-preview img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain;object-position:center}
.notice-style-card figcaption{font-size:12px;line-height:1.5;margin:8px 0;color:#677464}
.notice-sample-open{display:inline-flex;align-items:center;min-height:44px;color:#2b5745;text-underline-offset:4px;font-size:14px;margin:0 0 10px}
#notice-style-controls .notice-style-card button[data-notice-style]{display:block;width:100%;min-height:46px;padding:11px 16px!important;margin:auto 0 0;border:1px solid #285840!important;border-radius:7px;background:#285840!important;color:#fff!important;box-shadow:none!important;font:inherit;font-size:16px;font-weight:600;line-height:1.5;cursor:pointer}
#notice-style-controls .notice-style-card button[data-notice-style]:hover{background:#1d4534!important}
#notice-style-controls .notice-style-card button[data-notice-style]:focus-visible,.notice-sample-open:focus-visible{outline:3px solid #b49456;outline-offset:4px}
.notice-landing-examples{display:flex;gap:16px;align-items:center;justify-content:center;flex-wrap:wrap;margin:18px 0 0;padding:12px;border:1px solid #dce3d5;border-radius:8px;background:#f2f4ed}
.notice-landing-examples>label{display:flex;gap:8px;align-items:center;font-size:13px;color:#536751}
.notice-landing-examples select{min-height:44px;border:1px solid #becdbc;background:#fffdf8;border-radius:5px;padding:6px 10px;color:#254c3b;font:inherit}
#notice-choice-sample-controls{margin:0;display:flex;align-items:center;gap:12px}
#notice-choice-sample-controls button{min-width:44px;min-height:44px;border:1px solid #becdbc;border-radius:5px;background:#fffdf8;color:#254c3b;font-size:23px;cursor:pointer}
#notice-choice-sample-position{font-size:13px;min-width:160px}
.notice-landing-hint{font-size:12px;text-align:center;color:#6d7967;margin:9px 0 0;line-height:1.6}
.notice-landing-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#notice-start-making[hidden]{display:none!important}
#notice-landing-help{max-width:1000px;margin:18px auto 26px}
#notice-landing-help>details{border:1px solid #d7dfd0;border-radius:8px;background:#f8f8f1;padding:0 16px}
#notice-landing-help>details>summary{cursor:pointer;min-height:48px;padding:12px 0;color:#35583e;font-size:14px}
#notice-landing-help .notice-assisted-service{margin:0 0 16px;padding:10px 16px;border:0;background:transparent}
#notice-landing-help[hidden]{display:none!important}
#notice-draft-banner{max-width:1000px}
.notice-sample-dialog{width:min(920px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #c9d5c4;border-top:3px solid #b49456;border-radius:10px;background:#fffdf8;color:#254b3c;overflow:hidden}
.notice-sample-dialog::backdrop{background:#183d3480}
.notice-sample-dialog header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid #dce3d5}
.notice-sample-dialog h2{font-size:18px;margin:0}
.notice-sample-dialog button,.notice-sample-dialog a{min-height:44px;padding:8px 13px;border:1px solid #aabdac;border-radius:5px;background:#fffdf8;color:#28543f;font:inherit;cursor:pointer}
.notice-sample-dialog header>div{display:flex;gap:8px}
.notice-sample-stage{max-height:calc(100dvh - 205px);overflow:auto;overscroll-behavior:contain;background:#eef0e8;padding:10px}
.notice-sample-stage img{display:block;width:max(100%,720px);height:auto;max-width:none;margin:auto}
.notice-sample-dialog.is-fit .notice-sample-stage img{width:100%;max-height:calc(100dvh - 235px);object-fit:contain}
.notice-sample-dialog footer{padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}
.notice-sample-dialog footer p{margin:0;line-height:1.6}
@media(max-width:650px){
 #notice-style-controls.notice-style-choices{grid-template-columns:minmax(0,1fr);gap:16px}
 .notice-style-card{padding:17px}
 .notice-style-card h3{font-size:22px}
 .notice-landing-preview{height:330px;padding:8px}
 .notice-landing-examples{gap:4px;padding:10px}
 #notice-choice-sample-position{min-width:145px}
 body:has(#notice-style-chooser[data-static-examples="1"])>.hero-banner h1{font-size:26px}
 body:has(#notice-style-chooser[data-static-examples="1"])>.hero-banner{padding-top:18px}
 .notice-sample-dialog h2{font-size:16px}
 .notice-sample-dialog footer{align-items:flex-start;flex-wrap:wrap}
}
/* Keep the image scroller independent of the reachable modal controls. */
#notice-sample-dialog[open]{display:flex;flex-direction:column;height:calc(100dvh - 24px)}
#notice-sample-dialog header,#notice-sample-dialog footer{flex-shrink:0}
#notice-sample-dialog header{flex-wrap:nowrap}
#notice-sample-dialog button,#notice-sample-dialog a{width:auto!important;min-width:0;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center}
#notice-sample-dialog .notice-sample-stage{flex:1;min-height:0;max-height:none}
#notice-sample-dialog footer{flex-wrap:wrap;justify-content:flex-start}
#notice-sample-dialog footer p{flex-basis:100%}

.notice-template-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0 0 12px}
#notice-style-controls .notice-template-switch button{min-width:0;min-height:48px;padding:7px 9px;border:1px solid #c4d1bf;border-radius:5px;background:#f7f8f1;color:#315840;font:inherit;font-size:13px;line-height:1.5;cursor:pointer;overflow-wrap:anywhere}
#notice-style-controls .notice-template-switch button[aria-pressed="true"]{background:#e6edde;border-color:#52764e;font-weight:650}
.notice-style-card figcaption strong{color:#35593f;font-weight:600}
#notice-style-controls .notice-template-switch button{background:#f7f8f1!important;border:1px solid #c4d1bf!important;color:#315840!important;box-shadow:none!important}
#notice-style-controls .notice-template-switch button[aria-pressed="true"]{background:#e6edde!important;border-color:#52764e!important;color:#234c3d!important}
