/* larpdesk: restrained surfaces, clear controls, accessible motion. */
:root{--bg:#090909;--sidebar:#0c0c0c;--panel:#111;--panel2:#191919;--line:#262626;--text:#f1f1f1;--muted:#999;--accent:#f1f1f1;--positive:#9dd9b4;--negative:#ef9b9b}
body{background:var(--bg);-webkit-font-smoothing:antialiased}::selection{background:#555;color:white}button:hover{filter:none}button,a,input,select,textarea{transition:background 180ms ease,border-color 180ms ease,color 180ms ease,box-shadow 180ms ease,opacity 180ms ease}button:active:not(:disabled){opacity:.72}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #ddd;outline-offset:4px}
.sidebar{background:#0c0c0c;border-color:#242424}.brand img{filter:grayscale(1)}.brand small,.nav-label{color:#999}.brand strong span{color:#fff}.workspace{background:#111;border-color:#262626}.avatar{background:#242424;color:#eee}.nav-link{color:#aaa;min-height:46px}.nav-link.active{color:white;background:#222;box-shadow:inset 2px 0 #eee}.nav-link:hover{background:#1b1b1b;color:white}.sidebar-note{background:#101010;border-color:#232323}.sidebar-note p{color:#999}.profile{border-color:#262626}.profile i,.local-status i{background:#9dd9b4}.topbar{background:rgba(10,10,10,.9);border-color:#242424;backdrop-filter:blur(16px)}.content{max-width:1580px;margin:auto;padding-top:34px}.page-heading{margin-bottom:28px}.page-heading h1{font-size:30px;letter-spacing:-1.2px;font-weight:650}.eyebrow{color:#999;letter-spacing:.13em;font-size:10px}.page-heading p{font-size:13px}.studio-heading .library-count{border-color:#2b2b2b;background:#111;color:#ccc;font-variant-numeric:tabular-nums}.studio-heading .eyebrow{margin-bottom:10px}
.btn{background:#181818;border-color:#303030;border-radius:9px;min-height:42px;color:#e5e5e5}.btn:hover{background:#242424;border-color:#555}.btn.primary{background:#f2f2f2;border-color:#f2f2f2;color:#111}.btn.primary:hover{background:#dcdcdc}.btn.small{min-height:36px}.icon-btn{border-radius:9px;min-width:36px;min-height:36px;color:#aaa}.icon-btn:hover{background:#242424;color:white}.card{background:#111;border-color:#292929;border-radius:13px}.card-head{border-color:#282828}.metric{background:linear-gradient(145deg,#151515,#101010)}.metric>span{color:#aaa;font-size:12px}.metric>small{color:#999;font-size:11px}.metric>strong{font-variant-numeric:tabular-nums;letter-spacing:-1px}.tag{background:#242424}.table-wrap th{background:#141414;color:#aaa}td,th,.rule-row{border-color:#252525}tbody tr{transition:background 150ms}tbody tr:hover{background:#1a1a1a}.field input,.field select,.field textarea{background:#0d0d0d;border-color:#333;color:#eee;border-radius:8px;min-height:44px}.field>span{color:#bbb;font-size:12px}.goal-card,.goal-ring{background-color:#141414}.progress{background:#2a2a2a}.progress i{background:#eee}.empty{padding:56px 24px}.empty h2{font-size:20px}
.curated-layout{gap:26px;align-items:start}.curated-layout .editor-panel{background:#101010;border-color:#272727;border-radius:14px;overflow:hidden}.curated-layout .stage{position:relative;padding:0;background:#0d0d0d;border:1px solid #252525;overflow:hidden;border-radius:16px}.curated-layout .stage canvas{display:block;border-radius:15px;transition:opacity 220ms ease}.stage-badge{position:absolute;z-index:2;top:14px;left:16px;pointer-events:none;background:#0008;border:1px solid #ffffff18;padding:5px 8px;border-radius:6px;font-size:8px}.curated-layout .stage-bottom{padding:10px 14px;background:#111;border-top:1px solid #222}.curated-layout .stage-bottom strong{font-size:11px;letter-spacing:0;max-width:85%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-toolbar{gap:12px;margin-bottom:18px}.curated-layout .segmented{padding:4px;background:#161616;border-color:#262626;border-radius:10px}.segmented button{min-height:36px;border-radius:7px}.stage-selector select{min-height:42px;border-radius:9px}.curated-layout .playback{gap:10px;margin-top:16px}.curated-layout .play-button{width:40px;height:40px;flex-shrink:0}.playback #timecode,.playback #duration{font-size:11px;font-variant-numeric:tabular-nums;color:#aaa}.playback input[type=range]{min-width:40px;cursor:pointer}.curated-layout .sound-on{color:white;background:#252525}.clip-caption{font-size:11px;line-height:1.5;margin:12px 0 20px}.clip-caption a:hover{color:white}.curated-layout .export-bar{padding-top:19px}.export-eyebrow{font-size:9px}.export-buttons{gap:8px}.export-buttons .btn{min-height:44px;padding-left:18px;padding-right:18px}.editor-tabs{padding:0 16px}.editor-tabs button{min-height:54px;font-size:12px}#panel-content{padding:18px}.media-kind{background:#080808;border:1px solid #242424;border-radius:10px}.media-kind button{min-height:40px;border-radius:7px;font-size:12px}.library-search{min-height:42px;border-radius:9px}.library-search input{font-size:12px}.category-tabs{gap:7px}.category-tabs button{min-height:30px;font-size:10px;padding:5px 10px;border-radius:7px}.curation-label{font-size:9px;color:#aaa}.curated-grid{gap:9px;grid-auto-rows:112px;max-height:440px;scrollbar-gutter:stable;align-content:start}.curated-grid .background-tile{height:112px;border-radius:9px;transition:border-color 180ms,box-shadow 180ms}.curated-grid .background-tile:hover{border-color:#888}.background-pick img{transition:transform 250ms ease;will-change:auto}.background-pick:hover img{transform:scale(1.045)}.curated-grid .tile-name{font-size:10px}.curated-grid .clip-label{font-size:9px}.favorite{width:30px;height:30px;background:#1119;backdrop-filter:blur(6px);color:white}.curated-layout .upload-media{background:#141414;border:1px dashed #3c3c3c;border-radius:9px;min-height:56px}.curated-layout .upload-media:hover{background:#202020;border-color:#777}.curated-layout .upload-media small{color:#aaa}.panel-footer{padding:14px 18px;background:#131313}.curated-layout .panel-footer .btn{background:#242424;border-color:#3c3c3c}.panel-footer .text-btn{color:#bbb}.curated-layout .format-tile{background:#171717;border-color:#333;border-radius:10px}.curated-layout .format-tile.active{background:#292929}.format-tile small{font-size:10px}.controls .toggle-field{min-height:48px}.controls input[type=checkbox]{accent-color:#eee}.curated-layout .controls .range-field>span,.curated-layout .toggle-field{color:#ccc}
.media-loading{display:none;position:absolute;inset:0;z-index:3;background:#101010dc;align-items:center;justify-content:center;gap:10px;color:#bbb;font-size:12px}.is-loading .media-loading{display:flex}.is-loading canvas{opacity:.35}.spinner{width:18px;height:18px;border:2px solid #444;border-top-color:#eee;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.export-status.active{border:1px solid #333;background:#141414;border-radius:9px;padding:12px 14px;font-size:12px}.export-status a{text-decoration:underline;text-underline-offset:3px}dialog{background:#141414;border:1px solid #353535;border-radius:18px;box-shadow:0 30px 100px #0009;animation:enter 180ms ease-out}dialog::backdrop{background:#000b;backdrop-filter:blur(8px)}.modal-close{top:14px;right:14px}.modal-footer{border-color:#303030}.shortcut-list p{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:10px 0;border-bottom:1px solid #292929;color:#ddd}kbd{min-width:40px;text-align:center;border:1px solid #444;border-bottom-width:3px;background:#242424;border-radius:5px;padding:3px 8px;font:12px var(--font)}#toast{background:#f2f2f2;color:#151515;border:1px solid #ddd;box-shadow:0 10px 40px #0006;border-radius:10px}#toast.error{background:#331b1b;color:#ffd5d5;border-color:#714040}#content{animation:enter 200ms ease-out}@keyframes enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
body.studio-focus{overflow:hidden}.studio-focus .stage-column{position:fixed;inset:0;z-index:90;background:#080808;padding:24px max(24px,calc((100vw - 1100px)/2));overflow:auto}.studio-focus .stage canvas{max-height:calc(100dvh - 290px)!important;width:auto;max-width:100%;margin:auto}.studio-focus .stage{display:flex;flex-direction:column;align-items:stretch}.studio-focus .studio-toolbar{margin-bottom:16px}.studio-focus .shortcut-button{display:none}*{scrollbar-width:thin;scrollbar-color:#444 transparent}
@media(min-width:1200px){.curated-layout{grid-template-columns:minmax(0,1fr) 365px}.curated-layout .editor-panel{position:sticky;top:88px}}
@media(max-width:1000px){.curated-layout{grid-template-columns:1fr}.curated-layout .editor-panel{position:static}.curated-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:350px}.stage canvas{max-height:570px!important;object-fit:contain}.sidebar.mobile-open{box-shadow:30px 0 100px #000b}}
@media(max-width:650px){.content{padding:22px 16px}.page-heading h1,.studio-heading h1{font-size:27px}.studio-heading .eyebrow{font-size:9px}.studio-heading p{font-size:12px}.curated-layout .stage{padding:0}.studio-toolbar{flex-wrap:wrap}.stage-selector{width:100%}.stage-selector select{width:100%}.scope-tabs{width:100%;display:flex}.scope-tabs button{flex:1}.curated-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:120px}.curated-grid .background-tile{height:120px}.category-tabs button{min-height:36px}.curated-layout .playback{gap:6px}.playback .icon-btn{min-width:36px;min-height:44px}.shortcut-button{display:none}.clip-caption{font-size:10px}.export-buttons{width:100%;display:flex}.export-buttons .btn{flex:1;font-size:12px;padding:10px}.form-grid{grid-template-columns:1fr}.field input,.field select{font-size:16px}.studio-focus .stage-column{padding:16px}.studio-focus .stage canvas{max-height:calc(100dvh - 350px)!important}.sidebar{background:#0c0c0c}.metric>small{font-size:11px}.metric>span{font-size:12px}.topbar{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep filters visible; the media grid owns library scrolling. */
.curated-layout #panel-content{max-height:none;overflow:visible}.curated-layout .curated-grid{overflow-y:auto;max-height:360px}.curated-layout .stage-bottom{position:static;margin:0;border-radius:0;padding:10px 14px}.curated-layout .editor-tabs{background:#101010}
.position-filters{display:flex;align-items:end;gap:16px;flex-wrap:wrap}.position-filters .library-search{flex:1;min-width:220px;margin:0 0 18px}.position-filters .field{min-width:140px}.position-table{margin-top:20px}.ledger-heading{margin-top:26px}.fill-row{display:grid;grid-template-columns:90px minmax(170px,1.4fr) 1fr 1fr 1fr;gap:10px;padding:16px 0;border-bottom:1px solid #333}.fill-row .field{min-width:0;margin-bottom:0}.fill-row .field:nth-child(6){grid-column:1 / 5}.fill-row input,.fill-row select{width:100%;min-width:0}.fill-row .icon-btn{justify-self:end;align-self:end}.ledger-preview{margin:18px 0;padding:14px;background:#202020;border:1px solid #444;border-radius:9px;line-height:1.8;font-variant-numeric:tabular-nums}.ledger-preview+.modal-footer{gap:16px}.analytics-groups{margin-top:24px}.analytics-groups small{display:block}.position-table small{display:block}.position-table .text-btn{font-size:11px;text-decoration:underline}.position-filters+.tiny{margin-bottom:0}#position-form .actions{flex-wrap:wrap}#position-form>.field{margin-top:20px}#position-form .field small{color:#aaa;font-size:10px}dialog:has(#position-form){width:min(960px,calc(100vw - 32px));max-height:92dvh;overflow-y:auto}@media(max-width:750px){.fill-row{grid-template-columns:repeat(2,minmax(0,1fr))}.fill-row .field:nth-child(6){grid-column:auto}.position-filters{gap:8px}.position-filters .library-search{flex-basis:100%}.position-table .table-wrap{overflow:auto}}

.journal-filters{display:flex;gap:14px;padding:18px 22px;flex-wrap:wrap;align-items:end}.journal-filters .library-search{flex:1;min-width:200px;margin-bottom:18px}.journal-filters .field{min-width:140px}.position-filters .field select{max-width:210px}
.curated-layout .stage{flex-direction:column;align-items:stretch;justify-content:flex-start}.curated-layout .stage canvas{flex-shrink:0;width:100%;max-width:100%;height:auto}.curated-layout .stage-bottom{width:100%;flex-shrink:0}.position-filters .library-search,.journal-filters .library-search{background:#101010;border-color:#333}.position-filters .library-search input,.journal-filters .library-search input{color:#eee}
.sidebar nav{overflow-y:auto;min-height:0;flex:1}.sidebar-bottom{flex-shrink:0}.nav-link{padding-top:10px;padding-bottom:10px}.suite-filters,.calendar-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px}.suite-filters .field{min-width:160px}.calendar-toolbar .field{margin:0}.calendar-card{overflow:hidden}.calendar-week,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-week span{padding:16px;text-align:center;font-size:12px;color:#999}.calendar-day{min-height:118px;padding:16px;background:#101012;border:1px solid #242427;color:#f3f3f5;text-align:left;display:flex;flex-direction:column;gap:12px;cursor:pointer}.calendar-day:hover{background:#232327}.calendar-day strong{font-size:16px}.calendar-day small{font-size:10px;color:#999}.calendar-day.day-green strong{color:#86d9ab}.calendar-day.day-red strong{color:#f28b92}.calendar-day.is-today{box-shadow:inset 0 0 0 1px #eee}.calendar-blank{background:#0c0c0e;border:1px solid #19191c}.playbook-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.card-title{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.card-title h2{overflow-wrap:anywhere}.strategy-metrics{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:18px 0;border-block:1px solid #28282d;margin:18px 0;font-size:12px}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}details{margin:18px 0}summary{cursor:pointer;font-size:13px}details h3{font-size:13px;margin-top:18px}.review-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.review-image{position:relative}.review-image img{width:100%;height:140px;object-fit:cover;border-radius:10px;border:1px solid #333}.review-image button{position:absolute;right:4px;top:4px;background:#101012}.risk-status{margin-top:20px;border-top:1px solid #333;padding-top:14px}.risk-alert{border-left:2px solid #ef9797;padding:10px 14px;color:#ef9797;background:#27171b}.snapshot-list{max-height:55vh;overflow:auto}.rule-row small{display:block;max-width:420px;overflow-wrap:anywhere}.suite-equity{width:100%;height:200px}.suite-trade-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #252529;gap:12px}.suite-trade-row small{display:block;color:#888}.dashboard-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:20px;margin-top:20px}.suite-filters .field{margin-bottom:0}.suite-section{margin-top:24px}@media(max-width:900px){.calendar-day{padding:9px;min-height:95px}.calendar-day strong{font-size:12px}.dashboard-grid{grid-template-columns:1fr}.sidebar-bottom .sidebar-note{display:none}}@media(max-width:600px){.calendar-day{min-height:78px;padding:7px 3px}.calendar-day strong{font-size:10px}.calendar-day small{font-size:8px}.calendar-week span{padding:10px 2px}.review-images{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-toolbar{gap:8px}.playbook-grid{grid-template-columns:minmax(0,1fr)}}
.sidebar-bottom .sidebar-note{display:none}.sidebar nav{scrollbar-width:thin}.equity-chart{width:100%;max-height:240px}.chart-caption{display:flex;justify-content:space-between;color:#999;font-size:11px;gap:12px}.sidebar .nav-link{min-height:38px;padding-top:8px;padding-bottom:8px}
.prop-discover{margin-top:36px}.prop-discover .card-head{padding-left:0;padding-right:0}.prop-firms{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.prop-firm{border:1px solid #303035;border-radius:16px;background:linear-gradient(155deg,color-mix(in srgb,var(--firm-color,#737386) 23%,#111114),#101012);color:#f4f4f6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:162px;padding:22px;cursor:pointer;transition:transform .18s,border-color .18s}.prop-firm:hover{transform:translateY(-3px);border-color:#898990}.prop-firm small{color:#a6a6b0;font-size:11px}.prop-logo{width:48px;height:48px;object-fit:contain;border-radius:12px;background:#09090b}.prop-custom{display:grid;place-items:center}.prop-accounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.prop-identity{display:flex;gap:14px;align-items:center;min-width:0}.prop-identity h2{margin:0 0 5px}.prop-identity small{color:#92929c;display:block}.prop-balance{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin:28px 0 20px}.prop-balance>strong{font-size:28px}.prop-balance span{font-size:12px}.prop-card-stats{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:20px 0}.prop-card-stats span,.prop-card-stats strong{display:block}.prop-card-stats span{font-size:11px;color:#96969e;margin-bottom:8px}.prop-warning{font-size:12px;color:#d9bc85;background:#b18c2610;border-left:2px solid #ab8a48;padding:12px 15px;line-height:1.7}.prop-detail-grid{margin-top:28px}.prop-source-note{font-size:12px;color:#b2b2bd;border:1px solid #303036;border-radius:12px;padding:16px;margin:20px 0;line-height:1.7}.prop-source-note a, .prop-detail-grid a{color:#dadbe5}.prop-dialog{width:min(1100px,95vw)!important;max-width:1100px!important;padding:0!important;overflow:hidden!important}.prop-wizard{display:grid;grid-template-columns:210px minmax(0,1fr);height:min(800px,90vh)}.prop-steps{background:#050506;border-right:1px solid #232327;padding:30px 24px;position:relative;display:flex;flex-direction:column;gap:24px}.prop-step{display:flex;gap:12px;position:relative}.prop-step i{width:11px;height:11px;border-radius:50%;border:1px solid #666;margin-top:5px;flex-shrink:0}.prop-step.complete i{background:#dedee3;border-color:#dedee3}.prop-step strong{font-size:12px;font-weight:500}.prop-step small{display:block;color:#898993;font-size:10px;margin-top:8px;line-height:1.5}.prop-steps>p{margin-top:auto;font-size:10px;color:#81818d;line-height:1.7}.prop-wizard-main{min-width:0;display:flex;flex-direction:column;overflow:hidden}.prop-wizard-main>header{padding:22px 52px 18px 28px;border-bottom:1px solid #242428}.prop-wizard-main header h2{font-size:15px;margin:0}.prop-wizard-main form{flex:1;min-height:0;display:flex;flex-direction:column}.prop-wizard-body{padding:28px;overflow-y:auto;flex:1}.prop-wizard-main footer{border-top:1px solid #29292f;display:flex;justify-content:space-between;padding:16px 24px;background:#101012}.prop-groups{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 25px;max-height:155px;overflow:auto}.prop-groups .btn{font-size:11px;padding:9px 12px}.prop-groups .selected{border-color:#ddd;background:#25252b}.prop-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.prop-plan{color:#eee;background:#101012;border:1px solid #2a2a30;border-radius:14px;padding:20px;text-align:left;cursor:pointer}.prop-plan:hover{border-color:#707078}.prop-plan.selected{border-color:#f4f4f6;background:#1b1b20;box-shadow:inset 0 0 0 1px #eee}.prop-plan>strong{display:block;font-size:28px;margin:14px 0 28px}.prop-plan>small{font-size:11px;color:#a4a4ad}.prop-plan .rule-row{font-size:11px;padding:7px 0;gap:8px}.prop-source-badge{display:block;margin-top:16px;font-size:10px;color:#a8a8b1;line-height:1.5}.prop-name{max-width:580px;margin:40px auto}.prop-firms.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.prop-firms.compact .prop-firm{min-height:130px;padding:15px;font-size:11px}.prop-rules{margin-top:25px}.prop-account .card-title{flex-wrap:wrap}.prop-detail-grid .rule-row{gap:12px}.prop-detail-grid .rule-row strong{max-width:60%;text-align:right;overflow-wrap:anywhere}@media(max-width:1100px){.prop-firms{grid-template-columns:repeat(3,minmax(0,1fr))}.prop-accounts{grid-template-columns:1fr}}@media(max-width:700px){.prop-firms{grid-template-columns:repeat(2,minmax(0,1fr))}.prop-wizard{grid-template-columns:1fr}.prop-steps{display:none}.prop-wizard-body{padding:18px}.prop-firms.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.prop-plan{padding:12px}.prop-plan>strong{font-size:22px}.prop-name{margin:15px auto}.prop-discover .card-head{flex-wrap:wrap;gap:15px}.prop-firm{padding:16px;min-height:140px}}
/* larpdesk signature studio and funding directory */
.share-template-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 18px 18px}.share-template{border:1px solid #303038;background:#151519;padding:6px;border-radius:13px;color:#e8e8ef;text-align:left;cursor:pointer;transition:border-color .2s,transform .2s}.share-template:hover{transform:translateY(-2px);border-color:#9696a3}.share-template.selected{border-color:#c3e6d4;box-shadow:0 0 0 1px #c3e6d433}.share-template b{font-size:11px;font-weight:500;padding:10px 4px 5px;display:block}.template-art{min-height:102px;border-radius:9px;padding:14px 10px;display:flex;flex-direction:column;justify-content:center;gap:12px;background:radial-gradient(ellipse at top right,#4b525740,transparent 80%),#090d12}.template-art small{font-size:6px;color:#a7b3ba;letter-spacing:.8px}.template-art strong{font-size:19px;color:var(--template-accent);font-weight:800;letter-spacing:-.6px}.template-art i{height:1px;width:70%;background:#ffffff26}.template-art.ledger{border-left:3px solid var(--template-accent);background:#142024}.template-art.phase1,.template-art.phase2{background:linear-gradient(120deg,#15171c,#262439)}.template-art.payout{background:linear-gradient(145deg,#081e17,#14171c)}.template-art.funded{background:linear-gradient(145deg,#211d17,#14171c)}.milestone-fields{padding:6px 18px 20px;border-top:1px solid #29292f}.milestone-fields h3{font-size:13px;margin:18px 0}.milestone-fields .field{margin-bottom:14px}.milestone-fields .field>span{font-size:11px}.milestone-fields input,.milestone-fields select{width:100%;min-width:0}.milestone-preview-pill{font-size:11px;color:#bdc9c2;line-height:1.5}.share-palettes{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 18px 20px}.share-palette{background:#141418;border:1px solid #303039;border-radius:12px;padding:14px 10px;color:#ddd;cursor:pointer;text-align:left}.share-palette.selected{border-color:#c3e6d4}.share-palette>span{display:flex;gap:5px;margin-bottom:12px}.share-palette i{width:16px;height:16px;border-radius:50%}.share-palette strong{font-weight:500;font-size:11px}.number-colors{padding:0 18px 15px}.number-colors label{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid #27272d;font-size:12px}.number-colors input{width:46px;height:34px;background:#141418;padding:3px;border:1px solid #3c3c45;border-radius:8px;cursor:pointer}.number-colors~p,.share-template-grid~p{margin:0;padding:0 18px 22px}.editor-tabs{flex-wrap:wrap}.editor-tabs button{flex:1;min-width:55px;font-size:11px;padding:16px 5px}.funding-dot{color:#b8d8ca}.firm-directory-controls{display:flex;align-items:flex-end;gap:14px;margin:15px 0 25px}.firm-directory-controls .field{margin:0;flex:1}.firm-directory-controls .btn{margin-bottom:1px;min-height:44px}.firm-directory{border-top:1px solid #37373d}.firm-directory-row{width:100%;display:grid;grid-template-columns:30px 48px minmax(130px,1fr) minmax(140px,auto) 65px 84px;align-items:center;gap:20px;color:#e9ecf0;background:transparent;border:0;border-bottom:1px solid #26272c;padding:23px 10px;text-align:left;cursor:pointer;transition:background .2s}.firm-directory-row:hover{background:#181b1f}.firm-directory-row:focus-visible,.share-template:focus-visible,.share-palette:focus-visible{outline:2px solid #b8d8ca;outline-offset:3px}.firm-directory-index{font-size:11px;color:#646c76;font-variant-numeric:tabular-nums}.firm-directory-name strong{font-size:15px;font-weight:600}.firm-directory-row small{display:block;color:#808c98;font-size:11px;margin-top:7px}.firm-directory-range strong{font-size:12px;font-weight:500}.firm-directory-count{font-size:18px;font-variant-numeric:tabular-nums;color:#b5c2ce}.firm-directory-count small{font-size:10px}.firm-directory-open{display:flex;gap:9px;align-items:center;font-size:11px;color:#bcd8cb}.prop-discover .card-head{border:0}.prop-flow{display:flex;flex-direction:column;height:min(860px,93vh)}.prop-flow .prop-steps{display:flex;flex-direction:row;gap:24px;align-items:center;border-right:0;border-bottom:1px solid #2d3036;padding:22px 60px 22px 26px;background:#0b1014}.prop-flow .prop-steps>.eyebrow{margin-right:12px;white-space:nowrap;font-size:10px}.prop-flow .prop-step{flex:1;gap:9px;min-width:0}.prop-flow .prop-step small{max-width:155px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px}.prop-flow .prop-steps>p{display:none}.prop-flow .prop-wizard-main{flex:1}.prop-flow .prop-wizard-main>header{padding:22px 28px;background:#101418}.prop-flow .prop-plans{grid-template-columns:1fr}.prop-flow .prop-plan{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:10px 20px;padding:20px 24px;border-radius:12px}.prop-flow .prop-plan>small{grid-column:1/-1;font-size:12px}.prop-flow .prop-plan>strong{margin:6px 0;font-size:25px;grid-column:1/2;grid-row:2/4;align-self:center}.prop-flow .prop-plan .rule-row{display:flex;flex-direction:column;align-items:flex-start;border:0;padding:0;gap:6px}.prop-flow .prop-plan .rule-row strong{font-size:13px}.prop-flow .prop-source-badge{grid-column:2/-1;margin:0}.prop-flow .prop-plan.selected{box-shadow:none;border-color:#b8d8ca;background:#14201d}.prop-flow .prop-groups .selected{background:#20312c;color:#d1e4db;border-color:#668b79}.prop-flow .prop-name{margin:15px auto;max-width:640px}@media(max-width:1100px){.firm-directory-row{grid-template-columns:38px minmax(120px,1fr) 110px 45px;gap:16px}.firm-directory-index,.firm-directory-open{display:none}.firm-directory-row .prop-logo{width:38px;height:38px}.firm-directory-range strong{font-size:10px}.prop-flow .prop-steps{gap:12px}.prop-flow .prop-steps>.eyebrow{display:none}}@media(max-width:650px){.firm-directory-controls{flex-wrap:wrap}.firm-directory-controls .field{min-width:130px}.firm-directory-row{grid-template-columns:38px minmax(100px,1fr) 45px}.firm-directory-range{display:none}.firm-directory-name strong{font-size:13px}.prop-flow .prop-step small{display:none}.prop-flow .prop-steps{padding:20px 45px 20px 15px;gap:8px}.prop-flow .prop-step strong{font-size:10px}.prop-flow .prop-plan{grid-template-columns:1fr 1fr;padding:18px}.prop-flow .prop-plan>strong{grid-column:1/-1;grid-row:auto}.prop-flow .prop-source-badge{grid-column:1/-1}.editor-tabs button{min-width:48px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.firm-directory-row,.share-template,.share-palette{transition:none}.share-template:hover{transform:none}}

@media(min-width:1001px){.curated-layout .editor-panel{position:sticky;top:24px}.curated-layout #panel-content{max-height:calc(100dvh - 210px);overflow-y:auto;overscroll-behavior:contain}}
/* Ambient workspace: video stays beneath the journal, not inside the stats. */
#workspace-scene{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:#07090c}#workspace-scene[hidden]{display:none}#workspace-scene>video,#workspace-scene>img{width:100%;height:100%;object-fit:cover;filter:blur(var(--scene-blur,0px));transform:scale(1.025)}#workspace-scene:after{content:'';position:absolute;inset:0;background:rgba(3,7,12,var(--scene-dim,.48))}body.has-scene{background:transparent;isolation:isolate}body.has-scene #app,body.has-scene main,body.has-scene .content{background:transparent}body.has-scene .sidebar{background:rgba(8,10,14,.86);backdrop-filter:blur(18px)}body.has-scene .topbar{background:rgba(8,10,14,.76);backdrop-filter:blur(18px)}body.has-scene .card,body.has-scene .metric,body.has-scene .suite-card,body.has-scene .suite-metric{background:rgba(9,13,19,.48)!important;backdrop-filter:blur(1px);border-color:#ffffff1f}body.has-scene .page-heading{text-shadow:0 2px 18px #000}body.has-scene .muted{color:#b7bec8}.scene-controls{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.scene-controls label{font-size:13px;color:#d6dbe2}.scene-controls input[type=range]{display:block;width:100%;margin-top:12px;accent-color:#a5dac4}.scene-controls input[type=checkbox]{accent-color:#a5dac4}.scene-controls output{float:right;color:#a5dac4}.scene-search{width:100%;padding:12px;border:1px solid #353a40;border-radius:10px;background:#12161b;color:white;margin-bottom:18px}.scene-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:390px;overflow:auto}.scene-tile{text-align:left;min-width:0;background:#11161c;border:1px solid #303740;border-radius:10px;padding:7px;color:#eef1f6;transition:border-color .18s,background .18s}.scene-tile.selected{border-color:#a5dac4;background:#1c2a28}.scene-tile img{width:100%;height:94px;object-fit:cover;border-radius:6px}.scene-tile span{display:block;font-size:11px;padding:9px 2px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scene-tile small{font-size:8px;letter-spacing:.8px;color:#a8b7c1}.scene-tile:focus-visible{outline:2px solid #a5dac4;outline-offset:2px}@media(max-width:650px){.scene-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar-right .local-status{display:none}}
/* Monthly recap: a quiet, full-bleed motion report. */
#modal.recap-modal{width:min(1120px,96vw);max-width:1120px;padding:26px;background:#0a0e0c}.recap-options{display:flex;gap:14px;margin:18px 0}.recap-options label{display:grid;gap:6px;font-size:12px;color:#a8b7af;flex:1}.recap-options input,.recap-options select{width:100%;min-width:0;background:#141b17;border:1px solid #2b3730;border-radius:8px;color:#edf5f0;padding:10px}.recap-stage{border:1px solid #283a2e;border-radius:18px;overflow:hidden;background:#080d0c}.recap-stage canvas{width:100%;display:block}.recap-stage.portrait{width:min(360px,100%);margin:auto}.recap-controls{display:flex;align-items:center;gap:12px;margin-top:16px}.recap-controls input{flex:1;min-width:50px;accent-color:#a9f0cc}.recap-controls span{font-size:12px;min-width:100px;color:#adbcaf}.recap-chapters{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.recap-chapters button{background:#121a15;color:#acb9af;border:1px solid #28372c;border-radius:20px;padding:8px 12px;font-size:11px;cursor:pointer}.recap-chapters button[aria-current=true]{background:#b7eed1;color:#132219}.recap-export{display:flex;align-items:center;gap:10px}.recap-export>span{flex:1;color:#9faea4;font-size:12px}.recap-modal button:disabled{opacity:.4;cursor:wait}.recap-modal :focus-visible{outline:2px solid #b7eed1;outline-offset:3px}@media(max-width:600px){#modal.recap-modal{padding:17px}.recap-options{flex-wrap:wrap}.recap-options label{flex-basis:40%}.recap-controls{flex-wrap:wrap}.recap-controls input{flex-basis:40%}.recap-export{flex-wrap:wrap}.recap-export>span{flex-basis:100%}.topbar-right .local-status{display:none}}
.recap-stage.landscape{width:min(100%,calc((100dvh - 480px)*16/9));min-width:250px;margin:auto}.recap-stage.portrait{width:min(360px,calc((100dvh - 360px)*9/16));min-width:180px}.recap-modal h2{margin-bottom:8px}@media(max-height:600px){.recap-stage.landscape{width:min(100%,550px)}.recap-stage.portrait{width:180px}}
.recap-stage:fullscreen{width:100vw!important;height:100dvh!important;max-width:none;border:0;border-radius:0;display:grid;place-items:center;background:#080d0c}.recap-stage.landscape:fullscreen canvas{width:min(100vw,177.77dvh)}.recap-stage.portrait:fullscreen canvas{height:100dvh;width:auto;max-width:100vw}

/* Share collection: typography matches the exported cards. */
@font-face{font-family:"Larp Display";src:url('/fonts/Poppins-Black.ttf') format('truetype');font-weight:900;font-display:swap}
.template-art strong{font-family:"Larp Display",Arial,sans-serif!important;font-weight:900;letter-spacing:-.04em}
.share-template{transition:border-color .18s ease,background .18s ease,transform .18s ease}
.share-template:hover{transform:translateY(-2px)}
.share-template.selected .template-art{background:radial-gradient(ellipse at 90% 0%,color-mix(in srgb,var(--template-accent) 20%,transparent),transparent 65%),#0a0d12}
@media(prefers-reduced-motion:reduce){.share-template{transition:none}.share-template:hover{transform:none}}

/* Restrained studio preset previews */
.template-art.session,.template-art.editorial,.template-art.terminal,.template-art.executive{background:linear-gradient(120deg,#080b0e,#20252b)!important;color:#e8eaed}.template-art.editorial{justify-content:flex-end;padding-bottom:14px}.template-art.executive{align-items:flex-end;text-align:right}.template-art.terminal strong{font-family:monospace}.share-template{min-height:44px}
