.website-content-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 0;
}

.website-content-statusbar {
  min-height: 50px;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ui-line);
  border-radius: 8px;
  background: var(--ui-panel);
}

.website-content-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ui-accent);
  box-shadow: 0 0 0 3px var(--ui-accent-soft);
}

.website-content-statusbar > div { min-width: 0; display: grid; gap: 2px; }
.website-content-statusbar strong { color: var(--ui-title); font-size: 12px; }
.website-content-statusbar small { overflow: hidden; color: var(--ui-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.website-content-statusbar em {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ui-accent-soft);
  color: var(--ui-accent);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.website-content-statusbar.is-warning .website-content-status-indicator { background: #c9852d; box-shadow: 0 0 0 3px #fff1db; }
.website-content-statusbar.is-warning em { background: #fff1db; color: #9a621d; }

.website-content-tabs { align-self: flex-start; }

.website-content-card {
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-page-radius);
  background: var(--ui-panel);
}

.website-content-card > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.website-content-card > header > div {
  display: grid;
  gap: 3px;
}

.website-content-card > header strong { color: var(--ui-title); font-size: 14px; }
.website-content-card > header small { color: var(--ui-muted); font-size: 11px; line-height: 1.5; }
.website-content-card > .grid-shell { flex: 1; min-height: 0; }

.website-content-current-summary { display: flex; align-items: center; gap: 6px; }
.website-content-current-summary span {
  padding: 4px 8px;
  border: 1px solid var(--ui-line);
  border-radius: 999px;
  background: #f8faf9;
  color: var(--ui-muted);
  font-size: 10px;
  white-space: nowrap;
}

.website-content-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #b7d8d2;
  border-radius: 8px;
  background: var(--ui-accent-soft);
  color: #245f57;
}

.website-content-notice span { flex: 1; font-size: 12px; }
.website-content-notice.error { border-color: #efc0c0; background: #fff2f2; color: #9a3e3e; }
.website-inquiry-detail-message {
  max-height: 42vh;
  overflow: auto;
  padding: 10px 12px;
  border: 1px solid var(--ui-line);
  border-radius: 8px;
  background: #f8faf9;
  color: var(--ui-title);
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

[data-action="website.articleCreate"] textarea,
[data-action="website.articleUpdate"] textarea {
  min-height: 88px;
  resize: vertical;
}

[data-action="website.articleCreate"] [data-field-name$="Body"] textarea,
[data-action="website.articleUpdate"] [data-field-name$="Body"] textarea {
  min-height: 180px;
}

@media (max-width: 900px) {
  .website-content-statusbar small { white-space: normal; }
  .website-content-card > header { align-items: stretch; flex-direction: column; gap: 8px; }
  .website-content-current-summary { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .website-content-page * { scroll-behavior: auto !important; }
}
