@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.flex-wrap{flex-wrap:wrap}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root,html[data-theme=moonshine]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#080d12;--foreground:#f5f7f9;--surface-1:#0d141b;--surface-2:#121b24;--surface-3:#18232e;--surface-hover:#1c2935;--border:#ffffff17;--border-strong:#ffffff29;--muted:#8996a5;--muted-foreground:#aeb8c3;--primary:#c6f100;--primary-hover:#d5ff1c;--primary-foreground:#101600;--accent:#00bfae;--accent-foreground:#001b18;--danger:#ff6b6b;--warning:#ffce5c;--success:#72d68c;--focus-ring:#c6f100;--sidebar:#090f15;--composer:#0d141bf5;--user-bubble:#25303c;--shadow:0 18px 44px #0000003d;--brand-cutout:var(--surface-1)}.auth-shell{background:var(--background);min-height:100svh;color:var(--foreground);place-items:center;padding:24px;display:grid}.auth-card{border:1px solid var(--border);background:var(--card);border-radius:20px;gap:18px;width:min(100%,440px);padding:28px;display:grid}.auth-card__eyebrow{color:var(--muted-foreground);text-transform:uppercase;letter-spacing:.08em;font-size:12px}.auth-form{gap:14px;display:grid}.auth-form label{gap:6px;font-size:13px;font-weight:600;display:grid}.auth-form input{border:1px solid var(--border);background:var(--background);width:100%;min-height:44px;color:var(--foreground);border-radius:10px;padding:0 12px}.auth-form input:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.auth-card__status{min-height:20px;color:var(--muted-foreground)}.auth-card__links{flex-wrap:wrap;gap:12px;display:flex}.auth-card__links button{color:var(--foreground);cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}html[data-theme=sunlight]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f7f8fa;--foreground:#111820;--surface-1:#fff;--surface-2:#f2f5f7;--surface-3:#e9eef2;--surface-hover:#e4e9ed;--border:#dce3e8;--border-strong:#c8d1d8;--muted:#667381;--muted-foreground:#465462;--primary:#b9e600;--primary-hover:#a9d400;--primary-foreground:#111700;--accent:#009f92;--accent-foreground:#fff;--danger:#c83c3c;--warning:#9d6d00;--success:#287a42;--focus-ring:#7fa000;--sidebar:#fff;--composer:#fffffff7;--user-bubble:#eef2f5;--shadow:0 16px 38px #1f2d3d17;--brand-cutout:var(--surface-1)}*{box-sizing:border-box}html,body{background:var(--background);min-height:100%;color:var(--foreground);margin:0}.legal-shell,.admin-shell{background:radial-gradient(circle at 80% 0%, var(--primary), transparent 32%), var(--background);width:100%;height:100dvh;overflow-y:auto}@supports (color:color-mix(in lab, red, red)){.legal-shell,.admin-shell{background:radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--primary) 7%, transparent), transparent 32%), var(--background)}}.legal-header,.legal-footer,.admin-header{justify-content:space-between;align-items:center;gap:20px;width:min(1120px,100% - 40px);margin:0 auto;display:flex}.legal-header{border-bottom:1px solid var(--border);min-height:76px}.legal-header a,.legal-footer a,.admin-header a,.admin-nav a{color:inherit;text-decoration:none}.legal-header nav{color:var(--muted-foreground);gap:20px;font-size:14px;display:flex}.legal-document{width:min(780px,100% - 40px);margin:0 auto;padding:72px 0}.legal-hero{border-bottom:1px solid var(--border);padding-bottom:42px}.legal-eyebrow,.admin-kicker{color:var(--primary);letter-spacing:.12em;text-transform:uppercase;font-size:11px;font-weight:700;display:block}.legal-hero h1{letter-spacing:-.045em;margin:12px 0 16px;font-size:clamp(40px,7vw,68px);line-height:.98}.legal-hero p{max-width:650px;color:var(--muted-foreground);font-size:clamp(17px,2vw,21px);line-height:1.6}.legal-hero small{color:var(--muted)}.legal-section{border-bottom:1px solid var(--border);padding:34px 0}.legal-section h2{margin:0 0 14px;font-size:21px}.legal-section p,.legal-section li{color:var(--muted-foreground);line-height:1.72}.legal-section ul{gap:10px;padding-left:22px;display:grid}.legal-footer{color:var(--muted);padding:28px 0 48px;font-size:13px}.admin-shell{padding-bottom:80px}.admin-header{min-height:92px}.admin-header>div{flex:1}.admin-header h1{margin:4px 0 0;font-size:clamp(22px,3vw,32px)}.admin-role,.admin-pill,.admin-health{border:1px solid var(--border-strong);color:var(--muted-foreground);border-radius:999px;padding:7px 11px;font-size:12px}.admin-nav{z-index:10;border:1px solid var(--border);background:var(--surface-1);border-radius:14px;gap:8px;width:min(1120px,100% - 40px);margin:0 auto 28px;padding:10px;display:flex;position:sticky;top:0;overflow-x:auto}@supports (color:color-mix(in lab, red, red)){.admin-nav{background:color-mix(in srgb, var(--surface-1) 94%, transparent)}}.admin-nav{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.admin-nav a{color:var(--muted-foreground);border-radius:8px;flex:none;padding:8px 12px;font-size:13px}.admin-nav a:hover{background:var(--surface-hover);color:var(--foreground)}.admin-section{border:1px solid var(--border);background:var(--surface-1);width:min(1120px,100% - 40px);box-shadow:var(--shadow);border-radius:18px;margin:0 auto 24px;padding:24px;scroll-margin-top:82px}.admin-section-heading{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:20px;display:flex}.admin-section-heading h2{margin:5px 0 0;font-size:22px}.admin-section-heading p{max-width:420px;color:var(--muted);text-align:right;margin:0;font-size:13px}.admin-health{color:var(--success)}.admin-health i{background:currentColor;border-radius:50%;width:7px;height:7px;margin-right:5px;display:inline-block}.admin-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.admin-metrics article{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;gap:4px;padding:16px;display:grid}.admin-metrics strong{font-size:28px}.admin-metrics span{color:var(--muted);text-transform:capitalize;font-size:12px}.admin-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.admin-card{border:1px solid var(--border);background:var(--surface-2);border-radius:14px;padding:18px}.admin-card h3{margin:0;font-size:16px}.admin-card p{color:var(--muted-foreground);overflow-wrap:anywhere;margin:5px 0 16px}.admin-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;display:grid}.admin-card dl div{gap:3px;display:grid}.admin-card dt{color:var(--muted);text-transform:uppercase;font-size:11px}.admin-card dd{margin:0;font-size:13px}.admin-pill{padding:3px 8px;display:inline-block}.admin-pill--active{color:var(--success)}.admin-pill--suspended{color:var(--danger)}.admin-account-control{border-top:1px solid var(--border);grid-template-columns:1fr auto;align-items:end;gap:8px;margin-top:18px;padding-top:14px;display:grid}.admin-account-control label{color:var(--muted);text-transform:uppercase;gap:5px;font-size:11px;display:grid}.admin-account-control input{border:1px solid var(--border);background:var(--background);width:100%;min-height:36px;color:var(--foreground);text-transform:none;border-radius:8px;padding:0 10px}.admin-control-status{min-height:16px;color:var(--muted);grid-column:1/-1;font-size:12px}.admin-table-wrap{width:100%;overflow-x:auto}.admin-table-wrap table{border-collapse:collapse;width:100%;font-size:13px}.admin-table-wrap th{color:var(--muted);text-align:left;text-transform:uppercase;font-size:11px}.admin-table-wrap th,.admin-table-wrap td{border-bottom:1px solid var(--border);vertical-align:top;padding:11px 12px}.admin-table-wrap code{color:var(--muted-foreground);overflow-wrap:anywhere;font-size:11px}@media (max-width:760px){.legal-header,.legal-footer,.admin-header,.admin-nav,.admin-section{width:min(100% - 24px,1120px)}.legal-document{width:min(100% - 32px,780px);padding:42px 0}.admin-header{min-height:80px}.admin-role{display:none}.admin-section{padding:18px}.admin-section-heading{gap:10px;display:grid}.admin-section-heading p{text-align:left}.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-cards{grid-template-columns:1fr}.legal-header nav{gap:12px}}html{text-rendering:optimizelegibility;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{min-height:100dvh;overflow:hidden}button,textarea,select,input{font:inherit}button,select,input[type=range]{accent-color:var(--primary)}button{color:inherit}button:focus-visible,textarea:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.48}svg{display:block}.workspace{background:var(--background);grid-template-columns:258px minmax(0,1fr);width:100vw;height:100dvh;display:grid;overflow:hidden}.workspace--context-open{grid-template-columns:258px minmax(0,1fr) 318px}.workspace-main{background:radial-gradient(circle at 50% -30%, var(--primary), transparent 40%), var(--background);flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}@supports (color:color-mix(in lab, red, red)){.workspace-main{background:radial-gradient(circle at 50% -30%, color-mix(in srgb, var(--primary) 6%, transparent), transparent 40%), var(--background)}}.workspace-topbar{border-bottom:1px solid var(--border);background:var(--background);justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:10px 18px;display:flex}@supports (color:color-mix(in lab, red, red)){.workspace-topbar{background:color-mix(in srgb, var(--background) 92%, transparent)}}.workspace-topbar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:5}.workspace-topbar__leading,.workspace-topbar__meta,.workspace-title,.sidebar__brand-row,.sidebar-utility-row,.artifact-card__identity,.artifact-card__footer,.assistant-intro .eyebrow,.context-panel .eyebrow,.foundation-badge,.range-label{align-items:center;display:flex}.workspace-topbar__leading{gap:10px;min-width:0}.workspace-topbar__meta{gap:8px}.workspace-title{flex-direction:column;align-items:flex-start;gap:2px;min-width:0}.workspace-title>span{text-overflow:ellipsis;white-space:nowrap;max-width:44vw;font-size:14px;font-weight:650;overflow:hidden}.workspace-title small{color:var(--muted);font-size:11px}.button.workspace-menu,.workspace-topbar__mobile-brand{display:none}.foundation-badge{border:1px solid var(--border);color:var(--muted-foreground);background:var(--surface-1);border-radius:999px;gap:6px;padding:6px 9px;font-size:11px;font-weight:600}.foundation-badge svg{width:13px;height:13px;color:var(--primary)}.sidebar{z-index:20;border-right:1px solid var(--border);background:var(--sidebar);flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.sidebar__top{flex-direction:column;gap:10px;padding:16px 14px 10px;display:flex}.sidebar__brand-row{justify-content:space-between;gap:8px;min-height:36px}.brelad-logo{align-items:center;gap:8px;min-width:0;display:inline-flex}.brelad-logo__mark{width:24px;height:32px;color:var(--primary);flex:none}.brelad-logo__wordmark{letter-spacing:-.045em;font-size:20px;font-weight:720}.sidebar__mobile-close{display:none!important}.sidebar__new{width:100%;justify-content:flex-start!important}.sidebar-search{border:1px solid var(--border);width:100%;min-height:36px;color:var(--muted-foreground);background:var(--surface-1);text-align:left;border-radius:9px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 10px;display:grid}.sidebar-search svg,.sidebar-nav svg,.sidebar__bottom svg,.sidebar-section__heading svg{width:15px;height:15px}.sidebar-search kbd{color:var(--muted);font-family:inherit;font-size:10px}.sidebar__scroll{flex:1;padding:6px 10px 18px;overflow-y:auto}.sidebar-section{padding:4px 4px 14px}.sidebar-section__heading{color:var(--muted);justify-content:space-between;align-items:center;padding:6px 5px;display:flex}.sidebar-section__heading h2{text-transform:uppercase;letter-spacing:.08em;margin:0;font-size:11px;font-weight:650}.recent-list,.sidebar-nav{flex-direction:column;gap:2px;display:flex}.recent-item,.sidebar-nav button,.sidebar-utility-row>button:first-child,.sidebar-help{width:100%;min-height:34px;color:var(--muted-foreground);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:0 9px;font-size:12px;display:flex}.recent-item{justify-content:flex-start}.recent-item span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.recent-item:hover:not(:disabled),.sidebar-nav button:hover:not(:disabled),.sidebar-utility-row>button:first-child:hover:not(:disabled),.sidebar-help:hover:not(:disabled){background:var(--surface-2);color:var(--foreground)}.recent-item--active{color:var(--foreground);background:var(--surface-3)}.sidebar-nav{border-top:1px solid var(--border);padding:6px 4px}.sidebar__bottom{border-top:1px solid var(--border);flex-direction:column;gap:2px;padding:10px;display:flex}.sidebar-utility-row{justify-content:space-between;gap:4px}.sidebar-utility-row>button:first-child{flex:1}.account-card{border:1px solid var(--border);background:var(--surface-1);border-radius:10px;align-items:center;gap:9px;margin-top:6px;padding:9px;display:flex}.account-card__avatar,.message__avatar--user{width:28px;height:28px;color:var(--primary-foreground);background:var(--primary);border-radius:50%;flex:none;place-items:center;font-size:9px;font-weight:800;display:grid}.account-card__copy{flex-direction:column;min-width:0;display:flex}.account-card__copy strong{font-size:11px}.account-card__copy small{color:var(--muted);font-size:10px}.button{cursor:pointer;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 13px;font-size:12px;font-weight:650;line-height:1;transition:background-color .12s,border-color .12s,transform .12s;display:inline-flex}.button svg{flex:none;width:15px;height:15px}.button:not(:disabled):active{transform:translateY(1px)}.button--primary{color:var(--primary-foreground);background:var(--primary);border-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.button--primary{border-color:color-mix(in srgb, var(--primary) 80%, var(--border-strong))}}.button--primary:hover:not(:disabled){background:var(--primary-hover)}.button--secondary{color:var(--foreground);background:var(--surface-2);border-color:var(--border)}.button--secondary:hover:not(:disabled){background:var(--surface-hover);border-color:var(--border-strong)}.button--ghost{color:var(--muted-foreground);background:0 0}.button--ghost:hover:not(:disabled){color:var(--foreground);background:var(--surface-2)}.button--danger{color:var(--danger-foreground);background:var(--danger)}.button--sm{border-radius:8px;min-height:32px;padding:0 10px;font-size:11px}.button--icon{width:36px;height:36px;min-height:36px;padding:0}.conversation-viewport{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;overflow-y:auto}.conversation-stage{width:min(100%,1020px);min-height:100%;margin:0 auto;padding:36px 44px 40px}.empty-conversation{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:calc(100dvh - 230px);display:flex}.empty-conversation__mark{border:1px solid var(--border);width:66px;height:66px;color:var(--primary);background:var(--surface-1);box-shadow:var(--shadow);border-radius:20px;place-items:center;margin-bottom:20px;display:grid}.empty-conversation__mark svg{width:30px;height:42px}.empty-conversation h1{letter-spacing:-.045em;margin:0;font-size:clamp(26px,3vw,38px);font-weight:680}.empty-conversation>p{max-width:570px;color:var(--muted-foreground);margin:12px 0 24px;font-size:14px;line-height:1.6}.starter-grid{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.starter-grid button,.quick-action{border:1px solid var(--border);min-height:34px;color:var(--muted-foreground);background:var(--surface-1);cursor:pointer;border-radius:9px;align-items:center;gap:6px;padding:0 10px;font-size:11px;display:inline-flex}.starter-grid button:hover,.quick-action:hover{color:var(--foreground);border-color:var(--border-strong);background:var(--surface-2)}.starter-grid svg,.quick-action svg{width:13px;height:13px;color:var(--primary)}.conversation-thread{flex-direction:column;gap:34px;padding:10px 0 28px;display:flex}.message{align-items:flex-start;gap:12px;display:flex}.message--user{justify-content:flex-end}.message__avatar{flex:none}.message__avatar--assistant{width:30px;height:36px;color:var(--primary);place-items:center;display:grid}.message__avatar--assistant svg{width:21px;height:30px}.message__bubble{border:1px solid var(--border);background:var(--user-bubble);border-radius:15px 15px 4px;max-width:min(640px,78%);padding:12px 15px}.message__bubble p{margin:0;font-size:13px;line-height:1.58}.message__content{flex-direction:column;gap:14px;width:min(100%,810px);min-width:0;display:flex}.assistant-intro{padding:3px 2px 2px}.eyebrow{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;gap:6px;font-size:10px;font-weight:750}.eyebrow svg{width:12px;height:12px;color:var(--primary)}.assistant-intro p,.assistant-transition p{color:var(--muted-foreground);margin:8px 0 0;font-size:13px;line-height:1.65}.artifact-card{border:1px solid var(--border);background:var(--surface-1);box-shadow:0 8px 24px var(--background);border-radius:13px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.artifact-card{box-shadow:0 8px 24px color-mix(in srgb, var(--background) 16%, transparent)}}.artifact-card__header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:10px 12px;display:flex}.artifact-card__identity{gap:9px;min-width:0}.artifact-card__identity>div{min-width:0}.artifact-card__identity h3{margin:0;font-size:13px;font-weight:680}.artifact-card__identity p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:3px 0 0;font-size:10px;overflow:hidden}.artifact-card__icon{width:31px;height:31px;color:var(--primary-foreground);background:var(--primary);border-radius:8px;flex:none;place-items:center;display:grid}.artifact-card__icon svg{width:15px;height:15px}.artifact-card__status,.artifact-card__duration{color:var(--muted);flex:none;font-size:10px;font-weight:650}.artifact-card__status{border:1px solid var(--border);background:var(--surface-2);border-radius:999px;padding:4px 7px}.artifact-card__footer{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:flex-end;gap:7px;padding:9px 12px}.script-preview{background:var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;display:grid}.script-preview__scene{background:var(--surface-1);min-width:0;padding:12px}.script-preview__scene>span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:9px;font-weight:700}.script-preview__scene p{color:var(--muted-foreground);margin:7px 0 0;font-size:12px;line-height:1.5}.artifact-card--compact .artifact-card__header{border-bottom:0}.waveform{border:1px solid var(--border);background:var(--surface-2);border-radius:9px;align-items:center;gap:3px;height:48px;margin:0 12px 10px;padding:5px 9px;display:flex;overflow:hidden}.waveform span{background:var(--muted);border-radius:999px;width:3px;min-height:4px}@supports (color:color-mix(in lab, red, red)){.waveform span{background:color-mix(in srgb, var(--muted) 72%, transparent)}}.waveform span{transition:background-color .16s}.waveform--playing span{background:var(--primary)}.storyboard-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:11px;display:grid}.storyboard-scene{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;min-width:0;overflow:hidden}.storyboard-scene__visual{color:#ffffffe0;place-items:center;height:82px;display:grid;position:relative;overflow:hidden}.storyboard-scene__visual:after{content:"";background:var(--primary);border-radius:50%;height:100%;position:absolute;inset:auto -25% -45% 20%}@supports (color:color-mix(in lab, red, red)){.storyboard-scene__visual:after{background:color-mix(in srgb, var(--primary) 38%, transparent)}}.storyboard-scene__visual:after{filter:blur(18px)}.storyboard-scene__visual svg{z-index:1;width:28px;height:28px;position:relative}.storyboard-scene__visual--1{background:linear-gradient(140deg,#112a3d,#285976)}.storyboard-scene__visual--2{background:linear-gradient(140deg,#15283b,#1c6b84)}.storyboard-scene__visual--3{background:linear-gradient(140deg,#202b46,#375f88)}.storyboard-scene__visual--4{background:linear-gradient(140deg,#293247,#465f69)}.storyboard-scene__number{z-index:2;color:#fff;background:#0000008a;border-radius:5px;place-items:center;width:18px;height:18px;font-size:9px;font-weight:750;display:grid;position:absolute;top:6px;left:6px}.storyboard-scene__body{padding:9px}.storyboard-scene__body strong{font-size:10px;display:block}.storyboard-scene__body p{min-height:42px;color:var(--muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:5px 0;font-size:9px;line-height:1.4;display:-webkit-box;overflow:hidden}.storyboard-scene__meta{color:var(--muted);justify-content:space-between;align-items:center;gap:4px;font-size:9px;display:flex}.storyboard-scene__meta .button{min-height:26px;padding:0 5px;font-size:9px}.video-artifact__content{grid-template-columns:110px minmax(0,1fr);gap:14px;padding:12px;display:grid}.video-poster{aspect-ratio:9/16;border:1px solid var(--border-strong);color:#fff;cursor:pointer;background:radial-gradient(circle at 70% 25%,#c6f10047,#0000 28%),linear-gradient(160deg,#18334b,#07101a 62%,#1d3219);border-radius:11px;width:110px;position:relative;overflow:hidden}.video-poster__brand{color:var(--primary);align-items:center;gap:5px;font-size:7px;display:flex;position:absolute;top:9px;left:9px}.video-poster__brand svg{width:10px;height:14px}.video-poster__play{place-items:center;display:grid;position:absolute;inset:0}.video-poster__play svg{color:#111700;background:var(--primary);border-radius:50%;width:32px;height:32px;padding:9px}.video-poster__copy{text-align:left;font-size:10px;font-weight:750;line-height:1.2;position:absolute;bottom:10px;left:8px;right:8px}.video-artifact__actions{flex-wrap:wrap;align-content:flex-start;align-items:flex-start;gap:7px;padding-top:4px;display:flex}.workspace-composer{z-index:8;border-top:1px solid var(--border);background:var(--composer);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);padding:13px 28px 15px;position:relative}.composer-wrap{width:min(100%,860px);margin:0 auto}.composer{border:1px solid var(--border-strong);background:var(--surface-1);box-shadow:0 10px 30px var(--background);border-radius:16px;align-items:flex-end;gap:8px;padding:8px 8px 8px 13px;display:flex}@supports (color:color-mix(in lab, red, red)){.composer{box-shadow:0 10px 30px color-mix(in srgb, var(--background) 16%, transparent)}}.composer:focus-within{border-color:var(--focus-ring)}@supports (color:color-mix(in lab, red, red)){.composer:focus-within{border-color:color-mix(in srgb, var(--focus-ring) 62%, var(--border))}}.composer:focus-within{box-shadow:0 0 0 2px var(--focus-ring)}@supports (color:color-mix(in lab, red, red)){.composer:focus-within{box-shadow:0 0 0 2px color-mix(in srgb, var(--focus-ring) 13%, transparent)}}.composer__input{resize:vertical;min-width:0;min-height:38px;max-height:130px;color:var(--foreground);background:0 0;border:0;outline:0;flex:1;font-size:13px;line-height:1.5}.composer__input::placeholder{color:var(--muted)}.composer__actions{align-items:center;gap:3px;display:flex}.quick-actions{flex-wrap:wrap;justify-content:center;gap:6px;margin-top:8px;display:flex}.quick-action{background:0 0;min-height:29px;padding:0 8px}.composer__hint{color:var(--muted);text-align:center;margin:6px 0 0;font-size:9px}.foundation-notice{z-index:12;border:1px solid var(--border-strong);max-width:min(460px,100% - 40px);color:var(--muted-foreground);background:var(--surface-1);box-shadow:var(--shadow);border-radius:11px;align-items:center;gap:8px;padding:8px 8px 8px 12px;font-size:11px;display:flex;position:absolute;bottom:126px;right:20px}.context-panel{z-index:18;border-left:1px solid var(--border);background:var(--surface-1);flex-direction:column;min-width:0;min-height:0;display:flex}.context-panel__header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:10px;padding:16px;display:flex}.context-panel__header h2{letter-spacing:-.02em;margin:6px 0 0;font-size:16px}.context-panel__form{flex-direction:column;flex:1;gap:15px;padding:16px;display:flex;overflow-y:auto}.context-panel__form label{color:var(--muted-foreground);flex-direction:column;gap:7px;font-size:11px;font-weight:600;display:flex}.context-panel__form select{border:1px solid var(--border);width:100%;min-height:38px;color:var(--foreground);background:var(--surface-2);border-radius:8px;padding:0 9px;font-size:12px}.context-panel__form input[type=range]{width:100%}.range-label{justify-content:space-between;gap:8px}.range-label output{color:var(--muted);font-size:10px;font-weight:500}.context-panel__footer{border-top:1px solid var(--border);justify-content:flex-end;gap:8px;padding:12px 16px;display:flex}.workspace-backdrop{display:none}@media (max-width:1180px){.workspace--context-open{grid-template-columns:258px minmax(0,1fr)}.context-panel{width:min(340px,92vw);position:fixed;top:0;bottom:0;right:0;box-shadow:-20px 0 60px #00000047}}@media (max-width:900px){.workspace,.workspace--context-open{grid-template-columns:minmax(0,1fr)}.sidebar{width:min(280px,88vw);transition:transform .18s;position:fixed;inset:0 auto 0 0;transform:translate(-102%);box-shadow:20px 0 50px #0000004d}.sidebar--open{transform:translate(0)}.sidebar__desktop-collapse{display:none!important}.sidebar__mobile-close{display:inline-flex!important}.workspace-backdrop{z-index:16;background:#00000075;border:0;display:block;position:fixed;inset:0}.button.workspace-menu,.workspace-topbar__mobile-brand{display:inline-flex}.workspace-topbar__mobile-brand .brelad-logo__wordmark{display:none}.workspace-topbar__mobile-brand .brelad-logo__mark{width:18px;height:25px}.conversation-stage{padding-left:24px;padding-right:24px}}@media (max-width:720px){.workspace-topbar{min-height:58px;padding:8px 10px}.workspace-title small,.foundation-badge{display:none}.workspace-title>span{max-width:52vw}.conversation-stage{padding:22px 14px 30px}.empty-conversation{min-height:calc(100dvh - 215px)}.starter-grid{max-width:430px}.message{gap:8px}.message--user .message__avatar{display:none}.message__bubble{max-width:92%}.script-preview{grid-template-columns:1fr}.storyboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.video-artifact__content{grid-template-columns:88px minmax(0,1fr)}.video-poster{width:88px}.workspace-composer{padding:9px 10px 11px}.quick-actions{flex-wrap:nowrap;justify-content:flex-start;padding-bottom:2px;overflow-x:auto}.quick-action{flex:none}.composer__hint{display:none}.foundation-notice{bottom:118px;right:10px}}@media (max-width:460px){.empty-conversation h1{font-size:26px}.storyboard-grid{grid-template-columns:1fr}.storyboard-scene{grid-template-columns:110px minmax(0,1fr);display:grid}.storyboard-scene__visual{height:100%;min-height:104px}.composer__input{font-size:16px}.artifact-card__header{flex-direction:column;align-items:stretch}.artifact-card__actions{width:100%}.artifact-card__footer{justify-content:stretch}.artifact-card__footer .button{flex:1}.video-artifact__content{grid-template-columns:1fr}.video-poster{width:110px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
html[data-theme=moonshine]{--danger-foreground:#101600}html[data-theme=sunlight]{--accent-foreground:#001b18;--warning:#966800;--danger-foreground:#fff}.button--danger{color:var(--danger-foreground)}
