/* Test-only refinements using the established CWR type, cream and gold palette. */
.rf-stepper{display:flex;align-items:center;background:#faf9f6;border:1px solid #e5dfd5;border-radius:7px;padding:3px;min-width:0;max-width:150px;height:38px;gap:1px}
.rf-stepper button{display:grid;place-items:center;flex:0 0 30px;height:30px;background:white;border:1px solid #efebe4;border-radius:5px;font:18px Lato,sans-serif;color:#8d785b;padding:0;min-height:0}
.rf-stepper input[type=number]{appearance:textfield;-moz-appearance:textfield;flex:1;min-width:0;width:35px;margin:0;padding:0;border:0;background:transparent;text-align:center;font:15px 'Playfair Display',serif;height:30px;min-height:0;box-shadow:none}
.rf-stepper input::-webkit-inner-spin-button,.rf-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.rf-stepper button:disabled{opacity:.35;cursor:default}
.cb-sizefields label{grid-template-columns:auto minmax(90px,1fr);max-width:none}.cb-sizefields .rf-stepper{grid-column:2;grid-row:1}.cb-sizefields small{font-size:8px}.cb-sizeheading{font-size:10px;font-weight:700}.cb-sizeheading .cb-edit-size{min-height:20px;font-size:9px;font-weight:400}.cb-sizebar{padding:5px 8px;gap:3px}.rf-size-kind{font-size:8px;color:#917b60;width:100%}.cb-sizefields{gap:8px}.cb-sizefields label>span{font-size:10px}.cb-modal-sizes .cb-sizebar{background:#fff}.cb-modal-sizes .rf-stepper{max-width:150px}.cb-modal-sizes .cb-sizefields{justify-content:space-around}.cb-modal-sizes label{flex:0 1 190px}
.cb-gallery-controls{grid-template-columns: minmax(280px,1fr) auto;align-items:center}.cb-search-row{display:flex;gap:6px;grid-column:1;grid-row:1}.cb-search-row>input{flex:1;min-width:100px;width:0;align-self:center}.cb-filter-toggle,.cb-help{display:flex;position:static;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:6px 10px;border:1px solid #ddcfbc;background:#fff;border-radius:7px;font-size:12px;white-space:nowrap}.cb-help-full{display:none}.cb-help-short{display:inline}.cb-filter-toggle small{background:#f2e8d8;border-radius:50%;padding:0 5px}.cb-gallery-controls>.cb-sizebars{grid-column:2;grid-row:1;margin:0;max-width:650px}.cb-gallery-controls .cb-sizebar{min-width:250px}.cb-gallery-controls .cb-sizebars:has(.cb-sizebar:nth-child(2)){max-width:750px}.cb-gallery-controls .rf-size-kind{display:none}.cb-filters{display:none;padding:0;grid-column:1/-1;grid-row:2}.cb-filters.cb-expanded{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr)) auto;gap:8px;margin:4px 0}.cb-filter-actions{grid-column:auto;align-items:center;gap:10px}.cb-done{display:block}.cb-gallery-controls:has(.sf-active-collection) .sf-active-collection{grid-row:3}
.rf-quote-rows{display:grid}.rf-price-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 4px;border-bottom:1px solid #e9dfd1}.rf-price-row:last-child{border:0}.rf-price-row>div:last-child{text-align:right}.rf-price-row span{font:12px Lato,sans-serif;color:#403b35}.rf-price-row strong{font:24px/1.1 'Playfair Display',serif;white-space:nowrap;color:#24211f}.rf-price-row small{display:block;color:#9a8165;font:9px/1.4 Lato,sans-serif;margin-top:3px}.cwr-modal-price{border-top-width:2px!important;box-shadow:none!important;border:1px solid #e5d9c7;border-top-color:#b3772e!important}.cwr-modal-price>div:last-child.h-1{display:none}
.rf-stone-choices>label{display:block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#938370;margin-bottom:8px}.rf-stone-choices .cwr-stone-grid button{display:flex;flex-direction:column}.rf-stone-choices button small{font:9px Lato,sans-serif}.rf-stone-choices button:disabled{opacity:.5;cursor:not-allowed}.rf-stone-choices button[aria-pressed=true]{background:#fbf9f1;border-color:#b3772e;color:#90612d;box-shadow:0 0 0 1px #b3772e}.rf-unavailable{font-size:11px;color:#985029;margin:8px 0}.rf-stone-specs{font-size:11px;margin-top:8px}.rf-stone-specs>div{display:flex;justify-content:space-between;gap:10px;padding:5px 0}.rf-stone-specs small{color:#8a7357}
.rf-customize{padding:22px;max-width:1200px;margin:auto;width:100%;color:#403c36;font:12px/1.5 Lato,sans-serif}.rf-customize-top{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:0 0 18px;border-bottom:1px solid #e9e2d7;margin-bottom:18px}.rf-customize h2{font:21px/1.3 'Playfair Display',serif;color:#90612d}.rf-customize h2 small{font:9px Lato,sans-serif;background:#f5efdb;padding:3px 5px;border-radius:4px;margin-left:8px;color:#91713f}.rf-title-sub{display:flex;gap:12px;align-items:center;margin-top:5px;color:#91836f;font-size:10px}.rf-customize-actions{display:flex;gap:6px}.rf-customize button,.rf-catalog button{border:1px solid #e2d8c9;border-radius:6px;background:#fff;padding:7px 11px;color:#6f5a40;font-size:11px;cursor:pointer}.rf-customize button:disabled{opacity:.45;cursor:not-allowed}.rf-customize-actions button:nth-child(3){background:#292524;color:white;border-color:#292524}.rf-customize-grid{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:16px}.rf-card{border:1px solid #e8dfd2;border-radius:10px;background:#fff;padding:16px;box-shadow:0 2px 8px #35261504}.rf-customize h3,.rf-catalog h3{font-size:11px;font-weight:700;letter-spacing:.06em;color:#987341;text-transform:uppercase;margin:0 0 12px}.rf-customize label,.rf-catalog label{display:flex;flex-direction:column;gap:4px;min-width:0}.rf-customize label>span,.rf-catalog label>span{font-size:10px;color:#85765f}.rf-customize input,.rf-customize select,.rf-catalog input,.rf-catalog select{min-width:0;width:100%;height:34px;padding:6px 8px;background:#fff;border:1px solid #e4dacc;border-radius:5px;color:#403c36;font:12px Lato,sans-serif}.rf-customize input:disabled,.rf-catalog input:read-only{background:#f5f3ef;color:#938775}.rf-design-card{display:grid;grid-template-columns:140px 1fr;gap:12px}.rf-design-card>h3{grid-column:1/-1;margin:0}.rf-photo{position:relative}.rf-photo>button:first-child{width:100%;height:180px;padding:5px;border-style:dashed}.rf-photo img{width:100%;height:145px;object-fit:contain}.rf-photo small{font-size:9px;display:block;color:#99846a}.rf-photo .rf-photo-remove{position:absolute;right:5px;top:5px;padding:0;width:22px;height:22px}.rf-design-fields h3{margin:10px 0 6px}.rf-two-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rf-customize .rf-stepper{padding:3px;max-width:100%;height:34px}.rf-customize .rf-stepper button{padding:0;height:26px;flex-basis:26px;font-size:16px}.rf-customize .rf-stepper input{border:0;height:26px}.rf-summary h3{font:18px 'Playfair Display',serif;text-transform:none;letter-spacing:0;margin-bottom:14px}.rf-summary-head,.rf-summary-row{display:grid;grid-template-columns:1fr 90px 1.2fr;align-items:center;gap:10px}.rf-summary-head{font-size:8px;color:#9b8b76;text-transform:uppercase;padding-bottom:4px}.rf-summary-head>:nth-child(2),.rf-summary-head>:nth-child(3){text-align:right}.rf-summary-row{padding:9px 0;border-bottom:1px solid #eee7dc}.rf-summary-row:last-of-type{border:0}.rf-weight-cell small,.rf-admin-price small{display:block;font-size:9px;color:#a19079;text-align:right}.rf-weight-cell input{height:26px;text-align:right;margin-top:2px;font-size:11px}.rf-admin-price{text-align:right}.rf-admin-price strong{font:18px 'Playfair Display',serif}.rf-hint{font-size:10px;color:#9b8669;margin:7px 0;line-height:1.5}.rf-lock-note{font-size:9px;margin-bottom:0}.rf-stone-total{display:flex;justify-content:space-between;background:#f6f2e9;border:1px solid #e8dece;border-radius:6px;margin-top:8px;padding:8px 12px;font-size:10px;color:#80643e}.rf-groups,.rf-factors{grid-column:1/-1}.rf-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.rf-section-heading h3{margin:0}.rf-section-heading button{padding:4px 10px}.rf-stone-group{border-top:1px solid #ece4d9;margin-top:10px;padding-top:10px}.rf-group-top{display:flex;align-items:center;gap:10px;margin-bottom:7px}.rf-group-top strong{font-size:11px;font-weight:400}.rf-group-top small{font-size:9px;color:#9d835d}.rf-group-top button{margin-left:auto;padding:0 8px}.rf-group-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.rf-legacy-stone{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.rf-stone-group details{margin-top:8px;font-size:10px;color:#937447}.rf-stone-group details label{margin-top:7px}.rf-span2{grid-column:1/-1}.rf-factor-fields{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:auto auto;grid-auto-flow:column;gap:10px}.rf-clear{text-align:right;margin-top:12px}.rf-clear button{font-size:10px;background:transparent}.rf-catalog{border-top:1px solid #e7e0d4;padding-top:22px}.rf-catalog-list{max-height:510px;overflow:auto;padding-right:6px}.rf-rate-row{border:1px solid #e7dfd1;border-radius:8px;padding:10px;margin-top:9px;background:#fff}.rf-rate-main{display:grid;grid-template-columns:90px 1fr 1fr 1fr 24px;align-items:end;gap:8px}.rf-rate-main .rf-remove{padding:0;height:34px}.rf-rate-row>small{font-size:9px;color:#9f8e76;display:block;margin-top:6px}.rf-other-row{display:grid;grid-template-columns:1fr 1fr 25px;gap:8px;margin-top:8px;max-width:500px;align-items:end}.rf-other-row button{padding:0;height:34px}.rf-catalog .rf-textbutton{border:0;padding:4px 0;margin-top:4px;background:transparent;font-size:10px}.rf-error{border:1px solid #e0b18e;background:#fff8ee;padding:10px;border-radius:6px;color:#914e25;font-size:12px;margin:8px 0}.rf-toast{padding:8px;background:#f6f2e8;border-radius:6px;color:#6b572e}.rf-customize button:focus-visible,.rf-catalog button:focus-visible,.rf-stepper input:focus-visible{outline:2px solid #b3772e;outline-offset:2px}
@media(max-width:1100px){.cb-gallery-controls{display:block}.cb-gallery-controls>.cb-sizebars{max-width:none;margin-top:6px}.cb-gallery-controls .cb-sizebar{min-width:0}.cb-filters.cb-expanded{grid-template-columns:repeat(4,1fr)}.cb-filter-actions{grid-column:1/-1}.rf-design-card{grid-template-columns:110px 1fr}}
@media(max-width:700px){.rf-customize{padding:14px}.rf-customize-top{display:block;padding-bottom:12px;margin-bottom:12px}.rf-customize h2{font-size:18px}.rf-customize-actions{margin-top:10px}.rf-customize-actions button{flex:1;padding:8px 4px}.rf-customize-grid{grid-template-columns:1fr;gap:12px}.rf-card{padding:12px}.rf-design-card{grid-template-columns:95px 1fr;gap:10px}.rf-photo>button:first-child{height:168px}.rf-photo img{height:135px}.rf-summary{grid-row:2}.rf-customize .rf-groups,.rf-customize .rf-factors{grid-column:1}.rf-group-fields{grid-template-columns:1fr 1fr}.rf-legacy-stone{grid-template-columns:1.3fr .6fr .8fr 1fr;gap:6px}.rf-factor-fields{grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto;grid-auto-flow:row}.rf-factor-fields>label:nth-child(5){grid-column:2;grid-row:2}.rf-factor-fields>label:nth-child(4){grid-column:1;grid-row:3}.rf-factor-fields>label:nth-child(6){grid-column:2;grid-row:3}.rf-rate-main{grid-template-columns:1fr 1fr 24px}.rf-rate-main label:nth-child(3){grid-row:2}.rf-rate-main label:nth-child(4){grid-row:2;grid-column:2}.rf-rate-main .rf-remove{grid-row:1;grid-column:3}.rf-rate-row{padding:8px}.cb-filters.cb-expanded{grid-template-columns:1fr 1fr}.cb-filter-actions{grid-column:1/-1}.cb-search-row>input{min-width:0;height:38px;min-height:38px}.cb-filter-toggle,.cb-help{min-height:38px;height:38px;padding:5px 8px}.cb-gallery-controls{padding:5px 0 6px}.cb-sizefields .rf-stepper{height:34px;max-width:120px}.cb-sizefields .rf-stepper button{height:26px;flex-basis:26px}.cb-sizefields .rf-stepper input{height:26px}.cb-sizeheading{font-size:9px}.cb-sizeheading .cb-edit-size{font-size:9px}.cb-sizebar{padding:3px 7px;gap:2px}.cb-sizebars{gap:4px}.cb-gallery-controls .cb-sizefields small{font-size:8px}.rf-price-row{padding:11px 2px}.rf-price-row strong{font-size:23px}}
@media(min-width:1101px){.cb-gallery-controls:has(.cb-sizebar:nth-child(2)){grid-template-columns:minmax(260px,1fr) auto}.cb-gallery-controls .cb-sizebar:has(label:only-child){min-width:200px}.cb-gallery-controls .cb-sizebar{padding:4px 8px}.cb-gallery-controls .rf-stepper{max-width:115px;height:34px}.cb-gallery-controls .rf-stepper button{height:26px;flex-basis:24px}.cb-gallery-controls .rf-stepper input{height:26px}.cb-gallery-controls .cb-sizeheading{font-size:9px}.cb-gallery-controls .cb-search-row>input{height:40px;min-height:40px}}

.rf-rate-order{float:right;display:flex;gap:4px;margin-top:8px}.rf-rate-order button{padding:2px 7px;font-size:11px}.rf-rate-order button:disabled{opacity:.25;cursor:default}

/* Match approved Mobile A and Desktop C, not a shared compromise layout. */
.rf-size-title-desktop{display:none}.rf-size-sample{font:8px/1.4 Lato,sans-serif;color:#927c5e;margin:0;width:100%}.rf-group-classification{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:9px}
.cb-gallery-controls .cb-search-row{gap:6px}.cb-gallery-controls .cb-search-row>input{height:44px;min-height:44px;font-size:12px}.cb-gallery-controls .cb-filter-toggle,.cb-gallery-controls .cb-help{height:44px;min-height:44px;padding:0 10px;font:12px Lato,sans-serif;gap:5px}.cb-gallery-controls .cb-help svg{width:14px;height:14px}.cb-gallery-controls .rf-stepper{height:38px;gap:2px;padding:3px;border:1px solid #eae5dd;background:#f2efea;border-radius:7px}.cb-gallery-controls .rf-stepper button{width:29px;flex:0 0 29px;height:30px;border:1px solid #eee8de;border-radius:4px;background:#fff;color:#908675;font-size:18px}.cb-gallery-controls .rf-stepper input[type=number]{height:30px;min-height:30px;font:16px 'Playfair Display',serif;color:#393128}.cb-gallery-controls .cb-sizefields label>span{font-size:9px;color:#645744}.cb-gallery-controls .cb-sizefields label{gap:5px}.cb-gallery-controls .cb-sizebars{max-width:none}
@media(max-width:1023px){
 .cb-gallery-controls{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:4px 0;margin-left:16px;margin-right:16px}.cb-gallery-controls>.cb-sizebars{margin:0;display:block}.cb-gallery-controls .cb-sizebar{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:3px 9px;border:1px solid #e6d9c7;border-radius:8px;background:#f7f4ee;min-width:0}.cb-gallery-controls .cb-sizeheading{width:100%;display:flex;justify-content:space-between;align-items:center;line-height:16px;font-size:9px;font-weight:600}.cb-gallery-controls .cb-sizeheading .cb-edit-size{font:9px/16px Lato,sans-serif;min-height:16px;display:flex;align-items:center;margin:0}.cb-gallery-controls .cb-sizefields{display:flex;gap:10px;width:100%}.cb-gallery-controls .cb-sizefields label{display:flex;flex:1;min-width:0}.cb-gallery-controls .rf-stepper{flex:1;min-width:0;max-width:none;width:0}.cb-gallery-controls .rf-stepper button{width:28px;flex-basis:28px}.cb-gallery-controls .rf-stepper input{flex:1;min-width:0;width:24px}.cb-gallery-controls .cb-filters.cb-expanded{order:3;margin:0;padding:10px;border:1px solid #e4d8c5;border-radius:8px;background:#fff}.rf-group-classification{grid-template-columns:1fr 1fr}.rf-group-classification>label:nth-child(3){grid-column:1/-1}
}
@media(min-width:1024px){
 .cb-gallery-controls{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:8px 12px;align-items:center;padding:10px 0}.cb-gallery-controls .cb-search-row{grid-column:1;grid-row:1;display:flex;min-width:0}.cb-gallery-controls>.cb-sizebars{grid-column:2;grid-row:1;margin:0;display:block}.cb-gallery-controls .cb-sizebar{display:flex;flex-wrap:nowrap;gap:10px;min-width:0;border:0;border-left:1px solid #dfd2bf;border-radius:0;padding:0 0 0 12px;background:transparent}.cb-gallery-controls .cb-sizeheading{display:contents}.cb-gallery-controls .rf-size-title{font:600 9px/1.4 Lato,sans-serif;max-width:56px;white-space:nowrap}.cb-gallery-controls .rf-size-title-mobile{display:none}.cb-gallery-controls .rf-size-title-desktop{display:inline}.cb-gallery-controls .cb-edit-size{order:5;margin:0;font:9px Lato,sans-serif;min-height:28px;display:flex;align-items:center}.cb-gallery-controls .cb-sizefields{flex:0 1 auto;display:flex;gap:8px}.cb-gallery-controls .cb-sizefields label{display:flex;gap:6px;flex:none}.cb-gallery-controls .cb-sizefields label>span{font-size:10px}.cb-gallery-controls .rf-stepper{width:101px;max-width:101px;min-width:101px}.cb-gallery-controls .rf-stepper input{width:29px}.cb-gallery-controls .rf-size-sample{display:none}.cb-gallery-controls .cb-filters.cb-expanded{grid-row:2;grid-column:1/-1;grid-template-columns:repeat(4,minmax(90px,1fr));padding:10px;background:#fff;border:1px solid #e4d8c5;border-radius:8px}.cb-gallery-controls .cb-filter-actions{grid-column:1/-1;justify-content:flex-end}
}

/* Compact companion cards: stones left, pricing factors right. */
.rf-customize-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.rf-customize .rf-groups,.rf-customize .rf-factors{min-width:0;padding:14px}
.rf-groups .rf-section-heading{margin-bottom:6px}
.rf-groups .rf-stone-group{margin-top:8px;padding-top:8px}
.rf-groups .rf-group-top{gap:7px;margin-bottom:6px}
.rf-groups .rf-group-top small{font-size:9px}
.rf-groups .rf-group-classification{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:7px}
.rf-groups .rf-group-classification>label:nth-child(3){grid-column:1/-1}
.rf-groups .rf-group-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.rf-groups .rf-group-fields>label:last-of-type{grid-column:1/-1}
.rf-groups .rf-legacy-stone{grid-template-columns:1.3fr .65fr .8fr 1fr;gap:6px}
.rf-groups label,.rf-factors label{gap:3px}
.rf-groups .rf-hint{margin:5px 0;font-size:10px;line-height:1.45}
.rf-groups details{margin-top:6px}
.rf-factors h3{margin-bottom:12px}
.rf-factors .rf-factor-fields{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,auto);grid-auto-flow:row;gap:9px 10px}
.rf-factors .rf-factor-fields>label:nth-child(1){grid-column:1;grid-row:1}
.rf-factors .rf-factor-fields>label:nth-child(2){grid-column:2;grid-row:1}
.rf-factors .rf-factor-fields>label:nth-child(3){grid-column:1;grid-row:2}
.rf-factors .rf-factor-fields>label:nth-child(4){grid-column:1;grid-row:3}
.rf-factors .rf-factor-fields>label:nth-child(5){grid-column:2;grid-row:2}
.rf-factors .rf-factor-fields>label:nth-child(6){grid-column:2;grid-row:3}
@media(min-width:1024px){.rf-customize .rf-groups{grid-column:1}.rf-customize .rf-factors{grid-column:2}.rf-customize .rf-groups,.rf-customize .rf-factors{grid-row:2}}
@media(min-width:701px) and (max-width:1023px){.rf-customize .rf-groups,.rf-customize .rf-factors{grid-column:1/-1}}
@media(max-width:700px){.rf-customize-grid{grid-template-columns:minmax(0,1fr)}.rf-customize .rf-groups,.rf-customize .rf-factors{padding:12px;grid-column:1}}

/* One field order for saved stones and newly added stones. */
.rf-unified-stone-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 9px}
.rf-unified-stone-fields>label:has(input[aria-label="Custom shape / cut"]){grid-column:1/-1}
.rf-unified-stone-fields input[readonly]{background:#f7f5f0;color:#847156}
.rf-unified-stone-fields label>span{line-height:1.3}
.rf-groups .rf-stone-source-note{margin:7px 0 0;font-size:9px;color:#967c59}

/* Centered modal size context; gallery toolbar layout is retained. */
.cb-modal-sizes .cb-sizeheading{display:flex;justify-content:center;align-items:center;gap:12px;width:100%;text-align:center}.cb-modal-sizes .cb-sizeheading .cb-edit-size{margin:0}.cb-modal-sizes .rf-size-sample{text-align:center;width:100%}
.rf-add-catalog{font:11px Lato,sans-serif;color:#8a5c24;border:1px solid #dfd0ba;border-radius:5px;padding:6px 9px;margin-top:8px;background:#faf7f0}
.rf-rate-dialog{width:min(520px,calc(100vw - 24px));max-height:85dvh;padding:20px;border:1px solid #dfd0ba;border-radius:12px;color:#302a23;background:#fff;overflow:auto;margin:auto;box-shadow:0 20px 80px #0004}.rf-rate-dialog::backdrop{background:#0007}.rf-rate-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:8px}.rf-rate-dialog h3{font:24px Georgia,serif;margin:0}.rf-rate-dialog button{border:1px solid #dfd0ba;border-radius:6px;padding:8px 12px;font-size:12px}.rf-rate-dialog button:disabled{opacity:.55}.rf-rate-dialog-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.rf-rate-dialog label{display:flex;flex-direction:column;min-width:0;gap:5px;font-size:11px}.rf-rate-dialog input{width:100%;min-width:0;border:1px solid #d8c9b3;border-radius:5px;padding:9px;font-size:14px;background:#fff}.rf-rate-other{display:grid;grid-template-columns:1fr 1fr 30px;gap:8px;margin:10px 0;align-items:end}.rf-rate-other button{padding:8px}.rf-rate-dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:15px;border-top:1px solid #e6dccb;margin-top:15px}.rf-rate-dialog-actions button:last-child{background:#302a23;color:#fff;border-color:#302a23}.rf-existing-rate{padding:14px;background:#f8f5ef;border:1px solid #e4d8c4;border-radius:8px;font-size:13px;margin:16px 0}.rf-existing-rate ul{padding-left:18px;list-style:disc;margin:8px 0}.rf-rate-dialog .rf-hint{font-size:11px;line-height:1.5;margin:10px 0}

.rf-draft-notice{border:1px solid #e5d8c6;border-radius:8px;background:#faf7f1;padding:10px 12px;margin:0 0 14px;display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:11px}.rf-draft-notice strong{font-weight:600;color:#70502b}.rf-draft-notice p{margin:2px 0 0;color:#7e7364;line-height:1.5}.rf-draft-notice.rf-draft-conflict{background:#fff4df;border-color:#c58c39}.rf-draft-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.rf-draft-actions button{border:1px solid #d8c7ae;border-radius:5px;background:#fff;padding:7px 9px;font-size:11px}.rf-draft-actions summary{cursor:pointer;font-size:11px}.rf-draft-actions details[open]{max-width:180px}.rf-draft-actions details button{display:block;margin:5px 0}.rf-undo-stone{margin-left:auto;font-size:11px!important;padding:5px 8px!important}@media(max-width:700px){.rf-draft-notice{align-items:flex-start;flex-direction:column;gap:7px}.rf-draft-actions{flex-wrap:wrap}}

.rf-existing-material{margin:12px 0}.rf-existing-material select{width:100%;border:1px solid #d8c9b3;border-radius:5px;padding:9px;background:#fff;font-size:13px}.rf-add-material-fields{border-top:1px solid #e3d5c1;margin-top:12px;padding-top:2px}
