/* OENOD 3.0 styles: command wall, live notifications and the deeper module screens. */

/* ---------- live toasts ---------- */
.ltoasts { position: fixed; top: 74px; right: 16px; z-index: 120; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.ltoast { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; box-shadow: var(--pop); padding: 12px 12px 12px 14px; animation: lt-in .35s cubic-bezier(.2,.9,.2,1.2); transition: opacity .5s, transform .5s; }
.ltoast.alert { border-left-color: var(--warn); } .ltoast.out { opacity: 0; transform: translateX(30px); }
.ltoast b { display: block; font-size: 13.5px; } .ltoast span { display: block; color: var(--muted); font-size: 12.5px; }
.lt-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; } .ltoast.alert .lt-ic { background: var(--warn-soft); color: var(--warn); }
.lt-x { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 2px; } .lt-x .i { width: 16px; height: 16px; }
@keyframes lt-in { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
@media (max-width: 760px) { .ltoasts { top: calc(env(safe-area-inset-top) + 64px); right: 12px; left: 12px; width: auto; } }

/* ---------- command wall 3.0 ---------- */
.w3 { padding: 18px 22px 30px; }
.w3 .wall-top { flex-wrap: wrap; gap: 10px; margin-bottom: 16px; } .w3 .wall-top .logo { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .04em; } .w3 .wall-top .logo svg { width: 26px; height: 26px; }
.wsel { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 6px 10px; font: inherit; } .wsel option { color: #000; }
.wlive { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #4ADE80; } .wlive i { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: wpulse 1.8s infinite; }
@keyframes wpulse { 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.w3 .wall-now { font-size: 22px; }
.w3-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.w3 .wtile { padding: 14px 16px; border-radius: 14px; }
.w3 .wl { display: flex; align-items: center; gap: 6px; font-size: 11.5px; } .w3 .wl .i { width: 14px; height: 14px; opacity: .8; }
.w3 .wv { font-size: 34px; } .w3 .wv.up { color: #4ADE80; } .w3 .wv.mid { color: #FBBF24; } .w3 .wv.down { color: #FB7185; }
.w3 .wd { font-size: 12.5px; } .w3 .wd .warn, .w3 .warn { color: #FBBF24; }
.w-sales { grid-column: span 2; } .w-sales .wv { font-size: 46px; }
.wspark { width: 100%; height: 70px; margin-top: 8px; display: block; } .wspark polyline { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; } .wspark .tw { stroke: #60A5FA; } .wspark .lw { stroke: rgba(255,255,255,.3); stroke-dasharray: 4 4; }
.wleg { display: flex; gap: 14px; font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 4px; } .wleg i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; } .wleg i.tw { background: #60A5FA; } .wleg i.lw { background: rgba(255,255,255,.35); }
.w-map { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; } .wmap { flex: 1; min-height: 380px; margin-top: 10px; border-radius: 10px; overflow: hidden; } .wmap .map { border-radius: 10px; }
.wkey { display: inline-flex; align-items: center; gap: 6px; text-transform: none; letter-spacing: 0; font-size: 11px; } .wkey i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-left: 8px; }
.wkey .k-in { background: #22C55E; } .wkey .k-out { background: #F59E0B; } .wkey .k-br { background: #94A3B8; } .wkey .k-loc { background: #0B1B3F; border: 2px solid #fff; border-radius: 3px; } .wkey .k-veh { background: #A855F7; }
.pin.live span { --c: #22C55E; background: var(--c) !important; } .pin.out span { background: #F59E0B !important; } .pin.br span { background: #94A3B8 !important; } .pin.veh span { background: #A855F7; border-radius: 6px; transform: none; min-width: 22px; height: 22px; }
.pin.live::after { content: ""; position: absolute; left: 50%; top: 100%; width: 34px; height: 34px; margin: -22px 0 0 -17px; border-radius: 50%; background: rgba(34,197,94,.35); animation: wping 2s infinite; z-index: -1; }
@keyframes wping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.w-team, .w-alerts, .w-feed { grid-column: span 2; } .w-team { grid-row: span 2; } .w-ops { grid-column: span 2; }
.wscroll { max-height: 330px; overflow-y: auto; margin-top: 6px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; } .w-team .wscroll { max-height: 700px; }
.w3 .wrow { padding: 7px 0; } .w3 .wrow .tr { text-align: right; } .w3 .wrow.new { animation: wflash 2.5s; }
.wst { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: rgba(34,197,94,.18); color: #4ADE80; } .wst.out { background: rgba(245,158,11,.18); color: #FBBF24; } .wst.br { background: rgba(148,163,184,.2); color: #CBD5E1; }
.wsub { margin: 12px 0 2px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); }
.wcount { background: rgba(255,255,255,.14); border-radius: 99px; padding: 0 8px; font-size: 11px; color: #fff; }
.wfil { display: inline-flex; gap: 2px; background: rgba(255,255,255,.06); border-radius: 8px; padding: 2px; } .wfil button { border: 0; background: none; color: rgba(255,255,255,.65); font: 600 11px var(--f); padding: 3px 8px; border-radius: 6px; cursor: pointer; text-transform: none; letter-spacing: 0; } .wfil button.on { background: rgba(255,255,255,.16); color: #fff; }
.walert { display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin: 6px 0; border-radius: 10px; color: #fff; background: rgba(255,255,255,.05); border-left: 3px solid #60A5FA; font-size: 13px; }
.walert .i { width: 16px; height: 16px; flex: none; } .walert > .i:last-child { opacity: .4; width: 13px; }
.walert.bad { border-left-color: #FB7185; background: rgba(251,113,133,.1); } .walert.warn { border-left-color: #FBBF24; background: rgba(251,191,36,.08); }
.walert.new { animation: wflash 2.5s 2; } .walert:hover { background: rgba(255,255,255,.12); }
@keyframes wflash { 0%, 100% { box-shadow: none; } 15%, 45% { box-shadow: 0 0 0 2px rgba(96,165,250,.8), 0 0 24px rgba(96,165,250,.5); } }
.wops { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 8px; margin-top: 8px; }
.wop { display: flex; flex-direction: column; gap: 1px; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.05); color: #fff; border: 1px solid transparent; } .wop:hover { border-color: rgba(255,255,255,.25); }
.wop .i { width: 15px; height: 15px; opacity: .7; } .wop b { font-size: 20px; } .wop span { font-size: 12px; font-weight: 600; } .wop small { font-size: 11px; color: rgba(255,255,255,.55); }
.wop.warn b { color: #FBBF24; } .wop.bad b { color: #FB7185; }
.wrank { width: 20px; height: 20px; border-radius: 6px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.wrev { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); } .wrev b { color: #FBBF24; letter-spacing: 1px; } .wrev p { margin: 3px 0 0; font-size: 12.5px; color: rgba(255,255,255,.8); }
.w-locs { grid-column: span 2; }
.nowrap { white-space: nowrap; }
@media (max-width: 1300px) { .w3-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .w-map { grid-column: span 4; } .w-team { grid-row: auto; } .w-team .wscroll { max-height: 330px; } }
@media (max-width: 760px) { .w3 { padding: 12px; } .w3-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .w-sales, .w-map, .w-team, .w-alerts, .w-feed, .w-ops, .w-locs { grid-column: span 2; } .w3 .wv { font-size: 26px; } .w-sales .wv { font-size: 34px; } .wmap { min-height: 300px; } .wkey { display: none; } .w3 .wall-now { font-size: 15px; } }

/* ---------- shared 3.0 bits ---------- */
.ring3 { --v: 50; --c: var(--brand); width: 112px; height: 112px; border-radius: 50%; flex: none; display: grid; place-items: center; align-content: center; background: radial-gradient(closest-side, var(--surface) 78%, transparent 79% 100%), conic-gradient(var(--c) calc(var(--v) * 1%), var(--surface-3) 0); }
.ring3 b { font-size: 32px; line-height: 1; } .ring3 span { font-size: 11px; color: var(--muted); text-align: center; max-width: 80px; line-height: 1.2; margin-top: 2px; }
.ai-out { white-space: normal; line-height: 1.65; font-size: 14.5px; }

/* ---------- profit coach ---------- */
.p3-top { display: grid; grid-template-columns: minmax(300px, 1fr) 2fr; gap: 16px; margin: 16px 0 6px; }
.p3-health { display: flex; gap: 20px; align-items: center; padding: 20px; } .p3-health h3 { margin: 0 0 6px; font-size: 18px; } .p3-health p { margin: 0 0 12px; }
.p3-kpis { margin: 0; } .p3-kpis .kpi { margin: 0; }
.p3-h2 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 22px 0 10px; } .p3-h2 .i { width: 18px; height: 18px; color: var(--brand); }
.p3-recs { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 14px; margin-bottom: 18px; }
.p3-rec { padding: 18px; border-left: 4px solid var(--line-2); } .p3-rec.bad { border-left-color: var(--bad); } .p3-rec.warn { border-left-color: var(--warn); } .p3-rec.info { border-left-color: var(--info); } .p3-rec.good { border-left-color: var(--good); }
.p3-rec.done, .p3-rec.dismissed { opacity: .6; } .p3-rec.dismissed { display: none; }
.p3-rec-h { display: flex; gap: 12px; } .p3-rec h3 { margin: 8px 0 4px; font-size: 16px; } .p3-rec p { margin: 0; }
.p3-n { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.p3-steps { margin: 12px 0; padding-left: 22px; display: grid; gap: 6px; } .p3-steps li { padding-left: 4px; } .p3-steps li::marker { font-weight: 700; color: var(--brand); }
.p3-act { border-top: 1px solid var(--line); padding-top: 12px; gap: 8px; }
table.hm { border-collapse: separate; border-spacing: 3px; font-size: 11px; } table.hm th { color: var(--muted); font-weight: 600; padding: 2px 4px; text-align: center; } table.hm tbody th { text-align: left; padding-right: 8px; }
table.hm td { width: 38px; height: 30px; border-radius: 6px; text-align: center; font-weight: 600; color: #fff; } table.hm td.hm-e { background: var(--surface-3); }
.hm-ok { background: #16A34A; } .hm-warn { background: #F59E0B; } .hm-over { background: #E11D48; } .hm-under { background: #2563EB; } .hm-none { background: #64748B; }
.hm-key { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); } .hm-key i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-left: 8px; }
@media (max-width: 900px) { .p3-top { grid-template-columns: 1fr; } .p3-recs { grid-template-columns: 1fr; } .p3-health { flex-direction: column; text-align: center; } .p3-health .row { justify-content: center; } .hm-key { display: none; } }

/* ===== Under construction page ===== */
.ucp { position: fixed; inset: 0; overflow-y: auto; z-index: 50; background: #07122B; color: #fff; display: flex; align-items: flex-start; justify-content: center; padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)); }
.ucp-black { background: #050507; } .ucp-light { background: #F5F7FB; color: #0B1220; }
.ucp-bg { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.ucp-bg i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(80px); opacity: .35; animation: ucpFloat 18s ease-in-out infinite alternate; }
.ucp-bg i:nth-child(1) { background: #2252D1; left: -20vmax; top: -25vmax; }
.ucp-bg i:nth-child(2) { background: #1C3A8A; right: -25vmax; top: 10vmax; animation-delay: -6s; }
.ucp-bg i:nth-child(3) { background: #3B6BFF; left: 10vmax; bottom: -35vmax; opacity: .2; animation-delay: -12s; }
.ucp-light .ucp-bg i { opacity: .14; } .ucp-black .ucp-bg i { opacity: .18; }
@keyframes ucpFloat { to { transform: translate(6vmax, 4vmax) scale(1.08); } }
.ucp-main { position: relative; width: 100%; max-width: 620px; text-align: center; margin: auto; padding: 24px 0; }
.ucp-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; letter-spacing: .28em; margin-bottom: 28px; }
.ucp-logo svg { width: 30px; height: 30px; } .ucp-light .ucp-logo svg * { fill: #0B1B3F; }
.ucp-art { position: relative; width: 112px; height: 112px; margin: 0 auto 18px; }
.ucp-art svg { width: 100%; height: 100%; fill: #6E95FF; }
.ucp-g1 { transform-origin: 60px 60px; animation: ucpSpin 9s linear infinite; }
@keyframes ucpSpin { to { transform: rotate(360deg); } }
.ucp-pulse { position: absolute; inset: 18px; border-radius: 50%; border: 2px solid rgba(110,149,255,.5); animation: ucpPulse 2.4s ease-out infinite; }
@keyframes ucpPulse { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.ucp-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255,196,61,.14); color: #FFC43D; }
.ucp-tag .i { width: 14px; height: 14px; }
.ucp h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.1; letter-spacing: -.02em; margin: 16px 0 12px; }
.ucp-msg { color: #C9D3EA; font-size: 17px; line-height: 1.6; margin: 0 auto; max-width: 52ch; } .ucp-light .ucp-msg { color: #475467; }
.ucp-prog { display: flex; align-items: center; gap: 12px; margin: 26px auto 0; max-width: 420px; font-size: 13px; color: #C9D3EA; }
.ucp-bar { flex: 1; height: 10px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.ucp-light .ucp-bar { background: #E4E7EC; } .ucp-light .ucp-prog { color: #475467; }
.ucp-bar i { display: block; height: 100%; border-radius: inherit; background: repeating-linear-gradient(-45deg, #3B6BFF 0 10px, #6E95FF 10px 20px); background-size: 28px 28px; animation: ucpStripe 1s linear infinite; }
@keyframes ucpStripe { to { background-position: 28px 0; } }
.ucp-cd { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.ucp-cd div { min-width: 74px; padding: 12px 8px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.ucp-light .ucp-cd div { background: #fff; border-color: #E4E7EC; }
.ucp-cd b { display: block; font-size: 28px; font-variant-numeric: tabular-nums; } .ucp-cd span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.ucp-back { font-size: 13px; opacity: .7; margin-top: 10px; }
.ucp-ups { text-align: left; max-width: 420px; margin: 26px auto 0; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.ucp-light .ucp-ups { background: #fff; border-color: #E4E7EC; }
.ucp-ups h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; opacity: .7; margin: 0 0 10px; }
.ucp-up { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15px; }
.ucp-up span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 2px solid rgba(110,149,255,.6); }
.ucp-up span i { width: 6px; height: 6px; border-radius: 50%; background: #6E95FF; animation: ucpPulse 1.6s infinite; }
.ucp-up.done span { background: #12B76A; border-color: #12B76A; } .ucp-up.done span .i { width: 12px; height: 12px; stroke: #fff; } .ucp-up.done { opacity: .75; }
.ucp-form { display: flex; gap: 8px; max-width: 440px; margin: 26px auto 0; }
.ucp-form .input { flex: 1; min-width: 0; } .ucp:not(.ucp-light) .ucp-form .input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.ucp-ok { color: #6CE9A6; margin-top: 22px; }
.ucp-acts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ucp:not(.ucp-light) .ucp-acts .btn { color: #fff; border-color: rgba(255,255,255,.25); }
.ucp-safe { font-size: 13px; opacity: .65; margin-top: 18px; } .ucp-safe .i { width: 14px; height: 14px; vertical-align: -2px; }
.ucp-staff { display: inline-block; margin-top: 16px; font-size: 12px; opacity: .45; color: inherit; }
.ucp-prev { position: fixed; top: 0; left: 0; right: 0; z-index: 3; background: #FFC43D; color: #0B1220; font-weight: 600; font-size: 14px; display: flex; gap: 10px; align-items: center; justify-content: center; padding: 8px 12px; }
@media (max-width: 520px) { .ucp-form { flex-direction: column; } .ucp-cd div { min-width: 0; flex: 1; } .ucp-cd b { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .ucp *, .ucp-bg i { animation: none !important; } }

/* ===== OENOD HQ: under construction + website content ===== */
.uc-hero { display: flex; align-items: center; gap: 16px; padding: 18px 20px; flex-wrap: wrap; justify-content: space-between; }
.uc-state { display: flex; gap: 14px; align-items: center; } .uc-state b { font-size: 17px; }
.uc-dot { width: 14px; height: 14px; border-radius: 50%; background: #12B76A; box-shadow: 0 0 0 6px rgba(18,183,106,.15); }
.uc-hero.on { border-color: #F04438; background: linear-gradient(90deg, rgba(240,68,56,.07), transparent); } .uc-hero.on .uc-dot { background: #F04438; box-shadow: 0 0 0 6px rgba(240,68,56,.15); animation: ucpPulse2 1.6s infinite; }
.uc-hero.sched .uc-dot { background: #F79009; box-shadow: 0 0 0 6px rgba(247,144,9,.15); }
@keyframes ucpPulse2 { 50% { box-shadow: 0 0 0 10px rgba(240,68,56,.05); } }
.uc-surf { display: grid; gap: 8px; }
.uc-s { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line, #E4E7EC); border-radius: 12px; cursor: pointer; }
.uc-s.sel { border-color: var(--brand, #2252D1); background: rgba(34,82,209,.05); }
.uc-s > span:nth-of-type(2) { flex: 1; display: flex; flex-direction: column; } .uc-s small { color: var(--muted, #667085); font-size: 12px; }
.uc-si { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(34,82,209,.1); color: var(--brand, #2252D1); flex: none; }
.uc-up { gap: 8px; margin-bottom: 6px; } .uc-up .input { flex: 1; }
.uc-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 12px; color: inherit; text-decoration: none; }
.uc-link.on { border-color: #F04438; } .uc-link:hover { border-color: var(--brand, #2252D1); }
.site-row { gap: 8px; margin-bottom: 8px; } .site-row .input { flex: 1; min-width: 0; }
.site-faq { display: grid; gap: 6px; padding: 10px 0; border-bottom: 1px dashed var(--line, #E4E7EC); }
.site-prev .card-b > div { margin-top: 4px; }

/* ===== HR center, candidate 360, onboarding toolkit ===== */
.hire3 { margin: 16px 0; }
.funnel-r { display: grid; grid-template-columns: 90px 1fr 34px; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; }
.funnel-r b { text-align: right; } .funnel-r .grow > * { margin: 0; }
.hr-rec { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line, #E4E7EC); cursor: pointer; }
.hr-rec:last-child { border-bottom: 0; } .hr-body { margin-top: 4px; white-space: pre-wrap; color: var(--fg-2, #344054); }
.hr-quick { gap: 6px; margin-bottom: 6px; }
.org-wrap { overflow-x: auto; padding-bottom: 20px; }
.org, .org ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; position: relative; }
.org ul { padding-top: 22px; } .org li { position: relative; padding: 22px 8px 0; display: flex; flex-direction: column; align-items: center; }
.org > li { padding-top: 0; }
.org li::before, .org li::after { content: ''; position: absolute; top: 0; right: 50%; width: 50%; height: 22px; border-top: 2px solid var(--line, #D0D5DD); }
.org li::after { right: auto; left: 50%; border-left: 2px solid var(--line, #D0D5DD); }
.org li:only-child::before, .org li:only-child::after { display: none; } .org li:only-child { padding-top: 0; }
.org li:first-child::before, .org li:last-child::after { border: 0; }
.org li:last-child::before { border-right: 2px solid var(--line, #D0D5DD); border-radius: 0 6px 0 0; } .org li:first-child::after { border-radius: 6px 0 0 0; }
.org ul::before { content: ''; position: absolute; top: 0; left: 50%; height: 22px; border-left: 2px solid var(--line, #D0D5DD); }
.org > li::before, .org > li::after { display: none; }
.org-n { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid var(--line, #E4E7EC); border-radius: 12px; background: var(--surface, #fff); cursor: pointer; white-space: nowrap; text-align: left; }
.org-n:hover { border-color: var(--brand, #2252D1); } .org-n b { display: block; font-size: 14px; } .org-n span { font-size: 12px; color: var(--muted, #667085); }
.cand-h { display: flex; gap: 14px; align-items: center; }
.cand-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cand-tl .tl-i { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line, #E4E7EC); }
.tl-body { white-space: pre-wrap; margin-top: 4px; color: var(--fg-2, #344054); }
.offer-prev { white-space: pre-wrap; font-size: 13px; line-height: 1.6; padding: 14px; border: 1px solid var(--line, #E4E7EC); border-radius: 10px; background: var(--surface-2, #F9FAFB); max-height: 260px; overflow: auto; }
.cal-chip { width: 44px; text-align: center; border-radius: 10px; background: rgba(34,82,209,.08); padding: 4px 0; flex: none; } .cal-chip b { display: block; font-size: 17px; } .cal-chip span { font-size: 11px; text-transform: uppercase; color: var(--brand, #2252D1); }
.stars { color: #F79009; letter-spacing: 1px; }

/* ===== Documents & e-sign 3.0 ===== */
.doc-paper { background: #fff; color: #101828; border: 1px solid var(--line, #E4E7EC); border-radius: 14px; padding: 44px 52px; box-shadow: 0 10px 30px rgba(16,24,40,.06); font-family: Georgia, 'Times New Roman', serif; line-height: 1.7; }
.doc-paper h1 { font-family: inherit; font-size: 26px; margin: 6px 0 18px; } .doc-paper .prose p { margin: 0 0 12px; }
.doc-paper.sm { padding: 18px 22px; max-height: 300px; overflow: auto; font-size: 13px; box-shadow: none; margin-top: 8px; } .doc-paper.sm h3 { margin: 0 0 8px; }
.doc-ph { display: flex; justify-content: space-between; font-family: Inter, system-ui, sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #667085; border-bottom: 2px solid #0B1B3F; padding-bottom: 10px; }
.doc-ph b { color: #0B1B3F; }
.doc-sig { margin-top: 30px; padding-top: 14px; border-top: 1px solid #D0D5DD; display: grid; gap: 6px; font-family: Inter, system-ui, sans-serif; }
.doc-sig img { height: 64px; } .doc-sig small { color: #667085; }
.sig-typed, .sigpreview { font-family: 'Brush Script MT', 'Segoe Script', 'Snell Roundhand', cursive; font-size: 34px; color: #0B1B3F; }
.sigpreview { border-bottom: 1px solid var(--line, #D0D5DD); min-height: 60px; padding: 6px 4px; }
.sigpad { width: 100%; height: 150px; border: 1px dashed var(--line, #98A2B3); border-radius: 12px; background: #fff; touch-action: none; cursor: crosshair; display: block; }
.sigtabs { display: flex; gap: 4px; margin-bottom: 10px; } .sigtabs button { flex: 1; padding: 8px; border: 1px solid var(--line, #E4E7EC); background: transparent; border-radius: 10px; cursor: pointer; font-weight: 600; color: inherit; }
.sigtabs button.on { border-color: var(--brand, #2252D1); background: rgba(34,82,209,.08); color: var(--brand, #2252D1); }
.doc-signbox { margin-bottom: 16px; border-color: var(--brand, #2252D1); background: linear-gradient(90deg, rgba(34,82,209,.06), transparent); } .doc-signbox .card-b { gap: 10px; align-items: center; }
.doc-live { display: flex; gap: 16px; align-items: center; } .doc-cnt { flex: 1; display: grid; gap: 6px; font-size: 13px; } .doc-cnt div { display: flex; align-items: center; gap: 8px; } .doc-cnt b { margin-left: auto; }
.doc-cnt i { width: 10px; height: 10px; border-radius: 50%; } .dc-good { background: #12B76A; } .dc-warn { background: #F79009; } .dc-muted { background: #98A2B3; } .dc-bad { background: #F04438; }
.doc-people { margin-top: 10px; display: grid; } .doc-p { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line, #EAECF0); }
.doc-ev { display: grid; gap: 8px; max-height: 320px; overflow: auto; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #12B76A; animation: ucpPulse2 1.6s infinite; margin-left: auto; }
.doc-prog { display: grid; gap: 4px; min-width: 200px; font-size: 12px; } .warn-t { color: #B54708; } .bad-t { color: #B42318; }
.dt-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(34,82,209,.1); color: var(--brand, #2252D1); flex: none; } .dt-ic.sm { width: 32px; height: 32px; }
.doc-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; max-height: 60vh; overflow: auto; }
.doc-tpl { text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--line, #E4E7EC); border-radius: 14px; background: var(--surface, #fff); cursor: pointer; color: inherit; font: inherit; }
.doc-tpl:hover { border-color: var(--brand, #2252D1); box-shadow: 0 6px 20px rgba(34,82,209,.12); } .doc-tpl small { color: var(--muted, #667085); } .dt-snip { font-size: 12px; color: var(--muted, #667085); line-height: 1.4; }
.doc-tpl.blank { border-style: dashed; justify-content: center; }
.doc-merge { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; } .doc-ta { font-family: Georgia, serif; line-height: 1.6; }
.doc-pick { display: flex; flex-wrap: wrap; gap: 6px; max-height: 160px; overflow: auto; } .doc-pick input { display: none; } .doc-pick .chip.on { background: var(--brand, #2252D1); color: #fff; border-color: transparent; }
.doc-cards { display: grid; gap: 10px; } .doc-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: inherit; text-decoration: none; }
.doc-cert { font-family: Inter, system-ui, sans-serif; } .doc-cert h1 { margin: 18px 0; } .doc-cert table { width: 100%; margin-bottom: 16px; }
@media (max-width: 640px) { .doc-paper { padding: 24px 18px; } }

/* ===== Performance 3.0 ===== */
.pbar { flex: 1; height: 8px; border-radius: 99px; background: var(--line, #EAECF0); overflow: hidden; min-width: 60px; } .pbar i { display: block; height: 100%; border-radius: inherit; }
.tr-up { color: #079455; font-weight: 700; font-size: 13px; } .tr-down { color: #D92D20; font-weight: 700; font-size: 13px; }
.perf-t td { vertical-align: middle; } .perf-t .pill { margin-top: 4px; }
.pp-h { display: flex; gap: 16px; align-items: center; }
.pp-parts { display: grid; gap: 8px; margin: 16px 0; } .pp-part { display: grid; grid-template-columns: 170px 1fr 30px; align-items: center; gap: 10px; font-size: 13px; }
.pp-k { gap: 8px; } .pp-kv { border: 1px solid var(--line, #EAECF0); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; } .pp-kv span { font-size: 12px; color: var(--muted, #667085); } .pp-kv b { font-size: 17px; }
.pp-kv.warn b { color: #B54708; } .pp-kv.bad b { color: #B42318; } .pp-kv.good b { color: #067647; }
.pp-weeks { display: flex; align-items: flex-end; gap: 4px; height: 110px; padding-bottom: 18px; }
.pp-weeks > div { flex: 1; height: 100%; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.pp-weeks i { display: block; width: 100%; border-radius: 6px 6px 2px 2px; background: var(--brand, #2252D1); opacity: .85; min-height: 2px; }
.pp-weeks em { position: absolute; top: -2px; width: 8px; height: 8px; border-radius: 50%; } .pp-weeks em.warn { background: #F79009; } .pp-weeks em.bad { background: #F04438; }
.pp-weeks span { position: absolute; bottom: -18px; font-size: 10px; color: var(--muted, #667085); }

/* ===== Academy 3.0 ===== */
.af-modern { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.af-classic { font-family: Georgia, "Times New Roman", Cambria, serif; }
.af-rounded { font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", "Trebuchet MS", sans-serif; }
.af-bold { font-family: Impact, "Arial Black", "Helvetica Neue", sans-serif; letter-spacing: .01em; }
.af-mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.af-hand { font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", "Chalkboard SE", cursive; }
.ac-cover { position: relative; --cc: #2252D1; background: radial-gradient(120% 140% at 100% 0%, rgba(255,255,255,.22), transparent 55%), linear-gradient(135deg, var(--cc), color-mix(in srgb, var(--cc) 55%, #0B1B3F)); color: #fff; padding: 18px; min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 14px 14px 0 0; overflow: hidden; }
.ac-cover::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; border: 26px solid rgba(255,255,255,.08); }
.ac-cover .ac-ic { position: absolute; top: 14px; left: 16px; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.ac-cover .ac-ic svg { width: 20px; height: 20px; }
.ac-cover .ac-ct small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.ac-cover .ac-ct b { display: block; font-size: 19px; line-height: 1.2; margin-top: 3px; position: relative; z-index: 1; }
.ac-cover em { position: absolute; top: 14px; right: 14px; font-style: normal; font-size: 11px; font-weight: 700; background: #fff; color: var(--cc); padding: 3px 8px; border-radius: 99px; }
.ac-cover.sm { min-height: 92px; padding: 12px; } .ac-cover.sm .ac-ct b { font-size: 15px; } .ac-cover.sm .ac-ic { width: 30px; height: 30px; top: 10px; left: 10px; }
.ac-cover.lg { min-height: 200px; border-radius: 16px; } .ac-cover.lg .ac-ct b { font-size: 26px; }
.ac-cover.wide { min-height: 170px; border-radius: 18px; padding: 26px; } .ac-cover.wide .ac-ct b { font-size: 30px; max-width: 760px; } .ac-cover.wide .ac-ic { width: 46px; height: 46px; top: 22px; left: 26px; }
.ac-card { display: block; padding: 0; overflow: hidden; transition: transform .15s, box-shadow .15s; color: inherit; } .ac-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11,27,63,.12); }
.ac-wrap { position: relative; } .ac-edit { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.95); z-index: 2; }
.ac-gal { gap: 12px; } .ac-tpl { padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; text-align: left; cursor: pointer; transition: border-color .15s, transform .15s; } .ac-tpl:hover { border-color: var(--brand); transform: translateY(-2px); }
.ac-tpl-b { display: block; padding: 10px 12px; } .ac-tpl-b b { display: block; }
.ac-b2 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.ac-pane { margin-top: 14px; }
.ac-sw, .ac-icons, .ac-fonts { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-sw button { width: 32px; height: 32px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; box-shadow: 0 0 0 1px var(--line); } .ac-sw button.on { border-color: var(--card); box-shadow: 0 0 0 2px var(--brand); }
.ac-icons button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--fg); cursor: pointer; display: grid; place-items: center; } .ac-icons button.on { background: var(--brand); color: #fff; border-color: var(--brand); } .ac-icons svg { width: 18px; height: 18px; }
.ac-fonts button { width: 92px; padding: 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--fg); cursor: pointer; text-align: center; } .ac-fonts button b { display: block; font-size: 24px; } .ac-fonts button small { font-family: Inter, system-ui, sans-serif; font-size: 11px; color: var(--muted); } .ac-fonts button.on { border-color: var(--brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 30%, transparent); }
.ac-led { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; }
.ac-llist { display: flex; flex-direction: column; gap: 4px; } .ac-llist .btn.block { margin-top: 6px; }
.ac-tb { display: flex; gap: 4px; margin-top: 10px; padding: 6px; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; background: var(--bg2, rgba(11,27,63,.03)); }
.ac-tb button { min-width: 32px; height: 30px; border: 0; border-radius: 6px; background: transparent; color: var(--fg); cursor: pointer; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; } .ac-tb button:hover { background: rgba(34,82,209,.1); } .ac-tb svg { width: 14px; height: 14px; }
.ac-ed textarea { border-radius: 0 0 10px 10px; min-height: 240px; font-size: 15px; line-height: 1.55; }
.ac-prev { border: 1px solid var(--line); border-radius: 0 0 10px 10px; padding: 14px 16px; min-height: 240px; }
.ac-quiz { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 12px; } .ac-quiz h4 { display: flex; align-items: center; gap: 6px; margin: 0; } .ac-quiz h4 svg { width: 16px; height: 16px; }
.ac-q { border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.ac-opt { display: flex; align-items: center; gap: 8px; padding: 2px 6px; border-radius: 8px; } .ac-opt.ok { background: rgba(7,148,85,.08); } .ac-opt .input { flex: 1; }
.ac-toggles { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ac-sell { border: 1px solid var(--line); border-radius: 14px; padding: 14px; } .ac-sell.on { border-color: var(--brand); background: rgba(34,82,209,.05); }
.ac-player .ac-cover.wide { margin-bottom: 0; }
.ac-take { margin-top: 22px; border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: rgba(34,82,209,.03); } .ac-take h3 { display: flex; gap: 6px; align-items: center; margin: 0 0 4px; } .ac-take h3 svg { width: 18px; height: 18px; }
.ac-tq { border: 0; padding: 10px 0; margin: 0; border-bottom: 1px solid var(--line); } .ac-tq legend { font-weight: 600; padding: 0; margin-bottom: 6px; }
.ac-to { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; cursor: pointer; } .ac-to:hover { background: rgba(34,82,209,.06); }
.ac-tq.right legend::after { content: "  ✓"; color: #079455; } .ac-tq.wrong legend::after { content: "  ✗"; color: #D92D20; } .ac-tq .ac-to.ans { background: rgba(7,148,85,.12); font-weight: 600; }
.ac-seal { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #F5D77A, #C9A227); color: #fff; box-shadow: 0 0 0 4px rgba(201,162,39,.2); } .ac-seal svg { width: 22px; height: 22px; }
.ac-seal.lg { width: 60px; height: 60px; } .ac-seal.lg svg { width: 30px; height: 30px; } .ac-seal.xl { width: 84px; height: 84px; } .ac-seal.xl svg { width: 42px; height: 42px; }
.ac-certcard { display: block; color: inherit; } .ac-certcard .card-b { display: flex; flex-direction: column; gap: 4px; } .ac-earned { display: block; color: inherit; border-color: #C9A227; }
.ac-pub .pubtop .ac-brand { color: #F5D77A; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.ac-hero .ac-kick { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .14em; color: #F5D77A; font-weight: 700; } .ac-hero .ac-kick svg { width: 16px; height: 16px; }
.ac-stats { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 14px; color: #C9D3EA; font-size: 14px; } .ac-stats svg { width: 14px; height: 14px; }
.ac-price { font-size: 18px; color: var(--brand); }
.ac-land .ac-back { color: #9AA8C7; display: inline-block; margin-bottom: 10px; }
.ac-land .panel h2, .ac-land .panel h3 { margin-top: 0; } .ac-land .lead { font-size: 17px; }
.ac-out { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .ac-out li { display: flex; gap: 8px; align-items: flex-start; } .ac-out svg { width: 16px; height: 16px; color: #079455; flex: none; margin-top: 3px; }
.ac-ol { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); } .ac-ol:last-child { border: 0; }
.ac-buy { position: sticky; top: 16px; } .ac-big { font-size: 34px; font-weight: 800; margin-bottom: 10px; } .ac-buy .btn.lg { width: 100%; justify-content: center; }
.ac-facts { list-style: none; padding: 0; margin: 14px 0; display: flex; flex-direction: column; gap: 8px; } .ac-facts li { display: flex; gap: 8px; align-items: center; } .ac-facts svg { width: 16px; height: 16px; color: var(--muted); }
.ac-valid { margin-bottom: 14px; }
.ac-cert { --cc: #0B1B3F; background: #fff; color: #0B1B3F; border: 12px solid var(--cc); border-radius: 6px; padding: 8px; box-shadow: 0 20px 60px rgba(11,27,63,.18); }
.ac-cert-in { border: 2px solid #C9A227; padding: 34px 40px; text-align: center; background: radial-gradient(80% 60% at 50% 0%, rgba(201,162,39,.08), transparent); }
.ac-cert-top { display: flex; justify-content: space-between; align-items: center; } .ac-cert-logo { display: flex; align-items: center; gap: 6px; font-family: Inter, system-ui, sans-serif; font-size: 20px; } .ac-cert-logo svg { width: 24px; height: 24px; }
.ac-cert-k { font: 700 12px Inter, system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #C9A227; }
.ac-cert-t { display: block; letter-spacing: .3em; text-transform: uppercase; margin: 26px 0 8px; color: #C9A227; font: 700 13px Inter, system-ui, sans-serif; }
.ac-cert h1 { font-size: 42px; margin: 6px 0; color: #0B1B3F; } .ac-cert h2 { font-size: 24px; margin: 6px 0 4px; color: var(--cc); } .ac-cert .muted { color: #667085; }
.ac-cert-foot { display: flex; justify-content: space-around; align-items: center; margin-top: 30px; gap: 12px; } .ac-cert-foot > div { min-width: 180px; } .ac-cert-foot small { display: block; color: #667085; border-top: 1px solid #98A2B3; padding-top: 4px; margin-top: 4px; font-family: Inter, system-ui, sans-serif; }
.ac-cert-id { margin-top: 22px; font: 11px Inter, system-ui, sans-serif; color: #667085; }
.prose blockquote { border-left: 3px solid var(--brand); margin: 10px 0; padding: 4px 12px; color: var(--muted); }
@media (max-width: 760px) { .ac-b2, .ac-led { grid-template-columns: 1fr; } .ac-out { grid-template-columns: 1fr; } .ac-cert-in { padding: 20px 14px; } .ac-cert h1 { font-size: 28px; } .ac-cover.wide .ac-ct b { font-size: 22px; } .ac-cert-foot { flex-direction: column; } }
.drawer.ac-drawer { width: min(1120px, 96vw); max-width: none; }
.ac-cert-logo { color: #0B1B3F; } .ac-certbtns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 16px 0; }
.ac-earned, .ac-earned:hover, .ac-certcard, .ac-card { text-decoration: none; }

/* ===== Feed 3.0 ===== */
.fd-comp .card-b { display: flex; flex-direction: column; gap: 10px; }
.fd-kinds { display: flex; flex-wrap: wrap; gap: 6px; } .fd-kinds button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card); color: var(--fg); border-radius: 99px; padding: 6px 12px; font-size: 13px; cursor: pointer; } .fd-kinds button svg { width: 15px; height: 15px; } .fd-kinds button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.fd-x { display: flex; flex-wrap: wrap; gap: 8px; } .fd-x .input { flex: 1; min-width: 160px; } .fd-x[data-opts] { display: block; } .fd-oi { width: 22px; height: 22px; border-radius: 50%; background: rgba(34,82,209,.1); color: var(--brand); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.fd-tools { gap: 8px; } .fd-tools .input.sm { width: auto; } .fd-photo { cursor: pointer; }
.fd-thumb { position: relative; display: inline-block; } .fd-thumb img { max-height: 160px; border-radius: 12px; display: block; } .fd-thumb .iconbtn { position: absolute; top: 6px; right: 6px; background: rgba(255,255,255,.9); }
.fd-todo { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 12px; background: rgba(220,104,3,.1); color: #93370D; margin-bottom: 14px; } .fd-todo svg { width: 18px; height: 18px; }
.fd-post.announcement { border-left: 4px solid #DC6803; } .fd-post.pinned { box-shadow: 0 0 0 1px var(--brand), 0 8px 24px rgba(34,82,209,.08); }
.fd-title { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 18px; } .fd-title svg { width: 18px; height: 18px; color: #DC6803; }
.fd-shout { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #FFF4E5, #FDE7F3); color: #5B2A00; } .fd-shout-ic { font-size: 28px; } .fd-shout small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 700; color: #C11574; } .fd-shout b { font-size: 17px; }
[data-theme=dark] .fd-shout { background: linear-gradient(135deg, rgba(220,104,3,.18), rgba(193,21,116,.18)); color: #FDE7C7; }
.fd-img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 14px; margin-top: 10px; }
.fd-poll { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; } .fd-po { position: relative; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--fg); cursor: pointer; overflow: hidden; text-align: left; } .fd-po > * { position: relative; } .fd-po .fd-pb { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(34,82,209,.12); transition: width .4s; } .fd-po.on { border-color: var(--brand); font-weight: 600; }
.fd-event { display: flex; gap: 14px; align-items: center; margin-top: 12px; padding: 12px; border-radius: 14px; background: rgba(34,82,209,.06); } .fd-event svg { width: 13px; height: 13px; vertical-align: -2px; }
.fd-date { width: 54px; flex: none; text-align: center; border-radius: 12px; background: var(--card); box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); overflow: hidden; } .fd-date small { display: block; background: #D92D20; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 2px 0; } .fd-date b { display: block; font-size: 22px; padding: 4px 0; }
.fd-date.sm { width: 42px; } .fd-date.sm b { font-size: 16px; padding: 2px 0; }
.fd-rsvp { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fd-ack { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); } .fd-ack svg { width: 14px; height: 14px; }
.fd-react { display: flex; align-items: center; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.fd-rc { border: 1px solid var(--line); background: var(--card); color: var(--fg); border-radius: 99px; padding: 3px 10px; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; } .fd-rc.on { background: rgba(34,82,209,.1); border-color: var(--brand); } .fd-rc.add svg { width: 14px; height: 14px; } .fd-rc.add span { font-size: 12px; color: var(--muted); }
.fd-pick { position: relative; } .fd-pop { position: absolute; bottom: calc(100% + 6px); left: 0; display: flex; gap: 2px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 99px; box-shadow: 0 10px 30px rgba(11,27,63,.15); z-index: 5; } .fd-pop[hidden] { display: none; } .fd-pop button { border: 0; background: transparent; font-size: 22px; cursor: pointer; padding: 2px 4px; border-radius: 8px; transition: transform .1s; } .fd-pop button:hover { transform: scale(1.25); }
.fd-cmts { margin-top: 8px; } .fd-cmts .cmt { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; } .fd-cin { gap: 8px; margin-top: 6px; } .fd-cin .input { border-radius: 99px; }
.fd-cel { font-size: 22px; width: 32px; text-align: center; } .fd-rank { font-size: 20px; width: 28px; text-align: center; }
/* ===== Benefits 3.0 ===== */
.bn-kpis { margin-bottom: 16px; }
.bn-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; } .bn-chips button { border: 1px solid var(--line); background: var(--card); color: var(--fg); border-radius: 99px; padding: 5px 12px; font-size: 13px; cursor: pointer; } .bn-chips button.on { background: var(--fg); color: var(--bg, #fff); border-color: var(--fg); }
.bn-card { text-align: left; cursor: pointer; padding: 0; border: 1px solid var(--line); color: inherit; font: inherit; transition: transform .15s, box-shadow .15s; display: block; width: 100%; } .bn-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11,27,63,.1); } .bn-card.feat { border-color: var(--brand); } .bn-card.off { opacity: .6; } .bn-card[hidden] { display: none; }
.bn-desc { margin: 10px 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bn-more { display: block; margin-top: 10px; font-size: 13px; color: var(--brand); font-weight: 600; }
.bn-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(34,82,209,.1); color: var(--brand); } .bn-ic svg { width: 20px; height: 20px; } .bn-ic.lg { width: 56px; height: 56px; border-radius: 16px; } .bn-ic.lg svg { width: 26px; height: 26px; }
.bn-ic.k-benefit { background: rgba(217,45,32,.1); color: #D92D20; } .bn-ic.k-retirement { background: rgba(7,148,85,.1); color: #079455; } .bn-ic.k-wellness { background: rgba(14,147,132,.1); color: #0E9384; } .bn-ic.k-allowance { background: rgba(122,90,248,.1); color: #7A5AF8; } .bn-ic.k-time_off { background: rgba(220,104,3,.1); color: #DC6803; } .bn-ic.k-learning { background: rgba(193,21,116,.1); color: #C11574; } .bn-ic.k-food { background: rgba(181,71,8,.1); color: #B54708; }
.bn-head { display: flex; gap: 14px; align-items: center; } .bn-val { font-size: 22px; font-weight: 800; }
.bn-h { margin: 18px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.bn-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 8px; } .bn-steps li { counter-increment: s; display: flex; gap: 10px; align-items: flex-start; } .bn-steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.bn-checks { display: flex; flex-direction: column; gap: 8px; } .bn-chk { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); } .bn-chk > span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; } .bn-chk > span svg { width: 14px; height: 14px; } .bn-chk.ok > span { background: rgba(7,148,85,.12); color: #079455; } .bn-chk.no > span { background: rgba(102,112,133,.12); color: var(--muted); } .bn-chk.ok { background: rgba(7,148,85,.04); }
.bn-got { margin-top: 14px; padding: 14px; border-radius: 12px; background: rgba(7,148,85,.06); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bn-rules { border: 1px solid var(--line); border-radius: 12px; padding: 12px; } .bn-rules h4 { display: flex; gap: 6px; align-items: center; margin: 0 0 8px; } .bn-rules h4 svg { width: 15px; height: 15px; }
.drawer.bn-drawer { max-width: 560px; }
.fd-post .grow, .fd-react .grow, .fd-ack .grow, .fd-tools .grow { flex: 1; }
.drawer.bn-drawer > .modal-b, .drawer.ac-drawer > .modal-b { flex: 1; }

/* ===== Time clock map 3.0 ===== */
.tm-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.tm-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.tm-locs { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 76px; }
.tm-loc { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface, #fff); color: var(--fg); cursor: pointer; font: inherit; transition: border-color .15s, box-shadow .15s; } .tm-loc:hover { border-color: var(--brand); } .tm-loc.on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(34,82,209,.12); }
.tm-li { width: 34px; height: 34px; border-radius: 10px; background: rgba(34,82,209,.1); color: var(--brand); display: grid; place-items: center; flex: none; } .tm-li svg { width: 17px; height: 17px; }
.tm-loc .grow { flex: 1; min-width: 0; }
.tm-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; } .tm-chips span { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 99px; background: rgba(102,112,133,.12); color: var(--muted); } .tm-chips .g { background: rgba(7,148,85,.12); color: #067647; } .tm-chips .r { background: rgba(217,45,32,.12); color: #B42318; } .tm-chips .o { background: rgba(220,104,3,.12); color: #B54708; }
.tm-pct { font-size: 12px; font-weight: 700; color: #067647; } .tm-pct.hi { color: #B42318; }
.tm-mapcard { overflow: hidden; } .tm-mapcard .map { border-radius: 0; }
.tm-fence { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; border: 2px dashed rgba(34,82,209,.6); background: rgba(34,82,209,.08); pointer-events: none; z-index: 1; } .tm-fence.on { border-style: solid; background: rgba(34,82,209,.12); }
.tm-pin { position: absolute; border: 0; background: none; padding: 0; cursor: pointer; z-index: 2; transform: translate(-50%, -50%); }
.tm-pin.loc { width: 40px; height: 40px; border-radius: 12px; background: #0B1B3F; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(11,27,63,.4); border: 2px solid #fff; } .tm-pin.loc svg { width: 20px; height: 20px; }
.tm-pin em { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; border-radius: 10px; background: #079455; color: #fff; font: 700 11px/20px var(--f, sans-serif); font-style: normal; border: 2px solid #fff; padding: 0 4px; }
.tm-pin.person span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c); color: #fff; font: 700 11px var(--f, sans-serif); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.tm-pin.person.in span { animation: tmpulse 2.4s infinite; } .tm-pin.person.out span { border-color: #F79009; }
@keyframes tmpulse { 0% { box-shadow: 0 0 0 0 rgba(7,148,85,.5); } 70% { box-shadow: 0 0 0 12px rgba(7,148,85,0); } 100% { box-shadow: 0 0 0 0 rgba(7,148,85,0); } }
.tm-legend { display: flex; flex-wrap: wrap; gap: 12px; padding: 10px 14px; font-size: 12px; align-items: center; } .tm-legend span { display: inline-flex; align-items: center; gap: 5px; } .tm-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; } .tm-legend i.ring { border: 2px dashed rgba(34,82,209,.7); background: rgba(34,82,209,.1); } .tm-legend .grow { flex: 1; }
.tm-ptabs { display: flex; gap: 4px; padding: 0 12px 8px; flex-wrap: wrap; } .tm-ptabs button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12px; padding: 5px 9px; border-radius: 99px; cursor: pointer; } .tm-ptabs button b { color: var(--fg); margin-left: 2px; } .tm-ptabs button.on { background: rgba(34,82,209,.1); color: var(--brand); }
.tm-person { display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left; padding: 10px 14px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--fg); font: inherit; cursor: pointer; } .tm-person:hover { background: rgba(34,82,209,.04); } .tm-person .grow { flex: 1; min-width: 0; }
.tm-pmeta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; font-size: 12px; color: var(--muted); } .tm-pmeta span { display: inline-flex; align-items: center; gap: 3px; } .tm-pmeta svg { width: 12px; height: 12px; } .tm-pmeta .ok { color: #067647; } .tm-pmeta .no { color: #B54708; }
.tm-alerts { display: flex; flex-direction: column; gap: 8px; } .tm-al { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(220,104,3,.07); } .tm-al.bad { background: rgba(217,45,32,.07); } .tm-al .grow { flex: 1; } .tm-ald { width: 8px; height: 8px; border-radius: 50%; background: #F79009; flex: none; } .tm-al.bad .tm-ald { background: #D92D20; }
.tm-tl { display: flex; flex-direction: column; max-height: 420px; overflow: auto; } .tm-ev { display: flex; gap: 10px; align-items: center; padding: 7px 0; position: relative; font-size: 13px; } .tm-ev .grow { flex: 1; } .tm-evd { width: 10px; height: 10px; border-radius: 50%; background: #079455; flex: none; } .tm-ev.out .tm-evd { background: #98A2B3; } .tm-ev.break .tm-evd { background: #2E90FA; } .tm-evt { width: 64px; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; }
.tm-facts { display: flex; flex-direction: column; margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; } .tm-facts > div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); } .tm-facts > div:first-child { border-top: 0; } .tm-facts span { color: var(--muted); font-size: 13px; } .tm-facts b { text-align: right; font-size: 13px; } .tm-facts .ok { color: #067647; } .tm-facts .no { color: #B54708; }
.tm-tips { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 1280px) { .tm-grid { grid-template-columns: 230px minmax(0, 1fr); } .tm-grid > .stack:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (max-width: 860px) { .tm-grid { grid-template-columns: 1fr; } .tm-locs { position: static; flex-direction: row; overflow-x: auto; } .tm-loc { min-width: 220px; } .tm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tm-grid > .stack:last-child { grid-template-columns: 1fr; } }

/* ---------- Schedule 3.0 ---------- */
.sc-bar-top { gap: 8px; margin: 4px 0 14px; align-items: center; }
.sc-bar-top .badge, .sc-badge { background: var(--brand); color: #fff; border-radius: 99px; font-size: 11px; padding: 1px 7px; margin-left: 4px; }
.sc-kpis { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 14px; }
.sc-alert { margin-bottom: 12px; }
.sc-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.sc-grid { display: grid; grid-template-columns: 210px repeat(7, minmax(128px, 1fr)); min-width: 1110px; }
.sc-grid > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sc-grid > div:nth-child(8n) { border-right: 0; }
.sc-h { padding: 10px; font-size: 13px; background: var(--surface-2); position: sticky; top: 0; z-index: 2; }
.sc-h.today { background: color-mix(in srgb, var(--brand) 12%, var(--surface-2)); color: var(--brand); }
.sc-hs { font-size: 11.5px; color: var(--muted); margin-top: 2px; } .sc-hs .warn-t { color: #B45309; font-weight: 600; }
.sc-corner { position: sticky; left: 0; z-index: 3; background: var(--surface-2); font-weight: 700; }
.sc-p { padding: 10px; position: sticky; left: 0; background: var(--surface); z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.sc-openrow { background: color-mix(in srgb, #16A34A 6%, var(--surface)); }
.sc-load { height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; } .sc-load i { display: block; height: 100%; background: var(--brand); } .sc-load.over i { background: #DC2626; }
.sc-cell { min-height: 76px; padding: 6px; display: flex; flex-direction: column; gap: 5px; position: relative; cursor: pointer; transition: background .15s; }
.sc-cell:hover { background: var(--surface-2); } .sc-cell.today { background: color-mix(in srgb, var(--brand) 4%, transparent); } .sc-cell.past { opacity: .78; }
.sc-cell.over { background: color-mix(in srgb, var(--brand) 14%, transparent); outline: 2px dashed var(--brand); outline-offset: -3px; }
.sc-add { position: absolute; right: 5px; bottom: 5px; width: 24px; height: 24px; border-radius: 7px; border: 1px dashed var(--line-2, var(--line)); background: var(--surface); color: var(--muted); display: grid; place-items: center; opacity: 0; transition: opacity .15s; cursor: pointer; }
.sc-add svg { width: 14px; height: 14px; } .sc-cell:hover .sc-add { opacity: 1; }
.sc-shift { border-radius: 9px; padding: 6px 8px; background: color-mix(in srgb, var(--c) 14%, var(--surface)); border-left: 4px solid var(--c); font-size: 12px; cursor: grab; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }
.sc-shift:hover { box-shadow: 0 4px 12px rgba(15, 23, 42, .12); } .sc-shift.dragging { opacity: .4; }
.sc-shift.draft { background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 6px, color-mix(in srgb, var(--c) 10%, var(--surface)) 6px, color-mix(in srgb, var(--c) 10%, var(--surface)) 12px); border: 1px dashed var(--c); border-left: 4px solid var(--c); }
.sc-shift.warn { box-shadow: inset 0 0 0 1.5px #F59E0B; }
.sc-t { font-weight: 700; display: flex; align-items: center; gap: 4px; } .sc-r { color: var(--fg-2); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; gap: 4px; align-items: center; }
.sc-r svg, .sc-req svg { width: 12px; height: 12px; }
.sc-req { font-size: 11px; font-weight: 600; color: #1D4ED8; display: flex; gap: 4px; align-items: center; }
.sc-st { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 99px; margin-left: auto; } .sc-st + .sc-st { margin-left: 0; }
.sc-st svg { width: 11px; height: 11px; } .sc-st.good { background: #DCFCE7; color: #15803D; } .sc-st.warn { background: #FEF3C7; color: #B45309; } .sc-st.bad { background: #FEE2E2; color: #B91C1C; }
.sc-off, .sc-un { font-size: 11px; border-radius: 6px; padding: 2px 6px; display: inline-flex; gap: 4px; align-items: center; } .sc-off svg, .sc-un svg { width: 11px; height: 11px; }
.sc-off { background: #E0F2FE; color: #0369A1; } .sc-un { background: var(--surface-3); color: var(--muted); }
.sc-f { padding: 8px 10px; font-size: 12px; background: var(--surface-2); display: flex; flex-direction: column; gap: 2px; border-bottom: 0 !important; }
.sc-help { margin-top: 10px; display: flex; gap: 6px; align-items: center; } .sc-help svg { width: 14px; height: 14px; }
.sc-days { margin-bottom: 10px; overflow-x: auto; }
.sc-tl { padding: 10px 0; overflow-x: auto; } .sc-tl-h, .sc-tl-row { display: grid; grid-template-columns: 200px 1fr; min-width: 900px; align-items: center; }
.sc-tl-scale { display: grid; grid-template-columns: repeat(24, 1fr); font-size: 11px; color: var(--muted); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.sc-tl-row { border-bottom: 1px solid var(--line); padding: 8px 0; } .sc-tl-row > div:first-child, .sc-tl-h > div:first-child { padding: 0 12px; }
.sc-tl-track { position: relative; height: 34px; background: repeating-linear-gradient(90deg, transparent, transparent calc(100% / 24 - 1px), var(--line) calc(100% / 24 - 1px), var(--line) calc(100% / 24)); }
.sc-bar { position: absolute; top: 3px; bottom: 3px; border-radius: 8px; background: var(--c); color: #fff; font-size: 11.5px; font-weight: 600; padding: 0 8px; display: flex; align-items: center; white-space: nowrap; overflow: hidden; cursor: pointer; }
.sc-bar.draft { background: color-mix(in srgb, var(--c) 30%, var(--surface)); color: var(--fg); border: 1px dashed var(--c); }
.sc-tips { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; line-height: 1.5; }
.sc-rq { padding: 14px; margin-bottom: 10px; }
.sc-tpls { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; } .sc-tpls .chip { cursor: pointer; }
.sc-dot { width: 10px; height: 10px; border-radius: 99px; display: inline-block; flex: none; }
.sc-who { display: flex; flex-wrap: wrap; gap: 6px; } .sc-who .chip { cursor: pointer; border: 1px solid var(--line); background: var(--surface); padding: 6px 10px; }
.sc-who .chip:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--surface)); }
.sc-who input { accent-color: var(--brand); }
.sc-sw { display: flex; gap: 8px; flex-wrap: wrap; } .sc-sw button { width: 26px; height: 26px; border-radius: 99px; border: 2px solid transparent; cursor: pointer; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.sc-sw button.on { border-color: var(--fg); }
/* employee */
.sc-mybody { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.sc-day { margin: 10px 0 0; font-size: 15px; } .sc-day.today { color: var(--brand); }
.sc-my { padding: 14px 16px; border-left: 4px solid var(--c); }
.sc-my-t { font-size: 16px; } .sc-my-act { gap: 8px; margin-top: 10px; }
.sc-tasks { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; } .sc-tasks svg { width: 13px; height: 13px; color: #16A34A; }
.sc-with { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.sc-av { display: flex; flex-direction: column; gap: 8px; }
.sc-av-row { display: grid; grid-template-columns: 110px 220px 300px 1fr; gap: 8px; align-items: center; }
.sc-av-t { display: flex; gap: 6px; align-items: center; } .sc-av-t .input { width: 136px; }
@media (max-width: 760px) { .sc-av-row { grid-template-columns: 1fr 1fr; } .sc-av-row > b { grid-column: 1 / -1; } }
@media print { .sc-bar-top, .sc-kpis, .sc-help, .sc-alert, .sc-add, .page-h .row { display: none !important; } .sc-wrap { overflow: visible; border: 0; } .sc-grid { min-width: 0; } }

/* ---------- Payroll 3.0 ---------- */
.pr-body { margin-top: 14px; }
.pr-hours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.pr-hours > div { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; } .pr-hours b { font-size: 18px; }
.warn-t { color: #B45309 !important; } .bad-t { color: #B91C1C; }
.pr-check .list-row svg { width: 16px; height: 16px; color: #D97706; flex: none; }
.pr-acct { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.pr-acct-i { width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; } .pr-acct-i svg { width: 20px; height: 20px; }
.pr-rules .input.sm { min-width: 90px; } .pr-rules td:nth-child(2) .input { min-width: 200px; }
.pr-steps { display: flex; gap: 8px; margin: 4px 0 14px; flex-wrap: wrap; }
.pr-step { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 99px; background: var(--surface-2); font-size: 13px; font-weight: 600; color: var(--muted); }
.pr-step span { width: 24px; height: 24px; border-radius: 99px; display: grid; place-items: center; background: var(--surface-3); font-size: 12px; } .pr-step span svg { width: 13px; height: 13px; }
.pr-step.on { color: var(--fg); } .pr-step.on span { background: #16A34A; color: #fff; }
.ps { font-size: 13.5px; color: #0f172a; background: #fff; }
.ps-h { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid #0B1B3F; } .ps-h h2 { margin: 0 0 4px; font-size: 20px; } .ps-h .right { text-align: right; }
.ps-who { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0; } .ps-who > div { background: #F1F5F9; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.ps-net { font-size: 26px; color: #0B1B3F; }
.ps-t { margin-bottom: 12px; } .ps-t .ps-sum td { border-top: 1.5px solid #CBD5E1; }
.ps-foot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 6px; } .ps-foot > div { border: 1px solid #E2E8F0; border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.ps-foot .ps-big { background: #0B1B3F; color: #fff; border-color: #0B1B3F; } .ps-foot .ps-big .muted { color: #CBD5E1; } .ps-foot .ps-big b { font-size: 18px; }
@media (max-width: 760px) { .ps-who, .ps-foot { grid-template-columns: 1fr 1fr; } .pr-hours { grid-template-columns: 1fr 1fr 1fr; } }
.alert.warn { background: #FEF3C7; color: #92400E; } .alert { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .alert > svg { width: 16px; height: 16px; flex: none; }
.pr-lines td.right, .pr-lines td:last-child { white-space: nowrap; }
.pr-trend { display: flex; align-items: flex-end; gap: 14px; height: 180px; padding-top: 8px; }
.pr-trend .c { flex: 1; max-width: 72px; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.pr-trend .bars { flex: 1; width: 100%; display: flex; align-items: flex-end; gap: 4px; }
.pr-trend .bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--brand); } .pr-trend .bars i.n { background: #16A34A; }
.pr-trend span { font-size: 11px; color: var(--muted); white-space: nowrap; }
.pr-key { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 10px; } .pr-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; background: var(--brand); } .pr-key i.n { background: #16A34A; }

/* ===== 3.0 POS by role, cash drawer, gift cards, inventory ===== */
.fld { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; min-width: 0; }
.lbl { font-size: 13px; font-weight: 600; color: var(--fg-2); }
.fld.full, .form-grid .full { grid-column: 1 / -1; }
.posbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; padding: 8px 10px; background: var(--card, #fff); border: 1px solid var(--line); border-radius: 12px; }
.pb-role { --c: #2563EB; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); white-space: nowrap; }
.pb-role svg { width: 14px; height: 14px; }
.pb-stat { font-size: 13px; white-space: nowrap; }
.dr-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.dr-sum > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.dr-sum > div b { font-size: 17px; }
.dr-sum .hl { background: color-mix(in srgb, var(--brand) 8%, transparent); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.dr-sum .good b, .good { color: #16A34A; } .dr-sum .bad b, b.bad, .bad { color: var(--bad, #DC2626); } .dr-sum .warn b, .warn { color: #D97706; }
.dr-meth { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.dr-meth > div { display: flex; flex-direction: column; padding: 8px 10px; background: var(--bg-2, #F8FAFC); border-radius: 8px; }
.dr-count { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 12px 0; }
.dr-count label { display: flex; align-items: center; gap: 8px; } .dr-count label span { width: 58px; font-weight: 600; font-size: 13px; text-align: right; }
.dr-total { display: flex; align-items: baseline; gap: 12px; padding: 12px 14px; background: var(--bg-2, #F8FAFC); border-radius: 10px; margin-bottom: 12px; }
.dr-total b { font-size: 22px; }
.gcard { position: relative; overflow: hidden; aspect-ratio: 1.586; width: 100%; border-radius: 16px; padding: 6.5cqi 7cqi; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(15, 23, 42, .18); isolation: isolate; font-family: Inter, system-ui, sans-serif; }
.gwrap { container-type: inline-size; width: 100%; }
.gcard.sm { border-radius: 9px; box-shadow: none; }
.gcard > * { position: relative; }
.gcard::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .22; pointer-events: none; }
.gc-pat-dots::before { background-image: radial-gradient(var(--ac) 1.4px, transparent 1.6px); background-size: 14px 14px; }
.gc-pat-waves::before { background: repeating-radial-gradient(circle at 110% 120%, transparent 0 18px, var(--ac) 18px 20px); }
.gc-pat-circles::before { background: radial-gradient(circle at 88% 12%, var(--ac) 0 22%, transparent 22.5%), radial-gradient(circle at 70% 95%, var(--ac) 0 16%, transparent 16.5%); opacity: .28; }
.gc-pat-lines::before { background: repeating-linear-gradient(135deg, var(--ac) 0 1px, transparent 1px 12px); opacity: .3; }
.gc-pat-confetti::before { background-image: radial-gradient(var(--ac) 2px, transparent 2.5px), radial-gradient(#fff 1.5px, transparent 2px); background-size: 34px 30px, 22px 26px; background-position: 0 0, 11px 9px; opacity: .45; }
.gc-pat-snow::before { background-image: radial-gradient(#fff 1.6px, transparent 2px), radial-gradient(#fff 1px, transparent 1.4px); background-size: 26px 26px, 15px 17px; background-position: 0 0, 7px 9px; opacity: .38; }
.gc-top { display: flex; align-items: center; gap: 3cqi; }
.gc-logo { width: 11cqi; height: 11cqi; border-radius: 50%; display: grid; place-items: center; font-weight: 800; border: 2px solid; font-size: 5cqi; flex: none; }
.gc-co { font-weight: 700; letter-spacing: .02em; font-size: 5cqi; opacity: .95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-title { margin-top: auto; font-weight: 800; font-size: 9.5cqi; line-height: 1.05; letter-spacing: -.01em; text-shadow: 0 1px 8px rgba(0,0,0,.12); }
.gc-to { font-size: 4.3cqi; opacity: .92; margin-top: 1.5cqi; }
.gc-bot { display: flex; align-items: flex-end; justify-content: space-between; gap: 3cqi; margin-top: 3cqi; }
.gc-amt { font-weight: 800; font-size: 8.5cqi; line-height: 1; color: var(--ac); }
.gc-code { font-family: ui-monospace, Menlo, monospace; font-size: 3.8cqi; letter-spacing: .08em; opacity: .85; }
.gc-f-serif .gc-title, .gc-f-serif .gc-co { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; }
.gc-f-script .gc-title { font-family: 'Brush Script MT', 'Segoe Script', 'Snell Roundhand', cursive; font-weight: 400; font-style: italic; font-size: 11cqi; }
.gc-f-mono .gc-title, .gc-f-mono .gc-co { font-family: ui-monospace, Menlo, monospace; }
.gs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.gs-designs, .gdz-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.gs-d { display: block; width: 100%; min-width: 0; padding: 3px; border: 2px solid transparent; border-radius: 12px; background: none; cursor: pointer; }
.gs-d.on, .gs-d:hover { border-color: var(--brand); }
.gs-amts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.gs-msg { font-style: italic; text-align: center; color: var(--fg-2); margin: 10px 0 0; }
.gs-done { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-top: 14px; }
.gd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.gd { padding: 14px; }
.gdz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.gdz-prev h4 { margin: 14px 0 0; }
.gd-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.gd-col { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--fg-2); }
.gd-col input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 2px; background: none; cursor: pointer; }
.gpub { min-height: 100vh; background: linear-gradient(180deg, #F1F5F9, #E2E8F0); display: flex; justify-content: center; padding: 28px 16px; }
.gpub-in { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 16px; }
.gpub-hi { font-size: 20px; font-weight: 800; text-align: center; margin: 4px 0; color: #0F172A; }
.gpub-msg { font-style: italic; text-align: center; font-size: 16px; color: #334155; margin: 0; }
.gpub-card { padding: 16px; }
.gpub-bal { font-size: 30px; font-weight: 800; }
.gpub-code { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-top: 12px; }
.gpub-co { text-align: center; }
.inv-cell { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.inv-cov { display: inline-block; width: 70px; height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; vertical-align: middle; margin-right: 6px; }
.inv-cov i { display: block; height: 100%; } .inv-cov i.good { background: #16A34A; } .inv-cov i.warn { background: #F59E0B; } .inv-cov i.bad { background: #DC2626; }
.inv-cat { display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; align-items: center; padding: 8px 16px; font-size: 13px; }
.inv-bar { height: 8px; border-radius: 6px; background: var(--line); overflow: hidden; } .inv-bar i { display: block; height: 100%; background: var(--brand); border-radius: 6px; }
.pr-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pr-role { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pr-perms { display: grid; gap: 6px; } .pr-perms > div { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.pr-perms svg { width: 16px; height: 16px; }
.pr-toggles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px; margin-bottom: 12px; }
.pr-tg { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 13.5px; }
.pr-tg:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, transparent); }
@media (max-width: 760px) { .gs, .gdz { grid-template-columns: 1fr; } .gs-designs, .gdz-presets { grid-template-columns: repeat(3, 1fr); } .posbar .hide-sm { display: none; } }

/* ===== 3.0 Customer 360 & invoices ===== */
.cu-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.cu-segs { display: flex; gap: 6px; flex-wrap: wrap; }
.cu-segs button { border: 1px solid var(--line); background: var(--card, #fff); border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--fg-2); cursor: pointer; }
.cu-segs button span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.cu-segs button.on { background: var(--navy, #0B1B3F); color: #fff; border-color: transparent; } .cu-segs button.on span { color: rgba(255,255,255,.7); }
.cu-acts { display: flex; flex-direction: column; }
.cu-act { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.cu-act:first-child { border-top: 0; }
.cu-ai { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); flex: none; }
.cu-ai svg { width: 18px; height: 18px; }
.cu-chart { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding: 8px 16px 14px; }
.cu-chart .c { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.cu-chart .b { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.cu-chart .b i { width: 100%; border-radius: 5px 5px 2px 2px; background: var(--brand); min-height: 0; }
.cu-chart span { font-size: 11px; color: var(--muted); }
.cu-tl { display: flex; flex-direction: column; padding: 4px 0; max-height: 620px; overflow: auto; }
.cu-ev { display: flex; align-items: center; gap: 12px; padding: 10px 16px; color: inherit; text-decoration: none; position: relative; }
a.cu-ev:hover { background: var(--bg-2, #F8FAFC); }
.cu-ev::before { content: ''; position: absolute; left: 31px; top: 0; bottom: 0; width: 2px; background: var(--line); z-index: 0; }
.cu-ev:first-child::before { top: 50%; } .cu-ev:last-child::before { bottom: 50%; }
.cu-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--card, #fff); border: 2px solid var(--line); flex: none; position: relative; z-index: 1; color: var(--fg-2); }
.cu-dot svg { width: 15px; height: 15px; }
.k-sale .cu-dot, .k-payment .cu-dot { border-color: #16A34A; color: #16A34A; } .k-invoice .cu-dot, .k-quote .cu-dot { border-color: var(--brand); color: var(--brand); } .k-review .cu-dot, .k-loyalty .cu-dot, .k-gift .cu-dot { border-color: #F59E0B; color: #D97706; }
.cu-facts { display: grid; gap: 0; padding: 4px 16px 12px; }
.cu-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.cu-facts > div:last-child { border-bottom: 0; } .cu-facts span { color: var(--muted); } .cu-facts b { text-align: right; overflow-wrap: anywhere; }
.inv-aging { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 6px 16px 16px; }
.inv-aging > div { display: flex; flex-direction: column; gap: 4px; }
.inv-aging .bar { height: 8px; border-radius: 6px; background: var(--line); overflow: hidden; } .inv-aging .bar i { display: block; height: 100%; border-radius: 6px; }
.inv-aging i.good { background: #16A34A; } .inv-aging i.warn { background: #F59E0B; } .inv-aging i.bad { background: #DC2626; }
.invl-head, .invl { display: grid; grid-template-columns: minmax(0, 1fr) 80px 110px 44px 100px 36px; gap: 8px; align-items: center; }
.invl-head { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 0 2px 6px; }
.invl { margin-bottom: 8px; } .invl .lt { text-align: right; } .invl-tax { display: grid; place-items: center; }
.qacc { padding: 16px; border: 2px solid color-mix(in srgb, var(--brand) 40%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--brand) 5%, transparent); display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 760px) { .inv-aging { grid-template-columns: repeat(2, 1fr); } .invl-head { display: none; } .invl { grid-template-columns: 1fr 70px 90px; } .invl .lt, .invl-tax { display: none; } }

.cu-ev .grow, .cu-act .grow, .cu-card-list .grow { flex: 1; min-width: 0; }
.cu-card-list { padding: 4px 16px 10px; }

/* ===== 3.0 Banking, accountant portal, OENOD Pay links ===== */
.bk-in { color: var(--good); } .bk-out { color: var(--text); }
.bk-accts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin: 16px 0; }
.bk-acct.on { outline: 2px solid var(--brand); }
.bk-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); flex: none; }
.bk-bal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.bk-bal b { display: block; font-size: 20px; }
.bk-list { padding: 0; }
.bk-row { padding: 14px 16px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.bk-row:last-child { border-bottom: 0; }
.bk-l { display: flex; align-items: center; gap: 12px; }
.bk-l .grow { min-width: 0; } .bk-l .grow b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-date { width: 64px; flex: none; font-size: 12px; color: var(--muted); }
.bk-sug { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: 76px; }
.bk-sug select { max-width: 280px; flex: 1 1 200px; }
.bk-sug.match { background: color-mix(in srgb, var(--good) 9%, transparent); border: 1px solid color-mix(in srgb, var(--good) 30%, transparent); border-radius: 10px; padding: 8px 10px; }
.bk-sug.match .grow { min-width: 0; }
.bk-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--good); text-transform: uppercase; letter-spacing: .04em; }
.bk-tag svg { width: 14px; height: 14px; }
.bk-rem { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.bk-why { margin-left: 76px; display: flex; align-items: center; gap: 4px; } .bk-why svg { width: 13px; height: 13px; }
.bk-done { display: flex; align-items: center; gap: 10px; margin-left: 76px; font-size: 13px; }
.bk-done svg { width: 15px; height: 15px; vertical-align: -3px; }
.bk-row.excluded .bk-l { opacity: .55; }
.bk-empty { text-align: center; padding: 34px 20px; } .bk-empty p { max-width: 520px; margin: 6px auto 16px; }
.bk-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 26px 16px; border: 2px dashed var(--line); border-radius: 14px; cursor: pointer; }
.bk-drop:hover { border-color: var(--brand); } .bk-drop svg { width: 28px; height: 28px; color: var(--brand); }
.bk-how { display: flex; gap: 8px; margin-top: 12px; } .bk-how svg { width: 16px; height: 16px; flex: none; color: var(--brand); }
.bk-res { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.bk-res > div { text-align: center; padding: 12px 6px; border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 2px; justify-items: center; }
.bk-res b { font-size: 22px; } .bk-res svg { width: 18px; height: 18px; color: var(--brand); }
.bk-rec { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.bk-rec > div { border: 1px solid var(--line); border-radius: 12px; padding: 12px; } .bk-rec b { display: block; font-size: 18px; margin-top: 2px; }
.bk-rec .ok { border-color: var(--good); background: color-mix(in srgb, var(--good) 10%, transparent); } .bk-rec .ok b { color: var(--good); }
.bk-rec .off { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, transparent); }
@media (max-width: 700px) { .bk-sug, .bk-done, .bk-why { margin-left: 0; } .bk-res, .bk-rec { grid-template-columns: 1fr 1fr; } }

.ac-pub { min-height: 100vh; background: var(--bg); }
.ac-top { background: #0B1B3F; color: #fff; padding: 16px 0; }
.ac-in { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.ac-top .ac-in { display: flex; align-items: center; gap: 12px; }
.ac-top .small { opacity: .75; }
.ac-logo { width: 40px; height: 40px; border-radius: 10px; background: #fff; color: #0B1B3F; display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.ac-badge { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; padding: 6px 10px; border-radius: 99px; background: rgba(255,255,255,.12); }
.ac-badge svg { width: 14px; height: 14px; }
.ac-range { margin-top: 18px; gap: 10px; } .ac-range label { display: inline-flex; align-items: center; gap: 6px; } .ac-range .input { max-width: 160px; }
.ac-pub .tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.ac-pub .tab { padding: 10px 14px; white-space: nowrap; color: var(--muted); border-bottom: 2px solid transparent; text-decoration: none; }
.ac-pub .tab.on { color: var(--text); border-color: var(--brand); font-weight: 600; }
.ac-pub tr.jfirst td { border-top: 2px solid var(--line); } .ac-pub tr.tot td { border-top: 2px solid var(--text); }

.pay-bars { display: flex; align-items: flex-end; gap: 3px; height: 170px; padding-bottom: 18px; }
.pb-c { flex: 1; height: 100%; display: flex; align-items: flex-end; position: relative; min-width: 0; }
.pb-s { width: 100%; display: flex; flex-direction: column-reverse; border-radius: 4px 4px 0 0; overflow: hidden; min-height: 2px; background: var(--line); }
.pb-s i { display: block; min-height: 0; } .pb-s i.a, .lg-a { background: var(--brand); } .pb-s i.b { background: var(--warn); } .pb-s i.c, .lg-c { background: var(--good); }
.pb-c span { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-size: 10px; color: var(--muted); }
.lg-c { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 4px 0 10px; }
.pl-share { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: center; }
@media (max-width: 600px) { .pl-share { grid-template-columns: 1fr; } }
.ppub { min-height: 100vh; background: linear-gradient(160deg, #0B1B3F, #1E3A8A); padding: 40px 16px; }
.ppub-in { max-width: 460px; margin: 0 auto; }
.ppub-co { display: flex; align-items: center; gap: 10px; color: #fff; margin-bottom: 14px; font-size: 18px; }
.ppub-card { padding: 26px; display: grid; gap: 14px; }
.ppub-amt { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.ppub-in-amt { font-size: 24px; font-weight: 700; }
.ppub-methods { text-align: center; }
.ppub + p, .ppub-in > p { color: rgba(255,255,255,.75); margin-top: 14px; }
.ppub-in > p svg { width: 13px; height: 13px; vertical-align: -2px; }
.ppub-ok svg { width: 48px; height: 48px; color: var(--good); }

/* ===== 3.0 Projects & chat ===== */
.pj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.pj-card { text-decoration: none; color: inherit; border-top: 4px solid var(--pc); transition: transform .15s, box-shadow .15s; }
.pj-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15, 23, 42, .08); }
.pj-name { font-size: 16px; }
.pj-prog { margin-top: 12px; display: grid; gap: 5px; }
.pj-bar { height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; }
.pj-bar i { display: block; height: 100%; border-radius: 99px; background: var(--brand); transition: width .4s; }
.pj-bar.money i { background: var(--good); } .pj-bar.warn i { background: var(--warn); } .pj-bar.over i { background: var(--bad); }
.pj-stack { display: inline-flex; } .pj-stack > span { margin-left: -6px; border-radius: 50%; box-shadow: 0 0 0 2px var(--card, #fff); display: inline-flex; } .pj-stack > span:first-child { margin-left: 0; }
.pj-more { width: 28px; height: 28px; border-radius: 50%; background: var(--line); font-size: 11px; display: grid !important; place-items: center; font-weight: 700; }
.pj-flag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--bad); font-weight: 600; } .pj-flag svg { width: 14px; height: 14px; }
.pj-unread { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; background: var(--brand); color: #fff; padding: 2px 8px; border-radius: 99px; margin-left: 6px; } .pj-unread svg { width: 13px; height: 13px; }
.pj-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.bad-t { color: var(--bad); font-weight: 600; }
.pj-load { display: flex; align-items: center; gap: 10px; padding: 7px 0; } .pj-load .grow { display: grid; gap: 5px; }
.pj-feed { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; } .pj-feed:last-child { border-bottom: 0; } .pj-feed > svg { width: 16px; height: 16px; color: var(--brand); flex: none; margin-top: 2px; }
.pj-top { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: var(--card, #fff); border: 1px solid var(--line); border-left: 5px solid var(--pc); border-radius: 16px; padding: 16px 20px; margin-bottom: 16px; }
.pj-ring { width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(var(--pc) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; position: relative; }
.pj-ring::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--card, #fff); }
.pj-ring b, .pj-ring span { position: relative; } .pj-ring b { font-size: 22px; margin-top: 18px; } .pj-ring span { font-size: 11px; color: var(--muted); margin-top: -26px; }
.pj-facts { display: grid; gap: 8px; min-width: 0; } .pj-facts p { margin: 0; }
.pj-team { display: grid; gap: 6px; justify-items: end; }
@media (max-width: 760px) { .pj-top { grid-template-columns: auto 1fr; } .pj-team { grid-column: 1 / -1; justify-items: start; } }
.pj-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px 4px 4px; cursor: pointer; font-size: 13px; }
.pj-chip input { display: none; } .pj-chip:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent); font-weight: 600; }
.pj-k .row svg { width: 13px; height: 13px; vertical-align: -2px; }
.pj-cmts { display: grid; gap: 10px; margin-bottom: 10px; max-height: 320px; overflow: auto; }
.pj-cmt { display: flex; gap: 8px; } .pj-cmt > div { background: var(--bg); border-radius: 12px; padding: 8px 12px; flex: 1; }
.pj-ev { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; padding: 4px 0; } .pj-ev svg { width: 13px; height: 13px; flex: none; }
.pj-at { color: var(--brand); }
.pj-compose { display: flex; gap: 8px; align-items: flex-end; } .pj-compose textarea { resize: none; flex: 1; min-height: 42px; }
.pj-chat { display: flex; flex-direction: column; height: min(68vh, 640px); }
.pj-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pj-chat .pj-compose { border-top: 1px solid var(--line); padding: 12px; }
.pj-m { display: flex; gap: 8px; max-width: 78%; } .pj-m.me { align-self: flex-end; flex-direction: row-reverse; }
.pj-bub { background: var(--bg); border-radius: 14px 14px 14px 4px; padding: 8px 12px; } .pj-m.me .pj-bub { background: color-mix(in srgb, var(--brand) 12%, var(--card, #fff)); border-radius: 14px 14px 4px 14px; }
.pj-ttag { display: inline-flex; gap: 3px; align-items: center; font-size: 11px; background: var(--line); border-radius: 6px; padding: 1px 6px; } .pj-ttag svg { width: 11px; height: 11px; }
.pj-att { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; margin-top: 4px; } .pj-att svg { width: 13px; height: 13px; }
.pj-bud { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; } .pj-bud b { font-size: 26px; }
.pj-gantt { overflow-x: auto; }
.pg-head, .pg-row { display: grid; grid-template-columns: 220px 1fr; gap: 12px; align-items: center; min-width: 640px; }
.pg-row { padding: 6px 0; border-bottom: 1px dashed var(--line); cursor: pointer; } .pg-row:hover .pg-l { color: var(--brand); }
.pg-l { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-scale { position: relative; height: 22px; } .pg-scale span { position: absolute; font-size: 11px; color: var(--muted); white-space: nowrap; }
.pg-track { position: relative; height: 22px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 8 - 1px), var(--line) calc(100% / 8 - 1px) calc(100% / 8)); border-radius: 6px; }
.pg-bar { position: absolute; top: 4px; height: 14px; border-radius: 7px; background: var(--brand); min-width: 8px; }
.pg-bar.doing { background: #7C3AED; } .pg-bar.review { background: var(--warn); } .pg-bar.done { background: var(--good); opacity: .7; } .pg-bar.late { background: var(--bad); }
.pg-today { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--bad); }
.pg-ms { position: absolute; top: 3px; width: 14px; height: 14px; background: #0B1B3F; transform: translateX(-7px) rotate(45deg); border-radius: 2px; }

/* ===== 3.0 Maintenance & vendors ===== */
.mx-k.urgent { border-left: 4px solid var(--bad); }
.mx-k .row svg { width: 13px; height: 13px; vertical-align: -2px; }
.mx-visit { color: var(--good); margin-top: 6px; font-weight: 600; } .mx-visit svg { width: 13px; height: 13px; vertical-align: -2px; }
.mx-vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.mx-pref { color: #D97706; font-size: 12px; font-weight: 700; }
.mx-vstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0; text-align: center; }
.mx-vstats > div { background: var(--bg); border-radius: 10px; padding: 8px 4px; display: grid; } .mx-vstats b { font-size: 16px; } .mx-vstats span { font-size: 11px; color: var(--muted); }
.mx-stars { color: #F59E0B; letter-spacing: 1px; font-size: 13px; }
.mx-note { background: var(--bg); border-radius: 12px; padding: 10px 14px; margin: 10px 0; } .mx-note.v { background: color-mix(in srgb, var(--good) 10%, transparent); }
.mx-photo { max-width: 100%; max-height: 260px; border-radius: 12px; margin: 10px 0; display: block; object-fit: cover; }
.mx-disp { margin-top: 14px; } .mx-disp h4 svg { width: 15px; height: 15px; vertical-align: -2px; }
.mx-rate button { background: none; border: 0; font-size: 24px; color: var(--line); cursor: pointer; padding: 0 2px; } .mx-rate button.on { color: #F59E0B; }
.mx-step { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 10px; } .mx-step h4 { margin: 0; }

/* ---------- 3.0 marketing builder ---------- */
.ai-brief.mk-ai .card-b, .ai-brief.rv-ai .card-b { white-space: normal; }
.mk-ai-i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.12); flex: 0 0 auto; }
.card:not(.ai-brief) .mk-ai-i { background: var(--surface-3); color: var(--muted); }
.card:not(.ai-brief) .mk-ai-i.on { background: var(--good-soft); color: var(--good); }
.mk-ai-i .ic, .mk-ai-i svg { width: 19px; height: 19px; }
.mk-ai.big { box-shadow: 0 18px 40px -22px rgba(34,82,209,.8); }
.mk-ai .input { background: #fff; color: #0b1220; }
.mk-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 2px rgba(0,0,0,.08); }
.mk-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.mk-sw { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.mk-build { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 18px; align-items: start; padding-bottom: 80px; }
.mk-left { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mk-sticky { position: sticky; top: 16px; }
.mk-inbox { background: var(--surface); border: 1px solid var(--line); border-radius: 12px 12px 0 0; padding: 10px 14px; border-bottom: 0; }
.mk-from { font-weight: 700; font-size: 13px; }
.mk-subj { font-size: 13px; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-frame-wrap { border: 1px solid var(--line); border-radius: 0 0 12px 12px; overflow: hidden; background: #f2f4f7; transition: padding .2s; }
.mk-frame-wrap.mobile { padding: 0 calc(50% - 190px); }
.mk-frame { width: 100%; height: min(72vh, 760px); border: 0; display: block; background: #f2f4f7; }
.mk-color { width: 54px; height: 38px; padding: 3px; }
.mk-ideas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mk-idea { border: 1px solid var(--line); background: var(--surface-2); border-radius: 999px; padding: 5px 11px; font: 500 12.5px var(--f); cursor: pointer; color: var(--fg); }
.mk-idea:hover { border-color: var(--brand); color: var(--brand); }
.mk-block { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: var(--surface); transition: box-shadow .15s; }
.mk-block:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.mk-bh { display: flex; align-items: center; gap: 6px; padding: 8px 10px 8px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); border-radius: 12px 12px 0 0; font-size: 13px; }
.mk-bh .ic, .mk-bh > svg { width: 16px; height: 16px; color: var(--brand); }
.mk-bb { padding: 12px; }
.mk-bb .form-grid { gap: 8px; }
.iconbtn.sm { width: 28px; height: 28px; font-weight: 700; }
.iconbtn.sm svg { width: 14px; height: 14px; }
.iconbtn[disabled] { opacity: .35; pointer-events: none; }
.input.sm { height: 32px; padding: 4px 8px; font-size: 13px; width: auto; }
.mk-noblocks { display: flex; gap: 10px; align-items: center; padding: 18px; border: 1.5px dashed var(--line-2, var(--line)); border-radius: 12px; color: var(--muted); margin-bottom: 10px; }
.mk-add { margin-top: 6px; }
.mk-add-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 6px; }
.mk-addb { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; font: 600 12px var(--f); color: var(--fg-2, var(--fg)); }
.mk-addb:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.mk-addb svg { width: 18px; height: 18px; }
.mk-prods { max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.mk-prod { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-bottom: 1px solid var(--line); font-size: 13px; cursor: pointer; }
.mk-prod:last-child { border-bottom: 0; }
.mk-thumb { display: block; max-width: 160px; max-height: 100px; border-radius: 8px; margin-top: 8px; object-fit: cover; }
.mk-bar { position: fixed; left: var(--side-w, 0); right: 0; bottom: 0; z-index: 30; display: flex; gap: 8px; align-items: center; padding: 12px 24px calc(12px + var(--safe-b, 0px)); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.mk-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.mk-tpl { text-decoration: none; color: inherit; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.mk-tpl:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(15,23,42,.25); }
.mk-tpl-art { height: 130px; background: linear-gradient(160deg, var(--bc, #2252d1), color-mix(in srgb, var(--bc, #2252d1) 55%, #0b1b3f)); display: flex; align-items: center; justify-content: center; gap: 16px; color: #fff; }
.mk-tpl.blank .mk-tpl-art { background: var(--surface-3); color: var(--muted); }
.mk-tpl-art > svg { width: 30px; height: 30px; }
.mk-tpl-lines { width: 92px; background: #fff; border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 5px; box-shadow: 0 10px 20px -10px rgba(0,0,0,.4); }
.mk-tpl-lines i { height: 5px; border-radius: 3px; background: #d0d5dd; } .mk-tpl-lines i.s { width: 60%; }
.mk-tpl-lines b { height: 12px; width: 50%; border-radius: 4px; background: var(--bc, #2252d1); margin-top: 3px; }
.mk-empty { width: 64px; height: 64px; border-radius: 18px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 12px; }
.mk-empty svg { width: 28px; height: 28px; }
.mk-rep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 18px; align-items: start; }
.mk-fun { display: grid; grid-template-columns: 80px 1fr 60px; gap: 10px; align-items: center; margin: 8px 0; font-size: 13px; }
.mk-fun b { text-align: right; }
.mk-funbar { height: 12px; background: var(--surface-3); border-radius: 6px; overflow: hidden; }
.mk-funbar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--brand), #6b4fd8); }
.mk-url { max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-hours { display: flex; align-items: flex-end; gap: 3px; height: 90px; }
.mk-hours i { flex: 1; background: var(--brand); border-radius: 3px 3px 0 0; opacity: .85; min-height: 3px; }
@media (max-width: 1100px) { .mk-build, .mk-rep { grid-template-columns: 1fr; } .mk-sticky { position: static; } .mk-frame { height: 560px; } }
@media (max-width: 760px) { .mk-bar { left: 0; padding: 10px 12px calc(10px + var(--safe-b, 0px)); bottom: var(--tab-h, 0px); flex-wrap: wrap; } .mk-bar .grow { display: none; } .mk-bar .btn { flex: 1; } .mk-frame-wrap.mobile { padding: 0; } .mk-build { padding-bottom: 150px; } }

/* ---------- 3.0 reviews ---------- */
.rv-top { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 14px; align-items: start; }
.rv-bar { display: grid; grid-template-columns: 28px 1fr 28px; gap: 8px; align-items: center; margin: 6px 0; font-size: 13px; }
.rv-bar div { height: 10px; background: var(--surface-3); border-radius: 5px; overflow: hidden; }
.rv-bar i { display: block; height: 100%; background: #f5b301; border-radius: 5px; }
.rv-bar i.warn { background: #f79009; } .rv-bar i.bad { background: var(--bad); }
.rv-bar b { text-align: right; }
.rv-src { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rv-theme { margin-bottom: 10px; }
.rv-split { display: flex; height: 9px; border-radius: 5px; overflow: hidden; background: var(--surface-3); margin-top: 4px; gap: 2px; }
.rv-split i { display: block; min-width: 0; } .rv-p { background: var(--good); } .rv-m { background: #f5b301; } .rv-n { background: var(--bad); }
.rv-legend { display: flex; gap: 14px; margin-top: 4px; } .rv-legend span { display: inline-flex; align-items: center; gap: 5px; } .rv-legend em { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.mk-hl { display: flex; justify-content: space-between; margin-top: 4px; }
.rv-trend { display: flex; gap: 8px; align-items: flex-end; height: 130px; }
.rv-trend > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 3px; }
.rv-trend i { width: 100%; max-width: 34px; background: linear-gradient(180deg, #f5b301, #f79009); border-radius: 6px 6px 2px 2px; }
.rv-req { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.rv-req > div { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; }
.rv-req b { font-size: 20px; }
.rv-ins:not(:empty) { margin-top: 12px; padding: 14px; background: rgba(255,255,255,.08); border-radius: 10px; line-height: 1.6; font-size: 14px; }
.rv-card.hot { border-left: 4px solid var(--bad); }
.rv-text { margin: 10px 0 6px; line-height: 1.6; }
.rv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.rv-chips span { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-3); color: var(--fg-2, var(--fg)); }
.rv-reply { margin-top: 10px; padding: 12px 14px; background: var(--surface-2); border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0; display: flex; flex-direction: column; gap: 4px; }
.rv-compose { margin-top: 12px; }
.rv-compose textarea { margin-top: 6px; }
@media (max-width: 1000px) { .rv-top { grid-template-columns: 1fr; } }
.mk-ai [data-goal] { flex: 1 1 100%; } .mk-ai [data-tone] { flex: 1; }

/* ===== 3.0 OENOD Phone, billing, add-ons, help center ===== */
.ph-why { margin-bottom: 18px; }
.ph-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.ph-plan { position: relative; }
.ph-plan .card-b { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.ph-plan.pop { position: relative; z-index: auto; } /* 3.8.16: old cached pages used the menu class "pop" here */
.ph-plan.ph-pop { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }
.ph-plan.mine { border-color: var(--good); }
.ph-badge { position: absolute; top: -10px; right: 14px; background: var(--brand); color: #fff; font: 700 11px var(--f); padding: 3px 9px; border-radius: 99px; letter-spacing: .02em; }
.ph-name { font-size: 15px; }
.ph-price { font: 800 32px var(--f); letter-spacing: -.02em; }
.ph-price span { font: 500 13px var(--f); color: var(--muted); margin-left: 4px; }
.ph-plan ul { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 6px; flex: 1; }
.ph-plan li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; }
.ph-plan li svg { width: 15px; height: 15px; color: var(--good); flex: none; margin-top: 2px; }
.ph-plan .btn { width: 100%; justify-content: center; }
.ph-h { margin: 26px 0 12px; font-size: 17px; }
.ph-num { align-items: center; }
.ph-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); color: var(--muted); flex: none; }
.ph-ic.active { background: var(--good-soft); color: var(--good); }
.ph-ic svg { width: 17px; height: 17px; }
.ph-sum { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 10px; background: var(--surface-3); margin-bottom: 12px; }
.ph-found { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; }
.ph-pickn { display: flex; flex-direction: column; text-align: left; gap: 2px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; font: inherit; color: var(--fg); }
.ph-pickn.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.bl-top { display: flex; gap: 16px; align-items: stretch; flex-wrap: wrap; }
.bl-total { flex: 0 0 280px; background: linear-gradient(150deg, #0b1b3f, #13306b); color: #fff; border: 0; }
.bl-total .muted { color: rgba(255,255,255,.72) !important; }
.bl-big { font: 800 40px var(--f); letter-spacing: -.02em; margin: 6px 0; }
.fee-chip { display: inline-block; margin-top: 8px; font: 700 11px var(--f); padding: 2px 8px; border-radius: 99px; background: var(--warn-soft, #fff4e0); color: var(--warn, #9a5b00); }
.fee-chip.free { background: var(--good-soft); color: var(--good); }
.hq-port { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; padding: 8px 10px; background: var(--surface-3); border-radius: 8px; }
.hq-plan { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.hq-fees { display: grid; gap: 6px; max-height: 520px; overflow: auto; }
.hq-fees label { align-items: center; font-size: 13.5px; }
.hd-row { display: flex; gap: 12px; width: 100%; text-align: left; padding: 12px 16px; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; font: inherit; color: var(--fg); }
.hd-row:last-child { border-bottom: 0; }
.hd-row:hover { background: var(--surface-2, var(--surface-3)); }
.hd-snip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.hd-meta { margin-bottom: 12px; }
.hd-thread { display: flex; flex-direction: column; gap: 10px; max-height: 46vh; overflow: auto; padding: 4px 2px; }
.hd-thread.pub { max-height: none; margin-top: 14px; }
.hd-msg { max-width: 88%; padding: 10px 13px; border-radius: 12px; background: var(--surface-3); align-self: flex-start; line-height: 1.5; font-size: 14px; }
.hd-msg.me { align-self: flex-end; background: color-mix(in srgb, var(--brand) 10%, var(--surface)); }
.hd-msg.note { background: #fff7d6; border: 1px dashed #e0c25a; color: #4a3b00; }
.hd-msg .muted { margin-bottom: 3px; }
.hd-sug { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0 4px; }
.hd-compose { margin-top: 12px; }
.public.hc { --hc: #0b1b3f; min-height: 100vh; background: var(--bg); color: var(--fg); display: block; padding: 0; align-items: stretch; }
.hc-wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.hc-top { border-bottom: 1px solid var(--line); background: var(--surface); }
.hc-top .hc-wrap { height: 60px; align-items: center; }
.hc-brand { font: 800 17px var(--f); color: var(--fg); text-decoration: none; }
.hc-hero { background: var(--hc); color: #fff; padding: 52px 0 44px; text-align: center; }
.hc-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin: 0 0 8px; }
.hc-hero p { color: rgba(255,255,255,.8); margin: 0 0 22px; }
.hc-search { display: flex; gap: 8px; max-width: 620px; margin: 0 auto; }
.hc-search .input { flex: 1; height: 48px; font-size: 16px; border: 0; }
.hc-search .btn { height: 48px; }
.hc-ai { max-width: 620px; margin: 14px auto 0; text-align: left; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 12px 14px; }
.hc-ai p { margin: 6px 0 0; color: #fff; }
.hc-body { padding-top: 26px; padding-bottom: 40px; display: grid; gap: 16px; }
.hc-pop { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.hc-pop a { padding: 7px 13px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--fg); font-size: 13.5px; text-decoration: none; }
.hc-pop a:hover { border-color: var(--hc); }
.hc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.hc-grid h3 { margin: 0 0 8px; font-size: 15px; }
.hc-row { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--fg); text-decoration: none; }
.hc-row:last-child { border-bottom: 0; }
.hc-row:hover b { color: var(--hc); text-decoration: underline; }
.hc-row b { font-weight: 600; }
.hc-art h1 { font-size: clamp(22px, 3vw, 30px); margin: 6px 0 16px; }
.hc-md { line-height: 1.7; font-size: 15.5px; }
.hc-vote { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.hc-rate { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--surface-3); }
.hc-rate .btn { color: #d99a00; }
.hc-foot { text-align: center; padding: 20px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 640px) { .bl-total { flex: 1 1 100%; } .hc-search { flex-direction: column; } .hd-msg { max-width: 96%; } }

/* ===== 3.0 Card designs ===== */
.bcard .bmono, .bcard .bdeco { display: none; }
.bcard[class*=" l-"]:not(.l-classic) { color: var(--ink); }
.bcard.l-split, .bcard.l-minimal, .bcard.l-bold, .bcard.l-stripe, .bcard.l-center, .bcard.l-mono { background: var(--c1); }
.bcard.l-split::before, .bcard.l-minimal::before, .bcard.l-bold::before, .bcard.l-mono::before, .bcard.l-center::before { display: none; }
.bcard.l-split .bdeco { display: block; position: absolute; top: 0; right: 0; bottom: 0; width: 36%; background: var(--c2); border-left: 3px solid var(--acc); }
.bcard.l-split .bm { color: var(--acc); }
.bcard.l-split .bh { color: var(--acc); font-weight: 600; }
.bcard.l-minimal { box-shadow: 0 24px 50px -24px rgba(40,30,10,.35); border: 1px solid rgba(0,0,0,.06); }
.bcard.l-minimal .bn { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 24px; letter-spacing: 0; }
.bcard.l-minimal .bh { color: var(--acc); text-transform: uppercase; letter-spacing: .14em; font-size: 10.5px; font-weight: 700; margin-top: 6px; }
.bcard.l-minimal .bm { color: var(--acc); opacity: 1; }
.bcard.l-stripe .bdeco { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: var(--acc); }
.bcard.l-stripe::before { background: radial-gradient(circle, rgba(255,255,255,.12), transparent 65%); }
.bcard.l-stripe .bh { color: var(--acc); }
.bcard.l-center { align-items: center; text-align: center; background: linear-gradient(160deg, var(--c1), var(--c2)); }
.bcard.l-center .bmono { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--acc); color: var(--acc); font: 700 15px var(--f); letter-spacing: .04em; margin: 2px auto 8px; flex: none; }
.bcard.l-center .bm { left: 22px; right: auto; }
.bcard.l-center .bc { max-width: 60%; }
.bcard.l-center .bqr { width: 64px; height: 64px; right: 16px; bottom: 16px; }
.bcard.l-bold .bn { font-size: 32px; font-weight: 800; letter-spacing: -.045em; line-height: 1.02; max-width: 75%; }
.bcard.l-bold .bh { color: var(--acc); font-weight: 600; margin-top: 6px; }
.bcard.l-bold .bm { color: var(--acc); }
.bcard.l-glass::before { width: 320px; height: 320px; right: -90px; top: -140px; background: radial-gradient(circle, var(--acc), transparent 62%); opacity: .55; }
.bcard.l-glass::after { content: ""; position: absolute; width: 240px; height: 240px; left: -80px; bottom: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 65%); }
.bcard.l-glass .bqr { background: rgba(255,255,255,.92); }
.bcard.l-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; border: 1px solid rgba(52,211,153,.25); }
.bcard.l-mono .bn { font-size: 19px; color: var(--ink); }
.bcard.l-mono .bn::before { content: "> "; color: var(--acc); }
.bcard.l-mono .bh { color: var(--acc); }
.bcard.l-mono .bh::after { content: "_"; animation: blink 1.1s steps(1) infinite; margin-left: 2px; }
.bcard.l-mono .bm { color: var(--acc); }
@keyframes blink { 50% { opacity: 0; } }
.bcard[class*=" l-"]:not(.l-classic) .bh, .bcard[class*=" l-"]:not(.l-classic) .bc { position: relative; }
.bcard[class*=" l-"]:not(.l-classic) .bc { color: var(--sub); }
.cd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.cd-opt { border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; padding: 6px; cursor: pointer; text-align: left; font: 600 12.5px var(--f); color: var(--fg); position: relative; }
.cd-opt:hover { border-color: var(--line-2); }
.cd-opt.on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.cd-opt.rec::after { content: "For you"; position: absolute; top: -8px; left: 8px; background: var(--brand); color: #fff; font: 700 10px var(--f); padding: 2px 7px; border-radius: 99px; }
.cd-opt > span { display: block; padding: 6px 2px 0; }
.cd-mini, .rt-mini, .rt-now { overflow: hidden; border-radius: 8px; position: relative; }
.cd-mini > *, .rt-mini > *, .rt-now > * { transform-origin: top left; }
.cd-mini .bcard { width: 420px; max-width: none; box-shadow: none; }
.lock { font: 800 9.5px var(--f); letter-spacing: .06em; color: #8a6100; background: #FFF4D6; padding: 1px 5px; border-radius: 4px; font-style: normal; }

/* ===== 3.0 Resume templates ===== */
.rt-cur { display: flex; gap: 14px; align-items: flex-start; }
.rt-now { width: 104px; flex: none; border: 1px solid var(--line); }
.rt-now .sheet, .rt-mini .sheet { box-shadow: none; margin: 0; }
.rt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; max-height: 68vh; overflow: auto; padding: 4px; }
.rt-opt { border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); padding: 8px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; text-align: left; font: 13px var(--f); color: var(--fg); }
.rt-opt:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.rt-opt.on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.rt-mini { border: 1px solid var(--line); }
.rv-score { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.rv-score .ring { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.rv-score .ring > div { width: 72px; height: 72px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; align-content: center; }
.rv-score .ring b { font: 800 26px var(--f); line-height: 1; } .rv-score .ring span { font-size: 11px; color: var(--muted); }
.rv-checks { display: grid; gap: 2px; }
.rv-check { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rv-check .ic { color: var(--warn, #d97706); } .rv-check.ok .ic { color: var(--good); }
.rv-check .ic svg { width: 16px; height: 16px; }
/* fonts */
.sheet.f-serif, .sheet.f-serif h1 { font-family: Georgia, "Times New Roman", serif; }
.sheet.f-mono, .sheet.f-mono h1 { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.sheet.f-round, .sheet.f-round h1 { font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, sans-serif; }
.sheet.f-sans, .sheet.f-sans h1 { font-family: var(--f); }
.sheet .mono { display: none; }
/* structures */
.sheet.s-sidebar { padding: 0; display: grid; grid-template-columns: 250px 1fr; }
.sheet.s-sidebar .sb { background: #0B1B3F; color: #DCE4FF; padding: 48px 26px; }
.sheet.s-sidebar .sb h1 { color: #fff; font-size: 25px; } .sheet.s-sidebar .sb .hl { color: #9DB5F3; }
.sheet.s-sidebar .sb h2 { color: #9DB5F3; } .sheet.s-sidebar .sb .ct { color: #C9D3EA; flex-direction: column; }
.sheet.s-sidebar .sb .sk span { background: rgba(255,255,255,.1); color: #fff; }
.sheet.s-sidebar .sb .it .r1 { color: #fff; } .sheet.s-sidebar .sb .it .r2 { color: #C9D3EA; }
.sheet.s-sidebar .mn { padding: 48px 36px; }
.sheet.s-sidebar-r { padding: 0; display: grid; grid-template-columns: 1fr 230px; }
.sheet.s-sidebar-r .mn { padding: 50px 34px 50px 52px; }
.sheet.s-sidebar-r .sb { background: color-mix(in srgb, var(--acc) 7%, #fff); padding: 50px 24px; border-left: 1px solid color-mix(in srgb, var(--acc) 18%, #fff); }
.sheet.s-sidebar-r .sb h2:first-child { margin-top: 0; }
.sheet.s-header { padding: 0; }
.sheet.s-header .hd { background: var(--acc); color: #fff; padding: 44px 56px 32px; display: flex; gap: 20px; align-items: center; }
.sheet.s-header .hd h1 { color: #fff; } .sheet.s-header .hd .hl, .sheet.s-header .hd .ct { color: rgba(255,255,255,.85); }
.sheet.s-header .bd { padding: 24px 56px 56px; }
.sheet.s-twocol .cols { display: grid; grid-template-columns: 1fr 210px; gap: 30px; }
.sheet.s-twocol .sd h2 { margin-top: 22px; }
.sheet.s-center .rtop { text-align: center; padding-bottom: 14px; border-bottom: 1px solid #E5E7EB; margin-bottom: 4px; }
.sheet.s-center .rtop .ct { justify-content: center; }
.sheet.s-center .sum { text-align: left; }
.sheet.s-timeline .it { position: relative; padding-left: 20px; border-left: 2px solid color-mix(in srgb, var(--acc) 30%, #fff); margin-left: 5px; padding-bottom: 6px; margin-bottom: 6px; }
.sheet.s-timeline .it::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2.5px solid var(--acc); }
/* template looks */
.sheet.modern .sb { background: #0B1B3F; }
.sheet.minimal h2 { color: #6B7280; letter-spacing: .2em; } .sheet.minimal .hl { color: #374151; }
.sheet.clean h1 { font-size: 32px; } .sheet.clean h2 { color: #0B1220; border-bottom: 2px solid var(--acc); padding-bottom: 3px; display: inline-block; }
.sheet.clean .rtop { border-bottom: 1px solid #E5E7EB; padding-bottom: 6px; margin-bottom: 4px; }
.sheet.simple h1 { font-weight: 700; letter-spacing: -.01em; } .sheet.simple h2 { color: #111827; letter-spacing: .1em; }
.sheet.student { border-left: 8px solid var(--acc); } .sheet.student h1 { color: var(--acc); }
.sheet.timeline h2 { color: #0B1220; } .sheet.timeline h1 { color: var(--acc); }
.sheet.fresh h1 { color: var(--acc); font-size: 32px; } .sheet.fresh .sb .sk span { background: #fff; border: 1px solid color-mix(in srgb, var(--acc) 25%, #fff); }
.sheet.executive { border-top: 10px solid var(--acc); }
.sheet.executive:not(.f-sans):not(.f-mono):not(.f-round) h1 { font-family: Georgia, "Times New Roman", serif; }
.sheet.executive h1 { font-weight: 700; letter-spacing: -.01em; font-size: 34px; }
.sheet.executive h2 { color: #0B1220; border-bottom: 1.5px solid #0B1220; padding-bottom: 4px; }
.sheet.compact { padding: 40px 44px; font-size: 12px; } .sheet.compact h2 { margin-top: 14px; }
.sheet.creative .hd { background: linear-gradient(135deg, var(--acc), #6B4FD8); }
.sheet.elegant:not(.f-sans):not(.f-mono):not(.f-round), .sheet.elegant:not(.f-sans):not(.f-mono):not(.f-round) h1 { font-family: Georgia, "Times New Roman", serif; }
.sheet.elegant h1 { font-weight: 400; font-size: 36px; letter-spacing: .02em; } .sheet.elegant .hl { color: #A8834B; letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }
.sheet.elegant h2 { color: #A8834B; text-align: center; letter-spacing: .3em; } .sheet.elegant .rtop { border-bottom-color: #E8DCC4; }
.sheet.bold .hd { background: #0B1220; padding: 54px 56px 38px; } .sheet.bold .hd h1 { font-size: 44px; letter-spacing: -.05em; line-height: 1; }
.sheet.bold .hd .hl { color: var(--acc); filter: brightness(1.6); font-weight: 700; } .sheet.bold h2 { color: #0B1220; font-size: 13px; }
.sheet.bold h2::before { content: ""; display: inline-block; width: 18px; height: 4px; background: var(--acc); margin-right: 8px; vertical-align: middle; }
.sheet.tech .sb { background: #0D1117; color: #C9D1D9; }
.sheet.tech .sb h1 { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 22px; } .sheet.tech .sb .hl, .sheet.tech .sb h2 { color: #3FB950; }
.sheet.tech h2 { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; } .sheet.tech .mn h2 { color: #1F883D; } .sheet.tech .mn h2::before { content: "// "; opacity: .6; }
.sheet.tech .sk span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.sheet.corporate { border-top: 14px solid #0B1B3F; } .sheet.corporate h1 { color: #0B1B3F; } .sheet.corporate h2 { background: #F2F4F7; color: #0B1B3F; padding: 4px 8px; border-radius: 3px; }
.sheet.designer .mn h1 { font-size: 40px; letter-spacing: -.04em; line-height: 1.05; } .sheet.designer .mn h1::after { content: "."; color: var(--acc); }
.sheet.designer .sb { background: var(--acc); color: #fff; border: 0; } .sheet.designer .sb h2 { color: rgba(255,255,255,.75); }
.sheet.designer .sb .sk span { background: rgba(255,255,255,.18); color: #fff; } .sheet.designer .sb .it .r1 { color: #fff; } .sheet.designer .sb .it .r2 { color: rgba(255,255,255,.8); }
.sheet.startup .hd { background: linear-gradient(120deg, var(--acc), color-mix(in srgb, var(--acc) 55%, #14B8A6)); border-radius: 0 0 28px 28px; }
.sheet.startup .sk span { border-radius: 99px; background: color-mix(in srgb, var(--acc) 10%, #fff); color: var(--acc); font-weight: 600; }
.sheet.monogram .mono, .sheet.banner .mono { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font: 700 22px Georgia, serif; flex: none; }
.sheet.monogram .mono { margin: 0 auto 12px; border: 2px solid var(--acc); color: var(--acc); }
.sheet.monogram h2 { text-align: center; } .sheet.monogram h2::before, .sheet.monogram h2::after { content: "—"; margin: 0 8px; opacity: .5; }
.sheet.banner .hd { background: #0B1B3F; } .sheet.banner .mono { background: var(--acc); color: #fff; width: 76px; height: 76px; font-size: 26px; }
.sheet.banner h2 { color: #0B1B3F; border-left: 4px solid var(--acc); padding-left: 8px; }
.sheet.nordic { padding: 64px 70px; } .sheet.nordic h1 { font-weight: 300; font-size: 36px; letter-spacing: -.02em; } .sheet.nordic .hl { color: #6B7280; font-weight: 400; }
.sheet.nordic h2 { color: #111827; font-weight: 600; letter-spacing: .08em; } .sheet.nordic .it::before { border-color: #9CA3AF; } .sheet.nordic .it { border-left-color: #E5E7EB; }
.bcard .bn, .bcard .bh, .bcard .bc { position: relative; z-index: 1; }
.bcard .bqr, .bcard .bm { z-index: 1; }

/* ===== 3.0 OENOD Autopilot ===== */
.ap-hero { display: grid; grid-template-columns: 1fr 340px; gap: 22px; background: linear-gradient(135deg, #0B1B3F, #142B66 60%, #1E3A8A); color: #fff; border-radius: 20px; padding: 30px; margin-bottom: 18px; position: relative; overflow: hidden; }
.ap-hero::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(124,158,255,.35), transparent 65%); pointer-events: none; }
.ap-hero .eyebrow { font: 700 11.5px var(--f); letter-spacing: .16em; color: #9DB5F3; display: flex; gap: 6px; align-items: center; }
.ap-hero .eyebrow svg { width: 14px; height: 14px; }
.ap-hero h1 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin: 8px 0 6px; letter-spacing: -.02em; }
.ap-hero p { color: rgba(255,255,255,.78); margin: 0 0 16px; max-width: 620px; }
.ap-ask { display: flex; gap: 8px; max-width: 620px; position: relative; z-index: 1; }
.ap-ask .input { flex: 1; height: 46px; border: 0; font-size: 15px; }
.ap-ask .btn { height: 46px; }
.ap-ideas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; position: relative; z-index: 1; }
.ap-ideas button { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; border-radius: 99px; padding: 5px 12px; font: 500 12.5px var(--f); cursor: pointer; }
.ap-ideas button:hover { background: rgba(255,255,255,.2); }
.ap-score { display: flex; gap: 16px; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 18px; align-self: center; position: relative; z-index: 1; }
.ap-lvl { position: relative; width: 84px; height: 84px; flex: none; }
.ap-lvl svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ap-lvl circle { fill: none; stroke-width: 3.2; } .ap-lvl .bg { stroke: rgba(255,255,255,.15); } .ap-lvl .fg { stroke: #FBBF24; stroke-linecap: round; }
.ap-lvl > div { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; }
.ap-lvl b { font: 800 26px var(--f); line-height: 1; } .ap-lvl span { font-size: 10.5px; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .1em; }
.ap-lname { font-size: 18px; } .ap-score .small { color: rgba(255,255,255,.75); }
.ap-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12.5px; color: rgba(255,255,255,.85); }
.ap-stats span { display: inline-flex; gap: 5px; align-items: center; } .ap-stats svg { width: 13px; height: 13px; color: #FBBF24; }
.ap-h { display: flex; gap: 8px; align-items: center; font-size: 16px; margin: 6px 0 10px; }
.ap-ready { display: grid; gap: 10px; margin-bottom: 18px; }
.ap-run { display: flex; gap: 12px; align-items: center; padding: 14px 16px; text-align: left; cursor: pointer; font: inherit; color: var(--fg); border-left: 4px solid var(--brand); }
.ap-run:hover { box-shadow: var(--shadow); }
.ap-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.ap-ic svg { width: 18px; height: 18px; } .ap-ic.sm { width: 30px; height: 30px; border-radius: 9px; } .ap-ic.sm svg { width: 15px; height: 15px; }
.ap-pts { font: 800 12px var(--f); color: #92400E; background: #FEF3C7; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.ap-pts.on { background: rgba(255,255,255,.22); color: #fff; margin-left: 4px; } .ap-pts.got { background: var(--good-soft); color: var(--good); }
.ap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ap-task .card-b { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.ap-task p { flex: 1; margin: 0; }
.ap-trow { gap: 6px; flex-wrap: wrap; } .ap-trow select { width: auto; }
.ap-say { display: flex; gap: 12px; align-items: flex-start; background: linear-gradient(135deg, var(--brand-soft), color-mix(in srgb, #8B5CF6 10%, var(--surface))); border-radius: 14px; padding: 14px; }
.ap-say p { margin: 0; line-height: 1.55; }
.ap-items { display: grid; gap: 8px; }
.ap-item { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.ap-item.warn { border-color: color-mix(in srgb, #F59E0B 45%, var(--line)); background: color-mix(in srgb, #F59E0B 5%, var(--surface)); }
.ap-item.off { opacity: .55; }
.ap-item input[type=checkbox] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.ap-item textarea { margin-top: 8px; font-size: 13.5px; }
.ap-draft { margin-top: 6px; padding: 8px 10px; background: var(--surface-3); border-radius: 8px; white-space: pre-wrap; }
.warn-t { color: #B45309; } .good-t { color: var(--good); } .bad-t { color: var(--bad); }
.ap-rw { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ap-rw:last-child { border-bottom: 0; } .ap-rw .meter { margin-top: 6px; }
.ap-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.ap-badge { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 12px 6px; border-radius: 12px; background: var(--surface-3); color: var(--muted); font-size: 12px; filter: grayscale(1); opacity: .6; }
.ap-badge span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); }
.ap-badge.won { filter: none; opacity: 1; color: var(--fg); background: linear-gradient(160deg, #FEF3C7, #FDE68A55); }
.ap-badge.won span { background: linear-gradient(135deg, #F59E0B, #FBBF24); color: #fff; box-shadow: 0 6px 14px -6px #F59E0B; }
.ap-how { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.ap-how > div { display: grid; grid-template-columns: 22px 1fr; gap: 2px 8px; } .ap-how svg { color: var(--brand); grid-row: span 2; } .ap-how span { color: var(--muted); font-size: 13px; }
.ap-nudge { display: flex; gap: 12px; align-items: center; padding: 12px 16px; margin: 0 0 16px; text-decoration: none; color: var(--fg); border-left: 4px solid #F59E0B; }
.ap-nudge:hover { box-shadow: var(--shadow); }
.ap-win { position: fixed; inset: 0; display: grid; place-items: center; z-index: 9999; pointer-events: none; }
.ap-win-b { background: var(--surface); border-radius: 20px; padding: 22px 28px; box-shadow: 0 30px 80px -20px rgba(11,27,63,.45); text-align: center; display: grid; gap: 4px; animation: apPop .45s cubic-bezier(.2,1.4,.4,1); max-width: 340px; }
.ap-win-b b { font: 800 40px var(--f); color: #D97706; } .ap-win-b span { color: var(--fg-2, var(--fg)); }
.ap-win i { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 2px; background: var(--c); animation: apBurst .9s ease-out var(--d) forwards; opacity: 0; }
.ap-win.out { transition: opacity .35s; opacity: 0; }
@keyframes apPop { from { transform: scale(.6); opacity: 0; } }
@keyframes apBurst { 0% { opacity: 1; transform: translate(-50%, -50%); } 100% { opacity: 0; transform: translate(calc(-50% + var(--x) * 1.6), calc(-50% + var(--y) * 1.6)) rotate(260deg); } }
@media (max-width: 860px) { .ap-hero { grid-template-columns: 1fr; padding: 22px; } .ap-ask { flex-direction: column; } .ap-ask .input { flex: none; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .ap-win i, .ap-win-b, .bcard.l-mono .bh::after { animation: none; } }

/* ===== 3.0 Job marketplace ===== */
.jm-page { min-height: 100vh; background: var(--bg); color: var(--fg); }
.jm-top { display: flex; align-items: center; gap: 10px; padding: 14px 24px; background: var(--navy); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.08); }
.jm-top .logo { color: #fff; } .jm-top-t { color: #9DB6FF; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; border-left: 1px solid rgba(255,255,255,.2); padding-left: 10px; }
.jm-top .grow { flex: 1; } .jm-top .btn.ghost { color: #DCE4FF; } .jm-top .btn.ghost:hover { background: rgba(255,255,255,.08); }
.jm-foot { text-align: center; padding: 30px 16px 40px; color: var(--muted); font-size: 13px; } .jm-foot a { color: var(--brand); font-weight: 600; }
.jm-hero { background: radial-gradient(1200px 400px at 85% -20%, rgba(79,123,238,.45), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; padding: 46px 24px 30px; }
.jm.in .jm-hero { border-radius: 20px; padding: 32px 30px 24px; }
.jm-hero-in { max-width: 1180px; margin: 0 auto; }
.jm-eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9DB6FF; } .jm-eyebrow svg { width: 15px; height: 15px; }
.jm-hero h1 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; margin: 10px 0 8px; color: #fff; } .jm.in .jm-hero h1 { font-size: 30px; }
.jm-hero p { color: #C6D3F5; max-width: 620px; margin: 0 0 20px; }
.jm-search { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 8px; background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); max-width: 860px; }
.jm-in { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 10px; background: #F4F6FA; color: #667085; } .jm-in svg { width: 18px; height: 18px; flex: none; }
.jm-in input, .jm-in select { border: 0; background: none; font: 500 15px var(--f); color: #0B1220; padding: 12px 0; width: 100%; outline: none; min-width: 0; }
.jm-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.jm-cat { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #DCE4FF; border-radius: 99px; padding: 7px 13px; font: 600 13px var(--f); cursor: pointer; transition: .15s; }
.jm-cat span { opacity: .6; margin-left: 4px; font-weight: 500; } .jm-cat:hover { background: rgba(255,255,255,.14); } .jm-cat.on { background: #fff; color: var(--navy); border-color: #fff; }
.jm-body { max-width: 1228px; margin: 0 auto; padding: 18px 24px 10px; } .jm.in .jm-body { padding: 16px 0 0; max-width: none; }
.jm-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.jm-tg { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--fg-2); padding: 6px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); cursor: pointer; }
.jm-count { margin: 14px 2px 10px; font-size: 14px; } .jm-count a { color: var(--brand); font-weight: 600; }
.jm-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
@media (min-width: 980px) { .jm-grid { grid-template-columns: minmax(330px, 420px) minmax(0, 1fr); } }
.jm-list { display: flex; flex-direction: column; gap: 10px; }
.jm-pane { display: none; }
@media (min-width: 980px) { .jm-pane { display: block; position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); } .jm.in .jm-pane { top: 76px; } }
.jm-pane-empty { display: grid; place-items: center; gap: 10px; color: var(--muted); padding: 80px 20px; text-align: center; } .jm-pane-empty svg { width: 30px; height: 30px; }
.jm-card { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; position: relative; }
.jm-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-1px); }
.jm-card.sel { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.jm-card.applied::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--good); }
.jm-card-b { flex: 1; min-width: 0; } .jm-card-t { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; } .jm-card-t b { font-size: 15.5px; line-height: 1.3; }
.jm-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; } .jm-pay { font-weight: 700; font-size: 13px; color: var(--good); }
.jm-snip { margin: 8px 0 0; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jm-card-f { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.jm-heart { border: 0; background: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); cursor: pointer; } .jm-heart:hover { background: var(--surface-3); }
.jm-heart svg { width: 18px; height: 18px; } .jm-heart.on, .jm-heart-b.on { color: #E0245E; } .jm-heart.on svg, .jm-heart-b.on svg { fill: currentColor; }
.jm-logo { --h: 220; --c: hsl(var(--h) 58% 40%); width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; letter-spacing: .02em; background: linear-gradient(135deg, var(--c), hsl(calc(var(--h) + 40) 70% 55%)); }
.jm-logo.big { width: 64px; height: 64px; border-radius: 16px; font-size: 20px; }
.jm-ring { --p: 0; --s: 44px; --col: #F79009; width: var(--s); height: var(--s); flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--col) calc(var(--p) * 1%), var(--surface-3) 0); position: relative; }
.jm-ring::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--surface); } .jm-ring b { position: relative; font-size: calc(var(--s) * .27); letter-spacing: -.02em; }
.jm-ring.hi { --col: #12B76A; } .jm-ring.mid { --col: var(--brand); }
.jm-none { text-align: center; padding: 50px 20px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: 18px; } .jm-none > svg { width: 30px; height: 30px; color: var(--muted); }
.jm-d h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; line-height: 1.2; }
.jm-d-h { display: flex; gap: 16px; align-items: flex-start; } .jm-co { color: var(--brand); font-weight: 600; }
.jm-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13.5px; color: var(--fg-2); } .jm-meta span { display: inline-flex; gap: 6px; align-items: center; } .jm-meta svg { width: 15px; height: 15px; color: var(--muted); }
.jm-d-act { display: flex; gap: 10px; margin: 20px 0 14px; flex-wrap: wrap; } .jm-d-act .btn.primary { flex: 1; min-width: 160px; justify-content: center; }
.jm-applied { flex: 1; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--good-soft); color: var(--good); } .jm-applied > svg { width: 22px; height: 22px; } .jm-applied > div { flex: 1; color: var(--fg); }
.jm-match { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, var(--brand-soft), transparent); border: 1px solid var(--line); margin-bottom: 6px; } .jm-match p { margin: 4px 0 0; }
.jm-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .sk { display: inline-flex; gap: 4px; align-items: center; font-size: 12.5px; font-weight: 600; padding: 4px 9px; border-radius: 99px; background: var(--surface-3); color: var(--fg-2); } .sk svg { width: 12px; height: 12px; } .sk.have { background: var(--good-soft); color: var(--good); }
.jm-cta { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: var(--navy); color: #fff; margin-bottom: 6px; } .jm-cta p { color: #C6D3F5 !important; margin: 4px 0 12px; } .jm-cta .btn:not(.primary) { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.jm-cta-ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #F5D77A; } .jm-cta-ic svg { width: 20px; height: 20px; }
.jm-h3 { font-size: 16px; margin: 26px 0 10px; }
.jm-d .prose { font-size: 14.5px; line-height: 1.65; color: var(--fg-2); }
.jm-about { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.jm-minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.jm-mini { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; color: var(--fg); } .jm-mini:hover { border-color: var(--brand); } .jm-mini .jm-logo { width: 36px; height: 36px; font-size: 12px; border-radius: 9px; }
.jm-mini b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jm-drawer .drawer { max-width: 640px; } .jm-drawer .jm-d h2 { font-size: 21px; }
.jm-one { max-width: 860px; margin: 24px auto; padding: 0 16px; } .jm-one-c { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; margin-top: 12px; box-shadow: var(--shadow); }
.jm-g { display: flex; flex-direction: column; gap: 10px; }
.jm-gopt { display: flex; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; font: inherit; color: var(--fg); }
.jm-gopt:hover { border-color: var(--brand); } .jm-gopt.rec { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); } .jm-gopt > svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.jm-gopt div { flex: 1; } .jm-gopt b { display: block; } .jm-gopt span:not(.pill) { font-size: 13px; color: var(--muted); }
.jm-ap-job { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); } .jm-ap-job > div { flex: 1; }
.jm-ap .lbl { display: block; font-weight: 600; margin: 16px 0 8px; font-size: 13.5px; } .jm-ap textarea { width: 100%; margin-top: 8px; }
.jm-rs { display: flex; flex-direction: column; gap: 8px; }
.jm-r { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; } .jm-r:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.jm-r .grow b, .jm-r .grow span { display: block; } .jm-r-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); color: var(--brand); } .jm-r-ic svg { width: 18px; height: 18px; }
.jm-done { text-align: center; padding: 20px 10px; } .jm-done-ic { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--good-soft); color: var(--good); animation: pop .4s cubic-bezier(.2,1.6,.4,1); } .jm-done-ic svg { width: 34px; height: 34px; }
.jm-pv { background: #E9ECF2; padding: 16px; border-radius: 12px; overflow: auto; max-height: 72vh; } .jm-pv .sheet { margin: 0 auto; transform-origin: top center; }
.jm-plan { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-top: 14px; flex-wrap: wrap; }
.jm-plan.pro { background: linear-gradient(135deg, #FFF8E1, #FFFDF5); border-color: #F5D77A; color: #7A5A00; } .jm-plan.pro svg { width: 18px; height: 18px; vertical-align: -3px; }
.jm-bar2 { height: 6px; border-radius: 6px; background: var(--surface-3); margin-top: 8px; overflow: hidden; } .jm-bar2 i { display: block; height: 100%; background: var(--brand); border-radius: 6px; }
.jm-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; margin-top: 14px; }
.jm-app.off { opacity: .75; } .jm-off { margin-top: 12px; font-size: 13px; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: var(--surface-2); } .jm-off svg { width: 14px; height: 14px; vertical-align: -2px; }
.jm-steps { display: flex; margin-top: 16px; }
.jm-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; font-size: 11.5px; color: var(--muted); text-align: center; }
.jm-step::before { content: ''; position: absolute; top: 13px; left: -50%; right: 50%; height: 2px; background: var(--line); } .jm-step:first-child::before { display: none; }
.jm-step i { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; background: var(--surface); border: 2px solid var(--line); }
.jm-step i svg { width: 14px; height: 14px; }
.jm-step.done i { background: var(--good); border-color: var(--good); color: #fff; } .jm-step.done::before, .jm-step.now::before { background: var(--good); }
.jm-step.now i { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); } .jm-step.now span { color: var(--fg); font-weight: 700; }
.jm-int { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--good-soft); color: var(--good); font-size: 13px; font-weight: 600; } .jm-int svg { width: 15px; height: 15px; vertical-align: -3px; }
.jm-savedgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 14px; }
.jm-cres { display: flex; gap: 12px; align-items: center; padding: 12px; margin: 12px 0; border-radius: 14px; background: var(--brand-soft); border: 1px solid var(--line); }
@media (max-width: 720px) {
  .jm-top { padding: 12px 16px; } .jm-top .hide-sm { display: none; } .jm-top-t { display: none; }
  .jm-hero { padding: 28px 16px 20px; } .jm.in .jm-hero { padding: 22px 18px 18px; border-radius: 16px; }
  .jm-search { grid-template-columns: 1fr; } .jm-search .btn { width: 100%; justify-content: center; }
  .jm-cats { flex-wrap: nowrap; overflow-x: auto; margin: 16px -16px 0; padding: 0 16px 4px; scrollbar-width: none; } .jm-cat { white-space: nowrap; }
  .jm-body { padding: 14px 16px; } .jm-bar .seg { width: 100%; overflow-x: auto; } .jm-bar .seg button { white-space: nowrap; flex: 1; } .jm-bar .grow { display: none; } .jm-applied { flex-basis: 100%; } .jm-d-act .jm-heart-b { flex: 1; justify-content: center; }
  .jm-apps, .jm-savedgrid { grid-template-columns: 1fr; } .jm-one-c { padding: 18px; }
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
/* ===== 3.0 native apps ===== */
.offline-bar { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tab-h, 0px) + 12px + env(safe-area-inset-bottom, 0px)); z-index: 9999; background: #0B1B3F; color: #fff; text-align: center; padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); }
html.native body { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
html.native input, html.native textarea, html.native [contenteditable] { -webkit-user-select: text; user-select: text; }

/* 3.1 · OENOD Academy · Canadian Law & Compliance Library */
.ac-colls { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.ac-coll { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #E4E9F5; font: inherit; font-size: 13px; cursor: pointer; }
.ac-coll svg { width: 14px; height: 14px; } .ac-coll.on { background: #fff; color: #0B1B3F; border-color: #fff; font-weight: 600; }
.ac-band { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: center; margin: 18px 0 22px; padding: 24px 26px; border-radius: 16px; color: #fff;
  background: linear-gradient(135deg, #0B1B3F 0%, #13295C 60%, #2252D1 140%); box-shadow: 0 18px 50px rgba(11,27,63,.22); }
.ac-band .ac-kick { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .14em; color: #F5D77A; font-weight: 700; } .ac-band .ac-kick svg { width: 14px; height: 14px; }
.ac-band h2 { margin: 6px 0 6px; font-size: 22px; line-height: 1.25; color: #fff; } .ac-band p { margin: 0; color: #C9D3EA; font-size: 14px; }
.ac-band-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; } .ac-band-l li { display: flex; gap: 8px; align-items: center; } .ac-band-l svg { width: 16px; height: 16px; color: #F5D77A; flex: none; }
.ac-law { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--muted); } .ac-law svg { width: 13px; height: 13px; color: var(--brand); flex: none; }
.ac-notice { border-left: 4px solid #0B1B3F; } .ac-notice-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .ac-notice-h svg { width: 18px; height: 18px; color: #0B1B3F; }
.ac-notice-m { display: flex; flex-wrap: wrap; gap: 22px; margin: 12px 0 8px; } .ac-notice-m span { display: flex; flex-direction: column; } .ac-notice-m small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.ac-notice p { margin: 0; }
.ac-player .prose blockquote:first-child { border-left: 4px solid #0B1B3F; background: rgba(11,27,63,.05); padding: 10px 14px; border-radius: 0 10px 10px 0; font-size: 13px; color: var(--muted); }
@media (prefers-color-scheme: dark) { .ac-notice-h svg { color: #9DB4F5; } .ac-notice { border-left-color: #9DB4F5; } }
@media (max-width: 760px) { .ac-band { grid-template-columns: 1fr; padding: 20px; } .ac-band h2 { font-size: 19px; } }
/* The accountant portal also uses .ac-pub; keep the Academy's dark public background. */
.public.pub2.ac-pub { background: radial-gradient(ellipse at top, #13275A, #050B1F 70%); color: #fff; }
/* Long two-line titles: keep the category line clear of the icon. */
.ac-cover:not(.sm):not(.lg) { padding-top: 64px; }
.ac-cover.sm { padding-top: 48px; }
