/* Keep deployed Vazirmatn font. Only tune ordinary public editorial hierarchy;
   no change to homepage maximalist typography, Studio, login or ERP. */
.sam-public-shell .sam-editorial-page>.sam-page-hero .sam-page-hero-copy h1{
  font-family:Vazirmatn,Tahoma,"Segoe UI",Arial,sans-serif!important;
  font-size:clamp(32px,3.2vw,46px)!important;
  line-height:1.31!important;
  font-weight:730!important;
  letter-spacing:normal!important;
}
.sam-public-shell .sam-editorial-page .sam-section-heading h2{
  font-family:Vazirmatn,Tahoma,"Segoe UI",Arial,sans-serif!important;
  font-size:clamp(26px,2.5vw,35px)!important;
  line-height:1.43!important;
  font-weight:700!important;
  letter-spacing:normal!important;
}
.sam-public-shell .sam-editorial-page .sam-page-eyebrow{
  font-size:clamp(12px,1vw,14px)!important;
  line-height:1.8!important;
  font-weight:690!important;
}
.sam-public-shell .sam-editorial-page .sam-section-heading>p{
  font-weight:690!important;
  letter-spacing:0!important;
  font-size:12px!important;
}
.sam-about-page .sam-about-refine{padding:40px clamp(18px,4.2vw,72px) 80px;max-width:1440px;margin:0 auto;box-sizing:border-box}
.sam-about-page .sam-about-refine__grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(22px,5vw,80px);align-items:center;max-width:1250px;margin:auto}
.sam-about-page .sam-about-refine__copy{min-width:0;text-align:start;color:#e6f2fa}
.sam-about-page .sam-about-refine__eyebrow{display:inline-block;font-size:12px;letter-spacing:.035em;line-height:1.7;color:#9dd6fa;font-weight:750}
.sam-about-page .sam-about-refine__copy h2{margin:12px 0 15px;max-width:640px;font-size:clamp(25px,2.7vw,37px)!important;font-weight:710;line-height:1.43;letter-spacing:normal}
.sam-about-page .sam-about-refine__copy>p{font-size:15px;font-weight:440;line-height:2;max-width:680px;margin:0 0 22px;color:#d5e7f4}
.sam-about-page .sam-about-refine__copy ul{margin:0 0 24px;padding:0;list-style:none;max-width:640px}
.sam-about-page .sam-about-refine__copy li{display:flex;align-items:center;gap:14px;padding:9px 0;border-bottom:1px solid rgba(208,228,246,.18);font-size:15px;font-weight:560}
.sam-about-page .sam-about-refine__num{font:700 12px/1.4 Arial,sans-serif;color:#88bae3;letter-spacing:.08em}
.sam-about-page .sam-about-refine__cta{display:inline-flex;align-items:center;gap:12px;color:#b6e1ff;text-decoration:none;font-weight:730;font-size:14px;padding:10px 0;border-bottom:1px solid rgba(167,216,253,.6)}
.sam-about-page .sam-about-refine__cta:hover{color:#fff;border-color:#fff}
.sam-about-page .sam-about-refine__note{display:block;margin-top:16px;max-width:630px;font-size:11px;line-height:1.8;color:#a9c0d3}
.sam-about-page .sam-about-refine__image{position:relative;margin:0;overflow:hidden;border-radius:22px;aspect-ratio:1.06/1;max-height:490px;min-width:0;background:#17364d}
.sam-about-page .sam-about-refine__image img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.90)}
.sam-about-page .sam-about-refine__image figcaption{position:absolute;inset-inline:0;bottom:0;font:700 11px/1.5 Arial,sans-serif;letter-spacing:.13em;background:linear-gradient(transparent,rgba(7,20,30,.79));color:#fff;padding:42px 22px 19px;direction:ltr;text-align:left}
.sam-public-shell[data-theme="light"] .sam-about-page .sam-about-refine__copy{color:#16314a}
.sam-public-shell[data-theme="light"] .sam-about-page .sam-about-refine__eyebrow{color:#1769a5}
.sam-public-shell[data-theme="light"] .sam-about-page .sam-about-refine__copy>p{color:#405970}
.sam-public-shell[data-theme="light"] .sam-about-page .sam-about-refine__copy li{border-color:#d4e1ec}
.sam-public-shell[data-theme="light"] .sam-about-page .sam-about-refine__num{color:#2d719e}
.sam-public-shell[data-theme="light"] .sam-about-page .sam-about-refine__cta{color:#155a99;border-color:#8dbad9}
.sam-public-shell[data-theme="light"] .sam-about-page .sam-about-refine__note{color:#5c7386}
.sam-partnership-page .sam-partner-form-surface{scroll-margin-top:110px}
@media(max-width:900px){
 .sam-about-page .sam-about-refine__grid{grid-template-columns:minmax(0,1fr);gap:22px}
 .sam-about-page .sam-about-refine__image{max-height:380px;aspect-ratio:1.5/1}
}
@media(max-width:600px){
 .sam-about-page .sam-about-refine{padding:30px 20px 54px}
 .sam-about-page .sam-about-refine__image{max-height:none;aspect-ratio:1.35/1;border-radius:14px}
 .sam-about-page .sam-about-refine__copy>p{font-size:14px;line-height:1.9}
 .sam-public-shell .sam-editorial-page>.sam-page-hero .sam-page-hero-copy h1{font-size:clamp(30px,8vw,40px)!important}
}
/* The historical public theme applies !important light ink to some heading
   groups and white to others. The evidence block must resolve both explicitly. */
.sam-public-shell[data-theme="light"] .sam-about-page .sam-about-refine__copy h2{color:#16314a!important}
.sam-public-shell[data-theme="dark"] .sam-about-page .sam-about-refine__copy h2{color:#e6f2fa!important}
/* Match public hero scale in non-home editorial pages; no global/home/ERP changes. */
html body .sam-public-shell .sam-editorial-page>.sam-page-hero .sam-page-hero-copy h1{
  font-size:clamp(31px,3.15vw,46px)!important;
}
@media(max-width:600px){
 html body .sam-public-shell .sam-editorial-page>.sam-page-hero .sam-page-hero-copy h1{
   font-size:clamp(29px,7.7vw,39px)!important;
 }
}


/* One proportional editorial hero rhythm, four independent stories.
   Native content may grow taller on very small screens rather than clip. */
#root #main-content .sam-catalog-storefront > .sam-page-hero.is-compact,
#root #main-content .sam-project-portfolio > .sam-page-hero.is-compact,
#root #main-content .sam-partnership-page > .sam-page-hero.is-compact,
#root #main-content .sam-about-page > .sam-page-hero.is-compact {
  min-height: 560px !important;
  height: auto !important;
}
@media (max-width:640px){
 #root #main-content .sam-catalog-storefront > .sam-page-hero.is-compact,
 #root #main-content .sam-project-portfolio > .sam-page-hero.is-compact,
 #root #main-content .sam-partnership-page > .sam-page-hero.is-compact,
 #root #main-content .sam-about-page > .sam-page-hero.is-compact {
   min-height: 610px !important;
   height: auto !important;
 }
}
#root #main-content .sam-about-page > .sam-page-hero.is-compact img{
  object-fit: cover;
  object-position: 56% center;
}

/* One functional, source-tracked storefront enhancement in the existing
   public refine stylesheet. Pricing Core is the sole retail price authority. */
.sam-shop-quick-add,
.sam-shop-add-main{
  cursor:pointer;border:1px solid #2b607b;border-radius:10px;
  background:#143b58;color:#fff;font:inherit;font-size:13px;font-weight:750;
  padding:10px 14px;min-height:39px;line-height:1.4;
  transition:filter .15s ease,transform .15s ease;
}
.sam-shop-quick-add:hover,.sam-shop-add-main:hover{filter:brightness(1.12);transform:translateY(-1px)}
.sam-shop-quick-add{width:100%;margin-top:9px;background:transparent;color:#17354e;border-color:#b3c4d6}
html[data-theme="dark"] .sam-shop-quick-add,
html[data-samami-theme="dark"] .sam-shop-quick-add{color:#eaf3fa;border-color:#59738a}
.sam-shop-quick-add:focus-visible,.sam-shop-add-main:focus-visible,
.sam-public-cart-fab:focus-visible,.sam-public-cart button:focus-visible{
  outline:3px solid #d8aa43;outline-offset:3px
}
#root #main-content .sam-shop-price-summary{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:clamp(16px,2.4vw,24px);border-radius:17px;margin:16px auto;
  border:1px solid #cedbe5;background:#f5f8fc;color:#153349;
  max-width:1330px;box-sizing:border-box;
}
.sam-shop-price-summary>div{display:grid;gap:5px}
.sam-shop-price-summary small{font-size:12px;font-weight:650;opacity:.8}
.sam-shop-price-summary strong{font-size:clamp(19px,2.2vw,26px);font-weight:800;direction:ltr;text-align:start}
.sam-shop-price-summary span{font-size:11px;opacity:.75;line-height:1.6}
html[data-theme="dark"] #root #main-content .sam-shop-price-summary,
html[data-samami-theme="dark"] #root #main-content .sam-shop-price-summary{
  background:#172535;border-color:#3a5061;color:#f5f9fc
}
#root #main-content .sam5b-product-next a.is-primary[hidden]{display:none!important}
.sam-public-cart-fab{
  position:fixed;z-index:180;bottom:22px;inset-inline-end:22px;
  min-height:42px;padding:10px 17px;border-radius:999px;border:1px solid #d6e2ed;
  background:#fff;color:#142f45;font:inherit;font-size:12px;font-weight:800;
  box-shadow:0 5px 23px rgba(11,28,46,.2);cursor:pointer;
}
.sam-public-cart-fab[hidden]{display:none!important}
html[data-theme="dark"] .sam-public-cart-fab,
html[data-samami-theme="dark"] .sam-public-cart-fab{background:#233547;color:#f5f8fc;border-color:#53738b}
.sam-public-cart{
  box-sizing:border-box;position:fixed;inset:0;margin:auto;
  width:min(620px,calc(100vw - 22px));max-height:min(90dvh,900px);
  padding:0;border-radius:17px;border:1px solid #c4d5e3;
  background:#fff;color:#152d40;box-shadow:0 20px 65px rgba(8,24,42,.3);
  font-family:inherit;text-align:start;
}
.sam-public-cart::backdrop{background:rgba(4,18,30,.67);backdrop-filter:blur(3px)}
html[data-theme="dark"] .sam-public-cart,
html[data-samami-theme="dark"] .sam-public-cart{
  background:#182535;color:#f5f8fc;border-color:#425c70
}
.sam-cart-panel{padding:clamp(15px,3vw,25px);display:grid;gap:16px}
.sam-cart-header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #d1dde8;padding-bottom:12px}
.sam-cart-header h2{font:inherit;font-size:21px;font-weight:800;margin:0;color:inherit}
.sam-cart-close{font:inherit;background:transparent;border:0;color:inherit;font-size:25px;cursor:pointer;min-width:36px;min-height:36px}
.sam-cart-lines{display:grid;gap:8px}
.sam-cart-line{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #dce3e9}
.sam-cart-product{display:grid;gap:5px;min-width:0}
.sam-cart-product strong{font-size:14px}
.sam-cart-product small{font-size:11px;opacity:.76}
.sam-cart-quantity{display:flex;align-items:center;gap:8px}
.sam-cart-quantity button{display:grid;place-items:center;min-width:32px;min-height:32px;border:1px solid #a7bdcf;border-radius:8px;background:transparent;color:inherit;font-size:17px;cursor:pointer}
.sam-cart-quantity span{min-width:22px;text-align:center;font-weight:750}
.sam-cart-total{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;font-weight:650;margin:0}
.sam-cart-total strong{font-size:15px;text-align:end}
.sam-cart-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.sam-cart-fields label{display:grid;gap:5px;font-size:12px;font-weight:650}
.sam-cart-fields input,.sam-cart-fields textarea{
  box-sizing:border-box;width:100%;min-height:39px;padding:9px 11px;
  border:1px solid #aebdcb;border-radius:8px;background:#fff;color:#142e45;
  font:inherit;font-size:14px;
}
.sam-cart-fields label:last-child{grid-column:1/-1}
html[data-theme="dark"] .sam-cart-fields input,html[data-theme="dark"] .sam-cart-fields textarea,
html[data-samami-theme="dark"] .sam-cart-fields input,html[data-samami-theme="dark"] .sam-cart-fields textarea{
  background:#23374a;color:#fff;border-color:#556c7d
}
.sam-cart-disclaimer{display:block;font-size:11px;line-height:1.8;opacity:.78;margin:10px 0}
.sam-cart-submit{display:block;width:100%;min-height:44px;border:0;border-radius:9px;color:#fff;background:#184d71;font:inherit;font-weight:800;cursor:pointer}
.sam-cart-submit[disabled]{opacity:.5;cursor:wait}
.sam-cart-success{padding:12px;border:1px solid #61a785;border-radius:9px;background:rgba(35,160,103,.09);font-size:13px}
.sam-cart-error{padding:10px;border:1px solid #e68c8c;border-radius:8px;color:#c22121;font-size:12px}
.sam-cart-empty{font-size:13px;opacity:.8}
.sam-cart-back{display:inline-block;font-size:13px;color:#245d8e}
@media(max-width:640px){
  #root #main-content .sam-shop-price-summary{display:grid;gap:13px;margin:12px 8px;padding:14px}
  .sam-shop-add-main{width:100%}
  .sam-public-cart-fab{bottom:max(16px,env(safe-area-inset-bottom));inset-inline-end:15px;font-size:11px;padding:9px 12px}
  .sam-cart-fields{grid-template-columns:1fr}
  .sam-cart-fields label:last-child{grid-column:auto}
  .sam-public-cart{width:calc(100vw - 12px);max-height:93dvh;border-radius:11px}
}
@media(prefers-reduced-motion:reduce){
  .sam-shop-quick-add,.sam-shop-add-main{transition:none;transform:none!important}
}

/* 2026-11-21: one public presentation owner, shared with ERP visual audit.
 * Explicit LIGHT / DARK contrast for detail dialogs and image archive.
 * This lives in the existing public-refine-v2.css, not an additional CSS file.
 * Pricing and product content are unchanged.
 */
#root .sam-public-shell[data-theme="light"] .sam-product-modal {
  background:rgba(27,53,81,.23)!important;
  color:#19334c!important;
  border-color:transparent!important;
  box-shadow:none!important;
  backdrop-filter:blur(3px);
}
#root .sam-public-shell[data-theme="light"] .sam-product-detail,
#root .sam-public-shell[data-theme="light"] .sam-product-detail-copy {
  background:#fff!important;
  color:#19334c!important;
}
#root .sam-public-shell[data-theme="light"] .sam-product-detail-copy :is(h1,h2,h3,strong,b,dt,dd) {
  color:#19334c!important;
}
#root .sam-public-shell[data-theme="light"] .sam-product-detail-copy :is(p,span,small,li) {
  color:#485f75!important;
}
#root .sam-public-shell[data-theme="light"] .sam-product-detail-copy .sam-catalog-references,
#root .sam-public-shell[data-theme="light"] .sam-product-detail-copy .sam-product-price-state {
  color:#19334c!important;
}
#root .sam-public-shell[data-theme="light"] .sam-product-detail-copy .sam-catalog-item-actions .sam-page-secondary {
  background:#e9f2fa!important;
  color:#173c5d!important;
  border:1px solid #b5cce0!important;
  text-shadow:none!important;
}
#root .sam-public-shell[data-theme="light"] .sam-product-detail-copy .sam-catalog-item-actions .sam-page-secondary:hover {
  background:#d9eafa!important;
  color:#102f4b!important;
}
#root .sam-public-shell[data-theme="light"] .sam-product-detail-media {
  background:#eef3f8!important;
}
#root .sam-public-shell[data-theme="light"] .sam-product-detail-lower,
#root .sam-public-shell[data-theme="light"] .sam-product-detail-lower > section{
  background:#f6f9fc!important;
  color:#19334c!important;
}
#root .sam-public-shell[data-theme="light"] .sam-product-detail-lower :is(h2,h3,h4,strong,b,p,small) {
  color:#19334c!important;
}

/* Dark scheme is genuinely dark, including the modal's copy and buttons.
 * Explicit scope prevents late global theme styles from turning white text
 * white-on-white or dark text dark-on-dark.
 */
#root .sam-public-shell[data-theme="dark"] .sam-product-modal {
  background:#0b1b2d!important;
  color:#f5f8fc!important;
}
#root .sam-public-shell[data-theme="dark"] .sam-product-detail,
#root .sam-public-shell[data-theme="dark"] .sam-product-detail-copy {
  background:#15293d!important;
  color:#f3f7fc!important;
}
#root .sam-public-shell[data-theme="dark"] .sam-product-detail-copy :is(h1,h2,h3,strong,b,dt,dd) {
  color:#f4f8fd!important;
}
#root .sam-public-shell[data-theme="dark"] .sam-product-detail-copy :is(p,span,small,li) {
  color:#c3d4e3!important;
}
#root .sam-public-shell[data-theme="dark"] .sam-product-detail-copy .sam-catalog-references,
#root .sam-public-shell[data-theme="dark"] .sam-product-detail-copy .sam-product-price-state {
  color:#f4f8fc!important;
}
#root .sam-public-shell[data-theme="dark"] .sam-product-detail-copy .sam-catalog-item-actions .sam-page-secondary {
  background:#244762!important;
  color:#fff!important;
  border:1px solid #6285a5!important;
  text-shadow:none!important;
}
#root .sam-public-shell[data-theme="dark"] .sam-product-detail-lower,
#root .sam-public-shell[data-theme="dark"] .sam-product-detail-lower > section {
  background:#1b334a!important;
  color:#edf4fc!important;
}
#root .sam-public-shell[data-theme="dark"] .sam-product-detail-lower :is(h2,h3,h4,strong,b,p,small) {
  color:#edf4fc!important;
}

/* The project photo archive must not look like a black separate website
 * when the main site is in light mode. Keep backdrop for modal focus. */
#root .sam-public-shell[data-theme="light"] .sam-archive-modal {
  background:rgba(34,51,71,.43)!important;
}
#root .sam-public-shell[data-theme="light"] .sam-archive-modal__dialog,
#root .sam-public-shell[data-theme="light"] .sam-archive-modal__content {
  background:#f8fbff!important;
  color:#173047!important;
}
#root .sam-public-shell[data-theme="light"] .sam-archive-modal__content :is(h1,h2,h3,strong,b) {
  color:#102a40!important;
}
#root .sam-public-shell[data-theme="light"] .sam-archive-modal__content :is(p,span,small) {
  color:#536a7e!important;
}
#root .sam-public-shell[data-theme="light"] .sam-archive-modal__media {
  background:#e8f0f7!important;
}
#root .sam-public-shell[data-theme="dark"] .sam-archive-modal {
  background:rgba(2,10,19,.76)!important;
}
#root .sam-public-shell[data-theme="dark"] .sam-archive-modal__dialog,
#root .sam-public-shell[data-theme="dark"] .sam-archive-modal__content {
  background:#10263b!important;
  color:#f3f8fe!important;
}
#root .sam-public-shell[data-theme="dark"] .sam-archive-modal__content :is(h1,h2,h3,strong,b) {
  color:#f3f8fe!important;
}
#root .sam-public-shell[data-theme="dark"] .sam-archive-modal__content :is(p,span,small) {
  color:#c0d1e3!important;
}
#root .sam-public-shell[data-theme="dark"] .sam-archive-modal__notice {
  background:#243e56!important;
  color:#dfedfa!important;
}
#root .sam-public-shell[data-theme="dark"] .sam-archive-modal__media {
  background:#172e43!important;
}
#root .sam-public-shell[data-theme="dark"] .sam-archive-modal__controls button {
  background:#294760!important;
  color:#fff!important;
  border-color:#6687a6!important;
}
#root .sam-public-shell[data-theme="light"] .sam-archive-modal__controls button {
  background:#edf4fb!important;
  color:#163a57!important;
  border-color:#c4d6e7!important;
}

