.cre-root{margin-top:20px;padding-top:16px;border-top:1px solid var(--brand-border);min-width:0}.cre-root>summary{font-weight:700;cursor:pointer}
.cre-toolbar,.cre-version-row,.cre-filter{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}.cre-toolbar>strong{margin-right:auto}.cre-version-row label,.cre-filter label{display:grid;gap:6px;min-width:0}.cre-version-row select{max-width:100%}.cre-notice,.cre-preview-note{color:var(--brand-muted);line-height:1.5;overflow-wrap:anywhere}
.cre-root input,.cre-root textarea,.cre-root select{font:inherit;color:var(--brand-ink);background:var(--surface-card);border:1px solid var(--brand-border);border-radius:var(--radius-sm,8px);padding:9px;max-width:100%;box-sizing:border-box}.cre-root textarea{display:block;width:100%;min-height:72px;max-height:360px;resize:vertical;line-height:1.55}
.cre-section{padding:16px 0;border-top:1px solid var(--brand-border);min-width:0}.cre-section>summary{font-weight:700;cursor:pointer;margin-bottom:12px}.cre-text-label{display:block;margin-top:14px}.cre-text-meta{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:6px 0 12px}.cre-original{font-size:.86rem;color:var(--brand-muted);overflow-wrap:anywhere}.cre-original p{white-space:pre-wrap}.cre-review{font-size:.8rem;font-weight:600;color:var(--brand-ink);background:var(--surface-card-muted,#f4efdf);padding:3px 7px;border-radius:4px}
.cre-fact{display:grid;grid-template-columns:minmax(0,1fr) 140px 44px;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--brand-border);min-width:0}.cre-fact small{display:block;overflow-wrap:anywhere;color:var(--brand-muted);margin-top:5px}.cre-fact>details{grid-column:1/-1;font-size:.82rem;color:var(--brand-muted);overflow-wrap:anywhere}.cre-fact input{width:100%}.cre-pagination{display:flex;justify-content:center;gap:12px;align-items:center;padding:12px 0}.cre-client{max-width:100%;min-width:0;overflow-wrap:anywhere}.cre-client section{margin:24px 0}.cre-client p{white-space:normal;line-height:1.65;margin:10px 0}.cre-client h3{font-size:1.1rem;margin:16px 0 10px}.cre-client h4{font-size:1rem}.cre-orphan{padding:12px 0;border-bottom:1px solid var(--brand-border)}
@media(max-width:600px){.cre-toolbar,.cre-version-row,.cre-filter{display:grid;grid-template-columns:minmax(0,1fr)}.cre-toolbar .primary-button,.cre-toolbar .v2-button{width:100%}.cre-fact{grid-template-columns:minmax(0,1fr) 95px 38px;gap:7px}.cre-text-meta{align-items:start;flex-direction:column}.cre-root .v2-button{white-space:normal}.cre-version-row select{width:100%}}
.cre-issue{font-weight:600;color:var(--brand-ink)!important;background:var(--surface-card-muted,#f4efdf);padding:5px 7px;border-radius:4px}
.cre-preview-note{display:flex;justify-content:space-between;align-items:center;gap:12px}.cre-action{border-top:1px solid var(--brand-border);padding:12px 0}.cre-client .client-report-charts .crg-section{padding:0;margin:16px 0}.cre-client .client-report-charts{gap:8px}
@media(max-width:600px){.cre-preview-note{display:grid;grid-template-columns:minmax(0,1fr)}}
@media print{body.cre-printing .client-reports>section:first-child>[data-cr-editor]{display:block!important}body.cre-printing .client-reports>section:first-child>:not([data-cr-editor]){display:none!important}body.cre-printing [data-cre-root]>summary,body.cre-printing .cre-toolbar,body.cre-printing .cre-version-row,body.cre-printing [data-cre-message],body.cre-printing [data-cre-notice],body.cre-printing [data-cre-editing],body.cre-printing .cre-preview-note{display:none!important}body.cre-printing [data-cre-preview],body.cre-printing .cre-client{display:block!important}body.cre-printing .cre-root{border:0;margin:0;padding:0}body.cre-printing .cre-client h3{break-after:avoid}body.cre-printing .cre-action{break-inside:avoid}}
.crp-row{padding:14px 0;border-bottom:1px solid var(--brand-border);display:grid;gap:8px;min-width:0}.crp-row small{overflow-wrap:anywhere;color:var(--brand-muted)}.crp-link,.crp-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.crp-link input{flex:1;min-width:120px}.crp-deleted{display:flex;gap:8px;align-items:center;margin:16px 0}.cre-root .crp-deleted input{width:18px;height:18px}.crp-row a{color:var(--brand-green-dark)}@media(max-width:600px){.crp-link,.crp-actions{align-items:stretch;flex-direction:column}.crp-link input{width:100%}}
.cre-root .crp-deleted{display:flex;flex-direction:row;align-items:center;gap:8px}.cre-client .crg-table-scroll table{min-width:640px}.cre-client .crg-table-scroll td,.cre-client .crg-table-scroll th{overflow-wrap:normal}@media print{.cre-client .crg-table-scroll table{min-width:0}}
.cre-client .client-report-charts{grid-template-columns:minmax(0,1fr)}.cre-client .crg-table{min-width:0;max-width:100%}.cre-client .crg-table-scroll{min-width:0;width:100%;max-width:100%}

.cre-passport{color:var(--brand-muted);font-size:.9rem;line-height:1.65}.cre-additional-work li{margin:.6em 0;overflow-wrap:anywhere}
