/* ---------- policies (tsdev common policies) ---------- */
.pol-crumb { padding: 28px 0 0; }
.pol-crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-faint); }
.pol-crumb li { display: inline-flex; align-items: center; gap: 8px; }
.pol-crumb li + li::before { content: "/"; color: var(--ink-faint); }
.pol-crumb a { color: var(--ink-soft); text-decoration: none; }
.pol-crumb a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.pol-crumb [aria-current="page"] { color: var(--ink); font-weight: 700; }

.pol-head { padding: 26px 0 22px; border-bottom: 2px solid var(--ink); }
.pol-en { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--blue); text-transform: uppercase; }
.pol-head h1 { font-size: clamp(25px, 3.8vw, 32px); font-weight: 700; margin: 0; line-height: 1.35; }
.pol-lead { color: var(--ink-soft); max-width: 720px; margin: 18px 0 0; font-size: 15px; line-height: 1.9; }

.pol-mgmt { border-collapse: collapse; width: 100%; max-width: 560px; margin: 26px 0 6px; font-size: 14px; }
.pol-cap { text-align: left; font-weight: 700; font-size: 14px; color: var(--ink); padding-bottom: 8px; }
.pol-mgmt th, .pol-mgmt td { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 12px 8px 0; text-align: left; vertical-align: top; }
.pol-mgmt th { font-weight: 700; color: var(--ink); white-space: nowrap; width: 130px; }
.pol-mgmt td { color: var(--ink-soft); }

.pol-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 56px; align-items: start; margin-top: 14px; padding-bottom: 24px; }
.pol-body { max-width: 760px; min-width: 0; }
.pol-sec { scroll-margin-top: 96px; }
.pol-sec h2 { font-size: 18px; font-weight: 700; margin: 38px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); line-height: 1.5; }
.pol-sec:first-child h2 { margin-top: 22px; border-top: 0; padding-top: 0; }
.pol-body p { color: var(--ink-soft); margin: 0 0 12px; font-size: 15.5px; line-height: 1.95; }
.pol-items { color: var(--ink-soft); margin: 0 0 14px; padding-left: 1.6em; font-size: 15.5px; line-height: 1.95; }
.pol-items li { margin-bottom: 6px; }
.pol-items li::marker { font-weight: 700; color: var(--ink); }
.pol-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.pol-rev { border-collapse: collapse; width: 100%; margin: 6px 0 16px; font-size: 14px; }
.pol-rev th, .pol-rev td { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); padding: 9px 12px 9px 0; text-align: left; vertical-align: top; }
.pol-rev th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.pol-rev td { color: var(--ink-soft); }
.pol-back { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.pol-back a { font-weight: 700; text-decoration: none; color: var(--ink); }
.pol-back a:hover { color: var(--blue); }

.pol-toc { position: sticky; top: 96px; border-left: 1px solid var(--line); padding-left: 20px; }
.pol-toc-title { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--ink); margin: 0 0 12px; }
.pol-toc ol { list-style: none; margin: 0; padding: 0; }
.pol-toc li { margin: 0 0 7px; }
.pol-toc a { font-size: 13.5px; color: var(--ink-soft); text-decoration: none; line-height: 1.5; display: block; }
.pol-toc a:hover { color: var(--blue); }
.pol-toc a.active { color: var(--blue); font-weight: 700; }
.pol-toc-mobile { display: none; }

.pol-cat { margin-top: 44px; }
.pol-cat-head { border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 6px; }
.pol-cat-head h2 { font-size: 19px; font-weight: 700; margin: 0; }
.pol-cat-note { color: var(--ink-soft); font-size: 15px; line-height: 1.9; max-width: 760px; margin: 16px 0 0; }
.pol-list { list-style: none; margin: 0; padding: 0; }
.pol-list a {
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: baseline;
  padding: 16px 2px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.pol-list .pl-name { font-size: 16px; font-weight: 700; }
.pol-list .pl-desc { grid-column: 1; color: var(--ink-soft); font-size: 14px; margin-top: 4px; line-height: 1.7; }
.pol-list .pl-meta { font-size: 12px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 3px 8px; white-space: nowrap; }
.pol-list a:hover .pl-name { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .pol-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pol-toc { display: none; }
  .pol-toc-mobile {
    display: block; margin-top: 22px; border: 1px solid var(--line); padding: 12px 16px;
  }
  .pol-toc-mobile summary { font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink); }
  .pol-toc-mobile ol { margin: 12px 0 4px; padding-left: 1.4em; }
  .pol-toc-mobile li { margin-bottom: 6px; }
  .pol-toc-mobile a { color: var(--ink-soft); text-decoration: none; font-size: 14px; }
  .pol-toc-mobile a:hover { color: var(--blue); }
  .pol-mgmt th { width: 108px; }
}
