:root{--background:#f7f7f4;--surface:#fff;--surface-subtle:#f1f3ef;--ink:#17211b;--muted:#657168;--line:#dce2dc;--accent:#315f46;--accent-hover:#234532;--attention:#a84b31}*{box-sizing:border-box}html{background:var(--background)}body{color:var(--ink);background:var(--background);margin:0;font-family:Arial,Helvetica,sans-serif;line-height:1.5}a{color:inherit}button,input,select{font:inherit}.shell{min-height:100dvh}.topbar{justify-content:space-between;align-items:center;max-width:1240px;margin:auto;padding:22px 32px;display:flex}.brand{letter-spacing:-.02em;font-size:1.05rem;font-weight:700;text-decoration:none}.nav{color:var(--muted);align-items:center;gap:20px;font-size:.92rem;display:flex}.nav a{text-decoration:none}.nav a:hover{color:var(--ink)}.nav [aria-disabled=true],.mobile-nav [aria-disabled=true]{color:#a8b0aa;cursor:default}.add-content{color:var(--accent);font-weight:700}.main{width:min(100% - 64px,1176px);margin:auto;padding:56px 0 96px}.eyebrow{color:var(--accent);letter-spacing:.12em;text-transform:uppercase;margin:0 0 9px;font-size:.72rem;font-weight:700}h1,h2,h3{letter-spacing:-.035em;margin:0;line-height:1.12}h1{font-size:clamp(2.2rem,5vw,4rem)}h2{font-size:1.35rem}h3{font-size:1rem}.lede{max-width:640px;color:var(--muted);margin:14px 0 0;font-size:1.05rem}.button{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--ink);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:8px 14px;font-weight:700;text-decoration:none;display:inline-flex}.button-primary{border-color:var(--accent);color:#fff;background:var(--accent)}.button-primary:hover{background:var(--accent-hover)}.button-secondary:hover{border-color:#adb8ae}.upload-panel{margin:0}.upload-status,.detail-note,.empty-copy{color:var(--muted);margin:12px 0 0}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.hero{max-width:760px;padding:48px 0}.actions{flex-wrap:wrap;gap:12px;margin-top:30px;display:flex}.milestone-card,.empty-state,.workspace-empty{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin-top:40px;padding:28px}.milestone-card p:last-child,.workspace-empty p{color:var(--muted)}.sign-in-form{gap:18px;max-width:360px;margin-top:28px;display:grid}.sign-in-form label{gap:6px;font-weight:700;display:grid}.sign-in-form input{border:1px solid var(--line);border-radius:8px;min-height:44px;padding:9px 11px}.auth-card{max-width:560px;margin-left:auto;margin-right:auto}.auth-links{color:var(--muted);flex-direction:column;gap:8px;display:flex}.auth-links a{color:var(--accent);font-weight:700}.account-page{max-width:960px}.account-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:30px;display:grid}.account-message{background:#edf3ec;border-radius:9px;grid-column:1/-1;margin:0;padding:12px 14px}.account-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;align-content:start;gap:18px;padding:22px;display:grid}.account-form{gap:14px;display:grid}.account-form label{gap:6px;font-weight:700;display:grid}.account-form input{border:1px solid var(--line);border-radius:8px;width:100%;min-height:43px;padding:9px 10px}.account-form small,.owner-identity small,.session-list small{color:var(--muted)}.account-inline{grid-template-columns:minmax(0,1fr) auto;align-items:end}.owner-identity{align-items:center;gap:12px;display:flex}.owner-identity>span,.owner-identity>img{width:44px;height:44px;color:var(--accent);object-fit:cover;background:#edf3ec;border-radius:50%;flex:none;place-items:center;font-weight:700;display:grid}.owner-identity>div{min-width:0;display:grid}.session-list{display:grid}.session-list article{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.session-list article>div{min-width:0;display:grid}.session-list strong,.session-list small{overflow-wrap:anywhere}.account-danger p{color:var(--muted);margin:0}.owner-attribution{color:var(--muted);align-items:center;gap:8px;margin-top:10px;display:flex}.owner-attribution>span,.owner-attribution>img{width:28px;height:28px;color:var(--accent);object-fit:cover;background:#edf3ec;border-radius:50%;place-items:center;font-weight:700;display:grid}.owner-attribution strong{color:var(--ink)}.invitation-actions{gap:12px;display:flex}@media (max-width:767px){.account-grid,.account-inline{grid-template-columns:1fr}.auth-card{margin-top:12px;padding:22px}}.dashboard-header{justify-content:space-between;align-items:end;gap:28px;margin-bottom:34px;display:flex}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.dashboard-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;min-height:170px;padding:22px}.dashboard-card:last-child{grid-column:1/-1}.dashboard-card header{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px;display:flex}.dashboard-card .text-link{white-space:nowrap;margin-top:0}.dashboard-source{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding:12px 0;text-decoration:none;display:flex}.dashboard-source span{gap:2px;min-width:0;display:grid}.dashboard-source strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dashboard-source small{color:var(--muted)}.dashboard-source em{color:var(--accent);flex:none;font-size:.78rem;font-style:normal;font-weight:700}.dashboard-source em.attention{color:var(--attention)}.upload-progress{background:var(--surface-subtle);border-radius:999px;width:100%;height:6px;margin-top:12px;overflow:hidden}.upload-progress span{border-radius:inherit;background:var(--accent);height:100%;transition:width .15s;display:block}.opportunities-panel{gap:22px;display:grid}.opportunities-panel .moments-heading h2{max-width:620px}.opportunities-panel .moments-heading>div>p:not(.eyebrow),.opportunity-card>p{color:var(--muted)}.opportunity-find{justify-items:start;gap:8px;display:grid}.opportunity-find p{color:var(--muted);margin:0;font-size:.86rem}.opportunity-list{gap:14px;display:grid}.opportunity-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:10px;padding:21px;display:grid}.opportunity-card h3,.opportunity-card p{margin:0}.opportunity-card .tag-chips{margin-top:3px}.opportunity-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:3px;display:flex}.opportunity-actions .button{min-height:38px}@media (max-width:767px){.opportunities-panel .moments-heading{flex-direction:column}.opportunities-panel .moments-heading .opportunity-find,.opportunity-find .button{width:100%}.opportunity-card{padding:18px}.opportunity-actions .button{flex:1}.opportunity-actions .text-button{min-height:44px;padding:7px}}.transcript-heading{justify-content:space-between;align-items:end;gap:16px;display:flex}.copy-transcript{color:var(--muted);align-items:center;gap:10px;font-size:.85rem;display:flex}.library-header{justify-content:space-between;align-items:end;gap:28px;display:flex}.library-controls{gap:10px;margin:34px 0 18px;display:flex}.library-controls input,.library-controls select{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--ink);border-radius:8px;padding:8px 10px}.search-field{flex:1}.search-field input{width:100%}.source-library{border:1px solid var(--line);background:var(--surface);border-radius:12px;overflow:hidden}.library-table-header,.library-row{grid-template-columns:minmax(0,2.2fr) minmax(0,1fr) minmax(0,.8fr) minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:16px;padding:12px 18px;display:grid}.library-table-header{color:var(--muted);background:var(--surface-subtle);letter-spacing:.07em;text-transform:uppercase;font-size:.73rem;font-weight:700}.library-row{border-top:1px solid var(--line);color:var(--muted);font-size:.9rem;text-decoration:none}.library-row:hover{background:#fafbf9}.library-title{color:var(--ink);gap:3px;min-width:0;display:grid}.library-title strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.library-title small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.type-label{color:var(--muted);text-transform:capitalize}.status-pill{color:#536158;white-space:nowrap;background:#edf0ed;border-radius:999px;width:max-content;max-width:100%;padding:3px 7px;font-size:.75rem;font-weight:700;display:inline-flex}.status-pill.complete{color:#276041;background:#e5f1e8}.status-pill.attention{color:#934127;background:#f9e7e2}.library-cards{display:none}.source-workspace{max-width:1120px}.source-header{justify-content:space-between;align-items:start;gap:24px;padding-bottom:24px;display:flex}.back-link{color:var(--muted);margin-bottom:12px;font-size:.9rem;text-decoration:none;display:inline-block}.source-meta{color:var(--muted);text-transform:capitalize;flex-wrap:wrap;align-items:center;gap:7px;margin:13px 0 0;display:flex}.source-actions{flex-wrap:wrap;gap:10px;display:flex}.source-tabs{z-index:2;border-bottom:1px solid var(--line);background:var(--background);gap:20px;margin:0 -8px 28px;padding:12px 8px 10px;display:flex;position:sticky;top:0;overflow:auto}.source-tabs a{color:var(--muted);flex:none;padding:4px 0;font-size:.9rem;font-weight:700;text-decoration:none}.source-tabs a.active{color:var(--ink);border-bottom:2px solid var(--accent)}.overview-grid{grid-template-columns:minmax(0,1.6fr) minmax(270px,.85fr);align-items:start;gap:22px;display:grid}.overview-main,.overview-side{gap:18px;display:grid}.overview-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:22px}.overview-card>p:not(.eyebrow):not(.detail-note){color:var(--muted)}.summary-card h2{margin-bottom:14px}.summary-card>p{font-size:1.05rem}.notice{color:#76501e;background:#fff4df;border-radius:9px;margin:0;padding:12px 14px;font-size:.9rem}.grounded-items{gap:18px;display:grid}.grounded-items article+article{border-top:1px solid var(--line);padding-top:18px}.grounded-items h3{margin-bottom:7px}.grounded-items h3 span{color:var(--muted);letter-spacing:0;text-transform:capitalize;margin-left:7px;font-size:.76rem;font-weight:400;display:inline-block}.grounded-items p{color:var(--muted);margin:6px 0}.evidence{color:var(--muted);margin-top:9px;font-size:.8rem;display:block}.evidence a{color:var(--accent);font-weight:700}.transcript-preview p{color:var(--muted);grid-template-columns:54px 1fr;gap:10px;margin:12px 0;display:grid}.transcript-preview time,.segment time{color:var(--accent);font-variant-numeric:tabular-nums;font-weight:700}.text-link{color:var(--accent);margin-top:10px;font-size:.9rem;font-weight:700;display:inline-block}.secondary{color:var(--muted)}.secondary h2{color:var(--ink);font-size:1rem}.secondary ul{padding-left:20px}.secondary dl{grid-template-columns:1fr;gap:3px;margin:16px 0;font-size:.82rem;display:grid}.secondary dt{color:var(--ink);font-weight:700}.secondary dd{word-break:break-word;margin:0 0 8px}.transcript{gap:14px;display:grid}.segment{border-top:1px solid var(--line);grid-template-columns:62px minmax(0,1fr);gap:14px;padding:16px 4px;scroll-margin-top:72px;display:grid}.segment p{margin:0}.ideas-panel>p:not(.eyebrow){max-width:620px;color:var(--muted)}.candidate-list{gap:14px;margin-top:24px;display:grid}.candidate-list h3{margin:8px 0}.activity-panel ol{gap:14px;max-width:620px;padding:0;list-style:none;display:grid}.activity-panel li{border-bottom:1px solid var(--line);gap:3px;padding:15px 0;display:grid}.activity-panel span{color:var(--muted);font-size:.88rem}.moments-heading{justify-content:space-between;align-items:start;gap:20px;display:flex}.moments-heading>div>p:not(.eyebrow),.moment-card>p{color:var(--muted)}.moment-filters{gap:8px;margin:22px 0;display:flex}.moment-filters a{border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:7px 11px;font-size:.84rem;font-weight:700;text-decoration:none}.moment-filters a.active{border-color:var(--accent);background:var(--accent);color:#fff}.moment-list{gap:14px;display:grid}.moment-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:21px}.moment-card h3{margin:9px 0}.moment-card blockquote{border-left:3px solid var(--accent);background:var(--surface-subtle);color:#37443b;margin:14px 0;padding:10px 14px}.moment-card-heading,.moment-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.moment-actions{flex-wrap:wrap;justify-content:flex-start;font-size:.86rem}.moment-edit{gap:10px;margin-top:16px;display:grid}.moment-edit label{gap:5px;font-size:.86rem;font-weight:700;display:grid}.moment-edit input,.moment-edit textarea,.moment-edit select{border:1px solid var(--line);background:var(--surface);border-radius:7px;width:100%;padding:8px 9px}.moment-edit textarea{min-height:74px}.metadata-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin:0 0 28px;padding:20px 22px}.metadata-heading{justify-content:space-between;align-items:start;gap:16px;display:flex}.metadata-card dl{grid-template-columns:130px minmax(0,1fr);gap:10px 18px;margin:18px 0;display:grid}.metadata-card dt{color:var(--muted);font-weight:700}.metadata-card dd{white-space:pre-wrap;margin:0}.metadata-form{gap:15px;margin-top:18px;display:grid}.metadata-form label{gap:6px;font-weight:700;display:grid}.metadata-form input,.metadata-form textarea{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:8px;padding:9px 10px}.tag-chips,.bounded-tags{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.tag-chip{color:#315f46;white-space:nowrap;background:#edf3ec;border-radius:999px;align-items:center;gap:4px;padding:3px 7px;font-size:.76rem;font-weight:700;display:inline-flex}.tag-chip button{color:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:1rem;line-height:1}.text-button{color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0;font-weight:700}.form-actions{flex-wrap:wrap;gap:10px;display:flex}.mobile-filter-chips{display:none}.add-source-sheet{z-index:20;border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:8px;width:min(360px,100vw - 32px);padding:14px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 32px #17211b2e}.add-source-sheet>div{justify-content:space-between;display:flex}.add-source-sheet>div button{cursor:pointer;background:0 0;border:0;font-size:1.4rem}.source-choice{border:1px solid var(--line);background:var(--surface);color:var(--ink);text-align:left;cursor:pointer;border-radius:9px;gap:2px;padding:12px;text-decoration:none;display:grid}.source-choice span{color:var(--muted);font-size:.84rem}.upload-panel{position:relative}.text-source-form{max-width:760px}.text-source-form form{gap:18px;margin-top:28px;display:grid}.text-source-form label{gap:7px;font-weight:700;display:grid}.text-source-form input,.text-source-form textarea{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);border-radius:9px;padding:11px 12px}.metadata-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.field-hint{color:var(--muted);font-size:.82rem;font-weight:400}.sticky-form-actions{justify-content:flex-end;padding-top:4px;display:flex}@media (max-width:767px){.topbar{padding:18px 20px}.topbar .nav{display:none}.topbar .brand{font-size:1.12rem}.main{width:min(100% - 32px,680px);padding:28px 0 48px}.dashboard-header,.library-header{flex-direction:column;align-items:start;gap:16px;margin-bottom:22px}.dashboard-header .upload-panel,.library-header .upload-panel{display:none}.dashboard-grid{grid-template-columns:1fr}.dashboard-card:last-child{grid-column:auto}.library-controls{grid-template-columns:1fr;gap:10px;margin:18px 0 12px;display:grid}.library-controls select,.library-controls .button{display:none}.search-field{width:100%}.library-controls input{border-radius:999px;min-height:48px;padding:10px 16px}.mobile-filter-chips{scrollbar-width:none;gap:8px;width:calc(100% + 32px);margin:0 -16px 18px;padding:0 16px 4px;display:flex;overflow-x:auto}.mobile-filter-chips::-webkit-scrollbar{display:none}.mobile-filter-chips a{border:1px solid var(--line);background:var(--surface);color:var(--ink);white-space:nowrap;border-radius:999px;flex:none;padding:9px 13px;font-size:.84rem;font-weight:700;text-decoration:none}.mobile-filter-chips a.active{border-color:var(--accent);background:var(--accent);color:#fff}.library-table{display:none}.source-library{background:0 0;border:0;overflow:visible}.library-cards{gap:12px;display:grid}.source-mobile-card{border:1px solid var(--line);background:var(--surface);border-radius:14px;gap:12px;padding:16px;text-decoration:none;display:grid}.mobile-card-heading{grid-template-columns:38px minmax(0,1fr) 18px;align-items:start;gap:10px;display:grid}.mobile-card-heading>div{gap:3px;min-width:0;display:grid}.mobile-card-heading strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mobile-card-heading span:not(.source-type-icon):not(.card-menu),.source-mobile-card p{color:var(--muted);font-size:.84rem}.source-type-icon{width:36px;height:36px;color:var(--accent);background:#edf3ec;border-radius:10px;place-items:center;font-size:1.05rem;font-weight:800;display:grid}.card-menu{color:var(--muted);font-size:1.25rem;line-height:1}.source-mobile-card p{-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;display:-webkit-box;overflow:hidden}.card-statuses{flex-wrap:wrap;gap:7px;display:flex}.metadata-card{padding:18px}.metadata-card dl{grid-template-columns:1fr;gap:4px}.metadata-card dd{margin-bottom:10px}.metadata-heading{align-items:center}.metadata-form input,.metadata-form textarea{min-height:46px}.metadata-form .form-actions{bottom:var(--mobile-nav-height);z-index:5;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:#f7f7f4f5;margin:4px -18px -18px;position:sticky}.metadata-form .form-actions .button{flex:1;min-height:46px}.source-header{flex-direction:column;gap:14px}.source-actions{width:100%}.source-actions .button{flex:1}.source-tabs{gap:18px;margin-bottom:18px;top:0}.overview-grid{grid-template-columns:1fr}.overview-side{display:contents}.overview-card{padding:18px}.metadata-row{grid-template-columns:1fr}.text-source-form .lede{font-size:.96rem}.text-source-form textarea[name=body]{min-height:280px}.sticky-form-actions{bottom:var(--mobile-nav-height);z-index:5;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#f7f7f4f5;margin:0 -16px;position:sticky}.sticky-form-actions .button{width:100%;min-height:48px}.segment{grid-template-columns:78px minmax(0,1fr)}.transcript-heading{flex-direction:column;align-items:start}.add-source-sheet>div strong{font-size:1.2rem}.source-choice{border:0;border-bottom:1px solid var(--line);border-radius:0;min-height:64px;padding:13px 14px}.source-choice strong:before{width:34px;height:34px;color:var(--accent);content:"+";background:#eef5ef;border-radius:50%;place-items:center;margin-right:10px;display:inline-grid}}:root{--mobile-nav-height:calc(76px + env(safe-area-inset-bottom,0px));--upload-tray-height:min(560px,calc(100dvh - var(--mobile-nav-height) - 24px))}.main,.source-workspace,.source-library,.library-cards,.source-mobile-card,.source-header>div,.library-header>div,.library-row>*,.library-title>span,.metadata-card,.metadata-card dd,.metadata-form label,.overview-main,.overview-card,.search-field{min-width:0}.source-header h1,.metadata-card,.source-mobile-card,.library-row,.selection-cell,.overview-card,.segment p{overflow-wrap:anywhere}.source-mobile-card{grid-template-columns:minmax(0,1fr)}.source-mobile-card>a{min-width:0}.source-mobile-card>a strong{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.library-title strong,.library-title small{display:block}.library-controls,.source-actions,.metadata-heading{flex-wrap:wrap}.topbar{flex-wrap:wrap;gap:16px}.topbar-actions,.nav{flex-wrap:wrap}.source-actions{min-width:0}.source-header>.source-actions{flex-shrink:0}.library-controls input,.library-controls select,.metadata-form input,.metadata-form textarea,.metadata-form select{min-width:0;max-width:100%}.library-controls select{flex:0 auto}.library-controls .search-field{flex:180px}.tag-chip{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%}.source-tabs{max-width:calc(100% + 16px)}.mobile-nav{display:none}.mobile-icon{flex:none;width:22px;height:22px;display:block}.upload-tray{z-index:14;width:min(420px,100% - 32px);height:var(--upload-tray-height);border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:0;position:fixed;bottom:24px;right:24px;box-shadow:0 5px 24px #17211b29}.upload-tray-collapsed{width:auto;max-width:380px;height:auto;box-shadow:none;background:0 0;border:0;padding:0}.upload-tray-expanded{width:min(420px,100% - 32px);height:var(--upload-tray-height);max-height:var(--upload-tray-height);border:1px solid var(--line);background:var(--surface);border-radius:12px;flex-direction:column;padding:0;display:flex;overflow:hidden;box-shadow:0 5px 24px #17211b29}.upload-pill{border:1px solid var(--line);background:var(--surface);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:9999px;align-items:center;gap:10px;width:100%;padding:8px 14px 8px 10px;transition:box-shadow .15s,transform .15s;display:flex;box-shadow:0 6px 20px #17211b1f}.upload-pill:hover{transform:translateY(-1px);box-shadow:0 8px 26px #17211b2e}.upload-pill-previews{flex:none;align-items:center;display:flex}.upload-pill-thumb{border:2px solid var(--surface);width:28px;height:28px;color:var(--accent);background:#eef2ed;border-radius:7px;justify-content:center;align-items:center;margin-right:-8px;display:flex;position:relative;overflow:hidden}.upload-pill-thumb img{object-fit:cover;width:100%;height:100%}.upload-pill-content{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.upload-pill-title{color:var(--ink);white-space:nowrap;text-overflow:ellipsis;font-size:.82rem;font-weight:700;display:block;overflow:hidden}.upload-pill-progress-bar{background:#17211b14;border-radius:2px;width:100%;height:4px;overflow:hidden}.upload-pill-progress-bar span{background:var(--accent);height:100%;transition:width .2s;display:block}.upload-pill-chevron{width:28px;height:28px;color:var(--ink);cursor:pointer;background:#17211b0f;border:none;border-radius:9999px;flex:none;justify-content:center;align-items:center;display:flex}.upload-manager-panel{height:100%;max-height:inherit;flex-direction:column;min-height:0;display:flex}.upload-manager-handle{cursor:pointer;background:#17211b2e;border-radius:2px;flex:none;width:36px;height:4px;margin:8px auto 2px}.upload-manager-header{border-bottom:1px solid var(--line);flex:none;padding:8px 16px 12px}.upload-manager-heading{justify-content:space-between;align-items:center;font-size:.95rem;font-weight:700;display:flex}.upload-manager-collapse{width:32px;height:32px;color:var(--ink);cursor:pointer;background:#17211b0f;border:none;border-radius:9999px;justify-content:center;align-items:center;display:flex}.upload-manager-overall-progress{background:#17211b14;border-radius:2px;height:4px;margin-top:8px}.upload-bulk-actions{border-bottom:1px solid var(--line);background:#17211b05;flex:none;justify-content:space-between;align-items:center;gap:8px;padding:8px 16px;font-size:.78rem;display:flex}.upload-bulk-label{color:var(--muted);font-weight:600}.upload-role-segmented{background:#eaede8;border-radius:9999px;align-items:center;gap:2px;padding:2px;display:inline-flex}.upload-role-btn{color:var(--ink);opacity:.7;cursor:pointer;background:0 0;border:none;border-radius:9999px;padding:4px 12px;font-size:.75rem;font-weight:600;transition:background .15s,color .15s,opacity .15s}.upload-role-btn.active{background:var(--ink);color:#fff;opacity:1;box-shadow:0 1px 3px #00000026}.upload-tray-list{overscroll-behavior:contain;flex:1;min-height:0;margin:0;padding:0;list-style:none;overflow-y:auto}.upload-item-row{align-items:flex-start;gap:12px;padding:12px 16px;display:flex}.upload-item-row+.upload-item-row{border-top:1px solid var(--line)}.upload-item-thumb{border:1px solid var(--line);width:48px;height:48px;color:var(--accent);background:#edf2ec;border-radius:10px;flex:none;justify-content:center;align-items:center;display:flex;overflow:hidden}.upload-item-thumb img{object-fit:cover;width:100%;height:100%}.upload-item-thumb-fallback{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.upload-item-details{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.upload-item-title-row{align-items:center;gap:6px;min-width:0;display:flex}.upload-item-type-icon{color:var(--muted);flex:none;display:inline-flex}.upload-item-title-row .upload-filename{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;font-weight:700;overflow:hidden}.upload-item-details .upload-status{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:.76rem}.upload-item-progress-row{align-items:center;gap:8px;margin-top:4px;display:flex}.upload-item-progress-row .upload-progress{background:#17211b14;border-radius:2px;flex:1;height:4px;margin:0;overflow:hidden}.upload-item-percent{color:var(--muted);flex:none;font-size:.74rem;font-weight:700}.upload-item-role-selector{margin-top:6px;display:flex}.upload-item-actions{flex:none;align-items:center;gap:4px;margin-left:4px;display:flex}.upload-item-dismiss{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:9999px;justify-content:center;align-items:center;font-size:.9rem;display:flex}.upload-item-dismiss:hover{color:var(--ink);background:#17211b0f}.upload-error-detail{color:var(--attention);overflow-wrap:anywhere;margin:4px 0 0;font-size:.78rem}.upload-error-detail a{color:var(--accent);font-weight:700}.upload-manager-footer{border-top:1px solid var(--line);background:var(--surface);flex-direction:column;flex:none;gap:6px;padding:8px 16px;display:flex}.upload-footer-actions{justify-content:space-between;align-items:center;gap:8px;display:flex}.upload-footer-btn{align-items:center;gap:6px;min-height:36px;padding:6px 14px;font-size:.82rem;display:inline-flex}.upload-background-card{background:#f3f6f3;border:1px solid #17211b0f;border-radius:12px;align-items:center;gap:12px;padding:6px 10px;display:flex}.upload-background-icon{width:32px;height:32px;color:var(--accent);background:#fff;border-radius:8px;flex:none;justify-content:center;align-items:center;display:flex;box-shadow:0 1px 4px #17211b14}.upload-background-text strong{color:var(--ink);font-size:.8rem;font-weight:700;display:block}.upload-background-text p{color:var(--muted);margin:2px 0 0;font-size:.72rem;line-height:1.35}body:has(.upload-tray-expanded) .main{padding-bottom:calc(var(--upload-tray-height) + 56px)}body:has(.upload-tray-collapsed) .main{padding-bottom:calc(var(--mobile-nav-height) + 48px)}@media (max-width:767px){.main{padding-bottom:calc(var(--mobile-nav-height) + 32px)}.mobile-nav{z-index:15;height:var(--mobile-nav-height);padding:6px max(7px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left));background:#fffffdf7;border-radius:22px 22px 0 0;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;display:grid;position:fixed;inset:auto 0 0;box-shadow:0 -8px 30px #17211b1f}.mobile-nav a,.mobile-nav-more{min-width:0;min-height:54px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:0 2px;font-weight:700;text-decoration:none;display:flex}.mobile-nav small{white-space:nowrap;font-size:11px;line-height:1.1}.mobile-nav a[aria-current=page],.mobile-nav-more.active{color:var(--accent)}.mobile-nav .compact-add{justify-content:center;min-width:0;display:flex}.mobile-nav .compact-add .button{background:var(--accent);color:#fff;border:0;border-radius:50%;width:54px;height:54px;min-height:54px;padding:0;transform:translateY(-5px);box-shadow:0 7px 16px #315f464d}.mobile-nav .compact-add .mobile-icon{width:29px;height:29px}.mobile-nav .add-label{display:none}.mobile-menu-backdrop{z-index:50;background:#17211b70;align-items:flex-end;display:flex;position:fixed;inset:0}.mobile-action-sheet{width:100%;max-height:calc(100dvh - 20px);padding:10px max(18px,env(safe-area-inset-right)) calc(22px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));background:#fffefb;border-radius:24px 24px 0 0;overflow-y:auto;box-shadow:0 -10px 34px #17211b33}.mobile-sheet-handle{background:#aab4ac;border-radius:99px;width:40px;height:4px;margin:2px auto 15px}.mobile-action-sheet h2{margin:0;font-size:1.25rem}.mobile-sheet-heading{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.mobile-sheet-heading button{cursor:pointer;background:0 0;border:0;min-width:44px;min-height:44px;font-size:1.5rem}.mobile-sheet-actions>:is(a,button){border:0;border-top:1px solid var(--line);width:100%;min-height:66px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;grid-template-columns:28px minmax(0,1fr) 14px;align-items:center;gap:14px;padding:11px 2px;font-weight:700;text-decoration:none;display:grid}.mobile-sheet-actions .mobile-icon{color:var(--accent)}.mobile-sheet-actions>:is(a,button)>span{overflow-wrap:anywhere;gap:3px;min-width:0;font-size:.96rem;display:grid}.mobile-sheet-actions small{color:var(--muted);font-size:.76rem;font-weight:400;line-height:1.35}.mobile-sheet-actions b{color:var(--muted);font-size:1.35rem;font-weight:400}.upload-tray{right:12px;bottom:calc(var(--mobile-nav-height) + 8px);width:calc(100% - 24px);height:var(--upload-tray-height);z-index:14}.upload-tray-collapsed{z-index:14;width:calc(100% - 24px);max-width:420px;height:auto;box-shadow:none;background:0 0;border:0;margin:0 auto;left:12px;right:12px}.upload-tray-expanded{right:12px;bottom:calc(var(--mobile-nav-height) + 8px);width:calc(100% - 24px);height:var(--upload-tray-height);z-index:14;border-radius:12px}body:has(.upload-tray) .main{padding-bottom:calc(var(--mobile-nav-height) + var(--upload-tray-height) + 32px)}body:has(.upload-tray-collapsed) .main{padding-bottom:calc(var(--mobile-nav-height) + 56px)}body:has(.upload-tray) .metadata-form .form-actions{bottom:calc(var(--mobile-nav-height) + var(--upload-tray-height) + 16px)}body:has(.upload-tray) .sticky-form-actions{bottom:calc(var(--mobile-nav-height) + var(--upload-tray-height) + 16px)}body:has(.upload-tray-collapsed) .metadata-form .form-actions{bottom:calc(var(--mobile-nav-height) + 72px)}body:has(.upload-tray-collapsed) .sticky-form-actions{bottom:calc(var(--mobile-nav-height) + 72px)}.metadata-form input,.metadata-form textarea,.metadata-form select{font-size:16px}}.upload-role-backdrop{z-index:40;background:#17211b8a;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.upload-role-dialog{background:var(--surface);border-radius:16px;width:min(100%,480px);max-height:calc(100dvh - 36px);padding:24px;overflow:auto;box-shadow:0 18px 48px #17211b3d}.upload-role-dialog>p{overflow-wrap:anywhere;color:var(--muted)}.upload-role-dialog fieldset{border:0;gap:10px;margin:18px 0 0;padding:0;display:grid}.upload-role-dialog legend{margin-bottom:9px;font-weight:700}.upload-role-dialog fieldset label{border:1px solid var(--line);cursor:pointer;border-radius:9px;align-items:center;gap:10px;min-height:46px;padding:10px 12px;display:flex}.upload-role-dialog .form-actions{justify-content:flex-end;margin-top:22px}.metadata-form select{border:1px solid var(--line);background:var(--surface);width:100%;min-height:43px;color:var(--ink);border-radius:8px;padding:9px 10px}.video-preview{margin:0 0 22px}.video-preview video{background:#111;border-radius:12px;width:100%;max-height:540px;display:block}.video-preview-load{color:#fff;width:100%;min-height:240px;font:inherit;cursor:pointer;isolation:isolate;background:#17211b;border:0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:12px;font-weight:700;display:flex;position:relative;overflow:hidden}.video-preview-still{object-fit:contain;z-index:0;width:100%;height:100%;position:absolute;inset:0}.video-preview-still[hidden]{display:none}.video-preview-load:has(.video-preview-still:not([hidden])):before{content:"";z-index:1;background:linear-gradient(#0000,#00000080);position:absolute;inset:0}.video-preview-load span{z-index:2;position:relative}.video-preview-load:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.video-preview-play{color:#17211b;background:#fff;border-radius:50%;place-items:center;width:68px;height:68px;padding-left:4px;font-size:28px;display:grid}@media (max-width:767px){.upload-role-dialog{padding:20px}.upload-role-dialog .form-actions .button{flex:1;min-height:46px}}.source-header{padding-bottom:14px}.source-header h1{margin-bottom:0}.source-tabs{z-index:1;overscroll-behavior-inline:contain;scrollbar-width:thin;gap:6px;max-width:100%;margin:0 0 20px;padding:0 0 4px;position:relative;top:auto}.source-tabs a{white-space:nowrap;border-bottom:2px solid #0000;align-items:center;min-height:44px;padding:9px 12px;display:inline-flex}.source-tabs a.active{border-bottom-color:var(--accent)}.source-tabs a:focus-visible,.disclosure-trigger:focus-visible,.mobile-card-title:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.source-disclosures{gap:12px;margin-top:30px;display:grid}.source-disclosures .metadata-card{margin:0}.disclosure-trigger{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:16px;padding:0;list-style:none;display:flex}.disclosure-trigger::-webkit-details-marker{display:none}.disclosure-trigger span:first-child{gap:4px;min-width:0;display:grid}.disclosure-trigger strong{font-size:1rem}.disclosure-trigger small{color:var(--muted);text-transform:capitalize;font-size:.82rem;font-weight:400}.metadata-card .disclosure-trigger+div,.collection-memberships .metadata-heading{margin-top:18px}.metadata-card [hidden]{display:none}.library-archived{margin-top:4px;font-size:.75rem;display:block}.source-view-switch{border:1px solid var(--line);background:var(--surface-subtle);border-radius:11px;gap:4px;width:max-content;max-width:100%;padding:4px;display:flex}.source-view-switch a{color:var(--muted);border-radius:8px;padding:9px 14px;font-size:.9rem;font-weight:700;text-decoration:none}.source-view-switch a[aria-current=page]{background:var(--surface);color:var(--ink);box-shadow:0 1px 4px #1420181f}.visual-gallery{gap:16px;display:grid}.visual-gallery-hint{color:var(--muted);margin:0;font-size:.9rem}.visual-gallery-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:16px;display:grid}.visual-asset-card{border:1px solid var(--line);background:var(--surface);border-radius:13px;min-width:0;overflow:hidden}.visual-asset-preview{aspect-ratio:4/3;color:var(--accent);background:#e8ece7;display:block;position:relative;overflow:hidden}.visual-asset-image,.visual-asset-image img{object-fit:cover;place-items:center;width:100%;height:100%;display:grid}.visual-asset-image [role=img]{font-size:2rem}.visual-asset-video-badge{color:#fff;background:#111b14d1;border-radius:5px;padding:5px 8px;font-size:.74rem;font-weight:700;position:absolute;bottom:10px;right:10px}.visual-asset-info{gap:8px;min-width:0;padding:14px;display:grid}.visual-asset-title{color:var(--ink);overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-weight:750;text-decoration:none;display:-webkit-box;overflow:hidden}.visual-asset-meta{color:var(--muted);margin:0;font-size:.8rem}.visual-asset-tags{flex-wrap:wrap;gap:5px;min-height:24px;display:flex}.visual-asset-no-tags{color:var(--muted);font-size:.78rem}@media (max-width:767px){.source-view-switch{width:100%}.source-view-switch a{text-align:center;flex:1}.visual-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.visual-asset-info{padding:11px}.visual-asset-preview{aspect-ratio:1}.visual-asset-title{font-size:.87rem}.visual-gallery-hint{font-size:.83rem}.library-controls:has(input[name=view]){grid-template-columns:minmax(0,1fr) auto}.library-controls:has(input[name=view]) .button{min-height:48px;display:block}.library-controls:has(input[name=view]) .search-field{width:auto}}@media (max-width:359px){.visual-gallery-grid{gap:8px}.visual-asset-info{padding:9px}}@media (max-width:767px){.source-workspace{min-width:0}.source-header{gap:10px}.source-header h1{font-size:clamp(1.4rem,6vw,2rem);line-height:1.2}.source-meta{margin-top:8px}.source-actions .button{min-height:42px}.source-tabs{gap:2px;margin-bottom:16px;margin-left:0;margin-right:0;padding:0 0 4px}.source-tabs a{min-height:44px;padding:9px 11px}.source-mobile-card{gap:10px;padding:14px}.mobile-card-body{grid-template-columns:72px minmax(0,1fr);gap:12px;min-width:0;display:grid}.source-card-preview{width:72px;height:72px;color:var(--accent);background:#edf3ec;border-radius:10px;place-items:center;font-size:1.3rem;display:grid;overflow:hidden}.source-card-image{object-fit:cover;width:100%;height:100%}.mobile-card-content{align-content:start;gap:5px;min-width:0;display:grid}.mobile-card-title{color:var(--ink);min-width:0;text-decoration:none;display:block}.mobile-card-title strong{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.mobile-card-meta,.mobile-card-artifact{color:var(--muted);overflow-wrap:anywhere;font-size:.79rem}.card-statuses{gap:5px}.card-statuses .status-pill{white-space:normal}.mobile-card-summary{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.83rem;display:-webkit-box;overflow:hidden}.mobile-card-select{align-items:center;gap:8px;min-height:36px;display:flex}}@media (max-width:359px){.mobile-card-body{grid-template-columns:56px minmax(0,1fr);gap:10px}.source-card-preview{width:56px;height:56px}}.source-header h1{-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:100%;font-size:clamp(1.55rem,3vw,2.25rem);line-height:1.2;display:-webkit-box;overflow:hidden}@media (max-width:767px){.source-header h1{font-size:clamp(1.35rem,6vw,1.8rem)}.source-disclosures .metadata-form .form-actions{z-index:auto;background:0 0;margin:4px 0 0;padding:0;position:static}}.collection-memberships>summary:after{content:"⌄";color:var(--muted)}.collection-memberships[open]>summary:after{content:"⌃"}.quick-capture{width:min(100%,680px);margin:20px auto 0}.quick-capture form,.quick-context{gap:18px;margin-top:28px;display:grid}.quick-capture label,.quick-context label{gap:6px;min-width:0;font-weight:700;display:grid}.quick-capture input,.quick-capture select,.quick-capture textarea{border:1px solid var(--line);background:var(--surface);width:100%;min-width:0;min-height:46px;color:var(--ink);border-radius:9px;padding:10px 12px;font-size:16px}.quick-capture textarea{resize:vertical}.quick-capture .text-button{justify-self:start}.quick-context[hidden]{display:none}.capture-context-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;margin:18px 0;padding:18px}.capture-context-card dl{grid-template-columns:130px minmax(0,1fr);gap:8px 12px;display:grid}.capture-context-card dd{overflow-wrap:anywhere;margin:0}.capture-context-card form{gap:14px;margin-top:16px;display:grid}.capture-context-card label{gap:5px;font-weight:700;display:grid}.capture-context-card input,.capture-context-card select,.capture-context-card textarea{border:1px solid var(--line);border-radius:8px;width:100%;min-height:44px;padding:8px 10px;font-size:16px}@media (max-width:767px){.quick-capture{margin-top:16px}.quick-capture h1{font-size:2.3rem}.capture-context-card dl{grid-template-columns:1fr;gap:2px}.capture-context-card dd{margin-bottom:9px}}.quick-capture-actions{margin-top:6px;display:flex}.quick-capture-actions .button{width:100%;min-height:48px}
.moment-content-selector,.content-edit-card,.content-lineage{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:14px;padding:20px;display:grid}.moment-content-selector{margin:0 0 18px}.moment-selection-list{gap:8px;display:grid}.moment-selection-list label{border:1px solid var(--line);border-radius:8px;gap:10px;padding:10px;display:flex}.moment-selection-list span,.content-lineage li div{gap:3px;display:grid}.moment-selection-list small,.content-lineage small{color:var(--muted)}.content-create-form{gap:18px;max-width:720px;margin-top:28px;display:grid}.content-create-form fieldset{border:0;gap:14px;padding:0;display:grid}.format-options{flex-wrap:wrap;gap:9px;display:flex}.format-options label{border:1px solid var(--line);border-radius:999px;align-items:center;gap:7px;padding:10px 12px;font-weight:700;display:flex}.content-create-form label,.content-edit-card>label,.structured-fields>label,.slide-editor label{gap:6px;font-weight:700;display:grid}.content-create-form textarea,.content-edit-card input,.content-edit-card select,.content-edit-card textarea{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);font:inherit;border-radius:8px;padding:10px}.content-create-form textarea,.structured-fields textarea{min-height:110px}.content-editor-page{max-width:1080px}.content-editor-layout{grid-template-columns:minmax(0,1.5fr) minmax(260px,.7fr);align-items:start;gap:20px;margin-top:26px;display:grid}.content-edit-card,.structured-fields,.slide-editor{gap:14px;display:grid}.content-editor-heading{justify-content:space-between;gap:12px;display:flex}.slide-editor fieldset{border:1px solid var(--line);border-radius:9px;gap:10px;padding:14px;display:grid}.json-editor{min-height:340px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.82rem}.content-lineage ol{gap:12px;margin:0;padding:0;list-style:none;display:grid}.content-lineage li{gap:9px;display:flex}.content-lineage li>span{width:22px;height:22px;color:var(--accent);background:#e8f3ea;border-radius:50%;flex:none;place-items:center;font-size:.76rem;font-weight:700;display:grid}.content-lineage a{color:var(--accent)}.content-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.content-card{border:1px solid var(--line);background:var(--surface);min-height:160px;color:var(--ink);border-radius:12px;gap:9px;padding:18px;text-decoration:none;display:grid}.content-card h2,.content-card p{margin:0}.content-card p,.content-card small{color:var(--muted);font-size:.86rem}.content-card small{margin-top:auto}@media (max-width:767px){.mobile-nav{grid-template-columns:repeat(5,1fr)}.content-editor-layout,.content-grid{grid-template-columns:1fr}.content-edit-card,.content-lineage{padding:16px}.content-card{min-height:130px}}.content-editor-main,.content-edit-card,.content-reading,.content-preview-slides,.content-reading-section{min-width:0}.content-editor-main{gap:12px;display:grid}.content-mode-switch{border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:4px;width:max-content;max-width:100%;padding:4px;display:flex}.content-mode-switch button{min-width:96px;min-height:44px;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:8px 16px;font-weight:700}.content-mode-switch button[aria-selected=true]{background:var(--accent);color:#fff}.content-edit-card>label,.structured-fields label{gap:6px;min-width:0;font-weight:700;display:grid}.content-edit-card textarea{resize:none;overflow-wrap:anywhere;min-height:72px;display:block;overflow:hidden}.content-reading{gap:24px;display:grid}.content-reading-section h3,.content-preview-slide h3{margin:0 0 8px}.content-reading-section .content-prose,.content-preview-slide .content-prose{white-space:pre-wrap;overflow-wrap:anywhere;font-weight:400;line-height:1.65}.content-reading-section ul,.content-reading-section ol{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding-left:24px}.content-reading-section li+li{margin-top:8px}.content-preview-title{overflow-wrap:anywhere;margin:0}.content-preview-slides{gap:12px;display:grid}.content-preview-slide{border:1px solid var(--line);background:var(--surface);border-radius:10px;min-width:0;padding:16px}.content-preview-slide>.eyebrow{margin-bottom:8px;display:block}.content-preview-slide .content-reading-section{margin-top:14px}.content-save-message:empty{display:none}.content-save-message{margin:0}.content-editor-layout>*,.content-editor-heading>*{min-width:0}.content-editor-heading{flex-wrap:wrap}.content-lineage li div,.content-lineage strong,.content-lineage small{overflow-wrap:anywhere;min-width:0}.carousel-visual-preview{gap:16px;min-width:0;display:grid}.carousel-preview-navigation{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.carousel-preview-navigation strong{white-space:nowrap}.carousel-preview-navigation .button{min-height:44px}.carousel-preview-frame{aspect-ratio:4/5;border:1px solid var(--line);width:min(100%,480px);color:var(--ink);text-align:center;background:#f8f5ef;border-radius:10px;place-items:center;margin-inline:auto;display:grid;overflow:hidden}.carousel-preview-frame img{object-fit:contain;width:100%;height:100%;display:block}.carousel-preview-frame p{overflow-wrap:anywhere;padding:18px}.carousel-preview-strip{gap:8px;max-width:100%;padding:2px 2px 10px;display:flex;overflow-x:auto}.carousel-preview-strip button{border:1px solid var(--line);background:var(--surface);min-width:0;min-height:65px;color:var(--ink);font:inherit;text-align:left;overflow-wrap:anywhere;cursor:pointer;border-radius:8px;flex:0 0 116px;align-content:start;gap:5px;padding:9px;font-size:.8rem;display:grid}.carousel-preview-strip button[aria-current=true]{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}.render-fit-status{border:1px solid var(--line);background:#f8f5ef;border-radius:8px;padding:12px}.render-fit-status[data-ready=false]{background:#fff8ee;border-color:#bd7a3c}.render-fit-status p{margin:0;font-weight:700}.render-fit-status ul{margin:8px 0 0;padding-left:20px}@media (max-width:767px){.carousel-preview-navigation .button{padding-inline:9px;font-size:.85rem}.carousel-preview-navigation strong{text-align:center;order:-1;width:100%}}
.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.collection-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:20px;min-height:190px;padding:20px;text-decoration:none;display:grid}.collection-card:hover{border-color:#adb8ae}.collection-card h2{margin-top:6px}.collection-card p{color:var(--muted)}.collection-card-meta{color:var(--muted);justify-content:space-between;gap:8px;font-size:.84rem;display:flex}.collection-source-area,.collection-source-list{gap:16px;display:grid}.collection-source-list article{border:1px solid var(--line);background:var(--surface);border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:14px;display:flex}.collection-source-list a{font-weight:700}.collection-source-list span{color:var(--muted);font-size:.84rem}.source-order-actions{align-items:center;gap:5px;display:flex}.source-order-actions button{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:6px;padding:5px 8px}.source-order-actions button:disabled{opacity:.45;cursor:not-allowed}.collection-memberships ul{gap:8px;padding:0;list-style:none;display:grid}.collection-memberships li{justify-content:space-between;gap:8px;display:flex}.collection-memberships a{color:var(--accent);font-weight:700}.collection-memberships li span{color:var(--muted);text-transform:capitalize;font-size:.84rem}.membership-picker,.selection-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;display:flex}.membership-picker select,.selection-toolbar select{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:0;max-width:100%;min-height:40px;padding:8px}.selection-toolbar{border-bottom:1px solid var(--line);background:var(--surface-subtle);margin:0;padding:12px 18px}.selection-toolbar span{color:var(--muted);font-size:.86rem}.selection-cell{color:var(--ink);align-items:center;gap:9px;display:flex}@media (max-width:767px){.collection-grid{grid-template-columns:1fr}.collection-source-list article{flex-direction:column;align-items:flex-start}.collection-source-list .source-order-actions{width:100%}.collection-source-list .source-order-actions button:last-child{margin-left:auto}.selection-toolbar{border:1px solid var(--line);border-radius:12px;margin:0 0 10px;padding:12px}.selection-toolbar .button{min-height:42px}.source-mobile-card>a{text-decoration:none}.collection-memberships li{flex-direction:column;align-items:flex-start}}.collection-card,.collection-card-meta,.collection-source-heading>div,.collection-memberships{overflow-wrap:anywhere;min-width:0}.collection-card-meta{flex-wrap:wrap}.collection-source-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.collection-source-heading .opportunity-find{flex:0 0 260px}.collection-source-area#opportunities{border-top:1px solid var(--line);margin-top:40px;padding-top:28px}.collection-source-heading .detail-note{margin-top:12px}.selection-cell strong{overflow-wrap:anywhere;min-width:0}.source-order-actions button{min-width:44px;min-height:44px}.collection-memberships li>a{min-width:0}.collection-memberships li>span{flex:none}@media (max-width:767px){.collection-source-heading{flex-direction:column;gap:18px}.collection-source-heading .opportunity-find{flex:auto;width:100%}.collection-source-heading .opportunity-find .button{width:100%}.collection-source-area#opportunities{margin-top:32px;padding-top:24px}.selection-toolbar select{width:100%}}
.library-title{grid-template-columns:minmax(0,1fr);align-items:center}.library-title:has(.image-thumb){grid-template-columns:42px minmax(0,1fr)}.source-image{color:#315f46;background:#edf3ec;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);place-items:center;min-width:0;max-width:100%;display:grid;overflow:hidden}.source-image img{object-fit:cover;width:100%;min-width:0;max-width:100%;height:100%;min-height:0;display:block}.image-thumb{border-radius:7px;flex:none;width:38px;height:38px}.image-thumb.large{border-radius:10px;width:100%;height:132px}.source-mobile-card .image-thumb.large{max-width:100%}
.collection-source-list article{min-width:0}.collection-source-list .collection-image-thumb{border-radius:8px;flex:0 0 72px;width:72px;height:72px}.collection-source-list .collection-source-icon{width:36px;height:36px;color:var(--accent);background:#edf3ec;border-radius:9px;flex:0 0 36px;place-items:center;display:grid}.collection-source-copy{overflow-wrap:anywhere;flex:1;gap:6px;min-width:0;display:grid}.collection-source-copy a,.collection-source-copy span{display:block}.collection-source-copy a{line-height:1.4}.source-order-actions{flex-shrink:0}@media (max-width:767px){.collection-source-list .collection-image-thumb{flex-basis:64px;width:64px;height:64px}.collection-source-list article{grid-template-columns:64px minmax(0,1fr);align-items:start;display:grid}.collection-source-list .source-order-actions{grid-column:1/-1}}
.image-source-preview{border:1px solid var(--line);background:var(--surface-subtle);border-radius:12px;width:100%;min-width:0;margin:0 0 22px}.image-source-media{border-radius:12px 12px 0 0;width:100%;height:clamp(180px,58svh,640px)}.image-source-media img{object-fit:contain}.image-source-preview .detail-note{overflow-wrap:anywhere;margin:0;padding:12px 16px}@media (max-width:767px){.image-source-preview{border-radius:10px}.source-workspace .source-actions .button{min-height:44px;padding:6px 10px;font-size:.82rem}}
.moment-library-results{margin-top:20px}.moment-library-toolbar{color:var(--muted);justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;font-size:.9rem;display:flex}.moment-library-list{gap:14px;display:grid}.moment-library-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:21px}.moment-library-card h2{margin:10px 0 8px;font-size:1.2rem}.moment-library-card>p{color:var(--muted);margin:0}.moment-library-card blockquote{border-left:3px solid var(--accent);background:var(--surface-subtle);color:#37443b;margin:14px 0;padding:10px 14px}.moment-library-card .moment-why{margin-top:12px}.moment-library-card-heading{align-items:center;gap:10px;min-width:0;display:flex}.moment-library-card-heading .moment-actions{margin-left:auto}.moment-select{color:var(--muted);align-items:center;gap:5px;font-size:.82rem;font-weight:700;display:inline-flex}.moment-provenance{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;gap:6px 10px;margin-top:16px;padding-top:12px;font-size:.82rem;display:flex}.moment-provenance a{color:var(--accent);font-weight:700;text-decoration:none}.moment-pagination{justify-content:space-between;gap:12px;margin-top:22px;display:flex}.moment-pagination a:last-child{margin-left:auto}@media (max-width:767px){.moment-library-toolbar{flex-direction:column;align-items:stretch}.moment-library-toolbar .button{width:100%;min-height:46px}.moment-library-card{padding:16px}.moment-library-card-heading{flex-wrap:wrap;align-items:flex-start}.moment-library-card-heading .moment-actions{width:100%;margin-left:0}.moment-provenance{gap:6px;display:grid}.moment-pagination .button{flex:1}}
.topbar-actions{align-items:center;gap:20px;min-width:0;display:flex}.search-trigger{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--muted);cursor:pointer;white-space:nowrap;border-radius:8px;align-items:center;gap:8px;padding:7px 10px;display:flex}.search-trigger span{font-size:1.25rem;line-height:1}.search-trigger kbd{border:1px solid var(--line);border-radius:4px;margin-left:18px;padding:2px 5px;font-size:.72rem}.search-palette{border:1px solid var(--line);background:var(--surface);width:min(660px,100vw - 32px);max-height:min(82dvh,720px);color:var(--ink);border-radius:16px;margin:auto;padding:0;box-shadow:0 24px 80px #17211b38}.search-palette::backdrop{background:#1019146b}.search-palette-header,.search-palette-footer{justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.search-palette-header h2{font-size:1.1rem}.search-palette-input{border:1px solid var(--line);background:var(--background);width:calc(100% - 40px);min-height:50px;color:var(--ink);font:inherit;border-radius:9px;margin:0 20px;padding:10px 12px;display:block}.search-palette-scroll{min-height:140px;max-height:50dvh;padding:8px 12px 16px;overflow-y:auto}.search-palette-state{color:var(--muted);margin:18px 8px}.search-palette-group>p{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin:10px 8px 4px;font-size:.72rem;font-weight:700}.search-palette-option{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;gap:2px;padding:10px 12px;display:grid}.search-palette-option[aria-selected=true],.search-palette-option:hover{background:var(--surface-subtle)}.search-palette-option strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.search-palette-option span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.search-palette-footer{border-top:1px solid var(--line);color:var(--muted);font-size:.78rem}.search-palette-footer a{color:var(--accent);white-space:nowrap;font-weight:700}.search-page{max-width:920px}.search-page-form{gap:8px;margin-top:30px;font-weight:700;display:grid}.search-page-form>div{gap:10px;display:flex}.search-page-form input{border:1px solid var(--line);background:var(--surface);min-width:0;min-height:48px;color:var(--ink);font:inherit;border-radius:9px;flex:1;padding:10px 13px}.search-type-filters{flex-wrap:wrap;gap:8px;margin-top:20px;display:flex}.search-type-filters a{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:999px;padding:7px 12px;font-size:.86rem;font-weight:700;text-decoration:none}.search-type-filters a.active{border-color:var(--accent);background:var(--accent);color:#fff}.search-page-results{gap:30px;margin-top:32px;display:grid}.search-page-results h2{margin-bottom:12px}.search-result-list{gap:10px;display:grid}.search-result-card{border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:17px 19px}.search-result-card>a:first-child{gap:3px;min-width:0;text-decoration:none;display:grid}.search-result-card strong{overflow-wrap:anywhere}.search-result-card span,.search-result-card p{color:var(--muted);font-size:.86rem}.search-result-card p{overflow-wrap:anywhere;margin:6px 0 0}.search-evidence-link{color:var(--accent);margin-top:9px;font-size:.82rem;font-weight:700;display:inline-block}.moment-card{scroll-margin-top:80px}@media (max-width:767px){.topbar-actions .nav{display:none}.search-trigger{min-height:44px}.search-trigger kbd{display:none}.search-palette{border:0;border-radius:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0}.search-palette[open]{flex-direction:column;display:flex}.search-palette-header,.search-palette-footer{padding:16px}.search-palette-input{width:calc(100% - 32px);margin:0 16px}.search-palette-scroll{flex:1;min-height:0;max-height:none}.search-palette-footer{margin-top:auto}.search-page-form>div{display:grid}.search-page-form button{min-height:46px}.search-result-card{padding:15px}}
.opportunity-inbox-list{gap:14px;display:grid}.opportunity-inbox-card{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:14px;padding:22px;display:grid}.opportunity-inbox-heading{justify-content:space-between;align-items:start;gap:16px;display:flex}.opportunity-inbox-heading h2{margin-top:9px}.opportunity-inbox-heading>strong{color:var(--accent);background:#edf3ec;border-radius:8px;flex:none;padding:6px 8px;font-size:.85rem}.opportunity-angle{color:var(--muted);margin:0;font-size:1.02rem}.opportunity-triage{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;display:grid}.opportunity-triage dt{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:.76rem;font-weight:700}.opportunity-triage dd{margin:4px 0 0}.opportunity-grounding{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;gap:7px 15px;padding-top:12px;font-size:.86rem;display:flex}.opportunity-grounding a{color:var(--accent);font-weight:700;text-decoration:none}.opportunity-grounding span{flex-wrap:wrap;gap:5px;display:flex}@media (max-width:767px){.opportunity-inbox-card{padding:17px}.opportunity-triage{grid-template-columns:1fr;gap:11px}.opportunity-controls+.mobile-filter-chips{margin-bottom:14px}}.opportunity-inbox-card,.opportunity-inbox-heading>div,.opportunity-triage>div,.opportunity-grounding,.opportunity-grounding>*{overflow-wrap:anywhere;min-width:0}.opportunity-inbox-list{grid-template-columns:minmax(0,1fr)}
