/* Desking tool embed — HAND-AUTHORED to the pricing-page DNA
   (content/new-pages/DESIGN_STANDARDS.md). [DESIGN 2026-07-10]
   The importer (tools/import-native-tools.php) regenerates the fragment and
   JS but NEVER this file. Markup ids/classes come from the tool source at
   /home/leadlo5/tools.leadlocate.com/free/desking-tool/. */

#lldt-embed{
  --primary:#259457;
  display:block;width:100%;max-width:1170px;margin:0 auto;padding:48px 20px 0;
  font-family:Rubik,Arial,sans-serif;font-size:16px;line-height:1.7;color:#33434e;
  box-sizing:border-box;background:transparent;
}
/* Hairline divider between the tool and the next page section
   (same transition treatment as the other native tool embeds). */
#lldt-embed::after{
  content:'';display:block;height:1px;background:#e3e9ed;margin:56px 0 0;
}
#lldt-embed *,#lldt-embed *::before,#lldt-embed *::after{box-sizing:border-box}

/* --- structure resets (the old standalone app chrome goes away) --- */
#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}
#lldt-embed header{background:none;border:0;border-radius:0;box-shadow:none;padding:0;margin:0 0 26px;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}

/* --- headings: site H2 scale, mixed case --- */
#lldt-embed .lldt-h1{margin:0;font-size:25px;line-height:31px;font-weight:600;color:#20303c;letter-spacing:0}
#lldt-embed .deal-card h2{
  display:flex;align-items:center;gap:8px;margin:0 0 18px;
  font-size:20px;line-height:26px;font-weight:600;color:#20303c;letter-spacing:0;text-transform:none;
}
/* emoji icons read as leftover app chrome next to the site's clean type — drop them */
#lldt-embed .deal-card h2 .icon{display:none}
#lldt-embed .deal-details-card h3{margin:0 0 14px;font-size:20px;line-height:26px;font-weight:600;color:#20303c;letter-spacing:0;text-transform:none}

/* --- the two calculators: form card + live details card, side by side --- */
#lldt-embed .deal-section{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;margin:0 0 44px}
#lldt-embed .deal-section:last-of-type{margin-bottom:0}
#lldt-embed .deal-card,
#lldt-embed .deal-details-card{
  display:block;min-width:0;background:#fff;border:1px solid #e3e9ed;border-radius:12px;
  padding:26px 26px 22px;box-shadow:0 1px 3px rgba(0,0,0,.04);margin:0;
}

/* --- form panels: soft sections inside the form card --- */
#lldt-embed .deal-form{display:block;margin:0}
#lldt-embed .form-section{
  background:#f5f8f6;border:1px solid #e3e9ed;border-radius:10px;
  padding:14px 16px 6px;margin:0 0 14px;display:block;
}
#lldt-embed .form-section-title{font-size:13px;font-weight:700;color:#5b6b76;letter-spacing:.02em;margin:0 0 10px;text-transform:none}
#lldt-embed .form-row{display:flex;align-items:center;gap:10px;margin:0 0 10px}
#lldt-embed .form-row label{
  flex:1.4;margin:0;font-size:14px;font-weight:500;color:#33434e;line-height:1.45;
  display:flex;align-items:center;gap:8px;white-space:normal;
}
#lldt-embed input[type=text],
#lldt-embed input[type=number],
#lldt-embed select{
  flex:1;width:auto;min-width:0;padding:9px 12px;border:1px solid #d9e1e6;border-radius:7px;
  font-family:Rubik,Arial,sans-serif;font-size:15px;color:#20303c;background:#fff;text-align:right;
  outline:none;transition:border-color .15s ease,box-shadow .15s ease;height:auto;margin:0;
  box-shadow:none;
}
#lldt-embed select{text-align:left}
#lldt-embed input:focus,#lldt-embed select:focus{border-color:#259457;box-shadow:0 0 0 3px rgba(37,148,87,.14)}
#lldt-embed input::placeholder{color:#9aa7b0;opacity:1}
#lldt-embed input[type=checkbox]{flex:0 0 auto;width:16px;height:16px;margin:0;accent-color:#259457}
#lldt-embed input.invalid{border-color:#de0000;box-shadow:0 0 0 3px rgba(222,0,0,.10)}

/* --- dynamic fee/product rows --- */
#lldt-embed .dynamic-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0 0 10px}
#lldt-embed .dynamic-row input[type=text]{flex:1.6 1 110px;text-align:left}
#lldt-embed .dynamic-row input[type=number]{flex:1 1 90px}
/* lease rows carry a second (Capitalize) checkbox and can't fit one line:
   wrap deliberately — name on its own line, amount + toggles + Remove below */
#lldt-embed .dynamic-row:has(.capitalize-label) input[type=text]{flex:1 1 100%}
#lldt-embed .dynamic-row .remove-btn{margin-left:auto}
#lldt-embed .dynamic-row label{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;margin:0;
  font-size:13.5px;font-weight:500;color:#5b6b76;white-space:nowrap;
}
#lldt-embed .dynamic-row .capitalize-label{margin:0}
#lldt-embed .remove-btn{
  flex:0 0 auto;background:none;border:0;cursor:pointer;font-size:13.5px;font-weight:500;
  color:#5b6b76;padding:4px 8px;border-radius:6px;line-height:1.3;margin:0;width:auto;
  transition:color .15s ease,background .15s ease;font-family:Rubik,Arial,sans-serif;
}
#lldt-embed .remove-btn:hover{color:#de0000;background:#fdeaea}

