* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
}

.site-header .scheme05-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 350;
}

.nav a,
.nav button {
  color: inherit;
  text-decoration: none;
  font: inherit;
}

.nav-link,
.nav-trigger {
  height: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.nav-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.72;
}

.nav-link:hover,
.nav-link.is-active,
.nav-trigger.is-active,
.nav-item:hover .nav-trigger,
.nav-item:focus-within .nav-trigger {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  z-index: 90;
  width: min(620px, calc(100vw - 48px));
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(14, 20, 62, 0.98);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.mega-menu::before {
  content: "";
  position: absolute;
  inset: -28px 0 auto;
  height: 28px;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-section {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.mega-section--wide {
  grid-column: 1 / -1;
}

.mega-heading {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 350;
}

.mega-subheading {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 350;
}

.mega-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-link {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 10px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 350;
  text-decoration: none;
}

.mega-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.mega-tag {
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.compact-button {
  min-height: 34px;
  padding: 0 18px;
  font-size: 13px;
}

.platform-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 70px;
  background: #060b29;
  color: #ffffff;
}

.platform-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #060b29 0, rgba(6, 11, 41, 0.98) 80px, rgba(6, 11, 41, 0.04) 320px),
    url("../assets/hero-wave-glow.png") center bottom / cover no-repeat;
}

.platform-hero .scheme05-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.platform-hero .scheme05-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.platform-hero .scheme05-title {
  margin-top: 18px;
  color: #ffffff;
}

.platform-hero .scheme05-lead {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-panel {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.hero-panel__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel__item strong {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 212, 126, 0.18);
  color: #7effc5;
}

.hero-panel__item span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.55;
}

.platform-section {
  padding: var(--scheme05-section-y) 0;
}

.platform-section--soft {
  background: var(--scheme05-bg-soft);
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  color: var(--scheme05-ink);
  font-size: var(--scheme05-h2);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  max-width: 760px;
  color: var(--scheme05-muted);
  font-size: 16px;
  line-height: 1.75;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.platform-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.platform-card {
  display: grid;
  gap: 14px;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-lg);
  background: var(--scheme05-bg-elevated);
  box-shadow: var(--scheme05-shadow-sm);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.platform-card:hover {
  transform: translateY(-2px);
  border-color: var(--scheme05-line-strong);
  box-shadow: var(--scheme05-shadow-md);
}

.platform-card h3 {
  margin: 0;
  color: var(--scheme05-ink);
  font-size: 20px;
  line-height: 1.35;
}

.platform-card p {
  margin: 0;
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.7;
}

.card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
}

.tool-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-lg);
  background: var(--scheme05-bg-elevated);
  box-shadow: var(--scheme05-shadow-sm);
}

.tool-panel h2,
.tool-panel h3 {
  margin: 0;
}

.tool-panel p {
  margin: 0;
  color: var(--scheme05-muted);
  line-height: 1.75;
}

.tool-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.ai-chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.ai-search-titlebar {
  margin-bottom: 18px;
}

.ai-search-titlebar h1 {
  margin: 0;
  color: var(--scheme05-ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.ai-chat-panel,
.ai-result-panel {
  min-height: 640px;
  align-content: start;
}

.ai-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ai-panel-head > div {
  display: grid;
  gap: 6px;
}

.ai-message-list {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 340px;
  max-height: 430px;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-lg);
  background: var(--scheme05-bg-soft);
}

.ai-message {
  display: grid;
  gap: 6px;
  max-width: min(86%, 560px);
  padding: 12px 14px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-md);
  background: #ffffff;
}

.ai-message--user {
  justify-self: end;
  border-color: rgba(0, 173, 103, 0.24);
  background: var(--scheme05-brand-soft);
}

.ai-message__role {
  color: var(--scheme05-brand-strong);
  font-size: 12px;
  font-weight: 800;
}

.ai-message__body {
  color: var(--scheme05-ink);
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.ai-message__meta {
  color: var(--scheme05-muted);
  font-size: 12px;
  line-height: 1.55;
}

.ai-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.ai-chat-input {
  resize: vertical;
}

.ai-suggestion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-suggestion-row button {
  min-height: 34px;
  min-width: 76px;
  padding: 0 14px;
  border: 1px solid rgba(0, 173, 103, 0.28);
  border-radius: var(--scheme05-radius-sm);
  background: rgba(0, 212, 126, 0.1);
  color: #08764c;
  font: 400 13px/1 var(--scheme05-font);
  cursor: pointer;
}

.ai-result-list {
  display: grid;
  gap: 12px;
}

.ai-order-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(0, 173, 103, 0.2);
  border-radius: var(--scheme05-radius-md);
  background:
    linear-gradient(135deg, rgba(232, 251, 242, 0.94), rgba(234, 244, 246, 0.72)),
    #ffffff;
}

.ai-order-prompt strong {
  display: block;
  color: var(--scheme05-ink);
  font-size: 15px;
  line-height: 1.45;
}

.ai-order-prompt p {
  margin: 4px 0 0;
  color: var(--scheme05-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ai-knowledge-titlebar p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--scheme05-muted);
  font-size: 15px;
  line-height: 1.7;
}

.ai-knowledge-message-list {
  min-height: 420px;
  max-height: 520px;
}

.ai-knowledge-side {
  min-height: 420px;
}

.ai-knowledge-context {
  display: grid;
  gap: 12px;
}

.ai-knowledge-source-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(237, 253, 246, 0.7)),
    #ffffff;
}

.ai-knowledge-source-card h3 {
  margin: 0;
  color: var(--scheme05-ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

.ai-knowledge-source-card p {
  margin: 0;
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.7;
}

.ai-knowledge-source-card .meta-list {
  gap: 5px;
  line-height: 1.45;
}

.ai-result-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-md);
  background: #ffffff;
}

.ai-result-card h3 {
  margin: 0;
  color: var(--scheme05-ink);
  font-size: 16px;
  line-height: 1.45;
}

