/* Client control center, part 2 (desk-cc2.js): Add-ons, SEO & Google, Domains & email. Built on
   desk.css's d-block / d-glassbox / d-line rows; only the pieces those sections add live here. */

.d-cc2 { gap: 22px; }
.d-cc2tight { gap: 8px; }
.d-cc2hint { margin: 0; }
.d-cc2p { margin: 0; font-size: 14px; }

/* a line's value in body text (d-line__v is mono), with tags after it */
.d-cc2v { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; text-align: right; font-weight: 500; overflow-wrap: anywhere; }
.d-cc2host { overflow-wrap: anywhere; color: var(--ink-900); }
.d-cc2rec { max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-cc2hours { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; font-size: 13.5px; }

/* the add-on card's "pays" row and action rows inside a glass box */
.d-cc2 .d-glassbox > .d-payrow { padding: 11px 16px; border-top: 0; }
.d-cc2acts { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid var(--line); }
.d-cc2panel { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 14px; border-top: 1px solid var(--line); background: rgba(31, 26, 22, .03); }
.d-cc2panel--top { border-top: 0; background: transparent; }
.d-cc2pane { display: flex; flex-direction: column; gap: 8px; }
.d-cc2item { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px; border-top: 1px solid var(--line); }
.d-glassbox > .d-cc2item:first-child, .d-glassbox > .d-cc2access:first-child { border-top: 0; }
.d-glassbox > .d-pad-s + .d-pad-s { padding-top: 0; }

/* notes: plain, bad (rust) and ok (sage) */
.d-cc2note { margin: 0; padding: 11px 16px; font-size: 14px; font-weight: 500; }
.d-cc2note--bad { background: var(--warn-bg); color: var(--warn-ink); }
.d-cc2note--ok { background: var(--sage-100); color: var(--sage-ink); }
.d-cc2diff ~ .d-cc2note { border-radius: 10px; }

/* inputs */
.d-cc2 .d-input, .d-cc2sheet .d-input { min-width: 0; background: var(--sand-50); box-shadow: inset 0 0 0 1px rgba(31, 26, 22, .1); }
.d-cc2 .d-input:focus, .d-cc2sheet .d-input:focus { box-shadow: inset 0 0 0 1.5px var(--ink-900); }
.d-cc2 .d-row > .d-input, .d-block__head .d-input { flex: 1 1 200px; }
.d-cc2ta { height: auto; padding: 10px 12px; resize: vertical; font: 400 14px/1.45 var(--body); width: 100%; }
.d-cc2 .d-cc2qty { width: 90px; align-self: flex-start; }
.d-cc2err { display: block; margin-top: 4px; font-size: 12.5px; color: var(--rust-600); }
.d-cc2check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.d-cc2check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--ink-900); flex: none; }
.d-switch:disabled { opacity: .55; cursor: default; }
.d-cc2confirm { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--ochre-100); }
.d-cc2confirm p { margin: 0; font-size: 14px; }
.d-cc2due { flex-wrap: wrap; font-weight: 400; }
.d-cc2due__act { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* collapsible rows (Google access, Add an add-on) */
.d-cc2access { border-top: 1px solid var(--line); }
.d-cc2access > .d-line { border-top: 0; }
.d-cc2more { padding: 0 16px 10px; }
.d-glassbox > .d-cc2more:only-child { padding-top: 10px; }
.d-cc2more > summary { cursor: pointer; width: fit-content; font: 600 12.5px var(--d-chrome); color: var(--rust-600); list-style: none; }
.d-cc2more > summary::-webkit-details-marker { display: none; }
.d-cc2more > summary::before { content: "›"; display: inline-block; width: 12px; transition: transform .15s; }
.d-cc2more[open] > summary::before { transform: rotate(90deg); }
.d-cc2more__body { display: flex; flex-direction: column; gap: 8px; padding: 10px 0 4px 12px; font-size: 13.5px; line-height: 1.5; }
.d-cc2more__body p { margin: 0; }
.d-cc2steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.d-cc2copy { display: flex; flex-direction: column; gap: 6px; }
.d-cc2copy__box { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 10px; background: var(--sand-50); box-shadow: inset 0 0 0 1px rgba(31, 26, 22, .1); }
.d-cc2copy__box code { flex: 1; min-width: 0; font: 500 12.5px var(--mono); overflow-wrap: anywhere; }

/* SEO results tiles */
.d-cc2tiles { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

/* Business Profile */
.d-cc2sub { margin: 6px 0 0; }
.d-cc2match { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 13.5px; }
.d-glassbox > .d-cc2match:first-child { border-top: 0; }
.d-cc2match__v { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.d-cc2match__tag { justify-self: end; }
@media (max-width: 1180px) { .d-cc2match { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .d-cc2match__tag { justify-self: start; } }
.d-cc2diff { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d-cc2diff__col { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 10px; background: var(--d-box); font-size: 13.5px; }
.d-cc2diff__col:last-child { background: var(--sage-100); }
.d-cc2rev { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px; border-top: 1px solid var(--line); }
.d-cc2stars { color: var(--ochre); letter-spacing: .05em; }
.d-cc2rev__text { margin: 0; font-size: 14px; line-height: 1.5; }
.d-cc2rev__reply { margin: 0; display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-left: 3px solid var(--ink-900); background: rgba(31, 26, 22, .04); border-radius: 0 8px 8px 0; font-size: 13.5px; }

/* the sheet for Spanish review and the brand kit */
.d-cc2sheet { width: 720px; }
.d-cc2tr { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 12px; background: var(--d-box); }
.d-cc2tr.is-todo { box-shadow: inset 3px 0 0 var(--rust-600); }
.d-cc2tr__en { margin: 0; font-size: 14px; color: var(--ink-600); }
.d-cc2swatch { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; font: 500 12px var(--d-chrome); color: var(--ink-600); text-transform: capitalize; }
.d-cc2swatch input[type="color"] { width: 52px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: none; cursor: pointer; }
.d-cc2two { grid-template-columns: 1fr 1fr; }
.d-cc2file { position: relative; }
