/* TOKEN GAP, flagged for plan 0157's palette (../../../docs/plans/0157-stya-design-system.md): --link is
   #006F4F in light and #4CC79B in dark. Neither value is in packages/teal-tokens yet; they come from the
   owner-approved mock (2026-10-27). Every other value here equals the mock; when 0157 names a link role,
   replace these two and nothing else. */
@font-face{font-family:"Plus Jakarta Sans";src:url("/fonts/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");font-weight:200 800;font-display:swap}
:root{color-scheme:light dark;--bg:#F1F1EE;--surface:#FFFFFF;--text:#161715;--text2:#575A55;--sep:#DDDDD8;--link:#006F4F;--brand:#008760;--mark:#FBF0D9;--on-mark:#6A3D00;--focus:#161715}
@media (prefers-color-scheme:dark){:root{--bg:#000000;--surface:#1C1C1E;--text:#FFFFFF;--text2:#98989F;--sep:#38383A;--link:#4CC79B;--mark:#36290B;--on-mark:#F7D58E;--focus:#FFFFFF}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:400 16px/26px "Plus Jakarta Sans",system-ui,sans-serif;font-optical-sizing:auto}
a{color:var(--link);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
a:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:4px}
.skip{position:absolute;left:-9999px}.skip:focus{left:16px;top:8px;background:var(--surface);padding:8px 12px;z-index:1}
.wrap{max-width:1040px;margin:0 auto;padding:0 20px}
.site-head{border-bottom:1px solid var(--sep)}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;min-height:64px;gap:16px}
.mark{display:flex;color:var(--brand);padding:8px 0}
.mark svg{height:28px;width:auto}
.langs{display:flex;gap:4px;margin-right:-10px}
.langs a{font-size:14px;line-height:20px;padding:12px 10px;color:var(--text2);text-decoration:none;white-space:nowrap}
.langs a:hover{color:var(--text)}
.langs a[aria-current]{color:var(--text);font-weight:600;text-decoration:underline;text-decoration-color:var(--brand);text-decoration-thickness:2px;text-underline-offset:6px}
article{max-width:680px;min-width:0}
.doc-head{margin:40px 0 24px}
h1{font-size:32px;line-height:40px;font-weight:700;letter-spacing:-0.015em;margin:0}
.meta{font-size:14px;line-height:20px;color:var(--text2);margin:12px 0 0}
h2{font-size:22px;line-height:28px;font-weight:700;letter-spacing:-0.01em;margin:48px 0 12px;scroll-margin-top:16px}
h3{font-size:17px;line-height:24px;font-weight:700;margin:32px 0 8px;scroll-margin-top:16px}
p{margin:16px 0}
ul{padding-left:22px;margin:16px 0}li{margin:6px 0}li::marker{color:var(--text2)}
mark.owner{background:var(--mark);color:var(--on-mark);font-size:.8125em;line-height:1.4;padding:1px 6px;border-radius:4px}
.toc-inline{margin:24px 0 8px;background:var(--surface);border:1px solid var(--sep);border-radius:12px}
.toc-inline summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:0 16px;font-size:15px;font-weight:600}
.toc-inline summary::-webkit-details-marker{display:none}
.toc-inline summary::after{content:"";width:8px;height:8px;border-right:2px solid var(--text2);border-bottom:2px solid var(--text2);transform:rotate(45deg) translateY(-3px)}
.toc-inline[open] summary::after{transform:rotate(-135deg) translateY(-1px)}
.toc-inline ol{margin:0;padding:0 16px 12px 40px;border-top:1px solid var(--sep);padding-top:8px}
.toc-inline li{font-size:15px;line-height:20px;margin:0}.toc-inline li::marker{font-variant-numeric:tabular-nums}
.toc-inline a{display:block;padding:12px 0;text-decoration:none}
.toc-rail{display:none}
.table{margin:20px 0 24px;background:var(--surface);border:1px solid var(--sep);border-radius:12px;overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:15px;line-height:22px}
th{text-align:left;vertical-align:bottom;font-size:13px;line-height:18px;font-weight:600;color:var(--text2);padding:12px 16px;border-bottom:1px solid var(--sep)}
td{vertical-align:top;padding:12px 16px;border-top:1px solid var(--sep)}
tbody tr:first-child td{border-top:0}
td:first-child{font-weight:600}
.cols-2 td:first-child{width:36%}
@media (max-width:639px){
 .stack thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 .stack table,.stack tbody,.stack tr,.stack td{display:block}
 .stack tr{padding:14px 16px;border-top:1px solid var(--sep)}.stack tbody tr:first-child{border-top:0}
 .stack td{padding:3px 0;border:0;width:auto}
 .stack td:first-child{font-size:16px;line-height:24px;padding-bottom:6px;width:auto}
 .stack td:not(:first-child)::before{content:attr(data-label);display:block;font-size:12px;line-height:16px;font-weight:600;color:var(--text2);margin-top:6px}
}
.site-foot{border-top:1px solid var(--sep);margin-top:80px;padding:28px 0 48px}
.site-foot ul{display:flex;flex-wrap:wrap;gap:4px 24px;list-style:none;margin:0;padding:0}
.site-foot li{margin:0}
.site-foot ul a{display:inline-block;padding:12px 0;font-size:15px;line-height:20px;color:var(--text);text-decoration:none}
.site-foot ul a:hover{text-decoration:underline}
.site-foot ul a[aria-current]{font-weight:600;text-decoration:underline;text-decoration-color:var(--brand);text-decoration-thickness:2px;text-underline-offset:6px}
.site-foot p{font-size:13px;line-height:18px;color:var(--text2);margin:12px 0 0}
@media (min-width:768px){
 body{font-size:17px;line-height:28px}
 .wrap{padding:0 32px}
 .mark svg{height:32px}
 .doc-head{margin-top:64px}
 h1{font-size:40px;line-height:48px}
}
@media (min-width:1024px){
 .doc.has-toc:not([hidden]){display:grid;grid-template-columns:220px minmax(0,680px);column-gap:72px}
 .has-toc .toc-inline{display:none}
 .toc-rail{display:block;position:sticky;top:24px;align-self:start;margin-top:72px;max-height:calc(100vh - 48px);overflow:auto}
 .toc-label{font-size:13px;line-height:16px;font-weight:600;color:var(--text2);margin:0 0 4px}
 .toc-rail ol{list-style:none;margin:0;padding:0;border-left:1px solid var(--sep)}
 .toc-rail li{margin:0}
 .toc-rail a{display:block;margin-left:-1px;padding:12px 0 12px 14px;border-left:2px solid transparent;font-size:14px;line-height:20px;color:var(--text2);text-decoration:none}
 .toc-rail a:hover{color:var(--text);border-left-color:var(--text2)}
}
@media print{.langs,.toc-inline,.toc-rail,.site-foot nav{display:none}body{background:#fff;color:#000;font-size:11pt;line-height:1.5}a{color:#000}}
.toc-inline ol.plain{list-style:none;padding-left:16px}
