:root {
  --ink: #16161d;
  --muted: #777986;
  --line: #e4e5e9;
  --paper: #f5f7f5;
  --white: #fff;
  --acid: #cfff48;
  --purple: #7869ea;
  --lavender: #f0edff;
  --shadow: 0 18px 50px rgba(33, 36, 46, .07);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", "Noto Sans SC", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.shell { min-height: 100vh; display: grid; grid-template-columns: 254px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 30px 20px 22px; color: #f8f8f5; background: #15151d; display: flex; flex-direction: column; z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; padding: 2px 6px 36px; }
.brand-mark { width: 34px; height: 34px; border: 1px solid #484852; border-radius: 11px; display: grid; place-items: center; position: relative; transform: rotate(-5deg); }
.brand-mark i { position: absolute; width: 13px; height: 4px; border-radius: 10px; background: var(--acid); transform: rotate(36deg); }
.brand-mark i:last-child { transform: rotate(-36deg); }
.brand strong { display: block; font-size: 21px; letter-spacing: -.7px; }
.brand small { display: block; margin-top: 4px; color: #777784; font-size: 8px; font-weight: 700; letter-spacing: 2.3px; }
.nav p { color: #5f606c; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; margin: 11px 12px 8px; text-transform: uppercase; }
.nav-item { width: 100%; height: 48px; border: 0; border-radius: 12px; padding: 0 12px; color: #a4a4af; background: transparent; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 4px; text-align: left; cursor: pointer; transition: .2s ease; }
.nav-item:hover { color: #fff; background: #1d1d27; }
.nav-item.active { color: #14151b; background: var(--acid); font-weight: 700; box-shadow: 0 10px 26px rgba(207, 255, 72, .14); }
.nav-icon { font-size: 17px; text-align: center; }
.nav-item b { min-width: 24px; height: 24px; padding: 0 7px; display: grid; place-items: center; font-size: 10px; border-radius: 8px; background: #24242e; color: #858691; }
.nav-item.active b { background: rgba(22,22,29,.09); color: #34351e; }
.sidebar-bottom { margin-top: auto; }
.plan-card { padding: 14px; background: linear-gradient(145deg, #21222a, #191921); border: 1px solid #2c2c36; border-radius: 15px; }
.plan-label { display: inline-block; padding: 4px 7px; margin-bottom: 10px; border-radius: 5px; color: var(--acid); background: rgba(207,255,72,.08); font-size: 8px; font-weight: 800; letter-spacing: 1.3px; }
.plan-card strong { display: block; font-size: 12px; }
.plan-card small { color: #787985; font-size: 10px; }
.progress { height: 5px; margin: 10px 0 7px; background: #30313a; border-radius: 5px; overflow: hidden; }.progress i { display: block; height: 100%; width: 72%; background: var(--acid); border-radius: inherit; }
.user { padding: 20px 3px 0; display: flex; gap: 10px; align-items: center; }.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #7b6cf0; font-weight: 700; }.user > span:nth-child(2) { flex: 1; }.user strong,.user small { display: block; }.user strong { font-size: 11px; }.user small { margin-top: 4px; color: #777884; font-size: 9px; }.user small i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 8px var(--acid); }.user button { color: #72737e; background: none; border: 0; cursor: pointer; }
main { min-width: 0; }
.topbar { height: 72px; padding: 0 34px; background: rgba(245,247,245,.84); border-bottom: 1px solid rgba(222,224,222,.8); backdrop-filter: blur(18px); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 15; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 12px; }.breadcrumb span,.breadcrumb b { color: #989aa3; }.breadcrumb b { font-weight: 400; }
.top-actions { display: flex; align-items: center; gap: 8px; }.icon-button,.help-button,.menu-button { height: 36px; border: 1px solid #dedfe3; background: #fff; border-radius: 10px; cursor: pointer; }.icon-button { width: 36px; font-size: 18px; }.notification { position: relative; }.notification i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #ff6847; right: 8px; top: 7px; border: 1px solid #fff; }.help-button { padding: 0 12px; font-size: 11px; font-weight: 600; }.menu-button { display: none; width: 36px; }
.content { max-width: 1540px; margin: auto; padding: 42px 34px 60px; }
.hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 28px; }
.eyebrow { color: var(--purple); font-size: 10px; font-weight: 800; letter-spacing: 2.4px; }
.hero h1 { margin: 10px 0 12px; font-family: "Noto Sans SC", sans-serif; font-size: clamp(34px, 3vw, 50px); line-height: 1.13; letter-spacing: -2.5px; }.hero h1 em { font-style: normal; position: relative; z-index: 1; }.hero h1 em:after { content: ""; position: absolute; z-index: -1; left: -2px; right: -6px; bottom: 3px; height: 12px; background: var(--acid); transform: rotate(-1deg); opacity: .8; }.hero p { margin: 0; color: var(--muted); font-size: 14px; }
.hero-status { min-width: 190px; padding: 12px 15px; border: 1px solid #e0e1e5; background: #fff; border-radius: 14px; box-shadow: 0 8px 24px rgba(30,34,40,.05); }.hero-status span { display: block; font-size: 11px; font-weight: 700; }.hero-status span i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #79d757; box-shadow: 0 0 0 4px rgba(121,215,87,.12); }.hero-status small { display: block; padding-left: 16px; margin-top: 3px; color: #a0a1aa; font-size: 9px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }.metrics article { min-height: 105px; padding: 18px; display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 5px 20px rgba(30,35,44,.025); }.metric-icon { flex: 0 0 auto; width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; font-weight: 700; }.metric-icon.mint { background: #efffd2; }.metric-icon.purple { background: #eeeaff; color: #7562e8; }.metric-icon.orange { background: #fff1dc; color: #ed943b; }.metric-icon.dark { background: #1b1b23; color: #fff; }.metrics small,.metrics strong,.metrics p { display: block; }.metrics small { color: #8e8f99; font-size: 10px; }.metrics strong { margin: 3px 0 1px; font-size: 25px; line-height: 1; }.metrics p { margin: 0; color: #a0a1aa; font-size: 9px; }.metrics p b { color: #52a83f; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.pilot-card { min-height: 88px; margin-bottom: 14px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(110deg, #fff 30%, #faf8ff 68%, #f8ffe6); }.pilot-title { display: flex; align-items: center; gap: 12px; min-width: 255px; }.spark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--acid); background: #17171f; }.pilot-title strong { display: block; font-size: 13px; }.pilot-title p { margin: 3px 0 0; color: #94959f; font-size: 9px; }.pilot-controls { display: flex; align-items: flex-end; gap: 10px; }.pilot-controls label > span:first-child { display: block; margin: 0 0 6px 3px; font-size: 9px; font-weight: 700; }.pilot-controls input[type=number] { width: 100px; height: 39px; padding: 0 12px; border: 1px solid #dfe0e5; background: #fff; border-radius: 10px; outline: none; }.money-input { position: relative; }.money-input i { position: absolute; left: 12px; top: 11px; font-size: 12px; font-style: normal; }.money-input input { padding-left: 26px !important; }.switch-row { min-width: 190px; height: 39px; padding: 6px 10px; border: 1px solid #dfe0e5; border-radius: 10px; display: flex; align-items: center; gap: 8px; background: #fff; cursor: pointer; }.switch-row input { position: absolute; opacity: 0; }.switch { flex: 0 0 auto; width: 30px; height: 17px; border-radius: 20px; background: #d4d5da; position: relative; transition: .2s; }.switch:after { content: ""; position: absolute; width: 13px; height: 13px; left: 2px; top: 2px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px #aaa; }.switch-row input:checked + .switch { background: #1b1b22; }.switch-row input:checked + .switch:after { left: 15px; background: var(--acid); }.switch-row b,.switch-row small { display: block; }.switch-row b { font-size: 9px; }.switch-row small { color: #9a9ba5; font-size: 8px; }
.button { border: 0; border-radius: 11px; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s; }.button:hover { transform: translateY(-1px); }.button.secondary { height: 39px; padding: 0 15px; color: #fff; background: #181820; font-size: 10px; }.button.ghost { padding: 9px 12px; color: #fff; background: #191920; font-size: 10px; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(300px, .72fr); gap: 14px; align-items: start; }.composer { padding: 26px; }.section-head,.preview-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }.section-head h2,.preview-head h2 { margin: 6px 0 0; font-size: 22px; letter-spacing: -.7px; }.mode-pill { padding: 9px 12px; border: 1px solid #e0e1e4; border-radius: 20px; font-size: 9px; font-weight: 700; }.mode-pill i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 3px rgba(207,255,72,.2); }
.mode-tabs { margin: 22px 0 14px; padding: 5px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: #f0f1f4; border-radius: 14px; }.mode-tabs button { padding: 11px 12px; border: 1px solid transparent; border-radius: 10px; color: #999aa4; background: transparent; text-align: left; cursor: pointer; display: grid; grid-template-columns: 24px 1fr; }.mode-tabs button span { grid-row: 1/3; font-size: 14px; }.mode-tabs button b,.mode-tabs button small { display: block; }.mode-tabs button b { font-size: 10px; color: #696a74; }.mode-tabs button small { margin-top: 2px; font-size: 8px; }.mode-tabs button.active { background: #fff; border-color: #dedfe4; box-shadow: 0 5px 14px rgba(30,32,40,.06); }.mode-tabs button.active b { color: #17171e; }
form { padding: 18px; background: linear-gradient(135deg, #f7f4ff, #fffafb 56%, #fbffe9); border: 1px solid #e4deef; border-radius: 16px; }.form-title,.form-title > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.spark.small { width: 31px; height: 31px; border-radius: 9px; }.form-title b,.form-title small { display: block; }.form-title b { font-size: 12px; }.form-title small { color: #999aa3; font-size: 8px; margin-top: 2px; }.form-grid { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.form-grid label > span,.brief-row > div > span { display: block; margin: 0 0 7px 2px; font-size: 9px; font-weight: 700; }.form-grid .full { grid-column: 1/-1; }.form-grid input,.form-grid textarea { width: 100%; padding: 11px 12px; border: 1px solid #dddee4; border-radius: 10px; background: rgba(255,255,255,.88); outline: none; font-size: 11px; transition: .2s; }.form-grid input:focus,.form-grid textarea:focus,.pilot-controls input:focus { border-color: #9182f0; box-shadow: 0 0 0 3px rgba(120,105,234,.1); }.form-grid textarea { height: 66px; resize: vertical; line-height: 1.55; }.form-grid textarea:last-child { height: 56px; }.form-grid ::placeholder { color: #abadb5; }
.brief-row { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(206,202,218,.6); display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 18px; }.segmented { padding: 3px; display: flex; gap: 2px; background: rgba(255,255,255,.75); border: 1px solid #e0e0e4; border-radius: 9px; }.segmented button { min-width: 45px; height: 28px; padding: 0 8px; border: 0; border-radius: 6px; color: #888a94; background: transparent; font-size: 9px; cursor: pointer; }.segmented button.active { color: #fff; background: #191920; }.estimate { padding-left: 14px; border-left: 1px solid #dfe0e4; }.estimate small { display: block; color: #93949e; font-size: 8px; }.estimate strong { font-size: 16px; }.estimate i { color: #999aa3; font-size: 8px; font-style: normal; }.button.primary { width: 100%; height: 47px; margin-top: 15px; padding: 0 16px; background: var(--acid); display: flex; align-items: center; justify-content: space-between; text-align: left; }.button.primary b { font-size: 9px; }
.preview { padding: 22px; color: #fff; background: #17171f; border-color: #17171f; }.preview-head button { padding: 8px 0; border: 0; color: #9a9ba5; background: none; font-size: 9px; cursor: pointer; }.video-poster { height: 390px; margin-top: 19px; border-radius: 15px; position: relative; overflow: hidden; background: linear-gradient(158deg, #7868d7 0%, #ad9cf5 40%, #eefad3 41%, #d8f49a 100%); }.video-poster:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(9,9,14,.5)); }.poster-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 8px; border-radius: 7px; color: #17171f; background: var(--acid); font-size: 8px; font-weight: 800; }.sun { position: absolute; width: 155px; height: 155px; border-radius: 50%; right: -40px; top: 35px; border: 1px solid rgba(255,255,255,.55); box-shadow: inset 0 0 0 22px rgba(255,255,255,.06), inset 0 0 0 44px rgba(255,255,255,.06); }.bottle { position: absolute; z-index: 1; width: 115px; height: 210px; left: calc(50% - 25px); top: 103px; background: linear-gradient(90deg, #eff5dd, #fff, #c9e58a); border-radius: 28px 28px 34px 34px; transform: rotate(11deg); box-shadow: 0 30px 36px rgba(40,47,26,.25); }.bottle:before { content: ""; position: absolute; width: 65px; height: 40px; left: 25px; top: -24px; background: #24242b; border-radius: 13px 13px 8px 8px; }.bottle:after { content: ""; position: absolute; width: 45px; height: 16px; left: 35px; top: -34px; border-radius: 12px; background: #cfff48; }.bottle span { position: absolute; top: 92px; left: 26px; color: #20221d; font-weight: 800; letter-spacing: 2px; font-size: 15px; }.bottle i { position: absolute; width: 65px; height: 65px; right: -25px; bottom: 25px; border: 6px solid rgba(255,255,255,.68); border-radius: 50%; }.poster-copy { position: absolute; z-index: 2; left: 20px; top: 67px; }.poster-copy small { display: block; color: rgba(255,255,255,.75); font-size: 7px; font-weight: 800; letter-spacing: 2px; }.poster-copy strong { display: block; margin-top: 7px; font-size: 23px; line-height: 1.2; letter-spacing: -1px; }.play { position: absolute; z-index: 3; left: 18px; bottom: 21px; width: 34px; height: 34px; color: #15151b; background: #fff; border: 0; border-radius: 50%; cursor: pointer; }.timeline { position: absolute; z-index: 3; left: 62px; right: 18px; bottom: 36px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.35); }.timeline i { display: block; width: 35%; height: 100%; background: #fff; }.creative-info { padding: 15px 1px 12px; border-bottom: 1px solid #303039; }.creative-info > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.creative-info strong { font-size: 11px; }.score { padding: 4px 6px; color: var(--acid); background: rgba(207,255,72,.09); border-radius: 5px; font-size: 7px; }.creative-info p { margin: 6px 0 0; color: #777984; font-size: 8px; }.creative-info p span { float: right; }.insight { margin-top: 14px; padding: 11px; display: flex; gap: 9px; background: #202129; border-radius: 10px; }.insight > span { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 8px; display: grid; place-items: center; color: #202118; background: var(--acid); }.insight b { display: block; font-size: 9px; }.insight p { margin: 3px 0 0; color: #8d8e99; font-size: 8px; line-height: 1.5; }
.toast { position: fixed; z-index: 50; right: 26px; top: 88px; min-width: 250px; padding: 13px 15px; display: flex; gap: 10px; align-items: center; background: #17171f; color: #fff; border: 1px solid #33333d; border-radius: 13px; box-shadow: 0 18px 50px rgba(0,0,0,.2); transform: translateX(calc(100% + 40px)); opacity: 0; transition: .35s ease; }.toast.show { transform: none; opacity: 1; }.toast > span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #17171f; background: var(--acid); }.toast b,.toast p { display: block; }.toast b { font-size: 10px; }.toast p { margin: 3px 0 0; color: #8e8f98; font-size: 8px; }
.modal { position: fixed; inset: 0; z-index: 60; padding: 20px; display: grid; place-items: center; background: rgba(13,13,18,.58); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: .25s; }.modal.show { opacity: 1; pointer-events: auto; }.modal-card { width: min(470px, 100%); padding: 34px; background: #fff; border-radius: 24px; text-align: center; box-shadow: 0 30px 100px rgba(0,0,0,.24); transform: translateY(14px) scale(.98); transition: .25s; position: relative; }.modal.show .modal-card { transform: none; }.modal-close { position: absolute; right: 16px; top: 14px; border: 0; background: none; color: #999; font-size: 22px; cursor: pointer; }.success-mark { width: 54px; height: 54px; margin: 0 auto 16px; display: grid; place-items: center; color: #17171f; background: var(--acid); border-radius: 16px; font-size: 24px; font-weight: 800; }.modal h2 { margin: 7px 0 8px; font-size: 24px; }.modal > .modal-card > p { margin: 0 auto 22px; max-width: 330px; color: #858690; font-size: 11px; line-height: 1.7; }.task-progress { height: 6px; margin: 22px 0 12px; border-radius: 6px; background: #eeeef1; overflow: hidden; }.task-progress i { display: block; width: 34%; height: 100%; background: linear-gradient(90deg, #806ce8, #cfff48); border-radius: inherit; animation: loading 2.6s ease-in-out infinite; }.task-steps { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 15px; color: #bbbcc3; font-size: 8px; }.task-steps .done { color: #529c3d; }.task-steps .active { color: #7562e8; font-weight: 700; }
@keyframes loading { 0% { width: 18%; } 50% { width: 63%; } 100% { width: 34%; } }
@media (max-width: 1180px) { .metrics { grid-template-columns: repeat(2,1fr); }.pilot-card { align-items: flex-start; }.pilot-controls { flex-wrap: wrap; justify-content: flex-end; }.workspace-grid { grid-template-columns: 1fr; }.preview { display: grid; grid-template-columns: minmax(240px, .6fr) 1fr; gap: 0 22px; }.preview-head { grid-column: 1/-1; }.video-poster { grid-row: 2/5; }.creative-info { align-self: end; }.insight { align-self: start; } }
@media (max-width: 820px) { .shell { grid-template-columns: 1fr; }.sidebar { position: fixed; left: 0; transform: translateX(-100%); transition: .3s; box-shadow: 20px 0 60px rgba(0,0,0,.2); }.sidebar.open { transform: none; }.menu-button { display: inline-grid; place-items: center; }.topbar { padding: 0 18px; }.content { padding: 28px 18px 45px; }.hero { align-items: flex-start; }.hero-status { display: none; }.pilot-card { display: block; }.pilot-controls { margin-top: 16px; justify-content: flex-start; }.workspace-grid { display: block; }.preview { display: block; margin-top: 14px; }.video-poster { max-width: 400px; margin-inline: auto; }.preview-head { margin-bottom: 12px; } }
@media (max-width: 580px) { .content { padding-inline: 12px; }.help-button span { display: none; }.hero h1 { font-size: 34px; }.metrics { grid-template-columns: 1fr 1fr; gap: 8px; }.metrics article { min-height: 116px; padding: 14px; display: block; }.metric-icon { margin-bottom: 10px; }.pilot-controls { display: grid; grid-template-columns: 1fr 1fr; }.pilot-controls input[type=number] { width: 100%; }.switch-row { grid-column: 1/-1; }.button.secondary { grid-column: 1/-1; }.composer { padding: 17px; }.section-head { align-items: flex-start; }.mode-pill { display: none; }.mode-tabs { grid-template-columns: 1fr; }.mode-tabs button:not(.active) { display: none; }.form-grid { grid-template-columns: 1fr; }.form-grid .full { grid-column: auto; }.brief-row { grid-template-columns: 1fr; }.estimate { padding: 0; border: 0; }.button.primary { height: 52px; }.video-poster { height: 430px; } }

/* Connected application states */
.hero-status span i.offline { background: #ff885f; box-shadow: 0 0 0 4px rgba(255,136,95,.12); }
.hero-status span b { font-size: 11px; }
.task-id { display: inline-block; padding: 5px 8px; color: #7466d5; background: #f0edff; border-radius: 6px; font-size: 9px; }
.task-progress i { width: 5%; animation: none; transition: width .35s ease; }
.button:disabled { opacity: .58; cursor: wait; transform: none; }
.toast.error > span { color: #fff; background: #ff6847; }
.auth-modal { z-index: 70; background: radial-gradient(circle at 50% 30%, rgba(120,105,234,.24), transparent 42%), rgba(13,13,18,.82); }
.auth-card { width: min(430px, 100%); padding: 34px; text-align: left; }
.auth-brand { margin-bottom: 22px; background: #17171f; }
.auth-card h2 { margin-top: 8px; }
.auth-card > p { margin: 0 0 20px !important; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 14px; background: #f0f1f4; border-radius: 11px; }
.auth-tabs button { height: 34px; border: 0; border-radius: 8px; color: #92939d; background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }
.auth-tabs button.active { color: #fff; background: #191920; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.auth-card form { padding: 0; background: transparent; border: 0; }
.auth-card form label { display: block; margin-top: 12px; }
.auth-card form label > span { display: block; margin: 0 0 6px 2px; font-size: 9px; font-weight: 700; }
.auth-card form input { width: 100%; height: 43px; padding: 0 12px; border: 1px solid #dddee4; border-radius: 10px; outline: none; }
.auth-card form input:focus { border-color: #9182f0; box-shadow: 0 0 0 3px rgba(120,105,234,.1); }
.form-error { min-height: 17px; margin: 8px 2px 0; color: #d84f37; font-size: 9px; }