/* Do not enlarge a 640px original archive photo to 900px. Width auto is
 * intrinsic-resolution friendly; larger approved photos can still fill.
 * No invented pixels, blur filters, or client side upscaling. */
#root .sam-public-shell .sam-archive-modal__media img {
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:min(70vh,720px)!important;
  object-fit:contain!important;
  display:block;
  margin-inline:auto;
}

/* Tighten the disproportionate home editorial headline to its visual half.
 * Previously ~56px x five lines in a 385px text column. */
#root .sam-public-shell .sam-orbit-project-copy h2 {
  font-size:clamp(28px,3vw,43px)!important;
  line-height:1.32!important;
  text-wrap:balance;
  overflow-wrap:break-word;
}
#root .sam-public-shell .sam-orbit-intro h2,
#root .sam-public-shell .sam-orbit-engineering-copy h2,
#root .sam-public-shell .sam-orbit-lifecycle-copy h2 {
  font-size:clamp(29px,3.3vw,48px)!important;
  line-height:1.3!important;
  text-wrap:balance;
}
#root .sam-public-shell .sam-orbit-materials .sam-orbit-intro h2{
  font-size:clamp(28px,3.2vw,46px)!important;
}
@media(max-width:680px){
  #root .sam-public-shell .sam-orbit-project-copy h2{
    font-size:clamp(27px,8vw,33px)!important;
    line-height:1.38!important;
  }
  #root .sam-public-shell .sam-product-modal{
    padding:12px!important;
  }
  #root .sam-public-shell .sam-archive-modal__media img{
    max-height:52vh!important;
  }
}

