body{background:linear-gradient(#f4efe9 0%,#efe8df 100%)}.unit-shell{gap:1rem;width:min(1240px,100vw - 2rem);margin:0 auto;padding:1.3rem 0 3rem;display:grid}.unit-shell .unit-topbar,.unit-shell .unit-actions-card,.unit-shell .unit-history,.unit-shell .history-card,.unit-shell .page-status{background:#fffcf8f5;border:1px solid #755c4e1f;border-radius:22px;box-shadow:0 14px 32px #3f2c1f0f}.unit-shell .unit-topbar,.unit-shell .unit-actions-card,.unit-shell .unit-history{padding:.95rem 1rem}.unit-shell .unit-topbar{grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);align-items:start;gap:.8rem 1rem;display:grid}.unit-shell .unit-copy,.unit-shell .unit-side,.unit-shell .unit-summary,.unit-shell .unit-actions-card,.unit-shell .unit-history,.unit-shell .history-card,.unit-shell .history-main,.unit-shell .history-side,.unit-shell .history-annexes{gap:.8rem;display:grid}.unit-shell .unit-summary{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr))}.unit-shell .visual-card{background:#f8f4eff2;border:1px solid #755c4e1c;border-radius:16px;gap:.5rem;padding:.85rem .9rem;display:grid}.unit-shell .visual-card img{object-fit:cover;border:1px solid #755c4e1a;border-radius:12px;width:100%;height:132px;display:block}.unit-shell .summary-card{background:#f8f4eff2;border:1px solid #755c4e1c;border-radius:16px;gap:.18rem;padding:.85rem .9rem;display:grid}.unit-shell .summary-card span,.unit-shell .eyebrow,.unit-shell .history-meta span,.unit-shell .history-note span{text-transform:uppercase;letter-spacing:.08em;color:#966141;font-size:.72rem;font-weight:800}.unit-shell .summary-card strong{color:#221c18;font-size:1.1rem;line-height:1.15}.unit-shell h1,.unit-shell h2,.unit-shell h3,.unit-shell p{margin:0}.unit-shell h1{letter-spacing:-.03em;color:#221c18;font-size:clamp(1.2rem,2vw,1.6rem);line-height:1.12}.unit-shell h2{color:#221c18;letter-spacing:-.02em;font-size:.96rem;line-height:1.2}.unit-shell h3{color:#221c18;font-size:1rem;line-height:1.2}.unit-shell .subtle,.unit-shell .history-card p,.unit-shell .page-status{color:#655950;font-size:.95rem;line-height:1.55}.unit-shell .chip-row,.unit-shell .history-gallery{flex-wrap:wrap;gap:.5rem;display:flex}.unit-shell .actions-toolbar{grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;width:100%;display:grid}.unit-shell .actions-toolbar .button{box-sizing:border-box;width:100%}.unit-shell .chip{color:#645449;background:#ffffffd1;border:1px solid #755c4e21;border-radius:999px;justify-content:center;align-items:center;min-height:2rem;padding:.36rem .72rem;font-size:.84rem;font-weight:700;display:inline-flex}.unit-shell .button{cursor:pointer;border:1px solid #755c4e26;border-radius:999px;justify-content:center;align-items:center;min-height:2.7rem;padding:.72rem 1rem;font-size:.92rem;font-weight:800;text-decoration:none;display:inline-flex}.unit-shell .button-primary{color:#fff9f3;background:#b96e42;border-color:#0000}.unit-shell .button:disabled{color:#4c443e80;cursor:not-allowed;background:#cfc9c3b8;border-color:#755c4e14}.unit-shell .operation-rule{color:#446858;margin:.45rem 0 0;font-size:.88rem;font-weight:750;line-height:1.4}.unit-shell .button-secondary{color:#5e4b3d;background:#ffffffdb}.unit-shell .button-danger{color:#fff;background:#a83f39;border-color:#0000}.unit-shell .history-list{gap:.8rem;display:grid}.unit-shell .history-card{background:#f9f6f1d6;border:1px solid #755c4e1c;border-radius:18px;grid-template-columns:minmax(0,1.4fr) minmax(360px,.75fr);align-items:start;padding:.85rem .9rem}.unit-shell .history-main{gap:.62rem}.unit-shell .history-meta{flex-wrap:wrap;gap:.5rem;display:flex}.unit-shell .history-gallery{gap:.55rem}.unit-shell .history-thumb{background:#ffffffe6;border:1px solid #755c4e1f;border-radius:14px;width:72px;height:72px;overflow:hidden}.unit-shell .history-thumb img{object-fit:cover;width:100%;height:100%;display:block}.unit-shell .history-more{color:#6a584c;text-align:center;background:#ffffffd1;border:1px solid #755c4e1f;border-radius:14px;place-items:center;min-width:72px;min-height:72px;padding:.55rem;font-size:.78rem;font-weight:800;display:grid}.unit-shell .history-annexes{border-top:1px solid #755c4e1f;gap:.48rem;padding-top:.55rem}.unit-shell .history-annex-row{background:#ffffffb8;border:1px solid #755c4e1a;border-radius:13px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.45rem .7rem;padding:.55rem .65rem;display:grid}.unit-shell .history-annex-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.65rem;display:flex}.unit-shell .history-annex-block{gap:.45rem;display:grid}.unit-shell .history-annex-row p{font-size:.86rem}.unit-shell .history-annex-row a{color:#8b5537;font-size:.82rem;font-weight:800;text-decoration:none}.unit-shell .annul-link{color:#9a3d37;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:.82rem;font-weight:800}.unit-shell .record-documents{background:#fffcf8e6;border:1px solid #755c4e1f;border-radius:15px;gap:.65rem;margin-top:.3rem;padding:.75rem;display:grid}.unit-shell .record-documents-head,.unit-shell .budget-current,.unit-shell .report-ready{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem;display:flex}.unit-shell .budget-form{grid-template-columns:minmax(130px,.42fr) minmax(220px,1fr) auto;align-items:end;gap:.55rem;display:grid}.unit-shell .budget-form label{color:#655950;gap:.3rem;font-size:.78rem;font-weight:800;display:grid}.unit-shell .budget-form input{box-sizing:border-box;color:#332a24;background:#fff;border:1px solid #755c4e29;border-radius:12px;width:100%;min-height:2.7rem;padding:.58rem .7rem}.unit-shell .document-actions{flex-wrap:wrap;gap:.45rem;display:flex}.unit-shell .document-actions .button{min-height:2.35rem;padding:.5rem .8rem;font-size:.8rem}.unit-shell .history-side{text-align:center;justify-items:stretch;width:100%}.unit-shell .history-note{box-sizing:border-box;background:#ffffffe6;border:1px solid #755c4e1a;border-radius:14px;gap:.18rem;width:100%;padding:.72rem .8rem;display:grid}.unit-shell .history-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;width:100%;display:grid}.unit-shell .history-actions .button{box-sizing:border-box;text-align:center;white-space:normal;width:100%;height:3.2rem;min-height:3.2rem;padding:.55rem .7rem;line-height:1.15}.unit-shell .history-annul-action{width:100%;display:grid}.unit-shell .history-annul-action .button{color:#963a34;background:#a83f3912;border-color:#a83f393d;width:100%;min-height:2.55rem;padding:.58rem .75rem;font-size:.84rem}.unit-shell .annul-dialog{color:#302721;background:#fffaf6;border:1px solid #755c4e26;border-radius:20px;width:min(560px,100vw - 2rem);padding:0;box-shadow:0 28px 70px #2a1d1540}.unit-shell .annul-dialog::backdrop{backdrop-filter:blur(3px);background:#2319137a}.unit-shell .annul-form{gap:.85rem;padding:1rem;display:grid}.unit-shell .annul-form h2,.unit-shell .annul-form p{margin:0}.unit-shell .annul-warning{background:#a83f390f;border:1px solid #a83f3929;border-radius:14px;gap:.28rem;padding:.75rem .8rem;display:grid}.unit-shell .annul-warning p{color:#6b5850;line-height:1.45}.unit-shell .annul-form>label:not(.annul-confirm){color:#5d4d43;gap:.35rem;font-size:.84rem;font-weight:800;display:grid}.unit-shell .annul-form textarea{box-sizing:border-box;resize:vertical;color:#302721;width:100%;font:inherit;background:#fff;border:1px solid #755c4e2e;border-radius:13px;padding:.7rem}.unit-shell .annul-confirm{color:#5e5047;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.55rem;font-size:.85rem;line-height:1.4;display:grid}.unit-shell .annul-confirm input{margin-top:.15rem}.unit-shell .annul-dialog-actions{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:.6rem;display:grid}.unit-shell .annul-error{color:#913731;background:#a83f3914;border-radius:12px;padding:.6rem .7rem;font-size:.84rem;font-weight:750}.unit-shell .annul-dialog-actions .button{white-space:normal;width:100%;line-height:1.2}.unit-shell .page-status{padding:.9rem 1rem;font-weight:700}.unit-shell .hidden{display:none!important}@media (width<=1024px){.unit-shell .unit-topbar,.unit-shell .history-card{grid-template-columns:1fr}.unit-shell .unit-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.unit-shell .history-side{text-align:center;justify-items:stretch}}@media (width<=640px){.unit-shell .unit-summary,.unit-shell .actions-toolbar,.unit-shell .history-actions,.unit-shell .history-annex-row{grid-template-columns:1fr}.unit-shell .history-annex-actions{justify-content:flex-start}.unit-shell .annul-dialog-actions,.unit-shell .budget-form{grid-template-columns:1fr}}
