/* Two editorial systems: research desk and owner's magazine. */
body[data-site="biztaxlab"]{--bg:#f7f7ef;--surface:#fffef8;--ink:#22382b;--muted:#596354;--accent:#31593d;--line:#cdd3c3;--soft:#e8eddf;--focus:#31593d}
body[data-site="biztaxlab"] .taxlab-home{padding-top:32px}
body[data-site="biztaxlab"] .taxlab-mast{border-top:4px solid var(--ink);border-bottom:1px solid var(--ink);padding:24px 0;display:grid;grid-template-columns:1fr auto;align-items:end;gap:8px 24px}
body[data-site="biztaxlab"] .taxlab-mast p{grid-column:1/-1;font-size:13px;letter-spacing:.1em;color:var(--muted)}
body[data-site="biztaxlab"] .taxlab-mast h1{font-size:clamp(36px,4.2vw,58px);font-family:'Editorial Serif','Editorial Serif',Pretendard,serif;font-weight:700;letter-spacing:-.07em}
body[data-site="biztaxlab"] .taxlab-mast>span{font-size:14px;padding-bottom:8px}
body[data-site="biztaxlab"] .taxlab-desk{display:grid;grid-template-columns:180px minmax(0,1fr) 254px;gap:32px;padding:36px 0 40px;border-bottom:1px solid var(--ink)}
body[data-site="biztaxlab"] .taxlab-index{border-right:1px solid var(--line);padding-right:24px}
body[data-site="biztaxlab"] .taxlab-index h2{font-size:15px;letter-spacing:0;margin-bottom:16px}
body[data-site="biztaxlab"] .taxlab-index nav{display:grid}
body[data-site="biztaxlab"] .taxlab-index nav a{min-height:60px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);font-size:15px}
body[data-site="biztaxlab"] .taxlab-index nav a span{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
body[data-site="biztaxlab"] .taxlab-index nav a b{font-weight:400;margin-left:auto}
body[data-site="biztaxlab"] .taxlab-index-note{display:grid;gap:12px;margin-top:72px;font-size:15px;line-height:1.8}
body[data-site="biztaxlab"] .taxlab-index-note a{display:flex;align-items:center;min-height:48px;font-size:13px;text-decoration:underline;text-underline-offset:5px}
body[data-site="biztaxlab"] .taxlab-lead{min-width:0;display:flex;flex-direction:column;gap:20px}
body[data-site="biztaxlab"] .taxlab-kicker{display:flex;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--muted);line-height:1.6}
body[data-site="biztaxlab"] .taxlab-lead h2{font-size:clamp(28px,2.8vw,40px);font-family:'Editorial Serif',Pretendard,serif;line-height:1.42;letter-spacing:-.05em}
body[data-site="biztaxlab"] .taxlab-deck{font-size:17px;color:var(--muted);line-height:1.8}
body[data-site="biztaxlab"] .taxlab-visual{display:block;line-height:0;border:1px solid var(--line)}
body[data-site="biztaxlab"] .taxlab-visual svg{width:100%}
body[data-site="biztaxlab"] .taxlab-excerpt{font-size:16px;line-height:1.9;color:var(--muted)}
body[data-site="biztaxlab"] .taxlab-read{display:flex;align-items:center;justify-content:space-between;min-height:48px;font-size:14px;font-weight:650;border-top:1px solid var(--line)}
body[data-site="biztaxlab"] .taxlab-sidebar{display:flex;flex-direction:column;gap:32px;border-left:1px solid var(--line);padding-left:24px}
body[data-site="biztaxlab"] .taxlab-next{display:grid;gap:16px}
body[data-site="biztaxlab"] .taxlab-next h2{font-size:24px;line-height:1.5}
body[data-site="biztaxlab"] .taxlab-next>p:not(.taxlab-kicker){font-size:15px;line-height:1.85;color:var(--muted)}
body[data-site="biztaxlab"] .taxlab-method{background:var(--soft);padding:24px;display:grid;gap:16px}
body[data-site="biztaxlab"] .taxlab-mark{font-size:48px;line-height:1;font-weight:300}
body[data-site="biztaxlab"] .taxlab-method h2{font-size:22px;line-height:1.55}
body[data-site="biztaxlab"] .taxlab-method p{font-size:14px;color:var(--muted)}
body[data-site="biztaxlab"] .taxlab-method a{font-size:13px;min-height:48px;display:flex;align-items:center}
body[data-site="biztaxlab"] .taxlab-bottom{display:grid;grid-template-columns:1fr auto;gap:32px;align-items:center;padding:32px 0}
body[data-site="biztaxlab"] .taxlab-bottom>div{display:grid;gap:12px}
body[data-site="biztaxlab"] .taxlab-bottom h2{font-size:25px}
body[data-site="biztaxlab"] .taxlab-bottom p{font-size:15px;color:var(--muted)}
body[data-site="biztaxlab"] .taxlab-bottom>a{padding:16px 24px;min-height:56px;display:flex;align-items:center;gap:24px;border:1px solid var(--accent);font-size:15px}
body[data-site="biztaxlab"] .taxlab-archive{display:flex;align-items:center;justify-content:space-between;min-height:64px;padding:16px 24px;background:var(--ink);color:var(--bg);font-size:16px}
body[data-site="biztaxlab"] .article-header{border-top:4px solid var(--ink);border-bottom:1px solid var(--ink);padding:36px 0;max-width:none}
body[data-site="biztaxlab"] .article-header h1{max-width:24ch;font-family:'Editorial Serif',Pretendard,serif;font-size:clamp(30px,3.8vw,48px);line-height:1.5}
body[data-site="biztaxlab"] .article-layout{padding-top:40px;grid-template-columns:200px minmax(0,760px);gap:64px}
body[data-site="biztaxlab"] .toc{border-top:2px solid var(--accent);padding:24px 16px 0 0}
body[data-site="biztaxlab"] .toc a{min-height:48px;display:flex;align-items:center}
body[data-site="biztaxlab"] .prose{font-size:19px;line-height:1.95}
body[data-site="biztaxlab"] .prose h2{font-family:'Editorial Serif',Pretendard,serif;font-size:28px;border-top:1px solid var(--line);padding-top:24px}
body[data-site="biztaxlab"] .summary{border:1px solid var(--line);border-left:4px solid var(--accent);background:var(--soft)}
body[data-site="biztaxlab"] .article-card{border:1px solid var(--line);padding:0;gap:0;background:var(--surface)}
body[data-site="biztaxlab"] .article-card .card-body{padding:24px}
body[data-site="biztaxlab"] .article-card h3{font-family:'Editorial Serif',Pretendard,serif;line-height:1.5}
body[data-site="biztaxlab"] .card-art{background:var(--soft);color:var(--accent);height:160px;border-bottom:1px solid var(--line)}
body[data-site="biztaxlab"] .card-art[data-pattern='1']{background:var(--soft);color:var(--accent)}

