:root {
  --sgo-primary: var(--phsa-primary-bg);
  --sgo-primary-dark: var(--phsa-strong-bg);
  --sgo-primary-soft: var(--phsa-soft-bg);
  --sgo-ink: #242128;
  --sgo-muted: #6e6870;
  --sgo-surface: #fff;
  --sgo-surface-soft: var(--phsa-soft-hover-bg);
  --sgo-border: var(--phsa-soft-bg);
  --sgo-shadow: 0 18px 50px rgba(0, 0, 0, .09);
  --sgo-radius: 24px;
  --sgo-header-height: 88px;
  --sgo-floating-height: 78px;
}

html[data-bs-theme="dark"] {
  --sgo-ink: #f4eef0;
  --sgo-muted: #c3b8bc;
  --sgo-surface: #211c1e;
  --sgo-surface-soft: #2d2528;
  --sgo-border: #4a3d40;
  --sgo-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.selfgo-app { margin: 0; min-width: 320px; background: linear-gradient(180deg, var(--sgo-surface-soft) 0%, var(--sgo-surface) 460px); color: var(--sgo-ink); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.swal2-actions.sgo-swal-actions { gap: .5rem; }

.sgo-app-header { position: fixed; inset: 0 0 auto; z-index: 1035; height: var(--sgo-header-height); background: var(--sgo-surface); border-bottom: 1px solid var(--sgo-border); backdrop-filter: blur(16px); }
.sgo-app-header-inner { width: min(1220px, calc(100% - 32px)); height: 100%; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; }
.sgo-app-header-start, .sgo-app-header-end { min-width: 0; display: flex; align-items: center; }
.sgo-app-header-end { justify-content: flex-end; }
.sgo-app-menu-button, .sgo-app-account-trigger { min-height: 44px; padding: 7px 15px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--sgo-border); border-radius: 999px; background: var(--sgo-surface); color: var(--sgo-ink); font-weight: 700; cursor: pointer; }
.sgo-app-menu-button:hover, .sgo-app-account-trigger:hover { border-color: var(--sgo-border); background: var(--sgo-primary-soft); color: var(--sgo-primary); }
.sgo-app-login-trigger { min-height: 44px; padding: 7px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--sgo-border); border-radius: 999px; background: var(--sgo-primary-soft); color: var(--sgo-primary); font-weight: 800; cursor: pointer; }
.sgo-app-login-trigger:hover { border-color: var(--sgo-primary); background: var(--sgo-primary); color: #fff; }
.sgo-app-company-brand { display: inline-flex; align-items: center; justify-content: center; min-width: 90px; padding: 4px 8px; border-radius: 14px; transition: background .2s ease; }
.sgo-app-company-brand:hover { background: var(--sgo-primary-soft); }
.sgo-app-company-brand.is-static, .sgo-app-company-brand.is-static:hover { background: transparent; cursor: default; }
.sgo-app-company-brand img { width: auto; max-width: 190px; height: 66px; object-fit: contain; }
.sgo-app-project-link { display: inline-flex; align-items: center; justify-content: center; padding: 4px 8px; border-radius: 14px; transition: background .2s ease; }
.sgo-app-project-link:hover { background: var(--sgo-primary-soft); }
.sgo-app-project-link img { width: auto; max-width: 104px; height: 42px; object-fit: contain; }
.sgo-app-account-avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--sgo-primary-soft); color: var(--sgo-primary); }
.sgo-app-account-name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sgo-app-account-guest { cursor: default; }
.sgo-app-account-guest:hover { border-color: var(--sgo-border); background: var(--sgo-surface); color: var(--sgo-ink); }
.sgo-app-account-trigger > i { color: var(--sgo-muted); font-size: .72rem; }

