:root{color:#2c3155;background:#f4f4f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.4;font-weight:400;--page: #f3f3f7;--panel: #ffffff;--border: #e6e5ef;--text: #2c3155;--muted: #85829a;--purple: #52409a;--purple-dark: #463486;--yellow: #ffbd19;--yellow-dark: #edae00;--yellow-soft: #fff4cb;--danger: #ff3d32;--danger-soft: #ffe6e4}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;background:var(--page);color:var(--text)}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;padding:18px 24px 28px;background:var(--page)}.topbar,.search-rail,.panel,.drawer-panel,.modal{background:var(--panel);border:1px solid var(--border);border-radius:8px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px}.brand-block,.topbar-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.topbar-cat-cluster{margin-right:4px}.topbar-action-cat{margin-left:2px;filter:none}.brand-logo{font-size:30px;font-weight:900;color:#f3ab00;letter-spacing:0}.brand-logo-button{border:0;background:transparent;padding:0;cursor:pointer}.profile-chip{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--text);box-shadow:0 6px 14px #2c31550f;cursor:pointer}.profile-chip span{font-weight:700}.theme-toggle{width:44px;height:44px;min-width:44px;padding:0;border-radius:999px;overflow:hidden}.theme-toggle-cat{filter:brightness(0) saturate(0) drop-shadow(0 5px 10px rgba(83,65,106,.08))}.button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border:1px solid transparent;border-radius:6px;background:#fff;color:var(--text);cursor:pointer;transition:background-color .12s ease,border-color .12s ease,color .12s ease,box-shadow .12s ease}.button:active,.quantity-button:active,.category-row:active,.product-visual:active,.product-favorite:active,.product-title:active,.cart-name:active,.cart-image-button:active,.add-to-cart-button:active,.search-clear:active,.segmented-item:active,.tab:active{transform:translateY(1px) scale(.99)}.button:disabled{opacity:.6;cursor:not-allowed}.button-primary{background:var(--purple);color:#fff}.button-primary:hover:not(:disabled){background:var(--purple-dark)}.button-danger{background:#c33d36;color:#fff}.button-danger:hover:not(:disabled){background:#a8342e}.button-secondary{border-color:var(--border);background:#fff;color:var(--text)}.button-secondary:hover:not(:disabled),.button-ghost:hover:not(:disabled){background:#f8f8fc}.button-ghost{border-color:var(--border);background:#f8f8fc;color:var(--text)}.app-shell[data-theme=dark]{--page: #15161d;--panel: #1f2230;--border: #393d54;--text: #f0eef9;--muted: #b6b3c8;--purple: #7f6ad8;--purple-dark: #6e59ca;--yellow: #ffc83b;--yellow-dark: #efb300;--yellow-soft: #4a3b08;--danger: #ff6b61;--danger-soft: #4a2320}.app-shell[data-theme=dark] .profile-chip,.app-shell[data-theme=dark] .button-secondary,.app-shell[data-theme=dark] .button-ghost,.app-shell[data-theme=dark] .search-clear,.app-shell[data-theme=dark] .field select,.app-shell[data-theme=dark] .segmented,.app-shell[data-theme=dark] .segmented-item,.app-shell[data-theme=dark] .auth-card,.app-shell[data-theme=dark] .auth-field input,.app-shell[data-theme=dark] .sync-popover,.app-shell[data-theme=dark] .confirm-dialog,.app-shell[data-theme=dark] .sync-status-modal,.app-shell[data-theme=dark] .product-card,.app-shell[data-theme=dark] .product-visual,.app-shell[data-theme=dark] .product-favorite,.app-shell[data-theme=dark] .quantity-picker,.app-shell[data-theme=dark] .quantity-row,.app-shell[data-theme=dark] .quantity-button,.app-shell[data-theme=dark] .cart-summary,.app-shell[data-theme=dark] .cart-item,.app-shell[data-theme=dark] .cart-image-button,.app-shell[data-theme=dark] .cart-notes-inline textarea,.app-shell[data-theme=dark] .modal-image,.app-shell[data-theme=dark] .modal-price-card,.app-shell[data-theme=dark] .tab,.app-shell[data-theme=dark] .empty-results,.app-shell[data-theme=dark] .empty-state,.app-shell[data-theme=dark] .history-row,.app-shell[data-theme=dark] .profile-quotes blockquote,.app-shell[data-theme=dark] .profile-quote-illustration{background:#242838;border-color:var(--border);color:var(--text)}.app-shell[data-theme=dark] .cat-doodle{filter:brightness(0) invert(1) drop-shadow(0 5px 10px rgba(0,0,0,.28))}.app-shell[data-theme=dark] .button-secondary:hover:not(:disabled),.app-shell[data-theme=dark] .button-ghost:hover:not(:disabled),.app-shell[data-theme=dark] .search-clear:hover{background:#2a2e42}.app-shell[data-theme=dark] .search-shell,.app-shell[data-theme=dark] .cart-search-shell{border-color:var(--border);background:linear-gradient(180deg,#2a2e42,#232737)}.app-shell[data-theme=dark] .category-row,.app-shell[data-theme=dark] .category-row-primary,.app-shell[data-theme=dark] .category-row-secondary{background:#242838;border-color:var(--border);color:#ece9ff}.app-shell[data-theme=dark] .category-row.active,.app-shell[data-theme=dark] .category-row-primary.active,.app-shell[data-theme=dark] .category-row-secondary.active{background:#312b49;border-color:#6254af;color:#fff}.app-shell[data-theme=dark] .category-count{color:#d6d2e7}.app-shell[data-theme=dark] .panel-head h2,.app-shell[data-theme=dark] .drawer-head h2,.app-shell[data-theme=dark] .modal-head h3,.app-shell[data-theme=dark] .product-title,.app-shell[data-theme=dark] .product-section-title{color:#ece9ff}.app-shell[data-theme=dark] .catalog-summary,.app-shell[data-theme=dark] .ordered-panel-count,.app-shell[data-theme=dark] .results-age,.app-shell[data-theme=dark] .results-age strong,.app-shell[data-theme=dark] .results-age-label{color:#c9c6d9}.app-shell[data-theme=dark] .search-icon,.app-shell[data-theme=dark] .search-input::placeholder,.app-shell[data-theme=dark] .cart-search-input::placeholder{color:#aaa7bf}.app-shell[data-theme=dark] .placeholder{background:linear-gradient(180deg,#2b3044,#242838)}.app-shell[data-theme=dark] .product-visual,.app-shell[data-theme=dark] .cart-image-button,.app-shell[data-theme=dark] .modal-image,.app-shell[data-theme=dark] .product-image,.app-shell[data-theme=dark] .cart-image{background:#11131a}.app-shell[data-theme=dark] .ordered-panel-toggle{background:#2a2542;border-color:#504690;color:#d4cbff}.app-shell[data-theme=dark] .promo-toggle{background:#4a3b08;border-color:#7a6112;color:#ffd975}.app-shell[data-theme=dark] .promo-toggle:hover:not(:disabled){background:#59470b;border-color:#907118}.app-shell[data-theme=dark] .promo-toggle.active,.app-shell[data-theme=dark] .promo-toggle.active:hover:not(:disabled){background:#f4aa00;border-color:#dc9400;color:#4f3800}.app-shell[data-theme=dark] .product-favorite.active{background:#4a3b08;border-color:#a7831a;color:#ffd86e}.app-shell[data-theme=dark] .official-cart-card{background:#342c17;border-color:#766225}.app-shell[data-theme=dark] .official-cart-install{background:#3c2820;border-color:#7b5448}.app-shell[data-theme=dark] .official-cart-message{color:#d7d4e6}.app-shell[data-theme=dark] .official-cart-message.action-required,.app-shell[data-theme=dark] .notice-error,.app-shell[data-theme=dark] .sync-popover-error{background:#472728;border-color:#8c4c50;color:#ffd2cd}.app-shell[data-theme=dark] .cart-remove{background:#3c2326;border-color:#8a4a50;color:#ffc3bf}.app-shell[data-theme=dark] .profile-modal{background:#1f2230;border-color:var(--border);box-shadow:0 18px 46px #00000061}.app-shell[data-theme=dark] .profile-modal h3{color:#f0eef9}.app-shell[data-theme=dark] .profile-chip .cat-doodle,.app-shell[data-theme=dark] .profile-modal-avatar,.app-shell[data-theme=dark] .profile-quote-illustration img,.app-shell[data-theme=dark] .theme-toggle-cat{filter:brightness(0) invert(1) drop-shadow(0 5px 10px rgba(0,0,0,.28))}.app-shell[data-theme=dark] .tab.active{border-color:#5b4ea5;background:#2c2647;color:#d7d1ff}.app-shell[data-theme=dark] .sync-popover-section,.app-shell[data-theme=dark] .sync-status-progress,.app-shell[data-theme=dark] .sync-status-stat,.app-shell[data-theme=dark] .sync-status-errors,.app-shell[data-theme=dark] .sync-status-note,.app-shell[data-theme=dark] .sync-settings-card,.app-shell[data-theme=dark] .detail-row{border-color:#31354a}.app-shell[data-theme=dark] .modal,.app-shell[data-theme=dark] .orders-modal,.app-shell[data-theme=dark] .sync-status-modal,.app-shell[data-theme=dark] .drawer-panel,.app-shell[data-theme=dark] .sync-popover,.app-shell[data-theme=dark] .confirm-dialog{color:var(--text)}.app-shell[data-theme=dark] .modal-subtitle,.app-shell[data-theme=dark] .history-summary,.app-shell[data-theme=dark] .history-row,.app-shell[data-theme=dark] .detail-label,.app-shell[data-theme=dark] .product-compare-price,.app-shell[data-theme=dark] .order-summary-date,.app-shell[data-theme=dark] .order-summary-meta,.app-shell[data-theme=dark] .orders-detail-meta,.app-shell[data-theme=dark] .orders-detail-meta span,.app-shell[data-theme=dark] .orders-detail-stats,.app-shell[data-theme=dark] .order-item-meta,.app-shell[data-theme=dark] .order-item-message,.app-shell[data-theme=dark] .sync-settings-copy span,.app-shell[data-theme=dark] .sync-settings-next,.app-shell[data-theme=dark] .sync-status-note,.app-shell[data-theme=dark] .confirm-dialog p,.app-shell[data-theme=dark] .confirm-dialog-kicker,.app-shell[data-theme=dark] .confirm-habit-empty,.app-shell[data-theme=dark] .live-candidate-meta,.app-shell[data-theme=dark] .archived-search-shell .cart-search-input,.app-shell[data-theme=dark] .archived-search-shell .cart-search-input::placeholder{color:var(--muted)}.app-shell[data-theme=dark] .detail-value,.app-shell[data-theme=dark] .detail-value a,.app-shell[data-theme=dark] .order-summary-title,.app-shell[data-theme=dark] .orders-detail-head h4,.app-shell[data-theme=dark] .order-item-name,.app-shell[data-theme=dark] .order-item-name.static,.app-shell[data-theme=dark] .sync-settings-copy strong,.app-shell[data-theme=dark] .sync-status-errors-title,.app-shell[data-theme=dark] .confirm-habit-title,.app-shell[data-theme=dark] .confirm-habit-item span,.app-shell[data-theme=dark] .live-candidate-name,.app-shell[data-theme=dark] .live-candidates-head h4,.app-shell[data-theme=dark] .confirm-dialog h3{color:var(--text)}.app-shell[data-theme=dark] .chart{background:#232737}.cart-button{min-width:134px}.cart-button-with-icon{position:relative;padding-left:58px;overflow:hidden}.cart-button-with-icon:before{content:"";position:absolute;inset:0 auto 0 0;width:42px;background:linear-gradient(180deg,#ffffff0f,#fff0),#463486 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='22' viewBox='0 0 26 22'%3E%3Cpath fill='white' d='M8.2 2.4c.2-.9 1-1.4 1.9-1.2.8.1 1.4.9 1.2 1.8l-.2 1H24c.5 0 1 .2 1.3.6.3.4.4.9.3 1.4l-1.8 9.6c-.1.8-.8 1.4-1.7 1.4H9c-.8 0-1.5-.6-1.7-1.3L5.4 6.8H3.2c-.9 0-1.6-.7-1.6-1.6s.7-1.6 1.6-1.6h1.5l.4-2.2Zm1.3 17.2a2.3 2.3 0 1 1 0 0Zm10.2 0a2.3 2.3 0 1 1 0 0Z'/%3E%3C/svg%3E") center center / 22px 18px no-repeat;border-right:1px solid rgba(255,255,255,.1)}.sync-header-button{min-height:34px;padding:0 10px;font-size:13px}.orders-import-button{gap:10px}.orders-import-button-cat{filter:none}.produce-sync-header-button{padding:0 12px}.notice{margin-top:14px;padding:13px 15px;border-radius:8px;border:1px solid var(--border)}.notice-dismissible{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.notice-copy{display:grid;gap:4px;min-width:0}.notice-close{flex:0 0 auto;width:28px;height:28px;border:1px solid rgba(0,0,0,.08);border-radius:999px;background:#ffffffad;color:inherit;font-size:18px;line-height:1;cursor:pointer}.notice-close:hover{background:#ffffffe6}.notice-error{border-color:#efb2af;background:#fff5f4;color:#b33d36}.notice-info{border-color:#d8d2ef;background:#f7f5ff;color:var(--text)}.app-shell[data-theme=dark] .notice-info{border-color:#4b4570;background:#27233a;color:#f0eef9}.app-shell[data-theme=dark] .notice-close{background:#242838e6;border-color:#ffffff1a}.results-age{display:flex;gap:8px;align-items:center;color:var(--muted)}.results-age-cat{align-self:center;margin-right:2px}.results-age-label,.panel-kicker,.sync-popover-title,.detail-label,.product-quantity-label,.product-subline,.page-indicator,.cart-pricing,.cart-pricing-note,.modal-subtitle,.history-summary,.history-row{font-size:12px;color:var(--muted)}.results-age strong{color:var(--text);font-size:13px}.sync-menu-wrap{position:relative}.sync-popover{position:absolute;top:calc(100% + 8px);right:0;width:300px;padding:14px;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 18px 40px #28244924;z-index:10}.sync-popover-title{margin-bottom:10px;text-transform:uppercase}.sync-popover-line{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:13px}.sync-popover-error{margin:10px 0;padding:9px 10px;border-radius:6px;background:#fff4f3;color:#b33d36;font-size:12px}.sync-popover-button{width:100%;margin-top:4px}.sync-popover-actions{display:grid;gap:8px;margin-top:4px}.sync-popover-section{margin-top:12px;padding-top:12px;border-top:1px solid #f0eef6}.sync-popover-note{margin-top:8px;font-size:12px;color:var(--muted);line-height:1.45}.search-rail{margin-top:16px;padding:28px 16px 16px;display:grid;grid-template-columns:minmax(360px,1fr) auto;gap:12px;align-items:center}.search-rail-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.search-shell{position:relative;display:flex;align-items:center;min-height:56px;padding:0 14px 0 48px;border:1px solid #dddce7;border-radius:8px;background:linear-gradient(180deg,#fafafd,#f5f5fa)}.search-icon{position:absolute;left:16px;color:#8d89a4;font-size:18px}.search-input{width:100%;border:0;background:transparent;color:var(--text);font-size:22px;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.search-input::placeholder{color:#9994ab}.search-clear{border:1px solid #dddce7;background:#fff;color:#8d89a4;width:28px;height:28px;border-radius:999px;font-size:18px;line-height:1;cursor:pointer}.search-clear:hover{border-color:#c9c7d8;color:var(--text)}.promo-toggle{min-width:130px;background:#fff8dc;border-color:#f2df9b;color:#715300;font-weight:700;width:100%}.promo-toggle:hover:not(:disabled){background:#fff3be;border-color:#e8d17d}.promo-toggle.active,.promo-toggle.active:hover:not(:disabled){background:#f4aa00;border-color:#dc9400;color:#4f3800;box-shadow:inset 0 0 0 1px #8c5a0014}.field,.density-toggle{position:relative;display:flex;align-items:center;min-height:56px}.rail-control{align-self:center}.field span,.density-toggle span{position:absolute;top:-16px;left:0;min-height:0}.action-field span{opacity:0;pointer-events:none}.field span,.density-toggle span{font-size:12px;color:var(--muted)}.field select{min-width:138px;height:40px;padding:0 12px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--text)}.field select:focus,.cart-notes-inline textarea:focus{outline:2px solid rgba(82,64,154,.16);border-color:var(--purple)}.segmented{display:inline-flex;border:1px solid var(--border);border-radius:6px;overflow:hidden;background:#fff}.segmented-item{min-width:88px;min-height:40px;padding:0 14px;border:0;background:transparent;color:var(--muted);cursor:pointer}.segmented-item.active{background:var(--purple);color:#fff}.layout{margin-top:16px;display:grid;grid-template-columns:258px minmax(0,1fr);gap:18px;align-items:start}.content-stack{display:grid;gap:18px;min-width:0}.panel{padding:16px}.sidebar{position:sticky;top:16px}.panel-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}.panel-head h2,.drawer-head h2,.modal-head h3{margin:0;font-size:18px;line-height:1.2}.panel-title-with-cat{display:inline-flex;align-items:center;gap:8px}.reactive-divider-cat{transition:transform .16s ease,filter .16s ease}.reactive-divider-cat.is-alert{transform:rotate(-4deg) translateY(-1px)!important}.cat-cluster{display:inline-flex;align-items:end;gap:8px}.cat-doodle{flex:0 0 auto;display:block;object-fit:contain;object-position:center;filter:drop-shadow(0 5px 10px rgba(83,65,106,.08))}.cat-cluster .cat-doodle:nth-child(1){transform:rotate(-4deg)}.cat-cluster .cat-doodle:nth-child(2){transform:translateY(4px)}.cat-cluster .cat-doodle:nth-child(3){transform:rotate(5deg)}.auth-cat-cluster{justify-content:center}.auth-cat-single{justify-self:center}.category-list{display:grid;gap:6px;max-height:calc(100vh - 220px);overflow:auto;padding-right:2px}.category-divider{height:150px;margin:18px 0 24px;display:grid;place-items:center}.category-doodle{padding:8px 0;filter:none}.category-row{width:100%;display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 12px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--purple);text-align:left;cursor:pointer}.category-row.active{border-color:#d6d2ea;background:#f6f4fd}.category-row-primary{padding:13px 14px;border-color:#d7d1ed;background:#fff;color:var(--purple);font-weight:700}.category-row-primary.active{border-color:#d6d2ea;background:#f6f4fd}.category-row-secondary{padding:9px 12px;margin-top:6px;border-style:dashed;color:#675c97;font-size:13px;font-weight:500;background:#fbfaff}.category-row-secondary.active{border-color:#cfc8ea;background:#f3efff}.category-name{line-height:1.3}.category-count{flex:0 0 auto;color:var(--muted)}.catalog,.ordered-panel,.archived-panel{min-width:0}.archived-empty-results{min-height:180px}.catalog-head{align-items:end}.catalog-summary{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;font-size:12px;color:var(--muted)}.ordered-panel-toggle{min-height:38px;padding:0 14px;background:#f6f4fd;border-color:#d9d3f0;color:var(--purple);font-weight:700}.ordered-panel-title-wrap{display:inline-flex;align-items:center;gap:10px}.panel-sections{display:grid;gap:18px}.product-section{display:grid;gap:10px}.product-section-title{font-size:13px;font-weight:700;color:var(--purple)}.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 14px}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(202px,1fr));gap:14px}.app-shell[data-density=compact] .product-grid{grid-template-columns:repeat(auto-fill,minmax(156px,1fr));gap:10px}.product-card{position:relative;display:grid;grid-template-rows:auto 1fr;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 8px 18px #2d2a4c0f;min-height:470px}.product-favorite{position:absolute;top:10px;right:10px;z-index:2;width:40px;height:40px;border:1px solid #dfdde9;border-radius:999px;background:#fff;color:#c2bfd0;font-size:20px;line-height:1;cursor:pointer;display:grid;place-items:center;box-shadow:0 8px 18px #2c315514}.product-favorite.active{background:#fff8d7;border-color:#f1d778;color:#8a6200;box-shadow:0 10px 20px #7e590024}.favorite-glyph{transform:translateY(-1px);font-size:20px}.product-visual{position:relative;display:grid;place-items:center;aspect-ratio:1 / 1;padding:18px 14px 10px;border:0;background:#fff;cursor:pointer}.product-image,.modal-image{width:100%;height:100%;object-fit:contain;display:block}.archived-product-image{display:grid;place-items:center}.placeholder{background:linear-gradient(180deg,#f5f5fb,#fbfbfe)}.discount-badge{position:absolute;top:14px;left:14px;min-width:74px;padding:8px 12px;border-radius:999px;background:var(--danger);color:#fff;font-size:18px;font-weight:800}.product-content{display:grid;grid-template-rows:62px 18px 18px 42px 54px 40px;align-content:start;gap:8px;padding:0 12px 14px}.product-title{padding:0;border:0;background:transparent;color:var(--purple);font-size:16px;line-height:1.3;text-align:center;cursor:pointer;min-height:62px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.product-subline{min-height:18px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase}.product-quantity-label{text-align:center;font-size:13px}.quantity-picker,.quantity-row{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;border:1px solid #d8d7e3;border-radius:6px;overflow:hidden;background:#fff}.quantity-button{min-height:40px;border:0;border-right:1px solid #d8d7e3;background:#fff;color:#33405c;font-size:32px;line-height:1;cursor:pointer}.quantity-picker .quantity-button:last-child{border-right:0;border-left:1px solid #d8d7e3}.quantity-row .quantity-button{min-height:34px;border:1px solid #d8d7e3;border-radius:6px;font-size:26px}.quantity-value{min-height:40px;display:grid;place-items:center;font-size:22px;color:#b8b5c8}.quantity-row .quantity-value{min-height:34px;font-size:18px;color:var(--text)}.product-price-block{display:grid;gap:4px;justify-items:center;align-content:start;min-height:54px;padding-bottom:8px}.product-price{color:#f03632;font-size:18px;font-weight:800}.product-price-meta{display:grid;grid-template-columns:1fr;gap:2px;justify-content:center;justify-items:center;color:var(--muted);font-size:12px;min-height:30px}.archived-product-note{min-height:42px;display:grid;place-items:center;color:var(--muted);text-align:center;font-size:13px}.product-old-price{color:#8e8aa1;text-decoration:line-through}.product-compare-price{color:var(--muted)}.add-to-cart-button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:40px;border:0;border-radius:4px;background:var(--purple);color:var(--yellow);font-size:15px;font-weight:700;cursor:pointer;margin-top:8px;padding:0 16px 0 64px;overflow:hidden}.add-to-cart-button:hover:not(:disabled){background:var(--purple-dark)}.add-to-cart-button:before{content:"";position:absolute;inset:0 auto 0 0;width:48px;background:linear-gradient(180deg,#ffffff0f,#fff0),#463486 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='22' viewBox='0 0 26 22'%3E%3Cpath fill='white' d='M8.2 2.4c.2-.9 1-1.4 1.9-1.2.8.1 1.4.9 1.2 1.8l-.2 1H24c.5 0 1 .2 1.3.6.3.4.4.9.3 1.4l-1.8 9.6c-.1.8-.8 1.4-1.7 1.4H9c-.8 0-1.5-.6-1.7-1.3L5.4 6.8H3.2c-.9 0-1.6-.7-1.6-1.6s.7-1.6 1.6-1.6h1.5l.4-2.2Zm1.3 17.2a2.3 2.3 0 1 1 0 0Zm10.2 0a2.3 2.3 0 1 1 0 0Z'/%3E%3C/svg%3E") center center / 24px 20px no-repeat;border-right:1px solid rgba(255,255,255,.1)}.empty-results,.empty-state{padding:28px 16px;border:1px dashed #d4d2df;border-radius:8px;text-align:center;color:var(--muted);background:#fcfcfe}.empty-state-with-cat{display:grid;justify-items:center;gap:10px}.empty-state-cats{margin-bottom:2px}.empty-results{display:grid;justify-items:center;gap:12px}.empty-results-action{background:#f6f4fd;border:1px solid #ddd7f3;border-radius:6px;padding:8px 12px;color:var(--purple)}.click-cat-burst{position:fixed;width:56px;height:56px;display:grid;place-items:center;transform:translate(-50%,-50%);pointer-events:none;z-index:90;animation:click-cat-fade 1s linear forwards;border-radius:999px;background:#fffffff7;border:1px solid #efe6b5;box-shadow:0 10px 22px #2c31552e}.click-cat-burst .cat-doodle{filter:none}@keyframes click-cat-fade{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-18px) scale(1.08)}}.drawer-backdrop,.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#19182861;z-index:30}.confirm-dialog{width:min(620px,calc(100vw - 32px));max-height:calc(100vh - 20px);padding:20px;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 18px 46px #2a27462e;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:16px;overflow:hidden}.confirm-dialog-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:999px;font-size:22px;font-weight:800;justify-self:center}.confirm-dialog-icon .cat-doodle{filter:none}.confirm-dialog[data-tone=primary] .confirm-dialog-icon{background:#f6f4fd;color:var(--purple)}.confirm-dialog[data-tone=danger] .confirm-dialog-icon{background:#fff1f0;color:#c33d36}.confirm-dialog-copy{display:grid;gap:6px;text-align:center;min-height:0;overflow:hidden;overscroll-behavior:contain;padding-right:4px}.confirm-dialog-kicker{font-size:12px;color:var(--muted);text-transform:uppercase}.confirm-dialog h3{margin:0;font-size:22px;line-height:1.2}.confirm-dialog p{margin:0;color:#5a5670;line-height:1.5}.confirm-dialog-details{margin-top:6px;min-height:0;overflow:hidden;max-height:min(520px,58vh);overscroll-behavior:contain}.confirm-message-mascot{display:grid;justify-items:center;margin-bottom:4px}.confirm-message-mascot .cat-doodle{filter:none}.confirm-habit-panel{display:grid;gap:10px;padding:12px;border:1px solid #efe3b0;border-radius:8px;background:#fffdf7}.confirm-habit-title{font-size:13px;font-weight:700;color:var(--text);text-align:left}.confirm-habit-scroll{max-height:min(500px,50vh);overflow:auto;overscroll-behavior:contain;padding-right:2px}.confirm-habit-list{list-style:none;display:grid;gap:8px;padding:0;margin:0}.confirm-habit-list li{display:block}.confirm-habit-item{width:100%;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:10px;padding:8px 10px;border:1px solid #f0ecda;border-radius:6px;background:#fff;text-align:left;cursor:pointer}.confirm-habit-item:hover{background:#fffaf0}.confirm-habit-image{width:40px;height:40px;border-radius:6px;object-fit:contain;background:#fff;border:1px solid #f0ecda}.confirm-habit-image.placeholder{display:block}.confirm-habit-item span{font-size:14px;color:var(--text);line-height:1.35}.confirm-habit-empty{font-size:12px;color:var(--muted);text-align:left}.confirm-dialog-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--border);background:inherit;position:sticky;bottom:0;z-index:1}.sync-status-backdrop{z-index:42}.sync-status-modal{width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 36px);display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid var(--border);border-radius:8px;background:var(--panel);box-shadow:0 18px 46px #2a27462e;overflow:hidden}.sync-status-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--border)}.sync-status-head h3{margin:0;font-size:22px;line-height:1.2}.sync-status-body{min-height:0;overflow:auto;padding:18px 20px 20px;display:grid;gap:16px}.sync-status-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}.sync-status-summary strong{font-size:24px;color:var(--text)}.sync-status-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border-radius:999px;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.02em}.sync-status-badge.idle{background:#f1f0f6;color:#655f81}.sync-status-badge.running{background:var(--yellow-soft);color:#805b00}.sync-status-badge.success{background:#edf8ef;color:#23713b}.sync-status-badge.failed{background:#fff0ee;color:#b13d36}.sync-status-progress{display:grid;gap:8px;padding:14px 16px;border:1px solid var(--border);border-radius:8px;background:color-mix(in srgb,var(--panel) 70%,#f7f6fb 30%)}.sync-status-progress-topline{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:13px}.sync-status-progress-topline strong{color:var(--text)}.sync-status-progress-track{height:10px;border-radius:999px;background:#eceaf4;overflow:hidden}.sync-status-progress-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--yellow),var(--purple));transition:width .22s ease}.sync-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.sync-status-stat{display:grid;gap:6px;padding:14px;border:1px solid var(--border);border-radius:8px;background:color-mix(in srgb,var(--panel) 75%,#f8f7fc 25%)}.sync-status-stat span{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.02em}.sync-status-stat strong{color:var(--text);font-size:16px;line-height:1.3}.sync-status-errors,.sync-status-note{display:grid;gap:10px;padding:14px 16px;border:1px solid var(--border);border-radius:8px;background:color-mix(in srgb,var(--panel) 74%,#f8f7fc 26%)}.sync-status-errors-title{font-size:13px;font-weight:800;color:var(--text)}.sync-status-errors-list{max-height:min(220px,28vh);overflow:auto;display:grid;gap:8px}.sync-status-error{padding:10px 12px;border:1px solid #f1d0cc;border-radius:8px;background:#fff5f3;color:#8f3e39;line-height:1.45}.sync-status-note{color:var(--muted);line-height:1.5}.sync-settings-card{display:grid;gap:12px;padding:16px;border:1px solid var(--border);border-radius:8px;background:color-mix(in srgb,var(--panel) 74%,#f8f7fc 26%)}.sync-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.sync-settings-head h4{margin:0;font-size:18px;line-height:1.3;color:var(--text)}.sync-settings-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:12px 0;border-top:1px solid var(--border)}.sync-settings-row:first-of-type{border-top:0;padding-top:0}.sync-settings-copy{display:grid;gap:4px}.sync-settings-copy strong{color:var(--text)}.sync-settings-copy span{color:var(--muted);line-height:1.45;font-size:13px}.sync-settings-next{font-weight:700}.sync-settings-controls{display:inline-flex;align-items:center;gap:10px}.sync-settings-controls-stacked{gap:8px}.sync-settings-controls input[type=checkbox]{width:18px;height:18px;accent-color:var(--purple);cursor:pointer}.sync-settings-controls select,.sync-time-input{min-height:38px;padding:0 10px;border:1px solid var(--border);border-radius:6px;background:var(--panel);color:var(--text)}.sync-time-input{min-width:108px}.drawer-panel{position:absolute;top:0;right:0;width:min(620px,96vw);height:100%;overflow:auto;padding:18px;box-shadow:-18px 0 40px #2a27462e}.drawer-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}.drawer-head-actions,.drawer-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.drawer-toolbar{display:grid;gap:12px;margin-top:12px}.cart-search-shell{position:relative;display:flex;align-items:center;min-height:46px;padding:0 12px 0 42px;border:1px solid #dddce7;border-radius:8px;background:linear-gradient(180deg,#fafafd,#f5f5fa)}.cart-search-input{width:100%;border:0;background:transparent;color:var(--text);font-size:16px;outline:0}.cart-density-toggle{justify-items:start}.cart-summary{margin-bottom:12px;padding:14px;border-radius:8px;background:#fafafe;border:1px solid var(--border)}.cart-total{font-size:28px;font-weight:800}.official-cart-card{margin-bottom:12px;padding:14px;border-radius:8px;background:#fffdf7;border:1px solid #efe3b0;display:grid;gap:10px}.official-cart-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.official-cart-cats{opacity:.96}.official-cart-status-cat{filter:none}.official-cart-copy{display:grid;gap:4px}.official-cart-title{font-weight:700;color:var(--text)}.official-cart-meta{color:var(--muted);font-size:13px;line-height:1.4}.official-cart-actions{display:flex;gap:8px;flex-wrap:wrap}.official-cart-install{display:grid;gap:10px;padding:12px;border-radius:10px;border:1px solid #f0d7d4;background:#fff7f2}.official-cart-install-copy{display:grid;gap:4px}.official-cart-install-copy strong{color:var(--text)}.official-cart-install-copy span{color:var(--muted);font-size:13px}.official-cart-message{display:flex;align-items:flex-start;gap:8px;padding-top:2px;color:#4f4a62;font-size:13px;line-height:1.45}.official-cart-message.action-required{margin-top:2px;padding:10px 12px;border:1px solid #efb2af;border-radius:8px;background:#fff1f0;color:#b33d36;font-weight:700}.official-cart-issues{display:grid;gap:10px;padding:12px;border:1px solid #efc7c3;border-radius:8px;background:#fff6f5}.official-cart-issues-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.official-cart-issues-title{font-size:13px;font-weight:700;color:var(--text)}.official-cart-issues-orders{min-height:32px;padding:0 10px;font-size:12px}.official-cart-issues-list{display:grid;gap:8px}.official-cart-issue-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;padding:10px;border:1px solid #f0d7d4;border-radius:8px;background:#fff}.official-cart-issue-main{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;border:0;padding:0;background:transparent;text-align:left;cursor:pointer}.official-cart-issue-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.official-cart-issue-copy{min-width:0;display:grid;gap:3px}.official-cart-issue-name{font-size:13px;font-weight:700;color:var(--text)}.official-cart-issue-message{font-size:12px;color:var(--muted);line-height:1.4}.official-cart-alert{width:20px;height:20px;display:inline-grid;place-items:center;border-radius:999px;background:#c53f38;color:#fff;font-size:12px;font-weight:800;flex:0 0 auto}.orders-backdrop{z-index:34}.orders-modal{width:min(1180px,calc(100vw - 32px));height:min(880px,calc(100vh - 36px));display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid var(--border);border-radius:8px;background:var(--panel);box-shadow:0 18px 46px #2a27462e;overflow:hidden}.orders-modal[data-has-notice=true]{grid-template-rows:auto auto minmax(0,1fr)}.orders-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--border)}.orders-modal-head h3{margin:0;font-size:22px;line-height:1.2}.orders-modal-actions{display:flex;gap:8px;flex-wrap:wrap}.orders-missing-connector-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:auto}.orders-import-notice{display:flex;gap:8px;align-items:flex-start;padding:12px 20px 14px;border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--panel) 84%,#f8f7fc 16%);color:var(--text);font-size:13px;position:relative;z-index:1}.orders-import-notice.error{color:#b33d36}.orders-modal-body{min-height:0;display:grid;grid-template-columns:minmax(280px,330px) minmax(0,1fr)}.orders-list-pane,.orders-detail-pane{min-height:0;overflow:auto;padding:16px}.orders-list-pane{border-right:1px solid var(--border)}.orders-list{display:grid;gap:10px}.order-summary-card{width:100%;display:grid;gap:8px;padding:12px;border:1px solid var(--border);border-radius:8px;background:#fff;text-align:left;cursor:pointer}.order-summary-card.active{border-color:#cfc9ea;background:#f8f6ff}.order-filter-pill{min-height:30px;padding:0 12px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--muted);cursor:pointer}.order-filter-pill.active{border-color:#d7d1ed;background:#f6f4fd;color:var(--purple);font-weight:700}.order-summary-topline,.orders-detail-topline{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.order-summary-title{font-size:15px;font-weight:700;color:var(--text)}.order-summary-date,.orders-detail-meta{font-size:12px;color:var(--muted)}.order-summary-meta,.orders-detail-stats{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.orders-detail{display:grid;gap:14px}.orders-detail-head{display:flex;gap:14px;align-items:flex-start;justify-content:space-between}.orders-detail-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.orders-detail-head h4{margin:0;font-size:20px;line-height:1.2}.orders-note{padding:10px 12px;border:1px solid #efe3b0;border-radius:8px;background:#fffdf7;color:var(--text);font-size:13px}.order-source-badge,.order-status-badge,.order-item-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:700}.order-source-badge.official{background:#f5f3ff;color:var(--purple)}.order-source-badge.sent_to_bringo{background:#fff5d5;color:#8a6200}.order-status-badge.imported,.order-item-badge.matched,.order-item-badge.synced{background:#edf8ef;color:#227443}.order-status-badge.sent{background:#eef7ff;color:#2e6393}.order-status-badge.partial,.order-item-badge.mismatch,.order-item-badge.ambiguous{background:#fff4d9;color:#8a6200}.order-item-badge.promoted{background:#efe8ff;color:#5d43b2}.order-status-badge.failed,.order-item-badge.failed,.order-item-badge.unmatched{background:#fff0ef;color:#b33d36}.order-items-list{display:grid;gap:10px}.order-item-row{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:12px;border:1px solid var(--border);border-radius:8px;background:#fff}.order-item-main{min-width:0;display:grid;grid-template-columns:54px minmax(0,1fr);gap:12px;align-items:start}.order-item-image{width:54px;height:54px;object-fit:contain;border-radius:8px;background:#fff;border:1px solid var(--border)}.order-item-image.placeholder{display:grid;place-items:center;background:#4648660f}.order-item-image.placeholder.cat{border-style:dashed}.order-item-copy{min-width:0;display:grid;gap:4px}.order-item-name{padding:0;border:0;background:transparent;color:var(--purple);text-align:left;font-weight:700;cursor:pointer}.order-item-name.static{color:var(--text);cursor:default}.order-item-meta,.order-item-message{font-size:12px;color:var(--muted)}.order-item-meta{display:flex;gap:10px;flex-wrap:wrap}.app-shell[data-theme=dark] .official-cart-issues{background:#382428;border-color:#77474d}.app-shell[data-theme=dark] .official-cart-issue-row,.app-shell[data-theme=dark] .order-summary-card,.app-shell[data-theme=dark] .order-item-row{background:#242838;border-color:var(--border)}.app-shell[data-theme=dark] .order-summary-card.active{background:#2c2647;border-color:#5b4ea5}.app-shell[data-theme=dark] .order-source-badge.official{background:#2c2647;color:#d7d1ff}.app-shell[data-theme=dark] .order-source-badge.sent_to_bringo{background:#4a3b08;color:#ffd975}.app-shell[data-theme=dark] .order-status-badge.imported,.app-shell[data-theme=dark] .order-item-badge.matched,.app-shell[data-theme=dark] .order-item-badge.synced{background:#1f4030;color:#b8f0cb}.app-shell[data-theme=dark] .order-status-badge.sent{background:#20354c;color:#bbe0ff}.app-shell[data-theme=dark] .order-status-badge.partial,.app-shell[data-theme=dark] .order-item-badge.mismatch,.app-shell[data-theme=dark] .order-item-badge.ambiguous{background:#4a3b08;color:#ffd975}.app-shell[data-theme=dark] .order-status-badge.failed,.app-shell[data-theme=dark] .order-item-badge.failed,.app-shell[data-theme=dark] .order-item-badge.unmatched{background:#472728;color:#ffd2cd}.app-shell[data-theme=dark] .order-item-badge.promoted{background:#342c55;color:#dfd6ff}.app-shell[data-theme=dark] .order-filter-pill{background:#242838;border-color:var(--border);color:var(--muted)}.app-shell[data-theme=dark] .order-filter-pill.active{background:#2c2647;border-color:#5b4ea5;color:#f0eef9}.app-shell[data-theme=dark] .orders-note{background:#2f2a16;border-color:#705f25;color:#f0eef9}.app-shell[data-theme=dark] .live-candidates-card,.app-shell[data-theme=dark] .live-candidate-row{background:#242838;border-color:var(--border)}.app-shell[data-theme=dark] .archived-live-candidate-row.preferred{background:#2b2750;border-color:#6255b2}.app-shell[data-theme=dark] .live-candidate-image{background:#1f2230;border-color:#ffffff1f}.app-shell[data-theme=dark] .live-candidate-name,.app-shell[data-theme=dark] .live-candidates-head h4{color:var(--text-strong, #f3f4fb)}.app-shell[data-theme=dark] .live-candidate-meta,.app-shell[data-theme=dark] .live-candidates-empty{color:var(--text-soft, #d8dbeb)}.app-shell[data-theme=dark] .confirm-habit-panel,.app-shell[data-theme=dark] .confirm-habit-item,.app-shell[data-theme=dark] .confirm-habit-image,.app-shell[data-theme=dark] .confirm-habit-scroll{background:#242838;border-color:var(--border)}.app-shell[data-theme=dark] .confirm-habit-title,.app-shell[data-theme=dark] .confirm-habit-item span{color:var(--text)}.app-shell[data-theme=dark] .confirm-habit-item:hover{background:#2b3044}.app-shell[data-theme=dark] .candidate-icon-button,.app-shell[data-theme=dark] .candidate-link-button{background:#242838;border-color:var(--border);color:var(--text)}.app-shell[data-theme=dark] .archived-search-button,.app-shell[data-theme=dark] .detail-link-button{color:var(--text)}.app-shell[data-theme=dark] .replicate-flow-item{background:#242838;border-color:var(--border);color:var(--text)}.app-shell[data-theme=dark] .replicate-flow-item.active{background:#2b2750;border-color:#6255b2}.app-shell[data-theme=dark] .confirm-habit-empty{color:var(--muted)}.cart-list{display:grid;gap:10px;margin-top:14px}.cart-item{position:relative;display:grid;gap:8px;padding:12px 56px 12px 12px;border:1px solid var(--border);border-radius:8px;background:#fff}.cart-item-main{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;align-items:start}.cart-image-button{width:112px;height:112px;padding:8px;border:1px solid var(--border);border-radius:8px;background:#fff;cursor:pointer}.cart-image{width:100%;height:100%;object-fit:contain;display:block}.cart-copy{display:grid;gap:4px;min-width:0}.cart-name{padding:0;border:0;background:transparent;text-align:left;color:var(--text);font-weight:700;cursor:pointer}.cart-brand{font-size:12px;color:var(--muted);text-transform:uppercase;min-height:18px}.cart-pricing{display:grid;gap:2px}.cart-price-row{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.cart-current-price{color:#f03632;font-size:13px;font-weight:700}.cart-price-meta{display:flex;gap:8px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.cart-remove{min-height:34px;padding:0 10px;border:1px solid #efc1bd;border-radius:6px;background:#fff7f6;color:#b33d36;cursor:pointer}.drawer-panel[data-density=compact] .cart-item-main{grid-template-columns:74px minmax(0,1fr)}.drawer-panel[data-density=compact] .cart-image-button{width:74px;height:74px}.cart-line-total{width:100%;font-size:24px;font-weight:900;color:var(--purple);text-align:center}.cart-line-actions{display:grid;grid-template-columns:max-content auto;gap:10px;align-items:start}.cart-quantity-stack{display:grid;justify-items:center;width:max-content;gap:6px}.cart-line-actions .quantity-row{grid-template-columns:34px 42px 34px;gap:8px;border:0;background:transparent;overflow:visible}.cart-notes-inline textarea{width:100%;min-height:38px;max-height:110px;padding:8px 12px;border:1px solid var(--border);border-radius:6px;resize:none;overflow:hidden;line-height:1.35}.drawer-panel[data-density=compact] .cart-list{gap:8px}.drawer-panel[data-density=compact] .cart-item{gap:6px;padding:10px 46px 10px 10px}.drawer-panel[data-density=compact] .cart-name{font-size:14px;line-height:1.3}.drawer-panel[data-density=compact] .cart-brand,.drawer-panel[data-density=compact] .cart-price-meta,.drawer-panel[data-density=compact] .cart-pricing-note,.drawer-panel[data-density=compact] .cart-line-total{font-size:15px}.drawer-panel[data-density=compact] .quantity-row .quantity-button,.drawer-panel[data-density=compact] .quantity-row .quantity-value,.drawer-panel[data-density=compact] .cart-remove{min-height:30px}.drawer-panel[data-density=compact] .cart-line-actions{gap:8px}.drawer-panel[data-density=compact] .cart-line-actions .quantity-row{grid-template-columns:30px 38px 30px;gap:6px}.drawer-panel[data-density=compact] .cart-notes-inline textarea{min-height:34px;padding:7px 10px;font-size:13px}.modal-backdrop{display:grid;place-items:center;padding:18px;z-index:40}.product-modal-backdrop.frontmost{z-index:60}.confirm-backdrop{z-index:50;align-items:start;justify-items:center;overflow-y:auto;overscroll-behavior:contain;padding:18px}.modal{position:relative;width:min(1080px,100%);max-height:calc(100vh - 36px);overflow:auto;padding:18px;box-shadow:0 18px 46px #2a27462e}.modal-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.modal-title-block{position:relative}.modal-corner-cat{position:absolute;right:18px;bottom:18px;filter:none}.modal-head-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.modal-body{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px}.modal-visual{display:grid;gap:12px;align-content:start}.modal-image-wrap{position:relative}.modal-image{aspect-ratio:1 / 1;padding:18px;border:1px solid var(--border);border-radius:8px;background:#fff}.modal-price-card{display:grid;gap:6px;padding:14px;border:1px solid var(--border);border-radius:8px;background:#fbfbff}.modal-add{margin-top:4px}.modal-cart-quantity{font-size:12px;color:var(--muted);text-align:center}.tabs{display:flex;gap:8px;margin-bottom:14px}.tab{min-height:38px;padding:0 14px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--text);cursor:pointer}.tab.active{border-color:#d7d1ed;background:#f6f4fd;color:var(--purple)}.detail-grid{display:grid;gap:8px}.detail-stack{display:grid;gap:16px}.detail-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid #efedf5}.detail-value{overflow-wrap:anywhere}.live-candidates-card{display:grid;gap:12px;padding:14px;border:1px solid var(--border);border-radius:8px;background:#ffffffb8}.live-candidates-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.live-candidate-head-actions{display:flex;gap:8px}.live-candidates-head h4{margin:2px 0 0}.live-candidates-empty{padding:10px 12px;border:1px dashed var(--border);border-radius:8px;color:var(--muted)}.live-candidates-loading{display:grid;justify-items:center;gap:10px;padding:18px 12px;border:1px dashed var(--border);border-radius:8px;color:var(--muted)}.loading-cat{animation:loading-cat-spin 5.4s ease-in-out infinite;transform-origin:center}.live-candidates-list{display:grid;gap:10px;max-height:280px;overflow-y:auto}.archived-live-candidates-list{max-height:min(460px,56vh)}.live-candidate-row{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px;border:1px solid var(--border);border-radius:8px;background:#ffffffe6}.archived-live-candidate-row{grid-template-columns:40px minmax(0,1fr) 120px auto}.archived-live-candidate-row.preferred{background:#f7f5ff;border-color:#d6d0f2}.candidate-icon-button,.candidate-link-button{min-width:36px;width:36px;height:36px;padding:0}.archived-search-button{width:36px;height:36px;border:none;background:transparent;color:var(--muted);cursor:pointer}.live-candidate-image{width:56px;height:56px;object-fit:contain;border-radius:6px;background:#fff;border:1px solid rgba(70,72,102,.08)}.live-candidate-copy{min-width:0;display:grid;gap:4px}.live-candidate-name{font-weight:700;color:var(--text)}.live-candidate-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--muted)}.live-candidate-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.archived-candidate-quantity{display:grid;justify-items:center}.archived-live-candidate-actions{align-items:center}.archived-add-button{min-width:124px;margin-top:0}.archived-promote-button{min-width:124px;border-color:#d7ae32;background:#f2c84a;color:var(--purple)}.archived-promote-button:hover{background:#e9bf42}.archived-search-row{display:grid}.archived-search-shell{min-height:44px}.detail-link-button{padding:0;border:none;background:none;color:var(--purple);cursor:pointer;text-align:left}.detail-link-button:hover{text-decoration:underline}.replicate-flow-details{display:grid;gap:10px}.replicate-flow-progress{color:var(--muted)}.replicate-flow-list{display:grid;gap:8px;max-height:min(280px,34vh);overflow-y:auto}.replicate-flow-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:#ffffffeb;color:var(--text);text-align:left}.replicate-flow-item.active{border-color:var(--purple);background:#6c5dd314}.replicate-flow-open{display:grid;gap:4px;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.replicate-flow-skip{min-width:72px}.archived-modal{width:min(1180px,100%)}.archived-modal-body{grid-template-columns:240px minmax(0,1fr)}.archived-modal-visual{gap:14px}.archived-modal-image{display:grid;place-items:center;aspect-ratio:1 / 1}.archived-modal-card{gap:10px}@keyframes loading-cat-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.history-summary{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:10px}.chart-wrap{margin-bottom:14px}.ordered-panel-head{align-items:center}.ordered-panel-head-main{display:flex;align-items:center;gap:12px}.ordered-panel-count{margin-top:4px;font-size:12px;color:var(--muted)}.chart-canvas{position:relative}.chart{width:100%;border:1px solid var(--border);border-radius:8px;background:#fcfbff}.chart-line{fill:none;stroke:var(--purple);stroke-width:3}.chart-point{fill:var(--yellow);stroke:var(--purple);stroke-width:2;cursor:pointer}.chart-point.active{fill:#f90}.chart-tooltip{position:absolute;transform:translate(-50%,calc(-100% - 10px));padding:8px 10px;border-radius:6px;background:#2c3155f0;color:#fff;font-size:12px;pointer-events:none;white-space:nowrap}.history-list{display:grid;gap:6px}.history-row{display:flex;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid var(--border);border-radius:6px;background:#fcfcfe}.app-shell[data-density=compact] .product-card{box-shadow:0 6px 12px #2d2a4c0d;min-height:418px}.app-shell[data-density=compact] .product-content{grid-template-rows:40px 18px 18px 38px 58px 36px;gap:6px;padding:0 10px 10px}.app-shell[data-density=compact] .product-title{font-size:14px;min-height:40px;-webkit-line-clamp:2}.app-shell[data-density=compact] .product-price{font-size:16px}.app-shell[data-density=compact] .discount-badge{min-width:64px;padding:6px 10px;font-size:16px}.auth-screen{min-height:calc(100vh - 36px);display:grid;place-items:center}.auth-card{width:min(420px,100%);display:grid;gap:18px;padding:34px 30px 30px;border:1px solid var(--border);border-radius:18px;background:radial-gradient(circle at top,rgba(255,196,59,.18),transparent 36%),linear-gradient(180deg,#fffdf7,#fff 42%);box-shadow:0 22px 56px #2824491a}.auth-brand{display:grid;justify-items:center;gap:10px}.auth-brand-logo{text-align:center;font-size:36px}.auth-copy{display:grid;gap:4px;justify-items:center;text-align:center}.auth-copy p{margin:0;color:var(--muted)}.auth-tagline{max-width:26ch;font-size:24px;line-height:1.25;color:#5f4ca5;font-family:Segoe Print,Bradley Hand,Comic Sans MS,cursive}.auth-cat-single{justify-self:center;margin-top:-2px}.auth-field{display:grid;gap:6px}.auth-field span{font-size:13px;color:var(--muted)}.auth-field input{height:42px;padding:0 12px;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--text)}.auth-field input:focus{outline:2px solid rgba(82,64,154,.16);border-color:var(--purple)}.auth-error{margin-top:-4px}.auth-submit{width:100%}.app-footer{margin-top:18px;display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 18px;color:var(--muted);font-size:14px}.footer-cat{filter:none}.footer-cat-flipped{transform:scaleX(-1)}.footer-heart{color:var(--purple);font-size:18px;line-height:1}.profile-backdrop{z-index:45}.profile-modal{width:min(420px,calc(100vw - 32px));padding:22px;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 18px 46px #2a27462e;display:grid;justify-items:center;gap:14px;text-align:center}.profile-close{justify-self:end}.profile-modal-avatar{filter:none}.profile-modal h3{margin:0;font-size:24px;color:var(--text)}.profile-quotes{width:100%}.profile-quotes blockquote{margin:0;padding:16px 18px;border:1px solid var(--border);border-radius:8px;background:#fafafe;color:#5a5670;line-height:1.5;font-size:26px;font-family:Segoe Print,Bradley Hand,Comic Sans MS,cursive;letter-spacing:.01em}.profile-quote-illustration{display:grid;place-items:center;min-height:180px;padding:16px 18px;border:1px solid var(--border);border-radius:8px;background:#fafafe}.profile-quote-illustration img{width:min(220px,100%);height:auto;display:block}@media(max-width:1220px){.search-rail{grid-template-columns:1fr}.search-rail-controls{justify-content:flex-start}}@media(max-width:980px){.layout,.modal-body{grid-template-columns:1fr}.sidebar{position:static}}@media(max-width:760px){.app-shell{padding:12px}.topbar,.search-rail,.panel,.modal,.drawer-panel{padding-left:12px;padding-right:12px}.topbar,.drawer-head,.modal-head{flex-direction:column;align-items:stretch}.search-rail{grid-template-columns:1fr}.pagination{flex-direction:column}.detail-row{grid-template-columns:1fr}}
