/* Denver's Desk Black / full legal folio.
   The entire study is the front paper sheet. Existing case tabs retain their
   real working state; specimen print formats follow DD export structures. */
body.industry-page[data-industry="lawyers"]{--black-ink:#283442;--black-muted:#64717f;--black-stroke:#bcc6cf;
 --black-paper:#eeede7;--black-violet:#59496f;background:#0c1017;color:#f2f4f7}
body.industry-page[data-industry="lawyers"] .industry-header{position:relative;z-index:5;background:#171623}
body.industry-page[data-industry="lawyers"] main{position:relative;isolation:isolate;
 width:min(1620px,calc(100% - clamp(1.2rem,5vw,6rem)));max-width:none;
 margin:clamp(2.5rem,5vw,6rem) auto clamp(5rem,8vw,10rem);
 padding:clamp(1rem,4vw,5rem);box-sizing:border-box;
 color:var(--black-ink);
 background:repeating-linear-gradient(0deg,transparent 0px,transparent 35px,#acb7bf14 36px),
 linear-gradient(140deg,#f8f7f1,#eeede7 70%,#e3e7e9);
 border:1px solid #e9e9e5;border-radius:4px;
 box-shadow:0 3px 0 #cad1d5,0 24px 0 -10px #ced3d9,0 44px 0 -18px #aab5bf,
 0 67px 120px #000c;transform:none;
}
body.industry-page[data-industry="lawyers"] main:before,
body.industry-page[data-industry="lawyers"] main:after{content:"";position:absolute;z-index:-1;
 top:-12px;bottom:-12px;left:12px;right:-12px;
 background:#d0d7dd;border:1px solid #aeb8c4;border-radius:5px;transform:translate(2px,5px);box-shadow:0 14px 35px #0007}
body.industry-page[data-industry="lawyers"] main:after{top:5px;bottom:-20px;left:-9px;right:6px;background:#bac6cf;transform:translate(-2px,11px);z-index:-2}
body.industry-page[data-industry="lawyers"] main>section,
body.industry-page[data-industry="lawyers"] .black-file-topline{position:relative;z-index:1}
body.industry-page[data-industry="lawyers"] .black-file-topline{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;
 padding-bottom:1.1rem;border-bottom:3px solid #576a76;
 color:#54616a;font-size:.64rem;font-weight:950;letter-spacing:.15em}
body.industry-page[data-industry="lawyers"] .industry-hero{width:100%;padding:clamp(2.4rem,5vw,5rem) 0 clamp(1rem,2vw,2rem)}
body.industry-page[data-industry="lawyers"] .industry-hero-top{color:#526172}
body.industry-page[data-industry="lawyers"] .industry-kicker{color:#62576d}
body.industry-page[data-industry="lawyers"] .industry-review-tag{border-color:#70849682;color:#536273;background:#9ab2c129}
body.industry-page[data-industry="lawyers"] .industry-hero-grid{grid-template-columns:minmax(0,1.4fr) minmax(230px,.6fr);align-items:center;gap:clamp(1.6rem,3vw,3rem)}
body.industry-page[data-industry="lawyers"] .industry-hero-copy h1{color:#223341;text-shadow:none;font-family:Georgia,'Times New Roman',serif;letter-spacing:-.065em;font-size:clamp(3.5rem,5.5vw,6.8rem)}
body.industry-page[data-industry="lawyers"] .industry-index{color:#6e6d78}
body.industry-page[data-industry="lawyers"] .industry-lead{color:#546172;max-width:70ch}
body.industry-page[data-industry="lawyers"] .industry-hero .industry-intro-actions .industry-action{border:1px solid #8d869f;background:#e9e6ee;color:#2e293d}
body.industry-page[data-industry="lawyers"] .industry-hero .industry-intro-actions .industry-action.primary{background:#40334e;color:#f6effd}
.black-folio-cover-index{position:relative;padding:2.3rem 1.75rem 1.5rem;align-self:stretch;
 background:repeating-linear-gradient(0deg,#ffffff00 0px,#ffffff00 32px,#d0d8db75 33px),
 #e7ebeb;border:1px solid #9ca8b3;border-top:11px solid #566c79;
 box-shadow:10px 13px 0 #c8cdd1,12px 15px 0 #8f9dac;transform:rotate(1.2deg)}
.black-folio-cover-index:before{content:"";position:absolute;top:-11px;left:17%;width:65px;height:13px;border-radius:0 0 7px 7px;background:#7b8490;box-shadow:0 2px 0 #4e5964}
.black-cover-stamp{display:inline-block;padding:.45rem .6rem;border:2px solid #715c72;color:#715c72;transform:rotate(-8deg);
 font-weight:950;font-size:.59rem;letter-spacing:.11em;margin:0 0 2rem}
.black-folio-cover-index>strong{display:block;color:#263442;font-family:Georgia,serif;font-size:1.75rem;letter-spacing:-.05em}
.black-folio-cover-index ol{list-style:none;padding:0;margin:1rem 0 1.4rem}
.black-folio-cover-index li{padding:.7rem 0;border-bottom:1px solid #bdc7cd;font-weight:850;font-size:.66rem;letter-spacing:.07em}
.black-folio-cover-index>small{font-size:.58rem;color:#6d7985;font-weight:800;letter-spacing:.1em}
body.industry-page[data-industry="lawyers"] .industry-instrument-immersive{color:var(--black-ink);
 background:transparent!important;width:100%!important;max-width:none!important;padding:1.1rem 0 2.5rem!important;overflow:visible!important;}
body.industry-page[data-industry="lawyers"] .immersive-overline{padding:1rem 0;color:#5a6771;border-top:2px solid #b7c1c8;border-bottom:1px solid #c7cdd2}
body.industry-page[data-industry="lawyers"] .immersive-heading{width:100%;padding:clamp(1rem,2vw,2rem) 0;margin:0 auto!important}
body.industry-page[data-industry="lawyers"] .immersive-heading h2{color:#293748;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.2rem,3.5vw,4rem)}
body.industry-page[data-industry="lawyers"] .immersive-heading p{color:#6b7580}
body.industry-page[data-industry="lawyers"] .immersive-black-cabinet{padding:1.2rem!important;width:99%!important;
 background:#e2e6e8!important;border:1px solid #b2bec8!important;border-left:8px solid #667c8d!important;
 margin-bottom:1.5rem!important;box-shadow:5px 6px 0 #bcc6cc}
body.industry-page[data-industry="lawyers"] .immersive-black-cabinet .immersive-pane-head,
body.industry-page[data-industry="lawyers"] .immersive-black-cabinet .immersive-pane-head strong{color:#304256}
body.industry-page[data-industry="lawyers"] .immersive-matter-choice{background:linear-gradient(140deg,#eff0ec,#d4dae0)!important;
 border:1px solid #9faebc!important;color:#304153!important;border-radius:2px!important}
body.industry-page[data-industry="lawyers"] .immersive-matter-choice.is-active,
body.industry-page[data-industry="lawyers"] .immersive-matter-choice[aria-pressed="true"]{border-color:#655877!important;background:#e7dde9!important;box-shadow:inset 0 0 0 2px #9f87b170}
body.industry-page[data-industry="lawyers"] .immersive-matter-choice strong{color:#273849}
body.industry-page[data-industry="lawyers"] .immersive-matter-choice small,
body.industry-page[data-industry="lawyers"] .immersive-black-disclaimer{color:#65717d}
body.industry-page[data-industry="lawyers"] .immersive-black-folder{background:transparent!important;padding:0!important}
body.industry-page[data-industry="lawyers"] .immersive-black-tabs{width:97%!important}
body.industry-page[data-industry="lawyers"] .immersive-black-tabs button{background:#cfd8de;color:#27384a;border:1px solid #99aebd;
 border-bottom-color:#758996;border-radius:8px 8px 2px 2px;box-shadow:1px -2px 0 #94a9b676}
body.industry-page[data-industry="lawyers"] .immersive-black-tabs button[aria-selected="true"]{background:#f5f4ee;color:#283540;border-color:#6e7386}
body.industry-page[data-industry="lawyers"] .dd-black-paper-deck{width:99%!important;max-width:none!important;margin:auto!important}
body.industry-page[data-industry="lawyers"] .dd-black-paper-deck .immersive-black-paper{
 border-color:#b8c5ca!important;
 background:linear-gradient(135deg,#fffefb,#ecefed 95%)!important;
 min-height:clamp(760px,91svh,1160px)!important;
 box-shadow:0 24px 55px #4f616569!important}
body.industry-page[data-industry="lawyers"] .dd-black-paper-backing{background:#d0dbe1!important}
body.industry-page[data-industry="lawyers"] .dd-black-paper-backing:nth-child(2){background:#bfcbd4!important}
body.industry-page[data-industry="lawyers"] .dd-black-paper-controls button{background:#e9e9eb;color:#2b3645;border-color:#9eacb7}
body.industry-page[data-industry="lawyers"] .dd-black-paper-current{color:#59636f}
body.industry-page[data-industry="lawyers"] .immersive-below{color:#586575;border-top:2px solid #aebbc6}
body.industry-page[data-industry="lawyers"] .instrument-honesty{color:#64717e}
body.industry-page[data-industry="lawyers"] .industry-story{width:100%;margin-top:2rem;
 background:#e9e6db;border:1px solid #b6afa0;border-left:8px solid #927d6d;border-radius:0;
 box-shadow:5px 6px 0 #c9c6b8;transform:rotate(.4deg)}
body.industry-page[data-industry="lawyers"] .industry-story span{color:#5d5367}
body.industry-page[data-industry="lawyers"] .industry-story p{color:#4b4b52}
body.industry-page[data-industry="lawyers"] .industry-journey,
body.industry-page[data-industry="lawyers"] .industry-system,
body.industry-page[data-industry="lawyers"] .industry-guardrail,
body.industry-page[data-industry="lawyers"] .industry-outro{width:100%;max-width:none;margin:0;padding:clamp(3rem,5vw,5rem) 0 0}
body.industry-page[data-industry="lawyers"] .industry-section-heading{border-top:2px solid #8a9198;padding-top:1.5rem}
body.industry-page[data-industry="lawyers"] .industry-section-heading h2,
body.industry-page[data-industry="lawyers"] .industry-outro h2,
body.industry-page[data-industry="lawyers"] .industry-guardrail h2{
 color:#293c4a;font-family:Georgia,serif;letter-spacing:-.045em}
body.industry-page[data-industry="lawyers"] .industry-section-heading>p{color:#61717d}
body.industry-page[data-industry="lawyers"] .industry-stage-shell{border:1px solid #a0b1bc;border-radius:0;background:#f7f7f3}
body.industry-page[data-industry="lawyers"] .industry-stages{background:linear-gradient(110deg,#d7dce0,#e7e8e9);border-color:#afbdc7}
body.industry-page[data-industry="lawyers"] .industry-stages button{color:#43515e;border:1px solid #a6b5bf;
 background:#eaedef;border-radius:0;text-align:left}
body.industry-page[data-industry="lawyers"] .industry-stages button span{color:#687481}
body.industry-page[data-industry="lawyers"] .industry-stages button strong{color:#344554}
body.industry-page[data-industry="lawyers"] .industry-stages button[aria-selected="true"]{
 background:linear-gradient(120deg,#fdfcf8,#f2f0ea)!important;border-left:7px solid #75617e!important}
body.industry-page[data-industry="lawyers"] .industry-stage-panels{background:#fafaf7!important;border:0}
body.industry-page[data-industry="lawyers"] .industry-stage-panels [role="tabpanel"]{background:transparent!important;color:#2b3d4b!important}
body.industry-page[data-industry="lawyers"] .industry-panel-heading h3,
body.industry-page[data-industry="lawyers"] .industry-panel-heading p{color:#283c49}
body.industry-page[data-industry="lawyers"] .industry-panel-lead,
body.industry-page[data-industry="lawyers"] .industry-data-rule{color:#4f626f}
body.industry-page[data-industry="lawyers"] .industry-step-number{background:#53445f;color:#fff}
body.industry-page[data-industry="lawyers"] .industry-data-handoff>div{background:#e5e7e8;border:1px solid #bcc4ca;border-radius:0;color:#314250}
body.industry-page[data-industry="lawyers"] .industry-data-handoff strong,
body.industry-page[data-industry="lawyers"] .industry-data-handoff small{color:#314250}
body.industry-page[data-industry="lawyers"] .industry-handoff-arrow{color:#716284}
body.industry-page[data-industry="lawyers"] .industry-used-modules{color:#44535d}
body.industry-page[data-industry="lawyers"] .industry-used-modules em{background:#e7e3ec;border:1px solid #a99db6;color:#493d56}
body.industry-page[data-industry="lawyers"] .industry-system-grid article{background:#ecefed;border:1px solid #abb9bf;
 border-radius:2px;color:#293b45;box-shadow:8px 8px 0 #cbd4d8}
body.industry-page[data-industry="lawyers"] .industry-system-grid h3,
body.industry-page[data-industry="lawyers"] .industry-system-grid p,
body.industry-page[data-industry="lawyers"] .industry-card-overline{color:#344753}
body.industry-page[data-industry="lawyers"] .industry-system-flow span,
body.industry-page[data-industry="lawyers"] .industry-module-tags span{background:#dedbe3;border:1px solid #a99ba9;color:#403b49}
body.industry-page[data-industry="lawyers"] .industry-guardrail{margin:3rem 0 0;padding:1.4rem!important;
 background:#f1ece4;border:1px dashed #a18c81;border-radius:2px;color:#4e4651}
body.industry-page[data-industry="lawyers"] .industry-guardrail p{color:#5f5b61}
body.industry-page[data-industry="lawyers"] .industry-outro{margin-top:4rem;padding-bottom:1rem!important;border-top:2px solid #a7b5ba}
body.industry-page[data-industry="lawyers"] .industry-outro p{color:#5f6b78}
body.industry-page[data-industry="lawyers"] .industry-outro a{color:#fff;background:#51425d;border-color:#51425d}
body.industry-page[data-industry="lawyers"] .industry-footer{background:#12131e;color:#9a9ba7}
/* DD print specimen: table/header/footer mirror the real HTML export
   arrangement (brand > document title > metadata > rows > totals). */
.black-evidence{width:100%;margin:3.5rem 0 0;padding:clamp(1rem,3vw,3rem);box-sizing:border-box;
 border:1px solid #aab8c3;background:repeating-linear-gradient(0deg,transparent 0,transparent 38px,#b7c0c826 39px),#dfe5e8}
.black-evidence-heading{display:grid;gap:.6rem;padding-bottom:1.4rem;border-bottom:2px solid #a5b2bc}
.black-evidence-heading>span{font-size:.65rem;font-weight:900;letter-spacing:.15em;color:#61556a}
.black-evidence-heading h2{color:#2b3c49;font-family:Georgia,serif;letter-spacing:-.06em;
 font-size:clamp(2.3rem,4vw,4.8rem);line-height:1.04;margin:0}
.black-evidence-heading p{color:#5d6b76;max-width:95ch;font-size:.8rem;line-height:1.7}
.black-evidence-tabs{display:flex;align-items:end;flex-wrap:wrap;gap:.5rem;margin:1.5rem 0 .15rem}
.black-evidence-tabs button{cursor:pointer;padding:.8rem 1.1rem;border:1px solid #aab6c0;
 border-radius:8px 8px 0 0;background:#c9d3da;color:#2c3c4b;font-size:.72rem;font-weight:850;transition:transform .2s}
.black-evidence-tabs button[aria-pressed="true"]{background:#fffefa;border-color:#778d9e;transform:translateY(-3px);color:#473953}
.black-evidence-tabs button:focus-visible{outline:3px solid #8568ad}
.black-evidence-workbench{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,.78fr);gap:clamp(1rem,2.5vw,3rem);align-items:start}
.black-print-document{position:relative;display:flex;flex-direction:column;min-height:clamp(680px,64vw,1020px);
 width:100%;padding:clamp(1.25rem,3.4vw,4rem);box-sizing:border-box;
 background:#fffefa;border:1px solid #aeb7c1;color:#182531;
 box-shadow:6px 9px 0 #c9d2d7,10px 14px 0 #adb9c5,0 25px 40px #283f4b33;
 font:12px/1.42 Arial,Helvetica,sans-serif;animation:blackPrintTurn .46s both}
@keyframes blackPrintTurn{from{opacity:.25;transform:translateX(10px) rotate(1.2deg);filter:blur(3px)}
 to{opacity:1;transform:translateX(0) rotate(0);filter:none}}
.black-print-header{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:.8rem;align-items:center}
.black-print-business{display:flex;flex-direction:column;gap:.3rem;min-width:0;color:#303c4c}
.black-print-business small,.black-print-business span{font-size:.56rem;letter-spacing:.05em;color:#64717c}
.black-print-business strong{font-size:clamp(.7rem,.9vw,1rem);line-height:1.1}
.black-print-logo{display:grid;place-items:center}.black-print-logo img{width:min(90%,100px);height:auto;aspect-ratio:1;object-fit:contain}
.black-print-doc-title{display:grid;gap:.35rem;justify-items:end;text-align:right}
.black-print-doc-title h3{margin:0;color:#161d27;letter-spacing:-.03em;font-family:Arial,sans-serif;
 font-size:clamp(.95rem,1.65vw,1.55rem);font-weight:400;line-height:1.2}
.black-print-doc-title span{font-size:.76rem;font-weight:700}
.black-print-doc-title small{font-size:.54rem;color:#65707b}
.black-print-metadata{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem 1.7rem;margin:2rem 0;
 border-top:1px solid #252c35;border-bottom:1px solid #b0b4bc;padding:1rem 0}
.black-print-metadata>div{display:grid;gap:.2rem;min-width:0}
.black-print-metadata b{font-size:.55rem;color:#67727e;letter-spacing:.1em}
.black-print-metadata strong{font-size:.8rem;color:#222d3b}
.black-print-note{min-height:125px;border:1px solid #a7a9b8;background:#f2f0f7}
.black-print-note strong{display:block;padding:.5rem .7rem;background:#d7d1e4;font-size:.7rem}
.black-print-note p{padding:.6rem .75rem;margin:0;font-size:.76rem;line-height:1.6}
.black-print-lines{width:100%;border-collapse:collapse;margin:2rem 0;table-layout:fixed}
.black-print-lines th{border-block:1px solid #2c3440;padding:.4rem .3rem;text-align:left;font-size:.66rem;color:#222c39}
.black-print-lines td{border-bottom:1px solid #cbd0d4;padding:.65rem .3rem;font-size:.69rem;overflow-wrap:anywhere}
.black-print-lines td:first-child,.black-print-lines th:first-child{width:50px}
.black-print-lines td:last-child,.black-print-lines th:last-child{text-align:right}
.black-print-totals{display:flex;justify-content:flex-end;margin-top:auto;padding:1.5rem 0 1rem}
.black-print-totals>div{min-width:42%;display:flex;justify-content:space-between;gap:1rem;padding:.7rem 0;border-top:2px solid #28313d}
.black-print-totals span{font-weight:700;font-size:.65rem}
.black-print-totals strong{font-weight:900;font-size:.88rem}
.black-print-footer{display:flex;justify-content:space-between;gap:.6rem;flex-wrap:wrap;
 padding-top:1rem;border-top:1px solid #a4aeba;font-size:.5rem;color:#6a7680}
.black-app-proof{margin:clamp(2rem,4vw,4rem) 0 0;background:#ecece9;padding:1.1rem;
 border:1px solid #a5afb7;box-shadow:5px 8px 0 #b3bec5;transform:rotate(1deg)}
.black-app-proof-photo{padding:.45rem;background:#282431;border:7px solid #555264;box-shadow:0 12px 22px #0004}
.black-app-proof img{display:block;width:100%;height:auto;max-height:360px;object-fit:cover;object-position:top}
.black-app-proof figcaption{display:grid;gap:.75rem;padding:1.1rem .5rem .2rem}
.black-app-proof figcaption strong{font-size:.7rem;letter-spacing:.1em;color:#374653}
.black-app-proof figcaption span{font-size:.73rem;color:#596976;line-height:1.65}
@media(max-width:1050px){
 body.industry-page[data-industry="lawyers"] .industry-hero-grid{grid-template-columns:1fr}
 .black-folio-cover-index{max-width:560px}
 .black-evidence-workbench{grid-template-columns:1fr}
 .black-app-proof{max-width:640px;margin:1rem auto}
}
@media(max-width:720px){
 body.industry-page[data-industry="lawyers"] main{width:calc(100% - 14px);margin:1.8rem auto 4rem;
 padding:.85rem;transform:none}
 body.industry-page[data-industry="lawyers"] main:before{left:4px;right:-4px;transform:translate(1px,2px)}
 body.industry-page[data-industry="lawyers"] main:after{left:-3px;right:4px;transform:translate(-1px,4px)}
 body.industry-page[data-industry="lawyers"] .industry-hero-copy h1{font-size:clamp(2.55rem,10vw,4.4rem)}
 body.industry-page[data-industry="lawyers"] .immersive-black-folder{padding:0!important}
 body.industry-page[data-industry="lawyers"] .dd-black-paper-deck{width:97%!important}
 body.industry-page[data-industry="lawyers"] .dd-black-paper-deck .immersive-black-paper{min-height:660px!important}
 body.industry-page[data-industry="lawyers"] .industry-instrument-immersive{padding-inline:0!important}
 body.industry-page[data-industry="lawyers"] .black-file-topline{font-size:.54rem}
 .black-evidence{padding:.8rem}
 .black-evidence-tabs button{padding:.6rem .55rem;font-size:.57rem}
 .black-print-document{min-height:590px;padding:.8rem}
 .black-print-header{gap:.25rem}
 .black-print-business strong{font-size:.58rem}
 .black-print-business small,.black-print-business span{font-size:.4rem}
 .black-print-doc-title h3{font-size:.78rem}.black-print-doc-title span{font-size:.62rem}
 .black-print-logo img{width:min(80%,53px)}
 .black-print-metadata{gap:.5rem;margin:1rem 0}
 .black-print-metadata strong{font-size:.67rem}
 .black-print-note p{font-size:.65rem}
 .black-print-lines th{font-size:.51rem;padding:.4rem .15rem}
 .black-print-lines td{font-size:.54rem;padding:.5rem .12rem}
 .black-print-lines td:first-child,.black-print-lines th:first-child{width:23px}
 .black-print-footer{font-size:.4rem}
}
@media(prefers-reduced-motion:reduce){
 .black-print-document{animation:none!important}
 .black-evidence-tabs button{transition:none!important}
}

/* Taller-than-a-viewport paper cannot be rotated as a whole without making
   its distant corners overflow on wide/short screens. Keep the layers square. */
body.industry-page[data-industry="lawyers"] main,
body.industry-page[data-industry="lawyers"] .industry-instrument-immersive{box-sizing:border-box!important;min-width:0}
