/* Project records read like a document library; all styles stay within this view. */
.dc-root{--dc-background:var(--panel,#fff);--dc-soft:var(--surface-0,#f5f5f7);--dc-blue:var(--blue,#0066cc);--dc-ink:var(--paper,#1d1d1f);min-width:0;color:var(--dc-ink);font-family:var(--body)}
.dc-root *{box-sizing:border-box}.dc-root button{cursor:pointer}.dc-root button:disabled{cursor:default;opacity:.45}.dc-root :focus-visible{outline:2px solid var(--dc-blue);outline-offset:3px}
.dc-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.dc-heading h2{margin:0 0 8px;font:650 22px/1.35 var(--display);letter-spacing:-.025em}.dc-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}.dc-heading .ghost{flex:none}
.dc-modes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.dc-modes button{display:grid;gap:9px;text-align:left;padding:17px 20px;background:var(--dc-background);border:1px solid var(--line);border-radius:14px;color:var(--muted)}.dc-modes button.active{border-color:var(--dc-blue);box-shadow:inset 0 0 0 1px var(--dc-blue);color:var(--dc-blue)}.dc-modes span{font-size:14px;font-weight:600}.dc-modes b{font-size:24px;font-weight:650;line-height:1.3;font-variant-numeric:tabular-nums}.dc-modes small{font-size:12px;font-weight:400;color:var(--muted)}
.dc-category-section{margin-bottom:20px}.dc-category-label{display:block;font-size:12px;color:var(--muted);margin-bottom:9px}.dc-category-section .filter{display:none}.dc-categories{display:flex;gap:7px;flex-wrap:wrap}.dc-categories button{display:flex;align-items:center;gap:12px;padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:var(--dc-background);font-size:12px;color:var(--muted);max-width:100%;text-align:left}.dc-categories span{overflow-wrap:anywhere}.dc-categories b{font-size:11px;font-weight:550;font-variant-numeric:tabular-nums}.dc-categories button.active{color:var(--dc-blue);border-color:var(--dc-blue);background:var(--surface-2,#fafafc)}
.dc-note{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 18px}.dc-reader-layout{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.8fr);gap:0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--dc-background);align-items:start}.dc-list-panel{min-width:0;border-right:1px solid var(--line);padding:16px;align-self:stretch}.dc-search{display:flex;gap:6px;align-items:center}.dc-search .search{width:100%;min-width:0;padding:9px 10px;font-size:13px;border-radius:8px}.dc-search .ghost{padding:9px 11px;flex:none;font-size:12px;border-radius:8px}.dc-list-status{font-size:11px;color:var(--muted);padding:13px 1px 11px;line-height:1.6;font-variant-numeric:tabular-nums}.dc-record-list{display:grid;gap:4px}.dc-record{position:relative;display:flex;flex-direction:column;gap:7px;border:1px solid transparent;border-radius:10px;padding:13px 12px;text-align:left;width:100%;background:transparent;min-width:0;color:var(--dc-ink)}.dc-record:hover{background:var(--surface-2,#fafafc)}.dc-record.active{background:var(--dc-soft);border-color:var(--line)}.dc-record.active:before{content:"";position:absolute;left:-1px;top:15px;bottom:15px;width:3px;border-radius:3px;background:var(--dc-blue)}.dc-record-category{font-size:10px;color:var(--dc-blue);line-height:1.5}.dc-record strong{font-size:13px;font-weight:600;line-height:1.55;overflow-wrap:anywhere}.dc-record-summary{font-size:11px;line-height:1.6;color:var(--muted);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.dc-record-meta{font-size:10px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}.dc-pagination{display:flex;align-items:center;justify-content:space-between;gap:6px;padding-top:15px;border-top:1px solid var(--line);margin-top:12px}.dc-pagination .ghost{padding:7px 9px;font-size:11px;border-radius:7px}.dc-pagination span{font-size:10px;color:var(--muted)}
.dc-reading{min-width:0;scroll-margin-top:70px}.dc-placeholder{padding:36px 22px;color:var(--muted);font-size:13px;line-height:1.8;text-align:center}.dc-placeholder h3{font-size:15px;color:var(--dc-ink);margin:0 0 7px;font-weight:600}.dc-placeholder p{margin:0}.dc-reading>.dc-placeholder{min-height:300px;display:flex;flex-direction:column;justify-content:center;align-items:center}.dc-reading-mark{display:grid;place-items:center;width:42px;height:52px;border:1px solid var(--line);border-radius:6px;font-size:20px;font-family:var(--display);color:var(--dc-blue);margin-bottom:16px;background:var(--surface-2,#fafafc)}.dc-error{padding:25px 20px;color:var(--muted);font-size:13px;line-height:1.7;overflow-wrap:anywhere}.dc-error h3{font-size:16px;margin:0 0 10px;color:var(--dc-ink)}
.dc-document{min-width:0}.dc-document-head{padding:24px 28px 18px;border-bottom:1px solid var(--line)}.dc-kicker{display:block;font-size:11px;line-height:1.6;color:var(--dc-blue);margin-bottom:9px}.dc-document-head h3{font-family:var(--display);font-size:21px;line-height:1.5;font-weight:650;letter-spacing:-.02em;overflow-wrap:anywhere;margin:0}.dc-document-head p{margin:10px 0 0;font-size:11px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.dc-document-body{padding:2px 28px 20px}.dc-field-list{margin:0;min-width:0}.dc-field-list>div{display:grid;grid-template-columns:minmax(100px,.55fr) minmax(0,1.7fr);gap:16px;padding:16px 0;border-bottom:1px solid var(--line);min-width:0}.dc-field-list>div:last-child{border-bottom:0}.dc-field-list dt{color:var(--muted);font-size:12px;line-height:1.8;overflow-wrap:anywhere}.dc-field-list dd{margin:0;font-size:13px;line-height:1.85;min-width:0;overflow-wrap:anywhere}.dc-value-text{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.dc-missing{color:var(--muted);font-size:12px}.dc-nested-fields>div{display:block;padding:8px 0}.dc-nested-fields dt{font-size:11px;margin-bottom:3px}.dc-nested-fields dd{font-size:12px}.dc-array{margin:0;padding-left:20px;min-width:0}.dc-array>li{padding:4px 0}.dc-array>li+li{border-top:1px solid var(--line)}
.dc-source{padding:15px 28px;border-top:1px solid var(--line);font-size:12px;background:var(--surface-2,#fafafc)}.dc-source summary{cursor:pointer;color:var(--dc-blue);line-height:1.7}.dc-source .dc-field-list{padding-top:8px}.dc-source .dc-field-list>div{padding:9px 0}.dc-source .dc-field-list dd{font-size:12px}.dc-raw-value{font:12px/1.7 Consolas,"SFMono-Regular",monospace;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;margin:12px 0 0;max-height:500px;overflow:auto;background:var(--dc-soft);padding:12px;border-radius:7px;max-width:100%}
.dc-nested-entry summary{cursor:pointer;color:var(--dc-blue);font-size:12px;line-height:1.8}.dc-truncation-note{margin:0;padding:12px 28px;border-bottom:1px solid var(--line);color:var(--warning,#b25000);font-size:12px;line-height:1.8}
.dc-table-wrap{width:100%;max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:6px}.dc-root table.dc-nested-table{min-width:0;width:100%;border-collapse:collapse;background:var(--dc-background);table-layout:auto}.dc-nested-table th,.dc-nested-table td{padding:9px 10px;border-bottom:1px solid var(--line);font-size:11px;line-height:1.7;vertical-align:top;min-width:100px;white-space:normal;overflow-wrap:anywhere;letter-spacing:0}.dc-nested-table th{background:var(--dc-soft);font-weight:550;text-align:left}.dc-nested-table tbody tr{cursor:default}.dc-nested-table tbody tr:hover{background:var(--surface-2,#fafafc)}
.dc-text-progress{padding:12px 28px;background:var(--surface-2,#fafafc);font-size:11px;line-height:1.7;color:var(--muted);font-variant-numeric:tabular-nums}.dc-file-text{margin:0;padding:24px 28px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font:14px/1.9 var(--body);max-height:75vh;overflow:auto;color:var(--dc-ink);tab-size:4}.dc-text-actions{padding:17px 28px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;line-height:1.7}.dc-text-actions p{margin:9px 0 0}.dc-text-actions .ghost{font-size:12px;color:var(--dc-blue);border-radius:8px}.dc-text-actions [role=alert]{color:var(--danger);margin-top:9px;overflow-wrap:anywhere}.dc-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}
@media(min-width:1300px){.dc-reader-layout{grid-template-columns:minmax(290px,.72fr) minmax(0,1.8fr)}.dc-record-list{max-height:850px;overflow:auto;padding-right:3px}}
@media(max-width:1050px){.dc-field-list>div{grid-template-columns:1fr;gap:5px}.dc-document-head,.dc-document-body,.dc-source,.dc-file-text,.dc-text-actions{padding-left:20px;padding-right:20px}.dc-text-progress{padding-left:20px;padding-right:20px}}
@media(max-width:760px){.dc-reader-layout{grid-template-columns:minmax(0,1fr)}.dc-list-panel{border-right:0;border-bottom:1px solid var(--line);padding:14px}.dc-record-list{max-height:340px;overflow:auto}.dc-record{padding:11px 12px}.dc-record-summary{display:none}.dc-record-meta{font-size:11px}.dc-reading>.dc-placeholder{min-height:220px}.dc-category-section .filter{display:block;width:100%;min-width:0;font-size:13px;border-radius:9px}.dc-categories{display:none}.dc-heading{gap:12px}.dc-heading h2{font-size:20px}.dc-heading .ghost{font-size:12px;padding:8px 10px}.dc-heading p{font-size:12px}.dc-modes{gap:9px}.dc-modes button{padding:13px 14px}.dc-modes b{font-size:21px}.dc-modes small{display:block;line-height:1.6;margin-top:4px}.dc-document-head h3{font-size:19px}.dc-document-body{padding-top:0}.dc-file-text{max-height:65vh;font-size:13px}.dc-field-list dd{font-size:13px}.dc-text-progress{padding-top:10px;padding-bottom:10px}.dc-nested-table th,.dc-nested-table td{min-width:105px}.dc-root .dc-nested-table{min-width:0}.dc-pagination .ghost{min-height:38px}.dc-category-label{font-size:12px}}
@media(prefers-reduced-motion:reduce){.dc-root *{scroll-behavior:auto!important}}
