:root {
  color-scheme: dark;
  --bg: #080a10;
  --bg-2: #0d1019;
  --panel: rgba(20, 20, 28, 0.88);
  --panel-solid: #15151d;
  --panel-soft: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f3f8;
  --text-2: #c8c5d2;
  --muted: #898795;
  --muted-2: #5e5e6b;
  --purple: #8968ff;
  --purple-2: #b09bff;
  --blue: #4e8cff;
  --cyan: #1fc5e8;
  --green: #4bd487;
  --yellow: #f0bd3e;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}
button, input, select, textarea { font: inherit; }
button, a { color: inherit; }
button { cursor: pointer; }
a { text-decoration: none; }

.agent-app {
  min-width: 0;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 13% 15%, rgba(95, 62, 195, 0.17), transparent 23rem),
    radial-gradient(circle at 87% 35%, rgba(20, 167, 197, 0.12), transparent 27rem),
    linear-gradient(180deg, #090a10 0%, #0a0b12 58%, #0b0c13 100%);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 58px;
  padding: 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 8, 13, 0.92);
  backdrop-filter: blur(18px);
}
.site-brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(187, 163, 255, 0.65);
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(140deg, #6754ee, #2cc4e8);
  box-shadow: 0 7px 24px rgba(93, 79, 238, 0.32);
  font-size: 19px;
  font-weight: 900;
}
.brand-copy { display: grid; gap: 3px; line-height: 1; }
.brand-copy strong { font-size: 16px; letter-spacing: 0.06em; }
.brand-copy small { color: var(--muted); font-size: 9px; letter-spacing: 0.12em; }
.site-links { display: flex; align-items: center; gap: 2px; min-width: 0; }
.site-links a {
  position: relative;
  padding: 20px 13px 18px;
  color: #b2afbc;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.site-links a::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 10px;
  left: 13px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), #2ac887);
  opacity: 0;
  transform: scaleX(0.35);
  transition: 0.2s ease;
}
.site-links a:hover, .site-links a.is-active { color: #fff; }
.site-links a:hover::after, .site-links a.is-active::after { opacity: 1; transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-login {
  min-height: 36px;
  padding: 0 17px;
  border: 1px solid rgba(147, 175, 200, 0.35);
  border-radius: 99px;
  color: #e6e7ed;
  background: rgba(57, 71, 86, 0.28);
  font-size: 12px;
  font-weight: 800;
}
.nav-login:hover { border-color: var(--cyan); background: rgba(34, 188, 220, 0.12); }
.account-menu { position: relative; z-index: 60; display: inline-flex; }
.account-popover { position: absolute; top: calc(100% + 9px); right: 0; display: grid; min-width: 172px; padding: 7px; border: 1px solid rgba(145,170,195,.32); border-radius: 12px; background: #151a22; box-shadow: 0 18px 42px rgba(0,0,0,.32); }
.account-popover[hidden] { display: none; }
.account-popover a, .account-popover button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 7px; color: #dfe7ee; background: transparent; font-size: 11px; text-align: left; text-decoration: none; }
.account-popover a:hover, .account-popover button:hover { color: #fff; background: #24313e; }
.account-summary { display: grid; gap: 4px; padding: 9px 12px 11px; margin: 0 0 4px; border-bottom: 1px solid rgba(145,170,195,.2); }
.account-summary strong { color: #fff; font-size: 12px; }
.account-summary span { color: #9fb0c0; font-size: 10px; }
.account-summary b { color: var(--cyan); font-weight: 800; }
.nav-menu { display: none; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 9px; color: #fff; background: var(--panel-soft); }

main { width: 100%; }
.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.85fr);
  gap: 42px;
  width: min(1210px, calc(100% - 48px));
  min-height: 300px;
  margin: 13px auto 22px;
  padding: 38px 34px 30px;
  overflow: hidden;
  border: 1px solid rgba(173, 173, 199, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(69, 50, 116, 0.24), rgba(20, 57, 65, 0.22)),
    rgba(32, 31, 39, 0.76);
  box-shadow: var(--shadow);
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image: linear-gradient(rgba(145, 112, 224, 0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(145, 112, 224, 0.18) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, #000, transparent 84%);
}
.hero-copy, .hero-side { position: relative; z-index: 1; min-width: 0; }
.hero-kicker { display: flex; align-items: center; gap: 8px; color: var(--purple-2); font-size: 9px; font-weight: 850; letter-spacing: 0.16em; }
.kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(75, 212, 135, 0.1); }
.hero-copy h1 { margin: 16px 0 12px; font-size: clamp(29px, 3vw, 39px); line-height: 1.15; letter-spacing: -0.03em; }
.hero-copy > p { max-width: 700px; margin: 0; color: #b6b3bf; font-size: 13px; line-height: 1.85; }
.hero-tools { display: flex; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.theme-bar { display: flex; align-items: center; gap: 11px; padding: 7px 10px; border: 1px solid rgba(145, 104, 255, 0.32); border-radius: 12px; background: rgba(12, 11, 25, 0.5); }
.theme-bar > span { color: #d2ccdf; font-size: 10px; font-weight: 800; }
.theme-switch { display: flex; gap: 4px; padding: 3px; border-radius: 9px; background: rgba(0, 0, 0, 0.25); }
.theme-switch button { padding: 7px 15px; border: 0; border-radius: 8px; color: #a7a3b3; background: transparent; font-size: 10px; font-weight: 800; }
.theme-switch button.is-active { color: #fff; background: linear-gradient(110deg, #755bff, #25bfe5); box-shadow: 0 7px 18px rgba(79, 112, 255, 0.28); }
.copy-link-button { display: flex; align-items: center; gap: 8px; min-height: 43px; padding: 6px 10px; border: 1px solid rgba(34, 201, 231, 0.28); border-radius: 11px; color: #b9f4ff; background: rgba(22, 107, 127, 0.12); text-align: left; }
.copy-link-button > span { color: var(--cyan); font-size: 17px; }
.copy-link-button b { font-size: 10px; }
.copy-link-button small { color: #7997a6; font-size: 9px; }
.copy-link-button strong { margin-left: 5px; padding-left: 10px; border-left: 1px solid rgba(145, 202, 218, 0.22); color: #fff; font-size: 10px; }
.copy-link-button:hover { border-color: var(--cyan); background: rgba(34, 201, 231, 0.2); }
.hero-side { display: grid; align-content: center; gap: 10px; }
.invite-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid rgba(116, 93, 242, 0.62); border-radius: 18px; color: #e8e5f0; background: linear-gradient(120deg, rgba(65, 45, 137, 0.46), rgba(19, 91, 107, 0.39)); text-align: left; }
.invite-card:hover { border-color: #36c9e5; filter: brightness(1.08); }
.invite-copy { display: grid; gap: 5px; min-width: 0; }
.invite-copy b { color: #f5f1ff; font-size: 12px; }
.invite-copy em { color: #c5c4d3; font-size: 10px; font-style: normal; line-height: 1.55; }
.invite-copy strong { color: var(--yellow); }
.invite-action { display: grid; gap: 7px; min-width: 120px; padding-left: 15px; border-left: 1px solid rgba(197, 209, 220, 0.2); text-align: center; }
.invite-action small { color: #abb4bc; font-size: 9px; white-space: nowrap; }
.invite-action strong { color: #fff; font-size: 11px; }

.workspace { display: grid; grid-template-columns: 322px minmax(0, 1fr); gap: 24px; width: min(1210px, calc(100% - 48px)); margin: 0 auto 40px; align-items: start; min-width: 0; }
.agent-sidebar { min-width: 0; padding: 20px 13px 17px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 25px; background: rgba(14, 14, 20, 0.89); box-shadow: var(--shadow); }
.sidebar-mobile-head { display: none; }
.nav-group + .nav-group { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); }
.group-head { display: grid; gap: 5px; padding: 0 5px 11px; }
.group-head > span { width: max-content; padding: 5px 9px; border: 1px solid rgba(138, 104, 255, 0.35); border-radius: 99px; color: #c0b2ff; background: rgba(111, 83, 230, 0.14); font-size: 9px; font-weight: 850; }
.group-head strong { font-size: 15px; }
.group-head em { color: var(--muted); font-size: 10px; line-height: 1.55; font-style: normal; }
.agent-tab { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 10px; width: 100%; min-height: 53px; margin-top: 7px; padding: 8px 10px; border: 1px solid rgba(255, 255, 255, 0.075); border-radius: 15px; color: #afadb9; background: rgba(255, 255, 255, 0.025); text-align: left; transition: 0.18s ease; }
.agent-tab:hover { border-color: rgba(129, 105, 243, 0.58); color: #f5f3fb; background: rgba(101, 77, 199, 0.12); transform: translateX(2px); }
.agent-tab.is-active { border-color: rgba(88, 109, 255, 0.72); color: #fff; background: linear-gradient(110deg, rgba(93, 79, 208, 0.36), rgba(20, 128, 148, 0.2)); box-shadow: 0 12px 24px rgba(20, 71, 117, 0.14); }
.agent-tab strong { font-size: 11px; line-height: 1.38; }
.agent-number { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #888594; background: rgba(255, 255, 255, 0.045); font-size: 11px; font-weight: 850; }
.agent-tab.is-active .agent-number { color: #fff; background: linear-gradient(135deg, var(--purple), var(--cyan)); }
.agent-main { min-width: 0; }
.mobile-sidebar-trigger { display: none; }
.current-agent-card { padding: 22px 23px 21px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 25px; background: rgba(15, 15, 21, 0.89); }
.current-agent-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.current-copy { min-width: 0; }
.agent-badge { display: inline-flex; padding: 8px 12px; border: 1px solid rgba(138, 104, 255, 0.42); border-radius: 99px; color: #bbaaff; background: rgba(121, 87, 231, 0.12); font-size: 10px; font-weight: 800; }
.agent-title-row { display: flex; align-items: center; gap: 12px; margin-top: 13px; flex-wrap: wrap; }
.agent-title-row h2 { margin: 0; font-size: 25px; letter-spacing: -0.03em; }
.agent-title-row a { padding: 8px 11px; border-radius: 9px; color: #ffe65e; background: linear-gradient(135deg, #13b9d8, #0f9fc5); font-size: 10px; font-weight: 850; }
.agent-title-row a:hover { filter: brightness(1.12); }
.current-copy p { max-width: 710px; margin: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.cost-card { display: grid; justify-items: center; gap: 8px; min-width: 163px; padding: 16px 14px; border: 1px solid rgba(137, 95, 244, 0.42); border-radius: 17px; background: rgba(71, 42, 126, 0.2); text-align: center; }
.cost-card small { color: #8f8ba4; font-size: 10px; }
.cost-card strong { color: #c2b1ff; font-size: 11px; }
.cost-card button { min-height: 32px; padding: 0 16px; border: 0; border-radius: 99px; color: #161323; background: linear-gradient(100deg, #7763ff, #19c1e4); font-size: 10px; font-weight: 900; }
.record-tip { margin: 14px 0; padding: 13px 15px; border: 1px solid rgba(119, 93, 211, 0.27); border-radius: 14px; color: #898794; background: rgba(54, 36, 109, 0.18); font-size: 11px; }
.record-tip strong { color: #e8e4f6; }
.record-tip a { color: #a18aff; font-weight: 800; }

.video-card { padding: 20px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 25px; background: rgba(22, 22, 29, 0.91); box-shadow: var(--shadow); }
.video-card-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; }
.model-logo { display: inline-grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: #fff; background: #2a2a34; font-size: 15px; }
.video-card-head h3 em { padding: 5px 9px; border: 1px solid rgba(20, 196, 222, 0.35); border-radius: 99px; color: #75e7f2; background: rgba(17, 139, 158, 0.12); font-size: 9px; font-style: normal; font-weight: 700; }
.video-card-head p { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.module-invite { margin-top: 13px; padding: 11px 13px; border: 1px solid rgba(99, 116, 245, 0.58); border-radius: 13px; color: #c8c9dc; background: linear-gradient(100deg, rgba(63, 45, 131, 0.32), rgba(16, 110, 129, 0.23)); font-size: 10px; line-height: 1.55; }
.module-invite b { color: #f2efff; }
.video-fields { display: grid; gap: 10px; margin-top: 15px; }
.primary-fields { grid-template-columns: 1fr 1.35fr 1fr 1.45fr; }
.secondary-fields { grid-template-columns: 1fr 1.45fr 1.85fr; }
.video-fields label { display: grid; gap: 7px; min-width: 0; color: #cfccd9; font-size: 10px; font-weight: 800; }
.video-fields select, .video-fields input[type="range"] { width: 100%; }
.video-fields select { height: 43px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 11px; outline: 0; color: #ebeaf1; background: #191922; font-size: 11px; }
.video-fields select:focus { border-color: var(--purple); }
.duration-field { align-content: start; }
.duration-field input[type="range"] { accent-color: #875cff; margin-top: 13px; }
.resolution-tip { align-self: end; min-height: 43px; padding: 12px; border: 1px solid rgba(90, 114, 229, 0.45); border-radius: 11px; color: #a9b1d7; background: rgba(44, 68, 137, 0.18); font-size: 10px; line-height: 1.5; }
.resolution-tip strong { color: #c9baff; }
.reference-box { margin-top: 15px; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 21px; background: rgba(12, 12, 18, 0.45); }
.reference-drop { display: grid; justify-items: center; gap: 7px; width: 100%; min-height: 177px; padding: 20px; border: 1px dashed rgba(160, 150, 211, 0.18); border-radius: 18px; color: #aca7bb; background: rgba(255, 255, 255, 0.015); text-align: center; }
.reference-drop:hover { border-color: var(--purple); background: rgba(117, 87, 217, 0.09); }
.plus-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #aa98ff; background: rgba(117, 87, 217, 0.13); font-size: 32px; line-height: 1; }
.reference-drop b { color: #bdadff; font-size: 12px; }
.reference-drop small { font-size: 10px; }
.reference-drop em { max-width: 620px; color: var(--muted-2); font-size: 10px; line-height: 1.55; font-style: normal; }
.reference-list { padding: 8px 2px 0; color: var(--muted); font-size: 10px; }
.file-chip { display: inline-flex; align-items: center; gap: 7px; margin: 4px 5px 0 0; padding: 7px 9px; border: 1px solid rgba(113, 95, 198, 0.35); border-radius: 8px; color: #e7e3f5; background: rgba(91, 68, 174, 0.16); }
.file-chip button { border: 0; color: #a8a2b5; background: transparent; }
.prompt-action-row { display: grid; grid-template-columns: minmax(0, 1fr) 164px; gap: 11px; margin-top: 14px; }
.prompt-action-row textarea { width: 100%; min-height: 185px; padding: 15px; resize: vertical; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 17px; outline: 0; color: #f1eff8; background: #16161e; font-size: 12px; line-height: 1.75; }
.prompt-action-row textarea::placeholder { color: #777582; }
.prompt-action-row textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(137, 104, 255, 0.1); }
.step-buttons { display: grid; gap: 10px; align-content: stretch; }
.step-buttons button { min-height: 79px; padding: 12px; border-radius: 17px; font-size: 11px; font-weight: 900; }
.step-one { border: 0; color: #151323; background: linear-gradient(135deg, #7960ff, #1ac7e7); box-shadow: 0 12px 25px rgba(82, 102, 245, 0.25); }
.step-one:hover { filter: brightness(1.1); transform: translateY(-1px); }
.step-one.is-loading { color: #dbe7ff; background: linear-gradient(90deg, #4e54ae, #327fbc, #4e54ae); background-size: 200% 100%; animation: loading 1.1s linear infinite; }
.step-two { border: 1px solid rgba(255, 255, 255, 0.1); color: #d4d0dd; background: #171720; }
.step-two:not(:disabled):hover { border-color: var(--cyan); color: #aef4fb; }
.step-two:disabled { cursor: not-allowed; opacity: 0.55; }
@keyframes loading { to { background-position: 200% 0; } }
.summary-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 13px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 13px; color: #74727e; background: rgba(255, 255, 255, 0.03); font-size: 10px; }
.summary-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.summary-bar > div { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.summary-bar button { padding: 6px 9px; border: 1px solid rgba(141, 111, 255, 0.4); border-radius: 99px; color: #c6b7ff; background: rgba(112, 78, 225, 0.12); font-size: 10px; }
.summary-bar button:hover { background: rgba(112, 78, 225, 0.24); }
.summary-bar small { color: #d5d0e1; font-size: 10px; font-weight: 800; white-space: nowrap; }
.tool-placeholder { padding: 32px 20px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 25px; background: rgba(22, 22, 29, 0.91); text-align: center; }
.tool-placeholder h3 { margin: 8px 0; font-size: 22px; }
.tool-placeholder p { max-width: 620px; margin: 0 auto 20px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.placeholder-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 17px; color: #d8ccff; background: linear-gradient(135deg, rgba(137, 104, 255, 0.28), rgba(31, 197, 232, 0.2)); font-size: 24px; }
.placeholder-input { width: min(680px, 100%); min-height: 112px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; outline: 0; color: #fff; background: #15151d; resize: vertical; font-size: 12px; }
.placeholder-submit { display: block; min-height: 39px; margin: 14px auto 0; padding: 0 21px; border: 0; border-radius: 10px; color: #161323; background: linear-gradient(120deg, #8165ff, #20c2df); font-size: 11px; font-weight: 850; }
.modelhub-panel { text-align: left; }
.modelhub-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.modelhub-head h3 { margin: 10px 0 7px; font-size: 24px; }
.modelhub-head p { max-width: 680px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.modelhub-kicker { display: block; margin-top: 13px; color: var(--purple-2); font-size: 9px; font-weight: 850; letter-spacing: .15em; }
.modelhub-status { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 9px 11px; border: 1px solid rgba(137,104,255,.28); border-radius: 99px; color: #b9addd; background: rgba(137,104,255,.08); font-size: 10px; white-space: nowrap; }
.modelhub-status i { width: 7px; height: 7px; border-radius: 50%; background: #f0b34b; box-shadow: 0 0 0 4px rgba(240,179,75,.12); }
.modelhub-status i.is-online { background: #41dda3; box-shadow: 0 0 0 4px rgba(65,221,163,.12); }
.modelhub-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 23px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.modelhub-toolbar label { display: grid; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 800; }
.modelhub-toolbar select { min-width: 210px; height: 38px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; outline: 0; color: var(--text); background: var(--panel-soft); font-size: 11px; }
.modelhub-clear { height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: transparent; font-size: 10px; }
.modelhub-clear:hover { color: var(--text); border-color: var(--line-strong); }
.modelhub-messages { display: grid; gap: 12px; min-height: 240px; max-height: 420px; margin-top: 15px; padding: 15px; overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.1); }
.modelhub-empty { display: grid; place-items: center; align-content: center; gap: 8px; min-height: 205px; color: var(--muted); text-align: center; }
.modelhub-empty strong { color: var(--text-2); font-size: 15px; }
.modelhub-empty span { font-size: 10px; }
.modelhub-message { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; align-items: start; }
.modelhub-message > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #d9d0ff; background: rgba(125,94,255,.2); font-size: 10px; font-weight: 850; }
.modelhub-message.user > span { color: #a8eff5; background: rgba(35,188,205,.16); }
.modelhub-message > div { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--text-2); background: var(--panel-soft); font-size: 11px; line-height: 1.7; }
.modelhub-message.user > div { color: var(--text); background: rgba(104,88,205,.11); }
.modelhub-composer { display: grid; gap: 10px; margin-top: 14px; }
.modelhub-composer textarea { width: 100%; min-height: 94px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; outline: 0; color: var(--text); background: var(--panel-soft); resize: vertical; font-size: 11px; line-height: 1.6; }
.modelhub-composer textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(137,104,255,.12); }
.modelhub-composer > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modelhub-hint { color: var(--muted-2); font-size: 9px; }
.modelhub-send { min-height: 40px; padding: 0 17px; border: 0; border-radius: 10px; color: #151324; background: linear-gradient(120deg,#8167ff,#1dc4e4); font-size: 10px; font-weight: 900; }
.modelhub-send:disabled { cursor: wait; opacity: .6; }
.model-section-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; color: var(--text-2); font-size: 11px; }
.model-section-label span { color: var(--muted-2); font-size: 9px; font-weight: 500; }
.model-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 9px; margin-top: 10px; }
.model-card { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 13px; color: var(--text-2); background: var(--panel-soft); text-align: left; transition: .18s ease; }
.model-card:hover { border-color: rgba(137,104,255,.58); background: rgba(112,78,225,.1); transform: translateY(-1px); }
.model-card.is-selected { border-color: rgba(43,199,225,.7); background: linear-gradient(120deg, rgba(109,79,213,.2), rgba(24,156,170,.15)); box-shadow: 0 9px 20px rgba(0,0,0,.12); }
.model-card-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; color: #fff; background: linear-gradient(135deg,#6d5ced,#1caecb); font-size: 12px; font-weight: 900; }
.model-card-copy { display: grid; gap: 4px; min-width: 0; }
.model-card-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-size: 10px; }
.model-card-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 8px; }
.model-state { align-self: start; padding: 4px 6px; border: 1px solid rgba(240,189,62,.24); border-radius: 99px; color: #d9b65f; background: rgba(240,189,62,.08); font-size: 8px; white-space: nowrap; }
.model-state.is-ready { border-color: rgba(75,212,135,.3); color: #73e1a5; background: rgba(75,212,135,.1); }
.creation-panel, .workflow-panel { text-align: left; }
.creation-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 17px; }
.creation-head h3 { margin: 10px 0 7px; font-size: 24px; }
.creation-head p { max-width: 690px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.config-note { flex: 0 0 auto; padding: 9px 11px; border: 1px solid rgba(240,189,62,.25); border-radius: 99px; color: #d4b766; background: rgba(240,189,62,.08); font-size: 9px; white-space: nowrap; }
.creation-form { display: grid; gap: 13px; margin-top: 18px; }
.creation-fields, .workflow-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.audio-fields { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.creation-fields label, .workflow-options label { display: grid; gap: 7px; min-width: 0; color: #cfccd9; font-size: 10px; font-weight: 800; }
.creation-fields select, .workflow-options select { width: 100%; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--text); background: #191922; font-size: 10px; }
.creation-fields select:focus, .workflow-options select:focus { border-color: var(--purple); }
.asset-picker { padding: 11px; border: 1px solid var(--line); border-radius: 17px; background: rgba(12,12,18,.4); }
.asset-trigger { display: grid; justify-items: center; gap: 6px; width: 100%; min-height: 106px; padding: 14px; border: 1px dashed rgba(160,150,211,.2); border-radius: 13px; color: var(--muted); background: rgba(255,255,255,.015); text-align: center; }
.asset-trigger:hover { border-color: var(--purple); background: rgba(117,87,217,.09); }
.asset-trigger .plus-icon { width: 33px; height: 33px; font-size: 25px; }
.asset-trigger b { color: #bdadff; font-size: 11px; }
.asset-trigger small { font-size: 9px; }
.asset-list { padding: 7px 2px 0; color: var(--muted); font-size: 9px; }
.asset-empty { color: var(--muted-2); }
.file-chip small { margin-left: 1px; color: var(--muted); font-size: 8px; }
.creation-prompt { width: 100%; min-height: 140px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; outline: 0; color: var(--text); background: var(--panel-soft); resize: vertical; font-size: 11px; line-height: 1.7; }
.creation-prompt:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(137,104,255,.1); }
.creation-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.creation-actions > span { color: var(--muted-2); font-size: 9px; }
.creation-submit { min-height: 42px; padding: 0 17px; border: 0; border-radius: 10px; color: #151324; background: linear-gradient(120deg,#8167ff,#1dc4e4); font-size: 10px; font-weight: 900; }
.creation-submit:hover { filter: brightness(1.1); }
.creation-submit:disabled { cursor: wait; opacity: .65; }
.task-result { margin-top: 15px; padding: 13px; border: 1px solid rgba(75,212,135,.25); border-radius: 14px; color: var(--text-2); background: rgba(46,123,91,.08); font-size: 10px; line-height: 1.7; }
.task-result[hidden] { display: none; }
.task-result-head { display: flex; justify-content: space-between; gap: 10px; color: #b9f4d0; }
.task-result-head span { color: var(--muted); font-size: 9px; }
.task-result p { margin: 8px 0 0; }
.task-assets { display: grid; grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); gap: 8px; margin-top: 10px; }
.task-assets img, .task-assets video { width: 100%; max-height: 240px; border-radius: 9px; object-fit: cover; background: #08090d; }
.task-assets audio { width: 100%; }
.task-pending { color: #d9c991; }
.task-error { color: #ffb9bd; }
.task-error strong { color: #ffd0d2; }
.workflow-steps { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.workflow-steps span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: var(--panel-soft); font-size: 9px; }
.workflow-steps span.is-current { border-color: rgba(137,104,255,.5); color: #d5caff; background: rgba(137,104,255,.11); }
.workflow-profile-panel { padding: 22px; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; background: linear-gradient(145deg, rgba(26,25,38,.96), rgba(15,19,29,.94)); box-shadow: 0 18px 45px rgba(0,0,0,.14); }
.workflow-profile-panel .creation-head { padding-bottom: 17px; border-bottom: 1px solid rgba(255,255,255,.08); }
.workflow-profile-panel .placeholder-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(137,104,255,.35); border-radius: 12px; color: #d9ceff; background: linear-gradient(135deg, rgba(129,103,255,.27), rgba(29,196,228,.15)); font-weight: 900; }
.workflow-profile-panel .workflow-steps { gap: 9px; margin: 17px 0 0; }
.workflow-profile-panel .workflow-steps span { display: inline-flex; align-items: center; gap: 6px; min-height: 31px; border-radius: 9px; font-size: 9px; }
.workflow-profile-panel .workflow-steps span::first-letter { color: #b8a6ff; font-weight: 900; }
.workflow-profile-panel .creation-form { grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); align-items: start; gap: 14px 16px; margin-top: 16px; }
.workflow-profile-panel .asset-picker, .workflow-profile-panel .creation-prompt { grid-column: 1; }
.workflow-profile-panel .profile-fields { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; grid-template-columns: 1fr; align-content: start; padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
.workflow-profile-panel .creation-prompt { min-height: 186px; }
.workflow-profile-panel .creation-actions { grid-column: 2; grid-row: 3; align-items: flex-end; flex-direction: column; padding: 13px; border: 1px solid rgba(137,104,255,.18); border-radius: 15px; background: rgba(94,72,180,.08); }
.workflow-profile-panel .creation-actions > span { width: 100%; line-height: 1.55; }
.workflow-profile-panel .creation-submit { width: 100%; min-height: 46px; }
.workflow-profile-panel .task-result { grid-column: 1 / -1; }
.agent-app[data-theme="light"] .workflow-profile-panel { border-color: rgba(52,86,129,.14); background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(241,247,255,.92)); }
.agent-app[data-theme="light"] .workflow-profile-panel .creation-head { border-color: rgba(52,86,129,.12); }
.clear-row { display: flex; justify-content: flex-end; margin: 15px 0; }
.clear-row button { min-height: 37px; padding: 0 15px; border: 1px solid var(--line); border-radius: 11px; color: #adabb7; background: rgba(255, 255, 255, 0.035); font-size: 11px; }
.clear-row button:hover { border-color: var(--line-strong); color: #fff; }
.history-panel { padding: 20px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 24px; background: rgba(20, 20, 27, 0.88); }
.history-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; }
.history-head h3 { margin: 0; font-size: 17px; }
.history-head p { margin: 6px 0 0; color: var(--muted); font-size: 10px; }
.history-tools { display: flex; gap: 8px; }
.history-tools input, .history-tools select, .history-tools button { height: 36px; border: 1px solid var(--line); border-radius: 9px; color: #d7d4df; background: #171720; font-size: 10px; }
.history-tools input { width: 190px; padding: 0 10px; outline: 0; }
.history-tools select { padding: 0 8px; }
.history-tools button { padding: 0 12px; }
.history-tools input:focus, .history-tools select:focus { border-color: var(--purple); outline: 0; }
.history-tools button:hover { border-color: var(--purple); color: #fff; }
.history-list { min-height: 118px; margin-top: 17px; }
.history-empty { display: grid; place-items: center; min-height: 118px; border: 1px dashed rgba(255, 255, 255, 0.1); border-radius: 14px; color: var(--muted); font-size: 11px; line-height: 1.9; text-align: center; }
.history-empty button { padding: 0; border: 0; color: #b19cff; background: transparent; font-size: 11px; font-weight: 800; }
.history-item { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 12px; border-bottom: 1px solid var(--line); }
.history-item:last-child { border-bottom: 0; }
.history-symbol { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #b8a6ff; background: rgba(126, 92, 255, 0.15); }
.history-item strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.history-item p { margin: 4px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 10px; }
.history-item time { color: var(--muted-2); font-size: 9px; white-space: nowrap; }

.site-footer { display: flex; justify-content: space-between; gap: 12px; width: min(1210px, calc(100% - 48px)); margin: 0 auto; padding: 17px 0 27px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: var(--muted-2); font-size: 10px; }
.site-footer a:hover { color: #d6d0eb; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 70; max-width: min(360px, calc(100vw - 40px)); padding: 11px 15px; border: 1px solid rgba(137, 104, 255, 0.45); border-radius: 10px; color: #f0edff; background: #1b1a29; box-shadow: 0 16px 38px rgba(0, 0, 0, 0.35); font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(12px); transition: 0.25s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.modal-backdrop { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 18px; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(10px); }
.modal-backdrop[hidden] { display: none; }
.auth-modal { position: relative; width: min(420px, 100%); padding: 31px 28px 27px; border: 1px solid rgba(137, 104, 255, 0.35); border-radius: 19px; background: linear-gradient(155deg, #1b1a2a, #0f1018); box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55); }
.modal-close { position: absolute; top: 11px; right: 13px; width: 31px; height: 31px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 23px; }
.modal-close:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.auth-logo { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 14px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #7660ff, #22c2e5); font-size: 21px; font-weight: 900; }
.modal-kicker { color: var(--purple-2); font-size: 9px; font-weight: 850; letter-spacing: 0.16em; }
.auth-modal h2 { margin: 9px 0; font-size: 24px; }
.auth-modal > p { margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.auth-modal form { display: grid; gap: 13px; }
.auth-modal label { display: grid; gap: 7px; color: #d8d5e2; font-size: 11px; font-weight: 700; }
.auth-modal input { width: 100%; height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; outline: 0; color: #fff; background: rgba(255, 255, 255, 0.04); font-size: 12px; }
.auth-modal input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(137, 104, 255, 0.12); }
.auth-submit { height: 43px; margin-top: 3px; border: 0; border-radius: 9px; color: #151324; background: linear-gradient(120deg, #8167ff, #1dc4e4); font-size: 12px; font-weight: 900; }
.auth-submit:hover { filter: brightness(1.08); }
.auth-register { display: block; margin: 16px auto 0; border: 0; color: #b7a7ff; background: transparent; font-size: 11px; }

.agent-app[data-theme="light"] { --bg: #edf4fb; --bg-2: #f7fbff; --panel: rgba(255, 255, 255, 0.9); --panel-solid: #fff; --panel-soft: rgba(42, 84, 127, 0.05); --line: rgba(43, 75, 111, 0.15); --line-strong: rgba(43, 75, 111, 0.25); --text: #17243a; --text-2: #45536c; --muted: #6f7b8e; --muted-2: #8f99a9; }
.agent-app[data-theme="light"] { background: radial-gradient(circle at 10% 0%, rgba(125, 104, 243, 0.13), transparent 24rem), linear-gradient(180deg, #f2f7fe, #e8f2fa); }
.agent-app[data-theme="light"] .site-nav { background: rgba(247, 251, 255, 0.9); }
.agent-app[data-theme="light"] .site-links a { color: #637087; }
.agent-app[data-theme="light"] .site-links a:hover, .agent-app[data-theme="light"] .site-links a.is-active { color: #1c2940; }
.agent-app[data-theme="light"] .hero-section { border-color: rgba(87, 114, 154, 0.25); background: linear-gradient(120deg, rgba(207, 218, 255, 0.85), rgba(208, 242, 245, 0.83)); }
.agent-app[data-theme="light"] .hero-copy > p, .agent-app[data-theme="light"] .current-copy p, .agent-app[data-theme="light"] .video-card-head p { color: #61718a; }
.agent-app[data-theme="light"] .theme-bar, .agent-app[data-theme="light"] .agent-sidebar, .agent-app[data-theme="light"] .current-agent-card, .agent-app[data-theme="light"] .video-card, .agent-app[data-theme="light"] .history-panel, .agent-app[data-theme="light"] .tool-placeholder { background: rgba(255, 255, 255, 0.78); }
.agent-app[data-theme="light"] .group-head strong, .agent-app[data-theme="light"] .video-card-head h3, .agent-app[data-theme="light"] .history-head h3 { color: #1a2940; }
.agent-app[data-theme="light"] .agent-tab { color: #607089; background: rgba(56, 92, 138, 0.035); }
.agent-app[data-theme="light"] .agent-tab.is-active { color: #1e2941; background: linear-gradient(110deg, rgba(137, 120, 245, 0.2), rgba(41, 191, 211, 0.16)); }
.agent-app[data-theme="light"] .video-fields select, .agent-app[data-theme="light"] .prompt-action-row textarea, .agent-app[data-theme="light"] .reference-box, .agent-app[data-theme="light"] .history-tools input, .agent-app[data-theme="light"] .history-tools select, .agent-app[data-theme="light"] .history-tools button, .agent-app[data-theme="light"] .summary-bar { color: #23334b; background: rgba(237, 245, 252, 0.9); }
.agent-app[data-theme="light"] .reference-drop { color: #6c7890; background: rgba(221, 234, 245, 0.34); }
.agent-app[data-theme="light"] .video-fields label, .agent-app[data-theme="light"] .summary-bar small { color: #52627a; }
.agent-app[data-theme="light"] .summary-bar { color: #687791; }
.agent-app[data-theme="light"] .history-empty { border-color: rgba(42, 84, 127, 0.2); }
.agent-app[data-theme="light"] .modelhub-messages { background: rgba(58,98,144,.04); }
.agent-app[data-theme="light"] .modelhub-message > div, .agent-app[data-theme="light"] .modelhub-composer textarea { color: #273954; background: rgba(236,245,252,.8); }
.agent-app[data-theme="light"] .model-card { color: #52627a; background: rgba(237,245,252,.75); }
.agent-app[data-theme="light"] .model-card-copy strong { color: #243650; }
.agent-app[data-theme="light"] .model-card.is-selected { background: linear-gradient(120deg, rgba(137,120,245,.18), rgba(41,191,211,.14)); }
.agent-app[data-theme="light"] .creation-fields select, .agent-app[data-theme="light"] .workflow-options select, .agent-app[data-theme="light"] .creation-prompt { color: #23334b; background: rgba(237,245,252,.9); }
.agent-app[data-theme="light"] .asset-picker { background: rgba(237,245,252,.58); }
.agent-app[data-theme="light"] .asset-trigger { color: #6c7890; background: rgba(221,234,245,.34); }
.agent-app[data-theme="light"] .task-result { background: rgba(46,123,91,.07); }

@media (max-width: 1120px) {
  .site-nav { gap: 14px; padding-inline: 18px; }
  .site-links a { padding-inline: 8px; font-size: 11px; }
  .hero-section, .workspace, .site-footer { width: min(100% - 30px, 980px); }
  .workspace { grid-template-columns: 275px minmax(0, 1fr); gap: 15px; }
  .hero-section { gap: 22px; padding-inline: 24px; }
  .primary-fields { grid-template-columns: 1fr 1.25fr 1fr; }
  .duration-field { grid-column: span 3; }
}
@media (max-width: 820px) {
  .site-nav { position: sticky; }
  .site-links { display: none; }
  .nav-menu { display: block; }
  .site-nav.nav-open .site-links { position: absolute; top: 57px; right: 14px; left: 14px; display: grid; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: rgba(14, 15, 23, 0.98); box-shadow: var(--shadow); }
  .site-nav.nav-open .site-links a { padding: 12px 13px; }
  .hero-section { grid-template-columns: 1fr; gap: 21px; width: calc(100% - 24px); padding: 28px 20px 21px; border-radius: 22px; }
  .hero-side { grid-template-columns: 1fr; align-items: stretch; }
  .workspace { display: block; width: calc(100% - 24px); }
  .agent-sidebar { position: fixed; top: 58px; bottom: 0; left: 0; z-index: 45; width: min(330px, 90vw); overflow: auto; border-radius: 0 20px 20px 0; transform: translateX(-103%); transition: transform 0.2s ease; }
  .agent-sidebar.is-open { transform: translateX(0); }
  .sidebar-mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
  .sidebar-mobile-head strong { font-size: 14px; }
  .sidebar-mobile-head button { width: 30px; height: 30px; border: 0; border-radius: 8px; color: var(--muted); background: var(--panel-soft); font-size: 22px; }
  .mobile-sidebar-trigger { display: flex; justify-content: flex-end; margin-bottom: 10px; }
  .mobile-sidebar-trigger button { min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; color: #ded8f8; background: rgba(115, 83, 224, 0.13); font-size: 11px; }
  .current-agent-head { flex-direction: column; }
  .cost-card { width: 100%; grid-template-columns: auto 1fr auto; justify-items: start; align-items: center; }
  .cost-card button { margin-left: auto; }
  .creation-fields, .audio-fields, .workflow-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .site-nav { padding-inline: 12px; }
  .brand-copy small { display: none; }
  .nav-login { padding-inline: 11px; font-size: 10px; }
  .hero-section { margin-top: 10px; }
  .hero-copy h1 { font-size: 28px; }
  .hero-copy > p { font-size: 12px; }
  .hero-side { grid-template-columns: 1fr; }
  .invite-card { align-items: flex-start; }
  .invite-action { min-width: 104px; }
  .hero-tools { align-items: stretch; }
  .copy-link-button { flex: 1 1 200px; }
  .current-agent-card, .video-card, .history-panel { padding: 15px; border-radius: 19px; }
  .agent-title-row h2 { font-size: 22px; }
  .agent-title-row a { font-size: 9px; }
  .primary-fields, .secondary-fields { grid-template-columns: 1fr 1fr; }
  .primary-fields label:nth-child(2) { grid-column: span 2; }
  .duration-field { grid-column: span 2; }
  .resolution-tip { grid-column: span 2; }
  .video-card-head h3 { align-items: flex-start; flex-wrap: wrap; font-size: 15px; }
  .video-card-head h3 em { width: 100%; margin-left: 37px; }
  .prompt-action-row { grid-template-columns: 1fr; }
  .prompt-action-row textarea { min-height: 140px; }
  .step-buttons { grid-template-columns: 1fr 1fr; }
  .step-buttons button { min-height: 53px; padding-inline: 7px; font-size: 10px; }
  .summary-bar { display: block; }
  .summary-bar span { display: block; white-space: normal; line-height: 1.6; }
  .summary-bar > div { justify-content: space-between; margin-top: 8px; }
  .modelhub-head { display: block; }
  .modelhub-status { display: inline-flex; margin-top: 14px; }
  .modelhub-toolbar { align-items: stretch; flex-direction: column; }
  .modelhub-toolbar select { width: 100%; }
  .modelhub-clear { align-self: flex-start; }
  .modelhub-composer > div { align-items: stretch; flex-direction: column; }
  .modelhub-send { width: 100%; }
  .history-head { display: block; }
  .history-tools { display: grid; grid-template-columns: 1fr 1fr auto; margin-top: 13px; }
  .history-tools input { width: auto; grid-column: span 3; }
  .site-footer { width: calc(100% - 24px); font-size: 9px; }
  .creation-head { display: block; }
  .creation-head h3 { font-size: 22px; }
  .config-note { display: inline-flex; margin-top: 13px; }
  .workflow-profile-panel { padding: 16px; border-radius: 18px; }
  .workflow-profile-panel .creation-form { display: grid; grid-template-columns: 1fr; }
  .workflow-profile-panel .asset-picker, .workflow-profile-panel .profile-fields, .workflow-profile-panel .creation-prompt, .workflow-profile-panel .creation-actions, .workflow-profile-panel .task-result { grid-column: 1; grid-row: auto; }
  .workflow-profile-panel .profile-fields { grid-template-columns: 1fr 1fr; }
  .workflow-profile-panel .creation-actions { align-items: stretch; }
  .model-card-grid { grid-template-columns: 1fr; }
  .creation-fields, .audio-fields, .workflow-options { grid-template-columns: 1fr 1fr; }
  .creation-actions { align-items: stretch; flex-direction: column; }
  .creation-actions > span { line-height: 1.5; }
  .creation-submit { width: 100%; }
  .task-result-head { align-items: flex-start; flex-direction: column; }
}
