/* Comparison pages and the study-schedule tool, on the legal-page shell (legal.css). */
.product-legal .compare { max-width:88ch; }
.product-legal .compare-draft { display:inline-block; margin:0 0 16px; padding:4px 10px; border:1px solid var(--line); border-radius:4px; font-size:.8125rem; color:#4b5644; }
.product-legal .compare-answer { font-size:1.1875rem; line-height:1.6; letter-spacing:-.01em; max-width:62ch; }
.product-legal .compare-table-wrap { margin-block:32px 8px; }
.product-legal .compare-table { width:100%; border-collapse:collapse; font-size:.9375rem; line-height:1.5; }
.product-legal .compare-table caption { text-align:left; font-weight:500; padding-bottom:12px; }
.product-legal .compare-table :is(th,td) { text-align:left; vertical-align:top; padding:12px 12px 12px 0; border-bottom:1px solid var(--line); }
.product-legal .compare-table thead th { font-weight:500; border-bottom:1px solid var(--ink); }
.product-legal .compare-table tbody th { font-weight:500; width:16%; }
.product-legal .compare-table td:last-child { color:#4b5644; }
.product-legal .compare-table-wide td:last-child { color:inherit; }
.product-legal .compare h3 { font-size:1.125rem; margin:28px 0 8px; }
.product-legal .compare-faq h3 + p { margin-top:0; }
.product-legal .compare-sources ul, .product-legal .compare-more ul { padding-left:1.25em; }
.product-legal .compare-sources li, .product-legal .compare-more li { margin-top:4px; }
.product-legal .compare-sources a, .product-legal .compare-more a { display:inline-block; min-height:32px; padding-block:4px; }
.product-legal .compare-checked { font-size:.9375rem; color:#4b5644; }
.product-legal .compare-cta { margin-top:48px; }
.product-legal .compare-cta .action-link { margin-top:0; }
.product-legal .compare-more h2 { font-size:1.25rem; margin-top:40px; }
@media (max-width:720px) {
  .product-legal .compare-table, .product-legal .compare-table tbody, .product-legal .compare-table tr,
  .product-legal .compare-table th, .product-legal .compare-table td { display:block; width:auto; }
  .product-legal .compare-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .product-legal .compare-table tr { padding-block:12px; border-bottom:1px solid var(--line); }
  .product-legal .compare-table :is(th,td) { border:0; padding:4px 0; }
  .product-legal .compare-table caption { display:block; }
  .product-legal .compare-table tbody th { width:auto; font-size:1.0625rem; padding-bottom:6px; }
  .product-legal .compare-table td::before { content:attr(data-label); display:block; font-size:.8125rem; color:#4b5644; }
}

/* Study-schedule tool */
.product-legal .tool-form label, .product-legal .tool-form legend { display:block; font-weight:500; margin-bottom:8px; }
.product-legal .tool-form textarea, .product-legal .tool-form input[type="date"], .product-legal .tool-form select, .product-legal .tool-plan input[type="text"], .product-legal .tool-plan input[type="date"] {
  font:inherit; font-size:1rem; color:var(--ink); background:#fffdf8; border:1px solid #8a9184; border-radius:6px; padding:10px 12px; min-height:44px; box-sizing:border-box; max-width:100%;
}
.product-legal .tool-form textarea { width:100%; min-height:180px; line-height:1.5; resize:vertical; }
.product-legal :is(.tool-form,.tool-plan) :is(textarea,input,select):focus-visible { outline:2px solid var(--signal); outline-offset:2px; }
.product-legal .tool-hint { font-size:.875rem; color:#4b5644; margin:6px 0 0; }
.product-legal .tool-row { display:flex; flex-wrap:wrap; gap:12px 24px; align-items:flex-end; margin-top:20px; }
.product-legal .tool-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
.product-legal .tool-btn { font:inherit; font-size:.9375rem; min-height:44px; padding:10px 18px; border-radius:6px; border:1px solid var(--ink); background:var(--paper); color:var(--ink); cursor:pointer; }
.product-legal .tool-btn.primary { background:var(--ink); color:var(--paper); }
.product-legal .tool-btn.small { min-height:44px; padding:8px 12px; font-size:.875rem; }
.product-legal .tool-btn:focus-visible { outline:2px solid var(--signal); outline-offset:3px; }
.product-legal .tool-check { display:flex; gap:10px; align-items:center; min-height:44px; font-weight:400; }
.product-legal .tool-check input { width:20px; height:20px; margin:0; }
.product-legal .tool-status { min-height:1.5em; margin-top:16px; font-size:.9375rem; }
.product-legal .tool-plan { margin-top:24px; }
.product-legal .tool-item { border-top:1px solid var(--ink); padding:16px 0 24px; }
.product-legal .tool-item-head { display:grid; grid-template-columns:1fr auto; gap:8px 12px; align-items:end; }
.product-legal .tool-item-head input[type="text"] { width:100%; font-weight:500; }
.product-legal .tool-field { display:flex; flex-direction:column; gap:4px; font-size:.8125rem; color:#4b5644; }
.product-legal .legal-content .tool-steps { list-style:none; padding:0; margin:12px 0 0; }
.product-legal .tool-steps li { display:grid; grid-template-columns:auto 1fr auto; gap:8px; align-items:center; margin:0; padding:6px 0; border-bottom:1px solid var(--line); }
.product-legal .tool-steps li + li { margin-top:0; }
.product-legal .tool-steps input[type="text"] { width:100%; }
.product-legal .tool-past { font-size:.875rem; color:#8e3a28; margin:8px 0 0; }
.product-legal .tool-note { margin-top:40px; padding:20px 0 4px 20px; border-left:2px solid #52624e; }
.product-legal .visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media (max-width:560px) {
  .product-legal .tool-item-head { grid-template-columns:1fr; }
  .product-legal .tool-steps li { grid-template-columns:1fr auto; grid-template-areas:"date remove" "text text"; }
  .product-legal .tool-steps li input[type="date"] { grid-area:date; width:100%; }
  .product-legal .tool-steps li input[type="text"] { grid-area:text; }
  .product-legal .tool-steps li button { grid-area:remove; }
}
@media print {
  .product-legal :is(.site-head,.site-footer,.skip,.tool-form,.tool-actions,.tool-note,.compare-draft,.compare-cta,.tool-btn,.legal-meta) { display:none !important; }
  .product-legal .tool-plan input { border:0; padding:0; min-height:0; background:none; }
  .product-legal .tool-item { break-inside:avoid; }
}
