/*
  Pages shown inside personal Settings (?view=personal-settings in a frame) read as part of it:
  Settings supplies the section title, so the page drops its own header, actions and outer spacing,
  and its background shows through. The frame is sized to this content by account.js.
*/
.settings-tool-embedded body > header,
.settings-tool-embedded body > footer,
.settings-tool-embedded .review-page-actions { display:none!important; }
.settings-tool-embedded, .settings-tool-embedded body { background:transparent!important; }
.settings-tool-embedded body { min-height:0!important; margin:0; padding:0!important; overflow:hidden; }
.settings-tool-embedded main { margin:0!important; }

/* Settings shows its own placeholder while this page loads; the page's loading notice stays hidden. */
.settings-tool-embedded .reviews-loading { display:none!important; }

/* Reviews: Settings titles the section, so the page's own headings step aside. */
.settings-tool-embedded :is(.review-page-header, #personal-reviews-panel .reviews-workspace-head) { display:none!important; }
.settings-tool-embedded #personal-reviews-panel { padding:0; }
.settings-tool-embedded #personal-reviews-panel .reviews-layout { margin-top:0; }
.settings-tool-embedded .reviews-account-main { width:100%!important; max-width:none!important; padding:0!important; }

/* Team profile: Settings carries the title and the "View team" link, so the page heading goes. */
.settings-tool-embedded .team-editor-main { width:100%; max-width:none; margin:0; padding:0!important; box-sizing:border-box; }
.settings-tool-embedded .team-workspace-heading { display:none!important; }
.settings-tool-embedded[data-team-mode=member] .team-detail, .settings-tool-embedded .team-detail { max-width:none; }
.settings-tool-embedded #team-form { border:1px solid #e2e6e7; border-radius:14px; box-shadow:0 1px 2px #14282f0a; }
/* Editor header: name and visibility on the left, actions on the right, on one white row. */
.settings-tool-embedded .profile-editor-head {
  flex-direction:row!important; flex-wrap:wrap; align-items:center!important; padding:20px 24px!important; background:#fff; border-bottom:1px solid #e2e6e7;
}
.settings-tool-embedded .profile-editor-head .team-kicker { display:none; }
.settings-tool-embedded .profile-editor-head h2 { margin:0 0 4px; color:#16191c; font:600 1.45rem/1.2 Fraunces, Georgia, serif; letter-spacing:-.02em; }
.settings-tool-embedded #profile-state { display:inline-block; padding:3px 10px; border-radius:999px; background:#e3eeec; color:#20483e; font:700 .75rem/1.4 Manrope, system-ui, sans-serif; }
.settings-tool-embedded #profile-state:empty { display:none; }
.settings-tool-embedded .team-editor-actions-compact { gap:8px; }
.settings-tool-embedded :is(.team-editor-actions-compact, .team-editor-actions) button[type=submit] { min-height:42px; padding:9px 18px; border:1px solid #17201f; border-radius:9px; background:#17201f; color:#fff; font:650 .9rem/1.3 Manrope, system-ui, sans-serif; }
.settings-tool-embedded .team-editor-actions-compact .team-secondary { min-height:42px; padding:9px 16px; border:1px solid #c9cfd2; border-radius:9px; background:#fff; color:#16191c; font:650 .9rem/1.3 Manrope, system-ui, sans-serif; }
.settings-tool-embedded .profile-section { padding:22px 24px 6px!important; }