/* Preserve actual dimensions and legibility of material swatches. The source
 * premium WebPs are only 800px/very low bytes; don't claim new fidelity. */
#root .sam-public-shell .sam-orbit-materials img{
  image-rendering:auto;
  object-fit:cover;
  object-position:center center;
}

/* Immediate theme contrast: global 140ms button transitions previously
 * allowed a brief white-on-white flicker in the product detail action. */
#root .sam-public-shell .sam-product-detail-copy .sam-catalog-item-actions .sam-page-secondary {
  transition:none!important;
}


/* One public editorial hero geometry and frame owner, shared by four routes.
   Preserve their approved content and existing responsive text positioning. */
#root #main-content .sam-editorial-page:is(.sam-about-page,.sam-partnership-page,.sam-project-portfolio,.sam-catalog-storefront){
  box-sizing:border-box!important;
  width:min(1480px,calc(100% - min(56px,4vw)))!important;
  max-width:1480px!important;
  margin:8px auto 0!important;
  border:1px solid rgba(119,147,173,.36)!important;
  border-radius:24px!important;
  overflow:hidden!important;
  box-shadow:0 18px 45px rgba(4,20,40,.1)!important;
}
#root #main-content .sam-editorial-page:is(.sam-about-page,.sam-partnership-page,.sam-project-portfolio,.sam-catalog-storefront)>.sam-page-hero.is-compact{
  box-sizing:border-box!important;
  width:auto!important;max-width:none!important;
  height:562px!important;min-height:562px!important;
  margin:8px 10px 0!important;
  border:1px solid rgba(172,198,223,.58)!important;
  border-radius:22px!important;overflow:hidden!important;
  box-shadow:none!important;
}
#root #main-content .sam-editorial-page:is(.sam-about-page,.sam-partnership-page,.sam-project-portfolio,.sam-catalog-storefront)>.sam-page-hero .sam-page-hero-media{
  background-image:none!important;
}
#root #main-content .sam-editorial-page.sam-project-portfolio>.sam-page-hero .sam-page-hero-media img{
  opacity:1!important;object-fit:cover!important;object-position:50% center!important;
}
/* Remove an obsolete yellow/gold engineering ruler on Projects. */
#root #main-content .sam-project-portfolio>.sam-page-hero :is(.sam-page-hero-axis,.sam-hero-axis,.sam-page-axis){
  display:none!important;
}
#root #main-content .sam-editorial-page:is(.sam-about-page,.sam-partnership-page,.sam-project-portfolio,.sam-catalog-storefront)>.sam-page-hero .sam-page-hero-shade{
  background:linear-gradient(270deg,rgba(3,11,19,.96) 0%,rgba(3,11,19,.82) 36%,rgba(3,11,19,.23) 76%,rgba(3,11,19,.08) 100%)!important;
}
#root #main-content .sam-editorial-page.sam-project-portfolio>.sam-page-hero .sam-page-hero-copy h1{
  font-size:clamp(31px,3.15vw,46px)!important;
  line-height:1.28!important;text-wrap:balance;overflow-wrap:anywhere;
}
@media(min-width:1600px){
  #root #main-content .sam-editorial-page:is(.sam-about-page,.sam-partnership-page,.sam-project-portfolio,.sam-catalog-storefront)>.sam-page-hero.is-compact{
    height:566px!important;min-height:566px!important;
  }
}
@media(max-width:640px){
  #root #main-content .sam-editorial-page:is(.sam-about-page,.sam-partnership-page,.sam-project-portfolio,.sam-catalog-storefront){
    width:calc(100% - 16px)!important;
    border-radius:17px!important;
    margin:8px auto 0!important;
  }
  #root #main-content .sam-editorial-page:is(.sam-about-page,.sam-partnership-page,.sam-project-portfolio,.sam-catalog-storefront)>.sam-page-hero.is-compact{
    margin:6px 6px 0!important;
    height:612px!important;min-height:612px!important;
    border-radius:14px!important;
  }
}

/* Compact governed public-product details: real price remains Pricing Core.
   Remove only placeholders when the published source has no technical data. */
#root #main-content main.sam5b-product-page .sam5b-product-hero{
  height:clamp(360px,32vw,460px)!important;
  min-height:0!important;
}
#root #main-content main.sam5b-product-page .sam5b-product-hero__axis{
  display:none!important;
}
#root #main-content main.sam5b-product-page .sam5b-product-hero__copy h1{
  font-size:clamp(25px,3.2vw,44px)!important;line-height:1.32!important;
}
#root #main-content main.sam5b-product-page[data-sam-shop-empty-specs="true"] :is(.sam5b-product-facts,.sam5b-product-depth){
  display:none!important;
}
#root #main-content main.sam5b-product-page .sam5b-product-next{
  padding-block:16px!important;gap:12px!important;
}
#root #main-content main.sam5b-product-page .sam5b-product-next h2{
  font-size:clamp(20px,2.1vw,27px)!important;
  line-height:1.4!important;margin-block:5px 0!important;
}
#root #main-content main.sam5b-product-page .sam-shop-price-summary{
  padding:14px 18px!important;margin:10px auto!important;gap:12px!important;
  border-radius:12px!important;
}
#root #main-content main.sam5b-product-page .sam-shop-price-summary strong{
  font-size:clamp(18px,2vw,24px)!important;
}
@media(max-width:640px){
  #root #main-content main.sam5b-product-page .sam5b-product-hero{
    height:360px!important;
  }
  #root #main-content main.sam5b-product-page .sam-shop-price-summary{
    padding:12px!important;margin:10px 8px!important;
  }
  #root #main-content main.sam5b-product-page .sam5b-product-next{
    padding:13px 0!important;
  }
}

/* Header-owned cart: one semantic control, not a second floating toolbar. */
.sam-public-header .sam-public-actions .sam-public-cart-fab{
  box-sizing:border-box;position:relative!important;inset:auto!important;bottom:auto!important;
  margin:0!important;padding:6px 8px!important;
  min-width:43px;min-height:43px;max-width:74px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
  border:1px solid rgba(146,168,191,.66);border-radius:11px;
  box-shadow:none!important;background:rgba(220,235,249,.23);
  color:inherit;font:inherit;cursor:pointer;
}
.sam-public-header .sam-public-actions .sam-public-cart-fab small{
  font-size:9px;font-weight:750;line-height:1.2;white-space:nowrap;
}
.sam-public-header .sam-public-actions .sam-public-cart-fab sup{
  position:absolute;top:-5px;inset-inline-end:-5px;
  display:grid;place-items:center;min-width:16px;height:16px;padding:0 3px;
  border-radius:50px;background:#e9ae30;color:#122338;
  font:800 10px/1 system-ui,sans-serif;
}
.sam-public-header .sam-public-actions .sam-public-cart-fab sup[hidden]{display:none!important}
.sam-public-header .sam-public-actions .sam-public-cart-fab:hover{border-color:#437eb0;background:rgba(110,164,222,.16)}
.sam-public-header .sam-public-actions .sam-public-cart-fab:focus-visible{
  outline:2px solid #367eec;outline-offset:2px;
}
@media(max-width:600px){
  .sam-public-header .sam-public-actions .sam-public-cart-fab{
    flex:0 0 40px;min-width:40px;max-width:43px;
    min-height:40px;padding:5px!important;
  }
  .sam-public-header .sam-public-actions .sam-public-cart-fab small{
    font-size:8px;white-space:nowrap;
  }
}

/* Left-to-right headings sit on the LEFT; mirror the light-safe hero shade. */
html:lang(en) #root #main-content .sam-editorial-page:is(.sam-about-page,.sam-partnership-page,.sam-project-portfolio,.sam-catalog-storefront)>.sam-page-hero .sam-page-hero-shade,
html:lang(tr) #root #main-content .sam-editorial-page:is(.sam-about-page,.sam-partnership-page,.sam-project-portfolio,.sam-catalog-storefront)>.sam-page-hero .sam-page-hero-shade{
  background:linear-gradient(90deg,rgba(3,11,19,.96) 0%,rgba(3,11,19,.82) 36%,rgba(3,11,19,.23) 76%,rgba(3,11,19,.08) 100%)!important;
}


