/* BlueFire client portal */
:root { --night: #0f1d3a; --cyan: #059ec4; --cyan-l: #5cc6e2; --ink: #0f1d3a; --soft: #5a6681; --line: #dde5ef; --bg: #f3f6fb; --body: "Figtree", system-ui, sans-serif; --disp: "Space Grotesk", var(--body); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--body); }
a { color: #04789a; }
h1, h2 { font-family: var(--disp); letter-spacing: -.02em; margin: 0 0 6px; line-height: 1.15; }
h1 { font-size: clamp(26px, 3.4vw, 34px); }
h2 { font-size: 19px; margin-bottom: 14px; }
p { margin: 0 0 12px; }
.muted { color: var(--soft); } .small { font-size: 13.5px; }
.pwrap { max-width: 980px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 28px); }
.pwrap--wide { max-width: 1200px; }
.phead { background: #fff; border-bottom: 1px solid var(--line); }
.phead-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; flex-wrap: wrap; }
.pbrand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.pbrand img { height: 40px; width: auto; }
.pbrand span { font: 600 11px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .12em; color: #fff; background: var(--night); padding: 6px 9px; border-radius: 4px; }
.pnav { display: flex; gap: 18px; flex-wrap: wrap; }
.pnav a { color: var(--ink); font-weight: 600; text-decoration: none; padding: 6px 0; }
.pnav a:hover { color: #04789a; }
.pnav-admin { color: #b54708 !important; }
.pmain { padding-top: 30px; padding-bottom: 60px; min-height: 60vh; }
.pfoot { border-top: 1px solid var(--line); padding: 22px 0; font-size: 13.5px; color: var(--soft); background: #fff; }
.pfoot a { color: var(--soft); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 26px); margin-bottom: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--night); background: var(--night); color: #fff; font: 700 15px var(--disp); text-decoration: none; cursor: pointer; }
.btn:hover { background: #1b2f5a; color: #fff; }
.btn--line { background: #fff; color: var(--ink); border-color: #c6d3e3; }
.btn--line:hover { background: #fff; color: var(--ink); border-color: var(--night); }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.linkbtn { background: none; border: 0; padding: 0; color: #b42318; font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; }
.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; background: #ecf8f1; border: 1px solid #b5e2c8; color: #11643a; font-weight: 600; }
.flash--err { background: #fff4ec; border-color: #f6c9a8; color: #8a3b07; }
.note { background: #e8f6fb; border: 1px solid #b8e1ee; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; }

.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; }
.form input:not([type=checkbox]):not([type=file]), .form select, .form textarea, .filters input, .filters select { font: 500 15.5px var(--body); color: var(--ink); border: 1.5px solid #c6d3e3; border-radius: 10px; padding: 10px 12px; background: #fff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(5,158,196,.2); border-color: var(--cyan); }
.form input[type=file] { font-size: 14px; }
.form .chk { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form .btn { justify-self: start; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.inline { display: inline; margin-left: 8px; }

.auth { display: grid; place-items: center; padding: 20px 0; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: 0 30px 60px -40px rgba(15,29,58,.5); }
.auth-card .btn { width: 100%; justify-self: stretch; }
.or { display: flex; align-items: center; gap: 12px; color: var(--soft); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.acts { display: grid; gap: 10px; }
.act { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 14px 16px; border-radius: 14px; background: #fff7e8; border: 1px solid #f3d9a4; text-decoration: none; color: var(--ink); }
.act span { grid-column: 1; color: var(--soft); font-size: 14px; }
.act i { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-weight: 700; color: #a15c00; }
.act--pay { background: #e8f6fb; border-color: #b8e1ee; } .act--pay i { color: #04789a; }

.olist { display: grid; gap: 8px; }
.orow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.orow:hover { border-color: #9cc7db; background: #fafcfe; }
.orow-main { display: grid; gap: 2px; min-width: 0; }
.orow-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orow-main small { color: var(--soft); }
.orow-side { display: grid; justify-items: end; gap: 4px; flex: none; }
.orow-side em { font-style: normal; font-weight: 700; }
.src { justify-self: start; font: 700 11px var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.chip { display: inline-block; font: 700 12px var(--body); padding: 4px 10px; border-radius: 999px; background: #eef2f7; color: #3b475f; white-space: nowrap; }
.chip--received { background: #eef2f7; } .chip--proof { background: #fff1d6; color: #8a5300; } .chip--changes { background: #fde8e8; color: #9b1c1c; }
.chip--approved { background: #e3f5ec; color: #11643a; } .chip--production { background: #e6f3fb; color: #075985; }
.chip--shipped, .chip--mailed { background: #ece9fb; color: #4c3a9e; } .chip--delivered, .chip--complete { background: #def5e7; color: #0f5c34; } .chip--cancelled { background: #f1f1f1; color: #777; }

.ohead { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.ohead-side { display: grid; justify-items: end; gap: 4px; }
.ohead-side b { font: 700 22px var(--disp); }
.crumb { margin-bottom: 10px; } .crumb a { text-decoration: none; font-weight: 600; }
.steps { list-style: none; padding: 0; margin: 4px 0 16px; display: flex; }
.steps li { flex: 1; position: relative; text-align: center; font-size: 13px; color: var(--soft); padding-top: 26px; }
.steps li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: #dbe3ee; border: 3px solid #fff; box-shadow: 0 0 0 1px #dbe3ee; z-index: 1; }
.steps li::before { content: ""; position: absolute; top: 8px; left: -50%; width: 100%; height: 3px; background: #dbe3ee; }
.steps li:first-child::before { display: none; }
.steps li.done, .steps li.now { color: var(--ink); font-weight: 600; }
.steps li.done span, .steps li.now span { background: var(--cyan); box-shadow: 0 0 0 1px var(--cyan); }
.steps li.done::before, .steps li.now::before { background: var(--cyan); }
.steps li.now span { box-shadow: 0 0 0 4px rgba(5,158,196,.25); }
.trk { font-weight: 600; }
.proof-img { display: block; max-width: 100%; max-height: 560px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 12px; }
.proof-form { grid-template-columns: auto 1fr; align-items: start; }
.proof-form details summary { list-style: none; cursor: pointer; }
.proof-form details summary::-webkit-details-marker { display: none; }
.proof-form details[open] { grid-column: 1 / -1; display: grid; gap: 12px; }
.files, .hist { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.files li, .hist li { display: grid; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid #eef2f7; }
.files small, .hist small { color: var(--soft); font-size: 12.5px; }
.hist span { color: #3b475f; }
.details { white-space: normal; color: #2b3650; }

.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--soft); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px 10px; border-bottom: 1px solid #eef2f7; vertical-align: top; }
.tbl tr.click { cursor: pointer; } .tbl tr.click:hover { background: #fafcfe; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stats div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; }
.stats b { font: 700 24px var(--disp); } .stats span { color: var(--soft); font-size: 13.5px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.filters select, .filters input { width: auto; min-width: 170px; }
.filters input { flex: 1; }
.grid2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }

@media (max-width: 820px) {
  .ohead-side { display: flex; align-items: center; gap: 12px; justify-items: start; }
  .grid2, .row2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tbl thead { display: none; }
  .tbl tr { display: grid; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .tbl td { border: 0; padding: 3px 0; }
  .tbl td[data-l]::before { content: attr(data-l) ": "; color: var(--soft); font-size: 12.5px; }
  .steps li { font-size: 11px; }
  .proof-form { grid-template-columns: 1fr; }
}

.pmain { flex: 1 0 auto; width: 100%; box-sizing: border-box; }

/* ================================================================ TEAM PORTAL */
.is-team .pbrand span { background: var(--cyan); color: var(--night); }
.pnav a.on { color: #04789a; box-shadow: inset 0 -2px 0 var(--cyan); }
.badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: #e0352b; color: #fff; font: 700 11px/1 var(--body); font-style: normal; vertical-align: 1px; }
.chip--wait { background: #fff4e5; color: #9a4b00; border: 1px dashed #f0b56a; }
.stats .warn { border-color: #f3c38a; background: #fffaf2; } .stats .warn b { color: #b45309; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.card-head h2 { margin: 0; }
.card--wait { border-color: #f3c38a; background: #fffbf5; }
.card--queue { border: 1.5px solid #9cd6e8; background: linear-gradient(180deg, #f2fbfe, #fff 60%); }
.pre { white-space: normal; color: #3b475f; }
.hist li.int b { color: var(--soft); }

/* avatars */
.av { --h: 210; display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: hsl(var(--h) 55% 88%); color: hsl(var(--h) 55% 28%); font: 700 11.5px/1 var(--body); letter-spacing: .02em; }
.av--sm { width: 22px; height: 22px; font-size: 9.5px; } .av--lg { width: 44px; height: 44px; font-size: 15px; }
.who { display: flex; align-items: center; gap: 12px; } .who span { display: grid; } .who small { color: var(--soft); }
.who-sm { display: inline-flex; align-items: center; gap: 8px; }

/* tasks */
.prog, .mini-prog { display: block; height: 6px; border-radius: 9px; background: #e8eef5; overflow: hidden; margin-bottom: 12px; }
.prog i, .mini-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), #34c38f); border-radius: 9px; }
.mini-prog { width: 64px; margin: 0; }
.tasks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 2px; }
.tasks > li { display: grid; grid-template-columns: 30px 1fr; align-items: start; gap: 6px; padding: 6px 0; border-bottom: 1px solid #eef2f7; }
.tasks--list > li { grid-template-columns: 30px 1fr auto; align-items: center; }
.tick { width: 22px; height: 22px; margin-top: 3px; border-radius: 7px; border: 2px solid #b8c7da; background: #fff; cursor: pointer; padding: 0; transition: .15s; }
.tick:hover { border-color: var(--cyan); background: #ecf8fc; }
.is-done .tick { background: #22a06b; border-color: #22a06b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' stroke='%23fff' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.is-done .t-title { text-decoration: line-through; color: var(--soft); }
.task summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; list-style: none; padding: 3px 0; }
.task summary::-webkit-details-marker { display: none; }
.task[open] summary { font-weight: 600; }
.t-meta { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.task-edit { padding: 10px 0 6px; }
.task-link { display: grid; text-decoration: none; color: var(--ink); min-width: 0; }
.task-link small { color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-add { grid-template-columns: 1fr auto auto auto; align-items: center; gap: 8px; }
.task-add .btn { justify-self: stretch; }
.due { font-size: 12.5px; font-weight: 600; color: var(--soft); background: #f1f5f9; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.due.soon { background: #fff1d6; color: #8a5300; } .due.late { background: #fde8e8; color: #b42318; }

/* queue / board */
.assign-q select { font: 600 14px var(--body); border: 1.5px solid var(--cyan); border-radius: 99px; padding: 8px 12px; background: #fff; color: var(--ink); cursor: pointer; }
.olist > div.orow:hover { background: #fff; }
.seg { display: inline-flex; background: #e8eef5; border-radius: 99px; padding: 4px; gap: 2px; align-self: center; }
.seg a { padding: 7px 16px; border-radius: 99px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; }
.seg a.on { background: #fff; box-shadow: 0 1px 3px rgba(15,29,58,.12); }
.seg--wrap { flex-wrap: wrap; border-radius: 16px; margin-bottom: 16px; }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 10px; align-items: start; }
.lane { background: #e9eff6; border-radius: 16px; padding: 12px; display: grid; gap: 10px; }
.lane--none { background: #fff3e3; }
.lane header { display: flex; align-items: center; gap: 10px; padding: 2px 4px 4px; }
.lane header span { display: grid; } .lane header small { color: var(--soft); font-size: 12.5px; }
.lcard { display: grid; gap: 6px; background: #fff; border-radius: 12px; padding: 12px; text-decoration: none; color: var(--ink); border: 1px solid transparent; box-shadow: 0 1px 2px rgba(15,29,58,.06); }
.lcard:hover { border-color: #9cc7db; }
.lcard small { color: var(--soft); }
.lc-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tbl tr.off { opacity: .5; }
.tbl--edit input { font: 500 15px var(--body); border: 1.5px solid #c6d3e3; border-radius: 9px; padding: 8px 10px; width: 100%; }
.tbl--edit input.num { width: 76px; }
.tbl--edit tr.new input { border-style: dashed; }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 12px; margin: 0; }
legend { font-weight: 600; font-size: 14.5px; padding: 0 6px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.checks .chk { display: flex; gap: 6px; align-items: center; font-weight: 500; font-size: 14.5px; }
.lead-row { display: grid !important; grid-template-columns: 130px 1fr; align-items: center; gap: 10px !important; }
.roles { padding-left: 18px; margin: 16px 0 0; display: grid; gap: 4px; }

/* chat */
.chat { display: grid; grid-template-columns: 270px 1fr; gap: 16px; height: calc(100vh - 230px); min-height: 480px; }
.chat-side { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 10px; overflow-y: auto; }
.chat-side h3 { font: 700 11.5px var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--soft); margin: 14px 8px 6px; }
.chat-side h3:first-child { margin-top: 2px; }
.ch { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 10px; text-decoration: none; color: #2a3650; font-size: 14.5px; }
.ch span:not(.av):not(.ch-ico) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch:hover { background: #f1f5f9; } .ch.on { background: #e3f4fa; color: var(--ink); font-weight: 600; }
.ch.has-new { font-weight: 700; color: var(--ink); }
.ch-ico { width: 22px; text-align: center; color: var(--soft); font-weight: 700; }
.ch-new, .ch-dm { margin: 6px 8px; }
.ch-new summary, .ch-mem summary { cursor: pointer; color: #04789a; font-size: 14px; font-weight: 600; }
.ch-new .form, .ch-mem .form { margin-top: 8px; gap: 8px; }
.ch-dm select { width: 100%; font: 600 14px var(--body); color: #04789a; border: 1px dashed #9cc7db; border-radius: 10px; padding: 7px 8px; background: #fff; cursor: pointer; }
.chat-main { background: #fff; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.chat-head { padding: 14px 20px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.chat-head h2 { margin: 0; }
.chat-head p { margin: 2px 0 0; }
.chat-back { display: none; }
.chatbox { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 14px 20px; display: flex; flex-direction: column; gap: 2px; }
.chatbox--embed .chat-msgs { max-height: 380px; min-height: 140px; padding: 6px 2px; }
.chat-empty { margin: auto; }
.chat-day { align-self: center; font-size: 12px; font-weight: 600; color: var(--soft); background: #f1f5f9; padding: 3px 12px; border-radius: 99px; margin: 12px 0 6px; }
.msg { position: relative; padding: 4px 34px 4px 0; border-radius: 10px; }
.msg:not(.msg--cont) { margin-top: 8px; }
.msg-head { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.msg-head small { color: var(--soft); font-size: 12px; }
.msg-body { padding-left: 36px; color: #1f2a44; overflow-wrap: anywhere; }
.msg-body .at { color: #04789a; background: #e3f4fa; border-radius: 5px; padding: 0 3px; font-weight: 600; }
.msg-img img { display: block; max-width: min(320px, 100%); max-height: 260px; border-radius: 10px; margin-top: 6px; border: 1px solid var(--line); }
.msg-file { display: inline-block; margin-top: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14px; }
.msg-del { position: absolute; right: 4px; top: 4px; border: 0; background: none; color: #b0bccd; font-size: 18px; cursor: pointer; opacity: 0; }
.msg:hover .msg-del, .msg-del:focus { opacity: 1; }
.msg:hover { background: #fafcfe; }
.chat-send { display: flex; gap: 8px; align-items: flex-end; padding: 12px 16px; border-top: 1px solid var(--line); background: #fbfcfe; }
.chatbox--embed .chat-send { padding: 10px 0 0; background: none; }
.chat-send textarea { flex: 1; resize: none; font: 500 15.5px/1.4 var(--body); border: 1.5px solid #c6d3e3; border-radius: 12px; padding: 10px 12px; min-height: 44px; max-height: 160px; }
.chat-send textarea:focus { outline: 3px solid rgba(5,158,196,.2); border-color: var(--cyan); }
.clip { position: relative; display: grid; place-items: center; width: 42px; height: 44px; border-radius: 12px; border: 1.5px solid #c6d3e3; cursor: pointer; font-size: 18px; background: #fff; flex: none; }
.clip.on { border-color: var(--cyan); background: #e3f4fa; }
.clip.on::after { content: attr(data-name); position: absolute; bottom: 50px; right: 0; white-space: nowrap; font-size: 12px; background: var(--night); color: #fff; padding: 3px 8px; border-radius: 6px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.chat-send .btn { height: 44px; }

@media (max-width: 820px) {
  .board { grid-auto-flow: row; grid-auto-columns: auto; }
  .task-add { grid-template-columns: 1fr 1fr; }
  .task-add input[name=title] { grid-column: 1 / -1; }
  .chat { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .chat--room .chat-side { display: none; }
  .chat--list .chat-main { display: none; }
  .chat--room .chat-main { height: calc(100vh - 190px); min-height: 420px; }
  .chat-back { display: inline; font-weight: 600; white-space: nowrap; }
  .chat-msgs { padding: 12px; }
  .lead-row { grid-template-columns: 1fr; }
  .pnav { gap: 14px; }
}

.olist a.orow-main { text-decoration: none; color: inherit; }
.olist a.orow-main:hover b { color: #04789a; }
.linkbtn--go { color: #04789a; font-weight: 600; margin-top: 10px; }

/* support tickets */
.chip--tk-open { background: #e6f3fb; color: #075985; } .chip--tk-pending { background: #fff1d6; color: #8a5300; } .chip--tk-resolved { background: #def5e7; color: #0f5c34; }
.badge--soft { background: #dfe7f1; color: var(--ink); }
.thread { display: grid; gap: 14px; }
.tm { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; }
.tm header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.tm header small { color: var(--soft); font-size: 12.5px; margin-left: auto; }
.tm-body { color: #1f2a44; overflow-wrap: anywhere; }
.tm-body p { margin: 8px 0 0; }
.tm--team { background: #f2fafd; border-color: #c9e8f2; }
.tm--note { background: #fffbea; border: 1px dashed #e8c766; }
.seg--radio { display: inline-flex; }
.seg--radio label { display: flex !important; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px; font-size: 14px; cursor: pointer; }
.seg--radio label:has(input:checked) { background: #fff; box-shadow: 0 1px 3px rgba(15,29,58,.12); }
.seg--radio input { accent-color: var(--cyan); }
form:has(input[value=note]:checked) textarea { background: #fffbea; border-color: #e8c766; }
form:has(input[value=note]:checked) .after { display: none !important; }
.help-card .olist { margin-bottom: 12px; }
.ohead-side { align-content: start; align-items: start; }
.form .seg--radio { justify-self: start; }
.seg--radio label { white-space: nowrap; font-weight: 600 !important; }
.inv-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.btn--danger { background: #b42318 !important; color: #fff !important; border-color: #b42318 !important; }
.btn--danger:disabled { opacity: .4; cursor: not-allowed; }
.card--danger { border-color: #f3c0bb; }
.card--danger h2 { color: #b42318; }
.dlg { border: 0; border-radius: 18px; padding: 26px; max-width: 480px; width: calc(100% - 32px); box-shadow: 0 20px 60px rgba(15,29,58,.35); }
.dlg::backdrop { background: rgba(15,29,58,.55); }
.dlg h2 { color: #b42318; }
.dlg-warn { background: #fef3f2; border: 1px solid #f3c0bb; color: #7a271a; border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }
.dlg input[name=confirm] { font: 700 17px var(--disp) !important; letter-spacing: .08em; }

/* questionnaires */
.q-head { margin-bottom: 18px; } .q-head .lede { font-size: 17px; color: #3b475f; max-width: 680px; }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.qgrid .q-wide, .qgrid label:has(textarea) { grid-column: 1 / -1; }
.q-label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 8px; }
.req { color: #b42318; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex !important; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 9px 15px; border: 1.5px solid #c6d3e3; border-radius: 99px; font-weight: 500; font-size: 14.5px; background: #fff; transition: .15s; }
.pill input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid rgba(5,158,196,.35); }
.q-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 6px 0 30px; }
.btn--lg { padding: 15px 30px; font-size: 16.5px; }
.qa-h { font: 700 12px var(--body); text-transform: uppercase; letter-spacing: .07em; color: var(--soft); margin: 16px 0 6px; }
.qa { display: grid; grid-template-columns: minmax(140px, 34%) 1fr; gap: 6px 14px; margin: 0; font-size: 14.5px; }
.qa dt { color: var(--soft); } .qa dd { margin: 0; overflow-wrap: anywhere; }
.qa-box summary, .q-sum { cursor: pointer; font-weight: 600; color: #04789a; margin-bottom: 6px; }
.act--first { border-color: #9cd6e8 !important; background: #effafd !important; }
@media (max-width: 820px) { .qgrid { grid-template-columns: 1fr; } .qa { grid-template-columns: 1fr; } .qa dd { margin-bottom: 8px; } }

/* profile photos */
img.av { object-fit: cover; display: inline-block; background: #e8eef5; }
.av--xl { width: 120px !important; height: 120px !important; font-size: 38px !important; }
.prof { grid-template-columns: 300px 1fr; }
.prof-photo { text-align: center; } .prof-photo .form { justify-items: center; margin-bottom: 8px; }
.prof-av { display: flex; justify-content: center; margin: 4px 0 14px; }
@media (max-width: 820px) { .prof { grid-template-columns: 1fr; } }
.pm-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 22px; }
.pm-card .who span { gap: 1px; } .pm-card .who b { font-size: 16.5px; }

/* chat: emoji button and reactions */
.chat-send { position: relative; }
.emo-btn { width: 42px; height: 44px; border-radius: 12px; border: 1.5px solid #c6d3e3; background: #fff; font-size: 19px; cursor: pointer; flex: none; padding: 0; }
.emo-btn:hover { border-color: var(--cyan); background: #ecf8fc; }
.emo-pop { position: absolute; bottom: calc(100% + 6px); right: 16px; z-index: 20; display: grid; grid-template-columns: repeat(6, 38px); gap: 2px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(15,29,58,.18); }
.emo-pop button, .r-pop button { border: 0; background: none; font-size: 21px; width: 38px; height: 38px; border-radius: 9px; cursor: pointer; }
.emo-pop button:hover, .r-pop button:hover { background: #f1f5f9; transform: scale(1.12); }
.reacts { position: relative; display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-top: 4px; min-height: 0; }
.reacts .r { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 1px solid #dde5ef; background: #f6f9fc; border-radius: 99px; font-size: 14px; cursor: pointer; line-height: 1.5; }
.reacts .r b { font-size: 12px; color: #3b475f; }
.reacts .r.mine { background: #e3f4fa; border-color: #8fd0e4; } .reacts .r.mine b { color: #04789a; }
.reacts .r:hover { border-color: #9cc7db; }
.r-add { border: 1px dashed #c6d3e3; background: #fff; color: var(--soft); border-radius: 99px; font-size: 14px; padding: 1px 8px; cursor: pointer; opacity: 0; transition: opacity .12s; }
.r-add sup { font-size: 10px; }
.msg:hover .r-add, .r-add:focus, .reacts:has(.r-pop) .r-add { opacity: 1; }
.r-pop { position: absolute; bottom: calc(100% + 4px); left: 0; z-index: 15; display: flex; gap: 2px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 99px; box-shadow: 0 10px 26px rgba(15,29,58,.16); }
@media (hover: none) { .r-add { opacity: .7; } }
@media (max-width: 560px) { .emo-pop { right: 8px; grid-template-columns: repeat(6, 36px); } }
/* smart website questionnaire */
.q-steps{margin:0 0 14px;font-size:.95rem;color:var(--muted,#5b6472)}
.q-steps b{color:var(--ink,#0f1b2d)}
.q-help{display:block;font-size:.8rem;color:var(--muted,#5b6472);margin-top:4px;font-weight:400}
.q-wide>.q-help{margin:0 0 8px}
.q-submit{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.upsell{border:1px solid #f3c77a;background:#fff8ea;border-radius:10px;padding:12px 14px;margin:0 0 14px}
.upsell ul{margin:6px 0 4px 18px;padding:0}
.upsell li{margin:2px 0}
.pills .pill{max-width:100%;min-width:0}
.pills .pill span{white-space:normal;overflow-wrap:anywhere}
.qform select,.qform input,.qform textarea{max-width:100%;min-width:0}
.qgrid>*{min-width:0}
.pill{position:relative}
/* recurring plans */
.plan-row .orow-main small a{font-weight:600}
.plan-manage{margin-top:14px}
.plan-manage .small{margin:8px 0 0;max-width:62ch}
/* social: trial card and plan picker */
.trial-card h2{margin-bottom:4px}
.plan-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:14px 0}
.plan-opt{position:relative;display:block;cursor:pointer}
.plan-opt input{position:absolute;opacity:0;pointer-events:none}
.plan-opt span{display:flex;flex-direction:column;gap:4px;height:100%;padding:16px;border:1.5px solid #c6d3e3;border-radius:14px;background:#fff;transition:.15s}
.plan-opt b{font-size:1.02rem}
.plan-opt em{font-style:normal;font-weight:700;font-size:1.25rem;color:var(--night,#0f1d3a)}
.plan-opt small{font-size:.85rem;line-height:1.4}
.plan-opt input:checked+span{border-color:var(--night,#0f1d3a);box-shadow:0 0 0 3px rgba(5,158,196,.25)}
.plan-opt input:focus-visible+span{outline:3px solid rgba(5,158,196,.4)}
.plan-pick .chk{margin:4px 0 14px;display:flex;gap:8px;align-items:center}

/* ================================================================ SALES DESK (owner + people with Sales desk switched on) */
[hidden] { display: none !important; }
.sales-tabs { margin: 0; }
.sgauge { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; }
.sgauge-num { display: flex; align-items: baseline; gap: 6px; }
.sgauge-num b { font: 700 26px var(--disp); }
.sgauge-num span { color: var(--soft); font-size: 14px; }
.sgauge-bar { flex: 1 1 180px; height: 10px; margin: 0; }
.zclocks { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.zclock { font: 600 12.5px var(--body); padding: 3px 9px; border-radius: 99px; background: #f1f5f9; color: var(--soft); white-space: nowrap; }
.zclock i { font-style: normal; font-weight: 700; margin-right: 4px; }
.zclock.is-open { background: #e3f5ec; color: #11643a; }
.stats--5 { grid-template-columns: repeat(5, 1fr); }
.card--next .next-name { font-size: 19px; margin-bottom: 2px; }
.btn--lg { min-height: 52px; padding: 12px 28px; font-size: 17px; }
.form--inline { grid-template-columns: 1fr auto; align-items: end; }
.form--inline .chk { grid-column: 1 / -1; }
.leader { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.leader li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.leader .prog { grid-column: 1 / -1; margin: 0; }
.tbl--sales td { font-size: 14.5px; }
.nowrap { white-space: nowrap; }
.board--sales { grid-auto-columns: minmax(220px, 1fr); }
.call-head h1 { margin-bottom: 4px; }
.call-phone { display: grid; gap: 4px; margin-bottom: 8px; }
.phone-big { font: 700 clamp(26px, 4vw, 34px) var(--disp); color: var(--ink); text-decoration: none; letter-spacing: .01em; user-select: all; }
.phone-big:hover { color: #04789a; }
.ok { color: #11643a; } .warn-t { color: #b45309; }
.dispo { display: flex; flex-wrap: wrap; gap: 8px; }
.dispo label { position: relative; }
.dispo input { position: absolute; opacity: 0; pointer-events: none; }
.dispo span { display: block; padding: 9px 14px; border-radius: 99px; border: 1.5px solid #c6d3e3; font-weight: 600; font-size: 14.5px; cursor: pointer; background: #fff; }
.dispo span:hover { border-color: var(--night); }
.dispo input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.dispo input:focus-visible + span { outline: 3px solid rgba(5,158,196,.35); }
fieldset { border: 0; padding: 0; margin: 0; } legend { font-weight: 600; font-size: 14.5px; margin-bottom: 8px; padding: 0; }
.wonbox { display: grid; gap: 14px; background: #ecf8f1; border: 1px solid #b5e2c8; border-radius: 12px; padding: 14px; }
.hist--sales { display: grid; gap: 12px; }
.hcall { border-left: 3px solid #d5dfeb; padding: 2px 0 2px 12px; display: grid; gap: 2px; }
.hcall.is-talk { border-left-color: var(--cyan); } .hcall.is-won { border-left-color: #22a06b; }
.hcall p { margin: 4px 0 0; white-space: normal; }
.facts { display: grid; grid-template-columns: 120px 1fr; gap: 8px 14px; margin: 0; font-size: 15px; }
.facts dt { color: var(--soft); } .facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.facts--check { margin-top: 16px; padding-top: 14px; border-top: 1px solid #eef2f7; }
details.card > summary { cursor: pointer; list-style: revert; }
.finding { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 10px; opacity: .65; }
.finding.is-on { opacity: 1; border-color: #9cc7db; background: #fafdff; }
.finding-head { display: flex !important; align-items: center; gap: 10px; flex-wrap: wrap; }
.finding-title { flex: 1 1 260px; font-weight: 700 !important; }
.sharebox { display: flex; gap: 8px; flex-wrap: wrap; }
.sharebox input { flex: 1 1 260px; font: 500 14px var(--body); border: 1.5px solid #c6d3e3; border-radius: 10px; padding: 9px 12px; min-width: 0; }
@media (max-width: 820px) {
  .stats--5 { grid-template-columns: 1fr 1fr; }
  .zclocks { margin-left: 0; }
  .form--inline { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 100px 1fr; }
}
.card--auto { border-color: #9cc7db; background: linear-gradient(180deg, #f3fbfe, #fff); }
.auto-go { grid-template-columns: 1fr auto; }
.report-go { display: inline; }
.offer-pick select { max-width: 460px; }
.msg-new { margin-top: 12px; }
.msg-new summary { list-style: none; display: inline-flex; cursor: pointer; }
.msg-new summary::-webkit-details-marker { display: none; }
.msg-new[open] summary { margin-bottom: 12px; }

/* call guide (sales call sheet) */
.cg { border-color: #bfe3ef; box-shadow: 0 0 0 4px #eef8fc; }
.cg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.cg-head h2 { margin: 0; }
.cg-trail { display: flex; flex-wrap: wrap; gap: 4px; font-size: 12.5px; color: var(--soft); }
.cg-trail span + span::before { content: "›"; margin-right: 4px; color: #a9b6c8; }
.cg-trail .on { color: var(--ink); font-weight: 700; }
.cg-t { font: 700 17px var(--disp); margin: 14px 0 10px; }
.cg-say { margin: 0 0 12px; padding: 14px 16px; background: #f1f9fc; border-left: 4px solid var(--cyan); border-radius: 0 12px 12px 0; font-size: 16.5px; line-height: 1.6; }
.cg-say mark { background: #fff2b3; padding: 0 3px; border-radius: 3px; }
.cg-say i, .cg-opt i { color: var(--soft); }
.cg-tip { font-size: 14px; color: var(--soft); margin: 0 0 12px; padding-left: 12px; border-left: 2px solid var(--line); }
.cg-q { font-weight: 700; margin: 14px 0 8px; }
.cg-f { display: grid; gap: 5px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.cg-f input, .cg-f textarea, .cg-f select { font: 400 15px var(--body); padding: 9px 11px; border: 1.5px solid #c6d3e3; border-radius: 10px; width: 100%; background: #fff; color: var(--ink); }
.cg-f input:focus, .cg-f textarea:focus, .cg-f select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(5,158,196,.18); }
.cg-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.btn--go { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.btn--go:hover { background: #04789a; border-color: #04789a; }
.btn--warn { color: #8a3b07; border-color: #f0c3a3; background: #fff; }
.btn--warn:hover { border-color: #8a3b07; color: #8a3b07; background: #fff4ec; }
.cg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.cg-chip { font: 500 13.5px var(--body); text-align: left; padding: 7px 12px; border-radius: 12px; border: 1px dashed #9fcfe0; background: #fff; color: var(--ink); cursor: pointer; }
.cg-chip:hover { border-style: solid; border-color: var(--cyan); background: #f1f9fc; }
.cg-objs { display: grid; gap: 6px; margin-bottom: 8px; }
.cg-obj { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cg-obj.is-on { border-color: var(--cyan); }
.cg-objbtn { width: 100%; text-align: left; padding: 10px 14px; background: #fff; border: 0; font: 600 15px var(--body); color: var(--ink); cursor: pointer; }
.cg-objbtn::before { content: "+"; display: inline-block; width: 18px; color: var(--cyan); font-weight: 700; }
.cg-obj.is-on .cg-objbtn { background: #f1f9fc; }
.cg-obj.is-on .cg-objbtn::before { content: "–"; }
.cg-opts { display: grid; gap: 8px; padding: 10px 14px 14px; }
.cg-opt { display: grid; grid-template-columns: 24px 1fr; gap: 8px; font-size: 15.5px; line-height: 1.55; }
.cg-n { width: 22px; height: 22px; border-radius: 50%; background: var(--night); color: #fff; font: 700 12px var(--disp); display: grid; place-items: center; margin-top: 2px; }
.cg-ints { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.cg-ints legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.cg-ints label { position: relative; }
.cg-ints input { position: absolute; opacity: 0; }
.cg-ints span { display: block; padding: 7px 12px; border-radius: 99px; border: 1.5px solid #c6d3e3; font-size: 14px; font-weight: 600; cursor: pointer; }
.cg-ints input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.cg-ints input:focus-visible + span { outline: 3px solid rgba(5,158,196,.35); }
.cg-result { font-size: 16px; margin-bottom: 12px; }
.cg-back { margin: 10px 0 0; font-size: 14px; }
.cg-scratch { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.cg-scratch summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--soft); }
.cg-scratch textarea { width: 100%; margin-top: 8px; font: 400 15px var(--body); padding: 9px 11px; border: 1.5px solid #c6d3e3; border-radius: 10px; }
.cg-flash { animation: cgflash 1.6s ease-out; }
@keyframes cgflash { 0% { box-shadow: 0 0 0 6px rgba(5,158,196,.45); } 100% { box-shadow: 0 0 0 0 rgba(5,158,196,0); } }
@media (prefers-reduced-motion: reduce) { .cg-flash { animation: none; } }
.cg-back .linkbtn { color: #04789a; font-size: 14px; text-decoration: none; }
.cg-ok { background: #ecf8f1; border: 1px solid #b5e2c8; border-radius: 12px; padding: 10px 14px; font-size: 14.5px; }
.cg-finds { display: grid; gap: 6px; margin-bottom: 6px; }
.cg-find { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 500 15px var(--body); color: var(--ink); cursor: pointer; }
.cg-find:hover { border-color: var(--cyan); }
.cg-find.is-on { border-color: var(--cyan); background: #f1f9fc; }
.cg-tag { flex: none; font: 700 11.5px var(--body); color: #fff; background: var(--cyan); border-radius: 99px; padding: 3px 9px; }
.cg-tag--2 { background: #fff; color: #04789a; border: 1px solid #9fcfe0; }
.cg-make { background: #fff8e6; border: 1px solid #f3dc9a; border-radius: 12px; padding: 12px 14px; margin-bottom: 4px; }
.cg-make p { margin-bottom: 10px; font-size: 14.5px; }
.cg-link { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; margin-bottom: 12px; padding: 10px 14px; background: #f3f6fb; border-radius: 12px; }
.cg-link span { font-weight: 600; }
.cg-dialset { margin: 6px 0 0; } .cg-dialset select { font: inherit; padding: 2px 4px; border: 1px solid #c6d3e3; border-radius: 6px; } .cg-dialset .linkbtn--go { margin: 0; font-size: 13px; }
.addtask { margin-top: 14px; }
.addtask > summary { list-style: none; display: inline-flex; }
.addtask > summary::-webkit-details-marker { display: none; }
.addtask[open] > summary { margin-bottom: 12px; }
.t-notes { display: block; white-space: normal; color: var(--soft); margin-top: 2px; }
.focus-form { display: block; margin: -4px 0 12px; }
.focus-form select { font: 600 14px var(--body); padding: 5px 8px; border: 1.5px solid #c6d3e3; border-radius: 8px; margin-left: 6px; }
.pf-usage { margin: -6px 0 16px; }
.pf-how { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; }
.pf-tbl td:first-child, .pf-tbl th:first-child { width: 34px; }
.pf-tbl tr.pf-flag { background: #fffaf0; }
.pf-add { align-items: end; margin-top: 14px; }
.imp-sum { margin: 0 0 10px; padding-left: 18px; display: grid; gap: 4px; }
.imp-all { margin: 6px 0 12px; }
.imp-list { display: grid; gap: 10px; }
.imp-row { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 2.4fr) auto; gap: 14px; align-items: start; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.imp-who b { display: block; }
.imp-who small { color: var(--soft); }
.imp-ch { border-collapse: collapse; font-size: 14px; width: 100%; }
.imp-ch th { text-align: left; font-weight: 600; padding: 2px 10px 2px 0; white-space: nowrap; vertical-align: top; color: var(--soft); }
.imp-ch td { padding: 2px 6px 2px 0; vertical-align: top; }
.imp-ch .old { color: var(--soft); text-decoration: line-through; }
.imp-ch .new { font-weight: 600; }
.imp-ch .arr { color: var(--soft); }
.imp-pick { display: flex; gap: 6px; }
.imp-pick label { position: relative; }
.imp-pick input { position: absolute; opacity: 0; }
.imp-pick span { display: block; padding: 7px 14px; border-radius: 99px; border: 1.5px solid #c6d3e3; font-weight: 600; font-size: 14px; cursor: pointer; }
.imp-pick input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.imp-pick input:focus-visible + span { outline: 3px solid rgba(5,158,196,.35); }
@media (max-width: 760px) { .imp-row { grid-template-columns: 1fr; } }
.cg-fit { font-size: 13.5px; padding: 8px 10px; background: #f1f9fc; border-radius: 10px; align-self: end; }
.cg-foundp { margin: -6px 0 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cg-pre { white-space: pre-wrap; font: 400 14px/1.5 var(--body); background: #f3f6fb; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; max-height: 260px; overflow: auto; }
.cg-mail { border: 1px solid #bfe3ef; border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; background: #fbfdff; }
.cg-mail__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.cg-mail__head select, .cg-mail select { font: inherit; font-size: 13.5px; padding: 3px 6px; border: 1px solid #c6d3e3; border-radius: 6px; margin-left: 4px; }
.cg-wt-go { background: #ecf8f1; border: 1px solid #b5e2c8; border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; }
.cg-wt-go p { margin: 0 0 8px; font-size: 14.5px; }
.cg-finds-list { margin: 0 0 12px; padding-left: 22px; font-size: 15.5px; display: grid; gap: 4px; }
.cg-objs-plain { margin: 0 0 12px; padding-left: 18px; font-size: 14.5px; display: grid; gap: 6px; }
/* texting consent (call guide + prospect page) */
.cg-sms { margin: 0 0 12px; padding: 10px 12px; border: 1px dashed #c6d3e3; border-radius: 10px; }
.cg-check { display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.cg-check input { width: 16px; height: 16px; }
.cg-text { border-color: #cfd9ea; background: #fafcff; }
.sms .card-head .chip { font-size: 12px; }
.sms-pre { max-height: none; }
/* postcards */
.pc-steps { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; }
.pc-acts { align-items: center; margin-bottom: 10px; }
.pc-all { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.pc-tbl td:first-child, .pc-tbl th:first-child { width: 34px; }
.pc-addr { display: grid; gap: 8px; }
.pc-row { display: grid; grid-template-columns: minmax(180px, 1.2fr) minmax(0, 1.4fr) 92px auto auto; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.pc-row .pc-who { display: flex; flex-direction: column; min-width: 0; }
.pc-row .pc-who small { white-space: normal; }
.pc-row input { font: inherit; padding: 7px 9px; border: 1px solid #c6d3e3; border-radius: 8px; min-width: 0; }
.pc-zip { width: 92px; }
@media (max-width: 760px) { .pc-row { grid-template-columns: 1fr 1fr; } .pc-row .pc-who { grid-column: 1 / -1; } }
.pc-fail { margin: 6px 0 8px; padding-left: 18px; }
.addr-set { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 4px; margin: 0 0 14px; }
.addr-set legend { font-size: 13px; font-weight: 600; color: var(--soft); padding: 0 6px; }
.cg-more { margin: 0 0 12px; border: 1px dashed #c6d3e3; border-radius: 10px; padding: 8px 12px; }
.cg-more summary { cursor: pointer; font-size: 14px; color: var(--soft); }
.cg-more[open] summary { margin-bottom: 10px; }
.card--mail { border-color: #cfe3ec; }
