.ia-app, .ia-app * { letter-spacing: 0 !important; }
[hidden] { display: none !important; }
.ia-app { font-size: 13px; }
.ia-app svg { width: 18px; height: 18px; flex-shrink: 0; stroke-width: 1.65; }
.ia-app button, .ia-app a, .ia-app input, .ia-app select, .ia-app textarea { -webkit-tap-highlight-color: transparent; }
.ia-app :focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.ia-app button:disabled { opacity: .4; cursor: not-allowed; }
.ia-app .sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 200; background: var(--gold-bright); color: var(--ink); padding: 12px; }
.ia-app .portal-body { grid-template-columns: 244px minmax(0,1fr); }
.ia-app .portal-sidebar { grid-template-rows: auto 1fr auto; box-shadow: none; z-index: 40; }
.ia-app .portal-brand { padding: 22px 18px; gap: 10px; min-height: 88px; }
.ia-app .portal-brand strong { font-size: 19px; }
.ia-app .portal-brand small { font-size: 10px; font-weight: 600; }
.ia-app .portal-brand img { width: 42px; height: 42px; filter: none; }
.ia-app .portal-nav { padding: 22px 12px; gap: 4px; }
.ia-app .portal-nav .nav-group { min-height: 34px; padding: 12px 11px; border: 0; color: var(--muted); font-size: 10px; }
.ia-app .portal-nav .nav-group:not(:first-child) { margin-top: 24px; }
.nav-item { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 43px; padding: 9px 11px; text-align: left; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 3px; }
.ia-app .portal-nav .nav-item span { padding: 0; min-height: 0; display: block; flex: 1; color: inherit; border: 0; font-family: inherit; font-size: 12px; font-weight: 500; line-height: 1.4; text-transform: none; }
.nav-item b { min-width: 20px; font-size: 11px; font-weight: 500; text-align: right; color: var(--muted); }
.nav-item:hover { background: var(--panel); color: var(--text); }
.nav-item.active { background: rgba(184,111,42,.14); border-color: rgba(241,173,69,.2); color: var(--gold-bright); }
.nav-item.active b { color: var(--gold-bright); }
.sidebar-footer { padding: 14px 22px 22px; border-top: 1px solid var(--line); }
.sidebar-footer>a { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; padding: 8px 0 22px; }
.sidebar-footer>a:hover { color: var(--gold-bright); }
.identity { display: flex; align-items: center; gap: 11px; min-width: 0; }
.identity>div { min-width: 0; display: grid; gap: 3px; }
.identity strong { font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.identity small { color: var(--muted); font-size: 10px; }
.identity-monogram { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; color: var(--gold-bright); background: var(--panel-light); border: 1px solid var(--line); border-radius: 50%; font: 600 11px/1 sans-serif; }
.identity-monogram img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ia-app .portal-main { background: var(--ink); }
.ia-app .portal-topbar { padding: 0 30px; min-height: 64px; gap: 14px; box-shadow: none; }
.ia-app .portal-topbar>.breadcrumb { display: flex; justify-items: start; margin-right: auto; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; }
.breadcrumb strong { color: var(--text); font-weight: 500; }
.breadcrumb svg { width: 12px; height: 12px; }
.restricted { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; border-right: 1px solid var(--line); padding-right: 19px; }
.restricted svg { width: 13px; height: 13px; }
.sample-label { color: var(--gold-bright); background: rgba(241,173,69,.08); border: 1px solid var(--gold-dark); padding: 4px 7px; font-size: 10px; white-space: nowrap; }
.ia-app #demo-profile { font-size: 10px; min-height: 28px; max-width: 126px; padding: 3px 6px; }
.icon-button { display: inline-grid; place-items: center; width: 32px; height: 32px; min-width: 32px; flex-shrink: 0; padding: 0; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 3px; }
.icon-button:hover { color: var(--gold-bright); background: rgba(241,173,69,.05); border-color: var(--line); }
.icon-button.disabled { pointer-events: none; opacity: .3; }
.icon-button.danger-icon { color: var(--danger); }
.mobile-menu { display: none; }
.mobile-logo { display: none; }
.ia-app .portal-content { padding: 28px 30px 18px; gap: 24px; }
.ia-app .page-heading { align-items: center; margin: 4px 0 1px; }
.ia-app .page-heading h1 { font-size: 38px; line-height: 1.15; }
.eyebrow { margin: 0 0 9px; color: var(--gold); font-size: 10px; text-transform: uppercase; font-weight: 600; }
.heading-meta { display: grid; justify-items: end; gap: 8px; color: var(--muted); font-size: 11px; }
.heading-meta small { display: flex; align-items: center; gap: 6px; color: var(--success); font-size: 10px; }
.heading-meta svg { width: 12px; height: 12px; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-block: 1px solid var(--line); }
.metric { background: transparent; border: 0; text-align: left; padding: 19px 22px; color: var(--text); }
.metric:first-child { padding-left: 0; }
.metric:not(:last-child) { border-right: 1px solid var(--line); }
.metric>span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.metric svg { width: 14px; height: 14px; }
.metric strong { display: block; margin-top: 8px; font-family: Georgia,serif; font-weight: 400; font-size: 32px; line-height: 1.1; }
.metric[data-status=pending] strong { color: var(--gold-bright); }
.metric[data-status=investigating] strong { color: #90bdb0; }
.metric[data-status=escalated] strong { color: #e59b91; }
.metric:hover>span { color: var(--gold-bright); }
.register { min-width: 0; }
.register-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 17px; }
.register-heading h2 { font-size: 17px; font-weight: 600; margin: 0; }
.register-heading>span { color: var(--muted); font-size: 11px; }
.status-tabs, .detail-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.status-tabs button, .detail-tabs button { flex-shrink: 0; min-height: 40px; padding: 8px 0 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 12px; }
.status-tabs button[aria-selected=true], .detail-tabs button[aria-selected=true] { color: var(--gold-bright); border-bottom-color: var(--gold-bright); }
.filters { display: grid; grid-template-columns: minmax(140px,1fr) 205px auto 32px; align-items: center; gap: 14px; padding: 16px 0; }
.search-field { display: flex; align-items: center; gap: 9px; padding-left: 11px; border: 1px solid var(--line); background: var(--ink-soft); }
.search-field svg { width: 15px; height: 15px; color: var(--muted); }
.ia-app input:not([type=checkbox]), .ia-app select, .ia-app textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 2px; background: var(--ink-soft); color: var(--text); font-size: 12px; min-height: 36px; padding: 8px 11px; }
.ia-app .search-field input { border: 0; background: transparent; padding-left: 0; }
.ia-app input::placeholder { color: var(--muted); opacity: .8; }
.mine-filter { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); white-space: nowrap; }
.ia-app input[type=checkbox] { accent-color: var(--gold-bright); width: 14px; height: 14px; }
.register-workspace { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; min-width: 0; border-top: 1px solid var(--line); }
.register-workspace.detail-open { grid-template-columns: minmax(0,1fr) 420px; }
.case-list { min-width: 0; }
.ia-app .table-wrap { border: 0; overflow: auto; }
.ia-app .case-table { min-width: 0; width: 100%; table-layout: fixed; }
.ia-app .case-table th { padding: 13px 10px; background: rgba(241,173,69,.025); color: var(--muted); font-size: 9px; font-weight: 600; }
.ia-app .case-table td { height: 78px; padding: 13px 10px; font-size: 11px; color: var(--muted); border-color: var(--line); }
.case-table th:first-child { width: 33%; }
.case-table .type-col { width: 12%; }
.case-table th:nth-child(3) { width: 14%; }
.case-table .assigned-col { width: 14%; }
.case-table .date-col { width: 12%; }
.case-table .delivery-col { width: 10%; }
.case-table .arrow-col { width: 5%; }
.ia-app .case-table .case-id { color: var(--gold-bright); font-size: 10px; background: transparent; border: 0; padding: 0; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; margin-bottom: 5px; }
.ia-app .case-table strong { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-table tbody tr { cursor: pointer; transition: background .15s; }
.case-table tbody tr:hover, .case-table tbody tr.selected { background: rgba(241,173,69,.045); }
.case-table tbody tr.selected { box-shadow: inset 2px 0 var(--gold-bright); }
.case-table .case-type { color: #afc2b8; font-size: 10px; }
.ia-app .status-pill { display: inline-flex; min-height: 22px; padding: 3px 7px; font-size: 9px; text-transform: none; font-weight: 500; line-height: 1.3; white-space: nowrap; background: rgba(241,173,69,.06); border-color: rgba(241,173,69,.2); border-radius: 2px; color: var(--gold-bright); }
.ia-app .status-pill.investigating { color: #9dc9be; border-color: rgba(111,169,151,.3); background: rgba(111,169,151,.07); }
.ia-app .status-pill.escalated { color: #eda39b; border-color: rgba(208,105,97,.3); background: rgba(208,105,97,.08); }
.ia-app .status-pill.closed { color: #aaaeb0; border-color: rgba(160,170,175,.22); background: rgba(160,170,175,.04); }
.delivery-cell { display: flex; align-items: center; gap: 5px; color: var(--success); font-size: 10px; }
.delivery-cell svg { width: 12px; height: 12px; }
.delivery-cell.pending { color: var(--gold-bright); }
.mono { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 10px; overflow-wrap: anywhere; }
.assigned-cell { overflow-wrap: anywhere; }
.detail-open .type-col, .detail-open .assigned-col, .detail-open .date-col { display: none; }
.detail-open .case-table th:first-child { width: 58%; }
.detail-open .case-table th:nth-child(3) { width: 24%; }
.detail-open .case-table .delivery-col { width: 13%; }
.detail-open .delivery-cell span { display: none; }
.pagination { display: flex; align-items: center; justify-content: space-between; padding: 14px 7px; gap: 12px; color: var(--muted); font-size: 10px; }
.pagination>div { display: flex; gap: 6px; }
.pagination .icon-button { border-color: var(--line); width: 28px; min-width: 28px; height: 28px; }
.empty-state { padding: 48px 16px; display: grid; justify-items: center; text-align: center; gap: 12px; }
.empty-state>svg { width: 32px; height: 32px; opacity: .6; }
.empty-state h3 { margin: 4px 0; font-size: 14px; font-weight: 500; }
.case-detail { background: var(--ink-soft); border-left: 1px solid var(--line); min-width: 0; position: sticky; top: 12px; max-height: calc(100svh - 24px); display: flex; flex-direction: column; }
.detail-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 15px; border-bottom: 1px solid var(--line); }
.detail-top>div { display: flex; align-items: center; gap: 8px; color: var(--gold-bright); font: 500 11px ui-monospace,Consolas,monospace; }
.detail-top svg { width: 15px; height: 15px; }
.detail-title { padding: 20px 21px 10px; }
.detail-tags { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 10px; }
.detail-title h2 { font: 400 25px/1.22 Georgia,serif; margin: 13px 0 10px; overflow-wrap: anywhere; }
.detail-title>span { font-size: 10px; color: var(--muted); }
.detail-tools { display: flex; align-items: center; gap: 7px; padding: 5px 17px 14px; }
.detail-tools .icon-button { border-color: var(--line); }
.ia-app .detail-tools select { margin-left: auto; width: 133px; font-size: 11px; min-height: 32px; padding: 5px 7px; }
.detail-tabs { padding: 0 21px; gap: 24px; }
.detail-tabs button { font-size: 11px; min-height: 37px; }
.detail-scroll { overflow-y: auto; min-height: 0; scrollbar-width: thin; scrollbar-color: var(--gold-dark) transparent; }
.case-section { padding: 20px 21px; border-bottom: 1px solid var(--line); }
.case-section h3 { color: var(--muted); font-size: 10px; font-weight: 600; text-transform: uppercase; margin: 0 0 12px; }
.case-prose { margin: 0; color: var(--text); font-size: 12px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.people-list { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 15px 10px; margin: 0; font-size: 11px; }
.people-list dt { color: var(--muted); }
.people-list dd { margin: 0; overflow-wrap: anywhere; display: flex; gap: 5px; align-items: center; justify-content: space-between; }
.people-list dd small { color: var(--muted); font-size: 9px; }
.evidence-list { display: grid; gap: 9px; color: var(--muted); font-size: 11px; }
.evidence-list a { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--gold-bright); overflow-wrap: anywhere; }
.evidence-list a span { flex: 1; min-width: 0; }
.evidence-list a svg { width: 14px; height: 14px; }
.original-responses summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 11px; color: var(--muted); list-style: none; }
.original-responses summary::-webkit-details-marker { display: none; }
.original-responses summary svg { width: 14px; height: 14px; }
.original-responses[open] summary svg { transform: rotate(180deg); }
.original-responses #detail-answers { display: grid; gap: 17px; padding-top: 18px; }
.original-responses strong { font-size: 11px; font-weight: 500; }
.original-responses p { font-size: 11px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); margin: 5px 0 0; }
.delivery-detail>span { display: flex; align-items: center; gap: 8px; color: var(--success); font-size: 10px; }
.delivery-detail>span.pending { color: var(--gold-bright); }
.delivery-detail svg { width: 13px; height: 13px; }
.access-role { display: flex; align-items: center; gap: 10px; padding: 11px 0; font-size: 11px; }
.access-role>svg:first-child { color: var(--gold); width: 15px; height: 15px; }
.access-role>svg:last-child { color: var(--success); width: 14px; height: 14px; margin-left: auto; }
.section-heading-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 10px; }
.section-heading-row h3 { margin: 0; }
.excluded-member { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.excluded-member>svg { color: var(--danger); width: 15px; height: 15px; }
.excluded-member>div { flex: 1; min-width: 0; display: grid; gap: 3px; font-size: 11px; }
.excluded-member small { color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }
.muted { color: var(--muted); font-size: 11px; }
.activity-timeline { list-style: none; margin: 0; padding: 0; }
.activity-timeline li { padding: 0 0 20px 20px; border-left: 1px solid var(--line); position: relative; }
.activity-timeline li::before { content: ''; position: absolute; top: 5px; left: -4px; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.activity-timeline strong { font-size: 11px; font-weight: 500; }
.activity-timeline p { margin: 5px 0 7px; font-size: 11px; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.activity-timeline small { color: var(--muted); font-size: 9px; }
.notice { display: flex; align-items: center; gap: 11px; padding: 9px 12px; color: var(--gold-bright); border: 1px solid var(--gold-dark); background: rgba(241,173,69,.05); font-size: 11px; }
.notice.error { color: var(--danger); border-color: rgba(255,130,118,.3); }
.notice>span { flex: 1; overflow-wrap: anywhere; }
.notice>svg { width: 15px; height: 15px; }
.workspace-footer { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; border-top: 1px solid var(--line); padding-top: 16px; gap: 10px; }
.workspace-footer>span:first-child { display: flex; align-items: center; gap: 6px; }
.workspace-footer svg { width: 12px; height: 12px; }
.ia-app .gold-button, .ia-app .ghost-button { border-radius: 2px; min-height: 36px; padding: 8px 13px; gap: 8px; font-size: 10px; text-transform: none; font-weight: 600; }
.ia-app dialog { width: min(440px,calc(100% - 32px)); padding: 25px; border: 1px solid var(--gold-dark); border-radius: 4px; background: var(--panel); color: var(--text); box-shadow: 0 20px 70px rgba(0,0,0,.5); }
.ia-app dialog::backdrop { background: rgba(0,0,0,.7); }
.ia-app dialog form { gap: 18px; }
.ia-app dialog header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ia-app dialog h2 { font: 400 26px/1.2 Georgia,serif; margin: 0; }
.ia-app dialog label>span { color: var(--muted); font-size: 11px; font-weight: 500; }
.ia-app dialog textarea { padding: 11px; resize: vertical; min-height: 110px; }
.ia-app dialog footer { display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.member-input { display: grid; grid-template-columns: 1fr 36px; gap: 5px; align-items: center; }
.member-input .icon-button { border-color: var(--line); width: 36px; height: 36px; }
#member-name { color: var(--gold-bright); font-size: 11px; overflow-wrap: anywhere; min-height: 14px; }
.dialog-error { color: var(--danger); font-size: 11px; line-height: 1.6; margin: 0; }
.sign-in { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; background: var(--ink); }
.ia-app .sign-in .auth-brand { margin-bottom: 40px; }
.ia-app .sign-in .auth-brand strong { font-size: 22px; }
.sign-in-content { width: min(100%,390px); border-block: 1px solid var(--line); padding: 35px 0; text-align: center; }
.ia-app .sign-in-shield { width: 32px; height: 32px; color: var(--gold); margin-bottom: 17px; }
.sign-in h1 { font: 400 36px/1.2 Georgia,serif; margin: 12px 0 16px; }
.sign-in-state { color: var(--muted); font-size: 12px; margin: 0 0 20px; }
.sign-in .gold-button { min-height: 44px; font-size: 12px; padding-inline: 22px; }
.sign-in-return { display: flex; gap: 4px; align-items: center; justify-content: center; margin-top: 22px; color: var(--muted); font-size: 11px; }
.sign-in-return svg { width: 13px; height: 13px; }
.initial-loading { position: fixed; inset: 0; display: flex; justify-content: center; align-items: center; gap: 12px; background: var(--ink); color: var(--gold-bright); }
.spinning { animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sidebar-scrim { display: none; }
@media (min-width: 1550px) { .register-workspace.detail-open { grid-template-columns: minmax(0,1fr) 450px; } .detail-open .type-col { display: table-cell; } .detail-open .case-table th:first-child { width: 45%; } .detail-open .case-table .type-col { width: 18%; } }
@media (max-width: 1180px) { .ia-app .portal-body { grid-template-columns: 220px minmax(0,1fr); } .ia-app .portal-content { padding: 24px 22px 18px; } .ia-app .portal-brand strong { font-size: 17px; } .filters { grid-template-columns: minmax(120px,1fr) 180px 32px; gap: 10px; } .mine-filter { grid-row: 2; } #clear-filters { grid-column: 3; grid-row: 1; } .assigned-col { display: none; } .case-table th:first-child { width: 39%; } .register-workspace.detail-open { grid-template-columns: minmax(0,1fr) 380px; } .detail-open .delivery-col { display: none; } .detail-open .case-table th:first-child { width: 66%; } .detail-open .case-table th:nth-child(3) { width: 28%; } }
@media (max-width: 960px) { .ia-app .portal-body { grid-template-columns: 1fr; } .ia-app .portal-sidebar { position: fixed; top: 0; left: 0; width: 244px; transform: translateX(-100%); transition: transform .2s; z-index: 100; } .ia-app.nav-open .portal-sidebar { transform: translateX(0); } .sidebar-scrim:not([hidden]) { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 90; border: 0; } .mobile-menu { display: grid; } .ia-app .portal-topbar { padding: 0 20px; } .register-workspace.detail-open { grid-template-columns: minmax(0,1fr) 410px; } .heading-meta { font-size: 10px; } }
@media (max-width: 680px) { .ia-app .portal-content { padding: 22px 16px 16px; gap: 22px; } .ia-app .portal-topbar { padding: 0 12px; gap: 7px; min-height: 58px; } .breadcrumb>span, .breadcrumb>svg, .restricted, #demo-profile { display: none; } .breadcrumb strong { font-size: 10px; } .sample-label { font-size: 8px; padding: 3px 5px; } .ia-app .page-heading h1 { font-size: 31px; } .heading-meta { display: none; } .eyebrow { font-size: 9px; } .metric { padding: 16px 12px; } .metric:first-child { padding-left: 0; } .metric>span { font-size: 9px; gap: 5px; } .metric>span svg { display: none; } .metric strong { font-size: 28px; } .register-heading h2 { font-size: 15px; } .status-tabs { gap: 19px; } .status-tabs button { font-size: 10px; } .filters { grid-template-columns: minmax(100px,1fr) 143px 28px; gap: 8px; } .ia-app .filters input, .ia-app .filters select { font-size: 10px; padding-inline: 8px; } .search-field { padding-left: 8px; gap: 6px; } .mine-filter { font-size: 10px; } .type-col, .date-col, .assigned-col, .delivery-col { display: none; } .case-table th:first-child { width: 69%; } .case-table th:nth-child(3) { width: 25%; } .case-table .arrow-col { width: 6%; } .ia-app .case-table th { padding-inline: 7px; font-size: 8px; } .ia-app .case-table td { padding-inline: 7px; height: 72px; } .ia-app .case-table strong { font-size: 11px; } .ia-app .case-table .case-id { font-size: 9px; } .register-workspace.detail-open { grid-template-columns: 1fr; } .case-detail { position: fixed; inset: 0; top: 0; z-index: 80; max-height: 100svh; border: 0; } .detail-scroll { flex: 1; } .detail-open .case-table th:first-child { width: 69%; } .detail-open .case-table th:nth-child(3) { width: 25%; } .workspace-footer { font-size: 8px; } .ia-app dialog { padding: 20px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 680px) {
  .breadcrumb { min-width: 0; }
  .mobile-logo { display: block; width: 21px; height: 21px; object-fit: contain; }
  .ia-app .portal-topbar>.breadcrumb { gap: 7px; }
  .ia-app #demo-profile:not([hidden]) { display: block; width: 84px; max-width: 84px; font-size: 9px; }
  .sample-label { display: none; }
}
