
#modal:has(.po-sheet){padding:0;border:1px solid #dce7e0;width:min(790px,94vw);border-radius:15px;overflow:auto}
#modal:has(.po-sheet)>button{display:none}
.po-sheet{background:#fff;color:#1c352a}.po-header,.po-title,.po-intro,.po-foot,.po-sku,.po-tasklist article,.po-files>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.po-header{background:#edf5ef;border-bottom:1px solid #dce7df;margin:0;padding:16px 24px}.po-header small{color:#466556}.po-header h2{margin:3px 0 0;font-size:23px}.po-header button{font-size:22px;background:transparent}
.po-content{padding:18px 24px}.po-content h3{font-size:16px;margin:0 0 8px}.po-content form{margin:0}
.po-intro p{margin:0;color:#577060}.po-intro>strong,.po-count{font-size:24px;font-weight:bold}.po-intro small{font-size:13px}
.po-deadline{font-size:12px;color:#446753;margin-top:10px}.po-deadline .task-time{display:inline}
.po-content section{border-top:1px solid #e0e9e2;padding-top:15px;margin-top:15px}
.po-codes{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;gap:9px}.po-content label{display:grid;align-content:start;gap:5px;font-size:12px;color:#4e6358}.po-content input,.po-content select{min-width:0;padding:9px}
.po-sku{background:#f1f6f2;border-radius:9px;padding:11px 14px;margin-top:12px}.po-sku small,.po-info small,.po-tasklist small,.po-files small{display:block;color:#61786b;font-size:12px}
.po-sku output{font-family:Consolas,monospace;font-weight:bold;font-size:16px;color:#176849}.po-title h3{margin:0}.po-title h3 small{color:#60786a;font-size:12px}
.po-sku-rule,.po-sku-note{margin:4px 0 12px;font-size:13px;color:#526b5b}.po-sku-note{margin:7px 0 0}.po-sku-note:empty{display:none}.po-sku-note.po-error{color:#ad3835}
.po-codes [data-attr-hint]{font-size:11px;font-weight:400;color:#506b5c;line-height:1.4;overflow-wrap:anywhere}
.po-sku [data-length]{margin-inline-start:8px;color:#466a55}.po-sku output{display:block;margin-top:3px;font-size:20px;letter-spacing:.045em}
.po-shop{display:grid;grid-template-columns:1.2fr .9fr 1.4fr auto;gap:10px;align-items:end;margin:10px 0}.po-shop button{padding:10px}
.po-balance{margin-top:10px;padding:9px 11px;background:#fff6e2;color:#855b17;border-radius:6px}.po-balance.correct{background:#e9f5ed;color:#20643e}
.po-foot{margin-top:14px}.po-foot>span{color:#566e60;font-size:12px}.po-info{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px;background:#f3f7f4;padding:12px;border-radius:8px}.po-info b{display:block;margin-top:4px}
.po-tasklist article,.po-files>div{padding:11px 0;border-top:1px solid #e3eae4}.po-tasklist article>div{flex:1}.po-tasklist small,.po-files small{margin-top:4px}.po-files{margin-top:13px}.po-files p{color:#65796e}
.po-content [data-upload]{border:1px dashed #a9c6b1;padding:12px;border-radius:8px;margin-top:12px}.po-content [data-error]:empty{display:none}
@media(max-width:620px){.po-header,.po-content{padding:14px}.po-codes,.po-shop{grid-template-columns:1fr 1fr}.po-foot,.po-tasklist article{flex-wrap:wrap}.po-tasklist article>div{min-width:65%}}

