.template-wrap{padding:20px;background:linear-gradient(145deg,#5c6264,#2f3537);overflow:hidden}.template-paper{position:relative;width:100%;aspect-ratio:210/297;background:#f7f3e9;color:#172532;box-shadow:0 10px 28px #0008;overflow:hidden;container-type:inline-size}.doc-frame{position:absolute;inset:2.8%;border:.12cqw solid #c49b4c;padding:2.35%;display:flex;flex-direction:column;box-sizing:border-box}.doc-letterhead{height:12%;display:grid;grid-template-columns:14% 1fr 15%;align-items:center;gap:3%}.doc-seal{width:100%;aspect-ratio:1;object-fit:contain;background:transparent}.doc-agency{text-align:center;min-width:0}.doc-state,.doc-office{display:block;color:#98772f;font:700 .82cqw/1.3 Arial,sans-serif;letter-spacing:.34em}.template-department{margin:.7cqw 0;color:#0d2740;font:900 2.7cqw/1.04 Georgia,serif;text-transform:uppercase;overflow-wrap:anywhere}.template-department span{display:block}.doc-classification{border:.1cqw solid #b78c36;padding:.65cqw .25cqw;color:#9a7227;text-align:center;font:800 .82cqw/1.35 Arial,sans-serif;letter-spacing:.08em}.doc-rule{height:1.2%;border-top:.75cqw solid #0b2942;border-bottom:.12cqw solid #c49b4c;position:relative}.doc-rule i{position:absolute;top:-.75cqw;left:0;width:18%;border-top:.75cqw solid #c49b4c}.doc-heading{height:12%;position:relative;text-align:center;padding-top:2.1cqw;box-sizing:border-box}.template-type{color:#a47d31;font:800 .9cqw Arial,sans-serif;letter-spacing:.22em;text-transform:uppercase}.template-title{margin-top:1.35cqw;color:#10283e;font:900 2.65cqw/1.1 Georgia,serif;text-transform:uppercase;padding:0 12%}.doc-number-chip{position:absolute;right:0;top:1.7cqw;border:.1cqw solid #c09a4f;padding:.5cqw .7cqw;color:#937026;font:800 .7cqw Arial,sans-serif}.doc-metadata{display:grid;grid-template-columns:1fr 1fr;border:.1cqw solid #aeb1ad}.doc-metadata>div{min-height:5.2cqw;padding:1cqw 1.2cqw;border-right:.1cqw solid #aeb1ad;border-bottom:.1cqw solid #aeb1ad;box-sizing:border-box;min-width:0}.doc-metadata>div:nth-child(2n){border-right:0}.doc-metadata small{display:block;color:#8b6c31;font:700 .68cqw Arial,sans-serif;letter-spacing:.15em}.doc-metadata strong{display:block;margin-top:.72cqw;color:#172532;font:700 1.03cqw Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.doc-metadata .doc-subject{grid-column:1/-1;border-right:0;border-bottom:0}.doc-content{flex:1;min-height:0;padding-top:2.1cqw}.doc-section-label{display:flex;align-items:center;gap:1cqw;color:#98752d;font:800 .72cqw Arial,sans-serif;letter-spacing:.18em}.doc-section-label:after{content:"";height:.1cqw;background:#c6bfae;flex:1}.template-body{height:calc(100% - 2.6cqw);padding-top:1.45cqw;box-sizing:border-box;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;color:#172532;font:1.17cqw/1.62 Georgia,serif}.template-signatures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6%;min-height:10.5cqw;padding:1.5cqw 2% 0}.template-signatures>div{align-self:end;text-align:center;border-top:.1cqw solid #4f5659;padding-top:.8cqw;min-width:0}.template-signatures strong{display:block;color:#0f2940;font:400 2cqw/1.1 "Segoe Script","Brush Script MT",cursive;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.template-signatures small,.template-signatures em{display:block;margin-top:.45cqw;color:#5f6465;font:700 .76cqw Arial,sans-serif;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.doc-footer{height:4.2cqw;margin-top:1cqw;background:#092640;border-top:.35cqw solid #c39b4d;color:#f7f3e9;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:1.5cqw;padding:0 1.3cqw;font:700 .57cqw Arial,sans-serif;letter-spacing:.12em}.doc-footer span:nth-child(2){color:#e0b554}.template-paper.signature-only .doc-content{display:none}.template-paper.signature-only .template-signatures{flex:1;align-items:center;padding-top:18%}.template-paper.signature-only .doc-metadata{display:none}.template-paper.signature-only .doc-heading{height:16%}.template-paper.signature-only .template-signatures>div{align-self:center}.template-paper.signature-only .template-signatures strong{font-size:2.5cqw}html[data-theme="sakura"] .template-wrap{background:linear-gradient(145deg,#e4becd,#995f77)}@media(max-width:700px){.template-wrap{padding:6px}}
