/* O'Brien Systems Projects, skinned like obriensys.com: Gothic A1 headings in caps, Open Sans text, the teal top
   bar and footer, square teal buttons, white header with the full logo */
@font-face { font-family: "Gothic A1"; font-weight: 700; font-display: swap; src: url(/fonts/gothic-a1-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Gothic A1"; font-weight: 800; font-display: swap; src: url(/fonts/gothic-a1-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-display: swap; src: url(/fonts/open-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 500; font-display: swap; src: url(/fonts/open-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-display: swap; src: url(/fonts/open-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-display: swap; src: url(/fonts/open-sans-latin-700-normal.woff2) format("woff2"); }
:root {
  --teal: #007377; --teal-dark: #016565; --teal-soft: #e3f0f0; --teal-line: #cfe7e7;
  --bg: #f5f8f8; --card: #fff; --card2: #f5f8f8; --ink: #22282a; --ink2: #4a5557; --ink3: #667272; --line: #e1e8e8;
  --warn: #8a5b00; --warn-soft: #fff4dc; --bad: #b3261e; --bad-soft: #fde8e6;
  --shadow: 0 1px 2px rgba(0, 40, 40, 0.05), 0 6px 18px rgba(0, 40, 40, 0.06);
  --head: "Gothic A1", "Arial Black", Arial, sans-serif; --text: "Open Sans", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 500 15px/1.5 var(--text); -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--teal); } a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; text-transform: uppercase; line-height: 1.2; margin: 0; letter-spacing: 0.005em; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* buttons and fields: square and teal, like the website */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 20px; border: 2px solid var(--teal); border-radius: 0; background: var(--teal); color: #fff; cursor: pointer; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn.alt { background: #fff; color: var(--teal); } .btn.alt:hover { background: var(--teal-soft); color: var(--teal-dark); }
.btn.small { padding: 5px 11px; font-size: 13px; border-width: 1.5px; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--teal); padding-left: 6px; padding-right: 6px; } .btn.ghost:hover { background: var(--teal-soft); color: var(--teal-dark); }
.btn.danger { background: #fff; color: var(--bad); border-color: #e8b7b3; } .btn.danger:hover { background: var(--bad-soft); color: var(--bad); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.field { display: block; margin: 0 0 12px; } .field > span { display: block; font-size: 13px; color: var(--ink2); margin-bottom: 4px; font-weight: 700; }
.field input, .field select, .field textarea, textarea.box { width: 100%; padding: 10px 12px; border: 0; border-radius: 0; background: #ededed; }
.field input:focus, .field select:focus, .field textarea:focus, textarea.box:focus { background: #e6eeee; }
textarea.box, .field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.check { display: flex; gap: 8px; align-items: center; margin: 6px 0; font-size: 14px; color: var(--ink2); } .check input { width: 17px; height: 17px; accent-color: var(--teal); }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.muted { color: var(--ink3); } .small { font-size: 13px; }
.msg { padding: 10px 13px; font-size: 14px; margin: 10px 0; border-left: 4px solid; } .msg.bad { background: var(--bad-soft); color: var(--bad); } .msg.good { background: var(--teal-soft); color: var(--teal-dark); }
.badge { display: inline-block; font: 700 11px/1.4 var(--text); letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 7px; background: var(--teal-soft); color: var(--teal-dark); vertical-align: middle; }
.badge.warn { background: var(--warn-soft); color: var(--warn); } .badge.grey { background: #eef1f1; color: var(--ink3); }

/* the website's header: teal strip, then white with the logo */
.strip { background: var(--teal); color: #fff; font: 800 14px/1 var(--head); text-transform: uppercase; }
.strip .in { max-width: 1240px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 20px; }
.strip a { color: #fff; text-decoration: none; }
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 6px rgba(0, 40, 40, 0.05); }
.top .in { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 10px 20px; }
.brand { display: flex; align-items: center; line-height: 0; } .brand img { width: 150px; height: auto; }
.top nav { display: flex; gap: 2px; }
.top nav a { font: 800 15px/1 var(--head); text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 10px 12px; border-bottom: 3px solid transparent; }
.top nav a:hover { color: var(--teal); } .top nav a.on { color: var(--teal); border-bottom-color: var(--teal); }
.top .sp { flex: 1; }
.menu { position: relative; }
.menu > button { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: #fff; padding: 4px 12px 4px 4px; cursor: pointer; font-weight: 600; font-size: 14px; }
.avatar { width: 30px; height: 30px; background: var(--teal); color: #fff; display: grid; place-items: center; font: 800 12px/1 var(--head); flex: none; }
.menu .pop { position: absolute; right: 0; top: calc(100% + 6px); width: 260px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 6px; z-index: 30; }
.menu .pop .who { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; font-size: 13px; color: var(--ink3); overflow-wrap: anywhere; } .menu .pop .who b { display: block; color: var(--ink); font-size: 14px; }
.menu .pop a, .menu .pop button.item { display: flex; width: 100%; text-align: left; padding: 8px 10px; border: 0; background: none; cursor: pointer; text-decoration: none; color: var(--ink); font-size: 14px; }
.menu .pop a:hover, .menu .pop button.item:hover { background: var(--bg); }

/* page frame and the website's footer */
main { width: 100%; max-width: 1240px; margin: 0 auto; padding: 30px 20px 70px; flex: 1; }
.foot { background: var(--teal); color: #fff; font-size: 14px; }
.foot .in { max-width: 1240px; margin: 0 auto; padding: 26px 20px; display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.foot a { color: #fff; } .foot b { font: 800 16px/1.2 var(--head); text-transform: uppercase; display: block; margin-bottom: 4px; }
.pagehead { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 0 0 22px; } .pagehead h1 { font-size: 34px; color: var(--ink); } .pagehead .sp { flex: 1; }
.pagehead p { margin: 6px 0 0; color: var(--ink3); font-size: 15px; width: 100%; }
.card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pad { padding: 20px 22px; }
h4.sechead { font-size: 14px; color: var(--teal); margin: 0 0 12px; letter-spacing: 0.02em; }
.empty { padding: 36px 20px; text-align: center; color: var(--ink3); } .empty b { display: block; color: var(--ink2); font: 800 17px/1.3 var(--head); text-transform: uppercase; margin-bottom: 6px; }

/* dashboard */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 26px; }
.tile { padding: 16px 18px; border-top: 4px solid var(--teal); } .tile .n { font: 800 34px/1 var(--head); color: var(--teal); } .tile .l { margin-top: 6px; font-size: 13px; color: var(--ink2); font-weight: 600; }
.dash { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 16px; }
.toolbar input[type=search], .toolbar select { padding: 9px 12px; border: 0; background: #ededed; border-radius: 0; }
.toolbar input[type=search] { flex: 1; min-width: 200px; max-width: 360px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.pcard { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); overflow: hidden; transition: transform 0.12s, box-shadow 0.12s; }
.pcard:hover { transform: translateY(-2px); color: var(--ink); box-shadow: 0 2px 4px rgba(0, 40, 40, 0.06), 0 12px 28px rgba(0, 40, 40, 0.12); }
.pcard .pic { aspect-ratio: 16 / 9; background: var(--teal) center / cover no-repeat; position: relative; }
.pcard .pic .ini { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, 0.85); font: 800 38px/1 var(--head); }
.pcard .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pcard h3 { font-size: 17px; } .pcard .meta { font-size: 13px; color: var(--ink3); }
.pcard .foot2 { margin-top: auto; padding-top: 8px; font-size: 12.5px; color: var(--ink3); display: flex; gap: 12px; flex-wrap: wrap; }
.bar { height: 8px; background: #e7eded; overflow: hidden; } .bar i { display: block; height: 100%; background: var(--teal); }
.stagetag { font-size: 13px; font-weight: 700; color: var(--teal); }
.archived { opacity: 0.6; }
.feed div { font-size: 13.5px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink2); } .feed div:first-child { border-top: 0; padding-top: 0; }
.feed b { color: var(--ink); font-weight: 700; } .feed a { font-weight: 600; text-decoration: none; } .feed time { display: block; font-size: 12px; color: var(--ink3); margin-top: 2px; }

/* project page */
.crumb { margin: 0 0 14px; font: 800 13px/1 var(--head); text-transform: uppercase; } .crumb a { text-decoration: none; }
.hero { position: relative; overflow: hidden; min-height: 260px; background: var(--teal) center / cover no-repeat; color: #fff; display: flex; align-items: flex-end; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.62)); }
.hero .txt { position: relative; z-index: 1; padding: 24px 26px; } .hero h1 { font-size: 38px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); } .hero .sub { margin-top: 6px; font-size: 16px; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4); }
.hero .tools { position: absolute; right: 14px; top: 14px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.hero .tools .btn { background: rgba(255, 255, 255, 0.94); color: var(--teal-dark); border-color: transparent; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; margin-top: 22px; align-items: start; }
.side { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 16px; }
.stepper { display: flex; margin: 6px 0 2px; }
.stepper .st { flex: 1; position: relative; text-align: center; font-size: 12.5px; color: var(--ink3); padding-top: 28px; min-width: 0; font-weight: 600; }
.stepper .st::before { content: ""; position: absolute; top: 10px; left: -50%; right: 50%; height: 4px; background: #e2e9e9; }
.stepper .st:first-child::before { display: none; }
.stepper .st.done::before, .stepper .st.current::before { background: var(--teal); }
.stepper .dot { position: absolute; z-index: 1; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; background: #fff; border: 3px solid #d5dfdf; display: grid; place-items: center; }
.stepper .st.done .dot::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.stepper .st.done .dot { background: var(--teal); border-color: var(--teal); } .stepper .st.current .dot { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.stepper .st.current { color: var(--ink); font-weight: 800; } .stepper .st .d { display: block; font-weight: 500; font-size: 11.5px; color: var(--ink3); }
.stepper .st span.nm { display: block; padding: 0 3px; overflow-wrap: anywhere; }
.status { margin-top: 14px; font-size: 14px; color: var(--ink2); }
.secnav { position: sticky; top: 96px; z-index: 10; background: var(--bg); margin: 22px 0 0; padding: 8px 0; display: flex; gap: 2px; overflow-x: auto; border-bottom: 2px solid var(--line); scrollbar-width: none; }
.secnav a { white-space: nowrap; text-decoration: none; color: var(--ink2); font: 800 13px/1 var(--head); text-transform: uppercase; padding: 9px 12px; } .secnav a:hover { color: var(--teal); background: var(--teal-soft); }
section.blk { margin-top: 30px; scroll-margin-top: 160px; } section.blk > .hd { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; } section.blk > .hd h2 { font-size: 22px; } section.blk > .hd .sp { flex: 1; }
.prose p { margin: 0 0 10px; } .prose ul { margin: 0 0 10px; padding-left: 20px; } .prose li { margin: 3px 0; } .prose > :last-child { margin-bottom: 0; }
.lead { font-size: 17px; color: var(--ink2); }
.cols3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.wcard { border-top: 4px solid var(--teal); } .wcard h3 { font-size: 15px; margin-bottom: 10px; color: var(--teal); } .wcard .hdr { display: flex; align-items: flex-start; gap: 8px; } .wcard .hdr h3 { flex: 1; }
.model { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); overflow: hidden; }
.pv { background: #cfe0ee center / cover no-repeat; position: relative; display: block; }
.model .pv { min-height: 250px; }
.pv .play { position: absolute; inset: 0; display: grid; place-items: center; }
.pv .play span { width: 74px; height: 74px; background: rgba(0, 115, 119, 0.94); display: grid; place-items: center; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3); }
.pv .play span::after { content: ""; border-left: 24px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.opt .pv .play span { width: 52px; height: 52px; } .opt .pv .play span::after { border-left-width: 17px; border-top-width: 10px; border-bottom-width: 10px; }
.model .info { padding: 24px; display: flex; flex-direction: column; gap: 10px; justify-content: center; } .model .info h3 { font-size: 19px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 14px; }
.opt { overflow: hidden; } .opt .pv { aspect-ratio: 16 / 9; min-height: 0; } .opt .body { padding: 12px 14px; } .opt h3 { font-size: 14px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.gallery .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e7eded center / cover no-repeat; border: 0; cursor: zoom-in; display: block; padding: 0; width: 100%; }
.gallery .ph .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 8px 6px; font-size: 12px; color: #fff; text-align: left; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6)); }
.gitem { position: relative; } .ftools { position: absolute; top: 6px; right: 6px; display: flex; gap: 4px; z-index: 2; }
.ftools .btn { background: rgba(255, 255, 255, 0.95); color: var(--teal-dark); border-color: transparent; padding: 3px 7px; font-size: 12px; }
.flag { position: absolute; top: 6px; left: 6px; z-index: 2; }
.docs .doc { display: flex; gap: 14px; align-items: center; padding: 13px 18px; border-top: 1px solid var(--line); } .docs .doc:first-child { border-top: 0; }
.docs .ic { width: 38px; height: 46px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; font: 800 11px/1 var(--head); flex: none; }
.docs .doc .t { flex: 1; min-width: 0; } .docs .doc .t b { display: block; overflow-wrap: anywhere; } .docs .doc .t span { font-size: 13px; color: var(--ink3); }
.notes .note { padding: 15px 18px; border-top: 1px solid var(--line); } .notes .note:first-child { border-top: 0; }
.notes .note .by { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; font-size: 13px; color: var(--ink3); flex-wrap: wrap; } .notes .note .by b { color: var(--ink); font-size: 14px; }
.notes .note .body { white-space: pre-wrap; overflow-wrap: anywhere; }
.compose { padding: 15px 18px; border-top: 1px solid var(--line); background: var(--card2); }
.contact .who { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; } .contact .who .avatar { width: 46px; height: 46px; font-size: 16px; } .contact .who b { display: block; }
.contact a { display: block; font-size: 14px; margin-top: 4px; overflow-wrap: anywhere; }
.facts div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 7px 0; border-top: 1px solid var(--line); } .facts div:first-child { border-top: 0; } .facts span { color: var(--ink3); } .facts b { text-align: right; font-weight: 600; }
.people .p { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); } .people .p:first-child { border-top: 0; } .people .p .t { flex: 1; min-width: 0; } .people .p .t span { display: block; font-size: 12.5px; color: var(--ink3); overflow-wrap: anywhere; }
.acts { max-height: 360px; overflow: auto; } .acts div { font-size: 13px; padding: 7px 0; border-top: 1px solid var(--line); color: var(--ink2); } .acts div:first-child { border-top: 0; } .acts time { color: var(--ink3); display: block; font-size: 12px; }
.editbox .row { margin-top: 8px; }
table.list { width: 100%; border-collapse: collapse; font-size: 14px; } table.list th { text-align: left; font: 800 12px/1.2 var(--head); text-transform: uppercase; color: var(--teal); padding: 12px; border-bottom: 2px solid var(--line); }
table.list td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; } table.list td span { display: block; font-size: 12.5px; color: var(--ink3); } table.list td span.badge { display: inline-block; font-size: 11px; color: var(--teal-dark); }
table.list select { padding: 5px 7px; border: 0; background: #ededed; }
.scroll { overflow-x: auto; }

/* dialogs, the photo viewer, the 3D viewer */
.dlg { position: fixed; inset: 0; z-index: 50; background: rgba(8, 20, 20, 0.55); display: grid; place-items: center; padding: 16px; }
.dlg .card { width: min(580px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 24px; } .dlg h2 { font-size: 21px; margin-bottom: 16px; color: var(--teal); }
.stagerow { display: grid; grid-template-columns: minmax(0, 1fr) 120px 140px auto; gap: 6px; margin-bottom: 6px; align-items: center; }
.stagerow input, .stagerow select { width: 100%; padding: 8px 9px; border: 0; background: #ededed; }
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(5, 10, 10, 0.95); display: flex; flex-direction: column; color: #fff; }
.lb .img { flex: 1; min-height: 0; display: grid; place-items: center; padding: 54px 64px 10px; } .lb img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); object-fit: contain; }
.lb .cap { padding: 10px 20px 22px; text-align: center; font-size: 14px; color: #d6dede; min-height: 50px; }
.lb button { position: absolute; background: rgba(255, 255, 255, 0.14); border: 0; color: #fff; width: 46px; height: 46px; cursor: pointer; font-size: 22px; display: grid; place-items: center; }
.lb button:hover { background: rgba(255, 255, 255, 0.26); } .lb .x { top: 10px; right: 12px; } .lb .prev { left: 10px; top: 50%; } .lb .next { right: 10px; top: 50%; }
.toastbox { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 70; background: #10363d; color: #fff; padding: 11px 18px; box-shadow: var(--shadow); font-size: 14px; max-width: calc(100vw - 32px); }
.viewer { position: fixed; inset: 0; display: flex; flex-direction: column; background: #10363d; z-index: 40; }
.viewer .vbar { display: flex; align-items: center; gap: 12px; padding: 8px 14px; background: var(--teal); color: #fff; font-size: 14px; }
.viewer .vbar a:not(.btn) { color: #fff; text-decoration: none; font: 800 13px/1 var(--head); text-transform: uppercase; } .viewer .vbar .sp { flex: 1; } .viewer .vbar .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.viewer .vbar .btn { background: rgba(255, 255, 255, 0.16); border-color: transparent; color: #fff; }
.viewer iframe { flex: 1; width: 100%; border: 0; background: #cfe0ee; }
.drop { border: 2px dashed var(--teal-line); padding: 18px; text-align: center; color: var(--ink3); font-size: 14px; background: #fff; }
.drop.over { border-color: var(--teal); background: var(--teal-soft); }
.upl { font-size: 13px; color: var(--ink3); margin-top: 8px; }

/* sign-in */
.signin { max-width: 440px; margin: 40px auto; } .signin .card { padding: 30px 30px 26px; border-top: 5px solid var(--teal); }
.signin h1 { font-size: 26px; color: var(--teal); margin-bottom: 8px; } .signin p { margin: 0 0 16px; color: var(--ink2); }
.signin .code { font: 700 28px/1 var(--text); letter-spacing: 0.35em; text-align: center; padding: 14px 10px 14px 20px; }
.signin .btn { width: 100%; padding: 12px; font-size: 16px; } .signin .links { margin-top: 14px; display: flex; justify-content: space-between; gap: 10px; font-size: 14px; flex-wrap: wrap; }
.signin .links button { background: none; border: 0; color: var(--teal); cursor: pointer; padding: 0; text-decoration: underline; }

@media (max-width: 1000px) { .dash { grid-template-columns: minmax(0, 1fr); } .layout { grid-template-columns: minmax(0, 1fr); } .side { position: static; } .model { grid-template-columns: 1fr; } .model .pv { min-height: 200px; aspect-ratio: 16 / 9; } }
@media (max-width: 700px) {
  .strip .in { padding: 8px 14px; font-size: 12px; } .strip .ph { display: none; }
  main { padding: 20px 12px 60px; } .top .in { padding: 8px 12px; gap: 10px; } .brand img { width: 128px; }
  .top nav a { padding: 8px 7px; font-size: 13px; } .menu > button .nm { display: none; } .menu > button { padding: 3px; }
  .pagehead h1 { font-size: 26px; } .hero { min-height: 190px; } .hero h1 { font-size: 25px; } .hero .txt { padding: 16px; }
  .stepper .st { font-size: 11px; } .stepper .st .d { display: none; } .stepper .st:not(.current) span.nm { visibility: hidden; height: 0; overflow: hidden; } .stepper .st.current span.nm { white-space: nowrap; }
  .stagerow { grid-template-columns: 1fr 1fr; } .stagerow > :first-child { grid-column: 1 / -1; }
  .lb .img { padding: 54px 8px 8px; } .lb .prev, .lb .next { top: auto; bottom: 14px; }
}

/* dashboard v2: stage tiles with dollars, cards with the main contact, a sortable table */
.tile { text-align: left; cursor: pointer; font: inherit; color: inherit; border-left: 0; border-right: 0; border-bottom: 0; }
.tile:hover { box-shadow: 0 2px 4px rgba(0, 40, 40, 0.06), 0 10px 24px rgba(0, 40, 40, 0.1); }
.tile.on { background: var(--teal-soft); } .tile .v { margin-top: 4px; font: 700 14px/1.2 var(--text); color: var(--ink); }
.seg2 { display: inline-flex; border: 1.5px solid var(--teal); } .seg2 button { border: 0; background: #fff; color: var(--teal); padding: 6px 14px; font-weight: 700; font-size: 13px; cursor: pointer; } .seg2 button.on { background: var(--teal); color: #fff; }
.pcard { cursor: pointer; } .pcard h3 a { color: var(--ink); text-decoration: none; } .pcard h3 a:hover { color: var(--teal); }
.pcard .chip { position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, 0.95); color: var(--teal-dark); font: 800 11px/1 var(--head); text-transform: uppercase; letter-spacing: 0.04em; padding: 6px 8px; }
.pcard .chip.val { left: auto; right: 10px; background: var(--teal); color: #fff; font: 700 12.5px/1 var(--text); letter-spacing: 0; text-transform: none; }
.prog { display: flex; align-items: center; gap: 8px; } .prog .bar { flex: 1; } .prog span { font-size: 12px; font-weight: 700; color: var(--ink3); min-width: 32px; text-align: right; }
.who2 { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; background: var(--card2); border-left: 3px solid var(--teal-line); }
.who2 b { display: block; font-size: 14px; } .who2 span { display: block; font-size: 12.5px; color: var(--ink3); }
.who2 .links { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 2px; } .who2 .links a { font-size: 12.5px; text-decoration: none; overflow-wrap: anywhere; }
.avatar.sm { width: 30px; height: 30px; font-size: 11px; line-height: 30px; }
.ptable tbody tr { cursor: pointer; } .ptable tbody tr:hover td { background: var(--card2); } .ptable td a { text-decoration: none; color: var(--ink); } .ptable td a:hover { color: var(--teal); }
.ptable td.num { text-align: right; white-space: nowrap; font-weight: 700; } .bar.mini { height: 5px; margin-top: 5px; max-width: 140px; }
.sorter { all: unset; cursor: pointer; font: inherit; color: inherit; text-transform: inherit; } .sorter.on { color: var(--ink); } .sorter:focus-visible { outline: 2px solid var(--teal); }
.contacts .ct { padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; } .contacts .ct:first-of-type { border-top: 0; }
.contacts .ct b { font-size: 14px; } .contacts .ct span, .contacts .ct a { display: block; overflow-wrap: anywhere; } .contacts .ct span { color: var(--ink3); font-size: 12.5px; }
.contacts .ct a { text-decoration: none; font-size: 13px; } .contacts .ct .kind { display: inline-block; margin-left: 6px; font: 700 10.5px/1 var(--text); text-transform: uppercase; letter-spacing: 0.05em; color: var(--teal); }
.contacts .ct .note { font-style: italic; margin-top: 2px; } .contacts .ct span.badge, .contacts .ct span.kind { display: inline-block; } .contacts .ct .badge { font-size: 10px; padding: 1px 5px; margin-left: 4px; color: var(--teal-dark); }
