/* LFC The Front Porch — LFC Action Now client workspace design, with a side menu. */
@font-face { font-family: Poppins; font-weight: 400; src: url(/company/fonts/Poppins-Regular.ttf); }
@font-face { font-family: Poppins; font-weight: 500; src: url(/company/fonts/Poppins-Medium.ttf); }
@font-face { font-family: Poppins; font-weight: 600; src: url(/company/fonts/Poppins-SemiBold.ttf); }
@font-face { font-family: Poppins; font-weight: 700; src: url(/company/fonts/Poppins-Bold.ttf); }

.an-root { --br: #123B67; --brD: #0B2747; --brT: #123B67; --brB: #123B67; --ac: #F39200; --onAc: #0B2747; --onAcT: #13202F; --brL: #E8EEF6; --brL2: #F3F7FC; --brL3: #C9D6E6; --acL: #FFF6E8;
  --app: #F4F6F9; --sf: #FFFFFF; --sf2: #F7F9FC; --sf3: #EEF1F5; --tx: #13202F; --tx2: #3A4554; --tx3: #5B6675; --tx4: #9AA5B4; --bd: #D3DAE4; --bd2: #E3E8EF; --bd3: #F1F3F6; --on: #FFFFFF;
  --okL: #E3F4EA; --okT: #1E6B3E; --okB: #B7DCC4; --badL: #FDECEC; --badT: #9B1C1C; --warnL: #FFF1DC; --warnT: #8A4B00; --warnB: #F1C99A; --purL: #F1E8FA; --purT: #5B2B8A; --shadow: 0 1px 2px rgba(19,32,47,.06); }
.an-root[data-th="dark"] { color-scheme: dark; --app: #0E141B; --sf: #17202A; --sf2: #1B2530; --sf3: #212C38; --tx: #E7ECF2; --tx2: #C2CCD7; --tx3: #95A2B1; --tx4: #6E7B8A; --bd: #3B4757; --bd2: #2D3946; --bd3: #26313D;
  --okL: #16301F; --okT: #7BD39B; --okB: #2F5A40; --badL: #3A1A1A; --badT: #F08A8A; --warnL: #3A2C14; --warnT: #F3B46A; --warnB: #6A4E24; --purL: #2B2038; --purT: #C5A6EA;
  --br: #2B5D99; --brB: #6F9BD1; --brT: #9DBFE8; --brL: #1C2C40; --brL2: #1A2433; --brL3: #2E4664; --acL: #3A2B14; --shadow: none; }

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.an-root { height: 100vh; display: flex; flex-direction: column; background: var(--app); color: var(--tx); overflow: hidden; }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }

/* ---------- header bar ---------- */
.an-hdr { padding: 14px 24px; background: var(--sf); color: var(--brT); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--bd2); flex: none; }
.an-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.an-logo { width: 40px; height: 40px; border-radius: 10px; background: var(--ac); color: var(--onAc); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.an-brand b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.2px; color: var(--brT); }
.an-brand small { display: block; font-size: 12px; color: var(--brT); opacity: .85; }
.an-hdr-r { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.an-where { font-size: 13px; font-weight: 600; color: var(--brT); }
.an-pill { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--br); color: var(--on); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.an-pill svg { width: 16px; height: 16px; }
.an-count { min-width: 20px; height: 20px; border-radius: 10px; background: var(--ac); color: var(--onAcT); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.an-chip-who { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--ac); color: var(--onAcT); white-space: nowrap; }
.an-gear { width: 40px; height: 38px; border: 0; border-radius: 999px; background: var(--sf3); color: var(--brT); display: inline-flex; align-items: center; justify-content: center; }
.an-gear svg { width: 18px; height: 18px; }
.an-menu { display: none; width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--sf3); color: var(--brT); align-items: center; justify-content: center; flex: none; }
.an-menu svg { width: 22px; height: 22px; }