.ai-result-card p {
  margin-top: 4px;
  font-size: 13px;
}

.ai-result-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  color: var(--scheme05-muted);
  font-size: 12px;
  line-height: 1.5;
}

.ai-empty-state {
  padding: 16px;
  border: 1px dashed var(--scheme05-line-strong);
  border-radius: var(--scheme05-radius-md);
  background: var(--scheme05-bg-soft);
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.7;
}

.ai-vision-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: start;
}

.ai-upload-panel,
.ai-vision-result-panel {
  min-height: 560px;
  align-content: start;
}

.ai-file-drop {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 180px;
  padding: 22px;
  border: 1px dashed var(--scheme05-line-strong);
  border-radius: var(--scheme05-radius-lg);
  background: var(--scheme05-bg-soft);
  color: var(--scheme05-muted);
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.ai-file-drop.is-dragover {
  border-color: rgba(0, 173, 103, 0.55);
  background: var(--scheme05-brand-soft);
}

.ai-file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.ai-file-drop span {
  color: var(--scheme05-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.ai-file-drop strong {
  color: var(--scheme05-muted);
  font-size: 13px;
}

.ai-image-preview {
  display: grid;
  min-height: 220px;
  border-radius: var(--scheme05-radius-lg);
  overflow: hidden;
}

.ai-image-frame {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-lg);
  background: #ffffff;
}

.ai-image-frame img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
}

.ai-vision-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ai-vision-box {
  position: absolute;
  min-width: 34px;
  min-height: 34px;
  border: 2px solid rgba(0, 173, 103, 0.92);
  border-radius: 8px;
  background: rgba(0, 173, 103, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.ai-vision-box span {
  position: absolute;
  top: -13px;
  left: -13px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--scheme05-brand);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.ai-vision-result {
  display: grid;
  gap: 14px;
}

.ai-vision-card {
  display: grid;
  gap: 18px;
}

.ai-vision-card h3,
.ai-vision-card h4,
.ai-vision-card h5,
.ai-vision-card p {
  margin: 0;
}

.ai-vision-card h3 {
  color: var(--scheme05-ink);
  font-size: 22px;
  line-height: 1.3;
}

.ai-vision-card h4 {
  color: var(--scheme05-ink);
  font-size: 14px;
  line-height: 1.35;
}

.ai-vision-card h5 {
  color: var(--scheme05-ink);
  font-size: 13px;
  line-height: 1.35;
}

.ai-vision-card p {
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.75;
}

.ai-vision-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 173, 103, 0.18);
  border-radius: var(--scheme05-radius-md);
  background: var(--scheme05-brand-soft);
}

.ai-vision-score span {
  color: var(--scheme05-muted);
  font-size: 13px;
}

.ai-vision-score strong {
  color: var(--scheme05-brand-strong);
  font-size: 24px;
  line-height: 1;
}

.ai-vision-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ai-vision-fields--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ai-vision-fields div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-md);
  background: #ffffff;
}

.ai-vision-fields span,
.ai-muted-text {
  color: var(--scheme05-muted);
  font-size: 12px;
  line-height: 1.45;
}

.ai-vision-fields strong {
  color: var(--scheme05-ink);
  font-size: 14px;
  line-height: 1.45;
}

.ai-vision-item-list {
  display: grid;
  gap: 14px;
}

.ai-vision-item-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-md);
  background: #ffffff;
}

.ai-vision-item-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.ai-vision-item-head > span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--scheme05-brand);
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
}

.ai-vision-item-head h4 {
  font-size: 16px;
}

.ai-vision-actions {
  display: flex;
  justify-content: flex-start;
}

.ai-vision-actions .scheme05-button {
  min-height: 34px;
  padding: 0 18px;
  font-size: 13px;
}

.textarea,
.select,
.file-drop {
  width: 100%;
  min-height: 52px;
  padding: 16px 18px;
  border: 1px solid var(--scheme05-line-strong);
  border-radius: var(--scheme05-radius-lg);
  background: #ffffff;
  color: var(--scheme05-ink);
  font: 500 15px/1.6 var(--scheme05-font);
}

.textarea {
  min-height: 148px;
  resize: vertical;
}

.file-drop {
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--scheme05-muted);
  border-style: dashed;
}

.order-hall-section {
  padding-top: 30px;
  background:
    linear-gradient(180deg, rgba(232, 251, 242, 0.66), rgba(251, 250, 247, 0) 420px),
    var(--scheme05-bg);
}

.order-hall-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.order-hall-titlebar h1 {
  margin: 0;
  color: var(--scheme05-ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.order-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.order-metric-card {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-md);
  background: #ffffff;
  box-shadow: var(--scheme05-shadow-sm);
}

.order-metric-card span,
.order-metric-card em {
  color: var(--scheme05-muted);
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
}

.order-metric-card strong {
  color: var(--scheme05-ink);
  font-size: 30px;
  line-height: 1;
}

.order-hall-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.order-filter-panel {
  position: sticky;
  top: 92px;
}

.order-filter-form {
  display: grid;
  gap: 14px;
}

.order-filter-actions {
  display: grid;
  gap: 10px;
}

.order-board-main {
  display: grid;
  gap: 16px;
}

.order-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-lg);
  background: #ffffff;
  box-shadow: var(--scheme05-shadow-sm);
}

.order-board-head h2,
.order-board-head p {
  margin: 0;
}

.order-board-head h2 {
  color: var(--scheme05-ink);
  font-size: 24px;
}

.order-board-head p {
  margin-top: 6px;
  color: var(--scheme05-muted);
  font-size: 14px;
}

.order-quick-filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.order-quick-filters button {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-sm);
  background: #ffffff;
  color: var(--scheme05-muted);
  font: 400 13px/1 var(--scheme05-font);
  cursor: pointer;
}

.order-quick-filters button.is-active {
  border-color: rgba(0, 173, 103, 0.24);
  background: rgba(0, 173, 103, 0.1);
  color: var(--scheme05-brand-strong);
}

