@charset "UTF-8";
.product-type-badge,.product-cell .product-type-badge{display:inline-flex;align-self:flex-start;align-items:center;width:fit-content;border:1px solid #d6dee6;background:#f2f5f8;color:#475b70;border-radius:4px;padding:3px 7px;font-size:10px;line-height:1.5;font-weight:550;letter-spacing:0;white-space:normal;margin:5px 0 8px}
.product-type-badge.requested,.product-cell .product-type-badge.requested{background:#eaf0fa;border-color:#b9cce9;color:#244c80;font-weight:650}
:root{--ink:#243b33;--green:#204c3b;--accent:#d5e5cf;--muted:#7b847d;--line:#e3e6df;--paper:#f7f8f4;--white:#fff;--orange:#ae7834;--red:#b7473d;--radius:14px;font-family:Inter,"Segoe UI","Malgun Gothic",Arial,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}a{color:inherit;text-decoration:none}input,select,textarea{border:1px solid #dbe0d8;border-radius:7px;padding:10px 12px;min-height:42px;background:#fff;color:var(--ink);max-width:100%}select{cursor:pointer}textarea{resize:vertical;line-height:1.5}input:read-only{background:#f0f2ed;color:#7c867d}input:focus,select:focus,textarea:focus{outline:2px solid #91af99;outline-offset:2px}button:focus-visible,a:focus-visible{outline:2px solid #91af99;outline-offset:3px}button{border:0}button,a{transition:background .15s,color .15s}h1,h2,h3,p{margin-top:0}[hidden]{display:none!important}.logo{display:block}.logo img{width:174px;height:45px;object-fit:contain;object-position:left center}.eyebrow,.mini-label{font-size:10px;font-weight:700;letter-spacing:1.7px}.eyebrow{color:#63836f;margin-bottom:18px}.mini-label{color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:7px;min-height:40px;padding:9px 15px;font-size:12px;font-weight:600;white-space:nowrap}.primary{background:var(--green);color:#fff}.primary:hover{background:#153c2c}.secondary{background:#fff;border-color:#dce2d9;color:#49604e}.secondary:hover{background:#f0f4ed}.text-button{color:var(--muted);background:transparent}.field-help{font-size:11px;color:var(--muted);line-height:1.7}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:100;background:var(--green);color:white;border-radius:9px;padding:14px 22px;box-shadow:0 6px 30px #18362424;font-size:13px;max-width:90vw}.toast.error{background:var(--red)}.inline-error{padding:12px 14px;background:#fff0ed;color:var(--red);border-radius:7px;font-size:12px}.empty-state{text-align:center;padding:65px 20px;background:#fff;border:1px solid var(--line);border-radius:12px;margin:20px 0}.empty-state h2{font-size:22px}.empty-state p{font-size:14px;color:var(--muted)}.empty-symbol{display:block;font-size:50px;color:#9caf9c;margin-bottom:10px}.image-fallback{font-size:12px;color:#93a093}.product-photo,.table-photo,.detail-photo,.editor-preview{display:flex;align-items:center;justify-content:center;background:#f8f9f6}.product-photo img,.table-photo img,.detail-photo img,.editor-preview img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.search-box{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:0 12px;min-width:0}.search-box>span{font-size:25px;font-family:Arial;line-height:1;color:#87968a}.search-box input{width:100%;border:0;background:transparent;min-width:0;font-size:12px;padding-left:0}.search-box input:focus{outline:none}.search-box:focus-within{outline:2px solid #91af99;outline-offset:2px}
/* Customer catalogue */
.catalogue{background:var(--paper)}.preview-banner{background:#fff1d9;color:#745728;padding:10px 5%;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px}.preview-banner a{font-weight:600;text-decoration:underline}.customer-header{max-width:1380px;margin:auto;padding:24px 42px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.header-right{display:flex;flex-direction:column;gap:6px;text-align:right;font-size:12px}.header-right .mini-label{font-size:9px}.customer-main{max-width:1380px;margin:auto;padding:0 42px}.catalogue-hero{display:grid;grid-template-columns:1fr 300px;gap:45px;align-items:center;padding:58px 0 45px}.catalogue-hero h1{font-weight:500;font-size:clamp(30px,3.25vw,45px);line-height:1.2;letter-spacing:-1.7px;margin-bottom:18px}.catalogue-hero h1 span{color:#829281}.hero-copy{font-size:12px;line-height:1.8;color:#7c867c;margin-bottom:0}.partner-summary{border:1px solid #dce4d8;border-radius:12px;padding:25px;background:#eef3e9}.partner-summary h2{font-size:20px;letter-spacing:-.4px;margin:12px 0 6px}.partner-summary>p{font-size:12px;color:#788778;margin-bottom:15px}.partner-tags{display:flex;flex-wrap:wrap;gap:5px}.partner-tags span{font-size:10px;border:1px solid #d5dfcf;background:#f6f9f2;border-radius:5px;padding:5px 7px}.partner-summary .version-line{font-size:9px;line-height:1.7;margin:13px 0 0;color:#82907b}.catalogue-toolbar{border-top:1px solid var(--line)}.category-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);overflow:auto;scrollbar-width:thin}.category-tabs button{background:transparent;padding:19px 0 16px;color:#7e897d;font-size:12px;white-space:nowrap;position:relative}.category-tabs button.active{color:var(--green);font-weight:650}.category-tabs button.active:after{position:absolute;content:"";height:2px;bottom:0;left:0;right:0;background:var(--green)}.category-tabs small{font-size:9px;margin-left:8px;background:#edf0e9;border-radius:4px;padding:3px 5px;color:#909a8c}.filter-row{display:flex;gap:16px;align-items:center;margin:23px 0 0}.filter-row .search-box{flex:1;max-width:540px}.sort-control{font-size:11px;color:var(--muted);display:flex;gap:9px;align-items:center;margin-left:auto}.sort-control select{font-size:11px;background:transparent;min-height:39px}.view-toggle{display:flex;gap:2px;border:1px solid var(--line);border-radius:7px;padding:3px}.view-toggle button{background:transparent;color:#849181;font-size:20px;width:34px;height:32px;border-radius:4px}.view-toggle .selected{background:#e3ebdf;color:var(--green)}.results-row{display:flex;align-items:center;justify-content:space-between;margin:22px 0 16px;color:#8a9586;font-size:11px}.results-row p{margin:0}.results-row label{display:flex;align-items:center;gap:9px}.results-row select{min-height:30px;padding:4px 7px;font-size:11px;background:transparent;border-color:var(--line)}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0;transition:box-shadow .2s,border-color .2s}.product-card:hover{border-color:#d45b32;box-shadow:0 7px 22px #1d3e2810}.card-image-area{position:relative}.product-photo{height:218px;padding:30px 20px 20px}.category-chip{position:absolute;left:15px;top:14px;background:#fffdf5;border:1px solid #e6e9df;padding:5px 8px;border-radius:4px;font-size:8px;letter-spacing:.3px;color:#76846e;z-index:1}.image-open{position:absolute;inset:0;background:transparent}.product-card-body{padding:20px 22px 18px}.product-code{font-size:10px;color:#819479;letter-spacing:1.1px;font-weight:600;margin:0 0 7px}.card-info h2{font-size:17px;font-weight:600;letter-spacing:-.3px;margin-bottom:12px;line-height:1.35;min-height:23px}.product-dimensions{font-size:11px;color:#7e897a;margin:0 0 6px}.product-materials{font-size:10px;color:#a0a798;line-height:1.5;min-height:30px;margin-bottom:13px}.option-wrap{display:flex;align-items:center;gap:8px;border-top:1px solid #edf0e8;padding-top:13px}.option-wrap .mini-label{font-size:8px;letter-spacing:1px;white-space:nowrap}.option-select{font-size:11px;min-height:33px;background:#fafbf8;border-color:#e6eadf;width:100%;padding:7px 9px}.card-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:16px}.list-price-line{display:flex;gap:7px;align-items:center;min-height:18px}.list-price{font-size:10px;color:#a1a899;text-decoration:line-through}.discount-badge{font-size:8px;font-weight:600;color:#6a8a58;background:#edf5e6;border-radius:3px;padding:2px 4px}.offer-price-line{display:flex;gap:6px;align-items:baseline}.offer-price-line strong{font-size:23px;font-weight:600;letter-spacing:-.6px}.offer-price-line>span{font-size:9px;color:#9aa18f}.details-link{background:transparent;padding:8px 0;font-size:10px;color:#75886b;white-space:nowrap}.details-link:hover{color:var(--green)}.pagination{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin:30px 0;padding:22px 0;color:var(--muted);font-size:11px}.pagination>div{display:flex;gap:17px;align-items:center}.pagination .button{font-size:10px;min-height:33px}.catalogue-note{display:flex;gap:30px;border-top:1px solid var(--line);padding:24px 0 36px}.catalogue-note>span{font-size:9px;font-weight:700;letter-spacing:1px;white-space:nowrap;padding-top:3px;color:#7a8c70}.catalogue-note p{font-size:10px;line-height:1.8;max-width:760px;margin:0;color:#96a08e}.customer-footer{max-width:1380px;margin:auto;border-top:1px solid var(--line);padding:24px 42px 32px;display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:700;letter-spacing:1px}.customer-footer small{display:block;font-size:9px;font-weight:400;letter-spacing:0;color:#9ca694;margin-top:6px}.customer-footer>span:last-child{font-size:9px;font-weight:400;color:#929e88;letter-spacing:0}.product-grid.list-view{grid-template-columns:1fr}.list-view .product-card{display:grid;grid-template-columns:210px 1fr}.list-view .product-photo{height:190px}.list-view .product-card-body{display:grid;grid-template-columns:1fr 230px 210px;gap:24px;align-items:center}.list-view .card-info h2{min-height:0}.list-view .product-materials{margin:0;min-height:0}.list-view .option-wrap{display:block;border:0;padding:0}.list-view .option-wrap .mini-label{display:block;margin-bottom:8px}.list-view .card-bottom{display:block;margin:0}.list-view .details-link{margin-top:10px}.detail-dialog{border:1px solid var(--line);border-radius:16px;padding:0;max-width:960px;width:92vw;max-height:90vh;box-shadow:0 20px 100px #173c2830}.detail-dialog::backdrop,.edit-dialog::backdrop{background:#182a2260;backdrop-filter:blur(3px)}#detail-content{display:grid;grid-template-columns:1fr 1fr}.detail-photo{padding:40px;height:100%;min-height:400px}.detail-info{padding:42px 34px}.detail-info h2{font-size:26px;margin-bottom:22px}.detail-info .option-select{margin-bottom:20px}.detail-specs{display:grid;grid-template-columns:92px 1fr;font-size:12px;gap:14px 10px;margin-bottom:26px}.detail-specs dt{color:#97a18f}.detail-specs dd{margin:0;line-height:1.5}.detail-info .offer-price-line strong{font-size:32px}.dialog-x{position:absolute;top:13px;right:15px;border-radius:50%;width:30px;height:30px;background:#eef2e9;color:#687960;font-size:23px;line-height:1;z-index:3}
/* Management workspace */
.admin-body{background:#f5f6f3;font-size:13px}.admin-sidebar{width:222px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:28px 22px;display:flex;flex-direction:column;z-index:10}.admin-sidebar .logo img{width:158px;height:40px}.sidebar-caption{font-size:8px;color:#a7b09f;letter-spacing:1.7px;margin:18px 0 32px}.admin-sidebar nav{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:10px;text-align:left;padding:12px 11px;border-radius:7px;background:transparent;color:#8a9682;font-size:12px}.nav-item>span{font-size:17px}.nav-item.active{background:#eef3e9;color:var(--green);font-weight:600}.nav-item:hover{background:#f4f7f0}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:22px}.sidebar-bottom strong{font-size:10px;font-weight:600}.local-dot{display:inline-block;width:6px;height:6px;background:#719868;border-radius:50%;margin-right:6px}.sidebar-bottom p{font-size:10px;line-height:1.8;color:#9ba490;margin:10px 0 22px}.phase-tag{font-size:8px;letter-spacing:1px;color:#a1af95}.admin-shell{margin-left:222px}.admin-topbar{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:15px}.admin-topbar>span{font-size:11px;color:#a0aa98}.admin-topbar>div{display:flex;gap:6px}.admin-main{padding:35px 36px;max-width:1600px;margin:auto}.admin-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:28px}.admin-heading .eyebrow{font-size:9px;margin-bottom:10px}.admin-heading h1{font-size:27px;letter-spacing:-.7px;font-weight:650;margin-bottom:9px}.admin-heading p:last-child{font-size:12px;color:#96a18c;margin:0}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:21px}.stat-card{border:1px solid var(--line);background:#fff;border-radius:11px;padding:20px 23px;display:flex;flex-direction:column;gap:8px}.stat-card>span{font-size:11px;color:#8b9980}.stat-card strong{font-size:29px;font-weight:600;letter-spacing:-1px}.stat-card small{font-size:9px;color:#a8b09f}.admin-notice{background:#edf3e8;border:1px solid #dfe8d7;border-radius:8px;padding:12px 16px;display:flex;gap:12px;align-items:center;font-size:10px;margin-bottom:23px;line-height:1.7}.admin-notice strong{white-space:nowrap;font-weight:600;color:#617d54}.admin-notice span{color:#8c9b81;overflow-wrap:anywhere}.table-panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-toolbar{display:flex;gap:10px;align-items:center;padding:20px 20px 14px}.panel-toolbar .search-box{flex:1;max-width:390px}.panel-toolbar select{font-size:10px;min-height:39px;padding:7px 8px}.customer-select{display:flex;align-items:center;gap:8px;font-size:10px;color:#939f88;margin-left:auto}.table-caption{display:flex;justify-content:space-between;align-items:center;padding:0 22px 16px;font-size:10px;color:#9aa58e;gap:12px}.table-caption>div{display:flex;gap:17px}.subtle-link:hover{color:var(--green)}.table-scroll{overflow-x:auto}.product-table{width:100%;border-collapse:collapse;text-align:left;font-size:11px;white-space:nowrap}.product-table thead{background:#f8faf5;color:#96a48a;border-top:1px solid #edf0e8;border-bottom:1px solid #edf0e8}.product-table th{font-size:9px;font-weight:600;padding:13px 14px}.product-table td{border-bottom:1px solid #f0f2eb;padding:14px}.product-table th:first-child,.product-table td:first-child{padding-left:22px}.product-table tbody tr:hover{background:#fcfdf9}.product-cell{display:flex;gap:11px;align-items:center;min-width:220px}.table-photo{width:66px;height:45px;flex-shrink:0;border:1px solid #edf0e7;border-radius:5px;padding:4px}.product-cell>div:last-child{display:flex;flex-direction:column;gap:5px}.product-cell strong{font-size:10px;font-weight:650;color:#627959;letter-spacing:.3px}.product-cell span{font-size:11px;max-width:220px;overflow:hidden;text-overflow:ellipsis}.numeric{text-align:right;font-variant-numeric:tabular-nums}.table-muted{color:#a1aa96;font-size:10px}.option-name{font-size:10px;font-weight:500;display:block;margin-bottom:6px}.product-table td:nth-child(2) .table-muted{display:block;font-size:8px}.category-cell{font-size:9px;color:#9aa58e}.offer-cell{color:#426337;font-weight:650;font-size:11px}.status-pill{display:inline-block;border-radius:5px;padding:5px 8px;font-size:9px}.status-pill.draft{background:#f9f0dd;color:#ac9058}.status-pill.active{background:#eaf3e2;color:#6e9257}.status-pill.hidden{background:#eff0eb;color:#99a08f}.edit-button{border:1px solid #e2e8da;color:#7e9171;background:#fff;border-radius:5px;padding:6px 9px;font-size:9px}.edit-button:hover{background:#eef4e7}.table-pagination{display:flex;justify-content:space-between;align-items:center;padding:16px 22px;font-size:10px;color:#a0aa94}.table-pagination>div{display:flex;align-items:center;gap:13px}.table-pagination .button{min-height:30px;padding:5px 12px;font-size:10px}.small-empty{text-align:center;padding:35px;color:#94a187}.admin-footer{display:flex;justify-content:space-between;padding:0 36px 25px;font-size:9px;color:#a3ad97}.settings-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px;max-width:900px;margin-bottom:22px}.settings-panel h2{font-size:17px}.settings-panel>p{font-size:12px;line-height:1.8;color:#89967e}.settings-actions{display:flex;justify-content:flex-end;margin-top:20px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.section-title h2,.section-title h3{margin:0;font-size:14px;font-weight:600}.section-title>span{font-size:10px;color:#99a58f}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#718566}.form-grid input,.form-grid select,.form-grid textarea{width:100%;font-size:12px}.full-width{grid-column:1/-1}.form-grid small{font-size:10px;color:#a4ae9a;line-height:1.5}.required{color:#b27f51;display:inline}.dimension-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.edit-dialog{position:relative;border:1px solid var(--line);border-radius:14px;padding:0;width:840px;max-width:94vw;max-height:94vh;box-shadow:0 20px 80px #133d2428;overflow:auto}.edit-header{position:relative;display:flex;align-items:center;justify-content:space-between;padding:25px 29px 20px;border-bottom:1px solid var(--line)}.edit-header .eyebrow{font-size:9px;margin-bottom:8px}.edit-header h2{font-size:20px;margin:0;line-height:1.4;padding-right:30px}.edit-header .dialog-x{top:27px;right:25px}.editor-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);padding:0 29px}.editor-tabs button{position:relative;background:transparent;font-size:12px;padding:16px 0;color:#98a38d}.editor-tabs .active{color:var(--green);font-weight:600}.editor-tabs .active:after{content:"";position:absolute;bottom:0;height:2px;left:0;right:0;background:var(--green)}.edit-content{padding:26px 29px}.editor-image-section{display:flex;align-items:center;gap:25px;padding-bottom:26px;margin-bottom:26px;border-bottom:1px solid var(--line)}.editor-image{width:240px;flex-shrink:0;border:1px solid var(--line);border-radius:9px;overflow:hidden}.editor-preview{height:165px;padding:18px}.editor-image-section h3{font-size:13px;margin-bottom:8px}.editor-image-section>div:last-child>p{font-size:11px;color:#9ca78f;line-height:1.7}.upload-label{cursor:pointer;font-size:11px}.editor-image-section .field-help{font-size:9px;margin:10px 0 0}#upload-status{font-size:10px;color:#7c965f;display:block;margin-top:8px}.price-section-title{border-top:1px solid var(--line);padding-top:26px;margin-top:28px}.discount-preview{padding:12px 15px;background:#f4f7ee;border:1px solid #e4eadc;border-radius:7px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}.discount-preview>span{font-size:11px;color:#869978}.discount-preview strong{font-size:17px;font-weight:600;color:#5c7f49}.discount-preview small{flex-basis:100%;font-size:9px;color:#a3ad96}.edit-footer{border-top:1px solid var(--line);padding:17px 29px;background:#fbfcf8;display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;bottom:0;z-index:2}.edit-footer>span{font-size:9px;color:#a5b096;overflow-wrap:anywhere;max-width:55%}.edit-footer>div{display:flex;gap:8px}.history-content{padding:26px 29px;min-height:270px}.history-item{border-left:2px solid #c8d9bc;padding:0 0 25px 20px;margin-bottom:15px}.history-meta{display:flex;justify-content:space-between;font-size:10px;color:#9aa88e;gap:12px;margin-bottom:10px}.history-item h3{font-size:13px;margin:0 0 12px}.history-values{display:flex;gap:22px;flex-wrap:wrap}.history-values p{font-size:11px;margin:0;color:#7b8f6d}
@media(min-width:1500px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.product-photo{height:200px}}
@media(max-width:1200px){.admin-sidebar{width:190px;padding:25px 16px}.admin-sidebar .logo img{width:150px}.admin-shell{margin-left:190px}.admin-main{padding:28px 24px}.admin-topbar{padding:0 24px}.panel-toolbar{flex-wrap:wrap}.customer-select{margin-left:0}.panel-toolbar .search-box{max-width:none}.stat-card{padding:18px}.catalogue-hero{grid-template-columns:1fr 260px;gap:25px}.list-view .product-card-body{grid-template-columns:1fr 180px;gap:15px}.list-view .card-bottom{grid-column:2;grid-row:1/3}.list-view .option-wrap{grid-column:1}.customer-main,.customer-header{padding-left:30px;padding-right:30px}.product-card-body{padding:18px}.offer-price-line strong{font-size:21px}}
@media(max-width:950px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalogue-hero h1{font-size:33px}.admin-sidebar{width:165px;padding:22px 12px}.admin-sidebar .logo img{width:137px}.admin-shell{margin-left:165px}.nav-item{font-size:11px;padding:11px 7px}.admin-main{padding:24px 18px}.admin-heading h1{font-size:24px}.admin-topbar{padding:0 18px}.admin-topbar>span{font-size:9px}.admin-topbar .button{font-size:10px;padding:8px 10px}.stat-grid{gap:10px}.stat-card{padding:15px 13px}.stat-card small{font-size:8px}.admin-notice{display:block}.admin-notice strong{display:block;margin-bottom:4px}.panel-toolbar{gap:8px}.panel-toolbar .search-box{flex-basis:100%}.customer-select{margin-left:auto}.admin-footer{padding:0 18px 20px;font-size:8px}.admin-footer>span{display:none}.list-view .product-card{grid-template-columns:170px 1fr}.list-view .product-card-body{grid-template-columns:1fr 150px}.list-view .product-photo{height:190px}.detail-photo{min-height:320px;padding:25px}.detail-info{padding:35px 24px}.detail-info h2{font-size:23px}}
@media(max-width:700px){.customer-main,.customer-header{padding-left:20px;padding-right:20px}.customer-header{padding-top:18px;padding-bottom:18px}.logo img{width:150px}.catalogue-hero{grid-template-columns:1fr;padding:36px 0 28px;gap:23px}.catalogue-hero h1{font-size:34px}.partner-summary{padding:18px 20px}.partner-summary h2{font-size:18px;margin:8px 0 5px}.partner-summary>p{margin-bottom:10px}.hero-copy br{display:none}.category-tabs{gap:18px}.category-tabs button{font-size:11px}.filter-row{flex-wrap:wrap;gap:12px}.filter-row .search-box{flex-basis:100%;max-width:none}.sort-control{margin-left:0;flex:1}.product-grid{gap:14px}.product-photo{height:175px;padding:25px 12px 12px}.category-chip{font-size:7px;left:10px;top:10px;padding:4px 6px}.product-card-body{padding:15px 13px}.card-info h2{font-size:15px;min-height:40px}.product-dimensions{font-size:9px;line-height:1.6;min-height:29px}.product-materials{font-size:9px;min-height:40px}.option-wrap{display:block}.option-wrap .mini-label{display:block;margin-bottom:7px}.card-bottom{display:block;margin-top:13px}.offer-price-line strong{font-size:20px}.details-link{padding-top:11px}.pagination{font-size:9px}.pagination>div{gap:9px}.pagination .button{padding:6px 9px}.catalogue-note{gap:15px}.catalogue-note p{font-size:9px}.customer-footer{padding-left:20px;padding-right:20px;gap:20px}.preview-banner{padding:10px 20px;font-size:10px;align-items:flex-start}.preview-banner a{flex-shrink:0;font-size:9px}.list-view .product-card{grid-template-columns:130px 1fr}.list-view .product-card-body{display:block}.list-view .card-info h2{min-height:0}.list-view .product-photo{height:100%;min-height:230px}.list-view .option-wrap{margin-top:10px}.list-view .card-bottom{display:flex;margin-top:10px}.list-view .details-link{margin:0}#detail-content{grid-template-columns:1fr}.detail-photo{height:230px;min-height:0;padding:25px}.detail-info{padding:24px}.detail-specs{font-size:11px}.detail-dialog{max-height:90vh}.admin-sidebar{position:static;width:100%;height:auto;flex-direction:row;align-items:center;justify-content:space-between;padding:12px 17px;border-right:0;border-bottom:1px solid var(--line)}.admin-sidebar .logo img{width:120px;height:30px}.sidebar-caption,.sidebar-bottom{display:none}.admin-sidebar nav{flex-direction:row;gap:4px}.nav-item{font-size:10px;padding:8px}.nav-item>span{display:none}.admin-shell{margin-left:0}.admin-topbar{height:60px;padding:0 17px}.admin-topbar>span{display:none}.admin-topbar>div{width:100%;justify-content:space-between}.admin-main{padding:25px 17px}.admin-heading{align-items:flex-start;gap:10px}.admin-heading h1{font-size:22px}.admin-heading p:last-child{font-size:10px;line-height:1.7}.admin-heading>.button{font-size:10px;padding:8px 10px;margin-top:15px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{padding:16px}.stat-card strong{font-size:26px}.stat-card small{font-size:9px}.panel-toolbar{padding:16px 14px 12px}.panel-toolbar select{font-size:9px}.customer-select{font-size:9px;gap:5px;flex-basis:100%;justify-content:flex-end}.table-caption{padding:0 14px 13px;font-size:9px;flex-wrap:wrap}.table-caption>div{gap:13px}.table-pagination{padding:14px}.table-pagination>div{gap:8px}.settings-panel{padding:21px 17px}.form-grid{gap:13px}.edit-header{padding:21px 19px}.edit-header h2{font-size:18px}.edit-header .dialog-x{right:15px;top:19px}.editor-tabs{padding:0 19px;gap:20px}.edit-content,.history-content{padding:20px 19px}.editor-image-section{gap:17px;align-items:flex-start}.editor-image{width:140px}.editor-preview{height:125px;padding:10px}.editor-image-section .field-help{font-size:8px}.editor-image-section>div:last-child>p{font-size:10px}.upload-label{font-size:9px;padding:8px 10px;min-height:34px}.section-title>span{font-size:9px}.edit-footer{padding:14px 19px}.edit-footer>span{max-width:40%;font-size:8px}.edit-footer .button{font-size:10px;padding:8px 11px}.history-meta{font-size:9px}.history-values{gap:12px}.dimension-fields{gap:8px}}
@media(max-width:390px){.product-grid{grid-template-columns:1fr}.product-photo{height:225px}.card-info h2,.product-dimensions,.product-materials{min-height:0}.card-bottom{display:flex}.option-wrap{display:flex}.pagination>span{display:none}.pagination{justify-content:center}.form-grid{grid-template-columns:1fr}.full-width{grid-column:auto}.editor-image-section{flex-direction:column}.editor-image{width:100%}.editor-preview{height:150px}}
/* Keep working data readable at normal desktop and tablet zoom. */
.hero-copy,.product-dimensions,.product-materials,.catalogue-note p,.results-row,.sort-control,.field-help{color:#64715f}
.product-dimensions{font-size:12px}.product-materials{font-size:11px}.category-chip{font-size:9px;color:#56694d}.option-select{font-size:12px}.details-link{font-size:12px;color:#547146}.list-price{font-size:11px;color:#6d7865}.offer-price-line>span{font-size:11px;color:#6d7865}.catalogue-note p{font-size:11px}
.admin-heading p:last-child,.admin-topbar>span,.table-muted,.category-cell,.table-caption,.table-pagination,.stat-card>span,.stat-card small,.form-grid small,.editor-image-section>div:last-child>p,.section-title>span{color:#68765f}
.stat-card>span{font-size:12px}.stat-card small{font-size:10px}.product-table{font-size:12px}.product-table th{font-size:11px;color:#65755d}.product-cell strong{font-size:12px}.product-cell span{font-size:12px}.option-name{font-size:12px}.product-table td:nth-child(2) .table-muted{font-size:10px}.table-muted,.category-cell{font-size:11px}.offer-cell{font-size:12px}.status-pill{font-size:11px}.edit-button{font-size:11px}.table-caption,.table-pagination,.panel-toolbar select,.customer-select{font-size:11px}.status-pill.draft{color:#806325}.status-pill.active{color:#496c30}.status-pill.hidden{color:#646e59}.admin-notice{font-size:11px}.admin-notice span{color:#65775b}.form-grid label{font-size:12px}.form-grid input,.form-grid select,.form-grid textarea{font-size:13px}.history-values p{font-size:12px}.history-meta{color:#65775b}.editor-tabs button{color:#65775b}.admin-notice strong{color:#526b43}.mini-label{color:#68765f}
@media(max-width:700px){.product-dimensions{font-size:10px}.product-materials{font-size:10px}.details-link{font-size:11px}.category-chip{font-size:8px}.product-table th{font-size:10px}.product-table td:nth-child(2) .table-muted{font-size:9px}.catalogue-note p{font-size:10px}.form-grid label{font-size:11px}}
.product-dialog{border:1px solid var(--line);border-radius:14px;padding:0;width:1000px;max-width:94vw;max-height:92vh;overflow:auto;box-shadow:0 20px 80px #133d2428}
.product-dialog::backdrop{background:#182a2260;backdrop-filter:blur(3px)}.product-detail-content{padding:26px 29px}.product-summary{display:flex;gap:20px;align-items:center;padding:20px;border:1px solid var(--line);background:#f7faf2;border-radius:10px;margin-bottom:25px}.product-summary>.table-photo{width:155px;height:100px;padding:8px;background:white}.product-summary h3{font-size:20px;margin-bottom:8px}.product-summary p{margin-bottom:10px}.option-count-badge{font-size:11px;border-radius:5px;padding:5px 8px;background:#e5efdc;color:#4f7040}.option-item{display:flex;align-items:center;gap:10px}.option-preview{display:block;max-width:230px;white-space:normal;line-height:1.6}.group-status .status-pill{margin:3px 3px 3px 0}.option-table{border:1px solid var(--line);border-radius:8px}.product-detail-content .section-title .field-help{margin:7px 0 0}.product-dialog .edit-footer>button{flex-shrink:0}
@media(max-width:700px){.product-detail-content{padding:20px 17px}.product-summary{gap:13px;padding:15px}.product-summary>.table-photo{width:105px;height:85px}.product-summary h3{font-size:17px}.product-detail-content .section-title{align-items:flex-start}.product-detail-content .section-title .button{font-size:11px;padding:8px 11px}.product-dialog .edit-footer{padding:14px 17px}}
.selection-column{width:42px;text-align:center}.selection-column input{min-height:0;width:16px;height:16px;accent-color:var(--green);cursor:pointer}.selection-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 22px;border-top:1px solid var(--line);background:#f3f8ed;font-size:11px;color:#65775b}.selection-toolbar>div{display:flex;gap:8px}.selection-toolbar .button{min-height:34px;font-size:11px}.quote-actions{display:flex;gap:8px;flex-wrap:wrap}.quote-status-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:23px;padding:14px 18px;border:1px solid var(--line);border-radius:9px;background:white}.quote-status-bar>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.quote-status-bar strong{font-size:13px}.quote-status-bar .button{min-height:34px;font-size:11px}#quote-save-status{font-size:10px;color:#718264}.quote-panel{border:1px solid var(--line);border-radius:12px;background:white;padding:24px;margin-bottom:22px}.quote-panel .section-title h2{font-size:15px}.quote-header-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.quote-lines-panel .section-title{margin-bottom:15px}.quote-lines-panel .field-help{margin:7px 0 0}.quote-edit-table{width:100%;border-collapse:collapse;font-size:11px;min-width:1000px}.quote-edit-table th{font-weight:600;font-size:10px;color:#68765f;background:#f3f7ed;padding:12px 9px;text-align:left;border:1px solid var(--line)}.quote-edit-table th.numeric{text-align:right}.quote-edit-table td{padding:14px 9px;border:1px solid var(--line);vertical-align:top}.quote-edit-table td:first-child{width:28px}.quote-edit-table input,.quote-edit-table select{font-size:11px;min-height:34px;padding:7px 8px}.quote-picker{min-width:190px;width:20%}.quote-picker input,.quote-picker select{width:100%;display:block;margin-bottom:7px}.quote-line-info{min-width:245px;width:30%}.quote-line-product{display:flex;gap:10px;align-items:center;margin-bottom:11px}.quote-line-product>div:last-child{display:flex;flex-direction:column;gap:6px}.quote-line-product .table-photo{width:78px;height:54px;flex-shrink:0}.quote-line-product strong{font-size:12px;font-weight:600}.quote-line-product small{font-size:10px;color:#718264;line-height:1.5}.quote-line-info>input{width:100%;font-size:10px}.quote-edit-table td.numeric{white-space:nowrap;padding-top:20px}.quote-edit-table td.numeric small{display:block;margin-top:7px}.quote-edit-table input[type=number]{width:66px}.quote-row-actions .edit-button{display:block;margin-bottom:8px;white-space:nowrap}.line-warning{font-size:10px;color:#ab782d;line-height:1.5;margin:7px 0 0}.quote-total{margin-top:20px;border-radius:9px;background:#edf4e6;padding:19px 22px;display:flex;justify-content:flex-end;align-items:baseline;gap:20px;flex-wrap:wrap}.quote-total>span{font-size:10px;letter-spacing:1px;color:#6a8458}.quote-total strong{font-size:30px;letter-spacing:-.7px;font-weight:600}.quote-total small{font-size:10px;color:#718264}.quote-preview-dialog{padding:0;border:1px solid var(--line);border-radius:12px;width:1250px;max-width:96vw;max-height:94vh;overflow:auto}.quote-preview-dialog::backdrop{background:#182a2260;backdrop-filter:blur(3px)}.quote-paper{padding:32px;background:white;overflow-x:auto;font-size:12px}.quote-paper-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.quote-paper-title h2{font-size:30px;font-weight:600;margin-bottom:6px;color:var(--green)}.quote-paper-title p{font-size:11px;color:#7c8e70;margin:0}.quote-paper-logo{width:145px;object-fit:contain}.quote-paper-info{display:grid;grid-template-columns:1fr 1fr;gap:35px;background:#f5f8ef;border:1px solid var(--line);padding:18px;margin-bottom:23px;line-height:1.5}.quote-paper-info p{font-size:11px;margin-bottom:8px}.quote-paper-info p:last-child{margin:0}.quote-preview-table{width:100%;min-width:850px;border-collapse:collapse;font-size:10px}.quote-preview-table th{background:var(--green);color:white;font-size:9px;font-weight:500;padding:9px 7px;border:1px solid #5f7c54}.quote-preview-table td{padding:12px 7px;border:1px solid var(--line);vertical-align:middle;white-space:pre-line;line-height:1.6}.quote-preview-table .table-photo{width:65px;height:55px}.quote-preview-table td p{margin:6px 0 0;font-size:9px}.quote-paper-total{background:#edf4e6;padding:18px;text-align:right;font-size:18px;font-weight:600;margin:20px 0}.quote-paper h3{font-size:13px;margin:20px 0 9px}.quote-paper-notes{white-space:pre-line;line-height:1.8;font-size:11px}input:disabled,textarea:disabled,select:disabled{background:#f6f7f3;color:#68765f;opacity:1}
@media(max-width:1200px){.quote-header-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-status-bar{flex-wrap:wrap}.quotation-main .admin-heading{align-items:flex-start}.quote-actions .button{font-size:11px;padding:9px 12px}}
@media(max-width:700px){.selection-toolbar{flex-wrap:wrap;padding:12px 14px;font-size:10px}.selection-toolbar>div{width:100%;justify-content:space-between}.selection-toolbar .button{font-size:10px;padding:8px 11px}.admin-sidebar nav{flex-wrap:wrap}.admin-sidebar .nav-item{font-size:9px}.quote-panel{padding:18px 14px}.quotation-main .admin-heading{flex-direction:column;gap:14px}.quote-actions{width:100%;justify-content:flex-end}.quote-status-bar{padding:13px}.quote-status-bar .button{font-size:10px;padding:8px 10px}.quote-panel .section-title{align-items:flex-start;gap:12px}.quote-panel .section-title>span{display:none}.quote-total{padding:16px;gap:12px}.quote-total strong{font-size:25px}.quote-paper{padding:20px}.quote-paper-info{grid-template-columns:1fr;gap:16px}.quote-paper-title h2{font-size:24px}.quote-paper-logo{width:110px}}
.quote-confirm-dialog{border:1px solid var(--line);border-radius:12px;max-width:460px;width:90vw;padding:26px}.quote-confirm-dialog::backdrop{background:#182a2260}.quote-confirm-dialog h2{font-size:19px}.quote-confirm-dialog p{font-size:13px;line-height:1.8;color:#68765f}.quote-confirm-dialog>div{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.internal-review-panel{border-color:#d5dfce;background:#fbfcf8}.internal-review-panel summary{cursor:pointer;display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:15px;list-style:none}.internal-review-panel summary:before{content:'▾';color:#63814f}.internal-review-panel:not([open]) summary:before{content:'▸'}.internal-review-panel summary strong{margin-right:auto}.internal-review-panel summary span{font-size:10px;color:#849476}.internal-review-content{padding-top:22px}.review-controls{display:flex;gap:22px;flex-wrap:wrap;margin-bottom:12px}.review-controls label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#66785b;min-width:190px}.review-controls input,.review-controls select{font-size:13px}.review-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.review-summary-grid>div{border:1px solid #dee7d5;padding:15px 12px;background:white;border-radius:8px}.review-summary-grid span{display:block;font-size:10px;color:#78916a;margin-bottom:9px}.review-summary-grid strong{font-size:17px;font-weight:600;white-space:nowrap}.internal-review-table{width:100%;min-width:1780px;border-collapse:collapse;font-size:11px}.internal-review-table th{background:#dfead5;color:#526b43;font-size:10px;font-weight:600;white-space:nowrap;padding:13px 9px;border:1px solid #d2dcc9;text-align:right}.internal-review-table td{border:1px solid #e1e7db;padding:12px 9px;white-space:nowrap;background:white}.internal-review-table th:first-child,.internal-review-table td:first-child{text-align:left;position:sticky;left:0;z-index:1;background:#f6f9f0;min-width:155px}.internal-review-table td small{display:block;font-size:10px;color:#7b8f6d;margin-top:6px}.internal-review-table input{width:135px;min-height:33px;padding:7px 8px;text-align:right;font-size:11px}.internal-review-table tfoot td{background:#edf4e6;font-weight:600}.internal-review-table tfoot td:first-child{background:#e3ecd9}.review-summary-grid>div:nth-child(3){background:#edf4e6}
@media(max-width:1200px){.review-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.review-summary-grid strong{font-size:16px}}
@media(max-width:700px){.review-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.internal-review-panel summary{font-size:13px;flex-wrap:wrap}.internal-review-panel summary span{flex-basis:100%;font-size:9px}.review-controls{gap:12px}.review-controls label{min-width:0;flex:1 1 140px}.review-summary-grid strong{font-size:15px}}

.quote-paper-totals>p{text-align:right;font-size:12px;margin:10px 0}.quote-paper-totals .quote-paper-total{margin-top:12px}.quote-paper-signature{display:flex;justify-content:flex-end;align-items:center;gap:18px;margin-top:24px;break-inside:avoid;font-size:14px}.quote-paper-seal{width:78px;height:78px;object-fit:contain}.quote-edit-table{min-width:1200px}

.history-filter{display:flex;flex-wrap:wrap;gap:14px;align-items:end}.history-filter label{display:flex;flex-direction:column;gap:7px;font-size:11px;min-width:140px;flex:1}.history-filter label:first-child{flex:2;min-width:240px}.history-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.history-stats .stat-card strong{font-size:27px}.history-chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:22px}.history-chart-grid .quote-panel{min-width:0;margin:0}.history-chart-grid h2{font-size:17px;margin:0 0 18px}.history-rank{margin-bottom:18px}.history-rank>div{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin-bottom:8px}.history-rank span{color:#728268;text-align:right}.history-rank progress{width:100%;height:9px;accent-color:#668754}.history-rank progress::-webkit-progress-bar{background:#edf3e7;border-radius:5px}.history-rank progress::-webkit-progress-value{background:#668754;border-radius:5px}.history-table{min-width:1200px}.history-table td small{display:block;margin-top:6px}.history-main #export-form{margin-top:20px}.history-chart-grid .section-title select{max-width:160px}.history-main>.quote-panel{margin-top:24px}#export-dialog #export-form{margin-top:22px}@media(max-width:900px){.history-chart-grid{grid-template-columns:1fr}.history-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.history-stats .stat-card strong{font-size:21px}.history-rank>div{flex-direction:column}.history-rank span{text-align:left}}

#product-section .product-table{min-width:1450px}.option-table{min-width:1080px}

.quote-preview-table .list-price-struck{text-decoration:line-through;text-decoration-color:#c62828;text-decoration-thickness:0.5px}.quote-preview-table .quote-amount,.quote-paper-totals>p:nth-child(2),.quote-paper-total{font-weight:700}
.review-edit-link{display:inline-block;margin-top:9px;white-space:nowrap;font-size:10px}

#edit-form .field-title{display:flex;align-items:center;gap:4px;min-height:20px;line-height:20px}#edit-form .form-grid label{justify-content:flex-start}#edit-form .form-grid input,#edit-form .form-grid select{min-height:42px;height:42px}#edit-form .form-grid textarea{min-height:88px}#edit-form .form-grid .required{display:inline;line-height:20px}.pricing-switch{display:flex;align-items:center;gap:10px;margin:12px 0;font-size:13px}.pricing-switch input{width:17px;height:17px}.pricing-results{padding:16px;background:#f3f7ef;border-radius:8px;margin:16px 0}.pricing-results input[readonly],#workbook-fields input[readonly]{background:#f8faf5;color:#526b43}.workbook-details{padding:16px;border:1px solid var(--line);border-radius:8px;margin:18px 0}.workbook-details summary{cursor:pointer;font-size:13px;font-weight:600}

.danger-button{color:#a12c2c;background:#fff3f0;border:1px solid #edc7bc}.danger-button:hover{background:#ffe5df}.admin-heading-actions{display:flex;gap:10px;flex-wrap:wrap}.history-changes{margin:12px 0;padding-left:20px;font-size:12px;line-height:1.8}.history-memo{white-space:pre-wrap;padding:12px;background:#f6f8f2;font-size:12px}

.history-changes li{white-space:pre-wrap;overflow-wrap:anywhere}

.admin-sort-control{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:10px;color:var(--muted)}.panel-toolbar{flex-wrap:wrap}
#bulk-state-error{white-space:pre-wrap;max-height:240px;overflow:auto}.selection-toolbar>div{flex-wrap:wrap}.selection-toolbar{flex-wrap:wrap}.selection-toolbar select{min-height:34px;font-size:11px}
#bulk-state-dialog label{display:flex;flex-direction:column;gap:8px;margin:16px 0;font-size:12px}#bulk-state-memo{width:100%;box-sizing:border-box}
#internal-review-panel{background:#edf3ff;border:1px solid #91a7d1;box-shadow:inset 4px 0 #486b9f}#internal-review-panel>summary{background:#dbe7fa;color:#203c62}#internal-review-panel .review-summary-grid>div{background:#fff;border-color:#b8c9e3}#internal-review-panel .internal-review-table th{background:#28466c;color:#fff}#internal-review-panel .internal-review-table td{background:#f7faff}#internal-review-panel input[readonly]{background:#e3ebf7;color:#29466c;cursor:default}#internal-review-panel tfoot td{background:#dde8f8;font-weight:700}#quote-round{background:#e8eef9;color:#2e527e}
.customer-contact-card{padding:18px;margin:16px 0;border:1px solid #dce3e0;border-radius:10px;background:#f7faf8}
.review-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){.review-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.button.danger{color:#a42b32;border:1px solid #e7bbc0;background:#fff6f6}

.quotation-product-options{position:fixed;z-index:10000;overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #9cb4d8;border-radius:8px;box-shadow:0 8px 24px #203b6330;padding:4px;color:#243c5d;font-size:12px}
.quotation-product-option{padding:9px 11px;cursor:pointer;border-radius:5px;display:flex;flex-direction:column;gap:4px;line-height:1.4}
.quotation-product-option span{font-size:11px;color:#61718a}.quotation-product-option:hover,.quotation-product-option[aria-selected=true]{background:#e8f0fc}.quotation-product-options>.field-help{padding:10px}
.quotation-return-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 18px;margin-bottom:20px;border:1px solid #9cb4d8;background:#edf3ff;border-radius:9px;color:#284e80;font-size:12px;flex-wrap:wrap}
.review-simulation-tools{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:12px 0}.review-simulation-tools span{font-size:12px;color:#85591b;font-weight:600}.review-simulation-comparison{margin:20px 0;padding:18px;background:#fffaf0;border:1px solid #dfc48b;border-radius:10px}.review-simulation-comparison h3{margin:0 0 14px;font-size:14px;color:#73511f}.review-simulation-comparison table{width:100%;min-width:580px;border-collapse:collapse;font-size:12px}.review-simulation-comparison th,.review-simulation-comparison td{padding:10px 12px;border-bottom:1px solid #ece0c7}.review-simulation-comparison th{text-align:left;font-weight:500}.review-simulation-comparison thead{background:#f6ecd5;color:#73511f}.review-simulation-comparison thead th:not(:first-child){text-align:right}.review-simulation-comparison tbody tr:nth-child(3){font-weight:700;background:#fff3d8}.simulation-gain{color:#18734c;font-weight:700}.simulation-loss{color:#b34035;font-weight:700}.review-controls #review-expected-rate{background:#fffdf4;border:2px solid #c9a14e;color:#624718}.review-controls #review-expected-rate[aria-invalid=true]{border-color:#b34035}
.material-picker{min-width:0;margin:0;padding:16px;border:1px solid #cddbc1;border-radius:9px;background:#f7faf3}.material-picker legend{padding:0 7px;font-size:12px;font-weight:600;color:#3d5930}.material-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:2px 0 16px}.form-grid .material-choice{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;padding:10px;background:#fff;border:1px solid #d9e3d1;border-radius:6px;cursor:pointer;font-size:12px;line-height:1.4}.material-choice input[type=checkbox]{width:16px;height:16px;min-height:0;margin:0;padding:0;flex-shrink:0;accent-color:#65864b}.material-choice:has(input:checked){border-color:#6d8d55;background:#eaf3df}.form-grid .material-custom{display:flex;flex-direction:column;gap:8px}.material-custom input{width:100%}.material-preview{font-size:11px;line-height:1.7;color:#4e6840;overflow-wrap:anywhere;margin:10px 0 0}.material-picker .field-help{margin:6px 0 0}@media(max-width:700px){.material-choices{grid-template-columns:repeat(3,minmax(0,1fr))}}

.admin-page-size-control{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;color:#536171}
#admin-rows .product-cell{min-width:365px;gap:16px;min-height:122px}
#admin-rows .table-photo{width:150px;height:110px;padding:6px;background:#fff;border-radius:8px}
#product-option-rows .table-photo{width:112px;height:80px;padding:5px;background:#fff}
@media(max-width:700px){#admin-rows .table-photo{width:120px;height:88px}#admin-rows .product-cell{min-width:315px;min-height:100px;gap:12px}}

.admin-currency-bar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:4px 20px 14px}.admin-currency-switch{display:flex;align-items:center;gap:6px;flex-wrap:wrap;border:0;padding:0;margin:0;min-width:0}.admin-currency-switch legend{float:left;margin-right:12px;padding:9px 0;font-size:11px;color:#536171}.admin-currency-switch label{display:flex;align-items:center;gap:6px;min-height:35px;padding:7px 12px;border:1px solid #d3ded3;border-radius:6px;background:white;font-size:11px;cursor:pointer}.admin-currency-switch label:has(input:checked){border-color:#668b6b;background:#e9f3e6;color:#315d39;font-weight:650}.admin-currency-switch input{width:14px;height:14px;min-height:0;margin:0;padding:0;accent-color:#4d7854}.admin-currency-bar .field-help{margin:0;font-size:10px;flex:1;min-width:230px}.currency-price-cell{white-space:nowrap}.currency-price-line{display:flex;align-items:baseline;justify-content:flex-end;gap:8px;line-height:1.6}.currency-price-line+.currency-price-line{margin-top:7px}.currency-code{font-size:9px;font-weight:650;color:#64776b;border:1px solid #d9e3d8;padding:1px 4px;border-radius:3px}.currency-missing{display:block;margin-top:3px;font-size:10px;color:#9b632c}
#product-dialog{width:min(1400px,96vw);max-width:96vw;max-height:94vh;overflow-x:hidden;background:#f5f8f4;border-radius:18px}
#product-dialog>.edit-header{position:sticky;top:0;z-index:3;background:#fff;padding:24px 30px;gap:18px}#product-dialog>.edit-header h2{font-size:23px;overflow-wrap:anywhere}#product-dialog>.editor-tabs{padding:0 30px;background:#fff}#product-dialog>.editor-tabs button{font-size:14px;padding:18px 0}
#product-dialog .product-detail-content{padding:26px 30px;min-width:0}#product-dialog .product-summary{display:grid;grid-template-columns:minmax(260px,36%) minmax(0,1fr);gap:30px;padding:24px;background:#fff;border-radius:13px;margin-bottom:28px;align-items:center}
.product-overview-photo{width:100%;height:270px;display:flex;align-items:center;justify-content:center;padding:12px;background:#fff;border:1px solid #e2e9dd;border-radius:10px;min-width:0}.product-overview-photo img{width:100%;height:100%;object-fit:contain}.product-overview-info{min-width:0}.product-overview-info .product-code{font-size:13px;font-weight:650;letter-spacing:.5px;color:#617859;margin-bottom:10px}#product-dialog .product-summary h3{font-size:27px;line-height:1.3;margin-bottom:16px;overflow-wrap:anywhere}.product-overview-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px}.product-overview-badges .product-type-badge{margin:0}.product-overview-facts,.detail-option-specs{margin:0;display:grid;gap:13px}.product-overview-facts>div,.detail-option-specs>div{min-width:0}.product-overview-facts dt,.detail-option-specs dt{font-size:11px;color:#70816a;margin-bottom:5px}.product-overview-facts dd,.detail-option-specs dd{margin:0;font-size:13px;color:#2b4028;line-height:1.7;overflow-wrap:anywhere;white-space:pre-line}.product-overview-remarks{font-size:12px;line-height:1.7;margin:16px 0 0!important;white-space:pre-line;overflow-wrap:anywhere}
.detail-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.detail-option-card{min-width:0;border:1px solid #d7e2d1;border-radius:12px;background:#fff;overflow:hidden;display:flex;flex-direction:column}.detail-option-header{display:flex;align-items:center;gap:14px;padding:18px 20px;border-bottom:1px solid #e7ede3;min-width:0}.detail-option-photo{width:104px;height:78px;flex-shrink:0;background:white;display:flex;align-items:center;justify-content:center;border:1px solid #edf0e7;border-radius:7px;padding:4px}.detail-option-photo img{width:100%;height:100%;object-fit:contain}.detail-option-title{flex:1;min-width:0}.detail-option-title h4{font-size:17px;margin:0 0 7px;line-height:1.5;overflow-wrap:anywhere}.detail-option-title span{font-size:11px;color:#6b7d65}.detail-option-header .status-pill{flex-shrink:0}.detail-option-specs{padding:18px 20px}.detail-option-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 20px 20px;margin-top:auto}.detail-option-metric{padding:13px;border:1px solid #e1e8dc;border-radius:8px;background:#f8faf6;min-width:0}.detail-offer-metric{background:#eef5e8;border-color:#ccddbf}.metric-label{display:block;font-size:10px;line-height:1.5;color:#677d5e;margin-bottom:9px}.detail-option-metric .currency-price-cell{min-width:0;white-space:normal;font-size:14px}.detail-option-metric .currency-price-line{justify-content:flex-start;min-width:0}.detail-option-metric .currency-price-line span{overflow-wrap:anywhere;min-width:0}.detail-option-metric .offer-cell{font-weight:700;color:#31582a}.metric-value{font-size:20px;font-weight:600;line-height:1.3;color:#314b2b}.detail-option-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:15px 20px;border-top:1px solid #e7ede3;background:#fcfdfb}.detail-option-actions>span{font-size:10px;color:#6b7d65;overflow-wrap:anywhere}.detail-option-actions .button{font-size:11px}#product-dialog>.edit-footer{padding:18px 30px;background:#fff;flex-wrap:wrap}#product-dialog>.edit-footer>span{font-size:11px;max-width:none;flex:1;min-width:150px}#product-dialog>.edit-footer>div{flex-wrap:wrap}#product-dialog #common-image{width:280px;max-width:100%;flex-shrink:0}#product-dialog #common-image .editor-preview{width:100%;height:200px}
@media(max-width:1000px){.detail-option-grid{grid-template-columns:minmax(0,1fr)}#product-dialog .product-summary{grid-template-columns:minmax(210px,34%) minmax(0,1fr);gap:22px}.product-overview-photo{height:230px}}
@media(max-width:650px){#product-dialog .product-detail-content{padding:16px}#product-dialog .product-summary{grid-template-columns:minmax(0,1fr);gap:20px;padding:16px}.product-overview-photo{height:240px}#product-dialog .product-summary h3{font-size:23px}#product-dialog>.edit-header{padding:18px}#product-dialog>.edit-header h2{font-size:19px}#product-dialog>.editor-tabs{padding:0 18px}.detail-option-header{padding:15px;gap:10px}.detail-option-photo{width:80px;height:64px}.detail-option-specs{padding:15px}.detail-option-metrics{padding:0 15px 15px;gap:8px}.detail-option-metric{padding:10px}.detail-option-actions{padding:14px 15px}#product-dialog>.edit-footer{padding:15px}#product-dialog #common-image{width:100%}}
@media(min-width:1001px){#product-options-panel{display:grid;grid-template-columns:minmax(280px,30%) minmax(0,1fr);grid-template-rows:auto 1fr;gap:20px 24px;align-items:start}#product-dialog #product-options-panel .product-summary{grid-column:1;grid-row:1 / span 2;display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:20px;margin:0}#product-options-panel>.section-title{grid-column:2;grid-row:1;margin-bottom:0;min-width:0;gap:10px}#product-options-panel>.detail-option-grid{grid-column:2;grid-row:2;gap:14px}.product-overview-photo{height:240px}.detail-option-header{padding:14px;gap:10px}.detail-option-photo{width:76px;height:60px}.detail-option-title h4{font-size:15px}.detail-option-specs{padding:14px;gap:10px}.detail-option-metrics{padding:0 14px 14px;gap:8px}.detail-option-metric{padding:10px}.detail-option-metric .currency-price-cell{font-size:12px}.detail-option-actions{padding:12px 14px}.detail-option-actions .button{padding:8px 10px;font-size:10px}}
.detail-option-card:only-child{grid-column:1 / -1}.detail-option-card:only-child .currency-price-cell{font-size:15px}.detail-option-card:only-child .detail-option-title h4{font-size:18px}
/* Unified product dossier: both currencies and every workbook field stay in one vertical flow. */
#product-dialog #product-options-panel{display:block}
#product-dialog #product-options-panel .product-summary{display:grid;grid-template-columns:minmax(240px,32%) minmax(0,1fr);margin-bottom:26px;gap:28px;align-items:center}
#product-dialog .product-overview-photo{height:290px}
#product-dialog .detail-option-grid{grid-template-columns:minmax(0,1fr);gap:28px}
#product-dialog .detail-option-header{padding:20px 24px;background:#f0f5ec}
#product-dialog .detail-option-photo{width:150px;height:105px}
#product-dialog .detail-option-title h4{font-size:21px}
#product-dialog .detail-option-specs{grid-template-columns:repeat(3,minmax(0,1fr));padding:20px 24px}
.product-financials,.product-source-section,.product-activity{padding:22px 24px;border-top:1px solid #e1e8dc;min-width:0}
.product-financials h4,.product-source-section h4,.product-activity h4{font-size:16px;color:#304d2e;margin:0 0 14px}
.product-financials{background:#f6f9f3}
.financial-money-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.financial-money-item{display:flex;flex-direction:column;gap:7px;background:#fff;border:1px solid #dce5d5;border-radius:9px;padding:16px;min-width:0}
.financial-money-item strong{font-size:18px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#314a2d}
.financial-money-item small{font-size:10px;color:#6b7d65;line-height:1.5}
.financial-emphasis{border-color:#adc19d;background:#eef5e7}
.product-ratio-grid,.product-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:15px 0}
.product-ratio-grid>div,.product-source-grid>div{min-width:0;padding:13px 14px;border-bottom:1px solid #e4eadd}
.product-ratio-grid dt,.product-source-grid dt{font-size:11px;color:#6a7b64;line-height:1.5;margin-bottom:7px}
.product-ratio-grid dd,.product-source-grid dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6;color:#293d27}
.product-source-grid{background:#fafbf8;border-radius:8px;border:1px solid #e4eadd}
.product-activity h4:not(:first-child){margin-top:28px}
.product-change-entry{border-bottom:1px solid #e4eadd;padding:12px 0;font-size:12px;line-height:1.7}
.product-change-entry summary{cursor:pointer;color:#3c5b33;font-weight:600}
.product-change-entry .history-changes{padding-left:22px;overflow-wrap:anywhere}
.product-proposal{border:1px solid #d8e2ec;background:#f6f9fc;border-radius:8px;padding:15px;margin:12px 0;overflow-wrap:anywhere}
.product-proposal>a{font-size:13px;font-weight:650;color:#355b83}
.product-proposal p{font-size:11px;line-height:1.8;margin:8px 0 0}
.proposal-export{border-top:1px solid #dce5ee;padding-top:8px;color:#53677d}
.unified-common-editor{margin:0 30px 26px;background:#fff;border:1px solid #d7e2d1;border-radius:10px}
.unified-common-editor>summary{padding:18px 22px;font-size:13px;font-weight:650;color:#3e5d34;cursor:pointer}
@media(max-width:800px){.financial-money-grid,.product-ratio-grid,.product-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#product-dialog .detail-option-specs{grid-template-columns:repeat(2,minmax(0,1fr))}#product-dialog #product-options-panel .product-summary{grid-template-columns:minmax(0,1fr)}.unified-common-editor{margin:0 16px 20px}}
@media(max-width:500px){.financial-money-grid,.product-source-grid{grid-template-columns:minmax(0,1fr)}.financial-money-item strong{font-size:16px}.product-financials,.product-source-section,.product-activity{padding:18px 15px}#product-dialog .detail-option-photo{width:95px;height:80px}#product-dialog .detail-option-header{padding:15px;flex-wrap:wrap}}
.detail-section-nav{display:flex;flex-wrap:wrap;gap:8px;padding:12px 24px;background:#fcfdfb;border-bottom:1px solid #e4eadd}.detail-section-nav .button{font-size:11px;padding:8px 12px}#product-dialog .product-financials,#product-dialog .product-source-section,#product-dialog .product-activity{scroll-margin-top:100px}
/* Price review: aligned currency columns, separate cost and selling-price tables. */
.financial-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.financial-section-heading h4{margin:0!important;font-size:18px!important}
.financial-rate{display:flex;align-items:center;gap:12px;padding:10px 14px;border:1px solid #d3dfcb;border-radius:8px;background:#fff;color:#3b5731}
.financial-rate>span{font-size:11px;color:#6a7c63}.financial-rate>strong{font-size:14px;font-variant-numeric:tabular-nums}
.financial-table-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.financial-table-panel{min-width:0;border:1px solid #d9e1e8;background:white;border-radius:10px;overflow:hidden}
.financial-table-panel h5{font-size:14px;padding:16px 18px;margin:0;border-bottom:1px solid #dde5ec;background:#eef3f8;color:#35516d}
#product-dialog .financial-comparison-table{width:100%;table-layout:fixed;border-collapse:collapse;min-width:0;margin:0;font-size:13px}
#product-dialog .financial-comparison-table th,#product-dialog .financial-comparison-table td{padding:15px 12px;border:0;border-bottom:1px solid #e5eaee;white-space:normal;overflow-wrap:anywhere;line-height:1.5;vertical-align:middle;font-variant-numeric:tabular-nums}
#product-dialog .financial-comparison-table thead th{background:#f7f9fb;color:#6b7b89;font-size:10px;font-weight:600;text-align:right}
#product-dialog .financial-comparison-table th:first-child{text-align:left;width:29%;padding-left:18px}
#product-dialog .financial-comparison-table tbody th{font-weight:500;color:#465b6c;background:#fff}
#product-dialog .financial-comparison-table td{text-align:right;color:#283e50;background:#fff}
#product-dialog .financial-comparison-table td:last-child,#product-dialog .financial-comparison-table thead th:last-child{padding-right:18px}
#product-dialog .financial-comparison-table .financial-total-row>*{font-weight:750;background:#edf3f9;border-bottom:0;color:#274c6d}
.financial-sales-panel{border-color:#ceddc3}.financial-sales-panel h5{background:#eaf2e4;color:#3b5d2e;border-color:#d9e4d1}
#product-dialog .financial-sales-panel .financial-comparison-table .financial-total-row>*{background:#eaf3e4;color:#315924}
.financial-table-note{font-size:10px;line-height:1.8;margin:0;padding:12px 18px;color:#768270;overflow-wrap:anywhere}
.financial-ratios{margin-top:22px;padding-top:20px;border-top:1px solid #dce5d5}.financial-ratios h5{font-size:14px;margin:0 0 14px;color:#435d37}
.financial-ratio-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0}
.financial-ratio-grid>div{min-width:0;padding:15px 12px;border:1px solid #dce5d5;border-radius:8px;background:#fff}
.financial-ratio-grid dt{font-size:10px;line-height:1.6;color:#6c7d64;margin:0 0 8px}
.financial-ratio-grid dd{margin:0;font-size:21px;font-weight:650;color:#3d5534;font-variant-numeric:tabular-nums}
.financial-ratio-grid .ratio-primary{border-color:#acc596;background:#eaf3e3}.financial-ratios>.financial-table-note{padding:12px 0 0}
@media(max-width:1000px){.financial-table-grid{grid-template-columns:minmax(0,1fr)}.financial-ratio-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:550px){.financial-ratio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.financial-rate{width:100%;justify-content:space-between}.financial-rate>strong{font-size:12px}#product-dialog .financial-comparison-table{font-size:11px}#product-dialog .financial-comparison-table th,#product-dialog .financial-comparison-table td{padding:12px 8px}.financial-ratio-grid dd{font-size:19px}}
/* Keep specifications and projects in the overview, and expand only requested history. */
#product-dialog .product-overview-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 24px}
#product-dialog .product-overview-facts .overview-project-fact{grid-column:1 / -1;padding-top:14px;border-top:1px solid #e2e9dd}
.overview-project-list ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.overview-project-list li{padding-left:12px;position:relative;overflow-wrap:anywhere;white-space:normal}
.overview-project-list li::before{content:'·';position:absolute;left:0;color:#7a926e}
.overview-project-extra[hidden]{display:none}
.overview-project-list .overview-project-extra{margin-top:6px}
.overview-project-toggle{margin-top:9px;padding:5px 0!important;font-size:11px!important;color:#476a35!important;min-height:0!important}
.overview-empty{color:#87917f;font-size:12px}
.financial-ratio-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.proposal-downloads{margin-top:12px;border-top:1px solid #dce5ee;padding-top:10px}
.proposal-downloads>summary{cursor:pointer;font-size:11px;font-weight:650;color:#46698a;padding:5px 0;line-height:1.6}
.proposal-downloads[open]>summary{margin-bottom:8px}
.product-proposal .proposal-downloads .proposal-export{padding:10px 0;margin:0}
@media(max-width:650px){#product-dialog .product-overview-facts{grid-template-columns:minmax(0,1fr)}.financial-ratio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.product-registration-history{padding:0 16px;border:1px solid #dce5d5;border-radius:9px;background:#fafcf8;margin-bottom:24px;min-width:0}.product-registration-history>summary{padding:16px 0;font-size:14px;font-weight:650;color:#3c5b33;cursor:pointer;line-height:1.6}.product-registration-history[open]{padding-bottom:16px}.product-registration-history[open]>summary{border-bottom:1px solid #e2e9dd}.product-registration-history .product-change-entry:last-child{border-bottom:0}
.product-proposal-history{padding:0 16px;border:1px solid #d5e0ec;border-radius:9px;background:#f7faff;margin-bottom:16px;min-width:0}.product-proposal-history>summary{padding:16px 0;font-size:14px;font-weight:650;color:#3f6081;cursor:pointer;line-height:1.6}.product-proposal-history[open]{padding-bottom:4px}.product-proposal-history[open]>summary{border-bottom:1px solid #dce5ee}
#edit-dialog>.edit-header{position:sticky;top:0;z-index:4;background:#fff;border-bottom:1px solid #e1e8dc}#edit-dialog{width:min(1080px,96vw);max-width:96vw;overflow-x:hidden}#edit-dialog #common-form{padding:24px 28px}#edit-dialog #common-form .editor-preview{height:220px}#edit-dialog #common-form .settings-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.unified-editor-toolbar{padding:20px 28px;background:#f0f5eb;border-bottom:1px solid #d9e4d0;display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px 16px;align-items:center}.unified-editor-toolbar>label{font-weight:650;font-size:12px;color:#405e33}.unified-editor-toolbar>select{width:100%;min-width:0;background:white;font-size:13px}.unified-editor-toolbar>p{grid-column:2;font-size:10px;color:#718067;line-height:1.7;margin:0}.unified-editor-note{padding-bottom:14px;border-bottom:1px solid #e2e9dd;line-height:1.8}#edit-form[hidden],#common-form[hidden],#unified-editor-toolbar[hidden]{display:none!important}@media(max-width:600px){.unified-editor-toolbar{padding:16px 19px;grid-template-columns:minmax(0,1fr);gap:8px}.unified-editor-toolbar>p{grid-column:1}#edit-dialog #common-form{padding:20px 19px}}
.pricing-edit-mode-help{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;margin:12px 0 20px;background:#f4f8ee;border:1px solid #d8e4cd;border-radius:8px}.pricing-edit-mode-help>.field-help{margin:0;line-height:1.8}.pricing-edit-mode-help>.button{flex-shrink:0;font-size:11px;border-color:#a6bf91;color:#3e6130;background:white}@media(max-width:650px){.pricing-edit-mode-help{flex-wrap:wrap}.pricing-edit-mode-help>.button{width:100%}}
.all-product-dialog{width:min(1380px,96vw);max-width:96vw;max-height:94vh;padding:0;border:1px solid #cad8c1;border-radius:15px;background:#f5f8f2;overflow-x:hidden}.all-product-dialog::backdrop{background:#182a2260;backdrop-filter:blur(3px)}.all-product-dialog .edit-header{position:sticky;top:0;z-index:5;background:#fff}.all-product-dialog .edit-header h2{overflow-wrap:anywhere}.all-product-content{padding:24px 28px;min-width:0}.all-product-notice{font-size:12px;line-height:1.8;padding:15px 18px;border:1px solid #cdddc3;background:#edf5e6;border-radius:8px;color:#426231}.all-common-fields,.all-option-editor{min-width:0;margin:22px 0;padding:22px;border:1px solid #cfddc4;border-radius:10px;background:#fff}.all-common-fields>legend,.all-option-editor>legend{font-size:16px;font-weight:650;color:#3c5c2e;padding:0 10px}.all-option-editor{border-color:#bfcfdc}.all-option-editor>legend{color:#365c7c}.all-option-editor h4{font-size:14px;margin:20px 0 14px;color:#365473}.all-option-heading{font-size:18px;margin-top:32px}.all-price-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.all-price-heading h4{margin:0}.all-editor-image{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:18px 0}.all-editor-photo{width:170px;height:115px;padding:6px;border:1px solid #e2e8dd;border-radius:8px;background:#fff;display:flex;align-items:center;justify-content:center}.all-editor-photo img{width:100%;height:100%;object-fit:contain}.all-pricing-outputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:15px;background:#f3f7fa;border-radius:8px;margin:20px 0}.all-pricing-outputs>div{min-width:0}.all-pricing-outputs dt{font-size:10px;color:#6b7d8b;line-height:1.5;margin-bottom:6px}.all-pricing-outputs dd{margin:0;font-size:14px;font-weight:600;overflow-wrap:anywhere}.all-product-dialog .edit-footer{position:sticky;bottom:0;z-index:5;display:flex;flex-wrap:wrap;gap:12px;background:#fff}.all-product-dialog .edit-footer>span{flex:1;min-width:200px;max-width:none}.all-product-dialog input[readonly]{background:#f2f5ef;color:#687a5c}.all-product-dialog .product-source-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.all-product-content>.form-grid{margin:24px 0}@media(max-width:700px){.all-product-content{padding:18px 15px}.all-common-fields,.all-option-editor{padding:16px}.all-pricing-outputs,.all-product-dialog .product-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.all-product-dialog .edit-footer>span{flex-basis:100%}}
/* Grouped numeric inputs and separated cost/settings/result panels. */
/* Keep modal scrolling inside the popup, including when another dialog is underneath. */
html:has(dialog:modal){overflow:hidden;scrollbar-gutter:stable}
body:has(dialog:modal){overflow:hidden}
dialog:modal{overscroll-behavior:contain}
.all-product-dialog [hidden]{display:none!important}.all-product-dialog .grouped-number{text-align:right;font-variant-numeric:tabular-nums;letter-spacing:.15px}
.all-cost-settings{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin:24px 0}
.all-cost-input-panel,.all-price-settings-panel{min-width:0;border:1px solid #cddde8;border-radius:10px;padding:18px 20px;background:#f5f9fc}.all-price-settings-panel{border-color:#dfd9c5;background:#fbf8f0}
.all-product-dialog .all-cost-settings h4{margin:0 0 18px;font-size:15px}.all-price-settings-panel h4{color:#78623a}.all-cost-settings .form-grid{grid-template-columns:minmax(0,1fr);gap:16px}.all-cost-settings .field-title{font-size:12px;line-height:1.5}.all-cost-settings input{font-size:16px;min-height:44px;background:#fff}
.all-product-dialog .all-pricing-outputs{display:block;background:none;border-radius:0;padding:0;margin:20px 0 24px}
.all-financial-summary{background:#fff;border:1px solid #d6e1d0;border-radius:10px;overflow:hidden}.all-financial-summary h4{padding:16px 20px;margin:0!important;background:#eef4e8;color:#3e5d31}
.all-financial-summary .financial-comparison-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:14px}.all-financial-summary .financial-comparison-table th,.all-financial-summary .financial-comparison-table td{padding:14px 20px;border-bottom:1px solid #e4ebdf;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.all-financial-summary .financial-comparison-table th{font-weight:500;text-align:left}.all-financial-summary .financial-comparison-table td,.all-financial-summary .financial-comparison-table thead th:not(:first-child){text-align:right}.all-financial-summary .financial-comparison-table thead{font-size:11px;color:#6c7f62;background:#f8faf5}.all-financial-summary .financial-total-row{background:#edf5e7;font-weight:700;color:#3b5f2c}.all-financial-summary .financial-total-row th{font-weight:700}
.all-result-ratios{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:18px 20px}.all-result-ratios>div{min-width:0;padding:14px;border:1px solid #dce5d5;border-radius:8px;background:#fafcf8}.all-product-dialog .all-result-ratios dt{font-size:11px;color:#728469}.all-product-dialog .all-result-ratios dd{font-size:22px;margin:8px 0 0;color:#3c5730}.all-result-ratios>.ratio-primary{background:#eaf3e2;border-color:#acc497}.all-financial-summary>.field-help{padding:0 20px 16px;margin:0;line-height:1.8}.simple-product-fields{margin-top:18px}
@media(max-width:750px){.all-cost-settings{grid-template-columns:minmax(0,1fr)}.all-cost-input-panel,.all-price-settings-panel{padding:16px}.all-result-ratios{grid-template-columns:minmax(0,1fr)}.all-financial-summary .financial-comparison-table th,.all-financial-summary .financial-comparison-table td{padding:12px 10px;font-size:12px}}
.dimension-unit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;grid-column:1 / -1;min-width:0}.dimension-unit-grid>label,.dimension-unit-grid>div{min-width:0}.dimension-unit-grid input,.dimension-unit-grid select{width:100%;min-width:0}.product-overview-dimensions{padding:14px 0;margin:0 0 16px;border-top:1px solid #e1e9dc;border-bottom:1px solid #e1e9dc}.product-overview-dimensions dt{font-size:11px;color:#718568;line-height:1.6;margin-bottom:6px}.product-overview-dimensions dd{margin:0;white-space:pre-line;overflow-wrap:anywhere;font-size:13px;line-height:1.7;color:#30492a}.all-product-dialog .field-title .required{display:inline;margin-left:3px}.all-product-dialog .required[hidden]{display:none!important}@media(max-width:650px){.dimension-unit-grid{gap:8px}.dimension-unit-grid .field-title,.dimension-unit-grid dt{font-size:10px}.dimension-unit-grid input,.dimension-unit-grid select{padding:8px 5px;font-size:11px}.product-overview-dimensions dd{font-size:11px}}

/* Larger identifiers and figures in the product management list. */
#admin-rows .product-cell>div>strong{font-size:15px;font-weight:650;line-height:1.5}
#admin-rows .product-cell>div>span:not(.product-type-badge){font-size:15px;line-height:1.5}
#admin-rows>tr>td.numeric{font-size:15px;font-variant-numeric:tabular-nums}
#admin-rows .currency-price-line>span{font-size:15px}

/* One shared column grid for headings and rows; no overlapping action column. */
#product-section .product-table{table-layout:fixed;width:100%;min-width:1500px}
#product-section .product-table th,#admin-rows>tr>td{padding:16px 12px;vertical-align:middle;white-space:normal;overflow-wrap:anywhere}
#product-section .product-table th{font-size:12px;line-height:1.6;text-align:left}
#product-section .product-table th.numeric,#admin-rows>tr>td.numeric{text-align:right}
#product-section .product-table th:first-child,#admin-rows>tr>td:first-child{padding:12px 8px;text-align:center}
#product-section .product-table th:last-child,#admin-rows>tr>td:last-child{text-align:center}
#admin-rows .product-cell{display:table-cell;min-width:0}
#admin-rows .product-cell>.admin-product-content{display:flex;flex-direction:row;gap:16px;align-items:center;min-width:0}
#admin-rows .admin-product-info{display:flex;flex-direction:column;gap:6px;min-width:0}
#admin-rows .admin-product-info>strong,#admin-rows .admin-product-info>span:not(.product-type-badge){font-size:15px;line-height:1.5;white-space:normal;overflow:visible;max-width:none;overflow-wrap:anywhere}
#admin-rows .admin-product-info>strong{font-weight:650}
#admin-rows .currency-price-line{flex-wrap:wrap;gap:4px 7px}
#admin-rows .currency-price-line>span{min-width:0;overflow-wrap:anywhere}
#admin-rows .option-preview{white-space:normal}
#admin-rows .status-pill{white-space:nowrap}
#admin-rows>tr>td:last-child .edit-button{font-size:12px;font-weight:600;white-space:nowrap;padding:9px 10px}

/* External column rules comply with the server style-src policy. */
#product-section .admin-col-select{width:3%}
#product-section .admin-col-product{width:24%}
#product-section .admin-col-option{width:8%}
#product-section .admin-col-category{width:8%}
#product-section .admin-col-list{width:12%}
#product-section .admin-col-offer{width:12%}
#product-section .admin-col-cost-ratio{width:8%}
#product-section .admin-col-discount{width:7%}
#product-section .admin-col-status{width:8%}
#product-section .admin-col-action{width:10%}
#admin-rows .admin-product-info{flex:1 1 150px;min-width:140px}
#admin-rows .admin-product-info>strong{white-space:nowrap;overflow-wrap:normal;word-break:normal}
#admin-rows .admin-product-info>span:not(.product-type-badge){overflow-wrap:break-word;word-break:normal}
#admin-rows .admin-product-info>.product-type-badge{max-width:100%;overflow-wrap:normal;word-break:normal}

/* Center every heading and value in the management list. */
#product-section .product-table th,#product-section .product-table th.numeric,
#admin-rows>tr>td,#admin-rows>tr>td.numeric{text-align:center}
#admin-list-price-heading,#admin-offer-price-heading{display:block;white-space:pre-line;line-height:1.6}
#admin-rows .currency-price-line{justify-content:center}
#admin-rows .admin-product-info{align-items:center;text-align:center}
#admin-rows .admin-product-info>.product-type-badge{align-self:center}
#admin-rows .product-cell>.admin-product-content{justify-content:center}

.catalogue-import-dialog{width:min(1000px,94vw);max-height:92vh;overflow:auto;padding:0;border:1px solid var(--line);border-radius:14px;background:#fff}
.catalogue-import-dialog::backdrop{background:#182a2260;backdrop-filter:blur(3px)}
.catalogue-import-dialog .catalogue-target-confirm{display:flex;align-items:flex-start;gap:10px;padding:16px;background:#fff3e5;border:1px solid #edc598;border-radius:8px;margin-top:20px;font-weight:700;line-height:1.7}
.catalogue-import-dialog .catalogue-target-confirm input{width:18px;height:18px;flex:0 0 18px;margin-top:3px;min-height:0}
.catalogue-import-dialog .edit-header{position:sticky;top:0;background:#fff;z-index:2}
.catalogue-import-dialog .edit-footer{background:#fff;justify-content:flex-end;flex-wrap:wrap}
.catalogue-file-label{display:flex;flex-direction:column;gap:10px;margin:24px 0;font-size:13px}
.catalogue-import-summary{font-weight:650;line-height:1.7}.catalogue-import-row{padding:12px 15px;border:1px solid var(--line);border-radius:7px;margin:10px 0;overflow-wrap:anywhere}
.catalogue-import-row summary{cursor:pointer;line-height:1.6;font-size:13px}.catalogue-import-row p{font-size:12px;line-height:1.7;white-space:pre-wrap;margin:10px 0}
#catalogue-import-open{font:inherit;color:inherit;background:none;padding:0;cursor:pointer}

.new-product-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:5px;background:#d45b32;color:#fff;padding:6px 10px;font-size:11px;font-weight:750;letter-spacing:.8px;line-height:1.2;pointer-events:none}
.new-product-overlay{position:absolute;top:14px;right:14px;z-index:2}
.detail-info>.new-product-badge{margin-bottom:16px}
.customer-password-dialog{width:min(460px,calc(100vw - 24px));max-height:90vh;overflow-y:auto;border:1px solid var(--line);border-radius:14px;padding:26px;background:white}
.customer-password-dialog::backdrop{background:#182a2260}
.customer-password-dialog h2{font-size:22px}
.customer-password-dialog p{font-size:13px;line-height:1.7}
.customer-password-dialog label{display:flex;flex-direction:column;gap:8px;margin:18px 0;font-size:13px}
.customer-password-dialog input{width:100%;font-size:16px}
.customer-password-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:22px}
.page-scroll-controls{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));z-index:10010;display:flex;flex-direction:column;gap:8px}
.page-scroll-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #cfdbd3;border-radius:50%;background:#fff;color:#204c3b;font-size:25px;font-weight:600;line-height:1;box-shadow:0 3px 14px #173c2826;touch-action:manipulation}
.page-scroll-button:hover{background:#eaf2e6;border-color:#91af99}
.page-scroll-button:focus-visible{outline:2px solid #204c3b;outline-offset:3px}
.page-scroll-controls.in-dialog{bottom:max(94px,env(safe-area-inset-bottom))}
@media(max-width:600px){.page-scroll-controls{right:max(12px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}.page-scroll-controls.in-dialog{bottom:max(100px,env(safe-area-inset-bottom))}}
@media print{.page-scroll-controls{display:none!important}}

/* Five desktop cards retain the previous ~308px width by widening the whole page. */
.catalogue .customer-header,.catalogue .customer-main,.catalogue .customer-footer{max-width:1710px}
@media(min-width:1710px){.catalogue .product-grid:not(.list-view){grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Customer catalogue: touch-friendly layouts, including long product/partner names. */
.catalogue .header-right,.catalogue .catalogue-hero>*,.catalogue .card-info,
.catalogue .option-wrap,.catalogue .price-block,.catalogue .detail-info{min-width:0}
.catalogue #header-partner,.catalogue .partner-summary h2,.catalogue .product-code,
.catalogue .card-info h2,.catalogue .product-materials,.catalogue .detail-info h2,
.catalogue .detail-specs dd{overflow-wrap:anywhere}
.catalogue .option-select{min-width:0}
@media(max-width:1024px){
  .catalogue .product-grid.list-view{grid-template-columns:minmax(0,1fr)}
  .catalogue .list-view .product-card{grid-template-columns:180px minmax(0,1fr)}
  .catalogue .list-view .product-card-body{display:block}
  .catalogue .list-view .product-photo{height:100%;min-height:240px}
  .catalogue .list-view .option-wrap{margin-top:14px}
  .catalogue .list-view .card-bottom{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}
  .catalogue .list-view .details-link{margin:0}
}
@media(max-width:700px){
  .catalogue input,.catalogue select{font-size:16px;min-height:44px}
  .catalogue button,.catalogue .button{min-height:44px}
  .catalogue .view-toggle button{width:44px;height:44px}
  .catalogue .category-tabs{gap:20px;overscroll-behavior-x:contain}
  .catalogue .category-tabs button{font-size:13px;padding:16px 2px}
  .catalogue .results-row{font-size:12px;gap:12px;flex-wrap:wrap}
  .catalogue .product-code{font-size:12px}
  .catalogue .product-dimensions,.catalogue .product-materials{font-size:12px;line-height:1.6}
  .catalogue .details-link{font-size:13px}
  .catalogue .option-wrap .mini-label{font-size:10px}
  .catalogue .offer-price-line>span{font-size:12px}
  .catalogue .list-price{font-size:13px}
  .catalogue .discount-badge{font-size:11px}
  .catalogue .detail-dialog{width:calc(100vw - 24px);max-width:640px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
  .catalogue #detail-content{grid-template-columns:minmax(0,1fr)}
  .catalogue .detail-photo{height:250px;height:clamp(180px,35dvh,300px);min-height:0;padding:35px 24px 20px}
  .catalogue .detail-info{padding:22px 20px max(24px,env(safe-area-inset-bottom))}
  .catalogue .detail-specs{grid-template-columns:90px minmax(0,1fr);font-size:13px;gap:14px 12px}
  .catalogue .detail-info .option-select{margin-bottom:18px}
  .catalogue .dialog-x{width:44px;height:44px;top:8px;right:8px;min-height:44px;box-shadow:0 2px 12px #243b331a}
}
@media(max-width:600px){
  .catalogue .customer-header{padding:16px;gap:14px;align-items:flex-start}
  .catalogue .logo{flex-shrink:0}
  .catalogue .logo img{width:124px;height:36px}
  .catalogue .header-right{font-size:12px;max-width:60%;gap:7px}
  .catalogue .header-right .mini-label{font-size:8px;letter-spacing:1px}
  .catalogue #customer-logout{align-self:flex-end;font-size:12px;padding:8px 12px}
  .catalogue .customer-main{padding:0 16px}
  .catalogue .catalogue-hero{padding:28px 0 24px;gap:20px}
  .catalogue .catalogue-hero h1{font-size:30px;letter-spacing:-1px}
  .catalogue .eyebrow{font-size:9px;line-height:1.7;letter-spacing:1px;margin-bottom:12px}
  .catalogue .hero-copy{font-size:13px}
  .catalogue .partner-summary{padding:18px}
  .catalogue .partner-summary h2{font-size:21px}
  .catalogue .partner-summary .version-line{font-size:11px}
  .catalogue .filter-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-top:18px}
  .catalogue .filter-row .search-box{grid-column:1 / -1;width:100%;max-width:none}
  .catalogue .sort-control{min-width:0;display:flex;flex-wrap:wrap;font-size:12px;gap:5px;margin:0}
  .catalogue .sort-control select{width:100%;min-width:0;background:#fff}
  .catalogue .view-toggle{align-self:end}
  .catalogue .product-grid,.catalogue .product-grid.list-view{grid-template-columns:minmax(0,1fr);gap:18px}
  .catalogue .product-card,.catalogue .list-view .product-card{display:block}
  .catalogue .product-photo,.catalogue .list-view .product-photo{height:240px;min-height:0;padding:35px 22px 20px}
  .catalogue .category-chip{font-size:10px;left:14px;top:14px;max-width:calc(100% - 28px)}
  .catalogue .product-card-body,.catalogue .list-view .product-card-body{padding:18px;display:block}
  .catalogue .card-info h2{font-size:20px;min-height:0;margin-bottom:10px}
  .catalogue .product-dimensions,.catalogue .product-materials{min-height:0}
  .catalogue .product-materials{margin-bottom:14px}
  .catalogue .option-wrap,.catalogue .list-view .option-wrap{display:block;border-top:1px solid var(--line);padding-top:14px;margin-top:12px}
  .catalogue .card-bottom,.catalogue .list-view .card-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:8px 16px;margin-top:16px}
  .catalogue .offer-price-line{flex-wrap:wrap}
  .catalogue .offer-price-line strong{font-size:27px}
  .catalogue .pagination{display:flex;flex-direction:column;gap:14px;font-size:12px}
  .catalogue .pagination>span{display:block}
  .catalogue .pagination>div{width:100%;justify-content:space-between;gap:8px}
  .catalogue .pagination .button{font-size:12px;padding:8px 12px}
  .catalogue .catalogue-note{display:block;padding:22px 0}
  .catalogue .catalogue-note>span{display:block;margin-bottom:10px}
  .catalogue .catalogue-note p{font-size:12px}
  .catalogue .customer-footer{padding:22px 16px max(24px,env(safe-area-inset-bottom));flex-wrap:wrap;gap:16px;line-height:1.7}
  .catalogue .preview-banner{flex-wrap:wrap;padding:12px 16px;font-size:11px}
  .catalogue .preview-banner a{font-size:11px;padding:8px 0}
}
/* Customer product details: balanced image and grouped information. */
.catalogue .detail-dialog{width:94vw;max-width:1240px;max-height:92vh;max-height:92dvh;overflow-y:auto}
.catalogue #detail-content{grid-template-columns:minmax(0,1.15fr) minmax(380px,1fr);align-items:stretch;background:#f8f9f6}
.catalogue .detail-photo{height:min(70vh,640px);min-height:440px;padding:28px;background:#f8f9f6}
.catalogue .detail-photo img{object-fit:contain;mix-blend-mode:multiply}
.catalogue .detail-info{padding:36px 30px 28px;display:flex;flex-direction:column;gap:20px;background:#fff}
.catalogue .detail-heading .eyebrow{font-size:10px;margin:0 34px 12px 0;letter-spacing:1.2px}
.catalogue .detail-heading .product-code{font-size:12px;letter-spacing:.7px;margin:0 0 8px}
.catalogue .detail-info h2{font-size:26px;line-height:1.3;margin:0;font-weight:600}
.catalogue .detail-badges{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.catalogue .detail-badges .product-type-badge,.catalogue .detail-badges .new-product-badge{margin:0}
.catalogue .detail-option-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.catalogue .detail-option-field .option-select{margin:0;min-height:42px;font-size:13px}
.catalogue .detail-specs{display:block;margin:0;border-top:1px solid #e6ebe2;font-size:13px}
.catalogue .detail-spec-row{display:grid;grid-template-columns:94px minmax(0,1fr);gap:14px;padding:12px 0;border-bottom:1px solid #e6ebe2}
.catalogue .detail-specs dt{line-height:1.7;color:#7a8777}
.catalogue .detail-specs dd{margin:0;line-height:1.7;overflow-wrap:anywhere;color:#3d5142}
.catalogue .detail-price-panel{padding:17px 18px;border:1px solid #dce6d5;background:#f1f6ed;border-radius:10px;margin-top:auto}
.catalogue .detail-price-panel>.mini-label{margin:0 0 8px;font-size:9px;letter-spacing:1.2px}
.catalogue .detail-price-panel .list-price-line:empty{display:none}
.catalogue .detail-price-panel .offer-price-line{flex-wrap:wrap}
.catalogue .detail-price-panel .offer-price-line strong{font-size:30px}
.catalogue .detail-price-panel .field-help{margin:9px 0 0;font-size:11px}
.catalogue .detail-dialog .dialog-x{width:42px;height:42px;top:9px;right:9px}
@media(max-width:900px){.catalogue #detail-content{grid-template-columns:minmax(0,1fr)}.catalogue .detail-photo{height:clamp(260px,44dvh,440px);min-height:0;padding:28px 22px 16px}.catalogue .detail-info{padding:24px;gap:18px}.catalogue .detail-info h2{font-size:25px}}
@media(max-width:600px){.catalogue .detail-photo{height:clamp(240px,40dvh,360px);padding:40px 16px 12px}.catalogue .detail-info{padding:22px 18px max(24px,env(safe-area-inset-bottom));gap:16px}.catalogue .detail-info h2{font-size:23px}.catalogue .detail-spec-row{grid-template-columns:82px minmax(0,1fr);gap:10px}.catalogue .detail-price-panel{padding:15px}.catalogue .detail-dialog .dialog-x{width:44px;height:44px}}
/* Password reveal controls: preserve input values, names and browser autofill. */
.password-visibility-field{display:flex;align-items:stretch;position:relative;width:100%;min-width:0;gap:0}
.password-visibility-field>input{flex:1 1 auto;min-width:0;width:100%;padding-right:76px!important}
.password-visibility-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);min-width:58px;min-height:36px;border:0;border-radius:6px;background:#edf2f5;color:#335b65;font-size:12px;font-weight:600;cursor:pointer;padding:6px 10px;white-space:nowrap}
.password-visibility-toggle:hover{background:#dfe9ed}
.password-visibility-toggle:focus-visible{outline:2px solid #335b85;outline-offset:2px}
@media(max-width:600px){.password-visibility-field>input{min-height:48px}.password-visibility-toggle{min-height:40px}}
/* Compact eye icons for password visibility. */
.password-visibility-field>input{padding-right:52px!important}
.password-visibility-toggle{display:grid;place-items:center;min-width:36px;width:36px;padding:6px;background:transparent}
.password-visibility-toggle svg{display:block;pointer-events:none}
@media(max-width:600px){.password-visibility-toggle{width:40px}}
/* Use our state-synchronized eye only, suppress the browser's separate reveal control. */
.password-visibility-field>input::-ms-reveal,
.password-visibility-field>input::-ms-clear{display:none}
/* Customer-specific confidentiality notice, kept separate from browsing controls. */
.catalogue .confidentiality-notice{margin:0 0 26px;padding:20px 24px;border:1px solid #d9e2d6;border-left:3px solid #63836f;border-radius:10px;background:#f0f4ed;color:#49604e;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.confidentiality-heading{display:flex;align-items:center;gap:9px;margin-bottom:6px}
.confidentiality-heading svg{flex-shrink:0}
.confidentiality-heading h2{font-size:13px;font-weight:700;margin:0;line-height:1.6}
.confidentiality-notice>p{margin:0 0 6px}
.confidentiality-notice summary{cursor:pointer;width:fit-content;font-weight:600;padding:5px 0;color:#46694f}
.confidentiality-notice summary:focus-visible{outline:2px solid #91af99;outline-offset:3px;border-radius:3px}
.confidentiality-details{margin-top:10px;padding-top:10px;border-top:1px solid #d9e2d6}
.confidentiality-details p{margin:0 0 8px}
.confidentiality-details p:last-child{margin-bottom:0}
@media(max-width:600px){.catalogue .confidentiality-notice{padding:16px;margin-bottom:20px;font-size:12px}.confidentiality-heading{align-items:flex-start}}
/* Pair each selling price with its cost ratio; discounts stay under the sales table. */
.financial-sales-column{min-width:0}
.financial-sales-column .financial-ratios{margin-top:18px;padding-top:0;border-top:0}
.financial-sales-column .financial-ratio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#product-dialog .financial-sales-panel .financial-comparison-table th:first-child{width:19%;padding-left:14px}
#product-dialog .financial-sales-panel .financial-comparison-table thead th:nth-child(2){width:23%}
#product-dialog .financial-sales-panel .financial-comparison-table thead th:nth-child(3){width:34%}
#product-dialog .financial-sales-panel .financial-comparison-table thead th:nth-child(4){width:24%}
#product-dialog .financial-sales-panel .financial-comparison-table th,#product-dialog .financial-sales-panel .financial-comparison-table td{padding-left:10px;padding-right:10px}
#product-dialog .financial-price-ratio strong{display:inline-block;padding:5px 8px;border-radius:6px;background:#f0f4ed;color:#435d37;font-size:15px;white-space:nowrap}
#product-dialog .financial-total-row .financial-price-ratio strong{background:#d9eacb;color:#315924}
@media(max-width:550px){#product-dialog .financial-price-ratio strong{font-size:12px;padding:4px}#product-dialog .financial-sales-panel .financial-comparison-table th,#product-dialog .financial-sales-panel .financial-comparison-table td{padding-left:6px;padding-right:6px}}

/* Align the cost panel with the complete sales-and-discounts column. */
#product-dialog .financial-table-panel h5{min-height:52px;display:flex;align-items:center;padding:14px 18px}
#product-dialog .financial-comparison-table thead th{height:44px;padding-top:10px;padding-bottom:10px}
#product-dialog .financial-comparison-table tbody th,#product-dialog .financial-comparison-table tbody td{height:56px;padding-top:12px;padding-bottom:12px}
#product-dialog .financial-price-ratio strong{min-height:30px;line-height:20px;padding-top:5px;padding-bottom:5px}
.financial-sales-column{display:flex;flex-direction:column}
.financial-sales-column .financial-ratios{margin-top:18px}
.financial-sales-column .financial-ratios h5{margin-bottom:12px}
.financial-sales-column .financial-ratio-grid>div{padding:14px 16px}
.financial-sales-column .financial-ratios>.financial-table-note{padding:10px 0 0;margin:0}
@media(min-width:1001px){
  .financial-cost-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-self:stretch}
  #product-dialog .financial-cost-panel .financial-comparison-table{height:100%}
  .financial-cost-panel>.financial-table-note{display:flex;align-items:center;min-height:48px}
}
@media(max-width:1000px){.financial-table-grid{align-items:start}}

/* Highlight the final cost/price labels and applied exchange rate. */
#product-dialog .financial-comparison-table .financial-total-row>th{font-size:16px;font-weight:800}
#product-dialog .financial-rate{background:#d45b32;border-color:#d45b32;color:#fff}
#product-dialog .financial-rate>span{color:#fff;font-weight:600}
#product-dialog .financial-rate>strong{color:#fff;font-weight:750}
@media(max-width:550px){#product-dialog .financial-comparison-table .financial-total-row>th{font-size:14px}}

/* Match total-row figures to their emphasized labels. */
#product-dialog .financial-comparison-table .financial-total-row>td{font-size:16px;font-weight:800}
#product-dialog .financial-total-row .financial-price-ratio strong{font-size:16px;font-weight:800}
@media(max-width:550px){#product-dialog .financial-comparison-table .financial-total-row>td,#product-dialog .financial-total-row .financial-price-ratio strong{font-size:14px}}

/* Permit bold rendering for summary figures even with a regular-only local font. */
#product-dialog .financial-comparison-table .financial-total-row>th,
#product-dialog .financial-comparison-table .financial-total-row>td,
#product-dialog .financial-total-row .financial-price-ratio strong{font-weight:800;font-synthesis:weight}

/* Emphasize the actual discount figure in the product detail review. */
#product-dialog .financial-sales-column .financial-ratio-grid .ratio-primary dd{font-weight:800;font-synthesis:weight}

/* Larger, bold calculated amounts in the unified product editor. */
.all-product-dialog .all-financial-summary .financial-comparison-table tbody td{font-size:17px;font-weight:800;font-synthesis:weight}
.all-product-dialog .all-result-ratios>.ratio-primary dd{font-weight:800;font-synthesis:weight}
@media(max-width:750px){.all-product-dialog .all-financial-summary .financial-comparison-table tbody td{font-size:15px}}

/* Keep the edit action separate from the option card, without an outer ring. */
#product-dialog #product-options-panel>.section-title{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px;margin-bottom:20px;padding-bottom:0}
#product-dialog #product-options-panel>.section-title>div{flex:1 1 280px;min-width:0}
#product-dialog #edit-product-details{flex:0 0 auto;margin:0;border:0;outline:none;box-shadow:none;line-height:1.5}
#product-dialog #edit-product-details:focus-visible{outline:none;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}

/* Fit the full internal review into the available width, with no clipped columns. */
.internal-review-content{container-type:inline-size}
#internal-review-panel .internal-review-table{width:100%;min-width:0;table-layout:fixed;font-size:clamp(10px,.65vw,12px)}
#internal-review-panel .internal-review-table th,#internal-review-panel .internal-review-table td{min-width:0;white-space:normal;overflow-wrap:anywhere;padding:12px 5px;line-height:1.6;font-variant-numeric:tabular-nums;vertical-align:middle}
#internal-review-panel .internal-review-table thead th{font-size:10px}
#internal-review-panel .internal-review-table th:first-child,#internal-review-panel .internal-review-table td:first-child{width:14%;position:static;min-width:0;padding-left:10px}
#internal-review-panel .internal-review-table th:nth-child(2){width:3%}
#internal-review-panel .internal-review-table th:nth-child(7),#internal-review-panel .internal-review-table th:nth-child(8),#internal-review-panel .internal-review-table th:nth-child(13),#internal-review-panel .internal-review-table th:nth-child(15){width:5%}
#internal-review-panel .internal-review-table .review-edit-link{white-space:normal;font-size:10px;padding:6px 8px}
#internal-review-panel .internal-review-table td small{font-size:10px}
@container(max-width:1100px){
  #internal-review-panel .internal-review-table,#internal-review-panel .internal-review-table tbody,#internal-review-panel .internal-review-table tfoot{display:block;width:100%}
  #internal-review-panel .internal-review-table thead{display:none}
  #internal-review-panel .internal-review-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #bccce3;border-radius:8px;overflow:hidden;margin-bottom:14px}
  #internal-review-panel .internal-review-table td{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;font-size:12px;padding:10px 12px;border:0;border-bottom:1px solid #dbe4f1;border-right:1px solid #dbe4f1}
  #internal-review-panel .internal-review-table td:first-child{grid-column:1/-1;width:auto;padding:12px;background:#dce7f7}
  #internal-review-panel .internal-review-table td:before{content:attr(data-label);font-size:10px;color:#536c8e;font-weight:500;margin-bottom:4px}
  #internal-review-panel .internal-review-table td:first-child:before{display:none}
}
@container(max-width:500px){#internal-review-panel .internal-review-table tr{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Enlarge product photographs within the quotation preview, centered in each cell. */
.quote-preview-table .quote-preview-image-cell{width:132px;min-width:132px;text-align:center;vertical-align:middle;padding:10px}
.quote-preview-table .quote-preview-image-cell .table-photo{width:110px;height:88px;margin:0 auto;padding:2px;display:flex;align-items:center;justify-content:center}
.quote-preview-table .quote-preview-image-cell img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
/* An embedded history workspace exposes all saved fields without edit/navigation actions. */
.quotation-readonly .admin-sidebar,.quotation-readonly .admin-topbar{display:none}
.quotation-readonly .admin-shell{margin-left:0}
.quotation-readonly .quotation-main{max-width:none;padding:22px}
.quotation-readonly button:not(.readonly-workspace-close):not(.page-scroll-button),.quotation-readonly .quotation-main a{display:none!important}
.quotation-readonly .admin-heading>.quote-actions{display:none}
.quotation-readonly .quote-header-grid .full-width.field-help{display:none}
.quotation-readonly input:disabled,.quotation-readonly select:disabled,.quotation-readonly textarea:disabled{color:#2e4055;background:#f7f9fc;opacity:1;cursor:default;-webkit-text-fill-color:#2e4055}
.quotation-readonly .export-settings>.section-title>span{display:none}
.quotation-readonly .quote-edit-table th:last-child,.quotation-readonly .quote-edit-table td:last-child{display:none}
@media(max-width:600px){.quotation-readonly .quotation-main{padding:14px}}
.quotation-trash-dialog{width:min(1050px,95vw);padding:0;max-height:90dvh}
.quotation-trash-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 0}
.quotation-trash-toolbar>label{display:flex;align-items:center;gap:8px}
.quotation-trash-toolbar>button{margin-left:auto}
.quotation-trash-dialog input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:#335b85}
.quotation-trash-dialog td small{display:block;margin-top:6px;white-space:normal}
.quotation-trash-dialog~dialog .product-detail-content>p{white-space:pre-line}
/* Guide incomplete quotation fields without making optional contact details mandatory. */
#quote-form .quote-field-required-empty{background:#fff1f0!important;border:1px solid #d96b63!important;box-shadow:inset 3px 0 #d96b63}
#quote-form .quote-field-recommended-empty{background:#fff8ed!important;border:1px solid #d9ab68!important;box-shadow:inset 3px 0 #d9ab68}
#quote-form .quote-field-hint{color:#b23f36;font-size:11px;line-height:1.6}
#quote-form .quote-field-hint.recommended{color:#98652c}
.quote-completeness{padding:10px 14px;background:#fff1f0;border:1px solid #edc3bf;border-radius:7px;font-size:12px;color:#a63d34;line-height:1.8;margin-bottom:18px}
.quote-completeness.complete{background:#edf5e9;color:#3c6534;border-color:#c9ddbf}
.deleted-selection-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:18px 0}
.deleted-selection-toolbar>label{display:flex;align-items:center;gap:8px}
.deleted-selection-toolbar>button{margin-left:auto}
#deleted-dialog input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:#335b85}

.product-registration-date{display:block;color:#6b7c76;font-size:12px;margin-top:8px}.product-cost-lifecycle{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;padding:18px 24px;border-bottom:1px solid #e0e8dc}.cost-review-warning{display:inline-flex;align-items:center;gap:3px;padding:3px 6px;background:#c62828;color:#fff;border-radius:4px;font-size:10px;font-weight:800;line-height:1.3}.product-cost-lifecycle .cost-review-warning{flex-basis:100%}

#admin-rows .admin-product-info>strong.cost-review-warning{display:inline-flex;align-self:center;background:#c62828;color:#fff;font-size:10px;font-weight:800;line-height:1.3;padding:3px 6px;white-space:normal;overflow-wrap:normal;word-break:keep-all}

.cost-review-warning::before{content:"";display:inline-block;flex:0 0 10px;width:10px;height:10px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 1.8 18.5a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0Z'/%3E%3Cpath d='M12 9v4m0 4h.01'/%3E%3C/svg%3E")}

/* Emphasize customer currency and delivery terms in the price-list summary. */
.catalogue .partner-summary .partner-tags span{background:#d45b32;border-color:#d45b32;color:#fff;font-weight:700}

.product-incoterms-badge,#admin-rows .admin-product-info>span.product-incoterms-badge{display:inline-block;width:fit-content;max-width:100%;background:#d45b32;color:white;font-size:11px;font-weight:700;line-height:1.4;border-radius:5px;padding:4px 7px;white-space:normal;word-break:keep-all}.product-incoterms-badge.unset,#admin-rows .admin-product-info>span.product-incoterms-badge.unset{background:#fff1d9;color:#805b24;border:1px solid #e9cf9e}

.all-price-scope{grid-column:1/-1;margin:0;padding:10px 12px;background:#fff1e8;color:#8b401d;border-radius:6px}

#product-dialog .product-overview-facts dd.product-incoterms-badge:not(.unset){color:#fff}
.admin-sidebar .workspace-nav-group{margin:5px 0;border-top:1px solid #e4e9e2;padding-top:7px}.admin-sidebar .workspace-nav-group>summary{list-style:none;cursor:pointer;padding:12px 8px;color:#3f554a;font-weight:700;line-height:1.6;display:flex;gap:7px;align-items:center}.admin-sidebar .workspace-nav-group>summary::-webkit-details-marker{display:none}.admin-sidebar .workspace-nav-group>summary:before{content:"▸";font-size:11px}.admin-sidebar .workspace-nav-group[open]>summary:before{content:"▾"}.admin-sidebar .workspace-nav-children{display:flex;flex-direction:column;gap:4px;border-left:1px solid #d8e2d7;margin-left:11px;padding-left:8px}.admin-sidebar .workspace-nav-children .nav-item{font-size:12px;padding:10px 9px;line-height:1.6}.admin-sidebar .workspace-nav-child{font-size:11px;margin-left:18px;padding:7px 9px}.admin-sidebar nav{overflow-y:auto;min-height:0}.admin-sidebar .workspace-nav-group:has(.active)>summary{color:#315b93}@media(max-width:700px){.admin-sidebar nav{flex-wrap:wrap;overflow:visible}.admin-sidebar .workspace-nav-group{min-width:160px}.admin-sidebar .workspace-nav-child{margin-left:0}}
.quotation-readonly #review-rate-reset{display:inline-flex!important}.quotation-readonly #review-expected-rate{cursor:text;background:#fffdf4;color:#624718;-webkit-text-fill-color:#624718}.quotation-readonly #review-simulation-status{max-width:100%}
#internal-review-panel .internal-review-table tfoot td,#internal-review-panel .internal-review-table tfoot td:first-child{background:#365e91!important;color:#fff!important;font-weight:700;border-color:#6686ad;border-top:3px solid #234873;padding-top:15px;padding-bottom:15px}#internal-review-panel .internal-review-table tfoot td:first-child{box-shadow:inset 4px 0 0 #e58b4c}
@container(min-width:1101px){#internal-review-panel .internal-review-table tr>th:nth-child(9),#internal-review-panel .internal-review-table tr>td:nth-child(9){border-left:3px solid #df965d!important}}
#internal-review-panel .internal-review-table thead th,#internal-review-panel .internal-review-table thead th:first-child{text-align:center;vertical-align:middle}#internal-review-panel .internal-review-table thead th:last-child{word-break:keep-all;overflow-wrap:normal;line-height:1.6}
/* Common affordance for all actionable controls, retaining existing dimensions and shadows. */
button:not(:disabled):not([aria-disabled=true]):not([data-role-blocked]),a.button:not([aria-disabled=true]):not([data-role-blocked]),[role=button]:not([aria-disabled=true]),summary{cursor:pointer}
@media(hover:hover){button:not(:disabled):not([aria-disabled=true]):not([data-role-blocked]):hover,a.button:not([aria-disabled=true]):not([data-role-blocked]):hover,[role=button]:not([aria-disabled=true]):hover{filter:brightness(.96)}}
button:disabled,.button[aria-disabled=true],[data-role-blocked]{cursor:not-allowed}
.customer-row-actions{white-space:nowrap}.customer-row-actions .edit-button+.edit-button{margin-left:8px}.customer-quick-contact{width:720px;max-width:94vw}.customer-quick-contact .form-grid label{display:grid;gap:8px}.customer-quick-contact .field-help{line-height:1.8;margin-bottom:18px}.customer-quick-contact .button[type=submit]{margin-top:16px}
.form-grid textarea.contact-memo-input{min-height:42px;height:42px;line-height:1.6;resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}.contact-memo-toggle{align-self:flex-start;white-space:nowrap;margin-top:2px}

/* Quiet sidebar: four areas separated by spacing and typography. */
@media(min-width:701px){.admin-sidebar{width:244px;padding:28px 20px}.admin-shell{margin-left:244px}.quotation-readonly .admin-shell{margin-left:0}}
.admin-sidebar nav[data-hierarchy="1"]{gap:0;padding:0 0 16px}
.admin-sidebar .workspace-nav-root{border:0;border-radius:0;border-top:1px solid #edf0ee;margin:10px 0 0;padding:10px 0 0;background:transparent;flex-shrink:0;overflow:hidden}
.admin-sidebar .workspace-nav-root:first-child{border-top:0;margin-top:0;padding-top:0}
.admin-sidebar .workspace-nav-root.nav-item,.admin-sidebar .workspace-nav-root>summary{display:flex;align-items:center;gap:8px;width:100%;padding:11px 9px;min-height:44px;text-align:left;line-height:1.6;color:#40524a;font-weight:650;background:transparent;box-shadow:none;border-radius:5px}
.admin-sidebar .workspace-nav-root.nav-item:not(:first-child){padding-top:20px;border-radius:0}
.admin-sidebar .workspace-nav-root>summary:before{display:none}
.admin-sidebar .workspace-nav-root .workspace-nav-title{display:block;font-size:13px;letter-spacing:-.25px;word-break:keep-all;color:inherit;flex:1}
.admin-sidebar .workspace-nav-arrow{display:block;font-size:12px;line-height:1;margin-left:auto;color:#99a49e;transition:transform .15s}
.admin-sidebar .workspace-nav-group[open] .workspace-nav-arrow{transform:rotate(180deg)}
.admin-sidebar nav .workspace-nav-root.nav-item:hover,.admin-sidebar .workspace-nav-root>summary:hover{background:#f6f8f6;color:#294b3b}
.admin-sidebar nav .workspace-nav-root.nav-item.active{background:#eff4ef;color:#294b3b;box-shadow:none;font-weight:700}
.admin-sidebar .workspace-nav-root:has(.active)>summary{background:transparent;color:#294b3b;box-shadow:none}
.admin-sidebar .workspace-nav-root .workspace-nav-children{margin:0;padding:0 0 5px 13px;gap:2px;border:0}
.admin-sidebar .workspace-nav-root .workspace-nav-children .nav-item{padding:9px 11px;font-size:12px;line-height:1.6;word-break:keep-all;border:0;border-radius:5px;min-height:36px;color:#111111}
.admin-sidebar .workspace-nav-root .workspace-nav-children .nav-item:hover{background:#f6f8f6;color:#111111}
.admin-sidebar .workspace-nav-root .workspace-nav-children .nav-item.active{background:#eff4ef;color:#111111;box-shadow:none;font-weight:650}
@media(max-width:700px){.admin-sidebar{align-items:flex-start;gap:12px;flex-wrap:wrap}.admin-sidebar nav[data-hierarchy="1"]{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px;align-items:start;padding-bottom:0}.admin-sidebar .workspace-nav-root{min-width:0;margin:0;padding:0;border:0}.admin-sidebar .workspace-nav-root.nav-item,.admin-sidebar .workspace-nav-root>summary,.admin-sidebar .workspace-nav-root.nav-item:not(:first-child){min-height:44px;padding:10px 7px}.admin-sidebar .workspace-nav-root .workspace-nav-title{font-size:12px}.admin-sidebar .workspace-nav-root .workspace-nav-children{padding-left:6px}}

/* The preview displays rasterised download PDF pages, not a separate HTML layout. */
#quote-preview-dialog{width:1100px;max-width:96vw;height:94vh;max-height:94vh;overflow:hidden;padding:0}
#quote-preview-dialog[open]{display:flex;flex-direction:column}#quote-preview-dialog>.edit-header{flex:0 0 auto;margin:0}
.pdf-preview-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 22px;border-bottom:1px solid #d6dde4;background:#f7f9fc;flex-shrink:0;color:#617184;font-size:11px}.pdf-preview-toolbar>span:first-child{font-weight:700;color:#385779}.pdf-preview-toolbar>span:nth-child(2){flex:1}.pdf-preview-toolbar label{display:flex;align-items:center;gap:8px}.pdf-preview-toolbar select{min-height:32px;font-size:11px;padding:5px 9px;background:#fff}
.pdf-preview-pages{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;background:#dce1e6;padding:24px;scrollbar-gutter:stable}
.pdf-preview-page{display:block;width:100%;max-width:794px;min-width:0;margin:0 auto 28px}.pdf-preview-page img{display:block;width:100%;height:auto;background:#fff;box-shadow:0 3px 14px #172a3b30}.pdf-preview-page figcaption{font-size:12px;text-align:center;color:#44566c;line-height:1.5;padding:10px 0 0;font-weight:600}.pdf-preview-page:last-child{margin-bottom:0}
.pdf-preview-pages.zoom-100 .pdf-preview-page{width:794px;max-width:none}.pdf-preview-pages.zoom-125 .pdf-preview-page{width:993px;max-width:none}.pdf-preview-message{padding:60px 20px;text-align:center;color:#52647c;font-size:14px}.pdf-preview-message.error{color:#b33333}
@media(max-width:650px){.pdf-preview-pages{padding:14px}.pdf-preview-toolbar{padding:10px 14px;gap:8px}.pdf-preview-toolbar>span:nth-child(2){flex-basis:100%;order:3;font-size:10px}.pdf-preview-toolbar label{margin-left:auto}#quote-preview-dialog .edit-header h2{font-size:16px}}

.quotation-readonly #preview-quote,.quotation-readonly #close-preview{display:inline-flex!important}

/* Product actions belong to the list toolbar. */
.panel-toolbar .product-list-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto;flex-shrink:0}.product-list-actions .button{white-space:nowrap}
@media(max-width:700px){.panel-toolbar .product-list-actions{width:100%;margin-left:0}}




.proposal-option-badge{display:inline-block;background:#edf0ff;color:#524690;border:1px solid #d9d3ee;border-radius:5px;padding:3px 8px;margin:5px 0;font-size:12px;font-weight:700}

.quote-edit-table .quote-line-number{text-align:center}
.quote-line-drag-handle{display:flex;align-items:center;justify-content:center;margin:10px auto 0;width:28px;height:32px;padding:0;font-size:22px;line-height:1;cursor:grab!important;touch-action:none;user-select:none}
.quote-line-drag-handle:active{cursor:grabbing!important}.quote-line-drag-handle:disabled{opacity:.35;cursor:default!important}
.quote-reordering,.quote-reordering *{cursor:grabbing!important;user-select:none!important}.quote-drag-source{opacity:.45}
.quote-edit-table tr.quote-drop-before>td{box-shadow:inset 0 3px #e15c2c}.quote-edit-table tr.quote-drop-after>td{box-shadow:inset 0 -3px #e15c2c}
.quote-drag-ghost{position:fixed;z-index:100000;pointer-events:none;padding:10px 16px;background:#315e92;color:white;border-radius:7px;box-shadow:0 5px 18px #0003;font-weight:700;max-width:300px}
.quote-row-actions .edit-button:disabled{opacity:.42;cursor:default;box-shadow:none}

.quote-row-actions .quote-refresh-button:enabled{background:#d95b2c;color:#fff;border:1px solid #d95b2c;font-weight:700;box-shadow:0 2px 5px #d95b2c26;cursor:pointer}
.quote-row-actions .quote-refresh-button:enabled:hover{background:#bb4720;border-color:#bb4720;box-shadow:0 3px 8px #d95b2c40}
.quote-row-actions .quote-refresh-button:enabled:focus-visible{outline:2px solid #b6461e;outline-offset:3px}
.quote-row-actions .quote-refresh-button:disabled{background:#f0f2f4;color:#9aa3ad;border:1px solid #e2e6ea;font-weight:400;box-shadow:none;opacity:1;cursor:default}
.pricing-explanation{cursor:help}
.quotation-notes-tools{display:flex;align-items:center;gap:10px;margin:8px 0;flex-wrap:wrap}
.quotation-notes-tools .notes-color-toggle{border-bottom:4px solid #c62828;font-weight:700}
.notes-color-palette{display:grid;grid-template-columns:repeat(6,30px);gap:8px;padding:12px;background:white;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 4px 14px #203b3320}
.notes-color-palette[hidden]{display:none}
.quotation-notes-tools .notes-color-swatch{width:30px;height:30px;min-width:0;padding:0;border:2px solid #ffffff;border-radius:5px;box-shadow:0 0 0 1px #cbd5e1;cursor:pointer}
.quotation-notes-tools .notes-color-swatch:hover,.quotation-notes-tools .notes-color-swatch:focus-visible{outline:2px solid #315b92;outline-offset:2px}
.quotation-notes-tools button[aria-pressed="true"]{background:#dce8f7;border-color:#315b92;color:#204c3b}
.quotation-notes-tools .button{min-width:42px;padding:9px 14px}
.price-list-pdf-dialog{width:900px;max-width:95vw;max-height:92vh;border:1px solid #cbdccc;border-radius:14px;padding:0;color:#243b33}.price-list-pdf-dialog::backdrop{background:#1b304b77}.price-list-pdf-dialog .edit-header,.price-list-pdf-dialog .edit-footer{padding:18px 24px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f5f8f3}.price-list-pdf-dialog h2{margin:0;font-size:20px}.price-list-pdf-body{padding:20px 24px}.price-list-pdf-target,.price-list-pdf-count{font-weight:700}.price-list-pdf-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:18px 0}.price-list-pdf-controls label{display:grid;gap:6px;font-size:12px}.price-list-pdf-controls input[type=search]{flex:1;min-width:180px}.price-list-pdf-categories{border:1px solid #dce4d8;border-radius:8px;padding:12px;margin:0 0 16px}.price-list-pdf-categories legend{font-size:12px;font-weight:700}.price-list-pdf-categories>div{display:flex;gap:16px;flex-wrap:wrap}.price-list-pdf-categories label{display:flex;gap:8px;align-items:center;font-size:12px;cursor:pointer}.price-list-pdf-dialog input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:#204c3b;flex-shrink:0}.price-list-pdf-products{max-height:42vh;overflow:auto;border:1px solid #e1e7dd;border-radius:8px}.price-list-pdf-product{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid #e1e7dd;cursor:pointer}.price-list-pdf-product:last-child{border-bottom:0}.price-list-pdf-product:has(input:checked){background:#eef5e8}.price-list-pdf-product img{width:64px;height:46px;object-fit:contain}.price-list-pdf-product>span{min-width:0}.price-list-pdf-product strong{display:block;font-size:13px;overflow-wrap:anywhere}.price-list-pdf-product small{display:block;margin-top:6px;font-size:11px;color:#657260}.price-list-pdf-dialog .edit-footer{justify-content:flex-end}@media(max-width:650px){.price-list-pdf-body{padding:16px}.price-list-pdf-dialog .edit-header{padding:16px}.price-list-pdf-dialog h2{font-size:17px}.product-list-actions{flex-wrap:wrap}}
.quotation-notes-editor{min-height:220px;padding:14px 16px;border:1px solid #d8dfd6;border-radius:8px;background:white;color:#344054;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;font-weight:400;font-synthesis:weight}
.quotation-notes-editor b,.quotation-notes-editor strong{font-weight:700}
.quotation-notes-editor:focus{outline:2px solid #315b92;outline-offset:1px}
.quotation-notes-editor[contenteditable="false"]{background:#f6f8fa}
.quote-line-product>div:last-child{min-width:0;flex:1}.quote-edit-table .quote-product-name{width:100%;font-weight:700;font-size:12px}.quote-picker input[readonly]{background:#f3f5f7;color:#4c5f70;cursor:default}
.quote-image-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0 0 10px}.quote-image-controls .edit-button{font-size:10px;padding:5px 8px}.quote-image-controls .field-help{flex-basis:100%;margin:0}.quote-image-controls input[hidden]{display:none}
.price-list-pdf-notice{padding:14px;border:1px solid #dce4d8;border-radius:8px;background:#f8faf5;margin:0 0 16px}.price-list-pdf-notice label{display:grid;gap:8px;font-size:12px;font-weight:600}.price-list-pdf-notice textarea{width:100%;font-size:13px;font-weight:400;line-height:1.6}.price-list-pdf-notice .button{margin:10px 10px 0 0}.price-list-pdf-controls select{max-width:100%;font-size:12px}
.customer-price-footer{flex:0 0 100%;display:flex;align-items:center;gap:20px;flex-wrap:wrap;min-width:0;border-top:1px solid #c6d9cc;padding-top:16px}.customer-price-footer .customer-price-terms{flex:1 1 auto;border:0;padding-top:0}.customer-price-footer>.button{margin-left:auto;flex-shrink:0}.price-list-preview-dialog{width:1000px;max-width:95vw;max-height:94vh;border:1px solid #cbdccc;border-radius:12px;padding:0}.price-list-preview-dialog::backdrop{background:#1b304b88}.price-list-preview-dialog .edit-header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:#f5f8f3}.price-list-preview-dialog h2{font-size:19px;margin:0}.price-list-preview-tools{display:flex;justify-content:center;align-items:center;gap:12px;padding:12px;flex-wrap:wrap;position:sticky;top:0;background:#fff;z-index:1;border-bottom:1px solid #dce4d8}.price-list-preview-tools>span{font-size:13px;min-width:120px;text-align:center}.price-list-preview-body{background:#e4e9ed;min-height:180px;padding:24px;overflow:auto;max-height:74vh}.price-list-preview-body img{display:block;width:100%;max-width:850px;height:auto;margin:auto;box-shadow:0 3px 14px #24394e22}.price-list-preview-body .inline-error{margin:0}@media(max-width:650px){.customer-price-footer .customer-price-terms{flex-basis:100%}.price-list-preview-body{padding:10px}}
