:root{--font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--bg-canvas:#f8f9fa;--bg-card:#fff;--border-color:#e5e7eb;--border-subtle:#f1f5f9;--text-primary:#0f172a;--text-secondary:#475569;--text-muted:#64748b;--primary:#2563eb;--primary-hover:#1d4ed8;--primary-subtle:#eff6ff;--shadow-sm:0 1px 2px #00000008;--shadow-card:0 1px 3px #00000005, 0 6px 16px #0000000a;--shadow-hover:0 3px 8px #0000000a, 0 12px 24px #0000000f;--radius-card:12px;--radius-button:8px;--radius-input:8px;font-family:var(--font-family);color:var(--text-primary);background:var(--bg-canvas);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;text-rendering:optimizelegibility;font-size:14px}*{box-sizing:border-box}html{scrollbar-gutter:stable;height:100%;overflow-y:scroll}body{background:var(--bg-canvas);min-height:100%;color:var(--text-primary);margin:0}#root{flex-direction:column;min-height:100%;display:flex}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--primary);outline-offset:2px}h1,h2,h3,p{margin:0}h1{letter-spacing:-.025em;color:var(--text-primary);font-size:24px;font-weight:700;line-height:1.2}h2{letter-spacing:-.015em;color:var(--text-primary);font-size:16px;font-weight:700;line-height:1.25}h3{font-size:14px;font-weight:600;line-height:1.3}a{color:var(--primary);text-decoration-thickness:1px}.app{min-height:100vh;padding-bottom:82px}.app.variant-b{background:#e5e7eb}.prototype-tag{z-index:40;color:#6b7280;letter-spacing:.13em;background:#fff;border:1px solid #d1d5db;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800;position:fixed;top:10px;right:14px}.eyebrow{color:#64748b;letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:700}.muted,.soft-stat{color:#64748b}.toolbar-hint{color:#64748b;margin-left:10px;font-size:13px;font-weight:400}.section-toolbar-title{flex-wrap:wrap;align-items:baseline;gap:10px;display:inline-flex}.small{font-size:12px}.nowrap{white-space:nowrap}.brand{letter-spacing:-.015em;color:#0f172a;align-items:center;gap:8px;font-size:16px;font-weight:800;line-height:1;display:flex}.brand-mark{justify-content:center;align-items:center;display:inline-flex}.brand-logo{-webkit-user-select:none;user-select:none;align-items:center;gap:10px;line-height:1;text-decoration:none;transition:opacity .15s,transform .15s;display:inline-flex}.brand-logo:hover{opacity:.92;transform:translateY(-.5px)}.brand-logo-icon-wrap{color:#2563eb;background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 100%);border:1px solid #bfdbfecc;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s;display:inline-flex;box-shadow:0 1px 2px #2563eb14}.brand-logo:hover .brand-logo-icon-wrap{color:#fff;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border-color:#1d4ed8;box-shadow:0 3px 10px #2563eb47}.brand-logo-sm .brand-logo-icon-wrap{border-radius:7px;width:26px;height:26px}.brand-logo-lg .brand-logo-icon-wrap{border-radius:12px;width:40px;height:40px}.brand-logo-text{letter-spacing:-.025em;color:#0f172a;align-items:baseline;font-size:17px;font-weight:800;display:inline-flex}.brand-logo-accent{color:#2563eb;font-weight:800}.brand-logo-dot{background:#2563eb;border-radius:50%;align-self:flex-end;width:4px;height:4px;margin-bottom:2px;margin-left:2px;display:inline-block}.button{border-radius:var(--radius-button);white-space:nowrap;min-height:34px;box-shadow:var(--shadow-sm);background:#fff;border:1px solid #d1d5db;justify-content:center;align-items:center;gap:6px;padding:6px 12px;font-size:13px;font-weight:600;transition:background-color .15s,border-color .15s,transform .15s,box-shadow .15s;display:inline-flex}.button:hover{background:#f8fafc;border-color:#94a3b8;box-shadow:0 2px 4px #0000000a}.button:active{transform:translateY(1px)}.button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none;transform:none}.button-primary{color:#fff;background:linear-gradient(#2563eb 0%,#1d4ed8 100%);border-color:#1d4ed8;box-shadow:0 1px 3px #2563eb40}.button-primary:hover{background:linear-gradient(#1d4ed8 0%,#1e40af 100%);border-color:#1e40af;box-shadow:0 2px 6px #2563eb59}.button-primary:disabled{color:#fff;opacity:.6;cursor:not-allowed;background:#93c5fd;border-color:#93c5fd}.button-small{border-radius:6px;min-height:28px;padding:4px 9px;font-size:12px}.button-selected{color:#fff;background:#15803d;border-color:#15803d}.icon-button{color:#64748b;background:#f1f5f9;border:0;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:18px;transition:background-color .15s;display:inline-flex}.icon-button:hover{color:#0f172a;background:#e2e8f0}.screen-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px;display:flex}.screen-header-copy{gap:6px;display:grid}.screen-header-copy p{color:#64748b;max-width:720px;font-size:13px;line-height:1.5}.screen-header-actions{flex-wrap:wrap;align-items:center;gap:8px;padding-top:4px;display:flex}.selection-counter,.soft-stat{color:#475569;white-space:nowrap;min-height:32px;box-shadow:var(--shadow-sm);background:#fff;border:1px solid #e2e8f0;border-radius:999px;align-items:center;gap:6px;padding:5px 12px;font-size:12px;font-weight:600;display:inline-flex}.card,.card-shell{border:1px solid var(--border-color);border-radius:var(--radius-card);box-shadow:var(--shadow-card);background:#fff}.card-shell{position:relative;overflow:visible}.card{padding:18px}.section-toolbar{border-bottom:1px solid var(--border-color);border-top-left-radius:var(--radius-card);border-top-right-radius:var(--radius-card);background:#fafbfc;justify-content:space-between;align-items:center;gap:16px;padding:12px 18px;display:flex}.orders-toolbar-filters{flex-wrap:nowrap;align-items:flex-end;gap:12px;margin-left:auto;display:flex}.orders-toolbar-filters .field{flex-shrink:0;width:185px;min-width:150px}.orders-toolbar-filters .filter-result{white-space:nowrap;padding-bottom:7px;font-size:13px}.orders-toolbar-filters .button{flex-shrink:0;margin-bottom:2px}.simple-toolbar{align-items:center}.simple-toolbar>div:first-child{gap:3px;display:grid}.section-title-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.section-title-row p{color:#64748b;margin-top:3px;font-size:12px}.filter-grid{flex:1;grid-template-columns:repeat(5,minmax(0,1fr));align-items:flex-end;gap:8px;min-width:0;display:grid}.filter-grid .field{width:100%;min-width:0}.filter-result{color:#64748b;white-space:nowrap;font-size:12px}.filter-result strong{color:#0f172a}.field{gap:4px;display:grid}.field>span,.field label{color:#64748b;text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:700}.field select,.field input,.field textarea{border-radius:var(--radius-input);background:#fff;border:1px solid #d1d5db;width:100%;min-height:34px;padding:6px 10px;font-size:13px;transition:border-color .15s,box-shadow .15s}.field select:focus,.field input:focus,.field textarea:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1f}.table-scroll{overflow-x:auto}.data-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:760px}.data-table th,.data-table td{text-align:left;vertical-align:top;overflow-wrap:break-word;word-break:break-word;border-bottom:1px solid #f1f5f9;padding:10px 12px}.data-table th{color:#64748b;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;border-bottom:1px solid var(--border-color);background:#fafbfc;font-size:11px;font-weight:700}.data-table tbody tr:last-child td,.data-table tbody tr:last-child th{border-bottom:0}.data-table tbody tr{transition:background-color .1s}.data-table tbody tr:hover td{background:#f8fafc}.cell-subtext,.th-subtext{color:#64748b;margin-top:3px;font-size:11px;font-weight:500;display:block}.notes-cell{color:#64748b;overflow-wrap:break-word;word-break:break-word;font-size:12px}.sortable-th{-webkit-user-select:none;user-select:none}.th-sort-button{width:100%;font:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:none;align-items:center;gap:5px;margin:0;padding:0;display:inline-flex}.th-sort-button:hover{color:#0f172a}.th-sort-content{align-items:center;display:inline-flex}.sort-indicator{font-size:9px;line-height:1;transition:opacity .15s,color .15s;display:inline-block}.sort-indicator-muted{opacity:.25}.th-sort-button:hover .sort-indicator-muted{opacity:.7}.sort-indicator-active{opacity:1;color:#2563eb}.items-table{min-width:980px}.items-table th.col-select,.items-table td.col-select{text-align:center;width:38px}.items-table th.col-actions,.items-table td.col-actions{text-align:right;width:70px}.row-rejected td{color:#94a3b8}.row-rejected td:first-child strong{text-decoration:line-through}.row-selected td{background:#f0f7ff!important}.data-table tbody tr.row-selected:hover td{background:#e0f0fe!important}.item-card-selected{background:#f8faff;border-color:#93c5fd}.empty-state{color:#64748b;text-align:center;padding:36px 20px;font-size:13px}.status-badge{white-space:nowrap;border:1px solid #0000;border-radius:999px;align-items:center;gap:5px;min-height:22px;padding:3px 9px;font-size:11px;font-weight:700;line-height:1;transition:all .15s;display:inline-flex}.status-badge:before{content:"";background-color:currentColor;border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.status-badge-compact{min-height:20px;padding:2px 7px;font-size:10px}.status-badge-compact:before{width:5px;height:5px}.status-szkic,.status-do-zaplanowania,.status-zlozone{color:#475569;background:#f1f5f9;border-color:#e2e8f0}.status-w-wycenie,.status-zaplanowane,.status-wyslane{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.status-wyceniony{color:#0e7490;background:#ecfeff;border-color:#a5f3fc}.status-wybrany{color:#6d28d9;background:#f5f3ff;border-color:#ddd6fe}.status-zamowiony,.status-w-toku,.status-czesciowo,.status-czesciowo-dostarczone,.status-w-realizacji{color:#c2410c;background:#fff7ed;border-color:#fed7aa}.status-dostarczony,.status-dostarczone,.status-przyjeta,.status-zrobione,.status-potwierdzone,.status-zamkniete{color:#15803d;background:#f0fdf4;border-color:#bbf7d0}.status-kupione-poza-procesem{color:#0f766e;background:#f0fdfa;border-color:#99f6e4}.status-odrzucony,.status-anulowane{color:#94a3b8;background:#f8fafc;border-color:#e2e8f0;text-decoration:line-through}.item-cards,.offer-cards,.order-cards{gap:8px;padding:12px;display:grid}.item-card{gap:10px;display:grid}.item-card-rejected{opacity:.62}.item-card-rejected h3{text-decoration:line-through}.item-card-head,.offer-item-heading,.order-card-top,.unplanned-task-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.item-card-head h3,.offer-item-heading h3,.order-card-top h3{margin-top:2px}.item-id{color:#94a3b8;letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:800}.item-card-meta,.order-card-meta{color:#374151;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;font-size:12px;display:grid}.item-card-meta span,.order-card-meta span{gap:2px;display:grid}.item-card-meta b,.order-card-meta b,.task-detail-grid b{color:#9ca3af;letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:800}.item-note{color:#6b7280;border-top:1px solid #f0f1f3;padding-top:8px;font-size:12px}.quantity-chip{color:#6b7280;white-space:nowrap;background:#f3f4f6;border-radius:999px;padding:4px 7px;font-size:11px}.offers-table{min-width:880px}.offers-table td{width:25%}.offer-cell{min-width:190px}.offer-cell-selected{background:#ecfdf5;box-shadow:inset 3px 0 #16a34a}.offer-choice{justify-content:space-between;align-items:center;gap:8px;min-height:58px;display:flex}.offer-choice-copy{gap:2px;display:grid}.offer-choice-copy strong{color:#111827}.offer-choice-copy span,.offer-choice-copy small{color:#6b7280;font-size:11px;line-height:1.25}.offer-choice-copy small{color:#2563eb}.no-quote{color:#9ca3af;font-size:20px}.summary-row th,.summary-row td{background:#f8fafc}.summary-row strong{color:#111827}.offer-summary-block{border-top:1px solid #e5e7eb;padding:16px 14px 14px}.offer-summary-block .section-title-row{align-items:center;margin-bottom:10px}.summary-total-count{color:#2563eb;font-size:12px;font-weight:800}.offer-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.offer-summary-card{background:#fafbfc;border:1px solid #e5e7eb;border-radius:8px;gap:5px;padding:10px;display:grid}.offer-summary-card.selected{background:#f0fdf4;border-color:#86efac}.summary-card-top{justify-content:space-between;gap:8px;font-size:12px;font-weight:800;display:flex}.summary-count,.offer-summary-card small{color:#6b7280;font-size:11px;font-weight:500}.offer-summary-card>strong{letter-spacing:-.02em;font-size:18px}.offer-cards{padding:0}.offer-item-card{gap:10px;display:grid}.offer-mobile-choices{gap:0;display:grid}.offer-mobile-row{border-top:1px solid #e5e7eb;grid-template-columns:108px minmax(0,1fr);align-items:center;gap:8px;padding:8px 0;display:grid}.offer-mobile-row.selected{background:#ecfdf5;border-radius:6px;margin:0 -6px;padding:8px 6px}.store-name{color:#374151;font-size:12px;font-weight:800}.offer-choice-mobile{min-height:38px}.order-card{gap:12px;display:grid}.order-card-meta{grid-template-columns:1fr 1fr auto;align-items:end}.order-card-meta strong{text-align:right;font-size:16px}.delivery-layout{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:12px;display:grid}.delivery-card{gap:14px;display:grid}.delivery-card-active{border-color:#c4b5fd;box-shadow:inset 3px 0 #7c3aed}.delivery-progress{background:#ede9fe;border-radius:999px;height:5px;overflow:hidden}.delivery-progress span{border-radius:inherit;background:#7c3aed;height:100%;transition:width .2s;display:block}.delivery-items{display:grid}.delivery-item{cursor:pointer;border-top:1px solid #e5e7eb;grid-template-columns:20px 20px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:48px;display:grid}.delivery-item input{opacity:0;width:1px;height:1px;position:absolute}.delivery-checkbox{color:#fff;border:1px solid #cbd5e1;border-radius:5px;place-items:center;width:20px;height:20px;font-size:13px;font-weight:800;display:grid}.delivery-item.received .delivery-checkbox{background:#16a34a;border-color:#16a34a}.delivery-item>span:nth-of-type(2){gap:2px;display:grid}.delivery-item small,.history-row span{color:#6b7280;font-size:11px}.delivery-item-state{color:#9ca3af;font-size:11px;font-weight:700}.delivery-item.received .delivery-item-state{color:#16a34a}.delivery-foot{color:#6b7280;border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:10px;padding-top:12px;font-size:12px;display:flex}.delivery-foot strong{color:#111827}.history-card{align-self:start}.history-icon{color:#6b7280;background:#f3f4f6;border-radius:50%;place-items:center;width:30px;height:30px;font-size:18px;display:grid}.history-list{gap:0;margin-top:12px;display:grid}.history-row{border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;display:flex}.history-row>div{gap:3px;display:grid}.unplanned-section{margin-bottom:14px}.section-kicker{align-items:baseline;gap:8px;margin-bottom:8px;display:flex}.section-kicker strong{font-size:13px}.section-kicker>span:last-child{color:#9ca3af;font-size:12px}.unplanned-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.unplanned-task{border-left:3px solid #9ca3af;gap:10px;display:grid}.task-detail-grid{color:#4b5563;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;font-size:11px;display:grid}.task-detail-grid span{gap:2px;display:grid}.gantt-card{padding:0;overflow:hidden}.gantt-title{padding:14px}.gantt-month{color:#6b7280;font-size:11px}.gantt-scroll{border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;overflow-x:auto}.gantt-grid{grid-template-columns:236px minmax(900px,1fr);min-width:1136px;display:grid}.gantt-head-label{color:#6b7280;letter-spacing:.07em;text-transform:uppercase;background:#fafbfc;align-self:stretch;padding:10px 12px;font-size:10px;font-weight:800}.gantt-days{background:#fafbfc;grid-template-columns:repeat(30,minmax(28px,1fr));display:grid}.gantt-days span{color:#6b7280;text-align:center;border-left:1px solid #eef0f2;padding:10px 0;font-size:10px}.gantt-row{border:1px solid #0000;border-radius:7px;grid-column:1/-1;grid-template-columns:236px minmax(900px,1fr);margin:5px 6px;display:grid}.gantt-task-meta{align-content:center;gap:2px;min-height:54px;padding:7px 8px;display:grid}.gantt-task-meta span,.gantt-task-meta small{color:#6b7280;font-size:10px}.gantt-task-meta small{color:#b45309}.gantt-track{background-color:#fff;background-image:linear-gradient(90deg,#eef0f2 1px,#0000 1px);background-size:3.33333% 100%;grid-template-columns:repeat(30,minmax(28px,1fr));align-items:center;min-height:54px;display:grid}.gantt-bar{color:#fff;white-space:nowrap;background:#2563eb;border-radius:5px;align-items:center;min-width:0;height:26px;padding:0 7px;font-size:10px;font-weight:800;display:flex;overflow:hidden}.gantt-bar-secondary{background:#7c3aed}.warning-row-collision{background:#fff7f7;border-color:#ef4444}.warning-row-dependency{background:#fffaf5;border-color:#f97316}.warning-row-delivery{background:#faf8ff;border-color:#8b5cf6}.warning-row-collision .gantt-bar{background:#dc2626}.warning-row-dependency .gantt-bar{background:#ea580c}.warning-row-delivery .gantt-bar{background:#7c3aed}.warning-legend{color:#6b7280;flex-wrap:wrap;gap:12px;padding:11px 14px 13px;font-size:11px;display:flex}.warning-legend span{align-items:center;gap:5px;display:inline-flex}.legend-swatch{border:2px solid;border-radius:3px;width:10px;height:10px;display:inline-block}.legend-collision{border-color:#ef4444}.legend-dependency{border-color:#f97316}.legend-delivery{border-color:#8b5cf6}.dictionary-search-toolbar{border:1px solid var(--border-color);border-radius:var(--radius-card);box-shadow:var(--shadow-card);background:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;padding:12px 18px;display:flex}.dictionary-search-input-wrap{flex:1;align-items:center;min-width:260px;max-width:520px;display:flex;position:relative}.dictionary-search-input-wrap svg{color:#94a3b8;pointer-events:none;position:absolute;left:12px}.dictionary-search-input{box-sizing:border-box;color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;height:38px;padding:0 36px 0 38px;font-size:13px;transition:border-color .15s,box-shadow .15s}.dictionary-search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.dictionary-search-input-wrap .search-clear-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 6px;font-size:13px;position:absolute;right:8px}.dictionary-search-input-wrap .search-clear-btn:hover{color:#0f172a;background:#f1f5f9}.dictionary-search-stats{color:#64748b;align-items:center;gap:10px;margin-left:auto;font-size:13px;display:flex}.dictionary-search-stats strong{color:#1e40af;font-weight:700}.entry-count-highlight{font-weight:700;color:#1d4ed8!important;background:#eff6ff!important;border-color:#bfdbfe!important}.dictionary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:32px;display:grid}.dictionary-card{border:1px solid var(--border-color);border-radius:var(--radius-card);height:400px;box-shadow:var(--shadow-card);background:#fff;flex-direction:column;padding:18px;transition:transform .15s,box-shadow .15s;display:flex;overflow:hidden}.dictionary-card:hover{box-shadow:var(--shadow-hover)}.dictionary-card>p{color:#64748b;min-height:34px;margin:4px 0 12px;font-size:12px;line-height:1.4}.dictionary-card-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.dictionary-card-heading>div{align-items:center;gap:10px;display:flex}.dictionary-card-heading h2{color:#0f172a;margin:0;font-size:16px;font-weight:700}.dictionary-icon{color:#2563eb;background:#eff6ff;border:1px solid #dbeafe;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.entry-count{color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;justify-content:center;align-items:center;min-width:24px;height:24px;padding:0 8px;font-size:11px;font-weight:700;display:inline-flex}.dictionary-list{flex-direction:column;flex:1;margin:0;padding:0 4px 0 0;list-style:none;display:flex;overflow-y:auto}.dictionary-list li{color:#1e293b;border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:8px;padding:7px 4px;font-size:13px;transition:background .1s;display:flex}.dictionary-list li:first-child{border-top:0}.dictionary-list li:hover{background:#f8fafc;border-radius:6px}.list-dot{background:#cbd5e1;border-radius:50%;width:5px;height:5px}.add-entry{border-top:1px solid #f1f5f9;gap:8px;margin-top:12px;padding-top:12px;display:flex}.add-entry input{border-radius:var(--radius-input);border:1px solid #d1d5db;flex:1;min-width:0;height:34px;padding:0 10px;font-size:13px}.add-entry input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1f}.add-entry .button{height:34px;padding:0 12px;font-weight:700}.teams-section{border-top:1px solid #e2e8f0;margin-top:36px;padding-top:24px}.teams-section>.section-title-row{margin-bottom:16px}.teams-section h2{color:#0f172a;font-size:18px}.teams-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px;display:grid}.team-card{border:1px solid var(--border-color);border-radius:var(--radius-card);box-shadow:var(--shadow-card);background:#fff;align-items:center;gap:12px;padding:14px 16px;transition:transform .15s,box-shadow .15s;display:flex}.team-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-1px)}.team-avatar{color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:10px;flex:0 0 38px;justify-content:center;align-items:center;width:38px;height:38px;font-size:15px;font-weight:800;display:inline-flex}.team-card h3{color:#0f172a;margin:0 0 2px;font-size:14px;font-weight:700}.team-contact{color:#64748b;font-size:12px;display:block}.team-contact.muted{color:#94a3b8;font-style:italic}.team-active{color:#16a34a;background:#f0fdf4;border-radius:999px;align-self:flex-start;margin-left:auto;padding:3px 6px;font-size:10px;font-weight:800}.team-add{border:1px solid var(--border-color);box-shadow:var(--shadow-sm);background:#fff;border-radius:10px;align-items:center;gap:10px;max-width:680px;padding:12px 16px;display:flex}.team-add input{height:36px}.hub-grid{grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:12px;display:grid}.hub-main-column,.hub-side-column{align-content:start;gap:12px;display:grid}.hub-panel{gap:12px;display:grid}.hub-warning-list,.hub-list{gap:8px;display:grid}.hub-warning{border:1px solid var(--border-color);background:#fff;border-radius:10px;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 14px;transition:transform .15s,box-shadow .15s;display:grid}.hub-warning:hover{box-shadow:var(--shadow-sm);transform:translateY(-1px)}.hub-warning-collision{background:#fffbfb;border-left:4px solid #ef4444}.hub-warning-dependency{background:#fffcf9;border-left:4px solid #f97316}.hub-warning-delivery{background:#fdfcff;border-left:4px solid #8b5cf6}.hub-warning-icon{border-radius:8px;place-items:center;width:30px;height:30px;font-size:14px;font-weight:800;display:grid}.hub-warning-collision .hub-warning-icon{color:#dc2626;background:#fee2e2}.hub-warning-dependency .hub-warning-icon{color:#ea580c;background:#ffedd5}.hub-warning-delivery .hub-warning-icon{color:#7c3aed;background:#ede9fe}.hub-warning>span:nth-child(2){gap:2px;display:grid}.hub-warning small,.hub-list small{color:#64748b;font-size:11.5px;display:block}.hub-warning-date{color:#64748b;white-space:nowrap;font-size:10px}.hub-list-row{border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;transition:background .1s;display:flex}.hub-list-row:first-child{border-top:0;padding-top:0}.hub-list-row>span{gap:2px;display:grid}.attention-number{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa;border-radius:999px;justify-content:center;align-items:center;min-width:28px;height:28px;padding:0 8px;font-size:12px;font-weight:800;display:inline-flex}.status-summary{grid-template-columns:1fr 1fr;gap:8px 18px;display:grid}.status-summary-row{border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:8px;padding-top:8px;display:flex}.prototype-switcher{z-index:50;color:#fff;background:#111827;border:1px solid #374151;border-radius:999px;align-items:center;gap:4px;min-height:45px;padding:4px;display:flex;position:fixed;bottom:14px;left:50%;transform:translate(-50%);box-shadow:0 8px 28px #11182747}.prototype-switcher button{color:#fff;background:0 0;border:0;border-radius:999px;width:36px;height:35px;font-size:15px}.prototype-switcher button:hover{background:#374151}.prototype-switcher span{color:#f9fafb;text-align:center;white-space:nowrap;min-width:178px;font-size:12px;font-weight:700}.variant-a-shell{min-height:100vh;display:flex}.a-sidebar{color:#cbd5e1;background:#111827;flex:0 0 190px;width:190px;min-height:100vh;padding:18px 12px}.a-sidebar .brand{color:#fff;padding:2px 6px 24px}.sidebar-label{color:#6b7280;letter-spacing:.1em;text-transform:uppercase;padding:0 8px 7px;font-size:10px;font-weight:800;display:block}.sidebar-nav{gap:2px;display:grid}.nav-button{color:inherit;text-align:left;background:0 0;border:0;border-radius:7px;font-weight:700}.sidebar-nav .nav-button{width:100%;padding:9px 8px}.sidebar-nav .nav-button:hover{color:#fff;background:#1f2937}.sidebar-nav .nav-button.active{color:#fff;background:#2563eb}.nav-icon{color:currentColor;text-align:center;width:22px;display:inline-block}.sidebar-footer{color:#9ca3af;border-top:1px solid #374151;gap:3px;margin-top:28px;padding:12px 8px;font-size:11px;line-height:1.4;display:grid}.sidebar-footer span:first-child{color:#f9fafb;font-weight:800}.a-workspace{flex:1;min-width:0}.a-header{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:12px;min-height:64px;padding:12px 24px;display:flex}.a-header>div{gap:2px;display:grid}.a-header strong{font-size:13px}.a-header>div span{color:#6b7280;font-size:12px}.user-chip{color:#6b7280;align-items:center;gap:6px;font-size:12px;font-weight:700;display:inline-flex}.online-dot{background:#22c55e;border-radius:50%;width:7px;height:7px}.a-topnav{display:none}.main-content{max-width:1440px;margin:0 auto;padding:24px 26px 100px}.variant-b-shell{background:#f6f7f9;max-width:460px;min-height:100vh;margin:0 auto;box-shadow:0 0 0 1px #d1d5db}.b-header{z-index:8;background:#fffffff5;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;min-height:62px;padding:10px 14px;display:flex;position:sticky;top:0}.b-header>div{gap:4px;display:grid}.b-header .brand{font-size:15px}.b-header>div>span{color:#6b7280;font-size:11px}.date-chip{color:#2563eb;background:#eff6ff;border-radius:999px;padding:5px 7px;font-size:11px;font-weight:800}.b-content{padding:16px 12px 112px}.b-content .screen-header{gap:12px;display:grid}.b-content .screen-header-actions{padding-top:0}.b-content .screen-header-actions .button,.b-content .screen-header-actions .selection-counter,.b-content .screen-header-actions .soft-stat{justify-content:center;width:100%}.b-content .section-toolbar{align-items:stretch;display:grid}.b-content .filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.b-content .filter-result{grid-column:1/-1}.b-content .section-toolbar{padding:10px}.b-content .section-toolbar .toolbar-hint:last-child{text-align:left}.b-bottom-nav{z-index:10;background:#fffffffa;border-top:1px solid #d1d5db;grid-template-columns:repeat(6,1fr);width:min(460px,100vw);min-height:66px;padding:4px 2px;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.b-bottom-nav .nav-button{color:#6b7280;text-align:center;border-radius:6px;min-height:54px;font-size:10px;font-weight:800}.b-bottom-nav .nav-button.active{color:#2563eb;background:#eff6ff}.b-bottom-nav .nav-icon{width:auto;margin-bottom:3px;font-size:17px;display:block}.variant-b-shell button,.variant-b-shell input,.variant-b-shell select,.variant-b-shell textarea{min-height:44px}.variant-b-shell .button-small{min-height:38px}.variant-b-shell .delivery-item{min-height:54px}.variant-b-shell .gantt-scroll{margin:0 -1px}.variant-c-shell{min-height:100vh}.c-header{z-index:8;background:#fffffff7;border-bottom:1px solid #e5e7eb;padding:18px 28px 12px;position:sticky;top:0}.c-header-top{justify-content:space-between;align-items:center;gap:14px;max-width:1440px;margin:0 auto 16px;display:flex}.c-header-top>div{gap:5px;display:grid}.c-header-top>div>span{color:#6b7280;font-size:11px}.c-nav{flex-wrap:wrap;gap:6px;max-width:1440px;margin:0 auto;display:flex}.c-nav .nav-button{color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:999px;align-items:center;gap:6px;padding:7px 11px;font-size:12px;display:inline-flex}.c-nav .nav-button:hover{color:#2563eb;border-color:#bfdbfe}.c-nav .nav-button.active{color:#fff;background:#2563eb;border-color:#2563eb}.c-nav .nav-icon{width:auto}.c-content{max-width:1440px;margin:0 auto;padding:28px 28px 100px}.variant-c-shell .screen-header{margin-bottom:20px}.variant-c-shell .hub-grid{grid-template-columns:minmax(0,1.5fr) minmax(320px,.75fr)}.modal-backdrop{z-index:60;background:#11182766;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{background:#fff;border:1px solid #e5e7eb;border-radius:10px;width:min(100%,440px);box-shadow:0 20px 60px #11182733}.modal-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px;display:flex}.modal-header h2{margin-top:4px}.modal-form{gap:12px;padding:16px;display:grid}.form-grid-two{grid-template-columns:1fr 1fr;gap:10px;display:grid}.field>span{color:#6b7280;font-size:11px;font-weight:800}.modal-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;gap:8px;padding-top:12px;display:flex}.login-page{background:radial-gradient(120% 120% at 50% 0,#fff 0%,#f1f5f9 100%);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:#fff;border:1px solid #e2e8f0cc;border-radius:16px;gap:20px;width:min(100%,400px);padding:32px 28px;display:grid;box-shadow:0 20px 40px -15px #0f172a14,0 0 1px 1px #00000005}.login-card .brand{color:#0f172a;font-size:16px;font-weight:800}.login-copy{gap:6px;display:grid}.login-copy h1{letter-spacing:-.02em;color:#0f172a;font-size:24px}.login-hint{color:#64748b;font-size:13px;line-height:1.5}.login-form{gap:14px;display:grid}.login-form .field input{min-height:40px}.login-submit{justify-content:center;min-height:42px;font-size:14px}.login-error{color:#b91c1c;background:#fff7f7;border:1px solid #fecaca;border-radius:7px;padding:9px 10px;font-size:12px;font-weight:600}.app-shell{flex-direction:column;width:100%;max-width:1440px;min-height:100vh;margin:0 auto;padding:0 24px;display:flex}.app-header{z-index:30;-webkit-backdrop-filter:blur(16px);background:#fffffff0;border:1px solid #e2e8f0d9;border-radius:14px;width:100%;margin:14px 0 22px;padding:8px 18px;position:sticky;top:14px;box-shadow:0 4px 20px -2px #0f172a0d,0 1px 3px #00000005}.app-header-inner{justify-content:space-between;align-items:center;gap:16px;width:100%;margin:0;padding:0;display:flex}.app-header .brand{color:#0f172a;letter-spacing:-.02em;align-items:center;gap:9px;font-size:16px;font-weight:800;text-decoration:none;display:flex}.app-header-user{align-items:center;gap:10px;min-width:0;display:flex}.user-profile-chip{color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;align-items:center;gap:8px;padding:3px 12px 3px 4px;font-size:13px;font-weight:600;display:inline-flex}.user-avatar{color:#fff;background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:11px;font-weight:800;display:inline-flex;box-shadow:0 1px 2px #2563eb40}.user-avatar-img{object-fit:cover;border-radius:50%;width:24px;height:24px;display:block}.user-info{align-items:baseline;gap:5px;display:flex}.user-name{color:#0f172a;font-weight:700}.user-role-sub{color:#64748b;font-size:11px;font-weight:600}.app-header-user .user-chip{color:#475569;text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;font-size:12px;font-weight:600;display:inline-flex;overflow:hidden}.role-badge{color:#1d4ed8;white-space:nowrap;background:#eff6ff;border:1px solid #dbeafe;border-radius:999px;align-items:center;padding:3px 9px;font-size:11px;font-weight:700;display:inline-flex}.app-main{flex-direction:column;flex:1;width:100%;margin:0;padding:0 0 60px;display:flex}.app-main>.card-shell:not(.import-upload-card):not(.dictionary-search-toolbar),.app-main>.items-section,.app-main>section.card-shell:not(.import-upload-card):not(.dictionary-search-toolbar){flex-direction:column;flex:1;min-height:520px;display:flex}.import-upload-card{flex:none!important;min-height:auto!important}.import-history-card{flex-direction:column;flex:1;min-height:480px;display:flex}.items-table-wrap,.orders-table-wrap{border-bottom-left-radius:var(--radius-card);border-bottom-right-radius:var(--radius-card);flex-direction:column;flex:1;display:flex;overflow:hidden}.items-table-wrap .table-scroll,.orders-table-wrap .table-scroll,.import-history-card .table-scroll,.card-shell>.table-scroll{flex:1}.card-shell:not(.import-upload-card)>.empty-state{flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:280px;margin:0;padding:36px 20px;display:flex}.app-nav{align-items:center;gap:2px;display:flex}.app-nav .nav-button{color:#475569;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:13px;font-weight:600;text-decoration:none;transition:background-color .15s,color .15s,border-color .15s;display:inline-flex}.app-nav .nav-button:hover{color:#0f172a;background:#f1f5f9}.app-nav .nav-button.active{color:#1d4ed8;background:#eff6ff;border-color:#dbeafe;font-weight:600}.table-search-box{flex:1;align-items:center;min-width:200px;max-width:320px;display:flex;position:relative}.table-search-input{border-radius:var(--radius-input);background:#fff;border:1px solid #d1d5db;width:100%;height:34px;padding:0 10px 0 32px;font-size:13px;transition:border-color .15s,box-shadow .15s}.table-search-input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1f}.table-search-icon{color:#94a3b8;pointer-events:none;align-items:center;display:flex;position:absolute;left:10px}.floating-bulk-bar{z-index:50;color:#f8fafc;background:#0f172a;border:1px solid #334155;border-radius:999px;align-items:center;gap:12px;padding:9px 18px;animation:.2s cubic-bezier(.16,1,.3,1) floatUp;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 12px 32px #0f172a47,0 4px 12px #0f172a24}@keyframes floatUp{0%{opacity:0;transform:translate(-50%,16px)}to{opacity:1;transform:translate(-50%)}}.floating-bulk-count{color:#e2e8f0;border-right:1px solid #334155;padding-right:12px;font-size:13px;font-weight:700}.floating-bulk-actions{align-items:center;gap:8px;display:flex}.floating-bulk-bar .button{color:#f8fafc;background:#1e293b;border-color:#475569;min-height:30px;padding:4px 12px;font-size:12px}.floating-bulk-bar .button:hover{background:#334155;border-color:#64748b}.floating-bulk-bar .button-primary{color:#fff;background:linear-gradient(#2563eb 0%,#1d4ed8 100%);border-color:#1d4ed8}.hub-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px;display:grid}.hub-kpi-card{border-radius:var(--radius-card);border:1px solid var(--border-color);box-shadow:var(--shadow-card);background:#fff;gap:5px;padding:16px 18px;transition:transform .15s,box-shadow .15s;display:grid}.hub-kpi-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-1px)}.hub-kpi-title{text-transform:uppercase;letter-spacing:.05em;color:#64748b;justify-content:space-between;align-items:center;font-size:11px;font-weight:700;display:flex}.hub-kpi-value{letter-spacing:-.025em;color:#0f172a;font-variant-numeric:tabular-nums;margin:2px 0;font-size:22px;font-weight:800}.hub-kpi-sub{color:#64748b;font-size:12px}@media (width<=900px){.hub-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=540px){.hub-kpi-grid{grid-template-columns:1fr}}.best-price-badge{color:#15803d;background:#dcfce7;border:1px solid #bbf7d0;border-radius:999px;align-items:center;gap:3px;padding:2px 7px;font-size:10px;font-weight:800;line-height:1.2;display:inline-flex}.item-thumb-lg{object-fit:cover;vertical-align:middle;border:1px solid #e2e8f0;border-radius:8px;width:44px;height:44px;margin-right:10px;transition:transform .15s;box-shadow:0 1px 2px #0000000a}.item-thumb-lg:hover{transform:scale(1.06)}.button-danger{color:#b91c1c;background:#fff7f7;border-color:#fecaca}.button-danger:hover{background:#fee2e2;border-color:#ef4444}.modal-wide{width:min(100%,560px);max-height:min(92vh,900px);overflow-y:auto}.modal-status-line{color:#6b7280;align-items:center;gap:6px;margin-top:6px;font-size:12px;display:flex}.modal-actions-spacer{flex:1}.pick-list{border:1px solid #e5e7eb;border-radius:8px;max-height:260px;padding:4px 10px;overflow-y:auto}.pick-row{align-items:center;gap:8px;min-height:32px;font-size:13px;display:flex}.pick-row input[type=checkbox]{accent-color:#2563eb;width:15px;height:15px}.pick-row .cell-subtext{margin-left:auto}.offer-shops-bar{border-bottom:1px solid #e5e7eb;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 14px;display:flex}.offer-shop-chip{background:#f8fafc;border:1px solid #e5e7eb;border-radius:999px;align-items:center;gap:6px;padding:4px 6px 4px 10px;font-size:12px;font-weight:700;display:inline-flex}.offer-shop-chip .delivery-input{border:1px solid #d1d5db;border-radius:6px;width:74px;min-height:24px;padding:2px 6px;font-size:11px}.offer-shop-chip .cell-subtext{padding:0}.offer-shop-add{align-items:center;gap:6px;display:inline-flex}.offer-shop-add select{background:#fff;border:1px solid #d1d5db;border-radius:6px;min-height:28px;padding:3px 8px;font-size:12px}.offer-form-grid{grid-template-columns:1.4fr 1fr 1.4fr;align-items:end;gap:8px;display:grid}.offer-form-row{border-top:1px solid #f0f1f3;gap:4px;padding-top:8px;display:grid}.offer-form-row>span.offer-form-name{font-size:13px;font-weight:700}.offer-import-picker{cursor:pointer;justify-self:start;position:relative}.offer-import-picker:focus-within{outline-offset:2px;outline:2px solid #2563eb}.offer-import-picker input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.offer-import-conflicts-backdrop{z-index:70}.offer-import-conflict-list{gap:8px;max-height:50vh;display:grid;overflow-y:auto}.offer-import-conflict{border:1px solid #e5e7eb;border-radius:7px;grid-template-columns:auto 1fr;gap:10px;padding:10px;display:grid}.offer-import-conflict>span{gap:3px;font-size:13px;display:grid}.item-thumb{object-fit:cover;vertical-align:middle;border:1px solid #e2e8f0;border-radius:8px;width:42px;height:42px;margin-right:9px;transition:transform .15s,box-shadow .15s;box-shadow:0 1px 2px #0000000a}.item-thumb:hover{z-index:10;position:relative;transform:scale(1.15);box-shadow:0 4px 10px #0000001f}.items-table-wrap{display:block}.items-cards-wrap{display:none}.offers-table-wrap{display:block}.offers-cards-wrap{display:none}.photo-preview{align-items:center;gap:10px;margin:0;display:flex}.photo-preview img{object-fit:cover;border:1px solid #e5e7eb;border-radius:8px;width:120px;height:90px}.manual-status{border:1px solid #e5e7eb;border-radius:8px;gap:8px;padding:10px 12px;display:grid}.manual-status legend{color:#6b7280;padding:0 4px;font-size:11px;font-weight:800}.manual-status-option{align-items:center;gap:8px;font-size:13px;display:flex}.manual-status-option input{width:15px;height:15px}.manual-status-details{margin-left:23px}.comments-section{border-top:1px solid #e5e7eb;gap:10px;padding:14px 16px 16px;display:grid}.comments-title{font-size:13px}.comment-list{gap:0;margin:0;padding:0;list-style:none;display:grid}.comment{border-top:1px solid #f0f1f3;padding:9px 0}.comment:first-child{border-top:0;padding-top:0}.comment-meta{justify-content:space-between;align-items:baseline;gap:10px;font-size:11px;display:flex}.comment-meta time{color:#9ca3af}.comment p{color:#374151;white-space:pre-wrap;margin-top:3px;font-size:13px;line-height:1.45}.comment-empty{color:#9ca3af;font-size:12px}.comment-form{border-top:1px solid #f0f1f3;gap:8px;padding-top:10px;display:grid}.screen-error{margin-bottom:12px}.dictionary-entry-actions{gap:4px;display:inline-flex}.dictionary-edit{flex:1;gap:6px;display:flex}.dictionary-edit input{border:1px solid #d1d5db;border-radius:6px;flex:1;min-width:0;padding:4px 7px;font-size:12px}.team-card-edit{gap:8px;display:grid}.team-edit-actions{gap:6px;display:flex}.team-contact{color:#6b7280;font-size:11px}.team-add{margin-top:10px}.team-add input{flex:1;min-width:0}@media (width<=819px){.app-header-inner{flex-wrap:wrap}.app-nav{order:3;width:100%;padding-bottom:2px;overflow-x:auto}.items-table-wrap{display:none}.items-cards-wrap{display:block}.offers-table-wrap{display:none}.offers-cards-wrap{display:block}.offer-form-grid{grid-template-columns:1fr}.app-header{padding:10px 0}.app-header-inner{padding:0 16px}.app-main{padding:18px 16px 100px}.app-header-user .user-chip{display:none}}@media (width<=560px){.app-header .brand{font-size:14px}.app-header-user{gap:6px}}@media (width<=1080px){.filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dictionary-grid,.teams-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.delivery-layout,.hub-grid{grid-template-columns:1fr}}@media (width<=819px){.a-sidebar{display:none}.a-topnav{background:#fff;border-bottom:1px solid #e5e7eb;gap:4px;padding:6px 12px;display:flex;overflow-x:auto}.a-topnav .nav-button{color:#6b7280;white-space:nowrap;flex:none;padding:7px 10px;font-size:12px}.a-topnav .nav-button.active{color:#2563eb;background:#eff6ff}.a-topnav .nav-icon{display:none}.main-content{padding:18px 14px 100px}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dictionary-grid,.teams-grid{grid-template-columns:1fr 1fr}.c-header{padding-left:16px;padding-right:16px}.c-content{padding:22px 16px 100px}}@media (width<=560px){h1{font-size:21px}.screen-header{gap:10px;display:grid}.screen-header-actions{padding-top:0}.section-toolbar{flex-direction:column;align-items:stretch}.filter-grid{width:100%}.filter-result{align-self:flex-start}.offer-summary-grid,.unplanned-grid,.dictionary-grid,.teams-grid{grid-template-columns:1fr}.task-detail-grid{grid-template-columns:1fr 1fr}.c-header-top{align-items:flex-start}.c-header-top .user-chip{display:none}.c-nav{flex-wrap:nowrap;padding-bottom:2px;overflow-x:auto}.prototype-switcher span{min-width:145px}}.orders-table-wrap{display:block}.orders-cards-wrap{display:none}@media (width<=819px){.orders-table-wrap{display:none}.orders-cards-wrap{display:block}}.order-mobile-card{color:inherit;border:1px solid #e5e7eb;border-radius:8px;gap:4px;margin-bottom:8px;padding:10px 12px;text-decoration:none;display:grid}.order-mobile-row{border-top:1px solid #f0f1f3;gap:2px;margin:0;padding:8px 0;display:grid}.order-term-toolbar{border-bottom:1px solid var(--border-color);background:#fafbfc;padding:14px 18px}.order-term-field{max-width:240px;margin:0}.delivery-meta-bar{flex-wrap:wrap;gap:12px;margin-bottom:14px;display:flex}.delivery-list{gap:0;margin:0;padding:0;list-style:none;display:grid}.delivery-list-row{border-top:1px solid #f1f5f9;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 0;display:flex}.delivery-list-row:first-child{border-top:0;padding-top:2px}.delivery-list-row a{color:#2563eb;font-weight:700;text-decoration:none}.delivery-list-row a:hover{text-decoration:underline}.delivery-checklist{gap:0;margin:0;padding:0;list-style:none;display:grid}.delivery-check-row{border-top:1px solid #f1f5f9;padding:12px 0}.delivery-check-row:first-child{border-top:0;padding-top:4px}.delivery-edit-fields{flex-wrap:wrap;gap:14px;margin-bottom:18px;display:flex}.delivery-edit-fields .field{min-width:180px}.section-title{color:#0f172a;margin:0 0 12px;font-size:15px;font-weight:700}.status-czesciowo-dostarczone{background:#f97316}.status-dostarczone{background:#16a34a}.view-toggle{background:#fff;border:1px solid #e5e7eb;border-radius:999px;display:inline-flex;overflow:hidden}.view-toggle button{color:#6b7280;cursor:pointer;background:0 0;border:0;padding:7px 12px;font-size:12px;font-weight:700}.view-toggle button.active{color:#2563eb;background:#eff6ff}.unplanned-task h3{margin:2px 0 0;font-size:14px}.unplanned-task h3 a{color:inherit;text-decoration:none}.unplanned-task h3 a:hover{text-decoration:underline}.gantt-empty{padding:14px}.field-row{grid-template-columns:1fr 1fr auto;align-items:end;gap:10px;display:grid}.field-row .ranges-remove{margin-bottom:2px}.gantt-task-meta strong a{color:inherit;text-decoration:none}.gantt-task-meta strong a:hover{text-decoration:underline}.calendar-scroll{border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;overflow-x:auto}.calendar-wrap{min-width:640px;padding:12px 14px}.calendar-nav{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.calendar-nav strong{text-transform:capitalize;font-size:14px}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;display:grid}.calendar-weekday{color:#9ca3af;text-align:center;text-transform:uppercase;padding:4px 0;font-size:10px;font-weight:800}.calendar-day{background:#fff;border:1px solid #eef0f2;border-radius:7px;flex-direction:column;gap:3px;min-height:64px;padding:5px 5px 6px;display:flex}.calendar-day-empty{background:0 0;border-color:#0000}.calendar-weekend{background:#fafbfc}.calendar-today{border-color:#2563eb}.calendar-daynum{color:#6b7280;font-size:10px;font-weight:700}.calendar-today .calendar-daynum{color:#2563eb}.calendar-chip{text-overflow:ellipsis;white-space:nowrap;color:#374151;border:1px solid #d1d5db;border-radius:5px;padding:2px 5px;font-size:10px;font-weight:700;text-decoration:none;display:block;overflow:hidden}.calendar-chip:hover{background:#f3f4f6}.calendar-chip-warning-collision{background:#fff7f7;border-color:#ef4444}.calendar-chip-warning-dependency{background:#fffaf5;border-color:#f97316}.calendar-chip-warning-delivery{background:#faf8ff;border-color:#8b5cf6}.calendar-chip-done{opacity:.55}.calendar-chip-cancelled{opacity:.55;text-decoration:line-through}.task-detail-grid-full{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:4px}.task-detail-grid-full span{overflow-wrap:anywhere}.range-list{flex-wrap:wrap;gap:6px;margin:10px 0 0;padding:0;list-style:none;display:flex}.range-list li{color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:700}.task-warning-list{gap:7px;margin:0;padding:0;list-style:none;display:grid}.task-warning-list li{border:1px solid;border-radius:7px;gap:2px;padding:9px 11px;font-size:12px;display:grid}.task-warning-list strong{font-size:12px}.task-warning-collision{background:#fff7f7;border-color:#fecaca}.task-warning-dependency{background:#fffaf5;border-color:#fed7aa}.task-warning-delivery{background:#faf8ff;border-color:#ddd6fe}@media (width<=819px){.task-detail-grid-full,.field-row{grid-template-columns:1fr 1fr}.field-row .ranges-remove{grid-column:2;justify-self:end}.calendar-day{min-height:52px}}@media (width<=560px){.task-detail-grid-full,.field-row{grid-template-columns:1fr}.field-row .ranges-remove{grid-column:1;justify-self:start}.calendar-day{min-height:44px;padding:3px}.calendar-chip{padding:1px 3px;font-size:9px}}.status-oczekujący,.status-oczekujacy{color:#fff;background:#2563eb}.status-zatwierdzony,.status-zaimportowany{color:#fff;background:#16a34a}.status-pominięty,.status-pominiety{color:#fff;background:#9ca3af}.status-błąd,.status-blad{color:#fff;background:#dc2626}.import-dropzone{text-align:center;cursor:pointer;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:32px 20px;transition:border-color .2s,background-color .2s;display:flex}.import-dropzone:hover,.import-dropzone.active{background:#eff6ff;border-color:#2563eb}.import-dropzone-icon{font-size:32px}.import-table-wrap{display:block}.import-cards-wrap{display:none}@media (width<=899px){.import-table-wrap{display:none}.import-cards-wrap{display:block}}.problem-badge{border-radius:4px;align-items:center;gap:4px;padding:2px 7px;font-size:11px;font-weight:700;line-height:1.3;display:inline-flex}.problem-badge-error{color:#b91c1c;background:#fee2e2;border:1px solid #fca5a5}.problem-badge-warning{color:#b45309;background:#fef3c7;border:1px solid #fde68a}.summary-stats-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;margin-bottom:16px;display:grid}.summary-stat-box{background:#fff;border:1px solid #e5e7eb;border-radius:8px;gap:4px;padding:10px 14px;display:grid}.summary-stat-box b{color:#6b7280;text-transform:uppercase;letter-spacing:.04em;font-size:11px}.summary-stat-box strong{color:#1f2937;font-size:20px}.import-row-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;gap:8px;margin-bottom:10px;padding:12px;display:grid}.import-row-card.row-skipped{opacity:.6;background:#f9fafb}.import-row-card.row-has-error{border-left:4px solid #ef4444}.import-row-card.row-has-warning{border-left:4px solid #f59e0b}.status-przetwarzanie{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.status-blad{color:#dc2626;background:#fef2f2;border-color:#fca5a5}.spin-animation{animation:2s linear infinite spin;display:inline-block}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.pulsing-dot{background:#2563eb;border-radius:50%;width:8px;height:8px;animation:1.5s ease-in-out infinite pulse-dot;display:inline-block}@keyframes pulse-dot{0%,to{opacity:.2;transform:scale(.8)}50%{opacity:1;transform:scale(1.2)}}.pagination-bar{background:#fafbfc;border-top:1px solid #e5e7eb;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.pagination-info{color:#6b7280;align-items:center;gap:12px;font-size:12px;display:flex}.pagination-size-select{color:#6b7280;align-items:center;gap:6px;font-size:12px;display:inline-flex}.pagination-size-select select{background:#fff;border:1px solid #d1d5db;border-radius:6px;min-height:28px;padding:2px 6px;font-size:12px}.pagination-nav{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.pagination-nav .button-small{text-align:center;min-width:30px;padding:4px 8px}.pagination-nav .button-current{color:#fff;background:#2563eb;border-color:#2563eb;font-weight:800}.pagination-ellipsis{color:#9ca3af;padding:0 4px;font-size:12px}@media (width<=640px){.pagination-bar{flex-direction:column;align-items:stretch;gap:10px}.pagination-nav{justify-content:center}.pagination-info{justify-content:space-between}}
