@import "/shared/tokens.css?v=4";

/* ============================================================================
   aic-app.css — Auto Image APP theme (canonical)
   ----------------------------------------------------------------------------
   CCC ONE-native light chrome for daily tools. Include this one file and use
   the classes below and the page reads as CCC ONE.

   Design TOKENS (colors, fonts, scale) are the design-system FAMILY ROOT and
   live in /shared/tokens.css (imported above) — so every surface, these inline
   pages AND the Skills Matrix Tailwind build, updates together from one file.

   Two-theme model:
     APP       = this sheet (dense, flat, blue-led, Segoe — for daily tools)
     IMMERSIVE = the dark/glass design-system bundle (showcase/marketing)
   ============================================================================ */

/* ============================ BASE ============================ */
/* box model + page base */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0}
body{background:var(--page);font-family:var(--sans);font-size:14px;color:var(--ink);-webkit-font-smoothing:antialiased}
button{font-family:inherit}
/* monospace utility — counts, codes, owner tags, years */
.mono{font-family:var(--mono)}

/* ============================ HEADER BAND ============================ */
/* blue gradient page header */
.band{background:linear-gradient(100deg,var(--band1),var(--band2));color:#fff;padding:14px 28px 18px;position:relative}
/* The site menu button (hub-nav.js) is fixed at top:10px left:10px, 38px wide, on every page that
   has it (body.aic-has-nav). CCC ONE starts its header text clear of the left control, so the band's
   breadcrumb and title start after the button instead of underneath it. */
body.aic-has-nav .band{padding-left:64px}
/* A long editor scrolls its fields under that fixed button. Its column starts where the band's title does, so the
   button never covers a field at any scroll position (2026-10-21, the job aid editor). */
body.aic-has-nav .wrap.menu-clear{padding-left:64px}
/* breadcrumb inside band */
.band .crumb{font-size:12px;font-weight:500;color:rgba(255,255,255,.62);margin-bottom:6px}
.band .crumb a{color:rgba(255,255,255,.72);text-decoration:none;cursor:pointer}
.band .crumb a:hover{color:#fff;text-decoration:underline}
/* title row in band */
.band .ttl{display:flex;align-items:center;gap:14px}
/* circular back button */
.band .back{width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center;cursor:pointer;flex:none;font-size:16px;line-height:1}
.band .back:hover{background:rgba(255,255,255,.28)}
/* page title — 27px thin, the only large type on the page */
.band h1{margin:0;font-size:27px;font-weight:400;letter-spacing:0}
/* band subtitle */
.band .sub{margin-top:6px;font-size:13px;color:rgba(255,255,255,.8);max-width:980px}

/* ============================ NAVIGATION ============================ */
/* sticky in-page anchor nav (one page, not tabs) */
.subnav{background:#fff;border-bottom:1px solid var(--line);padding:0 28px;display:flex;gap:2px;position:sticky;top:0;z-index:40;box-shadow:0 1px 4px rgba(0,0,0,.04);overflow-x:auto}
.subnav button,.subnav a{background:none;border:none;padding:12px 16px 10px;font-size:13.5px;color:var(--ink2);border-bottom:2px solid transparent;cursor:pointer;white-space:nowrap;text-decoration:none;font-family:inherit;display:inline-flex;align-items:center}
.subnav button.on,.subnav a.on{color:var(--blue);border-bottom-color:var(--blue);font-weight:600}
.subnav button:hover:not(.on),.subnav a:hover:not(.on){color:var(--ink)}
/* subnav spacer / right utility text */
.subnav .sp{flex:1}
.subnav .util{color:var(--ink3);font-size:12px;padding:12px 6px;white-space:nowrap}
/* right-aligned log out on the hub tab row */
.subnav a.hn-out{color:var(--ink3)}
.subnav a.hn-out:hover{color:var(--red)}

/* underline sub-tabs (CCC config tabs inside editors) */
.tabs{background:var(--page);border-bottom:1px solid var(--line);display:flex;gap:0;padding:0 28px}
.tabs button{background:none;border:none;padding:12px 18px 10px;font-size:13.5px;color:var(--ink2);border-bottom:3px solid transparent;cursor:pointer;letter-spacing:.02em;text-transform:uppercase}
.tabs button.on{color:var(--blue);border-bottom-color:var(--blue);font-weight:600}
.tabs button:hover:not(.on){color:var(--ink)}

/* ============================ LAYOUT ============================ */
/* page content container — 28px is the universal page gutter */
.wrap{max-width:1640px;margin:0 auto;padding:6px 28px 60px}
/* card — square-cornered, hairline + whisper shadow */
.card{background:var(--card);border:1px solid var(--line);box-shadow:0 2px 8px rgba(0,0,0,.05)}
/* uppercase section micro-label */
.sect{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink2);padding:12px 0 8px}
/* hairline rule */
.hr{height:1px;background:var(--line);border:0;margin:0}
/* one-page section (anchor target; clears the sticky subnav) */
.psec{padding-top:30px;scroll-margin-top:58px}
/* page-section header row */
.psh{display:flex;align-items:baseline;gap:12px;border-bottom:2px solid var(--line2);padding-bottom:8px;margin-bottom:16px}
.psh h2{margin:0;font-size:17px;font-weight:600;color:var(--ink);letter-spacing:.01em}
.psh .sub{font-size:12px;color:var(--ink3)}
.psh .rt{margin-left:auto;display:flex;gap:12px;align-items:center}
/* asymmetric two-column grid */
.twocol{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;align-items:start}
@media(max-width:1080px){.twocol{grid-template-columns:1fr}}

/* ============================ FORMS ============================ */
/* CCC floating-label field — underline-only Material-style input */
.field{display:flex;flex-direction:column;gap:2px;padding-top:6px}
.field label{font-size:12px;color:var(--blue);letter-spacing:.01em}
.field input,.field select{font:inherit;font-size:14px;color:var(--ink);border:none;border-bottom:1px solid var(--line-in);background:transparent;padding:6px 2px;outline:none}
/* focus thickens to 2px blue; padding drops 1px to prevent layout shift */
.field input:focus,.field select:focus{border-bottom:2px solid var(--blue);padding-bottom:5px}
.field input[readonly]{color:var(--ink2)}
.field .req{color:var(--red)}

/* pill toggle switch */
.toggle{display:inline-flex;align-items:center;gap:12px;cursor:pointer;user-select:none}
.toggle .tk{width:44px;height:24px;border-radius:12px;background:var(--ctl-off);position:relative;transition:background .15s;flex:none}
.toggle .tk::after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.28);transition:left .15s}
.toggle.on .tk{background:var(--blue)}
.toggle.on .tk::after{left:22px}
.toggle span{font-size:14px;color:var(--ink)}

/* ============================ BUTTONS & LINKS ============================ */
/* primary button (UPPERCASE) */
.btn{font-size:13.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;border-radius:4px;padding:0 22px;height:38px;cursor:pointer;border:none;background:var(--blue);color:#fff}
.btn:hover{background:var(--blue-d)}
/* ghost (outline) button / small button */
.btn.ghost{background:transparent;border:1.5px solid var(--blue);color:var(--blue)}
.btn.ghost:hover{background:var(--blue-bg)}
.btn.sm{height:30px;padding:0 12px;font-size:12px}
/* confirm (green) and danger (outline red) — approval flows */
.btn.ok{background:var(--ok)}
.btn.ok:hover:not(:disabled){background:var(--ok-dd)}
.btn.danger{background:#fff;border:1px solid var(--red);color:var(--red)}
.btn.danger:hover:not(:disabled){background:var(--red-bg)}
.btn:disabled{opacity:.5;cursor:default}
/* sticky bottom save/cancel bar */
.actionbar{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--line);padding:12px 28px;display:flex;justify-content:flex-end;gap:10px;z-index:30;box-shadow:0 -2px 8px rgba(0,0,0,.04)}
/* inline text link */
.link{color:var(--blue);cursor:pointer;font-size:12.5px;text-decoration:none}
.link:hover{text-decoration:underline}

/* ============================ TRANSFER LIST ============================ */
/* dual transfer list wrapper */
.dual{display:grid;grid-template-columns:1fr 40px 1fr;gap:0;align-items:stretch}
/* transfer-list column */
.dcol{border:1px solid var(--line);display:flex;flex-direction:column;min-height:220px}
.dcol .dh{display:flex;justify-content:space-between;align-items:center;padding:8px 10px}
.dcol .dh b{font-size:13px}
.dcol .search{display:flex;align-items:center;border-bottom:1px solid var(--line-in);padding:0 10px}
.dcol .search input{flex:1;border:none;outline:none;font:inherit;font-size:13px;padding:9px 0}
.dcol .search .ic{color:var(--ink3)}
/* transfer list body / group header */
.dlist{flex:1;overflow-y:auto;max-height:300px}
.dgrp{font-size:9.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--ink3);font-weight:700;padding:7px 12px 3px;background:var(--sub2);border-bottom:1px solid var(--sub)}
/* transfer list row (+ pure-CSS radio dot .prad) */
.drow{padding:7px 12px;font-size:13px;cursor:pointer;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--sub)}
.drow:hover{background:var(--sub)}
.drow.sel{background:var(--blue-bg);color:var(--blue-dd)}
.drow .st{margin-left:auto;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.drow .prad{width:15px;height:15px;border-radius:50%;border:1.6px solid var(--line-in);flex:none;display:grid;place-items:center}
.drow .prad.on{border-color:var(--blue)}
.drow .prad.on::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--blue)}
/* transfer arrows column */
.dmid{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px}
.dmid button{width:30px;height:30px;border-radius:4px;border:1px solid var(--line-in);background:#fff;color:var(--blue);cursor:pointer;font-size:15px}
.dmid button:hover{background:var(--blue-bg)}

/* ============================ CHECKBOX MATRIX ============================ */
/* checkbox matrix layout (2 CSS columns) / group */
.matrix{columns:2;column-gap:34px}
@media(max-width:820px){.matrix{columns:1}}
.mgrp{break-inside:avoid;margin-bottom:16px}
.mgrp h4{font-size:12.5px;font-weight:600;color:var(--ink);margin:0 0 6px;letter-spacing:.02em}
/* checkbox row with color-coded deviations: on=blue, on.add=green, rem=amber dashed strikethrough */
.chk{display:flex;align-items:flex-start;gap:9px;padding:4px 0;font-size:13px;cursor:pointer}
.chk .bx{width:16px;height:16px;border:1.6px solid var(--ctl-line);border-radius:2px;flex:none;margin-top:1px;display:grid;place-items:center;transition:background .1s,border-color .1s}
.chk.on .bx{background:var(--blue);border-color:var(--blue)}
.chk.on .bx::after{content:"";width:9px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg);margin-top:-2px}
.chk.on.add .bx{background:var(--ok);border-color:var(--ok)}
.chk.on.add .tx>span:first-child,.chk.on.add{color:var(--ok-dd)}
.chk.rem .bx{border-color:var(--amber);border-style:dashed;background:var(--amber-bg)}
.chk.rem .tx{text-decoration:line-through;color:var(--ink3)}
.chk .tx .by{color:var(--ink3);font-size:11px;font-family:var(--mono);display:block}
/* matrix legend — standard/added/removed swatches */
.mlegend{display:flex;gap:18px;flex-wrap:wrap;font-size:11.5px;color:var(--ink2);align-items:center}
.mlegend i{width:13px;height:13px;border-radius:2px;display:inline-block;vertical-align:-2px;margin-right:5px;border:1.6px solid}
.mlegend .s{background:var(--blue);border-color:var(--blue)}
.mlegend .a{background:var(--ok);border-color:var(--ok)}
.mlegend .r{background:var(--amber-bg);border-color:var(--amber);border-style:dashed}

