.discovery-modal.modal{flex-direction:column;width:min(680px,100vw - 24px);height:min(730px,100dvh - 32px);max-height:calc(100dvh - 32px);padding:0;display:flex;top:50%;overflow:hidden;transform:translate(-50%,-50%)}.discovery-modal>.modal-heading{border-bottom:1px solid var(--line);flex-shrink:0;margin:0;padding:20px 24px}.discovery-body{scrollbar-width:none;flex-direction:column;flex:1;gap:18px;min-height:0;padding:20px 24px;display:flex;overflow:auto}.discovery-body::-webkit-scrollbar{display:none}.stock-restock-body p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.stock-restock-body p strong{color:var(--text)}.stock-restock-body .field{max-width:260px}.stock-restock-body .field input{width:100%}.discovery-modal form:has(.stock-restock-body){flex-direction:column;flex:1;min-height:0;display:flex}.discovery-modal>.modal-footer{border-top:1px solid var(--line);background:var(--panel);flex-wrap:wrap;flex-shrink:0;margin:0;padding:16px 24px}.discovery-code{background:var(--accent-soft);border-radius:10px;align-items:center;gap:14px;padding:14px 16px;display:flex}.discovery-code>div{flex:1;min-width:0}.discovery-code small{color:var(--muted);font-size:11px;display:block}.discovery-code strong{letter-spacing:1px;overflow-wrap:anywhere;font-size:17px}.discovery-steps{grid-template-columns:1fr 1.5fr 1.2fr;gap:8px;margin:0;padding:0;list-style:none;display:grid}.discovery-steps li{border-bottom:2px solid var(--line);color:var(--muted);padding:8px 2px;font-size:11px}.discovery-steps .active{border-color:var(--accent);color:var(--text)}.discovery-steps .done{border-color:var(--green)}.discovery-loading{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:14px;min-height:190px;display:flex}.discovery-loading strong{font-size:15px}.discovery-loading p{max-width:420px;color:var(--muted);margin:0;line-height:1.7}.discovery-loading .spin{animation:1.2s linear infinite portal-spin}.discovery-result{border:1px solid var(--line);border-radius:10px;padding:18px}.discovery-result h3{margin:16px 0;font-size:17px}.discovery-result dl{grid-template-columns:1fr 1fr;gap:14px;margin:0;display:grid}.discovery-result dt{color:var(--muted);font-size:11px}.discovery-result dd{overflow-wrap:anywhere;margin:4px 0 0;font-size:13px;font-weight:700}.discovery-result p{margin:14px 0 0;line-height:1.6}.discovery-sources{flex-direction:column;gap:10px;display:flex}.discovery-sources a{color:var(--accent);overflow-wrap:anywhere;justify-content:space-between;align-items:center;gap:10px;display:flex}.discovery-sources blockquote{border-left:2px solid var(--line);color:var(--muted);overflow-wrap:anywhere;margin:0;padding:6px 12px;font-size:11px}.discovery-review{align-items:center;gap:10px;line-height:1.5;display:flex}.discovery-service{margin-bottom:18px}.discovery-service p{line-height:1.7}.platform-ai-header{align-items:center;gap:16px;margin-bottom:20px;padding:22px;display:flex}.platform-ai-header>div{flex:1;min-width:0}.platform-ai-header h2{margin:0 0 6px;font-size:16px}.platform-ai-header p{color:var(--muted);margin:0}.platform-ai-grid{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);align-items:start;gap:20px;display:grid}.platform-ai-fields{border:0;flex-direction:column;gap:20px;min-width:0;margin:0;padding:0;display:flex}.platform-ai-fields small{color:var(--muted);line-height:1.5}.platform-ai-fields p{line-height:1.6}.platform-ai-fields .field>span{align-items:center;gap:6px;display:flex}.platform-ai-fields .between{align-items:start;gap:16px}.platform-ai-fields .switch{background:var(--line);border:0;border-radius:20px;flex-shrink:0;width:40px;height:23px;padding:3px}.platform-ai-fields .switch[data-state=checked]{background:var(--green)}.platform-ai-fields .switch-thumb{background:#fff;border-radius:50%;width:17px;height:17px;transition:transform .15s;display:block}.platform-ai-fields .switch-thumb[data-state=checked]{transform:translate(17px)}.platform-ai-info p{line-height:1.8}.platform-ai-info h3{font-size:15px}.discovery-usage{background:var(--accent-soft);border-radius:10px;flex-direction:column;gap:8px;margin:22px 0;padding:16px;display:flex}.discovery-usage strong{font-size:24px}.platform-ai-history{margin-top:28px}.platform-ai-history>h3{margin-bottom:14px;font-size:14px}@media (max-width:700px){.platform-ai-grid{grid-template-columns:1fr}.platform-ai-header{flex-wrap:wrap;align-items:flex-start}.discovery-body,.discovery-modal>.modal-header,.discovery-modal>.modal-footer{padding:16px}.discovery-modal>.modal-footer .btn{flex:1}.discovery-result dl{grid-template-columns:1fr}.discovery-steps li{font-size:10px}}@media (prefers-reduced-motion:reduce){.discovery-loading .spin{animation:none}.platform-ai-fields .switch-thumb{transition:none}}.catalog-image{object-fit:contain;background:#fff;border-radius:7px;flex-shrink:0;width:44px;height:44px;padding:3px;display:block}.catalog-image-empty{background:var(--panel2);color:var(--muted);place-items:center;display:grid}.product-thumb .catalog-image{width:100%;height:100%}.catalog-edit-image{align-items:center;gap:18px;margin-bottom:18px;display:flex}.catalog-edit-image .catalog-image{width:80px;height:80px}.discovery-result>.catalog-image{width:90px;height:90px;margin:14px auto}.ai-tenant-panel{padding:24px}.ai-tenant-panel>header{justify-content:space-between;align-items:center;gap:14px;display:flex}.ai-tenant-panel h2{margin:0 0 5px;font-size:16px}.ai-tenant-panel header p{color:var(--muted);margin:0}.ai-panel-icon{background:var(--accent-soft);width:52px;height:52px;color:var(--accent);border-radius:13px;place-items:center;display:grid}.ai-credit-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:25px 0 18px;display:grid}.ai-credit-metrics>div{border:1px solid var(--line);background:var(--panel2);border-radius:12px;flex-direction:column;gap:10px;padding:18px;display:flex}.ai-credit-metrics span{color:var(--muted);font-size:12px}.ai-credit-metrics strong{font-size:28px;line-height:1.2}.ai-credit-metrics>div:last-child{background:var(--accent-soft)}.ai-credit-progress{background:var(--line);border-radius:6px;height:6px;overflow:hidden}.ai-credit-progress>span{background:var(--accent);border-radius:6px;height:100%;display:block}.ai-panel-details{justify-content:space-between;align-items:center;gap:20px;margin:14px 0;display:flex}.ai-panel-details p{font-weight:650}.ai-panel-details small{color:var(--muted);margin-top:7px;font-weight:400;line-height:1.7;display:block}.ai-panel-details .inline{flex-shrink:0}.ai-panel-footnote{border-top:1px solid var(--line);color:var(--muted);align-items:flex-start;gap:10px;padding-top:15px;font-size:12px;line-height:1.6;display:flex}.ai-panel-footnote svg{flex-shrink:0;margin-top:2px}.ai-credit-history{margin-top:20px}.ai-credit-history summary{cursor:pointer;font-weight:700}.ai-credit-history>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:12px 0;display:flex}.ai-credit-modal.modal{width:min(560px,100vw - 24px);top:50%;transform:translate(-50%,-50%)}.ai-credit-options{grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0;display:grid}.ai-credit-options button{border:1px solid var(--line);background:var(--panel2);color:var(--text);border-radius:12px;flex-direction:column;align-items:center;gap:8px;padding:22px 8px;display:flex}.ai-credit-options button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent)}.ai-credit-options strong{font-size:26px}.ai-credit-options span{font-size:11px}@media (max-width:700px){.ai-credit-metrics{grid-template-columns:1fr 1fr}.ai-panel-details{flex-direction:column;align-items:stretch;gap:10px}.ai-tenant-panel>header{flex-wrap:wrap;align-items:flex-start}.ai-tenant-panel,.discovery-modal>.modal-heading{padding:16px}}.catalog-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px;display:grid}.catalog-metrics>.card{grid-template-columns:1fr auto;align-items:center;gap:10px;padding:18px;display:grid}.catalog-metrics span{color:var(--muted);grid-row:2}.catalog-metrics strong{grid-area:1/2/3;font-size:24px}.catalog-tabs{border-bottom:1px solid var(--line);gap:6px;margin-bottom:20px;display:flex}.catalog-tabs button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:12px 16px;font-weight:700}.catalog-tabs button[aria-selected=true]{border-color:var(--accent);color:var(--text)}.catalog-list{overflow:hidden}.catalog-toolbar{grid-template-columns:minmax(240px,1fr) minmax(150px,240px) 180px;gap:12px;padding:16px;display:grid}.catalog-search{border:1px solid var(--line);border-radius:8px;align-items:center;gap:8px;padding:0 12px;display:flex}.catalog-search input{background:0 0;border:0;width:100%;min-width:0}.catalog-table-scroll{scrollbar-width:none;min-height:200px;max-height:calc(100dvh - 390px);overflow:auto}.catalog-table-scroll table{border-collapse:collapse;width:100%}.catalog-table-scroll th{z-index:1;background:var(--panel2);text-align:left;color:var(--muted);padding:12px 16px;font-size:11px;position:sticky;top:0}.catalog-table-scroll td{border-top:1px solid var(--line);padding:12px 16px;font-size:12px}.catalog-table-scroll td small{color:var(--muted);margin-top:4px;display:block}.catalog-product{align-items:center;gap:12px;min-width:190px;display:flex}.catalog-product strong{max-width:360px;font-weight:650}.catalog-pagination{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;font-size:12px;display:flex}.catalog-taxonomy{grid-template-columns:1fr 1fr;gap:20px;display:grid}.catalog-taxonomy h3,.catalog-sources h3{margin:0 0 16px;font-size:14px}.catalog-chips{flex-wrap:wrap;gap:8px;max-height:60dvh;display:flex;overflow:auto}.catalog-sources{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;display:grid}.catalog-source-counts{grid-template-columns:1fr 1fr;gap:15px;display:grid}.catalog-source-counts b{font-size:19px;display:block}.catalog-source-counts span{color:var(--muted);font-size:12px}.catalog-editor form{flex-direction:column;flex:1;min-height:0;display:flex}.catalog-editor .modal-body{flex:1;min-height:0;overflow:auto}.catalog-editor .modal-footer{flex-shrink:0}.catalog-editor .check-field{margin-top:18px}.pos-v2 .pos-products .product-tile,.pos-v2.mode-large .pos-products .product-tile,.pos-v2.mode-list .pos-products .product-tile{border:1px solid var(--line);background:var(--panel);min-height:0;box-shadow:none;text-align:left;border-radius:10px;grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:5px;padding:9px;transition:background-color .16s,border-color .16s;display:grid}.pos-v2 .pos-products .product-tile:hover{background:var(--panel2);border-color:var(--line);box-shadow:none;transform:none}.sales-portal .pos-v2 .pos-products .product-tile{background:#f3f4f5;border-color:#e4e6e9}.sales-portal .pos-v2 .pos-products .product-tile:hover{background:#e9edf1;border-color:#d9dfe5}.pos-v2 .pos-products .product-tile .product-title{-webkit-line-clamp:unset;min-width:0;min-height:0;font-size:12px;font-weight:800;line-height:1.22;display:block;overflow:hidden}.pos-v2 .pos-products .product-tile .product-name{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.pos-v2 .pos-products .product-tile .product-option-count{color:var(--text);margin-top:2px;font-size:12px;font-weight:800;line-height:1.1;display:block}.pos-v2 .pos-products .product-tile .product-tile-media{background:color-mix(in srgb,var(--panel) 78%,var(--panel2));min-height:0;color:var(--muted);border-radius:7px;justify-content:center;align-items:center;display:flex;overflow:hidden}.pos-v2 .pos-products .product-tile:not(.has-product-image) .product-tile-media{background:0 0}.pos-v2:not(.adisyon-mode) .pos-products .product-tile:not(.has-product-image) .product-tile-footer{grid-row:3}.pos-v2 .pos-products .product-tile .pos-catalog-image{object-fit:contain;background:0 0;border-radius:7px;width:min(64px,100%);height:min(64px,100%);max-height:100%;margin:0;padding:2px;display:block;position:static;top:auto;right:auto;transform:none}.pos-v2 .pos-products .product-tile .product-tile-footer{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr);gap:2px;min-width:0;padding-top:5px;display:grid}.pos-v2 .pos-products .product-tile .product-tile-stock{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted);font-size:10px;font-weight:650;overflow:hidden}.pos-v2 .pos-products .product-tile .product-price{color:var(--text);white-space:nowrap;text-align:left;justify-self:start;margin:0;font-size:14px;font-weight:850;line-height:1.2;display:block}.pos-v2.mode-list .pos-products .product-tile{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 42px minmax(95px,auto);align-items:center}.pos-v2.mode-list .pos-products .product-tile .product-tile-media{height:38px}.pos-v2.mode-list .pos-products .product-tile .pos-catalog-image{width:36px;height:36px}.pos-v2.mode-list .pos-products .product-tile .product-tile-footer{border:0;justify-items:end;gap:1px;padding:0;display:grid}.pos-v2.mode-list:not(.adisyon-mode) .pos-products .product-tile:not(.has-product-image){grid-template-columns:minmax(0,1fr) minmax(95px,auto)}.pos-v2.mode-list:not(.adisyon-mode) .pos-products .product-tile:not(.has-product-image) .product-tile-footer{grid-area:1/2}.pos-v2.mode-list .pos-products .product-tile .product-tile-footer{justify-items:start}.pos-v2.adisyon-mode:not(.mode-list) .pos-products .product-tile{width:var(--adisyon-tile-size,100%);height:var(--adisyon-tile-size,100%);grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);place-self:start center;gap:6px;min-width:0;min-height:0;padding:10px}.pos-v2.adisyon-mode:not(.mode-list) .pos-products .product-tile .product-title{text-align:left;align-self:center;font-size:13px;line-height:1.3}.pos-v2.adisyon-mode:not(.mode-list) .pos-products .product-tile .product-option-count{margin-top:5px}.pos-v2.adisyon-mode:not(.mode-list) .pos-products .product-tile .product-tile-footer{align-self:end}.pos-v2.adisyon-mode .pos-products .product-tile .product-price{text-align:left;justify-self:start}.pos-v2.adisyon-mode:not(.mode-list) .pos-products .product-tile .product-tile-footer{width:100%}.pos-v2.adisyon-mode.mode-list .pos-products .product-tile{grid-template-columns:minmax(0,1fr) minmax(95px,auto)}@media (max-width:800px){.catalog-metrics,.catalog-toolbar{grid-template-columns:1fr 1fr}.catalog-search{grid-column:1/-1}.catalog-taxonomy{grid-template-columns:1fr}.catalog-pagination{flex-wrap:wrap}.catalog-tabs button{white-space:nowrap;padding:10px}.catalog-table-scroll{max-height:55dvh}.pos-v2 .pos-products .product-tile .pos-catalog-image{width:min(48px,100%);height:min(48px,100%)}}.pos-v2 .pos-products .product-tile,.sales-portal .pos-v2 .pos-products .product-tile{color:#17243b;min-width:0;min-height:0;box-shadow:none;text-align:left;background:#f3f4f7;border:0;border-radius:13px;flex-direction:column;align-items:stretch;gap:8px;padding:13px 14px;transition:background-color .16s,color .16s,transform .11s;display:flex}.pos-v2.adisyon-mode:not(.mode-list) .pos-products .product-tile{place-self:stretch stretch;gap:8px;width:100%;height:100%;padding:13px 14px}.pos-v2 .pos-products .product-tile .product-title,.pos-v2.adisyon-mode:not(.mode-list) .pos-products .product-tile .product-title{text-align:left;flex-direction:column;align-self:flex-start;align-items:flex-start;gap:4px;width:100%;min-width:0;line-height:1.22;display:flex}.pos-v2 .pos-products .product-tile .product-tile-footer,.pos-v2.adisyon-mode:not(.mode-list) .pos-products .product-tile .product-tile-footer{border:0;flex-direction:column;align-self:stretch;align-items:flex-start;gap:3px;width:100%;margin-top:auto;padding:0;display:flex}.pos-v2 .pos-products .product-tile .product-price{color:inherit;font-size:clamp(15px,1.15vw,18px);font-weight:800}.pos-v2 .pos-products .product-tile .product-tile-stock{color:#718098}.pos-v2 .pos-products button.product-tile:hover,.sales-portal .pos-v2 .pos-products button.product-tile:hover,.pos-v2 .pos-products button.product-tile:active,.sales-portal .pos-v2 .pos-products button.product-tile:active{box-shadow:none;border:0;color:#fff!important;background:#172b4d!important}.pos-v2 .pos-products .product-tile:hover .product-price,.pos-v2 .pos-products .product-tile:hover .product-tile-stock,.pos-v2 .pos-products .product-tile:active .product-price,.pos-v2 .pos-products .product-tile:active .product-tile-stock{color:#fff!important}.pos-v2 .pos-products .product-tile:hover .product-barcode,.pos-v2 .pos-products .product-tile:active .product-barcode{color:#fff!important;border-top-color:#ffffff24!important}.pos-v2 .pos-products button.product-tile:active{transform:scale(1.025)!important}.pos-v2 .cart .cart-summary-row.total,.sales-portal .pos-v2 .cart .cart-summary-row.total{min-height:39px;margin-top:7px;padding-top:9px;font-size:20px;font-weight:800}.pos-v2 .cart .cart-summary-row.total>span:last-child,.sales-portal .pos-v2 .cart .cart-summary-row.total>span:last-child{font-size:24px;font-weight:850;line-height:1.1}.pos-card-settings-modal.modal{width:min(560px,100vw - 24px)}.pos-card-settings-modal form{flex-direction:column;min-height:0;display:flex}.pos-card-settings-body{flex-direction:column;gap:0;padding:8px 24px 18px;display:flex}.pos-card-setting-row{min-height:64px;color:var(--text);grid-template-columns:minmax(0,1fr) minmax(175px,210px);align-items:center;gap:18px;font-size:13px;font-weight:650;display:grid}.pos-card-setting-row+.pos-card-setting-row{border-top:1px solid var(--line)}.pos-card-settings-section{border-top:1px solid var(--line);margin:12px 0 0;padding:16px 0 4px;font-size:13px;font-weight:750}.pos-card-settings-section+.pos-card-setting-row{border-top:0}.pos-card-setting-row .select-trigger{width:100%;min-width:0}.pos-card-size-input{justify-self:end;align-items:center;gap:8px;width:110px;display:flex}.pos-card-size-input input{text-align:center;font-variant-numeric:tabular-nums;width:100%;min-width:0}.pos-card-size-input span{color:var(--muted);font-size:12px}.pos-card-toggle-row input{appearance:none;cursor:pointer;background:#cbd1dc;border:0;border-radius:99px;justify-self:end;width:40px;height:23px;margin:0;transition:background .16s;position:relative}.pos-card-toggle-row input:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:transform .16s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0002}.pos-card-toggle-row input:checked{background:#315fb5}.pos-card-toggle-row input:checked:after{transform:translate(17px)}.pos-card-toggle-row input:focus-visible{outline-offset:3px;outline:2px solid #315fb5}@media (max-width:520px){.pos-card-settings-body{padding-inline:16px}.pos-card-setting-row{grid-template-columns:minmax(0,1fr) minmax(135px,46%);gap:10px}.pos-card-settings-modal .modal-footer{padding-inline:16px}}
