/* hkadh-ui · tokens. The HKADH palette: Prussian blue on cool paper by day, deep Prussian at night; the colour roles
   (time, state, new, urgent, members, gold); the faces and the measure. One source for hkadh.org, the members' area,
   the officers' area and the conference registration pages: scripts/website.mjs reads this file at build time, writes
   it at the head of site.css as it is, and derives its own colour table from it (theme-color metas, favicon, the
   design page). The two values added on 6 November 2026 (--white, --line) name what the stylesheets wrote as literals.

   The theme is the dark class on html, set by theme.js before first paint (automatic by the reader's sun, light, or
   night) and mirrored in data-theme; the second block is that selector, as it was. Change both blocks together.

   The first block is the root's and also .day's: an element of that class is the site by day whatever the hour, with
   everything inside it (a sheet to print or keep, document.css: paper does not turn at night, and what the printer
   gets must not depend on the reader's theme). It restates nothing: the day values exist once, in that block.

   The last group maps the palette onto the names shadcn/ui components expect (background, foreground, primary,
   border, input, ring, radius …), as aliases of the names above, never a second set of values. --muted and --accent
   keep their site meaning (a text ink; the teal of links and outlines), which is not shadcn's (a surface; a hover
   wash): the shadcn surfaces are --surface-muted and --surface-accent instead. Nothing on the site uses the aliases
   yet; a component copied from shadcn would wear this palette without translation.

   A copy installed by the shadcn CLI from the hkadh-ui registry: edit it there, never here (the site's ui:check
   fails on a copy edited in place). */
:root,.day{--paper:#F2F3F7;--city:#2F4A5E;--ink:#14202A;--muted:#3F4C57;--surface:#E2E6EB;--accent:#2A7A85;--time:#B5302D;--state:#2F7A5B;--new:#A83A78;--urgent:#BD5426;--members:#6D4A96;--gold:#8F6D1F;
--font:'Source Sans 3',system-ui,sans-serif;--mono:'IBM Plex Mono',ui-monospace,monospace;--cjk:'Noto Sans TC',sans-serif;--max:1200px;--pad:22px;color-scheme:light;
--white:#fff;--line:#C9D0D8;
/* shadcn/ui names, as aliases of the tokens above */
--background:var(--paper);--foreground:var(--ink);--card:var(--surface);--card-foreground:var(--ink);--popover:var(--paper);--popover-foreground:var(--ink);--primary:var(--city);--primary-foreground:var(--paper);--secondary:var(--surface);--secondary-foreground:var(--ink);--surface-muted:var(--surface);--muted-foreground:var(--muted);--surface-accent:var(--surface);--accent-foreground:var(--accent);--destructive:var(--time);--destructive-foreground:var(--white);--border:var(--surface);--input:var(--line);--ring:var(--accent);--radius:2px}
html.dark{--paper:#1B2733;--city:#9DB5C8;--ink:#EEF0F2;--muted:#A9B6C0;--surface:#2B3742;--accent:#78C6CF;--time:#E8827B;--state:#7CC8A0;--new:#E68BBE;--urgent:#F0A070;--members:#B99BE0;--gold:#E9C45A;color-scheme:dark}

/* HKADH site. The tokens above and the components at the end are the hkadh-ui registry's files (ui/, installed by npm run ui:sync); theme.js sets .dark on <html> before paint. */
*,*::before,*::after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:400 17px/1.6 var(--font);-webkit-font-smoothing:antialiased}
body.l-zh{font-family:var(--font),var(--cjk);line-height:1.75}body.l-zh h1,body.l-zh h2,body.l-zh h3{font-family:var(--font),var(--cjk)}
img,svg{max-width:100%;height:auto;display:block}[hidden]{display:none!important}h1,h2,h3,p,ul,ol{margin:0}ul,ol{padding:0;list-style:none}button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}a{color:var(--accent)}
:lang(zh-Hant){font-family:var(--font),var(--cjk)}.mono{font-family:var(--mono);font-size:.88em}.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:8px;z-index:100;padding:8px 12px;background:var(--ink);color:var(--paper)}.skip:focus{left:8px}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.in{max-width:var(--max);margin:0 auto;padding:0 var(--pad)}.in.narrow{max-width:760px}
.ic{width:20px;height:20px;display:inline-block;vertical-align:-4px}.ic.ext{width:14px;height:14px;vertical-align:-1px;margin-left:2px}
/* masthead */
.nav .in{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:14px;padding-bottom:14px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--ink)}.brand .txt{display:flex;flex-direction:column;justify-content:center;line-height:1.1;position:relative;top:2px}
.brand .wm{font:700 22px/1 var(--font);letter-spacing:.02em;display:flex;align-items:center;gap:10px}.brand .zh-in{font:500 14px/1 var(--cjk);letter-spacing:.06em;color:var(--muted)}.brand .sub{font:400 12.5px/1.2 var(--font);color:var(--muted);margin-top:2px}
.nav nav ul{display:flex;gap:18px;align-items:center;font:500 15px var(--font)}.nav nav li{display:flex;align-items:center}.nav nav a{color:var(--ink);text-decoration:none;border-bottom:1.5px solid transparent;display:inline-flex;align-items:center;gap:6px}.nav nav a:hover,.nav nav a[aria-current]{border-color:var(--accent);color:var(--accent)}.nav nav a.mem{color:var(--members)}.nav nav a.mem:hover,.nav nav a.mem[aria-current]{border-color:var(--members)}.nav nav a.lang{font-family:var(--font),var(--cjk)}
.menu{display:none}.menu .ic{width:22px;height:22px}.menu .shut{display:none}.menu[aria-expanded="true"] .open{display:none}.menu[aria-expanded="true"] .shut{display:block}
.theme{position:relative}.themebtn{display:inline-flex;padding:4px;color:var(--ink);border-radius:2px}.themebtn .ic{width:22px;height:22px}.themebtn .t-light,.themebtn .t-dark{display:none}
html[data-theme="light"] .themebtn .t-auto,html[data-theme="dark"] .themebtn .t-auto{display:none}html[data-theme="light"] .themebtn .t-light{display:block}html[data-theme="dark"] .themebtn .t-dark{display:block}
.themepop{position:absolute;right:0;top:36px;z-index:20;width:300px;background:var(--paper);border:1.5px solid var(--city);padding:14px;font-size:14px;line-height:1.5}.themepop .m{color:var(--muted);font-size:13px;margin-top:6px}.themepop .row{display:flex;gap:8px;margin-top:10px}.themepop .btn.sm{height:32px;padding:0 10px;font-size:13px}.themepop .link{color:var(--accent);border-bottom:1.5px solid var(--accent)}.themepop [aria-pressed="true"]{background:var(--city);color:var(--paper);border-color:var(--city)}
/* status, notice */
.status{display:block;border-top:1px solid var(--surface);border-bottom:1px solid var(--surface);font:400 14.5px/1.45 var(--font);color:var(--muted);text-decoration:none}.status .in{display:block;padding-top:8px;padding-bottom:8px}.status b{color:var(--accent);font-weight:600;margin-right:3px}.status:hover{color:var(--ink);background:var(--surface)}
.notice{font:400 15px var(--font);color:var(--ink)}.notice .in{display:flex;gap:12px;align-items:center;padding-top:10px;padding-bottom:10px}.notice.urgent{background:color-mix(in srgb,var(--urgent) 10%,var(--paper))}.notice a{margin-left:auto;white-space:nowrap;text-decoration:none;border-bottom:1.5px solid var(--urgent);color:var(--urgent);font-weight:500;display:inline-flex;align-items:center;gap:4px}
/* hero, page heads */
.hero{padding:40px 0 36px}
.kicker{font:500 15px/1.4 var(--font);color:var(--muted);margin-bottom:8px}.kicker a{color:var(--muted);text-decoration:none;border-bottom:1.5px solid var(--surface)}
h1{font:700 clamp(28px,3.4vw,40px)/1.12 var(--font);letter-spacing:-.005em;max-width:24ch;margin-bottom:16px}.hero .stand{font-size:19px;max-width:58ch;margin-bottom:20px}
.page{padding:36px 0 30px}.page h1{max-width:30ch}.page .lead{font-size:20px;line-height:1.5;max-width:60ch;margin-bottom:14px}.page .body{max-width:70ch;margin-bottom:12px}
.cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:6px}.line{color:var(--muted);display:block}
.seam{display:block;width:100%;height:20px}
/* sections */
.sec{padding:26px 0 24px}.sec h2{font:700 22px/1.2 var(--font);color:var(--ink);margin-bottom:14px}
.sec .lead{font-size:19px;max-width:60ch;margin-bottom:14px}.sec .body{max-width:70ch;margin-bottom:10px}.small{font-size:14px;color:var(--muted)}.more{margin-top:16px;display:flex;gap:18px;align-items:center;flex-wrap:wrap}.listlink{font-size:14px;color:var(--muted);text-decoration:none;display:inline-flex;align-items:center;gap:6px;border-bottom:1.5px solid var(--surface)}.listlink:hover{color:var(--accent);border-color:var(--accent)}
.foot .small .ic{width:13px;height:13px;vertical-align:-2px;margin-right:3px}
.types .date .d{font-weight:600;color:var(--city)}
.keynote{font-size:14.5px;line-height:1.45;color:var(--gold);margin-top:6px}
.list{border-top:1px solid var(--surface)}.list li{padding:14px 0;border-bottom:1px solid var(--surface);display:grid;grid-template-columns:1fr auto;gap:4px 16px}.list .date{display:flex;gap:12px;align-items:baseline;font-size:14px;color:var(--muted);grid-column:1/-1}.list h3{font:600 17px/1.3 var(--font)}.list h3 a{color:var(--ink);text-decoration:none;border-bottom:1.5px solid var(--accent)}.list p{font-size:15px;color:var(--ink);max-width:70ch;grid-column:1/-1}

