.heading.order-hero h1.order-hero-reg{font-size:36px!important;letter-spacing:.04em}
.terminal .orders-workspace>.heading{flex-direction:row;justify-content:space-between}
.terminal .orders-workspace>.heading{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.terminal .orders-workspace>.heading h1{font-size:24px}.terminal .orders-workspace>.heading p,.terminal .orders-workspace>.heading .secondary{display:none}.terminal .orders-workspace>.heading .actions{margin:0}.terminal .orders-workspace>.heading .primary{font-size:14px}.order-mobile-sort{width:100%;margin-top:3px}.order-mobile-sort summary{font-size:13px;color:var(--muted);padding:8px 0;cursor:pointer}.order-mobile-sort label{margin-top:12px}.terminal .order-list-filters .order-list-search{min-width:0;flex:1}.terminal .order-list-filters>button{width:auto;min-height:50px!important}.terminal .order-list-filters .order-list-search input{min-height:50px!important}.mobile-order-section{margin:16px 0;border:1px solid var(--line);border-radius:6px;background:var(--paper)}.mobile-order-section>summary{font-size:15px;font-weight:600;padding:16px;cursor:pointer}.mobile-order-section>section{border:0;border-top:1px solid var(--line);margin:0}.terminal #order-blocks{scroll-margin-top:15px}.order-mobile-cards .field-order-card dl{margin:10px 0}.order-mobile-cards .field-order-card dl>div{padding:7px 0}
.order-identity{display:flex;flex-direction:column;gap:4px;min-width:0}.order-identity strong{font-size:24px!important;font-weight:800;letter-spacing:.045em;line-height:1.1;color:var(--ink);overflow-wrap:anywhere}.order-identity small{font-size:12px!important;color:var(--muted)!important;font-weight:500;letter-spacing:.04em}.order-card-top{display:flex!important;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}
.order-status-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:5px;font-size:12px;font-weight:700;line-height:1.3;white-space:nowrap;color:#485563;background:#e8edf2;border:1px solid #cad3de}.order-status-pill>span{height:7px;width:7px;background:currentColor;border-radius:50%;flex-shrink:0}.status-planned{color:#455caf;background:#edf0fc;border-color:#c1ccec}.status-running{color:#166582;background:#e0f2f8;border-color:#9dcedd}.status-waiting{color:#8b5c14;background:#fff2d4;border-color:#dcc184}.status-ready{color:#276643;background:#e7f5ec;border-color:#a2cbb0}.status-delivered,.status-cancelled{color:#697580;background:#edf0f2;border-color:#cbd0d5}.dark .order-status-pill{color:#d0d9e4;background:#2c3440;border-color:#556070}.dark .status-planned{color:#b5c1ff;background:#2b3150;border-color:#586399}.dark .status-running{color:#95d6ef;background:#1e3c4a;border-color:#38677c}.dark .status-waiting{color:#f1d08f;background:#443720;border-color:#8b7243}.dark .status-ready{color:#a2ddbc;background:#223e31;border-color:#4c7960}.dark .status-delivered,.dark .status-cancelled{color:#aeb7c4;background:#282e36;border-color:#4d5763}
.order-status-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0 20px}.order-status-tabs a{display:flex;gap:10px;align-items:center;padding:10px 13px;border:1px solid var(--line);border-radius:5px;background:var(--paper);color:var(--ink)!important;text-decoration:none;font-size:13px}.order-status-tabs a b{padding:1px 6px;border-radius:4px;background:var(--bg);font-size:12px}.order-status-tabs a[aria-current]{border-color:#bc2838;box-shadow:inset 0 -3px #bc2838;font-weight:700}.order-list-filters{display:flex;align-items:end;gap:12px}.order-list-filters label{display:grid;gap:6px;font-size:12px;color:var(--muted)}.order-list-filters .order-list-search{flex:1}.order-list-filters input,.order-list-filters select{min-height:42px!important;width:100%}.order-list-filters button{min-height:42px!important}.orders-table td{padding:16px!important}.orders-table .order-identity{min-width:140px}.order-job-link{font-weight:600;color:var(--ink)!important}.orders-table td small{display:block;margin-top:5px;color:var(--muted)}
.order-compact-card{display:flex;flex-direction:column;padding:17px 18px;gap:4px;color:var(--ink)!important;text-decoration:none;border-bottom:1px solid var(--line)}.order-compact-card>b{font-size:15px}.order-compact-card>span,.order-compact-card>small{color:var(--muted)}.order-compact-card .order-card-top{margin-bottom:8px}.order-hero .order-hero-reg{font-size:36px;margin:0;letter-spacing:.04em;line-height:1.05}.order-hero .order-hero-number{font-size:13px;display:block;margin:6px 0 15px;color:var(--muted)}.order-hero h2{font-size:19px;margin:0 0 5px}.order-hero p{margin:5px 0}.order-status-control{display:flex;align-items:start;gap:24px;margin:14px 0}.order-status-control h2{font-size:14px;margin:0 0 9px;color:var(--muted)}.order-status-control form{flex:1;min-width:0}.order-status-fields{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.order-status-fields label,.order-final-check label{display:block;font-size:12px;font-weight:600;margin-bottom:5px}.order-status-fields select{min-width:210px;min-height:42px}.order-status-fields button,.order-status-fields a{min-height:42px}.order-final-check{margin-top:14px}.order-final-check textarea{width:100%}.order-final-check[hidden]{display:none!important}
.order-form-sections:has(.order-basics){display:block;max-width:1080px;margin:auto}.order-basics{display:grid;grid-template-columns:1fr 1fr;gap:18px!important}.order-basics-help{grid-column:1/-1;margin:0;color:var(--muted);font-size:13px}.order-basics .field-title,.order-basics .field-complaint{grid-column:1/-1}.order-basics .field-title input{font-size:17px!important}.order-basics .field-complaint textarea{min-height:75px;height:75px}.order-extra-fields{margin:18px 0}.order-extra-fields>summary{padding:14px;border:1px solid var(--line);border-radius:5px;font-weight:600;cursor:pointer;background:var(--paper)}.order-extra-fields .order-form-group{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:10px}.order-form-sections .field input,.order-form-sections .field select,.order-form-sections .field textarea{width:100%}.order-basics .field label{font-weight:600}.service-catalog{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}.service-catalog h2{font-size:18px;line-height:1.4;margin:6px 0}.service-catalog small{display:block;color:var(--muted);margin-top:7px}.service-catalog article{margin:0}.line-mode{margin-top:15px}
@media(max-width:700px){.order-status-tabs{gap:6px}.order-status-tabs a{font-size:12px;padding:9px 10px;min-height:42px}.order-list-filters{flex-wrap:wrap}.order-list-filters .order-list-search{min-width:100%}.order-list-filters>label:not(.order-list-search){flex:1;min-width:130px}.order-list-filters>button{width:100%}.order-card-top{gap:10px}.order-mobile-cards .field-order-card{margin-bottom:14px;padding:17px!important}.order-mobile-cards .field-order-card h2{font-size:18px!important;margin:12px 0 6px}.order-mobile-cards .field-order-card p{font-size:14px;line-height:1.5}.order-mobile-cards .field-order-card dl{font-size:13px}.order-mobile-cards .field-order-card dd{font-size:13px}.order-identity strong{font-size:27px!important}.order-hero .order-hero-reg{font-size:36px!important}.order-hero .actions{gap:8px}.order-hero .actions a,.order-hero .actions button{font-size:12px;padding:9px}.order-status-control{display:block;padding:15px!important}.order-status-control>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.order-status-fields{display:grid;grid-template-columns:1fr auto;align-items:end;gap:8px}.order-status-fields>div{min-width:0}.order-status-fields select{min-width:0;width:100%}.order-status-fields>a{grid-column:1/-1;text-align:center}.order-basics,.order-extra-fields .order-form-group{grid-template-columns:1fr}.order-basics .field{grid-column:1/-1}.line-mode{grid-template-columns:1fr 1fr}.line-mode button{font-size:12px;padding:10px 6px}.order-compact-card .order-status-pill{font-size:11px}.order-mobile-cards .order-status-pill{font-size:11px;white-space:normal;max-width:125px}.order-status-fields a[href="#add-order-line"]{display:block}.service-catalog{grid-template-columns:1fr}}

.line-discount{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-width:112px}.line-discount .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.line-discount input[type=number]{width:5rem!important;min-width:0!important;padding:6px!important;margin:0!important}.line-discount button{font-size:12px;padding:7px 9px;white-space:nowrap}.line-actions{min-width:130px}.line-actions form{margin:0 0 8px}.line-actions details{font-size:12px}.line-actions summary{cursor:pointer}.line-actions button{white-space:nowrap}.order-lines-table .line-description{min-width:150px}.category-group{padding:12px 0;border-bottom:1px solid var(--line)}.category-group summary{cursor:pointer}
@media(max-width:700px){.order-lines-table,.order-lines-table tbody{display:block;width:100%}.order-lines-table thead{display:none}.order-lines-table .order-line-row{display:grid;grid-template-columns:1fr 1fr;margin:10px;border:1px solid var(--line);border-radius:6px;padding:10px;gap:8px}.order-lines-table .order-line-row td{display:block;padding:6px!important;border:0!important;min-width:0!important;white-space:normal!important}.order-lines-table .order-line-row td::before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.order-lines-table .line-description,.order-lines-table .line-discount-cell,.order-lines-table .line-actions{grid-column:1/-1}.order-lines-table .line-discount button{min-height:44px}.order-lines-table .line-actions{display:flex!important;gap:12px;flex-wrap:wrap;align-items:start}.order-lines-table .line-actions::before{display:none!important}.order-lines-table tfoot,.order-lines-table tfoot tr{display:block}.order-lines-table tfoot td{display:inline-block}.order-lines-table .line-total{font-size:18px}}
