.sales-rulebook{color:#172e36;background:#f7f9fa;padding:28px;font:14px/1.5 system-ui,sans-serif;min-width:0}.sales-rulebook header{display:flex;align-items:center;justify-content:space-between;gap:16px}.sales-rulebook h1{font-size:30px;margin:2px 0 12px}.sales-rulebook h2{font-size:21px}.sales-rulebook h3{font-size:16px;margin:22px 0 8px}.sales-rulebook .eyebrow{color:#38616b;margin:0}.sales-rulebook .status{background:#fff1d0;border:1px solid #dfc987;border-radius:20px;padding:5px 12px;white-space:nowrap}.sales-rulebook .toolbar,.sales-rulebook .actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:16px 0}.sales-rulebook label{display:grid;gap:5px}.sales-rulebook button,.sales-rulebook input,.sales-rulebook select,.sales-rulebook textarea{font:inherit;border:1px solid #bbccd0;border-radius:6px;padding:8px 11px;background:#fff;color:inherit}.sales-rulebook button{cursor:pointer}.sales-rulebook button:hover{background:#ecf4f5}.sales-rulebook button:disabled{cursor:default;opacity:.55}.sales-rulebook :focus-visible{outline:3px solid #267c8c;outline-offset:2px}.sales-rulebook textarea{width:100%;box-sizing:border-box;font-family:monospace}.sales-rulebook .rulebook-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:20px;align-items:start}.sales-rulebook aside{display:grid;gap:6px;max-height:720px;overflow:auto}.sales-rulebook aside button{text-align:left;display:grid;gap:4px}.sales-rulebook aside button.selected{border-color:#236d7b;background:#e5f1f3}.sales-rulebook main{background:#fff;padding:22px;border:1px solid #dce5e8;border-radius:9px;min-width:0}.sales-rulebook .error{border-left:4px solid #b84636;background:#fff0ed;padding:10px}.sales-rulebook .notice{border-left:4px solid #267b6d;background:#eef8f4;padding:10px}.sales-rulebook .table-scroll{overflow:auto}.sales-rulebook table{width:100%;border-collapse:collapse}.sales-rulebook th,.sales-rulebook td{text-align:left;border-bottom:1px solid #e2e9eb;padding:9px;vertical-align:top}.sales-rulebook th{background:#eef4f5;font-weight:600}.sales-rulebook small{display:block;font-size:11px;color:#55717a;overflow-wrap:anywhere}.sales-rulebook details{border:1px solid #dce5e8;border-radius:5px;padding:10px;margin:9px 0}.sales-rulebook summary{cursor:pointer}.sales-rulebook dd{margin:0 0 8px;overflow-wrap:anywhere;font-family:monospace}.sales-rulebook pre,.sales-rulebook code{white-space:pre-wrap;overflow-wrap:anywhere}@media (max-width: 800px){.sales-rulebook{padding:15px}.sales-rulebook .rulebook-layout{grid-template-columns:1fr}.sales-rulebook aside{max-height:240px}.sales-rulebook header{align-items:start;flex-direction:column}}.rb-workspace{max-width:1440px;margin:0 auto;min-height:100%;padding:30px 40px 64px;background:#f8fafc;color:#172b4d}.rb-workspace .rb-breadcrumb{font-size:12px;color:#69788f;margin-bottom:16px}.rb-breadcrumb span{margin:0 10px;color:#a6b1c1}.rb-workspace h1{font-size:29px;font-weight:650;letter-spacing:-.6px;margin:0 0 8px}.rb-workspace header p{margin:0;color:#65748b;max-width:730px}.rb-workspace .rb-badge{display:inline-flex;padding:5px 11px;background:#fff6df;color:#836015;border:1px solid #eddda8;font-size:12px;border-radius:16px;white-space:nowrap}.rb-workspace .rb-ready{background:#e8f4ed;border-color:#c8e5d2;color:#267146}.rb-workspace .rb-boundary{padding:11px 14px;font-size:12px;background:#edf3fa;border:1px solid #dbe6f3;border-radius:7px;color:#526b8c;margin:22px 0}.rb-workspace .rb-selector-bar{display:flex;align-items:end;flex-wrap:wrap;gap:16px;padding:20px;background:#fff;border:1px solid #e0e6ee;border-radius:9px}.rb-selector-bar label{flex:1 1 190px;font-size:12px;font-weight:600}.rb-selector-bar label:last-of-type{flex:0 1 170px}.rb-workspace input,.rb-workspace select{min-height:40px;border-color:#d2dbe7;font-weight:400;min-width:0;max-width:100%}.rb-workspace .rb-primary{background:#2762b3;color:#fff;border-color:#2762b3;padding:9px 20px}.rb-workspace .rb-primary:hover:enabled{background:#1d4e94}.rb-workspace .rb-customer-heading{display:flex;align-items:center;justify-content:space-between;margin:26px 0 18px;gap:15px}.rb-customer-heading h2{margin:0;font-size:22px}.rb-customer-heading p{font-size:12px;color:#7b889b;margin:4px 0 0}.rb-workspace .rb-tabs{display:flex;gap:24px;border-bottom:1px solid #dce3ed;margin-bottom:23px;overflow-x:auto}.rb-workspace .rb-tabs button{background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;padding:12px 0;color:#687a91;white-space:nowrap;font-size:13px}.rb-workspace .rb-tabs button[aria-selected=true]{color:#235eaf;border-bottom-color:#3976c9;font-weight:600}.rb-workspace .rb-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.rb-overview-grid article{padding:21px;background:#fff;border:1px solid #e0e6ee;border-radius:8px}.rb-overview-grid article>span{color:#6e7f96;font-size:12px}.rb-overview-grid strong{display:block;font-size:22px;font-weight:600;margin:10px 0}.rb-overview-grid p{color:#63738b;font-size:12px;margin:0}.rb-workspace .rb-empty{padding:42px 26px;background:#fff;border:1px solid #e0e6ee;border-radius:9px;text-align:center;margin:22px 0}.rb-empty h2,.rb-empty h3{margin:0 0 12px;font-size:19px}.rb-empty p{max-width:620px;margin:0 auto 20px;color:#67758c}.rb-workspace .rb-category,.rb-workspace .rb-location{max-width:290px;margin:12px 0;font-size:12px}.rb-workspace table{background:#fff;font-size:13px}.rb-workspace th{background:#f1f5fa;color:#586980;padding:13px 17px;font-size:12px}.rb-workspace td{padding:16px 17px;border-bottom:1px solid #e8edf3}.rb-workspace .rb-rate{display:block;margin-top:5px;font-size:13px;font-weight:600}.rb-workspace .rb-period,.rb-workspace .rb-help{color:#6b7c93;font-size:12px;margin:17px 0}.rb-workspace .rb-service-detail{margin:0;padding:0;border:none}.rb-service-detail>summary{font-weight:600}.rb-workspace .rb-treatment{color:#516f87;font-size:12px}.rb-workspace .rb-technical{margin-top:27px;color:#758196;font-size:12px;background:#f3f6fa;border-color:#e1e6ee}.rb-technical .sales-rulebook{padding:15px}.rb-workspace .rb-layouts>details{background:#fff;padding:15px 18px}.rb-section-number{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0 10px;background:#eaf0f8;border-radius:5px}.rb-column-count{float:right;color:#75859c;font-size:12px}.rb-workspace .rb-terms-table{margin-top:22px;border:1px solid #e0e6ee;border-radius:9px}.rb-terms-table td:first-child{width:65%}.rb-terms-table td{vertical-align:middle}.rb-terms-table a{color:#285c9e;text-decoration:none}.rb-terms-table a:hover{text-decoration:underline}.rb-terms-table select{min-width:150px}.rb-workspace .rb-review-link{color:#8d6a24}.rb-workspace .rb-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:18px 0}.rb-pagination>span{margin-right:auto;font-size:12px;color:#77859b}.rb-nav-parent{display:flex;align-items:center;gap:12px;width:100%;padding:6px 12px;border:0;background:transparent;color:inherit;font-size:14px;font-weight:500;border-radius:6px;cursor:pointer}.rb-nav-parent:hover{background:#8096b41f}.rb-nav-parent svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}.rb-nav-arrow{margin-left:auto}.rb-nav-children{margin:5px 0 10px 19px;border-left:1px solid #d6dfeb;padding-left:8px;display:grid;gap:3px}.rb-nav-children a{display:block;padding:7px 9px;border-radius:5px;font-size:12px;color:#566983;text-decoration:none}.rb-nav-children a:hover,.rb-nav-children a[aria-current=page]{background:#e8effa;color:#245fae}.rb-nav-group :focus-visible{outline:2px solid #3976c9;outline-offset:2px}.sales-rulebook.rb-simple{padding:0;background:transparent;color:inherit;font:inherit}.rb-simple .rb-simple-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:20px 0}.rb-simple-filters input{flex:1 1 260px;max-width:480px}.rb-simple .rb-simple-filters select{min-width:170px}.rb-simple .rb-simple-table{border:1px solid #e2e8f0;border-radius:8px;background:#fff}.rb-simple th{background:#f8fafc;color:#64748b;font-size:12px;padding:12px 16px}.rb-simple td{padding:14px 16px;vertical-align:middle;font-size:14px}.rb-simple td:first-child{width:45%}.rb-simple.rb-shipping-prices table{min-width:1050px}.rb-simple.rb-shipping-prices td:first-child{width:auto;min-width:155px}.rb-shipping-prices td{white-space:nowrap}.rb-shipping-prices .table-scroll{max-width:100%}.rb-simple .rb-term-options{display:flex;gap:8px;flex-wrap:wrap}.rb-simple button.rb-term-choice{padding:6px 12px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#64748b;white-space:nowrap;font-size:12px;font-weight:500}.rb-simple .rb-term-choice[aria-pressed=true]{border-width:1px;font-weight:600}.rb-simple .rb-term-teal[aria-pressed=true]{color:#0f766e;border-color:#5eead4;background:#f0fdfa}.rb-simple .rb-term-blue[aria-pressed=true]{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}.rb-simple .rb-term-violet[aria-pressed=true]{color:#7c3aed;border-color:#c4b5fd;background:#f5f3ff}.rb-simple .rb-term-slate[aria-pressed=true]{color:#334155;border-color:#94a3b8;background:#f1f5f9}.rb-simple .rb-inline-history{padding:0;border:0;margin:4px 0 0;font-size:11px;color:#64748b}.rb-simple .rb-save-status{margin:8px 0;font-size:12px;color:#0f766e}.rb-simple .rb-pagination{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin:16px 0;font-size:12px}.rb-simple .rb-pagination>span:first-child{margin-right:auto}.sales-rulebook.rb-rules-page{padding:24px}.rb-rules-page h1{font-size:24px;font-weight:600;letter-spacing:-.35px;margin:0}.rb-rules-page td:first-child{width:23%}.rb-rules-page td:nth-child(2){width:22%;font-weight:500}.rb-rules-page td:nth-child(3){width:46%;color:#64748b}.rb-rules-page td:last-child{width:9%}.rb-rules-page button.rb-rule-switch{display:inline-flex;align-items:center;width:36px;height:20px;border-radius:20px;padding:2px;border:0;background:#cbd5e1}.rb-rules-page button.rb-rule-switch[aria-checked=true]{background:#0f766e}.rb-rule-switch span{width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0002;transition:transform .12s}.rb-rule-switch[aria-checked=true] span{transform:translate(16px)}@media (max-width: 640px){.sales-rulebook.rb-rules-page{padding:16px}.rb-rules-page table{min-width:620px}}@media (max-width: 640px){.rb-simple td,.rb-simple th{padding:10px}.rb-simple td:first-child{width:36%}.rb-simple .rb-term-options{gap:5px}.rb-simple button.rb-term-choice{padding:6px 8px}.rb-simple-filters input{max-width:none}.rb-simple-filters select{flex:1}}@media (max-width: 800px){.rb-workspace{padding:22px 17px 42px}.rb-workspace .rb-overview-grid{grid-template-columns:1fr}.rb-workspace .rb-tabs{gap:20px}.rb-workspace .rb-customer-heading{align-items:flex-start}.rb-workspace .rb-selector-bar{padding:15px}.rb-selector-bar label:last-of-type{flex:1 1 150px}.rb-workspace .rb-pagination{flex-wrap:wrap}.rb-workspace .rb-terms-table td{padding:12px}.rb-terms-table select{min-width:115px}}.sales-rulebook .rb-material-price-edit{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.sales-rulebook .rb-material-price-edit input{width:6rem;min-width:0;text-align:right}.sales-rulebook.rb-material-prices{margin-top:1.5rem}