body[data-site="jeolsenote"]{--bg:#fbf5eb;--surface:#fffaf2;--ink:#493429;--muted:#765d4e;--accent:#9e422c;--soft:#f0dfca;--line:#ddcbb7;--focus:#9e422c}
body[data-site="jeolsenote"] .ownernote-home{padding-top:40px}
body[data-site="jeolsenote"] .ownernote-mast{text-align:center;display:grid;gap:16px;padding-bottom:32px}
body[data-site="jeolsenote"] .ownernote-mast>p{font-size:14px;color:var(--muted)}
body[data-site="jeolsenote"] .ownernote-mast h1{font-size:clamp(38px,4.8vw,64px);font-weight:800;letter-spacing:-.07em;color:var(--accent)}
body[data-site="jeolsenote"] .ownernote-mast h1 span{font-family:'Editorial Serif',Pretendard,serif;font-weight:600;margin-left:8px}
body[data-site="jeolsenote"] .ownernote-mast nav{display:flex;flex-wrap:wrap;gap:8px 12px;justify-content:center}
body[data-site="jeolsenote"] .ownernote-mast nav a{border:1px solid var(--line);border-radius:999px;padding:10px 22px;min-height:48px;display:flex;align-items:center;font-size:14px;background:var(--surface)}
body[data-site="jeolsenote"] .ownernote-cover{display:grid;grid-template-columns:1.12fr 1fr;min-width:0;background:var(--accent);color:var(--surface);border-radius:4px 64px 4px 4px;overflow:hidden}
body[data-site="jeolsenote"] .ownernote-illustration{background:#eedfc9;display:flex;flex-direction:column;justify-content:center;min-width:0}
body[data-site="jeolsenote"] .ownernote-illustration svg{width:100%;display:block}
body[data-site="jeolsenote"] .ownernote-illustration>span{color:#402d20;text-align:center;font-size:13px;padding:12px 20px 24px;background:#cf9173}
body[data-site="jeolsenote"] .ownernote-cover-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:22px;padding:40px;min-width:0}
body[data-site="jeolsenote"] .ownernote-label{font-size:13px;letter-spacing:.07em;font-weight:650}
body[data-site="jeolsenote"] .ownernote-meta{font-size:12px;display:flex;gap:8px;flex-wrap:wrap;line-height:1.6}
body[data-site="jeolsenote"] .ownernote-cover h2{font-size:clamp(28px,2.7vw,39px);line-height:1.45;letter-spacing:-.05em}
body[data-site="jeolsenote"] .ownernote-cover-copy>p:not(.ownernote-label){font-size:17px;line-height:1.9}
body[data-site="jeolsenote"] .ownernote-read{min-height:48px;display:inline-flex;align-items:center;gap:32px;font-weight:650;font-size:15px;border-bottom:1px solid currentColor}
body[data-site="jeolsenote"] .ownernote-under{display:grid;grid-template-columns:1.5fr 1fr;gap:56px;padding:48px 0}
body[data-site="jeolsenote"] .ownernote-next{display:grid;gap:24px;align-content:start}
body[data-site="jeolsenote"] .ownernote-next>article{display:flex;gap:24px;border-top:1px solid var(--line);padding-top:24px}
body[data-site="jeolsenote"] .ownernote-number{font-family:'Editorial Serif',Pretendard,serif;font-size:58px;color:var(--accent);line-height:1}
body[data-site="jeolsenote"] .ownernote-next article>div{display:grid;gap:16px;min-width:0}
body[data-site="jeolsenote"] .ownernote-next h2{font-size:27px;line-height:1.5}
body[data-site="jeolsenote"] .ownernote-next article p{font-size:16px;color:var(--muted);line-height:1.85}
body[data-site="jeolsenote"] .ownernote-next .ownernote-read{justify-self:start}
body[data-site="jeolsenote"] .ownernote-pocket{background:var(--soft);border-radius:24px;padding:32px;display:grid;gap:16px;align-content:start}
body[data-site="jeolsenote"] .ownernote-pocket h2{font-size:26px;line-height:1.45}
body[data-site="jeolsenote"] .ownernote-pocket>p:not(.ownernote-label){font-size:15px;color:var(--muted);line-height:1.85}
body[data-site="jeolsenote"] .ownernote-pocket a{border-top:1px dashed var(--muted);padding-top:16px;min-height:64px;display:flex;align-items:center;justify-content:space-between;font-size:15px;font-weight:650}
body[data-site="jeolsenote"] .ownernote-pocket a span{border-radius:50%;background:var(--surface);width:40px;height:40px;display:grid;place-items:center}
body[data-site="jeolsenote"] .ownernote-signoff{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:32px 0;display:flex;align-items:center;justify-content:space-between;gap:24px}
body[data-site="jeolsenote"] .ownernote-signoff>p{font-size:22px;font-family:'Editorial Serif',Pretendard,serif;line-height:1.8}
body[data-site="jeolsenote"] .ownernote-signoff>div{display:grid;gap:8px}
body[data-site="jeolsenote"] .ownernote-signoff a{display:flex;align-items:center;min-height:48px;font-size:14px}
body[data-site="jeolsenote"] .article-header{max-width:900px;margin-inline:auto;padding:40px 0;border-bottom:2px solid var(--accent);text-align:center}
body[data-site="jeolsenote"] .article-header>.meta{justify-content:center}
body[data-site="jeolsenote"] .article-header h1{font-size:clamp(30px,3.8vw,48px);line-height:1.5;margin-inline:auto}
body[data-site="jeolsenote"] .article-header .lead{margin-inline:auto;max-width:640px}
body[data-site="jeolsenote"] .article-layout{max-width:900px;margin-inline:auto;padding-top:32px;grid-template-columns:1fr;gap:32px}
body[data-site="jeolsenote"] .toc{position:static;border:1px dashed var(--line);background:var(--soft);border-radius:16px;padding:24px}
body[data-site="jeolsenote"] .toc ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}
body[data-site="jeolsenote"] .toc a{display:flex;align-items:center;min-height:48px}
body[data-site="jeolsenote"] .prose{font-size:19px;line-height:1.95;max-width:720px;margin-inline:auto;width:100%}
body[data-site="jeolsenote"] .prose h2{font-size:29px;color:var(--accent);line-height:1.55}
body[data-site="jeolsenote"] .summary{border:0;border-radius:16px;background:var(--soft)}
body[data-site="jeolsenote"] .article-card{border:1px solid var(--line);border-radius:24px;overflow:hidden;padding:0;background:var(--surface);gap:0}
body[data-site="jeolsenote"] .article-card .card-body{padding:24px}
body[data-site="jeolsenote"] .card-art{border-radius:0;background:var(--soft);color:var(--accent)}
body[data-site="jeolsenote"] .card-art[data-pattern='1']{background:#eed5c3;color:var(--ink)}
body[data-site="jeolsenote"] .tool-banner{border-top:0;border-radius:24px}
body[data-site="biztaxlab"] :where(a,button):focus-visible,body[data-site="jeolsenote"] :where(a,button):focus-visible{outline:2px solid var(--focus);outline-offset:4px}
body[data-site="jeolsenote"] .ownernote-cover a:focus-visible{outline:2px solid #fffaf2;outline-offset:4px;border-radius:2px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
@media(max-width:1050px){body[data-site="biztaxlab"] .taxlab-desk{grid-template-columns:150px minmax(0,1fr);gap:24px}body[data-site="biztaxlab"] .taxlab-sidebar{grid-column:2;border-left:0;border-top:1px solid var(--line);padding:24px 0 0;display:grid;grid-template-columns:1fr 1fr}body[data-site="biztaxlab"] .taxlab-index{grid-row:1/3}body[data-site="biztaxlab"] .taxlab-mast>span{grid-column:1/-1}body[data-site="jeolsenote"] .ownernote-cover-copy{padding:32px}body[data-site="jeolsenote"] .ownernote-under{gap:32px}}
@media(max-width:760px){body[data-site="biztaxlab"] .taxlab-home,body[data-site="jeolsenote"] .ownernote-home{padding-top:24px}body[data-site="biztaxlab"] .taxlab-mast{padding:20px 0;grid-template-columns:1fr;gap:12px}body[data-site="biztaxlab"] .taxlab-mast p{font-size:12px}body[data-site="biztaxlab"] .taxlab-mast>span{font-size:13px}body[data-site="biztaxlab"] .taxlab-desk{grid-template-columns:1fr;padding-top:24px;gap:28px}body[data-site="biztaxlab"] .taxlab-index{grid-row:auto;border:0;padding:0}body[data-site="biztaxlab"] .taxlab-index nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}body[data-site="biztaxlab"] .taxlab-index-note{margin-top:24px;gap:0}body[data-site="biztaxlab"] .taxlab-index-note p br{display:none}body[data-site="biztaxlab"] .taxlab-lead{gap:16px}body[data-site="biztaxlab"] .taxlab-lead h2{font-size:30px}body[data-site="biztaxlab"] .taxlab-sidebar{grid-column:auto;grid-template-columns:1fr;padding-top:24px;gap:24px}body[data-site="biztaxlab"] .taxlab-bottom{grid-template-columns:1fr;gap:20px;padding-block:28px}body[data-site="biztaxlab"] .taxlab-bottom>a{justify-content:space-between}body[data-site="biztaxlab"] .article-layout{grid-template-columns:1fr;gap:28px}body[data-site="biztaxlab"] .toc{padding:20px}body[data-site="biztaxlab"] .prose{font-size:18px}body[data-site="biztaxlab"] .prose h2{font-size:26px}body[data-site="jeolsenote"] .ownernote-mast{gap:18px;padding-bottom:24px}body[data-site="jeolsenote"] .ownernote-mast>p{font-size:13px}body[data-site="jeolsenote"] .ownernote-mast h1{font-size:36px}body[data-site="jeolsenote"] .ownernote-mast nav{gap:8px}body[data-site="jeolsenote"] .ownernote-mast nav a{padding:10px 16px;font-size:13px}body[data-site="jeolsenote"] .ownernote-cover{grid-template-columns:1fr;border-radius:4px 40px 4px 4px}body[data-site="jeolsenote"] .ownernote-cover-copy{padding:28px 24px;gap:18px}body[data-site="jeolsenote"] .ownernote-cover h2{font-size:29px}body[data-site="jeolsenote"] .ownernote-cover-copy>p:not(.ownernote-label){font-size:16px}body[data-site="jeolsenote"] .ownernote-under{grid-template-columns:1fr;padding-block:32px;gap:32px}body[data-site="jeolsenote"] .ownernote-next>article{gap:16px}body[data-site="jeolsenote"] .ownernote-number{font-size:40px}body[data-site="jeolsenote"] .ownernote-next h2{font-size:24px}body[data-site="jeolsenote"] .ownernote-pocket{padding:24px}body[data-site="jeolsenote"] .ownernote-signoff{align-items:flex-start;flex-direction:column;padding-block:24px}body[data-site="jeolsenote"] .ownernote-signoff>p{font-size:20px}body[data-site="jeolsenote"] .article-header{padding:28px 0}body[data-site="jeolsenote"] .article-layout{padding-top:24px}body[data-site="jeolsenote"] .toc ol{grid-template-columns:1fr}body[data-site="jeolsenote"] .prose{font-size:18px}body[data-site="jeolsenote"] .prose h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){body[data-site="biztaxlab"] *,body[data-site="jeolsenote"] *{scroll-behavior:auto;transition:none;animation:none}}
@media(max-width:760px){body[data-site=jeolsenote] .ownernote-cover-copy{order:-1}body[data-site=jeolsenote] .ownernote-mast nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}body[data-site=jeolsenote] .ownernote-mast nav a{justify-content:center}}
