.landed-tool { padding: 30px 0 76px; }
.landed-tool *, .landed-tool *::before, .landed-tool *::after { box-sizing: border-box; }
.landed-tool [hidden] { display: none !important; }
.landed-tool .cost-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; margin-bottom: 24px; color: var(--body); }
.landed-tool .cost-header { max-width: 820px; margin-bottom: 26px; }
.landed-tool h1 { font-size: clamp(30px,4vw,48px); line-height: 1.15; letter-spacing: -.035em; font-weight: 600; margin: 8px 0 16px; }
.landed-tool h2 { font-size: 24px; font-weight: 600; line-height: 1.3; margin: 0 0 14px; }
.landed-tool p, .landed-tool li { line-height: 1.65; }
.landed-tool .cost-header > p:last-child { font-size: 17px; color: var(--body); }
.landed-tool .cost-panel { background: #fffdfb; border: 1px solid var(--line); border-radius: 22px; padding: clamp(16px,3vw,28px); margin: 24px 0; }
.landed-tool .cost-notice { border-left: 4px solid #9b4777; border-radius: 0 12px 12px 0; padding: 14px 18px; background: #f8edf4; color: #5c3c4b; margin: 18px 0 24px; }
.landed-tool .cost-notice p { margin: 6px 0; }
.landed-tool .cost-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px 18px; }
.landed-tool fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.landed-tool legend { font-size: 18px; font-weight: 600; margin-bottom: 16px; padding: 0; }
.landed-tool .cost-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.landed-tool label { font-size: 14px; font-weight: 500; line-height: 1.4; }
.landed-tool input { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #cbbfc4; border-radius: 10px; background: #fff; color: var(--ink); font: 400 16px/1.35 'DM Sans',sans-serif; }
.landed-tool :is(input,button,a):focus-visible { outline: 3px solid #a43d6e; outline-offset: 3px; }
.landed-tool input[aria-invalid=true] { border: 2px solid #a62943; }
.landed-tool .cost-help { color: #6b6065; font-size: 13px; line-height: 1.55; margin: 0; }
.landed-tool .cost-error { color: #9b213b; font-size: 13px; line-height: 1.5; }
.landed-tool .cost-error:empty { display: none; }
.landed-tool .cost-errors { color: #92233b; background: #fff0f2; border: 1px solid #e9a6b4; border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.landed-tool .cost-errors p { margin-top: 0; }
.landed-tool .cost-errors ul { padding-left: 22px; margin-bottom: 0; }
.landed-tool .cost-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.landed-tool .cost-button { font: 500 14px/1.3 'DM Sans',sans-serif; cursor: pointer; min-height: 44px; border: 1px solid #cdbfc5; padding: 11px 16px; border-radius: 12px; background: #fff; color: #55454d; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.landed-tool .cost-button:hover { background: #fff0f6; }
.landed-tool .cost-button-primary { background: #97315e; border-color: #97315e; color: #fff; }
.landed-tool .cost-button-primary:hover { background: #7d264d; }
.landed-tool .cost-button:disabled { opacity: .5; cursor: not-allowed; }
.landed-tool .cost-status { min-height: 22px; margin: 12px 0 0; color: #6b6065; font-size: 13px; }
.landed-tool .cost-total-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 20px 0; }
.landed-tool .cost-total { background: #fff1f6; border-radius: 14px; padding: 20px; min-width: 0; }
.landed-tool .cost-total dt { font-size: 14px; color: #66555d; }
.landed-tool .cost-total dd { margin: 8px 0 0; font-size: clamp(23px,3vw,34px); font-weight: 500; overflow-wrap: anywhere; }
.landed-tool .cost-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 20px 0; }
.landed-tool .cost-table caption { text-align: left; font-weight: 500; padding: 12px 0; }
.landed-tool .cost-table th, .landed-tool .cost-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.landed-tool .cost-table th { text-align: left; font-weight: 500; }
.landed-tool .cost-table td { text-align: right; font-variant-numeric: tabular-nums; }
.landed-tool .cost-reading { max-width: 850px; margin-top: 40px; }
.landed-tool .cost-reading section { margin-top: 32px; }
.landed-tool .cost-reading a, .landed-tool .cost-help a, .landed-tool .cost-errors a { color: #913861; text-decoration: underline; text-underline-offset: 3px; }
.landed-tool .cost-formula { background: #f5f1fa; padding: 16px 20px; border-radius: 14px; line-height: 1.8; }
@media (max-width: 760px) {
  .landed-tool { padding-top: 20px; }
  .landed-tool .cost-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .landed-tool .cost-actions .cost-button-primary { flex: 1 0 100%; }
}
@media (max-width: 480px) {
  .landed-tool .cost-fields, .landed-tool .cost-total-grid { grid-template-columns: 1fr; }
  .landed-tool .cost-actions .cost-button { width: 100%; }
  .landed-tool .cost-total { padding: 16px; }
}
