/* Build A00049-A00055: customer-facing mobile UX polish. Admin pages intentionally excluded. */
:root{
  --yitm-mobile-green:#078a52;
  --yitm-mobile-dark:#064e35;
  --yitm-mobile-ink:#13231c;
  --yitm-mobile-cream:#f8f5ee;
  --yitm-mobile-line:#dfd8cc;
  --yitm-mobile-muted:#5e6f66;
  --yitm-mobile-amber:#f1a33a;
  --yitm-mobile-safe-bottom:env(safe-area-inset-bottom,0px);
}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
body{min-width:0;overflow-x:hidden;}
img,svg,video,canvas{max-width:100%;height:auto;}
a,button,input,select,textarea{font:inherit;}
input,select,textarea,button{font-size:16px;}
button,.btn,[role="button"],input[type="submit"],input[type="button"]{min-height:44px;touch-action:manipulation;-webkit-tap-highlight-color:rgba(7,138,82,.18);}
input,select,textarea{max-width:100%;}
textarea{resize:vertical;}
:focus-visible{outline:3px solid rgba(7,138,82,.35);outline-offset:3px;}
.wrap,.shell,.container,main,section,.card,.hero,.doc,.inner{max-width:100%;}
.card,.hero,.box,.panel,.doc,.choice,.step,.trust-card,.status-tile,.timeline-step{overflow-wrap:anywhere;}
.table-wrap,.table-responsive{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
table{max-width:100%;}
.yitm-swipe-hint{display:none;margin:8px 0 0;color:var(--yitm-mobile-muted);font-size:13px;font-weight:800;}
.yitm-mobile-dock{display:none;}
.yitm-copy-toast{position:fixed;left:50%;bottom:calc(86px + var(--yitm-mobile-safe-bottom));transform:translateX(-50%);z-index:9999;background:#13231c;color:#fff;border-radius:999px;padding:10px 14px;font-weight:900;box-shadow:0 12px 34px rgba(0,0,0,.24);}
@media(max-width:860px){
  body{font-size:16px;line-height:1.5;padding-bottom:calc(82px + var(--yitm-mobile-safe-bottom));}
  .wrap,.shell,.container{width:100%!important;margin-left:auto!important;margin-right:auto!important;padding-left:14px!important;padding-right:14px!important;}
  .top,.topbar-inner,.doc-head,.two-col,.grid,.grid.two,.meta,.sign-grid,.summary,.status-grid,.trust-grid{grid-template-columns:1fr!important;}
  .top,.brand,.logo-card,.topbar-inner,.doc-head,.two-col{flex-wrap:wrap;}
  .topbar .wrap,.topbar-inner{gap:8px!important;}
  h1{font-size:clamp(1.9rem,9vw,2.7rem)!important;line-height:1.05!important;}
  h2{font-size:clamp(1.35rem,6vw,1.9rem)!important;line-height:1.15!important;}
  h3{font-size:clamp(1.1rem,5vw,1.35rem)!important;}
  p,li{line-height:1.55;}
  .hero,.card,.box,.panel,.doc,.choice,.step{border-radius:20px!important;padding:18px!important;}
  .actions,.top-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;align-items:stretch!important;}
  .actions .btn,.actions button,.btn,button,input[type="submit"]{width:100%;justify-content:center;text-align:center;}
  .phone,.call-top,.track-job-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:999px;padding:9px 12px;}
  .logo{max-width:min(180px,48vw)!important;height:auto!important;}
  .field,.formgrid,.portal-form{min-width:0;}
  .option{grid-template-columns:28px 1fr!important;}
  .option-price{grid-column:2;white-space:normal!important;}
  .total,.sticky-inner{flex-direction:column;align-items:stretch!important;text-align:left;}
  .reward-row{grid-template-columns:1fr auto!important;}
  .share-list{grid-template-columns:1fr!important;}
  .yitm-swipe-hint{display:block;}
  .yitm-mobile-dock{position:fixed;left:0;right:0;bottom:0;z-index:9998;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px max(10px,env(safe-area-inset-left)) calc(10px + var(--yitm-mobile-safe-bottom)) max(10px,env(safe-area-inset-right));background:rgba(255,255,255,.96);border-top:1px solid var(--yitm-mobile-line);box-shadow:0 -10px 30px rgba(0,0,0,.12);backdrop-filter:blur(14px);}
  .yitm-mobile-dock a{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:999px;text-decoration:none;font-weight:900;font-size:14px;color:#fff;background:var(--yitm-mobile-green);padding:9px 8px;line-height:1.1;text-align:center;}
  .yitm-mobile-dock a.secondary{background:#13231c;}
  .yitm-mobile-dock a.light{background:#f0f7f3;color:var(--yitm-mobile-dark);border:1px solid rgba(7,138,82,.2);}
}
@media(max-width:720px){
  table[data-yitm-cardtable="1"]{display:block;border:0!important;background:transparent!important;border-radius:0!important;min-width:0!important;}
  table[data-yitm-cardtable="1"] thead{display:none!important;}
  table[data-yitm-cardtable="1"] tbody{display:grid!important;gap:10px!important;}
  table[data-yitm-cardtable="1"] tr{display:block!important;border:1px solid var(--yitm-mobile-line)!important;border-radius:16px!important;background:#fff!important;padding:10px 12px!important;box-shadow:0 6px 18px rgba(0,0,0,.04)!important;}
  table[data-yitm-cardtable="1"] th,table[data-yitm-cardtable="1"] td{display:flex!important;justify-content:space-between!important;gap:14px!important;border:0!important;padding:7px 0!important;text-align:right!important;white-space:normal!important;}
  table[data-yitm-cardtable="1"] td::before{content:attr(data-label);font-size:12px;font-weight:900;color:var(--yitm-mobile-muted);text-align:left;text-transform:uppercase;letter-spacing:.03em;flex:0 0 42%;}
  table[data-yitm-cardtable="1"] td:first-child{display:block!important;text-align:left!important;font-weight:800;}
  table[data-yitm-cardtable="1"] td:first-child::before{display:block;margin-bottom:3px;}
}
@media(max-width:430px){
  .wrap,.shell,.container{padding-left:10px!important;padding-right:10px!important;}
  .hero,.card,.box,.panel,.doc,.choice,.step{padding:15px!important;border-radius:18px!important;}
  .yitm-mobile-dock{gap:6px;padding-left:8px;padding-right:8px;}
  .yitm-mobile-dock a{font-size:12.5px;padding-left:6px;padding-right:6px;}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important;}}
@media print{body{padding-bottom:0!important}.yitm-mobile-dock,.yitm-copy-toast,.yitm-swipe-hint{display:none!important}}


/* Build A00050-A00053/A00070: customer portal header, phone shortcut support, guided journey and status UX. Admin pages intentionally excluded. */
:root{
  --yitm-app-green:#078a52;
  --yitm-app-dark:#064e35;
  --yitm-app-ink:#13231c;
  --yitm-app-cream:#f8f5ee;
  --yitm-app-card:#ffffff;
  --yitm-app-line:#dfd8cc;
  --yitm-app-soft:#eef8f2;
  --yitm-app-warn:#fff7e8;
  --yitm-app-warn-line:#efd19a;
  --yitm-app-shadow:0 16px 44px rgba(16,31,24,.12);
}
body.yitm-webapp-shell{background:linear-gradient(180deg,#f8f5ee 0%,#fffaf1 100%);}
.yitm-app-header{position:sticky;top:0;z-index:9996;background:rgba(255,255,255,.92);border-bottom:1px solid var(--yitm-app-line);backdrop-filter:blur(16px);}
.yitm-app-header-inner{max-width:1080px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;}
.yitm-app-brand{display:flex;align-items:center;gap:10px;min-width:0;color:var(--yitm-app-ink);text-decoration:none;}
.yitm-app-brand img{width:42px;height:42px;border-radius:13px;object-fit:cover;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.08);}
.yitm-app-title{display:block;font-weight:950;color:var(--yitm-app-dark);line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:52vw;}
.yitm-app-subtitle{display:block;font-size:12px;font-weight:850;color:#5d6d64;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:52vw;}
.yitm-app-header-actions{display:flex;align-items:center;gap:8px;}
.yitm-app-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;min-height:38px;padding:8px 12px;font-weight:950;text-decoration:none;border:1px solid rgba(7,138,82,.2);background:#f0f7f3;color:var(--yitm-app-dark);white-space:nowrap;}
.yitm-app-pill.call{background:var(--yitm-app-green);color:#fff;border-color:transparent;}
.yitm-journey{max-width:1080px;margin:12px auto 0;padding:0 16px;}
.yitm-journey-card{background:rgba(255,255,255,.9);border:1px solid var(--yitm-app-line);border-radius:22px;padding:12px;box-shadow:0 8px 26px rgba(0,0,0,.05);}
.yitm-journey-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;}
.yitm-journey-label{font-size:13px;color:#5c6c63;font-weight:950;text-transform:uppercase;letter-spacing:.035em;}
.yitm-journey-current{font-size:14px;color:var(--yitm-app-dark);font-weight:950;text-align:right;}
.yitm-journey-steps{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;}
.yitm-journey-step{height:8px;border-radius:999px;background:#e7e1d8;position:relative;overflow:hidden;}
.yitm-journey-step.done,.yitm-journey-step.active{background:var(--yitm-app-green);}
.yitm-journey-step.active{box-shadow:0 0 0 4px rgba(7,138,82,.13);}
.yitm-next-action-float{position:fixed;left:16px;right:16px;bottom:calc(78px + env(safe-area-inset-bottom,0px));z-index:9997;display:none;background:#fff;border:1px solid rgba(7,138,82,.24);border-radius:22px;padding:12px;box-shadow:var(--yitm-app-shadow);}
.yitm-next-action-float strong{display:block;color:var(--yitm-app-dark);font-size:13px;text-transform:uppercase;letter-spacing:.035em;margin-bottom:3px;}
.yitm-next-action-float a{display:flex;align-items:center;justify-content:center;background:var(--yitm-app-green);color:#fff;border-radius:999px;text-decoration:none;font-weight:950;min-height:44px;padding:10px 12px;margin-top:8px;}
.yitm-status-badge,.status-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:950;border:1px solid rgba(7,138,82,.2);background:#f0f7f3;color:#064e35;}
.yitm-status-badge.warn{background:#fff7e8;border-color:#efd19a;color:#6b4000;}
.yitm-status-badge.danger{background:#fff0f0;border-color:#f1b7b7;color:#8a1f1f;}
.yitm-customer-alert{border:1px solid rgba(7,138,82,.22);background:#f0fff7;color:#143c2b;border-radius:18px;padding:13px 14px;font-weight:800;margin:12px 0;}
.yitm-customer-alert.warn{background:#fff7e8;border-color:#efd19a;color:#5a3d0a;}
.yitm-customer-alert strong{display:block;color:#064e35;margin-bottom:3px;}
.yitm-success-state{border:2px solid rgba(7,138,82,.25);background:linear-gradient(135deg,#eef8f2,#fff);border-radius:22px;padding:16px;margin:14px 0;box-shadow:0 10px 28px rgba(0,0,0,.06);}
.yitm-success-state strong{display:block;color:#064e35;font-size:18px;margin-bottom:4px;}
.yitm-install-card{position:fixed;left:16px;right:16px;bottom:calc(82px + env(safe-area-inset-bottom,0px));z-index:9999;display:none;background:#13231c;color:#fff;border-radius:24px;padding:15px;box-shadow:0 18px 48px rgba(0,0,0,.28);}
.yitm-install-card strong{display:block;font-size:17px;margin-bottom:4px;}
.yitm-install-card p{margin:0 0 12px;color:#ecf4ef;font-weight:700;}
.yitm-install-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.yitm-install-actions button{border:0;border-radius:999px;min-height:44px;font-weight:950;cursor:pointer;}
.yitm-install-actions .primary{background:#078a52;color:#fff;}
.yitm-install-actions .secondary{background:#fff;color:#13231c;}
.yitm-app-form-footer{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:12px;}
.yitm-app-form-footer .btn,.yitm-app-form-footer button{flex:1 1 180px;}
.yitm-mobile-dock a.is-active{box-shadow:inset 0 0 0 2px rgba(255,255,255,.36),0 7px 18px rgba(0,0,0,.12);}
/* Quick Help mobile chat treatment */
body.yitm-page-quick-help .ai-box,body.yitm-page-quick-help #customerAiBox,body.yitm-page-quick-help .after-submit-chat{border:1px solid rgba(7,138,82,.22)!important;box-shadow:0 14px 38px rgba(7,138,82,.10)!important;}
body.yitm-page-quick-help .ai-row textarea{border-radius:20px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.5);}
body.yitm-page-quick-help .ai-prompt-chip{border-radius:999px!important;min-height:42px!important;}
body.yitm-page-quick-help .service{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;}
body.yitm-page-quick-help .service:active{transform:scale(.985);}
/* Quote/invoice/customer portal conversion polish */
body.yitm-page-quote .doc,body.yitm-page-invoice .doc,body.yitm-page-custom-quote .doc,body.yitm-page-job .card{scroll-margin-top:90px;}
body.yitm-page-quote .total,body.yitm-page-invoice .total,body.yitm-page-invoice .amount-due,body.yitm-page-quote .amount-due{font-size:clamp(1.4rem,7vw,2.2rem);font-weight:950;color:#064e35;}
body.yitm-page-invoice a[href*="stripe-start"],body.yitm-page-invoice a[href*="afterpay-start"],body.yitm-page-quote button[name="accept"],body.yitm-page-quote button[type="submit"],body.yitm-page-custom-quote button[type="submit"]{position:relative;}
@media(min-width:861px){
  .yitm-mobile-dock{display:none!important;}
  body.yitm-webapp-shell{padding-bottom:0;}
  .yitm-journey{margin-top:16px;}
}
@media(max-width:860px){
  body.yitm-webapp-shell{padding-top:0;padding-bottom:calc(96px + env(safe-area-inset-bottom,0px));}
  .yitm-app-header-inner{padding:9px 12px;}
  .yitm-app-brand img{width:38px;height:38px;border-radius:12px;}
  .yitm-app-pill{min-height:36px;padding:7px 10px;font-size:13px;}
  .yitm-app-pill.status{display:none;}
  .yitm-journey{padding:0 10px;margin:10px auto 0;}
  .yitm-journey-card{border-radius:18px;padding:10px;}
  .yitm-journey-steps{gap:5px;}
  .yitm-next-action-float.show{display:block;}
  body.yitm-page-quote .actions,body.yitm-page-invoice .actions,body.yitm-page-custom-quote .actions{position:relative;}
  body.yitm-page-quick-help .ai-row{position:sticky;bottom:calc(68px + env(safe-area-inset-bottom,0px));z-index:20;background:rgba(255,255,255,.96);border:1px solid rgba(7,138,82,.16);border-radius:22px;padding:10px;box-shadow:0 -10px 28px rgba(0,0,0,.08);backdrop-filter:blur(10px);}
  body.yitm-page-quick-help .grid .service{min-height:104px;}
  .yitm-install-card.show{display:block;}
}
@media(max-width:430px){
  .yitm-app-title{max-width:46vw;}
  .yitm-app-subtitle{max-width:46vw;}
  .yitm-app-pill.call{font-size:0;min-width:42px;padding:8px;}
  .yitm-app-pill.call::before{content:'Call';font-size:13px;}
  .yitm-journey-current{font-size:12px;}
}
@media print{.yitm-app-header,.yitm-journey,.yitm-install-card,.yitm-next-action-float{display:none!important}}

/* Build A00055 hotfix: keep Quick Help service path cards tappable above app-shell/sticky helpers. */
body.yitm-page-quick-help #serviceGrid,
body.yitm-page-quick-help .grid,
body.yitm-page-quick-help .service {
  position: relative;
  z-index: 60;
  pointer-events: auto;
}
body.yitm-page-quick-help .service,
body.yitm-page-quick-help .service * {
  pointer-events: auto;
}
@media(max-width:860px){
  body.yitm-page-quick-help .ai-row{
    z-index: 8;
  }
  body.yitm-page-quick-help #serviceGrid{
    isolation: isolate;
  }
}


/* Build A00055/A00070: compact customer portal header and Quick Help referral entry. */
.customer-action-card.referral-card{border-color:#efd19a!important;background:#fffaf0!important;}
.customer-action-card.referral-card .customer-action-icon{background:#fff4dd!important;border-color:#efd19a!important;}
@media(max-width:860px){
  .yitm-app-header{position:sticky;top:0;}
  .yitm-app-header-inner{min-height:48px;padding:5px 10px!important;gap:8px!important;}
  .yitm-app-brand{gap:8px!important;}
  .yitm-app-brand img{width:34px!important;height:34px!important;border-radius:10px!important;box-shadow:none!important;}
  .yitm-app-title{font-size:15px!important;line-height:1!important;max-width:58vw!important;}
  .yitm-app-subtitle{font-size:11px!important;line-height:1.05!important;margin-top:1px!important;max-width:58vw!important;}
  .yitm-app-header-actions{gap:6px!important;}
  .yitm-app-pill{min-height:34px!important;padding:6px 9px!important;font-size:12px!important;}
  .yitm-app-pill.call{min-width:50px!important;}
  body.yitm-page-quick-help .yitm-journey{display:none!important;}
  body.yitm-page-quick-help .yitm-auto-alert{display:none!important;}
  body.yitm-page-quick-help .customer-start-panel{margin-top:10px!important;gap:10px!important;}
  body.yitm-page-quick-help .customer-action-card{padding:12px!important;border-radius:18px!important;}
  body.yitm-page-quick-help .customer-action-icon{width:46px!important;height:46px!important;min-width:46px!important;border-radius:14px!important;font-size:22px!important;}
}
@media(max-width:430px){
  .yitm-app-header-inner{min-height:46px;padding:4px 9px!important;}
  .yitm-app-brand img{width:32px!important;height:32px!important;}
  .yitm-app-title{font-size:14px!important;max-width:56vw!important;}
  .yitm-app-subtitle{font-size:10.5px!important;max-width:56vw!important;}
  .yitm-app-pill.call{min-width:44px!important;padding-left:7px!important;padding-right:7px!important;}
}


/* Build A00056-A00070: Apple-style customer portal refinement, conversion UX, portal dashboard polish, checkout clarity, secondary flow steppers, accessibility/performance and customer language polish. */
:root{
  --yitm-56-bg:#fbfaf7;
  --yitm-56-surface:rgba(255,255,255,.94);
  --yitm-56-ink:#10231a;
  --yitm-56-muted:#5c6d64;
  --yitm-56-green:#078a52;
  --yitm-56-green-dark:#064e35;
  --yitm-56-line:rgba(19,35,28,.12);
  --yitm-56-soft:#eef8f2;
  --yitm-56-amber:#fff7e8;
  --yitm-56-radius:24px;
  --yitm-56-shadow:0 18px 44px rgba(18,35,28,.10);
}
body.yitm-webapp-shell{background:radial-gradient(circle at top left,rgba(7,138,82,.08),transparent 34rem),linear-gradient(180deg,#fbfaf7 0%,#f8f5ee 100%);}
.yitm-app-header{transition:box-shadow .22s ease, background .22s ease, transform .22s ease;}
.yitm-app-header.yitm-scrolled{box-shadow:0 10px 28px rgba(0,0,0,.08);background:rgba(255,255,255,.96);}
.yitm-app-header-inner{min-height:54px;}
.yitm-app-pill.status{font-size:0;min-width:42px;padding:8px 10px;}
.yitm-app-pill.status::before{content:'My Job';font-size:13px;}
.yitm-app-menu-btn{display:none;align-items:center;justify-content:center;min-width:42px;min-height:38px;border:1px solid rgba(7,138,82,.2);border-radius:999px;background:#f0f7f3;color:#064e35;font-weight:950;cursor:pointer;padding:8px 11px;}
.yitm-app-menu{position:fixed;inset:0;z-index:10020;display:none;background:rgba(11,18,15,.38);backdrop-filter:blur(10px);padding:80px 16px 16px;}
.yitm-app-menu.open{display:block;}
.yitm-app-menu-panel{max-width:420px;margin:0 auto;background:#fff;border-radius:28px;border:1px solid var(--yitm-56-line);box-shadow:0 28px 70px rgba(0,0,0,.22);padding:12px;}
.yitm-app-menu-panel a,.yitm-app-menu-panel button{display:flex;align-items:center;justify-content:space-between;width:100%;box-sizing:border-box;min-height:52px;border:0;border-radius:18px;background:#fff;color:#064e35;text-decoration:none;font-weight:950;padding:12px 14px;text-align:left;}
.yitm-app-menu-panel a:hover,.yitm-app-menu-panel button:hover{background:#eef8f2;}
.yitm-app-menu-panel .close{background:#13231c;color:#fff;justify-content:center;margin-top:6px;}
.yitm-webapp-shell .yitm-journey-card{box-shadow:none;background:rgba(255,255,255,.72);}
.yitm-mobile-dock{transition:transform .22s ease, opacity .22s ease;}
body.yitm-keyboard-open .yitm-mobile-dock,body.yitm-keyboard-open .yitm-next-action-float{transform:translateY(120%);opacity:0;pointer-events:none;}
.yitm-next-action-float{max-width:680px;margin:0 auto;}
.yitm-next-action-float.is-hidden-by-visible-action{display:none!important;}
.yitm-hero-actions-secondary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0;}
.yitm-hero-actions-secondary a{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:999px;border:1px solid rgba(7,138,82,.18);font-weight:950;text-decoration:none;color:#064e35;background:#f0f7f3;}
.yitm-quickhome-note{margin:8px 0 14px;color:var(--yitm-56-muted);font-weight:800;line-height:1.4;}
body.yitm-page-quick-help .topbar{display:none!important;}
body.yitm-page-quick-help .customer-start-panel{margin-top:8px;}
body.yitm-page-quick-help .customer-start-panel .customer-action-card.primary{display:none!important;}
body.yitm-page-quick-help .customer-start-panel .customer-action-card:not(.primary){order:10;}
body.yitm-page-quick-help .customer-start-panel .referral-card{order:20;}
body.yitm-page-quick-help .how-it-works{margin-top:18px;}
body.yitm-page-quick-help .hero-image-wrap{display:none!important;}
body.yitm-page-quick-help .badge,body.yitm-page-quick-help .lede{display:none!important;}
body.yitm-page-quick-help .help-path-heading{margin-top:8px;}
body.yitm-page-quick-help #serviceGrid{position:relative;z-index:80;}
body.yitm-page-quick-help .service{cursor:pointer;transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;}
body.yitm-page-quick-help .service:active{transform:scale(.985);}
body.yitm-page-quick-help .service.yitm-service-selected{border-color:#064e35!important;background:#e9f8ef!important;box-shadow:0 0 0 4px rgba(7,138,82,.14),0 16px 36px rgba(7,138,82,.12)!important;}
body.yitm-page-quick-help .service.yitm-service-selected::after{content:'Selected';grid-column:1/-1;justify-self:start;border-radius:999px;background:#064e35;color:#fff;padding:5px 10px;font-size:12px;font-weight:950;}
.yitm-checkout-summary,.yitm-portal-dashboard,.yitm-stepper-card{background:#fff;border:1px solid var(--yitm-56-line);border-radius:28px;padding:18px;margin:14px 0;box-shadow:var(--yitm-56-shadow);}
.yitm-checkout-summary .eyebrow,.yitm-portal-dashboard .eyebrow,.yitm-stepper-card .eyebrow{display:block;color:#5c6d64;text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:950;margin-bottom:6px;}
.yitm-checkout-summary .amount{font-size:clamp(2.2rem,10vw,4rem);line-height:1;font-weight:950;color:#064e35;margin:4px 0 8px;}
.yitm-checkout-summary .sub{color:#5c6d64;font-weight:850;line-height:1.4;}
.yitm-checkout-summary .primary-link,.yitm-primary-action{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:999px;background:#078a52;color:#fff;text-decoration:none;font-weight:950;margin-top:14px;padding:12px 14px;border:0;}
.yitm-checkout-summary .secondary-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;}
.yitm-checkout-summary .secondary-row a{display:flex;align-items:center;justify-content:center;border:1px solid rgba(7,138,82,.18);background:#f0f7f3;color:#064e35;border-radius:999px;text-decoration:none;font-weight:950;min-height:42px;padding:9px 10px;}
.yitm-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;}
.yitm-status-tile{border:1px solid var(--yitm-56-line);background:#fbfaf7;border-radius:18px;padding:12px;min-height:78px;}
.yitm-status-tile strong{display:block;color:#064e35;font-size:15px;margin-bottom:3px;}
.yitm-status-tile span{display:block;color:#5c6d64;font-weight:800;font-size:13px;line-height:1.35;}
.yitm-portal-next{display:block;border-radius:22px;background:#eef8f2;border:1px solid rgba(7,138,82,.18);padding:14px;margin-top:12px;}
.yitm-portal-next strong{display:block;color:#064e35;font-size:18px;}
.yitm-portal-next p{margin:4px 0 0;color:#5c6d64;font-weight:800;line-height:1.4;}
.yitm-stepper{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px;}
.yitm-stepper span{display:flex;align-items:center;justify-content:center;min-height:40px;border-radius:999px;border:1px solid var(--yitm-56-line);background:#fbfaf7;color:#5c6d64;font-size:12px;font-weight:950;text-align:center;padding:6px;}
.yitm-stepper span.active{background:#078a52;color:#fff;border-color:#078a52;}
.yitm-form-polish label{font-size:14px;letter-spacing:.01em;}
.yitm-form-polish input,.yitm-form-polish select,.yitm-form-polish textarea{border-color:rgba(19,35,28,.16)!important;background:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.6);transition:border-color .15s ease, box-shadow .15s ease;}
.yitm-form-polish input:focus,.yitm-form-polish select:focus,.yitm-form-polish textarea:focus{border-color:#078a52!important;box-shadow:0 0 0 4px rgba(7,138,82,.12)!important;outline:0!important;}
.yitm-error-text{display:none;color:#8a1f1f;font-weight:850;font-size:13px;margin-top:4px;}
.yitm-field-invalid{border-color:#c93d3d!important;background:#fff7f7!important;}
.yitm-field-invalid + .yitm-error-text{display:block;}
.yitm-success-state{border-radius:28px!important;box-shadow:var(--yitm-56-shadow)!important;}
@media(max-width:860px){
  body{background:#fbfaf7!important;}
  .yitm-app-header-inner{min-height:48px;padding:6px 12px;gap:8px;}
  .yitm-app-brand img{width:34px;height:34px;border-radius:11px;}
  .yitm-app-title{font-size:17px;max-width:45vw;}
  .yitm-app-subtitle{font-size:11px;max-width:45vw;}
  .yitm-app-header.yitm-scrolled .yitm-app-brand img{width:28px;height:28px;}
  .yitm-app-header.yitm-scrolled .yitm-app-subtitle{display:none;}
  .yitm-app-pill{min-height:36px;padding:7px 11px;font-size:13px;}
  .yitm-app-pill.status{display:none;}
  .yitm-app-menu-btn{display:inline-flex;}
  body.yitm-page-quick-help .yitm-journey{display:none!important;}
  body.yitm-page-quick-help main.hero{padding-top:8px!important;}
  body.yitm-page-quick-help .card{padding-top:12px!important;}
  body.yitm-page-quick-help .customer-start-panel{grid-template-columns:1fr!important;gap:10px;margin-bottom:14px;}
  body.yitm-page-quick-help .customer-action-card{min-height:auto;padding:13px!important;border-radius:20px!important;}
  body.yitm-page-quick-help .customer-action-card strong{font-size:18px!important;}
  body.yitm-page-quick-help .customer-action-card span span{font-size:13px!important;}
  body.yitm-page-quick-help .how-it-works{display:none!important;}
  body.yitm-page-quick-help #serviceGrid{gap:10px!important;}
  body.yitm-page-quick-help .service{grid-template-columns:48px 1fr!important;align-items:center!important;border-radius:22px!important;padding:14px!important;}
  body.yitm-page-quick-help .service .action{grid-column:1/-1;min-height:42px!important;margin-top:2px!important;}
  .yitm-mobile-dock{grid-template-columns:repeat(3,1fr);padding-top:8px;}
  .yitm-mobile-dock a{min-height:48px;border-radius:24px;box-shadow:0 2px 0 rgba(0,0,0,.06);}
  .yitm-checkout-summary,.yitm-portal-dashboard,.yitm-stepper-card{border-radius:24px;padding:16px;margin-left:0;margin-right:0;}
  .yitm-checkout-summary{position:relative;z-index:4;}
  .yitm-status-grid{grid-template-columns:1fr 1fr;}
  .yitm-stepper{grid-template-columns:1fr;}
  .yitm-checkout-summary .secondary-row{grid-template-columns:1fr;}
  input,select,textarea{font-size:16px!important;}
}
@media(max-width:430px){
  .yitm-app-title{font-size:16px;max-width:42vw;}
  .yitm-app-subtitle{display:none;}
  .yitm-app-header-inner{min-height:44px;padding:5px 10px;}
  .yitm-app-brand img{width:32px;height:32px;}
  .yitm-app-pill.call{min-width:52px;font-size:0;border-radius:18px;}
  .yitm-app-pill.call::before{content:'Call';font-size:14px;}
  .yitm-status-grid{grid-template-columns:1fr;}
}
@media(prefers-reduced-motion:reduce){.yitm-app-header,.yitm-mobile-dock,.yitm-next-action-float,.service{transition:none!important}}
@media print{.yitm-app-header,.yitm-app-menu,.yitm-journey,.yitm-mobile-dock,.yitm-next-action-float,.yitm-install-card{display:none!important}}


/* Build A00070: customer language and brand polish. */
.yitm-app-brand img{background:#064e35!important;}
body.yitm-page-quick-help .yitm-app-brand img{box-shadow:0 4px 16px rgba(6,78,53,.18);}
.yitm-app-brand img[alt=""]{color:transparent;}
body.yitm-page-quick-help .yitm-app-subtitle{color:#4f6258;}
@media(max-width:430px){.yitm-app-brand{gap:8px}.yitm-app-brand img{width:34px;height:34px;border-radius:10px}.yitm-app-header.yitm-scrolled .yitm-app-brand img{width:28px;height:28px}}


/* A00070: Quick Help lead-capture-first conversion pass */
.quick-help-page .customer-start-panel{margin-bottom:14px}
.fast-contact-panel{margin:14px 0 16px;padding:14px;border:1px solid rgba(7,138,82,.22);border-radius:18px;background:#f7fff9}
.fast-contact-panel h3{grid-column:1/-1;margin:0;color:#064e35;font-size:21px}
.fast-contact-panel .contact-note{grid-column:1/-1;margin:0 0 2px;color:#51645a;font-weight:750;line-height:1.4}
.fast-request-promise,.lead-capture-note{margin:12px 0;padding:12px 14px;border-radius:16px;background:#eef8f2;border:1px solid #cfe8da;color:#0d3b2c;font-weight:850;line-height:1.45}
.optional-details{margin:14px 0;border:1px solid #e1eadf;border-radius:18px;background:#fff;overflow:hidden}
.optional-details>summary{cursor:pointer;list-style:none;padding:13px 14px;font-weight:950;color:#064e35;background:#f8fbf7}
.optional-details>summary::-webkit-details-marker{display:none}
.optional-details>summary:after{content:"+";float:right;font-weight:950}
.optional-details[open]>summary:after{content:"-"}
.optional-details>.form-grid{padding:12px}
.call-secondary-box{margin:22px 0 4px;padding:14px 16px;border-radius:18px;background:#fff;border:1px solid #eadfce;color:#4b4031;text-align:center;display:grid;gap:4px}
.call-secondary-box strong{color:#064e35}.call-secondary-box a{font-weight:950;color:#064e35}
#initialEstimateSection.optional-ai{margin-top:18px;border-style:dashed;background:#fbfdfb}
#sendRequest{font-size:18px;box-shadow:0 10px 24px rgba(7,138,82,.2)}
.success-box .success-actions a:first-child{background:#064e35;color:#fff}
@media(max-width:720px){.customer-start-panel .customer-action-card:not(.primary){padding:10px 12px;min-height:52px}.how-it-works{font-size:13px;padding:10px 12px}.how-it-works ol{grid-template-columns:1fr 1fr!important;gap:6px}.help-path-heading{margin-top:12px}.help-path-heading h2{font-size:24px;margin-bottom:4px}#serviceGrid{gap:9px}.service .action{font-size:13px;padding:9px 10px}.fast-contact-panel{padding:12px}.fast-contact-panel h3{font-size:19px}#initialEstimateSection.optional-ai{margin-top:14px}.call-secondary-box{font-size:14px;margin-bottom:70px}}


/* Build A00070: Quick Help referral discovery without competing with lead capture. */
.quick-referral-section{
  margin:18px 0 18px;
  padding:16px;
  border-radius:22px;
  background:linear-gradient(135deg,#fffaf0,#f7fff9);
  border:1px solid rgba(7,138,82,.18);
  display:grid;
  grid-template-columns:1fr auto;
  gap:14px;
  align-items:center;
}
.quick-referral-copy{display:grid;gap:4px}
.quick-referral-eyebrow{font-size:12px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;color:#8a5a0a}
.quick-referral-copy strong{font-size:20px;color:#064e35;line-height:1.15}
.quick-referral-copy p{margin:0;color:#51645a;font-weight:750;line-height:1.42}
.quick-referral-button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:11px 15px;border-radius:999px;
  background:#064e35;color:#fff!important;text-decoration:none;font-weight:950;
  box-shadow:0 10px 22px rgba(6,78,53,.16);
  white-space:nowrap;
}
.quick-referral-section:target{outline:3px solid rgba(7,138,82,.25);outline-offset:3px}
body.yitm-page-quick-help .yitm-mobile-dock a[href="/referrals/"]{background:#fff4e6;color:#5a3d0a;border-color:#f0d9a8}
@media(max-width:720px){
  .quick-referral-section{grid-template-columns:1fr;margin:16px 0 82px;padding:14px;border-radius:18px}
  .quick-referral-button{width:100%}
  .customer-start-panel .referral-card{order:3}
}


/* Build A00065-A00070: customer dashboard, pipeline language and timeline polish. */
.yitm-status-timeline,
.customer-timeline{scroll-margin-top:96px;}
.customer-step.done strong,
.timeline-step.done strong{color:#064e35;}
@media (min-width: 900px){
  body.yitm-customer-page .portal-dashboard{box-shadow:0 18px 38px rgba(5,25,16,.05);}
}
@media (max-width: 760px){
  .portal-dashboard{padding:14px!important;border-radius:20px!important;}
  .next-panel{padding:14px!important;}
  .customer-step{min-height:52px;}
}