.order-card-flow {
  display: grid;
  gap: 14px;
}

.order-market-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-lg);
  background: #ffffff;
  box-shadow: var(--scheme05-shadow-sm);
}

.order-card-top,
.order-card-foot,
.order-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.order-market-card h3,
.order-market-card p {
  margin: 0;
}

.order-market-card h3 {
  color: var(--scheme05-ink);
  font-size: 22px;
  line-height: 1.32;
}

.order-market-card p {
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.72;
}

.order-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 173, 103, 0.1);
  color: var(--scheme05-brand-strong);
  font-size: 12px;
  font-weight: 900;
}

.order-badge--done {
  background: rgba(22, 90, 255, 0.1);
  color: #165aff;
}

.order-badge--expired {
  background: rgba(224, 88, 45, 0.1);
  color: #b74722;
}

.order-badge--muted {
  background: rgba(45, 52, 66, 0.08);
  color: var(--scheme05-muted);
}

.order-card-meta,
.order-card-contact {
  display: grid;
  gap: 10px;
}

.order-card-meta {
  grid-template-columns: 1fr 150px 1.2fr;
}

.order-card-contact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.order-card-meta div,
.order-card-contact div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--scheme05-line);
  border-radius: 8px;
  background: var(--scheme05-bg-soft);
}

.order-card-meta span,
.order-card-contact span,
.order-card-foot {
  color: var(--scheme05-muted);
  font-size: 12px;
}

.order-card-meta strong,
.order-card-contact strong {
  color: var(--scheme05-ink);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.order-card-actions {
  justify-content: flex-start;
}

.order-card-actions .scheme05-button {
  min-height: 34px;
  padding: 0 18px;
  font-size: 13px;
}

.order-hall-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.order-side-list {
  display: grid;
  gap: 10px;
}

.order-side-list a {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--scheme05-line);
  border-radius: 8px;
  background: var(--scheme05-bg-soft);
  text-decoration: none;
}

.order-side-list strong {
  color: var(--scheme05-ink);
  font-size: 14px;
  line-height: 1.45;
}

.order-side-list span {
  color: var(--scheme05-muted);
  font-size: 12px;
}

.order-hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-hot-tags span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 173, 103, 0.09);
  color: var(--scheme05-brand-strong);
  font-size: 12px;
  font-weight: 800;
}

.field-label {
  display: grid;
  gap: 8px;
  color: var(--scheme05-ink);
  font-size: 14px;
  font-weight: 800;
}

.order-create-section {
  padding-top: 30px;
}

.order-create-titlebar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.order-create-titlebar h1 {
  margin: 0;
  color: var(--scheme05-ink);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.12;
}

.order-create-titlebar p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--scheme05-muted);
  font-size: 15px;
  line-height: 1.7;
}

.order-create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.order-form,
.order-image-panel {
  display: grid;
  gap: 18px;
}

.order-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.order-ai-summary {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-md);
  background: var(--scheme05-bg-soft);
}

.order-ai-summary h3 {
  margin: 0;
  font-size: 16px;
}

.order-ai-summary p {
  margin: 0;
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.order-detail-image {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-md);
  background: #ffffff;
}

.order-detail-section {
  padding-top: 30px;
}

.order-detail-titlebar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.order-detail-titlebar h1 {
  margin: 0;
  color: var(--scheme05-ink);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.16;
}

.order-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.order-detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--scheme05-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--scheme05-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.order-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.order-detail-grid,
.order-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.order-detail-grid div,
.order-contact-grid div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-md);
  background: #ffffff;
}

.order-detail-grid span,
.order-contact-grid span {
  color: var(--scheme05-muted);
  font-size: 12px;
}

.order-detail-grid strong,
.order-contact-grid strong {
  color: var(--scheme05-ink);
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.order-side-panel {
  display: grid;
  gap: 16px;
}

.order-status-note {
  margin: 0;
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.7;
}

.order-status-actions {
  display: grid;
  gap: 10px;
}

.order-status-actions .scheme05-button {
  width: 100%;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.detail-body {
  display: grid;
  gap: 18px;
}

.detail-body p,
.detail-body li {
  color: var(--scheme05-muted);
  line-height: 1.85;
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.6;
}

.standard-workbench {
  background:
    linear-gradient(180deg, rgba(235, 251, 244, 0.58), rgba(255, 255, 255, 0) 340px),
    var(--scheme05-bg);
}

.standard-library-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 22px;
}

.standard-library-head h1 {
  margin: 0;
  color: var(--scheme05-ink);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.standard-library-head p {
  max-width: 1160px;
  margin: 14px 0 0;
  color: var(--scheme05-muted);
  font-size: 16px;
  line-height: 1.8;
}

.standard-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.standard-overview-card {
  min-height: 138px;
  padding: 22px;
  border: 1px solid rgba(12, 190, 108, 0.2);
  border-radius: var(--scheme05-radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 254, 247, 0.72)),
    #ffffff;
  box-shadow: var(--scheme05-shadow-sm);
}

.standard-overview-card strong {
  display: block;
  color: var(--scheme05-ink);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 400;
  line-height: 1;
}

.standard-overview-card span {
  display: block;
  margin-top: 12px;
  color: var(--scheme05-brand-strong);
  font-size: 15px;
  font-weight: 500;
}

.standard-overview-card p {
  margin: 7px 0 0;
  color: var(--scheme05-muted);
  font-size: 13px;
  line-height: 1.55;
}

.standard-category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}

.standard-category-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-sm);
  background: rgba(255, 255, 255, 0.82);
  color: var(--scheme05-ink-2);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.standard-category-chip:hover,
.standard-category-chip.is-active {
  border-color: rgba(12, 190, 108, 0.36);
  background: rgba(12, 190, 108, 0.1);
  color: var(--scheme05-brand-strong);
}

.standard-filter-bar {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(150px, 220px) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-md);
  background: var(--scheme05-bg-elevated);
  box-shadow: var(--scheme05-shadow-sm);
}

