#sw-orders-corrected{--oc-bg:#14181d;--oc-panel:#20262d;--oc-surface:#2b333c;--oc-line:#45515e;--oc-text:#f1f5f8;--oc-muted:#b4c0cb;--oc-accent:#e26055;--oc-on:#fff;--oc-cyan:#83d2df;--oc-good:#8dd4b3;--oc-warn:#f0c181;--oc-bad:#ffaaa0;--oc-track:#38434d;--oc-shadow:0 16px 38px #0003;--oc-radius:18px;--oc-gap:16px;--oc-pad:22px;color:var(--oc-text);font:14px/1.5 'Segoe UI',Arial,sans-serif;color-scheme:dark;box-sizing:border-box;isolation:isolate}
#sw-orders-corrected *,#sw-orders-corrected *:before,#sw-orders-corrected *:after{box-sizing:border-box}
#sw-orders-corrected :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,th,td,caption,legend,label,summary,strong,b,em,small,span,time,code,button,input,select,textarea){color:inherit}
#sw-orders-corrected[data-theme="light"],#sw-orders-corrected .oc-app[data-theme="light"]{--oc-bg:#e9eff1;--oc-panel:#fafcfc;--oc-surface:#edf2f4;--oc-line:#b7c5ce;--oc-text:#213642;--oc-muted:#526b7b;--oc-accent:#b9362d;--oc-on:#fff;--oc-cyan:#186e87;--oc-good:#24744f;--oc-warn:#8a560f;--oc-bad:#a6322b;--oc-track:#d0dbe0;--oc-shadow:0 15px 35px #25435412;color-scheme:light}
#sw-orders-corrected button,#sw-orders-corrected input,#sw-orders-corrected select,#sw-orders-corrected textarea{font:inherit;color:inherit}
#sw-orders-corrected button{cursor:pointer}
#sw-orders-corrected button:disabled,#sw-orders-corrected select:disabled{cursor:default;opacity:1;color:var(--oc-muted);background:var(--oc-surface)}
#sw-orders-corrected button:focus-visible,#sw-orders-corrected input:focus-visible,#sw-orders-corrected select:focus-visible,#sw-orders-corrected textarea:focus-visible,#sw-orders-corrected summary:focus-visible{outline:3px solid var(--oc-cyan);outline-offset:3px}
#sw-orders-corrected button,#sw-orders-corrected input,#sw-orders-corrected select,#sw-orders-corrected textarea{touch-action:manipulation}
#sw-orders-corrected h1,#sw-orders-corrected h2,#sw-orders-corrected h3,#sw-orders-corrected p,#sw-orders-corrected figure{margin:0}
#sw-orders-corrected h1{font-size:28px;line-height:1.2;letter-spacing:-.7px}
#sw-orders-corrected h2{font-size:25px;line-height:1.25;letter-spacing:-.45px}
#sw-orders-corrected h3{font-size:16px;line-height:1.35}
#sw-orders-corrected a{color:var(--oc-cyan)}
#sw-orders-corrected small{font-size:12px;line-height:1.45}
#sw-orders-corrected .lucide{width:17px;height:17px;stroke-width:1.65;flex:0 0 auto;vertical-align:-3px}
#sw-orders-corrected .oc-app{position:relative;overflow:clip;min-width:0;border:1px solid var(--oc-line);border-radius:24px;background:var(--oc-bg);color:var(--oc-text);padding:var(--oc-pad);box-shadow:var(--oc-shadow)}
#sw-orders-corrected .oc-app:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(145deg,transparent 0 18%,#ffffff05 18% 33%,transparent 33% 68%,#ffffff04 68% 83%,transparent 83%),linear-gradient(28deg,transparent 45%,#ffffff06 45% 45.12%,transparent 45.12%);z-index:0}
#sw-orders-corrected .oc-app>*{position:relative}
#sw-orders-corrected .oc-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;margin-bottom:24px;border:1px solid var(--oc-line);border-radius:var(--oc-radius);background:var(--oc-panel);box-shadow:inset 0 1px #ffffff08}
#sw-orders-corrected .oc-brand{display:flex;align-items:center;gap:12px;min-width:0;font-weight:750;letter-spacing:1px}
#sw-orders-corrected .oc-brand>.lucide,#sw-orders-corrected .oc-brand-icon{width:36px;height:36px;padding:9px;border-radius:11px;background:var(--oc-accent);color:var(--oc-on)}
#sw-orders-corrected .oc-brand small{display:block;font-weight:400;letter-spacing:0;color:var(--oc-muted);margin-top:2px}
#sw-orders-corrected .oc-theme{display:flex;gap:5px;align-items:center}
#sw-orders-corrected .oc-frame{display:grid;gap:var(--oc-gap);min-width:0}
#sw-orders-corrected .oc-title,#sw-orders-corrected .oc-page-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:3px 0 5px}
#sw-orders-corrected .oc-title p,#sw-orders-corrected .oc-page-title p{margin-top:6px;color:var(--oc-muted)}
#sw-orders-corrected .oc-eyebrow,#sw-orders-corrected .oc-kicker{font-size:11px;font-weight:700;letter-spacing:1.35px;text-transform:uppercase;color:var(--oc-cyan);margin-bottom:7px}
#sw-orders-corrected .oc-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px;border:1px solid var(--oc-line);border-radius:var(--oc-radius);background:var(--oc-panel)}
#sw-orders-corrected .oc-toolbar input[type="search"],#sw-orders-corrected .oc-search{flex:1;min-width:180px}
#sw-orders-corrected input:not([type="checkbox"]),#sw-orders-corrected select,#sw-orders-corrected textarea{min-width:0;max-width:100%;border:1px solid var(--oc-line);border-radius:10px;background:var(--oc-surface);padding:9px 11px;min-height:39px}
#sw-orders-corrected input::placeholder,#sw-orders-corrected textarea::placeholder{color:var(--oc-muted);opacity:1}
#sw-orders-corrected textarea{resize:vertical;width:100%;min-height:100px}
#sw-orders-corrected select{padding-right:22px}
#sw-orders-corrected option{background:var(--oc-panel);color:var(--oc-text)}
#sw-orders-corrected .oc-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:8px 12px;border:1px solid var(--oc-line);border-radius:10px;background:var(--oc-surface);color:var(--oc-text);font-size:13px;font-weight:550;line-height:1.3;text-decoration:none;white-space:nowrap;transition:background-color .16s,border-color .16s,transform .16s}
#sw-orders-corrected .oc-button:hover{border-color:var(--oc-cyan);background:color-mix(in srgb,var(--oc-surface) 85%,var(--oc-cyan))}
#sw-orders-corrected .oc-button:active{transform:translateY(1px)}
#sw-orders-corrected .oc-button.primary,#sw-orders-corrected .oc-button--primary,#sw-orders-corrected .oc-button[data-primary="true"]{border-color:transparent;background:var(--oc-accent-fill);color:var(--oc-on)}
#sw-orders-corrected .oc-button.primary:hover,#sw-orders-corrected .oc-button--primary:hover{filter:brightness(1.08)}
#sw-orders-corrected .oc-button.danger{color:var(--oc-bad)}
#sw-orders-corrected .oc-crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:var(--oc-muted);font-size:12px}
#sw-orders-corrected .oc-tabs{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:5px;border:1px solid var(--oc-line);border-radius:13px;background:var(--oc-panel);width:fit-content;max-width:100%}
#sw-orders-corrected .oc-tabs .oc-button{border-color:transparent;background:transparent;min-height:35px}
#sw-orders-corrected .oc-tabs [aria-current="page"],#sw-orders-corrected .oc-tabs [aria-selected="true"],#sw-orders-corrected .oc-tabs .active{background:var(--oc-surface);border-color:var(--oc-line);color:var(--oc-text);box-shadow:0 2px 6px #0001}
#sw-orders-corrected .oc-summary{display:flex;align-items:stretch;flex-wrap:wrap;gap:1px;overflow:hidden;border:1px solid var(--oc-line);border-radius:var(--oc-radius);background:var(--oc-line)}
#sw-orders-corrected .oc-summary>div,#sw-orders-corrected .oc-summary>article{flex:1;min-width:120px;padding:14px 18px;background:var(--oc-panel)}
#sw-orders-corrected .oc-summary strong{display:block;font-size:23px;font-variant-numeric:tabular-nums;line-height:1.3;margin-top:3px}
#sw-orders-corrected .oc-summary small,#sw-orders-corrected .oc-summary span{color:var(--oc-muted)}
#sw-orders-corrected .oc-card,#sw-orders-corrected .oc-order-card{border:1px solid var(--oc-line);border-radius:var(--oc-radius);background:var(--oc-panel);padding:20px;min-width:0}
#sw-orders-corrected .oc-card>p,#sw-orders-corrected .oc-order-card>p{margin-top:8px;color:var(--oc-muted)}
#sw-orders-corrected .oc-order-card header,#sw-orders-corrected .oc-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
#sw-orders-corrected .oc-order-card footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid var(--oc-line)}
#sw-orders-corrected .oc-order-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#sw-orders-corrected .oc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
#sw-orders-corrected .oc-table-wrap{width:100%;min-width:0;overflow-x:auto;border:1px solid var(--oc-line);border-radius:var(--oc-radius);background:var(--oc-panel)}
#sw-orders-corrected .oc-order-table,#sw-orders-corrected .oc-position-table,#sw-orders-corrected .oc-table{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed}
#sw-orders-corrected .oc-order-table th,#sw-orders-corrected .oc-position-table th,#sw-orders-corrected .oc-table th{text-align:left;background:var(--oc-surface);color:var(--oc-muted);font-size:12px;font-weight:600;padding:12px 11px;line-height:1.4}
#sw-orders-corrected .oc-order-table td,#sw-orders-corrected .oc-position-table td,#sw-orders-corrected .oc-table td{padding:14px 11px;border-top:1px solid var(--oc-line);vertical-align:middle;word-break:normal;overflow-wrap:break-word}
#sw-orders-corrected .oc-order-table tbody tr,#sw-orders-corrected .oc-position-table tbody tr{transition:background-color .16s}
#sw-orders-corrected .oc-order-table tbody tr:hover,#sw-orders-corrected .oc-position-table tbody tr:hover{background:color-mix(in srgb,var(--oc-cyan) 5%,transparent)}
#sw-orders-corrected .oc-order-table td small,#sw-orders-corrected .oc-position-table td small{display:block;color:var(--oc-muted);margin-top:3px}
#sw-orders-corrected .oc-order-table th:first-child{width:12%}
#sw-orders-corrected .oc-order-table th:last-child{width:155px}
#sw-orders-corrected .oc-position-table{font-size:13px}
#sw-orders-corrected .oc-position-table th,#sw-orders-corrected .oc-position-table td{padding:12px 7px}
#sw-orders-corrected .oc-position-table th:first-child{width:32px}
#sw-orders-corrected .oc-position-table th:nth-child(2){width:68px}
#sw-orders-corrected .oc-position-table th:nth-child(3){width:17%}
#sw-orders-corrected .oc-position-table th:nth-child(4){width:48px;text-align:center}
#sw-orders-corrected .oc-position-table th:last-child{width:89px}
#sw-orders-corrected .oc-num-cell{font-size:12px;color:var(--oc-muted);text-align:center}
#sw-orders-corrected .oc-qty-cell{text-align:center;font-variant-numeric:tabular-nums;font-weight:650}
#sw-orders-corrected .oc-product-cell strong,#sw-orders-corrected .oc-item-title{display:block;font-size:14px;font-weight:650;line-height:1.4}
#sw-orders-corrected .oc-product-cell small{overflow-wrap:anywhere}
#sw-orders-corrected .oc-photo{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:58px;height:58px;overflow:hidden;padding:3px;border:1px solid var(--oc-line);border-radius:12px;background:#f5f5ef;cursor:zoom-in;color:#586775}
#sw-orders-corrected .oc-photo img{display:block;width:100%;height:100%;object-fit:contain;border-radius:8px;transition:transform .18s}
#sw-orders-corrected .oc-photo:hover img{transform:scale(1.06)}
#sw-orders-corrected .oc-status{display:block;min-width:0}
#sw-orders-corrected .oc-status select,#sw-orders-corrected select.oc-status{width:100%;min-width:0;border-radius:9px;min-height:38px;font-size:12px;padding:7px 20px 7px 7px;text-overflow:ellipsis;background:var(--oc-surface)}
#sw-orders-corrected .oc-status>span{display:none}
#sw-orders-corrected .oc-status[data-tone="good"] select,#sw-orders-corrected .oc-status select[data-tone="good"]{color:var(--oc-good);border-color:color-mix(in srgb,var(--oc-good) 44%,var(--oc-line))}
#sw-orders-corrected .oc-status[data-tone="bad"] select,#sw-orders-corrected .oc-status select[data-tone="bad"]{color:var(--oc-bad);border-color:color-mix(in srgb,var(--oc-bad) 48%,var(--oc-line))}
#sw-orders-corrected .oc-card-cell .oc-button{font-size:12px;padding:8px;width:100%;gap:4px}
#sw-orders-corrected .oc-card-cell .lucide{width:13px;height:13px}
#sw-orders-corrected .oc-badge,#sw-orders-corrected .oc-detail-status,#sw-orders-corrected .oc-detail-demo{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--oc-line);background:var(--oc-surface);border-radius:7px;padding:4px 8px;line-height:1.35;font-size:12px;white-space:normal;word-break:normal;color:var(--oc-muted)}
#sw-orders-corrected .oc-badge[data-tone="good"],#sw-orders-corrected .oc-detail-status--good{color:var(--oc-good);background:color-mix(in srgb,var(--oc-good) 9%,var(--oc-panel));border-color:color-mix(in srgb,var(--oc-good) 32%,var(--oc-line))}
#sw-orders-corrected .oc-badge[data-tone="bad"],#sw-orders-corrected .oc-detail-status--bad{color:var(--oc-bad);background:color-mix(in srgb,var(--oc-bad) 8%,var(--oc-panel));border-color:color-mix(in srgb,var(--oc-bad) 32%,var(--oc-line))}
#sw-orders-corrected .oc-badge[data-tone="warn"],#sw-orders-corrected .oc-detail-demo{color:var(--oc-warn);background:color-mix(in srgb,var(--oc-warn) 8%,var(--oc-panel))}
#sw-orders-corrected .oc-badge[data-tone="active"],#sw-orders-corrected .oc-detail-status--active{color:var(--oc-cyan);background:color-mix(in srgb,var(--oc-cyan) 8%,var(--oc-panel))}
#sw-orders-corrected .oc-progress{height:5px;background:var(--oc-track);border-radius:8px;overflow:hidden;margin-top:10px}
#sw-orders-corrected .oc-progress>span,#sw-orders-corrected .oc-progress>i{display:block;height:100%;border-radius:inherit;background:var(--oc-good);transition:width .25s ease-out}
#sw-orders-corrected .oc-help{padding:11px 15px;border:1px solid var(--oc-line);border-radius:12px;background:var(--oc-panel);color:var(--oc-muted)}
#sw-orders-corrected .oc-help summary{display:flex;align-items:center;gap:8px;color:var(--oc-text);font-size:13px;font-weight:600}
#sw-orders-corrected .oc-help p,#sw-orders-corrected .oc-help ol{margin:10px 0 2px;line-height:1.65}
#sw-orders-corrected .oc-notice,#sw-orders-corrected .oc-pending,#sw-orders-corrected .oc-detail-note{border:1px solid color-mix(in srgb,var(--oc-warn) 40%,var(--oc-line));border-radius:12px;padding:12px 15px;background:color-mix(in srgb,var(--oc-warn) 8%,var(--oc-panel));color:var(--oc-text)}
#sw-orders-corrected .oc-notice{font-size:13px}
#sw-orders-corrected .oc-pending{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:8px 0}
#sw-orders-corrected .oc-pending strong{flex-basis:100%}
#sw-orders-corrected .oc-pending label{display:grid;gap:5px;flex:1;min-width:150px;font-size:12px}
#sw-orders-corrected .oc-empty{text-align:center;padding:44px 24px;border:1px dashed var(--oc-line);border-radius:var(--oc-radius);color:var(--oc-muted)}
#sw-orders-corrected .oc-empty strong{color:var(--oc-text);display:block;margin-bottom:7px}
#sw-orders-corrected .oc-footer{display:flex;justify-content:space-between;gap:12px;margin-top:18px;color:var(--oc-muted);font-size:11px}
#sw-orders-corrected .oc-modal-shell{position:absolute;inset:0 0 auto;z-index:20;min-height:100%;display:flex;align-items:flex-start;justify-content:center;padding:34px 24px 42px;background:#080e17bd;backdrop-filter:blur(5px);border-radius:inherit}
#sw-orders-corrected .oc-modal-card{position:relative;width:min(100%,1000px);min-width:0;border:1px solid var(--oc-line);border-radius:22px;background:var(--oc-panel);box-shadow:0 24px 80px #0006;padding:24px;color:var(--oc-text);animation:oc-open .2s ease-out}
#sw-orders-corrected .oc-modal-card>.oc-modal-close{position:absolute;top:18px;right:18px;z-index:1}
#sw-orders-corrected .oc-modal-card h2{margin-bottom:12px}
#sw-orders-corrected .oc-modal-card form{display:grid;gap:14px}
#sw-orders-corrected .oc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#sw-orders-corrected .oc-modal-card form label{display:grid;gap:6px;font-size:13px;color:var(--oc-muted)}
#sw-orders-corrected .oc-modal-card form label input,#sw-orders-corrected .oc-modal-card form label textarea,#sw-orders-corrected .oc-modal-card form label select{width:100%;color:var(--oc-text)}
#sw-orders-corrected .oc-modal-footer,#sw-orders-corrected .oc-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:16px}
#sw-orders-corrected .oc-modal-footer{justify-content:space-between;padding-top:16px;border-top:1px solid var(--oc-line)}
#sw-orders-corrected .oc-photo-full,#sw-orders-corrected .oc-full-photo{width:100%;height:clamp(320px,55vw,650px);object-fit:contain;display:block;margin-top:18px;border-radius:16px;background:#fff}
#sw-orders-corrected .oc-detail{min-width:0}
#sw-orders-corrected .oc-detail-header{padding-bottom:17px}
#sw-orders-corrected .oc-detail-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:21px;color:var(--oc-muted);font-size:12px}
#sw-orders-corrected .oc-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
#sw-orders-corrected .oc-detail-eyebrow{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:var(--oc-cyan);margin-bottom:5px}
#sw-orders-corrected .oc-detail-subtitle{color:var(--oc-muted);font-size:13px;margin-top:6px}
#sw-orders-corrected .oc-detail-readonly{margin-top:12px;padding:10px 13px;border:1px solid var(--oc-line);border-radius:9px;font-size:12px;color:var(--oc-muted)}
#sw-orders-corrected .oc-detail-tabs{display:flex;gap:5px;flex-wrap:wrap;border-block:1px solid var(--oc-line);padding:10px 0;margin-bottom:22px}
#sw-orders-corrected .oc-detail-tabs .oc-button{border-color:transparent;background:transparent;font-size:13px}
#sw-orders-corrected .oc-detail-tabs [aria-current="page"]{background:var(--oc-accent-fill);color:var(--oc-on)}
#sw-orders-corrected .oc-detail-tab-count{display:inline-block;padding:1px 5px;font-size:11px;border-radius:4px;background:#ffffff12}
#sw-orders-corrected .oc-detail-overview{display:grid;gap:20px}
#sw-orders-corrected .oc-detail-passport{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,1.5fr);gap:24px;align-items:start}
#sw-orders-corrected .oc-detail-hero{border:1px solid var(--oc-line);border-radius:16px;overflow:hidden;min-height:235px;background:var(--oc-surface);display:flex;align-items:center;justify-content:center}
#sw-orders-corrected .oc-detail-hero .oc-photo{width:100%;height:260px;border:0;border-radius:0;padding:12px}
#sw-orders-corrected .oc-detail-hero img{width:100%;height:260px;object-fit:contain;display:block;background:#fff}
#sw-orders-corrected .oc-detail-passport-data h3{margin:0 0 12px}
#sw-orders-corrected .oc-detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin:0}
#sw-orders-corrected .oc-detail-facts>div{padding:10px 0;border-bottom:1px solid var(--oc-line);min-width:0}
#sw-orders-corrected .oc-detail-facts dt{font-size:12px;color:var(--oc-muted);margin-bottom:3px}
#sw-orders-corrected .oc-detail-facts dd{margin:0;font-size:14px;line-height:1.55;overflow-wrap:anywhere}
#sw-orders-corrected .oc-detail-technical>div:nth-child(n+5){grid-column:1/-1}
#sw-orders-corrected .oc-detail-section{border:1px solid var(--oc-line);border-radius:15px;padding:18px;background:var(--oc-panel);min-width:0}
#sw-orders-corrected .oc-detail-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}
#sw-orders-corrected .oc-detail-section-title p{font-size:13px;color:var(--oc-muted);margin-top:5px}
#sw-orders-corrected .oc-detail-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#sw-orders-corrected .oc-detail-stage{display:grid;gap:5px;min-width:0}
#sw-orders-corrected .oc-detail-stage>span{font-size:12px;color:var(--oc-muted);line-height:1.45}
#sw-orders-corrected .oc-detail-stage select{width:100%;font-size:13px;min-height:40px}
#sw-orders-corrected .oc-detail-caption,#sw-orders-corrected .oc-detail-source{font-size:12px;color:var(--oc-muted);margin-top:14px;line-height:1.65}
#sw-orders-corrected .oc-detail-source{border-top:1px solid var(--oc-line);padding-top:12px}
#sw-orders-corrected .oc-detail-progress{margin-top:15px}
#sw-orders-corrected .oc-detail-progress>div{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:7px;color:var(--oc-muted)}
#sw-orders-corrected .oc-detail-progress strong{color:var(--oc-good)}
#sw-orders-corrected .oc-detail-progress progress{appearance:none;display:block;border:0;border-radius:6px;overflow:hidden;width:100%;height:6px;background:var(--oc-track)}
#sw-orders-corrected .oc-detail-progress progress::-webkit-progress-bar{background:var(--oc-track)}
#sw-orders-corrected .oc-detail-progress progress::-webkit-progress-value{background:var(--oc-good);border-radius:6px}
#sw-orders-corrected .oc-detail-empty{padding:28px 20px;color:var(--oc-muted);border:1px dashed var(--oc-line);border-radius:14px;text-align:center}
#sw-orders-corrected .oc-detail-empty strong{display:block;color:var(--oc-text);font-size:15px;margin-bottom:7px}
#sw-orders-corrected .oc-detail-empty p{font-size:13px;max-width:560px;margin:auto;line-height:1.7}
#sw-orders-corrected .oc-detail-problems{display:grid;gap:8px;margin-top:15px}
#sw-orders-corrected .oc-detail-problems article{padding:11px 13px;border-radius:10px;border-left:3px solid var(--oc-bad);background:color-mix(in srgb,var(--oc-bad) 7%,var(--oc-panel))}
#sw-orders-corrected .oc-detail-problems p{margin-top:4px;font-size:13px}
#sw-orders-corrected .oc-detail-problems small{color:var(--oc-muted)}
#sw-orders-corrected .oc-detail-table-wrap{max-width:100%;overflow:auto}
#sw-orders-corrected .oc-detail-table{border-collapse:collapse;width:100%;min-width:610px;font-size:13px}
#sw-orders-corrected .oc-detail-table caption{text-align:left;color:var(--oc-muted);font-size:12px;padding-bottom:10px}
#sw-orders-corrected .oc-detail-table th,#sw-orders-corrected .oc-detail-table td{text-align:left;padding:12px 9px;border-bottom:1px solid var(--oc-line)}
#sw-orders-corrected .oc-detail-table thead th{font-size:12px;color:var(--oc-muted);font-weight:500;background:var(--oc-surface)}
#sw-orders-corrected .oc-detail-table tbody th{font-weight:400;min-width:165px}
#sw-orders-corrected .oc-detail-table small{display:block;margin-top:3px;color:var(--oc-muted)}
#sw-orders-corrected .oc-detail-documents{display:grid;gap:10px}
#sw-orders-corrected .oc-detail-document{border:1px solid var(--oc-line);border-radius:12px;overflow:hidden}
#sw-orders-corrected .oc-detail-document summary{display:flex;align-items:center;gap:12px;padding:15px;cursor:pointer;background:var(--oc-surface)}
#sw-orders-corrected .oc-detail-document summary>span:nth-child(2){flex:1;min-width:0}
#sw-orders-corrected .oc-detail-document small{display:block;margin-top:3px;color:var(--oc-muted);overflow-wrap:anywhere}
#sw-orders-corrected .oc-detail-document-icon{display:grid;place-items:center;width:36px;height:40px;border:1px solid var(--oc-line);border-radius:8px;color:var(--oc-cyan);flex-shrink:0}
#sw-orders-corrected .oc-detail-document-body{padding:6px 16px 16px}
#sw-orders-corrected .oc-detail-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#sw-orders-corrected .oc-detail-photo{border:1px solid var(--oc-line);border-radius:14px;overflow:hidden;background:var(--oc-panel)}
#sw-orders-corrected .oc-detail-photo img{width:100%;height:220px;object-fit:contain;display:block;background:#fff}
#sw-orders-corrected .oc-detail-photo figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px}
#sw-orders-corrected .oc-detail-photo figcaption p{font-size:12px;color:var(--oc-muted);margin-top:3px}
#sw-orders-corrected .oc-detail-history{list-style:none;padding:0;margin:0;display:grid;gap:0}
#sw-orders-corrected .oc-detail-history li{display:flex;gap:14px;padding:15px 0;border-bottom:1px solid var(--oc-line)}
#sw-orders-corrected .oc-detail-history-mark{display:grid;place-items:center;border-radius:50%;width:30px;height:30px;background:var(--oc-surface);color:var(--oc-cyan);flex-shrink:0}
#sw-orders-corrected .oc-detail-history article{flex:1;min-width:0}
#sw-orders-corrected .oc-detail-history article header{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:8px}
#sw-orders-corrected .oc-detail-history time,#sw-orders-corrected .oc-detail-history small{font-size:12px;color:var(--oc-muted)}
#sw-orders-corrected .oc-detail-history-change{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:4px;font-size:13px}
#sw-orders-corrected .oc-detail-history-change>span:first-child{color:var(--oc-muted)}
#sw-orders-corrected .oc-app[data-style="1"]{--oc-radius:22px;--oc-gap:20px;--oc-pad:28px;background:var(--oc-bg)}
#sw-orders-corrected .oc-app[data-style="1"]:before{background:radial-gradient(ellipse at 0 0,#8bbcc00b,transparent 55%)}
#sw-orders-corrected .oc-app[data-style="1"] .oc-header{background:transparent;border:0;padding:2px 0 16px;border-bottom:1px solid var(--oc-line);border-radius:0;box-shadow:none}
#sw-orders-corrected .oc-app[data-style="1"] .oc-order-table td{padding-block:22px}
#sw-orders-corrected .oc-app[data-style="1"] .oc-position-table td{padding-block:17px}
#sw-orders-corrected .oc-app[data-style="1"] .oc-summary{border:0;gap:12px;background:transparent}
#sw-orders-corrected .oc-app[data-style="1"] .oc-summary>div{border-radius:16px}
#sw-orders-corrected .oc-app[data-style="2"]{--oc-radius:11px;--oc-gap:12px;--oc-pad:18px;border-top:4px solid var(--oc-accent)}
#sw-orders-corrected .oc-app[data-style="2"]:before{background:repeating-linear-gradient(90deg,#ffffff02 0 1px,transparent 1px 28px)}
#sw-orders-corrected .oc-app[data-style="2"] .oc-header{border-radius:8px;padding:11px 14px}
#sw-orders-corrected .oc-app[data-style="2"] .oc-summary strong{font-family:'Cascadia Code',Consolas,monospace;font-size:26px}
#sw-orders-corrected .oc-app[data-style="2"] .oc-position-table th{border-bottom:2px solid var(--oc-accent);text-transform:uppercase;font-size:11px;letter-spacing:.3px}
#sw-orders-corrected .oc-app[data-style="2"] .oc-position-table td{border-right:1px solid color-mix(in srgb,var(--oc-line) 45%,transparent)}
#sw-orders-corrected .oc-app[data-style="3"]{--oc-radius:9px;--oc-gap:10px;--oc-pad:16px}
#sw-orders-corrected .oc-app[data-style="3"]:before{display:none}
#sw-orders-corrected .oc-app[data-style="3"] .oc-header{padding:10px 14px;margin-bottom:15px}
#sw-orders-corrected .oc-app[data-style="3"] .oc-order-table td{padding-block:10px}
#sw-orders-corrected .oc-app[data-style="3"] .oc-position-table td{padding:7px 6px}
#sw-orders-corrected .oc-app[data-style="3"] .oc-photo{width:44px;height:44px;border-radius:8px}
#sw-orders-corrected .oc-app[data-style="3"] .oc-summary>div{padding:10px 15px}
#sw-orders-corrected .oc-app[data-style="3"] .oc-position-table tbody tr:nth-child(even){background:color-mix(in srgb,var(--oc-surface) 50%,transparent)}
#sw-orders-corrected .oc-app[data-style="4"]{--oc-radius:16px;--oc-gap:22px;--oc-pad:28px}
#sw-orders-corrected .oc-app[data-style="4"]:before{display:none}
#sw-orders-corrected .oc-app[data-style="4"] h1{font-size:36px;letter-spacing:-1.2px;font-weight:600}
#sw-orders-corrected .oc-app[data-style="4"] .oc-header{border-width:0 0 1px;border-radius:0;background:transparent;padding:6px 0 18px;box-shadow:none}
#sw-orders-corrected .oc-app[data-style="4"] .oc-table-wrap{border-width:2px 0 1px;border-radius:0;border-top-color:var(--oc-text);background:transparent}
#sw-orders-corrected .oc-app[data-style="4"] .oc-order-table th,#sw-orders-corrected .oc-app[data-style="4"] .oc-position-table th{background:transparent;font-size:11px;letter-spacing:.5px;text-transform:uppercase}
#sw-orders-corrected .oc-app[data-style="4"] .oc-summary strong{font-size:32px;font-weight:400}
#sw-orders-corrected .oc-app[data-style="5"]{--oc-radius:25px;--oc-gap:18px;--oc-pad:24px}
#sw-orders-corrected .oc-app[data-style="5"]:before{background:radial-gradient(ellipse at 90% 0,#d7656020,transparent 45%)}
#sw-orders-corrected .oc-app[data-style="5"] .oc-header{border:0;border-radius:26px;padding:18px 20px}
#sw-orders-corrected .oc-app[data-style="5"] .oc-toolbar{padding:14px;border-radius:22px}
#sw-orders-corrected .oc-app[data-style="5"] .oc-photo{border-radius:18px}
#sw-orders-corrected .oc-app[data-style="5"] .oc-button,#sw-orders-corrected .oc-app[data-style="5"] select{border-radius:14px}
#sw-orders-corrected .oc-app[data-style="5"] .oc-order-card{box-shadow:0 8px 24px #0001}
#sw-orders-corrected .oc-app[data-style="6"]{--oc-radius:17px;--oc-gap:17px;--oc-pad:24px}
#sw-orders-corrected .oc-app[data-style="6"]:before{background:linear-gradient(125deg,transparent 8%,#75c8db0b 8% 8.2%,transparent 8.2% 56%,#db8e6c08 56% 73%,transparent 73%),radial-gradient(ellipse at 100% 0,#6a92d012,transparent 50%)}
#sw-orders-corrected .oc-app[data-style="6"] .oc-header{border-top-color:var(--oc-cyan);box-shadow:0 -1px 20px #83d2df10,inset 0 1px #83d2df22}
#sw-orders-corrected .oc-app[data-style="6"] .oc-summary>div{border-top:2px solid var(--oc-cyan)}
#sw-orders-corrected .oc-app[data-style="6"] .oc-order-card{border-top-color:var(--oc-cyan);box-shadow:inset 0 1px #83d2df16}
#sw-orders-corrected .oc-app[data-style="6"] .oc-status select{background:var(--oc-bg)}
#sw-orders-corrected .oc-app[data-style="7"]{--oc-radius:14px;--oc-gap:12px;--oc-pad:20px;background:var(--oc-panel)}
#sw-orders-corrected .oc-app[data-style="7"]:before{display:none}
#sw-orders-corrected .oc-app[data-style="7"] .oc-header{border:0;border-radius:0;padding:6px 0 20px;border-bottom:1px solid var(--oc-line);background:transparent;box-shadow:none}
#sw-orders-corrected .oc-app[data-style="7"] .oc-table-wrap{border-inline:0;border-radius:0}
#sw-orders-corrected .oc-app[data-style="7"] .oc-summary{border-radius:0;border-inline:0}
#sw-orders-corrected .oc-app[data-style="7"] h1{font-size:30px;font-weight:750}
#sw-orders-corrected .oc-app[data-style="7"] .oc-order-table td{padding-block:19px}
#sw-orders-corrected .oc-app[data-style="8"]{--oc-radius:18px;--oc-gap:20px;--oc-pad:24px}
#sw-orders-corrected .oc-app[data-style="8"] .oc-order-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#sw-orders-corrected .oc-app[data-style="8"] .oc-photo{width:64px;height:64px;border-radius:14px}
#sw-orders-corrected .oc-app[data-style] .oc-detail-hero .oc-photo{width:100%;height:260px;border-radius:0}
#sw-orders-corrected .oc-app[data-style="8"] .oc-position-table th:nth-child(2){width:78px}
#sw-orders-corrected .oc-app[data-style="8"] .oc-position-table td{padding-block:16px}
#sw-orders-corrected .oc-app[data-style="8"] .oc-item-title{font-size:15px}
#sw-orders-corrected .oc-app[data-style="8"] .oc-order-card{border-top:3px solid var(--oc-accent)}
#sw-orders-corrected .oc-app[data-style="9"]{--oc-radius:18px;--oc-gap:15px;--oc-pad:22px;border:2px solid var(--oc-line)}
#sw-orders-corrected .oc-app[data-style="9"] .oc-header{border-left:4px solid var(--oc-accent)}
#sw-orders-corrected .oc-app[data-style="9"] .oc-status select{border-color:var(--oc-muted);font-weight:600}
#sw-orders-corrected .oc-app[data-style="9"] .oc-order-table th,#sw-orders-corrected .oc-app[data-style="9"] .oc-position-table th{color:var(--oc-text);font-weight:700}
#sw-orders-corrected .oc-app[data-style="9"] .oc-order-card,#sw-orders-corrected .oc-app[data-style="9"] .oc-summary{border-color:var(--oc-muted)}
#sw-orders-corrected .oc-app[data-style="9"] .oc-photo{border-width:2px}
@keyframes oc-open{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){#sw-orders-corrected .oc-app{--oc-pad:16px}#sw-orders-corrected .oc-position-table{font-size:12px}#sw-orders-corrected .oc-position-table th,#sw-orders-corrected .oc-position-table td{padding-inline:5px}#sw-orders-corrected .oc-position-table th:nth-child(3){width:15%}#sw-orders-corrected .oc-position-table th:last-child{width:77px}#sw-orders-corrected .oc-product-cell strong{font-size:13px}#sw-orders-corrected .oc-app[data-style="8"] .oc-order-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){
#sw-orders-corrected .oc-app{padding:16px;border-radius:18px}#sw-orders-corrected .oc-header{margin-bottom:20px;padding:12px 14px}#sw-orders-corrected .oc-brand{font-size:13px}#sw-orders-corrected .oc-brand small{font-size:11px}#sw-orders-corrected .oc-title,#sw-orders-corrected .oc-page-title{align-items:flex-start;flex-wrap:wrap}#sw-orders-corrected h1,#sw-orders-corrected .oc-app[data-style="4"] h1{font-size:28px}#sw-orders-corrected .oc-order-grid{grid-template-columns:1fr}#sw-orders-corrected .oc-table-wrap:has(.oc-position-table),#sw-orders-corrected .oc-table-wrap:has(.oc-order-table){overflow:visible;border:0;background:transparent;border-radius:0}#sw-orders-corrected .oc-position-table,#sw-orders-corrected .oc-position-table tbody,#sw-orders-corrected .oc-order-table,#sw-orders-corrected .oc-order-table tbody{display:block;table-layout:auto}#sw-orders-corrected .oc-position-table thead,#sw-orders-corrected .oc-order-table thead{display:none}#sw-orders-corrected .oc-position-table colgroup,#sw-orders-corrected .oc-order-table colgroup{display:none}#sw-orders-corrected .oc-position-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:15px!important;border:1px solid var(--oc-line);border-radius:var(--oc-radius);background:var(--oc-panel);margin-bottom:12px;position:relative}#sw-orders-corrected .oc-position-table td{display:block;padding:0!important;border:0!important;min-width:0}#sw-orders-corrected .oc-position-table td[data-label]:not(.oc-product-cell):not(.oc-photo-cell):not(.oc-card-cell):not(.oc-num-cell):before{content:attr(data-label);display:block;color:var(--oc-muted);font-size:12px;margin-bottom:5px}#sw-orders-corrected .oc-position-table .oc-num-cell{position:absolute;right:16px;top:16px;font-size:11px}#sw-orders-corrected .oc-position-table .oc-photo-cell{grid-column:1;grid-row:1;min-height:64px}#sw-orders-corrected .oc-position-table .oc-product-cell{grid-column:2/4;grid-row:1;padding-right:20px!important}#sw-orders-corrected .oc-position-table .oc-product-cell strong{font-size:15px}#sw-orders-corrected .oc-position-table .oc-qty-cell{grid-column:1/-1;text-align:left;display:flex;align-items:center;gap:8px;padding:7px 0!important;border-block:1px solid var(--oc-line)!important}#sw-orders-corrected .oc-position-table .oc-qty-cell:before{margin:0!important}#sw-orders-corrected .oc-status select{min-height:40px;font-size:13px;padding:9px 24px 9px 10px}#sw-orders-corrected .oc-position-table .oc-card-cell{grid-column:1/-1;padding-top:3px!important}#sw-orders-corrected .oc-card-cell .oc-button{font-size:13px;min-height:39px}#sw-orders-corrected .oc-card-cell .lucide{width:16px;height:16px}#sw-orders-corrected .oc-order-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:17px;border:1px solid var(--oc-line);border-radius:var(--oc-radius);background:var(--oc-panel);margin-bottom:12px}#sw-orders-corrected .oc-order-table td{display:block;border:0;padding:0!important;min-width:0}#sw-orders-corrected .oc-order-table td[data-label]:before{content:attr(data-label);display:block;color:var(--oc-muted);font-size:11px;margin-bottom:4px}#sw-orders-corrected .oc-order-table td:first-child{grid-column:1/-1;font-size:17px}#sw-orders-corrected .oc-order-table td:nth-child(2){grid-column:1/-1}#sw-orders-corrected .oc-order-table td:last-child{grid-column:1/-1;padding-top:5px!important}#sw-orders-corrected .oc-order-table td:last-child .oc-button{width:100%;font-size:14px}#sw-orders-corrected .oc-summary>div{padding:12px 15px}#sw-orders-corrected .oc-modal-shell{padding:22px 12px 30px}#sw-orders-corrected .oc-modal-card{padding:20px;border-radius:18px}#sw-orders-corrected .oc-detail-passport{grid-template-columns:minmax(160px,.8fr) minmax(0,1.2fr);gap:18px}#sw-orders-corrected .oc-detail-facts{gap:0 12px}#sw-orders-corrected .oc-detail-photos{grid-template-columns:1fr}
}
@media(max-width:520px){
#sw-orders-corrected{font-size:14px}#sw-orders-corrected .oc-app{padding:12px;border-radius:15px}#sw-orders-corrected .oc-header{gap:10px;flex-wrap:wrap;padding:10px 12px}#sw-orders-corrected .oc-brand{flex:1}#sw-orders-corrected .oc-theme{margin-left:auto}#sw-orders-corrected .oc-theme .oc-button{padding:7px 9px;font-size:12px}#sw-orders-corrected .oc-brand small{max-width:180px}#sw-orders-corrected h1,#sw-orders-corrected .oc-app[data-style="4"] h1{font-size:25px}#sw-orders-corrected .oc-toolbar{padding:10px;gap:8px}#sw-orders-corrected .oc-toolbar input[type="search"]{flex-basis:100%;min-width:0}#sw-orders-corrected .oc-toolbar select{flex:1;width:100px}#sw-orders-corrected .oc-tabs{gap:2px;padding:3px}#sw-orders-corrected .oc-tabs .oc-button{font-size:12px;padding:8px 9px}#sw-orders-corrected .oc-summary>div{min-width:43%;padding:11px 13px}#sw-orders-corrected .oc-summary strong{font-size:21px}#sw-orders-corrected .oc-position-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px!important;gap:11px}#sw-orders-corrected .oc-position-table .oc-photo-cell{grid-column:1;grid-row:1;width:64px}#sw-orders-corrected .oc-position-table .oc-product-cell{grid-column:1/-1;grid-row:1;min-height:64px;padding-left:76px!important;padding-right:10px!important}#sw-orders-corrected .oc-position-table .oc-photo-cell{z-index:1}#sw-orders-corrected .oc-position-table .oc-num-cell{right:10px;top:8px}#sw-orders-corrected .oc-position-table .oc-product-cell strong{font-size:14px}#sw-orders-corrected .oc-status select{font-size:13px}#sw-orders-corrected .oc-order-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px}#sw-orders-corrected .oc-app[data-style="8"] .oc-order-grid,#sw-orders-corrected .oc-grid{grid-template-columns:1fr}#sw-orders-corrected .oc-order-card{padding:16px}#sw-orders-corrected .oc-order-card footer{align-items:flex-start;flex-wrap:wrap}#sw-orders-corrected .oc-footer{flex-direction:column;gap:4px}#sw-orders-corrected .oc-modal-shell{padding:12px 6px 20px}#sw-orders-corrected .oc-modal-card{padding:16px 13px;border-radius:14px}#sw-orders-corrected .oc-modal-card h2{font-size:23px}#sw-orders-corrected .oc-detail-breadcrumb{margin-bottom:15px;gap:7px}#sw-orders-corrected .oc-detail-heading{align-items:flex-start;flex-wrap:wrap;gap:9px}#sw-orders-corrected .oc-detail-header{padding-bottom:12px}#sw-orders-corrected .oc-detail-tabs{gap:3px;padding:8px 0;margin-bottom:16px}#sw-orders-corrected .oc-detail-tabs .oc-button{font-size:12px;padding:8px 10px}#sw-orders-corrected .oc-detail-passport{grid-template-columns:1fr;gap:17px}#sw-orders-corrected .oc-detail-hero,#sw-orders-corrected .oc-detail-hero .oc-photo,#sw-orders-corrected .oc-detail-hero img{height:235px;min-height:0}#sw-orders-corrected .oc-detail-section{padding:14px 12px}#sw-orders-corrected .oc-detail-stages{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#sw-orders-corrected .oc-detail-stage>span{min-height:34px;font-size:12px}#sw-orders-corrected .oc-detail-facts{gap:0 13px}#sw-orders-corrected .oc-detail-facts dd{font-size:13px}#sw-orders-corrected .oc-detail-section-title{flex-wrap:wrap}#sw-orders-corrected .oc-detail-document summary{padding:12px;gap:9px}#sw-orders-corrected .oc-detail-document summary strong{font-size:13px}#sw-orders-corrected .oc-detail-photo figcaption{flex-wrap:wrap}#sw-orders-corrected .oc-form-grid{grid-template-columns:1fr}#sw-orders-corrected .oc-modal-footer{align-items:flex-start;gap:10px}#sw-orders-corrected .oc-photo-full,#sw-orders-corrected .oc-full-photo{height:360px}#sw-orders-corrected .oc-app[data-style="3"] .oc-photo{width:58px;height:58px}
}
@media(prefers-reduced-motion:reduce){#sw-orders-corrected *,#sw-orders-corrected *:before,#sw-orders-corrected *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
#sw-orders-corrected[data-motion="off"] *,#sw-orders-corrected[data-motion="off"] *:before,#sw-orders-corrected[data-motion="off"] *:after{animation:none!important;transition:none!important}
#sw-orders-corrected .oc-app[data-theme="dark"]{--oc-bg:#14181d;--oc-panel:#20262d;--oc-surface:#2b333c;--oc-line:#45515e;--oc-text:#f1f5f8;--oc-muted:#b4c0cb;--oc-accent:#e26055;--oc-on:#fff;--oc-cyan:#83d2df;--oc-good:#8dd4b3;--oc-warn:#f0c181;--oc-bad:#ffaaa0;--oc-track:#38434d;--oc-shadow:0 16px 38px #0003;color:var(--oc-text)}
#sw-orders-corrected .oc-app[data-theme="light"]{color:var(--oc-text)}
#sw-orders-corrected .oc-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:3px 0 8px}
#sw-orders-corrected .oc-heading p:not(.oc-eyebrow){margin-top:7px;color:var(--oc-muted);max-width:760px}
#sw-orders-corrected .oc-theme label,#sw-orders-corrected .oc-toolbar>label:not(.oc-search){display:flex;align-items:center;gap:9px;font-size:12px;color:var(--oc-muted)}
#sw-orders-corrected .oc-theme select,#sw-orders-corrected .oc-toolbar>label select{color:var(--oc-text)}
#sw-orders-corrected .oc-search{display:flex;align-items:center;gap:9px;color:var(--oc-muted);padding-left:8px}
#sw-orders-corrected .oc-search input{flex:1;width:100%;color:var(--oc-text)}
#sw-orders-corrected .oc-button.oc-primary{background:var(--oc-accent-fill);color:var(--oc-on);border-color:transparent}
#sw-orders-corrected .oc-button.oc-primary:hover{background:color-mix(in srgb,var(--oc-accent-fill) 92%,#fff);border-color:transparent}
#sw-orders-corrected .oc-tabs [aria-pressed="true"]{background:var(--oc-surface);border-color:var(--oc-line);color:var(--oc-text);box-shadow:0 2px 6px #0001}
#sw-orders-corrected .oc-tabs .oc-button>span{font-size:11px;padding:1px 5px;border-radius:4px;background:color-mix(in srgb,var(--oc-muted) 10%,transparent);color:var(--oc-text)}
#sw-orders-corrected .oc-facts-inline{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:16px 0;color:var(--oc-muted);font-size:13px}
#sw-orders-corrected .oc-facts-inline>span:not(.oc-badge){padding-right:15px;border-right:1px solid var(--oc-line)}
#sw-orders-corrected .oc-facts-inline>span:last-child{border:0;padding-right:0}
#sw-orders-corrected .oc-order-summary>.oc-toolbar{margin-top:18px;background:transparent;padding:0;border:0}
#sw-orders-corrected .oc-order-summary .oc-progress{max-width:700px;margin-bottom:6px}
#sw-orders-corrected .oc-order-summary>small{color:var(--oc-muted)}
#sw-orders-corrected .oc-order-card h2{font-size:20px;line-height:1.35;margin-top:16px}
#sw-orders-corrected .oc-order-card .oc-toolbar{justify-content:space-between;background:transparent;padding:0;border:0}
#sw-orders-corrected .oc-order-card>.oc-toolbar:last-child{margin-top:17px;padding-top:15px;border-top:1px solid var(--oc-line);border-radius:0}
#sw-orders-corrected .oc-order-card>small{color:var(--oc-muted);display:block;margin-top:6px}
#sw-orders-corrected .oc-order-thumbs{display:flex;gap:8px;margin:16px 0}
#sw-orders-corrected .oc-order-thumbs img{width:72px;height:62px;object-fit:contain;background:#fff;border:1px solid var(--oc-line);border-radius:10px;padding:3px}
#sw-orders-corrected .oc-order-table th:first-child{width:30%}
#sw-orders-corrected .oc-order-table th:nth-child(2){width:12%}
#sw-orders-corrected .oc-order-table td>.oc-button{font-size:12px;white-space:normal}
#sw-orders-corrected .oc-source,#sw-orders-corrected .oc-footnote{color:var(--oc-muted);font-size:12px;line-height:1.6}
#sw-orders-corrected .oc-source{margin-top:16px;padding-top:12px;border-top:1px solid var(--oc-line)}
#sw-orders-corrected .oc-footnote{margin-top:7px}
#sw-orders-corrected .oc-notice[data-tone="good"]{border-color:color-mix(in srgb,var(--oc-good) 45%,var(--oc-line));background:color-mix(in srgb,var(--oc-good) 8%,var(--oc-panel))}
#sw-orders-corrected .oc-notice[data-tone="bad"]{border-color:color-mix(in srgb,var(--oc-bad) 50%,var(--oc-line));background:color-mix(in srgb,var(--oc-bad) 8%,var(--oc-panel))}
#sw-orders-corrected select.oc-status[data-tone="good"]{color:var(--oc-good);border-color:color-mix(in srgb,var(--oc-good) 44%,var(--oc-line));background:color-mix(in srgb,var(--oc-good) 6%,var(--oc-surface))}
#sw-orders-corrected select.oc-status[data-tone="bad"]{color:var(--oc-bad);border-color:color-mix(in srgb,var(--oc-bad) 48%,var(--oc-line));background:color-mix(in srgb,var(--oc-bad) 6%,var(--oc-surface))}
#sw-orders-corrected select.oc-status[data-tone="active"]{color:var(--oc-cyan);border-color:color-mix(in srgb,var(--oc-cyan) 28%,var(--oc-line))}
#sw-orders-corrected .oc-photo>span{position:absolute;inset:auto 1px 2px;font-size:9px;line-height:1.2;white-space:nowrap}
#sw-orders-corrected .oc-help .lucide{margin-right:7px}
#sw-orders-corrected .oc-chain{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#sw-orders-corrected .oc-chain h2{font-size:30px;margin-top:7px}
#sw-orders-corrected .oc-chain h2 small{font-size:15px;color:var(--oc-muted);font-weight:400}
#sw-orders-corrected .oc-chain p{font-size:13px;margin:12px 0;color:var(--oc-muted)}
#sw-orders-corrected .oc-history-row{display:grid;grid-template-columns:140px 1fr;gap:6px 14px;padding:16px 0;border-bottom:1px solid var(--oc-line)}
#sw-orders-corrected .oc-history-row small{grid-column:2;color:var(--oc-muted)}
#sw-orders-corrected .oc-upload{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:20px;padding:14px;border:1px dashed var(--oc-line);border-radius:12px;font-size:13px}
#sw-orders-corrected .oc-upload input{font-size:12px;min-width:0;max-width:100%;padding:6px;flex:1}
#sw-orders-corrected .oc-viewer-image{display:block;width:100%;height:clamp(340px,55vw,650px);object-fit:contain;background:#fff;border:1px solid var(--oc-line);border-radius:15px;margin:18px 0}
#sw-orders-corrected .oc-modal-card>.oc-toolbar{justify-content:space-between;margin-bottom:15px;background:transparent;border:0;padding:0}
#sw-orders-corrected .oc-modal-card>.oc-detail+.oc-toolbar{justify-content:flex-end;border-top:1px solid var(--oc-line);padding-top:18px;margin-top:18px}
#sw-orders-corrected .oc-modal-card>.oc-pending{margin-top:18px}
#sw-orders-corrected .oc-app[data-style="6"] select.oc-status{background:var(--oc-bg)}
#sw-orders-corrected .oc-app[data-style="9"] select.oc-status{border-color:var(--oc-muted);font-weight:600}
#sw-orders-corrected{--oc-accent-fill:#b9362d}
#sw-orders-corrected .oc-month-group{display:grid;gap:14px;min-width:0;margin-top:5px}
#sw-orders-corrected .oc-month-group+.oc-month-group{margin-top:16px}
#sw-orders-corrected .oc-month-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:3px 2px 11px;border-bottom:1px solid var(--oc-line);color:var(--oc-text)}
#sw-orders-corrected .oc-month-heading h2{font-size:19px;line-height:1.4;letter-spacing:-.2px;color:var(--oc-text)}
#sw-orders-corrected .oc-month-heading span,#sw-orders-corrected .oc-month-heading small{color:var(--oc-muted);font-size:12px;font-weight:400;letter-spacing:0}
#sw-orders-corrected .oc-order-date{display:flex;align-items:center;flex-wrap:wrap;gap:5px;color:var(--oc-muted);font-size:12px;line-height:1.5}
#sw-orders-corrected .oc-order-date time{color:var(--oc-text);font-variant-numeric:tabular-nums}
#sw-orders-corrected .oc-detail-contract-materials p,#sw-orders-corrected .oc-detail-document-body p{color:var(--oc-text);line-height:1.65;margin:0 0 10px;white-space:normal;overflow-wrap:break-word}
#sw-orders-corrected .oc-detail-contract-materials p:last-child,#sw-orders-corrected .oc-detail-document-body p:last-child{margin-bottom:0}
#sw-orders-corrected .oc-detail-facts dd,#sw-orders-corrected .oc-detail-table tbody th,#sw-orders-corrected .oc-detail-table td,#sw-orders-corrected .oc-order-table td,#sw-orders-corrected .oc-position-table td{color:var(--oc-text)}
#sw-orders-corrected input[readonly],#sw-orders-corrected textarea[readonly]{color:var(--oc-text);background:var(--oc-surface);opacity:1}
#sw-orders-corrected .oc-app .oc-position-table tbody tr[data-shipped="true"]{background:color-mix(in srgb,var(--oc-good) 17%,var(--oc-panel));box-shadow:inset 4px 0 var(--oc-good)}
#sw-orders-corrected .oc-app .oc-position-table tbody tr[data-shipped="true"]:hover{background:color-mix(in srgb,var(--oc-good) 23%,var(--oc-panel))}
#sw-orders-corrected .oc-product-cell .oc-badge{margin-top:6px}
#sw-orders-corrected .oc-shipment-guide{display:flex;align-items:center;gap:9px;margin:14px 0;color:var(--oc-muted);font-size:13px;line-height:1.5}
#sw-orders-corrected .oc-shipment-guide>svg{flex:none;color:var(--oc-good)}
#sw-orders-corrected .oc-position-table .oc-data-note{color:var(--oc-warn)}
#sw-orders-corrected .oc-brand .oc-brand-logo{width:69px;height:72px;object-fit:contain;flex:none;filter:drop-shadow(0 2px 3px #0002)}
#sw-orders-corrected .oc-modal-shell.oc-stage-shell{display:block;padding:0;background:#080e1766;backdrop-filter:none}
#sw-orders-corrected .oc-modal-card.oc-stage-dialog{position:absolute;width:min(480px,calc(100% - 24px));padding:22px;border-radius:18px;animation:none}
#sw-orders-corrected .oc-confirm-context{padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid var(--oc-line)}
#sw-orders-corrected .oc-confirm-context strong{display:block;font-size:15px;line-height:1.45}
#sw-orders-corrected .oc-stage-dialog .oc-pending{display:grid;gap:14px;margin:0}
#sw-orders-corrected .oc-stage-dialog .oc-pending .oc-toolbar{justify-content:flex-end;padding:0;border:0;background:transparent}
#sw-orders-corrected .oc-stage-dialog .oc-notice{margin-bottom:14px}
#sw-orders-corrected .oc-notice.oc-stage-notice{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(prefers-color-scheme:light){#sw-orders-corrected .oc-app[data-theme="auto"]{--oc-bg:#e9eff1;--oc-panel:#fafcfc;--oc-surface:#edf2f4;--oc-line:#b7c5ce;--oc-text:#213642;--oc-muted:#526b7b;--oc-accent:#b9362d;--oc-on:#fff;--oc-cyan:#186e87;--oc-good:#24744f;--oc-warn:#8a560f;--oc-bad:#a6322b;--oc-track:#d0dbe0;--oc-shadow:0 15px 35px #25435412;color:var(--oc-text)}}
@media(max-width:850px){#sw-orders-corrected .oc-heading{align-items:flex-start;flex-wrap:wrap}#sw-orders-corrected select.oc-status{min-height:40px;font-size:13px;padding:9px 24px 9px 10px}#sw-orders-corrected .oc-order-table td:nth-child(2){grid-column:auto}#sw-orders-corrected .oc-chain{grid-template-columns:repeat(2,minmax(0,1fr))}#sw-orders-corrected .oc-theme label{font-size:11px}}
@media(max-width:520px){#sw-orders-corrected .oc-search{flex-basis:100%;padding-left:0}#sw-orders-corrected .oc-toolbar>label:not(.oc-search){flex:1;min-width:0;justify-content:space-between}#sw-orders-corrected .oc-chain{grid-template-columns:1fr}#sw-orders-corrected .oc-history-row{grid-template-columns:1fr}#sw-orders-corrected .oc-history-row small{grid-column:auto}#sw-orders-corrected .oc-theme select{font-size:12px;max-width:140px}#sw-orders-corrected .oc-order-thumbs img{width:64px;height:58px}#sw-orders-corrected .oc-viewer-image{height:360px}#sw-orders-corrected .oc-facts-inline{gap:8px 12px}}

#sw-orders-corrected .oc-order-card .oc-client-title{font-size:21px;line-height:1.2;margin:10px 0 2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#sw-orders-corrected .oc-order-sub{margin:0 0 10px;color:var(--oc-muted);font-size:13px}
#sw-orders-corrected .oc-order-dates{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px}
#sw-orders-corrected .oc-order-dates>div{padding:8px 10px;border-radius:10px;background:color-mix(in srgb,currentColor 6%,transparent);border:1px solid color-mix(in srgb,currentColor 12%,transparent)}
#sw-orders-corrected .oc-order-dates small{display:block;font-size:11px;color:var(--oc-muted);text-transform:uppercase;letter-spacing:.04em}
#sw-orders-corrected .oc-order-dates b{display:block;font-size:16px;margin-top:2px}
#sw-orders-corrected .oc-order-dates em{display:block;font-style:normal;font-size:12px;color:var(--oc-muted)}
#sw-orders-corrected .oc-order-dates .is-late{border-color:color-mix(in srgb,var(--oc-warn) 60%,transparent)}
#sw-orders-corrected .oc-order-dates .oc-late{color:var(--oc-warn)}
#sw-orders-corrected .oc-order-thumbs .oc-thumb{position:relative;display:inline-block}
#sw-orders-corrected .oc-order-thumbs .oc-thumb b{position:absolute;inset:0;border-radius:10px;display:grid;place-items:center;background:#0009;color:#fff;border-radius:inherit;font-size:16px}

#sw-orders-corrected .oc-modal-card:has(.oc-production){max-width:920px}
#sw-orders-corrected .oc-production-controls{justify-content:space-between;align-items:center;flex-wrap:wrap}
#sw-orders-corrected .oc-production-controls p{margin-top:6px}
#sw-orders-corrected .oc-production-hint{font-size:13px;color:var(--oc-muted);line-height:1.6;margin:12px 0}
#sw-orders-corrected .oc-production-message{font-size:13px;color:var(--oc-good);line-height:1.5;margin:8px 0}
#sw-orders-corrected .oc-production-preview{background:#fff;border:1px solid #bbc7cf;border-radius:8px;overflow:hidden;margin-top:20px;color-scheme:light}
#sw-orders-corrected .oc-print-editor{border:1px solid var(--oc-line);border-radius:12px;padding:14px;margin:16px 0;background:var(--oc-panel)}
#sw-orders-corrected .oc-print-editor summary{display:flex;align-items:center;gap:8px;cursor:pointer}
#sw-orders-corrected .oc-print-editor form{margin-top:15px}
#sw-orders-corrected .oc-print-note{grid-column:1/-1}
#sw-orders-corrected .oc-print-check{display:flex;align-items:center;gap:10px;margin:14px 0}
#sw-orders-corrected .oc-print-check input{width:18px;height:18px}
@media print{
 html:has([data-print-ready="true"]),body:has([data-print-ready="true"]){margin:0!important;padding:0!important;background:#fff!important}
 #sw-orders-corrected:has([data-print-ready="true"]){margin:0!important;padding:0!important;background:#fff!important;color:#17252e!important}
 #sw-orders-corrected .oc-app[data-print-ready="true"]{padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;min-height:0!important;overflow:visible!important;position:static!important}
 #sw-orders-corrected .oc-app[data-print-ready="true"]::before,#sw-orders-corrected .oc-app[data-print-ready="true"]::after{display:none!important}
 #sw-orders-corrected .oc-app[data-print-ready="true"]>.oc-header,#sw-orders-corrected .oc-app[data-print-ready="true"]>.oc-frame,#sw-orders-corrected .oc-production-controls,#sw-orders-corrected .oc-production-hint,#sw-orders-corrected .oc-production-message{display:none!important}
 #sw-orders-corrected .oc-app[data-print-ready="true"] .oc-modal-shell{position:static!important;display:block!important;padding:0!important;margin:0!important;min-height:0!important;background:none!important;backdrop-filter:none!important;overflow:visible!important}
 #sw-orders-corrected .oc-app[data-print-ready="true"] .oc-modal-card{display:block!important;width:auto!important;max-width:none!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;overflow:visible!important;animation:none!important;transform:none!important}
 #sw-orders-corrected .oc-production-preview{margin:0!important;border:0!important;border-radius:0!important;overflow:visible!important}
 #sw-orders-corrected .oc-production-preview .ops-document{max-width:none!important;width:auto!important}
}

/* Load after the approved catalog and host styles. All screen rules stay inside the embedded Orders module. */
#sw-faceted .sm-main:has(.kd-app) > .sm-title-row,
#sw-faceted .sm-main:has(.kd-app) > .sg-guide {display:none;}
#sw-faceted .sm-main:has(#sw-orders-corrected[data-embedded="true"]) > .sm-title-row,
#sw-faceted .sm-main:has(#sw-orders-corrected[data-embedded="true"]) > .sg-guide {
  display:none;
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] {
  display:block;
  width:100%;
  min-width:0;
  margin:0;
  border:0;
  border-radius:0;
  padding:0;
  background:transparent;
  box-shadow:none;
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] > [data-variant] {
  min-width:0;
  margin:0;
  padding:0;
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] .oc-app {
  --oc-pad:0px;
  width:100%;
  min-width:0;
  margin:0;
  border:0;
  border-radius:0;
  padding:0;
  background:transparent;
  box-shadow:none;
  color:var(--oc-text);
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] .oc-app::before,
#sw-faceted #sw-orders-corrected[data-embedded="true"] .oc-app::after,
#sw-faceted #sw-orders-corrected[data-embedded="true"] .oc-app > .oc-header {
  display:none;
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] .oc-frame {
  width:100%;
  min-width:0;
}

/* The shared shell uses important colors on native inputs. Restore semantic catalog colors at equal importance. */
#sw-faceted #sw-orders-corrected[data-embedded="true"] input:not([type="checkbox"]):not([type="radio"]),
#sw-faceted #sw-orders-corrected[data-embedded="true"] select,
#sw-faceted #sw-orders-corrected[data-embedded="true"] textarea {
  color:var(--oc-text)!important;
  background:var(--oc-surface)!important;
  border-color:var(--oc-line)!important;
  box-shadow:none;
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] input::placeholder,
#sw-faceted #sw-orders-corrected[data-embedded="true"] textarea::placeholder {
  color:var(--oc-muted);
  opacity:1;
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] select option {
  color:var(--oc-text);
  background:var(--oc-panel);
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] select.oc-status[data-tone="good"] {
  color:var(--oc-good)!important;
  border-color:color-mix(in srgb,var(--oc-good) 44%,var(--oc-line))!important;
  background:color-mix(in srgb,var(--oc-good) 6%,var(--oc-surface))!important;
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] select.oc-status[data-tone="bad"] {
  color:var(--oc-bad)!important;
  border-color:color-mix(in srgb,var(--oc-bad) 48%,var(--oc-line))!important;
  background:color-mix(in srgb,var(--oc-bad) 6%,var(--oc-surface))!important;
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] select.oc-status[data-tone="active"] {
  color:var(--oc-cyan)!important;
  border-color:color-mix(in srgb,var(--oc-cyan) 28%,var(--oc-line))!important;
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] select.oc-status[data-tone="muted"] {
  color:var(--oc-muted)!important;
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] :is(input,select,textarea,button) {
  font-family:inherit;
  letter-spacing:normal;
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] .oc-button {
  text-align:center;
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] button:disabled,
#sw-faceted #sw-orders-corrected[data-embedded="true"] select:disabled {
  opacity:1;
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] :is(button,input,select,textarea,summary):focus-visible {
  outline:3px solid var(--oc-cyan);
  outline-offset:3px;
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] :is(button,select,label,th,td) {
  word-break:normal;
  hyphens:none;
}
#sw-faceted #sw-orders-corrected[data-embedded="true"] .oc-modal-shell {
  border-radius:18px;
}
#sw-faceted[data-reduced="true"] #sw-orders-corrected[data-embedded="true"] *,
#sw-faceted[data-reduced="true"] #sw-orders-corrected[data-embedded="true"] *::before,
#sw-faceted[data-reduced="true"] #sw-orders-corrected[data-embedded="true"] *::after {
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important;
}