/* ---------- side menu (same look as the Action Now page list) ---------- */
.an-body { flex: 1; min-height: 0; display: flex; }
.an-nav { flex: 0 0 264px; background: var(--sf); border-right: 1px solid var(--bd2); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; overscroll-behavior: contain; }
.an-grp { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; }
.an-grp-h { display: flex; flex-direction: column; padding: 4px 10px 6px; }
.an-grp-h b { font-size: 11px; font-weight: 700; color: var(--brT); letter-spacing: .8px; text-transform: uppercase; }
.an-grp-h small { font-size: 11px; color: var(--tx3); }
.an-item { min-height: 40px; display: flex; align-items: center; gap: 10px; padding: 6px 10px; border: 0; border-radius: 10px; text-align: left; background: transparent; color: var(--tx); font-size: 13px; font-weight: 500; width: 100%; }
.an-item:hover { background: var(--brL2); }
.an-item.on { background: var(--brL); color: var(--brT); font-weight: 700; }
.an-num { width: 24px; height: 24px; flex: none; border-radius: 12px; background: var(--sf3); color: var(--tx3); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.an-item.on .an-num { background: var(--br); color: var(--on); }
.an-item-t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.an-item-t small { font-size: 11px; font-weight: 500; color: var(--tx3); }
.an-badge { min-width: 20px; height: 20px; border-radius: 10px; background: var(--ac); color: var(--onAcT); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; flex: none; }
.an-badge.bad { background: var(--badT); color: #fff; }
.an-sub { display: flex; flex-direction: column; gap: 1px; margin: 2px 0 6px 34px; padding-left: 10px; border-left: 2px solid var(--brL); }
.an-sub button { border: 0; background: transparent; border-radius: 8px; padding: 6px 10px; text-align: left; display: flex; flex-direction: column; gap: 0; color: var(--tx); }
.an-sub button:hover { background: var(--brL2); }
.an-sub button b { font-size: 12.5px; font-weight: 600; }
.an-sub button small { font-size: 11px; color: var(--tx3); }
.an-nav-foot { margin-top: auto; border-top: 1px solid var(--bd3); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.an-sync { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--tx3); padding: 0 10px; }
.an-sync i { width: 8px; height: 8px; border-radius: 50%; background: var(--tx4); flex: none; }
.an-sync.ok i { background: #3BBF6A; } .an-sync.bad i { background: var(--badT); }

/* ---------- page ---------- */
.an-main { flex: 1; min-width: 0; overflow-y: auto; outline: none; }
.an-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 24px 28px 40px; display: flex; flex-direction: column; gap: 14px; }
.an-warn { background: var(--warnL); color: var(--warnT); border: 1px solid var(--warnB); border-radius: 12px; padding: 12px 16px; font-size: 13.5px; }
.an-okbar { background: var(--okL); color: var(--okT); border: 1px solid var(--okB); border-radius: 12px; padding: 12px 16px; font-size: 13.5px; font-weight: 600; }
.an-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.an-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; color: var(--brT); text-transform: uppercase; }
.an-head h1 { margin: 4px 0 2px; font-size: 26px; font-weight: 700; color: var(--brT); letter-spacing: -.3px; }
.an-head p { margin: 0; font-size: 13px; color: var(--tx2); }
.an-signed { font-size: 12px; color: var(--tx3); }
.an-signed b { color: var(--tx); font-weight: 600; }
.an-cta { min-height: 46px; padding: 0 20px; border-radius: 10px; border: 0; background: var(--ac); color: var(--onAc); font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 2px 6px rgba(243,146,0,.25); }
.an-cta svg { width: 16px; height: 16px; }
.an-btn { min-height: 36px; padding: 0 14px; border-radius: 9px; border: 1.5px solid var(--brB); background: var(--sf); color: var(--brT); font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.an-btn.navy { background: var(--br); border-color: var(--br); color: var(--on); }
.an-btn.orange { background: var(--ac); border-color: var(--ac); color: var(--onAc); }
.an-btn.quiet { border-color: var(--bd); color: var(--tx2); }
.an-btn.sm { min-height: 30px; padding: 0 10px; font-size: 12px; }
.an-btn:disabled { opacity: .55; cursor: not-allowed; }
.an-link { border: 0; background: none; padding: 0; color: var(--brT); font-size: 12.5px; font-weight: 700; }

.an-card { background: var(--sf); border-radius: 16px; padding: 18px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.an-card.top-ac { border-top: 3px solid var(--ac); }
.an-card.top-br { border-top: 3px solid var(--br); }
.an-card.left-ac { border-left: 4px solid var(--ac); border-radius: 12px; }
.an-card-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.an-card-h h2, .an-card h2 { margin: 0; font-size: 17px; font-weight: 700; color: var(--brT); display: flex; align-items: center; gap: 10px; }
.an-card .sub { margin: -6px 0 0; font-size: 12.5px; color: var(--tx3); }
.an-note { font-size: 12.5px; color: var(--tx3); }
.an-tag { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--warnL); color: var(--warnT); }
.an-tag.ok { background: var(--okL); color: var(--okT); }
.an-tag.info { background: var(--brL); color: var(--brT); }
.an-tag.bad { background: var(--badL); color: var(--badT); }
.an-tag.pur { background: var(--purL); color: var(--purT); }
.an-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }

/* volume discount hero */
.an-hero { background: var(--brD); color: var(--on); border-radius: 18px; padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.an-root[data-th="dark"] .an-hero { background: #0B1D33; }
.an-hero > svg { position: absolute; right: -60px; top: -40px; width: 460px; height: 345px; color: rgba(243,146,0,.20); pointer-events: none; }
.an-hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; position: relative; }
.an-hero-k { font-size: 11px; font-weight: 700; color: #9FB3CC; letter-spacing: 1.2px; text-transform: uppercase; }
.an-hero-n { display: flex; align-items: baseline; gap: 10px; }
.an-hero-n b { font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -1px; }
.an-hero-n span { font-size: 15px; font-weight: 500; color: #C9D6E6; }
.an-hero-pct { font-size: 30px; font-weight: 700; line-height: 1; padding: 8px 16px; border-radius: 12px; background: var(--ac); color: var(--onAc); }
.an-hero-pct.zero { background: rgba(255,255,255,.12); color: #fff; }
.an-track { position: relative; padding: 26px 0 34px; }
.an-track .rail { position: absolute; left: 0; right: 0; top: 26px; height: 14px; border-radius: 7px; background: rgba(255,255,255,.12); }
.an-track .fill { position: absolute; left: 0; top: 26px; height: 14px; border-radius: 7px; background: var(--ac); box-shadow: 0 0 18px rgba(243,146,0,.55); }
.an-you { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.an-you span { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: #fff; color: #0B2747; white-space: nowrap; }
.an-you i { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid #fff; }
.an-mark { position: absolute; top: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.an-mark i { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #9FB3CC; background: #0B2747; }
.an-mark.on i { border-color: #fff; background: var(--ac); }
.an-mark b { font-size: 12px; font-weight: 700; white-space: nowrap; color: #fff; }
.an-mark.on b { color: var(--ac); }
.an-mark small { font-size: 10px; font-weight: 500; color: #9FB3CC; white-space: nowrap; margin-top: -4px; }
.an-hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; position: relative; }
.an-hero-foot b { font-size: 14px; font-weight: 600; }
.an-hero-foot span { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.10); color: #E6EBF2; }
.an-hero-note { font-size: 11px; color: #9FB3CC; position: relative; }

/* tiles */
.an-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.an-tile { border: 0; text-align: left; background: var(--sf); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); border-top: 3px solid var(--br); color: var(--tx); }
.an-tile.ac { border-top-color: var(--ac); }
.an-tile small { font-size: 11px; font-weight: 700; letter-spacing: .4px; color: var(--tx3); }
.an-tile b { font-size: 22px; font-weight: 700; color: var(--brT); }
.an-tile span { font-size: 12px; color: var(--tx3); }
.an-tile.flat { border-top: 0; }

/* forms */
.an-form { display: flex; flex-direction: column; gap: 12px; }
.an-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px 14px; }
.an-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.an-f.wide { grid-column: 1 / -1; }
.an-f > span, .an-f > label { font-size: 12.5px; font-weight: 700; color: var(--tx); }
.an-in, .an-f input:not([type=checkbox]), .an-f select, .an-f textarea { height: 46px; width: 100%; border: 1px solid var(--bd); border-radius: 10px; padding: 0 14px; font-size: 14px; color: var(--tx); background: var(--sf2); }
.an-f textarea { height: auto; min-height: 80px; padding: 10px 14px; resize: vertical; }
.an-f small { font-size: 11.5px; color: var(--tx3); }
.an-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: var(--sf3); }
.an-seg button { border: 0; background: transparent; border-radius: 9px; padding: 8px 6px; display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--tx2); }
.an-seg button b { font-size: 13.5px; font-weight: 700; }
.an-seg button small { font-size: 11px; color: var(--tx3); }
.an-seg button.on { background: var(--sf); color: var(--brT); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.an-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.an-checks label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1.5px solid var(--bd); border-radius: 10px; font-size: 13px; font-weight: 600; background: var(--sf); cursor: pointer; }
.an-checks input { accent-color: var(--ac); width: 16px; height: 16px; }
.an-err { color: var(--badT); font-size: 13px; font-weight: 600; min-height: 1em; margin: 0; }
.an-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.an-full-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 0; border-top: 1px solid var(--bd3); background: none; padding: 12px 4px 4px; text-align: left; color: var(--brT); font-size: 13px; font-weight: 700; }

/* messages */
.an-thread { background: var(--sf2); border: 1px solid var(--bd3); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 200px; max-height: 440px; overflow-y: auto; }
.an-msg { max-width: 82%; padding: 8px 12px; border-radius: 12px; font-size: 13px; background: var(--sf); align-self: flex-start; box-shadow: var(--shadow); }
.an-msg.me { background: var(--acL); align-self: flex-end; }
.an-msg small { display: block; font-size: 10.5px; color: var(--tx3); margin-bottom: 2px; }
.an-send { display: flex; gap: 8px; align-items: flex-end; }
.an-send textarea { flex: 1; min-height: 48px; border: 1px solid var(--bd); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; background: var(--sf); color: var(--tx); resize: vertical; }

/* rows */
.an-row { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-top: 1px solid var(--bd3); }
.an-row:first-child { border-top: 0; }
.an-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ac); flex: none; }
.an-row-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.an-row-t b { font-size: 14px; font-weight: 700; color: var(--tx); }
.an-row-t span { font-size: 12.5px; color: var(--tx3); }
.an-row-t em { font-style: normal; font-size: 12px; color: var(--tx2); }
.an-day { flex: 0 0 86px; font-size: 13px; font-weight: 700; color: var(--brT); text-transform: uppercase; }
.an-date { flex: none; width: 58px; border-radius: 10px; background: var(--br); color: #fff; display: flex; flex-direction: column; align-items: center; padding: 6px 0; line-height: 1.1; }
.an-date small { font-size: 10px; font-weight: 700; letter-spacing: .6px; }
.an-date b { font-size: 20px; font-weight: 700; }
.an-date.today { background: var(--ac); color: var(--onAc); }
.an-visit { display: flex; gap: 14px; align-items: center; border: 1px solid var(--bd2); border-radius: 12px; padding: 10px 14px 10px 10px; }
.an-today { font-size: 10px; font-weight: 700; color: #C2410C; letter-spacing: .6px; margin-left: 8px; }

/* work order cards */
.an-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.an-search { flex: 1 1 240px; position: relative; display: flex; align-items: center; }
.an-search svg { position: absolute; left: 11px; width: 16px; height: 16px; color: var(--tx3); }
.an-search input { height: 40px; width: 100%; border: 1px solid var(--bd); border-radius: 9px; padding: 0 10px 0 34px; font-size: 14px; color: var(--tx); background: var(--sf2); }
.an-filters select { height: 40px; border: 1px solid var(--bd); border-radius: 9px; padding: 0 10px; font-size: 14px; color: var(--tx); background: var(--sf2); }
.an-showing { font-size: 12px; color: var(--tx3); }
.an-jobs { display: flex; flex-direction: column; gap: 10px; }
.an-job { border: 1px solid var(--bd2); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; background: var(--sf); }
.an-job.warn { border-color: var(--warnB); background: var(--acL); }
.an-job-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.an-job-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.an-job-t b { font-size: 15px; font-weight: 700; }
.an-job-t span { font-size: 12px; color: var(--tx3); }
.an-job-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.an-st { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--brL); color: var(--brT); white-space: nowrap; }
.an-st.warn { background: var(--warnL); color: var(--warnT); }
.an-st.ok { background: var(--okL); color: var(--okT); }
.an-st.bad { background: var(--badL); color: var(--badT); }
.an-late { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--badT); color: #fff; }
.an-ready { font-size: 12px; font-weight: 600; color: var(--tx2); }
.an-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.an-steps span { display: flex; flex-direction: column; gap: 6px; font-size: 11px; color: var(--tx3); }
.an-steps span i { height: 6px; border-radius: 3px; background: var(--bd2); }
.an-steps span.done i { background: var(--ac); }
.an-steps span.done { color: var(--tx); }
.an-steps span.cur i { background: var(--br); }
.an-steps span.cur { color: var(--brT); font-weight: 700; }
.an-info { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--sf2); border: 1px solid var(--bd2); }
.an-info svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--tx2); }
.an-info b { display: block; font-size: 13px; font-weight: 700; color: var(--tx); }
.an-info span { font-size: 12.5px; color: var(--tx2); }
.an-info.ok { background: var(--okL); border-color: var(--okB); } .an-info.ok svg, .an-info.ok b { color: var(--okT); }
.an-info.warn { background: var(--warnL); border-color: var(--warnB); } .an-info.warn svg, .an-info.warn b { color: var(--warnT); }
.an-lock { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--tx3); border-top: 1px dashed var(--bd2); padding-top: 10px; }
.an-lock svg { width: 14px; height: 14px; flex: none; }
.an-find { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; background: var(--sf); border: 1px solid var(--bd2); border-radius: 10px; }
.an-find span { font-size: 13.5px; font-weight: 600; }
.an-find span b { color: var(--brT); margin-left: 6px; }

/* tables */
.an-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.an-table th { font-size: 10px; font-weight: 700; letter-spacing: .5px; color: var(--tx3); text-align: left; padding: 6px 8px; text-transform: uppercase; }
.an-table td { padding: 9px 8px; border-top: 1px solid var(--bd3); font-variant-numeric: tabular-nums; }
.an-table td.r, .an-table th.r { text-align: right; }
.an-table td.id { font-weight: 700; color: var(--brT); }
.an-table .s-open { font-weight: 700; color: var(--brT); } .an-table .s-paid { font-weight: 700; color: var(--okT); } .an-table .s-late { font-weight: 700; color: var(--badT); } .an-table .s-proc { font-weight: 700; color: var(--warnT); }
.an-tablewrap { overflow-x: auto; }
.an-sum { display: flex; justify-content: space-between; padding: 8px 8px; border-top: 1px solid var(--bd2); font-size: 13px; }
.an-total { display: flex; justify-content: space-between; padding: 10px 8px; border-top: 2px solid var(--brB); font-size: 15px; font-weight: 700; color: var(--brT); }
.an-month { background: var(--sf2); font-size: 10.5px; font-weight: 700; letter-spacing: .8px; color: var(--tx3); padding: 8px 14px; text-transform: uppercase; }
.an-box { border: 1px solid var(--bd2); border-radius: 12px; overflow: hidden; }
.an-box .an-row { padding: 10px 14px; }

/* properties */
.an-banner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--sf2); border: 1px solid var(--bd2); border-radius: 12px; padding: 12px 16px; font-size: 13.5px; color: var(--tx2); }
.an-prop { border: 1px solid var(--bd2); border-radius: 12px; background: var(--sf2); }
.an-prop > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; }
.an-prop > summary::-webkit-details-marker { display: none; }
.an-prop > summary b { display: block; font-size: 14.5px; font-weight: 700; color: var(--tx); }
.an-prop > summary small { font-size: 12.5px; color: var(--tx3); }
.an-prop > summary em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--brT); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.an-prop > summary em svg { width: 16px; height: 16px; transition: transform .15s; }
.an-prop[open] > summary em svg { transform: rotate(180deg); }
.an-prop-b { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.an-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.an-fact { background: var(--sf); border: 1px solid var(--bd2); border-radius: 10px; padding: 9px 12px; display: flex; flex-direction: column; gap: 2px; }
.an-fact small { font-size: 10.5px; font-weight: 700; letter-spacing: .6px; color: var(--tx3); text-transform: uppercase; }
.an-fact b { font-size: 13.5px; font-weight: 600; color: var(--tx); }

/* team */
.an-person { display: flex; align-items: center; gap: 12px; background: var(--sf); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); }
.an-av { width: 40px; height: 40px; border-radius: 50%; background: var(--brL); color: var(--brT); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.an-person-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.an-person-t b { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.an-person-t b em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--tx2); }
.an-person-t span { font-size: 12px; color: var(--tx3); }
.an-you-chip { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--ac); color: var(--onAc); }
.an-managed .an-row { padding: 9px 0; }
.an-managed .an-row b { flex: 0 0 44%; font-size: 13.5px; font-weight: 700; display: flex; gap: 6px; align-items: center; }
.an-managed .an-row span { font-size: 13px; color: var(--tx2); }