/* LIVE owner visual QA 2026-11-22: single-sized header controls and orderly
   photo captions on the existing SAMAMI home. No product or account logic. */
#root .sam-public-header .sam-public-actions .sam-public-cart-fab{
  flex:0 0 45px!important;
  box-sizing:border-box!important;
  inline-size:45px!important;min-inline-size:45px!important;max-inline-size:45px!important;
  block-size:45px!important;min-block-size:45px!important;max-block-size:45px!important;
  padding:4px 2px!important;
  margin:0!important;gap:2px!important;
  border:1px solid #506f88!important;border-radius:11px!important;
  background:#20394f!important;
  color:#eef5ff!important;
  box-shadow:none!important;
  font-family:inherit;
}
#root .sam-public-header .sam-public-actions .sam-public-cart-fab svg{
  flex:0 0 19px!important;inline-size:19px!important;block-size:19px!important;
  width:19px!important;height:19px!important;stroke-width:2!important;
}
#root .sam-public-header .sam-public-actions .sam-public-cart-fab small{
  font-size:9px!important;line-height:1!important;
  max-width:100%!important;white-space:nowrap!important;
  overflow:hidden!important;text-overflow:clip!important;
}
html[data-theme="light"] #root .sam-public-header .sam-public-actions .sam-public-cart-fab,
html[data-samami-theme="light"] #root .sam-public-header .sam-public-actions .sam-public-cart-fab{
  border-color:#cad8e6!important;background:#eef5fc!important;color:#1c3b54!important;
}
#root .sam-public-header .sam-public-actions .sam-public-cart-fab:hover{
  border-color:#5b9bd4!important;
  background:#2a4d69!important;
}
html[data-theme="light"] #root .sam-public-header .sam-public-actions .sam-public-cart-fab:hover{
  background:#dfeafa!important;
}
@media (max-width:1023px){
  #root .sam-public-header .sam-public-actions .sam-public-cart-fab{
    flex-basis:45px!important;
    inline-size:45px!important;min-inline-size:45px!important;max-inline-size:45px!important;
    block-size:45px!important;min-block-size:45px!important;max-block-size:45px!important;
  }
}
@media (max-width:600px){
  #root .sam-public-header .sam-public-actions .sam-public-cart-fab{
    flex-basis:39px!important;
    inline-size:39px!important;min-inline-size:39px!important;max-inline-size:39px!important;
    block-size:42px!important;min-block-size:42px!important;max-block-size:42px!important;
  }
  #root .sam-public-header .sam-public-actions .sam-public-cart-fab small{
    font-size:7.5px!important;
  }
}

/* The old 'floating art collage' placed four product panels on top of one
   another and clipped labels. Keep approved photo assets & original links,
   replace decorative absolute positioning with a responsive four-card grid. */
#root .sam-public-shell .sam-orbit-product-world .sam-orbit-product-stage{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:stretch!important;gap:16px!important;
  height:auto!important;min-height:0!important;
  max-width:1228px!important;
  margin:20px auto 0!important;
  position:relative!important;
}
#root .sam-public-shell .sam-orbit-product-world .sam-orbit-product-stage>.sam-orbit-product{
  box-sizing:border-box!important;
  position:relative!important;
  inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  height:clamp(220px,21vw,280px)!important;min-height:0!important;
  margin:0!important;transform:none!important;
  border-radius:17px!important;overflow:hidden!important;
  isolation:isolate;
}
#root .sam-public-shell .sam-orbit-product-world .sam-orbit-product-stage>.sam-orbit-product img{
  display:block!important;inline-size:100%!important;block-size:100%!important;
  width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center center;
}
#root .sam-public-shell .sam-orbit-product-world .sam-orbit-product-stage>.sam-orbit-product>div{
  box-sizing:border-box!important;
  position:absolute!important;top:auto!important;bottom:11px!important;
  right:11px!important;left:11px!important;
  width:auto!important;height:auto!important;max-width:none!important;
  min-width:0!important;min-height:0!important;
  padding:11px 12px!important;margin:0!important;transform:none!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:4px 8px!important;align-items:center!important;
  border:1px solid rgba(222,235,249,.17)!important;
  border-radius:12px!important;
  background:rgba(7,20,32,.88)!important;
  color:#fff!important;
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
#root .sam-public-shell .sam-orbit-product-stage>.sam-orbit-product>div :is(b,span,svg){
  min-width:0!important;max-width:100%!important;
  color:#fff!important;
}
#root .sam-public-shell .sam-orbit-product-stage>.sam-orbit-product>div b{
  grid-column:1!important;font-size:clamp(16px,1.4vw,21px)!important;
  line-height:1.35!important;
}
#root .sam-public-shell .sam-orbit-product-stage>.sam-orbit-product>div span{
  grid-column:1!important;font-size:11px!important;line-height:1.55!important;
  overflow-wrap:anywhere;
}
#root .sam-public-shell .sam-orbit-product-stage>.sam-orbit-product>div svg{
  grid-column:2!important;grid-row:1 / span 2!important;
  flex:none;
}
#root .sam-public-shell .sam-orbit-product-world .sam-orbit-published{
  position:relative!important;margin-top:22px!important;
}

/* Materials: never let unusual ellipse/absolute swatches overlap cards,
   obscure figcaptions or invade the next section. */
#root .sam-public-shell .sam-orbit-materials .sam-orbit-material-cloud{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
  width:100%!important;height:auto!important;min-height:0!important;
  margin:22px auto 0!important;
}
#root .sam-public-shell .sam-orbit-materials .sam-orbit-material-cloud>.sam-orbit-mat{
  box-sizing:border-box!important;display:block!important;
  position:relative!important;inset:auto!important;
  top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  height:clamp(185px,19vw,260px)!important;
  min-height:0!important;max-height:none!important;
  margin:0!important;transform:none!important;
  border:1px solid rgba(163,190,212,.38)!important;
  border-radius:16px!important;overflow:hidden!important;
}
#root .sam-public-shell .sam-orbit-material-cloud>.sam-orbit-mat>img{
  display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center center!important;
}
#root .sam-public-shell .sam-orbit-material-cloud>.sam-orbit-mat>figcaption{
  position:absolute!important;top:auto!important;bottom:9px!important;
  left:9px!important;right:9px!important;
  max-width:none!important;width:auto!important;min-width:0!important;
  padding:9px 11px!important;margin:0!important;
  border-radius:9px!important;
  background:rgba(6,21,33,.86)!important;color:#fff!important;
  font-size:12px!important;font-weight:700!important;
  line-height:1.55!important;text-align:start!important;
  white-space:normal!important;overflow-wrap:anywhere;
}
@media(max-width:1023px){
 #root .sam-public-shell .sam-orbit-product-world .sam-orbit-product-stage,
 #root .sam-public-shell .sam-orbit-materials .sam-orbit-material-cloud{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;
 }
}
@media(max-width:550px){
 #root .sam-public-shell .sam-orbit-product-world .sam-orbit-product-stage,
 #root .sam-public-shell .sam-orbit-materials .sam-orbit-material-cloud{
   grid-template-columns:minmax(0,1fr)!important;
   gap:13px!important;
 }
 #root .sam-public-shell .sam-orbit-product-world .sam-orbit-product-stage>.sam-orbit-product{
   height:235px!important;
 }
 #root .sam-public-shell .sam-orbit-materials .sam-orbit-material-cloud>.sam-orbit-mat{
   height:205px!important;
 }
}

/* True light/dark contrast: avoid white copy on the white CTA,
   white project evidence section and bright blueprint in dark mode. */
html[data-theme="dark"] #root .sam-public-shell .sam-orbit-engineering .sam-orbit-btn-dark,
html[data-samami-theme="dark"] #root .sam-public-shell .sam-orbit-engineering .sam-orbit-btn-dark,
#root .sam-public-shell[data-theme="dark"] .sam-orbit-engineering .sam-orbit-btn-dark{
  background:#245d91!important;color:#fff!important;
  border:1px solid #8eabc7!important;
}
html[data-theme="dark"] #root .sam-public-shell .sam-orbit-blueprint,
html[data-samami-theme="dark"] #root .sam-public-shell .sam-orbit-blueprint,
#root .sam-public-shell[data-theme="dark"] .sam-orbit-blueprint{
  background-color:#122a42!important;
  color:#e5f2ff!important;
}
html[data-theme="dark"] #root .sam-public-shell .sam-orbit-blueprint-grid,
html[data-samami-theme="dark"] #root .sam-public-shell .sam-orbit-blueprint-grid{
  background-image:linear-gradient(rgba(131,178,220,.15) 1px,transparent 1px),
    linear-gradient(90deg,rgba(131,178,220,.15) 1px,transparent 1px)!important;
  background-size:30px 30px!important;
}
html[data-theme="dark"] #root .sam-public-shell .sam-orbit-project,
html[data-samami-theme="dark"] #root .sam-public-shell .sam-orbit-project,
#root .sam-public-shell[data-theme="dark"] .sam-orbit-project{
  background:#142e43!important;color:#eef7ff!important;
}
html[data-theme="dark"] #root .sam-public-shell .sam-orbit-project .sam-orbit-project-copy :is(h2,p,span),
html[data-samami-theme="dark"] #root .sam-public-shell .sam-orbit-project .sam-orbit-project-copy :is(h2,p,span),
#root .sam-public-shell[data-theme="dark"] .sam-orbit-project .sam-orbit-project-copy :is(h2,p,span){
  color:#eef7ff!important;
}
html[data-theme="dark"] #root .sam-public-shell .sam-orbit-project .sam-orbit-project-visual,
html[data-samami-theme="dark"] #root .sam-public-shell .sam-orbit-project .sam-orbit-project-visual,
#root .sam-public-shell[data-theme="dark"] .sam-orbit-project .sam-orbit-project-visual{
  background:linear-gradient(135deg,#0e2437 0%,#204560 70%,#162f49 100%)!important;
  color:#edf6ff!important;
}
html[data-theme="dark"] #root .sam-public-shell .sam-orbit-project-concept strong,
html[data-samami-theme="dark"] #root .sam-public-shell .sam-orbit-project-concept strong{
  color:#fff!important;
}
html[data-theme="light"] #root .sam-public-shell .sam-orbit-project-concept strong{
  color:#13293a!important;
}

