:root {
    --sy-ink: #171529;
    --sy-ink-soft: #292742;
    --sy-violet: #7569c9;
    --sy-cyan: #16cbd4;
    --sy-orange: #7c3aed;
    --sy-cloud: #f7f7fb;
    --sy-white: #ffffff;
    --sy-muted: #6f7086;
    --sy-line: rgba(23, 21, 41, .11);
    --sy-shadow: 0 24px 70px rgba(23, 21, 41, .13);
    --sy-radius: 24px;
    --sy-page-gutter: clamp(24px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--sy-cloud);
    color: var(--sy-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px;
    overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
    background: #fff; clip: auto !important; clip-path: none; color: #111; display: block; font-size: 14px;
    height: auto; left: 12px; padding: 12px 16px; top: 12px; width: auto; z-index: 100000;
}
.sytelytics-site-shell { width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--sy-page-gutter); }
.sytelytics-site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(23, 21, 41, .93); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-bar .sytelytics-site-header { top: 32px; }
.sytelytics-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.sytelytics-site-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font-weight: 850; font-size: 20px; letter-spacing: -.02em; }
.sytelytics-site-brand .custom-logo { max-height: 52px; width: auto; }
.sytelytics-site-icon {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.sytelytics-site-wordmark { width: min(460px, 100%); border-radius: 22px; box-shadow: var(--sy-shadow); }
.sytelytics-site-nav { display: flex; align-items: center; gap: 25px; }
.sytelytics-menu, .sytelytics-footer-menu { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.sytelytics-menu a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 14px; font-weight: 700; }
.sytelytics-menu a:hover, .sytelytics-menu .current-menu-item > a { color: #fff; }
.sytelytics-nav-cta, .sytelytics-public-button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px;
    border-radius: 14px; text-decoration: none; font-size: 14px; font-weight: 850; transition: .2s ease;
}
.sytelytics-nav-cta { background: linear-gradient(135deg, var(--sy-cyan), #78e1d3); color: var(--sy-ink); box-shadow: 0 8px 26px rgba(22,203,212,.22); }
.sytelytics-public-button.primary { color: #fff; background: linear-gradient(135deg, var(--sy-violet), #ff8b4d); box-shadow: 0 13px 30px rgba(255,99,53,.24); }
.sytelytics-public-button.secondary { color: #fff; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); }
.sytelytics-nav-cta:hover, .sytelytics-public-button:hover { transform: translateY(-2px); }
.sytelytics-site-menu-toggle { display: none; width: 46px; height: 42px; padding: 9px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); }
.sytelytics-site-menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 4px 0; background: #fff; border-radius: 999px; }
.sytelytics-public-hero { position: relative; overflow: hidden; padding: 92px 0 104px; background: radial-gradient(circle at 16% 26%, rgba(22,203,212,.28), transparent 32%), radial-gradient(circle at 85% 76%, rgba(255,99,53,.22), transparent 32%), linear-gradient(140deg, #151329, #29295d 62%, #5e58a5); color: #fff; }
.sytelytics-public-hero::after { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; border: 1px solid rgba(255,255,255,.09); right: -170px; top: -190px; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.sytelytics-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr); align-items: center; gap: clamp(48px, 7vw, 110px); }
.sytelytics-kicker { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 900; color: var(--sy-cyan); }
.sytelytics-hero-copy h1 { max-width: 780px; margin: 17px 0 24px; font-size: clamp(48px, 7vw, 86px); line-height: .96; letter-spacing: -.065em; }
.sytelytics-hero-copy > p { max-width: 720px; margin: 0; color: rgba(255,255,255,.75); font-size: clamp(17px, 2vw, 20px); line-height: 1.72; }
.sytelytics-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.sytelytics-trust-line { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; color: rgba(255,255,255,.68); font-size: 12px; font-weight: 750; }
.sytelytics-trust-line span::before { content: "✓"; color: var(--sy-cyan); margin-right: 7px; }
.sytelytics-hero-visual { position: relative; padding: 44px 0; }
.sytelytics-hero-logo-lockup {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    transform: rotate(1.7deg);
}
.sytelytics-hero-logo-lockup > img {
    display: block;
    width: 100%;
    border-radius: 26px;
    box-shadow: 0 36px 100px rgba(8,7,22,.36);
}
.sytelytics-wordpress-badge {
    position: absolute;
    top: -18px;
    right: -18px;
    display: grid;
    place-items: center;
    width: clamp(64px, 7vw, 88px);
    height: clamp(64px, 7vw, 88px);
    border: 5px solid rgba(255,255,255,.96);
    border-radius: 50%;
    background: #21759b;
    color: #fff;
    box-shadow: 0 18px 42px rgba(8,7,22,.32);
    transform: rotate(-1.7deg);
}
.sytelytics-wordpress-badge .dashicons {
    width: auto;
    height: auto;
    font-size: clamp(44px, 5vw, 62px);
    line-height: 1;
}
.sytelytics-floating-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; min-width: 160px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.17); border-radius: 16px; background: rgba(23,21,41,.7); backdrop-filter: blur(18px); box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.sytelytics-floating-card strong { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--sy-cyan), #8ef0dd); color: var(--sy-ink); }
.sytelytics-floating-card span { font-size: 12px; font-weight: 800; }
.sytelytics-floating-card.card-one { left: -32px; top: 3px; }
.sytelytics-floating-card.card-two { right: -22px; bottom: 11px; }
.sytelytics-floating-card.card-three { left: 14%; bottom: -25px; }
.sytelytics-section { padding: 100px 0; }
.sytelytics-section-heading { max-width: 820px; margin-bottom: 42px; }
.sytelytics-section-heading h2 { margin: 12px 0 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.06; letter-spacing: -.05em; }
.sytelytics-section-heading > p { color: var(--sy-muted); font-size: 18px; }
.sytelytics-workspace-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.sytelytics-public-card { position: relative; min-height: 310px; padding: 38px; border: 1px solid var(--sy-line); border-radius: var(--sy-radius); background: #fff; box-shadow: 0 18px 55px rgba(23,21,41,.07); overflow: hidden; }
.sytelytics-public-card::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; right: -65px; bottom: -70px; background: radial-gradient(circle, rgba(117,105,201,.2), transparent 70%); }
.sytelytics-public-card.featured { background: linear-gradient(145deg, #1a1830, #343267); color: #fff; border-color: transparent; }
.sytelytics-card-label { display: inline-flex; border-radius: 999px; padding: 7px 11px; background: rgba(22,203,212,.12); color: var(--sy-cyan); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; font-weight: 900; }
.sytelytics-public-card h3 { margin: 55px 0 16px; font-size: 34px; letter-spacing: -.04em; }
.sytelytics-public-card p { max-width: 580px; color: var(--sy-muted); font-size: 16px; line-height: 1.7; }
.sytelytics-public-card.featured p { color: rgba(255,255,255,.68); }
.sytelytics-section-dark { color: #fff; background: #171529; }
.sytelytics-section-heading.light { color: #fff; }
.sytelytics-process-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.09); border-radius: var(--sy-radius); overflow: hidden; }
.sytelytics-process-grid article { min-height: 250px; padding: 31px; background: #171529; }
.sytelytics-process-grid article > span { color: var(--sy-violet); font-size: 12px; font-weight: 900; }
.sytelytics-process-grid h3 { margin: 60px 0 12px; font-size: 25px; }
.sytelytics-process-grid p { color: rgba(255,255,255,.57); font-size: 14px; line-height: 1.7; }
.sytelytics-principles-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(50px,8vw,120px); align-items: start; }
.sytelytics-principles-list { border-top: 1px solid var(--sy-line); }
.sytelytics-principles-list article { display: grid; grid-template-columns: 55px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--sy-line); }
.sytelytics-principles-list article > strong { color: var(--sy-violet); }
.sytelytics-principles-list h3 { margin: 0 0 7px; font-size: 21px; }
.sytelytics-principles-list p { margin: 0; color: var(--sy-muted); }
.sytelytics-cta-section { padding: 0 0 100px; }
.sytelytics-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 48px; border-radius: var(--sy-radius); background: linear-gradient(135deg, #2a2753, #6f65be); color: #fff; box-shadow: var(--sy-shadow); }
.sytelytics-cta-card h2 { margin: 8px 0 0; font-size: clamp(32px,4vw,50px); letter-spacing: -.04em; }
.sytelytics-content-area { padding: 82px 0 100px; }
.sytelytics-content-shell { width: min(1080px, 100%); margin-inline: auto; padding-inline: var(--sy-page-gutter); }
.sytelytics-content-card { padding: clamp(28px,5vw,60px); border: 1px solid var(--sy-line); border-radius: var(--sy-radius); background: #fff; box-shadow: 0 18px 55px rgba(23,21,41,.06); }
.sytelytics-content-card + .sytelytics-content-card { margin-top: 24px; }
.sytelytics-entry-header h1, .sytelytics-content-card h1 { margin-top: 0; font-size: clamp(38px,5vw,62px); line-height: 1.06; letter-spacing: -.05em; }
.sytelytics-entry-content { line-height: 1.75; }
.sytelytics-entry-content > * { max-width: 100%; }
.sytelytics-full-width-page { width: 100%; padding: clamp(42px, 6vw, 88px) 0 clamp(64px, 8vw, 110px); }
.sytelytics-full-width-inner { width: min(1440px, 100%); margin-inline: auto; padding-inline: var(--sy-page-gutter); }
.sytelytics-full-width-inner > article { min-width: 0; }
.sytelytics-full-width-inner > article > :first-child { margin-top: 0; }
.sytelytics-full-width-inner > article > :last-child { margin-bottom: 0; }
.sytelytics-not-found { text-align: center; }
/* v0.1.6: consistent page gutters for every non-application content surface. */
body:not(.sytelytics-app-page) main:not(.sytelytics-public-hero) > article,
body:not(.sytelytics-app-page) main:not(.sytelytics-public-hero) > .page,
body:not(.sytelytics-app-page) .site-main > article {
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: var(--sy-page-gutter);
}
body:not(.sytelytics-app-page) .sytelytics-content-card {
    overflow-wrap: anywhere;
}
body:not(.sytelytics-app-page) .alignfull {
    margin-left: calc(-1 * var(--sy-page-gutter));
    margin-right: calc(-1 * var(--sy-page-gutter));
    width: calc(100% + (2 * var(--sy-page-gutter)));
    max-width: none;
}

.sytelytics-site-footer { padding: 70px 0 24px; background: #11101f; color: #fff; }
.sytelytics-footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 50px; padding-bottom: 44px; }
.sytelytics-footer-grid p { max-width: 440px; color: rgba(255,255,255,.55); }
.sytelytics-footer-menu { display: block; margin-top: 12px; }
.sytelytics-footer-menu li { margin: 8px 0; }
.sytelytics-footer-menu a { color: rgba(255,255,255,.6); text-decoration: none; }
.sytelytics-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.48); font-size: 12px; }

@media (max-width: 980px) {
    .sytelytics-hero-grid { grid-template-columns: 1fr; }
    .sytelytics-hero-visual { max-width: 720px; }
    .sytelytics-process-grid { grid-template-columns: repeat(2,1fr); }
    .sytelytics-principles-grid { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
    .admin-bar .sytelytics-site-header { top: 46px; }
    .sytelytics-site-menu-toggle { display: block; }
    .sytelytics-site-nav { display: none; position: absolute; top: 69px; left: 18px; right: 18px; align-items: stretch; flex-direction: column; padding: 20px; border-radius: 18px; background: #24213f; box-shadow: var(--sy-shadow); }
    .sytelytics-site-nav.is-open { display: flex; }
    .sytelytics-menu { align-items: stretch; flex-direction: column; gap: 4px; }
    .sytelytics-menu a { display: block; padding: 10px 6px; }
    .sytelytics-nav-cta { width: 100%; }
    .sytelytics-public-hero { padding-top: 66px; }
    .sytelytics-workspace-cards, .sytelytics-process-grid { grid-template-columns: 1fr; }
    .sytelytics-floating-card { display: none; }
    .sytelytics-cta-card, .sytelytics-footer-bottom { align-items: flex-start; flex-direction: column; }
    .sytelytics-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    :root { --sy-page-gutter: 20px; }
    .sytelytics-site-shell, .sytelytics-content-shell, .sytelytics-full-width-inner { width: 100%; }
    .sytelytics-header-inner { min-height: 68px; }
    .sytelytics-site-icon { width: 40px; height: 40px; }
    .sytelytics-wordpress-badge { top: -10px; right: -7px; border-width: 3px; }
    .sytelytics-hero-copy h1 { font-size: 49px; }
    .sytelytics-public-card, .sytelytics-cta-card { padding: 28px; }
    .sytelytics-process-grid article { min-height: 220px; }
}

/* Sytelytics additions */
.sytelytics-dashboard-preview{position:relative;z-index:2;width:100%;min-height:460px;padding:24px;border-radius:30px;background:rgba(11,18,36,.86);border:1px solid rgba(255,255,255,.16);box-shadow:0 36px 100px rgba(3,8,24,.38);backdrop-filter:blur(20px);transform:rotate(1.2deg)}
.sytelytics-dashboard-preview .preview-top{display:flex;gap:8px;margin-bottom:18px}.sytelytics-dashboard-preview .preview-top span{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.28)}
.sytelytics-dashboard-preview .preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sytelytics-dashboard-preview .preview-card{position:relative;min-height:112px;padding:18px;border-radius:20px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);overflow:hidden}.sytelytics-dashboard-preview .preview-card.tall{min-height:238px}.sytelytics-dashboard-preview .preview-card.wide{grid-column:1 / -1;min-height:150px;background:linear-gradient(135deg,rgba(22,203,212,.12),rgba(124,58,237,.16))}.sytelytics-dashboard-preview strong{display:block;font-size:24px;color:#fff}.sytelytics-dashboard-preview em{display:block;margin-top:8px;color:rgba(255,255,255,.62);font-style:normal;font-size:13px}.sytelytics-dashboard-preview .chart-line{display:block;height:96px;margin-top:30px;border-radius:18px;background:linear-gradient(135deg,rgba(22,203,212,.18),rgba(124,58,237,.32));position:relative}.sytelytics-dashboard-preview .chart-line::after{content:"";position:absolute;left:12%;right:8%;top:50%;height:3px;border-radius:99px;background:linear-gradient(90deg,#16cbd4,#7c3aed);box-shadow:0 0 22px rgba(22,203,212,.42);transform:skewY(-10deg)}.sytelytics-dashboard-preview .heat-dot{position:absolute;width:22px;height:22px;border-radius:50%;background:rgba(22,203,212,.68);box-shadow:0 0 0 14px rgba(22,203,212,.12),0 0 38px rgba(124,58,237,.35)}.sytelytics-dashboard-preview .d1{left:22%;top:54%}.sytelytics-dashboard-preview .d2{left:55%;top:38%;background:rgba(124,58,237,.8)}.sytelytics-dashboard-preview .d3{right:15%;bottom:20%}
.sytelytics-site-brand img.sytelytics-site-wordmark{background:transparent;box-shadow:none;border-radius:0}.sytelytics-site-brand .sytelytics-site-icon{filter:drop-shadow(0 0 18px rgba(22,203,212,.28))}

/* =========================================================
   Safari & Thatch branded SyteLytics client portal
   ========================================================= */
:root {
    --st-red: #84322a;
    --st-red-dark: #68251f;
    --st-green: #4e5d2d;
    --st-green-soft: #718044;
    --st-cream: #f8f5ee;
    --st-sand: #d8bf8d;
    --st-brown: #241d19;
    --st-border: rgba(36, 29, 25, .12);
}

body.home {
    background: var(--st-cream);
}

.safari-thatch-portal-header {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,.12);
    backdrop-filter: none;
}

.admin-bar .safari-thatch-portal-header { top: 32px; }

.safari-thatch-portal-header .sytelytics-header-inner {
    min-height: 92px;
}

.safari-thatch-brand {
    min-width: 0;
}

.safari-thatch-brand .safari-thatch-logo,
.safari-thatch-portal-header .custom-logo {
    width: auto;
    max-width: min(330px, 42vw);
    max-height: 62px;
    object-fit: contain;
}

.safari-thatch-wordmark {
    width: min(470px, 100%);
    max-height: 126px;
    object-fit: contain;
    object-position: left center;
    border-radius: 0;
    box-shadow: none;
}

.sytelytics-header-portal-mark {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sytelytics-header-portal-mark strong {
    color: #fff;
    font-size: 14px;
    letter-spacing: .02em;
    text-transform: none;
}

.sytelytics-client-portal {
    min-height: 100vh;
    background: var(--st-cream);
}

.sytelytics-client-login-shell {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 54px);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 12% 20%, rgba(216,191,141,.23), transparent 28%),
        radial-gradient(circle at 88% 75%, rgba(132,50,42,.22), transparent 30%),
        linear-gradient(138deg, #1d1815 0%, #2d2820 45%, #3d4628 100%);
}

.sytelytics-client-login-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.portal-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
}

.portal-orb-one {
    width: 440px;
    height: 440px;
    top: -210px;
    left: -160px;
    border: 1px solid rgba(216,191,141,.20);
    box-shadow: 0 0 0 65px rgba(216,191,141,.035), 0 0 0 130px rgba(216,191,141,.02);
}

.portal-orb-two {
    width: 360px;
    height: 360px;
    right: -160px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(132,50,42,.28), transparent 70%);
}

.portal-grid-lines {
    position: absolute;
    inset: 0;
    opacity: .11;
    background-image:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to right, rgba(0,0,0,.55), transparent 74%);
}

.sytelytics-client-login-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(390px, .72fr);
    gap: clamp(56px, 8vw, 120px);
    align-items: center;
    min-height: calc(100vh - 54px);
    padding-top: 132px;
    padding-bottom: 76px;
}

.sytelytics-client-intro {
    max-width: 780px;
}

.safari-thatch-portal-logo {
    width: min(450px, 86%);
    margin-bottom: 34px;
}

.safari-thatch-portal-logo .custom-logo-link,
.safari-thatch-portal-logo .sytelytics-site-brand {
    display: block;
}

.safari-thatch-portal-logo .custom-logo {
    max-width: 100%;
    max-height: 120px;
    width: auto;
}

.sytelytics-client-eyebrow,
.sytelytics-login-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--st-sand);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.sytelytics-client-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: var(--st-red);
}

