:root {
  --ink: #242a23;
  --muted: #929b88;
  --line: #e8ece2;
  --soft: #f6f8f2;
  --sidebar: 192px;
  --header: 112px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 360px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:hover {
  color: #627853;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  flex-shrink: 0;
}
input:focus,
textarea:focus,
select:focus {
  outline: 0;
  border-color: #a4b493 !important;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #9db187;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
b,
strong {
  font-weight: 600;
}
.announcement {
  height: 36px;
  background: linear-gradient(100deg, #f3e8dd, #f7f4ea, #e4eee7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #7c866e;
  letter-spacing: 0.5px;
}
.announcement i {
  padding: 0 20px;
  font-style: normal;
  color: #a2ae85;
}
.announcement button {
  position: absolute;
  right: 22px;
  font-size: 20px;
}
.global-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 0 30px;
  background: #fffffff5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(15px);
}
.header-brand {
  width: 138px;
  flex-shrink: 0;
}
.brand {
  font-size: 29px;
  letter-spacing: -1.5px;
  display: inline-flex;
  align-items: center;
  font-weight: 750;
}
.brand span {
  font-weight: 450;
}
.brand svg {
  width: 26px;
  height: 29px;
  margin-right: 2px;
}
#header-location {
  color: #8b957f;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
#header-location svg {
  width: 17px;
}
.header-end {
  margin-left: auto;
  display: flex;
  gap: 22px;
  align-items: center;
}
.text-btn {
  font-size: 12px;
}
.local-badge {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 25px;
  font-size: 10px;
  color: #86937a;
}
.local-badge i {
  width: 5px;
  height: 5px;
  background: #93aa7d;
  border-radius: 50%;
}
.avatar {
  border-radius: 50%;
  width: 33px;
  height: 33px;
  background: #edf1e4;
  color: #879c71;
  font-size: 12px;
}
.sidebar {
  position: fixed;
  top: var(--header);
  left: 0;
  bottom: 0;
  width: var(--sidebar);
  padding: 25px 16px 15px;
  border-right: 1px solid var(--line);
  z-index: 35;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 13px;
  color: #7f8776;
}
.nav-link svg {
  width: 19px;
  stroke-width: 1.6;
}
.nav-link:hover {
  background: #f7f9f2;
}
.nav-link.active {
  background: #edf2e4;
  color: #526842;
  font-weight: 600;
}
.nav-link small {
  font-size: 8px;
  letter-spacing: 0.6px;
  color: #93a37f;
  margin-left: auto;
  border: 1px solid #dce5cf;
  padding: 2px 3px;
  border-radius: 3px;
}
.nav-separator,
.sidebar-rule {
  height: 1px;
  background: var(--line);
  margin: 12px;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-bottom button {
  width: 100%;
  justify-content: flex-start;
  padding: 12px 14px;
  font-size: 12px;
  color: #8a957e;
}
.sidebar-bottom svg {
  width: 17px;
}
.sidebar-caption {
  font-size: 9px;
  color: #b2bba8;
  padding: 15px 12px;
  letter-spacing: 0.6px;
}
.mobile-menu {
  display: none;
}
#main {
  margin-left: var(--sidebar);
  min-height: calc(100dvh - var(--header));
}
.page {
  max-width: 1600px;
  margin: auto;
  padding: 36px 52px 60px;
}
.eyebrow {
  font-size: 10px;
  color: #91a17b;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.page-heading,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.page-heading h1 {
  font-weight: 500;
  font-size: 27px;
  letter-spacing: -0.8px;
  margin: 10px 0;
}
.page-heading p,
.section-heading p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
  margin: 7px 0 0;
}
.primary,
.secondary,
.quiet {
  padding: 10px 17px;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
}
.primary {
  background: #354a34;
  color: white;
  border: 1px solid #354a34;
}
.primary:hover {
  background: #4f6846;
  color: white;
}
.secondary {
  background: white;
  border: 1px solid #dfe6d5;
}
.secondary:hover {
  background: #f3f7eb;
}
.quiet {
  color: #8d9f79;
}
.icon-btn {
  height: 31px;
  width: 31px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.icon-btn svg {
  width: 16px;
}
.pill {
  border: 1px solid #e3e8d9;
  border-radius: 25px;
  padding: 7px 12px;
  background: white;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}
.pill svg {
  width: 14px;
}
.tag {
  font-size: 9px;
  padding: 4px 7px;
  border-radius: 4px;
  background: #f1f5e8;
  color: #8a9c75;
}
.section-heading {
  margin: 34px 0 18px;
}
.section-heading h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin: 0;
}
.tabs {
  display: flex;
  gap: 27px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 23px;
}
.tabs button {
  position: relative;
  padding: 14px 0;
  color: #99a58a;
  font-size: 12px;
  white-space: nowrap;
}
.tabs button.active {
  color: #5b7049;
  font-weight: 600;
}
.tabs button.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  height: 2px;
  background: #8b9e75;
  left: 0;
  right: 0;
}
.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.chips button {
  font-size: 10px;
  padding: 7px 13px;
  border-radius: 25px;
  color: #909e7f;
}
.chips button.active {
  background: #edf2e4;
  color: #62784e;
}
.chips button:hover {
  background: #f4f7ee;
}
.search {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 9px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.search svg {
  width: 14px;
  color: #a3af94;
}
.search input {
  border: 0;
  font-size: 10px;
  background: none;
  min-width: 0;
  width: 155px;
}
.hero {
  max-width: 920px;
  text-align: center;
  margin: 25px auto 36px;
}
.hero .eyebrow {
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(28px, 3.3vw, 46px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -1.8px;
  margin: 10px 0;
}
.hero h1 em {
  font-style: normal;
  color: #99a77e;
}
.hero > p {
  font-size: 12px;
  color: #9ba58d;
  line-height: 1.8;
  margin: 15px 0 27px;
}
.hero-prompt {
  max-width: 780px;
  text-align: left;
  margin: auto;
  border: 1px solid #dfe7d4;
  border-radius: 15px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 10px 40px #5b733709;
}
.hero-prompt textarea {
  height: 62px;
  width: 100%;
  border: 0;
  resize: none;
  background: transparent;
  font-size: 12px;
  line-height: 1.8;
}
.hero-prompt textarea::placeholder {
  color: #b0bba1;
}
.hero-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-tools {
  display: flex;
  gap: 7px;
}
.hero-submit {
  border-radius: 50%;
  width: 35px;
  height: 35px;
  background: #e4ecd6;
  color: #637a4f;
}
.home-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.home-shortcuts button {
  border: 1px solid #e7eddf;
  border-radius: 25px;
  font-size: 10px;
  padding: 7px 12px;
  color: #93a17f;
}
.home-shortcuts svg {
  width: 13px;
}
.notice-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid #e3ead8;
  border-radius: 9px;
  background: linear-gradient(110deg, #f1f4e6, #eef5ed);
  margin: 32px 0;
}
.notice-symbol {
  font-size: 29px;
  color: #b0be92;
}
.notice-card b {
  font-size: 12px;
  font-weight: 500;
}
.notice-card p {
  font-size: 10px;
  color: #a0ad8c;
  margin: 5px 0;
}
.notice-card button {
  margin-left: auto;
}
.film-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
}
.film-card {
  cursor: pointer;
  min-width: 0;
}
.film-visual {
  aspect-ratio: 16/10;
  position: relative;
  border-radius: 9px;
  overflow: hidden;
  background: #f0f3e9;
}
.film-visual > img,
.film-visual > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.film-visual video {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.film-visual.playing video {
  opacity: 1;
}
.film-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 65%, #0005);
  pointer-events: none;
}
.film-play,
.film-duration {
  position: absolute;
  bottom: 12px;
  font-size: 9px;
  color: #fff;
  z-index: 2;
}
.film-play {
  display: flex;
  gap: 6px;
  align-items: center;
  left: 13px;
}
.film-play svg {
  width: 12px;
}
.film-duration {
  right: 12px;
}
.film-quick {
  position: absolute;
  right: 10px;
  top: 10px;
  background: #ffffffe6;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  z-index: 3;
  opacity: 0;
  transition: 0.2s;
}
.film-quick svg {
  width: 13px;
}
.film-card:hover .film-quick {
  opacity: 1;
}
.film-info {
  padding: 12px 1px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.film-info h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 6px;
}
.film-info p {
  font-size: 9px;
  color: #a6b099;
  margin: 0;
}
.dots {
  color: #a8b397;
}
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}
.showcase-footer {
  text-align: center;
  font-size: 10px;
  color: #b1bba4;
  margin: 35px 0 0;
}
.generator {
  height: calc(100dvh - var(--header));
  min-height: 560px;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 50% 0, #f3f6ed80, transparent 65%);
}
.history-tools {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 28px 40px 15px;
}
.filter-bar {
  display: flex;
  background: #f4f6ef;
  border: 1px solid #e7ebdf;
  border-radius: 25px;
  padding: 2px 7px;
}
.filter-bar button {
  font-size: 11px;
  color: #929e82;
  padding: 8px 13px;
  gap: 13px;
}
.filter-bar button + button {
  border-left: 1px solid #e2e7d8;
}
.filter-bar svg {
  width: 12px;
}
.generator-history {
  flex: 1;
  overflow: auto;
  padding: 8px 5vw 30px;
}
.generator-empty {
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
}
.empty-spark {
  font-size: 40px;
  color: #c1cd9d;
}
.generator-empty p {
  font-size: 14px;
  color: #a5b08e;
  letter-spacing: 0.3px;
}
.generator-empty button {
  font-size: 10px;
  color: #a0b084;
  margin-top: 10px;
}
.composer {
  width: calc(100% - 96px);
  max-width: 1030px;
  margin: 0 auto 28px;
  flex: none;
}
.mode-tabs {
  display: flex;
  gap: 6px;
  position: relative;
  top: 1px;
}
.mode-tabs button {
  flex: 1;
  height: 44px;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 19px 19px 0 0;
  background: #f5f7f0;
  color: #a0ad8b;
  border: 1px solid transparent;
  border-bottom: 0;
}
.mode-tabs svg {
  width: 17px;
}
.mode-tabs button.active {
  background: linear-gradient(115deg, #edf3df, #eaf2ec);
  border-color: #e0e7d6;
  color: #5e754b;
  font-weight: 600;
}
.composer-body {
  border: 1px solid #e0e6d7;
  border-radius: 21px 21px 0 0;
  padding: 20px 22px 17px;
  background: white;
}
.asset-strip {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-top: 3px;
  align-items: center;
  margin-bottom: 16px;
}
.upload-tile {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border: 1px dashed #bfccad;
  border-radius: 12px;
  background: linear-gradient(#fbfcf8, #f0f5e6);
  color: #9bab85;
  flex-direction: column;
  font-size: 10px;
  gap: 4px;
}
.upload-tile small {
  position: absolute;
  top: -6px;
  right: -6px;
  border: 1px solid #dfe7d3;
  border-radius: 25px;
  padding: 2px 5px;
  background: white;
  font-size: 8px;
}
.attached {
  width: 72px;
  height: 72px;
  position: relative;
  border-radius: 10px;
  flex-shrink: 0;
  background: #edf2e2;
  border: 1px solid #dfe7d1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.attached img,
.attached video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}
.attached .file-tag {
  position: absolute;
  bottom: 0;
  width: 100%;
  font-size: 8px;
  padding: 3px;
  background: #ffffffdf;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.attached button {
  position: absolute;
  right: -3px;
  top: -3px;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  font-size: 12px;
  background: white;
  border: 1px solid #dfe6d5;
}
.composer textarea {
  border: 0;
  background: none;
  resize: none;
  width: 100%;
  height: 56px;
  line-height: 1.8;
  font-size: 12px;
}
.composer textarea::placeholder {
  color: #b1bc9e;
}
.composer-bottom {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}
.setting {
  border: 1px solid #e2e8d8;
  border-radius: 25px;
  background: #f5f8ef;
  padding: 7px 14px;
  font-size: 10px;
  gap: 9px;
  white-space: nowrap;
}
.setting svg {
  width: 12px;
}
.generate {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: linear-gradient(120deg, #e7d7c4, #dfebd4);
  margin-left: auto;
  color: #61734c;
}
.composer-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 9px 4px 0;
  font-size: 9px;
  color: #b0bba0;
}
.generation-price-estimate { flex: 1 1 100%; color: #e9c26c; font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
.prompt-assistant-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 8px;
}
.prompt-assistant-tools button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  color: #59664f;
  font-size: 11px;
}
.prompt-assistant-tools svg { width: 14px; height: 14px; }
.matcher-folder-list,.matcher-results {
  display: grid;
  gap: 7px;
  max-height: min(48vh,420px);
  overflow: auto;
  margin: 12px 0;
}
.matcher-folder,.matcher-result-row {
  display: grid;
  grid-template-columns: minmax(150px,1fr) minmax(160px,2fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e2e8d8;
  border-radius: 7px;
  background: #fbfcf8;
  font-size: 12px;
}
.matcher-folder { grid-template-columns: auto 1fr auto; cursor: pointer; }
.matcher-folder input { accent-color: #69805d; }
.matcher-folder small,.matcher-result-file { color: #78816e; }
.matcher-result-name { font-weight: 600; overflow-wrap: anywhere; }
.matcher-choice { display: grid; grid-column: 2 / 4; gap: 5px; }
.matcher-choice select { width: 100%; min-width: 0; }
@media(max-width:640px) {
  .prompt-assistant-tools { gap: 4px 10px; }
  .prompt-assistant-tools button { font-size: 10px; }
  .matcher-result-row { grid-template-columns: 1fr; }
  .matcher-choice { grid-column: auto; }
}
.generation-item {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.generation-result {
  width: 250px;
  aspect-ratio: 16/9;
  background: #f1f5e7;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #9aac85;
  font-size: 11px;
}
.generation-result img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.generation-meta {
  flex: 1;
  padding: 8px;
  font-size: 12px;
}
.generation-meta p {
  line-height: 1.8;
}
.generation-meta small {
  font-size: 10px;
  color: #a0af8a;
}
.spinner {
  width: 22px;
  height: 22px;
  border: 2px solid #dae5c9;
  border-top-color: #8ba36b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.popover {
  position: fixed;
  z-index: 80;
  min-width: 190px;
  max-height: min(450px, 70vh);
  overflow: auto;
  border: 1px solid #dfe8d3;
  border-radius: 12px;
  background: white;
  padding: 8px;
  box-shadow: 0 15px 55px #3040201f;
}
.popover h4 {
  font-size: 12px;
  margin: 10px;
}
.popover button {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  border-radius: 6px;
  padding: 10px;
  font-size: 11px;
}
.popover button:hover,
.popover button.selected {
  background: #f0f5e6;
}
.popover .option-desc {
  font-size: 9px;
  color: #a0af8a;
  margin-top: 4px;
}
.popover input {
  width: 100%;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px;
  margin-bottom: 7px;
}
.popover-section {
  padding: 10px;
}
.popover-section label {
  display: block;
  margin-bottom: 9px;
  font-size: 10px;
  color: #95a780;
}
.popover-section .chips {
  margin-bottom: 12px;
}
.model-menu {
  width: 330px;
}
.model-menu button {
  gap: 12px;
}
.model-logo {
  width: 26px;
  height: 26px;
  border: 1px solid #e5edd9;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #93a778;
}
.model-option-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 3px;
}
.model-price-badge {
  color: #315c1e;
  font-size: 11px;
  font-weight: 700;
}
.model-price-current {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #eef5e7;
  color: #315c1e;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.check {
  margin-left: auto;
  color: #97ac7a;
}
.announcement-popup-list {
  display: grid;
  gap: 12px;
  max-height: min(65vh, 580px);
  overflow: auto;
  padding-right: 4px;
}
.announcement-popup-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}
.announcement-popup-item > span {
  color: #55763d;
  font-size: 11px;
  font-weight: 700;
}
.announcement-popup-item h3 {
  margin: 8px 0 6px;
  font-size: 16px;
}
.announcement-popup-item p {
  margin: 0;
  color: #596052;
  line-height: 1.7;
  white-space: normal;
  overflow-wrap: anywhere;
}
.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.skill-card {
  border: 1px solid #e6eddb;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.2s;
}
.skill-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px #566c380c;
  border-color: #c8d9b2;
}
.skill-cover {
  height: 122px;
  position: relative;
  background: #edf2e2;
  overflow: hidden;
}
.skill-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.skill-cover > span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  display: flex;
  gap: 5px;
}
.skill-cover .tag {
  background: #ffffffe6;
  font-size: 8px;
}
.skill-content {
  padding: 15px;
}
.skill-content h3 {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 9px;
}
.skill-content p {
  font-size: 10px;
  color: #9cab88;
  line-height: 1.8;
  margin: 0;
  min-height: 35px;
}
.skill-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  font-size: 9px;
  color: #a3b191;
}
.skill-byline button {
  font-size: 9px;
  border: 1px solid #e1ead5;
  border-radius: 5px;
  padding: 4px 8px;
}
.skill-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.skill-picker button {
  border: 1px solid var(--line);
  padding: 15px;
  text-align: left;
  border-radius: 8px;
  flex-direction: column;
  align-items: flex-start;
  font-size: 12px;
}
.skill-picker small {
  font-size: 9px;
  color: #a0af8c;
}
.library-upload {
  padding: 23px;
  border: 1px dashed #d5e1c6;
  background: #f9fbf4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
  color: #9aad83;
}
.library-upload p {
  font-size: 11px;
}
.dragover {
  outline: 2px dashed #94ac74;
  outline-offset: -6px;
  background: #eef5e3 !important;
}
.reverse-page {
  padding-top: 24px;
}
.reverse-tabs {
  gap: 30px;
  margin-bottom: 26px;
}
.reverse-tabs svg {
  width: 14px;
}
.reverse-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: start;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 22px;
  background: white;
}
.panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 20px;
}
.panel-title svg {
  width: 17px;
  color: #94a97b;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 16px 0;
  font-size: 11px;
}
.field label {
  color: #8c9e79;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dfe7d3;
  border-radius: 7px;
  padding: 10px 11px;
  font-size: 11px;
  background: white;
}
.field textarea {
  resize: vertical;
  min-height: 75px;
  line-height: 1.8;
}
.field small {
  font-size: 9px;
  color: #a6b596;
  line-height: 1.7;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.reverse-upload {
  border: 1px dashed #d5e0c7;
  border-radius: 10px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #f7faf1;
  gap: 13px;
  text-align: center;
}
.reverse-upload p {
  font-size: 11px;
  color: #9aac85;
  margin: 0;
}
.reverse-upload svg {
  width: 28px;
  height: 28px;
  stroke-width: 1;
}
.reverse-preview {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 300px;
  background: #171c15;
  border-radius: 9px;
}
.source-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 7px;
  background: #f5f8ef;
  font-size: 10px;
  color: #96a880;
  margin: 12px 0;
}
.frame-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 12px;
}
.frame-strip img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 4px;
}
.reverse-info {
  padding: 11px 13px;
  background: #f4f8ec;
  border-radius: 7px;
  font-size: 10px;
  line-height: 1.7;
  color: #96a680;
}
.result-empty {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 12px;
  color: #b1bd9e;
}
.result-empty svg {
  width: 36px;
  height: 36px;
  stroke-width: 1;
}
.result-empty b {
  font-size: 12px;
  font-weight: 400;
}
.result-empty p {
  font-size: 10px;
  line-height: 1.8;
  max-width: 240px;
  margin: 0;
}
.result-block {
  border: 1px solid #e4edda;
  border-radius: 8px;
  padding: 15px;
  margin-top: 12px;
  background: #fafcf6;
}
.result-block header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 500;
  color: #8a9f72;
}
.result-block header button {
  font-size: 9px;
  color: #a0b08a;
}
.result-block p,
.result-block pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.9;
  margin: 0;
  color: #7c8e67;
}
.result-block textarea {
  width: 100%;
  border: 0;
  background: none;
  font-size: 11px;
  line-height: 1.9;
  min-height: 160px;
  resize: vertical;
}
.result-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.full-width {
  width: 100%;
}
.source-examples {
  display: flex;
  gap: 7px;
  margin: 12px 0;
}
.source-examples button {
  border: 1px solid var(--line);
  font-size: 9px;
  padding: 5px 8px;
  border-radius: 5px;
}
.segment-row {
  display: flex;
  gap: 9px;
  padding: 12px;
  border: 1px solid #e5eddb;
  background: #f6f9f0;
  border-radius: 7px;
  margin: 10px 0;
  font-size: 11px;
}
.segment-row p {
  font-size: 11px;
  line-height: 1.7;
  color: #91a27c;
  margin: 5px 0;
}
.segment-row input {
  accent-color: #97ac7a;
}
.timeline {
  height: 70px;
  border: 1px solid #e1ebd5;
  border-radius: 7px;
  display: flex;
  gap: 3px;
  padding: 8px;
  background: #f5f9ed;
  margin: 15px 0;
}
.timeline > div {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dce9ca;
  font-size: 9px;
  color: #89a16d;
  border-radius: 3px;
}
.canvas-page {
  height: calc(100dvh - var(--header));
  display: flex;
  flex-direction: column;
}
.canvas-bar {
  height: 48px;
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 10px;
  flex: none;
}
.canvas-identity {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #99ad80;
}
.canvas-identity b {
  font-weight: 500;
  color: #698151;
}
.canvas-identity svg {
  width: 15px;
}
.canvas-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.canvas-actions button,
.canvas-actions a {
  font-size: 10px;
}
.canvas-frame {
  width: 100%;
  border: 0;
  flex: 1;
  min-height: 400px;
  background: white;
}
.canvas-attribution {
  padding: 6px 20px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #adba9c;
  display: flex;
  justify-content: space-between;
}
.canvas-attribution a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.canvas-fullscreen {
  position: fixed !important;
  inset: 0;
  z-index: 100;
  height: 100dvh !important;
  background: white;
}
.modal-shade {
  position: fixed;
  inset: 0;
  background: #20341659;
  backdrop-filter: blur(6px);
  z-index: 90;
}
.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(580px, calc(100% - 32px));
  max-height: 88dvh;
  overflow: auto;
  background: white;
  border-radius: 16px;
  z-index: 91;
  box-shadow: 0 30px 100px #1827102b;
}
.modal.wide {
  width: min(1030px, calc(100% - 40px));
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.modal-header h2 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}
.modal-header button {
  font-size: 22px;
  color: #a2af91;
}
.modal-body {
  padding: 23px 25px;
}
.modal-foot {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  padding: 16px 25px;
}
.detail-player {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
}
.detail-player > video {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 70vh;
  object-fit: contain;
  background: #131c0f;
}
.detail-copy {
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.detail-copy h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 12px 0 15px;
}
.detail-copy p {
  font-size: 11px;
  line-height: 1.9;
  color: #97a681;
}
.detail-tags {
  display: flex;
  gap: 6px;
  margin: 15px 0;
}
.detail-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.detail-copy small {
  font-size: 10px;
  color: #aebd99;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.help-text {
  font-size: 11px;
  line-height: 1.9;
  color: #91a17d;
}
.help-text code {
  font-size: 10px;
  padding: 3px 5px;
  background: #f2f7e8;
  border-radius: 3px;
}
.modal .skill-cover {
  height: 190px;
  border-radius: 9px;
}
#toasts {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 150;
}
.toast {
  font-size: 11px;
  color: white;
  background: #3b5033;
  border-radius: 9px;
  padding: 11px 18px;
  box-shadow: 0 4px 24px #21371928;
  max-width: 80vw;
}
.empty-search {
  padding: 80px;
  text-align: center;
  font-size: 12px;
  color: #a4b58c;
}
.setting-note {
  border-left: 2px solid #cbdcb6;
  background: #f8fbf1;
  padding: 10px 15px;
  font-size: 10px;
  line-height: 1.9;
  color: #99ac80;
}
.progress-bar {
  height: 3px;
  background: #e6eedb;
  border-radius: 5px;
  overflow: hidden;
  margin: 15px 0;
}
.progress-bar i {
  display: block;
  width: 50%;
  height: 100%;
  background: #a5be86;
  animation: scan 1.3s infinite;
}
@keyframes scan {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(200%);
  }
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project-card {
  cursor: pointer;
  border: 1px solid #e3ecd6;
  border-radius: 10px;
  overflow: hidden;
}
.project-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.project-card div {
  padding: 17px;
}
.project-card h3 {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 6px;
}
.project-card p {
  font-size: 10px;
  color: #a2b28b;
  margin: 0;
}
.inline-file-label {
  cursor: pointer;
  border: 1px solid #e3ebd7;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.inline-file-label input {
  display: none;
}
@media (min-width: 1600px) {
  :root {
    --sidebar: 220px;
  }
  .header-brand {
    width: 160px;
  }
  .sidebar {
    padding: 28px 22px;
  }
  .nav-link {
    font-size: 14px;
    padding: 14px;
  }
  .page {
    padding: 45px 65px;
  }
  .hero {
    margin-top: 40px;
  }
  .film-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .composer {
    margin-bottom: 36px;
  }
  .composer-body {
    padding: 24px;
  }
  .composer textarea {
    height: 68px;
  }
  .upload-tile,
  .attached {
    height: 82px;
    width: 82px;
  }
  .mode-tabs button {
    height: 49px;
  }
}
@media (max-width: 1100px) {
  :root {
    --sidebar: 160px;
  }
  .sidebar {
    padding: 22px 10px;
  }
  .global-header {
    padding: 0 20px;
    gap: 15px;
  }
  .header-brand {
    width: 120px;
  }
  .brand {
    font-size: 25px;
  }
  .header-end {
    gap: 12px;
  }
  .header-end .text-btn {
    display: none;
  }
  .page {
    padding: 28px 30px 45px;
  }
  .film-grid,
  .skill-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reverse-layout {
    gap: 15px;
  }
  .panel {
    padding: 16px;
  }
  .composer {
    width: calc(100% - 50px);
  }
  .mode-tabs button {
    font-size: 11px;
  }
  .setting {
    padding: 7px 10px;
    gap: 5px;
  }
  .gallery-toolbar {
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 0px;
    --header: 93px;
  }
  .announcement {
    height: 29px;
    font-size: 9px;
    justify-content: flex-start;
    padding-left: 17px;
  }
  .announcement i {
    padding: 0 7px;
  }
  .announcement button {
    right: 10px;
  }
  .global-header {
    height: 64px;
    padding: 0 16px;
    gap: 8px;
  }
  .header-brand {
    width: auto;
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .brand {
    font-size: 24px;
  }
  .brand svg {
    width: 21px;
  }
  #header-location {
    display: none;
  }
  .header-end {
    gap: 10px;
  }
  .local-badge {
    font-size: 9px;
    padding: 6px 8px;
  }
  .avatar {
    width: 29px;
    height: 29px;
  }
  .mobile-menu {
    display: inline-flex;
    border: 0;
    width: 22px;
  }
  .sidebar {
    width: 210px;
    transform: translateX(-100%);
    transition: 0.25s;
    box-shadow: 10px 0 40px #26371c18;
  }
  .sidebar.open {
    transform: none;
  }
  .page {
    padding: 25px 18px 40px;
  }
  .hero {
    margin-top: 12px;
  }
  .hero h1 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero > p {
    font-size: 10px;
  }
  .hero-prompt {
    padding: 13px;
  }
  .hero-prompt textarea {
    font-size: 11px;
  }
  .hero-tools .pill {
    font-size: 9px;
    padding: 6px 9px;
  }
  .home-shortcuts {
    gap: 5px;
  }
  .home-shortcuts button {
    font-size: 9px;
    padding: 6px 9px;
  }
  .notice-card {
    padding: 13px;
    gap: 12px;
  }
  .notice-symbol {
    display: none;
  }
  .notice-card p {
    font-size: 9px;
  }
  .notice-card button {
    font-size: 9px;
    padding: 7px 9px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .section-heading p {
    font-size: 10px;
  }
  .film-grid {
    gap: 15px 10px;
  }
  .film-visual {
    aspect-ratio: 4/3;
  }
  .film-info h3 {
    font-size: 10px;
  }
  .film-info p {
    font-size: 8px;
  }
  .film-quick {
    opacity: 1;
    width: 23px;
    height: 23px;
    right: 6px;
    top: 6px;
  }
  .film-play,
  .film-duration {
    font-size: 8px;
    bottom: 8px;
  }
  .film-play {
    left: 8px;
  }
  .film-duration {
    right: 8px;
  }
  .gallery-toolbar {
    gap: 10px;
  }
  .chips button {
    font-size: 9px;
    padding: 5px 9px;
  }
  .search {
    width: 100%;
    padding: 7px 9px;
  }
  .search input {
    width: 100%;
  }
  .page-heading {
    margin-bottom: 20px;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .page-heading p {
    font-size: 10px;
  }
  .page-heading > .primary {
    font-size: 10px;
    padding: 8px 10px;
  }
  .history-tools {
    margin: 20px 14px 0;
    gap: 7px;
  }
  .filter-bar {
    padding: 2px;
  }
  .filter-bar button {
    font-size: 9px;
    padding: 7px 8px;
    gap: 7px;
  }
  .history-tools > .pill {
    font-size: 9px;
    padding: 6px 9px;
  }
  .composer {
    width: calc(100% - 28px);
    margin-bottom: 18px;
  }
  .mode-tabs {
    gap: 4px;
  }
  .mode-tabs button {
    font-size: 9px;
    height: 37px;
    gap: 4px;
    border-radius: 13px 13px 0 0;
  }
  .mode-tabs svg {
    width: 13px;
  }
  .composer-body {
    padding: 14px;
    border-radius: 14px 14px 0 0;
  }
  .upload-tile,
  .attached {
    width: 58px;
    height: 58px;
    font-size: 9px;
    border-radius: 8px;
  }
  .asset-strip {
    margin-bottom: 10px;
  }
  .composer textarea {
    font-size: 11px;
    height: 70px;
  }
  .composer-bottom {
    gap: 5px;
    flex-wrap: wrap;
  }
  .setting {
    font-size: 8px;
    padding: 6px 9px;
    gap: 4px;
  }
  .generate {
    width: 30px;
    height: 30px;
  }
  .composer-foot {
    font-size: 8px;
  }
  .generator-empty p {
    font-size: 12px;
  }
  .generator-empty {
    min-height: 120px;
    padding-bottom: 0;
  }
  .generator {
    min-height: 580px;
  }
  .generation-item {
    flex-direction: column;
    gap: 10px;
  }
  .generation-result {
    width: 100%;
    max-width: 320px;
  }
  .skill-grid {
    gap: 12px;
  }
  .skill-cover {
    height: 100px;
  }
  .skill-content {
    padding: 12px;
  }
  .skill-content h3 {
    font-size: 11px;
    line-height: 1.6;
  }
  .skill-content p {
    font-size: 9px;
  }
  .skill-byline {
    font-size: 8px;
  }
  .skill-byline button {
    font-size: 8px;
    padding: 3px 5px;
  }
  .reverse-layout {
    grid-template-columns: 1fr;
  }
  .reverse-tabs {
    gap: 20px;
    overflow: auto;
  }
  .reverse-tabs button {
    font-size: 10px;
  }
  .reverse-tabs svg {
    width: 12px;
  }
  .canvas-bar {
    padding: 0 12px;
    gap: 7px;
  }
  .canvas-hint {
    display: none;
  }
  .canvas-actions {
    gap: 5px;
  }
  .canvas-actions button {
    font-size: 9px;
  }
  .canvas-attribution {
    font-size: 8px;
    padding: 6px 10px;
  }
  .canvas-attribution span:last-child {
    display: none;
  }
  .canvas-frame {
    min-height: 500px;
  }
  .detail-player {
    grid-template-columns: 1fr;
  }
  .detail-player > video {
    min-height: 200px;
    max-height: 40vh;
  }
  .detail-copy {
    padding: 20px;
  }
  .detail-copy h3 {
    font-size: 17px;
  }
  .modal-header {
    padding: 16px 20px;
  }
  .modal-body {
    padding: 18px 20px;
  }
  .modal-foot {
    padding: 13px 20px;
  }
  .modal .skill-cover {
    height: 160px;
  }
  .skill-picker {
    grid-template-columns: 1fr;
  }
  .empty-search {
    padding: 50px 20px;
  }
  .library-upload {
    padding: 20px;
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
  .tabs {
    gap: 21px;
  }
  .tabs button {
    font-size: 11px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
}

/* Light theme text contrast and compact viewport corrections. */
:root {
  --muted: #78836f;
}
.nav-link {
  color: #6b7662;
}
.sidebar-bottom button {
  color: #78856a;
}
.hero > p,
.section-heading p,
.page-heading p {
  color: #849077;
}
.film-info p {
  color: #8a967c;
}
.composer textarea::placeholder {
  color: #8d9b7d;
}
.generator-empty p {
  color: #8b9a77;
}
.composer-foot {
  color: #96a387;
}
.mode-tabs button {
  color: #879574;
}
.field label {
  color: #73865e;
}
.field small {
  color: #8a9b77;
}
.help-text {
  color: #738563;
}
.result-block p,
.result-block pre {
  color: #596e48;
}
.reverse-info {
  color: #7b9066;
}
.skill-content p {
  color: #7d8e6a;
}
.result-empty {
  color: #95a780;
}
.search input::placeholder {
  color: #95a387;
}
.generation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.generation-grid .generation-item {
  flex-direction: column;
}
.generation-grid .generation-result {
  width: 100%;
}
.generation-grid .generation-meta {
  padding: 4px;
}
.popover button {
  flex-shrink: 0;
}
.skill-cover i {
  font-style: normal;
}
@media (max-width: 760px) {
  body {
    min-width: 320px;
  }
  .history-tools {
    flex-wrap: wrap;
  }
  .composer .setting {
    font-size: 9px;
    padding: 6px 8px;
  }
  .composer-bottom {
    gap: 5px;
  }
  .mode-tabs button {
    font-size: 9px;
  }
  .generation-grid {
    grid-template-columns: 1fr;
  }
  .announcement span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 30px;
  }
  .composer .setting:nth-child(3) {
    letter-spacing: -0.3px;
  }
  .header-end .local-badge {
    display: none;
  }
  .film-grid,
  .skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#skills-page .skill-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
#skills-page .skill-cover {
  height: auto;
  aspect-ratio: 16/8;
}
#skills-page .skill-content {
  padding: 20px;
}
#skills-page .skill-content h3 {
  font-size: 15px;
  margin-bottom: 10px;
}
#skills-page .skill-content p {
  font-size: 11px;
  line-height: 1.8;
  min-height: 40px;
}
#skills-page .skill-byline {
  font-size: 10px;
}
@media (max-width: 760px) {
  #skills-page .skill-grid {
    gap: 12px;
  }
  #skills-page .skill-content {
    padding: 12px;
  }
  #skills-page .skill-content h3 {
    font-size: 11px;
  }
  #skills-page .skill-content p {
    font-size: 9px;
  }
  #skills-page .skill-byline {
    font-size: 8px;
  }
}

