:root{
  --ink:#080d18;--text:#202630;--muted:#6f7b90;--line:#e5e9f0;--wash:#f7f9fc;--purple:#6e14e8;
  --cyan:#00ffee;--blue:#355bff;--pink:#ff2e91;--orange:#ff7a00;--violet:#8b2cff;--yellow:#e9b900;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:#fff
}
.workflow-form fieldset label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}
.workflow-form [data-alias]{display:flex;gap:8px;align-items:center;margin-bottom:8px}
.workflow-form [data-alias] input{flex:1}
.workflow-form button[data-add-alias],.workflow-form button[data-add-source],.workflow-form button[data-remove-row]{justify-self:start;border:1px solid var(--line);border-radius:7px;background:#fff;padding:8px 12px;color:var(--ink);cursor:pointer}
.workflow-form details{max-width:100%;overflow:auto}.workflow-form details summary{cursor:pointer;padding:8px 0;font-weight:600}.workflow-form details td,.workflow-form details th{padding:8px;text-align:left;vertical-align:top;font-size:12px;border-bottom:1px solid var(--line)}
*{box-sizing:border-box}body{margin:0;background:#fff}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}code{font-family:"SFMono-Regular",Consolas,monospace}
.site-header{display:grid;grid-template-columns:260px 1fr auto;align-items:center;border-bottom:1px solid #f0f2f5;background:rgba(255,255,255,.96);position:sticky;top:0;z-index:50;backdrop-filter:blur(16px)}
.brand-logo{width:220px;height:62px;object-fit:contain;object-position:left center}.brand-link{display:flex}.top-nav{height:100%;display:flex;align-items:center;justify-content:center;gap:34px}.top-nav__item{position:relative;padding:31px 0 27px;font-size:14px;font-weight:650}.top-nav__item:after{content:"";position:absolute;left:0;right:0;bottom:22px;height:2px;background:var(--menu-color);border-radius:9px;transform:scaleX(.7);transition:.18s}.top-nav__item:hover:after,.top-nav__item.is-active:after{transform:scaleX(1)}
.header-actions{display:flex;align-items:center;gap:22px}.signin-link{font-size:14px;font-weight:650}.account-link{display:inline-flex;align-items:center;gap:9px}.header-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:none;border:1px solid #e4e8ef;box-shadow:0 3px 10px rgba(15,23,42,.08)}.button{min-height:44px;border:1px solid #d9dfe8;border-radius:9px;padding:0 20px;background:#fff;color:var(--ink);font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:10px}.button--primary{border-color:transparent;background:linear-gradient(135deg,#8125f0,#5c00d3);color:#fff;box-shadow:0 8px 24px rgba(107,18,232,.18)}.button--large{min-height:50px;padding:0 26px}.mobile-menu{display:none;border:0;background:transparent;font-size:22px}
/* One shared grid for the introduction and its four entry points. */
.home-hero,.feature-grid{max-width:1440px;margin-inline:auto;padding-inline:clamp(24px,4vw,64px)}
.home-hero{min-height:552px;padding-block:24px 64px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:64px}
.home-hero__copy{max-width:660px;min-width:0}
.eyebrow{font-size:11px;letter-spacing:.28em;font-weight:800;color:#748097;margin:0 0 20px}
.home-hero h1{margin:0;color:#050912;font-size:clamp(54px,6vw,88px);line-height:.98;letter-spacing:-.06em}
.home-hero h1 span{background:linear-gradient(90deg,#1d88f5,#5e50ff 34%,#ff2e91 68%,#ffb300);background-clip:text;-webkit-background-clip:text;color:transparent}
.hero-lede{max-width:500px;font-size:18px;line-height:1.55;color:var(--muted);margin:28px 0 32px;text-wrap:pretty}
.hero-lede strong{display:block;font-size:20px;font-weight:600;line-height:1.4;color:var(--text);margin-bottom:8px}
.hero-lede>span{display:block}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}
.quiet-link{font-size:14px;font-weight:750;color:#536176}
.hero-actions .quiet-link{min-height:44px;display:inline-flex;align-items:center}
.quiet-link:hover{color:var(--purple)}
.home-hero__visual{min-width:0;display:grid;place-items:center;background:radial-gradient(circle,rgba(53,91,255,.05),transparent 65%)}
.hero-x{display:block;width:min(520px,100%);height:auto;filter:drop-shadow(0 16px 28px rgba(35,36,110,.10))}
.feature-grid{padding-block:0 64px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.feature-card{min-height:136px;border-top:1px solid var(--line);padding:24px 0 0;display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;align-items:start}
.feature-icon{color:var(--feature)}
.feature-icon svg,.action-icon svg,.empty-icon svg{width:54px;height:54px;fill:none;stroke:currentColor;stroke-width:2}
.feature-icon svg{display:block;width:44px;height:44px}
.feature-card__copy{display:flex;flex-direction:column;align-self:stretch;min-width:0}
.feature-card h2{font-size:17px;line-height:1.3;margin:0 0 8px}
.feature-card p{font-size:14px;line-height:1.55;color:var(--muted);margin:0}
.feature-card strong{font-size:13px;line-height:1.5;color:var(--feature);margin-top:auto;padding-top:16px}
@media(max-width:1080px){
  .home-hero{gap:32px;min-height:auto;padding-block:24px 56px}
  .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:32px}
}
@media(max-width:780px){
  .home-hero{grid-template-columns:minmax(0,1fr);gap:32px;padding-block:24px 40px}
  .home-hero h1{font-size:clamp(48px,12vw,68px)}
  .hero-lede{font-size:17px;margin:24px 0}
  .hero-lede strong{font-size:19px}
  .hero-actions{align-items:flex-start;flex-direction:column;gap:8px}
  .hero-x{width:min(420px,100%)}
  .feature-grid{grid-template-columns:minmax(0,1fr);padding-bottom:40px;gap:24px}
  .feature-card{min-height:0;padding-top:24px}
}
.site-footer{border-top:1px solid #f0f2f5;min-height:58px;display:flex;justify-content:space-between;color:#8a94a5;font-size:11px}.page{min-height:74vh}.page-title{font-size:clamp(48px,5vw,66px);letter-spacing:-.055em;line-height:1;margin:0 0 13px;color:var(--ink)}.page-lede{font-size:18px;line-height:1.55;color:var(--muted);max-width:790px;margin:0 0 34px}.page-actions{display:flex;gap:10px;margin-bottom:28px}
.action-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.action-card{border:1px solid var(--line);border-radius:14px;background:#fff;padding:25px;display:flex;gap:19px;text-align:left}.action-card--button{width:100%}.action-card h2{margin:2px 0 7px;font-size:20px}.action-card p{margin:0 0 11px;color:var(--muted)}.action-card strong{color:var(--purple)}.action-icon{color:#677488}.action-icon.cyan{color:var(--cyan)}.action-icon.blue{color:var(--blue)}
.import-shell{display:grid;grid-template-columns:1.4fr .6fr;gap:18px}.drop-zone{min-height:400px;border:1.5px dashed #bbc5d5;border-radius:16px;background:#fafcff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transition:.18s}.drop-zone.is-dragging{border-color:var(--purple);background:#f8f4ff;transform:scale(1.005)}.drop-icon{color:var(--purple)}.drop-icon svg{width:72px;height:72px;fill:none;stroke:currentColor;stroke-width:1.8}.drop-zone h2{margin:14px 0 3px}.drop-zone p{color:var(--muted);margin:0 0 22px}.drop-zone small{margin-top:17px;color:#8b96a8}.import-principles{border:1px solid var(--line);border-radius:16px;padding:28px;background:#fff}.import-principles h3{margin-top:0}.import-principles div{display:flex;gap:12px;align-items:center;padding:11px 0;border-top:1px solid #eff2f5}.import-principles b{display:grid;place-items:center;border-radius:50%;width:25px;height:25px;background:#f0e9ff;color:var(--purple);font-size:11px}.import-principles span{font-size:13px;color:#5d687a}.context-pill{display:inline-block;background:#f3f6fa;border-radius:8px;padding:8px 11px;font-size:12px;color:#627085;margin-bottom:15px}.processing-card{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);background:var(--ink);color:#fff;border-radius:13px;padding:15px 20px;display:flex;align-items:center;gap:14px;box-shadow:0 18px 60px rgba(0,0,0,.22);z-index:100}.processing-card[hidden]{display:none}.processing-card strong,.processing-card span{display:block}.processing-card span{color:#c8cfdb;font-size:11px;margin-top:3px}.spinner{width:22px;height:22px;border:2px solid #ffffff44;border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.review-summary{border:1px solid var(--line);border-radius:12px;padding:17px 19px;display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.review-summary strong,.review-summary span{display:block}.review-summary span{font-size:12px;color:var(--muted);margin-top:3px}.review-badge{color:var(--purple)!important;background:#f2ebff;padding:6px 9px;border-radius:7px;font-weight:800}.validation-list{display:grid;gap:7px;margin:0 0 16px}.validation{border-radius:8px;padding:10px 12px;display:flex;gap:10px;font-size:12px}.validation--warning{background:#fff7e9;color:#785008}.validation--error{background:#fff0f2;color:#9a2134}.validation--info{background:#eff8ff;color:#315b7c}.review-form{display:grid;gap:17px}.review-section{border:1px solid var(--line);border-radius:14px;overflow:hidden}.review-section__head{padding:17px 19px;background:#fafbfd;display:flex;justify-content:space-between;align-items:center}.review-section__head h2{font-size:17px;margin:0}.review-section__head span{font-size:11px;color:var(--muted)}.review-row{display:grid;grid-template-columns:180px 1fr 72px 80px;gap:11px;padding:12px 18px;border-top:1px solid #edf0f4;align-items:center}.review-row.has-warning{box-shadow:inset 3px 0 #f0a000}.review-row.has-error{box-shadow:inset 3px 0 #db324b}.review-label{display:flex;gap:7px;align-items:center}.review-label strong{font-size:12px}.source-toggle{border:0;background:transparent;color:#7c63c6;font-size:10px;padding:0;text-decoration:underline}.review-inputs{display:grid;grid-template-columns:1fr 95px;gap:7px}.review-inputs input{min-width:0;border:1px solid #d9dfe7;border-radius:7px;padding:8px 9px;font-size:12px}.review-inputs .unit-input{color:#6b7689;background:#fafbfc}.confidence{font-size:10px;text-align:center;border-radius:6px;padding:5px}.confidence--high{background:#eaf8f0;color:#267148}.confidence--medium{background:#fff5df;color:#8a6010}.confidence--low{background:#fff0f1;color:#9a3040}.confidence--manual{background:#f1f3f6;color:#707b8c}.confirm-box{display:flex;gap:5px;align-items:center;font-size:10px;color:#647085}.confirm-box input{accent-color:var(--purple)}.source-detail{grid-column:2/-1;background:#f7f8fb;border-radius:7px;padding:8px 10px;display:grid;grid-template-columns:70px 1fr auto;gap:9px;align-items:center}.source-detail[hidden]{display:none}.source-detail span,.source-detail small{font-size:10px;color:#7a8597}.source-detail code{font-size:10px;white-space:normal;color:#4f5b6d}.field-flags{grid-column:2/-1}.flag{font-size:10px}.flag--warning{color:#986609}.flag--error{color:#a92b3f}.flag--info{color:#386b91}.review-footer{position:sticky;bottom:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:12px;padding:12px;display:flex;justify-content:flex-end;gap:9px}
.driver-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.driver-card{border:1px solid var(--line);border-radius:14px;padding:22px;background:#fff;transition:.18s}.driver-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(20,35,65,.07)}.driver-card__top{display:flex;justify-content:space-between;align-items:center}.driver-chip{font-size:10px;letter-spacing:.12em;font-weight:800;color:#009bb2;background:#eafcff;padding:5px 7px;border-radius:5px}.driver-status{font-size:10px;color:#369461}.driver-card h2{font-size:22px;margin:13px 0 3px}.driver-card p{margin:0 0 18px;color:var(--muted);font-size:12px}.driver-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.driver-quick span{display:grid;background:#f8fafc;padding:9px;border-radius:7px;font-size:11px}.driver-quick b{font-size:10px;color:#8791a1;margin-bottom:2px}.driver-card__link{display:block;margin-top:16px;color:var(--cyan);font-size:12px}.empty-state{border:1px dashed #c8d1df;border-radius:16px;padding:48px;text-align:center;max-width:760px}.empty-state p{color:var(--muted);max-width:560px;margin:10px auto 22px}.empty-icon{color:var(--cyan)}.empty-icon svg{width:68px;height:68px}
.driver-detail-top{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.driver-detail-top h2{font-size:30px;margin:11px 0 3px}.driver-detail-top p{margin:0;color:var(--muted)}.view-toggle{display:flex;border:1px solid var(--line);border-radius:9px;padding:3px}.view-toggle a{padding:8px 11px;font-size:11px;border-radius:6px}.view-toggle a.active{background:#f0eaff;color:var(--purple);font-weight:800}.simple-driver-card{display:grid;grid-template-columns:1fr 310px;border:1px solid var(--line);border-radius:16px;overflow:hidden}.simple-driver-main{padding:34px}.simple-driver-main h3{font-size:42px;margin:0;letter-spacing:-.04em}.simple-driver-main>span{color:var(--muted)}.power-line{display:flex;align-items:baseline;gap:8px;margin:25px 0}.power-line strong{font-size:24px}.power-line small{font-weight:800;color:#6d788a}.big-param-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:28px}.big-param-grid div{border-top:2px solid #e9edf2;padding-top:9px}.big-param-grid span,.big-param-grid b{display:block}.big-param-grid span{font-size:10px;color:#8490a2}.big-param-grid b{font-size:17px;margin-top:4px}.simple-driver-side{background:#fafbfd;border-left:1px solid var(--line);padding:31px}.simple-driver-side h4{margin-top:0}.simple-driver-side dl div{display:flex;justify-content:space-between;border-top:1px solid #e6eaf0;padding:10px 0;font-size:12px}.simple-driver-side dt{color:#758095}.simple-driver-side dd{margin:0;font-weight:700}.simple-driver-side small{display:block;color:#8a94a4;margin-top:18px;overflow-wrap:anywhere}.driver-source-note{margin-top:14px;display:flex;gap:10px;font-size:11px;color:#7b8698}.driver-source-note strong{color:#4b5769}.engineering-table{border:1px solid var(--line);border-radius:13px;overflow:hidden}.engineering-head,.engineering-row{display:grid;grid-template-columns:1.4fr 1fr 1fr .6fr .75fr;gap:12px;padding:11px 14px;align-items:center}.engineering-head{background:#f8fafc;color:#7b8798;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.engineering-row{border-top:1px solid #edf0f4;font-size:11px}.engineering-row strong{font-size:11px}
.project-list{display:grid;gap:10px}.project-card{border:1px solid var(--line);border-radius:11px;padding:17px 19px;display:flex;gap:13px;align-items:center}.project-card div{flex:1}.project-card h3{margin:0}.project-card p{margin:4px 0 0;font-size:11px;color:var(--muted)}.project-dot{width:10px;height:10px;border-radius:50%;background:var(--pink)}.info-panel,.workspace-card{border:1px solid var(--line);border-radius:14px;padding:27px;background:#fff}.info-panel{max-width:800px}.workspace{min-height:75vh}.workspace-top{padding:16px var(--speakerlab-page-gutter,max(4vw,32px));border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:12px}.crumb{color:#778396}.mode-toggle{display:flex;background:#f1f3f6;border-radius:8px;padding:3px}.mode-toggle button{border:0;background:transparent;border-radius:6px;padding:7px 10px;font-size:11px}.mode-toggle button.active{background:#fff;color:var(--purple);font-weight:800}.workspace-layout{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:68vh}.workspace-tabs{border-right:1px solid var(--line);padding:20px}.workspace-tabs a{display:block;padding:10px 11px;border-radius:7px;font-size:12px;color:#687487}.workspace-tabs a.active{background:#f2edff;color:var(--purple);font-weight:800}.workspace-main{min-width:0;padding:32px;background:#fafbfd}.workspace-card{max-width:900px}.workspace-card h2{font-size:28px;margin-top:0}.workspace-card__head{display:flex;align-items:center;justify-content:space-between}.workspace-card__head a{color:var(--purple);font-size:11px}.status-row{display:flex;gap:16px;font-size:10px;color:#718096;margin-top:22px}.workspace-card .driver-card{margin-top:12px}.workspace-card .button+.button{margin-left:8px}
@media(max-width:1080px){.site-header{grid-template-columns:210px minmax(0,1fr) auto}.brand-logo{width:185px}.top-nav{gap:17px}.review-row{grid-template-columns:150px 1fr 65px 70px}.driver-grid{grid-template-columns:1fr}}
@media(max-width:780px){.site-header{grid-template-columns:1fr auto}.brand-logo{width:165px;height:52px}.top-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.08)}.top-nav.is-open{display:grid;gap:0}.top-nav__item{padding:12px 0}.top-nav__item:after{bottom:4px}.header-actions{display:none}.mobile-menu{display:block}.page-title{font-size:46px}.import-shell,.action-grid,.simple-driver-card{grid-template-columns:1fr}.simple-driver-side{border-left:0;border-top:1px solid var(--line)}.review-row{grid-template-columns:1fr}.review-inputs{grid-template-columns:1fr 80px}.confidence,.confirm-box{justify-self:start}.source-detail,.field-flags{grid-column:1}.source-detail{grid-template-columns:1fr}.driver-quick,.big-param-grid{grid-template-columns:repeat(2,1fr)}.engineering-table{overflow:auto}.engineering-head,.engineering-row{min-width:700px}.workspace-top{align-items:flex-start;gap:12px;flex-direction:column}.workspace-layout{grid-template-columns:minmax(0,1fr)}.workspace-tabs{border-right:0;border-bottom:1px solid var(--line);display:flex;overflow:auto}.workspace-tabs a{white-space:nowrap}.workspace-main{padding:20px}.site-footer{gap:8px;flex-direction:column}}
.driver-photo { display: block; width: 240px; max-width: 100%; height: 220px; object-fit: contain; background: white; border-radius: 12px; margin: 12px 0; }
.driver-card .driver-photo { width: 100%; height: 160px; }
.photo-editor { padding: 20px; }
.photo-editor small { display: block; margin-top: 12px; }
.photo-candidates { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.home-origin{display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;padding:12px 20px 28px;margin:0;color:var(--muted);font-size:13px}.home-origin svg{width:28px;height:20px;flex:none}
.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.workflow-form{display:grid;gap:16px;max-width:100%;margin:18px 0;padding:20px;border:1px solid var(--line);border-radius:12px}.workflow-form label{display:grid;gap:6px;font-size:13px}.workflow-form input:not([type=checkbox]),.workflow-form textarea,.workflow-form select{padding:10px;border:1px solid #c8d1df;border-radius:6px;min-width:0;max-width:100%;font:inherit}.workflow-form fieldset{border:1px solid var(--line);border-radius:8px;padding:16px;display:grid;gap:12px;min-width:0}.source-edit{display:grid;gap:8px;border-top:1px solid var(--line);padding-top:10px}.workflow-actions{display:flex;flex-wrap:wrap;gap:10px}.workflow-section{margin:24px 0}.proposal-diff{width:100%;border-collapse:collapse}.proposal-diff th,.proposal-diff td{padding:12px;border:1px solid var(--line);text-align:left}.mobile-account{display:none}.access-form{grid-template-columns:2fr 1fr 1fr auto;align-items:center}@media(max-width:780px){.auth-grid{grid-template-columns:1fr}.site-header{grid-template-columns:1fr auto auto;gap:12px}.mobile-account{display:block;font-size:12px}.access-form{grid-template-columns:1fr}.workflow-form{padding:12px}}
.site-footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px}.site-footer>span:last-child{text-align:right}.site-footer .home-origin{padding:0;font-size:11px}@media(max-width:780px){.site-footer{grid-template-columns:1fr;justify-items:center}.site-footer>span:last-child{text-align:center}}
.mobile-account{max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.photo-candidates img { width: 90px; height: 90px; object-fit: contain; background: white; }
/* Library browsing reuses the existing driver cards and RICO-X palette. */
:root{--community-accent:#ff2e91;--community-ink:#a41356;--reviewed-accent:#0cbd9b;--reviewed-ink:#086b58}
.library-page .page-title{font-size:clamp(40px,4.5vw,58px)}
.library-page .page-lede{font-size:16px;margin-bottom:24px}
.contribution-queue-actions{flex-wrap:wrap}
.contribution-queue-actions .button[aria-current="page"]{background:#f2edff;color:var(--purple);border-color:var(--purple)}
.library-page .page-actions{flex-wrap:wrap}
.library-page .button{max-width:100%;white-space:normal;text-align:center}
.library-browser{display:grid;grid-template-columns:250px minmax(0,1fr);gap:28px;margin-top:28px;align-items:start}
.library-sidebar{position:sticky;top:114px;max-height:calc(100dvh - 138px);overflow-y:auto;scrollbar-gutter:stable;border-right:1px solid var(--line);padding-right:20px;min-width:0}
.library-search{display:grid;gap:9px;margin:0 0 24px}
.library-search>label{font-size:14px;font-weight:750;color:var(--ink)}
.library-search input{width:100%;min-width:0;border:1px solid #cbd3e0;border-radius:9px;padding:12px 10px;background:var(--wash);font-size:14px;color:var(--ink)}
.library-search input:focus-visible,.library-browser button:focus-visible,.library-browser select:focus-visible,.library-browser input:focus-visible{outline:2px solid var(--purple);outline-offset:3px}
.library-facet{border:0;border-bottom:1px solid var(--line);padding:0 0 20px;margin:0 0 20px;min-width:0}
.library-facet legend{padding:0;margin-bottom:10px;font-size:10px;letter-spacing:.1em;text-transform:uppercase;font-weight:800;color:#526078}
.library-facet__options{display:grid;gap:3px;max-height:230px;overflow-y:auto}
.library-filter-option{display:grid;grid-template-columns:16px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:30px;padding:3px 2px;font-size:12px;line-height:1.4;cursor:pointer;border-radius:4px}
.library-filter-option:hover{background:var(--wash)}
.library-filter-option>span{overflow-wrap:anywhere}
.library-filter-option input{margin:0;width:15px;height:15px;accent-color:var(--purple)}
.library-filter-option small{font-size:11px;color:#657188;font-variant-numeric:tabular-nums}
.facet-hint,.facet-empty{font-size:11px;line-height:1.5;color:#657188;margin:9px 0 0}
.library-filter-actions{display:grid;gap:10px;padding-bottom:4px}
.library-filter-toggle,.library-filter-done{display:none}
.library-filter-panel[hidden]{display:none}
.library-main{min-width:0}
.library-results-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.library-results-toolbar>p{margin:0;font-size:14px;font-weight:700;color:var(--ink)}
.library-sort{display:flex;align-items:center;gap:8px;max-width:100%;font-size:12px;color:#5a667c}
.library-sort select{padding:9px;border:1px solid #d9dfe8;border-radius:7px;background:white;font:inherit;color:var(--ink);min-width:0;max-width:100%}
.library-active-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.library-active-filters:empty{display:none}
.filter-chip{border:1px solid #ded5ee;background:#f7f2fe;color:#4b2d73;border-radius:7px;padding:7px 9px;display:inline-flex;align-items:center;gap:10px;text-align:left;font-size:11px;line-height:1.4;max-width:100%;overflow-wrap:anywhere}
.filter-chip>span{font-size:17px;line-height:1;flex:none}
.library-main .driver-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.library-empty{padding:38px 24px;max-width:none}
.library-empty h2{font-size:23px;margin:0 0 12px}
.driver-card__top{gap:10px;align-items:start}
.driver-card__top>small{font-size:10px;white-space:nowrap;color:#647085}
.driver-trust{display:inline-flex;padding:6px 9px;font-size:11px;font-weight:800;line-height:1.4;border-radius:6px;border:1px solid;overflow-wrap:anywhere}
.driver-trust--community{color:var(--community-ink);background:#fff0f7;border-color:#ffadd2;box-shadow:inset 3px 0 var(--community-accent)}
.driver-trust--reviewed{color:var(--reviewed-ink);background:#eafaf5;border-color:#93e2ca;box-shadow:inset 3px 0 var(--reviewed-accent)}
.driver-trust--verified{color:#5410b8;background:#f3ebff;border-color:#c9a2ff;box-shadow:inset 3px 0 var(--purple)}
.community-warning,.driver-card p.community-warning{font-size:12px;line-height:1.5;color:var(--community-ink);background:#fff0f7;border-left:3px solid var(--community-accent);padding:10px 12px;margin:12px 0 16px;border-radius:0 6px 6px 0}
.driver-card h2,.driver-display-name{overflow-wrap:anywhere}
.driver-card-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 20px}
.driver-card-specs>div:first-child{grid-column:1/-1}
.driver-card-specs dt{font-size:10px;line-height:1.5;color:#657188;margin-bottom:3px}
.driver-card-specs dd{font-size:13px;line-height:1.5;font-weight:650;margin:0;overflow-wrap:anywhere}
@media(max-width:1180px){.library-main .driver-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:860px){
  .library-browser{grid-template-columns:minmax(0,1fr);gap:24px}
  .library-sidebar{position:static;max-height:none;overflow:visible;border:0;padding:0}
  .library-search{margin-bottom:12px}
  .library-filter-toggle{display:flex;justify-content:space-between;width:100%}
  .library-filter-panel{margin-top:16px;padding:20px;border:1px solid var(--line);border-radius:12px}
  [data-library-facets]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
  .library-filter-done{display:inline-flex}
  .library-filter-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:540px){[data-library-facets],.library-filter-actions{grid-template-columns:minmax(0,1fr)}.library-sort{width:100%;justify-content:space-between}.library-filter-panel{padding:16px}}
.review-footer { flex-wrap: wrap; }
.page-title--standalone { margin-bottom:32px; }
.confidence--manual { color:#b42318; font-weight:700; }
.project-file-actions { display:flex; flex-wrap:wrap; gap:8px; }
.project-file-actions .button { max-width:100%; flex-wrap:wrap; white-space:normal; }
.project-file-actions .button+.button { margin-left:0; }
.project-file-actions input[type="file"] { min-width:0; max-width:100%; }
.project-file-actions [role="status"] { flex-basis:100%; margin:0; }
.page-lede, .photo-editor p, .review-summary { overflow-wrap: anywhere; }
.review-source-card{border:1px solid var(--line);border-radius:10px;padding:16px;margin:12px 0;overflow-wrap:anywhere}
.review-source-card h3{margin-top:0}.review-source-card details{overflow:auto}.review-source-card summary{cursor:pointer;font-weight:600}
.classification-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.classification-columns fieldset{align-content:start}
@media(max-width:640px){.classification-columns{grid-template-columns:1fr}}
@media (max-width: 480px) {
  .review-footer [data-action="confirm-fields"] { width: 100%; }
  .source-detail { grid-template-columns: 1fr; overflow-wrap: anywhere; }
  .engineering-row > * { min-width: 0; overflow-wrap: anywhere; }
}

/* Universal PDF import review workflow */
.review-source-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px}.review-source-actions span{font-size:11px;color:var(--muted)}
.source-primary{display:grid;gap:5px;min-width:0}.candidate-list{display:grid;gap:8px;margin-top:10px}.candidate-list>strong{font-size:11px}.candidate-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;border-top:1px solid var(--line);padding-top:9px;min-width:0}.candidate-item>div:first-child{display:grid;gap:4px;min-width:0}.candidate-item small,.candidate-item code{font-size:10px;overflow-wrap:anywhere;white-space:normal}.candidate-actions{display:flex;gap:6px;align-items:start;flex-wrap:wrap}.button--compact{padding:6px 8px;font-size:10px}
.source-detail{display:block}.field-source-viewer{border:1px solid var(--line);border-radius:12px;padding:14px;background:#fafbfd;margin:0 0 16px}.field-source-viewer[hidden]{display:none}.field-source-viewer__head{display:flex;justify-content:space-between;gap:14px;align-items:start;margin-bottom:12px}.field-source-viewer__head strong,.field-source-viewer__head span{display:block}.field-source-viewer__head span{font-size:11px;color:var(--muted);margin-top:3px}.field-source-viewer>code{display:block;font-size:10px;white-space:normal;overflow-wrap:anywhere;margin-top:10px}.source-page{position:relative;max-width:920px;margin:auto;background:white;border:1px solid var(--line);overflow:hidden}.source-page img{display:block;width:100%;height:auto}.source-highlight{position:absolute;border:2px solid #ff2e91;background:rgba(255,46,145,.13);box-shadow:0 0 0 2px rgba(255,255,255,.75) inset;pointer-events:none}
.review-figure-note{padding:0 18px;color:var(--muted);font-size:11px}.review-figure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 18px 18px}.review-figure-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fafbfd;min-width:0}.review-figure-card img{display:block;width:100%;height:260px;object-fit:contain;background:white}.review-figure-card>div{display:grid;gap:4px;padding:10px 12px}.review-figure-card span,.review-figure-card small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:780px){.candidate-item{grid-template-columns:1fr}.candidate-actions{justify-content:flex-start}.review-figure-grid{grid-template-columns:1fr}.review-figure-card img{height:auto;max-height:320px}.field-source-viewer__head{display:block}.field-source-viewer__head .button{margin-top:8px}}

/* Account authentication v2 */
.account-login-shell{max-width:520px;margin:24px auto}.account-login-card{box-shadow:0 16px 42px rgba(15,23,42,.08)}
.auth-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:11px;letter-spacing:.12em}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--line);flex:1}.auth-text-button{border:0;background:none;color:var(--accent);cursor:pointer;padding:2px 0;text-align:left}
.auth-modal{width:min(760px,calc(100vw - 32px));max-height:88vh;border:1px solid var(--line);border-radius:16px;padding:0;background:#fff;color:var(--text);box-shadow:0 28px 90px rgba(15,23,42,.28)}.auth-modal::backdrop{background:rgba(15,23,42,.55);backdrop-filter:blur(3px)}.auth-modal--small{width:min(500px,calc(100vw - 32px))}.auth-modal__form{margin:0;border:0;padding:24px;max-height:88vh;overflow:auto;background:#fff}.auth-modal__head,.auth-modal__actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.auth-modal__close{border:0;background:none;font-size:28px;line-height:1;cursor:pointer;color:var(--muted)}
.auth-profile summary{cursor:pointer;font-weight:700;font-size:12px;letter-spacing:.08em}.auth-profile__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.auth-profile__wide{grid-column:1/-1}.auth-success{max-width:520px;margin:18px auto;padding:12px 16px;border:1px solid #78b68d;border-radius:10px;background:#eef8f1}
.password-strength{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.password-strength__track{height:7px;border-radius:999px;background:var(--line);overflow:hidden}.password-strength__track span{display:block;height:100%;width:0;background:#9aa4b2;transition:width .2s ease,background .2s ease}.password-strength[data-state=invalid] span{width:12%}.password-strength[data-state=weak] span{width:28%}.password-strength[data-state=fair] span{width:52%}.password-strength[data-state=good] span{width:76%}.password-strength[data-state=strong] span{width:100%}.password-strength[data-state=weak] span,.password-strength[data-state=fair] span{background:#c28b30}.password-strength[data-state=good] span,.password-strength[data-state=strong] span{background:#438a5e}
@media(max-width:640px){.auth-modal{width:100vw;max-width:none;height:100dvh;max-height:none;border-radius:0}.auth-modal__form{max-height:100dvh;padding:18px}.auth-profile__grid{grid-template-columns:1fr}.auth-profile__wide{grid-column:auto}.auth-modal__actions{position:sticky;bottom:0;background:#fff;padding-top:12px}}

.auth-profile{margin-top:4px}.auth-profile h3{margin:0;font-size:12px;letter-spacing:.08em}.auth-profile__hint{margin:5px 0 14px;color:var(--muted);font-size:12px}.auth-profile__grid>label{min-width:0}.auth-profile__grid input,.auth-profile__grid select,.auth-profile__grid textarea{width:100%;max-width:100%;min-width:0}.auth-modal__error{margin:8px 0 0;color:#a8243b;font-size:12px;font-weight:650;min-height:0}.auth-modal__error:empty{display:none}

/* Product coherence: shared project workflow, health and provenance */
.project-flow-wrap{padding:14px max(4vw,32px);border-bottom:1px solid var(--line);background:#fff;overflow:hidden}
.project-flow{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;max-width:1280px;margin:0 auto}
.project-flow__stage{min-width:0;display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid var(--line);border-radius:9px;background:#fafbfd;color:#667388;text-decoration:none;transition:border-color .15s ease,background .15s ease,transform .15s ease}
a.project-flow__stage:hover{border-color:#b9add4;background:#f7f3ff;transform:translateY(-1px)}
.project-flow__stage.is-current{border-color:var(--purple);background:#f2edff;color:#4f1d8c;box-shadow:inset 0 0 0 1px rgba(139,44,255,.08)}
.project-flow__stage.is-complete .project-flow__number{background:#e9f7ef;color:#267148}
.project-flow__stage.is-stale .project-flow__number,.project-flow__stage.is-incomplete .project-flow__number,.project-flow__stage.is-needs-review .project-flow__number{background:#fff4dc;color:#8a6010}
.project-flow__stage.is-blocked{opacity:.58;cursor:not-allowed}
.project-flow__number{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;flex:none;background:#eef1f5;font-size:10px;font-weight:800}
.project-flow__copy{min-width:0;display:grid;gap:2px}
.project-flow__copy b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-flow__copy small{font-size:10px;color:inherit;opacity:.78;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.project-health{max-width:900px;margin-top:16px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:22px}
.project-health__head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.project-health__head h3{margin:3px 0 0;font-size:20px}
.project-health__eyebrow{font-size:10px;letter-spacing:.12em;font-weight:850;color:var(--purple)}
.project-health__score{text-align:right;display:grid;gap:2px}
.project-health__score strong{font-size:20px}
.project-health__score span{font-size:10px;color:var(--muted)}
.project-health__track{height:7px;border-radius:999px;background:#edf0f4;overflow:hidden;margin:16px 0}
.project-health__track>span{display:block;height:100%;background:linear-gradient(90deg,var(--purple),var(--projects-color));border-radius:inherit}
.project-health__items{display:grid;gap:7px}
.project-health__item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:10px 11px;border-radius:8px;color:inherit;text-decoration:none;border:1px solid transparent}
a.project-health__item:hover{background:#faf7ff;border-color:#e7ddf6}
.project-health__item>span{min-width:0;display:grid;gap:2px}
.project-health__item b{font-size:12px}
.project-health__item small{font-size:10px;color:var(--muted);line-height:1.45}
.project-health__status{font-style:normal;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;padding:5px 7px;border-radius:6px;background:#eef1f5;color:#5e697b;white-space:nowrap}
.project-health__status.is-complete{background:#e9f7ef;color:#267148}
.project-health__status.is-stale,.project-health__status.is-incomplete,.project-health__status.is-needs-review{background:#fff4dc;color:#8a6010}
.project-health__status.is-blocked{background:#f1f2f4;color:#848b97}
.project-health__item.is-blocked{opacity:.65}

.workspace-empty,.workspace-loading{display:grid;gap:10px}
.workspace-empty .page-actions{margin-top:5px}
.workspace-loading{min-height:150px;align-content:center}
.workspace-loading p{color:var(--muted)}

.provenance-badge,.curve-origin{display:inline-flex;align-items:center;width:max-content;max-width:100%;border:1px solid #dfe4ec;border-radius:999px;padding:4px 7px;background:#f8fafc;color:#5b687c;font-size:10px;font-weight:750;line-height:1.3}
.provenance-badge.is-calculated,.curve-origin.is-calculated{border-color:#d9c6ff;background:#f5efff;color:#5b2a96}
.provenance-badge.is-modeled,.curve-origin.is-modeled{border-color:#c7d7fe;background:#eef4ff;color:#3157a4}
.provenance-badge.is-digitized{border-color:#beddea;background:#eefaff;color:#246378}
.provenance-badge.is-measured{border-color:#b9e5d4;background:#eefaf5;color:#176c52}
.provenance-badge.is-ocr-extracted{border-color:#f1d3a3;background:#fff8e9;color:#7d5412}
.technical-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.technical-details-grid>div{border:1px solid var(--line);border-radius:8px;padding:9px 10px;min-width:0}
.technical-details-grid span,.technical-details-grid b{display:block}
.technical-details-grid span{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.technical-details-grid b{font-size:11px;margin-top:3px;overflow-wrap:anywhere}
.simulation-technical-details summary{cursor:pointer;font-weight:750}
.simulation-technical-details{border:1px solid var(--line);border-radius:10px;padding:11px 13px;background:#fbfcfd;margin-top:10px}
.simulation-slot>b{display:flex;align-items:center;justify-content:space-between;gap:8px}
.validation-severity{display:inline-flex;font-size:10px;font-weight:850;letter-spacing:.05em;text-transform:uppercase;border-radius:5px;padding:3px 5px;margin-right:6px}
.validation-severity--info{background:#eff8ff;color:#315b7c}
.validation-severity--caution{background:#fff5df;color:#8a6010}
.validation-severity--blocking{background:#fff0f2;color:#9a2134}

@media(max-width:980px){
  .project-flow{display:flex;overflow-x:auto;scrollbar-width:thin;padding-bottom:4px}
  .project-flow__stage{flex:0 0 150px}
}
@media(max-width:780px){
  .project-flow-wrap{padding:10px 20px}
  .project-flow__stage{flex-basis:132px;padding:8px}
  .project-flow__copy b{font-size:10px}
  .project-health{padding:16px}
  .project-health__head{align-items:center}
  .project-health__score strong{font-size:17px}
  .project-health__item{grid-template-columns:minmax(0,1fr);gap:6px;padding:10px 8px}
  .project-health__status{justify-self:start}
  .technical-details-grid{grid-template-columns:1fr}
}

.field-trust-meta{display:grid;gap:5px;align-content:center;justify-items:start;min-width:0}
.field-trust-meta .confidence{width:100%;box-sizing:border-box}
.field-trust-meta .provenance-badge{max-width:100%;white-space:normal;text-align:left}
@media(max-width:780px){.field-trust-meta{justify-self:start}}

/* Import/Review only: one compact row grid, contained evidence and footer actions. */
.p3-review-form{min-width:0;container-type:inline-size;overflow-wrap:anywhere}
.p3-review-form .review-section{overflow:visible}
.p3-review-form .p3-row{display:grid;grid-template-columns:minmax(140px,.9fr) minmax(220px,2fr) minmax(170px,1fr) 112px;gap:10px 14px;padding:14px 18px;align-items:center;border-top:1px solid #e3e8f0;font-size:13px;scroll-margin-top:110px}
.p3-review-form .p3-row>*{min-width:0;max-width:100%;box-sizing:border-box}
.p3-review-form .p3-label{display:flex;align-items:center;gap:6px;flex-wrap:wrap;line-height:1.4}
.p3-review-form .p3-label>small{flex-basis:100%}
.p3-review-form .p3-row small,.p3-review-form .p3-sources small,.p3-review-form .p3-summary span{display:block;font-size:12px;line-height:1.45;color:#63728b;overflow-wrap:anywhere}
.p3-review-form .p3-value{display:grid;grid-template-columns:minmax(0,1fr) 78px;gap:7px;align-items:start}
.p3-review-form .p3-value :is(input,select){box-sizing:border-box;width:100%;min-width:0;min-height:40px;border:1px solid #d8e0ec;border-radius:7px;padding:9px 10px;font:inherit;color:inherit;background:#fff}
.p3-review-form .p3-value input[type=hidden]{display:none}
.p3-review-form .p3-value select{grid-column:1/-1}
.p3-review-form .p3-value input:not([type=hidden]):only-of-type{grid-column:1/-1}
.p3-review-form .p3-value:has(input[type=hidden])>input:not([type=hidden]){grid-column:1/-1}
.p3-review-form .p3-value small{grid-column:1/-1}
.p3-review-form .p3-provenance{display:grid;gap:5px;align-content:center;justify-items:start;min-width:0}
.p3-review-form .p3-provenance .confidence{font-size:12px;white-space:normal;line-height:1.4;max-width:100%;box-sizing:border-box}
.p3-review-form .p3-provenance .provenance-badge{display:block;white-space:normal;overflow-wrap:anywhere;max-width:100%;box-sizing:border-box;font-size:12px;line-height:1.4;text-align:left}
.p3-review-form .provenance-badge.is-manual{background:#f2f4f7;color:#b42318;border-color:#e4e7ec}
.p3-review-form .p3-review{display:flex;justify-content:flex-start;align-items:center;gap:8px;justify-self:stretch;box-sizing:border-box;min-width:0;min-height:42px;padding:9px;border:1px solid #dfe4ec;border-radius:8px;background:#f8fafc;font-size:12px;font-weight:650;line-height:1.4}
.p3-review-form .p3-review input{flex:none;width:18px;height:18px;min-width:18px;padding:0;margin:0;cursor:pointer}
.p3-review-form .p3-review span{min-width:0;overflow-wrap:normal}
.p3-review-form .p3-review.is-pending{border-color:#cdb7ff;background:#f5efff;color:#5b2a96;accent-color:#7c3aed}
.p3-review-form .p3-review.is-reviewed{border-color:#b9e5d4;background:#eefaf5;color:#176c52;accent-color:#16a374}
.p3-review-form .p3-review.is-warning{border-color:#f1d3a3;background:#fff8e9;color:#7d5412;accent-color:#c58a19}
.p3-review-form .p3-review.is-error{border-color:#efb9c1;background:#fff0f2;color:#9a2134;accent-color:#d7344f}
.p3-review-form .p3-review.is-manual{background:#f7f8fa;color:#475467;accent-color:#667085}
.p3-review-form .p3-review.is-derived{background:#f6f2fc;color:#6941a5}
.p3-review-form .p3-review.is-reviewed input{accent-color:#16a374}
.p3-review-form .p3-review.is-pending input{accent-color:#7c3aed}
.p3-review-form .p3-review.is-warning input{accent-color:#c58a19}
.p3-review-form .p3-review.is-error input{accent-color:#d7344f}
.p3-review-form .p3-review.is-manual input{accent-color:#667085}
.p3-review-form .p3-source-detail{grid-column:2/-1;padding:12px;background:#f7f8fb;border:1px solid #e9edf4;border-radius:8px;min-width:0}
.p3-review-form [hidden]{display:none!important}
.p3-review-form .p3-evidence-title{display:block;margin:0 0 10px;font-size:12px;color:#475569}
.p3-review-form .p3-observation{display:grid;gap:8px;border-top:1px solid #dbe3ef;padding:12px 0;min-width:0}
.p3-review-form .p3-observation>strong{font-size:13px}
.p3-review-form .p3-evidence{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;align-items:start;padding:10px;border-left:2px solid #dbe3ef;background:#f8faff;min-width:0}
.p3-review-form .p3-evidence small,.p3-review-form .p3-evidence code{grid-column:1;min-width:0}
.p3-review-form .p3-evidence .button{grid-column:2;grid-row:1/span 2;align-self:center}
.p3-review-form code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.5}
.p3-review-form .p3-source-detail .button,.p3-review-form .p3-sources .button{display:inline-flex;align-items:center;justify-content:center;justify-self:start;width:auto;height:auto;max-width:100%;min-height:36px;padding:7px 10px;font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
.p3-review-form .p3-conflict,.p3-review-form .p3-alternatives{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.p3-review-form .p3-conflict{padding:10px;border:1px solid #efb9c1;background:#fff7f8;border-radius:7px;margin:8px 0}
.p3-review-form .p3-conflict>strong,.p3-review-form .p3-alternatives>strong{flex-basis:100%}
.p3-review-form .p3-alternatives>div{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;line-height:1.5}
.p3-review-form .p3-derived,.p3-review-form .p3-version{padding:12px;background:#f4f8fc;border:1px solid #e0e8ef;border-radius:8px;margin:8px 0;font-size:12px;min-width:0;line-height:1.5}
.p3-review-form .p3-row>.p3-derived{grid-column:2/-1}
.p3-review-form .p3-derived ul{padding-left:18px;margin-bottom:0}.p3-review-form .p3-derived li{margin:5px 0}.p3-review-form .p3-derived p{font-size:12px}
.p3-review-form .p3-version span{display:block}
.p3-review-form .p3-flags{grid-column:1/-1;display:grid;gap:5px;font-size:12px;line-height:1.5;margin:0;min-width:0}
.p3-review-form .p3-flag--error{color:#a22b41}.p3-review-form .p3-flag--warning{color:#876022}.p3-review-form .p3-flag--info{color:#63728b}
.p3-review-form .p3-sources{padding:14px 18px;margin:0;border:1px solid #e0e6ef;border-radius:12px;min-width:0;background:#fff}
.p3-review-form .p3-sources h2{font-size:15px;margin:0 0 10px}
.p3-review-form .p3-source-grid{display:grid;gap:8px;margin-bottom:10px;min-width:0}
.p3-review-form .p3-source-grid article{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:10px;background:#f8faff;border-radius:7px;min-width:0}
.p3-review-form .p3-source-grid article>strong{font-size:11px;letter-spacing:.04em;color:#63728b}
.p3-review-form .p3-source-grid article>span{flex:1 1 260px;min-width:0;font-size:13px;overflow-wrap:anywhere}
.p3-review-form .p3-summary{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;padding:12px 16px;margin:0;border:1px solid #edf0f4;background:#f6f9fc;border-radius:9px;font-size:13px}
.p3-review-form .p3-row:focus{outline:2px solid #6842cf;outline-offset:-2px}
.p3-review-form :focus-visible{outline:3px solid #6842cf;outline-offset:3px}
.p3-review-form>.photo-editor{padding:18px;margin:0;min-width:0}
.p3-review-form>.photo-editor .driver-photo{width:260px;height:210px;max-width:100%;object-fit:contain;margin:12px 0}
.p3-review-form .photo-editor>label{display:flex;align-items:center;gap:9px;min-height:44px;font-size:13px;line-height:1.5}
.p3-review-form .photo-editor>label input{width:18px;height:18px;margin:0;flex:none}
.p3-review-form .photo-candidates{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.p3-review-form .photo-candidates .button{box-sizing:border-box;width:84px;height:84px;min-width:0;padding:6px}
.p3-review-form .photo-candidates img{width:100%;height:100%;object-fit:contain}
.p3-review-form .photo-editor>.button{min-height:40px;max-width:100%;white-space:normal;margin:3px 6px 3px 0}
.p3-review-form .photo-editor>small{display:block;font-size:12px;margin-top:8px;line-height:1.5}
.p3-review-form .review-footer{position:static;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;padding:16px 0 4px;min-width:0}
.p3-review-form .review-footer .button{height:auto;min-height:44px;box-sizing:border-box;max-width:100%;white-space:normal;font-size:13px;padding:10px 14px}
.p3-review-form .review-footer>[data-confirm-extracted]{margin-right:auto}
.p3-review-form .review-footer .button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
.p3-review-form .review-footer>small,.p3-review-form .review-footer>p{flex-basis:100%;font-size:12px;line-height:1.5;color:#63728b;margin:0}
.p3-review-form [data-p3-error]:empty,.p3-review-form [data-supplemental-progress]:empty,.p3-review-form [data-bulk-review-status]:empty{display:none}
@container(max-width:760px){
 .p3-review-form .p3-row{grid-template-columns:minmax(0,1fr) 112px;padding:14px;gap:10px}
 .p3-review-form .p3-label{grid-column:1;grid-row:1}
 .p3-review-form .p3-review{grid-column:2;grid-row:1}
 .p3-review-form .p3-value{grid-column:1/-1;grid-row:2}
 .p3-review-form .p3-provenance{grid-column:1/-1;grid-row:3;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
 .p3-review-form .p3-provenance small{flex-basis:100%}
 .p3-review-form .p3-source-detail,.p3-review-form .p3-row>.p3-derived{grid-column:1/-1}
}
@container(max-width:450px){
 .p3-review-form .p3-row{grid-template-columns:minmax(0,1fr) 108px;padding:12px;gap:10px}
 .p3-review-form .p3-value{grid-template-columns:minmax(0,1fr) 64px}
 .p3-review-form .p3-evidence{grid-template-columns:1fr;padding:8px}
 .p3-review-form .p3-evidence .button{grid-column:1;grid-row:auto}
 .p3-review-form .p3-source-detail{padding:10px}
 .p3-review-form .review-footer .button{flex:1 1 100%;margin:0}
 .p3-review-form .p3-sources{padding:12px}
}
