/* Shared visual language: inspector follow-up and administrative dispatch. */
@media screen{
  #view-dispatch .dispatch-banner{background:#0b344c;border:1px solid #496b80;border-radius:14px;min-height:192px;padding:26px 28px;box-shadow:0 12px 26px #12364e12}
  #view-dispatch .dispatch-banner:after{background:linear-gradient(90deg,rgba(4,36,58,.98),rgba(5,47,76,.91) 40%,rgba(5,47,76,.48) 66%,rgba(5,47,76,.08))}
  #view-dispatch .dispatch-banner .banner-art{width:100%;object-position:center 53%;filter:saturate(.86) contrast(1.02)}
  #view-dispatch .hero-eyebrow{color:#f2cc85;font-size:9px;letter-spacing:.11em}#view-dispatch .hero h1{color:#fff;line-height:1.22}#view-dispatch .hero h1 span{color:#c9e7ee}#view-dispatch .hero p{color:#deebf2;font-weight:500;max-width:650px}#view-dispatch .hero-copy{max-width:calc(100% - 375px)}#view-dispatch .hero-chip{background:#ffffffee;border-color:#ffffffb3;box-shadow:none}
  #dispatchKpis button.kpi{font-family:inherit;text-align:left;width:100%}#dispatchKpis button.kpi.active{background:#f1f8fc;border-color:#a6cadc;border-left-color:var(--tone);box-shadow:0 0 0 2px #2479a719}
  #dispatchSearch{width:255px}#dispatchPhase{min-width:145px}#dispatchRows tr{cursor:pointer}#dispatchRows .dispatch-version{display:block;font-size:8px;color:#7a8e9d;margin-top:5px}.dispatch-quick-actions{grid-template-columns:1fr}.dispatch-quick-actions:empty{display:none}
  #dispatchDetail .communication-object p{white-space:pre-line}#dispatchRows .dispatch-empty{border:0;border-radius:0;padding:32px;font-size:11px}#dispatchRows .dispatch-empty .btn{display:block;margin:12px auto 0}.dispatch-receipt-row td{background:#fffcf3}.dispatch-complete-row td{background:#f5faf8}
  .letter-stage{margin-bottom:6px}.letter-stage-tag{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid #bddfdf;border-radius:5px;font-size:8.5px;font-weight:800;line-height:1.3;white-space:nowrap}.letter-stage-tag.composition{color:#137879;background:#effafa}.letter-stage-tag.composition:before{content:'✎';font-size:11px}.letter-stage-tag.officialized{color:#466681;background:#edf2f8;border-color:#cedbe8}.letter-stage-tag.officialized:before{content:'✓';font-size:10px}.officialized-row:not(.selected):not(.attention-row) td{background:#f6f8fb}.composition-row:not(.selected):not(.attention-row) td{background:#fff}#activeRows tr.officialized-row:not(.selected) td:first-child{box-shadow:inset 3px 0 #a9bacb}#activeRows tr.composition-row:not(.selected) td:first-child{box-shadow:inset 3px 0 #51adad}
  .delivery-methods{display:flex;gap:4px;flex-wrap:wrap;margin-top:6px}.delivery-method{display:inline-flex;align-items:center;gap:4px;border:1px solid #ccdae5;border-radius:5px;font-size:8px;font-weight:750;line-height:1.35;padding:4px 6px;color:#365b76;background:#f2f6fb;white-space:normal}.delivery-method.xpresspost{color:#6b4390;background:#f4effb;border-color:#d7c8e9}.delivery-method.xpresspost:before{content:'↗';font-weight:900}.delivery-method.email{color:#1c657e;background:#eef8fc;border-color:#c3e1ed}.delivery-method.standard{color:#596b7a;background:#f5f7f9;border-color:#d6dfe5}
  .admin-header-intro{margin:18px 0 14px;padding-bottom:10px;border-bottom:1px solid #d5e5ee}.admin-header-intro h3{font-size:13px;color:#214c69;margin:0 0 6px}.admin-header-intro p{font-size:10px;line-height:1.6;color:#6b8293;margin:0}.postal-admin-editing .admin-header-field,.postal-admin-editing .postal-address-fields{opacity:1!important}.postal-admin-workspace .return-policy-field,.postal-admin-workspace .response-due-field,.postal-admin-workspace #lwTemplateFields,.postal-admin-workspace .letter-field:has(#lwProperty){display:none!important}.postal-admin-editing .admin-header-field .input:not(:disabled){border-color:#b9d4e3;background:#fff}
}
/* Envelope-window baseline from the user-accepted previous release:
   recipient x=17.268 mm, y=55.550 mm. Postal note is out of flow, never shifts the address.
   New class only: previously frozen municipal/legacy layouts retain their former styling. */
.letter-page.window-letter{padding:0 .68in .7875in .68in}
.window-letter .letter-brand{height:45.3926mm!important;width:100%!important;margin:0!important;display:flex!important;justify-content:center!important;align-items:flex-start!important}
.window-letter .letter-logo{width:165.1mm!important;height:37mm!important;object-fit:contain!important;margin:0 auto!important;max-width:100%!important}
.window-letter .letter-date{width:85mm;margin:0 0 .18in;font-size:11pt;line-height:1.44;color:#354856}
.window-letter .letter-recipient{min-height:.66in;margin:0 0 .18in;line-height:1.31;max-width:115mm}
.window-letter .letter-postal-notice{position:absolute;top:42mm;right:.68in;width:80mm;margin:0;padding:0;color:#002b54;text-align:right;font-size:8pt;line-height:1.2}
.window-letter .letter-postal-notice strong,.window-letter .letter-postal-notice span,.window-letter .letter-postal-notice small{display:block;font-size:8pt;line-height:1.2}.window-letter .letter-postal-notice strong{letter-spacing:.03em}.window-letter .letter-postal-notice small{font-weight:400;font-size:7.5pt;margin-top:1pt}
.window-letter .letter-subject{display:grid;grid-template-columns:.68in minmax(0,1fr);gap:.04in;padding-bottom:7pt;margin:0 0 14pt;border-bottom:1px solid #0b3a6a;color:#002b54;line-height:1.35}
.window-letter .letter-subject-label,.window-letter .letter-subject-value{font-size:11pt;font-weight:700}.window-letter .letter-signature{border:0;color:#1f252a}.window-letter.paginated-page[data-first-page='false']{padding-top:.9847in}
@media screen and (max-width:1200px){#view-dispatch .hero-copy{max-width:100%}#view-dispatch .hero-summary{display:none}}
@media screen and (max-width:700px){#dispatchSearch{width:100%}#dispatchPhase{max-width:100%}#dispatchFilterSummary{align-items:flex-start;flex-direction:column}}