.sytelytics-client-intro h1 {
    max-width: 760px;
    margin: 18px 0 22px;
    color: #fff;
    font-size: clamp(45px, 6vw, 78px);
    line-height: .99;
    letter-spacing: -.055em;
}

.sytelytics-client-intro > p {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,.70);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.72;
}

.sytelytics-client-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
    margin-top: 38px;
}

.sytelytics-client-benefits > div {
    min-width: 0;
    padding: 19px 17px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 16px;
    background: rgba(255,255,255,.055);
    backdrop-filter: blur(12px);
}

.sytelytics-client-benefits .dashicons {
    width: 28px;
    height: 28px;
    margin-bottom: 16px;
    color: var(--st-sand);
    font-size: 28px;
}

.sytelytics-client-benefits strong,
.sytelytics-client-benefits small {
    display: block;
}

.sytelytics-client-benefits strong {
    margin-bottom: 5px;
    color: #fff;
    font-size: 13px;
}

.sytelytics-client-benefits small {
    color: rgba(255,255,255,.52);
    font-size: 11px;
    line-height: 1.45;
}

.sytelytics-powered-by {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 34px;
    color: rgba(255,255,255,.43);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sytelytics-powered-by img {
    width: 132px;
    height: auto;
    opacity: .92;
    filter: brightness(0) invert(1);
}

.sytelytics-client-login-panel {
    width: 100%;
}

.sytelytics-client-login-card {
    width: min(470px, 100%);
    margin-left: auto;
    padding: clamp(32px, 4vw, 46px);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 28px;
    background: rgba(250,248,243,.97);
    color: var(--st-brown);
    box-shadow: 0 36px 110px rgba(0,0,0,.34);
}

.sytelytics-client-login-card h2 {
    margin: 10px 0 10px;
    color: var(--st-brown);
    font-size: clamp(31px, 3.2vw, 42px);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.sytelytics-login-intro,
.sytelytics-client-login-card > p {
    margin: 0 0 26px;
    color: #777067;
    font-size: 14px;
    line-height: 1.65;
}

.sytelytics-client-login-form {
    margin-top: 26px;
}

.sytelytics-client-login-form > label,
.sytelytics-login-password-row label {
    display: block;
    margin: 0 0 8px;
    color: #4a443e;
    font-size: 12px;
    font-weight: 800;
}

.sytelytics-login-password-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 19px;
}

.sytelytics-login-password-row label {
    margin: 0 0 8px;
}

.sytelytics-login-password-row a {
    margin-bottom: 8px;
    color: var(--st-red);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.sytelytics-login-field {
    display: flex;
    align-items: center;
    min-height: 54px;
    border: 1px solid #dcd5ca;
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 1px 1px rgba(36,29,25,.03);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.sytelytics-login-field:focus-within {
    border-color: rgba(132,50,42,.55);
    box-shadow: 0 0 0 4px rgba(132,50,42,.09);
}

.sytelytics-login-field .dashicons {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-left: 16px;
    color: #9a9188;
    font-size: 20px;
}

.sytelytics-login-field input {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 16px 0 11px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--st-brown);
    font-size: 15px;
}

.sytelytics-login-remember {
    display: flex !important;
    align-items: center;
    gap: 9px;
    margin: 16px 0 22px !important;
    color: #6f685f !important;
    font-weight: 600 !important;
}

.sytelytics-login-remember input {
    width: 16px;
    height: 16px;
    accent-color: var(--st-red);
}

.sytelytics-login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 55px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--st-red), var(--st-red-dark));
    color: #fff;
    box-shadow: 0 14px 32px rgba(132,50,42,.25);
    cursor: pointer;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.sytelytics-login-submit:hover,