/* Print only the production sheet. The application remains intact in ordinary screen media. */
@media print {
  body:has(#sw-orders-corrected[data-embedded="true"] [data-print-ready="true"]) > :not(#sw-faceted):not(:has(#sw-faceted)) {
    display:none!important;
  }
  #sw-faceted:has(#sw-orders-corrected[data-embedded="true"] [data-print-ready="true"]) {
    display:block!important;
    position:static!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    padding:0!important;
    overflow:visible!important;
    background:#fff!important;
    color:#17252e!important;
    box-shadow:none!important;
  }
  #sw-faceted:has(#sw-orders-corrected[data-embedded="true"] [data-print-ready="true"])::before,
  #sw-faceted:has(#sw-orders-corrected[data-embedded="true"] [data-print-ready="true"])::after {
    display:none!important;
  }
  #sw-faceted:has(#sw-orders-corrected[data-embedded="true"] [data-print-ready="true"]) .sm-app > :not(.sm-shell),
  #sw-faceted:has(#sw-orders-corrected[data-embedded="true"] [data-print-ready="true"]) .sm-shell > :not(.sm-main),
  #sw-faceted:has(#sw-orders-corrected[data-embedded="true"] [data-print-ready="true"]) .sm-main > :not(#sw-orders-corrected):not(:has(#sw-orders-corrected)) {
    display:none!important;
  }
  #sw-faceted:has(#sw-orders-corrected[data-embedded="true"] [data-print-ready="true"]) :is(.sm-app,.sm-shell,.sm-main),
  #sw-faceted:has(#sw-orders-corrected[data-embedded="true"] [data-print-ready="true"]) .sm-main :has(#sw-orders-corrected) {
    display:block!important;
    position:static!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    padding:0!important;
    overflow:visible!important;
    background:#fff!important;
    box-shadow:none!important;
    transform:none!important;
  }
  #sw-faceted #sw-orders-corrected[data-embedded="true"] :is(.oc-footer,.oc-footnote,.oc-production-controls,.oc-production-hint,.oc-production-message) {
    display:none!important;
  }
  #sw-faceted #sw-orders-corrected[data-embedded="true"] .oc-app[data-print-ready="true"] {
    position:static!important;
    padding:0!important;
    overflow:visible!important;
    min-height:0!important;
    background:#fff!important;
    color:#17252e!important;
  }
  #sw-faceted #sw-orders-corrected[data-embedded="true"] .oc-app[data-print-ready="true"] > :not(.oc-modal-shell) {
    display:none!important;
  }
  #sw-faceted #sw-orders-corrected[data-embedded="true"] .oc-app[data-print-ready="true"] .oc-modal-shell,
  #sw-faceted #sw-orders-corrected[data-embedded="true"] .oc-app[data-print-ready="true"] .oc-modal-card,
  #sw-faceted #sw-orders-corrected[data-embedded="true"] .oc-app[data-print-ready="true"] .oc-production,
  #sw-faceted #sw-orders-corrected[data-embedded="true"] .oc-app[data-print-ready="true"] .oc-production-preview {
    position:static!important;
    display:block!important;
    width:auto!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:visible!important;
    background:#fff!important;
    color:#17252e!important;
    transform:none!important;
    animation:none!important;
  }
  #sw-faceted #sw-orders-corrected[data-embedded="true"] .oc-production-preview .ops-document {
    width:auto!important;
    max-width:none!important;
  }
}

