:root{font-family:"Segoe UI",Arial,sans-serif;color:#233c39;background:#f3f6f5;font-synthesis:none;--ink:#233c39;--muted:#526b64;--line:#dce5e1;--green:#236854}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.5}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}.topbar{min-height:76px;padding:16px 4%;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-bottom:1px solid var(--line)}.brand{font-weight:700;font-size:21px;display:flex;align-items:center;gap:11px}.brand-mark{display:grid;place-items:center;background:var(--ink);color:#fff;width:34px;height:34px;border-radius:8px}.top-meta{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px}.divider{height:15px;width:1px;background:#ccd5cd}main{max-width:1400px;margin:auto;padding:40px 32px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.eyebrow{letter-spacing:1.5px;font-size:12px;color:var(--green);font-weight:700;margin:0 0 12px}h1{font-size:40px;letter-spacing:-1.4px;line-height:1.15;margin:0 0 12px;font-weight:600}.subtitle{color:var(--muted);margin:0}.button{border:1px solid transparent;border-radius:7px;padding:11px 17px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;min-height:44px}.secondary{border-color:#c6d5cd;background:#fff;color:#40574b}.primary{background:var(--green);color:#fff}.primary:hover:not(:disabled){background:#174e3e}.secondary:hover{background:#edf3f0}.notice{display:flex;align-items:center;gap:12px;padding:16px 20px;background:#eaf2ee;color:#425e51;font-size:14px;line-height:1.7;border:1px solid #ceded4;border-radius:8px;margin-bottom:24px}.notice-icon{border:1px solid #789a86;border-radius:50%;min-width:20px;height:20px;text-align:center;line-height:18px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:24px;align-items:start}.card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px;margin-bottom:22px;box-shadow:0 2px 4px #233c3903;min-width:0}.section-heading{display:flex;align-items:center;gap:12px;margin-bottom:24px}.section-heading .pill{margin-left:auto}h2{margin:0;font-size:20px;letter-spacing:-.3px;font-weight:600}.section-heading p{font-size:14px;line-height:1.6;margin:5px 0 0;color:var(--muted)}.pill{display:inline-block;white-space:nowrap;border:1px solid #d1e1d6;background:#eef6f0;border-radius:4px;padding:4px 7px;font-size:12px;font-weight:600;color:#3e674f}.pill.neutral{border-color:#e0e6e3;color:#5e7065;background:#f6f8f6}.pill.amber{color:#835c25;background:#fcf4e7;border-color:#e9d7b6}.fields{display:grid;gap:18px;margin-bottom:18px}.fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}label{display:block;font-size:14px;font-weight:600;color:#405e50;line-height:1.5;margin-bottom:18px;min-width:0}.fields label{margin-bottom:0}input,select{display:block;width:100%;min-width:0;border:1px solid #cbd9d0;background:#fff;border-radius:6px;padding:10px 12px;font-size:16px;min-height:44px;color:#233c39;margin-top:7px;outline:none}select{appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23526b64' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}input::placeholder{color:#73867c}input:focus,select:focus{border-color:#52856a;box-shadow:0 0 0 3px #23685415}input[readonly],select:disabled{background-color:#f3f6f4;color:#617669}.help{display:block;color:#607268;font-size:14px;font-weight:400;line-height:1.65;margin:8px 0}.anchor-help{margin:-4px 0 20px}.inline-note{font-size:14px;line-height:1.7;color:#42654f;margin:6px 0 0;padding:12px;background:#f2f7f4;border-radius:6px}.checkbox{display:flex;align-items:center;gap:10px;font-weight:500;margin:4px 0 20px}.checkbox input{width:18px;height:18px;min-height:0;padding:0;margin:0;accent-color:var(--green)}.input-suffix{position:relative}.input-suffix input{padding-right:82px}.input-suffix span{position:absolute;right:12px;top:12px;font-size:14px;color:#637a6b}.subheading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:24px 0 16px;border-top:1px solid var(--line);padding-top:20px}h3{font-size:17px;font-weight:600;margin:0}.text-button{background:none;border:0;color:var(--green);font-size:14px;min-height:36px;padding:3px}.target{background:#f6f9f7;border:1px solid #dee8e1;border-radius:7px;padding:18px;margin-bottom:16px}.target-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px}h4{font-size:14px;font-weight:600;margin:0;color:#42634c}.target-title button{color:#7c5649}.form-actions{display:flex;justify-content:space-between;gap:12px;margin:4px 0 30px}.aside-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:18px}.aside-heading h2{font-size:18px}.book-headline{display:flex;align-items:baseline;gap:12px;margin-bottom:20px}.book-headline strong{font-size:32px;font-weight:500;letter-spacing:-1px;font-variant-numeric:tabular-nums}.book-headline span{font-size:13px;color:#607268}.book{width:100%;border-collapse:collapse;text-align:right;font-size:16px;font-variant-numeric:tabular-nums}.book th{font-weight:500;color:#667d6d;font-size:13px;padding:0 0 10px}.book th:first-child,.book td:first-child{text-align:left}.book td{border-top:1px solid #eaf0ec;padding:9px 0}.book td:first-child{color:#637b6a;font-size:14px}.book td:nth-child(2){color:#236854}.book td:last-child{color:#96533e}.review-card{border-top:3px solid #42775a}.empty-review{text-align:center;padding:16px 0 24px}.empty-review h3{color:#496653}.empty-review p{font-size:14px;color:#607268}.full{width:100%}.save-note{color:#607268;font-size:13px;text-align:center;margin:12px 0 0}.count{font-size:13px;color:#58735f;border:1px solid var(--line);border-radius:4px;padding:2px 6px}.saved-draft{display:block;width:100%;text-align:left;border:1px solid #dce5df;background:#f6f9f7;border-radius:6px;padding:12px;margin-top:10px;color:#325a41;font-size:14px;overflow-wrap:anywhere}.saved-draft span{display:block;font-size:13px;color:#607268;margin-top:6px}.review-direction{font-weight:600;color:var(--green);margin:0 0 16px}.review-leg{border-top:1px solid var(--line);padding:16px 0;font-size:14px}.review-leg h3{font-size:16px}.review-leg p{margin:8px 0;overflow-wrap:anywhere}.review-limit{font-size:22px;font-variant-numeric:tabular-nums;font-weight:600;color:#315d46}.message{padding:14px 18px;border:1px solid #bdd5c6;background:#eff7f2;color:#355f42;font-size:16px;line-height:1.6;border-radius:7px;margin-bottom:22px}.message.error{border-color:#e0beac;background:#fff5ef;color:#8d4836}fieldset{border:0;margin:0;padding:0;min-width:0}fieldset:disabled{opacity:.5}.leg-card.is-disabled{background:#f8faf9}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;color:#607268;font-size:13px;padding:24px 0;margin-top:10px}[hidden]{display:none!important}:focus-visible{outline:2px solid #3f805d;outline-offset:3px}#review-result{margin-bottom:18px}
@media(max-width:1100px){main{padding:30px 24px 0}.workspace{grid-template-columns:minmax(0,1fr) 310px;gap:18px}.card{padding:20px}.fields.three{grid-template-columns:1fr 1fr}.fields.three label:last-child{grid-column:1/-1}.section-heading{flex-wrap:wrap}.subheading .pill{font-size:11px}.book-headline{display:block}}
@media(max-width:800px){.workspace{grid-template-columns:1fr}.page-heading{align-items:flex-start;flex-direction:column}.topbar{padding:14px 18px}.top-meta{font-size:12px}.top-meta .divider{display:none}.top-meta{display:block;text-align:right;max-width:130px}main{padding:28px 16px 0}h1{font-size:34px}.notice{align-items:flex-start}.notice-icon{margin-top:3px}.fields.two,.fields.three{grid-template-columns:1fr}.fields.three label:last-child{grid-column:auto}.subheading{flex-wrap:wrap}.form-actions .button{padding:12px}.card{padding:20px}.book-headline{display:flex}footer{flex-direction:column;gap:6px}.section-heading .pill{margin-left:0}}
.workspace-nav{display:flex;gap:24px;margin:0 0 24px;font-size:15px;font-weight:600;color:var(--green)}.workspace-nav a{text-decoration:underline;text-underline-offset:5px}.management-section{margin:36px 0}.management-section> .page-heading{align-items:flex-start}.management-section h2{font-size:28px;margin-bottom:8px}.managed-bundle h3{font-size:20px}.managed-header{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}.managed-actions{display:flex;gap:10px;flex-wrap:wrap}.revision-line{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.management-table{width:100%;border-collapse:collapse;font-size:14px}.table-scroll{overflow-x:auto}.management-table th,.management-table td{padding:14px 10px;text-align:left;border-top:1px solid var(--line);vertical-align:top}.management-table th{font-weight:600;color:var(--muted)}.management-table th:first-child,.management-table td:first-child{padding-left:0}.management-table .leg-actions{display:flex;gap:8px;flex-wrap:wrap}.management-table .button{font-size:13px;padding:8px 10px;min-height:38px}.status-detail{display:block;font-size:13px;color:#61766b;margin-top:5px;max-width:260px;overflow-wrap:anywhere}.managed-bundle details{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.managed-bundle summary,.demo-card>summary{cursor:pointer;font-weight:600;color:#365e47}.applied-rule{padding:8px 0;font-size:14px;line-height:1.8;overflow-wrap:anywhere}.command-line{font-size:14px;overflow-wrap:anywhere}.demo-step{border-top:1px solid var(--line);padding:18px 0;margin-top:18px}.demo-step h3{font-size:17px;margin-bottom:14px}.demo-step p{font-size:14px}.demo-card{margin-top:24px}dialog{width:min(660px,calc(100% - 32px));max-height:88vh;overflow:auto;border:1px solid #c2d3c8;border-radius:12px;padding:28px;color:var(--ink);box-shadow:0 22px 80px #152d2340}dialog::backdrop{background:#10251e70}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.dialog-heading h2{font-size:23px}dialog .review-leg{margin-top:16px}dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;background:#f3f7f4;padding:12px;border-radius:6px}.changed-rule{border-left:3px solid #a1b8a8;padding-left:14px;margin-bottom:16px}.management-section .notice{margin:14px 0}.editor-mode-note{margin-top:0}@media(max-width:800px){.management-table th,.management-table td{padding:12px 8px}.management-table{min-width:670px}dialog{padding:20px}.management-section h2{font-size:25px}.managed-actions .button{flex-grow:1}}
.managed-header{align-items:flex-start}.managed-actions{align-self:flex-start}.applied-rule p{white-space:pre-line}
.mode-panel{padding:14px 20px;border:1px solid var(--line);background:#fff;border-radius:8px;margin-bottom:24px}.mode-panel p{margin:4px 0 12px}.workspace-nav{flex-wrap:wrap}.reference-panel{border-top:1px solid var(--line);padding:20px 0;margin-top:16px}.reference-panel>h4{font-size:17px;color:var(--ink);margin-bottom:12px}.reference-status{font-size:14px;font-weight:600;color:#3f6853;margin:8px 0 14px}.numerical-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.numerical-metric{background:#f4f8f6;border:1px solid #deebe3;padding:14px;border-radius:7px;min-width:0;overflow-wrap:anywhere}.metric-label{display:block;font-size:14px;color:#526b64;margin-bottom:8px}.numerical-value{font-size:20px;font-variant-numeric:tabular-nums;font-weight:600;color:#214e38;overflow-wrap:anywhere}.numerical-metric .help .numerical-value{font-size:14px;font-weight:400}.numerical-metric .help{font-size:13px;margin-bottom:0}.reference-held{color:#8a513c}.numerical-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.numerical-column{min-width:0}.numerical-column>h4{font-size:15px;margin-bottom:12px}.numerical-column .numerical-grid{grid-template-columns:1fr}.numerical-leg{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.numerical-leg>h3{font-size:19px}.sl-change{font-weight:600;color:#745035;font-size:14px;padding:10px;background:#faf5ed;border-radius:6px}.numerical-review{margin-top:20px}.numerical-review>h3{font-size:20px}.reference-panel details .numerical-grid{opacity:.72}#action-content>details{margin:20px 0}#action-content>details summary{cursor:pointer;font-weight:600;color:var(--green)}@media(max-width:800px){.numerical-grid{grid-template-columns:1fr 1fr}.numerical-columns{grid-template-columns:1fr}.workspace-nav{gap:14px 20px}}@media(max-width:450px){.numerical-grid{grid-template-columns:1fr}}
/* Compact entry flow and typed prices. Values remain in their original controls. */
.workspace-info,.workspace-menu{border:1px solid var(--line);border-radius:8px;background:#fff;margin-bottom:12px;padding:0 16px}
.workspace-info>summary,.workspace-menu>summary,.editor-tools>summary,.quote-options>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--green)}
.workspace-info>summary::before,.workspace-menu>summary::before,.editor-tools>summary::before,.quote-options>summary::before{content:'+';font-size:18px;min-width:14px}
.workspace-info[open]>summary::before,.workspace-menu[open]>summary::before,.editor-tools[open]>summary::before,.quote-options[open]>summary::before{content:'−'}
.workspace-info .notice{margin:4px 0 12px}.workspace-info .mode-panel{margin-bottom:16px}.workspace-menu .workspace-nav{margin:8px 0 16px}
.editor-navigation{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:20px 0 16px;background:var(--page,#f3f6f5);z-index:15}
#editor-tabs{display:flex;gap:4px;min-width:0;flex:1;scroll-margin-top:12px}
#editor-tabs button{min-height:44px;border:1px solid #cbd9d0;border-radius:7px;background:#fff;color:#405e50;font:inherit;font-size:14px;font-weight:600;padding:8px 14px}
#editor-tabs button[aria-selected=true]{background:var(--green);color:white;border-color:var(--green)}
.workspace[data-editor-step=review]{grid-template-columns:minmax(0,1fr);max-width:900px;margin-inline:auto}
.workspace[data-editor-step=review] #plan-form{display:none}
.editor-tools>summary{margin-bottom:12px}.editor-tools .card{margin-bottom:16px}
.price-entry{display:flex;gap:6px;align-items:center}.price-entry input{flex:1;width:0;min-width:0}.price-entry .price-picks{flex:0 0 88px;width:88px;font-size:14px;padding-left:9px}
.price-hint{font-size:12px;line-height:1.5;margin:6px 0 0}.quote-options{border:1px solid #dfE8e2;border-radius:7px;padding:0 12px;margin:12px 0}.quote-options>label{margin-top:6px}.quote-options summary{font-size:13px}
.mobile-editor-actions{display:none}.editor-navigation .text-button{white-space:nowrap}
@media(max-width:800px){
  main{padding:16px 12px 100px}.topbar{min-height:56px;padding:10px 12px;gap:8px}.brand{font-size:18px}.brand-mark{width:28px;height:28px}.top-meta{font-size:11px}
  .page-heading{gap:10px;margin-bottom:14px}.page-heading .eyebrow,.page-heading>.subtitle,.page-heading>div>.subtitle{display:none}.page-heading h1{font-size:27px;letter-spacing:-.6px;margin-bottom:0}.page-heading .button{min-height:44px}
  .workspace-info,.workspace-menu{padding-inline:12px;margin-bottom:8px}.workspace-info .notice{padding:12px}.workspace-nav{font-size:14px;gap:14px}
  .editor-navigation{position:sticky;top:0;display:block;margin:12px -2px;padding:8px 2px;border-bottom:1px solid var(--line);background:#f3f6f5}
  #editor-tabs{gap:3px}#editor-tabs button{flex:1;padding:8px 3px;font-size:12px;white-space:nowrap;min-width:0}#editor-layout{display:block;margin-left:auto;min-height:36px;font-size:12px}
  .workspace{gap:0}.card{padding:16px;margin-bottom:14px}.section-heading{gap:8px;margin-bottom:16px}.section-heading p,.leg-subtitle{font-size:13px}.section-heading .pill{font-size:11px}
  .fields{gap:12px;margin-bottom:12px}label{font-size:13px;margin-bottom:12px}input,select{font-size:16px;min-height:46px;padding:10px;margin-top:5px;max-width:100%}input[type=datetime-local]{min-inline-size:0;max-inline-size:100%}
  .price-quantity{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)!important}.price-entry .price-picks{flex-basis:84px;width:84px;padding-left:6px;padding-right:23px;font-size:16px;background-position:right 7px center}
  .rule-fields>.fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.subheading{margin:16px 0 8px;padding-top:14px}.subheading h3{font-size:16px}.subheading .pill{display:none}
  .target{padding:12px}.target-title{margin-bottom:10px}.help{font-size:13px;line-height:1.5}.sl-condition,.tp-condition{font-size:12px}.text-button{min-height:44px}.checkbox{min-height:44px}.checkbox input{width:22px;height:22px;flex-shrink:0}
  .mobile-editor-actions{position:fixed;left:0;right:0;bottom:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:#fffffff5;border-top:1px solid #cbd9d0;box-shadow:0 -3px 12px #233c3910;z-index:30;align-items:center;gap:8px}
  body.editor-in-view .mobile-editor-actions{display:flex}.mobile-editor-actions .button{min-height:46px}.mobile-editor-actions #editor-next{margin-left:auto;flex:1;max-width:220px}.mobile-editor-actions .help{margin:0;min-width:32px;text-align:center}
  .form-actions{margin-bottom:14px}.form-actions #preview{display:none}.review-card .review-leg{padding:12px 0}.review-leg p{margin:5px 0}.review-leg h3{font-size:15px}.review-limit{font-size:20px}
  .management-table{min-width:0;display:block}.management-table thead{display:none}.management-table tbody{display:grid;gap:12px}.management-table tr{display:block;border:1px solid var(--line);border-radius:8px;padding:12px}.management-table td{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:7px 0!important;border:0}.management-table td::before{content:attr(data-label);font-size:12px;color:var(--muted);flex:0 0 92px}.management-table td:first-child{font-weight:700;font-size:16px}.management-table td:first-child::before{display:none}.management-table td:last-child{display:block}.management-table td:last-child::before{display:none}.management-table .leg-actions{margin-top:6px}.management-table .button{min-height:44px;padding:10px 12px}.status-detail{max-width:180px}
  dialog{width:calc(100% - 16px);max-height:calc(100dvh - 24px);padding:18px 16px}.dialog-heading{position:sticky;top:-18px;background:white;padding:12px 0;margin-bottom:12px;z-index:2}.dialog-heading h2{font-size:20px}dialog>.button.primary{position:sticky;bottom:-18px;margin-top:12px;min-height:48px;box-shadow:0 -8px 12px white}.numerical-grid{gap:8px}
}
.phone-label{display:none}
@media(max-width:800px){
  main>.page-heading{flex-direction:row;align-items:center;gap:10px}main>.page-heading h1{font-size:24px;max-width:230px;line-height:1.2}
  #sample{flex-shrink:0;font-size:13px;padding:8px 12px}.wide-label{display:none}.phone-label{display:inline}
  .workspace-menu,.workspace-info{display:inline-block;width:calc(50% - 4px);vertical-align:top;margin-bottom:8px;padding-inline:8px}.workspace-menu{margin-right:4px}.workspace-menu[open],.workspace-info[open]{width:100%;margin-right:0}
  .workspace-menu>summary,.workspace-info>summary{font-size:12px;gap:4px}
  #shared-setup>.fields.three{grid-template-columns:repeat(2,minmax(0,1fr))}#shared-setup>.fields.three>label:last-child{grid-column:1/-1}
  #shared-setup>.fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}#shared-setup>.setup-options{grid-template-columns:1fr}
  #editor-top{scroll-margin-top:0}#plan-form input,#plan-form select{scroll-margin-top:110px}
}

.auth-panel{max-width:600px;margin:32px auto;padding:24px}.auth-panel h1{font-size:30px;letter-spacing:-.6px}#sign-out{margin:16px 4% 0}@media(max-width:640px){.auth-panel{margin:24px 16px}.auth-panel h1{font-size:26px}}
