:root{
  --ink:#151827;--muted:#707584;--line:#e7e8ee;--soft:#f7f7fa;--purple:#6a5cff;--pink:#ff4d8d;--orange:#ff9a3c;--green:#1e9a64;--yellow:#fff6cc;--shadow:0 18px 50px rgba(31,31,58,.10);
  font-family:Inter,"Be Vietnam Pro",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff
}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#fff}button,textarea,input{font:inherit}.app-shell{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.topbar{height:64px;flex:0 0 64px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(255,255,255,.96);backdrop-filter:blur(16px);z-index:40}.topbar-left,.brand{display:flex;align-items:center}.topbar-left{gap:8px}.brand{gap:10px}.brand-mark{width:38px;height:38px;border-radius:14px;background:linear-gradient(135deg,var(--purple),var(--pink) 48%,var(--orange));display:grid;place-items:center;box-shadow:0 8px 20px rgba(106,92,255,.24);transform:rotate(-5deg)}.brand-mark span{color:#fff;font-size:20px;font-weight:900;transform:rotate(5deg)}.brand strong{display:block;font-size:16px;letter-spacing:.08em}.brand small{display:block;color:var(--muted);font-size:10px;margin-top:1px}.menu-button,.sidebar-close{border:0;background:transparent;color:#414552}.menu-button{width:42px;height:42px;border-radius:13px;display:grid;place-items:center}.menu-button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.menu-button:active{background:var(--soft)}.usage-pill{border:1px solid var(--line);background:#fff;border-radius:999px;height:38px;padding:0 13px;display:flex;align-items:center;gap:7px;font-weight:750;color:#4b4e5c}.usage-dot{width:8px;height:8px;border-radius:50%;background:var(--orange)}
.workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);background:#fff}.left-sidebar{position:fixed;inset:64px auto 0 0;width:min(86vw,286px);z-index:55;background:#fff;border-right:1px solid var(--line);padding:16px 14px calc(14px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:14px;transform:translateX(-105%);transition:transform .2s ease;box-shadow:18px 0 48px rgba(24,27,45,.14)}.left-sidebar.open{transform:translateX(0)}.mobile-overlay{position:fixed;inset:64px 0 0;background:rgba(20,22,34,.32);z-index:50}.mobile-overlay[hidden]{display:none}.sidebar-head{display:flex;align-items:center;justify-content:space-between;padding:0 4px}.sidebar-head strong{font-size:13px;color:#656a78}.sidebar-close{width:38px;height:38px;border-radius:50%;font-size:26px}.new-video-button{width:100%;height:50px;border:0;border-radius:16px;background:linear-gradient(105deg,var(--purple),var(--pink));color:#fff;font-weight:850;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 12px 28px rgba(106,92,255,.24)}.new-video-button span:first-child{font-size:22px;font-weight:400}.sidebar-nav{display:grid;gap:6px}.nav-item{width:100%;border:0;background:transparent;border-radius:15px;padding:11px 10px;display:grid;grid-template-columns:34px 1fr;gap:8px;text-align:left;color:#3d414f}.nav-item.active{background:#f0efff;color:#4436c9}.nav-item:active{transform:scale(.99)}.nav-icon{font-size:18px;display:grid;place-items:center}.nav-item strong,.nav-item small{display:block}.nav-item strong{font-size:13px}.nav-item small{font-size:10px;color:#818594;margin-top:3px;line-height:1.35}.sidebar-tip{margin-top:auto;border:1px solid #efe9ff;background:linear-gradient(145deg,#faf8ff,#fff8f2);border-radius:18px;padding:13px;display:flex;gap:10px}.tip-fire{font-size:20px}.sidebar-tip strong{display:block;font-size:12px}.sidebar-tip p{font-size:11px;color:#686d7a;line-height:1.45;margin:5px 0 0}.sidebar-account{border-top:1px solid var(--line);padding:13px 5px 0;display:grid;grid-template-columns:38px 1fr auto;gap:9px;align-items:center}.account-avatar{width:38px;height:38px;border-radius:13px;background:#f0efff;color:var(--purple);display:grid;place-items:center;font-weight:900}.sidebar-account strong,.sidebar-account small{display:block}.sidebar-account strong{font-size:12px}.sidebar-account small{font-size:10px;color:var(--muted);margin-top:2px}.account-more{color:#8a8d98}
.conversation-panel{min-width:0;min-height:0;display:flex;flex-direction:column;position:relative;background:#fff}.conversation{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;max-width:820px;width:100%;margin:0 auto;padding:24px 15px 28px;scroll-behavior:smooth}.assistant-message,.user-message{display:flex;margin:0 0 24px}.assistant-message{gap:11px;align-items:flex-start}.assistant-avatar{flex:0 0 auto;width:32px;height:32px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,var(--purple),var(--pink));color:#fff;font-weight:900;box-shadow:0 7px 18px rgba(106,92,255,.19)}.message-content{min-width:0;max-width:100%;font-size:15px;line-height:1.56}.assistant-message .message-content{padding-top:3px}.welcome-message h1{font-size:27px;line-height:1.17;margin:0 0 12px;letter-spacing:-.025em}.welcome-message p{font-size:15px;color:#515563;margin:0;max-width:680px}.quick-prompts{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.quick-prompts button{min-height:42px;border:1px solid var(--line);border-radius:999px;background:#fff;padding:0 14px;color:#414552;font-size:13px;font-weight:750}.quick-prompts button:active{transform:scale(.98);background:var(--soft)}.user-message{justify-content:flex-end}.user-message .message-content{background:#f0efff;border:1px solid #dfdcff;border-radius:20px 20px 5px 20px;padding:12px 14px;max-width:min(88%,610px)}.user-message p{margin:0;white-space:pre-wrap}.message-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:9px}.message-attachments:empty{display:none}.message-attachment{display:flex;align-items:center;gap:7px;padding:7px 9px;border-radius:11px;background:rgba(255,255,255,.78);font-size:12px;max-width:100%}.message-attachment span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assistant-message h2{font-size:19px;margin:0 0 8px}.assistant-message p{margin:0 0 11px}.assistant-message ul{margin:8px 0 14px;padding-left:20px}.assistant-message li{margin:5px 0}.draft-label{display:inline-flex;align-items:center;gap:6px;color:#765f00;background:#fff7d7;border:1px solid #f2dea0;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;margin-bottom:9px}.script-card{border:1px solid var(--line);border-radius:18px;padding:15px;background:#fff;box-shadow:0 9px 28px rgba(35,35,58,.06);margin-top:12px}.script-card header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:12px}.script-card header strong{font-size:15px}.script-card header span{font-size:11px;color:var(--muted);background:var(--soft);padding:5px 8px;border-radius:999px}.script-grid{display:grid;gap:8px}.script-row{display:grid;grid-template-columns:88px 1fr;gap:10px;padding:8px 0;border-top:1px solid #f0f0f4}.script-row:first-child{border-top:none}.script-row b{font-size:12px;color:var(--muted)}.script-row span{font-size:13px}.message-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}.secondary-button,.outline-button{min-height:44px;border-radius:13px;padding:0 14px;font-weight:750;font-size:14px}.secondary-button{border:1px solid var(--line);background:#fff;color:#343746}.outline-button{border:1px solid #cfcaff;background:#f8f7ff;color:#5546d9}.outline-button:disabled{opacity:.45}.primary-button{min-height:48px;border:0;border-radius:14px;padding:0 20px;color:#fff;font-weight:850;font-size:15px;background:linear-gradient(100deg,var(--purple),#8257f3 45%,var(--pink));box-shadow:0 11px 24px rgba(106,92,255,.23)}.primary-button:active{transform:translateY(1px)}.primary-button.full{width:100%}
.chat-bottom{flex:0 0 auto;position:relative;z-index:18;background:linear-gradient(to top,#fff 86%,rgba(255,255,255,.88));border-top:1px solid rgba(231,232,238,.7);padding:8px 10px calc(8px + env(safe-area-inset-bottom))}.mobile-summary-button{width:min(100%,820px);margin:0 auto 7px;border:1px solid #e5e2ff;background:#faf9ff;border-radius:14px;padding:8px 11px;display:flex;align-items:center;justify-content:space-between;text-align:left;color:#373a49}.mobile-summary-button b,.mobile-summary-button small{display:block}.mobile-summary-button b{font-size:12px}.mobile-summary-button small{font-size:10px;color:#777b89;margin-top:2px}.mobile-summary-arrow{font-size:18px;color:var(--purple)}.approval-dock{max-width:820px;margin:0 auto 7px;background:rgba(255,255,255,.98);border:1px solid #ddd9ff;border-radius:16px;padding:9px 9px 9px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;box-shadow:var(--shadow)}.approval-dock[hidden]{display:none}.approval-dock small{display:block;color:var(--green);font-size:10px;font-weight:800}.approval-dock strong{display:block;font-size:12px;margin-top:2px}.approval-dock .primary-button{min-width:122px}.composer{max-width:820px;margin:0 auto}.composer-row{display:flex;align-items:flex-end;gap:8px;padding:7px;background:#fff;border:1px solid #dfe0e7;border-radius:23px;box-shadow:0 10px 30px rgba(29,31,50,.10)}.icon-button,.send-button{width:44px;height:44px;border-radius:50%;flex:0 0 auto;display:grid;place-items:center}.add-button{border:0;background:var(--soft);font-size:27px;font-weight:300;color:#424654}.send-button{border:0;background:linear-gradient(135deg,var(--purple),var(--pink));color:#fff}.send-button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.send-button:disabled{background:#dedfe5;color:#fff}.input-wrap{display:flex;align-items:center;min-height:44px;flex:1}.input-wrap textarea{width:100%;resize:none;border:0;outline:0;background:transparent;font:inherit;font-size:16px;line-height:1.4;max-height:120px;padding:10px 3px 8px;color:var(--ink)}.input-wrap textarea::placeholder{color:#9a9daa}.composer-note{margin:5px 6px 0;text-align:center;font-size:9px;color:#8b8e99}.attachment-strip{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 7px;scrollbar-width:none}.attachment-strip[hidden]{display:none}.attachment-strip::-webkit-scrollbar{display:none}.attachment-chip{display:flex;align-items:center;gap:7px;min-width:0;max-width:255px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:7px 8px;box-shadow:0 7px 20px rgba(30,30,50,.06)}.attachment-thumb{width:34px;height:34px;border-radius:8px;object-fit:cover;background:var(--soft);display:grid;place-items:center;font-size:15px}.attachment-meta{min-width:0}.attachment-meta strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-role{border:0;background:transparent;color:var(--purple);padding:0;font-size:10px;font-weight:800;text-align:left}.attachment-chip>.remove-attachment{border:0;background:transparent;width:28px;height:28px;border-radius:50%;font-size:17px;color:#7d808c}
.summary-panel{display:none}.summary-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:17px;box-shadow:0 14px 38px rgba(30,32,54,.06)}.summary-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:12px}.summary-header h2{font-size:18px;margin:0}.summary-header p{font-size:10px;color:var(--muted);margin:3px 0 0}.live-badge{font-size:9px;color:#6d5f00;background:var(--yellow);border-radius:999px;padding:5px 8px;white-space:nowrap}.progress-pill{border-radius:12px;background:#f0efff;color:#5144cf;font-size:11px;font-weight:850;padding:9px 11px;margin-bottom:11px}.summary-checklist{display:grid}.summary-check{display:grid;grid-template-columns:18px 1fr;gap:8px;align-items:center;padding:9px 0;border-top:1px solid #f0f0f4}.summary-check:first-child{border-top:0}.check-dot{width:10px;height:10px;border:2px solid #c5c8d1;border-radius:50%;margin-left:2px}.summary-check.complete .check-dot{border-color:var(--green);background:var(--green);box-shadow:inset 0 0 0 2px #fff}.summary-check.optional .check-dot{border-color:#b8b0ff;background:#eeeaff}.summary-check small,.summary-check strong{display:block}.summary-check small{font-size:10px;color:var(--muted)}.summary-check strong{font-size:12px;margin-top:2px}.creative-plan{border-top:1px solid var(--line);margin-top:5px;padding-top:12px}.creative-plan h3{font-size:12px;margin:0 0 7px}.creative-plan dl{margin:0}.creative-plan dl>div{display:grid;grid-template-columns:104px 1fr;gap:8px;padding:7px 0}.creative-plan dt{font-size:10px;color:var(--muted)}.creative-plan dd{margin:0;font-size:11px;font-weight:750;text-align:right}.next-action-card{border-radius:14px;background:linear-gradient(135deg,#f7f4ff,#fff6ef);padding:11px 12px;margin-top:12px}.next-action-card span,.next-action-card strong{display:block}.next-action-card span{font-size:9px;color:#7a6fc2;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.next-action-card strong{font-size:11px;line-height:1.45;margin-top:4px}.safety-note{border-radius:14px;background:#f0faf5;padding:10px 12px;margin-top:9px}.safety-note strong,.safety-note span{display:block}.safety-note strong{font-size:11px;color:var(--green)}.safety-note span{font-size:10px;color:#527061;margin-top:3px;line-height:1.4}
.sheet-backdrop{position:fixed;inset:0;background:rgba(18,20,31,.34);z-index:80;display:flex;align-items:flex-end;justify-content:center;padding:12px}.sheet-backdrop[hidden]{display:none}.bottom-sheet{width:min(100%,520px);max-height:calc(100dvh - 24px);overflow:auto;background:#fff;border-radius:24px 24px 20px 20px;padding:8px 16px calc(18px + env(safe-area-inset-bottom));box-shadow:0 24px 80px rgba(0,0,0,.24);animation:sheetIn .18s ease-out}.sheet-handle{width:42px;height:5px;border-radius:999px;background:#d7d8dd;margin:2px auto 11px}.sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.sheet-head h2{font-size:19px;margin:0}.sheet-head p{font-size:11px;color:var(--muted);margin:3px 0 0}.sheet-head button{width:40px;height:40px;border-radius:50%;border:0;background:var(--soft);font-size:24px;color:#555866}.source-option{width:100%;min-height:72px;border:1px solid var(--line);background:#fff;border-radius:17px;padding:10px 12px;display:flex;align-items:center;gap:12px;text-align:left;margin-top:9px}.source-option>span{width:44px;height:44px;border-radius:14px;background:#f0efff;color:var(--purple);display:grid;place-items:center;font-size:20px}.source-option strong,.source-option small{display:block}.source-option strong{font-size:15px}.source-option small{font-size:12px;color:var(--muted);margin-top:2px}.field-label{display:block;font-size:13px;font-weight:750;margin:14px 0 7px}.link-input{width:100%;height:52px;border:1px solid #d8d9e0;border-radius:14px;padding:0 13px;font-size:16px;outline:0}.link-input:focus{border-color:var(--purple);box-shadow:0 0 0 3px rgba(106,92,255,.10)}.field-help{font-size:12px;color:var(--muted);line-height:1.45;margin:8px 2px 16px}.notice-sheet{text-align:center}.notice-icon{width:58px;height:58px;border-radius:50%;background:#e9f8f0;color:var(--green);display:grid;place-items:center;font-size:29px;font-weight:900;margin:6px auto 12px}.notice-sheet h2{font-size:21px;margin:0 0 8px}.notice-sheet p{color:var(--muted);line-height:1.55;margin:0 0 18px}.summary-checklist.compact{grid-template-columns:1fr 1fr;gap:0 14px}.compact-plan{margin-top:8px}.mobile-summary-sheet .next-action-card{margin-bottom:4px}@keyframes sheetIn{from{transform:translateY(18px);opacity:.5}to{transform:none;opacity:1}}
@media (min-width:1080px){
  body{background:#f7f7fa}.menu-button,.sidebar-close{display:none}.workspace{grid-template-columns:246px minmax(0,1fr) 304px;gap:16px;padding:16px;max-width:1520px;width:100%;margin:0 auto;background:#f7f7fa}.left-sidebar{position:relative;inset:auto;width:auto;transform:none;z-index:1;border:1px solid var(--line);border-radius:22px;padding:15px 13px;box-shadow:0 12px 40px rgba(25,28,49,.04)}.conversation-panel{border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 12px 40px rgba(25,28,49,.04)}.conversation{padding:34px 32px 28px}.summary-panel{display:block;min-height:0;overflow:auto}.summary-card{position:sticky;top:0}.mobile-summary-button{display:none}.chat-bottom{padding:10px 18px 12px}.welcome-message h1{font-size:32px}.sheet-backdrop{align-items:center}.bottom-sheet{border-radius:24px}.sheet-handle{display:none}
}
@media (max-width:420px){.brand small{display:none}.usage-pill{padding:0 10px}.welcome-message h1{font-size:24px}.welcome-message p{font-size:14px}.quick-prompts button{font-size:12px;padding:0 11px}.composer-note{display:none}.approval-dock strong{max-width:170px}.summary-checklist.compact{grid-template-columns:1fr}}

/* V2F4F2 approved SENSEL identity assets from locked Brand Canary V1. */
.brand-mark{
  flex:0 0 38px!important;
  width:38px!important;height:38px!important;
  min-width:38px!important;max-width:38px!important;
  min-height:38px!important;max-height:38px!important;
  background:none;box-shadow:none;transform:none;overflow:hidden;
  contain:strict;
}
.brand-mark img{
  display:block!important;
  width:38px!important;height:38px!important;
  min-width:0!important;max-width:38px!important;
  min-height:0!important;max-height:38px!important;
  object-fit:cover;border-radius:14px;
}
.brand-mark span{display:none}
.assistant-avatar,.account-avatar{
  background:#0e1324 url("brand/sensel-icon-120-v2f4f2.png") center/cover no-repeat!important;
  color:transparent!important;font-size:0!important;overflow:hidden
}
