/* Account administration follows the portal's white surfaces and green action colours. */
.cm-root { max-width:1180px; color:var(--ink,#192921); }
.cm-root :is(button,input,[tabindex]):focus-visible { outline:3px solid var(--action-text,#006a4c); outline-offset:3px; }
.cm-root button { cursor:pointer; }
.cm-root button:disabled { cursor:default; }
.cm-context { display:flex; gap:8px; padding:6px; margin-bottom:24px; border:1px solid #dde5df; border-radius:16px; background:#fff; width:fit-content; max-width:100%; }
.cm-context button { display:flex; align-items:center; gap:12px; flex:1; padding:12px 18px; min-width:0; border:0; border-radius:11px; background:transparent; text-align:start; font:inherit; color:#52655c; }
.cm-context button:hover { background:#f4f8f6; color:#192921; }
.cm-context button[aria-current] { background:#e5f5ef; color:#006447; }
.cm-context-icon { flex:none; width:24px; height:24px; }
.cm-context-icon svg { width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.cm-context strong,.cm-context small { display:block; }
.cm-context strong { font-size:14px; line-height:1.4; }
.cm-context small { font-size:12px; line-height:1.5; margin-top:2px; }
.cm-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:20px; }
.cm-area { margin:0 0 5px; color:#52655c; font-size:12px; font-weight:650; }
.cm-heading h2 { margin:0; font-size:28px; line-height:1.2; letter-spacing:-.025em; font-style:normal; overflow-wrap:anywhere; }
.cm-heading h2+p { margin:8px 0 0; color:#52655c; font-size:14px; line-height:1.6; max-width:680px; }
.cm-heading-actions,.cm-pagination>div { display:flex; gap:8px; flex-wrap:wrap; flex-shrink:0; }
.cm-root .button { min-height:42px; white-space:normal; }
.cm-toolbar { display:flex; gap:12px; align-items:flex-end; padding:18px; border-radius:16px; border:1px solid #e1e7e3; background:white; }
.cm-toolbar label { display:grid; flex:1; gap:7px; min-width:180px; max-width:480px; font-size:12px; font-weight:650; }
.cm-toolbar input { width:100%; min-height:44px; box-sizing:border-box; border:1px solid #b9c9c0; border-radius:10px; padding:10px 12px; background:#fff; color:#192921; font:inherit; font-size:14px; font-weight:400; }
.cm-toolbar p { margin:0 0 5px auto; max-width:280px; color:#52655c; font-size:12px; line-height:1.6; }
.cm-status { margin:0; font-size:14px; color:#52655c; }
.cm-status:not(:empty) { margin:16px 0; }
.cm-error { color:var(--red,#b32642); }
.cm-list { display:grid; gap:12px; margin-top:16px; }
.cm-person { display:grid; grid-template-columns:minmax(180px,1.3fr) minmax(160px,1fr) minmax(110px,.65fr) auto; align-items:center; gap:16px; padding:20px; border:1px solid #e1e7e3; border-radius:16px; background:#fff; }
.cm-person-name { display:flex; gap:12px; align-items:center; min-width:0; }
.cm-avatar { display:grid; place-items:center; flex:none; width:42px; height:42px; border-radius:50%; background:#eff4f1; color:#27543e; font-weight:700; font-size:18px; }
.cm-person h3 { font-size:15px; margin:0; line-height:1.5; overflow-wrap:anywhere; }
.cm-person p,.cm-person small { display:block; margin:4px 0 0; color:#52655c; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.cm-contact { font-size:14px; overflow-wrap:anywhere; }
.cm-activity strong { font-size:14px; }
.cm-person-action { display:flex; gap:10px; align-items:center; justify-content:flex-end; flex-wrap:wrap; }
.cm-account-state { color:#52655c; font-size:11px; }
.cm-profile { padding:18px 20px; background:#fff; border:1px solid #e1e7e3; border-radius:16px; }
.cm-profile dl { display:flex; flex-wrap:wrap; gap:16px 40px; margin:0; }
.cm-profile p { margin:14px 0 0; max-width:760px; font-size:13px; line-height:1.6; color:#52655c; }
.cm-list-title { font-size:17px; margin:24px 0 0; }
.cm-order { padding:20px; border:1px solid #e1e7e3; border-radius:16px; background:#fff; }
.cm-order header { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.cm-order h3 { font-size:15px; margin:0; line-height:1.5; overflow-wrap:anywhere; }
.cm-order header small { display:block; color:#52655c; margin-top:4px; font-size:12px; }
.cm-order .status { font-size:12px; }
.cm-order-items { display:flex; flex-wrap:wrap; gap:6px 24px; font-size:14px; margin:16px 0; }
.cm-order-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px 24px; padding:16px 0; margin:0; }
.cm-root dt { font-size:11px; color:#52655c; margin-bottom:5px; }
.cm-root dd { font-size:14px; line-height:1.5; margin:0; overflow-wrap:anywhere; }
.cm-order footer { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; padding-top:16px; border-top:1px solid #e6ebe8; }
.cm-price { display:flex; flex-wrap:wrap; gap:10px 24px; }
.cm-price span { display:grid; gap:4px; color:#52655c; font-size:11px; }
.cm-price strong { color:#192921; font-size:14px; font-variant-numeric:tabular-nums; }
.cm-price .cm-price-total strong { color:#006447; font-size:17px; }
.cm-pagination { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:18px 0 24px; color:#52655c; font-size:13px; }
.cm-empty { background:#fff; border:1px solid #e1e7e3; border-radius:16px; padding:40px 24px; text-align:center; }
.cm-empty h3 { font-size:18px; margin:0 0 8px; }
.cm-empty p { color:#52655c; font-size:14px; line-height:1.6; margin:0; }
.cm-connected { display:grid; gap:8px; padding:18px 20px; border-top:1px solid #d6dfd9; }
.cm-connected strong { font-size:14px; }
.cm-connected p { max-width:800px; color:#52655c; font-size:13px; line-height:1.7; margin:0; }
.cm-connected>div { display:flex; gap:8px; flex-wrap:wrap; margin-top:4px; }
@media(max-width:1050px) { .cm-person { grid-template-columns:minmax(150px,1fr) minmax(150px,1fr); } .cm-person-action { justify-content:flex-start; } .cm-toolbar { flex-wrap:wrap; } .cm-toolbar p { margin:0; max-width:none; flex-basis:100%; } }
@media(max-width:600px) {
  .cm-context { width:auto; gap:4px; margin-bottom:20px; }
  .cm-context button { padding:10px; gap:7px; align-items:flex-start; }
  .cm-context-icon { width:20px; height:20px; }
  .cm-context small { font-size:11px; }
  .cm-heading { align-items:flex-start; flex-wrap:wrap; }
  .cm-heading h2 { font-size:24px; }
  .cm-heading-actions { flex-shrink:1; }
  .cm-toolbar,.cm-person,.cm-order,.cm-profile { padding:16px; }
  .cm-toolbar { gap:10px; }
  .cm-toolbar label { min-width:0; }
  .cm-person { grid-template-columns:1fr; gap:12px; }
  .cm-person-action { justify-content:space-between; }
  .cm-contact,.cm-activity { display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; }
  .cm-contact small,.cm-activity small { margin:0; }
  .cm-order-fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  .cm-pagination { flex-wrap:wrap; }
  .cm-pagination>div { margin-left:auto; }
}
