
/* Theme switch: Soft Sage day mode is the default unless the visitor explicitly chose dark mode. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:7px 11px;border:1px solid var(--site-border,#dfe8e1);border-radius:11px;background:transparent;color:var(--site-ink,#24352b);font:700 11px Vazirmatn,Tahoma,sans-serif;cursor:pointer;white-space:nowrap;transition:background .2s,border-color .2s,color .2s}
.theme-toggle:hover{background:#edf5ef;border-color:#b9d6c3}
.theme-toggle span:first-child{font-size:17px;line-height:1}
.theme-action{display:flex;align-items:center;margin-inline-start:auto}
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] body{background:#111a16;color:#e5eee8}
html[data-theme="dark"] body.site-body{background:#111a16;color:#e5eee8}
html[data-theme="dark"] .site-header{background:rgba(20,31,26,.94);border-bottom-color:#2a3b32}
html[data-theme="dark"] .site-header .brand,html[data-theme="dark"] .site-footer .brand{color:#e5eee8}
html[data-theme="dark"] .main-nav a,html[data-theme="dark"] .footer-nav a{color:#bac9bf}
html[data-theme="dark"] .main-nav a:hover,html[data-theme="dark"] .main-nav a.active,html[data-theme="dark"] .footer-nav a:hover{color:#70c69b}
html[data-theme="dark"] .theme-toggle{color:#e3eee7;border-color:#3a5145;background:#1b2a22}
html[data-theme="dark"] .theme-toggle:hover{background:#263c30;border-color:#527963}
html[data-theme="dark"] .site-hero h1,html[data-theme="dark"] .section-title h2,html[data-theme="dark"] .subpage-heading h1,html[data-theme="dark"] .feature-detail-grid h2,html[data-theme="dark"] .how-steps h2,html[data-theme="dark"] .pricing-card h2,html[data-theme="dark"] .faq-card h2{color:#edf5ef}
html[data-theme="dark"] .site-hero-copy>p,html[data-theme="dark"] .section-title p,html[data-theme="dark"] .subpage-heading p,html[data-theme="dark"] .feature-cards p,html[data-theme="dark"] .feature-detail-grid p,html[data-theme="dark"] .how-steps p,html[data-theme="dark"] .footer-top p{color:#a5b5aa}
html[data-theme="dark"] .site-eyebrow{color:#78c79d}
html[data-theme="dark"] .site-hero h1 em{color:#70c99a}
html[data-theme="dark"] .hero-glow{background:radial-gradient(circle,#244b36 0%,#1a3024 52%,transparent 73%)}
html[data-theme="dark"] .browser-card,html[data-theme="dark"] .demo-chat,html[data-theme="dark"] .floating-stat,html[data-theme="dark"] .feature-cards article,html[data-theme="dark"] .feature-detail-grid article,html[data-theme="dark"] .how-steps article,html[data-theme="dark"] .pricing-card,html[data-theme="dark"] .faq-card{background:#1a2821;border-color:#30453a;box-shadow:0 12px 35px rgba(0,0,0,.2)}
html[data-theme="dark"] .browser-top{background:#202f27;border-color:#304238}
html[data-theme="dark"] .browser-top b,html[data-theme="dark"] .floating-stat small{color:#9eafa4}
html[data-theme="dark"] .store-banner{background:linear-gradient(110deg,#294a37,#233c2d);color:#dcece1}
html[data-theme="dark"] .store-banner-text span{color:#a8c7b3}
html[data-theme="dark"] .product-skeleton i{background:#2a3b31}
html[data-theme="dark"] .demo-chat-body{background:#17231d}
html[data-theme="dark"] .demo-bubble.bot{background:#263b2e;color:#d5e6da}
html[data-theme="dark"] .demo-bubble.user{background:#315543;color:#f0f8f2}
html[data-theme="dark"] .demo-chat-input{border-color:#354a3d;color:#a5b5aa}
html[data-theme="dark"] .floating-stat b{color:#e0ece4}
html[data-theme="dark"] .floating-stat>span,html[data-theme="dark"] .feature-symbol,html[data-theme="dark"] .how-steps article>b{background:#294637;color:#8ad1a8}
html[data-theme="dark"] .benefit-band{background:#17231d;border-color:#2a3a31}
html[data-theme="dark"] .benefit-inner span{color:#9dafaa}
html[data-theme="dark"] .benefit-inner b{color:#d3e3d8}
html[data-theme="dark"] .site-cta{background:linear-gradient(120deg,#102f25,#1d503b)}
html[data-theme="dark"] .site-footer{color:#dce8e0}
html[data-theme="dark"] .footer-top{border-color:#2a3a31}
html[data-theme="dark"] .footer-bottom{color:#9eafa4}
html[data-theme="dark"] .feature-callout,html[data-theme="dark"] .pricing-note{background:#1d3025;border-color:#385341;color:#c4d7c9}
html[data-theme="dark"] .pricing-card ul{color:#b5c4b9}
html[data-theme="dark"] .pricing-description,html[data-theme="dark"] .pricing-duration,html[data-theme="dark"] .pricing-loading{color:#a5b5aa}
html[data-theme="dark"] .mobile-nav-wrap .main-nav{background:#1a2821;border-color:#30453a}
html[data-theme="dark"] .mobile-nav-wrap .main-nav a{border-color:#2a3c31}
html[data-theme="dark"] .mobile-menu{background:#1b2a22;border-color:#3a5145}
html[data-theme="dark"] .mobile-menu span{background:#dcebe1}
html[data-theme="dark"] .btn-outline{background:#1b2a22;border-color:#40584a;color:#dcebe1}
html[data-theme="dark"] .btn-ghost{color:#d2e1d7}
html[data-theme="dark"] .faq-item{background:#1a2821;border-color:#30453a}
html[data-theme="dark"] .faq-item summary{color:#edf5ef}
html[data-theme="dark"] .faq-item p{color:#b4c4b9}
html[data-theme="dark"] .faq-link{color:#83d0a5}

/* Customer account dashboard */
html[data-theme="dark"] body:not(.site-body){background:#111a16;color:#e5eee8}
html[data-theme="dark"] .app-entry{background:radial-gradient(circle at 50% 15%,#203c2c,transparent 42%),#111a16}
html[data-theme="dark"] .dash-topbar{background:#17231d;border-color:#2d4035}
html[data-theme="dark"] .dash-topbar .brand{color:#e5eee8}
html[data-theme="dark"] .entry-card,html[data-theme="dark"] .panel-card,html[data-theme="dark"] .sidebar,html[data-theme="dark"] .auth-modal,html[data-theme="dark"] .owner-nav,html[data-theme="dark"] .owner-content,html[data-theme="dark"] .owner-login,html[data-theme="dark"] .stat-card,html[data-theme="dark"] .billing-card,html[data-theme="dark"] .billing-orders-card,html[data-theme="dark"] .notification-card,html[data-theme="dark"] .crawl-card,html[data-theme="dark"] .profile-form-card,html[data-theme="dark"] .knowledge-card,html[data-theme="dark"] .import-box,html[data-theme="dark"] .coupon-form,html[data-theme="dark"] .referral-account-card,html[data-theme="dark"] .plan-edit-card,html[data-theme="dark"] .conversation-list,html[data-theme="dark"] .owner-note,html[data-theme="dark"] .crawl-review-item{background:#1a2821;border-color:#30453a;color:#e5eee8}
html[data-theme="dark"] .entry-card p,html[data-theme="dark"] .page-heading p,html[data-theme="dark"] .panel-title p,html[data-theme="dark"] .owner-content>p,html[data-theme="dark"] .owner-login p,html[data-theme="dark"] .stat-card small,html[data-theme="dark"] .crawl-intro p,html[data-theme="dark"] .crawl-limit,html[data-theme="dark"] .owner-hint,html[data-theme="dark"] .owner-status,html[data-theme="dark"] .subscription-expiry{color:#a6b6ab}
html[data-theme="dark"] .sidebar-help,html[data-theme="dark"] .usage-item,html[data-theme="dark"] .signup-fields,html[data-theme="dark"] .notification-preferences,html[data-theme="dark"] .owner-kpi,html[data-theme="dark"] .plan-edit-card,html[data-theme="dark"] .notification-item,html[data-theme="dark"] .notification-item.is-read{background:#21342a;border-color:#344b3d;color:#dbe9df}
html[data-theme="dark"] .side-link,html[data-theme="dark"] .owner-nav button{color:#b8c8bd}
html[data-theme="dark"] .side-link.active,html[data-theme="dark"] .side-link:hover,html[data-theme="dark"] .owner-nav button.active,html[data-theme="dark"] .owner-nav button:hover{background:#294536;color:#8bd3aa}
html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{background:#142019!important;border-color:#3a5043!important;color:#e5eee8!important}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#82968a}
html[data-theme="dark"] .btn-outline,html[data-theme="dark"] .btn-ghost{background:#1b2a22;color:#dbe9df;border-color:#40584a}
html[data-theme="dark"] .btn-soft,html[data-theme="dark"] .check-circle,html[data-theme="dark"] .note-icon,html[data-theme="dark"] .success-icon{background:#294536;color:#91d4ad}
html[data-theme="dark"] .setup-banner{background:linear-gradient(110deg,#1b4a37,#1b3c2e);border-color:#34664d}
html[data-theme="dark"] .usage-item b,html[data-theme="dark"] .notification-item b,html[data-theme="dark"] .notification-item p,html[data-theme="dark"] .owner-table td{color:#dce9e0}
html[data-theme="dark"] .crawl-result,html[data-theme="dark"] .billing-order-row,html[data-theme="dark"] .knowledge-entry,html[data-theme="dark"] .referral-list-row{background:#17251e;border-color:#30453a;color:#dce9e0}
html[data-theme="dark"] .widget-live-preview{background:#17231d;border-color:#30453a}
html[data-theme="dark"] .widget-live-body{background:#1b2a22}
html[data-theme="dark"] .widget-live-body>div{background:#294235;color:#dce9e0}
html[data-theme="dark"] .widget-live-foot,html[data-theme="dark"] .form-control,html[data-theme="dark"] .field-control{background:#142019;border-color:#3a5043;color:#e5eee8}
html[data-theme="dark"] .owner-table th,html[data-theme="dark"] .owner-table td{border-color:#30453a}
html[data-theme="dark"] .modal-backdrop{background:rgba(0,0,0,.72)}
html[data-theme="dark"] .theme-toggle{border-color:#3a5145;background:#1b2a22;color:#e3eee7}
@media(max-width:680px){
  html[data-theme="light"] body.site-body .site-header .header-actions,html[data-theme="dark"] body.site-body .site-header .header-actions{display:flex;gap:0;margin:0}
  body.site-body .site-header .header-actions>a{display:none}
  body.site-body .site-header .theme-toggle{min-height:36px;padding:6px 9px;font-size:10px}
  .theme-action{margin-inline-start:0}
}

html[data-theme="dark"] .benefit-inner span{color:#9dafaa}

/* Public chat and appointment booking pages */
html[data-theme="dark"] body:has(.shell){background:#111a16;color:#e5eee8}
html[data-theme="dark"] .shell{background:#19271f;border-color:#33483b;box-shadow:0 18px 60px rgba(0,0,0,.32)}
html[data-theme="dark"] .body{background:#142019}
html[data-theme="dark"] .msg.bot{background:#294235;color:#dce9df}
html[data-theme="dark"] .msg.user{background:#1f3027;border-color:#3a5043;color:#e4eee8}
html[data-theme="dark"] .msg.human{background:#24384a;border-color:#3b5870;color:#e1edf8}
html[data-theme="dark"] .form{background:#19271f;border-color:#30453a}
html[data-theme="dark"] .form input{background:#142019;border-color:#3a5043;color:#e5eee8}
html[data-theme="dark"] .foot,html[data-theme="dark"] .footer{color:#9eafa4}
html[data-theme="dark"] .contact{background:#1f3027;border-color:#40584a;color:#8bd3aa}
html[data-theme="dark"] .content{background:#19271f}
html[data-theme="dark"] .field input,html[data-theme="dark"] .field select,html[data-theme="dark"] .field textarea{background:#142019;color:#e5eee8;border-color:#3a5043}
html[data-theme="dark"] .slot{background:#1c2b23;border-color:#40584a;color:#cce0d2}
html[data-theme="dark"] .slot.selected{background:#227b62;color:#fff}
html[data-theme="dark"] .note{background:#22372b;color:#c5d7ca}
html[data-theme="dark"] .summary{background:#1e3026;border-color:#40584a;color:#e1ece4}
html[data-theme="dark"] .message{color:#c3d8ca}
html[data-theme="dark"] .message.error{color:#ff9b91}
html[data-theme="dark"] .head .theme-toggle{margin-inline-start:auto;background:#ffffff18;border-color:#ffffff55;color:#fff}
html[data-theme="dark"] .head .theme-toggle:hover{background:#ffffff2b}
html[data-theme="light"] .head .theme-toggle{margin-inline-start:auto;background:#ffffff18;border-color:#ffffff55;color:#fff}
html[data-theme="light"] .head .theme-toggle:hover{background:#ffffff2b}
html[data-theme="dark"] .entry-faq-link a{color:#8bd3aa}
.entry-faq-link{font-size:11px;margin:15px 0 0}
.entry-faq-link a{color:#277b60;text-decoration:none;font-weight:700}


/* Soft Sage light theme — default appearance for new visitors. */
html[data-theme="light"] {
  color-scheme: light;
  --theme-page: #F2F6F2;
  --theme-surface: #FAFCFA;
  --theme-surface-soft: #F6FAF6;
  --theme-border: #DCE8DE;
  --theme-ink: #193B2C;
}
html[data-theme="light"] body {
  background-color: #F2F6F2 !important;
  color: #193B2C;
}
html[data-theme="light"] body.site-body {
  background-color: #F2F6F2 !important;
  background-image: radial-gradient(ellipse at 8% 0%, rgba(105, 174, 127, .075), transparent 34%),
                    linear-gradient(180deg, #F2F6F2 0%, #EEF4EF 100%) !important;
  color: #193B2C;
}
html[data-theme="light"] body:not(.site-body) {
  background-color: #F2F6F2 !important;
  background-image: radial-gradient(ellipse at 8% 0%, rgba(105, 174, 127, .075), transparent 32%),
                    radial-gradient(ellipse at 95% 75%, rgba(5, 130, 84, .035), transparent 28%),
                    linear-gradient(180deg, #F2F6F2 0%, #EDF3EE 100%) !important;
  color: #193B2C;
}
html[data-theme="light"] .app-entry,
html[data-theme="light"] .dashboard-main {
  background: transparent !important;
}
html[data-theme="light"] .site-header {
  background: rgba(250, 252, 250, .94) !important;
  border-bottom-color: #DCE8DE !important;
}
html[data-theme="light"] .site-footer {
  background: linear-gradient(180deg, #EEF4EF, #E9F1EB) !important;
  border-top-color: #DCE8DE !important;
}
html[data-theme="light"] .theme-toggle {
  color: #244735;
  border-color: #D5E3D8;
  background: rgba(250, 252, 250, .8);
}
html[data-theme="light"] .theme-toggle:hover {
  background: #E8F1EA;
  border-color: #BBD2C1;
}

/* Off-white card surfaces retain separation from the page canvas. */
html[data-theme="light"] .entry-card,
html[data-theme="light"] .panel-card,
html[data-theme="light"] .auth-modal,
html[data-theme="light"] .owner-content,
html[data-theme="light"] .owner-login,
html[data-theme="light"] .owner-note,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .billing-card,
html[data-theme="light"] .billing-orders-card,
html[data-theme="light"] .notification-card,
html[data-theme="light"] .crawl-card,
html[data-theme="light"] .profile-form-card,
html[data-theme="light"] .knowledge-card,
html[data-theme="light"] .import-box,
html[data-theme="light"] .coupon-form,
html[data-theme="light"] .referral-account-card,
html[data-theme="light"] .conversation-list,
html[data-theme="light"] .conversation-detail,
html[data-theme="light"] .crawl-review-item,
html[data-theme="light"] .partner-owner-grid > .panel-card,
html[data-theme="light"] .partner-table-card {
  background: linear-gradient(155deg, #FAFCFA 0%, #F6FAF6 100%) !important;
  border-color: #DCE8DE !important;
  color: #193B2C;
}
html[data-theme="light"] .owner-nav {
  background: #F8FBF8 !important;
  border-color: #DCE8DE !important;
}
html[data-theme="light"] .usage-item,
html[data-theme="light"] .referral-summary > div,
html[data-theme="light"] .owner-kpi,
html[data-theme="light"] .signup-fields,
html[data-theme="light"] .notification-preferences,
html[data-theme="light"] .plan-edit-card {
  background: #EFF5F0 !important;
  border-color: #DCE8DE !important;
}
html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select,
html[data-theme="light"] .form-control,
html[data-theme="light"] .field-control {
  background-color: #F8FBF8 !important;
  border-color: #D5E3D8 !important;
  color: #193B2C !important;
}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: #829488;
}
html[data-theme="light"] .page-heading h1,
html[data-theme="light"] .panel-title h2,
html[data-theme="light"] .panel-title h3,
html[data-theme="light"] .billing-top h2,
html[data-theme="light"] .crawl-intro h3 {
  color: #193B2C !important;
}
html[data-theme="light"] .page-heading p,
html[data-theme="light"] .panel-title p,
html[data-theme="light"] .billing-top p,
html[data-theme="light"] .crawl-intro p {
  color: #667D6E !important;
}

/* Public pages use the same calm page canvas and subtly tinted surfaces. */
html[data-theme="light"] .browser-card,
html[data-theme="light"] .demo-chat,
html[data-theme="light"] .floating-stat,
html[data-theme="light"] .feature-cards article,
html[data-theme="light"] .feature-detail-grid article,
html[data-theme="light"] .how-steps article,
html[data-theme="light"] .pricing-card,
html[data-theme="light"] .faq-card,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .subpage-heading,
html[data-theme="light"] .premium-subpage-cta,
html[data-theme="light"] .subpage-cta {
  background: linear-gradient(155deg, #FAFCFA 0%, #F6FAF6 100%) !important;
  border-color: #DCE8DE !important;
}
html[data-theme="light"] .demo-chat-body,
html[data-theme="light"] .browser-top,
html[data-theme="light"] .widget-live-body,
html[data-theme="light"] .content,
html[data-theme="light"] .body {
  background: #EEF4EF !important;
}

/* Standalone public conversation and booking surfaces. */
html[data-theme="light"] .shell {
  background: #FAFCFA !important;
  border-color: #DCE8DE !important;
}
html[data-theme="light"] .msg.bot {
  background: #E7F0E9 !important;
  color: #294A37 !important;
}
html[data-theme="light"] .msg.user {
  background: #FAFCFA !important;
  border-color: #DCE8DE !important;
  color: #294A37 !important;
}
html[data-theme="light"] .form {
  background: #FAFCFA !important;
  border-color: #DCE8DE !important;
}


/* v0.12.1 cross-page visual consistency and mobile overflow guard */
html,body{max-width:100%;}
body{overflow-x:clip;}
img,svg,video,canvas{max-width:100%;}
.site-container,.site-header,.site-footer,.subpage,.pricing-grid,.pricing-card,.owner-shell,.dashboard-shell{min-width:0;}
.hero-premium,.hero-premium-copy,.hero-premium h1,.hero-premium-copy>p,.channels-showcase,.channels-showcase-copy{min-width:0;max-width:100%;}
.hero-premium h1,.hero-premium-copy>p,.channels-showcase-copy h2,.channels-showcase-copy p{overflow-wrap:anywhere;word-break:normal;}
@media(max-width:760px){
  .hero-premium{box-sizing:border-box;width:calc(100% - 28px)!important;padding-inline:18px!important;}
  .hero-premium-copy{width:100%;}
  .hero-premium h1{font-size:clamp(27px,7.3vw,34px)!important;letter-spacing:-.45px!important;line-height:1.62!important;}
  .site-header .theme-toggle{flex:0 0 auto;}
  .subpage-heading h1{overflow-wrap:anywhere;}
  .site-container{max-width:100%;}
}

/* Light theme cards for pages with locally-scoped markup. */
html[data-theme="light"] .partner-perks article,
html[data-theme="light"] .partner-apply-card,
html[data-theme="light"] .partner-link-card,
html[data-theme="light"] .partner-owner-grid>.panel-card,
html[data-theme="light"] .partner-table-card{
  background:linear-gradient(155deg,#FAFCFA 0%,#F6FAF6 100%);
  border-color:#DCE8DE;
  color:#193B2C;
}
html[data-theme="light"] .partner-apply-grid input,
html[data-theme="light"] .partner-apply-grid textarea,
html[data-theme="light"] .partner-link-controls input{
  background:#F8FBF8;border-color:#D5E3D8;color:#193B2C;
}
html[data-theme="dark"] .partner-link-card{background:#1a2821;border-color:#30453a;color:#e5eee8;}
html[data-theme="dark"] .partner-link-controls input{background:#142019;border-color:#3a5043;color:#e5eee8;}
html[data-theme="dark"] .partner-owner-grid>.panel-card,
html[data-theme="dark"] .partner-table-card{background:#1a2821;border-color:#30453a;color:#e5eee8;}


/* v0.12.3 partner club visual refinement */
/* Public partner page: align the header with the rest of the light Soft Sage site. */
.partner-public-head{
  box-sizing:border-box;
  min-height:66px;
  padding:9px 13px;
  border:1px solid #dce8de;
  border-radius:17px;
  background:rgba(250,252,250,.96);
  box-shadow:0 9px 24px rgba(11,72,45,.055);
}
.partner-public-head .brand{color:#193b2c;font-size:18px;line-height:1.2;}
.partner-public-head .brand img{display:block;object-fit:contain;}
.partner-public-head .header-actions .theme-toggle{display:none!important;}
.partner-public-hero .eyebrow{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  max-width:100%;
  box-sizing:border-box;
  padding:8px 14px;
  border:1px solid #ccebd6;
  border-radius:999px;
  background:linear-gradient(135deg,#eaf9ef 0%,#d9f3e2 100%);
  color:#126e4b!important;
  font-size:11px;
  font-weight:900;
  line-height:1.8;
  letter-spacing:.15px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 5px 14px rgba(7,91,56,.08);
  overflow-wrap:anywhere;
}
.partner-public-hero{box-shadow:0 18px 42px rgba(7,67,43,.13);}
.partner-perks article{
  position:relative;
  overflow:hidden;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.partner-perks article:before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:3px;
  background:linear-gradient(90deg,#bce9ca,#0b9362);
}
.partner-perks article>span{
  display:inline-grid;
  width:38px;
  height:38px;
  place-items:center;
  border-radius:12px;
  background:#e8f7ed;
  color:#087b55;
}
.partner-perks article b{color:#193b2c;font-size:13px;}
.partner-perks article p{color:#718478;}
@media(hover:hover){.partner-perks article:hover{transform:translateY(-3px);border-color:#c8e5d1;box-shadow:0 14px 30px rgba(7,91,56,.09);}}

/* Business dashboard partner club: make the PASOKHYAR PARTNERS label a clear mint badge. */
#page-partners .page-heading>div>.eyebrow{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  max-width:100%;
  margin-bottom:10px;
  padding:7px 13px;
  border:1px solid #ccebd6;
  border-radius:999px;
  background:linear-gradient(135deg,#eaf9ef,#d9f3e2);
  color:#126e4b!important;
  font-size:10px;
  font-weight:900;
  line-height:1.8;
  letter-spacing:.35px;
}
#page-partners .partner-portal-hero{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(177,235,197,.25);
  background:radial-gradient(circle at 92% 0,rgba(150,237,177,.17),transparent 36%),linear-gradient(118deg,#073d2e 0%,#105c42 58%,#18805a 100%);
  box-shadow:0 14px 34px rgba(7,67,43,.13),inset 0 1px 0 rgba(255,255,255,.08);
}
#page-partners .partner-portal-hero>div{position:relative;z-index:1;}
#page-partners .partner-portal-hero>b{opacity:.82;text-shadow:0 8px 22px rgba(0,0,0,.12);}
#page-partners .partner-portal-stats .stat-card{
  min-width:0;
  padding:16px 17px;
  border:1px solid #d8eadf;
  border-radius:16px;
  background:linear-gradient(150deg,#fbfefb 0%,#edf8f1 100%);
  box-shadow:0 9px 24px rgba(12,79,49,.055);
}
#page-partners .partner-portal-stats .stat-card>span{color:#526e5d;font-size:10px;font-weight:800;}
#page-partners .partner-portal-stats .stat-card>b{
  display:block;
  margin:7px 0 3px;
  color:#087b55;
  font-size:clamp(17px,2.1vw,22px);
  line-height:1.45;
  overflow-wrap:anywhere;
  font-variant-numeric:tabular-nums;
}
#page-partners .partner-portal-stats .stat-card>small{color:#829488;font-size:9px;}

/* The 82% homepage highlight is a supporting metric, not the main headline. */
.sales-impact-highlight b{font-size:27px;letter-spacing:-.5px;}
@media(max-width:640px){
  .partner-public-head{
    justify-content:flex-start;
    gap:12px;
    padding:8px 11px;
  }
  .partner-public-head .brand{order:1;flex:0 1 auto;min-width:0;}
  .partner-public-head .mobile-nav-wrap{
    order:2;
    display:block;
    position:relative;
    flex:0 0 46px;
    margin-inline-start:0;
    margin-inline-end:0;
  }
  .partner-public-head .mobile-nav-wrap>summary{
    display:flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    width:46px;
    height:46px;
    border:1px solid #d5e5da;
    border-radius:13px;
    background:#fff;
    box-shadow:0 5px 14px rgba(7,91,56,.07);
  }
  .partner-public-head .mobile-menu{width:46px;height:46px;}
  .partner-public-head .header-actions{display:none!important;}
  .partner-public-head .main-nav{right:0;left:auto;}
  .partner-public-hero .eyebrow{font-size:10px;padding:7px 11px;}
  .partner-public-hero h1{font-size:clamp(23px,6.1vw,27px);line-height:1.65;}
  #page-partners .partner-portal-stats .stat-card{padding:13px 12px;}
  #page-partners .partner-portal-stats .stat-card>b{font-size:18px;}
  .sales-impact-highlight b{font-size:24px;}
}
html[data-theme="dark"] .partner-public-head{
  background:rgba(25,39,31,.96);
  border-color:#30483a;
  box-shadow:0 9px 24px rgba(0,0,0,.2);
}
html[data-theme="dark"] .partner-public-head .brand{color:#e5eee8;}
html[data-theme="dark"] .partner-public-hero .eyebrow{
  color:#bcebd0!important;
  border-color:#39684d;
  background:linear-gradient(135deg,#1f4430,#254d37);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
html[data-theme="dark"] .partner-perks article b{color:#e5eee8;}
html[data-theme="dark"] #page-partners .page-heading>div>.eyebrow{
  color:#bcebd0!important;
  border-color:#39684d;
  background:linear-gradient(135deg,#1f4430,#254d37);
}
html[data-theme="dark"] #page-partners .partner-portal-stats .stat-card{
  background:linear-gradient(150deg,#1b3024,#16281e);
  border-color:#31533d;
}
html[data-theme="dark"] #page-partners .partner-portal-stats .stat-card>span{color:#b5cbbd;}
html[data-theme="dark"] #page-partners .partner-portal-stats .stat-card>b{color:#93dfad;}
html[data-theme="dark"] #page-partners .partner-portal-stats .stat-card>small{color:#9eb2a5;}
html[data-theme="dark"] .partner-public-head .mobile-nav-wrap>summary{
  background:#1b2a22;
  border-color:#3a5145;
  box-shadow:none;
}

/* Keep the partner hamburger adjacent to the brand across phone and small-tablet widths. */
@media(max-width:760px){
  .partner-public-head{justify-content:flex-start;gap:12px;padding:8px 11px;}
  .partner-public-head .brand{order:1;flex:0 1 auto;min-width:0;}
  .partner-public-head .mobile-nav-wrap{order:2;display:block;position:relative;flex:0 0 46px;margin-inline:0;}
  .partner-public-head .header-actions{display:none!important;}
  .partner-public-head .main-nav{right:0;left:auto;}
}
@media(max-width:760px){
  .partner-public-head .mobile-nav-wrap{margin-inline:0!important;flex:0 0 46px!important;}
}
@media(max-width:760px){
  .partner-public-head .main-nav{width:min(235px,calc(100vw - 54px));}
}

/* Keep the partner-page hamburger centered in the mobile header. */
@media(max-width:760px){
  .partner-public-head{position:relative;}
  .partner-public-head .mobile-nav-wrap{
    position:absolute!important;
    left:50%;
    top:50%;
    z-index:20;
    width:46px;
    height:46px;
    margin:0!important;
    flex:0 0 46px!important;
    transform:translate(-50%,-50%);
  }
  .partner-public-head .mobile-nav-wrap>summary{width:46px;height:46px;}
  .partner-public-head .main-nav{
    top:calc(100% + 8px);
    left:50%;
    right:auto;
    width:min(235px,calc(100vw - 54px));
    transform:translateX(-50%);
  }
}
