.current-period{border:1px solid var(--line);background:var(--theme-surface,#fff);text-transform:capitalize;border-radius:11px;min-width:135px;height:36px;font-size:11px;font-weight:700}.calendar-grid{border:1px solid var(--line);background:var(--theme-surface,#fff);border-radius:18px;grid-template-columns:repeat(7,minmax(125px,1fr));display:grid;overflow:hidden}.calendar-day{border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--theme-surface,#fff);min-height:135px;padding:7px;transition:all .15s}.calendar-day:nth-child(7n){border-right:0}.calendar-day.day-over{background:var(--green-soft)}.calendar-date{color:var(--muted);align-items:center;gap:5px;margin-bottom:7px;display:flex}.calendar-date span{text-transform:uppercase;font-size:8px}.calendar-date b{font-size:11px}.calendar-date button{width:23px;height:23px;color:var(--green-dark);opacity:0;background:0 0;border:0;border-radius:7px;place-items:center;margin-left:auto;display:grid}.calendar-day:hover .calendar-date button{opacity:1}.calendar-item{background:var(--theme-surface-subtle,#f2f5f0);text-align:left;border:0;border-radius:8px;align-items:center;gap:5px;width:100%;margin-bottom:4px;padding:5px;font-size:8px;display:flex}.calendar-item>span:last-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.type-icon{background:var(--green-soft);width:18px;height:18px;color:var(--green-dark);border-radius:6px;flex:0 0 18px;place-items:center;font-size:8px;font-weight:800;display:grid}.story-calendar-unit{background:var(--theme-accent-soft,#eaf5e5);color:var(--green-dark);border-radius:8px;align-items:center;gap:5px;margin-bottom:4px;padding:6px;display:flex}.story-calendar-unit span{min-width:0}.story-calendar-unit b,.story-calendar-unit small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.story-calendar-unit b{font-size:8px}.story-calendar-unit small{color:var(--theme-accent-text,#4c7041);margin-top:2px;font-size:7px}.week-view .calendar-day{min-height:500px}.library-tabs{border-bottom:1px solid var(--line);gap:4px;margin-bottom:17px;display:flex}.library-tabs button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 13px;font-size:11px;font-weight:700}.library-tabs button.active{color:var(--green-dark);border-bottom-color:var(--green)}.library-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.library-card{border:1px solid var(--line);background:var(--theme-surface,#fff);box-shadow:var(--shadow);border-radius:18px;overflow:hidden}.library-visual{background:0 0;border:0;width:100%;padding:0}.library-visual .visual{aspect-ratio:9/10;border-radius:0}.library-visual .visual-wide{aspect-ratio:16/9}.library-info{padding:13px}.library-info>div:first-child{gap:5px;display:flex}.library-info h3{margin:9px 0 4px;font-size:12px;line-height:1.35}.library-info p{color:var(--muted);margin:0 0 9px;font-size:9px}.library-actions{border-top:1px solid var(--line);align-items:center;gap:5px;margin-top:12px;padding-top:10px;display:flex}.library-actions>button:first-child{text-align:left;color:var(--green-dark);background:0 0;border:0;flex:1;font-size:10px;font-weight:700}.library-actions .icon-btn{width:31px;height:31px}.insights-page{max-width:1100px;margin:8px auto 0}.stage-pill{background:var(--green-soft);width:max-content;color:var(--green-dark);letter-spacing:.1em;border-radius:999px;margin:auto;padding:6px 10px;font-size:9px;font-weight:800}.insights-intro{text-align:center;padding:24px 16px 34px}.insights-icon{background:var(--theme-surface,#fff);border:1px solid var(--line);width:62px;height:62px;color:var(--green);box-shadow:var(--shadow);border-radius:20px;place-items:center;margin:0 auto 15px;display:grid}.insights-intro h1{letter-spacing:-.04em;margin:0;font-size:30px}.insights-intro>p{max-width:680px;color:var(--muted);margin:10px auto 25px;font-size:13px;line-height:1.6}.provider-flow{border:1px solid var(--line);background:var(--theme-surface,#fff);border-radius:18px;justify-content:center;align-items:center;gap:14px;max-width:780px;margin:auto;padding:14px;display:flex}.provider-flow>div{background:var(--bg);border-radius:12px;flex:1;padding:13px}.provider-flow b,.provider-flow span{display:block}.provider-flow b{font-size:11px}.provider-flow span{color:var(--muted);margin-top:4px;font-size:9px}.provider-flow>svg{color:var(--green)}.future-modules{border-top:1px solid var(--line);padding-top:26px}.future-modules h2{text-align:center;font-size:18px}.future-modules>div{grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px;display:grid}.future-modules article{border:1px solid var(--line);background:var(--theme-surface,#fff);border-radius:17px;padding:13px}.future-placeholder{background:var(--theme-surface-subtle,#f2f5f0);border-radius:11px;height:80px}.future-modules h3{margin:12px 0 5px;font-size:12px}.future-modules p{color:var(--muted);min-height:39px;font-size:9px;line-height:1.45}.settings-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.settings-grid>.panel{padding:18px}.team-settings{grid-column:1/-1}.team-list{gap:7px;margin-top:16px;display:grid}.team-row{border:1px solid var(--line);border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px;display:grid}.team-row b,.team-row small{display:block}.team-row b{font-size:11px}.team-row small{color:var(--muted);margin-top:2px;font-size:9px}.role-pill{background:var(--theme-surface-subtle,#f0f4ed);color:var(--green-dark);text-transform:capitalize;border-radius:999px;padding:5px 8px;font-size:8px;font-weight:850}.invite-box{border:1px solid var(--theme-line,#dfe6da);background:var(--theme-surface-subtle,#f8fbf6);border-radius:14px;margin-top:14px;padding:14px}.invite-box>div:first-child{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;display:grid}.invite-box>div:first-child p{color:var(--muted);grid-column:2;margin:0;font-size:9px}.invite-fields{grid-template-columns:minmax(0,1fr) 145px auto;gap:8px;margin-top:12px;display:grid}.pending-invites{border-top:1px solid var(--line);gap:6px;margin-top:14px;padding-top:12px;display:grid}.pending-invites>span{color:var(--muted);text-transform:uppercase;font-size:8px;font-weight:850}.pending-invites>div{align-items:center;gap:8px;display:flex}.pending-invites>div>span{flex:1}.pending-invites b,.pending-invites small{font-size:9px;display:block}.pending-invites small{color:var(--muted);text-transform:capitalize}.account-settings .connection-row .secondary-btn{margin-left:auto}.status-settings{grid-row:span 2}.connection-row{border:1px solid var(--line);border-radius:14px;align-items:center;gap:12px;margin-top:18px;padding:14px;display:flex}.connection-icon{background:var(--theme-warning-soft,#fff2d9);width:42px;height:42px;color:var(--theme-warning-text,#8a5a15);border-radius:13px;place-items:center;display:grid}.connection-icon.cloud{background:var(--green-soft);color:var(--green-dark)}.connection-row b,.connection-row p{display:block}.connection-row b{font-size:12px}.connection-row p{color:var(--muted);margin:4px 0 0;font-size:10px}.status-settings>.section-head{margin-bottom:13px}.status-settings>div:last-child{gap:5px;display:grid}.status-settings>div:last-child>div{border:1px solid var(--line);color:var(--muted);border-radius:11px;align-items:center;gap:8px;padding:7px 8px;display:flex}.status-settings>div:last-child>div>b{color:var(--ink);font-size:11px}.status-settings>div:last-child>div>div{gap:4px;margin-left:auto;display:flex}.status-settings .icon-btn{border-radius:8px;width:27px;height:27px}.disabled-integration{align-items:center;gap:11px;margin-top:18px;display:flex}.integration-logo{border:1px solid var(--line);width:42px;height:42px;color:var(--green-dark);border-radius:12px;place-items:center;font-weight:800;display:grid}.disabled-integration span{flex:1}.disabled-integration b,.disabled-integration small{display:block}.disabled-integration b{font-size:12px}.disabled-integration small{color:var(--muted);margin-top:4px;font-size:9px}.disabled-integration button{border:1px solid var(--line);background:var(--bg);border-radius:10px;padding:8px 10px;font-size:9px}.slack-integration-panel{grid-column:1/-1}.slack-loading,.slack-empty{color:var(--muted);margin:18px 0 0;font-size:10px}.slack-loading{align-items:center;gap:7px;display:flex}.slack-connection-row .secondary-btn{margin-left:auto}.slack-icon{color:var(--theme-purple-text,#4a154b);background:var(--theme-surface-subtle,#f7eef8)}.slack-channel-label{max-width:360px;margin-top:14px}.slack-connect-copy{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:18px;display:grid}.slack-connect-copy span,.slack-connect-copy b,.slack-connect-copy small{display:block}.slack-connect-copy b{font-size:12px}.slack-connect-copy small{color:var(--muted);margin-top:4px;font-size:9px}.slack-connect-copy a{color:var(--green-dark);align-items:center;gap:5px;font-size:9px;font-weight:800;text-decoration:none;display:inline-flex}.slack-connect-fields{grid-template-columns:minmax(0,1.6fr) minmax(180px,.7fr);gap:10px;margin-top:16px;display:grid}.slack-event-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px;display:grid}.slack-event-list label{border:1px solid var(--line);background:var(--theme-surface-subtle,#fbfcfa);cursor:pointer;border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px;padding:11px 12px;display:grid}.slack-event-list input{accent-color:var(--green);margin-top:2px}.slack-event-list b,.slack-event-list small{display:block}.slack-event-list b{color:var(--ink);font-size:10px}.slack-event-list small{color:var(--muted);margin-top:3px;font-size:8px;line-height:1.4}.slack-actions{justify-content:flex-end;align-items:center;gap:8px;margin-top:16px;display:flex}.slack-actions>small{color:var(--muted);margin-right:auto;font-size:8px}.slack-actions .primary-btn,.slack-actions .secondary-btn{min-height:36px}.danger-outline{color:var(--theme-danger-text,#a12f2f);border-color:var(--theme-line,#eed1d1)!important}.slack-error,.slack-warning{border-radius:10px;margin:12px 0 0;padding:9px 10px;font-size:9px}.slack-error{color:var(--theme-danger-text,#a12f2f);background:var(--theme-surface-subtle,#fff1f1)}.slack-warning{color:var(--theme-warning-text,#885f17);background:var(--theme-warning-soft,#fff8e8)}@media (max-width:760px){.slack-connect-copy{grid-template-columns:auto minmax(0,1fr)}.slack-connect-copy a{grid-column:2}.slack-connect-fields,.slack-event-list{grid-template-columns:1fr}.slack-actions{flex-direction:column-reverse;align-items:stretch}.slack-actions>small{margin-right:0}.slack-actions .primary-btn,.slack-actions .secondary-btn{justify-content:center;width:100%}}.empty-state{text-align:center;padding:45px 20px}.empty-state>div{background:var(--green-soft);width:58px;height:58px;color:var(--green-dark);border-radius:18px;place-items:center;margin:auto;display:grid}.empty-state h3{margin:14px 0 5px;font-size:16px}.empty-state p{color:var(--muted);max-width:380px;margin:0 auto 15px;font-size:11px}.empty-state .secondary-btn{margin:auto}.modal-backdrop,.drawer-backdrop{z-index:80;background:color-mix(in srgb, var(--theme-surface-subtle,#10190d) 30%, transparent);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.modal{background:var(--theme-surface,#fff);width:min(560px,100%);max-height:90vh;box-shadow:0 25px 70px rgb(var(--theme-shadow-rgb,17 34 12) / .2);border-radius:21px;flex-direction:column;display:flex;overflow:hidden}.modal>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:18px 20px;display:flex}.modal h2{margin:0;font-size:18px}.modal-body{gap:14px;padding:20px;display:grid;overflow:auto}.modal>footer{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding:13px 20px;display:flex}.form-field{gap:6px;display:grid}.form-field>span{color:var(--theme-muted,#475044);font-size:10px;font-weight:700}.form-field>span small{color:var(--muted);font-weight:400}.field,.form-field textarea{border:1px solid var(--line);background:var(--theme-surface,#fff);width:100%;color:var(--ink);border-radius:11px;padding:10px 11px;font-size:11px}.field{height:39px}.form-field textarea{resize:vertical;min-height:90px;line-height:1.5}.form-field input[type=range]{accent-color:var(--green)}.form-grid{grid-template-columns:1fr 1fr;gap:11px;display:grid}.form-grid.three{grid-template-columns:repeat(3,1fr)}.error-text{color:var(--red);font-size:9px}.drawer-backdrop{z-index:120;background:color-mix(in srgb, var(--theme-surface-subtle,#0d140b) 60%, transparent);-webkit-backdrop-filter:blur(9px);justify-content:center;padding:18px;animation:.15s ease-out story-focus-in;overflow:auto}.drawer{background:var(--theme-surface,#fff);border:1px solid color-mix(in srgb, var(--theme-line,#fff) 72%, transparent);width:min(850px,100%);max-height:calc(100vh - 36px);box-shadow:0 34px 85px rgb(var(--theme-shadow-rgb,5 10 4) / .38);border-radius:24px;flex-direction:column;animation:.17s ease-out content-dialog-in;display:flex;overflow:hidden}.drawer-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:17px 20px;display:flex}.drawer-head span{color:var(--green-dark);text-transform:uppercase;font-size:9px;font-weight:800}.drawer-head h2{letter-spacing:-.025em;white-space:nowrap;text-overflow:ellipsis;max-width:650px;margin:4px 0 0;font-size:18px;overflow:hidden}.drawer-body{flex:1;padding:20px;overflow:auto}.drawer-footer{border-top:1px solid var(--line);background:var(--theme-surface,#fff);justify-content:flex-end;align-items:center;gap:8px;padding:12px 20px;display:flex}.autosave-note{color:var(--green-dark);align-items:center;gap:5px;margin-right:auto;font-size:10px;display:flex}@keyframes content-dialog-in{0%{opacity:0;transform:scale(.975)translateY(10px)}to{opacity:1;transform:scale(1)translateY(0)}}.drawer-cover{grid-template-columns:170px 1fr;align-items:end;gap:12px;margin-bottom:15px;display:grid}.drawer-cover .visual{aspect-ratio:16/9;min-height:115px}.drawer-cover>button{border:1px dashed var(--theme-line,#bbc8b6);background:var(--theme-surface-subtle,#fbfcfa);height:40px;color:var(--green-dark);border-radius:12px;justify-content:center;align-items:center;gap:7px;font-size:10px;display:flex}.item-form{gap:14px;display:grid}.item-form>section{border:1px solid var(--line);border-radius:17px;gap:12px;padding:16px;display:grid}.item-form>section>h3{margin:0;font-size:14px}.script-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.script-grid textarea{min-height:110px}.free-script{min-height:270px!important}.checklist{gap:6px;display:grid}.checklist label{border:1px solid var(--line);border-radius:10px;align-items:center;gap:8px;padding:9px;font-size:10px;display:flex}.checklist button{color:var(--green-dark);background:0 0;border:0;align-items:center;gap:5px;padding:6px;font-size:10px;font-weight:700;display:flex}.upload-zone{border:1px dashed var(--theme-line,#bcc9b7);background:var(--theme-surface-subtle,#fbfcfa);height:90px;color:var(--green-dark);border-radius:13px;flex-direction:column;justify-content:center;align-items:center;gap:4px;display:flex}.upload-zone b{font-size:10px}.upload-zone span{color:var(--muted);font-size:8px}.derive-menu{border:1px solid var(--theme-line,#cfe0c8);background:var(--green-soft);border-radius:12px;padding:10px}.derive-menu p{color:var(--theme-accent-text,#46653b);margin:0 0 8px;font-size:9px}.derive-menu button{border:1px solid var(--theme-line,#c8dabc);background:var(--theme-surface,#fff);border-radius:9px;align-items:center;gap:4px;margin-right:5px;padding:6px 8px;font-size:9px;display:inline-flex}.relations{grid-template-columns:1fr auto 1.4fr;align-items:center;gap:10px;display:grid}.relation-parent,.relation-children{border:1px solid var(--line);border-radius:13px;min-height:92px;padding:10px}.relations>div>span{color:var(--muted);margin-bottom:7px;font-size:8px;font-weight:800;display:block}.relations p{color:var(--muted);font-size:9px}.relation-parent button{text-align:left;background:0 0;border:0;align-items:center;gap:7px;width:100%;display:flex}.relation-parent .visual{aspect-ratio:auto;flex:0 0 48px;width:48px;height:38px;min-height:38px}.relation-parent .visual>*{display:none}.relation-parent b,.relation-children b{font-size:9px}.relation-children{gap:5px;display:grid}.relation-children>button{border:1px solid var(--line);background:var(--theme-surface,#fff);text-align:left;border-radius:9px;align-items:center;gap:7px;padding:5px;display:flex}.relation-children>button b{flex:1}.history{gap:10px;display:grid}.history>div{padding-left:20px;position:relative}.history>div>span{background:var(--theme-accent-fill,var(--green));border-radius:50%;width:8px;height:8px;position:absolute;top:4px;left:2px}.history>div>span:after{content:"";background:var(--line);width:1px;height:26px;position:absolute;top:8px;left:3px}.history>div:last-child>span:after{display:none}.history b,.history small{display:block}.history b{font-size:10px}.history small{color:var(--muted);margin-top:2px;font-size:8px}.frame-editor{gap:14px;display:grid}.frame-preview{border:1px solid var(--line);background:var(--bg);border-radius:17px;overflow:hidden}.frame-preview>div{aspect-ratio:16/8;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.frame-preview img{object-fit:cover;width:100%;height:300px}.frame-preview>label{background:var(--theme-surface,#fff);border-top:1px solid var(--line);height:42px;color:var(--green-dark);cursor:pointer;justify-content:center;align-items:center;gap:7px;font-size:10px;font-weight:700;display:flex}.frame-preview input{display:none}.story-textarea{min-height:130px!important}.quick-check{border:1px solid var(--line);border-radius:14px;padding:13px}.quick-check h3{margin:0 0 9px;font-size:12px}.quick-check label{align-items:center;gap:8px;margin-top:6px;font-size:10px;display:flex}.toast-stack{z-index:120;gap:7px;width:min(380px,100vw - 36px);display:grid;position:fixed;bottom:18px;right:18px}.app-shell.stories-agent-active .toast-stack{bottom:72px}.toast{border:1px solid var(--theme-line,#cfe0c8);background:var(--theme-surface-subtle,#f6fbf3);width:100%;color:var(--green-dark);box-shadow:0 14px 35px rgb(var(--theme-shadow-rgb,20 38 14) / .14);border-radius:12px;gap:11px;padding:11px 13px;font-size:10px;font-weight:700;animation:.17s ease-out toast-enter;display:grid}.toast-main{align-items:flex-start;gap:8px;line-height:1.45;display:flex}.toast-main svg{flex:none;margin-top:1px}.toast-error{background:var(--theme-surface-subtle,#fff7f6);color:var(--red);border-color:var(--theme-danger-line,#efd2cf)}.toast-warning{border-color:var(--theme-warning-line,#edd4ad);background:var(--theme-warning-soft,#fff9ee);color:var(--theme-warning-text,#8a5712)}.toast-interactive{box-shadow:0 18px 45px rgb(var(--theme-shadow-rgb,20 28 17) / .2);padding:14px}.toast-actions{justify-content:flex-end;gap:7px;display:flex}.toast-actions button{border:1px solid var(--theme-line,#d9e1d5);background:var(--theme-surface,#fff);min-height:32px;color:var(--theme-muted,#44503f);font:inherit;cursor:pointer;border-radius:9px;padding:0 11px;font-size:9px;font-weight:800}.toast-actions button:disabled{opacity:.45;cursor:default}.toast-actions .toast-action-primary{border-color:var(--green-dark);background:var(--theme-accent-fill,var(--green-dark));color:var(--theme-on-solid,#fff)}.toast-actions .toast-action-danger{border-color:var(--theme-danger-line,#b63d33);background:var(--theme-danger-fill,#b63d33);color:var(--theme-on-solid,#fff)}.toast-prompt-form{gap:9px;display:grid}.toast-prompt-form input{border:1px solid var(--theme-line,#cedac8);background:var(--theme-surface,#fff);width:100%;height:36px;color:var(--ink);font:inherit;border-radius:9px;outline:0;padding:0 10px;font-size:10px}.toast-prompt-form input:focus{border-color:var(--green-dark);box-shadow:0 0 0 3px color-mix(in srgb, var(--theme-accent-fill,#206712) 10%, transparent)}@keyframes toast-enter{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.loading-shell{gap:18px;min-height:100vh;padding:16px;display:flex}.loading-side{border-radius:22px;width:206px}.loading-main{flex:1}.loading-head{border-radius:18px;height:60px}.loading-title{border-radius:20px;height:120px;margin-top:16px}.loading-grid{grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px;display:grid}.loading-card{border-radius:18px;height:190px}.skeleton{background:var(--theme-surface-subtle,#edf0eb);animation:1.4s infinite pulse}@keyframes pulse{50%{opacity:.55}}.app-shell{transition:padding-left .22s}.sidebar{transition:width .22s,padding .22s}.sidebar-toggle{width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0}.sidebar-toggle-visual{flex:0 0 40px;place-items:center;width:40px;height:40px;display:grid;position:relative}.sidebar-toggle .brand-logo,.sidebar-toggle-menu{transition:opacity .17s,transform .21s;position:absolute;inset:0}.sidebar-toggle-menu{border:1px solid var(--theme-line,#d4dfd0);background:var(--green-soft);width:40px;height:40px;color:var(--green-dark);opacity:0;border-radius:14px;padding:9px;transform:rotate(-12deg)scale(.72)}.sidebar-toggle:hover .brand-logo,.sidebar-toggle:focus-visible .brand-logo{opacity:0;transform:rotate(10deg)scale(.74)}.sidebar-toggle:hover .sidebar-toggle-menu,.sidebar-toggle:focus-visible .sidebar-toggle-menu{opacity:1;transform:rotate(0)scale(1)}.brand-copy{white-space:nowrap;min-width:0;transition:opacity .15s,transform .2s;overflow:hidden}.app-shell.sidebar-is-collapsed{padding-left:94px}.sidebar.is-collapsed{width:62px;padding:10px 8px}.sidebar.is-collapsed .brand{padding:5px 3px 22px}.sidebar.is-collapsed .brand-copy,.sidebar.is-collapsed nav button span,.sidebar.is-collapsed nav button em{display:none}.sidebar.is-collapsed nav button{justify-content:center;padding:11px}.sidebar-ai-group{gap:3px;display:grid}.sidebar-ai-toggle .sidebar-ai-chevron{margin-left:auto;transition:transform .18s}.sidebar-ai-toggle[aria-expanded=true] .sidebar-ai-chevron{transform:rotate(180deg)}.sidebar-ai-group.is-active>.sidebar-ai-toggle{color:var(--green-dark)}.sidebar-ai-subnav{background:var(--theme-surface-subtle,#f7faf5);border-radius:12px;gap:2px;margin:0 0 4px 24px;padding:4px;display:grid}.sidebar nav .sidebar-ai-subnav button{border-radius:9px;gap:8px;min-height:32px;padding:7px 9px;font-size:11px}.sidebar nav .sidebar-ai-subnav button.active{background:var(--theme-accent-soft,#dfeeda);color:var(--green-dark)}.sidebar.is-collapsed .sidebar-ai-chevron,.sidebar.is-collapsed .sidebar-ai-subnav{display:none}.notification-menu-wrap,.notification-trigger{position:relative}.notification-count{border:2px solid var(--theme-line,#f5f7f3);background:var(--theme-accent-fill,var(--green-dark));min-width:18px;height:18px;color:var(--theme-on-solid,#fff);border-radius:999px;place-items:center;padding:0 4px;font-size:8px;font-weight:900;display:grid;position:absolute;top:-5px;right:-5px}.notification-menu{z-index:150;border:1px solid var(--theme-line,#dfe6dc);background:color-mix(in srgb, var(--theme-surface,#fff) 99%, transparent);width:min(390px,100vw - 24px);box-shadow:0 24px 60px rgb(var(--theme-shadow-rgb,20 38 14) / .22);border-radius:17px;animation:.15s ease-out account-menu-in;position:absolute;top:calc(100% + 10px);right:0;overflow:hidden}.notification-menu>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding:14px;display:flex}.notification-menu>header strong,.notification-menu>header small{display:block}.notification-menu>header strong{font-size:12px}.notification-menu>header small{color:var(--muted);margin-top:3px;font-size:8px}.notification-menu>header button{color:var(--green-dark);white-space:nowrap;background:0 0;border:0;font-size:8px;font-weight:850}.notification-list{max-height:min(520px,65vh);padding:6px;overflow-y:auto}.notification-list article{border-radius:12px;padding:5px}.notification-list article.is-unread{background:var(--theme-surface-subtle,#f1f8ed)}.notification-open{width:100%;color:var(--ink);text-align:left;background:0 0;border:0;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px;display:grid}.notification-dot{background:var(--theme-accent-soft,#aab5a6);border-radius:50%;width:7px;height:7px}.is-unread .notification-dot{background:var(--theme-accent-text,var(--green));box-shadow:0 0 0 4px color-mix(in srgb, var(--theme-accent-fill,#399908) 10%, transparent)}.notification-open b,.notification-open small{display:block}.notification-open b{font-size:10px}.notification-open small{color:var(--muted);margin-top:3px;font-size:9px;line-height:1.4}.notification-read{color:var(--green-dark);background:0 0;border:0;margin:0 0 5px 23px;font-size:8px;font-weight:800}.notification-empty{color:var(--muted);text-align:center;justify-items:center;gap:5px;padding:28px 18px;display:grid}.notification-empty svg{color:var(--green)}.notification-empty b{color:var(--ink);font-size:11px}.notification-empty small{font-size:9px}@media (max-width:1100px){.app-shell{padding-left:94px}.sidebar{width:62px;padding:10px 8px}.brand{padding:5px 3px 22px}.brand>div:last-child,.sidebar nav button span,.sidebar nav button em,.sidebar-foot span{display:none}.brand-mark{width:40px}.sidebar nav button{justify-content:center;padding:11px}.sidebar-foot{justify-content:center}.sidebar-ai-chevron,.sidebar-ai-subnav{display:none}.home-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,1fr)}.upcoming,.blocked{grid-column:1}.library-grid{grid-template-columns:repeat(3,1fr)}.sequence-head{grid-template-columns:1fr auto}.sequence-progress{grid-row:2}.calendar-grid{grid-template-columns:repeat(7,130px);overflow-x:auto}.global-search{max-width:360px}}@media (max-width:760px){body{padding-bottom:72px}.app-shell,.app-shell.sidebar-is-collapsed{padding-left:0}.sidebar{display:none}.topbar{gap:8px;height:auto;min-height:66px;padding:11px 12px}.mobile-menu-btn{border:1px solid var(--line);background:var(--theme-surface,#fff);border-radius:11px;place-items:center;width:38px;height:38px;display:grid}.breadcrumb{display:none}.global-search{flex-basis:100%;order:3;max-width:none;height:38px}.global-search kbd{display:none}.topbar{flex-wrap:wrap}.top-actions{margin-left:auto}.top-actions>.icon-btn,.top-actions .primary-btn span{display:none}.top-actions .primary-btn{width:38px;height:38px;padding:0}.page-content{padding:0 11px 20px}.mobile-menu{z-index:60;border:1px solid var(--line);background:var(--theme-surface,#fff);box-shadow:0 18px 50px rgb(var(--theme-shadow-rgb,20 38 14) / .18);border-radius:15px;padding:7px;display:grid;position:fixed;top:61px;left:11px;right:11px}.mobile-menu button{background:var(--theme-surface,#fff);text-align:left;border:0;justify-content:space-between;padding:10px;font-size:12px;display:flex}.mobile-nav{z-index:70;background:var(--theme-surface,#fff);border-top:1px solid var(--line);height:64px;padding:7px 5px calc(7px + env(safe-area-inset-bottom));justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:var(--muted);background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;min-width:58px;font-size:8px;display:flex}.mobile-nav button.active{color:var(--green-dark)}.demo-banner{align-items:flex-start;font-size:10px}.demo-banner .badge{display:none}.page-title{flex-direction:column;align-items:flex-start;margin-bottom:16px}.page-title h1{font-size:26px}.welcome{padding:18px;display:block}.welcome h1{font-size:25px}.today-plan{border-left:0;border-top:1px solid var(--line);margin-top:14px;padding:13px 0 0}.metric-grid{grid-template-columns:1fr 1fr;gap:8px}.metric-card{min-height:125px;padding:12px}.metric-card>strong{font-size:13px}.quick-actions>div:last-child{grid-template-columns:1fr}.upcoming-list>button{grid-template-columns:48px minmax(0,1fr) auto}.upcoming-type,.upcoming-date,.upcoming-list .badge{display:none}.sequence-panel{border-radius:17px}.sequence-head{flex-direction:column;align-items:stretch;gap:12px;padding:15px;display:flex}.sequence-actions .secondary-btn{flex:1}.sequence-cta{padding:9px 15px}.story-strip{gap:4px;padding:15px 12px 85px}.story-card{width:min(76vw,280px)}.story-media{aspect-ratio:9/12}.story-copy h4{min-height:55px;font-size:13px}.story-actions .mark-btn,.story-actions .published-btn{font-size:11px}.mobile-story-action{z-index:15;margin-top:-70px;display:block;position:absolute;left:20px;right:20px}.mobile-story-action button{background:var(--theme-accent-fill,var(--green-dark));width:100%;height:45px;color:var(--theme-on-solid,#fff);box-shadow:0 10px 28px color-mix(in srgb, var(--theme-accent-fill,#1f5f08) 25%, transparent);border:0;border-radius:13px;justify-content:center;align-items:center;gap:7px;font-size:12px;font-weight:800;display:flex}.filters{flex-wrap:nowrap;padding-bottom:4px;overflow-x:auto}.filters>span{display:none}.filters select{flex:none}.kanban-board{min-height:500px}.kanban-column{flex-basis:82vw;width:82vw}.table-wrap{margin:0 -1px}.calendar-controls{flex-wrap:wrap}.calendar-grid{border-radius:13px}.library-grid{grid-template-columns:1fr 1fr;gap:8px}.library-card{border-radius:14px}.library-info{padding:10px}.library-info h3{font-size:10px}.future-modules>div{grid-template-columns:1fr 1fr}.provider-flow{grid-template-columns:1fr;display:grid}.provider-flow>svg{margin:auto;transform:rotate(90deg)}.settings-grid,.form-grid,.form-grid.three,.script-grid{grid-template-columns:1fr}.drawer{width:100%}.drawer-head{padding:13px}.drawer-head h2{max-width:280px}.drawer-body{padding:12px}.drawer-footer{padding:10px}.autosave-note{display:none}.drawer-cover{grid-template-columns:1fr}.drawer-cover .visual{aspect-ratio:16/8}.relations{grid-template-columns:1fr}.relations>svg{margin:auto;transform:rotate(90deg)}.item-form>section{padding:12px}.modal-backdrop{align-items:flex-end;padding:10px}.modal{border-radius:20px 20px 12px 12px;max-height:92vh}.toast-stack{bottom:76px;left:12px;right:12px}.app-shell.stories-agent-active .toast-stack{bottom:130px}.toast{min-width:0}.loading-side{display:none}.loading-grid{grid-template-columns:1fr 1fr}.mobile-story-action{z-index:65;margin:0;position:fixed;bottom:72px;left:12px;right:12px}}@media (min-width:761px){.mobile-nav{display:none}}@media (max-width:420px){.metric-grid,.library-grid,.future-modules>div{grid-template-columns:1fr}.metric-card{min-height:110px}.library-visual .visual{aspect-ratio:16/10}}.story-card-editable{width:330px;overflow:visible}.story-card-head{background:var(--theme-surface-subtle,#f0f4ed);border-bottom:1px solid var(--line);border-radius:16px 16px 0 0;align-items:center;gap:7px;padding:10px 11px;display:flex}.story-card-head .story-number{flex:0 0 28px;position:static}.story-card-head .story-type{color:var(--green-dark);align-items:center;gap:5px;font-size:10px;font-weight:700;display:flex}.story-card-head .badge{margin-left:auto}.story-card-head .drag-handle{flex:0 0 28px;position:static}.story-inline-form{gap:10px;padding:12px;display:grid}.story-inline-form label{gap:5px;display:grid}.story-inline-form label>span{color:var(--muted);font-size:9px;font-weight:700}.story-inline-form input,.story-inline-form select,.story-inline-form textarea{border:1px solid var(--line);background:var(--theme-surface,#fff);width:100%;color:var(--ink);border-radius:10px;padding:8px 9px;font-size:11px}.story-inline-form textarea{resize:vertical;min-height:145px;line-height:1.45}.story-inline-meta{grid-template-columns:minmax(0,1fr) 104px;gap:7px;display:grid}.story-checks{grid-template-columns:1fr 1fr;gap:7px;padding:0 12px 12px;display:grid}.story-checks label,.story-modal-checks label{cursor:pointer;position:relative}.story-checks input,.story-modal-checks input{opacity:0;pointer-events:none;position:absolute}.story-checks span,.story-modal-checks span{border:1px solid var(--line);background:var(--theme-surface,#fff);color:var(--muted);border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:9px;font-size:10px;font-weight:700;display:flex}.story-checks input:checked+span,.story-modal-checks input:checked+span{border-color:var(--theme-accent-line,#b9d8ab);background:var(--green-soft);color:var(--green-dark)}.story-card-editable .story-actions{padding:9px 11px}.expand-story-btn{background:var(--theme-accent-fill,var(--green-dark));color:var(--theme-on-solid,#fff);border:0;border-radius:9px;flex:1;justify-content:center;align-items:center;gap:5px;font-size:9px;font-weight:700;display:flex}.modal-wide{width:min(880px,100% - 28px);max-height:88vh}.modal-wide .modal-body{padding:24px}.modal-wide .frame-editor{grid-template-columns:1fr 1fr;align-items:start}.modal-wide .frame-editor>.form-field:first-child,.modal-wide .frame-editor>.form-field:nth-of-type(2),.modal-wide .story-modal-checks{grid-column:1/-1}.modal-wide .story-textarea{min-height:240px!important}.story-modal-status{border:1px solid var(--line);border-radius:11px;justify-content:space-between;align-items:center;padding:8px 10px;display:flex}.story-modal-status>span{color:var(--muted);font-size:10px;font-weight:700}.story-modal-checks{grid-template-columns:1fr 1fr;gap:8px;display:grid}.story-modal-checks span{padding:12px;font-size:11px}@media (max-width:760px){.story-card-editable{width:calc(100vw - 54px)}.story-inline-form textarea{min-height:180px}.modal-backdrop:has(.modal-wide){align-items:center;padding:10px}.modal-wide{border-radius:20px;width:100%;max-height:88vh}.modal-wide .modal-body{padding:14px}.modal-wide .frame-editor{grid-template-columns:1fr}.modal-wide .frame-editor>*{grid-column:1!important}.modal-wide .story-textarea{min-height:210px!important}}.stories-page .sequence-panel{overflow:hidden}.stories-page .story-strip{scroll-snap-type:none;overscroll-behavior-inline:contain;align-items:stretch;gap:16px;padding:24px 22px 28px;scroll-padding-inline:22px}.story-day-feedback{border:1px solid var(--theme-line,#dce7d7);background:radial-gradient(circle at 100% 0, color-mix(in srgb, var(--theme-accent-fill,#86c567) 14%, transparent), transparent 36%), var(--theme-surface-subtle,#f8fbf6);border-radius:18px;margin:0 22px 22px;padding:18px}.story-day-feedback>header,.story-feedback-title,.story-feedback-comment,.story-feedback-comment>div>p,.story-feedback-composer-actions,.story-feedback-agent-note{align-items:center;display:flex}.story-day-feedback>header{justify-content:space-between;gap:16px;margin-bottom:14px}.story-feedback-title{gap:10px}.story-feedback-title>div{gap:2px;display:grid}.story-feedback-title strong{color:var(--ink);font-size:14px}.story-feedback-title small{color:var(--muted);font-size:10px}.story-feedback-icon{width:34px;height:34px;color:var(--green-dark);background:var(--theme-accent-soft,#e4f2de);border-radius:11px;place-items:center;display:grid}.story-feedback-agent-note{background:var(--theme-surface-subtle,#edf6e9);color:var(--green-dark);white-space:nowrap;border-radius:999px;gap:5px;padding:7px 10px;font-size:9px;font-weight:750}.story-feedback-thread{gap:8px;margin-bottom:12px;display:grid}.story-feedback-empty{border:1px dashed var(--theme-line,#cddbc7);color:var(--muted);background:color-mix(in srgb, var(--theme-surface,#fff) 64%, transparent);border-radius:13px;margin:0;padding:12px 14px;font-size:10px;line-height:1.5}.story-feedback-comment{border:1px solid var(--theme-line,#e1e8dd);background:color-mix(in srgb, var(--theme-surface,#fff) 90%, transparent);border-radius:14px;align-items:flex-start;gap:10px;padding:11px 12px}.story-feedback-avatar{background:var(--theme-accent-fill,var(--green-dark));width:28px;height:28px;color:var(--theme-on-solid,#fff);border-radius:9px;flex:0 0 28px;place-items:center;font-size:10px;font-weight:800;display:grid}.story-feedback-comment>div{flex:1;min-width:0}.story-feedback-comment>div>p{gap:8px;margin:0 0 5px}.story-feedback-comment strong{color:var(--ink);font-size:10px}.story-feedback-comment time{color:var(--muted);font-size:9px}.story-feedback-comment>div>div{color:var(--theme-text,#384235);white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.55}.story-feedback-mention,.story-feedback-link{background:var(--theme-accent-soft,#e1f1da);color:var(--green-dark);border-radius:5px;padding:1px 4px;font-weight:750}.story-feedback-link{vertical-align:bottom;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:inherit;line-height:inherit;cursor:pointer;text-decoration:none;transition:background-color .15s;display:inline-block;overflow:hidden}.story-feedback-link:hover{background:var(--theme-accent-soft,#cce7bf);text-underline-offset:2px;text-decoration:underline}.story-feedback-link:focus-visible{outline:2px solid var(--theme-focus,#3b8b24);outline-offset:2px}.story-feedback-comment .icon-btn{opacity:.68;border-radius:9px;flex:0 0 28px;width:28px;height:28px}.story-feedback-composer{border:1px solid var(--theme-line,#cbdac5);background:var(--theme-surface,#fff);border-radius:10px;padding:8px 10px;transition:border-color .15s,box-shadow .15s;overflow:hidden}.story-feedback-composer:focus-within{border-color:var(--theme-accent-line,#7eae6b);box-shadow:0 0 0 3px color-mix(in srgb, var(--theme-accent-fill,#4b8e2f) 11%, transparent)}.story-feedback-composer textarea{resize:vertical;width:100%;min-height:44px;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;padding:3px;font-size:13px;line-height:1.5;display:block}.story-feedback-mention-menu{border:1px solid var(--theme-line,#d5e0d0);background:var(--theme-surface-subtle,#fbfdf9);box-shadow:0 12px 28px rgb(var(--theme-shadow-rgb,31 63 20) / .12);border-radius:12px;gap:3px;margin:0 8px 6px;padding:6px;display:grid}.story-feedback-mention-menu button{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:9px;padding:7px 8px;display:flex}.story-feedback-mention-menu button:hover,.story-feedback-mention-menu button.is-active{background:var(--theme-accent-soft,#eaf4e5)}.story-feedback-mention-menu button>span:first-child{background:var(--theme-accent-fill,var(--green-dark));width:28px;height:28px;color:var(--theme-on-solid,#fff);border-radius:9px;flex:0 0 28px;place-items:center;font-size:10px;font-weight:800;display:grid}.story-feedback-mention-menu button>span:last-child{gap:1px;min-width:0;display:grid}.story-feedback-mention-menu strong{font-size:10px}.story-feedback-mention-menu small,.story-feedback-mention-menu p{color:var(--muted);font-size:9px}.story-feedback-mention-menu p{margin:0;padding:9px}.story-feedback-save{background:var(--theme-accent-fill,var(--green-dark));min-height:32px;color:var(--theme-on-solid,#fff);cursor:pointer;border:0;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:7px 10px;font-size:12px;font-weight:600;display:inline-flex}.story-feedback-save:disabled{cursor:default;opacity:.42}.stories-page .frame-wrap{display:block}.story-visual-card{aspect-ratio:9/16;border:1px solid var(--theme-line,#dce4d8);background:radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--theme-accent-fill,#96d976) 24%, transparent), transparent 30%), linear-gradient(155deg, var(--theme-surface-subtle,#fbfdf9) 0%, var(--theme-surface-subtle,#eef5ea) 58%, var(--theme-accent-soft,#e5efdf) 100%);width:184px;box-shadow:0 12px 30px rgb(var(--theme-shadow-rgb,31 63 20) / .08);cursor:pointer;border-radius:22px;flex-direction:column;flex:none;transition:transform .16s,box-shadow .16s,border-color .16s;display:flex;position:relative;overflow:hidden}.story-visual-card:hover{border-color:var(--theme-line,#b7cbae);box-shadow:0 18px 36px rgb(var(--theme-shadow-rgb,31 63 20) / .14);transform:translateY(-4px)}.story-visual-card:focus-within{outline:3px solid color-mix(in srgb, var(--theme-focus,#5ea43f) 20%, transparent);outline-offset:2px}.story-visual-card.is-unrecorded{background:radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--theme-warning-fill,#f1b741) 32%, transparent), transparent 31%), linear-gradient(155deg, var(--theme-surface-subtle,#fffdf6) 0%, var(--theme-warning-soft,#f7edca) 100%);border-color:var(--theme-warning-line,#e3d49f)}.story-visual-card.is-recorded{background:radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--theme-accent-fill,#459c2c) 38%, transparent), transparent 31%), linear-gradient(155deg, var(--theme-surface-subtle,#f8fdf5) 0%, var(--theme-accent-soft,#d5ebca) 100%);border-color:var(--theme-accent-line,#9fc491)}.story-visual-topline{align-items:center;gap:7px;min-height:47px;padding:10px 10px 7px;display:flex}.story-visual-topline .story-number{width:29px;height:29px;color:var(--green-dark);border-radius:10px;flex:0 0 29px;position:static}.story-visual-status{min-width:0;color:var(--green-dark);white-space:nowrap;font-size:9px;font-weight:800}.story-visual-topline .drag-handle{background:color-mix(in srgb, var(--theme-surface,#fff) 72%, transparent);color:var(--theme-muted,#73826e);flex:0 0 28px;margin-left:auto;position:static}.story-visual-body{width:100%;min-height:0;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;align-items:stretch;padding:16px 15px;display:flex}.story-visual-type{background:color-mix(in srgb, var(--theme-surface,#fff) 76%, transparent);color:var(--green-dark);border-radius:999px;align-self:flex-start;align-items:center;gap:5px;padding:5px 8px;font-size:9px;font-weight:800;display:inline-flex}.story-visual-body strong{letter-spacing:-.02em;margin-top:22px;font-size:15px;line-height:1.25}.story-visual-body p{color:var(--theme-muted,#5e695a);white-space:pre-wrap;-webkit-line-clamp:7;-webkit-box-orient:vertical;margin:10px 0 0;font-size:11px;line-height:1.48;display:-webkit-box;overflow:hidden}.story-open-cue{color:var(--green-dark);justify-content:space-between;align-items:center;margin-top:auto;padding-top:16px;font-size:9px;font-weight:800;display:flex}.story-visual-footer{border-top:1px solid color-mix(in srgb, var(--theme-line-strong,#718569) 16%, transparent);background:color-mix(in srgb, var(--theme-surface,#fff) 55%, transparent);color:var(--theme-muted,#65705f);justify-content:space-between;align-items:center;padding:10px 11px;font-size:9px;display:flex}.story-visual-footer>span,.story-visual-checks{align-items:center;gap:5px;display:flex}.story-visual-checks>span{border:1px solid color-mix(in srgb, var(--theme-line-strong,#677c5f) 20%, transparent);background:color-mix(in srgb, var(--theme-surface,#fff) 72%, transparent);width:23px;height:23px;color:var(--theme-muted,#99a493);border-radius:50%;place-items:center;display:grid}.story-visual-checks>span.done{border-color:var(--theme-accent-line,#98c486);background:var(--theme-accent-fill,var(--green-dark));color:var(--theme-on-solid,#fff)}.story-add-card{aspect-ratio:9/16;border:1.5px dashed var(--theme-line,#afc1a7);background:var(--theme-surface-subtle,#f8fbf6);width:184px;color:var(--green-dark);cursor:pointer;scroll-snap-align:start;border-radius:22px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:10px;padding:18px;transition:background .16s,transform .16s,border-color .16s;display:flex}.story-add-card:hover{border-color:var(--green-dark);background:var(--green-soft);transform:translateY(-3px)}.story-add-card>span{background:var(--theme-surface,#fff);width:52px;height:52px;box-shadow:0 10px 24px rgb(var(--theme-shadow-rgb,31 63 20) / .1);border-radius:17px;place-items:center;display:grid}.story-add-card strong{font-size:13px}.story-add-card small{color:var(--muted);text-align:center;font-size:9px;line-height:1.4}.story-recording-modal{width:min(1120px,100% - 28px);max-height:94vh}.story-recording-modal>header{padding:14px 18px}.story-recording-modal>header h2{font-size:15px}.story-recording-modal .modal-body{background:var(--theme-surface-subtle,#f2f5ef);padding:16px 18px}.story-recording-modal>footer{gap:8px;padding:12px 18px}.story-modal-position{color:var(--muted);align-items:center;gap:6px;margin-right:auto;font-size:10px;font-weight:700;display:flex}.story-recording-workspace{grid-template-columns:minmax(0,1fr) 270px;align-items:stretch;gap:18px;display:grid}.story-recording-stage{grid-template-columns:42px minmax(300px,360px) 42px;justify-content:center;align-items:center;gap:10px;min-width:0;display:grid}.story-stage-arrow{border:1px solid var(--theme-line,#d8e1d4);background:var(--theme-surface,#fff);width:42px;height:54px;color:var(--green-dark);box-shadow:0 8px 22px rgb(var(--theme-shadow-rgb,31 63 20) / .08);cursor:pointer;border-radius:15px;place-items:center;display:grid}.story-stage-arrow:hover:not(:disabled){border-color:var(--theme-accent-line,#a9c19f);background:var(--green-soft)}.story-stage-arrow:disabled{opacity:.28;cursor:default}.story-recording-canvas{aspect-ratio:9/16;border:1px solid var(--theme-line,#d7e1d2);background:radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--theme-accent-fill,#88cf67) 17%, transparent), transparent 27%), var(--theme-surface,#fff);width:min(360px,52.875vh - 94.5px);min-width:300px;box-shadow:0 24px 55px rgb(var(--theme-shadow-rgb,27 54 18) / .13);border-radius:26px;flex-direction:column;display:flex;overflow:hidden}.story-canvas-head{border-bottom:1px solid var(--theme-line,#e5ebe2);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:15px 16px 12px;display:grid}.story-canvas-head label{gap:4px;min-width:0;display:grid}.story-canvas-head label>span,.story-canvas-label{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:8px;font-weight:800}.story-canvas-head input{width:100%;min-width:0;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;padding:0;font-size:14px;font-weight:800}.story-canvas-date{background:var(--theme-surface-subtle,#f0f5ed);color:var(--green-dark);text-transform:capitalize;border-radius:10px;align-items:center;gap:5px;padding:7px 8px;font-size:9px;font-weight:800;display:flex}.story-canvas-copy{flex-direction:column;flex:1;gap:7px;min-height:0;padding:13px 15px 10px;display:flex}.story-rich-shell{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.story-rich-editor{border:1px solid var(--theme-line,#dce4d8);background:var(--theme-surface-subtle,#fbfcfa);min-height:0;color:var(--theme-text,#253020);border-radius:14px;outline:none;flex:1;padding:13px 13px 26px;font-size:13px;line-height:1.55;overflow-y:auto}.story-rich-editor:focus{border-color:var(--theme-accent-line,#91b581);box-shadow:0 0 0 3px color-mix(in srgb, var(--theme-accent-fill,#5ea43f) 10%, transparent)}.story-rich-editor:empty:before{content:attr(data-placeholder);color:var(--theme-muted,#9aa395);pointer-events:none}.story-rich-editor ul,.story-rich-editor ol{padding-left:20px}.story-editor-hint{color:var(--theme-muted,#8a9485);white-space:nowrap;text-overflow:ellipsis;pointer-events:none;font-size:7px;position:absolute;bottom:8px;left:12px;right:12px;overflow:hidden}.story-selection-toolbar{z-index:30;border:1px solid color-mix(in srgb, var(--theme-line,#fff) 15%, transparent);background:var(--theme-surface-subtle,#172312);box-shadow:0 10px 28px rgb(var(--theme-shadow-rgb,12 24 8) / .28);border-radius:11px;padding:4px;display:flex;position:absolute;transform:translate(-50%)}.story-selection-toolbar button{min-width:30px;height:29px;color:var(--theme-on-solid,#fff);cursor:pointer;background:0 0;border:0;border-radius:7px;padding:0 8px;font-size:11px;font-weight:800}.story-selection-toolbar button:hover{background:color-mix(in srgb, var(--theme-surface,#fff) 13%, transparent)}.story-selection-toolbar .rich-italic{font-style:italic}.story-selection-toolbar .rich-underline{text-decoration:underline}.story-canvas-meta{grid-template-columns:.82fr 1.18fr;gap:7px;padding:0 15px 10px;display:grid}.story-canvas-meta label{border:1px solid var(--theme-line,#e0e6dd);background:var(--theme-surface-subtle,#f8faf7);border-radius:11px;gap:4px;min-width:0;padding:7px 9px;display:grid}.story-canvas-meta label>span{color:var(--muted);align-items:center;gap:4px;font-size:7px;font-weight:800;display:flex}.story-canvas-meta input,.story-canvas-meta select{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;padding:0;font-size:9px;font-weight:800}.story-recording-checks{padding:0 15px 15px}.story-recording-checks span{border-radius:11px;padding:10px 8px;font-size:10px}.story-recording-sidebar{border:1px solid var(--theme-line,#dce4d8);background:var(--theme-surface,#fff);border-radius:20px;flex-direction:column;gap:13px;min-width:0;padding:18px;display:flex}.story-recording-summary{border-bottom:1px solid var(--theme-line,#e6ebe4);padding-bottom:14px}.story-recording-summary h3{margin:6px 0 7px;font-size:17px;line-height:1.25}.story-recording-summary p{color:var(--muted);margin:0;font-size:9px;line-height:1.5}.story-recording-sidebar textarea{resize:vertical;min-height:92px}.story-recording-actions{grid-template-columns:1fr 1fr;gap:7px;margin-top:auto;display:grid}.story-recording-actions button{border:1px solid var(--line);background:var(--theme-surface,#fff);min-height:37px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:7px;font-size:9px;font-weight:800;display:flex}.story-recording-actions button:hover{background:var(--theme-surface-subtle,#f5f8f3)}.story-recording-actions .danger{color:var(--theme-danger-text,#a8342d);grid-column:1/-1}@media (max-width:1000px){.story-recording-workspace{grid-template-columns:minmax(0,1fr) 235px;gap:12px}.story-recording-stage{grid-template-columns:38px minmax(290px,335px) 38px;gap:7px}.story-stage-arrow{width:38px}.story-recording-sidebar{padding:14px}}@media (max-width:760px){.stories-page .story-strip{gap:12px;padding:15px 13px 82px}.story-day-feedback{margin:-58px 13px 14px;padding:14px;position:relative}.story-day-feedback>header{flex-direction:column;align-items:flex-start;gap:9px}.story-visual-card,.story-add-card{width:min(64vw,220px)}.story-recording-modal{width:100%;max-height:94vh}.story-recording-modal .modal-body{padding:12px}.story-recording-workspace{grid-template-columns:1fr}.story-recording-stage{grid-template-columns:34px minmax(0,1fr) 34px;gap:5px}.story-stage-arrow{border-radius:12px;width:34px;height:48px}.story-recording-canvas{width:100%;min-width:0;max-width:360px;margin:auto}.story-recording-sidebar{width:100%;max-width:428px;margin:auto}.story-modal-position{display:none}}.content-page .kanban-board{grid-template-columns:repeat(4,minmax(245px,1fr));gap:12px;display:grid;overflow-x:auto}.content-page .kanban-column{width:auto;min-width:245px}.kanban-add-button{border:1px solid var(--theme-line,#d6ded2);background:color-mix(in srgb, var(--theme-surface,#fff) 72%, transparent);width:27px;height:27px;color:var(--green-dark);border-radius:9px;place-items:center;padding:0;display:grid}.kanban-add-button:hover{border-color:var(--theme-accent-line,#aac49f);background:var(--theme-surface,#fff)}.content-card-format{min-width:0;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin-left:auto;font-size:8px;font-weight:700;overflow:hidden}.content-card-body>h4{margin:18px 0 28px;font-size:13px;line-height:1.4}.content-card .card-footer{justify-content:space-between}.content-page .content-card{--content-type-color:var(--theme-muted,#536151);--content-type-rgb:83, 97, 81;cursor:pointer;border-color:rgba(var(--content-type-rgb), .2);background:linear-gradient(145deg, rgba(var(--content-type-rgb), .1) 0%, rgba(var(--content-type-rgb), .035) 46%, color-mix(in srgb, var(--theme-surface,#fff) 96%, transparent) 100%), var(--theme-surface,#fff);min-height:154px;transition:transform .15s,border-color .15s,box-shadow .15s}.content-page .content-card.content-type-reel{--content-type-color:var(--theme-warning-text,#a94b08);--content-type-rgb:239, 116, 32}.content-page .content-card.content-type-youtube{--content-type-color:var(--theme-danger-text,#b4232c);--content-type-rgb:220, 45, 55}.content-page .content-card.content-type-tiktok{--content-type-color:var(--theme-info-text,#007e96);--content-type-rgb:16, 184, 211}.content-page .content-card.content-type-carrusel{--content-type-color:var(--theme-purple-text,#6740a5);--content-type-rgb:131, 91, 188}.content-type-badge{border:1px solid rgba(var(--content-type-rgb), .25);background:rgba(var(--content-type-rgb), .15);color:var(--content-type-color)}.content-card-badges{align-items:center;gap:5px;display:inline-flex}.content-ads-badge{border:1px solid var(--theme-info-line,#9bc4f5);background:var(--theme-info-soft,#eaf4ff);min-height:20px;color:var(--theme-info-text,#1261aa);letter-spacing:.055em;border-radius:7px;justify-content:center;align-items:center;padding:3px 7px;font-size:7px;font-weight:950;display:inline-flex}.content-distribution-picker{border:0;gap:7px;margin:15px 0;padding:0;display:flex}.content-distribution-picker legend{width:100%;color:var(--muted);margin-bottom:7px;font-size:9px;font-weight:800}.content-distribution-picker button{border:1px solid var(--line);background:var(--theme-surface,#fff);min-width:92px;height:34px;color:var(--muted);border-radius:10px;font-size:9px;font-weight:850}.content-distribution-picker button.is-active{border-color:var(--theme-accent-line,#a6c798);background:var(--green-soft);color:var(--green-dark)}.content-distribution-picker button.is-active.is-ads{border-color:var(--theme-info-line,#87b9ef);background:var(--theme-info-soft,#eaf4ff);color:var(--theme-info-text,#1261aa)}.content-table-type{align-items:center;gap:6px;display:inline-flex}.user-avatar{background-color:var(--green-soft);color:var(--green-dark);background-position:50%;background-size:cover;flex:none;place-items:center;font-weight:850;display:grid;overflow:hidden}.avatar{place-items:center;padding:0;display:grid;overflow:hidden}.topbar-user-avatar{border-radius:inherit;width:100%;height:100%}.sidebar-user-avatar{border:1px solid var(--theme-line,#d8e6d2);border-radius:8px;width:25px;height:25px;font-size:9px}.account-menu-wrap{position:relative}.account-menu{z-index:140;border:1px solid var(--theme-line,#dfe6dc);background:color-mix(in srgb, var(--theme-surface,#fff) 98%, transparent);width:260px;box-shadow:0 22px 55px rgb(var(--theme-shadow-rgb,20 38 14) / .2);border-radius:16px;padding:7px;animation:.13s ease-out account-menu-in;position:absolute;top:calc(100% + 9px);right:0}@keyframes account-menu-in{0%{opacity:0;transform:translateY(-5px)scale(.98)}}.account-menu-user{border-bottom:1px solid var(--theme-line,#edf0eb);align-items:center;gap:10px;margin-bottom:5px;padding:9px 9px 12px;display:flex}.account-menu-avatar{border-radius:12px;width:39px;height:39px;font-size:13px}.account-menu-user span{min-width:0}.account-menu-user b,.account-menu-user small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.account-menu-user b{font-size:12px}.account-menu-user small{color:var(--muted);margin-top:3px;font-size:9px}.account-menu>button{width:100%;color:var(--theme-muted,#44503f);text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:9px;padding:10px;font-size:11px;font-weight:700;display:flex}.account-menu>button:hover{background:var(--theme-surface-subtle,#f3f7f1);color:var(--green-dark)}.account-menu>button.account-menu-signout{color:var(--red)}.profile-modal{width:min(620px,100%)}.profile-photo-editor{border:1px solid var(--theme-line,#e0e7dd);background:var(--theme-surface-subtle,#f8faf7);border-radius:16px;align-items:center;gap:16px;padding:16px;display:flex}.profile-photo-preview{border:1px solid var(--theme-line,#d3e1cd);width:82px;height:82px;box-shadow:0 9px 24px rgb(var(--theme-shadow-rgb,31 63 20) / .11);border-radius:24px;font-size:26px}.profile-photo-editor strong,.profile-photo-editor p{display:block}.profile-photo-editor strong{font-size:12px}.profile-photo-editor p{color:var(--muted);margin:4px 0 10px;font-size:9px}.profile-upload-button{width:max-content;padding:8px 10px}.profile-upload-button input{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.profile-password-section{border:1px solid var(--theme-line,#e2e8df);border-radius:15px;gap:13px;padding:15px;display:grid}.profile-password-section>div:first-child{color:var(--green-dark);align-items:flex-start;gap:9px;display:flex}.profile-password-section>div:first-child span{gap:3px;display:grid}.profile-password-section>div:first-child strong{color:var(--ink);font-size:11px}.profile-password-section>div:first-child small{color:var(--muted);font-size:9px}@media (max-width:760px){.account-menu{width:min(280px,100vw - 20px);position:fixed;top:61px;right:10px}.profile-photo-editor{align-items:flex-start}.profile-photo-preview{border-radius:20px;width:68px;height:68px}}.content-page .content-card:hover{border-color:rgba(var(--content-type-rgb), .42);box-shadow:0 12px 27px rgba(var(--content-type-rgb), .12);transform:translateY(-2px)}.content-page .content-card:focus-visible{outline:3px solid color-mix(in srgb, var(--theme-focus,#408927) 20%, transparent);outline-offset:2px}.content-notion-drawer{background:var(--theme-surface-subtle,#fbfcfa);width:min(1040px,100vw - 36px);height:min(900px,100vh - 36px)}.content-notion-drawer .drawer-body{padding:0}.content-notion-drawer .drawer-footer{background:color-mix(in srgb, var(--theme-surface,#fff) 96%, transparent)}.calendar-sequence-drawer{background:var(--theme-surface-subtle,#fbfcfa);width:min(920px,100vw - 36px);height:min(850px,100vh - 36px)}.calendar-sequence-drawer .drawer-body{align-content:start;gap:18px;display:grid}.calendar-sequence-summary{border:1px solid var(--line);background:var(--theme-surface,#fff);border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;display:grid}.calendar-sequence-summary>span{min-width:0;color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.calendar-sequence-summary>span b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.calendar-sequence-summary .progress{grid-column:1/-1}.calendar-sequence-frames{gap:10px;display:grid}.calendar-sequence-section-title{justify-content:space-between;align-items:center;display:flex}.calendar-sequence-section-title strong{background:var(--green-soft);min-width:26px;height:26px;color:var(--green-dark);border-radius:999px;place-items:center;font-size:11px;display:inline-grid}.calendar-sequence-drawer .story-list-view{gap:8px}.calendar-sequence-drawer .story-list-item{background:var(--theme-surface,#fff)}.drawer-delete-btn{border:1px solid var(--theme-danger-line,#efc9c5);background:var(--theme-surface-subtle,#fff7f6);min-height:38px;color:var(--theme-danger-text,#a7352c);font:inherit;cursor:pointer;border-radius:11px;justify-content:center;align-items:center;gap:7px;padding:0 13px;font-size:10px;font-weight:800;display:inline-flex}.drawer-delete-btn:hover{border-color:var(--theme-danger-line,#dfa7a1);background:var(--theme-danger-soft,#ffefed)}.drawer-delete-btn:focus-visible{outline:3px solid color-mix(in srgb, var(--theme-focus,#a7352c) 16%, transparent);outline-offset:2px}@media (max-width:700px){.drawer-backdrop{padding:8px}.content-notion-drawer,.calendar-sequence-drawer{border-radius:18px;width:calc(100vw - 16px);height:calc(100vh - 16px);max-height:calc(100vh - 16px)}.calendar-sequence-summary{grid-template-columns:1fr}.calendar-sequence-summary .progress{grid-column:1}.content-notion-drawer .drawer-head h2{max-width:min(68vw,420px)}.drawer-delete-btn{width:38px;padding:0;font-size:0}}.notion-content-editor{background:var(--theme-surface,#fff);display:block}.notion-content-editor>section{border:0;border-bottom:1px solid var(--theme-line,#ecefeb);background:var(--theme-surface,#fff);border-radius:0;width:min(760px,100% - 44px);margin:0 auto;padding:28px 0}.notion-properties{padding-top:42px!important}.notion-title-field{gap:7px;margin-bottom:24px;display:grid}.notion-title-field>span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:8px;font-weight:850}.notion-title-field>input{border:0;border-bottom:1px solid var(--theme-line,#dfe5dc);width:100%;color:var(--ink);font:inherit;letter-spacing:-.035em;background:0 0;outline:0;padding:4px 0 9px;font-size:clamp(28px,4vw,42px);font-weight:850;line-height:1.16}.notion-title-field>input:focus{border-bottom-color:var(--theme-accent-line,#8eb17f)}.notion-property-list{display:grid}.notion-property-list>label{border-bottom:1px solid var(--theme-line,#edf0eb);grid-template-columns:145px minmax(0,1fr);align-items:center;gap:10px;min-width:0;min-height:47px;padding:8px 0;display:grid}.notion-property-list>label>span{color:var(--muted);font-size:9px;font-weight:750}.notion-property-list input,.notion-property-list select{width:100%;min-width:0;height:32px;color:var(--ink);background:0 0;border:1px solid #0000;border-radius:7px;outline:0;padding:0 8px;font-size:10px;font-weight:700}.notion-property-list input:hover,.notion-property-list input:focus,.notion-property-list select:hover,.notion-property-list select:focus{border-color:var(--theme-line,#dbe3d7);background:var(--theme-surface-subtle,#f7f9f6)}.notion-property-list .error-text{grid-column:2}.notion-url-field{min-width:0;color:var(--green-dark);align-items:center;gap:4px;display:flex}.notion-url-field input{flex:1}.notion-writing-block{flex-direction:column;gap:14px;min-width:0;display:flex}.notion-writing-block textarea{resize:vertical;width:100%;color:var(--theme-text,#283224);font:inherit;background:0 0;border:0;border-radius:0;outline:0;padding:4px 0;font-size:14px;line-height:1.75}.notion-writing-block textarea:focus{box-shadow:inset 3px 0 0 var(--green-dark);padding-left:13px}.notion-rich-script{min-height:360px}.notion-rich-script .story-rich-editor{border-color:var(--theme-line,#d9e2d5);background:var(--theme-surface,#fff);border-radius:16px;min-height:360px;padding:18px 18px 34px;font-size:14px;line-height:1.75}.notion-rich-script .story-editor-hint{font-size:8px;bottom:11px;left:18px;right:18px}.notion-copy-area{min-height:180px}.notion-created-section,.notion-comments-section{width:min(760px,100% - 44px)}.notion-comments-section h3{margin:0 0 13px;font-size:13px}.notion-created-section{color:var(--muted);align-items:center;gap:7px;padding:11px 0;font-size:9px;display:flex}.notion-created-section svg{color:var(--green-dark)}.notion-comments-section>div:first-child{align-items:flex-start;gap:10px;display:flex}.notion-comments-section>div:first-child>svg{color:var(--green-dark)}.notion-comments-section p{color:var(--muted);margin:-7px 0 0;font-size:9px;line-height:1.5}.comment-composer-disabled{border:1px solid var(--theme-line,#e1e6de);background:var(--theme-surface-subtle,#f8faf7);border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin-top:16px;padding:10px;display:grid}.comment-composer-disabled textarea{resize:none;min-height:62px;color:var(--muted);background:0 0;border:0;outline:0;font-size:10px}.comment-composer-disabled button{background:var(--theme-surface-subtle,#e4e9e1);height:32px;color:var(--theme-muted,#8c9588);border:0;border-radius:9px;padding:0 11px;font-size:9px;font-weight:800}.comment-list{gap:12px;margin-top:18px;display:grid}.comment-list article{grid-template-columns:34px minmax(0,1fr);gap:10px;display:grid}.comment-list article>div,.team-avatar{background:var(--green-soft);width:34px;height:34px;color:var(--green-dark);border-radius:10px;place-items:center;font-size:11px;font-weight:900;display:grid}.comment-list article>span:not(.comment-avatar){border:1px solid var(--theme-line,#e5e9e2);background:var(--theme-surface-subtle,#fbfcfa);border-radius:12px;min-width:0;padding:9px 11px}.comment-list .comment-avatar{border:1px solid var(--theme-line,#d8e6d2);border-radius:10px;width:34px;height:34px;font-size:11px}.comment-list article b,.comment-list article small{display:block}.comment-list article b{font-size:10px}.comment-list article p{white-space:pre-wrap;color:var(--ink)!important;margin:5px 0!important;font-size:11px!important}.comment-list article small{color:var(--muted);font-size:8px}.comment-composer{border:1px solid var(--theme-line,#dfe5dc);background:var(--theme-surface,#fff);border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin-top:16px;padding:10px;display:grid}.comment-composer textarea{resize:vertical;min-height:62px;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;font-size:10px}.comment-composer button{background:var(--theme-accent-fill,var(--green-dark));height:32px;color:var(--theme-on-solid,#fff);border:0;border-radius:9px;padding:0 12px;font-size:9px;font-weight:850}.comment-composer button:disabled{opacity:.45}.muted-copy{color:var(--muted);font-size:10px}@media (max-width:700px){.notion-content-editor>section{width:calc(100% - 30px);padding:22px 0}.notion-properties{padding-top:28px!important}.notion-property-list>label{grid-template-columns:100px minmax(0,1fr)}.notion-rich-script,.notion-rich-script .story-rich-editor{min-height:280px}}.story-week-picker{border:1px solid var(--line);background:var(--theme-surface,#fff);box-shadow:var(--shadow);border-radius:20px;margin-bottom:14px;padding:16px}.story-week-picker>header{justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;display:flex}.story-week-picker>header>div:first-child{gap:2px;display:grid}.story-week-picker>header span{color:var(--muted);letter-spacing:.1em;font-size:8px;font-weight:850}.story-week-picker>header strong{text-transform:capitalize;font-size:13px}.story-week-nav{gap:5px;display:flex}.story-week-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.story-week-day{border:1px solid var(--theme-line,#dfe6dc);background:var(--theme-surface-subtle,#f9fbf8);min-width:0;min-height:108px;color:var(--ink);text-align:left;border-radius:14px;flex-direction:column;align-items:flex-start;gap:6px;padding:10px;transition:border-color .15s,background .15s,box-shadow .15s,transform .15s;display:flex;position:relative}.story-week-day:has(.story-week-sequence-chip.is-dragging){z-index:10}.story-week-day:hover{border-color:var(--theme-line,#afc3a6);background:var(--theme-surface-subtle,#f3f8f0);transform:translateY(-2px)}.story-week-day.has-sequence{border-color:var(--theme-accent-line,#8fba7d);background:linear-gradient(145deg, var(--theme-surface-subtle,#f3faef) 0%, var(--theme-accent-soft,#e8f5e2) 100%);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--theme-accent-fill,#2b7b11) 8%, transparent)}.story-week-day.has-sequence:hover{border-color:var(--green-dark);background:linear-gradient(145deg, var(--theme-accent-soft,#edf8e8) 0%, var(--theme-accent-soft,#dff0d7) 100%)}.story-week-day.is-selected{border-color:var(--green-dark);background:var(--theme-accent-fill,var(--green-dark));color:var(--theme-on-solid,#fff);box-shadow:0 10px 24px color-mix(in srgb, var(--theme-accent-fill,#1f5f08) 19%, transparent)}.story-week-day.is-over{border-color:var(--theme-accent-line,#51a52f);background:var(--theme-accent-soft,#dff4d5);box-shadow:0 0 0 3px color-mix(in srgb, var(--theme-accent-fill,#51a52f) 20%, transparent);transform:translateY(-3px)}.story-week-day-select{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:flex-end;gap:8px;padding:0;display:flex}.story-week-day-select>span{color:inherit;text-transform:uppercase;font-size:8px;font-weight:850}.story-week-day-select>strong{font-size:20px;line-height:1}.story-week-sequences{gap:4px;width:100%;display:grid}.story-week-create{border:1px dashed var(--theme-line-strong,#a9bda1);background:color-mix(in srgb, var(--theme-surface,#fff) 80%, transparent);width:38px;height:38px;color:var(--green-dark);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;margin:auto;transition:transform .15s,border-color .15s,background .15s,box-shadow .15s;display:inline-flex}.story-week-create:hover{border-color:var(--green-dark);background:var(--theme-surface,#fff);box-shadow:0 6px 16px color-mix(in srgb, var(--theme-accent-fill,#1f5f08) 13%, transparent);transform:scale(1.06)}.story-week-create:focus-visible{outline:3px solid color-mix(in srgb, var(--theme-focus,#51a52f) 24%, transparent);outline-offset:2px}.story-week-day.is-selected .story-week-create{border-color:color-mix(in srgb, var(--theme-line,#fff) 75%, transparent);background:color-mix(in srgb, var(--theme-surface,#fff) 14%, transparent);color:var(--theme-on-solid,#fff)}.story-week-day.is-selected .story-week-create:hover{background:color-mix(in srgb, var(--theme-surface,#fff) 24%, transparent)}.story-week-sequence-chip{z-index:1;border:1px solid color-mix(in srgb, var(--theme-accent-line,#1f5f08) 18%, transparent);background:var(--theme-accent-fill,var(--green-dark));width:100%;min-width:0;color:var(--theme-on-solid,#fff);cursor:grab;touch-action:none;box-shadow:0 4px 10px color-mix(in srgb, var(--theme-accent-fill,#1f5f08) 12%, transparent);border-radius:8px;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:4px;padding:5px 6px;display:grid;position:relative}.story-week-sequence-chip:active{cursor:grabbing}.story-week-sequence-chip.is-dragging{z-index:20;opacity:.88;box-shadow:0 14px 28px color-mix(in srgb, var(--theme-accent-fill,#1f5f08) 28%, transparent)}.story-week-sequence-chip:disabled{opacity:.58;cursor:wait}.story-week-sequence-chip>span{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:8px;font-weight:850;line-height:1.1;overflow:hidden}.story-week-sequence-chip>small{font-size:7px;font-weight:850}.story-week-story-count{color:var(--theme-accent-text,#426838);margin-top:auto;font-size:7.5px;font-weight:800;line-height:1.15}.story-week-day.is-selected .story-week-sequence-chip{background:var(--theme-surface,#fff);color:var(--green-dark)}.story-week-day.is-selected .story-week-story-count{color:color-mix(in srgb, var(--theme-on-solid,#fff) 82%, transparent)}.story-view-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;padding:4px 2px;display:flex}.story-view-toolbar>div:first-child{gap:3px;display:grid}.story-view-toolbar>div:first-child strong{text-transform:capitalize;font-size:14px}.story-view-toggle{border:1px solid var(--line);background:var(--theme-surface,#fff);border-radius:12px;gap:4px;padding:4px;display:flex}.story-view-toggle button{height:31px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:0 10px;font-size:9px;font-weight:800;display:flex}.story-view-toggle button.active{background:var(--theme-accent-text,var(--green-dark));color:var(--theme-on-solid,#fff)}.sequence-editable-badges{align-items:center}.sequence-objective-edit{background:var(--green-soft);min-width:120px;color:var(--green-dark);border:1px solid #0000;border-radius:999px;align-items:center;gap:5px;padding:5px 8px;display:flex}.sequence-objective-edit:focus-within{border-color:var(--theme-accent-line,#91b581);box-shadow:0 0 0 3px color-mix(in srgb, var(--theme-accent-fill,#5ea43f) 10%, transparent)}.sequence-objective-edit input{width:172px;min-width:0;color:inherit;text-transform:uppercase;background:0 0;border:0;outline:0;padding:0;font-size:8px;font-weight:850}.sequence-title-edit{width:min(100%,620px);color:var(--ink);font:inherit;letter-spacing:-.025em;background:0 0;border:0;border-bottom:1px solid #0000;outline:0;margin:7px 0 5px;padding:2px 4px 3px 0;font-size:20px;font-weight:800}.sequence-title-edit:hover,.sequence-title-edit:focus{border-bottom-color:var(--theme-line-strong,#a8b9a1)}.story-visual-topline .drag-handle{margin-left:auto}.story-visual-body strong{margin-top:8px}.story-visual-body p{-webkit-line-clamp:9}.story-visual-assignee{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.story-list-view{gap:8px;padding:16px 20px 22px;display:grid}.story-list-item{border:1px solid var(--theme-line,#dfe6dc);background:var(--theme-surface,#fff);border-radius:14px;overflow:hidden}.story-list-item.is-unrecorded{border-color:var(--theme-warning-line,#e2d5a6);background:linear-gradient(90deg, var(--theme-warning-soft,#fffaf0) 0%, var(--theme-surface,#fff) 36%)}.story-list-item.is-recorded{border-color:var(--theme-accent-line,#a9c99d);background:linear-gradient(90deg, var(--theme-surface-subtle,#edf7e9) 0%, var(--theme-surface,#fff) 36%)}.story-list-item.is-unrecorded .story-list-number{background:var(--theme-warning-soft,#f7e8b9);color:var(--theme-warning-text,#7a5b0b)}.story-list-item.is-recorded .story-list-number{background:var(--theme-accent-fill,var(--green-dark));color:var(--theme-on-solid,#fff)}.story-list-item.is-expanded{border-color:var(--theme-line,#b9cdb0);box-shadow:0 8px 22px rgb(var(--theme-shadow-rgb,31 63 20) / .06)}.story-list-row{background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:62px;padding:8px 10px 8px 13px;display:grid}.story-list-summary{min-width:0;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:34px minmax(180px,1fr) 90px 120px 20px;align-items:center;gap:12px;padding:2px 3px 2px 0;display:grid}.story-list-summary:hover{background:var(--theme-surface-subtle,#f7faf5)}.story-list-status-actions{align-items:center;gap:6px;display:flex}.story-list-record-toggle{border:1px solid var(--theme-warning-line,#decf9c);background:var(--theme-warning-soft,#fff8df);width:38px;min-width:38px;min-height:38px;color:var(--theme-warning-text,#73580f);cursor:pointer;border-radius:11px;justify-content:center;align-items:center;gap:6px;padding:0;font-size:9px;font-weight:850;transition:all .14s;display:inline-flex}.story-list-record-toggle:hover{border-color:var(--theme-warning-line,#c6b26c);background:var(--theme-warning-soft,#fff2c2)}.story-list-record-toggle.is-checked{border-color:var(--theme-accent-line,#8fbd7f);background:var(--theme-accent-soft,#e0f1d9);color:var(--green-dark)}.story-list-publish-toggle:not(.is-checked){border-color:var(--line);background:var(--theme-surface,#fff);color:var(--muted)}.story-list-publish-toggle:not(.is-checked):hover{border-color:var(--theme-line-strong,#a8b9a1);background:var(--theme-surface-subtle,#f5f7f3)}.story-modal-checks input:focus-visible+span{outline:2px solid var(--green);outline-offset:2px}.story-list-number{background:var(--green-soft);width:31px;height:31px;color:var(--green-dark);border-radius:10px;place-items:center;font-size:10px;font-weight:850;display:grid}.story-list-title{gap:4px;min-width:0;display:grid}.story-list-title strong,.story-list-title small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.story-list-title strong{font-size:11px}.story-list-title small{color:var(--muted);font-size:8px}.story-list-meta{min-width:0;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:5px;font-size:8px;display:flex;overflow:hidden}.story-list-expanded{border-top:1px solid var(--theme-line,#e7ece5);background:var(--theme-surface-subtle,#fbfcfa);grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px;padding:14px 16px 16px 59px;display:grid}.story-list-copy{color:var(--theme-text,#384334);white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;font-weight:400;line-height:1.6}.story-list-copy ul,.story-list-copy ol{padding-left:18px}.story-list-expanded>button,.story-list-add{border:1px solid var(--theme-line,#cfdacb);background:var(--theme-surface,#fff);min-height:34px;color:var(--green-dark);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:0 11px;font-size:9px;font-weight:800;display:flex}.story-list-expanded>button:hover,.story-list-add:hover{background:var(--green-soft)}.story-list-add{border-style:dashed;width:100%}@media (max-width:900px){.story-week-days{grid-template-columns:repeat(7,112px);padding-bottom:4px;overflow-x:auto}.story-list-row{grid-template-columns:minmax(0,1fr) auto}.story-list-summary{grid-template-columns:34px minmax(150px,1fr) 82px 20px}.story-list-summary .story-list-meta:nth-of-type(4){display:none}}@media (max-width:600px){.story-week-picker{border-radius:16px;padding:12px}.story-view-toolbar{align-items:flex-end}.story-view-toolbar>div:first-child strong{font-size:11px}.sequence-objective-edit input{width:142px}.sequence-title-edit{font-size:18px}.story-list-view{padding:12px}.story-list-row{grid-template-columns:minmax(0,1fr) auto;padding:7px 8px 7px 10px}.story-list-summary{grid-template-columns:32px minmax(0,1fr) 18px;gap:9px}.story-list-summary .story-list-meta{display:none}.story-list-record-toggle{width:38px;min-width:38px;padding:0}.story-list-record-toggle span{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.story-list-expanded{grid-template-columns:1fr;padding:13px}}.story-focus-backdrop{z-index:120;background:color-mix(in srgb, var(--theme-surface-subtle,#0d140b) 60%, transparent);-webkit-backdrop-filter:blur(9px);place-items:center;padding:14px;animation:.15s ease-out story-focus-in;display:grid;position:fixed;inset:0;overflow:auto}@keyframes story-focus-in{0%{opacity:0}to{opacity:1}}.story-focus-shell{width:min(390px,56.25vh - 15.75px);min-width:310px;position:relative}.story-focus-card{aspect-ratio:9/16;border:1px solid color-mix(in srgb, var(--theme-line,#fff) 72%, transparent);background:radial-gradient(circle at 90% 7%, color-mix(in srgb, var(--theme-accent-fill,#8fd36e) 20%, transparent), transparent 26%), var(--theme-surface,#fff);width:100%;box-shadow:0 34px 85px rgb(var(--theme-shadow-rgb,5 10 4) / .38);border-radius:28px;flex-direction:column;animation:.17s ease-out story-card-in;display:flex;overflow:hidden}@keyframes story-card-in{0%{transform:scale(.97)translateY(8px)}to{transform:scale(1)translateY(0)}}.story-focus-head{border-bottom:1px solid var(--theme-line,#e5ebe2);grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;padding:13px 15px 12px;display:grid;position:relative}.story-focus-counter{color:var(--green-dark);letter-spacing:.07em;text-transform:uppercase;align-self:center;font-size:8px;font-weight:850}.story-focus-close{border:1px solid var(--theme-line,#dce4d8);background:color-mix(in srgb, var(--theme-surface,#fff) 86%, transparent);width:29px;height:29px;color:var(--ink);cursor:pointer;border-radius:10px;grid-area:1/2;place-items:center;display:grid}.story-focus-close:hover{background:var(--theme-surface-subtle,#eef4ea)}.story-focus-title{grid-column:1;gap:3px;min-width:0;display:grid}.story-focus-title>span,.story-focus-copy>.story-canvas-label{color:var(--muted);letter-spacing:.09em;text-transform:uppercase;font-size:7px;font-weight:850}.story-focus-title input{width:100%;min-width:0;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;padding:0;font-size:14px;font-weight:850}.story-focus-date{background:var(--green-soft);color:var(--green-dark);text-transform:capitalize;border-radius:9px;align-self:end;align-items:center;gap:5px;padding:6px 8px;font-size:8px;font-weight:850;display:flex}.story-focus-copy{flex-direction:column;flex:1;gap:6px;min-height:0;padding:11px 14px 8px;display:flex}.story-focus-plain-text{resize:none;border:1px solid var(--theme-line,#dce4d8);background:var(--theme-surface-subtle,#fbfcfa);width:100%;min-height:0;color:var(--theme-text,#253020);border-radius:14px;outline:none;flex:1;padding:13px 13px 25px;font-size:12px;line-height:1.55}.story-focus-plain-text:focus{border-color:var(--theme-accent-line,#91b581);box-shadow:0 0 0 3px color-mix(in srgb, var(--theme-accent-fill,#5ea43f) 10%, transparent)}.story-focus-meta{grid-template-columns:.78fr 1.22fr;gap:7px;padding:0 14px 8px;display:grid}.story-focus-meta label{border:1px solid var(--theme-line,#dfe6dc);background:var(--theme-surface-subtle,#f8faf7);border-radius:11px;gap:3px;min-width:0;padding:7px 9px;display:grid}.story-focus-meta label>span{color:var(--muted);align-items:center;gap:4px;font-size:7px;font-weight:800;display:flex}.story-focus-meta input,.story-focus-meta select{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;padding:0;font-size:9px;font-weight:800}.story-focus-checks{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 14px 8px}.story-focus-checks span{border-radius:11px;padding:9px 7px;font-size:9px}.story-focus-utilities{border-top:1px solid var(--theme-line,#e8ece6);justify-content:space-between;align-items:center;gap:8px;min-height:42px;padding:7px 13px 9px;display:flex}.story-focus-utilities>div{gap:5px;display:flex}.story-focus-utilities button{border:1px solid var(--theme-line,#dce4d8);background:var(--theme-surface,#fff);width:29px;height:29px;color:var(--green-dark);cursor:pointer;border-radius:9px;place-items:center;display:grid}.story-focus-utilities button:hover{background:var(--theme-surface-subtle,#eef4ea)}.story-focus-utilities button.story-focus-save{border-color:var(--theme-accent-line,#b7dbaa);background:var(--theme-accent-soft,#e5f5df);width:auto;min-width:92px;color:var(--theme-accent-text,#1b6814);gap:6px;padding:0 13px;font-size:9px;font-weight:850;display:inline-flex}.story-focus-utilities button.story-focus-save:hover:not(:disabled){border-color:var(--theme-accent-line,#8fc27b);background:var(--theme-accent-soft,#d8efcf)}.story-focus-utilities button.story-focus-save:disabled{opacity:.68;cursor:default}.story-focus-utilities button.danger{color:var(--theme-danger-text,#ad392f)}.story-exit-confirmation{z-index:12;background:color-mix(in srgb, var(--theme-surface-subtle,#0d140b) 48%, transparent);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);place-items:center;padding:20px;display:grid;position:fixed;inset:0}.story-exit-card{border:1px solid var(--theme-line,#dce6d8);background:var(--theme-surface,#fff);width:min(410px,100%);box-shadow:0 22px 70px rgb(var(--theme-shadow-rgb,15 31 11) / .24);border-radius:18px;padding:22px}.story-exit-card strong{color:var(--ink);font-size:18px;display:block}.story-exit-card p{color:var(--muted);margin:7px 0 18px;font-size:13px;line-height:1.45}.story-exit-card>div{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.story-exit-card button{border:1px solid var(--theme-line,#dce4d8);background:var(--theme-surface,#fff);min-height:38px;color:var(--ink);border-radius:10px;padding:0 13px;font-size:12px;font-weight:750}.story-exit-card button.discard{color:var(--theme-danger-text,#a23d34)}.story-exit-card button.save{border-color:var(--theme-accent-line,#acd39c);background:var(--theme-accent-soft,#dff2d7);color:var(--theme-accent-text,#185f12)}.story-focus-arrow{z-index:4;border:1px solid color-mix(in srgb, var(--theme-line,#fff) 62%, transparent);background:color-mix(in srgb, var(--theme-surface,#fff) 92%, transparent);width:46px;height:56px;color:var(--green-dark);box-shadow:0 12px 30px rgb(var(--theme-shadow-rgb,5 10 4) / .2);cursor:pointer;border-radius:16px;place-items:center;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.story-focus-arrow.previous{left:-68px}.story-focus-arrow.next{right:-68px}.story-focus-arrow:hover:not(:disabled){background:var(--green-soft)}.story-focus-arrow:disabled{opacity:.26;cursor:default}@media (max-width:560px){.story-focus-backdrop{padding:10px}.story-focus-shell{width:min(100vw - 20px,56.25vh - 11.25px);min-width:0}.story-focus-card{border-radius:23px}.story-focus-arrow{background:color-mix(in srgb, var(--theme-surface,#fff) 88%, transparent);border-radius:12px;width:34px;height:46px}.story-focus-arrow.previous{left:8px}.story-focus-arrow.next{right:8px}}.visual.has-thumbnail{isolation:isolate;color:var(--theme-on-solid,#fff);position:relative}.visual.has-thumbnail:after{content:"";z-index:-1;background:linear-gradient(180deg, color-mix(in srgb, var(--theme-surface-subtle,#081205) 8%, transparent), color-mix(in srgb, var(--theme-surface-subtle,#081205) 78%, transparent));position:absolute;inset:0}.visual-thumbnail{z-index:-2;object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.visual.has-thumbnail>span:not(.visual-label){color:color-mix(in srgb, var(--theme-on-solid,#fff) 78%, transparent)}.live-insights{max-width:1240px}.insights-live-head{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:16px;display:flex}.insights-live-head h1{letter-spacing:-.04em;margin:4px 0 7px;font-size:30px}.insights-live-head>div:first-child>p:last-child{color:var(--muted);max-width:650px;margin:0;font-size:11px;line-height:1.5}.insights-live-actions{align-items:flex-end;gap:8px;display:flex}.insights-live-actions label{gap:5px;display:grid}.insights-live-actions label>span{color:var(--muted);font-size:9px;font-weight:700}.insights-live-actions .secondary-btn{white-space:nowrap;height:39px}.zernio-connection{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;margin-bottom:12px;padding:14px 16px;display:grid}.zernio-logo{background:var(--green-soft);width:42px;height:42px;color:var(--green-dark);border-radius:13px;place-items:center;display:grid}.zernio-connection b,.zernio-connection span{display:block}.zernio-connection b{font-size:12px}.zernio-connection span{color:var(--muted);margin-top:3px;font-size:9px}.zernio-connection>small{color:var(--muted);border-left:1px solid var(--line);padding-left:12px;font-size:9px}.insights-range-panel{grid-template-columns:auto minmax(300px,1fr) auto;align-items:center;gap:16px;margin-bottom:12px;padding:13px 15px;display:grid}.insights-range-panel>div:first-child span,.insights-range-panel>div:first-child strong{display:block}.insights-range-panel>div:first-child span{color:var(--muted);text-transform:uppercase;font-size:8px;font-weight:700}.insights-range-panel>div:first-child strong{white-space:nowrap;margin-top:4px;font-size:11px}.insights-range-presets,.trend-metric-picker{gap:5px;display:flex}.insights-range-presets button,.trend-metric-picker button,.insights-custom-range button{border:1px solid var(--line);background:var(--theme-surface,#fff);height:32px;color:var(--muted);border-radius:9px;padding:0 10px;font-size:9px;font-weight:700}.insights-range-presets button.active,.trend-metric-picker button.active{border-color:var(--green-dark);background:var(--theme-accent-fill,var(--green-dark));color:var(--theme-on-solid,#fff)}.insights-custom-range{align-items:center;gap:6px;display:flex}.insights-custom-range input{border:1px solid var(--line);background:var(--theme-surface,#fff);width:118px;height:32px;color:var(--text);font:inherit;border-radius:9px;padding:0 7px;font-size:9px}.insights-custom-range>span{color:var(--muted);font-size:8px}.insights-custom-range button{border-color:var(--green-soft);background:var(--green-soft);color:var(--green-dark)}.insights-warning{border:1px solid var(--theme-warning-line,#ead8aa);background:var(--theme-warning-soft,#fff9e9);color:var(--theme-warning-text,#70551b);border-radius:12px;align-items:center;gap:8px;margin-bottom:12px;padding:10px 12px;font-size:10px;display:flex}.commercial-insights{border-color:var(--theme-line,#cadec2);background:radial-gradient(circle at 92% 0, color-mix(in srgb, var(--theme-accent-fill,#7ab75c) 16%, transparent), transparent 30%), linear-gradient(150deg, var(--theme-surface-subtle,#fbfdf9) 0%, var(--theme-surface-subtle,#f4f9f0) 100%);box-shadow:0 20px 60px rgb(var(--theme-shadow-rgb,28 63 18) / .08);margin-bottom:22px;padding:20px}.commercial-insights-head{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:17px;display:grid}.commercial-mark{background:var(--theme-accent-fill,var(--green-dark));width:44px;height:44px;color:var(--theme-on-solid,#fff);box-shadow:0 10px 25px color-mix(in srgb, var(--theme-accent-fill,#194d12) 20%, transparent);border-radius:14px;place-items:center;display:grid}.commercial-insights-head h2{letter-spacing:-.035em;margin:3px 0 4px;font-size:20px}.commercial-insights-head>div:nth-child(2)>p:last-child{max-width:680px;color:var(--muted);margin:0;font-size:10px;line-height:1.5}.commercial-connection-state{justify-items:end;gap:5px;display:grid}.commercial-connection-state small{color:var(--muted);font-size:8px}.commercial-loading,.commercial-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.commercial-loading .skeleton{border-radius:16px;min-height:132px}.commercial-error{border:1px solid var(--theme-warning-line,#ead8aa);background:var(--theme-warning-soft,#fffaf0);color:var(--theme-warning-text,#71581e);border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:14px;display:grid}.commercial-error b,.commercial-error p{margin:0;display:block}.commercial-error b{font-size:11px}.commercial-error p{margin-top:3px;font-size:9px}.commercial-inline-warning{background:var(--theme-warning-soft,#fff7df);color:var(--theme-warning-text,#72591d);border-radius:10px;align-items:center;gap:7px;margin-bottom:10px;padding:8px 10px;font-size:9px;display:flex}.commercial-metric-card{border:1px solid var(--theme-line,#dbe7d6);background:color-mix(in srgb, var(--theme-surface,#fff) 90%, transparent);border-radius:16px;min-width:0;min-height:145px;padding:14px}.commercial-metric-card.primary{border-color:var(--theme-accent-line,#1c4d14);background:linear-gradient(145deg, var(--theme-accent-fill,#183c11), var(--theme-accent-fill,#2b681d));color:var(--theme-on-solid,#fff)}.commercial-metric-card.influenced{border-color:var(--theme-accent-line,#c6dcb9);background:var(--theme-surface-subtle,#eef7e9)}.commercial-card-icon{background:var(--green-soft);width:31px;height:31px;color:var(--green-dark);border-radius:10px;place-items:center;margin-bottom:17px;display:grid}.commercial-metric-card.primary .commercial-card-icon{background:color-mix(in srgb, var(--theme-surface,#fff) 15%, transparent);color:var(--theme-on-solid,#fff)}.commercial-metric-card>small,.commercial-metric-card>strong,.commercial-metric-card>p{display:block}.commercial-metric-card>small{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:8px;font-weight:750}.commercial-metric-card.primary>small,.commercial-metric-card.primary>p{color:color-mix(in srgb, var(--theme-on-solid,#fff) 72%, transparent)}.commercial-metric-card>strong{letter-spacing:-.045em;text-overflow:ellipsis;white-space:nowrap;margin:6px 0 5px;font-size:clamp(18px,2vw,25px);line-height:1.05;overflow:hidden}.commercial-metric-card>p{color:var(--muted);margin:0;font-size:8px;line-height:1.4}.commercial-context-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:9px;display:grid}.commercial-context-grid>div{border:1px solid color-mix(in srgb, var(--theme-line,#cadec2) 80%, transparent);background:color-mix(in srgb, var(--theme-surface,#fff) 72%, transparent);color:var(--green-dark);border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:3px 7px;padding:10px;display:grid}.commercial-context-grid svg{grid-row:1/3}.commercial-context-grid span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.commercial-context-grid b{font-size:11px}.commercial-content-highlight{border:1px solid var(--theme-line,#d9e5d4);background:linear-gradient(115deg, var(--theme-surface-subtle,#f2f8ee), var(--theme-surface,#fff) 58%);border-radius:15px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;margin-top:12px;padding:13px;display:grid}.commercial-content-highlight-icon{background:var(--theme-accent-soft,#dff0d8);width:37px;height:37px;color:var(--green-dark);border-radius:12px;place-items:center;display:grid}.commercial-content-highlight small,.commercial-content-highlight h3,.commercial-content-highlight p{margin:0;display:block}.commercial-content-highlight small{color:var(--green-dark);letter-spacing:.08em;font-size:7px;font-weight:900}.commercial-content-highlight h3{margin-top:4px;font-size:11px}.commercial-content-highlight p{color:var(--muted);margin-top:3px;font-size:8px}.commercial-content-highlight>strong{white-space:nowrap;font-size:17px}.commercial-breakdown-grid{grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:9px;margin-top:9px;display:grid}.commercial-breakdown-card{border:1px solid var(--theme-line,#dbe7d6);background:color-mix(in srgb, var(--theme-surface,#fff) 86%, transparent);border-radius:15px;min-width:0;padding:14px}.commercial-breakdown-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.commercial-breakdown-head span{color:var(--green);letter-spacing:.08em;font-size:8px;font-weight:850}.commercial-breakdown-head h3{margin:3px 0 0;font-size:13px}.commercial-breakdown-head>small{color:var(--muted);font-size:8px}.commercial-lane-list,.commercial-channel-list{gap:9px;display:grid}.commercial-lane-row{grid-template-columns:120px minmax(80px,1fr) 95px;align-items:center;gap:10px;display:grid}.commercial-lane-row>div:first-child span,.commercial-lane-row>div:first-child b{display:block}.commercial-lane-row>div:first-child span{font-size:9px;font-weight:750}.commercial-lane-row>div:first-child b{color:var(--muted);margin-top:2px;font-size:8px}.commercial-lane-track{background:var(--theme-surface-subtle,#e8eee5);border-radius:999px;height:6px;overflow:hidden}.commercial-lane-track i{border-radius:inherit;background:linear-gradient(90deg, var(--theme-accent-fill,#63a84b), var(--theme-accent-fill,#2d781e));height:100%;display:block}.commercial-lane-row>strong{text-align:right;text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.commercial-channel-list>div{border-bottom:1px solid var(--theme-line,#e7ece4);grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding-bottom:8px;display:grid}.commercial-channel-list>div:last-child{border-bottom:0;padding-bottom:0}.commercial-channel-list span{font-size:9px;font-weight:750}.commercial-channel-list b{color:var(--muted);grid-row:2;font-size:8px;font-weight:500}.commercial-channel-list strong{grid-area:1/2/3;align-self:center;font-size:10px}.commercial-channel-empty{background:var(--bg);color:var(--muted);border-radius:11px;padding:16px;font-size:9px;line-height:1.5}.commercial-footnote{border-top:1px solid color-mix(in srgb, var(--theme-line,#cadec2) 75%, transparent);color:var(--muted);margin:11px 0 0;padding-top:10px;font-size:8px;line-height:1.5}.metaads-insights{border-color:var(--theme-line,#d8ddec);background:radial-gradient(circle at 92% 0, color-mix(in srgb, var(--theme-info-fill,#4e70e0) 12%, transparent), transparent 30%), linear-gradient(145deg, var(--theme-surface-subtle,#fcfdff) 0%, var(--theme-surface-subtle,#f5f7fc) 100%);box-shadow:0 20px 60px color-mix(in srgb, var(--theme-accent-fill,#283c78) 8%, transparent);margin-bottom:22px;padding:20px}.metaads-insights-head{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:17px;display:grid}.metaads-mark{background:linear-gradient(145deg, var(--theme-info-fill,#2749b8), var(--theme-info-fill,#5778e8));width:44px;height:44px;color:var(--theme-on-solid,#fff);box-shadow:0 10px 25px color-mix(in srgb, var(--theme-accent-fill,#2848b5) 22%, transparent);border-radius:14px;place-items:center;display:grid}.metaads-insights-head h2{letter-spacing:-.035em;margin:3px 0 4px;font-size:20px}.metaads-insights-head>div:nth-child(2)>p:last-child{max-width:680px;color:var(--muted);margin:0;font-size:10px;line-height:1.5}.metaads-readonly-state{justify-items:end;gap:5px;display:grid}.metaads-readonly-state .badge{align-items:center;gap:4px;display:flex}.metaads-readonly-state small{color:var(--muted);font-size:8px}.metaads-loading,.metaads-summary-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;display:grid}.metaads-loading .skeleton{border-radius:15px;min-height:125px}.metaads-error{border:1px solid var(--theme-warning-line,#ead8aa);background:var(--theme-warning-soft,#fffaf0);color:var(--theme-warning-text,#71581e);border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:14px;display:grid}.metaads-error b,.metaads-error p{margin:0;display:block}.metaads-error b{font-size:11px}.metaads-error p{margin-top:3px;font-size:9px}.metaads-warning{background:var(--theme-warning-soft,#fff7df);color:var(--theme-warning-text,#72591d);border-radius:10px;align-items:center;gap:7px;margin-bottom:10px;padding:8px 10px;font-size:9px;display:flex}.metaads-summary-grid article{border:1px solid var(--theme-line,#dfe3ef);background:color-mix(in srgb, var(--theme-surface,#fff) 90%, transparent);border-radius:15px;min-width:0;min-height:132px;padding:12px}.metaads-kpi-icon{background:var(--theme-info-soft,#e9edfb);width:29px;height:29px;color:var(--theme-info-text,#3454bd);border-radius:9px;place-items:center;margin-bottom:13px;display:grid}.metaads-summary-grid small,.metaads-summary-grid strong,.metaads-summary-grid p{display:block}.metaads-summary-grid small{color:var(--muted);letter-spacing:.04em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:7px;font-weight:800;overflow:hidden}.metaads-summary-grid strong{letter-spacing:-.04em;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:clamp(15px,1.7vw,21px);overflow:hidden}.metaads-summary-grid p{color:var(--muted);margin:4px 0 0;font-size:7px;line-height:1.4}.metaads-custom-metric{background:linear-gradient(135deg, var(--theme-info-fill,#182448), var(--theme-info-fill,#2d4384));color:var(--theme-on-solid,#fff);border-radius:16px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px 18px;margin-top:10px;padding:17px;display:grid}.metaads-custom-metric span{color:var(--theme-info-text,#aebff8);letter-spacing:.09em;font-size:7px;font-weight:900}.metaads-custom-metric h3{margin:4px 0 0;font-size:17px}.metaads-custom-metric p{max-width:600px;color:color-mix(in srgb, var(--theme-on-solid,#fff) 72%, transparent);margin:5px 0 0;font-size:8px;line-height:1.45}.metaads-custom-metric>strong{letter-spacing:-.055em;font-size:clamp(28px,4vw,45px)}.metaads-custom-metric code{border:1px solid color-mix(in srgb, var(--theme-line,#fff) 16%, transparent);background:color-mix(in srgb, var(--theme-surface,#fff) 8%, transparent);color:var(--theme-on-solid,#fff);white-space:nowrap;border-radius:10px;padding:9px 11px;font-family:inherit;font-size:9px;font-weight:800}.metaads-custom-metric>small{color:color-mix(in srgb, var(--theme-on-solid,#fff) 58%, transparent);grid-column:1/-1;font-size:7px}.metaads-operational-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:9px;display:grid}.metaads-operational-row>div{border:1px solid var(--theme-line,#e0e4ee);background:color-mix(in srgb, var(--theme-surface,#fff) 75%, transparent);border-radius:11px;padding:9px 10px}.metaads-operational-row span,.metaads-operational-row b{display:block}.metaads-operational-row span{color:var(--muted);font-size:7px}.metaads-operational-row b{margin-top:3px;font-size:10px}.metaads-creatives-head{justify-content:space-between;align-items:flex-end;gap:12px;margin:22px 0 10px;display:flex}.metaads-creatives-head span{color:var(--theme-info-text,#3454bd);letter-spacing:.09em;font-size:7px;font-weight:900}.metaads-creatives-head h3{margin:4px 0 0;font-size:15px}.metaads-creatives-head p{color:var(--muted);margin:4px 0 0;font-size:8px}.metaads-creative-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.metaads-creative-card{border:1px solid var(--theme-line,#dfe3ed);background:var(--theme-surface,#fff);min-width:0;box-shadow:0 8px 24px color-mix(in srgb, var(--theme-accent-fill,#283664) 6%, transparent);border-radius:15px;overflow:hidden}.metaads-creative-media{aspect-ratio:4/5;background:var(--theme-surface-subtle,#e9ecf4);position:relative;overflow:hidden}.metaads-creative-media img{object-fit:cover;width:100%;height:100%;display:block}.metaads-creative-media.is-video img{filter:saturate(.96)contrast(1.03)}.metaads-creative-media>.badge{box-shadow:0 5px 14px rgb(var(--theme-shadow-rgb,20 25 45) / .12);position:absolute;top:9px;left:9px}.metaads-video-play{border:1px solid color-mix(in srgb, var(--theme-line,#fff) 62%, transparent);background:color-mix(in srgb, var(--theme-surface-subtle,#0f1422) 68%, transparent);width:48px;height:48px;color:var(--theme-on-solid,#fff);box-shadow:0 10px 28px rgb(var(--theme-shadow-rgb,9 14 25) / .28);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:999px;place-items:center;display:grid;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.metaads-video-plays{background:color-mix(in srgb, var(--theme-surface-subtle,#0f1422) 72%, transparent);max-width:calc(100% - 16px);color:var(--theme-on-solid,#fff);text-overflow:ellipsis;white-space:nowrap;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:999px;padding:5px 7px;font-size:7px;font-weight:800;position:absolute;bottom:8px;right:8px;overflow:hidden}.metaads-creative-fallback{width:100%;height:100%;color:var(--theme-muted,#7c8294);flex-direction:column;justify-content:center;align-items:center;gap:7px;font-size:8px;display:flex}.metaads-creative-body{padding:11px}.metaads-creative-topline{justify-content:space-between;align-items:center;gap:8px;display:flex}.metaads-creative-topline span{background:var(--theme-surface-subtle,#edf0fa);color:var(--theme-info-text,#3454bd);text-transform:uppercase;border-radius:999px;padding:4px 7px;font-size:6px;font-weight:850}.metaads-creative-topline small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:6px;overflow:hidden}.metaads-creative-body h3{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:28px;margin:9px 0 3px;font-size:10px;line-height:1.35;display:-webkit-box;overflow:hidden}.metaads-creative-body>p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:7px;overflow:hidden}.metaads-creative-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:10px;display:grid}.metaads-creative-metrics>div{background:var(--theme-surface-subtle,#f5f6fa);border-radius:8px;min-width:0;padding:7px}.metaads-creative-metrics small,.metaads-creative-metrics b{display:block}.metaads-creative-metrics small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:6px;overflow:hidden}.metaads-analyze-btn{border:1px solid var(--theme-info-line,#ced7f6);background:var(--theme-info-soft,#edf1ff);width:100%;height:34px;color:var(--theme-info-text,#2947ac);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:5px;margin-top:9px;font-size:8px;font-weight:800;display:flex}.metaads-analyze-btn:hover{background:var(--theme-info-soft,#dfe7ff)}.metaads-video-state{border-radius:9px;align-items:center;gap:5px;min-height:30px;padding:7px 8px;font-weight:750;line-height:1.35;display:flex;white-space:normal!important;margin:9px 0 0!important;font-size:7px!important}.metaads-video-state.ready{background:var(--theme-surface-subtle,#eef8eb);color:var(--theme-accent-text,#2f701d)}.metaads-video-state.poster-only{background:var(--theme-warning-soft,#fff7e8);color:var(--theme-warning-text,#9a6813)}.metaads-video-state svg{flex:none}.metaads-creative-metrics b{text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:9px;overflow:hidden}.metaads-empty{border:1px dashed var(--theme-line,#d8ddea);min-height:120px;color:var(--muted);border-radius:14px;justify-content:center;align-items:center;gap:8px;font-size:9px;display:flex}.metaads-footnote{border-top:1px solid var(--theme-line,#dfe3ed);color:var(--muted);align-items:flex-start;gap:6px;margin:12px 0 0;padding-top:10px;font-size:8px;line-height:1.5;display:flex}.metaads-footnote svg{color:var(--theme-info-text,#3454bd);flex:none;margin-top:1px}.video-analysis-modal{width:min(1120px,100% - 28px);max-height:92vh}.video-analysis-modal .modal-body{padding:0}.video-analysis-modal>footer{align-items:center}.video-analysis-footer-note{color:var(--muted);align-items:center;gap:5px;margin-right:auto;font-size:8px;display:flex}.video-analysis-shell{grid-template-columns:280px minmax(0,1fr);align-items:start;min-height:610px;display:grid}.video-analysis-source{border-right:1px solid var(--line);background:var(--theme-surface-subtle,#f3f6f1);align-self:stretch;min-height:610px;padding:18px}.video-analysis-player{aspect-ratio:9/16;background:var(--theme-surface-subtle,#111);width:100%;box-shadow:0 15px 35px rgb(var(--theme-shadow-rgb,17 30 13) / .16);border-radius:17px;overflow:hidden}.video-analysis-player video,.video-analysis-player img{object-fit:contain;width:100%;height:100%;display:block}.video-analysis-source-copy{margin-top:13px}.video-analysis-source-copy h3{-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:9px 0 5px;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden}.video-analysis-source-copy p{color:var(--muted);-webkit-line-clamp:4;-webkit-box-orient:vertical;margin:0;font-size:8px;line-height:1.5;display:-webkit-box;overflow:hidden}.video-analysis-report{min-width:0;min-height:610px;padding:20px}.video-analysis-intro,.video-analysis-progress{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:550px;display:flex}.video-analysis-intro>span,.video-analysis-progress>span{background:linear-gradient(145deg, var(--theme-info-soft,#e4eaff), var(--theme-surface-subtle,#f3f5ff));width:55px;height:55px;color:var(--theme-info-text,#3454bd);border-radius:17px;place-items:center;display:grid}.video-analysis-intro h3,.video-analysis-progress h3{margin:15px 0 6px;font-size:18px}.video-analysis-intro>p,.video-analysis-progress>p{max-width:500px;color:var(--muted);margin:0;font-size:10px;line-height:1.55}.video-analysis-intro>div{flex-wrap:wrap;justify-content:center;gap:7px;margin-top:18px;display:flex}.video-analysis-intro>div span{border:1px solid var(--theme-line,#dbe4d6);background:var(--theme-surface-subtle,#f6faf4);color:var(--theme-accent-text,#416337);border-radius:999px;align-items:center;gap:4px;padding:6px 9px;font-size:8px;font-weight:700;display:flex}.video-analysis-progress>div{gap:5px;margin-top:22px;display:flex}.video-analysis-progress i{background:var(--theme-info-text,#3454bd);border-radius:50%;width:7px;height:7px;animation:1.2s ease-in-out infinite video-analysis-pulse}.video-analysis-progress i:nth-child(2){animation-delay:.15s}.video-analysis-progress i:nth-child(3){animation-delay:.3s}.video-analysis-progress small{color:var(--muted);margin-top:11px;font-size:8px}@keyframes video-analysis-pulse{0%,to{opacity:.25;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}}.video-analysis-error{border:1px solid var(--theme-danger-line,#edc9c5);background:var(--theme-surface-subtle,#fff5f3);color:var(--theme-danger-text,#903c33);border-radius:13px;align-items:flex-start;gap:9px;padding:13px;display:flex}.video-analysis-error b,.video-analysis-error p{margin:0;display:block}.video-analysis-error b{font-size:10px}.video-analysis-error p{margin-top:3px;font-size:8px;line-height:1.5}.video-analysis-result{gap:12px;display:grid}.video-analysis-summary{background:linear-gradient(135deg, var(--theme-info-fill,#172140), var(--theme-info-fill,#2b4082));color:var(--theme-on-solid,#fff);border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:17px;display:grid}.video-analysis-summary span,.video-analysis-hook>span,.video-analysis-section-head span,.video-analysis-columns article>span,.video-analysis-production>span,.video-analysis-experiments>span,.video-analysis-metrics-reading span{color:var(--theme-info-text,#879add);letter-spacing:.09em;font-size:7px;font-weight:900}.video-analysis-summary h3{margin:5px 0 0;font-size:13px;line-height:1.45}.video-analysis-summary>strong{letter-spacing:-.06em;font-size:38px}.video-analysis-summary>strong small{opacity:.6;font-size:11px}.video-analysis-hook{border:1px solid var(--theme-line,#dbe1f3);background:var(--theme-surface-subtle,#f7f8fc);border-radius:15px;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:13px;display:grid}.video-analysis-hook>span,.video-analysis-hook>small{grid-column:1/-1}.video-analysis-hook>div{background:var(--theme-surface,#fff);border-radius:10px;padding:9px}.video-analysis-hook b,.video-analysis-hook p{margin:0;display:block}.video-analysis-hook b{font-size:8px}.video-analysis-hook p{color:var(--theme-muted,#4f574d);margin-top:4px;font-size:8px;line-height:1.45}.video-analysis-hook>small{color:var(--muted);font-size:7px;line-height:1.45}.video-analysis-section-head{justify-content:space-between;align-items:flex-end;gap:10px;margin-top:6px;display:flex}.video-analysis-section-head h3{margin:4px 0 0;font-size:14px}.video-analysis-timeline{gap:6px;display:grid}.video-analysis-timeline article{border-left:3px solid var(--theme-info-line,#aebce9);background:var(--theme-surface-subtle,#f7f8fb);border-radius:0 11px 11px 0;grid-template-columns:85px minmax(0,1fr);gap:10px;padding:10px;display:grid}.video-analysis-timeline time{color:var(--theme-info-text,#3454bd);font-size:8px;font-weight:850}.video-analysis-timeline h4,.video-analysis-timeline p,.video-analysis-timeline small{margin:0;display:block}.video-analysis-timeline h4{font-size:10px}.video-analysis-timeline p{color:var(--theme-muted,#4d554a);margin-top:4px;font-size:8px;line-height:1.45}.video-analysis-timeline small{color:var(--muted);margin-top:5px;font-size:7px}.video-analysis-strategy-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.video-analysis-strategy-grid article{border:1px solid var(--line);border-radius:11px;padding:9px}.video-analysis-strategy-grid span{color:var(--muted);text-transform:uppercase;font-size:7px;font-weight:850}.video-analysis-strategy-grid p{margin:4px 0 0;font-size:8px;line-height:1.45}.video-analysis-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.video-analysis-columns article{border-radius:13px;padding:12px}.video-analysis-columns article.positive{background:var(--theme-surface-subtle,#f0f8ed)}.video-analysis-columns article.warning{background:var(--theme-warning-soft,#fff7e7)}.video-analysis-columns article>span{color:var(--green-dark)}.video-analysis-columns article.warning>span{color:var(--theme-warning-text,#8a6200)}.video-analysis-columns p{align-items:flex-start;gap:5px;margin:7px 0 0;font-size:8px;line-height:1.45;display:flex}.video-analysis-columns p svg{flex:none;margin-top:1px}.video-analysis-production,.video-analysis-experiments{border:1px solid var(--line);border-radius:13px;padding:12px}.video-analysis-production>span,.video-analysis-experiments>span{color:var(--green-dark)}.video-analysis-production p{color:var(--theme-muted,#4f574d);margin:7px 0 0;font-size:8px;line-height:1.45}.video-analysis-experiments p{grid-template-columns:22px minmax(0,1fr);align-items:start;gap:7px;margin:8px 0 0;font-size:8px;line-height:1.45;display:grid}.video-analysis-experiments p b{background:var(--green-soft);width:22px;height:22px;color:var(--green-dark);border-radius:8px;place-items:center;display:grid}.video-analysis-metrics-reading{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.video-analysis-metrics-reading>div{background:var(--theme-surface-subtle,#f6f7f5);border-radius:11px;padding:10px}.video-analysis-metrics-reading span{color:var(--muted)}.video-analysis-metrics-reading p{margin:6px 0 0;font-size:7px;line-height:1.45}.video-analysis-transcript{border:1px solid var(--line);background:var(--theme-surface,#fff);border-radius:13px;padding:11px}.video-analysis-transcript summary{color:var(--green-dark);cursor:pointer;font-size:9px;font-weight:800}.video-analysis-transcript p{border-top:1px solid var(--theme-line,#edf0eb);grid-template-columns:80px minmax(0,1fr);gap:8px;margin:9px 0 0;padding-top:9px;font-size:8px;line-height:1.5;display:grid}.video-analysis-transcript time{color:var(--theme-info-text,#3454bd);font-weight:800}.insights-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:22px;display:grid}.insights-metric-grid article{border:1px solid var(--line);background:var(--theme-surface,#fff);box-shadow:var(--shadow);border-radius:17px;padding:15px}.insights-metric-grid article>span,.insights-metric-grid article>small{display:block}.insights-metric-grid article>span{color:var(--muted);font-size:9px;font-weight:700}.insights-metric-grid article>strong{letter-spacing:-.04em;margin:8px 0 5px;font-size:24px;display:block}.insights-metric-grid article>small{color:var(--muted);min-height:22px;font-size:8px;line-height:1.4}.advanced-insights-section{border-top:1px solid var(--line);margin-bottom:24px;padding-top:20px}.advanced-insights-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.advanced-insight-card{border:1px solid var(--line);background:var(--theme-surface,#fff);min-width:0;min-height:205px;color:var(--text);text-align:left;box-shadow:var(--shadow);border-radius:17px;flex-direction:column;align-items:flex-start;padding:15px;display:flex;position:relative}.advanced-insight-card:hover:not(:disabled){border-color:var(--theme-accent-line,#b9d1af);transform:translateY(-2px)}.advanced-insight-card:disabled{cursor:default;opacity:.7}.advanced-insight-card.leader{background:linear-gradient(145deg, var(--theme-accent-fill,#173b22), var(--theme-accent-fill,#2e6238));color:var(--theme-on-solid,#fff);border-color:#0000}.advanced-insight-card.story-leader{background:linear-gradient(145deg, var(--theme-surface-subtle,#f2f7ef), var(--theme-surface,#fff))}.advanced-insight-icon{background:var(--green-soft);width:34px;height:34px;color:var(--green-dark);border-radius:11px;place-items:center;margin-bottom:13px;display:grid}.advanced-insight-card.leader .advanced-insight-icon{background:color-mix(in srgb, var(--theme-surface,#fff) 14%, transparent);color:var(--theme-on-solid,#fff)}.advanced-insight-card>small{color:var(--muted);text-transform:uppercase;font-size:8px;font-weight:800}.advanced-insight-card.leader>small,.advanced-insight-card.leader>em{color:color-mix(in srgb, var(--theme-on-solid,#fff) 70%, transparent)}.advanced-insight-card>strong{letter-spacing:-.04em;margin:7px 0;font-size:25px;display:block}.advanced-insight-card>p{-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0 0 12px;font-size:9px;line-height:1.45;display:-webkit-box;overflow:hidden}.advanced-insight-card>em{color:var(--muted);margin-top:auto;font-size:7px;font-style:normal;line-height:1.4}.ai-insights-panel{border-color:var(--theme-line,#cfe0c7);background:linear-gradient(145deg, var(--theme-surface-subtle,#fbfef9), var(--theme-surface-subtle,#f3f8ef));margin-bottom:24px;padding:19px}.ai-insights-head{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;display:grid}.ai-mark{background:var(--theme-accent-fill,var(--green-dark));width:45px;height:45px;color:var(--theme-on-solid,#fff);border-radius:15px;place-items:center;display:grid}.ai-insights-head h2{margin:2px 0 4px;font-size:17px}.ai-insights-head>div>p:last-child{max-width:680px;color:var(--muted);margin:0;font-size:9px;line-height:1.45}.ai-insights-head .primary-btn{white-space:nowrap}.ai-insights-error,.ai-insights-placeholder{border-top:1px solid var(--theme-line,#dce8d6);color:var(--muted);align-items:center;gap:9px;margin-top:16px;padding-top:16px;font-size:9px;display:flex}.ai-insights-placeholder p{margin:0}.ai-insights-error{color:var(--theme-danger-text,#8a3d36)}.ai-analysis-result{border-top:1px solid var(--theme-line,#dce8d6);margin-top:17px;padding-top:17px}.ai-health{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.ai-health>span{border-radius:8px;padding:5px 8px;font-size:8px;font-weight:800}.ai-health.strong>span,.ai-health.stable>span{background:var(--theme-accent-soft,#dcefd5);color:var(--theme-accent-text,#31592a)}.ai-health.mixed>span{background:var(--theme-warning-soft,#fff1cb);color:var(--theme-warning-text,#785d20)}.ai-health.needs_attention>span{background:var(--theme-danger-soft,#f8ded9);color:var(--theme-danger-text,#8a3d36)}.ai-health>small{color:var(--muted);font-size:8px}.ai-analysis-result>h3{letter-spacing:-.025em;margin:0 0 7px;font-size:19px;line-height:1.25}.ai-summary{max-width:850px;color:var(--theme-muted,#455344);margin:0 0 15px;font-size:10px;line-height:1.55}.ai-signal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:15px;display:grid}.ai-signal{border:1px solid var(--line);background:var(--theme-surface,#fff);min-width:0;color:var(--text);text-align:left;border-left-width:3px;border-radius:12px;padding:11px}.ai-signal.positive{border-left-color:var(--green)}.ai-signal.neutral{border-left-color:var(--theme-line-strong,#91a28b)}.ai-signal.warning{border-left-color:var(--theme-warning-line,#d5a739)}.ai-signal:disabled{cursor:default}.ai-signal>span{margin-bottom:5px;font-size:9px;font-weight:800;display:block}.ai-signal>p{color:var(--muted);margin:0;font-size:8px;line-height:1.5}.ai-action-columns{grid-template-columns:1fr 1fr;gap:10px;display:grid}.ai-action-columns>div{background:color-mix(in srgb, var(--theme-surface,#fff) 70%, transparent);border-radius:12px;padding:12px}.ai-action-columns strong{font-size:9px}.ai-action-columns ul{gap:6px;margin:9px 0 0;padding-left:15px;display:grid}.ai-action-columns li{color:var(--theme-muted,#536051);font-size:8px;line-height:1.45}.insights-trend{margin-bottom:24px;padding:17px}.insights-trend .section-head{margin-bottom:12px}.daily-chart{border-top:1px solid var(--line);align-items:stretch;gap:5px;height:190px;padding:22px 2px 0;display:flex;overflow-x:auto}.daily-chart-column{flex-direction:column;flex:1 0 32px;justify-content:flex-end;align-items:center;gap:4px;min-width:32px;height:100%;display:flex}.daily-chart-column>span{color:var(--muted);min-height:10px;font-size:7px}.daily-chart-column>i{background:linear-gradient(180deg, var(--theme-accent-text,var(--green)), var(--theme-accent-text,var(--green-dark)));border-radius:6px 6px 2px 2px;width:min(19px,70%);min-height:5px}.daily-chart-column>small{min-height:25px;color:var(--muted);white-space:nowrap;transform-origin:50%;font-size:7px;transform:rotate(-40deg)}.trend-empty{min-height:120px;color:var(--muted);border-top:1px solid var(--line);justify-content:center;align-items:center;gap:8px;font-size:10px;display:flex}.story-sequences-section{border-top:1px solid var(--line);margin-bottom:25px;padding-top:20px}.story-sequence-grid{gap:10px;display:grid}.story-sequence-card{border:1px solid var(--line);background:var(--theme-surface,#fff);width:100%;color:var(--text);text-align:left;box-shadow:var(--shadow);border-radius:17px;grid-template-columns:150px minmax(0,1fr) auto;align-items:center;gap:15px;padding:10px;display:grid}.story-sequence-card:hover{border-color:var(--theme-accent-line,#bdd4b4);transform:translateY(-1px)}.story-sequence-covers{align-items:center;height:74px;padding-left:6px;display:flex}.story-sequence-covers>div{border:2px solid var(--theme-line,#fff);background:var(--theme-surface-subtle,#edf2ea);width:45px;height:70px;box-shadow:0 4px 12px rgb(var(--theme-shadow-rgb,20 45 15) / .12);border-radius:9px;margin-left:-7px;overflow:hidden}.story-sequence-covers img,.story-sequence-covers video{object-fit:cover;width:100%;height:100%;display:block}.story-sequence-copy span,.story-sequence-copy strong,.story-sequence-copy small{display:block}.story-sequence-copy span{color:var(--green-dark);text-transform:uppercase;font-size:8px;font-weight:800}.story-sequence-copy strong{text-transform:capitalize;margin:4px 0;font-size:14px}.story-sequence-copy small{color:var(--muted);font-size:9px}.story-sequence-stats{color:var(--muted);align-items:center;gap:12px;display:flex}.story-sequence-stats span{gap:2px;font-size:7px;display:grid}.story-sequence-stats b{color:var(--text);font-size:11px}.story-sequence-empty{align-items:center;gap:12px;padding:18px;display:flex}.story-sequence-empty p{color:var(--muted);margin:4px 0 0;font-size:9px}.insights-publications{border-top:1px solid var(--line);padding-top:20px}.insights-publications>.section-head{margin-bottom:13px}.insights-kind-tabs{gap:5px;margin-bottom:13px;padding-bottom:2px;display:flex;overflow-x:auto}.insights-kind-tabs button{border:1px solid var(--line);background:var(--theme-surface,#fff);height:34px;color:var(--muted);border-radius:10px;flex:none;align-items:center;gap:6px;padding:0 10px;font-size:9px;font-weight:700;display:flex}.insights-kind-tabs button span{background:var(--bg);border-radius:7px;place-items:center;min-width:19px;height:19px;font-size:8px;display:grid}.insights-kind-tabs button.active{border-color:var(--green-dark);background:var(--theme-accent-fill,var(--green-dark));color:var(--theme-on-solid,#fff)}.insights-kind-tabs button.active span{background:color-mix(in srgb, var(--theme-surface,#fff) 16%, transparent)}.insights-publication-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.insights-publication-card{border:1px solid var(--line);background:var(--theme-surface,#fff);min-width:0;box-shadow:var(--shadow);border-radius:18px;overflow:hidden}.insights-publication-media{aspect-ratio:3/4;background:var(--theme-surface-subtle,#edf2ea);position:relative;overflow:hidden}.insights-publication-media img,.insights-publication-media video{object-fit:cover;width:100%;height:100%;display:block}.social-media-fallback{width:100%;height:100%;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:7px;font-size:9px;display:flex}.insights-publication-media>div{height:100%;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:7px;font-size:9px;display:flex}.insights-publication-media>.badge{position:absolute;top:10px;left:10px}.insights-publication-body{padding:13px}.insights-publication-body>p{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:29px;margin:0;font-size:10px;line-height:1.45;display:-webkit-box;overflow:hidden}.insights-publication-body>small{color:var(--muted);margin-top:8px;font-size:8px;display:block}.publication-metrics{grid-template-columns:repeat(3,1fr);gap:5px;margin:12px 0;display:grid}.publication-metrics span{background:var(--bg);text-align:center;color:var(--muted);border-radius:9px;padding:7px 5px;font-size:7px}.publication-metrics b{color:var(--ink);margin-bottom:2px;font-size:10px;display:block}.publication-commercial-signal{border:1px solid var(--theme-line,#d9e5d4);background:linear-gradient(135deg, var(--theme-surface-subtle,#f4f9f1), var(--theme-surface,#fff));border-radius:11px;margin:0 0 10px;padding:9px}.publication-commercial-signal>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.publication-commercial-signal>div span{color:var(--theme-accent-text,#3d6732);letter-spacing:.04em;text-transform:uppercase;align-items:center;gap:4px;font-size:7px;font-weight:800;display:flex}.publication-commercial-signal em{background:var(--theme-warning-soft,#fff1cf);color:var(--theme-warning-text,#8a6200);text-transform:uppercase;border-radius:999px;padding:3px 6px;font-size:6px;font-style:normal;font-weight:800}.publication-commercial-signal>strong,.publication-commercial-signal>small{display:block}.publication-commercial-signal>strong{margin-top:7px;font-size:14px}.publication-commercial-signal>small{color:var(--muted);margin-top:2px;font-size:7px}.publication-commercial-unmatched{border:1px dashed var(--line);min-height:32px;color:var(--muted);border-radius:10px;align-items:center;gap:5px;margin:0 0 10px;padding:7px 8px;font-size:7px;display:flex}.publication-actions{border-top:1px solid var(--line);gap:6px;padding-top:10px;display:flex}.publication-actions button{background:var(--theme-accent-fill,var(--green-dark));height:34px;color:var(--theme-on-solid,#fff);border:0;border-radius:9px;flex:1;justify-content:center;align-items:center;gap:5px;font-size:9px;font-weight:700;display:flex}.publication-actions button.linked{background:var(--green-soft);color:var(--green-dark)}.publication-actions button.insights-detail-btn{background:var(--theme-accent-fill,var(--green-dark))}.publication-actions button.publication-analyze-btn{background:var(--theme-info-soft,#edf1ff);color:var(--theme-info-text,#2947ac)}.publication-actions button.import-small{background:var(--green-soft);color:var(--green-dark);flex:none;padding:0 9px}.publication-actions button.linked{flex:none;padding:0 9px}.publication-actions a{border:1px solid var(--line);width:34px;height:34px;color:var(--green-dark);border-radius:9px;place-items:center;display:grid}.insights-empty,.insights-error{text-align:center;padding:42px 20px}.insights-empty>svg,.insights-error>svg{color:var(--green)}.insights-empty h3,.insights-error h1{margin:12px 0 5px;font-size:18px}.insights-empty p,.insights-error p{color:var(--muted);max-width:480px;margin:0 auto 14px;font-size:10px;line-height:1.5}.insights-empty .secondary-btn,.insights-error .primary-btn{margin:auto}.insights-skeleton-head{border-radius:18px;height:92px;margin-bottom:14px}.insights-skeleton-card{border-radius:17px;height:105px}.insights-skeleton-publication{border-radius:18px;height:545px}.insights-detail-layout{grid-template-columns:minmax(230px,300px) minmax(0,1fr);align-items:start;gap:22px;display:grid}.insights-detail-media{aspect-ratio:3/4;background:var(--theme-surface-subtle,#edf2ea);border-radius:16px;overflow:hidden}.insights-detail-media.story{aspect-ratio:9/16}.insights-detail-media img,.insights-detail-media video{object-fit:cover;width:100%;height:100%;display:block}.story-insights-dialog>header,.story-insights-dialog>footer{flex-shrink:0}.story-insights-dialog .modal-body{flex-direction:column;min-height:0;padding:16px;display:flex;overflow:hidden}.story-insights-navigation{flex-shrink:0;min-width:0}.story-insights-controls{align-items:center;gap:8px;margin-bottom:8px;display:flex}.story-insights-controls select{border:1px solid var(--line);background:var(--green-soft);min-width:0;height:38px;color:var(--green-dark);font:inherit;border-radius:10px;flex:1;padding:0 10px;font-size:12px;font-weight:700}.story-insights-controls button{flex-shrink:0;min-width:38px;min-height:38px;padding:8px}.story-insights-controls button:disabled{opacity:.35;cursor:default}.story-insights-navigation :focus-visible{outline:2px solid var(--green-dark);outline-offset:2px}.story-insights-modal{overscroll-behavior:contain;flex:auto;grid-template-columns:minmax(230px,300px) minmax(0,1fr);align-items:start;gap:22px;min-height:0;padding-right:8px;display:grid;overflow-y:auto}.story-insights-copy{overflow-wrap:anywhere;min-width:0}.story-insights-viewer{aspect-ratio:9/16;background:var(--theme-surface-subtle,#edf2ea);border-radius:17px;width:100%;overflow:hidden}.story-insights-viewer img,.story-insights-viewer video{object-fit:cover;width:100%;height:100%;display:block}.story-video-loading{background:var(--theme-surface-subtle,#edf2ea);width:100%;height:100%;position:relative;overflow:hidden}.story-video-loading img{object-fit:cover;opacity:.7;width:100%;height:100%}.story-video-loading>span{background:color-mix(in srgb, var(--theme-surface-subtle,#0f1c0b) 78%, transparent);color:var(--theme-on-solid,#fff);white-space:nowrap;border-radius:10px;align-items:center;gap:7px;padding:8px 10px;font-size:9px;font-weight:700;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.story-insights-time{margin:14px 0 2px;font-size:26px;display:block}.story-saved-analysis{border-top:1px solid var(--line);margin-top:16px;padding-top:15px}.story-saved-analysis-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.story-saved-analysis-head span{color:var(--green-dark);letter-spacing:.08em;font-size:7px;font-weight:800}.story-saved-analysis-head h3{margin:4px 0 0;font-size:13px}.story-saved-timeline{gap:7px;margin-top:12px;display:grid}.story-saved-timeline article{border:1px solid var(--line);background:var(--theme-surface-subtle,#f8faf7);border-radius:11px;grid-template-columns:72px minmax(0,1fr);gap:5px 9px;padding:9px;display:grid}.story-saved-timeline time{color:var(--green-dark);grid-row:1/span 2;font-size:8px;font-weight:800}.story-saved-timeline p,.story-analysis-pending,.story-saved-transcript p{color:var(--muted);margin:0;font-size:9px;line-height:1.5}.story-saved-timeline p b{color:var(--text)}.story-saved-transcript{border:1px solid var(--line);border-radius:11px;margin-top:10px;padding:9px 11px}.story-saved-transcript summary{cursor:pointer;font-size:9px;font-weight:800}.story-saved-transcript p,.story-analysis-pending{margin-top:9px}.story-insights-filmstrip{gap:8px;padding:4px 2px;display:flex;position:relative;overflow-x:auto}.story-insights-filmstrip button{aspect-ratio:9/16;background:var(--theme-surface-subtle,#edf2ea);border:2px solid #0000;border-radius:10px;flex:0 0 42px;width:42px;padding:0;position:relative;overflow:hidden}.story-insights-filmstrip button.active{border-color:var(--green-dark)}.story-insights-filmstrip img,.story-insights-filmstrip video{object-fit:cover;width:100%;height:100%;display:block}.story-insights-filmstrip button>span{background:color-mix(in srgb, var(--theme-surface-subtle,#0e1b0b) 78%, transparent);width:18px;height:18px;color:var(--theme-on-solid,#fff);border-radius:7px;place-items:center;font-size:8px;font-weight:800;display:grid;position:absolute;bottom:5px;left:5px}@media (max-height:560px){.story-insights-dialog .story-insights-filmstrip{display:none}}.insights-detail-media>div{height:100%;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:10px;display:flex}.insights-detail-content>small{color:var(--muted);font-size:9px;display:block}.insights-detail-meta{flex-wrap:wrap;gap:6px;display:flex}.insights-detail-caption{margin:13px 0 7px;font-size:12px;line-height:1.55}.insights-detail-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:18px;display:grid}.insights-detail-metrics article{border:1px solid var(--line);background:var(--bg);border-radius:12px;min-width:0;padding:10px}.insights-detail-metrics span,.insights-detail-metrics strong{display:block}.insights-detail-metrics span{color:var(--muted);font-size:8px;line-height:1.3}.insights-detail-metrics strong{margin-top:5px;font-size:17px}.insights-source-note,.insights-detail-empty{background:var(--green-soft);color:var(--theme-accent-text,#46653b);border-radius:11px;margin:12px 0 0;padding:10px;font-size:9px;line-height:1.5}.insights-detail-empty{align-items:center;gap:8px;display:flex}.insights-detail-empty p{margin:0}.publication-commercial-detail{border:1px solid var(--theme-line,#d9e5d4);background:linear-gradient(145deg, var(--theme-surface-subtle,#f4f9f1), var(--theme-surface,#fff));border-radius:14px;margin-top:16px;padding:13px}.publication-commercial-detail-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.publication-commercial-detail-head span{color:var(--green-dark);letter-spacing:.08em;font-size:7px;font-weight:900}.publication-commercial-detail-head h3{margin:4px 0 0;font-size:13px}.publication-commercial-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:12px;display:grid}.publication-commercial-detail-grid article{border:1px solid color-mix(in srgb, var(--theme-accent-line,#2c5b20) 12%, transparent);background:color-mix(in srgb, var(--theme-surface,#fff) 82%, transparent);border-radius:10px;padding:9px}.publication-commercial-detail-grid small,.publication-commercial-detail-grid strong,.publication-commercial-detail-grid span{display:block}.publication-commercial-detail-grid small{min-height:20px;color:var(--muted);font-size:7px;line-height:1.35}.publication-commercial-detail-grid strong{margin-top:6px;font-size:14px}.publication-commercial-detail-grid span{color:var(--muted);margin-top:3px;font-size:7px}.publication-commercial-detail>p{color:var(--theme-muted,#5e6e58);align-items:flex-start;gap:6px;margin:11px 0 0;font-size:8px;line-height:1.45;display:flex}.publication-commercial-detail>p svg{flex:none;margin-top:1px}.publication-commercial-detail-empty{border:1px dashed var(--line);background:var(--bg);color:var(--muted);border-radius:12px;align-items:flex-start;gap:9px;margin-top:15px;padding:11px;display:flex}.publication-commercial-detail-empty svg{flex:none}.publication-commercial-detail-empty b{color:var(--ink);font-size:9px;display:block}.publication-commercial-detail-empty p{margin:3px 0 0;font-size:8px;line-height:1.45}@keyframes insights-spin{to{transform:rotate(360deg)}}@media (max-width:980px){.insights-range-panel{grid-template-columns:1fr}.insights-range-presets{overflow-x:auto}.insights-publication-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.advanced-insights-grid,.ai-signal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insights-live-head{align-items:flex-start}.insights-metric-grid,.commercial-metric-grid,.commercial-loading{grid-template-columns:repeat(2,minmax(0,1fr))}.commercial-breakdown-grid{grid-template-columns:1fr}.metaads-summary-grid,.metaads-loading,.metaads-creative-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:760px){.insights-live-head{display:block}.insights-live-head h1{font-size:25px}.insights-live-actions{margin-top:13px}.insights-live-actions label{flex:1}.insights-live-actions .field{width:100%}.insights-custom-range{flex-wrap:wrap}.insights-custom-range input{flex:1;min-width:120px}.commercial-insights{padding:15px}.commercial-insights-head{grid-template-columns:auto minmax(0,1fr)}.commercial-connection-state{grid-column:1/-1;grid-template-columns:auto 1fr;place-items:center start}.commercial-context-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.commercial-content-highlight{grid-template-columns:auto minmax(0,1fr)}.commercial-content-highlight>strong{grid-column:2}.commercial-content-highlight>.secondary-btn{grid-column:1/-1;width:100%}.metaads-insights{padding:15px}.metaads-insights-head{grid-template-columns:auto minmax(0,1fr)}.metaads-readonly-state{grid-column:1/-1;grid-template-columns:auto 1fr;place-items:center start}.metaads-summary-grid,.metaads-loading,.metaads-operational-row,.metaads-creative-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metaads-custom-metric{grid-template-columns:minmax(0,1fr) auto}.metaads-custom-metric code,.metaads-custom-metric>small{grid-column:1/-1}.video-analysis-modal{width:100%;max-height:94vh}.video-analysis-shell{grid-template-columns:1fr;min-height:0}.video-analysis-source{border-right:0;border-bottom:1px solid var(--line);grid-template-columns:125px minmax(0,1fr);gap:12px;min-height:0;padding:12px;display:grid}.video-analysis-source-copy{margin-top:0}.video-analysis-report{min-height:420px;padding:13px}.video-analysis-intro,.video-analysis-progress{min-height:390px}.video-analysis-metrics-reading{grid-template-columns:1fr}.trend-metric-picker{margin-top:10px;overflow-x:auto}.advanced-insights-grid{grid-template-columns:1fr}.advanced-insight-card{min-height:185px}.ai-insights-head{grid-template-columns:auto minmax(0,1fr)}.ai-insights-head .primary-btn{grid-column:1/-1;width:100%}.ai-signal-grid,.ai-action-columns{grid-template-columns:1fr}.insights-trend .section-head{display:block}.story-sequence-card{grid-template-columns:112px minmax(0,1fr)}.story-sequence-covers{width:112px;overflow:hidden}.story-sequence-stats{border-top:1px solid var(--line);grid-column:1/-1;justify-content:flex-end;padding-top:9px}.zernio-connection{grid-template-columns:auto minmax(0,1fr) auto}.zernio-connection>small{border-left:0;grid-column:2/-1;padding-left:0}.insights-publication-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insights-metric-grid{gap:7px}.insights-metric-grid article{padding:12px}.insights-metric-grid article>strong{font-size:20px}.publication-metrics span{font-size:8px}.publication-actions button.import-small span,.publication-actions button.linked span{display:none}.insights-detail-layout,.story-insights-modal{grid-template-columns:1fr}.story-insights-viewer,.insights-detail-media{width:min(100%,300px);max-height:52vh;margin:auto}.insights-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.publication-commercial-detail-grid{grid-template-columns:1fr}.publication-commercial-detail-grid small{min-height:0}}@media (max-width:430px){.commercial-metric-grid,.commercial-loading,.commercial-context-grid,.metaads-summary-grid,.metaads-loading,.metaads-operational-row,.metaads-custom-metric,.metaads-creative-grid{grid-template-columns:1fr}.metaads-custom-metric>strong,.metaads-custom-metric code,.metaads-custom-metric>small{grid-column:1}.metaads-creative-card{width:min(100%,330px);margin:auto}.video-analysis-source{grid-template-columns:95px minmax(0,1fr)}.video-analysis-hook,.video-analysis-strategy-grid,.video-analysis-columns{grid-template-columns:1fr}.video-analysis-hook>span,.video-analysis-hook>small{grid-column:1}.video-analysis-timeline article{grid-template-columns:1fr}.video-analysis-modal>footer{flex-wrap:wrap}.video-analysis-footer-note{width:100%}.commercial-lane-row{grid-template-columns:minmax(0,1fr) auto}.commercial-lane-track{grid-area:2/1/auto/-1}.commercial-lane-row>strong{grid-area:1/2}.insights-publication-grid{grid-template-columns:1fr}.insights-publication-card{width:min(100%,330px);margin:auto}}.brand-logo{border:1px solid var(--theme-line,#dfe5dc);background:var(--theme-surface,#fff);width:40px;height:40px;box-shadow:0 6px 18px rgb(var(--theme-shadow-rgb,28 49 21) / .08);border-radius:14px;flex:0 0 40px;display:block;overflow:hidden}.brand-logo img{object-fit:cover;width:100%;height:100%;display:block}.home-grid>.upcoming{grid-area:3/1/auto/-1;align-self:start}.upcoming-sequence-icon{border:1px solid var(--theme-line,#cfe2c7);background:linear-gradient(145deg, var(--theme-surface-subtle,#eff8eb), var(--theme-accent-soft,#dfeeda));width:54px;height:42px;color:var(--green-dark);border-radius:9px;place-items:center;display:grid}.upcoming-type{align-items:center;gap:5px;display:inline-flex}.upcoming-type .content-ads-badge{min-height:17px;padding:2px 5px}.home-ops{background:radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--theme-accent-fill,#4c912a) 8%, transparent), transparent 30%), var(--theme-surface,#fff);order:1;grid-area:3/2;align-self:start;padding:19px}.home-ops-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.home-ops-head h2{letter-spacing:-.025em;margin:5px 0 0;font-size:18px}.home-ops-head>small{background:var(--green-soft);color:var(--green-dark);white-space:nowrap;border-radius:999px;padding:5px 7px;font-size:7px;font-weight:800}.home-ops-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:15px;display:grid}.home-ops-metrics article{border:1px solid var(--theme-line,#e0e7dc);background:var(--theme-surface-subtle,#fafcf9);border-radius:13px;grid-template-columns:auto 1fr;align-items:center;gap:5px 7px;min-width:0;padding:11px;display:grid}.home-ops-metrics article svg{color:var(--green-dark);grid-row:1/3}.home-ops-metrics article span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.home-ops-metrics article strong{font-size:17px;line-height:1}.home-ops-metrics article.needs-attention{border-color:var(--theme-warning-line,#ecd8ad);background:var(--theme-warning-soft,#fff9ed)}.home-ops-metrics article.needs-attention svg,.home-ops-metrics article.needs-attention strong{color:var(--theme-warning-text,#a96b12)}.home-pipeline{border:1px solid var(--line);border-radius:14px;gap:9px;margin-top:15px;padding:13px;display:grid}.home-pipeline>div:first-child{justify-content:space-between;align-items:center;margin-bottom:2px;font-size:9px;display:flex}.home-pipeline>div:first-child span{color:var(--muted)}.home-pipeline-row{grid-template-columns:70px minmax(0,1fr) 18px;align-items:center;gap:7px;display:grid}.home-pipeline-row>span,.home-pipeline-row>b{font-size:8px}.home-pipeline-row>b{text-align:right}.home-pipeline-row>div{background:var(--theme-surface-subtle,#edf1ea);border-radius:999px;height:6px;overflow:hidden}.home-pipeline-row i{border-radius:inherit;background:var(--theme-info-fill,#5f9caf);min-width:0;height:100%;display:block}.home-pipeline-row i.tone-recorded{background:var(--theme-accent-fill,#67a981)}.home-pipeline-row i.tone-editing{background:var(--theme-purple-fill,#8a72b3)}.home-ops-link{background:var(--theme-accent-fill,var(--green-dark));width:100%;color:var(--theme-on-solid,#fff);border:0;border-radius:11px;justify-content:space-between;align-items:center;margin-top:13px;padding:10px 11px;font-size:9px;font-weight:800;display:flex}.home-agent-insight{background:radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--theme-accent-fill,#4c912a) 9%, transparent), transparent 30%), var(--theme-surface,#fff);order:1;grid-area:3/2;align-self:start;padding:20px;overflow:hidden}.home-agent-head{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:13px;display:grid}.home-agent-mark{background:var(--theme-accent-fill,var(--green-dark));width:42px;height:42px;color:var(--theme-on-solid,#fff);box-shadow:0 9px 24px color-mix(in srgb, var(--theme-accent-fill,#1f5b13) 18%, transparent);border-radius:13px;place-items:center;display:grid}.home-agent-head h2{letter-spacing:-.025em;margin:4px 0 5px;font-size:19px}.home-agent-head p{max-width:850px;color:var(--muted);margin:0;font-size:10px;line-height:1.55}.home-agent-open{color:var(--green-dark);white-space:nowrap;background:0 0;border:0;grid-column:2;justify-self:start;align-items:center;gap:6px;padding:2px 0;font-size:10px;font-weight:800;display:inline-flex}.home-agent-ideas,.home-agent-loading{grid-template-columns:1fr;gap:10px;margin-top:16px;display:grid}.home-agent-ideas>article{border:1px solid var(--theme-line,#dfe8da);background:color-mix(in srgb, var(--theme-surface-subtle,#f8fbf7) 86%, transparent);border-radius:15px;min-width:0;padding:14px}.home-agent-ideas article>header,.home-agent-ideas article>footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.home-agent-ideas article>header span{color:var(--green);letter-spacing:.09em;font-size:8px;font-weight:900}.home-agent-ideas article>header em{background:var(--green-soft);max-width:62%;color:var(--green-dark);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:4px 7px;font-size:8px;font-style:normal;font-weight:800;overflow:hidden}.home-agent-ideas h3{letter-spacing:-.015em;margin:11px 0 6px;font-size:13px;line-height:1.33}.home-agent-ideas article>p{min-height:38px;color:var(--muted);margin:0;font-size:9px;line-height:1.5}.home-agent-ideas dl{gap:7px;margin:12px 0;display:grid}.home-agent-ideas dl>div{grid-template-columns:52px minmax(0,1fr);gap:7px;display:grid}.home-agent-ideas dt{color:var(--theme-muted,#71806c);text-transform:uppercase;font-size:8px;font-weight:800}.home-agent-ideas dd{color:var(--ink);margin:0;font-size:8px;line-height:1.45}.home-agent-ideas article>footer{border-top:1px solid var(--theme-line,#e3e9df);padding-top:10px}.home-agent-ideas article>footer span,.home-agent-ideas article>footer a{color:var(--green-dark);align-items:center;gap:4px;font-size:8px;font-weight:800;text-decoration:none;display:inline-flex}.home-agent-loading>span{background:linear-gradient(100deg, var(--theme-surface-subtle,#f1f4ef) 25%, var(--theme-surface-subtle,#fafcf9) 42%, var(--theme-surface-subtle,#f1f4ef) 58%);background-size:250% 100%;border-radius:15px;height:118px;animation:1.25s ease-in-out infinite home-agent-shimmer}.home-agent-loading>span:nth-child(2){animation-delay:.12s}.home-agent-loading>span:nth-child(3){animation-delay:.24s}@keyframes home-agent-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.home-agent-empty,.upcoming-empty{border:1px dashed var(--theme-line,#cfd9ca);background:var(--theme-surface-subtle,#fafcf9);color:var(--muted);border-radius:13px;align-items:center;gap:10px;display:flex}.home-agent-empty{margin-top:15px;padding:17px;font-size:10px}.home-agent-period{color:var(--theme-muted,#7c8778);margin-top:11px;font-size:8px;display:block}.upcoming-empty{padding:18px}.upcoming-empty b,.upcoming-empty small{display:block}.upcoming-empty b{color:var(--ink);font-size:11px}.upcoming-empty small{margin-top:3px;font-size:9px}@media (max-width:1100px){.home-grid>.upcoming,.home-agent-insight,.home-ops{grid-area:auto/1}.home-agent-loading>span{height:150px}}@media (max-width:620px){.home-agent-insight{padding:16px}.home-agent-head{grid-template-columns:auto minmax(0,1fr)}.home-agent-open{grid-column:2;justify-self:start;padding:4px 0}.home-agent-ideas dl>div{grid-template-columns:1fr;gap:2px}}.giveaway-workspace.configured-first{grid-template-columns:minmax(300px,.72fr) minmax(480px,1.28fr);align-items:stretch}.configured-first .giveaway-controls{background:radial-gradient(circle at 100% 0, color-mix(in srgb, var(--theme-accent-fill,#48ac33) 9%, transparent), transparent 34%), var(--theme-surface,#fff);order:1;min-width:0}.configured-first .giveaway-stage{order:2;min-width:0}.giveaway-mode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.giveaway-mode-grid>button{border-radius:14px;min-height:82px;padding:12px 10px}.giveaway-mode-grid>button>svg:first-child{margin-bottom:6px}.giveaway-mode-grid>button>svg:last-child{position:absolute;top:8px;right:8px}.giveaway-mode-grid>button{flex-direction:column;align-items:flex-start;display:flex;position:relative}.giveaway-control-stats{border:1px solid var(--theme-line,#dfe7dc);background:var(--theme-surface-subtle,#f9fbf8);border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:10px 11px;display:flex}.giveaway-control-stats span,.giveaway-control-stats button{align-items:center;gap:6px;display:flex}.giveaway-control-stats span{color:var(--theme-muted,#637061);font-size:9px}.giveaway-control-stats span b{color:var(--raffle-ink);font-size:12px}.giveaway-control-stats button{color:var(--raffle-green);cursor:pointer;background:0 0;border:0;font-size:9px;font-weight:800}.giveaway-control-stats button:disabled{opacity:.45;cursor:default}.giveaway-present-button{border:1px solid var(--theme-accent-line,#b9d8b3);background:linear-gradient(135deg, var(--theme-surface-subtle,#f4fbf1), var(--theme-accent-soft,#e9f6e5));min-height:44px;color:var(--raffle-green);cursor:pointer;border-radius:13px;justify-content:center;align-items:center;gap:8px;font-size:10px;font-weight:900;display:flex}.giveaway-present-button:hover:not(:disabled){border-color:var(--raffle-green);transform:translateY(-1px)}.giveaway-present-button:disabled{opacity:.45;cursor:default}.giveaway-stage{background:radial-gradient(circle at 15% 5%, color-mix(in srgb, var(--theme-accent-fill,#4bb234) 12%, transparent), transparent 30%), linear-gradient(145deg, var(--theme-surface-subtle,#fbfdfa), var(--theme-surface-subtle,#f1f6ef))}.giveaway-animation{border:1px solid color-mix(in srgb, var(--theme-accent-line,#255d1d) 11%, transparent);background:radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--theme-surface,#fff) 98%, transparent), color-mix(in srgb, var(--theme-surface-subtle,#f4f9f1) 92%, transparent) 44%, color-mix(in srgb, var(--theme-accent-soft,#e2efdd) 82%, transparent));border-radius:22px;place-items:center;min-height:360px;margin-top:14px;display:grid;position:relative;overflow:hidden}.giveaway-animation:before{content:"";background-image:radial-gradient(color-mix(in srgb, var(--theme-accent-fill,#1d6913) 13%, transparent) .8px, transparent .8px);background-size:17px 17px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#000,#0000 92%);mask-image:linear-gradient(#000,#0000 92%)}.giveaway-wheel-wrap{width:306px;height:306px}.giveaway-wheel{border:9px solid var(--theme-line,#fff);background:conic-gradient(var(--theme-accent-fill,#185f13) 0 12.5%, var(--theme-warning-fill,#f0bc42) 12.5% 25%, var(--theme-accent-fill,#2f8e24) 25% 37.5%, var(--theme-warning-soft,#f7d675) 37.5% 50%, var(--theme-accent-fill,#124c0e) 50% 62.5%, var(--theme-warning-fill,#e9a928) 62.5% 75%, var(--theme-accent-fill,#48a83a) 75% 87.5%, var(--theme-warning-fill,#f4ca5e) 87.5% 100%);width:274px;height:274px;box-shadow:0 24px 55px color-mix(in srgb, var(--theme-accent-fill,#184a11) 20%, transparent), inset 0 0 0 2px rgb(var(--theme-shadow-rgb,255 255 255) / .45);border-radius:50%;position:relative}.giveaway-wheel:before{content:"";border:1px dashed color-mix(in srgb, var(--theme-line,#fff) 50%, transparent);border-radius:50%;position:absolute;inset:17px}.giveaway-wheel>i{z-index:4;border:7px solid var(--theme-line,#fff);background:var(--theme-surface-raised,var(--raffle-ink));width:70px;height:70px;color:var(--theme-warning-text,#f8d777);box-shadow:0 8px 20px rgb(var(--theme-shadow-rgb,0 0 0) / .24);border-radius:50%;place-items:center;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.giveaway-wheel-name{--wheel-slot:0;z-index:3;width:68px;color:var(--theme-on-solid,#fff);text-align:center;text-shadow:0 1px 3px rgb(var(--theme-shadow-rgb,0 0 0) / .3);transform:translate(-50%, -50%) rotate(calc(var(--wheel-slot) * 45deg)) translateY(-100px) rotate(calc(var(--wheel-slot) * -45deg));font-size:8px;font-weight:900;line-height:1.05;position:absolute;top:50%;left:50%}.giveaway-wheel-pointer{z-index:8;border-left:13px solid #0000;border-right:13px solid #0000;border-top:28px solid var(--theme-warning-line,#ecad2b);filter:drop-shadow(0 4px 4px #0003);width:0;height:0}@keyframes giveaway-wheel-spin-v2{0%{transform:rotate(0)}to{transform:rotate(2485deg)}}.giveaway-animation>.giveaway-winner-card{z-index:12;border-color:color-mix(in srgb, var(--theme-accent-line,#217016) 28%, transparent);width:auto;box-shadow:0 14px 36px color-mix(in srgb, var(--theme-accent-fill,#1a5113) 18%, transparent);animation:.55s cubic-bezier(.2,.9,.25,1.15) both giveaway-winner-pop;position:absolute;bottom:18px;left:18px;right:18px}.giveaway-winner-card>div:nth-of-type(2)>small{color:var(--theme-accent-text,#659160);letter-spacing:.12em;margin-bottom:2px;font-size:7px;font-weight:900;display:block}@keyframes giveaway-winner-pop{0%{opacity:0;transform:translateY(22px)scale(.94)}to{opacity:1;transform:translateY(0)scale(1)}}.giveaway-stage-actions{grid-template-columns:minmax(0,1fr) auto;gap:9px;margin-top:13px;display:grid}.giveaway-stage-actions .giveaway-draw-button{margin:0}.giveaway-stage-actions>button:last-child{border:1px solid var(--theme-line,#d7e1d4);background:var(--theme-surface,#fff);color:var(--raffle-ink);cursor:pointer;border-radius:13px;justify-content:center;align-items:center;gap:7px;padding:0 15px;font-size:9px;font-weight:850;display:flex}.giveaway-stage-actions>button:disabled{opacity:.45;cursor:default}.giveaway-history-list article{grid-template-columns:auto minmax(0,1.2fr) minmax(170px,.8fr) auto auto auto}.giveaway-history-delete{border:1px solid var(--theme-danger-line,#f0d3cf);background:var(--theme-surface-subtle,#fff8f7);width:28px;height:28px;color:var(--theme-danger-text,#bc3d2c);cursor:pointer;border-radius:8px;place-items:center;display:grid}.giveaway-history-delete:hover:not(:disabled){border-color:var(--theme-danger-line,#d45b49);background:var(--theme-danger-soft,#fff1ef)}.giveaway-history-delete:disabled{opacity:.45;cursor:default}.giveaway-presenter{z-index:1400;visibility:hidden;opacity:0;pointer-events:none;background:radial-gradient(circle at 12% 0, color-mix(in srgb, var(--theme-accent-fill,#54cb3d) 20%, transparent), transparent 34%), radial-gradient(circle at 88% 100%, color-mix(in srgb, var(--theme-warning-fill,#f2be3e) 16%, transparent), transparent 38%), var(--theme-surface-subtle,#071407);min-width:100vw;min-height:100vh;color:var(--theme-on-solid,#fff);grid-template-rows:auto minmax(0,1fr) auto;padding:clamp(18px,3vw,42px);transition:opacity .24s,visibility .24s;display:grid;position:fixed;inset:0}.giveaway-presenter.open{visibility:visible;opacity:1;pointer-events:auto}.giveaway-presenter:fullscreen{width:100vw;height:100vh}.giveaway-presenter-top,.giveaway-presenter footer{z-index:3;justify-content:space-between;align-items:center;gap:18px;display:flex;position:relative}.giveaway-presenter-top>div:first-child span,.giveaway-presenter-top>div:first-child strong{display:block}.giveaway-presenter-top>div:first-child span{color:var(--theme-accent-text,#80d171);letter-spacing:.16em;font-size:10px;font-weight:900}.giveaway-presenter-top>div:first-child strong{text-overflow:ellipsis;white-space:nowrap;max-width:60vw;margin-top:5px;font-size:clamp(15px,1.5vw,22px);overflow:hidden}.giveaway-presenter-badges{align-items:center;gap:7px;display:flex}.giveaway-presenter-badges span{border:1px solid color-mix(in srgb, var(--theme-line,#fff) 16%, transparent);background:color-mix(in srgb, var(--theme-surface,#fff) 7%, transparent);color:var(--theme-on-solid,#d9ebd5);border-radius:999px;padding:7px 10px;font-size:9px;font-weight:800}.giveaway-presenter-top>button{border:1px solid color-mix(in srgb, var(--theme-line,#fff) 14%, transparent);background:color-mix(in srgb, var(--theme-surface,#fff) 8%, transparent);color:var(--theme-on-solid,#fff);cursor:pointer;border-radius:13px;align-items:center;gap:4px;padding:10px;display:flex}.giveaway-presenter>main{place-items:center;min-height:0;display:grid}.giveaway-presenter>main>p{z-index:4;color:var(--theme-on-solid,#fff);letter-spacing:-.04em;margin:0;font-size:clamp(22px,3vw,44px);font-weight:900;position:absolute;top:clamp(75px,10vh,110px)}.giveaway-animation.presenter{background:0 0;border:0;width:min(1020px,92vw);min-height:min(66vh,680px);margin:0}.giveaway-animation.presenter:before{background-image:radial-gradient(color-mix(in srgb, var(--theme-accent-fill,#77d165) 22%, transparent) 1px, transparent 1px);background-size:24px 24px;-webkit-mask-image:radial-gradient(circle,#000,#0000 70%);mask-image:radial-gradient(circle,#000,#0000 70%)}.giveaway-animation.presenter .giveaway-wheel-wrap{width:clamp(390px,43vw,530px);height:clamp(390px,43vw,530px)}.giveaway-animation.presenter .giveaway-wheel{width:clamp(360px,40vw,490px);height:clamp(360px,40vw,490px);box-shadow:0 38px 90px rgb(var(--theme-shadow-rgb,0 0 0) / .48), inset 0 0 0 3px rgb(var(--theme-shadow-rgb,255 255 255) / .45);border-width:13px}.giveaway-animation.presenter .giveaway-wheel-name{width:98px;transform:translate(-50%, -50%) rotate(calc(var(--wheel-slot) * 45deg)) translateY(clamp(-180px, -15vw, -135px)) rotate(calc(var(--wheel-slot) * -45deg));font-size:clamp(9px,1vw,14px)}.giveaway-animation.presenter .giveaway-wheel>i{border-width:10px;width:102px;height:102px}.giveaway-animation.presenter>.giveaway-winner-card{border-color:color-mix(in srgb, var(--theme-accent-line,#74cd63) 50%, transparent);background:color-mix(in srgb, var(--theme-surface-subtle,#fafff8) 98%, transparent);width:min(600px,80vw);box-shadow:0 24px 80px rgb(var(--theme-shadow-rgb,0 0 0) / .42);padding:18px;bottom:18px;left:auto;right:50%;transform:translate(50%)}.giveaway-animation.presenter>.giveaway-winner-card.featured{animation:.62s cubic-bezier(.2,.9,.25,1.15) both giveaway-presenter-winner}@keyframes giveaway-presenter-winner{0%{opacity:0;transform:translate(50%)translateY(28px)scale(.9)}to{opacity:1;transform:translate(50%)translateY(0)scale(1)}}.giveaway-animation.presenter .giveaway-winner-avatar{width:58px;height:58px}.giveaway-animation.presenter .giveaway-winner-card strong{font-size:18px}.giveaway-animation.presenter .giveaway-winner-card p{max-width:430px;font-size:11px}.giveaway-animation.presenter .giveaway-slot{color:var(--theme-on-solid,#fff)}.giveaway-animation.presenter .giveaway-slot>svg{color:var(--theme-warning-text,#efbf47)}.giveaway-animation.presenter .giveaway-slot small{color:var(--theme-accent-text,#95bd8e);font-size:11px}.giveaway-animation.presenter .giveaway-slot strong{color:var(--theme-on-solid,#fff);font-size:clamp(34px,6vw,76px)}.giveaway-animation.presenter .giveaway-multiple-stage{width:min(780px,86vw)}.giveaway-animation.presenter .giveaway-multiple-stage>strong{color:var(--theme-on-solid,#fff);font-size:35px}.giveaway-animation.presenter .giveaway-multiple-stage>p{color:var(--theme-accent-text,#9db697)}.giveaway-presenter footer{border-top:1px solid color-mix(in srgb, var(--theme-line,#fff) 10%, transparent);padding-top:16px}.giveaway-presenter footer>span{color:var(--theme-accent-text,#a9c9a2);align-items:center;gap:8px;font-size:10px;display:flex}.giveaway-presenter footer .giveaway-draw-button{min-width:230px;box-shadow:0 16px 40px color-mix(in srgb, var(--theme-accent-fill,#3fae2c) 24%, transparent);margin:0}@media (max-width:1080px){.giveaway-workspace.configured-first{grid-template-columns:1fr}.configured-first .giveaway-controls,.configured-first .giveaway-stage{order:initial}}@media (max-width:700px){.giveaway-mode-grid{grid-template-columns:1fr}.giveaway-mode-grid>button{min-height:60px}.giveaway-stage-actions{grid-template-columns:1fr}.giveaway-stage-actions>button:last-child{min-height:42px}.giveaway-history-list article{grid-template-columns:auto minmax(0,1fr) auto}.giveaway-history-winners{grid-column:2/-1}.giveaway-history-mode{display:none}.giveaway-presenter{padding:16px}.giveaway-presenter-top{align-items:flex-start}.giveaway-presenter-badges{display:none}.giveaway-presenter-top>div:first-child strong{max-width:70vw}.giveaway-presenter>main>p{font-size:24px;top:86px}.giveaway-animation.presenter .giveaway-wheel-wrap{width:310px;height:310px}.giveaway-animation.presenter .giveaway-wheel{width:285px;height:285px}.giveaway-animation.presenter .giveaway-wheel-name{width:68px;transform:translate(-50%, -50%) rotate(calc(var(--wheel-slot) * 45deg)) translateY(-105px) rotate(calc(var(--wheel-slot) * -45deg));font-size:8px}.giveaway-presenter footer>span{display:none}.giveaway-presenter footer .giveaway-draw-button{width:100%;min-width:0}}.giveaways-page{--raffle-ink:var(--theme-text,#172116);--raffle-green:#196b10;--raffle-soft:var(--theme-surface-subtle,#edf7e9);--raffle-lime:#a9dc5a;--raffle-gold:#f1b83d;gap:16px;max-width:1280px;margin:0 auto;padding-bottom:36px;display:grid}.giveaways-heading{justify-content:space-between;align-items:flex-end;gap:24px;padding:11px 4px 5px;display:flex}.giveaways-heading p,.giveaway-stage-top p{color:var(--raffle-green);letter-spacing:.11em;margin:0 0 7px;font-size:10px;font-weight:900}.giveaways-heading h1{max-width:720px;color:var(--raffle-ink);letter-spacing:-.045em;margin:0;font-size:clamp(27px,3vw,42px);line-height:1.02}.giveaways-heading>div:first-child>span{color:var(--muted);margin-top:10px;font-size:13px;display:block}.giveaways-trust{border:1px solid var(--theme-line,#d9e6d5);background:var(--theme-surface-subtle,#f9fcf7);min-width:250px;color:var(--raffle-green);border-radius:15px;align-items:center;gap:10px;padding:12px 14px;display:flex}.giveaways-trust span,.giveaways-trust b,.giveaways-trust small{display:block}.giveaways-trust b{color:var(--raffle-ink);font-size:12px}.giveaways-trust small{color:var(--muted);margin-top:2px;font-size:9px}.giveaway-post-picker,.giveaway-stage,.giveaway-controls,.giveaway-history{border:1px solid var(--line);background:var(--theme-surface,#fff);box-shadow:0 14px 44px rgb(var(--theme-shadow-rgb,29 58 25) / .055);border-radius:20px}.giveaway-post-picker{padding:16px;overflow:hidden}.giveaway-section-title{align-items:center;gap:10px;min-width:0;display:flex}.giveaway-section-title>span{background:var(--theme-accent-fill,var(--raffle-green));width:26px;height:26px;color:var(--theme-on-solid,#fff);border-radius:9px;flex:none;place-items:center;font-size:11px;font-weight:900;display:grid}.giveaway-section-title>svg{color:var(--raffle-green)}.giveaway-section-title div{min-width:0}.giveaway-section-title b,.giveaway-section-title small{display:block}.giveaway-section-title b{color:var(--raffle-ink);font-size:13px}.giveaway-section-title small{color:var(--muted);margin-top:2px;font-size:10px}.giveaway-section-title.compact{align-items:flex-start}.giveaway-post-search{border:1px solid var(--line);width:240px;color:var(--muted);background:var(--theme-surface-subtle,#fbfcfa);border-radius:10px;align-items:center;gap:7px;margin-left:auto;padding:8px 10px;display:flex}.giveaway-post-search input{width:100%;color:var(--raffle-ink);background:0 0;border:0;outline:0;font-size:11px}.giveaway-posts-row{scrollbar-width:thin;gap:10px;margin:15px -4px -3px;padding:3px 4px 10px;display:flex;overflow-x:auto}.giveaway-posts-row>button{border:1px solid var(--line);background:var(--theme-surface,#fff);text-align:left;cursor:pointer;border-radius:14px;grid-template-rows:auto auto;grid-template-columns:54px minmax(0,1fr);column-gap:10px;width:225px;min-width:225px;padding:7px;transition:border-color .18s,box-shadow .18s,transform .18s;display:grid}.giveaway-posts-row>button:hover{border-color:var(--theme-accent-line,#bad5b3);transform:translateY(-2px)}.giveaway-posts-row>button.selected{border-color:var(--raffle-green);box-shadow:0 0 0 2px color-mix(in srgb, var(--theme-accent-fill,#196b10) 9%, transparent);background:linear-gradient(135deg, var(--theme-surface,#fff), var(--theme-surface-subtle,#f5fbf2))}.giveaway-post-thumb{background:linear-gradient(145deg, var(--theme-accent-soft,#ddebd9), var(--theme-accent-fill,#9cb896) 55%, var(--theme-accent-fill,#365431));width:54px;height:68px;color:var(--theme-on-solid,#fff);border-radius:9px;grid-row:1/3;place-items:center;display:grid;position:relative;overflow:hidden}.giveaway-post-thumb img{object-fit:cover;width:100%;height:100%}.giveaway-post-thumb em{background:color-mix(in srgb, var(--theme-surface-subtle,#101c0e) 78%, transparent);color:var(--theme-on-solid,#fff);border-radius:4px;padding:2px 4px;font-size:7px;font-style:normal;font-weight:900;position:absolute;inset:auto auto 4px 4px}.giveaway-post-thumb i{background:var(--theme-accent-fill,var(--raffle-green));width:20px;height:20px;color:var(--theme-on-solid,#fff);border-radius:50%;place-items:center;display:grid;position:absolute;top:4px;right:4px}.giveaway-posts-row>button>strong{color:var(--raffle-ink);-webkit-line-clamp:2;-webkit-box-orient:vertical;align-self:end;font-size:10px;line-height:1.35;display:-webkit-box;overflow:hidden}.giveaway-posts-row>button>small{color:var(--muted);align-self:start;margin-top:4px;font-size:8px}.giveaway-post-skeletons{gap:10px;margin-top:15px;display:flex}.giveaway-post-skeletons span{background:linear-gradient(90deg, var(--theme-surface-subtle,#f2f5f0), var(--theme-surface-subtle,#fafbfa), var(--theme-surface-subtle,#f2f5f0));background-size:200% 100%;border-radius:14px;width:225px;height:82px;animation:1.2s linear infinite giveaway-shimmer}.giveaway-empty-inline{color:var(--muted);padding:18px;font-size:11px}.giveaway-workspace{grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr);align-items:stretch;gap:16px;display:grid}.giveaway-stage{flex-direction:column;min-height:520px;padding:18px;display:flex;overflow:hidden}.giveaway-stage-top{justify-content:space-between;align-items:center;gap:16px;display:flex}.giveaway-stage-top h2{color:var(--raffle-ink);letter-spacing:-.025em;margin:0;font-size:20px}.giveaway-live-count{border:1px solid var(--theme-line,#dce8d8);background:var(--raffle-soft);color:var(--raffle-green);border-radius:12px;align-items:center;gap:8px;padding:8px 9px 8px 11px;display:flex}.giveaway-live-count span,.giveaway-live-count b,.giveaway-live-count small{display:block}.giveaway-live-count b{font-size:12px}.giveaway-live-count small{color:var(--theme-muted,#637061);font-size:8px}.giveaway-live-count button{background:var(--theme-surface,#fff);width:28px;height:28px;color:var(--raffle-green);cursor:pointer;border:0;border-radius:8px;place-items:center;display:grid}.giveaway-live-count button:disabled{cursor:default;opacity:.45}.giveaway-animation{border:1px solid var(--theme-line,#e1e9de);background:radial-gradient(circle at 25% 15%, color-mix(in srgb, var(--theme-accent-fill,#a9dc5a) 22%, transparent), transparent 30%), radial-gradient(circle at 80% 82%, color-mix(in srgb, var(--theme-warning-fill,#f1b83d) 16%, transparent), transparent 28%), var(--theme-surface-subtle,#f8fbf6);border-radius:20px;flex:1;place-items:center;min-height:330px;margin:14px 0 12px;display:grid;position:relative;overflow:hidden}.giveaway-animation:before{content:"";border:1px solid color-mix(in srgb, var(--theme-accent-line,#196b10) 7%, transparent);width:320px;height:320px;box-shadow:0 0 0 35px color-mix(in srgb, var(--theme-accent-fill,#196b10) 2.5%, transparent), 0 0 0 70px color-mix(in srgb, var(--theme-accent-fill,#196b10) 1.8%, transparent);border-radius:50%;position:absolute}.giveaway-wheel-wrap{z-index:1;place-items:center;width:280px;height:280px;display:grid;position:relative}.giveaway-wheel-pointer{z-index:3;border-left:13px solid #0000;border-right:13px solid #0000;border-top:25px solid var(--raffle-ink);filter:drop-shadow(0 4px 5px #0000002e);width:0;height:0;position:absolute;top:-5px}.giveaway-wheel{border:9px solid var(--theme-line,#fff);background:repeating-conic-gradient(from 8deg, var(--theme-accent-fill,#196b10) 0 30deg, var(--theme-accent-fill,#a9dc5a) 30deg 60deg, var(--theme-warning-fill,#f1b83d) 60deg 90deg, var(--theme-surface-subtle,#f4f8ee) 90deg 120deg);width:250px;height:250px;box-shadow:0 16px 40px color-mix(in srgb, var(--theme-accent-fill,#194f13) 20%, transparent), inset 0 0 0 2px rgb(var(--theme-shadow-rgb,20 50 16) / .08);border-radius:50%;place-items:center;transition:filter .25s;display:grid}.giveaway-wheel:after{content:"";border:7px solid var(--theme-line,#fff);background:var(--theme-surface-raised,var(--raffle-ink));width:82px;height:82px;box-shadow:0 8px 20px rgb(var(--theme-shadow-rgb,0 0 0) / .25);border-radius:50%;position:absolute}.giveaway-wheel span{z-index:2;max-width:72px;color:var(--theme-on-solid,#fff);text-align:center;word-break:break-word;font-size:11px;font-weight:900;position:relative}.giveaway-animation.is-spinning .giveaway-wheel{animation:3.6s cubic-bezier(.12,.61,.08,1) both giveaway-wheel-spin}.giveaway-animation.has-winner .giveaway-wheel{filter:saturate(.9)brightness(1.05)}.giveaway-slot{z-index:1;border:1px solid color-mix(in srgb, var(--theme-accent-line,#196b10) 15%, transparent);background:color-mix(in srgb, var(--theme-surface,#fff) 84%, transparent);width:min(430px,85%);min-height:185px;box-shadow:0 20px 50px rgb(var(--theme-shadow-rgb,24 62 20) / .1);text-align:center;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;padding:28px;display:flex;position:relative}.giveaway-slot>svg{color:var(--raffle-green)}.giveaway-slot small{color:var(--muted);letter-spacing:.08em;margin:13px 0 8px;font-size:9px;font-weight:800}.giveaway-slot strong{min-height:33px;color:var(--raffle-ink);letter-spacing:-.04em;font-size:clamp(21px,3vw,32px)}.giveaway-animation.is-spinning .giveaway-slot{animation:.48s ease-in-out infinite alternate giveaway-slot-pulse}.giveaway-multiple-stage{z-index:1;width:min(560px,90%);color:var(--raffle-green);flex-direction:column;align-items:center;gap:9px;display:flex;position:relative}.giveaway-multiple-stage>strong{color:var(--raffle-ink);font-size:22px}.giveaway-multiple-stage>p{color:var(--muted);margin:0;font-size:11px}.giveaway-multiple-stage .giveaway-winner-card{width:100%;animation:.42s both giveaway-winner-in}.giveaway-winner-card{border:1px solid var(--theme-line,#cfe3c9);background:linear-gradient(135deg, var(--theme-surface,#fff), var(--theme-surface-subtle,#f0f8ed));color:var(--raffle-green);border-radius:13px;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;display:grid;position:relative}.giveaway-winner-rank{font-size:10px;font-weight:900}.giveaway-winner-avatar,.giveaway-avatar-stack i{background:var(--theme-accent-fill,var(--raffle-green));color:var(--theme-on-solid,#fff);border-radius:50%;place-items:center;font-size:9px;font-style:normal;font-weight:900;display:grid;overflow:hidden}.giveaway-winner-avatar{width:38px;height:38px}.giveaway-winner-avatar img,.giveaway-avatar-stack img{object-fit:cover;width:100%;height:100%}.giveaway-winner-card div:nth-of-type(2){min-width:0}.giveaway-winner-card strong,.giveaway-winner-card p{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.giveaway-winner-card strong{color:var(--raffle-ink);font-size:12px}.giveaway-winner-card p{color:var(--muted);margin:3px 0 0;font-size:9px}.giveaway-participant-preview{min-height:34px;color:var(--muted);align-items:center;gap:10px;font-size:9px;display:flex}.giveaway-avatar-stack{align-items:center;display:flex}.giveaway-avatar-stack i{border:2px solid var(--theme-line,#fff);width:27px;height:27px;margin-left:-6px}.giveaway-avatar-stack i:first-child{margin-left:0}.giveaway-avatar-stack b{border:2px solid var(--theme-line,#fff);background:var(--theme-surface-raised,var(--raffle-ink));width:29px;height:29px;color:var(--theme-on-solid,#fff);border-radius:50%;place-items:center;margin-left:-6px;font-size:8px;display:grid}.giveaway-participant-preview>small{color:var(--theme-warning-text,#9b6a12);margin-left:auto}.giveaway-controls{flex-direction:column;gap:13px;padding:18px;display:flex}.giveaway-mode-grid{gap:7px;display:grid}.giveaway-mode-grid>button{border:1px solid var(--line);background:var(--theme-surface,#fff);min-height:56px;color:var(--theme-muted,#7a8378);text-align:left;cursor:pointer;border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 11px;display:grid}.giveaway-mode-grid>button.active{border-color:var(--raffle-green);background:var(--raffle-soft);color:var(--raffle-green)}.giveaway-mode-grid span,.giveaway-mode-grid b,.giveaway-mode-grid small{display:block}.giveaway-mode-grid b{color:var(--raffle-ink);font-size:11px}.giveaway-mode-grid small{color:var(--muted);margin-top:2px;font-size:8px}.giveaway-number-field,.giveaway-keyword-field{gap:7px;display:grid}.giveaway-number-field>span,.giveaway-keyword-field>span{color:var(--raffle-ink);font-size:10px;font-weight:800}.giveaway-number-field>div{border:1px solid var(--line);border-radius:11px;grid-template-columns:42px 1fr 42px;min-height:39px;display:grid;overflow:hidden}.giveaway-number-field button{background:var(--theme-surface-subtle,#f6f8f5);color:var(--raffle-green);cursor:pointer;border:0;font-size:18px}.giveaway-number-field b{border-inline:1px solid var(--line);color:var(--raffle-ink);place-items:center;font-size:13px;display:grid}.giveaway-keyword-field em{color:var(--muted);margin-left:5px;font-size:8px;font-style:normal;font-weight:500}.giveaway-keyword-field input{border:1px solid var(--line);color:var(--raffle-ink);border-radius:11px;outline:none;padding:10px 11px;font-size:11px}.giveaway-keyword-field input:focus{border-color:var(--raffle-green);box-shadow:0 0 0 3px color-mix(in srgb, var(--theme-accent-fill,#196b10) 8%, transparent)}.giveaway-keyword-field small{color:var(--muted);font-size:8px}.giveaway-rule{border:1px solid var(--line);background:var(--theme-surface,#fff);color:var(--raffle-ink);text-align:left;border-radius:11px;grid-template-columns:auto 1fr;align-items:center;gap:9px;padding:10px;display:grid}button.giveaway-rule{cursor:pointer}.giveaway-rule>i{border:1px solid var(--theme-line,#bdc9ba);width:19px;height:19px;color:var(--theme-on-solid,#fff);border-radius:6px;place-items:center;display:grid}.giveaway-rule.checked>i,.giveaway-rule.locked>i{border-color:var(--raffle-green);background:var(--theme-accent-fill,var(--raffle-green))}.giveaway-rule span,.giveaway-rule b,.giveaway-rule small{display:block}.giveaway-rule b{font-size:10px}.giveaway-rule small{color:var(--muted);margin-top:2px;font-size:8px}.giveaway-rule.locked{background:var(--theme-surface-subtle,#f9faf8)}.giveaway-draw-button{background:var(--theme-accent-fill,var(--raffle-green));min-height:47px;box-shadow:0 12px 24px color-mix(in srgb, var(--theme-accent-fill,#196b10) 20%, transparent);color:var(--theme-on-solid,#fff);cursor:pointer;border:0;border-radius:13px;justify-content:center;align-items:center;gap:8px;margin-top:auto;font-size:11px;font-weight:900;display:flex}.giveaway-draw-button:hover:not(:disabled){background:var(--theme-accent-fill,#11570a);transform:translateY(-1px)}.giveaway-draw-button:disabled{cursor:default;opacity:.45;box-shadow:none}.giveaway-control-note{color:var(--muted);align-items:flex-start;gap:6px;margin:0;font-size:8px;line-height:1.35;display:flex}.giveaway-control-note svg{color:var(--raffle-green);flex:none}.giveaway-history{padding:17px}.giveaway-history-list{border-top:1px solid var(--line);margin-top:13px;display:grid}.giveaway-history-list article{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(220px,1.4fr) minmax(160px,.8fr) auto auto;align-items:center;gap:11px;padding:11px 2px;display:grid}.giveaway-history-icon{background:var(--raffle-soft);width:34px;height:34px;color:var(--raffle-green);border-radius:10px;place-items:center;display:grid}.giveaway-history-copy,.giveaway-history-copy strong,.giveaway-history-copy small,.giveaway-history-winners,.giveaway-history-winners b,.giveaway-history-winners small{min-width:0;display:block}.giveaway-history-copy strong{color:var(--raffle-ink);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.giveaway-history-copy small,.giveaway-history-winners small{color:var(--muted);margin-top:3px;font-size:8px}.giveaway-history-winners b{color:var(--raffle-green);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:10px;overflow:hidden}.giveaway-history-mode{background:var(--theme-surface-subtle,#f1f4ef);color:var(--theme-muted,#667064);white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:8px;font-weight:800}.giveaway-history-list a{border:1px solid var(--line);width:28px;height:28px;color:var(--raffle-green);border-radius:8px;place-items:center;display:grid}.giveaway-history-empty{min-height:105px;color:var(--raffle-green);justify-content:center;align-items:center;gap:10px;display:flex}.giveaway-history-empty span,.giveaway-history-empty b,.giveaway-history-empty small{display:block}.giveaway-history-empty b{color:var(--raffle-ink);font-size:11px}.giveaway-history-empty small{color:var(--muted);margin-top:2px;font-size:9px}.spin{animation:.8s linear infinite giveaway-spin}@keyframes giveaway-spin{to{transform:rotate(360deg)}}@keyframes giveaway-wheel-spin{0%{transform:rotate(0)}to{transform:rotate(1760deg)}}@keyframes giveaway-slot-pulse{0%{transform:translateY(-2px)scale(.995)}to{transform:translateY(2px)scale(1.005)}}@keyframes giveaway-winner-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes giveaway-shimmer{to{background-position:-200% 0}}@media (max-width:1050px){.giveaway-workspace{grid-template-columns:1fr}.giveaway-controls{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.giveaway-controls>.giveaway-section-title,.giveaway-controls>.giveaway-mode-grid,.giveaway-controls>.giveaway-draw-button,.giveaway-controls>.giveaway-control-note{grid-column:1/-1}.giveaway-mode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:760px){.giveaways-heading{flex-direction:column;align-items:flex-start}.giveaways-trust{width:100%;min-width:0}.giveaway-post-picker{padding:13px}.giveaway-post-picker>.giveaway-section-title{flex-wrap:wrap;align-items:flex-start}.giveaway-post-search{width:100%;margin:7px 0 0}.giveaway-stage{min-height:480px;padding:13px}.giveaway-stage-top{flex-direction:column;align-items:flex-start}.giveaway-live-count{width:100%}.giveaway-live-count button{margin-left:auto}.giveaway-animation{min-height:300px}.giveaway-wheel-wrap{width:245px;height:245px}.giveaway-wheel{width:220px;height:220px}.giveaway-participant-preview{flex-wrap:wrap;align-items:flex-start}.giveaway-participant-preview>small{width:100%;margin-left:0}.giveaway-controls{display:flex}.giveaway-mode-grid{grid-template-columns:1fr}.giveaway-history-list article{grid-template-columns:auto minmax(0,1fr) auto}.giveaway-history-winners{grid-column:2/-1}.giveaway-history-mode{display:none}}@media (prefers-reduced-motion:reduce){.giveaway-animation.is-spinning .giveaway-wheel,.giveaway-animation.is-spinning .giveaway-slot,.giveaway-multiple-stage .giveaway-winner-card,.spin{animation-duration:.01ms;animation-iteration-count:1}.home-agent-loading>span{animation:none}}.auth-shell{background:var(--theme-surface-subtle,#f5f7f3);grid-template-columns:minmax(320px,.9fr) minmax(390px,1.1fr);min-height:100vh;display:grid}.auth-brand-panel{min-height:100vh;color:var(--theme-on-solid,#fff);background:radial-gradient(circle at 20% 15%, color-mix(in srgb, var(--theme-accent-fill,#8fcd53) 25%, transparent), transparent 28%), linear-gradient(145deg, var(--theme-accent-fill,#17350f) 0%, var(--theme-accent-fill,#285e18) 58%, var(--theme-accent-fill,#42872b) 100%);flex-direction:column;justify-content:flex-end;padding:clamp(36px,7vw,92px);display:flex}.auth-brand-panel .brand-logo{border:1px solid color-mix(in srgb, var(--theme-line,#fff) 25%, transparent);width:78px;height:78px;box-shadow:0 16px 40px rgb(var(--theme-shadow-rgb,10 28 7) / .22);border-radius:24px;flex-basis:78px;margin-bottom:auto}.auth-brand-panel .eyebrow{color:var(--theme-accent-text,#bce6a1)}.auth-brand-panel h1{letter-spacing:-.055em;max-width:590px;margin:10px 0 16px;font-size:clamp(38px,5vw,72px);line-height:.98}.auth-brand-panel>p:last-child{max-width:480px;color:color-mix(in srgb, var(--theme-on-solid,#fff) 75%, transparent);margin:0;font-size:14px;line-height:1.6}.auth-card{border:1px solid var(--theme-line,#e0e5dd);background:var(--theme-surface,#fff);width:min(440px,100% - 44px);box-shadow:0 24px 70px rgb(var(--theme-shadow-rgb,30 54 22) / .11);border-radius:24px;margin:auto;padding:34px}.auth-card h2{letter-spacing:-.035em;margin:7px 0;font-size:27px}.auth-card>div:first-child>p:last-child{color:var(--muted);margin:0 0 24px;font-size:11px;line-height:1.5}.auth-card .form-field{margin-top:13px}.auth-submit{justify-content:center;width:100%;margin-top:18px}.auth-switch{width:100%;color:var(--green-dark);background:0 0;border:0;margin-top:12px;font-size:10px;font-weight:800}.auth-card>.secondary-btn{justify-content:center;width:100%;margin-top:8px}.auth-card>.auth-tiendanube{margin-top:10px;text-decoration:none}.auth-message{background:var(--green-soft);color:var(--green-dark);border-radius:10px;margin-top:13px;padding:10px 12px;font-size:10px;line-height:1.5}.auth-message.error{background:var(--theme-danger-soft,#fff0ee);color:var(--theme-danger-text,#a4392f)}@media (max-width:800px){.auth-shell{grid-template-columns:1fr}.auth-brand-panel{min-height:250px;padding:28px}.auth-brand-panel .brand-logo{margin-bottom:42px}.auth-brand-panel h1{max-width:520px;font-size:40px}.auth-card{margin:24px auto}.invite-fields{grid-template-columns:1fr}}.global-search-wrap{flex:1;max-width:480px;margin:auto;position:relative}.global-search-wrap .global-search{width:100%;max-width:none;margin:0}.global-search-results{z-index:80;border:1px solid var(--line);background:var(--theme-surface,#fff);max-height:min(420px,70vh);box-shadow:0 20px 55px rgb(var(--theme-shadow-rgb,25 45 18) / .16);border-radius:15px;padding:6px;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow-y:auto}.global-search-results>button{text-align:left;background:0 0;border:0;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;padding:9px;display:grid}.global-search-results>button:hover{background:var(--green-soft)}.global-search-results>button>span:nth-child(2){min-width:0}.global-search-results b,.global-search-results small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.global-search-results b{font-size:10px}.global-search-results small{color:var(--muted);margin-top:3px;font-size:8px}.global-search-results>p{color:var(--muted);text-align:center;margin:0;padding:16px;font-size:10px}.video-queue-panel{gap:13px;padding:18px;display:grid}.video-queue-head,.video-queue-progress-row,.video-queue-current{align-items:center;gap:10px;display:flex}.video-queue-head{justify-content:space-between}.video-queue-head h2{margin:0;font-size:18px}.video-queue-head span{color:var(--muted);margin-top:4px;font-size:10px;display:block}.video-queue-progress-row strong{font-size:12px}.video-queue-progress-row>span{color:var(--muted);font-size:10px}.video-queue-progress-row>button{color:var(--red);background:0 0;border:0;margin-left:auto;font-size:9px;font-weight:750}.video-queue-bar{background:var(--theme-surface-subtle,#edf1ea);border-radius:999px;height:7px;overflow:hidden}.video-queue-bar i{border-radius:inherit;background:linear-gradient(90deg, var(--theme-accent-fill,var(--green)), var(--theme-accent-fill,#78bd55));min-width:0;height:100%;transition:width .25s;display:block}.video-queue-current{background:var(--theme-surface-subtle,#f7f9f5);min-height:34px;color:var(--muted);border-radius:11px;padding:9px 11px;font-size:9px}.video-queue-current b{color:var(--ink)}.notion-video-analysis{border-top:1px solid var(--line);gap:12px;padding-top:22px;display:grid}.notion-video-analysis-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.notion-video-analysis-head h3{margin:0;font-size:17px}.calendar-item{border:1px solid #0000;min-height:30px;transition:border-color .16s,background .16s;overflow:hidden}.calendar-item:hover{border-color:var(--theme-line,#cddac8);background:var(--theme-surface,#fff)}.calendar-item.has-preview{padding-left:3px}.calendar-item>img{object-fit:cover;background:var(--theme-surface-subtle,#e7ece4);border-radius:6px;flex:0 0 25px;width:25px;height:32px}.calendar-item-title{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.story-calendar-unit{border:1px solid var(--theme-line,#d9ead2);text-align:left;width:100%}.story-calendar-unit:hover{border-color:var(--theme-accent-line,#afd09f);background:var(--theme-accent-soft,#e2f2dc)}@media (max-width:760px){.global-search-wrap{flex-basis:100%;order:3;max-width:none;margin:0}.video-queue-head,.video-queue-progress-row{flex-wrap:wrap;align-items:flex-start}.video-queue-progress-row>button{margin-left:0}}.insights-source-tabs{border:1px solid var(--line);background:var(--theme-surface,#fff);width:max-content;max-width:100%;box-shadow:var(--shadow);border-radius:14px;gap:5px;margin:0 0 14px;padding:4px;display:flex;overflow-x:auto}.insights-source-tabs button,.organic-platform-tabs button{color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:10px;padding:8px 13px;font-size:10px;font-weight:750}.insights-source-tabs button.active,.organic-platform-tabs button.active{background:var(--green-soft);color:var(--green-dark)}.organic-overview{border-color:var(--theme-line,#d8e7d2);background:linear-gradient(145deg, var(--theme-surface,#fff) 0%, var(--theme-surface-subtle,#f6faf3) 100%);margin-bottom:16px;padding:18px}.organic-overview-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px;display:flex}.organic-overview-head h2{letter-spacing:-.03em;margin:0;font-size:19px}.organic-platform-tabs{border:1px solid var(--line);background:var(--theme-surface,#fff);border-radius:12px;gap:3px;padding:3px;display:flex}.organic-platform-tabs button:disabled{opacity:.42}.organic-overview-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.organic-account-card,.organic-overview-card{border:1px solid var(--theme-line,#dfe8db);background:color-mix(in srgb, var(--theme-surface,#fff) 94%, transparent);text-align:left;border-radius:15px;min-width:0;min-height:128px;padding:13px}.organic-account-card{align-items:center;gap:11px;display:flex}.organic-account-card .brand-logo{border-radius:14px;flex:0 0 48px;width:48px;height:48px}.organic-account-card small,.organic-account-card strong,.organic-account-card span,.organic-overview-card>small,.organic-overview-card>strong,.organic-overview-card>span:not(.organic-overview-icon){display:block}.organic-account-card small,.organic-overview-card>small{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:8px;font-weight:750}.organic-account-card strong,.organic-overview-card>strong{letter-spacing:-.035em;margin-top:8px;font-size:20px}.organic-account-card span,.organic-overview-card>span:not(.organic-overview-icon){color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:9px;line-height:1.35;overflow:hidden}.organic-overview-card{position:relative}.organic-overview-card:hover:not(:disabled){border-color:var(--theme-accent-line,#b9d2af);transform:translateY(-1px)}.organic-overview-icon{background:var(--green-soft);width:29px;height:29px;color:var(--green-dark);border-radius:9px;place-items:center;margin-bottom:12px;display:grid}.organic-story-overview{padding-top:61px}.organic-story-mini{height:45px;display:flex;position:absolute;top:10px;left:12px}.organic-story-mini>span{border:2px solid var(--theme-line,#fff);background:var(--theme-surface-subtle,#edf2ea);width:31px;height:45px;box-shadow:0 3px 10px rgb(var(--theme-shadow-rgb,24 55 18) / .12);border-radius:7px;margin-left:-5px;overflow:hidden}.organic-story-mini>span:first-child{margin-left:0}.organic-story-mini img,.organic-story-mini video{object-fit:cover;width:100%;height:100%}.insights-source-details{border-top:1px solid color-mix(in srgb, var(--theme-accent-line,#748b69) 18%, transparent);margin-top:13px}.insights-source-details>summary{color:var(--green-dark);cursor:pointer;justify-content:space-between;align-items:center;gap:8px;padding:12px 3px 2px;font-size:10px;font-weight:800;list-style:none;display:flex}.insights-source-details>summary::-webkit-details-marker{display:none}.insights-source-details>summary svg{transition:transform .18s}.insights-source-details[open]>summary svg{transform:rotate(180deg)}.insights-source-details-body{padding-top:13px}.organic-detail-block{border:1px solid var(--line);background:var(--theme-surface,#fff);box-shadow:var(--shadow);border-radius:16px;margin:0 0 22px}.organic-detail-block>summary{padding:13px 15px}.organic-detail-body{padding:0 15px 15px}.organic-detail-body>.insights-metric-grid{margin-top:0}.metaads-creative-details{border-color:color-mix(in srgb, var(--theme-info-line,#425ba5) 16%, transparent)}.publication-auto-sync{background:var(--green-soft);color:var(--green-dark);white-space:nowrap;border-radius:8px;align-items:center;gap:4px;padding:6px 8px;font-size:8px;font-weight:800;display:inline-flex}.story-sequence-card{grid-template-columns:118px minmax(0,1fr) auto;gap:12px;padding:8px}.story-sequence-covers{height:62px}.story-sequence-covers>div{width:39px;height:60px}@media (max-width:980px){.organic-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:620px){.organic-overview-head{flex-direction:column;align-items:flex-start}.organic-platform-tabs{width:100%;overflow-x:auto}.organic-overview-grid{grid-template-columns:1fr}.organic-account-card,.organic-overview-card{min-height:112px}}.board-tools{justify-content:space-between;align-items:center;gap:12px;margin:12px 0 4px;display:flex}.board-tools small{color:var(--muted);font-size:.8rem}.board-tools button,.board-new-status button{border:1px solid var(--line,#d6ded2);background:var(--theme-surface,#fff);border-radius:10px;align-items:center;gap:6px;padding:9px 12px;font-size:.875rem;display:inline-flex}.board-new-status{background:var(--theme-accent-soft,#eaf4e3);border-radius:14px;flex-wrap:wrap;align-items:end;gap:10px;margin:12px 0;padding:16px;display:flex}.board-new-status label,.board-column-options label{gap:6px;font-size:.875rem;display:grid}.board-new-status input,.board-column-options input{border:1px solid var(--theme-line,#c6d6be);background:var(--theme-surface,white);border-radius:8px;max-width:100%;padding:9px 10px;font-size:.875rem}.board-new-status button[type=submit]{background:var(--theme-accent-fill,var(--green-dark,#205d0b));color:var(--theme-on-solid,white)}.board-error{color:var(--theme-danger-text,#a72a29);background:var(--theme-danger-soft,#fff0ee);border-radius:10px;padding:10px 14px;font-size:.875rem}.board-save-status{min-height:24px;color:var(--green-dark,#205d0b);font-size:.8rem;display:block}.content-page .kanban-board.flexible-kanban{align-items:stretch;gap:12px;min-height:330px;padding:4px 4px 22px;scroll-padding-inline:12px;display:flex;overflow-x:auto}.content-page .flexible-kanban .flexible-column{border-radius:16px;flex:0 0 278px;width:278px;min-width:278px;padding:12px;transition:background-color .16s,border-color .16s}.flexible-column>header{align-items:center;gap:7px;min-height:34px;margin-bottom:14px;display:flex;position:relative}.flexible-column>header h3{overflow-wrap:anywhere;flex:1;min-width:0;font-size:.875rem;line-height:1.3}.flexible-column>header b{font-size:.8rem}.flexible-column .board-fold{color:var(--theme-accent-text,#45623a);background:0 0;border:0;border-radius:7px;flex-shrink:0;place-items:center;padding:5px;display:grid}.flexible-column .board-fold:hover{background:var(--theme-accent-soft,#deebd7)}.content-page .flexible-kanban .flexible-column.is-collapsed{background:var(--theme-surface-subtle,#eef4eb);flex:0 0 72px;width:72px;min-width:72px;padding:12px 8px}.flexible-column.is-collapsed>header{flex-direction:column;gap:14px}.flexible-column.is-collapsed>header h3{writing-mode:vertical-rl;flex:none;max-height:230px;margin:0}.collapsed-drop-hint{text-align:center;color:var(--theme-accent-text,#607657);margin:18px auto;font-size:.75rem;display:block}.content-page .flexible-column.column-over{background:var(--theme-accent-soft,#dcf2cb);outline:2px solid var(--theme-focus,#63a447);outline-offset:-2px}.board-column-menu{position:relative}.board-column-menu summary{cursor:pointer;border-radius:6px;padding:4px;list-style:none;display:flex}.board-column-menu summary::-webkit-details-marker{display:none}.board-column-options{border:1px solid var(--theme-line,#d3dfce);background:var(--theme-surface,white);z-index:25;width:238px;box-shadow:0 12px 26px rgb(var(--theme-shadow-rgb,23 62 22) / .141176);border-radius:12px;padding:12px;position:absolute;top:30px;right:0}.board-column-options button{background:var(--theme-surface,white);text-align:left;border:0;align-items:center;gap:6px;width:100%;padding:8px 5px;font-size:.8rem;display:flex}.board-column-options form{border-bottom:1px solid var(--theme-line,#e4ebe0);margin-bottom:5px;padding-bottom:8px}.board-column-options form button{color:var(--theme-accent-text,#215d0a);margin-top:7px;font-weight:650}.flexible-board-shell button:disabled,.flexible-board-shell select:disabled{opacity:.5;cursor:wait}.flexible-board-shell :focus-visible{outline:2px solid var(--theme-focus,#338314);outline-offset:3px}.content-page .content-card.board-card{cursor:grab;touch-action:pan-y;-webkit-user-select:none;user-select:none;flex-direction:column;min-height:140px;padding:14px;display:flex}.content-page .content-card.board-card:active{cursor:grabbing}.content-page .content-card.board-card[aria-disabled=true]{cursor:wait}.board-card.is-dragging{opacity:.3}.board-card-type{color:var(--theme-muted,#58634f);margin-bottom:10px;font-size:.75rem;display:block}.board-card h4{overflow-wrap:anywhere;margin:0 0 18px;font-size:1rem;line-height:1.4}.board-card .card-footer{flex-wrap:wrap;gap:8px;margin-top:auto;font-size:.75rem}.board-drag-overlay{background:var(--theme-surface,white);border:1px solid var(--theme-accent-line,#80a46b);width:270px;box-shadow:0 14px 36px rgb(var(--theme-shadow-rgb,32 62 39) / .219608);padding:18px;transform:rotate(2deg)}.board-drag-overlay h4{font-size:1rem}.board-main-columns{border-radius:16px;flex:none;align-items:stretch;gap:12px;display:flex}.board-column-drag{text-align:left;width:100%;font:inherit;color:inherit;cursor:grab;touch-action:pan-y;background:0 0;border:0;align-items:center;gap:4px;padding:5px 0;display:flex}.board-column-drag span{overflow-wrap:anywhere;min-width:0}.board-column-drag svg{color:var(--theme-muted,#7c8b73);flex-shrink:0}.board-column-drag:active{cursor:grabbing}.board-column-drag.is-dragging{opacity:.4}.is-collapsed .board-column-drag{writing-mode:vertical-rl;flex-direction:column}.board-status-archive{border:1px solid var(--theme-line,#d4dfcd);background:var(--theme-surface-subtle,#f3f6ef);border-radius:16px;flex:0 0 278px;align-self:flex-start;width:278px;min-width:278px;padding:14px}.board-status-archive>header{color:var(--theme-accent-text,#315323);align-items:center;gap:8px;display:flex}.board-status-archive>header h3{flex:1;margin:0;font-size:.875rem;font-weight:650}.board-archive-help{color:var(--theme-muted,#68765f);margin:10px 0 16px;font-size:.75rem;line-height:1.5;display:block}.board-archived-states{gap:8px;display:grid}.board-archived-state{background:var(--theme-surface,#fff);border:1px solid var(--theme-line,#d5dfd0);border-radius:11px;min-width:0}.board-archived-state-head{align-items:center;min-height:50px;padding-right:5px;display:flex}.board-archived-state-open{text-align:left;min-width:0;color:var(--theme-accent-text,#254b1a);cursor:grab;touch-action:pan-y;background:0 0;border:0;flex:1;align-items:center;gap:7px;padding:12px 8px;font-size:.875rem;display:flex}.board-archived-state-open span{overflow-wrap:anywhere;flex:1}.board-archived-state-open b{color:var(--theme-muted,#66755d);font-size:.75rem;font-weight:500}.board-archived-state-open svg{flex-shrink:0;transform:rotate(-90deg)}.board-archived-state-open svg.is-expanded{transform:none}.board-restore-state{width:30px;height:32px;color:var(--theme-accent-text,#527346);background:0 0;border:0;border-radius:7px;flex-shrink:0;place-items:center;display:grid}.board-restore-state:hover{background:var(--theme-accent-soft,#e6f0df)}.board-archive-drop{color:var(--theme-muted,#68765f);margin:10px 0 0;padding:12px 8px;font-size:.75rem;line-height:1.5}.board-archive-drop.is-active{border:1px dashed var(--theme-accent-line,#76a85a);background:var(--theme-accent-soft,#e4f3da);color:var(--theme-accent-text,#285815);border-radius:10px}.flexible-board-shell .accepts-column{outline:1px dashed var(--theme-focus,#92b57c);outline-offset:-1px}.flexible-board-shell .column-over{background:var(--theme-accent-soft,#dcf2cb);outline:2px solid var(--theme-focus,#63a447);outline-offset:-2px}.board-column-overlay{border:1px solid var(--theme-accent-line,#80a46b);background:var(--theme-surface,white);width:235px;box-shadow:0 14px 36px rgb(var(--theme-shadow-rgb,32 62 39) / .219608);border-radius:12px;align-items:center;gap:10px;padding:16px;font-size:.875rem;display:flex}.board-archived-cards{gap:9px;max-height:460px;padding:4px 8px 10px;display:grid;overflow-y:auto}.board-archived-cards .board-card{width:100%}.board-archived-cards>small{color:var(--theme-muted,#68765f);padding:10px}.board-show-more{border:1px solid var(--theme-line,#d5dfd0);background:var(--theme-surface,#fff);border-radius:8px;padding:10px;font-size:.875rem}.board-no-columns{width:270px;min-height:230px;color:var(--theme-muted,#68765f);border:1px dashed var(--theme-line,#c5d5ba);border-radius:16px;place-items:center;padding:24px;font-size:.875rem;display:grid}.story-selection-toolbar{flex-wrap:wrap;max-width:calc(100vw - 32px)}@media (max-width:640px){.board-tools{flex-wrap:wrap}.content-page .flexible-kanban .flexible-column{flex-basis:260px;width:260px;min-width:260px}}.mobile-content-group{border-bottom:1px solid var(--line);padding:6px 0}.mobile-content-group summary{cursor:pointer;padding:8px 12px;font-size:13px;font-weight:700}.mobile-content-group button{text-align:left;width:100%;padding-left:26px}.mobile-content-group button.active{color:var(--green-dark);background:var(--green-soft)}.sidebar nav{min-height:0;overflow-y:auto}.calendar-source-selector{border:1px solid var(--line);background:var(--theme-surface,#fff);border-radius:12px;flex-wrap:wrap;gap:4px;margin:0 0 14px;padding:4px;display:inline-flex}.calendar-source-selector button{min-height:36px;color:var(--muted);background:0 0;border:0;border-radius:9px;padding:7px 12px;font-size:14px;font-weight:650}.calendar-source-selector button.active{background:var(--green-soft);color:var(--green-dark)}.calendar-source-empty{color:var(--muted);margin:0 0 12px;font-size:14px}.instagram-calendar-item{border:1px solid var(--theme-purple-line,#dccde8);background:var(--theme-purple-soft,#f8f2fb);min-height:40px;color:var(--ink);font-size:13px;text-decoration:none}.instagram-calendar-item:hover{border-color:var(--theme-purple-text,#a476c4);background:var(--theme-purple-soft,#f8f2fb)}.instagram-calendar-item>svg{color:var(--muted);flex:none}.instagram-calendar-label{background:var(--theme-purple-fill,#874caf);color:#fff;border-radius:5px;flex:none;padding:3px 5px;font-size:11px;font-weight:800}@media (max-width:760px){.calendar-source-selector{width:100%}.calendar-source-selector button{flex:1;padding-inline:8px;font-size:13px}}
