:is(#researchWorkspace,.research-auth-overlay){
  --navy:#0b2745;--navy-2:#0c3b68;--blue:#1463d6;--blue-dark:#0e4eae;
  --text:#152b43;--muted:#60738a;--subtle:#7e8fa2;--line:#d8e1eb;--line-strong:#bdcad8;
  --surface:#fff;--surface-2:#f6f8fb;--surface-blue:#edf5ff;--green:#16794b;--green-bg:#e9f7ef;
  --yellow:#8b5b00;--yellow-bg:#fff8e7;--red:#b42318;--red-bg:#fff0ee;
  --shadow-sm:0 2px 8px rgba(12,42,72,.07);--shadow-md:0 18px 50px rgba(9,37,65,.15);
  --sidebar:236px;--topbar:60px;--radius:14px;
  color-scheme:light;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
:is(#researchWorkspace,.research-auth-overlay) *{box-sizing:border-box}:is(#researchWorkspace,.research-auth-overlay){min-width:320px;background:#fff}:is(#researchWorkspace,.research-auth-overlay){margin:0;color:var(--text);background:#fff;font-size:15px;line-height:1.52}:is(#researchWorkspace,.research-auth-overlay) button,:is(#researchWorkspace,.research-auth-overlay) input,:is(#researchWorkspace,.research-auth-overlay) select,:is(#researchWorkspace,.research-auth-overlay) textarea{font:inherit;color:inherit}:is(#researchWorkspace,.research-auth-overlay) button{cursor:pointer}:is(#researchWorkspace,.research-auth-overlay) a{color:var(--blue)}:is(#researchWorkspace,.research-auth-overlay) .hidden{display:none!important}:is(#researchWorkspace,.research-auth-overlay) .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:is(#researchWorkspace,.research-auth-overlay) .skip-link{position:fixed;left:12px;top:-80px;background:#fff;color:var(--navy);padding:10px 14px;border-radius:8px;z-index:300;box-shadow:var(--shadow-md)}:is(#researchWorkspace,.research-auth-overlay) .skip-link:focus{top:12px}
:is(#researchWorkspace,.research-auth-overlay) :focus-visible{outline:3px solid rgba(20,99,214,.28);outline-offset:2px}:is(#researchWorkspace,.research-auth-overlay) .app-shell{min-height:100dvh;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr)}:is(#researchWorkspace,.research-auth-overlay) .sidebar{position:sticky;top:0;height:100dvh;background:linear-gradient(180deg,#08284a,#063861);color:#fff;padding:24px 14px 18px;display:flex;flex-direction:column;z-index:50}:is(#researchWorkspace,.research-auth-overlay) .brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-weight:820;font-size:1.08rem;line-height:1.08;padding:0 9px 28px}:is(#researchWorkspace,.research-auth-overlay) .brand img{width:42px;height:42px}:is(#researchWorkspace,.research-auth-overlay) .sidebar nav{display:grid;gap:6px}:is(#researchWorkspace,.research-auth-overlay) .nav-item{display:flex;align-items:center;gap:12px;width:100%;border:0;border-radius:10px;background:transparent;color:#d8e9fa;padding:11px 13px;text-align:left;font-weight:700}:is(#researchWorkspace,.research-auth-overlay) .nav-item:hover{background:rgba(255,255,255,.08);color:#fff}:is(#researchWorkspace,.research-auth-overlay) .nav-item.active{color:#fff;background:#0e5cb8;box-shadow:inset 3px 0 0 #48a3ff}:is(#researchWorkspace,.research-auth-overlay) .nav-icon{font-size:1.3rem;width:24px;text-align:center}:is(#researchWorkspace,.research-auth-overlay) .sidebar-foot{margin-top:auto;display:grid;gap:15px;border-top:1px solid rgba(255,255,255,.12);padding:18px 10px 2px;color:#bdd3e8;font-size:.78rem}:is(#researchWorkspace,.research-auth-overlay) .sidebar-foot a{color:#d8e9fa;text-decoration:none}:is(#researchWorkspace,.research-auth-overlay) .system-line{display:flex;align-items:center;gap:8px}:is(#researchWorkspace,.research-auth-overlay) .system-dot{width:8px;height:8px;border-radius:50%;background:#d49b22}:is(#researchWorkspace,.research-auth-overlay) .system-dot.ok{background:#65b93a}:is(#researchWorkspace,.research-auth-overlay) .system-dot.bad{background:#e5675d}:is(#researchWorkspace,.research-auth-overlay) .app-stage{min-width:0}:is(#researchWorkspace,.research-auth-overlay) .topbar{height:var(--topbar);position:sticky;top:0;z-index:40;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:14px;padding:0 22px}:is(#researchWorkspace,.research-auth-overlay) .topbar>div:nth-child(2){display:grid}:is(#researchWorkspace,.research-auth-overlay) .topbar strong{font-size:1.15rem;color:var(--navy)}:is(#researchWorkspace,.research-auth-overlay) .topbar span{font-size:.7rem;color:var(--muted)}:is(#researchWorkspace,.research-auth-overlay) .topbar-actions{margin-left:auto!important;display:flex!important;align-items:center;gap:8px}:is(#researchWorkspace,.research-auth-overlay) .menu-button{display:none;border:0;background:transparent;font-size:1.4rem;padding:8px}:is(#researchWorkspace,.research-auth-overlay) .button{border:1px solid transparent;border-radius:9px;min-height:40px;padding:8px 14px;font-weight:760;font-size:.82rem;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}:is(#researchWorkspace,.research-auth-overlay) .button-primary{background:var(--blue);border-color:var(--blue);color:#fff}:is(#researchWorkspace,.research-auth-overlay) .button-primary:hover{background:var(--blue-dark)}:is(#researchWorkspace,.research-auth-overlay) .button-secondary{background:#fff;border-color:#9cb8da;color:var(--blue)}:is(#researchWorkspace,.research-auth-overlay) .button-secondary:hover{background:var(--surface-blue)}:is(#researchWorkspace,.research-auth-overlay) .button-danger{background:#fff;border-color:#e0a6a1;color:var(--red)}:is(#researchWorkspace,.research-auth-overlay) main{min-width:0}:is(#researchWorkspace,.research-auth-overlay) .public-view,:is(#researchWorkspace,.research-auth-overlay) .catalogue-view,:is(#researchWorkspace,.research-auth-overlay) .admin-view{min-height:calc(100dvh - var(--topbar))}:is(#researchWorkspace,.research-auth-overlay) .research-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(360px,.95fr);min-height:calc(100dvh - var(--topbar))}:is(#researchWorkspace,.research-auth-overlay) .conversation-column{min-width:0;padding:34px 42px 28px;display:flex;flex-direction:column;border-right:1px solid var(--line)}:is(#researchWorkspace,.research-auth-overlay) .welcome-panel{max-width:760px;width:100%;margin:0 auto 28px}:is(#researchWorkspace,.research-auth-overlay) .welcome-panel h1,:is(#researchWorkspace,.research-auth-overlay) .catalogue-head h1,:is(#researchWorkspace,.research-auth-overlay) .admin-head h1{font-size:1.72rem;line-height:1.16;margin:0 0 8px;color:var(--navy);letter-spacing:-.025em}:is(#researchWorkspace,.research-auth-overlay) .welcome-panel>p,:is(#researchWorkspace,.research-auth-overlay) .catalogue-head p,:is(#researchWorkspace,.research-auth-overlay) .admin-head p{margin:0;color:var(--muted)}:is(#researchWorkspace,.research-auth-overlay) .sample-list{display:grid;gap:9px;margin-top:24px}:is(#researchWorkspace,.research-auth-overlay) .sample-list button{border:1px solid var(--line);border-radius:11px;background:#fff;padding:13px 15px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;text-align:left;align-items:center;color:#314d6b;box-shadow:0 1px 3px rgba(10,45,80,.03)}:is(#researchWorkspace,.research-auth-overlay) .sample-list button:hover{border-color:#8db4e5;background:#f9fbff}:is(#researchWorkspace,.research-auth-overlay) .conversation{max-width:760px;width:100%;margin:0 auto;display:grid;gap:15px}:is(#researchWorkspace,.research-auth-overlay) .message{display:grid;gap:7px}:is(#researchWorkspace,.research-auth-overlay) .message-label{font-size:.67rem;font-weight:840;text-transform:uppercase;letter-spacing:.08em;color:var(--blue)}:is(#researchWorkspace,.research-auth-overlay) .user-message{justify-self:end;max-width:80%;background:var(--surface-blue);border:1px solid #cce0f7;border-radius:12px;padding:12px 15px}:is(#researchWorkspace,.research-auth-overlay) .answer-card{border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow-sm);overflow:hidden}:is(#researchWorkspace,.research-auth-overlay) .answer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #e9eef4}:is(#researchWorkspace,.research-auth-overlay) .answer-head strong{color:var(--navy)}:is(#researchWorkspace,.research-auth-overlay) .answer-body{padding:18px}:is(#researchWorkspace,.research-auth-overlay) .answer-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#2e445c}:is(#researchWorkspace,.research-auth-overlay) .answer-text p{margin:0 0 10px}:is(#researchWorkspace,.research-auth-overlay) .citation-button{border:0;background:#e7f1ff;color:var(--blue);border-radius:5px;padding:1px 5px;font-size:.72rem;font-weight:850;vertical-align:1px}:is(#researchWorkspace,.research-auth-overlay) .exact-block{margin:18px 0 0}:is(#researchWorkspace,.research-auth-overlay) .exact-block h3,:is(#researchWorkspace,.research-auth-overlay) .observations h3{font-size:.86rem;color:var(--blue);margin:0 0 8px}:is(#researchWorkspace,.research-auth-overlay) .quote-card{margin:0 0 10px;padding:14px 15px;border-left:3px solid var(--blue);border-radius:0 10px 10px 0;background:#f4f8fd;white-space:pre-wrap;color:#243d57}:is(#researchWorkspace,.research-auth-overlay) .quote-card footer{margin-top:8px;color:var(--blue);font-size:.75rem;font-weight:750}:is(#researchWorkspace,.research-auth-overlay) .observation-card{border:1px solid #efd28f;background:var(--yellow-bg);border-radius:11px;padding:13px 14px;margin-top:10px;color:#634514}:is(#researchWorkspace,.research-auth-overlay) .observation-card strong{display:block;color:#694600;margin-bottom:4px}:is(#researchWorkspace,.research-auth-overlay) .observation-card p{margin:4px 0}:is(#researchWorkspace,.research-auth-overlay) .verification-line{display:flex;flex-wrap:wrap;gap:10px;align-items:center;border-top:1px solid var(--line);padding:11px 18px;font-size:.72rem;color:var(--muted)}:is(#researchWorkspace,.research-auth-overlay) .status-chip{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:.67rem;font-weight:820}:is(#researchWorkspace,.research-auth-overlay) .status-ready{background:var(--green-bg);color:var(--green)}:is(#researchWorkspace,.research-auth-overlay) .status-warning{background:var(--yellow-bg);color:var(--yellow)}:is(#researchWorkspace,.research-auth-overlay) .status-error{background:var(--red-bg);color:var(--red)}:is(#researchWorkspace,.research-auth-overlay) .status-neutral{background:#eef2f6;color:#566b81}:is(#researchWorkspace,.research-auth-overlay) .loading-card{border:1px solid var(--line);border-radius:14px;padding:18px;color:var(--muted);background:#fff}:is(#researchWorkspace,.research-auth-overlay) .loading-line{height:9px;background:linear-gradient(90deg,#edf1f5,#f9fbfd,#edf1f5);background-size:200% 100%;animation:loading 1.25s infinite;border-radius:9px;margin:8px 0}:is(#researchWorkspace,.research-auth-overlay) .loading-line:nth-child(2){width:72%}@keyframes loading{to{background-position:-200% 0}}:is(#researchWorkspace,.research-auth-overlay) .composer{max-width:760px;width:100%;margin:auto auto 0;border:2px solid var(--blue);border-radius:13px;background:#fff;padding:11px 12px;box-shadow:0 7px 24px rgba(20,99,214,.1);position:sticky;bottom:16px;z-index:10}:is(#researchWorkspace,.research-auth-overlay) .composer textarea{width:100%;border:0;resize:none;min-height:76px;padding:4px;outline:0}:is(#researchWorkspace,.research-auth-overlay) .composer-row{display:flex;align-items:center;gap:10px;border-top:1px solid #e9eef4;padding-top:9px}:is(#researchWorkspace,.research-auth-overlay) .composer select{border:1px solid var(--line);border-radius:8px;background:#fff;padding:7px 9px;font-size:.75rem}:is(#researchWorkspace,.research-auth-overlay) .composer-note{font-size:.67rem;color:var(--subtle);margin-right:auto}:is(#researchWorkspace,.research-auth-overlay) .send-button{width:42px;height:42px;border:0;border-radius:8px;background:var(--blue);color:#fff;font-size:1.1rem}:is(#researchWorkspace,.research-auth-overlay) .send-button:disabled{opacity:.55;cursor:wait}:is(#researchWorkspace,.research-auth-overlay) .decision-warning{max-width:760px;width:100%;margin:24px auto 0;color:var(--subtle);font-size:.7rem}:is(#researchWorkspace,.research-auth-overlay) .sources-panel{background:#fbfcfe;padding:28px 24px;min-width:0}:is(#researchWorkspace,.research-auth-overlay) .panel-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:14px}:is(#researchWorkspace,.research-auth-overlay) .panel-heading>div{display:flex;align-items:center;gap:9px}:is(#researchWorkspace,.research-auth-overlay) .panel-heading h2{font-size:1.08rem;margin:0;color:var(--navy)}:is(#researchWorkspace,.research-auth-overlay) .mobile-close{display:none;border:0;background:transparent;font-size:1.5rem}:is(#researchWorkspace,.research-auth-overlay) .source-empty{text-align:center;color:var(--muted);padding:70px 24px}:is(#researchWorkspace,.research-auth-overlay) .source-empty strong{display:block;color:#3e5770}:is(#researchWorkspace,.research-auth-overlay) .source-empty p{font-size:.8rem}:is(#researchWorkspace,.research-auth-overlay) .source-list{list-style:none;padding:0;margin:14px 0;display:grid;gap:10px}:is(#researchWorkspace,.research-auth-overlay) .source-item{border:1px solid var(--line);background:#fff;border-radius:11px;padding:13px}:is(#researchWorkspace,.research-auth-overlay) .source-title-row{display:grid;grid-template-columns:28px 1fr;gap:9px}:is(#researchWorkspace,.research-auth-overlay) .source-number{width:24px;height:24px;border-radius:6px;background:#e7f1ff;color:var(--blue);font-size:.72rem;font-weight:850;display:grid;place-items:center}:is(#researchWorkspace,.research-auth-overlay) .source-item h3{font-size:.82rem;margin:0;color:#243e59}:is(#researchWorkspace,.research-auth-overlay) .source-item p{font-size:.72rem;color:var(--muted);margin:4px 0}:is(#researchWorkspace,.research-auth-overlay) .source-meta{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}:is(#researchWorkspace,.research-auth-overlay) .source-item a{font-size:.74rem;font-weight:760;text-decoration:none}:is(#researchWorkspace,.research-auth-overlay) .source-item.highlight{border-color:#73a7e6;box-shadow:0 0 0 3px rgba(20,99,214,.09)}:is(#researchWorkspace,.research-auth-overlay) .mobile-sources-button{position:fixed;right:14px;bottom:14px;z-index:30;border:0;background:var(--navy);color:#fff;padding:10px 14px;border-radius:10px;box-shadow:var(--shadow-md)}
:is(#researchWorkspace,.research-auth-overlay) .catalogue-view,:is(#researchWorkspace,.research-auth-overlay) .admin-view{padding:32px 34px 70px;background:var(--surface-2)}:is(#researchWorkspace,.research-auth-overlay) .catalogue-head,:is(#researchWorkspace,.research-auth-overlay) .admin-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;max-width:1280px;margin:0 auto 20px}:is(#researchWorkspace,.research-auth-overlay) .toolbar{max-width:1280px;margin:0 auto 16px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:12px;display:grid;grid-template-columns:minmax(240px,1fr) 220px;gap:12px}:is(#researchWorkspace,.research-auth-overlay) .toolbar label,:is(#researchWorkspace,.research-auth-overlay) .upload-options label,:is(#researchWorkspace,.research-auth-overlay) .modal form>label{display:grid;gap:5px}:is(#researchWorkspace,.research-auth-overlay) .toolbar label span,:is(#researchWorkspace,.research-auth-overlay) .upload-options label span,:is(#researchWorkspace,.research-auth-overlay) .modal form>label span{font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;font-weight:820;color:#65788d}:is(#researchWorkspace,.research-auth-overlay) .toolbar input,:is(#researchWorkspace,.research-auth-overlay) .toolbar select,:is(#researchWorkspace,.research-auth-overlay) .upload-options input,:is(#researchWorkspace,.research-auth-overlay) .upload-options select,:is(#researchWorkspace,.research-auth-overlay) .modal input{width:100%;border:1px solid var(--line-strong);border-radius:8px;background:#fff;padding:9px 10px;min-height:40px}:is(#researchWorkspace,.research-auth-overlay) .document-grid{max-width:1280px;margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}:is(#researchWorkspace,.research-auth-overlay) .document-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px;display:flex;flex-direction:column;gap:8px;min-width:0}:is(#researchWorkspace,.research-auth-overlay) .document-card h2{font-size:.9rem;margin:0;color:#223d58}:is(#researchWorkspace,.research-auth-overlay) .document-card p{margin:0;font-size:.74rem;color:var(--muted)}:is(#researchWorkspace,.research-auth-overlay) .document-card .document-actions{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px}:is(#researchWorkspace,.research-auth-overlay) .document-card a{text-decoration:none;font-size:.74rem;font-weight:760}:is(#researchWorkspace,.research-auth-overlay) .summary-strip{max-width:1280px;margin:0 auto 14px;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}:is(#researchWorkspace,.research-auth-overlay) .summary-item{padding:13px 16px;border-right:1px solid var(--line)}:is(#researchWorkspace,.research-auth-overlay) .summary-item:last-child{border-right:0}:is(#researchWorkspace,.research-auth-overlay) .summary-item span{display:block;font-size:.66rem;text-transform:uppercase;letter-spacing:.06em;color:var(--subtle);font-weight:800}:is(#researchWorkspace,.research-auth-overlay) .summary-item strong{font-size:1.25rem;color:var(--navy)}:is(#researchWorkspace,.research-auth-overlay) .admin-toolbar{grid-template-columns:minmax(240px,1fr) 180px 210px}:is(#researchWorkspace,.research-auth-overlay) .inventory-wrap{max-width:1280px;margin:auto;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:auto}:is(#researchWorkspace,.research-auth-overlay) .inventory-table{width:100%;border-collapse:collapse;font-size:.75rem}:is(#researchWorkspace,.research-auth-overlay) .inventory-table th{text-align:left;background:#f4f7fa;color:#566b81;text-transform:uppercase;letter-spacing:.045em;font-size:.64rem;padding:11px 12px;position:sticky;top:0}:is(#researchWorkspace,.research-auth-overlay) .inventory-table td{padding:12px;border-top:1px solid var(--line);vertical-align:top}:is(#researchWorkspace,.research-auth-overlay) .inventory-table strong{display:block;color:#243e59}:is(#researchWorkspace,.research-auth-overlay) .inventory-table small{color:var(--muted)}:is(#researchWorkspace,.research-auth-overlay) .row-actions{display:flex;gap:6px;flex-wrap:wrap}:is(#researchWorkspace,.research-auth-overlay) .table-button{border:1px solid var(--line);background:#fff;color:var(--blue);padding:6px 8px;border-radius:7px;font-size:.68rem;font-weight:750}:is(#researchWorkspace,.research-auth-overlay) .mobile-inventory{display:none}
:is(#researchWorkspace,.research-auth-overlay) .modal{border:0;border-radius:16px;padding:0;width:min(520px,calc(100% - 28px));box-shadow:0 30px 90px rgba(4,28,52,.28);color:var(--text)}:is(#researchWorkspace,.research-auth-overlay) .modal::backdrop{background:rgba(4,24,44,.58);backdrop-filter:blur(3px)}:is(#researchWorkspace,.research-auth-overlay) .modal form{padding:0;margin:0}:is(#researchWorkspace,.research-auth-overlay) .modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:19px 20px;border-bottom:1px solid var(--line)}:is(#researchWorkspace,.research-auth-overlay) .modal-head h2{margin:0;font-size:1.12rem;color:var(--navy)}:is(#researchWorkspace,.research-auth-overlay) .modal-head p{margin:3px 0 0;color:var(--muted);font-size:.75rem}:is(#researchWorkspace,.research-auth-overlay) .modal-head button{border:0;background:transparent;font-size:1.5rem;color:var(--muted);line-height:1}:is(#researchWorkspace,.research-auth-overlay) .login-modal form>label{margin:15px 20px}:is(#researchWorkspace,.research-auth-overlay) .modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:15px 20px;border-top:1px solid var(--line);margin-top:16px}:is(#researchWorkspace,.research-auth-overlay) .form-message{min-height:20px;margin:8px 20px;color:var(--red);font-size:.75rem}:is(#researchWorkspace,.research-auth-overlay) .upload-modal{width:min(760px,calc(100% - 28px))}:is(#researchWorkspace,.research-auth-overlay) .drop-zone{margin:18px 20px;border:1px dashed #8eb1da;background:#f7fbff;border-radius:12px;padding:28px;text-align:center;display:grid!important;gap:5px;cursor:pointer}:is(#researchWorkspace,.research-auth-overlay) .drop-zone input{position:absolute;opacity:0;pointer-events:none}:is(#researchWorkspace,.research-auth-overlay) .drop-zone strong{color:var(--navy)}:is(#researchWorkspace,.research-auth-overlay) .drop-zone span{font-size:.75rem;color:var(--muted)}:is(#researchWorkspace,.research-auth-overlay) .drop-zone.dragging{background:#eaf4ff;border-color:var(--blue)}:is(#researchWorkspace,.research-auth-overlay) .upload-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 20px}:is(#researchWorkspace,.research-auth-overlay) .upload-queue{margin:14px 20px;max-height:250px;overflow:auto;display:grid;gap:7px}:is(#researchWorkspace,.research-auth-overlay) .upload-row{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:9px}:is(#researchWorkspace,.research-auth-overlay) .upload-row strong{font-size:.76rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:is(#researchWorkspace,.research-auth-overlay) .upload-row span{font-size:.7rem;color:var(--muted)}:is(#researchWorkspace,.research-auth-overlay) .progress{height:5px;background:#e7edf4;border-radius:6px;overflow:hidden;margin-top:5px}:is(#researchWorkspace,.research-auth-overlay) .progress i{display:block;height:100%;background:var(--blue);width:0;transition:.2s}:is(#researchWorkspace,.research-auth-overlay) .detail-modal{width:min(900px,calc(100% - 28px));max-height:min(760px,calc(100dvh - 36px))}:is(#researchWorkspace,.research-auth-overlay) .detail-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);padding:10px 18px}:is(#researchWorkspace,.research-auth-overlay) .detail-tabs button{border:0;background:transparent;padding:8px 10px;color:var(--muted);font-weight:730;font-size:.76rem;border-radius:7px}:is(#researchWorkspace,.research-auth-overlay) .detail-tabs button[aria-selected="true"]{background:var(--surface-blue);color:var(--blue)}:is(#researchWorkspace,.research-auth-overlay) .detail-body{padding:18px;max-height:610px;overflow:auto}:is(#researchWorkspace,.research-auth-overlay) .detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}:is(#researchWorkspace,.research-auth-overlay) .detail-field{border:1px solid var(--line);border-radius:9px;padding:10px}:is(#researchWorkspace,.research-auth-overlay) .detail-field span{display:block;color:var(--subtle);font-size:.63rem;text-transform:uppercase;font-weight:800}:is(#researchWorkspace,.research-auth-overlay) .detail-field strong{display:block;font-size:.8rem;margin-top:3px;overflow-wrap:anywhere}:is(#researchWorkspace,.research-auth-overlay) .parts-list,:is(#researchWorkspace,.research-auth-overlay) .observation-list{display:grid;gap:8px}:is(#researchWorkspace,.research-auth-overlay) .part-row{border:1px solid var(--line);border-radius:9px;padding:10px;display:grid;grid-template-columns:80px 1fr auto;gap:10px;font-size:.73rem}:is(#researchWorkspace,.research-auth-overlay) .toast{position:fixed;right:20px;bottom:20px;z-index:400;background:var(--navy);color:#fff;border-radius:10px;padding:11px 14px;box-shadow:var(--shadow-md);opacity:0;transform:translateY(12px);pointer-events:none;transition:.2s;max-width:360px;font-size:.78rem}:is(#researchWorkspace,.research-auth-overlay) .toast.show{opacity:1;transform:none}
@media(max-width:1199px){:is(#researchWorkspace,.research-auth-overlay) .research-layout{grid-template-columns:minmax(0,1.4fr) minmax(330px,.8fr)}:is(#researchWorkspace,.research-auth-overlay) .conversation-column{padding:28px}:is(#researchWorkspace,.research-auth-overlay) .sources-panel{padding:24px 17px}:is(#researchWorkspace,.research-auth-overlay) .document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:920px){:is(#researchWorkspace,.research-auth-overlay){--topbar:58px}:is(#researchWorkspace,.research-auth-overlay) .app-shell{grid-template-columns:1fr}:is(#researchWorkspace,.research-auth-overlay) .sidebar{position:fixed;left:0;transform:translateX(-105%);width:236px;transition:.2s;box-shadow:var(--shadow-md)}:is(#researchWorkspace,.research-auth-overlay) .sidebar.open{transform:none}:is(#researchWorkspace,.research-auth-overlay) .menu-button{display:block}:is(#researchWorkspace,.research-auth-overlay) .topbar{padding:0 12px}:is(#researchWorkspace,.research-auth-overlay) .topbar span{display:none}:is(#researchWorkspace,.research-auth-overlay) .research-layout{display:block}:is(#researchWorkspace,.research-auth-overlay) .conversation-column{border:0;padding:24px 20px 90px;min-height:calc(100dvh - var(--topbar))}:is(#researchWorkspace,.research-auth-overlay) .sources-panel{position:fixed;z-index:90;inset:auto 0 0;background:#fff;border-radius:18px 18px 0 0;max-height:78dvh;overflow:auto;transform:translateY(105%);transition:.22s;box-shadow:0 -20px 70px rgba(5,31,56,.22)}:is(#researchWorkspace,.research-auth-overlay) .sources-panel.open{transform:none}:is(#researchWorkspace,.research-auth-overlay) .mobile-close{display:block}:is(#researchWorkspace,.research-auth-overlay) .mobile-sources-button:not(.hidden){display:block!important}:is(#researchWorkspace,.research-auth-overlay) .catalogue-view,:is(#researchWorkspace,.research-auth-overlay) .admin-view{padding:24px 18px 70px}:is(#researchWorkspace,.research-auth-overlay) .inventory-wrap{display:none}:is(#researchWorkspace,.research-auth-overlay) .mobile-inventory{display:grid;gap:10px;max-width:900px;margin:auto}:is(#researchWorkspace,.research-auth-overlay) .inventory-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:13px}:is(#researchWorkspace,.research-auth-overlay) .inventory-card h3{font-size:.85rem;margin:0}:is(#researchWorkspace,.research-auth-overlay) .inventory-card p{font-size:.72rem;color:var(--muted);margin:4px 0}:is(#researchWorkspace,.research-auth-overlay) .inventory-card .row-actions{margin-top:10px}:is(#researchWorkspace,.research-auth-overlay) .summary-strip{grid-template-columns:repeat(2,1fr)}:is(#researchWorkspace,.research-auth-overlay) .summary-item:nth-child(2){border-right:0}:is(#researchWorkspace,.research-auth-overlay) .summary-item:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media(max-width:640px){:is(#researchWorkspace,.research-auth-overlay){font-size:14px}:is(#researchWorkspace,.research-auth-overlay) .topbar>div:nth-child(2){min-width:0}:is(#researchWorkspace,.research-auth-overlay) .topbar strong{font-size:.95rem}:is(#researchWorkspace,.research-auth-overlay) .topbar-actions .button{padding:7px 9px;font-size:.7rem;min-height:36px}:is(#researchWorkspace,.research-auth-overlay) .conversation-column{padding:20px 12px 100px}:is(#researchWorkspace,.research-auth-overlay) .welcome-panel h1,:is(#researchWorkspace,.research-auth-overlay) .catalogue-head h1,:is(#researchWorkspace,.research-auth-overlay) .admin-head h1{font-size:1.42rem}:is(#researchWorkspace,.research-auth-overlay) .welcome-panel>p{font-size:.82rem}:is(#researchWorkspace,.research-auth-overlay) .sample-list{margin-top:18px}:is(#researchWorkspace,.research-auth-overlay) .sample-list button{padding:11px}:is(#researchWorkspace,.research-auth-overlay) .user-message{max-width:92%}:is(#researchWorkspace,.research-auth-overlay) .answer-body,:is(#researchWorkspace,.research-auth-overlay) .answer-head{padding:13px}:is(#researchWorkspace,.research-auth-overlay) .verification-line{padding:10px 13px}:is(#researchWorkspace,.research-auth-overlay) .composer{bottom:10px;padding:9px}:is(#researchWorkspace,.research-auth-overlay) .composer-note{display:none}:is(#researchWorkspace,.research-auth-overlay) .decision-warning{margin-top:18px}:is(#researchWorkspace,.research-auth-overlay) .catalogue-view,:is(#researchWorkspace,.research-auth-overlay) .admin-view{padding:20px 12px 70px}:is(#researchWorkspace,.research-auth-overlay) .catalogue-head,:is(#researchWorkspace,.research-auth-overlay) .admin-head{display:grid}:is(#researchWorkspace,.research-auth-overlay) .catalogue-head .button,:is(#researchWorkspace,.research-auth-overlay) .admin-head .button{justify-self:start}:is(#researchWorkspace,.research-auth-overlay) .toolbar,:is(#researchWorkspace,.research-auth-overlay) .admin-toolbar{grid-template-columns:1fr}:is(#researchWorkspace,.research-auth-overlay) .document-grid{grid-template-columns:1fr}:is(#researchWorkspace,.research-auth-overlay) .modal{width:100%;max-width:none;height:100dvh;max-height:none;border-radius:0}:is(#researchWorkspace,.research-auth-overlay) .modal::backdrop{background:#fff}:is(#researchWorkspace,.research-auth-overlay) .modal-actions{position:sticky;bottom:0;background:#fff}:is(#researchWorkspace,.research-auth-overlay) .upload-options{grid-template-columns:1fr}:is(#researchWorkspace,.research-auth-overlay) .detail-grid{grid-template-columns:1fr 1fr}:is(#researchWorkspace,.research-auth-overlay) .part-row{grid-template-columns:65px 1fr}:is(#researchWorkspace,.research-auth-overlay) .part-row>*:last-child{grid-column:2}:is(#researchWorkspace,.research-auth-overlay) .summary-strip{grid-template-columns:1fr 1fr}:is(#researchWorkspace,.research-auth-overlay) .source-title-row{grid-template-columns:26px 1fr}}
@media(max-width:380px){:is(#researchWorkspace,.research-auth-overlay) .topbar strong{font-size:.82rem}:is(#researchWorkspace,.research-auth-overlay) .topbar-actions .button{font-size:.65rem;padding:6px 7px}:is(#researchWorkspace,.research-auth-overlay) .detail-grid{grid-template-columns:1fr}:is(#researchWorkspace,.research-auth-overlay) .composer select{max-width:145px}}
@media(prefers-reduced-motion:reduce){:is(#researchWorkspace,.research-auth-overlay) *,:is(#researchWorkspace,.research-auth-overlay) *:before,:is(#researchWorkspace,.research-auth-overlay) *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Shared workspace links retain the existing navigation treatment. */
:is(#researchWorkspace,.research-auth-overlay) a.nav-item{text-decoration:none}
:is(#researchWorkspace,.research-auth-overlay) .sidebar nav{overflow-y:auto;min-height:0}

/* One workspace shell owns navigation, sizing, colors and typography. */
:is(#researchWorkspace,.research-auth-overlay){font:inherit;--navy:#0b2745;--blue:#1463d6;--topbar:64px;padding:0;min-width:0}
:is(#researchWorkspace,.research-auth-overlay) .research-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:12px 0;margin-bottom:16px}
:is(#researchWorkspace,.research-auth-overlay) .research-tabs button{width:auto;color:var(--navy);background:#fff;border:1px solid var(--line);border-radius:8px;padding:10px 16px}
:is(#researchWorkspace,.research-auth-overlay) .research-tabs button.active{background:var(--blue);color:#fff}
:is(#researchWorkspace,.research-auth-overlay) .research-layout{min-height:65vh}
:is(#researchWorkspace,.research-auth-overlay) .conversation-column{min-height:65vh;padding:20px;}
:is(#researchWorkspace,.research-auth-overlay) .composer{position:sticky;bottom:20px}
:is(#researchWorkspace,.research-auth-overlay) .sources-panel{max-height:75vh}
.app-topbar-actions .button{border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--navy);padding:8px 12px;cursor:pointer;font:inherit;font-size:12px}
.app-topbar-actions .hidden{display:none!important}
@media(max-width:920px){:is(#researchWorkspace,.research-auth-overlay) .composer{bottom:80px}:is(#researchWorkspace,.research-auth-overlay) .sources-panel{bottom:68px} .on-device-badge{display:none!important}}
#backToResearchButton{display:none!important}
@media(max-width:640px){.app-topbar-actions{gap:4px}.app-topbar-actions .button{font-size:10px;padding:7px 6px}.app-topbar-actions #siteReviewButton{max-width:70px}.app-topbar-actions:has(#logoutButton:not(.hidden)) #topAskButton{display:none}}
@media(max-width:920px){:is(#researchWorkspace,.research-auth-overlay) .sources-panel:not(.open){transform:translateY(calc(100% + 100px))}}

:is(#researchWorkspace,.research-auth-overlay) .search-mode-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;padding:14px 16px;border:1px solid #d8e2d6;border-radius:12px;background:#f1f6ed}:is(#researchWorkspace,.research-auth-overlay) .search-mode-bar p{margin:0;font-size:13px;line-height:1.6;color:#405345}:is(#researchWorkspace,.research-auth-overlay) .search-mode-bar button{flex-shrink:0;background:#fff;color:#234d38;border:1px solid #a8bda8;border-radius:9px;padding:10px 12px;font-weight:600;cursor:pointer}:is(#researchWorkspace,.research-auth-overlay) .search-mode-bar button:disabled{opacity:.5;cursor:default}@media(max-width:700px){:is(#researchWorkspace,.research-auth-overlay) .search-mode-bar{flex-direction:column;align-items:stretch}:is(#researchWorkspace,.research-auth-overlay) .research-tabs{flex-wrap:wrap}}

/* Results: a readable outcome, compact checks and progressively disclosed evidence. */
:is(#researchWorkspace,.research-auth-overlay) .result-card{overflow:hidden;border:1px solid #d8e3dc;box-shadow:0 4px 18px rgba(28,57,45,.04)}
:is(#researchWorkspace,.research-auth-overlay) .result-outcome{padding:22px 24px;background:#faf7ed;border-bottom:1px solid #e5ddc6;border-left:4px solid #b98624}
:is(#researchWorkspace,.research-auth-overlay) .result-outcome.outcome-error{background:#fff3f0;border-color:#edc6bf;border-left-color:#b42318}
:is(#researchWorkspace,.research-auth-overlay) .result-outcome.outcome-neutral{background:#f0f5f2;border-color:#d8e3dc;border-left-color:#6a8377}
:is(#researchWorkspace,.research-auth-overlay) .result-eyebrow{font-size:10px;font-weight:750;letter-spacing:.13em;text-transform:uppercase;color:#756344;margin-bottom:8px}
:is(#researchWorkspace,.research-auth-overlay) .result-outcome-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
:is(#researchWorkspace,.research-auth-overlay) .result-outcome h2{margin:0;font-size:25px;font-weight:650;line-height:1.2;letter-spacing:-.025em;color:#43361b}
:is(#researchWorkspace,.research-auth-overlay) .outcome-error h2{color:#862d24}:is(#researchWorkspace,.research-auth-overlay) .outcome-neutral h2{color:#24483b}
:is(#researchWorkspace,.research-auth-overlay) .result-outcome p{font-size:13px;line-height:1.7;margin:10px 0 0;max-width:65ch;color:#514a3b}
:is(#researchWorkspace,.research-auth-overlay) .result-card .answer-body{padding:22px 24px}
:is(#researchWorkspace,.research-auth-overlay) .result-facts{display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;font-size:12px;color:#5b6f63;margin-bottom:22px}
:is(#researchWorkspace,.research-auth-overlay) .result-facts button,:is(#researchWorkspace,.research-auth-overlay) .passage-source-button{border:0;background:transparent;color:#196d5d;font-weight:650;text-decoration:underline;text-underline-offset:3px;padding:6px 2px}
:is(#researchWorkspace,.research-auth-overlay) .result-summary h3,:is(#researchWorkspace,.research-auth-overlay) .exact-block h3,:is(#researchWorkspace,.research-auth-overlay) .product-review h3{font-size:15px;font-weight:700;margin:0 0 8px;color:#214c3d}
:is(#researchWorkspace,.research-auth-overlay) .result-summary{margin:0 0 24px}
:is(#researchWorkspace,.research-auth-overlay) .result-summary .answer-text{font-size:14px;line-height:1.85;overflow-wrap:anywhere}
:is(#researchWorkspace,.research-auth-overlay) .result-hint{font-size:12px;line-height:1.7;color:#61716e;margin:0 0 14px}
:is(#researchWorkspace,.research-auth-overlay) .result-disclosure{border:1px solid #dce5e1;border-radius:10px;margin:10px 0;background:#fff;overflow:hidden}
:is(#researchWorkspace,.research-auth-overlay) .result-disclosure summary{cursor:pointer;display:flex;gap:10px;align-items:flex-start;list-style:none;padding:14px;font-size:13px;font-weight:650;color:#254d3e}
:is(#researchWorkspace,.research-auth-overlay) .result-disclosure summary::-webkit-details-marker{display:none}
:is(#researchWorkspace,.research-auth-overlay) .result-disclosure summary::after{content:'+';font-size:18px;line-height:20px;margin-left:auto;font-weight:500;flex-shrink:0}
:is(#researchWorkspace,.research-auth-overlay) .result-disclosure[open]>summary::after{content:'−'}
:is(#researchWorkspace,.research-auth-overlay) .result-disclosure[open]>summary{background:#f2f6f3;border-bottom:1px solid #dce5e1}
:is(#researchWorkspace,.research-auth-overlay) .result-disclosure summary strong{display:block;font-size:12px;line-height:1.5;font-weight:650}
:is(#researchWorkspace,.research-auth-overlay) .result-disclosure summary small{display:block;font-size:11px;font-weight:400;color:#61716e;margin-top:4px}
:is(#researchWorkspace,.research-auth-overlay) .result-disclosure .source-number{flex-shrink:0;background:#e8f2ec;color:#235b44}
:is(#researchWorkspace,.research-auth-overlay) .result-disclosure .quote-card{margin:14px;padding:16px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:13px;background:#f7f9f6;border-left:3px solid #c1d4c4}
:is(#researchWorkspace,.research-auth-overlay) .result-disclosure .passage-source-button{margin:0 16px 14px;font-size:12px}
:is(#researchWorkspace,.research-auth-overlay) .result-disclosure .observation-card{margin:12px 14px;font-size:12px}
:is(#researchWorkspace,.research-auth-overlay) .product-review{margin:0 0 24px;padding-bottom:24px;border-bottom:1px solid #dce5e1}
:is(#researchWorkspace,.research-auth-overlay) .result-section-head{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:8px}
:is(#researchWorkspace,.research-auth-overlay) .result-section-head h3{margin:0}
:is(#researchWorkspace,.research-auth-overlay) .product-highlights{display:grid;grid-template-columns:1fr 1fr;gap:10px}
:is(#researchWorkspace,.research-auth-overlay) .product-highlight{background:#f7f9f6;border:1px solid #e0e8dd;border-radius:10px;padding:14px}
:is(#researchWorkspace,.research-auth-overlay) .product-highlight h4{font-size:12px;margin:0 0 8px;font-weight:700;color:#325140}
:is(#researchWorkspace,.research-auth-overlay) .product-highlight p{font-size:12px;line-height:1.7;margin:9px 0 0;overflow-wrap:anywhere;color:#506658}
:is(#researchWorkspace,.research-auth-overlay) .product-check-table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}
:is(#researchWorkspace,.research-auth-overlay) .product-check-table th,:is(#researchWorkspace,.research-auth-overlay) .product-check-table td{padding:14px 12px;text-align:left;vertical-align:top;border-bottom:1px solid #e0e8dd;overflow-wrap:anywhere}
:is(#researchWorkspace,.research-auth-overlay) .product-check-table thead th{background:#f2f6f3;color:#3c5b48;font-size:10px;letter-spacing:.05em;text-transform:uppercase}
:is(#researchWorkspace,.research-auth-overlay) .product-check-table thead th:nth-child(1){width:23%}:is(#researchWorkspace,.research-auth-overlay) .product-check-table thead th:nth-child(2){width:25%}
:is(#researchWorkspace,.research-auth-overlay) .product-check-table tbody th{font-weight:650;color:#2b4f3c}
:is(#researchWorkspace,.research-auth-overlay) .product-check-table td p{margin:0;line-height:1.7}
:is(#researchWorkspace,.research-auth-overlay) .product-check-table td small{display:block;color:#66786b;font-size:10px;margin-top:7px;line-height:1.5}
:is(#researchWorkspace,.research-auth-overlay) .product-check-table .status-chip{white-space:normal;text-align:left;line-height:1.6;font-size:10px}
:is(#researchWorkspace,.research-auth-overlay) .complete-view-button{margin-top:8px;font-size:12px;min-height:44px;background:#edf4ed;border-color:#b7cdbb;color:#245a3e}
:is(#researchWorkspace,.research-auth-overlay) .result-card .verification-line{font-size:11px;line-height:1.7;color:#61716e;background:#f7faf7;padding:14px 24px}
:is(#researchWorkspace,.research-auth-overlay) .source-item .source-meta{gap:5px}:is(#researchWorkspace,.research-auth-overlay) .source-item .status-chip{font-size:10px;white-space:normal}
:is(#researchWorkspace,.research-auth-overlay) .source-item .source-title-row p{font-size:11px}
@media(max-width:640px){
 :is(#researchWorkspace,.research-auth-overlay) .result-card .answer-body,:is(#researchWorkspace,.research-auth-overlay) .result-outcome{padding:18px 14px}
 :is(#researchWorkspace,.research-auth-overlay) .result-outcome h2{font-size:22px}
 :is(#researchWorkspace,.research-auth-overlay) .product-highlights{grid-template-columns:1fr}
 :is(#researchWorkspace,.research-auth-overlay) .product-check-table,:is(#researchWorkspace,.research-auth-overlay) .product-check-table tbody,:is(#researchWorkspace,.research-auth-overlay) .product-check-table tr,:is(#researchWorkspace,.research-auth-overlay) .product-check-table th,:is(#researchWorkspace,.research-auth-overlay) .product-check-table td{display:block;width:100%}
 :is(#researchWorkspace,.research-auth-overlay) .product-check-table thead{display:none}
 :is(#researchWorkspace,.research-auth-overlay) .product-check-table tbody th{background:#f5f8f4;border-bottom:0;padding-bottom:4px}
 :is(#researchWorkspace,.research-auth-overlay) .product-check-table td{border-bottom:0;padding-top:6px;padding-bottom:6px}
 :is(#researchWorkspace,.research-auth-overlay) .product-check-table td:last-child{padding-bottom:16px;border-bottom:1px solid #e0e8dd}
 :is(#researchWorkspace,.research-auth-overlay) .product-check-table td::before{content:attr(data-label);display:block;font-size:10px;font-weight:650;color:#63766a;margin-bottom:5px}
 :is(#researchWorkspace,.research-auth-overlay) .result-card .verification-line{padding:14px}
}
:is(#researchWorkspace,.research-auth-overlay) .message.assistant{scroll-margin-top:110px}
@media(max-width:920px){:is(#researchWorkspace,.research-auth-overlay) .message.assistant{scroll-margin-top:94px}}
:is(#researchWorkspace,.research-auth-overlay) .screening-source-link{display:inline-block;margin:12px 0 2px;font-size:12px;color:#196d5d;text-underline-offset:3px}

/* Unified AI Search: two clear categories, same original theme. */
.unified-search-tabs{display:flex;gap:8px;align-items:center;margin:0 0 22px;padding:5px;background:#eef4f1;border:1px solid #d8e4dd;border-radius:12px;width:max-content;max-width:100%}.unified-search-tabs button{padding:10px 30px;border:0;border-radius:8px;background:transparent;color:#31594e;font:600 15px system-ui;cursor:pointer}.unified-search-tabs button[aria-pressed="true"]{background:#fff;box-shadow:0 2px 6px #153b2020;color:#163e32}.search-subnav{padding-left:20px;margin:4px 0 12px;border-left:2px solid #d6e5dc}.sidebar-nav .search-subnav button{font-size:13px;padding:9px 12px}.unified-search-group>button{font-weight:750!important}[hidden]{display:none!important}.hs-input-line .field{flex:1}.hs-input-line textarea{width:100%;min-height:95px;resize:vertical}.hs-input-line small{display:block;color:#697b70;margin-top:7px}.hs-bulk-table .hs-candidate{display:block;white-space:normal;max-width:360px;font-size:12px;margin-top:8px}.hs-bulk-table th small{display:block;font-weight:400}.hs-bulk-table{min-width:1100px}.hs-dashboard textarea:focus,.unified-search-tabs button:focus-visible{outline:3px solid #a0cdb9;outline-offset:2px}#compareSearchButton{display:none!important}@media(max-width:640px){.unified-search-tabs{width:100%}.unified-search-tabs button{flex:1;padding:12px 20px}.hs-input-line{display:flex;flex-wrap:wrap}.hs-input-line .field{flex-basis:100%}}

.sidebar-nav .unified-search-group>button{display:flex!important;align-items:center;justify-content:space-between;white-space:nowrap}.sidebar-nav .search-subnav button{display:block!important;white-space:nowrap}.hs-bulk-table th:first-child{min-width:240px;width:260px}.hs-bulk-table td:nth-child(2){min-width:170px}.hs-bulk-table td:nth-child(3){min-width:140px}.hs-bulk-table td:nth-child(4){min-width:160px}.hs-bulk-table td:nth-child(5){min-width:240px}.hs-bulk-table td:nth-child(n+6){min-width:150px}.hs-bulk-table td,.hs-bulk-table th{vertical-align:top}.hs-bulk-table .hs-status{line-height:1.5}

/* Decision first: a focused trade desk, with evidence one step away. */
#hsdesk .hs-regulatory-bar{padding:0 0 20px;gap:16px;align-items:end;border-bottom:1px solid #e2eae4;margin-bottom:20px}
#hsdesk .hs-regulatory-bar .field{min-width:180px}#hsdesk .hs-regulatory-bar label{display:block;margin-bottom:7px}
#hsdesk .hs-regulatory-bar select{width:100%;font-size:14px}#hsdesk .hs-regulatory-bar>.hs-note{margin-bottom:12px}
#hsdesk .hs-switch{margin-bottom:10px}#hsdesk .hs-switch>span{margin-left:0}
#hsdesk .hs-input-line label{display:block;margin-bottom:8px;font-size:14px;color:#264c3d}#hsdesk .hs-input-line textarea{font-size:15px;line-height:1.6;font-family:inherit;padding:14px;min-height:110px}
#hsdesk .hs-input-line{align-items:center}#hsdesk .hs-input-line small{font-size:12px;line-height:1.6;max-width:75ch}
#hsdesk .hs-verdict{padding:24px;border-radius:12px;border-left:4px solid #bb892e;margin:16px 0 22px;gap:20px}
#hsdesk .hs-verdict-green{background:#f0f7f2;border-color:#c9dfd0;border-left-color:#277a51}#hsdesk .hs-verdict-red{border-left-color:#b73a39}
#hsdesk .hs-verdict h3{font-size:25px;letter-spacing:-.025em;line-height:1.3;margin:8px 0 10px;font-weight:650}
#hsdesk .hs-verdict p{font-size:14px;line-height:1.75;color:#394e43;max-width:75ch}
#hsdesk .hs-verdict>.hs-status{flex-shrink:0;white-space:nowrap;background:#ffffffb0;font-size:10px;font-weight:500}
#hsdesk .hs-verdict small{display:block;color:#617369;font-size:11px;line-height:1.7;margin-top:16px;max-width:75ch}
#hsdesk .hs-next{margin-top:18px;padding-top:16px;border-top:1px solid #23483320;font-size:13px;line-height:1.7}
#hsdesk .hs-next>strong{font-size:11px;text-transform:uppercase;letter-spacing:.07em}#hsdesk .hs-next ol{margin:8px 0 0;padding-left:20px}#hsdesk .hs-next li+li{margin-top:5px}
#hsdesk .hs-item>div{align-items:start;gap:7px}#hsdesk .hs-item>div span{display:block;flex-basis:100%;font-size:14px;line-height:1.6;color:#475f50}
#hsdesk .hs-check-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}
#hsdesk .hs-check-overview article{border:1px solid #dde7e0;border-radius:10px;padding:16px;background:#fff;min-width:0}
#hsdesk .hs-check-overview h4{font-size:12px;margin:0 0 10px;color:#385747;font-weight:650}
#hsdesk .hs-check-overview p{font-size:12px;line-height:1.65;color:#5a6e60;margin:10px 0;overflow-wrap:anywhere}
#hsdesk .hs-check-overview a,#hsdesk .hs-check-overview article>span:not(.hs-status){font-size:11px;color:#23654b;line-height:1.6;overflow-wrap:anywhere}
#hsdesk .hs-status{white-space:normal;line-height:1.6;text-align:left}#hsdesk .hs-back{padding:10px 0;border:0;background:transparent;color:#24654c;font-size:13px;min-height:44px}
#hsdesk .hs-batch-summary{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:24px 0 16px}
#hsdesk .hs-batch-summary h3{font-size:22px;letter-spacing:-.02em;margin:6px 0}#hsdesk .hs-batch-summary p{font-size:13px;color:#617369;margin:0;line-height:1.6}#hsdesk .hs-batch-summary>span{font-size:11px;color:#617369;line-height:1.7;max-width:240px}
#hsdesk .hs-bulk-table{min-width:0;table-layout:fixed;font-size:13px}#hsdesk .hs-bulk-table th,#hsdesk .hs-bulk-table td{min-width:0;width:auto;max-width:none;padding:18px 14px;overflow-wrap:anywhere}
#hsdesk .hs-bulk-table thead th:nth-child(1){width:22%}#hsdesk .hs-bulk-table thead th:nth-child(2){width:24%}#hsdesk .hs-bulk-table thead th:nth-child(3){width:36%}#hsdesk .hs-bulk-table thead th:nth-child(4){width:18%}
#hsdesk .hs-bulk-table tbody th{font-weight:650}#hsdesk .hs-bulk-table tbody tr:hover{background:#f9fbf8}#hsdesk .hs-bulk-table small{font-size:12px;line-height:1.7;margin-top:7px}#hsdesk .hs-bulk-table p{margin:0 0 10px;line-height:1.7;color:#5c6d61}
#hsdesk .hs-row-action{display:block;font-weight:550;font-size:12px;line-height:1.7;color:#2b4b39}#hsdesk .hs-bulk-table button{min-height:44px;text-align:left;font-weight:600}
#hsdesk .hs-bulk-table .hs-candidate{max-width:none;padding:10px;font-size:11px}#hsdesk .hs-selection-next{font-size:14px;line-height:1.7}
#hsdesk .hs-dashboard select:focus-visible,#hsdesk .hs-dashboard input:focus-visible{outline:3px solid #a0cdb9;outline-offset:2px}
@media(max-width:980px){#hsdesk .hs-check-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#hsdesk .hs-regulatory-bar{display:grid;grid-template-columns:1fr 1fr;gap:12px}#hsdesk .hs-regulatory-bar .field{min-width:0}#hsdesk .hs-regulatory-bar>.hs-note{grid-column:1/-1;margin:0}#hsdesk .hs-verdict{padding:18px;display:block}#hsdesk .hs-verdict h3{font-size:23px}#hsdesk .hs-verdict>.hs-status{margin-top:14px}#hsdesk .hs-batch-summary{display:block}#hsdesk .hs-batch-summary>span{display:block;margin-top:10px}#hsdesk .hs-bulk-table,#hsdesk .hs-bulk-table tbody,#hsdesk .hs-bulk-table tr,#hsdesk .hs-bulk-table th,#hsdesk .hs-bulk-table td{display:block;width:100%;box-sizing:border-box}#hsdesk .hs-bulk-table thead{display:none}#hsdesk .hs-bulk-table tr{padding:16px;border-bottom:1px solid #dce6df}#hsdesk .hs-bulk-table td,#hsdesk .hs-bulk-table th{padding:8px 0;border:0}#hsdesk .hs-bulk-table td::before{content:attr(data-label);display:block;font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.06em;color:#65786a;margin-bottom:7px}#hsdesk .hs-bulk-table td:last-child{padding-bottom:0}#hsdesk .hs-check-overview{gap:10px}#hsdesk .hs-check-overview article{padding:12px}}
@media(max-width:430px){#hsdesk .hs-check-overview{grid-template-columns:1fr}#hsdesk .hs-input-line textarea{font-size:16px}}
#hsdesk .hs-decision-branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}#hsdesk .hs-decision-branches article{background:#ffffffb5;border:1px solid #dbdfd3;border-radius:9px;padding:16px}#hsdesk .hs-decision-branches article>strong{display:block;font-size:13px;margin-bottom:9px}#hsdesk .hs-decision-branches p{font-size:12px;line-height:1.7}#hsdesk .hs-decision-branches a{font-size:11px;color:#24654b}@media(max-width:700px){#hsdesk .hs-decision-branches{grid-template-columns:1fr}}

/* Compact results: one answer, with supporting checks on demand. */
:is(#researchWorkspace,.research-auth-overlay) .result-outcome{padding:18px 22px;background:#f5f8f5;border-left:3px solid #1e614b}
:is(#researchWorkspace,.research-auth-overlay) .result-outcome h2{font-size:22px;line-height:1.3;margin:4px 0;font-weight:650}
:is(#researchWorkspace,.research-auth-overlay) .result-outcome p{font-size:13px;line-height:1.6;margin:8px 0 0}
:is(#researchWorkspace,.research-auth-overlay) .result-outcome-head{align-items:start;gap:10px}:is(#researchWorkspace,.research-auth-overlay) .result-outcome .status-chip{font-size:10px}
:is(#researchWorkspace,.research-auth-overlay) .result-facts{font-size:11px;padding:0 0 14px;gap:12px}:is(#researchWorkspace,.research-auth-overlay) .answer-body h3{font-size:15px;margin:0 0 12px}
:is(#researchWorkspace,.research-auth-overlay) .policy-rule-answer{margin-bottom:20px}:is(#researchWorkspace,.research-auth-overlay) .policy-rule-answer article{padding:14px;background:#f7faf8;border:1px solid #dce6df;border-radius:8px;margin:10px 0}
:is(#researchWorkspace,.research-auth-overlay) .policy-rule-answer p{font-size:13px;line-height:1.65;white-space:pre-line;margin:8px 0}:is(#researchWorkspace,.research-auth-overlay) .policy-rule-answer a{font-size:12px;color:#1c6249}
:is(#researchWorkspace,.research-auth-overlay) .result-limits{margin:0 18px 16px}:is(#researchWorkspace,.research-auth-overlay) .result-limits .verification-line{padding:12px;font-size:11px}
#hsdesk .hs-check-disclosure,#hsdesk .hs-matched-provisions{border:1px solid #dce5df;border-radius:9px;margin:10px 0;padding:0 14px;background:#fff}
#hsdesk .hs-check-disclosure>summary,#hsdesk .hs-matched-provisions>summary{padding:14px 0;font-size:13px;font-weight:600;line-height:1.5;cursor:pointer}
#hsdesk .hs-check-disclosure .hs-check-overview{margin:0 0 14px}#hsdesk .hs-condition-field{margin:0;padding:10px 0}#hsdesk .hs-condition-field article>div{display:flex;gap:12px;flex-wrap:wrap}
#hsdesk .hs-verdict{padding:20px;margin:12px 0 16px}#hsdesk .hs-verdict h3{font-size:22px;margin:5px 0 10px}#hsdesk .hs-next{margin-top:14px;padding-top:12px}
#hsdesk .hs-next ol{margin:6px 0}#hsdesk .hs-verdict small{margin-top:10px}#hsdesk .hs-decision-branches{margin-top:12px}
#hsdesk .hs-verdict .hs-decision-branches p{font-size:12px;line-height:1.55;margin:7px 0}#hsdesk .hs-decision-branches article{padding:12px}
@media(max-width:700px){#hsdesk .hs-verdict h3{font-size:20px}#hsdesk .hs-verdict{padding:15px}#hsdesk .hs-dashboard{padding:14px}#hsdesk .hs-item>div span{font-size:12px}#hsdesk .hs-decision-branches{gap:9px}#hsdesk .hs-next{font-size:12px}#hsdesk .hs-verdict>.hs-status{display:none}#hsdesk .hs-bulk-table tr{padding:12px}:is(#researchWorkspace,.research-auth-overlay) .result-outcome{padding:14px}:is(#researchWorkspace,.research-auth-overlay) .result-outcome h2{font-size:20px}:is(#researchWorkspace,.research-auth-overlay) .result-outcome-head{display:block}:is(#researchWorkspace,.research-auth-overlay) .result-outcome .status-chip{margin-top:6px}:is(#researchWorkspace,.research-auth-overlay) .answer-body{padding:14px}:is(#researchWorkspace,.research-auth-overlay) .result-disclosure summary strong{font-size:12px}}

:is(#researchWorkspace,.research-auth-overlay) .policy-rule-answer small{display:block;color:#66766c;font-size:11px;line-height:1.6;margin-top:6px}:is(#researchWorkspace,.research-auth-overlay) .policy-rule-answer>a{display:inline-block;font-size:12px;line-height:1.6}

/* Compact answer-first HS results. */
#hsdesk .hs-compact-verdict{padding:16px 18px;margin:8px 0;border-radius:12px}
#hsdesk .hs-compact-verdict h3{font-size:24px;line-height:1.2;margin:6px 0}
#hsdesk .hs-compact-verdict p{font-size:13px;line-height:1.5;margin:6px 0 0;max-width:72ch}
#hsdesk .hs-compact-verdict .hs-eyebrow{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px}
#hsdesk .hs-eyebrow>span{font-weight:400;color:#64746e}
#hsdesk .hs-answer-branches{display:grid;gap:0;margin-top:8px}
#hsdesk .hs-answer-branches>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #dfe6e1;font-size:13px}
#hsdesk .hs-result-details{border:1px solid #dfe6e1;border-radius:10px;background:#fff;padding:0 14px}
#hsdesk .hs-result-details>summary{padding:12px 0;cursor:pointer;font-size:13px;font-weight:700;color:#245649}
#hsdesk .hs-item{padding:10px 0;margin:0}#hsdesk .hs-item>div>span{font-size:13px;line-height:1.4}
@media(max-width:600px){#hsdesk .hs-compact-verdict{padding:12px}#hsdesk .hs-compact-verdict h3{font-size:21px}#hsdesk .hs-answer-branches>div{align-items:flex-start}#hsdesk .hs-answer-branches .hs-status{white-space:normal;text-align:right;font-size:12px}}

#hsdesk .hs-category-results{margin:8px 0 12px;border:1px solid #dfe6e1;border-radius:10px;padding:3px 12px;background:#fff}
#hsdesk .hs-category-results>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #edf0ee;font-size:12px}
#hsdesk .hs-category-results>div:last-child{border:0}#hsdesk .hs-category-results .hs-status{font-size:11px;text-align:right;white-space:normal;max-width:60%}

/* Source-complete answers: concise labels, readable points, one copy of each quote. */
:is(#researchWorkspace,.research-auth-overlay) .faq-complete-points{margin:22px 0;padding-left:24px;display:grid;gap:22px}:is(#researchWorkspace,.research-auth-overlay) .faq-complete-points li{padding-left:8px}:is(#researchWorkspace,.research-auth-overlay) .faq-complete-points li::marker{font-size:14px;color:#577360;font-weight:650}:is(#researchWorkspace,.research-auth-overlay) .faq-complete-points li>strong{display:block;font-size:16px;line-height:1.5;color:#173f35}:is(#researchWorkspace,.research-auth-overlay) .faq-complete-points .faq-wording{font-size:16px;line-height:1.75;margin:8px 0}:is(#researchWorkspace,.research-auth-overlay) .faq-complete-points a{font-size:13px}:is(#researchWorkspace,.research-auth-overlay) .faq-answer h3{font-size:22px;line-height:1.4}:is(#researchWorkspace,.research-auth-overlay) .faq-answer .faq-scope{font-size:14px;line-height:1.6}:is(#researchWorkspace,.research-auth-overlay) .faq-answer{padding:24px!important}@media(max-width:600px){:is(#researchWorkspace,.research-auth-overlay) .faq-answer{padding:18px!important}:is(#researchWorkspace,.research-auth-overlay) .faq-answer h3{font-size:20px}:is(#researchWorkspace,.research-auth-overlay) .faq-complete-points{padding-left:20px;gap:20px}}

:is(#researchWorkspace,.research-auth-overlay) .faq-choices{padding:20px;border:1px solid #dce5e1;border-radius:9px;margin:20px 0}:is(#researchWorkspace,.research-auth-overlay) .faq-choices button{display:block;width:100%;text-align:left;white-space:normal;margin-top:10px;line-height:1.6;font-size:15px;min-height:44px}

:is(#researchWorkspace,.research-auth-overlay) .source-assessment{padding:20px;border:1px solid #c5d5c6;background:#f2f6ef;border-radius:8px;margin:20px 0}:is(#researchWorkspace,.research-auth-overlay) .source-assessment h3{font-size:18px;line-height:1.4}:is(#researchWorkspace,.research-auth-overlay) .source-assessment p{font-size:15px;line-height:1.7}:is(#researchWorkspace,.research-auth-overlay) .faq-source-warning{padding:14px;background:#fff7e7;border-left:3px solid #a17932;font-size:14px;line-height:1.65}:is(#researchWorkspace,.research-auth-overlay) .faq-summary{font-size:16px;line-height:1.75;color:#294b3b}

:is(#researchWorkspace,.research-auth-overlay) .faq-original-link{display:inline-block;margin-left:16px;font-size:13px}.source-gazette-link{display:inline-block;font-size:13px;margin:10px 0 16px;color:#196d5d;text-decoration:underline;text-underline-offset:3px}

.policy-history{margin:20px 0;border:1px solid #d7e1dd;border-radius:10px;padding:16px}.policy-history summary{font-weight:650;cursor:pointer}.policy-history article{padding:12px 0;border-top:1px solid #e2e7e4}.policy-history h4{font-size:16px;margin:8px 0}.policy-history p{font-size:15px;line-height:1.7}.policy-history>a{display:block;margin-top:10px}


/* Shared advisory grid with integrated action and source links: preserve readable actions on small screens. */
.hs-advisory>.hs-compact-table-wrap>.hs-compact-table>thead>tr>th:first-child{width:18%}.hs-advisory>.hs-compact-table-wrap>.hs-compact-table>thead>tr>th:nth-child(2){width:27%}.hs-advisory>.hs-compact-table-wrap>.hs-compact-table>thead>tr>th:last-child{width:55%}.hs-advisory td,.hs-advisory blockquote{overflow-wrap:anywhere}.hs-advisory details{margin-top:12px}.hs-advisory details article{padding:12px 0;border-bottom:1px solid #dce5e1}.hs-advisory blockquote{white-space:pre-wrap;max-height:380px;overflow:auto}.hs-advisory-conclusion{margin:12px 0 16px}
@media(max-width:700px){.hs-advisory .hs-compact-table tbody td:nth-child(3){grid-column:1/-1}.hs-advisory .hs-compact-table tbody tr{grid-template-columns:34% 66%}.hs-advisory .hs-compact-table tbody th{padding-right:4px}}

/* The native top-layer dialog retains workspace styling across portal navigation. */
.research-auth-overlay{display:contents}

/* The portal uses integrated.css; keep the advisory mobile layout in both entry stylesheets. */
@media(max-width:700px){
.hs-advisory>.hs-compact-table-wrap{width:100%;max-width:100%;overflow-x:visible}
.hs-advisory>.hs-compact-table-wrap>.hs-compact-table{display:block;width:100%;min-width:0;max-width:100%}
.hs-advisory>.hs-compact-table-wrap>.hs-compact-table thead{display:none}
.hs-advisory>.hs-compact-table-wrap>.hs-compact-table tbody{display:block;width:100%}
.hs-advisory>.hs-compact-table-wrap>.hs-compact-table>tbody>tr{display:grid;grid-template-columns:minmax(0,32%) minmax(0,68%);width:100%;border-bottom:1px solid #dce5e1;padding:10px 0}
.hs-advisory>.hs-compact-table-wrap>.hs-compact-table>tbody>tr>th,.hs-advisory>.hs-compact-table-wrap>.hs-compact-table>tbody>tr>td{width:auto!important;min-width:0;max-width:100%;padding:6px 8px;border:0;overflow-wrap:anywhere;box-sizing:border-box}
.hs-advisory>.hs-compact-table-wrap>.hs-compact-table>tbody>tr>td:nth-child(3),.hs-advisory>.hs-compact-table-wrap>.hs-compact-table>tbody>tr>td:last-child{grid-column:1/-1}
.hs-advisory>.hs-compact-table-wrap>.hs-compact-table>tbody>tr>td:nth-child(3):before{content:'Action / authority and sources';display:block;font-size:11px;font-weight:700;color:#52677b;margin-bottom:5px}
.hs-advisory>.hs-compact-table-wrap>.hs-compact-table>tbody>tr>td:last-child:before{content:'Action / authority and sources';display:block;font-size:11px;font-weight:700;color:#52677b;margin-bottom:5px}
.hs-advisory .hs-status{max-width:100%;white-space:normal;font-size:13px!important;box-sizing:border-box}
}

/* Consolidated grid rows span the content area on narrow screens. */
@media(max-width:700px){
.hs-advisory>.hs-compact-table-wrap>.hs-compact-table>tbody>tr>td[colspan="2"]{grid-column:1/-1}
.hs-advisory>.hs-compact-table-wrap>.hs-compact-table>tbody>tr>td[colspan="2"]:before{content:none}
.hs-advisory>.hs-compact-table-wrap>.hs-compact-table>tbody>tr>th:has(+td[colspan="2"]){grid-column:1/-1}
.hs-advisory [data-land-port-scope] table{min-width:480px}
.hs-advisory [data-land-port-scope] .hs-compact-table-wrap{overflow-x:auto;max-width:100%}
}


/* Bulk HS triage: tariff/classification identity only (never import clearance). */
#hsdesk .hs-batch-legend{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0 17px}
#hsdesk .hs-batch-legend span{display:inline-flex;align-items:center;border:1px solid;border-radius:8px;padding:8px 12px;font-size:12px;line-height:1.45;font-weight:750}
#hsdesk .hs-batch-legend-attention{background:#fff0ee;border-color:#eaa6a0!important;color:#a32119}
#hsdesk .hs-batch-legend-matched{background:#e9f7ef;border-color:#9cd4b5!important;color:#17633e}
#hsdesk .hs-batch-table .hs-batch-group-heading th{padding:13px 15px;text-align:left;font-size:13px;font-weight:800;line-height:1.45;border-bottom:2px solid}
#hsdesk .hs-batch-table .hs-batch-group-heading th small{display:block;margin-top:4px;font-size:11px;font-weight:500;line-height:1.5}
#hsdesk .hs-batch-table .hs-batch-group-attention .hs-batch-group-heading th{color:#93251f;background:#ffe5e2;border-bottom-color:#db7e77}
#hsdesk .hs-batch-table .hs-batch-group-matched .hs-batch-group-heading th{color:#17633e;background:#def2e6;border-bottom-color:#67b68a}
#hsdesk .hs-batch-table .hs-batch-result.hs-batch-attention{background:#fff6f5}
#hsdesk .hs-batch-table .hs-batch-result.hs-batch-matched{background:#f0faf4}
#hsdesk .hs-batch-table .hs-batch-result.hs-batch-attention:hover{background:#ffebe8}
#hsdesk .hs-batch-table .hs-batch-result.hs-batch-matched:hover{background:#e5f5eb}
#hsdesk .hs-batch-table .hs-batch-result>th:first-child{border-left:4px solid transparent}
#hsdesk .hs-batch-table .hs-batch-result.hs-batch-attention>th:first-child{border-left-color:#bf352d}
#hsdesk .hs-batch-table .hs-batch-result.hs-batch-matched>th:first-child{border-left-color:#278355}
#hsdesk .hs-batch-table .hs-batch-match-label{display:inline-block;border-radius:7px;border:1px solid;padding:6px 8px;font-size:12px;font-weight:750;line-height:1.4}
#hsdesk .hs-batch-table .hs-batch-match-attention{background:#ffe4e1;border-color:#eaa5a0;color:#a32119}
#hsdesk .hs-batch-table .hs-batch-match-matched{background:#dff2e7;border-color:#9cd4b5;color:#17633e}
@media(max-width:700px){
 #hsdesk .hs-batch-table .hs-batch-group-heading th{display:block;width:100%;white-space:normal}
 #hsdesk .hs-batch-table .hs-batch-result.hs-batch-attention>th:first-child,
 #hsdesk .hs-batch-table .hs-batch-result.hs-batch-matched>th:first-child{padding-left:10px}
}
