/* Review-flow refinements: keep default states useful and remove legacy floating-detail behavior. */

/* Settings: useful profile/workspace surface, not a theme-picker dead end. */
.settings-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0 18px}
.settings-profile-card{padding:20px 22px;border:1px solid rgba(91,79,101,.12);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.46),rgba(255,255,255,.17));box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 14px 34px rgba(58,49,66,.055)}
.settings-profile-card h2,.settings-profile-card h3{margin:5px 0 7px}.settings-profile-card p{margin:0}.settings-profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.settings-appearance-compact{display:flex;align-items:center;gap:11px;min-width:250px;padding:12px 14px;border:1px solid var(--border);border-radius:16px;background:rgba(255,255,255,.26)}.settings-appearance-compact small{display:block;margin-top:3px}.settings-card{width:100%;font:inherit;color:inherit;text-align:left}

/* MPL category headers must read as real expandable sections, not tiny labels with mystery arrows. */
.mpl-category{margin:0 0 12px!important;border:1px solid rgba(84,74,94,.09)!important;border-radius:20px!important;overflow:hidden!important;background:linear-gradient(145deg,rgba(255,255,255,.27),rgba(255,255,255,.09))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.38)!important}
.mpl-category-head{width:100%!important;min-height:94px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:18px 22px!important;border:0!important;background:linear-gradient(145deg,rgba(255,255,255,.28),rgba(255,255,255,.09))!important;text-align:left!important;cursor:pointer!important;color:var(--ink)!important}
.mpl-category-head:hover{background:linear-gradient(145deg,rgba(255,255,255,.40),rgba(230,221,235,.14))!important}
.mpl-category-head h3{margin:5px 0 0!important;font-size:20px!important;letter-spacing:-.02em}.mpl-category-meta{display:flex!important;align-items:center!important;gap:10px!important;color:var(--muted)!important;font-size:12px!important}.mpl-category-meta b{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;border-radius:999px!important;background:rgba(255,255,255,.28)!important;border:1px solid rgba(91,79,101,.12)!important;transition:transform .15s ease!important}.mpl-category.collapsed .mpl-category-meta b{transform:rotate(-90deg)!important}.mpl-category.collapsed .mpl-category-body{display:none!important}

/* Family groups get their own layer; do not compress them into the category header. */
.mpl-family-cluster{margin:10px 12px 12px!important;border:1px solid rgba(91,79,101,.09)!important;border-radius:17px!important;background:rgba(255,255,255,.15)!important;overflow:hidden!important}.mpl-family-head{min-height:76px!important;padding:14px 18px!important}.mpl-family-head strong{font-size:18px!important}.mpl-family-members .mpl-service-row{padding:13px 18px!important}

/* Kill the old floating bottom-right service-detail card. Selected service details stay in the normal page flow. */
#mpldetail.mpl-detail-top,.mpl-detail-top{position:static!important;inset:auto!important;right:auto!important;bottom:auto!important;top:auto!important;left:auto!important;width:auto!important;max-width:none!important;max-height:none!important;z-index:auto!important;margin:14px 0 18px!important;transform:none!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 14px 34px rgba(55,48,62,.06)!important}

/* Price-list desk button: whole MPL popout is the persistent PRC reference, not a tiny per-service bubble. */
#mpl-desk-global{white-space:nowrap!important;background:linear-gradient(145deg,rgba(255,255,255,.44),rgba(219,207,226,.18))!important}

/* Cost Verification right side: action cards replace passive KPI furniture. */
.truth-actions{display:grid;grid-template-columns:1fr;gap:9px}.truth-action-card{appearance:none;width:100%;text-align:left;color:var(--ink);padding:14px 15px;border:1px solid rgba(90,78,100,.11);border-radius:15px;background:linear-gradient(145deg,rgba(255,255,255,.34),rgba(255,255,255,.13));cursor:pointer;transition:.14s ease}.truth-action-card:hover{transform:translateY(-1px);background:linear-gradient(145deg,rgba(255,255,255,.46),rgba(225,213,232,.16));border-color:rgba(103,86,116,.18)}.truth-action-card b{display:block;font-size:14px}.truth-action-card span{display:block;margin-top:4px;color:var(--muted);font-size:11px;line-height:1.35}.truth-action-card .k{margin-bottom:4px}

@media(max-width:850px){.settings-profile-grid{grid-template-columns:1fr}.settings-section{display:block}.settings-appearance-compact{margin-top:12px;min-width:0}.mpl-category-head{min-height:78px;padding:15px 16px!important}}