.sytelytics-login-submit:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(132,50,42,.32);
}

.sytelytics-login-secondary {
    display: block;
    margin-top: 15px;
    color: #756d64;
    font-size: 12px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}

.sytelytics-login-security {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e5ded4;
    color: #8a8278;
    font-size: 11px;
    line-height: 1.55;
}

.sytelytics-login-security .dashicons {
    flex: 0 0 auto;
    color: var(--st-green);
}

.sytelytics-login-alert {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 18px 0 0;
    padding: 12px 13px;
    border: 1px solid rgba(132,50,42,.20);
    border-radius: 11px;
    background: rgba(132,50,42,.07);
    color: #6c2c26;
    font-size: 12px;
    line-height: 1.5;
}

.sytelytics-login-status-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: rgba(78,93,45,.11);
    color: var(--st-green);
}

.sytelytics-login-status-icon .dashicons {
    width: 28px;
    height: 28px;
    font-size: 28px;
}

.sytelytics-portal-footer {
    background: #171310;
    color: rgba(255,255,255,.46);
}

.sytelytics-portal-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 54px;
    font-size: 11px;
}

@media (max-width: 1000px) {
    .sytelytics-client-login-grid {
        grid-template-columns: 1fr;
        gap: 45px;
        padding-top: 140px;
    }

    .sytelytics-client-intro {
        max-width: 800px;
    }

    .sytelytics-client-login-card {
        margin: 0;
    }
}

