.accord-dialog {
 width: min(680px, calc(100vw - 28px));
 max-height: min(90dvh, 940px);
 box-sizing: border-box;
 overflow-y: auto;
 overscroll-behavior: contain;
 padding: clamp(18px, 3vw, 32px);
 border: 1px solid #bbcbbf;
 border-radius: 18px;
 color: #193a32;
 background: #fffefa;
 box-shadow: 0 20px 64px #143b3229;
}
.accord-dialog::backdrop { background: #102a29a6; }
.accord-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:14px;}
.accord-dismiss {display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #becfc2;border-radius:50%;background:#fffefa;color:#204739;font:24px/1 system-ui;cursor:pointer;}
.accord-dialog h2 { margin: 0 0 12px; color: #183c35; font: 400 clamp(32px, 5vw, 46px)/1.08 "Instrument Serif", Georgia, serif; }
.accord-dialog h3 { margin: 4px 0 0; color: #183c35; font-size: 1.15rem; line-height: 1.35; }
.accord-dialog p, .accord-dialog li { line-height: 1.5; }
.accord-dialog p { margin: 10px 0 14px; }
.accord-dialog .accord-lead { color: #405b52; }
.accord-dialog .accord-step { padding-top: 12px; margin-bottom: 16px; }
.accord-step > span { font-size: .82rem; font-weight: 650; color: #246352; }
.accord-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 14px; }
.accord-field, .accord-space { margin-bottom: 12px; display: grid; gap: 5px; }
.accord-dialog label { color: #24493c; font-weight: 600; line-height: 1.35; }
.accord-dialog :is(input:not([type=checkbox]),select,textarea) {
 box-sizing: border-box; min-width: 0; width: 100%; min-height: 44px;
 padding: 9px 12px; border: 1px solid #9eaea4; border-radius: 8px;
 font: inherit; color: #1d3932; background: white;
}
.accord-dialog textarea { resize: vertical; }
.accord-dialog small { color: #4a6259; font-size: .82rem; line-height: 1.4; }
.accord-details {
 margin: 12px 0; padding: 0 13px; border: 1px solid #d6e0d5; border-radius: 9px; background: #f2f5ee;
}
.accord-details summary { min-height: 44px; align-content: center; padding: 10px 0; color: #224d3f; cursor: pointer; font-weight: 600; }
.accord-details a { color: #0a5b4b; text-underline-offset: 3px; }
.accord-details ul { padding-left: 20px; }
.accord-details li + li { margin-top: 8px; }
.accord-details dd { margin: 2px 0 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.accord-details dt { font-weight: 650; }
.accord-dialog .accord-check { display: flex; align-items: flex-start; gap: 10px; padding: 12px; background: #e9f1e7; border-radius: 9px; cursor: pointer; }
.accord-check input[type=checkbox] { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0; accent-color: #0c6355; }
.accord-dialog .accord-identity, .accord-dialog .accord-scope { font-size: .9rem; overflow-wrap: anywhere; }
.accord-dialog .accord-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; margin-top:18px; }
.accord-dialog .button { min-height:44px; white-space:normal; }
.accord-dialog .button.primary { background: #0c6355; border-color: #0c6355; color:white; }
.accord-dialog .accord-error:empty { display:none; }
.accord-dialog .accord-error { color:#913329; }
.accord-dialog .accord-success { padding: 12px; border-radius:8px; background:#e5f0e3; color:#224e35; font-weight:650; }
.accord-dialog :is(button,summary,input,select,textarea,a):focus-visible { outline: 3px solid #417c69; outline-offset: 2px; }
.main .accord-banner {
 display: flex; justify-content: space-between; align-items: center; gap: 12px 20px;
 padding: 12px 16px; margin: 0 0 18px; border: 1px solid #c7d9cb; border-radius: 12px;
 background: #edf4eb; color: #23493e; font-size: .94rem;
}
.accord-banner strong, .accord-banner span { display:block; }
.accord-banner .button { flex: none; color: #125847; background: #fffefa; border:1px solid #a5beae; min-height:44px; }
@media(max-width:560px) {
 .accord-grid {grid-template-columns:1fr;}
 .accord-dialog {max-height:calc(100dvh - 20px);}
 .main .accord-banner { flex-wrap:wrap; }
}
