/* Desking worksheet embed. HAND-AUTHORED to the pricing-page DNA
   (content/new-pages/DESIGN_STANDARDS.md). [REDESIGN 2026-08-17]
   Worksheet layout: deal structure, payment options matrix, deal summary,
   with a state selector driving the tax rules. The importer regenerates the
   fragment and JS but NEVER this file. Markup lives in the tool source at
   /home/leadlo5/tools.leadlocate.com/free/desking-tool/. styles.css over
   there is generated from this file: the EMBED-ONLY block is swapped for
   standalone page chrome and the #lldt-embed prefix becomes #mainContainer. */

/* EMBED-ONLY-START */
#lldt-embed{
  display:block;width:100%;max-width:1240px;margin:0 auto;padding:48px 20px 0;
  font-family:Rubik,Arial,sans-serif;font-size:16px;line-height:1.6;color:#33434e;
  box-sizing:border-box;background:transparent;
}
#lldt-embed::after{
  content:'';display:block;height:1px;background:#e3e9ed;margin:56px 0 0;
}
#lldt-embed #mainContainer{position:static;display:block;width:auto;height:auto;overflow:visible;background:none;border:0;border-radius:0;box-shadow:none;margin:0;padding:0;max-width:none;min-width:0}
#lldt-embed #mainContainer::before,#lldt-embed #mainContainer::after{content:none}
#lldt-embed header{background:none;border:0;border-radius:0;box-shadow:none;padding:0;margin:0 0 22px;text-align:left;font-size:16px;letter-spacing:0}
#lldt-embed main{display:block;padding:0;margin:0}
#lldt-embed footer{background:none;border:0;padding:0;margin:0}
#lldt-embed .lldt-h1{margin:0 0 6px;font-size:25px;line-height:31px;font-weight:600;color:#20303c;letter-spacing:0;text-transform:none}
/* EMBED-ONLY-END */

#lldt-embed *,#lldt-embed *::before,#lldt-embed *::after{box-sizing:border-box}
#lldt-embed .lldt-sub{margin:0;font-size:16px;line-height:1.65;color:#5b6b76;max-width:760px}

/* ------------------------------------------------------------- toolbar --- */
#lldt-embed .lldt-toolbar{
  display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;
  background:#fff;border:1px solid #e3e9ed;border-radius:14px;
  padding:14px 18px;margin:0 0 20px;box-shadow:0 1px 3px rgba(0,0,0,.04);
}
#lldt-embed .lldt-modes{display:inline-flex;background:#f5f8f6;border:1px solid #e3e9ed;border-radius:50px;padding:3px;gap:3px}
#lldt-embed .lldt-mode{
  border:0;background:transparent;border-radius:50px;cursor:pointer;margin:0;width:auto;
  font-family:Rubik,Arial,sans-serif;font-size:14.5px;font-weight:600;color:#5b6b76;
  padding:8px 22px;line-height:1.3;transition:background .15s ease,color .15s ease;box-shadow:none;
}
#lldt-embed .lldt-mode:hover{color:#20303c}
#lldt-embed .lldt-mode.is-on{background:#259457;color:#fff}
#lldt-embed .lldt-statebox{display:inline-flex;align-items:center;gap:10px}
#lldt-embed .lldt-statebox label{margin:0;font-size:14px;font-weight:600;color:#33434e;white-space:nowrap}
#lldt-embed .lldt-statebox select{
  width:auto;min-width:190px;margin:0;padding:9px 34px 9px 12px;height:auto;
  border:1px solid #d9e1e6;border-radius:8px;background:#fff;box-shadow:none;
  font-family:Rubik,Arial,sans-serif;font-size:15px;font-weight:500;color:#20303c;outline:none;
  appearance:none;-webkit-appearance:none;-moz-appearance:none;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235b6b76' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 12px center;
  transition:border-color .15s ease,box-shadow .15s ease;
}
#lldt-embed .lldt-statebox select:focus{border-color:#259457;box-shadow:0 0 0 3px rgba(37,148,87,.14)}
#lldt-embed .lldt-chips{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}
#lldt-embed .lldt-chip{
  display:inline-block;padding:4px 13px;border-radius:50px;white-space:nowrap;
  font-size:12.5px;font-weight:600;line-height:1.5;letter-spacing:.01em;
  background:#e9f5ee;color:#1d7a48;border:1px solid #cdeadb;
}
#lldt-embed .lldt-chip-rate{background:#259457;color:#fff;border-color:#259457}
#lldt-embed .lldt-chip-warn{background:#fdf5e4;color:#9a6800;border-color:#f0d9a6}