/* Dedicated focus / accessibility for all hero cards without clipping. */
#root .sam-public-shell :is(.sam-orbit-product-stage a,.sam-orbit-material-cloud a):focus-visible{
  outline:3px solid #7ab7ff!important;outline-offset:3px!important;
}

/* Final header parity: product UI owns one button, ERP owns the dimensions. */
#root .sam-public-header .sam-public-actions .sam-public-cart-fab{
  transition:none!important;
}
#root .sam-public-header .sam-public-actions .sam-public-cart-fab small{
  font-size:9px!important;line-height:1!important;overflow:visible!important;
}
@media(max-width:600px){
  #root .sam-public-header .sam-public-actions .sam-public-cart-fab small{
    font-size:9px!important;
  }
}


/* SAMAMI owner review 2026-11-22 - footer mirror only.
 * Preserve existing responsive columns and every contact action.
 * Brand/logo right, contact action icons left, copyright central. */
#root .sam-public-footer .sam-footer-strip{
  grid-template-areas:"actions center brand"!important;
}
#root .sam-public-footer .sam-footer-strip-brand{
  justify-content:flex-end!important;
}
#root .sam-public-footer .sam-footer-strip-actions{
  justify-content:flex-start!important;
}


/* Owner ERP login audit - remove only the duplicated static staff guide.
   Keep the form's live status region (aria-live) for errors and feedback. */
#root .sam-auth-panel-inner:has(> form.sam-auth-form > .sam-form-message) > .sam-login-context-v3{
  display:none!important;
}


/* 2026-11-22 owner QA: phone popover was shifted outside viewport after footer mirror.
   The contact menu is now anchored to the left-aligned actions area. */
#root .sam-public-footer .sam-footer-action-menu .sam-footer-action-popover{
  left:0!important;
  right:auto!important;
  transform:none!important;
  max-width:min(240px,calc(100vw - 24px))!important;
}
#root .sam-public-cart .sam-cart-receipt-actions{
  display:flex;flex-wrap:wrap;gap:10px;
}
#root .sam-public-cart .sam-cart-receipt-actions a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:40px;padding:8px 12px;border:1px solid #8eaec9;
  border-radius:9px;color:inherit;text-decoration:none;
}


/* Public quote tracking after checkout; phone is entered on demand only. */
#root .sam-public-cart .sam-cart-track-form{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;
  border-top:1px solid rgba(119,147,173,.32);padding-top:14px;
}
#root .sam-public-cart .sam-cart-track-form label{display:grid;gap:5px;min-width:0;font-size:12px;font-weight:700}
#root .sam-public-cart .sam-cart-track-form input{
  box-sizing:border-box;min-width:0;width:100%;min-height:40px;padding:8px 11px;
  border:1px solid #89a8c1;border-radius:9px;background:transparent;color:inherit;
}
#root .sam-public-cart .sam-cart-track-form button{
  min-height:40px;padding:8px 12px;background:#184d71;color:#fff;border:0;border-radius:9px;
  font:inherit;font-size:12px;font-weight:800;cursor:pointer;
}
#root .sam-public-cart .sam-cart-track-form button:disabled{opacity:.5}
#root .sam-public-cart .sam-cart-track-form [data-sam-cart-track-status]{
  grid-column:1/-1;min-height:1.3em;margin:2px 0;font-size:12px;line-height:1.65;
}
@media(max-width:430px){
  #root .sam-public-cart .sam-cart-track-form{grid-template-columns:minmax(0,1fr)}
  #root .sam-public-cart .sam-cart-track-form button{width:100%}
}


/* Shared editorial page ending, without changing the approved Home/Shop endings. */
#main-content > :is(.sam-about-page,.sam-partnership-page,.sam-phase5-projects){
  --sam-editorial-footer-gap:64px;
}
#main-content > .sam-about-page > .sam-about-refine:last-child,
#main-content > .sam-partnership-page > .sam-partner-apply:last-child,
#main-content > .sam-phase5-projects > .sam-editorial-section:last-child{
  box-sizing:border-box!important;padding-block-end:var(--sam-editorial-footer-gap)!important;
}
@media(max-width:700px){
  #main-content > :is(.sam-about-page,.sam-partnership-page,.sam-phase5-projects){
    --sam-editorial-footer-gap:44px;
  }
}
/* Keep mobile step digits clear of the blue timeline marker in RTL and LTR. */
@media(max-width:820px){
  #main-content .sam-orbit .sam-orbit-life-line > span{
    box-sizing:border-box!important;position:relative!important;
    padding-inline-start:clamp(36px,10vw,44px)!important;
    padding-inline-end:12px!important;
    padding-block:12px 21px!important;min-height:75px!important;
    text-align:start!important;overflow:visible!important;
  }
  #main-content .sam-orbit .sam-orbit-life-line > span::before{
    inset-inline-start:-7px!important;top:17px!important;
  }
  #main-content .sam-orbit .sam-orbit-life-line > span > i{
    display:block!important;position:relative!important;inset:auto!important;
    margin:0 0 5px!important;padding:0!important;
    min-width:2.4ch!important;line-height:1.3!important;text-align:start!important;
    white-space:nowrap!important;font-variant-numeric:tabular-nums!important;
  }
}
#main-content .sam-heritage-index{gap:12px!important;letter-spacing:.04em!important}
#main-content .sam-heritage-index > span{min-width:0!important;white-space:nowrap!important}
@media(max-width:640px){
  #main-content .sam-heritage-index > span:nth-child(2){display:block!important}
  #main-content .sam-heritage-index{font-size:.62rem!important;gap:6px!important}
}

/* Explicit, high-specificity shared bottom rhythm: route CSS may use padding
   block shorthand with its own important declaration. */
#root #main-content > .sam-about-page > .sam-about-refine:last-child,
#root #main-content > .sam-partnership-page > .sam-partner-apply:last-child,
#root #main-content > .sam-phase5-projects > .sam-editorial-section:last-child{
  padding-bottom:var(--sam-editorial-footer-gap)!important;
  padding-block-end:var(--sam-editorial-footer-gap)!important;
}


