.toy-sim-root { --toy-ink:#193d39; --toy-accent:#20665b; --toy-muted:#536562; color:var(--toy-ink); background:#fcfbf7; border:1px solid #d6e1da; border-radius:20px; max-width:840px; margin:24px auto; padding:clamp(14px,4vw,36px); font:16px/1.7 system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Meiryo",sans-serif; overflow-wrap:anywhere; text-align:left; }
.toy-sim-root *, .toy-sim-root *::before, .toy-sim-root *::after { box-sizing:border-box; }
.toy-sim-root [hidden] { display:none !important; }
.toy-sim-root.toy-sim-root h2, .toy-sim-root.toy-sim-root h3, .toy-sim-root.toy-sim-root h4 { background:none !important; border:0 !important; border-radius:0 !important; padding:0 !important; margin:0 0 16px !important; color:var(--toy-ink) !important; line-height:1.5; font-weight:700; box-shadow:none; }
.toy-sim-root.toy-sim-root h2::before, .toy-sim-root.toy-sim-root h2::after, .toy-sim-root.toy-sim-root h3::before, .toy-sim-root.toy-sim-root h3::after, .toy-sim-root.toy-sim-root h4::before, .toy-sim-root.toy-sim-root h4::after { content:none !important; }
.toy-sim-root.toy-sim-root h2 { font-size:clamp(24px,5vw,34px) !important; letter-spacing:.02em; }
.toy-sim-root.toy-sim-root h3 { font-size:21px !important; }
.toy-sim-root.toy-sim-root h4 { font-size:18px !important; }
.toy-sim-root p { margin:0 0 14px; }
.toy-sim-root .toy-sim-header { border-bottom:1px solid #d6e1da; margin-bottom:26px; padding-bottom:16px; }
.toy-sim-root .toy-sim-eyebrow, .toy-sim-root .toy-sim-progress { color:var(--toy-accent); font-size:13px; font-weight:700; letter-spacing:.07em; }
.toy-sim-root .toy-sim-money { font-size:clamp(20px,4vw,28px); font-weight:750; line-height:1.5; font-variant-numeric:tabular-nums; }
.toy-sim-root input, .toy-sim-root select, .toy-sim-root button { font:inherit; max-width:100%; }
.toy-sim-root input[type="text"], .toy-sim-root select { display:block; width:100%; min-height:48px; border:1px solid #879c96; border-radius:8px; padding:10px 12px; color:var(--toy-ink); background:white; margin:8px 0 16px; }
.toy-sim-root label { display:block; }
.toy-sim-root fieldset { min-width:0; margin:0 0 16px; padding:0; border:0; }
.toy-sim-root legend { padding:0; margin-bottom:12px; font-size:14px; color:var(--toy-muted); }
.toy-sim-root .toy-sim-choice { display:flex; align-items:center; gap:12px; padding:14px; min-height:52px; background:white; border:1px solid #b1c1b9; border-radius:10px; margin:10px 0; cursor:pointer; }
.toy-sim-root input[type="radio"] { width:20px; height:20px; flex:0 0 20px; margin:0; accent-color:var(--toy-accent); }
.toy-sim-root .toy-sim-choice:has(input:checked) { border:2px solid var(--toy-accent); padding:13px; background:#edf5ef; }
.toy-sim-root .toy-sim-button { display:inline-block; min-height:48px; width:auto; white-space:normal; border:2px solid var(--toy-accent); border-radius:10px; padding:10px 20px; margin:8px 8px 8px 0; background:var(--toy-accent); color:white; cursor:pointer; box-shadow:none; text-decoration:none; }
.toy-sim-root .toy-sim-secondary { background:white; color:var(--toy-accent); }
.toy-sim-root .toy-sim-button:hover { filter:brightness(.92); }
.toy-sim-root :focus-visible { outline:3px solid #995200; outline-offset:3px; }
.toy-sim-root [aria-invalid="true"] { border:2px solid #a51c20; }
.toy-sim-root .toy-sim-error { color:#a51c20; font-weight:700; }
.toy-sim-root .toy-sim-error:empty, .toy-sim-root .toy-sim-notice:empty { display:none; }
.toy-sim-root .toy-sim-notice { padding:12px; border-left:4px solid #9b6600; background:#fff3d8; color:#614006; }
.toy-sim-root .toy-sim-small { font-size:13px; color:var(--toy-muted); }
.toy-sim-root .toy-sim-nav { display:flex; flex-wrap:wrap; gap:8px; margin:18px 0; }
.toy-sim-root .toy-sim-nav .toy-sim-button { flex:1; margin:0; }
.toy-sim-root .toy-sim-child { padding:14px 0; border-bottom:1px solid #d6e1da; }
.toy-sim-root .toy-sim-section { margin:30px 0; padding:0; }
.toy-sim-root .toy-sim-card { background:white; border:1px solid #cfddd4; border-radius:12px; padding:clamp(12px,3vw,22px); margin:16px 0; min-width:0; }
.toy-sim-root .toy-sim-summary { background:#e6f1e9; padding:18px; border-radius:10px; font-size:20px; font-weight:700; }
.toy-sim-root dl { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:8px 12px; margin:16px 0; }
.toy-sim-root dt, .toy-sim-root dd { margin:0; padding:0; font-size:14px; }
.toy-sim-root dt { color:var(--toy-muted); }
.toy-sim-root a { color:#175a83; background:none; text-decoration:underline; font-weight:600; overflow-wrap:anywhere; }
.toy-sim-root details { border-top:1px solid #cfddd4; padding:14px 0; }
.toy-sim-root summary { cursor:pointer; padding:8px 0; min-height:44px; font-weight:700; }
@media (max-width:430px) { .toy-sim-root .toy-sim-button { width:100%; margin-right:0; } .toy-sim-root .toy-sim-nav .toy-sim-button { flex:1 1 100%; } .toy-sim-root.toy-sim-root h3 { font-size:19px !important; } }

.toy-sim-root[data-toy-sim-view="results"] > .toy-sim-header { display:none; }
.toy-sim-root[data-toy-sim-view="results"] .toy-sim-section { margin:18px 0; }
.toy-sim-root .toy-sim-conclusion .toy-sim-summary { margin-bottom:10px; padding:14px 16px; }
.toy-sim-root .toy-sim-result-difference { font-size:18px; font-weight:700; margin-bottom:8px; }
.toy-sim-root .toy-sim-conclusion .toy-sim-small, .toy-sim-root .toy-sim-resale-state { margin-bottom:8px; }
.toy-sim-root .toy-sim-candidate-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:start; }
.toy-sim-root .toy-sim-candidate-grid .toy-sim-card { margin:0; padding:16px; }
.toy-sim-root .toy-sim-candidate-grid .toy-sim-money { font-size:24px; }
.toy-sim-root .toy-sim-candidate-grid .toy-sim-short-reason { margin-bottom:12px; }
@media (max-width:600px) { .toy-sim-root .toy-sim-candidate-grid { grid-template-columns:minmax(0,1fr); } }