/* ------------------------------------------------------ worksheet layout --- */
#lldt-embed .lldt-work{
  display:grid;gap:20px;align-items:start;
  grid-template-columns:minmax(280px,6fr) minmax(400px,10fr) minmax(270px,6fr);
  grid-template-areas:"structure options summary";
}
#lldt-embed .lldt-structure{grid-area:structure}
#lldt-embed .lldt-options{grid-area:options}
#lldt-embed .lldt-summary{grid-area:summary}
#lldt-embed .lldt-panel{
  background:#fff;border:1px solid #e3e9ed;border-radius:14px;
  padding:20px 20px 18px;box-shadow:0 1px 3px rgba(0,0,0,.04);min-width:0;
}
#lldt-embed .lldt-panel-title{
  margin:0 0 14px;font-size:18px;line-height:24px;font-weight:600;color:#20303c;
  letter-spacing:0;text-transform:none;
}
#lldt-embed .lldt-work[data-mode=finance] [data-show=lease]{display:none}
#lldt-embed .lldt-work[data-mode=lease] [data-show=finance]{display:none}
#lldt-embed .lldt-work[data-mode=finance] .lldt-cap{display:none}

/* ------------------------------------------------------- structure panel --- */
#lldt-embed .lldt-group{background:#f5f8f6;border:1px solid #e3e9ed;border-radius:10px;padding:12px 14px;margin:0 0 12px}
#lldt-embed .lldt-group:last-child{margin-bottom:0}
#lldt-embed .lldt-group-title{font-size:12.5px;font-weight:700;color:#5b6b76;letter-spacing:.03em;margin:0 0 10px;text-transform:uppercase}
#lldt-embed .lldt-row{display:flex;align-items:center;gap:10px;margin:0 0 9px}
#lldt-embed .lldt-row:last-child{margin-bottom:0}
#lldt-embed .lldt-row>label{
  flex:1.3;margin:0;font-size:14px;font-weight:500;color:#33434e;line-height:1.45;
  display:inline-flex;align-items:center;gap:7px;white-space:normal;
}
#lldt-embed .lldt-money{
  flex:1;display:flex;align-items:center;min-width:0;background:#fff;
  border:1px solid #d9e1e6;border-radius:8px;padding:0 10px;
  transition:border-color .15s ease,box-shadow .15s ease;
}
#lldt-embed .lldt-money:focus-within{border-color:#259457;box-shadow:0 0 0 3px rgba(37,148,87,.14)}
#lldt-embed .lldt-money>span{flex:0 0 auto;font-size:13.5px;font-weight:500;color:#9aa7b0}
#lldt-embed .lldt-money input{
  flex:1;width:100%;min-width:0;border:0;outline:none;background:none;margin:0;height:auto;
  padding:9px 0 9px 6px;text-align:right;box-shadow:none;
  font-family:Rubik,Arial,sans-serif;font-size:15px;font-weight:500;color:#20303c;
}
#lldt-embed .lldt-pct-input input{padding:9px 6px 9px 0}
#lldt-embed .lldt-row select{
  flex:1;width:auto;min-width:0;margin:0;padding:9px 30px 9px 10px;height:auto;
  border:1px solid #d9e1e6;border-radius:8px;background:#fff;box-shadow:none;outline:none;
  font-family:Rubik,Arial,sans-serif;font-size:14px;font-weight:500;color:#20303c;
  appearance:none;-webkit-appearance:none;-moz-appearance:none;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235b6b76' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 10px center;
  transition:border-color .15s ease,box-shadow .15s ease;
}
#lldt-embed .lldt-row select:focus{border-color:#259457;box-shadow:0 0 0 3px rgba(37,148,87,.14)}
#lldt-embed .lldt-check{
  display:flex;align-items:center;gap:8px;margin:8px 0 0;cursor:pointer;
  font-size:13.5px;font-weight:500;color:#33434e;line-height:1.5;
}
#lldt-embed input[type=checkbox]{flex:0 0 auto;width:16px;height:16px;margin:0;accent-color:#259457;cursor:pointer}
#lldt-embed .lldt-check input:disabled{opacity:.45}
#lldt-embed .lldt-badge{
  display:inline-block;padding:1px 9px;border-radius:50px;font-size:11px;font-weight:700;
  letter-spacing:.04em;text-transform:uppercase;background:#e9f5ee;color:#1d7a48;
}
#lldt-embed .lldt-badge.is-custom{background:#fdf5e4;color:#9a6800}
#lldt-embed .lldt-equity{margin:8px 2px 0;font-size:13.5px;color:#5b6b76}
#lldt-embed .lldt-equity b{font-weight:700}
#lldt-embed .lldt-equity b.is-pos{color:#1d7a48}
#lldt-embed .lldt-equity b.is-neg{color:#d00808}
#lldt-embed .lldt-resid-quick{display:flex;align-items:center;gap:7px;margin:9px 0 0;flex-wrap:wrap}
#lldt-embed .lldt-pct{
  border:1.5px solid #cdeadb;background:#fff;color:#1d7a48;border-radius:50px;cursor:pointer;
  font-family:Rubik,Arial,sans-serif;font-size:13px;font-weight:600;padding:5px 13px;margin:0;width:auto;
  line-height:1.3;transition:background .15s ease,color .15s ease,border-color .15s ease;box-shadow:none;
}
#lldt-embed .lldt-pct:hover{border-color:#259457}
#lldt-embed .lldt-pct.is-on{background:#259457;border-color:#259457;color:#fff}
#lldt-embed .lldt-pct-note{font-size:12.5px;color:#9aa7b0}

