:root{--ink:#152c38;--muted:#677879;--green:#216451;--green-dark:#164c3e;--line:#dce3de;--paper:#fff;--canvas:#f3f5f0;--soft:#e8eee7;--serif:Georgia,'Times New Roman',serif;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--canvas);font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #5cae91}button:disabled{cursor:wait;opacity:.6}a{color:var(--green);text-underline-offset:3px}.topbar{height:82px;padding:0 4.3%;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);gap:16px}.brand{display:flex;align-items:center;gap:13px}.brand-mark{width:43px;height:43px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-family:var(--serif);font-size:29px}.brand-title{font-weight:650;letter-spacing:.03em;font-size:14px}.brand-sub{font-size:11px;color:var(--muted);letter-spacing:.07em;text-transform:uppercase;margin-top:2px}.badge{font-size:11px;letter-spacing:.06em;text-transform:uppercase;border:1px solid #cad8cd;padding:6px 10px;border-radius:4px;background:#f5f8f3;color:#41614c}.quiet{color:var(--muted);font-size:12px}.top-right{display:flex;align-items:center;gap:20px}.wrap{max-width:1510px;margin:auto;padding:35px 4.3% 50px}.eyebrow{font-size:11px;letter-spacing:.15em;font-weight:650;text-transform:uppercase;color:var(--green);display:flex;align-items:center;gap:8px}.eyebrow:before{content:'';width:19px;height:1px;background:var(--green)}h1{font-family:var(--serif);font-size:38px;line-height:1.18;font-weight:400;letter-spacing:-.03em;margin:12px 0 13px}h2{font-family:var(--serif);font-size:26px;line-height:1.25;font-weight:400;margin:0 0 9px}h3{font-size:16px;font-weight:650;margin:0 0 12px}.intro{max-width:650px;color:var(--muted);margin:0;font-size:14px;line-height:1.8}.hero{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.privacy{display:flex;gap:10px;max-width:355px;font-size:12px;line-height:1.65;color:#60736a}.privacy svg{flex-shrink:0;color:var(--green);margin-top:3px}.flow{display:flex;gap:0;margin-bottom:27px;padding:20px 25px;background:#fff;border:1px solid var(--line);border-radius:8px}.step{display:flex;align-items:center;gap:10px;flex:1;background:none;border:none;text-align:left;color:#84908b;padding:0;font-size:12px}.step:last-child{flex:0 0 auto}.step:after{content:'';height:1px;background:var(--line);flex:1;margin:0 20px 0 10px}.step:last-child:after{display:none}.step-number{width:29px;height:29px;border:1px solid #ccd7cf;border-radius:50%;display:grid;place-items:center;font-size:12px;flex-shrink:0}.step.active{color:var(--ink);font-weight:650}.step.active .step-number{background:var(--green);border-color:var(--green);color:#fff}.step.done .step-number{background:var(--soft);color:var(--green);border-color:var(--soft)}.workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:28px;align-items:start}.editor{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}.editor-head{padding:26px 28px 22px;border-bottom:1px solid var(--line)}.editor-head p{color:var(--muted);font-size:13px;margin:0}.editor-body{padding:23px 28px}.choice{display:flex;gap:17px;text-align:left;border:1px solid var(--line);background:#fff;border-radius:7px;padding:20px;width:100%;margin-bottom:12px;color:var(--ink);transition:.16s}.choice:hover{border-color:#91b3a1;background:#fbfdfa}.choice.selected{border:2px solid var(--green);padding:19px;background:#f5f9f4}.choice-icon{display:grid;place-items:center;width:42px;height:46px;background:#f0f3ee;border-radius:5px;flex-shrink:0;color:var(--green)}.choice-text{flex:1}.choice-title{display:block;font-weight:650;font-size:15px;margin-bottom:5px}.choice-desc{display:block;color:var(--muted);font-size:12px;line-height:1.6}.choice-radio{width:18px;height:18px;border:1px solid #c5d0c8;border-radius:50%;margin-top:3px;flex-shrink:0}.selected .choice-radio{border:5px solid var(--green)}.note{padding:14px 16px;border-radius:5px;font-size:12px;line-height:1.7;background:#f1f5ef;color:#536858}.note.warning{background:#faf5e8;color:#806936}.note strong{color:var(--ink)}.editor-footer{border-top:1px solid var(--line);padding:20px 28px;display:flex;justify-content:space-between;align-items:center;gap:14px}.btn{border:0;border-radius:5px;padding:11px 16px;font-size:12px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none}.btn.primary{background:var(--green);color:#fff}.btn.primary:hover{background:var(--green-dark)}.btn.secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}.btn.text{background:transparent;color:var(--muted);padding:8px 0}.btn svg{width:15px;height:15px}.preview-shell{position:sticky;top:22px}.preview-toolbar{display:flex;justify-content:space-between;align-items:center;margin:2px 0 13px;padding:0 2px}.preview-toolbar span{font-size:11px;font-weight:650;letter-spacing:.1em;text-transform:uppercase}.live{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px!important;letter-spacing:0!important;text-transform:none!important;font-weight:400!important}.live:before{content:'';width:6px;height:6px;background:#60957a;border-radius:50%}.paper-stage{background:#e6ebe5;border:1px solid #d9e1d8;border-radius:7px;padding:22px;max-height:680px;overflow:auto;scrollbar-width:thin}.paper{background:#fff;min-height:620px;padding:42px 38px 30px;box-shadow:0 5px 15px #17372c0b;font-family:var(--serif);font-size:11px;line-height:1.65;color:#283439}.paper h2{font-size:16px;text-align:center;font-weight:bold;margin:22px 0 18px;line-height:1.4}.paper h3{font-family:var(--serif);font-size:11px;margin:18px 0 5px;text-transform:uppercase;letter-spacing:.03em}.paper p{margin:0 0 8px;white-space:pre-line;overflow-wrap:anywhere}.paper .right{text-align:right}.paper .label{font-size:8px;color:#8d9491;letter-spacing:.13em;text-align:center;text-transform:uppercase;padding-bottom:18px;border-bottom:1px solid #e1e6df;margin-bottom:18px;font-family:Arial,sans-serif}.paper .placeholder{color:#a0aaa4}.paper .signature{margin:36px 0 16px;text-align:right}.paper .fine{font-size:8px;color:#8d9491;border-top:1px solid #e1e6df;padding-top:12px;margin-top:26px}.preview-foot{font-size:11px;color:var(--muted);text-align:center;margin-top:12px}.preview-empty{min-height:575px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#a5afa7}.preview-empty h3{font-family:var(--serif);font-size:18px;color:#697b6d;font-weight:400;margin-top:20px}.preview-empty p{max-width:230px;font-family:Arial,sans-serif;font-size:11px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:5px;font-size:12px;margin-bottom:13px}.field-grid .field{margin:0}.field.full{grid-column:1/-1}.field-label{font-weight:550}.field small{font-weight:400;color:var(--muted);font-size:10px}.field input,.field textarea,.field select{width:100%;min-width:0;border:1px solid #cfdad1;border-radius:4px;padding:10px 11px;background:#fff;color:var(--ink);font-size:13px;line-height:1.45}.field textarea{min-height:77px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:#36785b;outline:2px solid #36785b20}.field input::placeholder,.field textarea::placeholder{color:#a1ada5;font-size:12px}.block{border:1px solid var(--line);border-radius:6px;padding:17px;margin:0 0 15px}.block-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.block-title h3{font-size:13px;margin:0}.remove{background:none;border:0;color:#9c5e53;font-size:11px;padding:3px}.section-title{font-size:13px;margin:24px 0 12px;font-weight:650}.section-title:first-child{margin-top:0}.add{border:1px dashed #adc2b2;background:#f8fbf6;color:var(--green);width:100%;padding:10px;border-radius:4px;font-size:12px;margin-bottom:14px}.sub-block{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.small-add{font-size:11px;background:none;border:0;color:var(--green);padding:6px 0}.checkbox{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.6;margin:10px 0}.checkbox input{width:16px;height:16px;margin-top:2px;accent-color:var(--green);flex-shrink:0}.check-list{margin:0 0 18px;padding:0;list-style:none}.check-list li{display:flex;gap:11px;margin:13px 0;font-size:13px}.check-list .num{width:24px;height:24px;background:var(--soft);border-radius:50%;display:grid;place-items:center;font-size:11px;color:var(--green);flex-shrink:0}.error-box{background:#fff0ed;color:#8b4337;border:1px solid #e9c4bc;padding:12px 15px;border-radius:4px;margin-bottom:18px;font-size:12px}.error-box ul{margin:5px 0;padding-left:18px}.mini-note{font-size:11px;color:var(--muted);line-height:1.7}.summary-row{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.summary-row span{color:var(--muted)}.finish-actions{display:flex;flex-wrap:wrap;gap:10px}.footer{display:flex;justify-content:space-between;gap:20px;color:#7d8b81;font-size:10px;margin-top:25px}.footer a{color:inherit}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#183b2d;color:#fff;padding:12px 18px;border-radius:7px;box-shadow:0 6px 25px #19302520;font-size:12px;z-index:20;display:none;max-width:90vw}.mobile-preview-toggle{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.review-tag{display:inline-flex;border-radius:3px;background:#f4ecd8;color:#816a35;padding:3px 7px;font-size:10px}.review-tag.ok{background:#e4efe3;color:#386144}.radio-options{display:flex;gap:12px;flex-wrap:wrap}.radio-options label{display:flex;gap:5px;align-items:center;font-size:12px}.radio-options input{accent-color:var(--green)}.nowrap{white-space:nowrap} @media(min-width:1500px){.paper-stage{max-height:780px}.paper{min-height:700px;font-size:12px;padding:48px 45px}}@media(max-width:1000px){.topbar{padding:0 25px}.wrap{padding:28px 25px 40px}.workspace{gap:18px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.editor-head,.editor-body{padding:23px 20px}.editor-footer{padding:18px 20px}.paper-stage{padding:14px}.paper{padding:30px 23px}.hero .privacy{max-width:260px}.step:after{margin-right:12px;margin-left:12px}.step{font-size:11px;gap:7px}h1{font-size:33px}}@media(max-width:760px){.topbar{height:70px;padding:0 18px}.brand-sub{font-size:8px}.brand-title{font-size:12px}.brand-mark{width:35px;height:35px;font-size:25px}.top-right .quiet{display:none}.badge{font-size:8px;padding:5px 7px}.wrap{padding:24px 16px 35px}.hero{display:block;margin-bottom:22px}h1{font-size:32px}.intro{font-size:13px}.hero .privacy{max-width:none;margin-top:16px;font-size:11px}.flow{padding:15px 13px;margin-bottom:18px;gap:6px}.step{flex-direction:column;gap:6px;align-items:center;text-align:center;font-size:9px;flex:1!important}.step:after{display:none}.step-number{width:26px;height:26px}.workspace{grid-template-columns:1fr}.preview-shell{position:static}.paper-stage{max-height:none}.paper{min-height:560px;padding:34px 29px;font-size:11px}.preview-empty{min-height:420px}.editor-head,.editor-body{padding:22px 20px}.field-grid{gap:12px}.field-grid .field.full-mobile{grid-column:1/-1}.footer{display:block;text-align:center;line-height:1.9}.footer span{display:block}.mobile-preview-toggle{display:block;color:var(--green);font-size:11px;margin-top:14px}.choice{padding:16px;gap:12px}.choice.selected{padding:15px}.choice-title{font-size:14px}.choice-icon{width:35px}.editor-footer .quiet{font-size:10px}.finish-actions .btn{width:100%}}@media print{body{background:#fff}.topbar,.hero,.flow,.editor,.preview-toolbar,.preview-foot,.footer,#toast{display:none!important}.wrap{padding:0;max-width:none}.workspace{display:block}.preview-shell{position:static}.paper-stage{border:0;background:none;padding:0;overflow:visible;max-height:none}.paper{box-shadow:none;font-size:11pt;padding:0;min-height:0}.paper h2{font-size:15pt}.paper h3{font-size:11pt;break-after:avoid}.paper p{orphans:3;widows:3}.paper .label{display:none}.paper .fine{font-size:8pt}@page{size:A4;margin:20mm}}
.mobile-tabs{display:none}@media(max-width:760px){.mobile-tabs{display:flex;background:#e5ece3;padding:4px;border-radius:5px;margin-bottom:16px;position:sticky;top:0;z-index:5}.mobile-tabs button{width:50%;border:0;background:transparent;font-size:12px;padding:10px 8px;border-radius:4px;color:#6c7c70}.mobile-tabs button.active{background:#fff;color:var(--green);box-shadow:0 1px 3px #18382312;font-weight:600}.workspace .preview-shell{display:none}.workspace.mobile-show-preview .editor{display:none}.workspace.mobile-show-preview .preview-shell{display:block}}@media print{.mobile-tabs{display:none!important}.workspace .preview-shell{display:block!important}}

/* A representative belongs to one specific creditor/applicant card. */
.add-representative{display:flex;align-items:center;gap:14px;width:100%;margin-top:20px;padding:17px 15px;border:1px dashed #8caf99;border-radius:6px;background:#f0f6ed;color:var(--green);text-align:left;transition:background .15s}.add-representative:hover{background:#e6efe2;border-color:var(--green)}.large-plus{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:50%;background:#dcead8;font-size:28px;font-weight:400;line-height:1}.add-representative strong{display:block;font-size:14px;font-weight:650}.add-representative small{display:block;margin-top:3px;color:#647c68;font-size:11px}.representative-panel{border-top:2px solid #c8dbc6;margin-top:22px;padding-top:18px}.representative-panel .block-title{margin-bottom:6px;gap:12px}.representative-panel .block-title h3{color:var(--green)}.representative-scope{font-size:11px;color:var(--muted);margin:0 0 16px}.representative-panel .mini-note{margin-bottom:0}

.party-picks{border:1px solid #dce5d8;border-radius:5px;padding:10px 13px 5px;margin:15px 0}.party-picks legend{font-size:11px;font-weight:650;padding:0 5px;color:var(--green);max-width:100%;overflow-wrap:anywhere}.party-picks .checkbox{margin:7px 0}.auto-assignment{font-size:12px;margin:12px 0}.auto-assignment small{display:block;color:var(--muted);font-size:10px}.representative-picker{border:1px solid var(--line);border-radius:5px;margin-top:8px;padding:14px}.representative-option{display:block;width:100%;border:1px solid var(--line);border-radius:4px;background:white;padding:11px;text-align:left;margin:8px 0;color:var(--ink)}.representative-option:hover{border-color:var(--green);background:#f3f8ef}.representative-option small{display:block;color:var(--muted);font-size:10px}.representative-panel .block-title{align-items:flex-start}.representative-panel .remove{max-width:110px;text-align:right}.query-title{font-size:13px;margin:12px 0}.representative-assignment{background:#f7faf5}

@font-face{font-family:DocumentSerif;src:url('/assets/DejaVuSerif.ttf') format('truetype');font-weight:400;font-style:normal;font-display:block}@font-face{font-family:DocumentSerif;src:url('/assets/DejaVuSerif-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:block}.document-preview{width:100%}.preview-pages{display:grid;gap:20px}.paper.sheet{width:100%;min-height:0;aspect-ratio:210/297;padding:0;overflow:hidden;position:relative}.paper.sheet svg{display:block;width:100%;height:100%}.preview-loading{background:#fff;padding:35px;text-align:center;font-size:12px;color:var(--muted)}@media print{.preview-pages{display:block}.paper.sheet{width:210mm;height:297mm;margin:0;break-after:page;page-break-after:always}.paper.sheet:last-child{break-after:auto;page-break-after:auto}.preview-accessible{display:none!important}.document-preview{width:210mm}.paper-stage{padding:0!important}.workspace,.preview-shell{margin:0;padding:0}@page{size:A4;margin:0}}

.visit-notice{margin-top:15px;margin-bottom:15px}.attachment-notice{margin:15px 0}.field .validation-message:empty{display:none}.field .validation-message.invalid{color:#9c3d30}.field [aria-invalid="true"]{border-color:#b25946}.field .validation-message{line-height:1.5}

/* Readable form interface only. The document preview and PDF keep their own typography. */
@media screen {
  .editor {
    --form-copy: 14px;
    --form-help: 13px;
    --form-heading: 15px;
    --form-muted: #40584c;
    font-size: var(--form-copy);
    line-height: 1.65;
  }
  .editor .editor-head p,
  .editor .choice-desc,
  .editor .note,
  .editor .mini-note,
  .editor .field,
  .editor .checkbox,
  .editor .radio-options label,
  .editor .auto-assignment,
  .editor .summary-row,
  .editor .check-list li { font-size: var(--form-copy); }
  .editor .editor-head p,
  .editor .choice-desc,
  .editor .mini-note,
  .editor .representative-scope,
  .editor .add-representative small,
  .editor .representative-option small,
  .editor .auto-assignment small,
  .editor .field small,
  .editor .summary-row span,
  .editor .quiet { color: var(--form-muted); }
  .editor .note { color: #3d5745; }
  .editor .note.warning { color: #705419; }
  .editor .field small,
  .editor .representative-scope,
  .editor .add-representative small,
  .editor .representative-option small,
  .editor .auto-assignment small,
  .editor .quiet { font-size: var(--form-help); line-height: 1.65; }
  .editor .field { gap: 7px; }
  .editor .field-label { font-weight: 600; }
  .editor .field input,
  .editor .field textarea,
  .editor .field select { font-size: 16px; line-height: 1.5; }
  .editor .field input::placeholder,
  .editor .field textarea::placeholder { color: #617366; font-size: var(--form-copy); opacity: 1; }
  .editor .field .validation-message.invalid { color: #9c3d30; }
  .editor .choice-title { font-size: 16px; }
  .editor .block-title h3,
  .editor .section-title,
  .editor .query-title,
  .editor .add-representative strong { font-size: var(--form-heading); }
  .editor .sub-block > h3 { font-size: var(--form-heading) !important; }
  .editor .party-picks legend,
  .editor .btn,
  .editor .add,
  .editor .small-add,
  .editor .remove,
  .editor .error-box { font-size: var(--form-copy); }
  .editor .review-tag,
  .editor .check-list .num { font-size: var(--form-help); }
  .editor .editor-head .eyebrow { font-size: 11px !important; }
  .editor .block-title { gap: 12px; }
  .editor .block-title h3,
  .editor .field-label,
  .editor .checkbox span { overflow-wrap: anywhere; }
  .editor .editor-footer { flex-wrap: wrap; }
  .editor .editor-footer .quiet { flex: 1 1 180px; }
  .editor .checkbox input { margin-top: 4px; }
  .flow .step { font-size: 13px; color: #52665a; }
  .flow .step.active { color: var(--ink); }
  .mobile-tabs button { font-size: 14px; }
  .form-scroll-cue {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 16px 0 0;
    padding: 10px 14px;
    min-height: 44px;
    border: 1px solid #a9c2ae;
    border-radius: 6px;
    background: #edf5e9;
    color: #1f543d;
    font-size: var(--form-copy);
    font-weight: 650;
    line-height: 1.5;
    text-align: left;
    transition: background-color .15s, border-color .15s;
  }
  .form-scroll-cue[hidden] { display: none; }
  .form-scroll-cue:hover { background: #e2efdc; border-color: #619374; }
  .form-scroll-cue:focus-visible { outline: 3px solid #216451; outline-offset: 3px; }
  .form-scroll-cue svg { flex: 0 0 22px; }
}
@media screen and (min-width: 1500px) {
  .editor { --form-copy: 15px; --form-help: 14px; --form-heading: 16px; }
  .editor .choice-title { font-size: 17px; }
  .flow .step { font-size: 14px; }
}
@media screen and (max-width: 760px) {
  .flow .step { font-size: 11px; }
  .editor .field-grid { grid-template-columns: minmax(0, 1fr); }
  .editor .field-grid .field.full { grid-column: auto; }
  .editor .editor-footer .btn { max-width: 100%; }
}
@media screen and (prefers-reduced-motion: reduce) {
  .form-scroll-cue { transition: none; }
}
@media print { .form-scroll-cue { display: none !important; } }

/* Five-stage navigation keeps long labels within their own step. */
.flow .step{min-width:0}.flow .step>span:last-child{min-width:0;overflow-wrap:anywhere}
@media screen and (max-width:760px){.editor{scroll-margin-top:64px}}

/* Validation navigation: native buttons, visible text, and a shape-based focus cue. */
@media screen {
  .editor .error-instruction { margin: 5px 0; }
  .editor .error-link { display: inline; border: 0; border-radius: 2px; background: transparent; color: inherit; font: inherit; line-height: 1.6; padding: 4px 2px; text-align: left; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
  .editor .error-link:hover { text-decoration-thickness: 2px; }
  .editor .error-link:focus-visible, .editor .error-box:focus { outline: 3px solid currentColor; outline-offset: 3px; }
  .editor .error-target-active { outline: 3px solid #963f2d; outline-offset: 5px; border-radius: 3px; scroll-margin-block: 80px; }
  .editor .error-target-active input:focus, .editor .error-target-active select:focus, .editor .error-target-active textarea:focus { outline: 2px solid #963f2d; outline-offset: 2px; }
  .editor .error-target-note { display: block; color: #8b4337; font-size: var(--form-help, 12px); font-weight: 650; line-height: 1.6; text-align: left; text-decoration: none; margin-top: 6px; }
  .editor .checkbox.error-target-active { flex-wrap: wrap; }
  .editor .checkbox.error-target-active > .error-target-note { flex-basis: 100%; }
  .editor #validation-summary:empty { display: none; }
}

/* Entry conditions: a native modal with a scrollable text and visible choices. */
body.entry-locked { overflow: hidden; }
.entry-dialog { box-sizing: border-box; width: min(800px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid #c7d5ca; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 24px 90px #102d3352; }
.entry-dialog[open] { display: flex; flex-direction: column; }
.entry-dialog::backdrop { background: #112b26b8; backdrop-filter: blur(3px); }
.entry-header { flex: 0 0 auto; padding: 24px 30px 18px; background: #f4f7f1; border-bottom: 1px solid var(--line); }
.entry-eyebrow { margin: 0 0 8px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.entry-header h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.2; }
.entry-header h2:focus { outline: none; }
.entry-header > p:last-child { margin: 0; color: #40584c; font-size: 14px; line-height: 1.6; }
.entry-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px 30px; font-size: 14px; line-height: 1.7; scrollbar-gutter: stable; }
.entry-content section + section { margin-top: 22px; }
.entry-content h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.5; color: #254b39; }
.entry-content p { margin: 0 0 10px; }
.entry-content p:last-child { margin-bottom: 0; }
.entry-content a { color: #23573f; text-underline-offset: 3px; overflow-wrap: anywhere; }
.entry-emphasis { padding: 16px; border: 1px solid #d5dfcf; border-left: 4px solid var(--green); border-radius: 5px; background: #f5f8f2; }
.entry-footer { flex: 0 0 auto; padding: 16px 30px 22px; border-top: 1px solid var(--line); background: #fff; }
.entry-footer > p { margin: 0 0 13px; font-size: 12px; line-height: 1.6; color: #40584c; }
.entry-actions { display: flex; gap: 12px; }
.entry-actions .btn { flex: 1 1 0; min-height: 48px; padding: 12px; font-size: 14px; line-height: 1.45; text-align: center; }
.entry-actions .btn:focus-visible, .entry-content a:focus-visible { outline: 3px solid #216451; outline-offset: 3px; }
.entry-content:focus-visible { outline: 2px solid #216451; outline-offset: -4px; }
.entry-noscript { max-width: 650px; margin: 40px auto; padding: 20px; font-size: 16px; }
@media screen and (max-width: 560px) {
  .entry-dialog { width: calc(100% - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 9px; }
  .entry-header { padding: 18px 20px 14px; }
  .entry-header h2 { font-size: 26px; }
  .entry-content { padding: 18px 20px; }
  .entry-footer { padding: 13px 20px 16px; }
  .entry-actions { flex-direction: column; gap: 8px; }
  .entry-actions .btn { flex-basis: auto; }
}
@media screen and (max-height: 480px) {
  .entry-header { padding: 10px 18px; }
  .entry-eyebrow { display: none; }
  .entry-header h2 { font-size: 22px; }
  .entry-header > p:last-child { font-size: 12px; line-height: 1.4; }
  .entry-footer { padding: 10px 18px; }
  .entry-footer > p { margin-bottom: 8px; font-size: 11px; line-height: 1.4; }
  .entry-actions { flex-direction: row; }
  .entry-actions .btn { min-height: 40px; padding: 8px; font-size: 12px; }
}
@media print { .entry-dialog { display: none !important; } body.entry-locked #app { display: none !important; } }
