@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-700:oklch(50.5% .213 27.518);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-purple-500:oklch(62.7% .265 303.9);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-white:#fff;--spacing:.25rem;--container-md:28rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-medium:500;--font-weight-semibold:600;--radius-md:.375rem;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-8{margin-bottom:calc(var(--spacing) * 8)}.block{display:block}.flex{display:flex}.inline{display:inline}.table{display:table}.min-h-screen{min-height:100vh}.w-full{width:100%}.max-w-md{max-width:var(--container-md)}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-gray-300{border-color:var(--color-gray-300)}.bg-red-50{background-color:var(--color-red-50)}.bg-white{background-color:var(--color-white)}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-400{--tw-gradient-from:var(--color-blue-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-purple-500{--tw-gradient-to:var(--color-purple-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.p-3{padding:calc(var(--spacing) * 3)}.p-10{padding:calc(var(--spacing) * 10)}.text-center{text-align:center}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-red-700{color:var(--color-red-700)}.text-white{color:var(--color-white)}.italic{font-style:italic}.underline{text-decoration-line:underline}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media(hover:hover){.hover\:opacity-90:hover{opacity:.9}}.focus\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-blue-100:focus{--tw-ring-color:var(--color-blue-100)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-gray-100:disabled{background-color:var(--color-gray-100)}.disabled\:opacity-70:disabled{opacity:.7}}:root{color:#0f172a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f8fafc;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.4}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}h1,h2,h3,p{margin:0}h1{font-size:1.65rem}h2{margin-top:1rem;margin-bottom:.5rem;font-size:1.2rem}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.layout-root{display:grid;grid-template-columns:320px 1fr;min-height:100vh;height:auto;overflow:visible;background:radial-gradient(circle at 18% 14%,rgba(35,87,255,.1),transparent 46%),radial-gradient(circle at 88% 12%,rgba(14,165,233,.08),transparent 44%),#f2f6fb}.sidebar{background:linear-gradient(180deg,#0a1530,#0e2147);color:#d8e3f6;padding:1.1rem .85rem;display:flex;flex-direction:column;gap:.9rem;border-right:1px solid #1d3c72;height:100vh;overflow-y:auto;overflow-x:hidden;position:sticky;top:0}.brand{color:#f8fbff;text-decoration:none;display:block;border:1px solid rgba(147,197,253,.28);background:#0f2c5fbf;border-radius:12px;padding:.75rem .8rem;font-size:1.02rem;font-weight:700;letter-spacing:.01em}.nav-list{display:flex;flex-direction:column;gap:.25rem}.nav-link{color:#d5e2f8;text-decoration:none;border-radius:10px;padding:.58rem .68rem;font-size:.92rem;border:1px solid transparent;transition:all .18s ease}.nav-link:hover,.nav-link.active{background:#5a99ff33;border-color:#93c5fd66;color:#fff}.nav-section{color:#97b1dd;font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;margin-top:.55rem;margin-bottom:.2rem;padding:0 .35rem;font-weight:700}.main-content{background:transparent;display:grid;grid-template-rows:auto 1fr;min-width:0;min-height:100vh;height:auto;overflow:visible}.topbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;background:#ffffffed;border-bottom:1px solid #d7e2f2;padding:1rem 1.35rem;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.topbar-title{font-size:1.1rem;font-weight:700;color:#102645}.topbar-subtitle{color:#466084;font-size:.84rem}.topbar-right{display:flex;align-items:center;gap:.75rem;color:#314c72}.sidebar-search{padding:.52rem;border-radius:12px;border:1px solid rgba(147,197,253,.24);background:#0e2955ad;display:grid;gap:.5rem}.sidebar-search-input{width:100%;margin:0;border:1px solid #3a5f96;color:#e5efff;background:#17315d}.sidebar-search-input::placeholder{color:#99b0d8}.sidebar-search .ghost-btn{width:100%}.page-wrap{padding:1.25rem 1.5rem}.stat-grid{margin-top:.9rem;display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:.9rem}.interactive-card{cursor:pointer}.interactive-card:hover{border-color:#cbd5e1}.stat-label{color:#475569;font-size:.82rem}.stat-value{margin-top:.3rem;font-size:1.25rem;font-weight:700}.quick-links{margin-top:.7rem;display:flex;gap:.55rem;flex-wrap:wrap}.quick-link{background:#e2e8f0;color:#0f172a;text-decoration:none;border-radius:8px;padding:.45rem .65rem;font-size:.9rem}.crud-grid{margin-top:.8rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.form-grid{display:grid;gap:.6rem}.table-wrap{margin-top:.65rem;background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{border-bottom:1px solid #e2e8f0;text-align:left;padding:.55rem .7rem;font-size:.9rem}th{background:#f8fafc;font-weight:700}.checkbox-line{display:flex;align-items:center;gap:.45rem;font-size:.9rem}.hint{font-size:.85rem;color:#475569}.forwarding-status{display:inline-flex;align-items:center;padding:.18rem .5rem;border-radius:999px;font-size:.76rem;font-weight:700;line-height:1.2;border:1px solid transparent}.forwarding-status.pending-review{color:#7c2d12;background:#ffedd5;border-color:#fdba74}.forwarding-status.under-review{color:#1d4ed8;background:#dbeafe;border-color:#93c5fd}.forwarding-status.approved{color:#166534;background:#dcfce7;border-color:#86efac}.forwarding-status.rejected{color:#991b1b;background:#fee2e2;border-color:#fca5a5}.forwarding-status.not-submitted{color:#374151;background:#f3f4f6;border-color:#d1d5db}.action-btn{border:1px solid transparent;border-radius:8px;padding:.32rem .58rem;font-size:.78rem;font-weight:700;cursor:pointer;transition:all .16s ease}.action-btn:disabled{opacity:.55;cursor:not-allowed}.action-open{background:#dbeafe;color:#1d4ed8;border-color:#93c5fd}.action-open:hover:not(:disabled){background:#bfdbfe}.action-approve{background:#dcfce7;color:#166534;border-color:#86efac}.action-approve:hover:not(:disabled){background:#bbf7d0}.action-reject{background:#fee2e2;color:#991b1b;border-color:#fca5a5}.action-reject:hover:not(:disabled){background:#fecaca}.action-proof{background:#fef3c7;color:#92400e;border-color:#fcd34d}.action-proof:hover:not(:disabled){background:#fde68a}.batch-items-list{display:flex;flex-direction:column;gap:.35rem;min-width:260px}.batch-item-pill{display:inline-flex;align-items:center;gap:.45rem;width:fit-content;max-width:100%;border:1px solid #bae6fd;background:#f0f9ff;color:#0c4a6e;border-radius:999px;padding:.2rem .6rem;font-size:.78rem;line-height:1.2}.batch-item-pill strong{color:#075985}.kv-list{display:grid;gap:.5rem}.kv-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e2e8f0;padding-bottom:.35rem}.table-wrap.compact th,.table-wrap.compact td{font-size:.82rem;padding:.42rem .55rem}.hierarchy-compact-table th,.hierarchy-compact-table td{font-size:.78rem;padding:.34rem .45rem}.trend-list{display:grid;gap:.5rem}.trend-row{display:grid;grid-template-columns:110px 1fr auto;gap:.55rem;align-items:center}.trend-row-btn{border:none;width:100%;text-align:left;background:transparent;color:inherit;border-radius:8px;padding:.3rem .4rem}.trend-row-btn:hover{background:#f8fafc}.trend-progress{width:100%;height:10px;border:none;border-radius:999px;overflow:hidden}.trend-progress::-webkit-progress-bar{background:#e2e8f0;border-radius:999px}.trend-progress::-webkit-progress-value{background:#2563eb;border-radius:999px}.trend-progress::-moz-progress-bar{background:#2563eb;border-radius:999px}.trend-label{color:#334155;font-size:.82rem}.funds-mini-trends-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.7rem;margin:.6rem 0 .8rem}.funds-mini-trend{border:1px solid #e2e8f0;border-radius:10px;padding:.5rem .6rem;background:#fff}.funds-mini-trend-head{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;margin-bottom:.25rem}.funds-mini-trend-head .stat-label{margin:0;font-size:.76rem}.funds-mini-trend-head .stat-value{margin:0;font-size:.88rem}.funds-mini-trend-svg{width:100%;height:58px}.funds-mini-trend-line{fill:none;stroke:#2563eb;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}.funds-activity-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:.8rem}.target-picker-scroll{max-height:180px;overflow-y:auto}.target-picker-row{display:flex;align-items:center;gap:8px}.rte-outer{display:flex;flex-direction:column;border:1px solid #d1d5db;border-radius:10px;background:#fff;box-shadow:0 2px 8px #0000000f;overflow:hidden}.rte-label{font-size:.82rem;font-weight:600;color:#334155;padding:.55rem .75rem 0}.rte-bar{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:5px 8px;background:#f1f5f9;border-bottom:1px solid #e2e8f0}.rte-btn{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:28px;height:26px;padding:0 5px;background:transparent;border:1px solid transparent;border-radius:5px;font-size:.82rem;font-weight:600;color:#374151;cursor:pointer;line-height:1;transition:background .12s,border-color .12s,color .12s;white-space:nowrap}.rte-btn:hover{background:#e2e8f0;border-color:#cbd5e1}.rte-btn-on,.rte-btn:active{background:#dbeafe;border-color:#93c5fd;color:#1d4ed8}.rte-sep{display:inline-block;width:1px;height:18px;background:#cbd5e1;margin:0 3px;flex-shrink:0}.rte-sel{height:26px;padding:0 4px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;font-size:.78rem;color:#374151;cursor:pointer;outline:none;min-width:52px}.rte-sel-wide{min-width:90px}.rte-sel:focus{border-color:#2563eb}.rte-guide-btn{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.rte-guide-btn:hover{background:#dbeafe;border-color:#93c5fd}.rte-a-icon{display:inline-block;font-weight:800;border-bottom:3px solid #dc2626;line-height:1;padding-bottom:1px}.rte-hl-icon{display:inline-block;font-weight:800;background:#fef08a;padding:0 2px;border-radius:2px;line-height:1}.rte-color-wrap{position:relative;display:inline-flex}.rte-palette{position:absolute;top:calc(100% + 4px);left:0;z-index:9999;display:grid;grid-template-columns:repeat(8,20px);gap:2px;padding:6px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 16px #00000026}.rte-swatch{width:20px;height:20px;border-radius:3px;cursor:pointer;padding:0;transition:transform .1s}.rte-swatch:hover{transform:scale(1.25)}.rte-canvas{flex:1;padding:16px 20px;outline:none;font-size:.92rem;line-height:1.7;color:#1e293b;background:#fff;cursor:text;overflow-y:auto}.rte-canvas:empty:before{content:attr(data-placeholder);color:#94a3b8;pointer-events:none}.rte-canvas h1{font-size:1.6rem;font-weight:700;line-height:1.3;margin:8px 0 6px}.rte-canvas h2{font-size:1.3rem;font-weight:700;line-height:1.35;margin:8px 0 6px}.rte-canvas h3{font-size:1.1rem;font-weight:700;line-height:1.4;margin:7px 0 5px}.rte-canvas h4{font-size:.95rem;font-weight:700;margin:6px 0 4px}.rte-canvas p{margin:4px 0}.rte-canvas ul,.rte-canvas ol{padding-left:22px;margin:4px 0}.rte-canvas li{margin:2px 0}.rte-canvas blockquote{border-left:4px solid #2563eb;padding:4px 12px;margin:6px 0;color:#475569;background:#f0f7ff;border-radius:0 6px 6px 0}.rte-canvas pre{background:#1e293b;color:#e2e8f0;padding:10px 14px;border-radius:6px;font-family:Courier New,monospace;font-size:.85rem;overflow-x:auto;margin:6px 0}.rte-canvas a{color:#1d4ed8;text-decoration:underline}.rte-canvas table{border-collapse:collapse;width:100%;margin:8px 0}.rte-canvas th,.rte-canvas td{border:1px solid #d1d5db;padding:6px 10px;text-align:left}.rte-canvas th{background:#f3f4f6;font-weight:600}.rte-canvas hr{border:none;border-top:2px solid #e2e8f0;margin:12px 0}.rte-foot{display:flex;align-items:center;justify-content:space-between;padding:5px 12px;background:#f8fafc;border-top:1px solid #e2e8f0;font-size:.75rem}.rte-count{color:#94a3b8}.rte-foot-guide{font-size:.75rem;color:#2563eb;text-decoration:none;padding:2px 0}.rte-foot-guide:hover{text-decoration:underline}.rte-backdrop{position:fixed;inset:0;background:#00000059;z-index:10000;display:flex;align-items:center;justify-content:center}.rte-dialog{background:#fff;border-radius:12px;padding:24px 28px;width:380px;max-width:95vw;box-shadow:0 8px 32px #0003;display:flex;flex-direction:column;gap:14px}.rte-dialog h4{font-size:1rem;font-weight:700;color:#0f172a;margin:0}.rte-dialog-field{display:flex;flex-direction:column;gap:4px}.rte-dialog-field span{font-size:.8rem;font-weight:600;color:#475569}.rte-dialog-field small{font-weight:400;color:#94a3b8}.rte-dialog-field input{padding:7px 10px;border:1px solid #d1d5db;border-radius:7px;font-size:.88rem;outline:none}.rte-dialog-field input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.rte-fullscreen{position:fixed;inset:0;z-index:9998;border-radius:0;box-shadow:none}.rte-fullscreen .rte-canvas{min-height:unset!important;flex:1}.union-announcement-card,.union-announcement-compose-form{gap:.75rem}.union-announcement-field{display:grid;gap:.35rem}.union-announcement-field>span{font-size:.82rem;color:#334155;font-weight:600}.union-announcement-meta-row{display:flex;gap:.45rem;flex-wrap:wrap}.union-announcement-pill{background:#e0ecff;color:#1e40af;border-radius:999px;padding:.25rem .6rem;font-size:.75rem;font-weight:700;letter-spacing:.02em}.union-announcement-pill.neutral{background:#e2e8f0;color:#334155}.union-announcement-target-block{border:1px solid #e2e8f0;border-radius:10px;padding:.55rem;background:#f8fafc}.union-announcement-target-preview{background:#f1f5f9;border-radius:8px;padding:.45rem .6rem}.union-announcement-source-badge{display:inline-flex;align-items:center;border-radius:999px;padding:.2rem .55rem;font-size:.74rem;font-weight:700}.union-announcement-source-badge.own{background:#e2e8f0;color:#1e293b}.union-announcement-source-badge.upstream{background:#ede9fe;color:#5b21b6}.union-announcement-status{display:inline-flex;align-items:center;border-radius:999px;padding:.2rem .55rem;font-size:.74rem;font-weight:700}.union-announcement-status.active{background:#dcfce7;color:#166534}.union-announcement-status.inactive{background:#fee2e2;color:#991b1b}.union-admin-reset-row{margin-bottom:12px}.trend-bar-wrap{height:8px;border-radius:999px;background:#e2e8f0;overflow:hidden}.trend-bar{height:100%;border-radius:999px;background:#2563eb}.card-grid{margin-top:.75rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:.95rem;display:flex;flex-direction:column;gap:.65rem}.account-position-card{border:1px solid #c9d8ff;background:linear-gradient(135deg,#f8fbff,#ecf6ff);box-shadow:0 8px 18px #2563eb14}.account-position-head{display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap}.account-position-head h3{margin:0}.account-position-badge{border-radius:999px;font-size:.75rem;font-weight:700;padding:.24rem .62rem;border:1px solid transparent}.account-position-badge.outstanding{background:#fff7ed;border-color:#fdba74;color:#9a3412}.account-position-badge.cleared{background:#dcfce7;border-color:#86efac;color:#166534}.account-position-badge.unavailable{background:#e2e8f0;border-color:#cbd5e1;color:#334155}.account-position-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.75rem}.account-position-tile{border-radius:12px;padding:.8rem;border:1px solid transparent}.account-position-tile.include-fee{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-color:#93c5fd}.account-position-tile.minus-fee{background:linear-gradient(135deg,#dcfce7,#bbf7d0);border-color:#86efac}.account-position-label{margin:0;font-size:.82rem;color:#1e3a5f;font-weight:600}.account-position-value{margin:.45rem 0 0;font-size:1.42rem;font-weight:800;color:#0f172a}.account-position-meta{margin:.28rem 0 0;color:#334155;font-size:.76rem}.account-position-inline-stats{display:flex;gap:.9rem;flex-wrap:wrap;font-size:.82rem;color:#334155;font-weight:600}.church-modules-card{margin-top:.9rem}.users-edit-card{margin-top:.75rem}.hierarchy-section{margin-top:.85rem}.hierarchy-sections-grid{margin-top:.85rem;display:grid;gap:.85rem;grid-template-columns:repeat(auto-fit,minmax(420px,1fr));align-items:start}.hierarchy-hero{margin-top:.8rem;display:grid;gap:.7rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.hierarchy-hero-item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:.8rem;display:flex;flex-direction:column;gap:.25rem}.hierarchy-hero-item span{color:#475569;font-size:.82rem}.hierarchy-hero-item strong{font-size:1rem}.hierarchy-search{margin-top:.55rem}.hierarchy-section-head{display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap}.hierarchy-section-search{max-width:300px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.82rem;background:#f1f5f9;border-radius:6px;padding:.45rem}input,textarea,button{font:inherit}input,textarea{border:1px solid #cbd5e1;border-radius:8px;padding:.55rem .65rem;background:#fff}button{border:none;border-radius:8px;padding:.55rem .75rem;background:#2563eb;color:#fff;cursor:pointer}.ghost-btn{background:#e2e8f0;color:#0f172a}.church-search-results-box{border:1px solid #e2e8f0;border-radius:8px;background:#fff;max-height:180px;overflow-y:auto;padding:.2rem}.church-search-result-item{width:100%;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:.55rem;padding:.4rem .5rem;border-radius:6px;background:transparent;color:#0f172a}.church-search-result-item:hover{background:#f8fafc}.scope-selector{margin-top:.8rem;margin-bottom:.65rem;background:#fff;border:1px solid #d9e3f1;border-radius:12px;padding:.75rem;display:grid;gap:.6rem}.scope-selected{display:flex;justify-content:space-between;align-items:baseline;gap:.75rem;flex-wrap:wrap}.scope-selected strong{color:#19345d;font-size:.9rem}.scope-selected span{color:#334e72;font-size:.85rem}.scope-result-name{text-align:left;font-weight:600;color:#0f1f39}.scope-result-meta{text-align:right;color:#4b6488;font-size:.8rem;font-weight:600}.lock-overlay{position:fixed;inset:0;z-index:9999;background:#0f172aeb;display:flex;align-items:center;justify-content:center;padding:1.25rem}.lock-overlay-card{width:min(760px,100%);max-height:calc(100vh - 2.5rem);overflow:auto;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1.1rem;display:flex;flex-direction:column;gap:.8rem}.danger-btn{background:#dc2626;color:#fff}.section-actions{display:flex;gap:.5rem;margin-top:.5rem}.section-actions-tight{margin-top:0}.section-actions-compact{margin-top:.25rem;gap:.35rem;align-items:center;flex-wrap:wrap}.section-actions-compact input{width:min(220px,100%);min-height:30px;padding:.28rem .45rem;font-size:.78rem}.section-actions-compact .ghost-btn{min-height:30px;padding:.28rem .5rem;font-size:.74rem}.modal-backdrop{position:fixed;inset:0;background:#0f172a59;display:grid;place-items:center;padding:1rem;z-index:20}.hierarchy-edit-modal{width:min(560px,100%);max-height:calc(100vh - 2rem);overflow-y:auto}.performance-modal{width:min(1200px,100%)}.category-details-modal{width:min(980px,100%);max-height:85vh;overflow:auto}.modal-header-row{justify-content:space-between}.modal-title{margin:0}.clickable-row{cursor:pointer}.clickable-cell{color:#0b5ed7;text-decoration:underline}.tiny-btn{min-height:26px;padding:.12rem .45rem;font-size:.72rem}.record-editor textarea{width:100%;min-height:200px}button:disabled{opacity:.65;cursor:not-allowed}pre{margin:0;background:#0b1220;color:#dbeafe;border-radius:8px;padding:.75rem;overflow:auto;max-height:260px}.auth-page{min-height:100vh;display:grid;place-items:center;background:#0f172a;padding:1rem}.auth-card{width:min(420px,100%);background:#fff;border-radius:12px;border:1px solid #e2e8f0;padding:1.25rem;display:flex;flex-direction:column;gap:.85rem}.auth-card label{display:flex;flex-direction:column;gap:.45rem;font-size:.9rem}.error{color:#b91c1c;margin:0}@media(max-width:1024px){.layout-root{grid-template-columns:1fr;height:auto;min-height:100vh;overflow:visible}.sidebar{border-right:none;border-bottom:1px solid #1d3c72;max-height:260px;height:auto}.main-content{height:auto;min-height:0;overflow:visible}}.church-admin-dashboard{min-height:100vh;background-color:#f5f7fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.dashboard-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px 40px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 8px #0000001a}.header-content h1{margin:0;font-size:28px;font-weight:600}.header-content p{margin:5px 0 0;font-size:16px;opacity:.9}.logout-button{padding:8px 16px;background-color:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .3s}.logout-button:hover{background-color:#ffffff4d}.dashboard-container{max-width:1200px;margin:0 auto;padding:40px 20px}.overview-section h2{font-size:20px;color:#333;margin-bottom:20px}.fee-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:40px}@media(max-width:768px){.fee-cards{grid-template-columns:1fr}}.fee-card{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.registration-card{border-top:4px solid #667eea}.maintenance-card{border-top:4px solid #764ba2}.card-header{background-color:#f8f9fa;padding:16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e0e0e0}.card-header h3{margin:0;font-size:18px;color:#333}.status-badge{padding:4px 12px;border-radius:20px;color:#fff;font-size:12px;font-weight:600;text-transform:uppercase}.status-badge{display:inline-block;padding:4px 8px;border-radius:4px;color:#fff;font-weight:700}.card-body{padding:20px}.amount-display{display:flex;justify-content:space-between;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #e0e0e0}.amount-display .label{color:#666;font-size:14px}.amount-display .amount{font-size:20px;font-weight:600;color:#333}.installment-progress{margin-bottom:20px}.progress-bar{width:100%;height:8px;background-color:#e0e0e0;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background-color:#4caf50}.progress-fill[data-width=small]{width:25%}.progress-fill[data-width=medium]{width:50%}.progress-fill[data-width=large]{width:75%}.progress-fill[data-width=full]{width:100%}.progress-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);transition:width .3s}.installment-progress p{font-size:12px;color:#666;margin:0}.due-date{display:flex;justify-content:space-between;margin-bottom:20px;padding:12px;background-color:#f8f9fa;border-radius:4px}.due-date .label{color:#666;font-size:14px}.due-date .date{font-weight:600;color:#333}.fee-info{margin-bottom:20px;padding:12px;background-color:#e7f3ff;border-left:3px solid #2196f3;border-radius:4px}.fee-info p{margin:0;font-size:14px;color:#1565c0}.action-button{width:100%;padding:12px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:4px;font-size:16px;font-weight:600;cursor:pointer;transition:opacity .3s}.action-button:hover{opacity:.9}.status-section,.help-section{margin-bottom:40px}.status-section h2,.help-section h2{font-size:20px;color:#333;margin-bottom:20px}.status-box{background:#fff;padding:20px;border-radius:8px;border-left:4px solid #ffc107;box-shadow:0 2px 8px #0000001a}.status-box h4{margin:0 0 10px;color:#333;text-transform:uppercase;font-size:16px}.status-box p{margin:0;color:#666;font-size:14px}.help-section{background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 8px #0000001a}.help-section p{margin:0;color:#666;font-size:14px}.loading{text-align:center;padding:40px;color:#666}.error-box{background-color:#fee;color:#c33;padding:20px;border-radius:8px;border:1px solid #fcc}.value{color:inherit}