/* ============================ PANELS ============================ */
/* panel header strip (uppercase title) */
.panel .ph{background:var(--sub);border-bottom:1px solid var(--line);padding:11px 15px;display:flex;justify-content:space-between;align-items:center}
.panel .ph h2{margin:0;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--ink)}
.panel .ph .r{display:flex;gap:12px;align-items:center;font-size:11.5px;color:var(--ink3)}
/* panel legend strip — holder/secondary/none swatches */
.leg{display:flex;gap:14px;flex-wrap:wrap;padding:8px 15px;border-bottom:1px solid var(--sub);font-size:11.5px;color:var(--ink2);background:var(--sub2)}
.leg i{width:11px;height:11px;border-radius:3px;display:inline-block;vertical-align:-1px;margin-right:5px}
.leg .h{background:var(--blue)}
.leg .s{background:#fff;border:1.6px dashed var(--blue)}
.leg .n{background:#fff;border:1.5px dashed var(--ink3)}

/* ============================ BOARD (process chart) ============================ */
/* board wrapper / hard 9-column grid (CCC production-schedule) */
.boardwrap{overflow-x:auto;border-top:1px solid var(--line)}
.board2{display:grid;grid-template-columns:repeat(9,minmax(158px,1fr));border-left:1px solid var(--line);min-width:1000px}
/* board column, column header (+.priority variant), column body */
.board2 .col{border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--sub2);display:flex;flex-direction:column}
.colh{padding:9px 11px;background:var(--sub);border-bottom:1px solid var(--line)}
.col.priority .colh{background:var(--blue-bg);border-bottom:2px solid var(--blue)}
.colh .cn{font-size:12.5px;font-weight:700;line-height:1.22}
.colh .cc{font-size:10px;font-family:var(--mono);color:var(--ink3);margin-top:3px;text-transform:uppercase;letter-spacing:.03em}
.col.priority .colh .cc{color:var(--blue-dd)}
.colb{padding:8px;display:flex;flex-direction:column;gap:6px;flex:1}
/* board tile (task card) */
.bt{display:flex;gap:7px;background:#fff;border:1px solid var(--line);border-radius:3px;padding:7px 8px;align-items:flex-start;cursor:pointer}
.bt:hover{border-color:var(--blue-line2);background:var(--sub)}
.bt:focus-visible,.chk:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.bt .cb{width:14px;height:14px;border-radius:50%;border:1.6px solid var(--line-in);flex:none;margin-top:1px}
.btx{min-width:0;flex:1}
.bt-t{font-size:11.5px;line-height:1.32;color:var(--ink)}
.bt-m{display:flex;align-items:center;gap:6px;margin-top:5px}
.bt-m .own{font-size:9.5px;font-family:var(--mono);color:var(--blue-dd);white-space:nowrap;text-transform:uppercase;letter-spacing:.02em}
.bt-who{margin-left:auto;display:flex;gap:2px}
.bt-empty{font-size:11px;color:var(--ink3);padding:12px 4px;text-align:center;font-style:italic}

/* ====================== CHECKLIST INVENTORY ====================== */
.check-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:11px 12px;background:#fff;border:1px solid var(--line);border-bottom:0}
.check-segment{display:inline-flex;border:1px solid var(--line-in);border-radius:4px;overflow:hidden;background:var(--sub2)}
.check-segment button{border:0;border-right:1px solid var(--line-in);background:transparent;color:var(--ink2);font:inherit;font-size:12.5px;padding:7px 12px;cursor:pointer;letter-spacing:0}
.check-segment button:last-child{border-right:0}
.check-segment button.on{background:var(--blue);color:#fff;font-weight:600}
.check-segment button:focus-visible,.check-title:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.check-toggle{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--ink2);white-space:nowrap}
.check-toggle input{width:15px;height:15px;accent-color:var(--blue)}
.check-toggle.disabled{opacity:.5}
.check-search{margin-left:auto;width:min(290px,100%);height:32px;border:1px solid var(--line-in);border-radius:3px;padding:0 10px;font:inherit;font-size:12.5px;color:var(--ink);background:#fff;letter-spacing:0}
.check-search:focus{outline:2px solid var(--blue);outline-offset:-1px}
.check-phase-nav{display:flex;gap:0;overflow-x:auto;background:#fff;border:1px solid var(--line);border-bottom:0;scrollbar-width:thin}
.check-phase-nav button{display:inline-flex;align-items:center;gap:6px;flex:none;border:0;border-right:1px solid var(--line);background:#fff;padding:8px 10px;color:var(--ink2);font:inherit;font-size:11px;cursor:pointer;letter-spacing:0;white-space:nowrap}
.check-phase-nav button:hover{background:var(--blue-bg);color:var(--blue-dd)}
.check-phase-nav button:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.check-phase-nav button span{font-family:var(--mono);font-size:9px;color:var(--ink3)}
.check-panel{border:1px solid var(--line);background:#fff}
.check-board-wrap{overflow:auto;border-top:1px solid var(--line);max-height:none}
.check-board{display:grid;grid-template-columns:repeat(9,minmax(280px,1fr));min-width:2520px;border-left:1px solid var(--line);align-items:stretch}
.check-board.mode-compare{grid-template-columns:repeat(9,minmax(560px,1fr));min-width:5040px}
.check-phase{border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--sub2);min-width:0}
.check-phase[hidden]{display:none}
.check-phase-head{min-height:58px;padding:9px 11px;background:var(--sub);border-bottom:1px solid var(--line);font-size:12.5px;font-weight:700;line-height:1.25;letter-spacing:0}
.check-phase.priority .check-phase-head{background:var(--blue-bg);border-bottom:2px solid var(--blue)}
.check-phase-head .phnum{font-family:var(--mono);font-size:10.5px;color:var(--ink3);margin-right:7px;letter-spacing:0}
.check-phase-head small{display:block;margin-top:5px;color:var(--ink3);font-size:10px;font-weight:500;letter-spacing:0;text-transform:uppercase}
.check-phase.priority .check-phase-head small{color:var(--blue-dd)}
.check-phase-body{padding:8px;display:flex;flex-direction:column;gap:8px}
.check-lane-head{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:10px;font-weight:700;text-transform:uppercase;color:var(--ink3);letter-spacing:0}
.check-lane-head span{padding:0 4px 3px}
.check-lane-head span:last-child{color:var(--blue-dd)}
.check-compare-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:start}
.check-compare-row[hidden]{display:none}
.check-side{min-width:0}
.check-item{background:#fff;border:1px solid var(--line);border-radius:3px;padding:9px;min-width:0;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.check-side.draft .check-item.has-change,.check-item.is-new{border-left:3px solid var(--blue)}
.check-item.is-new{background:var(--ok-bg3);border-color:var(--ok-line3)}
.check-item-head{display:flex;align-items:flex-start;gap:7px}
.check-title{display:block;flex:1;border:0;background:none;padding:0;color:var(--ink);font:inherit;font-size:12px;font-weight:600;line-height:1.35;text-align:left;cursor:pointer;letter-spacing:0;overflow-wrap:anywhere}
.check-title:hover{color:var(--blue-dd);text-decoration:underline}
.check-badges{display:flex;gap:4px;flex-wrap:wrap;margin-top:7px}
.check-badge{display:inline-flex;align-items:center;min-height:20px;border:1px solid var(--line-in);border-radius:3px;padding:2px 5px;background:var(--sub);color:var(--ink2);font-size:9.5px;line-height:1.2;letter-spacing:0}
.check-badge.required{border-color:var(--amber-line);background:var(--amber-bg2);color:var(--amber-dd)}
.check-badge.optional{background:var(--sub3);color:var(--ink3)}
.check-badge.photo{border-color:var(--blue-line3);background:var(--blue-bg);color:var(--blue-dd)}
.check-badge.new{border-color:var(--ok-line);background:var(--ok-bg2);color:var(--ok-dd2);font-weight:700;text-transform:uppercase}
.check-badge.active{background:var(--ok-bg2);border-color:var(--ok-line);color:var(--ok-dd2)}
.check-badge.draft{background:var(--blue-bg);border-color:var(--blue-line3);color:var(--blue-dd)}
.check-owner-row{display:flex;align-items:center;gap:5px;margin-top:8px;min-height:20px}
.check-owner{font-family:var(--mono);font-size:9.5px;color:var(--blue-dd);text-transform:uppercase;letter-spacing:0}
.check-notes{margin-top:8px;padding-top:7px;border-top:1px solid var(--sub);font-size:10.5px;line-height:1.45;color:var(--ink2);overflow-wrap:anywhere}
.check-notes b{display:block;margin-bottom:3px;color:var(--ink3);font-size:9px;text-transform:uppercase;letter-spacing:0}
.check-notes.changed{border-left:3px solid var(--blue);padding-left:7px}
.check-fields{display:grid;grid-template-columns:1fr;margin:8px 0 0;border-top:1px solid var(--line)}
.check-field{display:grid;grid-template-columns:92px minmax(0,1fr);gap:7px;padding:5px 0;border-bottom:1px solid var(--sub);font-size:9.5px;line-height:1.35;min-width:0}
.check-field.changed{border-left:3px solid var(--blue);padding-left:5px;background:var(--blue-bg2)}
.check-field dt{color:var(--ink3)}
.check-field dd{margin:0;color:var(--ink);overflow-wrap:anywhere}
.check-url{color:var(--blue-dd);word-break:break-all}
.not-set{color:var(--ink3);font-style:italic}
.check-missing,.check-empty{border:1px dashed var(--line-in);border-radius:3px;padding:12px 9px;text-align:center;color:var(--ink3);font-size:10.5px;font-style:italic;background:#fff}
.check-modal-version{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:8px;color:var(--ink3);font-size:11px}
.check-modal-notes{padding:10px 0 12px;border-bottom:1px solid var(--line);font-size:12.5px;line-height:1.5}
.check-modal-notes b{display:block;margin-bottom:4px;font-size:10px;text-transform:uppercase;color:var(--ink3);letter-spacing:0}
.check-modal-grid{display:grid;grid-template-columns:1fr 1fr;margin:0}
.check-modal-field{display:grid;grid-template-columns:120px minmax(0,1fr);gap:8px;padding:8px;border-bottom:1px solid var(--sub);font-size:11.5px;line-height:1.4}
.check-modal-field:nth-child(odd){border-right:1px solid var(--sub)}
.check-modal-field dt{color:var(--ink3)}
.check-modal-field dd{margin:0;overflow-wrap:anywhere}
.check-person-role{font-size:11px;color:var(--ink3);margin-top:2px}
@media(max-width:760px){
  .check-toolbar{align-items:stretch}
  .check-segment{width:100%}
  .check-segment button{flex:1;padding:7px 6px}
  .check-search{margin-left:0;width:100%}
  .check-board{grid-template-columns:repeat(9,minmax(250px,1fr));min-width:2250px}
  .check-board.mode-compare{grid-template-columns:repeat(9,minmax(520px,1fr));min-width:4680px}
  .check-modal-grid{grid-template-columns:1fr}
  .check-modal-field:nth-child(odd){border-right:0}
}
/* initials avatar (+.sec dashed secondary, +.none dashed empty; smaller inside .bt) */
.av{width:22px;height:22px;border-radius:50%;background:var(--blue-bg);color:var(--blue-dd);font-size:9px;font-weight:700;display:grid;place-items:center;border:1px solid var(--blue-line)}
.av.sec{background:#fff;border-style:dashed;color:var(--blue);opacity:.85}
.av.none{background:#fff;border:1.5px dashed var(--ink3);color:var(--ink3)}
.bt .av{width:18px;height:18px;font-size:8px}

/* ============================ GOLD CLASS & ROLE BLOCKS ============================ */
/* gold-class strip: percent + progress bar + role grid + meta + alert */
.gold .body{padding:14px 15px}
.gold .top{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.gold .pct{font-size:26px;font-weight:700;color:var(--ok)}
.gold .bar{height:8px;border-radius:5px;background:var(--comp-track);overflow:hidden;margin:8px 0 12px}
.gold .bar>i{display:block;height:100%;background:linear-gradient(90deg,var(--ok),var(--ok-2))}
.gold .roles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.gold .meta{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:12px;font-size:11.5px;color:var(--ink2)}
.gold .meta b{color:var(--ink);font-weight:600}
.gold .alert{margin-top:10px;background:var(--amber-bg);border:1px solid var(--amber-line2);border-radius:4px;padding:8px 10px;font-size:12px;color:var(--amber-dd2)}
/* role block card — left color-coded accent bar */
.rb{border:1px solid var(--line);border-left:4px solid var(--blue);border-radius:3px;padding:7px 9px;background:var(--sub2)}
.rb .rl{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--ink3);font-weight:600}
.rb .rp{font-size:12.5px;color:var(--ink);margin-top:1px}
.rb.ok{border-left-color:var(--ok)}
.rb.warn{border-left-color:var(--amber)}

/* ============================ ORG TREE ============================ */
/* org tree container */
.org .body{padding:16px 14px 18px}
.otree{display:flex;flex-direction:column;align-items:center}
/* org card (person node; .top blue top-border, .lead band2 top-border) */
.oc{width:100%;max-width:250px;border:1px solid var(--line);background:#fff;border-radius:3px;padding:10px 12px;cursor:pointer;transition:box-shadow .12s,border-color .12s}
.oc:hover{box-shadow:0 4px 14px var(--shadow-blue);border-color:var(--blue-line2)}
.oc.top{border-top:3px solid var(--blue)}
.oc.lead{border-top:3px solid var(--band2)}
.oc .oh{display:flex;gap:10px;align-items:center}
.oc .oa{width:38px;height:38px;border-radius:50%;flex:none;background:var(--blue-bg);color:var(--blue-dd);font-size:13px;font-weight:700;display:grid;place-items:center;border:1px solid var(--blue-line)}
.oc .on{font-size:14px;font-weight:700;color:var(--ink);line-height:1.15}
.oc .ot{font-size:11.5px;color:var(--ink2);line-height:1.2;margin-top:1px}
.oc .om{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}
.oc .oe{margin-top:8px;padding-top:7px;border-top:1px solid var(--sub)}
.oc .oe .l{font-size:9.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--ink3);margin-bottom:4px;font-weight:600}
.oc .oe .pl{display:flex;gap:4px;flex-wrap:wrap}
/* meta chip on org card (+.icar blue, +.warn amber, +.yrs mono) */
.mchip{font-size:10px;padding:2px 6px;border-radius:3px;border:1px solid var(--line);color:var(--ink2);background:var(--sub)}
.mchip.icar{background:var(--blue-bg);border-color:var(--blue-line);color:var(--blue-dd);font-weight:600}
.mchip.warn{background:var(--amber-bg);border-color:var(--amber-line2);color:var(--amber)}
.mchip.yrs{font-family:var(--mono)}
/* process/role chip (+.primary solid, +.prop dashed, +.agent purple, +.custom teal, +.beyond green) */
.pchip{font-size:10.5px;padding:2px 7px;border-radius:4px;background:var(--blue-bg);color:var(--blue-dd);border:1px solid var(--blue-line)}
.pchip.primary{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:600}
.pchip.prop{background:#fff;border-style:dashed;color:var(--blue)}
.pchip.agent{background:var(--agent-bg);border-color:var(--agent-line);color:var(--agent)}
.pchip.custom{background:var(--custom-bg);border-color:var(--custom-line);color:var(--custom)}
.pchip.beyond{background:var(--ok-bg);border-color:var(--ok-line2);color:var(--ok-dd)}
/* org-tree connector lines and branch grid */
.odown{width:2px;height:15px;background:var(--line)}
.obranch{width:100%;display:grid;grid-template-columns:repeat(4,1fr);gap:12px 12px;position:relative;padding-top:15px}
@media(max-width:1080px){.obranch{grid-template-columns:repeat(2,1fr)}}
.obranch::before{content:"";position:absolute;top:0;left:12.5%;right:12.5%;height:2px;background:var(--line)}
.ocw{display:flex;flex-direction:column;align-items:center;position:relative;padding-top:13px}
.ocw::before{content:"";position:absolute;top:0;width:2px;height:13px;background:var(--line)}

/* ============================ ROLE TREE ============================ */
/* role tree grid / department card */
.rtree{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px;align-items:start}
.rdept{border:1px solid var(--line);border-radius:3px;overflow:hidden;background:#fff}
/* department header (blue-bg, apex role row) */
.rdept-h{background:var(--blue-bg);border-bottom:1px solid var(--line);padding:9px 12px}
.rdept-h .dn{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--blue-dd);font-weight:700}
.rdept-h .apex{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:2px;cursor:pointer}
.rdept-h .apex b{font-size:14px;font-weight:700;color:var(--ink)}
.rdept-h .apex:hover b{color:var(--blue-dd)}
.rdept-h .apex .u{font-size:10.5px;font-family:var(--mono);color:var(--ink3);white-space:nowrap}
.rdept-h .does{font-size:10.5px;color:var(--ink3);margin-top:1px}
/* role tree row — L-shaped connector, tier tag, count, AI badge, holder avatars */
.rrow{display:flex;align-items:center;gap:8px;padding:8px 12px 8px 22px;border-bottom:1px solid var(--sub);position:relative;cursor:pointer}
.rrow:last-child{border-bottom:none}
.rrow:hover{background:var(--sub)}
.rrow::before{content:"";position:absolute;left:12px;top:-1px;height:calc(50% + 1px);width:6px;border-left:1.5px solid var(--line-in);border-bottom:1.5px solid var(--line-in)}
.rrow .nm{font-size:12.5px;flex:1;line-height:1.2}
.rrow .tier{font-size:9px;text-transform:uppercase;letter-spacing:.03em;color:var(--ink3);border:1px solid var(--line);border-radius:3px;padding:1px 5px}
/* job-aid/tool link chip on a role row (Parts Playbook, Receiving & QC) */
.rrow .tlink{font-size:10px;padding:1px 6px;border-radius:3px;background:var(--blue-bg);color:var(--blue-dd);border:1px solid var(--blue-line);text-decoration:none;white-space:nowrap;font-weight:600}
.rrow .tlink:hover{background:var(--blue);border-color:var(--blue);color:#fff}
.rrow .cnt{font-size:10.5px;font-family:var(--mono);color:var(--ink3);min-width:22px;text-align:right}
.rrow .ai{font-size:8.5px;font-weight:700;color:var(--agent);background:var(--agent-bg);border:1px solid var(--agent-line);border-radius:3px;padding:1px 4px}
.rrow .held{display:flex;gap:2px}
.rrow .av{width:18px;height:18px;font-size:8px}

/* ============================ TOOLBAR, TABLE & PILLS ============================ */
/* list toolbar / search input box */
.toolbar{display:flex;gap:12px;align-items:center;padding:0 0 14px}
.searchbox{display:flex;align-items:center;border:1px solid var(--line-in);background:#fff;border-radius:3px;padding:0 10px;min-width:280px}
.searchbox input{border:none;outline:none;font:inherit;font-size:13.5px;padding:9px 6px;flex:1}
/* data table (Security Roles pattern) */
table.grid{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line)}
table.grid th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-hdr);font-weight:500;padding:10px 14px;background:var(--sub);border-bottom:1px solid var(--line)}
table.grid td{padding:11px 14px;font-size:14px;border-bottom:1px solid var(--line);color:var(--ink);vertical-align:top}
table.grid tr{cursor:pointer}
table.grid tbody tr:hover{background:var(--sub)}
/* data-table extensions: scroll wrapper, money column, empty state, expandable rows */
.gridwrap{overflow-x:auto}
table.grid th.num,table.grid td.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
table.grid td.empty{color:var(--ink3);font-style:italic;text-align:center;padding:14px;cursor:default}
/* expandable row pair: <tbody class="trow"> holding a summary tr + a hidden detail tr */
table.grid tbody.trow tr.detail{display:none}
table.grid tbody.trow.open tr.detail{display:table-row}
table.grid tbody.trow tr.detail>td{background:var(--sub2);padding:12px;cursor:default}
table.grid tbody.trow.done td{color:var(--ink2)}  /* settled/committed rows read quiet */
/* status pill (+.live green w/ dot, +.prop blue, +.agent purple, +.apex solid blue) */
.pill{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:3px 8px;border-radius:4px}
.pill.live{background:var(--ok-bg);color:var(--ok-dd)}
.pill.live::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--ok)}
.pill.prop{background:var(--blue-bg);color:var(--blue-dd)}
.pill.agent{background:var(--agent-bg);color:var(--agent)}
.pill.apex{background:var(--blue);color:#fff}
/* generic status vocabulary (accounting boards, task lanes) — tokens only */
.pill.ok{background:var(--ok-bg);color:var(--ok)}
.pill.warn{background:var(--amber-bg);color:var(--amber)}
.pill.err{background:var(--red-bg);color:var(--red)}
.pill.quiet{background:var(--sub);color:var(--ink2)}
.pill.draft{background:#fff;border:1px dashed var(--amber);color:var(--amber)}
/* approval stamp — DISPLAY ONLY: it records that a document was approved, and is
   neither a control nor a live state, so it is not a .pill. Solid --blue plaque,
   letters in --line (Grey 200, the canon's #eeeeee). print-color-adjust keeps the
   plaque on paper, where browsers drop backgrounds by default. */
.ai-stamp-approved{display:inline-flex;align-items:center;padding:2px 8px;border-radius:4px;background:var(--blue);color:var(--line);font-family:var(--sans);font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap;print-color-adjust:exact;-webkit-print-color-adjust:exact}

/* ============================ CCC DATA ROWS (status as words) ============================ */
/* CCC-PARITY-SPEC §3/§5/§7 (David-approved): rows separate by hairlines inside one table, the
   status vocabulary is plain coloured words (CCC's "Active" / "Inactive" / "Draft"), secondary
   facts sit on a grey line under a cell's primary text, and actions are text links - no chips,
   no card per row. A summary row (tbody.trow) opens its detail row in place. */
.stat{font-size:14px;color:var(--ink)}
.stat.ok,.stat.live{color:var(--ok)}
.stat.warn{color:var(--amber)}
.stat.err{color:var(--red)}
.stat.prop{color:var(--blue-dd)}
.stat.quiet{color:var(--ink2)}
.stat.draft{color:var(--red);font-style:italic}
.stat+.stat::before{content:"\00b7";margin:0 6px;color:var(--ink3);font-style:normal}
table.grid .csub{display:block;font-size:12px;color:var(--ink2);margin-top:2px;overflow-wrap:anywhere}
table.grid .csub.mono{font-family:var(--mono)}
table.grid td.st{white-space:nowrap}
table.grid tbody.trow>tr:first-child[aria-expanded="true"]>td{background:var(--blue-bg2)}
table.grid tbody.trow>tr[data-row]:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
/* a table nested in a detail row: no outer box, headers on the detail fill */
table.grid.flat{border:0;background:transparent}
table.grid.flat th{background:transparent}
table.grid.flat tr{cursor:default}
table.grid.flat tbody tr:hover{background:transparent}
/* inside a detail row: one status line, then text-link actions, then a plain note */
.rowstat{font-size:14px}
.rowacts{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;margin-top:8px}
.rowacts .link{font-size:14px}
.rownote{font-size:14px;color:var(--ink2);line-height:1.5;margin:8px 0 0}
.rowlist{margin:0;padding-left:18px;font-size:14px;color:var(--ink)}
.rowlist li{margin:4px 0}
.rowlist small{display:block;font-size:12px;color:var(--ink2)}
.band.sm h1{font-size:20px}

/* ============================ ROLE BLOCK (edit employee) ============================ */
/* per-role editable matrix block */
.roleblk{border:1px solid var(--line);border-radius:3px;margin:14px 0;background:#fff}
.roleblk .rbh{display:flex;align-items:center;gap:10px;padding:10px 14px;background:var(--sub);border-bottom:1px solid var(--line);flex-wrap:wrap}
.roleblk .rbh .rn{font-size:14px;font-weight:700}
.roleblk .rbbody{padding:12px 14px}
.roleblk .rbbody .mlegend{padding-bottom:12px;border-bottom:1px solid var(--sub);margin-bottom:12px}

/* ============================ SKILLS ============================ */
/* skill-family grid / family card */
.famgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.famcard{border:1px solid var(--line);border-radius:3px;background:#fff;overflow:hidden}
.famcard .fh{padding:11px 14px;background:var(--sub);border-bottom:1px solid var(--line);font-weight:700;font-size:13.5px;display:flex;justify-content:space-between}
.famcard .fb{padding:10px 14px;display:flex;flex-direction:column;gap:9px}
/* skill family member row (30px avatar) */
.fmember{display:flex;align-items:center;gap:9px}
.fmember .oa{width:30px;height:30px;border-radius:50%;background:var(--blue-bg);color:var(--blue-dd);font-size:11px;font-weight:700;display:grid;place-items:center;border:1px solid var(--blue-line);flex:none}
/* skill badge chips (+.bc mono count) */
.badgewrap{display:flex;flex-wrap:wrap;gap:7px}
.badge{border:1px solid var(--line);border-radius:4px;padding:4px 11px;font-size:11.5px;background:var(--sub);color:var(--ink)}
.badge .bc{color:var(--ink3);font-family:var(--mono);font-size:10px;margin-left:5px}

/* ============================ MODAL & NOTES ============================ */
/* modal overlay / dialog (header .mh, body .mb, sticky footer .mf). width:min() - not a fixed
   width - so on a narrow phone the dialog fits the overlay: the centered grid's auto column
   otherwise sizes to 460px and pushes the dialog and its close control off-screen. */
.modal-ov{position:fixed;inset:0;background:var(--scrim);display:grid;place-items:center;z-index:100;padding:20px}
.modal{background:#fff;border-radius:6px;box-shadow:0 12px 40px rgba(0,0,0,.28);width:min(460px,100%);max-width:100%;max-height:90vh;overflow:auto;overflow-wrap:anywhere}
.modal .mh{padding:14px 18px;border-bottom:1px solid var(--line);font-size:15px;font-weight:700}
.modal .mb{padding:16px 18px}
.modal .mf{padding:12px 18px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;background:#fff}
/* inline advisory note (soft yellow) */
.note{background:var(--amber-bg2);border:1px solid var(--amber-line3);border-radius:4px;padding:9px 12px;font-size:12.5px;color:var(--amber-dd);margin:10px 0}

/* ============================ FOOTER ============================ */
/* page footer */
.foot{max-width:1640px;margin:0 auto;padding:20px 28px 40px;color:var(--ink3);font-size:11.5px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}

/* ============================================================================
   COMPOSITION COMPONENTS (new — from the bold-direction mock, re-dressed in
   pure CCC: Segoe, blue-led, 3-4px radii, whisper shadow, no lift/gradients)
   ============================================================================ */

/* section heading with eyebrow — .psh's bigger sibling; same var(--line2) underline */
.aic-shead{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;border-bottom:2px solid var(--line2);padding-bottom:10px;margin-bottom:16px}
.aic-shead h2{margin:4px 0 3px;font-size:22px;font-weight:400;color:var(--ink);letter-spacing:0;line-height:1.2}
.aic-shead p{margin:0;font-size:12.5px;color:var(--ink2)}
@media(max-width:820px){.aic-shead{flex-direction:column;align-items:flex-start}}
/* eyebrow micro-label — follows .rdept-h .dn (blue-dd, .06em); .quiet = gray */
.aic-eyebrow{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--blue-dd)}
.aic-eyebrow.quiet{color:var(--ink3)}
/* the line a list or panel shows when it has nothing (or is still loading), and the small
   hint under a control. General forms of the family ones (.pr-empty, .bt-empty). */
.aic-empty{padding:18px 14px;color:var(--ink3);font-size:13px}
.aic-hint{margin:6px 0 0;font-size:12px;line-height:1.45;color:var(--ink3)}
.aic-hint:empty{display:none}

/* metric card row — 4-up grid on the CCC breakpoints */
.aic-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
@media(max-width:1080px){.aic-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.aic-metrics{grid-template-columns:1fr}}
/* metric card — hairline + whisper shadow, tile radius, no hover lift */
.aic-metric{background:var(--card);border:1px solid var(--line);border-radius:3px;box-shadow:0 2px 8px rgba(0,0,0,.05);padding:14px 15px}
.aic-metric .num{font-size:var(--comp-metric-num);font-weight:700;line-height:1;color:var(--ink);font-variant-numeric:tabular-nums}
.aic-metric .lbl{margin-top:5px;font-size:10px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--ink3)}
.aic-metric .dsc{margin-top:6px;font-size:11.5px;color:var(--ink2);line-height:1.4}
/* priority variant — blue top border per .oc.top precedent, blue-dd number */
.aic-metric.priority{border-top:3px solid var(--blue);background:var(--blue-bg2)}
.aic-metric.priority .num{color:var(--blue-dd)}
/* icon chip — blue-bg/blue-dd pairing with the var(--blue-line) chip border */
.aic-icchip{width:34px;height:34px;border-radius:3px;background:var(--blue-bg);color:var(--blue-dd);border:1px solid var(--blue-line);display:grid;place-items:center;flex:none}
.aic-metric .aic-icchip{margin-bottom:10px}

/* progress block — label row + track/fill; solid blue fill, no gradient */
.aic-progress{min-width:0}
.aic-progress .lab{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--ink2);margin-bottom:6px}
.aic-progress .lab b{color:var(--ink);font-weight:600}
.aic-progress .track{height:8px;border-radius:5px;background:var(--comp-track);overflow:hidden}
.aic-progress .fill{display:block;height:100%;background:var(--blue);transition:width .15s}
/* slots into the sticky .actionbar left of the buttons */
.actionbar .aic-progress{flex:1;margin-right:auto}

/* board-column mono phase number — inline extension of the live .colh */
.colh .phnum{font-family:var(--mono);font-size:10.5px;color:var(--ink3);letter-spacing:.03em;margin-right:7px}
.col.priority .colh .phnum{color:var(--blue-dd)}

/* ===== Checklist editor (CCC ONE Edit Checklist parity) =====================================
   Phases in a list at left; the selected phase's checklist rows at right. Shared by the
   Process Checklist, By person and the job-aid editor. */
.tabs .sp{flex:1}
/* Editor header title on the approved CCC heading scale (CCC-PARITY-SPEC section 2: headings 20/24px,
   weight 400). The shared .band h1 stays 27px until the site-wide header size is decided. */
.band.cl-band h1{font-size:20px}
.tabs .rt{align-self:center;font-size:12px;color:var(--ink2);display:flex;gap:8px;align-items:center}
.field textarea{font:inherit;font-size:14px;line-height:1.55;color:var(--ink);border:1px solid var(--line-in);border-radius:3px;padding:10px 12px;resize:vertical;min-height:84px;background:var(--card);overflow-wrap:anywhere}
.field textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}
.cl-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px;align-items:start;margin-top:10px}
.cl-layout>*{min-width:0}
/* phase list = .card.dcol + .dh + .drow/.sel; here only geometry and the <button> reset */
.cl-phases .dlist{max-height:none}
.cl-phases :where(button.drow){width:100%;border-width:0 0 1px;background:transparent;color:inherit;font-family:inherit;text-align:left}
.cl-phases .cl-ph-foot{padding:10px 12px;font-size:11.5px;color:var(--ink3)}
.cl-panel{margin-bottom:16px}
.cl-panel>.sect,.cl-role{padding-left:18px;padding-right:18px}
table.grid.cl-table{border:0}
table.grid.cl-table td{vertical-align:middle}
table.grid.cl-table tr{cursor:default}
table.grid.cl-table tr.cl-group th{background:var(--sub2);text-transform:none;letter-spacing:0;font-size:13px;color:var(--ink);font-weight:700}
table.grid.cl-table tr.cl-group th:last-child{text-align:right}
table.grid.cl-table tr.cl-adding td{background:var(--ok-bg)}
table.grid.cl-table tr.cl-removing td{background:var(--amber-bg2)}
.cl-type{color:var(--ink3);display:inline-flex;vertical-align:middle}
.cl-flag{color:var(--amber);font-size:15px}
.cl-title{color:var(--ink)}
.cl-struck{text-decoration:line-through;color:var(--ink3)}
.cl-sub{display:block;font-size:11.5px;color:var(--ink3);margin-top:3px;line-height:1.4}
.cl-none{color:var(--amber-dd);font-size:12.5px}
.cl-people{display:flex;flex-wrap:wrap;gap:4px}
button.pchip{font-family:inherit;cursor:pointer}
button.pchip:hover{border-color:var(--blue)}
button.link{background:none;border:0;padding:0;font-family:inherit;cursor:pointer}
/* .btn on an <a>: the button recipe, without the browser's link underline */
a.btn{display:inline-flex;align-items:center;text-decoration:none}
.btn.cl-add{border-style:dashed}
.cl-empty{padding:18px 14px;color:var(--ink3);font-size:13px}
.cl-status{display:inline-block;font-size:12px;color:var(--ink2);margin-left:6px}
.cl-status.ok{color:var(--ok-dd)}
.cl-status.err{color:var(--red)}
.cl-err{color:var(--red);font-size:12.5px;margin-top:6px}
.cl-drafts{display:flex;flex-direction:column;gap:6px;margin:10px 0}
.cl-draft{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0}
.cl-draft .cl-draft-act{margin-left:auto;display:flex;gap:14px}
.cl-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.cl-templates{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 4px}
.cl-templates .pchip{font-size:12.5px;padding:6px 12px}
.cl-items-head{margin:18px 0 8px;flex-wrap:wrap}
.cl-cb{position:absolute;opacity:0;width:16px;height:16px;margin:0}
.chk:focus-within .bx{outline:2px solid var(--blue);outline-offset:2px}
.cl-bar{align-items:center;flex-wrap:wrap}
.cl-bar .cl-bar-text{margin-right:auto;font-size:12.5px;line-height:1.5;max-width:60%}
.cl-changes .cl-change-list{max-height:240px;overflow-y:auto;padding:8px 14px;font-size:12.5px;line-height:1.7}
.cl-bar .cl-bar-note{max-width:260px;margin:0}
.cl-pills{display:flex;gap:8px;margin:14px 0 10px}
.cl-aid>.card{padding:0 18px 16px}
.cl-where{padding:10px 0;border-bottom:1px solid var(--sub);display:flex;flex-direction:column;gap:4px}
.cl-context{border-left:3px solid var(--line);padding-left:10px;margin:8px 0}
.cl-p{margin:0 0 8px}
/* By person role builder: library (left) and the person's role (right). Appearance comes
   from .card.panel, .roleblk, .dgrp, .chk, .pchip, .av, .mlegend and .link; these rules
   add the builder's geometry, the drag grip and the drop-target feedback. */
.cl-builder{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:20px;align-items:start}
.cl-builder>*{min-width:0}
.cl-pad{padding-left:14px;padding-right:14px}
.cl-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px;padding:0 14px 12px}
.cl-tile{display:flex;align-items:flex-start;gap:8px;padding:9px 10px;border:1px solid var(--line);border-radius:3px;background:var(--card);cursor:grab}
.cl-tile.on{border-color:var(--blue-line);background:var(--blue-bg2)}
.cl-tile-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;overflow-wrap:anywhere}
.cl-tile-act{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:none}
.cl-state{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--ink2);white-space:nowrap}
.cl-grip{color:var(--ink3);font-size:14px;line-height:1.2;cursor:grab;user-select:none;width:10px;flex:none}
.cl-lib-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:6px;padding-bottom:8px}
.cl-lib-head .check-search{max-width:260px}
.cl-lib-list{max-height:62vh;overflow-y:auto;border-top:1px solid var(--line)}
.cl-lib-item{display:flex;align-items:center;gap:8px;padding:7px 14px;border-bottom:1px solid var(--line);cursor:grab;background:var(--card)}
.cl-lib-item.on .cl-lib-tx{color:var(--blue-dd)}
.cl-lib-tx{flex:1;min-width:0;overflow-wrap:anywhere}
/* .cl-lib-item sets display:flex, which would override the hidden attribute the search uses */
.cl-lib-item[hidden],.cl-lib-phase[hidden],.cl-lib-list [hidden]{display:none}
.cl-avs{display:flex;gap:2px;flex:none}
.cl-person-panel{margin:0}
.cl-person-panel .rbh .cl-emp{margin-left:auto;min-width:200px;padding-top:0}
.cl-name{max-width:420px;margin-bottom:10px}
.cl-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:10px}
.cl-chips .pchip{display:inline-flex;align-items:center;gap:4px}
.link.cl-x{font-size:12px}
.cl-role-phase{margin-bottom:10px}
.cl-role-ph{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:8px 0 4px;border-bottom:1px solid var(--line)}
.cl-role-item{display:flex;align-items:flex-start;gap:6px;padding:6px 0;border-bottom:1px solid var(--line);flex-wrap:wrap;background:var(--card)}
.cl-role-item[draggable="true"]{cursor:grab}
.cl-role-item .chk{flex:1 1 260px;min-width:0}
.cl-role-act{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:flex-end;margin-left:auto}
.cl-announce{min-height:18px;font-size:12.5px;color:var(--ok-dd);margin:0 0 8px}
/* The drop hint floats over its zone: it never takes layout space or the pointer, so nothing
   under the pointer moves between dragover and drop. */
[data-ce-zone]{position:relative}
.cl-zone-hint{position:absolute;top:44px;left:14px;right:14px;z-index:5;pointer-events:none;padding:8px 10px;border:1px dashed var(--blue);border-radius:4px;background:var(--blue-bg2);color:var(--blue-dd);font-size:12.5px;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.cl-drop-ready{outline:2px dashed var(--blue-line);outline-offset:2px}
.cl-drop-ok{outline:2px dashed var(--blue);outline-offset:2px}
.cl-drop-ok .cl-zone-hint{border-color:var(--blue)}
.cl-drop-no{outline:2px dashed var(--amber);outline-offset:2px}
.cl-drop-no .cl-zone-hint{border-color:var(--amber);background:var(--amber-bg2);color:var(--amber-dd)}
.cl-dragging{opacity:.55}
/* Tablet: the phase list becomes a scrollable row above the checklist. */
@media(max-width:1100px){
  .cl-builder{grid-template-columns:minmax(0,1fr)}
  .cl-layout{grid-template-columns:1fr;gap:10px}
  .cl-phases{min-height:0}
  .cl-phases .dh,.cl-phases .cl-ph-foot{display:none}
  .cl-phases .dlist{display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .cl-phases :where(button.drow){width:auto;flex:none;white-space:nowrap;border-width:0 1px 0 0}
}
/* Narrow tablet and phone: each checklist row stacks its labeled cells. */
@media(max-width:900px){
  .cl-role-grid{grid-template-columns:1fr;gap:4px}
  .cl-person-panel .rbh .cl-emp{margin-left:0;min-width:0;width:100%}
  .cl-lib-list{max-height:52vh}
  table.grid.cl-table thead{display:none}
  table.grid.cl-table,table.grid.cl-table tbody,table.grid.cl-table tr,table.grid.cl-table td,table.grid.cl-table th{display:block;width:auto}
  table.grid.cl-table tr{border-bottom:1px solid var(--line);padding:6px 0}
  table.grid.cl-table td{border:0;padding:5px 14px}
  table.grid.cl-table td[data-label]::before{content:attr(data-label);display:block;font-size:10.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--ink3);margin-bottom:2px}
  table.grid.cl-table tr.cl-group th{display:flex;justify-content:space-between;gap:8px}
  table.grid.cl-table tbody tr:not(.cl-group){display:flex;flex-wrap:wrap}
  table.grid.cl-table tbody tr:not(.cl-group)>td{flex:1 1 100%;order:2}
  table.grid.cl-table tbody tr:not(.cl-group)>td.cl-main{order:0}
  table.grid.cl-table tbody tr:not(.cl-group)>td.cl-meta{flex:0 0 auto;order:1;padding-right:22px}
  .cl-bar{padding:8px 14px;gap:8px}
  .cl-bar .cl-bar-text{max-width:none;width:100%}
  .cl-bar .cl-bar-note{display:none}
  .cl-bar .btn{flex:1}
  .cl-draft .cl-draft-act{margin-left:0}
}

/* ---- Team phone (390): Claude Design "Team phone · 390" (02 Sam, 2026-10-10) -----------------
   The process app's phone screens - job aid, employee overview and role builder - built from the
   components above; these rules carry only the layout the Design adds. The page renders its phone
   markup and puts .aic-phone on <body> at or below 760px (never while printing), so no other page
   and no desktop layout is affected. A person's guide - their checklist items and the aids opened
   from them - is the phone page at every window width (.aic-phone-frame, David 2026-10-13), so these
   rules follow the phone markup, not the window: every one is keyed to .aic-phone or to a tp- class
   that only phone markup carries. */
.tp-fr-ico{display:none}
.tp-grip{flex:none;width:10px;height:16px;margin-top:3px;background-image:radial-gradient(circle at 2px 2px,var(--ink3) 1px,transparent 1.4px);background-size:5px 5px;cursor:grab}
@media(pointer:coarse){.tp-grip{display:none}}
.tp-acc>summary{list-style:none;cursor:pointer}
.tp-acc>summary::-webkit-details-marker{display:none}
.tp-chev{flex:none;transition:transform .12s}
.tp-acc[open]>summary .tp-chev{transform:rotate(90deg)}
@media screen{
  /* a wider window shows the guide as one centered phone column (at most 430px, the whole width of a
     narrower phone); the menu and Request a feature stay in its app bar */
  body.aic-phone-frame{max-width:430px;min-height:100vh;margin:0 auto;position:relative;background:var(--line-in);box-shadow:0 0 0 1px var(--line-in)}
  body.aic-phone-frame .aic-nav-burger{top:11px;left:max(10px,calc(50% - 205px))}
  body.aic-phone-frame .aic-fr-fab{position:fixed;top:6px;right:max(6px,calc(50% - 209px))}
  /* header: back, short title, menu left and Request a feature right - outside the reading area */
  body.aic-phone .band{padding:12px 64px 14px}
  body.aic-phone .band .crumb{margin-bottom:4px}
  body.aic-phone .band .ttl{gap:10px}
  body.aic-phone .band .back{width:32px;height:32px}
  body.aic-phone .band h1{font-size:20px}
  body.aic-phone .band .sub{margin-top:4px}
  body.aic-phone .aic-fr-fab{display:inline-flex;position:absolute;top:10px;right:10px;bottom:auto;width:44px;height:44px;padding:0;gap:0;border-radius:4px;background:rgba(255,255,255,.16);box-shadow:none;font-size:0;justify-content:center;z-index:30}
  body.aic-phone .aic-fr-fab .tp-fr-ico{display:block;width:20px;height:20px}
  /* Request a feature as one more control in a page's own blue app bar (the calculator's top bar): in flow, never
     fixed over the form, in that bar's button look, label on one line. A page adds .aic-fr-inbar when it moves the
     control into the bar; without it the control keeps its fixed place. */
  .aic-fr-fab.aic-fr-inbar{position:static;display:inline-flex;align-items:center;gap:5px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);color:#fff;border-radius:2px;padding:3px 8px;font:inherit;font-weight:600;box-shadow:none;text-decoration:none;white-space:nowrap}
  .aic-fr-fab.aic-fr-inbar:hover{background:rgba(255,255,255,.26)}
  .note.tp-strip{margin:0;border-radius:0;border-width:0 0 1px;padding:8px 16px;font-size:12.5px;line-height:1.45}
  .note.tp-strip .link{font-size:12.5px}
  .tp-main{padding:12px 12px 28px;display:flex;flex-direction:column;gap:12px}
  .tp-main>.cl-drafts{margin:0}

  /* job aid: one full title in the card; duty and first step right away */
  body.aic-phone .aid-focused{margin:0;border-top:3px solid var(--blue);padding:16px;display:flex;flex-direction:column;gap:16px;max-width:none}
  body.aic-phone .aid-focused .aid-eyebrow{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;color:var(--ink2)}
  body.aic-phone .aid-focused .aid-eyebrow .pill{margin-left:auto;font-size:12px;color:var(--amber-dd)}
  body.aic-phone .aid-focused h2{margin:0;font-size:20px;font-weight:600;line-height:1.3;color:var(--ink);text-wrap:balance}
  body.aic-phone .aid-focused .aid-ccc-title{margin:-10px 0 0}
  body.aic-phone .aid-focused .pm-d-notes{margin:0;font-size:16px;line-height:1.55;color:var(--ink)}
  body.aic-phone .aid-focused .pm-d-notes>b{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-hdr);margin-bottom:6px}
  body.aic-phone .aid-focused .item-steps{list-style:none;padding:0;margin:4px 0 0;counter-reset:tp-step;display:flex;flex-direction:column;gap:12px}
  body.aic-phone .aid-focused .item-steps li{counter-increment:tp-step;display:flex;align-items:flex-start;gap:12px;margin:0;padding:0}
  body.aic-phone .aid-focused .item-steps li::before{content:counter(tp-step);flex:none;width:26px;height:26px;border-radius:50%;background:var(--blue-bg);border:1px solid var(--blue-line);color:var(--blue-dd);font-size:13px;font-weight:700;display:grid;place-items:center}
  body.aic-phone .aid-focused .item-complete{padding:10px 14px 12px;background:var(--blue-bg2);border:1px solid var(--blue-line);border-radius:3px}
  body.aic-phone .aid-focused .item-complete>b{color:var(--blue-dd)}
  body.aic-phone .aid-focused .item-notes{font-size:15px;line-height:1.5}
  body.aic-phone .aid-focused .item-notes .item-p{display:list-item;margin:0 0 8px 20px}
  body.aic-phone .aid-focused .item-draft-note{font-size:13.5px;line-height:1.5}
  body.aic-phone .aid-focused .item-review,body.aic-phone .aid-focused .ccc-item-settings{margin:0;padding:0;border-top:0;border-bottom:1px solid var(--line)}
  body.aic-phone .aid-focused .item-review{border-top:1px solid var(--line)}
  body.aic-phone .aid-focused .item-review>summary,body.aic-phone .aid-focused .ccc-item-settings>summary{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;font-weight:600;color:var(--blue-dd)}
  body.aic-phone .aid-focused .item-review>:not(summary),body.aic-phone .aid-focused .ccc-item-settings>:not(summary){font-size:13.5px;line-height:1.45;margin-bottom:12px}
  body.aic-phone .aid-focused .aid-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px 20px;margin:0}
  body.aic-phone .aid-focused .aid-actions .link{display:inline-flex;align-items:center;min-height:40px;font-size:14px}
  body.aic-phone .aid-focused .aid-sep{display:none}

  /* employee overview */
  .tp-list{padding:0;overflow:hidden}
  .tp-sect{margin:0;padding:0 4px;color:var(--ink-hdr)}
  .searchbox.tp-search{min-width:0}
  .searchbox.tp-search input{min-width:0;font-size:15px;padding:10px 6px}
  .tp-search .link{flex:none;min-height:40px;font-size:14px}
  body.aic-phone .aid-focused .aid-eyebrow .pill{margin-left:0}
  table.grid.cl-table.tp-table tr.cl-group th .mono{font-weight:400;color:var(--ink2);margin-right:8px}
  table.grid.cl-table.tp-table tr.cl-group th .tp-count{font-weight:400;font-size:12.5px;color:var(--ink2)}
  table.grid.cl-table.tp-table td.cl-main{padding-top:10px}
  .tp-table .cl-sub{font-size:13.5px;line-height:1.45;color:var(--ink2)}

  /* role builder: the person stays pinned with the draft counts; two views below */
  .tp-person-bar{position:sticky;top:0;z-index:25;background:var(--card);border-bottom:1px solid var(--line);box-shadow:0 2px 6px rgba(0,0,0,.06);padding:10px 12px 12px;display:flex;flex-direction:column;gap:10px}
  .tp-person-bar.cl-drop-ready{outline:2px dashed var(--blue-line3);outline-offset:-4px}
  .tp-person-bar.cl-drop-ok{outline:2px dashed var(--blue);outline-offset:-4px;background:var(--blue-bg2)}
  .tp-person-bar.cl-drop-no{outline:2px dashed var(--amber);outline-offset:-4px}
  /* hidden means hidden: search filtering, empty notes and the drag hint (until a drag) */
  .tp-person-bar [hidden],.tp-body [hidden],.tp-main [hidden]{display:none !important}
  .tp-person-bar .cl-zone-hint{top:auto;bottom:12px;left:12px;right:12px;min-height:42px;box-sizing:border-box;padding:4px 10px;display:flex;align-items:center;line-height:1.35}
  .tp-who{display:flex;align-items:center;gap:10px}
  .tp-who .av{flex:none;width:38px;height:38px;font-size:12.5px}
  .tp-who .field{padding-top:0;gap:0;min-width:0;flex:1}
  .tp-who .field label{font-size:11.5px}
  .tp-who .field select{font-size:16px;font-weight:700;padding:3px 2px 4px;min-height:32px;min-width:0}
  .tp-state{margin-top:4px;font-size:13px;line-height:1.35;color:var(--ink2)}
  .tp-state.dirty{color:var(--amber-dd)}
  .check-segment.tp-seg button{min-height:40px;font-size:14px}
  .tp-body{flex:1;padding:12px 12px 16px;display:flex;flex-direction:column;gap:12px}
  .tp-body>.cl-drafts{margin:0}
  .card.cl-changes .tp-sect{padding:10px 14px 0}
  .card.cl-changes .cl-change-list{font-size:13.5px;line-height:1.6}
  .tp-added{color:var(--ok-dd)}
  .tp-removed{color:var(--amber-dd)}
  .tp-faint{color:var(--ink2)}
  .tp-role-card{padding:4px 16px 14px;display:flex;flex-direction:column;gap:10px}
  .tp-role-card .field input{font-size:15px;min-height:40px}
  .tp-role-card .tp-label{font-size:12.5px;color:var(--ink2)}
  .tp-role-card .cl-templates{margin:0}
  .tp-role-card .cl-templates .pchip{min-height:36px;display:inline-flex;align-items:center;gap:6px}
  .tp-role-card .cl-templates .pchip .link{font-size:14px;min-height:28px;display:inline-flex;align-items:center}
  .tp-items .mlegend{padding:10px 14px;gap:4px 14px;font-size:12px;border-bottom:1px solid var(--line)}
  .tp-items .chk{padding:0;gap:12px;align-items:flex-start;font-size:15px;line-height:1.4}
  .tp-items .chk .bx{width:22px;height:22px;margin-top:0}
  .tp-items .chk .tx .by{font-size:12px;color:var(--ink2);margin-top:2px}
  table.grid.cl-table.tp-table td.tp-acts{padding-left:48px;padding-right:12px;padding-bottom:8px;display:flex;flex-wrap:wrap;column-gap:18px;align-items:center}
  table.grid.cl-table.tp-table td.tp-acts .link{min-height:36px;font-size:14px;display:inline-flex;align-items:center}
  table.grid.cl-table.tp-table td.tp-acts .tp-addback{font-weight:600}
  .tp-tpl{display:flex;align-items:flex-start;gap:10px;padding:10px 14px;border-top:1px solid var(--line)}
  .tp-tpl-tx{min-width:0;flex:1}
  .tp-tpl-name{font-size:15px;line-height:1.35}
  .tp-meta{margin-top:3px;font-size:12px;line-height:1.45;color:var(--ink2)}
  .tp-status{margin-top:3px;font-size:12.5px;color:var(--ink2)}
  .tp-status.tp-added{color:var(--ok-dd)}
  .tp-status.tp-removed{color:var(--amber-dd)}
  .tp-tpl .btn,.tp-cat .btn{flex:none;height:36px;min-width:84px}
  .tp-cat>summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 14px;background:var(--sub2);border-top:1px solid var(--line)}
  .tp-cat>summary .mono{font-size:12px;color:var(--ink2)}
  .tp-cat-name{flex:1;min-width:0;font-size:14.5px;font-weight:700}
  .tp-cat-count{font-size:12.5px;color:var(--ink2);white-space:nowrap}
  .tp-cat-row{display:flex;align-items:flex-start;gap:10px}
  .tp-cat-tx{min-width:0;flex:1}
  .tp-cat-title{display:block;font-size:15px;line-height:1.4}
  table.grid.cl-table.tp-table td.tp-cat-acts{padding-left:34px;padding-bottom:10px;display:flex;align-items:center;gap:18px}
  .tp-dragging{opacity:.45}
  body.aic-phone .cl-announce{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}

/* ---- Team phone guide: Claude Design "Steve Guide Phone", CCC ONE iOS revision (02 Sam, 2026-10-14) ----
   A person's guide - their checklist items and every aid opened from them - after the CCC ONE iPhone
   Checklist tab: a solid blue app bar, a white strip with the role and search, each phase a white
   card that opens to its checklist items (blue chevron, gray uppercase label, gray count), quiet gray
   section labels and step numbers in the aid, and the status in a gray footer instead of an amber
   notice. The guide's markup carries .aic-m, so these rules apply at every window width; the page
   shows it in the centered phone column above (.aic-phone-frame). Built only from tokens.css values
   (plus the #fff and rgba shadows .band and .card already use). Recipe proposed in the native project
   (aic-mobile-checklist.css); its literal 8px card radius and 20px step-number column are kept. */
.aic-m{min-height:100vh;background:var(--page);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.45;display:flex;flex-direction:column}
.aic-m [hidden]{display:none !important}
.aic-m .sect{margin:0}
/* app bar: solid blue, 48px icon buttons, title 20/400; room for the site menu (left) and Request a feature (right) */
.aic-m-bar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:4px;min-height:56px;padding:4px;background:var(--blue);color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.14)}
body.aic-has-nav .aic-m-bar{padding-left:52px}
body.aic-phone .aic-m-bar{padding-right:54px}
.aic-m-bar h1{flex:1;min-width:0;margin:0 0 0 4px;font-size:20px;font-weight:400;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aic-m-ico{flex:none;width:48px;height:48px;display:grid;place-items:center;border:0;background:none;color:inherit;border-radius:50%;cursor:pointer;padding:0;text-decoration:none}
.aic-m-ico:hover{background:rgba(255,255,255,.16)}
.aic-m-ico:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.aic-m-ico svg{width:24px;height:24px}
/* white strip under the bar: the role and search */
.aic-m-strip{background:var(--card);padding:10px 16px 12px;box-shadow:0 2px 4px rgba(0,0,0,.08);display:flex;flex-direction:column;gap:8px}
.aic-m-strip .aic-m-role{font-size:13px;color:var(--ink2)}
.aic-m .searchbox{min-width:0;min-height:44px;padding:0 4px 0 10px;color:var(--ink3)}
.aic-m .searchbox input{font-size:16px;color:var(--ink);min-width:0}
.aic-m .searchbox input::-webkit-search-cancel-button{display:none}
.aic-m-clear{flex:none;width:40px;height:40px;display:grid;place-items:center;border:0;background:none;color:var(--ink2);cursor:pointer;padding:0}
.aic-m-body{flex:1;padding:12px;display:flex;flex-direction:column;gap:10px}
/* a phase card: chevron, label, count; it opens to its checklist items */
.aic-m-card{background:var(--card);border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,.14);overflow:hidden}
.aic-m-phase{display:flex;align-items:center;gap:14px;width:100%;min-height:56px;padding:0 20px 0 14px;border:0;background:none;font:inherit;text-align:left;cursor:pointer;color:var(--ink-hdr)}
.aic-m-phase .aic-m-chev{flex:none;width:22px;height:22px;color:var(--blue);transition:transform .15s}
.aic-m-phase[aria-expanded="true"] .aic-m-chev{transform:rotate(90deg)}
.aic-m-phase .aic-m-lbl{flex:1;min-width:0;font-size:15px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.aic-m-phase .aic-m-n{flex:none;font-size:18px;font-weight:400;color:var(--ink3);font-variant-numeric:tabular-nums}
/* a checklist item row (in an open phase, in search results, or Previous / Next) */
.aic-m-row{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:12px 16px 12px 50px;border:0;border-top:1px solid var(--line);background:none;font:inherit;font-size:15px;line-height:1.4;color:var(--ink);text-align:left;cursor:pointer;text-decoration:none}
.aic-m-row:hover,.aic-m-phase:hover{background:var(--sub2)}
.aic-m-row:focus-visible,.aic-m-phase:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.aic-m-row .aic-m-t{flex:1;min-width:0}
.aic-m-row .aic-m-k{display:block;font-size:11.5px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--ink3);margin-bottom:2px}
.aic-m-row .aic-m-go{flex:none;width:18px;height:18px;color:var(--ink3)}
.aic-m-row-off{cursor:default}
.aic-m-row-off:hover{background:none}
.aic-m-miss{display:block;margin-top:2px;font-size:13px;font-weight:400;color:var(--ink2)}
.aic-m-flat .aic-m-row{padding-left:16px}
.aic-m-flat>.aic-m-row:first-child,.aic-m-flat>.aic-m-first>.aic-m-row{border-top:0}
/* a plain text card (the role, empty states) */
.aic-m-text{padding:14px 16px;font-size:14px;line-height:1.5;color:var(--ink2)}
.aic-m-text .sect{padding:0 0 4px;color:var(--ink-hdr)}
.aic-m-text p{margin:0}
/* the job aid: kicker, title, then Duty / Procedure / Complete when / Notes */
.aic-m-aid{padding:18px 16px 20px}
.aic-m-aid>.aic-m-k{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink3)}
.aic-m-aid h2{margin:4px 0 0;font-size:20px;font-weight:600;line-height:1.3;color:var(--ink);text-wrap:balance}
.aic-m-sec{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.aic-m-sec .sect{padding:0 0 6px;color:var(--ink-hdr)}
.aic-m-sec>*+*:not(.sect){margin-top:10px}
.aic-m-sec>.sect+*{margin-top:0}
.aic-m-sec p{margin:0;font-size:16px;line-height:1.55;text-wrap:pretty}
.aic-m-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.aic-m-steps li{display:grid;grid-template-columns:20px minmax(0,1fr);column-gap:10px;font-size:16px;line-height:1.55}
.aic-m-steps .aic-m-num{color:var(--ink3);text-align:right;font-variant-numeric:tabular-nums}
.aic-m-bul{margin:0;padding:0 0 0 20px;display:flex;flex-direction:column;gap:8px;font-size:16px;line-height:1.55}
.aic-m .aic-m-none{color:var(--ink3)}
/* the quiet footer: the status and version, and on a review page what the review is */
.aic-m-foot{padding:14px 16px 28px;text-align:center;font-size:12.5px;line-height:1.5;color:var(--ink3)}
.aic-m-foot-review{margin-top:4px}
.aic-m-foot-review b{font-weight:600}
.aic-m-foot .link{font-size:inherit}

/* ---- Listen: a job aid read aloud, and its reading copy (David, 2026-10-16) -------------------
   Genuine Claude Design recipe (project 3901c7d7, "aic-listen-reading.css", exported to
   SHARED/Team-review/2026-10-16/steve-ccc-mobile/audio/native-design): the Approvals player's controls
   in the App theme - a .btn.ghost Listen action, 44-52px controls, a keyboard-operable range seek, the
   .check-segment speed control - plus .aic-m-paras for connected procedure paragraphs and .aic-fig for an
   occasional line illustration (screen and print). The design-only audio-file test and duplicate
   "What will be read aloud" panel are not part of the employee page, so their rules are not merged. */
.aic-listen-open{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;height:44px;margin-top:14px;padding:0 18px 0 14px;border-radius:22px}
.aic-listen-open svg{width:20px;height:20px;flex:none}
.aic-listen-open:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.aic-listen{margin-top:14px;padding:10px 10px 12px;background:var(--sub);border:1px solid var(--line);border-radius:8px;display:flex;flex-direction:column;gap:6px}
.aic-listen-row{display:flex;align-items:center;gap:4px}
.aic-listen-ctl{flex:none;width:44px;height:44px;border:0;border-radius:50%;background:none;color:var(--ink-hdr);display:grid;place-items:center;cursor:pointer;padding:0;font:inherit}
.aic-listen-ctl svg{width:24px;height:24px}
.aic-listen-ctl:hover:not(:disabled){background:var(--line-in)}
.aic-listen-ctl:disabled{color:var(--dis);cursor:default}
.aic-listen-play{width:52px;height:52px;background:var(--blue);color:#fff}
.aic-listen-play svg{width:26px;height:26px}
.aic-listen-play:hover:not(:disabled){background:var(--blue-d)}
.aic-listen-play:disabled{background:var(--dis);color:#fff}
.aic-listen-ctl:focus-visible,.aic-listen-rail:focus-visible,.aic-listen .check-segment button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.aic-listen-time{flex:1;min-width:0;text-align:right;font-size:13px;color:var(--ink2);font-variant-numeric:tabular-nums;white-space:nowrap;padding-right:2px}
.aic-listen-rail{display:block;width:100%;height:32px;margin:0;accent-color:var(--blue);cursor:pointer}
.aic-listen-rail:disabled{cursor:default;accent-color:var(--dis)}
.aic-listen-speed{display:flex;align-items:center;gap:10px}
.aic-listen-speed .lbl{flex:none;font-size:12.5px;color:var(--ink2)}
.aic-listen .check-segment{flex:1;display:flex;background:var(--card)}
.aic-listen .check-segment button{flex:1;min-height:40px;font-size:13.5px;font-variant-numeric:tabular-nums}
.aic-listen-status{margin:4px 0 0;font-size:13px;line-height:1.45;color:var(--ink2)}
/* readable procedure: short connected paragraphs (the same text the player reads) */
.aic-m-paras{display:flex;flex-direction:column;gap:12px}
.aic-m-paras p{margin:0;font-size:16px;line-height:1.6;text-wrap:pretty}
/* occasional line-art illustration with meaningful caption (screen + print) */
.aic-fig{margin:2px 0;padding:12px;background:var(--sub2);border:1px solid var(--line);border-radius:8px;display:flex;flex-direction:column;gap:8px;break-inside:avoid}
.aic-fig img{display:block;width:100%;height:auto}
.aic-fig figcaption{font-size:13px;line-height:1.45;color:var(--ink2)}
#aic-print .aic-fig{max-width:5.4in;margin:6px 0 2px;-webkit-print-color-adjust:exact;print-color-adjust:exact}
#aic-print .aic-fig figcaption{font-size:12.5px}
/* Print fit, Builder 2026-10-17 (the one change to the native recipe): a figure marked compact - the
   post-nib diagram, taller than the wide-format art - prints at 3.8in instead of 5.4in, near its drawn
   size (labels about 10.5-12px), so its short aid fits one Letter page. Screen and the other figure unchanged. */
#aic-print .aic-fig.aic-fig-compact{max-width:3.8in}
#aic-print .aic-m-paras p{font-size:15.5px;line-height:1.55}
@media print{.aic-listen,.aic-listen-open{display:none!important}}
.aic-listen[hidden],.aic-listen-open[hidden]{display:none}   /* closed / open, as .aic-m [hidden] does in the phone guide */
/* ---- Job aid print (Claude Design "Steve's job aid", native print export, 02 Sam, 2026-10-10) ----
   The printed job aid - a person's full aid (cover + every saved checklist item) or one focused
   aid - generated into #aic-print from the saved model when printing starts. Letter pages; the
   browser paginates: every duty starts a page, its band repeats on each page it continues onto
   (thead), steps and the completion block never split, and the footer and "Page n of N" sit in
   the page margin (written per print by the page, so its text is the current person). On screen
   it shows only in the iPhone app's print view (?print=1). */
#aic-print{display:none}
body.aic-print-preview #app,body.aic-print-preview .aic-fr-fab{display:none !important}
body.aic-print-preview #aic-print{display:block;max-width:816px;margin:0 auto;background:var(--card)}
#aic-print{font-family:var(--sans);font-size:14px;color:var(--ink);background:var(--card);print-color-adjust:exact;-webkit-print-color-adjust:exact}
#aic-print .band.jp-band{padding:40px 72px 20px}
#aic-print .band.jp-band h1 a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:rgba(255,255,255,.55);text-underline-offset:4px}
.jp-sheet{width:100%;border-collapse:collapse}
.jp-sheet>thead>tr>td,.jp-sheet>tbody>tr>td{padding:0}
.jp-col{padding:20px 50px 24px}
/* An aid's space below its card is a margin, which the browser drops at a page break; as padding
   it would spill onto a page of its own when the aid's last line ends at the foot of a page. */
.jp-duty .jp-col{padding-bottom:0}
.jp-duty .jp-card{margin-bottom:24px}
.jp-cover .jp-col{padding:24px 50px 0;display:flex;flex-direction:column;gap:20px}
.jp-role-note{margin:0;font-size:16px;line-height:1.55;color:var(--ink);text-wrap:pretty;padding:14px 22px 16px}
table.grid.jp-contents{border:0}
table.grid.jp-contents td.jp-phase{font-weight:600;white-space:nowrap;border-right:1px solid var(--line);vertical-align:top}
table.grid.jp-contents td a{color:var(--ink);text-decoration:none}
table.grid.jp-contents td a.link{color:var(--blue-dd);font-size:14px;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.jp-card{border-top:3px solid var(--blue);padding:18px 22px 22px;display:flex;flex-direction:column;gap:18px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.jp-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px}
.jp-head .jp-sp{flex:1}
.jp-tag{margin:0;display:inline-flex;align-items:center;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:2px 7px;border-radius:3px;border:1px solid var(--blue-line3);background:var(--blue-bg);color:var(--blue-dd)}
.jp-status{font-size:12px;color:var(--ink2);white-space:nowrap}
.jp-sec{display:flex;flex-direction:column;gap:6px}
.jp-sec>.sect,.jp-complete>.sect{margin:0;padding:0;color:var(--ink-hdr);break-after:avoid}
.jp-p{margin:0;font-size:16px;line-height:1.55;color:var(--ink);text-wrap:pretty}
.jp-steps{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.jp-steps li{display:flex;align-items:flex-start;gap:12px;break-inside:avoid}
.jp-n{flex:none;width:24px;height:24px;margin-top:.4px;border-radius:50%;background:var(--blue-bg);border:1px solid var(--blue-line);color:var(--blue-dd);font-size:12px;font-weight:700;display:grid;place-items:center}
.jp-steps li .jp-p{flex:1;min-width:0}
.jp-complete{padding:10px 14px 12px;background:var(--blue-bg2);border:1px solid var(--blue-line);border-radius:3px;display:flex;flex-direction:column;gap:4px;break-inside:avoid}
.jp-complete>.sect{color:var(--blue-dd)}
.jp-notes{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:15px;line-height:1.5;color:var(--ink);text-wrap:pretty}
.jp-notes li{break-inside:avoid}
.jp-notes-sec,#aic-print .item-limits{break-inside:avoid}   /* a short notes list or a limits table moves whole; a longer one still breaks between items */
.jp-missing{color:var(--ink3);font-style:italic}
/* An aid's ending moves as one block: its last two steps, Complete when and Notes. A page an aid runs
   onto then carries real procedure, never a lone Notes or completion box. (Avoid-break hints between
   the card's sections are not honored inside the printed sheet's table cell; a whole block is.) The
   two steps continue the procedure list at its 10px step spacing: the 18px gap less 8px that the
   procedure gives back on its own side, which a page break between them drops, so a continued page
   starts its steps exactly where an unsplit list would. */
.jp-end{display:flex;flex-direction:column;gap:18px;break-inside:avoid}
.jp-end>.jp-steps{margin-top:0}
.jp-sec.jp-split{margin-bottom:-8px}
/* The same for a procedure of connected paragraphs: its last paragraph is in .jp-end, 6px from the one
   before it as inside the section (the card's 18px gap less 12px), so a page break there drops nothing. */
.jp-sec.jp-split-p{margin-bottom:-12px}
/* No @page here: a page rule in this shared sheet would set the paper and margins of every Team page
   that prints. The job-aid document's Letter page, its margins and its footer come from the
   #aic-print-page style that /process/ adds while that document is built and clears afterwards. */
@media print{
  table.grid.jp-contents tr{break-inside:avoid}
  /* The reading views carry their own print rules (the guide hides every .band and sets its own
     @page margins; a focused aid hides .band through body:has(.aid-focused)). They describe the old
     printed views, never this document: its bands and links stay, and its page box is its own. */
  body.aic-print-ready #aic-print .band.jp-band,body.aic-print-preview #aic-print .band.jp-band{display:block !important}
  body.aic-print-ready>:not(#aic-print),body.aic-print-preview>:not(#aic-print){display:none !important}
  body.aic-print-ready #aic-print,body.aic-print-preview #aic-print{display:block;max-width:none;margin:0}
  body.aic-print-ready,body.aic-print-preview{background:var(--card) !important}
  .jp-duty{break-before:page}
  .jp-sheet>thead{display:table-header-group}
}

/* ============================ DOCUMENT (published skills) ============================ */
/* A rendered markdown document - the published skill reader (/agent/skill/). Long-form
   reading inside a .card: CCC body type, the system's blue links, mono for code. The
   band h1 stays the page's only large type, so document headings step down from the
   .psh size (App theme §3, read from the Design System project 2026-10-15). */
.doc{padding:22px 28px 28px;font-size:14px;line-height:1.6;color:var(--ink);overflow-wrap:anywhere}
.doc h1{font-size:17px;font-weight:600;margin:0 0 14px;padding-bottom:8px;border-bottom:2px solid var(--line2);color:var(--ink)}
.doc h2{font-size:15px;font-weight:600;margin:24px 0 10px;padding-bottom:6px;border-bottom:1px solid var(--line);color:var(--ink)}
.doc h3{font-size:13.5px;font-weight:600;margin:20px 0 8px;color:var(--ink)}
.doc h4{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;margin:16px 0 6px;color:var(--ink2)}
.doc p{margin:0 0 12px}
.doc ul,.doc ol{margin:0 0 12px;padding-left:24px}
.doc li{margin:3px 0}
.doc a{color:var(--blue);text-decoration:none}
.doc a:hover{text-decoration:underline}
.doc a.off{color:var(--ink3);text-decoration:line-through;cursor:default}
.doc code{font-family:var(--mono);font-size:12.5px;background:var(--sub);border:1px solid var(--line);border-radius:3px;padding:1px 4px}
.doc pre{font-family:var(--mono);font-size:12.5px;line-height:1.5;background:var(--sub2);border:1px solid var(--line);border-radius:4px;padding:10px 12px;margin:0 0 14px;overflow-x:auto;white-space:pre}
.doc pre code{background:none;border:0;padding:0}
.doc blockquote{margin:0 0 14px;padding:8px 14px;border-left:3px solid var(--blue-line3);background:var(--blue-bg2);color:var(--ink)}
.doc table{border-collapse:collapse;margin:0 0 14px;font-size:14px;display:block;overflow-x:auto}
.doc th{font-size:12px;font-weight:500;color:var(--ink-hdr);text-align:left;padding:8px 10px;border-bottom:1px solid var(--line-in);background:var(--sub)}
.doc td{padding:8px 10px;border-bottom:1px solid var(--line);vertical-align:top}
.doc hr{height:1px;background:var(--line);border:0;margin:18px 0}
.doc .front{font-family:var(--mono);font-size:12px;color:var(--ink2);background:var(--sub2);border:1px solid var(--line);border-radius:4px;padding:8px 12px;margin:0 0 16px;white-space:pre-wrap}
/* the document's identity line and its file list */
.doc-id{font-family:var(--mono);font-size:12px;color:var(--ink2);padding:10px 28px;border-bottom:1px solid var(--line);background:var(--sub2);overflow-wrap:anywhere}
.doc-files{list-style:none;margin:0;padding:6px 0}
.doc-files li{margin:0}
.doc-files a{display:block;padding:6px 16px;font-size:13px;color:var(--ink);text-decoration:none;overflow-wrap:anywhere}
.doc-files a:hover{background:var(--sub)}
.doc-files a.on{color:var(--blue);font-weight:600;background:var(--blue-bg)}
.doc-desc{display:block;font-size:12px;color:var(--ink2);font-weight:400}
@media(max-width:700px){.doc{padding:16px}.doc-id{padding:10px 16px}}

/* ============================ PARTS ORDERING REVIEW (estimator, phone-first) ============================ */
/* The vendor-order review (/parts-ordering/), laid out from the native Mobile app design on this
   App theme (Claude Design project 7c2cd825, 2026-10-16). It composes .card.panel, .field, .btn,
   .tabs, .pill, .badge, .mchip, .link and table.grid; these rules add only what those do not.
   Where the design differed from this canon, the canon is kept: the 28px gutter, the 27px band
   title and non-sticky .tabs; its 18px figures use 17px, the heading step. */
.pr-open{padding:6px 15px 16px;display:flex;flex-direction:column;gap:14px}
.pr-open[hidden],.rowacts[hidden]{display:none}
.pr-stack{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.pr-tabs{margin:12px -28px 0}
.pr-empty{padding:18px 2px;color:var(--ink3);font-size:13px}
.panel .pr-empty{padding:12px 14px}
.pr-label{padding:10px 14px 4px;font-size:10px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--ink2)}
/* the assignee: one disclosure card - micro-label, state, who, and the reasons when opened */
.pr-status>summary{display:flex;align-items:center;gap:10px;padding:12px 14px;min-height:52px;cursor:pointer;list-style:none}
.pr-status>summary::-webkit-details-marker{display:none}
.pr-status>summary:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.pr-status .pr-dot{width:8px;height:8px;border-radius:50%;flex:none;background:var(--ink3)}
.pr-status.ok .pr-dot{background:var(--ok)}
.pr-status.warn .pr-dot{background:var(--amber)}
.pr-status.err .pr-dot{background:var(--red)}
.pr-status .pr-tx{flex:1;min-width:0}
.pr-status .pr-k,.pr-status .pr-v{display:block}
.pr-status .pr-k{font-size:10px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--ink3)}
.pr-status .pr-v{font-size:14px;font-weight:600;color:var(--ink);margin-top:1px}
.pr-status.ok .pr-v{color:var(--ok-dd)}
.pr-status.warn .pr-v{color:var(--amber)}
.pr-status.err .pr-v{color:var(--red)}
.pr-status .pr-meta{font-size:11.5px;color:var(--ink3);text-align:right;overflow-wrap:anywhere;max-width:45%}
.pr-status .pr-chev{font-size:16px;color:var(--ink3);width:12px;text-align:center;flex:none}
.pr-status .pr-chev::after{content:"\203A"}
.pr-status[open] .pr-chev::after{content:"\2304"}
.pr-status .pr-why{border-top:1px solid var(--line);padding:10px 14px 12px;background:var(--sub2);font-size:12.5px;line-height:1.45}
.pr-status .pr-why ul{margin:0 0 6px;padding-left:16px}
.pr-status .pr-why p{margin:0;font-size:11.5px;color:var(--ink2)}
/* a vendor order: subtitle and delivered total in the .panel header, state row, facts, part rows, needs */
.pr-sub{font-size:11px;color:var(--ink3);margin-top:2px;font-weight:400;text-transform:none;letter-spacing:0}
.pr-total{text-align:right;flex:none}
.pr-total b{display:block;font-family:var(--mono);font-size:15px;font-weight:700;color:var(--ink)}
.pr-states{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:10px 14px;border-bottom:1px solid var(--sub)}
.pr-states .link{margin-left:auto;padding:6px 0}
.pr-states .pr-note{flex-basis:100%;font-size:11.5px;color:var(--ink2)}
.pr-facts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 10px;margin:0;padding:9px 14px;font-size:12px;border-bottom:1px solid var(--sub)}
.pr-facts dt{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:var(--ink3);padding-top:1px}
.pr-facts dd{margin:0;overflow-wrap:anywhere}
.pr-rows{list-style:none;margin:0;padding:0}
.pr-rows li{display:flex;gap:10px;padding:9px 14px;border-bottom:1px solid var(--sub)}
.pr-rows .pr-tx{flex:1;min-width:0}
.pr-rows .pr-d{font-size:13px;line-height:1.3;overflow-wrap:anywhere}
.pr-rows .pr-s{font-family:var(--mono);font-size:11px;color:var(--ink2);margin-top:2px;overflow-wrap:anywhere}
.pr-rows .pr-r{font-size:12px;color:var(--ink2);margin-top:4px;line-height:1.4;overflow-wrap:anywhere}
.pr-rows .pr-amt{font-family:var(--mono);font-size:13px;flex:none;text-align:right}
.pr-rows .pr-amt .pill{margin-top:4px}
.pr-needs{padding:10px 14px 12px;background:var(--sub2)}
.pr-needs .pr-label{padding:0 0 5px}
.pr-needs ul{margin:0;padding:0;list-style:none}
.pr-needs li{font-size:12.5px;line-height:1.45;padding:3px 0}
.pr-needs li small{display:block;font-size:11.5px;color:var(--ink3)}
/* a parts line: need and still-needed, the selected quote, other quotes, supplier no-quotes */
.pr-counts{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);border-bottom:1px solid var(--line)}
.pr-counts>div{padding:9px 14px}
.pr-counts>div+div{border-left:1px solid var(--line)}
.pr-counts .pr-k{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:var(--ink3)}
.pr-counts .pr-n{font-family:var(--mono);font-size:17px;font-weight:700;margin-top:1px}
.pr-sel{margin:0 14px 10px;padding:9px 10px;background:var(--blue-bg2);border:1px solid var(--blue-line);border-radius:3px;display:flex;align-items:center;gap:8px}
.pr-sel .pr-tx{flex:1;min-width:0}
.pr-sel .pr-d{font-size:13px;font-weight:600;color:var(--blue-dd)}
.pr-sel .pr-s{font-size:11px;color:var(--ink2)}
.pr-sel .pr-amt{font-family:var(--mono);font-size:13px}
.pr-noq{padding:9px 14px 11px;background:var(--sub2);border-top:1px solid var(--line);font-size:12px;color:var(--ink2)}
.pr-noq .pr-label{padding:0 0 3px;color:var(--ink3)}
.pr-noq small{color:var(--ink3)}
/* phone shows the stacked rows and badge summary; desktop the metric strip and the table */
.pr-phone,table.grid .csub.pr-phone{display:none}
@media(max-width:600px){
  .pr-desk,table.grid .pr-desk{display:none}
  .pr-phone,table.grid .csub.pr-phone{display:block}
  .badgewrap.pr-phone{display:flex}
}

/* The whole vendor order on an Approvals card (/approvals/): every line, unit and
   extended price, total, route, ETA and terms, computed on the server from the
   hash-bound basis. Shown whole; an estimator never authorizes from a summary. */
.pr-order{margin:10px 15px 0}
.pr-order.flush{margin:0 0 10px}
.pr-order-ev{margin-top:8px;font-size:11.5px;color:var(--ink3);line-height:1.5}
.pr-order-ev summary{cursor:pointer}
.pr-order-ev code{font-family:var(--mono);font-size:11px;color:var(--ink2)}
/* The customer's signed acceptance a customer-paid amount relies on, inside the same order
   card: the exact signed text, how it was accepted, the job it was proven for, and Parts'
   reading of it - shown as a reading the estimator checks, never as a certified amount. */
.pr-signed{margin-top:8px;padding-top:6px;border-top:1px solid var(--line)}
.pr-signed-h{font-weight:600;font-size:12.5px}
.pr-signed blockquote{margin:6px 0;padding:6px 10px;border-left:3px solid var(--line-in);background:var(--sub);color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere}
.pr-signed-m{font-size:12px;color:var(--ink2)}
.pr-signed-r{margin-top:4px;font-size:12.5px;color:var(--ink)}
.pr-signed-n{margin-top:4px;font-size:11.5px;color:var(--ink3)}
/* the answer under the whole order: an optional note, Deny and Approve */
.pr-answer{display:flex;flex-direction:column;gap:10px;margin:0 0 12px}
.pr-answer-acts{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.pr-answer .note{margin:0}
/* an answered card opened by its link (/approvals/?id=): read-only, no answer controls */
.pr-answered{margin-bottom:18px}
.pr-answered .pr-done{padding:10px 15px;font-size:12.5px;color:var(--ink2);overflow-wrap:anywhere}
/* ============================ PHONE CAPTURE (Parts Receiving) ============================
   CCC Mobile's Scan Invoice capture view (CCC Scan Invoice Tool guide, page 2, step 3): a
   top bar with Done and the running photo count, the captured-photo thumbnails, the
   viewfinder, and one shutter. David's additions on top: the invoice-entry and checking
   lights beside the camera, and the payment choice. The bars use the tool pages' card
   surface (--card) and hairlines rather than CCC's dark shutter bar; the viewfinder is the
   camera image itself. The shot choice (invoice or part) and the payment choice are each a
   full-width .check-segment in an .aic-cap-row; the bottom bar holds only the shutter.
   Phone-size fit still needs rendered review. Letter spacing is 0 throughout.
   Data: the receiving screen module (shared/receiving-screen.mjs) — light
   'none'|'yellow'|'green' -> .aic-light, .aic-light-yellow, .aic-light-green; thumbnail
   state 'saved'|'uploading'|'failed' -> .aic-cap-thumb, .aic-cap-thumb-uploading,
   .aic-cap-thumb-failed. Every name is prefixed: pages already use the bare words as their own classes. */
.aic-cap{display:flex;flex-direction:column;flex:1;min-height:0;background:var(--card)}
/* top bar: Done at left, the saved-photo count at right */
.aic-cap-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid var(--line)}
.aic-cap-count{font-size:13px;font-weight:600;color:var(--blue);font-variant-numeric:tabular-nums}
/* captured-photo strip; a photo not saved yet is dashed (not live), a failed one red */
.aic-cap-thumbs{display:flex;gap:6px;overflow-x:auto;padding:8px 16px;border-bottom:1px solid var(--line);background:var(--sub2)}
.aic-cap-thumb{width:44px;height:44px;flex:none;position:relative;overflow:hidden;border:1px solid var(--line-in);border-radius:3px;background:var(--sub) center/cover no-repeat}
.aic-cap-thumb-uploading{border:1.6px dashed var(--blue)}
.aic-cap-thumb-failed{border:1.6px solid var(--red)}
.aic-cap-tag{position:absolute;left:0;right:0;bottom:0;background:var(--card);color:var(--ink2);font-size:8px;font-weight:700;letter-spacing:0;text-transform:uppercase;text-align:center}
/* viewfinder */
.aic-cap-view{flex:1;min-height:220px;position:relative;overflow:hidden;background:var(--sub)}
.aic-cap-view>video,.aic-cap-view>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* bottom bar: the shutter alone, centred */
.aic-cap-bar{display:flex;justify-content:center;align-items:center;padding:12px 16px;border-top:1px solid var(--line);background:var(--card)}
/* The shutter ring follows the preferred Receiving capture design: a blue ring, a white gap and
   a blue centre (70px ring, 52px centre). */
.aic-shutter{width:70px;height:70px;padding:0;border-radius:50%;border:4px solid var(--blue);background:var(--card);display:grid;place-items:center;cursor:pointer}
.aic-shutter::after{content:"";width:52px;height:52px;border-radius:50%;background:var(--blue)}
.aic-shutter:hover:not(:disabled)::after{background:var(--blue-d)}
.aic-shutter:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.aic-shutter:disabled{opacity:.5;cursor:default}
/* entry and checking, side by side, each from saved work only: the label, the count
   ("4 of 12 entered", "3 of 3 checked") and the outcome ("2 same part, 1 wrong part") */
.aic-tracks{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 16px;border-bottom:1px solid var(--line)}
.aic-track{display:flex;align-items:flex-start;gap:8px;min-width:0}
.aic-track-label{font-size:10px;font-weight:600;letter-spacing:0;text-transform:uppercase;color:var(--ink3)}
.aic-track-count{font-size:12.5px;color:var(--ink);font-variant-numeric:tabular-nums}
.aic-track-outcome{font-size:11px;color:var(--ink2)}
.aic-track-wrong{color:var(--red)}
/* the light: dashed until work starts (dashed = not live), amber in progress, green done */
.aic-light{width:12px;height:12px;flex:none;margin-top:2px;border-radius:50%;border:1.5px dashed var(--ink3);background:var(--card)}
.aic-light-yellow{border:1.5px solid var(--amber);background:var(--amber)}
.aic-light-green{border:1.5px solid var(--ok);background:var(--ok)}
/* a choice row: the shot choice above the bar, the payment choice under the lights. An
   optional label sits on its own line; the segment always takes the full row and its
   buttons share it equally, wrapping text rather than clipping it. */
.aic-cap-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:8px 16px;border-bottom:1px solid var(--line)}
.aic-cap-row .sect{flex:1 1 100%;padding:0}
.aic-cap-row .check-segment{flex:1 1 100%;min-width:0}
.aic-cap-row .check-segment button{flex:1 1 0;min-width:0;padding:7px 6px;line-height:1.25}

/* ── Settings rows (CCC ONE Settings, IMG_3748) ─────────────────────────────
   One row per thing: its name, a quiet line under it, the control at the
   right, a hairline between rows. A list of connections and a short list of
   facts both read as these rows. (As introduced in 4abbf42b; carried alone
   with the customer-reply conversation, which reads its messages as these rows.) */
.setlist{margin:0;padding:0;list-style:none}
.setrow{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.setrow:last-child{border-bottom:none}
.setrow-text{flex:1 1 auto;min-width:0}
.setrow-t{font-size:15px;color:var(--ink);overflow-wrap:anywhere}
.setrow-s{font-size:13px;line-height:1.4;color:var(--ink3);margin-top:2px;overflow-wrap:anywhere}
.setrow .btn{flex:0 0 auto}