/* Technical department and engineering, within the existing StereoWood application shell. */
#sw-faceted .kd-app {
  --kd-line:var(--fg-border);
  --kd-panel:var(--fg-panel);
  --kd-surface:var(--fg-panel-alt);
  --kd-text:var(--fg-text);
  --kd-muted:var(--fg-muted);
  --kd-accent:var(--fg-cyan);
  --kd-good:var(--fg-success);
  --kd-bad:var(--fg-error);
  display:grid;
  gap:16px;
  min-width:0;
  color:var(--kd-text);
  font:400 14px/1.5 "Segoe UI",Arial,sans-serif;
  accent-color:var(--fg-primary);
}
#sw-faceted .kd-app *,
#sw-faceted .kd-app *::before,
#sw-faceted .kd-app *::after {box-sizing:border-box}
#sw-faceted .kd-app :is(h1,h2,h3,h4,p,figure,dl) {margin:0}
#sw-faceted .kd-app h1 {font-size:27px;font-weight:650;line-height:1.22;letter-spacing:-.6px}
#sw-faceted .kd-app h2 {font-size:19px;font-weight:650;line-height:1.35;letter-spacing:-.2px}
#sw-faceted .kd-app h3 {font-size:15px;font-weight:650;line-height:1.4}
#sw-faceted .kd-app small {font-size:12px;line-height:1.45;color:var(--kd-muted)}
#sw-faceted .kd-app a {color:var(--kd-accent);text-underline-offset:3px}
#sw-faceted .kd-app :is(button,input,select,textarea) {font:inherit}
#sw-faceted .kd-app :is(button,summary,a,input,select,textarea):focus-visible {outline:3px solid var(--kd-accent);outline-offset:3px}
#sw-faceted .kd-app .lucide {width:17px;height:17px;flex:0 0 auto;stroke-width:1.7;vertical-align:-3px}
#sw-faceted .kd-app .kd-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
#sw-faceted .kd-app .kd-heading > div {min-width:0}
#sw-faceted .kd-app .kd-heading p {margin-top:7px;color:var(--kd-muted);max-width:78ch}
#sw-faceted .kd-app .kd-help {padding:12px 16px;border:1px solid var(--kd-line);border-radius:12px;background:var(--kd-panel);color:var(--kd-muted)}
#sw-faceted .kd-app .kd-help summary {display:flex;gap:9px;align-items:center;cursor:pointer;color:var(--kd-text);font-weight:600;list-style:none}
#sw-faceted .kd-app .kd-help summary::-webkit-details-marker {display:none}
#sw-faceted .kd-app .kd-help :is(p,ol,ul) {margin:10px 0 2px;line-height:1.65}
#sw-faceted .kd-app .kd-help :is(ol,ul) {padding-left:22px}
#sw-faceted .kd-app .kd-toolbar {display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}
#sw-faceted .kd-app .kd-toolbar > input[type="search"] {flex:1 1 240px;min-width:0}
#sw-faceted .kd-app .kd-toolbar > .kd-field {flex:1 1 160px}
#sw-faceted .kd-app .kd-tabs {display:flex;gap:5px;align-items:center;flex-wrap:wrap;width:fit-content;max-width:100%;padding:5px;border:1px solid var(--kd-line);border-radius:12px;background:var(--kd-panel)}
#sw-faceted .kd-app .kd-btn {display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:38px;max-width:100%;padding:9px 13px;border:1px solid var(--kd-line);border-radius:10px;background:var(--kd-surface);color:var(--kd-text);font-size:13px;font-weight:550;line-height:1.35;text-align:center;text-decoration:none;white-space:nowrap;word-break:normal;hyphens:none;cursor:pointer;transition:background-color 140ms ease,border-color 140ms ease,transform 140ms ease}
#sw-faceted .kd-app .kd-btn:hover {border-color:var(--kd-accent);background:color-mix(in srgb,var(--kd-surface) 89%,var(--kd-accent))}
#sw-faceted .kd-app .kd-btn:active {transform:translateY(1px)}
#sw-faceted .kd-app .kd-btn.primary {background:var(--fg-primary);border-color:var(--fg-primary);color:var(--fg-on-primary)}
#sw-faceted .kd-app .kd-btn.primary:hover {background:color-mix(in srgb,var(--fg-primary) 92%,var(--fg-on-primary))}
#sw-faceted .kd-app .kd-btn:disabled {opacity:1;cursor:default;color:var(--kd-muted);background:var(--kd-surface);border-color:var(--kd-line);transform:none}
#sw-faceted .kd-app .kd-tabs .kd-btn {border-color:transparent;background:transparent;min-height:34px;padding:7px 11px}
#sw-faceted .kd-app .kd-tabs .kd-btn:is([aria-pressed="true"],[aria-current="page"],.active) {background:var(--fg-selected);border-color:var(--kd-line);color:var(--kd-text)}
#sw-faceted .kd-app .kd-badge {display:inline-flex;align-items:center;gap:5px;width:fit-content;max-width:100%;padding:4px 8px;border:1px solid var(--kd-line);border-radius:7px;color:var(--kd-muted);background:var(--kd-surface);font-size:12px;font-weight:550;line-height:1.4;word-break:normal}
#sw-faceted .kd-app .kd-badge.good {color:var(--kd-good);border-color:color-mix(in srgb,var(--kd-good) 45%,var(--kd-line));background:color-mix(in srgb,var(--kd-good) 9%,var(--kd-panel))}
#sw-faceted .kd-app .kd-badge.bad {color:var(--kd-bad);border-color:color-mix(in srgb,var(--kd-bad) 45%,var(--kd-line));background:color-mix(in srgb,var(--kd-bad) 9%,var(--kd-panel))}
#sw-faceted .kd-app .kd-badge.active {color:var(--kd-accent);border-color:color-mix(in srgb,var(--kd-accent) 40%,var(--kd-line));background:color-mix(in srgb,var(--kd-accent) 8%,var(--kd-panel))}
#sw-faceted .kd-app .kd-orders {display:grid;gap:10px;min-width:0}
#sw-faceted .kd-app .kd-order {display:grid;grid-template-columns:minmax(180px,1.6fr) repeat(3,minmax(105px,.7fr)) auto;align-items:center;gap:12px 16px;padding:15px 18px;border:1px solid var(--kd-line);border-radius:14px;background:var(--kd-panel);min-width:0;animation:kd-enter 160ms ease-out}
#sw-faceted .kd-app .kd-order > * {min-width:0}
#sw-faceted .kd-app .kd-order strong {display:block;font-weight:650}
#sw-faceted .kd-app .kd-order small {display:block;margin-top:4px}
#sw-faceted .kd-app .kd-table-wrap {width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid var(--kd-line);border-radius:14px;background:var(--kd-panel)}
#sw-faceted .kd-app .kd-table {width:100%;min-width:800px;border-collapse:separate;border-spacing:0;text-align:left;color:var(--kd-text);font-size:13px;line-height:1.45}
#sw-faceted .kd-app .kd-table th {padding:12px 13px;background:var(--kd-surface);color:var(--kd-muted);font-size:12px;font-weight:600;text-align:left;white-space:nowrap}
#sw-faceted .kd-app .kd-table td {padding:12px 13px;border-top:1px solid var(--kd-line);vertical-align:middle;color:var(--kd-text);word-break:normal;hyphens:none}
#sw-faceted .kd-app .kd-table td small {display:block;margin-top:3px}
#sw-faceted .kd-app .kd-table td .kd-toolbar {gap:6px}
#sw-faceted .kd-app .kd-table tbody tr {transition:background-color 140ms ease}
#sw-faceted .kd-app .kd-table tbody tr:hover {background:color-mix(in srgb,var(--kd-accent) 5%,transparent)}
#sw-faceted .kd-app .kd-product {display:flex;align-items:center;gap:12px;min-width:185px;max-width:430px}
#sw-faceted .kd-app .kd-product > div {min-width:0}
#sw-faceted .kd-app .kd-heading > .kd-product {max-width:min(920px,100%);flex:1 1 480px}
#sw-faceted .kd-app .kd-product strong {display:block;font-size:14px;font-weight:650;line-height:1.4}
#sw-faceted .kd-app .kd-product small {overflow-wrap:anywhere}
#sw-faceted .kd-app .kd-photo {display:flex;justify-content:center;align-items:center;flex:0 0 60px;width:60px;height:54px;padding:3px;border:1px solid var(--kd-line);border-radius:10px;background:#f8f9f6;color:#45606d;overflow:hidden;cursor:zoom-in}
#sw-faceted .kd-app .kd-photo img {display:block;width:100%;height:100%;object-fit:contain;border-radius:6px;transition:transform 140ms ease}
#sw-faceted .kd-app .kd-photo:hover img {transform:scale(1.04)}
#sw-faceted .kd-app .kd-card {min-width:0;padding:20px;border:1px solid var(--kd-line);border-radius:16px;background:var(--kd-panel)}
#sw-faceted .kd-app .kd-card > :is(h2,h3) {margin-bottom:12px}
#sw-faceted .kd-app .kd-card > p + p {margin-top:9px}
#sw-faceted .kd-app .kd-card > .kd-toolbar {margin-top:15px}
#sw-faceted .kd-app .kd-two-col {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0;align-items:start}
#sw-faceted .kd-app .kd-file-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
#sw-faceted .kd-app .kd-file-category {display:flex;flex-direction:column;gap:12px;min-width:0;padding:16px;border:1px solid var(--kd-line);border-radius:13px;background:var(--kd-panel);animation:kd-enter 150ms ease-out}
#sw-faceted .kd-app .kd-file-category > header {display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
#sw-faceted .kd-app .kd-file-category > .kd-toolbar:last-child {margin-top:auto}
#sw-faceted .kd-app .kd-file-category .kd-empty {padding:16px 12px}
#sw-faceted .kd-app .kd-field {display:grid;gap:6px;min-width:0;color:var(--kd-muted);font-size:13px}
#sw-faceted .kd-app input:not([type="checkbox"]):not([type="radio"]),
#sw-faceted .kd-app select,
#sw-faceted .kd-app textarea {width:100%;min-width:0;max-width:100%;min-height:40px;padding:9px 11px;border:1px solid var(--kd-line);border-radius:9px;color:var(--kd-text)!important;background:var(--kd-surface)!important;border-color:var(--kd-line)!important;box-shadow:none}
#sw-faceted .kd-app textarea {min-height:96px;resize:vertical;line-height:1.55}
#sw-faceted .kd-app input[type="file"] {font-size:12px;padding:8px}
#sw-faceted .kd-app input::file-selector-button {padding:5px 8px;margin-right:8px;border:1px solid var(--kd-line);border-radius:6px;background:var(--kd-panel);color:var(--kd-text);cursor:pointer}
#sw-faceted .kd-app :is(input,textarea)::placeholder {color:var(--kd-muted);opacity:1}
#sw-faceted .kd-app option {color:var(--kd-text);background:var(--kd-panel)}
#sw-faceted .kd-app :is(input,select,textarea):disabled {opacity:1;color:var(--kd-muted)!important;cursor:default}
#sw-faceted .kd-app .kd-file-list {display:grid;gap:7px;list-style:none;padding:0;margin:0;min-width:0}
#sw-faceted .kd-app .kd-file-list > :is(li,div) {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border:1px solid var(--kd-line);border-radius:9px;background:var(--kd-surface);min-width:0}
#sw-faceted .kd-app .kd-file-list > :is(li,div) > :first-child {min-width:0;overflow-wrap:anywhere}
#sw-faceted .kd-app .kd-file-list > li > div:first-child {display:grid;gap:4px;flex:1 1 150px}
#sw-faceted .kd-app .kd-file-list > li {flex-wrap:wrap}
#sw-faceted .kd-app .kd-file-list .kd-btn {flex-shrink:0;font-size:12px;min-height:32px;padding:6px 9px}
#sw-faceted .kd-app .kd-empty {padding:24px 18px;border:1px dashed var(--kd-line);border-radius:12px;text-align:center;color:var(--kd-muted);font-size:13px;line-height:1.6}
#sw-faceted .kd-app .kd-empty strong {display:block;color:var(--kd-text);margin-bottom:6px}
#sw-faceted .kd-app .kd-notice {padding:13px 16px;border:1px solid color-mix(in srgb,var(--kd-accent) 40%,var(--kd-line));border-radius:11px;background:color-mix(in srgb,var(--kd-accent) 7%,var(--kd-panel));color:var(--kd-text);font-size:13px;line-height:1.6;overflow-wrap:break-word}
#sw-faceted .kd-app .kd-notice.bad {border-color:color-mix(in srgb,var(--kd-bad) 45%,var(--kd-line));background:color-mix(in srgb,var(--kd-bad) 8%,var(--kd-panel))}
#sw-faceted .kd-app .kd-notice.good {border-color:color-mix(in srgb,var(--kd-good) 45%,var(--kd-line));background:color-mix(in srgb,var(--kd-good) 8%,var(--kd-panel))}
#sw-faceted .kd-app .kd-timeline {list-style:none;margin:0;padding:0;display:grid;min-width:0}
#sw-faceted .kd-app .kd-timeline > :is(li,article,div) {position:relative;padding:0 0 19px 24px;border-left:1px solid var(--kd-line);margin-left:5px;min-width:0}
#sw-faceted .kd-app .kd-timeline > :is(li,article,div)::before {content:"";position:absolute;left:-5px;top:6px;width:9px;height:9px;border-radius:50%;background:var(--kd-accent);border:2px solid var(--kd-panel)}
#sw-faceted .kd-app .kd-timeline > :last-child {border-left-color:transparent;padding-bottom:0}
#sw-faceted .kd-app .kd-timeline strong {display:block;font-weight:600}
#sw-faceted .kd-app .kd-timeline :is(small,time) {color:var(--kd-muted);font-size:12px}
#sw-faceted .kd-app .kd-timeline p {margin-top:5px;overflow-wrap:break-word;font-size:13px}
#sw-faceted .kd-app .kd-sticky-actions {position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 16px;border:1px solid var(--kd-line);border-radius:13px;background:var(--kd-panel);box-shadow:0 5px 20px var(--fg-shadow)}
#sw-faceted .kd-app .kd-source {color:var(--kd-muted);font-size:12px;line-height:1.6;overflow-wrap:break-word}