.standard-filter-bar label {
  position: relative;
  display: block;
  color: var(--scheme05-muted);
  font-size: 13px;
  line-height: 1.4;
}

.standard-filter-bar label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.standard-filter-bar input,
.standard-filter-bar select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--scheme05-line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--scheme05-ink);
  font: 500 14px/1.4 var(--scheme05-font);
}

.standard-filter-bar .scheme05-button {
  min-height: 46px;
  padding-inline: 22px;
}

.standard-result {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.standard-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--scheme05-muted);
  font-size: 14px;
}

.standard-result-head strong {
  color: var(--scheme05-ink);
  font-size: 16px;
}

.design-library-section {
  background:
    linear-gradient(180deg, rgba(232, 251, 242, 0.46), rgba(251, 250, 247, 0) 360px),
    var(--scheme05-bg);
}

.design-library-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: 24px;
}

.design-library-head h1 {
  margin: 14px 0 0;
  color: var(--scheme05-ink);
  font-size: var(--scheme05-h1);
  line-height: 1.12;
  letter-spacing: 0;
}

.design-library-head p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--scheme05-muted);
  font-size: 16px;
  line-height: 1.75;
}

.design-search {
  padding: 10px;
  border: 1px solid var(--scheme05-line-strong);
  border-radius: var(--scheme05-radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--scheme05-shadow-sm);
}

.design-search label {
  display: grid;
  gap: 8px;
  color: var(--scheme05-muted);
  font-size: 13px;
  line-height: 1.4;
}

.design-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--scheme05-line);
  border-radius: 8px;
  outline: 0;
  background: #ffffff;
  color: var(--scheme05-ink);
  font: 500 15px/1.4 var(--scheme05-font);
}

.design-search input:focus {
  border-color: var(--scheme05-brand);
  box-shadow: 0 0 0 4px rgba(0, 212, 126, 0.12);
}

.design-gallery-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.55;
}

.design-gallery-summary strong {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--scheme05-brand);
  color: #ffffff;
  font-size: 18px;
}

.design-result-head {
  margin-bottom: 18px;
}

.design-masonry {
  column-count: 4;
  column-gap: 18px;
}

.design-pin {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-lg);
  background: var(--scheme05-bg-elevated);
  box-shadow: var(--scheme05-shadow-sm);
  color: inherit;
  text-decoration: none;
  break-inside: avoid;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.design-pin:hover {
  transform: translateY(-2px);
  border-color: var(--scheme05-line-strong);
  box-shadow: var(--scheme05-shadow-md);
}

.design-pin figure {
  margin: 0;
  background: #f8faf8;
}

.design-pin img {
  display: block;
  width: 100%;
  height: auto;
}

.design-pin__body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.design-pin__top {
  display: grid;
  gap: 6px;
}

.design-pin__top h2 {
  margin: 0;
  color: var(--scheme05-ink);
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: 0;
}

.design-pin__top span {
  width: max-content;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--scheme05-gold-soft);
  color: var(--scheme05-gold);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.design-pin p {
  margin: 0;
  color: var(--scheme05-muted);
  font-size: 13px;
  line-height: 1.65;
}

.design-pin .scheme05-chip {
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
}

.design-empty {
  margin-top: 18px;
}

.asset-code {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  background: rgba(22, 90, 255, 0.1);
  color: var(--scheme05-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.pattern-library-section {
  background:
    linear-gradient(180deg, rgba(234, 244, 246, 0.56), rgba(251, 250, 247, 0) 360px),
    var(--scheme05-bg);
}

.pattern-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.pattern-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.pattern-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pattern-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  min-height: 260px;
  padding: 18px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-lg);
  background: var(--scheme05-bg-elevated);
  box-shadow: var(--scheme05-shadow-sm);
}

.pattern-card__preview {
  position: relative;
  min-height: 224px;
  overflow: hidden;
  border: 1px solid var(--scheme05-line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(47, 111, 133, 0.08) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(180deg, rgba(47, 111, 133, 0.08) 1px, transparent 1px) 0 0 / 20px 20px,
    #fbfdfc;
}

.pattern-card__preview::before,
.pattern-card__preview::after {
  content: "";
  position: absolute;
  inset: 34px 32px auto;
  height: 126px;
  border: 2px solid rgba(47, 111, 133, 0.62);
  border-bottom: 0;
  border-radius: 42px 42px 10px 10px;
}

.pattern-card__preview::after {
  inset: auto 38px 34px;
  height: 56px;
  border: 0;
  border-top: 2px dashed rgba(0, 173, 103, 0.56);
  border-radius: 0;
  transform: rotate(-7deg);
}

.pattern-card__preview--image {
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(47, 111, 133, 0.06) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(180deg, rgba(47, 111, 133, 0.06) 1px, transparent 1px) 0 0 / 18px 18px,
    #fff;
}

.pattern-card__preview--image::before,
.pattern-card__preview--image::after {
  display: none;
}

.pattern-card__preview--image img {
  width: 100%;
  height: 100%;
  max-height: 206px;
  object-fit: contain;
  padding: 6px;
  transform: scale(1.68);
  transform-origin: center 62%;
}

.pattern-card__preview span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  min-width: 42px;
  height: 28px;
  padding: 0 8px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(47, 111, 133, 0.14);
  background: rgba(255, 255, 255, 0.88);
  color: var(--scheme05-brand-strong);
  font-size: 12px;
  font-weight: 700;
}

.pattern-card__body {
  display: grid;
  align-content: start;
  gap: 11px;
}

.pattern-card__top,
.pattern-meta-row,
.pattern-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pattern-source {
  width: max-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--scheme05-brand-soft);
  color: var(--scheme05-brand-strong);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.pattern-card h2,
.pattern-card h3,
.pattern-card p {
  margin: 0;
}

.pattern-card h2 {
  color: var(--scheme05-ink);
  font-size: 22px;
  line-height: 1.28;
}

