/*
Theme Name: TOROS B2B Portal
Theme URI: https://torospvc.com/
Author: TOROS Project
Description: TOROS PVC Doğrama için mobil öncelikli, B2B Pricing Core eklentisiyle uyumlu sade teklif portalı teması.
Version: 0.1.19
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: toros-b2b
*/
:root {
  --toros-night: #152028;
  --toros-night-2: #202f38;
  --toros-teal: #137d84;
  --toros-teal-strong: #0e626a;
  --toros-teal-soft: #e6f3f2;
  --toros-paper: #f5f8f7;
  --toros-white: #ffffff;
  --toros-ink: #1d2b33;
  --toros-muted: #52656b;
  --toros-line: #dbe5e4;
  --toros-shadow: 0 14px 38px rgba(11, 36, 44, .07);
  --toros-action-gradient: linear-gradient(112deg,#17333d 0%,#16434b 52%,#176369 100%);
  --toros-action-gradient-hover: linear-gradient(112deg,#204651 0%,#1b5962 52%,#1b8185 100%);
  --toros-action-shadow: 0 7px 16px rgba(16,69,74,.14);
  --toros-radius: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--toros-paper); color: var(--toros-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.55; overflow-x: clip; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--toros-teal-strong); text-underline-offset: 3px; }
a:hover { color: var(--toros-teal); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #34afb2; outline-offset: 3px; }
::selection { background: #b5e3e2; color: #10262c; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 1000; top: -80px; left: 12px; background: #fff; color: #111; padding: 10px 16px; }
.skip-link:focus { top: 10px; }
.site-header { position: relative; z-index: 20; background: var(--toros-night); color: #fff; border-bottom: 1px solid rgba(255,255,255,.09); }
.header-inner { display: flex; align-items: center; gap: 25px; min-height: 88px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; text-decoration: none; color: #fff; min-width: 0; }
.brand:hover { color: #fff; }
.brand-symbol { color: #52b8ba; width: 51px; height: 43px; flex: 0 0 51px; }
.brand-lettering { display: flex; flex-direction: column; line-height: 1; }
.brand-lettering strong { letter-spacing: .07em; font-size: 30px; font-weight: 800; }
.brand-lettering small { margin-top: 5px; color: #70c2c2; letter-spacing: .15em; font-size: 11px; font-weight: 700; }
.brand-logo img { display: block; max-width: 186px; max-height: 58px; width: auto; }
.desktop-nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2vw, 26px); margin-left: auto; }
.desktop-nav a, .header-user { color: #d8e1e2; font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"], .header-user:hover { color: #fff; }
.desktop-nav a[aria-current="page"] { box-shadow: 0 2px 0 #42aeb1; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.btn { display: inline-flex; min-height: 46px; padding: 12px 18px; gap: 13px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 750; line-height: 1.3; text-align: center; transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s; }
.btn:hover { transform: translateY(-1px); }
.btn-teal { background: var(--toros-action-gradient); color: white; border-color:#225e64; box-shadow:var(--toros-action-shadow); }
.btn-teal:hover { color: #fff; background: var(--toros-action-gradient-hover); box-shadow:0 9px 20px rgba(16,69,74,.21); }
.btn-outline { color: var(--toros-night); background: white; border-color: #cedadb; }
.btn-outline:hover { background: var(--toros-teal-soft); color: var(--toros-night); border-color: #7faeb0; }
.btn-light { background: white; color: #15373d; }
.btn-light:hover { color: #15373d; background: #e4f2f1; }
.btn-large { padding: 15px 22px; min-height: 54px; }
.hero { position: relative; background: linear-gradient(110deg, #fbfdfc, #eff6f4); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 370px; height: 370px; border-radius: 50%; background: radial-gradient(circle, rgba(47,156,159,.09), transparent 67%); left: -190px; top: -170px; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(28px, 5vw, 70px); padding-block: clamp(54px, 6.7vw, 92px); }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 20px; color: var(--toros-teal-strong); letter-spacing: .14em; font-size: 12px; font-weight: 800; }
.eyebrow-line { width: 27px; height: 2px; background: var(--toros-teal); }
h1, h2, h3, h4 { line-height: 1.14; letter-spacing: -.035em; }
.hero h1 { max-width: 610px; font-size: clamp(36px, 4.2vw, 62px); font-weight: 790; margin: 0; color: var(--toros-night); }
.hero-lede { max-width: 535px; color: var(--toros-muted); font-size: clamp(16px, 1.6vw, 18px); line-height: 1.72; margin: 24px 0 29px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: #59716f; font-size: 12px; font-weight: 650; margin: 25px 0 0; line-height: 2; }
.hero-note > span:first-child { color: var(--toros-teal); font-weight: 800; }
.hero-sep { color: #9aafab; margin: 0 5px; }
.hero-visual { background: var(--toros-night); border: 9px solid #26353c; color: #fff; min-height: 440px; border-radius: 24px; overflow: hidden; padding: 20px 22px; box-shadow: 0 22px 62px rgba(16,40,47,.20); display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(92,168,171,.20),transparent 40%,rgba(9,57,65,.5)); pointer-events: none; }
.hero-visual-top, .hero-visual-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .12em; font-weight: 700; color: #b5d4d2; }
.hero-visual-top span:first-child { color: #fff; font-size: 17px; font-weight: 850; letter-spacing: .09em; }
.window-scene { position: relative; margin: 20px 17px; height: 315px; display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 9px; transform: perspective(900px) rotateY(-7deg); }
.window-panel { position: relative; border: 10px solid #324b53; outline: 2px solid #6ba1a5; box-shadow: inset 0 0 0 3px #101e24, 0 7px 14px rgba(0,0,0,.25); background: linear-gradient(125deg, rgba(206,231,225,.5), rgba(82,152,158,.18) 36%, rgba(21,54,61,.75) 65%, rgba(146,199,190,.3)); }
.window-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.25) 0 6%, transparent 6% 45%, rgba(255,255,255,.07) 45% 52%, transparent 52%); }
.panel-center { transform: perspective(700px) rotateY(-22deg); transform-origin: left center; z-index: 1; }
.window-handle { position: absolute; right: 9px; top: 47%; height: 37px; width: 5px; border-radius: 3px; background: #c4dbd9; box-shadow: 0 0 0 2px #17252b; }
.visual-line { height: 1px; background: #2f6467; flex: 1; }
.value-bar { background: var(--toros-night); color: #e9f2f0; }
.value-bar-inner { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 20px; }
.value-bar-inner > div { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 8px 12px; font-size: 13px; font-weight: 650; }
.value-bar-inner > div + div { border-left: 1px solid #3d5159; }
.value-number { font-weight: 850; color: #5eb3b4; font-size: 14px; }
.section { padding-block: clamp(54px, 6vw, 90px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 27px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2, .cta-panel h2 { font-size: clamp(29px, 3.3vw, 43px); margin: 0; max-width: 590px; }
.section-heading > p { color: var(--toros-muted); font-size: 14px; max-width: 270px; margin: 0 0 5px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.service-card { display: flex; align-items: center; gap: 18px; padding: 25px 22px; min-width: 0; min-height: 112px; background: white; border: 1px solid var(--toros-line); border-radius: 14px; box-shadow: 0 4px 18px rgba(20,45,51,.035); }
.service-icon { width: 54px; height: 54px; flex: 0 0 54px; position: relative; display: grid; place-items: center; border-radius: 12px; background: #e9f5f3; color: var(--toros-teal); }
.service-icon > span { width: 27px; height: 32px; position: relative; border: 2px solid currentColor; border-radius: 2px; }
.service-window > span::before, .service-glass > span::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px solid currentColor; }
.service-window > span::after, .service-glass > span::after { content: ""; position: absolute; left: 0; right: 0; top: 48%; border-top: 2px solid currentColor; }
.service-door > span { width: 24px; height: 37px; }
.service-door > span::after { content: ""; position: absolute; right: 4px; top: 18px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.service-slide > span { width: 34px; height: 31px; background: linear-gradient(90deg,transparent 45%,currentColor 45% 51%,transparent 51%); }
.service-shutter > span { background: repeating-linear-gradient(to bottom, transparent 0 4px, currentColor 4px 5px); }
.service-net > span { background: repeating-linear-gradient(to right, transparent 0 5px, rgba(19,125,132,.3) 5px 6px), repeating-linear-gradient(to bottom, transparent 0 5px,rgba(19,125,132,.3) 5px 6px); }
.service-kind { display: block; font-size: 11px; letter-spacing: .1em; color: var(--toros-teal); font-weight: 750; text-transform: uppercase; margin-bottom: 4px; }
.service-card h3 { font-size: 17px; letter-spacing: -.02em; line-height: 1.3; margin: 0; }
.cta-section { padding-top: 12px; }
.cta-panel { background: linear-gradient(110deg, #18333b, #126872); border-radius: var(--toros-radius); color: #fff; padding: clamp(26px, 4.5vw, 55px); display: flex; justify-content: space-between; align-items: center; gap: 30px; overflow: hidden; }
.cta-panel .eyebrow { color: #8ee1df; margin-bottom: 13px; }
.cta-panel h2 { max-width: 510px; }
.cta-panel p:not(.eyebrow) { color: #d3e7e5; max-width: 540px; margin: 15px 0 0; }
.cta-panel .btn { flex-shrink: 0; }
.site-footer { background: #142029; color: #c7d4d6; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-block: 54px 40px; }
.footer-brand { font-size: 26px; color: #fff; letter-spacing: .08em; }
.footer-brand span { font-size: 12px; color: #60c0bf; letter-spacing: .1em; }
.site-footer p { color: #aebdc1; margin: 12px 0 0; font-size: 14px; }
.footer-contact h2 { color: #fff; font-size: 16px; margin: 0 0 13px; letter-spacing: 0; }
.footer-contact a { display: block; width: fit-content; color: #c5ecea; text-decoration: none; margin-bottom: 8px; font-size: 14px; }
.footer-contact a:hover { color: #fff; }
.footer-contact p { max-width: 375px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.12); padding-block: 17px 24px; font-size: 12px; color: #94a7ab; }
.mobile-bottom-nav { display: none; }
/* Content pages / editor content */
.content-main { min-height: 52vh; padding-block: 65px 80px; }
.content-wrap { max-width: 800px; }
.content-article, .post-list-item { background: #fff; padding: clamp(23px, 4vw, 44px); border-radius: 16px; border: 1px solid var(--toros-line); }
.content-article h1, .content-main > .wrap > h1 { font-size: clamp(30px, 4vw, 43px); margin: 0 0 20px; }
.entry-content { overflow-wrap: anywhere; }
.entry-content :is(p, ul, ol) { line-height: 1.8; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; }
.posts-list { display: grid; gap: 16px; }
.post-list-item h2 { margin: 0; font-size: 22px; }
.post-list-item h2 a { color: var(--toros-ink); }
.post-list-item p { color: var(--toros-muted); font-size: 13px; }
.notfound { text-align: center; }
.notfound .eyebrow { justify-content: center; }
/* The official B2B plugin owns pricing logic and markup. These are presentation overrides only. */
.portal-main { min-height: 60vh; padding-block: 38px 85px; }
.portal-page-heading { padding: 0 3px 12px; }
.portal-page-heading .eyebrow { margin-bottom: 8px; }
.portal-page-heading h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 8px; }
.portal-page-heading > p:last-child { color: var(--toros-muted); margin: 0; max-width: 56ch; }
.toros-portal-info { background: #fff; border: 1px solid var(--toros-line); border-radius: 12px; padding: 28px; margin: 18px 0 0; }
.portal-main .b2b-portal { margin: 18px 0 0; max-width: none; padding: clamp(14px, 2.6vw, 30px); color: var(--toros-ink); border-radius: var(--toros-radius); border-color: var(--toros-line); box-shadow: var(--toros-shadow); }
.portal-main .b2b-portal h2, .portal-main .b2b-portal h3 { color: var(--toros-night); }
.portal-main .b2b-portal h3 { font-size: 20px; margin: 28px 0 14px; }
.portal-main .b2b-portal .b2b-chip { border-color: #a5d3d2; background: var(--toros-teal-soft); color: var(--toros-teal-strong); font-weight: 700; }
.portal-main .b2b-portal .b2b-helper { border-color: #cfe1df; background: #f3f8f7; }
.portal-main .b2b-portal .b2b-helper strong { color: var(--toros-night); }
.portal-main .b2b-portal .b2b-builder { background: #f6faf9; border-color: var(--toros-line); gap: 13px; border-radius: 12px; }
.portal-main .b2b-portal select, .portal-main .b2b-portal input { border-radius: 9px; border-color: #aabebc; min-height: 48px; height: 48px; font-size: 16px; }
/* Portal colors and interaction states belong to Core; Theme changes geometry only. */
.portal-main .b2b-portal button { min-height: 48px; border-radius: 9px; }
.portal-main .b2b-portal button:disabled { opacity: .5; }
.portal-main .b2b-portal button.b2b-remove { background: #fff1f0; color: #9e3434; border: 1px solid #efdbd6; padding-inline: 13px; }
.portal-main .b2b-portal button.b2b-remove:hover { background: #f8dbd6; }
.portal-main .b2b-portal .b2b-table th { background: #f3f8f7; color: #42595d; }
.portal-main .b2b-portal .b2b-table td, .portal-main .b2b-portal .b2b-table th { border-color: var(--toros-line); }
.portal-main .b2b-portal .b2b-summary { border-top: 1px solid var(--toros-line); padding-top: 22px; margin-top: 6px; }
.portal-main .b2b-portal .b2b-summary strong { color: var(--toros-night); font-size: clamp(18px, 2.2vw, 24px); }
.portal-main .b2b-portal .b2b-history details { border-color: var(--toros-line); }
.portal-main .b2b-portal :is(button, input, select):focus-visible { outline-color: #43adaf; }
/* User is not logged in: plugin renders notice outside portal container. */
.portal-main .b2b-notice { max-width: none; background: white; color: var(--toros-ink); border-color: var(--toros-line); padding: 25px; }
.portal-main .b2b-notice a { font-weight: 800; }
/* Reduce motion; preserve touch targets */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media (max-width: 1050px) {
  .header-inner { gap: 18px; }
  .desktop-nav { gap: 13px; }
  .header-actions { gap: 11px; }
  .brand-lettering strong { font-size: 26px; }
  .brand-symbol { width: 43px; flex-basis: 43px; }
  .header-user, .desktop-nav a { font-size: 12px; }
  .header-quote { font-size: 12px; padding-inline: 11px; }
}
@media (max-width: 840px) {
  .wrap { width: min(100% - 36px, 1120px); }
  .desktop-nav, .header-user { display: none; }
  .header-inner { min-height: 76px; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 45px 60px; }
  .hero-visual { width: min(100%, 640px); min-height: 350px; }
  .window-scene { height: 260px; }
  .hero h1 { max-width: 700px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: flex; justify-content: space-evenly; background: #fff; color: var(--toros-ink); box-shadow: 0 -5px 20px rgba(18,38,45,.10); border-top: 1px solid #d5e0df; padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
  .mobile-bottom-nav a { min-height: 50px; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #63757a; text-decoration: none; font-size: 11px; font-weight: 750; }
  .mobile-bottom-nav a[aria-current="page"] { color: var(--toros-teal-strong); }
  .mobile-bottom-nav svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .site-footer { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .portal-main { padding-bottom: 80px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .site-header .header-inner { min-height: 68px; }
  .brand-symbol { width: 39px; height: 34px; flex-basis: 39px; }
  .brand-lettering strong { font-size: 24px; }
  .brand-lettering small { font-size: 9px; }
  .brand-logo img { max-height: 47px; max-width: 160px; }
  .header-quote { min-height: 40px; font-size: 12px; padding: 10px 12px; }
  .hero-grid { gap: 33px; padding-block: 42px 40px; }
  .eyebrow { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(33px, 9vw, 44px); }
  .hero-lede { margin-block: 17px 21px; font-size: 15px; line-height: 1.65; }
  .hero-buttons { display: grid; grid-template-columns: 1fr; }
  .hero-buttons .btn { width: 100%; }
  .hero-note { font-size: 11px; line-height: 1.8; }
  .hero-visual { border-width: 6px; border-radius: 17px; min-height: 280px; padding: 15px; }
  .window-scene { height: 205px; margin: 18px 10px; gap: 7px; }
  .window-panel { border-width: 6px; }
  .hero-visual-top { font-size: 8px; }
  .hero-visual-top span:first-child { font-size: 14px; }
  .hero-visual-bottom { font-size: 9px; }
  .value-bar-inner { padding-block: 15px; gap: 3px; }
  .value-bar-inner > div { flex-direction: column; gap: 2px; font-size: 10px; text-align: center; padding-inline: 4px; }
  .value-number { font-size: 12px; }
  .section { padding-block: 49px; }
  .section-heading { display: block; }
  .section-heading > p { max-width: none; margin-top: 13px; }
  .service-grid { gap: 10px; }
  .service-card { flex-direction: column; align-items: flex-start; padding: 18px 15px; min-height: 170px; gap: 13px; }
  .service-icon { width: 45px; height: 45px; flex-basis: 45px; }
  .service-card h3 { font-size: 14px; }
  .service-kind { font-size: 10px; }
  .cta-section { padding-top: 0; }
  .cta-panel { display: block; padding: 26px 21px; border-radius: 14px; }
  .cta-panel h2 { font-size: 29px; }
  .cta-panel p:not(.eyebrow) { font-size: 14px; }
  .cta-panel .btn { margin-top: 23px; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding-block: 40px 25px; }
  .footer-bottom { display: grid; gap: 8px; }
  .portal-main { padding-top: 24px; }
  .portal-page-heading h1 { font-size: 30px; }
  .portal-page-heading > p:last-child { font-size: 13px; }
  .portal-main .b2b-portal { margin-top: 12px; padding: 13px; }
  .portal-main .b2b-portal .b2b-builder { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .portal-main .b2b-portal .b2b-builder .b2b-qty { grid-column: auto; }
  .portal-main .b2b-portal .b2b-header { margin-bottom: 16px; }
  .portal-main .b2b-portal .b2b-chip { font-size: 11px; }
  .portal-main .b2b-portal .b2b-summary { gap: 12px; }
  .portal-main .b2b-portal .b2b-summary strong, .portal-main .b2b-portal .b2b-summary button { width: 100%; }
  .portal-main .b2b-portal .b2b-table tr { border-color: var(--toros-line); }
  .portal-main .b2b-portal .b2b-table td { overflow-wrap: anywhere; font-size: 13px; }
}
@media (max-width: 350px) {
  .header-quote { font-size: 11px; padding: 9px; }
  .brand { gap: 6px; }
  .brand-lettering strong { font-size: 20px; }
  .brand-symbol { width: 32px; flex-basis: 32px; }
  .hero h1 { font-size: 31px; }
  .service-card { padding-inline: 10px; }
}

/* v0.1.2 — logged-in customer dashboard. Prices and identity checks stay in Core. */
.hero-dashboard { background: linear-gradient(122deg, #f6fbfa 0%, #eaf4f2 100%); }
.hero-dashboard .hero-grid { align-items: center; }
.hero-dashboard h1 { font-size: clamp(32px, 4.1vw, 54px); overflow-wrap: anywhere; }
.hero-dashboard .hero-lede { max-width: 600px; }
.dashboard-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; max-width: 525px; }
.dashboard-action { min-width: 0; display: flex; align-items: center; gap: 9px; min-height: 72px; padding: 14px 15px; text-decoration: none; color: #192d34; background: #fff; border: 1px solid #d0e1df; border-radius: 12px; font-size: 15px; font-weight: 760; box-shadow: 0 4px 18px rgba(12,50,57,.04); }
.dashboard-action:hover { background: #f8fffd; color: #0e626a; border-color: #79b6b9; }
.dashboard-action > span:last-child { margin-left: auto; color: #127880; font-size: 21px; }
.dashboard-action-icon { width: 33px; min-width: 33px; height: 33px; display: grid; place-items: center; background: var(--toros-teal-soft); border-radius: 9px; color: #146e75; font-size: 20px; }
.dashboard-setup-note { max-width: 535px; background: #fff9ed; padding: 17px; border: 1px solid #f3d5a3; border-radius: 12px; color: #6b4b17; }
.customer-sidecard { min-width: 0; background: #fff; padding: clamp(22px, 3vw, 37px); border: 1px solid #d0e2e0; border-radius: 20px; box-shadow: var(--toros-shadow); scroll-margin-top: 90px; }
.customer-card-top { display: flex; gap: 9px; align-items: flex-start; justify-content: space-between; }
.customer-card-kicker { font-size: 11px; letter-spacing: .13em; font-weight: 800; color: #52676b; }
.customer-account-status { flex-shrink: 0; background: #ddf3ed; color: #12665b; padding: 4px 9px; border-radius: 99px; font-size: 11px; font-weight: 800; }
.customer-avatar { display: grid; place-items: center; width: 56px; height: 56px; margin-top: 28px; border-radius: 14px; background: #d9efec; color: #11757d; font-weight: 850; font-size: 30px; }
.customer-sidecard h2 { font-size: clamp(21px, 2.5vw, 28px); overflow-wrap: anywhere; margin: 14px 0 4px; }
.customer-sidecard > p { color: var(--toros-muted); margin: 0 0 21px; font-size: 13px; }
.customer-info-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; border-top: 1px solid var(--toros-line); padding: 13px 0; font-size: 13px; }
.customer-info-row > span { color: var(--toros-muted); }
.customer-info-row strong { max-width: 100%; overflow-wrap: anywhere; text-align: right; color: #22373c; }
.customer-signout { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 44px; font-size: 13px; font-weight: 780; text-decoration: none; }
.customer-signout span { font-size: 18px; }
.header-status { font-size: 12px; color: #d4e2e0; white-space: nowrap; }
@media (max-width: 840px) {
  .hero-dashboard .hero-grid { gap: 26px; }
  .customer-sidecard { max-width: 640px; width: 100%; }
}
@media (max-width: 600px) {
  .hero-dashboard .hero-grid { padding-block: 30px 44px; }
  .hero-dashboard h1 { font-size: clamp(31px, 8vw, 39px); }
  .dashboard-actions { gap: 9px; }
  .dashboard-action { flex-wrap: wrap; font-size: 13px; min-height: 67px; padding: 11px 10px; }
  .dashboard-action-icon { height: 28px; width: 28px; min-width: 28px; font-size: 17px; }
  .customer-sidecard { padding: 21px 19px; border-radius: 15px; }
  .customer-avatar { margin-top: 17px; }
  .customer-info-row strong { text-align: left; }
  .header-status { display: none; }
}
@media (max-width: 345px) {
  .dashboard-actions { grid-template-columns: 1fr; }
  .customer-card-top { flex-wrap: wrap; }
}

/* v0.1.4 — B2B customer home is a focused two-action launchpad. */
.toros-customer-home { min-height:calc(100dvh - 220px); background:#f5f9f8; color:#20353c; }
.toros-customer-hub { max-width:860px; margin:0 auto; padding:clamp(24px,4vw,46px) 18px 70px; }
.toros-customer-hub .toros-hub-eyebrow { font-size:12px; color:#176e75; font-weight:800; letter-spacing:.08em; }
.toros-customer-hub h1 { color:#20343c; font-size:clamp(27px,4.5vw,43px); margin:9px 0 8px; line-height:1.15; }
.toros-customer-hub > p:not(.toros-hub-eyebrow) { font-size:clamp(14px,2vw,17px); color:#4a6368; max-width:560px; }
.toros-hub-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:20px; }
.toros-hub-action, .toros-hub-action:visited { display:flex; align-items:center; gap:15px; border:1px solid #cbdcdd; background:#fff; border-radius:16px; padding:21px 19px; color:#203a41; text-decoration:none; min-width:0; box-shadow:0 6px 22px rgba(24,51,60,.04); }
.toros-hub-action.is-primary, .toros-hub-action.is-primary:visited { background:var(--toros-action-gradient); color:#fff; border-color:#225e64; box-shadow:var(--toros-action-shadow); }
.toros-hub-action.is-primary:hover { background:var(--toros-action-gradient-hover); box-shadow:0 9px 20px rgba(16,69,74,.21); }
.toros-hub-icon { font-size:26px; flex:0 0 auto; }
.toros-hub-action > span:nth-child(2) { display:grid; gap:5px; flex:1; min-width:0; }
.toros-hub-action strong { font-size:clamp(15px,2vw,19px); line-height:1.25; }
.toros-hub-action small { font-size:13px; color:inherit; opacity:.85; }
.toros-hub-action:hover, .toros-hub-action:focus-visible { outline:2px solid #81baba; outline-offset:3px; }
.toros-hub-alert { color:#8a4c1b!important; }
@media (max-width:680px) { .toros-hub-actions { grid-template-columns:1fr; gap:12px; } .toros-hub-action { padding:18px; } }

/* v0.1.6 — Native TOROS customer account area; never show WordPress profile UI. */
.toros-account-main { background:#f5f8f7; min-height:calc(100dvh - 190px); padding:30px 0 95px; }
.toros-account-shell { max-width:780px; }
.toros-account-heading { margin:0 0 24px; }
.toros-account-eyebrow { font-size:12px; font-weight:800; color:#146e75; letter-spacing:.08em; margin:0 0 7px; }
.toros-account-heading h1 { font-size:clamp(28px,5vw,39px); line-height:1.15; margin:0 0 7px; }
.toros-account-heading p:not(.toros-account-eyebrow) { color:#577075; margin:0; }
.toros-account-card { background:#fff; border:1px solid #d5e3e3; padding:clamp(19px,4vw,28px); border-radius:18px; margin:0 0 18px; box-shadow:0 5px 16px rgba(13,48,57,.035); }
.toros-account-card h2 { font-size:clamp(19px,3vw,23px); margin:0 0 9px; line-height:1.25; }
.toros-account-card > p,.toros-account-detail p { color:#556970; font-size:14px; margin:0 0 20px; }
.toros-account-info { display:flex; justify-content:space-between; gap:10px 20px; padding:12px 0; border-top:1px solid #e6eeee; font-size:14px; }
.toros-account-info span { color:#556970; }
.toros-account-info strong { overflow-wrap:anywhere; text-align:right; color:#1d393e; }
.toros-account-form { display:grid; gap:15px; }
.toros-account-form > label:not(.toros-account-check) { display:grid; gap:6px; font-size:14px; font-weight:750; color:#29444a; }
.toros-account-form input:not([type="checkbox"]) { width:100%; min-width:0; min-height:48px; padding:11px 13px; border:1px solid #abc6c6; border-radius:11px; background:#fff; color:#1d3036; font-size:16px; }
.toros-account-form input:focus { outline:3px solid rgba(24,132,138,.19); border-color:#167f85; }
.toros-account-button { display:inline-flex; align-items:center; justify-content:center; border:1px solid #225e64; border-radius:11px; min-height:46px; padding:10px 20px; width:fit-content; max-width:100%; background:var(--toros-action-gradient); color:#fff; font-weight:800; cursor:pointer; box-shadow:var(--toros-action-shadow); transition:background .18s,box-shadow .18s; }
.toros-account-button:hover { background:var(--toros-action-gradient-hover); box-shadow:0 9px 20px rgba(16,69,74,.21); }
.toros-account-button-warning { background:#5c6265; border-color:#5c6265; box-shadow:none; }
.toros-account-button-danger { background:#923f43; border-color:#923f43; box-shadow:none; }
.toros-account-button-warning:hover { background:#44494c; box-shadow:none; }
.toros-account-button-danger:hover { background:#742d32; box-shadow:none; }
.toros-account-message { background:#e8f3f2; color:#12575d; border:1px solid #b5d9d5; border-radius:12px; padding:13px 15px; margin:0 0 18px; font-size:14px; }
.toros-account-sensitive { border-color:#e0dddd; }
.toros-account-detail { border-top:1px solid #e4e8e8; padding:16px 0; }
.toros-account-detail:last-child { padding-bottom:0; }
.toros-account-detail summary { cursor:pointer; color:#304a4e; font-weight:800; font-size:15px; }
.toros-account-detail[open] summary { margin-bottom:12px; }
.toros-account-check { display:flex; align-items:flex-start; gap:9px; color:#3d5054; font-size:14px; }
.toros-account-check input { width:18px; height:18px; flex:none; }
.toros-account-inline-link { display:inline-block; margin-top:13px; font-size:14px; font-weight:700; }
.toros-account-pending { padding:10px 12px; background:#fff3e6; border-radius:8px; }
.toros-account-logout { display:inline-flex; align-items:center; min-height:44px; font-weight:800; text-decoration:none; }
@media (max-width:620px) {
 .toros-account-main { padding:23px 0 110px; }
 .toros-account-shell { width:calc(100% - 32px); }
 .toros-account-info { display:grid; gap:2px; }
 .toros-account-info strong { text-align:left; }
 .toros-account-button { width:100%; }
}

/* v0.1.8 — account logout available alongside customer account controls. */
.toros-account-heading-row { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.toros-account-heading-row .toros-account-logout { display:inline-flex; min-height:44px; align-items:center; padding:9px 14px; border:1px solid #b7d1d0; border-radius:9px; color:#15646b; background:#eef7f6; font-weight:750; white-space:nowrap; }
.toros-header-logout { border-left:1px solid #476067; padding-left:13px; }


/* v0.1.9 — legible customer mobile navigation with clear active state. */
@media (max-width: 840px) {
  .mobile-bottom-nav.is-customer-nav {
    box-sizing:border-box;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-items:stretch;
    gap:5px;
    min-height:72px;
    padding:7px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    background:#f9fcfb;
    border-top:1px solid #bfd8d8;
    box-shadow:0 -7px 22px rgba(15,62,68,.10);
  }
  .mobile-bottom-nav.is-customer-nav a {
    min-width:0;
    min-height:57px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    padding:5px 3px 4px;
    border:1px solid transparent;
    border-radius:11px;
    color:#385d64;
    font-size:12px;
    line-height:1.2;
    font-weight:750;
    text-align:center;
    text-decoration:none;
    -webkit-tap-highlight-color:transparent;
    transition:background-color .15s ease, color .15s ease, border-color .15s ease;
  }
  .mobile-bottom-nav.is-customer-nav .toros-mobile-nav-icon {
    display:grid;
    place-items:center;
    width:32px;
    height:30px;
    border-radius:9px;
    background:#e8f2f1;
    color:#1b6670;
  }
  .mobile-bottom-nav.is-customer-nav .toros-mobile-nav-icon svg {
    display:block;
    width:20px;
    height:20px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  .mobile-bottom-nav.is-customer-nav a[aria-current="page"] {
    background:#e4f4f1;
    border-color:#a9d3d1;
    color:#075f69;
    font-weight:850;
  }
  .mobile-bottom-nav.is-customer-nav a[aria-current="page"] .toros-mobile-nav-icon {
    background:#137d84;
    color:white;
  }
  .mobile-bottom-nav.is-customer-nav a:focus-visible {
    outline:2px solid #0c757e;
    outline-offset:2px;
  }
  .mobile-bottom-nav.is-customer-nav a:not([aria-current="page"]):active {
    background:#eef7f5;
  }
  .mobile-bottom-nav.is-customer-nav .toros-mobile-nav-label {
    display:block;
    white-space:nowrap;
    font-size:12px;
    letter-spacing:0;
  }
  /* Prevent the fixed navigation from obscuring the final page actions. */
  .site-footer { padding-bottom:calc(86px + env(safe-area-inset-bottom)); }
  .portal-main { padding-bottom:calc(92px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .mobile-bottom-nav.is-customer-nav { gap:3px; padding-inline:6px; }
  .mobile-bottom-nav.is-customer-nav a { font-size:11px; }
  .mobile-bottom-nav.is-customer-nav .toros-mobile-nav-label { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) {
  .mobile-bottom-nav.is-customer-nav a { transition:none; }
}

/* v0.1.10 — offline email change form */
.toros-account-form input.toros-account-readonly{background:#edf5f4;color:#416168;border-color:#cadfdd;cursor:default;opacity:1;-webkit-text-fill-color:#416168}
.toros-account-help{margin-top:12px;font-size:13px;color:#657b81;line-height:1.55}

/* v0.1.11 — TOROS footer handwritten slogan. Existing footer dimensions are preserved:
   the branded image is placed inside the former slogan slot, not in a new row. */
.site-footer .footer-identity { position:relative; min-width:0; height:74px; }
.site-footer .footer-identity .footer-brand { display:inline-block; max-width:100%; white-space:nowrap; line-height:1.45; }
.site-footer .footer-slogan-frame {
  display:block; position:absolute; left:0; top:33px;
  width:205px; height:100px; max-width:100%; overflow:hidden;
  background:url("assets/toros-footer-slogan-fallback.png") center 53% / cover no-repeat;
  pointer-events:none;
}
.site-footer .footer-slogan-frame img {
  display:block; width:100%; height:100%; max-width:none;
  object-fit:cover; object-position:center 53%;
}
@media (max-width:600px) {
  /* Compact mobile footer: move the existing slogan slot to the right, without changing its size or layout height. */
  .site-footer .footer-slogan-frame { left:auto; right:0; width:135px; height:66px; top:30px; }
}
@media (max-width:350px) {
  .site-footer .footer-identity .footer-brand { font-size:23px; }
  .site-footer .footer-identity .footer-brand span { font-size:11px; }
}

/* v0.1.13: administrative mobile controls align with customer navigation. */
@media(max-width:840px){
.mobile-bottom-nav.is-admin-nav{display:flex;gap:8px;padding:8px max(10px,env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:#fff}
.mobile-bottom-nav.is-admin-nav a{min-width:0;min-height:61px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px 10px;border:1px solid #c9dddd;border-radius:12px;background:#f1f8f7;color:#25565d;font-weight:800;text-align:center}
.mobile-bottom-nav.is-admin-nav a:last-child{background:#fdf5f4;border-color:#e9d3d0;color:#803d3b}
.mobile-bottom-nav.is-admin-nav .toros-mobile-nav-icon{display:grid;place-items:center;width:24px;height:24px}
.mobile-bottom-nav.is-admin-nav svg{width:22px;height:22px;stroke-width:2.1}
.mobile-bottom-nav.is-admin-nav .toros-mobile-nav-label{font-size:clamp(12px,2.8vw,14px);line-height:1.1}
.mobile-bottom-nav.is-admin-nav a:focus-visible{outline:3px solid #338c92;outline-offset:2px}
}

/* v0.1.17 — one coherent customer dashboard: short steps, one trust panel.
   Only the authenticated customer landing screen is affected. */
.toros-customer-home .toros-customer-hub {max-width:1040px;}
.toros-customer-home .toros-hub-actions {max-width:none;}
.toros-customer-home .toros-hub-guide {
  margin:16px 0 0; padding:17px 21px 14px;
  border:1px solid #cfe1e0; border-radius:17px; background:#edf7f5;
}
.toros-customer-home .toros-hub-guide-head {display:flex;align-items:center;gap:12px;min-width:0;}
.toros-customer-home .toros-hub-guide-mark {
  flex:0 0 34px;display:grid;place-items:center;width:34px;height:34px;
  border-radius:11px;color:#fff;background:#197c84;font-size:17px;font-weight:800;
}
.toros-customer-home .toros-hub-guide h2 {margin:0 0 3px;color:#183d45;font-size:17px;line-height:1.25;letter-spacing:-.01em;}
.toros-customer-home .toros-hub-guide-head p {margin:0;color:#536f73;font-size:13px;line-height:1.4;}
.toros-customer-home .toros-hub-steps {
  list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;min-width:0;margin:15px 0 10px;padding:13px 0 5px;border-top:1px solid #cee0df;
}
.toros-customer-home .toros-hub-steps li {display:flex;gap:10px;min-width:0;padding:0 14px;border-right:1px solid #cfe2e0;}
.toros-customer-home .toros-hub-steps li:first-child {padding-left:0;}
.toros-customer-home .toros-hub-steps li:last-child {padding-right:0;border-right:0;}
.toros-customer-home .toros-hub-step-num {flex:0 0 auto;color:#16838b;font-size:15px;font-weight:850;line-height:1.2;font-variant-numeric:tabular-nums;}
.toros-customer-home .toros-hub-steps li div {display:grid;align-content:start;gap:4px;min-width:0;}
.toros-customer-home .toros-hub-steps li strong {color:#214c54;font-size:13px;line-height:1.35;}
.toros-customer-home .toros-hub-steps li div>span {color:#516d72;font-size:12px;line-height:1.5;overflow-wrap:break-word;}
.toros-customer-home .toros-hub-steps b {color:#215f66;font-weight:750;}
.toros-customer-home .toros-hub-guide .toros-hub-guide-foot {margin:6px 0 0;color:#516e73;font-size:12px;line-height:1.45;}
.toros-customer-home .toros-hub-guide-foot strong {color:#20636b;}
/* The three brand values live in a single visual group, not three full-width banners. */
.toros-customer-home .toros-hub-promises {
  position:relative;overflow:hidden;margin:16px 0 0;padding:22px 24px 24px;
  border:1px solid #25565d;border-radius:20px;
  background:linear-gradient(112deg,#17333d 0%,#16434b 52%,#176369 100%);
  color:#f8fffd;box-shadow:0 10px 25px rgba(18,53,58,.09);
}
.toros-customer-home .toros-hub-promises::before {
  content:"";position:absolute;right:-90px;top:-150px;width:380px;height:380px;
  border:1px solid rgba(218,251,245,.09);border-radius:50%;pointer-events:none;
}
.toros-customer-home .toros-hub-promises-head {position:relative;z-index:1;margin:0 0 18px;}
.toros-customer-home .toros-hub-promises-head>span {display:block;color:#a1d9d7;font-weight:800;font-size:10px;letter-spacing:.14em;margin-bottom:5px;}
.toros-customer-home .toros-hub-promises-head h2 {margin:0;color:#fff;font-size:clamp(18px,2.4vw,23px);font-weight:800;line-height:1.3;letter-spacing:-.025em;}
.toros-customer-home .toros-hub-promises-grid {position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;}
.toros-customer-home .toros-hub-promise {display:flex;align-items:flex-start;gap:12px;min-width:0;padding:2px 17px 0;border-right:1px solid rgba(223,250,246,.2);}
.toros-customer-home .toros-hub-promise:first-child {padding-left:0;}
.toros-customer-home .toros-hub-promise:last-child {padding-right:0;border-right:0;}
.toros-customer-home .toros-hub-promise-icon {
  display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;
  border:1px solid rgba(176,230,220,.2);border-radius:12px;
  background:rgba(227,255,250,.11);color:#9ce7e0;
}
.toros-customer-home .toros-hub-promise svg {display:block;width:22px;height:22px;color:inherit;}
.toros-customer-home .toros-hub-promise-copy {min-width:0;}
.toros-customer-home .toros-hub-promise h3 {margin:2px 0 7px;color:#fff;font-size:15px;font-weight:800;line-height:1.25;letter-spacing:-.015em;overflow-wrap:break-word;}
.toros-customer-home .toros-hub-promise p {margin:0;color:#d4e8e7;font-size:12px;line-height:1.55;overflow-wrap:break-word;}
@media(max-width:740px) {
  .toros-customer-home .toros-hub-steps {grid-template-columns:1fr;gap:10px;margin-bottom:10px;padding-top:12px;}
  .toros-customer-home .toros-hub-steps li {padding:0;border-right:0;}
  .toros-customer-home .toros-hub-steps li div {gap:2px;}
  .toros-customer-home .toros-hub-promises {padding:20px 19px;}
  .toros-customer-home .toros-hub-promises-grid {grid-template-columns:1fr;}
  .toros-customer-home .toros-hub-promise {gap:12px;padding:14px 0;border-right:0;border-bottom:1px solid rgba(223,250,246,.19);}
  .toros-customer-home .toros-hub-promise:first-child {padding-top:0;}
  .toros-customer-home .toros-hub-promise:last-child {padding-bottom:0;border-bottom:0;}
  .toros-customer-home .toros-hub-promise h3 {margin:1px 0 4px;}
  .toros-customer-home .toros-hub-promises-head {margin-bottom:16px;}
}
@media(max-width:680px) {
  .toros-customer-home .toros-customer-hub {padding-bottom:calc(95px + env(safe-area-inset-bottom));}
  .toros-customer-home .toros-hub-guide {margin-top:13px;padding:15px;}
  .toros-customer-home .toros-hub-guide-head {align-items:flex-start;gap:9px;}
  .toros-customer-home .toros-hub-guide h2 {font-size:15px;}
  .toros-customer-home .toros-hub-guide-head p {display:none;}
  .toros-customer-home .toros-hub-promises {margin-top:13px;}
}
@media(max-width:380px) {
  .toros-customer-home .toros-hub-promises {padding:17px 14px;}
  .toros-customer-home .toros-hub-promise-icon {width:38px;height:38px;flex-basis:38px;}
}
