.cc-card {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e5e6e8;
  border-radius: 12px;
  width: 100%;
  padding: 18px 20px;
  color: #282a2c;
}
.cc-card * { box-sizing: border-box; }
.cc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cc-head h3 { margin: 0; color: #292b2d; font-size: 16px; font-weight: 600; line-height: 1.5; }
.cc-tag { padding: 3px 7px; border-radius: 5px; background: #f3f4f5; color: #5f666b; font-size: 12px; }
.cc-figure { display: block; margin: 10px 0 8px; font-size: clamp(24px, 6vw, 32px); font-weight: 550; letter-spacing: -.7px; font-variant-numeric: tabular-nums; }
.cc-list, .cc-steps { list-style: none; margin: 10px 0 0; padding: 0; }
.cc-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.cc-row + .cc-row { border-top: 1px solid #f0f1f2; }
.cc-coin, .cc-provider { width: 25px; height: 25px; object-fit: contain; flex: 0 0 25px; }
.cc-row-label { flex: 1; min-width: 0; }
.cc-row-value, .cc-detail { text-align: right; font-variant-numeric: tabular-nums; }
.cc-row b { display: block; color: #34383c; font-size: 14px; font-weight: 500; }
.cc-row small { display: block; margin-top: 3px; color: #71787e; font-size: 12px; }
.cc-detail, .cc-more { color: #60676d; font-size: 13px; }
.cc-more > summary { cursor: pointer; padding-top: 8px; }
.cc-details { margin: 13px 0 0; }
.cc-details > div { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 18px; padding: 6px 0; }
.cc-details dt, .cc-details dd { margin: 0; font-size: 13px; line-height: 1.55; }
.cc-details dt { color: #71787e; }
.cc-details dd { color: #363b40; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.cc-steps { display: grid; gap: 10px; padding: 13px 0; border-top: 1px solid #eceeef; border-bottom: 1px solid #eceeef; }
.cc-step { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #50565c; }
.cc-step-index { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #d9dde0; color: #727a80; font-size: 11px; flex: 0 0 20px; }
.cc-step small { margin-left: auto; font-size: 12px; color: #71787e; }
.cc-current .cc-step-index { background: #353a3f; border-color: #353a3f; color: #fff; }
.cc-complete .cc-step-index { background: #edf5ef; border-color: #dce9de; color: #497456; }
.cc-location { margin-top: 6px; }
.cc-note, .cc-reason { margin: 10px 0 0; font-size: 12px; color: #70777d; line-height: 1.65; }
.cc-reason { color: #7c614a; }
.cc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.cc-actions button { font-size: 13px; }
@media (max-width: 600px) {
  .cc-card { padding: 15px; }
  .cc-head { gap: 7px; flex-wrap: wrap; }
  .cc-details > div { gap: 9px; }
}

.route-details { font-size:13px; color:#6c655c; margin-top:10px; border-block:1px solid #eee9e3; }
.route-details summary { padding:12px 0; cursor:pointer; }
.route-details .cc-steps { border:0; margin:0; padding:4px 0 14px; }
.cc-next { font-size:14px; font-weight:550; margin:12px 0 0; }
.cc-actions button { min-height:44px; }

.cc-card { border-color:var(--hairline); border-radius:18px; }
.cc-task-row { width:100%; text-align:left; }
.cc-task-row .cc-row-label { text-align:left; }
.cc-task-row .cc-detail { color:#884c3d; }
.cc-link,.cc-quiet { color:#824a39; min-height:44px; font-size:14px; font-weight:550; }
.cc-link { display:block; padding:6px 0; }
.cc-link[hidden] { display:none; }
.cc-result { display:grid; margin-top:16px; gap:2px; }
.cc-result span { color:var(--secondary); font-size:13px; }
.cc-result strong { font-size:clamp(23px,6vw,30px); line-height:1.3; font-weight:550; letter-spacing:-.035em; }
.cc-actions { align-items:center; gap:6px 12px; }
.cc-actions .btn,.guide-submit { border-radius:12px; }
.cc-quiet { padding:4px; }
.guide-card { margin:0; }
.guide-card .cc-head { flex-wrap:nowrap; }
.guide-close { display:grid; place-items:center; width:44px; min-height:44px; margin:-10px -10px -10px 0; color:#736f68; font-size:22px; }
.guide-route,.guide-available,.guide-error { margin:4px 0 0; color:#746c64; font-size:12px; line-height:1.55; }
.guide-label,.guide-protocol { display:grid; gap:5px; font-size:13px; margin-top:15px; color:#38332e; }
.guide-protocol { border:0; margin-inline:0; padding:0; min-width:0; }
.guide-protocol legend { padding:0; margin-bottom:6px; }
.guide-protocol > div { display:flex; gap:8px; }
.guide-protocol label { position:relative; flex:1; cursor:pointer; }
.guide-protocol input { position:absolute; opacity:0; width:1px; height:1px; }
.guide-protocol span { min-height:44px; border:1px solid var(--hairline); border-radius:10px; display:grid; place-items:center; }
.guide-protocol input:checked + span { border-color:#a7604a; background:#fbefe8; color:#853e29; font-weight:600; }
.guide-protocol input:focus-visible + span { outline:2px solid var(--coral); outline-offset:2px; }
.guide-amount,.guide-address { width:100%; min-width:0; min-height:48px; padding:0 12px; background:#faf9f7; border:1px solid #ded8d1; border-radius:10px; }
.guide-amount { display:flex; align-items:center; gap:5px; }
.guide-amount input { min-width:0; flex:1; width:100%; outline:0; border:0; background:transparent; padding:8px 0; color:var(--text); font-size:20px; }
.guide-amount b { font-weight:550; }
.guide-address { font-family:inherit; font-size:16px; }
.guide-amount:focus-within,.guide-address:focus-visible { outline:2px solid #b7755e; outline-offset:1px; }
.guide-error { color:#9e3e26; margin-top:9px; }
.guide-error:empty { margin:0; }
.guide-submit { min-height:44px; margin-top:15px; width:100%; }

/* The same readout is used in the conversation and in task details. */
.cc-card {background:#fffefa;border-color:#deded6;border-radius:16px;padding:clamp(17px,3vw,25px);color:#272923;}
.cc-head {align-items:baseline;gap:8px;}
.cc-head h3 {font-size:17px;font-weight:620;letter-spacing:-.02em;line-height:1.38;}
.cc-tag {border:1px solid #deded6;background:transparent;color:#595e53;border-radius:22px;padding:2px 8px;font-size:11px;white-space:normal;}
.cc-figure,.cc-result strong {font-variant-numeric:tabular-nums;font-size:clamp(30px,5vw,42px);letter-spacing:-.06em;font-weight:540;}
.cc-result {padding:16px 0;margin:10px 0 0;border-block:1px solid #e3e1d8;}
.cc-result span,.cc-details dt,.cc-row small,.cc-note,.guide-route,.guide-available {color:#63685e;}
.cc-details {margin:12px 0 0;}
.cc-details > div {gap:10px;grid-template-columns:minmax(0, .9fr) minmax(0, 1.25fr);padding:5px 0;}
.cc-details dd {font-weight:510;color:#262923;}
.cc-link,.cc-quiet {color:#87402e;}
.cc-actions {border-top:1px solid #e3e1d8;padding-top:13px;align-items:center;}
.cc-actions .btn.primary,.guide-card .guide-submit {background:#292b25;color:#fff;border:0;min-height:47px;padding:10px 16px;line-height:1.35;border-radius:11px;font-weight:550;}
.cc-actions .btn.primary {margin-right:auto;}
.guide-route {margin-top:7px;font-size:13px;}
.guide-label,.guide-protocol {font-weight:550;gap:7px;}
.guide-amount,.guide-address {background:#fff;border-color:#cfcec5;}
.guide-amount input {padding-block:10px;font-size:24px;letter-spacing:-.025em;}
.guide-protocol span {border-color:#d8d8ce;background:#fff;}
.guide-protocol input:checked + span {background:#f8e8df;border-color:#a55340;}
@media(max-width:350px) {
 .cc-card {padding:15px;}
 .cc-quiet {padding-inline:1px;}
 .cc-head {flex-wrap:wrap;}
}

.guide-amount:has(input[aria-invalid="true"]),.guide-address[aria-invalid="true"],.guide-protocol input[aria-invalid="true"] + span {
  border-color:#a3432c;
}
.cc-card[data-plan-id]:focus-visible {outline:2px solid #ab5f49;outline-offset:3px;}
