.gcd-root{--gcd-deep:#15594d;--gcd-green:#198b78;--gcd-mint:#eaf9f4;--gcd-border:#cce8de;--gcd-ink:#243c36;--gcd-muted:#627973;--gcd-red:#c62828;color:var(--gcd-ink);font-family:system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:15px;line-height:1.75;max-width:900px;margin:25px auto;isolation:isolate}
.gcd-root *, .gcd-root *::before,.gcd-root *::after{box-sizing:border-box}
.gcd-root [hidden]{display:none!important}
.gcd-root .gcd-shell{background:var(--gcd-mint);border:1px solid var(--gcd-border);border-radius:24px;padding:clamp(18px,4vw,42px);box-shadow:0 12px 40px rgba(17,88,71,.07)}
.gcd-root .gcd-header{display:flex;align-items:center;gap:19px;margin-bottom:22px}
.gcd-root .gcd-logo-frame{background:#bcefe0;border-radius:19px;padding:5px;flex:0 0 80px;height:80px}
.gcd-root .gcd-logo-inner{background:#fff;border-radius:15px;height:100%;display:flex;align-items:center;justify-content:center}
.gcd-root .gcd-logo-inner img{display:block;width:62px;height:62px;object-fit:contain}
.gcd-root h2,.gcd-root h3,.gcd-root h4,.gcd-root h5{color:var(--gcd-deep);margin:0;font-family:inherit;line-height:1.45}
.gcd-root h2{font-size:clamp(21px,3vw,28px);font-weight:800;letter-spacing:.02em}
.gcd-root h3{font-size:22px;display:flex;align-items:center;gap:12px;margin-bottom:13px}
.gcd-root h4{font-size:clamp(24px,4vw,32px)}.gcd-root h5{font-size:17px;margin-bottom:12px}
.gcd-root p{margin:0}.gcd-root .gcd-eyebrow{color:var(--gcd-green);font-size:12px;font-weight:700;letter-spacing:.06em;margin:0 0 5px}.gcd-root .gcd-lead{color:var(--gcd-muted);font-size:14px;margin-top:7px}
.gcd-root .gcd-progress{height:8px;background:#d7ebe4;border-radius:999px;overflow:hidden}.gcd-root .gcd-progress-fill{display:block;height:100%;background:#36b59b;transition:width .2s;border-radius:999px}
.gcd-root .gcd-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:14px 0 26px;color:#78968d;font-size:12px;font-weight:700;text-align:center}.gcd-root .gcd-steps span{padding:6px 3px;border-radius:10px}.gcd-root .gcd-steps .is-active{color:var(--gcd-deep);background:#d2f3e8}.gcd-root .gcd-steps .is-complete{color:var(--gcd-green)}
.gcd-root .gcd-panel{background:#fff;border:1px solid #d7ece4;padding:clamp(18px,3vw,30px);border-radius:18px;min-height:330px}
.gcd-root .gcd-number{font-size:13px;color:#fff;background:var(--gcd-green);border-radius:9px;padding:5px 10px;font-weight:800}.gcd-root .gcd-note{font-size:13px;color:var(--gcd-muted);margin:0 0 18px}
.gcd-root .gcd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.gcd-root .gcd-field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:700;color:#38534c;min-width:0}
.gcd-root select,.gcd-root input{display:block;width:100%;border:1px solid #bddbd0;border-radius:11px;background:#fff;min-height:46px;padding:9px 12px;font:inherit;color:#243c36;box-shadow:none;max-width:100%}
.gcd-root select:focus,.gcd-root input:focus{outline:2px solid #33ad93;outline-offset:1px;border-color:#33ad93}.gcd-root input.is-negative,.gcd-root .is-negative{color:var(--gcd-red)!important}
.gcd-root .gcd-money-wrap{position:relative;display:block}.gcd-root .gcd-money-wrap input{padding-right:35px;text-align:right;font-variant-numeric:tabular-nums}.gcd-root .gcd-money-wrap>span{position:absolute;right:12px;top:9px;color:#768e86;font-weight:400}
.gcd-root .gcd-money-field{min-width:0}.gcd-root .gcd-text-button{border:0;background:transparent;color:#0b8572;cursor:pointer;text-decoration:underline;font-size:13px;padding:6px 0 0;text-align:left;font-weight:700}.gcd-root .gcd-calc{background:#eefbf5;border:1px solid #c8eee1;border-radius:12px;margin-top:22px;padding:14px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px}.gcd-root .gcd-calc:empty{display:none}.gcd-root .gcd-calc strong{font-size:21px;color:var(--gcd-deep);font-variant-numeric:tabular-nums}
.gcd-root .gcd-question{padding:0;margin:0 0 20px;border:0}.gcd-root .gcd-question legend{font-size:15px;font-weight:700;color:var(--gcd-deep);margin-bottom:8px}.gcd-root .gcd-question select{max-width:100%}.gcd-root .gcd-optional-debt,.gcd-root .gcd-tax-optional{border-left:3px solid #90d6c1;background:#f6fcf9;padding:12px 16px;margin:-5px 0 20px}.gcd-root .gcd-optional-debt .gcd-note,.gcd-root .gcd-tax-optional .gcd-note{margin:7px 0 0}
.gcd-root .gcd-footer{display:flex;justify-content:space-between;gap:12px;margin-top:22px}.gcd-root .gcd-btn{border-radius:12px;padding:12px 24px;font-size:15px;font-weight:800;cursor:pointer;border:1px solid var(--gcd-green);transition:transform .1s}.gcd-root .gcd-btn:hover{transform:translateY(-1px)}.gcd-root .gcd-btn-primary{margin-left:auto;background:var(--gcd-deep);color:#fff}.gcd-root .gcd-btn-light{background:#fff;color:var(--gcd-deep)}.gcd-root .gcd-privacy{font-size:12px;text-align:center;color:#6a8179;margin:16px 0 0}
.gcd-root .gcd-alert{padding:12px 16px;background:#fff0f0;border:1px solid #e9a4aa;border-radius:10px;color:#ae2630;margin-bottom:15px;font-weight:700}
.gcd-root .gcd-result-hero{border-radius:15px;background:linear-gradient(120deg,#e4f8ee,#f0fbf7);padding:22px;margin-bottom:20px}.gcd-root .gcd-type-row{display:flex;align-items:center;gap:13px;margin-bottom:13px;min-width:0}
.gcd-root .gcd-result-icon{display:block;flex:0 0 32px;width:32px;height:32px;object-fit:contain}
.gcd-root .gcd-type-text{flex:1;min-width:0}
.gcd-root .gcd-result-hero .gcd-type-kicker{font-size:13px;font-weight:700;color:#497e70;line-height:1.4;margin:0 0 2px}
.gcd-root .gcd-result-hero .gcd-type-name{font-size:clamp(19px,3.4vw,26px);font-weight:900;color:#15594d;letter-spacing:.01em;line-height:1.35;margin:0}.gcd-root .gcd-result-hero h4{font-size:clamp(18px,4vw,24px);line-height:1.6;background:#dcefe7;border-radius:12px;padding:16px 18px}.gcd-root .gcd-result-hero .gcd-result-description{font-size:clamp(16px,2.7vw,19px);line-height:1.85;color:#45655b;margin-top:12px}
.gcd-root .gcd-result-section{border-bottom:1px solid var(--gcd-border);padding:16px 0}.gcd-root .gcd-result-section ol,.gcd-root .gcd-result-section ul{margin:0;padding-left:23px}.gcd-root .gcd-result-section li{padding:4px 0}.gcd-root .gcd-metrics>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed #e0e9e5}.gcd-root .gcd-metrics strong{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--gcd-deep)}.gcd-root .gcd-alert-section{color:#aa303b}.gcd-root .gcd-disclaimer{margin:12px 0 0;font-size:12px}
.gcd-root .gcd-dialog{position:fixed;max-width:min(860px,95vw);width:860px;max-height:90vh;overflow:auto;border-radius:16px;border:1px solid #bbddce;box-shadow:0 15px 65px #19392c65;padding:22px;background:white;color:#28473d}.gcd-root .gcd-dialog::backdrop{background:rgba(8,28,23,.62)}.gcd-root .gcd-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.gcd-root .gcd-close{font-size:28px;background:transparent;border:0;cursor:pointer;color:#305c50}.gcd-root .gcd-guide-warning{padding:12px 14px;border:1px solid #e8bbb7;background:#fff4f3;color:#963830;border-radius:9px;margin-bottom:14px}.gcd-root .gcd-guide-image{display:block;width:100%;height:auto;border:1px solid #dae1de;margin-bottom:14px}.gcd-root .gcd-dialog-body a{color:#087e67;font-weight:700}
@media(max-width:640px){.gcd-root{margin:14px auto;font-size:14px}.gcd-root .gcd-shell{padding:15px;border-radius:17px}.gcd-root .gcd-header{gap:11px;align-items:flex-start}.gcd-root .gcd-logo-frame{flex-basis:58px;height:58px;border-radius:13px;padding:4px}.gcd-root .gcd-logo-inner{border-radius:10px}.gcd-root .gcd-logo-inner img{width:44px;height:44px}.gcd-root .gcd-grid{grid-template-columns:1fr;gap:16px}.gcd-root .gcd-panel{padding:18px 14px}.gcd-root .gcd-steps{font-size:10px;gap:1px}.gcd-root h3{font-size:19px}.gcd-root .gcd-calc{flex-direction:column;align-items:flex-start}.gcd-root .gcd-metrics>div{font-size:13px;align-items:flex-start}.gcd-root .gcd-metrics strong{white-space:normal;text-align:right}.gcd-root .gcd-btn{padding:12px 15px}.gcd-root .gcd-result-hero .gcd-type-name{font-size:21px}.gcd-root .gcd-result-hero h4{font-size:18px;padding:14px 15px}.gcd-root .gcd-result-hero .gcd-result-description{font-size:17px}}
/* Multi-select questions, scoped to the plugin. */
.gcd-root .gcd-check-group{display:grid;gap:9px}
.gcd-root .gcd-check-option{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.55;padding:8px 10px;border:1px solid #dceee7;border-radius:9px;cursor:pointer}
.gcd-root .gcd-check-option input[type="checkbox"]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:2px 0 0;accent-color:#217e6b}

/* PDF reference and negative indicators; scoped to widget */
.gcd-root .gcd-pdf-reference{margin-top:14px}
.gcd-root .gcd-pdf-viewer{display:block;width:100%;height:60vh;min-height:320px;border:1px solid #dce9e4;border-radius:8px;margin:14px 0}
.gcd-root .gcd-metrics strong.is-negative,.gcd-root .gcd-calc strong.is-negative{color:#c62828}
.gcd-root .gcd-result-hero .gcd-result-description{white-space:normal}

/* iOS-safe signed amount field: numeric keypad + explicit sign toggle. */
.gcd-root .gcd-money-wrap input[data-negative="1"]{padding-left:46px}
.gcd-root .gcd-sign-toggle{position:absolute;left:6px;top:50%;transform:translateY(-50%);min-width:32px;height:32px;border:1px solid #b8d9cb;background:#f5fbf8;border-radius:8px;color:var(--gcd-deep);font-size:19px;font-weight:700;line-height:1;cursor:pointer;padding:0;z-index:1}
.gcd-root .gcd-sign-toggle:focus-visible{outline:2px solid #33ad93;outline-offset:2px}

/* Prevent Safari from zooming into focused 14px fields on iPhone. */
@media(max-width:640px){.gcd-root .gcd-money-wrap input{font-size:16px}}
