.auth-shell{background:linear-gradient(135deg,#edf6ed 0%,#f8fbf8 100%);grid-template-columns:.95fr 1.35fr;min-height:100vh;display:grid}.auth-promo{color:#fff;background:#1f5f24;justify-content:center;align-items:center;padding:56px 48px;display:flex}.auth-promo-visual{justify-content:center;align-items:center;width:100%;display:flex}.auth-promo-image{object-fit:contain;width:min(100%,520px);max-height:78vh;display:block}.auth-eyebrow,.auth-kicker{text-transform:uppercase;letter-spacing:.14em;opacity:.8;margin:0;font-size:.78rem}.auth-promo h1,.auth-card h2{margin:0}.auth-promo h1{max-width:8ch;font-size:clamp(2.8rem,5vw,5rem);font-weight:800;line-height:.96}.auth-promo h1 span{color:#b4ecb5}.auth-promo p{color:#ffffffd6;max-width:36ch;margin:0}.auth-promo-badge{background:#ffffff1f;border:1px solid #ffffff29;border-radius:20px;gap:8px;max-width:420px;padding:18px 20px;display:grid}.auth-content{place-items:center;padding:32px;display:grid}.auth-card{background:#fff;border:1px solid #1b1b1b14;border-radius:32px;width:min(400px,100%);padding:28px 18px;box-shadow:0 18px 44px #2e7d321f}.auth-header{gap:10px;margin-bottom:28px;display:grid}.auth-header-center{text-align:center;justify-items:center}.auth-header h2{color:#1b1b1b;font-size:clamp(2rem,4vw,3rem);line-height:1}.auth-header span{color:#6b6b6b}.auth-title-small{font-size:1.35rem;font-weight:700;line-height:1.1;color:var(--primary)!important}.auth-form{justify-items:center;gap:24px;display:grid}.auth-float-box-field{width:82%;display:block;position:relative}.auth-float-box-field span{color:var(--primary);z-index:1;opacity:0;pointer-events:none;background:#fff;padding:0 8px 0 0;font-size:.95rem;line-height:1;transition:opacity .2s,transform .2s;position:absolute;top:-10px;left:0;transform:translateY(6px)}.auth-float-box-field input{border:none;border-bottom:1.5px solid var(--primary-light);color:#1b1b1b;background:0 0;border-radius:0;outline:none;width:100%;height:36px;padding:0 40px 0 16px;transition:border-color .2s,box-shadow .2s}.auth-float-box-field input:focus,.otp-box:focus{border-color:var(--primary);box-shadow:none;background:0 0}.auth-float-box-field input::placeholder{color:#6b6b6b;opacity:1}.auth-float-box-field input:-webkit-autofill{-webkit-text-fill-color:#1b1b1b;transition:background-color 9999s ease-out;box-shadow:inset 0 0 0 1000px #0000;background-color:#0000!important}.auth-float-box-field input:-webkit-autofill:hover{-webkit-text-fill-color:#1b1b1b;transition:background-color 9999s ease-out;box-shadow:inset 0 0 0 1000px #0000;background-color:#0000!important}.auth-float-box-field input:-webkit-autofill:focus{-webkit-text-fill-color:#1b1b1b;transition:background-color 9999s ease-out;box-shadow:inset 0 0 0 1000px #0000;background-color:#0000!important}.auth-float-box-field input:-webkit-autofill:active{-webkit-text-fill-color:#1b1b1b;transition:background-color 9999s ease-out;box-shadow:inset 0 0 0 1000px #0000;background-color:#0000!important}.auth-float-box-field:focus-within span,.auth-float-box-field input:not(:placeholder-shown)+span{opacity:1;transform:translateY(0)}.auth-float-box-field:focus-within input::placeholder,.auth-float-box-field input:not(:placeholder-shown)::placeholder{color:#0000}.auth-password-toggle{width:32px;height:32px;color:var(--text-secondary,#6b6b6b);cursor:pointer;background:0 0;border:none;place-items:center;padding:0;display:inline-grid;position:absolute;bottom:6px;right:0}.auth-password-toggle svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.auth-password-toggle:hover,.auth-password-toggle:focus-visible{color:var(--primary);outline:none}.auth-meta-row,.auth-footer-row{justify-content:end;align-items:center;gap:12px;width:82%;display:flex}.auth-checkbox{color:#6b6b6b;align-items:center;gap:10px;display:inline-flex}.auth-link,.auth-link-button{color:var(--primary);background:0 0;border:none;padding:0;font-size:1rem;font-weight:500;text-decoration:none}.auth-link-button:disabled{color:#93a193;cursor:not-allowed}.auth-button{background:linear-gradient(180deg, var(--primary-light), var(--primary));color:#fff;border:none;border-radius:16px;width:82%;height:40px;font-size:1.05rem;font-weight:700}.auth-button:disabled{opacity:.72;cursor:wait}.auth-error,.auth-info,.auth-muted,.password-hints{margin:0}.auth-error{color:#d32f2f;font-size:.92rem}.auth-info,.auth-muted{color:#6b6b6b;font-size:.92rem}.otp-group{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;width:82%;display:grid}.otp-box{text-align:center;background:0 0;border:none;border-bottom:2px solid #1b1b1b2e;border-radius:0;outline:none;height:58px;font-size:1.25rem;font-weight:700}.password-hints{color:#6b6b6b;gap:6px;width:82%;padding-left:18px;display:grid}.auth-success-panel{justify-items:center;gap:18px;width:82%;display:grid}@media (width<=980px){.auth-shell{grid-template-columns:1fr}.auth-promo{display:none}}@media (width<=640px){.auth-content,.auth-promo{padding:24px}.auth-card{border-radius:24px;padding:13px}.auth-float-box-field,.auth-meta-row,.auth-footer-row,.auth-button,.otp-group,.password-hints{width:100%}.otp-group{grid-template-columns:repeat(3,minmax(0,1fr))}.auth-meta-row,.auth-footer-row{flex-direction:column;align-items:flex-start}}.grid{grid-template-columns:1fr 320px;align-items:start;gap:1.5rem;display:grid}.uploadBox{color:#1a1a1a;cursor:pointer;background:#fff;border-radius:12px;justify-content:space-between;align-items:center;min-height:44px;padding:.625rem .875rem;font-size:.9rem;transition:border-color .2s,box-shadow .2s;display:flex;border:1px solid var(--border-soft)!important}.uploadBox:hover{border-color:#2e7d32}.uploadBox:active{box-shadow:0 0 0 3px #4caf502e}.uploadBox.active{color:#2e7d32;background:#f1f8f1;border-color:#2e7d32}.uploadContent{align-items:center;gap:8px;display:flex;overflow:hidden}.uploadText{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.uploadArrow{fill:#4caf50;flex-shrink:0;width:12px;height:12px}.actions{border-top:2px solid #e8f5e9;justify-content:flex-end;gap:.75rem;margin-top:.5rem;padding-top:1.25rem;display:flex}.btnSecondary{color:#4caf50;cursor:pointer;background:#fff;border:2px solid #4caf50;border-radius:8px;padding:.55rem 1.25rem}.btnPrimary{color:#fff;cursor:pointer;background:#4caf50;border:2px solid #4caf50;border-radius:8px;padding:.55rem 1.5rem}.btnPrimary:hover{background:#43a047}.alert{border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem;font-size:.85rem}.alertSuccess{background:#e8f5e9;border:2px solid #4caf50}.alertError{background:#ffebee;border:2px solid #e53935}@media (width<=860px){.grid{grid-template-columns:1fr}.content-manager-shell{grid-template-columns:1fr!important}}.selectWrapper{position:relative}.selectWrapper select{appearance:none;width:100%;min-height:44px;line-height:1.4;display:block;color:var(--text-main)!important;background-color:var(--bg-card)!important;padding:0 40px 0 14px!important}.selectWrapper select option{color:var(--text-main);background:#fff}.selectArrow{pointer-events:none;color:#6b7280;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.dropdownContainer{flex-direction:column;gap:4px;display:flex}.dropdownBox{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:8px;justify-content:space-between;align-items:center;padding:0 12px;font-size:14px;transition:all .2s;display:flex}.dropdownBox:hover{border-color:#4caf50}.dropdownError{border-color:#d32f2f}.dropdownValue{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dropdownArrow{transition:transform .2s}.dropdownArrow.open{transform:rotate(180deg)}.dropdownMenu{z-index:10;background:#fff;border:1px solid #e5e7eb;border-radius:8px;width:100%;max-height:200px;margin-top:4px;position:absolute;overflow-y:auto;box-shadow:0 6px 16px #00000014}.dropdownItem{cursor:pointer;align-items:center;gap:8px;padding:8px 10px;font-size:14px;display:flex}.dropdownItem:hover{background:#f9fafb}.dropdownItem input{pointer-events:none}.pagination-container{background:var(--bg-card);border:1px solid var(--border-soft);border-radius:var(--radius-sm);box-shadow:var(--shadow-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-top:30px;padding:16px 20px;display:flex}.pagination-controls{flex:1;align-items:center;gap:16px;min-width:300px;display:flex}.pagination-btn{background:var(--primary);height:36px;color:var(--text-light);white-space:nowrap;cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;gap:6px;padding:8px 16px;font-size:13px;font-weight:500;transition:all .2s;display:flex;box-shadow:0 12px 24px #2e7d3224}.pagination-btn:hover:not(:disabled){background:var(--primary-light);transform:translateY(-1px);box-shadow:0 14px 28px #2e7d322e}.pagination-btn:active:not(:disabled){transform:translateY(0)}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.pagination-btn-prev,.pagination-btn-next{min-width:110px}.pagination-info{color:var(--text-main);white-space:nowrap;align-items:center;gap:10px;font-size:14px;display:flex}.page-number{color:var(--primary);font-weight:600}.page-total{color:var(--text-muted)}.total-items{background:var(--bg-soft);color:var(--primary);border-radius:8px;padding:4px 8px;font-weight:500}.pagination-limit{align-items:center;gap:10px;font-size:13px;display:flex}.pagination-limit label{color:var(--text-main);font-weight:500}.limit-select{border:1px solid var(--border-soft);background:var(--bg-card);height:36px;color:var(--text-main);cursor:pointer;border-radius:12px;padding:6px 10px;font-size:13px;font-weight:500;transition:all .2s}.limit-select:hover{border-color:var(--primary);box-shadow:0 0 0 2px #2e7d321a}.limit-select:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #2e7d3226}@media (width<=768px){.pagination-container{flex-direction:column;gap:12px}.pagination-controls{justify-content:center;min-width:100%}.pagination-info{text-align:center;flex-direction:column;gap:4px}.pagination-btn-prev,.pagination-btn-next{flex:1}.pagination-limit{justify-content:center;width:100%}}.wrapper{padding:1.5rem}.create-form{width:100%}.form-grid{grid-template-columns:1fr 320px;align-items:start;gap:1.5rem;margin-bottom:1.5rem;display:grid}.left,.right{flex-direction:column;gap:1.25rem;display:flex}.form-group{flex-direction:column;gap:.5rem;display:flex}.label{letter-spacing:.04em;text-transform:uppercase;color:var(--primary);font-size:.78rem;font-weight:600}.card{background:var(--bg-card);border:2px solid var(--primary);border-radius:10px;flex-direction:column;gap:.75rem;padding:1rem 1.125rem;display:flex}.preview-info{flex-direction:column;gap:.5rem;display:flex}.preview-info p{color:var(--text-main);margin:0;font-size:12px;line-height:1.4}.preview-info strong{color:var(--primary);font-weight:600}.uploadField{flex-direction:column;gap:.75rem;display:flex}.file-input{border:1px solid var(--border-soft);background:var(--bg-card);color:var(--text-main);cursor:pointer;border-radius:8px;padding:8px 12px;font-size:13px;transition:all .2s}.file-input:hover{border-color:var(--primary);background:var(--bg-soft)}.file-input:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #2e7d321a}.preview-container{background:var(--bg-soft);border:1px solid var(--border-soft);border-radius:8px;justify-content:center;align-items:center;width:100%;min-height:120px;display:flex;overflow:hidden}.preview-image{object-fit:contain;max-width:100%;max-height:120px}.form-actions{border-top:1px solid var(--border-soft);align-items:center;gap:1rem;padding-top:1.5rem;display:flex}.form-actions button{cursor:pointer;border:none;border-radius:12px;height:36px;padding:0 24px;font-size:14px;font-weight:500;transition:all .2s}.form-actions button:disabled{opacity:.6;cursor:not-allowed}.cancel-btn{background:var(--bg-soft);color:var(--text-main);border:1px solid var(--border-soft)}.cancel-btn:hover:not(:disabled){background:var(--border-soft)}@media (width<=768px){.wrapper{padding:1rem}.title{margin-bottom:1.25rem;font-size:24px}.form-grid{grid-template-columns:1fr;gap:1rem}.form-actions{flex-direction:column;gap:.75rem}.form-actions button{width:100%}}.container{background:#f9fafb;border-radius:16px;width:100%;max-width:1200px;margin:0 auto;padding:24px}.title{color:#111827;margin-bottom:20px;font-size:26px;font-weight:700}.article-filter-bar{gap:10px;margin-bottom:12px;display:flex}.article-search-input{color:#111827;border:1px solid #e5e7eb;border-radius:8px;flex:1;min-width:0;padding:10px 12px;font-size:14px}.article-mobile-type-select{display:none}.article-filter-search,.article-type-btn{color:#4caf50;cursor:pointer;background:#fff;border:1px solid #4caf50;border-radius:8px;padding:10px 14px;font-weight:600}.article-type-filter{flex-wrap:wrap;gap:10px;margin-bottom:18px;display:flex}.article-create-type-filter{scrollbar-width:none;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;gap:10px;margin-bottom:0;padding:0 24px;display:flex;overflow:auto hidden}.article-create-type-filter::-webkit-scrollbar{display:none}.article-create-type-filter .article-type-btn{white-space:nowrap;flex:none}.article-type-btn.active,.article-filter-search{color:#fff;background:#4caf50}.article-list-grid{border-radius:12px;grid-template-columns:repeat(3,1fr);gap:20px;padding:8px;display:grid}.article-list-grid>*{width:100%;height:100%}.empty{color:#777;text-align:center;margin-top:20px}@media (width<=1024px){.article-list-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.container{border-radius:12px;padding:16px}.title{font-size:20px}.article-filter-bar{flex-direction:row;align-items:center;gap:8px}.article-search-input{border-radius:10px;flex:34%;width:34%;height:37px;padding:0 12px}.article-mobile-type-select{color:#111827;background:#fff;border:1px solid #4caf50;border-radius:12px;flex:38%;width:38%;min-width:0;height:37px;padding:0 12px;font-size:15px;display:block}.article-filter-search{border-radius:12px;flex:0 0 52px;justify-content:center;align-items:center;width:52px;height:37px;padding:0;display:inline-flex}.article-search-text{display:none}.article-search-icon{display:block}.article-type-filter{display:none}.article-create-type-filter{margin-bottom:12px;padding:0 16px}.article-list-grid{grid-template-columns:1fr;gap:14px}}.articleCard{background:#fff;border:1px solid #e5e7eb;border-radius:16px;flex-direction:column;width:100%;min-width:0;max-width:100%;height:100%;transition:all .25s;display:flex;overflow:hidden;box-shadow:0 4px 12px #0000000f}.articleCard:hover{border-color:#4caf50;transform:translateY(-6px);box-shadow:0 10px 22px #0000001f}.articleCard img{object-fit:cover;width:100%;height:160px;display:block}.cardBody{flex-direction:column;flex:1;gap:10px;padding:14px;display:flex}.cardTitle{color:#111827;word-break:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:16px;font-weight:600;display:-webkit-box;overflow:hidden}.cardSummary{color:#6b7280;word-break:break-word;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:13px;display:-webkit-box;overflow:hidden}.tagContainer{flex-wrap:wrap;gap:6px;width:100%;display:flex;overflow:hidden}.tag,.animalTag,.subCategoryTag{text-overflow:ellipsis;white-space:nowrap;border-radius:999px;align-items:center;gap:4px;max-width:100%;padding:3px 8px;font-size:11px;display:flex;overflow:hidden}.tag{color:#0284c7;background:#e0f2fe}.animalTag{color:#be185d;background:#fce7f3}.subCategoryTag{color:#047857;background:#ecfdf5}.cardFooter{justify-content:space-between;align-items:center;margin-top:auto;display:flex}.status{border-radius:999px;padding:3px 8px;font-size:11px;font-weight:600}.published{color:#166534;background:#dcfce7}.draft{color:#854d0e;background:#fef9c3}.archived{color:#374151;background:#e5e7eb}.dates{flex-direction:column;gap:2px;display:flex}.date{color:#9ca3af;align-items:center;gap:4px;font-size:10px;display:flex}.cardActions{gap:10px;margin-top:10px;display:flex}.cardActions button{cursor:pointer;border:none;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:6px;padding:8px;font-size:13px;font-weight:500;transition:all .25s;display:flex}.pdfLink{color:#fff;background:#4caf50;border-radius:8px;justify-content:center;align-items:center;gap:6px;margin-top:auto;padding:7px;font-size:12px;font-weight:500;text-decoration:none;display:flex}.pdfLink:hover{background:#2e7d32}@media (width<=768px){.articleCard img{height:140px}.cardTitle{font-size:15px}.cardSummary{font-size:12px}}@media (width<=600px){.articleCard{border-radius:12px}.articleCard img{height:120px}.cardBody{gap:6px;padding:10px}.cardTitle{font-size:14px}.cardSummary{-webkit-line-clamp:2;font-size:12px}.tag,.animalTag,.subCategoryTag{padding:2px 6px;font-size:10px}.cardFooter{flex-direction:column;align-items:flex-start;gap:4px}.dates{flex-direction:row;gap:8px}.date{font-size:9px}.cardActions{gap:6px}.cardActions button,.pdfLink{padding:6px;font-size:11px}}@media (width<=400px){.articleCard img{height:110px}.cardTitle{font-size:13px}.cardSummary{display:none}.cardActions button,.pdfLink{font-size:10px}}.noImage{color:#9ca3af;background:#f3f4f6;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:100%;height:160px;font-size:12px;display:flex}.categoryCard{background:#fff;border:1px solid #e5e7eb;border-radius:16px;flex-direction:column;width:100%;transition:all .25s;display:flex;overflow:hidden;box-shadow:0 4px 12px #0000000f}.categoryCard:hover{border-color:#4caf50;transform:translateY(-6px);box-shadow:0 10px 22px #0000001f}.categoryImage{background:#f0f0f0;justify-content:center;align-items:center;width:100%;height:200px;display:flex;overflow:hidden}.categoryImage img{object-fit:cover;width:100%;height:100%;display:block}.categoryImage .noImage{color:#999;font-size:14px}.categoryBody{flex-direction:column;flex:1;gap:10px;padding:15px;display:flex}.categoryName{color:#111827;word-break:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:16px;font-weight:700;display:-webkit-box;overflow:hidden}.categoryDescription{color:#666;word-break:break-word;-webkit-line-clamp:3;-webkit-box-orient:vertical;flex:1;margin:0;font-size:14px;line-height:1.4;display:-webkit-box;overflow:hidden}.statusBadge{border-radius:20px;width:fit-content;padding:4px 12px;font-size:12px;font-weight:700;display:inline-block}.statusBadge.active{color:#155724;background:#d4edda}.statusBadge.inactive{color:#721c24;background:#f8d7da}.categoryActions{gap:8px;margin-top:auto;display:flex}.categoryActions button{cursor:pointer;border:none;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:6px;padding:8px 12px;font-size:14px;font-weight:500;transition:all .25s;display:flex}.editBtn{color:#1976d2;background:#e3f2fd}.editBtn:hover{background:#bbdefb}.deleteBtn{color:#d32f2f;background:#ffebee}.deleteBtn:hover{background:#ffcdd2}.categoriesGrid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;margin-bottom:20px;display:grid}.paginationContainer{align-items:center;gap:10px;margin-top:20px;display:flex}.paginationContainer button{color:#fff;cursor:pointer;background:#007bff;border:none;border-radius:4px;padding:8px 16px;font-weight:500;transition:all .25s}.paginationContainer button:hover:not(:disabled){background:#0056b3}.paginationContainer button:disabled{cursor:not-allowed;background:#ccc}.analytics-dashboard,.analytics-summary-grid,.analytics-main-grid,.analytics-bottom-grid,.spark-card-stack,.audience-topline,.chart-x-labels,.device-stats{gap:18px;display:grid}.analytics-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-hero{border-radius:var(--radius-lg);color:var(--text-light);box-shadow:var(--shadow-soft);padding:24px}.summary-hero-blue{background:linear-gradient(135deg,#3896ed,#51a7eb)}.summary-hero-teal{background:linear-gradient(135deg,#2da79b,#38b9b5)}.summary-hero-slate{background:linear-gradient(135deg,#8da5c0,#93a8c0)}.summary-hero-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.summary-hero h3,.summary-hero strong,.summary-hero span{margin:0}.summary-hero strong{margin-top:18px;font-size:clamp(2rem,3vw,3rem);font-weight:500;display:block}.summary-hero span{opacity:.96;margin-top:12px;display:block}.summary-chip{color:var(--text-light);background:#ffffff38;border:none;border-radius:8px;padding:6px 12px;font-size:.84rem;font-weight:700}.analytics-main-grid{grid-template-columns:1.45fr 1fr}.analytics-bottom-grid{grid-template-columns:.8fr 1.6fr 1fr}.audience-topline{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:8px}.audience-stat span{color:var(--text-muted);font-size:.9rem}.audience-stat strong{margin-top:4px;font-size:2rem;font-weight:600;display:block}.audience-chart-shell,.growth-chart-shell,.bar-chart-shell{position:relative}.audience-chart-shell{padding-top:8px}.chart-grid-lines,.growth-chart-grid,.bar-chart-grid{pointer-events:none;position:absolute;inset:0}.chart-grid-lines{background:linear-gradient(90deg,#0000 0 24%,#1b1b1b14 24% 24.4%,#0000 24.4% 49%,#1b1b1b14 49% 49.4%,#0000 49.4% 74%,#1b1b1b14 74% 74.4%,#0000 74.4%) 0 0/100% 100%,linear-gradient(0deg,#1b1b1b14 1px,#0000 1px) 0 0/100% 44px}.audience-chart,.growth-chart{width:100%;height:auto;display:block}.chart-x-labels{color:var(--text-muted);grid-template-columns:repeat(4,minmax(0,1fr));margin-top:8px;font-size:.82rem}.growth-chart-shell .chart-x-labels{grid-template-columns:repeat(6,minmax(0,1fr))}.legend-row{color:var(--text-muted);gap:18px;margin-bottom:8px;font-size:.9rem;display:flex}.legend-item{align-items:center;gap:8px;display:inline-flex}.legend-item:before{content:"";border-radius:3px;width:12px;height:12px}.legend-red:before{background:#ff3737}.legend-blue:before{background:#47a5ea}.bar-chart-shell{min-height:360px;padding:14px 0 0}.bar-chart-grid{background:linear-gradient(0deg,#1b1b1b14 1px,#0000 1px) 0 0/100% 88px}.bar-chart{z-index:1;grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:14px;height:360px;display:grid;position:relative}.bar-group{justify-items:center;gap:12px;display:grid}.bar-pair{align-items:end;gap:8px;height:320px;display:flex}.bar-new,.bar-old{border-radius:10px 10px 0 0;width:12px;display:block}.bar-new{background:#ff3737}.bar-old{background:#47a5ea}.bar-group label{color:var(--text-muted);font-size:.85rem}.spark-card-stack{grid-template-rows:repeat(3,minmax(0,1fr))}.spark-card{border-radius:var(--radius-lg);min-height:146px;color:var(--text-light);padding:22px;position:relative;overflow:hidden}.spark-card-dark{background:linear-gradient(135deg,#2c315a,#384673)}.spark-card-gold{color:#5d4500;background:linear-gradient(135deg,#f0bf44,#ffd866)}.spark-card-green{background:linear-gradient(135deg,#2f8e41,#4caf50)}.spark-card p,.spark-card strong,.spark-card span{margin:0}.spark-card strong{margin-top:18px;font-size:2.6rem;font-weight:500;display:block}.spark-card span{opacity:.9;margin-top:4px;display:block}.spark-line{border-bottom:4px solid #ffffff59;border-radius:999px;height:20px;position:absolute;bottom:18px;left:22px;right:22px}.spark-card-gold .spark-line{border-bottom-color:#2b93e8cc}.growth-chart-shell{min-height:350px}.growth-chart-grid{background:linear-gradient(90deg,#0000 0 14%,#1b1b1b12 14% 14.4%,#0000 14.4%) 0 0/72px 100%,linear-gradient(0deg,#1b1b1b14 1px,#0000 1px) 0 0/100% 42px}.device-chart-wrap{justify-items:center;gap:26px;display:grid}.device-donut{border-radius:50%;place-items:center;width:220px;height:220px;display:grid}.device-donut-inner{background:var(--bg-card);width:126px;height:126px;box-shadow:inset 0 0 0 1px var(--border-soft);border-radius:50%}.device-stats{width:100%}.device-stat-row{border-top:1px solid var(--border-soft);justify-content:space-between;align-items:center;gap:12px;padding-top:12px;display:flex}.device-label{color:var(--text-muted);align-items:center;gap:10px;display:inline-flex}.device-label i{border-radius:3px;width:12px;height:12px;display:inline-block}@media (width<=1100px){.analytics-summary-grid,.analytics-main-grid,.analytics-bottom-grid,.audience-topline{grid-template-columns:1fr}.spark-card-stack{grid-template-rows:none;grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=768px){.summary-hero,.spark-card{border-radius:18px;padding:18px}.summary-hero strong{font-size:2.2rem}.audience-stat strong{font-size:1.65rem}.audience-chart-shell,.growth-chart-shell,.bar-chart-shell{overflow-x:auto}.audience-chart,.growth-chart{min-width:540px}.bar-chart{min-width:520px}.device-donut{width:190px;height:190px}.device-donut-inner{width:106px;height:106px}}@media (width<=560px){.analytics-dashboard,.analytics-summary-grid,.analytics-main-grid,.analytics-bottom-grid,.spark-card-stack,.audience-topline,.chart-x-labels,.device-stats{gap:14px}.summary-hero-row,.legend-row,.device-stat-row{flex-wrap:wrap}.summary-hero strong{margin-top:12px;font-size:1.85rem}.spark-card strong{margin-top:12px;font-size:2.1rem}.spark-card-stack{grid-template-columns:1fr}.audience-chart,.growth-chart{min-width:480px}.bar-chart{gap:10px;min-width:480px}.bar-pair{gap:6px}.bar-new,.bar-old{width:10px}.device-chart-wrap{gap:18px}}.dashboard-header-bar{background:var(--bg-surface,#fff);border-radius:var(--radius-lg,16px);box-shadow:var(--shadow-soft,0 4px 18px #0000000d);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:18px 24px;display:flex}.dashboard-header-left h2{color:var(--text-dark,#1e293b);align-items:center;gap:10px;margin:0;font-size:1.5rem;font-weight:700;display:flex}.dashboard-header-left p{color:var(--text-muted,#64748b);margin:4px 0 0;font-size:.88rem}.dashboard-header-actions{align-items:center;gap:14px;display:flex}.last-sync-badge{color:#64748b;background:#f1f5f9;border-radius:20px;align-items:center;gap:6px;padding:6px 12px;font-size:.8rem;display:inline-flex}.pulse-dot{background:#10b981;border-radius:50%;width:8px;height:8px;animation:2s infinite pulse-ring;box-shadow:0 0 0 2px #10b98140}@keyframes pulse-ring{0%{transform:scale(.95);box-shadow:0 0 #10b981b3}70%{transform:scale(1);box-shadow:0 0 0 6px #10b98100}to{transform:scale(.95);box-shadow:0 0 #10b98100}}.sync-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;border-radius:10px;align-items:center;gap:8px;padding:9px 18px;font-size:.9rem;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 4px 12px #2563eb40}.sync-btn:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8,#1e40af);transform:translateY(-1px);box-shadow:0 6px 16px #2563eb59}.sync-btn:disabled{opacity:.7;cursor:not-allowed}.spinning{animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.platform-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px;display:grid}.kpi-metric-card{border-radius:var(--radius-lg,16px);color:#fff;flex-direction:column;justify-content:space-between;min-height:180px;padding:22px;transition:transform .2s,box-shadow .2s;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 24px #00000014}.kpi-metric-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #0000001f}.kpi-metric-card-purple{background:linear-gradient(135deg,#6366f1,#818cf8)}.kpi-metric-card-amber{background:linear-gradient(135deg,#f59e0b,#fbbf24)}.kpi-metric-card-emerald{background:linear-gradient(135deg,#059669,#10b981)}.kpi-metric-card-blue{background:linear-gradient(135deg,#0284c7,#38bdf8)}.kpi-metric-card-header{justify-content:space-between;align-items:flex-start;display:flex}.kpi-metric-card-header h3{letter-spacing:.02em;opacity:.95;margin:0;font-size:.95rem;font-weight:600}.kpi-icon-bubble{background:#ffffff38;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;display:flex}.kpi-main-number{letter-spacing:-.02em;margin:12px 0 16px;font-size:clamp(2.2rem,2.8vw,3.2rem);font-weight:800;line-height:1.1}.kpi-sub-chips{flex-wrap:wrap;gap:6px;display:flex}.kpi-pill{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffff38;border-radius:12px;align-items:center;gap:4px;padding:4px 10px;font-size:.76rem;font-weight:600;display:inline-flex}.stats-history-table-shell{border:1px solid #e2e8f0;border-radius:12px;margin-top:14px;overflow-x:auto}.stats-history-table{border-collapse:collapse;text-align:left;width:100%;font-size:.88rem}.stats-history-table th{color:#475569;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:12px 16px;font-weight:600}.stats-history-table td{color:#334155;white-space:nowrap;border-bottom:1px solid #f1f5f9;padding:14px 16px}.stats-history-table tr:hover td{background:#f8fafc}.status-badge{border-radius:6px;padding:3px 8px;font-size:.75rem;font-weight:600;display:inline-block}.status-badge-green{color:#15803d;background:#dcfce7}.status-badge-blue{color:#0369a1;background:#e0f2fe}.status-badge-amber{color:#b45309;background:#fef3c7}.status-badge-purple{color:#6d28d9;background:#ede9fe}@media (width<=1200px){.platform-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=768px){.dashboard-header-bar{border-radius:14px;margin-bottom:16px;padding:16px 14px}.dashboard-header-left h2{font-size:1.25rem}.audience-topline{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))!important}.kpi-main-number{margin:8px 0 12px;font-size:2.2rem}.stats-history-table-shell{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}}@media (width<=640px){.platform-kpi-grid{grid-template-columns:1fr;gap:12px}.dashboard-header-bar{flex-direction:column;align-items:flex-start;gap:12px}.dashboard-header-actions{justify-content:space-between;width:100%;display:flex}.audience-topline{grid-template-columns:1fr 1fr!important}}.medicines-hub-wrapper{max-width:1440px;color:var(--text-main,#1f2937);box-sizing:border-box;min-height:100vh;margin:0 auto;padding:24px 32px 64px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.hub-hero-banner{background:linear-gradient(135deg,#e8f5e9 0%,#f1f8f3 48%,#e0f2f1 100%);border:1px solid #2e7d3233;border-radius:22px;margin-bottom:24px;padding:28px 34px;position:relative;overflow:hidden;box-shadow:0 4px 20px #2e7d320f}.hub-hero-banner:before{content:"";pointer-events:none;background:radial-gradient(circle,#4ade8038 0%,#0000 70%);border-radius:50%;width:260px;height:260px;position:absolute;top:-80px;left:20%}.hub-hero-content{z-index:2;justify-content:space-between;align-items:center;gap:24px;display:flex;position:relative}.hub-hero-left-col{flex:1;max-width:680px}.hub-badge-pill{color:#166534;text-transform:uppercase;letter-spacing:.07em;background:#dcfce7e6;border:1px solid #22c55e59;border-radius:20px;align-items:center;gap:6px;margin-bottom:10px;padding:5px 12px;font-size:11px;font-weight:800;display:inline-flex}.hub-title-row{flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 8px;display:flex}.hub-title-row h1{letter-spacing:-.025em;color:#111827;flex-wrap:wrap;align-items:center;gap:12px;margin:0;font-size:32px;font-weight:800;display:flex}.hub-title-row h1 .highlight-text{color:#15803d}.hub-count-pill{color:#fff;letter-spacing:0;background:#15803d;border-radius:12px;align-items:center;padding:4px 11px;font-size:12px;font-weight:700;display:inline-flex;box-shadow:0 2px 8px #15803d47}.hub-subtitle{color:#4b5563;max-width:620px;margin:0 0 20px;font-size:14px;line-height:1.55}.hub-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.btn-premium-primary{color:#fff;cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#14532d 0%,#166534 100%);border:1px solid #ffffff26;border-radius:12px;align-items:center;gap:8px;padding:10px 22px;font-size:14px;font-weight:700;transition:all .2s cubic-bezier(.16,1,.3,1);display:inline-flex;box-shadow:0 4px 14px #14532d59}.btn-premium-primary:hover{background:linear-gradient(135deg,#166534 0%,#15803d 100%);transform:translateY(-2px);box-shadow:0 6px 20px #14532d73}.btn-premium-secondary{color:#374151;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d1d5db;border-radius:12px;align-items:center;gap:8px;padding:10px 18px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 2px 6px #00000008}.btn-premium-secondary:hover{color:#15803d;background:#f9fafb;border-color:#15803d;transform:translateY(-1px)}.btn-icon-square{color:#4b5563;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;transition:all .2s;display:inline-flex;box-shadow:0 2px 6px #00000008}.btn-icon-square:hover{color:#15803d;background:#f9fafb;border-color:#15803d;transform:translateY(-1px)}.hub-hero-right-col{justify-content:flex-end;align-items:center;min-width:380px;height:170px;display:flex;position:relative}.hub-hero-bg-image{object-fit:cover;pointer-events:none;opacity:.92;border-radius:0 20px 20px 0;width:360px;height:calc(100% + 48px);position:absolute;top:-24px;bottom:-24px;right:-24px;-webkit-mask-image:linear-gradient(90deg,#0000 0%,#0006 22%,#000 65%);mask-image:linear-gradient(90deg,#0000 0%,#0006 22%,#000 65%)}.hub-hero-counter-circle{-webkit-backdrop-filter:blur(10px);text-align:center;z-index:3;background:#ffffffe0;border:3px solid #fffffff2;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:106px;height:106px;margin-right:220px;animation:4s ease-in-out infinite floatCircle;display:flex;position:relative;box-shadow:0 8px 24px #00000014}@keyframes floatCircle{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.hub-hero-counter-num{color:#111827;font-size:26px;font-weight:800;line-height:1}.hub-hero-counter-text{color:#4b5563;margin-top:3px;font-size:11px;font-weight:700;line-height:1.15}.hub-stats-grid{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px;display:grid}.hub-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;align-items:center;gap:16px;padding:16px 20px;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;box-shadow:0 2px 8px #00000005}.hub-stat-card:hover{border-color:#22c55e66;transform:translateY(-2px);box-shadow:0 8px 20px #0000000f}.hub-stat-icon{border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;transition:transform .2s;display:flex}.hub-stat-card:hover .hub-stat-icon{transform:scale(1.08)}.stat-icon-blue{color:#1d4ed8;background:#dbeafe}.stat-icon-amber{color:#b45309;background:#fef3c7}.metric-content-col{flex-direction:column;min-width:0;display:flex}.metric-value-row{align-items:center;gap:8px;display:flex}.metric-num{color:#111827;letter-spacing:-.02em;font-size:24px;font-weight:800;line-height:1.1}.metric-pulse-dot{background-color:#10b981;border-radius:50%;width:8px;height:8px;animation:2s ease-in-out infinite metricPulse;box-shadow:0 0 0 3px #10b98140}@keyframes metricPulse{0%{transform:scale(.95);box-shadow:0 0 #10b98199}70%{transform:scale(1);box-shadow:0 0 0 6px #10b98100}to{transform:scale(.95);box-shadow:0 0 #10b98100}}.metric-label{text-transform:uppercase;letter-spacing:.05em;color:#6b7280;white-space:nowrap;text-overflow:ellipsis;margin-top:4px;font-size:11px;font-weight:700;overflow:hidden}.metric-subhint{color:#9ca3af;white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:12px;overflow:hidden}.category-cards-container{scrollbar-width:none;-webkit-overflow-scrolling:touch;align-items:stretch;gap:12px;margin-bottom:20px;padding:4px 2px 14px;display:flex;overflow-x:auto}.category-cards-container::-webkit-scrollbar{display:none}.category-card-item{cursor:pointer;-webkit-user-select:none;user-select:none;text-align:center;background:#fff;border:1.5px solid #e5e7eb;border-radius:14px;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;min-width:125px;padding:14px 10px 12px;transition:all .2s cubic-bezier(.16,1,.3,1);display:flex;box-shadow:0 2px 6px #00000005}.category-card-item:hover{border-color:#86efac;transform:translateY(-2px);box-shadow:0 6px 14px #16a34a1a}.category-card-item.active{transform:translateY(-2px);box-shadow:0 4px 16px #16a34a29;background:#f0fdf4!important;border:2px solid #16a34a!important}.category-card-icon-circle{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;margin:0 auto 10px;transition:transform .2s;display:flex}.category-card-item:hover .category-card-icon-circle,.category-card-item.active .category-card-icon-circle{transform:scale(1.1)}.category-card-label{color:#374151;text-align:center;justify-content:center;align-items:center;min-height:32px;font-size:13px;font-weight:600;line-height:1.25;transition:color .15s;display:flex}.category-card-item.active .category-card-label{color:#15803d;font-weight:700}.hub-filters-bar{background:#fff;border:1px solid #e5e7eb;border-radius:16px;flex-direction:column;gap:12px;margin-bottom:24px;padding:14px 18px;display:flex;box-shadow:0 2px 8px #00000005}.search-bar-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.hub-search-box{flex:1;min-width:280px;position:relative}.hub-search-icon{color:#9ca3af;pointer-events:none;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.hub-search-input{color:#111827;box-sizing:border-box;background:#f9fafb;border:1.5px solid #e5e7eb;border-radius:12px;outline:none;width:100%;padding:11px 40px 11px 42px;font-size:14px;font-weight:500;transition:all .2s}.hub-search-input:focus{background:#fff;border-color:#15803d;box-shadow:0 0 0 3px #16a34a1f}.hero-search-clear{color:#4b5563;cursor:pointer;background:#e5e7eb;border:none;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;transition:all .15s;display:flex;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.hero-search-clear:hover{color:#111827;background:#d1d5db}.filter-dropdowns-group{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.premium-select-filter{color:#1f2937;cursor:pointer;background:#f9fafb;border:1.5px solid #e5e7eb;border-radius:12px;outline:none;min-width:130px;padding:10px 14px;font-size:13px;font-weight:600;transition:all .2s}.premium-select-filter:focus{background:#fff;border-color:#15803d}.view-mode-toggle{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:3px;padding:3px;display:flex}.view-mode-btn{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:7px 10px;transition:all .15s;display:flex}.view-mode-btn:hover{color:#111827}.view-mode-btn.active{color:#fff;background:#14532d;box-shadow:0 2px 6px #14532d4d}.search-active-pill{color:#15803d;background:#f0fdf4;border:1px dashed #86efac;border-radius:10px;justify-content:space-between;align-items:center;padding:6px 14px;font-size:12px;font-weight:600;display:flex}.search-pill-clear{color:#15803d;cursor:pointer;background:0 0;border:none;align-items:center;padding:2px;display:flex}.medicines-list-container{flex-direction:column;gap:16px;display:flex}.product-list-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;align-items:center;gap:20px;padding:18px 22px;transition:transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s,border-color .2s;display:flex;position:relative;box-shadow:0 2px 8px #00000005}.product-list-card:hover{border-color:#86efac;transform:translateY(-2px);box-shadow:0 8px 24px #0000000f}.product-list-thumb-box{cursor:pointer;background:#dcfce7;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:140px;height:115px;transition:transform .2s;display:flex;overflow:hidden}.product-list-card:hover .product-list-thumb-box{transform:scale(1.02)}.product-list-img{object-fit:contain;max-width:90%;max-height:90%}.product-img-fallback{color:#15803d;justify-content:center;align-items:center;width:100%;height:100%;display:flex}.product-list-main-col{flex-direction:column;flex:1.2;gap:4px;min-width:220px;display:flex}.badge-status-pill{letter-spacing:.05em;text-transform:uppercase;border-radius:6px;align-items:center;gap:4px;width:fit-content;padding:3px 8px;font-size:11px;font-weight:800;display:inline-flex}.badge-status-pill.normal,.badge-status-pill.active{color:#15803d;background:#dcfce7}.badge-status-pill.inactive{color:#6b7280;background:#f3f4f6}.product-list-title{color:#111827;cursor:pointer;margin:0;font-size:19px;font-weight:800;line-height:1.25}.product-list-title:hover{color:#15803d}.product-list-desc{color:#6b7280;-webkit-line-clamp:1;-webkit-box-orient:vertical;margin:0 0 6px;font-size:13px;line-height:1.4;display:-webkit-box;overflow:hidden}.product-list-tags-row{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.badge-category-purple{color:#7e22ce;background:#f3e8ff;border-radius:6px;align-items:center;gap:5px;padding:3px 9px;font-size:12px;font-weight:600;display:inline-flex}.badge-warehouse-mint{color:#065f46;background:#d1fae5;border-radius:6px;align-items:center;gap:5px;padding:3px 9px;font-size:12px;font-weight:600;display:inline-flex}.product-list-price-block{flex-wrap:wrap;align-items:baseline;gap:8px;margin-top:2px;display:flex}.selling-price-large{color:#15803d;letter-spacing:-.02em;font-size:19px;font-weight:800}.mrp-price-strike{color:#9ca3af;font-size:13px;text-decoration:line-through}.savings-tag{color:#15803d;background:#dcfce7;border-radius:6px;padding:2px 7px;font-size:11px;font-weight:700}.shop-payout-pill{color:#4b5563;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;padding:2px 8px;font-size:11px;font-weight:600}.product-list-specs-col{border-left:1px solid #f3f4f6;grid-template-columns:auto 1fr;gap:8px 16px;min-width:250px;padding-left:20px;font-size:13px;display:grid}.spec-label{color:#6b7280;font-weight:500}.spec-value{color:#111827;align-items:center;gap:6px;font-weight:600;display:inline-flex}.availability-active-dot{background-color:#15803d;border-radius:50%;width:8px;height:8px;display:inline-block}.availability-inactive-dot{background-color:#9ca3af;border-radius:50%;width:8px;height:8px;display:inline-block}.product-list-actions-col{flex-shrink:0;align-items:center;gap:8px;display:flex;position:relative}.btn-view-details{color:#374151;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d1d5db;border-radius:10px;align-items:center;gap:6px;padding:9px 15px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex}.btn-view-details:hover{color:#15803d;background:#f9fafb;border-color:#15803d}.btn-edit-product{color:#fff;cursor:pointer;white-space:nowrap;background:#15803d;border:none;border-radius:10px;align-items:center;gap:6px;padding:9px 16px;font-size:13px;font-weight:600;transition:all .15s;display:inline-flex;box-shadow:0 2px 6px #15803d40}.btn-edit-product:hover{background:#166534;transform:translateY(-1px)}.btn-more-dots{color:#6b7280;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;transition:all .15s;display:inline-flex}.btn-more-dots:hover{color:#111827;background:#f9fafb;border-color:#d1d5db}.product-dots-dropdown{z-index:50;background:#fff;border:1px solid #e5e7eb;border-radius:12px;min-width:170px;padding:6px;animation:.15s fadeIn;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 10px 25px #0000001a}.dropdown-action-item{color:#374151;cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:8px;width:100%;padding:8px 12px;font-size:13px;font-weight:500;transition:all .15s;display:flex}.dropdown-action-item:hover{color:#111827;background:#f3f4f6}.dropdown-action-item.danger{color:#dc2626}.dropdown-action-item.danger:hover{color:#b91c1c;background:#fef2f2}.medicines-cards-grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:20px;display:grid}.product-grid-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;flex-direction:column;transition:transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s,border-color .2s;display:flex;position:relative;overflow:hidden;box-shadow:0 2px 8px #00000005}.product-grid-card:hover{border-color:#86efac;transform:translateY(-3px);box-shadow:0 10px 26px #00000014}.product-grid-thumb-box{cursor:pointer;background:#dcfce7;justify-content:center;align-items:center;width:100%;height:170px;display:flex;position:relative;overflow:hidden}.product-grid-img{object-fit:contain;max-width:80%;max-height:80%;transition:transform .3s}.product-grid-card:hover .product-grid-img{transform:scale(1.06)}.product-grid-body{flex-direction:column;flex:1;padding:16px 18px;display:flex}.product-grid-footer{background:#f9fafb;border-top:1px solid #f3f4f6;justify-content:space-between;align-items:center;gap:8px;padding:12px 18px;display:flex}.hub-table-wrapper{background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow-x:auto;box-shadow:0 2px 10px #00000005}.hub-data-table{border-collapse:collapse;text-align:left;width:100%}.hub-data-table thead tr{background:#f9fafb;border-bottom:2px solid #e5e7eb}.hub-data-table th{text-transform:uppercase;letter-spacing:.05em;color:#6b7280;padding:14px 18px;font-size:12px;font-weight:700}.hub-data-table tbody tr{border-bottom:1px solid #f3f4f6;transition:background-color .15s}.hub-data-table tbody tr:hover{background-color:#f0fdf4}.hub-data-table td{vertical-align:middle;padding:14px 18px;font-size:14px}.table-product-cell{align-items:center;gap:14px;display:flex}.table-thumb-box{background:#dcfce7;border:1px solid #bbf7d0;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex;overflow:hidden}.table-thumb-box img{object-fit:contain;max-width:90%;max-height:90%}.table-title-bold{color:#111827;margin:0;font-size:14px;font-weight:700;line-height:1.3}.table-category-pill{color:#15803d;background:#dcfce7;border-radius:6px;padding:2px 8px;font-size:11px;font-weight:700;display:inline-block}.hub-tabs-container{border-bottom:2px solid #e5e7eb;gap:8px;margin-bottom:18px;padding-bottom:2px;display:flex}.hub-tab-btn{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:10px 10px 0 0;align-items:center;gap:8px;padding:10px 18px;font-size:14px;font-weight:700;transition:all .2s;display:flex;position:relative}.hub-tab-btn:hover{color:#15803d;background:#16a34a0d}.hub-tab-btn.active{color:#15803d;font-weight:800}.hub-tab-btn.active:after{content:"";background:#15803d;border-radius:4px;height:3px;position:absolute;bottom:-2px;left:0;right:0}.quick-status-toggle{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;display:flex}.toggle-switch-track{background:#cbd5e1;border-radius:12px;width:36px;height:20px;transition:background-color .2s;position:relative}.toggle-switch-track.active{background:#15803d}.toggle-switch-thumb{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .2s cubic-bezier(.16,1,.3,1);position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #00000040}.toggle-switch-track.active .toggle-switch-thumb{transform:translate(16px)}.toggle-status-text{color:#6b7280;font-size:12px;font-weight:700}.toggle-status-text.active{color:#15803d}.hub-modal-overlay{-webkit-backdrop-filter:blur(5px);z-index:9999;background:#0000008c;justify-content:center;align-items:center;padding:16px;animation:.2s modalFadeIn;display:flex;position:fixed;inset:0}@keyframes modalFadeIn{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.hub-modal-container{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:20px;flex-direction:column;width:100%;max-width:650px;max-height:90vh;animation:.25s cubic-bezier(.16,1,.3,1) modalSlideUp;display:flex;overflow:hidden;box-shadow:0 20px 45px #0000002e}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(18px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.hub-modal-header{background:#f9fafb;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:18px 24px;display:flex}.hub-modal-header h3{color:#111827;align-items:center;gap:10px;margin:0;font-size:18px;font-weight:800;display:flex}.hub-modal-close-btn{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:6px;transition:all .15s;display:flex}.hub-modal-close-btn:hover{color:#111827;background:#e5e7eb}.hub-modal-form{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.hub-modal-body{box-sizing:border-box;flex-direction:column;flex:1;gap:16px;min-height:0;padding:22px 24px;display:flex;overflow-y:auto}.hub-modal-footer{background:#f9fafb;border-top:1px solid #e5e7eb;flex-shrink:0;justify-content:flex-end;align-items:center;gap:12px;padding:14px 24px;display:flex}.form-grid-two-cols{grid-template-columns:1fr 1fr;gap:14px;display:grid}.pricing-calculator-section{background:#f9fafb;border:1.5px solid #e5e7eb;border-radius:14px;flex-direction:column;gap:12px;padding:16px;display:flex}.pricing-mode-container{border-bottom:1px dashed #e5e7eb;flex-wrap:wrap;gap:16px;padding-bottom:10px;display:flex}.pricing-radio-label{cursor:pointer;color:#374151;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.pricing-radio-label input[type=radio]{accent-color:#15803d;cursor:pointer;width:16px;height:16px}.pricing-breakdown-card{background:#fff;border:1.5px solid #22c55e;border-radius:12px;flex-direction:column;gap:8px;padding:14px 16px;display:flex;box-shadow:0 4px 14px #22c55e14}.breakdown-card-header{text-transform:uppercase;letter-spacing:.06em;color:#15803d;justify-content:space-between;align-items:center;font-size:11px;font-weight:700;display:flex}.breakdown-line-item{color:#6b7280;justify-content:space-between;align-items:center;font-size:13px;display:flex}.breakdown-line-item strong{color:#111827;font-weight:700}.breakdown-total-item{color:#15803d;border-top:1.5px dashed #bbf7d0;justify-content:space-between;align-items:center;margin-top:4px;padding-top:8px;font-size:15px;font-weight:800;display:flex}.breakdown-savings-badge{color:#c2410c;background:#ffedd5;border:1px solid #fed7aa;border-radius:8px;align-items:center;gap:6px;width:fit-content;margin-top:4px;padding:3px 10px;font-size:11px;font-weight:700;display:inline-flex}.config-preview-box{background:#f8fafc;border:1px dashed #94a3b8;border-radius:10px;flex-direction:column;gap:6px;margin-top:8px;padding:12px 14px;font-size:12px;display:flex}.quickview-grid{grid-template-columns:240px 1fr;gap:20px;display:grid}.quickview-image-frame{background:#dcfce7;border:1px solid #bbf7d0;border-radius:14px;justify-content:center;align-items:center;width:100%;height:240px;display:flex;overflow:hidden}.quickview-image-frame img{object-fit:contain;max-width:90%;max-height:90%}.quickview-details-col{flex-direction:column;gap:10px;display:flex}.quickview-pill-row{align-items:center;gap:8px;display:flex}.quickview-shop-info{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:10px 14px;font-size:12px}.hub-empty-state{text-align:center;background:#fff;border:1.5px dashed #e5e7eb;border-radius:20px;padding:56px 20px;box-shadow:0 2px 8px #00000005}.hub-empty-icon-circle{color:#15803d;background:#dcfce7;border-radius:50%;justify-content:center;align-items:center;width:68px;height:68px;margin:0 auto 16px;display:flex}.hub-empty-title{color:#111827;margin:0 0 8px;font-size:19px;font-weight:800}.hub-empty-desc{color:#6b7280;max-width:440px;margin:0 auto 20px;font-size:13px;line-height:1.5}.skeleton-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;height:120px;position:relative;overflow:hidden}.skeleton-shimmer{background:linear-gradient(90deg,#f3f4f6 25%,#e5e7eb 50%,#f3f4f6 75%) 0 0/200% 100%;width:100%;height:100%;animation:1.5s infinite shimmer}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}mark.search-highlight{color:#854d0e;background:#fef08a;border-radius:3px;padding:0 3px;font-weight:700}@media (width<=1080px){.medicines-hub-wrapper{padding:20px 20px 48px}.hub-hero-counter-circle{margin-right:180px}.hub-hero-bg-image{width:280px}.product-list-card{gap:16px;padding:16px 18px}.product-list-specs-col{column-gap:10px;min-width:200px;padding-left:14px}}@media (width<=900px){.hub-hero-counter-circle{display:none}.hub-hero-bg-image{opacity:.35;width:220px}.hub-stats-grid{grid-template-columns:repeat(2,1fr);gap:12px}.product-list-card{flex-wrap:wrap}.product-list-specs-col{border-top:1px solid #f3f4f6;border-left:none;grid-template-columns:1fr 1fr;width:100%;min-width:0;padding-top:12px;padding-left:0}.product-list-actions-col{border-top:1px dashed #f3f4f6;justify-content:flex-end;width:100%;padding-top:10px}}@media (width<=768px){.medicines-hub-wrapper{max-width:100vw;padding:12px 10px 48px;overflow-x:hidden}.hub-hero-banner{border-radius:18px;margin-bottom:16px;padding:18px 16px}.hub-hero-bg-image,.hub-hero-right-col{display:none}.hub-hero-left-col{max-width:100%}.hub-title-row h1{font-size:24px}.hub-subtitle{margin-bottom:16px;font-size:13px}.hub-header-actions{flex-direction:column;gap:8px;width:100%;display:flex}.hub-header-actions button{justify-content:center;width:100%;min-height:42px}.hub-stats-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:16px}.hub-stat-card{border-radius:14px;gap:10px;padding:12px 14px}.hub-stat-icon{border-radius:10px;width:40px;height:40px}.metric-num{font-size:20px}.metric-label{font-size:10px}.metric-subhint{display:none}.category-cards-container{gap:10px;margin-bottom:16px;padding:2px 0 10px}.category-card-item{border-radius:12px;min-width:110px;max-width:120px;padding:12px 8px 10px}.category-card-icon-circle{width:40px;height:40px;margin-bottom:8px}.category-card-label{min-height:28px;font-size:12px}.hub-filters-bar{border-radius:14px;margin-bottom:16px;padding:12px 14px}.search-bar-row{flex-direction:column;align-items:stretch;gap:10px}.hub-search-box{width:100%;min-width:0}.filter-dropdowns-group{grid-template-columns:1fr 1fr;gap:8px;width:100%;display:grid}.premium-select-filter{width:100%;min-width:0;padding:9px 10px;font-size:12px}.view-mode-toggle{grid-column:span 2;justify-content:center}.product-list-card{border-radius:16px;flex-direction:column;align-items:stretch;gap:14px;padding:16px 14px}.product-list-top-row-mobile{align-items:center;gap:14px;display:flex}.product-list-thumb-box{border-radius:12px;width:90px;height:90px}.product-list-title{font-size:17px}.product-list-specs-col{background:#f9fafb;border:none;border-radius:10px;grid-template-columns:1fr 1fr;gap:8px;padding:12px;font-size:12px}.product-list-actions-col{border-top:none;align-items:center;gap:8px;width:100%;padding-top:4px;display:flex}.btn-view-details,.btn-edit-product{flex:1;justify-content:center;min-height:40px}.quickview-grid{grid-template-columns:1fr;gap:14px}.quickview-image-frame{height:180px}.form-grid-two-cols{grid-template-columns:1fr;gap:12px}.hub-modal-container{border-radius:16px;max-height:92vh}.hub-modal-header{padding:14px 18px}.hub-modal-body{padding:16px 18px}.hub-modal-footer{padding:12px 18px}}@media (width<=440px){.hub-stats-grid{grid-template-columns:1fr 1fr;gap:8px}.filter-dropdowns-group,.product-list-specs-col{grid-template-columns:1fr}}.variant-section-card{background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:14px;margin-top:4px;padding:16px;display:flex}.variant-toggle-box{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:16px;padding-bottom:12px;display:flex}.variant-item-card{background:#fff;border:1.5px solid #cbd5e1;border-radius:12px;flex-direction:column;gap:10px;padding:14px;transition:border-color .15s,box-shadow .15s;display:flex}.variant-item-card.is-default{background:#fcfdfc;border-color:#22c55e;box-shadow:0 2px 8px #22c55e14}.variant-item-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.variant-number-badge{color:#475569;background:#f1f5f9;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:11px;font-weight:700;display:inline-flex}.badge-default-variant{color:#15803d;background:#dcfce7;border:1px solid #86efac;border-radius:12px;align-items:center;gap:4px;padding:2px 8px;font-size:11px;font-weight:700;display:inline-flex}.btn-set-default{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;padding:4px 10px;font-size:11px;font-weight:600;transition:all .15s}.btn-set-default:hover{color:#1e293b;background:#e2e8f0}.btn-remove-variant{cursor:pointer;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;justify-content:center;align-items:center;width:28px;height:28px;transition:all .15s;display:inline-flex}.btn-remove-variant:hover{background:#fee2e2;border-color:#fca5a5}.variant-form-grid{grid-template-columns:2fr 1fr 1.2fr 1.2fr 1.2fr 1fr;gap:10px;display:grid}@media (width<=900px){.variant-form-grid{grid-template-columns:1fr 1fr}}@media (width<=500px){.variant-form-grid{grid-template-columns:1fr}}.variant-field-label{color:#475569;margin-bottom:4px;font-size:11px;font-weight:700;display:block}.variant-input,.variant-select{color:#1e293b;box-sizing:border-box;background:#fff;border:1.5px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:7px 10px;font-size:13px;transition:border-color .15s}.variant-input:focus,.variant-select:focus{border-color:#15803d}.variant-pricing-summary{color:#166534;background:#f1f8f4;border:1px dashed #86efac;border-radius:8px;padding:8px 12px;font-size:12px}.btn-add-variant{color:#15803d;cursor:pointer;background:#fff;border:1.5px dashed #15803d;border-radius:10px;justify-content:center;align-items:center;gap:6px;width:100%;padding:10px 16px;font-size:13px;font-weight:700;transition:all .15s;display:inline-flex}.btn-add-variant:hover{background:#f0fdf4;border-color:#166534}.badge-variant-pill{color:#4338ca;background:#eef2ff;border:1px solid #c7d2fe;border-radius:10px;align-items:center;gap:4px;padding:2px 8px;font-size:11px;font-weight:700;display:inline-flex}.badge-stock-pill{color:#166534;white-space:nowrap;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;align-items:center;gap:4px;padding:3px 8px;font-size:12px;font-weight:700;display:inline-flex}.badge-stock-pill.low{color:#b45309;background:#fffbeb;border-color:#fde68a}.badge-stock-pill.out{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.quickview-variants-table{border-collapse:collapse;width:100%;margin-top:8px;font-size:12px}.quickview-variants-table th{text-align:left;color:#475569;background:#f8fafc;border-bottom:1.5px solid #e2e8f0;padding:8px 10px;font-size:11px;font-weight:700}.quickview-variants-table td{color:#1e293b;border-bottom:1px solid #f1f5f9;padding:8px 10px}.orders-wrapper{background-color:#f8fafc;min-height:100vh;padding:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.search-bar-container{gap:12px;margin-bottom:24px;display:flex}.main-search-input{border:1px solid var(--border-soft);background-color:var(--bg-card);border-radius:8px;outline:none;flex:1;padding:12px 16px;font-size:14px}.main-search-input::placeholder{color:var(--text-muted)}.main-search-btn{background-color:var(--primary);color:#fff;cursor:pointer;border:none;border-radius:8px;padding:0 32px;font-weight:600;transition:background-color .2s}.main-search-btn:hover{background-color:var(--primary-light)}.filters-row{flex-wrap:wrap;gap:16px;margin-bottom:32px;display:flex}.filter-group{flex-direction:column;gap:6px;display:flex}.filter-group label{color:var(--text-muted);font-size:12px}.filter-group input,.filter-group select{color:var(--text-main);background-color:#dcedc8;border:1px solid #0000;border-radius:20px;outline:none;min-width:130px;padding:8px 16px;font-size:13px}.filter-group input:focus,.filter-group select:focus{border-color:var(--primary)}.filter-group input::placeholder{color:var(--text-muted)}.orders-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:24px;display:grid}.no-orders{text-align:center;color:var(--text-muted);grid-column:1/-1;padding:40px}.order-card{background-color:var(--bg-card);border-radius:12px;flex-direction:column;gap:16px;padding:20px;display:flex;box-shadow:0 4px 12px #0000000d}.order-header{justify-content:space-between;align-items:center;display:flex}.order-id{color:var(--text-main);font-size:14px;font-weight:700}.order-status-amount{align-items:center;gap:8px;display:flex}.status-badge{color:#fff;text-transform:uppercase;border-radius:12px;padding:4px 10px;font-size:10px;font-weight:700}.status-pending{background-color:var(--warning)}.status-delivered{background-color:var(--success)}.status-cancelled{background-color:var(--error)}.order-amount{color:var(--error);font-size:15px;font-weight:700}.order-subheader{color:var(--text-muted);justify-content:space-between;font-size:13px;display:flex}.order-contact-row{justify-content:space-between;align-items:center;font-size:13px;display:flex}.contact-info{color:var(--text-muted);align-items:center;gap:6px;display:flex}.phone-icon{color:#e84393}.distance-badge{background-color:var(--warning);color:#fff;border-radius:12px;align-items:center;gap:4px;padding:4px 10px;font-size:11px;font-weight:600;display:flex}.shop-name-label{color:var(--text-main);font-size:14px}.items-section{flex-direction:column;gap:8px;display:flex}.items-title{color:var(--text-main);font-size:14px;font-weight:700}.items-list{flex-direction:column;gap:6px;display:flex}.item-row{color:var(--text-main);justify-content:space-between;font-size:13px;display:flex}.item-prices{gap:6px;font-weight:600;display:flex}.strike-price{color:var(--text-muted);text-decoration:line-through}.current-price{color:var(--text-main)}.more-items{color:var(--primary);cursor:pointer;font-size:12px}.address-block{color:var(--text-muted);background-color:#fdf5e6;border-radius:8px;justify-content:space-between;align-items:center;padding:10px 12px;font-size:12px;display:flex}.address-text{white-space:nowrap;text-overflow:ellipsis;max-width:85%;overflow:hidden}.nav-btn{background-color:var(--primary);color:#fff;cursor:pointer;border:none;border-radius:4px;justify-content:center;align-items:center;width:24px;height:24px;display:flex}.orders-page-title{background-color:var(--primary);color:#fff;border-radius:8px;margin:0;padding:8px 16px;font-size:18px;font-weight:700;display:inline-block}@media (width<=768px){.orders-wrapper{padding:16px}.filters-row{flex-direction:column;gap:12px}.filter-group input,.filter-group select{box-sizing:border-box;width:100%}.orders-grid{grid-template-columns:1fr}.search-bar-container{flex-direction:row}.main-search-input{width:100%}.main-search-btn{padding:0 20px}}.card-actions{flex-wrap:wrap;gap:12px;margin-top:auto;display:flex}.card-actions button{cursor:pointer;color:#fff;border:none;border-radius:20px;padding:8px 16px;font-size:13px;font-weight:600;transition:opacity .2s,transform .15s}.card-actions button:hover{opacity:.9;transform:translateY(-1px)}.btn-view{background-color:#f1f5f9;color:#475569!important}.btn-confirm{background-color:#2ecc71}.btn-cancel{background-color:#e74c3c}.nav-btn{color:#fff!important;cursor:pointer!important;background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%)!important;border:none!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;padding:8px 10px!important;transition:transform .2s,box-shadow .2s!important;display:flex!important}.nav-btn:hover{transform:scale(1.05);box-shadow:0 4px 10px #2563eb59}.order-cancelled-tag{color:#991b1b;background:#fee2e2;border:1px solid #fecaca;border-radius:8px;align-items:center;gap:6px;margin-top:8px;padding:6px 12px;font-size:12px;font-weight:500;display:flex}.destination-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:99999;background:#0f172a99;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.destination-modal-card{background:var(--bg-card);border-radius:16px;width:100%;max-width:480px;animation:.2s ease-out modalFadeIn;overflow:hidden;box-shadow:0 25px 50px -12px #00000040}.destination-modal-header{border-bottom:1px solid var(--border-soft);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.destination-modal-body{flex-direction:column;gap:14px;padding:20px;display:flex}.destination-modal-footer{border-top:1px solid var(--border-soft);background:var(--bg-soft);justify-content:flex-end;gap:10px;padding:14px 20px;display:flex}@media (width<=768px){.orders-wrapper{background-color:#0000;min-height:auto;padding:14px 10px 48px}.header-row{margin-bottom:16px!important}.orders-page-title{font-size:22px}.search-bar-container{flex-direction:column;gap:8px;margin-bottom:16px}.main-search-input{box-sizing:border-box;width:100%;padding:11px 14px;font-size:14px}.main-search-btn{width:100%;height:42px;padding:0 16px}.filters-row{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin-bottom:20px;display:grid}.filter-group{width:100%}.filter-group input,.filter-group select{box-sizing:border-box;width:100%;min-width:0;padding:8px 12px}.orders-grid{grid-template-columns:1fr;gap:14px}.order-card{border-radius:14px;gap:12px;padding:16px 14px}.order-header{flex-wrap:wrap;gap:8px}.order-status-amount{margin-left:auto}.order-contact-row{flex-direction:column;align-items:flex-start;gap:6px}.order-actions{flex-wrap:wrap;gap:8px;display:flex}.order-actions button{flex:calc(50% - 4px);justify-content:center;min-height:42px}.destination-modal-overlay{padding:12px}.destination-modal-card{border-radius:16px;max-width:100%}}@media (width<=480px){.filters-row{grid-template-columns:1fr 1fr}.order-actions button{flex:100%}}.order-detail-wrapper{max-width:1200px;font-family:var(--font-family,"Segoe UI", sans-serif);margin:0 auto;padding-bottom:40px}.order-detail-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.back-button{border:1px solid var(--border-soft);cursor:pointer;color:var(--text-main);background:0 0;border-radius:8px;align-items:center;gap:8px;padding:8px 16px;font-weight:600;transition:background .2s;display:flex}.back-button:hover{background:var(--bg-soft)}.order-detail-status{color:#fff;text-transform:uppercase;border-radius:12px;padding:8px 16px;font-size:14px;font-weight:700}.detail-grid-container{grid-template-columns:2fr 1fr;gap:24px;display:grid}@media (width<=992px){.detail-grid-container{grid-template-columns:1fr}}.detail-card-panel{background:var(--bg-card);border:1px solid var(--border-soft);border-radius:16px;margin-bottom:24px;padding:24px;box-shadow:0 4px 6px -1px #0000000d}.panel-title{color:var(--text-main);border-bottom:1px solid var(--border-soft);align-items:center;gap:10px;margin-top:0;margin-bottom:16px;padding-bottom:12px;font-size:18px;font-weight:700;display:flex}.panel-title svg{color:var(--primary)}.info-row{margin-bottom:12px;font-size:14px;display:flex}.info-label{color:var(--text-muted);flex:0 0 140px;font-weight:500}.info-value{color:var(--text-main);flex:1;font-weight:600}.items-table-wrapper{overflow-x:auto}.items-table{border-collapse:collapse;width:100%}.items-table th{text-align:left;background:var(--bg-soft);color:var(--primary);text-transform:uppercase;padding:12px 16px;font-size:13px}.items-table td{border-bottom:1px solid var(--border-soft);vertical-align:middle;padding:16px}.item-cell-product{align-items:center;gap:16px;display:flex}.item-thumbnail{object-fit:cover;border:1px solid var(--border-soft);border-radius:8px;width:64px;height:64px}.item-details{flex-direction:column;gap:4px;display:flex}.item-name{color:var(--text-main);font-weight:600}.item-category{color:var(--text-muted);font-size:12px}.price-col{color:var(--text-main);font-weight:600}.original-price{color:var(--text-muted);margin-right:6px;font-size:12px;text-decoration:line-through}.summary-row{justify-content:space-between;margin-top:12px;font-size:14px;display:flex}.summary-total{color:var(--primary);border-top:1px solid var(--border-soft);margin-top:16px;padding-top:16px;font-size:18px;font-weight:700}.timeline{flex-direction:column;gap:20px;margin-top:20px;display:flex}.timeline-item{gap:16px;display:flex}.timeline-icon{background:var(--bg-soft);width:32px;height:32px;color:var(--primary);z-index:2;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.timeline-item.active .timeline-icon{background:var(--primary);color:#fff}.timeline-item.cancelled .timeline-icon{background:var(--error);color:#fff}.timeline-content{flex-direction:column;gap:4px;display:flex}.timeline-title{color:var(--text-main);font-weight:600}.timeline-date{color:var(--text-muted);font-size:12px}.timeline-line{background:var(--border-soft);z-index:1;width:2px;height:100%;position:absolute;left:39px}.action-buttons-container{gap:12px;margin-top:24px;display:flex}.action-btn{cursor:pointer;color:#fff;border:none;border-radius:8px;flex:1;padding:12px;font-weight:600;transition:opacity .2s}.action-btn:hover{opacity:.9}.btn-accept{background-color:var(--primary)}.btn-complete{background-color:var(--success)}.btn-danger{background-color:var(--error)}.order-cancelled-banner{border:1.5px solid var(--error);background:linear-gradient(135deg,#d32f2f14 0%,#d32f2f26 100%);border-radius:14px;align-items:flex-start;gap:14px;margin-bottom:24px;padding:16px 20px;display:flex}.order-cancelled-banner .banner-icon{color:var(--error);flex-shrink:0;margin-top:2px}.order-cancelled-banner .banner-title{color:#991b1b;margin-bottom:4px;font-size:16px;font-weight:700}.order-cancelled-banner .banner-desc{color:#7f1d1d;margin:0;font-size:14px;line-height:1.4}.order-cancelled-banner .banner-date{color:#991b1b;opacity:.8;margin-top:6px;font-size:12px}.route-section-wrapper{flex-direction:column;gap:16px;margin-top:16px;display:flex}.route-summary-bar{background:var(--bg-soft);border:1px solid var(--border-soft);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.route-step-indicator{color:var(--text-main);align-items:center;gap:12px;font-size:13px;font-weight:600;display:flex}.route-step-node{align-items:center;gap:6px;display:flex}.route-distance-pill{background:var(--primary);color:#fff;border-radius:20px;align-items:center;gap:4px;padding:4px 10px;font-size:12px;font-weight:700;display:inline-flex}.nav-actions-group{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.google-maps-btn{cursor:pointer;background:linear-gradient(135deg,#1b73e8 0%,#1557b0 100%);border:none;border-radius:10px;align-items:center;gap:8px;padding:10px 18px;font-size:14px;font-weight:700;text-decoration:none;transition:transform .15s,box-shadow .15s;display:inline-flex;box-shadow:0 4px 10px #1b73e840;color:#fff!important}.google-maps-btn:hover{color:#fff;transform:translateY(-2px);box-shadow:0 6px 14px #1b73e859}.google-maps-btn svg{color:#fff!important}.btn-secondary-action{background:var(--bg-card);border:1px solid var(--border-soft);color:var(--text-main);cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:9px 14px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.btn-secondary-action:hover{background:var(--bg-soft);border-color:var(--primary);color:var(--primary)}.embedded-map-container{border:1px solid var(--border-soft);background:#e5e7eb;border-radius:12px;width:100%;height:240px;position:relative;overflow:hidden}.embedded-map-container iframe{border:none;width:100%;height:100%;display:block}.map-fallback-box{text-align:center;background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;padding:24px;display:flex}.call-customer-chip{color:var(--primary);background:#2e7d321a;border-radius:8px;align-items:center;gap:6px;padding:4px 10px;font-size:13px;font-weight:700;text-decoration:none;transition:background .2s;display:inline-flex}.call-customer-chip:hover{background:#2e7d3233}.cancel-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:99999;background-color:#0f172a99;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.cancel-modal-card{background:var(--bg-card);border-radius:16px;width:100%;max-width:520px;animation:.2s ease-out modalFadeIn;overflow:hidden;box-shadow:0 25px 50px -12px #00000040}.cancel-modal-header{border-bottom:1px solid var(--border-soft);justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.cancel-modal-title{color:#991b1b;align-items:center;gap:8px;margin:0;font-size:18px;font-weight:700;display:flex}.cancel-modal-body{flex-direction:column;gap:16px;padding:24px;display:flex}.cancel-radio-group{flex-direction:column;gap:10px;display:flex}.cancel-radio-option{border:1px solid var(--border-soft);cursor:pointer;color:var(--text-main);border-radius:10px;align-items:center;gap:10px;padding:10px 14px;font-size:14px;transition:all .2s;display:flex}.cancel-radio-option:hover{background:var(--bg-soft);border-color:var(--primary)}.cancel-radio-option.selected{border-color:var(--error);color:#991b1b;background:#d32f2f0d;font-weight:600}.cancel-textarea{border:1px solid var(--border-soft);width:100%;color:var(--text-main);background:var(--bg-card);resize:vertical;border-radius:10px;outline:none;min-height:70px;padding:10px 14px;font-family:inherit;font-size:14px}.cancel-textarea:focus{border-color:var(--error);box-shadow:0 0 0 3px #d32f2f1a}.cancel-modal-footer{border-top:1px solid var(--border-soft);background:var(--bg-soft);justify-content:flex-end;gap:12px;padding:16px 24px;display:flex}.fallback-message{text-align:center;background:var(--bg-card);border-radius:16px;margin-top:40px;padding:40px}@media (width<=768px){.order-detail-header{flex-direction:column;align-items:flex-start;gap:16px}.detail-card-panel{padding:16px}.items-table th,.items-table td{padding:12px 8px;font-size:12px}.item-thumbnail{width:48px;height:48px}.item-cell-product{gap:8px}.action-buttons-container{flex-direction:column}.info-row{flex-direction:column;gap:4px;margin-bottom:16px}.info-label{flex:none}.route-summary-bar{flex-direction:column;align-items:flex-start}.nav-actions-group{width:100%}.google-maps-btn{justify-content:center;width:100%}}.shops-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px;margin-top:16px;display:grid}.shop-card{background-color:var(--bg-card);border:1px solid var(--border-soft);border-radius:16px;flex-direction:column;transition:transform .2s,box-shadow .2s;display:flex;overflow:hidden;box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -1px #00000008}.shop-card:hover{transform:translateY(-4px);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.shop-image-container{background-color:var(--bg-active);height:180px;position:relative;overflow:hidden}.shop-images-gallery{width:100%;height:100%;display:flex}.shop-card-image{object-fit:cover;border-right:1px solid var(--border-soft);height:100%}.shop-card-image:last-child{border-right:none}.shop-no-image{height:100%;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.shop-status-badge{text-transform:uppercase;letter-spacing:.05em;border-radius:9999px;padding:4px 10px;font-size:11px;font-weight:700;position:absolute;top:12px;right:12px;box-shadow:0 2px 4px #0000001a}.shop-status-badge.active{color:#065f46;background-color:#d1fae5}.shop-status-badge.inactive{color:#991b1b;background-color:#fee2e2}.shop-card-body{flex-direction:column;flex-grow:1;padding:20px;display:flex}.shop-card-name{color:var(--text-main);margin:0 0 8px;font-size:18px;font-weight:700}.shop-card-desc{color:var(--text-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 16px;font-size:14px;line-height:1.4;display:-webkit-box;overflow:hidden}.shop-card-info{flex-direction:column;gap:8px;margin-bottom:16px;display:flex}.info-item{color:var(--text-muted);align-items:center;gap:8px;font-size:13px;display:flex}.info-item svg{color:var(--primary)}.shop-owner-section{background-color:var(--bg-body);border:1px solid var(--border-soft);border-radius:10px;margin-top:auto;margin-bottom:20px;padding:12px}.owner-title{color:var(--text-main);align-items:center;gap:6px;margin-bottom:6px;font-size:13px;display:flex}.owner-title svg{color:var(--primary)}.owner-details{color:var(--text-muted);flex-direction:column;gap:4px;font-size:12px;display:flex}.owner-details span{color:var(--text-main);font-weight:500}.shop-card-actions{margin-top:auto}.tab-container{border-bottom:1px solid var(--border-soft);margin-bottom:24px;display:flex}.tab-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;padding:10px 20px;font-size:14px;font-weight:600;transition:all .2s}.tab-btn.active{color:var(--primary);border-bottom-color:var(--primary)}.image-upload-row{grid-template-columns:1fr 1fr;gap:16px;margin-top:16px;margin-bottom:16px;display:grid}@media (width<=640px){.shops-grid{grid-template-columns:1fr;gap:16px}.shop-card-body{padding:16px 14px}.tab-container{scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}.tab-btn{white-space:nowrap;padding:8px 14px;font-size:13px}}@media (width<=576px){.image-upload-row{grid-template-columns:1fr}}.offers-portal-wrapper{max-width:1440px;color:var(--text-main);min-height:100vh;margin:0 auto;padding:24px 32px 60px;font-family:Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,sans-serif}.offers-hero-banner{background:linear-gradient(135deg,#f57c0014 0%,#2e7d320d 50%,#8b5cf60d 100%);border:1px solid #f57c0040;border-radius:20px;margin-bottom:24px;padding:24px 28px;position:relative;overflow:hidden;box-shadow:0 4px 20px #00000008}.offers-hero-banner:before{content:"";pointer-events:none;background:radial-gradient(circle,#f57c0026 0%,#0000 70%);border-radius:50%;width:200px;height:200px;position:absolute;top:-50px;right:-50px}.offers-hero-content{z-index:1;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;display:flex;position:relative}.offers-badge-pill{color:#ea580c;text-transform:uppercase;letter-spacing:.06em;background:#f57c001f;border:1px solid #f57c004d;border-radius:20px;align-items:center;gap:6px;margin-bottom:8px;padding:4px 12px;font-size:11px;font-weight:700;display:inline-flex}.offers-title-row{align-items:center;gap:12px;margin:0;display:flex}.offers-title-row h1{letter-spacing:-.02em;color:var(--text-main);align-items:center;gap:10px;margin:0;font-size:28px;font-weight:800;display:flex}.offers-count-pill{color:#fff;letter-spacing:0;background:#ea580c;border-radius:12px;padding:3px 10px;font-size:12px;font-weight:700;box-shadow:0 2px 8px #ea580c4d}.offers-subtitle{color:var(--text-muted);max-width:680px;margin:6px 0 0;font-size:14px;line-height:1.5}.offers-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.btn-orange-primary{color:#fff;cursor:pointer;background:linear-gradient(135deg,#ea580c 0%,#c2410c 100%);border:none;border-radius:12px;align-items:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:700;transition:all .2s cubic-bezier(.16,1,.3,1);display:inline-flex;box-shadow:0 4px 14px #ea580c4d}.btn-orange-primary:hover{background:linear-gradient(135deg,#f97316 0%,#c2410c 100%);transform:translateY(-2px);box-shadow:0 6px 20px #ea580c66}.btn-simulator-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#6366f1 0%,#4f46e5 100%);border:none;border-radius:12px;align-items:center;gap:8px;padding:9px 16px;font-size:13px;font-weight:700;transition:all .2s;display:inline-flex;box-shadow:0 2px 8px #6366f140}.btn-simulator-btn:hover{transform:translateY(-1px);box-shadow:0 4px 14px #6366f159}.offers-metrics-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin-bottom:24px;display:grid}.offers-stat-card{background:var(--bg-card);border:1px solid var(--border-soft);border-radius:16px;align-items:center;gap:16px;padding:18px 20px;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;box-shadow:0 2px 8px #00000005}.offers-stat-card:hover{border-color:#ea580c4d;transform:translateY(-3px);box-shadow:0 8px 22px #0000000f}.offers-stat-icon{border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.stat-icon-orange{color:#ea580c;background:#ea580c1f}.stat-icon-green{color:#10b981;background:#10b9811f}.stat-icon-purple{color:#8b5cf6;background:#8b5cf61f}.stat-icon-slate{color:#64748b;background:#64748b1f}.offers-filter-bar{background:var(--bg-card);border:1px solid var(--border-soft);border-radius:16px;flex-direction:column;gap:14px;margin-bottom:24px;padding:16px 20px;display:flex;box-shadow:0 2px 10px #00000005}.offers-search-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.offers-search-box{flex:1;min-width:280px;position:relative}.offers-search-input{border:1.5px solid var(--border-soft);background:var(--bg-app);width:100%;color:var(--text-main);border-radius:12px;outline:none;padding:11px 40px 11px 42px;font-size:14px;font-weight:500;transition:all .2s}.offers-search-input:focus{background:var(--bg-card);border-color:#ea580c;box-shadow:0 0 0 3px #ea580c1f}.offers-search-icon{color:var(--text-muted);pointer-events:none;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.coupon-cards-grid{grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:22px;display:grid}.coupon-ticket-card{background:var(--bg-card);border:1.5px dashed #ea580c59;border-radius:18px;flex-direction:column;padding:22px 20px 16px;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;position:relative;overflow:hidden;box-shadow:0 2px 10px #00000008}.coupon-ticket-card:hover{border-color:#ea580c;transform:translateY(-3px);box-shadow:0 10px 24px #ea580c1a}.coupon-top-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.coupon-code-pill{letter-spacing:.08em;color:#c2410c;cursor:pointer;background:linear-gradient(135deg,#ea580c1a 0%,#ea580c0a 100%);border:1px dashed #ea580c;border-radius:10px;align-items:center;gap:8px;padding:6px 12px;font-family:monospace;font-size:16px;font-weight:800;transition:all .15s;display:inline-flex}.coupon-code-pill:hover{color:#fff;background:#ea580c;border-style:solid}.coupon-discount-banner{color:#ea580c;letter-spacing:-.02em;margin:6px 0;font-size:24px;font-weight:800;line-height:1.1}.coupon-discount-sub{color:var(--text-muted);font-size:12px;font-weight:600}.coupon-title-bold{color:var(--text-main);margin:10px 0 4px;font-size:16px;font-weight:700;line-height:1.35}.coupon-description-text{color:var(--text-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 16px;font-size:13px;line-height:1.45;display:-webkit-box;overflow:hidden}.coupon-rules-list{background:var(--bg-app);color:var(--text-muted);border-radius:12px;flex-direction:column;gap:7px;margin-top:auto;padding:12px 14px;font-size:12px;font-weight:600;display:flex}.rule-item-row{align-items:center;gap:7px;display:flex}.rule-highlight{color:var(--text-main);font-weight:700}.coupon-card-footer{border-top:1px solid var(--border-soft);justify-content:space-between;align-items:center;gap:10px;margin-top:14px;padding-top:14px;display:flex}.product-picker-container{border:1.5px solid var(--border-soft);background:var(--bg-app);border-radius:14px;flex-direction:column;gap:12px;padding:14px;display:flex}.product-picker-search{position:relative}.product-picker-scroll-list{flex-direction:column;gap:6px;max-height:220px;padding-right:4px;display:flex;overflow-y:auto}.product-picker-item{background:var(--bg-card);border:1px solid var(--border-soft);cursor:pointer;border-radius:10px;align-items:center;gap:12px;padding:8px 12px;transition:all .15s;display:flex}.product-picker-item:hover{background:#ea580c08;border-color:#ea580c}.product-picker-item.selected{background:#ea580c14;border-color:#ea580c}.picker-thumb{object-fit:cover;background:#f1f5f9;border-radius:6px;width:36px;height:36px}.simulator-box{background:#f8fafc;border:1.5px dashed #6366f1;border-radius:16px;flex-direction:column;gap:16px;padding:20px;display:flex}.simulator-result-card{background:#fff;border:1.5px solid #10b981;border-radius:14px;flex-direction:column;gap:10px;padding:16px 20px;animation:.2s fadeIn;display:flex}.simulator-error-card{color:#991b1b;background:#fef2f2;border:1.5px solid #ef4444;border-radius:14px;padding:16px 20px;font-size:13px;font-weight:600;animation:.2s fadeIn}.coupon-store-pill{color:#2563eb;letter-spacing:.01em;background:#3b82f614;border:1px solid #3b82f640;border-radius:8px;align-items:center;gap:5px;width:fit-content;margin-top:6px;padding:3px 9px;font-size:11px;font-weight:700;display:inline-flex}.coupon-store-pill.platform{color:#059669;background:#10b98114;border-color:#10b98140}.coupon-shop-tag{color:#2563eb;white-space:nowrap;background:#3b82f614;border:1px solid #3b82f633;border-radius:6px;align-items:center;gap:5px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-flex}.coupon-shop-tag.platform{color:#059669;background:#10b98114;border-color:#10b98133}.shop-owner-info-banner{color:var(--text-main);background:linear-gradient(135deg,#ea580c14 0%,#f59e0b0d 100%);border:1.5px solid #ea580c40;border-radius:12px;align-items:center;gap:12px;margin-bottom:20px;padding:12px 18px;font-size:13px;font-weight:600;display:flex;box-shadow:0 2px 10px #ea580c0d}@media (width<=860px){.offers-portal-wrapper{max-width:100vw;padding:14px 8px 48px;overflow-x:hidden}.offers-hero-banner{border-radius:16px;margin-bottom:16px;padding:18px 16px}.offers-hero-content{flex-direction:column;align-items:flex-start;gap:14px}.offers-title-row h1{font-size:22px}.offers-hero-actions{flex-direction:column;gap:8px;width:100%;display:flex}.offers-hero-actions button{justify-content:center;width:100%;min-height:42px}.coupon-filter-bar{flex-direction:column;gap:10px;padding:14px 12px}.coupon-search-box{width:100%;min-width:0}.coupon-filter-selects{grid-template-columns:1fr 1fr;gap:8px;width:100%;display:grid}.coupon-filter-select{width:100%}.coupon-cards-grid{grid-template-columns:1fr;gap:14px}.coupon-card-inner{padding:18px 16px}.coupon-modal-dialog,.simulator-modal-dialog{border-radius:16px!important;width:100%!important;max-width:100%!important;max-height:90vh!important}.coupon-form-grid{grid-template-columns:1fr!important;gap:12px!important}.simulator-results-box{padding:14px}}@media (width<=480px){.coupon-filter-selects{grid-template-columns:1fr}.offers-title-row h1{font-size:20px}}.products-container{flex-direction:column;gap:20px;width:100%;padding-bottom:30px;display:flex}.products-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.products-title-group h1{color:#1b1b1b;align-items:center;gap:10px;margin:0 0 6px;font-size:1.55rem;font-weight:700;display:flex}.products-title-badge{color:#2e7d32;background:#e8f5e9;border:1px solid #c8e6c9;border-radius:20px;padding:3px 10px;font-size:.8rem;font-weight:600}.products-subtitle{color:#6b6b6b;margin:0;font-size:.9rem}.products-stats-row{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;width:100%;display:grid}.stat-card{background:#fff;border:1px solid #0000000f;border-radius:16px;align-items:center;gap:16px;padding:16px 20px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 4px 16px #0000000a}.stat-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #00000012}.stat-icon-wrapper{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;display:flex}.stat-icon-total{color:#2e7d32;background:#e8f5e9}.stat-icon-active{color:#0284c7;background:#e0f2fe}.stat-icon-sold{color:#9333ea;background:#f3e8ff}.stat-icon-inactive{color:#dc2626;background:#fee2e2}.stat-info{flex-direction:column;display:flex}.stat-value{color:#1e293b;font-size:1.4rem;font-weight:700;line-height:1.2}.stat-label{color:#64748b;font-size:.8rem;font-weight:500}.products-filter-card{background:#fff;border:1px solid #0000000f;border-radius:16px;flex-direction:column;gap:14px;padding:16px 20px;display:flex;box-shadow:0 4px 16px #0000000a}.filter-top-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.search-input-group{flex:1;min-width:260px;position:relative}.search-input-icon{color:#94a3b8;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.search-input{background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;padding:10px 38px 10px 40px;font-size:.9rem;transition:border-color .2s,background-color .2s}.search-input:focus{background:#fff;border-color:#2e7d32}.search-clear-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;align-items:center;padding:4px;display:flex;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.search-clear-btn:hover{color:#475569}.filter-actions{align-items:center;gap:12px;display:flex}.category-select{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:10px;outline:none;min-width:170px;padding:10px 14px;font-size:.88rem}.category-select:focus{background:#fff;border-color:#2e7d32}.refresh-btn{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:6px;padding:10px 16px;font-size:.88rem;font-weight:500;transition:background-color .2s,color .2s;display:flex}.refresh-btn:hover{color:#1e293b;background:#e2e8f0}.refresh-btn.spinning svg{animation:.8s linear infinite spin}.status-tabs-row{border-top:1px solid #f1f5f9;align-items:center;gap:8px;padding-top:12px;display:flex;overflow-x:auto}.status-tab{color:#64748b;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:20px;padding:6px 14px;font-size:.85rem;font-weight:500;transition:all .2s}.status-tab:hover{color:#1e293b;background:#f1f5f9}.status-tab.active{color:#fff;background:#2e7d32;font-weight:600}.products-table-card{background:#fff;border:1px solid #0000000f;border-radius:16px;overflow:hidden;box-shadow:0 4px 16px #0000000a}.table-responsive{width:100%;overflow-x:auto}.products-table{border-collapse:separate;border-spacing:0;width:100%;font-size:.88rem}.products-table th{color:#475569;text-align:left;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:14px 18px;font-weight:600}.products-table td{vertical-align:middle;color:#334155;border-bottom:1px solid #f1f5f9;padding:14px 18px}.products-table tr:hover td{background:#fafcf9}.product-cell{align-items:center;gap:14px;min-width:240px;display:flex}.product-thumb{object-fit:cover;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:10px;flex-shrink:0;width:52px;height:52px}.product-thumb-placeholder{color:#94a3b8;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;display:flex}.product-meta{flex-direction:column;gap:4px;display:flex}.product-title{color:#1e293b;margin:0;font-weight:600;line-height:1.3}.product-model-tag{color:#475569;background:#f1f5f9;border-radius:6px;width:fit-content;padding:2px 8px;font-size:.75rem;font-weight:500}.category-badge{color:#2e7d32;background:#eef7ee;border-radius:14px;align-items:center;gap:5px;padding:4px 10px;font-size:.8rem;font-weight:600;display:inline-flex}.price-text{color:#1b1b1b;font-size:.95rem;font-weight:700}.seller-cell{align-items:center;gap:10px;min-width:170px;display:flex}.seller-avatar{object-fit:cover;background:#e2e8f0;border-radius:50%;flex-shrink:0;width:36px;height:36px}.seller-avatar-fallback{color:#2e7d32;background:#e8f5e9;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:.85rem;font-weight:600;display:flex}.seller-info{flex-direction:column;display:flex}.seller-name{color:#1e293b;font-size:.85rem;font-weight:600}.seller-phone{color:#64748b;align-items:center;gap:4px;font-size:.78rem;text-decoration:none;display:flex}.seller-phone:hover{color:#2e7d32;text-decoration:underline}.location-cell{color:#475569;align-items:center;gap:5px;max-width:180px;font-size:.82rem;display:flex}.status-pill{text-transform:capitalize;border-radius:12px;align-items:center;gap:5px;padding:4px 10px;font-size:.78rem;font-weight:600;display:inline-flex}.status-pill-active{color:#15803d;background:#dcfce7}.status-pill-sold{color:#7e22ce;background:#f3e8ff}.status-pill-inactive{color:#64748b;background:#f1f5f9}.action-buttons{align-items:center;gap:8px;display:flex}.btn-icon-action{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;transition:all .2s;display:flex}.btn-icon-action:hover{color:#1e293b;background:#f8fafc;border-color:#cbd5e1}.btn-icon-delete{color:#dc2626;background:#fef2f2;border-color:#fecaca}.btn-icon-delete:hover{color:#b91c1c;background:#fee2e2;border-color:#fca5a5}.state-container{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:60px 20px;display:flex}.loading-spinner{border:3px solid #e2e8f0;border-top-color:#2e7d32;border-radius:50%;width:38px;height:38px;animation:.8s linear infinite spin}.state-title{color:#1e293b;margin:0;font-size:1.1rem;font-weight:600}.state-desc{color:#64748b;max-width:400px;margin:0;font-size:.88rem}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:9999;background:#0f172a99;justify-content:center;align-items:center;padding:20px;animation:.2s ease-out fadeIn;display:flex;position:fixed;inset:0}.modal-content{background:#fff;border-radius:20px;flex-direction:column;width:100%;max-width:760px;max-height:90vh;animation:.25s ease-out scaleUp;display:flex;overflow-y:auto;box-shadow:0 25px 50px -12px #00000040}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes scaleUp{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.modal-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-header h3{color:#1e293b;margin:0;font-size:1.25rem;font-weight:700}.modal-close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:6px;transition:all .2s;display:flex}.modal-close-btn:hover{color:#1e293b;background:#f1f5f9}.modal-body{flex-direction:column;gap:20px;padding:24px;display:flex}.modal-gallery{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.modal-img-wrapper{aspect-ratio:4/3;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;position:relative;overflow:hidden}.modal-img{object-fit:cover;width:100%;height:100%;transition:transform .3s}.modal-img:hover{transform:scale(1.05)}.modal-details-grid{background:#f8fafc;border-radius:14px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;padding:16px;display:grid}.detail-item{flex-direction:column;gap:4px;display:flex}.detail-label{color:#64748b;text-transform:uppercase;letter-spacing:.5px;font-size:.75rem;font-weight:600}.detail-value{color:#1e293b;font-size:.95rem;font-weight:500}.modal-description-box{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px 18px}.modal-description-box h4{color:#475569;text-transform:uppercase;letter-spacing:.5px;margin:0 0 6px;font-size:.85rem}.modal-description-box p{color:#334155;white-space:pre-line;margin:0;font-size:.9rem;line-height:1.5}.modal-footer{background:#f8fafc;border-top:1px solid #f1f5f9;border-bottom-right-radius:20px;border-bottom-left-radius:20px;justify-content:flex-end;align-items:center;gap:12px;padding:16px 24px;display:flex}.reports-container{flex-direction:column;gap:24px;width:100%;min-width:0;max-width:100%;display:flex}.reports-container .section-card{width:100%;min-width:0;max-width:100%}.reports-toolbar{background:var(--bg-card);border-radius:var(--radius-md);border:1px solid var(--border-soft);box-shadow:var(--shadow-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px 24px;display:flex}.toolbar-title{flex-direction:column;gap:4px;display:flex}.toolbar-title h2{color:var(--primary);margin:0;font-size:1.5rem;font-weight:700}.toolbar-title p{color:var(--text-muted);margin:0;font-size:.9rem}.toolbar-actions{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.filter-group{align-items:center;gap:10px;display:flex}.filter-label{color:var(--text-main);white-space:nowrap;font-size:.88rem;font-weight:600}.reports-toolbar .field-block{gap:0!important;width:auto!important;margin:0!important;padding:0!important;display:block!important}.reports-toolbar .common-field-error{display:none!important}.reports-toolbar .selectWrapper select{border-radius:var(--radius-sm)!important;height:38px!important;min-height:38px!important;padding:0 32px 0 12px!important;font-size:.9rem!important;line-height:36px!important}@keyframes pulse-green{0%{box-shadow:0 0 #388e3c99}70%{box-shadow:0 0 0 8px #388e3c00}to{box-shadow:0 0 #388e3c00}}@keyframes pulse-red{0%{box-shadow:0 0 #d32f2f99}70%{box-shadow:0 0 0 10px #d32f2f00}to{box-shadow:0 0 #d32f2f00}}.badge-online{white-space:nowrap;border:1px solid #c8e6c9;flex-shrink:0;align-items:center;gap:6px;font-weight:700;display:inline-flex;position:relative;color:#2e7d32!important;background-color:#e8f5e9!important}.badge-online:before{content:"";background-color:#388e3c;border-radius:50%;width:8px;height:8px;animation:2s infinite pulse-green;display:inline-block}.badge-offline{white-space:nowrap;border:1px solid #e0e0e0;flex-shrink:0;align-items:center;gap:6px;font-weight:600;display:inline-flex;color:#757575!important;background-color:#f5f5f5!important}.badge-offline:before{content:"";background-color:#9e9e9e;border-radius:50%;width:8px;height:8px;display:inline-block}.active-session-text{color:#2e7d32;align-items:center;gap:6px;font-weight:700;display:inline-flex}.active-session-text:before{content:"";background-color:#388e3c;border-radius:50%;width:8px;height:8px;animation:1.5s infinite pulse-green;display:inline-block}.urgency-panel{background:linear-gradient(#fffcfc 0%,#fff 100%);position:relative;overflow:hidden;border:2px solid var(--error)!important;box-shadow:0 12px 30px #d32f2f1f, var(--shadow-soft)!important}.urgency-header-badge{background:var(--error);color:#fff;text-transform:uppercase;letter-spacing:.05em;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:.8rem;font-weight:800;animation:2s infinite pulse-red;display:inline-flex}.urgent-table-shell{border-color:#d32f2f33}.reports-container .table-shell{padding-bottom:200px}.urgent-table-shell thead th{color:#c62828;background:#ffebee}.urgent-row-glow{background-color:#d32f2f05}.urgent-row-glow:hover{background-color:#d32f2f0d!important}.doctor-status-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;display:grid}.doctor-report-card{background:var(--bg-card);border:1px solid var(--border-soft);border-radius:var(--radius-md);box-shadow:var(--shadow-soft);flex-direction:column;justify-content:space-between;gap:16px;padding:20px;transition:transform .2s,box-shadow .2s;display:flex}.doctor-report-card:hover{transform:translateY(-2px);box-shadow:0 16px 40px #2e7d3224}.card-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.doc-meta{flex-direction:column;gap:4px;min-width:0;display:flex}.doc-name{color:var(--text-main);margin:0;font-size:1.15rem;font-weight:700}.doc-contact{color:var(--text-muted);word-break:break-all;font-size:.82rem}.card-stats{background:var(--bg-app);border-radius:var(--radius-sm);border:1px solid #1b1b1b0a;grid-template-columns:repeat(2,1fr);gap:12px;padding:12px;display:grid}.stat-box{flex-direction:column;gap:2px;display:flex}.stat-box-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.02em;font-size:.75rem}.stat-box-val{color:var(--text-main);font-size:1rem;font-weight:700}.card-bottom{border-top:1px solid var(--border-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:4px;padding-top:14px;display:flex}.duty-total-time{flex-direction:column;gap:2px;display:flex}.duty-total-time span{color:var(--text-muted);font-size:.76rem}.duty-total-time strong{color:var(--primary);font-size:.95rem;font-weight:700}.view-logs-link{color:var(--primary);cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:4px;padding:4px 8px;font-size:.85rem;font-weight:700;transition:background-color .2s;display:inline-flex}.view-logs-link:hover{background-color:var(--bg-soft)}.tabs-header{border-bottom:2px solid var(--border-soft);gap:16px;margin-bottom:20px;padding-bottom:1px;display:flex}.tab-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;padding:12px 16px;font-size:1rem;font-weight:700;transition:color .2s;position:relative}.tab-btn:hover,.tab-btn-active{color:var(--primary)}.tab-btn-active:after{content:"";background-color:var(--primary);border-radius:99px;height:3px;position:absolute;bottom:-2px;left:0;right:0}.tab-badge{background:var(--border-soft);color:var(--text-main);border-radius:999px;margin-left:8px;padding:2px 8px;font-size:.78rem;font-weight:600}.tab-btn-active .tab-badge{background:var(--bg-soft);color:var(--primary)}.resolution-notes-cell{word-break:break-word;max-width:320px;white-space:normal!important}.notes-truncate{-webkit-line-clamp:2;text-overflow:ellipsis;color:var(--text-main);-webkit-box-orient:vertical;font-size:.88rem;display:-webkit-box;overflow:hidden}.notes-expanded{color:var(--text-main);font-size:.88rem;line-height:1.4}.expand-notes-toggle{color:var(--primary);cursor:pointer;background:0 0;border:none;margin-top:4px;padding:0;font-size:.78rem;font-weight:700;display:block}.expand-notes-toggle:hover{text-decoration:underline}.row-severe-warning{border-left:4px solid var(--error);background-color:#fff9f9!important}.row-severe-warning:hover{background-color:#ffebeb!important}.severe-badge{color:var(--error);background:#ffebeb;border:1px solid #ffd1d1;border-radius:6px;align-items:center;gap:4px;padding:4px 8px;font-size:.78rem;font-weight:700;display:inline-flex}.logs-modal{width:min(100%,650px)!important}.logs-modal-body{border:1px solid var(--border-soft);border-radius:12px;max-height:400px;margin-top:16px;overflow-y:auto}.logs-modal-table{width:100%}.logs-modal-table th{background:var(--bg-app);color:var(--text-muted);text-transform:uppercase;border-bottom:1px solid var(--border-soft);padding:12px 16px;font-size:.8rem;font-weight:700}.logs-modal-table td{border-bottom:1px solid #f2f2f2;padding:12px 16px;font-size:.9rem}.assign-popover-backdrop{z-index:40;background:0 0;position:fixed;inset:0}.assign-select-wrap{display:inline-block;position:relative}.assign-dropdown-menu{border:1px solid var(--border-soft);border-radius:var(--radius-sm);z-index:50;background:#fff;width:240px;max-height:250px;margin-top:4px;padding:6px;position:absolute;top:100%;right:0;overflow-y:auto;box-shadow:0 10px 25px #0000001f}.assign-doc-option{text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:8px 12px;font-size:.88rem;transition:background-color .15s;display:flex}.assign-doc-option:hover{background:var(--bg-soft);color:var(--primary)}.option-dot-online{background-color:#388e3c;border-radius:50%;width:8px;height:8px}.option-dot-offline{background-color:#9e9e9e;border-radius:50%;width:8px;height:8px}.date-filter-input{border-radius:var(--radius-sm);border:1px solid var(--border-soft);background:var(--bg-card);height:38px;color:var(--text-main);outline:none;width:150px;padding:0 12px;font-family:inherit;font-size:.9rem;transition:border-color .2s,box-shadow .2s}.date-filter-input:focus{border-color:var(--primary-light);box-shadow:0 0 0 3px #4caf5024}.tabs-header{scrollbar-width:none;-ms-overflow-style:none;overflow-x:auto}.tabs-header::-webkit-scrollbar{display:none}.tab-btn{white-space:nowrap}@media (width<=991px){.doctor-status-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}}@media (width<=768px){.reports-toolbar{flex-direction:column;align-items:stretch;gap:16px;padding:16px}.toolbar-title{text-align:center}.toolbar-actions{flex-direction:column;align-items:stretch;gap:12px;width:100%}.filter-group{flex-direction:column;align-items:stretch;gap:6px;width:100%}.filter-label{font-size:.85rem}.reports-toolbar .field-block,.reports-toolbar .selectWrapper,.reports-toolbar .selectWrapper select{width:100%!important}.reports-toolbar .ghost-button{justify-content:center;width:100%;height:40px;padding:10px}.date-filter-input{width:100%}}@media (width<=480px){.doctor-status-grid{grid-template-columns:1fr}.doctor-report-card{padding:16px}.logs-modal{margin:10px;width:100%!important;padding:16px!important}.logs-modal-body{max-height:280px}.logs-modal-table th,.logs-modal-table td{padding:8px 10px;font-size:.85rem}.reports-container .table-shell table{width:100%;min-width:1000px!important}.reports-container .urgent-table-shell table{min-width:900px!important}.logs-modal-body{overflow-x:auto!important}.logs-modal-table{width:100%;min-width:480px!important}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--primary:#2e7d32;--primary-light:#4caf50;--bg-app:#f5f7f5;--bg-card:#fff;--bg-sidebar:#2e7d32;--bg-sidebar-active:#256829;--bg-soft:#edf6ed;--text-main:#1b1b1b;--text-muted:#6b6b6b;--text-light:#fff;--border-soft:#1b1b1b1a;--accent:#4caf50;--accent-warm:#f57c00;--error:#d32f2f;--warning:#f57c00;--success:#388e3c;--radius-lg:24px;--radius-md:18px;--radius-sm:14px;--shadow-soft:0 14px 36px #2e7d321a;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0;padding:0}body{color:var(--text-main);-webkit-font-smoothing:antialiased;background:linear-gradient(135deg,#f5f7f5 0%,#edf6ed 100%);overflow:hidden}button,input,select{font:inherit}button{cursor:pointer}table{border-collapse:collapse;width:100%}.app-shell{background:var(--bg-app);grid-template-columns:220px 1fr;height:100dvh;display:grid;overflow:hidden}.sidebar{background:linear-gradient(180deg, var(--bg-sidebar) 0%, #256829 100%);color:var(--text-light);-webkit-overflow-scrolling:touch;z-index:80;flex-direction:column;gap:16px;height:100dvh;padding:20px 14px;display:flex;overflow-y:auto}.brand-block{align-items:center;gap:14px;display:flex}.brand-mark{width:52px;height:52px;color:var(--primary);background:linear-gradient(135deg,#c8e6c9,#fff);border-radius:16px;place-items:center;font-weight:800;display:grid}.brand-block h1,.topbar h2,.module-intro h1,.section-card h3{margin:0}.topbar h2{font-size:1rem;font-weight:600;line-height:1.2}.eyebrow{letter-spacing:.12em;text-transform:uppercase;opacity:.8;margin:0 0 6px;font-size:.78rem}.sidebar-nav{gap:10px;display:grid}.nav-item{color:var(--text-light);border-radius:var(--radius-md);background:#ffffff14;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;text-decoration:none;display:flex}.nav-item-active,.nav-item:hover{background:var(--bg-sidebar-active)}.sidebar-logout{border:1px solid var(--bg-sidebar);width:100%;color:var(--bg-sidebar);background:#f4fbf4;margin-top:auto}.sidebar-logout:hover{background:#e8f5e9}.sidebar-logout:disabled{opacity:.72;cursor:wait}.topbar-logout{border:1px solid var(--bg-sidebar);color:var(--bg-sidebar);cursor:pointer;background:#f4fbf4;border-radius:999px;padding:10px 18px;font-size:.92rem;font-weight:700;line-height:1;transition:background-color .2s,color .2s,box-shadow .2s,transform .2s}.topbar-logout:hover{background:var(--bg-sidebar);color:#fff;transform:translateY(-1px);box-shadow:0 10px 20px #2e7d322e}.topbar-logout:focus-visible{outline-offset:2px;outline:3px solid #2e7d322e}.nav-badge{background:#ffffff29;border-radius:999px;padding:4px 10px;font-size:.8rem}.nav-loading,.loading-shell{color:var(--text-muted)}.main-shell{-webkit-overflow-scrolling:touch;flex-direction:column;width:100%;min-width:0;max-width:100%;height:100dvh;display:flex;overflow:hidden auto}.topbar-shell{z-index:100;-webkit-backdrop-filter:blur(16px);background:#fffffff0;border-bottom:1px solid #0000000f;flex-shrink:0;padding:14px 24px;transition:padding .2s;position:sticky;top:0;box-shadow:0 4px 20px -2px #00000008}.topbar{justify-content:space-between;align-items:center;gap:16px;min-height:48px;display:flex}.topbar-title-row{align-items:center;gap:12px;display:flex}.menu-toggle{border:1px solid var(--border-soft);background:var(--bg-card);width:42px;height:42px;color:var(--text-main);box-shadow:var(--shadow-soft);border-radius:14px;padding:0;display:none}.menu-toggle span{background:currentColor;border-radius:999px;width:18px;height:2px;margin:4px auto;display:block}.sidebar-header-wrapper{border-bottom:1px solid #ffffff1f;justify-content:space-between;align-items:center;margin-bottom:6px;padding:6px 4px 14px;display:flex}.sidebar-logo-img{object-fit:contain;max-width:140px;max-height:48px}.sidebar-close-toggle{color:#fff;cursor:pointer;background:#ffffff24;border:1px solid #ffffff38;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:none}.sidebar-close-toggle:hover{background:#ffffff3d}.sidebar-footer-info{border-top:1px solid #ffffff1f;margin-top:auto;padding-top:14px}.sidebar-role-indicator{color:#c8e6c9;text-transform:uppercase;letter-spacing:.05em;background:#0003;border:1px solid #ffffff26;border-radius:999px;align-items:center;gap:8px;padding:5px 12px;font-size:11px;font-weight:700;display:inline-flex}.role-pulse-dot{background:#4ade80;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 2px #4ade8059}body.mobile-drawer-open{touch-action:none;overflow:hidden!important}body.mobile-drawer-open .main-shell{touch-action:none;overflow-y:hidden!important}.topbar-actions{align-items:center;gap:14px;display:flex}.search-shell{min-width:320px}.floating-search{display:block;position:relative}.floating-search-label{background:var(--bg-app);color:var(--primary);z-index:1;opacity:0;pointer-events:none;padding:0 6px 0 0;font-size:.9rem;line-height:1;transition:opacity .2s,transform .2s;position:absolute;top:-8px;left:0;transform:translateY(6px)}.search-shell input,.search-row input,.search-row select,.field-block input,.field-block select{border:none;border-bottom:2px solid var(--primary-light);appearance:none;box-sizing:border-box;vertical-align:middle;background:0 0;border-radius:0;outline:none;width:100%;height:44px;padding:14px 0;line-height:1.2}.search-shell input{padding-top:14px;padding-bottom:14px}.search-shell input:focus{border-bottom-color:var(--primary-light);box-shadow:none;padding-top:18px;padding-bottom:10px}.floating-search:focus-within .floating-search-label{opacity:1;transform:translateY(0)}.floating-search:focus-within input::placeholder{color:#0000}.search-shell input::placeholder,.search-row input::placeholder,.field-block input::placeholder{color:var(--text-muted);opacity:1}.profile-chip{border-radius:10px;flex-wrap:wrap;align-items:center;gap:12px;display:flex}.profile-menu-shell{position:relative}.profile-chip-button{background:0 0;border:1px solid #0000;border-radius:18px;padding:6px 10px;transition:background-color .2s,border-color .2s,box-shadow .2s}.profile-chip-button:hover,.profile-chip-button[aria-expanded=true]{border-color:var(--border-soft);box-shadow:var(--shadow-soft);background:#ffffffb8}.profile-chip-button:focus-visible{outline-offset:2px;outline:3px solid #2e7d322e}.profile-chip-copy{text-align:left;gap:2px;display:grid}.profile-chip-caret{color:var(--text-muted);font-size:1.4rem}.profile-avatar{color:#fff;background:#fff;border-radius:14px;width:42px;height:42px;font-weight:700;overflow:hidden}.profile-avatar-image{object-fit:cover;width:100%;height:100%;display:block}.profile-chip span,.section-card-header p,.empty-copy,.detail-card span,.toggle-row p,.order-card p,.stat-card p,.stat-card span{color:var(--text-muted)}.header-logout-button{border:1px solid var(--border-soft);background:var(--bg-card);color:var(--primary);border-radius:999px;padding:8px 14px;font-weight:600}.header-logout-button:disabled{opacity:.7;cursor:wait}.profile-popup{border:1px solid var(--border-soft);z-index:30;background:#fffffffa;border-radius:18px;min-width:220px;padding:12px;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 18px 40px #1b1b1b1f}.profile-popup-header{gap:4px;padding:4px 4px 10px;display:grid}.profile-popup-action{width:100%;color:var(--text-main);text-align:left;background:0 0;border:none;border-radius:14px;align-items:center;gap:10px;padding:11px 12px;transition:background-color .2s,color .2s;display:flex}.profile-popup-action:hover{background:var(--bg-soft)}.profile-popup-action:disabled{opacity:.7;cursor:wait}.profile-popup-action-danger{color:var(--error)}.profile-popup-action-danger:hover{background:#d32f2f14}.confirm-dialog-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:60;background:#1b1b1b47;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirm-dialog{background:var(--bg-card);border-radius:24px;width:min(100%,420px);padding:24px;box-shadow:0 24px 60px #1b1b1b2e}.confirm-dialog-copy{gap:10px;display:grid}.confirm-dialog-copy strong{font-size:1.1rem}.confirm-dialog-copy p{color:var(--text-muted);margin:0;line-height:1.5}.confirm-dialog-actions{justify-content:flex-end;gap:12px;margin-top:22px;display:flex}.confirm-dialog-loading{justify-content:center;align-items:center;min-width:20px;min-height:20px;display:inline-flex}.confirm-dialog-spinner{border:2px solid #fff6;border-top-color:#fff;border-radius:999px;width:16px;height:16px;animation:.8s linear infinite confirm-dialog-spin}@keyframes confirm-dialog-spin{to{transform:rotate(360deg)}}.page-shell{flex:1 0 auto;width:100%;min-width:0;max-width:100%;padding:22px}.sidebar-backdrop{display:none}.page-content,.page-grid,.stats-grid,.detail-grid,.form-grid,.search-row,.settings-grid,.order-list{gap:18px;display:grid}.page-grid,.page-content{min-width:0}.module-intro,.section-card,.stat-card,.detail-card,.order-card{background:var(--bg-card);border:1px solid var(--border-soft);border-radius:var(--radius-lg);box-shadow:var(--shadow-soft);min-width:0}.module-intro{padding:24px 28px}.submenu-bar{scrollbar-width:none;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;gap:12px;display:flex;overflow:auto hidden}.submenu-bar::-webkit-scrollbar{display:none}.submenu-item{color:var(--text-main);background:var(--bg-card);border:1px solid var(--border-soft);box-shadow:var(--shadow-soft);border:1px solid #d2f7d2;border-radius:10px;padding:7px 9px;text-decoration:none}.submenu-item-active{background:linear-gradient(180deg, var(--bg-sidebar) 0%, #256829 100%);color:var(--text-light)}.section-card{padding:24px}.section-card-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.ghost-button{background:var(--bg-soft);color:var(--primary);border:none;border-radius:999px;padding:12px 16px;font-weight:700}.stats-grid,.detail-grid,.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:22px}.stat-card-primary{border-top:5px solid var(--accent)}.stat-card-warm{border-top:5px solid var(--accent-warm)}.stat-card-info{border-top:5px solid var(--success)}.table-shell{border:1px solid var(--border-soft);-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#9ac89b #edf7ed;background:#fff;border-radius:18px;width:100%;max-width:100%;max-height:68vh;display:block;overflow:auto;box-shadow:0 12px 30px #1c36230f}.table-shell table{border-collapse:collapse;width:100%;min-width:1450px}.table-shell thead th{z-index:1;text-align:left;border-bottom:1px solid var(--border-soft);color:#215c25;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;background:#edf7ed;padding:15px 14px;font-size:.82rem;font-weight:800;position:sticky;top:0}.table-shell td{text-align:left;color:var(--text-main);vertical-align:top;white-space:nowrap;border-bottom:1px solid #e8f0e8;padding:16px 14px}.table-shell tbody tr:nth-child(2n){background:#fbfdfb}.table-shell tbody tr:hover{background:#f3faf3}.table-scroll-note{color:var(--text-muted);margin:0 0 12px;font-size:.9rem}.table-shell::-webkit-scrollbar{height:10px}.table-shell::-webkit-scrollbar-track{background:#edf7ed;border-radius:999px}.table-shell::-webkit-scrollbar-thumb{background:#9ac89b;border-radius:999px}.table-action-group{flex-wrap:nowrap;align-items:center;gap:8px;min-width:0;display:flex}.table-action-button{color:var(--primary);cursor:pointer;background:#f4fbf4;border:1px solid #cfe8cf;border-radius:999px;justify-content:center;align-items:center;width:38px;height:38px;padding:0;font-weight:700;line-height:1;transition:transform .18s,box-shadow .18s,background-color .18s,color .18s;display:inline-flex}.material-icons{letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-feature-settings:"liga";font-feature-settings:"liga";-webkit-font-smoothing:antialiased;direction:ltr;font-family:Material Icons;font-size:18px;font-style:normal;font-weight:400;line-height:1;display:inline-block}.table-action-icon{line-height:1}.table-action-button:hover{background:#eaf7ea;transform:translateY(-1px);box-shadow:0 10px 18px #2e7d321f}.table-action-button-secondary{color:#1d5fa7;background:#f4f8ff;border-color:#d7e6f8}.table-action-button-danger{color:#c53b3b;background:#fff5f5;border-color:#f3d0d0}.table-action-button-secondary:hover{background:#eaf2ff;box-shadow:0 10px 18px #1d5fa71f}.table-action-button-danger:hover{background:#ffebeb;box-shadow:0 10px 18px #c53b3b1f}.status-pill{background:var(--bg-soft);color:var(--primary);white-space:nowrap;border-radius:999px;flex-shrink:0;padding:7px 12px;font-weight:700;display:inline-flex}.detail-card,.order-card{padding:18px}.field-block{gap:8px;display:grid}.required-mark{color:var(--error);font-weight:700}.common-input-control{outline:none;width:100%;min-width:0;transition:border-color .2s,box-shadow .2s;border:1px solid var(--border-soft)!important;background:var(--bg-card)!important;border-radius:12px!important;padding:20px 14px!important}.d-flex{display:flex}.a-center{align-items:center}.j-center{justify-content:center}.j-end{justify-content:flex-end}.common-input-control:focus{box-shadow:0 0 0 3px #4caf5024;border-color:var(--primary-light)!important}.common-input-control.common-input-error{border-color:var(--error)!important}.common-file-input{min-height:44px;padding:10px 14px!important}.doctor-toggle-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.doctor-toggle-card{border:1px solid var(--border-soft);background:#f9fff7;border-radius:16px;align-items:flex-start;gap:12px;padding:16px 18px;display:flex}.doctor-toggle-card input{width:18px;height:18px;accent-color:var(--primary);margin-top:2px}.doctor-toggle-card strong,.doctor-toggle-card p{margin:0}.doctor-toggle-card p{color:var(--text-muted);margin-top:4px;font-size:.9rem;line-height:1.4}.doctor-detail-list{gap:20px;display:grid}.doctor-detail-section{border:1px solid var(--border-soft);background:linear-gradient(#fff,#fbfdfb);border-radius:20px;gap:18px;padding:22px;display:grid}.doctor-detail-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.doctor-detail-header h3,.doctor-detail-eyebrow{margin:0}.doctor-detail-eyebrow{color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px;font-size:.8rem;font-weight:700}.doctor-search-toolbar{flex-wrap:nowrap;align-items:center;gap:14px;display:flex}.doctor-search-toolbar .field-block{flex:1 1 0}.doctor-search-icon-button{background:var(--primary);color:#fff;cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex;box-shadow:0 12px 24px #2e7d3224}.doctor-search-row{grid-template-columns:minmax(260px,1fr) auto auto;align-items:end;gap:14px;display:grid}.doctor-search-button{min-width:110px;height:44px}.doctor-search-empty{border:1px dashed var(--border-soft);color:var(--text-muted);background:#fbfdfb;border-radius:16px;padding:18px 20px}.common-field-error{color:var(--error);min-height:18px;font-size:.82rem;line-height:1.35}.common-field-error-placeholder{visibility:hidden}.common-form-shell{gap:24px;display:grid}.form-action-row{justify-content:flex-end;gap:14px;padding-top:6px;display:flex}.common-button{border:none;border-radius:12px;min-width:80px;height:33px;padding:0 4px;transition:transform .2s,box-shadow .2s,opacity .2s;box-shadow:0 12px 24px #2e7d3224}.common-button:hover{transform:translateY(-1px);box-shadow:0 14px 28px #2e7d322e}.common-button:active{transform:translateY(0)}.common-button:disabled{opacity:.7;cursor:not-allowed}.search-feedback-card{border:1px solid var(--border-soft);background:linear-gradient(135deg,#f7fcf7 0%,#edf6ed 100%);border-radius:14px;margin-top:18px;padding:16px 18px}.search-feedback-card strong{color:var(--primary);margin-bottom:6px;display:block}.search-feedback-card p{color:var(--text-muted);margin:0}.search-row{grid-template-columns:2fr 1fr}.toggle-row{border-bottom:1px solid var(--border-soft);justify-content:space-between;align-items:center;padding:14px 0;display:flex}.toggle-row input{width:22px;height:22px;accent-color:var(--primary)}@media (width<=1100px){.topbar-shell{z-index:100;-webkit-backdrop-filter:blur(16px);background:#fffffff0;border-bottom:1px solid #00000012;flex-shrink:0;padding:12px 20px;position:sticky;top:0;box-shadow:0 4px 18px #0000000a}.page-shell{width:100%;min-width:0;padding:20px 16px 48px}.search-row,.doctor-search-row,.doctor-search-toolbar,.stats-grid,.detail-grid,.form-grid,.doctor-toggle-grid{grid-template-columns:1fr}.search-shell{min-width:0}}@media (width<=768px){.app-shell{grid-template-columns:1fr;height:100dvh;overflow:hidden}.main-shell{-webkit-overflow-scrolling:touch;width:100%;min-width:0;max-width:100%;height:100dvh;overflow:hidden auto}.topbar-shell{z-index:100;-webkit-backdrop-filter:blur(16px);background:#fffffff2;border-bottom:1px solid #00000014;flex-shrink:0;padding:10px 16px;position:sticky;top:0;box-shadow:0 4px 16px #0000000a}.page-shell{width:100%;min-width:0;max-width:100vw;padding:14px 10px 48px;overflow-x:hidden}.sidebar{z-index:1000;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;background:linear-gradient(#184e1d 0%,#2e7d32 100%);width:min(300px,86vw);max-width:86vw;height:100dvh;max-height:100dvh;padding:14px 14px 28px;transition:transform .28s cubic-bezier(.16,1,.3,1);position:fixed;top:0;bottom:0;left:0;overflow-y:auto;transform:translate(-100%);box-shadow:12px 0 38px #00000059}.sidebar.sidebar-open{transform:translate(0)}.sidebar-close-toggle{display:flex}.sidebar-backdrop{z-index:999;-webkit-backdrop-filter:blur(4px);cursor:pointer;background:#0f172a8c;border:none;padding:0;animation:.2s ease-out sidebarBackdropFade;display:block;position:fixed;inset:0}@keyframes sidebarBackdropFade{0%{opacity:0}to{opacity:1}}.sidebar-nav{flex-direction:column;gap:6px;width:100%;display:flex}.nav-item{border-radius:12px;padding:12px 14px;font-size:13.5px}.topbar{align-items:center;gap:12px}.topbar-actions{width:auto;margin-left:auto}.profile-chip{border:1px solid var(--border-soft);background:#2e7d320d;border-radius:999px;padding:4px 6px}.profile-avatar{border-radius:50%;width:36px;height:36px}.hide-on-mobile-sm{display:none}.header-logout-button{padding:6px 12px;font-size:12px}.topbar .eyebrow,.topbar h2,.search-shell{display:none}.topbar-title-row{flex:1;align-items:center;gap:10px;display:flex}.menu-toggle{display:inline-block}.module-intro,.section-card,.stat-card,.detail-card,.order-card{border-radius:16px}.module-intro,.section-card{padding:16px 14px}.section-card-header{flex-direction:column;align-items:flex-start;gap:10px}.submenu-bar{scrollbar-width:none;flex-wrap:nowrap;gap:6px;margin:-2px 0 10px;padding:4px 0 8px;display:flex;overflow:auto hidden}.submenu-bar::-webkit-scrollbar{display:none}.submenu-item{white-space:nowrap;border-radius:10px;flex:none;padding:8px 14px;font-size:13px}.table-shell{-webkit-overflow-scrolling:touch;border-radius:14px;width:100%;max-width:100%;overflow-x:auto}.table-shell table{min-width:560px}.toggle-row{align-items:flex-start;gap:12px}}@media (width<=560px){.app-shell{gap:0}.topbar-shell{padding:8px 12px}.page-shell{padding:12px 8px 48px}.search-shell input,.search-row input,.search-row select,.field-block input,.field-block select{height:42px;font-size:14px}.section-card-header{margin-bottom:12px}.ghost-button{justify-content:center;width:100%;min-height:42px}.form-action-row{flex-direction:column;gap:8px}.common-button{justify-content:center;width:100%;min-height:44px}}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px;transition:all .3s}::-webkit-scrollbar-thumb:hover{background:#94a3b8}*{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.toast-host{z-index:100;pointer-events:none;gap:10px;width:min(360px,100vw - 32px);display:grid;position:fixed;top:20px;right:20px}.app-toast{color:#fff;border-radius:16px;padding:14px 16px;font-weight:600;animation:.22s both toast-slide-in;box-shadow:0 14px 36px #1b1b1b2e}.app-toast-success{background:linear-gradient(180deg, var(--primary-light), var(--primary))}.app-toast-error{background:linear-gradient(180deg, #ef5350, var(--error))}.app-toast-info{background:linear-gradient(#42a5f5,#1565c0)}.common-button-loading-wrap{justify-content:center;align-items:center;gap:8px;display:inline-flex}.common-button-spinner{border:2px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:14px;height:14px;animation:.7s linear infinite common-button-spin}@keyframes common-button-spin{to{transform:rotate(360deg)}}@keyframes toast-slide-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