.pattern-card h3 {
  color: var(--scheme05-muted);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.pattern-card p {
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.7;
}

.pattern-meta-row span {
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--scheme05-bg-soft);
  color: var(--scheme05-muted);
  font-size: 12px;
  line-height: 1.35;
}

.pattern-measurements {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px dashed var(--scheme05-line-strong);
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--scheme05-muted);
  font-size: 13px;
  line-height: 1.55;
}

.pattern-measurements strong {
  color: var(--scheme05-blue);
  font-size: 12px;
}

.pattern-preview-credit {
  color: var(--scheme05-muted);
  font-size: 12px;
  line-height: 1.45;
}

.pattern-actions {
  margin-top: 4px;
}

.pattern-actions .scheme05-button {
  height: 34px;
  padding: 0 18px;
  font-size: 13px;
}

.pattern-empty {
  margin-top: 18px;
}

.designer-library-section {
  background:
    linear-gradient(180deg, rgba(234, 244, 246, 0.56), rgba(251, 250, 247, 0) 360px),
    var(--scheme05-bg);
}

.designer-search {
  gap: 12px;
}

.designer-search select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--scheme05-line);
  border-radius: 8px;
  background: var(--scheme05-bg-elevated);
  color: var(--scheme05-ink);
  font: inherit;
}

.designer-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.designer-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.designer-card {
  display: grid;
  gap: 14px;
  min-height: 360px;
  padding: 22px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-lg);
  background: var(--scheme05-bg-elevated);
  box-shadow: var(--scheme05-shadow-sm);
}

.designer-card__head,
.designer-card__top,
.designer-meta,
.designer-stats,
.designer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.designer-card__head {
  gap: 14px;
}

.designer-avatar {
  display: inline-flex;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 111, 133, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 212, 126, 0.16), rgba(22, 90, 255, 0.08)),
    #fff;
  color: var(--scheme05-brand-strong);
  font-size: 20px;
  font-weight: 800;
}

.designer-card__title {
  min-width: 0;
}

.designer-card__top {
  gap: 8px;
  margin-bottom: 8px;
}

.designer-status {
  width: max-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(0, 212, 126, 0.1);
  color: var(--scheme05-brand-strong);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.designer-card h2,
.designer-card h3,
.designer-card p {
  margin: 0;
}

.designer-card h2 {
  color: var(--scheme05-ink);
  font-size: 24px;
  line-height: 1.2;
}

.designer-card h3 {
  margin-top: 4px;
  color: var(--scheme05-muted);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.designer-card p {
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.7;
}

.designer-meta {
  gap: 8px;
}

.designer-meta span {
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--scheme05-bg-soft);
  color: var(--scheme05-muted);
  font-size: 12px;
  line-height: 1.35;
}

.designer-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.designer-stats span {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid var(--scheme05-line);
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--scheme05-muted);
  font-size: 12px;
}

.designer-stats strong {
  color: var(--scheme05-blue);
  font-size: 20px;
  line-height: 1;
}

.designer-work {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px dashed var(--scheme05-line-strong);
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--scheme05-muted);
  font-size: 13px;
  line-height: 1.55;
}

.designer-work strong {
  color: var(--scheme05-blue);
  font-size: 12px;
}

.designer-actions {
  gap: 10px;
  margin-top: 2px;
}

.designer-actions .scheme05-button {
  height: 34px;
  padding: 0 18px;
  font-size: 13px;
}

.designer-empty {
  margin-top: 18px;
}

.standard-card-list {
  display: grid;
  gap: 14px;
}

.standard-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-lg);
  background: var(--scheme05-bg-elevated);
  box-shadow: var(--scheme05-shadow-sm);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.standard-card:hover {
  transform: translateY(-1px);
  border-color: var(--scheme05-line-strong);
  box-shadow: var(--scheme05-shadow-md);
}

.standard-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.standard-code {
  width: max-content;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(22, 90, 255, 0.1);
  color: var(--scheme05-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.standard-badge {
  width: max-content;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(0, 150, 94, 0.1);
  color: #00784b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.standard-badge--future {
  background: rgba(255, 160, 0, 0.16);
  color: #a45c00;
}

.standard-badge--muted {
  background: rgba(100, 116, 139, 0.14);
  color: #64748b;
}

.standard-badge--pdf {
  background: rgba(12, 190, 108, 0.12);
  color: var(--scheme05-brand-strong);
}

.standard-card h2 {
  margin: 0;
  color: var(--scheme05-ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.standard-card p {
  margin: 0;
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.75;
}

.standard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--scheme05-muted);
  font-size: 13px;
}

.standard-meta span {
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--scheme05-bg-soft);
}

.standard-detail-body h2 {
  margin: 8px 0 0;
  color: var(--scheme05-ink);
  font-size: 18px;
  font-weight: 500;
}

.standard-detail-section {
  padding: 42px 0 48px;
  background:
    linear-gradient(180deg, rgba(235, 251, 244, 0.54), rgba(255, 255, 255, 0) 360px),
    var(--scheme05-bg);
}

.standard-reader-shell {
  display: grid;
  gap: 12px;
}

.standard-reader-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.standard-learning-link {
  flex: 0 0 auto;
}

.standard-reader-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: 18px;
  align-items: start;
}

.standard-pdf-pane {
  height: clamp(720px, calc(100vh - 178px), 920px);
  min-height: 720px;
  overflow: hidden;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-md);
  background: #ffffff;
  box-shadow: var(--scheme05-shadow-sm);
}

.standard-pdf-empty {
  min-height: calc(100vh - 132px);
  align-content: center;
}

.standard-assist-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding-right: 2px;
}

.standard-assist-card {
  gap: 14px;
  padding: 18px;
}

.standard-assist-card h1 {
  margin: 0;
  color: var(--scheme05-ink);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0;
}

.standard-assist-card p {
  margin: 0;
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.75;
}

