.orders{margin:20px 0;--order-accent:var(--blue,#c8a16e)}.orders-head,.orders-actions{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.orders h2{font:32px 'Bebas Neue',sans-serif;margin:0}.orders small,.orders .muted{color:var(--text3)}.orders-list{display:grid;gap:8px;margin:14px 0}.orders-card{display:flex;gap:16px;align-items:center;justify-content:space-between;text-align:left;background:var(--dark2);border:1px solid var(--border);border-left:4px solid var(--order-accent);padding:16px;border-radius:8px;color:var(--text);font:inherit;cursor:pointer;width:100%}.orders-card strong{display:block;font-size:16px;margin-bottom:6px}.orders-card span{font-size:12px;color:var(--text2)}.orders-card em{font-style:normal;color:var(--green)}.orders-work{background:var(--dark2);border:1px solid var(--border);border-radius:14px;padding:24px;margin-top:16px;min-width:0}.orders-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:20px 0}.orders-steps button{padding:12px 8px;border:1px solid var(--border);border-radius:6px;color:var(--text2);background:var(--surface);cursor:pointer;font:inherit;font-size:12px}.orders-steps button[aria-current=step]{border-color:var(--order-accent);color:var(--order-accent)}.orders-steps button.done{box-shadow:inset 0 3px var(--green)}.orders-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.orders label{display:grid;gap:7px;font-size:12px;color:var(--text2);min-width:0}.orders input,.orders textarea,.orders select{width:100%;box-sizing:border-box;background:var(--input-bg);border:1px solid var(--border);border-radius:6px;color:var(--text);padding:10px;font:inherit;font-size:14px;min-width:0}.orders textarea{min-height:90px;resize:vertical}.orders .wide{grid-column:1/-1}.orders-actions{margin-top:20px;padding-top:16px;border-top:1px solid var(--border)}.orders-status{margin:12px 0;line-height:1.6;font-size:13px;color:var(--text2);overflow-wrap:anywhere}.orders-error{color:var(--red)!important}.orders-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.orders-template{padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:8px}.orders-template.selected{border-color:var(--order-accent)}.orders-template h3{margin:0 0 8px}.orders-template p{font-size:12px;line-height:1.6}.orders-module{display:grid;grid-template-columns:1fr 1.4fr 150px 100px;gap:10px;margin:14px 0;padding-bottom:14px;border-bottom:1px solid var(--border)}.orders-log{font-size:13px;line-height:1.7;padding:12px 0;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.orders-comment{border-left:3px solid var(--orange);padding:14px;background:var(--surface);margin:14px 0}.orders-tabs{display:flex;gap:8px;margin:20px 0}.orders :focus-visible{outline:2px solid var(--order-accent);outline-offset:3px}.orders details>summary{cursor:pointer;padding:12px 0;color:var(--text2)}.orders-note{padding:14px;border-left:3px solid var(--order-accent);background:var(--surface);font-size:13px;line-height:1.7}.orders-mail{padding:16px 0;border-bottom:1px solid var(--border)}.orders-mail p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.orders-mail summary{font-weight:700}.orders-badge{font-size:11px;color:var(--order-accent);margin-left:10px}@media(max-width:760px){.orders-work{padding:16px}.orders-fields,.orders-gallery{grid-template-columns:1fr}.orders-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.orders-module{grid-template-columns:1fr 1fr}.orders-card{align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:reduce){.orders *{scroll-behavior:auto}}

.orders label{align-content:start}.orders input[type=color]{height:42px}.orders input[type=file]{font-size:12px}.orders [hidden]{display:none!important}
.orders-scope{line-height:1.6}.orders-scope>p{font-size:13px}.orders-scope-proposals,.orders-scope-module{margin:16px 0;padding:16px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.orders-scope h4{margin:0 0 12px}.orders .orders-scope-choice{display:flex;align-items:flex-start;gap:12px;padding:10px 0;cursor:pointer}.orders-scope-choice input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin:2px 0;accent-color:var(--order-accent)}.orders-scope-choice>span{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}.orders-scope-choice strong{font-size:15px;color:var(--text)}.orders-scope-choice span span{white-space:pre-wrap}.orders-scope-module .orders-module{margin-bottom:0;border-bottom:0;padding-bottom:0}.orders-scope+ h3{margin-top:28px}

.orders-card em{color:var(--order-accent)}.orders-mail>div{margin-top:6px}.orders .btn:disabled{opacity:.45;cursor:default}.orders-tabs .btn-primary .orders-badge{color:inherit}
.orders-list-item{display:flex;align-items:stretch;min-width:0;margin:8px 0;border:1px solid var(--border);border-left:4px solid var(--order-accent);border-radius:8px;background:var(--dark2)}.orders-list .orders-list-item{margin:0}.orders-list-item .orders-card{flex:1;min-width:0;width:auto;border:0;border-radius:7px 0 0 7px;background:transparent;overflow-wrap:anywhere}.orders-list-item .orders-card>div{min-width:0}.orders-list-delete{display:grid;place-items:center;flex:0 0 48px;width:48px;min-height:44px;padding:12px;border:0;border-left:1px solid var(--border);border-radius:0 7px 7px 0;background:transparent;color:var(--red,#ff939b);cursor:pointer}.orders-list-delete svg{width:20px;height:20px;pointer-events:none}.orders-list-delete:hover{background:rgb(255 147 155 / .1)}.orders-list-delete:disabled{opacity:.45;cursor:default}.orders-list-item>button:focus-visible{outline-offset:-3px}
.orders-delete-row{margin-top:20px;padding-top:16px;border-top:1px solid var(--border)}.orders .orders-delete{color:var(--text3);font-size:12px}.orders .orders-delete:hover{color:var(--red)}
.orders-delete-dialog{box-sizing:border-box;width:560px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--border);border-radius:14px;background:var(--dark2,#111c26);color:var(--text,#f4f7fb);font:inherit}.orders-delete-dialog::backdrop{background:rgb(0 0 0 / .7)}.orders-delete-dialog h2{font:32px 'Bebas Neue',sans-serif;margin:0 0 16px}.orders-delete-dialog p{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.orders-delete-dialog .orders-delete-name{font-size:16px;font-weight:700}.orders-delete-dialog label{display:grid;gap:8px;font-size:13px}.orders-delete-dialog input{box-sizing:border-box;width:100%;min-width:0;padding:10px;border:1px solid var(--border);border-radius:6px;background:var(--input-bg,#090d12);color:inherit;font:inherit}.orders-delete-warning{padding:12px;border-left:3px solid var(--orange,#d7ab6b);background:var(--surface)}.orders-delete-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:20px}.orders-delete-dialog .btn-danger{background:transparent;color:var(--red,#ef8c8c);border:1px solid var(--red,#ef8c8c)}.orders-delete-dialog .orders-error{color:var(--red,#ef8c8c)}.orders-delete-dialog :disabled{opacity:.45;cursor:default}.orders-delete-dialog [hidden]{display:none!important}.orders-delete-dialog :focus-visible{outline:2px solid var(--blue,#c8a16e);outline-offset:3px}@media(max-width:480px){.orders-delete-dialog{padding:18px}.orders-delete-actions{justify-content:stretch}.orders-delete-actions .btn{flex:1 1 100%}}
