.kg-estimate{--color-primary:#1C61BE;--color-primary-dark:#004999;--color-primary-light:#3388DD;--color-primary-hover:#005CB8;--color-cta:#F5A623;--color-cta-hover:#FA8C16;--color-black:#18253F;--color-white:#FFFFFF;--color-cream:#F3F6FC;--color-text-main:#27364D;--color-text-light:#5E6B7C;--color-border:rgba(24,54,93,0.14);--color-primary-accessible:#004E9E;--color-surface:#FFFFFF;--color-surface-soft:#F7F9FD;--color-surface-blue:#EAF1FB;--color-heading:#18253F;--color-border-strong:#D7E0EC;--color-notice-bg:#FFF3E0;--color-notice-border:#FF9800;--color-notice-accent:#E65100;--color-notice-text:#8A4B00;--color-bg-light:#F3F6FC;--font-main:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--font-elegant:"Noto Sans JP",sans-serif;--font-size-base:16px;--font-size-h1:clamp(2.1rem,4vw,2.75rem);--font-size-h2:clamp(1.75rem,3vw,2.2rem);--font-size-h3:clamp(1.25rem,2vw,1.5rem);--font-size-h4:1.25rem;--font-size-h5:1.1rem;--container-width:1200px;--header-height:90px;--banner-height:32px;--spacing-xs:0.5rem;--spacing-sm:1rem;--spacing-md:2rem;--spacing-lg:4rem;--spacing-xl:5rem;--spacing-section:clamp(4rem,7vw,5.5rem);--border-radius-sm:6px;--border-radius-md:8px;--border-radius-lg:10px;--border-radius-pill:999px;--shadow-xs:0 2px 4px rgba(24,54,93,0.03);--shadow-sm:0 4px 14px rgba(24,54,93,0.06);--shadow-md:0 8px 24px rgba(24,54,93,0.08);--shadow-lg:0 12px 30px rgba(24,54,93,0.12);--shadow-primary:0 8px 24px rgba(0,102,204,0.22);--shadow-cta:0 8px 24px rgba(245,166,35,0.30);--transition-smooth:all 0.3s cubic-bezier(0.25,0.8,0.25,1);}
.kg-estimate main p a:not(.btn),.kg-estimate main li a:not(.btn){color:var(--color-primary);text-decoration:underline;text-underline-offset:0.15em;}.kg-estimate main p a:not(.btn):hover,.kg-estimate main li a:not(.btn):hover{color:var(--color-primary-dark);}.kg-estimate .text-center{text-align:center;}.kg-estimate .text-primary{color:var(--color-primary);}.kg-estimate .btn{display:inline-flex;align-items:center;justify-content:center;padding:1rem 3rem;border-radius:6px;font-weight:700;font-size:1rem;transition:var(--transition-smooth);cursor:pointer;letter-spacing:0.05em;line-height:1.4;border:1px solid transparent;text-decoration:none;background:var(--color-white);color:var(--color-text-main);box-shadow:none;position:relative;overflow:hidden;}.kg-estimate .btn-primary{background:var(--color-cta);color:var(--color-black);border:none;box-shadow:none;}.kg-estimate .btn-primary:hover{background:var(--color-cta-hover);color:var(--color-black);transform:none;box-shadow:none;}.kg-estimate .btn-secondary{background:var(--color-white);color:var(--color-text-main);border:1px solid #D6DCE3;box-shadow:none;}.kg-estimate .btn-secondary:hover{background:#F7F9FB;color:var(--color-primary-dark);border-color:#9FB7D1;transform:none;box-shadow:none;}.kg-estimate body.has-sticky-footer{padding-bottom:100px;}@keyframes copySuccess{0%{transform:scale(1);}50%{transform:scale(1.1);}100%{transform:scale(1);}}.kg-estimate .btn-copy-success{background-color:#FFFFFF;color:#04893A;border-color:#04893A;animation:copySuccess 0.3s ease;}.kg-estimate .section{padding:clamp(4rem,8vw,6rem) 0;position:relative;}.kg-estimate .section-intro{text-align:left;font-size:1.1rem;max-width:800px;margin-bottom:4rem;}.kg-estimate p.section-intro{font-size:1.2rem;font-weight:700;color:var(--color-primary);margin-bottom:3rem;text-align:center;line-height:1.3;margin-left:auto;margin-right:auto;}.kg-estimate .intro-line{display:none;}.kg-estimate .estimate-container{max-width:1200px;margin:0 auto;padding:0 1rem;}.kg-estimate .note-box{background:#FFF3E0;border-left:4px solid var(--color-primary);border-radius:var(--border-radius-sm);padding:1.25rem 1.5rem;margin:1.5rem 0 2rem;font-size:0.9rem;line-height:1.7;color:var(--color-text-main);}.kg-estimate .note-box strong{display:block;margin-bottom:0.4rem;font-size:1rem;color:var(--color-primary);}.kg-estimate .estimate-grid{display:grid;grid-template-columns:1fr 380px;gap:3rem;align-items:start;position:relative;}.kg-estimate .form-section{background:white;padding:3rem;box-shadow:var(--shadow-sm);border-radius:var(--border-radius-md);min-width:0;}.kg-estimate .result-section{background:var(--color-black);color:white;padding:2.5rem;border-radius:var(--border-radius-md);box-shadow:var(--shadow-lg);position:sticky;top:120px;z-index:10;}@media (max-width:900px){.kg-estimate .estimate-grid{grid-template-columns:minmax(0,1fr);gap:2rem;}.kg-estimate .result-section{position:static;order:10;margin-top:2rem;}}.kg-estimate .estimate-form-heading,.kg-estimate .estimate-result-heading{font-size:1.5rem;font-weight:700;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid var(--color-gray-light,#eee);position:relative;}.kg-estimate .estimate-form-heading::after,.kg-estimate .estimate-result-heading::after{content:'';position:absolute;bottom:-2px;left:0;width:60px;height:2px;background:var(--color-primary);}.kg-estimate .form-group{margin-bottom:2.5rem;}.kg-estimate .form-label{display:flex;align-items:center;font-weight:700;margin-bottom:1.2rem;font-size:1.2rem;background:#f8f9fa;padding:0.8rem 1.2rem;border-radius:6px;border-left:5px solid var(--color-primary);color:var(--color-black);}.kg-estimate legend.form-label{width:100%;}.kg-estimate .radio-group,.kg-estimate .checkbox-group{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;}.kg-estimate .radio-option,.kg-estimate .checkbox-option{display:flex;align-items:center;padding:1rem;border:1px solid rgba(0,0,0,0.1);border-radius:var(--border-radius-sm);cursor:pointer;transition:all 0.2s;background:#F7F9FD;}.kg-estimate .radio-option:hover,.kg-estimate .checkbox-option:hover{border-color:var(--color-primary);background:white;}.kg-estimate .radio-option.selected{border-color:var(--color-primary);background:white;}.kg-estimate .checkbox-option:has(input:checked){border-color:var(--color-primary);background:white;}.kg-estimate .radio-option input,.kg-estimate .checkbox-option input{margin-right:0.8rem;accent-color:var(--color-primary);transform:scale(1.2);}.kg-estimate .estimate-service-category{margin-bottom:2rem;padding:1.5rem;background:#ffffff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,0.03);}.kg-estimate .estimate-category-title{display:block;margin-bottom:1.2rem;color:var(--color-primary);font-size:1.1rem;font-weight:700;border-bottom:2px solid #f0f0f0;padding-bottom:0.5rem;}.kg-estimate .result-section{background:var(--color-primary);color:var(--color-white);padding:2.5rem;border-radius:var(--border-radius-md);position:sticky;bottom:2rem;box-shadow:0 12px 28px rgba(0,73,153,0.2);}@media (max-width:900px){.kg-estimate .result-section{position:static;}}.kg-estimate .result-section .estimate-result-heading,.kg-estimate .result-section .estimate-form-heading{border-color:rgba(255,255,255,0.2);color:var(--color-white);text-align:center;}.kg-estimate .result-section .estimate-result-heading{margin-bottom:1.6rem;}.kg-estimate .result-section .estimate-result-heading::after,.kg-estimate .result-section .estimate-form-heading::after{left:50%;transform:translateX(-50%);background:var(--color-white);}.kg-estimate .price-breakdown{margin-bottom:2rem;}.kg-estimate .price-row{display:flex;justify-content:space-between;margin-bottom:1rem;border-bottom:1px dashed rgba(255,255,255,0.2);padding-bottom:0.5rem;gap:1rem;}.kg-estimate .legal-fee-detail{margin:-0.35rem 0 1rem;padding:0.85rem 0.9rem;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.16);border-radius:6px;}.kg-estimate .legal-fee-detail-title{margin-bottom:0.45rem;color:rgba(255,255,255,0.72);font-size:0.82rem;font-weight:700;line-height:1.4;}.kg-estimate .legal-fee-detail-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:0.35rem 0;color:rgba(255,255,255,0.9);font-size:0.88rem;line-height:1.55;}.kg-estimate .legal-fee-detail-row + .legal-fee-detail-row{border-top:1px solid rgba(255,255,255,0.1);}.kg-estimate .legal-fee-detail-name{min-width:0;}.kg-estimate .legal-fee-detail-amount{flex:0 0 auto;font-weight:700;color:#fff;white-space:nowrap;}.kg-estimate .price-row.total{border-bottom:none;border-top:1px solid rgba(255,255,255,0.5);padding-top:1.5rem;margin-top:1rem;margin-bottom:0;align-items:center;gap:1rem;}.kg-estimate .price-label{font-size:1rem;color:rgba(255,255,255,0.88);min-width:0;line-height:1.5;}.kg-estimate .price-value{flex:0 0 auto;font-weight:500;font-size:1.1rem;line-height:1.5;text-align:right;white-space:nowrap;color:var(--color-white);}.kg-estimate .price-row.total .price-label{font-size:1.2rem;font-weight:700;color:white;flex:1 1 auto;min-width:0;line-height:1.45;word-break:keep-all;}.kg-estimate .price-row.total .price-value{font-size:1.75rem;font-weight:700;color:var(--color-white);white-space:nowrap;flex:0 0 auto;text-align:right;}@media (max-width:640px){.kg-estimate .price-row.total{align-items:flex-start;gap:0.75rem;}.kg-estimate .price-row.total .price-label{font-size:1.05rem;}.kg-estimate .price-row.total .price-value{font-size:1.6rem;}}@media (max-width:400px){.kg-estimate .price-row.total{flex-direction:column;align-items:flex-start;}.kg-estimate .price-row.total .price-value{width:100%;text-align:left;}.kg-estimate .price-row.total .price-value{font-size:1.5rem;}}.kg-estimate .cta-buttons{display:grid;gap:1rem;}.kg-estimate .estimate-cta-primary{width:100%;padding:0.85rem 1rem;font-size:1.05rem;font-weight:700;line-height:1.35;}.kg-estimate .estimate-cta-secondary{width:100%;padding:0.85rem 1rem;font-size:1.05rem;font-weight:700;line-height:1.35;background:transparent;color:#ffffff;border:1px solid #ffffff;}.kg-estimate .estimate-cta-secondary:hover,.kg-estimate .estimate-cta-secondary:focus{background:#ffffff;color:var(--color-primary-dark);border-color:#ffffff;}.kg-estimate .estimate-cta-copy{width:100%;padding:0.75rem 1rem;font-size:0.95rem;font-weight:600;line-height:1.35;background:transparent;color:rgba(255,255,255,0.92);border:1px solid rgba(255,255,255,0.72);display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;}.kg-estimate .estimate-cta-copy:hover,.kg-estimate .estimate-cta-copy:focus{background:rgba(255,255,255,0.14);color:#ffffff;border-color:#ffffff;}.kg-estimate .copy-message{display:block;text-align:center;font-size:0.85rem;color:#D7F5D7;margin-top:-0.25rem;opacity:0;transition:opacity 0.3s;}.kg-estimate .clear-button-container{margin-top:1.5rem;text-align:center;}.kg-estimate .btn-outline{background:transparent;color:rgba(255,255,255,0.6);border:1px solid rgba(255,255,255,0.3);padding:0.5rem 1.5rem;font-size:0.9rem;}.kg-estimate .btn-outline:hover{color:white;border-color:white;}@keyframes scrollHintPulse{0%,100%{transform:translateX(0);}50%{transform:translateX(5px);}}.kg-estimate .estimate-suboption-inline{display:flex;flex-wrap:wrap;gap:0.75rem;align-items:stretch;}.kg-estimate .radio-option-inline{display:inline-flex;align-items:center;gap:0.45rem;min-height:38px;padding:0.45rem 0.75rem;border:1px solid #d8dde6;border-radius:6px;background:#fff;cursor:pointer;font-size:0.95rem;line-height:1.35;white-space:nowrap;}.kg-estimate .radio-option-inline input{flex:0 0 auto;margin:0;accent-color:var(--color-primary);}.kg-estimate #used-new-inspection-options .radio-option-inline{flex:1 1 170px;justify-content:flex-start;}@media (max-width:768px){.kg-estimate .service-with-suboption{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:8px;}.kg-estimate .form-section{padding:1.5rem;}.kg-estimate .radio-group,.kg-estimate .checkbox-group{grid-template-columns:1fr;gap:0.8rem;}.kg-estimate .checkbox-option,.kg-estimate .radio-option{padding:1rem;width:100%;box-sizing:border-box;}.kg-estimate .service-with-suboption{flex-direction:column;align-items:flex-start;gap:0;margin-bottom:0.8rem;width:100%;}.kg-estimate .service-with-suboption .checkbox-option{margin-bottom:0.5rem;}.kg-estimate .estimate-suboption-inline{width:100%;margin-left:0;padding-left:0;margin-bottom:0.5rem;display:flex;flex-direction:column;gap:0.6rem;}.kg-estimate .radio-option-inline{font-size:0.95rem;margin-right:0;padding:0.7rem 0.85rem;background:#F7F9FD;border-radius:6px;display:flex;align-items:center;width:100%;box-sizing:border-box;white-space:normal;}.kg-estimate .radio-option-inline input{margin-right:0.8rem;transform:scale(1.3);}.kg-estimate .result-section{position:static;width:100%;margin-top:2rem;z-index:1;}}.kg-estimate #scroll-to-top.visible{opacity:1;visibility:visible;transform:translateY(0);}.kg-estimate .section{padding:var(--spacing-section) 0;}.kg-estimate p.section-intro,.kg-estimate .section-intro{max-width:780px;color:var(--color-text-light);font-size:1rem;font-weight:500;line-height:1.9;}.kg-estimate .btn{min-height:48px;border-radius:var(--border-radius-pill);font-weight:700;letter-spacing:0.025em;box-shadow:none;}.kg-estimate .btn-primary{box-shadow:0 4px 12px rgba(245,166,35,0.22);}.kg-estimate .btn-primary:hover,.kg-estimate .btn-primary:focus-visible{box-shadow:0 6px 16px rgba(245,166,35,0.26);}.kg-estimate .form-section{border:1px solid var(--color-border-strong);border-radius:var(--border-radius-lg) !important;background:var(--color-surface);box-shadow:var(--shadow-md) !important;}.kg-estimate .form-select{width:100%;max-width:100%;box-sizing:border-box;min-width:0;}@media (max-width:768px){.kg-estimate .btn{min-height:48px;}}.kg-estimate .form-label{color:#18253F;}.kg-estimate .btn,.kg-estimate .btn > span{font-size:0.9rem !important;}.kg-estimate .form-label,.kg-estimate .radio-option,.kg-estimate .checkbox-option{border-radius:6px !important;}.kg-estimate .estimate-service-category{border-radius:10px !important;}.kg-estimate .btn{border-radius:999px !important;}.kg-estimate .btn-secondary,.kg-estimate .estimate-service-category,.kg-estimate .estimate-category-title{border-color:#D7E0EC;}.kg-estimate .form-label,.kg-estimate .radio-option-inline{background-color:#F7F9FD;}.kg-estimate .estimate-form-heading{font-size:1.5rem !important;}.kg-estimate .radio-option span{font-size:1rem !important;}.kg-estimate .note-box{font-size:0.9rem !important;}.kg-estimate .note-box span{font-size:0.9rem !important;}.kg-estimate .note-box{font-size:0.9rem !important;}.kg-estimate .price-label{font-size:1.1rem !important;}.kg-estimate .note-box strong,.kg-estimate .estimate-category-title{font-size:1rem !important;}.kg-estimate .estimate-cond-block{padding:20px;border-radius:10px;border:2px solid var(--color-primary);margin-top:25px;}.kg-estimate .estimate-cond-block--area{background:#fff9f0;}.kg-estimate .estimate-cond-block--plate{background:#EAF1FB;}.kg-estimate .estimate-tax-block{background:#f7fbff;border:1px solid #d7e8fb;border-radius:10px;padding:1.5rem;margin-bottom:2rem;}.kg-estimate .checkbox-option.estimate-tax-toggle{background:#f7fbff;border:2px solid #d7e8fb;}.kg-estimate .estimate-tax-message{margin:0;padding:0.8rem 1rem;border-radius:var(--border-radius-sm);background:var(--color-notice-bg);color:var(--color-notice-text);font-size:0.875rem;line-height:1.6;}.kg-estimate .estimate-cond-block--area .form-label{font-size:1rem;color:var(--color-primary);}.kg-estimate .estimate-required-badge{font-size:0.875rem;background:var(--color-primary);color:var(--color-surface);padding:3px 8px;border-radius:var(--border-radius-sm);margin-left:8px;vertical-align:middle;}.kg-estimate .estimate-form-note{font-size:1rem;margin-bottom:12px;color:var(--color-black);}.kg-estimate .estimate-form-hint{margin:0.5rem 0 0;font-size:0.875rem;color:var(--color-text-light);line-height:1.6;}.kg-estimate .estimate-cond-block .form-select{border:2px solid var(--color-border-strong);padding:12px;font-size:1rem;}.kg-estimate .estimate-input-unit{display:flex;align-items:center;gap:0.5rem;}.kg-estimate .estimate-input-unit .form-input{flex:1;min-width:0;}.kg-estimate .estimate-era-row{display:flex;gap:0.75rem;align-items:center;flex-wrap:wrap;}.kg-estimate .estimate-era-row .form-select{width:auto;min-width:90px;}.kg-estimate .estimate-era-field{display:flex;align-items:center;gap:0.25rem;}.kg-estimate .estimate-era-field .form-input{text-align:center;}.kg-estimate .estimate-era-field .estimate-era-num--year{width:70px;}.kg-estimate .estimate-era-field .estimate-era-num--month{width:60px;}.kg-estimate .breakdown-detail p{margin:0 0 10px;font-size:0.875rem;font-weight:600;color:rgba(255,255,255,0.92);}.kg-estimate .breakdown-detail ul{list-style:none;padding:0;margin:0 0 15px;font-size:0.875rem;}.kg-estimate .section-intro{text-align:left !important;margin-left:0 !important;max-width:860px;}.kg-estimate .form-label,.kg-estimate legend.form-label{font-size:var(--fs-h3) !important;font-weight:700 !important;letter-spacing:0.02em !important;}.kg-estimate .price-label{font-size:var(--fs-base) !important;}.kg-estimate .price-value{font-size:var(--fs-num-lg) !important;font-weight:700 !important;}.kg-estimate .price-breakdown .price-value{font-size:1.1rem !important;font-weight:500 !important;}.kg-estimate .price-breakdown .price-row.total .price-value{font-size:var(--fs-num) !important;font-weight:700 !important;}.kg-estimate .price-value.is-message{flex:0 1 auto;min-width:0;font-size:var(--fs-base) !important;font-weight:500 !important;white-space:normal;}.kg-estimate .btn,.kg-estimate .btn > span{border-radius:4px !important;box-shadow:none !important;font-size:var(--fs-base) !important;font-weight:500 !important;letter-spacing:0.02em !important;}.kg-estimate .btn-primary,.kg-estimate .btn-primary > span{font-weight:700 !important;}.kg-estimate .btn:focus-visible{outline:2px solid var(--color-primary-accessible) !important;outline-offset:2px;}@media (max-width:400px){.kg-estimate .btn{padding-left:1.25rem !important;padding-right:1.25rem !important;}}@supports (word-break:auto-phrase){.kg-estimate .btn{word-break:auto-phrase;overflow-wrap:anywhere;text-wrap:balance;}}@media (max-width:400px){.kg-estimate .result-section .btn{padding-left:0.75rem !important;padding-right:0.75rem !important;}}.kg-estimate .estimate-service-category{border-radius:4px !important;box-shadow:none !important;}@media print{.kg-estimate .result-section .btn{display:none !important;}.kg-estimate .result-section{background:none !important;}.kg-estimate .result-section,.kg-estimate .result-section *{color:var(--color-heading) !important;}.kg-estimate .result-section{border:1px solid var(--color-border-strong);}}
/* Main site look for the calculator. Values measured on /price/ (main-design.json): blue #155aa8, text #333, radius 4px, no shadows, gray box #f5f5f5. */
.kg-estimate{
  --color-primary:#155aa8;--color-primary-dark:#114886;--color-primary-light:#155aa8;--color-primary-hover:#114886;--color-primary-accessible:#155aa8;
  --color-cta:#155aa8;--color-cta-hover:#114886;--color-black:#333;--color-text-main:#333;--color-text-light:#666;--color-heading:#333;
  --color-cream:#f5f5f5;--color-bg-light:#f5f5f5;--color-surface-soft:#f5f5f5;--color-surface-blue:#f5f5f5;--color-border:rgba(0,0,0,.12);--color-border-strong:rgba(0,0,0,.12);
  --color-notice-bg:#f5f5f5;--color-notice-border:rgba(0,0,0,.12);--color-notice-accent:#333;--color-notice-text:#333;
  --border-radius-sm:4px;--border-radius-md:4px;--border-radius-lg:4px;
  --shadow-xs:none;--shadow-sm:none;--shadow-md:none;--shadow-lg:none;--shadow-primary:none;
  --font-main:inherit;--font-elegant:inherit;
  color:#333;
}
.kg-estimate *,.kg-estimate *::before,.kg-estimate *::after{box-sizing:border-box}
.kg-estimate .section{padding:2.5rem 0 3rem}
.kg-estimate .estimate-container{max-width:none;padding:0}
.kg-estimate .section-intro{margin:0 0 1.5rem;color:#333}
.kg-estimate .intro-line{display:none}
.kg-estimate .note-box{background:#f5f5f5;border:0;border-left:0;border-radius:0;color:#333;font-size:.95rem !important;padding:1.25rem 1.5rem}
.kg-estimate .note-box a{color:#04c}
.kg-estimate .form-section{box-shadow:none;border:1px solid rgba(0,0,0,.12);border-radius:0}
.kg-estimate .estimate-form-heading,.kg-estimate .estimate-result-heading{font-size:1.5rem;color:#155aa8;border-bottom:1px solid rgba(0,0,0,.12);margin-bottom:1.5rem;padding-bottom:.75rem}
.kg-estimate .estimate-form-heading::before,.kg-estimate .estimate-form-heading::after,.kg-estimate .estimate-result-heading::before,.kg-estimate .estimate-result-heading::after{display:none}
.kg-estimate .form-label{background:none;border:0;border-bottom:1px solid rgba(0,0,0,.12);border-radius:0;color:#333;font-size:1.05rem;margin-bottom:1rem;padding:0 0 .5rem}
.kg-estimate .estimate-category-title{color:#155aa8;border-bottom:0;font-size:1rem;margin-bottom:.75rem;padding-bottom:0}
.kg-estimate .estimate-service-category{border:0;background:none;padding:0;margin-bottom:1.25rem}
.kg-estimate .estimate-cond-block{background:#f5f5f5;border:0;border-radius:0;box-shadow:none}
.kg-estimate .radio-option,.kg-estimate .checkbox-option{border-radius:4px;background:#fff;margin:0}
.kg-estimate .radio-option.selected,.kg-estimate .checkbox-option:has(input:checked){background:#fff;border-color:#155aa8;box-shadow:none}
.kg-estimate .form-select,.kg-estimate .form-input{border-radius:4px;box-shadow:none}
.kg-estimate label span{line-height:1.5}
.kg-estimate .btn{border-radius:4px;box-shadow:none;font-weight:400;text-decoration:none;transform:none}
.kg-estimate .btn-primary{background:#155aa8;color:#fff;border:1px solid transparent}
.kg-estimate .btn-primary:hover{background:#114886;color:#fff}
.kg-estimate .result-section{background:#fff;color:#333;border:1px solid rgba(0,0,0,.12);border-top:4px solid #155aa8;border-radius:0;box-shadow:none}
.kg-estimate .result-section .estimate-result-heading{color:#155aa8;border-color:rgba(0,0,0,.12);text-align:left}
.kg-estimate .result-section .price-row,.kg-estimate .result-section .price-label,.kg-estimate .result-section .price-value,.kg-estimate .result-section .estimate-total-label{color:#333;border-color:rgba(0,0,0,.12)}
.kg-estimate .result-section .price-row.total,.kg-estimate .result-section .price-row.total .price-value{color:#155aa8}
.kg-estimate .result-section .btn-secondary,.kg-estimate .result-section .btn-outline{background:#fff;color:#155aa8;border:1px solid #155aa8}
.kg-estimate .result-section .btn-secondary:hover,.kg-estimate .result-section .btn-outline:hover{background:#f5f5f5;color:#114886}
.kg-estimate .result-section .btn-primary{background:#155aa8;color:#fff}
.kg-estimate .result-section .breakdown-detail,.kg-estimate .result-section .legal-fee-detail,.kg-estimate .result-section .price-breakdown{background:#f5f5f5;color:#333}
.kg-estimate .result-section .breakdown-detail *,.kg-estimate .result-section .legal-fee-detail *{color:#333}
.kg-estimate .estimate-required-badge{background:#155aa8;color:#fff;border-radius:4px}
.kg-estimate fieldset{border:0;margin:0 0 2rem;min-width:0;padding:0}
.kg-estimate legend{display:block;float:none;width:100%}
.kg-estimate .result-section .price-row.total{background:none;border-top:2px solid #155aa8}
.kg-estimate .result-section .price-row.total .estimate-total-label,.kg-estimate .result-section .price-row.total .price-label{color:#333 !important;opacity:1}
.kg-estimate .result-section .price-row.total .price-value{color:#155aa8 !important;opacity:1}
.kg-estimate .section-intro{color:#333 !important;font-weight:400 !important}
.kg-estimate .estimate-form-heading,.kg-estimate .estimate-result-heading{border-top:0 !important;padding-top:0 !important}
.kg-estimate .form-section::before,.kg-estimate .result-section::before{display:none}
.kg-estimate .form-label{border-radius:0 !important}
.kg-estimate .result-section .price-breakdown{background:none;padding:0}
.kg-estimate .result-section .price-row{padding-left:0;padding-right:0}
.kg-estimate .result-section .price-row.total{display:flex;flex-wrap:nowrap;align-items:baseline;justify-content:space-between;background:none !important;padding:1rem 0 .5rem}
.kg-estimate .result-section .price-row.total .price-value{font-size:1.75rem;font-weight:700;white-space:nowrap}
.kg-estimate #totalPrice{font-size:1.75rem !important;font-weight:700 !important;white-space:nowrap}
.kg-estimate .kg-note-list{list-style:disc;margin:.75rem 0 0;padding-left:1.4em}
.kg-estimate .kg-note-list li{list-style:disc;margin:0 0 .5rem;padding:0;line-height:1.7}
.kg-estimate .kg-note-list li:last-child{margin-bottom:0}
/* Pale blue from the editor palette (pale-blue #ebf1f8): full-width band behind the calculator, white cards on it. Shadow and clip keep it from widening the page. */
.kg-estimate .note-box a.text-primary{color:#04c !important}
.kg-estimate .result-section .estimate-cta-copy,.kg-estimate .result-section .estimate-cta-copy span{background:#fff;color:#155aa8;border-color:#155aa8}
.kg-estimate .result-section .estimate-cta-copy{border:1px solid #155aa8}
.kg-estimate .result-section .estimate-cta-copy:hover,.kg-estimate .result-section .estimate-cta-copy:hover span{background:#f5f5f5;color:#114886}
/* Below 1200px the theme's container is too narrow for a form beside a 380px result column (690px at 992px), so one column. */
@media (max-width:1199.98px){
  .kg-estimate .estimate-grid{grid-template-columns:minmax(0,1fr);gap:2rem}
  .kg-estimate .result-section{position:static}
}
.kg-estimate .form-input,.kg-estimate .form-select{min-height:44px}
.kg-estimate .estimate-era-num--year,.kg-estimate .estimate-era-num--month{min-width:4.5rem;padding-left:.5rem;padding-right:.5rem}
.kg-estimate #breakdownList li,.kg-estimate #breakdownList li span{min-width:0;overflow-wrap:anywhere}
/* A4 copy: built by printEstimate, hidden on screen, the only thing printed. */
.kg-print-sheet{display:none}
@page{size:A4;margin:14mm 15mm}
@media print{
  html,body{background:#fff !important;margin:0 !important;padding:0 !important}
  body>*:not(.kg-print-sheet){display:none !important}
  .kg-print-sheet{display:block;color:#333;font-size:10.5pt;line-height:1.55}
  .kg-print-sheet *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .kg-print-head{display:flex;justify-content:space-between;align-items:flex-end;border-bottom:2px solid #155aa8;padding-bottom:6pt;margin-bottom:8pt}
  .kg-print-head h1{color:#155aa8;font-size:18pt;margin:0;padding:0;background:none;border:0}
  .kg-print-head p{margin:0;font-size:10pt}
  .kg-print-lead{margin:0 0 10pt;font-size:9.5pt}
  .kg-print-sheet h2{color:#155aa8;font-size:11.5pt;margin:12pt 0 4pt;padding:0;background:none;border:0;text-align:left}
  .kg-print-sheet h2::after,.kg-print-sheet h2::before{display:none !important}
  .kg-print-sheet table{width:100%;border-collapse:collapse;margin:0;break-inside:avoid}
  .kg-print-sheet th,.kg-print-sheet td{border:1px solid #bbb;padding:3.5pt 6pt;font-size:10pt;font-weight:400;text-align:left;vertical-align:top;background:none;color:#333}
  .kg-print-sheet th{background:#f5f5f5;width:40%}
  .kg-print-sheet td{white-space:pre-line}
  .kg-print-sheet tr:not(.kg-print-sub) td{text-align:right}
  .kg-print-sub th,.kg-print-sub td{font-size:9pt}
  .kg-print-total th,.kg-print-total td{background:#ebf1f8;color:#155aa8;font-weight:700;font-size:12.5pt}
  .kg-print-sheet ul{margin:0;padding-left:1.3em;list-style:disc;font-size:9pt;line-height:1.5}
  .kg-print-sheet li{margin:0 0 2pt;list-style:disc}
  .kg-print-office{margin-top:12pt;border-top:1px solid #bbb;padding-top:6pt;font-size:9.5pt;break-inside:avoid}
  .kg-print-office p{margin:1pt 0 0}
}
/* Roles: gray #f5f5f5 = notes and supporting detail (as on the main site); pale blue = where the visitor works, what is selected, and the total. */
.kg-estimate .estimate-grid{background:#ebf1f8;box-shadow:0 0 0 100vmax #ebf1f8;clip-path:inset(0 -100vmax);padding:2.5rem 0;margin:2rem 0}
.kg-estimate .note-box{background:#f5f5f5}
.kg-estimate .form-section,.kg-estimate .result-section{background:#fff}
.kg-estimate .form-label{background:#f5f5f5;border:0;border-left:4px solid #155aa8;padding:.55rem .9rem;margin-bottom:1rem}
.kg-estimate .estimate-cond-block{background:#ebf1f8}
.kg-estimate .radio-option.selected,.kg-estimate .checkbox-option:has(input:checked){background:#ebf1f8}
.kg-estimate .result-section .breakdown-detail,.kg-estimate .result-section .legal-fee-detail{background:#f5f5f5}
.kg-estimate .result-section .price-row.total{background:#ebf1f8 !important;padding:1rem .75rem .75rem}
