/* Website Purpose and travel tools per website (owner, 7 November 2026). */
/* A website without SAT's travel tools (Staff Publishing, websites made with Create Website): the travel-built
   dashboard cards and side menu items are hidden; the Website Purpose card shows only for such websites. */
body[data-travel-tools="off"] [data-travel-tool],
body[data-travel-tools="off"] .sat-side-menu [data-menu="keyword-plan"],
body[data-travel-tools="off"] .sat-side-menu [data-menu="affiliate-links"],
body[data-travel-tools="off"] .sat-side-menu [data-menu="affiliate-management"],
body[data-travel-tools="off"] .sat-side-menu [data-menu="promo-codes"],
body[data-travel-tools="off"] .sat-side-menu [data-menu="newsletter"],
/* The Earnings group holds only travel tools, so its heading goes too. */
body[data-travel-tools="off"] .sat-side-menu-group:has([data-menu="affiliate-links"]):has([data-menu="promo-codes"]) { display: none !important; }
body:not([data-travel-tools="off"]) [data-new-site-only] { display: none !important; }

/* Website Purpose screen: SAT's card colours for the conversation, the Add Website form look for answering. */
#website-purpose-view .status-card > p { color: #4b5563; margin: 0 0 12px; }
#website-purpose-status { font-weight: 600; color: #16324f !important; }
.website-purpose-conversation { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.website-purpose-message { border-radius: 12px; padding: 12px 16px; max-width: 75%; }
.website-purpose-message strong { font-size: 13px; }
.website-purpose-message p { margin: 4px 0 0; white-space: pre-wrap; line-height: 1.5; }
.website-purpose-sat { align-self: flex-start; background: #f1f6fb; border: 1px solid #8ba4bd; color: #1f2937; }
.website-purpose-sat strong { color: #16324f; }
.website-purpose-owner { align-self: flex-end; background: #16324f; color: #ffffff; }
#website-purpose-form,
#website-purpose-profile-area,
#website-setup-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
#website-purpose-profile-area,
#website-setup-area { margin-top: 20px; }
#website-purpose-profile-area[hidden],
#website-setup-area[hidden],
#website-setup-change[hidden] { display: none !important; }
:is(#website-purpose-profile-area, #website-setup-area) h3 { margin: 0; color: #16324f; }
:is(#website-purpose-profile-area, #website-setup-area) > p { margin: 0; color: #4b5563; }
#website-purpose-form label,
#website-setup-change label { font-size: 14px; font-weight: 600; color: #1f2937; }
#website-purpose-answer,
#website-purpose-profile,
#website-setup-request {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #1f2937;
    font: inherit;
    font-size: 15px;
    line-height: 1.5;
    resize: vertical;
}
.website-purpose-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
#website-purpose-form button,
#website-purpose-profile-area button,
#website-setup-area button {
    align-self: flex-start;
    padding: 12px 16px;
    border: 0;
    border-radius: 6px;
    background: #16324f;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
#website-purpose-form button:hover,
#website-purpose-profile-area button:hover,
#website-setup-area button:hover { background: #244d73; }
:is(#website-purpose-form, #website-purpose-profile-area, #website-setup-area) button:disabled { opacity: 0.6; cursor: not-allowed; }
:is(#website-purpose-form, #website-purpose-profile-area, #website-setup-area) button[hidden] { display: none; }
#website-purpose-message:empty,
#website-purpose-profile-message:empty,
#website-setup-message:empty,
#website-setup-status:empty { display: none; }
:is(#website-purpose-message, #website-purpose-profile-message, #website-setup-message) { margin: 0; font-weight: 600; color: #16324f; }
#website-setup-change { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
/* The plan, section by section, in SAT's card style. */
.website-setup-section { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 16px 20px; }
.website-setup-section h4 { margin: 0 0 8px; color: #16324f; font-size: 16px; }
.website-setup-section p { margin: 0 0 6px; color: #1f2937; line-height: 1.5; }
.website-setup-section ul { margin: 4px 0 0; padding-left: 20px; color: #1f2937; line-height: 1.5; }
.website-setup-section li + li { margin-top: 4px; }
.website-setup-item + .website-setup-item { margin-top: 12px; }
.website-setup-item strong { color: #16324f; }
.website-setup-muted { color: #4b5563; }
#website-setup-plan { display: flex; flex-direction: column; gap: 12px; }
#website-setup-plan:empty { display: none; }

/* Carry Out Plan: its own part of the set-up panel, with the step log. */
#website-setup-apply { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
#website-setup-apply[hidden] { display: none; }
#website-setup-apply h3 { margin: 0; color: #16324f; }
#website-setup-apply > p { margin: 0; color: #4b5563; }
#website-setup-apply-message { font-weight: 600; color: #16324f !important; }
#website-setup-apply-message:empty, .website-setup-log:empty { display: none; }
.website-setup-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.website-setup-log li { background: #ffffff; border: 1px solid #e2e8f0; border-left-width: 4px; border-radius: 8px; padding: 12px 16px; }
.website-setup-log li.website-setup-done { border-left-color: #15803d; }
.website-setup-log li.website-setup-skipped { border-left-color: #8ba4bd; }
.website-setup-log li.website-setup-problem { border-left-color: #b91c1c; }
.website-setup-log li.website-setup-waiting { border-left-color: #cbd5e1; color: #6b7280; }
.website-setup-log strong { display: block; color: #16324f; margin-bottom: 4px; }
.website-setup-log p { margin: 0; color: #1f2937; line-height: 1.5; }
.website-setup-log a { color: #16324f; font-weight: 600; }
.website-setup-links { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