/* 2026-11-25 — public mobile screenshot remediation; no image assets rewritten. */
@media (max-width:700px){
  /* Decorative counters and seals obscured the actual product photos. */
  #main-content .sam-orbit-hero-object .sam-orbit-hero-index,
  #main-content .sam-orbit-hero-object .sam-orbit-hero-roundel,
  #main-content .sam-orbit-hero-object .sam-orbit-hero-watermark,
  #main-content .sam-heritage-mosaic .sam-heritage-seal{
    display:none!important;
  }
  #main-content .sam-orbit-hero-object .sam-orbit-cabin figcaption{
    inset:auto auto 10px 10px!important;
    top:auto!important;right:auto!important;left:10px!important;bottom:10px!important;
    z-index:3!important;
    max-width:calc(100% - 140px)!important;
    font-size:11px!important;line-height:1.5!important;
    white-space:normal!important;overflow-wrap:anywhere!important;
  }
  #main-content .sam-orbit-hero-object .sam-orbit-hero-inset{
    width:clamp(90px,28vw,110px)!important;
    max-width:32%!important;height:clamp(94px,30vw,115px)!important;
    inset:auto 0 0 auto!important;
    right:0!important;left:auto!important;top:auto!important;bottom:0!important;
  }
  #main-content .sam-heritage-mosaic{
    isolation:isolate!important;
  }
  /* Tighten actual last sections instead of adding artificial footer space. */
  #root #main-content > .sam-about-page,
  #root #main-content > .sam-partnership-page,
  #root #main-content > .sam-phase5-projects{
    --sam-editorial-footer-gap:18px!important;
  }
  #root #main-content > .sam-about-page > .sam-about-refine:last-child,
  #root #main-content > .sam-partnership-page > .sam-partner-apply:last-child,
  #root #main-content > .sam-phase5-projects > .sam-editorial-section:last-child{
    padding-bottom:18px!important;padding-block-end:18px!important;
  }
  #main-content .sam-store-content .sam-editorial-inner{
    padding-bottom:12px!important;
  }
  #main-content .sam-store-content .sam-catalog-item-body{
    padding-bottom:12px!important;
  }
  /* One footer shared by every public page: logo right, contact icons left,
     copyright in its own line, no overlap at 320px. */
  #root footer.sam-public-footer .sam-footer-strip{
    box-sizing:border-box!important;
    direction:rtl!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"brand actions" "meta meta"!important;
    align-items:center!important;justify-items:stretch!important;
    column-gap:8px!important;row-gap:6px!important;
    width:100%!important;max-width:100%!important;height:auto!important;
    min-height:86px!important;padding:10px 10px 8px!important;
  }
  #root footer.sam-public-footer .sam-footer-strip-brand{
    grid-area:brand!important;justify-self:start!important;
    min-width:0!important;width:auto!important;max-width:100%!important;
    margin:0!important;padding:0!important;
  }
  #root footer.sam-public-footer .sam-footer-strip-brand .sam-brand-lockup{
    width:min(102px,100%)!important;max-width:102px!important;height:auto!important;
  }
  #root footer.sam-public-footer .sam-footer-strip-brand .sam-brand-logo{
    display:block!important;width:100%!important;max-width:102px!important;height:auto!important;
  }
  #root footer.sam-public-footer .sam-footer-strip-actions{
    grid-area:actions!important;
    display:flex!important;align-items:center!important;justify-content:flex-end!important;
    flex-wrap:nowrap!important;gap:3px!important;
    min-width:0!important;width:max-content!important;max-width:100%!important;
    margin:0!important;padding:0!important;
  }
  #root footer.sam-public-footer .sam-footer-strip-actions > :is(a,.sam-footer-action-menu){
    box-sizing:border-box!important;flex:0 0 32px!important;
    width:32px!important;min-width:32px!important;height:34px!important;min-height:34px!important;
    margin:0!important;padding:0!important;
  }
  #root footer.sam-public-footer .sam-footer-strip-actions > .sam-footer-action-menu > summary{
    box-sizing:border-box!important;display:grid!important;place-items:center!important;
    width:32px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0!important;
  }
  #root footer.sam-public-footer .sam-footer-strip-center{
    grid-area:meta!important;justify-self:center!important;
    width:auto!important;min-width:0!important;max-width:100%!important;
    margin:0!important;padding:0!important;
    text-align:center!important;line-height:1.25!important;
  }
  #root footer.sam-public-footer .sam-footer-strip-center .sam-footer-strip-meta{
    white-space:nowrap!important;font-size:11px!important;
  }
}
@media (min-width:701px){
  /* Desktop lifecycle remains one horizontal row: step number next to label. */
  #main-content .sam-orbit-life-line > span{
    display:flex!important;flex-direction:row!important;
    align-items:center!important;justify-content:flex-start!important;
    gap:12px!important;
    padding-block:18px!important;
    padding-inline-start:28px!important;
    min-width:0!important;
  }
  #main-content .sam-orbit-life-line > span > i{
    display:inline-flex!important;flex:none!important;width:auto!important;
    margin:0!important;align-items:center!important;
    font-style:normal!important;line-height:1.1!important;
    white-space:nowrap!important;
  }
  #main-content .sam-orbit-life-line > span::before{
    inset-inline-start:4px!important;top:50%!important;
    transform:translateY(-50%)!important;
  }
  #root #main-content > .sam-about-page,
  #root #main-content > .sam-partnership-page,
  #root #main-content > .sam-phase5-projects{
    --sam-editorial-footer-gap:32px!important;
  }
  #root #main-content > .sam-about-page > .sam-about-refine:last-child,
  #root #main-content > .sam-partnership-page > .sam-partner-apply:last-child,
  #root #main-content > .sam-phase5-projects > .sam-editorial-section:last-child{
    padding-bottom:32px!important;padding-block-end:32px!important;
  }
}
/* Preserve full original project artwork, especially baked-in corner captions. */
#main-content .sam-about-refine__image img{
  object-fit:contain!important;background:#122337!important;
}


/* 2026-11-25 — compact guided cabin finish stage.
   Scope to the standalone configurator, leave commerce and quote APIs unchanged. */
html body.sam-configurator-document #root .cw-guided-step-intro {
  padding:14px 18px!important;
  margin-block:8px 7px!important;
  border-radius:12px!important;
}
html body.sam-configurator-document #root .cw-guided-step-intro h1 {
  font-size:clamp(20px,2vw,27px)!important;
  line-height:1.35!important;
  margin:4px 0!important;
}
html body.sam-configurator-document #root .cw-guided-step-intro p {
  font-size:13px!important;
  line-height:1.6!important;
}
html body.sam-configurator-document #root .cw-stepbar-guided {
  gap:6px!important;
  margin-block:0 7px!important;
}
html body.sam-configurator-document #root .cw-stepbar-guided > span {
  box-sizing:border-box!important;
  min-height:42px!important;
  padding:6px 8px!important;
  gap:6px!important;
}
html body.sam-configurator-document #root .cw-choice-stage {
  padding:12px!important;
  margin-block:6px!important;
  gap:9px!important;
  border-radius:13px!important;
}
html body.sam-configurator-document #root .cw-choice-stage .cw-choice-group,
html body.sam-configurator-document #root .cw-choice-stage .cw-choice-group-stack {
  gap:7px!important;
}
html body.sam-configurator-document #root .cw-choice-stage .cw-choice-extra.cw-choice-group,
html body.sam-configurator-document #root .cw-choice-stage .cw-choice-group-stack {
  padding-top:9px!important;
}
html body.sam-configurator-document #root .cw-choice-stage .cw-choice-grid {
  gap:6px!important;
}
html body.sam-configurator-document #root .cw-choice-stage .cw-choice-grid > .cw-choice-card,
html body.sam-configurator-document #root .cw-choice-stage .cw-choice-grid > .cw-choice-card.is-selected {
  box-sizing:border-box!important;
  min-height:42px!important;
  padding:7px 9px!important;
  gap:7px!important;
  border-radius:9px!important;
}
html body.sam-configurator-document #root .cw-guided-preview {
  margin-block:8px!important;
  border-radius:13px!important;
  overflow:clip!important;
}
html body.sam-configurator-document #root .cw-guided-preview .cw-stage-head {
  min-height:40px!important;
  padding:8px 12px!important;
  gap:8px!important;
}
html body.sam-configurator-document #root .cw-guided-preview .cw-elevator-garage-head,
html body.sam-configurator-document #root .cw-guided-preview .cw-viewer-top {
  padding:9px 12px!important;
  gap:7px!important;
}
html body.sam-configurator-document #root .cw-guided-preview .sx-webgl-stage {
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
}
html body.sam-configurator-document #root .cw-guided-preview .sx-webgl-canvas {
  display:block!important;
  width:100%!important;
  min-height:0!important;
  height:clamp(360px,43dvh,490px)!important;
  max-height:490px!important;
}
html body.sam-configurator-document #root .cw-guided-preview .sx-scene-hint,
html body.sam-configurator-document #root .cw-guided-preview .sx-render-status,
html body.sam-configurator-document #root .cw-guided-preview .sx-stage-badge {
  box-sizing:border-box!important;
  min-height:0!important;
  height:auto!important;
  padding-block:4px!important;
  margin:0!important;
  line-height:1.35!important;
}
html body.sam-configurator-document #root .cw-guided-preview .cw-door-preview-action {
  margin-block:7px!important;
  gap:7px!important;
}
html body.sam-configurator-document #root .cw-guided-preview .cw-expert-details {
  margin:6px 10px!important;
  padding:0 9px!important;
}
html body.sam-configurator-document #root .cw-guided-preview .cw-next-row {
  min-height:0!important;
  padding:7px 10px!important;
  gap:8px!important;
}
html body.sam-configurator-document #root .cw-guided-preview .cw-next-row :is(button,a) {
  min-height:42px!important;
  padding-inline:12px!important;
}
@media(max-width:700px){
  html body.sam-configurator-document #root .cw-guided-step-intro {
    padding:11px 12px!important;
    margin-block:5px!important;
  }
  html body.sam-configurator-document #root .cw-guided-step-intro h1 {
    font-size:20px!important;
  }
  html body.sam-configurator-document #root .cw-stepbar-guided {
    gap:5px!important;
    margin-block:0 5px!important;
  }
  html body.sam-configurator-document #root .cw-stepbar-guided > span {
    min-height:46px!important;
    padding:5px!important;
  }
  html body.sam-configurator-document #root .cw-choice-stage {
    padding:9px!important;
    gap:7px!important;
    margin-block:5px!important;
  }
  html body.sam-configurator-document #root .cw-guided-preview .sx-webgl-canvas {
    height:clamp(290px,41dvh,390px)!important;
    max-height:390px!important;
  }
  html body.sam-configurator-document #root .cw-guided-preview .cw-stage-head {
    padding:7px 9px!important;
  }
  html body.sam-configurator-document #root .cw-guided-preview .cw-next-row {
    padding:7px!important;
  }
}


/* Very narrow mobile: retain all finish choices in two readable columns. */
@media(max-width:350px){
  html body.sam-configurator-document #root .cw-choice-stage .cw-choice-grid > .cw-choice-card,
  html body.sam-configurator-document #root .cw-choice-stage .cw-choice-grid > .cw-choice-card.is-selected{
    flex:0 0 calc(50% - 3px)!important;
    max-width:calc(50% - 3px)!important;
    width:calc(50% - 3px)!important;
    min-width:0!important;
    min-height:46px!important;
    height:auto!important;
    padding:7px 6px!important;
    gap:5px!important;
  }
  html body.sam-configurator-document #root .cw-choice-stage .cw-choice-card > b{
    font-size:11.2px!important;
    overflow-wrap:anywhere!important;
    line-height:1.45!important;
  }
}


/* 2026-11-25 — consistent cabin studio UI, both themes, narrow/desktop. */
html[data-samami-theme="light"] body.sam-configurator-document #root .cw-guided-preview{
 --sam-studio-bg:#f4f8fd;--sam-studio-panel:#fff;--sam-studio-control:#e5f0fb;
 --sam-studio-text:#163349;--sam-studio-muted:#546f83;--sam-studio-edge:#c6d9ea;--sam-studio-accent:#175ca4;
}
html[data-samami-theme="dark"] body.sam-configurator-document #root .cw-guided-preview{
 --sam-studio-bg:#0d1e2d;--sam-studio-panel:#152b3d;--sam-studio-control:#213e56;
 --sam-studio-text:#edf6ff;--sam-studio-muted:#b7cbdc;--sam-studio-edge:#355269;--sam-studio-accent:#9dcaff;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
