
.website-page-heading,.website-record-header,.website-record-actions,.website-detail-header {
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
}
.website-page-heading { margin-block-end:20px; }
.website-page-heading h2,.website-detail-header h3 { margin:0 0 4px; }
.website-record-header { padding:0 0 10px; }
.website-record-header h3 { margin:0; }
.website-record-actions { justify-content:flex-start; gap:8px; }
.website-domain-summary > strong { min-width:min(230px,100%); font-size:14px; overflow-wrap:anywhere; }
.website-domain-summary .website-domain-actions { display:flex; gap:8px; margin-inline-start:auto; flex-wrap:wrap; }
.website-record-meta { margin:8px 0 0; }
.website-record-technical { margin-top:12px; }
.website-record-technical summary,.website-domain-row summary { cursor:pointer; width:fit-content; color:var(--sub); }
.website-detail-header { padding-block-end:14px; border-bottom:1px solid var(--line); }
.website-detail-header h3 { font-size:22px; margin:8px 0 3px; overflow-wrap:anywhere; }
.website-config-tabs { display:flex; gap:4px; overflow:auto; border-bottom:1px solid var(--line); margin:10px 0 20px; }
.website-config-tabs button {
  display:block; background:transparent; border:0; border-bottom:2px solid transparent; color:var(--sub);
  font:inherit; cursor:pointer; white-space:nowrap; padding:10px 12px; font-weight:650;
}
.website-config-tabs button[aria-current] { border-bottom-color:var(--workbench-focus); color:var(--workbench-action-ink); background:var(--brand-tint); }
.website-config-card { min-width:0; margin:0; }
.website-config-card[hidden],.website-detail-header [hidden],.website-locale-row[hidden] { display:none!important; }
.website-locale-row { display:grid; grid-template-columns:minmax(76px,.65fr) minmax(100px,1.35fr) auto; gap:6px; margin-block:6px; align-items:start; }
.website-scope-links { display:flex; flex-wrap:wrap; gap:8px; margin-block:0 12px; }
.website-scope-links a { color:#175672; text-decoration:underline; text-underline-offset:3px; }
.website-reception-summary { margin-bottom:16px; padding:12px 14px; border:1px solid var(--line); border-radius:10px; background:var(--panel-2); }
.website-reception-summary[hidden],.website-reception-summary [hidden] { display:none; }
.website-reception-summary dl { margin:0 0 8px; }
.website-reception-summary dt { font-weight:700; }
.website-reception-summary dd { margin:4px 0 0; overflow-wrap:anywhere; }
.website-reception-header { display:flex; align-items:center; gap:8px 14px; flex-wrap:wrap; }
.website-reception-header h3 { margin:0 auto 0 0; font-size:16px; }
.website-reception-header label { display:flex; align-items:center; gap:6px; }
.website-reception-header select { min-width:124px; }
#websiteSupportReceptionResult[data-state=active] { color:var(--brand-2); }
#websiteSupportReceptionExplanation { margin:8px 0 10px; overflow-wrap:anywhere; }
.website-reception-summary .website-reception-current {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));
  gap:10px; margin:10px 0;
}
.website-reception-current > div { min-width:0; padding:10px 12px; border:1px solid var(--line); border-radius:8px; }
.website-reception-current dt { color:var(--muted); font-size:12px; }
.website-reception-current dd { font-weight:650; }
#websiteSupportReceptionDraftNote { margin:8px 0; }
.website-reception-disclosure { margin-block:8px; }
.website-reception-disclosure > summary { cursor:pointer; width:fit-content; }
.website-reception-reasons { margin:9px 0; padding-inline-start:20px; }
.website-reception-reasons li + li { margin-top:3px; }
.website-reception-summary .website-reception-details {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));
  gap:8px 14px; margin:10px 0;
}
.website-reception-details dt { font-size:12px; color:var(--muted); }
.website-library-field { margin:12px 0; padding:8px 12px; min-inline-size:0; border:1px solid var(--line); border-radius:8px; }
.website-shared { margin-top:20px; }
.website-shared > summary { cursor:pointer; font-weight:650; }
.website-shared .card { margin-top:12px; }
.website-readonly-note { padding:14px 0; }
.site-support-grid:has(> .website-launcher-settings:not([hidden])) { align-items:start; }
.site-support-grid:has(> .website-ai-employee:not([hidden])) { align-items:start; }
.website-ai-employee .field > label { font-weight:650; }
@media(max-width:680px) {
  .website-domain-summary .website-domain-actions { width:100%; margin-inline-start:0; }
  .website-domain-summary > strong { min-width:0; }
  .website-config-tabs { margin-block:8px 14px; flex-wrap:wrap; overflow:visible; }
  .website-config-tabs button { padding:9px; min-height:40px; }
}

