@charset "UTF-8";
:root{--navy:#142b43;--navy-deep:#0c2033;--blue:#276be3;--blue-soft:#edf3ff;--ink:#202f40;--muted:#6e7b89;--line:#e4e9ef;--paper:#f6f8fa;--white:#fff;--ivory:#f5f1e9;--green:#23816b;--green-soft:#edf7f3;--amber:#916921;--amber-soft:#fbf5e7;--red:#b8464a;--red-soft:#fff0f0;--radius:18px;--shadow:0 12px 40px #142b4309;--font:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--font);font-size:15px;line-height:1.55;color:var(--ink);background:var(--paper);-webkit-text-size-adjust:100%}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.2;letter-spacing:-1.1px;font-weight:650;margin-bottom:12px}h2{font-size:21px;line-height:1.35;letter-spacing:-.55px;margin-bottom:8px}h3{font-size:16px;line-height:1.45;letter-spacing:-.2px;margin-bottom:8px}p{margin-bottom:16px}svg{width:22px;height:22px;display:block;flex-shrink:0}button svg,a svg{pointer-events:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #7badff;outline-offset:3px}[hidden]{display:none!important}.muted{color:var(--muted)}.small-text{font-size:13px}.eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:1.8px;color:var(--blue);margin-bottom:10px}.light{color:#b9ceec}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:white;padding:14px 20px;border-radius:8px}.skip-link:focus{top:12px}.boot{min-height:100dvh;display:flex;gap:18px;align-items:center;justify-content:center;color:var(--muted);flex-wrap:wrap}.spinner{width:23px;height:23px;display:inline-block;border:2px solid #d5e0ed;border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.brand{display:flex;align-items:center;gap:13px;color:var(--navy);font-size:18px;font-weight:760;letter-spacing:2.5px}.brand:hover{text-decoration:none}.brand-mark{background:var(--navy);color:white;display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:14px;font-size:24px;font-weight:700;letter-spacing:-2px;flex-shrink:0}.brand-mark span{color:#95bdf5;font-size:22px;margin-top:7px}.brand-mark.small{width:33px;height:33px;border-radius:10px;font-size:20px}.brand-caption{display:block;font-size:8px;font-weight:650;letter-spacing:1.1px;margin-top:3px;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);min-height:48px;padding:11px 19px;border-radius:11px;background:var(--white);font-weight:600;font-size:13px;text-decoration:none;transition:background .15s,transform .15s}.button:hover{background:#f2f5f9;text-decoration:none}.button:active{transform:translateY(1px)}.button.primary{background:var(--blue);border-color:var(--blue);color:white;box-shadow:0 4px 10px #276be318}.button.primary:hover{background:#1859c9}.button.dark{background:var(--navy);border-color:var(--navy);color:white}.button.soft{background:var(--blue-soft);border-color:transparent;color:var(--blue)}.button.danger{color:var(--red);background:var(--red-soft);border-color:transparent}.button.ghost{background:transparent;border-color:transparent}.button.small{min-height:44px;padding:9px 13px;font-size:12px}.button.full{width:100%}.icon-button{border:0;background:transparent;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;color:var(--muted)}.icon-button:hover{background:#edf1f6;color:var(--navy)}.text-link{color:var(--blue);border:0;background:none;padding:10px 0;min-height:44px;font-size:13px;font-weight:650;display:inline-flex;align-items:center;gap:7px}.text-link svg{width:17px}.status-dot{display:inline-block;background:#59a991;border-radius:50%;height:6px;width:6px;flex-shrink:0}.avatar{height:38px;width:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;color:var(--blue);background:var(--blue-soft);font-size:13px;font-weight:700;flex-shrink:0}.login{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr;background:var(--white)}.login-story{background:var(--navy);color:white;display:flex;flex-direction:column;min-height:100dvh;padding:50px clamp(30px,5vw,85px);position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;bottom:-110px;right:-100px;width:390px;height:390px;border-radius:50%;border:1px solid #ffffff0d;box-shadow:0 0 0 90px #ffffff03,0 0 0 180px #ffffff02;pointer-events:none}.login-brand{color:white;letter-spacing:2px}.login-brand .brand-mark{background:#ffffff16}.login-brand .brand-caption{color:#b0bfd0}.login-intro{margin:auto 0;padding:60px 0;position:relative;z-index:1}.login-intro h1{font-size:clamp(33px,3.5vw,50px);font-weight:550;letter-spacing:-1.7px;line-height:1.2;margin:22px 0}.login-intro p{color:#b9c8d8;line-height:1.8;max-width:385px;font-size:15px}.login-pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:35px}.login-pills span{border:1px solid #ffffff21;border-radius:20px;font-size:11px;color:#c4d1e1;padding:7px 13px}.login-footer{font-size:12px;color:#8ea6bf;margin:0}.login-form-wrap{display:flex;align-items:center;justify-content:center;padding:45px}.login-form{width:100%;max-width:365px}.private-badge{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:var(--green);margin-bottom:28px}.login-form h2{font-size:29px;letter-spacing:-.9px;margin-bottom:10px}.login-form>.muted{font-size:14px;margin-bottom:35px}.login-help{font-size:12px;line-height:1.7;color:var(--muted);text-align:center;margin:24px 0 0}.login-form .primary{margin-top:24px}.login-form .primary span{margin-left:auto;font-size:20px}label{display:block;font-size:12px;font-weight:650;margin-bottom:7px}input,select,textarea{width:100%;border:1px solid #dce3eb;border-radius:10px;background:white;color:var(--ink);padding:12px 14px;min-height:48px;transition:border-color .15s}input::placeholder,textarea::placeholder{color:#95a1ae}input:hover,select:hover,textarea:hover{border-color:#b8c8db}textarea{resize:vertical;min-height:100px}.login-form input{margin-bottom:20px}.password-field{position:relative}.password-field input{margin:0;padding-right:52px}.password-field button{position:absolute;right:1px;top:1px;min-height:46px}.form-error{border-radius:10px;padding:12px;color:var(--red);background:var(--red-soft);font-size:13px;margin:14px 0 0}.app{display:flex;min-height:100dvh}.sidebar{width:246px;background:white;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:29px 22px;z-index:20}.sidebar .brand{margin:0 0 42px 6px}.nav-label{font-size:9px;font-weight:700;letter-spacing:1.7px;color:#a0aab5;margin:0 12px 13px}.desktop-nav{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;min-height:48px;border:0;border-radius:10px;padding:12px 14px;color:#708093;background:transparent;font-size:13px;font-weight:560;text-decoration:none}.nav-item:hover{background:#f4f6f9;text-decoration:none}.nav-item.active{background:var(--blue-soft);color:var(--blue);font-weight:650}.nav-item svg{width:19px;height:19px}.nav-count{margin-left:auto;padding:1px 7px;background:#dfe9fd;border-radius:5px;font-size:10px}.sidebar-bottom{margin-top:auto;padding-top:40px}.privacy-card{padding:17px 15px;background:#f7f9fc;border:1px solid #eef1f5;border-radius:13px}.privacy-card svg{width:19px;height:19px;margin-bottom:10px;color:#7189a7}.privacy-card strong{font-size:12px}.privacy-card p{font-size:11px;line-height:1.65;color:#8995a4;margin:6px 0 0}.profile-button{display:flex;align-items:center;gap:10px;width:100%;border:0;border-top:1px solid var(--line);background:none;text-align:left;padding:20px 0 0;margin-top:23px}.profile-button strong{display:block;font-size:12px;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-button small{font-size:10px;color:var(--muted)}.profile-button>span:last-child{margin-left:auto}.profile-button svg{width:17px;color:#99a5b4}.workspace{margin-left:246px;width:calc(100% - 246px)}.topbar{height:79px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 43px;background:#ffffffc9}.breadcrumb{font-size:11px;color:var(--muted)}.breadcrumb span{color:#bac2cc;margin:0 12px}.topbar-actions{display:flex;gap:13px;align-items:center}.private-indicator{display:flex;gap:7px;align-items:center;font-size:10px;color:#75879a}.topbar .icon-button{min-width:38px;min-height:42px}.mobile-brand,.mobile-only,.mobile-nav{display:none}main{padding:37px 43px 26px;max-width:1600px;margin:0 auto;outline:none}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:27px}.page-heading p{font-size:13px;margin:0;color:var(--muted);max-width:690px;line-height:1.7}.page-heading h1{font-size:29px;margin-bottom:8px}.page-heading .eyebrow{margin-bottom:9px}.heading-actions{display:flex;gap:9px;flex-shrink:0}.overview-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:21px;margin-bottom:29px}.hero{border-radius:18px;background:var(--navy);color:white;padding:29px 31px;min-height:265px;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start}.hero:after{content:"";position:absolute;width:230px;height:230px;border:1px solid #ffffff12;border-radius:50%;right:-60px;top:70px;box-shadow:0 0 0 50px #ffffff04,0 0 0 100px #ffffff02;pointer-events:none}.hero .eyebrow{font-size:9px;color:#a9bfdb}.hero h2{font-size:24px;max-width:450px;font-weight:550;line-height:1.35;margin-bottom:9px;position:relative;z-index:1}.hero p{color:#a9bcd1;font-size:12px;max-width:390px;line-height:1.7;margin-bottom:23px}.hero .button{background:white;color:var(--navy);border:0;margin-top:auto;z-index:1}.hero .hero-meta{display:flex;align-items:center;gap:10px;color:#b8c8dc;font-size:10px;margin-bottom:15px}.hero .hero-meta svg{width:15px;height:15px}.snapshot{background:white;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:var(--shadow)}.snapshot-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.snapshot-heading h2{font-size:15px;margin:0}.snapshot-heading svg{color:#9eabba;width:18px}.stats{display:grid;grid-template-columns:1fr 1fr;gap:15px}.stat{padding:11px 0}.stat strong{display:block;font-size:28px;font-weight:550;letter-spacing:-1px;line-height:1.2}.stat span{font-size:10px;color:var(--muted)}.snapshot-foot{border-top:1px solid var(--line);font-size:11px;color:var(--muted);padding-top:15px;margin-top:9px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:26px 0 13px}.section-heading h2{font-size:17px;margin:0}.section-heading p{margin:3px 0 0;font-size:12px;color:var(--muted)}.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.collection-card{background:white;border:1px solid var(--line);border-radius:14px;padding:19px;text-align:left;min-height:142px;position:relative;box-shadow:0 3px 14px #142b4302;transition:transform .15s,border-color .15s}.collection-card:hover{border-color:#c1d3ef;transform:translateY(-2px)}.collection-card h3{font-size:13px;margin:12px 0 3px}.collection-card p{color:var(--muted);font-size:11px;margin:0}.collection-card .arrow{position:absolute;right:17px;top:20px;color:#a9b5c4;width:17px}.type-icon{height:39px;width:39px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;color:var(--blue);background:var(--blue-soft);flex-shrink:0}.type-icon svg{width:20px;height:20px}.type-icon.audio{background:#eef4f4;color:#478f87}.type-icon.video{background:#f1eef9;color:#8b71b2}.type-icon.image{background:#fbf1e7;color:#b28b51}.type-icon.document{background:#f0f2f5;color:#74869b}.two-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:23px}.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:var(--shadow)}.panel.no-padding{padding:0;overflow:hidden}.file-row{display:flex;align-items:center;gap:13px;width:100%;padding:15px 19px;background:white;border:0;border-bottom:1px solid #eef1f5;text-align:left;min-height:85px}.file-row:last-child{border-bottom:0}.file-row:hover{background:#f9fbff}.file-row .file-copy{flex:1;min-width:0}.file-row strong{display:block;font-size:12px;font-weight:650;line-height:1.5}.file-row small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.file-row>.arrow{color:#a3b0bf;width:17px}.mini-timeline{list-style:none;padding:0;margin:0}.mini-timeline li{position:relative;border-left:1px solid #e1e7ef;padding:0 0 21px 19px;margin-left:5px}.mini-timeline li:last-child{padding-bottom:0;border-color:transparent}.mini-timeline li:before{content:"";position:absolute;left:-5px;top:5px;width:9px;height:9px;border:2px solid white;border-radius:50%;background:#99b6e2;box-shadow:0 0 0 2px #e9eff8}.mini-timeline time{display:block;font-size:9px;color:var(--muted);margin-bottom:4px}.mini-timeline button{border:0;background:none;padding:0;text-align:left;font-size:12px;line-height:1.55;min-height:32px}.mini-timeline .badge{margin-top:5px}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:5px;font-size:9px;font-weight:600;line-height:1.35;background:#f1f4f7;color:#76879a}.badge.warning{background:var(--amber-soft);color:var(--amber)}.badge.success{background:var(--green-soft);color:var(--green)}.badge.blue{background:var(--blue-soft);color:var(--blue)}.badge-group{display:flex;gap:6px;flex-wrap:wrap}.app-footer{max-width:1600px;margin:20px auto 0;padding:23px 43px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#97a2b0}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:18px}.search-field{position:relative;flex:1}.search-field svg{position:absolute;top:15px;left:15px;width:18px;height:18px;color:#95a5b8}.search-field input{padding-left:43px;background:white;border-color:var(--line);min-height:49px;font-size:12px}.filter-button{display:none}.filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;background:white;border:1px solid var(--line);padding:17px;border-radius:14px;margin-bottom:21px;align-items:end}.filters label{font-size:10px;color:var(--muted);margin-bottom:5px}.filters select{font-size:12px;padding:11px 12px;background:#fbfcfe;min-height:45px}.result-label{font-size:11px;color:var(--muted);margin:0 0 13px}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.asset-card{background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .15s,transform .15s;min-width:0}.asset-card:hover{box-shadow:0 10px 25px #142b430a;transform:translateY(-2px)}.asset-preview{height:97px;display:flex;justify-content:space-between;align-items:center;padding:22px;background:#f0f4f9;border:0;text-align:left;width:100%;position:relative}.asset-preview.audio{background:#eef5f3}.asset-preview.video{background:#f2eff7}.asset-preview.image{background:#f8f3eb}.asset-preview>.type-icon{width:45px;height:45px;background:#ffffffbb;border-radius:12px}.asset-preview .file-kind{font-size:9px;font-weight:750;letter-spacing:1.6px;color:#92a3b7}.asset-preview .waveform{position:absolute;left:86px;right:45px;height:27px;display:flex;align-items:center;gap:3px;overflow:hidden;opacity:.36}.waveform i{display:block;width:3px;min-width:3px;border-radius:2px;background:#69a397}.asset-body{padding:17px;flex:1;display:flex;flex-direction:column}.asset-body .badge-group{margin-bottom:11px}.asset-title{border:0;background:none;padding:0;text-align:left;font-size:13px;font-weight:650;line-height:1.55;color:var(--ink);margin-bottom:9px;min-height:40px}.asset-title:hover{color:var(--blue)}.asset-description{color:var(--muted);font-size:11px;line-height:1.7;margin:0 0 14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.asset-foot{display:flex;justify-content:space-between;gap:6px;align-items:center;color:#99a5b3;font-size:9px;margin-top:auto;padding-top:13px;border-top:1px solid #edf1f5}.asset-foot svg{width:13px;height:13px}.asset-foot span{display:flex;align-items:center;gap:5px}.progress-track{height:3px;border-radius:4px;background:#e4ebf3;margin-top:13px;overflow:hidden}.progress-track span{height:100%;background:var(--blue);display:block}.empty{padding:45px 25px;text-align:center;border:1px dashed #dce5ef;border-radius:16px;background:#ffffff80;color:var(--muted)}.empty .type-icon{margin-bottom:15px}.empty h2{font-size:17px;color:var(--ink)}.empty p{font-size:13px;max-width:480px;margin:0 auto 15px}.empty .button{margin-top:4px}.loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:180px;color:var(--muted);font-size:13px}.notice{display:flex;gap:12px;border:1px solid #e3eaf4;background:#f0f5fc;padding:15px 17px;border-radius:12px;color:#6e8098;font-size:12px;line-height:1.7;margin-bottom:23px}.notice svg{width:19px;height:19px;flex-shrink:0;margin-top:2px}.notice p{margin:0}.timeline-list{max-width:930px}.timeline-month{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:1.2px;margin:27px 0 17px}.timeline-entry{display:grid;grid-template-columns:60px 16px minmax(0,1fr);gap:12px;position:relative;margin-bottom:17px}.timeline-date{text-align:right;padding-top:17px;white-space:nowrap}.timeline-date strong{font-size:22px;font-weight:550;display:block;line-height:1.2}.timeline-date span{font-size:12px;color:var(--muted)}.timeline-entry .panel{position:relative;min-width:0;padding:20px 23px}.timeline-track{position:relative;align-self:stretch}.timeline-track:before{content:"";position:absolute;width:10px;height:10px;background:#8caee0;border-radius:50%;left:50%;top:27px;transform:translateX(-50%)}.timeline-track:after{content:"";position:absolute;left:50%;top:37px;bottom:-44px;border-left:1px solid #dce5f0;transform:translateX(-50%)}.timeline-entry:last-child .timeline-track:after,.timeline-entry:has(+ .timeline-month) .timeline-track:after{display:none}.timeline-entry h3{margin:0 0 6px}.timeline-entry p{font-size:12px;color:var(--muted);margin:10px 0;line-height:1.7}.timeline-foot{display:flex;gap:13px;justify-content:space-between;align-items:center}.timeline-foot .text-link{font-size:11px}.notes-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:23px;align-items:start}.note-composer{position:sticky;top:20px}.form-stack{display:flex;flex-direction:column;gap:15px}.form-stack .field{min-width:0}.form-stack .button{align-self:flex-start}.form-help{font-size:11px;color:var(--muted);margin:5px 0 0}.note-card{background:white;border:1px solid var(--line);border-radius:13px;padding:17px;margin-bottom:12px;display:flex;gap:13px}.note-check{min-width:48px;min-height:48px;border:1px solid var(--line);background:white;border-radius:11px;display:flex;justify-content:center;align-items:center;color:var(--muted);flex-shrink:0}.note-check.done{color:var(--green);background:var(--green-soft);border-color:transparent}.note-content{flex:1;min-width:0}.note-content p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:2px 0 10px;line-height:1.7}.note-card.is-done .note-content p{color:#8995a3;text-decoration:line-through}.note-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--muted)}.note-card>.icon-button{min-width:36px;min-height:40px;height:40px}.note-card>.icon-button svg{width:16px}.segmented{display:flex;background:#e9eef5;border-radius:9px;padding:4px;gap:3px;margin-bottom:19px;width:max-content;max-width:100%;overflow-x:auto}.segmented button{min-height:40px;padding:8px 15px;font-size:11px;font-weight:650;background:transparent;border:0;border-radius:6px;color:var(--muted);white-space:nowrap}.segmented button.active{background:white;color:var(--navy);box-shadow:0 1px 4px #142b4310}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.admin-grid h2{font-size:17px}.file-drop{border:1.5px dashed #cad9ec;border-radius:12px;padding:20px;background:#f8faff}.file-drop input{border:0;background:transparent;padding:0;font-size:12px;min-height:40px}.file-drop input::file-selector-button{border:1px solid #ccd8e8;border-radius:8px;background:white;padding:10px;font:inherit;color:var(--navy);margin-right:12px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.user-row{display:flex;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.user-row:last-child{border-bottom:0}.user-row strong{font-size:12px;display:block}.user-row small{font-size:10px;color:var(--muted)}.user-row>.badge{margin-left:auto}.user-row>.icon-button{min-height:40px;min-width:40px}.upload-progress{width:100%;height:7px;border-radius:10px;accent-color:var(--blue)}.dialog-backdrop{position:fixed;inset:0;background:#07182c85;backdrop-filter:blur(5px);z-index:50;padding:35px;display:flex;align-items:center;justify-content:center;overflow-y:auto}.detail-dialog{background:white;width:100%;max-width:1040px;border-radius:22px;max-height:calc(100dvh - 70px);overflow:auto;box-shadow:0 35px 100px #0004;outline:none}.dialog-heading{padding:23px 27px;border-bottom:1px solid var(--line);display:flex;gap:20px;align-items:flex-start;justify-content:space-between;position:sticky;top:0;background:#fffffffa;z-index:3}.dialog-heading h2{font-size:20px;margin:5px 0 0;line-height:1.4}.dialog-heading .icon-button{flex-shrink:0}.dialog-body{padding:26px}.viewer-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(245px,1fr);gap:25px}.player-well{background:var(--navy-deep);border-radius:15px;overflow:hidden;color:white;min-width:0}.audio-art{height:175px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;background:radial-gradient(ellipse at top right,#274c78,transparent 65%),var(--navy-deep)}.audio-art svg{width:44px;height:44px;color:#abc7ed}.audio-art span{font-size:10px;letter-spacing:1.5px;color:#a2b6ce}.player-well audio{display:block;width:calc(100% - 28px);margin:14px;height:47px}.player-well video{width:100%;display:block;max-height:450px;aspect-ratio:16/9;background:#071827}.media-controls{display:flex;align-items:center;justify-content:center;gap:12px;padding:8px 15px 17px}.media-controls .icon-button{color:#d7e3f3;background:#ffffff0b;min-width:48px}.media-controls .icon-button:hover{background:#ffffff1a}.speed-select{width:100px;color:#d7e3f3;background:#ffffff0b;border:1px solid #ffffff20;min-height:44px;font-size:12px;text-align:center}.speed-select option{color:var(--ink);background:white}.media-caption{padding:13px 0;color:var(--muted);font-size:11px}.viewer-info h3{font-size:13px;margin-top:20px}.viewer-info h3:first-child{margin-top:0}.viewer-info p{font-size:12px;line-height:1.8;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.info-list{margin:16px 0 20px}.info-list div{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid #eef1f5;font-size:11px}.info-list dt{color:var(--muted)}.info-list dd{margin:0;text-align:right;overflow-wrap:anywhere}.viewer-actions{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:16px}.viewer-actions .button{font-size:11px;flex:1}.source-note{background:var(--amber-soft);border-radius:10px;font-size:11px;color:var(--amber);padding:12px;line-height:1.7;margin:14px 0}.image-frame{width:100%;max-height:65dvh;object-fit:contain;border-radius:12px;background:#f0f3f8}.document-placeholder{min-height:300px;background:#f1f5fa;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:25px;text-align:center}.document-placeholder svg{width:50px;height:50px;color:#92a8c4;margin-bottom:15px}.document-placeholder p{font-size:12px;color:var(--muted)}.dialog-tabs{border-top:1px solid var(--line);padding-top:23px;margin-top:23px}.inline-form{display:flex;gap:10px;align-items:flex-start}.inline-form textarea{min-height:75px}.inline-form .button{flex-shrink:0}.dialog-small{max-width:480px}.dialog-small .dialog-body{padding:25px}.dialog-small p{font-size:13px;color:var(--muted);line-height:1.7}.toast-region{position:fixed;bottom:25px;right:25px;z-index:100;display:flex;flex-direction:column;gap:8px;max-width:calc(100vw - 40px);pointer-events:none}.toast{background:var(--navy);color:white;box-shadow:0 10px 35px #142b4320;padding:14px 20px;border-radius:12px;font-size:13px;max-width:410px;animation:toast-in .2s ease-out;pointer-events:auto}.toast.error{background:#8c373e}@keyframes toast-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.noscript{padding:25px;background:var(--amber-soft)}
@media(min-width:1450px){main{padding-top:43px}.hero{min-height:280px}.hero h2{font-size:28px}.asset-preview{height:115px}.library-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1160px){.sidebar{width:215px;padding:25px 15px}.workspace{margin-left:215px;width:calc(100% - 215px)}main{padding:30px 27px}.topbar{padding:0 27px}.app-footer{padding:20px 27px}.overview-grid{grid-template-columns:minmax(0,1.5fr) minmax(235px,1fr);gap:17px}.hero{padding:24px}.hero h2{font-size:21px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-columns{gap:17px;grid-template-columns:minmax(0,1.2fr) minmax(230px,1fr)}.viewer-grid{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr)}.notes-layout{grid-template-columns:minmax(0,1.2fr) minmax(250px,1fr)}}
@media(max-width:900px){.sidebar{width:190px;padding:25px 12px}.sidebar .brand{font-size:16px;gap:9px;margin-left:5px}.brand-caption{font-size:7px}.sidebar .brand-mark{width:37px;height:37px;border-radius:12px}.workspace{margin-left:190px;width:calc(100% - 190px)}.nav-item{font-size:12px;padding:12px}.overview-grid{grid-template-columns:1fr}.snapshot{padding:20px}.snapshot-heading{margin-bottom:6px}.stats{grid-template-columns:repeat(4,1fr)}.snapshot-foot{margin-top:0}.snapshot{min-height:0}.hero{min-height:240px}.collection-grid{gap:11px}.collection-card{padding:15px}.collection-card .arrow{right:12px}.two-columns,.notes-layout,.admin-grid{grid-template-columns:1fr}.note-composer{position:static;order:-1}.viewer-grid{grid-template-columns:1fr}.viewer-info{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.viewer-info>.viewer-actions,.viewer-info>.source-note,.viewer-info>details{grid-column:1/-1}.viewer-info .description-block{grid-row:span 2}.viewer-info h3{margin-top:0}.filters{grid-template-columns:1fr 1fr}.filters>div:first-child{grid-column:auto}.page-heading{align-items:flex-start}.heading-actions .button{padding:10px 13px}.private-indicator{display:none}.login-story{padding:35px}.login-form-wrap{padding:35px}.login-intro h1{font-size:34px}.dialog-backdrop{padding:20px}.detail-dialog{max-height:calc(100dvh - 40px)}.app-footer{font-size:9px}}
@media(max-width:700px){body{font-size:14px}.sidebar{display:none}.workspace{margin-left:0;width:100%;padding-bottom:80px}.topbar{height:69px;padding:0 20px;background:#fffffff2}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:10px;font-size:15px;letter-spacing:2px}.mobile-only{display:inline-flex}.topbar-actions{gap:6px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#ffffffef;backdrop-filter:blur(14px);border-top:1px solid var(--line);padding:6px 10px calc(7px + env(safe-area-inset-bottom));z-index:25;justify-content:space-around}.mobile-nav .nav-item{flex-direction:column;gap:4px;padding:7px 6px;min-width:60px;min-height:52px;font-size:9px;border-radius:10px}.mobile-nav .nav-item svg{width:20px;height:20px}.mobile-nav .nav-count{display:none}main{padding:27px 20px 15px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:26px}.page-heading p{font-size:12px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.6px}.heading-actions .button{font-size:11px;min-height:44px;padding:9px 11px}.hero{padding:24px;min-height:240px}.hero h2{font-size:24px}.overview-grid{gap:16px;margin-bottom:23px}.snapshot{padding:19px}.stat strong{font-size:24px}.stat span{font-size:9px}.snapshot-heading h2{font-size:13px}.snapshot-foot{font-size:10px}.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.collection-card{padding:13px;min-height:137px}.collection-card h3{font-size:11px;line-height:1.5;margin-top:10px}.collection-card p{font-size:9px}.collection-card .arrow{display:none}.collection-card .type-icon{width:33px;height:33px}.collection-card .type-icon svg{width:17px}.section-heading{margin-top:23px}.section-heading h2{font-size:16px}.section-heading .text-link{font-size:11px}.two-columns{gap:0}.file-row{padding:14px 16px}.library-grid{gap:12px}.asset-body{padding:14px}.asset-title{font-size:12px}.asset-description{font-size:10px}.asset-preview{height:86px;padding:16px}.asset-preview>.type-icon{width:37px;height:37px}.asset-preview .file-kind{font-size:8px}.asset-preview .waveform{left:68px;right:20px}.asset-foot{font-size:9px;flex-wrap:wrap}.badge{font-size:8px}.toolbar{gap:9px;margin-bottom:13px}.filter-button{display:inline-flex;min-width:48px;padding:10px}.filter-button span{display:none}.filters{padding:13px;gap:12px}.filters.is-collapsed{display:none}.filters select{font-size:12px}.filters .button{min-height:45px}.app-footer{padding:18px 20px;display:block;margin-top:15px}.app-footer span{display:block;margin-top:3px}.timeline-entry{grid-template-columns:44px 12px minmax(0,1fr);gap:10px}.timeline-date strong{font-size:19px}.timeline-entry .panel{padding:17px}.timeline-entry h3{font-size:13px}.timeline-foot{align-items:flex-start;gap:10px;flex-direction:column}.timeline-foot .text-link{min-height:35px}.notice{font-size:11px;padding:14px}.notes-layout{gap:18px}.note-composer{padding:18px}.note-card{padding:13px;gap:10px}.note-content p{font-size:12px}.note-check{min-width:42px;min-height:42px;height:42px}.note-card>.icon-button{min-width:30px}.panel{padding:20px}.dialog-backdrop{padding:0;align-items:flex-end}.detail-dialog{border-radius:20px 20px 0 0;max-height:calc(100dvh - 20px);padding-bottom:env(safe-area-inset-bottom)}.dialog-heading{padding:19px 20px;gap:10px}.dialog-heading h2{font-size:17px}.dialog-body{padding:20px}.dialog-heading .icon-button{min-width:40px;min-height:40px}.viewer-info{display:block}.viewer-grid{gap:16px}.viewer-info h3{margin-top:17px}.viewer-actions .button{min-width:120px}.audio-art{height:140px}.inline-form{display:block}.inline-form .button{margin-top:10px}.dialog-small{max-width:100%;border-radius:20px 20px 0 0}.toast-region{bottom:calc(87px + env(safe-area-inset-bottom));right:16px;left:16px;max-width:none}.toast{max-width:none;font-size:12px}.login{grid-template-columns:1fr;min-height:100dvh}.login-story{min-height:auto;padding:25px 26px 35px}.login-intro{padding:35px 0 0}.login-intro .eyebrow{font-size:8px}.login-intro h1{font-size:29px;letter-spacing:-1px;line-height:1.25;margin:12px 0}.login-intro p{font-size:12px;margin-bottom:0;max-width:390px}.login-pills,.login-footer{display:none}.login-form-wrap{padding:32px 26px 42px;align-items:flex-start}.login-form{max-width:450px}.login-form h2{font-size:24px}.login-form .private-badge{margin-bottom:18px}.login-form>.muted{margin-bottom:25px;font-size:12px}.login-form input{font-size:16px}.login-form label{font-size:12px}.boot{padding:25px;font-size:13px}.search-field input,textarea,select{font-size:16px}.form-stack input{font-size:16px}.filters select{font-size:14px}.speed-select{font-size:14px}.field-row{gap:10px}.admin-grid .field-row{grid-template-columns:1fr}.admin-grid .panel{padding:18px}}
@media(max-width:370px){main{padding-left:15px;padding-right:15px}.collection-grid{grid-template-columns:1fr}.collection-card{min-height:0;display:grid;grid-template-columns:35px 1fr;gap:0 12px;align-items:center}.collection-card .type-icon{grid-row:span 2}.collection-card h3{margin:0}.collection-card p{margin-top:3px}.library-grid{grid-template-columns:1fr}.page-heading{flex-direction:column;gap:12px}.stats{gap:10px}.stat strong{font-size:22px}.hero h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.checkbox-row{display:flex;gap:12px;align-items:center;min-height:48px}.checkbox-row input{width:20px;height:20px;min-height:20px;flex-shrink:0;accent-color:var(--blue)}.checkbox-row label{margin:0;font-size:12px;line-height:1.6}.snapshot-foot svg{display:inline-block;vertical-align:middle;width:14px;height:14px;margin-right:5px}.load-more{display:flex;justify-content:center;margin:25px 0}.note-actions{display:flex;flex-direction:column;flex-shrink:0}.note-actions .icon-button{min-width:36px;min-height:36px}.note-actions svg{width:16px;height:16px}.memory-avatar{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--line);border-radius:40px;padding:6px 18px 6px 6px;min-height:59px;text-align:left}.memory-avatar img{width:45px;height:45px;border-radius:50%;object-fit:cover;object-position:center 25%}.memory-avatar span{font-size:9px;color:var(--muted);white-space:nowrap}.memory-avatar strong{display:block;font-size:12px;color:var(--navy);font-weight:650}.user-row .badge{flex-shrink:0}.user-row>span:nth-child(2){min-width:0}.user-row strong{overflow-wrap:anywhere}
@media(pointer:coarse){button,.button,.icon-button,.text-link,.topbar .icon-button,.note-check,.note-actions .icon-button,.user-row>.icon-button{min-height:48px;min-width:48px}.mini-timeline button{min-height:48px}.note-actions .icon-button{width:48px}.filters select{min-height:48px}.segmented button{min-height:48px}.mobile-nav .nav-item{min-height:54px}.dialog-heading .icon-button{min-height:48px;min-width:48px}}
@media(max-width:700px){.memory-avatar{padding:5px;min-height:50px}.memory-avatar img{width:39px;height:39px}.memory-avatar span{display:none}.note-actions .icon-button{min-width:36px}.user-row{gap:7px}.user-row .badge{font-size:8px}.user-row .avatar{width:32px;height:32px}.note-card{gap:8px}}
.waveform .wave-8{height:8px}.waveform .wave-10{height:10px}.waveform .wave-11{height:11px}.waveform .wave-12{height:12px}.waveform .wave-13{height:13px}.waveform .wave-14{height:14px}.waveform .wave-16{height:16px}.waveform .wave-17{height:17px}.waveform .wave-18{height:18px}.waveform .wave-19{height:19px}.waveform .wave-20{height:20px}.waveform .wave-24{height:24px}.waveform .wave-25{height:25px}.waveform .wave-26{height:26px}.asset-progress{width:100%;height:3px;margin:13px 0 0;appearance:none;accent-color:var(--blue);border:0;border-radius:4px;overflow:hidden}.asset-progress::-webkit-progress-bar{background:#e4ebf3}.asset-progress::-webkit-progress-value{background:var(--blue)}.asset-progress::-moz-progress-bar{background:var(--blue)}.timeline-entry h3.timeline-title{margin-top:10px}.spaced-heading,.spaced-form{margin-top:15px}.spaced-button{margin-top:12px}
@media(pointer:coarse){.note-actions .icon-button{min-width:48px;width:48px}.checkbox-row label{min-height:48px;display:flex;align-items:center;flex:1}}
.asset-title,.file-row strong,.hero h2,.dialog-heading h2{overflow-wrap:anywhere}
.technical-filter{grid-column:1/-1;border-top:1px solid var(--line);padding-top:10px}.technical-filter label{font-size:11px;color:var(--muted)}.access-links-section{border-top:1px solid var(--line);padding-top:23px;margin-top:24px}.access-links-section h2{font-size:15px}.access-link-row{display:flex;align-items:flex-start;justify-content:space-between;gap:13px;padding:15px 0;border-top:1px solid #edf1f5}.access-link-row strong{display:inline;font-size:12px;margin-right:8px}.access-link-row p{font-size:10px;line-height:1.8;color:var(--muted);margin:7px 0 0}.access-link-row .button{flex-shrink:0}.access-link-input{font-size:12px;overflow-wrap:anywhere}.user-row{flex-wrap:wrap}.user-link-action{flex-basis:100%;font-size:11px;padding-left:48px;justify-content:flex-start}.user-link-action svg{width:16px;height:16px}.access-links-section .loading{min-height:100px}

/* Judicial reading order and family paperwork. */
.case-start{align-items:stretch}.case-start .hero{min-height:300px}.case-next-link{display:flex;align-items:center;gap:8px;color:#c5d8ef;margin-top:18px;font-size:13px;position:relative;z-index:1}.case-paperwork>p{color:var(--muted);font-size:14px}.essential-file{display:flex;gap:12px;align-items:center;width:100%;padding:17px 0;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left}.essential-file>span:nth-child(2){flex:1}.essential-file strong{display:block;font-size:15px}.essential-file small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.essential-file>.type-icon{width:40px;height:44px}.case-sequence{scroll-margin-top:25px;outline:none}.case-steps{padding:0;margin:0 0 28px;list-style:none}.case-step{display:grid;grid-template-columns:52px 1fr;gap:20px;padding:25px 0;border-bottom:1px solid var(--line)}.step-number{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:var(--blue-soft);color:var(--blue);font-size:17px;font-weight:700;border-radius:14px}.step-body time{font-size:12px;color:var(--muted)}.step-body h3{font-size:20px;margin:6px 0 8px}.step-body p{font-size:15px;color:var(--muted);max-width:740px}.step-actions{display:flex;gap:10px;flex-wrap:wrap}.step-actions .button{font-size:14px}.followup-callout{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-top:30px}.followup-callout p{margin:0;color:var(--muted)}.supporting-help{padding:22px 0;margin-top:10px}.supporting-help summary{cursor:pointer;color:var(--muted);font-size:14px;min-height:44px}.supporting-help .step-actions{margin-top:15px}.paperwork-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.paperwork-card h2{margin-top:20px}.paperwork-card p{color:var(--muted)}
@media(max-width:700px){.mobile-nav .nav-item{font-size:9px;padding-left:3px;padding-right:3px}.case-start .hero{min-height:0}.case-step{grid-template-columns:36px 1fr;gap:12px;padding:22px 0}.step-number{width:34px;height:36px;font-size:14px;border-radius:10px}.step-body h3{font-size:18px}.step-body p{font-size:14px}.step-actions{gap:8px}.step-actions .button{width:100%;justify-content:flex-start;font-size:14px}.essential-file strong{font-size:15px}.followup-callout{flex-direction:column;align-items:stretch}.paperwork-grid{grid-template-columns:1fr}.case-paperwork{padding:22px}.case-start .hero h2{font-size:26px}.case-start .hero p{font-size:15px}.case-sequence .section-heading h2{font-size:22px}.case-sequence .section-heading p{font-size:14px}}

.family-explanations{margin:26px 0 36px;border:1px solid #c9daf5;background:#f0f5ff;padding:30px}.family-explanations h2{font-size:25px}.family-explanations p,.explanation-topics{font-size:16px;line-height:1.65}.explanation-topics{padding-left:22px;margin:16px 0 24px}.family-explanations .button{font-size:16px;min-height:54px}.case-start .hero{align-self:start}.case-start .hero>.button{margin-top:20px}.case-start .hero .case-next-link{margin-top:18px}@media(max-width:700px){.family-explanations{padding:23px}.family-explanations h2{font-size:23px}}

.analysis-actions{margin:16px 0}.analysis-actions .button{font-size:15px;min-height:50px}.source-reviews{display:grid;gap:18px;margin-top:18px}.source-reviews>.recording-group-link{justify-self:start;width:fit-content;max-width:100%;min-width:0;font-size:14px;white-space:normal;text-align:left}.step-body{min-width:0}@media(max-width:700px){.source-reviews>.recording-group-link{width:100%;justify-content:flex-start}}.source-review{padding:22px;border:1px solid var(--line);border-radius:14px;background:white}.source-review h4{margin:0 0 10px;font-size:18px;line-height:1.4}.source-review p{font-size:15px}.source-review .analysis-actions{margin-bottom:0}.source-review .transcript-link{font-size:14px}.hero .analysis-actions{position:relative;z-index:1}.hero .analysis-actions .button{font-size:14px}.asset-card .analysis-actions .button{width:100%;font-size:13px}.asset-card .analysis-actions{margin-bottom:0}.dialog-body>.analysis-actions{padding-bottom:20px;border-bottom:1px solid var(--line);margin:0 0 24px}.paperwork-card .analysis-actions{padding-top:16px;border-top:1px solid var(--line)}@media(max-width:700px){.source-review{padding:18px}.source-review h4{font-size:18px}.analysis-actions .button{width:100%;justify-content:flex-start}.family-explanations .step-actions{flex-direction:column}}

.case-contacts{margin:30px 0 38px}.case-contacts>h2{font-size:24px;margin-bottom:18px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.contact-card h3{font-size:23px;margin-bottom:9px}.contact-card>p{font-size:15px}.contact-phone{font-size:21px!important;font-weight:650;letter-spacing:.4px}.contact-actions{display:flex;gap:10px;flex-wrap:wrap}.contact-actions .button{font-size:15px;min-height:52px}.contact-actions .whatsapp{background:#117d42;color:white;border-color:#117d42}.contact-actions .whatsapp .fa-icon{filter:brightness(0) invert(1)}.fa-icon{width:22px;height:22px;flex-shrink:0}.contact-card .contact-note{font-size:13px;color:var(--muted);margin:18px 0 0}@media(max-width:700px){.contact-grid{grid-template-columns:1fr}.contact-actions .button{width:100%;justify-content:flex-start}}
/* Document reader: identical controls and actual page rendering on every device. */
.sidebar{overflow-y:auto;overscroll-behavior:contain}
.pdf-document{border:1px solid #dce4ee;border-radius:15px;overflow:hidden;background:#e9eef5;min-width:0}
.pdf-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px;background:#fff;border-bottom:1px solid var(--line)}
.pdf-navigation,.pdf-zoom{display:flex;align-items:center;gap:3px;margin:0;min-width:0}
.pdf-navigation input{width:54px;min-height:42px;padding:8px 4px;text-align:center;border-radius:8px;font-size:14px;appearance:textfield;-moz-appearance:textfield}
.pdf-navigation input::-webkit-inner-spin-button,.pdf-navigation input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.pdf-navigation .icon-button,.pdf-zoom .icon-button{min-width:42px;min-height:42px;font-size:25px;color:var(--navy)}
.pdf-toolbar button:disabled{cursor:default;opacity:.4}
.pdf-total,.pdf-zoom-label{font-size:12px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.pdf-total{min-width:34px}.pdf-zoom-label{min-width:45px;text-align:center}
.pdf-expand,.pdf-download{gap:6px;font-size:12px!important;padding:8px 10px!important}
.pdf-stage{position:relative;height:clamp(360px,65dvh,820px);min-width:0}
.pdf-scroll{position:absolute;inset:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch}
.pdf-scroll .pdfViewer{padding:12px 0}
.pdf-scroll .pdfViewer .page{box-sizing:content-box;box-shadow:0 3px 16px #142b4320}
.pdf-scroll .pdfViewer .textLayer{line-height:1}
.pdf-status{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:28px;margin:0;text-align:center;background:#edf2f8;color:var(--muted);font-size:14px;pointer-events:none}
.pdf-status[hidden]{display:none}
.detail-dialog.pdf-expanded{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0;display:flex;flex-direction:column;overflow:hidden;padding-bottom:0}
.pdf-expanded .dialog-heading{flex-shrink:0;padding:12px 20px}
.pdf-expanded .dialog-heading .eyebrow{display:none}
.pdf-expanded .dialog-heading h2{font-size:18px;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pdf-expanded .dialog-body{padding:0;flex:1;min-height:0;display:flex;flex-direction:column}
.pdf-expanded .viewer-grid{display:flex;flex:1;min-height:0;gap:0}
.pdf-expanded .viewer-grid>div:first-child{display:flex;flex:1;min-width:0;min-height:0;flex-direction:column}
.pdf-expanded .pdf-document{border:0;border-radius:0;display:flex;flex:1;min-height:0;flex-direction:column}
.pdf-expanded .pdf-toolbar{flex-shrink:0;padding:8px 16px}
.pdf-expanded .pdf-stage{height:auto;flex:1;min-height:0}
.pdf-expanded .viewer-info,.pdf-expanded .dialog-tabs,.pdf-expanded .analysis-actions,.pdf-expanded .media-caption{display:none}
@media(max-width:700px){
 .pdf-toolbar{gap:6px;padding:8px;justify-content:space-between}
 .pdf-navigation .icon-button,.pdf-zoom .icon-button{min-width:36px;min-height:44px}
 .pdf-navigation input{width:44px;font-size:16px}
 .pdf-zoom{gap:0}.pdf-zoom-label{min-width:41px}.pdf-total{font-size:11px;min-width:30px}
 .pdf-toolbar .button{min-height:44px}.pdf-toolbar .pdf-zoom .button{padding:8px!important}
 .pdf-expand,.pdf-download{flex:1;justify-content:center}
 .pdf-stage{height:62dvh;min-height:320px}
 .pdf-expanded .dialog-heading{padding:10px 12px}
 .pdf-expanded .dialog-heading h2{font-size:15px}
 .pdf-expanded .pdf-toolbar{padding:6px 8px}
}
@media(max-width:700px) and (max-height:500px){
 .pdf-expanded .pdf-toolbar{justify-content:flex-start}
 .pdf-expanded .pdf-expand,.pdf-expanded .pdf-download{flex:0 1 auto}
}
.pdf-toolbar{display:block}
.pdf-toolbar-main{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px}
.pdf-toolbar-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:8px}
.pdf-toolbar-actions .button{min-width:0;min-height:44px;gap:5px;padding:7px!important;font-size:12px;justify-content:center}
.pdf-toolbar-actions .button svg{width:19px;height:19px}
.pdf-expanded .pdf-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.pdf-expanded .pdf-toolbar-main{flex:1;min-width:260px}
.pdf-expanded .pdf-toolbar-actions{margin-top:0;flex:1;min-width:260px}
@media(max-width:700px){
 .pdf-toolbar-main{justify-content:space-around}
 .pdf-toolbar-actions .button{flex-direction:column;font-size:11px!important;gap:3px;line-height:1.25;padding:6px 3px!important;min-height:54px}
 .pdf-toolbar .pdf-expand,.pdf-toolbar .pdf-download{flex:auto}
 .pdf-expanded .pdf-toolbar-main,.pdf-expanded .pdf-toolbar-actions{min-width:0;flex:1 0 100%}
}

/* Keep embedded PDF scrolling inside the document, even for short files. */
.pdf-scroll .pdfViewer{min-height:calc(100% + 1px)}
.dialog-backdrop{overflow:clip;overscroll-behavior:contain}

/* Official resources: task-first cards and readable instructions. */
.resources-callout{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;margin:24px 0;background:#f1f7fb;border-color:#d5e3ef}
.resources-callout h2{font-size:24px}.resources-callout p{margin-bottom:0;font-size:15px}.resources-callout .type-icon{background:white;color:var(--blue)}
.resource-review-date{font-size:13px;color:var(--muted);margin-bottom:0}
.resource-guide{display:grid;gap:12px;min-width:0}.resource-guide>.button{font-size:14px}
.resource-audio{border:1px solid var(--line);border-radius:11px;background:var(--blue-soft);padding:0 14px;min-width:0}
.resource-audio summary{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;cursor:pointer;font-size:15px;font-weight:650;color:var(--blue);padding:10px 0;list-style:none}.resource-audio summary::-webkit-details-marker{display:none}
.resource-audio audio{display:block;width:100%;max-width:100%;min-width:0;margin:8px 0}.resource-audio p{font-size:13px;line-height:1.5;margin:10px 0 0}.resource-audio .text-link{font-size:14px}
.resource-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 24px;background:#e9eef5;padding:6px;border-radius:14px;max-width:640px}
.resource-groups button{border:0;border-radius:10px;background:transparent;padding:12px;min-height:48px;font-weight:650;font-size:15px;color:var(--muted)}
.resource-groups button.active{background:white;color:var(--navy);box-shadow:0 2px 6px #142b4310}
.resource-section>h2{font-size:24px}.resource-section>p{font-size:16px;color:var(--muted);max-width:760px}
.resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}
.resource-card{display:flex;flex-direction:column;min-width:0;padding:24px;align-self:start}
.resource-card-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}.resource-card-heading .type-icon{width:40px;height:40px;background:var(--blue-soft);color:var(--blue)}
.resource-institution{color:var(--muted);font-size:13px;font-weight:650}.resource-card h3{font-size:21px;line-height:1.35;margin-bottom:12px}.resource-card>p{font-size:16px;line-height:1.6}
.resource-needs{background:#f4f6f9;border-radius:10px;padding:14px 16px;margin-bottom:12px}.resource-needs>strong{font-size:14px;color:var(--navy)}.resource-needs p{margin:6px 0 0;font-size:15px;line-height:1.6}
.resource-steps summary{cursor:pointer;min-height:48px;padding:12px 0;font-size:15px;font-weight:650;color:var(--blue)}
.resource-steps ol{padding-left:23px;margin:8px 0 18px}.resource-steps li{padding:4px 0;font-size:15px;line-height:1.65}
.resource-note{font-size:14px;border-left:3px solid #9ab6d5;padding-left:13px;color:#435b70;line-height:1.65}
.resource-sources{border-top:1px solid var(--line);padding-top:12px;margin:14px 0;font-size:13px}.resource-sources>strong{display:block;color:var(--muted)}.resource-sources a{display:flex;gap:8px;align-items:center;min-height:44px;padding:7px 0;overflow-wrap:anywhere}.resource-sources svg{width:15px;height:15px}
.resource-actions{display:grid;gap:10px;margin-top:12px}.resource-actions .button{font-size:14px;white-space:normal;min-width:0;justify-content:space-between;text-align:left}
.resource-audio summary:focus-visible,.resource-steps summary:focus-visible{outline:3px solid #7badff;outline-offset:3px;border-radius:6px}
@media(max-width:1050px){.resources-callout{grid-template-columns:auto minmax(0,1fr)}.resources-callout>.button{grid-column:2;justify-self:start}.resource-guide{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.resource-card{padding:20px}}
@media(max-width:700px){.mobile-nav .nav-item{flex:1;min-width:0}.resources-callout{grid-template-columns:1fr;gap:14px}.resources-callout>.type-icon{display:none}.resources-callout>.button{grid-column:1;justify-self:stretch}.resources-callout h2{font-size:23px}.resource-guide{grid-template-columns:1fr}.resource-groups{gap:4px;padding:4px}.resource-groups button{padding:10px 5px;font-size:14px}.resource-grid{grid-template-columns:1fr;gap:16px}.resource-section>h2{font-size:22px}.resource-card h3{font-size:21px}.resource-card>p,.resource-needs p,.resource-steps li{font-size:16px}.resource-actions .button{font-size:15px}}

.resources-tools{grid-template-columns:repeat(2,minmax(0,1fr));max-width:640px;margin-bottom:24px;align-items:start}.resources-tools>.button{height:100%;font-size:14px}.resources-tools .resource-audio[open]{grid-column:1/-1}.resources-tools .resource-audio summary{font-size:14px;text-align:center}.resource-section>.resource-review-date{font-size:13px;margin:0 0 22px}

.defense-history{margin:28px 0;padding:28px}.defense-history h2{font-size:24px;margin:8px 0 12px}.defense-history h3{font-size:18px;margin:20px 0 10px}.defense-history p{color:var(--muted);font-size:16px;line-height:1.65}.defense-history>.text-link{margin-top:8px}@media(max-width:700px){.defense-history{padding:22px}.defense-history h2{font-size:22px}}

/* Brief explanations: short audio, readable points, complete sources on demand. */
.brief-actions{min-width:0}.brief-reading{min-width:0;max-width:100%}.brief-reading>summary{display:flex;align-items:center;gap:9px;min-height:50px;padding:12px 17px;border:1px solid var(--line);border-radius:10px;background:white;color:#184d87;font-size:15px;font-weight:650;cursor:pointer;list-style:none}.brief-reading>summary::-webkit-details-marker{display:none}.brief-reading>summary svg{width:20px;height:20px;flex:none}.brief-reading[open]{flex:1 0 100%}.brief-points{padding:18px;border:1px solid var(--line);border-top:0;border-radius:0 0 10px 10px;background:#fff;color:#24374a}.brief-points p,.hero .brief-points p{font-size:16px;line-height:1.6;color:#24374a;margin:0 0 14px}.brief-points p:last-of-type{margin-bottom:18px}.brief-detail{margin:10px 0 18px;min-width:0}.brief-detail>summary{display:flex;align-items:center;gap:10px;min-height:48px;padding:9px 0;color:var(--blue);font-size:15px;font-weight:650;line-height:1.4;cursor:pointer;list-style:none}.brief-detail>summary::-webkit-details-marker{display:none}.brief-detail>summary svg{width:18px;height:18px;flex:none;transition:transform .15s}.brief-detail[open]>summary svg{transform:rotate(90deg)}.brief-detail .step-actions{padding-top:6px}.brief-detail .text-link{margin-top:14px;min-height:44px}.brief-detail[hidden]{display:none}.brief-reading>summary:focus-visible,.brief-detail>summary:focus-visible{outline:3px solid #7badff;outline-offset:3px;border-radius:8px}.hero .brief-detail>summary{color:inherit}.family-topic{border-top:1px solid #c9daf5;padding-top:20px;margin-top:20px}.family-topic h3{font-size:20px;line-height:1.4;margin:0}.family-topic .analysis-actions{margin-bottom:0}.family-topic .brief-detail{margin-bottom:0}@media(max-width:700px){.brief-reading{width:100%}.brief-reading>summary{min-height:52px}.brief-detail .step-actions{flex-direction:column;align-items:stretch}.brief-points{padding:15px}.family-topic h3{font-size:19px}}
/* Evidence comparison: the original and complete text stay one tap away. */
.testimony-callout{display:flex;align-items:center;gap:28px;margin:24px 0;border-left:4px solid var(--accent,#267c71);background:#f3f8f7}.testimony-callout>div{flex:1}.testimony-callout h2{font-size:25px;line-height:1.3;margin:8px 0}.testimony-callout p{font-size:16px;line-height:1.65;margin:0}.testimony-callout>.button{flex-shrink:0}.testimony-jumps{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}.testimony-overview{margin-bottom:28px}.comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.comparison-topic h3{font-size:22px;line-height:1.35;margin:14px 0 12px}.comparison-topic p,.testimony-record p,.testimony-coverage p{font-size:16px;line-height:1.65}.comparison-evidence>summary,.testimony-coverage>summary{font-size:16px;font-weight:600;cursor:pointer;padding:14px 0;min-height:48px}.comparison-version{padding:16px 0;border-top:1px solid #e1e8ee}.comparison-version h4{font-size:16px;line-height:1.5;margin:0 0 8px}.comparison-version p{margin:0 0 12px}.comparison-next{background:#f5f7fa;border-radius:12px;padding:16px;margin-top:12px}.comparison-next strong{font-size:15px}.comparison-next p{margin:6px 0 0}.testimony-group>h3{font-size:22px;line-height:1.4;margin:28px 0 16px}.testimony-record,.testimony-research{margin-bottom:18px}.testimony-record h4{font-size:21px;line-height:1.4;margin:10px 0}.testimony-record .eyebrow{letter-spacing:1px;font-size:11px}.testimony-research h3{font-size:22px;line-height:1.4}.testimony-coverage{margin-top:28px}.testimony-help{margin-top:20px}#comparison-topics,#testimony-records,#testimony-research{scroll-margin-top:28px;outline-offset:6px}
@media(max-width:1000px){.testimony-callout{align-items:stretch;flex-direction:column;gap:18px}.testimony-callout>.button{align-self:flex-start}.comparison-grid{grid-template-columns:1fr}}
@media(max-width:700px){.testimony-callout h2{font-size:23px}.testimony-callout>.button,.testimony-jumps>.button{width:100%;justify-content:flex-start}.comparison-topic h3{font-size:22px}.testimony-record h4{font-size:20px}.comparison-version .step-actions .button{white-space:normal;text-align:left}.testimony-coverage{padding-top:10px;padding-bottom:10px}}

.testimony-person-choices{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.testimony-person-choices .button{white-space:normal;text-align:left;min-height:52px}.testimony-person-choices .button[aria-current="page"]{box-shadow:0 0 0 3px #c8ddff}@media(max-width:600px){.testimony-person-choices{display:grid;grid-template-columns:1fr}.testimony-person-choices .button{width:100%;justify-content:flex-start}}

.recording-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.recording-choice{text-align:left;display:flex;align-items:center;gap:16px;text-decoration:none;color:inherit;min-height:112px}.recording-choice>span:nth-child(2){flex:1;min-width:0}.recording-choice strong{display:block;font-size:21px;line-height:1.35;margin-bottom:8px}.recording-choice>span>span{display:block;font-size:15px;line-height:1.5;color:var(--muted)}.recording-choice>svg{flex-shrink:0;width:22px}.comparison-choice{margin-top:24px}.recording-back{position:sticky;top:0;z-index:20;background:#f6f8fbf5;padding:10px 0;margin-bottom:18px}.recording-number{display:block;font-weight:700;color:var(--accent);font-size:17px;margin-bottom:12px}.testimony-record h2,.comparison-topic h2{font-size:21px;line-height:1.4;margin:10px 0 18px}.related-document-list{display:grid;gap:12px;margin-top:14px}.related-document-list .button{text-align:left;white-space:normal;justify-content:flex-start}.related-documents summary{font-size:16px;padding:14px 0;cursor:pointer}.dialog-return{flex-shrink:0;min-height:46px}.recording-transcript .button{width:100%;justify-content:flex-start}.comparison-grid{align-items:start}@media(max-width:700px){.recording-directory{grid-template-columns:1fr}.recording-choice{padding:18px}.recording-choice strong{font-size:20px}.recording-back .button{min-height:50px}.dialog-heading{align-items:flex-start}.dialog-return{font-size:14px;padding:10px}.dialog-return svg{width:18px}}

.complete-conversation{margin-bottom:20px}.complete-conversation h2{font-size:22px;line-height:1.35}.complete-conversation p{font-size:16px;line-height:1.6}
.reading-callout,.reading-summary,.reading-copies{margin-bottom:24px}.reading-summary h2{font-size:23px;line-height:1.35}.reading-summary p,.reading-copies>p{font-size:16px;line-height:1.65;max-width:78ch}.reading-summary .step-actions{margin-top:20px;flex-wrap:wrap}.reading-copy h3{font-size:20px;line-height:1.4}.reading-summary .button{white-space:normal;text-align:left}@media(max-width:600px){.reading-summary .step-actions{display:grid;grid-template-columns:1fr}.reading-summary .button{width:100%;justify-content:flex-start}.reading-summary h2{font-size:21px}}
.reading-audiobook{margin-top:26px;border-top:1px solid var(--line,#dce4ee);padding-top:18px}.reading-audiobook h3{font-size:21px}.reading-chapters{margin-top:20px}.reading-chapters summary{font-size:17px;font-weight:700;padding:14px 0;cursor:pointer}.reading-chapter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.reading-chapter-grid .button{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:62px}.reading-chapter-grid .button strong{min-width:0}.reading-chapter-grid .button span{font-size:13px;color:var(--muted);flex-shrink:0}@media(max-width:700px){.reading-chapter-grid{grid-template-columns:1fr}}

.brief-sources{display:grid;gap:8px;min-width:0}.brief-sources .text-link{display:block;min-height:44px;margin:0;padding:8px 0;font-size:15px;line-height:1.5;overflow-wrap:anywhere}

.brief-context{flex-basis:100%;margin:0 0 12px;padding:14px 16px;border-left:3px solid #6486ab;background:#f1f5fa;color:#24374a;font-size:16px;line-height:1.6;overflow-wrap:anywhere}