.linklist li{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;padding:12px 0;border-bottom:1px solid var(--surface);align-items:baseline}.linklist a{font:600 16px var(--font);text-decoration:none;border-bottom:1.5px solid var(--accent);display:inline-flex;align-items:center;gap:8px}.linklist a.mem{color:var(--members);border-color:var(--members)}.linklist span{font-size:15px;color:var(--muted)}
.timeline li{display:grid;grid-template-columns:170px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid var(--surface)}.timeline .when{color:var(--city);font-weight:600}.timeline .what{max-width:70ch}.timeline+.body{margin-top:14px}
.plain li{display:flex;gap:10px;align-items:center;padding:6px 0}
.offices{border-top:1px solid var(--surface);max-width:760px}.offices li{display:grid;grid-template-columns:1fr 1fr;align-items:baseline;gap:12px;padding:10px 0;border-bottom:1px solid var(--surface)}.offices .office{font-weight:600}.offices .vacant{color:var(--muted)}
/* design page */
.markrow{display:flex;gap:28px;align-items:flex-start;flex-wrap:wrap}.markrow .stage{flex:none}.markrow-txt{flex:1;min-width:280px}.sizes{display:flex;gap:16px;align-items:flex-end;margin-top:12px}
.pal{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:8px 20px}.pal li{display:grid;grid-template-columns:44px 1fr;gap:2px 10px;font-size:14px;padding:4px 0}.pal .sw{display:flex;grid-row:1/4;gap:2px}.pal .sw i{width:20px;height:44px;display:block}.pal b{font-weight:600}.pal .hex,.pal .role{color:var(--muted);font-size:12.5px}
.icons{display:flex;gap:18px;flex-wrap:wrap}.icons li{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:11px;color:var(--muted)}.icons .ic{width:24px;height:24px;color:var(--ink)}
/* footer */
.foot-wrap{margin-top:36px;line-height:0}.foot-wrap .pano{width:100%;height:auto;overflow:visible;position:relative;z-index:1}.foot{background:var(--city);color:var(--paper);line-height:1.5;font-size:14px}.foot .in{display:flex;justify-content:space-between;gap:16px;align-items:center;min-height:104px;padding-top:24px;padding-bottom:26px;flex-wrap:wrap}.foot .wm{font-weight:700;margin-right:4px}.foot .zh{font-family:var(--cjk);margin-left:6px}.foot a{color:var(--paper);text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--paper) 50%,transparent)}.foot .small{font-size:12.5px;opacity:.85;color:var(--paper)}.foot .r{text-align:right}
[data-sample]{position:relative}html.show-samples [data-sample]::after{content:"Sample";position:absolute;top:0;right:0;font:600 10px/1 system-ui;letter-spacing:.06em;text-transform:uppercase;padding:3px 6px;background:var(--time);color:var(--white);z-index:5}
@media (max-width:900px){.menu{display:inline-flex;padding:6px;color:var(--ink)}.nav nav{display:none;width:100%}.nav nav.open{display:block}.nav nav ul{flex-direction:column;align-items:flex-start;gap:12px;padding:8px 0 4px}.nav nav .theme{align-self:stretch}.themepop{position:static;width:auto;margin-top:8px}.timeline li{grid-template-columns:1fr}.list li,.linklist li{grid-template-columns:1fr}.foot .r{text-align:left}.brand .sub{display:none}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media print{.nav nav,.status,.notice,.foot-wrap svg{display:none}body{font-size:12pt}}
/* components: the hkadh-ui registry's files, as installed (ui/*.css); ui:check refuses a copy edited in place */
/* hkadh-ui · button. The site's one button box, shadcn's Button as plain CSS over the tokens; the static build
   writes it into a page and the Worker's pages take the same classes. The vocabulary, as the pages already write it:

     <a class="btn" href="…">Join HKADH</a>               default: Prussian blue, paper text        (shadcn default)
     <a class="btn outline" href="…">Programme</a>        outline: teal hairline and text           (shadcn outline)
     <button class="btn danger">Void</button>             destructive: red hairline and text        (shadcn destructive)
     <button class="btn sm">Save line</button>            small: 32px                               (shadcn size sm)
     <button class="linkbtn">Make preferred</button>      link: underlined text, no box             (shadcn link)
     <button class="linkbtn danger">Remove</button>

   States: :focus-visible takes the site's outline (2px accent at 3px offset, set once in site.css for every element);
   [disabled] sits at half opacity; .sample at .6 marks placeholder content. Height 40px; radius --radius (2px).

   A copy installed by the shadcn CLI from the hkadh-ui registry: edit it there, never here (the site's ui:check
   fails on a copy edited in place). */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;height:40px;padding:0 16px;font:500 15px/1 var(--font);border-radius:var(--radius);text-decoration:none;background:var(--city);color:var(--paper);border:1.5px solid var(--city)}.btn .ic{width:16px;height:16px}
