@font-face{font-family:OrderSerif;src:url('/fonts/DejaVuSerif.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:OrderSerif;src:url('/fonts/DejaVuSerif-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
.order-layout{display:grid;grid-template-columns:minmax(0,820px) minmax(250px,340px);gap:24px;align-items:start;justify-content:center}.order-paper{max-width:820px;margin:0 auto;padding:54px 60px 28px;background:#fff;border:1px solid var(--line,#d8e2dc);box-shadow:0 3px 15px #142c2c08;color:#1e2925;font:16px/1.65 OrderSerif,Georgia,serif;overflow-wrap:anywhere}.order-letterhead{text-align:center;padding-bottom:24px;border-bottom:2px solid #183f36;color:#183f36}.order-letterhead strong{display:block;font-size:17px;letter-spacing:1px}.order-letterhead span{font-size:12px}.order-paper h2.order-heading{text-align:center;letter-spacing:5px;margin:32px 0 22px;font:700 23px/1.3 OrderSerif,Georgia,serif}.order-requisites{display:flex;justify-content:space-between;gap:20px;font-size:14px}.order-paper h3.order-subject{text-align:center;margin:30px 0 24px;font:700 17px/1.6 OrderSerif,Georgia,serif}.order-paper p{font:inherit;line-height:1.75;margin:0 0 18px}.order-command{font-weight:700!important;margin-top:24px!important}.order-signature{display:flex;justify-content:space-between;align-items:center;gap:26px;margin:40px 0 24px;break-inside:avoid}.order-signature b,.order-signature span,.order-signature small{display:block}.order-signature small{color:#61736b;font-size:11px;line-height:1.6;margin-top:10px}.order-stamp{width:136px;height:136px;border:2px solid #183f36;border-radius:50%;outline:1px solid #183f36;outline-offset:-8px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#183f36;flex-shrink:0;text-align:center;transform:rotate(-7deg)}.order-stamp b{font-size:27px;line-height:1.2}.order-stamp span{font-size:11px;font-weight:700}.order-stamp small{font-size:8px;color:inherit;margin-top:3px}.order-paper footer{border-top:1px solid #d8e2dc;margin-top:26px;padding-top:12px;font:10px/1.6 system-ui,sans-serif;color:#61736b}.order-publish-panel{position:sticky;top:24px}.order-publish-panel .btn{width:100%;margin-top:18px;white-space:normal;min-height:48px}.order-publish-panel p{line-height:1.7}.order-impact{margin:18px 0;display:grid;gap:7px}.order-impact dt{color:var(--muted);font-size:12px}.order-impact dd{margin:0 0 10px;overflow-wrap:anywhere}.order-search{display:grid;grid-template-columns:minmax(180px,1fr) minmax(150px,220px) auto;gap:16px;align-items:end;padding-bottom:20px}.order-search label{display:block;margin:0 0 8px}.order-search .btn{min-height:44px}.order-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.order-span{grid-column:1/-1}.order-field label{display:block;margin:0 0 9px}.order-field textarea{min-height:80px;resize:vertical;width:100%}.order-field #order-body{min-height:210px}.order-form-footer{border-top:1px solid var(--line);padding-top:20px;margin-top:24px;display:flex;gap:24px;justify-content:space-between;align-items:center}.order-form-footer p{max-width:470px}.order-grants{border:1px solid var(--line);border-radius:8px;padding:18px}.order-grants legend{padding:0 8px;font-weight:600}.order-grants label{display:flex;gap:10px;align-items:center;margin:12px 0}.order-grants input{width:auto;min-height:0}.order-status{line-height:1.75}.order-status a{color:inherit;text-decoration:underline}.order-more{margin-top:20px}.order-archive .row{gap:18px}.order-archive .tag{flex-shrink:0}.order-archive a.row{color:inherit;text-decoration:none}.order-archive a.row:hover{background:var(--accent-soft)}.order-archive .row-main{min-width:0}.order-archive .row-title,.order-archive .row-sub{overflow-wrap:anywhere}
@media(max-width:1050px){.order-layout{grid-template-columns:minmax(0,1fr)}.order-publish-panel{position:static;grid-row:1}.order-publish-panel .btn{max-width:340px}.order-form-footer{align-items:flex-start;flex-direction:column}.order-search{grid-template-columns:1fr 200px}.order-search .btn{grid-column:1/-1;justify-self:start}}
@media(max-width:640px){.order-paper{padding:28px 20px 20px;font-size:14px}.order-letterhead strong{font-size:14px;letter-spacing:.4px}.order-paper h2.order-heading{font-size:21px}.order-paper h3.order-subject{font-size:16px}.order-form-grid{grid-template-columns:minmax(0,1fr)}.order-span{grid-column:auto}.order-search{grid-template-columns:minmax(0,1fr)}.order-archive .row{align-items:flex-start;flex-direction:column}.order-stamp{width:105px;height:105px}.order-stamp b{font-size:22px}.order-stamp span{font-size:9px}.order-stamp small{font-size:6px}.order-signature{gap:12px}.order-form-footer .actions{width:100%;display:grid}.order-requisites{font-size:12px}}
@media print{.order-paper{box-shadow:none;border:0;max-width:none;padding:0;font-size:11pt}.order-publish-panel,.order-status{display:none}.order-paper footer{display:none}.order-paper p{orphans:3;widows:3}}

.order-demo-switch{display:flex;gap:12px;align-items:center;margin-bottom:20px}.order-demo-switch label{white-space:nowrap;font-size:12px}.order-demo-switch select{max-width:240px}@media print{body .sidebar,body .topbar,body .design-badge,body .page-head,body .order-demo-switch{display:none!important}.app,.shell,.main{display:block!important;margin:0!important;padding:0!important}.order-paper{width:100%;max-width:none}.order-stamp{transform:none}@page{size:A4;margin:20mm 22mm 25mm}}