/* dynamic fee and product rows */
#lldt-embed .lldt-dynrow{display:flex;flex-wrap:wrap;align-items:center;gap:7px 9px;margin:0 0 9px}
#lldt-embed .lldt-dynrow input.lldt-dyn-name{
  flex:1.5 1 110px;min-width:0;margin:0;height:auto;padding:8px 10px;box-shadow:none;
  border:1px solid #d9e1e6;border-radius:8px;background:#fff;outline:none;text-align:left;
  font-family:Rubik,Arial,sans-serif;font-size:14px;font-weight:400;color:#20303c;
  transition:border-color .15s ease,box-shadow .15s ease;
}
#lldt-embed .lldt-dynrow input.lldt-dyn-name:focus{border-color:#259457;box-shadow:0 0 0 3px rgba(37,148,87,.14)}
#lldt-embed .lldt-dynrow .lldt-dyn-amt{flex:1 1 86px}
#lldt-embed .lldt-dynrow .lldt-dyn-amt input{padding:8px 0 8px 5px;font-size:14px}
#lldt-embed .lldt-mini{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;margin:0;cursor:pointer;
  font-size:12.5px;font-weight:500;color:#5b6b76;white-space:nowrap;line-height:1.4;
}
#lldt-embed .lldt-mini input{width:14px;height:14px}
#lldt-embed .lldt-x{
  flex:0 0 auto;border:0;background:none;cursor:pointer;margin:0 0 0 auto;width:26px;height:26px;
  border-radius:50%;padding:0;line-height:1;font-size:17px;color:#9aa7b0;box-shadow:none;
  font-family:Rubik,Arial,sans-serif;transition:color .15s ease,background .15s ease;
}
#lldt-embed .lldt-x:hover{color:#de0000;background:#fdeaea}
#lldt-embed .lldt-add{
  display:inline-block;margin:3px 0 0;background:transparent;color:#259457;width:auto;
  border:1.5px solid #259457;border-radius:50px;padding:6px 18px;cursor:pointer;box-shadow:none;
  font-family:Rubik,Arial,sans-serif;font-size:13.5px;font-weight:600;line-height:1.4;
  transition:background .15s ease,color .15s ease;
}
#lldt-embed .lldt-add:hover{background:#259457;color:#fff}

