
*{box-sizing:border-box}
html,body{margin:0;background:#f2f3f7;color:#243851;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.template-nav{padding:14px 24px;background:#1b2d4a;color:#fff;display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}
.template-nav a{color:#fff;text-decoration:none;font-size:13px;font-weight:750}
.template-nav button{border:0;background:#ffe5a1;color:#283d58;border-radius:11px;padding:11px 16px;font-weight:900;cursor:pointer}
.template-paper{width:min(210mm,calc(100% - 28px));margin:26px auto;padding:19mm;background:white;box-shadow:0 15px 40px #18294317}
.template-paper header{border-bottom:3px solid #334c79;padding-bottom:12px}
.template-paper header span{font-size:10px;letter-spacing:.08em;font-weight:950;color:#6755b7}
.template-paper h1{font-size:29px;color:#253c5d;margin:8px 0}
.template-paper header p{font-size:12px;color:#678}
.template-info{margin:15px 0;font-size:12px}
.template-info .line{display:inline-block;border-bottom:1px dotted #8e99aa;width:65%;height:13px}
.template-info .line.short{width:38%}
.template-block{margin:15px 0;break-inside:avoid}
.template-block h2{color:#4b3f8a;font-size:15px;margin:0 0 4px}
.template-block p{color:#6c7a90;font-size:10px;margin:0 0 8px}
.writing-lines{min-height:95px;background:repeating-linear-gradient(to bottom,transparent 0px,transparent 26px,#d9e2ef 27px,#d9e2ef 28px)}
.template-review{margin-top:20px;padding:12px;background:#f7f6fc;break-inside:avoid;border:1px solid #dddbe9}
.template-review h2{font-size:15px;margin:0 0 10px}
.template-review label{display:block;font-size:12px;margin:7px 0}
.template-paper footer{font-size:10px;line-height:1.6;color:#69788f;margin-top:20px}
@media(max-width:550px){.template-paper{padding:17px;margin:10px auto}.template-paper h1{font-size:24px}.template-info .line{width:40%}}
@media print{@page{size:A4;margin:12mm}body{background:white} .template-nav{display:none!important}.template-paper{width:auto;margin:0;padding:0;box-shadow:none} .template-block{margin:12px 0}.writing-lines{min-height:78px} .template-info{margin:10px 0}.template-paper header{padding-bottom:7px}.template-paper h1{font-size:26px}}