/* Native dialogs use the browser top layer and stay inside the visible viewport. */
#sw-faceted .kd-app :is(dialog.kd-dialog,dialog.kd-photo-view) {position:fixed;inset:0;margin:auto;min-width:0;width:min(600px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;padding:24px;border:1px solid var(--kd-line);border-radius:18px;box-shadow:0 24px 80px #0006;background:var(--kd-panel);color:var(--kd-text)}
#sw-faceted .kd-app :is(dialog.kd-dialog,dialog.kd-photo-view)::backdrop {background:#080e17b8;backdrop-filter:blur(3px)}
#sw-faceted .kd-app dialog.kd-dialog[open] {display:grid;gap:16px;animation:kd-enter 160ms ease-out}
#sw-faceted .kd-app dialog.kd-dialog form {display:grid;gap:16px}
#sw-faceted .kd-app dialog.kd-dialog .kd-toolbar:last-child {justify-content:flex-end}
#sw-faceted .kd-app dialog.kd-photo-view {width:min(1180px,calc(100vw - 32px));padding:16px}
#sw-faceted .kd-app dialog.kd-photo-view[open] {display:flex;flex-direction:column;gap:12px;animation:kd-enter 150ms ease-out}
#sw-faceted .kd-app dialog.kd-photo-view > :is(header,.kd-toolbar) {display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
#sw-faceted .kd-app dialog.kd-photo-view img {display:block;width:100%;height:min(72dvh,800px);min-height:180px;object-fit:contain;border-radius:10px;background:#fff}
@keyframes kd-enter {from {opacity:.6;transform:translateY(4px)}to {opacity:1;transform:translateY(0)}}
@media (max-width:1100px) {
  #sw-faceted .kd-app .kd-order {grid-template-columns:minmax(160px,1.5fr) repeat(2,minmax(90px,.7fr))}
  #sw-faceted .kd-app .kd-order > .kd-btn:last-child {justify-self:start}
}
@media (max-width:850px) {
  #sw-faceted .kd-app .kd-two-col {grid-template-columns:minmax(0,1fr)}
  #sw-faceted .kd-app .kd-order {grid-template-columns:minmax(0,1fr) minmax(100px,.7fr)}
  #sw-faceted .kd-app .kd-order > :first-child {grid-column:1/-1}
  #sw-faceted .kd-app .kd-file-grid {grid-template-columns:minmax(0,1fr)}
}
@media (max-width:520px) {
  #sw-faceted .kd-app {gap:12px}
  #sw-faceted .kd-app h1 {font-size:23px}
  #sw-faceted .kd-app .kd-card {padding:15px}
  #sw-faceted .kd-app .kd-order {padding:14px}
  #sw-faceted .kd-app .kd-toolbar > .kd-field {flex-basis:100%}
  #sw-faceted .kd-app .kd-sticky-actions {position:static;padding:12px}
  #sw-faceted .kd-app :is(dialog.kd-dialog,dialog.kd-photo-view) {width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:16px;border-radius:14px}
}
@media (prefers-reduced-motion:reduce) {
  #sw-faceted .kd-app *,#sw-faceted .kd-app *::before,#sw-faceted .kd-app *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
#sw-faceted[data-reduced="true"] .kd-app *,
#sw-faceted[data-reduced="true"] .kd-app *::before,
#sw-faceted[data-reduced="true"] .kd-app *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}

#sw-faceted .kd-app .ks-panel{display:grid;gap:16px;min-width:0}
#sw-faceted .kd-app .ks-panel .kd-card{display:grid;gap:14px;min-width:0}
#sw-faceted .kd-app .ks-editor>summary{cursor:pointer}
#sw-faceted .kd-app .ks-editor form{display:grid;gap:14px;margin-top:14px}
#sw-faceted .kd-app .ks-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#sw-faceted .kd-app .ks-count{border:1px solid var(--kd-line);border-radius:14px;padding:16px;display:flex;gap:14px;align-items:center;color:var(--kd-text);background:var(--kd-surface);text-align:left;cursor:pointer;transition:transform 150ms ease}
#sw-faceted .kd-app .ks-count:hover{transform:translateY(-2px)}
#sw-faceted .kd-app .ks-count strong{font-size:30px;line-height:1;font-variant-numeric:tabular-nums}
#sw-faceted .kd-app .ks-count.good strong{color:var(--kd-good)}
#sw-faceted .kd-app .ks-count.bad strong{color:var(--kd-bad)}
#sw-faceted .kd-app .ks-count.active strong{color:var(--kd-accent)}
#sw-faceted .kd-app .ks-count small{display:block;margin-top:4px}
#sw-faceted .kd-app .ks-result-table{min-width:820px}
#sw-faceted .kd-app .ks-result-table td{font-variant-numeric:tabular-nums}
#sw-faceted .kd-app .ks-result-table td:first-child{min-width:210px}
#sw-faceted .kd-app .ks-result-table td:last-child{min-width:240px;max-width:360px}
#sw-faceted .kd-app .ks-edit-table{min-width:1100px}
#sw-faceted .kd-app .ks-edit-table input{width:100%;min-width:65px}
#sw-faceted .kd-app .ks-edit-table td:nth-child(1){width:140px}
#sw-faceted .kd-app .ks-edit-table td:nth-child(2){width:260px}
#sw-faceted .kd-app .ks-edit-table td:nth-child(6){min-width:220px}
#sw-faceted .kd-app .ks-edit-table select{width:100%;max-width:300px}
#sw-faceted .kd-app .ks-stock-table input{width:110px}
#sw-faceted .kd-app .ks-document{display:grid;gap:10px;padding:16px;margin:12px 0;border:1px solid var(--kd-line);border-radius:12px;background:var(--kd-surface);overflow-wrap:anywhere}
#sw-faceted .kd-app .ks-review{color:var(--kd-accent)}
#sw-faceted .kd-app .ks-record-lines{display:grid;gap:8px;padding:0;list-style:none;margin:0}
#sw-faceted .kd-app .ks-record-lines li{display:flex;justify-content:space-between;gap:16px}
#sw-faceted .kd-app .ks-record-lines strong{white-space:nowrap;font-variant-numeric:tabular-nums}
#sw-faceted .kd-app .ks-dialog{max-width:600px}
@media(max-width:650px){#sw-faceted .kd-app .ks-counts{grid-template-columns:1fr}#sw-faceted .kd-app .ks-count{padding:12px}#sw-faceted .kd-app .ks-count strong{font-size:25px}}
@media(prefers-reduced-motion:reduce){#sw-faceted .kd-app .ks-count{transition:none;transform:none}}

#sw-faceted .fg-brandlogo{display:block;flex:none;line-height:0;padding:6px 12px;border-radius:12px;background:#fbf8f3;box-shadow:0 1px 0 rgba(255,255,255,.35) inset,0 2px 8px rgba(0,0,0,.25)}#sw-faceted[data-theme=light] .fg-brandlogo{padding:0;background:transparent;box-shadow:none}#sw-faceted .fg-brandlogo img{display:block;height:46px;width:auto;max-width:none}#sw-faceted[data-theme=light] .fg-brandlogo img{height:52px}#sw-faceted .fg-demo{align-self:flex-end;font-size:11px;color:var(--fg-muted);padding:2px 7px;border:1px solid var(--fg-border);border-radius:999px;margin-bottom:6px}@media(max-width:560px){#sw-faceted .fg-brandlogo img,#sw-faceted[data-theme=light] .fg-brandlogo img{height:40px}}