:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f5f7f8;color:#1e2729;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}.appShell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;gap:24px;height:100vh;overflow-y:auto;padding:24px;border-right:1px solid #dce3e5;background:#fff}.brandBlock{display:flex;align-items:center;gap:12px;min-height:64px}.brandMark{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;overflow:hidden;border:1px solid #d8e1e3;border-radius:8px;background:#fff;color:#213b40;font-weight:800;padding:0}.brandMark:focus{outline:0}.brandMark:focus-visible{border-color:#8fbeb4;box-shadow:0 0 0 3px #d8ebe6}.brandMark img{width:100%;height:100%;object-fit:contain}.brandMark span{display:block}.brandBlock h1,.topbar h2,.panel h3,.recommendationRow h3{margin:0}.brandBlock h1{font-size:1rem;line-height:1.25}.shopNameButton{max-width:180px;border:0;background:transparent;color:#1e2729;font-size:1rem;font-weight:800;line-height:1.25;padding:0;text-align:left}.shopNameInput{width:180px;min-height:30px;border:1px solid #cdd8db;border-radius:6px;color:#1e2729;font-size:1rem;font-weight:800;padding:3px 7px}.shopSyncMessage{display:block;max-width:180px;margin-top:4px;color:#687a7f;font-size:.72rem;line-height:1.25}.shopSyncMessage.warning{color:#725400}.shopSyncMessage.error{color:#9a2f20}.eyebrow{margin:0 0 4px;color:#607075;font-size:.78rem;font-weight:700;text-transform:uppercase}.navSections,.navList{display:grid}.navSections{gap:18px}.importNavButton{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 14px;border:1px solid #c7ded8;border-radius:8px;background:#f6fbf9;color:#0f4f45;font-weight:700;text-align:left}.importNavButton.active{border-color:#9bcac0;background:#eef8f4}.navSection{display:grid;gap:8px}.navSection>span{color:#7a898d;font-size:.72rem;font-weight:800;text-transform:uppercase}.navList{gap:8px}.navButton,.iconButton{display:inline-flex;align-items:center;border:1px solid transparent;border-radius:8px;background:transparent;color:#304145}.navButton{gap:10px;min-height:42px;border-color:#dce3e5;background:#f7f9fa;padding:0 12px;text-align:left}.navButton.active{border-color:#b9d7cf;background:#eef5f3;color:#103c34;font-weight:700}.sidebarFooter{display:grid;gap:12px;margin-top:auto}.productSignature{display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px 10px;align-items:center;padding:12px;border:1px solid #d8e1e3;border-radius:8px;background:#fff}.productSignatureMark{display:grid;width:30px;height:30px;place-items:center;border-radius:8px;background:#213b40;color:#fff}.productSignature strong,.productSignature span{display:block}.productSignature strong{color:#1e2729;font-size:1.28rem;line-height:1}.productSignature span{grid-column:1 / -1;color:#687a7f;font-size:.78rem;line-height:1.25}.connectionBox{display:flex;gap:10px;padding:12px;border:1px solid #d8e1e3;border-radius:8px;background:#f7faf9;color:#304145}.connectionBox span{display:block}.connectionBox span{color:#687a7f;font-size:.82rem}.crmBox{padding:12px;border:1px solid #d8e1e3;border-radius:8px;background:#fff}.crmBox label{display:grid;gap:7px}.crmBox span{color:#687a7f;font-size:.78rem;font-weight:800;text-transform:uppercase}.crmBox select{width:100%;min-height:34px;border:1px solid #cdd8db;border-radius:6px;background:#fff;color:#1e2729;padding:0 8px}.authForm{display:grid;gap:7px;min-width:0}.authForm input{width:100%;min-height:32px;border:1px solid #cdd8db;border-radius:6px;padding:0 8px}.textButton{border:0;background:transparent;color:#0f5f51;cursor:pointer;font:inherit;font-size:.84rem;font-weight:700;padding:0;text-align:left}.workspace{display:grid;align-content:start;gap:24px;min-width:0;padding:26px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.topbar h2{font-size:clamp(1.55rem,1.2rem + .8vw,2.1rem);line-height:1.12}.topbarActions{display:flex;align-items:center;gap:8px}.fileInput{display:none}.iconButton{justify-content:center;width:40px;height:40px;padding:0;border-color:#d8e1e3;background:#fff}.iconButton:hover,.navButton:hover{border-color:#7fb4aa}.deleteButton{width:30px;height:30px;flex-shrink:0;color:#9b3a3a;border-color:#f5d5d5}.deleteButton:hover{background:#fff0f0;border-color:#c0392b;color:#c0392b}.viewStack{display:grid;gap:18px}.importWorkspace{position:relative}.importWorkspace.draggingFiles{outline:2px dashed #73aa9e;outline-offset:8px;border-radius:8px}.importDragOverlay{position:absolute;inset:0;z-index:5;display:grid;place-items:center;align-content:center;gap:8px;border:1px dashed #73aa9e;border-radius:8px;background:#f6fbf9e0;color:#0f4f45;pointer-events:none}.importDropZone{display:grid;grid-template-columns:auto auto minmax(220px,1fr);align-items:center;gap:16px;padding:18px;border:1px dashed #9bb8bd;border-radius:8px;background:#fff}.dropIcon{display:grid;width:52px;height:52px;place-items:center;border-radius:8px;background:#e8f4f0;color:#103c34}.importDropZone h3,.importDropZone p{margin:0}.importDropZone h3{font-size:1.05rem}.importDropZone p{margin-top:4px;color:#607075;font-size:.9rem}.dropActions{display:flex;align-items:center;justify-content:flex-start;gap:8px}.importLayout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.75fr);gap:18px}.importHistory,.helpList{display:grid;gap:12px;padding:16px}.helpSection{display:grid;gap:10px;padding:16px}.helpSection+.helpSection{padding-top:0}.helpSection h4{margin:0;color:#607075;font-size:.78rem;font-weight:800;letter-spacing:0;text-transform:uppercase}.helpSection .helpList{padding:0}.helpItemWithNote{border-color:#b9d7cf;background:#f5fbf8}.helpNote{margin:4px 0 0;border-left:3px solid #2f8c7d;border-radius:6px;background:#eaf5f1;color:#245f56;font-size:.82rem;font-weight:700;line-height:1.35;padding:8px 10px}.importSummary{display:flex;flex-wrap:wrap;gap:8px;padding:14px 16px 0}.importSummary span{border:1px solid #dce3e5;border-radius:999px;color:#405057;font-size:.82rem;padding:5px 9px}.emptyState{margin:0;color:#607075}.paddedState{padding:16px}.helpItem{display:grid;gap:5px;padding:12px;border:1px solid #edf1f2;border-radius:8px}.helpItem span{color:#607075;font-size:.88rem}.importPanel{display:grid;gap:12px;padding:14px 16px;border:1px solid #dce3e5;border-radius:8px;background:#fff}.successPanel{border-color:#b9d7cf;background:#f1faf7}.warningPanel{border-color:#ecd28f;background:#fff9e8}.errorPanel{border-color:#edb7ad;background:#fff2f0}.importPanel strong,.importPanel p{margin:0}.importPanel p{margin-top:4px;color:#607075;font-size:.9rem}.reportSummary{display:grid;grid-template-columns:minmax(260px,1fr) minmax(520px,auto) auto;align-items:flex-start;gap:14px}.reportCounters{display:grid;grid-template-columns:92px 126px 120px minmax(150px,auto);justify-content:start;gap:6px}.reportCounter{display:inline-flex;align-items:center;justify-content:flex-start;min-height:30px;padding:5px 8px;border:0;border-radius:999px;background:#ffffffb8;color:#304145;font-size:.78rem;font-weight:800;line-height:1.1;text-align:left;white-space:nowrap}.reportCounterButton{gap:5px;cursor:pointer}.reportCounterButton:hover,.reportCounterButton.active{background:#fff;color:#0f4f45}.reportCounterButton .rotated{transform:rotate(180deg)}.rejectedRowsPanel{padding:10px 12px;border:1px solid #d6e5e1;border-radius:8px;background:#fff9}.rejectedRowsPanel p{margin:0;color:#607075;font-size:.88rem;line-height:1.4}.issueList{display:grid;gap:5px;margin:0;padding-left:18px;color:#4a5c61;font-size:.9rem}.mappingGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.mappingGrid label{display:grid;gap:6px}.mappingGrid span{color:#607075;font-size:.8rem;font-weight:800;text-transform:uppercase}.mappingGrid select{min-height:38px;border:1px solid #d8e1e3;border-radius:8px;background:#fff;color:#1e2729}.importActions{display:flex;justify-content:flex-end;gap:8px}.primaryButton,.secondaryButton{min-height:38px;padding:0 12px;border-radius:8px;font-weight:800}.primaryButton{border:1px solid #2e8476;background:#2e8476;color:#fff}.primaryButton:disabled{border-color:#b9c8cb;background:#b9c8cb;cursor:not-allowed}.secondaryButton{border:1px solid #d8e1e3;background:#fff;color:#304145}.dialogBackdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:20px;background:#1e27293d}.dialogPanel{display:grid;gap:16px;width:min(460px,100%);padding:20px;border:1px solid #dce3e5;border-radius:8px;background:#fff;box-shadow:0 18px 40px #1d303729}.dialogPanel h3,.dialogPanel p{margin:0}.dialogPanel h3{font-size:1.2rem}.dialogPanel p{margin-top:8px;color:#607075;font-size:.92rem;line-height:1.45}.dialogDateField{display:grid;gap:7px}.dialogDateGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dialogError{grid-column:1 / -1;color:#a23d31}.dialogDateField span{color:#607075;font-size:.78rem;font-weight:800;text-transform:uppercase}.dialogDateField input{min-height:40px;border:1px solid #cdd8db;border-radius:8px;color:#1e2729;padding:0 10px}.dialogActions{display:flex;justify-content:flex-end;gap:8px}.metricGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}.salesOverviewGrid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:18px;align-items:start;height:94px;overflow:visible}.salesOverviewGridWide{grid-template-columns:1fr}.salesMetricGrid,.zeroStockMetricGrid{grid-template-columns:repeat(5,minmax(0,1fr))}.zeroStockOverviewGrid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:18px}.zeroStockOverviewGrid .zeroStockMetricGrid{grid-column:1}.metricCard,.panel{border:1px solid #dce3e5;border-radius:8px;background:#fff;box-shadow:0 1px 2px #1d30370a}.metricCard{display:grid;gap:8px;min-height:94px;padding:16px}.metricCard span{color:#607075;font-size:.86rem;font-weight:700}.metricCard strong{font-size:1.65rem;line-height:1}.contentGrid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:18px}.panel{min-width:0;overflow:hidden}.sidePanel{align-self:start}.sideStack{display:grid;align-self:start;gap:18px;min-width:0}.widePanel,.fullPanel{min-height:360px}.fullPanel{width:100%}.panelHeader{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 16px;border-bottom:1px solid #edf1f2}.panelHeader div{display:inline-flex;align-items:center;gap:8px}.panelHeader h3{font-size:1rem}.tableWrap{overflow-x:auto}.panelNote{margin:0;padding:14px 16px;border-bottom:1px solid #edf1f2;color:#607075;font-size:.9rem;line-height:1.45}.factList{display:grid;gap:12px;padding:16px}.factList div{display:grid;gap:4px;padding-bottom:12px;border-bottom:1px solid #edf1f2}.factList div:last-child{padding-bottom:0;border-bottom:0}.factList span{color:#607075;font-size:.78rem;font-weight:800;text-transform:uppercase}.factList strong{color:#1e2729;font-size:.95rem}table{width:100%;min-width:720px;border-collapse:collapse}.salesProductsTable{min-width:860px;table-layout:fixed}.salesProductColTitle{width:50%}.salesProductColCategory{width:17%}.salesProductColSupplier{width:14%}.salesProductColQuantity{width:9%}.salesProductColRevenue{width:10%}.salesProductsTable th,.salesProductsTable td{overflow-wrap:anywhere}.salesProductsTable .sortButton,.zeroStockSupplierTable .sortButton{width:100%}.zeroStockSupplierTable{min-width:900px;table-layout:fixed}.zeroStockSupplierNameCol{width:auto}.zeroStockSupplierMetricCol{width:210px}.zeroStockSupplierTableCompact{min-width:0;width:100%}.zeroStockSupplierTableCompact .zeroStockSupplierMetricCol{width:19%}.zeroStockSupplierTableCompact .zeroStockSupplierNameCol{width:43%}.zeroStockSupplierTableCompact th,.zeroStockSupplierTableCompact td{padding-left:8px;padding-right:8px}.zeroStockSupplierTableCompact .sortButton{min-height:32px;padding:0 6px;font-size:.63rem;white-space:normal}.sidePanel .tableWrap{overflow-x:hidden}.zeroStockSupplierTable th:nth-child(n+2),.zeroStockSupplierTable td:nth-child(n+2){text-align:center}.zeroStockSupplierTable th:nth-child(n+2) .sortButton{justify-content:center}.zeroStockSupplierTable .metricNumber{text-align:center}.supplierSummaryRow{cursor:pointer}.supplierSummaryRow:hover{background:#f7fbfa}.supplierToggleButton{display:inline-flex;align-items:center;gap:8px;width:100%;border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;padding:0;text-align:left}.supplierToggleButton svg{flex:0 0 auto;color:#0f4f45}.supplierArticlesRow td{padding:0;background:#f8fbfa}.supplierArticleList{display:grid;gap:0;padding:8px 16px 10px 44px}.supplierArticleItem{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,.32fr) minmax(120px,.22fr);align-items:center;gap:16px;padding:10px 0;border-bottom:1px solid #e6eeee}.zeroStockSupplierTableCompact .supplierArticleList{padding-left:34px}.zeroStockSupplierTableCompact .supplierArticleItem{grid-template-columns:1fr;gap:3px}.supplierArticleItem:last-child{border-bottom:0}.supplierArticleItem strong,.supplierArticleItem span{display:block}.supplierArticleItem>span{color:#607075;font-size:.84rem}.stageScheduleTable{min-width:860px;table-layout:fixed}.stageTitleCol{width:auto}.stageDateCol{width:250px}.stageTeacherCol{width:210px}.stageCountCol{width:96px}.stageSummaryRow{cursor:pointer}.stageSummaryRow:hover{background:#f7fbfa}.stageToggleButton{display:inline-flex;align-items:center;gap:8px;width:100%;border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;padding:0;text-align:left}.stageToggleButton svg{flex:0 0 auto;color:#0f4f45}.stageArticlesRow td{padding:0;background:#f8fbfa}.stageArticleList{display:grid;gap:0;padding:8px 16px 10px 44px}.stageArticleItem{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.28fr) minmax(160px,.34fr) 120px;align-items:center;gap:16px;padding:10px 0;border-bottom:1px solid #e6eeee}.stageArticleItem:last-child{border-bottom:0}.stageArticleItem strong,.stageArticleItem span{display:block}.stageArticleItem>span{color:#607075;font-size:.84rem}.stageArticleItem b{justify-self:end;color:#103c34;font-size:.9rem;white-space:nowrap}.stageArticlesEmpty{margin:0;padding:14px 16px 14px 44px;color:#607075;font-size:.9rem}.stageSidePlaceholder{min-height:1px}.salesProductsTable .quantityCell{text-align:center}.salesProductsTable .categoryCell{font-size:.8rem}.salesProductsTable .revenueCell{text-align:right;white-space:nowrap}.compactTable{min-width:0}.compactTable th,.compactTable td{padding:10px 12px}th,td{padding:12px 16px;border-bottom:1px solid #edf1f2;text-align:left;vertical-align:middle}th{color:#607075;font-size:.78rem;font-weight:800;text-transform:uppercase}td{color:#2d3d41;font-size:.92rem}td strong,td span{display:block}td span{margin-top:3px;color:#708085;font-size:.8rem}.number{text-align:right;white-space:nowrap}.barList,.eventList,.recommendationList{display:grid;gap:12px;padding:16px}.barItem{display:grid;grid-template-columns:minmax(110px,1fr) minmax(100px,1.2fr) auto;align-items:center;gap:12px}.barItem strong,.barItem span{display:block}.barItem span{color:#708085;font-size:.82rem}.barTrack{height:10px;overflow:hidden;border-radius:999px;background:#eef2f1}.barFill{height:100%;border-radius:inherit;background:#2e8476}.livresStagesLayout{display:grid;grid-template-columns:minmax(216px,.6fr) minmax(0,1.25fr) minmax(0,1.15fr);gap:16px;align-items:stretch;height:calc(100vh - 52px);min-height:0;overflow:hidden;padding-bottom:0}.livresStagesLayout:has(.livresMergePanel){grid-template-rows:auto minmax(0,1fr)}.stageSyncPanel{flex-shrink:0;max-height:34%;margin-bottom:8px;padding:8px 9px;overflow:auto;border:1px solid #b8d6d0;border-radius:10px;background:#f2faf8}.stageSyncHeader,.stageSyncActions,.stageSyncOk,.stageSyncError,.stageRecommendationsSuspended{display:flex;align-items:center}.stageSyncHeader{flex-direction:row;justify-content:space-between;gap:7px}.stageSyncHeader h3{display:flex;align-items:center;gap:7px;margin:0;color:#194f46;font-size:.82rem}.stageSyncHeader p,.stageSyncMessage,.stageSyncOk,.stageSyncError{margin:4px 0 0;color:#607075;font-size:.66rem}.stageSyncHeader button{display:inline-flex;align-items:center;gap:6px;padding:5px 7px;border:0;border-radius:7px;cursor:pointer}.stageSyncHeader button:disabled{cursor:wait;opacity:.65}.stageSyncSpinner{animation:stageSyncSpin .9s linear infinite}@keyframes stageSyncSpin{to{transform:rotate(360deg)}}.stageSyncChanges{display:grid;gap:7px;margin-top:6px}.stageSyncChange{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:6px;padding:7px 8px;border:1px solid #e3c778;border-radius:8px;background:#fffaf0}.stageSyncChange>div:first-child{display:flex;flex-direction:column;gap:2px}.stageSyncChange strong{color:#604b18;font-size:.78rem}.stageSyncChange span{color:#8a7645;font-size:.7rem}.stageSyncActions{flex-wrap:wrap;gap:6px;flex-shrink:0}.stageSyncActions a,.stageSyncActions button{display:inline-flex;align-items:center;gap:4px;min-height:28px;padding:4px 8px;border:1px solid #ccb96f;border-radius:6px;background:#fff;color:#5f4a13;font:inherit;font-size:.7rem;text-decoration:none;cursor:pointer}.stageSyncOk{gap:5px;color:#2e7468}.stageSyncError{gap:5px;color:#9b1c1c}.stageProgramBadge{display:inline-flex;width:fit-content;padding:2px 6px;border-radius:999px;background:#e8eeee;color:#526064;font-size:.64rem;font-weight:800;line-height:1.2}.stageProgramBadge.cancelled,.stageProgramBadge.replaced{background:#fde8e8;color:#9b1c1c}.stageProgramBadge.pending{background:#fff0c7;color:#815d08}.stageProgramBadge.new{background:#e8efff;color:#355e9b}.stageProgramBadge.themeMissing{background:#f1e8ff;color:#68419a}.stageRecommendationsSuspended{gap:9px;margin:0 0 12px;padding:10px 12px;border:1px solid #e3c778;border-radius:8px;background:#fffaf0;color:#704f0e}.stageRecommendationsSuspended strong{font-size:.8rem}.stageRecommendationsSuspended p{margin:2px 0 0;font-size:.72rem}.livresMergePanel{grid-column:1 / -1;display:grid;grid-template-columns:minmax(190px,.65fr) minmax(0,2fr);gap:12px 16px;padding:12px 14px;border:1px solid #d7b96a;border-radius:10px;background:#fff9e8}.livresMergePanelHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.livresMergePanelHeader h3{display:flex;align-items:center;gap:7px;margin:0;color:#5f4a13;font-size:.96rem}.livresMergeCount{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#8a6a16;color:#fff;font-size:.72rem;font-weight:800}.livresMergeCandidates{display:flex;gap:8px;min-width:0;overflow-x:auto;padding-bottom:2px}.livresMergeCandidate{flex:0 0 min(540px,86vw);padding:9px 10px;border:1px solid #e7d393;border-radius:8px;background:#fff}.livresMergeReason{margin:0 0 6px;color:#8a6a16;font-size:.7rem;font-weight:700}.livresMergePair{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px}.livresMergePair>div{display:flex;flex-direction:column;min-width:0}.livresMergePair strong,.livresMergePair span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.livresMergePair strong{color:#263132;font-size:.78rem}.livresMergePair span,.livresMergePair small{color:#687577;font-size:.68rem}.livresMergeActions,.livresManualMerge{display:flex;align-items:center;gap:7px}.livresMergeActions{justify-content:flex-end;margin-top:8px}.livresMergeActions button,.livresManualMerge button,.livresManualMerge select{min-height:28px;border:1px solid #ccb96f;border-radius:6px;background:#fff;color:#5f4a13;font:inherit;font-size:.72rem}.livresMergeActions button,.livresManualMerge button{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;cursor:pointer}.livresMergeActions button:disabled,.livresManualMerge button:disabled{cursor:not-allowed;opacity:.55}.livresMergePrimary{border-color:#2e8476!important;background:#2e8476!important;color:#fff!important}.livresManualMerge{grid-column:1 / -1;justify-content:flex-end;padding-top:8px;border-top:1px solid #eadcae}.livresManualMerge>span{margin-right:auto;color:#5f4a13;font-size:.72rem;font-weight:700}.livresManualMerge select{max-width:290px;padding:3px 7px}.livresReviewBadge{color:#8a5a00;font-weight:700}.livresReviewConfirm{display:inline-flex;align-items:center;gap:3px;padding:2px 6px;border:1px solid #8a6a16;border-radius:999px;background:#fff9e8;color:#6f5310;font:inherit;font-size:.68rem;font-weight:700;cursor:pointer}.livresStagesColumn{display:flex;flex-direction:column;gap:0;height:100%;min-height:0;min-width:0}.livresPageHeader{flex-shrink:0;margin-bottom:16px}.livresPageEyebrow{margin:0 0 4px;color:#607075;font-size:.78rem;font-weight:700;text-transform:uppercase}.livresPageTitle{margin:0;color:#1e2729;font-size:clamp(1.55rem,1.2rem + .8vw,2.1rem);font-weight:700;line-height:1.12}.livresSectionHeader{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0;min-height:18px;margin-bottom:4px;padding:0 12px}.livresStageHeaderActions{display:flex;align-items:center;gap:6px}.livresStageEditForm{display:grid;gap:9px;margin-bottom:10px}.livresStageEditForm label{display:grid;gap:4px}.livresStageEditForm label>span{color:#315d54;font-size:.72rem;font-weight:800;text-transform:uppercase}.livresStageEditForm input,.livresStageEditForm textarea{width:100%;border:1px solid #74ad98;border-radius:7px;background:#fff;color:#1e2729;font:inherit;padding:7px 9px;resize:vertical}.livresStageEditForm input:focus,.livresStageEditForm textarea:focus{border-color:#2e8476;outline:2px solid rgb(46 132 118 / 18%)}.livresStageEditActions{display:flex;align-items:center;gap:7px}.livresStageEditActions button{display:inline-flex;align-items:center;gap:4px;min-height:30px;border:1px solid #74ad98;border-radius:6px;background:#fff;color:#245f54;font:inherit;font-size:.74rem;font-weight:700;padding:4px 10px;cursor:pointer}.livresStageEditActions button:disabled{cursor:not-allowed;opacity:.55}.livresStageEditForm>p{margin:0;color:#486d65;font-size:.7rem}.livresSectionHeaderStages{padding-left:16px}.livresSectionHeaderStage{padding-left:18px}.livresSectionHeaderThemes{padding-left:12px}.livresSectionHeaderBooks{padding-left:16px;padding-right:16px}.livresSectionTitle{margin:0;color:#2e8476;font-size:.76rem;font-weight:800;letter-spacing:.06em;line-height:1.2;text-transform:uppercase}.livresStagesList{display:flex;flex-direction:column;gap:8px;border:1px solid #dce3e5;border-radius:8px;background:#fff;flex:1;min-height:0;min-width:0;overflow:hidden;overscroll-behavior:contain}.livresColumnHeader{flex-shrink:0;padding:0}.livresColumnEyebrow{margin:0 0 4px;color:#607075;font-size:.78rem;font-weight:700;text-transform:uppercase}.livresColumnTitle{margin:0;color:#1e2729;font-size:clamp(1.55rem,1.2rem + .8vw,2.1rem);font-weight:700;line-height:1.12}.livresSearch{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid #e8f0ee;color:#607075}.livresSearch input{flex:1;min-width:0;border:0;background:transparent;font:inherit;font-size:.86rem;outline:none;color:#1e2729}.livresOngoingButton{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;padding:3px 5px;border:1px solid #d9b84e;border-radius:999px;background:#fff4b8;color:#6b5200;font:inherit;font-size:.62rem;font-weight:800;cursor:pointer}.livresOngoingButton:hover{background:#ffe98a}.livresStagesItems{overflow-y:auto;flex:1;min-height:0;padding:6px;display:flex;flex-direction:column;gap:4px}.livresStageItem{display:flex;flex-direction:column;gap:3px;padding:8px 10px;border:1px solid transparent;border-radius:6px;background:transparent;cursor:pointer;font:inherit;text-align:left}.livresStageItem:hover{background:#f0f7f5}.livresStageItem.active{border-color:#2e8476;background:#e6f2ef}.livresStageItem.stageNow{border-color:#f39c12;background:#fef9e7}.livresStageItem strong{display:block;font-size:.84rem;color:#1e2729;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.livresOccurrences{color:#2e8476;font-size:.72rem;font-weight:600;line-height:1.25}.livresStageItem .livresTeacher,.livresStageItem .livresDates{white-space:nowrap;overflow:hidden;flex-shrink:0}.livresStageItem .livresTeacher svg,.livresStageItem .livresDates svg{flex-shrink:0}.livresStageItemHeader{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.stageNowBadge{background:#f39c12;color:#fff;font-size:.68rem;font-weight:700;padding:1px 5px;border-radius:3px}.livresAxeBadge{display:inline-block;font-size:.68rem;font-weight:700;padding:1px 6px;border-radius:3px}.livresTeacher,.livresDates{display:flex;align-items:center;gap:4px;font-size:.76rem;color:#607075}.livresDetail{display:flex;flex-direction:column;gap:0;height:100%;min-height:0;min-width:0;overflow-y:auto;overscroll-behavior:contain}.livresBooks{min-height:0;min-width:0;display:flex;flex-direction:column}.livresBooksHeader{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 16px;margin-bottom:4px}.livresBooksScrollArea{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain}.livresStageCard{flex-shrink:0;background:#c4e6d4;border:1px solid #92c9ae;border-radius:10px;padding:14px 18px 12px;margin-bottom:12px}.livresDetailEmpty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;height:100%;color:#607075}.livresStageCard h2{margin:4px 0;font-size:clamp(1.1rem,.9rem + .6vw,1.5rem);line-height:1.2}.livresStageHeader{padding:4px 0 8px}.livresStageHeaderBadges{display:flex;align-items:center;gap:6px;margin-bottom:4px;flex-wrap:wrap}.livresStageHeader h2{margin:4px 0;font-size:clamp(1.2rem,1rem + .6vw,1.6rem);line-height:1.2}.livresSousTitle{margin:0 0 6px;font-size:.95rem;color:#607075;font-style:italic}.livresFormatBadge{display:inline-block;font-size:.72rem;font-weight:600;padding:2px 8px;border-radius:4px;background:#e8f4f0;color:#2e8476;border:1px solid #b8ddd5}.livresStageMetaLine{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:4px 0 8px;font-size:.83rem;color:#607075}.livresMetaSep{color:#c5d5d0;font-weight:300;margin:0 2px}.livresMetaAxe{font-weight:600;color:#2e8476}.livresStageAxe{display:none}.livresStageSection{margin-top:10px;padding:10px 12px;background:#f8faf9;border-left:3px solid #d4e9e4;border-radius:0 6px 6px 0}.livresStageSectionLabel{margin:0 0 5px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#2e8476}.livresStageSectionText{margin:0;font-size:.86rem;color:#384042;line-height:1.6;white-space:pre-wrap}.livresTeacherLarge,.livresDatesLarge{display:flex;align-items:center;gap:6px;margin:3px 0;color:#607075;font-size:.86rem}.livresTags{display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:#607075;font-size:.82rem}.livresTag{background:#f0f7f5;border:1px solid #d0e8e3;border-radius:4px;padding:2px 7px;font-size:.78rem;color:#2e8476}.livresToggleBtnPill{display:inline-flex;align-items:center;gap:5px;background:#f0f7f5;border:1px solid #c3dedd;cursor:pointer;color:#2e8476;padding:4px 10px 4px 8px;border-radius:999px;font-size:.76rem;font-weight:600;flex-shrink:0;transition:background .15s,border-color .15s;line-height:1}.livresToggleBtnPill:hover{background:#daf0ec;border-color:#2e8476}.livresStageCardToggleArea{cursor:pointer;-webkit-user-select:none;user-select:none}.livresStageCardToggleArea:hover h2{color:#2e8476;transition:color .15s}.livresEquipeSection{background:#aacfbe;border-bottom:1px solid #7fb8a2;padding:10px 12px 14px;display:flex;flex-direction:column;gap:6px}.livresEquipeSectionTitle{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#1a7060;margin:0 0 2px}.livresEquipeCard{background:#daf0e6;border:1px solid #9ecdb8;border-left:3px solid #2e8476;border-radius:8px;padding:9px 11px;display:flex;align-items:center;gap:10px}.livresEquipeCard.livresEquipeMaitre{background:#fef9ec;border-color:#e8d8a0;border-left-color:#c87a00}.livresEquipeCardInfo{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.livresEquipeCardTitle{font-size:.88rem;font-weight:600;color:#1a3f38;line-height:1.3}.livresEquipeCardMeta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.livresEquipeCardAuthor{font-size:.76rem;color:#2e7a6e}.livresEquipeCardEan{font-size:.72rem;color:#8aab9e;font-variant-numeric:tabular-nums}.livresMaitreBadgeDark{font-size:.65rem;font-weight:700;padding:1px 5px;border-radius:3px;background:#fff4d6;color:#8a5e00;border:1px solid #d4a820}.livresEquipeCardRight{display:flex;align-items:center;gap:8px;flex-shrink:0}.livresStockLine{font-size:.72rem;color:#607075;white-space:nowrap}.livresStockLine.outOfStock{color:#c0392b;font-weight:700}.livresEquipeRemoveBtn{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:none;cursor:pointer;color:#8aab9e;padding:3px;border-radius:4px}.livresEquipeRemoveBtn:hover{color:#c0392b;background:#fde8e8}.livresEquipeRemoveBtn:disabled{opacity:.3;cursor:not-allowed}.livresAddToEquipeBtn{display:inline-flex;align-items:center;gap:3px;font-size:.7rem;font-weight:600;padding:3px 8px;border-radius:999px;background:#e6f4ee;border:1px solid #b8dad0;color:#1a7060;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:background .12s,border-color .12s}.livresAddToEquipeBtn:hover{background:#c8ecdf;border-color:#2e8476;color:#0e5042}.livresAddToEquipeBtn:disabled{opacity:.4;cursor:not-allowed}.livresBookEanCode{font-size:.72rem;color:#9aacae;font-variant-numeric:tabular-nums;letter-spacing:.01em}.livresIaSectionTitle{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#8aab9e;margin:0;padding:10px 12px 4px}.livresBookList{display:flex;flex-direction:column;gap:8px;padding:12px 12px 16px}.livresBookCard{background:#fff;border:1px solid #e0e8e6;border-left:4px solid #dce3e5;border-radius:10px;padding:11px 13px 10px;display:flex;flex-direction:column;gap:8px}.livresBookCard.scoreTop{border-left-color:#2e8476}.livresBookCard.livresBookMaitre{border-left-color:#c87a00;background:#fffcf4}.livresBookCard.livresDropTarget{box-shadow:0 0 0 2px #2e8476}.livresBookCardTop{display:flex;gap:10px;align-items:flex-start}.livresBookCardMain{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.livresBookCardTitle{font-size:.9rem;color:#1e2729;line-height:1.3;font-weight:700}.livresBookCardAuthorLine{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.livresCardDivider{display:inline-block;width:1px;height:10px;background:#d0dbd8;flex-shrink:0;align-self:center}.livresBookAuthor{font-size:.8rem;color:#304145}.livresBookMeta{font-size:.76rem;color:#607075}.livresBookCardRight{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0;padding-top:1px}.livresSourceBadge{font-size:.68rem;font-weight:700;padding:1px 5px;border-radius:3px}.livresSourceHist{background:#e8f0ee;color:#2e8476}.livresSourceVendeur{background:#e8f4fb;color:#1a5276}.livresSourceIa{background:#f4e8fb;color:#6e2fa0}.livresMaitreBadge{font-size:.68rem;font-weight:700;padding:1px 5px;border-radius:3px;background:#fef9e7;color:#b7950b;border:1px solid #f39c12}.livresScoreBadge{font-size:.68rem;font-weight:700;padding:1px 5px;border-radius:3px}.livresScoreBadge.scoreHigh{background:#e8f4fb;color:#1a5276}.livresScoreBadge.scoreLow{background:#f2f2f2;color:#607075}.livresStockBadge{font-size:.72rem;color:#607075;white-space:nowrap;text-align:right}.livresStockBadge.outOfStock{color:#9b1c1c;font-weight:700}.livresStockDate{font-size:.66rem;color:#b0b8ba;font-weight:400}.livresStageThemeCount{font-size:.65rem;color:#8aab9e;font-weight:600}.livresTagsEditable{padding:8px 20px 10px;border-bottom:1px solid #e8f0ee}.livresTagEdit{display:inline-flex;align-items:center;gap:3px;background:#f0f7f5;border:1px solid #c5ddd8;border-radius:4px;padding:2px 5px 2px 7px;font-size:.78rem;color:#2e8476;font-weight:500}.livresTagRemoveBtn{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:none;cursor:pointer;color:#8aab9e;padding:1px;border-radius:2px;line-height:1}.livresTagRemoveBtn:hover{color:#c0392b;background:#fdecea}.livresTagRemoveBtn:disabled{opacity:.4;cursor:not-allowed}.livresTagAddBtn{display:inline-flex;align-items:center;gap:3px;font-size:.72rem;font-weight:600;color:#2e8476;background:transparent;border:1px dashed #c5ddd8;border-radius:4px;padding:2px 7px;cursor:pointer}.livresTagAddBtn:hover{background:#f0f7f5;border-style:solid}.livresTagAddBtn:disabled{opacity:.4;cursor:not-allowed}.livresTagAddBtnSmall{padding:1px 5px;font-size:.66rem}.livresTagAddForm{display:inline-flex;align-items:center;gap:4px}.livresTagAddForm select{font-size:.75rem;padding:2px 4px;border:1px solid #c5ddd8;border-radius:4px;background:#fff;color:#1e2729;max-width:220px}.livresTagAddConfirm{font-size:.72rem;font-weight:600;padding:2px 8px;border:none;border-radius:4px;background:#2e8476;color:#fff;cursor:pointer}.livresTagAddConfirm:hover{background:#1e6e62}.livresTagAddConfirm:disabled{opacity:.4;cursor:not-allowed}.livresTagCancelBtn{display:inline-flex;align-items:center;background:transparent;border:none;cursor:pointer;color:#9b7e5a;padding:2px}.livresTagCancelBtn:hover{color:#607075}.livresBookThemes{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.livresBookThemeChip{display:inline-flex;align-items:center;gap:2px;font-size:.7rem;font-weight:500;padding:1px 5px 1px 6px;border-radius:3px;background:#f0f7f5;border:1px solid #c5ddd8;color:#2e8476}.livresBookThemeChip.propose{background:#f7f0fb;border-color:#d4b8e8;color:#6e2fa0;font-style:italic}.livresEditError{font-size:.78rem;color:#9b1c1c;background:#fdf0f0;border:1px solid #f5c6c6;border-radius:4px;padding:4px 10px;margin:0 20px 8px}.livresAddByEan{padding:12px 16px;border-top:1px solid #e8f0ee;background:#f7faf9}.livresAddByEanLabel{display:flex;align-items:center;gap:5px;font-size:.82rem;font-weight:700;color:#2e8476;margin:0 0 8px}.livresAddByEanForm{display:flex;gap:8px}.livresAddByEanForm input{flex:1;min-height:34px;border:1px solid #cdd8db;border-radius:6px;padding:0 10px;font:inherit;font-size:.9rem;font-family:monospace}.livresPanelHeaderRow{display:flex;align-items:center;justify-content:space-between;padding-right:16px}.iaButton{display:flex;align-items:center;gap:5px;padding:5px 12px;border-radius:6px;border:1px solid #7c3aed;background:#f5f3ff;color:#6d28d9;font-size:.82rem;font-weight:600;cursor:pointer;transition:background .15s;white-space:nowrap}.iaButton:hover{background:#ede9fe}.iaButton:disabled{opacity:.6;cursor:wait}.iaButtonLoading{animation:iaPulse 1.2s ease-in-out infinite}@keyframes iaPulse{0%,to{opacity:1}50%{opacity:.5}}.iaStatusMsg{margin:4px 16px 0;font-size:.8rem;border-radius:4px;padding:4px 8px}.iaStatusDone{color:#2e8476;background:#eaf6f4}.iaStatusError{color:#9b1c1c;background:#fde8e8}.dklBadge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:.78rem;font-weight:700}.dklBadgeZero{background:#fde8e8;color:#9b1c1c}.dklBadgeCritique{background:#fff3e0;color:#7c3c00}.dklBadgeAttention{background:#fffde7;color:#6b5900}.dklBadgeOk{background:#e8f5e9;color:#1b5e20}.dklFenetreBlock{padding:12px;border-radius:6px;margin:8px 0 16px}.dklFenetreBlock.ok{background:#e8f5e9}.dklFenetreBlock.attention{background:#fff8e1}.dklFenetreBlock.urgent{background:#fde8e8}.dklFenetreBlock strong{display:block;font-size:1rem;color:#103c34}.dklFenetreBlock span{font-size:.82rem;color:#607075}.dklFenetresListe{display:flex;flex-direction:column;gap:6px;margin:16px 0 12px}.dklFenetreItem{padding:5px 10px;border-radius:4px;font-size:.84rem;color:#607075;border:1px solid #e8f0ee}.dklFenetreItem.active{border-color:#2e8476;color:#103c34;font-weight:700;background:#e6f2ef}.dklUrgent{color:#9b1c1c}.dklNote{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:6px;background:#f0f7f5;border:1px solid #d0e8e3;color:#607075;font-size:.78rem;margin-top:8px}.dklNote p{margin:0;line-height:1.4}.dklNote svg{flex-shrink:0;margin-top:1px;color:#2e8476}.stagesAccordion{border-bottom:1px solid #e8f0ee;margin-bottom:4px}.stagesAccordionToggle{display:flex;align-items:center;gap:6px;width:100%;height:46px;min-height:46px;flex:0 0 46px;padding:0 16px;border:0;background:transparent;color:#2e8476;font:inherit;font-size:.84rem;font-weight:600;line-height:1.2;cursor:pointer;text-align:left}.stagesAccordionToggle:hover{background:#f0f7f5}.stagesAccordionToggle .rotated{transform:rotate(180deg)}.stagesAccordionToggle span{display:block;flex:1}.salesStagesPanel{align-self:start;position:relative;z-index:2}.salesStagesPanel .panelHeader{height:48px;min-height:48px;flex:0 0 48px}.salesCategoriesPanel{transition:margin-top .18s ease}.salesStagesPanel:not(.salesStagesPanelExpanded){height:94px;min-height:94px}.salesStagesPanel:not(.salesStagesPanelExpanded) .stagesAccordionToggle{min-height:46px}.stagesList{list-style:none;margin:0;padding:0 16px 12px;display:flex;flex-direction:column;gap:8px}.stagesList li{display:flex;flex-direction:column;gap:2px}.stagesList li strong{font-size:.84rem;color:#103c34;line-height:1.3}.stagesList li span{font-size:.78rem;color:#5a7370}.expandButton{display:flex;align-items:center;gap:6px;width:100%;padding:10px 16px;border:0;border-top:1px solid #edf1f2;background:transparent;color:#2e8476;font:inherit;font-size:.86rem;font-weight:600;cursor:pointer;text-align:left}.expandButton:hover{background:#f0f7f5}.expandButton .rotated{transform:rotate(180deg)}.salesHeader{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;min-height:0}.stageHeader{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:18px;align-items:end;min-height:0}.stageHeaderMain{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;min-width:0}.salesHeaderLeft{display:flex;flex-direction:column;gap:6px;flex-shrink:0}.salesHeaderLeft h2{font-size:clamp(1.55rem,1.2rem + .8vw,2.1rem);line-height:1.12;margin:0}.stageHeaderLeft{flex:0 0 auto}.stagePeriodNav{flex-wrap:nowrap}.salesHistogram{display:flex;align-items:flex-end;gap:5px;overflow-x:auto;padding-bottom:2px;flex:1;min-width:0}.stageHistogramWrap{display:flex;align-items:flex-end;gap:8px;flex:1 1 auto;min-width:0;max-width:none}.stageHistogram{flex:1 1 auto;overflow:hidden}.stageHistogramNav{flex:0 0 40px;margin-bottom:20px}.stageHistogram .histoBar{flex:1 1 0;min-width:0;width:auto;max-width:none}.stageHistogram .histoBarLabel{max-width:48px;overflow:hidden;text-overflow:ellipsis}.histoBar{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:52px;flex:1;max-width:80px;border:1px solid transparent;border-radius:6px;padding:4px 2px;background:transparent;cursor:pointer;font:inherit}.histoBar:hover{background:#f0f7f5;border-color:#b2d3cc}.histoBarSelected{background:#e6f2ef;border-color:#2e8476}.histoBarValue{font-size:.72rem;font-weight:600;color:#103c34;white-space:nowrap}.histoBarTrack{width:100%;height:56px;display:flex;align-items:flex-end;background:#f3f7f6;border-radius:4px;overflow:hidden}.histoBarFill{width:100%;background:#2e8476;border-radius:4px 4px 0 0;transition:height .2s ease}.histoBarSelected .histoBarFill{background:#103c34}.histoBarLabel{font-size:.72rem;color:#5a7370;white-space:nowrap}.salesNav{display:flex;align-items:center;gap:16px;padding:0 0 4px;flex-wrap:wrap}.periodNav{display:flex;align-items:center;gap:8px}.periodLabel{font-size:.95rem;font-weight:600;color:#103c34;min-width:220px;text-align:center}.segmentedControl{display:inline-flex;gap:4px;margin:0 16px 12px;padding:4px;border:1px solid #dce3e5;border-radius:8px;background:#f7faf9}.segmentedControl button,.sortButton{border:0;background:transparent;color:inherit;cursor:pointer;font:inherit}.segmentedControl button{border-radius:6px;font-size:.86rem;font-weight:700;padding:7px 10px}.segmentedControl button.active{background:#103c34;color:#fff}.sortButton{display:inline-flex;align-items:center;justify-content:space-between;gap:5px;min-height:34px;border:1px solid #c7ded8;border-radius:8px;background:#f6fbf9;color:#0f4f45;font-weight:800;padding:0 10px;text-align:left;text-transform:uppercase;white-space:nowrap}.sortButton>span{flex:0 0 auto}.sortButtonLabel{display:inline-flex;flex-direction:column;line-height:1.05}.sortButtonLine{display:block}.sortButton:hover{border-color:#9bcac0;background:#eef8f4}.sortButton.active{border-color:#8fbeb4;background:#e7f3ef;color:#103c34}.stockChart{display:grid;grid-auto-flow:column;grid-auto-columns:84px;align-items:end;justify-content:start;gap:12px;min-height:210px;overflow-x:auto;padding:16px}.stockChartBar{display:grid;justify-items:center;gap:7px}.stockChartTrack{display:flex;align-items:end;width:100%;height:130px;border-radius:8px;background:#edf3f1;overflow:hidden}.stockChartTrack div{width:100%;border-radius:8px 8px 0 0;background:#d45f43}.stockChartBar strong{font-size:.9rem}.stockChartBar span{color:#607075;font-size:.78rem}.priorityBadge{display:inline-flex;align-items:center;justify-content:center;min-width:72px;height:28px;border-radius:999px;font-size:.78rem;font-weight:800}.priorityBadge.high{background:#fee7d3;color:#8c3f0b}.priorityBadge.medium{background:#fff3bd;color:#725400}.priorityBadge.low{background:#e7f2ef;color:#24594f}.recommendationRow{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,.85fr) auto;gap:16px;align-items:center;padding:14px;border:1px solid #edf1f2;border-radius:8px}.recommendationRow h3{margin-top:8px;font-size:1rem}.recommendationRow p{margin:4px 0 0;color:#607075;font-size:.9rem}.stageTags{display:flex;flex-wrap:wrap;gap:6px}.stageTags span{padding:6px 8px;border-radius:6px;background:#eef2f1;color:#384c50;font-size:.82rem;font-weight:700}.eventItem{display:grid;gap:4px;padding:12px;border:1px solid #edf1f2;border-radius:8px}.eventItem span{color:#607075;font-size:.88rem}@media(max-width:980px){.appShell{grid-template-columns:1fr}.sidebar{position:sticky;top:0;z-index:2;gap:14px;height:auto;overflow:visible;padding:16px;border-right:0;border-bottom:1px solid #dce3e5}.navSections{gap:10px}.navSection>span{display:none}.navList{grid-template-columns:repeat(5,minmax(0,1fr))}.navButton{justify-content:center}.sidebarFooter{display:none}.metricGrid,.salesOverviewGrid,.zeroStockOverviewGrid,.stageHeader,.contentGrid,.importLayout{grid-template-columns:1fr}.stageHistogramWrap{max-width:100%}.stageHeaderMain{flex-direction:column;align-items:stretch}.salesMetricGrid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.importDropZone{grid-template-columns:1fr}.dropActions{justify-content:flex-start;flex-wrap:wrap}.recommendationRow{grid-template-columns:1fr}}@media(max-width:640px){.workspace{padding:18px 12px}.topbar{align-items:flex-start;flex-direction:column}.topbarActions{flex-wrap:wrap;width:100%}.navButton span{display:none}.metricGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.metricCard{min-height:86px;padding:12px}.metricCard strong{font-size:1.25rem}}.livresThemesPanel{display:flex;flex-direction:column;flex:1;gap:0;min-height:0;border:1px solid #dce3e5;border-radius:8px;background:#fff;overflow:hidden}.livresThemesPanelTitle{display:flex;align-items:center;gap:6px;padding:10px 12px;font-size:.78rem;font-weight:700;color:#2e8476;border-bottom:1px solid #e8f0ee;text-transform:uppercase;letter-spacing:.05em}.livresThemesPanelHint{margin:0;padding:4px 10px;font-size:.68rem;color:#9b7e5a;font-style:italic;border-bottom:1px solid #f0f4f3}.livresThemesPanelList{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;overflow-y:auto;overflow-x:hidden;flex:1;min-height:0;padding:5px}.livresThemesPanelColumn{display:flex;flex-direction:column;gap:3px;min-width:0}.livresThemePanelChip{display:block;padding:2px 6px;border-radius:4px;font-size:.72rem;line-height:1.25;color:#1e2729;background:#f5f7f8;border:1px solid #d8e5e1;cursor:grab;-webkit-user-select:none;user-select:none;transition:background .1s,border-color .1s;word-break:break-word}.livresThemePanelChip:hover{background:#e6f2ef;border-color:#2e8476;color:#1e2729}.livresThemePanelChipSelected{background:#e6f2ef;border-color:#2e8476;color:#103c34;font-weight:700;box-shadow:inset 3px 0 #2e8476}.livresThemePanelChip:active,.livresThemePanelChipDragging{cursor:grabbing;background:#c5e8dc;border-color:#2e8476;opacity:.7}.livresDropTarget{outline:2px dashed #2e8476;outline-offset:3px;transition:outline .1s}.livresStageCard.livresDropTarget{background:#aad8c0}