.btn.outline{background:transparent;color:var(--accent);border-color:var(--accent)}.btn.sample{opacity:.6}
.linkbtn{font:inherit;color:var(--accent);text-decoration:underline;cursor:pointer;background:none;border:0;padding:0}.linkbtn.danger,.btn.danger{color:var(--time)}.btn.danger{background:transparent;border-color:var(--time)}.btn.sm{height:32px;padding:0 10px;font-size:14px}
.btn{cursor:pointer}.btn[disabled]{opacity:.5;cursor:default}
/* hkadh-ui · badge. Small signs beside a label, shadcn's Badge as plain CSS over the tokens, in the three forms the
   site already draws:

     <span class="tag time">Call for papers</span>   public cards and lists: a word coloured by its role (time, state, new, plain, mem)
     <span class="st st-active">Active</span>        records: a status word coloured by its kind (st-<status>)
     <span class="badge">3</span>                    officers' navigation: a count on an urgent pill (its figure in paper at night, when the pill is light)

   No border or fill except the count: the colour alone carries the meaning, so each role is one token.

   A copy installed by the shadcn CLI from the hkadh-ui registry: edit it there, never here (the site's ui:check
   fails on a copy edited in place). */
.tag{font:600 13.5px var(--font);color:var(--c,var(--accent))}
.tag.time{--c:var(--time)}.tag.state{--c:var(--state)}.tag.new{--c:var(--new)}.tag.plain{--c:var(--muted)}.tag.mem{--c:var(--members)}
.st{font-weight:600;font-size:13.5px;white-space:nowrap}.st-pending,.st-open,.st-queued,.st-suggested,.st-draft{color:var(--urgent)}.st-active,.st-approved,.st-subscribed,.st-confirmed,.st-delivered,.st-sent,.st-resolved,.st-recorded{color:var(--state)}.st-lapsed,.st-none,.st-unsubscribed,.st-dismissed,.st-skipped,.st-void,.st-cancelled,.st-future{color:var(--muted)}.st-declined,.st-rejected,.st-bounced,.st-complained,.st-failed,.st-disputed{color:var(--time)}.st-merged,.st-unmerged,.st-sending,.st-scheduled,.st-delayed{color:var(--new)}
.st-pending_payment,.st-awaiting_verification,.st-awaiting_review,.st-on_hold,.st-created{color:var(--urgent)}.st-captured,.st-verified{color:var(--state)}.st-refunded,.st-disabled{color:var(--muted)}
.badge{display:inline-block;min-width:20px;padding:0 6px;margin-left:6px;border-radius:10px;background:var(--urgent);color:var(--white);font:600 12px/20px var(--font);text-align:center}html.dark .badge{color:var(--paper)}
/* hkadh-ui · alert. A message set off by a rule at its left on a tinted ground, shadcn's Alert as plain CSS over
   the tokens:

     <p class="flash good" role="status">Saved.</p>   default (state green)
     <p class="flash bad" role="alert">…</p>          destructive (time red)
     <p class="flash note">…</p>, <p class="note">…</p>   a note (new magenta); .note is the public page's form of it
     <div class="previewbar" role="status">…</div>    the banner across the top while an administrator previews (its words in paper at night, when the band is light)

   The tint is color-mix of the role's colour at 8% into the paper, so it follows both themes.

   A copy installed by the shadcn CLI from the hkadh-ui registry: edit it there, never here (the site's ui:check
   fails on a copy edited in place). */
.flash{padding:10px 14px;border-left:3px solid var(--state);background:color-mix(in srgb,var(--state) 8%,var(--paper));margin:12px 0;max-width:820px}.flash.bad{border-color:var(--time);background:color-mix(in srgb,var(--time) 8%,var(--paper))}.flash.note{border-color:var(--new);background:color-mix(in srgb,var(--new) 8%,var(--paper))}.flash .link{font-family:var(--mono);font-size:14px;overflow-wrap:anywhere;margin-top:8px;user-select:all}
.note{display:block;padding:10px 14px;border-left:3px solid var(--new);background:color-mix(in srgb,var(--new) 8%,var(--paper));font-size:15px}
.previewbar{display:flex;gap:10px 18px;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:8px var(--pad);background:var(--urgent);color:var(--white);font-size:14.5px}.previewbar .linkbtn{color:var(--white);font-weight:600;text-decoration:underline}html.dark .previewbar,html.dark .previewbar .linkbtn{color:var(--paper)}.previewbar b{font-weight:700}
/* hkadh-ui · field. Form anatomy, shadcn's Label, Input, Select, Textarea, Checkbox and RadioGroup as plain CSS over
   the tokens, in the three forms the site already writes:

     .aform   the members' and officers' forms: a responsive grid of .field (label over control, .hint, .err, .check,
              .wide), fieldsets with .lab legends, .choices of boxed .radio rows, the .hp honeypot; .search is its
              one-row cousin on the list pages. The fields of a row share four lines (subgrid): the labels, the
              controls, the hints, the errors. So boxes, menus, a button and a tick box that stand in one row stand on
              one line whatever hangs below or above them (a hint under one box used to lift it above its neighbours,
              and the button sat lower still), and a line nobody in the row uses takes no room. A tick box beside
              them stands with its words on the middle of the boxes' own forty pixels, measured from the foot of the
              line as a button is (centred in the whole line, it stood three pixels high: the site's
              tests/e2e/alignment.py measures every form). Its words are one line: a tick box with more to say takes
              the row (.wide), or the second line would lift the box off the line. A text box, a date
              and a menu are one height (40px, the button's; 38px on .search), where each browser gave a menu its own. A field that is not a
              label over one control, a button or a tick box keeps its own flow from the top of the row. A .narrow
              form keeps its rows as they were, each item at the foot of its own (two such forms stand side by side on
              the sign-in page, their rows stretched to one height)
     .actions buttons side by side, at a form's foot or as a row of their own (a tick box may stand among them)
     details.fold  a form folded under its name until it is wanted; several stand in a .folds, ruled as one list
     .checks  several tick boxes in a line, each with its word beside it (the duties an account holds)
     .inline  a small form written in a line (a reason beside Void, a note beside Resolve): its text boxes and menus
              wear the control look at the small button's height, not the browser's own, and a tick box written into
              it stands at the middle of its word (it sat on the word's baseline, four pixels high)
     .join    the public join form (its own grid; a .drop file well)
     .drop    the file well: a file is dragged onto it, or chosen by pressing it. On the join form it is written as such
              (that form needs script). In .aform the pages' script makes one of a file box that is there without it
              (span[data-drop] round the box, with a .droptext that is hidden until then): the well is the box's own
              field, as tall as two lines, and the box itself lies over it unseen, so a press or a drop anywhere takes
     .suggests  a field whose box suggests as it is typed in (an affiliation): the pages' script makes it of a box with
              a list of the browser's own (input[data-suggest][list] and its datalist), which is what a reader without
              script has. The entries hang under the box in a ul.suggest (a listbox), each group under its name
              (li.suggest-group), the one the arrows are on marked like the one the pointer is over
     .login   the sign-in page
     .atable input[form]   a table row opened for editing without script (the officers' People register, when a cell's
              link is followed): controls that sit in cells and belong to a form in the row's last cell; .search's
              control look at the table's own size. With script the cell itself is edited: table.css, td.editing

   Divergences kept as they were, listed so they are not mistaken for intent and settled in a later increment: control
   borders are --line on .join, --surface on .login, and muted mixed into paper on .aform and .search; type is 17px on
   .join and 16px elsewhere.

   A copy installed by the shadcn CLI from the hkadh-ui registry: edit it there, never here (the site's ui:check
   fails on a copy edited in place). */
