@charset "UTF-8";
:root {
  --bg: #f6f8f7; --surface: #fff; --ink: #22382f; --body: #394e45; --muted: #7a8981;
  --line: #e6ebe7; --line-strong: #d6ded8; --green: #146b59; --green-hover: #0b5748;
  --green-soft: #eaf4ef; --red: #b6493c; --red-soft: #fbefec; --amber: #a46b24;
  --amber-soft: #fcf5e9; --blue: #526fa2; --blue-soft: #eef3fb; --radius: 13px;
  --risk-high: #b42318; --risk-high-soft: #fef3f2;
  --risk-medium: #facc15; --risk-medium-ink: #713f12; --risk-medium-soft: #fef9c3;
  --risk-low: #15803d; --risk-low-soft: #f0fdf4;
  --font: "Inter", "Segoe UI", "Yu Gothic UI", "Meiryo", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.65 var(--font); color: var(--body); background: var(--bg); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button { border: 0; background: none; }
button:disabled { cursor: not-allowed; opacity: .44; }
a { color: var(--green); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #6ab7a0; outline-offset: 3px; }
button, input, select, textarea { transition: background .15s ease, border-color .15s ease, box-shadow .15s ease; }
input, select, textarea { color: var(--ink); min-width: 0; }
h1, h2, h3, p { margin: 0; }
svg.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 224px; background: #fff; border-right: 1px solid var(--line); padding: 26px 16px 18px; display: flex; flex-direction: column; z-index: 30; }
.brand { display: flex; align-items: center; gap: 11px; padding: 2px 11px 27px; }
.brand-symbol { background: var(--green); color: #fff; width: 35px; height: 39px; border-radius: 10px 10px 12px 3px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px #ffffff12; }
.brand-symbol svg { width: 22px; height: 22px; }
.brand-name { font-size: 22px; font-weight: 700; letter-spacing: -.6px; color: #243e33; line-height: 1.15; }
.brand-caption { font-size: 9px; letter-spacing: 2.1px; color: var(--muted); margin-top: 5px; }
.workspace-select { border: 1px solid var(--line); background: #fcfdfc; border-radius: 9px; width: 100%; display: flex; align-items: center; gap: 9px; padding: 11px 10px; margin-bottom: 31px; font-size: 12px; font-weight: 600; text-align: left; }
.workspace-select > span:nth-child(2) { flex: 1; }
.workspace-icon { width: 27px; height: 27px; border-radius: 7px; background: #eef2ef; display: grid; place-items: center; color: #607b6b; }
.workspace-icon svg { width: 16px; height: 16px; }
.nav-label { font-size: 10px; color: #89968e; letter-spacing: 1px; padding: 0 13px; margin: 0 0 8px; font-weight: 600; }
.nav-label.second { margin-top: 28px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 8px; color: #68776e; font-size: 13px; text-align: left; margin-bottom: 3px; }
.nav-item:hover { background: #f5f7f5; color: var(--ink); }
.nav-item.active { background: var(--green-soft); color: var(--green); font-weight: 650; }
.nav-count { margin-left: auto; border-radius: 5px; font-size: 10px; min-width: 20px; height: 20px; background: #e4ece6; color: #6f8275; display: grid; place-items: center; }
.nav-item.active .nav-count { background: #d5e9de; color: var(--green); }
.sidebar-spacer { flex: 1; min-height: 60px; }
.demo-note { margin: 20px 8px 22px; padding: 13px 12px; border-radius: 9px; background: #f7f9f6; border: 1px solid #edf1eb; font-size: 10px; color: #859082; }
.demo-note .demo-title { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #536950; margin-bottom: 4px; font-weight: 600; }
.demo-note svg { width: 14px; height: 14px; }
.profile { border-top: 1px solid var(--line); padding: 18px 5px 0; width: 100%; display: flex; gap: 10px; align-items: center; text-align: left; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: #eaf0e5; color: #647853; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex: none; }
.avatar.small { width: 25px; height: 25px; font-size: 9px; }
.avatar.blue { background: #eaf0f5; color: #658298; }
.avatar.peach { background: #f5eee6; color: #9f8468; }
.profile-text { flex: 1; font-size: 12px; line-height: 1.6; }
.profile-text small { color: var(--muted); font-size: 10px; display: block; }
.main-shell { margin-left: 224px; }
.topbar { height: 73px; border-bottom: 1px solid var(--line); background: #ffffffd9; display: flex; align-items: center; justify-content: space-between; padding: 0 36px; gap: 16px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #829085; white-space: nowrap; }
.breadcrumb button { font-size: 12px; padding: 0; }
.breadcrumb .current { color: #34493c; font-weight: 550; }
.breadcrumb svg { width: 12px; height: 12px; }
.top-actions { display: flex; align-items: center; gap: 11px; }
.search-trigger { border: 1px solid var(--line); background: #f9fbf9; display: flex; align-items: center; gap: 9px; padding: 7px 11px; border-radius: 7px; width: 233px; color: #95a095; font-size: 11px; }
.search-trigger .icon { width: 15px; height: 15px; }
kbd { font: 10px var(--font); border: 1px solid #e0e7e1; border-radius: 4px; padding: 1px 4px; color: #94a094; background: white; }
.search-trigger kbd { margin-left: auto; }
.icon-button { width: 35px; height: 35px; border-radius: 7px; display: inline-grid; place-items: center; position: relative; color: #7c8c80; flex: none; }
.icon-button:hover { background: #edf2ee; }
.notification-dot { position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; border: 1px solid white; background: var(--amber); border-radius: 50%; }
.top-avatar { margin-left: 4px; }
.mobile-menu { display: none; }
.page { max-width: 1570px; margin: 0 auto; padding: 35px 36px 42px; animation: fade-in .22s ease; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.eyebrow { color: #88958b; font-size: 10px; font-weight: 550; letter-spacing: 1.6px; margin-bottom: 4px; }
h1 { color: #263d30; font-size: 27px; font-weight: 650; letter-spacing: -.6px; line-height: 1.45; }
.subtitle { color: #859187; margin-top: 7px; font-size: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border-radius: 8px; border: 1px solid var(--line-strong); background: #fff; padding: 10px 16px; font-size: 12px; font-weight: 600; color: #516658; line-height: 1.55; white-space: nowrap; }
.button:hover { border-color: #bbcfc2; background: #f8faf8; }
.button.primary { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 2px 3px #146b5914; }
.button.primary:hover { background: var(--green-hover); border-color: var(--green-hover); }
.button.soft { background: var(--green-soft); border-color: #d7e8dd; color: var(--green); }
.button.danger { color: var(--red); background: #fff7f5; border-color: #f2d6d0; }
.button.small { font-size: 11px; padding: 7px 11px; border-radius: 6px; }
.button .icon { width: 16px; height: 16px; }
.text-button { display: inline-flex; align-items: center; gap: 5px; padding: 3px 0; font-size: 11px; font-weight: 600; color: var(--green); }
.text-button .icon { width: 13px; height: 13px; }
.text-button:hover { text-decoration: underline; }
.metrics { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 11px; background: #fff; padding: 21px 0 19px; margin-bottom: 27px; }
.metric { text-align: left; padding: 0 26px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric:hover .metric-label { color: var(--green); }
.metric-label { display: flex; align-items: center; gap: 7px; color: #7d8b81; font-size: 11px; }
.metric-label .icon { width: 14px; height: 14px; color: #98a59c; }
.metric-value { display: flex; align-items: baseline; gap: 7px; margin-top: 8px; }
.metric-value strong { font-size: 29px; line-height: 1.2; color: #284535; font-weight: 600; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.metric-value span { font-size: 10px; color: #97a194; }
.metric-value .metric-caption { margin-left: auto; font-size: 10px; color: #8c988e; }
.metric.alert strong { color: var(--amber); }
.attention { margin-bottom: 29px; }
.section-intro { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.section-title { font-size: 12px; font-weight: 600; color: #4a5d4e; display: flex; align-items: center; gap: 8px; }
.section-title .icon { color: #8da28e; width: 16px; height: 16px; }
.attention-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.attention-card { width: 100%; text-align: left; padding: 17px 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; gap: 13px; }
.attention-card:hover { border-color: #bfd5c8; transform: translateY(-1px); box-shadow: 0 3px 10px #254c3410; }
.attention-icon { display: grid; place-items: center; width: 37px; height: 39px; border-radius: 9px; flex: none; color: var(--amber); background: var(--amber-soft); }
.attention-icon.red { color: var(--red); background: var(--red-soft); }
.attention-card h3 { font-size: 12px; font-weight: 600; color: #3e5042; margin-top: 4px; }
.attention-card p { font-size: 10px; color: #929b92; margin-top: 4px; }
.attention-card > .icon { margin-left: auto; color: #99aa9b; width: 16px; height: 16px; }
.overline { color: var(--amber); font-size: 10px; font-weight: 600; }
.overline.red { color: var(--red); }
.case-panel { background: #fff; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 19px; border-bottom: 1px solid var(--line); min-height: 63px; }
.tabs { display: flex; align-items: center; gap: 22px; align-self: stretch; }
.tab { display: flex; align-items: center; gap: 6px; border-bottom: 2px solid transparent; color: #8b968b; font-size: 11px; font-weight: 550; padding: 18px 0 16px; position: relative; white-space: nowrap; }
.tab.active { color: var(--green); border-bottom-color: var(--green); }
.tab-count { font-size: 9px; background: #f1f4f0; color: #8a9689; border-radius: 4px; padding: 0 5px; font-weight: 500; }
.tab.active .tab-count { background: #e8f2eb; color: var(--green); }
.list-controls { display: flex; gap: 8px; align-items: center; }
.inline-search { border: 1px solid var(--line); border-radius: 7px; display: flex; align-items: center; padding: 7px 9px; gap: 7px; max-width: 196px; background: #fff; }
.inline-search .icon { width: 14px; height: 14px; color: #8d9a8f; }
.inline-search input { width: 100%; border: 0; outline: none; font-size: 11px; background: none; }
input::placeholder, textarea::placeholder { color: #a1aca2; }
.filter-select { border: 1px solid var(--line); background: #fff; border-radius: 7px; font-size: 11px; padding: 7px 9px; color: #6f8072; max-width: 150px; }
.table-wrap { overflow-x: auto; }
.case-table { border-collapse: collapse; width: 100%; font-size: 12px; white-space: nowrap; }
.case-table th { text-align: left; padding: 11px 17px; background: #fafbf9; font-size: 10px; font-weight: 500; color: #8c9a8c; border-bottom: 1px solid var(--line); }
.case-table td { padding: 17px 17px; border-bottom: 1px solid #eef1ed; vertical-align: middle; }
.case-table th:first-child, .case-table td:first-child { padding-left: 21px; }
.case-table th:last-child, .case-table td:last-child { padding-right: 18px; }
.case-table tr:last-child td { border-bottom: 0; }
.case-table tbody tr { cursor: pointer; transition: background .15s; }
.case-table tbody tr:hover { background: #f9fcf9; }
.document-cell { display: flex; align-items: center; gap: 12px; }
.file-icon { width: 33px; height: 39px; border-radius: 7px; display: grid; place-items: center; background: #f0f4f7; color: #7c94ab; flex: none; }
.file-icon.pdf { background: #faf0ec; color: #be8974; }
.file-icon.google { background: #eff4fa; color: #6f99c6; }
.file-icon.excel { background: #edf6ef; color: #73a386; }
.file-icon.ppt { background: #fbf2e9; color: #c7986b; }
.file-icon .icon { width: 18px; height: 18px; }
.case-name { padding: 0; font-size: 12px; font-weight: 600; color: #364c3d; text-align: left; white-space: normal; line-height: 1.6; }
.case-meta { font-size: 10px; color: #96a092; margin-top: 4px; white-space: normal; }
.company-cell { color: #879380; font-size: 10px; }
.status { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border-radius: 5px; padding: 3px 8px; font-size: 10px; font-weight: 550; line-height: 1.65; white-space: nowrap; }
.status .icon { width: 12px; height: 12px; }
.status.action { background: var(--red-soft); color: var(--red); }
.status.hold { background: var(--amber-soft); color: var(--amber); }
.status.approval { background: var(--blue-soft); color: var(--blue); }
.status.complete, .status.pass { background: var(--green-soft); color: var(--green); }
.status.neutral { background: #f0f3ef; color: #788777; }
.risks { display: flex; align-items: center; gap: 4px; }
.risk-mini { display: inline-flex; gap: 3px; font-size: 9px; padding: 2px 5px; border-radius: 4px; background: #f2f4f0; color: #a3aaa0; }
.risk-mini.high.nonzero { background: var(--red-soft); color: #b66455; }
.risk-mini.medium.nonzero { background: var(--amber-soft); color: #af8747; }
.risk-mini.low.nonzero { background: #edf2f6; color: #77899e; }
.risk-mini strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.owner { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #8e988c; }
.date-cell { font-size: 10px; color: #899583; font-variant-numeric: tabular-nums; }
.row-arrow { width: 13px !important; height: 13px !important; color: #9aa795; }
.table-footer { display: flex; justify-content: space-between; align-items: center; padding: 12px 21px; border-top: 1px solid var(--line); font-size: 10px; color: #98a091; }
.pagination { display: flex; align-items: center; gap: 9px; }
.pagination .icon-button { width: 25px; height: 25px; }
.pagination .icon { width: 13px; height: 13px; }
.page-number { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 5px; background: var(--green-soft); color: var(--green); font-weight: 600; }
.page-bottom { margin-top: 23px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 10px; color: #92a08f; }
.page-bottom span { display: flex; align-items: center; gap: 6px; }
.page-bottom .icon { width: 13px; height: 13px; }
.empty-state { text-align: center; padding: 58px 20px; color: var(--muted); }
.empty-state .icon { width: 30px; height: 30px; color: #b7c7b8; margin-bottom: 10px; }
.empty-state h3 { font-size: 14px; color: #627663; font-weight: 550; margin-bottom: 7px; }
.empty-state p { font-size: 12px; }
.empty-state .button { margin-top: 18px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: #7d8e7b; font-size: 11px; margin-bottom: 15px; padding: 0; }
.back-link .icon { width: 14px; height: 14px; }
.detail-page { padding-top: 24px; }
.detail-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 21px; }
.detail-heading h1 { font-size: 22px; margin-bottom: 8px; }
.detail-heading-actions { display: flex; gap: 8px; padding-top: 4px; }
.detail-meta { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; color: #8a9687; font-size: 10px; }
.detail-meta .divider { width: 1px; height: 11px; background: #dce5da; }
.detail-meta .tag { font-size: 9px; padding: 1px 6px; border-radius: 4px; background: #eaf0e7; color: #6b8063; }
.verdict { border: 1px solid var(--line); border-radius: 10px; background: white; padding: 18px 21px; margin-bottom: 21px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.verdict-main { display: flex; align-items: center; gap: 13px; }
.verdict-icon { width: 39px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); flex: none; }
.verdict-icon.pass { background: var(--green-soft); color: var(--green); }
.verdict-icon.hold { background: var(--amber-soft); color: var(--amber); }
.verdict-title { font-size: 15px; font-weight: 600; color: #3d5140; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.verdict-description { font-size: 11px; color: #879181; margin-top: 4px; }
.verdict-right { display: flex; align-items: center; gap: 24px; flex: none; }
.verdict-count { text-align: center; min-width: 38px; }
.verdict-count strong { font-size: 22px; font-weight: 550; color: var(--red); display: block; line-height: 1.3; }
.verdict-count.medium strong { color: #a78241; }
.verdict-count.low strong { color: #7a8ea2; }
.verdict-count span { font-size: 9px; color: #909b88; }
.verdict-progress { border-left: 1px solid var(--line); padding-left: 24px; font-size: 10px; color: #8d9987; min-width: 150px; }
.progress-track { height: 4px; background: #edf1e9; border-radius: 4px; margin-top: 7px; overflow: hidden; }
.progress-fill { background: #559783; height: 100%; transition: width .5s; border-radius: 4px; }
.detail-tabs { border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.detail-tabs .tabs { gap: 24px; }
.detail-tabs .tab { padding-top: 3px; padding-bottom: 11px; }
.demo-inline { font-size: 10px; color: #899886; display: flex; gap: 5px; align-items: center; }
.demo-inline .icon { width: 13px; height: 13px; }
.review-grid { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(355px,1fr); gap: 19px; align-items: start; }
.document-panel { border: 1px solid #e0e7de; border-radius: 10px; overflow: hidden; background: #ecf0ea; }
.document-toolbar { height: 47px; background: #fff; border-bottom: 1px solid #e2e8df; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; gap: 8px; }
.document-toolbar .file-name { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #73876e; min-width: 0; }
.document-toolbar .file-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.document-toolbar .icon { width: 15px; height: 15px; }
.document-toolbar .icon-button { width: 27px; height: 27px; }
.document-version { font-size: 9px; padding: 2px 6px; border-radius: 4px; background: #f1f5ee; color: #85957f; flex: none; }
.document-scroll { padding: 19px; max-height: 694px; overflow: auto; scrollbar-width: thin; scrollbar-color: #cbd6c8 transparent; }
.paper { background: #fff; padding: 37px 31px; box-shadow: 0 2px 7px #1b351a09; font-size: 11px; color: #5d6c56; line-height: 2; min-height: 690px; position: relative; }
.paper-label { font-size: 8px; color: #b1b9ad; letter-spacing: 1.5px; text-align: right; margin-bottom: 18px; }
.paper h2 { font-size: 17px; text-align: center; letter-spacing: 2px; color: #4d5b46; margin: 7px 0 29px; font-weight: 600; }
.paper .opening { font-size: 10px; color: #7a8572; margin-bottom: 22px; }
.clause { border: 1px solid transparent; padding: 10px 11px; margin: 4px -11px; border-radius: 4px; scroll-margin-top: 18px; }
.clause h3 { font-size: 11px; font-weight: 600; color: #55644b; margin-bottom: 5px; display: flex; align-items: center; justify-content: space-between; }
.clause p { font-size: 10px; line-height: 2.1; }
.clause.risky { cursor: pointer; }
.clause.risky:hover { background: #fbf8ee; }
.clause.selected { border-color: #e9c7b5; background: #fff9f2; }
.clause.selected h3 { color: #9c7051; }
.clause.highlight-medium { background: #fcf8ee; }
.clause.highlight-low { background: #f2f6f7; }
.clause mark { background: #f6e4d0; color: inherit; padding: 2px 0; }
.clause .anchor-badge { font-family: var(--font); font-size: 8px; background: #ecb39c; color: white; border-radius: 3px; padding: 0 5px; }
.clause.resolved { background: #f1f8f0; border-color: #d5e6d0; }
.paper-foot { border-top: 1px solid #e9ede5; margin-top: 25px; padding-top: 12px; text-align: center; font-size: 8px; color: #a3af99; }
.document-footer { display: flex; justify-content: space-between; padding: 9px 16px; background: #f8faf6; font-size: 9px; color: #8f9d86; border-top: 1px solid var(--line); }
.findings-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 10px; }
.findings-header h2 { font-size: 13px; color: #4b6244; font-weight: 600; }
.findings-header h2 span { font-size: 11px; color: #9aa78f; margin-left: 5px; font-weight: 400; }
.segmented { display: flex; align-items: center; gap: 3px; background: #eef2eb; padding: 3px; border-radius: 6px; }
.segment { font-size: 9px; color: #8d9b85; padding: 3px 8px; border-radius: 4px; }
.segment.active { background: white; color: #426640; box-shadow: 0 1px 3px #19361910; }
.finding { background: white; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 10px; overflow: hidden; }
.finding.expanded { border-color: #baccbc; box-shadow: 0 2px 8px #25453106; }
.finding-head { width: 100%; text-align: left; padding: 16px; display: flex; align-items: flex-start; gap: 10px; }
.severity { flex: none; display: inline-flex; justify-content: center; align-items: center; min-width: 24px; height: 24px; font-size: 10px; font-weight: 600; border-radius: 5px; background: var(--red-soft); color: var(--red); }
.severity.medium { background: var(--amber-soft); color: var(--amber); }
.severity.low { background: var(--blue-soft); color: #738db0; }
.severity.resolved { background: var(--green-soft); color: var(--green); }
.severity .icon { width: 14px; height: 14px; }
.finding-head-text { flex: 1; min-width: 0; }
.finding-head h3 { font-size: 12px; font-weight: 600; line-height: 1.7; color: #485d40; }
.finding-head .finding-sub { color: #9ba68e; font-size: 9px; margin-top: 5px; display: flex; gap: 7px; align-items: center; }
.finding-head > .icon { width: 14px; height: 14px; margin-top: 5px; color: #93a28b; }
.finding-body { padding: 0 16px 17px 50px; }
.finding-body > p { font-size: 11px; color: #7e8d72; line-height: 1.9; margin-bottom: 13px; }
.small-label { font-size: 9px; color: #9aa68d; font-weight: 600; letter-spacing: .3px; margin-bottom: 6px; }
.source-link { display: flex; align-items: center; gap: 7px; width: 100%; border: 1px solid #e5ece0; border-radius: 6px; background: #f8fbf5; padding: 9px 10px; text-align: left; color: #6f8965; font-size: 10px; }
.source-link .icon { width: 14px; height: 14px; }
.source-link span { flex: 1; }
.suggestion { border: 1px solid #dfeade; background: #f4f8f0; border-radius: 7px; margin: 14px 0 13px; overflow: hidden; }
.suggestion-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-bottom: 1px solid #e0eadb; color: #658b57; font-size: 10px; font-weight: 600; }
.suggestion-header > span { display: flex; align-items: center; gap: 6px; }
.suggestion-header .icon { width: 13px; height: 13px; }
.suggestion-copy { display: inline-flex; align-items: center; gap: 4px; padding: 0; color: #8ea182; font-size: 9px; }
.suggestion-text { font-size: 10px; line-height: 2; padding: 11px; color: #78876d; }
.suggestion-text ins { color: #396e3c; background: #e3efd9; text-decoration: none; padding: 1px 0; }
.finding-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.finding-actions .button { font-size: 10px; padding: 7px 11px; }
.finding-actions .text-button { font-size: 10px; color: #8b9c7f; }
.resolved-note { display: flex; align-items: center; gap: 7px; padding: 10px 12px; background: #f0f7eb; color: #6a865b; border-radius: 6px; font-size: 11px; }
.resolved-note .icon { width: 15px; height: 15px; }
.review-footnote { display: flex; align-items: flex-start; gap: 6px; color: #9ba991; font-size: 9px; line-height: 1.8; padding: 8px 5px; }
.review-footnote .icon { width: 13px; height: 13px; margin-top: 2px; }
.info-banner { display: flex; align-items: center; gap: 9px; padding: 12px 15px; border-radius: 8px; background: #edf4f7; color: #6f8a98; font-size: 11px; margin-bottom: 16px; }
.info-banner .icon { width: 17px; height: 17px; flex: none; }
.info-banner.warning { color: #a17f40; background: #fbf5e7; }
.info-banner a, .info-banner button { color: inherit; }
.form-page { max-width: 1200px; }
.form-layout { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 24px; align-items: start; }
.form-card { border: 1px solid var(--line); border-radius: 11px; background: white; padding: 25px; margin-bottom: 17px; }
.form-card-title { display: flex; align-items: center; gap: 10px; margin-bottom: 21px; }
.step-number { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #edf4eb; color: #5f8356; font-size: 11px; font-weight: 600; flex: none; }
.form-card h2 { font-size: 14px; font-weight: 600; color: #4b6140; }
.form-card-title p { font-size: 10px; color: #8fa082; margin-top: 3px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 11px; color: #718165; }
.field.full { grid-column: 1 / -1; }
.field-label { display: flex; align-items: center; gap: 7px; }
.required { color: #b59372; font-size: 8px; background: #faf5ec; padding: 1px 5px; border-radius: 3px; }
.optional { font-size: 9px; color: #adb59f; }
.field input, .field select, .field textarea { border: 1px solid #dfe6da; border-radius: 7px; background: #fff; padding: 10px 11px; font-size: 12px; color: #5e7451; width: 100%; }
.field textarea { resize: vertical; min-height: 91px; }
.field input:hover, .field select:hover { border-color: #bdcfb5; }
.field-help { color: #97a38b; font-size: 9px; line-height: 1.8; }
.dropzone { border: 1.5px dashed #c5d9c1; border-radius: 10px; background: #f8fbf5; padding: 27px 22px 23px; text-align: center; transition: background .2s, border-color .2s; position: relative; }
.dropzone.dragover { background: #e8f3e4; border-color: var(--green); }
.dropzone.reference { background: #fcfdfb; border-color: #d9e3d1; padding: 21px 18px; }
.dropzone-icon { display: inline-grid; place-items: center; width: 44px; height: 45px; border: 1px solid #e0eada; border-radius: 11px; background: #fff; color: #7d9b6d; margin-bottom: 12px; }
.dropzone-icon .icon { width: 23px; height: 23px; }
.dropzone h3 { font-size: 12px; color: #658357; font-weight: 550; }
.dropzone p { font-size: 10px; color: #9cad8e; margin-top: 4px; }
.dropzone-actions { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 16px; }
.dropzone-actions .button { font-size: 10px; padding: 8px 11px; }
.google-logo { font-weight: 700; font-size: 15px; color: #4f88b5; font-family: "Segoe UI",sans-serif; }
.upload-list { margin-top: 14px; }
.upload-row { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 7px; margin-top: 7px; }
.upload-row .file-icon { width: 29px; height: 34px; }
.upload-info { flex: 1; min-width: 0; }
.upload-name { font-size: 11px; color: #677b5b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-meta { font-size: 9px; color: #a2ae94; margin-top: 2px; }
.upload-row .icon-button { width: 26px; height: 26px; }
.upload-row .icon-button .icon { width: 14px; height: 14px; }
.form-side { position: sticky; top: 24px; }
.side-card { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin-bottom: 16px; }
.side-card h3 { font-size: 12px; color: #637d54; font-weight: 600; margin-bottom: 18px; }
.readiness-row { display: flex; gap: 9px; align-items: center; font-size: 11px; color: #a2af95; margin: 13px 0; }
.readiness-row .icon { width: 16px; height: 16px; }
.readiness-row.ready { color: #62875a; }
.side-policy { display: flex; gap: 9px; align-items: flex-start; padding: 11px 0; }
.side-policy + .side-policy { border-top: 1px solid var(--line); }
.side-policy .icon { width: 16px; height: 16px; color: #89a379; margin-top: 2px; }
.side-policy strong { color: #6e895f; font-size: 11px; font-weight: 550; display: block; }
.side-policy span { font-size: 9px; color: #a7b29a; display: block; margin-top: 2px; }
.side-note { display: flex; align-items: flex-start; gap: 7px; font-size: 10px; color: #9ba98e; line-height: 1.9; padding: 0 6px; }
.side-note .icon { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 6px 0 15px; }
.form-actions-note { color: #8ca07d; font-size: 10px; max-width: 330px; }
.error-message { background: #fff0eb; color: #b4664c; border: 1px solid #f0d8cc; font-size: 11px; padding: 10px 12px; border-radius: 7px; margin-top: 12px; }
.processing-page { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 110px); padding: 35px; }
.processing-card { width: 460px; text-align: center; }
.processing-symbol { width: 76px; height: 80px; border-radius: 23px; background: #eaf4e5; display: grid; place-items: center; margin: 0 auto 26px; color: #5d8a54; }
.processing-symbol .icon { width: 35px; height: 35px; animation: pulse 1.8s ease infinite; }
.processing-card h1 { font-size: 23px; }
.processing-card > p { font-size: 12px; color: #91a182; margin: 10px 0 29px; }
.processing-steps { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px 23px; }
.processing-step { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 12px; color: #b0bda3; }
.processing-step .icon { width: 18px; height: 18px; }
.processing-step.done { color: #66935c; }
.processing-step.current { color: #4b7140; }
.processing-step.current .icon { animation: rotate 2s linear infinite; }
.processing-card .demo-inline { justify-content: center; margin-top: 20px; }
.policy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 267px; gap: 23px; align-items: start; }
.policy-card { width: 100%; border: 1px solid var(--line); border-radius: 9px; margin: 0 0 11px; background: white; text-align: left; padding: 18px 20px; display: flex; align-items: flex-start; gap: 14px; }
.policy-card:hover { border-color: #bed3b5; }
.policy-card-content { flex: 1; }
.policy-card h3 { font-size: 13px; font-weight: 600; color: #536c45; }
.policy-card p { font-size: 11px; color: #92a184; margin-top: 6px; }
.policy-card-meta { display: flex; gap: 10px; margin-top: 11px; color: #a3b296; font-size: 9px; }
.policy-card > .icon { width: 15px; height: 15px; color: #9cb18d; margin-top: 6px; }
.policy-top { display: flex; gap: 10px; margin-bottom: 18px; align-items: center; justify-content: space-between; }
.policy-top .tabs { gap: 22px; }
.policy-top .tab { padding-top: 0; }
.activity-panel { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 26px; max-width: 920px; }
.activity-item { display: flex; gap: 16px; padding: 0 0 25px; position: relative; }
.activity-item:not(:last-child)::before { content: ''; position: absolute; left: 16px; top: 33px; bottom: 0; border-left: 1px solid #e4eadf; }
.activity-item:last-child { padding-bottom: 0; }
.activity-item h3 { font-size: 12px; font-weight: 550; color: #59774a; }
.activity-item p { font-size: 11px; color: #90a480; margin-top: 4px; }
.activity-item time { font-size: 9px; color: #a7b99a; }
.approval-banner { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-radius: 9px; padding: 16px 19px; background: #edf3fa; border: 1px solid #dce6f3; }
.approval-banner h3 { font-size: 12px; color: #6380a4; font-weight: 550; }
.approval-banner p { font-size: 10px; color: #8d9fb8; margin-top: 4px; }
.overlay { position: fixed; inset: 0; background: #152d244a; backdrop-filter: blur(3px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; animation: fade-in .16s ease; }
.dialog { background: #fff; border-radius: 15px; box-shadow: 0 24px 90px #0b2d2833; width: 520px; max-width: 100%; max-height: calc(100vh - 48px); overflow: auto; }
.dialog.large { width: 680px; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; padding: 25px 27px 18px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { font-size: 18px; font-weight: 600; color: #3b5d3c; }
.dialog-head p { font-size: 11px; color: #899d83; margin-top: 5px; }
.dialog-head .icon-button { margin-top: -5px; margin-right: -6px; }
.dialog-body { padding: 23px 27px 27px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.dialog .field { margin-bottom: 17px; }
.dialog-copy { font-size: 12px; color: #7c9272; line-height: 1.9; }
.dialog-copy strong { color: #4d7344; }
.choice-row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 15px 14px; border: 1px solid var(--line); border-radius: 8px; text-align: left; margin-bottom: 9px; }
.choice-row:hover, .choice-row.selected { border-color: #b3cba8; background: #f7fbf3; }
.choice-row .icon { color: #8aa17b; }
.choice-row .choice-text { flex: 1; }
.choice-row strong { font-size: 12px; color: #688558; font-weight: 550; display: block; }
.choice-row small { font-size: 10px; color: #a0b090; display: block; margin-top: 3px; }
.choice-row .check { margin-left: auto; color: var(--green); }
.drive-row { display: flex; align-items: center; gap: 11px; padding: 13px 10px; border-bottom: 1px solid var(--line); cursor: pointer; }
.drive-row:hover { background: #f6faf2; }
.drive-row input { accent-color: var(--green); }
.drive-row span { font-size: 11px; color: #799168; }
.drive-row small { font-size: 9px; color: #a1b092; display: block; }
.search-modal { align-self: flex-start; margin-top: 12vh; width: 600px; }
.command-search { padding: 19px 22px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.command-search .icon { color: #9db28e; }
.command-search input { border: 0; outline: 0; font-size: 15px; width: 100%; color: #5d7c4e; }
.command-results { padding: 10px; }
.command-result { width: 100%; display: flex; gap: 11px; align-items: center; padding: 13px; border-radius: 8px; text-align: left; font-size: 12px; }
.command-result:hover { background: #f1f7eb; }
.command-result .icon { width: 17px; height: 17px; color: #8aa678; }
.command-result small { display: block; font-size: 9px; color: #96ab87; margin-top: 3px; }
.command-result > .icon:last-child { margin-left: auto; width: 13px; }
.command-heading { font-size: 9px; color: #a0b192; padding: 10px 13px 3px; }
.drawer-overlay { justify-content: flex-end; padding: 0; }
.drawer { width: 490px; max-width: 100%; height: 100%; border-radius: 0; max-height: 100vh; animation: slide-in .22s ease; }
.definition-row { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.definition-row dt { color: #99ab8b; }
.definition-row dd { margin: 0; color: #67845a; }
.rule-quote { border-left: 3px solid #9ab78a; background: #f6faf2; padding: 15px 16px; margin: 16px 0; color: #749466; font-size: 12px; line-height: 2; }
.toast { position: fixed; bottom: 27px; left: calc(50% + 112px); transform: translateX(-50%); z-index: 200; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 40px); background: #244e38; color: #f2faec; border: 1px solid #457454; border-radius: 10px; box-shadow: 0 8px 25px #244e3829; padding: 13px 19px; font-size: 12px; animation: toast-in .22s ease; }
.toast .icon { width: 17px; height: 17px; flex: none; color: #b0d29b; }
.guide-step { display: flex; gap: 13px; margin-bottom: 23px; }
.guide-step h3 { font-size: 13px; font-weight: 600; color: #577c45; margin-bottom: 5px; }
.guide-step p { font-size: 11px; color: #90a87e; line-height: 1.9; }
.guide-step .step-number { width: 29px; height: 29px; }
.admin-table { width: 100%; border-collapse: collapse; background: white; font-size: 12px; }
.admin-table th, .admin-table td { text-align: left; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.admin-table th { background: #fafcf8; color: #97ab8b; font-size: 10px; font-weight: 500; }
.admin-table td { color: #739665; }
.admin-table .filter-select { width: 155px; max-width: none; }
.mini-stack { display: flex; flex-direction: column; }
.mini-stack small { color: #a5b698; font-size: 10px; }
.approval-check { display: flex; align-items: center; gap: 8px; color: #769866; font-size: 11px; padding: 9px 0; }
.approval-check .icon { width: 16px; height: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }
.brand { gap: 9px; padding-left: 5px; padding-right: 3px; }
.brand-symbol { width: 32px; height: 36px; flex: none; }
.brand-name { font-size: 11px; line-height: 1.6; letter-spacing: 0; min-width: 0; }
.brand-name span { display: block; color: #6b7f6c; font-weight: 500; font-size: 10px; }
.brand-name strong { display: block; font-size: 11px; font-weight: 650; white-space: nowrap; }
.metric-label, .subtitle, .case-meta, .company-cell, .date-cell, .table-footer, .page-bottom,
.verdict-description, .detail-meta, .demo-inline, .review-footnote, .form-card-title p,
.field-help, .side-note, .dialog-copy, .policy-card p, .policy-card-meta,
.upload-meta, .choice-row small, .guide-step p, .activity-item p { color: #687b66; }
.case-table th, .small-label, .finding-head .finding-sub, .verdict-count span,
.demo-note, .profile-text small, .form-actions-note, .readiness-row,
.side-policy span, .command-result small, .command-heading, .document-footer { color: #70806b; }
.finding-body > p, .suggestion-text { color: #5f7355; font-size: 12px; }
.finding-head h3 { font-size: 13px; color: #384f31; }
.case-name { font-size: 12px; color: #32492f; }
.finding-head .finding-sub { font-size: 10px; }
.source-link { color: #5b794e; font-size: 11px; }
.case-meta, .date-cell { font-size: 11px; }
.paper .opening, .clause p { font-size: 11px; color: #607054; }
.finding-memo { font-size: 11px; line-height: 1.9; color: #657d55; padding: 10px 12px; background: #f5f8f0; border-radius: 6px; margin-top: 12px; white-space: pre-wrap; }
.model-caption { font-size: 9px; line-height: 1.8; color: #70826a; border-top: 1px solid #e2e9dc; margin-top: 9px; padding-top: 8px; }
.verdict-title .status { font-size: 10px; }
.detail-heading h1 { letter-spacing: -.3px; }
.verdict-icon.action { color: var(--red); background: var(--red-soft); }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { transform: translateX(25px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toast-in { from { opacity: 0; margin-bottom: -8px; } to { opacity: 1; margin-bottom: 0; } }
@keyframes pulse { 50% { opacity: .45; transform: scale(.93); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@media(min-width:1600px) { .page { padding-top: 40px; } .case-table td { padding-top: 20px; padding-bottom: 20px; } .document-scroll { max-height: 780px; } .paper { padding: 42px; } .paper p, .clause p { font-size: 12px; } .finding-body > p { font-size: 12px; } .suggestion-text { font-size: 11px; } }
@media(max-width:1250px) { .sidebar { width: 202px; padding-left: 12px; padding-right: 12px; } .main-shell { margin-left: 202px; } .page { padding-left: 25px; padding-right: 25px; } .topbar { padding: 0 25px; } .metric { padding: 0 19px; } .metric-caption { display: none; } .case-table th, .case-table td { padding-left: 12px; padding-right: 12px; } .owner-name { display: none; } .list-toolbar { flex-wrap: wrap; padding-top: 4px; padding-bottom: 8px; } .tabs { gap: 19px; } .review-grid { grid-template-columns: minmax(0,1fr) minmax(330px,1fr); gap: 14px; } .paper { padding: 25px 22px; } .document-scroll { padding: 13px; } .finding-body { padding-left: 17px; } .verdict-progress { display: none; } .detail-heading h1 { font-size: 20px; } .form-layout { grid-template-columns: minmax(0,1fr) 240px; gap: 18px; } .toast { left: calc(50% + 101px); } }
@media(max-width:1020px) { .sidebar { width: 186px; } .main-shell { margin-left: 186px; } .brand { padding-left: 1px; gap: 5px; } .brand-name { font-size: 10px; } .brand-name strong { font-size: 9px; } .brand-name span { font-size: 9px; } .brand-symbol { width: 27px; height: 32px; } .brand-caption { font-size: 8px; } .workspace-select { font-size: 10px; } .nav-item { padding-left: 9px; font-size: 12px; } .page { padding: 26px 21px; } .topbar { padding: 0 21px; } .search-trigger { width: 190px; } .attention-grid { gap: 10px; } .attention-card { padding: 14px 12px; gap: 9px; } .attention-icon { width: 30px; height: 35px; } .attention-card h3 { font-size: 11px; } .company-cell, th.company-column { display: none; } .case-name { max-width: 275px; } .detail-heading { flex-direction: column; gap: 12px; } .review-grid { grid-template-columns: 1fr; } .document-scroll { max-height: 460px; } .paper { padding: 32px; } .finding-body { padding-left: 50px; } .form-layout { grid-template-columns: 1fr; } .form-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; } .form-side .side-card { margin: 0; } .policy-grid { grid-template-columns: 1fr; } .policy-grid > aside { display: none; } .toast { left: calc(50% + 93px); } }
@media(max-width:760px) { .sidebar { transform: translateX(-100%); width: 230px; transition: transform .2s; box-shadow: 8px 0 35px #18372220; } .sidebar.open { transform: none; } .main-shell { margin-left: 0; } .sidebar-scrim { position: fixed; inset: 0; background: #15312150; z-index: 29; } .mobile-menu { display: inline-grid; } .topbar { height: 60px; padding: 0 15px; gap: 8px; } .breadcrumb { flex: 1; gap: 7px; overflow: hidden; font-size: 10px; } .breadcrumb .current { text-overflow: ellipsis; overflow: hidden; } .top-actions { gap: 4px; } .search-trigger { width: 32px; height: 32px; padding: 7px; background: none; border: none; } .search-trigger span, .search-trigger kbd { display: none; } .top-avatar { display: none; } .page { padding: 23px 16px 30px; } .page-heading { gap: 12px; margin-bottom: 23px; align-items: flex-start; } h1 { font-size: 24px; } .subtitle { font-size: 11px; max-width: 240px; line-height: 1.9; } .page-heading .button { font-size: 10px; padding: 9px 11px; margin-top: 6px; } .page-heading .button .icon { width: 14px; height: 14px; } .metrics { padding: 16px 0; margin-bottom: 24px; } .metric { padding: 0 13px; } .metric-label { font-size: 9px; gap: 4px; } .metric-label .icon { display: none; } .metric-value strong { font-size: 25px; } .metric-value span { font-size: 9px; } .attention-grid { grid-template-columns: 1fr; } .attention-card { padding: 14px; } .attention-card h3 { font-size: 12px; } .attention-card p { font-size: 10px; } .attention-icon { width: 35px; height: 39px; } .list-toolbar { padding: 0 13px 12px; gap: 2px; } .tabs { gap: 19px; width: 100%; } .tab { font-size: 10px; padding: 15px 0 11px; } .list-controls { width: 100%; padding-top: 8px; } .inline-search { flex: 1; max-width: none; } .filter-select { max-width: 150px; } .case-table { min-width: 610px; } .case-table td { padding-top: 15px; padding-bottom: 15px; } .case-table th:first-child, .case-table td:first-child { padding-left: 15px; } .case-name { min-width: 245px; font-size: 11px; } .file-icon { width: 29px; height: 35px; } .document-cell { gap: 9px; } .table-footer { padding: 11px 15px; } .page-bottom { flex-direction: column; align-items: flex-start; gap: 9px; } .detail-page { padding-top: 18px; } .detail-heading h1 { font-size: 20px; } .detail-heading-actions { width: 100%; } .detail-heading-actions .button { flex: 1; padding: 9px 11px; font-size: 10px; } .verdict { align-items: flex-start; padding: 15px; gap: 12px; flex-direction: column; } .verdict-right { width: 100%; border-top: 1px solid var(--line); padding-top: 12px; gap: 20px; justify-content: flex-start; padding-left: 50px; } .verdict-title { font-size: 14px; } .verdict-description { font-size: 10px; line-height: 1.8; } .verdict-count { display: flex; align-items: center; gap: 6px; } .verdict-count strong { font-size: 18px; } .verdict-count span { font-size: 9px; } .detail-tabs { flex-wrap: wrap; gap: 5px; } .detail-tabs .tabs { width: auto; } .detail-tabs .demo-inline { font-size: 8px; padding-bottom: 10px; } .review-grid { gap: 23px; } .document-scroll { max-height: 400px; padding: 12px; } .paper { padding: 24px 21px; } .finding-body { padding-left: 17px; } .finding-head { padding: 15px; } .findings-header { flex-wrap: wrap; } .form-card { padding: 19px 17px; } .form-grid { grid-template-columns: 1fr; gap: 15px; } .field.full { grid-column: auto; } .form-side { grid-template-columns: 1fr; } .form-side .side-card:first-child { display: none; } .form-actions { flex-direction: column; align-items: stretch; } .form-actions .button { width: 100%; } .form-actions-note { max-width: none; } .dropzone { padding: 23px 12px; } .dropzone-actions { gap: 7px; flex-wrap: wrap; } .dropzone-actions .button { font-size: 10px; } .dialog-head { padding: 21px 20px 16px; } .dialog-body { padding: 20px; } .dialog { border-radius: 12px; } .overlay { padding: 14px; } .drawer-overlay { padding: 0; } .drawer { border-radius: 0; } .dialog-head h2 { font-size: 17px; } .toast { left: 50%; bottom: 19px; font-size: 11px; padding: 12px 15px; width: max-content; } .processing-page { min-height: calc(100vh - 60px); padding: 25px; } .processing-card h1 { font-size: 21px; } .policy-card { padding: 16px; } .policy-card h3 { font-size: 12px; } .policy-top { flex-direction: column; align-items: stretch; } .policy-top .inline-search { max-width: none; } .approval-banner { flex-direction: column; align-items: flex-start; } .admin-table { min-width: 620px; } .definition-row { grid-template-columns: 80px 1fr; } }
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .sidebar, .topbar, .back-link, .detail-heading-actions, .detail-tabs, .finding-actions, .suggestion-copy, .icon-button, .review-footnote, .demo-note { display: none !important; } .main-shell { margin: 0; } .page { padding: 0; } body { background: white; } .review-grid { display: block; } .document-scroll { max-height: none; overflow: visible; } .finding { break-inside: avoid; } .paper { box-shadow: none; } .document-panel { margin-bottom: 20px; } .finding-body { display: block !important; } .findings-column { margin-top: 20px; } .overlay, .toast { display: none !important; } }
@media(max-width:640px) {
  .metrics { grid-template-columns: 1fr 1fr; padding: 0; }
  .metric { padding: 17px 19px; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metric-label { font-size: 11px; }
  .metric-value { margin-top: 6px; }
  .metric-value strong { font-size: 27px; }
  .list-toolbar .tabs { overflow-x: auto; scrollbar-width: none; }
  .list-toolbar .tab { flex-shrink: 0; }
  .case-table { min-width: 0; white-space: normal; }
  .case-table, .case-table tbody { display: block; }
  .case-table thead { display: none; }
  .case-table tbody tr { display: grid; grid-template-columns: 1fr auto; padding: 17px 15px; border-bottom: 1px solid var(--line); gap: 10px 4px; }
  .case-table tbody tr:last-child { border-bottom: 0; }
  .case-table td { display: block; padding: 0 !important; border: 0; }
  .case-table td:first-child { grid-column: 1 / -1; }
  .case-table td:nth-child(2), .case-table td:nth-child(5), .case-table td:nth-child(6), .case-table td:last-child { display: none; }
  .case-table td:nth-child(3) { grid-column: 1; display: flex; align-items: center; gap: 7px; }
  .case-table td:nth-child(3)::before { content: '参考合否判定'; font-size: 9px; color: #77866f; }
  .case-table td:nth-child(4) { align-self: center; }
  .case-name { min-width: 0; max-width: none; font-size: 12px; }
  .case-meta { font-size: 10px; }
  .risk-mini { padding: 2px 4px; font-size: 9px; }
  .case-table .status { font-size: 9px; padding: 2px 5px; }
  .company-cell { display: none; }
  .brand-name strong { font-size: 11px; }
  .brand-name span { font-size: 10px; }
}

/* Keep risk labels legible and consistent across the list, review and source text. */
.risks { gap: 6px; }
.risk-mini { align-items: center; justify-content: center; gap: 7px; min-width: 49px; padding: 4px 8px; border: 1px solid transparent; border-radius: 6px; font-size: 14px; font-weight: 700; line-height: 1.5; }
.risk-mini strong { font-size: 16px; font-weight: 800; }
.risk-mini.high { background: var(--risk-high-soft); color: var(--risk-high); border-color: #f5c9c5; }
.risk-mini.medium { background: var(--risk-medium-soft); color: var(--risk-medium-ink); border-color: #e8cf59; }
.risk-mini.low { background: var(--risk-low-soft); color: var(--risk-low); border-color: #b8e4c4; }
.severity { min-width: 36px; height: 36px; font-size: 16px; font-weight: 800; border-radius: 7px; }
.severity.high, .risk-mini.high.nonzero, .clause.highlight-high .anchor-badge { background: var(--risk-high); color: #fff; }
.severity.medium, .risk-mini.medium.nonzero, .clause.highlight-medium .anchor-badge { background: var(--risk-medium); color: var(--risk-medium-ink); }
.severity.low, .risk-mini.low.nonzero, .clause.highlight-low .anchor-badge { background: var(--risk-low); color: #fff; }
.clause .anchor-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 30px; min-height: 30px; padding: 2px 8px; font-size: 14px; font-weight: 800; border-radius: 6px; }
.clause.highlight-high { background: var(--risk-high-soft); }
.clause.highlight-medium { background: #fffdec; }
.clause.highlight-low { background: var(--risk-low-soft); }
.clause.highlight-high.selected { border-color: var(--risk-high); }
.clause.highlight-medium.selected { border-color: #b68a00; }
.clause.highlight-low.selected { border-color: var(--risk-low); }
.clause.selected h3 { color: var(--ink); }
.clause.highlight-high mark { background: #fee0dc; }
.clause.highlight-medium mark { background: #fef08a; }
.clause.highlight-low mark { background: #dcfce7; }
.verdict-right { gap: 10px; }
.verdict-count { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 80px; padding: 10px 12px; border-radius: 8px; border: 1px solid transparent; }
.verdict-count.high { background: var(--risk-high-soft); color: var(--risk-high); border-color: #f5c9c5; }
.verdict-count.medium { background: var(--risk-medium-soft); color: var(--risk-medium-ink); border-color: #e8cf59; }
.verdict-count.low { background: var(--risk-low-soft); color: var(--risk-low); border-color: #b8e4c4; }
.verdict-count strong, .verdict-count.medium strong, .verdict-count.low strong { color: inherit; font-size: 28px; font-weight: 750; }
.verdict-count span { color: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; }
.segmented { gap: 5px; background: #f3f5f3; padding: 4px; border-radius: 8px; }
.segment { min-width: 40px; min-height: 36px; font-size: 14px; font-weight: 700; line-height: 1.5; padding: 6px 10px; color: #425449; border-radius: 6px; }
.segment[data-risk="high"] { color: var(--risk-high); background: var(--risk-high-soft); }
.segment[data-risk="medium"] { color: var(--risk-medium-ink); background: var(--risk-medium-soft); }
.segment[data-risk="low"] { color: var(--risk-low); background: var(--risk-low-soft); }
.segment.active { box-shadow: inset 0 -3px 0 currentColor; font-weight: 800; }
.segment[data-risk="high"].active { color: #fff; background: var(--risk-high); }
.segment[data-risk="medium"].active { color: var(--risk-medium-ink); background: var(--risk-medium); }
.segment[data-risk="low"].active { color: #fff; background: var(--risk-low); }
.findings-header { flex-wrap: wrap; }
.findings-header h2 { font-size: 16px; }
.findings-header h2 span, .small-label { font-size: 12px; color: #53664f; }
.finding-head h3 { font-size: 15px; color: #273d30; }
.finding-head .finding-sub { font-size: 12px; flex-wrap: wrap; }
.finding-body > p, .suggestion-text { font-size: 14px; color: #3f5538; }
.source-link, .suggestion-header, .suggestion-copy { font-size: 12px; }
.paper .opening, .clause p, .clause h3 { font-size: 13px; }
.clause h3 { gap: 10px; }
.case-table .status, .verdict-title .status { font-size: 13px; font-weight: 700; padding: 4px 9px; }
.case-table .status .icon, .verdict-title .status .icon { width: 15px; height: 15px; }
@media(max-width:760px) {
  .verdict-right { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-left: 0; gap: 8px; }
  .verdict-count { min-width: 0; padding: 9px 5px; }
}
@media(max-width:640px) {
  .case-table td:nth-child(3), .case-table td:nth-child(4) { grid-column: 1 / -1; }
  .case-table td:nth-child(3)::before { font-size: 12px; }
  .risks { width: 100%; }
  .risk-mini { flex: 1; }
}

.workflow-strip { margin: 0 0 20px; background: #fff; border: 1px solid #dbe7df; border-radius: 10px; overflow: hidden; }
.workflow-steps { display: flex; flex-wrap: wrap; gap: 16px 24px; padding: 16px 20px; }
.workflow-steps > span { display: inline-flex; align-items: center; gap: 7px; color: #5f7267; font-size: 13px; font-weight: 650; }
.workflow-steps .icon { width: 17px; height: 17px; }
.workflow-steps > span:first-child, .workflow-steps > .done { color: #146b59; }
.workflow-strip-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; border-top: 1px solid #e3ece6; background: #f5faf7; font-size: 13px; }
.workflow-intro { margin: 4px 0 22px; }
.workflow-intro h2 { font-size: 21px; color: #253d31; margin-bottom: 7px; }
.workflow-intro p { font-size: 14px; color: #5b6f61; max-width: 880px; line-height: 1.9; }
.workflow-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(290px,1fr); gap: 20px; align-items: start; }
.workflow-card { background: #fff; padding: 22px; border: 1px solid #dfe7e1; border-radius: 11px; margin-bottom: 18px; }
.workflow-card-heading { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 20px; }
.workflow-card-heading h2 { font-size: 17px; line-height: 1.6; color: #263e32; }
.workflow-card-heading p { font-size: 13px; color: #5e7165; margin-top: 5px; }
.step-number { width: 30px; height: 30px; display: inline-grid; place-items: center; flex: none; border-radius: 8px; color: #146b59; background: #e8f3ed; font-size: 15px; font-weight: 750; }
.proposal-editor { border-top: 1px solid #e0e8e2; padding: 20px 0; }
.proposal-editor-head { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.proposal-editor-head > div { flex: 1; min-width: 170px; }
.proposal-editor-head h3 { font-size: 15px; color: #2c4435; }
.proposal-editor-head p { font-size: 12px; color: #5d7566; margin-top: 5px; }
.apply-check { display: flex; gap: 7px; align-items: center; font-size: 13px; color: #146b59; font-weight: 600; cursor: pointer; }
.apply-check input { width: 18px; height: 18px; accent-color: #146b59; }
.proposal-editor details { margin-bottom: 14px; }
.proposal-editor summary { font-size: 13px; color: #556d5e; cursor: pointer; }
.before-clause { font-size: 14px; line-height: 1.9; padding: 12px 14px; margin-top: 9px; background: #f5f7f5; border-radius: 7px; }
.proposal-editor textarea { width: 100%; resize: vertical; min-height: 128px; font-size: 14px; line-height: 1.85; background: #fbfdfb; }
.proposal-editor .field-label { font-size: 13px; }
.workflow-card .field-help { font-size: 12px; line-height: 1.9; margin-top: 12px; }
.workflow-output .button { width: 100%; white-space: normal; font-size: 13px; }
.workflow-result { padding: 15px; background: #fffbeb; border: 1px solid #ecdc9a; border-radius: 8px; margin-bottom: 16px; color: #795722; }
.workflow-result.ready { background: #effbf3; border-color: #b5dec3; color: #176534; }
.workflow-result strong { display: block; font-size: 18px; }
.workflow-result p { font-size: 13px; line-height: 1.8; margin-top: 6px; }
.submission-summary { border-top: 1px solid #e0e9e3; padding-top: 16px; margin-top: 18px; }
.submission-summary > span { display: block; color: #617567; font-size: 12px; margin-bottom: 5px; }
.submission-summary > strong { font-size: 15px; color: #3c5848; }
.submission-summary p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; color: #5c7063; margin: 8px 0 14px; }
.workflow-storage { font-size: 12px; line-height: 1.9; color: #5a7061; padding: 0 8px; }
.workflow-storage > .icon { width: 16px; height: 16px; vertical-align: middle; margin-right: 6px; }
.workflow-storage .button { margin-top: 10px; }
.workflow-history-heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.workflow-history-heading h2 { font-size: 20px; }
.workflow-history-heading p { font-size: 13px; color: #5d7263; margin-top: 7px; }
.revision-card { padding: 20px; border: 1px solid #dce7de; background: #fff; border-radius: 10px; margin-bottom: 14px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.revision-card h3 { font-size: 16px; color: #314d3d; }
.revision-card p { font-size: 13px; color: #587363; margin-top: 6px; }
.revision-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.revision-diff { border-top: 1px solid #dfe7e0; padding-top: 18px; margin-top: 20px; }
.revision-diff h3 { font-size: 16px; }
.revision-diff > div > span { display: block; font-size: 12px; font-weight: 700; margin: 12px 0 5px; }
.revision-diff p { white-space: pre-wrap; padding: 13px; font-size: 14px; border-radius: 7px; line-height: 1.85; }
.diff-before { background: #fff2f0; color: #942d26; }
.diff-after { background: #edf9f0; color: #24653a; }
.revision-event { font-size: 13px; color: #465d4e; border-top: 1px solid #e1e9e3; padding: 10px 0; }
.revision-event time { display: block; font-size: 11px; color: #617366; }
.detail-tabs .tabs { overflow-x: auto; max-width: 100%; }
@media(max-width:1100px) { .workflow-layout { grid-template-columns: 1fr; }.workflow-output { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }.workflow-output .workflow-card { margin: 0; }.workflow-storage { grid-column: 1 / -1; }.detail-heading { flex-wrap: wrap; } }
@media(max-width:760px) { .workflow-steps { gap: 12px; padding: 15px; }.workflow-steps > span { font-size: 12px; }.workflow-strip-bottom { padding: 10px 15px; flex-wrap: wrap; }.workflow-output { grid-template-columns: 1fr; }.workflow-card { padding: 17px; }.workflow-intro h2 { font-size: 19px; }.workflow-history-heading { flex-direction: column; }.proposal-editor-head > div { min-width: 150px; }.apply-check { padding-top: 5px; }.workflow-actions .button { width: 100%; }.detail-heading-actions { flex-wrap: wrap; }.detail-heading-actions .button { white-space: normal; min-width: 120px; }.detail-tabs .tabs { gap: 18px; }.detail-tabs .tab { flex-shrink: 0; } }