.sgo-app-main { min-height: 100vh; padding-top: var(--sgo-header-height); }
.sgo-app-page-container { width: min(1220px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 calc(var(--sgo-floating-height) + 48px); display: flex; flex-direction: column; }
.sgo-app-section { margin-top: 28px; }
.sgo-app-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.sgo-app-section-heading.sgo-app-news-section-heading { align-items: flex-end; flex-direction: row; gap: 0; }
.sgo-app-section-heading.sgo-app-news-section-heading > .col-6:last-child { display: flex; justify-content: flex-end; align-items: flex-end; }
.sgo-app-section-heading h2 { margin: 0; color: var(--sgo-ink); font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -.025em; }
.sgo-app-section-kicker { margin-bottom: 6px; color: var(--sgo-primary); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sgo-app-favorite-button { width: 68px; height: 68px; padding: 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--sgo-border); border-radius: 18px; background: var(--sgo-primary-soft); box-shadow: 0 8px 20px rgba(128, 0, 0, .1); cursor: pointer; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.sgo-app-favorite-button i { font-size: 2rem; line-height: 1; }
.sgo-app-favorite-button:hover { color: var(--sgo-primary-dark) !important; background: var(--sgo-primary-soft); box-shadow: 0 12px 26px rgba(128, 0, 0, .16); transform: translateY(-1px); }
.sgo-app-favorite-button:disabled { cursor: wait; opacity: .65; }
.sgo-app-text-button { border: 0; background: transparent; color: var(--sgo-primary); font-weight: 750; cursor: pointer; text-decoration: none; }
.sgo-app-text-button:hover { color: var(--sgo-primary-dark); }
.sgo-app-content-card, .sgo-app-info-card { background: var(--sgo-surface); border: 1px solid var(--sgo-border); border-radius: var(--sgo-radius); box-shadow: var(--sgo-shadow); }
.sgo-app-content-card-first { order: -1; margin-top: 0; }
.sgo-app-content-card { padding: clamp(22px, 4vw, 42px); }
.sgo-app-content-logo { width: 58px; height: 58px; padding: 6px; object-fit: contain; border: 1px solid var(--sgo-border); border-radius: 16px; }
.sgo-app-rich-content { overflow-wrap: anywhere; color: var(--sgo-muted); line-height: 1.7; }
.sgo-app-rich-content > :first-child { margin-top: 0; }
.sgo-app-rich-content > :last-child { margin-bottom: 0; }
.sgo-app-rich-content img { max-width: 100%; height: auto; }
.sgo-app-rich-content h1, .sgo-app-rich-content h2, .sgo-app-rich-content h3 { color: var(--sgo-primary-dark); }

.sgo-app-hero-section { margin-top: 28px; }
.sgo-app-hero { position: relative; min-height: 420px; overflow: hidden; border-radius: var(--sgo-radius); background: var(--sgo-primary) var(--sgo-app-background) center/cover no-repeat; box-shadow: var(--sgo-shadow); }
.sgo-app-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--sgo-primary-dark) 88%, transparent), color-mix(in srgb, var(--sgo-primary) 54%, transparent) 55%, color-mix(in srgb, var(--sgo-primary) 10%, transparent)); }
.sgo-app-hero-content { position: absolute; z-index: 1; inset: auto auto 12%; left: clamp(24px, 6vw, 90px); width: min(650px, 70%); color: #fff; }
.sgo-app-hero-content > span { color: var(--sgo-primary-soft); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sgo-app-hero-content h1 { margin: 10px 0; font-size: clamp(1.8rem, 4vw, 3.7rem); line-height: 1.04; letter-spacing: -.045em; }
.sgo-app-hero-content p { max-width: 540px; margin: 0 0 22px; color: rgba(255,255,255,.9); font-size: clamp(.92rem, 1.5vw, 1.12rem); line-height: 1.6; }
.sgo-app-primary-button, .sgo-app-secondary-button { min-height: 46px; padding: 11px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 12px; font-weight: 750; cursor: pointer; text-decoration: none; }
.sgo-app-primary-button { background: var(--sgo-surface); color: var(--sgo-primary); }
.sgo-app-primary-button:hover { background: var(--sgo-primary-soft); color: var(--sgo-primary-dark); }
.sgo-app-secondary-button { background: var(--sgo-primary-soft); color: var(--sgo-primary-dark); }
.sgo-app-secondary-button:hover { background: var(--phsa-soft-hover-bg); color: var(--sgo-primary-dark); }

.sgo-app-carousel { position: relative; overflow: hidden; border-radius: var(--sgo-radius); }
.sgo-app-carousel-track { display: grid; }
.sgo-app-news-card { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(220px, 34%) minmax(0, 1fr); opacity: 0; pointer-events: none; transform: translateX(18px); transition: opacity .35s ease, transform .35s ease; border: 1px solid var(--sgo-border); border-radius: var(--sgo-radius); background: var(--sgo-surface); box-shadow: var(--sgo-shadow); overflow: hidden; }
.sgo-app-news-card.is-active { opacity: 1; pointer-events: auto; transform: translateX(0); }
.sgo-app-news-image { width: 100%; height: 100%; min-height: 270px; display: block; object-fit: cover; aspect-ratio: 1 / 1; }
.sgo-app-news-body { min-height: 270px; padding: clamp(22px, 4vw, 38px); display: flex; flex-direction: column; justify-content: center; }
.sgo-app-news-meta { display: flex; justify-content: space-between; gap: 15px; color: var(--sgo-primary); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sgo-app-news-meta time { color: var(--sgo-muted); font-weight: 600; letter-spacing: 0; text-transform: none; }
.sgo-app-news-body h3 { margin: 16px 0 9px; color: var(--sgo-primary-dark); font-size: clamp(1.35rem, 2.5vw, 2rem); }
.sgo-app-news-body strong { color: var(--sgo-ink); line-height: 1.5; }
.sgo-app-news-body p { margin: 10px 0; color: var(--sgo-muted); line-height: 1.6; }
.sgo-app-news-body small { color: var(--sgo-muted); }
.sgo-app-news-card-link { display: contents; color: inherit; text-decoration: none; }
.sgo-app-news-card-link:hover { color: inherit; text-decoration: none; }
.sgo-app-blog-empty { min-height: 130px; display: flex; align-items: center; gap: 16px; padding: 24px; border: 1px dashed var(--sgo-border); border-radius: var(--sgo-radius); background: var(--sgo-surface); color: var(--sgo-muted); }
.sgo-app-blog-empty > i { color: var(--sgo-primary); font-size: 1.7rem; }
.sgo-app-blog-empty strong, .sgo-app-blog-empty span { display: block; }
.sgo-app-blog-empty strong { margin-bottom: 4px; color: var(--sgo-ink); }
.sgo-app-blog-empty span { font-size: .88rem; }
.sgo-app-carousel-control { position: absolute; z-index: 2; top: 50%; width: 40px; height: 40px; transform: translateY(-50%); border: 1px solid var(--sgo-border); border-radius: 50%; background: var(--sgo-surface); color: var(--sgo-primary); cursor: pointer; }
.sgo-app-carousel-control:hover { background: var(--sgo-primary); color: #fff; }
.sgo-app-carousel-control.is-prev { left: 16px; }
.sgo-app-carousel-control.is-next { right: 16px; }
.sgo-app-carousel-dots { position: absolute; z-index: 2; bottom: 16px; left: 50%; display: flex; gap: 7px; transform: translateX(-50%); }
.sgo-app-carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--sgo-border); cursor: pointer; }
.sgo-app-carousel-dots button.is-active { width: 24px; border-radius: 99px; background: var(--sgo-primary); }

.sgo-app-blog-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sgo-app-blog-header h1 { margin: 7px 0 8px; color: var(--sgo-primary-dark); font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.055em; line-height: 1; }
.sgo-app-blog-header p { max-width: 650px; margin: 0; color: var(--sgo-muted); line-height: 1.6; }
.sgo-app-blog-directory { margin-top: 34px; }
.sgo-app-blog-total { color: var(--sgo-muted); font-size: .82rem; font-weight: 700; }
.sgo-app-blog-search { margin: 18px 0 24px; overflow: hidden; border: 1px solid var(--sgo-border); border-radius: 13px; background: var(--sgo-surface); box-shadow: 0 8px 24px rgba(0, 0, 0, .05); }
.sgo-app-blog-search .form-control { min-height: 48px; border: 0; box-shadow: none; }
.sgo-app-blog-search .sgo-app-primary-button { min-height: 48px; border-radius: 0; }
.sgo-app-blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sgo-app-blog-list-card { overflow: hidden; border: 1px solid var(--sgo-border); border-radius: var(--sgo-radius); background: var(--sgo-surface); box-shadow: var(--sgo-shadow); }
.sgo-app-blog-list-link { min-height: 100%; display: grid; grid-template-columns: minmax(150px, 34%) minmax(0, 1fr); color: inherit; text-decoration: none; }
.sgo-app-blog-list-link:hover { color: inherit; text-decoration: none; }
.sgo-app-blog-list-image { width: 100%; height: 100%; min-height: 220px; object-fit: cover; background: var(--sgo-surface-soft); }
.sgo-app-blog-list-body { min-width: 0; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.sgo-app-blog-list-body h3 { margin: 12px 0 8px; color: var(--sgo-primary-dark); font-size: 1.35rem; line-height: 1.2; }
.sgo-app-blog-list-body strong { color: var(--sgo-ink); line-height: 1.45; }
.sgo-app-blog-list-body p { margin: 10px 0 18px; color: var(--sgo-muted); line-height: 1.55; }
.sgo-app-blog-read-link { margin-top: auto; color: var(--sgo-primary); font-size: .84rem; font-weight: 800; }
.sgo-app-blog-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--sgo-primary); font-size: .88rem; font-weight: 800; text-decoration: none; }
.sgo-app-blog-back:hover { color: var(--sgo-primary-dark); text-decoration: none; }
.sgo-app-blog-article { max-width: 900px; margin: 0 auto; }
.sgo-app-blog-article-header { max-width: 760px; }
.sgo-app-blog-article-header h1 { margin: 8px 0 12px; color: var(--sgo-primary-dark); font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.05em; line-height: 1.05; }
.sgo-app-blog-article-subtitle { margin: 0; color: var(--sgo-muted); font-size: 1.08rem; line-height: 1.6; }
.sgo-app-blog-article-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; color: var(--sgo-muted); font-size: .82rem; }
.sgo-app-blog-article-meta span { color: var(--sgo-primary); font-weight: 800; }
.sgo-app-blog-article-image { width: 100%; max-height: 520px; margin-top: 30px; object-fit: cover; border-radius: 18px; background: var(--sgo-surface-soft); }
.sgo-app-blog-article-content { margin-top: 30px; overflow-wrap: anywhere; color: var(--sgo-ink); font-size: 1.02rem; line-height: 1.8; }
.sgo-app-blog-article-content > :first-child { margin-top: 0; }
.sgo-app-blog-article-content > :last-child { margin-bottom: 0; }
.sgo-app-blog-article-content h2, .sgo-app-blog-article-content h3, .sgo-app-blog-article-content h4 { color: var(--sgo-primary-dark); line-height: 1.25; }
.sgo-app-blog-article-content a { color: var(--sgo-primary); font-weight: 700; }
.sgo-app-blog-article-content img { max-width: 100%; height: auto; border-radius: 14px; }

