/* v70: the layer every page shares. Blue-black ink on white sheets, set in Century Schoolbook (the family the U.S.
   Supreme Court requires for booklet briefs) with Public Sans for the controls. The bar and the footer are the colour
   of a petitioner's brief cover; the pages between them stay white. Edits are marked the way a blackline marks them:
   insertions blue with a double underline, deletions red and struck through. */
:root{
  --k-ink:#12161f;
  --k-muted:#565c69;
  --k-paper:#ffffff;
  --k-cover:#dce6ef;
  --k-cover-line:rgba(18,22,31,.14);
  --k-hair:rgba(18,22,31,.16);
  --k-rule:rgba(18,22,31,.32);
  --k-insert:#27479d;
  --k-insert-deep:#1c3577;
  --k-insert-wash:#e6ecfb;
  --k-delete:#c3122f;
  --k-term-wash:#eceef2;
  --k-seal:#a64d49;
  --k-pad-rule:#e2a5a5;
  --k-lineno:#8f96a3;
  --k-exhibit:#f2d35b;
  /* v74: three inks, each at full strength and as a tint, with black and white. Blue prints and links (its tint is the
     brief cover); vermilion, the colour of seal paste, opens the personal half of the page (its tint is the letter's
     pink); yellow marks the tabs (its tint is a legal pad). */
  --k-verm:#c5402a;
  --k-blush:#f6e3df;
  --k-canary:#f8ebb4;
  --k-serif:'IK Schola','Century Schoolbook','New Century Schoolbook',Century,Georgia,'Noto Serif TC',serif;
  --k-sans:'Public Sans',system-ui,-apple-system,'Segoe UI','Noto Sans TC',sans-serif;
  --k-zh:'Noto Serif TC','Songti TC','PMingLiU',serif;
  --k-pad-l:max(18px,env(safe-area-inset-left,0px));
  --k-pad-r:max(18px,env(safe-area-inset-right,0px));
  /* the names the older pages read, in the new palette */
  --font-display:var(--k-serif);
  --font-body:var(--k-sans);
  --font-read:var(--k-serif);
  --display:var(--k-serif);
  --body:var(--k-sans);
  --zh:var(--k-zh);
  --bg:#ffffff;
  --surface:#ffffff;
  --ink:#12161f;
  --muted:#565c69;
  --accent:#27479d;
  --accent-hover:#1c3577;
  --rose:#27479d;
  --highlight:#e6ecfb;
  --border:#d5d9e0;
  --focus:#27479d;
  --line-strong:#868c97;
  --paper:#ffffff;
  --cream:#f3f5f8;
  --ink-2:#565c69;
  --line:#d5d9e0;
  --forest:#27479d;
  --ochre:#27479d;
  --gold:#27479d;
  --gold-ink:#27479d;
  --gold-soft:#e6ecfb;
  --good:#355c49;
  --good-soft:#e4eee7;
  --flag:#855024;
  --flag-soft:#f5eadf;
  --wait:#4b667a;
  --wait-soft:#e7edf1;
  --mono:ui-monospace,SFMono-Regular,Consolas,monospace;
  --shadow:0 14px 35px #12161f0d;
}
@media (min-width:760px){:root{--k-pad-l:max(40px,env(safe-area-inset-left,0px));--k-pad-r:max(40px,env(safe-area-inset-right,0px))}}
/* one colour for every area of work: the paintings that gave each area its colour are no longer on the homepage */
html[data-area]{--area:#12161f;--highlight:#e6ecfb}

/* ---------- the bar ---------- */
.k-skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--k-ink);color:#fff;font:600 15px/1 var(--k-sans);padding:12px 14px;text-decoration:none}
.k-skip:focus{top:12px}
.k-head{position:sticky;top:0;z-index:60;background:var(--k-cover);color:var(--k-ink);border-bottom:1px solid var(--k-cover-line);font-family:var(--k-sans)}
.k-head-in{position:relative;max-width:1280px;margin-inline:auto;padding-left:var(--k-pad-l);padding-right:var(--k-pad-r);display:flex;align-items:center;gap:12px 30px;min-height:76px}
.k-brand{margin:0 auto 0 0;display:grid;gap:6px;min-width:0}
.k-mark{display:flex;align-items:baseline;gap:12px;color:var(--k-ink);text-decoration:none;white-space:nowrap}
.k-mark-en{font:700 23px/1 var(--k-serif);letter-spacing:-.005em}
.k-mark-zh{font:500 16px/1 var(--k-zh);letter-spacing:.08em;color:#3d4350}
.k-mail{font:400 13.5px/1.2 var(--k-sans);color:#3d4350;text-decoration:none;width:max-content}
.k-mail:hover{color:var(--k-insert);text-decoration:underline;text-underline-offset:.2em}
.k-nav{display:flex;align-items:center;gap:6px 26px}
.k-nav a{font:400 18px/1.2 var(--k-serif);color:var(--k-ink);text-decoration:none;padding-block:10px 8px;border-bottom:2px solid transparent;white-space:nowrap}
.k-nav a:hover{border-bottom-color:var(--k-rule)}
.k-nav a[aria-current="page"]{border-bottom-color:var(--k-ink)}
.k-talk{font:600 15px/1 var(--k-sans);color:#fff;background:var(--k-ink);text-decoration:none;padding:15px 18px;white-space:nowrap}
.k-talk:hover{background:var(--k-insert);color:#fff}
.k-head a:focus-visible,.k-head button:focus-visible{outline:2px solid var(--k-insert);outline-offset:3px}
.k-menu{display:none}
@media (max-width:999px){
  .k-head.is-menu .k-nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;background:var(--k-paper);border-bottom:1px solid var(--k-ink);box-shadow:0 18px 30px -24px rgba(18,22,31,.45);padding:6px var(--k-pad-r) 14px var(--k-pad-l)}
  .k-head.is-menu .k-nav.is-open{display:flex}
  .k-head.is-menu .k-nav a{font-size:21px;padding:15px 0 13px;border-bottom:1px solid var(--k-hair)}
  .k-head.is-menu .k-nav a:last-child{border-bottom:0}
  .k-head.is-menu .k-nav a[aria-current="page"]{box-shadow:inset 3px 0 0 var(--k-ink);padding-left:12px}
  .k-head.is-menu .k-menu{display:flex;order:3;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:58px;height:48px;padding:0;border:1px solid var(--k-ink);background:transparent;color:var(--k-ink);cursor:pointer;font:600 10.5px/1 var(--k-sans);letter-spacing:.02em}
  .k-head.is-menu .k-menu[aria-expanded="true"]{background:var(--k-ink);color:#fff}
  .k-menu-lines{display:flex;flex-direction:column;gap:5px}
  .k-menu-lines span{display:block;width:18px;height:2px;background:currentColor;transition:transform .15s ease}
  .k-menu[aria-expanded="true"] .k-menu-lines span:first-child{transform:translateY(3.5px) rotate(45deg)}
  .k-menu[aria-expanded="true"] .k-menu-lines span:last-child{transform:translateY(-3.5px) rotate(-45deg)}
  /* without the script the four destinations stay on the page, on their own row */
  .k-head:not(.is-menu) .k-head-in{flex-wrap:wrap;padding-block:10px}
  .k-head:not(.is-menu) .k-nav{order:4;flex-basis:100%;flex-wrap:wrap}
}
@media (max-width:760px){
  .k-mail{display:none}
  .k-head-in{min-height:64px;gap:10px 12px}
  .k-mark-en{font-size:21px}
  .k-talk{padding:13px 14px}
}
@media (max-width:420px){.k-mark-zh{display:none}}
@media (prefers-reduced-motion:reduce){.k-menu-lines span{transition:none}}
@media print{.k-head{position:static}.k-menu,.k-talk{display:none}}

/* ---------- the footer ---------- */
.k-foot{background:var(--k-cover);color:var(--k-ink);border-top:1px solid var(--k-cover-line);font-family:var(--k-sans)}
.k-foot-in{max-width:1280px;margin-inline:auto;padding:clamp(44px,6vw,72px) var(--k-pad-r) 30px var(--k-pad-l);display:grid;gap:34px 48px}
@media (min-width:1000px){.k-foot-in{grid-template-columns:minmax(0,4fr) minmax(0,8fr)}}
.k-foot-name{margin:0;font:700 24px/1.2 var(--k-serif)}
.k-foot-name span{font:400 19px/1 'IK Name',var(--k-zh);letter-spacing:.03em;margin-left:10px;color:var(--k-ink)}
.k-foot-motto{margin:10px 0 0;font:400 18px/1.45 var(--k-serif)}
.k-foot-mail{margin:16px 0 0;font:400 15px/1.4 var(--k-sans);user-select:all;-webkit-user-select:all;word-break:break-all}
.k-foot-cols{display:grid;gap:26px 32px}
@media (min-width:640px){.k-foot-cols{grid-template-columns:repeat(3,minmax(0,1fr))}}
.k-foot-cols h2{margin:0 0 10px;font:600 14px/1.4 var(--k-sans);color:#3d4350}
.k-foot-cols a{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;padding-block:5px;font:400 16px/1.35 var(--k-sans);color:var(--k-ink);text-decoration:none}
.k-foot-cols a:hover{color:var(--k-insert);text-decoration:underline;text-underline-offset:.2em}
.k-flag{flex:none;display:inline-block;width:18px;height:24px;background:url('/img/marks/flags-stickers-v26.webp') no-repeat 0 50%/400% 100%}
.k-flag-us{background-position:33.3333% 50%}
.k-foot-quote{margin:0;padding-top:26px;border-top:1px solid var(--k-rule)}
@media (min-width:1000px){.k-foot-quote{grid-column:2}}
.k-foot-quote blockquote{margin:0;font:400 clamp(19px,1.6vw,22px)/1.45 var(--k-serif);max-width:36em;text-wrap:pretty}
.k-foot-quote figcaption{margin-top:10px;font:400 14px/1.4 var(--k-sans);color:#3d4350}
.k-foot-end{grid-column:1/-1;margin:0;display:flex;flex-wrap:wrap;gap:8px 28px;padding-top:20px;border-top:1px solid var(--k-rule);font:400 14px/1.5 var(--k-sans);color:#3d4350}
.k-foot-end a{margin-left:auto;color:var(--k-ink)}
.k-foot-read{grid-column:1/-1;margin:-14px 0 0;display:flex;align-items:center;gap:10px;font:400 14px/1.5 var(--k-sans);color:#3d4350}
.k-box{flex:none;width:17px;height:17px}
.k-box rect{fill:var(--k-insert);stroke:var(--k-insert);stroke-width:1.5}
.k-box path{fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.k-foot a:focus-visible{outline:2px solid var(--k-insert);outline-offset:3px}
@media (max-width:639px){.k-foot-end a{margin-left:0}}

/* ---------- the articles: the one before and the one after, by their own titles ---------- */
.k-pn{display:grid;gap:12px;margin-block:clamp(40px,5vw,64px) 8px;font-family:var(--k-sans)}
@media (min-width:760px){.k-pn{grid-template-columns:1fr 1fr}}
.k-pn a{display:grid;gap:6px;align-content:start;padding:18px 20px;border:1px solid var(--k-rule);background:#fff;color:var(--k-ink);text-decoration:none}
.k-pn a:hover{border-color:var(--k-ink);box-shadow:inset 0 -3px 0 var(--k-insert)}
.k-pn a:focus-visible{outline:2px solid var(--k-insert);outline-offset:3px}
.k-pn span{font:500 13px/1.3 var(--k-sans);color:var(--k-muted)}
.k-pn strong{font:400 21px/1.25 var(--k-serif);text-wrap:balance}
.k-pn em{font:400 13px/1.3 var(--k-sans);font-style:normal;color:var(--k-muted)}
.k-pn .k-pn-next{text-align:right;justify-items:end}
@media (min-width:760px){.k-pn .k-pn-next:only-child{grid-column:2}}

/* ---------- the Lab opens with a record to investigate, set like an exhibit (the replay opens on NDA-18) ---------- */
.lab-landing .hero-tries .try:first-child{position:relative;border:1px solid var(--k-rule);border-radius:0;background:#fff;box-shadow:0 22px 40px -32px rgba(18,22,31,.5);padding-top:30px}
.lab-landing .hero-tries .try:first-child::before{content:"Record NDA-18";position:absolute;top:-12px;right:18px;background:var(--k-exhibit);color:var(--k-ink);font:700 12px/1 var(--k-sans);letter-spacing:.02em;padding:7px 10px}
.lab-landing .hero-tries .try:first-child .try-q{font-family:var(--k-serif);font-size:20px;line-height:1.3;color:var(--k-ink)}

/* v71: the complete list's areas carry the homepage's riso prints, and opens with a two-minute path */
.v47-lib-art{border-radius:0;border:0;mix-blend-mode:multiply}
.v71-short{margin-top:14px;font:400 16px/1.5 var(--k-sans);color:var(--k-ink);max-width:40em}
.v71-short a{font-weight:600}

/* ---------- v75 (her notes of 19 November, 04:26-04:43) ----------
   The bar is ink black, so the first screen on a phone is no longer one flat blue: her name in white, her seal on a
   white chip beside it, Let's talk as a white button (her note of 05:42: yellow there did not read as professional).
   Her Chinese name stays on a phone, under the English one.
   Everything that can be pressed answers the press. The footer's lists are set in the reading face. */
.k-head{background:var(--k-ink);color:#fff;border-bottom:1px solid rgba(255,255,255,.16)}
/* her Chinese name is set in a kai (brush-written) face wherever it stands as a name: the face of a Taiwanese name
   card, and the one her letter is written in. The file holds only the characters of the name, so it costs 3 KB. */
/* font-display:block, not swap: the file is 3 KB and arrives at once, so her name appears in its own face instead of
   flashing in a system face first */
@font-face{font-family:'IK Name';font-style:normal;font-weight:400;font-display:block;src:url('/fonts/lxgw-wenkai-tc-name.woff2') format('woff2');unicode-range:U+5C0F,U+5E2B,U+5F8B,U+744B,U+82F1,U+9AD8}
.k-mark{color:#fff}
.k-mark-zh{font:400 17px/1 'IK Name',var(--k-zh);letter-spacing:.03em;color:#fff}
.k-chop{flex:none;align-self:center;display:block;width:30px;height:30px;padding:2px;background:#fff;transform:rotate(-3deg)}
.k-chop img{display:block;width:100%;height:100%}
.k-mail{color:#b9c0cd}
.k-mail:hover{color:#fff}
.k-nav a{color:#fff}
.k-nav a:hover{border-bottom-color:rgba(255,255,255,.5)}
.k-nav a[aria-current="page"]{border-bottom-color:#fff}
.k-talk{color:var(--k-ink);background:#fff}
.k-talk:hover{background:var(--k-cover);color:var(--k-ink)}
.k-head a:focus-visible,.k-head button:focus-visible{outline-color:#fff}
@media (max-width:999px){
  .k-head.is-menu .k-nav{border-bottom-color:var(--k-ink)}
  .k-head.is-menu .k-nav a{color:var(--k-ink)}
  .k-head.is-menu .k-nav a[aria-current="page"]{border-bottom-color:var(--k-hair)}
  .k-head.is-menu .k-nav a:focus-visible{outline-color:var(--k-insert)}
  .k-head.is-menu .k-menu{border-color:rgba(255,255,255,.75);color:#fff}
  .k-head.is-menu .k-menu[aria-expanded="true"]{background:#fff;color:var(--k-ink);border-color:#fff}
}
/* on a phone her two names make one block, as on a name card: the Chinese name sits under the English one, flush
   left and set solid (her note of 05:52), and her seal stands beside both lines */
@media (max-width:760px){
  .k-mark{display:grid;grid-template-columns:auto auto;justify-content:start;align-items:center;column-gap:12px;row-gap:6px}
  .k-mark-en{grid-area:1/1}
  .k-mark-zh{grid-area:2/1;justify-self:start}
  .k-chop{grid-area:1/2/3/3;width:34px;height:34px}
}
@media (max-width:420px){.k-mark-zh{display:block}}
@media (max-width:380px){.k-talk{padding-inline:11px}.k-chop{width:30px;height:30px}.k-head-in{gap:10px 9px}.k-mark{column-gap:9px}}
@media (max-width:340px){.k-chop{display:none}.k-head.is-menu .k-menu{width:50px}}
/* a press is answered: the control sinks a pixel and changes colour for as long as the finger or the button is down */
.k-talk,.btn,.copy,.k-menu{transition:transform .08s ease,background-color .12s ease,color .12s ease}
.k-talk:active,.btn:active,.copy:active,.k-menu:active{transform:translateY(1px) scale(.985)}
.k-talk:active{background:var(--k-cover)}
.k-nav a:active{border-bottom-color:#fff}
@media (prefers-reduced-motion:reduce){.k-talk,.btn,.copy,.k-menu{transition:none}}
/* a short note on where something on the page comes from (the plates' captions are the first of these) */
.hist{margin:0;font:400 14px/1.5 var(--k-sans);color:var(--k-muted);max-width:35em}
.hist b{font-weight:600;color:var(--k-ink)}
/* the footer: lists in the reading face, the labels small above them */
.k-foot-cols h2{margin:0 0 8px;font:600 13px/1.4 var(--k-sans);letter-spacing:.01em}
.k-foot-cols a{font:400 17px/1.35 var(--k-serif);padding-block:5px}
.k-foot-cols a:active{color:var(--k-insert)}
.k-foot-hist{grid-column:1/-1;max-width:36em;color:#3d4350}
@media (min-width:640px){.k-foot-cols{grid-template-columns:minmax(0,1fr) minmax(0,.85fr) minmax(0,1.2fr)}}
@media (min-width:1000px){.k-foot-hist{grid-column:2}}
@media (max-width:639px){
  .k-foot-cols{gap:0}
  .k-foot-cols>div{padding-block:18px;border-top:1px solid var(--k-rule)}
  .k-foot-cols>div:last-child{padding-bottom:0}
  .k-foot-cols a{font-size:18px;padding-block:6px}
}
/* nothing in the footer may be wider than the phone (the longest link wraps) */
.k-foot-in>*,.k-foot-cols>div{min-width:0}
.k-foot-cols a{width:fit-content;max-width:100%}
.k-foot-cols a>span:last-child{min-width:0;overflow-wrap:anywhere}
/* v76: Selected work and About me each keep their link and gain a list of where they lead. On a wide screen a small
   button beside the link drops the list from the bar: white paper with an ink rule, squared like everything else, the
   areas numbered as on the homepage's tabs, the two collections under a hairline. In the phone menu the lists are
   simply set under their headings. Without the script the links work as before and the lists stay out of the way. */
.k-dd{position:relative;display:flex;align-items:center}
.k-dd-btn,.k-dd-panel{display:none}
.k-dd-list{list-style:none;margin:0;padding:0}
/* the older pages set every span and list item in their body face; the lists keep the face of their links */
.k-head .k-dd-panel :is(li,span){font:inherit;color:inherit}
@media (min-width:1000px){
  .k-head.is-menu .k-dd-btn{display:inline-grid;place-items:center;flex:none;width:28px;height:36px;min-height:0;margin:0 -6px 0 1px;padding:0;border:0;background:none;color:inherit;cursor:pointer}
  .k-dd-btn svg{display:block;width:12px;height:12px;transition:transform .15s ease}
  .k-dd-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
  .k-dd-btn:hover,.k-dd-btn[aria-expanded="true"]{background:rgba(255,255,255,.14)}
  .k-head.is-menu .k-dd.is-open .k-dd-panel{display:block}
  .k-dd-panel{position:absolute;top:calc(100% + 18px);left:-19px;z-index:2;min-width:290px;padding:8px 0;background:var(--k-paper);color:var(--k-ink);border:1px solid var(--k-ink);box-shadow:0 18px 30px -24px rgba(18,22,31,.45)}
  /* the pointer crosses the strip of bar between the link and the list without the list closing */
  .k-dd-panel::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:17px}
  .k-dd-about .k-dd-panel{left:auto;right:-19px;min-width:260px}
  .k-head .k-nav .k-dd-panel a{display:grid;grid-template-columns:32px 1fr;align-items:baseline;padding:9px 18px;border:0;color:var(--k-ink);font:400 18px/1.3 var(--k-serif);white-space:nowrap}
  .k-head .k-nav .k-dd-panel b{font:600 13px/1 var(--k-sans);letter-spacing:.03em;color:var(--k-muted)}
  .k-head .k-nav .k-dd-about .k-dd-panel a,.k-head .k-nav .k-dd-more a{grid-template-columns:1fr}
  .k-head .k-nav .k-dd-more a{padding-block:10px;font:600 15px/1.35 var(--k-sans)}
  .k-dd-more{position:relative;margin-top:8px;padding-top:8px}
  .k-dd-more::before{content:"";position:absolute;top:0;left:18px;right:18px;border-top:1px solid var(--k-hair)}
  .k-head .k-nav .k-dd-panel a:hover,.k-head .k-nav .k-dd-panel a:active{background:var(--k-cover);border:0}
  .k-head .k-nav .k-dd-panel a:focus-visible{outline:2px solid var(--k-insert);outline-offset:-3px}
  .k-head .k-nav .k-dd-panel a[aria-current="page"]{box-shadow:inset 3px 0 0 var(--k-ink)}
  .k-nav .k-dd-top[aria-current]{border-bottom-color:#fff}
}
@media (min-width:1000px) and (prefers-reduced-motion:reduce){.k-dd-btn svg{transition:none}}
/* from 1000 to 1199 px the two buttons would bring the bar's links up against her name and seal: the bar's spacing
   tightens a little instead */
@media (min-width:1000px) and (max-width:1199px){
  .k-head-in{column-gap:22px}
  .k-nav{column-gap:19px}
  .k-head.is-menu .k-dd-btn{width:24px;margin-right:-5px}
}
@media (max-width:999px){
  .k-head.is-menu .k-nav{max-height:calc(100dvh - 70px);overflow-y:auto;overscroll-behavior:contain}
  .k-head.is-menu .k-nav .k-dd{display:block}
  .k-head.is-menu .k-nav .k-dd-top{display:block;border-bottom:0;padding-bottom:6px}
  .k-head.is-menu .k-nav .k-dd-top[aria-current="true"]{box-shadow:none;padding-left:0}
  .k-head.is-menu .k-nav .k-dd-panel{display:block;padding:0 0 10px;border-bottom:1px solid var(--k-hair)}
  .k-head.is-menu .k-nav .k-dd:last-child .k-dd-panel{border-bottom:0;padding-bottom:2px}
  /* each row is 44 px, a full fingertip, on every page (the older pages already give their links that height) */
  .k-head.is-menu .k-nav .k-dd-panel a{display:flex;align-items:baseline;gap:12px;min-height:44px;font:400 17px/1.3 var(--k-sans);padding:11px 0;border-bottom:0}
  .k-head.is-menu .k-nav .k-dd-panel a[aria-current="page"]{padding-left:12px;box-shadow:inset 3px 0 0 var(--k-ink)}
  .k-head.is-menu .k-nav .k-dd-panel b{flex:none;min-width:1.7em;font:700 13px/1 var(--k-sans);letter-spacing:.03em;color:var(--k-muted)}
  .k-head.is-menu .k-nav .k-dd-more{margin-top:6px}
  .k-head.is-menu .k-nav .k-dd-more a{font:600 16px/1.35 var(--k-sans)}
}

/* ---------- v75, last pass: the inner pages take the homepage's components ----------
   Corners are squared at build time (remap70.py). Filled buttons and selected tabs are ink, and turn the blackline blue
   under the pointer, exactly as on the homepage; before this they were blue, which made the inner pages read as a
   different kit. (:is() carries the weight of its heaviest selector, so these win over each page's own rule.) */
:is(.page-theme,body) :is(.button.primary,.button-ink,.c-primary,.pub-primary,.v8-hero-jump,.download-button,.button-primary,.contact-linkedin,.v32-btn-primary,.nav-book),
:is(.page-theme,body) :is(.model-tabs button[aria-selected=true],.toolbar button[aria-selected=true],.desk-tabs [aria-selected=true]),
body .nf li:first-child a{background:var(--k-ink);border-color:var(--k-ink);color:#fff}
:is(.page-theme,body) :is(.button.primary,.button-ink,.c-primary,.pub-primary,.v8-hero-jump,.download-button,.button-primary,.contact-linkedin,.v32-btn-primary,.nav-book):hover,
body .nf li:first-child a:hover{background:var(--k-insert);border-color:var(--k-insert);color:#fff}
/* the six-page portfolio page under the site's bar: its own way back sits on a line under the bar, its title is one ink,
   and its printout leaves the bar and the footer out */
.reader-back{margin-block:22px 0}
.reader-back .home-link{min-height:0;color:var(--k-ink);font:600 15px/1.3 var(--k-sans);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}
.reader-back .home-link:hover{color:var(--k-insert)}
body .reader-intro h1 span{color:inherit}
@media print{.k-head,.k-foot,.k-skip,.skip,.sb-skip,.skip-link,.c-skip,.reader-back{display:none}}
/* Everything to read and download: the four areas' numbers in one ink, as on the homepage */
body .v47-lib-num{color:var(--k-ink)}
/* the footer is the same height on every page: the older pages give every link a 44px line, which the footer's own
   spacing already provides */
.k-foot .k-foot-cols a,.k-foot .k-foot-end a{min-height:0}
/* the bar and the footer measure the same on every page, whatever box model or link heights the page's own styles use */
.k-head,.k-head *,.k-foot,.k-foot *{box-sizing:border-box}
@media (min-width:1000px){.k-head .k-nav a{min-height:0}}

/* ---------- v76: one way back on every inner page ----------
   A small chevron and the name of the place the page returns to, as the photo essay and the complete list already had
   it: the case pages, the corporate governance pages (the title of their own row of links), the podcast, the articles
   and the six-page portfolio all take it. */
.k-back{margin-top:0;margin-bottom:20px}
.k-back a{display:inline-flex;align-items:center;gap:9px;min-height:44px;color:var(--k-ink);font:600 15px/1.3 var(--k-sans);text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:var(--k-rule);text-underline-offset:4px}
.k-back a::before{content:"";flex:none;width:7px;height:7px;margin-left:2px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .2s ease}
.k-back a:hover{color:var(--k-insert);text-decoration-color:currentColor}
.k-back a:hover::before{transform:translateX(-3px) rotate(45deg)}
.k-back a:focus-visible{outline:2px solid var(--k-insert);outline-offset:3px}
.pub-back{margin-bottom:26px}
.reader-back.k-back{margin-block:18px 0}
.reader-back.k-back a{min-height:44px}
.sb-sub .sb-sub-title.k-back{margin:0 12px 0 0;font-size:inherit;color:inherit}
.sb-sub .sb-sub-title.k-back a{padding:0 4px 0 0;font:600 14px/1.3 var(--k-sans);color:var(--k-ink)}
.sb-sub .sb-sub-title.k-back a:hover{background:none;color:var(--k-insert)}
@media (prefers-reduced-motion:reduce){.k-back a::before{transition:none}}
@media print{.k-back{display:none}}

/* ----- v77: the Legal Workflow Lab under the site's bar and footer (lab77.py) ----- */
/* a Lab document: the way back to the Lab and its Markdown source, on the document's own column */
.lab-doc .lab-crumb{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 24px;margin:0 0 clamp(14px,2vw,24px)}
.lab-doc .lab-crumb .k-back{margin:0;max-width:none}
.lab-doc .lab-src{display:inline-flex;align-items:center;min-height:44px;font:500 14px/1.3 var(--k-sans);color:var(--k-muted);text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:var(--k-rule);text-underline-offset:4px}
.lab-doc .lab-src:hover{color:var(--k-ink);text-decoration-color:currentColor}
.lab-doc main.doc{padding-top:clamp(12px,1.8vw,24px)}
.lab-doc .lab-note{margin:clamp(34px,4vw,52px) 0 0;padding-top:14px;border-top:1px solid var(--k-hair);max-width:none;font:400 14px/1.5 var(--k-sans);color:var(--k-muted)}
/* the landing page: a row that is a link ends in a small chevron, as the rows of the complete list do */
.lab-landing .lab-go{display:inline-block;flex:none;width:7px;height:7px;margin:0 3px 0 12px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);transition:transform .2s ease}
.lab-landing a:hover .lab-go{transform:translateX(3px) rotate(45deg)}
.lab-landing .lab-fine{grid-column:1 / -1;margin:clamp(20px,2.4vw,30px) 0 0;padding-top:14px;border-top:1px solid var(--k-rule);font:400 14px/1.5 var(--k-sans);color:var(--k-muted);max-width:none}
.lab-landing .lab-fine a{color:var(--k-ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}
/* without its arrow a text link shows it is a link by its underline */
.lab-landing main :is(.text-link,.contact-email,.preview-link){text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
@media (prefers-reduced-motion:reduce){.lab-landing .lab-go{transition:none}}

/* ----- v77: the Publications page opens lower in the type scale, so the featured article starts sooner ----- */
.page-theme .pub-intro{padding-block:clamp(36px,4.4vw,56px) clamp(28px,3vw,40px)}
.page-theme .pub-intro h1{font-size:clamp(32px,3.5vw,48px);line-height:1.1;letter-spacing:-.018em}
.page-theme .pub-intro .eyebrow{margin-bottom:14px}
.page-theme .group-head{padding-top:clamp(30px,3.4vw,42px);margin-bottom:clamp(20px,2.2vw,28px)}

/* ----- v77: the six-page portfolio reads as text on a phone (portfolio_v40.py writes each page's text from the PDF's
   own source). On a phone the text comes first and the page's picture sits small under it; on a wide screen the page
   is shown as before, with its text one click away. ----- */
.document-page{display:flex;flex-direction:column}
.text-read{font:400 17px/1.62 var(--k-serif);color:var(--k-ink);max-width:44em}
.text-read>*:first-child{margin-top:0}
.text-read p{margin:0 0 14px;max-width:none}
.text-read>p:first-child em{font:500 14px/1.4 var(--k-sans);font-style:normal;color:var(--k-muted)}
.text-read h3{margin:26px 0 8px;font:400 22px/1.2 var(--k-serif);letter-spacing:-.006em}
.text-read strong{font-weight:700}
.text-read a{color:var(--k-ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.text-read ul{margin:16px 0 0;padding:0;list-style:none;display:grid;gap:2px;font:600 15px/1.4 var(--k-sans)}
.text-read ul a{display:inline-block;padding-block:7px}
.text-read blockquote{margin:14px 0;padding:12px 16px;border-left:3px solid var(--k-ink);background:#f0f2f5;font:400 15.5px/1.55 var(--k-sans)}
.text-read blockquote p{margin:0}
.text-read blockquote p+p{margin-top:4px}
.text-read .text-table{margin:16px 0 18px;max-width:100%;overflow-x:auto;border-top:1px solid var(--k-ink)}
.text-read table{width:100%;border-collapse:collapse;font:400 14.5px/1.45 var(--k-sans)}
.text-read :is(th,td){padding:9px 14px 9px 0;border-bottom:1px solid var(--k-hair);text-align:left;vertical-align:top}
.text-read th{font-weight:600;font-size:13px;color:var(--k-muted)}
.text-read td:first-child{min-width:8.5em}
@media (max-width:759px){
  .document-page .page-heading{order:1}
  .document-page .page-text{order:2}
  .document-page .page-preview{order:3}
  .js-read .page-text{border-width:1px 0 0;background:none}
  .js-read .page-text summary{display:none}
  .js-read .text-body{padding:18px 0 4px}
  .js-read .page-preview{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:16px;margin-top:14px;padding-top:16px;border-top:1px solid var(--k-hair)}
  .js-read .page-preview figcaption{margin:0;text-align:left;font-size:14px;line-height:1.5}
  .js-read .page-preview>a{box-shadow:none}
  .text-read table{font-size:14px}
  .text-read :is(th,td){padding-right:12px}
  .text-read td:first-child{min-width:7em}
}
.pub-jump{display:flex;flex-wrap:wrap;align-items:center;gap:0 24px;margin:16px 0 0;font:400 15px/1.4 var(--k-sans);color:var(--k-muted)}
.pub-jump a{display:inline-flex;align-items:center;min-height:44px;color:var(--k-ink);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:var(--k-rule);text-underline-offset:4px}
.pub-jump a:hover{color:var(--k-insert);text-decoration-color:currentColor}
.page-theme .group-head h2{scroll-margin-top:110px}
.text-read blockquote+blockquote{margin-top:-4px}
/* v77 (her note of 20 November, 05:21): type that is comfortable to read. A sentence is 14px or more on every page (the
   notes above were 13px; type77.py lifts the Lab's own small sizes). These finish the job where a page's own sheet made a
   caption smaller on a phone, and bring the two governance calendars' long lines back to a readable measure. */
.lab-landing .scope-note{font-size:14px;line-height:1.55}
.lab-landing .preview-divider{font-size:13px}
.ph-fig figcaption{font-size:14px}
.v9-gov :is(.notice,.note-block) p,.v9-gov .notes-list li{max-width:46em}
/* on the narrowest phones (320px) the scorecard's count may wrap, so the larger type cannot push the page sideways */
@media (max-width:359px){.lab-landing .tool-figure-note .nw{white-space:normal}}
/* v78: the article on AI product terms points to its answer sheet, right under the table that describes it */
.article-body .sheet-link{font:600 17px/1.4 var(--k-sans);margin:-4px 0 26px}
/* v78: three notes that still ran past 100 characters to the line on a wide screen (the note under the financing models'
   exhibit at 129, two references of one article at 101 to 113, the note at the top of the complete list at 113) */
.v9-models .ex-foot{padding-right:max(16px,calc(100% - 47em))}
.article-body p.reference{max-width:46em}
.v47-lib-shell .v47-lib-note{max-width:46em;text-wrap:balance}
/* v78: a few Chinese characters inside an English line (the poet and the poem under her calligraphy, the words on her
   seal) are set in the handwriting face of her letter, from a file that holds them, and never slanted */
.zh-kai,.hist [lang="zh-Hant"]{font-family:'IK WenKai','Noto Serif TC',serif;font-style:normal;font-size:1.1em;letter-spacing:.02em}
.zh-kai{white-space:nowrap}

/* v78 (the outside audit of 21 November, rounds eight and nine) */
/* with large text the bar wraps: the name never lies over Let's talk or Menu */
.k-head-in{flex-wrap:wrap}
.k-brand{min-width:auto;max-width:100%}
.k-mark{flex-wrap:wrap;white-space:normal}
/* Skip to content lands below the bar */
#main{scroll-margin-top:96px}
@media (max-width:760px){#main{scroll-margin-top:84px}}
/* where the clipboard is refused, the selected address says so on screen */
.copy-note{flex-basis:100%;margin:6px 0 0;font:400 14px/1.4 var(--k-sans);color:var(--k-muted)}
/* printing keeps the colour behind white type (a button, a dark band): without it the type printed white on white */
@media print{html{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
/* v79 (the other review of 21 November): Windows high contrast. The system's colours replace the page's own, so
   anything shown by a fill alone disappeared: the answer chosen, the view or tab open, and Exhibit A's two bars. A chosen
   button now takes the system highlight; the bars and their keys draw in the text colour (A) and the highlight (B); the
   letter's embossed flowers, which then sat over the text as grey shapes, step aside. */
@media (forced-colors:active){
  button[aria-pressed="true"],[role="tab"][aria-selected="true"]{forced-color-adjust:none;background:Highlight;color:HighlightText;border-color:Highlight}
  button[aria-pressed="true"] *,[role="tab"][aria-selected="true"] *{color:HighlightText}
  .tl-track .seg,.tl-keys button::before{forced-color-adjust:none;background:CanvasText}
  .tl-track .seg-b,.tl-keys button[data-ph="b"]::before{background:Highlight}
  .v50-emboss{display:none}
  :focus-visible{outline:2px solid Highlight;outline-offset:2px}
}
/* v79 (her choice, 21 November): on a phone every button is at least 44px tall, the smallest target iPhone's guidance
   gives; the clause views, Exhibit A's two keys, the letter's language and Copy email were 34 to 43px */
@media (max-width:760px){html body .views button,html body .tl-keys button,html body .try-btns button,html body .v32-lang button,html body .mail-row .copy{min-height:44px}}

/* v79 (her design of 21 November, 20:57): the contact column, each link with its mark, each a 44px target */
/* the footer sets its own size, so a page whose body text is smaller (the Lab's demos) does not narrow its quote */
.k-foot{font-size:18px;line-height:1.7}
.k-foot .k-foot-cols .ik-contact-links a{display:flex;align-items:center;gap:8px;width:fit-content;max-width:100%;min-height:44px;box-sizing:border-box;color:var(--k-ink,#12161f)}
.ik-contact-links .ik-contact-mark{flex:0 0 22px;width:22px;height:22px;display:block}
.ik-contact-links .k-flag{margin-inline:2px}
.ik-contact-links .ik-ph-note{display:block;margin-top:1px;font:500 14px/1.35 var(--k-sans);color:#3d4350}
.k-foot .k-foot-cols .ik-contact-links a:hover,.k-foot .k-foot-cols .ik-contact-links a:focus-visible{color:var(--k-insert,#27479d)}
.k-foot .ik-contact-links a:focus-visible{outline:2px solid var(--k-insert,#27479d);outline-offset:3px}

/* v79: Models on narrow phones. The exhibit hides overflow, so a grid wider than the phone lost its right edge. */
@media (max-width:760px){
  html body .model-panel .calc{grid-template-columns:minmax(0,1fr)}
  html body .model-panel .calc .inputs{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .model-panel .out .fig>span:first-child{min-width:0;flex:1 1 auto}
  html body .model-panel .out .fig .num{flex:0 1 auto;min-width:0;text-align:right}
}
@media (max-width:480px){
  html body .model-panel .calc .inputs{grid-template-columns:minmax(0,1fr)}
  html body .model-panel .compare .big{font-size:30px}
}
@media (max-width:360px){html body .model-panel .compare .big{font-size:27px}}
.model-panel .tbl-note{margin:10px 0 0;font-size:15px;color:var(--k-muted,#565c69)}
/* v79: About, the title under each role */
.v41-cv-roles .v41-cv-t{display:block;color:var(--ik-ink,#1b1b1b)}
/* v79: the letter's preview is drawn from its attribute, so the paragraph is in the page once */
.v40-letter-peek[data-peek]::before{content:attr(data-peek)}
/* v79: the line on the Lab's copy of an article */
.lab-copy-note{margin:0 0 18px;padding:10px 14px;border-left:3px solid var(--k-blue,#27479d);background:#f4f6fa;font-size:16px}
/* v80: the calligraphy's lines as text, under the caption (her copy of 21 November, 21:56). Left-aligned, never a centred poem poster; the colours follow the caption (white on the vermilion pages, ink on the photo page). */
.ik-poem{margin-top:6px;text-align:left}
.ik-poem>summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;list-style:none;font:600 15px/1.35 var(--k-sans,system-ui,sans-serif);color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.ik-poem>summary::-webkit-details-marker{display:none}
.ik-poem>summary::after{content:"";flex:none;width:7px;height:7px;margin-top:-4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.ik-poem[open]>summary::after{margin-top:4px;transform:rotate(225deg)}
.ik-poem>summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.ik-poem-body{display:grid;gap:10px;margin-top:4px;padding-top:12px;border-top:1px solid color-mix(in srgb,currentColor 45%,transparent);max-width:26em}
.ik-poem-body p{margin:0}
.ik-poem-zh{font:400 19px/1.65 "IK WenKai","Noto Serif TC",serif;letter-spacing:.06em}
.ik-poem-head{font-size:15px;letter-spacing:.08em;opacity:.88}
.ik-poem-en{font:italic 400 17px/1.5 var(--k-serif,Georgia,serif)}
.ik-poem-credit{font:400 14px/1.45 var(--k-sans,system-ui,sans-serif);opacity:.9}
.ph-fig .ik-poem{display:block;max-width:26em;margin-inline:auto}
.ph-fig .ik-poem>summary{display:flex;width:fit-content;margin-inline:auto}
.ph-fig .ik-poem-body{margin-inline:auto}
/* v80: the Construction page opens on the $50,000 case */
.c-hero .c-case-q{margin:22px 0 8px;font:400 clamp(22px,2.3vw,27px)/1.28 var(--k-serif,Georgia,serif);color:var(--k-ink,#12161f);max-width:23em;text-wrap:balance}
.c-hero .c-case-q+.c-intro{margin-top:0;max-width:34em}
/* the title keeps two lines on a laptop, so the workbook button stays on the first screen */
.c-hero h1{font-size:clamp(40px,4.3vw,56px)}
/* v80: her case illustrations (21 November, 22:02) */
.case-art{margin:20px 0 0;max-width:440px}
.case-art img{display:block;width:100%;height:auto}
.note .case-art{margin:2px 0 0;max-width:420px}
.note .case-art figcaption{margin-top:8px;font:italic 400 16px/1.45 var(--k-serif,Georgia,serif);color:var(--k-ink,#12161f)}
.note-supply>p:not(.note-q):not(.note-link){margin:0;text-wrap:pretty}

/* ---------- v82 (27 to 29 November 2026): the bar ---------- */
/* the bar: five destinations now. Between 1000 and 1199 pixels the checklists' link takes its short name and the row
   closes up, so the button stays on the bar's one line (measured at 1000, 1010, 1024, 1059, 1060, 1100 and 1199). */
/* the label's two spans read as the link does, whatever a page's own stylesheet says about spans */
.k-nav .k-nav-full,.k-nav .k-nav-short{font:inherit;letter-spacing:inherit;color:inherit}
.k-nav-short{display:none}
@media (min-width:1000px) and (max-width:1199px){
  .k-nav .k-nav-full{display:none}
  .k-nav .k-nav-short{display:inline}
  .k-head .k-nav{column-gap:15px}
  .k-head .k-nav a{font-size:17px}
}
@media (min-width:1000px) and (max-width:1059px){
  .k-head .k-nav{column-gap:9px}
  .k-head .k-nav a{font-size:16.5px}
}
/* the button on a phone: "Write to me" is longer than the words it replaces, so its type and padding close up and
   the name, the button and Menu stay on one line (measured from 300 to 760 pixels: the bar is 65 pixels tall wherever
   it was before, 318 to 340 and from 356 up; the room for the button is 89 pixels at 320, 91 at 360, 99 at 381) */
@media (max-width:760px){.k-talk{font-size:14px;padding-inline:8px}}
@media (max-width:380px){.k-talk{font-size:13.5px;padding-inline:6px}}
