@import url("./esolution-3d-tokens.css");
.es3d-identity {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 12px 16px;
  color: #fff;
  background: var(--es3d-night);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  box-sizing: border-box;
}

.es3d-identity img {
  width: 38px;
  height: 52px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.es3d-identity small,
.es3d-identity strong { display: block; }

.es3d-identity small {
  color: #57d68b;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.es3d-identity strong {
  margin-top: 2px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.sf3d:not(.sf3d--embedded),
.ps3d {
  --es3d-ink: #17241e;
  --es3d-muted: #64766c;
  --es3d-line: #d6e2da;
  --es3d-green: #178953;
  --es3d-green-soft: #e4f7ea;
  --es3d-night: #0d2018;
}

/* Scoped adapters: components consume the shared token values. */
.sf3d.es3d-tool {
  --sf-green: var(--es3d-green-bright); --sf-dark: var(--es3d-night);
  --sf-ink: var(--es3d-ink); --sf-muted: var(--es3d-muted);
  --sf-line: var(--es3d-line); --sf-soft: var(--es3d-green-soft);
}
.ps3d.es3d-tool {
  --ps3d-green: #116f44; --ps3d-ink: var(--es3d-ink);
  --ps3d-muted: var(--es3d-muted); --ps3d-line: var(--es3d-line); --ps3d-soft: var(--es3d-canvas);
}
.es3d-tool.es3d-tool,.es3d-gated-tool {
  width:100%; min-width:0; max-width:var(--es3d-page-max); margin-inline:auto;
  padding:var(--es3d-gutter); border-radius:var(--es3d-radius-panel);
  font-family:var(--es3d-font); color:var(--es3d-ink); overflow-wrap:anywhere; box-sizing:border-box;
}
.es3d-tool *,.es3d-gated-tool * { box-sizing:border-box; min-width:0; }
.es3d-tool .sf3d__card,.es3d-tool .ps3d__flow-stage,.es3d-gated-tool .ps3d-account-gate {
  border-color:var(--es3d-line); border-radius:var(--es3d-radius-panel); background:var(--es3d-paper);
}
.es3d-tool button,.es3d-tool select,.es3d-tool input:not([type=checkbox]):not([type=radio]):not([type=file]) {
  min-height:var(--es3d-touch-min); border-radius:var(--es3d-radius-control);
}
.es3d-tool button:focus-visible,.es3d-tool a:focus-visible,.es3d-gated-tool a:focus-visible {
  outline:3px solid #178953; outline-offset:3px;
}
.es3d-tool canvas { touch-action:none; display:block; max-width:100%; }
.es3d-tool .sf3d__hero { grid-template-columns:minmax(0,1fr); gap:12px; }
.es3d-tool .sf3d__hero h2,.es3d-tool .ps3d__header h2 { max-width:26ch; font-size:clamp(25px,3vw,38px); line-height:1.08; }
.es3d-tool .sf3d__privacy { padding:12px 16px; background:var(--es3d-green-soft); border-color:var(--es3d-line); font-size:14px; }
.es3d-tool .sf3d__lead { font-size:17px; margin-top:12px; }
.es3d-tool .sf3d__workspace { grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr); }
.es3d-tool .sf3d__viewer-tools { display:flex; flex-wrap:wrap; max-width:calc(100% - 24px); gap:6px; }
.es3d-tool .sf3d__viewer-tools button { white-space:normal; font-size:12px; min-height:44px; padding:7px 9px; }
/* The legacy narrow-view label must not be appended to the real accessible text. */
.es3d-tool .sf3d__viewer-tools button[data-action="fit-view"]::after { content:none; }
.es3d-tool .sf3d__viewer-note { top:116px; font-size:12px; }
.es3d-tool .ps3d__workflow-shell { grid-template-columns:minmax(0,1fr); }
/* The historical mobile banner uses !important; keep this override scoped. */
.ps3d.es3d-tool .ps3d__makerworld { display:none !important; }
.es3d-tool .ps3d__view-actions { position:absolute; top:12px; left:12px; right:12px; display:flex; flex-wrap:wrap; gap:6px; }
.es3d-tool .ps3d__view-actions button { color:var(--es3d-ink); background:#fff; border:1px solid var(--es3d-line); font-size:12px; padding:8px; }
.es3d-tool .es3d-preview-fallback { position:absolute; inset:0; display:grid; place-content:center; padding:24px; margin:0; background:var(--es3d-canvas); color:var(--es3d-ink); font-size:16px; font-weight:600; line-height:1.5; letter-spacing:normal; z-index:2; }
.es3d-tool .sf3d--embedded { box-shadow:none; padding:16px; max-width:100%; }
.es3d-identity small { color:var(--es3d-green-bright); text-transform:none; letter-spacing:.04em; }
.es3d-identity strong { font-size:22px; }
body.es3d-family:not(.es3d-compact-header) .site-header,body.es3d-family:not(.es3d-compact-header) .site-header .header-block { height:116px!important; min-height:116px!important; background:var(--es3d-night); }
.es3d-family .ps3d-site-header-slider { display:none!important; }
.ps3d.es3d-tool[data-preview-state=ready] > .ps3d__header { display:none; }
.ps3d.es3d-tool[data-preview-state=ready] > .es3d-identity { margin-bottom:10px; }
.ps3d.es3d-tool[data-preview-state=ready] #ps3d-step-model > .ps3d__flow-heading p { display:none; }
.ps3d.es3d-tool .ps3d__geometry-details { min-width:0; padding:0; border:1px solid var(--es3d-line); border-radius:var(--es3d-radius-panel); background:var(--es3d-paper); }
.ps3d.es3d-tool .ps3d__geometry-details > summary { display:list-item; min-height:44px; padding:14px 18px; color:#116f44; font-weight:750; cursor:pointer; }
.ps3d.es3d-tool .ps3d__geometry-details > summary:focus-visible { outline:3px solid #178953; outline-offset:3px; }
.ps3d.es3d-tool .ps3d__geometry-details:not([open]) > :not(summary) { display:none; }
.ps3d.es3d-tool .ps3d__geometry-note { padding:0 18px; color:var(--es3d-muted); font-size:14px; line-height:1.5; }
.sf3d.es3d-tool[data-preview-state=ready] > .sf3d__hero { display:none; }
.sf3d.es3d-tool[data-preview-state=ready] > .es3d-identity { margin-bottom:10px; }
@media(max-width:1040px) {
  .es3d-tool .sf3d__workspace { grid-template-columns:1fr; }
  .es3d-tool .sf3d__stage { position:static; }
  .es3d-tool .sf3d__viewer,.es3d-tool .sf3d__viewer canvas { min-height:420px; }
}
@media(max-width:640px) {
  .es3d-tool.es3d-tool,.es3d-gated-tool { padding:16px; }
  .es3d-tool .sf3d__viewer,.es3d-tool .sf3d__viewer canvas { min-height:360px; }
  .es3d-tool .sf3d__viewer-note { top:126px; }
}

@media (max-width: 520px) {
  .es3d-identity { margin-bottom: 18px; padding: 10px 13px; border-radius: 13px; }
  .es3d-identity img { width: 32px; height: 44px; }
  .es3d-identity strong { font-size: 16px; }
}

/* R06 lockup: neutralize the former branded panel without changing tool UI. */
.es3d-identity.es3d-app-lockup {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  color: #54565a;
}
.es3d-identity.es3d-app-lockup img.es3d-app-wordmark {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
}