.standard-assist-card > h3,
.standard-assist-block h2 {
  margin: 0;
  color: var(--scheme05-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.standard-assist-block {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--scheme05-line);
}

.standard-assist-block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.75;
}

.standard-assist-block .meta-list {
  gap: 5px;
  line-height: 1.45;
}

.standard-assist-block .card-foot {
  align-self: start;
}

.standard-detail-heading {
  display: grid;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--scheme05-line);
}

.standard-detail-heading h1 {
  margin: 0;
  color: var(--scheme05-ink);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0;
}

.standard-detail-heading p {
  max-width: 780px;
}

.standard-back-link {
  width: max-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--scheme05-line-strong);
  border-radius: var(--scheme05-radius-sm);
  color: var(--scheme05-ink-2);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
}

.standard-back-link:hover {
  background: rgba(22, 90, 255, 0.08);
}

.standard-source-button {
  margin-top: 10px;
}

.standard-inline-link {
  color: var(--scheme05-brand-strong);
  font-weight: 500;
  text-decoration: none;
}

.standard-inline-link:hover {
  text-decoration: underline;
}

.standard-detail-block {
  display: grid;
  gap: 10px;
}

.standard-detail-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.standard-detail-side h3 {
  margin: 0;
  color: var(--scheme05-ink);
  font-size: 17px;
  font-weight: 500;
}

.standard-fulltext-card {
  padding: 18px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.standard-fulltext-card--top {
  border-color: rgba(12, 190, 108, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(237, 253, 246, 0.8));
}

.standard-fulltext-card h3 {
  margin: 0 0 8px;
}

.standard-fulltext-card > span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: var(--scheme05-radius-sm);
  background: rgba(12, 190, 108, 0.1);
  color: var(--scheme05-brand-strong);
  font-size: 12px;
  line-height: 1;
}

.standard-fulltext-card p {
  margin: 0;
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.7;
}

.standard-pdf-viewer {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: #f4f7f5;
}

.standard-pdf-toolbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--scheme05-line);
  background: #ffffff;
}

.standard-pdf-tool,
.standard-pdf-icon {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--scheme05-line-strong);
  border-radius: var(--scheme05-radius-sm);
  background: #ffffff;
  color: var(--scheme05-ink-2);
  font: 400 13px/1 var(--scheme05-font);
  cursor: pointer;
}

.standard-pdf-tool {
  padding: 0 12px;
}

.standard-pdf-tool.is-active {
  border-color: rgba(0, 173, 103, 0.32);
  background: rgba(0, 212, 126, 0.1);
  color: var(--scheme05-brand-strong);
}

.standard-pdf-icon {
  width: 32px;
  font-size: 16px;
}

.standard-pdf-icon:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.standard-pdf-page-tools,
.standard-pdf-zoom-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.standard-pdf-page-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--scheme05-muted);
  font-size: 13px;
}

.standard-pdf-page-field input {
  width: 44px;
  height: 32px;
  padding: 0 6px;
  border: 1px solid var(--scheme05-line-strong);
  border-radius: var(--scheme05-radius-sm);
  background: #ffffff;
  color: var(--scheme05-ink);
  text-align: center;
  font: 400 13px/1 var(--scheme05-font);
}

.standard-pdf-zoom-tools span {
  min-width: 40px;
  color: var(--scheme05-muted);
  font-size: 13px;
  text-align: center;
}

.standard-pdf-workspace {
  min-height: 0;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  background: #dfe5e8;
}

.standard-pdf-viewer.is-thumbs-hidden .standard-pdf-workspace {
  grid-template-columns: 0 minmax(0, 1fr);
}

.standard-pdf-viewer.is-thumbs-hidden .standard-pdf-thumbs {
  width: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.standard-pdf-thumbs {
  min-width: 0;
  overflow: auto;
  padding: 12px 10px;
  border-right: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8faf9;
}

.standard-pdf-thumb {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 8px 6px;
  border: 1px solid transparent;
  border-radius: var(--scheme05-radius-sm);
  background: transparent;
  color: var(--scheme05-muted);
  font: 400 12px/1.3 var(--scheme05-font);
  cursor: pointer;
}

.standard-pdf-thumb canvas {
  max-width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.standard-pdf-thumb.is-active {
  border-color: rgba(0, 173, 103, 0.35);
  background: rgba(0, 212, 126, 0.08);
  color: var(--scheme05-brand-strong);
}

.standard-pdf-document {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: auto;
  padding: 18px;
  background: #e4e8eb;
}

.standard-pdf-document canvas {
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.standard-pdf-message {
  padding: 24px;
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.7;
}

.material-library-section {
  background: var(--scheme05-bg-soft);
}

.material-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.material-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.material-summary-card {
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-lg);
  background: var(--scheme05-bg-elevated);
  box-shadow: var(--scheme05-shadow-sm);
}

.material-summary-card strong {
  color: var(--scheme05-blue);
  font-size: 30px;
  line-height: 1;
}

.material-summary-card span {
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.5;
}

.material-filter-bar {
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 220px) auto;
}

.material-source-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(22, 90, 255, 0.16);
  border-radius: 12px;
  background: rgba(22, 90, 255, 0.06);
  color: var(--scheme05-muted);
  font-size: 14px;
  line-height: 1.65;
}

.material-source-note strong {
  flex: 0 0 auto;
  color: var(--scheme05-blue);
}

.material-result {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.material-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.material-category-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--scheme05-line);
  border-radius: var(--scheme05-radius-lg);
  background: var(--scheme05-bg-elevated);
  box-shadow: var(--scheme05-shadow-sm);
}

.material-category-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.material-category-card h2 {
  margin: 6px 0 0;
  color: var(--scheme05-ink);
  font-size: 22px;
  line-height: 1.28;
}

