/* Full Patent Dossier and document modal retained for AI Studio. */
.research-modal[hidden]{display:none}.research-modal{position:fixed;z-index:99999;inset:0;display:grid;place-items:center;padding:35px 17px}.res-backdrop{position:absolute;inset:0;background:#102b23b9;backdrop-filter:blur(5px)}
.res-modal-shell{position:relative;width:min(900px,98vw);max-height:90vh;background:#fff;border-radius:20px;box-shadow:0 26px 100px #071f1738;display:flex;flex-direction:column;overflow:hidden}
.res-modal-top{display:flex;align-items:center;justify-content:space-between;padding:15px 29px;border-bottom:1px solid #eaf0ec;background:#fcfdfc}.res-modal-top strong{color:#3a7960;font-size:12px;letter-spacing:1.1px}
.res-modal-top button{width:35px;height:35px;border:1px solid #dcebe1;background:#f5faf6;border-radius:9px;color:#476858;font-size:20px}
.res-modal-body{padding:30px 42px 38px;overflow:auto}
.res-detail-head{border-bottom:1px solid #e5eee7;padding-bottom:25px}.res-detail-head>div{display:flex;align-items:center;justify-content:space-between}.res-detail-accent{font-size:42px;color:#8fceb2;line-height:1}
.res-detail-head h2{font-family:var(--display,system-ui);font-size:30px;line-height:1.22;letter-spacing:-1px;font-weight:800;max-width:730px;margin:13px 0 11px}
.res-detail-head p{font-size:12px;color:#869e91;margin:0}
.res-detail-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:23px 0;border-bottom:1px solid #e8eee9}
.res-detail-metrics div{padding:16px;background:#f5faf6;border:1px solid #e6f0e8;border-radius:10px;min-width:0}.res-detail-metrics small,.res-detail-metrics b{display:block}.res-detail-metrics small{font-size:10px;color:#819a8c;margin-bottom:6px}.res-detail-metrics b{font-size:12px;overflow-wrap:anywhere;color:#2b5e49}
.res-detail-section{padding-top:23px}.res-detail-section h4{font-size:12px;font-weight:900;letter-spacing:.3px;margin:0 0 13px;color:#355f4a}.res-detail-section p{font-size:13px;line-height:1.85;color:#586f63;margin:0;white-space:pre-wrap}
.res-pillrow{display:flex;flex-wrap:wrap;gap:7px}.res-detail-pill{padding:7px 10px;background:#edf6f0;border:1px solid #dce9dd;border-radius:7px;color:#517866;font-weight:750;font-size:11px}
.res-related{display:grid;gap:9px}.res-related>div{padding:13px 14px;border:1px solid #e5ede6;border-radius:8px;display:grid;gap:5px}.res-related b{font-size:11px;color:#328461}.res-related span{font-size:12px;color:#567264}
.res-source-note,.res-detail-hint{font-size:11px;margin-top:22px;color:#8b9e91;padding:11px;border-radius:8px;background:#f5f8f5}
.res-raw-toggle{display:block;border:0;background:transparent;color:#2c8762;font-size:11px;font-weight:800;margin-top:24px;padding:0}.res-raw-in-modal{background:#122d29;color:#d8f7e7;max-height:250px;overflow:auto;border-radius:8px;padding:15px;font-size:10px;margin-top:10px}.res-raw-in-modal[hidden]{display:none}
@media(max-width:700px){.res-head{padding:18px;flex-direction:column;align-items:stretch}.res-head h2{font-size:20px}.res-toolbar{padding:17px}.res-summary{padding:17px}.res-card-list{padding:0 17px 18px}.res-card{padding:17px}.res-card-footer{align-items:start;flex-direction:column}.res-search{gap:6px}.res-search button{padding:12px}.res-modal-body{padding:20px}.res-detail-head h2{font-size:22px}.res-detail-metrics{grid-template-columns:1fr}.res-modal-top{padding:11px 16px}}

/* Full patent dossier — original patent MCP fields, no inferred legal status. */
.res-modal-dossier .res-modal-shell{width:min(1250px,98vw);max-height:94vh}
.res-modal-dossier .res-modal-body{padding:0;overflow:auto;scroll-behavior:smooth;background:#f7faf8}
.res-modal-dossier .res-modal-top{background:#fff}
.pd-dossier{color:#23483b;font-family:inherit}
.pd-hero{background:linear-gradient(130deg,#103a2c 0%,#176046 67%,#217a59 100%);color:white;padding:29px 32px 25px}
.pd-hero-top{display:flex;justify-content:space-between;align-items:flex-start;gap:26px}.pd-hero h2{font-size:clamp(19px,2.2vw,30px);line-height:1.32;font-weight:850;letter-spacing:-.65px;max-width:780px;margin:10px 0 12px;color:#fff}
.pd-eyebrow{font-size:10px;font-weight:900;letter-spacing:2px;color:#a8e1bd}.pd-patent-tag{font:700 11px Consolas,monospace;border:1px solid #ffffff54;border-radius:8px;padding:10px 12px;white-space:nowrap;background:#ffffff18}
.pd-hero-bottom{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.pd-small-meta{color:#e2f6e9;font-size:11px}.pd-status{padding:6px 10px;border-radius:7px;font-size:10px;font-weight:850}.pd-status.pd-live{background:#cdf5dc;color:#0d6c42}.pd-status.pd-demo{background:#fff0bd;color:#6d5112}.pd-status.pd-loading,.pd-status.pd-waiting{background:#e7f2ff;color:#244c82}
.pd-main-action{margin-left:auto;background:#f2fcf5;color:#155c42;border-radius:9px;padding:10px 14px;text-decoration:none;font-size:11px;font-weight:850}.pd-main-action:hover{background:#fff;color:#125b3d}.pd-no-pdf{margin-left:auto;color:#b9dfcf;font-size:11px}
.pd-alert{background:#fff1dc;border-bottom:1px solid #ecd2aa;padding:13px 32px;font-size:12px;color:#8b5714}
.pd-layout{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:start;gap:18px;padding:18px 25px 35px}
.pd-nav{position:sticky;top:10px;align-self:start;background:#fff;border:1px solid #e6eee8;border-radius:12px;padding:15px 10px;box-shadow:0 7px 25px #2e56400d}.pd-nav p{padding:4px 12px 11px;margin:0;color:#9aa99e;font-size:9px;font-weight:900;letter-spacing:1.5px}
.pd-nav button{width:100%;display:flex;gap:11px;align-items:center;background:transparent;border:0;text-align:left;color:#688374;padding:11px 9px;border-radius:7px;font-weight:750;font-size:11px}.pd-nav button span{font:800 10px Consolas,monospace;color:#97aa9e}.pd-nav button.current,.pd-nav button:hover{background:#e8f5ec;color:#18774e}.pd-nav button.current span{color:#19845c}
.pd-nav small{display:block;margin:16px 9px 3px;font-size:10px;line-height:1.6;color:#8fa396}
.pd-sections{min-width:0;display:grid;gap:15px}
.pd-section{background:#fff;border:1px solid #e3ece6;border-radius:12px;padding:22px 26px;scroll-margin-top:10px;box-shadow:0 4px 20px #12392307}
.pd-section-head{display:flex;gap:12px;align-items:center;border-bottom:1px solid #edf1ee;padding-bottom:16px;margin-bottom:17px}.pd-section-head h3{font-size:16px;font-weight:850;margin:0;color:#234b3b}.pd-section-mark{color:#1f8a60;background:#eaf7ed;border-radius:6px;min-width:30px;height:30px;padding:8px;text-align:center;font-size:10px;font-weight:900}
.pd-summary{display:grid;grid-template-columns:minmax(230px,.9fr) minmax(0,1.1fr);gap:20px}.pd-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px 8px;margin:0}.pd-field{min-width:0}.pd-field dt{font-size:10px;color:#91a69a;margin-bottom:5px;font-weight:750}.pd-field dd{font-size:12px;font-weight:780;color:#275a44;margin:0;overflow-wrap:anywhere}
.pd-abstract{border-left:3px solid #6cc6a1;padding-left:18px}.pd-section h4{font-size:12px;color:#3c6953;font-weight:830;margin:0 0 10px}.pd-abstract p{font-size:12px;line-height:1.85;color:#60766b;margin:0;white-space:pre-wrap}
.pd-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}.pd-people>div,.pd-split>div{background:#f9fcf9;border:1px solid #eef2ee;border-radius:9px;padding:13px 14px;min-width:0}
.pd-pills{display:flex;gap:7px;flex-wrap:wrap}.pd-pill{font-size:10px;font-weight:780;color:#306f50;background:#e9f5ec;border:1px solid #d7eadd;border-radius:6px;padding:6px 8px;overflow-wrap:anywhere}
.pd-empty-value,.pd-unavailable{color:#91a99a!important;font-size:11px!important;font-weight:450!important}.pd-unavailable{line-height:1.6;margin:5px 0 0}
.pd-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pd-subsection{margin-top:16px}.pd-records{display:grid;gap:8px;max-height:360px;overflow:auto}.pd-record{border:1px solid #e0eae1;padding:10px 12px;border-radius:8px;background:#fff;overflow-wrap:anywhere}.pd-record-top{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.pd-record-top b{font-size:11px;color:#18764f}.pd-record-top span{font-size:10px;color:#98a99d}.pd-record p{font-size:11px;color:#60786a;margin:5px 0 0;line-height:1.5}.pd-record a{color:#207b5a}
.pd-length{font:700 10px system-ui,sans-serif;color:#95a898;margin-bottom:11px}.pd-longtext{border:1px solid #dfece2;border-radius:9px;overflow:hidden}.pd-longtext summary{cursor:pointer;background:#f1f9f3;padding:15px 17px;color:#2d7654;font-weight:850;font-size:12px;list-style:none;display:flex;justify-content:space-between}.pd-longtext summary::-webkit-details-marker{display:none}.pd-longtext-body{padding:17px;max-height:420px;overflow:auto}.pd-longtext pre{margin:0;font:12px/1.85 'Segoe UI',system-ui,sans-serif;color:#4a6657;white-space:pre-wrap;overflow-wrap:anywhere}.pd-text-preview{font-size:11px;line-height:1.7;color:#768f80;margin:12px 2px 0}.pd-muted{font-size:11px;color:#849c8d}.pd-json-wrap summary{color:#2f8060;font-size:11px;font-weight:850;cursor:pointer}.pd-json-wrap pre{background:#102920;color:#c0efcc;padding:17px;max-height:350px;overflow:auto;font-size:10px;border-radius:10px;margin-top:11px}
@media(max-width:950px){.pd-layout{grid-template-columns:1fr;padding:12px}.pd-nav{position:relative;top:auto;display:flex;gap:5px;align-items:center;overflow-x:auto;padding:10px}.pd-nav p,.pd-nav small{display:none}.pd-nav button{width:auto;flex:0 0 auto;white-space:nowrap;font-size:10px;padding:9px}.pd-summary{grid-template-columns:1fr}}
@media(max-width:650px){.pd-hero{padding:18px}.pd-hero-top{flex-direction:column;gap:10px}.pd-hero h2{font-size:21px}.pd-main-action{margin-left:0}.pd-section{padding:17px 14px}.pd-split,.pd-people{grid-template-columns:1fr}.pd-fields{grid-template-columns:1fr 1fr}.res-modal-dossier .res-modal-shell{width:100%;height:98vh;max-height:98vh}.research-modal:has(.pd-dossier){padding:3px}}

/* Story-grouping controls: retain access to every publisher's original article. */
.res-story-filter{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;margin:14px 0;border:1px solid #dce5ee;border-radius:12px;background:#f7fafc;color:#26364b}
.res-story-filter[hidden]{display:none}.res-story-filter label{display:flex;gap:9px;align-items:center;cursor:pointer;font-weight:600}.res-story-filter input{accent-color:#2659cc;width:17px;height:17px}
.res-story-filter small{font-weight:400;color:#65758b}.res-story-filter span{font-size:.85rem;color:#65758b}
.res-story-copies{border-top:1px solid #e5eaf0;padding:11px 16px;color:#314563}.res-story-copies summary{cursor:pointer;font-size:.84rem;font-weight:650}
.res-story-links{display:grid;gap:7px;margin-top:10px}.res-story-links button{border:1px solid #dae5f3;background:white;text-align:left;color:#2659cc;padding:8px 10px;border-radius:8px;cursor:pointer}.res-story-links button:hover{background:#f2f6ff}
