/* Adapted from the user-supplied culture-fit-checker interface. */
:root{--bg:oklch(.988 .004 35);--paper:#fff;--ink:oklch(.28 .018 24);--muted:oklch(.53 .025 24);--green:oklch(.56 .17 24);--accent:oklch(.66 .17 38);--wine:oklch(.43 .13 18);--lime:oklch(.965 .015 28);--soft:oklch(.965 .008 30);--line:oklch(.45 .06 25 / 14%);--radius:10px;--card-shadow:0 8px 24px -16px oklch(.42 .08 25 / 22%);font-family:Inter,system-ui,sans-serif;color:var(--ink);background:var(--bg)}
body{font-size:14px;line-height:1.55}h1{font-size:29px;letter-spacing:-.8px}h2{font-size:20px;letter-spacing:-.45px}h3{letter-spacing:-.2px}.eyebrow{font-size:10px;letter-spacing:1.4px}.icon{stroke-width:1.5}.meta{font-size:12px}::selection{background:color-mix(in oklab,var(--accent) 22%,transparent)}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.sidebar{width:244px;padding:33px 20px;background:var(--paper);border-color:var(--line)}.workspace{margin-left:244px}.brand{gap:10px;margin:0 8px 36px}.brand-mark{width:33px;height:38px;border-radius:7px;color:white}.brand-title{font-size:21px;letter-spacing:-.7px;line-height:1.15}.brand-title small{font-size:8px;letter-spacing:1.8px;color:var(--muted);margin-top:9px}.nav-list{gap:5px}.nav-button{padding:12px 14px;font-size:12px;border-radius:7px;color:var(--muted)}.nav-button .icon{width:18px;height:18px}.nav-button.active{color:var(--green);background:var(--lime)}.nav-button:hover:not(.active){background:var(--soft)}.sidebar-bottom{padding:26px 12px 0}.sidebar-bottom button{font-size:12px;margin-bottom:19px}.signature{font-size:9px;letter-spacing:1.5px;border-color:var(--line);color:var(--muted)}
.topbar{height:76px;background:color-mix(in srgb,var(--bg) 95%,transparent);padding:0 38px;border-color:var(--line)}.project-switch{font-size:12px;gap:9px}.project-icon{width:32px;height:32px;border-radius:6px;background:var(--soft);color:var(--green)}.project-icon .icon{width:17px}.project-switch strong{font-weight:500}.top-tools{gap:14px}.local-state{font-size:10px}.dot{background:var(--green)}.avatar,.top-reference{border-radius:6px;color:var(--green);background:transparent}.avatar:hover,.top-reference:hover{background:var(--soft)}.badge{border-radius:5px;font-size:10px;font-weight:500;background:var(--soft);color:var(--wine)}.badge.demo{background:#fff2dc;color:#725426}.badge.purple,.instrument-banner.research .badge{background:var(--lime);color:var(--wine)}.instrument-banner{font-size:10px;margin:0 0 20px;gap:8px;color:var(--muted)}.instrument-banner.research{border:0;padding:0}.instrument-banner.research>span:last-child{font-size:10px}.mobile-masthead{display:none}
main{max-width:1350px;padding:30px 38px 55px}.page-head{margin-bottom:22px;align-items:center}.page-head h1{font-weight:600}.btn{border-radius:6px;font-size:12px;padding:10px 16px;min-height:42px;background:var(--green);box-shadow:var(--card-shadow);gap:8px}.btn:hover{background:var(--wine);transform:translateY(-1px)}.btn .icon{width:17px;height:17px}.btn.ghost{border-color:var(--line);background:var(--paper);box-shadow:none}.btn.ghost:hover{background:var(--soft)}.btn.secondary{background:var(--lime);color:var(--wine)}.btn.lime{background:var(--green);color:white}.btn.lime:hover{background:var(--wine)}.btn.small{font-size:11px;min-height:38px}.text-button{color:var(--green);font-size:12px;font-weight:500}.icon-btn{border-radius:6px;border-color:var(--line);width:36px;height:36px}.panel{border-radius:var(--radius);padding:24px;border-color:var(--line);background:var(--paper);box-shadow:var(--card-shadow)}.section-head{margin-bottom:16px}.section-head h2{font-size:20px}.section-head>.meta{font-size:11px}
.overview-top{grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:22px;margin-bottom:24px}.project-hero{background:var(--paper);color:var(--ink);padding:28px;min-height:218px;grid-template-columns:minmax(0,1fr) 115px;gap:20px;align-items:center}.project-hero h2{font-size:24px;letter-spacing:-.5px;margin:10px 0 6px;line-height:1.3}.project-hero .eyebrow{color:var(--green);font-size:9px}.project-hero .muted{color:var(--muted);font-size:13px;margin:0}.project-hero .hero-actions{margin-top:23px}.progress-ring{width:112px;height:112px}.progress-ring svg circle:first-child{stroke:color-mix(in srgb,var(--green) 10%,white)}.progress-ring svg circle:last-child{stroke:var(--accent)}.progress-ring strong{font-size:26px;font-weight:600;color:var(--green);letter-spacing:-.8px}.progress-ring small{color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.8px;margin-top:5px}
.study-kit{display:flex;min-height:160px;background:var(--paper);position:relative;text-align:left;width:100%;border-radius:10px}.study-kit img{position:absolute;left:auto;right:0;width:40%;height:100%;object-position:50% 58%;opacity:.9;border-left:1px solid var(--line);transition:opacity .3s,transform .5s}.study-kit:hover img{opacity:1;transform:scale(1.03)}.study-kit .kit-action{position:static;background:none;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;margin:0;padding:24px;width:60%;height:100%}.study-kit .kit-action strong{font-size:18px;letter-spacing:-.4px;max-width:160px;font-weight:600;line-height:1.3}.study-kit .kit-action small{font-size:11px;line-height:1.6;max-width:165px}.study-kit .kit-action>.icon,.study-kit .kit-action>.icon-btn{position:absolute;right:calc(20% - 16px);top:calc(50% - 16px);height:32px;width:32px;border:0;border-radius:50%;padding:7px;background:#ffffffdc;color:var(--green)}
.research-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 24px}.research-shortcuts button{display:flex;flex-direction:column;gap:10px;border:1px solid var(--line);border-radius:6px;background:var(--paper);box-shadow:var(--card-shadow);padding:16px 10px;color:var(--muted);font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;min-height:72px}.research-shortcuts button:hover{background:var(--soft);border-color:var(--accent)}.research-shortcuts svg{display:none}.research-shortcuts button::after{content:'';width:6px;height:6px;background:var(--green);border-radius:50%}.research-shortcuts button:nth-child(2)::after{background:var(--accent)}.research-shortcuts button:nth-child(3)::after{background:var(--muted);opacity:.5}
.stat-strip{background:none;border:0;border-top:1px solid var(--line);border-radius:0;gap:22px;padding-top:19px;margin:0 0 31px}.stat{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:0}.stat+.stat{border:0}.stat>.icon{display:none}.stat>strong{font-size:26px;line-height:1;font-weight:600;letter-spacing:-1px;color:var(--green)}.stat:nth-child(2)>strong{color:var(--accent)}.stat>span{font-size:9px;letter-spacing:.7px;text-transform:uppercase;line-height:1.5;max-width:170px}
.category-grid,.category-grid.research-modules{display:grid;grid-template-columns:1fr;gap:0;counter-reset:module-index;margin-bottom:30px;border-top:1px solid var(--line)}.category-card,.research-modules .category-card{counter-increment:module-index;display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:16px;align-items:center;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent;padding:19px 7px}.category-card::before{content:counter(module-index,decimal-leading-zero);color:var(--muted);font-size:10px;font-weight:500}.category-card:hover{transform:none;background:var(--soft)}.category-card .category-icon,.research-modules .category-icon{display:none}.category-card h3,.research-modules .category-card h3{grid-column:2;grid-row:1;font-size:14px;font-weight:500;min-height:0;margin:0}.category-card>.track{display:none}.category-card .meta,.research-modules .category-card .meta{grid-column:3;grid-row:1;display:flex;align-items:center;gap:12px;font-size:10px;margin:0;max-width:none}.category-card .meta::after{content:'↗';font-size:18px;color:var(--green)}.evaluator-label{font-size:10px;color:var(--muted)}
.overview-bottom{grid-template-columns:1.3fr 1fr;gap:22px}.overview-bottom .panel{padding:23px}.adaptation-preview{padding:15px 0}.adaptation-preview strong{font-size:13px;font-weight:500}.adaptation-preview .meta{font-size:10px}.context-numbers button{background:var(--soft);border-radius:6px;font-size:11px}.context-numbers strong{color:var(--green);font-weight:500}.note-preview .note-symbol{background:var(--soft);border-radius:6px;color:var(--green)}.device-note{color:var(--muted)}
input,textarea,select{background:var(--paper);border-color:var(--line);border-radius:6px;font-size:14px;padding:12px;color:var(--ink)}label.field-label{font-size:12px;font-weight:500;margin-top:19px}textarea{min-height:110px}input:hover,textarea:hover,select:hover{border-color:color-mix(in srgb,var(--green) 30%,var(--line))}.choice-chips label{border-radius:5px;background:var(--paper);font-size:11px;padding:10px;border-color:var(--line)}.choice-chips label:has(input:checked){background:var(--lime);border-color:var(--green)}.choice-chips input{accent-color:var(--green)}.step-tabs button{background:var(--paper);border-color:var(--line);border-radius:6px;color:var(--muted)}.step-tabs button.active{background:var(--green);color:white;border-color:var(--green)}.context-form h2{font-size:20px}.entity-grid{gap:17px}.entity-grid h3{font-size:16px}.entity-grid .panel>.section-head>.icon{color:var(--green)}.entity-grid dt{font-size:10px;letter-spacing:.5px;text-transform:uppercase}.entity-grid dd{font-size:13px}
.question-panel,.research-question{max-width:950px}.question-title{padding:24px 0}.question-title h2,.research-question .question-title h2{font-size:24px;line-height:1.5;font-weight:500;letter-spacing:-.5px;min-height:0}.category-pill{border-radius:5px;background:var(--soft);color:var(--wine)}.answer{border-radius:7px;border-color:var(--line);background:var(--paper)}.research-answers .answer{font-size:12px;min-height:55px}.research-answers .answer.selected{background:color-mix(in srgb,var(--response-color) 9%,white)}.answer:hover{box-shadow:var(--card-shadow)}.question-dot{border-radius:5px}.question-dot.current{outline-color:var(--green)}.map-item.selected{background:var(--lime);color:var(--wine)}.map-item:hover{background:var(--soft)}.field-attachments{margin-top:20px}.field-attachments .btn{font-size:11px}.field-bottom-hint{font-size:11px;color:var(--muted)}.field-navigation{background:color-mix(in srgb,var(--bg) 97%,transparent)}.method-note{background:var(--soft);color:var(--muted);border-radius:7px;padding:16px;font-size:12px}.method-note summary{font-weight:500}.field-details summary{font-size:12px;font-weight:500}.note-card{border-radius:10px;background:var(--paper)}.segmented{background:var(--soft);border-radius:7px;padding:4px}.segmented button{font-size:12px;border-radius:4px}.segmented button.active{background:var(--paper);color:var(--green);box-shadow:var(--card-shadow)}
.before-after>div{border:1px solid var(--line);border-radius:6px;background:var(--bg)}.before-after>div:last-child{background:var(--lime)}.before-after small{font-size:9px;letter-spacing:.8px}.before-after>span{color:var(--accent)}.adaptation-card>h2{font-size:22px;font-weight:500}.adaptation-meta{font-size:11px}.participation-cell{border-radius:5px;background:var(--lime);color:var(--wine)}.timeline-entry{border-color:var(--accent)}.record-details dt{color:var(--muted);font-size:10px}.record-details dd{font-size:13px}
.result-stats{gap:18px}.result-stats .panel{background:var(--paper)}.result-stats .eyebrow{font-size:9px;letter-spacing:.8px}.result-stats strong{font-size:34px;color:var(--green);font-weight:500}.result-stats strong small{color:var(--muted)}.result-stats p{margin-bottom:0}.distribution-list{gap:20px}.distribution-list>div{font-size:12px}.distribution-list .track{height:8px;background:var(--soft)}.track{background:var(--soft)}.source-counts>span,.functional-summary>span{border-color:var(--line);border-radius:6px;font-size:11px}.source-counts strong,.functional-summary strong{font-weight:500;font-size:24px;color:var(--green)}.results-table th,.results-table td{border-color:var(--line)}.results-table .table-domain th{background:var(--soft)}.report-identification{font-size:13px}.results-table th[scope=row]{line-height:1.5}.research-result-section .results-table thead th{font-size:9px}.research-result-section h2{font-size:19px}.discussion-panel textarea{font-size:14px}.reference-intro{background:var(--lime);color:var(--wine);border:1px solid var(--line);border-radius:10px}.reference-intro .eyebrow,.reference-intro p{color:var(--muted)}.reference-symbol{border-color:var(--accent);box-shadow:4px 4px 0 color-mix(in srgb,var(--accent) 15%,white)}.reference-symbol .icon{color:var(--green)}.reference-intro h2{font-size:25px}.source-shortcuts a{border-radius:7px}.source-shortcuts a>span{color:var(--green);font-size:20px}.source-shortcuts a:hover{background:var(--soft)}.reference-search{border-radius:6px}.reference-card h3{font-size:16px;font-weight:500}.reference-authors{color:var(--muted)}.guide-facts{border-radius:7px;background:var(--soft)}
dialog{border-radius:12px;background:var(--paper);border-color:var(--line);box-shadow:0 24px 80px #4c242426}dialog::backdrop{background:#34232966;backdrop-filter:blur(4px)}.modal-body{padding:28px}.modal-head h2{font-size:22px;font-weight:500}.modal-body p{font-size:12px;line-height:1.7}.version-choices>button{border-radius:8px;background:var(--bg);border-color:var(--line);padding:21px}.version-choices>button:hover{background:var(--lime)}.version-choices h3{font-size:17px}.version-choices strong{color:var(--wine);font-size:11px}.toast{background:var(--wine);font-size:12px;border-radius:7px}.save-error{background:#842d39}.assessment-option{font-size:13px}.assessment-option p{font-size:11px}.previous-demos{margin-top:20px;color:var(--muted)}.previous-demos summary{font-size:12px;font-weight:500}.previous-demos .assessment-option{opacity:.85}
.welcome{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(220px,.85fr);gap:48px;align-items:center;min-height:calc(100dvh - 185px);max-width:1050px;margin:auto}.welcome-copy>.eyebrow{color:var(--green)}.welcome h1{font-size:clamp(32px,3.4vw,48px);letter-spacing:-1.6px;line-height:1.16;font-weight:500;margin:20px 0}.welcome h1 em{font-style:normal;color:var(--green)}.welcome-intro{max-width:400px;font-size:14px;color:var(--muted);line-height:1.8;margin-bottom:28px}.welcome-actions{display:flex;gap:12px;flex-wrap:wrap}.welcome-actions .btn{min-height:45px}.welcome-storage{border-top:1px solid var(--line);margin-top:35px;padding-top:19px;max-width:395px;display:flex;gap:12px;color:var(--muted);font-size:11px;line-height:1.7}.welcome-storage .icon{color:var(--green);width:19px}.welcome-image{position:relative;border-radius:12px;overflow:hidden;aspect-ratio:4/5;max-height:570px;background:var(--soft)}.welcome-image img{width:100%;height:100%;object-fit:cover}.welcome-image figcaption{position:absolute;left:20px;right:20px;bottom:20px;padding:16px;background:#fffdf9ed;border:1px solid #ffffff94;border-radius:7px;font-size:11px;color:var(--wine);letter-spacing:.2px}.welcome-image figure{margin:0}.first-use-note{font-size:11px;color:var(--muted);margin-top:20px}.app-empty .mobile-nav{display:none}
@media(min-width:1600px){main{padding-top:37px}.project-hero{min-height:235px}}
@media(max-width:1150px){.sidebar{width:205px;padding:30px 14px}.workspace{margin-left:205px}main{padding:27px}.topbar{padding:0 27px}.overview-top{grid-template-columns:1.5fr 1fr;gap:18px}.project-hero{padding:24px;grid-template-columns:minmax(0,1fr) 100px}.progress-ring{width:100px;height:100px}.project-hero h2{font-size:21px}.study-kit .kit-action{padding:20px;width:58%}.study-kit img{width:42%}.study-kit .kit-action strong{font-size:16px}.welcome{gap:27px}.welcome-image{margin:0}}
@media(max-width:760px){
 .sidebar{display:none}.workspace{margin:0}.mobile-masthead{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:26px 20px 19px;border-bottom:1px solid var(--line);background:var(--bg)}.mobile-masthead .eyebrow{display:block;font-size:9px;letter-spacing:1.4px;color:var(--green);margin-bottom:6px}.mobile-masthead strong{font-size:20px;font-weight:600;letter-spacing:-.7px;line-height:1.3;display:block;max-width:285px}.mobile-masthead .icon-btn{flex:none;width:35px;height:35px;color:var(--green);box-shadow:var(--card-shadow)}
 .topbar{height:51px;padding:0 20px;position:sticky;top:0;gap:12px;background:color-mix(in srgb,var(--bg) 95%,transparent);backdrop-filter:blur(14px)}.project-switch{font-size:11px;gap:7px}.project-switch strong{max-width:190px}.project-icon{width:24px;height:25px;border-radius:4px;background:var(--soft);color:var(--green)}.project-icon .icon{width:15px}.project-switch>.icon{width:13px}.top-tools{gap:8px}.top-tools .avatar{display:grid;width:26px;height:30px}.top-tools .avatar .icon,.top-reference .icon{width:17px;height:17px}.top-reference{padding:4px}.top-tools .local-state,.top-tools .badge{display:none}
 main{padding:22px 20px 105px;max-width:560px}.instrument-banner{margin:0 0 22px;gap:7px;font-size:9px}.instrument-banner .badge{font-size:9px;padding:3px 6px}.instrument-banner.research>span:last-child{font-size:9px}.page-head{margin-bottom:18px;gap:12px;align-items:center}.page-head h1{font-size:21px;letter-spacing:-.5px}.page-head>[data-action=new]{display:none}.page-head>.btn{height:36px;width:36px;min-height:36px;min-width:36px;border-radius:6px}.page-head>.btn .icon{width:17px;height:17px}.section-head{gap:12px}.section-head h2{font-size:20px;letter-spacing:-.45px}.panel{padding:21px;border-radius:9px}.btn{font-size:12px;padding:10px 14px;min-height:42px}.overview-top{display:block;margin-bottom:23px}.project-hero{min-height:198px;padding:22px;grid-template-columns:minmax(0,1fr) 94px;gap:16px;border-radius:9px;align-items:start}.project-hero .eyebrow{font-size:8px;letter-spacing:1px}.project-hero h2{font-size:18px;font-weight:500;letter-spacing:-.3px;margin:8px 0 6px;line-height:1.35}.project-hero .muted{font-size:12px;line-height:1.5}.project-hero .hero-actions{margin-top:20px}.project-hero .btn{font-size:10px;padding:10px 12px;min-height:38px;gap:7px}.project-hero .btn .icon{width:15px}.progress-ring{width:94px;height:94px;align-self:center}.progress-ring strong{font-size:24px;letter-spacing:-.9px}.progress-ring small{font-size:7px;letter-spacing:.5px;margin-top:5px}.study-kit{display:flex;margin-top:22px;min-height:112px;height:112px;border-radius:9px}.study-kit img{width:36%;height:100%;object-position:50% 52%}.study-kit .kit-action{height:100%;width:64%;padding:20px;gap:6px}.study-kit .kit-action strong{max-width:180px;font-size:16px;line-height:1.3}.study-kit .kit-action small{font-size:10px;max-width:175px;line-height:1.5}.study-kit .kit-action>.icon,.study-kit .kit-action>.icon-btn{right:calc(18% - 15px);width:30px;height:30px;top:calc(50% - 15px);padding:7px}
 .research-shortcuts{gap:10px;margin-bottom:25px}.research-shortcuts button{font-size:8px;letter-spacing:.5px;padding:12px 7px;min-height:71px;line-height:1.5;gap:9px;border-radius:6px}.stat-strip{gap:24px;padding-top:18px;margin-bottom:29px}.stat{padding:0;gap:6px}.stat>strong{font-size:25px;line-height:1}.stat>span{font-size:8px;line-height:1.5;letter-spacing:.55px;margin:0}.category-grid,.category-grid.research-modules{margin-bottom:28px}.category-card,.research-modules .category-card{grid-template-columns:20px minmax(0,1fr) auto;gap:13px;padding:16px 2px}.category-card h3,.research-modules .category-card h3{font-size:12px;line-height:1.5}.category-card .meta,.research-modules .category-card .meta{font-size:8px;gap:7px;max-width:94px}.category-card .meta::after{font-size:16px}.category-card .meta span{line-height:1.5}.category-card .meta span+span{display:none}.overview-bottom{display:grid;grid-template-columns:1fr;gap:17px}.overview-bottom>.panel{margin:0;padding:21px}.adaptation-preview strong{font-size:12px}.context-numbers{margin:19px 0 12px}.context-numbers button{font-size:10px;padding:13px}.context-numbers strong{font-size:23px}
 .mobile-nav{background:#fffffff2;border-color:var(--line);padding:11px 12px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px -20px #772a314d;backdrop-filter:blur(15px)}.mobile-nav button{font-size:8px;letter-spacing:.65px;text-transform:uppercase;font-weight:500;color:var(--muted);gap:5px;padding:3px;min-height:44px}.mobile-nav button.active{color:var(--green);font-weight:600}.mobile-nav .icon{width:19px;height:19px;margin:0}.mobile-nav button.active .icon{background:none;outline:none;border-radius:0}.mobile-nav button.active::after{content:'';width:4px;height:4px;position:absolute;bottom:7px;border-radius:50%;background:var(--accent)}
 .research-field-toolbar{margin-bottom:19px}.research-field-toolbar>.meta{font-size:10px;max-width:none}.field-context{gap:8px}.field-context select{font-size:11px;padding:9px 8px}.category-pill{font-size:9px}.question-panel,.research-question{padding:21px 18px}.question-title{padding:22px 0}.question-title h2,.research-question .question-title h2{font-size:21px;line-height:1.5;letter-spacing:-.45px}.research-answers{gap:9px}.research-answers .answer{font-size:11px;line-height:1.45;min-height:59px;padding:12px 10px;gap:7px}.research-answers .answer .icon{width:16px}.answer-meta{font-size:10px;margin-top:13px}.answer-meta .text-button{font-size:10px}.research-question label.field-label{font-size:12px}.research-question input,.research-question textarea,.research-question select,.context-form input,.context-form textarea,.modal-body input,.modal-body textarea,.modal-body select{font-size:16px}.field-details summary{font-size:12px}.choice-chips label{font-size:11px;min-height:39px}.field-attachments{gap:7px}.field-attachments .btn{font-size:10px;padding:9px;min-height:38px}.field-attachments .icon{width:16px}.field-navigation{bottom:73px;background:color-mix(in srgb,var(--bg) 97%,transparent);padding:12px 0}.field-navigation .btn{font-size:12px;padding:10px 14px}.field-navigation .meta{font-size:10px}.field-bottom-hint{font-size:10px}.step-tabs{gap:7px}.step-tabs button{font-size:11px;padding:10px 12px}.step-tabs.compact button{font-size:9px;padding:10px 7px}.context-form h2{font-size:18px}.context-form{padding:21px}.entity-grid h3{font-size:16px}.entity-grid>.panel{padding:21px}.before-after{gap:10px}.before-after>div{padding:15px}.before-after p{font-size:13px}.adaptation-card>h2{font-size:20px}.adaptation-card .badge{font-size:9px}.adaptation-card .section-head>.meta{font-size:9px}.adaptation-card .btn{font-size:11px}.source-counts>span,.functional-summary>span{font-size:10px}.source-counts strong,.functional-summary strong{font-size:23px}.research-result-section{padding:20px 16px}.research-result-section h2{font-size:18px}.result-stats{gap:12px}.result-stats .panel{padding:18px}.result-stats strong{font-size:28px}.result-stats .eyebrow{font-size:8px}.result-stats>section:first-child .eyebrow{font-size:9px}.result-stats>section:first-child strong{font-size:30px}.distribution-list>div{font-size:11px}.distribution-list>div>strong{font-size:11px}.distribution-list small{font-size:10px}.distribution-list .track{height:7px}.report-identification strong{font-size:14px}.report-identification span{font-size:10px}.notes-grid{gap:16px}.note-card{min-height:165px}.note-card>p{font-size:13px}.device-note{font-size:10px}.reference-intro{padding:22px 20px}.reference-intro h2{font-size:20px}.reference-search{border-radius:6px}.reference-list>.panel{padding:21px}.reference-list h3{font-size:15px}.source-shortcuts strong{font-size:12px}.source-shortcuts small{font-size:10px}.modal-body{padding:23px}.modal-head h2{font-size:20px}.modal-body p{font-size:12px}.version-choices h3{font-size:16px}.version-choices p{font-size:12px}.toast{bottom:88px;font-size:12px}.save-error{bottom:73px}.welcome{display:flex;flex-direction:column;gap:28px;min-height:0;margin-top:12px}.welcome-copy{width:100%}.welcome h1{font-size:36px;letter-spacing:-1.2px;margin:17px 0}.welcome-intro{font-size:13px;line-height:1.7;margin-bottom:24px}.welcome-storage{margin-top:27px;font-size:10px;padding-top:17px}.welcome-actions{gap:10px}.welcome-actions .btn{font-size:11px;min-height:42px;padding:11px 14px}.welcome-image{width:100%;max-height:240px;aspect-ratio:4/3;border-radius:9px;margin:0}.welcome-image img{object-position:center 55%}.welcome-image figcaption{font-size:10px;bottom:15px;left:15px;right:15px;padding:12px}.app-empty main{padding-bottom:40px}
}
@media(max-width:365px){.mobile-masthead strong{font-size:18px}.project-switch strong{max-width:154px}.project-hero{padding:19px;grid-template-columns:minmax(0,1fr) 80px;gap:12px}.progress-ring{width:80px;height:80px}.progress-ring strong{font-size:21px}.project-hero h2{font-size:17px}.research-shortcuts{gap:7px}.category-card,.research-modules .category-card{gap:8px}.category-card .meta{font-size:8px}.field-attachments .btn{font-size:9px}.welcome h1{font-size:32px}}
@media(prefers-reduced-motion:no-preference){.overview-top,.welcome{animation:interface-appear .45s ease-out}@keyframes interface-appear{from{opacity:.2;transform:translateY(5px)}to{opacity:1;transform:none}}}
@media print{.mobile-masthead,.welcome-actions,.welcome-storage{display:none!important}.workspace{margin:0}main{max-width:none;padding:0}.panel{box-shadow:none;border-color:#ccc}.instrument-banner{margin-bottom:16px}.instrument-banner.research>.badge{background:none;color:#222;padding:0}.instrument-banner.research>span:last-child{font-size:10px}.topbar,.sidebar,.mobile-nav{display:none!important}body{font-size:11px;background:white}.page-head h1{font-size:25px}.result-stats strong{font-size:27px;color:#222}.research-result-section .results-table{font-size:9px}.results-table th,.results-table td{border-color:#ccc}.research-result-section .results-table thead th{font-size:8px}.source-counts>span,.functional-summary>span{font-size:10px}.source-counts strong,.functional-summary strong{font-size:20px;color:#222}.distribution-list>div{font-size:11px}.field-navigation{display:none}.discussion-panel textarea{display:none}.print-only{display:block}.reference-intro{background:white}.save-error{display:none!important}.research-result-section:has(.timeline-entry){break-inside:auto}.print-only p{white-space:pre-wrap}}