@media (max-width: 360px) {
  body {
    min-width: 280px;
  }
  .mode-tabs button {
    font-size: 8px;
  }
  .composer .setting {
    font-size: 8px;
    padding: 6px;
  }
  .announcement {
    font-size: 8px;
  }
}
.generator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 18px;
  height: 100%;
  min-height: 0;
  padding: 24px 32px 28px;
}
.generator-creator, .generator-records {
  min-width: 0;
  min-height: 0;
  border: 1px solid #e0e6d7;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 30px rgba(87, 102, 67, .06);
}
.generator-creator { display: flex; flex-direction: column; overflow: auto; }
.generator-records { display: flex; flex-direction: column; overflow: hidden; }
.creator-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:24px 26px 6px; }
.creator-heading h1 { margin: 6px 0 4px; font-size: 25px; color:#374432; }
.creator-heading p { margin:0; color:#8d997f; font-size:12px; }
.creator-heading .eyebrow { color:#9aaa81; font-size:10px; letter-spacing:2px; }
.creator-step { padding:7px 11px; border-radius:999px; background:#f0f5e7; color:#668052; font-size:11px; white-space:nowrap; }
.generator-creator .composer { width:auto; max-width:none; margin:14px 22px 22px; }
.generator-records .history-tools { margin: 20px 22px 12px; }
.generator-records .generator-history { padding: 8px 22px 24px; }
.reference-support { margin: 2px 0 10px; padding:10px 12px; border:1px solid #e5e9df; border-radius:8px; background:#f8faf6; color:#65715e; font-size:11px; }
.reference-support-main, .reference-support-counts { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; }
.reference-support-main b { color:#374432; font-size:12px; }
.reference-support-source { color:#718660; font-size:10px; }
.reference-support-counts { margin-top:5px; color:#4f5e47; line-height:1.6; }
.reference-support-counts strong { font-weight:600; }
.reference-support-counts > span { color:#7c8676; }
.reference-support small { display:block; margin-top:5px; color:#7c8676; line-height:1.6; overflow-wrap:anywhere; }
.reference-support a { color:#5b7550; text-decoration:underline; text-underline-offset:2px; }
.prompt-safety-banner { margin: -4px 0 12px; padding:8px 10px; border-radius:8px; background:#f8f3e8; color:#96714e; font-size:11px; line-height:1.55; }
.composer-bottom .generate { width:auto; min-width:112px; height:36px; padding:0 14px; border-radius:18px; display:inline-flex; align-items:center; justify-content:center; gap:6px; font-size:11px; }
.composer-bottom .generate svg { width:14px; height:14px; }
.model-option-copy b { font-size:14px; }
.model-option-copy .model-price-badge, .model-option-copy .model-badge { font-size:11px; }
.model-menu button[data-option="model"] { min-height:54px; padding:10px 12px; }
.generator-preference-note { margin: 0 0 16px; padding: 11px 12px; border-left: 3px solid #6b8a65; background: #f4f7f1; color: #52614d; font-size: 13px; line-height: 1.6; }
@media (max-width: 920px) {
  .generator-layout { grid-template-columns:1fr; height:auto; padding:16px 14px 22px; }
  .generator-records { min-height:360px; }
  .generator-creator .composer { margin:12px 14px 18px; }
  .creator-heading { padding:18px 18px 4px; }
}
