/* ui-concierge.css (#2931 appcCONC): the concierge kit, on the app theme tokens. Premium defaults (Jon 10-30): 20px padding,
   16px between cards, 15-16px body, 44px targets, one clear hierarchy, nothing truncated. */
.cg{display:flex;flex-direction:column;gap:16px;min-width:0;max-width:760px;margin:0 auto;width:100%}
.cg-title{margin:4px 0 0;font-size:22px;line-height:1.25;font-weight:800;font-family:var(--hfont,var(--font,inherit));color:var(--text)}
/* s5myclients: My clients */
.cg-cl-q input{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--bg);color:var(--text);font:inherit}
.cg-cl{padding:0}
.cg-cl-top{display:flex;align-items:center;gap:12px;width:100%;padding:14px;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.cg-cl-top>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.cg-cl-top small{color:var(--muted);font-size:13px}
.cg-cl-n{font-size:13px;color:var(--muted);white-space:nowrap}
.cg-cl-notes{display:flex;flex-direction:column;gap:10px;padding:0 14px 14px}
.cg-cl-note{border-left:3px solid var(--primary);padding:2px 0 2px 10px}
.cg-cl-note small{color:var(--muted);font-size:12px}
.cg-cl-note p{margin:2px 0 0;font-size:15px;line-height:1.45;white-space:pre-wrap}
.cg-cl-add textarea{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--bg);color:var(--text);font:inherit;resize:vertical}
.cg-cl-hint{font-size:13px}
.cg-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* s5memrev: Person reviews */
.cg-mrev-sum{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.cg-mrev-avg{font-size:34px;line-height:1;font-weight:800;font-family:var(--hfont,var(--font,inherit));color:var(--text)}
.cg-mrev-n{font-size:14px;color:var(--muted)}
.cg-mrev-mini{gap:6px}
.cg-mrev-mini .cg-mrev-avg{font-size:16px;font-weight:700}
.cg-mrev-mini .cg-stars{font-size:15px}
.cg-stars{display:inline-flex;gap:2px;font-size:18px;line-height:1;color:var(--border)}
.cg-star.on{color:var(--primary,#f5b301)}
.cg-mrev-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.cg-mrev-top small{font-size:13px;color:var(--muted)}
.cg-mrev-text{margin:6px 0 0;font-size:15px;line-height:1.5;color:var(--text)}
.cg-sub{margin:14px 0 0;font-size:17px;line-height:1.3;font-weight:700;font-family:var(--hfont,var(--font,inherit));color:var(--text)}   /* s5revpast: Past visits */
.cg-sub{margin:12px 0 0;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.cg-card{display:flex;flex-direction:column;gap:16px;padding:20px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}
.cg-card.is-pending{border-color:color-mix(in srgb,var(--primary) 45%,var(--border));box-shadow:0 1px 0 color-mix(in srgb,var(--primary) 10%,transparent)}
.cg-head{display:flex;align-items:flex-start;gap:14px;min-width:0}
.cg-head>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.cg-head b{font-size:16px;line-height:1.35;font-weight:700;color:var(--text);overflow-wrap:anywhere}
.cg-head small{font-size:15px;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}
.cg-ico{flex:0 0 40px;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--primary) 12%,transparent);color:var(--primary)}
.cg-ico svg{width:20px;height:20px}
.cg-pill{flex:none;align-self:flex-start;font-size:12.5px;font-weight:700;padding:5px 10px;border-radius:999px;background:color-mix(in srgb,var(--muted) 14%,transparent);color:var(--muted);white-space:nowrap}
.cg-pill.is-approved{background:color-mix(in srgb,var(--ok,#12b76a) 14%,transparent);color:var(--ok-ink,#067647)}
.cg-lbl{display:block;font-size:13px;font-weight:600;color:var(--muted);margin-bottom:8px}
.cg-fields>div{display:flex;flex-wrap:wrap;gap:8px}
.cg-chip{font-size:14px;font-weight:600;padding:6px 12px;border-radius:999px;border:1px solid var(--border);color:var(--text);background:var(--bg)}
.cg-why{margin:0;font-size:15px;line-height:1.5;color:var(--text)}.cg-why span{display:block;font-size:13px;font-weight:600;color:var(--muted);margin-bottom:4px}
.cg-say{margin:0;padding:14px 16px;border-radius:calc(var(--radius) - 4px);background:var(--bg);font-size:15.5px;line-height:1.55;color:var(--text)}
.cg-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cg-btn{min-height:48px;justify-content:center;font-size:15px;font-weight:700;gap:8px}
.cg-btn svg{width:18px;height:18px}
.cg-note{margin:0;font-size:15px;line-height:1.5;color:var(--muted);display:flex;align-items:center;gap:6px}
.cg-note svg{width:16px;height:16px;color:var(--ok,#12b76a)}
.cg-wd{align-self:flex-start;min-height:44px}
.cg-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.cg-rev:empty{display:none}
.cg-form{display:flex;flex-direction:column;gap:16px;padding-top:16px;border-top:1px solid var(--border)}
.cg-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}
.cg-f.is-wide{grid-column:1/-1}
.cg-f input{width:100%;min-height:46px;font-size:16px}
.cg-area{margin:0;padding:12px 14px;border-radius:calc(var(--radius) - 4px);background:color-mix(in srgb,var(--warn,#f79009) 12%,transparent);color:var(--text);font-size:15px}
.cg-empty{padding:28px 20px;text-align:center;border:1px dashed var(--border);border-radius:var(--radius);color:var(--muted)}
.cg-empty b{display:block;font-size:16px;color:var(--text);margin-bottom:6px}.cg-empty p{margin:0;font-size:14.5px;line-height:1.5}
@media (max-width:560px){.cg-two{grid-template-columns:1fr}.cg-grid{grid-template-columns:1fr}.cg-row .cg-btn{width:100%}}
/* s5sharewd (#2931): a withdrawn approval has its own pill; on a narrow screen the pill drops under the name instead of squeezing it */
.cg-pill.is-withdrawn{background:color-mix(in srgb,var(--danger,#d92d20) 12%,transparent);color:var(--danger-ink,#b42318)}
.cg-head{flex-wrap:wrap}.cg-head>div{flex:1 1 170px}

.cg-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.cg-acts .cg-btn{min-height:44px;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.cg-tk{display:flex;flex-direction:column;gap:12px}.cg-tk-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:inherit;font:inherit;text-align:left;cursor:pointer}.cg-tk-row span:first-child{display:flex;flex-direction:column;min-width:0}.cg-tk-row small,.cg-tk-m small{color:var(--muted)}
.cg-tk-st{flex:none;padding:3px 10px;border-radius:999px;background:color-mix(in srgb,var(--primary) 14%,transparent);color:var(--primary);font-size:12px;font-weight:700}.cg-tk-st.is-done{background:color-mix(in srgb,var(--muted) 16%,transparent);color:var(--muted)}
.cg-tk-back{align-self:flex-start;min-height:44px;padding:0;border:0;background:none;color:var(--primary);font:inherit;font-weight:700;cursor:pointer}.cg-tk-hd{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.cg-tk-f{display:flex;flex-direction:column;gap:12px}
.cg-tk-m{display:flex;flex-direction:column;gap:4px;max-width:88%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);overflow-wrap:anywhere}.cg-tk-m.is-mine{align-self:flex-end;background:color-mix(in srgb,var(--primary) 8%,var(--surface))}
/* ds2desk #6616: mytickets in desk mode (a team app's cases) */
.cg-tk-filter{align-self:flex-start;min-height:44px;padding:8px 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:inherit;font:inherit}.cg-tk-sla{display:inline-block;white-space:nowrap;align-self:flex-start;margin-top:4px;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:700;background:color-mix(in srgb,var(--muted) 14%,transparent);color:var(--muted)}.cg-tk-sla.is-soon{background:color-mix(in srgb,#d97706 16%,transparent);color:#b45309}.cg-tk-sla.is-breached{background:color-mix(in srgb,#dc2626 14%,transparent);color:#b91c1c}
.cg-tk-m.is-note{border-style:dashed;background:color-mix(in srgb,#f59e0b 9%,var(--surface))}.cg-tk-slaline{margin-top:-8px}.cg-tk-act{align-self:center;color:var(--muted);font-size:13px;text-align:center}.cg-tk-tools{display:flex;flex-wrap:wrap;gap:8px}.cg-tk-stf{flex-direction:row;align-items:flex-end;flex-wrap:wrap}.cg-tk-stf .u-field{flex:1 1 180px}
/* s4myrewards #6544 */
.cg-rw-h{display:flex;flex-direction:column;border-top:1px solid var(--border);padding-top:8px}.cg-rw-h>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;font-size:14.5px;color:var(--text)}.cg-rw-h small{color:var(--muted);white-space:nowrap}
/* s4habits #7179 */
.cg-hb-strip{display:grid;grid-template-columns:repeat(14,1fr);gap:4px;margin:10px 0}.cg-hb-strip i,.cg-hb-leg i{display:block;height:18px;border-radius:4px;background:var(--border)}.cg-hb-leg i{width:14px;height:14px;display:inline-block;margin-right:6px;vertical-align:-2px}
.cg-hb i.s-done,.cg-hb-leg i.s-done{background:var(--primary)}.cg-hb i.s-partly,.cg-hb-leg i.s-partly{background:linear-gradient(to top,var(--primary) 50%,var(--border) 50%)}.cg-hb i.s-missed,.cg-hb-leg i.s-missed{background:transparent;border:2px solid #B3261E}.cg-hb i.s-paused,.cg-hb-leg i.s-paused{background:repeating-linear-gradient(45deg,var(--border),var(--border) 3px,transparent 3px,transparent 6px)}.cg-hb i.s-not_scheduled,.cg-hb-leg i.s-not_scheduled,.cg-hb i.s-before{background:transparent;border:1px dashed var(--border)}.cg-hb i.s-open{background:transparent;border:1px solid var(--border)}.cg-hb i.s-today{background:transparent;border:2px solid var(--primary)}
.cg-hb-leg{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13.5px;color:var(--muted);margin:4px 0 10px}.cg-hb-do{display:flex;gap:8px;align-items:center}.cg-hb-do input{flex:1;min-height:44px;padding:0 12px;border:1px solid var(--border);border-radius:8px;font:inherit;background:var(--surface);color:var(--text)}.cg-hb.is-paused{opacity:.82}
.cg-hb-days{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.cg-hb-days label{display:flex;align-items:center;gap:4px;font-size:14.5px;padding:6px 10px;border:1px solid var(--border);border-radius:8px}.cg-hb-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cg-jn-aud{display:flex;gap:6px;align-items:center}.cg-jn-aud svg{width:15px;height:15px}.cg-jn-share{display:flex;gap:8px;align-items:center;font-size:15px;margin:6px 0}.cg-jn-b{font-size:15.5px;line-height:1.55;margin:6px 0;color:var(--text)}.cg-jn-b p{margin:0}
.cg-hb-sum{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.cg-hb-sum>.u-stat{background:var(--surface);border-radius:var(--radius,12px);padding:14px 16px}@media(min-width:720px){.cg-hb-sum{grid-template-columns:repeat(4,1fr)}}
/* s1deskwide (#7606, UNIVERSAL): the team desk (mytickets in desk mode) fills its parent like the components around it; the member view keeps its reading width */
.cg.cg-desk{max-width:none;margin:0}.cg-desk>.cms-cselect,.cg-desk>.cg-tk-filter{max-width:260px}
/* s4mylinks (#7660 P2, UNIVERSAL): My links + My domains */
.cg-lk-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cg-lk-top .cg-title{margin:0}
.cg-lk-filter{display:flex;gap:8px}.cg-lk-filter input{flex:1;min-width:0}.cg-lk-filter input,.cg-lk-filter select{font:inherit;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius,12px);background:var(--surface);color:var(--text)}
.cg-lk-card.is-off{opacity:.75}.cg-lk-main{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.cg-lk-short{font-weight:600;color:var(--primary);text-decoration:none;overflow-wrap:anywhere}.cg-lk-short:hover{text-decoration:underline}
.cg-lk-dest{display:flex;align-items:center;gap:6px;color:var(--muted);overflow-wrap:anywhere}.cg-lk-dest svg{width:14px;height:14px;flex:none}
.cg-lk-meta{display:flex;flex-wrap:wrap;gap:6px 16px;color:var(--muted);font-size:14px}.cg-lk-meta b{color:var(--text);font-size:16px}
.cg-lk-more summary{cursor:pointer;color:var(--muted);font-size:14.5px;padding:4px 0}.cg-lk-more[open] summary{margin-bottom:10px}
.cg-lk-err{margin:0;color:var(--danger-ink,#b42318);font-size:14px}
.cg-lk-chart{display:flex;align-items:flex-end;gap:3px;height:120px;padding:8px 0;border-bottom:1px solid var(--border)}.cg-lk-chart i{flex:1;min-width:2px;background:var(--primary);border-radius:3px 3px 0 0;opacity:.85}
.cg-lk-tops{display:grid;grid-template-columns:1fr 1fr;gap:16px}@media (max-width:560px){.cg-lk-tops{grid-template-columns:1fr}}
.cg-lk-top5 div{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid var(--border);font-size:14.5px}.cg-lk-top5 div:last-child{border-bottom:0}
.cg-lkd-rec{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border:1px dashed var(--border);border-radius:var(--radius,12px);margin-top:8px}
.cg-lkd-rec>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14.5px}.cg-lkd-rec>div>span{min-width:52px;color:var(--muted)}.cg-lkd-rec b{overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
@media (max-width:560px){.cg-lk-card .cg-acts .cg-btn{flex:1 1 calc(50% - 8px)}}
.cg-lk-form .cg-lk-del{margin-left:auto;color:var(--danger-ink,#b42318)}
/* r4lhab #7179: habit card clarity: this week count, strip caption + ends, today ring, log label, cue help */
.cg-hb-help{display:block;font-size:13px;color:var(--muted);margin-top:4px;font-weight:400}.cg-hb-week{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:10px 0 2px}.cg-hb-week .k{font-size:12.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.cg-hb-week b{font-size:17px;color:var(--text)}.cg-hb-seg{display:flex;gap:3px;flex:1 1 100%;min-width:0}.cg-hb-seg i{flex:1;height:8px;border-radius:4px;background:var(--border);max-width:48px}.cg-hb-seg i.on{background:var(--primary)}.cg-hb-cap{font-size:13px;color:var(--muted);margin:10px 0 -4px}.cg-hb-ends{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin:-6px 0 10px}.cg-hb-strip i.is-today,.cg-hb-leg i.is-today{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--primary)}.cg-hb-leg b{flex:1 1 100%;font-size:13px;color:var(--text)}.cg-hb-dol{font-size:13.5px;font-weight:600;color:var(--text);white-space:nowrap}.cg-hb-strip{min-width:0}.cg-hb-leg i.s-open,.cg-hb-leg i.is-today{background:transparent;border:1px solid var(--border)}.cg-hb-leg i.is-today{border:2px solid var(--primary);box-shadow:none}.cg-hb-do input{min-width:0;width:100%}.cg-hb-do .u-button{flex:0 0 auto}.cg-hb-leg{margin:0 0 12px}