/* -------------------------------------------------- payment options grid --- */
#lldt-embed .lldt-hint{margin:0 0 14px;font-size:13.5px;line-height:1.6;color:#5b6b76}
/* scroll shadows hint at the hidden columns when the matrix must scroll */
#lldt-embed .lldt-gridwrap{
  overflow-x:auto;margin:0 -2px;padding:2px;
  background:
    linear-gradient(90deg,#fff 40%,rgba(255,255,255,0)) left/32px 100% no-repeat local,
    linear-gradient(270deg,#fff 40%,rgba(255,255,255,0)) right/32px 100% no-repeat local,
    linear-gradient(90deg,rgba(32,48,60,.16),rgba(32,48,60,0)) left/14px 100% no-repeat scroll,
    linear-gradient(270deg,rgba(32,48,60,.16),rgba(32,48,60,0)) right/14px 100% no-repeat scroll;
}
#lldt-embed .lldt-grid{
  display:grid;gap:7px;min-width:398px;
  grid-template-columns:minmax(114px,1.15fr) repeat(3,minmax(84px,1fr));
}
#lldt-embed .lldt-g-corner{
  display:flex;align-items:center;justify-content:center;border-radius:9px;
  background:#1d7a48;color:#fff;font-size:13px;font-weight:700;letter-spacing:.04em;
  text-transform:uppercase;padding:8px;
}
#lldt-embed .lldt-g-down{background:#1d7a48;border-radius:9px;padding:6px;display:flex;align-items:center}
#lldt-embed .lldt-g-down .lldt-money{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.35);padding:0 7px}
#lldt-embed .lldt-g-down .lldt-money>span{color:rgba(255,255,255,.75);font-size:12.5px}
#lldt-embed .lldt-g-down .lldt-money input{color:#fff;font-weight:600;padding:7px 0 7px 4px;font-size:14px}
#lldt-embed .lldt-g-down .lldt-money:focus-within{border-color:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.22)}
#lldt-embed .lldt-g-term{
  display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;min-width:0;
  background:#f5f8f6;border:1px solid #e3e9ed;border-radius:9px;padding:8px 10px;
}
#lldt-embed .lldt-g-term input{
  width:48px;margin:0;height:auto;padding:5px 4px;box-shadow:none;text-align:center;
  border:1px solid #d9e1e6;border-radius:7px;background:#fff;outline:none;
  font-family:Rubik,Arial,sans-serif;font-size:13.5px;font-weight:600;color:#20303c;
  transition:border-color .15s ease,box-shadow .15s ease;
}
#lldt-embed .lldt-g-term input:focus{border-color:#259457;box-shadow:0 0 0 3px rgba(37,148,87,.14)}
#lldt-embed .lldt-g-term input[data-rate]{width:58px}
#lldt-embed .lldt-g-term input[data-mf]{width:72px}
#lldt-embed .lldt-g-lbl{font-size:11.5px;font-weight:600;color:#5b6b76;white-space:nowrap}
#lldt-embed .lldt-g-lbl em{font-style:normal;color:#9aa7b0;font-weight:500}
#lldt-embed .lldt-cell{
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:1px;margin:0;width:auto;min-height:62px;cursor:pointer;box-shadow:none;
  background:#fff;border:1.5px solid #e3e9ed;border-radius:9px;padding:9px 6px;
  font-family:Rubik,Arial,sans-serif;
  transition:border-color .15s ease,background .15s ease,transform .12s ease;
}
#lldt-embed .lldt-cell:hover{border-color:#259457;transform:translateY(-1px)}
#lldt-embed .lldt-cell.is-on{background:#e9f5ee;border-color:#259457;border-width:2px}
#lldt-embed .lldt-cell-pay{font-size:17.5px;font-weight:600;color:#20303c;line-height:1.2}
#lldt-embed .lldt-cell.is-on .lldt-cell-pay{color:#1d7a48;font-weight:700}
#lldt-embed .lldt-cell-mo{font-size:11px;font-weight:500;color:#9aa7b0;line-height:1.2}
#lldt-embed .lldt-cell.is-on .lldt-cell-mo{color:#1d7a48}
#lldt-embed .lldt-tick{
  position:absolute;top:5px;right:5px;width:16px;height:16px;border-radius:50%;
  background:#259457;color:#fff;font-size:10px;line-height:16px;text-align:center;font-weight:700;
}
#lldt-embed .lldt-tick::before{content:'\2713'}
#lldt-embed .lldt-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 0}
#lldt-embed .lldt-btn{
  border-radius:50px;cursor:pointer;margin:0;width:auto;box-shadow:none;line-height:1.4;
  font-family:Rubik,Arial,sans-serif;font-size:14.5px;font-weight:600;padding:10px 24px;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