/* add fee/product: site ghost button, small */
#lldt-embed .add-btn{
  display:inline-block;margin:2px 0 10px;background:transparent;color:#259457;
  border:2px solid #259457;border-radius:50px;padding:7px 20px;width:auto;
  font-family:Rubik,Arial,sans-serif;font-size:14px;font-weight:500;cursor:pointer;line-height:1.4;
  transition:background .15s ease,color .15s ease;
}
#lldt-embed .add-btn:hover{background:#259457;color:#fff}

/* --- live deal details --- */
#lldt-embed .details-row{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:7px 0;margin:0;border-bottom:1px solid #eef2f5;font-size:15px;color:#33434e;min-height:0;
}
#lldt-embed .details-row>span:first-child{color:#5b6b76;font-weight:500}
#lldt-embed .details-row>span:last-child{color:#20303c;font-weight:500;white-space:nowrap}
#lldt-embed .details-row:last-child{border-bottom:0}
/* the payment line is the number that matters: highlight card */
#lldt-embed .details-row.total{
  background:#e9f5ee;border:2px solid #259457;border-radius:10px;
  padding:12px 14px;margin:12px 0;font-size:17px;
}
#lldt-embed .details-row.total>span:first-child{color:#1d7a48;font-weight:700}
#lldt-embed .details-row.total>span:last-child{color:#1d7a48;font-weight:700;font-size:20px}
#lldt-embed .details-row.due{
  background:#fdf5e4;border:1px solid #de9600;border-radius:10px;
  padding:11px 14px;margin:12px 0 0;font-size:16px;
}
#lldt-embed .details-row.due>span:first-child{color:#9a6800;font-weight:700}
#lldt-embed .details-row.due>span:last-child{color:#9a6800;font-weight:700;font-size:18px}

/* --- info tooltips (original tool CSS is not loaded natively — recreate) ---
   The markup's ℹ️ emoji ignores CSS color and reads as a blue square; zero it
   out and draw a typographic "i" badge instead. */
#lldt-embed .info-icon{
  display:inline-block;position:relative;width:18px;height:18px;
  font-size:0;text-align:center;background:#e9f5ee;border-radius:50%;
  cursor:pointer;margin-left:5px;vertical-align:middle;transition:background .15s ease;
}
#lldt-embed .info-icon::before{content:'i';display:block;font:italic 700 12px/18px Georgia,'Times New Roman',serif;color:#259457}
#lldt-embed .info-icon:hover,#lldt-embed .info-icon:focus{background:#cdeadb}
#lldt-embed .info-icon:hover::before,#lldt-embed .info-icon:focus::before{color:#1d7a48}
#lldt-embed .info-icon[data-tooltip]::after{content:'';opacity:0;pointer-events:none}
#lldt-embed .info-icon[data-tooltip]:hover::after,
#lldt-embed .info-icon[data-tooltip]:focus::after{
  content:attr(data-tooltip);position:absolute;left:50%;bottom:130%;transform:translateX(-50%);
  background:#20303c;color:#fff;padding:9px 13px;border-radius:8px;
  font-size:13px;font-weight:400;line-height:1.5;white-space:pre-line;text-align:left;
  min-width:200px;max-width:300px;z-index:9999;box-shadow:0 4px 14px rgba(0,0,0,.18);
  pointer-events:none;opacity:1;
}
/* details rows sit near the card's right edge — keep tooltips inside the card */
#lldt-embed .details-row .info-icon[data-tooltip]:hover::after,
#lldt-embed .details-row .info-icon[data-tooltip]:focus::after{left:auto;right:-10px;transform:none}

/* --- disclaimer --- */
#lldt-embed .disclaimer{margin:26px 0 0;padding:0;font-size:13.5px;color:#5b6b76;text-align:center;letter-spacing:0}

/* --- mobile --- */
@media (max-width:900px){
  #lldt-embed .deal-section{grid-template-columns:1fr;gap:16px;margin-bottom:36px}
  #lldt-embed .deal-card,#lldt-embed .deal-details-card{padding:20px 16px 16px}
  #lldt-embed .form-row{flex-direction:column;align-items:stretch;gap:5px}
  #lldt-embed .form-row label{flex:none}
  /* checkbox rows stay one line */
  #lldt-embed .form-row label:only-child{flex-direction:row}
  #lldt-embed input[type=text],#lldt-embed input[type=number],#lldt-embed select{width:100%;text-align:left}
  #lldt-embed .dynamic-row input[type=text]{flex:1 1 100%}
  #lldt-embed .dynamic-row input[type=number]{flex:1 1 55%}
  #lldt-embed .info-icon[data-tooltip]:hover::after,
  #lldt-embed .info-icon[data-tooltip]:focus::after{min-width:160px;max-width:70vw}
}
@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 .deal-card h2,#lldt-embed .deal-details-card h3{font-size:18px;line-height:24px}
  #lldt-embed .add-btn{width:100%;text-align:center}
  #lldt-embed .details-row{font-size:14.5px}
}