.sgo-app-lower-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.sgo-app-info-card { padding: clamp(22px, 3vw, 32px); }
.sgo-app-card-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 15px; background: var(--sgo-primary-soft); color: var(--sgo-primary); font-size: 1.25rem; }
.sgo-app-info-card h2 { margin: 0 0 10px; font-size: 1.35rem; }
.sgo-app-info-card p { min-height: 52px; margin: 0 0 20px; color: var(--sgo-muted); line-height: 1.6; }

.sgo-app-footer { position: relative; padding: 0 16px 32px; }
.sgo-app-floating-menu { position: fixed; z-index: 1040; left: 50%; bottom: 18px; width: min(520px, calc(100% - 32px)); min-height: var(--sgo-floating-height); padding: 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; transform: translateX(-50%); border: 1px solid var(--sgo-border); border-radius: 24px; background: var(--sgo-surface); box-shadow: 0 20px 48px rgba(0, 0, 0, .18); backdrop-filter: blur(18px); }
.sgo-app-floating-link { min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 18px; color: #756a70; font-size: .74rem; font-weight: 750; text-decoration: none; }
.sgo-app-floating-link i { color: var(--sgo-primary); font-size: .95rem; }
.sgo-app-floating-link:hover, .sgo-app-floating-link.is-active { background: var(--sgo-primary-soft); color: var(--sgo-primary); }
.sgo-app-floating-link.is-active { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sgo-primary) 14%, transparent); }
.sgo-app-floating-count { margin-left: 2px; color: var(--sgo-primary); font-size: .64rem; line-height: 1; vertical-align: super; }
.sgo-app-footer-marketing { width: min(780px, 100%); margin: 0 auto; padding: 18px 0 14px; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--sgo-border); }
.sgo-app-footer-brand { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; color: var(--sgo-ink); text-align: center; text-decoration: none; }
.sgo-app-footer-brand:hover { color: var(--sgo-primary); }
.sgo-app-footer-brand img { width: 42px; height: 42px; object-fit: contain; }
.sgo-app-footer-brand-copy { display: flex; flex-direction: column; gap: 2px; }
.sgo-app-footer-brand-copy strong { font-size: .9rem; }
.sgo-app-footer-brand-copy small { color: var(--sgo-muted); font-size: .72rem; font-weight: 500; }
.sgo-app-footer-copyright { margin-top: 2px; }
.sgo-app-footer-content { width: min(1420px, 100%); margin: 0 auto; padding: 8px 0 calc(var(--sgo-floating-height) + 36px); display: flex; align-items: center; justify-content: center; color: var(--sgo-muted); font-size: .78rem; text-align: center; }
.sgo-app-footer-content a { color: var(--sgo-primary); font-weight: 800; text-decoration: none; }