.website-directory-record { margin-block:0 10px; padding-block:13px; }
.website-directory-name { min-width:min(240px,100%); display:grid; gap:3px; overflow-wrap:anywhere; }
.website-directory-name > strong { font-size:15px; }
.website-directory-alias { display:flex; align-items:center; flex-wrap:wrap; gap:4px 8px; }
.website-directory-alias[hidden], .website-directory-alias-form[hidden] { display:none; }
.website-directory-alias-form .inp { width:min(230px,100%); min-width:0; }
.website-directory-alias-form [role="status"]:empty { display:none; }
.website-connection-controls { border:1px solid var(--line); border-radius:10px; padding:16px; }
.website-connect-summary { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.website-connect-summary h4,.website-connect-summary p { margin:0; }
.website-connect-summary h4 { margin-bottom:4px; }
.website-connection-controls .website-record-meta { margin-top:12px; }
.website-connection-history { margin-top:16px; }
.website-connection-past { padding:12px 0 0; margin-top:12px; border-top:1px solid var(--line); }
[data-website-tab][hidden],.website-connection-controls[hidden] { display:none!important; }

.website-identity-rules { grid-column:1 / -1; }
.website-identity-rules .website-record-actions { margin-block:8px 12px; }
.website-identity-table { overflow:auto; margin-block:8px 12px; }
.website-identity-table .tbl { min-width:640px; }
.website-identity-table small { display:block; color:var(--sub); margin-top:4px; }
.website-identity-table td { max-width:230px; overflow-wrap:anywhere; }
.website-identity-label { font-weight:650; }
.website-identity-label::before { content:""; display:inline-block; width:8px; height:8px;
  background:var(--entry-color); margin-inline-end:6px; border-radius:50%; }

.site-support-grid > .chat-window-settings {
  display:grid; grid-column:1 / -1; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  gap:20px; align-items:start;
}
.chat-window-settings [hidden] { display:none!important; }
.chat-window-fields,.chat-window-columns,.chat-window-action-rows { display:grid; gap:12px; min-width:0; }
.chat-window-columns { grid-template-columns:repeat(2,minmax(0,1fr)); }
.chat-window-fields fieldset { min-width:0; margin:0; }
.chat-window-fields textarea { resize:vertical; }
.chat-login-content > .hint { margin:0 0 12px; }
.chat-login-audience { min-width:0; }
.chat-login-audience h5 { margin:0 0 8px; font-size:13px; }
.chat-login-audience select + textarea { margin-top:6px; }
.chat-login-audience textarea[hidden] { display:none; }
.chat-window-checkboxes,.chat-window-action-footer {
  display:flex; flex-wrap:wrap; gap:4px 16px; align-items:center;
}
.chat-window-toggle { display:inline-flex; align-items:center; gap:8px; min-height:40px; cursor:pointer; }
.chat-window-toggle input { inline-size:16px; block-size:16px; margin:0; accent-color:#216888; }
.chat-window-delay { max-inline-size:240px; }
.chat-window-action {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,0.75fr) auto; align-items:start; gap:8px;
  background:var(--bg); border-radius:8px; padding:10px;
}
.chat-window-fields .chat-window-action .field { margin:0; }
.chat-window-action .field:nth-child(3) { grid-column:1 / 3; }
.chat-window-action button { align-self:end; min-height:36px; }
.chat-window-action-footer { margin-block-start:10px; }
.chat-window-preview {
  position:sticky; top:16px; min-width:0; padding:12px; border:1px solid var(--line); border-radius:12px;
}
.chat-window-preview-heading {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-block-end:12px;
}
.chat-window-preview-heading h4,.chat-window-preview-heading p { margin:0; }
.chat-window-preview-heading h4 { font-size:14px; }
.chat-window-preview-audience { display:block; max-width:220px; }
.chat-window-preview-devices { display:grid; grid-auto-flow:column; gap:4px; }
.chat-window-preview-devices button { min-height:36px; }
.chat-window-preview-devices button[aria-pressed="true"] { color:#154961; border-color:#71a7bd; background:#eaf4f8; }
.chat-window-preview-stage { display:grid; place-items:center; border-radius:10px; padding:16px 10px; background:#edf3f7; }
.chat-window-preview-shell {
  --chat-preview-width:352px;
  --chat-preview-height:393px;
  display:flex; flex-direction:column; inline-size:min(100%,var(--chat-preview-width)); block-size:var(--chat-preview-height);
  overflow:hidden; border-radius:13px; border:1px solid #d4e0e9; font-size:12px; color:#142f4b; background:#fff;
  box-shadow:0 8px 24px #17324b16;
}
.chat-window-preview-shell[data-size="compact"] { --chat-preview-width:320px; --chat-preview-height:350px; }
.chat-window-preview-shell[data-size="large"] { --chat-preview-width:460px; --chat-preview-height:449px; }
.chat-window-preview[data-preview-device="mobile"] .chat-window-preview-shell { --chat-preview-width:320px; --chat-preview-height:440px; }
.chat-window-preview-bar {
  display:flex; align-items:center; gap:8px; flex:none; min-height:62px; padding:8px 10px;
  color:var(--chat-preview-text,#fff); background:var(--chat-preview-accent,#3153e7);
}
.chat-window-preview-avatar {
  position:relative; display:grid; place-items:center; flex:none; width:34px; height:34px;
  overflow:hidden; border-radius:9px; background:#ffffff30; font-weight:650;
}
.chat-window-preview-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#fff; }
.chat-window-preview-title { min-width:0; flex:1; }
.chat-window-preview-title strong,.chat-window-preview-title small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.chat-window-preview-title small { opacity:.9; }
.chat-window-preview-notice {
  flex:none; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; overflow-wrap:anywhere;
  margin:0; padding:6px 10px; border-block-end:1px solid #d5e8f4; color:#174b6e; background:#edf7fc; white-space:pre-line;
}
.chat-window-preview-conversation {
  display:flex; flex:1; flex-direction:column; gap:6px; min-height:30px; overflow:auto;
  padding:10px; background:#f5f8fb;
}
.chat-window-preview-welcome { margin:0 0 6px; text-align:center; color:#485f78; overflow-wrap:anywhere; white-space:pre-line; }
.chat-window-preview-conversation time { align-self:center; color:#485f78; font-size:11px; font-variant-numeric:tabular-nums; }
.chat-window-preview-example {
  align-self:flex-end; padding:6px 10px; border-radius:9px; border:1px solid rgba(0,0,0,.12);
  background:var(--chat-preview-accent,#3153e7); color:var(--chat-preview-text,#fff);
}
.chat-window-preview-actions { display:flex; flex-wrap:wrap; gap:5px; padding:7px 9px; background:#f5f8fb; max-height:78px; overflow:auto; }
.chat-window-preview-actions span {
  max-width:100%; overflow-wrap:anywhere; padding:4px 8px; border:1px solid #b8cfde; border-radius:7px; background:#fff;
}
.chat-window-preview-compose { flex:none; display:grid; padding:8px; gap:6px; border-block-start:1px solid #e1e8f0; }
.chat-window-preview-placeholder {
  min-height:54px; max-height:68px; overflow:hidden; overflow-wrap:anywhere; padding:5px 7px; border:1px solid #d8e1ed;
  border-radius:8px; color:#516781;
}
.chat-window-preview-toolbar { display:flex; justify-content:flex-end; align-items:center; gap:5px; }
.chat-window-preview-toolbar span { padding:4px 8px; border-radius:7px; background:#e7eff6; color:#30516c; }
.chat-window-preview-summary { margin:8px 0 0; overflow-wrap:anywhere; }
@media(max-width:1150px) {
  .chat-window-action { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .chat-window-action button { justify-self:start; }
}
@media(max-width:920px) {
  .site-support-grid > .chat-window-settings { grid-template-columns:minmax(0,1fr); }
  .chat-window-preview { position:static; }
}
@media(max-width:520px) {
  .chat-window-columns { grid-template-columns:minmax(0,1fr); gap:0; }
  .chat-window-preview { padding:9px; }
  .chat-window-preview-stage { padding:10px 6px; }
}

.chat-window-avatar-field input[type="file"] { min-inline-size:0; max-inline-size:100%; }

.website-theme-field .website-theme-label { display:block; margin-block-end:6px; font-weight:650; }
.website-color-choices { display:grid; grid-template-columns:repeat(auto-fit,minmax(95px,1fr)); gap:6px; }
.website-color-choices label { position:relative; min-width:0; margin:0; }
.website-color-choices input { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.website-color-choices input + span {
  display:flex; align-items:center; gap:6px; box-sizing:border-box; min-height:36px;
  padding:5px 7px; border:1px solid var(--line); border-radius:7px;
  color:var(--text,#0c2946); font-size:12px; white-space:nowrap;
}
.website-color-choices input:checked + span { border-color:#216888; background:#eaf4f8; box-shadow:inset 0 0 0 1px #216888; }
.website-color-choices input:focus-visible + span { outline:2px solid #216888; outline-offset:2px; }
.website-color-choices input:disabled { cursor:default; }
.website-color-swatch { width:14px; height:14px; flex:none; border:1px solid #334c6840; border-radius:50%; }
.website-color-choices input[value="custom"] + span .website-color-swatch {
  background:conic-gradient(#7651b3,#295ccb,#0f766e,#d5a63e,#a53c56,#7651b3);
}
.website-theme-field .website-color-picker { display:flex; align-items:center; gap:8px; margin-block-start:8px; }
.website-theme-field .website-color-picker[hidden] { display:none; }
.website-color-picker input { width:48px; height:36px; padding:3px 5px; cursor:pointer; }
#websiteSupportLocaleRows select,#websiteSupportLocaleRows textarea { min-width:0; }
#websiteSupportLocaleRows textarea { line-height:1.5; }
.website-locale-actions { display:grid; gap:6px; }
@media(max-width:500px) {
  #websiteSupportLocaleRows .website-locale-row { grid-template-columns:minmax(0,1fr) auto; }
  #websiteSupportLocaleRows textarea { grid-column:1 / -1; grid-row:2; }
}
.website-launcher-preview { min-width:0; padding:12px; border:1px solid var(--line); border-radius:12px; }
.website-launcher-preview h4 { margin:0; font-size:14px; }
@media (min-width: 901px) { .website-launcher-preview { position:sticky; top:16px; } }
.website-launcher-preview-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 12px; }
.website-launcher-preview-heading label { display:flex; align-items:center; gap:6px; margin:0; min-width:0; }
.website-launcher-preview-heading label span { white-space:nowrap; }
.website-launcher-preview-heading select { width:auto; min-width:0; max-width:145px; }
.website-launcher-preview-stage {
  display:grid; grid-template-columns:minmax(0,1fr); justify-items:center; align-items:center; min-height:92px; min-width:0;
  margin:8px 0; padding:12px; border:1px solid var(--line); border-radius:10px; background:#edf3f7;
}
.website-launcher-sample {
  position:relative; display:flex; align-items:center; justify-content:center; gap:8px;
  box-sizing:border-box; width:max-content; min-width:min(120px,100%); max-width:min(180px,100%); height:52px;
  padding:0 10px; border:0; border-radius:16px; color:var(--launcher-sample-foreground,#fff);
  background:var(--launcher-sample-background,#0c2946); box-shadow:0 8px 24px rgba(20,35,80,.32);
  font:650 14px/1 Arial,sans-serif; letter-spacing:.02em; white-space:nowrap;
}
.website-launcher-sample[data-variant="brand"] { background:#0b162b; color:#fff; }
.website-launcher-sample[data-variant="logistics"] { background:#123452; color:#fff; box-shadow:0 7px 20px rgba(18,52,82,.30); }
.website-launcher-sample[data-logo="custom"] { background:#fffdfa; color:#0c2946; }
.website-launcher-sample[data-text="custom"] { height:auto; min-height:52px; max-width:min(320px,100%); padding:8px 10px; }
.website-launcher-sample[data-text="icon"] { width:min(54px,100%); min-width:0; padding:0; }
.website-launcher-sample-mark { display:grid; place-items:center; position:relative; width:32px; height:32px; flex:0 0 32px; }
.website-launcher-sample-mark img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; border-radius:7px; }
.website-launcher-sample-label { min-width:0; overflow:hidden; text-overflow:ellipsis; }
.website-launcher-sample[data-text="custom"] .website-launcher-sample-label {
  white-space:pre-wrap; overflow:visible; overflow-wrap:anywhere; text-overflow:clip; line-height:1.2; text-align:start;
}
.website-launcher-sample-glyph { position:relative; box-sizing:border-box; width:21px; height:17px; border:2px solid currentColor; border-radius:5px; }
.website-launcher-sample-glyph::after {
  position:absolute; content:""; width:5px; height:6px; bottom:-5px; left:3px;
  border-left:2px solid currentColor; transform:skewY(-36deg);
}
.website-launcher-sample[data-variant="logistics"] .website-launcher-sample-glyph { width:29px; height:24px; border-radius:8px; }
.website-launcher-sample[data-variant="logistics"] .website-launcher-sample-glyph::before {
  position:absolute; content:""; inset:4px 6px; border:1.5px solid #63e4ca; border-radius:2px;
}
.website-launcher-sample[data-text="icon"] .website-launcher-sample-mark { width:32px; height:26px; border:2px solid currentColor; border-radius:8px; }
.website-launcher-sample[data-text="icon"] .website-launcher-sample-mark::after {
  position:absolute; content:""; left:5px; bottom:-6px; width:6px; height:6px; border-left:2px solid currentColor; transform:skewY(-36deg);
}
.website-launcher-sample[data-text="icon"] .website-launcher-sample-glyph {
  width:3px; height:3px; border:0; border-radius:50%; background:currentColor; box-shadow:-6px 0 currentColor,6px 0 currentColor;
}
.website-launcher-sample[data-text="icon"] .website-launcher-sample-glyph::after,.website-launcher-sample[data-text="icon"] .website-launcher-sample-glyph::before { display:none; }
.website-launcher-sample[data-text="icon"] img { inset:1px 2px; width:24px; height:20px; }
.website-launcher-sample img:not([hidden]) + .website-launcher-sample-glyph { visibility:hidden; }
.website-launcher-sample [hidden] { display:none!important; }

.website-launcher-preview-stage {
  min-height:132px;
  justify-items:end;
  align-items:end;
}
.website-launcher-preview-stage[data-position$="left"] { justify-items:start; }
.website-launcher-preview-stage[data-position^="top-"] { align-items:start; }
.website-launcher-preview-stage[data-position^="middle-"] { align-items:center; }
.website-launcher-sample[data-background="custom"] {
  background:var(--launcher-sample-background);
  color:var(--launcher-sample-foreground);
}
.chat-window-preview-reply { align-self:flex-start; max-inline-size:92%; }
.chat-window-preview-reply-name { display:flex; align-items:center; gap:7px; color:#4e6381; font-weight:600; overflow-wrap:anywhere; }
.chat-window-preview-reply-avatar {
  position:relative; display:inline-grid; place-items:center;
  flex:0 0 24px; width:24px; height:24px; overflow:hidden; border-radius:50%;
  background:#e0ebf8; color:#244965; font:700 11px sans-serif;
}
.chat-window-preview-reply-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.chat-window-preview-reply-bubble {
  margin-top:4px; padding:6px 10px; border-radius:9px; border:1px solid #dce6ef; background:#fff;
}
.chat-window-preview-reply-bubble--ai {
  border-color:rgba(0,0,0,.12); color:#17223a;
  background:linear-gradient(rgba(255,255,255,.88),rgba(255,255,255,.88)), var(--chat-preview-accent,#3153e7);
}
