:root{color:#101828;background:#f8fafc;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}html,body,#root{min-height:100%}*{box-sizing:border-box}html{background:#f8fafc}body{margin:0;min-height:100vh;background:#f8fafc}#root{min-height:100vh;background:inherit}a{color:#155eef;text-decoration:none}a:hover{text-decoration:underline}.page{max-width:1120px;margin:0 auto;padding:1.5rem}.page--wide{max-width:100%;width:100%;padding-left:1rem;padding-right:1rem}.top-nav{position:sticky;top:0;z-index:20;border-bottom:1px solid #d0d5dd;background:linear-gradient(180deg,#ffffffe6,#f8fafcf0),linear-gradient(90deg,#0f172a2e,#0f172a0f),url(/brand/nexusforge_bandeau.png) center / cover no-repeat;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.top-nav__inner{position:relative;z-index:1;max-width:1120px;margin:0 auto;padding:.85rem 1.5rem;display:flex;align-items:center;gap:.8rem}.top-nav__brand{display:inline-flex;align-items:center;color:#101828;min-width:0}.top-nav__brand-spacer{flex:1 1 auto}.top-nav__brand-logo{width:180px;max-width:40vw;isolation:isolate}.top-nav--native{position:fixed;top:0;left:0;right:0;z-index:40;border-bottom:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:none}.top-nav__inner--native{max-width:none;padding:0;min-height:0;gap:0;display:block;pointer-events:none}.top-nav--native .top-nav__brand-spacer{display:none}.top-nav--native .top-nav__menu-toggle{display:inline-flex;position:fixed;top:calc(env(safe-area-inset-top,0px) + .45rem);left:calc(env(safe-area-inset-left,0px) + .45rem);z-index:46;pointer-events:auto}.top-nav--native .top-nav__links{display:none;width:auto;order:10;position:fixed;top:calc(env(safe-area-inset-top,0px) + 44px + .85rem);left:calc(env(safe-area-inset-left,0px) + .45rem);right:auto;width:min(320px,calc(100vw - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px) - .9rem));margin-top:0;padding:.65rem;border:1px solid rgba(96,165,250,.18);border-radius:18px;background:#070f1ef5;box-shadow:0 18px 40px #0f172a33;flex-direction:column;align-items:stretch;gap:.4rem;flex-wrap:nowrap;pointer-events:auto}.top-nav--native .top-nav__links.is-open{display:flex}.top-nav--native .top-nav__links a,.top-nav--native .top-nav__mobile-logout{width:100%;padding:.75rem .9rem;border-radius:14px;border:1px solid rgba(96,165,250,.14);background:#0f172ac7}.top-nav--native .top-nav__links a.is-active{background:#1e40af40}.top-nav--native .top-nav__mobile-user-links{display:grid;gap:.4rem;padding-top:.4rem;border-top:1px solid rgba(96,165,250,.16)}.top-nav--native .top-nav__avatar-button,.top-nav--native .top-nav__menu-toggle{width:44px;height:44px;transition:transform .18s ease,opacity .18s ease,background .18s ease,border-color .18s ease}.top-nav--native .top-nav__right,.top-nav--native .top-nav__user-menu,.top-nav--native .top-nav__avatar-button,.top-nav--native .top-nav__user-dropdown{pointer-events:auto}.top-nav--native .top-nav__right{position:fixed;top:calc(env(safe-area-inset-top,0px) + .45rem);right:calc(env(safe-area-inset-right,0px) + .45rem);z-index:46;margin-left:0;width:auto}.top-nav--native .top-nav__user-menu{position:relative}.top-nav--native .top-nav__user-dropdown{position:absolute;top:calc(100% + .35rem);right:0}.top-nav--native-collapsed .top-nav__menu-toggle,.top-nav--native-collapsed .top-nav__avatar-button{width:32px;height:32px;opacity:.46;background:#080f206b;border-color:#60a5fa1f;box-shadow:0 8px 18px #080f2029}.top-nav--native-collapsed .top-nav__menu-toggle span{width:13px}.top-nav__brand-logo .brand-logo__image{filter:drop-shadow(0 10px 24px rgba(8,15,32,.22));-webkit-mask-image:radial-gradient(circle at center,#000 62%,transparent 94%);mask-image:radial-gradient(circle at center,#000 62%,transparent 94%)}.screen-runtime-open-target-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;grid-template-rows:auto 1fr;gap:.75rem;padding:.85rem;background:linear-gradient(180deg,#060e1ce0,#060e1cf0);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.screen-runtime-open-target-overlay__toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.screen-runtime-open-target-overlay__body{min-height:0;overflow:hidden;border:1px solid rgba(85,119,179,.35);border-radius:18px;background:#081122b8;padding:.75rem}.screen-runtime-alert-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:18;display:grid;padding:.85rem;pointer-events:none}.screen-runtime-alert-overlay__stack{display:grid;gap:.5rem;width:min(100%,420px)}.screen-runtime-alert-overlay__toolbar{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:0 .15rem;pointer-events:auto}.screen-runtime-alert-overlay__card{margin:0;border-color:#38bdf8;display:grid;gap:.35rem;cursor:pointer;pointer-events:auto}.screen-runtime-alert-overlay__meta{display:grid;grid-template-columns:auto 1fr auto;gap:.7rem;align-items:start}.screen-runtime-alert-overlay__avatar{width:2.6rem;height:2.6rem;border-radius:999px;overflow:hidden;display:grid;place-items:center;background:#38bdf82e;color:#e0f2fe;font-weight:700;font-size:.82rem}.screen-runtime-alert-overlay__avatar-image{width:100%;height:100%;object-fit:cover}.screen-runtime-alert-overlay__summary{display:grid;gap:.18rem;min-width:0}.screen-runtime-alert-overlay__summary-top{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem}.screen-runtime-alert-overlay__content{margin:0;white-space:pre-wrap}.screen-runtime-alert-overlay__hint{color:#38bdf8}.screen-runtime-target-control__status{display:grid;gap:.25rem;padding:.65rem .8rem;border-radius:14px;border:1px solid rgba(85,119,179,.3);background:#0c182d73}.overlay-control-widget{display:grid;gap:.65rem;align-content:start;min-height:0}.overlay-control-widget__header{display:grid;gap:.18rem}.overlay-control-widget__header small,.overlay-control-audience__channel{color:#cbd5e1}.overlay-control-card,.overlay-control-audience{display:grid;gap:.55rem;padding:.65rem;border:1px solid rgba(78,98,132,.28);border-radius:16px;background:#0a1324ad}.overlay-control-card{grid-template-columns:1fr;align-items:stretch}.overlay-control-card__preview{width:100%;height:136px;border-radius:14px;overflow:hidden;border:1px solid rgba(79,133,255,.2);background:#0f172ad1}.overlay-control-card__fallback{width:100%;height:100%;padding:.55rem;display:grid;align-content:center;gap:.2rem;text-align:center}.overlay-control-card__fallback strong,.overlay-control-card__fallback small,.overlay-control-card__content strong,.overlay-control-card__content small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overlay-control-card__fallback small,.overlay-control-card__content small{color:#cbd5e1}.overlay-control-card__content{min-width:0;display:grid;gap:.2rem}.overlay-control-card__actions{display:flex;gap:.45rem;flex-wrap:wrap;justify-content:flex-start}.overlay-control-card__actions .button{min-width:2.4rem}.overlay-control-icon-button{min-width:2.6rem;padding-inline:.7rem;font-size:1rem;line-height:1}.overlay-control-icon-button.is-active{border-color:#60a5faa6;background:#1e40af52}.overlay-control-audience__header,.overlay-control-audience__toolbar{display:flex;justify-content:space-between;align-items:center;gap:.6rem;flex-wrap:wrap}.overlay-control-audience__toolbar-actions{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.overlay-control-audience .chat-widget__recipient-list{max-height:12rem;overflow:auto}.overlay-control-audience .chat-recipient-item{padding:.45rem .55rem}@media(max-width:720px){.overlay-control-card{grid-template-columns:1fr}.overlay-control-card__preview{width:100%;height:110px}.overlay-control-card__actions{justify-content:flex-start}.overlay-control-audience__toolbar{align-items:stretch}}.screen-runtime-open-in-details{position:relative}.screen-runtime-open-in-details summary{list-style:none}.screen-runtime-open-in-details summary::-webkit-details-marker{display:none}.screen-runtime-open-in-menu{position:absolute;top:calc(100% + .35rem);left:0;z-index:30;min-width:220px;display:grid;gap:.25rem;padding:.4rem;border-radius:14px;border:1px solid rgba(85,119,179,.35);background:#0a1324f5;box-shadow:0 18px 32px #03071259}.screen-runtime-open-in-menu__item{width:100%;border:0;border-radius:10px;background:transparent;color:#e2e8f0;text-align:left;padding:.55rem .65rem;cursor:pointer}.screen-runtime-open-in-menu__item:hover{background:#2563eb2e}.screen-runtime-open-in-menu__empty{padding:.55rem .65rem;color:#94a3b8;font-size:.88rem}.brand-logo{position:relative;display:inline-flex}.brand-logo img{display:block}.brand-logo--icon{width:52px;height:52px;border-radius:14px}.brand-logo--wordmark{width:100%;max-width:220px;aspect-ratio:3 / 1}.brand-logo--auth{width:min(100%,420px);margin-inline:auto}.brand-logo__image{width:100%;height:auto;object-fit:contain}.auth-card{max-width:720px;margin-inline:auto}.auth-card--brand{display:grid;gap:1rem;justify-items:stretch}.auth-card__logo{margin-bottom:.35rem}.auth-card__lead{margin:0;color:#475467}.auth-benefits{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.auth-benefit{display:grid;gap:.35rem;border:1px solid #d0d5dd;border-radius:14px;padding:.85rem 1rem;background:linear-gradient(180deg,#f8fbff,#eff6ff)}.auth-benefit span{color:#475467;font-size:.92rem}.top-nav__links{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.top-nav__menu-toggle{display:none;width:44px;height:44px;margin-left:auto;border:1px solid rgba(151,164,190,.5);border-radius:14px;background:#ffffffc7;align-items:center;justify-content:center;gap:.24rem;flex-direction:column;cursor:pointer;box-shadow:0 12px 22px #0f172a14}.top-nav__menu-toggle span{width:18px;height:2px;border-radius:999px;background:#155eef;transition:transform .16s ease,opacity .16s ease}.top-nav__menu-toggle.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg)}.top-nav__menu-toggle.is-open span:nth-child(2){opacity:0}.top-nav__menu-toggle.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.top-nav__links a{color:#344054;border:1px solid transparent;border-radius:999px;padding:.3rem .6rem}.top-nav__mobile-user-links{display:none}.top-nav__mobile-logout{border:1px solid rgba(151,164,190,.36);background:#ffffffb8;color:#344054;text-align:left;border-radius:14px;padding:.7rem .85rem;font:inherit;cursor:pointer}.top-nav__link-label,.top-nav__menu-item-label{display:inline-flex;align-items:center;gap:.45rem}.top-nav__links a.is-active{color:#155eef;background:#eef4ff;border-color:#bfd4ff;text-decoration:none}.top-nav__right{margin-left:auto;display:flex;align-items:center;gap:.55rem}.top-nav__user-menu{position:relative}.top-nav__avatar-button{width:42px;height:42px;position:relative;border-radius:999px;border:1px solid #d0d5dd;background:linear-gradient(180deg,#eef4ff,#dbeafe);padding:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;overflow:visible}.top-nav__avatar-badge{position:absolute;top:-.4rem;right:-.35rem;min-width:1.2rem;height:1.2rem;padding:0 .28rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#f04438;color:#fff;border:2px solid #ffffff;font-size:.68rem;font-weight:800;line-height:1;box-shadow:0 10px 20px #f0443847}.app-offline-badge{position:fixed;top:.9rem;left:.9rem;z-index:1200;border:1px solid rgba(255,176,63,.42);border-radius:999px;background:#3a2408eb;color:#ffd48a;padding:.38rem .82rem;font-size:.76rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;box-shadow:0 12px 28px #00000047}.startup-sync-banner{position:fixed;top:4.4rem;left:50%;transform:translate(-50%);z-index:1190;width:min(92vw,780px);border:1px solid rgba(88,144,255,.38);border-radius:20px;background:#10182bf7;box-shadow:0 20px 48px #00000052;padding:1rem 1.15rem;color:#f2f6ff}.startup-sync-banner--info,.startup-sync-banner--status{width:min(92vw,640px)}.startup-sync-banner p{margin:.35rem 0 0;opacity:.88}.startup-sync-banner__actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.85rem}.startup-sync-banner__actions button{border:1px solid rgba(92,137,219,.4);border-radius:12px;background:#17233deb;color:#f2f6ff;padding:.7rem .95rem;font:inherit;cursor:pointer}.top-nav__avatar-image{width:100%;height:100%;object-fit:cover;border-radius:999px}.top-nav__avatar-fallback{font-size:.8rem;font-weight:700;color:#155eef;letter-spacing:.05em;width:100%;height:100%;display:inline-flex;align-items:center;justify-content:center;border-radius:999px}.top-nav__user-dropdown{position:absolute;right:0;top:calc(100% + .55rem);min-width:220px;display:grid;gap:.15rem;background:#fff;border:1px solid #d0d5dd;border-radius:14px;padding:.5rem;box-shadow:0 18px 36px #10182824}.top-nav__user-dropdown-header{display:grid;gap:.15rem;padding:.45rem .55rem .55rem;border-bottom:1px solid #eaecf0;margin-bottom:.15rem}.top-nav__user-dropdown-header small{color:#667085}.top-nav__user-dropdown a,.top-nav__user-dropdown-action{border:none;background:transparent;color:#101828;text-align:left;border-radius:10px;padding:.7rem .75rem;font:inherit;cursor:pointer;text-decoration:none}.top-nav__user-dropdown a:hover,.top-nav__user-dropdown-action:hover{background:#eef4ff;text-decoration:none}.sync-status-badge,.offline-cache-badge{display:inline-flex;align-items:center;justify-content:center;min-height:1.55rem;padding:.18rem .58rem;border-radius:999px;border:1px solid transparent;font-size:.76rem;font-weight:700;line-height:1;white-space:nowrap}.sync-status-badge{width:2rem;min-width:2rem;padding:.18rem}.sync-status-badge__icon{width:.95rem;height:.95rem;object-fit:contain;display:block}.sync-status-badge--synced{background:#16a34a1a;border-color:#16a34a33;color:#166534}.sync-status-badge--pending{background:#d977061f;border-color:#d9770638;color:#92400e}.sync-status-badge--failed,.sync-status-badge--conflict{background:#dc26261f;border-color:#dc262638;color:#b42318}.offline-cache-badge{background:#155eef1a;border-color:#155eef38;color:#155eef}.sync-status-stack{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem}.resource-folder-button__content{display:flex;align-items:center;justify-content:space-between;gap:.6rem;width:100%}.resource-folder-button__name{min-width:0;overflow:hidden;text-overflow:ellipsis}.resource-card__badges{display:flex;flex-wrap:wrap;gap:.4rem}.admin-pending-banner{position:relative;z-index:1;border-top:1px solid #d0d5dd;background:#fff8e1;padding:.45rem 1.5rem;font-size:.9rem}.admin-pending-banner a{color:#9a3412;font-weight:600}.invitation-pending-banner{position:relative;z-index:1;border-top:1px solid #9fe3b4;background:#ecfdf3;padding:.45rem 1.5rem;font-size:.9rem}.invitation-pending-banner a{color:#067647;font-weight:600}.card{background:#fff;border:1px solid #d0d5dd;border-radius:12px;padding:1rem}.home-hero{position:relative;isolation:isolate;display:grid;gap:1.25rem;margin-bottom:1.5rem;padding:1.35rem 1.35rem 1.5rem;background:radial-gradient(circle at 68% 44%,rgba(21,94,239,.2),transparent 16%),radial-gradient(circle at 76% 50%,rgba(21,94,239,.11),transparent 28%),radial-gradient(circle at top right,rgba(21,94,239,.16),transparent 38%),linear-gradient(135deg,#fff,#f8fbff);overflow:hidden}.home-hero:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/brand/nexus_forge_symbol.svg) calc(100% + 1.5rem) center / min(700px,72vw) no-repeat;opacity:.16;pointer-events:none;z-index:-1}.home-hero__content{position:relative;z-index:1;max-width:min(780px,64%)}.home-hero__eyebrow,.home-section__eyebrow{margin:0 0 .35rem;color:#155eef;font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.home-hero h1,.home-section h2{margin:0}.home-hero__copy{max-width:64ch;margin:.75rem 0 0;color:#475467}.home-stats-grid{display:grid;gap:.85rem;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));position:relative;z-index:1;padding:.35rem;border-radius:22px;background:linear-gradient(180deg,#ffffff5c,#f8fbff2e);border:1px solid rgba(21,94,239,.08);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.home-stat-tile{display:grid;gap:.35rem;border:1px solid rgba(21,94,239,.18);border-radius:18px;padding:1rem;background:linear-gradient(180deg,#eff4ffeb,#f8fbffdb);box-shadow:inset 0 1px #ffffffbf}.home-stat-tile strong{font-size:1.7rem;line-height:1}.home-stat-tile--accent{border-color:#d9770647;background:linear-gradient(180deg,#fff7edf5,#fffbebe0)}.home-stat-tile span{color:#475467;font-size:.92rem}.home-grid{display:grid;gap:1.5rem;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.home-column{display:grid;gap:1rem}.home-section{display:grid;gap:1rem;position:relative;overflow:hidden}.home-section:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;border-radius:12px 0 0 12px;background:linear-gradient(180deg,#155eefe6,#38bdf8bf);opacity:.7}.home-section--announcements:before{background:linear-gradient(180deg,#d97706f2,#f59e0bbf)}.home-section__header{display:flex;align-items:start;justify-content:space-between;gap:1rem;padding-left:.35rem}.landing-hero{position:relative;overflow:hidden;display:grid;gap:1.5rem;padding:2rem;border-radius:28px;background:radial-gradient(circle at top right,rgba(56,189,248,.2),transparent 28rem),radial-gradient(circle at left center,rgba(37,99,235,.2),transparent 24rem),linear-gradient(145deg,#091224fa,#0e1930f5)}.landing-hero:after{content:"";position:absolute;inset:auto -6rem -8rem auto;width:20rem;height:20rem;border-radius:999px;background:radial-gradient(circle,#60a5fa47,#60a5fa00);pointer-events:none}.landing-hero__content{position:relative;z-index:1;display:grid;gap:1rem}.landing-hero h1{margin:0;max-width:14ch;font-size:clamp(2.5rem,5vw,4.15rem);line-height:.98;color:#f8fafc}.landing-hero__copy{max-width:70ch;margin:0;font-size:1.05rem;line-height:1.7;color:#e2e8f0e6}.landing-hero__actions{display:flex;flex-wrap:wrap;gap:.75rem}.landing-hero__free{display:inline-flex;align-items:center;gap:.75rem;flex-wrap:wrap;width:fit-content;max-width:100%;padding:.85rem 1rem;border-radius:18px;border:1px solid rgba(74,222,128,.22);background:#16653433;color:#dcfce7}.landing-hero__free strong{display:inline-flex;align-items:center;justify-content:center;padding:.3rem .65rem;border-radius:999px;background:#22c55e29;color:#86efac;letter-spacing:.06em;text-transform:uppercase;font-size:.76rem}.landing-grid{display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;margin-top:1rem}.landing-section{display:grid;gap:1rem}.landing-section__header{display:flex;justify-content:space-between;gap:1rem;align-items:start}.landing-section__header h2{margin:.2rem 0 0}.landing-feature-grid,.landing-note-list,.landing-audience-grid,.landing-showcase-grid{display:grid;gap:.85rem}.landing-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.landing-audience-grid,.landing-showcase-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.landing-feature-card,.landing-note-card,.landing-audience-card{display:grid;gap:.55rem;padding:1rem;border-radius:20px;border:1px solid rgba(72,93,131,.34);background:#0811228f}.landing-feature-card strong,.landing-note-card strong,.landing-audience-card strong{color:#f8fafc;font-size:1.02rem}.landing-feature-card p,.landing-note-card p,.landing-audience-card p{margin:0;color:#e2e8f0db;line-height:1.65}.landing-audience-card__eyebrow{margin:0;color:#7dd3fc;font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.landing-steps{display:grid;gap:.85rem;margin:0;padding-left:1.3rem}.landing-steps li{padding-left:.35rem;color:#e2e8f0eb;line-height:1.6}.landing-mobile{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:center}.landing-mobile__copy{display:grid;gap:.9rem}.landing-mobile__copy p{margin:0;color:#e2e8f0db;line-height:1.7}.landing-mobile__qr{display:grid;gap:.45rem;justify-items:center;padding:.85rem;border-radius:24px;background:#f8fafcfa;color:#0f172a}.landing-mobile__qr img{display:block;width:180px;height:180px;border-radius:16px}.landing-mobile__qr small{font-size:.8rem;color:#334155}.landing-showcase-card{display:grid;gap:.85rem}.landing-showcase-card__image-wrap{overflow:hidden;border-radius:20px;border:1px solid rgba(72,93,131,.34);background:#081122b8}.landing-showcase-card__image{display:block;width:100%;height:260px;object-fit:cover;object-position:top center}.landing-showcase-card__body{display:grid;gap:.45rem}.landing-showcase-card__body strong{color:#f8fafc;font-size:1.02rem}.landing-showcase-card__body p{margin:0;color:#e2e8f0db;line-height:1.65}.home-news-form,.home-announcement-form{display:grid;gap:.75rem;border:1px solid #d0d5dd;border-radius:16px;padding:1rem;background:#f8fbff}.home-inline-checkbox{display:inline-flex;align-items:center;gap:.55rem}.home-field-help{margin-top:-.2rem;color:#52607a;font-size:.88rem;line-height:1.45}.home-news-preview{display:grid;gap:.65rem;border:1px solid rgba(59,130,246,.18);border-radius:14px;padding:.9rem 1rem;background:#ffffffb8}.home-news-preview>strong{color:#0f172a}.home-form-row{display:grid;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr))}.home-feed-list{display:grid;gap:.85rem}.home-feed-item{display:grid;gap:.6rem;border:1px solid #d0d5dd;border-radius:16px;padding:1rem;background:#fff;box-shadow:0 12px 30px #0f172a0d}.home-feed-item--news{background:linear-gradient(180deg,#fffffffa,#f8fbffe6)}.home-feed-item--news strong{font-size:1.08rem}.discord-markdown{display:grid;gap:.75rem;color:#243247;line-height:1.65}.discord-markdown--inline{display:inline}.discord-markdown>:first-child{margin-top:0}.discord-markdown>:last-child{margin-bottom:0}.discord-markdown p,.discord-markdown ul,.discord-markdown ol,.discord-markdown blockquote,.discord-markdown h1,.discord-markdown h2,.discord-markdown h3{margin:0}.discord-markdown h1,.discord-markdown h2,.discord-markdown h3{color:#0f172a;line-height:1.3}.discord-markdown h1{font-size:1.2rem}.discord-markdown h2{font-size:1.08rem}.discord-markdown h3{font-size:1rem}.discord-markdown ul,.discord-markdown ol{padding-left:1.2rem}.discord-markdown li+li{margin-top:.28rem}.discord-markdown blockquote{border-left:3px solid rgba(59,130,246,.35);padding-left:.9rem;color:#475569}.discord-markdown code{border-radius:8px;padding:.1rem .4rem;background:#0f172a14;color:#0f172a;font-size:.92em}.discord-markdown a{color:#2563eb;text-decoration:underline}.home-announcement-markdown{font:inherit}.home-feed-item--announcement{border-color:#d9770633;background:linear-gradient(180deg,#fffbebd1,#fffffff5)}.home-feed-item--announcement .home-feed-item__inline-meta{gap:.45rem .75rem}.home-feed-item--announcement .home-feed-item__inline-meta span{display:inline-flex;align-items:center;border-radius:999px;padding:.18rem .55rem;background:#f59e0b1f;color:#92400e;font-size:.82rem;font-weight:600}.home-feed-item--announcement-compact{gap:.45rem;padding:.9rem}.home-feed-item--announcement-compact .home-feed-item__actions{margin-top:.15rem}.announcement-chip-grid{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.55rem}.announcement-chip{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #d0d5dd;border-radius:999px;background:#fff;color:#344054;padding:.45rem .8rem;font:inherit;font-size:.9rem;font-weight:600;cursor:pointer;transition:border-color .16s ease,background-color .16s ease,color .16s ease,box-shadow .16s ease}.announcement-chip:hover{border-color:#7dd3fc;color:#0f172a}.announcement-chip.is-active{border-color:#155eef;background:#eff6ff;color:#155eef;box-shadow:0 0 0 2px #155eef1f}.home-feed-item p,.home-feed-item small{margin:0}.home-feed-item small,.home-feed-item__inline-meta{color:#667085}.home-feed-item__meta,.home-feed-item__inline-meta,.home-feed-item__actions{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.home-author-link{display:inline-flex;align-items:center;color:#155eef;font-weight:700;text-decoration:none}.home-author-link.is-self{cursor:default}.home-author-link:hover{text-decoration:underline}.home-author-link.is-self:hover{text-decoration:none}.home-pill{display:inline-flex;align-items:center;border-radius:999px;padding:.2rem .55rem;background:#eef2f6;color:#475467;font-size:.78rem;font-weight:700}.home-pill--accent{background:#eef4ff;color:#155eef}.home-pill--success{background:#ecfdf3;color:#027a48}.home-alert{margin:0 0 1rem;border-radius:12px;padding:.85rem 1rem;border:1px solid transparent}.home-alert--error{background:#fef3f2;border-color:#fecdca;color:#b42318}.home-alert--success{background:#ecfdf3;border-color:#abefc6;color:#027a48}.social-page-grid{grid-template-columns:1fr}.social-search-card,.social-sidebar,.social-chat-panel{display:grid;gap:.85rem}.social-sidebar__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.social-sidebar__header h2{margin:0}.social-search-results,.social-conversation-list{display:grid;gap:.65rem}.social-user-autocomplete{display:grid;gap:.45rem}.social-user-autocomplete__hint{margin:0;color:#667085;font-size:.92rem}.social-user-autocomplete__results{display:grid;gap:.5rem}.social-user-autocomplete__option{display:flex;align-items:center;justify-content:space-between;gap:.8rem;width:100%;text-align:left;font:inherit;color:inherit;cursor:pointer;border:1px solid #d0d5dd;border-radius:14px;padding:.85rem;background:#fff}.social-user-autocomplete__option strong,.social-user-autocomplete__option span{display:block}.social-user-autocomplete__option span{color:#667085}.social-user-autocomplete__option:hover{border-color:#155eef;box-shadow:0 0 0 1px #155eef33}.social-relations-grid{display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}.social-user-card,.social-user-list-item{display:grid;gap:.5rem;border:1px solid #d0d5dd;border-radius:14px;padding:.85rem;background:#fff}.social-user-list-item{text-align:left;font:inherit;cursor:pointer}.social-user-list-item.is-active{border-color:#155eef;box-shadow:0 0 0 1px #155eef33}.social-user-card p,.social-user-list-item p,.social-user-list-item span{margin:0;color:#667085}.social-user-card__actions,.social-user-list-item__row{display:flex;align-items:center;gap:.6rem;justify-content:space-between;flex-wrap:wrap}.social-messages-layout{display:grid;gap:1rem;grid-template-columns:320px minmax(0,1fr);align-items:start}.social-chat-panel__header h2,.social-empty-state h2{margin:0}.social-chat-panel__header p,.social-empty-state p{margin:.35rem 0 0;color:#667085}.social-empty-state__actions{margin-top:1rem;display:grid;gap:.5rem;max-width:420px}.social-chat-messages{display:grid;gap:.75rem;min-height:320px;max-height:64vh;overflow:auto;padding-right:.35rem}.social-chat-message{display:grid;gap:.35rem;max-width:85%;border-radius:14px;padding:.75rem .9rem;background:#eef4ff}.social-chat-message.is-own{justify-self:end;background:#155eef;color:#fff}.social-chat-message.is-own small{color:#fffc}.social-chat-message.is-other{justify-self:start;background:#f8fbff}.social-chat-message p,.social-chat-message small{margin:0}.social-chat-form{display:grid;gap:.75rem}.form{display:grid;gap:.75rem;max-width:360px}.form input{padding:.6rem .75rem;border:1px solid #d0d5dd;border-radius:8px}.form select{padding:.6rem .75rem;border:1px solid #d0d5dd;border-radius:8px;background:#fff}textarea,select,input{font:inherit}textarea{padding:.6rem .75rem;border:1px solid #d0d5dd;border-radius:8px;resize:vertical;background:#fff}.button{border:none;border-radius:8px;background:#155eef;color:#fff;padding:.6rem .85rem;font-weight:600;cursor:pointer}.button--icon-only{width:2.35rem;height:2.35rem;padding:.14rem;display:inline-flex;align-items:center;justify-content:center}.button__icon-image{width:1.85rem;height:1.85rem;object-fit:contain;display:block}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.button.secondary{background:#344054}.button.danger{background:#b42318}.grid{display:grid;gap:1rem}.rules-studio-empty{display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid #bfd4ff;background:radial-gradient(circle at top right,rgba(191,212,255,.45),transparent 35%),linear-gradient(180deg,#f8fbff,#eef4ff)}.rules-studio-empty__copy{display:grid;gap:.45rem}.rules-studio-empty__copy h2,.rules-studio-empty__copy p{margin:0}.rules-studio-empty__eyebrow{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:#155eef}.rules-studio-empty__actions{display:flex;align-items:center;justify-content:flex-end}.system-builder__groups-panel{border:1px solid #eaecf0;border-radius:10px;padding:.65rem;background:#f8f9fc;display:grid;gap:.6rem}.system-builder__groups-editor{display:grid;gap:.45rem}.system-builder__group-editor-item{display:grid;gap:.45rem;border:1px solid #eaecf0;border-radius:8px;padding:.5rem;background:#fff}.system-builder__list--grouped{grid-template-columns:repeat(12,minmax(0,1fr))}.system-builder__rules-group{border:1px solid #eaecf0;border-radius:10px;padding:.6rem;background:#f8f9fc}.system-builder__rules-group.is-half{grid-column:span 6}.system-builder__rules-group.is-full{grid-column:span 12}body.theme-dark{background:#0b1220;color:#e5e7eb}body.theme-dark #root{background:#0b1220}body.theme-dark .top-nav{background:linear-gradient(180deg,#081122e0,#0f172aeb),linear-gradient(90deg,#0ea5e91f,#0f172a33),url(/brand/nexusforge_bandeau.png) center / cover no-repeat;border-bottom-color:#374151}body.theme-dark .top-nav__brand,body.theme-dark .top-nav__links a{color:#e5e7eb}body.theme-dark .top-nav__links a.is-active{background:#1f2937;border-color:#4b5563;color:#c7d2fe}body.theme-dark .top-nav__menu-toggle{background:#0f172ad1;border-color:#60a5fa47}body.theme-dark .top-nav__menu-toggle span{background:#93c5fd}body.theme-dark .top-nav__avatar-button{background:linear-gradient(180deg,#172554,#1d4ed8);border-color:#60a5fa}body.theme-dark .top-nav__avatar-badge{border-color:#111827}body.theme-dark .top-nav__avatar-fallback{color:#dbeafe}body.theme-dark .top-nav__user-dropdown{background:#111827;border-color:#374151;box-shadow:0 18px 36px #02061780}body.theme-dark .top-nav__user-dropdown-header{border-bottom-color:#1f2937}body.theme-dark .top-nav__user-dropdown-header small{color:#94a3b8}body.theme-dark .top-nav__user-dropdown a,body.theme-dark .top-nav__user-dropdown-action{color:#e5e7eb}body.theme-dark .top-nav__user-dropdown a:hover,body.theme-dark .top-nav__user-dropdown-action:hover{background:#1f2937}body.theme-dark .top-nav__mobile-logout{background:#0f172ad1;border-color:#60a5fa2e;color:#e5e7eb}body.theme-dark .sync-status-badge--synced{background:#22c55e29;border-color:#22c55e4d;color:#86efac}body.theme-dark .sync-status-badge--pending{background:#f59e0b29;border-color:#f59e0b47;color:#fcd34d}body.theme-dark .sync-status-badge--failed,body.theme-dark .sync-status-badge--conflict{background:#ef444429;border-color:#ef444447;color:#fca5a5}body.theme-dark .offline-cache-badge{background:#3b82f629;border-color:#60a5fa47;color:#93c5fd}body.theme-dark .admin-pending-banner{background:#3f2a0b;border-top-color:#5b3a0f}body.theme-dark .admin-pending-banner a{color:#facc15}body.theme-dark .invitation-pending-banner{background:#0f3c2d;border-top-color:#166534}body.theme-dark .invitation-pending-banner a{color:#86efac}body.theme-dark .page{background:transparent}body.theme-dark .card{background:#111827;border-color:#374151;color:#e5e7eb}body.theme-dark .auth-card__lead,body.theme-dark .auth-benefit span,body.theme-dark .home-hero__copy,body.theme-dark .home-stat-tile span,body.theme-dark .home-feed-item small,body.theme-dark .home-feed-item__inline-meta,body.theme-dark .home-field-help,body.theme-dark .discord-markdown{color:#cbd5e1}body.theme-dark .auth-benefit,body.theme-dark .home-stat-tile,body.theme-dark .home-news-form,body.theme-dark .home-announcement-form,body.theme-dark .home-feed-item,body.theme-dark .home-news-preview{background:#0f172ab8;border-color:#36517c}body.theme-dark .home-hero{background:radial-gradient(circle at 68% 44%,rgba(56,189,248,.18),transparent 16%),radial-gradient(circle at 76% 50%,rgba(56,189,248,.12),transparent 28%),radial-gradient(circle at top right,rgba(56,189,248,.12),transparent 38%),linear-gradient(135deg,#0f172ae6,#020617f5)}body.theme-dark .home-hero:after{opacity:.18}body.theme-dark .home-stat-tile{box-shadow:inset 0 1px #94a3b814}body.theme-dark .home-stat-tile--accent{background:linear-gradient(180deg,#581c0c8c,#451a0361);border-color:#f59e0b57}body.theme-dark .home-feed-item{box-shadow:0 18px 36px #02061747}body.theme-dark .home-stats-grid{background:linear-gradient(180deg,#0f172a42,#0f172a24);border-color:#38bdf81f}body.theme-dark .home-feed-item--announcement{border-color:#f59e0b3d;background:linear-gradient(180deg,#451a032e,#0f172ac7)}body.theme-dark .home-feed-item--announcement .home-feed-item__inline-meta span{background:#f59e0b24;color:#fcd34d}body.theme-dark .home-news-preview>strong,body.theme-dark .discord-markdown h1,body.theme-dark .discord-markdown h2,body.theme-dark .discord-markdown h3,body.theme-dark .discord-markdown code{color:#f8fafc}body.theme-dark .discord-markdown blockquote{border-left-color:#60a5fa73;color:#cbd5e1}body.theme-dark .discord-markdown code{background:#94a3b81f}body.theme-dark .discord-markdown a{color:#93c5fd}body.theme-dark .announcement-chip{border-color:#36517c;background:#0f172ad1;color:#dbe7ff}body.theme-dark .announcement-chip:hover{border-color:#7dd3fc;color:#fff}body.theme-dark .announcement-chip.is-active{border-color:#38bdf8;background:#0e749040;color:#bae6fd;box-shadow:0 0 0 2px #38bdf829}body.theme-dark .home-pill{background:#223049;color:#dbe7ff}body.theme-dark .home-author-link{color:#7dd3fc}body.theme-dark .home-pill--accent{background:#1d4ed8;color:#eff6ff}body.theme-dark .home-pill--success{background:#0f5132;color:#d1fae5}body.theme-dark .home-alert--error{background:#7f1d1d59;border-color:#ef4444;color:#fecaca}body.theme-dark .home-alert--success{background:#064e3b59;border-color:#34d399;color:#d1fae5}body.theme-dark .social-user-card,body.theme-dark .social-user-list-item,body.theme-dark .social-user-autocomplete__option,body.theme-dark .social-chat-message.is-other{background:#0f172ab8;border-color:#36517c}body.theme-dark .social-user-card p,body.theme-dark .social-user-list-item p,body.theme-dark .social-user-list-item span,body.theme-dark .social-user-autocomplete__option span,body.theme-dark .social-user-autocomplete__hint,body.theme-dark .social-chat-panel__header p,body.theme-dark .social-empty-state p{color:#cbd5e1}body.theme-dark .social-chat-message.is-own{background:#2563eb}body.theme-dark a{color:#93c5fd}body.theme-dark .form input,body.theme-dark .form select,body.theme-dark textarea,body.theme-dark select,body.theme-dark input{background:#0f172a;border-color:#475569;color:#e5e7eb}body.theme-dark .button{background:#2563eb}body.theme-dark .button.secondary{background:#1f2937;border:1px solid #475569}body.theme-dark .button.danger{background:#dc2626}body.theme-dark .rules-studio-empty{border-color:#36558f;background:radial-gradient(circle at top right,rgba(96,165,250,.18),transparent 35%),linear-gradient(180deg,#0f172a,#0b1b35)}body.theme-dark .rules-studio-empty__eyebrow{color:#93c5fd}@media(max-width:720px){.rules-studio-empty{flex-direction:column;align-items:stretch}.rules-studio-empty__actions{justify-content:flex-start}}body.theme-dark .system-builder__groups-panel,body.theme-dark .system-builder__rules-group,body.theme-dark .dashboard-editor,body.theme-dark .sync-metric,body.theme-dark .system-catalog-panel{background:#0f172a;border-color:#334155}body.theme-dark .system-builder__group-editor-item,body.theme-dark .dashboard-editor__item,body.theme-dark .chat-channel-item{background:#111827;border-color:#374151;color:#e5e7eb}body.theme-dark .dashboard-studio__panel{border-color:#334155;background:#111827}body.theme-dark .dashboard-studio__canvas{border-color:#475569;background:#0f172a}body.theme-dark .dashboard-studio__module-card{border-color:#334155;background:#111827}body.theme-dark .dashboard-studio__module-card.is-selected{border-color:#3b82f6}body.theme-dark .dashboard-studio__module-card.is-drop-target{background:#1e293b}@media(max-width:820px){.top-nav__inner{flex-wrap:wrap}.top-nav__right{margin-left:0;width:100%;justify-content:flex-end}}@media(max-width:900px){.top-nav__inner{gap:.7rem;padding:.7rem 1rem}.top-nav__brand-logo{width:140px;max-width:46vw}.top-nav__menu-toggle{display:inline-flex}.top-nav__links{display:none;width:100%;order:10;margin-top:.15rem;padding:.65rem;border:1px solid rgba(151,164,190,.28);border-radius:18px;background:#ffffffe6;box-shadow:0 18px 40px #0f172a1f;flex-direction:column;align-items:stretch;gap:.4rem;flex-wrap:nowrap}.top-nav__links.is-open{display:flex}.top-nav__links a,.top-nav__mobile-logout{width:100%;padding:.8rem .95rem;border-radius:14px;border:1px solid rgba(151,164,190,.24);background:#ffffffa6}.top-nav__links a.is-active{background:#eef4ff}.top-nav__mobile-user-links{display:grid;gap:.4rem;padding-top:.4rem;border-top:1px solid rgba(151,164,190,.22)}.top-nav__right{margin-left:0}.top-nav__user-dropdown{right:0;left:auto;min-width:min(280px,calc(100vw - 1.5rem))}.app-offline-badge{top:auto;bottom:.8rem;left:.8rem}.startup-sync-banner{top:auto;bottom:3.5rem;width:min(94vw,640px);padding:.9rem 1rem}body.theme-dark .top-nav__links{background:#070f1ef2;border-color:#60a5fa33}body.theme-dark .top-nav__links a,body.theme-dark .top-nav__mobile-logout{background:#0f172abd;border-color:#60a5fa29}body.theme-dark .top-nav__mobile-user-links{border-top-color:#60a5fa29}body.theme-dark .resource-space-list button,body.theme-dark .resource-folder-list button,body.theme-dark .resource-share-results button,body.theme-dark .resource-chip{border-color:#60a5fa3d;background:#0f172ab8;color:#e5eefc}body.theme-dark .resource-space-list button.is-active,body.theme-dark .resource-folder-list button.is-active{background:linear-gradient(135deg,#2563eb4d,#0e74902e);border-color:#60a5fa8c}body.theme-dark .resource-breadcrumb{border-color:#60a5fa33;background:#0f172ab8;color:#dbeafe}body.theme-dark .resource-breadcrumb:before{color:#93c5fd}body.theme-dark .resource-list-surface{border-color:#60a5fa2e;background:#0f172a8c}body.theme-dark .resource-list{background:linear-gradient(180deg,#080f1ed1,#0f172af2)}body.theme-dark .resource-list-head{color:#94a3b8;background:#0f172ae0;border-bottom-color:#60a5fa29}body.theme-dark .resource-list-item{background:#111827;color:#e5e7eb}body.theme-dark .resource-list-item:hover{border-color:#60a5fa52;background:#162033}body.theme-dark .resource-list-item.is-selected{border-color:#60a5facc;background:linear-gradient(180deg,#1e40af33,#0e74902e);box-shadow:0 0 0 1px #60a5fa42}body.theme-dark .resource-list-item__preview{background:linear-gradient(135deg,#1e293bf2,#1e40af40);color:#e2e8f0e6}body.theme-dark .resource-list-item__main strong{color:#f8fafc}body.theme-dark .resource-list-item__meta{color:#bfdbfe}body.theme-dark .resource-kind-pill{border-color:#60a5fa38;background:#0f172ac2;color:#dbeafe}body.theme-dark .resource-detail-section{border-color:#60a5fa29;background:#0f172a57}body.theme-dark .session-documents-widget__sidebar{background:#0f172a6b}body.theme-dark .session-documents-widget__content{background:#0f172a33}body.theme-dark .session-documents-widget__detail{background:#0f172a4d}}@media(max-width:560px){.top-nav__inner{padding:.6rem .85rem}.top-nav__brand-logo{width:110px;max-width:38vw}.top-nav__avatar-button,.top-nav__menu-toggle{width:40px;height:40px}.top-nav__avatar-badge{top:-.2rem;right:-.15rem}.admin-pending-banner,.invitation-pending-banner{padding-left:.85rem;padding-right:.85rem}}@media(max-width:900px){.home-grid,.home-form-row,.social-relations-grid,.social-messages-layout{grid-template-columns:1fr}}.profile-avatar-editor{display:grid;grid-template-columns:132px minmax(0,1fr);gap:1rem;align-items:start}.profile-avatar-editor__preview{width:132px;height:132px;border-radius:22px;border:1px dashed #98a2b3;background:linear-gradient(180deg,#eef4ff,#dbeafe);display:flex;align-items:center;justify-content:center;overflow:hidden}.profile-avatar-editor__preview img{width:100%;height:100%;object-fit:cover}.profile-avatar-editor__preview span{font-size:2rem;font-weight:700;color:#155eef}body.theme-dark .profile-avatar-editor__preview{background:linear-gradient(180deg,#172554,#1d4ed8);border-color:#60a5fa}body.theme-dark .profile-avatar-editor__preview span{color:#dbeafe}@media(max-width:720px){.profile-avatar-editor{grid-template-columns:1fr}}.widgets-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1rem}.dashboard-widget{grid-column:span 6}.dashboard-widget--small{grid-column:span 4}.dashboard-widget--medium{grid-column:span 6}.dashboard-widget--large{grid-column:span 12}.dashboard-widget.is-editing{cursor:grab}.dashboard-widget.is-drop-target .card{border-color:#155eef;box-shadow:0 0 0 2px #155eef38;background:#eef4ff}.dashboard-toolbar{margin-bottom:1rem;display:grid;gap:.8rem}.dashboard-toolbar__row{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center}.dashboard-toolbar__name{display:inline-flex;align-items:center;gap:.35rem}.dashboard-toolbar__name input{border:1px solid #d0d5dd;border-radius:8px;padding:.4rem .55rem;min-width:210px}.dashboard-editor{display:grid;gap:.6rem;border:1px solid #eaecf0;border-radius:10px;padding:.65rem;background:#f8f9fc}.dashboard-editor__list{display:grid;gap:.45rem}.dashboard-editor__item{display:flex;justify-content:space-between;align-items:center;gap:.65rem;border:1px solid #eaecf0;border-radius:8px;background:#fff;padding:.45rem .55rem}.dashboard-editor__item select{border:1px solid #d0d5dd;border-radius:8px;padding:.3rem .45rem}.dashboard-editor__toggle{display:inline-flex;gap:.45rem;align-items:center}.dashboard-studio{margin-bottom:1rem;display:grid;grid-template-columns:minmax(220px,270px) minmax(0,1fr) minmax(240px,290px);gap:.75rem}.dashboard-studio__panel{border:1px solid #d0d5dd;border-radius:12px;background:#f8fafc;padding:.65rem;display:grid;gap:.6rem;align-content:start}.dashboard-studio__palette{display:grid;gap:.45rem}.dashboard-studio__palette .button.is-active{border-color:#155eef;box-shadow:0 0 0 1px #155eef33}.dashboard-studio__canvas{border:1px dashed #d0d5dd;border-radius:10px;background:#fff;padding:.55rem;display:grid;gap:.5rem;min-height:220px}.dashboard-studio__module-card{border:2px solid #d0d5dd;border-radius:10px;background:#f9fbff;padding:.5rem .55rem;display:grid;gap:.2rem;cursor:grab}.dashboard-studio__module-card.is-selected{border-color:#155eef;box-shadow:0 0 0 2px #155eef24}.dashboard-studio__module-card.is-drop-target{border-color:#155eef;background:#eef4ff}.dashboard-studio__module-card.is-hidden{opacity:.64}.dashboard-studio__properties{display:grid;gap:.55rem}.dashboard-studio__properties label{display:grid;gap:.35rem}.sync-status-panel{margin-bottom:1rem;display:grid;gap:.5rem}.sync-status-panel__header{display:flex;justify-content:space-between;align-items:center;gap:.7rem}.sync-status-panel__metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.55rem}.sync-metric{border:1px solid #eaecf0;border-radius:8px;background:#f8f9fc;padding:.45rem .55rem;display:grid;gap:.25rem}.sync-metric span{font-size:.78rem;color:#475467}.sync-metric strong{font-size:1.1rem}.chat-widget{display:grid;gap:.75rem}.chat-widget__layout{display:grid;grid-template-columns:minmax(160px,220px) 1fr;gap:.75rem;min-height:260px}.chat-widget__layout--recipients{grid-template-columns:minmax(200px,260px) 1fr}.chat-widget__sidebar{border:1px solid #d0d5dd;border-radius:10px;padding:.35rem;display:grid;gap:.35rem;align-content:start}.chat-widget__sidebar-header{display:grid;gap:.45rem;padding:.2rem .2rem .35rem}.chat-widget__recipient-actions{display:flex;gap:.4rem;flex-wrap:wrap}.chat-widget__recipient-list{display:grid;gap:.35rem}.chat-recipient-item{display:grid;grid-template-columns:auto 1fr auto;gap:.5rem;align-items:center;border:1px solid #eaecf0;border-radius:8px;background:#fff;color:#101828;padding:.55rem .65rem}.chat-recipient-item.is-selected{border-color:#155eef;background:#eef4ff}.chat-recipient-item small{color:#475467}.chat-channel-item{border:1px solid #eaecf0;border-radius:8px;background:#fff;color:#101828;text-align:left;padding:.55rem .65rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.chat-channel-item.is-selected{border-color:#155eef;background:#eef4ff}.chat-channel-item__badge{min-width:1.2rem;padding:.1rem .35rem;border-radius:999px;background:#155eef;color:#fff;font-size:.72rem;text-align:center}.chat-widget__messages{border:1px solid #d0d5dd;border-radius:10px;padding:.6rem;display:grid;gap:.55rem;align-content:start;overflow-y:auto;max-height:320px}.chat-message{border:1px solid #eaecf0;border-radius:10px;padding:.5rem .65rem;max-width:85%}.chat-message.is-own{margin-left:auto;background:#ecfdf3;color:#14532d}.chat-message.is-other{margin-right:auto;background:#f9fafb;color:#0f172a}.chat-message.is-whisper{border-color:#f79009;background:#fffaeb;color:#7a2e0b}.chat-message__meta{display:flex;justify-content:space-between;gap:.5rem;margin-bottom:.3rem;font-size:.78rem;color:#475467}.chat-message__recipients{display:block;margin-bottom:.35rem;font-size:.76rem;color:inherit;opacity:.82}.chat-message.is-other .chat-message__meta{color:#334155}.chat-message.is-own .chat-message__meta{color:#166534}.chat-message.is-whisper .chat-message__meta{color:#9a3412}.chat-system-message{text-align:center;color:#667085;font-size:.82rem;border-top:1px solid #eaecf0;border-bottom:1px solid #eaecf0;padding:.4rem .5rem;margin:.1rem 0;background:#f8f9fc;border-radius:8px}.chat-widget__composer{display:grid;grid-template-columns:1fr auto;gap:.6rem;align-items:center}.chat-widget__composer input[type=text]{border:1px solid #d0d5dd;border-radius:8px;padding:.6rem .75rem}.chat-widget__whisper-toggle{grid-column:1 / -1;display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;color:#344054}.chat-widget__recipient-summary{grid-column:1 / -1;margin:0;font-size:.84rem;color:#64748b}.whisper-banner{border:1px solid #fdb022;border-radius:10px;background:#fffaeb;color:#7a2e0e;padding:.65rem .8rem;display:flex;justify-content:space-between;gap:.8rem;align-items:center}.whisper-banner__actions{display:inline-flex;gap:.4rem}.character-widget{display:grid;gap:.75rem}.character-widget__header{display:flex;align-items:center;gap:.75rem}.character-widget__portrait{width:64px;height:64px;border-radius:10px;object-fit:cover;border:1px solid #d0d5dd}.character-widget__summary,.character-widget__group,.character-widget__actions{border:1px solid #eaecf0;border-radius:10px;padding:.65rem;display:grid;gap:.55rem}.character-widget__summary-grid,.character-fields{display:grid;gap:.5rem}.character-fields.grid{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.character-fields.list{grid-template-columns:1fr}.character-resource{border:1px solid #d0d5dd;border-radius:8px;padding:.45rem .5rem;background:#f8f9fc}.character-resource__meta{display:flex;justify-content:space-between;font-size:.84rem;margin-bottom:.32rem}.character-resource__bar{background:#e4e7ec;border-radius:999px;overflow:hidden;height:8px}.character-resource__bar span{display:block;height:100%;background:#155eef}.character-number-badge{border:1px solid #d0d5dd;border-radius:999px;background:#f2f4f7;padding:.35rem .55rem;display:inline-flex;justify-content:space-between;gap:.45rem;align-items:center;font-size:.82rem}.character-chip{border:1px solid #d0d5dd;border-radius:999px;background:#fff;padding:.3rem .55rem;display:inline-flex;gap:.35rem;align-items:center;font-size:.8rem}.character-text{border:1px solid #d0d5dd;border-radius:8px;padding:.45rem .5rem;background:#fff}.character-text p{margin:.28rem 0 0;font-size:.84rem;color:#344054}.character-widget__actions-list{display:flex;flex-wrap:wrap;gap:.5rem}.system-builder{display:grid;gap:.7rem}.system-builder__fieldset{border:none;padding:0;margin:0;display:grid;gap:.7rem;grid-template-columns:280px minmax(0,1fr) 360px;align-items:start}.system-builder__fieldset[disabled]{opacity:.7}.system-builder__toolbar{display:flex;flex-wrap:wrap;gap:.5rem;grid-column:1 / 4;border:1px solid #eaecf0;border-radius:10px;padding:.6rem;background:#fff}.system-builder__status{grid-column:1 / 4}.system-builder__panel{border-radius:10px}.system-builder__panel--left{grid-column:1}.system-builder__panel--center{grid-column:2}.system-builder__panel--right{grid-column:3;position:sticky;top:86px}.system-builder__reference{border:1px solid #eaecf0;border-radius:10px;padding:.65rem;display:grid;gap:.6rem;background:#fff}.system-builder__reference-header{display:flex;justify-content:space-between;align-items:center;gap:.5rem;flex-wrap:wrap}.system-builder__reference-content{display:grid;gap:.55rem}.system-builder__preview{border:1px solid #d0d5dd;border-radius:10px;padding:.65rem;background:#f8f9fc}.system-builder__reference-content input,.system-builder__reference-content select{border:1px solid #d0d5dd;border-radius:8px;padding:.45rem;background:#fff}.system-builder__reference-fields{display:grid;gap:.45rem}.system-builder__reference-group{border:1px dashed #d0d5dd;border-radius:8px;padding:.5rem;display:grid;gap:.45rem;background:#fcfcfd}.system-builder__reference-group-header{display:grid;grid-template-columns:minmax(140px,2fr) minmax(100px,1fr) auto;gap:.35rem;align-items:center}.system-builder__reference-group-fields{display:grid;gap:.35rem}.system-builder__reference-field{border:1px solid #eaecf0;border-radius:8px;padding:.45rem;display:grid;grid-template-columns:minmax(150px,2fr) minmax(100px,1fr) minmax(100px,1fr) auto;gap:.35rem;align-items:center;cursor:grab}.system-builder__reference-field.is-drop-target{border-color:#155eef;box-shadow:0 0 0 2px #155eef2e;background:#eef4ff}.system-builder__list{display:grid;gap:.6rem}.system-block{border:1px solid #d0d5dd;border-radius:10px;background:#f8f9fc;padding:.6rem;display:grid;gap:.6rem}.system-block.is-drop-target{border-color:#155eef;box-shadow:0 0 0 2px #155eef38}.system-block__header{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.system-block__content{display:grid;gap:.5rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.system-block__content label{display:grid;gap:.3rem}.system-block__content input,.system-block__content select{border:1px solid #d0d5dd;border-radius:8px;padding:.45rem;background:#fff}.system-block__sources{display:grid;gap:.35rem}.system-block__source-row{display:grid;grid-template-columns:1fr auto;gap:.35rem}.system-catalog-panel{margin-bottom:1rem;display:grid;gap:.6rem}body.theme-dark .system-builder__toolbar{background:#111827;border-color:#334155}.system-catalog-panel__header{display:flex;justify-content:space-between;align-items:center}.system-catalog-panel__actions{border:1px solid #eaecf0;border-radius:10px;padding:.6rem;display:grid;gap:.5rem}.system-catalog-panel input,.system-catalog-panel select{border:1px solid #d0d5dd;border-radius:8px;padding:.45rem;background:#fff}.studio-layout{display:grid;grid-template-columns:minmax(220px,300px) 8px minmax(0,1fr) 8px minmax(260px,340px);gap:1rem;align-items:start}.studio-quick-nav{margin-top:.75rem;display:flex;gap:.55rem;flex-wrap:wrap}.studio-quick-nav a{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid #d0d5dd;background:#f8fafc;color:#0f172a;font-size:.82rem;font-weight:700;text-decoration:none;padding:.25rem .55rem}.studio-panel{border:1px solid #d0d5dd;border-radius:12px;background:#fff;padding:.6rem;display:grid;gap:.5rem}.studio-panel--sticky{position:sticky;top:1rem;align-self:start;max-height:calc(100vh - 2rem);overflow:auto}.studio-panel--detached{min-height:100vh;border-radius:0}.studio-panel-popout-shell{min-height:100vh;padding:.75rem;background:radial-gradient(circle at top right,rgba(14,165,233,.18),transparent 28%),linear-gradient(180deg,#081221,#0f172a)}.studio-panel__toolbar{display:flex;align-items:start;justify-content:space-between;gap:.4rem;flex-wrap:wrap}.studio-inline-nav{display:flex;gap:.5rem;flex-wrap:wrap}.studio-inline-nav a{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid #d0d5dd;background:#f8fafc;color:#0f172a;font-size:.8rem;font-weight:700;text-decoration:none;padding:.22rem .55rem}.studio-center-tabs{display:flex;gap:.5rem;flex-wrap:wrap}.studio-center-tabs .button.is-active{border-color:#155eef;box-shadow:0 0 0 2px #155eef24}.studio-tree{display:grid;gap:.5rem}.studio-tree details{border:1px solid #eaecf0;border-radius:10px;padding:.55rem;background:#f8fafc}.studio-tree-branch{box-shadow:inset 3px 0 #0ea5e933}.studio-tree summary{cursor:pointer;font-weight:700}.studio-palette-list{margin-top:.35rem;display:grid;gap:.3rem}.studio-palette-item{display:grid;gap:.05rem;width:100%;text-align:left;border:1px solid #d0d5dd;border-radius:10px;background:#fff;color:#0f172a;padding:.4rem .5rem;cursor:grab}.studio-palette-item strong{font-size:.81rem;line-height:1.15}.studio-palette-item small{opacity:.72;text-transform:uppercase;letter-spacing:.04em;font-size:.67rem;line-height:1.1}.studio-views{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.65rem;align-items:end}.studio-canvas{border:1px dashed #d0d5dd;border-radius:10px;background:#f8fafc;padding:.7rem;min-height:340px}.studio-root-dropzone{border:1px dashed #94a3b8;border-radius:10px;background:#fff9;color:#334155;font-size:.84rem;font-weight:700;padding:.55rem .7rem;margin-bottom:.75rem}.studio-components-grid{display:grid;grid-template-columns:1fr;gap:.5rem}.studio-component-card{border:2px solid #d0d5dd;border-radius:12px;background:#fff;padding:.6rem;display:grid;gap:.3rem;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;position:relative}.studio-component-card:hover{transform:translateY(-1px)}.studio-component-card__head{position:absolute;top:.5rem;left:.5rem;z-index:3;display:inline-flex;gap:.35rem;justify-content:flex-start;align-items:center;min-height:1.7rem}.studio-component-card__ghost-title{display:none}.studio-component-card__preview{margin-top:.2rem}.studio-component-card__body{display:grid;gap:.3rem;min-height:.4rem;border-radius:10px;padding-top:2rem}.studio-component-card__body.is-active{background:#0ea5e91f;box-shadow:inset 0 0 0 1px #0ea5e947}.studio-dropzone{height:8px;border-radius:999px;transition:background .15s ease,box-shadow .15s ease,opacity .15s ease;opacity:.15}.studio-dropzone.is-active{background:#0ea5e94d;box-shadow:0 0 0 1px #0ea5e959;opacity:1}.studio-component-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-size:.73rem;font-weight:700;line-height:1;padding:.25rem .5rem;border:1px solid currentColor}.studio-inline-toggle{border:1px solid #d0d5dd;border-radius:999px;background:#0f172ae0;color:#f8fafc;font-size:.92rem;font-weight:700;line-height:1;min-width:1.7rem;min-height:1.7rem;padding:0;cursor:pointer}.studio-drag-handle{border:1px solid #d0d5dd;border-radius:999px;background:#0f172ae0;color:#f8fafc;font-size:.85rem;font-weight:700;line-height:1;min-width:1.7rem;min-height:1.7rem;padding:0;cursor:grab}.studio-drag-handle:active{cursor:grabbing}.studio-component-children{border-left:2px dashed rgba(15,23,42,.25);padding-left:.35rem;margin-top:.2rem;width:100%;min-width:0}.studio-component-card.type-row>.studio-component-card__body>.studio-component-children{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:.75rem;border-left:none;padding-left:0;flex:1 1 auto;width:100%}.studio-component-card.type-column>.studio-component-card__body>.studio-component-children{display:flex;flex-wrap:wrap;align-items:flex-start;gap:.75rem;border-left:none;padding-left:0;flex:1 1 auto;width:100%}.studio-component-card.type-column>.studio-component-card__body>.studio-component-children>.studio-component-card{flex:1 1 16rem;min-width:min(16rem,100%)}.studio-component-card.is-selected{border-color:#155eef;box-shadow:0 0 0 2px #155eef29}.studio-component-card.is-drag-over{border-color:#155eef;background:#eef4ff;box-shadow:0 0 0 2px #155eef29}.studio-component-card.family-layout{background:#eef8ff;border-color:#0284c7}.studio-component-card.family-logic{background:#ecfdf3;border-color:#15803d}.studio-component-card.family-logic .studio-component-card__head strong{letter-spacing:.02em}.studio-component-card.family-action{background:#fff7ed;border-color:#c2410c}.studio-component-card.family-rpg{background:#f5f3ff;border-color:#6d28d9}.studio-component-card.family-field{background:#f8fafc;border-color:#475467}.studio-component-badge.family-layout{color:#0369a1}.studio-component-badge.family-logic{color:#166534}.studio-component-badge.family-action{color:#9a3412}.studio-component-badge.family-rpg{color:#6b21a8}.studio-component-badge.family-field{color:#334155}.studio-component-card.type-table,.studio-component-card.type-inventory{border-style:solid}.studio-component-card.type-row{border-style:dashed}.studio-component-card.type-column{border-style:dotted}.studio-component-card.type-logic_if{border-width:3px;background:linear-gradient(90deg,#15803d2e,#ecfdf3eb 26%),#ecfdf3;box-shadow:inset 0 0 0 1px #15803d14}.studio-component-card.type-logic_then,.studio-component-card.type-logic_else{border-width:2px}.studio-component-card.type-logic_then{background:linear-gradient(90deg,#22c55e2e,#f0fdf4f0 26%),#f0fdf4;border-style:solid}.studio-component-card.type-logic_else{background:linear-gradient(90deg,#f973162e,#fff7edf0 26%),#fff7ed;border-color:#ea580c;border-style:solid}.studio-component-card.type-logic_or{background:linear-gradient(90deg,#0ea5e929,#f0f9fff0 26%),#f0f9ff;border-color:#0284c7;border-style:dashed}.studio-component-card.type-logic_not{background:linear-gradient(90deg,#ef444424,#fef2f2f0 26%),#fef2f2;border-color:#dc2626;border-style:dotted}.studio-component-card.type-logic_if .studio-component-badge,.studio-component-card.type-logic_then .studio-component-badge,.studio-component-card.type-logic_else .studio-component-badge,.studio-component-card.type-logic_or .studio-component-badge,.studio-component-card.type-logic_not .studio-component-badge{background:#ffffffb8}.studio-properties{display:grid;gap:.4rem;font-size:.88rem}.studio-properties>label,.studio-properties>details,.studio-properties>fieldset,.studio-properties>div{border:1px solid #334155;border-radius:12px;padding:.5rem .55rem;background:#0f172a47}.studio-properties label{display:grid;gap:.22rem;font-size:.84rem}.studio-properties input,.studio-properties select,.studio-properties textarea,.studio-properties .button{font-size:.82rem}.studio-properties input,.studio-properties select,.studio-properties textarea{padding:.42rem .55rem;border-radius:8px}.studio-properties textarea{min-height:4.5rem}.studio-properties details>summary{cursor:pointer;font-weight:700;font-size:.84rem}.studio-properties__section--value{background:#93c5fd29;border-color:#60a5fa80}.studio-properties__section--plain{background:transparent}.studio-type-help{border:1px solid #d0d5dd;border-radius:8px;background:#f8fafc;padding:.4rem .45rem;display:grid;gap:.12rem;font-size:.78rem}.studio-alert{border:1px solid #fecaca;border-radius:10px;padding:.5rem .6rem;font-size:.82rem}.studio-alert--error{background:#fef2f2;color:#b42318}.studio-runtime{border:1px solid #d0d5dd;border-radius:10px;padding:.7rem;background:#fff}.studio-runtime-tree{display:grid;gap:.65rem;width:100%;min-width:0}.studio-runtime-leaf{display:grid;gap:.35rem;min-width:0}.studio-runtime-leaf>*{min-width:0;max-width:100%}.studio-runtime-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.6rem}.studio-runtime-node{border:1px solid #d0d5dd;border-radius:10px;background:#f8fafc;padding:.55rem;display:grid;gap:.5rem}.studio-runtime-node__head{display:flex;align-items:center;justify-content:space-between;gap:.4rem}.studio-runtime-node__badge{border:1px solid #94a3b8;border-radius:999px;font-size:.72rem;font-weight:700;padding:.1rem .45rem}.studio-runtime-children{display:grid;gap:.55rem;width:100%;min-width:0}.studio-runtime-children.family-logic{border-left:4px solid rgba(34,197,94,.35);padding-left:.7rem}.studio-runtime-children.type-row{display:flex;flex-wrap:wrap;align-items:flex-start;flex:1 1 auto;width:100%}.studio-runtime-children.type-row>*{flex:1 1 18rem;min-width:min(18rem,100%)}.studio-runtime-children.type-column{display:flex;flex-wrap:wrap;align-items:flex-start;flex:1 1 auto;width:100%}.studio-runtime-children.type-column>*{flex:0 1 auto;min-width:0;max-width:100%}@media(max-width:900px){.studio-runtime-children.type-row>*{flex-basis:100%;min-width:100%;max-width:100%}.studio-tabs-preview__list.orientation-vertical_gauche,.studio-tabs-preview__list.orientation-vertical_droite{flex-direction:row;align-items:center}.studio-tabs-preview__list.orientation-vertical_gauche .studio-tabs-preview__item,.studio-tabs-preview__list.orientation-vertical_gauche .studio-tabs-preview__empty,.studio-tabs-preview__list.orientation-vertical_droite .studio-tabs-preview__item,.studio-tabs-preview__list.orientation-vertical_droite .studio-tabs-preview__empty{min-height:auto;min-width:auto;writing-mode:initial;transform:none}}.studio-tabs-preview{display:grid;gap:.45rem}.studio-tabs-preview__list{display:flex;flex-wrap:wrap;gap:.45rem}.studio-tabs-preview__list.orientation-vertical_gauche,.studio-tabs-preview__list.orientation-vertical_droite{flex-direction:column;align-items:flex-start}.studio-tabs-preview__list.orientation-vertical_droite{align-items:flex-end}.studio-tabs-preview__item,.studio-tabs-preview__empty{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(2,132,199,.35);border-radius:999px;padding:.2rem .55rem;font-size:.82rem;background:transparent;color:inherit}.studio-tabs-preview__list.orientation-vertical_gauche .studio-tabs-preview__item,.studio-tabs-preview__list.orientation-vertical_gauche .studio-tabs-preview__empty,.studio-tabs-preview__list.orientation-vertical_droite .studio-tabs-preview__item,.studio-tabs-preview__list.orientation-vertical_droite .studio-tabs-preview__empty{min-height:6.5rem;min-width:2.5rem;padding:.55rem .3rem}.studio-tabs-preview__list.orientation-vertical_gauche .studio-tabs-preview__item,.studio-tabs-preview__list.orientation-vertical_gauche .studio-tabs-preview__empty{writing-mode:vertical-rl;transform:rotate(180deg)}.studio-tabs-preview__list.orientation-vertical_droite .studio-tabs-preview__item,.studio-tabs-preview__list.orientation-vertical_droite .studio-tabs-preview__empty{writing-mode:vertical-rl}.studio-tabs-preview__item.is-active{background:#0284c724;border-color:#0284c7b3}.studio-runtime-item{border:1px solid #eaecf0;border-radius:8px;padding:.55rem;background:#f8fafc;display:grid;gap:.35rem}.studio-runtime-logic-banner{display:flex;align-items:center;justify-content:space-between;gap:.75rem;border-radius:10px;padding:.5rem .65rem;font-size:.82rem;font-weight:700}.studio-runtime-logic-banner span{flex:1;font-weight:500;opacity:.92}.studio-runtime-logic-banner.type-logic_if{background:linear-gradient(135deg,#15803d2e,#f0fdf4eb);border:1px solid rgba(21,128,61,.35)}.studio-runtime-logic-banner.type-logic_then{background:linear-gradient(135deg,#22c55e2e,#f0fdf4eb);border:1px solid rgba(34,197,94,.35)}.studio-runtime-logic-banner.type-logic_else{background:linear-gradient(135deg,#f973162e,#fff7edf0);border:1px solid rgba(234,88,12,.35)}.studio-fields-table{border:1px solid #d0d5dd;border-radius:10px;padding:.7rem;background:#fff;display:grid;gap:.65rem}.studio-fields-table__scroll{overflow:auto}.studio-fields-table table{width:100%;border-collapse:collapse;min-width:780px}.studio-fields-table th,.studio-fields-table td{border:1px solid #eaecf0;padding:.45rem .5rem;text-align:left;vertical-align:top;font-size:.84rem}.studio-fields-table th{background:#f8fafc;font-weight:700}.studio-splitter{width:8px;border-radius:999px;background:#d0d5dd;cursor:col-resize;align-self:stretch}.studio-splitter:hover{background:#98a2b3}.studio-fullscreen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;padding:1rem;overflow:auto;background:#0b1220}.studio-fullscreen__toolbar{position:sticky;top:0;z-index:2100;display:flex;justify-content:flex-end;margin-bottom:.75rem}body.theme-dark .studio-panel{border-color:#334155;background:#111827}body.theme-dark .studio-properties>label,body.theme-dark .studio-properties>details,body.theme-dark .studio-properties>fieldset,body.theme-dark .studio-properties>div{border-color:#334155;background:#0f172ac7}body.theme-dark .studio-properties__section--value{background:#2563eb2e;border-color:#60a5fa8c}body.theme-dark .studio-alert--error{background:#7f1d1d59;border-color:#f8717173;color:#fecaca}body.theme-dark .studio-palette-item{border-color:#334155;background:#0f172a;color:#e2e8f0}body.theme-dark .studio-root-dropzone{border-color:#475569;background:#0f172abf;color:#cbd5e1}body.theme-dark .studio-quick-nav a{border-color:#334155;background:#0f172a;color:#e2e8f0}body.theme-dark .studio-tree details{border-color:#334155;background:#0f172a}body.theme-dark .studio-inline-nav a{border-color:#334155;background:#0f172a;color:#e2e8f0}body.theme-dark .studio-type-help{border-color:#334155;background:#0f172a}body.theme-dark .studio-inline-toggle{border-color:#334155;background:#020617eb;color:#e2e8f0}body.theme-dark .studio-canvas{border-color:#475569;background:#0f172a}body.theme-dark .studio-component-card{border-color:#334155;background:#111827}body.theme-dark .studio-component-card.is-drag-over{background:#1e293b}body.theme-dark .studio-component-children{border-left-color:#94a3b859}body.theme-dark .studio-component-card.family-layout{background:#0369a12b;border-color:#0ea5e9}body.theme-dark .studio-component-card.family-logic{background:#16a34a29;border-color:#22c55e}body.theme-dark .studio-component-card.family-action{background:#ea580c29;border-color:#f97316}body.theme-dark .studio-component-card.family-rpg{background:#7c3aed29;border-color:#a855f7}body.theme-dark .studio-component-card.family-field{background:#33415580;border-color:#64748b}body.theme-dark .studio-runtime{border-color:#334155;background:#111827}body.theme-dark .studio-component-card.type-logic_if{background:linear-gradient(90deg,#22c55e33,#111827f5 28%),#111827}body.theme-dark .studio-component-card__placeholder{display:none}body.theme-dark .studio-dropzone.is-active{background:#38bdf847;box-shadow:0 0 0 1px #38bdf873}body.theme-dark .studio-drag-handle{border-color:#334155;background:#020617eb;color:#e2e8f0}body.theme-dark .studio-component-card__body.is-active{background:#0ea5e924;box-shadow:inset 0 0 0 1px #38bdf852}body.theme-dark .studio-component-card.type-logic_then{background:linear-gradient(90deg,#4ade802e,#111827f5 28%),#111827}body.theme-dark .studio-component-card.type-logic_else{background:linear-gradient(90deg,#f9731638,#111827f5 28%),#111827;border-color:#f97316}body.theme-dark .studio-component-card.type-logic_or{background:linear-gradient(90deg,#0ea5e933,#111827f5 28%),#111827;border-color:#38bdf8}body.theme-dark .studio-component-card.type-logic_not{background:linear-gradient(90deg,#ef444433,#111827f5 28%),#111827;border-color:#f87171}body.theme-dark .studio-runtime-node{border-color:#334155;background:#0f172a}body.theme-dark .studio-runtime-node__badge{border-color:#475569}body.theme-dark .studio-runtime-item{border-color:#334155;background:#0f172a}body.theme-dark .studio-runtime-children.family-logic{border-left-color:#4ade8073}body.theme-dark .studio-runtime-logic-banner.type-logic_if{background:linear-gradient(135deg,#22c55e3d,#0f172af5);border-color:#4ade8059}body.theme-dark .studio-runtime-logic-banner.type-logic_then{background:linear-gradient(135deg,#4ade8038,#0f172af5);border-color:#4ade804d}body.theme-dark .studio-runtime-logic-banner.type-logic_else{background:linear-gradient(135deg,#f973163d,#0f172af5);border-color:#fb923c59}body.theme-dark .studio-fields-table{border-color:#334155;background:#111827}body.theme-dark .studio-fields-table th,body.theme-dark .studio-fields-table td{border-color:#334155}body.theme-dark .studio-fields-table th{background:#0f172a}body.theme-dark .studio-splitter{background:#334155}body.theme-dark .studio-splitter:hover{background:#475569}.screen-studio-layout{display:grid;grid-template-columns:minmax(320px,380px) minmax(0,1fr) minmax(300px,360px);gap:1rem;align-items:start}.screen-studio-layout--system{grid-template-columns:minmax(220px,268px) minmax(0,1fr) minmax(240px,300px);gap:.7rem}.screen-studio-layout--left-detached{grid-template-columns:minmax(0,1fr) minmax(280px,340px)}.screen-studio-layout--system.screen-studio-layout--left-detached{grid-template-columns:minmax(0,1fr) minmax(240px,300px)}.screen-studio-layout--right-detached{grid-template-columns:minmax(260px,320px) minmax(0,1fr)}.screen-studio-layout--system.screen-studio-layout--right-detached{grid-template-columns:minmax(220px,268px) minmax(0,1fr)}.screen-studio-layout--left-detached.screen-studio-layout--right-detached{grid-template-columns:minmax(0,1fr)}.screen-studio-panel{position:sticky;top:5.5rem;min-width:0;overflow:hidden}.screen-studio-layout--system>.screen-studio-panel,.screen-studio-layout--system>.card{padding:.65rem}.screen-studio-layout--system .screen-studio-panel{top:4.8rem}.screen-studio-layout--system h2{font-size:1.1rem}.screen-studio-layout--system p,.screen-studio-layout--system label,.screen-studio-layout--system small{line-height:1.25}.screen-widget-palette-item{display:grid;gap:.25rem;width:100%;text-align:left;border:1px solid rgba(59,130,246,.28);border-radius:16px;background:linear-gradient(145deg,#0f172afa,#1e293beb);color:inherit;padding:.85rem .95rem;transition:border-color .14s ease,transform .14s ease,box-shadow .14s ease}.screen-studio-context-stack{display:grid;gap:.75rem}.screen-studio-context-section{display:grid;gap:.75rem;padding:.85rem;border:1px solid rgba(148,163,184,.18);border-radius:16px;background:#ffffff05}.screen-studio-context-section__header{display:grid;gap:.18rem}.screen-studio-context-section__header h3{margin:0;font-size:1rem}.screen-studio-context-section__header small{color:#667085}.screen-studio-context-actions{display:grid;gap:.5rem}.screen-studio-set-format-card{display:grid;gap:.75rem;padding:.85rem;border:1px solid rgba(59,130,246,.16);border-radius:16px;background:linear-gradient(180deg,#eff6ffcc,#f8fafceb)}.screen-studio-set-format-card__header{display:flex;justify-content:space-between;gap:.75rem;align-items:start;flex-wrap:wrap}.screen-studio-set-format-card__heading{display:grid;gap:.18rem}.screen-studio-set-format-card__header small{color:#475467}.screen-studio-set-format-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.screen-studio-widget-section{display:grid;gap:.75rem;margin-top:.35rem;padding-top:.95rem;border-top:1px solid rgba(15,23,42,.1)}.screen-studio-widget-section__header{display:flex;align-items:start;justify-content:space-between;gap:.75rem}.screen-studio-widget-palette{display:grid;gap:.55rem}body.theme-dark .screen-studio-set-format-card{border-color:#60a5fa2e;background:linear-gradient(180deg,#0f172ad1,#0f172aad);box-shadow:inset 0 1px #94a3b80f}body.theme-dark .screen-studio-context-section{border-color:#60a5fa24;background:#0f172a52}body.theme-dark .screen-studio-set-format-card__header small{color:#bfdbfed1}body.theme-dark .screen-studio-context-section__header small{color:#bfdbfeb8}body.theme-dark .screen-studio-widget-section{border-top-color:#94a3b82e}.screen-widget-palette-item:hover:not(:disabled){border-color:#38bdf899;transform:translateY(-1px);box-shadow:0 14px 26px #02061747}.screen-widget-palette-item:disabled{opacity:.55;cursor:not-allowed}.screen-widget-palette-item small{color:#94a3b8}.screen-widget-palette-item--system-compact{gap:0;min-height:0;padding:.45rem .6rem}.screen-widget-palette-item--system-compact strong{font-size:.84rem;line-height:1.15}.screen-studio-canvas-viewport{position:relative;min-height:32rem;max-height:78vh;overflow:auto;scrollbar-gutter:stable;border-radius:22px;border:1px solid rgba(59,130,246,.16);background:#02061759}.screen-studio-canvas-stage{position:relative;min-width:100%;min-height:100%}.screen-studio-canvas{position:relative;min-height:calc(var(--screen-grid-rows, 12) * var(--screen-row-height, 36px));border:1px solid rgba(59,130,246,.2);border-radius:22px;overflow:hidden;background:linear-gradient(rgba(56,189,248,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(56,189,248,.06) 1px,transparent 1px),linear-gradient(180deg,#020617eb,#0f172afa);background-size:100% var(--screen-row-height, 36px),calc(100% / var(--screen-grid-columns, 24)) 100%,100% 100%}.screen-studio-visible-frame{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:2}.screen-studio-visible-frame__box{position:absolute;border:2px solid rgba(56,189,248,.75);border-radius:18px;background:linear-gradient(180deg,#0ea5e914,#0ea5e905);box-shadow:inset 0 0 0 1px #7dd3fc33,0 12px 28px #0206172e}.screen-studio-visible-frame__label{position:absolute;top:.6rem;left:.6rem;display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .55rem;border-radius:999px;border:1px solid rgba(125,211,252,.35);background:#080f1cd6;color:#dbeafe;font-size:.76rem;font-weight:700;letter-spacing:.02em}.screen-studio-preview-overlay-surface{position:absolute;z-index:4;overflow:hidden;border-radius:18px;pointer-events:none}.screen-studio-preview-overlay-surface>*{pointer-events:auto}.screen-studio-zoom-indicator{display:inline-flex;align-items:center;justify-content:center;min-width:4.5rem;min-height:2.35rem;padding:.25rem .75rem;border:1px solid rgba(59,130,246,.2);border-radius:999px;background:#0f172ab3;color:#dbeafe;font-weight:700}.screen-studio-canvas__empty{position:absolute;top:1rem;right:1rem;bottom:1rem;left:1rem;display:grid;place-items:center;text-align:center;border:1px dashed rgba(56,189,248,.28);border-radius:18px;color:#94a3b8;background:#0f172a80}.screen-studio-widget{position:absolute;z-index:1;display:grid;grid-template-rows:auto 1fr;min-width:0;min-height:0;border:1px solid rgba(56,189,248,.22);border-radius:18px;overflow:hidden;background:linear-gradient(180deg,#0ea5e914,#0f172af0 28%),#0f172a;box-shadow:0 18px 34px #02061738;-webkit-user-select:none;user-select:none}.screen-studio-widget.is-selected{border-color:#38bdf8e6;box-shadow:0 20px 36px #02061747,0 0 0 1px #38bdf88c}.screen-studio-widget__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.7rem .8rem .6rem;background:#0f172ae0;border-bottom:1px solid rgba(56,189,248,.16);cursor:move}.screen-studio-widget__toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.4rem .55rem 0;cursor:move}.screen-studio-widget__toolbar-type{display:inline-flex;width:fit-content;max-width:100%;border:1px solid rgba(59,130,246,.24);border-radius:999px;padding:.12rem .45rem;font-size:.68rem;text-transform:uppercase;letter-spacing:.04em;color:#93c5fd;background:#09111f80}.screen-studio-widget__header strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.screen-studio-widget__remove{display:inline-grid;place-items:center;width:1.9rem;height:1.9rem;border:1px solid rgba(239,68,68,.36);border-radius:999px;background:#7f1d1d73;color:#fecaca;font-size:1rem;cursor:pointer}.screen-studio-widget__body{display:grid;align-content:start;gap:.6rem;padding:.85rem;min-width:0;min-height:0}.screen-studio-widget__type{display:inline-flex;width:fit-content;max-width:100%;border:1px solid rgba(59,130,246,.28);border-radius:999px;padding:.15rem .5rem;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:#93c5fd}.screen-studio-widget__preview{display:grid;align-content:start;gap:.35rem;min-height:100%;border:1px dashed rgba(56,189,248,.18);border-radius:14px;color:#e2e8f0;background:#1e293b8f;font-size:clamp(.88rem,1vw,1rem);text-align:left;padding:.75rem}.screen-studio-widget__preview strong{font-size:clamp(.95rem,1.2vw,1.1rem)}.screen-studio-widget__preview small{color:#cbd5e1}.screen-studio-layout--system .screen-studio-widget__toolbar{position:absolute;top:.2rem;left:.2rem;right:.2rem;padding:0;justify-content:flex-end;pointer-events:auto}.screen-studio-layout--system .screen-studio-widget__toolbar-type{font-size:.6rem;padding:.08rem .35rem}.screen-studio-layout--system .screen-studio-widget__remove{width:1.4rem;height:1.4rem;font-size:.8rem}.screen-studio-layout--system .screen-studio-widget__body{padding:.35rem .45rem;gap:.2rem;overflow:hidden}.screen-studio-layout--system .screen-studio-widget__preview{padding:.25rem .4rem;gap:.15rem;font-size:.78rem;overflow:hidden;min-width:0}.screen-studio-layout--system .screen-studio-widget__preview strong{font-size:.9rem;display:block;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.screen-studio-layout--system .screen-studio-widget__preview small,.screen-studio-layout--system .screen-studio-widget__toolbar-type{display:none}.screen-studio-layout--system .screen-studio-widget{grid-template-rows:1fr}.screen-studio-widget__resize{position:absolute;right:.3rem;bottom:.3rem;width:1.1rem;height:1.1rem;border:0;border-radius:.3rem;background:linear-gradient(135deg,transparent 0 34%,rgba(56,189,248,.95) 34% 44%,transparent 44% 56%,rgba(56,189,248,.95) 56% 66%,transparent 66% 100%);cursor:nwse-resize}.screen-studio-widget__resize:disabled,.screen-studio-widget__remove:disabled{cursor:not-allowed;opacity:.5}.screen-studio-fields-block{display:grid;gap:.45rem;border:1px solid rgba(59,130,246,.2);border-radius:16px;padding:.6rem;background:#0f172a80}.screen-studio-fields-block h3{margin:0;font-size:.95rem}.screen-studio-fields-block__toggle{display:flex;justify-content:space-between;align-items:center;gap:.75rem;width:100%;background:transparent;border:0;color:inherit;font:inherit;text-align:left;padding:0;cursor:pointer}.screen-studio-fields-block__toggle span:first-child{font-size:.95rem;font-weight:600}.screen-studio-fields-block__toggle span:last-child{font-size:1.1rem;opacity:.65}.screen-studio-fields-block__content{display:grid;gap:.75rem}.screen-studio-fields-block__content--system-palette{grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem}.screen-runtime-tabs{display:flex;gap:.5rem;flex-wrap:wrap}.screen-runtime-shell{min-height:100vh;padding:.75rem;background:radial-gradient(circle at top right,rgba(14,165,233,.14),transparent 24%),linear-gradient(180deg,#050b16,#0f172a 22%,#0b1220)}.screen-runtime{position:relative}.screen-runtime.is-fullscreen{min-height:100vh;padding:.35rem;background:radial-gradient(circle at top right,rgba(14,165,233,.12),transparent 22%),linear-gradient(180deg,#050b16,#0f172a 22%,#0b1220)}.screen-runtime-toolbar{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:.85rem;padding:.65rem .85rem;border:1px solid rgba(56,189,248,.18);border-radius:18px;background:#09101ec7;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.screen-runtime-overlay-action{position:fixed;top:.75rem;right:.75rem;z-index:50;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(56,189,248,.4);border-radius:999px;background:#050b16bd;color:#e2e8f0;padding:.45rem .8rem;font-size:.85rem;font-weight:700;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 10px 24px #02061747;cursor:pointer}.screen-runtime-overlay-action:hover{border-color:#60a5fab8;background:#080f1ceb}.screen-runtime-toolbar__title{display:grid;gap:.25rem}.screen-runtime-toolbar__title h1{margin:0;font-size:1.25rem}.screen-runtime-toolbar__title p{margin:0;color:#cbd5e1;font-size:.92rem}.screen-runtime-toolbar__actions{display:flex;align-items:end;justify-content:flex-end;gap:.55rem;flex-wrap:wrap}.screen-runtime-toolbar__select{display:grid;gap:.25rem;min-width:220px}.screen-runtime-toolbar__select span{font-size:.76rem;text-transform:uppercase;color:#93c5fd}.screen-runtime-screen{display:grid;gap:.55rem}.screen-runtime-screen__body{display:grid;gap:.75rem;min-width:0}.screen-runtime-screen__body--with-side-tabs{grid-template-columns:3.6rem minmax(0,1fr);align-items:start}.screen-runtime-screen__header{display:flex;justify-content:space-between;gap:.75rem;align-items:center;flex-wrap:wrap}.screen-runtime-screen__header h2{margin:0;font-size:1rem}.screen-runtime-screen__header p{margin:.15rem 0 0;color:#cbd5e1;font-size:.86rem}.screen-runtime-set-badge-group{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.35rem}.screen-runtime-set-badge{display:inline-flex;align-items:center;padding:.3rem .7rem;border-radius:999px;border:1px solid rgba(79,133,255,.42);background:#1c39733d;color:#dbe8ff;font-size:.85rem;font-weight:700}.screen-runtime-set-badge--secondary{border-color:#f4b54e6b;background:#5c3a106b;color:#ffe9c2fa}.screen-runtime-header-actions{display:flex;gap:.75rem;align-items:end;flex-wrap:wrap;justify-content:flex-end}.screen-runtime-tab{border:1px solid rgba(59,130,246,.25);border-radius:999px;background:#0f172ab8;color:inherit;padding:.45rem .85rem;cursor:pointer}.screen-runtime-tab.is-active{border-color:#38bdf8c7;background:#082f49eb}.screen-runtime-side-tabs{display:grid;width:3.6rem;gap:.35rem;align-content:start;justify-items:center;padding:.55rem .25rem;border:1px solid rgba(59,130,246,.18);border-radius:18px;background:#09101ec7;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.screen-runtime-tab--side{min-height:5.75rem;min-width:2.4rem;width:2.7rem;justify-content:center;text-align:center;border-radius:14px;padding:.45rem .2rem;writing-mode:vertical-rl;transform:rotate(180deg)}.screen-runtime-surface{position:relative;width:min(100%,calc((100vh - 14rem) * var(--screen-surface-aspect-ratio, 16 / 9)));max-width:100%;aspect-ratio:var(--screen-surface-aspect-ratio, 16 / 9);min-width:0;border:1px solid rgba(59,130,246,.18);border-radius:22px;overflow:hidden;background:linear-gradient(rgba(56,189,248,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(56,189,248,.04) 1px,transparent 1px),linear-gradient(180deg,#020617f2,#0f172afa);background-size:100% calc(100% / var(--screen-visible-rows, 12)),calc(100% / var(--screen-grid-columns, 24)) 100%,100% 100%;box-shadow:0 16px 30px #02061738}.screen-runtime-surface.is-scrollable{overflow:auto}.screen-runtime-canvas{position:relative;min-height:max(100%,calc((100% / var(--screen-visible-rows, 12)) * var(--screen-grid-rows, 12)));min-width:0}.screen-runtime-canvas__empty{position:absolute;top:1rem;right:1rem;bottom:1rem;left:1rem;display:grid;place-items:center;border:1px dashed rgba(56,189,248,.25);border-radius:18px;color:#94a3b8;background:#0f172a66}@media(max-width:960px){.screen-runtime-screen__body--with-side-tabs{grid-template-columns:1fr}.screen-runtime-side-tabs{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.screen-runtime-surface{width:100%}}.screen-runtime-widget{position:absolute;display:grid;grid-template-rows:auto 1fr;border:1px solid rgba(56,189,248,.18);border-radius:18px;overflow:hidden;background:linear-gradient(180deg,#1e40af14,#0f172af2 28%),#0f172a;box-shadow:0 16px 30px #02061729}.screen-runtime-widget__header{display:flex;justify-content:space-between;gap:.75rem;align-items:center;padding:.7rem .85rem .55rem;border-bottom:1px solid rgba(56,189,248,.14);background:#0f172ad1}.screen-runtime-widget__header span{color:#93c5fd;font-size:.76rem;text-transform:uppercase}.screen-runtime-widget__body{display:grid;grid-template-rows:minmax(0,1fr);align-content:start;gap:.35rem;padding:.85rem;min-height:0;overflow:auto}.screen-runtime-widget__body>*{min-width:0;min-height:100%;align-self:stretch}.screen-runtime-widget__body small{color:#cbd5e1}.screen-runtime-widget__body>.chat-widget{min-height:100%}.screen-runtime-widget__body>.session-notes-widget{height:100%}.screen-widget-list{display:grid;gap:.5rem;align-content:start;min-height:0}.screen-widget-list--compact{gap:.35rem}.screen-widget-list__header{display:flex;justify-content:space-between;align-items:center;gap:.6rem;flex-wrap:wrap}.screen-widget-list__header small{color:#93c5fd}.screen-widget-list__items{display:grid;gap:.35rem}.screen-widget-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.6rem;align-items:center;padding:.5rem .65rem;border:1px solid rgba(78,98,132,.26);border-radius:14px;background:#0a1324ad}.screen-widget-row.is-active{border-color:#22c55e59;background:#0a1e186b}.screen-widget-row--character{grid-template-columns:minmax(0,1fr) auto}.screen-widget-row--presence{grid-template-columns:auto auto minmax(0,1fr) auto;gap:.5rem;padding:.4rem .55rem}.screen-widget-row--character.is-compact{padding:.45rem .55rem}.screen-widget-avatar{width:1.7rem;height:1.7rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#1c397338;border:1px solid rgba(79,133,255,.24);color:#dbe8ff;font-size:.68rem;font-weight:800;letter-spacing:.03em}.screen-widget-row__dot{width:.65rem;height:.65rem;border-radius:999px;background:#94a3b866;box-shadow:0 0 0 1px #94a3b829}.screen-widget-row__dot.is-active{background:#22c55e;box-shadow:0 0 0 1px #22c55e33,0 0 10px #22c55e59}.screen-widget-row__main{min-width:0;display:grid;gap:.15rem}.screen-widget-row__main strong,.screen-widget-row__main small,.screen-widget-row__context{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.screen-widget-row__main small{color:#cbd5e1}.screen-widget-row__label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.screen-widget-row__context{color:#93c5fd}.screen-widget-row__titleline{display:flex;align-items:center;gap:.45rem;min-width:0}.screen-widget-row__titleline strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.screen-widget-status,.screen-widget-type-badge{display:inline-flex;align-items:center;justify-content:center;min-height:1.45rem;padding:.15rem .55rem;border-radius:999px;border:1px solid rgba(79,133,255,.32);background:#1c397329;color:#dbe8ff;font-size:.72rem;font-weight:700;white-space:nowrap}.screen-widget-status.is-active{border-color:#22c55e52;background:#16a34a29;color:#dcfce7}.screen-widget-row__actions{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;justify-content:flex-end}.screen-widget-action-button{min-height:2rem;padding:.35rem .65rem;font-size:.78rem}.screen-widget-open-in>summary.button{min-height:2rem;padding:.35rem .65rem;font-size:.78rem}@media(max-width:720px){.screen-widget-row,.screen-widget-row--character{grid-template-columns:minmax(0,1fr)}.screen-widget-row--presence{grid-template-columns:auto minmax(0,1fr) auto}.screen-widget-row__actions,.screen-widget-status{justify-self:start}}.session-notes-widget{display:grid;grid-template-columns:220px minmax(0,1fr);gap:.75rem;height:100%;min-height:0;align-self:stretch;overflow:hidden}.session-notes-widget__sidebar{margin:0;display:grid;grid-template-rows:auto auto 1fr;gap:.6rem;min-height:0;overflow:hidden}.session-notes-widget__note-list{display:grid;gap:.4rem;align-content:start;min-height:0;overflow:auto}.session-notes-widget__editor{margin:0;display:flex;flex-direction:column;gap:.75rem;min-height:0}.session-notes-widget__status-stack{display:grid;gap:.35rem}.session-notes-widget__content-field{display:flex;flex:1 1 auto;flex-direction:column;gap:.35rem;min-height:0}.session-notes-widget__markdown-tools{display:flex;gap:.45rem;flex-wrap:wrap}.session-notes-widget__editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.85fr);gap:.75rem;flex:1 1 auto;min-height:0}.session-notes-widget__textarea{flex:1 1 auto;min-height:0;height:100%;resize:none}.session-notes-widget__preview{min-height:0;overflow:auto;border:1px solid rgba(56,189,248,.18);border-radius:12px;background:#0f172a6b;padding:.8rem;display:grid;gap:.6rem;align-content:start}.screen-studio-runtime-preview__resource{min-height:100%;display:grid;align-content:start}.screen-studio-runtime-preview__resource--fallback{gap:.35rem}@media(max-width:900px){.screen-runtime-shell{padding:.45rem}.screen-runtime-toolbar{padding:.55rem .65rem}.screen-runtime-widget__body{padding:.7rem}.session-notes-widget,.session-notes-widget__editor-layout{grid-template-columns:1fr}}body.theme-dark .screen-widget-palette-item{border-color:#38bdf83d}body.theme-dark .screen-studio-canvas{border-color:#38bdf833}body.theme-dark .screen-studio-widget{border-color:#38bdf838}@media(max-width:900px){.chat-widget__layout{grid-template-columns:1fr}.dashboard-widget,.dashboard-widget--small,.dashboard-widget--medium,.dashboard-widget--large{grid-column:span 12}.system-builder__fieldset{grid-template-columns:1fr}.system-builder__toolbar,.system-builder__status,.system-builder__panel--left,.system-builder__panel--center,.system-builder__panel--right{grid-column:1}.system-builder__panel--right{position:static}.system-builder__reference-group-header,.system-builder__reference-field,.studio-layout{grid-template-columns:1fr}.studio-splitter{display:none}.dashboard-studio,.screen-studio-layout{grid-template-columns:1fr}.screen-studio-panel{position:static}.screen-studio-set-format-grid{grid-template-columns:1fr}}.resource-library-shell{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1.8fr) minmax(280px,.95fr);gap:1rem;align-items:start}.resource-page-header{display:flex;align-items:start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.resource-page-header__actions{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:flex-end}.resource-library-sidebar,.resource-library-main{min-width:0}.resource-library-sidebar{margin:0}.resource-library-main{margin:0;padding:.85rem;min-height:0;display:grid;gap:.75rem;align-content:start;background:#fff}.resource-space-list,.resource-folder-list{display:grid;gap:.4rem}.resource-space-list button,.resource-folder-list button,.resource-share-results button,.resource-chip{border:1px solid #d8e1ee;background:#fff;color:#334155;border-radius:12px;padding:.65rem .8rem;text-align:left}.resource-space-list button.is-active,.resource-folder-list button.is-active{background:linear-gradient(135deg,#eff6ff,#e0f2fe);border-color:#93c5fd}.resource-dropzone{margin-top:1rem;border:1px dashed rgba(96,165,250,.45);border-radius:20px;padding:1rem;display:grid;gap:.65rem;justify-items:center;background:#0f172a52;transition:background .14s ease,border-color .14s ease,transform .14s ease}.resource-dropzone.is-dragging{background:#1e40af2e;border-color:#60a5facc;transform:translateY(-1px)}.resource-upload-grid{margin-top:1rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.8rem}.resource-upload-pending{width:min(100%,780px);display:grid;gap:.55rem;padding:.85rem 1rem;border:1px solid rgba(96,165,250,.36);border-radius:16px;background:linear-gradient(180deg,#1e40af2e,#0f172ac2);color:#eff6ff}.resource-upload-pending strong{color:#bfdbfe}.resource-upload-pending__list{margin:0;padding-left:1rem;display:grid;gap:.35rem}.resource-upload-pending__list li{display:flex;justify-content:space-between;gap:.75rem;align-items:baseline;color:#e5eefc}.resource-upload-pending__list small{color:#93c5fd}.resource-upload-grid label,.checkbox-row{display:grid;gap:.35rem}.checkbox-row{align-items:center;grid-auto-flow:column;justify-content:start}.resource-content-header{display:flex;align-items:start;justify-content:space-between;gap:1rem;margin-bottom:.85rem}.resource-toolbar{display:flex;flex-wrap:wrap;gap:.65rem;justify-content:flex-end}.resource-toolbar label{display:grid;gap:.3rem}.resource-toolbar__checkbox{display:inline-flex!important;align-items:center;gap:.45rem;padding-top:1.35rem}.resource-toolbar input,.resource-toolbar select{min-width:180px}.resource-breadcrumbs{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.85rem}.resource-breadcrumb{display:inline-flex;align-items:center;gap:.45rem;min-height:2rem;padding:.35rem .7rem;border:1px solid #d8e1ee;border-radius:10px;background:#f8fbff;color:#334155;font-size:.82rem;font-weight:600}.resource-breadcrumb:before{content:"/";color:#94a3b8}.resource-breadcrumb:first-child:before{content:"";display:none}.resource-bulk-actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-bottom:.85rem;padding:.8rem .9rem;border:1px solid rgba(96,165,250,.18);border-radius:16px;background:#0f172a4d}.resource-bulk-actions__controls{display:flex;flex-wrap:wrap;gap:.55rem}.resource-list-surface{border:1px solid #d8e1ee;border-radius:14px;background:#fff;overflow:hidden;min-height:0}.resource-list{display:grid;gap:.35rem;padding:.5rem;background:linear-gradient(180deg,#f8fafc,#f1f5f9)}.resource-list-head{display:grid;grid-template-columns:42px minmax(0,64px) minmax(0,1.7fr) minmax(180px,.95fr) minmax(120px,.7fr) auto;gap:.65rem;padding:.2rem .85rem .5rem;color:#64748b;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:#f8fafc;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:2}.resource-list-head__preview{padding-left:.25rem}.resource-list--thumbnail_m .resource-list-item{grid-template-columns:1fr}.resource-list--thumbnail_m .resource-list-item__preview{min-height:120px;height:120px}.resource-list--thumbnail_l .resource-list-item{grid-template-columns:1fr}.resource-list--thumbnail_l .resource-list-item__preview{min-height:160px;height:160px}.resource-list--thumbnail_s,.resource-list--thumbnail_m,.resource-list--thumbnail_l,.resource-list--widget-gallery{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));align-content:start}.resource-list--thumbnail_l{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.resource-list--thumbnail_s .resource-list-item,.resource-list--thumbnail_m .resource-list-item,.resource-list--thumbnail_l .resource-list-item,.resource-list--widget-gallery .resource-list-item{position:relative;display:grid;grid-template-columns:1fr;gap:.45rem;align-content:start;padding:.7rem;min-height:0}.resource-list--thumbnail_s .resource-list-item__selector,.resource-list--thumbnail_m .resource-list-item__selector,.resource-list--thumbnail_l .resource-list-item__selector,.resource-list--widget-gallery .resource-list-item__selector{position:absolute;top:.55rem;left:.55rem;z-index:1}.resource-list--thumbnail_s .resource-list-item__main,.resource-list--thumbnail_m .resource-list-item__main,.resource-list--thumbnail_l .resource-list-item__main,.resource-list--widget-gallery .resource-list-item__main{gap:.18rem}.resource-list--thumbnail_s .resource-list-item__main strong,.resource-list--thumbnail_m .resource-list-item__main strong,.resource-list--thumbnail_l .resource-list-item__main strong,.resource-list--widget-gallery .resource-list-item__main strong{font-size:.84rem;line-height:1.25}.resource-list--thumbnail_s .resource-list-item__secondary,.resource-list--thumbnail_m .resource-list-item__secondary,.resource-list--thumbnail_l .resource-list-item__secondary,.resource-list--widget-gallery .resource-list-item__secondary{gap:.12rem}.resource-list--thumbnail_s .resource-list-item__secondary small,.resource-list--thumbnail_m .resource-list-item__secondary small,.resource-list--thumbnail_l .resource-list-item__secondary small,.resource-list--widget-gallery .resource-list-item__secondary small{font-size:.74rem}.resource-list--thumbnail_s .resource-list-item__meta,.resource-list--thumbnail_m .resource-list-item__meta,.resource-list--thumbnail_l .resource-list-item__meta,.resource-list--widget-gallery .resource-list-item__meta{display:grid;gap:.08rem}.resource-list--thumbnail_s .resource-list-item__meta small,.resource-list--thumbnail_m .resource-list-item__meta small,.resource-list--thumbnail_l .resource-list-item__meta small,.resource-list--widget-gallery .resource-list-item__meta small{font-size:.72rem;white-space:normal}.resource-list--thumbnail_s .resource-list-item__badges,.resource-list--thumbnail_m .resource-list-item__badges,.resource-list--thumbnail_l .resource-list-item__badges,.resource-list--widget-gallery .resource-list-item__badges{display:none}.resource-list--thumbnail_s .resource-list-item__actions,.resource-list--thumbnail_m .resource-list-item__actions,.resource-list--thumbnail_l .resource-list-item__actions,.resource-list--widget-gallery .resource-list-item__actions{justify-items:stretch}.resource-list--thumbnail_s .resource-list-item__actions .button,.resource-list--thumbnail_m .resource-list-item__actions .button,.resource-list--thumbnail_l .resource-list-item__actions .button,.resource-list--widget-gallery .resource-list-item__actions .button{width:100%}.resource-list--names .resource-list-item{grid-template-columns:42px minmax(0,1.7fr) minmax(180px,.95fr) minmax(120px,.7fr) auto;padding:.52rem .75rem;gap:.65rem}.resource-list--names .resource-list-item__preview{display:none}.resource-list--names{gap:.3rem}.resource-list--names .resource-list-item__main{gap:.12rem}.resource-list--names .resource-list-item__badges{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;justify-content:flex-start}.resource-list--names .resource-list-item__actions{display:inline-flex;align-items:center;justify-content:flex-end}.resource-list-item{border:1px solid transparent;border-radius:10px;padding:.58rem .8rem;display:grid;grid-template-columns:42px 64px minmax(0,1.6fr) minmax(180px,.95fr) minmax(120px,.7fr) auto;gap:.65rem;align-items:center;background:#fff;transition:border-color .14s ease,background .14s ease,transform .14s ease;color:#0f172a}.resource-list-item:hover{border-color:#bfdbfe;background:#f8fbff}.resource-list-item.is-selected{border-color:#93c5fd;background:linear-gradient(180deg,#eff6ff,#e0f2fe);box-shadow:inset 0 0 0 1px #3b82f61a}.resource-list-item__preview{min-height:48px;height:48px;border-radius:12px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#e2e8f0,#eff6ff);color:#334155;font-weight:700;font-size:.85rem}.resource-list-item__selector{display:inline-flex;align-items:center;justify-content:center;min-width:0}.resource-list-item__main,.resource-list-item__meta,.resource-list-item__badges,.resource-list-item__actions{display:grid;gap:.16rem;min-width:0}.resource-list-item__main strong{font-size:.95rem;color:#0f172a}.resource-list-item__secondary{display:grid;gap:.08rem;min-width:0}.resource-list-item__main strong,.resource-list-item__secondary small,.resource-list-item__main small,.resource-list-item__meta small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resource-list-item__meta{color:#475569}.resource-list-item__badges{justify-items:start}.resource-list-item__actions{justify-items:end}.resource-kind-pill{display:inline-flex;align-items:center;justify-content:center;min-height:1.8rem;min-width:3.1rem;padding:.2rem .55rem;border:1px solid #cbd5e1;border-radius:999px;background:#f8fafc;color:#334155;font-size:.74rem;font-weight:700}.resource-share-results{display:flex;flex-wrap:wrap;gap:.4rem}.resource-share-results button,.resource-chip{padding:.45rem .7rem;border-radius:999px}.resource-preview-panel{display:grid;gap:.75rem}.resource-detail-panel{display:grid;gap:.85rem}.resource-detail-panel__actions{display:flex;flex-wrap:wrap;gap:.6rem}.resource-detail-section{display:grid;gap:.6rem;padding:.85rem;border:1px solid #dbe5f0;border-radius:16px;background:#f8fbff}.resource-action-modal{width:min(980px,96vw)}.resource-action-modal--compact{width:min(620px,96vw)}.resource-folder-form{display:grid;gap:.85rem}.resource-picker-field{display:grid;gap:.7rem}.resource-picker-field__preview{border:1px solid rgba(96,165,250,.2);border-radius:18px;overflow:hidden;background:#0f172a7a}.resource-picker-field__upload{display:grid;gap:.35rem}.session-documents-widget{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:.75rem;min-height:0}.session-documents-widget--explorer{grid-template-columns:minmax(180px,240px) minmax(0,1.8fr) minmax(280px,.95fr);align-items:stretch}.session-documents-widget__sidebar,.session-documents-widget__content,.session-documents-widget__detail{min-height:0;display:grid;gap:.75rem;align-content:start}.session-documents-widget__sidebar{padding:.85rem;background:#f8fafc}.session-documents-widget__sidebar-header{display:flex;justify-content:space-between;gap:.5rem;align-items:center}.session-documents-widget__search{display:grid;gap:.35rem}.session-documents-widget__content{padding:.85rem;background:#fff}.session-documents-widget__folders,.session-documents-widget__list{min-height:0;overflow:auto}.session-documents-widget__detail{background:#fcfdff}.resource-preview-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;background:#020617d1;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:grid;place-items:center;padding:1.25rem}.resource-preview-modal__dialog{width:min(1200px,96vw);max-height:92vh;display:grid;grid-template-rows:auto minmax(0,1fr);background:linear-gradient(180deg,#0f172afa,#111827fa);border:1px solid rgba(96,165,250,.28);border-radius:24px;overflow:hidden;box-shadow:0 24px 80px #02061773}.resource-preview-modal__dialog--wide{width:min(1440px,98vw)}.resource-preview-modal__header{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1rem 1.1rem;border-bottom:1px solid rgba(96,165,250,.16)}.resource-preview-modal__header small{display:block;color:#94a3b8}.resource-preview-modal__body{min-height:0;overflow:auto;padding:1rem}.system-catalog-manager{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;min-height:0}.system-catalog-manager__sidebar,.system-catalog-manager__content{display:grid;gap:1rem;min-height:0}.system-catalog-manager__sidebar-header,.system-catalog-panel__header{display:flex;justify-content:space-between;gap:.75rem;align-items:flex-start;flex-wrap:wrap}.system-catalog-manager__sidebar-header small,.system-catalog-panel__header small{display:block;color:#94a3b8}.system-catalog-panel__header-actions{display:flex;gap:.5rem;flex-wrap:wrap}.system-catalog-manager__catalog-list,.system-catalog-manager__column-list{display:grid;gap:.75rem}.system-catalog-manager__catalog-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.system-catalog-manager__catalog-item,.system-catalog-manager__column-card{display:grid;gap:.35rem;border:1px solid rgba(96,165,250,.18);background:#0f172ab8;border-radius:16px;padding:.9rem;color:inherit;text-align:left}.system-catalog-manager__catalog-item.is-active{border-color:#60a5fa85;box-shadow:inset 0 0 0 1px #60a5fa47}.system-catalog-manager__catalog-item small{color:#94a3b8}.system-catalog-manager__table-wrap{overflow:auto}.system-catalog-manager__table{width:100%;border-collapse:collapse}.system-catalog-manager__table th,.system-catalog-manager__table td{border-bottom:1px solid rgba(148,163,184,.18);padding:.55rem;text-align:left;vertical-align:top}.system-catalog-manager__table th{position:sticky;top:0;background:#0f172af5;z-index:1}.system-catalog-manager__table input,.system-catalog-manager__table select,.system-catalog-manager__table textarea{width:100%}@media(max-width:980px){.resource-page-header,.resource-library-shell,.resource-library-grid,.session-documents-widget,.system-catalog-manager{grid-template-columns:1fr}.resource-page-header{display:grid}.resource-page-header__actions,.resource-toolbar{justify-content:flex-start}.resource-list-head{display:none}.resource-list-item{grid-template-columns:auto 70px minmax(0,1fr)}.resource-list-item__meta,.resource-list-item__badges,.resource-list-item__actions{grid-column:3}.resource-list-item__actions{justify-items:start}.resource-list--names .resource-list-item{grid-template-columns:42px minmax(0,1fr)}.resource-list--names .resource-list-item__meta,.resource-list--names .resource-list-item__badges,.resource-list--names .resource-list-item__actions{grid-column:2}.resource-list--names .resource-list-item__actions{justify-items:start}}@media(max-width:720px){.resource-toolbar{display:grid}.resource-toolbar__checkbox{padding-top:0}.resource-toolbar input,.resource-toolbar select{min-width:0;width:100%}.resource-list-item{grid-template-columns:1fr}.resource-list-item__selector,.resource-list-item__preview,.resource-list-item__main,.resource-list-item__meta,.resource-list-item__badges,.resource-list-item__actions{grid-column:auto}.resource-list-item__preview{width:100%;height:72px}.resource-list--names .resource-list-item{grid-template-columns:1fr}.resource-list--names .resource-list-item__selector,.resource-list--names .resource-list-item__main,.resource-list--names .resource-list-item__badges,.resource-list--names .resource-list-item__actions,.resource-list--names .resource-list-item__meta{grid-column:auto}.resource-list--names .resource-list-item__actions{justify-items:start}.resource-list-item [data-label]:before{content:attr(data-label);display:block;margin-bottom:.18rem;color:#94a3b8;font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}}.session-hero{position:relative;overflow:hidden}.session-page-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;gap:1rem;align-items:center}.session-page-header__title{min-width:0}.session-page-header__actions{display:flex;flex-wrap:wrap;gap:.65rem;justify-content:center}.session-launch-select{display:grid;gap:.3rem;min-width:220px}.session-launch-select span{font-size:.86rem;color:#dde4f5c7}.session-page-header__status{display:flex;justify-content:flex-end}.session-tab-bar{display:flex;gap:.75rem;flex-wrap:wrap;margin-bottom:1rem}.session-tab-button{border:1px solid rgba(78,98,132,.35);background:#0f1a33c2;color:#dbe8ff;border-radius:999px;padding:.75rem 1.1rem;font-weight:700;cursor:pointer}.session-tab-button.is-active{background:linear-gradient(135deg,#2957bff5,#487bffeb);border-color:#669bffbf;color:#fff}.session-status-pill{display:inline-flex;align-items:center;justify-content:center;padding:.5rem .9rem;border-radius:999px;border:1px solid rgba(79,133,255,.45);background:#1c39733d;color:#dbe8ff;font-weight:700;text-transform:capitalize}.session-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.85rem;margin-top:1.1rem}.session-metric{display:grid;gap:.2rem;padding:.9rem 1rem;border-radius:16px;border:1px solid rgba(78,98,132,.35);background:#0f1a33c2}.session-metric strong{font-size:1.55rem}.session-metric span{color:#dde4f5d1}.session-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:1rem}.session-stack{display:grid;gap:1rem;align-content:start}.session-section{display:grid;gap:1rem}.session-section__header{display:flex;justify-content:space-between;align-items:flex-start;gap:.8rem;flex-wrap:wrap}.session-section__header h2{margin:0}.session-section__header p{margin:.3rem 0 0;color:#dde4f5c7}.session-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.75rem}.session-summary-item{display:grid;gap:.3rem;padding:.85rem 1rem;border-radius:16px;border:1px solid rgba(78,98,132,.32);background:#0c1428c7}.session-summary-item span{color:#dde4f5b8}.session-participant-summary{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.9rem 1rem;border-radius:16px;border:1px solid rgba(78,98,132,.32);background:#0c1428c7}.session-participant-summary small{display:block;color:#dde4f5b8}.session-inline-actions{display:flex;gap:.65rem;align-items:center;justify-content:space-between;flex-wrap:wrap}.session-participants-list,.session-character-list{display:grid;gap:.75rem}.session-participant-row,.session-character-card{display:grid;gap:.6rem;padding:.9rem 1rem;border-radius:16px;border:1px solid rgba(78,98,132,.32);background:#0c1428c7}.session-participant-row{grid-template-columns:minmax(180px,1.2fr) minmax(120px,.7fr) minmax(180px,1fr) auto;align-items:end}.session-participant-row strong,.session-character-card strong{display:block}.session-character-card__heading{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.session-character-badge{display:inline-flex;align-items:center;padding:.2rem .65rem;border-radius:999px;border:1px solid rgba(100,153,255,.35);background:#1c34606b;color:#caddfff5;font-size:.76rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.session-character-kind-badge{display:inline-flex;align-items:center;padding:.2rem .65rem;border-radius:999px;border:1px solid rgba(235,170,52,.38);background:#5f3a0e66;color:#ffe1b0f5;font-size:.76rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.session-participant-row small,.session-character-card small{color:#dde4f5b8}.session-participant-search{display:grid;gap:.65rem}.session-search-results{display:grid;gap:.5rem}.session-search-result-card{display:flex;justify-content:space-between;align-items:center;gap:.8rem;padding:.85rem 1rem;border-radius:16px;border:1px solid rgba(78,98,132,.32);background:#0c1428c7}.session-character-template-grid{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.session-character-template-card,.session-character-sheet-group{display:grid;gap:.55rem;padding:.9rem 1rem;border-radius:16px;border:1px solid rgba(78,98,132,.32);background:#0c1428c7}.session-character-template-card p{margin:0;color:#dde4f5c2;font-size:.92rem}.session-character-sheet-panel{display:grid;gap:.9rem}.session-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2600;padding:1rem;display:grid;place-items:center;background:#030c1ac7}.session-character-sheet-groups{display:grid;gap:.75rem}.session-character-sheet-fields{display:grid;gap:.65rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.session-character-sheet-fields--list{grid-template-columns:1fr}.session-character-sheet-field{display:grid;gap:.35rem}.session-character-sheet-field small{color:#dde4f5a6}.studio-options-textarea{min-height:12rem}.session-search-result-card strong,.session-search-result-card span{display:block}.session-search-result-card span{color:#dde4f5b8}.session-search-result-actions{display:flex;gap:.5rem;flex-wrap:wrap}.session-inline-note{color:#a0d9ffe6}.session-resource-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.75rem}.session-conflict-list{display:grid;gap:.75rem}.session-conflict-card{display:grid;gap:.75rem;padding:.95rem 1rem;border-radius:16px;border:1px solid rgba(184,96,51,.36);background:#341a126b}.session-conflict-card small{display:block;margin-top:.3rem;color:#f5e1d7cc}.session-conflict-fields{display:grid;gap:.55rem}.session-conflict-field{display:flex;justify-content:space-between;gap:.75rem;align-items:center;flex-wrap:wrap}.session-activity-list{display:grid;gap:.75rem}.session-activity-card{display:grid;gap:.45rem;padding:.9rem 1rem;border-radius:16px;border:1px solid rgba(78,98,132,.32);background:#0c1428c7}.session-activity-card strong{display:block}.session-activity-card small{color:#dde4f5b8}.session-activity-date{color:#dde4f5b3;font-size:.85rem;white-space:nowrap}.session-runtime-actions{display:flex;gap:.65rem;flex-wrap:wrap;margin-bottom:1rem}.session-character-sheet-widget{display:grid;grid-template-rows:auto auto auto minmax(0,1fr);gap:.75rem;height:100%;min-height:0;align-content:start}.session-character-sheet-widget__runtime{min-height:0;overflow:hidden}.session-character-sheet-widget__header-actions{display:flex;gap:.75rem;align-items:end;flex-wrap:wrap;justify-content:flex-end}.session-character-page__actions{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;justify-content:flex-end}.session-character-sheet-widget__viewport{height:100%;min-height:0;overflow:auto;padding-right:.15rem}.session-character-sheet-widget__canvas{min-width:0;margin:0}.session-character-sheet-widget__canvas-content{transform-origin:top left;will-change:transform}.session-character-sheet-print-root{display:block;position:fixed;left:-100000px;top:0;width:var(--character-sheet-print-base-width, 1024px);visibility:hidden;pointer-events:none}.session-character-sheet-print-root__page{width:var(--character-sheet-print-base-width, 1024px)}.session-character-sheet-print-root__content{width:var(--character-sheet-print-base-width, 1024px);transform-origin:top left}.session-character-sheet-print-root__header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem;color:#111827}.session-character-sheet-print-root__header p,.session-character-sheet-print-root__header h1{margin:0}.session-character-sheet-print-root__header p{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:#4b5563}.session-character-sheet-print-root__header h1{font-size:1.6rem}.session-character-sheet-print-root__avatar{width:4.5rem;height:4.5rem;border-radius:18px;object-fit:cover}.session-character-print-preview__dialog{width:min(1180px,calc(100vw - 2rem));max-height:calc(100vh - 2rem)}.session-character-print-preview__toolbar{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin-bottom:1rem}.session-character-print-preview__toolbar label{display:inline-flex;align-items:center;gap:.45rem;padding:.55rem .75rem;border-radius:999px;border:1px solid rgba(72,93,131,.45);background:#0f172a5c;cursor:pointer}.session-character-print-preview__toolbar label.is-active{border-color:#60a5fab8;background:#2563eb38}.session-character-print-preview__toolbar button{margin-left:auto}.session-character-print-preview__viewport{min-height:0;max-height:min(68vh,780px);overflow:auto;padding:1.25rem;border-radius:24px;border:1px solid rgba(72,93,131,.38);background:linear-gradient(135deg,#0f172ae0,#1e293bb8),repeating-linear-gradient(45deg,rgba(255,255,255,.035) 0 1px,transparent 1px 12px)}.session-character-print-preview__paper{width:calc(var(--character-sheet-print-base-width, 1024px) * var(--character-sheet-print-scale, .7));min-height:291mm;margin:0 auto;overflow:hidden;background:#fff;box-shadow:0 24px 80px #0006}.session-character-print-preview__viewport.mode-multiple .session-character-print-preview__paper{width:204mm;overflow:visible}.session-character-print-preview__paper>.session-character-sheet-print-root__content{transform:scale(var(--character-sheet-print-scale, .7));transform-origin:top left}.system-studio-v2-runtime{display:grid;gap:1rem;position:relative;isolation:isolate;overflow:hidden}.system-studio-v2-runtime:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:var(--system-runtime-bg-image, none);background-size:var(--system-runtime-bg-size, cover);background-position:var(--system-runtime-bg-position, center);background-repeat:var(--system-runtime-bg-repeat, no-repeat);opacity:var(--system-runtime-bg-opacity, 1);pointer-events:none;z-index:0}.system-studio-v2-runtime>*{position:relative;z-index:1}.system-studio-v2-runtime__grid{display:grid;grid-template-columns:repeat(var(--system-v2-columns, 12),minmax(0,1fr));gap:.85rem}.system-studio-v2-runtime__grid--preserve-layout{gap:0}.system-studio-v2-runtime__grid--preserve-layout>.system-studio-v2-runtime__container,.system-studio-v2-runtime__grid--preserve-layout>.system-studio-v2-runtime__leaf{min-height:0}.system-studio-v2-runtime__container,.system-studio-v2-runtime__leaf{display:grid;grid-template-columns:minmax(0,1fr);gap:.85rem;align-content:start;overflow:hidden;min-width:0;width:100%;box-sizing:border-box;justify-self:stretch;position:relative;isolation:isolate}.system-studio-v2-runtime__container-body{min-width:0;min-height:0;width:100%;height:100%;overflow:auto;display:grid;align-content:start}.system-studio-v2-runtime__container:before,.system-studio-v2-runtime__leaf:before,.system-studio-v2-runtime__repeat-item:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;border-radius:inherit;background-image:var(--system-runtime-bg-image, none);background-size:var(--system-runtime-bg-size, cover);background-position:var(--system-runtime-bg-position, center center);background-repeat:var(--system-runtime-bg-repeat, no-repeat);opacity:var(--system-runtime-bg-opacity, 0)}.system-studio-v2-runtime__container>*,.system-studio-v2-runtime__leaf>*,.system-studio-v2-runtime__repeat-item>*{position:relative;z-index:1}.system-studio-v2-runtime__container.is-flat{border-style:dashed;background:#0c142861}.system-studio-v2-runtime__leaf.is-editable{border-color:#5792ff5c}.system-studio-v2-runtime__field{display:grid;gap:.45rem;min-width:0;overflow:hidden;width:100%;height:100%;align-content:start;justify-items:stretch;justify-self:stretch;align-self:stretch}.system-studio-v2-runtime__field--ligne{align-items:start}.system-studio-v2-runtime__field--ligne>span{grid-column:1;align-self:center}.system-studio-v2-runtime__field--ligne>input,.system-studio-v2-runtime__field--ligne>textarea,.system-studio-v2-runtime__field--ligne>select,.system-studio-v2-runtime__field--ligne>p,.system-studio-v2-runtime__field--ligne>.system-studio-v2-runtime__chips,.system-studio-v2-runtime__field--ligne>.system-studio-v2-runtime__placeholder{grid-column:2;width:100%;justify-self:stretch}.system-studio-v2-runtime__field--ligne>small{grid-column:2}.system-studio-v2-runtime__field span{color:#dde4f5d1;font-size:.95rem;min-width:0;overflow-wrap:anywhere;word-break:break-word}.system-studio-v2-runtime__field-label{min-width:0}.system-studio-v2-runtime__field-value{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;width:100%;height:100%;justify-self:stretch;align-self:stretch}.system-studio-v2-runtime__field-value>input,.system-studio-v2-runtime__field-value>textarea,.system-studio-v2-runtime__field-value>select,.system-studio-v2-runtime__field-value>p,.system-studio-v2-runtime__field-value>.system-studio-v2-runtime__chips,.system-studio-v2-runtime__field-value>.system-studio-v2-runtime__placeholder{width:100%;min-width:0;max-width:100%;box-sizing:border-box;justify-self:stretch}.system-studio-v2-runtime__field p{min-width:0;overflow-wrap:anywhere;word-break:break-word}.system-studio-v2-runtime__static-text{min-width:0;overflow:hidden;overflow-wrap:anywhere;word-break:break-word}.system-studio-v2-runtime__field input,.system-studio-v2-runtime__field textarea,.system-studio-v2-runtime__field select{display:block;width:100%;max-width:100%;box-sizing:border-box}.system-studio-v2-runtime__field textarea{min-height:100%;height:100%;resize:none}.system-studio-v2-runtime__subview{display:grid;grid-template-columns:minmax(0,1fr);width:100%;height:100%;min-width:0;min-height:0;align-self:stretch;overflow-x:hidden;overflow-y:auto}.system-studio-v2-runtime__field--checkbox{align-items:center;gap:.75rem}.system-studio-v2-runtime__field--checkbox:not(.system-studio-v2-runtime__field--ligne){grid-template-columns:auto 1fr}.system-studio-v2-runtime__field--checkbox.system-studio-v2-runtime__field--ligne>input{grid-column:1;justify-self:start}.system-studio-v2-runtime__field--checkbox.system-studio-v2-runtime__field--ligne>span{grid-column:2;min-width:0}.system-studio-v2-runtime__field--type-number.system-studio-v2-runtime__field--ligne>input,.system-studio-v2-runtime__field--type-number.system-studio-v2-runtime__field--ligne>p,.system-studio-v2-runtime__field--type-progress.system-studio-v2-runtime__field--ligne>p{text-align:right}.system-studio-v2-runtime__field--checkbox span{margin:0}.system-studio-v2-runtime__field--checkbox.checkbox-shape-rond input{border-radius:999px}.system-studio-v2-runtime__field--checkbox.checkbox-style-rempli input:checked{box-shadow:inset 0 0 0 999px #2563ebf2}.system-studio-v2-runtime__image{width:100%;min-height:14rem;object-fit:cover;border-radius:16px}.system-studio-v2-runtime__image-field{display:grid;gap:.65rem;align-content:start}.system-studio-v2-runtime__image-actions{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}.system-studio-v2-runtime__image-trigger{display:inline-flex;cursor:pointer}.system-studio-v2-runtime__repeat-list{display:grid;gap:.5rem;align-items:start;min-width:0}.system-studio-v2-runtime__tabs-layout{display:grid;gap:.85rem;align-items:start}.system-studio-v2-runtime__tabs-layout.orientation-horizontal{grid-template-columns:minmax(0,1fr)}.system-studio-v2-runtime__tabs-layout.orientation-vertical_gauche{grid-template-columns:auto minmax(0,1fr)}.system-studio-v2-runtime__tabs-layout.orientation-vertical_droite{grid-template-columns:minmax(0,1fr) auto}.system-studio-v2-runtime__tabs-list{display:flex;flex-wrap:wrap;gap:.45rem}.system-studio-v2-runtime__tabs-list.orientation-vertical_gauche,.system-studio-v2-runtime__tabs-list.orientation-vertical_droite{flex-direction:column;flex-wrap:nowrap}.system-studio-v2-runtime__tabs-layout.orientation-vertical_droite .system-studio-v2-runtime__tabs-list{order:2}.system-studio-v2-runtime__tabs-layout.orientation-vertical_gauche .screen-runtime-tab,.system-studio-v2-runtime__tabs-layout.orientation-vertical_droite .screen-runtime-tab{min-height:6.5rem;min-width:2.75rem;padding:.55rem .35rem;writing-mode:vertical-rl}.system-studio-v2-runtime__tabs-layout.orientation-vertical_gauche .screen-runtime-tab{transform:rotate(180deg)}.system-studio-v2-runtime__tabs-content{min-width:0;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);gap:.85rem;align-self:stretch;overflow-x:hidden;overflow-y:auto}.system-studio-v2-runtime__repeat-item{display:grid;gap:.45rem;padding:.45rem .7rem;border-radius:16px;border:1px solid rgba(72,93,131,.32);background:#070f1f61;min-width:0;align-content:start}.system-studio-v2-runtime__repeat-item.is-equipped{border-color:#5c92ffa3;background:linear-gradient(90deg,#3567d62e,#070f1f6b 16%),#070f1f6b;box-shadow:inset 0 0 0 1px #7caaff1f,0 0 0 1px #2f5fcd24}.system-studio-v2-runtime__repeat-header{display:flex;justify-content:space-between;gap:.75rem;align-items:center}.system-studio-v2-runtime__repeat-header small{color:#bfcbe1b8}.system-studio-v2-runtime__placeholder{color:#dde4f59e;font-size:.94rem}.system-studio-v2-runtime__chips{display:flex;gap:.45rem;flex-wrap:wrap}.system-studio-v2-runtime__progress{display:grid;gap:.5rem}.system-studio-v2-runtime__progress-meta{display:flex;justify-content:space-between;gap:.75rem;align-items:center}.system-studio-v2-runtime__button-content{display:inline-flex;align-items:center;gap:.5rem}.system-studio-v2-runtime__button-icon{display:inline-flex;align-items:center;justify-content:center}body.theme-dark .session-status-pill{background:#2e5fc438;border-color:#5792ff6b}body.theme-dark .session-metric,body.theme-dark .session-participant-row,.session-summary-item,.session-participant-summary,body.theme-dark .session-character-card,body.theme-dark .session-search-result-card,body.theme-dark .session-activity-card{border-color:#485d836b;background:#0d1528c7}body.theme-dark .session-character-badge{border-color:#6091ff6b;background:#1c366c66;color:#d2e3fffa}body.theme-dark .session-character-kind-badge{border-color:#f4b54e6b;background:#5c3a106b;color:#ffe9c2fa}body.theme-dark .session-section__header p,body.theme-dark .session-metric span,body.theme-dark .session-participant-row small,body.theme-dark .session-character-card small,.session-character-template-card p,.session-character-sheet-field small,body.theme-dark .session-search-result-card span,body.theme-dark .session-activity-card small,body.theme-dark .session-activity-date{color:#dde4f5c2}@media(max-width:1180px){.session-page-header{grid-template-columns:1fr}.session-page-header__actions,.session-page-header__status{justify-content:flex-start}.session-layout{grid-template-columns:1fr}}@media(max-width:820px){.session-participant-row{grid-template-columns:1fr}.system-studio-v2-runtime__grid:not(.system-studio-v2-runtime__grid--preserve-layout){grid-template-columns:1fr}.session-search-result-card,.session-conflict-field,.session-participant-summary{flex-direction:column;align-items:stretch}}@media(max-width:820px){.landing-grid,.landing-feature-grid,.landing-audience-grid,.landing-showcase-grid,.landing-mobile{grid-template-columns:1fr}.landing-hero{padding:1.35rem}.landing-hero h1{max-width:none;font-size:clamp(2rem,9vw,2.9rem)}.landing-mobile__qr{justify-self:start}}.vtt-panel{display:grid;gap:1rem}.vtt-panel--fullscreen{min-height:100vh;border-radius:0;margin:0}.vtt-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;align-items:end}.vtt-toolbar label{display:grid;gap:.35rem}.vtt-checkbox{grid-auto-flow:column;grid-template-columns:auto 1fr;align-items:center;align-self:center}.vtt-token-editor{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.75rem;align-items:end;padding:1rem;border:1px solid rgba(56,189,248,.28);border-radius:16px;background:#0f172a0a}.vtt-token-editor h3,.vtt-token-editor p{margin:0}.vtt-token-editor label{display:grid;gap:.35rem}.vtt-token-editor input[type=color]{min-height:2.6rem;padding:.15rem}@media(max-width:640px){.page,.page--wide{padding-left:.65rem;padding-right:.65rem}.card,.session-section,.resource-preview-modal__dialog{min-width:0;max-width:100%;overflow-wrap:anywhere}.session-section__header,.session-page-header,.resource-page-header,.resource-preview-modal__header,.studio-panel__toolbar,.session-character-page__actions,.resource-toolbar,.screen-runtime-widget__header,.screen-studio-widget__header{min-width:0;flex-wrap:wrap}.session-section__header,.resource-preview-modal__header,.studio-panel__toolbar{align-items:stretch}.session-section__header>*,.session-page-header>*,.resource-page-header>*,.resource-preview-modal__header>*,.studio-panel__toolbar>*,.session-character-page__actions>*,.resource-toolbar>*{min-width:0}.session-page-header__actions,.session-page-header__status,.resource-page-header__actions,.session-character-page__actions,.resource-toolbar{width:100%;justify-content:flex-start}button,.button,input,select,textarea{max-width:100%}button,.button{white-space:normal}.session-character-page__actions button,.session-character-page__actions .button,.resource-page-header__actions button,.resource-page-header__actions .button,.resource-toolbar button,.resource-toolbar .button{flex:1 1 11rem}.resource-preview-modal__dialog{width:calc(100vw - 1rem);max-height:calc(100vh - 1rem)}}@media print{@page{margin:3mm}body.is-printing-character-sheet{background:#fff!important;color:#111827!important;overflow:hidden!important}body.is-printing-character-sheet #root,body.is-printing-character-sheet .session-character-print-preview{display:none!important}body.is-printing-character-sheet .session-character-sheet-print-root{display:block!important;position:static!important;left:auto!important;top:auto!important;width:204mm!important;height:291mm!important;overflow:hidden!important;visibility:visible!important;pointer-events:auto!important;background:#fff!important;color:#111827!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}body.is-printing-character-sheet .session-character-sheet-print-root__page{width:calc(var(--character-sheet-print-base-width, 1024px) * var(--character-sheet-print-scale, .7))!important;height:291mm!important;overflow:hidden!important;margin:0 auto!important;position:relative!important}body.is-printing-character-sheet--multiple .session-character-sheet-print-root,body.is-printing-character-sheet--multiple .session-character-sheet-print-root__page{width:204mm!important;height:auto!important;overflow:visible!important}body.is-printing-character-sheet--multiple .session-character-sheet-print-root__page{margin:0!important}body.is-printing-character-sheet .session-character-sheet-print-root__content{width:var(--character-sheet-print-base-width, 1024px)!important;transform:scale(var(--character-sheet-print-scale, .7))!important;transform-origin:top left!important}body.is-printing-character-sheet--multiple .session-character-sheet-print-root__content{zoom:var(--character-sheet-print-scale, .4015625)!important;transform:none!important}body.is-printing-character-sheet .session-character-sheet-print-root *,body.is-printing-character-sheet .session-character-sheet-print-root *:before,body.is-printing-character-sheet .session-character-sheet-print-root *:after{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}body.is-printing-character-sheet .session-character-sheet-print-root button,body.is-printing-character-sheet .session-character-sheet-print-root .button,body.is-printing-character-sheet .session-character-sheet-print-root .resource-preview-modal,body.is-printing-character-sheet .session-character-sheet-print-root .system-studio-v2-runtime__image-actions,body.is-printing-character-sheet .session-character-sheet-print-root .home-alert{display:none!important}body.is-printing-character-sheet .session-character-sheet-print-root .system-studio-v2-runtime,body.is-printing-character-sheet .session-character-sheet-print-root .system-studio-v2-runtime__container,body.is-printing-character-sheet .session-character-sheet-print-root .system-studio-v2-runtime__leaf,body.is-printing-character-sheet .session-character-sheet-print-root .system-studio-v2-runtime__repeat-item{break-inside:avoid;page-break-inside:avoid}body.is-printing-character-sheet .session-character-sheet-print-root .system-studio-v2-runtime__container-body,body.is-printing-character-sheet .session-character-sheet-print-root .system-studio-v2-runtime__subview,body.is-printing-character-sheet .session-character-sheet-print-root .system-studio-v2-runtime__tabs-content{overflow:visible!important}body.is-printing-character-sheet .session-character-sheet-print-root .system-studio-v2-runtime__field span,body.is-printing-character-sheet .session-character-sheet-print-root .system-studio-v2-runtime__placeholder,body.is-printing-character-sheet .session-character-sheet-print-root .system-studio-v2-runtime__repeat-header small{color:#374151!important}}
