@font-face {
  font-family: "Hiru Pretendard";
  src: url("/static/fonts/PretendardVariable-1.3.9.woff2?v=20260905-studio-v5") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #172336;
  --muted: #57667b;
  --line: #dbe2ea;
  --paper: #f3f5f8;
  --bg: #f3f5f8;
  --panel: #fff;
  --card: #fff;
  --surface: #fff;
  --soft: #edf1f6;
  --navy: #101824;
  --navy-soft: #1b293e;
  --accent: #426329;
  --accent-dark: #30491f;
  --acid: #d4fa87;
  --lime: #d4fa87;
  --mint: #d4fa87;
  --mint-dark: #426329;
  --aqua: #d4fa87;
  --aqua-dark: #426329;
  --cyan: #235875;
  --blue: #305d8c;
  --green: #25714d;
  --red: #aa3545;
  --orange: #a5572e;
  --violet: #695ba0;
  --shadow: 0 6px 28px #16223806;
  --studio-font:
    "Hiru Pretendard", "Apple SD Gothic Neo", system-ui, sans-serif;
}
html {
  scroll-padding-top: 152px;
}
body.hiru-cloud {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.7 var(--studio-font);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
body.hiru-cloud :is(button, input, textarea, select) {
  font-family: var(--studio-font);
  font-size: 1rem;
  line-height: 1.5;
}
body.hiru-cloud :is(button, a) {
  touch-action: manipulation;
}
body.hiru-cloud button {
  cursor: pointer;
}
body.hiru-cloud button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
body.hiru-cloud :is(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #608641;
  outline-offset: 3px;
}
body.hiru-cloud .drop-zone:focus-within,
body.hiru-cloud .dropzone:focus-within {
  outline: 3px solid #608641;
  outline-offset: 3px;
}
body.hiru-cloud [hidden] {
  display: none !important;
}
body.hiru-cloud :is(.grain, .noise, .ambient) {
  display: none;
}
body.hiru-cloud main {
  width: min(1280px, calc(100% - 64px));
  max-width: none;
  margin: 0 auto;
  padding: 0 0 64px;
  min-height: 65vh;
  position: relative;
  z-index: 1;
}
body.hiru-cloud main :is(h1, h2, h3) {
  color: var(--ink);
  font-family: var(--studio-font);
  letter-spacing: -0.045em;
  line-height: 1.35;
  font-weight: 700;
}
body.hiru-cloud main h2 {
  font-size: clamp(24px, 2.3vw, 30px);
}
body.hiru-cloud main h3 {
  font-size: 19px;
}
body.hiru-cloud main :is(p, small, time) {
  color: var(--muted);
  line-height: 1.8;
}
body.hiru-cloud main p {
  font-size: 16px;
}
body.hiru-cloud main :is(label, legend) {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
body.hiru-cloud main small {
  font-size: 13px;
}
body.hiru-cloud
  main
  :is(.eyebrow, .section-intro > span, .section-copy > span) {
  font-family: var(--studio-font);
  font-size: 12px;
  letter-spacing: 0.09em;
  color: #587047;
}
body.hiru-cloud .skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 1000;
  transform: translateY(-180%);
  background: #d4fa87;
  color: #172510;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 14px;
}
body.hiru-cloud .skip-link:focus {
  transform: translateY(0);
}
/* One stable navigation system on every service, with a horizontally scrollable mobile row. */
.hiru-cloud-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #090d14;
  color: #f5f7fa;
  border-bottom: 1px solid #334052;
}
.hiru-header-top {
  width: min(1344px, calc(100% - 64px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.hiru-cloud-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f5f7fa;
  flex: none;
}
.hiru-cloud-brand img {
  display: block;
  width: 36px;
  height: 36px;
}
.hiru-cloud-brand > span {
  display: grid;
  gap: 1px;
}
.hiru-cloud-brand strong {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.15;
}
.hiru-cloud-brand small {
  color: #b4c0d0;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.hiru-header-product {
  font-size: 18px;
  font-weight: 650;
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-left: 1px solid #354052;
  padding-left: 26px;
}
.hiru-header-product small {
  font-size: 12px;
  font-weight: 400;
  color: #aebbcf;
}
.hiru-header-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: auto;
}
.hiru-showcase-link {
  font-size: 14px;
  color: #c7d1df;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.hiru-cloud-nav {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: min(1344px, calc(100% - 64px));
  margin: auto;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #526045 #101824;
}
.hiru-cloud-nav > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: 1 0 auto;
  min-height: 54px;
  min-width: 116px;
  padding: 12px 14px;
  text-decoration: none;
  color: #acb9cb;
  border-bottom: 3px solid transparent;
  font-size: 15px;
  line-height: 1.4;
}
.hiru-cloud-nav small {
  font-size: 12px;
  color: inherit;
  font-weight: 400;
}
.hiru-cloud-nav > a:hover {
  background: #16202d;
  color: #fff;
}
.hiru-cloud-nav > a[aria-current="page"] {
  border-bottom-color: #d4fa87;
  color: #d4fa87;
  background: #17211a;
  font-weight: 650;
}
.hiru-cloud-header :focus-visible {
  outline-color: #d4fa87 !important;
  outline-offset: -3px !important;
}
/* The working surface starts near the top, instead of following a large decorative hero. */
body.hiru-cloud .hiru-studio-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 56px;
  padding: 44px 0 36px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
