/* V1 keeps its original stylesheets. Only the separate preview control is shared. */
.appearance-picker{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;border:0;border-bottom:1px solid #ffffff30;padding:0 0 16px;margin:0 0 18px;min-width:0}
.appearance-picker legend{float:left;margin:0 8px 0 0;padding:0;font-size:13px;font-weight:650;color:inherit}
.appearance-picker label{display:flex!important;align-items:center;gap:8px;margin:0!important;font-size:13px!important;color:inherit;font-weight:500}
.appearance-picker input{width:17px!important;height:17px;min-height:17px!important;margin:0;padding:0;accent-color:#ffd04b;flex-shrink:0}

html[data-appearance="v2"]{
 --ink:#2c4661;--muted:#596f86;--line:#dce7f2;--paper:#fff;--canvas:#f4f8fd;
 --green:#125dca;--green-light:#edf5ff;--light:#edf5ff;--radius:12px;
 --pwp-navy:#14375d;--pwp-yellow:#ffd04b;--pwp-pale:#edf5ff;
 background:#f4f8fd;color:var(--ink);font-family:"PingFang TC","Noto Sans TC","Heiti TC",system-ui,sans-serif;
}
html[data-appearance="v2"] body{background:#f4f8fd;font-family:"PingFang TC","Noto Sans TC","Heiti TC",system-ui,sans-serif}
html[data-appearance="v2"] :where(h1,h2,h3,h4){color:var(--pwp-navy)}
html[data-appearance="v2"] :where(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #125dca;outline-offset:3px}
html[data-appearance="v2"] :where(input,textarea,select){border-color:#c6d6e8;border-radius:8px;color:var(--ink);background:#fff}
html[data-appearance="v2"] :where(input,textarea,select)::placeholder{color:var(--muted);opacity:1}
html[data-appearance="v2"] :where(input,textarea,select):focus{border-color:var(--green);outline-color:#125dca}
html[data-appearance="v2"] :where(input,textarea,select):disabled{background:#f0f4f9;color:#7c8da0}
html[data-appearance="v2"] :where(input[type="checkbox"],input[type="radio"]){accent-color:var(--green)}
html[data-appearance="v2"] :where(button,.button){transition:background-color 140ms ease-out,border-color 140ms ease-out;box-shadow:none}
html[data-appearance="v2"] :where(button.secondary,.button.secondary){border-color:#c6d6e8;background:#fff;color:var(--pwp-navy)}
html[data-appearance="v2"] :where(button.ghost,.text-button){color:var(--green)}
html[data-appearance="v2"] .primary{background:var(--green);color:#fff}
html[data-appearance="v2"] :where(dialog){background:#fff;border-color:var(--line);border-radius:14px;box-shadow:0 24px 80px #14375d26}
html[data-appearance="v2"] dialog::backdrop{background:#14375d66}

/* The three-dimensional document logo is the supplied website's third sprite. */
html[data-appearance="v2"] .brand-mark{flex-shrink:0;width:50px;height:50px;background:transparent url('/appearance-assets/company-logo-a748b13db205.png') center/100% 100% no-repeat;mix-blend-mode:multiply;border-radius:0;color:transparent;font-size:0}
html[data-appearance="v2"] .brand{color:var(--pwp-navy);gap:12px}
html[data-appearance="v2"] .brand strong{font-size:20px;font-weight:750;letter-spacing:-.4px;color:var(--green)}
html[data-appearance="v2"] .brand small{color:var(--muted);font-size:10px;letter-spacing:.4px;font-weight:500}

/* Service platform */
html[data-appearance="v2"] .app-shell{grid-template-columns:224px minmax(0,1fr)}
html[data-appearance="v2"] .sidebar{background:#fff;border-color:var(--line);padding:24px 12px 18px}
html[data-appearance="v2"] .sidebar .brand{padding:0 4px 22px}
html[data-appearance="v2"] .nav{gap:6px}
html[data-appearance="v2"] .nav button{position:relative;color:#526d88;min-height:46px;padding:12px 14px;border-radius:8px;line-height:1.6;filter:none}
html[data-appearance="v2"] .nav button.active{background:#edf5ff;color:var(--green);font-weight:650;box-shadow:inset 3px 0 var(--green)}
html[data-appearance="v2"] .nav span{font-size:11px;letter-spacing:.5px;opacity:.8;width:28px;font-variant-numeric:tabular-nums}
html[data-appearance="v2"] .side-bottom{border-color:var(--line);padding-left:12px;padding-right:12px}
html[data-appearance="v2"] .account-identity strong{color:var(--pwp-navy)}
html[data-appearance="v2"] .main>.topbar{min-height:52px;background:#fff;padding:10px 28px;border-color:var(--line)}
html[data-appearance="v2"] .breadcrumb{font-size:12px;letter-spacing:.2px}
html[data-appearance="v2"] .content{max-width:1380px;padding:24px 28px 70px}
html[data-appearance="v2"] .content>.heading:has(>h1){background:#edf5ff;min-height:84px;padding:18px 200px 18px 22px;border:1px solid #d8e8fb;border-radius:12px;align-items:center;margin-bottom:24px;position:relative}
html[data-appearance="v2"] .content>.heading:has(>h1)::before{content:"";position:absolute;width:8px;height:44px;left:0;top:33px;background:var(--pwp-yellow);border-radius:0 3px 3px 0}
html[data-appearance="v2"] .content>.heading>h1{font-size:28px;letter-spacing:-.5px;line-height:1.45}
html[data-appearance="v2"] .project-context{position:relative;background:#edf5ff;border:1px solid #d8e8fb;border-radius:12px;padding:18px 200px 18px 22px;margin-bottom:18px}
html[data-appearance="v2"] .project-context::before{content:"";position:absolute;width:8px;height:50px;left:0;top:43px;background:var(--pwp-yellow);border-radius:0 3px 3px 0}
html[data-appearance="v2"] .project-number{font-size:12px;letter-spacing:.8px;color:var(--green);font-weight:650;margin-bottom:5px}
html[data-appearance="v2"] .project-context h1{font-size:26px;font-weight:700;line-height:1.5;letter-spacing:-.5px}
html[data-appearance="v2"] .title-divider{color:#89a7c8}
html[data-appearance="v2"] .project-client{font-size:12px;line-height:1.8;margin-top:6px}
html[data-appearance="v2"] .section-label{border-color:#c6d9ef;background:#fff;color:var(--green);border-radius:7px;padding:7px 12px;margin-bottom:18px}
html[data-appearance="v2"] .section-label span{color:var(--pwp-navy);font-size:16px}
html[data-appearance="v2"] :where(.card,.panel){border-color:var(--line);border-radius:12px;background:#fff;box-shadow:0 2px 5px #14375d03}
html[data-appearance="v2"] .panel{padding:22px;margin-bottom:20px}
html[data-appearance="v2"] .panel>h2{font-size:19px;line-height:1.55}
html[data-appearance="v2"] .panel.flat{background:#edf5ff;border:1px solid #d8e8fb}
html[data-appearance="v2"] .portfolio-stats .card{padding:16px 18px}
html[data-appearance="v2"] .portfolio-stats .card:first-child{background:#fff;color:var(--ink);border-color:var(--line)}
html[data-appearance="v2"] .portfolio-stats .card:first-child :where(.muted,small){color:var(--muted)}
html[data-appearance="v2"] .card .number{font-size:30px;font-weight:650;line-height:1.2;margin:12px 0 2px;font-variant-numeric:tabular-nums}
html[data-appearance="v2"] .portfolio-filters{gap:20px;margin-bottom:22px}
html[data-appearance="v2"] .portfolio-filters label{font-size:13px;color:var(--pwp-navy);margin-top:0}
html[data-appearance="v2"] .portfolio-filters :where(input,select){height:44px;min-height:44px}
html[data-appearance="v2"] :where(th){background:#edf5ff;color:#526d88;font-weight:600}
html[data-appearance="v2"] :where(th,td){border-color:var(--line)}
html[data-appearance="v2"] .portfolio-table th{font-size:12px;padding:14px 12px}
html[data-appearance="v2"] .portfolio-table td{padding:16px 12px;line-height:1.7}
html[data-appearance="v2"] .project-link strong{font-size:18px;color:var(--pwp-navy);font-weight:700}
html[data-appearance="v2"] .project-link small{font-size:11px;color:var(--green);letter-spacing:.5px}
html[data-appearance="v2"] .portfolio-customer{font-size:12px;line-height:1.8}
html[data-appearance="v2"] .phase-label{color:var(--pwp-navy)}
html[data-appearance="v2"] :where(.notice,.recorded-answer,.service-dates,.delivery-grid){background:#edf5ff;color:var(--ink)}
html[data-appearance="v2"] :where(.status,.badge){color:var(--green);background:#edf5ff;border-color:#d5e6fa}
html[data-appearance="v2"] :where(.filebox,.empty){border-color:#bdcfe5;background:#f9fcff}
html[data-appearance="v2"] .hero{background:#edf5ff;border-color:#d5e6fa}
html[data-appearance="v2"] .steps li{border-color:#dae6f4}
html[data-appearance="v2"] .steps li.current{border-color:var(--green)}
html[data-appearance="v2"] .field-examples{border-color:#d4e5fb;background:#f9fcff;padding:8px 14px;border-radius:0 7px 7px 0}
html[data-appearance="v2"] .field-examples summary{color:var(--green)}
html[data-appearance="v2"] .question-label{color:var(--pwp-navy)}
html[data-appearance="v2"] .field{border-bottom:1px solid #e9eff7;padding-bottom:22px;margin-bottom:22px}
html[data-appearance="v2"] .field:last-child{border-bottom:0}
html[data-appearance="v2"] .info-trigger{position:relative;width:26px;height:26px;min-height:26px;line-height:24px;border-color:#a9c5e8;background:#edf5ff;color:var(--green)}
html[data-appearance="v2"] .info-tooltip{background:#14375d}
html[data-appearance="v2"] .intake-readonly :where(input,textarea,select):disabled{color:var(--ink);background:#f5f8fc;-webkit-text-fill-color:var(--ink)}
html[data-appearance="v2"] :where(.edb-published-response,.edb-response-row,.payment-summary){border-color:#cbdcf0;border-radius:10px}
html[data-appearance="v2"] .edb-answer{background:#edf5ff;border-color:#78a8e8}
html[data-appearance="v2"] .edb-waiting{background:#edf5ff;border-color:#78a8e8}
html[data-appearance="v2"] .edb-download.reference-download{background:#edf5ff;border-color:#b9d0ef}
html[data-appearance="v2"] .login{background:#edf5ff}
html[data-appearance="v2"] .login-box{max-width:620px;padding:34px;border-color:#d4e3f5;border-radius:16px;overflow:hidden;box-shadow:0 12px 50px #14375d0b}
#client-login #request-login-code,
#self-invite-code + #invite-code-confirm,
#login-verification button[type="submit"]{display:block;margin-top:12px}
html[data-appearance="v2"] .login-box::before{display:none}
html[data-appearance="v2"] .login-box h1{color:var(--pwp-navy)}

/* Original review workbench: the same layout and content, with PWP materials. */
html[data-appearance="v2"] body>.topbar{background:#fff;border-bottom:1px solid var(--line)}
html[data-appearance="v2"] .navigation{background:#f8fbff;border-color:var(--line)}
html[data-appearance="v2"] .navigation h1{font-size:19px;color:var(--pwp-navy);line-height:1.6}
html[data-appearance="v2"] .navigation .eyebrow{color:var(--green)}
html[data-appearance="v2"] .navigation :where(.case-caption,.case-subtitle){color:var(--muted)}
html[data-appearance="v2"] .nav-link{border-radius:6px;color:#526d88}
html[data-appearance="v2"] .nav-link.active{background:#e5f0ff;color:var(--green);box-shadow:inset 3px 0 var(--green)}
html[data-appearance="v2"] .document-column{background:#fff}
html[data-appearance="v2"] .document-toolbar{background:#fff;border-color:var(--line)}
html[data-appearance="v2"] .document-toolbar h2{color:var(--pwp-navy);font-size:21px}
html[data-appearance="v2"] .reader-note{background:#f2f7fe;color:var(--muted)}
html[data-appearance="v2"] .paragraph{color:var(--ink)}
html[data-appearance="v2"] .paragraph.selected{background:#edf5ff;border-color:#92b9ef;box-shadow:inset 3px 0 var(--green)}
html[data-appearance="v2"] .paragraph.major-heading{color:var(--pwp-navy);border-color:#d5e5f8}
html[data-appearance="v2"] .table-caption{background:#edf5ff;color:#526d88}
html[data-appearance="v2"] .proposal-table th{background:#f0f6ff}
html[data-appearance="v2"] .table-wrap.selected,html[data-appearance="v2"] .proposal-table tr.selected{box-shadow:inset 0 0 0 2px #82ace7}
html[data-appearance="v2"] .review-column{background:#f4f8fd;border-color:var(--line)}
html[data-appearance="v2"] .review-column .panel{background:transparent;box-shadow:none;border-radius:0;margin:0}
html[data-appearance="v2"] .panel-heading h2{color:var(--pwp-navy);font-weight:650}
html[data-appearance="v2"] .tabs{background:#f4f8fd}
html[data-appearance="v2"] .tab{color:var(--muted)}
html[data-appearance="v2"] .tab.active{color:var(--green);border-color:var(--green)}
html[data-appearance="v2"] .all-records-group{background:#edf5ff;border-color:var(--line)}
html[data-appearance="v2"] .records-button{background:#fff;border-color:#c6d9f0;color:var(--green)}
html[data-appearance="v2"] .records-button.active{background:#dcecff;border-color:#87afe7}
html[data-appearance="v2"] :where(.original-text,.receipt,.record-save-notice){background:#f0f6ff;border-color:#c8dcf4}
html[data-appearance="v2"] .record-card{background:#fff;border-color:#d3e1f1;border-radius:9px}
html[data-appearance="v2"] .evidence-card{background:#fff;border-color:#d3e1f1}
html[data-appearance="v2"] .workspace-status:not(.locked){background:#edf5ff;color:#285d9e}
html[data-appearance="v2"] #management-tools{background:#edf5ff;border-color:#d3e1f1}
html[data-appearance="v2"] .management-panel>summary{color:var(--pwp-navy)}
html[data-appearance="v2"] .workspace-account{border-color:var(--line);color:var(--pwp-navy)}
html[data-appearance="v2"] .empty-symbol{color:var(--green)}
/* Warning, conflict, tracked-change and purple adviser colours retain their meanings. */

html[data-appearance="v2"] :where(.preview-dock,.preview-tools){background:#14375d;color:#e8f2ff;border-color:#3f6489;box-shadow:0 -2px 18px #14375d18}
html[data-appearance="v2"] :where(.preview-dock,.preview-tools) summary::after{color:#c9def9}
html[data-appearance="v2"] :where(.preview-dock,.preview-tools) .preview-body{border-color:#3f6489}
html[data-appearance="v2"] #toast:not(.error){background:#14375d}

@media(hover:hover) and (pointer:fine){
 html[data-appearance="v2"] .nav button:hover,html[data-appearance="v2"] .nav-link:hover{background:#edf5ff;color:var(--green);filter:none}
 html[data-appearance="v2"] :where(button.secondary,.button.secondary):hover{background:#f0f6ff;border-color:#9fbee6;filter:none}
 html[data-appearance="v2"] .primary:hover{background:#0d4fae}
 html[data-appearance="v2"] .paragraph:hover{background:#f5f9ff;border-color:#d7e5f6}
 html[data-appearance="v2"] .portfolio-table tbody tr:hover{background:#f9fcff}
}
@media(max-width:1100px){
 html[data-appearance="v2"] .app-shell{grid-template-columns:216px minmax(0,1fr)}
 html[data-appearance="v2"] .content{padding-left:24px;padding-right:24px}
 html[data-appearance="v2"] .sidebar{padding-left:12px;padding-right:12px}
 html[data-appearance="v2"] .brand strong{font-size:18px}
 html[data-appearance="v2"] .sidebar .brand{gap:8px;padding-left:4px;padding-right:0}
}
@media(max-width:720px){
 html[data-appearance="v2"] .app-shell{display:block}
 html[data-appearance="v2"] .sidebar{padding:16px;border-bottom:1px solid var(--line)}
 html[data-appearance="v2"] .sidebar .brand{padding:0 0 16px;gap:12px}
 html[data-appearance="v2"] .brand strong{font-size:20px}
 html[data-appearance="v2"] .nav{gap:6px;padding-bottom:3px}
 html[data-appearance="v2"] .nav button{padding:10px 12px;min-height:42px}
 html[data-appearance="v2"] .account-identity{padding:12px 0 0}
 html[data-appearance="v2"] .main>.topbar{padding:14px 18px;min-height:50px}
 html[data-appearance="v2"] .content{padding:22px 16px 50px}
 html[data-appearance="v2"] .content>.heading:has(>h1){padding:21px 22px;min-height:96px;background-image:none;gap:16px}
 html[data-appearance="v2"] .content>.heading>h1{font-size:25px}
 html[data-appearance="v2"] .content>.heading:has(>h1)::before{top:26px}
 html[data-appearance="v2"] .project-context{padding:20px;background-image:none}
 html[data-appearance="v2"] .project-context h1{font-size:23px}
 html[data-appearance="v2"] .project-context::before{top:40px}
 html[data-appearance="v2"] .project-client{font-size:12px}
 html[data-appearance="v2"] .panel{padding:18px}
 html[data-appearance="v2"] .portfolio-stats .card{padding:15px}
 html[data-appearance="v2"] .portfolio-table td{padding:0}
 html[data-appearance="v2"] .portfolio-table tr{border-color:#d1e1f4;background:#fff;padding:17px;border-radius:10px}
 html[data-appearance="v2"] .card .number{font-size:29px}
 html[data-appearance="v2"] .section-label{font-size:12px}
 html[data-appearance="v2"] .field{padding-bottom:22px;margin-bottom:22px}
 html[data-appearance="v2"] .login-box{padding:25px}
 html[data-appearance="v2"] .pwp-banner{margin:-25px -25px 24px}
}
@media(max-width:600px){
 html[data-appearance="v2"] body>.topbar .brand{font-size:17px}
 html[data-appearance="v2"] body>.topbar .brand-mark{width:34px;height:34px}
 html[data-appearance="v2"] .document-toolbar h2{font-size:18px}
 html[data-appearance="v2"] .navigation h1{font-size:17px}
 html[data-appearance="v2"] .navigation{padding:16px}
 html[data-appearance="v2"] .review-column .panel{padding:18px 20px 40px}
 .appearance-picker{gap:12px 18px}.appearance-picker legend{float:none;margin-bottom:10px}
}
@media(prefers-reduced-motion:reduce){html[data-appearance="v2"] *{transition:none!important;scroll-behavior:auto!important}}

html[data-appearance="v2"] #preview-tools :where(input,select,summary,button):focus-visible{outline-color:#ffd04b}

/* Yellow is a small brand accent; functional panels retain blue and white. */
.pwp-header-brand,.pwp-banner{display:none}
html[data-appearance="v2"] .pwp-logo{display:block;flex-shrink:0;width:58px;height:58px;background:url('/appearance-assets/company-logo-a748b13db205.png') center/100% 100% no-repeat;mix-blend-mode:multiply}
html[data-appearance="v2"] .pwp-header-brand{position:absolute;right:24px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:4px;color:var(--green);pointer-events:none;mix-blend-mode:multiply}
html[data-appearance="v2"] .pwp-header-brand strong{font-size:17px;line-height:1.5;white-space:nowrap;letter-spacing:-.3px}
html[data-appearance="v2"] .content>.heading:has(>h1),html[data-appearance="v2"] .project-context{border-bottom:2px solid var(--pwp-yellow)}
html[data-appearance="v2"] .pwp-banner{display:block;position:relative;isolation:isolate;min-height:260px;margin:-34px -34px 28px;background:#b5daf8;border-bottom:2px solid var(--pwp-yellow)}
html[data-appearance="v2"] .pwp-banner-brand{position:relative;z-index:1;max-width:48%;padding:28px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;mix-blend-mode:multiply}
html[data-appearance="v2"] .pwp-banner-brand .pwp-logo{width:64px;height:64px}
html[data-appearance="v2"] .pwp-banner-brand strong{display:block;color:var(--green);font-size:26px;line-height:1.4;white-space:nowrap;letter-spacing:-.5px}
html[data-appearance="v2"] .pwp-banner-brand small{display:block;color:var(--pwp-navy);font-size:12px;line-height:1.7;margin-top:7px;max-width:170px}
html[data-appearance="v2"] .pwp-banner-art{position:absolute;right:0;top:0;bottom:0;width:67%;mask-image:linear-gradient(to right,transparent,#000 19%)}
html[data-appearance="v2"] .pwp-banner-art img{display:block;width:100%;height:100%;object-fit:contain;object-position:right center}
@media(max-width:720px){
 html[data-appearance="v2"] .pwp-header-brand{position:static;transform:none;margin:0 0 12px;justify-content:flex-start;gap:7px}
 html[data-appearance="v2"] .pwp-header-brand .pwp-logo{width:34px;height:34px}
 html[data-appearance="v2"] .pwp-header-brand strong{font-size:16px}
 html[data-appearance="v2"] .content>.heading:has(>h1){display:flex;flex-wrap:wrap}
 html[data-appearance="v2"] .content>.heading>.pwp-header-brand{flex-basis:100%;margin-bottom:0}
 html[data-appearance="v2"] .content>.heading:has(>h1)::before{top:70px}
 html[data-appearance="v2"] .project-context::before{top:84px}
 html[data-appearance="v2"] .pwp-banner{margin:-25px -25px 24px}
}
@media(max-width:480px){
 html[data-appearance="v2"] .pwp-banner{min-height:0}
 html[data-appearance="v2"] .pwp-banner-brand{flex-direction:row;max-width:none;padding:20px 20px 10px;align-items:center;gap:10px}
 html[data-appearance="v2"] .pwp-banner-brand .pwp-logo{width:52px;height:52px}
 html[data-appearance="v2"] .pwp-banner-brand strong{font-size:23px}
 html[data-appearance="v2"] .pwp-banner-brand small{font-size:11px;margin-top:2px;max-width:none}
 html[data-appearance="v2"] .pwp-banner-art{position:relative;inset:auto;width:100%;aspect-ratio:3/2;mask-image:none}
}

html[data-appearance="v2"] .content>.heading:has(>h1)::before,html[data-appearance="v2"] .project-context::before{display:none}

/* Compact work surfaces: identity, next action, then the complete project records. */
html[data-appearance="v2"] :where(button,.button){min-height:44px;line-height:1.5}
html[data-appearance="v2"] :where(input:not([type="checkbox"]):not([type="radio"]),select){min-height:44px}
html[data-appearance="v2"] :where(button,.button):disabled{cursor:not-allowed}
html[data-appearance="v2"] .hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 24px;padding:18px 20px;margin-bottom:16px}
html[data-appearance="v2"] .hero>.heading{grid-column:1;grid-row:1;margin:0;min-width:0}
html[data-appearance="v2"] .hero .eyebrow{font-size:12px;margin-bottom:5px}
html[data-appearance="v2"] .hero h2{font-size:18px;line-height:1.5;margin:0}
html[data-appearance="v2"] .hero>p{grid-column:1;grid-row:2;margin:0;font-size:14px;line-height:1.75}
html[data-appearance="v2"] .hero>.actions{grid-column:2;grid-row:1/3;align-self:center;margin:0;max-width:300px}
html[data-appearance="v2"] .hero+.cards{gap:0;border:1px solid var(--line);background:#fff;border-radius:10px;margin:0 0 20px;overflow:hidden}
html[data-appearance="v2"] .hero+.cards>.card{padding:13px 20px;border:0;border-radius:0;box-shadow:none}
html[data-appearance="v2"] .hero+.cards>.card+.card{border-left:1px solid var(--line)}
html[data-appearance="v2"] .hero+.cards small{font-size:12px;line-height:1.6}
html[data-appearance="v2"] .hero+.cards .number{font-size:22px;line-height:1.35;margin:6px 0 0;color:var(--pwp-navy)}
html[data-appearance="v2"] .portfolio-stats{margin:18px 0;gap:12px}
html[data-appearance="v2"] .portfolio-stats .number{font-size:26px;line-height:1.2;margin:8px 0 0;color:var(--pwp-navy)}
html[data-appearance="v2"] .portfolio-table td:last-child small{font-size:12px;line-height:1.7;color:var(--muted)}
html[data-appearance="v2"] :where(.schedule-edit-table,.intake-structured-table) :where(input,select,button){min-height:40px}
html[data-appearance="v2"] :where(.doc-section-title button,.text-button,.row-button){min-height:32px}
html[data-appearance="v2"] .choice-info{align-self:flex-start}
html[data-appearance="v2"] .info-trigger{min-height:26px}
html[data-appearance="v2"] .info-trigger::before{content:"";position:absolute;inset:-6px;border-radius:50%}
html[data-appearance="v2"] .choices{row-gap:14px}

/* The original review workbench remains intact, with more room for reading. */
html[data-appearance="v2"] body>.topbar{min-height:76px;height:auto;padding:10px 24px;gap:12px 20px}
html[data-appearance="v2"] body>.topbar :where(.button,button){min-height:40px}
html[data-appearance="v2"] .topbar .top-actions{flex-wrap:wrap}
html[data-appearance="v2"] #management-tools{padding-top:0;padding-bottom:0}
html[data-appearance="v2"] .management-panel>summary{padding-top:10px;padding-bottom:10px;font-size:13px}
html[data-appearance="v2"] .workspace-status{padding-top:8px;padding-bottom:8px;font-size:12px;line-height:1.6}
html[data-appearance="v2"] .document-toolbar{padding:16px 24px;gap:12px}
html[data-appearance="v2"] .document-toolbar h2{font-size:20px}
html[data-appearance="v2"] .reader-note{padding:10px 24px;font-size:12px}
html[data-appearance="v2"] .document{padding:18px 24px 70px}
html[data-appearance="v2"] .paragraph{font-size:15px;line-height:1.85}
html[data-appearance="v2"] :where(.paragraph .loc,.record-meta,.record-status,.selection-label,.small-label,.evidence-file,.evidence-tag,.evidence-card,.finding p,.panel-heading p,.microcopy,.optional,.search-label,#search){font-size:12px}
html[data-appearance="v2"] .paragraph .loc{color:var(--muted)}
html[data-appearance="v2"] :where(.finding p,.record-card p){color:var(--ink)}
html[data-appearance="v2"] .proposal-table{font-size:13px}
html[data-appearance="v2"] .panel-heading{padding:18px 22px 14px}
html[data-appearance="v2"] .review-column .panel{padding:18px 22px 40px}
html[data-appearance="v2"] :where(.tab,.nav-link){min-height:40px}
html[data-appearance="v2"] :where(.text-button,.row-button){min-height:32px}
html[data-appearance="v2"] .navigation .nav-link{font-size:13px}
html[data-appearance="v2"] .info-trigger{min-height:26px}
html[data-appearance="v2"] #toast{bottom:82px;max-width:calc(100vw - 32px);border-radius:9px;box-shadow:0 6px 24px #14375d26;line-height:1.7;z-index:40}
html[data-appearance="v2"] :where(button,.button).pwp-pending{position:relative;color:transparent!important;opacity:1;cursor:progress}
html[data-appearance="v2"] .pwp-pending>*{visibility:hidden}
html[data-appearance="v2"] .pwp-pending>.pwp-pending-label{visibility:visible;position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--pwp-navy);pointer-events:none;font-size:13px;white-space:nowrap}
html[data-appearance="v2"] .pwp-pending.primary>.pwp-pending-label,html[data-appearance="v2"] .actions>button:not(.secondary):not(.ghost).pwp-pending>.pwp-pending-label{color:#fff}
@media(min-width:961px){
 html[data-appearance="v2"] body:has(>.workspace:not([hidden])){display:flex;flex-direction:column;height:100dvh;overflow:hidden}
 html[data-appearance="v2"] body>.topbar,html[data-appearance="v2"] #management-tools,html[data-appearance="v2"] .workspace-status{flex-shrink:0}
 html[data-appearance="v2"] .workspace{height:auto;min-height:0;flex:1}
 html[data-appearance="v2"] :where(.navigation,.document-column,.review-column){min-height:0;max-height:none}
}
@media(hover:hover) and (pointer:fine){
 html[data-appearance="v2"] :where(.actions>button,.button.primary){transition:transform 140ms cubic-bezier(.23,1,.32,1),background-color 140ms ease,border-color 140ms ease}
 html[data-appearance="v2"] :where(.actions>button,.button.primary):active:not(:disabled):not(:focus-visible){transform:scale(.98)}
}
@media(max-width:1100px) and (min-width:721px){
 html[data-appearance="v2"] .hero{grid-template-columns:1fr}
 html[data-appearance="v2"] .hero>.actions{grid-column:1;grid-row:3;max-width:none;margin-top:4px}
}
@media(max-width:720px){
 html[data-appearance="v2"] .content{padding:20px 16px 50px}
 html[data-appearance="v2"] .hero{grid-template-columns:1fr;padding:18px;gap:8px}
 html[data-appearance="v2"] .hero>.actions{grid-column:1;grid-row:3;max-width:none;margin-top:6px}
 html[data-appearance="v2"] .hero+.cards>.card{padding:12px}
 html[data-appearance="v2"] .hero+.cards .number{font-size:19px}
 html[data-appearance="v2"] .portfolio-stats .card{padding:14px}
 html[data-appearance="v2"] .portfolio-table td:last-child small{display:block}
 html[data-appearance="v2"] .portfolio-table td:last-child small br{display:initial}
 html[data-appearance="v2"] .info-trigger{width:32px;height:32px;min-height:32px;line-height:30px}
 html[data-appearance="v2"] .choice-item{min-height:32px}
 html[data-appearance="v2"] .choices{row-gap:16px}
 html[data-appearance="v2"] .project-context{margin-top:0;margin-bottom:18px}
}
@media(max-width:600px){
 html[data-appearance="v2"] body>.topbar{padding:12px 16px;gap:10px;min-height:76px}
 html[data-appearance="v2"] .document-toolbar{padding:16px}
 html[data-appearance="v2"] .document{padding:18px 16px 50px}
 html[data-appearance="v2"] .hero+.cards small{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 html[data-appearance="v2"] :where(.actions>button,.button.primary){transition:none;transform:none!important}
}