.material-category-id {
  color: var(--scheme05-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.material-type-pill {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 150, 94, 0.1);
  color: #00784b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.material-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.material-chip {
  padding: 7px 10px;
  border: 1px solid var(--scheme05-line);
  border-radius: 999px;
  background: var(--scheme05-bg-soft);
  color: var(--scheme05-muted);
  font-size: 13px;
  line-height: 1.2;
}

.account-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0, rgba(0, 212, 126, 0.08), transparent 30%),
    linear-gradient(180deg, #f5faf7 0, #eef5f1 100%);
}

.account-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 100px;
}

.account-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  padding: 28px;
  color: #10201c;
  box-shadow: 0 18px 50px rgba(10, 40, 32, 0.08);
}

#auth-panel {
  max-width: 900px;
  margin: 0 auto;
}

.account-panel h1,
.account-panel h2,
.account-panel h3,
.account-panel p {
  margin-top: 0;
}

.account-panel h1 {
  margin-bottom: 8px;
  font-size: 30px;
}

.account-panel h2 {
  margin-bottom: 8px;
  color: var(--scheme05-ink);
  font-size: 25px;
}

.account-panel h3 {
  margin-bottom: 6px;
  color: var(--scheme05-ink);
  font-size: 18px;
}

.account-panel p {
  color: #61706c;
  line-height: 1.7;
}

.account-kicker {
  margin-bottom: 8px;
  color: #27815e;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.account-tabs,
.account-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.account-tabs {
  margin-top: 24px;
}

.account-tabs button,
.account-actions button {
  border: 1px solid #b6cbc3;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  background: #fff;
  color: #1e4d3e;
}

.account-tabs button.active {
  color: #fff;
  background: #176b4e;
  border-color: #176b4e;
}

.account-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.account-form--compact {
  margin-top: 18px;
}

.account-form label,
.account-category-fieldset {
  display: grid;
  gap: 6px;
  color: #304840;
  font-size: 14px;
  font-weight: 650;
}

.account-form input,
.account-form select,
.account-form textarea {
  width: 100%;
  border: 1px solid #c7d6d0;
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  font: inherit;
  box-sizing: border-box;
}

.account-form textarea {
  min-height: 110px;
  resize: vertical;
}

.account-form input:focus,
.account-form select:focus,
.account-form textarea:focus {
  outline: 2px solid rgba(0, 161, 103, 0.22);
  border-color: #44a77d;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.account-submit {
  margin-top: 4px;
}

.account-message {
  margin-top: 16px;
  padding: 11px 13px;
  border-radius: 8px;
  background: #f1f8f4;
  color: #176b4e;
}

.account-message.error {
  background: #fff1f0;
  color: #b42318;
}

.account-message.hidden,
.hidden {
  display: none !important;
}

.account-center {
  display: grid;
  gap: 18px;
}

.account-hero-panel {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(120deg, rgba(7, 57, 46, 0.98), rgba(19, 108, 78, 0.94)),
    url("../assets/hero-wave-glow.png") center / cover;
  color: #fff;
}

.account-hero-panel h1,
.account-hero-panel p,
.account-hero-panel .account-kicker {
  color: #fff;
}

.account-hero-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.account-hero-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  white-space: nowrap;
}

.account-hero-note__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #75e9b5;
  box-shadow: 0 0 0 5px rgba(117, 233, 181, 0.12);
}

.account-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.account-muted {
  color: #778681;
  font-size: 13px;
  line-height: 1.6;
}

.role-status-grid,
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.role-status-card,
.overview-card,
.relation-card,
.application-card,
.media-card {
  border: 1px solid #dbe7e2;
  border-radius: 12px;
  background: #fbfefd;
}

.role-status-card {
  padding: 16px;
}

.role-status-card__head,
.application-card__head,
.relation-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.role-status-card strong,
.overview-card strong,
.application-card strong,
.relation-card strong,
.media-card strong {
  color: #173c31;
}

.role-status-card p {
  min-height: 48px;
  margin: 12px 0 10px;
  font-size: 13px;
}

.account-text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #176b4e;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.account-center-nav {
  display: flex;
  gap: 8px;
  padding: 6px;
  overflow-x: auto;
  border: 1px solid rgba(24, 36, 33, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.account-center-nav button {
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #5b6d66;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
}

.account-center-nav button:hover,
.account-center-nav button.active {
  background: #176b4e;
  color: #fff;
}

.overview-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.overview-card > span {
  color: #6b7a75;
  font-size: 13px;
}

.overview-card strong {
  font-size: 26px;
}

.overview-card p {
  margin: 0;
  font-size: 13px;
}

.account-callout,
.account-lookup-result {
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: 10px;
  background: #f1f8f4;
  color: #176b4e;
  line-height: 1.6;
}

.account-lookup-result.is-warning {
  background: #fff8e6;
  color: #8a5b00;
}

.account-lookup-result strong {
  display: block;
  margin-bottom: 3px;
}

.account-lookup-result p {
  margin: 5px 0 0;
  color: inherit;
  font-size: 13px;
}

.lookup-enterprise {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  color: #173c31;
}

.lookup-enterprise span {
  color: #61706c;
  font-size: 13px;
}

.account-warning {
  color: #8a5b00 !important;
}

.account-subheading {
  margin-top: 18px;
}

.account-subheading p,
.account-intro {
  margin-bottom: 0;
  font-size: 14px;
}

.account-divider {
  height: 1px;
  margin: 26px 0;
  background: #e1ebe6;
}

.relation-list,
.media-list,
#applications {
  display: grid;
  gap: 12px;
}

.relation-card,
.application-card {
  display: grid;
  gap: 9px;
  padding: 16px;
}

.relation-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #61706c;
  font-size: 13px;
}

.application-card > div:not(.application-card__head) {
  color: #61706c;
  font-size: 13px;
  line-height: 1.6;
}

.status {
  display: inline-block;
  width: max-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff4cc;
  color: #8a5b00;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status.approved {
  background: #dcfce7;
  color: #166534;
}

.status.rejected,
.status.suspended {
  background: #fee2e2;
  color: #991b1b;
}

.status.none {
  background: #edf2ef;
  color: #61706c;
}

