/* NXTROI CRM — same brand colours as nxtroi.com */
:root {
    --orange: #f36f00;
    --orange-dark: #d95f00;
    --dark: #101827;
    --text: #111827;
    --muted: #667085;
    --light: #f7f8fc;
    --border: #e7eaf0;
    --green: #20b486;
    --red: #c62a2f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Inter, Arial, sans-serif; color: var(--text); background: var(--light); line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
main.wrap { flex: 1; padding: 30px 0 40px; }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 16px; }

/* header */
.top { background: white; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 66px; flex-wrap: wrap; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 800; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand em { font-style: normal; color: var(--orange); }
.top nav { display: flex; gap: 0 2px; flex-wrap: wrap; flex: 1; }
.top nav a { color: var(--muted); font-weight: 700; font-size: 13.5px; padding: 6px 8px; border-radius: 9px; white-space: nowrap; }
.top nav a:hover { background: var(--light); text-decoration: none; color: var(--text); }
.top nav a[aria-current="page"] { color: var(--orange); background: #fff4eb; }
.who { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.who span { display: grid; text-align: right; line-height: 1.25; font-size: 14px; }
.who small { color: var(--muted); font-size: 12px; }
.back { margin-left: auto; font-weight: 700; font-size: 14px; }

/* buttons, pills, alerts */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 10px; padding: 11px 18px; background: var(--orange); color: white; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--orange-dark); text-decoration: none; }
.btn.ghost { background: white; color: var(--text); border: 1.5px solid var(--border); }
.btn.ghost:hover { border-color: var(--orange); color: var(--orange-dark); }
.btn.ghost.danger:hover { border-color: var(--red); color: var(--red); }
.btn.sm { padding: 6px 11px; font-size: 12.5px; border-radius: 8px; }
.btn.wide { width: 100%; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #eef0f4; color: var(--muted); font-size: 12px; font-weight: 700; }
.pill.ok { background: #e7f8f2; color: #0f7a57; }
.alert { padding: 12px 15px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; font-weight: 600; }
.alert.good { background: #e7f8f2; color: #0f7a57; }
.alert.bad { background: #fdecec; color: #b42318; }
.alert.info { background: #eef6ff; color: #1d4ed8; }

/* cards and layout */
.card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 22px; margin-bottom: 18px; }
.card h2 { font-size: 18px; margin-bottom: 8px; }
.card p.muted + .pill { margin-top: 10px; }
.card p + p, .card .stats + p { margin-top: 14px; }
.page-title { font-size: 28px; letter-spacing: -.5px; }
.page-title + .muted { margin: 4px 0 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.grid .card { margin: 0; }
.grid .card.team { grid-column: 1 / -1; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.stats div { background: var(--light); border-radius: 10px; padding: 10px 12px; }
.stats small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }
.stats b { font-size: 24px; }
.stats span { font-size: 12px; color: var(--muted); margin-left: 4px; }

/* sign-in style pages */
.auth { display: grid; place-items: start center; padding-top: 4vh; }
.auth .card { width: min(420px, 100%); padding: 30px; }
.auth h1 { font-size: 22px; margin-bottom: 4px; }
.auth .muted { margin-bottom: 16px; font-size: 14px; }
.auth-logo { display: block; margin: 0 auto 14px; }
.auth .card > h1, .auth .card > img + h1, .auth .card > img + h1 + .muted { text-align: center; }

/* forms */
.form { display: grid; gap: 14px; }
.form.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; align-items: start; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 5px; align-content: start; font-size: 13px; font-weight: 700; }
.form label small { font-weight: 500; color: var(--muted); font-size: 12px; }
input, select { width: 100%; padding: 10px 12px; border: 1.5px solid #cfd5df; border-radius: 10px; font: inherit; font-size: 14px; color: var(--text); background: white; }
input:focus, select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,111,0,.15); }

/* users table */
.table-wrap { overflow-x: auto; }
table.users { width: 100%; border-collapse: collapse; font-size: 14px; }
.users th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.users td { padding: 12px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.users tr.off td { opacity: .6; }
.users .inline { display: flex; gap: 6px; align-items: center; }
.users .inline input { min-width: 140px; padding: 7px 9px; }
.users .inline select { min-width: 170px; padding: 7px 9px; }
.users td.actions form, .users td.actions > a { display: inline-block; margin: 3px 4px 3px 0; }

/* temporary password box */
.secret { background: #fffaf5; border: 1.5px dashed var(--orange); border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; }
.secret p { font-size: 14px; color: var(--muted); margin: 4px 0 10px; }
.secret dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 14px; align-items: center; }
.secret dt { font-weight: 700; }
.secret code { font-family: "SFMono-Regular", Consolas, monospace; font-size: 15px; background: white; border: 1px solid var(--border); padding: 3px 8px; border-radius: 7px; word-break: break-all; }

.foot { padding: 18px 0 26px; font-size: 13px; color: var(--muted); text-align: center; }

@media (max-width: 760px) {
    .top .wrap { gap: 10px; }
    .who { margin-left: 0; width: 100%; justify-content: space-between; }
    .who span { text-align: left; }
    .form.cols { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .users thead { display: none; }
    .users, .users tbody, .users tr, .users td { display: block; width: 100%; }
    .users tr { border: 1px solid var(--border); border-radius: 12px; padding: 6px 12px; margin-bottom: 12px; }
    .users td { border: 0; padding: 7px 0; }
    .users td.actions { display: flex; flex-wrap: wrap; gap: 6px; }
    .users td.actions form, .users td.actions > a { margin: 0; }
    .users td.actions::before { flex-basis: 100%; }
    .users td::before { content: attr(data-label); display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; font-weight: 700; margin-bottom: 3px; }
    .users .inline input, .users .inline select { min-width: 0; flex: 1; }
    .secret dl { grid-template-columns: 1fr; }
}

/* employee details (read-only view) */
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 22px; }
.details dt { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; font-weight: 700; }
.details dd { font-size: 15px; font-weight: 600; margin-top: 2px; word-break: break-word; }

/* people, photos, employee form */
.avatar { border-radius: 50%; object-fit: cover; flex: none; background: var(--light); }
.avatar.none { display: inline-grid; place-items: center; background: #fff1e5; color: var(--orange-dark); font-weight: 800; }
.person { display: flex; align-items: center; gap: 10px; }
.person.big { gap: 16px; margin-bottom: 18px; }
.person.big .page-title + .muted { margin: 2px 0 0; }
.card h2 small { font-size: 13px; font-weight: 600; }
textarea { width: 100%; padding: 10px 12px; border: 1.5px solid #cfd5df; border-radius: 10px; font: inherit; font-size: 14px; color: var(--text); resize: vertical; }
textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,111,0,.15); }
.phone { display: flex; }
.phone span { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid #cfd5df; border-right: 0; border-radius: 10px 0 0 10px; background: var(--light); font-weight: 700; font-size: 14px; }
.phone input { border-radius: 0 10px 10px 0; }
input[type="file"] { padding: 8px; background: var(--light); }
.check { display: inline-flex !important; align-items: center; gap: 5px; font-weight: 600 !important; margin-left: 6px; }
.check input { width: auto; }
.form-error { color: var(--red); font-weight: 700; font-size: 14px; }
.form-error:empty { display: none; }
.form input:invalid:not(:placeholder-shown) { border-color: #e5484d; }
.details .wide-item { grid-column: 1 / -1; }

/* ===== tabs, pills, small layout helpers ===== */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; border-bottom: 1px solid var(--border); }
.tabs a { padding: 9px 14px; font-weight: 700; font-size: 14px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a:hover { text-decoration: none; color: var(--text); }
.tabs a[aria-current="page"] { color: var(--orange-dark); border-bottom-color: var(--orange); }
.tabs .tab-btn { margin-left: auto; color: var(--orange-dark); }
.tabs.small { border: 0; margin: 0; }
.tabs.small a { padding: 4px 8px; font-size: 13px; }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: white; font-size: 11.5px; }
.pill.half { background: #fff4e5; color: #a85400; }
.pill.leave { background: #ede9fe; color: #5b21b6; }
.pill.wait { background: #fef3c7; color: #92400e; }
.pill.hol { background: #e0f2fe; color: #075985; }
.pill.bad { background: #fdecec; color: #b42318; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.card-head h2 { margin: 0; }
.inline-form { display: flex; gap: 6px; align-items: center; }
.inline-form input { width: auto; padding: 6px 9px; }
.form.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; align-items: start; }
.money { font-variant-numeric: tabular-nums; font-weight: 700; }
.stats b.money { font-size: 20px; }

/* ===== attendance ===== */
.mark { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.mark-btn { flex: 1 1 150px; padding: 16px; font-size: 15px; background: #e7f8f2; color: #0f7a57; border: 2px solid transparent; }
.mark-btn:hover { background: #d3f2e7; color: #0f7a57; }
.mark-btn.half { background: #fff4e5; color: #a85400; }
.mark-btn.half:hover { background: #ffe8cc; color: #a85400; }
.mark-btn.leave { background: #ede9fe; color: #5b21b6; }
.mark-btn.leave:hover { background: #e1dafd; color: #5b21b6; }
.mark-btn.chosen { border-color: currentColor; }
.big-status .pill { font-size: 15px; padding: 6px 14px; }
.decide { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.decide input { flex: 1 1 140px; padding: 6px 9px; }

/* ===== sales ===== */
.sales-stats { margin-bottom: 18px; }
.sales-stats .alert-stat { background: #fff4e5; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.filters input[type="search"] { flex: 1 1 260px; }
.filters select { width: auto; flex: 0 1 180px; }
.empty { padding: 14px 0; }
.pill.stage-new { background: #eef0f4; color: #344054; }
.pill.stage-contacted { background: #e0f2fe; color: #075985; }
.pill.stage-qualified { background: #ede9fe; color: #5b21b6; }
.pill.stage-proposal { background: #fff4e5; color: #a85400; }
.pill.stage-negotiation { background: #fef3c7; color: #92400e; }
.pill.stage-won { background: #e7f8f2; color: #0f7a57; }
.pill.stage-lost { background: #fdecec; color: #b42318; }
.board { display: grid; grid-template-columns: repeat(7, minmax(148px, 1fr)); gap: 8px; overflow-x: auto; padding-bottom: 10px; }
.col { background: #eef0f5; border-radius: 14px; padding: 10px; min-height: 160px; }
.col header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 6px; padding: 2px 4px 10px; border-bottom: 3px solid #cfd5df; margin-bottom: 10px; font-size: 14px; }
.col header span { font-size: 12px; color: var(--muted); font-weight: 700; }
.col.stage-won header { border-color: var(--green); }
.col.stage-lost header { border-color: #e5484d; }
.col.stage-proposal header, .col.stage-negotiation header { border-color: var(--orange); }
.deal { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 10px; margin-bottom: 8px; display: grid; gap: 4px; font-size: 13.5px; }
.deal a { color: var(--text); }
.deal small { color: var(--muted); }
.deal-meta { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.deal select { padding: 4px 6px; font-size: 12px; border-width: 1px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.timeline li:last-child { border: 0; }
.timeline .ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--light); }
.timeline p { margin-top: 2px; font-size: 14px; }
.timeline .act-note p { color: var(--muted); }
.danger-zone { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); }

@media (max-width: 900px) {
    .form.cols3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .form.cols3 { grid-template-columns: 1fr; }
    .tabs .tab-btn { margin-left: 0; }
    .board { grid-template-columns: repeat(7, 78%); }
    .filters select { flex: 1 1 45%; }
}
.grid + .card { margin-top: 18px; }
.code { font-family: "SFMono-Regular", Consolas, monospace; font-size: 12.5px; font-weight: 700; color: var(--orange-dark); letter-spacing: .2px; }
.deal-top { display: flex; justify-content: space-between; align-items: center; }
.deal-top .edit { font-size: 12px; font-weight: 700; }
input.readonly, input[readonly] { background: var(--light); color: var(--muted); }
.inline-form .pill { white-space: nowrap; }
.users .inline-form input[type="date"] { width: 140px; }
.deal-meta .pill { white-space: nowrap; }
.col { padding: 8px; }
.code, .users .actions .btn, .users td[data-label="Contact"] { white-space: nowrap; }

/* ===== finance ===== */
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.users th.num { text-align: right; }
.neg { color: var(--red); }
.small { font-size: 12.5px; }
form.inline { display: inline; }
.form .span2 { grid-column: span 2; }
.fin-stats { margin-bottom: 18px; }
.fin-stats b.money { font-size: 22px; }
table.mini { width: 100%; border-collapse: collapse; font-size: 14px; }
table.mini td { padding: 8px 0; border-bottom: 1px solid var(--border); }
table.mini tr.grand td { font-weight: 800; border-bottom: 2px solid var(--text); }
table.items { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; min-width: 640px; }
table.items th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 6px; border-bottom: 1px solid var(--border); }
table.items td { padding: 5px 6px; }
table.items td input { padding: 8px 9px; }
table.items th:nth-child(1) { width: 46%; } table.items th:nth-child(2) { width: 12%; } table.items th:nth-child(3) { width: 9%; } table.items th:nth-child(4) { width: 15%; }
table.items tfoot td { border-top: 1px solid var(--border); font-weight: 700; padding: 8px 6px; }
table.items tr.grand td { font-size: 16px; font-weight: 800; }
.inv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.invoice-doc { position: relative; background: white; border: 1px solid var(--border); border-radius: 16px; padding: 32px; font-size: 14px; overflow: hidden; }
.inv-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 3px solid var(--orange); }
.inv-from { display: flex; gap: 12px; line-height: 1.5; }
.inv-from b { font-size: 18px; }
.inv-title h2 { color: var(--orange-dark); letter-spacing: 1px; text-align: right; }
.inv-title dl { display: grid; grid-template-columns: auto auto; gap: 2px 14px; margin-top: 6px; }
.inv-title dt { color: var(--muted); }
.inv-title dd { font-weight: 700; text-align: right; }
.inv-to { margin: 18px 0; line-height: 1.5; }
.inv-to small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .6px; font-weight: 700; }
.inv-to b { font-size: 16px; }
.inv-items { width: 100%; border-collapse: collapse; }
.inv-items th { background: var(--light); text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px; padding: 9px 8px; }
.inv-items th.num { text-align: right; }
.inv-items td { padding: 9px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.inv-items tfoot td { border: 0; padding: 6px 8px; }
.inv-items tfoot tr.grand td { font-size: 16px; font-weight: 800; border-top: 2px solid var(--text); }
.inv-words { margin: 14px 0; font-style: italic; color: var(--muted); }
.inv-foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.inv-foot span:last-child { text-align: right; }
.inv-stamp { position: absolute; top: 120px; right: 40px; transform: rotate(-14deg); border: 4px solid #e5484d; color: #e5484d; font-weight: 900; font-size: 30px; padding: 4px 16px; border-radius: 8px; opacity: .55; letter-spacing: 3px; }
.inv-stamp.paid { border-color: var(--green); color: var(--green); }
.inv-side .card { margin-bottom: 14px; }
.inv-side .quick { margin-top: 12px; }
@media (max-width: 980px) { .inv-layout { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .form .span2 { grid-column: auto; } .invoice-doc { padding: 18px; } .inv-title h2, .inv-title dd { text-align: left; } }
@media print {
    body { background: white; }
    .top, .foot, .alert, .no-print, .inv-side { display: none !important; }
    main.wrap { width: 100%; padding: 0; }
    .inv-layout { display: block; }
    .invoice-doc { border: 0; padding: 0; }
}
h2.mt { margin-top: 22px; }
.bill-sum { margin: 10px 0 4px; padding: 10px 14px; background: var(--light); border-radius: 10px; font-size: 14px; }
table.bill-math { max-width: 460px; margin-top: 18px; }
.pill.mod { background: #fff1e5; color: var(--orange-dark); }
.req { color: var(--orange); }

/* ===== project management ===== */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; margin-bottom: 14px; }
.crumbs span { color: var(--muted); }
.pm-tools { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.pm-tools .inline-form { flex: 1 1 320px; }
.pm-tools .inline-form input[name="name"] { flex: 1; width: auto; }
.pm-upload input[type="file"] { flex: 1; width: auto; padding: 6px; background: var(--light); }
.pm-list { display: grid; gap: 8px; }
.pm-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: white; }
.pm-item.folder { background: #fffaf5; }
.pm-open { flex: 1; display: flex; align-items: center; gap: 12px; color: var(--text); min-width: 0; }
.pm-open:hover { text-decoration: none; }
.pm-open:hover b { color: var(--orange-dark); }
.pm-open b { display: block; overflow-wrap: anywhere; }
.pm-open small { display: block; color: var(--muted); font-size: 12.5px; }
.pm-ico { font-size: 26px; line-height: 1; }
.pm-menu { position: relative; }
.pm-menu summary { list-style: none; cursor: pointer; padding: 4px 10px; border-radius: 8px; font-weight: 800; font-size: 18px; color: var(--muted); }
.pm-menu summary::-webkit-details-marker { display: none; }
.pm-menu summary:hover { background: var(--light); }
.pm-menu[open] > div { position: absolute; right: 0; top: 36px; z-index: 5; background: white; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow, 0 10px 30px rgba(16,24,39,.12)); padding: 12px; display: grid; gap: 10px; width: 300px; }
.pm-menu .inline-form input { flex: 1; width: auto; min-width: 0; }
@media (max-width: 760px) {
    .pm-item { flex-wrap: wrap; }
    .pm-item .pm-open { flex: 1 1 100%; }
    .pm-item > .btn { margin-left: 48px; }
    .pm-tools .inline-form { flex-wrap: wrap; }
    .pm-tools .inline-form input { flex: 1 1 100%; min-width: 0; }
    .pm-menu[open] > div { width: min(300px, 80vw); }
}

/* Yes / No confirmation box */
.confirm-box { margin: auto; border: 0; border-radius: 16px; padding: 24px; width: min(420px, calc(100% - 32px)); box-shadow: 0 30px 80px rgba(16,24,39,.3); }
.confirm-box::backdrop { background: rgba(16,24,39,.45); }
.confirm-q { font-size: 16px; font-weight: 700; margin-bottom: 18px; line-height: 1.45; }
.confirm-actions { display: flex; gap: 10px; justify-content: flex-end; }
.confirm-actions .btn { min-width: 90px; }
.btn.danger-solid { background: #d92d20; }
.btn.danger-solid:hover { background: #b42318; }

/* ===== sharing ===== */
.pill.shared { background: #e0f2fe; color: #075985; white-space: nowrap; }
.copy-row { display: flex; gap: 6px; margin-top: 6px; max-width: 560px; }
.copy-row input { flex: 1; min-width: 0; padding: 6px 9px; font-size: 12.5px; background: var(--light); }
.share-add { margin-top: 12px; flex-wrap: wrap; }
.share-add select { flex: 1 1 280px; width: auto; }
.share-new { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); }
.share-note { margin: 6px 0 14px; }
.share-card .page-title { margin-bottom: 4px; }

/* ===== instructor calendar ===== */
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.cal-chip { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cal-chip small { font-weight: 600; opacity: .85; }
.st-available { background: #e7f8f2; color: #0f7a57; }
.st-busy { background: #fdecec; color: #b42318; }
.st-tentative { background: #fef3c7; color: #92400e; }
.st-unavailable { background: #eef0f4; color: #475467; }
.st-training { background: #ede9fe; color: #5b21b6; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(90px, 1fr)); gap: 4px; min-width: 660px; }
.cal-dow { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 4px 6px; }
.cal-cell { min-height: 86px; background: white; border: 1px solid var(--border); border-radius: 10px; padding: 5px 6px; display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.cal-cell.pad { background: transparent; border: 0; }
.cal-cell.we, .cal-dow.we { background: #f6f7fa; }
.cal-dow.we { background: none; }
.cal-cell.today { border: 2px solid var(--orange); }
.cal-num { font-size: 12.5px; font-weight: 800; color: var(--muted); }
.cal-hol { font-size: 11px; color: #075985; font-weight: 700; }
.check-line { display: flex !important; align-items: end; padding-bottom: 10px; }
.check-line span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.check-line input { width: auto; }
.users.avail td { vertical-align: top; min-width: 110px; }
.users.avail td .cal-chip { display: block; margin-bottom: 3px; }
.users.avail th.we, .users.avail td.we { background: #f8f9fb; }
.inst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 10px; }
.inst-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 16px; display: grid; gap: 10px; align-content: start; }
.inst-card.off { opacity: .55; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { display: inline-block; background: var(--light); border: 1px solid var(--border); border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 600; margin: 0 4px 4px 0; }
.mod-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; }

/* ===== chat ===== */
.chat-wrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 14px; height: calc(100vh - 210px); min-height: 480px; }
.chat-side { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 10px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.chat-li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 12px; border-radius: 12px; color: var(--text); }
.chat-li:hover { background: var(--light); text-decoration: none; }
.chat-li.on { background: #fff1e5; }
.chat-li b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-li small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-main { background: white; border: 1px solid var(--border); border-radius: 16px; display: flex; flex-direction: column; min-height: 0; }
.chat-main.pad { padding: 20px; overflow-y: auto; }
.chat-head { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.chat-head h2 { font-size: 18px; }
.members { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.member { display: inline-flex; align-items: center; gap: 4px; background: var(--light); border-radius: 999px; padding: 2px 4px 2px 10px; font-size: 12.5px; font-weight: 600; }
.member small { color: var(--muted); font-weight: 500; }
.member .x { border: 0; background: none; cursor: pointer; font-size: 15px; color: var(--muted); padding: 0 6px; border-radius: 50%; }
.member .x:hover { color: var(--red); background: #fdecec; }
.member:not(:has(form)) { padding-right: 10px; }
.chat-manage { position: relative; }
.chat-manage summary { cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--muted); list-style: none; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border); }
.chat-manage[open] > div { position: absolute; right: 0; top: 40px; z-index: 6; width: min(380px, 85vw); background: white; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 50px rgba(16,24,39,.18); padding: 14px; display: grid; gap: 14px; }
.chat-manage .inline-form input { flex: 1; min-width: 0; width: auto; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; background: #fafbfd; min-height: 0; }
.bubble { max-width: min(560px, 80%); background: white; border: 1px solid var(--border); border-radius: 4px 14px 14px 14px; padding: 8px 12px; align-self: flex-start; }
.bubble.mine { align-self: flex-end; background: #fff1e5; border-color: #fde0c7; border-radius: 14px 4px 14px 14px; }
.bubble b { font-size: 12.5px; color: var(--orange-dark); display: block; }
.bubble b small { color: var(--muted); font-weight: 500; }
.bubble p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; }
.bubble time { display: block; text-align: right; font-size: 11px; color: var(--muted); margin-top: 2px; }
.chat-sys { align-self: center; font-size: 12px; color: var(--muted); background: #eef0f4; border-radius: 999px; padding: 3px 12px; text-align: center; }
.chat-day { align-self: center; font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin: 6px 0; }
.chat-send { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); align-items: flex-end; }
.chat-send textarea { flex: 1; resize: none; max-height: 160px; }
.pick-search { margin: 6px 0; }
.pick-list { max-height: 260px; overflow-y: auto; border: 1px solid var(--border); border-radius: 10px; padding: 4px 8px; margin-bottom: 8px; }
.pick-group { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin: 8px 0 2px; }
.pick { display: flex !important; align-items: center; gap: 8px; padding: 4px 0; font-weight: 500 !important; cursor: pointer; }
.pick input { width: auto; }
@media (max-width: 760px) {
    .chat-wrap { grid-template-columns: 1fr; height: auto; }
    .chat-side { max-height: 200px; }
    .chat-main { height: 70vh; }
}
@media (max-width: 760px) { .top { position: static; } }

/* several roles per user */
.roles-field { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px 12px; margin: 0; }
.roles-field legend { font-weight: 700; font-size: 13px; padding: 0 6px; }
.roles-field legend small { font-weight: 500; color: var(--muted); font-size: 12px; }
.role-checks { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.role-checks .check { margin-left: 0; font-weight: 600 !important; font-size: 13.5px; }
.role-checks .solo { color: #9a3412; }
.role-hint { display: block; width: 100%; color: #b42318; font-weight: 700; }
.role-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.role-edit { margin-top: 6px; }
.role-edit summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.role-edit form { display: grid; gap: 8px; margin-top: 8px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: #fafbfc; min-width: 230px; }
.role-edit .role-checks { flex-direction: column; gap: 4px; }

/* instructor cards: role tag + contact with small icons */
.role-pill { background: #fff1e5; color: var(--orange-dark); font-size: 11px; padding: 1px 8px; vertical-align: 2px; }
.inst-card .contact { display: grid; gap: 4px; font-size: 13px; }
.inst-card .contact a, .inst-card .contact > span { display: inline-flex; align-items: center; gap: 7px; color: var(--text); text-decoration: none; min-width: 0; }
.inst-card .contact a:hover span { color: var(--orange-dark); text-decoration: underline; }
.inst-card .contact svg { flex: none; color: var(--orange); }
.inst-card .contact span span, .inst-card .contact a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* birthday reminders */
.bday { position: relative; background: linear-gradient(90deg, #fff4e8, #fff9f2); border: 1px solid #ffd9b3; border-radius: 14px; padding: 10px 44px 10px 14px; margin-bottom: 16px; }
.bday ul { list-style: none; display: grid; gap: 4px; font-size: 14px; }
.bday li.today { font-weight: 600; }
.bday .bday-x { position: absolute; top: 8px; right: 8px; border: 0; background: transparent; color: var(--muted); font-size: 14px; width: 28px; height: 28px; border-radius: 8px; cursor: pointer; }
.bday .bday-x:hover { background: #ffe6cc; color: var(--text); }

/* availability board: date picker + status filter */
.avail-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pick-date label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.pick-date input { width: auto; padding: 5px 8px; font-size: 13px; }
.cal-legend.filter { align-items: center; }
.cal-legend.filter a.cal-chip { text-decoration: none; cursor: pointer; padding: 4px 10px; border: 2px solid transparent; opacity: .9; }
.cal-legend.filter a.cal-chip:hover { opacity: 1; border-color: currentColor; }
.cal-legend.filter a.cal-chip.on { border-color: currentColor; opacity: 1; box-shadow: 0 1px 4px rgba(16, 24, 39, .12); }
.cal-legend.filter a.clear { font-size: 13px; font-weight: 700; margin-left: 4px; }
.filter-note { margin: -4px 0 10px; }
.users.avail th.picked { color: var(--orange-dark); box-shadow: inset 0 -2px 0 var(--orange); }
.users.avail td.picked { background: #fff8f1; }
.cal-legend.filter:has(.on) a.cal-chip:not(.on) { opacity: .5; }

/* home: app launcher */
.launcher { margin: 18px 0 26px; padding: 30px 22px; border-radius: 22px; background: linear-gradient(135deg, #efecf8 0%, #f6f4fb 48%, #fff4ea 100%); border: 1px solid #ebe7f4; }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 26px 12px; justify-items: center; max-width: 980px; margin: 0 auto; }
.app { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--text); width: 118px; }
.app-tile { position: relative; display: grid; place-items: center; width: 96px; height: 96px; background: #fff; border-radius: 16px; border: 1px solid #e3e1ea; box-shadow: 0 2px 6px rgba(16, 24, 39, .08); transition: transform .15s ease, box-shadow .15s ease; }
a.app:hover .app-tile, a.app:focus-visible .app-tile { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(16, 24, 39, .14); }
a.app:focus-visible { outline: none; }
a.app:focus-visible .app-tile { outline: 3px solid var(--orange); outline-offset: 3px; }
.app-name { font-size: 15px; font-weight: 500; text-align: center; line-height: 1.25; }
a.app:hover .app-name { color: var(--orange-dark); }
.app-badge { position: absolute; top: -8px; right: -8px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.app.soon { cursor: default; }
.app.soon .app-tile svg { opacity: .6; filter: grayscale(.3); }
.app.soon .app-name { color: var(--muted); }
.app-soon { position: absolute; bottom: 6px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); background: #f1f2f6; border-radius: 6px; padding: 1px 6px; }
.glance-title { font-size: 18px; margin: 0 0 12px; }
@media (max-width: 560px) {
  .launcher { padding: 22px 10px; margin-left: -4px; margin-right: -4px; }
  .apps { grid-template-columns: repeat(3, 1fr); gap: 20px 6px; }
  .app { width: 100%; }
  .app-tile { width: 76px; height: 76px; border-radius: 14px; }
  .app-tile svg { width: 44px; height: 44px; }
  .app-name { font-size: 13px; }
}
/* richer icons: soft depth under each icon, slightly bigger tiles */
.app-tile { width: 100px; height: 100px; border-radius: 20px; background: linear-gradient(180deg, #fff 0%, #fbfaff 100%); border-color: #e2dff0; box-shadow: 0 1px 0 #fff inset, 0 4px 10px rgba(52, 40, 110, .10), 0 1px 2px rgba(16, 24, 39, .06); }
.app-tile svg { filter: drop-shadow(0 3px 3px rgba(16, 24, 39, .22)); }
a.app:hover .app-tile svg { transform: scale(1.06); transition: transform .15s ease; }
@media (max-width: 560px) { .app-tile { width: 78px; height: 78px; border-radius: 16px; } .app-tile svg { width: 54px; height: 54px; } }

/* ---------- calendar (dashboard + Calendar page) ---------- */
.k-teams { --k: #5b5fc7; --kb: #ecebfb; }
.k-holiday { --k: #8e3fb0; --kb: #f5e9fb; }
.k-leave { --k: #c26a00; --kb: #fff1dc; }
.k-birthday { --k: #d0173f; --kb: #ffe8ee; }
.k-followup { --k: #1260e0; --kb: #e5effe; }
.k-training { --k: #0b8f75; --kb: #defaf2; }
.k-finance { --k: #7a5a00; --kb: #fff6cc; }
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.cal-top h2 { margin: 0; }
.cal-legend2 { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 12px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.cal-legend2 .lg { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend2 i { width: 10px; height: 10px; border-radius: 3px; background: var(--k); display: inline-block; }
.cal-body { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 16px; align-items: start; }
.cgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--border); gap: 1px; }
.cw { background: #f7f8fc; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 7px 8px; }
.cw.we { color: #9aa3b2; }
.cd { background: #fff; min-height: 96px; padding: 4px 5px 6px; display: flex; flex-direction: column; gap: 3px; cursor: pointer; min-width: 0; }
.cd.we { background: #fbfbfd; }
.cd.out { background: #f8f9fb; }
.cd.out .dn { color: #b6bcc8; }
.cd:hover { background: #fff8f1; }
.cd .dn { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--text); text-decoration: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.cd.today .dn { background: var(--orange); color: #fff; }
.cd.picked { box-shadow: inset 0 0 0 2px var(--orange); }
.chips { display: grid; gap: 2px; min-width: 0; }
.cev { display: block; font-size: 11.5px; line-height: 1.35; padding: 1px 6px; border-radius: 5px; background: var(--kb); color: var(--k); border-left: 3px solid var(--k); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; font-weight: 600; }
a.cev:hover { filter: brightness(.95); text-decoration: underline; }
.cmore { font-size: 11px; color: var(--muted); font-weight: 700; padding-left: 4px; }
.dots { display: none; gap: 3px; justify-content: center; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--k); display: inline-block; }
.cal-day { border: 1px solid var(--border); border-radius: 14px; padding: 14px; background: #fcfcfe; }
.cal-day h3 { margin: 0 0 10px; font-size: 15px; }
.agenda { list-style: none; display: grid; gap: 8px; }
.agenda li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 8px; align-items: start; font-size: 13.5px; }
.agenda .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--k); margin-top: 4px; }
.agenda li a { color: var(--text); }
.agenda small { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.agenda .join { background: #5b5fc7; border-color: #5b5fc7; color: #fff; }
.cal-foot { margin-top: 12px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.steps { padding-left: 20px; display: grid; gap: 4px; margin: 6px 0 12px; font-size: 14px; }
.copy-row { display: flex; gap: 8px; margin: 8px 0; }
.copy-row input { flex: 1; min-width: 0; font-size: 12.5px; }
.inline-forms { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .cal-body { grid-template-columns: 1fr; }
  .cols2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cd { min-height: 54px; padding: 3px 2px; align-items: center; }
  .cd .dn { align-self: center; font-size: 12.5px; width: 24px; height: 24px; }
  .chips { display: none; }
  .dots { display: flex; }
  .cw { padding: 6px 2px; text-align: center; font-size: 10.5px; }
}

/* ---------- Customer Details (accordion by company) ---------- */
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.acc-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.acc-tools input[type=search] { flex: 1 1 260px; min-width: 0; }
.accs { display: grid; gap: 10px; }
.acc { border: 1px solid var(--border); border-radius: 14px; background: #fff; overflow: hidden; }
.acc[open] { border-color: #ffd2a8; box-shadow: 0 4px 14px rgba(243, 111, 0, .08); }
.acc summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; user-select: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: #fffaf5; }
.acc[open] summary { background: linear-gradient(90deg, #fff4e8, #fff); border-bottom: 1px solid #ffe2c6; }
.co-badge { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 17px; color: #fff; background: linear-gradient(135deg, #ffb347, #ff5a00); box-shadow: 0 2px 6px rgba(243, 111, 0, .3); }
.co-name { font-weight: 800; font-size: 16px; }
.co-meta { color: var(--muted); font-size: 13px; margin-left: auto; text-align: right; }
.chev { color: var(--muted); transition: transform .15s ease; font-size: 14px; }
.acc[open] .chev { transform: rotate(180deg); }
.acc .table-wrap { padding: 4px 10px 0; }
.contacts td { vertical-align: top; }
.contacts .ct { color: var(--text); text-decoration: none; white-space: nowrap; }
.contacts .ct:hover { color: var(--orange-dark); text-decoration: underline; }
.contacts .actions { white-space: nowrap; }
.acc-add { padding: 8px 14px 12px; font-size: 13.5px; font-weight: 700; }
@media (max-width: 600px) { .co-meta { display: none; } .contacts .ct { white-space: normal; overflow-wrap: anywhere; } }

/* ---------- LMS · Master Course List (same look as the GitHub page; every rule is scoped to .mcl) ---------- */
.mcl{--orange:#FC6701;--orange-dark:#D95700;--orange-soft:#FFF4EC;--orange-line:#FFD3B0;--navy:#101827;--text:#1F2937;--muted:#667085;--bg:#F7F8FC;--border:#E7EAF0;--input:#D0D5DD;--red:#D92D20;--red-soft:#FEF3F2;--green:#12805C;--green-soft:#ECFDF3;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--text);line-height:1.5}
.mcl [hidden]{display:none!important}
.mcl .m-page{max-width:1180px;margin:0 auto;background:#fff;border-radius:22px;box-shadow:0 22px 60px rgba(16,24,39,.08);overflow:hidden}
.mcl .m-band{height:6px;background:linear-gradient(90deg,var(--orange),#FF9B53)}
.mcl .m-body{padding:26px 32px 32px}
.mcl .m-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:22px;padding-bottom:16px;border-bottom:1px solid var(--border)}
.mcl h1{font-size:28px;color:var(--navy);display:flex;align-items:center;gap:12px;line-height:1.2;margin:0}
.mcl h1::before{content:"";flex:none;width:6px;height:28px;border-radius:4px;background:var(--orange)}
.mcl .m-sub{font-size:14px;color:var(--muted);margin:6px 0 0 18px}
.mcl .m-stats{display:flex;gap:8px;flex-wrap:wrap}
.mcl .m-stat{font-size:13px;font-weight:700;border-radius:99px;padding:4px 12px;background:var(--orange-soft);border:1px solid var(--orange-line);color:var(--orange-dark);text-decoration:none}
.mcl a.m-link:hover{background:#fff;border-color:var(--orange)}
.mcl .m-card{border:1px solid var(--border);border-radius:16px;padding:20px 22px;margin-bottom:22px;background:#fff;box-shadow:none}
.mcl .m-card.editing{border-color:var(--orange);box-shadow:0 0 0 4px rgba(252,103,1,.08)}
.mcl .m-card h2{font-size:13px;letter-spacing:1px;text-transform:uppercase;color:var(--orange-dark);margin:0 0 14px;font-weight:800}
.mcl .m-form{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:14px;align-items:start}
.mcl .m-form .m-span2{grid-column:span 2}
.mcl .m-actions{display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap;padding-top:27px}
.mcl label{display:block;font-size:14px;font-weight:700;color:var(--navy);margin-bottom:6px}
.mcl .m-req{color:var(--red)}
.mcl input[type=text],.mcl input[type=search],.mcl select{width:100%;height:42px;font:inherit;font-size:14.5px;color:var(--text);border:1px solid var(--input);border-radius:10px;padding:0 12px;background:#fff;margin:0;box-shadow:none}
.mcl select{padding:0 8px;cursor:pointer}
.mcl input:focus,.mcl select:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 4px rgba(252,103,1,.12)}
.mcl .invalid{border-color:var(--red)!important;box-shadow:0 0 0 4px rgba(217,45,32,.1)!important}
.mcl .m-dur{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mcl .m-dur span{position:relative;display:block}
.mcl .m-dur input{padding-right:28px}
.mcl .m-dur i{position:absolute;right:11px;top:50%;transform:translateY(-50%);font-style:normal;font-weight:700;color:var(--muted);font-size:13px;pointer-events:none}
.mcl .m-price{display:grid;grid-template-columns:96px 1fr;gap:8px}
.mcl .m-code-box{display:flex;align-items:center;justify-content:space-between;gap:8px;height:42px;border:1px dashed var(--orange-line);background:var(--orange-soft);border-radius:10px;padding:0 6px 0 12px;font:800 14.5px ui-monospace,Consolas,monospace;color:var(--orange-dark);white-space:nowrap;overflow:hidden}
.mcl .m-code-box.empty{color:#C0A58C;font-weight:600}
.mcl .m-hint{font-size:12.5px;color:var(--muted);margin-top:8px}
.mcl .m-hint code{font:700 12.5px ui-monospace,Consolas,monospace;color:var(--navy);background:var(--bg);padding:1px 6px;border-radius:5px}
.mcl .m-err{font-size:12.5px;color:var(--red);min-height:1em;margin-top:4px}
.mcl .m-viewonly{font-size:13.5px;color:var(--muted);background:var(--bg);border:1px solid var(--border);border-radius:12px;padding:10px 14px;margin-bottom:22px}
.mcl .m-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 18px;border-radius:10px;font:inherit;font-size:14.5px;font-weight:700;border:0;cursor:pointer;white-space:nowrap;text-decoration:none;box-shadow:none;line-height:1}
.mcl .m-btn:disabled{opacity:.6;cursor:wait}
.mcl .m-btn-primary{background:var(--orange);color:#fff}.mcl .m-btn-primary:hover{background:var(--orange-dark)}
.mcl .m-btn-ghost{background:#fff;color:var(--navy);border:1px solid var(--input)}.mcl .m-btn-ghost:hover{border-color:var(--navy)}
.mcl .m-btn-sm{height:30px;padding:0 10px;font-size:12.5px;border-radius:8px}
.mcl .m-icon{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:8px;border:1px solid var(--border);background:#fff;cursor:pointer;color:var(--navy);font:inherit;font-weight:700}
.mcl .m-icon:hover{border-color:var(--navy)}
.mcl .m-icon.del{color:var(--red);border-color:#FECDCA;background:var(--red-soft)}
.mcl .m-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}
.mcl .m-toolbar .m-search{flex:1;min-width:220px;position:relative}
.mcl .m-toolbar .m-search svg{position:absolute;left:12px;top:50%;transform:translateY(-50%)}
.mcl .m-toolbar .m-search input{padding-left:38px}
.mcl .m-wrap{border:1px solid var(--border);border-radius:14px;overflow-x:auto}
.mcl table{width:100%;border-collapse:collapse;font-size:14px;min-width:1040px;margin:0}
.mcl thead th{background:var(--navy);color:#fff;font-size:11.5px;letter-spacing:.6px;font-weight:800;padding:12px 14px;text-transform:uppercase;text-align:left;white-space:nowrap;border:0}
.mcl thead th button{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.mcl thead th button span{color:var(--orange)}
.mcl tbody td{padding:11px 14px;border-top:1px solid var(--border);border-bottom:0;vertical-align:middle;color:#344054}
.mcl tbody tr:nth-child(even) td{background:#FBFBFD}
.mcl tbody tr.new td{background:#F6FEF9}
.mcl tbody tr.editing td{background:var(--orange-soft)}
.mcl tbody tr.inactive td{opacity:.55}
.mcl tbody tr.inactive td.m-act{opacity:1}
.mcl td.m-n{color:var(--muted);width:48px}
.mcl td.m-name{font-weight:700;color:var(--navy)}
.mcl .m-nowrap{white-space:nowrap}
.mcl .m-price-cell{font-variant-numeric:tabular-nums;font-weight:600}
.mcl .m-type{display:inline-block;font-size:12px;font-weight:700;border-radius:99px;padding:2px 10px;white-space:nowrap;background:#EEF4FF;color:#3538CD}
.mcl .m-type.online{background:#F0F9FF;color:#026AA2}
.mcl .m-status{display:inline-block;font-size:12px;font-weight:800;border-radius:99px;padding:2px 10px}
.mcl .m-status.on{background:var(--green-soft);color:var(--green)}
.mcl .m-status.off{background:#F2F4F7;color:#667085}
.mcl .m-codecell{display:inline-flex;align-items:center;gap:8px}
.mcl .m-codecell code{font:800 13.5px ui-monospace,Consolas,monospace;color:var(--orange-dark);background:var(--orange-soft);border:1px solid var(--orange-line);border-radius:8px;padding:3px 9px;white-space:nowrap}
.mcl td.m-date{white-space:nowrap}
.mcl td.m-act{white-space:nowrap;text-align:right}
.mcl .m-empty td{text-align:center;color:var(--muted);padding:28px}
.mcl .m-foot-note{font-size:12.5px;color:var(--muted);margin-top:12px}
.mcl .m-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--navy);color:#fff;padding:11px 18px;border-radius:12px;font-size:14px;font-weight:600;box-shadow:0 16px 40px rgba(16,24,39,.3);opacity:0;pointer-events:none;transition:opacity .2s;max-width:calc(100% - 32px);z-index:50}
.mcl .m-toast.show{opacity:1}
@media (max-width:900px){.mcl .m-form{grid-template-columns:1fr 1fr}.mcl .m-actions{padding-top:0;grid-column:1/-1}}
@media (max-width:560px){.mcl .m-body{padding:20px 16px 24px}.mcl .m-form{grid-template-columns:1fr}.mcl .m-form .m-span2{grid-column:auto}.mcl h1{font-size:23px}}
/* Master Course List: fit all 10 columns on a laptop screen */
.mcl table{min-width:980px;font-size:13.5px}
.mcl thead th{padding:12px 10px}
.mcl tbody td{padding:10px 10px}
.mcl td.m-name{min-width:120px}
.mcl .m-copy{width:28px;height:28px;padding:0;font-size:14px}
.mcl .m-codecell{gap:6px}
.mcl .m-codecell code{font-size:12.5px;padding:3px 7px}
.mcl .m-icon{width:30px;height:30px}
@media (min-width:901px){.mcl .m-body{padding:26px 24px 30px}.mcl .m-card{padding:20px 18px}}
.mcl td.m-date{font-size:13px}

/* LMS: breadcrumb and folder view */
.lms-crumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; margin-bottom: 12px; }
.lms-crumb a { font-weight: 700; text-decoration: none; }
.lms-crumb a:hover { text-decoration: underline; }
.lms-crumb span { color: var(--muted); }
.lms-crumb b { color: var(--text); }
.lms-folder { margin-top: 14px; }
.lms-folder .apps { justify-content: start; justify-items: start; margin: 0; }
.app-badge.folder-count { background: var(--orange); }
.lms-new { display: flex; gap: 12px 18px; align-items: center; flex-wrap: wrap; margin: 12px 0 0; }
.lms-new form { flex: 1 1 380px; display: flex; gap: 8px; }
.lms-new form input { flex: 1; min-width: 0; }
.lms-new > a { font-weight: 700; font-size: 14px; }
.app-shared { position: absolute; bottom: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid #e3e1ea; display: grid; place-items: center; font-size: 13px; }

/* header without the menu: logo · (space) · Dashboard button · name + Sign out */
.top-gap { flex: 1; }
.home-btn { white-space: nowrap; }
@media (max-width: 760px) { .top-gap { display: none; } .home-btn { order: 3; } }

/* phone: country code list + number */
.phone-cc { display: flex; gap: 0; }
.phone-cc select { flex: none; width: 150px; border-radius: 10px 0 0 10px; border-right: 0; background: var(--light); font-weight: 600; }
.phone-cc input { flex: 1; min-width: 0; border-radius: 0 10px 10px 0; }

/* ---------- employee Resume tab ---------- */
.emp-tabs { margin-top: 6px; }
.resume-cols { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; align-items: start; }
.rs-colhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 14px; }
.rs-colhead h3 { font-size: 15px; letter-spacing: .5px; margin: 0; }
.rs-group h4 { font-size: 16px; margin: 0 0 8px; }
.rs-group + .rs-group { margin-top: 18px; }
.rs-line { position: relative; display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; padding: 10px 10px 12px 0; border-left: 2px solid #e7eaf0; margin-left: 6px; }
.rs-line .rs-dot { width: 12px; height: 12px; border-radius: 50%; background: #c9ced8; margin: 4px 0 0 -7px; }
.rs-line.current .rs-dot { background: var(--orange); box-shadow: 0 0 0 4px #ffe8d4; }
.rs-body { background: #fafbfd; border-radius: 10px; padding: 8px 12px; }
.rs-dates { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.rs-title { font-size: 18px; font-weight: 700; margin-top: 2px; }
.rs-desc { font-size: 14px; color: var(--muted); margin-top: 4px; }
.rs-act, .sk-act { display: flex; gap: 4px; align-items: start; }
.sk-group + .sk-group { margin-top: 16px; }
.sk-head { display: flex; justify-content: space-between; align-items: center; background: #f7f8fc; border-radius: 10px; padding: 8px 12px; }
.sk-head h4 { margin: 0; font-size: 16px; }
.sk-row { display: grid; grid-template-columns: minmax(0, 1fr) 100px 90px 44px auto; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid #eef0f4; font-size: 14.5px; }
.sk-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk-cert { font-size: 11px; vertical-align: 1px; }
.sk-level { color: var(--muted); font-size: 13px; font-weight: 600; }
.sk-bar { height: 6px; border-radius: 3px; background: #e7eaf0; overflow: hidden; display: block; }
.sk-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ffa04d, var(--orange)); border-radius: 3px; }
.sk-pct { font-weight: 800; font-size: 13.5px; text-align: right; }
@media (max-width: 900px) { .resume-cols { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sk-row { grid-template-columns: 1fr 70px 40px; } .sk-level { display: none; } .sk-act { grid-column: 1 / -1; } .sk-bar { grid-column: auto; } }
.rs-file { margin-bottom: 18px; }
.rs-file-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rs-file-ico { font-size: 30px; }
.rs-file-info { flex: 1; min-width: 200px; font-size: 14.5px; overflow-wrap: anywhere; }
.rs-upload { margin-top: 12px; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.rs-upload input[type=file] { flex: 1 1 260px; min-width: 0; }
.sk-name { white-space: normal; overflow: visible; overflow-wrap: anywhere; }

/* availability board: totals */
.users.avail .wk-total { text-align: center; background: #fbf8f4; white-space: nowrap; }
.users.avail tfoot th, .users.avail tfoot td { border-top: 2px solid #101827; padding-top: 10px; padding-bottom: 10px; vertical-align: middle; }
.users.avail tfoot th { font-size: 16px; text-align: left; }
.tot-pill { display: inline-block; background: #efe3ee; color: #5b2a55; font-weight: 800; font-size: 13px; border-radius: 6px; padding: 3px 9px; font-variant-numeric: tabular-nums; }
.tot-pill.grand { background: #101827; color: #fff; }
.tot-note { margin-top: 8px; }

/* ---------- Reports & Analytics ---------- */
.rpt-mods { margin-bottom: 12px; }
.rpt-filter { display: grid; gap: 12px; }
.rpt-form { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.rpt-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.rpt-form input[type=date], .rpt-form select { min-width: 160px; }
.rpt-pres, .rpt-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.rpt-pre { font-size: 13px; font-weight: 600; padding: 4px 11px; border-radius: 99px; border: 1px solid var(--border); text-decoration: none; color: var(--text); background: #fff; }
.rpt-pre:hover, .rpt-pre.on { border-color: var(--orange); color: var(--orange-dark); background: #fff4ea; }
.rpt-chips { margin: 16px 0 12px; }
.rpt-chip { font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border); background: #fff; text-decoration: none; color: var(--text); }
.rpt-chip:hover { border-color: #101827; }
.rpt-chip.on { background: #101827; border-color: #101827; color: #fff; }
.rpt-out-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.rpt-out-head h2 { margin: 0 0 2px; }
.rpt-dl { display: flex; gap: 6px; flex-wrap: wrap; }
.rpt-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 14px; }
.rpt-kpi { background: linear-gradient(135deg, #fff4ea, #fffaf5); border: 1px solid #ffe0c4; border-radius: 12px; padding: 10px 14px; }
.rpt-kpi small { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.rpt-kpi b { font-size: 21px; font-variant-numeric: tabular-nums; }
.rpt-chart { display: grid; gap: 6px; margin: 4px 0 16px; max-width: 760px; }
.rpt-bar { display: grid; grid-template-columns: 150px 1fr 120px; gap: 10px; align-items: center; font-size: 13.5px; }
.rpt-bar .lbl { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rpt-bar .track { height: 12px; border-radius: 6px; background: #eef0f4; overflow: hidden; }
.rpt-bar .track i { display: block; height: 100%; background: linear-gradient(90deg, #ffa04d, var(--orange)); border-radius: 6px; }
.rpt-bar .val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.rpt-table th.num, .rpt-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rpt-table tfoot td { font-weight: 800; background: #fff1e5; border-top: 2px solid #101827; }
.rpt-empty { padding: 24px 0; text-align: center; }
@media (max-width: 600px) { .rpt-bar { grid-template-columns: 90px 1fr 80px; } .rpt-form input[type=date], .rpt-form select { min-width: 0; width: 100%; } .rpt-form label { flex: 1 1 140px; } }

/* ---------- SuMo, the Dashboard assistant ---------- */
.sumo { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.sumo [hidden] { display: none !important; }
.sumo-fab { display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer; padding: 5px 16px 5px 5px; border-radius: 40px; background: linear-gradient(135deg, #ff9b53, #f36f00); color: #fff; font: inherit; font-weight: 800; font-size: 15px; box-shadow: 0 12px 30px rgba(243, 111, 0, .4); order: 2; }
.sumo-fab svg { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid #fff; }
.sumo-fab:hover { transform: translateY(-2px); }
.sumo-fab:focus-visible { outline: 3px solid #101827; outline-offset: 3px; }
.sumo.open .sumo-fab-label { display: none; }
.sumo.open .sumo-fab { padding-right: 5px; }
.sumo-panel { width: 400px; max-height: calc(100vh - 140px); display: flex; flex-direction: column; background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(16, 24, 39, .25); overflow: hidden; order: 1; animation: sumo-in .22s ease-out; }
@keyframes sumo-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.sumo-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: linear-gradient(135deg, #101827, #24304f); color: #fff; }
.sumo-av svg { display: block; width: 50px; height: 50px; border-radius: 50%; background: #2b3a63; border: 2px solid #ff9b53; }
.sumo-head b { font-size: 16px; }
.sumo-head small { display: flex; align-items: center; gap: 6px; color: #b9c3dd; font-size: 12.5px; }
.sumo-head small i { width: 8px; height: 8px; border-radius: 50%; background: #3ee08a; box-shadow: 0 0 0 3px rgba(62, 224, 138, .25); }
.sumo-x { margin-left: auto; background: transparent; border: 0; color: #fff; font-size: 18px; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; opacity: .8; }
.sumo-x:hover { background: rgba(255, 255, 255, .12); opacity: 1; }
.sumo-body { display: flex; gap: 10px; align-items: flex-end; padding: 10px 14px 0; background: linear-gradient(180deg, #f4f6fb, #fff); }
.sumo-figure svg { display: block; width: 84px; height: 150px; }
.sumo-figure .sumo-wave { transform-origin: 104px 80px; animation: sumo-wave 1.6s ease-in-out 2; }
@keyframes sumo-wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(10deg); } }
.sumo-chat { flex: 1; display: grid; gap: 10px; padding-bottom: 14px; }
.sumo-msg { position: relative; background: #fff4ea; border: 1px solid #ffd9b8; border-radius: 16px 16px 16px 4px; padding: 10px 13px; font-size: 14.5px; line-height: 1.4; margin: 0; }
.sumo-q { width: 100%; border: 1px solid #d0d5dd; border-radius: 12px; padding: 9px 12px; font: inherit; font-size: 14px; }
.sumo-q:focus { outline: none; border-color: #f36f00; box-shadow: 0 0 0 4px rgba(243, 111, 0, .12); }
.sumo-list { list-style: none; margin: 0; padding: 6px 12px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; overflow-y: auto; border-top: 1px solid #eef0f4; }
.sumo-item { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 12px; border: 1px solid #eef0f4; text-decoration: none; color: #101827; font-size: 13.5px; font-weight: 700; line-height: 1.2; min-height: 44px; }
a.sumo-item:hover, a.sumo-item:focus-visible { border-color: #f36f00; background: #fff8f1; outline: none; }
.sumo-ico svg { display: block; width: 30px; height: 30px; }
.sumo-list li.soon .sumo-item { opacity: .5; cursor: default; }
.sumo-item small { display: block; font-size: 11px; font-weight: 600; color: #98a2b3; }
.sumo-none { padding: 4px 16px 16px; color: #667085; font-size: 14px; margin: 0; }
@media (max-width: 700px) {
  .sumo { right: 12px; bottom: 12px; }
  .sumo-fab-label { display: none; }
  .sumo-fab { padding: 4px; }
  .sumo.open { left: 0; right: 0; top: 0; bottom: 0; gap: 0; }
  .sumo.open .sumo-fab { display: none; }
  .sumo-panel { width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .sumo-figure svg { width: 64px; height: 114px; }
}
@media (prefers-reduced-motion: reduce) { .sumo-panel, .sumo-figure .sumo-wave { animation: none; } }
.sumo-snd { margin-left: auto; font-size: 17px; }
.sumo-snd + .sumo-x { margin-left: 0; }
.sumo.speaking .sumo-mouth { animation: sumo-talk .28s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
.sumo.speaking .sumo-eyes { animation: sumo-glow .6s ease-in-out infinite alternate; }
.sumo.speaking .sumo-msg { box-shadow: 0 0 0 3px rgba(243, 111, 0, .15); }
@keyframes sumo-talk { from { transform: scaleY(1); } to { transform: scaleY(2.4); } }
@keyframes sumo-glow { from { opacity: 1; } to { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .sumo.speaking .sumo-mouth, .sumo.speaking .sumo-eyes { animation: none; } }
.no-email { color: #b54708; font-style: italic; }

/* ---------- Comparezo (ITIL price comparison) ---------- */
.pill.man { background: #fff3dc; color: #9a6100; }
.pill.bad { background: #fde8e8; color: #a32025; }
.cz-hero { display: flex; align-items: center; gap: 22px; background: linear-gradient(120deg, #101827 0%, #1d2a4a 60%, #33296a 100%); color: #fff; border-radius: 22px; padding: 22px 26px; position: relative; overflow: hidden; margin-bottom: 18px; }
.cz-hero:after { content: ""; position: absolute; right: -70px; top: -70px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(243,111,0,.33), transparent 70%); pointer-events: none; }
.cz-logo { flex: none; width: 90px; height: 90px; border-radius: 24px; background: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.cz-hero h1 { font-size: 30px; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.cz-hero h1 b { color: #ff9b53; }
.cz-hero p { color: #c7cfe2; margin-top: 6px; max-width: 600px; font-size: 14.5px; }
.cz-chips { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.cz-chips span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 600; }
.cz-hero-a { margin-left: auto; display: flex; flex-direction: column; gap: 8px; z-index: 1; align-items: stretch; min-width: 220px; }
.cz-hero-a form .btn { width: 100%; justify-content: center; }
.cz-dl { display: flex; gap: 6px; }
.cz-dl .btn { flex: 1; justify-content: center; background: #fff; color: var(--text); border: 0; }
.cz-mini { color: #ffd2a6; font-size: 13px; font-weight: 700; text-align: center; }
.cz-layout { display: grid; grid-template-columns: 380px 1fr; gap: 18px; align-items: start; }
.cz-layout > *, .cz-two > * { min-width: 0; }
.cz-left h2, .cz-two h2 { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.cz-left h2 small, .cz-two h2 small { font-size: 12.5px; font-weight: 500; margin-left: auto; }
.cz-search { display: block; width: 100%; margin-top: 12px; }
.cz-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.cz-cat { border: 1px solid #d0d5dd; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; background: #fff; color: var(--muted); cursor: pointer; font-family: inherit; }
.cz-cat.on { background: #fff1e4; border-color: var(--orange); color: var(--orange-dark); }
.cz-list { margin-top: 10px; max-height: 660px; overflow: auto; border-top: 1px solid #f0f2f6; }
.cz-row { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-bottom: 1px solid #f0f2f6; border-radius: 10px; color: var(--text); text-decoration: none; }
.cz-row:hover { background: #fafbfd; text-decoration: none; }
.cz-row.on { background: #fff6ee; box-shadow: inset 3px 0 0 var(--orange); }
.cz-row.gone { opacity: .55; }
.cz-nm { font-weight: 650; font-size: 13.5px; line-height: 1.3; }
.cz-nm small { display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; margin-top: 2px; }
.cz-nm small b { color: #127a5a; }
.cz-pr { margin-left: auto; text-align: right; font-weight: 800; font-size: 13.5px; white-space: nowrap; }
.cz-pr small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; }
.cz-count { font-size: 12px; margin-top: 8px; }
.cz-ctitle { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.cz-ctitle h2 { font-size: 20px; letter-spacing: -.01em; line-height: 1.25; }
.cz-ctitle p { font-size: 13px; margin-top: 3px; }
.cz-gst { margin-left: auto; display: flex; border: 1px solid #d0d5dd; border-radius: 10px; overflow: hidden; flex: none; }
.cz-gst a { padding: 7px 11px; font-size: 12.5px; font-weight: 700; color: var(--muted); text-decoration: none; }
.cz-gst a.on { background: var(--dark); color: #fff; }
.cz-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.cz-kpi { border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; background: #fff; }
.cz-kpi span { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.cz-kpi b { display: block; font-size: 21px; margin-top: 3px; }
.cz-kpi small { color: var(--muted); font-size: 12px; display: block; }
.cz-kpi.us { background: linear-gradient(135deg, #fff6ee, #fff); border-color: #ffd2ad; }
.cz-rank { display: inline-block; margin-top: 6px; font-style: normal; font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 2px 8px; background: #e3f7ef; color: #127a5a; }
.cz-rank.bad { background: #fde8e8; color: #a32025; }
.cz-hint { margin-top: 14px; background: #f8f9fc; border: 1px dashed var(--border); border-radius: 12px; padding: 10px 14px; font-size: 13px; color: var(--muted); }
.cz-tbl { margin-top: 14px; }
.cz-tbl td { white-space: nowrap; vertical-align: middle; }
.cz-tbl tr.us td { background: #fff6ee; }
.cz-tbl tr.us td:first-child { box-shadow: inset 3px 0 0 var(--orange); }
.cz-tbl tr.failed td { background: #fff8f8; }
.cz-prov { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.cz-prov i, .cz-pv summary i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; color: #fff; font-size: 12px; font-weight: 800; flex: none; }
.cz-prov small { display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; }
.cz-sub { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; max-width: 170px; white-space: normal; line-height: 1.3; }
.cz-tbl td { padding: 10px 8px; }
.cz-act { white-space: nowrap; }
.cz-act form.inline { display: inline-block; }
.cz-act .btn { padding: 5px 8px; }
.cz-was { display: block; color: var(--muted); font-size: 11px; text-decoration: line-through; }
.cz-diff { font-weight: 800; font-size: 12.5px; }
.cz-diff.lo { color: #127a5a; }
.cz-diff.hi { color: var(--red); }
.cz-act { text-align: right; }
.cz-act .btn, .cz-act form { margin-left: 4px; }
.cz-empty { white-space: normal !important; padding: 16px 8px !important; }
.cz-edit td { background: #fbfbfe; white-space: normal !important; }
.cz-form-t { margin-bottom: 8px; }
.cz-src { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.cz-src label { display: flex; gap: 6px; align-items: center; }
.cz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cz-grid label, .cz-pform label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.cz-grid label small { font-weight: 500; }
.cz-grid .wide { grid-column: 1 / -1; }
.cz-form-b { margin-top: 10px; }
.cz-del { margin-top: 4px; display: block; }
.cz-bars { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.cz-bar { display: grid; grid-template-columns: 140px 1fr 96px; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; }
.cz-bar .t { height: 14px; border-radius: 7px; background: #eef0f4; overflow: hidden; }
.cz-bar .t i { display: block; height: 100%; border-radius: 7px; background: linear-gradient(90deg, #8d98ab, #5b667a); }
.cz-bar.us .t i { background: linear-gradient(90deg, #ff9b53, var(--orange)); }
.cz-bar em { font-style: normal; text-align: right; color: var(--muted); }
.cz-foot { font-size: 12px; color: var(--muted); margin-top: 14px; border-top: 1px dashed var(--border); padding-top: 10px; }
.cz-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; align-items: start; }
.cz-ins { list-style: none; margin-top: 10px; display: flex; flex-direction: column; gap: 8px; padding: 0; }
.cz-ins li { display: flex; gap: 10px; font-size: 13.5px; background: #f8f9fc; border-radius: 12px; padding: 10px 12px; }
.cz-ins small { display: block; color: var(--muted); font-size: 11.5px; }
.cz-ic { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.cz-ic.dn { background: #e3f7ef; color: #127a5a; }
.cz-ic.up { background: #fde8e8; color: #a32025; }
.cz-ic.bad { background: #fde8e8; color: #a32025; }
.cz-pv { border: 1px solid var(--border); border-radius: 12px; margin-top: 8px; padding: 0 12px; }
.cz-pv summary { display: flex; align-items: center; gap: 10px; padding: 10px 0; cursor: pointer; list-style: none; }
.cz-pv summary::-webkit-details-marker { display: none; }
.cz-pv summary span { flex: 1; min-width: 0; }
.cz-pv summary small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cz-pv summary em { font-style: normal; color: var(--muted); }
.cz-pv[open] { padding-bottom: 12px; }
.cz-pform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; margin: 6px 0 8px; }
.cz-pform .btn { justify-self: start; }
.cz-add { border-top: 1px dashed var(--border); padding-top: 12px; margin-top: 14px; }
@media (max-width: 980px) {
    .cz-layout, .cz-two { grid-template-columns: 1fr; }
    .cz-hero { flex-direction: column; align-items: flex-start; }
    .cz-hero-a { margin-left: 0; width: 100%; }
    .cz-list { max-height: 380px; }
    .cz-kpis { grid-template-columns: 1fr 1fr; }
    .cz-gst { margin-left: 0; }
    .cz-grid, .cz-pform { grid-template-columns: 1fr; }
    .cz-bar { grid-template-columns: 96px 1fr 80px; }
}
.cz-tbl td:first-child { white-space: normal; min-width: 180px; }
.cz-prov small { white-space: normal; line-height: 1.3; }
.cz-opts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.cz-opts > span { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-right: 2px; }
.cz-opt { display: inline-flex; flex-direction: column; border: 1.5px solid var(--border); border-radius: 12px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; color: var(--text); text-decoration: none; line-height: 1.3; background: #fff; }
.cz-opt b { font-size: 15px; }
.cz-opt small { color: #127a5a; font-size: 11px; font-weight: 600; }
.cz-opt:hover { border-color: var(--orange); text-decoration: none; }
.cz-opt.on { border-color: var(--orange); background: #fff4ea; box-shadow: inset 0 0 0 1px var(--orange); }
.cz-optlist { margin-top: 10px; font-size: 13px; }
.cz-optlist summary { cursor: pointer; color: var(--orange-dark); font-weight: 700; font-size: 12.5px; }
.cz-optlist ul { list-style: none; padding: 0; margin: 8px 0 6px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; }
.cz-optlist li { display: flex; justify-content: space-between; gap: 8px; align-items: center; background: #f8f9fc; border-radius: 10px; padding: 7px 10px; }
.cz-optlist li small { display: block; color: var(--muted); font-size: 11px; }
.cz-optlist li i { color: var(--muted); font-style: normal; }
.cz-warn { font-style: normal; color: #a32025; font-weight: 700; font-size: 12px; white-space: nowrap; }
.cz-issues { margin-top: 18px; }
.cz-issues h2 { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.cz-issues h2 small { margin-left: auto; font-size: 12.5px; font-weight: 500; }
.cz-issues .cz-ins { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cz-issues .cz-ins ul { margin: 4px 0 0 16px; padding: 0; color: #a32025; font-size: 12.5px; }
.cz-catcard { margin-top: 18px; }
.cz-catcard h2 { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.cz-catcard h2 small { margin-left: auto; font-size: 12.5px; font-weight: 500; }
.cz-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 10px 0; }
.cz-catbox { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.cz-catbox small { margin-left: auto; color: var(--muted); font-weight: 600; }
.cz-catbox:has(input:checked) { border-color: var(--orange); background: #fff8f1; }
.cz-catbox { display: flex !important; justify-content: flex-start; text-align: left; }
.cz-catbox input { width: auto !important; margin: 0; flex: none; }
.cz-issues .cz-ins ul li { display: list-item; background: none; padding: 0; border-radius: 0; font-size: 12.5px; }
/* Comparezo package cards (same look as the DucisGroup shop) */
.cz-pkgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; margin-top: 16px; }
.cz-pkg { --c: #1fa2c7; position: relative; display: flex; flex-direction: column; border: 1px solid var(--border); border-top: 6px solid var(--c); border-radius: 18px; padding: 14px 16px 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 6%, #fff) 0%, #fff 45%); }
.cz-pkg.on { box-shadow: 0 0 0 2px var(--c), 0 12px 28px rgba(16,24,39,.10); }
.cz-pkg.bad { opacity: .75; border-top-color: #c62a2f; }
.cz-pkg-b { display: flex; flex-wrap: wrap; gap: 6px; }
.cz-prod { background: var(--c); color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 3px 10px; }
.cz-lab { border: 1px solid var(--border); background: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 9px; color: #344054; }
.cz-pkg h3 { font-size: 18px; margin: 12px 0 6px; letter-spacing: -.01em; }
.cz-pkg-d { font-size: 12.5px; color: #475467; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 8px; }
.cz-inc { font-size: 12.5px; display: block; margin-top: 2px; }
.cz-pkg ul { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 5px; }
.cz-pkg ul li { font-size: 12.5px; display: flex; gap: 7px; align-items: flex-start; line-height: 1.35; }
.cz-pkg ul li:before { content: "✓"; flex: none; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #e8264b; color: #e8264b; font-size: 9px; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }
.cz-pkg-p { margin-top: auto; border-top: 1px solid var(--border); padding-top: 10px; }
.cz-pkg-p small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cz-pkg-p small + b + small { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 11.5px; }
.cz-pkg-p b { display: block; font-size: 22px; margin: 2px 0; letter-spacing: -.01em; }
.cz-pkg-p b.cz-warn { font-size: 16px; }
.cz-pkg-c { font-size: 12px; color: var(--muted); margin: 8px 0; }
.cz-pkg-c .lo { color: #127a5a; }
.cz-pkg-c .hi { color: var(--red); }
.cz-pkg-go { justify-content: center; }
.cz-pkg.on .cz-pkg-go { background: var(--c); border-color: var(--c); color: #fff; }
.cz-onreq { margin-top: 10px; }
.cz-vs { font-size: 15px; margin: 22px 0 0; padding-top: 16px; border-top: 1px dashed var(--border); }
.cz-pv summary em.btn { font-style: normal; color: var(--text); }
.cz-pv-del { margin: 0; }
.cz-pkg.onreq .cz-pkg-p b { font-size: 19px; color: #344054; }
.cz-nocomp { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); font-size: 13.5px; color: var(--muted); }
.cz-pkg { overflow: hidden; }
.cz-pkg-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin: -14px -16px 12px; }
.cz-start { background: #ff3b1f; color: #fff; font-size: 12.5px; font-weight: 800; padding: 7px 16px 8px; border-radius: 0 0 16px 0; white-space: nowrap; }
.cz-india { display: inline-flex; align-items: center; gap: 5px; background: #ff3b1f; color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; margin: 7px 8px 0 0; white-space: nowrap; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #ffb3a6; }
/* package cards: room for the "For India only" pill; on-request price as large as a price */
.cz-pkgs { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.cz-pkg-top { flex-wrap: wrap; row-gap: 6px; }
.cz-india { flex: none; margin-left: auto; }
.cz-pkg.onreq .cz-pkg-p b { font-size: 22px; color: var(--text); }
.cz-type { background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 9px; }
.cz-pkg-more { border: 1px solid var(--border); border-radius: 14px; padding: 9px 12px; margin: 4px 0 8px; background: #fff; }
.cz-pkg-more summary { cursor: pointer; font-size: 12.5px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; }
.cz-pkg-more summary::-webkit-details-marker { display: none; }
.cz-pkg-more summary:after { content: "⌄"; color: var(--muted); }
.cz-pkg-more[open] summary:after { content: "⌃"; }
.cz-pkg-more p { font-size: 12px; color: #475467; margin-top: 8px; line-height: 1.45; }
.cz-secure { display: flex; align-items: center; gap: 7px; border: 1px solid var(--border); border-radius: 14px; padding: 9px 12px; margin-bottom: 12px; font-size: 12.5px; font-weight: 800; background: #fff; }

/* ---------- Gate sign-in (sign-in page = closed gate; it opens onto the Dashboard) ---------- */
body.gt-signin { background: #101827; overflow: hidden; min-height: 100vh; }
.gt-gate { position: fixed; inset: 0; perspective: 1800px; pointer-events: none; z-index: 1; }
.gt-door { position: absolute; top: 0; bottom: 0; width: 50.2%; pointer-events: auto;
  transition: transform 3.2s cubic-bezier(.65,0,.25,1), filter 3.2s;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 46px), linear-gradient(180deg, #26355e 0%, #16203d 55%, #0d1428 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.gt-door.l { left: 0; transform-origin: left center; border-right: 3px solid #0a0f1f; }
.gt-door.r { right: 0; transform-origin: right center; border-left: 3px solid #0a0f1f; }
.gt-door:before { content: ""; position: absolute; inset: 7% 9%; border: 2px solid rgba(255,255,255,.07); border-radius: 18px;
  background: repeating-linear-gradient(0deg, transparent 0 120px, rgba(255,255,255,.05) 120px 122px); }
.gt-door:after { content: ""; position: absolute; inset: 0; opacity: .6; background:
  radial-gradient(circle at 12% 9%, #8d98ab 0 3px, transparent 4px), radial-gradient(circle at 88% 9%, #8d98ab 0 3px, transparent 4px),
  radial-gradient(circle at 12% 91%, #8d98ab 0 3px, transparent 4px), radial-gradient(circle at 88% 91%, #8d98ab 0 3px, transparent 4px); }
.gt-seam { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; z-index: 3; transition: opacity .8s;
  background: linear-gradient(180deg, transparent, #f36f00 20%, #ff9b53 50%, #f36f00 80%, transparent); box-shadow: 0 0 18px 4px rgba(243,111,0,.55); }
.gt-handle { position: absolute; top: 50%; width: 14px; height: 120px; margin-top: -60px; border-radius: 8px; background: linear-gradient(90deg, #aeb8c8, #fff 45%, #8d98ab); box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.gt-door.l .gt-handle { right: 26px; } .gt-door.r .gt-handle { left: 26px; }
.gt-half { position: absolute; top: 8%; width: 300px; height: 80px; overflow: hidden; }
.gt-door.l .gt-half { right: 0; } .gt-door.r .gt-half { left: 0; }
.gt-logo { position: absolute; top: 0; width: 600px; height: 80px; display: flex; justify-content: center; align-items: center; font-weight: 900; font-size: 44px; letter-spacing: .02em; color: #fff; white-space: nowrap; }
.gt-logo em { font-style: normal; color: #ff9b53; margin-left: .28em; }
.gt-door.l .gt-logo { left: 0; } .gt-door.r .gt-logo { right: 0; }
.gt-front { position: fixed; inset: 0; display: grid; place-items: center; z-index: 5; transition: opacity 1s, transform 1.2s; padding: 16px; overflow-y: auto; }
.gt-lock { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto -37px; position: relative; z-index: 2; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #ffb069, #f36f00 60%, #c95a00); box-shadow: 0 0 0 6px rgba(243,111,0,.18), 0 12px 30px rgba(0,0,0,.45);
  transition: transform 1.2s cubic-bezier(.5,-0.4,.5,1.4), background .6s; }
.gt-shackle { transition: transform 1s; }
.gt-card { width: min(380px, calc(100vw - 32px)); background: rgba(255,255,255,.97); border-radius: 22px; padding: 52px 26px 22px; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.gt-card h1 { font-size: 21px; text-align: center; letter-spacing: -.01em; margin: 0; }
.gt-lead { text-align: center; color: var(--muted); font-size: 13px; margin: 4px 0 14px; }
.gt-card label { display: block; font-size: 12.5px; font-weight: 700; color: #344054; margin: 12px 0 5px; }
.gt-card input { width: 100%; border: 1px solid #d0d5dd; border-radius: 11px; padding: 11px 12px; font: inherit; font-size: 14.5px; outline: none; transition: border-color .2s, box-shadow .2s; }
.gt-card input:focus { border-color: #f36f00; box-shadow: 0 0 0 4px rgba(243,111,0,.15); }
.gt-go { margin-top: 18px; width: 100%; border: 0; border-radius: 12px; padding: 13px; font: inherit; font-weight: 800; font-size: 15px; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #ff9b53, #f36f00); box-shadow: 0 10px 22px rgba(243,111,0,.35); display: flex; align-items: center; justify-content: center; gap: 8px; }
.gt-go:disabled { opacity: .85; cursor: wait; }
.gt-err { background: #fde8e8; color: #a32025; border-radius: 10px; padding: 9px 12px; font-size: 13px; text-align: center; margin-bottom: 4px; }
.gt-links { display: flex; justify-content: space-between; margin-top: 14px; font-size: 12.5px; }
.gt-links a { color: #d95f00; text-decoration: none; font-weight: 600; }
.gt-shake .gt-card { animation: gt-shake .45s; }
.gt-checking .gt-lock { animation: gt-pulse .9s infinite; }
/* opening (Dashboard, right after sign-in) */
.gt-open { position: fixed; inset: 0; z-index: 9999; }
.gt-light { position: fixed; left: 50%; top: 0; bottom: 0; width: 0; transform: translateX(-50%); z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,236,214,.95), rgba(255,180,105,.35) 40%, transparent 70%); transition: width 2.8s ease-out, opacity 1.8s 2.2s; }
.gt-open.unlocking .gt-lock { transform: rotate(-90deg) scale(1.05); background: radial-gradient(circle at 35% 30%, #7ef0c3, #20b486 60%, #127a5a); }
.gt-open.unlocking .gt-shackle { transform: translateY(-4px); }
.gt-open.opening .gt-front, .gt-open.opening .gt-seam { opacity: 0; }
.gt-open.opening .gt-front { transform: scale(.9); }
.gt-open.opening .gt-light { width: 120vw; opacity: 0; }
.gt-open.opening .gt-door.l { transform: rotateY(-104deg); filter: brightness(.55); }
.gt-open.opening .gt-door.r { transform: rotateY(104deg); filter: brightness(.55); }
body.gt-arriving { overflow: hidden; }
body.gt-pop .launcher .app { animation: gt-popin .7s cubic-bezier(.2,.9,.3,1.2) both; }
body.gt-pop .launcher .app:nth-child(n) { animation-delay: calc(1.6s + var(--i, 0) * 60ms); }
@keyframes gt-popin { from { opacity: 0; transform: translateY(18px) scale(.92); } }
@keyframes gt-shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@keyframes gt-pulse { 50% { box-shadow: 0 0 0 12px rgba(243,111,0,.10), 0 12px 30px rgba(0,0,0,.45); } }
@media (prefers-reduced-motion: reduce) {
  .gt-door, .gt-front, .gt-light, .gt-lock { transition: opacity .3s !important; }
  .gt-open.opening .gt-door { transform: none; opacity: 0; }
  .gt-shake .gt-card, body.gt-pop .launcher .app, .gt-checking .gt-lock { animation: none; }
}
@media (max-width: 640px) { .gt-half { width: 46vw; } .gt-logo { width: 92vw; font-size: 26px; } .gt-handle { height: 80px; margin-top: -40px; } }
@media (max-height: 560px) { .gt-front { place-items: start center; } }

/* ---------- shared customer fields (Customer Details + Sales leads) ---------- */
.req-star { color: #c62a2f; font-weight: 800; }
.name-title { display: flex; gap: 6px; }
.name-title select { flex: 0 0 92px; width: 92px; }
.name-title input { flex: 1; min-width: 0; }
.form .form-sec, .form-sec { grid-column: 1 / -1; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-dark, #d95f00); margin: 10px 0 -4px; padding-top: 10px; border-top: 1px dashed var(--border); }
.co-info { margin: 0; padding: 8px 14px 4px; font-size: 13px; color: var(--muted); white-space: normal; overflow-wrap: anywhere; max-width: 100%; line-height: 1.5; }
.co-info a { font-weight: 600; }
.li-link { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; background: #0a66c2; color: #fff !important; font-size: 11px; font-weight: 800; text-decoration: none; vertical-align: 1px; }
.imp-steps { margin: 6px 0 14px 18px; display: grid; gap: 8px; font-size: 14px; }
.imp-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px; border: 1px dashed var(--border); border-radius: 12px; background: #fafbfd; }
.imp-problems { margin: 8px 0 12px; font-size: 13px; }
.imp-problems ul { margin: 6px 0 0 18px; color: #a32025; }

/* Name suggestions on the New Lead form */
.ac-wrap { position: relative; display: block; }
.ac-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 28px rgba(15, 23, 42, .14); max-height: 280px; overflow-y: auto; }
.ac-list li { padding: 8px 10px; border-radius: 8px; cursor: pointer; font-weight: 500; }
.ac-list li b { color: var(--accent, #f36f00); }
.ac-list li small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.ac-list li:hover, .ac-list li.on { background: #fff4ea; }

.sib-leads { margin: 0 0 10px; padding-left: 18px; line-height: 2; }

/* Linked lead: "Clear entry" stands out at the top of the list */
select option.opt-clear { font-weight: 700; color: #d93025; background: #fff1f0; }
