/* Shared Peblla identity. Assets are served locally; provenance in brand/README.md. */
/* Preloaded on primary pages. Optional avoids a late font swap on slow connections. */
@font-face {font-family:Roboto;font-style:normal;font-weight:100 900;font-display:optional;src:url('/brand/roboto-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root {
  --peblla-orange:#ff4d00; --peblla-orange-soft:#fff1ea; --peblla-orange-text:#b73500;
  --peblla-action:#d64000; --peblla-action-hover:#c53c00; --peblla-action-pressed:#b93600; --peblla-on-action:#fff;
  --peblla-ink:#171717; --peblla-body:#616161; --peblla-line:#e5e5e5;
  --peblla-surface:#fff; --peblla-panel:#f7f7f7;
  --peblla-font:Roboto,"Noto Sans SC","PingFang SC",system-ui,-apple-system,"Segoe UI",sans-serif;
  --peblla-control-height:48px; --peblla-control-radius:10px; --peblla-card-radius:12px;
}
.peblla-brand {display:inline-flex;align-items:center;gap:12px;color:var(--peblla-ink);text-decoration:none;white-space:nowrap;flex-shrink:0}
.peblla-brand img {display:block;width:111px;height:24px;max-width:none}
.peblla-brand span {font:500 18px/1 var(--peblla-font);letter-spacing:0;color:var(--peblla-orange-text);border-left:1px solid var(--peblla-line);padding-left:12px}
.peblla-brand:focus-visible {outline:2px solid var(--peblla-orange-text);outline-offset:4px}
html {scrollbar-gutter:stable}
[hidden] {display:none!important}
/* The initial shell is static HTML, so it is present before any application JS. */
.page-loading {padding-top:40px!important;padding-bottom:48px!important;min-height:75vh}
.page-pending .nav-actions,.page-pending .links {visibility:hidden}
.page-pending.site main,.page-pending #experience,.page-pending #call-dock {display:none!important}
.loading-shapes {padding-top:4px}
.loading-line {height:16px;width:65%;max-width:520px;background:#eee;border-radius:6px;margin-bottom:16px}
.loading-title {height:36px;width:78%;max-width:460px;margin-bottom:20px}
.loading-choices {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:44px 0 40px;border-bottom:1px solid #e5e5e5}
.loading-choices span {display:block;height:76px;background:#f7f7f7;border:1px solid #eee;border-radius:10px}
.loading-fields {display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-top:56px}
.loading-fields span {display:block;height:48px;border:1px solid #e5e5e5;border-radius:10px;background:#fafafa}
.loading-status {font:400 14px/1.5 var(--peblla-font);color:var(--peblla-body);margin:24px 0 8px!important}
.loading-reload {font:400 14px/1.5 var(--peblla-font);color:var(--peblla-orange-text);text-underline-offset:3px}
@media(max-width:600px) {
  .loading-choices {grid-template-columns:repeat(2,minmax(0,1fr));padding:32px 0}
  .loading-fields {grid-template-columns:1fr;gap:20px;padding-top:32px}
  .page-loading {padding-top:28px!important}
}
@media(max-width:520px) {
  .peblla-brand {gap:8px}
  .peblla-brand img {width:92.5px;height:20px}
  .peblla-brand span {font-size:16px;padding-left:8px}
}

/* Action orange is slightly deeper than the logo orange, so white labels stay clear.
   Both native and Astryx controls use this rule; no component-internal selectors. */
:is(.sales-theme .astryx-button[data-variant="primary"], .btn.btn-primary) {
  background:var(--peblla-action);color:var(--peblla-on-action);
  font-family:var(--peblla-font);font-size:15px;font-weight:500;line-height:1.4;letter-spacing:0;
  min-height:var(--peblla-control-height);border:1px solid transparent;border-radius:var(--peblla-control-radius);
  padding:12px 24px;box-shadow:0 1px 2px rgb(65 24 8 / 10%);text-shadow:none;
  transition:background-color 140ms ease-out,box-shadow 140ms ease-out;
}
@media(hover:hover) {
  :is(.sales-theme .astryx-button[data-variant="primary"], .btn.btn-primary):hover:not(:disabled):not([aria-disabled="true"]) {
    background:var(--peblla-action-hover);color:var(--peblla-on-action);
  }
}
:is(.sales-theme .astryx-button[data-variant="primary"], .btn.btn-primary):active:not(:disabled):not([aria-disabled="true"]) {
  background:var(--peblla-action-pressed);transform:none;box-shadow:inset 0 1px 2px rgb(65 24 8 / 16%);
}
:is(.sales-theme .astryx-button[data-variant="primary"], .btn.btn-primary):focus-visible {
  outline:2px solid var(--peblla-action);outline-offset:3px;
}
:is(.sales-theme .astryx-button[data-variant="primary"], .btn.btn-primary):is(:disabled,[aria-disabled="true"]) {
  background:#f1f1f1;color:#929292;border-color:var(--peblla-line);box-shadow:none;opacity:1;cursor:default;
}
@media(prefers-reduced-motion:reduce) {
  :is(.sales-theme .astryx-button[data-variant="primary"], .btn.btn-primary) {transition:none}
}