#lldt-embed .lldt-btn-solid{background:#259457;border:1.5px solid #259457;color:#fff}
#lldt-embed .lldt-btn-solid:hover{background:#1d7a48;border-color:#1d7a48}
#lldt-embed .lldt-btn-ghost{background:transparent;border:1.5px solid #cfd9df;color:#5b6b76}
#lldt-embed .lldt-btn-ghost:hover{border-color:#5b6b76;color:#20303c}
#lldt-embed .lldt-statenote{background:#f5f8f6;border:1px solid #e3e9ed;border-radius:10px;padding:13px 16px;margin:16px 0 0}
#lldt-embed .lldt-note-title{font-size:13.5px;font-weight:700;color:#20303c;margin:0 0 7px}
#lldt-embed .lldt-statenote ul{margin:0;padding:0 0 0 18px}
#lldt-embed .lldt-statenote li{font-size:13px;line-height:1.6;color:#5b6b76;margin:0 0 4px}
#lldt-embed .lldt-statenote li::marker{color:#259457}

/* ---------------------------------------------------------- deal summary --- */
#lldt-embed .lldt-hero{
  background:linear-gradient(135deg,#1d7a48,#259457);border-radius:12px;
  padding:18px 18px 16px;margin:0 0 14px;color:#fff;
}
#lldt-embed .lldt-hero-pay{display:flex;align-items:baseline;gap:5px}
#lldt-embed .lldt-hero-pay>span:first-child{font-size:31px;font-weight:700;line-height:1.15;letter-spacing:-.01em}
#lldt-embed .lldt-hero-mo{font-size:14px;font-weight:500;opacity:.85}
#lldt-embed .lldt-hero-meta{margin:5px 0 0;font-size:13px;font-weight:500;opacity:.92;line-height:1.5}
#lldt-embed .lldt-sline{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:7px 2px;border-bottom:1px solid #eef2f5;font-size:14px;color:#33434e;
}
#lldt-embed .lldt-sline>span:first-child{color:#5b6b76;font-weight:500}
#lldt-embed .lldt-sline>span:last-child{color:#20303c;font-weight:600;white-space:nowrap}
#lldt-embed .lldt-sline.is-strong{border-top:2px solid #cdeadb;border-bottom:1px solid #cdeadb;background:#f7fbf8}
#lldt-embed .lldt-sline.is-strong>span{color:#1d7a48;font-weight:700}
#lldt-embed .lldt-due{margin:14px 0 0}
#lldt-embed .lldt-due-card{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  background:#e9f5ee;border:2px solid #259457;border-radius:10px;padding:12px 14px;
  font-size:15px;font-weight:700;color:#1d7a48;
}
#lldt-embed .lldt-due-card>span:last-child{font-size:19px}
#lldt-embed .lldt-due-card.is-lease{background:#fdf5e4;border-color:#de9600;color:#9a6800}
#lldt-embed .lldt-due-note{margin:7px 2px 0;font-size:12.5px;color:#9aa7b0;line-height:1.5}