.aform{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px 18px;max-width:820px;align-items:start;margin:10px 0 20px}.aform.narrow{grid-template-columns:1fr;max-width:460px;align-items:end}.aform .field{display:grid;gap:6px;min-width:0}.aform .field.wide{grid-column:1/-1}
.aform label{display:grid;gap:6px;font-size:14.5px;color:var(--muted);font-weight:600}.aform .field.check label{grid-template-columns:auto 1fr;align-items:start;gap:10px;font-weight:400;color:var(--ink)}.aform .field.check input{margin-top:5px}
.aform input:not([type=checkbox]):not([type=radio]),.aform select,.aform textarea{font:400 16px var(--font);padding:8px 10px;border:1.5px solid color-mix(in srgb,var(--muted) 45%,var(--paper));background:var(--paper);color:var(--ink);border-radius:2px;width:100%}.aform input:not([type=checkbox]):not([type=radio]):not([type=file]),.aform select{height:40px}.aform input:focus,.aform select:focus,.aform textarea:focus{border-color:var(--accent);outline:none}.aform .hint{font-size:13.5px;color:var(--muted)}.aform .err{font-size:14px;color:var(--time);font-weight:600}.aform .invalid input{border-color:var(--time)}
.aform .btn,.aform > .linkbtn{justify-self:start}.aform > .btn{align-self:end}.aform > .field.check:not(.wide){align-self:end}
@supports (grid-template-rows:subgrid){
.aform:not(.narrow){row-gap:0}.aform:not(.narrow) > *{margin-bottom:14px}.aform:not(.narrow) > :last-child{margin-bottom:0}
.aform:not(.narrow) > .field:not(.wide){grid-row:span 4;align-self:start}
.aform:not(.narrow) > .field:not(.wide):is(.check,:has(> .btn:first-child),:has(> label:first-child > :is(input,select,textarea):only-child)){grid-template-rows:subgrid;gap:0;align-self:stretch}
/* something of no height in the last shared line: Safari gives a field's own margin to that line only when an item stands in it, and without one took the margin out of the controls' line (a button or a tick box 14px off it) */
.aform:not(.narrow) > .field:not(.wide):is(.check,:has(> .btn:first-child),:has(> label:first-child > :is(input,select,textarea):only-child))::after{content:"";grid-row:4;grid-column:1;height:0}
.aform:not(.narrow) > .field:not(.wide):not(.check):has(> label:first-child > :is(input,select,textarea):only-child){font-size:14.5px}.aform:not(.narrow) > .field:not(.wide):not(.check):has(> label:first-child > :is(input,select,textarea):only-child) > label{display:contents}
.aform:not(.narrow) > .field:not(.wide):not(.check) > label:first-child > :is(input,select,textarea):only-child{grid-row:2;align-self:start;margin-top:6px}
.aform:not(.narrow) > .field:not(.wide) > .btn:first-child{grid-row:2;align-self:end}.aform:not(.narrow) > .field.check:not(.wide) > label{grid-row:2;align-self:end;margin-bottom:9px;margin-bottom:calc((40px - 1lh)/2)}
.aform:not(.narrow) > .field:not(.wide):is(.check,:has(> .btn:first-child),:has(> label:first-child > :is(input,select,textarea):only-child)) > .hint{grid-row:3;margin-top:6px}.aform:not(.narrow) > .field:not(.wide):is(.check,:has(> .btn:first-child),:has(> label:first-child > :is(input,select,textarea):only-child)) > .err{grid-row:4;margin-top:6px}
}
.aform > .wide,.aform > h2,.aform > h3,.aform > p,.aform > fieldset{grid-column:1/-1}.aform > h2{margin:18px 0 0}.aform > p{margin:0;max-width:70ch}
.aform fieldset{border:0;padding:0;margin:0;min-width:0}.aform legend,.aform .lab{display:block;font-size:14.5px;color:var(--muted);font-weight:600;padding:0;margin:0 0 6px}.app .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.aform .checks{display:flex;flex-wrap:wrap;gap:6px 20px}.aform .checks label{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:400;color:var(--ink)}
/* Buttons side by side (Sign in · Email me a sign-in link; a record's Edit · History; All · Delete over a list), wrapping on
   a narrow screen: at the foot of a form, or as a row of their own, a tick box among them standing at the middle of its word. */
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}.aform .actions{grid-column:1/-1}:is(form,div).actions:not(.aform .actions){margin:12px 0}
.actions label:has(> input[type=checkbox]){display:inline-flex;align-items:center;gap:6px}
/* A form kept folded until it is wanted (a record's Assign a Membership Period, Record a Payment): its name is the line that opens it. */
.folds{margin:24px 0 12px;max-width:820px}details.fold{border-bottom:1px solid var(--surface)}.folds > details.fold:first-child{border-top:1px solid var(--surface)}details.fold > summary{cursor:pointer;padding:11px 0;font-weight:600;color:var(--accent)}details.fold[open] > summary{color:var(--ink)}details.fold > .aform{margin-top:2px}
.choices{display:grid;gap:8px;margin:6px 0 4px}.choices .radio{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;padding:10px 12px;border:1.5px solid var(--surface);border-radius:3px;font-weight:400;color:var(--ink)}.choices .radio input{margin-top:4px;width:16px;height:16px;accent-color:var(--city)}.choices .radio.off{opacity:.55}.choices .radio .amt{font-family:var(--mono);float:right;margin-left:10px}.choices .radio b{font-weight:600}
.search{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0}.search .btn{align-self:stretch;height:auto;min-height:32px}.search input,.search select{height:38px;font:400 15px var(--font);padding:7px 10px;border:1.5px solid color-mix(in srgb,var(--muted) 45%,var(--paper));background:var(--paper);color:var(--ink);border-radius:2px;min-width:min(260px,100%)}.search .export{margin-left:auto;font-size:14px}.search .export ~ .export{margin-left:0}
.inline input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.inline select{box-sizing:border-box;height:32px;font:400 14px var(--font);padding:0 8px;border:1.5px solid color-mix(in srgb,var(--muted) 45%,var(--paper));background:var(--paper);color:var(--ink);border-radius:2px;max-width:100%}.inline input:focus,.inline select:focus{border-color:var(--accent);outline:none}.inline label:has(> input[type=checkbox]),.inline label:has(> input[type=radio]){display:inline-flex;align-items:center;gap:6px}
.login{display:grid;gap:14px;max-width:420px}.login label{display:grid;gap:6px;font-size:14px;color:var(--muted)}.login input{font:400 16px var(--font);padding:8px 10px;border:1.5px solid var(--surface);background:var(--paper);color:var(--ink);border-radius:2px}.login input:focus{border-color:var(--accent);outline:none}.login .cta{align-items:center}
.join{display:grid;gap:20px;max-width:620px}.join .field{display:grid;gap:6px;border:0;padding:0;margin:0;min-width:0}.join .lab{font-weight:600;font-size:16px;padding:0}.join input[type=text],.join input[type=email],.join textarea{font:400 17px var(--font);padding:9px 11px;border:1.5px solid var(--line);background:var(--paper);color:var(--ink);border-radius:2px;width:100%}.join textarea{display:block;line-height:1.5;resize:vertical;min-height:6em}.join input:focus,.join textarea:focus{border-color:var(--accent);outline:none}
.join .hint{font-size:14.5px;color:var(--muted)}.join .err{font-size:14.5px;color:var(--time);font-weight:600}.join .invalid input[type=text],.join .invalid input[type=email],.join .invalid textarea,.join .invalid .drop{border-color:var(--time)}
.join .radio{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;padding:8px 0;cursor:pointer}.join .radio input{margin-top:6px;accent-color:var(--city);width:16px;height:16px}.join .radio b{font-weight:600}
.drop{display:flex;align-items:center;justify-content:center;text-align:center;min-height:92px;padding:16px;border:1.5px dashed var(--muted);border-radius:2px;color:var(--muted);cursor:pointer;position:relative;overflow-wrap:anywhere}.drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.drop:hover,.drop.over,.drop:focus-within{border-color:var(--accent);color:var(--accent)}.drop.over{background:var(--surface)}.drop.has{border-style:solid;color:var(--ink)}
.aform .drop{min-height:76px;padding:12px 14px;font-weight:400;font-size:15px;line-height:1.4}.aform .drop input[type=file]{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;opacity:0;cursor:pointer}.aform .invalid .drop{border-color:var(--time)}
.join .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.join .privacy{max-width:70ch}.join button[disabled]{opacity:.6;cursor:default}.join [hidden]{display:none}
.atable input[form]:not([type=checkbox]):not([type=radio]),.atable select[form]{font:inherit;padding:4px 7px;border:1.5px solid color-mix(in srgb,var(--muted) 45%,var(--paper));background:var(--paper);color:var(--ink);border-radius:2px;width:100%;min-width:10em}.atable input[form]:not([type=checkbox]):not([type=radio]):focus,.atable select[form]:focus{border-color:var(--accent);outline:none}.atable form.rowedit{flex-wrap:nowrap;align-items:center}
.aform .field.suggests{position:relative}
.suggest{position:absolute;z-index:30;left:0;right:0;top:100%;margin:2px 0 0;padding:4px 0;list-style:none;max-height:300px;overflow:auto;background:var(--paper);color:var(--ink);border:1.5px solid var(--city);border-radius:2px;font:400 16px/1.35 var(--font)}
.suggest [role=option]{padding:7px 10px;cursor:pointer}.suggest [role=option]:hover,.suggest [role=option][aria-selected=true]{background:var(--surface)}
.suggest-group{padding:9px 10px 4px;font-size:12.5px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
/* a menu's arrow, drawn here in the menu's own ink and kept off its right edge, where each browser pinned its own (the
   :not(#_) outweighs the background and padding each form gives its controls; it names nothing) */
select:not([multiple]):not([size]):not(#_){appearance:none;-webkit-appearance:none;padding-right:36px;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:right 19px center,right 14px center;background-size:5px 5px,5px 5px;background-repeat:no-repeat}
@media (forced-colors:active){select:not([multiple]):not([size]):not(#_){appearance:auto;-webkit-appearance:auto;background-image:none}}
/* hkadh-ui · table. Records in rows and in pairs, shadcn's Table as plain CSS over the tokens:

     <div class="tablewrap"><table class="atable">…</table></div>   rows; a th sorts by a dotted link; td.num is figures, th.num the heading over them;
                                                                     in the signed-in areas (body.app), and wherever it
                                                                     carries .stack, it folds to label and value below
                                                                     900px (where the masthead's menu folds too): a record to a block, nothing cut off at the
                                                                     side; the label stands in a margin at the left, so a
                                                                     cell may hold whatever it holds (a link and a note,
                                                                     a menu, a form)
     <a class="cell" href="…" data-f="…" data-v="…">value</a>        a cell edited in place: the page's script puts the control
                                                                     in the cell (td.editing), shows the new value while it is
                                                                     sent (td.saving), then marks it kept (td.saved) or refused
                                                                     (.err under the value); without script the link opens the
                                                                     row (.add: the muted prompt in an empty cell)
     <select class="cell">…</select>                                 a cell that is a menu from the start (a category): it reads
                                                                     as the cell's text until it is pointed at or focused
     <p class="gridnote" role="status">…</p>                         what the last save did: a line kept free above the table
     <span class="idno">HK-7049</span>                               an identifier (a member's, a participant's): written whole, never
                                                                     broken at its hyphen, in a cell or among a record's facts
     <td class="pick">, <th class="pick">                            a column of selection boxes: as wide as its box
     <td class="nowrap">, <th class="nowrap">                        a short value kept on one line (a time, a size)
     <dl class="facts">…</dl>                                        a record's facts, term and value
     <dl class="facts tight">…</dl>                                  the same in a narrow side column: the term as wide as it
                                                                     needs, so an address stays on one line
     <dl class="pay">…</dl>                                          the public join form's payment details

   A copy installed by the shadcn CLI from the hkadh-ui registry: edit it there, never here (the site's ui:check
   fails on a copy edited in place). */
.tablewrap{overflow-x:auto;margin:6px 0 14px}.atable{border-collapse:collapse;width:100%;font-size:15px}.atable caption{text-align:left;font-weight:600;padding:6px 0;color:var(--muted)}.atable th{text-align:left;font-weight:600;color:var(--muted);border-bottom:1.5px solid var(--city);padding:8px 12px 8px 0;white-space:nowrap}.atable th a{color:inherit;text-decoration:none;border-bottom:1.5px dotted var(--muted)}.atable th[aria-sort] a{color:var(--accent);border-color:var(--accent)}
.atable td{border-bottom:1px solid var(--surface);padding:8px 12px 8px 0;vertical-align:top}.atable td.num{text-align:right;font-family:var(--mono)}.atable th.num{text-align:right;font-family:var(--font);font-size:inherit}.atable .acts form{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}.atable input[type=checkbox]{width:16px;height:16px;accent-color:var(--city)}
.facts{display:grid;grid-template-columns:minmax(130px,200px) 1fr;max-width:820px;border-top:1px solid var(--surface);margin:12px 0}.facts dt,.facts dd{margin:0;padding:8px 0;border-bottom:1px solid var(--surface)}.facts dt{font-weight:600;color:var(--muted);padding-right:16px;overflow-wrap:anywhere}.facts dd{overflow-wrap:anywhere}
.pay{display:grid;grid-template-columns:minmax(120px,190px) 1fr;gap:0;max-width:760px;border-top:1px solid var(--surface);margin-top:6px}.pay dt,.pay dd{margin:0;padding:10px 0;border-bottom:1px solid var(--surface)}.pay dt{font-weight:600}
.facts.tight{grid-template-columns:max-content minmax(0,1fr);font-size:14.5px}.facts.tight dt,.facts.tight dd{padding:6px 0}.facts.tight dt{padding-right:12px}
.atable th.pick,.atable td.pick{width:1%;padding-right:8px}.atable th.nowrap,.atable td.nowrap{white-space:nowrap}
@media (max-width:760px){.facts{grid-template-columns:1fr}.facts dt{padding-bottom:0;border:0}}
@media (max-width:900px){.atable.stack thead,.app .atable thead{display:none}.atable.stack tr,.app .atable tr{display:block;border-bottom:1px solid var(--surface);padding:8px 0}.atable.stack td,.app .atable td{display:block;position:relative;border:0;padding:3px 0 3px 118px;min-height:1.6em;text-align:left;overflow-wrap:anywhere}.atable.stack td::before,.app .atable td::before{content:attr(data-label);position:absolute;left:0;top:5px;width:110px;color:var(--muted);font-size:13px;line-height:1.3}.app .atable td:empty{display:none}}
.atable a.cell{display:block;color:inherit;text-decoration:none;min-height:1.4em;margin:-2px -4px;padding:2px 4px;border-radius:2px;cursor:text}.atable a.cell[hidden]{display:none}.atable a.cell:hover,.atable a.cell:focus-visible{background:var(--surface)}.atable a.cell .add{color:var(--muted);font-size:13px}
.atable td.editing > input,.atable td.editing > select{display:block;box-sizing:border-box;font:inherit;color:var(--ink);background:var(--paper);border:1.5px solid var(--accent);border-radius:2px;outline:none;margin:-2px -4px;padding:.5px 2.5px;width:calc(100% + 8px);min-width:9em}
.atable select.cell{display:block;box-sizing:border-box;font:inherit;color:inherit;background:transparent;border:1.5px solid transparent;border-radius:2px;margin:-2px -4px;padding:.5px 2.5px;width:calc(100% + 8px);min-width:9em;cursor:pointer;appearance:none;-webkit-appearance:none}.atable select.cell:hover{background:var(--surface)}.atable select.cell:focus{border-color:var(--accent);background:var(--paper);color:var(--ink);outline:none}
.atable td.saving a.cell,.atable td.saving select.cell{color:var(--muted)}.atable td.saved{animation:cellsaved 1.4s ease-out}@keyframes cellsaved{from{background:color-mix(in srgb,var(--state) 28%,transparent)}to{background:transparent}}@media (prefers-reduced-motion:reduce){.atable td.saved{animation:none}}
.idno{white-space:nowrap}
.atable td > .err{display:block;font-size:12.5px;font-weight:600;color:var(--time);margin-top:2px}.gridnote{min-height:1.5em;margin:6px 0;font-size:14px;color:var(--muted)}.gridnote.bad{color:var(--time);font-weight:600}
/* hkadh-ui · card. A surface for one thing, shadcn's Card as plain CSS over the tokens:

     <ul class="cards"><li class="card">…</li></ul>   the public site's event and notice cards (.date, .conf, h3, .meta, .desc, .links)
     .cards.stats                                      the officers' overview figures (.n over .l, each on its own line)
     .cardlist, .personas                              grids of small cards (people; the preview personas)
     <div class="paybox">…</div>                       the registrant's payment box, with its dl.pay

   Inside the signed-in areas a card's heading is the areas' semibold 16px (set here in full, so it does not depend on
   the order of the areas' own heading rule and this file); the public card heading is bold 18px.

   A copy installed by the shadcn CLI from the hkadh-ui registry: edit it there, never here (the site's ui:check
   fails on a copy edited in place). */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.card{background:var(--surface);padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px}
.card .date{display:flex;gap:6px 10px;align-items:baseline;flex-wrap:wrap;font-size:14px;color:var(--muted)}.card .date .tag{margin-left:auto}.card .conf{font-weight:700;color:var(--city);font-size:15px}
.card h3{font:700 18px/1.25 var(--font);margin:2px 0}.card h3 a{color:var(--ink);text-decoration:none;border-bottom:1.5px solid transparent}.card h3 a:hover{border-color:var(--accent)}.card .meta{font-size:14.5px;line-height:1.45;color:var(--muted)}.card .desc{font-size:15px;margin-top:4px;max-width:80ch}.card .links{font-size:14px;margin-top:auto;padding-top:8px;display:flex;gap:18px;flex-wrap:wrap}
.cards.stats{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));margin:10px 0}.cards.stats .card{gap:2px}.cards.stats .n{font:700 28px/1.1 var(--font);color:var(--city)}.cards.stats .l{font-size:14px;color:var(--muted)}.cards.stats a{display:grid;gap:2px;text-decoration:none;color:inherit}
.cardlist{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.cardlist .card{gap:4px}.cardlist .card h3{margin:0;font:600 16px/1.3 var(--font)}
.personas{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.personas .card h3{margin:0 0 4px;font:600 16px/1.3 var(--font)}.personas .card p{font-size:14px;color:var(--muted);margin:0 0 8px}
.paybox{border:1.5px solid var(--surface);border-radius:3px;padding:14px 16px;margin:10px 0;max-width:720px}.paybox h3{margin-top:0}.paybox dl.pay{display:grid;grid-template-columns:minmax(120px,180px) 1fr;gap:4px 12px;margin:8px 0}.paybox dl.pay dt{color:var(--muted);font-weight:600}.paybox dl.pay dd{margin:0;font-family:var(--mono)}
/* hkadh-ui · nav. Where the reader is inside a signed-in area, shadcn's NavigationMenu, Tabs and Breadcrumb as plain
   CSS over the tokens. The site's own sections stay in the masthead (site.css); these sit under it:

     <nav class="subnav" id="subnav" aria-label="ExCo"><div class="in">
       <button class="linkbtn subnav-toggle" aria-expanded="false" aria-controls="subnav"><b>ExCo</b> Members …</button>
       <b class="area">ExCo</b>
       <ul><li><a href="…" aria-current="page">Members</a></li> …</ul>
       <div class="who"><span class="addr">name@…</span> <a href="…">…</a> <button class="linkbtn">Sign out</button></div>
     </div></nav>                                         the area's pages, in the place of the public pages' conference
                                                          band and drawn as it is (hairlines, 14.5px); below 900px the
                                                          toggle names the area and the page and opens the list under it
     <p class="filters"><a href="…" aria-current="true">All</a> <a href="…">Current</a></p>   a list's views (Tabs)
     <p class="crumb"><a href="…">People</a> › Rhoda Regular</p>                              the way back (Breadcrumb)

   The area's name is in Peak violet, the members' colour; the page the reader is on takes the teal of everything
   interactive, as in the masthead.

   A copy installed by the shadcn CLI from the hkadh-ui registry: edit it there, never here (the site's ui:check
   fails on a copy edited in place). */
.subnav{border-top:1px solid var(--surface);border-bottom:1px solid var(--surface);font:500 14.5px/1.45 var(--font)}.subnav .in{display:flex;align-items:center;gap:4px 18px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
.subnav .area{font-weight:700;color:var(--members)}.subnav ul{display:flex;gap:4px 16px;flex-wrap:wrap;align-items:center}.subnav li{display:flex;align-items:center}
.subnav a{color:var(--ink);text-decoration:none;border-bottom:1.5px solid transparent}.subnav a:hover,.subnav a[aria-current]{color:var(--accent);border-color:var(--accent)}
.subnav .who{margin-left:auto;display:flex;gap:4px 14px;align-items:center;flex-wrap:wrap;font-weight:400;color:var(--muted)}.subnav .who form{display:inline-flex}.subnav .who .linkbtn{color:var(--ink);text-decoration:none;border-bottom:1.5px solid transparent;font-weight:500}.subnav .who .linkbtn:hover{color:var(--accent);border-color:var(--accent)}
.subnav .who a.mode{color:var(--new);font-weight:700}.subnav .who a.mode:hover{color:var(--new);border-color:var(--new)}
.subnav .area.mode,.subnav .subnav-toggle b.mode{color:var(--new)}
.subnav li a,.subnav .who a,.subnav .who .linkbtn{display:inline-flex;align-items:center;gap:5px}.subnav li .ic,.subnav .who .ic{width:15px;height:15px;flex:none;vertical-align:0}.subnav li .badge{margin-left:0}
.subnav .area.mode ~ ul,.subnav .area.mode ~ .who{column-gap:12px}
.area-tabs{padding-bottom:9px;border-bottom:1px solid var(--surface)}
/* a section's row of pages with one action at its end (Mail: New Message) */
.area-bar{display:flex;flex-wrap:wrap;align-items:center;column-gap:16px;border-bottom:1px solid var(--surface);margin:10px 0}.area-bar > .area-tabs{flex:1 1 auto;border-bottom:0;margin:0;padding:6px 0}.area-bar > .btn{display:inline-flex;align-items:center;gap:6px;margin:4px 0}.area-bar > .btn .ic{width:15px;height:15px}
.subnav-toggle{display:none}
@media (max-width:900px){.subnav .linkbtn.subnav-toggle{display:inline-flex;align-items:center;gap:6px;font:500 14.5px/1.45 var(--font);color:var(--ink);text-decoration:none}.subnav-toggle b{font-weight:700;color:var(--members)}.subnav-toggle .ic{width:16px;height:16px;vertical-align:0}.subnav-toggle[aria-expanded="true"] .ic{transform:rotate(180deg)}
.subnav .area,.subnav .who .addr{display:none}.subnav ul{display:none;order:3;flex-basis:100%;flex-direction:column;align-items:flex-start;gap:10px;padding:8px 0 4px}.subnav.open ul{display:flex}}
.filters{display:flex;gap:6px 18px;flex-wrap:wrap;margin:10px 0;font-size:15px}.filters a{text-decoration:none;color:var(--muted);border-bottom:1.5px solid transparent}.filters a[aria-current]{color:var(--ink);font-weight:600;border-color:var(--accent)}
.crumb{font-size:15px;margin-bottom:6px;color:var(--muted)}.crumb a{text-decoration:none;border-bottom:1.5px solid var(--surface)}
/* hkadh-ui · pagination. How much of a long table is shown and where the reader is in it, shadcn's Pagination as
   plain CSS over the tokens:

     <nav class="pager" aria-label="Rows">
       <span class="count">1–50 of 192</span>
       <span class="sizes">Show <a href="?per=25">25</a> <a href="?per=50" aria-current="true">50</a> <a href="?per=100">100</a> <a href="?per=all">All</a></span>
       <span class="steps"><a href="?page=1" rel="prev">Previous</a> <span>Page 2 of 4</span> <a href="?page=3" rel="next">Next</a></span>
     </nav>

   The count and the sizes stand above a table, beside its search; the steps under it. The size in use is marked as the
   page the reader is on is marked everywhere else: ink, semibold, a teal rule. A piece that has nothing to say is
   left out by the page (no steps for a single page, no sizes for a table shorter than the smallest of them).
   A register edited in place puts its status line (.gridnote: table.css) at the right of the row above the table.

   A copy installed by the shadcn CLI from the hkadh-ui registry: edit it there, never here (the site's ui:check
   fails on a copy edited in place). */
.pager{display:flex;gap:6px 22px;align-items:baseline;flex-wrap:wrap;margin:10px 0;font-size:15px;color:var(--muted);font-variant-numeric:tabular-nums}
.pager .sizes,.pager .steps{display:inline-flex;gap:4px 12px;align-items:baseline;flex-wrap:wrap}.pager .steps{gap:4px 16px}.pager .gridnote{margin:0 0 0 auto;min-height:0}
.pager a{color:var(--muted);text-decoration:none;border-bottom:1.5px solid transparent}.pager a:hover{color:var(--accent);border-color:var(--accent)}.pager a[aria-current]{color:var(--ink);font-weight:600;border-color:var(--accent)}
.pager .steps a{color:var(--accent);border-color:var(--accent)}
/* hkadh-ui · document. A sheet to print or keep: an invoice, a receipt. shadcn/ui has no component of the kind; this is
   plain CSS in the same manner. The sheet is a page of hkadh.org at the width of a letter, as a message's frame is: the
   mark and the name as the masthead writes them, the document's title over the skyline rule as a page's head is, and at
   its foot the skyline standing on the Prussian band (Javier, 22 November 2026: "a bit more stylized according to the
   HKADH mark, masthead, header, footer, and overall design matching the website"):

     <article class="doc day">
       <div class="doc-body">
         <header class="doc-head">
           <p class="doc-brand"><svg>the mark</svg><span class="doc-id"><b class="doc-wm">HKADH <span lang="zh-Hant">…</span></b>
             <span class="doc-org">Who issues it</span></span></p>
           <p class="doc-contact">hkadh.org<br>…</p>
         </header>
         <p class="doc-title"><b>Receipt</b> <span class="doc-no">HKADH-RCPT-00007</span></p>
         <svg class="doc-seam">the skyline as a rule</svg>
         <dl class="doc-meta"><dt>Received from</dt><dd>…</dd> …</dl>
         <table class="doc-lines"><thead><tr><th>Description</th><th>Amount</th></tr></thead>
           <tbody><tr><td>What it is for<br><span class="doc-detail">…</span></td><td>HK$600.00</td></tr></tbody>
           <tfoot><tr><th>Received</th><td>HK$600.00</td></tr></tfoot></table>
         <p class="doc-note">…</p>   <p class="doc-note strong">what the reader must not miss: paid, withdrawn, refunded</p>
       </div>
       <footer class="doc-foot"><svg class="doc-sky">the skyline</svg>
         <p class="doc-band">Who issues it, in a line. <span class="doc-at">This document: …</span></p></footer>
     </article>
     <p class="doc-actions">…</p>     what the reader can do with it (print); never printed

   A sheet is paper: white under the site's ink by day, by night and from the printer. It carries .day, which the tokens
   give the day palette whatever the hour, so everything on it (the mark and the skyline too, which draw in var(--city))
   is as it is by day; its outline on the screen is a token that does not turn.

   On paper nothing is dark but ink (Javier, 22 November 2026: "Receipt in PDF has a dark background. Don't, as it looks
   awkward."). The band is the screen's: from the printer the skyline stands on a Prussian line and the foot's words are
   ink on white. And the page is paper to its edges: a page whose <body> carries .docpage prints nothing but its sheets,
   and its root is given the light scheme for the printer. Without that, a reader who saves a PDF from the night theme
   with "Background graphics" on gets the night in the page's margins: the root's colour scheme paints the whole page
   box, margins included, and making the body white does not reach them. The drawings are SVG, which a printer always
   prints.

   A copy installed by the shadcn CLI from the hkadh-ui registry: edit it there, never here (the site's ui:check
   fails on a copy edited in place). */
.doc{color-scheme:light;background:var(--white);color:var(--ink);border:1px solid var(--line);max-width:780px;margin:6px 0 18px;font:15px/1.5 var(--font)}.doc a{color:var(--accent);white-space:nowrap}
.doc-body{padding:32px 44px 34px}
.doc-head{display:flex;justify-content:space-between;align-items:center;gap:14px 28px;flex-wrap:wrap;padding-bottom:18px;border-bottom:1px solid var(--line)}
.doc-brand{display:flex;align-items:center;gap:14px;margin:0}.doc-brand svg{flex:none}
.doc-id{display:flex;flex-direction:column;justify-content:center;line-height:1.1;position:relative;top:2px}
.doc-wm{display:flex;align-items:center;gap:10px;font:700 22px/1 var(--font);letter-spacing:.02em}.doc-wm span{font:500 14px/1 var(--cjk);letter-spacing:.06em;color:var(--muted)}
.doc-org{font-size:12.5px;line-height:1.2;color:var(--muted);margin-top:2px}
.doc-contact{margin:0;text-align:right;font-size:13px;line-height:1.5;color:var(--muted)}
.doc-title{display:flex;justify-content:space-between;align-items:baseline;gap:4px 24px;flex-wrap:wrap;margin:26px 0 0;line-height:1.2}.doc-title b{font:700 30px/1.12 var(--font);letter-spacing:-.005em}.doc-no{font-family:var(--mono);font-size:15px;white-space:nowrap}
.doc-seam{display:block;width:100%;height:18px;margin:12px 0 24px}
.doc-meta{display:grid;grid-template-columns:minmax(120px,170px) 1fr;align-items:baseline;gap:8px 16px;margin:0 0 28px}.doc-meta dt{font-size:12.5px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}.doc-meta dd{margin:0}
.doc-lines{width:100%;border-collapse:collapse;margin:0 0 20px}.doc-lines th,.doc-lines td{padding:10px 0;text-align:left;vertical-align:top;font-weight:400;border-bottom:1px solid var(--line)}
.doc-lines th:last-child,.doc-lines td:last-child{text-align:right;white-space:nowrap;padding-left:24px;font-variant-numeric:tabular-nums}
.doc-lines thead th{padding:0 0 7px;font-size:12.5px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);border-bottom:1.5px solid var(--city)}
.doc-lines tfoot th,.doc-lines tfoot td{font-weight:700;font-size:17px;border-bottom:0;padding-top:13px}.doc-lines tfoot th{text-align:right}
.doc-detail{font-size:13.5px;color:var(--muted)}
.doc-note{margin:0 0 8px}.doc-note.strong{font-weight:700;padding-left:11px;border-left:3px solid var(--city)}
.doc-foot{margin:0;break-inside:avoid}.doc-sky{display:block;width:100%;height:auto;margin-bottom:-1px}
.doc-band{position:relative;margin:0;padding:14px 44px 16px;background:var(--city);color:var(--paper);font-size:12.5px;line-height:1.5;overflow-wrap:anywhere}.doc-at{display:block;opacity:.85}
.doc-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:0 0 8px}
@media (max-width:640px){.doc-body{padding:22px 18px 24px}.doc-head{flex-direction:column;align-items:flex-start}.doc-contact{text-align:left}.doc-title b{font-size:26px}.doc-meta{grid-template-columns:1fr;gap:0}.doc-meta dd{margin-bottom:9px}.doc-band{padding:12px 18px 14px}}
@media print{@page{margin:16mm}:root:has(.docpage){color-scheme:light;background:Canvas;color:CanvasText}.docpage > :not(main),.docpage main > :not(.content),.docpage .content > :not(.doc){display:none}.docpage{display:block;color-scheme:light;background:Canvas;color:CanvasText;margin:0;padding:0}.docpage main,.docpage .content{display:block;background:none;margin:0;padding:0;max-width:none}.docpage .doc{border:0;margin:0;max-width:none}.docpage .doc-body{padding:0 0 26px}.docpage .doc-sky{margin-bottom:0}.docpage .doc-band{background:none;color:var(--muted);border-top:1.5px solid var(--city);padding:10px 0 0}.docpage .doc-at{opacity:1}}