@media (max-width: 700px) {
    .admin-bar .safari-thatch-portal-header { top: 46px; }

    .safari-thatch-portal-header .sytelytics-header-inner {
        min-height: 78px;
    }

    .safari-thatch-brand .safari-thatch-logo,
    .safari-thatch-portal-header .custom-logo {
        max-width: 220px;
        max-height: 50px;
    }

    .sytelytics-header-portal-mark span { display: none; }

    .sytelytics-client-login-grid {
        gap: 34px;
        padding-top: 112px;
        padding-bottom: 48px;
    }

    .safari-thatch-portal-logo {
        width: min(350px, 100%);
        margin-bottom: 26px;
    }

    .sytelytics-client-intro h1 {
        font-size: clamp(40px, 13vw, 58px);
    }

    .sytelytics-client-benefits {
        grid-template-columns: 1fr;
    }

    .sytelytics-client-benefits > div {
        display: grid;
        grid-template-columns: 34px 1fr;
        column-gap: 12px;
        align-items: center;
    }

    .sytelytics-client-benefits .dashicons {
        grid-row: 1 / span 2;
        margin-bottom: 0;
    }

    .sytelytics-client-login-card {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .sytelytics-portal-footer-inner {
        flex-direction: column;
        justify-content: center;
        padding-top: 14px;
        padding-bottom: 14px;
        text-align: center;
    }
}

.sytelytics-login-brand {
    width: min(290px, 82%);
    margin: 0 0 28px;
}
.sytelytics-login-brand .sytelytics-site-brand,
.sytelytics-login-brand .custom-logo-link { display: block; }
.sytelytics-login-brand .safari-thatch-wordmark,
.sytelytics-login-brand .custom-logo {
    width: auto;
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
    object-position: left center;
}


/* v0.2.4 — official Safari & Thatch logo at both portal brand positions.
   Isolated selectors avoid changing plugin-owned SyteLytics application UI. */
.safari-thatch-portal-header .safari-thatch-official-logo--header {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 167px;
    max-width: 43vw;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 15px;
    background: #faf8f3;
    box-shadow: 0 8px 24px rgba(0,0,0,.16);
    text-decoration: none;
}
.safari-thatch-official-logo > img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border: 0;
    box-shadow: none;
    filter: none;
}
.safari-thatch-portal-header .sytelytics-header-inner {
    min-height: 126px;
}
.sytelytics-client-login-grid {
    padding-top: 162px;
}
.sytelytics-login-brand {
    width: 100%;
    margin-bottom: 21px;
}
.sytelytics-login-brand .safari-thatch-official-logo--card {
    display: block;
    width: min(262px, 100%);
    margin-inline: auto;
    text-decoration: none;
}
@media (max-width: 1000px) {
    .sytelytics-client-login-grid { padding-top: 162px; }
}
@media (max-width: 700px) {
    .safari-thatch-portal-header .sytelytics-header-inner { min-height: 103px; }
    .safari-thatch-portal-header .safari-thatch-official-logo--header {
        width: 130px;
        max-width: 43vw;
        padding: 3px 6px;
        border-radius: 11px;
    }
    .sytelytics-client-login-grid { padding-top: 137px; }
    .sytelytics-login-brand .safari-thatch-official-logo--card { width: min(245px, 100%); }
}