/* -------------------------------------------------------------- tooltips --- */
#lldt-embed .lldt-info{
  display:inline-block;position:relative;width:17px;height:17px;flex:0 0 auto;
  background:#e9f5ee;border-radius:50%;cursor:pointer;vertical-align:middle;
  transition:background .15s ease;
}
#lldt-embed .lldt-info::before{content:'i';display:block;font:italic 700 11px/17px Georgia,'Times New Roman',serif;color:#259457;text-align:center}
#lldt-embed .lldt-info:hover,#lldt-embed .lldt-info:focus{background:#cdeadb;outline:none}
#lldt-embed .lldt-info[data-tip]:hover::after,
#lldt-embed .lldt-info[data-tip]:focus::after{
  content:attr(data-tip);position:absolute;left:0;bottom:135%;
  background:#20303c;color:#fff;padding:9px 13px;border-radius:8px;
  font:400 12.5px/1.55 Rubik,Arial,sans-serif;text-align:left;
  min-width:190px;max-width:260px;z-index:9999;box-shadow:0 4px 14px rgba(0,0,0,.18);
  pointer-events:none;
}

/* ------------------------------------------------------------ disclaimer --- */
#lldt-embed .disclaimer{margin:24px auto 0;padding:0;max-width:860px;font-size:13px;line-height:1.65;color:#5b6b76;text-align:center;letter-spacing:0}

/* ------------------------------------------------------------- responsive --- */
@media (max-width:1150px){
  #lldt-embed .lldt-work{
    grid-template-columns:minmax(280px,5fr) minmax(300px,6fr);
    grid-template-areas:"structure options" "structure summary";
  }
}
@media (max-width:820px){
  #lldt-embed .lldt-work{grid-template-columns:1fr;grid-template-areas:"structure" "options" "summary"}
  #lldt-embed .lldt-chips{margin-left:0}
}
@media (max-width:600px){
  #lldt-embed{padding:32px 12px 0;font-size:15.5px}
  #lldt-embed .lldt-h1{font-size:22px;line-height:28px}
  #lldt-embed .lldt-panel{padding:16px 14px 14px}
  #lldt-embed .lldt-toolbar{padding:12px 14px}
  #lldt-embed .lldt-modes{width:100%}
  #lldt-embed .lldt-mode{flex:1;text-align:center}
  #lldt-embed .lldt-statebox{width:100%}
  #lldt-embed .lldt-statebox select{flex:1;min-width:0}
  #lldt-embed .lldt-row{flex-wrap:wrap}
  #lldt-embed .lldt-row>label{flex:1 1 100%}
  #lldt-embed .lldt-row .lldt-money,#lldt-embed .lldt-row select{flex:1 1 100%}
  #lldt-embed .lldt-row select{width:100%}
  /* Dynamic fee/product rows: name on its own line, then amount + toggles +
     remove on the second line so nothing crowds on a narrow phone. */
  #lldt-embed .lldt-dynrow input.lldt-dyn-name{flex:1 1 100%}
  #lldt-embed .lldt-dynrow .lldt-dyn-amt{flex:1 1 auto}
  #lldt-embed .lldt-hero-pay>span:first-child{font-size:27px}
  #lldt-embed .lldt-btn{flex:1;text-align:center}
  #lldt-embed .lldt-info[data-tip]:hover::after,
  #lldt-embed .lldt-info[data-tip]:focus::after{min-width:150px;max-width:62vw}
}