body.hiru-cloud .hiru-overline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: #426329;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
}
.hiru-overline > span {
  border: 1px solid #ccdabb;
  padding: 3px 8px;
  border-radius: 6px;
  color: #3a5525;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  background: #eaf3df;
}
body.hiru-cloud .hiru-studio-intro h1 {
  font-size: clamp(30px, 3.45vw, 46px);
  line-height: 1.3;
  letter-spacing: -0.055em;
  margin: 0 0 18px;
  max-width: 740px;
}
body.hiru-cloud .hiru-studio-intro > div > p:not(.hiru-overline) {
  font-size: 16px;
  max-width: 740px;
  margin: 0;
  line-height: 1.9;
}
.hiru-studio-facts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 13px;
  color: #5e6d7e;
}
.hiru-studio-facts > span + span::before {
  content: "·";
  margin-right: 12px;
  color: #829071;
}
.hiru-intro-tip {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.hiru-tip-icon {
  color: #547537;
  font-size: 22px;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.hiru-intro-tip > strong {
  display: block;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 650;
}
body.hiru-cloud .hiru-intro-tip > p {
  font-size: 14px;
  margin: 8px 0 16px;
  line-height: 1.85;
}
body.hiru-cloud .hiru-guide-open,
.hiru-intro-tip > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  text-decoration: none;
}
body.hiru-cloud .hiru-guide-open {
  border: 1px solid #26374c;
  background: #172336;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  width: 100%;
  height: auto;
  box-shadow: none;
}
.hiru-guide-open:hover {
  background: #293d57 !important;
}
.hiru-intro-tip > a {
  color: #426329;
}
body.hiru-cloud :is(.landing, .auth-shell) {
  padding: 0 0 32px;
  min-height: 0;
  margin: 0;
  gap: 32px;
  align-items: start;
}
body.hiru-cloud .landing {
  display: block;
}
.hiru-cloud .loading-shell {
  min-height: 160px;
  padding: 32px;
}
body.hiru-cloud .auth-shell {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}
body.hiru-cloud :is(.auth-card, .auth-shell .card) {
  padding: 28px;
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow);
  gap: 24px 40px;
}
body.hiru-cloud .auth-card > div > p:last-child {
  font-size: 16px;
  margin: 12px 0 0;
}
.hiru-cloud .auth-card .form-message {
  grid-column: 1/-1;
  margin-top: 0;
}
body.hiru-cloud .hiru-auth-copy h2 {
  margin: 0 0 16px;
  font-size: 30px;
}
.hiru-cloud .hiru-auth-copy > p:last-child {
  margin: 0;
  max-width: 440px;
}
body.hiru-cloud .auth-card form > small {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
body.hiru-cloud :is(.workspace, .workspace-shell) {
  padding-top: 0;
  padding-bottom: 0;
}
body.hiru-cloud :is(.workspace-head, .workspace-heading) {
  margin-bottom: 24px;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
body.hiru-cloud :is(.workspace-head, .workspace-heading) h2 {
  font-size: 28px;
  margin: 0;
}
body.hiru-cloud :is(.workspace-head, .workspace-heading) p {
  margin: 12px 0 0;
  font-size: 16px;
}
body.hiru-cloud :is(.studio-grid, .workspace-grid) {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.85fr);
  align-items: start;
  gap: 24px;
}
body.hiru-cloud[data-hiru-service="video"] .workspace {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.85fr);
  gap: 24px;
}
body.hiru-cloud
  :is(
    .composer,
    .request-card,
    .result-card,
    .result-panel,
    .status-panel,
    .status-card,
    .history-card,
    .card
  ) {
  min-width: 0;
  min-height: 0;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: none;
}
body.hiru-cloud :is(.composer, .request-card, .result-card, .result-panel) {
  padding: 28px;
}
body.hiru-cloud[data-hiru-service="voice"] .composer {
  padding: 0;
}
body.hiru-cloud .form-section {
  padding: 24px;
}
body.hiru-cloud :is(.status-panel, .result-panel, .side-panel) {
  position: static;
}
body.hiru-cloud :is(.current-result, .empty-status) {
  min-height: 280px;
  max-width: 100%;
  background: #f5f7fa;
  border-color: var(--line);
  padding: 28px 20px;
}
body.hiru-cloud .empty-status h3 {
  margin-top: 20px;
}
.hiru-cloud .current-result > p {
  font-size: 16px;
}
body.hiru-cloud :is(.account-card, .account-preview, .account-pill) {
  min-width: 0;
  max-width: 100%;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}