/* sign-in */
.an-gate { min-height: 100%; display: grid; place-items: center; padding: 24px 16px; }
.an-signin { width: min(440px, 100%); background: var(--sf); border-radius: 18px; box-shadow: 0 10px 40px rgba(11,39,71,.14); overflow: hidden; }
.an-signin-h { background: linear-gradient(120deg, #123B67, #0B2747); color: #fff; padding: 26px 26px 22px; display: flex; align-items: center; gap: 14px; }
.an-signin-h svg { width: 44px; height: 30px; color: var(--ac); flex: none; }
.an-signin-h b { display: block; font-size: 22px; font-weight: 700; }
.an-signin-h small { font-size: 12.5px; color: #C9D6E6; }
.an-signin-b { padding: 22px 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.an-signin-b p { margin: 0; font-size: 13.5px; color: var(--tx2); }
.an-signin-b .an-cta { width: 100%; justify-content: center; }
.an-signin-foot { font-size: 12px; color: var(--tx3); text-align: center; border-top: 1px solid var(--bd3); padding-top: 12px; }
.an-pw { position: relative; }
.an-pw input { padding-right: 64px !important; }
.an-pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 32px; border: 0; border-radius: 7px; background: transparent; color: var(--brT); font-size: 12.5px; font-weight: 700; padding: 0 10px; }
.an-rem { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; font-size: 13px !important; font-weight: 500 !important; color: var(--tx2) !important; cursor: pointer; }
.an-rem input { width: 16px; height: 16px; accent-color: var(--ac); }

/* toast */
.an-toast { position: fixed; right: 24px; bottom: 24px; z-index: 9500; background: #0B2747; color: #fff; padding: 12px 16px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.18); font-weight: 600; font-family: Poppins, system-ui, sans-serif; font-size: 14px; transform: translateY(16px); opacity: 0; pointer-events: none; transition: .2s ease; max-width: 420px; }
.an-toast.show { transform: none; opacity: 1; }
.an-toast.bad { background: #9B1C1C; }

/* phones and small tablets */
@media (max-width: 900px) {
  .an-menu { display: inline-flex; }
  .an-where, .an-chip-who { display: none; }
  .an-pill .lbl { display: none; }
  .an-nav { position: fixed; top: 0; bottom: 0; left: 0; z-index: 70; width: min(300px, 86vw); transform: translateX(-105%); transition: transform .22s ease; box-shadow: 0 0 40px rgba(0,0,0,.3); }
  .an-root.nav-open .an-nav { transform: none; }
  .an-root.nav-open .an-scrim { position: fixed; inset: 0; z-index: 65; background: rgba(8,18,34,.5); }
  .an-two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .an-hdr { padding: 10px 12px; gap: 10px; }
  .an-brand b { font-size: 15px; }
  .an-brand small { display: none; }
  .an-logo { width: 34px; height: 34px; font-size: 11px; }
  .an-wrap { padding: 16px 14px 32px; }
  .an-head h1 { font-size: 22px; }
  .an-head .an-cta { width: 100%; justify-content: center; }
  .an-hero { padding: 18px 16px; }
  .an-hero-n b { font-size: 36px; }
  .an-steps span { font-size: 9.5px; }
  .an-day { flex-basis: 64px; font-size: 11px; }
  .an-managed .an-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .an-toast { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ---------- easier flow: quick actions, smaller page headers ---------- */
.an-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.an-q { display: flex; align-items: center; gap: 12px; text-align: left; border: 1.5px solid var(--bd2); background: var(--sf); border-radius: 14px; padding: 12px 14px; color: var(--tx); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.an-q:hover { border-color: var(--ac); transform: translateY(-1px); }
.an-q-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--acL); color: var(--ac); display: flex; align-items: center; justify-content: center; }
.an-q-ic svg { width: 20px; height: 20px; }
.an-q > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.an-q b { font-size: 14px; font-weight: 700; color: var(--brT); }
.an-q small { font-size: 12px; color: var(--tx3); }
.an-head-sm h1 { font-size: 24px; }
.an-click { cursor: pointer; border-radius: 10px; }
.an-click:hover { background: var(--brL2); }
.an-row.an-click { padding-left: 8px; padding-right: 8px; }
.an-visit.an-click:hover { border-color: var(--brL3); }

/* ---------- staff ---------- */
.an-person.off { opacity: .6; }
.an-person .an-actions { flex-wrap: nowrap; }
.an-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 8px; }
.an-choice label { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--bd); border-radius: 12px; background: var(--sf); cursor: pointer; font-weight: 400; }
.an-choice label:has(input:checked) { border-color: var(--br); background: var(--brL2); }
.an-choice input { margin-top: 3px; accent-color: var(--br); }
.an-choice b { display: block; font-size: 14px; color: var(--brT); }
.an-choice small { display: block; font-size: 12px; color: var(--tx3); line-height: 1.4; }
.an-temp-pw { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.an-temp-pw code { font-size: 22px; font-weight: 700; letter-spacing: .5px; padding: 8px 14px; border-radius: 10px; background: var(--acL); color: var(--brT); font-family: ui-monospace, Menlo, Consolas, monospace; }

/* ---------- record overview + PDF viewer ---------- */
.an-modal { position: fixed; inset: 0; z-index: 200; background: rgba(8,18,34,.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.an-modal-box { width: min(760px, 100%); max-height: calc(100vh - 40px); background: var(--sf); border-radius: 18px; box-shadow: 0 24px 64px rgba(8,20,40,.35); display: flex; flex-direction: column; overflow: hidden; }
.an-modal.wide .an-modal-box { width: min(1000px, 100%); height: calc(100vh - 40px); }
.an-modal-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 12px; border-bottom: 1px solid var(--bd3); }
.an-modal-h h2 { margin: 4px 0 0; font-size: 19px; color: var(--brT); }
.an-modal-b { padding: 16px 20px 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.an-x { width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--sf3); color: var(--tx2); display: flex; align-items: center; justify-content: center; flex: none; }
.an-x svg { width: 18px; height: 18px; }
.an-h3 { margin: 6px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--tx3); }
.an-docs { display: flex; flex-direction: column; gap: 8px; }
.an-doc { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--bd2); border-radius: 12px; background: var(--sf2); }
.an-doc-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--brL); color: var(--brT); display: flex; align-items: center; justify-content: center; }
.an-doc-ic svg { width: 18px; height: 18px; }
.an-pdf { flex: 1; width: 100%; border: 0; background: #fff; }
.an-pdf-tip { margin: 0; padding: 8px 20px 12px; }
body.an-noscroll { overflow: hidden; }
@media (max-width: 640px) {
  .an-modal { padding: 0; align-items: flex-end; }
  .an-modal-box, .an-modal.wide .an-modal-box { width: 100%; max-height: 94vh; border-radius: 18px 18px 0 0; }
  .an-modal.wide .an-modal-box { height: 94vh; }
  .an-person { flex-wrap: wrap; }
  .an-person .an-actions { width: 100%; flex-wrap: wrap; }
}

/* Reports and documents grouped by assignment (one group per work order) */
.an-agrp { border: 1px solid var(--bd); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.an-agrp + .an-agrp { margin-top: 10px; }
.an-agrp-h { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.an-agrp-h .an-row-t { min-width: 0; }

/* Phones: fit the screen without pinching. iPhone zooms in on any field with text smaller than 16px,
   so on phones every field uses 16px text, and the page never grows wider than the screen. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 900px), (pointer: coarse) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px !important; }
}
@media (max-width: 900px) { html, body { max-width: 100%; overflow-x: hidden; } }

/* ---------- Tabbed tables (same pattern as the company app) ---------- */
.an-tt { padding: 0; gap: 0; overflow: hidden; }
.an-tt-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--bd3); }
.an-tabs { display: flex; gap: 4px; flex-wrap: wrap; background: var(--sf3); padding: 4px; border-radius: 11px; }
.an-tab { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--tx3); padding: 7px 13px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.an-tab:hover { color: var(--tx); }
.an-tab.on { background: var(--sf); color: var(--brT); box-shadow: 0 1px 3px rgba(16, 34, 64, .12); }
.an-tab .n { font-size: 11px; font-weight: 700; color: var(--tx3); background: var(--sf2); border-radius: 99px; padding: 1px 7px; min-width: 18px; text-align: center; }
.an-tab.on .n { background: var(--brL); color: var(--brT); }
.an-tab .n.warn { background: var(--warnL); color: var(--warnT); } .an-tab .n.bad { background: var(--badL); color: var(--badT); }
.an-tt-r { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.an-tt-tools { padding: 12px 16px; border-bottom: 1px solid var(--bd3); }
.an-tt-tools .an-filters { width: 100%; }
.an-tt-pad { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.an-tt-empty { padding: 26px 16px; color: var(--tx3); font-size: 13.5px; text-align: center; }
.an-tt-foot { margin: 0; padding: 11px 16px; font-size: 12.5px; color: var(--tx3); border-top: 1px solid var(--bd3); background: var(--sf2); display: flex; gap: 6px; align-items: center; }
.an-tt-foot svg { width: 14px; height: 14px; flex: none; }
.an-tt .an-tablewrap { margin: 0; }
.an-tt-t { font-size: 13.5px; }
.an-tt-t th { font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--tx3); padding: 10px 14px; background: var(--sf2); border-bottom: 1px solid var(--bd3); white-space: nowrap; }
.an-tt-t td { padding: 11px 14px; border-top: 1px solid var(--bd3); vertical-align: middle; }
.an-tt-t tbody tr:first-child td { border-top: 0; }
.an-tt-t th:first-child, .an-tt-t td:first-child { padding-left: 18px; }
.an-tt-t th:last-child, .an-tt-t td:last-child { padding-right: 18px; }
.an-tt-t td.id { font-weight: 600; color: var(--tx2); white-space: nowrap; }
.an-tt-t tr.an-click { cursor: pointer; }
.an-tt-t tr.an-click:hover td { background: var(--sf2); }
.an-tt-t tr.an-click:focus-visible { outline: 2px solid var(--ac); outline-offset: -2px; }
.an-tt-t tr.warn td:first-child { box-shadow: inset 3px 0 0 var(--ac); }
.an-tt-t tr.off td { opacity: .55; }
.an-tt-t tr.an-tgrp td { background: var(--sf2); font-size: 12.5px; color: var(--brT); padding-top: 8px; padding-bottom: 8px; border-top: 1px solid var(--bd3); }
.an-tt-t tr.an-tgrp:hover td { background: var(--sf2); }
.an-tgrp-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.an-tgrp-h small { color: var(--tx3); font-weight: 500; margin-left: 4px; }
.an-tt-t tr.an-formrow td { background: var(--sf2); padding: 16px 18px; }
.an-tsub { display: block; font-size: 12px; color: var(--tx3); margin-top: 2px; font-weight: 500; }
.an-late-t { display: block; font-size: 11.5px; color: var(--badT); font-weight: 700; margin-top: 2px; }
.an-end { justify-content: flex-end; flex-wrap: nowrap; }
.an-prog { display: flex; gap: 3px; width: 120px; }
.an-prog i { flex: 1; height: 5px; border-radius: 3px; background: var(--bd2); }
.an-prog i.done { background: var(--okT); } .an-prog i.cur { background: var(--ac); }
.an-doct, .an-lockt, .an-who { display: inline-flex; align-items: center; gap: 8px; }
.an-doct svg, .an-lockt svg { width: 16px; height: 16px; color: var(--brT); flex: none; }
.an-av.sm { width: 30px; height: 30px; font-size: 11px; }
.an-tt-sums { gap: 0; padding-top: 4px; }
/* Phones: each row becomes a small card with its column names */
@media (max-width: 700px) {
  .an-tt-h { padding: 12px; }
  .an-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .an-tt-r { width: 100%; } .an-tt-r .an-btn { flex: 1; }
  .an-tt-t thead { display: none; }
  .an-tt-t, .an-tt-t tbody, .an-tt-t tr, .an-tt-t td { display: block; width: 100%; box-sizing: border-box; }
  .an-tt-t tr { padding: 10px 14px; border-top: 1px solid var(--bd3); }
  .an-tt-t tbody tr:first-child { border-top: 0; }
  .an-tt-t td, .an-tt-t th:first-child, .an-tt-t td:first-child, .an-tt-t td:last-child { padding: 4px 0; border: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; text-align: right; }
  .an-tt-t td::before { content: attr(data-l); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--tx3); text-align: left; flex: none; padding-top: 2px; }
  .an-tt-t td[data-l=""]::before { content: none; }
  .an-tt-t td[data-l=""] { justify-content: flex-end; padding-top: 8px; }
  .an-tt-t td .an-tv { text-align: right; min-width: 0; }
  .an-tt-t td .an-prog { margin-left: auto; }
  .an-tt-t td .an-end { justify-content: flex-end; }
  .an-tt-t tr.an-tgrp, .an-tt-t tr.an-formrow { padding: 0; }
  .an-tt-t tr.an-tgrp td, .an-tt-t tr.an-formrow td { display: block; text-align: left; padding: 9px 14px; }
  .an-tt-t tr.an-formrow td { padding: 14px; }
  .an-tt-t tr.warn td:first-child { box-shadow: none; } .an-tt-t tr.warn { box-shadow: inset 3px 0 0 var(--ac); }
  .an-end { flex-wrap: wrap; }
}

.an-tt-t .an-tsub { display: block; }
.an-tt-t tr.an-tgrp td { text-align: left; }
.an-tt-t .an-you-chip { margin-left: 6px; }

/* =====================================================================================================
   Client portals — same side menu, top bar and page header as the company app (LFC Headquarters).
   ===================================================================================================== */
/* six color schemes (Settings › Appearance); dark mode keeps its own surfaces */
.an-root[data-scheme="emerald"] { --br: #14532D; --brD: #0E3B20; --brT: #14532D; --brB: #14532D; --ac: #D4A017; --brL: #E5F1E9; --brL2: #F2F8F4; }
.an-root[data-scheme="steel"] { --br: #1F3A4D; --brD: #152938; --brT: #1F3A4D; --brB: #1F3A4D; --ac: #18A0B0; --onAc: #fff; --onAcT: #fff; --brL: #E6EDF2; --brL2: #F2F6F9; }
.an-root[data-scheme="coral"] { --br: #4A1D4F; --brD: #351339; --brT: #4A1D4F; --brB: #4A1D4F; --ac: #FF6F61; --onAc: #2A0C2D; --brL: #F1E7F2; --brL2: #F8F2F8; }
.an-root[data-scheme="ocean"] { --br: #0B4F6C; --brD: #073A50; --brT: #0B4F6C; --brB: #0B4F6C; --ac: #F7A072; --onAc: #3A1A07; --brL: #E3EFF4; --brL2: #F1F7FA; }
.an-root[data-scheme="melody"] { --br: #6B2D5C; --brD: #4F1F44; --brT: #6B2D5C; --brB: #6B2D5C; --ac: #F06292; --onAc: #fff; --onAcT: #fff; --brL: #F4E7F0; --brL2: #FAF3F8; }
.an-root[data-th="dark"][data-scheme] { --brT: #9DBFE8; --brB: #6F9BD1; --brL: #1C2C40; --brL2: #1A2433; }

.an-root { display: grid; grid-template-columns: 248px minmax(0, 1fr); flex-direction: unset; }
.an-root.gated { grid-template-columns: minmax(0, 1fr); }
.an-main { padding: 28px 36px 48px; height: 100vh; }
.an-root.gated .an-main { padding: 0; }
.cp-page { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
/* side menu */
.cp-side { background: var(--br); color: #fff; display: flex; flex-direction: column; padding: 20px 14px 14px; overflow-y: auto; height: 100vh; }
.an-root[data-th="dark"] .cp-side { background: #0F2340; }
.cp-brand { display: flex; align-items: center; gap: 10px; padding: 0 6px 22px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 14px; }
.cp-mark { width: 46px; height: 38px; flex: none; color: #fff; display: inline-flex; }
.cp-mark svg { width: 100%; height: 100%; }
.cp-brand-name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.cp-brand > div { min-width: 0; }
.cp-brand-co { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ac); margin-top: 2px; }
.cp-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.cp-navlabel { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 4px 10px 6px; }
.cp-item { display: flex; align-items: center; gap: 11px; background: none; border: 0; border-radius: 8px; color: rgba(255,255,255,.82); padding: 9px 10px; text-align: left; font: inherit; font-size: 14px; font-weight: 500; width: 100%; }
.cp-item svg { width: 19px; height: 19px; flex: none; }
.cp-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.cp-item.active { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 3px 0 0 var(--ac); }
.cp-navt { flex: 1; min-width: 0; }
.cp-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--ac); color: var(--onAc); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.cp-badge.bad { background: #D92D20; color: #fff; }
.cp-user { display: flex; align-items: center; gap: 10px; margin: 10px 0 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.06); }
.cp-av { width: 32px; height: 32px; border-radius: 50%; background: var(--ac); color: var(--onAc); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.cp-user-n { flex: 1; min-width: 0; } .cp-user-n b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cp-user-n small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .75; font-size: 11px; }
.cp-out { border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; border-radius: 8px; padding: 4px 8px; font: inherit; font-size: 12px; }
.cp-sync { display: flex; gap: 9px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: rgba(0,0,0,.18); font-size: 12px; line-height: 1.4; }
.cp-sync .dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; flex: none; background: #8a96a8; }
.cp-sync.ok .dot { background: #4ADE80; } .cp-sync.bad .dot { background: var(--ac); }
.cp-sync small { display: block; color: rgba(255,255,255,.6); }
/* top bar (floating pill, top right) */
.top-user { position: fixed; top: 12px; right: 28px; z-index: 40; display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 6px; background: var(--sf); border: 1px solid var(--bd2); border-radius: 999px; box-shadow: 0 2px 10px rgba(16, 34, 64, .08); font-size: 13px; }
.tu-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--sf3); color: var(--brT); font: inherit; font-weight: 600; padding: 5px 11px; border-radius: 999px; position: relative; }
.tu-btn.icon { padding: 5px 8px; }
.tu-btn svg, .tu-out svg { width: 15px; height: 15px; }
.tu-btn .lfm-badge { position: absolute; top: -6px; right: -6px; }
.tu-gearw { position: relative; }
.tu-menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--sf); border: 1px solid var(--bd2); border-radius: 12px; box-shadow: 0 10px 30px rgba(16, 34, 64, .16); padding: 6px; min-width: 220px; display: flex; flex-direction: column; z-index: 50; }
.tu-menu button { border: 0; background: none; text-align: left; font: inherit; font-size: 13.5px; color: var(--tx); padding: 8px 10px; border-radius: 8px; }
.tu-menu button:hover { background: var(--brL2); }
.tu-n { display: flex; align-items: center; gap: 7px; font-weight: 600; color: var(--brT); padding: 0 4px; }
.tu-av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ac); color: var(--onAc); font-size: 12px; font-weight: 700; }
.tu-out { display: flex; align-items: center; gap: 5px; border: 0; background: var(--sf3); color: var(--brT); font: inherit; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.tu-out:hover { background: #fde7c6; color: #7a4300; }
/* page header (company style) */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; min-height: 60px; }
.page-head > div:first-child { min-width: 0; flex: 1; }
.page-head .eyebrow, .page-head h1 { margin-right: 380px !important; }
.page-head .head-actions { flex: none; white-space: nowrap; }
.page-head .head-actions .an-cta { white-space: nowrap; }
.page-head .eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); margin: 0 0 4px; }
.page-head h1 { font-size: 28px; line-height: 1.15; margin: 0; color: var(--brT); font-weight: 700; }
.page-head .sub { color: var(--tx3); margin: 6px 0 0; font-size: 13.5px; }
.cp-access { margin: 4px 0 0; font-size: 12.5px; font-weight: 600; color: var(--tx2); }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cp-quicklinks { display: flex; gap: 6px; flex-wrap: wrap; }
.cp-quicklinks button { border: 1px solid var(--bd); background: var(--sf); color: var(--brT); font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
/* page tabs (company .tabs) */
.cp-tabbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.cp-tabbar .tabs { display: flex; gap: 4px; background: var(--sf3); padding: 4px; border-radius: 10px; flex-wrap: wrap; }
.cp-tabbar .tab { border: 0; background: none; padding: 7px 13px; border-radius: 7px; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--tx3); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.cp-tabbar .tab:hover { color: var(--tx); }
.cp-tabbar .tab.active { background: var(--br); color: #fff; box-shadow: 0 1px 3px rgba(16, 34, 64, .14); }
.cp-tabbar .tab .n { font-size: 11px; font-weight: 700; background: rgba(0,0,0,.08); border-radius: 99px; padding: 1px 7px; }
.cp-tabbar .tab.active .n { background: rgba(255,255,255,.22); }
.cp-tabbar .tab .n.warn { background: var(--warnL); color: var(--warnT); } .cp-tabbar .tab .n.bad { background: var(--badL); color: var(--badT); }
.cp-tabbar-r { display: flex; gap: 8px; flex-wrap: wrap; }
/* cards, tiles, layout */
.an-card { border-radius: 16px; }
.an-tt .an-tt-h h2 { margin: 0; font-size: 15px; } .an-tt .an-tt-h .sub { margin: 2px 0 0; font-size: 12px; color: var(--tx3); }
.cp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.cp-tiles .an-tile { min-height: 96px; }
.cp-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; align-items: start; }
.cp-two.n340 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.cp-two > .an-card { margin: 0; }
.cp-hold { border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.cp-hold.bad { background: var(--badL); color: var(--badT); border: 1px solid var(--badT); } .cp-hold.warn { background: var(--warnL); color: var(--warnT); border: 1px solid var(--warnB); }
.cp-lockline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-radius: 12px; background: var(--sf2); border: 1px solid var(--bd2); font-size: 13px; color: var(--tx2); }
.cp-lockline svg { width: 16px; height: 16px; color: var(--brT); flex: none; }
.cp-lockline span { flex: 1; min-width: 200px; }
.cp-strip { margin: 0; font-size: 13.5px; }
.cp-empty { margin: 0; }
.cp-visit .an-date { flex: none; }
.cp-box { border: 1px solid var(--bd2); border-radius: 12px; padding: 14px; background: var(--sf2); display: flex; flex-direction: column; gap: 10px; }
.cp-bullets { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.cp-listing-r { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.cp-listing-r > span:first-child { flex: 1; min-width: 200px; }
.cp-listing-r.warn > span:first-child { color: var(--warnT); font-weight: 600; }
.cp-meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cp-meter-t { border: 1px solid var(--bd2); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.cp-meter-t.on { border-color: var(--ac); box-shadow: 0 0 0 2px var(--acL); }
.cp-meter-t b { font-size: 13px; } .cp-meter-t span { font-size: 18px; font-weight: 700; color: var(--brT); } .cp-meter-t small { font-size: 11px; color: var(--tx3); }
.cp-schemes { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.cp-scheme { border: 1.5px solid var(--bd2); background: var(--sf); border-radius: 12px; padding: 10px; text-align: left; font: inherit; display: flex; flex-direction: column; gap: 6px; color: var(--tx); }
.cp-scheme.on { border-color: var(--ac); box-shadow: 0 0 0 2px var(--acL); }
.cp-scheme .sw { height: 34px; border-radius: 8px; display: block; }
.cp-scheme b { font-size: 13px; } .cp-scheme small { font-size: 11px; color: var(--tx3); }
.cp-bad { color: var(--badT); } .cp-warn { color: var(--warnT); }
.an-st.navy { background: var(--br); color: #fff; } .an-st.pink { background: #FCE4EC; color: #AD1457; } .an-st.info { background: var(--brL); color: var(--brT); }
.an-btn.bad { background: var(--badT); border-color: var(--badT); color: #fff; }
.an-banner.warn { background: var(--warnL); border-color: var(--warnB); color: var(--warnT); }
.an-modal .an-modal-box { background: var(--sf); color: var(--tx); }
.an-signin-h .cp-mark { background: var(--br); border-radius: 10px; padding: 4px; width: 52px; height: 44px; }
/* phones: the side menu becomes a drawer opened from a top bar */
.m-bar, .cp-scrim { display: none; }
@media (max-width: 1100px) { .page-head { padding-top: 44px; } .page-head .eyebrow, .page-head h1 { margin-right: 0 !important; } }
@media (max-width: 760px) {
  .an-root { grid-template-columns: minmax(0, 1fr); }
  .m-bar:not([hidden]) { display: flex; position: fixed; top: 0; left: 0; right: 0; height: 56px; z-index: 38; align-items: center; gap: 10px; padding: 0 12px; background: var(--br); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
  .m-menu { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; flex: none; }
  .m-menu svg { width: 22px; height: 22px; }
  .m-title { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cp-side { position: fixed; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); z-index: 70; transform: translateX(-105%); transition: transform .22s ease; box-shadow: 0 0 40px rgba(0,0,0,.35); }
  .an-root.nav-open .cp-side { transform: none; }
  .an-root.nav-open .cp-scrim { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(8,18,34,.5); }
  .an-main { padding: 72px 16px 48px; }
  .an-root.gated .an-main { padding: 0; }
  .top-user { top: 8px; right: 10px; padding: 3px; box-shadow: none; z-index: 39; }
  .top-user .tu-n, .tu-btn > span:not(.lfm-badge), .tu-out span { display: none; }
  .page-head { padding-top: 0; flex-direction: column; align-items: flex-start; }
  .page-head h1 { font-size: 24px; }
  .cp-tabbar .tabs { width: 100%; flex-wrap: wrap; overflow: visible; }
  .cp-tabbar-r, .cp-tabbar-r .an-btn { width: 100%; } .cp-tabbar-r .an-btn { flex: 1; justify-content: center; }
  .cp-meter { grid-template-columns: 1fr; }
}
/* Phone: keep the title clear of the icon bar. */
@media (max-width: 760px) {
  .top-user { gap: 3px; max-width: calc(100vw - 76px); }
  .top-user .tu-btn, .top-user .tu-out { width: 34px; height: 34px; padding: 0; justify-content: center; }
  .m-bar .m-title { min-width: 0; max-width: calc(100vw - 250px); }
}
@media (max-width: 340px) { .m-bar .m-title { display: none; } }
/* Search on the Overview */
.cp-head-r { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.uni-search { position: relative; width: min(420px, 100%); }
.uni-search .an-search input { width: 100%; height: 40px; border: 1px solid var(--bd2); border-radius: 10px; padding: 0 12px; font: inherit; font-size: 14px; background: var(--sf); color: var(--tx); }
.uni-res { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; background: var(--sf); border: 1px solid var(--bd2); border-radius: 12px; box-shadow: 0 12px 34px rgba(16, 34, 64, .18); max-height: 420px; overflow-y: auto; padding: 6px; }
.uni-row { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 9px; cursor: pointer; font: inherit; color: var(--tx); }
.uni-row.on, .uni-row:hover { background: var(--sf2); }
.uni-kind { flex: none; min-width: 78px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brT); background: var(--sf2); border-radius: 6px; padding: 3px 6px; text-align: center; margin-top: 1px; }
.uni-t { display: flex; flex-direction: column; min-width: 0; } .uni-t b { font-size: 13.5px; } .uni-t small { font-size: 12px; color: var(--tx3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uni-none { margin: 8px 10px; font-size: 13px; color: var(--tx3); }
.page-head .cp-head-r { align-self: flex-end; }
@media (max-width: 760px) { .uni-search, .cp-head-r { width: 100%; } }
.page-head .cp-head-r { flex: 0 1 420px; } .cp-head-r .uni-search { width: 100%; }
/* Overview: Summary boxes and Quick actions panels (same as the company app) */
.cp-sec { display: flex; flex-direction: column; gap: 12px; }
.cp-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cp-sec-h h2 { margin: 0; font-size: 18px; color: var(--brT); }
.cp-sec .an-tile { min-height: 112px; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.cp-sec .an-tile:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(16, 34, 64, .1); }
.qa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 16px; align-items: start; }
.qa-panel { padding: 16px 18px; margin: 0; }
.qa-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--bd2); }
.qa-h h3 { margin: 0; font-size: 16px; color: var(--brT); }
.qa-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bd2); }
.qa-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.qa-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.qa-t b { font-size: 13.5px; } .qa-t span { font-size: 13.5px; } .qa-t small { font-size: 12px; color: var(--tx3); }
.qa-r { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.qa-panel .an-row { padding: 10px 0; }
.qa-empty { margin: 12px 0 2px; }
.cp-pick { display: grid; gap: 8px; margin: 10px 0 14px; }
.cp-pick .an-rem { padding: 8px 10px; border: 1px solid var(--bd2); border-radius: 10px; }

/* Overview in priority order (2026-11-11): your properties, needs attention, quick action buttons. */
.cp-places { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.cp-place { flex-direction: row; align-items: center; gap: 10px; padding: 12px 14px; border: 0; border-top: 3px solid var(--br); text-align: left; font: inherit; color: var(--tx); cursor: pointer; }
.cp-place.ac { border-top-color: var(--ac); }
.cp-place > svg { flex: none; width: 22px; height: 22px; color: var(--br); }
.cp-pl-t { display: flex; flex-direction: column; min-width: 0; }
.cp-pl-t b { font-size: 14px; color: var(--brT); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-pl-t small { font-size: 12px; color: var(--tx3); }
.cp-place:hover, .cp-act:hover { box-shadow: 0 6px 18px rgba(19, 32, 47, .10); }
.cp-place:focus-visible, .cp-act:focus-visible, .cp-attn-row:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.cp-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 6px; border-radius: 99px; background: var(--badT); color: #fff; font-size: 12px; font-weight: 700; vertical-align: 2px; }
.cp-attn { padding: 4px 0; gap: 0; }
.cp-attn-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 18px; border: 0; border-top: 1px solid var(--ln, rgba(19,32,47,.08)); background: none; text-align: left; font: inherit; color: var(--tx); cursor: pointer; }
.cp-attn-row:first-child { border-top: 0; }
.cp-attn-row:hover { background: var(--sf3); }
.cp-attn-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cp-attn-t b { font-size: 13.5px; }
.cp-attn-t small { font-size: 12px; color: var(--tx3); margin-top: 1px; }
.cp-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--br); opacity: .55; }
.cp-attn-row.bad .cp-dot { background: var(--badT); opacity: 1; }
.cp-attn-row.warn .cp-dot { background: var(--ac); opacity: 1; }
.cp-go { color: var(--tx3); font-size: 20px; }
.cp-allclear { color: var(--okT); font-weight: 600; }
.cp-edits { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cp-acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 10px; margin-bottom: 14px; }
.cp-act { flex-direction: row; align-items: center; gap: 10px; padding: 12px 14px; border: 0; text-align: left; font: inherit; font-weight: 600; font-size: 13.5px; color: var(--brT); cursor: pointer; }
.cp-act > svg { flex: none; width: 20px; height: 20px; color: var(--ac); }
@media (max-width: 760px) {
  .cp-places { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .cp-place { padding: 10px 12px; } .cp-place > svg { display: none; }
  .cp-acts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .cp-act { padding: 10px 12px; font-size: 13px; }
  .cp-attn-row { padding: 9px 14px; }
}

/* Quick actions as uniform tables (2026-11-11 b). */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qa-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); align-items: stretch; }
.qa-panel { display: flex; flex-direction: column; gap: 0; padding: 16px 18px 12px; }
.qa-h h3 { display: flex; align-items: center; gap: 8px; }
.qa-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--ac); color: var(--onAcT, #13202F); font-size: 12px; font-weight: 700; }
.qa-n.zero { background: var(--sf3); color: var(--tx3); }
.qa-body { min-height: calc(36px + 5 * 52px); display: flex; flex-direction: column; }
.qa-tbl { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.qa-tbl th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--tx3); padding: 10px 8px 6px; border-bottom: 1px solid var(--bd2); }
.qa-tbl th:nth-child(1) { width: 17%; } .qa-tbl th:nth-child(2) { width: 27%; } .qa-tbl th:nth-child(4) { width: 112px; } .qa-tbl th:nth-child(5) { width: 64px; }
.qa-tbl td { height: 52px; padding: 6px 8px; border-bottom: 1px solid var(--bd2); vertical-align: middle; overflow: hidden; }
.qa-tbl tr:last-child td { border-bottom: 0; }
.qa-tbl td b, .qa-tbl td small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qa-tbl td b { font-size: 13px; color: var(--tx); } .qa-tbl td small { font-size: 11.5px; color: var(--tx3); margin-top: 1px; }
.qa-tbl .an-st { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: inline-block; vertical-align: middle; }
.qa-tbl .qa-open { text-align: right; }
.qa-body .qa-empty { flex: 1; display: grid; place-items: center; margin: 0; color: var(--tx3); font-size: 13px; text-align: center; }
@media (max-width: 760px) {
  .qa-body { min-height: 0; }
  .qa-tbl thead { display: none; }
  .qa-tbl, .qa-tbl tbody { display: block; }
  .qa-tbl tr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "when status" "what open" "where open"; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--bd2); }
  .qa-tbl tr:last-child { border-bottom: 0; }
  .qa-tbl td { height: auto; padding: 0; border: 0; }
  .qa-tbl td:nth-child(1) { grid-area: when; } .qa-tbl td:nth-child(2) { grid-area: what; } .qa-tbl td:nth-child(3) { grid-area: where; } .qa-tbl td:nth-child(4) { grid-area: status; text-align: right; } .qa-tbl td:nth-child(5) { grid-area: open; align-self: center; }
  .qa-body .qa-empty { padding: 18px 0; }
}

/* Top bar sync icon + menu dots (2026-11-11 c), same as the company app. */
.cp-sync { display: none !important; }
.tu-sync { position: relative; }
.tu-sdot { position: absolute; right: 5px; bottom: 5px; width: 9px; height: 9px; border-radius: 50%; background: #9AA5B4; box-shadow: 0 0 0 2px var(--sf); }
.tu-sync.ok .tu-sdot { background: #22C55E; } .tu-sync.bad .tu-sdot { background: #DC2626; }
.cp-item:has(.cp-badge) .cp-navt::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--ac); vertical-align: 2px; box-shadow: 0 0 0 2px rgba(243,146,0,.25); }
.cp-tiles .an-tile { justify-content: flex-start; } .cp-tiles .an-tile small { min-height: 2.6em; display: flex; align-items: flex-end; }
.cp-item .cp-badge { display: none; }
/* Phone top strip (2026-11-11): Night mode moves to Settings › Appearance; the portal name gets the room that's left. */
@media (max-width: 760px) {
  .top-user [data-act="daynight"] { display: none; }
  .top-user .tu-btn, .top-user .tu-out { width: 32px; height: 32px; }
  .m-bar .m-title { display: block; max-width: calc(100vw - 76px - var(--tu-w, 180px) - 10px); }
}
@media (max-width: 420px) { .m-bar:not([hidden]) { gap: 8px; } .m-bar .m-title { font-size: 14px; } }
@media (max-width: 340px) { .m-bar .m-title { display: block; } }

/* Overview, cleaned up and in priority order (2026-11-11 d). */
.page-head.cp-home-head { align-items: flex-start; }
.cp-home-head .cp-head-l { flex: 1; min-width: 0; }
.cp-home-head .cp-head-l .uni-search { width: min(640px, 100%); margin-top: 12px; }
.page-head.cp-home-head .cp-head-r { flex: 0 0 auto; align-self: flex-start; margin-top: 22px; }
.cp-home-head .cp-head-r .an-btn svg { width: 16px; height: 16px; }
.cp-sec { margin-bottom: 22px; }
.an-hero { margin-bottom: 22px; }
.qa-body { min-height: calc(36px + 3 * 52px); }
.cp-g-card { padding: 14px 18px; gap: 6px; }
.cp-g-rule { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 13.5px; color: var(--tx2); }
.cp-g-rule svg { flex: none; width: 18px; height: 18px; color: var(--ac); margin-top: 1px; }
.cp-g-card .qa-body { min-height: 0; }
.cp-g-card .qa-tbl th:nth-child(5) { width: 140px; }
.cp-g-none { margin: 4px 0 2px; font-size: 13px; color: var(--tx3); }
.cp-g-pick { display: grid; gap: 8px; }
.cp-g-opt { flex-direction: column; align-items: flex-start; gap: 2px; border: 1px solid var(--bd2); text-align: left; font: inherit; color: var(--tx); cursor: pointer; padding: 12px 14px; }
.cp-g-opt:hover { border-color: var(--ac); }
.cp-g-opt small { color: var(--tx3); font-size: 12px; }
@media (max-width: 760px) {
  .page-head.cp-home-head .cp-head-r { margin-top: 10px; width: 100%; }
  .cp-home-head .cp-head-r .an-btn { flex: 1; justify-content: center; }
  .cp-g-card .qa-tbl th:nth-child(5) { width: auto; }
}
.cp-search-row { display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.cp-home-head .cp-search-row .uni-search { margin-top: 0; flex: 0 1 560px; }
.cp-report { height: 40px; white-space: nowrap; } .cp-report svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .cp-search-row .cp-report { width: 100%; justify-content: center; } }
@media (max-width: 760px) { .top-user .tu-btn > .tu-sdot { display: block; } }

/* Report a problem at the bottom of the side menu, under a divider: the same as the company app (2026-11-13). */
.cp-help { display: flex; align-items: center; gap: 8px; flex: none; width: 100%; margin: 10px 0 0; padding: 12px 10px 2px; border: 0; border-top: 1px solid rgba(255,255,255,.12); border-radius: 0; background: none; color: rgba(255,255,255,.75); font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.cp-help:hover { color: #fff; }
.cp-prob-list { display: flex; flex-direction: column; gap: 8px; }
.cp-prob { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--bd, #E3E8EF); border-radius: 10px; }
.cp-prob small { color: var(--tx3, #64748B); }
.cp-new { margin: 0 0 14px; padding-left: 20px; line-height: 1.5; }
.cp-new li { margin: 4px 0; }
.cp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.cp-folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cp-folder, .cp-photo { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; border: 1px solid var(--bd, #E3E8EF); border-radius: 12px; background: var(--sf, #fff); color: var(--tx, inherit); font: inherit; text-align: left; cursor: pointer; }
.cp-folder svg { width: 26px; height: 26px; color: var(--ac); }
.cp-folder small, .cp-photo small { color: var(--tx3, #64748B); font-size: 11px; word-break: break-all; }
.cp-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--sf2, #F1F4F8); }
.cp-folder:hover, .cp-photo:hover { border-color: var(--ac); }
.cp-gph { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-gph-t { position: relative; width: 84px; height: 64px; }
.cp-gph-t img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 1px solid var(--bd, #E3E8EF); }
.cp-gph-t button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #123B67; color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.cp-opt { position: relative; display: inline-block; }
.cp-opt-btn { width: 32px; height: 32px; display: inline-grid; place-items: center; border: 1px solid var(--bd2, #CBD3DF); border-radius: 8px; background: var(--sf, #fff); color: var(--tx, inherit); cursor: pointer; }
.cp-opt-btn:hover, .cp-opt-btn[aria-expanded="true"] { border-color: var(--ac); }
.cp-opt-pop { position: absolute; right: 0; top: calc(100% + 4px); z-index: 40; min-width: 220px; padding: 6px; background: var(--sf, #fff); border: 1px solid var(--bd, #E3E8EF); border-radius: 10px; box-shadow: 0 10px 30px rgba(11,22,38,.18); display: flex; flex-direction: column; }
.cp-opt-pop[hidden] { display: none; }
.cp-opt-pop button { text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 7px; font: inherit; font-size: 13px; color: inherit; cursor: pointer; white-space: nowrap; }
.cp-opt-pop button:hover { background: var(--sf2, #F1F4F8); }
.cp-opt-pop button.danger { color: #B42318; }
/* Good badges the company chose to show (problem report 2026-11-13) */
.cp-awards { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.cp-award { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 4px 11px 4px 9px; border-radius: 99px; background: linear-gradient(135deg, #fff6e2, #ffe7b8); color: #8a5300; border: 1px solid #f3cf8a; box-shadow: 0 1px 3px rgba(138, 83, 0, .12); }
.cp-award svg { width: 13px; height: 13px; }
/* Shortcut menu headings and the flash on arrival (problem report 2026-11-13) */
.tu-menu-h { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #7a8496); padding: 8px 12px 3px; }
@keyframes cpFlash { 0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .55); } 100% { box-shadow: 0 0 0 14px rgba(245, 158, 11, 0); } }
.cp-flash { animation: cpFlash 1.1s ease-out 2; }
.an-toast.bad.show { pointer-events: auto; display: flex; gap: 12px; align-items: center; }
.an-toast-x { flex: none; border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .12); color: #fff; font: inherit; font-weight: 600; font-size: 12.5px; padding: 4px 10px; border-radius: 6px; cursor: pointer; }
/* "+ Add a turnover" sits down by the search row, clear of the top bar (problem report 2026-11-13) */
.page-head.cp-home-head .cp-head-r { align-self: flex-end; margin-top: 0; margin-bottom: 2px; }
@media (max-width: 760px) { .page-head.cp-home-head .cp-head-r { align-self: stretch; margin-top: 10px; } }
/* Logo upload and Contact us (problem report 2026-11-13) */
.cp-logo-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.cp-logo-prev { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px rgba(127, 127, 127, .3); flex: none; font-size: 12px; color: #7a8496; text-align: center; }
.cp-logo-prev img { width: 100%; height: 100%; object-fit: cover; }
.cp-dl { display: grid; grid-template-columns: 150px 1fr; gap: 10px 14px; margin: 0; font-size: 14px; }
.cp-dl dt { color: var(--muted, #7a8496); font-weight: 600; }
.cp-dl dd { margin: 0; }
@media (max-width: 600px) { .cp-dl { grid-template-columns: 1fr; } }

/* Trash-out release (2026-11-15) */
.cp-trash { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--ac); border-radius: 12px; background: var(--sf); }
.cp-trash[hidden] { display: none; }
.cp-trash input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ac); flex: none; }
.cp-trash span { font-size: 13px; line-height: 1.5; }
.cp-trash b { display: block; margin-bottom: 2px; }
.cp-trash small { display: block; margin-top: 4px; color: var(--tx3); }
.cp-trash.bad { border-color: #D64545; }
.cp-nowrap { white-space: nowrap; }
.cp-dl .cp-sub { font-size: 12.5px; color: var(--muted, #5E6B7D); margin-top: 2px; }
/* Company notice and welcome line (2026-11-16b) */
.cp-notice { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: #EAF1F9; border-left: 4px solid #123B67; color: #142235; font-weight: 500; }
.cp-notice.warn { background: #FFF4E0; border-left-color: #F39200; }
.cp-welcome { margin: -4px 0 14px; color: var(--muted, #5E6B7D); }
/* Text alert consent next to the Text choices (carrier requirement, 2026-11-17) */
.cp-sms-consent { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--bd2, #dfe5ee); border-radius: 10px; background: var(--sf2, #f7f9fc); font-size: 12.5px; line-height: 1.5; }
.cp-sms-consent b { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.cp-sms-links { display: flex; gap: 14px; flex-wrap: wrap; }
.cp-sms-links a { font-weight: 600; }
.an-signin-legal { margin: 14px 0 0; text-align: center; font-size: 12.5px; color: var(--tx3, #6b7a90); }
.an-signin-legal a { color: inherit; font-weight: 600; text-decoration: underline; }
