/* Admin screens. Same palette and type floor as the client galleries, plainer layout. */
:root {
  --alpine: #C19434;
  --alpine-dk: #8a6a23;
  --dark: #1f1f1f;      /* body text */
  --band: #555;         /* dark bands and buttons */
  --head: #666;         /* headlines */
  --mid: #7a7a7a;       /* fine print */
  --light: #e6e6e6;
  --paper: #f6f3ec;
  --soft: #f2f2f2;
  --white: #fff;
  --t-min: 1rem;
  --t-body: 1.1rem;
  --maxw: 1180px;
  --rule-w: 104px;
  /* A person's colour (Lane, October 12 2026): Lane, Sarah, Atira, Erin, then two spare. The Calendar's are the same (src/routes/admin/calendar.tsx). */
  --team-L: #C19434; --team-S: #933F32; --team-A: #317C7C; --team-E: #76546D; --team-5: #738668; --team-6: #547A95;
}
* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; font-family: Oswald, 'Segoe UI', Arial, sans-serif; font-weight: 300; font-size: var(--t-body); color: var(--dark); background: #fafafa; }
a { color: var(--alpine-dk); font-weight: 500; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 600; line-height: 1.15; margin: 0 0 .4em; color: var(--head); }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-top: 2rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; max-width: 66ch; }
.eyebrow { color: var(--alpine); text-transform: uppercase; letter-spacing: .12em; font-size: var(--t-min); font-weight: 500; margin: 0 0 .3em; }
.rule { width: var(--rule-w); height: 3px; background: var(--alpine); border: 0; margin: .6rem 0 1.2rem; }
/* Staging's band (docs/staging.md): one alpine line above everything, admin pages only. */
.staging-band { background: var(--alpine); color: #fff; text-align: center; font-size: var(--t-min); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .5rem; }
.topbar { display: flex; align-items: center; gap: 2rem; padding: .8rem 1.5rem; background: var(--band); color: #eee; }
.topbar .brand { display: block; line-height: 0; margin-right: 1.25rem; }   /* Lane's Hank logo; a little more room before the menu than between its items */
.topbar .brand img { height: 28px; width: auto; display: block; }
.topbar .who { margin-left: auto; color: #bbb; font-size: var(--t-min); display: flex; align-items: center; gap: 1rem; }
/* The suggestion box: a gold icon beside the name, a count for the owner, a small form in a dialog. */
.suggest-btn { position: relative; background: none; border: 0; padding: 4px; cursor: pointer; line-height: 0; }
.suggest-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--alpine); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.suggest-btn:hover svg { stroke: #d9ad4d; }
.suggest-count { position: absolute; top: -4px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--alpine); color: #111; font-size: .75rem; font-weight: 600; line-height: 18px; text-align: center; }
dialog.suggest { width: min(560px, calc(100vw - 32px)); border: 0; padding: 1.5rem; color: var(--dark); }
dialog.suggest::backdrop { background: rgba(0,0,0,.5); }
dialog.suggest h2 { margin-top: 0; }
dialog.suggest label { display: block; margin-bottom: 1rem; }
dialog.suggest input, dialog.suggest textarea { display: block; width: 100%; margin-top: .3rem; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 1.5rem; }
.flash { background: var(--paper); border-left: 3px solid var(--alpine); padding: .8rem 1rem; margin-bottom: 1.5rem; }
[hidden] { display: none !important; }
.row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 800px) { .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--light); padding: 1.25rem; margin-bottom: 1.25rem; }
.card h3 { margin-top: 0; }
table { border-collapse: collapse; width: 100%; background: var(--white); border: 1px solid var(--light); }
th, td { text-align: left; padding: .55rem .75rem; border-bottom: 1px solid var(--light); vertical-align: top; font-size: var(--t-min); }
th { font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--mid); }
tr:last-child td { border-bottom: 0; }
/* Fine type: recedes by weight and colour, never by size. Nothing goes below --t-min (style guide). */
.fine { font-size: var(--t-min); font-weight: 300; color: var(--mid); }
.nowrap { white-space: nowrap; }
/* Rows whose cells should line up on one baseline rather than hang from the top. */
table.rows th, table.rows td { vertical-align: middle; }
.acts { display: inline-flex; align-items: center; gap: .5rem; }
/* A copy control is an icon, not a word: it repeats down a column and a row of buttons reads as noise. */
.copybtn { display: inline-flex; align-items: center; justify-content: center; padding: .25rem; border: 0; background: none; color: var(--mid); cursor: pointer; line-height: 0; }
.copybtn:hover { color: var(--alpine-dk); }
.copybtn svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.copybtn.copied { color: var(--alpine-dk); }
.muted { color: var(--mid); }
.small { font-size: var(--t-min); }
.right { text-align: right; }
label { display: block; font-size: var(--t-min); font-weight: 500; margin: .8rem 0 .25rem; }
input[type=text], input[type=search], input[type=email], input[type=url], input[type=number], input[type=date], input[type=time], input[type=tel], select, textarea {
  width: 100%; font: inherit; font-weight: 300; font-size: var(--t-body); padding: .5rem .6rem; border: 1px solid #bbb; background: var(--white); color: var(--dark);
  min-height: 2.875rem; /* text boxes and dropdowns line up at the same height */
}
input[type=search] { appearance: none; -webkit-appearance: none; }
/* An example or a default, never mistaken for what is typed (Lane, October 27, 2026) */
::placeholder { color: #b4b4b4; font-style: italic; opacity: 1; }
.hk-find input::placeholder { font-style: normal; }
textarea { min-height: 8rem; }
input[type=checkbox] { width: 1.1rem; height: 1.1rem; vertical-align: middle; }
.btn, button.btn { display: inline-block; font: inherit; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: var(--t-min); padding: .6rem 1.1rem; background: var(--band); color: var(--white); border: 2px solid var(--band); cursor: pointer; }
.btn:hover { text-decoration: none; background: #444; }

/* ---- The coat (Lane, October 13 2026; docs/design-notes.md, "The coat") ----
   The look settled on a session's page and the Sessions list, given to every admin page at once through these
   base rules alone: a light gray page, white cards with no edge, 14px corners on cards and tables, 8px on fields
   and buttons, one kind of button. No page's markup changed. It is on while <body> has the class "coat"
   (COAT in src/views/admin-layout.tsx): take the class off and every page is as it was.
   Each rule is written with :where(), so it weighs exactly what the base rule above it weighs and anything a
   page says for itself further down still wins. */
body:where(.coat) { background: var(--soft); }
:where(.coat) h1 { font-size: 2.4rem; color: var(--dark); }
:where(.coat) .card { border: 0; border-radius: 14px; padding: 1.4rem 1.5rem 1.5rem; }
:where(.coat) .flash { border-radius: 8px; background: var(--white); }
:where(.coat) table { border: 0; border-collapse: separate; border-spacing: 0; border-radius: 14px; }
:where(.coat) th { font-weight: 600; color: var(--band); }
:where(.coat) table > :first-child > tr:first-child > :first-child { border-top-left-radius: 14px; }
:where(.coat) table > :first-child > tr:first-child > :last-child { border-top-right-radius: 14px; }
:where(.coat) table > :last-child > tr:last-child > :first-child { border-bottom-left-radius: 14px; }
:where(.coat) table > :last-child > tr:last-child > :last-child { border-bottom-right-radius: 14px; }
:where(.coat) input[type=text], :where(.coat) input[type=search], :where(.coat) input[type=email], :where(.coat) input[type=url], :where(.coat) input[type=number], :where(.coat) input[type=date], :where(.coat) input[type=time], :where(.coat) input[type=tel], :where(.coat) select, :where(.coat) textarea { border-color: #d9d9d9; border-radius: 8px; }
:where(.coat) input:focus, :where(.coat) select:focus, :where(.coat) textarea:focus { border-color: var(--alpine); outline: 2px solid rgba(193, 148, 52, .25); outline-offset: 0; }
:where(.coat) .btn, :where(.coat) button.btn { background: var(--white); color: var(--band); border-radius: 8px; }
:where(.coat) .btn:hover { background: var(--paper); }
/* The small "i" beside a setting (src/views/info.tsx): faint, small, always after the setting's name. Its box
   opens under it and is kept inside the window by public/admin-copy.js. */
details.info { display: inline-block; position: relative; vertical-align: -2px; margin-left: .2rem; }
details.info > summary { list-style: none; cursor: pointer; line-height: 0; color: var(--mid); opacity: .5; }
details.info > summary::-webkit-details-marker { display: none; }
details.info > summary:hover, details.info[open] > summary { opacity: 1; color: var(--alpine-dk); }
details.info > summary svg { width: .95rem; height: .95rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
details.info > summary svg .dot { fill: currentColor; stroke-width: 1; }
.info-pop { position: absolute; z-index: 30; top: 1.35rem; left: 0; width: min(20rem, 82vw); display: flex; flex-direction: column; gap: .3rem; padding: .7rem .85rem; background: var(--white); border: 1px solid var(--light); border-top: 2px solid var(--alpine); box-shadow: 0 6px 18px rgba(0,0,0,.12); font-size: var(--t-min); font-weight: 300; line-height: 1.4; color: var(--dark); text-transform: none; letter-spacing: 0; white-space: normal; cursor: default; }
.info-pop strong { font-weight: 500; }
.helpentry:target { box-shadow: inset 3px 0 0 var(--alpine); }

/* Something typed and not yet saved: the one alpine button on the admin, so it cannot be missed. */
.btn-alpine, button.btn-alpine { background: var(--alpine); border-color: var(--alpine); color: #111; }
.btn-alpine:hover, button.btn-alpine:hover { background: var(--alpine-dk); border-color: var(--alpine-dk); color: var(--white); }
.savefield { display: flex; gap: .4rem; align-items: stretch; }
.savefield input { flex: 1; min-width: 0; }
.savefield.dirty input, .notebox.dirty textarea { border-color: var(--alpine); }
.notebox { position: relative; }
.notebox .btn-alpine { position: absolute; right: .6rem; bottom: .9rem; }
.notebox.dirty textarea { padding-bottom: 3.2rem; }
/* Saving, Saved: written into the gap under the field, taking no room, so nothing below it moves (Lane, October 12 2026). */
.savemark { display: block; height: 0; overflow: visible; position: relative; top: .15rem; line-height: 1.3; white-space: nowrap; }
.btn-ghost, button.btn-ghost { background: transparent; color: var(--band); }   /* button.btn above would otherwise win on a <button> */
.btn-ghost:hover, button.btn-ghost:hover { background: var(--paper); }
.btn-sm { padding: .3rem .7rem; font-size: .9rem; }
.btn-danger { border-color: #a33; color: #a33; background: transparent; }
/* The coat: a second button is the same button, and the one that deletes keeps its red on white. */
:where(.coat) .btn-ghost, :where(.coat) button.btn-ghost { background: var(--white); }
:where(.coat) .btn-ghost:hover, :where(.coat) button.btn-ghost:hover { background: var(--paper); }
:where(.coat) .btn-danger, :where(.coat) button.btn-danger { background: var(--white); border-color: #a33; color: #a33; }
:where(.coat) .btn-danger:hover, :where(.coat) button.btn-danger:hover { background: #fbeceb; }
.btns { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.pill { display: inline-block; padding: .1rem .5rem; border: 1px solid var(--light); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mid); }
.pill.on { border-color: var(--alpine); color: var(--alpine-dk); }
:where(.coat) .pill { border-radius: 999px; background: var(--white); padding: .1rem .7rem; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.thumbs figure { margin: 0; background: var(--white); border: 1px solid var(--light); padding: 6px; }
.thumbs img { width: 100%; height: auto; display: block; background: #f2f2f2; }
.thumbs figcaption { font-size: .95rem; padding: .35rem 0 0; overflow-wrap: anywhere; line-height: 1.25; }
.thumbs .meta { color: var(--mid); font-size: .85rem; }
.drop { border: 2px dashed #bbb; padding: 2rem; text-align: center; background: var(--white); margin-bottom: 1rem; }
.drop.over { border-color: var(--alpine); background: var(--paper); }
/* The sidebar's box on a collection whose images are one set: out of sight until files are dragged over the page. */
.drop-float { display: none; position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 70; width: min(380px, calc(100vw - 3rem)); max-height: 60vh; overflow: auto; margin: 0; padding: 1.25rem; text-align: left; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.drop-float.over, .drop-float.busy { display: block; }
.drop-float.dragging { pointer-events: none; }
.drop-float p { margin: 0; }
.progress { font-size: var(--t-min); color: var(--mid); }
.progress ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.linkbox { display: flex; gap: .5rem; align-items: center; }
.linkbox input { flex: 1; }
/* A folder's name with a pencil beside it: pressing either opens the rename box in place. */
.rename summary { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; list-style: none; }
.rename summary::-webkit-details-marker { display: none; }
.rename summary h2 { margin: 0; }
.rename summary svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: var(--mid); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rename summary:hover svg { stroke: var(--alpine-dk); }
.rename[open] summary svg { stroke: var(--alpine-dk); }
.rename form { margin: .5rem 0 0; flex-wrap: nowrap; gap: .5rem; }
.rename form input[type=text] { min-width: 18rem; margin: 0; }
/* The part of a message not to miss: what was left out or did not happen. */
.flash-warn { color: #a3322a; font-weight: 500; margin-top: .3rem; }
/* An upload in progress: how far along, and what is going up now. */
.upbar { height: .5rem; background: var(--light); margin: .6rem 0 .4rem; }
.upbar span { display: block; height: 100%; width: 0; background: var(--alpine); transition: width .2s; }
.upnow { color: var(--mid); font-size: var(--t-min); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.justadded-bar .fail { color: #a3322a; font-weight: 500; display: block; }
/* The collection's cover at the top of its sidebar. */
/* A thing's link on its own page: the address, On or Off, Make a new link (docs/links.md). */
.linkcard { margin: .75rem 0 1.25rem; }
.card > .linkcard { margin: 0; }
.linkcard-title { font-weight: 500; color: var(--head); margin: 0 0 .2rem; }
.linkcard .btns { margin-top: .6rem; }
.linkcard .btns form { margin: 0; }
/* Where a sidebar entry jumps to on a long page, clear of the top of the window. */
.anchor { scroll-margin-top: 1rem; }
.check { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--t-min); font-weight: 300; margin: 0; }
pre.preview { background: var(--paper); padding: 1rem; white-space: pre-wrap; font: inherit; border-left: 3px solid var(--alpine); }
.help { font-size: var(--t-min); color: var(--mid); }
.help code { background: var(--paper); padding: 0 .3rem; }
.sortable li { list-style: none; display: flex; gap: .5rem; align-items: center; padding: .4rem 0; border-bottom: 1px solid var(--light); }
.sortable { padding: 0; margin: 0; }

/* Collections list: list or tiles. */
.viewswitch { display: inline-flex; border: 1px solid var(--light); margin-left: auto; }
.viewswitch a { display: inline-flex; align-items: center; padding: .35rem .6rem; color: var(--mid); }
.viewswitch a.on { background: var(--band); color: var(--white); }
.viewswitch svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin-top: 1rem; }
.tiles a.tile { display: block; background: var(--white); border: 1px solid var(--light); color: var(--dark); font-weight: 300; }
.tiles a.tile:hover { text-decoration: none; border-color: var(--alpine); }
.tiles .tile-img { aspect-ratio: 4 / 3; background: var(--soft); display: grid; place-items: center; color: var(--mid); font-size: .9rem; overflow: hidden; }
.tiles .tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tiles .tile-img.is-logo { background: var(--white); }
.tiles .tile-img.is-logo img { object-fit: contain; padding: 12%; }
.tiles .tile-body { padding: .7rem .8rem .8rem; }
.tiles .tile-name { font-weight: 500; font-size: var(--t-body); line-height: 1.2; }
.tiles .tile-meta { color: var(--mid); font-size: .9rem; margin-top: .3rem; }
.tiles .tile-tag { display: inline-block; margin-top: .5rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mid); }
/* Drag to reorder folders. */
.dragrows tr { cursor: grab; }
.dragrows tr.dragging { opacity: .4; }
.dragrows tr.over td { border-top: 2px solid var(--alpine); }
.dragrows .grip { color: #bbb; font-size: 1.1rem; width: 1.5rem; user-select: none; }
/* Tick images, then delete the lot. */
.thumbs figure { position: relative; }
/* Small, and out of the way until it is wanted: the photograph is what you came to look at. The hit area
   stays finger-sized through the padding, so it is easier to click than it looks (Lane, September 25). */
.thumbs .pick { position: absolute; top: 4px; left: 4px; width: .95rem; height: .95rem; margin: 0; padding: 6px; accent-color: var(--alpine); opacity: .55; z-index: 2; cursor: pointer; }
.thumbs figure:hover .pick, .thumbs .pick:checked, .thumbs .pick:focus-visible { opacity: 1; }
.thumbs figure.picked { outline: 3px solid var(--alpine); }
.thumbs img { cursor: zoom-in; }

/* Looking at one photograph properly, without leaving the folder. */
.adminlb { position: fixed; inset: 0; background: rgba(20,20,20,.94); display: none; z-index: 60; overflow: hidden; }
.adminlb.on { display: flex; flex-direction: column; }
.adminlb-top { flex: 0 0 auto; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .6rem 1rem; color: #eee; font-size: var(--t-min); }
.adminlb-top .fn { overflow-wrap: anywhere; }
.adminlb-top .sp { margin-left: auto; }
.adminlb-top a, .adminlb-top button { color: #eee; background: none; border: 0; font: inherit; cursor: pointer; padding: .2rem .5rem; white-space: nowrap; }
.adminlb-top a:hover, .adminlb-top button:hover { color: var(--alpine); text-decoration: none; }
.adminlb-img { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 3.5rem 1rem; }
.adminlb-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.adminlb .nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #eee; font-size: 2.5rem; line-height: 1; cursor: pointer; padding: 1rem; }
.adminlb .nav:hover { color: var(--alpine); }
.adminlb .prev { left: 0; } .adminlb .next { right: 0; }
.bulkbar { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin: .75rem 0; }
.cover-preview { width: 160px; height: 120px; object-fit: cover; display: block; background: var(--soft); border: 1px solid var(--light); }

/* The dashboards' sidebar: the collection sidebar's look, narrower, with the brands to show under it. On a phone it
   is a row across the top that scrolls sideways, so the list below keeps the screen. */
.dashmain { min-width: 0; }
.dashmain > .timecard, .dashmain > .card { max-width: 60rem; }

/* Collection page: a sidebar of folders and galleries, one panel beside it. */
.workspace { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; margin-top: 1.5rem; }
@media (max-width: 800px) { .workspace { grid-template-columns: 1fr; gap: 1rem; } }
/* Files dragged over a folder's name or New folder: where they will land. */
.sidenav-add.drop-here { background: var(--paper); outline: 2px dashed var(--alpine); outline-offset: -2px; }
.panel { min-width: 0; }
/* Wide screens: the collection workspace uses the window. */
.wrap.roomy { max-width: 1440px; }   /* six tiles across at most (Lane: five too few, seven too many) */
.wrap.wide { max-width: none; padding-left: clamp(1.5rem, 3vw, 3rem); padding-right: clamp(1.5rem, 3vw, 3rem); }
.wrap.wide .workspace { grid-template-columns: 260px 1fr; gap: clamp(2rem, 4vw, 4rem); }
/* "New folder" stays available without shouting. */
.sidenav-add { padding: .2rem .6rem .2rem 1.2rem; }
.sidenav-add summary { cursor: pointer; color: var(--mid); font-size: var(--t-min); list-style: none; }
.sidenav-add summary::before { content: '+ '; }
.sidenav-add summary:hover { color: var(--alpine-dk); }
.sidenav-add form { display: flex; gap: .4rem; margin-top: .4rem; }
.sidenav-add input { min-width: 0; min-height: 2.2rem; font-size: var(--t-min); padding: .3rem .45rem; }
/* Upload clash: replace, keep both, or cancel. */
.upmodal { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.5); display: grid; place-items: center; padding: 1rem; }
.upmodal .box { width: min(460px, 100%); margin: 0; max-height: 80vh; overflow: auto; }
.upmodal ul { margin: .4rem 0 0; padding-left: 1.2rem; }
/* Sortable tables: the heading shows which way it is sorted. */
th.sortable-th { cursor: pointer; user-select: none; }
th.sortable-th:hover { color: var(--alpine-dk); }
th.sortable-th[data-dir=up]::after { content: ' \2191'; }
th.sortable-th[data-dir=down]::after { content: ' \2193'; }
/* The queue shown inside the team-day page. */
.embed { width: 100%; height: 75vh; border: 1px solid var(--light); background: var(--white); }
/* Two thirds and one third, for "add people" beside the sign-up QR. */
.grid3 { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }

/* Team day: where everyone is. A bar for the shape of the day, then the counts as a way in. */
.funnel { margin: 0 0 1.25rem; }
.funnel-bar { display: flex; height: 8px; background: var(--light); overflow: hidden; }
.funnel-bar .seg { display: block; height: 100%; }
.seg-registered { background: #d5d5d5; }
.seg-no_show { background: #ececec; }
.seg-photographed { background: #bdbdbd; }
.seg-proofs_sent { background: #9e9e9e; }
.seg-proofs_viewed { background: #858585; }
.seg-picking { background: #6d6d6d; }
.seg-submitted { background: var(--alpine); }
.seg-final_delivered { background: var(--alpine-dk); }
.funnel-stats { display: grid; grid-template-columns: 1.15fr repeat(8, 1fr); margin-top: .6rem; }
.funnel-stats .stat { display: block; padding: .5rem .75rem .55rem; color: var(--dark); font-weight: 300; border-left: 1px solid var(--light); }
.funnel-stats .stat:first-child { border-left: 0; padding-left: 0; }
.funnel-stats .stat:hover { text-decoration: none; background: var(--paper); }
.funnel-stats .n { display: block; font-size: 1.6rem; font-weight: 500; line-height: 1; color: var(--head); }
.funnel-stats .l { display: block; margin-top: .25rem; font-size: .85rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .06em; color: var(--mid); }
.funnel-stats .stat.zero .n { color: #c4c4c4; }
/* Everyone: a sum, not a stage. Larger, and a heavier rule after it. */
.funnel-stats .stat.total .n { font-size: 2rem; font-weight: 600; }
.funnel-stats .stat.total .l { color: var(--dark); font-weight: 500; }
.funnel-stats .stat.total + .stat { border-left: 2px solid var(--mid); }
@media (max-width: 1100px) { .funnel-stats { grid-template-columns: repeat(4, 1fr); row-gap: .5rem; } .funnel-stats .stat.total { grid-column: 1 / -1; border-bottom: 1px solid var(--light); padding-bottom: .6rem; } .funnel-stats .stat.total + .stat { border-left: 0; } .funnel-stats .stat:nth-child(4n+2) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .funnel-stats { grid-template-columns: repeat(2, 1fr); } .funnel-stats .stat:nth-child(4n+2) { border-left: 1px solid var(--light); padding-left: .75rem; } .funnel-stats .stat:nth-child(even) { border-left: 0; padding-left: 0; } }

/* Team day: the look before you pack up. */
.checkup .checks { list-style: none; margin: 0; padding: 0; }
.checkup .checks li { display: flex; gap: .6rem; align-items: baseline; padding: .4rem 0; border-top: 1px solid var(--light); font-size: var(--t-min); }
.checkup .checks li:first-child { border-top: 0; }
.checkup .mark { flex: 0 0 auto; width: .55rem; height: .55rem; border-radius: 50%; background: var(--light); }
.checkup li.flag .mark { background: var(--alpine); }
.checkup li.info .mark { background: #bdbdbd; }
.checkup li.clear { color: var(--mid); }
.checkup .who a { font-weight: 300; }
.checkup .checks a.show { margin-left: .5rem; white-space: nowrap; }

/* Team day roster: columns that hold their width so names do not stack; a narrow window scrolls the table, not the page. */
.tablescroll { overflow-x: auto; }
table.roster { table-layout: fixed; min-width: 60rem; }
table.roster .c-tick { width: 2rem; }
table.roster .c-n { width: 5rem; }
.roster-bar { gap: .5rem; align-items: center; margin: .25rem 0 .75rem; }

/* A person's proofs on their page on the shoot: hearted and picked marked. Each the whole frame, never cropped to a
   box (Lane, November 17, 2026: "Photographers don't want their frames arbitrarily cropped"). */
.shoot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; align-items: start; }
.shoot-grid a { position: relative; display: block; color: var(--mid); text-decoration: none; }
.shoot-grid img { display: block; width: 100%; height: auto; border-radius: 3px; background: var(--paper); }
.shoot-grid a.picked img { outline: 3px solid var(--alpine); outline-offset: -3px; }
.shoot-grid .tag { position: absolute; top: .4rem; left: .4rem; background: var(--alpine); color: #fff; font-size: var(--t-min); padding: .1rem .4rem; border-radius: 2px; }
.shoot-grid .tag.heart { background: rgba(255,255,255,.9); color: var(--alpine-dk); line-height: 0; padding: .25rem; }
.shoot-grid .tag.heart svg { width: 1rem; height: 1rem; fill: currentColor; stroke: currentColor; }
.shoot-grid .fn { display: block; font-size: var(--t-min); margin-top: .2rem; overflow-wrap: anywhere; }
table.roster .c-face { width: 3.75rem; }
table.roster td.face { padding-top: .35rem; padding-bottom: .35rem; }
table.roster td.face img { display: block; width: 3rem; height: 3rem; object-fit: cover; border-radius: 3px; }
table.roster td.clip { white-space: nowrap; }
table.roster td.clip code { white-space: normal; }
table.roster td.clip .copybtn { vertical-align: middle; margin-left: .15rem; }
table.roster .c-name { width: 16%; }
table.roster .c-clip { width: 8.75rem; }
table.roster .c-status { width: 8.5rem; }
table.roster .c-num { width: 5.25rem; }
table.roster .c-act { width: 7.5rem; }
table.roster td, table.roster th { overflow-wrap: anywhere; }
table.roster a.who { white-space: nowrap; }
table.roster select { width: 100%; }

/* A line from a Hank at the foot of every page. Quiet: it is there to be found, not to be read first. */
.hank { max-width: var(--maxw); margin: 3rem auto 2rem; padding: 1.25rem 1.5rem 0; border-top: 1px solid var(--light); color: var(--mid); font-size: var(--t-min); min-height: 3.5rem; }
.hank-quote { font-style: italic; }
.hank-who cite { font-style: italic; font-weight: 300; }
.hank-who { display: block; margin-top: .2rem; color: var(--mid); font-weight: 500; }

/* Activity filters: one wrapping row of labelled fields. */
.filters { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-end; margin: 1rem 0; }
.filters label { display: flex; flex-direction: column; gap: .25rem; font-size: var(--t-min); }
.filters select, .filters input { width: auto; min-width: 9rem; }
/* Cover photo buttons: the forms' bottom margin would lift them above the View sign-in page link. */
.cover-row > form { margin-bottom: 0; }

/* Drop zones: a file input you can drop an image on, paste into, or click (public/admin-copy.js). */
.dropzone { display: grid; place-items: center; gap: .6rem; min-height: 140px; padding: 1.25rem; border: 2px dashed var(--light); background: var(--white); color: var(--mid); text-align: center; cursor: pointer; }
.dropzone.over { border-color: var(--alpine); background: var(--paper); }
.dropzone input[type=file] { max-width: 100%; }
.dropzone img { max-height: 90px; max-width: 100%; }
/* Brand logo samples: as it sits on white pages, and in the dark footer. */
.logo-sample { display: inline-grid; place-items: center; padding: 1rem 1.5rem; background: var(--white); border: 1px solid var(--light); }
.logo-sample img { height: 48px; width: auto; display: block; }
.logo-sample.dark { background: var(--band); border-color: var(--band); }
.logo-sample.dark img { filter: brightness(0) invert(.86); }

/* Airtable: a Session waiting for a person. */
.waiting { padding: .9rem 0; border-top: 1px solid var(--light); }
.waiting:first-of-type { border-top: 0; }
.waiting form { margin: 0; }
details.card > summary { cursor: pointer; }

/* Names that differ: tick rows, one action for all of them. */
.namegroup { margin-top: 1.25rem; }
.namegroup h4 { margin: 0 0 .25rem; }
.namerow { display: flex; gap: .6rem; align-items: baseline; padding: .35rem 0; border-top: 1px solid var(--light); cursor: pointer; }
.namerow input { flex: none; accent-color: var(--alpine); }
.namecompany { padding: .4rem 0; }
.namecompany .namerow { padding-left: 1.2rem; }
.namebar { gap: .5rem; margin-top: .75rem; position: sticky; bottom: 0; background: var(--white); padding: .6rem 0; border-top: 1px solid var(--light); }
.namegroup form, .namebar form { margin: 0; }

/* A gallery's folders: tick to show, drag to order. */
.folderpick { list-style: none; margin: 0 0 1rem; padding: 0; }
.folderpick li { display: flex; align-items: center; gap: .6rem; padding: .55rem .25rem; border-top: 1px solid var(--light); background: var(--white); }
.folderpick li:first-child { border-top: 0; }
.folderpick input { accent-color: var(--alpine); margin: 0; }
.folderpick .small { margin-left: auto; }

/* Settings > Booking (Lane, October 1): a studio is a darker panel, and each session type and each availability
   is a white card inside it with room between them, so the page reads as things rather than a wall of settings. */
.studio { background: #e7e7e7; padding: 1.5rem; margin-bottom: 2rem; }
.studio > h2 { margin-top: 0; }
.studio .studio-h { margin: 1.75rem 0 .6rem; text-transform: uppercase; letter-spacing: .08em; font-size: var(--t-min); font-weight: 500; color: var(--band); }
.studio .card { margin-bottom: 1rem; }
.studio details.card > summary { cursor: pointer; }
.studio details.card[open] > summary { margin-bottom: .5rem; }
.studio .studio-facts { display: block; margin: .2rem 0 0 1.1rem; font-weight: 300; }
.studio .checklist .check { display: flex; margin: .25rem 0; }
.type-fields { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0 1rem; }
.type-fields .w2 { grid-column: span 2; }
.type-fields .w3 { grid-column: span 3; }
.type-fields label { margin-top: .5rem; }
.type-fields .type-end { display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem; padding-bottom: .45rem; }
.type-card .btns { margin-top: .9rem; }
.card.type-new { background: transparent; border-style: dashed; border-color: #bbb; }
.card.type-new label { margin-top: 0; }
@media (max-width: 800px) { .type-fields { grid-template-columns: 1fr 1fr; } .type-fields .w2, .type-fields .w3 { grid-column: span 2; } }
/* Booking setup, look 1 (Lane, October 27, 2026): a tab a place, and each type and availability a line in one
   white block, opened in place to change it. */
.bk1 { max-width: 1200px; }
.bk1 .lede { margin: .2rem 0 0; }
.bk1-where { margin: 0 0 1rem; }
.bk1 .card { margin-bottom: 1rem; }
.bk1 details.card > summary { cursor: pointer; }
.bk1 details.card[open] > summary { margin-bottom: .5rem; }
.bk1 .studio-facts { display: block; margin: .2rem 0 0 1.1rem; font-weight: 300; }
.bk1 .checklist .check { display: flex; margin: .25rem 0; }
.bk1-h { margin: 2rem 0 .6rem; font-size: var(--t-body); font-weight: 500; color: var(--head); }
.bk1-rows { background: var(--white); border-radius: 14px; margin-bottom: 1rem; overflow: hidden; }
.bk1-rows > details + details { border-top: 1px solid #ececec; }
.bk1-rows > details > summary { display: flex; flex-wrap: wrap; gap: .2rem 1.25rem; align-items: baseline; padding: .85rem 1.25rem; cursor: pointer; }
.bk1-rows > details > summary:hover strong { color: var(--alpine-dk); }
.bk1-rows > details > summary strong { min-width: 14rem; font-weight: 500; }
.bk1-rows > details > summary span { color: var(--mid); font-weight: 300; }
.bk1-rows > details[open] > summary { background: #fafafa; }
.bk1-rows > details > form { padding: .25rem 1.25rem 1.25rem; }
.avail-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; }
.avail-grid label { text-transform: uppercase; letter-spacing: .06em; color: var(--mid); }
.avail-grid textarea { min-height: 0; font-size: var(--t-min); line-height: 1.55; padding: .4rem .55rem; resize: vertical; }
.avail-grid textarea.bad { border-color: #a33; outline: 2px solid #a33; }
@media (max-width: 900px) { .avail-grid { grid-template-columns: 1fr 1fr; } }
.avail-tools { gap: .5rem; margin-top: .75rem; padding: .6rem .75rem; background: var(--soft); }
input[type=time] { font: inherit; font-weight: 300; font-size: var(--t-body); padding: .5rem .6rem; border: 1px solid #bbb; background: var(--white); color: var(--dark); min-height: 2.875rem; }

/* Bookings: the day's open times, or any time typed. */
.timepick { display: inline-flex; gap: .4rem; align-items: center; }
.timepick select { width: auto; }

/* The team's own booking page: the partner page's picker (public/picker.css) inside the admin. */
.adminbook { max-width: 62rem; }
.adminbook .choose { gap: .6rem; margin: 0 0 1.5rem; }
.adminbook .pk-step { margin-top: 0; }
.adminbook .pk-form label { margin-top: 1rem; }
.adminbook .pk-form input[type=text], .adminbook .pk-form input[type=email], .adminbook .pk-form input[type=tel] { min-height: 0; }
.adminbook .pk-custom input[type=time] { width: auto; }

/* Folder page: the photos just uploaded, shown first (Sarah, October 1). */
.thumbs figure.justadded { background: var(--paper); border-color: var(--alpine); }
.justadded-bar { background: var(--paper); border-left: 3px solid var(--alpine); padding: .5rem .8rem; margin: .75rem 0; }
.adminlb-top form { display: inline; margin: 0; }

/* The Sessions page (docs/airtable-team-view.md): Airtable's statuses in Airtable's tints, so the team recognises them. */
table.sessions tr.group td { background: var(--paper); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--mid); padding-top: .7rem; }
table.sessions td.n { color: var(--mid); width: 2.5rem; }
table.sessions td { vertical-align: top; }
.st { display: inline-block; padding: .05rem .5rem; font-size: var(--t-min); border: 1px solid var(--light); background: var(--white); white-space: nowrap; }
.st-done, .st-paid, .st-na { background: #e8f3e5; border-color: #cfe3c9; }
.st-other { background: #fbeedd; border-color: #f0d9b8; }
.st-retouch { background: #efe6f6; border-color: #dccbe9; }
.st-sent { background: #fbe3e6; border-color: #f1c7cc; }
.st-draft, .st-waiting { background: #e2f1f6; border-color: #c3dfe8; }
.st-working { background: #fdf3c4; border-color: #efdd8a; }
.st-stuck { background: #f9d9cf; border-color: #efb8a8; }
.team-letter { display: inline-block; min-width: 1.5rem; text-align: center; border: 1px solid var(--light); background: var(--white); margin-right: .2rem; font-weight: 500; }
.log { white-space: pre-wrap; font: inherit; font-size: var(--t-min); color: var(--dark); max-height: 32rem; overflow: auto; margin: 0; }
.sessions .notes { max-width: 26rem; overflow-wrap: anywhere; }
/* The Sessions list: a fine line between columns, so a row is easier to read across (Sarah, October 9 2026).
   Only that list: the timecards and Leads share the table's class and stay as they were. */
table.sessions[data-version] th, table.sessions[data-version] td { border-right: 1px solid var(--light); }
table.sessions[data-version] th:last-child, table.sessions[data-version] td:last-child, table.sessions[data-version] tr.group td { border-right: 0; }
/* Who to contact, on a session's card: a line a person, the email and phone where the eye expects them. */
.contactrow { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0 .75rem; padding: .45rem 0; border-top: 1px solid var(--light); font-size: var(--t-min); }
.contactrow:first-of-type { border-top: 0; }
.contactrow > .fine { grid-row: span 3; text-transform: uppercase; letter-spacing: .06em; }
.contactrow > span { overflow-wrap: anywhere; }
/* The list worked in place: a status is a dropdown in its own tint, a Team letter a button, Notes opens on a click. */
select.st-sel { width: auto; min-height: 0; padding: .1rem .3rem; font: inherit; font-size: var(--t-min); cursor: pointer; }
button.team-letter { cursor: pointer; padding: 0; font: inherit; font-weight: 500; color: inherit; }
button.team-letter.off { opacity: .35; border-style: dashed; font-weight: 300; }
.sessions td[data-notes-cell] { cursor: text; min-width: 10rem; }
.sessions td[data-notes-cell].open { min-width: 22rem; }
.sessions td[data-notes-cell] textarea { width: 100%; min-height: 8rem; }
/* Who wrote what under a session's note: the name in a narrow column, the line beside it. */
.whowrote .wline { display: flex; gap: .6rem; font-size: var(--t-min); padding: .1rem 0; }
.whowrote .wby { flex: 0 0 4.5rem; color: var(--alpine-dk); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whowrote .wadd, .whowrote .wrem { display: block; padding-left: .75rem; }
.whowrote .wrem { text-decoration: line-through; }
.wby-line { color: var(--alpine-dk); }
/* A row someone else just changed, or one that just arrived: tinted for a few seconds, then it settles. */
table.sessions tr.changed td { background: #fbf4e1; transition: background 1.5s; }
table.sessions tr[data-id] td { transition: background 1.5s; }

/* What is typed reads in the page's light weight, even inside a label, which is heavier (Lane, October 6). */
input, select, textarea { font-weight: 300; }
/* A timecard's weeks: each under its own heading, its total closing it, and air before the next. */
table.sessions tr.weekhead td { background: var(--band); color: var(--white); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
table.sessions tr.weekhead td .muted { color: #ddd; font-weight: 300; text-transform: none; letter-spacing: 0; }
table.sessions tr.weektotal td { background: var(--paper); font-weight: 500; border-bottom: 0; }
table.sessions tr.weekgap td { background: #fafafa; border: 0; padding: .6rem 0; }

/* A button that reads as a link: the quiet "Worked Saturday or Sunday?" on a timecard. */
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-size: var(--t-min); font-weight: 500; color: var(--alpine-dk); cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
/* A timecard reads down a narrow column. */
.timecard { max-width: 54rem; }
.timecard table.sessions td { vertical-align: middle; padding-top: .35rem; padding-bottom: .35rem; }
.timecard input[type=time] { min-height: 2.4rem; padding: .3rem .4rem; }
.timecard input[type=text] { min-height: 2.4rem; padding: .3rem .5rem; }
/* An in or an out: one box, typed the short way (11, 11a, 2:30p). */
.timecard input[data-time] { width: 6.6rem; }
.timecard tr.longday td { background: #fbeceb; color: #a3322a; font-weight: 500; }
.timecard input.bad { border-color: #a3322a; background: #fbeceb; }
/* Who is signed in: a first name, as large as the menu, in white. */
.topbar .who-name { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.topbar .who-name:hover { color: var(--alpine); }
dialog.me h3 { margin: 1.2rem 0 .3rem; }
.may-open { display: flex; gap: 0 1rem; align-items: baseline; margin-top: .35rem; }
.may-open .may-area { flex: 0 0 6.5rem; }
.topbar .who-name { color: var(--white); font-size: 1.35rem; font-weight: 500; letter-spacing: .04em; }

/* A lead's estimate: the item wide enough to read, the numbers narrow. */
table.estimate { table-layout: fixed; min-width: 34rem; }
table.estimate th, table.estimate td { padding: .4rem .35rem; vertical-align: top; }
table.estimate .c-qty { width: 4.25rem; } table.estimate .c-price { width: 5.75rem; } table.estimate .c-min { width: 4.25rem; }
table.estimate .c-total { width: 6.5rem; } table.estimate .c-rm { width: 2.25rem; }
table.estimate input { padding: .35rem .4rem; min-height: 2.4rem; }
table.estimate td.right { padding-top: .8rem; }

/* Clock in now, clock out now, at the top of a person's timecard: a button big enough to press on a phone. */
.clockbar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: .9rem 0 1.1rem; padding: .8rem .9rem; background: var(--white); border: 1px solid var(--light); }
.clockbar .btn { padding: .85rem 1.4rem; font-size: 1rem; }

/* ---- The Calendar's people (first drawn in the Today mocks of October 8, 2026; docs/calendar.md) ----
   Working hours are a soft band of the person's colour; sessions and events are solid blocks on top of it. */
.cal { --hour: 4.25rem; }
.cal .p-L { --pc: #C19434; --pt: #f6ecd6; }
.cal .p-E { --pc: #76546D; --pt: #eae5e9; }
.cal .p-A { --pc: #317C7C; --pt: #e0ebeb; }
.cal-mock { background: #fdf3c4; border-left: 3px solid #d9b93a; padding: .5rem .8rem; margin: 0 0 1rem; font-size: var(--t-min); }
.cal-views { display: inline-flex; border: 1px solid var(--light); background: var(--white); }
.cal-views a { padding: .4rem .9rem; color: var(--mid); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: var(--t-min); }
.cal-views a:hover { text-decoration: none; background: var(--paper); }
.cal-views a.on { background: var(--band); color: var(--white); }
.cal-show { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; align-items: center; margin: 1rem 0; padding: .6rem .8rem; background: var(--white); border: 1px solid var(--light); }
.cal-show label { display: inline-flex; align-items: center; gap: .35rem; margin: 0; font-weight: 400; font-size: var(--t-min); cursor: pointer; }
.cal-show .fine { text-transform: uppercase; letter-spacing: .08em; }
.cal-show .dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--pc); }
.cal-show .sep { width: 1px; height: 1.2rem; background: var(--light); }
.cal-badge { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--pc, var(--mid)); color: #fff; font-weight: 600; font-size: .8rem; flex: none; }
.cal-badge.none { background: #a3322a; }

/* Who is in: a line a person, the bar being the day from 8 to 5. */
.cal-alert { background: #fbeceb; border-left: 3px solid #a3322a; padding: .5rem .8rem; margin: 0 0 .75rem; font-size: var(--t-min); color: #7a251f; }
.cal-flag { color: #a3322a; font-weight: 500; font-size: var(--t-min); }

/* A computer: columns. The first is the clock; the rest are people, and one more when a session has nobody. */
.cal-times { position: relative; }
.cal-times span { position: absolute; right: .5rem; transform: translateY(-50%); font-size: .78rem; color: var(--mid); white-space: nowrap; }
/* Working: a band, never a block. Tinted, edged in the person's colour, its hours in small type at the top. */
/* Things that happen: solid, on top. */

/* A phone: one list, in order. */

/* The week: a row a person, a column a day. */

.cal-key { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1rem; font-size: var(--t-min); color: var(--mid); }
.cal-key i { display: inline-block; width: 1.1rem; height: .75rem; margin-right: .35rem; vertical-align: -1px; }
.cal-key .k-band { background: #f6ecd6; border-left: 3px solid var(--alpine); }
.cal-key .k-session { background: var(--band); }
.cal-key .k-shoot { background: #33373d; border-left: 4px solid var(--alpine); }
.cal-key .k-event { box-shadow: inset 0 0 0 1px var(--mid); }
.cal-key .k-flag { box-shadow: 0 0 0 2px #a3322a; }

/* What is ticked off under Show. */
.cal.hide-p-L [data-lane="L"], .cal.hide-p-E [data-lane="E"], .cal.hide-p-A [data-lane="A"] { display: none; }
.cal.hide-p-L .cal-badge.p-L, .cal.hide-p-E .cal-badge.p-E, .cal.hide-p-A .cal-badge.p-A { display: none; }
/* A brand's lanes (.c-b-<brand ID>) are hidden by rules the Calendar page draws for each brand (calendar.tsx). */
.cal.hide-c-lane .c-lane { display: none; }

@media (max-width: 800px) {
  .cal-show { gap: .5rem .9rem; }
  .cal-show .sep { display: none; }
  /* The week on a phone: a person, then their five days under each other. */
}

/* ---- The Calendar's strip, a row a person (from the second Today mock, October 8, 2026) ---- */
.c2-strip { background: var(--white); border: 1px solid var(--light); padding: .5rem .8rem .7rem; }
.c2-row { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: .75rem; align-items: center; padding: .28rem 0; }
.c2-name { display: flex; align-items: center; gap: .4rem; font-weight: 500; white-space: nowrap; overflow: hidden; }
.c2-track { position: relative; height: 1.9rem; background: #f4f4f4; }
.c2-axis .c2-track { height: 1.1rem; background: none; }
.c2-axis i { position: absolute; top: 0; font-style: normal; font-size: .75rem; color: var(--mid); transform: translateX(-50%); }
.c2-axis i:first-child { transform: none; }
.c2-track .band { position: absolute; top: 0; bottom: 0; background: var(--pt); border-left: 3px solid var(--pc); border-right: 3px solid var(--pc); }
.c2-track .chip { position: absolute; top: 3px; bottom: 3px; background: var(--band); color: var(--white); overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px var(--white); }
.c2-track .chip b { display: block; padding: 0 .3rem; font-size: .72rem; font-weight: 500; line-height: 1.45rem; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.c2-track .chip.k-shoot { background: #33373d; border-left: 3px solid var(--alpine); }
.c2-track .chip.k-event { background: var(--white); color: var(--dark); box-shadow: inset 0 0 0 1px var(--mid); }
.c2-track .chip.flag { box-shadow: 0 0 0 2px #a3322a; }
.c2-row.open .c2-track { background: repeating-linear-gradient(135deg, #fff, #fff 7px, #fbeceb 7px, #fbeceb 8px); }
.c2-track .now { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #a3322a; }
.c2-h { margin: 0 0 .5rem; text-transform: uppercase; letter-spacing: .08em; font-size: var(--t-min); color: var(--mid); font-weight: 500; }
@media (max-width: 800px) {
  .c2-row { grid-template-columns: 1fr; gap: .15rem; padding: .35rem 0; }
  .c2-axis span { display: none; }
  .c2-track .chip b { display: none; }
}

/* ---- The Calendar's day and week (the third Today mock, October 11, 2026): one day's people on top, the week under it ---- */
.c3 .c3-day { display: none; }
.c3[data-day="0"] [data-strip="0"], .c3[data-day="1"] [data-strip="1"], .c3[data-day="2"] [data-strip="2"], .c3[data-day="3"] [data-strip="3"], .c3[data-day="4"] [data-strip="4"] { display: block; }
.c3 .c2-row.out .c2-track { background: repeating-linear-gradient(135deg, #f3f3f3, #f3f3f3 5px, #e6e6e6 5px, #e6e6e6 6px); }
.c3-scroll { overflow-x: auto; }
.c3-week { min-width: 900px; background: var(--white); border: 1px solid var(--light); --h3: 4.3rem; }
.c3-heads, .c3-body { display: grid; grid-template-columns: 4rem repeat(5, minmax(0, 1fr)); }
.c3-heads { border-bottom: 1px solid var(--light); }
.c3-head { all: unset; box-sizing: border-box; cursor: pointer; padding: .5rem .5rem .3rem; border-left: 1px solid var(--light); border-top: 3px solid transparent; text-transform: uppercase; letter-spacing: .06em; font-size: var(--t-min); color: var(--mid); }
.c3-head:hover { background: var(--paper); }
.c3-head.today strong { color: #a3322a; }
.c3-head .cal-flag { text-transform: none; letter-spacing: 0; }
.c3-places { display: flex; gap: 2px; margin-top: .3rem; font-size: .72rem; letter-spacing: .04em; align-items: flex-start; }
.c3-at { display: flex; gap: 2px; min-height: 1.2rem; margin-top: 2px; flex-wrap: wrap; }
.c3-at .cal-badge { width: 1.15rem; height: 1.15rem; font-size: .65rem; cursor: pointer; }
.c3-at .cal-badge:hover { box-shadow: 0 0 0 2px var(--alpine); }
.c3-offs { display: flex; align-items: center; gap: .35rem; margin-top: 2px; font-size: .72rem; letter-spacing: .04em; }
.c3-offs .c3-at { margin-top: 0; }
.c3-offs .cal-badge { opacity: .45; }
.c3 { position: relative; }
.c3-menu { position: absolute; z-index: 5; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--light); box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.c3-menu[hidden] { display: none; }
.c3-menu button { all: unset; cursor: pointer; padding: .4rem .8rem; font-size: var(--t-min); }
.c3-menu button:hover { background: var(--paper); }
.c3-block { cursor: pointer; }
.c3-cover i.out { background: repeating-linear-gradient(135deg, #fff, #fff 2px, #999 2px, #999 4px); z-index: 1; }
.c2-track .chip.k-out { background: repeating-linear-gradient(135deg, #f3f3f3, #f3f3f3 5px, #d9d9d9 5px, #d9d9d9 6px); color: var(--mid); box-shadow: inset 0 0 0 1px #c9c9c9; }
.c3-open .cal-flag { display: none; }
.c3-places span, .c3-lane { flex: 1 1 0; min-width: 0; }
.c3-places .c-omaha, .c3-lane.c-omaha { flex-grow: 1.5; }
.c3-places span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c3-body { position: relative; height: calc(var(--h3) * 11); margin: .6rem 0 .9rem; }
.c3-col { position: relative; display: flex; gap: 3px; padding: 0 2px; border-left: 1px solid var(--light); }
.c3-col .line { position: absolute; left: 0; right: 0; border-top: 1px solid #efefef; }
/* The day picked: its heading and its column. */
.c3[data-day="0"] .c3-head[data-col="0"], .c3[data-day="1"] .c3-head[data-col="1"], .c3[data-day="2"] .c3-head[data-col="2"], .c3[data-day="3"] .c3-head[data-col="3"], .c3[data-day="4"] .c3-head[data-col="4"] { border-top-color: var(--alpine); background: #fbf6ea; color: var(--dark); }
.c3[data-day="0"] .c3-col[data-col="0"], .c3[data-day="1"] .c3-col[data-col="1"], .c3[data-day="2"] .c3-col[data-col="2"], .c3[data-day="3"] .c3-col[data-col="3"], .c3[data-day="4"] .c3-col[data-col="4"] { background: #fbf6ea; }
/* Who covers a studio: a thin stripe a person, down the left of that studio's lane. */
.c3-cover { display: flex; gap: 2px; margin-right: 2px; }
.c3-cover span { position: relative; width: 6px; background: #f1f1f1; }
.c3-cover[hidden] { display: none; }
.c3-cover i { position: absolute; left: 0; right: 0; background: var(--pc); }
/* A place's lane: white while the studio can be booked, hatched while it cannot. */
.c3-lane { display: flex; }
.c3-in { position: relative; flex: 1 1 0; min-width: 0; }
.c3-lane.is-studio .c3-in { background: repeating-linear-gradient(135deg, #f4f4f4, #f4f4f4 5px, #e9e9e9 5px, #e9e9e9 6px); }
.c3-open { position: absolute; left: 0; right: 0; background: var(--white); box-shadow: inset 0 0 0 1px #dfe8df; cursor: cell; overflow: hidden; }
.c3-open.bare { box-shadow: inset 0 0 0 2px #a3322a; background: #fdf6f5; }
.c3-open.bare .cal-flag { display: block; padding: .1rem .3rem; font-size: .78rem; line-height: 1.2; }
/* Do not book: the studio's hatch again, over hours it would otherwise be open. */
.c3-dnb { position: absolute; left: 0; right: 0; overflow: hidden; background: repeating-linear-gradient(135deg, #f4f4f4, #f4f4f4 5px, #dedede 5px, #dedede 6px); box-shadow: inset 0 0 0 1px #c9c9c9; }
.c3-dnb span { display: inline-block; margin: 2px; padding: 0 .25rem; background: var(--white); font-size: .72rem; color: var(--mid); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.c3-dnb[data-mine] { cursor: pointer; }
.c3-co { font-size: .72rem; font-weight: 300; opacity: .85; }
.c3-name { font-size: .74rem; font-weight: 300; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-badge.auto { box-shadow: 0 0 0 1px var(--white), 0 0 0 3px var(--pc) !important; }
.c3-who { padding-left: 2px; gap: 5px !important; }
.c3-block { position: absolute; left: 1px; right: 1px; overflow: hidden; padding: .1rem .3rem; background: var(--band); color: var(--white); border-radius: 2px; box-shadow: 0 0 0 1px var(--white); font-size: .8rem; line-height: 1.25; }
.c3-block .cal-title { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c3-block.k-shoot { background: #33373d; border-left: 3px solid var(--alpine); }
.c3-block.k-event { background: var(--white); color: var(--dark); box-shadow: inset 0 0 0 1px var(--mid); }
.c3-block.flag { box-shadow: 0 0 0 2px #a3322a; z-index: 1; }
.c3-who { display: flex; gap: 2px; margin-top: 1px; }
.c3-who .cal-badge { width: 1.05rem; height: 1.05rem; font-size: .62rem; box-shadow: 0 0 0 1px var(--white); }
.c3-now { position: absolute; left: 0; right: 0; border-top: 2px solid #a3322a; pointer-events: none; z-index: 2; }
.cal-key .k-open { background: var(--white); box-shadow: inset 0 0 0 1px #c9d6c9; }
.cal-key .k-shut { background: repeating-linear-gradient(135deg, #f4f4f4, #f4f4f4 3px, #dcdcdc 3px, #dcdcdc 4px); }
.cal.hide-c-else .c-else { display: none; }
.c3-block { z-index: 1; }
.c3-places .c3-at { flex: none; overflow: visible; }
.c3-places .c3-at .cal-badge { flex: 0 0 1.15rem; overflow: visible; }

/* ---- The Calendar (src/routes/admin/calendar.tsx): what the rules above do not cover ---- */
.c3 [hidden] { display: none !important; }
.c3-lane.is-studio .c3-in { background: repeating-linear-gradient(135deg, #f4f4f4, #f4f4f4 5px, #e9e9e9 5px, #e9e9e9 6px); }
.c3-warn { display: inline-block; width: 1rem; margin-right: .25rem; text-align: center; background: #a3322a; color: #fff; font-weight: 700; border-radius: 2px; }
.c3-block.alert { border-left: 3px solid #a3322a; }
.c3 .cal-views a { cursor: pointer; }
/* Available, not yet decided: the person's colour, striped. Working: solid. */
.c3-cover span.maybe i:not(.out) { background: repeating-linear-gradient(180deg, var(--pc), var(--pc) 4px, transparent 4px, transparent 8px); }
.c3 .c2-row.maybe .band { background: repeating-linear-gradient(90deg, var(--pt), var(--pt) 8px, transparent 8px, transparent 14px); border-left-style: dashed; border-right-style: dashed; }
.c3-at .cal-badge.maybe { background: var(--white); color: var(--pc); box-shadow: inset 0 0 0 2px var(--pc); }
/* A person's time out, closing the studio they alone cover: their colour, never the grey of the room's other renters. */
.c3-dnb.c3-away { background: repeating-linear-gradient(135deg, var(--pt), var(--pt) 5px, #fff 5px, #fff 7px); box-shadow: inset 0 0 0 2px var(--pc); }
.c3-dnb.c3-away span { color: var(--pc); font-weight: 600; }
.cal-key .k-maybe { background: repeating-linear-gradient(180deg, var(--alpine), var(--alpine) 3px, transparent 3px, transparent 6px); }
.cal-key .k-away { background: #f6ecd6; box-shadow: inset 0 0 0 2px var(--alpine); }
.c3-dnb.c3-none span { color: #a3322a; }
.c3 .linkish { all: unset; cursor: pointer; text-decoration: underline; color: var(--mid); }
.plusbtn { all: unset; cursor: pointer; margin-left: .35rem; color: #b5b5b5; font-weight: 700; font-size: 1.15em; line-height: 1; }
.plusbtn:hover { color: var(--alpine); }
.teamtick { all: unset; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; margin: 0 .2rem; border: 1px solid var(--light); border-radius: 50%; font-weight: 600; color: var(--mid); }
.teamtick[aria-pressed="true"] { background: var(--band); border-color: var(--band); color: var(--white); }
.teamtick:hover { border-color: var(--alpine); }

/* ---- A session's page (docs/session-page.md), built up in layers sx3 to sx7 as Lane settled it on October 12 to 19,
   2026; the page carries them all. sx3: three columns on the full width ---- */
body:has(.sx3) { background: var(--soft); }
.sx3 > .rule { margin: 1.1rem 0 1.4rem; }
.sx3-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
@media (max-width: 1300px) { .sx3-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .sx3-cols { grid-template-columns: 1fr; } }
.sx3-title { margin: 0 0 .6rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; color: var(--alpine); }
.sx3 .card { border: 0; border-radius: 14px; padding: 1.4rem 1.5rem 1.5rem; margin-bottom: 1.25rem; }
.sx3 .card > label:first-child, .sx3 .card > [data-field]:first-child > label { margin-top: 0; }
.sx3 input[type=text], .sx3 input[type=number], .sx3 input[type=date], .sx3 input[type=email], .sx3 select, .sx3 textarea { border-radius: 8px; border-color: #d9d9d9; }
.sx3 .btn { border-radius: 8px; }
.sx3 pre.log { border-radius: 8px; }
/* The teammates: a circle each, gray until ticked, then the person's own colour. */
.teamdots { display: flex; gap: .5rem; }
.teamdot { position: relative; margin: 0; cursor: pointer; }
.teamdot input { position: absolute; opacity: 0; width: 0; height: 0; }
.teamdot > span:not(.savemark) { display: flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #dcdcdc; color: #fff; font-weight: 600; font-size: 1.15rem; }
.teamdot:hover > span:not(.savemark) { background: #c8c8c8; }
.teamdot.t-L input:checked + span { background: var(--team-L); }
.teamdot.t-S input:checked + span { background: var(--team-S); }
.teamdot.t-A input:checked + span { background: var(--team-A); }
.teamdot.t-E input:checked + span { background: var(--team-E); }
.teamdot input:focus-visible + span { outline: 2px solid var(--dark); outline-offset: 2px; }
.teamdot .savemark { position: absolute; top: 100%; right: 0; height: auto; }
/* The invoice, lean: one grid a line, the first line's note from Item to Total, a + after the Total. */
.items.lean, .items.lean thead, .items.lean tbody { display: block; width: 100%; }
.items.lean tr { display: grid; grid-template-columns: minmax(0, 1fr) 4rem 6rem 5rem 1.6rem; column-gap: .5rem; align-items: center; }
.items.lean tr[hidden] { display: none; }
.items.lean tr[data-line] > td:first-child { display: contents; }
.items.lean tr[data-line] > td:first-child > [name=line_name] { grid-column: 1; grid-row: 1; }
.items.lean tr[data-line] > td:first-child > [name=line_notes] { grid-column: 1 / 5; grid-row: 2; margin-top: .35rem; }
.items.lean tr[data-line] > td:first-child > .fine { grid-column: 1 / -1; }
.items.lean tr[data-line] > td:nth-child(2) { grid-column: 2; grid-row: 1; }
.items.lean tr[data-line] > td:nth-child(3) { grid-column: 3; grid-row: 1; }
.items.lean tr[data-line] > td:nth-child(4) { grid-column: 4; grid-row: 1; }
.items.lean tr[data-line] > td:nth-child(5) { grid-column: 5; grid-row: 1; }
.items.lean tr[data-line] ~ tr[data-line] [name=line_notes]:placeholder-shown { display: none; }
.items.lean tr.totalrow > td:first-child { grid-column: 1 / 4; }
.items.lean td, .items.lean th { padding-left: 0; padding-right: 0; border: 0; }
.items.lean tr[data-line] { padding: .5rem 0; border-top: 1px solid var(--light); }
.items.lean tr.totalrow { padding-top: .6rem; border-top: 1px solid var(--light); }
.items.lean .plusbtn { font-size: 1.5rem; margin: 0; }
table.estimate.items.lean { min-width: 0; }
.sx3 .tablescroll { overflow: visible; }
.teamdot > span:not(.savemark) { background: #cfcfcf; }

/* Three columns only where there is room for them; the invoice's columns give way before the item does. */
.sx3-cols { grid-template-columns: 1fr; }
@media (min-width: 1000px) { .sx3-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1500px) { .sx3-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.items.lean tr { grid-template-columns: minmax(7rem, 1fr) 3.4rem 4.8rem 4.4rem 1.6rem; }

/* ---- A session's page, sx4 ---- */
.sx4 { max-width: 1600px; }
.sx4 .sx3-cols { gap: 2rem; }
.sx4 > .rule { margin: 1.2rem 0 1.6rem; }
/* Something to press that reads as words until it is pressed: the status over the name, beside a column's title. */
.headpick { display: inline-block; margin: 0; position: relative; font: inherit; }
.headpick select { appearance: none; -webkit-appearance: none; font: inherit; font-weight: 600; letter-spacing: inherit; text-transform: inherit; color: var(--dark); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23555' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right .7rem center; border: 0; border-radius: 999px; padding: .2rem 1.9rem .2rem .9rem; min-height: 0; width: auto; cursor: pointer; }
.sx4 .headpick select { border-radius: 999px; }
.headpick select:hover, .headpick select:focus { box-shadow: 0 0 0 2px var(--alpine); outline: 0; }
.headpick[hidden] { display: none; }
.headpick .savemark { position: absolute; top: 100%; left: .9rem; height: auto; text-transform: none; letter-spacing: 0; color: var(--mid); font-weight: 300; }
.sx4 .sx3-title { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .9rem; }
.sx4 .sx3-title .headpick select { text-transform: none; letter-spacing: 0; font-size: var(--t-min); }
.headsaid { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--band); background: var(--white); border-radius: 999px; padding: .2rem .9rem; }
/* The name and the date under the headline: words until they are pressed. */
.sx4 .shootnote { border: 4px solid var(--alpine); }
/* Pay at the table (src/lib/pos.ts): the team's move is the QR code, bordered as the shooting notes are; the code
   white on its own, large enough to scan across the table. */
.sx4 .poscard { margin-bottom: 1rem; }
.sx4 .poscard:has([data-pos-on]:not([hidden])) { border: 4px solid var(--alpine); }
.sx4 .posqr { background: #fff; padding: .75rem; display: inline-block; line-height: 0; margin-top: .6rem; }
.sx4 .posqr img, .sx4 .posqr canvas { display: block; }
.sx4 .posextras { align-items: flex-end; gap: .6rem; margin: 0; }
.sx4 .posextras input { max-width: 6rem; }
/* The invoice: a trash and a + on every line, in a column of their own; who put what in, closed, under the total. */
.items.lean.rowplus tr { grid-template-columns: minmax(7rem, 1fr) 3.4rem 4.8rem 4.4rem 3.2rem; }
.items.rowplus .rowtools { display: flex; align-items: center; justify-content: flex-end; gap: .35rem; }
.items.rowplus .plusbtn { margin: 0; font-size: 1.4rem; }
.items.rowplus .wby-line { display: none; }
.itemhist { margin-top: .5rem; }
/* Delivery as the steps it is. */
.steps { list-style: none; margin: .4rem 0 .8rem; padding: 0; }
.steps li { display: grid; grid-template-columns: 1.4rem 8.5rem minmax(0, 1fr) auto; gap: .2rem .6rem; align-items: center; padding: .55rem 0; border-top: 1px solid var(--light); }
.steps li:first-child { border-top: 0; }
.steps li::before { content: ''; width: .8rem; height: .8rem; border-radius: 50%; border: 2px solid #c8c8c8; }
.steps li.done::before { background: #5e8468; border-color: #5e8468; }
.sx4 details.fine { margin-top: .4rem; }

/* The lean invoice: a heading cell is as wide as its column, whatever the table gave it, so Total sits over the totals. */
.items.lean th { width: auto !important; min-width: 0; }
.steps .btn { min-width: 7.5rem; text-align: center; }
.sx3 pre.log { white-space: pre-wrap; overflow-x: hidden; overflow-wrap: anywhere; }

/* ---- A session's page, sx5 ---- */
.sx5 { max-width: 1800px; margin-left: auto; margin-right: auto; --gap: calc(2rem + 40px); }
.sx5 .sx3-cols { gap: 2rem var(--gap); }
.sx5 > .rule { margin: 2rem 0 2.4rem; }
/* The heading sits on the columns' own grid: the name over column 1; the teammates and the date start with column 2. */
.sx5-top { display: grid; grid-template-columns: 1fr; gap: .5rem var(--gap); align-items: center; }
@media (min-width: 1000px) { .sx5-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sx5-crumb { grid-column: 1 / -1; } .sx5-top h1, .sx5-name { grid-column: 1; } .sx5-top .teamdots, .sx5-when, .sx5-where { grid-column: 2 / -1; } }
@media (min-width: 1500px) { .sx5-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sx5-top h1 { font-size: 2.8rem; color: var(--dark); margin: 0; }
.sx5-name, .sx5-when { font-size: 1.25rem; color: var(--band); margin: 0; }
.sx5-name { display: flex; align-items: center; gap: .4rem; }
.sx5-name input { flex: 1; min-width: 0; font: inherit; color: inherit; background: transparent; border: 1px solid transparent; border-radius: 8px; padding: .1rem .35rem; margin-left: -.35rem; min-height: 0; }
.sx5-name input:hover { border-color: #d0d0d0; background: var(--white); }
.sx5-name input:focus { border-color: var(--alpine); background: var(--white); outline: 0; }
.sx5-when { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; max-width: none; }
.sx5-where { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: 0; }
.sx5-where select { max-width: 18rem; }
.sx5-newplace summary { cursor: pointer; color: var(--muted); }
.sx5-newplace form { gap: .4rem; flex-wrap: wrap; margin-top: .4rem; }
.sx5-when .ghost { margin: 0; font: inherit; }
.sx5-when .ghost input { font: inherit; color: inherit; background: transparent; border: 1px solid transparent; border-radius: 8px; padding: .1rem .35rem; margin-left: -.35rem; min-height: 0; width: auto; }
.sx5-when .ghost input:hover { border-color: #d0d0d0; background: var(--white); }
/* A status is words to press: fine type under Sessions, alpine beside a column's heading. No pills. */
.sx5 .headpick select { background-color: transparent; border-radius: 0; padding: 0 1.2rem 0 0; background-position: right .1rem center; font-weight: 500; color: var(--alpine-dk); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sx5 .headpick select:hover, .sx5 .headpick select:focus { box-shadow: none; color: var(--dark); }
.sx5 .headpick .savemark { left: 0; }
.sx5-crumb .headpick { display: block; }
.sx5-crumb .headpick select { font-size: var(--t-min); font-weight: 300; color: var(--mid); text-decoration: none; text-transform: none; letter-spacing: 0; }
.sx5-crumb .headpick select[data-v="Cancelled"] { background-color: #a3322a; color: #fff; font-weight: 700; padding: .05rem 1.5rem .05rem .5rem; background-image: none; }
.sx5 .sx3-title { font-size: 1.6rem; font-weight: 600; color: var(--head); text-transform: none; letter-spacing: 0; gap: .9rem; margin-bottom: 1rem; align-items: baseline; }
.sx5 .sx3-title .headpick select { font-size: 1.1rem; }
.sx5 .headsaid { background: none; padding: 0; border-radius: 0; font-size: 1.1rem; font-weight: 300; color: var(--mid); }
.sx5 input[data-quick=quantity] { display: block; }
/* The invoice: room for the item's name, and a little air after the + before the edge. */
.sx5 .items.lean.rowplus tr { grid-template-columns: minmax(9rem, 1fr) 2.9rem 4.3rem 4.3rem 3.2rem; padding-right: .6rem; }
.sx5 #items h3 .muted { display: none; }
/* The draft button leads its card. */
.sx5 .sx5-name input[type=text] { border-color: transparent; }
.sx5 .sx5-name input[type=text]:hover { border-color: #d0d0d0; }
.sx5 .sx5-name input[type=text]:focus { border-color: var(--alpine); }

/* ---- A session's page, sx6 and sx7 ---- */
.sx6-next { grid-column: 1 / -1; margin: .6rem 0 0; max-width: none; font-size: 1.25rem; font-weight: 500; color: var(--dark); }
.sx6-warn { grid-column: 1 / -1; margin: .4rem 0 0; max-width: none; color: #a3322a; font-weight: 500; }
.sx6 .teamdot > span:not(.savemark) { background: #e4e4e4; }
.sx6 .teamdot:hover > span:not(.savemark) { background: #d2d2d2; }
.sx6 .sx3-title { align-items: center; gap: .6rem; }
.sx6 .sx3-title .headpick select { max-width: 16rem; }
/* ?look=7 (a mock): Production and Invoice status as the Sessions list draws them, a box filled in the colour that
   says whose move it is (the list's tn- tints), the word in it, the chevron on the right. No tone: white, outlined. */
.sx7 .sx3-title .fillpick { background: var(--white); border: 1px solid #e2e2e2; border-radius: 8px; }
.sx7 .sx3-title .fillpick.tn-ours { background: #f1e7d2; border-color: #f1e7d2; }
.sx7 .sx3-title .fillpick.tn-theirs { background: #d9e2e8; border-color: #d9e2e8; }
.sx7 .sx3-title .fillpick.tn-stuck { background: #dfc6c2; border-color: #dfc6c2; }
.sx7 .sx3-title .fillpick.tn-done { background: #d8ddd5; border-color: #d8ddd5; }
.sx7 .sx3-title .fillpick select { background-color: transparent; background-position: right .8rem center; text-decoration: none; color: var(--dark); font-size: 1rem; font-weight: 400; padding: .45rem 2.2rem .45rem .9rem; min-width: 11rem; max-width: 18rem; border-radius: 8px; }
.sx7 .sx3-title .fillpick.tn-stuck select { font-weight: 500; }
.sx7 .sx3-title .fillpick select:hover, .sx7 .sx3-title .fillpick select:focus-visible { box-shadow: 0 0 0 2px var(--alpine-dk); color: var(--dark); }
.sx7 .sx3-title .fillpick .savemark { left: .9rem; margin-top: .2rem; }
/* The date as words; the picker is behind them. */
.dateword-wrap { position: relative; display: inline-flex; align-items: center; }
.dateword { all: unset; cursor: pointer; font: inherit; color: inherit; border-bottom: 1px dotted var(--mid); }
.dateword:hover { color: var(--dark); border-bottom-color: var(--alpine); }
.timeword { all: unset; font: inherit; color: inherit; cursor: pointer; margin-left: .5rem; border-bottom: 1px dotted var(--mid); min-width: 5.5rem; }
.timeword:hover, .timeword:focus { color: var(--dark); border-bottom-color: var(--alpine); }
.hidedate { position: absolute; left: 0; bottom: 0; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; }
.sx6 textarea[data-notes] { min-height: 4.5rem; resize: none; overflow: hidden; }
/* The invoice is one card, read down: the lines, the total, the draft, then who it goes to, the change behind
   "Change" (November 5, 2026). */
.sx6 .invone [data-draft] { margin-top: 1.2rem !important; }
.invto { margin: .6rem 0 0; font-size: var(--t-min); }
.invto > summary { list-style: none; cursor: pointer; }
.invto > summary::-webkit-details-marker { display: none; }
.invto[open] > summary .linkish { visibility: hidden; }
.sx6 .invone [data-draft] form .fine { display: none; }
.sx6 .invone > label { margin-top: 1.1rem; }
.sx6 .items.lean.rowplus tr { grid-template-columns: minmax(10rem, 1fr) 2.9rem 4.3rem 3.3rem 3.2rem; column-gap: .4rem; }
.steps-foot { margin: .2rem 0 0; padding-top: .7rem; border-top: 1px solid var(--light); max-width: none; }
.sx6 .linkish { all: unset; cursor: pointer; color: var(--alpine-dk); font-weight: 500; }
.sx6 .linkish:hover { text-decoration: underline; }
/* The Activity Log is history: closed until asked for. */
.logfold { margin-bottom: 1.25rem; }
.logfold > summary { cursor: pointer; padding: .9rem 1.5rem; background: var(--white); border-radius: 14px; font-weight: 600; color: var(--head); }
.logfold[open] > summary { border-radius: 14px 14px 0 0; }
.logfold > .card { border-radius: 0 0 14px 14px; margin: 0; padding-top: 0; }
.logfold > .card > h3 { display: none; }
/* Their questionnaire: a dark circle level with the teammates, at the right edge of the last column. */
.qbtn { all: unset; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid var(--band); color: var(--band); font-weight: 700; font-size: 1.15rem; box-sizing: border-box; }
.qbtn:hover { background: var(--band); color: var(--white); }
@media (min-width: 1000px) {
  .sx6 .sx5-top h1, .sx6 .sx5-top .teamdots, .sx6 .sx5-top .qbtn { grid-row: 2; }
  .sx6 .sx5-top .sx5-name, .sx6 .sx5-top .sx5-when { grid-row: 3; }
  .sx6 .sx5-top .teamdots { grid-column: 2; }
  .sx6 .sx5-top .qbtn { grid-column: -2 / -1; justify-self: end; }
}

/* Look 6, after Lane's next list: one kind of button on the page; the Q filled until pointed at; bullets, not rings. */
.sx6 [data-draft] .btn, .sx6 .steps .btn, .sx6 .steps-foot .btn { background: var(--white); color: var(--band); border: 2px solid var(--band); border-radius: 8px; padding: .4rem .9rem; font-size: var(--t-min); min-width: 0; }
.sx6 [data-draft] .btn:hover, .sx6 .steps .btn:hover, .sx6 .steps-foot .btn:hover { background: var(--paper); text-decoration: none; }
.sx6 .steps-foot { display: flex; gap: .6rem; flex-wrap: wrap; }
.sx6 .qbtn { background: var(--band); color: var(--white); }
.sx6 .qbtn:hover { background: transparent; color: var(--band); }
.sx6 .steps li::before, .sx6 .steps li.done::before { width: .4rem; height: .4rem; border: 0; background: #b0b0b0; justify-self: center; }
.sx6 textarea[data-notes] { min-height: 0; }

/* A session opened over the Sessions list: nearly the whole screen, the list behind it. */
dialog.sessionpop { width: 96vw; height: 94vh; max-width: none; max-height: none; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--soft); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
dialog.sessionpop::backdrop { background: rgba(0,0,0,.55); }
dialog.sessionpop iframe { display: block; width: 100%; height: 100%; border: 0; }
dialog.sessionpop .popx { all: unset; cursor: pointer; position: absolute; top: .7rem; right: 1.4rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--white); color: var(--band); font-size: 1.5rem; line-height: 2.2rem; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
dialog.sessionpop .popx:hover { background: var(--band); color: var(--white); }
body.bare .wrap { padding-top: 1.75rem; }
[data-items-said] .linkish { all: unset; cursor: pointer; color: var(--alpine-dk); font-weight: 500; text-decoration: underline; }

/* The Sessions list being redrawn (mocks for Lane from October 12 2026, the owner's only; docs/design-notes.md).
   .sl is ?look=1 and after: the quiet heading and its rule, a gray page, each group a white rounded block on one
   set of columns. .sl2 is ?look=2: his first notes. */
body:has(.sl) { background: var(--soft); }
.sl { max-width: 1800px; margin: 0 auto; }
.sl h1 { font-size: 2.8rem; color: var(--dark); margin: 0; }
.sl-sub { margin: .4rem 0 0; max-width: none; font-size: 1.25rem; color: var(--band); }
.sl > .rule { margin: 2rem 0 1.4rem; }
.sl table.sessions { background: none; border: 0; border-collapse: separate; border-spacing: 0; }
.sl table.sessions th { background: none; border: 0; font-weight: 600; color: var(--band); padding-bottom: 0; }
.sl table.sessions[data-version] th, .sl table.sessions[data-version] td { border-right: 0; }
:where(.sl table.sessions tr[data-id]) td { background: var(--white); }
.sl table.sessions tr[data-id] td { vertical-align: middle; }
.sl table.sessions tr.group td { background: none; border: 0; padding: 1.8rem .2rem .6rem; font-size: 1.35rem; font-weight: 600; color: var(--head); text-transform: none; letter-spacing: 0; }
.sl table.sessions tr.group td .muted { font-size: var(--t-min); font-weight: 300; }
.sl table.sessions tr.group + tr td:first-child { border-top-left-radius: 14px; }
.sl table.sessions tr.group + tr td:last-child { border-top-right-radius: 14px; }
.sl table.sessions tr:has(+ tr.group) td, .sl table.sessions tbody tr:last-child td { border-bottom: 0; }
.sl table.sessions tr:has(+ tr.group) td:first-child, .sl table.sessions tbody tr:last-child td:first-child { border-bottom-left-radius: 14px; }
.sl table.sessions tr:has(+ tr.group) td:last-child, .sl table.sessions tbody tr:last-child td:last-child { border-bottom-right-radius: 14px; }
.sl table.sessions td.n { padding-left: 1.1rem; }

.sl2 table.sessions { table-layout: fixed; min-width: 68rem; }
.sl2 .tablescroll { overflow: visible; }
@media (max-width: 1400px) { .sl2 .tablescroll { overflow-x: auto; padding-bottom: 15rem; } }
.sl2 th.c-n { width: 3.2rem; }
.sl2 th.c-who { width: 19%; }
.sl2 th.c-when { width: 7.5rem; }
.sl2 th.c-team { width: 10rem; }
.sl2 th.c-prod { width: 11.5rem; }
.sl2 th.c-inv { width: 9.5rem; }
.sl2 th.c-qty { width: 4.2rem; text-align: center; }
.sl2 td.who { overflow-wrap: anywhere; }
.sl2 td.who strong { font-weight: 600; }
.sl2 td.who .fine a { color: inherit; font-weight: 300; }
/* The team as on a session's page: a circle a person in their own colour, gray when they are not on it. */
.sl2 .team-letter { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; min-width: 0; margin-right: .3rem; border: 0; border-radius: 50%; background: var(--band); color: #fff; font-weight: 600; line-height: 1; }
.sl2 button.team-letter[data-team=L] { background: #C19434; }
.sl2 button.team-letter[data-team=S] { background: #7a5a86; }
.sl2 button.team-letter[data-team=A] { background: #5e8468; }
.sl2 button.team-letter[data-team=E] { background: #4f6f8f; }
.sl2 button.team-letter.off { opacity: 1; background: #ececec; color: #b3b3b3; font-weight: 600; }
.sl2 button.team-letter.off:hover { background: #dcdcdc; color: #7a7a7a; }
.sl2 button.team-letter:focus-visible { outline: 2px solid var(--dark); outline-offset: 2px; }
/* A status fills its box in its tint, and the whole box is the thing to press. */
.sl2 table.sessions td.fill { position: relative; padding: 0; border-left: 2px solid var(--white); }
.sl2 td.fill select { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; border: 0; border-radius: 0; background: transparent; padding: 0 1.5rem 0 .8rem; font: inherit; font-size: var(--t-min); font-weight: 400; color: var(--dark); cursor: pointer; appearance: none; -webkit-appearance: none; text-overflow: ellipsis; }
.sl2 td.fill select:focus-visible { outline: 2px solid var(--dark); outline-offset: -2px; }
.sl2 td.fill::after { content: ''; position: absolute; right: .7rem; top: 50%; width: .45rem; height: .45rem; border-right: 2px solid rgba(0,0,0,.45); border-bottom: 2px solid rgba(0,0,0,.45); transform: translateY(-70%) rotate(45deg); pointer-events: none; opacity: 0; }
.sl2 tr:hover td.fill::after { opacity: 1; }
/* The number of images reads as a number until it is pointed at. */
.sl2 td.qty { padding-left: .3rem; padding-right: .3rem; }
.sl2 td.qty input { width: 100%; min-height: 0; padding: .25rem .2rem; text-align: center; border: 1px solid transparent; border-radius: 8px; background: transparent; font: inherit; font-size: var(--t-min); -moz-appearance: textfield; appearance: textfield; }
.sl2 td.qty input::-webkit-inner-spin-button, .sl2 td.qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sl2 td.qty input:hover { border-color: #d0d0d0; background: var(--white); }
.sl2 td.qty input:focus { border-color: var(--alpine); background: var(--white); outline: 0; }
/* A note is two lines in its row and opens over the list, so no row grows. */
.sl2 table.sessions td[data-notes-cell], .sl2 table.sessions td[data-notes-cell].open { position: relative; min-width: 0; max-width: none; }
.sl2 [data-notes-view] { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.sl2 .notepop { display: none; }
.sl2 td.open .notepop { display: block; position: absolute; z-index: 20; top: .3rem; right: .3rem; width: max(100%, 28rem); padding: .7rem; background: var(--white); border-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,.25); cursor: default; }
.sl2 .notepop textarea { min-height: 9rem; border-radius: 8px; border-color: #d9d9d9; }
.sl2 .notepop .row { gap: .9rem; margin-top: .5rem; }
.sl2 .notepop .btn { border-radius: 8px; }
.sl2 .linkish { all: unset; cursor: pointer; color: var(--alpine-dk); font-weight: 500; }
.sl2 .linkish:hover { text-decoration: underline; }

/* ?look=3: Lane's second notes. His colours for the team (the last two of the six are spare: #738668, #547A95),
   the circles a little smaller, Production and Invoice the same width, the note in fine print. */
.sl3 th.c-who { width: 24%; }
.sl3 th.c-prod, .sl3 th.c-inv { width: 9.5rem; }
.sl3 th.c-team { width: 9.4rem; }
.sl3 td.who a.co { font-weight: 400; }
.sl3 .team-letter { width: 1.8rem; height: 1.8rem; }
.sl3 button.team-letter[data-team=L] { background: var(--team-L); }
.sl3 button.team-letter[data-team=S] { background: var(--team-S); }
.sl3 button.team-letter[data-team=A] { background: var(--team-A); }
.sl3 button.team-letter[data-team=E] { background: var(--team-E); }
.sl3 button.team-letter.off { background: #ececec; }
.sl3 button.team-letter.off:hover { background: #dcdcdc; }

/* ?look=4: a status's colour says whose move it is, in tints of the team's palette, not Airtable's tint a word.
   Gold is ours to do, blue is waiting on someone else, red is stuck, green is finished; Scheduled has none. */
.sl4 td.fill.tn-ours { background: #f1e7d2; }
.sl4 td.fill.tn-theirs { background: #d9e2e8; }
.sl4 td.fill.tn-stuck { background: #dfc6c2; }
.sl4 td.fill.tn-stuck select { font-weight: 500; }
.sl4 td.fill.tn-done { background: #d8ddd5; }
.sl4 td.fill.tn-na select { color: var(--mid); font-weight: 300; }
/* A little air either side of the team's circles, taken from Notes (Lane, October 12 2026). */
.sl4 th.c-team { width: 11.4rem; }
.sl4 th.c-team, .sl4 td.team { padding-left: 1.75rem; padding-right: 1.75rem; }

/* Look 5, the list everyone gets (Lane, October 13 2026): a view a person opposite the heading and a + to book a
   session, the column headings staying in sight, more air around the team, the note back in the row's own type. */
.sl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.sl-view { display: flex; align-items: center; gap: .45rem; }
.sl-viewlabel { margin-right: .4rem; color: var(--alpine); text-transform: uppercase; letter-spacing: .12em; font-weight: 500; }
.viewdot { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--band); color: #fff; font-weight: 600; font-size: 1.1rem; line-height: 1; box-sizing: border-box; }
.viewdot:hover { text-decoration: none; filter: brightness(.92); }
.viewdot.v-L { background: var(--team-L); }
.viewdot.v-S { background: var(--team-S); }
.viewdot.v-A { background: var(--team-A); }
.viewdot.v-E { background: var(--team-E); }
.viewdot.off { background: #e2e2e2; color: #a3a3a3; }
.viewdot.plus { margin-left: .6rem; background: var(--white); color: var(--band); border: 2px solid var(--band); font-size: 1.5rem; font-weight: 500; }
.viewdot.plus:hover { background: var(--band); color: var(--white); filter: none; }
.sl5 table.sessions thead th { position: sticky; top: 0; z-index: 6; background: var(--soft); padding-top: .6rem; padding-bottom: .5rem; }
.sl5 th.c-team { width: 12.6rem; }
.sl5 th.c-team, .sl5 td.team { padding-left: 2.35rem; padding-right: 2.35rem; }

/* Companies and Contacts (src/routes/admin/crm.tsx; docs/companies-contacts.md): a list to search, filter and sort,
   drawn as the Sessions list is, and a record's page drawn as a session's is. */
.crm .linkish, .cd .linkish { all: unset; cursor: pointer; color: var(--alpine-dk); font-weight: 500; }
.crm .linkish:hover { text-decoration: underline; }
.crm-find { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin: 0 0 1.1rem; }
.crm-find input[type=search] { flex: 1 1 18rem; max-width: 34rem; min-height: 2.875rem; padding: .5rem .9rem; border: 1px solid #d9d9d9; border-radius: 8px; background: var(--white); font: inherit; font-weight: 300; font-size: var(--t-body); }
.crm-find input[type=search]:focus { border-color: var(--alpine); outline: 0; }
.crm-find select { width: auto; border-radius: 8px; border-color: #d9d9d9; }
.crm-clear { font-weight: 500; }
table.crmlist { background: none; border: 0; border-collapse: separate; border-spacing: 0; }
table.crmlist th { position: sticky; top: 0; z-index: 6; background: var(--soft); border: 0; padding-top: .6rem; padding-bottom: .5rem; font-weight: 600; color: var(--band); white-space: nowrap; }
table.crmlist th a.sortlink { color: inherit; font-weight: 600; }
table.crmlist th a.sortlink:hover, table.crmlist th a.sortlink.on { color: var(--alpine-dk); text-decoration: none; }
table.crmlist td { background: var(--white); vertical-align: middle; overflow-wrap: anywhere; }
table.crmlist td strong { font-weight: 600; }
table.crmlist tbody tr:first-child td:first-child { border-top-left-radius: 14px; }
table.crmlist tbody tr:first-child td:last-child { border-top-right-radius: 14px; }
table.crmlist tbody tr:last-child td { border-bottom: 0; }
table.crmlist tbody tr:last-child td:first-child { border-bottom-left-radius: 14px; }
table.crmlist tbody tr:last-child td:last-child { border-bottom-right-radius: 14px; }
table.crmlist td:first-child, table.crmlist th:first-child { padding-left: 1.4rem; }
table.crmlist tbody tr:hover td { background: #fcfbf7; }
table.crmlist th.c-name { width: 30%; }
table.crmlist th.c-poc { width: 20%; }
table.crmlist .c-num { width: 6.5rem; text-align: right; padding-right: 1.6rem; }
table.crmlist th.c-last { width: 9.5rem; }
table.crmlist th.c-hank { width: 7.5rem; }
table.crmlist a.quiet { color: inherit; font-weight: 300; }
table.crmlist a.quiet:hover { color: var(--alpine-dk); }
.crm-flag { display: inline-flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; margin-left: .45rem; border-radius: 50%; background: var(--alpine); color: #fff; font-weight: 700; font-size: .85rem; vertical-align: 2px; }
.crm-pager { display: flex; gap: 1.5rem; justify-content: center; align-items: center; margin: 1.4rem 0 0; max-width: none; color: var(--band); }
.crm-pager a { font-weight: 500; }
/* A company's page and a contact's page. */
.cd > h1 { font-size: 2.8rem; color: var(--dark); margin: 0; }
.cd-sub { margin: .4rem 0 0; max-width: none; font-size: 1.25rem; color: var(--band); }
.cd .contactcard .contactrow > strong a { font-weight: 600; }
.cd .card h3 { margin-bottom: .6rem; }
.crm-fact { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0 .75rem; padding: .45rem 0; border-top: 1px solid var(--light); }
.crm-fact:first-child { border-top: 0; padding-top: 0; }
.crm-fact:last-child { padding-bottom: 0; }
.crm-fact > strong { font-weight: 500; }
.crm-fact > span { overflow-wrap: anywhere; }
.crm-line { display: flex; flex-direction: column; padding: .45rem 0; border-top: 1px solid var(--light); }
.crm-line:first-of-type { border-top: 0; padding-top: 0; }
.crm-line strong { font-weight: 600; }

/* ---- The coat, its second half: the pieces that are not cards or tables (see "The coat" near the top) ---- */
.coat dialog.suggest, .coat dialog.me { border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.coat .info-pop { border: 0; border-radius: 8px; box-shadow: 0 8px 28px rgba(0,0,0,.2); }
.coat .tiles a.tile { border: 0; border-radius: 14px; overflow: hidden; transition: box-shadow .15s; }
.coat .tiles a.tile:hover { box-shadow: 0 0 0 2px var(--alpine); }
.coat .thumbs figure { border: 0; border-radius: 8px; }
.coat .thumbs figure img { border-radius: 4px; }
.coat .thumbs figure.justadded { box-shadow: 0 0 0 2px var(--alpine); }
.coat .drop, .coat .dropzone { border-radius: 14px; border-color: #cfcfcf; }
.coat .viewswitch { border: 0; border-radius: 8px; overflow: hidden; background: var(--white); }
.coat .clockbar { border: 0; border-radius: 14px; padding: 1.1rem 1.25rem; }
.coat .embed { border: 0; border-radius: 14px; }
.coat pre.preview { border-left: 0; border-radius: 8px; background: var(--white); }
.coat .justadded-bar { border-left: 0; border-radius: 8px; background: var(--white); }
.coat .cal-alert { border-left: 0; border-radius: 8px; }
.coat .logo-sample { border: 0; border-radius: 8px; }
.coat .logo-sample.dark { border: 0; }
.coat .folderpick li { background: none; }
.coat .funnel-bar { border-radius: 4px; }
.coat .hank { border-top: 0; }
/* One of several choices, picked: the one place a dark button stays, since it says which is on. */
.coat .btn.picked, .coat .btn.picked:hover { background: var(--band); color: var(--white); }

/* Add a session (/admin/sessions/new): one card under the quiet heading, no wider than is comfortable to fill in. */
.newsession { max-width: 70rem; }
.newsession > h1 { font-size: 2.8rem; color: var(--dark); margin: 0; }
.newsession .teamdots { margin: .2rem 0 .4rem; }
.newsession .row > label { flex-basis: 12rem; }
.newsession .calticks { display: flex; flex-wrap: wrap; gap: .35rem 1.6rem; }
.newsession .caltick { display: inline-flex; align-items: center; gap: .45rem; margin: 0; font-weight: 400; }
.newsession input.bad { border-color: #a3322a; background: #fbeceb; }
.newsession .unknownco { margin: .9rem 0 .3rem; padding: .9rem 1rem; border-radius: 8px; background: #fbf4e1; }
.newsession .unknownco .caltick { display: flex; }
.newsession .unknownco .row > label { flex: 1 1 100%; }

/* New group shoot, look 1 (Lane, November 17 2026): two choices as blocks to pick, and what each one brings shown
   by CSS alone, so nothing waits on a script. */
.shootnew h3 { margin: 1.5rem 0 .5rem; }
.shootnew-choices { display: grid; gap: .5rem; margin-bottom: .4rem; }
.shootnew-choice { display: flex; gap: .7rem; align-items: baseline; margin: 0; padding: .75rem 1rem; border: 1px solid #e2e2e2; border-radius: 8px; font-weight: 400; cursor: pointer; }
.shootnew-choice > span { display: grid; gap: .15rem; }
.shootnew-choice:has(input:checked) { border-color: var(--dark); }
.shootnew:has(input[name=collections][value=one]:checked) [data-for-each],
.shootnew:has(input[name=collections][value=each]:checked) [data-for-one],
.shootnew:has(input[name=selection][value=in_person]:checked) [data-proofs] { display: none; }

/* A company's and a contact's page, worked in place (October 13 2026). A field reads as its words until it is
   pointed at; who is a POC or an invoice contact is changed by words under the person. */
.cd .ghostin { width: 100%; min-height: 0; padding: .15rem .4rem; margin: -.15rem 0 -.15rem -.4rem; border: 1px solid transparent; border-radius: 8px; background: transparent; font: inherit; font-weight: 300; color: var(--dark); }
.cd select.ghostin { width: auto; max-width: 100%; cursor: pointer; }
.cd .ghostin:hover { border-color: #d0d0d0; background: var(--white); }
.cd .ghostin:focus { border-color: var(--alpine); background: var(--white); outline: 0; }
.cd .crm-fact .savemark, .cd .contactrow .savemark, .cd .crm-tick .savemark { white-space: normal; }
.cd .crm-withcopy { display: flex; align-items: center; gap: .3rem; }
.cd .crm-acts { grid-column: 2; display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; margin-top: .15rem; }
.cd .crm-acts .linkish { font-weight: 400; color: #b5b5b5; }
.cd .contactrow:hover .crm-acts .linkish, .cd .crm-acts .linkish:focus-visible { color: var(--alpine-dk); }
.cd .linkish:hover { text-decoration: underline; }
.cd .crm-tick { display: flex; align-items: center; gap: .5rem; margin: .8rem 0 0; font-weight: 400; }
.cd .notebox textarea { border-radius: 8px; border-color: #d9d9d9; }
.cd .crm-chip { display: inline-flex; align-items: center; gap: .25rem; margin: 0 .4rem .3rem 0; padding: .05rem .35rem .05rem .6rem; border-radius: 999px; background: var(--soft); }
.cd .crm-chip button { all: unset; cursor: pointer; padding: 0 .25rem; color: #b5b5b5; font-weight: 700; }
.cd .crm-chip button:hover { color: #a3322a; }
.cd .crm-aliasadd { display: inline-block; margin: 0; min-width: 11rem; }
.cd details.crm-add > summary { cursor: pointer; color: var(--alpine-dk); font-weight: 500; }
.cd details.crm-add input { border-radius: 8px; border-color: #d9d9d9; }
.sx3.cd input.ghostin, .sx3.cd select.ghostin { border-color: transparent; }
.sx3.cd input.ghostin:hover, .sx3.cd select.ghostin:hover { border-color: #d0d0d0; }
.sx3.cd input.ghostin:focus, .sx3.cd select.ghostin:focus { border-color: var(--alpine); }
.cd .crm-fact { grid-template-columns: 8.5rem minmax(0, 1fr); align-items: center; }
.cd .crm-fact > strong { align-self: start; padding-top: .1rem; }

/* Merging two companies: what will happen, read before the press. */
.mergelist { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.mergelist li { margin: .35rem 0; }

/* ---- Navigation (mock, the owner's alone: docs/navigation.md) ----
   A thin top bar with Find in the middle; one white sidebar, grouped, the same for everyone; a collection's sections
   and a company's as one row of tabs under the heading. */
body.hk .hk-top { position: sticky; top: 0; z-index: 40; height: 56px; box-sizing: border-box; padding: 0 1.25rem; gap: 1rem; }
.hk-top .brand { margin-right: .5rem; }
.hk-top .brand img { height: 26px; }
.hk-menu { all: unset; display: none; cursor: pointer; line-height: 0; padding: .3rem; border-radius: 8px; }
.hk-menu svg { width: 24px; height: 24px; fill: none; stroke: #eee; stroke-width: 1.8; stroke-linecap: round; }
.hk-find { position: relative; flex: 1 1 auto; max-width: 36rem; margin: 0 auto; }
.hk-find input { width: 100%; box-sizing: border-box; margin: 0; min-height: 0; padding: .45rem .9rem; border: 1px solid transparent; border-radius: 8px; background: rgba(255,255,255,.13); color: #fff; font: inherit; font-size: var(--t-min); font-weight: 300; }
.hk-find input::placeholder { color: #c9c9c9; }
.hk-find input:focus { background-color: var(--white); color: var(--dark); border-color: var(--alpine); outline: 0; }
.hk-found { position: absolute; top: calc(100% + 6px); left: 0; right: 0; max-height: 70vh; overflow-y: auto; padding: .4rem; background: var(--white); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.18); color: var(--dark); }
.hk-found[hidden] { display: none; }
.hk-kind { margin: .55rem .6rem .2rem; color: var(--alpine); text-transform: uppercase; letter-spacing: .12em; font-size: var(--t-min); font-weight: 500; }
.hk-kind:first-child { margin-top: .2rem; }
.hk-hit { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .45rem .6rem; border-radius: 8px; color: var(--dark); font-weight: 400; }
.hk-hit .fine { text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.hk-hit:hover, .hk-hit.on { background: var(--paper); text-decoration: none; }
.hk-none { margin: .5rem .6rem; color: var(--mid); }
.hk-bell.quiet svg, .suggest-btn.quiet svg { stroke: #9a9a9a; }
.suggest-btn.quiet:hover svg { stroke: #c4c4c4; }

.hk-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: calc(100vh - 56px); }
.hk-side { position: sticky; top: 56px; height: calc(100vh - 56px); box-sizing: border-box; overflow-y: auto; display: flex; flex-direction: column; padding: 1.25rem .8rem 1rem; background: var(--white); border-right: 1px solid var(--light); }
.hk-group + .hk-group { margin-top: 1.4rem; }
.hk-group-name { margin: 0 .6rem .35rem; color: var(--alpine); text-transform: uppercase; letter-spacing: .12em; font-size: var(--t-min); font-weight: 500; }
.hk-item { display: block; padding: .42rem .6rem .42rem 1.2rem; border-radius: 8px; color: var(--dark); font-weight: 400; }
.hk-group:not(:has(.hk-group-name)) > .hk-item { padding-left: .6rem; }   /* Messages, with no group above it */
.hk-item:hover { background: var(--paper); text-decoration: none; }
.hk-item.on, .hk-item.on:hover { background: var(--band); color: var(--white); font-weight: 500; }
.hk-foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--light); }
.hk-brands { display: flex; gap: .4rem; margin: 0 .2rem .7rem; }
.hk-brand { flex: 1; text-align: center; padding: .3rem .5rem; border: 1px solid var(--light); border-radius: 999px; color: var(--mid); font-weight: 300; }
.hk-brand:hover { text-decoration: none; border-color: var(--alpine); }
.hk-brand.on { border-color: var(--alpine); background: var(--paper); color: var(--dark); font-weight: 500; }
.hk-back { display: inline-block; margin: 0 .6rem; font-size: var(--t-min); }
.hk-back::before { content: '‹ '; }
.hk-mode { margin: .3rem .6rem 1.1rem; font-size: 1.35rem; font-weight: 600; color: var(--head); }
.hk-main { min-width: 0; display: flex; flex-direction: column; }
.hk-main > main { width: 100%; box-sizing: border-box; }
.hk-backto { display: inline-block; margin-bottom: .8rem; }
.hk-backto::before { content: '‹ '; }

/* A company and its collection, and a collection's sections: one row of tabs. */
.hk-tabs { display: flex; flex-wrap: wrap; gap: .25rem; margin: 1rem 0 1.1rem; border-bottom: 1px solid var(--light); }
.hk-tab { padding: .5rem .9rem; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--dark); font-weight: 400; }
.hk-tab:hover { color: var(--alpine-dk); text-decoration: none; }
.hk-tab.on { border-bottom-color: var(--alpine); color: var(--head); font-weight: 500; }
.hk-tab .count { margin-left: .4rem; color: var(--mid); font-weight: 300; }
body.hk .workspace { display: block; margin-top: 0; }

@media (max-width: 900px) {
  .hk-menu { display: inline-flex; }
  .hk-shell { grid-template-columns: minmax(0, 1fr); }
  .hk-side { position: fixed; z-index: 50; top: 56px; left: 0; bottom: 0; width: 260px; height: auto; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 0 30px rgba(0,0,0,.15); }
  body.hk-open .hk-side { transform: none; }
  .hk-find input::placeholder { color: transparent; }
}
.hk-tabs + .rule { display: none; }   /* the row of tabs closes the heading itself */
.hk-find input { padding-left: 2.1rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23cfcfcf' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l3.5 3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: .7rem center; }
.hk-find input:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238a6a23' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l3.5 3.5'/%3E%3C/svg%3E"); }
@media (max-width: 600px) {
  body.hk .hk-top { gap: .6rem; padding: 0 .7rem; }
  .hk-top .brand { margin-right: 0; }
  .hk-top .brand img { height: 20px; }
  body.hk .hk-top .who { gap: .7rem; }
  .hk-find { min-width: 5.5rem; }
  .hk-found { position: fixed; top: 60px; left: .5rem; right: .5rem; }
}

/* The look's Clients (Clients, part 2): the group's own name opens the list of every client, so it is pressed. */
a.hk-group-link { display: block; color: var(--alpine-dk); padding: .2rem .6rem; margin-left: 0; margin-right: 0; border-radius: 8px; }
a.hk-group-link:hover { background: var(--paper); text-decoration: none; }
a.hk-group-link.on { font-weight: 600; }

/* The second look: a page's sections open under its item in the sidebar (docs/navigation.md). */
.hk-item.on.open, .hk-item.on.open:hover { background: var(--paper); color: var(--dark); }
.hk-acc { margin: .25rem 0 .6rem .6rem; padding-left: .55rem; border-left: 2px solid var(--alpine); }
.hk-acc-title { display: block; padding: .3rem .45rem .35rem; color: var(--head); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hk-acc-title:hover { text-decoration: none; color: var(--alpine-dk); }
.hk-sub, .hk-sub2 { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; border-radius: 6px; color: var(--dark); }
.hk-sub { padding: .32rem .45rem; font-weight: 400; }
.hk-sub2 { padding: .22rem .45rem .22rem 1rem; font-weight: 300; }
.hk-sub > span:first-child, .hk-sub2 > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hk-sub:hover, .hk-sub2:hover { background: var(--paper); text-decoration: none; }
.hk-sub.on, .hk-sub.on:hover { background: var(--band); color: var(--white); font-weight: 500; }
.hk-sub2.on, .hk-acc-folders li.on .hk-sub2 { color: var(--alpine-dk); font-weight: 500; }
.hk-sub2.none, .hk-sub2.none:hover { color: var(--mid); background: none; }
.hk-sub .count, .hk-sub2 .count { color: var(--mid); font-weight: 300; flex: none; }
.hk-sub.on .count { color: #ddd; }
.hk-sub-label { margin: .55rem .45rem .1rem; color: var(--alpine); text-transform: uppercase; letter-spacing: .1em; font-size: var(--t-min); font-weight: 500; }
.hk-acc-folders { list-style: none; margin: 0; padding: 0; }
.hk-acc-folders li { cursor: grab; }
.hk-acc-folders li.dragging { opacity: .4; }
.hk-acc-folders li.over .hk-sub2 { box-shadow: inset 0 2px 0 var(--alpine); }
.hk-acc-folders .linkmark { color: var(--alpine); margin-left: .3rem; }
.hk-acc-add { padding: .15rem .45rem .2rem 1rem; }
.hk-acc-add form { display: flex; flex-direction: column; gap: .3rem; margin-top: .3rem; }

/* Lane, October 19 2026: one type style at every depth of the sidebar, only the indent changes. The thing chosen is
   the dark box, as at the top level; an item that has opened stays plain. These rules win over the ones above. */
.hk-acc { margin: 0; padding: 0; border: 0; }
.hk-item.on.open, .hk-item.on.open:hover { background: none; color: var(--dark); font-weight: 400; }
.hk-item.on.open:hover { background: var(--paper); }
.hk-acc-title, .hk-acc .hk-sub, .hk-acc .hk-sub2, .hk-acc-add > summary {
  display: block; padding: .42rem .6rem; border-radius: 8px; color: var(--dark); font-size: inherit; font-weight: 400;
  text-transform: none; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; list-style: none; cursor: pointer;
}
/* Lane, November 9 2026: the pages sit one letter in from their group's alpine name, which may one day open a dashboard. */
.hk-acc-title { padding-left: 1.95rem; }
.hk-acc .hk-sub { padding-left: 2.7rem; }
.hk-acc .hk-sub2, .hk-acc-add > summary { padding-left: 3.45rem; }
.hk-acc-title:hover, .hk-acc .hk-sub:hover, .hk-acc .hk-sub2:hover, .hk-acc-add > summary:hover { background: var(--paper); color: var(--dark); text-decoration: none; }
.hk-acc-title.on, .hk-acc .hk-sub.on, .hk-acc .hk-sub2.on, .hk-acc-folders li.on .hk-sub2,
.hk-acc-title.on:hover, .hk-acc .hk-sub.on:hover, .hk-acc .hk-sub2.on:hover, .hk-acc-folders li.on .hk-sub2:hover { background: var(--band); color: var(--white); font-weight: 500; }
.hk-fold > summary::-webkit-details-marker, .hk-acc-add > summary::-webkit-details-marker { display: none; }
.hk-fold > summary::after { content: '›'; display: inline-block; margin-left: .45rem; transition: transform .15s; }
.hk-fold[open] > summary::after { transform: rotate(90deg); }
.hk-acc-add { padding: 0; }
.hk-acc-add > summary::before { content: '+ '; }
.hk-acc-add form { padding: .2rem .6rem .4rem 2.85rem; }

/* Lane, October 19 2026: a little less space between the sidebar's lines. */
.hk-item, .hk-acc-title, .hk-acc .hk-sub, .hk-acc .hk-sub2, .hk-acc-add > summary { padding-top: .28rem; padding-bottom: .28rem; }
.hk-group + .hk-group { margin-top: 1.1rem; }
.hk-group-name { margin-bottom: .2rem; }

/* Lane, October 19 2026: what is indented in the sidebar is a little lighter than Calendar, Sessions and the rest. */
.hk-acc-title, .hk-acc .hk-sub, .hk-acc .hk-sub2, .hk-acc-add > summary { font-weight: 300; }
.hk-acc-title.on, .hk-acc .hk-sub.on, .hk-acc .hk-sub2.on, .hk-acc-folders li.on .hk-sub2 { font-weight: 400; }
.hk-acc-folders li.drop-here .hk-sub2, .hk-acc-add.drop-here > summary { background: var(--paper); outline: 2px dashed var(--alpine); outline-offset: -2px; }

/* ---- A collection's images as one board, a folder a column (?look=1, docs/collection-page.md) ---- */
.board-status { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .1rem 0 1.2rem; color: var(--mid); font-weight: 300; }
.board-status .pill { margin: 0; }
.board-top { display: flex; align-items: center; gap: 1rem; margin: 0 0 1rem; }
.board-search { flex: 0 1 26rem; margin: 0; }
.board-choose { margin: 0 0 0 auto; color: var(--alpine-dk); font-weight: 500; cursor: pointer; }
.board-bulk { position: sticky; top: 64px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 1rem; padding: .55rem .9rem; background: var(--white); border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.board-bulk[hidden] { display: none; }
.board { --gap: 1.25rem; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); gap: var(--gap); overflow-x: auto; align-items: start; padding-bottom: .5rem; scroll-snap-type: x proximity; }
.board-col { scroll-snap-align: start; min-width: 0; min-height: 12rem; padding: .9rem; background: var(--white); border-radius: 14px; border: 2px solid transparent; }
.board-col.drop-here { border-color: var(--alpine); border-style: dashed; background: var(--paper); }
.board-head { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 .8rem; }
.board-head h3 { margin: 0; font-size: 1.25rem; }
.board-head .linkmark { color: var(--alpine); margin-left: .35rem; font-size: .8em; }
.board-more { margin-left: auto; font-size: var(--t-min); }
.board-top .board-one { margin-left: 0; }
.board-thumbs { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.board-thumbs figure { border-radius: 8px; }
.board-thumbs figure[hidden] { display: none; }
.board-empty { margin: 2.5rem 0; text-align: center; color: var(--mid); }

/* The board takes the window's height (set by its script); each column scrolls on its own, its name staying at
   its top. More folders than fit: a half column peeks at the right (Lane, October 19 2026). */
.board { grid-template-rows: 100%; overscroll-behavior-x: contain; }
.board-col { max-height: 100%; overflow-y: auto; box-sizing: border-box; padding-top: 0; }
.board-head { position: sticky; top: 0; z-index: 2; margin: 0 -.9rem .8rem; padding: .9rem .9rem .6rem; background: var(--white); }
.board-col > .board-thumbs, .board-col > .board-empty { padding-top: .1rem; }
.board-col:not(:has(.board-head)) { padding-top: .9rem; }
.board.many { --cols: 3.5; }
@media (min-width: 1700px) { .board.many { --cols: 4.5; } }
@media (max-width: 1100px) { .board.many { --cols: 2.5; } }
@media (max-width: 700px) { .board.many { --cols: 1.25; } .board:not(.many) { --cols: 1 !important; grid-auto-flow: row; grid-template-rows: none; height: auto !important; } .board:not(.many) .board-col { max-height: none; } }

/* Three folders or fewer: one page scroll, no column scrolls (Lane, October 19 2026). A column's name stays in
   sight under the top bar as the page goes down. Only a board with more folders than fit keeps its own height. */
.board:not(.many) { height: auto !important; grid-template-rows: none; overflow: visible; }
.board:not(.many) .board-col { max-height: none; overflow: visible; }
body.hk .board:not(.many) .board-head { top: 56px; }

/* ---- A collection's Send (mock; docs/collection-page.md) ---- */
.hub-to { margin: 0; color: var(--mid); font-weight: 300; }
.hub .card { border-radius: 14px; }
.sendpicks { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin-top: .7rem; }
.sendpick { margin: 0; }
.hub-else { display: flex; flex-wrap: wrap; gap: .6rem; }
.hub-people, .hub-sent { border: 0; margin-top: .6rem; }
.hub-people td, .hub-sent td { padding: .45rem .5rem; }
.hub-sent .fail { color: #a3322a; font-weight: 500; }
.hub .btn:disabled, .hub button.btn:disabled { opacity: .45; cursor: default; }
/* A long press under way (public/admin-busy.js): greyed, and it waits. */
form[data-busy] button.btn:disabled { opacity: .5; cursor: progress; }
.hub-notice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 1.25rem; align-items: start; }
.hub-notice textarea { min-height: 14rem; }
.hub-tail { margin: .5rem 0 0; }
@media (max-width: 1000px) { .hub-notice { grid-template-columns: minmax(0, 1fr); } }

/* The images board's sort, beside its search: A to Z or by date, pressed again to reverse. */
.board-sort { display: inline-flex; gap: .25rem; }
.board-sort button { all: unset; cursor: pointer; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--light); background: var(--white); color: var(--dark); font-weight: 300; }
.board-sort button:hover { border-color: var(--alpine); }
.board-sort button.on { background: var(--band); border-color: var(--band); color: var(--white); font-weight: 400; }
.board-top { flex-wrap: wrap; row-gap: .6rem; }
.board-sort button, .board-top .fine, .board-choose { white-space: nowrap; }

/* ---- A collection's People (?tab=people&look=1; docs/collection-page.md) ---- */
.removed-warn { margin: -.6rem 0 1rem; color: #a3322a; font-weight: 500; }
.pb > .card, .pb > section { margin-bottom: 1.4rem; }
.pb .card { border-radius: 14px; }
.pb-for-list { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: .8rem; }
.pb-who { display: flex; flex-direction: column; gap: .1rem; }
.pb-role { color: var(--alpine); text-transform: uppercase; letter-spacing: .1em; font-size: var(--t-min); font-weight: 500; }
.pb-head { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin: 0 0 1rem; }
.pb-head .board-search { flex: 0 1 20rem; }
.pb-reread { margin-left: auto; }
.pb-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .8rem; }
.pb-card { position: relative; display: flex; gap: .8rem; align-items: center; padding: .6rem; background: var(--white); border-radius: 12px; }
.pb-card[hidden] { display: none; }
.pb-card.archived { opacity: .55; }
.pb-face { width: 64px; height: 64px; flex: none; border-radius: 10px; object-fit: cover; object-position: center 25%; background: var(--paper); }
.pb-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.pb-text strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-text .copybtn { align-self: flex-start; }
.pb-menu { margin-left: auto; align-self: flex-start; }
.pb-menu > summary { list-style: none; cursor: pointer; padding: 0 .4rem; color: var(--mid); font-weight: 600; letter-spacing: .05em; }
.pb-menu > summary::-webkit-details-marker { display: none; }
.pb-menu > summary:hover { color: var(--alpine-dk); }
.pb-pop { position: absolute; z-index: 10; right: .5rem; top: 2.2rem; display: flex; flex-direction: column; gap: .5rem; padding: .8rem; background: var(--white); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.15); min-width: 16rem; }
.pb-pop form { margin: 0; }
.pb-not { margin-top: 1rem; }
.pb-visitors { border: 0; }
.pb-visitors td { padding: .45rem .5rem; }
.pb-pop .linkish { all: unset; cursor: pointer; color: var(--alpine-dk); font-weight: 500; }
.pb-pop .linkish:hover { color: var(--dark); }
.pb-text .copybtn { display: inline-flex; align-items: center; gap: .3rem; font: inherit; font-size: var(--t-min); color: var(--alpine-dk); font-weight: 500; }
.pb-text .copybtn::after { content: 'Copy link'; }
.pb-text .copybtn.copied::after { content: 'Copied'; }
.board-bulk .linkish, .pb .linkish { all: unset; cursor: pointer; color: var(--alpine-dk); font-weight: 500; }
.board-bulk .linkish:hover, .pb .linkish:hover { color: var(--dark); }
.tag-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin: -.4rem 0 1rem; } .tag-pills .pill { margin: 0; }

/* ---- A collection's Settings as cards (?tab=settings&look=1; docs/collection-page.md) ---- */
.cs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr)); gap: 1.25rem; align-items: start; }
.cs .card { border-radius: 14px; margin: 0; }
.cs .card h3 { margin-top: 0; }
.cs-more { margin-top: .9rem; }
.cs-more > summary { cursor: pointer; color: var(--alpine-dk); font-weight: 500; }
.cs-link { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--light); }
.cs .linkish { all: unset; cursor: pointer; color: var(--alpine-dk); font-weight: 500; font-size: var(--t-min); }
.cs-save { position: sticky; bottom: 1rem; z-index: 20; display: flex; align-items: center; justify-content: flex-end; gap: 1rem; margin: 1.25rem 0; padding: .7rem 1rem; background: var(--white); border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.14); }
.cs-save[hidden] { display: none; }
.cs-delete { margin-top: 2.5rem !important; border: 1px solid #e3c4c0; }
.cs-delete h3 { color: #a3322a; }

/* Settings, second look: three columns whose cards need not line up (Lane, October 19 2026). */
.cs-cols { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: flex-start; }
.cs-col { flex: 1 1 24rem; min-width: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.cs-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cs-linked { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--light); }
.cs-linked form { margin: 0; }
.cs-cover { display: flex; align-items: flex-start; gap: .6rem; margin: .5rem 0 .4rem; }
.cs-cover-img { display: block; max-width: 100%; max-height: 14rem; width: auto; height: auto; border-radius: 10px; background: var(--paper); }
.cs-cover-img.is-logo { background: var(--white); border: 1px solid var(--light); padding: .4rem; }
.cs-cover-img.none { display: grid; place-items: center; width: 12rem; height: 8rem; color: var(--mid); }
.cs-cover form { margin: 0; }
.cs-trash { all: unset; cursor: pointer; line-height: 0; padding: .3rem; border-radius: 8px; }
.cs-trash svg { width: 20px; height: 20px; fill: none; stroke: var(--mid); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cs-trash:hover svg { stroke: #a3322a; }
.cs-upload { margin: 0; }
.cs-logo { margin: 0; }
.cs-delete { margin-top: 0 !important; }
.cs-delete .btn-danger { white-space: nowrap; } .cs-delete input { min-width: 0; }

/* Settings, look 2: two columns held to a readable width; the cover as the collection's face (Lane, October 19 2026). */
.cs2 { max-width: 1120px; }
.cs2-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (max-width: 1000px) { .cs2-cols { grid-template-columns: minmax(0, 1fr); } }
.cs2-head { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: .4rem; }
.cs2-face { flex: 0 0 150px; display: flex; flex-direction: column; gap: .35rem; }
.cs2-cover { display: block; width: 150px; max-height: 150px; object-fit: contain; border-radius: 10px; background: var(--paper); }
.cs2-cover.is-logo { background: var(--white); border: 1px solid var(--light); padding: .35rem; box-sizing: border-box; }
.cs2-cover.none { display: grid; place-items: center; height: 100px; color: var(--mid); font-size: var(--t-min); }
.cs2-face-row { display: flex; align-items: center; justify-content: space-between; }
.cs2-face-row form { margin: 0; }
.cs2-face-row .check { margin: 0; }
.cs2-upload { margin: 0; }
.cs2-choose { margin: 0; color: var(--alpine-dk); font-weight: 500; cursor: pointer; font-size: var(--t-min); }
.cs2-id { flex: 1; min-width: 0; }
.cs2-acts { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: .5rem 0 0; font-size: var(--t-min); }
.cs2-acts .linkish { all: unset; cursor: pointer; color: var(--alpine-dk); font-weight: 500; }
.cs2-acts .linkish.copied { color: var(--dark); }
.cs2-delete { margin-top: .4rem; padding: 0 .2rem; }
.cs2-delete > summary { cursor: pointer; color: #a3322a; font-weight: 500; list-style: none; }
.cs2-delete > summary::-webkit-details-marker { display: none; }
.cs2-delete[open] { padding: 1rem 1.25rem; background: var(--white); border-radius: 14px; border: 1px solid #e3c4c0; }
.cs2-delete .btn-danger { white-space: nowrap; }
.cs2-fine { margin-top: 1.4rem; }

/* The line above a page's name runs the page's width; it wrapped at the paragraph cap (Lane, October 19 2026). */
p.eyebrow { max-width: none; }

/* Settings, look 3: one card read as a settings list, label | value | action (Lane, October 19 2026). */
.cs3 { max-width: 780px; }
.cs3-card { padding: .4rem 1.5rem 1rem; }
.cs3-row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .85rem 0; border-top: 1px solid var(--light); }
.cs3-row.top { border-top: 0; align-items: start; }
.cs3-label { font-weight: 500; color: var(--head); }
.cs3-value { min-width: 0; }
.cs3-value input, .cs3-value select { margin: 0; width: 100%; }
.cs3-act { display: flex; gap: 1rem; justify-content: flex-end; white-space: nowrap; font-size: var(--t-min); }
.cs3-act form { margin: 0; }
.cs3-act .linkish { all: unset; cursor: pointer; color: var(--alpine-dk); font-weight: 500; }
.cs3-act .linkish.copied { color: var(--dark); }
.cs3-cover { display: flex; align-items: center; gap: 1.1rem; }
.cs3-cover .cs2-cover { width: 150px; }
.cs3-cover-acts { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.cs3-cover-acts form { margin: 0; }
.cs3-cover-acts .check { margin: 0; }
.cs3-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.cs3-tags form { margin: 0; }
.cs3-addtag input { margin: 0; width: 14rem; }
.cs3-book { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.cs3-city { margin: 0; font-weight: 400; color: var(--mid); }
.cs3-city select { margin-top: .25rem; }
.cs3-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: .9rem; border-top: 1px solid var(--light); }
.cs3-delete > summary { cursor: pointer; color: #a3322a; font-weight: 500; list-style: none; }
.cs3-delete > summary::-webkit-details-marker { display: none; }
.cs3-delete form { margin-top: .6rem; }
.cs3-delete .btn-danger { white-space: nowrap; }
.cs3-row { grid-template-columns: 8.5rem minmax(0, 1fr) 8rem; }

/* The box behind the name, as a short list (Lane, October 19 2026). */
dialog.me2 { width: min(620px, calc(100vw - 32px)); padding: 1.4rem 1.6rem 1.2rem; border-radius: 16px; }
.me2-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .8rem; }
.me2-x { all: unset; cursor: pointer; font-size: 1.6rem; line-height: 1; color: var(--mid); padding: 0 .2rem; }
.me2-x:hover { color: var(--dark); }
.me2-row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .75rem 0; border-top: 1px solid var(--light); }
.me2-label { font-weight: 500; color: var(--head); }
.me2-value { min-width: 0; }
.me2-act { display: flex; gap: .9rem; white-space: nowrap; font-size: var(--t-min); }
.me2-act form { margin: 0; }
.me2 .linkish { all: unset; cursor: pointer; color: var(--alpine-dk); font-weight: 500; }
.me2 .hk-brands { display: flex; gap: .4rem; }
.me2 .hk-brand { flex: 0 0 auto; padding: .25rem .9rem; }
details.me2-sig { display: block; }
details.me2-sig > summary { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .8rem; align-items: center; cursor: pointer; list-style: none; }
details.me2-sig > summary::-webkit-details-marker { display: none; }
details.me2-sig form { margin-top: .6rem; }
.me2-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .9rem; border-top: 1px solid var(--light); }

/* View as (lib/auth.ts): the name at the top right says whose Hank the owner is looking at. */
.who-name.as { color: var(--alpine) !important; border-bottom: 2px solid var(--alpine) !important; }

/* A collection's Send, look 1 (Lane, October 20 2026): a reading width; each email one card, who on the left and
   the email on the right, joined by a thin alpine rule; what a tick changes lights up for a moment. */
.hub1 { max-width: 1080px; }
.hub1-else { font-size: .95rem; }
.hub1-pair { padding: 0; overflow: hidden; }
.hub1-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.1rem 1.4rem .8rem; border-bottom: 1px solid var(--line, #e6e2da); }
.hub1-head h2 { margin: 0; }
.hub1-cols { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.hub1-who { padding: 1rem 1.4rem; border-right: 2px solid var(--alpine); max-height: 34rem; overflow-y: auto; }
.hub1-mail { padding: 1rem 1.4rem 1.2rem; }
.hub1-list { display: flex; flex-direction: column; gap: .25rem; margin: .2rem 0 .6rem; }
.hub1-list .sendpick { margin: 0; }
.hub1-to { margin-top: 0; transition: background-color .9s; border-radius: 4px; }
.hub1-btns { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: .9rem; }
.hub1-all { margin: 0 0 .5rem; }
.hub1-person { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .35rem 0; border-bottom: 1px solid var(--line, #eee); }
.hub1-person .check { margin: 0; display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; }
.hub1-person .check > span { display: flex; flex-direction: column; }
.hub1-person.off .hub1-name { color: var(--mid); }
.hub1 textarea { transition: background-color .9s; }
.hub1 .lit { animation: hub1lit 1.2s ease-out; }
@keyframes hub1lit { from { background-color: rgba(193, 148, 52, .22); } to { background-color: transparent; } }
@media (max-width: 860px) { .hub1-cols { grid-template-columns: minmax(0, 1fr); } .hub1-who { border-right: 0; border-bottom: 2px solid var(--alpine); max-height: 20rem; } }
.hub1 .linkish { all: unset; cursor: pointer; color: var(--alpine-dk); font-weight: 500; }
.hub1 .linkish:hover { text-decoration: underline; }
.hub1-top { max-width: 1080px; align-items: baseline; }
.hub1-sort { margin-left: .4rem; font-size: var(--t-min); white-space: nowrap; }
.hub1-sort .linkish { color: var(--mid); font-weight: 300; }
.hub1-sort .linkish.on { color: var(--alpine-dk); font-weight: 500; }

/* A session's proofs, in its In Hank card (docs/proofing-session.md). */
.proofline { border-top: 1px solid var(--line, #eee); padding-top: .5rem; margin-top: .5rem; }
.proofline p { margin: .2rem 0 .4rem; }

/* Stop uploading, under an upload's bar (public/admin-upload.js). */
.upstop { all: unset; cursor: pointer; color: var(--alpine-dk); font-weight: 500; font-size: var(--t-min); margin-top: .3rem; display: inline-block; }
.upstop:hover { text-decoration: underline; }
.upstop[hidden] { display: none; }

/* The Q beside a session's name, and the questionnaire read as questions and answers (Lane, October 20 2026). */
.sx5-top h1 .qbtn.qname { width: 2rem; height: 2rem; font-size: .95rem; margin-left: .7rem; vertical-align: middle; position: relative; top: -.15rem; grid-row: auto; grid-column: auto; }
#q-dialog { max-width: 36rem; }
.qa { margin: 0; }
.qa dt { color: var(--alpine-dk); font-size: var(--t-min); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-top: .9rem; }
.qa dt:first-child { margin-top: 0; }
.qa dd { margin: .2rem 0 0; white-space: pre-wrap; }
/* A contact's questionnaires, each under its date, the newest open (November 3, 2026). */
.cd-q + .cd-q { border-top: 1px solid var(--light); margin-top: .7rem; padding-top: .7rem; }
.cd-q summary { cursor: pointer; color: var(--alpine-dk); font-weight: 500; }
.cd-q .qa { margin-top: .6rem; }
.cd-q dd { overflow-wrap: anywhere; }

/* A composite session (docs/composites.md, October 20 2026): Production, a column for each composite, then
   Communications, as many columns as it takes; and Add to composite on the company's other sessions. */
@media (min-width: 1300px) { .sx3-cols.compgrid, .sx7 .sx3-cols.compgrid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.compcol .sx3-title { display: block; }
.compcol .compname { all: unset; display: block; width: 100%; box-sizing: border-box; font: inherit; border-bottom: 1px solid transparent; }
.compcol .compname:hover, .compcol .compname:focus { border-bottom-color: var(--alpine); }
.complist + .complist { margin-top: 1.1rem; }
.complist h3, .comphist h3 { margin: 0 0 .35rem; }
.complist ul { list-style: none; margin: 0 0 .35rem; padding: 0; }
.complist li { display: flex; align-items: baseline; gap: .4rem; padding: .15rem 0; }
.complist li label { display: flex; gap: .45rem; align-items: baseline; margin: 0; font-weight: 400; flex: 1; }
.complist li.done span { color: #9a9a9a; text-decoration: line-through; }
.complist .compsrc { flex-basis: 100%; margin: -.1rem 0 0 1.6rem; }
.complist li { flex-wrap: wrap; }
.compx { all: unset; cursor: pointer; color: var(--mid); padding: 0 .3rem; }
.compx:hover { color: #a3322a; }
.complist textarea { min-height: 0; height: 2.2rem; resize: none; margin: 0; }
.compentry { display: flex; gap: .4rem; align-items: center; }
.compentry textarea, .compentry input { flex: 1; min-width: 0; height: 2.2rem; margin: 0; }
.compentry [data-comp-add][hidden] { display: none; }
.comphist { border-top: 1px solid #ececec; margin-top: 1.1rem; padding-top: .8rem; }
.comphist summary { cursor: pointer; list-style-position: inside; }
.comphist summary h3 { display: inline; }
.comphist p { margin: 0 0 .2rem; }
.compday { margin-top: .7rem; }
.compday .compdate { color: var(--alpine-dk); font-size: var(--t-min); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; }
.complist textarea { overflow: hidden; }
.compnew { display: flex; gap: .5rem; align-items: center; margin-top: .8rem; }
.compnew input { margin: 0; }
.compticks { display: flex; flex-direction: column; gap: .2rem; margin-bottom: .6rem; }
/* Who goes on the composite: a group's people, in a box that scrolls past eight (Atira, November 5 2026). */
.compticks + .comppeople { border-top: 1px solid #ececec; padding-top: .5rem; }
.comppeople.compmany { max-height: 14rem; overflow-y: auto; }
.compadd input[name="others"] { width: 100%; }
.compadd .compon-word, .compadd p.compon { color: var(--alpine-dk); font-weight: 600; }
#compadd { scroll-margin-top: 5.5rem; }

/* What Hank said about a test, beside its button (public/admin-test.js). */
.testsaid { margin: .5rem 0 0; color: var(--alpine-dk); font-weight: 500; }

/* Ticks and choices in the brand's colour, not the browser's blue (Lane, October 20 2026). */
input[type=checkbox], input[type=radio] { accent-color: var(--alpine); }

/* Clocked in: today's in from the clock, shown in its slot (src/routes/admin/timecards.tsx). */
.timecard .clockedin input { width: 6.6rem; background: #f1e7d2; border-color: #f1e7d2; color: var(--dark); }
.clockedin input::placeholder { color: var(--alpine-dk); }
.compcol .compttl { display: flex; align-items: center; gap: .4rem; }
.compcol .compttl .compname { flex: 1; }

/* ---- Hank on a phone (docs/phone.md): the looks at ?look=1, drawn only below a phone's width ---- */
@media (max-width: 700px) {
  /* The timecard: each day a card of its own, the in and out first and large; Save and Submit always in reach. */
  .tc-phone .clockbar { flex-direction: column; align-items: stretch; gap: .5rem; }
  .tc-phone .clockbar .btn { width: 100%; min-height: 3.2rem; font-size: 1.1rem; }
  .tc-phone .tablescroll { overflow: visible; }
  .tc-phone table.sessions, .tc-phone table.sessions tbody { display: block; width: 100%; }
  .tc-phone table.sessions thead { display: none; }
  .tc-phone table.sessions tr { display: block; }
  .tc-phone table.sessions td { display: block; border: 0; padding: 0; }
  .tc-phone table.sessions tr.weekhead td { padding: .5rem .8rem; border-radius: 10px; margin-top: .4rem; }
  .tc-phone table.sessions tr.weektotal { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .5rem .8rem; background: var(--paper); border-radius: 10px; }
  .tc-phone table.sessions tr.weektotal td { background: transparent; }
  .tc-phone table.sessions tr.weekgap td { height: .4rem; }
  .tc-phone table.sessions tr[data-day] { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "day hours" "io io" "brk note"; gap: .45rem .7rem; background: var(--white); border-radius: 14px; padding: .75rem .85rem; margin: .5rem 0; }
  .tc-phone table.sessions tr[data-day][style] { outline: 2px solid var(--alpine); }
  .tc-phone tr[data-day] > td:nth-child(1) { grid-area: day; font-weight: 500; }
  .tc-phone tr[data-day] > td:nth-child(2) { grid-area: io; }
  .tc-phone tr[data-day] > td:nth-child(3) { grid-area: brk; }
  .tc-phone tr[data-day] > td:nth-child(4) { grid-area: hours; font-weight: 500; }
  .tc-phone tr[data-day] > td:nth-child(5) { grid-area: note; }
  .tc-phone tr[data-day] > td[data-l]::before { content: attr(data-l); display: block; font-size: var(--t-min); color: var(--mid); margin-bottom: .15rem; }
  .tc-phone tr[data-day] > td:nth-child(2) > span { display: flex !important; align-items: center; gap: .5rem; }
  .tc-phone tr[data-day] input[type=text] { width: 100% !important; min-height: 2.9rem; font-size: 1.1rem; }
  .tc-phone tr.longday td { padding: .5rem .8rem; }
  .tc-phone table.rows thead { display: none; }
  .tc-phone table.rows, .tc-phone table.rows tbody, .tc-phone table.rows tr, .tc-phone table.rows td { display: block; width: 100%; border: 0; }
  .tc-phone table.rows tr { background: var(--white); border-radius: 14px; padding: .6rem .8rem; margin: .5rem 0; }
  .tc-phone table.rows td { padding: .2rem 0; }
  .tc-phone .btns { position: sticky; bottom: 0; z-index: 5; display: flex; flex-direction: column; gap: .5rem; background: var(--soft); padding: .7rem 0 calc(.7rem + env(safe-area-inset-bottom)); margin-top: 1rem; }
  .tc-phone .btns .btn { width: 100%; min-height: 3rem; }

  /* Individual search: the box and the people, nothing else. A row each: the photo, the name, where and when. */
  .people-phone .row.between .btn, .people-phone select[name=brand], .people-phone .viewswitch { display: none; }
  .people-phone h1 { margin-bottom: .6rem; }
  .people-phone #people-q { max-width: none !important; width: 100%; min-height: 3.2rem; font-size: 1.2rem; }
  .people-phone .tiles { grid-template-columns: 1fr; gap: .5rem; }
  .people-phone .tiles a.tile { display: grid; grid-template-columns: 84px 1fr; align-items: center; border: 0; border-radius: 14px; overflow: hidden; }
  .people-phone .tiles .tile-img { aspect-ratio: 1 / 1; }
  .people-phone .tiles .tile-body { padding: .5rem .8rem; }
  .people-phone .tiles .tile-name { font-size: 1.15rem; }
  .people-phone .tiles .tile-meta { font-size: var(--t-min); margin-top: .15rem; }
  .people-phone .tiles .tile-tag { display: none; }
}

/* Messages (docs/phone.md, step 3): a conversation reads like texts, Hank on the left, you on the right. */
.msg-face { flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--white); border: 1px solid var(--alpine); color: var(--alpine-dk); font-family: Oswald, sans-serif; font-weight: 600; display: grid; place-items: center; }
.msg-list { display: grid; gap: .5rem; max-width: 40rem; }
.msg-row { display: flex; align-items: center; gap: .8rem; background: var(--white); border: 1px solid var(--light); border-radius: 12px; padding: .8rem 1rem; color: var(--dark); }
.msg-row:hover { text-decoration: none; border-color: var(--alpine); }
.msg-row-text { flex: 1; min-width: 0; display: grid; }
.msg-row-text .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-row.unread strong { color: var(--head); }
.msg-count { position: static; }
.msg-thread { display: grid; gap: .9rem; max-width: 40rem; }
.msg { display: flex; gap: .6rem; align-items: flex-end; }
.msg.mine { justify-content: flex-end; }
.msg-bubble { background: var(--white); border: 1px solid var(--light); border-radius: 14px 14px 14px 4px; padding: .7rem .9rem; max-width: 34rem; }
.msg.mine .msg-bubble { background: var(--paper); border-radius: 14px 14px 4px 14px; }
.msg.fresh .msg-bubble { border-color: var(--alpine); }
.msg-quote { margin: 0 0 .4rem; color: var(--mid); font-size: var(--t-min); }
.msg-body { margin: 0; white-space: pre-wrap; }
.msg-about { display: inline-block; margin-top: .5rem; color: var(--alpine-dk); font-weight: 500; }
.msg-time { margin: .4rem 0 0; color: var(--mid); font-size: var(--t-min); }
.msg-reply { margin-top: .4rem; }
.msg-reply summary { cursor: pointer; color: var(--alpine-dk); font-size: var(--t-min); }
.msg-reply textarea { margin-top: .4rem; }
.msg-say { display: flex; gap: .6rem; align-items: flex-end; max-width: 40rem; margin-top: 1.25rem; }
.msg-say textarea { flex: 1; min-height: 0; border-radius: 14px; }
/* Messages read like the phone's own texts (Lane, October 22 2026: Oswald is brand, not reading): the phone's font,
   and on an iPhone its own text size (Settings, Display, Text Size). Android's Chrome follows the phone's font size. */
.msg-bubble, .msg-row-text, .msg-say textarea { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-weight: 400; }
.msg-body, .msg-say textarea { font-size: 1.0625rem; line-height: 1.4; }
@supports (font: -apple-system-body) {
  .msg-body, .msg-say textarea, .msg-row-text { font: -apple-system-body; }
}

/* On a phone, and in the installed app, Hank reads in the device's own font (Lane, October 22 2026): Oswald stays
   the brand at a desk, not the reading. Light weights become regular, which a small screen needs. On an iPhone the
   whole of Hank follows the phone's own text size, since every size here is in rem. */
@media (max-width: 700px), (display-mode: standalone) {
  body, body * { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important; }
  body, body :where(p, li, td, th, label, input, select, textarea, span, a, div) { font-weight: 400; }
  @supports (font: -apple-system-body) { html { font: -apple-system-body; } }
}

/* Conversations between people (step 2). A person's face is grey: the team's colours are Lane's palette and are
   never given anywhere else (CLAUDE.md). */
.msg-head { align-items: center; gap: 1rem; flex-wrap: wrap; }
.msg-head h1 { margin-bottom: .2em; }
.msg-face.person { border-color: var(--light); color: var(--mid); }
.msg-row-end { display: grid; justify-items: end; gap: .25rem; flex: none; }
.msg-who { margin: 0 0 .2rem; color: var(--mid); font-size: var(--t-min); font-weight: 500; }
.msg-thumbs { display: flex; align-items: center; gap: .35rem; margin-top: .35rem; flex-wrap: wrap; }
.msg-thumbs form { margin: 0; }
.msg-thumb { background: none; border: 1px solid transparent; border-radius: 999px; padding: 0 .35rem; cursor: pointer; font-size: .95rem; line-height: 1.6; opacity: .45; }
.msg-thumb:hover { opacity: 1; border-color: var(--light); }
.msg-thumb.on { opacity: 1; border-color: var(--alpine); }
.msg-thumb-count { font-size: var(--t-min); color: var(--mid); }
.msg-seen { max-width: 40rem; text-align: right; margin: .3rem 0 0; color: var(--mid); font-size: var(--t-min); min-height: 1em; }
.msg-typing { max-width: 40rem; margin: .3rem 0 0; color: var(--mid); font-size: var(--t-min); font-style: italic; }
.msg-name { margin: 0 0 1rem; }
.msg-name summary { cursor: pointer; }
.msg-new .check { display: block; margin: .35rem 0; }

/* Settings, Automations (October 30, 2026): one row a rule, its words, how often it acted, and its pause. */
.auto { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--light); }
.auto-group h2 + .auto { border-top: 0; padding-top: .25rem; }
.auto-main { flex: 1; min-width: 0; }
.auto-main p { margin: 0 0 .3rem; }
.auto-name { font-weight: 500; }
.auto-what { max-width: 46rem; }
.auto-ran { font-size: var(--t-min); font-weight: 300; color: var(--mid); }
.auto-tag { margin-left: .6rem; font-size: var(--t-min); font-weight: 400; color: var(--alpine); text-transform: uppercase; letter-spacing: .08em; }
.auto-paused { color: #a33; }
.auto-off .auto-what { color: var(--mid); }
.auto-recent { font-size: var(--t-min); color: var(--mid); }
.auto-recent ul { margin: .3rem 0 0; padding-left: 1.1rem; }
.auto-act { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; flex: none; }
.auto-act form { margin: 0; }
@media (max-width: 640px) { .auto { flex-direction: column; gap: .5rem; } .auto-act { flex-direction: row; align-items: center; } }

/* The copy button beside a session's name (Lane, November 5 2026: the name goes into Capture One). */
.sx5-top h1 .copybtn { vertical-align: middle; }
.sx5-top h1 .copybtn svg { width: 1.3rem; height: 1.3rem; }

/* The Money list (November 5, 2026; src/routes/admin/money.tsx): the Sessions list's blocks and tints, three totals
   over it. A status box is filled in its tint: blue waiting on the client, gold ours (past due, or a draft to send),
   red to look at, green paid. */
.money form.inline { display: inline; margin: 0; }
.money .linkish { all: unset; cursor: pointer; color: var(--alpine-dk); font-weight: 500; }
.money .linkish:hover { text-decoration: underline; }
.money table.sessions { table-layout: fixed; min-width: 62rem; }
.money th.c-who { width: 22%; }
.money th.c-amt { width: 8.5rem; }
.money th.c-when { width: 8rem; }
.money th.c-days { width: 6rem; text-align: center; }
.money th.c-due { width: 8rem; }
.money th.c-state { width: 9rem; }
.money td.who { overflow-wrap: anywhere; padding-left: 1.1rem; }
.money td.who strong { font-weight: 600; }
.money td.days { text-align: center; font-size: 1.2rem; font-weight: 500; color: var(--dark); }
.money td.due .late { font-weight: 500; color: #8a5f12; }
.money td.state { font-weight: 500; border-left: 2px solid var(--white); }
.money td.state.tn-ours { background: #f1e7d2; }
.money td.state.tn-theirs { background: #d9e2e8; }
.money td.state.tn-stuck { background: #dfc6c2; }
.money td.state.tn-done { background: #d8ddd5; }
.money td.more .links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.money td.more .small { margin: 0 0 .2rem; font-weight: 300; }
.money .sl-head > div { flex: 1 1 auto; min-width: 0; }
/* New invoice and Send W-9, beside the heading (Lane, November 13, 2026); a row's W-9 line under its links. */
.money .sl-head > .money-presses { flex: 0 0 auto; display: flex; gap: .5rem; flex-wrap: wrap; }
.money td.more .links .fine { align-self: center; }
/* The new invoice page (src/routes/admin/money-invoice.tsx): who it is for, then the form. */
.moneynew-who { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem; align-items: start; }
.moneynew-hits { margin-top: .8rem; }
.moneynew-hits a.crm-line { text-decoration: none; color: inherit; }
.moneynew-hits a.crm-line:hover strong { text-decoration: underline; }
.moneynew-form h3 { margin: 1.4rem 0 .4rem; }
.moneynew-pick { display: flex; gap: .5rem; align-items: baseline; font-weight: 400; margin: .25rem 0; }
.moneynew-pick input { flex: 0 0 auto; }
.moneynew-form:has(input[name=to][value=other]:not(:checked)) [data-other] { display: none; }
/* Under a line of Invoice Items: Make it a line of your own, wherever the rows are drawn. */
[data-items] [data-hint] .linkish { all: unset; cursor: pointer; color: var(--alpine-dk); font-weight: 500; text-decoration: underline; }
/* The team's letters as circles (a company's page, src/routes/admin/company-page.tsx). */
.sd-team { display: inline-flex; gap: .3rem; margin-left: auto; align-self: center; }
.sd-dot { display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; color: #fff; font-weight: 600; font-size: var(--t-min); background: var(--band); }
.sd-dot.v-L { background: var(--team-L); }
.sd-dot.v-S { background: var(--team-S); }
.sd-dot.v-A { background: var(--team-A); }
.sd-dot.v-E { background: var(--team-E); }
/* A company's page (src/routes/admin/company-page.tsx, docs/company-page.md), and the Collections list grouped by
   company. A status chip takes the Sessions list's colours: gold ours, blue theirs, brick stuck, sage finished. */
.co .co-title { margin: 0 0 .7rem; font-weight: 600; font-size: 1.15rem; color: var(--head); display: flex; gap: .7rem; align-items: baseline; flex-wrap: wrap; }
.co .co-sub { margin: 1rem 0 .2rem; color: var(--alpine); text-transform: uppercase; letter-spacing: .1em; font-size: var(--t-min); font-weight: 500; }
.co .co-sub:first-child { margin-top: 0; }
.co-chip { display: inline-block; padding: .1rem .55rem; border-radius: 6px; background: var(--paper); font-size: var(--t-min); white-space: nowrap; }
.co-chip.tn-ours { background: #f1e7d2; }
.co-chip.tn-theirs { background: #d9e2e8; }
.co-chip.tn-stuck { background: #dfc6c2; font-weight: 500; }
.co-chip.tn-done { background: #d8ddd5; }
.co-line { display: flex; align-items: baseline; gap: .6rem; padding: .4rem 0; border-top: 1px solid var(--light); }
.co-line:first-child, .co-sub + .co-line { border-top: 0; }
.co-line > span:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.co-line .co-when { min-width: 4.5rem; text-align: right; }
.co-line .co-money { min-width: 4.5rem; text-align: right; }
.co-gone, .co-gone a { color: var(--mid); }
.co-total { margin: 0 0 .5rem; font-size: 1.2rem; font-weight: 500; color: var(--head); }
.co-warn { margin: .3rem 0 .6rem; }
.co-warn a, .co-warnword { color: #933F32; font-weight: 500; }
.co-pre { white-space: pre-wrap; }
.co-col .co-colhead, .co-colhead { display: flex; gap: .9rem; align-items: center; }
.co-col .co-colhead { margin-bottom: .6rem; }
.co-face { width: 3.6rem; height: 3.6rem; border-radius: 10px; background: var(--soft); overflow: hidden; flex: none; display: block; }
.co-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-face.is-logo { background: var(--white); border: 1px solid var(--light); box-sizing: border-box; }
.co-face.is-logo img { object-fit: contain; padding: 10%; box-sizing: border-box; }
.co-table td .co-face { width: 2.8rem; height: 2.8rem; border-radius: 8px; }
.co-covers { margin-bottom: 1.2rem; }
.move-card { max-width: 46rem; }
.move-card label input { max-width: 26rem; }
.move-sessions { margin: 1rem 0; }
.move-warn { color: #a3322a; font-weight: 500; }
.co-cover { display: flex; gap: .9rem; align-items: center; }
.co-cover + .co-cover { margin-top: .9rem; }
.co-cover .cs3-cover-acts form { margin: 0; }
.co-two { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2rem; align-items: start; }
@media (max-width: 1000px) { .co-two { grid-template-columns: 1fr; } }
.co-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr)); gap: 0 1.25rem; align-items: start; }
.co-table { width: 100%; background: var(--white); border-radius: 14px; }
.co-table td.fill.tn-ours { background: #f1e7d2; }
.co-table td.fill.tn-theirs { background: #d9e2e8; }
.co-table td.fill.tn-stuck { background: #dfc6c2; font-weight: 500; }
.co-table td.fill.tn-done { background: #d8ddd5; }
.hk-acc a.co-room { display: flex; justify-content: space-between; gap: .5rem; }

/* Notices (src/routes/admin/notices.tsx): quiet hours, and Buzz, List only or Off per kind. Narrow, for a phone first. */
.nt-card { max-width: 40rem; }
.nt-h { margin: 0 0 .6rem; font-size: 1.15rem; }
.nt-quiet { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem 1rem; }
.nt-quiet label { margin: 0; display: grid; gap: .2rem; }
.nt-quiet input[type="time"] { width: 8rem; }
.nt-quiet .linkish { all: unset; cursor: pointer; color: var(--alpine-dk); font-weight: 500; padding-bottom: .5rem; }
.nt-now { margin: .7rem 0 0; }
.nt-list { list-style: none; margin: 0; padding: 0; }
.nt-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .7rem 0; border-top: 1px solid var(--light); }
.nt-row:first-child { border-top: 0; }
.nt-label { flex: 1 1 14rem; min-width: 0; }
.nt-choice { display: inline-flex; border: 1px solid var(--light); border-radius: 999px; overflow: hidden; margin: 0; }
.nt-opt { all: unset; cursor: pointer; padding: .4rem .85rem; font-size: var(--t-min); color: var(--dark); border-left: 1px solid var(--light); }
.nt-opt:first-child { border-left: 0; }
.nt-opt.on { background: var(--alpine); color: #111; font-weight: 500; }
.nt-opt:not(.on):hover { background: var(--soft); }
.nt-opt:focus-visible { outline: 2px solid var(--alpine-dk); outline-offset: -2px; }
.nt-opt[disabled] { cursor: default; opacity: .6; }

/* About this page (the night of November 5, 2026, chunk 6; src/lib/message-about.ts): a person's message started from
   a page carries it as a small card, and the page lists the messages about it to the people in them. */
.msg-about-card { display: block; margin: .5rem 0 0; padding: .45rem .7rem; border: 1px solid var(--light); border-radius: 10px; background: var(--paper); color: var(--dark); font-weight: 500; }
.msg-about-card:hover { text-decoration: none; border-color: var(--alpine); }
p.msg-about-card { margin: 0 0 1rem; }
.about-this { max-width: 40rem; margin-top: 2rem; }
.about-this h3 { margin-top: 0; }
.about-this-row { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: baseline; padding: .4rem 0; border-top: 1px solid var(--light); color: var(--dark); }
.about-this-row:hover { text-decoration: none; color: var(--alpine-dk); }
.about-this-body { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* What's new (chunk 6): the owner's drafts, each to read, edit and send. */
.wn-draft textarea { width: 100%; }
.wn-draft .row { gap: .75rem; flex-wrap: wrap; align-items: flex-end; }
.wn-draft .row label { flex: 1; min-width: 12rem; }
.wn-to { margin: .5rem 0 0; }
.wn-sent { display: grid; gap: .2rem; padding: .6rem 0; border-top: 1px solid var(--light); }
/* "Did you mean ...@gmail.com?" under an email box (public/email-typo.js): a suggestion, the address its button. */
.typo-hint { margin: .3rem 0 0; font-size: var(--t-min); color: var(--dark); }
.typo-hint button { all: unset; cursor: pointer; font-weight: 600; color: var(--alpine-dk); text-decoration: underline; overflow-wrap: anywhere; }
.typo-hint button:focus-visible { outline: 2px solid var(--alpine); outline-offset: 2px; }
/* A possible duplicate pair, and a new record's "is it one of these?" */
.crm-near { margin: 0 0 1rem; }
.crm-near .crm-line { border-top: 1px solid var(--light); }
.cd .crm-add .row { flex-wrap: wrap; }
.cd .crm-add .typo-hint { flex-basis: 100%; order: 3; margin: 0; }
.cd .crm-fact > .typo-hint { grid-column: 2; margin: .2rem 0 0; }
.typo-hint { font-weight: 300; }
/* ---- A company's page and the Collections list, each look 3 until Lane picked it (November 6 and 7, 2026) ---- */
/* A company's Overview: four cards, Value (its span chosen inside it), Currently, People, Photos. */
.co-spans { display: flex; gap: .25rem; flex-wrap: wrap; margin: 0 0 .8rem; }
.co-spans a { padding: .2rem .65rem; border-radius: 999px; border: 1px solid var(--light); color: var(--mid); font-size: var(--t-min); }
.co-spans a.on { background: var(--dark); border-color: var(--dark); color: var(--white); }
.co-spans a:hover { text-decoration: none; border-color: var(--alpine); }
.co-valuebig { font-size: 2rem; font-weight: 500; line-height: 1.1; color: var(--head); margin: 0 0 .25rem; }
.co-dash { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.co-dash > .card { margin: 0; }
@media (max-width: 900px) { .co-dash { grid-template-columns: 1fr; } }
.co .co-dashtitle { justify-content: space-between; }
.co .co-dashtitle .fine { font-weight: 400; }
.co-dashcol { margin-bottom: .8rem; }
.co-dashcol:last-child { margin-bottom: 0; }
/* The list: alpine names, the brand and kind under each, five tiles across at the list's width. */
.l3 .l3-name, .l3 a.l3-name { color: var(--alpine); font-weight: 600; }
.l3-kind { font-size: var(--t-min); color: var(--mid); margin-top: .15rem; }
.l3 .tiles.l3-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1200px) { .l3 .tiles.l3-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 960px) { .l3 .tiles.l3-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .l3 .tiles.l3-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; } }
.l3-wait div { line-height: 1.35; }
.l3-wait .co-dot { margin-right: .4rem; }
/* Your PIN (src/routes/admin/pin.tsx). */
.pin-card { max-width: 22rem; display: flex; flex-direction: column; gap: .5rem; }
.pin-card .pin-in { font-size: 1.6rem; letter-spacing: .5em; width: 8.5rem; text-align: center; }
.pin-card .btn { align-self: flex-start; margin-top: .4rem; }
/* Money, look 1 (Lane, November 6, 2026): owed with a ring, what came in against a year before. */
/* A third for what is owed, two thirds for what came in (Lane, November 7, 2026). */
.money-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem; margin: 0 0 1.4rem; align-items: start; }
.money-top.alone { grid-template-columns: minmax(0, 30rem); }
@media (max-width: 1000px) { .money-top { grid-template-columns: 1fr; } }
.money-owed-in { flex-wrap: wrap; }
.money-late-who { padding: .3rem 0; }
.money-late-who .co-line { padding: 0; border: 0; }
.money-late-inv { display: flex; flex-direction: column; gap: .1rem; font-size: var(--t-min); padding-left: .8rem; }
.money-came-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; }
.money-by select { max-width: 20rem; }
.money-came-in { display: grid; grid-template-columns: minmax(16rem, 2fr) minmax(0, 3fr); gap: 1.5rem; align-items: start; }
@media (max-width: 1300px) { .money-came-in { grid-template-columns: 1fr; } }
.money-bars { margin: 0; }
.money-bars svg { width: 100%; height: auto; display: block; }
.money-bars .grid { stroke: var(--light); stroke-width: 1; }
.money-bars .axis { stroke: #c9c9c9; stroke-width: 1; }
.money-bars .tick { font-size: 11px; fill: var(--mid); }
/* This year dark, the year before light: one gold, checked for colour-blind reading; the table beside says the figures. */
.money-bars .now { fill: #8f6a1c; }
.money-bars .before { fill: #c9a456; }
.money-bars .hit { fill: transparent; }
.money-bars .month:hover .hit { fill: rgba(0, 0, 0, .04); }
.money-legend { display: flex; align-items: center; gap: .4rem; font-size: var(--t-min); color: var(--mid); margin: 0 0 .3rem; }
.money-legend .key { width: .8rem; height: .8rem; border-radius: 2px; display: inline-block; }
.money-legend .key.now { background: #8f6a1c; }
.money-legend .key.before { background: #c9a456; margin-left: .8rem; }
.money-top .card { margin: 0; }
.money-owed-in { display: flex; gap: 1.5rem; align-items: center; }
.money-ring { width: 9rem; height: 9rem; flex: none; }
.money-ring-n { font-size: 22px; font-weight: 500; fill: var(--dark); }
.money-ring-l { font-size: 11px; fill: var(--mid); }
.money-big { font-size: 1.9rem; font-weight: 500; line-height: 1.1; margin: .2rem 0 0; color: var(--dark); }
.money-big.warn { color: #8f3d31; }
.money-top .fine { margin: 0 0 .5rem; }
.money-late { margin-top: 1rem; border-top: 1px solid var(--light); padding-top: .5rem; }
.money-periods { width: 100%; border-collapse: collapse; }
.money-periods th { font-weight: 400; font-size: var(--t-min); color: var(--mid); text-align: left; padding: 0 0 .4rem; }
.money-periods th.right, .money-periods td.right { text-align: right; }
.money-periods td { padding: .45rem 0; border-top: 1px solid var(--light); vertical-align: top; }
.money-up { color: #3f6f45; }
.money-down { color: #8f3d31; }
.money-groups tr.cols th { font-weight: 400; font-size: var(--t-min); color: var(--mid); background: transparent; padding-top: .2rem; }
.money-old { margin-top: 1.5rem; }
.money-old summary { cursor: pointer; color: var(--mid); }
/* Square's customers tied to no company: a bar to tie the ticked, and a tied row kept in place, quieter. */
.tie-many { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .6rem 0; position: sticky; top: 56px; z-index: 2; background: var(--white); padding: .4rem 0; }
.tie-list { width: auto; }
.tie-list .c-tick { width: 1.6rem; }
.tie-list tr.is-tied td { color: var(--mid); }
/* Settings (src/routes/admin/settings.tsx; Lane, November 6, 2026): yours, the phone app, the studio's. */
.set { max-width: 980px; }
.set .sx3-title { margin-top: 1.6rem; }
.set-card { padding: .4rem 1.25rem; }
.set-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: .4rem 1rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--soft); }
.set-row:first-child { border-top: 0; }
.set-row[hidden] { display: none; }
.set-label { font-weight: 500; }
.set-value select { max-width: 16rem; }
.set-act .linkish { margin-left: .8rem; }
.set-note { margin: .5rem 0; }
.set-sig summary { cursor: pointer; }
.set-sig form { display: flex; flex-direction: column; gap: .6rem; margin-top: .8rem; max-width: 34rem; }
.set-studio { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; }
.set-studio .card { margin: 0; }
.set-link { display: flex; flex-direction: column; padding: .45rem 0; border-top: 1px solid var(--soft); }
.set-link:first-of-type { border-top: 0; }
@media (max-width: 640px) { .set-row { grid-template-columns: 1fr; } }
/* Settings at the foot of the sidebar: a gear and the word. */
.hk-gear { display: flex; align-items: center; gap: .5rem; color: var(--mid); }
.hk-gear:hover { color: var(--dark); }
.hk-gear svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Messages as a window over the page (Lane, November 7, 2026; public/msg-window.js): at the bottom right, like a
   chat window, the page usable behind it. A dialog shown without its backdrop, so nothing behind is shut. */
dialog.msgwin[open] { position: fixed; inset: auto 1rem 1rem auto; z-index: 60; display: flex; flex-direction: column; width: min(400px, calc(100vw - 2rem)); height: min(640px, calc(100vh - 5.5rem)); margin: 0; padding: 0; border: 1px solid var(--light); border-radius: 14px; overflow: hidden; background: var(--soft); color: var(--dark); font-size: var(--t-body); box-shadow: 0 16px 48px rgba(0,0,0,.28); }
.msgwin-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .6rem .55rem 1rem; background: var(--band); color: var(--white); }
.msgwin-top strong { font-weight: 500; letter-spacing: .04em; }
.msgwin-x { all: unset; cursor: pointer; width: 2rem; height: 2rem; border-radius: 50%; color: var(--white); font-size: 1.4rem; line-height: 2rem; text-align: center; }
.msgwin-x:hover { background: rgba(255,255,255,.15); }
.msgwin-about { display: flex; flex-wrap: wrap; gap: .1rem .4rem; padding: .55rem 1rem; background: var(--white); border-bottom: 1px solid var(--light); cursor: pointer; }
.msgwin-name { flex-basis: 100%; padding-left: 1.45rem; color: var(--mid); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
dialog.msgwin iframe { display: block; flex: 1; width: 100%; border: 0; background: var(--soft); }
.msgwin-about[hidden] { display: none; }
/* In front of a record's pop-up the window is a modal of its own; the pop-up stays in sight behind it. */
dialog.msgwin::backdrop { background: transparent; }
/* The chat icon beside a pop-up's X: the X's size, the top bar's Messages glyph. */
dialog.sessionpop .popmsg { all: unset; cursor: pointer; position: absolute; top: .7rem; right: 4rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.2); display: flex; align-items: center; justify-content: center; }
dialog.sessionpop .popmsg svg { width: 20px; height: 20px; fill: none; stroke: var(--band); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
dialog.sessionpop .popmsg:hover { background: var(--band); }
dialog.sessionpop .popmsg:hover svg { stroke: var(--white); }
.set-value.hk-brands { display: flex; flex-wrap: wrap; gap: .4rem; }
.set-value.hk-brands .hk-brand { flex: 0 0 auto; min-width: 6.5rem; }
/* The Collections list as rows: only as wide as it needs (Lane, November 6, 2026: less room in Name and POC). */
.l3 .tablescroll { display: flex; }
.co-table.l3-table { width: auto; min-width: 46rem; margin: 0 auto 0 0; }
.l3-table td, .l3-table th { padding-right: 1.6rem; }
/* A company's page, second pass (Lane, November 6, 2026): Value's owed line, sessions as small cards, faces. */
.co-owed { margin: 0 0 .2rem; color: #8f3d31; font-weight: 500; }
.co-mini { display: flex; flex-direction: column; gap: .2rem; padding: .65rem .8rem; margin: 0 0 .5rem; border: 1px solid var(--light); border-radius: 10px; color: var(--dark); }
.co-mini:hover { border-color: var(--alpine); text-decoration: none; }
.co-mini-top { display: flex; align-items: center; gap: .6rem; }
.co-mini-top strong { color: var(--alpine-dk); }
.co-mini .sd-dot { width: 1.5rem; height: 1.5rem; font-size: .8rem; }
.co-mini-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; margin-top: .15rem; }
.co-before { margin: .6rem 0 0; }
.co-pface { width: 2rem; height: 2rem; border-radius: 50%; object-fit: cover; vertical-align: middle; margin-right: .5rem; }
.co-ptitle { display: flex; justify-content: space-between; align-items: center; }
.co-ptiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .8rem; }
.co-ptile { display: flex; flex-direction: column; gap: .15rem; background: var(--white); border-radius: 12px; padding: 0 0 .6rem; overflow: hidden; color: var(--dark); }
.co-ptile:hover { text-decoration: none; box-shadow: 0 0 0 2px var(--alpine); }
.co-ptile-img { aspect-ratio: 4 / 5; background: var(--soft); display: block; margin-bottom: .35rem; }
.co-ptile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-ptile strong, .co-ptile .fine { padding: 0 .6rem; }
/* Possible duplicates (Lane, November 7, 2026): both records of a pair one above the other, field by field; the round
   button marks the one kept, and the other says it goes into it. */
.dup-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 .8rem; }
.dups { width: auto; }
.dups td { vertical-align: top; }
.dup-side, .dup-line { display: flex; align-items: center; gap: .4rem; min-height: 1.9rem; white-space: nowrap; }
.dup-side input { margin: 0; }
.dup-keep { font-size: var(--t-min); font-weight: 600; color: var(--alpine); text-transform: uppercase; letter-spacing: .04em; }
.dup-into { font-size: var(--t-min); color: var(--mid); }
.dup-side:has(input:checked) .dup-into, .dup-side:not(:has(input:checked)) .dup-keep { display: none; }
.dup-side:not(:has(input:checked)) a { color: var(--mid); }
.dup-plan { width: auto; }
/* Contacts' too (Lane, November 7, 2026: "too much padding and not enough info"): a long cell cut short, its whole on
   hover; what a merge does, for whichever of the pair is marked Keep. */
.dups td { padding: .45rem .55rem; }
.dups th { padding-left: .55rem; padding-right: .55rem; }
.dup-side, .dup-line { min-height: 1.6rem; }
.dup-line { display: block; max-width: 17rem; overflow: hidden; text-overflow: ellipsis; line-height: 1.6rem; }
.dup-what { min-width: 10rem; max-width: 12rem; }
.dups td:first-child, .dups th:first-child { width: 1.4rem; padding-right: 0; }
/* Still cut off on Lane's screen with real emails and companies (November 7, 2026): every field cell at most
   10.5rem, its whole on hover. */
.dup-line { max-width: 9rem; }
/* Measured on live at 1920 wide (November 7, 2026, evening): still 75px over, the longest names widest. A name is cut
   short at 12rem, whole on hover. */
.dup-side a { max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }
/* The page was too wide once What happens came (Lane, November 7, 2026: "broke the functionality of the page"): Why
   keeps room to read, and a row's presses stand one above another. */
.dup-why { min-width: 7rem; max-width: 9rem; }
.dup-acts { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.dup-acts [hidden] { display: none; }
tr:has(.dup-side:first-child input:checked) .dup-what-b, tr:has(.dup-side:nth-child(2) input:checked) .dup-what-a { display: none; }

/* Hank's own sign-in (src/routes/signin.tsx, docs/sign-in.md): one narrow card in the middle of the page. */
.signin-body { background: #f4f2ee; min-height: 100vh; margin: 0; }
.signin { max-width: 26rem; margin: 0 auto; padding: 12vh 16px 2rem; }
.signin-mark { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 2rem; letter-spacing: .04em; color: var(--alpine); margin: 0 0 1rem; text-transform: uppercase; }
.signin h1 { margin: 0 0 1rem; }
.signin-form { display: flex; flex-direction: column; gap: .8rem; background: #fff; padding: 1.2rem; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.signin-form label { display: flex; flex-direction: column; gap: .3rem; }
.signin-form input { font-size: 1.15rem; padding: .55rem .6rem; }
.signin-said { margin: 0 0 1rem; }
.signin-said.bad { color: #a3322a; }
.signin-or { margin: 1rem 0 0; }

/* A client's Files (src/routes/admin/library.tsx; the library, called Files and drawn as tiles since Lane's pick,
   November 17, 2026): a card on a client's Details, beside the shooting notes. A thumbnail on each entry, Copy link and
   the entry's three dots as two quiet icons, a PDF or a picture read over the page, a file dropped anywhere on it. */
.lib-filter { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .8rem; }
.lib-filter .hk-brand { flex: 0 0 auto; padding: .2rem .8rem; font: inherit; font-size: var(--t-min); background: none; cursor: pointer; }
.lib-filter .hk-brand.on { background: var(--paper); }
.lib-tags { margin-top: .35rem; }
.lib-tags .crm-chip { padding: .05rem .6rem; font-size: var(--t-min); }
.lib-older { list-style: none; margin: .2rem 0 0; padding: 0; }
.lib-older li { display: flex; flex-wrap: wrap; gap: .2rem .8rem; align-items: baseline; }
.lib-older form { margin: 0; }
.lib-forms { display: grid; gap: .45rem; margin-top: .6rem; }
.lib-forms label { font-weight: 600; }
.lib-forms input[type="text"], .lib-forms input[type="url"], .lib-forms input[type="date"] { border-radius: 8px; }
.lib-forms .btn { justify-self: start; margin-top: .3rem; }
.lib-formhead { margin: 0; font-weight: 600; }
.lib-ticks { border: 0; margin: .2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.2rem; }
.lib-ticks legend { padding: 0; font-weight: 600; }
.lib-ticks .crm-tick { margin: .4rem 0 0; font-weight: 400; }

.lib { position: relative; }
.lib-grid { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
@media (max-width: 600px) { .lib-grid { grid-template-columns: 1fr 1fr; gap: .8rem; } }
.lib-entry[hidden] { display: none; }
.lib-pic { position: relative; display: block; overflow: hidden; background: var(--paper); border: 1px solid var(--light); border-radius: 8px; line-height: 0; }
.lib-pic:hover { text-decoration: none; border-color: var(--alpine); }
.lib-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.lib-type { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; width: 100%; height: 100%; line-height: 1.2; color: var(--mid); font-size: var(--t-min); font-weight: 500; letter-spacing: .1em; text-align: center; padding: .5rem; }
.lib-type.is-link { letter-spacing: 0; color: var(--alpine-dk); word-break: break-all; }
.lib-type svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.lib-v { display: inline-block; padding: 0 .45rem; border-radius: 999px; background: var(--band); color: var(--white); font-size: var(--t-min); font-weight: 500; line-height: 1.5; }
.lib-pic .lib-v { position: absolute; top: .4rem; left: .4rem; }
.lib-name { color: var(--dark); }
.lib-name strong { font-weight: 500; }
.lib-name:hover { color: var(--alpine-dk); }
.lib-body .fine { margin-top: .1rem; }
.lib-body .lib-tags { margin-top: .3rem; }
.lib-presses { display: flex; gap: .1rem; }
.lib-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--mid); cursor: pointer; }
.lib-icon:hover, .lib-icon:focus-visible { background: var(--soft); color: var(--alpine-dk); }
.lib-icon.copied { color: var(--alpine-dk); }
.lib-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lib-icon svg circle { fill: currentColor; stroke: none; }
/* A tile: the picture in a page's proportion, the name in two lines at most, the icons over its corner. */
.lib-tile { position: relative; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.lib-tile .lib-pic { aspect-ratio: 4 / 3; }
.lib-tile .lib-name strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.25; }
.lib-tile .lib-presses { position: absolute; top: .35rem; right: .35rem; background: rgba(255,255,255,.92); border-radius: 999px; box-shadow: 0 1px 3px rgba(0,0,0,.12); opacity: 0; transition: opacity .15s; }
.lib-tile:hover .lib-presses, .lib-tile:focus-within .lib-presses { opacity: 1; }
@media (hover: none) { .lib-tile .lib-presses { opacity: 1; } }
/* The empty card says what it is for, and is itself the place to drop. */
.lib-empty { display: grid; gap: .3rem; width: 100%; margin: 0 0 .8rem; padding: 1.4rem 1.2rem; border: 1.5px dashed #d4cbb6; border-radius: 10px; background: var(--paper); font: inherit; font-size: var(--t-min); color: var(--mid); text-align: left; cursor: pointer; }
.lib-empty strong { color: var(--dark); font-weight: 500; font-size: var(--t-body); }
.lib-empty:hover { border-color: var(--alpine); }
.lib-drophint { margin: .3rem 0 0; }
.lib-dropveil { display: none; position: absolute; inset: 0; border: 2px dashed var(--alpine); border-radius: inherit; background: rgba(246,243,236,.94); align-items: center; justify-content: center; font-weight: 500; color: var(--alpine-dk); z-index: 2; pointer-events: none; }
.lib.dropping .lib-dropveil { display: flex; }
/* An entry's own box (its ⋯), and the reader over the page. */
dialog.lib-dlg { width: min(560px, calc(100vw - 32px)); border: 0; border-radius: 12px; padding: 1.5rem; color: var(--dark); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
dialog.lib-dlg::backdrop, dialog.lib-view::backdrop { background: rgba(0,0,0,.55); }
dialog.lib-dlg h3 { margin: 0 2.5rem .2rem 0; }
dialog.lib-dlg .lib-forms { gap: 1.4rem; margin-top: 1rem; }
dialog.lib-dlg .lib-forms form { display: grid; gap: .45rem; }
.lib-x { position: absolute; top: .8rem; right: .9rem; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: var(--soft); color: var(--band); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.lib-x:hover { background: var(--band); color: var(--white); }
dialog.lib-view { width: min(1000px, 96vw); height: 92vh; max-width: none; max-height: none; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--soft); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
dialog.lib-view[open] { display: flex; flex-direction: column; }
.lib-viewbar { position: relative; display: flex; align-items: center; gap: 1.2rem; padding: .7rem 3.6rem .7rem 1.2rem; background: var(--white); border-bottom: 1px solid var(--light); }
.lib-viewbar strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-viewbar a { font-size: var(--t-min); white-space: nowrap; margin-left: auto; }
.lib-viewbar .lib-x { top: 50%; transform: translateY(-50%); }
.lib-viewbody { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lib-viewbody.is-pages { display: block; overflow-y: auto; overflow-x: hidden; padding: 1rem; scrollbar-gutter: stable; }
.lib-opening { text-align: center; margin: 3rem auto; }
.lib-viewbody canvas { display: block; max-width: 100%; height: auto; margin: 0 auto 1rem; background: var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.lib-viewbody img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* The one page, look 1 (docs/spec.md, "One page per client"): a collection's folders as pills above its board. */
.one-folders { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .4rem; margin: 0 0 1rem; }
.one-folder-list { display: contents; list-style: none; margin: 0; padding: 0; }
.one-folder-list li { display: inline-flex; }
.one-folder-list li.over .pill { outline: 2px dashed var(--alpine); }
.one-folder-add summary { list-style: none; cursor: pointer; }
.one-folder-add summary::-webkit-details-marker { display: none; }
.one-part .cs3 { max-width: none; }
/* Details on the one page (Lane, November 22, 2026): their client page, shooting, booking, the record, files, the rare presses. */
.one-details { max-width: 52rem; }
.one-details > .sx3-title { margin: 1.75rem 0 .6rem; }
.one-details > .sx3-title:first-of-type { margin-top: 0; }
.one-details .card { margin: 0 0 .8rem; }
.one-rare { margin-top: 2.25rem; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,.1); }
.one-rare .card { margin-bottom: .8rem; }
.one-danger { color: #a33; }
.one-delete { margin-top: 2.5rem; max-width: 52rem; }
/* People on the one page, each once: their role beside their name, their POC presses in the card's menu. */
.pb-rolechip { margin-left: .35rem; font-size: var(--t-min); font-weight: 500; color: var(--alpine-dk); white-space: nowrap; }
.pb-presses { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding-bottom: .5rem; margin-bottom: .5rem; border-bottom: 1px solid rgba(0,0,0,.08); }
.pb-add { margin: 0 0 1rem; max-width: 36rem; }
