@layer components.legal-hub {
.legal-hub-shell{gap:1rem;display:grid}.legal-hub-overview,.legal-hub-toolbar,.legal-hub-section-card,.legal-hub-state-card{border-radius:1rem}.legal-hub-overview{background:radial-gradient(circle at top right, #03473714, transparent 26rem), linear-gradient(180deg, var(--color-white) 0%, var(--color-surface-soft) 100%);gap:.75rem;padding:.85rem .95rem;display:grid}.legal-hub-overview__header,.legal-hub-section-card__header,.legal-hub-toolbar,.legal-hub-overview-card__header,.legal-hub-unit-card__header,.legal-hub-field-card__header,.legal-hub-unit-section__header,.legal-hub-affected-list__header{justify-content:space-between;align-items:flex-start;gap:.9rem;display:flex}.legal-hub-overview__header h4,.legal-hub-section-card__header h4{margin:0}.legal-hub-overview__meta{text-align:right;flex-wrap:wrap;align-items:center;gap:.5rem;display:inline-flex}.legal-hub-overview__actions{align-items:center;gap:.75rem;display:inline-flex}.legal-hub-overview__timestamp,.legal-hub-section-card__count,.legal-hub-toolbar__count,.legal-hub-unit-section__header span,.legal-hub-field-card__meta span,.legal-hub-overview-card__actions,.legal-hub-affected-list__header strong,.legal-hub-affected-list li span,.legal-hub-state-card p{color:var(--color-text-muted-450);font-size:.78rem}.legal-hub-metric-grid,.legal-hub-overview-grid{gap:.65rem;display:grid}.legal-hub-export-btn{white-space:nowrap;align-items:center;gap:.45rem;font-weight:700;display:inline-flex}.legal-hub-export-btn:disabled{cursor:wait;opacity:.75}.legal-hub-export-error{color:var(--color-danger-600);margin-top:.5rem}.legal-hub-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.legal-hub-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.legal-hub-metric-card,.legal-hub-overview-card,.legal-hub-unit-card,.legal-hub-field-card{border:1px solid var(--color-border-default);background:var(--color-surface-overlay);border-radius:.95rem}.legal-hub-metric-card{gap:.12rem;padding:.58rem .72rem;display:grid}.legal-hub-metric-card small,.legal-hub-field-card small,.legal-hub-overview-card p,.legal-hub-labeled-values dt,.legal-hub-fact small{color:var(--color-text-muted-450)}.legal-hub-metric-card small{text-transform:uppercase;letter-spacing:.05em;font-size:.66rem;font-weight:700}.legal-hub-metric-card strong{color:var(--color-text-primary);font-variant-numeric:tabular-nums lining-nums;font-feature-settings:var(--num-font-feature);font-size:1.05rem}.legal-hub-toolbar{padding:.7rem .85rem}.legal-hub-search{border:1px solid var(--color-border-strong);background:var(--color-white);border-radius:.8rem;flex:1;align-items:center;gap:.6rem;min-width:0;padding:.55rem .7rem;display:flex}.legal-hub-search input{min-width:0;color:var(--ink);background:0 0;border:none;outline:none;flex:1;font-size:.9rem}.legal-hub-section-card{gap:.65rem;padding:.8rem .9rem;display:grid}.legal-hub-subtabs{margin-top:-.15rem}.legal-hub-subtabs button{align-items:center;gap:.38rem;display:inline-flex}.legal-hub-subtabs button strong{color:inherit;background:var(--color-surface-muted);border-radius:999px;padding:.08rem .38rem;font-size:.72rem;font-weight:700}.legal-hub-subtabs button.is-active strong{background:var(--color-success-soft)}.legal-hub-overview-tabs,.legal-hub-unit-tabs{margin-top:0;padding-bottom:0}.legal-hub-overview-tabs button,.legal-hub-unit-tabs button{align-items:center;gap:.38rem;display:inline-flex}.legal-hub-overview-tabs button strong,.legal-hub-unit-tabs button strong{color:inherit;background:var(--color-surface-muted);border-radius:999px;padding:.08rem .38rem;font-size:.7rem;font-weight:700}.legal-hub-overview-tabs button.is-active strong,.legal-hub-unit-tabs button.is-active strong{background:var(--color-success-soft)}.legal-hub-overview-card{border-left-width:4px;gap:.42rem;padding:.58rem .62rem;display:grid}.legal-hub-overview-card--lead{margin-bottom:.75rem}.legal-hub-overview-card--inset{margin-bottom:.15rem}.legal-hub-overview-card__title-row,.legal-hub-field-card__title-row,.legal-hub-unit-card__title-row{align-items:center;gap:.2rem;display:inline-flex}.legal-hub-overview-card__actions,.legal-hub-field-card__meta{align-items:center;gap:.38rem;display:inline-flex}.legal-hub-overview-card p{white-space:nowrap;text-overflow:ellipsis;margin:.08rem 0 0;font-size:.78rem;line-height:1.25;overflow:hidden}.legal-hub-inline-list{gap:.2rem;margin:0;padding-left:1rem;display:grid}.legal-hub-inline-list li{font-size:.78rem;line-height:1.2}.legal-hub-badge,.legal-hub-chip,.legal-hub-chip--date,.legal-hub-fact{padding:.26rem .5rem;font-size:.72rem;font-weight:700}.legal-hub-badge,.legal-hub-chip--date{background:var(--color-surface-muted);color:var(--color-text-muted-700)}.legal-hub-badge{font-variant-numeric:tabular-nums lining-nums;font-feature-settings:var(--num-font-feature)}.legal-hub-affected-list{background:var(--color-surface-soft);border:1px dashed var(--color-border-strong);border-radius:.72rem;flex-wrap:wrap;align-items:center;gap:.35rem;padding:.42rem .48rem;display:flex}.legal-hub-affected-list ul{flex-wrap:wrap;align-items:center;gap:.35rem;margin:0;padding:0;list-style:none;display:flex}.legal-hub-affected-list li{background:var(--color-surface-overlay);border:1px solid var(--color-border-default);border-radius:999px;align-items:center;gap:.26rem;min-width:0;padding:.14rem .24rem .14rem .42rem;display:inline-flex}.legal-hub-affected-pill__label{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:10rem;color:var(--color-text-default);font-size:.74rem;font-weight:700;overflow:hidden}.legal-hub-inline-btn{color:var(--color-text-primary);cursor:pointer;background:0 0;border:none;padding:0;font-size:.78rem;font-weight:700}.legal-hub-inline-btn--compact{border:1px dashed var(--color-border-strong);background:var(--color-surface-overlay);border-radius:999px;padding:.1rem .25rem;font-size:.72rem;line-height:1.1}.legal-hub-unit-list{gap:.45rem;display:grid}.legal-hub-unit-card{cursor:pointer;transition:box-shadow var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);border-left-width:4px;border-radius:.72rem;gap:.35rem;padding:.45rem .55rem;display:grid}.legal-hub-unit-card:hover{box-shadow:var(--shadow-card-hover)}.legal-hub-unit-card:focus-visible{outline:var(--focus-outline);outline-offset:2px}.legal-hub-unit-card__toggle{border:1px solid var(--color-border-default);background:var(--color-surface-soft);cursor:pointer;border-radius:999px;flex:none;justify-content:center;align-items:center;width:1.45rem;height:1.45rem;padding:0;display:flex}.legal-hub-unit-card__meta-row{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.legal-hub-unit-card__meta-pill{border:1px solid #0000;border-radius:999px;align-items:center;gap:.35rem;min-width:0;max-width:100%;padding:.2rem .48rem;font-size:.68rem;font-weight:700;line-height:1;display:inline-flex}.legal-hub-unit-card__meta-pill span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.legal-hub-unit-card__meta-pill--document,.legal-hub-unit-card__meta-pill--date{background:var(--color-surface-muted);border-color:var(--color-border-default);color:var(--color-text-muted-700)}.legal-hub-unit-card__meta-pill--issue{background:var(--color-warning-100);border-color:var(--color-warning-border);color:var(--color-warning-text-strong)}.legal-hub-unit-card__meta-pill--flagged{background:var(--color-surface-danger-soft-hover);border-color:var(--color-danger-soft);color:var(--color-danger-600)}.legal-hub-unit-card__summary,.legal-hub-unit-card__body,.legal-hub-unit-section,.legal-hub-field-card,.legal-hub-table-wrap{gap:.35rem;display:grid}.legal-hub-fact-row,.legal-hub-chip-row{flex-wrap:wrap;gap:.4rem;display:flex}.legal-hub-collapsed-header,.legal-hub-collapsed-row{grid-template-columns:minmax(6rem,.75fr) minmax(11rem,1.8fr) minmax(7rem,1fr) minmax(6rem,.8fr) minmax(7rem,.95fr) minmax(6rem,.85fr) minmax(6rem,.85fr) minmax(7rem,1fr) minmax(12rem,1.5fr);align-items:center;gap:.35rem;display:grid}.legal-hub-collapsed-header{z-index:2;border:1px solid var(--color-border-default);background:var(--table-header-bg);border-radius:.72rem;padding:.45rem .5rem;position:sticky;top:0}.legal-hub-collapsed-header span{color:var(--color-text-muted-700);font-family:var(--font-title), sans-serif;text-transform:uppercase;letter-spacing:.05em;font-size:.67rem;font-weight:800}.legal-hub-collapsed-header span:nth-child(4),.legal-hub-collapsed-header span:nth-child(5),.legal-hub-collapsed-header span:nth-child(6){text-align:right}.legal-hub-collapsed-row{border:1px solid var(--color-border-subtle);background:var(--color-surface-panel);border-radius:.56rem;padding:.24rem .42rem}.legal-hub-unit-card:hover .legal-hub-collapsed-row{background:var(--table-row-hover)}.legal-hub-collapsed-cell{gap:.08rem;min-width:0;padding:.15rem .2rem;display:grid}.legal-hub-collapsed-cell span{color:var(--color-text-muted-450);font-size:.68rem;line-height:1.2}.legal-hub-collapsed-cell strong{min-width:0;color:var(--color-text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;line-height:1.25;overflow:hidden}.legal-hub-collapsed-cell--num{text-align:right;justify-items:end}.legal-hub-collapsed-cell--num strong,.legal-hub-collapsed-cell--num .num{font-variant-numeric:tabular-nums lining-nums;font-feature-settings:var(--num-font-feature)}.legal-hub-collapsed-cell--num span{text-align:right}.legal-hub-collapsed-cell--flags{align-content:center}.legal-hub-collapsed-cell--flags .legal-hub-chip-row{gap:.3rem}.legal-hub-collapsed-cell--flags .legal-hub-chip{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.legal-hub-fact{border:1px solid #0000;border-radius:.75rem;gap:.12rem;min-width:7rem;padding:.42rem .55rem;display:grid;box-shadow:inset 0 1px #fff9}.legal-hub-fact strong{color:var(--color-text-primary);font-size:.8rem;line-height:1.2}.legal-hub-fact--overflow{background:var(--color-surface-soft);border-color:var(--color-border-subtle);color:var(--color-text-muted-600)}.legal-hub-fact--overflow strong{color:var(--color-text-muted-700)}.legal-hub-chip-row{padding-top:.05rem}.legal-hub-chip{border:1px solid #0000;border-radius:999px;padding:.14rem .4rem;font-size:.64rem}.legal-hub-unit-card__actions{flex-shrink:0}.legal-hub-unit-card__header{justify-content:flex-end;align-items:center;min-height:1.5rem}.legal-hub-unit-section{padding-top:.15rem;animation:.18s legal-hub-section-fade}.legal-hub-unit-section__header h5{margin:0}.legal-hub-unit-section__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}.legal-hub-field-card{padding:.8rem}.legal-hub-field-card__value{color:var(--color-text-primary);margin:0;font-size:.95rem;font-weight:700;line-height:1.45}.legal-hub-labeled-values{gap:.45rem;display:grid}.legal-hub-labeled-values div{background:var(--color-surface-soft);border-radius:.7rem;justify-content:space-between;gap:1rem;padding:.48rem .55rem;display:flex}.legal-hub-labeled-values dt{font-size:.74rem}.legal-hub-labeled-values dd{color:var(--ink);text-align:right;margin:0;font-weight:600}.legal-hub-table{border-collapse:collapse;font-variant-numeric:tabular-nums lining-nums;font-feature-settings:var(--num-font-feature);width:100%;font-size:.79rem}.legal-hub-table th,.legal-hub-table td{border-bottom:1px solid var(--table-border);text-align:left;vertical-align:top;padding:.5rem .6rem}.legal-hub-table th{color:var(--color-text-muted-700);font-family:var(--font-title), sans-serif;text-transform:uppercase;letter-spacing:.05em;font-size:.7rem;font-weight:700}.legal-hub-tone--neutral{border-left-color:var(--color-border-default)}.legal-hub-tone--info{border-left-color:var(--color-info-600);background:linear-gradient(180deg, var(--color-surface-panel), var(--color-white))}.legal-hub-tone--success{border-left-color:var(--color-success-600);background:linear-gradient(180deg, var(--color-surface-success), var(--color-white))}.legal-hub-tone--warning{border-left-color:var(--color-warning-border-emphasis);background:linear-gradient(180deg, var(--color-warning-50), var(--color-white))}.legal-hub-tone--critical{border-left-color:var(--color-danger-500);background:linear-gradient(180deg, var(--color-surface-danger), var(--color-white))}.legal-hub-chip.legal-hub-tone--warning,.legal-hub-fact.legal-hub-tone--warning{background:var(--color-warning-100);border-color:var(--color-warning-border-strong);color:var(--color-warning-text-strong)}.legal-hub-chip.legal-hub-tone--critical,.legal-hub-fact.legal-hub-tone--critical{background:var(--color-surface-danger-soft-hover);border-color:var(--color-danger-soft);color:var(--color-danger-600)}.legal-hub-chip.legal-hub-tone--success,.legal-hub-fact.legal-hub-tone--success{background:var(--color-success-soft);border-color:var(--color-border-success-soft);color:var(--color-success-800)}.legal-hub-chip.legal-hub-tone--neutral,.legal-hub-fact.legal-hub-tone--neutral,.legal-hub-chip.legal-hub-tone--info,.legal-hub-fact.legal-hub-tone--info{background:var(--color-surface-muted);border-color:var(--color-border-default);color:var(--color-text-muted-700)}.legal-hub-attention--normal{border-left-color:var(--color-border-default)}.legal-hub-attention--warning{border-left-color:var(--color-warning-border-emphasis)}.legal-hub-attention--critical{border-left-color:var(--color-danger-500)}.legal-hub-state-card{gap:.45rem;padding:1rem 1.05rem;display:grid}.legal-hub-state-card h4{margin:0}.legal-hub-state-card--error{border:1px solid var(--color-danger-soft);background:var(--color-surface-danger)}@keyframes legal-hub-section-fade{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (max-width:1100px){.legal-hub-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.legal-hub-overview-grid,.legal-hub-unit-section__grid{grid-template-columns:minmax(0,1fr)}.legal-hub-collapsed-header,.legal-hub-collapsed-row{grid-template-columns:minmax(6rem,.7fr) minmax(10rem,1.6fr) repeat(6,minmax(6rem,1fr)) minmax(10rem,1.3fr)}}@media (max-width:760px){.legal-hub-overview__header,.legal-hub-overview__actions,.legal-hub-overview__meta,.legal-hub-section-card__header,.legal-hub-toolbar,.legal-hub-unit-card__meta-row,.legal-hub-overview-card__header,.legal-hub-unit-card__header,.legal-hub-field-card__header,.legal-hub-affected-list li{flex-direction:column}.legal-hub-overview__meta{text-align:left;justify-items:start}.legal-hub-unit-card__actions{width:100%}.legal-hub-unit-card__header{align-items:stretch}.legal-hub-collapsed-header{display:none}.legal-hub-collapsed-row{grid-template-columns:minmax(0,1fr);gap:.22rem}.legal-hub-collapsed-cell{border-bottom:1px dashed var(--color-border-subtle);padding:.2rem 0}.legal-hub-collapsed-cell--num{text-align:left;justify-items:start}.legal-hub-collapsed-cell--num span{text-align:left}.legal-hub-collapsed-cell:last-child{border-bottom:none}.legal-hub-collapsed-cell:before{content:attr(data-column);color:var(--color-text-muted-700);text-transform:uppercase;letter-spacing:.05em;font-size:.64rem;font-weight:700}}
}

@layer components.financial {
.num{font-variant-numeric:tabular-nums lining-nums;font-feature-settings:var(--num-font-feature);text-align:right;white-space:nowrap;font-weight:600}.num--input{color:var(--num-input)}.num--calc{color:var(--num-calc)}.num--linked{color:var(--num-linked)}.num--muted,.num.is-dash{color:var(--num-muted);font-weight:500}.fin-table{gap:.4rem;display:grid}.fin-units-note{color:var(--color-text-muted-600);letter-spacing:.01em;font-size:.72rem;font-weight:500}.financial-table{border-collapse:collapse;width:100%;color:var(--color-text-default);font-size:.82rem}.financial-table caption{caption-side:top;text-align:left;padding-bottom:.4rem}.financial-table thead th{z-index:1;background:var(--table-header-bg);color:var(--color-text-muted-700);font-family:var(--font-title), sans-serif;text-transform:uppercase;letter-spacing:.05em;text-align:right;border-bottom:1px solid var(--table-rule);white-space:nowrap;padding:.5rem .7rem;font-size:.7rem;font-weight:700;position:sticky;top:0}.financial-table thead th:first-child,.financial-table tbody th,.financial-table td.fin-label{text-align:left}.financial-table tbody th,.financial-table td.fin-label{color:var(--color-text-strong);padding:.42rem .7rem;font-weight:600}.financial-table tbody td{border-bottom:1px solid var(--table-border);padding:.42rem .7rem}.financial-table tbody tr:hover td,.financial-table tbody tr:hover th{background:var(--table-row-hover)}.financial-table td.num{text-align:right}.financial-table tr.fin-row--section th,.financial-table tr.fin-row--section td{text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-primary);background:0 0;border-bottom:none;padding-top:.8rem;font-size:.72rem;font-weight:700}.financial-table tr.fin-row--indent th:first-child,.financial-table tr.fin-row--indent td.fin-label{color:var(--color-text-muted-700);padding-left:1.5rem;font-weight:500}.financial-table tr.fin-row--subtotal th,.financial-table tr.fin-row--subtotal td{border-top:var(--table-subtotal-rule);border-bottom:none;font-weight:700}.financial-table tr.fin-row--total th,.financial-table tr.fin-row--total td{border-top:var(--table-total-rule);color:var(--color-text-strong);border-bottom:none;font-weight:800}.financial-table tr.fin-row--total td.num{color:var(--color-text-strong)}@media (max-width:640px){.fin-table{overflow-x:auto}.financial-table{min-width:32rem}}
}

@layer components.source-sidebar {
.field-source-sidebar{opacity:0;width:min(500px,92vw);height:100vh;transition:transform var(--duration-sidebar) var(--ease-emphasized), right var(--duration-sidebar) var(--ease-emphasized), box-shadow var(--duration-fast) var(--ease-standard), opacity var(--duration-fast) var(--ease-standard);border-left:1px solid var(--color-border-default);background:var(--color-surface-sidebar);z-index:var(--z-sidebar);box-shadow:var(--shadow-sidebar);pointer-events:auto;will-change:transform, opacity;grid-template-rows:auto 1fr;display:grid;position:fixed;top:0;right:0;transform:translate(100%)}.field-source-sidebar.is-expanded{width:min(760px,96vw)}.field-source-sidebar.is-open{opacity:1;transform:translate(0)}.field-source-sidebar.is-layered{pointer-events:none;box-shadow:-6px 0 18px #141f2514}.field-source-sidebar.is-layered[data-layer-depth="1"]{opacity:.98}.field-source-sidebar.is-layered[data-layer-depth="2"]{opacity:.94}.field-source-sidebar.is-layered[data-layer-depth="3"]{opacity:.9}.field-source-sidebar.is-layered .field-source-sidebar-header,.field-source-sidebar.is-layered .field-source-block{background:var(--color-surface-overlay-strong)}.field-source-sidebar-header{border-bottom:1px solid var(--color-border-subtle-strong);background:var(--color-white);justify-content:space-between;align-items:flex-start;gap:.7rem;padding:.95rem;display:flex}.field-source-sidebar-header h3{margin-top:.2rem;font-size:1.04rem}.field-source-sidebar-header small{color:var(--color-text-muted-550);overflow-wrap:anywhere;margin-top:.2rem;font-size:.72rem;display:block}.field-source-close{border:1px solid var(--color-border-default);background:var(--color-white);width:2rem;height:2rem;color:var(--color-text-muted-400);transition:border-color var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.field-source-close:hover:not(:disabled){border-color:var(--primary);background:var(--color-surface-success);color:var(--primary)}.field-source-close:focus-visible{box-shadow:var(--focus-ring);outline:none}.field-source-close:disabled{cursor:default}.field-source-body{align-content:start;gap:.9rem;padding:.95rem;display:grid;overflow:auto}.field-source-block{background:var(--color-white);border:1px solid var(--color-border-subtle-strong);border-radius:var(--radius-md);box-shadow:var(--shadow-card-soft);gap:.62rem;padding:.9rem;display:grid}.field-source-value-row,.field-source-inline-heading{flex-wrap:wrap;align-items:center;gap:.35rem;display:inline-flex}.field-source-value-row{color:var(--color-text-primary);gap:.45rem}.field-source-block--current{order:10}.field-source-block--resolution{order:20}.field-source-block--dependencies{order:30}.field-source-block--issues{order:40}.field-source-block--sources{order:50}.field-source-block--technical{order:60}.field-source-block--conflict{order:70}.field-source-block--timeline{order:80}.field-source-block--location{order:90}.field-source-tag{background:var(--color-surface-success-soft);width:fit-content;color:var(--color-text-primary);text-transform:uppercase;letter-spacing:.04em;border-radius:999px;padding:.2rem .55rem;font-size:.68rem;font-weight:700}.field-source-tag--danger{background:var(--color-surface-danger-soft);color:var(--color-danger-600)}.field-source-related{color:var(--color-text-primary);text-align:left;background:0 0;border:none;align-items:center;gap:.24rem;padding:0;font-size:.86rem;font-weight:700;display:inline-flex}.field-source-related:hover{text-decoration:underline}.field-source-editor{gap:.55rem;margin-top:.78rem;display:grid}.field-source-editor__row{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:.45rem;display:grid}.field-source-editor__icon{color:var(--color-text-muted-400);align-items:center;padding-left:.1rem;display:inline-flex}.field-source-editor__input,.field-source-editor__unit-select{border:1px solid var(--color-border-soft);background:var(--color-white);border-radius:.58rem;min-width:0;padding:.46rem .58rem;font-size:.92rem;box-shadow:inset 0 1px #10181c05}.field-source-editor__controls{gap:.5rem;min-width:0;display:grid}.field-source-editor__input{width:100%}.field-source-editor__unit-group{flex-wrap:wrap;align-items:center;gap:.36rem;display:flex}.field-source-editor__convert-toggle,.field-source-editor__apply{border-radius:.58rem;align-items:center;gap:.3rem;padding:.42rem .62rem;font-size:.78rem;font-weight:700;display:inline-flex}.field-source-editor__convert-toggle{background:var(--color-white);color:var(--color-text-muted-850)}.field-source-editor__convert-toggle.is-open{border-color:var(--color-border-success-soft);background:var(--color-surface-success);color:var(--color-success-800)}.field-source-editor__save{background:linear-gradient(135deg, var(--color-success-600) 0%, var(--color-success-800) 100%);color:var(--color-white);white-space:nowrap;border:none;border-radius:.58rem;justify-content:center;align-self:stretch;align-items:center;padding:.5rem .82rem;font-size:.88rem;font-weight:700;line-height:1;display:inline-flex}.field-source-editor__save:disabled{opacity:.55;cursor:default}.field-source-editor__convert-panel{border:1px solid var(--color-border-convert);background:linear-gradient(180deg, var(--color-white) 0%, var(--color-surface-panel) 100%);border-radius:.72rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem;padding:.56rem .62rem;display:grid}.field-source-editor__convert-preview{gap:.12rem;min-width:0;display:grid}.field-source-editor__convert-preview small{color:var(--color-text-muted-475);text-transform:uppercase;letter-spacing:.05em;font-size:.68rem}.field-source-error{color:var(--color-danger-600);font-size:.8rem;font-weight:700}.field-source-editor__convert-preview strong{color:var(--color-text-strong);font-size:.82rem}.issue-summary-strip{border-left:3px solid var(--color-warning-border-emphasis);background:linear-gradient(90deg, var(--color-warning-50) 0%, var(--color-white) 100%);justify-content:space-between;align-items:center;gap:.9rem;display:flex}.workspace-attention-action{border:1px solid var(--color-warning-border);background:linear-gradient(135deg, var(--color-warning-100) 0%, var(--color-warning-200) 100%);color:var(--color-warning-text-strong);border-radius:var(--radius-md);padding:.48rem .82rem;font-size:.8rem;font-weight:600}.workspace-attention-action:hover{border-color:var(--color-warning-border-strong);background:linear-gradient(135deg, var(--color-warning-150) 0%, var(--color-warning-300) 100%)}.issue-summary-strip h4{color:var(--color-warning-text-strong);font-size:.92rem}.back-link-button,.workspace-primary-action,.workspace-secondary-link{align-items:center;gap:.42rem;display:inline-flex}.back-link-button{border:1px solid var(--color-border-default);background:var(--color-surface-overlay-muted);width:fit-content;color:var(--color-text-muted-800);border-radius:var(--radius-sm);padding:.28rem .6rem;font-size:.74rem;font-weight:600}.workspace-primary-action{border:1px solid var(--av-green);background:var(--av-green);color:var(--color-white);border-radius:var(--radius-md);transition:background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);padding:.5rem .9rem;font-size:.82rem;font-weight:600;box-shadow:0 1px 2px #021f182e}.workspace-primary-action:hover{background:var(--av-dark);border-color:var(--av-dark);transform:translateY(-1px);box-shadow:0 10px 24px #03473742}.workspace-primary-action:focus-visible{box-shadow:var(--focus-ring), 0 1px 2px #021f182e;outline:none}.workspace-primary-action--danger{background:var(--color-danger-600);border-color:var(--color-danger-600);box-shadow:0 1px 2px #7a271a33}.workspace-primary-action--danger:hover{background:var(--color-danger-800);border-color:var(--color-danger-800);box-shadow:0 10px 24px #7a271a3d}.workspace-primary-action:disabled{opacity:.55;cursor:wait;box-shadow:none;transform:none}.workspace-secondary-link{border:1px solid var(--color-border-default);background:var(--color-white);border-radius:var(--radius-md);color:var(--color-text-muted-800);padding:.42rem .8rem;font-size:.76rem;font-weight:600}.workspace-secondary-link:hover,.back-link-button:hover{border-color:var(--primary);background:var(--color-surface-success)}
}

@layer components.access {
.access-shell{gap:1rem;display:grid}.access-hero{border:1px solid var(--color-border-strong);border-radius:var(--radius-xl);background:radial-gradient(circle at top right, #0347371a, transparent 38%), linear-gradient(135deg, var(--color-white) 0%, var(--color-surface-panel) 52%, var(--color-surface-muted) 100%);justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.1rem 1.2rem;display:flex}.access-hero h1{font-family:var(--font-display);letter-spacing:-.01em;color:var(--color-text-strong);margin:.12rem 0 0;font-size:clamp(1.5rem,2.2vw,1.95rem);font-weight:600}.access-hero__copy{max-width:46rem}.access-hero__actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:inline-flex}.access-summary-grid,.access-grid,.access-role-card-grid,.access-form-grid,.access-meta-grid{gap:.8rem;display:grid}.access-summary-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.access-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.95fr)}.access-role-card-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.access-form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.access-meta-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.access-panel,.access-summary-card,.access-member-card,.access-role-card,.access-form-card,.access-notice,.access-inline-editor{border:1px solid var(--color-border-strong);border-radius:var(--radius-lg);background:var(--color-white);box-shadow:var(--shadow-card)}.access-panel{overflow:hidden}.access-panel__header,.access-panel__body,.access-form-card,.access-role-card,.access-member-card,.access-inline-editor,.access-notice{padding:.95rem 1rem}.access-panel__header{border-bottom:1px solid var(--color-border-subtle);justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.access-panel__header h2,.access-subsection__header strong,.access-form-card__header strong{color:var(--color-text-strong);font-family:var(--font-title), sans-serif;letter-spacing:-.005em;margin:0}.access-panel__header p,.access-subsection__header small,.access-form-card__header small,.access-role-card p,.access-summary-card p,.access-notice p,.access-member-card small,.access-role-picker>span{color:var(--color-text-muted-600);margin:.18rem 0 0;font-size:.82rem;line-height:1.45}.access-panel__body,.access-subsection,.access-form-card,.access-role-card,.access-member-card,.access-role-picker,.access-role-picker__options,.access-member-list,.access-actions-row,.access-chip-row,.access-inline-editor,.access-notice__actions{gap:.75rem;display:grid}.access-subsection+.access-subsection{margin-top:1rem}.access-subsection__header{gap:.16rem;display:grid}.access-summary-card{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.8rem;padding:.9rem 1rem;display:grid}.access-summary-card__icon{border-radius:var(--radius-md);width:2.35rem;height:2.35rem;color:var(--av-green);background:#03473717;justify-content:center;align-items:center;display:inline-flex}.access-summary-card small,.access-meta-grid small{color:var(--color-text-muted-600);text-transform:uppercase;letter-spacing:.05em;font-size:.72rem;display:block}.access-summary-card strong,.access-meta-grid strong{color:var(--color-text-strong);margin-top:.2rem;font-size:1.18rem;display:block}.access-field{gap:.34rem;display:grid}.access-field span{color:var(--color-text-muted-800);text-transform:uppercase;letter-spacing:.04em;font-size:.74rem;font-weight:700}.access-field input,.access-field select,.access-field textarea{border:1px solid var(--av-sage-3);background:var(--color-white);color:var(--color-text-default);transition:border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);border-radius:10px;padding:.66rem .78rem;font-size:.92rem}.access-field input::placeholder,.access-field textarea::placeholder{color:var(--color-text-muted-450)}.access-field textarea{resize:vertical;min-height:92px}.access-field input:focus,.access-field select:focus,.access-field textarea:focus{border-color:var(--av-green);box-shadow:var(--focus-ring);outline:none}.access-check-card{border:1px solid var(--color-border-strong);background:var(--color-surface-raised);border-radius:.82rem;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.65rem;padding:.72rem .8rem;display:grid}.access-check-card input{margin-top:.18rem}.access-check-card strong,.access-member-card strong,.access-role-card strong,.access-form-card__header strong,.access-subsection__header strong,.access-notice strong{color:var(--color-text-strong)}.access-chip-row{flex-wrap:wrap;gap:.4rem;display:flex}.access-chip{border-radius:var(--radius-pill);background:var(--color-surface-success-soft);color:var(--color-text-primary);align-items:center;padding:.28rem .58rem;font-size:.72rem;font-weight:700;display:inline-flex}.access-chip.is-outline{background:var(--color-surface-soft);color:var(--color-text-muted-800);border:1px solid var(--color-border-strong)}.access-chip.is-muted{background:var(--color-surface-muted);color:var(--color-text-muted-600)}.access-member-card__header,.access-role-card__header,.access-notice{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.access-status-pill{border-radius:var(--radius-pill);background:var(--color-surface-success-soft);color:var(--color-success-800);white-space:nowrap;align-items:center;padding:.24rem .58rem;font-size:.72rem;font-weight:700;display:inline-flex}.access-status-pill.is-active,.access-status-pill.is-org-wide{background:var(--color-info-soft);color:var(--color-info-600)}.access-status-pill.is-disabled,.access-status-pill.is-suspended,.access-status-pill.is-revoked{background:var(--color-surface-danger-soft-hover);color:var(--color-danger-600)}.access-status-pill.is-pending{background:var(--color-warning-100);color:var(--color-warning-text-strong)}.access-actions-row{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.access-danger-link{color:var(--color-danger-600)}.access-helper-text{color:var(--color-text-muted-600);margin:-.15rem 0 0;font-size:.8rem;line-height:1.45}.access-helper-text--warning{color:var(--color-danger-600);font-weight:700}.access-notice{border-color:var(--color-border-success-soft);background:linear-gradient(180deg, var(--color-surface-success) 0%, var(--color-surface-success-soft) 100%)}.access-notice--info{border-color:var(--color-border-convert);background:linear-gradient(180deg, var(--color-surface-raised) 0%, var(--color-info-soft) 100%)}.access-notice__actions{justify-items:end;min-width:10rem}.access-back-row{justify-content:flex-start;display:flex}.access-collapse{gap:.8rem;display:grid}.access-collapse__trigger{border:1px solid var(--color-border-strong);background:linear-gradient(180deg, var(--color-surface-raised) 0%, var(--color-surface-soft) 100%);border-radius:.85rem;padding:.85rem .95rem}.access-collapse__title,.access-collapse__meta{align-items:center;gap:.2rem;display:inline-grid}.access-collapse__title small{color:var(--color-text-muted-600)}.access-collapse__meta{grid-auto-flow:column;gap:.6rem}.access-invitation-list{gap:.75rem;display:grid}.access-invitation-card{background:linear-gradient(180deg, var(--color-white) 0%, var(--color-surface-panel) 100%)}.access-role-card__eyebrow{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.7rem;display:flex}.access-role-card__meta{border-radius:var(--radius-lg);background:var(--color-surface-soft);border:1px solid var(--color-border-subtle);grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;padding:.8rem;display:grid}.access-role-card__meta div{gap:.15rem;display:grid}.access-role-card__meta small,.access-role-card__permissions small{color:var(--color-text-muted-600);text-transform:uppercase;letter-spacing:.05em;font-size:.72rem}.access-role-card__meta strong{font-size:.86rem}.access-role-card__permissions{gap:.5rem;display:grid}.access-permission-list{gap:.45rem;margin:0;padding:0;list-style:none;display:grid}.access-permission-list li{border-radius:var(--radius-md);background:var(--color-surface-panel);border:1px solid var(--color-border-subtle);color:var(--color-text-muted-850);grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.45rem;padding:.5rem .58rem;font-size:.78rem;display:grid}.access-target-mode{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;display:grid}.access-target-mode__option{border:1px solid var(--color-border-strong);border-radius:var(--radius-lg);background:linear-gradient(180deg, var(--color-white) 0%, var(--color-surface-panel) 100%);text-align:left;color:var(--color-text-strong);transition:border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);grid-template-columns:auto minmax(0,1fr);gap:.7rem;padding:.82rem .88rem;display:grid}.access-target-mode__option:hover:not(.is-active){border-color:var(--av-sage-4)}.access-target-mode__option small{color:var(--color-text-muted-600);margin-top:.16rem;font-size:.77rem;line-height:1.4;display:block}.access-target-mode__option.is-active{border-color:var(--av-green);background:linear-gradient(180deg, var(--color-surface-success) 0%, var(--color-surface-success-soft) 100%);box-shadow:var(--focus-ring)}.access-target-mode__icon{border-radius:var(--radius-md);width:2rem;height:2rem;color:var(--av-green);background:#03473717;justify-content:center;align-items:center;display:inline-flex}.access-target-mode__option.is-active .access-target-mode__icon{color:var(--av-green);background:#03473724}.access-toast-stack{z-index:95;width:min(24rem,100vw - 2rem);position:fixed;top:1.2rem;right:1.2rem}.access-toast{border:1px solid var(--color-border-soft);background:var(--color-surface-overlay);box-shadow:var(--shadow-overlay-soft);border-radius:var(--radius-lg);justify-content:space-between;align-items:flex-start;gap:.8rem;padding:.82rem .92rem;display:flex}.access-toast strong{color:var(--color-text-strong)}.access-toast p{color:var(--color-text-muted-600);margin:.18rem 0 0;font-size:.8rem;line-height:1.45}.access-toast--success{border-color:var(--color-border-success-soft)}.access-toast--info{border-color:var(--color-border-convert)}.access-toast--error{border-color:var(--color-danger-soft)}.access-toast__close,.access-modal__close{color:var(--color-text-muted-600);cursor:pointer;background:0 0;border:none;padding:0}.access-modal-backdrop{z-index:100;background:#10182873;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.access-modal{border-radius:var(--radius-xl);background:var(--color-white);border:1px solid var(--color-border-strong);width:min(100%,36rem);box-shadow:var(--shadow-dialog);gap:.95rem;padding:1.15rem 1.2rem;display:grid}.access-modal__header,.access-modal__actions{justify-content:space-between;align-items:flex-start;gap:.8rem;display:flex}.access-modal__header p{color:var(--color-text-muted-600);margin:.2rem 0 0;font-size:.84rem;line-height:1.45}.access-modal__warning{border-radius:var(--radius-lg);border:1px solid var(--color-danger-soft);background:var(--color-surface-danger);grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.6rem;padding:.78rem .85rem;display:grid}.access-modal__warning p{color:var(--color-danger-600);margin:0;font-size:.82rem;font-weight:700;line-height:1.45}.access-modal__value{gap:.35rem;display:grid}.access-modal__value small{color:var(--color-text-muted-600);text-transform:uppercase;letter-spacing:.05em;font-size:.72rem}.access-modal__value code{border-radius:var(--radius-md);border:1px solid var(--color-border-strong);background:var(--color-surface-panel);color:var(--color-text-strong);overflow-wrap:anywhere;padding:.82rem .88rem;font-size:.82rem;line-height:1.45;display:block}
}

@layer components.dialogs {
.ui-dialog-backdrop{z-index:100;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#021f1866;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.ui-dialog{border-radius:var(--radius-xl);background:var(--color-white);border:1px solid var(--color-border-strong);width:min(100%,34rem);box-shadow:var(--shadow-dialog);gap:1rem;padding:1.15rem 1.2rem;display:grid}.ui-dialog--lg{width:min(100%,58rem)}.ui-dialog__header,.ui-dialog__footer{justify-content:space-between;align-items:flex-start;gap:.8rem;display:flex}.ui-dialog__footer{border-top:1px solid var(--color-border-subtle);align-items:center;margin-top:.1rem;padding-top:1rem}.ui-dialog__title-block{gap:.22rem;display:grid}.ui-dialog__title-block strong{color:var(--color-text-strong);font-family:var(--font-title), sans-serif;letter-spacing:-.005em;font-size:1.05rem}.ui-dialog__title-block p{color:var(--color-text-muted-600);margin:0;font-size:.84rem;line-height:1.45}.ui-dialog__close{border-radius:var(--radius-md);width:1.9rem;height:1.9rem;color:var(--color-text-muted-600);cursor:pointer;transition:background-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);background:0 0;border:none;justify-content:center;align-items:center;margin:-.2rem -.2rem 0 0;padding:0;display:inline-flex}.ui-dialog__close:hover{background:var(--color-surface-muted);color:var(--color-text-strong)}.ui-dialog__close:focus-visible{outline:var(--focus-outline);outline-offset:2px}.ui-dialog__body{gap:1rem;display:grid}.confirmation-dialog__warning{border-radius:var(--radius-lg);border:1px solid var(--color-danger-soft);background:var(--color-surface-danger);grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.6rem;padding:.78rem .85rem;display:grid}.confirmation-dialog__warning p{color:var(--color-danger-600);margin:0;font-size:.82rem;font-weight:700;line-height:1.45}.forced-field-review-modal-backdrop{z-index:240;background:#020617bd;justify-content:center;align-items:flex-start;padding:1.25rem 1rem;display:flex;position:fixed;inset:0;overflow-y:auto}.forced-field-review-modal{border:1px solid var(--color-danger-500);background:linear-gradient(180deg, var(--color-surface-danger-banner) 0%, var(--color-white) 16%);border-radius:1rem;grid-template-rows:auto auto minmax(0,1fr);align-content:start;gap:.85rem;width:min(96vw,78rem);min-height:0;max-height:min(94vh,72rem);padding:1rem 1.05rem 1.05rem;display:grid;overflow:hidden auto;box-shadow:0 28px 72px #0206176b}.forced-field-review-modal__header{justify-content:space-between;align-items:flex-start;gap:.9rem;display:flex}.forced-field-review-modal__title-block{gap:.18rem;min-width:0;display:grid}.forced-field-review-modal__title-block strong{color:var(--color-danger-600);font-size:1rem}.forced-field-review-modal__title-block p{color:var(--color-text-muted-600);margin:0;font-size:.84rem;line-height:1.45}.forced-field-review-modal__close{color:var(--color-text-muted-600);cursor:pointer;background:0 0;border:none;padding:0}.forced-field-review-modal__progress{gap:.32rem;min-width:0;display:grid}.forced-field-review-modal__progress-track{background:color-mix(in srgb, var(--color-danger-500) 18%, white);border-radius:999px;width:100%;height:.48rem;overflow:hidden}.forced-field-review-modal__progress-fill{background:linear-gradient(90deg, var(--color-danger-500) 0%, var(--color-danger-600) 100%);height:100%;transition:width .18s}.forced-field-review-modal__progress small{color:var(--color-text-muted-600);font-size:.72rem;font-weight:700}.forced-field-review-modal__queue{align-content:start;gap:.45rem;min-width:0;display:grid;overflow:hidden}.forced-field-review-modal__queue-transition{min-width:0;animation-duration:.18s;animation-timing-function:ease-out;animation-fill-mode:both}.forced-field-review-modal__queue-transition--forward{animation-name:forced-field-review-slide-forward}.forced-field-review-modal__queue-transition--backward{animation-name:forced-field-review-slide-backward}@keyframes forced-field-review-slide-forward{0%{opacity:0;transform:translate(10px)}to{opacity:1;transform:translate(0)}}@keyframes forced-field-review-slide-backward{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}@media (prefers-reduced-motion:reduce){.forced-field-review-modal__queue-transition{animation:none}}
}

@layer components.property-settings {
.property-settings{gap:1rem;display:grid}.property-settings__hero{border-radius:var(--radius-xl);border:1px solid var(--color-border-strong);background:radial-gradient(circle at top right, #0347371a, transparent 38%), linear-gradient(135deg, var(--color-white) 0%, var(--color-surface-panel) 52%, var(--color-surface-muted) 100%);justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.1rem 1.2rem;display:flex}.property-settings__hero h2{color:var(--color-text-strong);font-family:var(--font-display);letter-spacing:-.01em;margin:.14rem 0 0;font-size:clamp(1.3rem,2vw,1.6rem);font-weight:600}.property-settings__meta-row{flex-wrap:wrap;gap:.4rem;margin-top:.42rem;display:flex}.property-settings__copy-feedback{color:var(--color-success-700);margin:-.1rem 0 0;font-size:.82rem;font-weight:700}.property-settings__inline-id{border:1px solid var(--color-border-strong);color:var(--color-text-muted-600);border-radius:var(--radius-pill);background:#ffffffd1;align-items:center;gap:.42rem;margin-top:.7rem;padding:.35rem .58rem;font-size:.76rem;display:inline-flex}.property-settings__inline-id code{color:var(--color-text-strong)}.property-settings__summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;display:grid}.property-settings__summary-card{border:1px solid var(--color-border-strong);border-radius:var(--radius-lg);background:radial-gradient(circle at top right, #03473712, transparent 36%), linear-gradient(180deg, var(--color-white) 0%, var(--color-surface-panel) 100%);box-shadow:var(--shadow-card);grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.85rem;padding:.95rem 1rem;display:grid}.property-settings__summary-icon{border-radius:var(--radius-md);background:var(--color-surface-success-soft);width:2.2rem;height:2.2rem;color:var(--av-green);justify-content:center;align-items:center;display:inline-flex}.property-settings__summary-copy{gap:.15rem;display:grid}.property-settings__summary-copy small{color:var(--color-text-muted-600);text-transform:uppercase;letter-spacing:.05em;font-size:.72rem;font-weight:700}.property-settings__summary-copy strong{color:var(--color-text-strong);font-size:1rem}.property-settings__layout{grid-template-columns:minmax(0,1.5fr) minmax(20rem,.9fr);align-items:start;gap:.9rem;display:grid}.property-settings__primary,.property-settings__secondary{gap:.9rem;display:grid}.property-settings__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;display:grid}.property-settings__card{border:1px solid var(--color-border-strong);border-radius:var(--radius-lg);background:var(--color-white);box-shadow:var(--shadow-card);gap:.9rem;padding:1.05rem 1.1rem;display:grid}.property-settings__card--wide{grid-column:1/-1}.property-settings__card--danger{border-color:var(--color-danger-soft);background:linear-gradient(180deg, var(--color-surface-danger-softest) 0%, var(--color-surface-danger-soft) 100%)}.property-settings__card-header{gap:.18rem;display:grid}.property-settings__card-header strong{color:var(--color-text-strong);font-family:var(--font-title), sans-serif;letter-spacing:-.005em;font-size:.98rem}.property-settings__card-header small{color:var(--color-text-muted-600);font-size:.82rem;line-height:1.45}.property-settings__list{gap:.72rem;margin:0;display:grid}.property-settings__list div{border-bottom:1px solid var(--color-border-subtle);gap:.18rem;padding-bottom:.65rem;display:grid}.property-settings__list div:last-child{border-bottom:none;padding-bottom:0}.property-settings__list dt{color:var(--color-text-muted-600);text-transform:uppercase;letter-spacing:.05em;font-size:.72rem;font-weight:700}.property-settings__list dd{color:var(--color-text-strong);margin:0;font-size:.92rem;line-height:1.45}.property-settings__list code{overflow-wrap:anywhere}.property-settings__support,.property-settings__danger-actions,.property-settings__access{gap:.8rem;display:grid}.property-settings__support p,.property-settings__danger-copy,.property-settings__help{color:var(--color-text-muted-600);margin:0;font-size:.82rem;line-height:1.45}.property-settings__danger-copy{color:var(--color-danger-800)}.property-settings__help{color:var(--color-danger-600);font-weight:700}.property-settings__error{color:var(--color-danger-600);margin:0;font-size:.82rem;font-weight:700;line-height:1.45}.property-settings__grant-form{grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr) auto;align-items:end;gap:.75rem;display:grid}.property-settings__grant-list{gap:.75rem;display:grid}.field-source-value{color:var(--color-text-primary);overflow-wrap:anywhere;font-size:1.25rem}.field-source-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;display:grid}.field-source-facts article{border:1px solid var(--color-border-subtle);border-radius:var(--radius-sm);background:var(--color-surface-panel);gap:.14rem;padding:.55rem .62rem;display:grid}.field-source-facts small{color:var(--color-text-muted-550);text-transform:uppercase;letter-spacing:.05em;font-size:.67rem;font-weight:700}.field-source-facts strong{color:var(--color-text-strong);font-size:.8rem}.field-source-document-card{border:1px solid var(--color-border-softest);background:var(--color-surface-raised);border-radius:.5rem;gap:.45rem;padding:.68rem;display:grid}.field-source-document-meta{gap:.12rem;display:grid}.field-source-document-meta strong{font-size:.83rem}.field-source-document-meta small{color:var(--color-text-muted-550);font-size:.69rem}.field-source-document-preview{border:1px dashed var(--color-border-strong);border-radius:var(--radius-sm);background:var(--color-surface-soft);padding:.62rem}.field-source-document-preview p{color:var(--color-text-muted-850);margin:0;font-size:.78rem;line-height:1.45}.field-source-document-preview mark{background:var(--color-warning-150);color:var(--color-text-strong);border-radius:var(--radius-xs);margin-top:.45rem;padding:.08rem .26rem;font-size:.8rem;font-weight:700;display:inline-block}.field-source-document-footer{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.field-source-document-open-link{color:var(--color-text-primary);align-items:center;gap:.32rem;font-size:.72rem;font-weight:700;text-decoration:none;display:inline-flex}.field-source-document-open-link:hover{color:var(--color-brand-700)}.field-source-document-footer small{color:var(--color-text-muted-475);overflow-wrap:anywhere;font-size:.67rem}.field-source-list{gap:.48rem;margin:0;padding:0;list-style:none;display:grid}.field-source-list li{border:1px solid var(--color-border-softest);background:var(--color-surface-raised);border-radius:.45rem;gap:.18rem;padding:.55rem;display:grid}.field-source-list li strong{font-size:.8rem}.field-source-list li small{color:var(--color-text-muted-550);overflow-wrap:anywhere;font-size:.68rem}.field-source-hash{overflow-wrap:anywhere;display:block}.field-source-timeline-more{gap:.55rem;display:grid}.field-source-timeline-more__button{width:fit-content}.field-source-timeline-more__loading{background:linear-gradient(#f4f9fbf5 0%,#f4f9fbb8 100%);border-radius:.6rem;padding:.4rem 0}.field-source-timeline-more__preview{max-height:3.2rem;position:relative;overflow:hidden}.field-source-timeline-more__preview:after{content:"";pointer-events:none;background:linear-gradient(#f9fcff00 0%,#f9fcfff5 100%);height:1.9rem;position:absolute;inset:auto 0 0}.field-source-list__teaser{border:1px solid var(--color-border-softest);background:var(--color-surface-raised);opacity:.72;border-radius:.45rem;gap:.18rem;padding:.55rem;display:grid;transform:translateY(-.2rem)}.workspace-collapse-trigger{cursor:pointer;text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;width:100%;padding:0;display:flex}.workspace-collapse-trigger:focus-visible{outline:var(--focus-outline);outline-offset:4px;border-radius:var(--radius-xs)}.workspace-badge{background:var(--color-surface-success-soft);color:var(--color-brand-700);border-radius:var(--radius-xs);padding:.15rem .5rem;font-size:.78rem;font-weight:600}.show-source-mode .source-mode-target{cursor:alias}
}

@layer components.auth {
.auth-page,.auth-status-screen{--av-green:#034737;--av-dark:#021f18;--av-lime:#a9ff9b;--av-ink:#22281e;background:radial-gradient(circle at 50% -10%,#0347370f,#0000 55%);place-items:center;min-height:calc(100vh - 4rem);padding:1.5rem;display:grid}.auth-status-screen.is-compact{min-height:calc(100vh - 7rem)}.auth-page__panel,.auth-status-screen__card{background:radial-gradient(circle at 100% 0,#0347371a,#0000 42%),linear-gradient(#fffffffa,#f8fbf9f2);border:1px solid #d7e0d4f2;border-radius:1.4rem;width:min(100%,34rem);padding:1.6rem;box-shadow:0 28px 54px #021f181f}.auth-page__brand,.auth-status-screen__card{gap:.85rem;display:grid}.auth-page__brand{grid-template-columns:1fr;align-items:start;gap:.65rem;margin-bottom:1.3rem}.auth-page__brand h1,.auth-status-screen__card h1{letter-spacing:-.01em;color:var(--av-ink,#22281e);margin:0;font-family:Roslindale,ui-serif,Georgia,Times New Roman,serif;font-size:1.8rem;font-weight:600;line-height:1.08}.auth-page__wordmark{letter-spacing:-.01em;color:var(--av-green,#034737);font-family:Roslindale,ui-serif,Georgia,serif;font-size:1.4rem;font-weight:600;line-height:1}.auth-page__eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--av-green,#034737);opacity:.75;font-size:.72rem;font-weight:700}.auth-page__brand p,.auth-status-screen__card p{margin:0}.auth-page__logo,.auth-status-screen__icon{width:2.6rem;height:2.6rem;color:var(--av-green,#034737);background:#0347371a;border-radius:.9rem;justify-content:center;align-items:center;display:inline-flex}.auth-form{gap:.82rem;display:grid}.auth-form__field{color:var(--color-text-muted-800);gap:.34rem;font-size:.84rem;font-weight:700;display:grid}.auth-form__field input{border:1px solid var(--av-sage-3,#d7e0d4);width:100%;color:var(--color-text-default);background:#fffffff5;border-radius:.88rem;padding:.82rem .92rem;font-size:.94rem}.auth-form__field input:focus{border-color:#034737b3;outline:none;box-shadow:0 0 0 3px #03473724}.auth-form__error{color:var(--color-danger-700);background:#fff1f1eb;border:1px solid #d432322e;border-radius:.88rem;align-items:center;gap:.48rem;padding:.72rem .84rem;font-size:.84rem;font-weight:600;display:inline-flex}.auth-form__submit{justify-content:center;align-items:center;gap:.5rem;margin-top:.2rem;display:flex}.auth-shortcuts{border-top:1px solid #d7e2e9e6;gap:.7rem;margin-top:1.2rem;padding-top:1rem;display:grid}.auth-shortcuts .auth-form__submit{margin-top:0}.auth-social{gap:.7rem;display:grid}.auth-social__divider{align-items:center;gap:.75rem;margin:.25rem 0;display:flex}.auth-social__rule{background:#d7e2e9e6;flex:1;height:1px}.auth-social__label{text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted-550);font-size:.72rem;font-weight:600}.auth-social__buttons{gap:.7rem;display:grid}.auth-shortcuts__header{gap:.18rem;display:grid}.auth-shortcuts__header strong{font-size:.86rem}.auth-shortcuts__header small{color:var(--color-text-muted-550);font-size:.78rem}.auth-shortcuts__list{gap:.55rem;display:grid}.auth-shortcut{text-align:left;background:#ffffffe6;border:1px solid #d7e2e9f2;border-radius:.9rem;gap:.16rem;padding:.78rem .88rem;display:grid}.auth-shortcut strong{color:var(--color-text-default);font-size:.88rem}.auth-shortcut small{color:var(--color-text-muted-550);font-size:.76rem}.auth-shortcut:hover{background:#f4f9f7f2;border-color:#27a17a6b}.auth-page__footer,.auth-status-screen__actions{flex-wrap:wrap;align-items:center;gap:.72rem;margin-top:1rem;display:inline-flex}.auth-page__footer a,.auth-status-screen__actions a{color:var(--av-green,#034737);font-weight:700}.auth-shortcut:hover{border-color:#0347376b}.auth-page .workspace-primary-action,.auth-status-screen .workspace-primary-action{background:var(--av-green,#034737);color:#fff;border:1.5px solid #0000;border-radius:10px;padding:.85rem 1.4rem;font-weight:600;transition:transform .18s,background-color .18s,box-shadow .18s;box-shadow:0 1px 2px #021f181f}.auth-page .workspace-primary-action:hover:not(:disabled),.auth-status-screen .workspace-primary-action:hover:not(:disabled){background:var(--av-dark,#021f18);transform:translateY(-1px);box-shadow:0 10px 24px #03473742}.auth-page .workspace-primary-action:disabled{opacity:.6}.auth-page .ghost-button{border:1.5px solid var(--av-sage-3,#d7e0d4);color:var(--av-green,#034737);background:0 0;border-radius:10px;padding:.8rem 1.4rem;font-weight:600}.auth-page .ghost-button:hover:not(:disabled){border-color:var(--av-green,#034737);background:#0347370f}
}


@layer components.icons {
.icon-btn{border-radius:var(--radius-sm);transition:background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);border:1px solid #0000;justify-content:center;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.85rem;font-weight:500;display:inline-flex}.icon-btn:focus-visible{outline:2px solid var(--color-success-500);outline-offset:2px}.icon-btn:disabled{cursor:not-allowed;opacity:.7}.icon-btn--primary{background:var(--color-success-500);color:var(--color-white)}.icon-btn--primary:hover{background:var(--color-success-700)}.icon-btn--secondary{background:var(--color-surface-canvas);color:var(--color-text-muted-400);border-color:var(--color-border-neutral)}.icon-btn--secondary:hover{background:var(--color-surface-neutral-soft)}.icon-btn--ghost{color:var(--color-text-muted-400);background:0 0}.icon-btn--ghost:hover{background:var(--color-surface-canvas)}.icon-btn--danger{background:var(--color-surface-danger-softest);color:var(--color-danger-500)}.icon-btn--danger:hover{background:var(--color-surface-danger-soft-hover)}.source-indicator{align-items:center;gap:.25rem;display:inline-flex}.source-indicator__label{color:var(--color-text-muted-400);font-size:.75rem;font-weight:500}.risk-badge{border-radius:.3rem;align-items:center;gap:.25rem;padding:.2rem .45rem;font-size:.75rem;font-weight:600;display:inline-flex}.conflict-summary{background:var(--color-surface-danger-banner);border:2px solid var(--color-danger-500);border-radius:.6rem;margin-bottom:1rem;padding:.75rem 1rem}.conflict-summary__header{justify-content:space-between;align-items:center;display:flex}.conflict-summary__title-wrap{align-items:center;gap:.5rem;display:inline-flex}.conflict-summary__toggle{color:var(--color-danger-500);cursor:pointer;background:0 0;border:none;font-weight:600}.conflict-summary__list{gap:.5rem;margin-top:.6rem;display:grid}.conflict-summary__item{background:#fff9;border-radius:.3rem;justify-content:space-between;align-items:flex-start;gap:.75rem;padding:.55rem;display:flex}.conflict-summary__item--high{border-left:3px solid var(--color-danger-500)}.conflict-summary__item--medium{border-left:3px solid var(--color-warning-500)}.conflict-summary__item--low{border-left:3px solid var(--color-warning-400)}.conflict-summary__item small{color:var(--color-text-muted-400);display:block}.conflict-summary__item button{background:var(--color-danger-500);color:var(--color-white);cursor:pointer;border:none;border-radius:.3rem;padding:.35rem .6rem;font-size:.75rem}
}

@layer responsive {
@media (max-width:1200px){.stats-grid,.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.chart-grid-2{grid-template-columns:1fr}.sensitivity-grid,.property-settings__summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:920px){.portfolio-compare-panel__header{flex-direction:column}.portfolio-compare-panel__actions{width:100%}.portfolio-compare-panel__actions .workspace-secondary-link{justify-content:center}.controls-row,.property-grid,.access-grid,.access-form-grid,.access-role-card-grid,.access-summary-grid,.access-meta-grid,.access-target-mode,.access-role-card__meta,.property-settings__layout,.property-settings__grid,.property-settings__grant-form{grid-template-columns:1fr}.access-hero,.property-settings__hero,.ui-dialog__header,.ui-dialog__footer{flex-direction:column}.split-grid{grid-template-columns:1fr}.overview-section-grid{grid-template-columns:1fr 1fr}.chart-grid-2{grid-template-columns:1fr}.workspace-topbar{flex-direction:column;align-items:flex-start}.workspace-topbar-actions{justify-content:flex-end;width:100%}.property-create-row,.property-create-row-four,.property-create-form-grid,.property-create-template-grid,.property-create-review-grid,.property-create-stepper{grid-template-columns:1fr 1fr}}@media (max-width:660px){.overview-section-grid{grid-template-columns:1fr}.portfolio-compare-panel{padding:.72rem}.portfolio-compare-panel__field-picker,.portfolio-compare-panel__selections{gap:.38rem}.compare-selection-chip,.compare-field-chip,.compare-card-toggle{justify-content:center;width:100%}.property-card__action-row{flex-direction:column;align-items:stretch}.property-card__action-row .workspace-secondary-link{justify-content:center}.page-shell{padding:.8rem}.page-header{flex-direction:column;gap:.8rem}.page-header__actions{justify-content:flex-start;width:100%}.page-header__meta-row{width:100%}.header-links{justify-content:flex-start;width:100%}.stats-grid,.kpi-grid,.property-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.property-settings__summary-grid,.sensitivity-grid,.chart-grid-2{grid-template-columns:1fr}.topbar-profile-meta{display:none}.field-source-sidebar{width:100vw;right:0!important}.assistant-panel{width:calc(100vw - 1.6rem);right:.8rem}.assistant-fab{padding:.6rem .8rem;font-size:.85rem;bottom:.8rem;right:.8rem}.dropdown-menu__panel,.topbar-toast,.access-toast-stack{width:min(100vw - 1.6rem,360px);right:0}.access-toast-stack{top:.8rem;left:.8rem}.access-modal{padding:.95rem}.access-modal__header,.access-modal__actions,.property-settings__hero,.property-settings__quick-actions{flex-direction:column}.field-source-editor__row,.field-source-editor__convert-panel,.field-source-facts,.topbar-notification-row{grid-template-columns:1fr;align-items:stretch}.field-source-editor__controls,.inline-field-editor__conversion{grid-template-columns:1fr}.field-source-editor__unit-group,.inline-field-editor__controls select,.field-source-editor__unit-select,.field-source-editor__convert-toggle,.field-source-editor__apply{width:100%}.issue-summary-strip{flex-direction:column;align-items:flex-start}.property-create-row,.property-create-row-four,.property-create-form-grid,.property-create-template-grid,.property-create-review-grid,.property-create-stepper{grid-template-columns:1fr}}
}

@layer theme,base,layout,components.ui-feedback,components.ui-shortcuts,components.portfolio,components.property-create,components.shared-workspace,components.assistant-topbar,components.fields,components.review-queue,components.documents,components.legal-hub,components.financial,components.source-sidebar,components.access,components.dialogs,components.property-settings,components.auth,components.icons,responsive;
