/* SOROT — studio interface. Loaded after the base component styles. */
:root {
  --night: #0b0d10;
  --deep: #11151a;
  --panel: #15191f;
  --panel-2: #1b2026;
  --line: #ffffff22;
  --line-strong: #b83b465c;
  --soft: #d2d5da;
  --dim: #a6abb4;
  --gold: #e6515e;
  --gold-light: #ff8991;
  --wine: #bc303f;
}
body { background: #0b0d10; }
.topbar {
  height: 72px;
  background: #0b0d10f2;
  border-bottom-color: #ffffff1b;
}
.brand { gap: 12px; font-size: 19px; letter-spacing: .06em; }
.brand b { letter-spacing: .1em; }
.brand small { margin-top: 2px; font-size: 9px; letter-spacing: .2em; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  border: 1px solid #ec5964;
  background: #bf2838;
  box-shadow: none;
  font-size: 19px;
}
.privacy { font-size: 12px; color: #c5cad1; }
.shell { min-height: calc(100vh - 72px); grid-template-columns: 244px minmax(0, 1fr); }
.rail { padding: 45px 17px 36px; background: #101318; }
.rail::after { display: none; }
.rail-heading { padding: 0 13px 25px; color: #aeb3bb; font-size: 10px; letter-spacing: .18em; }
.rail nav::before { top: 22px; bottom: 22px; left: 30px; background: #ffffff1a; }
.rail button {
  min-height: 58px;
  gap: 14px;
  padding: 8px 12px;
  border-radius: 3px;
  border-bottom-color: #ffffff0d;
  font-size: 12px;
  font-weight: 700;
}
.rail button b {
  width: 34px;
  height: 34px;
  border-radius: 3px;
  border-color: #ffffff32;
  background: #181c22;
  color: #c3c8cf;
  font-size: 10px;
}
.rail button.active { border-bottom-color: #e6515e85; background: #aa29371b; }
.rail button.active::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 2px; background: #ed5360; }
.rail button.active::after { color: #fa8790; }
.rail button.active b { background: #c43342; border-color: #c43342; box-shadow: none; }
.rail-note { margin: 36px 13px; padding-top: 19px; font-size: 11px; line-height: 1.7; }
.shell main { padding: 0 clamp(24px, 5vw, 78px) 84px; }
.intro {
  max-width: 1100px;
  min-height: 280px;
  padding: 48px 0 36px;
  border-bottom-color: #ffffff24;
}
.intro::before { width: 490px; height: 490px; top: -260px; right: -4%; background: radial-gradient(circle, #a82c3740, transparent 65%); filter: blur(30px); }
.intro::after { content: ''; top: 33px; right: 0; width: 150px; height: 150px; border: 1px solid #e6515e35; border-radius: 0; -webkit-text-stroke: 0; transform: rotate(-25deg); }
.eyebrow, .step-label { color: #f0737e; font-size: 10px; letter-spacing: .18em; }
.intro h1 {
  margin: 19px 0 17px;
  font-size: clamp(46px, 5vw, 70px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.065em;
}
.intro h1 em { color: #f06b76; font-weight: 700; }
.intro p { max-width: 670px; font-size: 14px; line-height: 1.7; }
.intro-meta { margin-top: 22px; gap: 10px 22px; font-size: 10px; }
.intro-meta b { color: #f0737e; }
.page {
  max-width: 1100px;
  margin-top: 26px;
  padding: clamp(24px, 3.3vw, 42px);
  border: 1px solid #ffffff27;
  border-radius: 6px;
  background: #171b21;
  box-shadow: 0 22px 55px #0004;
}
.page-heading { margin-bottom: 27px; padding-bottom: 22px; }
.page h2 { font-weight: 700; letter-spacing: -.05em; }
.page-heading p { font-size: 13px; color: #c6cad1; }
.drop, .source-card, .ai-result, .editor-preview, .controls, .metric, .export-card, .variant-card { border-radius: 5px; }
.drop { border-color: #d9505a8c; background: #12161b; }
.drop:hover, .drop.dragging { background: #1c2026; }
.drop-icon { border-radius: 4px; width: 52px; height: 52px; }
.source-card, .ai-result, .controls, .export-card { background: #11151a; }
.details label, .ai-form label, .controls label { gap: 8px; font-size: 12px; }
.details input, .ai-form textarea, .ai-form select, .controls select, .connect-form input {
  min-height: 46px;
  border-color: #ffffff3d;
  border-radius: 4px;
  background: #0d1014;
  color: #fff;
}
.details input::placeholder, .ai-form textarea::placeholder { color: #a7adb6; }
.select-trigger {
  min-height: 46px;
  border-color: #ffffff50;
  border-radius: 4px;
  background: #0d1014;
  font-size: 13px;
}
.select-menu { border-radius: 4px; border-color: #ffffff38; background: #181c21; padding: 5px; }
.select-option { border-radius: 2px; font-size: 12px; }
.select-option:hover, .select-option:focus-visible { background: #71313a; }
.select-option[aria-selected="true"] { background: #b83342; }
.primary, .secondary, .field-ai-button, .concept-grid button, .profile-list button, .look-list button, .instant-card, .source-thumb {
  border-radius: 4px;
}
.primary, .secondary { min-height: 46px; font-size: 12px; }
.primary { border-color: #d74854; background: #bd2f3d; box-shadow: none; }
.primary:hover:not(:disabled) { background: #d33d4a; box-shadow: 0 8px 20px #c42f3b30; }
.secondary { border-color: #b94a55; background: #261a20; }
.secondary:hover:not(:disabled) { background: #3b242b; }
.primary:disabled, .secondary:disabled { background: #494e55; border-color: #666d76; }
.field-ai-button { min-height: 34px; padding: 7px 11px; background: #452329; border-color: #d45560a8; }
.ai-connection-state, .auto-panel, .ai-connect, .gemini-feedback.error, .concept-grid button, .profile-list button, .look-list button, .quality-notes, .instant-results, .studio-progress { border-radius: 4px; }
.ai-connection-state { padding: 9px 11px; }
.auto-panel { background: #1b2026; border-color: #ffffff32; }
.concept-grid button { background: #101419; }
.concept-grid button:hover, .concept-grid button.active { background: #642630; }
.concept-grid strong { font-size: 15px; }
.concept-grid span, .concept-heading p, .helper, .export-note { font-size: 12px; }
.profile-list button, .look-list button { background: #15191e; }
.source-image, .working-image { background: repeating-conic-gradient(#22262b 0 25%, #1a1e23 0 50%) 0 0 / 18px 18px; }
.variant-frame { border-radius: 3px; }
.metric strong { color: #f18a92; }
@media (max-width: 1020px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .rail { min-width: 0; padding: 0 22px; overflow: hidden; }
  .rail nav { max-width: 100%; }
  .rail button.active::before { inset: auto 0 0; width: auto; height: 2px; }
  .shell main { padding: 0 30px 70px; }
}
@media (max-width: 700px) {
  .topbar { height: 66px; padding: 0 17px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 34px; height: 34px; }
  .rail { padding: 0 10px; }
  .rail button { min-height: 52px; gap: 8px; padding: 6px 10px; font-size: 11px; }
  .rail button b { width: 28px; height: 28px; }
  .shell main { padding: 0 15px 60px; }
  .intro { padding: 38px 4px 31px; min-height: 0; }
  .intro::after { width: 95px; height: 95px; right: -36px; top: 32px; }
  .intro h1 { font-size: clamp(43px, 10.7vw, 61px); }
  .intro p { font-size: 13px; }
  .page { margin-top: 18px; padding: 21px; }
  .drop { min-height: 218px; }
  .concept-grid button { padding: 14px; }
}
