/* Topflight staff command center */
:root {
  --navy: #0a1a8c; --navy-deep: #050a5c; --ink: #0b1033; --muted: #5b6386; --line: #e3e6f2; --bg: #f6f7fb; --card: #fff;
  --gold: #c9821b; --gold-soft: #fdf1dd; --red: #b4232a; --red-soft: #fde8e8; --purple: #6b4fa0; --purple-soft: #efeaf8;
  --green: #17734a; --green-soft: #e3f4ea; --blue-soft: #e7eafb;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--sans); }
a { color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
.cc-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 10px 22px; background: var(--navy-deep); color: #fff; }
.cc-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; letter-spacing: .14em; font-size: 13px; text-transform: uppercase; white-space: nowrap; }
.cc-brand img { border-radius: 6px; background: #fff; padding: 2px; object-fit: contain; box-sizing: border-box; }
.cc-nav { display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.cc-nav a { color: #c9cff5; text-decoration: none; padding: 7px 11px; border-radius: 8px; white-space: nowrap; font-weight: 600; font-size: 14px; }
.cc-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.cc-nav a[aria-current="page"] { background: #fff; color: var(--navy-deep); }
.cc-user { font-size: 13px; color: #c9cff5; white-space: nowrap; }
.cc-main { max-width: 1240px; margin: 0 auto; padding: 22px 22px 80px; }
.cc-loading, .cc-empty { color: var(--muted); padding: 40px 0; text-align: center; }

.hero { background: var(--navy); color: #fff; border-radius: 14px; padding: 26px 28px; margin-bottom: 18px; }
.hero .eyebrow { letter-spacing: .22em; font-size: 12px; text-transform: uppercase; color: #ffcf8a; }
.hero .eyebrow.red::before { content: "●"; color: #ff5a5a; margin-right: 8px; }
.hero h1 { margin: 6px 0 4px; font-size: 30px; letter-spacing: .02em; }
.hero h1.big { font-size: clamp(44px, 8vw, 84px); line-height: 1; font-weight: 900; letter-spacing: .04em; }
.hero p { margin: 0; color: #cfd4f7; max-width: 560px; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.hero-count { text-align: right; }
.hero-count b { display: block; font: 700 46px/1 var(--mono); color: #ffcf8a; }
.hero-count span { letter-spacing: .2em; font-size: 11px; text-transform: uppercase; color: #cfd4f7; }
.hero-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.hero-links a { color: #fff; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 14px 0 0; }
.tab, .chip { border: 1px solid transparent; background: transparent; color: #cfd4f7; padding: 6px 12px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 14px; }
.tab[aria-pressed="true"] { background: #fff; color: var(--navy-deep); }
.tab.add { color: #fff; border-style: dashed; border-color: rgba(255,255,255,.35); }
.chips { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.chips .chip { color: var(--ink); border-radius: 0; border: 0; border-right: 1px solid var(--line); padding: 8px 14px; font-weight: 500; }
.chips .chip:last-child { border-right: 0; }
.chips .chip[aria-pressed="true"] { background: var(--blue-soft); font-weight: 700; }
.chip small { color: var(--muted); margin-left: 6px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card .val { font: 700 30px/1.1 var(--mono); }
.card a.more { display: inline-block; margin-top: 10px; font-weight: 600; text-decoration: none; }
.card.module { cursor: pointer; transition: transform .1s, box-shadow .1s; }
.card.module:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(10,26,140,.08); }

.summary { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; margin-bottom: 16px; }
.summary .label { letter-spacing: .2em; text-transform: uppercase; font-size: 12px; color: var(--muted); }
.summary .row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.summary .bal { font: 800 44px/1.1 var(--mono); }
.neg { color: var(--gold); } .pos { color: var(--navy); }
.bar { height: 22px; border-radius: 4px; background: var(--blue-soft); overflow: hidden; display: flex; margin: 16px 0; }
.bar i { display: block; background: var(--navy); }
.bar i.over { background: repeating-linear-gradient(135deg, var(--gold) 0 5px, #e4a54a 5px 10px); }
.bar.sm { height: 8px; margin: 4px 0 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.stats div { color: var(--muted); font-size: 14px; }
.stats b { display: block; font: 600 20px var(--mono); color: var(--ink); }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 14px 0; }
.toolbar .grow { flex: 1; min-width: 200px; }
.search { width: 100%; padding: 10px 12px 10px 36px; border: 1px solid var(--line); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235b6386' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") 12px 50% no-repeat; }
.btn { border: 1px solid var(--line); background: #fff; padding: 9px 14px; border-radius: 10px; cursor: pointer; font-weight: 600; white-space: nowrap; }
.btn:hover { border-color: #c5cae3; }
.btn.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.danger { color: var(--red); }
.btn.sm { padding: 5px 10px; font-size: 13px; }
select.btn { padding-right: 28px; }

.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #fbfbfe; position: sticky; top: 0; }
td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr { cursor: pointer; }
tbody tr:hover td { background: #f9faff; }
td.num, th.num { text-align: right; font-family: var(--mono); white-space: nowrap; }
td.idx { color: var(--muted); width: 40px; }
td.name { font-weight: 600; }
.muted { color: var(--muted); }
.dash { color: #b9bdd3; }

.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; margin-left: 6px; }
.tag.dnc { background: var(--blue-soft); color: var(--navy); }
.tag.churned { background: var(--purple-soft); color: var(--purple); }
.tag.red { background: var(--red-soft); color: var(--red); }
.tag.released { background: var(--gold-soft); color: #92560b; }

.dnc-wrap { display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.az { position: sticky; top: 80px; align-self: start; display: flex; flex-direction: column; font-size: 12px; }
.az a { text-decoration: none; color: var(--muted); padding: 1px 0; text-align: center; }
.az a.has { color: var(--navy); font-weight: 700; }
.letter { font: 800 18px var(--sans); color: var(--navy); padding: 16px 4px 6px; }
.dnc-row { display: grid; grid-template-columns: 14px 1fr 180px auto 28px; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; margin-bottom: 6px; cursor: pointer; }
.dnc-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.dnc-row .dot.red_marked { background: var(--red); } .dnc-row .dot.churned { background: var(--purple); }
.dnc-row .npn { font: 13px var(--mono); color: var(--muted); }
.dnc-row .note { grid-column: 2 / -1; color: var(--muted); font-size: 13px; }

.cc-modal { position: fixed; inset: 0; background: rgba(5,10,40,.45); z-index: 50; display: flex; justify-content: flex-end; }
.cc-modal[hidden] { display: none; }
.cc-modal-box { position: relative; background: #fff; width: min(560px, 100%); height: 100%; overflow: auto; padding: 26px 26px 40px; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
.cc-x { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--muted); }
.cc-modal h2 { margin: 0 0 4px; }
.form { display: grid; gap: 12px; margin: 16px 0; }
.form label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea { padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; font-weight: 400; color: var(--ink); background: #fff; }
.form textarea { min-height: 90px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checks { display: flex; gap: 8px; flex-wrap: wrap; }
.checks label { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-weight: 600; color: var(--ink); cursor: pointer; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.section { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.section h3 { margin: 0 0 10px; font-size: 15px; }
.mini { width: 100%; border-collapse: collapse; font-size: 14px; }
.mini td, .mini th { padding: 7px 6px; position: static; background: none; }
.cc-toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; }
.cc-toast.show { opacity: 1; }
.cc-toast.err { background: var(--red); }
.note-box { background: var(--gold-soft); border: 1px solid #f1d6a6; color: #6b4206; border-radius: 10px; padding: 12px 14px; margin: 12px 0; font-size: 14px; }
@media (max-width: 720px) {
  .cc-top { flex-wrap: wrap; }
  .dnc-row { grid-template-columns: 14px 1fr auto; } .dnc-row .npn, .dnc-row .chev { display: none; }
  .form .two { grid-template-columns: 1fr; }
}

/* icons */
.ic { flex-shrink: 0; display: inline-block; vertical-align: middle; }
.cc-nav a { display: inline-flex; align-items: center; gap: 7px; }
.cc-nav a .ic { opacity: .85; }
.card h3.with-ic { display: flex; align-items: center; gap: 8px; }
.card h3.with-ic .ic { color: var(--navy); }
.card.module { text-decoration: none; color: inherit; display: block; }
.mod-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); color: var(--navy); margin-bottom: 14px; transition: background-color .2s, color .2s; }
.card.module:hover .mod-ic { background: var(--navy); color: #fff; }
.card.module h3 { color: var(--ink); font-size: 14px; }

/* home boards: Bulletin board + Quick links, side by side, vertical lists of equal height */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); gap: 14px; align-items: start; margin-bottom: 14px; }
.home-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.home-col .rprev { margin-bottom: 0; }
@media (max-width: 980px) { .home-grid { grid-template-columns: minmax(0, 1fr); } }

/* collapsible lists on the home boxes */
.clip { position: relative; overflow: hidden; transition: max-height .32s ease; }
.clip.clipped::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: linear-gradient(rgba(255,255,255,0), #fff 85%); pointer-events: none; transition: opacity .2s; }
.clip.clipped:hover::after { opacity: .55; }
.more-bar { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; margin-top: 4px; padding: 5px; border: 0; border-radius: 7px; background: none; color: var(--navy); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background-color .15s; }
.more-bar:hover, .clip.clipped:hover + .more-bar { background: var(--blue-soft); }
/* the row takes the calendar's height; the bulletin and quick links fill it and scroll */
.board { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 8px; }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 2px 6px; }
.board-head .btn.sm { padding: 3px 10px; font-size: 12.5px; text-decoration: none; }
.board-head h2 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 14px; letter-spacing: .02em; }
/* calendar header: My calendar, Show and + Add date wrap onto a second line instead of running past the box */
.board-head:has(.cal-tools) { flex-wrap: wrap; row-gap: 8px; }
.cal-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; min-width: 0; margin-left: auto; }
.cal-tools .btn { white-space: nowrap; }
.board-head h2 .ic { color: var(--navy); }
.board-head .count { font-weight: 700; font-size: 11px; color: var(--navy); background: var(--blue-soft); border-radius: 999px; padding: 1px 7px; }
.board-note { margin: 0 2px 8px; font-size: 12.5px; color: var(--muted); }
.board-note.strong { display: flex; align-items: center; gap: 6px; color: #7a4a06; background: var(--gold-soft); border: 1px solid #f1dcb0; border-radius: 7px; padding: 4px 8px; font-size: 12px; font-weight: 600; margin: 0 0 6px; }
.board-note.strong .ic { flex-shrink: 0; color: #b7740f; }
.board-list { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 4px; }
.board-empty { margin: 4px 2px; font-size: 13.5px; color: var(--muted); }

.post { min-width: 0; overflow: hidden; border-left: 3px solid var(--navy); border-radius: 6px; background: #f8f9fd; }
.post.important { border-left-color: var(--gold); background: #fffaf1; }
.post.urgent { border-left-color: var(--red); background: #fff6f6; }
.post.expired { opacity: .55; }
.post-line { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: 1px; padding: 5px 9px; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; min-width: 0; }
.post-line:hover .post-title { text-decoration: underline; }
.post-top { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ptag { flex-shrink: 0; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 1px 6px; border-radius: 4px; background: var(--blue-soft); color: var(--navy); }
.ptag.important { background: var(--gold-soft); color: #92560b; }
.ptag.urgent { background: var(--red-soft); color: var(--red); }
.pinned { flex-shrink: 0; display: inline-flex; color: var(--muted); }
.newb { flex-shrink: 0; font-size: 10px; font-weight: 800; text-transform: uppercase; background: var(--gold); color: #fff; padding: 1px 5px; border-radius: 4px; }
.post-when { flex-shrink: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }
.post-title { flex: 1; min-width: 0; font-weight: 600; font-size: 13.5px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post.open .post-title { white-space: normal; overflow-wrap: anywhere; }
.post-peek { color: var(--muted); font-size: 12.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.post-more { padding: 2px 10px 6px; }
.post-body { color: var(--ink); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.post-meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; color: var(--muted); min-height: 22px; flex-wrap: wrap; }
.post-actions { margin-left: auto; display: flex; gap: 6px; }

.qlink { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.qlink:hover { border-color: #c5cae3; box-shadow: 0 3px 10px rgba(10,26,140,.06); }
.qlink.open { border-color: #c5cae3; background: #fbfcff; }
.qlink-row { display: flex; align-items: center; min-width: 0; }
.qlink-main { flex: 1; display: flex; align-items: center; gap: 9px; padding: 5px 4px 5px 8px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; min-width: 0; }
.qlink-main:hover .qlink-title { text-decoration: underline; }
.qlink-ic { flex-shrink: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--blue-soft); color: var(--navy); }
.qlink-ic.k-sheet { background: #e6f4ea; color: #137333; }
.qlink-ic.k-doc { background: #e8f0fe; color: #1a56c4; }
.qlink-ic.k-drive { background: #fef7e0; color: #a86500; }
.qlink-ic.k-form, .qlink-ic.k-clickup { background: #f3e8fd; color: #7b2cbf; }
.qlink-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.qlink-title { display: flex; align-items: center; gap: 5px; font-weight: 600; font-size: 13.5px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qlink.open .qlink-title { white-space: normal; overflow-wrap: anywhere; }
.qlink-note { font-size: 12.5px; color: var(--muted); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qlink-go { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; margin-right: 4px; border-radius: 6px; color: var(--muted); }
.qlink-go:hover { background: var(--blue-soft); color: var(--navy); }
.qlink-more { padding: 0 10px 8px 43px; }
.qlink-full { font-size: 13.5px; line-height: 1.45; overflow-wrap: anywhere; }
.qlink-meta { margin-top: 4px; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.qlink-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.qlink-actions .btn.sm { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; font-size: 12.5px; text-decoration: none; }
@media (max-width: 560px) { .qlink-more { padding-left: 10px; } }

.linkbtn { border: 0; background: none; color: var(--navy); font: inherit; font-size: 13px; font-weight: 600; padding: 6px 4px 0; cursor: pointer; }
.form select { padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
@media (max-width: 720px) { .stats-row { grid-template-columns: 1fr 1fr; } .stat { padding: 8px 10px; gap: 8px; } .stat-ic { display: none; } .stat-v { font-size: 16px; } }

/* summary stats (compact row) */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 10px; margin-bottom: 18px; }
.stat > span:last-child { min-width: 0; }
.stat { min-width: 0; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.stat:hover { border-color: #c5cae3; box-shadow: 0 4px 14px rgba(10,26,140,.06); }
.stat-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--blue-soft); color: var(--navy); flex-shrink: 0; }
.stat-l { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-v { display: block; font: 700 20px/1.2 var(--mono); }
@media (max-width: 720px) { .stats-row { grid-template-columns: 1fr 1fr; } .stat { padding: 8px 12px; } .stat-ic { display: none; } .stat-v { font-size: 17px; } }

/* account menu */
.cc-user { position: relative; }
.acct-btn { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; border-radius: 999px; padding: 3px 10px 3px 3px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; }
.acct-btn:hover, .acct-btn[aria-expanded="true"] { background: rgba(255,255,255,.1); }
.acct-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { display: inline-grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 700; flex-shrink: 0; letter-spacing: .02em; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 280px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(5,10,40,.18); padding: 6px; z-index: 40; }
.acct-head { display: flex; gap: 12px; align-items: center; padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.acct-hname { font-weight: 700; }
.acct-email { font-size: 13px; color: var(--muted); word-break: break-all; }
.acct-role { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: var(--blue-soft); padding: 2px 7px; border-radius: 5px; }
.acct-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: none; border-radius: 8px; color: var(--ink); text-decoration: none; font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.acct-item:hover { background: #f3f5fc; }
.acct-item .ic { color: var(--muted); }
.acct-item.danger { color: var(--red); } .acct-item.danger .ic { color: var(--red); }
.prof-preview { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fbfbfe; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; margin-top: -6px; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span { display: block; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 2px #fff, 0 0 0 3px transparent; }
.swatch input:checked + span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.swatch input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 3px; }
.form label.swatch { display: inline-block; }
.sec-list { padding-left: 20px; line-height: 1.6; color: var(--ink); }
@media (max-width: 720px) { .cc-user { display: block; } .acct-name { display: none; } .acct-btn { padding: 3px; } }

/* ---------- layout: slim top bar + grouped sidebar ---------- */
.cc-top { gap: 12px; padding: 8px 18px; height: 56px; }
.cc-spacer { flex: 1; }
.cc-burger { display: none; border: 0; background: transparent; color: #fff; padding: 6px; border-radius: 8px; cursor: pointer; }
.cc-burger:hover { background: rgba(255,255,255,.1); }
.cc-shell { display: flex; align-items: flex-start; }
.cc-side { position: sticky; top: 56px; height: calc(100vh - 56px); width: 232px; flex-shrink: 0; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--line); padding: 14px 10px 10px; overflow-y: auto; transition: width .22s cubic-bezier(.32,.72,0,1); z-index: 25; }
.cc-side .cc-nav { display: block; flex: 1; overflow: visible; }
.nav-group { margin-bottom: 14px; }
.nav-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 10px 6px; white-space: nowrap; }
.cc-side .cc-nav a { display: flex; align-items: center; gap: 11px; padding: 8px 10px; margin-bottom: 2px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.cc-side .cc-nav a .ic { color: var(--muted); opacity: 1; }
.cc-side .cc-nav a:hover { background: #f1f3fb; color: var(--ink); }
.cc-side .cc-nav a[aria-current="page"] { background: var(--blue-soft); color: var(--navy); }
.cc-side .cc-nav a[aria-current="page"] .ic { color: var(--navy); }
.cc-collapse { display: flex; align-items: center; gap: 10px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; padding: 8px 10px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.cc-collapse:hover { background: #f1f3fb; color: var(--ink); }
.cc-collapse svg { transition: transform .22s; }
.cc-main { flex: 1; min-width: 0; max-width: 1240px; margin: 0 auto; }
html.nav-collapsed .cc-side { width: 64px; }
html.nav-collapsed .cc-side .cc-nav a span, html.nav-collapsed .nav-label, html.nav-collapsed .cc-collapse span { display: none; }
html.nav-collapsed .cc-side .cc-nav a, html.nav-collapsed .cc-collapse { justify-content: center; padding: 9px; }
html.nav-collapsed .nav-group { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
html.nav-collapsed .nav-group:last-child { border-bottom: 0; }
html.nav-collapsed .cc-collapse svg { transform: rotate(180deg); }
.cc-scrim { position: fixed; inset: var(--side-top, 56px) 0 0 0; background: rgba(5,10,40,.4); z-index: 24; }
@media (max-width: 900px) {
  .cc-burger { display: inline-grid; place-items: center; }
  .cc-top { flex-wrap: nowrap; }
  .cc-brand span { font-size: 12px; }
  .cc-side { position: fixed; left: 0; top: var(--side-top, 56px); height: calc(100vh - var(--side-top, 56px)); width: 260px; transform: translateX(-100%); transition: transform .22s cubic-bezier(.32,.72,0,1); box-shadow: 10px 0 30px rgba(5,10,40,.15); }
  html.nav-open .cc-side { transform: none; }
  html.nav-collapsed .cc-side { width: 260px; }
  html.nav-collapsed .cc-side .cc-nav a span, html.nav-collapsed .nav-label { display: initial; }
  html.nav-collapsed .cc-side .cc-nav a { justify-content: flex-start; padding: 8px 10px; }
  html.nav-collapsed .nav-group { border-bottom: 0; }
  .cc-collapse { display: none; }
}
@media (max-width: 560px) { .cc-top { padding: 8px 10px; gap: 8px; } .cc-brand span { font-size: 0; } .cc-brand span b { font-size: 14px; letter-spacing: .14em; } }

/* row selection + bulk delete */
th.ck, td.ck { width: 40px; padding-right: 0; }
td.ck input, th.ck input { width: 16px; height: 16px; accent-color: var(--navy); cursor: pointer; }
tr.picked td { background: #eef1fc; }
.sel-pill { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 4px; background: #101a5c; color: #fff; border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: 0 14px 34px rgba(5,10,40,.3); font-size: 14px; }
.sel-pill .sep { color: #9aa3d6; margin: 0 6px; }
.pill-btn { border: 0; background: transparent; color: #d7dcf7; font: inherit; font-weight: 600; padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.pill-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.pill-btn.danger { background: #c0262e; color: #fff; }
.pill-btn.danger:hover { background: #a51f26; }
.del-list { list-style: none; padding: 0; margin: 14px 0; border: 1px solid var(--line); border-radius: 10px; }
.del-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.del-list li:last-child { border-bottom: 0; }
.btn.danger-solid { background: var(--red); border-color: var(--red); color: #fff; }

/* main search: clearly outlined, blue icon, "/" to focus */
.search { height: 44px; border: 2px solid rgba(10,26,140,.3); border-radius: 10px; padding-left: 42px; padding-right: 40px; font-size: 15px; box-shadow: 0 1px 3px rgba(10,26,140,.08);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%230a1a8c' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='6.5'/%3E%3Cpath d='m14 14 4.5 4.5'/%3E%3C/svg%3E") 13px 50% no-repeat; transition: border-color .2s, box-shadow .2s; }
.search::placeholder { color: rgba(11,16,51,.5); }
.search:hover { border-color: rgba(10,26,140,.5); }
.search:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10,26,140,.12); }
.search-wrap { position: relative; }
.search-wrap kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 11px var(--mono); color: var(--muted); border: 1px solid rgba(11,16,51,.2); border-radius: 4px; padding: 1px 6px; background: var(--bg); pointer-events: none; }
.search-wrap .search:not(:placeholder-shown) + kbd { display: none; }

/* requests board (kanban) */
.hero.slim { padding: 18px 24px; }
.hero.slim h1 { font-size: 24px; }
.hero.slim p { max-width: 720px; font-size: 14px; }
.req-tools .sel { padding: 0 12px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: 14px; color: var(--ink); max-width: 210px; }
.req-tools .btn { height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.btn.spin .ic { animation: ccspin 1s linear infinite; }
@keyframes ccspin { to { transform: rotate(360deg); } }
.req-status { font-size: 12.5px; color: var(--muted); margin: -4px 2px 12px; }
.req-status .neg { color: var(--red); }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(230px, 1fr)); gap: 12px; align-items: stretch; overflow-x: auto; padding-bottom: 6px; }
.kcol { display: flex; flex-direction: column; background: #eef0f8; border-radius: 12px; padding: 10px 8px 8px; min-width: 0; min-height: max(280px, calc(100vh - 330px)); transition: background-color .12s, box-shadow .12s; }
.kcol.over { background: #e1e8fb; box-shadow: inset 0 0 0 2px rgba(47,111,228,.45); }
.kdrop-line { height: 3px; border-radius: 2px; background: #2f6fe4; margin: -2px 2px; box-shadow: 0 0 0 3px rgba(47,111,228,.15); }
.kcol-head { display: flex; align-items: center; gap: 7px; padding: 0 4px 8px; flex-wrap: wrap; }
.kcol-head h2 { margin: 0; font-size: 14px; letter-spacing: .02em; }
.kcol-head .count { font-weight: 700; font-size: 11px; color: var(--navy); background: #fff; border-radius: 999px; padding: 1px 7px; }
.khint { flex-basis: 100%; font-size: 11.5px; color: var(--muted); padding-left: 15px; }
.kdot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.kdot.new { background: #2f6fe4; } .kdot.working { background: var(--gold); } .kdot.waiting { background: #6b4fa0; } .kdot.done { background: #17734a; }
.kcol-list { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 7px; min-height: 80px; max-height: calc(100vh - 290px); overflow-y: auto; border-radius: 8px; padding: 2px; transition: background-color .15s; scrollbar-width: thin; }
.kempty { margin: 6px 6px; font-size: 13px; color: var(--muted); }
.kcol .linkbtn { padding: 6px 6px 0; font-size: 12.5px; }
.rcard { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--navy); border-radius: 8px; padding: 8px 10px; cursor: grab; min-width: 0; transition: box-shadow .15s, border-color .15s; }
.rcard:hover { box-shadow: 0 4px 12px rgba(10,26,140,.08); }
.rcard:focus-visible { outline: 2px solid var(--blue, #2f6fe4); outline-offset: 2px; }
.rcard.dragging { opacity: .45; }
.rcard-top { display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.rkind { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.rage { flex-shrink: 0; font-size: 11.5px; color: var(--muted); }
.rname { font-weight: 600; font-size: 14px; margin-top: 3px; overflow-wrap: anywhere; }
.rmail { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rdetail { margin-top: 4px; font-size: 12.5px; line-height: 1.35; color: var(--ink, #1c2340); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rhand { display: inline-flex; vertical-align: -1px; margin-right: 4px; color: var(--muted); }
.kadd { margin-left: auto; display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
.kadd:hover, .kadd:focus-visible { background: #fff; border-color: var(--line, #dfe3ee); color: var(--navy); }
.rcard.fresh { animation: rfresh 1.6s ease-out; }
@keyframes rfresh { from { box-shadow: 0 0 0 3px rgba(47,111,228,.45); } to { box-shadow: 0 0 0 3px rgba(47,111,228,0); } }
.rdetails { white-space: normal; font-size: 14.5px; line-height: 1.5; }
.rfoot { display: flex; align-items: center; gap: 8px; margin-top: 6px; min-height: 22px; }
.rown { margin-left: auto; }
.avatar.sm { width: 22px; height: 22px; font-size: 9.5px; }
.unowned { color: var(--muted); font-size: 12px; }
.rcom { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--muted); }
.rdue { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: var(--blue-soft); color: var(--navy); }
.rdue.soon { background: var(--gold-soft); color: #92560b; }
.rdue.late { background: var(--red-soft); color: var(--red); }
.rcard.k-contract { border-left-color: #2f6fe4; } .rcard.k-contract .rkind, .rkind.k-contract { color: #1a56c4; }
.rcard.k-newagent { border-left-color: var(--navy); }
.rcard.k-release { border-left-color: var(--gold); } .rcard.k-release .rkind, .rkind.k-release { color: #92560b; }
.rcard.k-support { border-left-color: #17734a; } .rcard.k-support .rkind, .rkind.k-support { color: #17734a; }
.rcard.k-rewards { border-left-color: #6b4fa0; } .rcard.k-rewards .rkind, .rkind.k-rewards { color: #6b4fa0; }
.rcard.k-ascend { border-left-color: #0f7c86; } .rcard.k-ascend .rkind, .rkind.k-ascend { color: #0f7c86; }
.rdraw h2 { margin: 6px 0 4px; }
.rdraw-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; padding-right: 34px; }
.rcontact { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 14px; }
.rcontact .btn { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; }
.rcontrols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 4px; }
.rcontrols label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.rcontrols select, .rcontrols input { height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 14px; color: var(--ink); min-width: 0; }
.ranswers { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 6px 12px; margin: 0; font-size: 13.5px; max-height: 300px; overflow-y: auto; }
.ranswers dt { color: var(--muted); } .ranswers dd { margin: 0; overflow-wrap: anywhere; }
.ranswers dt.full { grid-column: 1 / -1; color: var(--ink); font-weight: 600; margin-top: 4px; }
.rnotes { display: grid; gap: 8px; margin-bottom: 8px; }
.rnote { background: #f8f9fd; border-radius: 8px; padding: 7px 10px; font-size: 14px; }
.rnote-meta { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.rnote-form { display: grid; gap: 6px; justify-items: end; }
.rnote-form textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14px; resize: vertical; }
@media (max-width: 720px) { .req-tools { flex-wrap: wrap; } .req-tools .sel { flex: 1; max-width: none; } .kanban { grid-template-columns: repeat(4, 82vw); scroll-snap-type: x mandatory; } .kcol { scroll-snap-align: start; } .rcontrols { grid-template-columns: 1fr 1fr; } .ranswers { grid-template-columns: 1fr; } }
.avatar.sm { background: var(--navy); }

/* home: requests preview under the boards */
.rprev { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 8px; margin-bottom: 14px; }
.rprev-stats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.rps { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #f2f4fb; color: var(--ink); text-decoration: none; font-size: 12.5px; }
.rps b { font-family: var(--mono); font-size: 13px; }
.rps:hover { background: var(--blue-soft); }
.rps.strong { background: var(--blue-soft); color: var(--navy); font-weight: 600; }
.rps.late { background: var(--red-soft); color: var(--red); font-weight: 600; }
.rps.sep { width: 1px; padding: 0; background: var(--line); border-radius: 0; margin: 2px 2px; }
.rprev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rprev-list a { display: flex; align-items: center; gap: 10px; padding: 6px 9px; border: 1px solid var(--line); border-left: 3px solid var(--navy); border-radius: 7px; text-decoration: none; color: inherit; min-width: 0; }
.rprev-list a:hover { box-shadow: 0 3px 10px rgba(10,26,140,.06); border-color: #c5cae3; }
.rprev-list a.k-contract { border-left-color: #2f6fe4; } .rprev-list a.k-release { border-left-color: var(--gold); } .rprev-list a.k-support { border-left-color: #17734a; } .rprev-list a.k-rewards { border-left-color: #6b4fa0; } .rprev-list a.k-ascend { border-left-color: #0f7c86; }
.rprev-list .rkind { flex: 0 1 190px; }
.rp-name { flex: 1; min-width: 0; font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rprev-list .rown { margin-left: 0; width: 22px; }
@media (max-width: 720px) { .rprev-list .rkind { display: none; } .rprev-list .rage { display: none; } }

.form-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* team calendar */
.cal { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 8px; min-width: 0; }
.cal-nav { display: flex; align-items: center; gap: 4px; margin: 0 2px 4px; font-size: 13.5px; }
.cal-nav b { min-width: 120px; text-align: center; }
.cal-arrow { display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 6px; background: none; color: var(--navy); cursor: pointer; }
.cal-arrow:hover { background: var(--blue-soft); }
.cal-nav .linkbtn { margin-left: auto; padding: 0 4px; font-size: 12.5px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cw { text-align: center; font-size: 10.5px; font-weight: 700; color: var(--muted); padding: 2px 0; }
.cd { position: relative; height: 30px; border: 0; border-radius: 7px; background: none; font: inherit; font-size: 12.5px; color: var(--ink); cursor: pointer; padding: 0 0 8px; font-variant-numeric: tabular-nums; }
.cd.pad { cursor: default; }
.cd:hover:not(.pad) { background: #f0f2fa; }
.cd.past { color: #9aa0b8; }
.cd.has { font-weight: 700; }
.cd.today { background: var(--navy); color: #fff; }
.cd.today:hover { background: var(--navy); }
.cd.sel { box-shadow: inset 0 0 0 2px #2f6fe4; }
.cdots { position: absolute; left: 0; right: 0; bottom: 5px; display: flex; justify-content: center; gap: 2px; }
.cdots i, .ev .ev-date::after { width: 5px; height: 5px; border-radius: 50%; background: #2f6fe4; }
.cdots i.deadline { background: var(--red); } .cdots i.meeting { background: #6b4fa0; } .cdots i.training { background: #17734a; } .cdots i.closed { background: var(--gold); }
.cd.today .cdots i { box-shadow: 0 0 0 1px #fff; }
.cal-list-head { display: flex; align-items: baseline; justify-content: space-between; margin: 8px 2px 5px; font-size: 12.5px; border-top: 1px solid var(--line); padding-top: 8px; }
.cal-list-head .linkbtn { padding: 0; font-size: 12px; }
.cal-list { display: grid; gap: 4px; }
.ev { border: 1px solid var(--line); border-left: 3px solid #2f6fe4; border-radius: 7px; background: #fff; min-width: 0; }
.ev.deadline { border-left-color: var(--red); } .ev.meeting { border-left-color: #6b4fa0; } .ev.training { border-left-color: #17734a; } .ev.closed { border-left-color: var(--gold); }
.ev.open { background: #fbfcff; }
.ev-line { width: 100%; display: flex; align-items: center; gap: 9px; padding: 4px 8px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; min-width: 0; }
.ev-line:hover .ev-title { text-decoration: underline; }
.ev-date { flex-shrink: 0; display: grid; justify-items: center; width: 30px; line-height: 1; }
.ev-date b { font-size: 15px; } .ev-date span { font-size: 9.5px; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.ev-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ev-title { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev.open .ev-title { white-space: normal; overflow-wrap: anywhere; }
.ev-when { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-when b { color: var(--navy); }
.ev.deadline .ev-when b { color: var(--red); }
.ev-more { padding: 0 9px 7px 47px; }
.ev-note { font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.ev-meta { margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.ev-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ev-actions .btn.sm { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; font-size: 12.5px; text-decoration: none; }

/* scrolling lists with a "more" hint (Calendar, Quick links) */
.scrolly { position: relative; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d3d7e8 transparent; padding-right: 2px; --fade: 34px; }
.scrolly.more-below { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--fade)), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - var(--fade)), transparent); }
.scrolly.more-above { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18px); mask-image: linear-gradient(to bottom, transparent, #000 18px); }
.scrolly.more-above.more-below { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18px, #000 calc(100% - var(--fade)), transparent); mask-image: linear-gradient(to bottom, transparent, #000 18px, #000 calc(100% - var(--fade)), transparent); }
.scroll-hint { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 3px auto 0; padding: 1px 10px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; transition: color .15s, background-color .15s; }
.scroll-hint span { display: inline-block; animation: hintbob 1.8s ease-in-out 2; }
.scroll-hint:hover { color: var(--navy); background: var(--blue-soft); }
@keyframes hintbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(2px); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint span { animation: none; } }

/* universal search in the home banner */
.gsearch { position: relative; margin-top: 14px; max-width: 760px; }
.gsearch-box { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 12px 0 14px; background: #fff; border-radius: 12px; box-shadow: 0 6px 20px rgba(3, 10, 70, .25); color: var(--navy); }
.gsearch-box:focus-within { box-shadow: 0 0 0 3px rgba(240, 180, 80, .55), 0 6px 20px rgba(3, 10, 70, .25); }
.gsearch-box .ic { flex-shrink: 0; }
.gsearch-box .search { flex: 1; min-width: 0; height: 100%; border: 0 !important; outline: 0; box-shadow: none !important; background: none; padding: 0 !important; font: inherit; font-size: 16px; color: var(--ink); }
.gsearch-box kbd { flex-shrink: 0; font: 600 11px var(--mono); color: var(--muted); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 2px 6px; background: #f6f7fb; }
.gsearch-results { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); max-height: min(62vh, 520px); overflow-y: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 44px rgba(10, 26, 140, .18); padding: 6px; scrollbar-width: thin; }
.gs-group + .gs-group { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.gs-head { display: flex; align-items: center; gap: 6px; padding: 6px 8px 3px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gs-head .ic { color: var(--navy); }
.gs-head span { margin-left: auto; font-weight: 600; letter-spacing: 0; text-transform: none; }
.gs-item { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; padding: 6px 30px 6px 10px; border: 0; border-radius: 8px; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; min-width: 0; }
.gs-item.active { background: var(--blue-soft); }
.gs-title { font-weight: 600; font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-sub { font-size: 12.5px; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-ext { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.gs-item mark { background: #ffe8a8; color: inherit; border-radius: 2px; padding: 0 1px; }
.gs-empty { margin: 0; padding: 12px; font-size: 14px; color: var(--muted); }
.post.flash { animation: ccflash 1.6s ease 1; }
@keyframes ccflash { 0%, 40% { box-shadow: 0 0 0 3px rgba(240, 180, 80, .8); } 100% { box-shadow: none; } }
@media (max-width: 560px) { .gsearch-box kbd { display: none; } .gsearch-box .search { font-size: 15px; } }
.form-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-row label[hidden] { display: none; }
.ev-rep { display: inline-flex; vertical-align: -1px; margin-right: 4px; color: var(--muted); }
.ev-yours { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 12px; font-weight: 600; color: var(--navy); }
.rcard.k-ghl { border-left-color: #475569; } .rcard.k-ghl .rkind, .rkind.k-ghl { color: #475569; }
.rprev-list a.k-ghl { border-left-color: #475569; }
.rforms-web { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.rforms-list { display: grid; gap: 2px; max-height: 300px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; padding: 4px; }
.rform { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; font-size: 14px; cursor: pointer; }
.rform:hover { background: #f4f6fc; }
.rform[hidden] { display: none; }
.search.sm { height: 36px; font-size: 14px; margin-bottom: 6px; }
.rel-badge { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; vertical-align: 1px; white-space: nowrap; }
.rel-badge.red { background: var(--red); }
.rel-badge.orange { background: #d9822b; }
.rel-note { margin-top: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; line-height: 1.45; }
.rel-note.red { background: var(--red-soft); color: var(--red); border: 1px solid rgba(200, 40, 40, .25); }
.rel-note.orange { background: #fff3e4; color: #9a5310; border: 1px solid #f3cf9f; }

/* ---------- New Agents tracker ---------- */
.kanban.five { grid-template-columns: repeat(5, minmax(220px, 1fr)); }
.kdot.na-new { background: #2f6fe4; } .kdot.na-call { background: var(--gold); } .kdot.na-waiting { background: #6b4fa0; } .kdot.na-onboarding { background: #0f7c86; } .kdot.na-done { background: #17734a; }
.rcard.na { border-left: 3px solid #c7cde0; }
.rcard.na.na-orange { border-left-color: #e08a1e; }
.rcard.na.na-red { border-left-color: var(--red); background: #fff8f8; }
.rkind.na-call { display: inline-flex; align-items: center; gap: 4px; color: #92560b; }
.na-flags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.na-flag { font-size: 11px; font-weight: 600; border-radius: 5px; padding: 2px 6px; line-height: 1.3; }
.na-flag.red { background: var(--red-soft); color: var(--red); }
.na-flag.orange { background: #fdf0de; color: #9a5a08; }
.rps.soon { background: #fdf0de; color: #9a5a08; font-weight: 600; }
.na-note { display: flex; align-items: center; gap: 7px; margin-top: 8px; padding: 8px 11px; border-radius: 8px; font-size: 13.5px; font-weight: 600; }
.na-note.red { background: var(--red-soft); color: var(--red); }
.na-note.orange { background: #fdf0de; color: #9a5a08; }
.na-note.grey { background: #eef0f6; color: var(--muted); font-weight: 500; }
.na-sec h3 { display: flex; align-items: center; gap: 6px; }
.na-hint { margin: -2px 0 8px; font-size: 12.5px; }
.na-when { margin-bottom: 8px; }
.na-checks { display: grid; gap: 6px; }
.na-check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.na-check input { width: 17px; height: 17px; accent-color: var(--navy); }
.na-check input:disabled + span { color: var(--muted); }
.na-lost .table-wrap { margin-top: 4px; }
.na-lost tr { cursor: pointer; }

/* ---------- Team & access ---------- */
.team-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; }
.team-note svg { flex-shrink: 0; margin-top: 2px; color: var(--navy); }
.team-add { display: flex; gap: 8px; align-items: center; max-width: 760px; margin: 0 0 16px; }
.team-input { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--line, #d5d9ea); border-radius: 10px; padding: 0 12px; font: inherit; background: #fff; }
.team-input:focus, .team-sel:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10,26,140,.12); }
.team-sel { height: 38px; border: 1px solid var(--line, #d5d9ea); border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; background: #fff; color: inherit; cursor: pointer; }
.team-sel:disabled { cursor: default; background: #f6f7fb; }
.team-who { display: flex; align-items: center; gap: 10px; }
.team-who .muted { font-size: 12.5px; }
.team-table td { vertical-align: middle; }
.team-table tr { cursor: default; }
.team-table tr.off td { opacity: .6; }
.team-table tr.sep td { background: var(--soft, #f6f7fb); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); opacity: 1; }
.team-table .tag { font-size: 11px; font-weight: 600; background: #e7eafb; color: var(--navy); border-radius: 5px; padding: 1px 6px; }
.role-pill { display: inline-block; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: #eef0f6; color: var(--ink, #1c2340); }
.role-pill.owner { background: #fdf0de; color: #8a5208; }
.role-pill.admin { background: #e7eafb; color: var(--navy); }
.state { font-size: 12.5px; font-weight: 700; }
.state.on { color: #17734a; } .state.off { color: var(--red); } .state.warn { color: #9a5a08; }
.note-box.team-note.linked { background: #e9f5ee; border-color: #bfe1cc; color: #145c3b; }
.note-box.team-note.linked svg { color: #17734a; }
.team-foot { font-size: 13px; margin-top: 10px; }

/* Agent directory: contracting and general notes in the agent panel */
.section h3 .count { font-weight: 700; font-size: 11px; color: var(--navy); background: var(--blue-soft); border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
.agent-note { border-left: 3px solid var(--blue-soft); padding: 4px 0 4px 10px; margin: 0 0 10px; }
.agent-note-meta { font-size: 12.5px; color: var(--muted, #667); display: flex; flex-wrap: wrap; gap: 4px; align-items: baseline; }
.agent-note-meta b { color: var(--ink, inherit); }
.agent-note-tools { margin-left: auto; display: flex; gap: 6px; }
.agent-note-tools .linkbtn { padding: 0 2px; font-size: 12px; }
.agent-note-tools .linkbtn.danger { color: #b42318; }
.agent-note-body { margin-top: 3px; white-space: normal; overflow-wrap: anywhere; }
.agent-note-add { margin-top: 6px; }
.agent-note-add textarea { min-height: 54px; }

/* Agent directory: Remove from directory (warning pop-up and the "removed" banner) */
.warn-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(5, 10, 92, .45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.warn-box { background: #fff; border-radius: 14px; max-width: 460px; width: 100%; padding: 24px 24px 20px; box-shadow: 0 20px 60px rgba(5, 10, 92, .35); border-top: 5px solid var(--red); }
.warn-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.warn-box h2 { margin: 0 0 8px; font-size: 19px; }
.warn-body p { margin: 0 0 8px; }
.warn-list { margin: 0 0 12px; padding-left: 18px; font-size: 14px; }
.warn-list li { margin: 4px 0; }
.warn-reason { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.warn-reason input { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-weight: 400; color: var(--ink); }
.warn-box .actions { margin-top: 16px; }
.removed-banner { background: var(--red-soft); border: 1px solid #f3c4c4; border-radius: 10px; padding: 10px 12px; margin: 10px 0 4px; font-size: 13.5px; }

/* Carrier Submissions */
.carrier-chip { display: inline-block; color: #fff; border-radius: 6px; padding: 2px 9px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.sst { display: inline-block; border-radius: 999px; padding: 2px 9px; font-size: 11.5px; font-weight: 700; white-space: nowrap; border: 0; }
.sst.requested { background: #eceef4; color: #4a5170; }
.sst.contract_sent { background: var(--blue-soft); color: var(--navy); }
.sst.pending { background: var(--gold-soft); color: #8a5a00; }
.sst.done { background: var(--green-soft); color: var(--green); }
.sst.completed { background: #cfeedd; color: #0d5634; }
.sst-sel { cursor: pointer; appearance: none; -webkit-appearance: none; padding: 3px 22px 3px 10px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 11px) 50%, calc(100% - 7px) 50%; background-size: 4px 4px; background-repeat: no-repeat; }
.sub-board { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sub-group + .sub-group { border-top: 1px solid var(--line); }
.sub-head { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: #fafbfe; border: 0; padding: 10px 14px; cursor: pointer; font: inherit; }
.sub-head:hover { background: #f1f3fb; }
.sub-head .tri { color: var(--muted); font-size: 11px; width: 10px; }
.sub-group .table-wrap { border: 0; border-radius: 0; margin: 0; }
.sub-table { table-layout: fixed; width: 100%; }
.sub-table td { overflow-wrap: anywhere; }
.sub-table tbody tr { cursor: pointer; }
.sub-table tbody tr:hover { background: #f6f7fd; }
.sub-note { font-size: 12px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.src-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #fff4d6; color: #8a5a00; border-radius: 4px; padding: 1px 5px; margin-left: 4px; vertical-align: 1px; }
.sub-mini tr.clickable { cursor: pointer; }
.sub-mini tr.clickable:hover { background: #f6f7fd; }
@media (max-width: 760px) { .sub-table col { width: auto !important; } .sub-table { table-layout: auto; min-width: 680px; } }

/* Carrier Submissions: carrier cards, work queue, carriers manager */
.sub-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0 0 14px; }
.sub-card { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; font: inherit; color: inherit; }
.sub-card:hover { border-color: #c5cbe6; }
.sub-card.on { outline: 2px solid var(--navy); outline-offset: -1px; }
.sub-card .big { font-size: 20px; font-weight: 800; margin-top: 6px; }
.sub-card .sm { font-size: 12px; color: var(--muted); }
.late { color: var(--red); font-weight: 700; }
.sub-more { text-align: center; padding: 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sw { width: 24px; height: 24px; border-radius: 6px; border: 2px solid transparent; cursor: pointer; display: inline-block; padding: 0; }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.sw:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 2px #fff inset; }
.cm-tools { text-align: right; white-space: nowrap; }
.cm-tools .linkbtn { padding: 0 4px; font-size: 12px; }
.cm-tools .linkbtn.danger { color: var(--red); }
/* Agent directory: Possible duplicates */
.dup-count { display: inline-block; background: var(--red); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; padding: 0 7px; margin-left: 4px; }
.dup-card { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; }
.dup-why { display: inline-block; font-size: 11px; font-weight: 700; background: #fff4d6; color: #8a5a00; border-radius: 4px; padding: 1px 6px; margin-bottom: 6px; }
.dup-sides { display: grid; grid-template-columns: 1fr 20px 1fr; gap: 8px; align-items: start; }
.dup-vs { text-align: center; color: var(--muted); font-weight: 700; padding-top: 4px; }
.dup-side { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.dup-side > span { display: flex; flex-direction: column; font-size: 13px; }
.dup-side > span .muted { font-size: 12px; }
.dup-card .actions { margin-top: 8px; align-items: center; }

/* Multi-select everywhere: board cards in Select mode, the home boxes' pick lists, the bottom bar */
#cc-selbar[hidden] { display: none; }
.head-btns { display: flex; gap: 6px; align-items: center; }
.kanban.selecting .rcard, #nboard.selecting .rcard { cursor: pointer; padding-left: 34px; position: relative; }
.rcard .kpick { position: absolute; left: 10px; top: 12px; width: 16px; height: 16px; margin: 0; pointer-events: none; accent-color: var(--navy); }
.rcard.picked { outline: 2px solid var(--navy); outline-offset: -1px; background: #f3f5ff; }
.pick-all { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; margin: 6px 0 8px; }
.pick-all input, .pick-row input { width: auto; margin: 0; accent-color: var(--navy); }
.pick-list { border: 1px solid var(--line); border-radius: 10px; max-height: 55vh; overflow: auto; }
.pick-row { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-top: 1px solid var(--line); cursor: pointer; }
.pick-row:first-child { border-top: 0; }
.pick-row:hover { background: #f6f7fd; }
.pick-row > span { display: flex; flex-direction: column; font-size: 13.5px; }
.pick-row > span .muted { font-size: 12px; }
.tbl .ck, .sub-table .ck { width: 38px; }
.tbl tr.picked td, .sub-table tr.picked td { background: #f3f5ff; }

/* Agent lookup: suggestions from the Agent directory under a name field */
.lk-wrap { position: relative; }
.lk-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; margin-top: 4px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(5,10,40,.18); overflow: hidden; max-height: 320px; overflow-y: auto; }
.lk-item { display: flex; flex-direction: column; align-items: flex-start; width: 100%; text-align: left; background: #fff; border: 0; border-top: 1px solid var(--line); padding: 8px 12px; font: inherit; cursor: pointer; }
.lk-item:first-child { border-top: 0; }
.lk-item span { font-size: 12px; color: var(--muted); font-weight: 400; }
.lk-item:hover, .lk-item.on { background: #eef1fc; }
.lk-foot { font-size: 11px; color: var(--muted); padding: 5px 12px; background: #fafbfe; border-top: 1px solid var(--line); }
.lk-note { font-size: 12px; color: var(--green); margin-top: 4px; font-weight: 500; }
.lk-note.warn { color: #8a5a00; background: #fff4d6; padding: 6px 8px; border-radius: 6px; }
/* Possible duplicates: folded details under each side */
.dup-more { margin: 4px 0 0 24px; font-size: 12.5px; }
.dup-more summary { cursor: pointer; color: var(--navy); font-weight: 600; width: max-content; }
.dup-facts { margin-top: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: #fafbfe; }
.dup-facts div { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.dup-facts span { color: var(--muted); }
.dup-facts b { font-weight: 600; text-align: right; }

/* US dates: MM/DD/YYYY text field + calendar button, the real date input hidden behind it */
.usd { position: relative; display: flex; align-items: stretch; width: 100%; }
.usd .usd-text { flex: 1; min-width: 0; padding-right: 36px; }
.usd .usd-text.bad { border-color: var(--red); background: #fff8f8; }
.usd .usd-cal { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); padding: 4px 6px; border-radius: 6px; cursor: pointer; display: flex; }
.usd .usd-cal:hover { background: var(--blue-soft); color: var(--navy); }
.usd .usd-native { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
.usd-hint { display: block; font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 2px; letter-spacing: .02em; }

/* Home layout: drag and resize widgets (GridStack); each widget fills its tile and its list scrolls inside it */
.home-tools { display: flex; justify-content: flex-end; margin: -4px 0 6px; min-height: 30px; }
.home-edit-btn { display: inline-flex; align-items: center; gap: 6px; }
.home-edit { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: var(--blue-soft); border: 1px solid #cdd4f3; border-radius: 10px; padding: 8px 12px; font-size: 13px; }
.home-edit b { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); }
.home-edit-btns { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.gs-home { margin: 0 -7px 10px; }
.gs-home .grid-stack-item.gs-off { display: none; }
.gs-home .grid-stack-item-content { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; }
.gs-home .grid-stack-item-content > section { flex: 1; min-height: 0; margin: 0; display: flex; flex-direction: column; overflow: hidden; }
.gs-home .board-list, .gs-home .cal-list, .gs-home .rprev .rprev-list { flex: 1; min-height: 0; max-height: none !important; overflow: auto; }
.gs-home .more-bar, .gs-home .scroll-hint { display: none !important; }
.gs-home .cal { overflow: auto; }
.gs-home .home-numbers { overflow: auto; }
.gs-home .home-numbers .stats-row { margin: 0; }
.gs-home.gs-editing .grid-stack-item-content { outline: 2px dashed #9aa6e6; outline-offset: -1px; }
.gs-handle { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 6px 4px 10px; border-radius: 10px 10px 0 0; cursor: move; user-select: none; }
.gs-hide { border: 0; background: rgba(255,255,255,.15); color: #fff; border-radius: 6px; width: 22px; height: 22px; cursor: pointer; font-size: 12px; }
.gs-hide:hover { background: rgba(255,255,255,.3); }
.gs-home.gs-editing .grid-stack-item-content > section { pointer-events: none; opacity: .92; }
/* if the layout tool can't load, or on a phone, widgets simply stack */
.gs-home.gs-fallback { display: flex; flex-direction: column; gap: 14px; margin: 0 0 10px; }
.gs-home.gs-fallback .grid-stack-item { position: static; }

/* ---------- Centers (skeleton, 2026-11-28) ---------- */
.cc-centers { display: flex; gap: 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.cc-centers a { display: inline-flex; align-items: center; gap: 7px; color: #c9cff5; text-decoration: none; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.cc-centers a i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.cc-centers a:hover { background: rgba(255,255,255,.08); color: #fff; }
.cc-centers a[aria-current="true"] { background: #fff; color: var(--navy-deep); }
.nav-soon { font-style: normal; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 0 5px; margin-left: auto; }
.nav-soon.view { color: #8a5a00; border-color: #ecd9a8; }
.soon-box { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px dashed var(--line); border-radius: 14px; padding: 22px; max-width: 720px; }
.soon-box p { margin: 6px 0 0; }
.center-h { font-size: 16px; margin: 4px 0 10px; }
.center-cards .card.module h3 { display: flex; align-items: center; gap: 8px; }
.center-cards .card.module.soon { border-style: dashed; }
.center-shared { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.hq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.hq-box { display: block; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 14px; padding: 16px 18px; color: inherit; text-decoration: none; }
.hq-box:hover { box-shadow: 0 6px 18px rgba(10,26,140,.08); }
.hq-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.hq-head span { font-size: 13px; color: var(--muted); }
.hq-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hq-n b { display: block; font-size: 22px; }
.hq-n b.neg { color: #c0392b; }
.hq-n span { font-size: 12px; color: var(--muted); }
.center-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink); background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 35%, #fff); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.center-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.team-chips { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; text-align: left; }
.team-centers { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-top: 18px; }
.team-centers h2 { margin: 0 0 4px; font-size: 18px; }
.ax-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.ax-tabs button { background: none; border: 2px solid transparent; border-radius: 999px; padding: 1px; cursor: pointer; }
.ax-tabs button[aria-selected="true"] { border-color: var(--navy); }
.ax-hint { font-size: 13px; margin: 4px 0 10px; }
.ax-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ax-center { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.ax-head { margin-bottom: 6px; }
.ax-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ax-row:first-of-type { border-top: 0; }
.ax-row [data-l] { flex: 1; }
.ax-row .nav-soon { margin-left: 0; }
.ax-row select { max-width: 170px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
.ax-teams { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.ax-team { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.ax-wrap h3 { font-size: 15px; margin: 16px 0 6px; }
@media (max-width: 760px) { .cc-centers a { padding: 5px 8px; font-size: 12px; } .cc-centers a i { display: none; } }
html.nav-collapsed .cc-side .cc-nav a .nav-soon { display: none; }
.nav-centers { display: none; }
.nav-centers a i { width: 10px; height: 10px; border-radius: 50%; flex: none; margin: 0 4px; }
.nav-centers a.on { background: #eef1fd; }
.view-only-note { margin-bottom: 14px; }
@media (max-width: 900px) { .cc-centers { display: none; } .nav-centers { display: block; } }

/* ---------- Approvals (2026-11-28) ---------- */
.ap-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.ap-bar .spacer { flex: 1; }
.ap-card { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid #c9821b; border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.ap-card.approved { border-left-color: #1f8a4c; }
.ap-card.declined { border-left-color: #b3261e; }
.ap-card.urgent { box-shadow: 0 0 0 1px #f3c4c0 inset; }
.ap-ck { width: 18px; flex: none; padding-top: 3px; }
.ap-main { flex: 1; min-width: 0; }
.ap-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ap-title { font-size: 16px; }
.ap-status { margin-left: auto; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 10px; background: #fff4e0; color: #8a5a00; }
.ap-status.approved { background: #e5f5ec; color: #1f6b3f; }
.ap-status.declined { background: #fdecea; color: #a1271f; }
.ap-urgent { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: #c0392b; border-radius: 6px; padding: 1px 6px; }
.ap-meta { font-size: 13px; color: var(--muted); margin-top: 6px; }
.ap-details { margin: 8px 0 0; white-space: pre-wrap; font-size: 14px; }
.ap-decision { margin-top: 10px; font-size: 13.5px; padding: 8px 10px; border-radius: 8px; background: #e5f5ec; }
.ap-decision.declined { background: #fdecea; }
.ap-actions { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 10px; }
.ap-actions:empty { display: none; }
.ap-form label, .ap-decide label { display: block; margin: 10px 0 0; font-weight: 600; font-size: 14px; }
.ap-form input:not([type=checkbox]), .ap-form select, .ap-form textarea, .ap-decide textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-weight: 400; }
.ap-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.ap-form label.ap-urg { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; }
.hq-approvals { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 16px; }
.hq-ap-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.hq-ap-head h2 { font-size: 17px; margin: 0; }
.hq-ap-head .count { font-size: 12px; color: var(--navy); background: var(--blue-soft); border-radius: 999px; padding: 1px 8px; vertical-align: middle; }
.hq-ap-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hq-ap-what { flex: 1; min-width: 200px; display: flex; flex-direction: column; }
.hq-ap-what .muted { font-size: 13px; }
.hq-ap { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; }
.hq-ap.has b { color: #c9821b; font-size: 15px; }
@media (max-width: 600px) { .ap-row { grid-template-columns: 1fr; } .ap-status { margin-left: 0; } }
.chips[hidden] { display: none; }

/* ---------- Tasks & projects + bell (2026-11-28) ---------- */
.cc-bell { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; cursor: pointer; flex: none; }
.cc-bell:hover { background: rgba(255,255,255,.1); }
.bell-n { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 999px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--navy-deep); }
.bell-panel { position: fixed; top: 58px; right: 16px; z-index: 60; width: min(380px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 40px rgba(5,10,92,.18); padding: 8px; }
.bell-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 8px; }
.bell-item { display: flex; gap: 10px; padding: 9px 8px; border-radius: 10px; color: inherit; text-decoration: none; }
.bell-item:hover { background: #f1f3fb; }
.bell-item > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.bell-item .muted { font-size: 12.5px; }
.bell-dot { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; flex: none; margin-top: 6px; }
.bell-empty { padding: 6px 8px 10px; margin: 0; }
.bell-all { display: block; text-align: center; padding: 8px; border-top: 1px solid var(--line); margin-top: 4px; font-weight: 600; font-size: 13px; }
.mytasks { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.mt-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 6px; }
.mt-head h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0; }
.mt-head .count { font-size: 12px; color: var(--navy); background: var(--blue-soft); border-radius: 999px; padding: 1px 8px; }
.mt-head .spacer { flex: 1; }
.mt-hq { font-size: 13px; }
.mt-hq .neg, .t-card .neg, .t-detail .neg { color: #c0392b; }
.mt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 6px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; border-radius: 6px; }
.mt-row:hover { background: #f6f7fb; }
.mt-row .muted { font-size: 13px; }
.mt-row.late .muted { color: #c0392b; }
.mt-empty, .mt-more { display: block; margin: 6px 0 0; font-size: 13px; }
.t-new { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: #2b59ff; border-radius: 6px; padding: 1px 6px; }
.t-card { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid #8a94b8; border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
.t-card.doing { border-left-color: #2b59ff; }
.t-card.done { border-left-color: #1f8a4c; opacity: .8; }
.t-card.late { border-left-color: #c0392b; }
.t-card.new { box-shadow: 0 0 0 2px #cfdcff inset; }
.t-kind-pill { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.t-title { font-size: 16px; font-weight: 700; color: var(--ink); text-align: left; text-decoration: none; }
.t-title:hover { text-decoration: underline; }
.t-status { margin-left: auto; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; font-size: 13px; background: #fff; }
.t-status.doing { background: #eef2ff; } .t-status.done { background: #e5f5ec; }
.ap-status.todo { background: #f1f3fb; color: var(--muted); } .ap-status.doing { background: #eef2ff; color: #1d3fbf; }
.t-person { font-weight: 600; } .t-team { font-size: 12px; }
.t-last { font-size: 12.5px; margin-top: 4px; }
.t-kind { display: flex; gap: 18px; margin-top: 8px; }
.t-kind label { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.t-who { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px 10px; margin: 12px 0 0; }
.t-who legend { font-weight: 600; font-size: 14px; padding: 0 4px; }
.t-who-teams { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 8px; }
.ap-form .t-pick { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; font-size: 14px; padding: 3px 0; }
.t-who-people { max-height: 180px; overflow: auto; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 4px; }
.t-who-people .muted { font-size: 12.5px; }
.t-pick[hidden] { display: none !important; }
.t-detail h2 { margin: 8px 0 4px; }
.t-detail h3 { font-size: 15px; margin: 16px 0 6px; }
.t-move { display: flex; gap: 6px; margin-top: 12px; }
.t-note { border-top: 1px solid var(--line); padding: 8px 0; font-size: 14px; }
.t-note div { white-space: pre-wrap; margin-top: 2px; }
.t-addnote { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; align-items: flex-start; }
.t-addnote textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.t-detail .ap-top { padding-right: 36px; } .t-detail .ap-status { margin-left: 0; }

/* ---------- EOD & PTO (2026-11-28) ---------- */
.acct-sep { height: 1px; background: var(--line); margin: 4px 0; }
.pto-policy { background: #f6f7fb; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-top: 10px; font-size: 13.5px; }
.pto-policy ul { margin: 0 0 6px; padding-left: 18px; }
.pto-policy p { margin: 6px 0 0; }
.pto-used { font-size: 13.5px; color: var(--ink); }
#rused { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; }
.rp-type { border: 0; padding: 0; margin: 12px 0 0; }
.rp-type legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 4px; }
.rp-card.eod { border-left-color: #2b59ff; }
.rp-card.eod.reviewed { border-left-color: #1f8a4c; }
.rp-urgent { margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: #fdecea; font-size: 14px; }
.rp-sec { margin-top: 8px; font-size: 14px; }
.rp-sec .ap-details { margin-top: 2px; }
.rp-nums { grid-template-columns: repeat(4, 1fr); margin-bottom: 6px; }
.rp-h { font-size: 15px; margin: 12px 0 4px; }
.rp-h .count { font-size: 12px; color: var(--navy); background: var(--blue-soft); border-radius: 999px; padding: 1px 8px; }
@media (max-width: 700px) { .rp-nums { grid-template-columns: 1fr 1fr; } }
.ap-form .rp-type label { display: inline-flex; white-space: nowrap; margin: 0 18px 0 0; }
.bell-dot.ok { background: #1f8a4c; }

/* ---------- Ask HQ (2026-11-28) ---------- */
.ask-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ap-form label.ask-kind { margin: 0; }
.ask-kind input { position: absolute; opacity: 0; pointer-events: none; }
.ask-kind span { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; height: 100%; box-sizing: border-box; }
.ask-kind span small { grid-column: 1 / -1; color: var(--muted); font-weight: 400; font-size: 12.5px; line-height: 1.35; }
.ask-kind input:checked + span { border-color: var(--navy); background: #eef1fd; }
.ask-kind input:focus-visible + span { outline: 3px solid #ffcf8a; }
.ask-k[hidden] { display: none; }
.ask-sm { font-size: 12.5px; margin: 6px 0 0; }
.ask-card.hq { border-left-color: #c9821b; } .ask-card.team { border-left-color: #2b59ff; } .ask-card.done { border-left-color: #1f8a4c; }
.ap-status.pending { background: #fff4e0; color: #8a5a00; } .ap-status.changes { background: #eef2ff; color: #1d3fbf; }
.ap-status.answered, .ap-status.approved_changes { background: #e5f5ec; color: #1f6b3f; }
.ask-ans { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-top: 12px; background: #fbfbfe; display: flex; flex-direction: column; gap: 8px; }
.ask-ans input, .ask-ans textarea, .ask-ver input { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.ask-ans .t-move { margin-top: 0; flex-wrap: wrap; }
.ask-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.ask-opts .chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px; cursor: pointer; font-weight: 600; }
.ask-c.decision { background: #f3fbf6; border-radius: 8px; padding: 8px 10px; border-top: 0; margin-top: 6px; }
.ask-c.version { background: #f4f6ff; border-radius: 8px; padding: 8px 10px; border-top: 0; margin-top: 6px; }
.ask-ver { display: flex; flex-direction: column; gap: 6px; width: 100%; font-size: 13.5px; }
.ask-ver label { display: flex; gap: 6px; align-items: center; }
@media (max-width: 600px) { .ask-kinds { grid-template-columns: 1fr; } }

/* ---------- Time-off balances (2026-11-28) ---------- */
.bal-table td { vertical-align: middle; }
.bal-left b { font-size: 16px; }
.bal-left.zero b { color: #8a5a00; } .bal-left.neg b { color: #c0392b; }
.bal-def { font-size: 12px; }
.bal-act { white-space: nowrap; text-align: right; } .bal-act .btn { margin-left: 4px; }
.bal-foot { font-size: 13px; margin-top: 8px; }
.bal-hist { margin-top: 6px; } .bal-form h3 { font-size: 15px; margin: 16px 0 4px; }
.bal-canvas { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; margin-top: 10px; display: block; }
.bal-month { display: flex; align-items: center; gap: 8px; font-weight: 600; } .bal-month select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; }

/* ---------- Medicare Clients (2026-11-28) ---------- */
.mc-note { margin-bottom: 12px; }
.mc-q { max-width: 280px; }
.mc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.mc-stat { padding: 10px 14px 12px; text-align: center; border-right: 1px solid var(--line); background: #f6f7fb; }
.mc-stat:last-child { border-right: 0; }
.mc-stat span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; } .mc-stat b { font-size: 30px; color: var(--navy); }
.mc-tabs { margin-bottom: 10px; }
.mc-legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.mc-legend .mc-status { font-size: 11.5px; }
.mc-table th { background: var(--navy); color: #fff; white-space: normal; font-size: 12.5px; }
.mc-table td { padding: 8px 10px; }
.mc-table td.mc-ck { text-align: center; } .mc-table td.mc-ck input { width: 18px; height: 18px; accent-color: #17734a; }
.mc-name { font-weight: 700; color: var(--ink); text-decoration: none; text-align: left; } .mc-name:hover { text-decoration: underline; }
.mc-sub { font-size: 12px; } .mc-nlink { font-size: 12px; }
.mc-last { font-size: 12px; color: var(--muted); font-style: italic; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-bar { width: 70px; height: 6px; border-radius: 3px; background: #e3e6f2; overflow: hidden; display: inline-block; vertical-align: middle; margin-right: 6px; } .mc-bar i { display: block; height: 100%; background: #17734a; }
.mc-pct { font-weight: 700; font-size: 13px; }
.mc-status { display: inline-block; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.mc-status.ready, .mc-status.done { background: #d9f2e3; color: #17603a; }
.mc-status.progress { background: #ffe9cc; color: #9a5a00; }
.mc-status.soa { background: #fde2e0; color: #a1271f; }
.mc-status.new { background: #eef0f6; color: var(--muted); }
.mc-status.closed { background: #eceef2; color: #6b7080; }
.mc-table tr.mc-ready td, .mc-table tr.mc-done td { background: #f1fbf5; }
.mc-table tr.mc-progress td { background: #fff8ee; }
.mc-table tr.mc-soa td { background: #fff3f2; }
.mc-table tr.mc-closed td { color: #6b7080; }
.mc-table tr.mc-ready td:first-child, .mc-table tr.mc-done td:first-child { box-shadow: inset 4px 0 #1f8a4c; }
.mc-table tr.mc-progress td:first-child { box-shadow: inset 4px 0 #e0911f; }
.mc-table tr.mc-soa td:first-child { box-shadow: inset 4px 0 #c0392b; }
.mc-table tr.mc-new td:first-child, .mc-table tr.mc-closed td:first-child { box-shadow: inset 4px 0 #c5cad8; }
.mc-warn { color: #a1271f; font-weight: 700; }
.mc-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.ap-form .mc-checks label { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.mc-notes { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 10px; } .mc-notes h3 { font-size: 15px; margin: 0 0 6px; }
.mc-notes .count { font-size: 12px; color: var(--navy); background: var(--blue-soft); border-radius: 999px; padding: 1px 8px; }
.ax-own { font-size: 11.5px; }
@media (max-width: 700px) { .mc-stats { grid-template-columns: 1fr 1fr; } }
.mc-table { table-layout: fixed; width: 100%; min-width: 980px; }
.mc-table th:nth-child(1) { width: 34px; } .mc-table th:nth-child(2) { width: 21%; } .mc-table th:nth-child(3) { width: 96px; } .mc-table th:nth-child(4) { width: 104px; }
.mc-table th:nth-child(5), .mc-table th:nth-child(6), .mc-table th:nth-child(7) { width: 74px; text-align: center; }
.mc-table th:nth-child(8) { width: 72px; } .mc-table th:nth-child(9) { width: 150px; }
.mc-table td { overflow-wrap: anywhere; }
.mc-bar { width: 52px; display: block; margin: 0 0 4px; }
.mc-status { white-space: normal; }
.mc-table th:nth-child(3) { width: 108px; } .mc-table td:nth-child(3) { white-space: nowrap; overflow-wrap: normal; }
.mc-lines { margin-bottom: 12px; } .mc-lines .chip { font-weight: 700; } .mc-addline { color: var(--navy); }
/* Done (app written): a darker green than Ready (owner's request) */
.mc-status.done { background: #17603a; color: #fff; }
.mc-table tr.mc-done td { background: #d3eedd; }
.mc-table tr.mc-done td:first-child { box-shadow: inset 4px 0 #0f4d2c; }
.mc-donebtn { margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; font-size: 12.5px; }
.mc-donebtn.ready { background: #17603a; color: #fff; border-color: #17603a; }
.mc-undo { font-size: 12px; margin-top: 4px; }
/* Clients, redone (owner's design): pipeline pill from the checkboxes; the whole row from the agent's Status */
.mc-status.new { background: #e9ebf1; color: #5b6386; }
.mc-status.progress { background: #f6a33a; color: #fff; }
.mc-status.ready { background: #1f8a4c; color: #fff; }
.mc-pct { font-size: 12px; color: var(--muted); margin-top: 3px; font-weight: 600; }
.mc-table tr td { background: #fff; box-shadow: none; }
.mc-table tr td:first-child { box-shadow: inset 4px 0 transparent; }
.mc-table tr.mc-row-working td { background: #ffeed6; } .mc-table tr.mc-row-working td:first-child { box-shadow: inset 4px 0 #e0911f; }
.mc-table tr.mc-row-waiting td { background: #fff8cc; } .mc-table tr.mc-row-waiting td:first-child { box-shadow: inset 4px 0 #d4b106; }
.mc-table tr.mc-row-followup td { background: #e3edff; } .mc-table tr.mc-row-followup td:first-child { box-shadow: inset 4px 0 #2f6fe4; }
.mc-table tr.mc-row-done td { background: #d3eedd; } .mc-table tr.mc-row-done td:first-child { box-shadow: inset 4px 0 #17603a; }
.mc-table tr.mc-row-not_interested td, .mc-table tr.mc-row-not_enrolled td { background: #eceef2; color: #6b7080; } .mc-table tr.mc-row-not_interested td:first-child, .mc-table tr.mc-row-not_enrolled td:first-child { box-shadow: inset 4px 0 #9aa0b0; }
.mc-osel { width: 100%; padding: 5px 6px; border: 1px solid rgba(0,0,0,.15); border-radius: 8px; font: inherit; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.85); }
.mc-sw { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 6px; padding: 2px 8px; border-left: 4px solid; }
.mc-sw.working { background: #ffeed6; border-color: #e0911f; } .mc-sw.waiting { background: #fff8cc; border-color: #d4b106; } .mc-sw.followup { background: #e3edff; border-color: #2f6fe4; }
.mc-sw.done { background: #d3eedd; border-color: #17603a; } .mc-sw.not_interested { background: #eceef2; border-color: #9aa0b0; color: #6b7080; }
.mc-legend { align-items: center; } .mc-lg2 { margin-left: 10px; } .mc-legend .muted { font-size: 12px; }
.mc-table th:nth-child(8) { width: 130px; } .mc-table th:nth-child(9) { width: auto; } .mc-table th:nth-child(10) { width: 150px; }
.mc-table th:nth-child(2) { width: 19%; } .mc-table th:nth-child(10) { width: 172px; } .mc-osel { font-size: 12.5px; }

/* ---------- Top bar, a little bigger, and center buttons that look clickable (owner's request, 2026-11-28) ---------- */
.cc-top { height: 62px; padding: 9px 20px; gap: 16px; }
.cc-side { top: 62px; height: calc(100vh - 62px); }
.cc-scrim { inset: var(--side-top, 62px) 0 0 0; }
@media (max-width: 900px) { .cc-side { top: var(--side-top, 62px); height: calc(100vh - var(--side-top, 62px)); } }
.bell-panel { top: 66px; }
.cc-brand { font-size: 14px; } .cc-brand img { width: 40px; height: 40px; }
.cc-centers { display: flex; align-items: center; gap: 6px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.cc-centers-l { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9aa3e0; padding: 0 4px 0 8px; }
.cc-centers a { font-size: 14px; padding: 7px 13px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #e4e8ff; transition: background .12s, border-color .12s, transform .12s; }
.cc-centers a:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.45); color: #fff; transform: translateY(-1px); }
.cc-centers a:focus-visible { outline: 3px solid #ffcf8a; outline-offset: 2px; }
.cc-centers a[aria-current="true"] { background: #fff; color: var(--navy-deep); border-color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.cc-centers a i { width: 10px; height: 10px; }
.cc-bell { width: 42px; height: 42px; }
.acct-btn { font-size: 15px; padding: 4px 12px 4px 4px; }
.acct-btn .avatar { width: 34px !important; height: 34px !important; }
@media (max-width: 1180px) { .cc-centers-l { display: none; } .cc-brand span { display: none; } }
.mc-tabs, .mc-lines, #aptabs, #apkind, #ttabs, #rtabs { flex-wrap: wrap; max-width: 100%; }
.hq-cl-line { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; }
.hq-cl-h { font-size: 14px; margin-bottom: 6px; }
.hq-cl-nums { grid-template-columns: repeat(7, 1fr); }
.hq-n b.org { color: #c97a10; } .hq-n b.grn { color: #17603a; }
@media (max-width: 900px) { .hq-cl-nums { grid-template-columns: repeat(3, 1fr); } }
.cc-update { position: fixed; left: 50%; top: 72px; transform: translateX(-50%); z-index: 80; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); background: #0a1a8c; color: #fff; border-radius: 12px; padding: 10px 12px 10px 16px; box-shadow: 0 12px 32px rgba(5,10,60,.3); font-size: 14px; }
.cc-update .btn { background: #fff; color: var(--navy-deep); border-color: #fff; }
/* EOD & PTO: two views, separate from the filters (owner, 2026-11-28) */
.view-switch { display: inline-flex; gap: 4px; padding: 4px; background: #e9ecf6; border-radius: 12px; margin: 0 0 14px; }
.view-switch button { border: 0; background: transparent; padding: 8px 18px; border-radius: 9px; font: inherit; font-weight: 700; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.view-switch button[aria-selected="true"] { background: #fff; color: var(--navy-deep); box-shadow: 0 1px 4px rgba(5,10,60,.15); }
.view-switch button:hover { color: var(--navy-deep); }
/* Clients: drag rows to reorder (owner, 2026-11-28) */
.mc-grip { display: inline-block; cursor: grab; color: #9aa0b8; font-size: 16px; line-height: 1; margin-right: 6px; padding: 2px 2px; border-radius: 4px; user-select: none; vertical-align: middle; }
.mc-grip:hover { color: var(--navy); background: rgba(10,26,140,.07); }
.mc-table tr.mc-dragging { opacity: .45; }
.mc-table tr.mc-over-top td { box-shadow: inset 0 3px 0 #2b59ff !important; }
.mc-table tr.mc-over-bot td { box-shadow: inset 0 -3px 0 #2b59ff !important; }
.mc-draghint { font-size: 12.5px; margin: 8px 2px 0; }
/* Clients: notes and appointment edits in the row (owner, 2026-11-28) */
.mc-table { min-width: 1260px; }
.mc-table th:nth-child(1) { width: 34px; } .mc-table th:nth-child(2) { width: auto; } .mc-table th:nth-child(3) { width: 150px; } .mc-table th:nth-child(4) { width: 118px; }
.mc-table th:nth-child(5), .mc-table th:nth-child(6), .mc-table th:nth-child(7) { width: 70px; }
.mc-table th:nth-child(8) { width: 122px; } .mc-table th:nth-child(9) { width: 150px; } .mc-table th:nth-child(10) { width: 250px; } .mc-table th:nth-child(11) { width: 160px; }
.mc-table td.mc-dt { white-space: normal; }
.mc-dt .usd { display: flex; width: 100%; } .mc-dt .usd-text { width: 100%; min-width: 0; padding: 5px 6px; font-size: 13px; border: 1px solid rgba(0,0,0,.14); border-radius: 7px; background: rgba(255,255,255,.85); }
.mc-dt .usd-hint { display: none; }
.mc-in { width: 100%; box-sizing: border-box; padding: 5px 6px; font: inherit; font-size: 13px; border: 1px solid rgba(0,0,0,.14); border-radius: 7px; background: rgba(255,255,255,.85); }
.mc-in:focus, .mc-addn:focus, .mc-dt .usd-text:focus { outline: 2px solid #2b59ff; outline-offset: 0; border-color: transparent; background: #fff; }
.mc-ncell { vertical-align: top; }
.mc-nlist2 { max-height: 112px; overflow-y: auto; margin-bottom: 4px; }
.mc-n { font-size: 12.5px; line-height: 1.35; padding: 3px 0; border-bottom: 1px dashed rgba(0,0,0,.1); overflow-wrap: anywhere; }
.mc-n:last-child { border-bottom: 0; }
.mc-n em { display: block; font-style: normal; font-size: 11px; color: var(--muted); }
.mc-addn { width: 100%; box-sizing: border-box; padding: 4px 6px; font: inherit; font-size: 12.5px; border: 1px dashed rgba(0,0,0,.2); border-radius: 7px; background: rgba(255,255,255,.7); }
.mc-table { min-width: 1150px; }
.mc-table th:nth-child(2) { width: 160px; } .mc-table th:nth-child(3) { width: 132px; } .mc-table th:nth-child(4) { width: 96px; }
.mc-table th:nth-child(5), .mc-table th:nth-child(6), .mc-table th:nth-child(7) { width: 58px; }
.mc-table th:nth-child(8) { width: 108px; } .mc-table th:nth-child(9) { width: auto; } .mc-table th:nth-child(10) { width: 210px; } .mc-table th:nth-child(11) { width: 140px; }
.mc-table td, .mc-table th { padding-left: 7px; padding-right: 7px; }
.mc-table td:nth-child(2) { white-space: nowrap; } .mc-table td:nth-child(2) .mc-name { white-space: normal; text-align: left; display: inline; }
.mc-table td:nth-child(9) { font-size: 13px; }
.mc-table th { font-size: 12px; }
/* Profile photos (2026-11-28) */
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.prof-photo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 4px; }
.prof-photo .muted { font-size: 12.5px; flex-basis: 100%; }
/* Clients table, cleaned up (owner: "this looks horrible", 2026-11-28) */
.mc-table { min-width: 1120px; }
.mc-table th { white-space: nowrap; font-size: 12.5px; padding: 12px 8px; vertical-align: middle; }
.mc-table th.c, .mc-table td.mc-ck { text-align: center; }
.mc-table td { padding: 10px 8px; vertical-align: middle; }
.mc-table th:nth-child(1) { width: 40px; } .mc-table th:nth-child(2) { width: auto; min-width: 150px; } .mc-table th:nth-child(3) { width: 132px; } .mc-table th:nth-child(4) { width: 100px; }
.mc-table th:nth-child(5), .mc-table th:nth-child(6), .mc-table th:nth-child(7) { width: 64px; }
.mc-table th:nth-child(8) { width: 104px; } .mc-table th:nth-child(9) { width: 170px; } .mc-table th:nth-child(10) { width: 220px; } .mc-table th:nth-child(11) { width: 150px; }
.mc-status { white-space: nowrap; padding: 3px 12px; font-size: 12.5px; }
.mc-name { font-size: 14.5px; }
/* date / time / note fields look like text until hovered or clicked */
.mc-dt .usd { position: relative; }
.mc-dt .usd-text, .mc-in, .mc-addn { border: 1px solid transparent !important; background: transparent !important; padding: 5px 6px; font-size: 13.5px; border-radius: 7px; color: var(--ink); }
.mc-dt .usd-text::placeholder, .mc-in::placeholder, .mc-addn::placeholder { color: #a2a8bf; }
.mc-table tr:hover .mc-dt .usd-text, .mc-table tr:hover .mc-in, .mc-table tr:hover .mc-addn { border-color: rgba(0,0,0,.12) !important; background: rgba(255,255,255,.75) !important; }
.mc-dt .usd-text:focus, .mc-in:focus, .mc-addn:focus { border-color: #2b59ff !important; background: #fff !important; outline: none; }
.mc-dt .usd-cal { opacity: 0; transition: opacity .1s; } .mc-table tr:hover .mc-dt .usd-cal, .mc-dt .usd-text:focus + .usd-cal { opacity: 1; }
.mc-addn { font-size: 12.5px; }
.mc-osel { font-size: 13px; padding: 5px 8px; }
.mc-table td:nth-child(9) { font-size: 13px; line-height: 1.35; }
.mc-table { min-width: 1140px; }
.mc-table th:nth-child(1) { width: 36px; } .mc-table th:nth-child(2) { width: 160px; min-width: 0; } .mc-table th:nth-child(3) { width: 120px; } .mc-table th:nth-child(4) { width: 104px; }
.mc-table th:nth-child(5), .mc-table th:nth-child(6), .mc-table th:nth-child(7) { width: 56px; }
.mc-table th:nth-child(8) { width: 96px; } .mc-table th:nth-child(9) { width: 140px; } .mc-table th:nth-child(10) { width: auto; } .mc-table th:nth-child(11) { width: 136px; }
.mc-table td:nth-child(2) { white-space: normal; }
.mc-table td:nth-child(2) .mc-grip { float: left; margin-top: 1px; }
.mc-table { min-width: 1080px; } .mc-table th:nth-child(11) { width: 128px; } .mc-table th:nth-child(2) { width: 150px; }
/* Colored client notes: pink, blue, red (owner, 2026-11-29) */
.mc-n { border-radius: 7px; padding: 4px 6px; margin-bottom: 3px; border-bottom: 0; border-left: 3px solid transparent; }
.mc-n.nc-pink { background: #fde4f0; border-left-color: #e0569a; }
.mc-n.nc-blue { background: #e2ecff; border-left-color: #2f6fe4; }
.mc-n.nc-red { background: #fde2e0; border-left-color: #c0392b; }
.mc-n.nc-plain { background: rgba(255,255,255,.55); border-left-color: #c5cad8; }
.nc-dots { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: middle; }
.nc-dot { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.18); padding: 0; cursor: pointer; display: inline-block; }
.nc-dot.nc-plain { background: #fff; } .nc-dot.nc-pink { background: #e0569a; } .nc-dot.nc-blue { background: #2f6fe4; } .nc-dot.nc-red { background: #c0392b; }
.nc-dot.on { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #0b1033; }
.mc-n em .nc-dots { opacity: 0; transition: opacity .1s; } .mc-n:hover em .nc-dots { opacity: 1; }
.mc-addwrap { display: flex; align-items: center; gap: 4px; } .mc-addwrap .mc-addn { flex: 1; min-width: 0; }
.mc-addwrap .nc-pick { margin-left: 0; opacity: .35; } .mc-table tr:hover .mc-addwrap .nc-pick, .mc-addwrap:focus-within .nc-pick { opacity: 1; }
.nc-row { display: flex; align-items: center; gap: 8px; width: 100%; } .nc-row .btn { margin-left: auto; }
.nc-lab { display: inline-flex; cursor: pointer; } .nc-lab input { position: absolute; opacity: 0; pointer-events: none; }
.nc-lab input:checked + .nc-dot { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #0b1033; }
.ap-form .nc-lab, .mc-notes .nc-lab { margin: 0; }
.mc-n em .nc-dots { margin-left: 8px; }

/* ---------- Major Flight, the eagle (2026-11-29): badge in place of the bell, notes, fly-in ---------- */
.cc-bell.mf-badge { background: #eef1fb; border: 2px solid #f2c14e; overflow: visible; padding: 0; } /* light grey so his white head and navy jacket both show (owner, 2026-11-29) */
.cc-bell.mf-badge:hover { background: #ffffff; transform: translateY(-1px); }
.mf-face { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; display: block; }
.mf-face .mf-svg { width: 150%; height: 150%; margin: -6% 0 0 -25%; display: block; }
.cc-bell.mf-got { animation: mf-pop .5s ease; }
@keyframes mf-pop { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.mf-svg .mf-eyes { animation: mf-blink 5s infinite; transform-origin: 111px 70px; }
@keyframes mf-blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.mf-svg .mf-wave { animation: mf-wave 1.6s ease-in-out infinite; transform-origin: 152px 124px; }
@keyframes mf-wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-6deg); } }
.mf-svg .mf-tap { animation: mf-tap 1.1s ease-in-out infinite; transform-origin: 152px 122px; }
@keyframes mf-tap { 0%, 60%, 100% { transform: rotate(0); } 30% { transform: rotate(-10deg); } }
.mf-svg .mf-cheer { animation: mf-cheer 1s ease-in-out infinite; transform-origin: 110px 120px; }
@keyframes mf-cheer { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.mf-fly { position: fixed; left: 0; top: 0; width: 96px; height: 92px; z-index: 400; pointer-events: none; }
.mf-fly .mf-svg { width: 100%; height: 100%; }
.mf-note { position: fixed; right: 18px; top: 78px; z-index: 390; width: min(420px, calc(100vw - 32px)); display: flex; gap: 12px; align-items: flex-start; background: #fff; color: var(--ink, #0b1033);
  border: 1px solid #e3e6f2; border-left: 5px solid #0a1a8c; border-radius: 14px; box-shadow: 0 14px 40px rgba(10,26,140,.22); padding: 12px 34px 12px 12px; opacity: 0; transform: translateY(-8px); transition: opacity .22s, transform .22s; }
.mf-note.in { opacity: 1; transform: none; }
.mf-note.mf-warn { border-left-color: #c8202f; }
.mf-who { flex: none; width: 78px; height: 74px; background: linear-gradient(#eef1fb, #f6f7fb); border-radius: 12px; }
.mf-who .mf-svg { width: 100%; height: 100%; }
.mf-body { min-width: 0; font-size: 14px; line-height: 1.4; }
.mf-body b { display: block; font-size: 15px; margin: 2px 0 4px; }
.mf-body p { margin: 2px 0 0; color: #3d4566; }
.mf-body ul { margin: 2px 0 0; padding-left: 18px; }
.mf-body li { margin: 2px 0; }
.mf-body a { color: #0a1a8c; font-weight: 600; }
.mf-acts { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.mf-x { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 20px; line-height: 1; color: #5b6386; cursor: pointer; padding: 4px; }
.mf-x:hover { color: #0b1033; }
.mf-empty { text-align: center; padding: 6px 0 2px; }
.mf-empty .mf-svg { width: 92px; height: 88px; }
.mf-empty p { margin: 2px 0 0; }
.mf-pref { display: flex !important; gap: 8px; align-items: center; font-weight: 500; }
.mf-pref input { width: auto !important; margin: 0; }
@media (max-width: 640px) { .mf-note { right: 16px; left: 16px; width: auto; top: 70px; } .mf-who { width: 58px; height: 56px; } }
@media (prefers-reduced-motion: reduce) { .mf-svg .mf-eyes, .mf-svg .mf-wave, .mf-svg .mf-tap, .mf-svg .mf-cheer, .cc-bell.mf-got { animation: none; } .mf-note { transition: none; } }
/* Major Flight, more alive (owner, 2026-11-29): flapping in flight, a gentle breathing bob, head tilt on hover, a bounce when the count goes up */
.mf-svg .mf-wl { animation: mf-flap-l .32s ease-in-out infinite alternate; transform-origin: 68px 120px; }
.mf-svg .mf-wr { animation: mf-flap-r .32s ease-in-out infinite alternate; transform-origin: 152px 120px; }
@keyframes mf-flap-l { from { transform: rotate(14deg); } to { transform: rotate(-22deg); } }
@keyframes mf-flap-r { from { transform: rotate(-14deg); } to { transform: rotate(22deg); } }
.mf-face .mf-all, .mf-who .mf-all, .mf-empty .mf-all { animation: mf-bob 3.2s ease-in-out infinite; transform-origin: 110px 200px; }
@keyframes mf-bob { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-2.5px) scale(1.012); } }
.mf-svg .mf-head { transition: transform .35s cubic-bezier(.3,1.6,.5,1); transform-origin: 111px 100px; }
.cc-bell.mf-badge:hover .mf-head, .mf-who:hover .mf-head { transform: rotate(-12deg); }
.cc-bell.mf-bump { animation: mf-bounce .85s cubic-bezier(.3,1.5,.5,1); }
@keyframes mf-bounce { 0% { transform: translateY(0); } 25% { transform: translateY(-9px) scale(1.08); } 50% { transform: translateY(0) scale(.96); } 70% { transform: translateY(-4px); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .mf-svg .mf-wl, .mf-svg .mf-wr, .mf-face .mf-all, .mf-who .mf-all, .mf-empty .mf-all, .cc-bell.mf-bump { animation: none; } .mf-svg .mf-head { transition: none; } }
/* the day's first visit: he roosts on the greeting banner, salutes, then flies to the top bar */
.mf-roost { position: fixed; left: 0; top: 0; z-index: 380; cursor: pointer; }
.mf-roost .mf-pose, .mf-roost .mf-svg { width: 100%; height: 100%; display: block; }
/* a thin light outline so the navy eagle stands out on the navy banner (owner: an outline, not a glow) */
.mf-roost .mf-pose, .mf-fly .mf-svg { filter: drop-shadow(1.5px 0 0 rgba(255,255,255,.8)) drop-shadow(-1.5px 0 0 rgba(255,255,255,.8)) drop-shadow(0 1.5px 0 rgba(255,255,255,.8)) drop-shadow(0 -1.5px 0 rgba(255,255,255,.8)); }
.mf-say { position: absolute; right: calc(100% + 6px); top: 10%; white-space: nowrap; background: #fff; color: #0b1033; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 14px 14px 4px 14px; box-shadow: 0 8px 24px rgba(0,0,0,.25); opacity: 0; transform: translateX(8px) scale(.9); transition: opacity .25s, transform .25s; pointer-events: none; }
.mf-say.in { opacity: 1; transform: none; }
@media (max-width: 640px) { .mf-say { font-size: 13px; right: 0; top: auto; bottom: calc(100% + 2px); transform: translateY(6px); border-radius: 14px 14px 4px 14px; } .mf-say.in { transform: none; } }
/* batched notes (2026-11-29): module name in bold, plain text, a small Open link per line */
.mf-body .mf-l { display: inline; font-size: inherit; margin: 0; }
.mf-body li + li { margin-top: 6px; }
.mf-body .mf-open { white-space: nowrap; font-size: 13px; }
/* Licenses & certifications, Atomic center (2026-11-29) */
.lic-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.lic-table th, .lic-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line, #e3e6f2); vertical-align: top; }
.lic-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted, #5b6386); }
.lic-table td.ck, .lic-table th.ck { width: 30px; }
.lic-pill { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #eef1f8; color: #4a5378; margin-left: 4px; white-space: nowrap; }
.lic-pill.ok { background: #e7f6ef; color: #13795b; }
.lic-pill.soon { background: #fff3e0; color: #9a5b00; }
.lic-pill.bad { background: #fde8e8; color: #b42318; }
.lic-up { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: #f6f7fb; border-radius: 10px; padding: 10px 12px; }
.lic-up-note { font-size: 13px; flex: 1; min-width: 220px; }
.lic-read { background: #fff6dc; border-radius: 8px; padding: 8px 12px; margin: 0; font-size: 13.5px; }
.at-st { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #eef1f8; color: #39406a; white-space: nowrap; }
.at-st.at-active { background: #e7f6ef; color: #13795b; }
.at-st.at-a2p_rejected, .at-st.at-cancelled { background: #fde8e8; color: #b42318; }
.at-st.at-paused { background: #f1f1f4; color: #6b7090; }
/* Logins vault (2026-11-29) */
.vt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.vt-card { background: var(--card, #fff); border: 1px solid var(--line, #e3e6f2); border-radius: 12px; padding: 14px 16px; display: grid; gap: 8px; min-width: 0; }
.vt-top { display: flex; align-items: center; gap: 8px; }
.vt-top b { font-size: 16px; }
.vt-edit { margin-left: auto; }
.vt-url { font-size: 13px; overflow-wrap: anywhere; }
.vt-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vt-l { width: 86px; flex: none; font-size: 12px; color: var(--muted, #5b6386); text-transform: uppercase; letter-spacing: .04em; }
.vt-v { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13.5px; background: #f6f7fb; border-radius: 6px; padding: 4px 8px; }
.vt-code { letter-spacing: .12em; font-weight: 700; }
.vt-notes { margin: 0; font-size: 13px; color: var(--muted, #5b6386); white-space: pre-wrap; }
.vt-foot { display: grid; gap: 4px; font-size: 12.5px; border-top: 1px solid var(--line, #e3e6f2); padding-top: 8px; }
.vt-pw { display: flex; gap: 6px; }
.vt-pw input { flex: 1; min-width: 0; }
.vt-h { margin: 6px 0 0; font-size: 15px; }
.vt-sub { margin: 0 0 6px; font-size: 13px; }
.vt-people { max-height: 180px; overflow: auto; border: 1px solid var(--line, #e3e6f2); border-radius: 8px; padding: 4px 10px; }
.vt-warn { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; margin: 0 0 4px; }
.vt-nrow { align-items: flex-start; }
.vt-nrow .vt-notes { flex: 1; min-width: 0; }
a.vt-v { text-decoration: none; }
.vt-ncell { flex: 1; min-width: 0; display: grid; gap: 4px; }
.vt-ncell .mc-n { background: #f6f7fb; border-left: 3px solid #c5cad8; }
.vt-rmn { font-size: 11px; opacity: 0; } .mc-n:hover .vt-rmn, .vt-rmn:focus { opacity: 1; }
.ask-team span { font-weight: 500; font-size: 13.5px; } .ask-teampill { background: #e7f6ef; color: #13795b; }
/* Major Flight's AI (2026-11-29): HQ team summary of the EODs, and "Ask Major Flight" on a task */
.hq-sum .sum-sub { font-size: 13px; font-weight: 500; margin-left: 6px; }
.sum-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 4px 0 8px; }
.sum-bar .chips { margin: 0; }
.sum-miss { margin: 4px 0; color: #9a5b00; font-size: 14px; }
.sum-out { margin: 2px 0 6px; font-size: 13px; }
.sum-err { color: #b42318; background: #fff1f0; border-radius: 8px; padding: 8px 12px; margin: 8px 0; font-size: 14px; }
.sum-empty { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 8px 0; }
.sum-empty .mf-svg { width: 74px; height: 70px; flex: none; }
.sum-empty p { margin: 0; flex: 1; min-width: 200px; }
.sum-empty.sm .mf-svg { width: 48px; height: 46px; }
.sum-body { font-size: 14.5px; line-height: 1.5; }
.sum-body h4 { margin: 12px 0 4px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #0a1a8c; }
.sum-body h4:first-child { margin-top: 2px; }
.sum-body ul { margin: 0; padding-left: 20px; }
.sum-body li { margin: 3px 0; }
.sum-body p { margin: 4px 0; }
.sum-foot { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line, #e3e6f2); font-size: 13px; }
.sum-foot .muted { flex: 1; min-width: 220px; }
.sum-new { color: #9a5b00; font-weight: 600; }
.t-help { margin-top: 14px; border: 1px solid #e3e6f2; border-radius: 12px; padding: 10px 12px; background: #f6f7fb; }
.t-help-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.t-help-me .mf-svg { width: 36px; height: 34px; display: block; }
.t-help-btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.t-help-q { display: flex; gap: 8px; }
.t-help-q input { flex: 1; min-width: 0; }
.t-help-out { margin-top: 10px; background: #fff; border-radius: 10px; padding: 10px 12px; border: 1px solid #e3e6f2; }
.t-help-acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; font-size: 13px; }
/* Ask Major Flight (2026-11-29) */
.mf-hero { display: flex; gap: 16px; align-items: center; }
.mf-hero-me .mf-svg { width: 96px; height: 92px; display: block; filter: drop-shadow(1.2px 0 0 rgba(255,255,255,.8)) drop-shadow(-1.2px 0 0 rgba(255,255,255,.8)) drop-shadow(0 1.2px 0 rgba(255,255,255,.8)) drop-shadow(0 -1.2px 0 rgba(255,255,255,.8)); }
.mfc { display: grid; grid-template-columns: 240px 1fr; gap: 16px; align-items: start; }
.mfc-side { display: grid; gap: 10px; background: var(--card, #fff); border: 1px solid var(--line, #e3e6f2); border-radius: 12px; padding: 12px; }
.mfc-inc { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.mfc-list { display: grid; gap: 2px; max-height: 60vh; overflow: auto; }
.mfc-chat { display: grid; grid-template-columns: 1fr auto auto; gap: 6px; align-items: center; padding: 6px 8px; border-radius: 8px; font-size: 13.5px; }
.mfc-chat.on { background: #eef1fb; }
.mfc-chat .linkbtn { text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mfc-chat .muted { font-size: 11.5px; }
.mfc-del { opacity: .4; } .mfc-chat:hover .mfc-del { opacity: 1; }
.mfc-main { display: grid; gap: 10px; min-width: 0; }
.mfc-log { background: var(--card, #fff); border: 1px solid var(--line, #e3e6f2); border-radius: 12px; padding: 14px; min-height: 360px; max-height: 62vh; overflow-y: auto; display: grid; gap: 12px; align-content: start; }
.mfm { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.mfm.me { justify-content: flex-end; }
.mfm.me .mfb { background: #0a1a8c; color: #fff; border-radius: 14px 14px 4px 14px; white-space: pre-wrap; }
.mfm.mf .mfb { background: #f6f7fb; border-radius: 14px 14px 14px 4px; }
.mfb { padding: 10px 14px; max-width: min(760px, 100%); min-width: 0; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.5; }
.mfb h4 { margin: 8px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #0a1a8c; } .mfb h4:first-child { margin-top: 0; }
.mfb ul { margin: 4px 0; padding-left: 20px; } .mfb p { margin: 4px 0; }
.mfm-who { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #eef1fb; border: 2px solid #f2c14e; overflow: hidden; }
.mfm-who .mf-svg { width: 150%; height: 150%; margin: -6% 0 0 -25%; display: block; }
.mfc-empty .chips { margin-top: 6px; }
.mfc-form { display: flex; gap: 8px; align-items: flex-end; }
.mfc-form textarea { flex: 1; min-width: 0; resize: vertical; }
.mfc-foot { margin: 0; font-size: 12.5px; }
.mfsrc { display: grid; gap: 2px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line, #e3e6f2); font-size: 13px; } .mfsrc b { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted, #5b6386); }
.mfp { margin-top: 10px; background: #fff; border: 1px solid #c9d3f5; border-left: 4px solid #0a1a8c; border-radius: 10px; padding: 10px 12px; display: grid; gap: 4px; }
.mfp.sent { border-left-color: #13795b; } .mfp.gone { opacity: .6; border-left-color: #c5cad8; }
.mfp .mfp-t { font-weight: 600; }
.mfp-acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; font-size: 13px; }
.mfp-ok { color: #13795b; font-weight: 700; }
.au-h { font-size: 17px; margin: 18px 0 8px; } .au-cap { width: 110px; } .au-note { font-size: 13px; } .au-two { margin-top: 6px; }
.mf-askl { border-top: 0 !important; padding-top: 0 !important; }
@media (max-width: 760px) { .mfc { grid-template-columns: 1fr; } .mfc-list { max-height: 160px; } }

.mfc-form { margin-right: 64px; } /* room for the team chat button in the corner */
@media (max-width: 760px) { .mfc-form { margin-right: 0; margin-bottom: 64px; } }

/* Major Flight memory and knowledge (2026-11-29) */
.mfc-mem { text-align: left; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.mem-list { display: grid; gap: 6px; margin: 8px 0; max-height: 50vh; overflow: auto; }
.mem-row { display: flex; gap: 6px; align-items: center; } .mem-row input { flex: 1; min-width: 0; }
.mem-add { display: flex; gap: 6px; } .mem-add input { flex: 1; min-width: 0; }
.ak-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.ak-body { margin: 0; font-size: 13.5px; white-space: pre-wrap; color: var(--ink, #0b1033); }

/* "Ask Major Flight" in the left menu: his little face instead of an icon, blinking and breathing (owner, 2026-11-29) */
.nav-mf { width: 22px; height: 22px; flex: none; border-radius: 50%; background: #eef1fb; border: 1.5px solid #f2c14e; overflow: hidden; display: inline-block; }
.nav-mf .mf-svg { width: 150%; height: 150%; margin: -6% 0 0 -25%; display: block; }
.nav-mf .mf-all { animation: mf-bob 3.2s ease-in-out infinite; transform-origin: 110px 200px; }
@media (prefers-reduced-motion: reduce) { .nav-mf .mf-all { animation: none; } }
.nav-mf { margin: -2px; }
/* Major Flight's change cards (owner, 2026-11-29) */
.mfp ul { margin: 2px 0; padding-left: 18px; font-size: 13.5px; }
.mfp-pre { white-space: pre-wrap; font: 13px/1.45 var(--sans); background: #f6f7fb; border-radius: 8px; padding: 8px 10px; margin: 4px 0; max-height: 260px; overflow: auto; }
.mfp-pre.new { background: #eef7f1; border: 1px solid #cde9d7; }
.mfp details summary { font-size: 12.5px; color: var(--muted); cursor: pointer; }
.mfp-tag { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 1px 8px; background: var(--red-soft); color: var(--red); }

/* Ask Major Flight: files and photos (owner, 2026-11-29) */
.mfc-files { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 0 0; }
.mfc-file { display: inline-flex; align-items: center; gap: 6px; background: #eef1fb; border: 1px solid #d5dbf3; border-radius: 8px; padding: 3px 4px 3px 6px; font-size: 12.5px; max-width: 260px; }
.mfc-file img { width: 28px; height: 28px; object-fit: cover; border-radius: 4px; }
.mfc-file button { border: 0; background: none; cursor: pointer; font-size: 15px; color: var(--muted); padding: 0 4px; }
.mfc-file.sent { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); color: inherit; }
.mfm-files { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.mfc-clip { padding: 8px 10px; align-self: stretch; }
.mfc-main.drop { outline: 2px dashed #5b74e6; outline-offset: -6px; border-radius: 12px; }

.mfp-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0; }
.mfp-side { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 13px; }
.mfp-side.keep { border-color: #17734a; background: #f2faf5; }
.mfp-tag.keep { background: #e3f4ea; color: #17734a; }
@media (max-width: 600px) { .mfp-pair { grid-template-columns: 1fr; } }
.mfp-side { cursor: pointer; } .mfp.sent .mfp-side, .mfp.gone .mfp-side { cursor: default; }

/* Major Flight perched on the HQ overview (owner, 2026-11-29) */
.mf-perch { position: relative; display: grid; grid-template-columns: 92px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: end; margin: 4px 0 18px; }
.mfp-bird { grid-row: 1 / 3; align-self: end; width: 92px; height: 88px; cursor: pointer; margin-bottom: -6px; position: relative; z-index: 2; }
.mfp-bird .mf-svg { width: 100%; height: 100%; display: block; }
.mfp-bubble { justify-self: start; position: relative; margin: 0 0 8px; max-width: min(640px, 100%); }
.mfp-say { border: 1px solid #d5dbf3; background: #fff; color: var(--ink); font: 600 14.5px/1.35 var(--sans); padding: 9px 14px; border-radius: 14px 14px 14px 4px; box-shadow: 0 6px 18px rgba(10,26,140,.10); text-align: left; cursor: default; }
.mfp-say.go { cursor: pointer; } .mfp-say.go::after { content: " →"; color: var(--navy); }
.mfp-say.go:hover { border-color: #9fb0ec; }
.mfp-bar { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid #c9d3f5; border-radius: 14px; padding: 6px 6px 6px 12px; box-shadow: 0 4px 14px rgba(10,26,140,.06); }
.mfp-bar:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10,26,140,.12); }
.mfp-bar input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 15px; padding: 6px 0; min-width: 0; background: transparent; }
.mfp-ic { color: var(--muted); display: inline-flex; }
@media (max-width: 640px) { .mf-perch { grid-template-columns: 64px 1fr; } .mfp-bird { width: 64px; height: 62px; } .mfp-say { font-size: 13.5px; } }

/* search and Major Flight together (owner, 2026-11-29) */
.gs-mf { width: 18px; height: 18px; display: inline-block; border-radius: 50%; background: #eef1fb; overflow: hidden; flex: none; }
.gs-mf .mf-svg { width: 150%; height: 150%; margin: -6% 0 0 -25%; display: block; }
.mf-askpill { position: absolute; z-index: 40; display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid #c9d3f5; border-radius: 999px; padding: 4px 12px 4px 4px; font: 600 13px var(--sans); color: var(--navy); cursor: pointer; box-shadow: 0 6px 16px rgba(10,26,140,.12); max-width: calc(100vw - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-askpill[hidden] { display: none; }
.mf-askpill:hover { border-color: var(--navy); }
.mf-askpill-me { width: 22px; height: 22px; border-radius: 50%; background: #eef1fb; border: 1.5px solid #f2c14e; overflow: hidden; flex: none; }
.mf-askpill-me .mf-svg { width: 150%; height: 150%; margin: -6% 0 0 -25%; display: block; }

/* perched on Topflight Care's search, inside the navy banner */
.gsearch:has(.mf-perch.on-search) { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 10px; max-width: 860px; }
.mf-perch.on-search { display: contents; }
.mf-perch.on-search .mfp-bird { grid-column: 1; grid-row: 1 / 3; align-self: end; margin-bottom: -4px; }
.mf-perch.on-search .mfp-bird .mf-svg { filter: drop-shadow(1.2px 0 0 rgba(255,255,255,.85)) drop-shadow(-1.2px 0 0 rgba(255,255,255,.85)) drop-shadow(0 1.2px 0 rgba(255,255,255,.85)) drop-shadow(0 -1.2px 0 rgba(255,255,255,.85)); }
.mf-perch.on-search .mfp-bubble { grid-column: 2; grid-row: 1; }
.gsearch:has(.mf-perch.on-search) .gsearch-box { grid-column: 2; grid-row: 2; }
.gsearch:has(.mf-perch.on-search) .gsearch-results { left: 102px; }
@media (max-width: 640px) { .gsearch:has(.mf-perch.on-search) { grid-template-columns: 60px minmax(0, 1fr); } .mf-perch.on-search .mfp-bird { width: 60px; height: 58px; } .gsearch:has(.mf-perch.on-search) .gsearch-results { left: 0; } }

.mf-spot { outline: 3px solid #f2c14e; outline-offset: 4px; border-radius: 14px; transition: outline-color .4s; }

/* every center's home is movable and resizable (owner, 2026-11-30) */
.gs-home .grid-stack-item-content > section.gs-scroll { overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.gs-home .gs-scroll.hq-approvals { margin: 0; }
.gs-home .center-planned .center-h { margin-top: 0; }
.gs-hq .hq-centers { background: transparent !important; border: 0 !important; padding: 0 !important; }
.gs-hq .hq-grid { margin: 0; }

/* Agent Requests: emails and texts, source icons, what the card knows from other modules (owner, 2026-12-01) */
.rcard.k-email { border-left-color: #c0367a; } .rcard.k-email .rkind, .rkind.k-email { color: #a32a67; }
.rcard.k-text { border-left-color: #d9600f; } .rcard.k-text .rkind, .rkind.k-text { color: #b24c08; }
.rcard.rmsg { background: #fffcfa; }
.rsrc { display: inline-flex; vertical-align: -1px; margin-right: 4px; opacity: .9; }
.rsubj { font-weight: 600; font-size: 12.5px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcard .rdetail { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rpills { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.rdraw > .rpills { margin: 0 0 10px; }
.rpill { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; border-radius: 999px; padding: 1px 7px; background: #eef0f8; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rpill.f-grounded { background: #fde8e8; color: #b42318; }
.rpill.f-newagent { background: #fff4d6; color: #8a5a00; }
.rpill.f-contracting { background: #e6efff; color: #1a56c4; }
.rpill.f-alsoopen { background: #eef0f8; color: #3b4370; }
.rpill.f-newcontact { background: #f1f1f4; color: #5b6386; border: 1px dashed #c7cde0; }
.rpill.f-newmsg { background: #ffe9c7; color: #8a4b00; }
.rpill.f-msgs { background: #fdeee3; color: #b24c08; }
.rpill.f-replied { background: #e7f6ee; color: #17734a; font-weight: 500; }
.rpill.f-quiet { background: #fde8e8; color: #b42318; }
.rsum { background: #f6f7fb; border-radius: 8px; padding: 8px 10px; margin: 0 0 10px; font-size: 13.5px; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.rthread { display: grid; gap: 8px; max-height: 420px; overflow-y: auto; padding-right: 2px; }
.rmsgb { border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; }
.rmsgb.in { background: #fbf8ff; }
.rmsgb.out { background: #f6f7fb; margin-left: 24px; }
.rmsg-h { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 3px; flex-wrap: wrap; }
.rmsg-s { font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.rmsg-t { font-size: 13.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.rfile { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding: 5px 9px; border: 1px dashed var(--line); border-radius: 8px; font-size: 13px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.rfile span { margin-left: auto; color: #1a56c4; font-weight: 600; }
.rperson { margin: 0 0 8px; padding-left: 18px; font-size: 13.5px; }
.rperson li { margin: 2px 0; }
.rperson .neg { color: #b42318; }
.rcontrols label { min-width: 0; } .rcontrols .usd, .rcontrols .usd-text { min-width: 0; width: 100%; box-sizing: border-box; }

/* ---------- Strategic calendar (HQ), owner 2026-11-29 ---------- */
#cc-main:has(.sc-hero) { max-width: 1480px; }
.sc-hero { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 24px; }
.sc-hero h1 { font-size: 26px; }
.sc-hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.sc-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn.sc-gold { background: #f2c14e; border-color: #f2c14e; color: #3a2a00; }
.sc-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; }
.sc-bar .spacer { flex: 1; }
.sc-month { margin: 0 6px; font-size: 22px; min-width: 150px; text-align: center; }
.sc-layers { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; margin-bottom: 10px; }
.sc-layer { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.sc-layer i { width: 11px; height: 11px; border-radius: 3px; border: 1px solid rgba(0,0,0,.15); }
.sc-layer[aria-pressed="false"] { opacity: .45; text-decoration: line-through; }
.l-hol_us i { background: #ede9fe; } .l-hol_ph i { background: #fef3c7; } .l-pto i { background: #fce7f3; } .l-events i { background: #dbeafe; } .l-crew i { background: #d9f0ea; } .l-seasons i { background: #ffe8c7; } .l-deadlines i { background: #f1f3fa; } .l-busy i { background: #f4f5f9; }
.sc-count { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.sc-count:empty { display: none; }
.sc-cd { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; display: flex; gap: 10px; align-items: center; }
.sc-cd b { font: 700 22px/1 var(--sans); color: var(--navy); } .sc-cd span { font-size: 12px; color: var(--muted); line-height: 1.25; }
.sc-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 14px; align-items: start; }
.sc-cal { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sc-dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: #f1f3fa; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.sc-dow div { padding: 7px 8px; }
.sc-wk { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.sc-band { position: absolute; height: 16px; font-size: 10.5px; font-weight: 700; padding: 1px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; z-index: 2; background: #ffe8c7; color: #8a4b00; text-decoration: none; }
.sc-band:nth-of-type(2) { background: #d9f0ea; color: #0b5e4b; } .sc-band:nth-of-type(3) { background: #e7eafb; color: #1e3a8a; }
.sc-d { min-height: 122px; padding: 5px 6px 18px; border-left: 1px solid var(--line); position: relative; cursor: pointer; user-select: none; min-width: 0; }
.sc-d:first-of-type, .sc-band + .sc-d { border-left: 0; }
.sc-wk > .sc-d:nth-child(1 of .sc-d) { border-left: 0; }
.sc-d .n { font-weight: 700; font-size: 12.5px; color: var(--muted); }
.sc-d.out .n { opacity: .35; } .sc-d.out { background: #fcfcfe; }
.sc-d.today .n { background: var(--navy); color: #fff; border-radius: 999px; padding: 0 6px; }
.sc-d.sel { box-shadow: inset 0 0 0 2px var(--navy); }
.sc-d.drag { background: #e8edff; box-shadow: inset 0 0 0 2px #5b74e6; }
.sc-d.blk { background: repeating-linear-gradient(135deg, #fff 0 8px, #f7f1f1 8px 16px); }
.sc-its { margin-top: calc(var(--nb, 0) * 17px + 2px); }
.sc-it { font-size: 11px; border-radius: 5px; padding: 1px 6px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.sc-it[data-ev], .sc-it[data-href] { cursor: pointer; } .sc-it[data-ev]:hover, .sc-it[data-href]:hover { filter: brightness(.95); }
.sc-it.hol { background: #ede9fe; color: #4c1d95; } .sc-it.ph { background: #fef3c7; color: #7c4a03; } .sc-it.ev { background: #dbeafe; color: #1e3a8a; } .sc-it.evl { background: #eef3ff; color: #39406a; font-weight: 500; }
.sc-it.pto { background: #fce7f3; color: #9d174d; } .sc-it.pend { background: repeating-linear-gradient(135deg, #fce7f3 0 5px, #fff 5px 10px); color: #9d174d; border: 1px dashed #f0a4c8; }
.sc-it.dl { background: #f1f3fa; color: #39406a; } .sc-it.tent { background: #fff; border: 1.5px dashed #93a3d8; color: #5b6ab0; } .sc-it.busy { background: #f4f5f9; color: #6b7090; font-weight: 500; }
.sc-it.blk { background: #fde8e8; color: #b42318; } .sc-it.off { background: #e7f6ef; color: #0b5e4b; } .sc-it.crew { background: #d9f0ea; color: #0b5e4b; }
.sc-more { font-size: 11px; color: var(--muted); margin-top: 2px; }
.sc-cov { position: absolute; left: 6px; right: 6px; bottom: 5px; display: flex; gap: 3px; }
.sc-cov i { flex: 1; height: 5px; border-radius: 3px; }
.lv-ok { background: #2fbf7f; } .lv-at { background: #f5b942; } .lv-low { background: #e5484d; } .lv-closed { background: #cdd2e4; } .lv-none { background: #e3e6f2; }
.sc-foot { padding: 8px 12px; font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); margin: 0; }
.sc-side { display: grid; gap: 12px; }
.sc-card h3 { text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 16px; }
.sc-card h4 { margin: 12px 0 6px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sc-card .note { font-size: 12.5px; color: var(--muted); margin: 4px 0; }
.sc-r { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; padding: 3px 0; }
.sc-pill { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.sc-pill.lv-ok { background: #e3f4ea; color: #17734a; } .sc-pill.lv-at { background: #fff3d6; color: #8a5a00; } .sc-pill.lv-low, .sc-pill.blk { background: #fde8e8; color: #b42318; } .sc-pill.lv-closed, .sc-pill.lv-none { background: #f1f3fa; color: var(--muted); }
.sc-pill.k-event { background: #dbeafe; color: #1e3a8a; } .sc-pill.k-blocked { background: #fde8e8; color: #b42318; } .sc-pill.k-dayoff { background: #e7f6ef; color: #0b5e4b; } .sc-pill.k-tentative { background: #fff; border: 1px dashed #93a3d8; color: #5b6ab0; }
.sc-pill.k-milestone { background: #f1f3fa; color: #39406a; } .sc-pill.k-season { background: #ffe8c7; color: #8a4b00; } .sc-pill.k-holiday { background: #ede9fe; color: #4c1d95; }
.sc-who { display: flex; gap: 6px; align-items: center; font-size: 13px; padding: 3px 0; flex-wrap: wrap; }
.sc-av { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; flex: none; }
.sc-who .tz { font-size: 10.5px; color: var(--muted); margin-left: auto; }
.sc-tag { font-size: 10px; font-weight: 700; color: #fff; border-radius: 4px; padding: 1px 5px; background: var(--muted); }
.sc-tag.t-care { background: #2b59ff; } .sc-tag.t-media { background: #d2582a; } .sc-tag.t-atomic { background: #0e7490; } .sc-tag.t-assistants { background: #c9821b; } .sc-tag.us { background: #4c1d95; } .sc-tag.ph { background: #b7791f; }
.sc-hr { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); margin: 4px 0; }
.sc-track { position: relative; height: 10px; background: #f1f3fa; border-radius: 5px; overflow: hidden; }
.sc-track i { position: absolute; top: 0; height: 10px; border-radius: 5px; background: #9db4ff; } .sc-track.c-PH i { background: #7cc6d6; }
.sc-hscale { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--muted); margin-left: 90px; }
.sc-alert { background: #fde8e8; color: #8a1c1c; border-radius: 10px; padding: 9px 12px; font-size: 13px; margin: 10px 0; }
.sc-q { font-size: 13px; color: var(--muted); font-style: italic; margin: 6px 0; }
.sc-wait .actions { margin-top: 10px; }
.sc-mf { display: flex; gap: 10px; align-items: flex-start; background: #f6f7fb; border-radius: 10px; padding: 10px; }
.sc-mf p { margin: 2px 0 0; font-size: 13px; }
.sc-face { width: 40px; height: 40px; border-radius: 50%; background: #eef1fb; border: 2px solid #f2c14e; overflow: hidden; flex: none; }
.sc-face .mf-svg { width: 150%; height: 150%; margin: -6% 0 0 -25%; display: block; }
.sc-h { font-size: 18px; margin: 22px 0 8px; }
.sc-ct { border-collapse: collapse; width: 100%; font-size: 12px; }
.sc-ct th { font-size: 10.5px; color: var(--muted); font-weight: 700; padding: 6px 4px; text-align: center; background: #f6f7fb; white-space: nowrap; } .sc-ct th:first-child { text-align: left; padding-left: 10px; } .sc-ct th.sel { color: var(--navy); }
.sc-ct td { border-top: 1px solid var(--line); padding: 0; height: 30px; }
.sc-ct td.nm { padding: 0 10px; font-weight: 600; white-space: nowrap; }
.sc-ct tr.grp td { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px 10px; background: #fafbfe; }
.sc-ct tr.tot td { font-size: 11px; height: 24px; } .sc-ct tr.tot td:first-child { padding-left: 10px; color: var(--muted); }
.sc-ct td.c { text-align: center; font-weight: 700; font-size: 11px; min-width: 42px; }
.sc-ct td.c.off { background: #fce7f3; color: #9d174d; } .sc-ct td.c.hol-US { background: #ede9fe; color: #4c1d95; } .sc-ct td.c.hol-PH { background: #fef3c7; color: #7c4a03; }
.sc-ct td.c.crew { background: #e7f6ef; color: #0b5e4b; } .sc-ct td.c.closed { background: #f1f3fa; color: var(--muted); } .sc-ct td.c.wk { background: #f6f7fb; }
.sc-ct td.c.rest { background: repeating-linear-gradient(135deg, #fff 0 6px, #f3e9ea 6px 12px); } .sc-ct td.c.pend { background: repeating-linear-gradient(135deg, #fce7f3 0 5px, #fff 5px 10px); color: #9d174d; }
.sc-ct tr.tot td.c.lv-ok { background: #e3f4ea; color: #17734a; } .sc-ct tr.tot td.c.lv-at { background: #fff3d6; color: #8a5a00; } .sc-ct tr.tot td.c.lv-low { background: #fde8e8; color: #b42318; } .sc-ct tr.tot td.c.lv-none, .sc-ct tr.tot td.c.lv-closed { background: #fff; color: var(--ink); }
.sc-two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; margin-top: 16px; align-items: start; }
.sc-ph { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .sc-ph h3 { margin: 0; } .sc-ph select { margin-left: auto; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; }
.sp-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin-top: 10px; }
.sp-row label { font-size: 12.5px; font-weight: 600; display: grid; gap: 4px; } .sp-row input { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; width: 100%; }
.sp-crew { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; margin-top: 8px; font-size: 13.5px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.sp-crew .linkbtn { margin-left: auto; }
.sp-tools { align-items: center; } .sp-wk { font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.sp-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; margin: 12px 0; }
.sp-day { border: 0; border-radius: 8px; padding: 6px 4px; text-align: center; font-size: 11px; cursor: pointer; display: grid; gap: 1px; }
.sp-day b { font-size: 11px; } .sp-day.k0 { background: #e7f6ef; color: #0b5e4b; } .sp-day.k1 { background: #e7eafb; color: #1e3a8a; } .sp-day.k2 { background: #fff3d6; color: #8a5a00; } .sp-day.k3 { background: #f3e8ff; color: #6b21a8; }
.sp-day.closed { background: #efeaf8; color: #4c1d95; } .sp-day.none { background: #f6f7fb; color: var(--muted); } .sp-day:disabled { cursor: default; }
.sp-ok { color: #17734a; font-size: 13px; font-weight: 600; } .sp-note { font-size: 12px; }
.sc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; cursor: pointer; font-size: 13.5px; }
.sc-row:hover b { color: var(--navy); }
.sc-minis { display: grid; gap: 14px; padding: 14px; } .sc-minis.quarter { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sc-minis.year { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sc-mini h4 { margin: 0 0 6px; font-size: 13px; cursor: pointer; } .sc-mini h4:hover { color: var(--navy); }
.sc-mgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; font-size: 11px; } .sc-mgrid b { color: var(--muted); font-size: 9.5px; text-align: center; }
.sc-md { position: relative; border: 0; background: #f6f7fb; border-radius: 5px; padding: 3px 0 9px; font-size: 11px; cursor: pointer; text-align: center; }
.sc-md.lv-ok { background: #e3f4ea; } .sc-md.lv-at { background: #fff3d6; } .sc-md.lv-low { background: #fde8e8; } .sc-md.blk { background-image: repeating-linear-gradient(135deg, transparent 0 4px, rgba(180,35,24,.12) 4px 8px); }
.sc-md.sea { box-shadow: inset 0 -2px 0 #f5b942; } .sc-md.today { outline: 2px solid var(--navy); }
.sc-md i { position: absolute; left: 0; right: 0; bottom: 2px; display: flex; gap: 2px; justify-content: center; }
.sc-md u, .sc-foot u { display: inline-block; width: 5px; height: 5px; border-radius: 50%; text-decoration: none; } u.e { background: #2b59ff; } u.h { background: #6b4fa0; } u.p { background: #d63384; }
.sc-span-list { padding: 0 14px 6px; } .sc-span-list h4 { margin: 4px 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sc-form .sc-kinds, .sc-form .sc-off { border: 0; padding: 0; margin: 12px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.sc-form legend, .sc-lab { font-weight: 600; font-size: 14px; margin-bottom: 6px; display: block; }
.sc-kinds label, .sc-tags label { margin: 0 !important; } .sc-kinds input, .sc-tags input, .sc-off input { position: absolute; opacity: 0; pointer-events: none; }
.sc-kinds span, .sc-tags span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; font-size: 13px; font-weight: 600; cursor: pointer; }
.sc-kinds input:checked + span, .sc-tags input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.sc-kinds input:focus-visible + span, .sc-tags input:focus-visible + span, .sc-off input:focus-visible + span { outline: 2px solid #5b74e6; outline-offset: 2px; }
.sc-off label { flex: 1; margin: 0 !important; } .sc-off span { display: block; border: 1px solid var(--line); border-radius: 9px; padding: 8px; text-align: center; font-size: 13px; cursor: pointer; }
.sc-off .o-allow input:checked + span { border-color: #17734a; background: #e3f4ea; color: #17734a; } .sc-off .o-warn input:checked + span { border-color: #c2410c; background: #fff4e5; color: #8a4b00; } .sc-off .o-block input:checked + span { border-color: #b42318; background: #fde8e8; color: #b42318; }
.sc-offnote { font-size: 12.5px; margin: 6px 0 0; }
.sc-r3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; align-items: end; }
.sc-aud { margin-top: 8px; } .sc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.sc-aud details { margin-top: 8px; font-size: 14px; } .sc-pick { max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; margin-top: 6px; }
.sc-pick h4 { margin: 8px 0 2px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sc-warnrow { background: #fff4e5; color: #8a4b00; border-radius: 9px; padding: 8px 10px; font-size: 13px; margin-top: 10px; }
.sc-mfrow { display: flex; gap: 8px; align-items: center; background: #fff6dc; border-radius: 10px; padding: 8px 10px; font-size: 13px; margin-top: 10px; }
.sc-mfrow .mf-svg { width: 30px; height: 30px; flex: none; }
.sc-detail h2 { margin: 8px 0 2px; } .sc-chk .done { text-decoration: line-through; color: var(--muted); }
.sc-addck, .sc-addcm { display: flex; gap: 8px; margin-top: 6px; align-items: flex-start; } .sc-addck input, .sc-addcm textarea { flex: 1; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.sc-cm { font-size: 13.5px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.sc-ht { border-collapse: collapse; width: 100%; font-size: 13px; margin-top: 6px; } .sc-ht th { text-align: left; font-size: 11px; color: var(--muted); padding: 4px 6px; } .sc-ht td { border-top: 1px solid var(--line); padding: 5px 6px; }
.sc-ht input[type=number] { width: 70px; margin: 0 !important; display: inline-block !important; } .sc-ht select, .sc-ht input[type=time] { margin: 0 !important; padding: 4px 6px !important; }
.sc-sh { margin: 18px 0 2px; font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); display: flex; gap: 8px; align-items: center; }
.sc-steps { font-size: 14px; padding-left: 20px; }
.pto-plan { margin: 10px 0 0; font-size: 13.5px; } .pto-plan.blocked { background: var(--red-soft); border-color: #f3c2c2; color: #8a1c1c; }
.cc-modal-box:has(.sc-form), .cc-modal-box:has(.sc-setf) { width: min(680px, 100%); }
@media (max-width: 1100px) { .sc-grid2, .sc-two { grid-template-columns: 1fr; } .sc-minis.year { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .sc-d { min-height: 74px; padding: 3px 3px 12px; } .sc-it { font-size: 9.5px; padding: 0 3px; } .sc-band { font-size: 9px; }
  .sc-minis.quarter, .sc-minis.year { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sp-row, .sc-r3 { grid-template-columns: 1fr; } .sc-month { min-width: 0; font-size: 18px; }
}
.sc-form [hidden], .sc-setf [hidden] { display: none !important; }
.sc-form .t-pick input[type=radio], .sc-form .t-pick input[type=checkbox] { width: auto !important; display: inline-block !important; margin: 0 !important; }
.sc-form .t-pick { margin: 4px 0 0 !important; }
.sc-span-list .sc-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; }
.sc-span-list .sc-row .sc-pill { justify-self: start; }

/* Topflight licenses: several files, and "Add several" (owner, 2026-12-01) */
.lic-files { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 4px; }
.lic-files li { display: flex; align-items: center; gap: 6px; font-size: 13.5px; flex-wrap: wrap; }
.lic-files li.new { color: var(--navy); }
.lic-files .linkbtn { margin-left: auto; font-size: 12.5px; }
.lic-drop { display: flex; align-items: center; justify-content: center; gap: 8px; border: 2px dashed var(--line); border-radius: 12px; padding: 22px; cursor: pointer; color: var(--muted); margin: 8px 0 12px; }
.lic-drop.over, .lic-drop:hover { border-color: var(--navy); color: var(--navy); background: #f6f8ff; }
.lic-bulk .lb-act { margin-top: 6px; } .lic-bulk .lb-act select { width: 100%; max-width: 100%; box-sizing: border-box; min-width: 0; }
.lb-how { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 8px; margin-bottom: 4px; }
.lb-how.lb-new { background: #e7f6ee; color: #17734a; } .lb-how.lb-renew { background: #e6efff; color: #1a56c4; } .lb-how.lb-dup { background: #f1f1f4; color: #5b6386; }
.lb-how + b { display: block; }

/* Logins: folders (owner, 2026-12-01) */
.vt-folders { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.vt-folders .chip { display: inline-flex; align-items: center; gap: 5px; }
.vt-newf { border-style: dashed !important; color: var(--navy) !important; }
.vt-ftag { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; color: var(--muted); background: #f3f4fa; border-radius: 999px; padding: 1px 8px; margin-left: 6px; }
.vf-list { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 6px; }
.vf-list li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vf-list li input { flex: 1 1 180px; height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; font: inherit; }
.vf-add { display: flex; gap: 8px; flex-wrap: wrap; } .vf-add input { flex: 1 1 200px; height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; font: inherit; }

/* Logins: security questions (owner, 2026-12-01) */
.vt-qs { display: grid; gap: 6px; min-width: 0; }
.vt-q { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.vt-qq { flex: 1 1 100%; font-size: 13px; color: var(--ink); }
.vt-qedit { display: grid; gap: 6px; margin: 4px 0 6px; }
.vt-qline { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.vt-qline input { flex: 1 1 200px; height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; font: inherit; }

/* Logins: select several (owner, 2026-12-01) */
.vt-pick { width: 17px; height: 17px; margin: 0 8px 0 0; flex: none; cursor: pointer; }
.vt-top { align-items: center; }
.vt-card.picked { outline: 2px solid var(--navy); outline-offset: -1px; background: #f6f8ff; }
.vt-selrow { margin: -4px 0 8px; min-height: 18px; }

/* select several everywhere (owner, 2026-12-01) */
.rp-card { position: relative; } .rp-ck { position: absolute; top: 12px; left: 10px; width: 16px; height: 16px; } .rp-card:has(.rp-ck) { padding-left: 34px; }
.rp-card.picked, .mfc-chat.picked { outline: 2px solid var(--navy); outline-offset: -1px; background: #f6f8ff; }
.mfc-ck { margin: 0 6px 0 0; flex: none; } .mfc-all { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin: 0 0 6px; }

/* Coverage view: full day names, not single letters (owner, 2026-12-01: "the letters are ambiguous") */
.sc-ct th.sc-dh { line-height: 1.15; white-space: nowrap; }
.sc-ct th.sc-dh .sc-wd { display: block; font-weight: 700; }
.sc-ct th.sc-dh .sc-dn { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.sc-ct th.sc-dh.sel .sc-dn { color: inherit; }
.sc-ct th.sc-dh.wk { color: var(--muted); }

/* Strategic calendar: Day view (owner, 2026-12-02): all-day items, then the schedule by time */
.sc-cal.day { padding: 0; overflow: hidden; }
.sc-dayview .sc-dhead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; }
.sc-dayview .sc-dhead h3 { margin: 0; font-size: 20px; flex: 1 1 auto; }
.sc-dsec { background: var(--bg); padding: 7px 16px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); }
.sc-drow { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 14px; align-items: start; width: 100%; padding: 11px 16px; border: 0; border-top: 1px solid var(--line); background: var(--card); color: var(--ink); text-align: left; font: inherit; }
.sc-drow.allday { grid-template-columns: minmax(0, 1fr) auto; }
button.sc-drow { cursor: pointer; } button.sc-drow:hover { background: #f3f5ff; }
.sc-dtime { font-variant-numeric: tabular-nums; font-size: 13.5px; padding-top: 1px; }
.sc-dmain { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .sc-dmain b { font-size: 15px; } .sc-dmain .muted { font-size: 13px; }
.sc-dtag { display: flex; align-items: center; gap: 8px; } .sc-dopen { font-size: 13px; color: var(--navy); white-space: nowrap; }
.sc-dempty { margin: 0; padding: 14px 16px; color: var(--muted); border-top: 1px solid var(--line); }
.sc-dayview .sc-foot { padding: 10px 16px; border-top: 1px solid var(--line); margin: 0; }
.sc-pill.k-ph { background: #fff6cc; color: #6b5600; } .sc-pill.k-ghl { background: #ece3ff; color: #4b2a8f; } .sc-pill.k-team { background: #e1f3ea; color: #1d5a3a; } .sc-pill.k-busy { background: #eef0f4; color: #4a5070; }
@media (max-width: 640px) { .sc-drow { grid-template-columns: 1fr; gap: 4px; } .sc-dtag { justify-content: flex-start; } }

/* Agent Requests: one-click Done on each card (owner, 2026-12-03) */
.rcard .rdone { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--card); color: #1d5a3a; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.rcard .rdone:hover { background: #e2f3e6; border-color: #9fd3b0; } .rcard .rdone:disabled { opacity: .5; cursor: default; }
.rcard .rdone + .rown { margin-left: 6px; }