.account-category-fieldset {
  margin: 0;
  padding: 14px;
  border: 1px solid #c7d6d0;
  border-radius: 8px;
}

.account-category-fieldset legend {
  padding: 0 6px;
  color: #304840;
  font-size: 14px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.category-option {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  padding: 9px 10px;
  border: 1px solid #dbe7e2;
  border-radius: 8px;
  background: #fbfefd;
  cursor: pointer;
  font-weight: 500 !important;
}

.category-option input {
  width: auto;
  margin: 0;
}

.media-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 10px;
}

.media-card img {
  width: 88px;
  height: 66px;
  border-radius: 7px;
  object-fit: cover;
  background: #e8f0ec;
}

.media-card > div {
  display: grid;
  gap: 6px;
}

.media-card .status {
  margin-left: 6px;
}

.media-card p {
  margin: 0;
  color: #61706c;
  font-size: 13px;
}

.empty-state {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 30px 0 12px;
}

.empty-state strong {
  color: #173c31;
  font-size: 20px;
}

.empty-state p {
  margin-bottom: 8px;
}

.account-details {
  display: grid;
  gap: 0;
  max-width: 680px;
  margin: 0 0 24px;
  border-top: 1px solid #e1ebe6;
}

.account-details > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid #e1ebe6;
}

.account-details dt {
  color: #778681;
  font-size: 13px;
}

.account-details dd {
  margin: 0;
  color: #173c31;
}

.account-smoke-fixtures {
  display: none;
}

.order-status {
  width: max-content;
}

.site-footer {
  padding: 36px 0;
  background: #060b29;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.site-footer .scheme05-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 1180px) {
  .design-masonry {
    column-count: 3;
  }
}

@media (max-width: 980px) {
  .account-shell {
    padding-top: 38px;
  }

  .role-status-grid,
  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    position: relative;
  }

  .site-header .scheme05-shell {
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 0;
  }

  .scheme05-nav {
    height: auto;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .mega-menu {
    left: 0;
    transform: translate(0, 8px);
  }

  .nav-item:hover .mega-menu,
  .nav-item:focus-within .mega-menu {
    transform: translate(0, 0);
  }

  .platform-hero .scheme05-shell,
  .detail-layout,
  .order-create-layout,
  .order-hall-layout {
    grid-template-columns: 1fr;
  }

  .platform-grid,
  .platform-grid--two,
  .ai-chat-layout,
  .ai-vision-layout {
    grid-template-columns: 1fr;
  }

  .order-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-filter-panel,
  .order-hall-sidebar {
    position: static;
  }

  .order-detail-titlebar {
    flex-direction: column;
  }

  .order-create-titlebar {
    flex-direction: column;
  }

  .order-detail-actions {
    justify-content: flex-start;
  }

  .order-card-meta,
  .order-card-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standard-library-head,
  .standard-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standard-filter-bar {
    grid-template-columns: 1fr;
  }

  .design-library-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .design-masonry {
    column-count: 2;
  }

  .material-head,
  .material-summary-grid,
  .material-category-grid,
  .pattern-summary-grid,
  .pattern-card-grid,
  .designer-summary-grid,
  .designer-card-grid {
    grid-template-columns: 1fr;
  }

  .ai-chat-panel,
  .ai-result-panel,
  .ai-upload-panel,
  .ai-vision-result-panel {
    min-height: 0;
  }

  .ai-result-meta {
    grid-template-columns: 1fr;
  }

  .ai-vision-fields {
    grid-template-columns: 1fr;
  }

  .ai-vision-fields--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pattern-card {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .standard-result-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .standard-reader-layout {
    grid-template-columns: 1fr;
  }

  .standard-pdf-pane,
  .standard-pdf-empty {
    height: 70vh;
    min-height: 70vh;
  }

  .standard-assist-panel {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .standard-pdf-toolbar {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .standard-pdf-workspace {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .standard-detail-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .account-shell {
    width: min(100% - 24px, 560px);
    padding-top: 24px;
    padding-bottom: 56px;
  }

  .account-panel {
    padding: 20px;
    border-radius: 14px;
  }

  .account-hero-panel,
  .account-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-hero-note {
    white-space: normal;
  }

  .role-status-grid,
  .overview-grid,
  .account-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .role-status-card p {
    min-height: 0;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .scheme05-button {
    width: auto;
  }

  .standard-library-head,
  .standard-overview-grid {
    grid-template-columns: 1fr;
  }

  .standard-library-head {
    align-items: start;
  }

  .platform-hero {
    padding: 58px 0;
  }

  .hero-actions,
  .tool-row,
  .ai-chat-form,
  .ai-order-prompt {
    grid-template-columns: 1fr;
  }

  .ai-order-prompt {
    align-items: stretch;
    flex-direction: column;
  }

  .order-metrics,
  .order-card-meta,
  .order-card-contact,
  .order-detail-grid,
  .order-contact-grid {
    grid-template-columns: 1fr;
  }

  .order-board-head {
    align-items: stretch;
    flex-direction: column;
  }

  .order-detail-actions,
  .order-create-titlebar .scheme05-button,
  .order-detail-actions .scheme05-button {
    width: 100%;
  }

  .hero-actions .scheme05-button,
  .tool-row .scheme05-button,
  .ai-chat-form .scheme05-button {
    width: 100%;
  }

  .ai-message {
    max-width: 100%;
  }

  .ai-vision-fields--compact {
    grid-template-columns: 1fr;
  }

  .pattern-card {
    grid-template-columns: 1fr;
  }

  .pattern-card__preview {
    min-height: 168px;
  }

  .pattern-actions .scheme05-button {
    width: 100%;
  }

  .designer-card {
    padding: 18px;
  }

  .designer-card__head {
    align-items: flex-start;
  }

  .designer-stats {
    grid-template-columns: 1fr;
  }

  .designer-actions .scheme05-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .design-masonry {
    column-count: 1;
  }
}