:is(.cw-elevator-garage,.cw-elevator-preview,.cw-elevator-canvas-shell){
 border-color:var(--sam-studio-edge)!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
:is(.cw-elevator-garage-head,.cw-elevator-preview-toolbar,.cw-elevator-preview-meta){
 box-sizing:border-box!important;
 color:var(--sam-studio-text)!important;
 background:var(--sam-studio-bg)!important;
 background-image:none!important;
 border-color:var(--sam-studio-edge)!important;
 box-shadow:none!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview .cw-elevator-garage-head{
 display:flex!important;
 align-items:center!important;
 flex-direction:row!important;
 justify-content:space-between!important;
 padding:9px 12px!important;
 gap:10px!important;
 min-height:0!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview .cw-elevator-garage-head > div:first-child{
 flex:1 1 auto!important;min-width:0!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview .cw-elevator-garage-head h2{
 font-size:clamp(16px,1.6vw,21px)!important;
 line-height:1.4!important;
 margin:3px 0!important;
 color:var(--sam-studio-text)!important;
 -webkit-text-fill-color:var(--sam-studio-text)!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview .cw-elevator-garage-head p{
 font-size:11.5px!important;
 line-height:1.55!important;
 margin:2px 0 0!important;
 color:var(--sam-studio-muted)!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.cw-elevator-live-label{
 color:var(--sam-studio-accent)!important;
 font-size:10px!important;
 line-height:1.4!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.cw-elevator-preview-toolbar{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 min-height:45px!important;padding:5px 10px!important;gap:8px!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.cw-elevator-preview-toolbar > span{
 color:var(--sam-studio-text)!important;font-weight:800!important;
 font-size:12.5px!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.cw-elevator-preview-toolbar button{
 display:inline-flex!important;
 box-sizing:border-box!important;
 align-items:center!important;
 justify-content:center!important;
 min-height:38px!important;
 height:auto!important;
 padding:7px 11px!important;
 gap:7px!important;
 border:1px solid var(--sam-studio-edge)!important;
 border-radius:9px!important;
 background:var(--sam-studio-control)!important;
 background-image:none!important;
 color:var(--sam-studio-text)!important;
 -webkit-text-fill-color:var(--sam-studio-text)!important;
 font-size:12px!important;line-height:1.35!important;font-weight:750!important;
 box-shadow:none!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.cw-elevator-preview-toolbar button svg{
 color:inherit!important;stroke:currentColor!important;flex-shrink:0!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.cw-elevator-preview-toolbar button:hover{
 border-color:var(--sam-studio-accent)!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.sx-webgl-stage{
 box-sizing:border-box!important;display:grid!important;
 grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr)!important;
 align-items:center!important;gap:4px 7px!important;
 padding:0 9px 8px!important;
 border-color:var(--sam-studio-edge)!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.sx-webgl-stage .sx-webgl-canvas{
 grid-column:1 / -1!important;
 justify-self:stretch!important;
 width:100%!important;
 max-width:100%!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.sx-webgl-stage :is(.sx-scene-hint,.sx-render-status,.sx-stage-badge){
 display:flex!important;
 box-sizing:border-box!important;
 min-width:0!important;
 min-height:37px!important;
 height:auto!important;
 align-items:center!important;
 justify-content:center!important;
 gap:5px!important;
 margin:0!important;
 padding:5px 7px!important;
 border:1px solid var(--sam-studio-edge)!important;
 border-radius:8px!important;
 background:var(--sam-studio-panel)!important;
 background-image:none!important;
 color:var(--sam-studio-muted)!important;
 font-size:10px!important;
 line-height:1.4!important;
 text-align:center!important;
 white-space:normal!important;
 overflow-wrap:anywhere!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.sx-webgl-stage :is(.sx-render-status,.sx-stage-badge) :is(b,small,span,em){
 color:var(--sam-studio-text)!important;
 -webkit-text-fill-color:var(--sam-studio-text)!important;
 font-size:10px!important;line-height:1.35!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.sx-webgl-stage .sx-render-status > div{
 display:flex!important;flex-direction:column!important;
 align-items:flex-start!important;gap:1px!important;
 min-width:0!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.sx-webgl-stage .sx-render-status > em{
 font-size:9px!important;flex:0 0 auto!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.cw-elevator-preview-meta{
 min-height:34px!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:8px!important;padding:6px 10px!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.cw-elevator-preview-meta :is(span,b){
 color:var(--sam-studio-muted)!important;
 font-size:11px!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.cw-door-preview-action{
 box-sizing:border-box!important;
 width:100%!important;
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 flex-wrap:wrap!important;
 gap:8px!important;
 margin:5px 0!important;
 padding:7px 12px!important;
 color:var(--sam-studio-muted)!important;
 background:var(--sam-studio-bg)!important;
 border-top:1px solid var(--sam-studio-edge)!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.cw-door-preview-action button{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-height:42px!important;
 padding:8px 14px!important;
 border:1px solid var(--sam-studio-accent)!important;
 border-radius:9px!important;
 color:var(--sam-studio-text)!important;
 -webkit-text-fill-color:var(--sam-studio-text)!important;
 background:var(--sam-studio-control)!important;
 font-weight:800!important;font-size:12px!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.cw-door-preview-action > span{
 color:var(--sam-studio-muted)!important;
 font-size:11px!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.cw-expert-details{
 background:var(--sam-studio-panel)!important;
 color:var(--sam-studio-text)!important;
 border:1px solid var(--sam-studio-edge)!important;
 border-radius:9px!important;
 margin:5px 10px!important;
 padding:0 8px!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.cw-expert-details summary{
 box-sizing:border-box!important;
 min-height:38px!important;
 display:flex!important;align-items:center!important;
 color:var(--sam-studio-text)!important;
 background:var(--sam-studio-panel)!important;
 border:0!important;
 font-size:12px!important;
 padding-block:6px!important;
 cursor:pointer;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.cw-expert-details .cw-impact{
 background:var(--sam-studio-bg)!important;
 border-color:var(--sam-studio-edge)!important;
 color:var(--sam-studio-text)!important;
 gap:7px!important;
 padding:8px!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.cw-expert-details .cw-impact article{
 background:var(--sam-studio-panel)!important;
 border:1px solid var(--sam-studio-edge)!important;
 border-radius:8px!important;
 color:var(--sam-studio-text)!important;
}
html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
.cw-expert-details .cw-impact article :is(span,strong,small){
 color:var(--sam-studio-text)!important;
}
@media(max-width:700px){
 html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
 .cw-elevator-garage-head{
   flex-direction:column!important;align-items:stretch!important;
   padding:9px!important;gap:5px!important;
 }
 html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
 .cw-elevator-garage-head p{
   font-size:11px!important;
 }
 html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
 .sx-webgl-stage{
   grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
   padding:0 5px 5px!important;
   gap:4px!important;
 }
 html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
 .sx-webgl-stage .sx-scene-hint{
   grid-column:1/-1!important;min-height:25px!important;
 }
 html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
 .sx-webgl-stage .sx-render-status,.sx-webgl-stage .sx-stage-badge{
   min-height:41px!important;font-size:9px!important;padding:4px!important;
 }
 html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
 .cw-door-preview-action{
   flex-direction:column!important;align-items:stretch!important;
   padding:6px 8px!important;
 }
 html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
 .cw-door-preview-action button{
   width:100%!important;min-height:44px!important;
 }
 html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
 .cw-door-preview-action > span{
   text-align:center!important;font-size:10px!important;
 }
 html[data-samami-theme] body.sam-configurator-document #root .cw-guided-preview
 .cw-elevator-preview-toolbar{
   flex-wrap:wrap!important;
 }
}

/* Explicit theme color on actionable controls: older mobile selectors and
   inherited-variable transitions cannot leave light buttons on dark UI. */
html[data-samami-theme="dark"] body.sam-configurator-document #root .cw-guided-preview
:is(.cw-elevator-preview-toolbar button,.cw-door-preview-action button){
 background:#213e56!important;
 background-image:none!important;
 color:#edf6ff!important;
 -webkit-text-fill-color:#edf6ff!important;
 border-color:#355269!important;
}
html[data-samami-theme="light"] body.sam-configurator-document #root .cw-guided-preview
:is(.cw-elevator-preview-toolbar button,.cw-door-preview-action button){
 background:#e5f0fb!important;
 background-image:none!important;
 color:#163349!important;
 -webkit-text-fill-color:#163349!important;
 border-color:#c6d9ea!important;
}



/* SAMAMI v47: approved portfolio photography; stable, accessible carousel. */
#root .sam-public-shell .sam-orbit-project .sam-orbit-project-summary{
 display:block!important;max-width:640px!important;margin-top:15px!important;
 font-size:clamp(14px,1.25vw,17px)!important;line-height:1.9!important;
 color:var(--or-muted,#596e80)!important;overflow-wrap:anywhere!important;
}
html[data-samami-theme=dark] #root .sam-public-shell .sam-orbit-project .sam-orbit-project-summary{
 color:#d5e3f1!important;
}
#root .sam-public-shell .sam-orbit-project .sam-orbit-project-slider{
 position:relative!important;display:block!important;overflow:hidden!important;
 isolation:isolate!important;background:#0a1f31!important;
 min-height:clamp(400px,44vw,720px)!important;
 height:100%!important;color:#fff!important;
}
#root .sam-public-shell .sam-orbit-project .sam-orbit-project-slider .sam-orbit-project-slider-link{
 display:block!important;position:absolute!important;inset:0!important;
 width:100%!important;height:100%!important;z-index:1!important;
}
#root .sam-public-shell .sam-orbit-project .sam-orbit-project-slider .sam-orbit-project-slider-link>img{
 display:block!important;position:absolute!important;inset:0!important;
 width:100%!important;height:100%!important;object-fit:contain!important;
 object-position:center!important;filter:none!important;border:0!important;
 animation:sam-portfolio-reveal .45s ease both;
}
@keyframes sam-portfolio-reveal{
 from{opacity:.68;transform:scale(1.012)}to{opacity:1;transform:scale(1)}
}
#root .sam-public-shell .sam-orbit-project .sam-orbit-project-slider>.sam-orbit-project-slider-caption{
 position:absolute!important;z-index:3!important;
 inset:auto 0 0!important;bottom:0!important;
 box-sizing:border-box!important;
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 gap:3px!important;margin:0!important;padding:44px 28px 21px!important;
 width:100%!important;background:linear-gradient(180deg,transparent,rgba(3,17,29,.88))!important;
 pointer-events:none!important;color:#fff!important;text-shadow:none!important;
}
#root .sam-public-shell .sam-orbit-project-slider-caption small{
 font-size:11px!important;font-weight:700!important;color:#c4d9ed!important;
 letter-spacing:.04em!important;text-transform:none!important;
}
#root .sam-public-shell .sam-orbit-project-slider-caption strong{
 display:block!important;font-size:clamp(18px,2vw,28px)!important;
 line-height:1.45!important;color:#fff!important;
 -webkit-text-fill-color:#fff!important;
}
#root .sam-public-shell .sam-orbit-project-slider-caption>span{
 font-size:12px!important;font-variant-numeric:tabular-nums!important;
 color:#b8d8f2!important;
}
#root .sam-public-shell .sam-orbit-project .sam-orbit-project-slider>.sam-orbit-project-slider-controls{
 position:absolute!important;z-index:4!important;
 inset:16px 18px auto auto!important;
 display:flex!important;gap:7px!important;width:auto!important;
 color:#fff!important;pointer-events:auto!important;
}
#root .sam-public-shell .sam-orbit-project-slider-controls button{
 display:grid!important;place-items:center!important;min-width:44px!important;min-height:44px!important;
 width:44px!important;height:44px!important;border-radius:11px!important;
 border:1px solid rgba(235,247,255,.62)!important;
 background:rgba(7,28,45,.78)!important;color:#fff!important;
 font:bold 28px/1 sans-serif!important;cursor:pointer!important;
 box-shadow:0 4px 15px rgba(0,0,0,.25)!important;
}
#root .sam-public-shell .sam-orbit-project-slider-controls button:hover,
#root .sam-public-shell .sam-orbit-project-slider-controls button:focus-visible{
 outline:2px solid #7cb9ff!important;outline-offset:1px!important;
 background:#125391!important;
}
@media(max-width:820px){
 #root .sam-public-shell .sam-orbit-project .sam-orbit-project-slider{
  min-height:clamp(300px,68vw,470px)!important;
 }
 #root .sam-public-shell .sam-orbit-project .sam-orbit-project-slider>.sam-orbit-project-slider-caption{
  padding:42px 18px 17px!important;
 }
 #root .sam-public-shell .sam-orbit-project .sam-orbit-project-slider>.sam-orbit-project-slider-controls{
  inset:12px 12px auto auto!important;
 }
}
@media(prefers-reduced-motion:reduce){
 #root .sam-public-shell .sam-orbit-project-slider-link img{animation:none!important}
}
/* A curated, category-based library: project records remain distinct. */
#root .sam-public-shell .sam-project-media-hub{
 --media-panel:#fff;--media-bg:#f3f7fb;--media-ink:#132d48;
 --media-muted:#526c81;--media-line:#d4e1ed;
 box-sizing:border-box;width:100%;min-width:0;
 margin:0;padding:clamp(26px,4vw,52px) clamp(17px,5vw,76px);
 background:var(--media-bg)!important;color:var(--media-ink)!important;
 border-block:1px solid var(--media-line);
}
html[data-samami-theme=dark] #root .sam-public-shell .sam-project-media-hub{
 --media-panel:#172f45;--media-bg:#0c1d2d;--media-ink:#edf6ff;
 --media-muted:#b9cbdc;--media-line:#35516a;
}
#root .sam-public-shell .sam-project-media-hub__header{
 display:grid;gap:8px!important;max-width:900px;margin:0 0 22px!important;
}
#root .sam-public-shell .sam-project-media-hub__header small{
 color:#3377b4!important;font-size:11px!important;font-weight:800!important;letter-spacing:.08em!important;
}
html[data-samami-theme=dark] #root .sam-public-shell .sam-project-media-hub__header small{
 color:#8ac6ff!important;
}
#root .sam-public-shell .sam-project-media-hub__header h2{
 font-size:clamp(22px,2.8vw,36px)!important;line-height:1.35!important;
 margin:0!important;color:var(--media-ink)!important;
 -webkit-text-fill-color:var(--media-ink)!important;
}
#root .sam-public-shell .sam-project-media-hub__header p{
 font-size:clamp(13px,1.1vw,15px)!important;line-height:1.8!important;
 margin:0!important;color:var(--media-muted)!important;
}
#root .sam-public-shell .sam-project-media-hub__tabs{
 display:flex;flex-wrap:wrap;gap:7px;align-items:center;
 margin-bottom:12px!important;
}
#root .sam-public-shell .sam-project-media-hub__tabs button{
 display:inline-flex!important;justify-content:center!important;align-items:center!important;
 min-height:42px!important;padding:9px 17px!important;border-radius:9px!important;
 border:1px solid var(--media-line)!important;
 background:var(--media-panel)!important;color:var(--media-ink)!important;
 font-size:13px!important;font-weight:750!important;cursor:pointer!important;
}
#root .sam-public-shell .sam-project-media-hub__tabs button[aria-selected=true]{
 background:#1657a1!important;color:#fff!important;border-color:#1657a1!important;
}
#root .sam-public-shell .sam-project-media-hub__tabs button:focus-visible{
 outline:2px solid #2683df!important;outline-offset:2px!important;
}
#root .sam-public-shell .sam-project-media-hub__panel{
 box-sizing:border-box;display:grid;gap:14px;
 min-height:110px!important;padding:16px!important;
 border:1px solid var(--media-line)!important;
 border-radius:12px!important;background:var(--media-panel)!important;
 color:var(--media-ink)!important;
}
#root .sam-public-shell .sam-project-media-hub__official{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 flex-wrap:wrap!important;gap:12px!important;
 padding:13px 15px!important;
 border:1px solid var(--media-line)!important;
 background:var(--media-bg)!important;
 color:var(--media-ink)!important;border-radius:10px!important;
 text-decoration:none!important;font-size:13px!important;
}
#root .sam-public-shell .sam-project-media-hub__official span{
 font-weight:800!important;direction:ltr!important;
}
#root .sam-public-shell .sam-project-media-hub__official strong{
 color:var(--media-ink)!important;font-weight:750!important;
}
#root .sam-public-shell .sam-project-media-hub__grid{
 display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:14px;
}
#root .sam-public-shell .sam-project-media-hub__item{
 box-sizing:border-box;min-width:0;
 background:var(--media-bg);border:1px solid var(--media-line);
 border-radius:10px;padding:12px;
}
#root .sam-public-shell .sam-project-media-hub__item :is(img,video){
 display:block;max-width:100%;width:100%;aspect-ratio:16/9;
 object-fit:contain;background:#081824;border-radius:7px;
}
#root .sam-public-shell .sam-project-media-hub__item h3{
 color:var(--media-ink)!important;font-size:14px!important;margin:10px 0 6px!important;
}
#root .sam-public-shell .sam-project-media-hub__empty{
 color:var(--media-muted)!important;font-size:13px!important;line-height:1.8!important;
 margin:0!important;
}
/* Remember me — preserve browser logic, fix the black native checkbox in both modes. */
#root .sam-auth-panel label.samami-login-remember{
 display:flex!important;align-items:center!important;gap:9px!important;
 color:var(--sam-shell-text,#20354b)!important;min-height:36px!important;
}
#root .sam-auth-panel label.samami-login-remember input[type=checkbox]{
 -webkit-appearance:none!important;appearance:none!important;
 box-sizing:border-box!important;position:relative!important;
 width:19px!important;height:19px!important;flex:0 0 19px!important;
 margin:0!important;border-radius:5px!important;
 border:2px solid #4b799d!important;background:#fff!important;
 color:#fff!important;cursor:pointer!important;
 box-shadow:none!important;filter:none!important;
}
#root .sam-auth-panel label.samami-login-remember input[type=checkbox]:checked{
 background:#1765bc!important;border-color:#1765bc!important;
}
#root .sam-auth-panel label.samami-login-remember input[type=checkbox]:checked::after{
 content:""!important;position:absolute!important;inset:1px 0 0 5px!important;
 width:5px!important;height:10px!important;border:solid #fff!important;
 border-width:0 2px 2px 0!important;transform:rotate(45deg)!important;
}
#root .sam-auth-panel label.samami-login-remember input[type=checkbox]:focus-visible{
 outline:2px solid #2683df!important;outline-offset:3px!important;
}
#root .sam-auth-panel label.samami-login-remember span{
 font-size:13px!important;font-weight:650!important;
 color:var(--sam-shell-text,#20354b)!important;
 -webkit-text-fill-color:currentColor!important;
}
html[data-samami-theme=dark] #root .sam-auth-panel label.samami-login-remember input[type=checkbox]{
 background:#1e3a52!important;border-color:#92b6d7!important;
}
html[data-samami-theme=dark] #root .sam-auth-panel label.samami-login-remember input[type=checkbox]:checked{
 background:#2479cb!important;border-color:#2479cb!important;
}
html[data-samami-theme=dark] #root .sam-auth-panel label.samami-login-remember span{
 color:#e2effc!important;-webkit-text-fill-color:#e2effc!important;
}