body.hiru-cloud :is(.account-card, .account-preview) button {
  position: static;
  transform: none;
  display: block;
  margin-top: 10px;
  padding: 6px 10px;
  min-height: 36px;
  background: #f3f5f8;
  color: #45566b;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
body.hiru-cloud :is(.account-card, .account-preview, .account-pill) strong {
  font-size: 15px;
  overflow-wrap: anywhere;
  white-space: normal;
}
body.hiru-cloud
  :is(.account-card, .account-preview, .account-pill)
  :is(small, span) {
  font-size: 13px;
  color: var(--muted);
}
/* Clear, readable inputs and a consistent primary action. */
body.hiru-cloud
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.hiru-cloud textarea,
body.hiru-cloud select {
  min-height: 48px;
  max-width: 100%;
  border: 1px solid #bac6d5;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  padding: 12px 14px;
  box-shadow: none;
}
body.hiru-cloud textarea {
  resize: vertical;
  min-height: 156px;
}
body.hiru-cloud :is(input, textarea)::placeholder {
  color: #7b889a;
  opacity: 1;
}
body.hiru-cloud .code-input {
  font-size: 26px !important;
  letter-spacing: 0.22em;
}
body.hiru-cloud input:is([type="checkbox"], [type="radio"]) {
  accent-color: #4b6c30;
  flex-shrink: 0;
}
body.hiru-cloud :is(.input-action, .input-row) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}
body.hiru-cloud
  :is(
    .input-action button,
    .input-row button,
    .verify-button,
    .primary,
    .primary-button,
    .full-button,
    .submit-button
  ) {
  min-height: 48px;
  height: auto;
  padding: 13px 18px;
  background: #d4fa87;
  color: #172510;
  border: 1px solid #c0df8e;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  box-shadow: none;
}
body.hiru-cloud :is(.primary, .primary-button) > b {
  color: inherit;
  background: none;
  font-size: 20px;
}
body.hiru-cloud
  :is(
    .input-action button,
    .input-row button,
    .verify-button,
    .primary,
    .primary-button,
    .full-button,
    .submit-button
  ):hover:not(:disabled) {
  background: #c6ee79;
}
body.hiru-cloud .hiru-field-help {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #eef4e8;
  border: 1px solid #d2dfc4;
  border-radius: 9px;
}
.hiru-field-help > span {
  font-size: 13px;
  color: #425336;
}
body.hiru-cloud .hiru-field-help button {
  font-size: 14px;
  font-weight: 650;
  color: #314921;
  background: transparent;
  border: 0;
  min-height: 40px;
  padding: 6px 2px;
  line-height: 1.5;
}
body.hiru-cloud
  :is(
    .form-top,
    .form-topline,
    .form-meta,
    .field-meta,
    .prompt-meta,
    .char-count,
    .prompt-count,
    .card-kicker
  ) {
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
body.hiru-cloud
  :is(
    .form-top small,
    .form-meta small,
    .field-meta small,
    .prompt-meta span,
    .char-count span
  ) {
  font-size: 13px;
  color: var(--muted);
}
body.hiru-cloud :is(.section-title, .section-heading, .section-intro) {
  margin-bottom: 20px;
  gap: 16px;
}
body.hiru-cloud .section-title p {
  font-size: 15px;
}
body.hiru-cloud :is(.source-tabs, .mode-tabs) {
  background: #edf1f6;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}
body.hiru-cloud :is(.source-tabs, .mode-tabs) > button {
  font-size: 14px;
  min-height: 46px;
  height: auto;
  padding: 10px 12px;
  background: transparent;
  color: #556477;
  border: 1px solid transparent;
  line-height: 1.5;
  box-shadow: none;
}
body.hiru-cloud :is(.source-tabs, .mode-tabs) > button.active {
  background: #fff;
  color: #304a1d;
  border-color: #b8ca9e;
  box-shadow: 0 2px 6px #1830260a;
}
body.hiru-cloud .mode-tab b {
  font-size: 15px;
}
.hiru-cloud .mode-tab small {
  font-size: 12px;
}
.hiru-cloud .mode-tab span {
  font-size: 12px;
  color: #57667b;
}
body.hiru-cloud
  :is(
    .drop-zone,
    .dropzone,
    .record-card,
    .upload-row,
    .instruction-note,
    .prompt-guide,
    .profile,
    .generated-panel,
    .url-panel,
    .generated-option,
    .model-lock,
    .selected-source,
    .result-summary,
    .result-list article,
    .resolution-grid > div,
    .source-preview
  ) {
  background: #f6f8fb;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
body.hiru-cloud :is(.drop-zone, .dropzone) {
  min-height: 180px;
  padding: 20px;
  border: 1px dashed #9dadbf;
  cursor: pointer;
}
body.hiru-cloud :is(.drop-zone, .dropzone) > strong {
  font-size: 16px;
}
body.hiru-cloud
  :is(.generated-option, .result-summary)
  :is(strong, small, span) {
  color: inherit;
}
body.hiru-cloud .generated-option.selected {
  border-color: #658c41;
  box-shadow: 0 0 0 2px #91b37333;
}
body.hiru-cloud .model-lock > span {
  background: #e5eddc;
  color: #426329;
}
body.hiru-cloud .model-lock > b {
  background: #e6eddf;
  color: #405d2a;
}
body.hiru-cloud :is(.model-card, .track-card) {
  background: #172336;
  color: #f1f5fa;
  border-radius: 12px;
  border-color: #24354c;
  box-shadow: none;
}
body.hiru-cloud :is(.model-card, .track-card) :is(p, small, span) {
  color: #bdc9da;
}
body.hiru-cloud :is(.model-card, .track-card) :is(strong, h3, b) {
  color: #f1f5fa;
}
body.hiru-cloud
  :is(.common-consents, .nsfw-consents, .agreements, .consents, .consent) {
  font-size: 14px;
  line-height: 1.8;
}
body.hiru-cloud
  :is(.common-consents, .nsfw-consents, .agreements, .consents, .consent)
  small {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
body.hiru-cloud :is(.agreements, .common-consents, .consents) label {
  min-height: 44px;
}
body.hiru-cloud :is(.message, .form-message) {
  font-size: 14px !important;
  color: #295775 !important;
  background: #eaf3f9;
  line-height: 1.8;
  padding: 12px 14px;
  border-radius: 8px;
}
body.hiru-cloud :is(.message, .form-message):empty {
  display: none;
}
body.hiru-cloud :is(.message.error, .form-message.error) {
  color: #962c3d !important;
  background: #fbeef0;
}
body.hiru-cloud :is(.failed, .danger) {
  color: #aa3545;
}
body.hiru-cloud :is(.history, .history-section) {
  margin-top: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.hiru-cloud :is(.history-head, .history-heading) {
  margin-bottom: 20px;
  gap: 20px;
  align-items: baseline;
  flex-wrap: wrap;
}
body.hiru-cloud :is(.history-head, .history-heading) p {
  font-size: 14px;
}
body.hiru-cloud :is(.history-item, .history-row) {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  gap: 14px;
}
body.hiru-cloud :is(.history-actions, .download-actions, .result-links) {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
body.hiru-cloud
  :is(.history-actions, .download-actions, .result-links, .result-preview)
  :is(a, button) {
  background: #f4f7fa;
  border: 1px solid #d4dee8;
  color: #324c67;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
body.hiru-cloud .history-actions .danger {
  color: #aa3545;
  background: #fff7f8;
}
body.hiru-cloud
  :is(.result-head, .status-head, .history-head, .library-head, .generated-head)
  button {
  font-size: 14px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #45566b;
}
body.hiru-cloud .auth-layer {
  z-index: 500;
}
.hiru-cloud .auth-layer .auth-card {
  max-height: 90dvh;
  overflow: auto;
}
/* Preserve contrast when adapting the former dark result and recording panels. */
body.hiru-cloud .result-head button {
  color: #45566b !important;
}
body.hiru-cloud :is(.status-line, .status-top) > span {
  background: #eaf3df;
  color: #426329;
}
body.hiru-cloud :is(.status-line, .status-top) > span.failed {
  background: #fbeef0;
  color: #962c3d;
}
body.hiru-cloud
  :is(
    .progress-label b,
    .result-list .auto,
    .result-head > small,
    .record-head > div > span
  ) {
  color: #426329;
}
body.hiru-cloud .progress-label {
  color: #57667b;
}
body.hiru-cloud :is(.history-meta span, .history-thumbnail-label) {
  color: #eaf3df;
}
body.hiru-cloud :is(.record-card blockquote, .record-support, .divider) {
  color: #45566b;
  border-color: #dbe2ea;
}
body.hiru-cloud .record-card blockquote {
  background: #fff;
}
body.hiru-cloud .divider::before,
body.hiru-cloud .divider::after {
  background: #cdd7e2;
}
body.hiru-cloud .secondary-button {
  background: #fff;
  color: #34475f;
  border: 1px solid #bac6d5;
}
body.hiru-cloud .mode-tab.active :is(small, span) {
  color: #426329;
}
body.hiru-cloud .record-support.error {
  color: #962c3d;
}
body.hiru-cloud .request-live {
  background: #172336;
  color: #f1f5fa;
}
body.hiru-cloud .request-live :is(h2, h3, strong) {
  color: #f1f5fa;
}
body.hiru-cloud .request-live :is(p, small, time) {
  color: #bdc9da;
}
body.hiru-cloud
  .request-live
  :is(.stage, .progress-meta strong, .prompt-toggle) {
  color: #d4fa87;
}
body.hiru-cloud .asset-option small {
  color: #fff;
}
body.hiru-cloud .choice-row input:checked + span {
  background: #eef4e8;
  color: #304a1d;
}
body.hiru-cloud footer {
  width: min(1280px, calc(100% - 64px));
  max-width: none;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: #667488;
}
body.hiru-cloud footer a {
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #426329;
  font-weight: 600;
}
/* Prompt coaching is explicit copy-and-paste; the site never sends drafts to an LLM. */
dialog.hiru-prompt-dialog {
  font-family: var(--studio-font);
  color: #172336;
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 18px;
  box-shadow: 0 28px 100px #0004;
  margin: auto;
  padding: 28px;
  width: min(740px, calc(100vw - 32px));
  max-height: 90dvh;
  overflow: auto;
  text-align: left;
}
.hiru-guide-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hiru-guide-heading > span {
  font-size: 12px;
  color: #62724e;
  letter-spacing: 0.1em;
  font-weight: 650;
}
body.hiru-cloud .hiru-guide-close {
  min-width: 44px;
  height: 44px;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  background: #f3f5f8;
  color: #26374c;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.hiru-prompt-dialog h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.045em;
  margin: 14px 0 16px;
}
.hiru-guide-lead {
  color: #57667b;
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 20px;
}
.hiru-guide-steps {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 20px 0;
  font-size: 14px;
}
.hiru-guide-steps li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hiru-guide-steps b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #edf4e3;
  color: #405e29;
  font-size: 13px;
}
.hiru-guide-model {
  border-block: 1px solid #dbe2ea;
  padding: 14px 0;
  display: flex;
  gap: 16px;
  align-items: baseline;
  flex-wrap: wrap;
  margin: 20px 0;
}
.hiru-guide-model > span {
  font-size: 13px;
  color: #667488;
}
.hiru-guide-model strong {
  font-size: 15px;
  font-weight: 650;
}
.hiru-prompt-dialog label {
  font-size: 14px;
  color: #34475f;
  font-weight: 650;
  display: block;
  margin-bottom: 10px;
}
.hiru-prompt-dialog label small {
  display: block;
  font-size: 13px;
  color: #667488;
  font-weight: 400;
  margin-top: 4px;
}
body.hiru-cloud .hiru-prompt-dialog textarea {
  display: block;
  width: 100%;
  min-height: 220px;
  max-height: 38dvh;
  resize: vertical;
  font-size: 14px;
  line-height: 1.8;
  background: #f7f9fb;
  border-color: #c4cfdc;
  font-family: var(--studio-font);
}
.hiru-guide-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
body.hiru-cloud .hiru-copy-request,
.hiru-guide-actions > a {
  border: 1px solid #bfd394;
  min-height: 48px;
  border-radius: 8px;
  padding: 12px 18px;
  background: #d4fa87;
  color: #213414;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hiru-guide-actions > a {
  background: #fff;
  border-color: #c4cfdc;
  color: #34475f;
}
.hiru-copy-status {
  font-size: 14px;
  color: #426329;
  line-height: 1.7;
  margin: 12px 0 0;
}
.hiru-guide-privacy {
  font-size: 13px;
  line-height: 1.85;
  color: #667488;
  margin: 14px 0 0;
}
@media (max-width: 1080px) {
  .hiru-header-product small {
    display: none;
  }
  .hiru-header-top {
    gap: 18px;
  }
  .hiru-header-product {
    padding-left: 18px;
  }
  .hiru-header-actions {
    gap: 18px;
  }
  .hiru-cloud-nav > a {
    min-width: 112px;
  }
  .hiru-cloud-nav small {
    display: none;
  }
  body.hiru-cloud .hiru-studio-intro {
    gap: 32px;
    grid-template-columns: 1.1fr 0.9fr;
  }
  body.hiru-cloud :is(.studio-grid, .workspace-grid),
  body.hiru-cloud[data-hiru-service="video"] .workspace {
    grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  }
  body.hiru-cloud :is(.composer, .request-card, .result-card, .result-panel) {
    padding: 24px;
  }
  body.hiru-cloud .control-grid {
    grid-template-columns: 1fr;
  }
  body.hiru-cloud .mode-tabs {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  body.hiru-cloud .mode-tabs.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 880px) {
  html {
    scroll-padding-top: 144px;
  }
  .hiru-showcase-link {
    display: none;
  }
  body.hiru-cloud .hiru-studio-intro {
    grid-template-columns: 1fr;
    padding-top: 32px;
    gap: 24px;
  }
  .hiru-intro-tip {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 12px;
    padding: 20px;
  }
  .hiru-tip-icon {
    grid-row: 1/3;
    margin: 2px 0 0;
  }
  .hiru-intro-tip > p {
    grid-column: 2;
  }
  .hiru-intro-tip :is(button, a) {
    grid-column: 2;
    justify-self: start;
  }
  body.hiru-cloud .hiru-guide-open {
    width: auto;
  }
  body.hiru-cloud :is(.studio-grid, .workspace-grid, .auth-shell),
  body.hiru-cloud[data-hiru-service="video"] .workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  body.hiru-cloud .landing .auth-card {
    grid-template-columns: minmax(0, 1fr);
  }
  body.hiru-cloud .auth-card .form-message {
    grid-column: 1;
  }
  body.hiru-cloud .workspace-head {
    align-items: flex-start;
  }
  body.hiru-cloud :is(.account-card, .account-preview) {
    width: 100%;
  }
  body.hiru-cloud .mode-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.hiru-cloud .control-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 136px;
  }
  .hiru-header-top {
    width: calc(100% - 32px);
    min-height: 68px;
    gap: 14px;
  }
  .hiru-cloud-brand strong {
    font-size: 20px;
  }
  .hiru-cloud-brand small {
    font-size: 12px;
    letter-spacing: 0.08em;
  }
  .hiru-cloud-brand img {
    width: 32px;
    height: 32px;
  }
  .hiru-header-product {
    display: none;
  }
  .hiru-header-actions {
    gap: 0;
  }
  .hiru-cloud-nav {
    width: 100%;
    padding-inline: 16px;
    gap: 6px;
  }
  .hiru-cloud-nav > a {
    min-width: 100px;
    flex: 0 0 auto;
    min-height: 50px;
    padding: 12px;
    font-size: 14px;
  }
  .hiru-cloud-nav small {
    display: inline;
    font-size: 12px;
  }
  .hiru-suite-trigger {
    gap: 10px;
    padding: 9px 12px;
    font-size: 14px;
  }
  body.hiru-cloud main,
  body.hiru-cloud footer {
    width: calc(100% - 32px);
  }
  body.hiru-cloud .hiru-studio-intro {
    padding-top: 28px;
    margin-bottom: 24px;
  }
  body.hiru-cloud .hiru-studio-intro h1 {
    font-size: 32px;
    letter-spacing: -0.055em;
  }
  body.hiru-cloud .hiru-studio-intro > div > p:not(.hiru-overline) {
    font-size: 16px;
  }
  .hiru-studio-facts {
    gap: 7px 10px;
    font-size: 12px;
  }
  .hiru-studio-facts > span + span::before {
    margin-right: 10px;
  }
  .hiru-intro-tip {
    padding: 18px;
    gap: 0 10px;
  }
  body.hiru-cloud .hiru-intro-tip > p {
    font-size: 14px;
  }
  body.hiru-cloud .hiru-guide-open {
    font-size: 14px;
    padding: 10px 12px;
    justify-self: stretch;
  }
  body.hiru-cloud
    :is(
      .auth-card,
      .auth-shell .card,
      .composer,
      .request-card,
      .result-card,
      .result-panel
    ) {
    padding: 20px;
  }
  body.hiru-cloud .form-section {
    padding: 20px;
  }
  body.hiru-cloud :is(.input-action, .input-row) {
    grid-template-columns: 1fr;
  }
  body.hiru-cloud :is(.input-action button, .input-row button) {
    min-height: 46px;
  }
  body.hiru-cloud .mode-tabs,
  body.hiru-cloud .mode-tabs.three {
    grid-template-columns: 1fr;
  }
  body.hiru-cloud .mode-tabs > button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    text-align: left;
  }
  body.hiru-cloud .source-tabs {
    flex-wrap: wrap;
  }
  body.hiru-cloud .source-tabs > button {
    flex: 1;
    min-width: 110px;
  }
  body.hiru-cloud
    :is(.control-grid, .parameter-grid, .field-grid, .text-language-grid) {
    grid-template-columns: minmax(0, 1fr);
  }
  body.hiru-cloud .field.wide {
    grid-column: auto;
  }
  body.hiru-cloud .size-choices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  body.hiru-cloud .size-choices small {
    font-size: 12px;
  }
  body.hiru-cloud .submit-row {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }
  body.hiru-cloud .submit-row button {
    width: 100%;
  }
  body.hiru-cloud :is(.history-item, .history-row) {
    grid-template-columns: minmax(0, 1fr);
  }
  body.hiru-cloud .history-actions {
    justify-content: flex-start;
  }
  body.hiru-cloud .history-head {
    align-items: flex-start;
    flex-direction: column;
  }
  body.hiru-cloud footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 28px;
  }
  dialog.hiru-prompt-dialog {
    padding: 20px;
  }
  .hiru-prompt-dialog h2 {
    font-size: 27px;
  }
  .hiru-guide-heading > span {
    font-size: 12px;
  }
  .hiru-guide-steps {
    gap: 10px;
  }
  .hiru-guide-steps li {
    font-size: 13px;
  }
  .hiru-guide-actions > * {
    flex: 1;
    white-space: nowrap;
  }
  .hiru-guide-model {
    gap: 6px;
    flex-direction: column;
  }
  .hiru-prompt-dialog label small {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  body.hiru-cloud *,
  body.hiru-cloud *::before,
  body.hiru-cloud *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
