/* Product editor: MenuPlan's palette, rounded cards, tabs and buttons, scoped to its own root. */
.cc-product{--cc-green:#008375;--cc-green-dark:#013e36;--cc-green-soft:#cfe6e4;--cc-border:#dbe8e6;--cc-muted:#6f7f8f;background:#fff;color:#263b46;font-family:Roboto,Arial,sans-serif;width:100%;min-width:0;box-sizing:border-box}
.cc-product *, .cc-product *:before,.cc-product *:after{box-sizing:border-box}
.cc-product [hidden]{display:none!important}
.cc-product .cc-panel{padding:24px 32px}.cc-product h2{font-size:1.6rem;font-weight:700;margin:0}.cc-product h3{font-size:1.15rem;font-weight:700;margin:28px 0 16px}
/* All detail tabs start with the same title row, including tabs with actions. */
.cc-product .cc-tab-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-height:50px;margin:0 0 16px}
.cc-product .cc-tab-title h2{line-height:1.25;padding-top:8px;min-width:0}
.cc-product .cc-tab-title>.cc-btn{flex-shrink:0}
.cc-product .cc-history li>p{margin:6px 0;overflow-wrap:anywhere}
.cc-product .cc-history summary{cursor:pointer;color:var(--cc-green-dark);font-weight:600;padding:4px 0}
.cc-product .cc-history summary:focus-visible{outline:2px solid var(--cc-green);outline-offset:2px}
.cc-product .cc-history dt,.cc-product .cc-history dd{min-width:0;overflow-wrap:anywhere}
.cc-product .cc-history dd{white-space:pre-wrap}
.cc-product label,.cc-product .cc-label{display:block;font-weight:500;margin:0 0 18px;line-height:1.5}.cc-product label input:not([type=checkbox]),.cc-product label select,.cc-product label textarea{margin-top:5px}
.cc-product input:not([type=checkbox]),.cc-product select,.cc-product textarea{width:100%;min-height:42px;border:1px solid #baccc8;border-radius:8px;padding:9px 12px;background:#fff;color:#263b46;font:inherit}.cc-product input:not([type=checkbox]),.cc-product select{height:42px;box-sizing:border-box}.cc-product textarea{resize:vertical}
.cc-product input:focus,.cc-product select:focus,.cc-product textarea:focus{outline:2px solid var(--cc-green);outline-offset:2px}.cc-product input:disabled,.cc-product select:disabled,.cc-product textarea:disabled{background:#f6f8f8;color:#6f7f8f}
.cc-product fieldset{border:0;padding:0;margin:0;min-width:0}.cc-product .cc-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}
.cc-product .cc-input-action{display:flex;gap:8px;align-items:center}.cc-product .cc-input-action input{flex:1;min-width:0}.cc-product .cc-input-action select{width:180px}.cc-product .cc-input-action .cc-btn{white-space:nowrap}
.cc-product .cc-btn{border-radius:12px;padding:.75rem 1.25rem;font-weight:700;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-size:1rem;cursor:pointer;line-height:1.4;min-height:42px}
.cc-product .cc-btn-primary{background:var(--cc-green);color:#fff;box-shadow:0 6px 14px rgba(20,122,75,.22)}.cc-product .cc-btn-primary:hover{background:#0f6a40}.cc-product .cc-btn-secondary{background:#fff;color:var(--cc-green-dark);border-color:#8bbdb1}.cc-product .cc-btn-secondary:hover{background:var(--cc-green-soft)}.cc-product .cc-btn-danger{background:#a7261b;color:#fff}
.cc-product .cc-btn:disabled{background:#e4e9e8;color:#84928d;border-color:#d7dedd;box-shadow:none;cursor:not-allowed}.cc-product .cc-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;flex-wrap:wrap}.cc-product .cc-row-actions{display:flex;gap:8px;flex-wrap:wrap}
.cc-product .cc-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 16px}.cc-product .cc-list-card{border:1px solid var(--cc-border);border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.06);overflow:auto}.cc-product .cc-table{width:100%;border-collapse:separate;border-spacing:0}.cc-product .cc-table th{background:#f0f7f5;padding:1rem 1.25rem;font-weight:800;text-align:left;white-space:nowrap}.cc-product .cc-table td{padding:.85rem 1.25rem;border-top:1px solid #e5eeee;vertical-align:middle}.cc-product .cc-table tr:hover td{background:#f8fcfb}.cc-product .cc-table input{min-width:100px}.cc-product .cc-table select{min-width:180px}
.cc-product .cc-switch{display:flex;align-items:center;gap:12px;margin:18px 0}.cc-product .cc-switch input{appearance:none;width:42px;height:24px;background:#ccd8d5;border-radius:16px;position:relative;cursor:pointer;flex-shrink:0}.cc-product .cc-switch input:before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;transition:transform .15s}.cc-product .cc-switch input:checked{background:var(--cc-green)}.cc-product .cc-switch input:checked:before{transform:translateX(18px)}
.cc-product .cc-image-upload{position:relative;min-height:225px;background:#f8faf9;border:1px dashed #aacac2;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-bottom:18px;overflow:hidden}.cc-product .cc-image-upload img{max-height:230px;max-width:100%;object-fit:contain}.cc-product .cc-image-upload input[type=file]{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.cc-product .cc-image-delete{position:absolute;top:10px;right:10px;z-index:1}.cc-product .cc-upload-icon{font-size:2.5rem;color:var(--cc-green)}
.cc-product .cc-required,.cc-product .cc-error{color:#b1281d}.cc-product .cc-error{overflow-wrap:anywhere}.cc-product .cc-empty{padding:20px;color:var(--cc-muted)}.cc-product .cc-muted{color:var(--cc-muted)}.cc-product .cc-notice{padding:14px 24px;background:#edf6f3;border-left:3px solid var(--cc-green);margin:0}.cc-product .cc-text-button{border:0;background:transparent;color:var(--cc-green);cursor:pointer;text-align:left;font:inherit}
.cc-product .cc-chips{display:flex;flex-wrap:wrap;gap:8px}.cc-product .cc-chip{padding:9px 16px;border:1px solid #b9d4cd;border-radius:24px;background:white;color:var(--cc-green-dark);cursor:pointer;font:inherit}.cc-product .cc-chip.selected{background:var(--cc-green-soft);border-color:var(--cc-green);font-weight:600}.cc-product .cc-chip:disabled{opacity:.6;cursor:not-allowed}.cc-product .cc-assignment{margin-bottom:24px}
.cc-product .cc-accordion{border:1px solid var(--cc-border);border-radius:16px;margin:18px 0;overflow:hidden}.cc-product .cc-accordion summary{padding:18px 22px;background:#f0f7f5;font-weight:700;cursor:pointer}.cc-product .cc-accordion summary span{float:right;color:var(--cc-muted)}.cc-product .cc-accordion fieldset{padding:18px}.cc-product .cc-price-options{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.cc-product .cc-history{list-style:none;padding:0;margin:20px 0}.cc-product .cc-history li{border-left:3px solid #8bbdb1;padding:16px 22px;margin:0 0 14px;background:#f7faf9;border-radius:0 12px 12px 0}.cc-product .cc-history li>div{display:flex;justify-content:space-between;gap:15px}.cc-product .cc-history time{color:var(--cc-muted)}.cc-product .cc-history dl{display:grid;grid-template-columns:minmax(100px,1fr) 3fr;gap:8px}.cc-product .cc-history dd{margin:0;overflow-wrap:anywhere}
.cc-product .cc-toast{position:fixed;right:24px;bottom:24px;z-index:20000;max-width:min(600px,calc(100vw - 48px));display:flex;gap:18px;align-items:center;color:#fff;background:var(--cc-green-dark);padding:16px 22px;border-radius:14px;box-shadow:0 8px 30px #0003;white-space:pre-wrap;overflow-wrap:anywhere}.cc-product .cc-toast.error{background:#922a20}.cc-product .cc-toast button{color:inherit;background:none;border:0;font-size:1.5rem;cursor:pointer}
.cc-product .cc-product-toolbar{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;gap:12px;background:#f8fbfa}.cc-product .cc-search-results{display:flex;flex-direction:column;max-height:220px;overflow:auto}.cc-product .cc-search-results button{padding:12px;border:0;border-bottom:1px solid var(--cc-border);background:#f7faf9;text-align:left;cursor:pointer}
.cc-product .k-tabstrip{border:0;background:transparent}.cc-product .k-tabstrip-items-wrapper{border-bottom:1px solid #e3ecec;background:#fff;padding-left:6px}.cc-product .k-tabstrip-items .k-tabstrip-item{border:1px solid #dfe9e9;border-bottom:none;border-radius:10px 10px 0 0;margin-right:4px;background:#f8fbfb;color:#344;box-shadow:0 -1px 4px #0000000a}.cc-product .k-tabstrip-items .k-link{padding:14px 24px;font-weight:600}.cc-product .k-tabstrip-items .k-tabstrip-item.k-active{background:#fff;border-color:#d7e6e6;color:#0f766e;box-shadow:0 -2px 8px #0f766e14}.cc-product .k-tabstrip-content:empty{display:none}
@media(max-width:700px){.cc-product .cc-panel{padding:18px 14px}.cc-product .cc-input-action{flex-wrap:wrap}.cc-product .cc-input-action select{width:100%}.cc-product .cc-product-toolbar{align-items:flex-start;flex-direction:column}.cc-product .cc-table td,.cc-product .cc-table th{padding:10px}.cc-product .cc-history dl{display:block}.cc-product .cc-actions .cc-btn{flex:1}.cc-product .k-tabstrip-items .k-link{padding:12px}.cc-product .cc-toast{right:12px;bottom:12px}}

.cc-product-dialog{max-height:80vh;overflow:auto;padding:8px}.cc-product .k-tabstrip-content:empty{display:none}.cc-product .k-tabstrip-item.k-active{color:#008375}
.cc-product .k-tabstrip > .k-tabstrip-content{display:none!important}
/* Related translations share one language selector; the image stays secondary. */
.cc-product .cc-basic-content{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:24px;margin:6px 0 24px;align-items:stretch}
.cc-product .cc-text-block,.cc-product .cc-image-block{min-width:0;padding:20px;border:1px solid var(--cc-border);border-radius:16px;background:#f8fbfa}
.cc-product .cc-text-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.cc-product .cc-text-heading h3,.cc-product .cc-image-block h3{margin:0;font-size:1.1rem}
.cc-product .cc-text-heading label{width:200px;max-width:55%;margin:0}
.cc-product .cc-text-block label:last-child{margin-bottom:0}
.cc-product .cc-image-block{display:flex;flex-direction:column}
.cc-product .cc-image-block .cc-image-upload{margin:18px 0;min-height:150px;flex:1}
.cc-product .cc-image-properties{flex-shrink:0}
.cc-product .cc-image-properties .cc-switch{margin-bottom:0}
.cc-product .cc-image-block img{max-height:180px}
@media(max-width:800px){.cc-product .cc-basic-content{grid-template-columns:1fr}.cc-product .cc-image-block{width:100%}.cc-product .cc-image-block .cc-image-upload{min-height:140px}}

/* The Angular detail route suppresses outer scrolling, so its host owns the scroll area. */
#contentUI:has(> .product-blazor-host){min-height:0;min-width:0;overflow:hidden}
.product-blazor-host{display:flex;flex-direction:column;flex:1 1 0;min-height:0;min-width:0;height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
.product-blazor-host>cc-product-detail{display:block;flex:0 0 auto;min-width:0;width:100%}
.cc-product .cc-empty-state{padding:18px 20px;margin:12px 0;border:1px solid var(--cc-border);border-radius:14px;background:#f4f9f7;color:var(--cc-muted)}
.cc-product .cc-empty-state strong{display:block;color:#405b55;font-weight:500}
.cc-product .cc-empty-state p{margin:6px 0 0;line-height:1.5}
/* Compact pricing controls and rows, scoped to the price tab. */
.cc-product .cc-prices .cc-form-grid{gap:16px;margin-top:12px}
.cc-product .cc-prices label{margin-bottom:10px}
.cc-product .cc-prices .cc-accordion{margin:10px 0;border-radius:12px}
.cc-product .cc-prices .cc-accordion summary{padding:12px 16px}
.cc-product .cc-prices .cc-accordion fieldset{padding:12px}
.cc-product .cc-prices .cc-price-options{gap:12px}
.cc-product .cc-prices .cc-price-options .cc-switch{margin:0 0 10px}
.cc-product .cc-prices .cc-price-options>label:not(.cc-switch){display:flex;align-items:center;gap:10px}
.cc-product .cc-prices .cc-price-options select{width:auto;margin-top:0}
.cc-product .cc-prices .cc-table th,.cc-product .cc-prices .cc-table td{padding:8px 12px}
.cc-product .cc-prices input:not([type=checkbox]),.cc-product .cc-prices select{height:36px;min-height:36px;padding:6px 10px}
.cc-product .cc-prices .cc-list-card{border-radius:12px;box-shadow:none}
.cc-product .cc-prices .cc-actions{margin-top:16px}
@media(max-width:700px){.cc-product .cc-prices .cc-price-options>label:not(.cc-switch){flex-wrap:wrap}.cc-product .cc-prices .cc-price-options select{width:100%}}
.cc-product .cc-name-validation{margin-top:16px;padding:14px 18px;background:#fff8ed;border:1px solid #e6cfaa;border-radius:12px;color:#775020}
.cc-product .cc-name-validation p{margin:0 0 8px}.cc-product .cc-name-validation ul{margin:0;padding-left:20px}
.cc-product .cc-name-validation .cc-text-button{font:inherit;font-weight:600;text-decoration:underline}
.cc-product .cc-key-validation{margin:6px 0 0;font-size:.9rem;font-weight:400}
.cc-product input[aria-invalid=true]{border-color:#b85e45}
/* Server-paged product list; shares the editor palette and controls. */
.cc-product-list .cc-list-filters{display:flex;align-items:end;flex-wrap:wrap;gap:14px;padding:20px 24px;background:#f0f7f5;border-bottom:1px solid var(--cc-border)}
.cc-product-list .cc-list-filters label{margin:0;min-width:180px;flex:1}.cc-product-list .cc-list-search{flex:2!important}
.cc-product-list .cc-list-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;width:100%;padding-top:12px;border-top:1px solid var(--cc-border)}
.cc-product-list .cc-list-table{overflow:auto;margin:12px 24px 0;border:1px solid var(--cc-border);border-radius:16px}
.cc-product-list table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px}
.cc-product-list th{background:#f0f7f5;font-weight:700;text-align:left;white-space:nowrap;position:sticky;top:0;z-index:1}
.cc-product-list td,.cc-product-list th{padding:11px 12px;border-bottom:1px solid #e5eeee;vertical-align:middle}
.cc-product-list td:first-child{min-width:240px;width:35%}.cc-product-list td:nth-child(4){min-width:180px}.cc-product-list tbody tr:hover{background:#f6faf9}
.cc-product-list th button,.cc-product-list .cc-list-name,.cc-product-list .cc-list-copy{border:0;background:transparent;font:inherit;color:inherit;cursor:pointer;padding:0;text-align:left}
.cc-product-list .cc-list-name{color:var(--cc-green-dark);line-height:1.45}.cc-product-list .cc-list-name:hover{text-decoration:underline}.cc-product-list .cc-list-copy{font-size:24px;color:var(--cc-green);padding:0 8px}
.cc-product-list button:focus-visible{outline:2px solid var(--cc-green);outline-offset:3px}.cc-product-list button:disabled{cursor:default;opacity:.6}
.cc-product-list .cc-list-price,.cc-product-list .cc-list-number{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
.cc-product-list .cc-list-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.cc-product-list .cc-list-row{cursor:pointer}.cc-product-list[aria-busy=true] .cc-list-row{cursor:default}
.cc-product-list .cc-list-status{padding:8px 24px;margin:0;color:var(--cc-muted)}
.cc-product .cc-pager{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 24px}
.cc-product .cc-pager-controls{display:flex;align-items:center;gap:8px}.cc-product .cc-pager .cc-btn{padding:6px 12px;min-height:36px}.cc-product .cc-pager label{margin:0;display:flex;align-items:center;gap:10px;white-space:nowrap}.cc-product .cc-pager select{width:85px;margin:0!important}
@media(max-width:650px){.cc-product-list .cc-list-filters{padding:16px}.cc-product-list .cc-list-table{margin:12px 8px 0}.cc-product .cc-pager{padding:12px;justify-content:center}}
/* Keep related filters together and isolate controls from legacy search styles. */
.cc-product-list .cc-list-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto auto;align-items:end;gap:16px}
.cc-product-list .cc-list-filters label{min-width:0;flex:initial}
.cc-product-list .cc-list-search{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
.cc-product .cc-tandem-search-results{height:220px;min-height:220px;overflow:auto;scrollbar-gutter:stable}
.cc-product .cc-tandem-search-results .cc-search-results{max-height:none;overflow:visible}
.cc-product-list .cc-list-filters input:not([type=checkbox]),.cc-product-list .cc-list-filters select{display:block;width:100%;max-width:100%;min-width:0;height:42px;min-height:42px;margin:5px 0 0;padding:9px 12px;font:inherit;box-sizing:border-box}
.cc-product-list .cc-list-details{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding-top:18px}
.cc-product-list .cc-list-price-filter,.cc-product-list .cc-list-flags{grid-column:span 2;min-width:0;border:1px solid var(--cc-border);border-radius:12px;padding:12px 16px 16px;background:#fff}
.cc-product-list .cc-list-details legend{float:none;width:auto;margin:0;padding:0 6px;border:0;font-size:14px;font-weight:600;color:var(--cc-muted)}
.cc-product-list .cc-list-price-filter{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:12px;align-items:end}
.cc-product-list .cc-list-price-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cc-product-list .cc-list-flags{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:16px 24px}
.cc-product-list .cc-list-flags .cc-switch{display:flex;align-items:center;gap:10px;margin:0;font-weight:500;cursor:pointer}
.cc-product-list .cc-list-flags input{margin:0}
.cc-product-list .cc-list-filters>.cc-error{grid-column:1/-1;margin:0}
@media(max-width:1100px){.cc-product-list .cc-list-price-filter{grid-template-columns:minmax(0,1fr)}}
@media(max-width:750px){.cc-product-list .cc-list-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-product-list .cc-list-details{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-product-list .cc-list-price-filter,.cc-product-list .cc-list-flags{grid-column:1/-1}}
@media(max-width:420px){.cc-product-list .cc-list-search{grid-column:1/-1}.cc-product-list .cc-list-details>label{grid-column:1/-1}}
/* Match the four primary controls and inset native select indicators. */
.cc-product-list .cc-list-filters>.cc-btn{height:42px;min-height:42px;padding:0 20px;box-sizing:border-box}
.cc-product-list select,.cc-product-list .cc-list-filters select{appearance:none;-webkit-appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23263b46' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;background-size:16px}
@media(forced-colors:active){.cc-product-list select,.cc-product-list .cc-list-filters select{appearance:auto;background-image:none}}
/* Selection and batch actions use the same controls as the product editor. */
.cc-product-list .cc-selection-bar{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 24px;background:#e2f0ed;border-bottom:1px solid #aacac2;box-shadow:0 3px 8px #0000000d}
.cc-product-list .cc-selection-bar strong{margin-right:auto}
.cc-product-list .cc-selection-cell{width:44px!important;min-width:44px!important;text-align:center}
.cc-product-list .cc-selection-cell input{width:18px;height:18px;accent-color:var(--cc-green);cursor:pointer}
.cc-product-list td:nth-child(2){min-width:220px;width:35%}.cc-product-list td:nth-child(4){min-width:90px}.cc-product-list td:nth-child(5){min-width:180px}
.cc-product-list td:last-child{white-space:nowrap}
.cc-product-list .cc-list-delete{border:0;background:transparent;font:inherit;font-size:23px;color:#a7261b;cursor:pointer;padding:0 8px}
.cc-product .cc-bulk-preview{max-height:40vh;overflow:auto}.cc-product .cc-bulk-preview td{font-variant-numeric:tabular-nums}.cc-product .cc-bulk-preview td:first-child{min-width:180px}.cc-product .cc-bulk-special{background:#fff8ed}.cc-product .cc-bulk-special small{display:block;color:#775020}
.cc-product .cc-bulk-preview td:nth-child(2),.cc-product .cc-bulk-preview td:nth-child(3),.cc-product .cc-bulk-preview td:nth-child(4){white-space:nowrap;text-align:right;min-width:100px}

/* Equal-size key controls and shared accents for body-mounted Telerik dialogs. */
.cc-product .cc-key-action{align-items:center;margin-top:5px}
.cc-product .cc-key-action input,.cc-product .cc-key-action .cc-btn{height:42px;min-height:42px;margin:0!important;padding:0 12px;box-sizing:border-box}
.cc-product-window.k-window{display:flex;flex-direction:column;padding:0;box-sizing:border-box;max-width:calc(100vw - 32px);max-height:90vh;border:1px solid #b6d4cc;border-radius:10px;overflow:hidden;box-shadow:0 24px 70px #013e3633;font-family:Roboto,Arial,sans-serif}
.cc-product-window .k-window-titlebar{display:flex;align-items:center;gap:16px;position:relative;inset:auto;height:auto;min-height:64px;flex-shrink:0;width:auto;margin:0;box-sizing:border-box;padding:18px 22px;border:0;border-bottom:1px solid #b6d4cc;background:linear-gradient(110deg,#dcefe8,#f1f8f5);color:#013e36;box-shadow:inset 0 4px #008375}
.cc-product-window .k-window-title{position:static;inset:auto;flex:1 1 auto;min-width:0;margin:0;float:none;font-size:18px;font-weight:700;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.cc-product-window .k-window-titlebar-actions,.cc-product-window .k-window-actions{position:static;float:none;display:flex;flex:0 0 auto;align-items:center;margin:0 0 0 auto;padding:0;order:2}
.cc-product-window .k-window-titlebar .k-button{width:34px;height:34px;min-width:34px;padding:6px;border:1px solid #a7ccc4;border-radius:10px;background:#fff;color:#07574c}
.cc-product-window .k-window-titlebar .k-button:hover{background:#cfe6e4;border-color:#008375}
.cc-product-window .k-window-titlebar .k-button:focus-visible{outline:2px solid #008375;outline-offset:2px}
.cc-product-window .k-window-content{overflow:auto;flex:1 1 auto;padding:0;min-height:0;background:#fff}
.cc-product-window .cc-product-dialog{padding:24px;max-height:none;overflow:visible}
.cc-product-window .cc-product-dialog .cc-actions{padding:18px 24px;margin:24px -24px -24px;border-top:1px solid #dbe8e6;background:#f0f7f4}
.cc-product-window .cc-product-dialog label{color:#244b42}
.cc-product-window .cc-product-dialog .cc-form-grid{gap:16px}
.cc-product-window .cc-bulk-prices>p:first-child{padding:12px 16px;margin:0 0 22px;border-left:3px solid #008375;border-radius:0 10px 10px 0;background:#edf6f3;color:#07574c}
@media(max-width:600px){.cc-product-window .k-window-titlebar{padding:16px}.cc-product-window .cc-product-dialog{padding:18px}.cc-product-window .cc-product-dialog .cc-actions{margin:20px -18px -18px;padding:16px 18px}}
.cc-product-window .cc-btn,.cc-product-window input:not([type=checkbox]),.cc-product-window select{border-radius:7px}

/* Reusable card lists inherit the ProductDetail palette, controls and focus treatment. */
.cc-product .cc-card-list-filter{display:flex;align-items:end;gap:16px;flex-wrap:wrap;padding:20px 24px;background:#f0f7f5;border-bottom:1px solid var(--cc-border)}
.cc-product .cc-card-list-filter label{margin:0;min-width:180px;flex:1}.cc-product .cc-card-list-filter label:first-child{flex:3}
.cc-product .cc-card-list-filter input,.cc-product .cc-card-list-filter select,.cc-product .cc-card-list-filter .cc-btn{height:42px;min-height:42px;box-sizing:border-box}
.cc-product .cc-card-list-filter .cc-btn{padding:0 20px}
.cc-product .cc-card-grid{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:24px;margin:0}
.cc-product .cc-card-grid>li{min-width:0;display:flex}
.cc-product .cc-entity-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:12px;width:100%;min-height:175px;padding:22px 46px 22px 22px;text-align:left;font:inherit;color:#263b46;border:1px solid var(--cc-border);border-top:3px solid #8bbdb1;border-radius:12px;background:#f8fbfa;box-shadow:0 4px 12px #013e360a;cursor:pointer;overflow-wrap:anywhere}
.cc-product .cc-entity-card:hover{border-color:var(--cc-green);background:#edf6f3;box-shadow:0 6px 18px #013e3614}
.cc-product .cc-entity-card:focus-visible{outline:2px solid var(--cc-green);outline-offset:3px}
.cc-product .cc-card-heading{font-size:1.15rem;font-weight:700;color:var(--cc-green-dark);line-height:1.4}
.cc-product .cc-card-key{font-size:.85rem;font-weight:600;color:#52726a}
.cc-product .cc-card-description{color:var(--cc-muted);line-height:1.5;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cc-product .cc-card-open{position:absolute;right:20px;top:22px;color:var(--cc-green);font-size:22px}
.cc-product .cc-pool-texts{margin-top:24px}.cc-product .cc-pool-texts label:last-child{margin-bottom:0}
.product-blazor-host>cc-product-pool-list,.product-blazor-host>cc-product-pool-detail{display:block;flex:0 0 auto;min-width:0;width:100%}
@media(min-width:1600px){.cc-product .cc-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){.cc-product .cc-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.cc-product .cc-card-grid{grid-template-columns:minmax(0,1fr);padding:16px;gap:14px}.cc-product .cc-card-list-filter{padding:16px}.cc-product .cc-card-list-filter label{min-width:100%}}

/* Amount and currency share one field; the currency is not editable. */
.cc-product .cc-price-input{display:block;position:relative;min-width:0;max-width:100%}
.cc-product label .cc-price-input{margin-top:5px}
.cc-product .cc-price-input>input[type=number]{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;margin:0;text-align:right;font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield}
.cc-product .cc-price-input-with-currency>input[type=number]{padding-right:3.5em}
.cc-product .cc-price-input>input::-webkit-inner-spin-button,.cc-product .cc-price-input>input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.cc-product .cc-price-input>.cc-price-currency{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#52726a;font-weight:400;line-height:1;white-space:nowrap;pointer-events:none}
.cc-product .cc-prices .cc-price-input{width:160px}
.cc-product .cc-barcode-preview{margin-bottom:16px;padding:16px;background:#fff;border:1px solid #dce5df;border-radius:8px;min-height:150px;box-sizing:border-box;text-align:center}
.cc-product .cc-barcode-preview p{color:#52726a}
.cc-product .cc-barcode-value{color:#000;font-family:monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.cc-product .cc-tab-heading{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px}
.cc-product .cc-tab-validation{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:12px;background:#fcecea;color:#a12b23;font-size:.75rem;font-weight:600;line-height:1.4}
.cc-product .cc-tab-validation>span{font-weight:800}
.cc-product .k-tabstrip-items .k-tabstrip-item.cc-tab-invalid{border-color:#dba39d}
.cc-product .cc-history li{padding:12px 18px;margin-bottom:10px}