.sgo-app-sidebar { --bs-offcanvas-width: min(360px, 88vw); color: var(--sgo-ink); }
.sgo-app-sidebar .offcanvas-header { padding: 28px 24px 18px; border-bottom: 1px solid var(--sgo-border); }
.sgo-app-sidebar .offcanvas-title { margin: 0; font-size: 1.15rem; }
.sgo-app-sidebar .offcanvas-body { padding: 20px 16px; }
.sgo-app-sidebar-kicker { display: block; margin-bottom: 5px; color: var(--sgo-primary); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.sgo-app-sidebar-menu { display: grid; gap: 6px; }
.sgo-app-sidebar-link { min-height: 52px; display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 14px; color: var(--sgo-ink); font-weight: 700; text-decoration: none; }
.sgo-app-sidebar-link:hover { background: var(--sgo-primary-soft); color: var(--sgo-primary); }
.sgo-app-sidebar-link > i:first-child { width: 22px; color: var(--sgo-primary); text-align: center; }
.sgo-app-sidebar-arrow { margin-left: auto; color: #aa9698 !important; font-size: .72rem; }
.sgo-app-sidebar-divider { height: 1px; margin: 14px 8px 8px; background: var(--sgo-border); }
.sgo-app-marketing-card { display: flex; align-items: center; gap: 11px; padding: 14px; border: 1px solid var(--sgo-border); border-radius: 16px; background: linear-gradient(135deg, var(--sgo-primary-soft), var(--sgo-surface)); color: var(--sgo-ink); text-decoration: none; }
.sgo-app-marketing-card:hover { border-color: var(--sgo-border); color: var(--sgo-primary-dark); }
.sgo-app-marketing-icon { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 12px; background: var(--sgo-primary); color: #fff; }
.sgo-app-marketing-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 3px; }
.sgo-app-marketing-copy strong { font-size: .87rem; }
.sgo-app-marketing-copy small { color: var(--sgo-muted); font-size: .72rem; line-height: 1.35; }
.sgo-app-marketing-arrow { color: var(--sgo-primary); }
.sgo-app-sidebar-profile { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 4px 0 26px; color: var(--sgo-muted); text-align: center; }
.sgo-app-sidebar-profile strong { color: var(--sgo-ink); font-size: 1.05rem; }
.sgo-app-sidebar-profile-photo { width: 76px; height: 76px; margin-bottom: 8px; display: grid; place-items: center; border: 4px solid var(--sgo-primary-soft); border-radius: 50%; background: var(--sgo-surface-soft); color: var(--sgo-primary); font-size: 1.5rem; }
.sgo-app-client-login-intro { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; padding: 14px; border: 1px solid var(--sgo-border); border-radius: 14px; background: var(--sgo-primary-soft); color: var(--sgo-primary-dark); }
.sgo-app-client-login-intro strong { display: block; margin-bottom: 3px; }
.sgo-app-client-login-intro p { margin: 0; color: var(--sgo-muted); font-size: .84rem; line-height: 1.45; }
.sgo-app-client-login-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 50%; background: var(--sgo-primary); color: #fff; }
.sgo-app-client-login-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 13px; }
.sgo-app-client-login-links .btn-link { color: var(--sgo-primary); font-size: .82rem; font-weight: 700; text-decoration: none; }
.sgo-app-client-login-links .btn-link:hover, .sgo-app-client-login-links .btn-link:focus { color: var(--sgo-primary-dark); text-decoration: none; }
.sgo-app-qr-reader-body { min-width: 0; }
.sgo-app-qr-reader-video { display: block; width: 100%; min-height: 220px; max-height: 52vh; border-radius: 14px; background: #1f2933; object-fit: cover; }
.sgo-app-qr-reader-body .bto { white-space: nowrap; }
.sgo-app-shared-order { display: grid; gap: 20px; padding: 8px 12px 2px; }
.sgo-app-shared-order-hero { text-align: center; }
.sgo-app-shared-order-hero h4 { margin: 12px 0 6px; color: var(--sgo-ink); font-size: 1.2rem; }
.sgo-app-shared-order-hero p { max-width: 390px; margin: 0 auto; color: var(--sgo-muted); font-size: .9rem; line-height: 1.55; }
.sgo-app-shared-order-icon { width: 58px; height: 58px; display: inline-grid; place-items: center; border-radius: 18px; background: var(--sgo-primary-soft); color: var(--sgo-primary); font-size: 1.45rem; }
.sgo-app-shared-order-code { font-size: 1.25rem; font-weight: 800; letter-spacing: .2em; }

.sgo-menu-page { max-width: 1040px; }
.sgo-menu-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; padding: 16px 0 28px; }
.sgo-menu-heading-copy { min-width: 0; width: 100%; flex: 1 1 auto; }
.sgo-menu-heading-copy h1 { margin: 10px 0 8px; color: var(--sgo-primary-dark); font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.055em; line-height: 1; }
.sgo-menu-title-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sgo-menu-title-line h1 { min-width: 0; flex: 1; overflow: visible; text-overflow: clip; line-height: 1.12; }
.sgo-menu-heading-copy p { max-width: 660px; margin: 0; color: var(--sgo-muted); font-size: 1.04rem; line-height: 1.6; }
.sgo-menu-heading-context { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 8px; }
.sgo-menu-heading-availability { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #d9efdf; border-radius: 999px; background: #f7fcf8; color: #287442; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.sgo-menu-heading-availability i { font-size: .86rem; }
.sgo-menu-heading-availability.is-ending { border-color: #f0ddbd; background: #fffaf1; color: #9a671e; }
.sgo-menu-table-context { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--sgo-primary-dark); font-size: .98rem; font-weight: 850; letter-spacing: .01em; white-space: nowrap; }
.sgo-menu-table-context i { font-size: .9rem; }
.sgo-menu-category-nav { position: sticky; top: calc(var(--sgo-header-height) + 12px); z-index: 10; display: flex; gap: 8px; margin-bottom: 28px; padding: 8px; overflow-x: auto; border: 1px solid var(--sgo-border); border-radius: 16px; background: var(--sgo-surface); box-shadow: 0 10px 28px rgba(0, 0, 0, .06); backdrop-filter: blur(14px); scrollbar-width: thin; }
.sgo-menu-category-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border-radius: 11px; color: var(--sgo-muted); font-size: .82rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.sgo-menu-category-nav a:hover, .sgo-menu-category-nav a.is-active { background: var(--sgo-primary-soft); color: var(--sgo-primary); box-shadow: 0 5px 14px rgba(128, 0, 0, .08); }
.sgo-menu-category-nav a i { color: var(--sgo-primary); }
.sgo-menu-content { display: grid; gap: 30px; }
.sgo-menu-category { scroll-margin-top: calc(var(--sgo-header-height) + 85px); }
.sgo-menu-category-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sgo-menu-category-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--sgo-primary-soft); color: var(--sgo-primary); font-size: 1.05rem; }
.sgo-menu-category-heading h2 { margin: 0; color: var(--sgo-primary-dark); font-size: 1.32rem; letter-spacing: -.025em; }
.sgo-menu-category-heading span { color: var(--sgo-muted); font-size: .77rem; }
.sgo-menu-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sgo-menu-product { min-height: 130px; display: flex; align-items: stretch; justify-content: space-between; gap: 16px; padding: 16px; border: 1px solid var(--sgo-border); border-radius: 18px; background: var(--sgo-surface); box-shadow: 0 9px 25px rgba(74, 0, 0, .045); }
.sgo-menu-product { cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.sgo-menu-product:hover, .sgo-menu-product:focus-visible { border-color: var(--sgo-border); box-shadow: 0 16px 32px rgba(0, 0, 0, .11); outline: 0; transform: translateY(-2px); }
.sgo-menu-product-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.sgo-menu-product h3 { margin: 0; color: var(--sgo-ink); font-size: 1rem; line-height: 1.3; }
.sgo-menu-product p { margin: 7px 0 10px; overflow: hidden; color: var(--sgo-muted); font-size: .82rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sgo-menu-product strong { margin-top: auto; color: var(--sgo-primary); font-size: .94rem; }
.sgo-menu-product-old-price { margin-top: auto; margin-right: 5px; color: var(--sgo-muted); font-size: .78rem; }
.sgo-menu-product-old-price + strong { margin-top: auto; }
.sgo-menu-product-image { width: 92px; height: 92px; flex: 0 0 92px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 14px; background: var(--sgo-surface-soft); }
.sgo-menu-product-image img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.sgo-menu-product-image.sgo-menu-image-comportamento-conter-sem-ampliar img { width: auto; height: auto; object-fit: contain; }
.sgo-menu-product-image.sgo-menu-image-comportamento-ajustar-area img { width: 100%; height: 100%; object-fit: contain; }
.sgo-menu-product-image.sgo-menu-image-comportamento-preencher-exatamente img { width: 100%; height: 100%; object-fit: fill; }
.sgo-menu-muted { margin: 0; padding: 16px; border: 1px dashed var(--sgo-border); border-radius: 14px; color: var(--sgo-muted); font-size: .88rem; }
.sgo-menu-empty-card { padding: 48px 24px; border: 1px solid var(--sgo-border); border-radius: var(--sgo-radius); background: var(--sgo-surface); box-shadow: var(--sgo-shadow); text-align: center; }
.sgo-menu-empty-card > i, .sgo-menu-empty-icon { color: var(--sgo-primary); font-size: 2.2rem; }
.sgo-menu-empty-card h2 { margin: 16px 0 8px; color: var(--sgo-primary-dark); font-size: 1.35rem; }
.sgo-menu-empty-card p { max-width: 480px; margin: 0 auto; color: var(--sgo-muted); line-height: 1.6; }
.sgo-menu-notice { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; padding: 14px 16px; border: 1px solid var(--sgo-border); border-radius: 14px; background: var(--sgo-primary-soft); color: var(--sgo-primary-dark); font-size: .88rem; line-height: 1.45; }
.sgo-menu-notice i { margin-top: 2px; color: var(--sgo-primary); }
.sgo-menu-selection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sgo-menu-choice-card { display: flex; align-items: flex-start; gap: 16px; padding: 22px; border: 1px solid var(--sgo-border); border-radius: 20px; background: var(--sgo-surface); box-shadow: var(--sgo-shadow); color: inherit; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.sgo-menu-choice-card:hover { border-color: var(--sgo-border); box-shadow: 0 20px 42px rgba(0, 0, 0, .11); color: inherit; transform: translateY(-3px); }
.sgo-menu-choice-icon { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border-radius: 17px; background: var(--sgo-primary-soft); color: var(--sgo-primary); font-size: 1.35rem; }
.sgo-menu-choice-copy { min-width: 0; }
.sgo-menu-choice-status { display: block; margin-bottom: 8px; color: #258047; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.sgo-menu-choice-status i { font-size: .5rem; vertical-align: middle; }
.sgo-menu-choice-copy h2 { margin: 0 0 7px; color: var(--sgo-primary-dark); font-size: 1.18rem; }
.sgo-menu-choice-copy p { margin: 0 0 17px; color: var(--sgo-muted); font-size: .84rem; line-height: 1.5; }
.sgo-menu-choice-copy small { color: var(--sgo-primary); font-weight: 800; }
.sgo-menu-schedule-section { padding: clamp(32px, 7vw, 64px) 24px 24px; border: 1px solid var(--sgo-border); border-radius: var(--sgo-radius); background: var(--sgo-surface); box-shadow: var(--sgo-shadow); }
.sgo-menu-schedule-intro { text-align: center; }
.sgo-menu-schedule-intro h2 { margin: 16px 0 8px; color: var(--sgo-primary-dark); font-size: 1.35rem; }
.sgo-menu-schedule-content { max-width: 680px; margin: 34px auto 0; padding-top: 24px; border-top: 1px solid var(--sgo-border); }
.sgo-menu-schedule-content h3 { margin: 6px 0 14px; color: var(--sgo-primary-dark); font-size: 1.3rem; }
.sgo-menu-schedule-list { display: grid; gap: 8px; }
.sgo-menu-schedule-item { padding: 15px; border: 1px solid var(--sgo-border); border-radius: 13px; background: var(--sgo-surface); }
.sgo-menu-schedule-item > span { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 12px; color: var(--sgo-ink); font-weight: 800; }
.sgo-menu-schedule-item span i { color: var(--sgo-primary); }
.sgo-menu-schedule-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 8px; }
.sgo-menu-schedule-day { display: flex; min-height: 55px; flex-direction: column; justify-content: center; gap: 3px; padding: 8px 10px; border: 1px solid var(--sgo-border); border-radius: 10px; background: var(--sgo-primary-soft); }
.sgo-menu-schedule-day strong { color: var(--sgo-primary); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.sgo-menu-schedule-day time { color: var(--sgo-muted); font-size: .78rem; white-space: nowrap; }
.sgo-menu-schedule-item small { color: var(--sgo-muted); }
.sgo-menu-schedule-unavailable { display: block; }
.sgo-menu-product-modal { width: 100%; max-width: 1120px; min-height: min(680px, calc(100vh - 150px)); display: grid; grid-template-columns: minmax(240px, 38%) minmax(0, 1fr); gap: 22px; align-items: center; margin: 0 auto; }
.sgo-menu-product-modal-step { min-width: 0; }
.sgo-menu-product-modal-step[data-app-product-step="1"] { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(240px, 38%) minmax(0, 1fr); gap: 22px; align-items: center; }
.sgo-menu-product-modal-customization { grid-column: 1 / -1; width: 100%; }
.sgo-menu-product-modal-customization .sgo-menu-product-modal-copy { padding: 0; }
.sgo-menu-product-modal-step-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sgo-menu-product-modal-step-heading h2 { margin: 0; color: var(--sgo-primary-dark); font-size: 1.35rem; }
.sgo-menu-product-modal-main-heading { margin-bottom: 8px; }
.sgo-menu-product-modal-step-heading [data-app-product-back] { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 7px 10px; }
.sgo-menu-product-modal-lists { display: grid; gap: 14px; }
.sgo-menu-product-modal-list { min-width: 0; }
.sgo-menu-product-modal-composition-list { display: grid; gap: 7px; }
.sgo-menu-product-modal-composition-group { display: grid; gap: 5px; }
.sgo-menu-product-modal-composition-group + .sgo-menu-product-modal-composition-group { margin-top: 7px; }
.sgo-menu-product-modal-composition-group-heading { display: block; margin-bottom: 4px; padding: 3px 10px 4px; border-bottom: 1px solid var(--sgo-border); color: var(--sgo-muted); font-size: .78rem; line-height: 1.35; }
.sgo-menu-product-modal-composition-group-heading strong { color: var(--sgo-primary-dark); font-size: .78rem; font-weight: 800; }
.sgo-menu-product-modal-composition-group-items { display: grid; gap: 5px; }
.sgo-menu-product-modal-composition-item { min-width: 0; }
.sgo-menu-product-modal-composition-item.is-invalid .sgo-menu-product-modal-group-heading { border: 1px solid var(--sgo-primary); }
.sgo-menu-product-modal-composition-item.is-fixed .sgo-menu-product-modal-group-heading { margin-bottom: 0; }
.sgo-menu-product-modal-composition-fixed-quantity { color: var(--sgo-muted); font-size: .78rem; font-weight: 800; }
.sgo-menu-product-modal-composition-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 10px 0; }
.sgo-menu-product-modal-composition-row small { color: var(--sgo-muted); font-size: .8rem; }
.sgo-menu-product-modal-empty-list { margin: 0; color: var(--sgo-muted); font-size: .84rem; }
.sgo-menu-product-modal-image { width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 16px; background: var(--sgo-surface-soft); }
.sgo-menu-product-modal-image img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.sgo-menu-product-modal-image img.sgo-menu-image-comportamento-conter-sem-ampliar { width: auto; height: auto; object-fit: contain; }
.sgo-menu-product-modal-image img.sgo-menu-image-comportamento-ajustar-area { width: 100%; height: 100%; object-fit: contain; }
.sgo-menu-product-modal-image img.sgo-menu-image-comportamento-preencher-exatamente { width: 100%; height: 100%; object-fit: fill; }
.sgo-menu-product-modal-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(8px, 2vw, 28px); color: var(--sgo-muted); line-height: 1.65; }
.sgo-menu-product-modal-copy p { margin: 0 0 16px; }
.sgo-menu-product-modal-description { max-width: 680px; }
.sgo-menu-product-modal-price { margin-bottom: 6px; color: var(--sgo-primary); font-size: 1.3rem; }
.sgo-menu-product-modal-copy strong { color: var(--sgo-primary); font-size: 1.15rem; }
.sgo-menu-product-modal-price-quantity { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 6px 0 2px; }
.sgo-menu-product-modal-price-quantity .sgo-menu-product-modal-price { margin: 0; }
.sgo-menu-product-modal-price-quantity .sgo-menu-product-modal-quantity-row { flex: 0 0 auto; }
.sgo-menu-product-modal-order-fields { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; padding-top: 0; border-top: 0; }
.sgo-menu-product-modal-section { padding: 10px 0; border-bottom: 0; }
.sgo-menu-product-modal-section-title { display: flex; align-items: center; gap: 6px; color: var(--sgo-ink); font-size: 1rem; font-weight: 800; }
.sgo-menu-product-modal-section-title small { margin-left: auto; color: var(--sgo-muted); font-size: .72rem; font-weight: 600; text-transform: uppercase; }
.sgo-menu-product-modal-complement-list { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.sgo-menu-product-modal-complement-group { padding: 0; }
.sgo-menu-product-modal-complement-group + .sgo-menu-product-modal-complement-group { margin-top: 10px; }
.sgo-menu-product-modal-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; padding: 8px 10px; border-radius: 9px; background: var(--sgo-primary-soft); color: var(--sgo-ink); font-size: .86rem; }
.sgo-menu-product-modal-group-heading strong { color: var(--sgo-ink); font-size: .86rem; }
.sgo-menu-product-modal-group-heading span { color: var(--sgo-muted); font-size: .78rem; font-weight: 800; }
.sgo-menu-product-modal-group-heading span.is-invalid { color: var(--sgo-primary); }
.sgo-menu-product-modal-option-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.sgo-menu-product-modal-option { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; min-height: 36px; padding: 5px 0; border-bottom: 1px solid var(--sgo-border); color: var(--sgo-ink); cursor: pointer; }
.sgo-menu-product-modal-option:last-child { border-bottom: 0; }
.sgo-menu-product-modal-option input { width: 16px; height: 16px; accent-color: var(--sgo-primary); }
.sgo-menu-product-modal-option strong { color: var(--sgo-muted); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.sgo-menu-product-modal-option-quantity { display: inline-flex; align-items: center; gap: 3px; }
.sgo-menu-product-modal-option-quantity .bto { width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; font-size: .8rem; }
.sgo-menu-product-modal-option-quantity output { min-width: 16px; color: var(--sgo-primary); font-size: .8rem; text-align: center; }
.sgo-menu-product-modal-quantity-row { display: flex; align-items: center; justify-content: flex-end; gap: 16px; color: var(--sgo-ink); font-weight: 700; }
.sgo-menu-product-modal-quantity { display: inline-flex; align-items: center; gap: 7px; padding: 3px; border: 1px solid var(--sgo-border); border-radius: 999px; }
.sgo-menu-product-modal-quantity .bto { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; font-size: 1rem; }
.sgo-menu-product-modal-quantity output { min-width: 24px; color: var(--sgo-primary); font-size: 1rem; text-align: center; }
.sgo-menu-product-modal-observation { padding-bottom: 0; }
.sgo-menu-product-modal-observation textarea { min-height: 82px; margin-top: 10px; resize: vertical; border-color: var(--sgo-primary); background: var(--sgo-surface); }
.sgo-menu-product-modal-observation textarea:focus { background: var(--sgo-surface); border-color: var(--sgo-primary); box-shadow: 0 0 0 .2rem rgba(128, 0, 0, .12); }
.sgo-menu-product-modal-footer-total { display: flex; flex-direction: column; justify-content: center; min-width: 120px; margin-right: auto; color: var(--sgo-muted); line-height: 1.15; }
.sgo-menu-product-modal-footer-total span { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sgo-menu-product-modal-footer-total strong { color: var(--sgo-primary); font-size: 1.2rem; }
.sgo-menu-product-modal-footer-inner { width: 100%; display: flex; align-items: center; gap: 16px; }
.sgo-menu-product-modal-footer-inner [data-app-product-add] { min-width: 150px; min-height: 40px; padding: 8px 16px; border-radius: 10px; font-size: .9rem; font-weight: 800; }

@media (max-width: 760px) {
  :root { --sgo-header-height: 72px; }
  .sgo-app-header-inner { width: calc(100% - 20px); }
  .sgo-app-menu-button span, .sgo-app-account-name { display: none; }
  .sgo-app-account-trigger > i,
  .sgo-app-account-trigger > svg { display: none; }
  .sgo-app-menu-button, .sgo-app-account-trigger { width: 44px; justify-content: center; padding: 7px; }
  .sgo-app-login-trigger { width: 44px; padding: 7px; }
  .sgo-app-login-trigger span { display: none; }
  .sgo-app-company-brand img { max-width: 140px; height: 54px; }
  .sgo-app-project-link img { max-width: 80px; height: 34px; }
  .sgo-app-page-container { width: calc(100% - 20px); padding-top: 20px; }
  .sgo-app-content-card { padding: 22px; }
  .sgo-app-hero { min-height: 380px; }
  .sgo-app-hero-content { left: 24px; bottom: 9%; width: calc(100% - 48px); }
  .sgo-app-hero-content h1 { font-size: clamp(1.8rem, 9vw, 2.7rem); }
  .sgo-app-news-card { grid-template-columns: 1fr; }
  .sgo-app-news-image { height: 220px; min-height: 220px; }
  .sgo-app-news-body { min-height: 280px; padding: 22px; }
  .sgo-app-lower-grid { grid-template-columns: 1fr; }
  .sgo-app-blog-header { align-items: flex-start; flex-direction: column; }
  .sgo-app-blog-grid { grid-template-columns: 1fr; }
  .sgo-app-blog-list-link { grid-template-columns: 1fr; }
  .sgo-app-blog-list-image { min-height: 210px; max-height: 260px; }
  .sgo-app-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .sgo-app-footer { padding-bottom: 12px; }
  .sgo-menu-heading { align-items: flex-start; flex-direction: column; padding-top: 6px; }
  .sgo-menu-heading-copy h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .sgo-menu-products, .sgo-menu-selection-grid { grid-template-columns: 1fr; }
  .sgo-menu-product { min-height: 116px; }
  .sgo-menu-product-image { width: 78px; height: 78px; flex-basis: 78px; }
  .sgo-menu-product-modal { min-height: 0; grid-template-columns: 1fr; gap: 16px; }
  .sgo-menu-product-modal-step[data-app-product-step="1"] { grid-column: 1; grid-template-columns: 1fr; gap: 16px; }
  .sgo-menu-product-modal-customization { grid-column: 1; }
  .sgo-menu-product-modal-image { max-height: 260px; }
  .sgo-menu-product-modal-copy { padding: 4px 0; }
  .sgo-menu-product-modal-price-quantity { align-items: center; flex-direction: row; gap: 8px; }
  .sgo-menu-product-modal-option-list { grid-template-columns: 1fr; }
  .sgo-menu-product-modal-footer-inner { gap: 10px; }
  .sgo-menu-product-modal-footer-inner [data-app-product-add] { min-width: 0; flex: 1; }
  .sgo-menu-product-modal-back-label { display: none; }
  .sgo-menu-product-modal-step-heading [data-app-product-back] { width: 38px; padding: 7px; }
}

@media (max-width: 350px) {
  body.selfgo-app { overflow-x: hidden; }
  .sgo-menu-title-line { gap: 8px; flex-wrap: wrap !important; }
  .sgo-menu-title-line h1 { flex: 1 1 auto; min-width: 140px; font-size: clamp(1.9rem, 10vw, 2.35rem); white-space: nowrap; }
  .sgo-menu-heading-availability { gap: 5px; padding: 7px 8px; font-size: .66rem; }
  .sgo-menu-heading-availability i { font-size: .72rem; }
  .sgo-menu-heading-context { gap: 6px; }
  .sgo-menu-table-context { font-size: .84rem; }
}

.sgo-client-access-page, .sgo-client-page { max-width: 900px; }

.sgo-explore-page { max-width: 1080px; }
.sgo-explore-intro { min-height: 250px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(28px, 5vw, 54px); overflow: hidden; background: linear-gradient(135deg, var(--sgo-surface) 0%, var(--sgo-primary-soft) 100%); }
.sgo-explore-intro-copy { max-width: 720px; }
.sgo-explore-intro-copy h1 { margin: 8px 0 12px; color: var(--sgo-primary-dark); font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.055em; line-height: 1.05; }
.sgo-explore-intro-copy p { max-width: 650px; margin: 0; color: var(--sgo-muted); font-size: 1.05rem; line-height: 1.65; }
.sgo-explore-intro-mark { width: 112px; height: 112px; flex: 0 0 112px; display: grid; place-items: center; border: 1px solid var(--sgo-border); border-radius: 34px; background: var(--sgo-surface); color: var(--sgo-primary); font-size: 3.8rem; box-shadow: 0 16px 34px rgba(128, 0, 0, .1); transform: rotate(8deg); }
.sgo-explore-directory { margin-top: 34px; }
.sgo-explore-total { color: var(--sgo-muted); font-size: .82rem; font-weight: 700; }
.sgo-explore-search { margin: 18px 0 22px; padding: 0; border: 1px solid var(--sgo-border); border-radius: 14px; background: var(--sgo-surface); box-shadow: 0 8px 24px rgba(0, 0, 0, .05); overflow: hidden; }
.sgo-explore-search .input-group-text, .sgo-explore-search .form-control, .sgo-explore-search .btn { min-height: 52px; border: 0; background: transparent; }
.sgo-explore-search .input-group-text { padding-left: 17px; color: var(--sgo-primary); }
.sgo-explore-search .form-control { box-shadow: none; color: var(--sgo-ink); }
.sgo-explore-search .btn { padding: 0 17px; color: var(--sgo-primary); }
.sgo-explore-company-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sgo-explore-company-card { min-width: 0; border: 1px solid var(--sgo-border); border-radius: 20px; background: var(--sgo-surface); box-shadow: 0 10px 28px rgba(0, 0, 0, .05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.sgo-explore-company-card:hover { border-color: var(--sgo-primary-soft); box-shadow: 0 18px 36px rgba(74, 0, 0, .12); transform: translateY(-2px); }
.sgo-explore-company-link { min-height: 190px; position: relative; display: flex; align-items: flex-start; gap: 17px; padding: 20px; color: inherit; text-decoration: none; }
.sgo-explore-company-logo-wrap { width: 76px; height: 76px; flex: 0 0 76px; display: grid; place-items: center; border: 1px solid var(--sgo-border); border-radius: 20px; background: var(--sgo-surface-soft); overflow: hidden; }
.sgo-explore-company-logo { width: 100%; height: 100%; padding: 8px; object-fit: contain; }
.sgo-explore-company-copy { min-width: 0; padding-right: 18px; }
.sgo-explore-company-label { display: block; margin-bottom: 7px; color: #287442; font-size: .68rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.sgo-explore-company-label i { margin-right: 3px; }
.sgo-explore-company-copy h3 { margin: 0 0 7px; overflow-wrap: anywhere; color: var(--sgo-primary-dark); font-size: 1.18rem; }
.sgo-explore-company-copy p { display: -webkit-box; margin: 0 0 12px; overflow: hidden; color: var(--sgo-muted); font-size: .85rem; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sgo-explore-company-copy small { display: block; overflow: hidden; color: var(--sgo-muted); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.sgo-explore-company-copy small i { margin-right: 3px; color: var(--sgo-primary); }
.sgo-explore-company-arrow { position: absolute; right: 18px; bottom: 18px; color: var(--sgo-primary); font-size: .85rem; }
.sgo-explore-empty { grid-column: 1 / -1; padding: 48px 24px; border: 1px dashed var(--sgo-border); border-radius: 20px; color: var(--sgo-muted); text-align: center; }
.sgo-explore-empty > i { margin-bottom: 12px; color: var(--sgo-primary); font-size: 2.2rem; }
.sgo-explore-empty h3 { margin: 0 0 6px; color: var(--sgo-primary-dark); font-size: 1.25rem; }
.sgo-explore-empty p { margin: 0; font-size: .9rem; }
.sgo-explore-marketing { display: flex; align-items: center; gap: 20px; margin-top: 42px; padding: 25px 28px; background: linear-gradient(135deg, var(--sgo-primary-soft), var(--sgo-surface)); }
.sgo-explore-marketing-icon { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 16px; background: var(--sgo-primary); color: #fff; font-size: 1.25rem; }
.sgo-explore-marketing-copy { min-width: 0; flex: 1; }
.sgo-explore-marketing-copy h2 { margin: 0 0 6px; color: var(--sgo-primary-dark); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.sgo-explore-marketing-copy p { margin: 0; color: var(--sgo-muted); font-size: .88rem; line-height: 1.5; }

@media (max-width: 760px) {
  .sgo-explore-intro { align-items: flex-start; flex-direction: column; }
  .sgo-explore-intro-mark { width: 74px; height: 74px; flex-basis: 74px; border-radius: 22px; font-size: 2.3rem; }
  .sgo-explore-company-grid { grid-template-columns: 1fr; }
  .sgo-explore-marketing { align-items: flex-start; flex-direction: column; }
  .sgo-explore-marketing .sgo-app-primary-button { width: 100%; }
}
.sgo-client-access-card { max-width: 680px; width: 100%; margin: 28px auto 0; }
.sgo-client-access-heading { margin-bottom: 24px; }
.sgo-client-access-heading h1 { margin: 0 0 8px; color: var(--sgo-primary-dark); font-size: clamp(1.65rem, 4vw, 2.35rem); }
.sgo-client-access-heading p { margin: 0; color: var(--sgo-muted); line-height: 1.6; }
.sgo-client-context-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.sgo-client-context-heading h1 { margin: 0 0 5px; color: var(--sgo-primary-dark); font-size: clamp(1.7rem, 4vw, 2.45rem); }
.sgo-client-context-heading p { margin: 0; color: var(--sgo-muted); }
.sgo-client-photo-editor { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-bottom: 28px; padding: 20px; border: 1px solid var(--sgo-border); border-radius: 18px; background: var(--sgo-primary-soft); }
.sgo-client-photo-frame { width: 112px; height: 112px; overflow: hidden; border: 4px solid var(--sgo-surface); border-radius: 50%; background: var(--sgo-surface-soft); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.sgo-client-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.sgo-client-photo-copy { display: flex; flex-direction: column; gap: 5px; color: var(--sgo-muted); }
.sgo-client-photo-copy strong { color: var(--sgo-primary-dark); font-size: 1.08rem; }
.sgo-client-photo-copy small { font-size: .76rem; }
.sgo-client-photo-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.sgo-client-tabs { margin-top: 4px; }
.sgo-client-tabs .nav-link { color: var(--sgo-muted); }
.sgo-client-tabs .nav-link.active { color: var(--sgo-primary); background: var(--sgo-primary-soft); border-color: var(--sgo-border) var(--sgo-border) var(--sgo-surface); }
.sgo-client-order-list, .sgo-client-favorite-list { display: grid; gap: 10px; }
.sgo-client-order-item, .sgo-client-favorite-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border: 1px solid var(--sgo-border); border-radius: 16px; background: var(--sgo-surface); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.sgo-client-order-item:hover, .sgo-client-favorite-item:hover { border-color: var(--sgo-primary); box-shadow: 0 10px 24px rgba(0,0,0,.08); transform: translateY(-1px); }
.sgo-client-order-number { color: var(--sgo-primary); font-size: .76rem; font-weight: 800; }
.sgo-client-order-item h2 { margin: 4px 0; color: var(--sgo-ink); font-size: 1rem; }
.sgo-client-order-item p { margin: 0; color: var(--sgo-muted); font-size: .82rem; }
.sgo-client-order-item .text-end { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.sgo-client-order-item strong { color: var(--sgo-primary); }
.sgo-client-order-heading { margin-bottom: 24px; }
.sgo-client-order-heading-main { min-width: 0; }
.sgo-client-order-heading-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sgo-client-order-heading-title h1 { min-width: 0; }
.sgo-client-order-heading-title > .bto { flex: 0 0 auto; }
.sgo-client-order-heading h1 { margin: 0; color: var(--sgo-primary-dark); font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.045em; }
.sgo-client-order-heading p { margin: 4px 0 0; color: var(--sgo-muted); }
.sgo-client-order-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.sgo-client-order-location, .sgo-client-order-responsible { display: inline-flex; align-items: center; gap: 7px; color: var(--sgo-muted); font-size: .75rem; }
.sgo-client-order-location { padding: .35em .65em; border: 1px solid var(--sgo-border); border-radius: .375rem; background: var(--sgo-surface); font-weight: 650; line-height: 1; }
.sgo-client-order-location i, .sgo-client-order-responsible i { color: var(--sgo-primary); }
.sgo-client-shared-code { margin: 18px 0 26px; padding: 13px 14px; border: 1px solid var(--phsa-primary-bg); border-radius: 14px; background: var(--phsa-soft-bg); color: var(--phsa-primary-bg); }
.sgo-client-shared-code-number-column { min-width: 0; }
.sgo-client-shared-code-label { display: block; color: var(--phsa-primary-bg); font-weight: 700; line-height: 1.35; }
.sgo-client-shared-code-number { width: fit-content; padding: 0; border: 0; background: transparent; color: inherit; font-size: 1.2rem; font-weight: 700; letter-spacing: .15em; line-height: 1.35; text-align: left; cursor: pointer; }
.sgo-client-shared-code-number:hover { text-decoration: underline; }
.sgo-client-shared-code-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; min-width: 0; }
.sgo-client-order-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 12px; }
.sgo-client-order-toolbar h2 { margin: 0; color: var(--sgo-primary-dark); font-size: 1.2rem; }
.sgo-client-order-consumption { align-items: flex-start; }
.sgo-client-order-consumption.is-current-client, .sgo-client-order-group.is-current-client { border-color: var(--phsa-primary-bg); background: var(--phsa-soft-hover-bg); }
.sgo-client-order-consumption-main { min-width: 0; flex: 1; }
.sgo-client-order-consumption-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sgo-client-order-product { display: flex; align-items: flex-start; gap: 8px; min-width: 0; flex: 1; }
.sgo-client-order-number { flex: 0 0 28px; padding-top: 4px; text-align: left; }
.sgo-client-order-product-content { min-width: 0; flex: 1; }
.sgo-client-order-product-content h2 { margin: 0; overflow-wrap: anywhere; }
.sgo-client-order-unit-price { display: block; margin-top: 5px; color: var(--bs-secondary-color, var(--sgo-muted)) !important; font-size: .82rem; font-weight: 700; }
.sgo-client-order-status { flex: 0 0 auto; max-width: 45%; margin-top: 1px; opacity: .76; font-weight: 650; text-align: right; }
.sgo-client-order-details { display: grid; gap: 5px; margin-top: 12px; padding-left: 0; color: var(--sgo-muted); font-size: .82rem; line-height: 1.45; }
.sgo-client-order-details > div { display: flex; gap: 6px; }
.sgo-client-order-detail-label { flex: 0 0 auto; color: var(--sgo-primary-dark); font-weight: 750; }
.sgo-client-order-value { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; margin-left: auto; text-align: right; white-space: nowrap; }
.sgo-client-order-value small { color: var(--sgo-muted); font-size: .72rem; }
.sgo-client-order-group { padding: 10px; border: 1px solid var(--sgo-border); border-radius: 17px; background: var(--sgo-surface); }
.sgo-client-order-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 3px 6px 10px; color: var(--sgo-primary-dark); }
.sgo-client-order-group-heading strong { display: inline-flex; align-items: center; gap: 7px; }
.sgo-client-order-group-heading span { color: var(--sgo-muted); font-size: .75rem; }
.sgo-client-order-group-subtotal { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 10px; padding: 10px 6px 2px; border-top: 1px solid var(--sgo-border); color: var(--sgo-muted); }
.sgo-client-order-group-subtotal strong { color: var(--sgo-primary-dark); }
.sgo-client-order-total { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--sgo-border); color: var(--sgo-muted); }
.sgo-client-order-total > span, .sgo-client-order-total > strong { font-size: clamp(1rem, 4vw, 1.45rem); }
.sgo-client-order-total > span { font-weight: 650; }
.sgo-client-order-total strong { color: var(--sgo-primary-dark); }
.sgo-client-favorite-item { justify-content: flex-start; color: var(--sgo-ink); }
.sgo-client-favorite-item img { width: 54px; height: 54px; flex: 0 0 54px; object-fit: contain; border: 1px solid var(--sgo-border); border-radius: 15px; background: var(--sgo-surface-soft); }
.sgo-client-favorite-item div { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 4px; }
.sgo-client-favorite-item strong { overflow: hidden; color: var(--sgo-primary-dark); text-overflow: ellipsis; white-space: nowrap; }
.sgo-client-favorite-item span { color: var(--sgo-muted); font-size: .82rem; }
.sgo-client-favorite-item > i { color: var(--sgo-primary); }
.sgo-client-empty { padding: 48px 20px; border: 1px dashed var(--sgo-border); border-radius: 16px; color: var(--sgo-muted); text-align: center; }
.sgo-client-empty i { margin-bottom: 12px; color: var(--sgo-primary); font-size: 2rem; }
.sgo-client-empty p { margin: 0; }

@media (max-width: 680px) {
  .sgo-client-order-heading-title { gap: 12px; }
  .sgo-client-photo-editor { grid-template-columns: 88px minmax(0, 1fr); }
  .sgo-client-photo-frame { width: 88px; height: 88px; }
  .sgo-client-photo-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .sgo-client-context-heading { flex-direction: column; }
}

@media (max-width: 420px) {
  .sgo-client-order-item { align-items: flex-start; flex-direction: column; }
  .sgo-client-order-consumption-main { width: 100%; }
  .sgo-client-order-item .text-end, .sgo-client-order-value { align-items: flex-end; flex-direction: row; justify-content: flex-end; width: 100%; }
  .sgo-client-order-consumption-header { gap: 8px; }
  .sgo-client-order-status { max-width: 42%; white-space: normal; }
}
