/* Shared RechenFundus controls: restrained green, readable contrast, native fallbacks. */
:root{--control-green:#285d46;--control-dark:#174532;--control-pale:#edf3e9;--control-line:#a7bead;--control-focus:#79a660}
*{scrollbar-color:#527a62 #edf2e9;scrollbar-width:thin}::-webkit-scrollbar{width:12px;height:12px}::-webkit-scrollbar-track{background:#edf2e9}::-webkit-scrollbar-thumb{background:#527a62;border:3px solid #edf2e9;border-radius:20px}::-webkit-scrollbar-thumb:hover{background:#285d46}::-webkit-scrollbar-corner{background:#edf2e9}
@media(pointer:fine){html,body{cursor:url('/assets/cursor.svg') 4 3,auto}a,button,summary,label[for],input[type=checkbox],input[type=radio],[role=option]{cursor:url('/assets/cursor-action.svg') 4 3,pointer}input,textarea,[contenteditable=true]{cursor:text}:disabled,[aria-disabled=true]{cursor:not-allowed}}
select{color:#183f31;background-color:#f7faf4;border:1px solid var(--control-line);border-radius:9px;font-size:16px;line-height:1.5}select option{background:#f7faf4;color:#183f31}input[type=file]{max-width:100%;color:#254d3c;border:1px dashed #9db7a2;border-radius:11px;background:#f4f8ef;padding:8px;font-size:14px;line-height:1.8}input[type=file]::file-selector-button{font-family:inherit;font-size:14px;font-weight:650;line-height:1.5;padding:10px 15px;margin-right:14px;background:var(--control-green);color:#fff;border:0;border-radius:7px;cursor:pointer}input[type=file]::file-selector-button:hover{background:var(--control-dark)}input[type=date]{color:#183f31;background-color:#f7faf4;color-scheme:light;min-width:0;font-size:16px}input[type=date]::-webkit-calendar-picker-indicator{display:none}input[type=date]::-webkit-datetime-edit{padding:0}input[type=date]::-webkit-datetime-edit-fields-wrapper{color:#183f31}
.rf-select{position:relative;display:block;width:100%;min-width:0}.rf-native-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none;padding:0!important;border:0!important;clip-path:inset(50%)}.rf-select-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left;color:#183f31;background:#f7faf4;border:1px solid var(--control-line);border-radius:9px;padding:12px 14px;min-height:48px;font:inherit;font-size:15px;line-height:1.5}.rf-select-value{min-width:0;overflow-wrap:anywhere}.rf-select-button svg{width:20px;height:20px;flex-shrink:0}.rf-select-button:hover{background:#eff5e9;border-color:#527a62}.rf-select-button:focus-visible,.rf-select-button[aria-expanded=true]{outline:3px solid #acd494;outline-offset:2px;border-color:#285d46}.rf-select-button:disabled{background:#edf0ea;opacity:.65}.rf-select-button[aria-invalid=true]{border-color:#a74d35}.rf-select-options{position:fixed;z-index:10000;overflow:auto;background:#fbfdf8;border:1px solid #8eac98;border-radius:12px;padding:6px;box-shadow:0 16px 40px #143c3628;font-size:15px;line-height:1.55;color:#183f31}.rf-select-options [role=option]{padding:10px 13px;border-radius:7px;overflow-wrap:anywhere;min-height:42px}.rf-select-options [aria-selected=true]{background:#e1eed8;font-weight:750}.rf-select-options [aria-selected=true]::after{content:'✓';float:right;margin-left:10px}.rf-select-options .is-highlighted{background:#285d46;color:#fff}.rf-select-options [aria-disabled=true]{opacity:.48}.rf-date{display:flex;position:relative;min-width:0;width:100%;align-items:stretch}.rf-date input{width:100%;min-width:0;padding-right:48px!important}.rf-date-trigger{position:absolute;right:4px;top:4px;bottom:4px;width:39px;background:#e5efdc;color:#285d46;border:0;border-radius:6px;display:grid;place-items:center}.rf-date-trigger:hover{background:#d6e8ca}.rf-date-trigger svg{width:22px;height:22px}.rf-calendar{width:min(370px,calc(100vw - 28px));margin:auto;padding:22px;border:1px solid #96b39f;border-radius:18px;background:#f9fcf5;color:#183f31;box-shadow:0 25px 90px #143c3633;max-height:calc(100dvh - 30px);overflow:auto;font:15px/1.5 Manrope,system-ui,sans-serif}.rf-calendar::backdrop{background:#102d2659;backdrop-filter:blur(3px)}.rf-calendar button,.rf-calendar input{font:inherit}.rf-calendar-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.rf-calendar-top h2{font-size:18px;line-height:1.4;margin:0;color:#183f31}.rf-calendar-close{background:transparent;border:0;color:#285d46;width:36px;height:36px;font-size:27px!important}.rf-calendar-nav{display:flex;gap:8px;align-items:center;margin-bottom:18px}.rf-calendar-nav>button{width:36px;height:38px;border:1px solid #bfd1bd;background:#eaf2e3;border-radius:8px;font-size:25px;color:#285d46}.rf-calendar-nav strong{flex:1;font-size:15px}.rf-calendar-year{width:77px;min-width:0;padding:7px 5px;border:1px solid #bfd1bd;border-radius:7px;background:#fff;color:#183f31;font-size:16px!important}.rf-calendar-weekdays,.rf-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.rf-calendar-weekdays{text-align:center;font-size:12px;color:#45664f;margin-bottom:8px}.rf-calendar-grid button{padding:0;aspect-ratio:1;border:1px solid transparent;border-radius:9px;background:transparent;color:#183f31;min-width:0}.rf-calendar-grid button:hover{background:#e3efd8}.rf-calendar-grid [aria-current=date]{border-color:#678d5b}.rf-calendar-grid [aria-selected=true]{background:#285d46;color:#fff;font-weight:750}.rf-calendar-grid button:focus-visible,.rf-calendar button:focus-visible,.rf-calendar input:focus-visible{outline:3px solid #87b86d;outline-offset:1px}.rf-calendar-grid button:disabled{opacity:.3}.rf-calendar-footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #d6e3ce;margin-top:18px;padding-top:15px}.rf-calendar-footer button{border:0;background:#e4eedb;color:#244d39;padding:8px 15px;border-radius:8px;font-weight:650}.rf-calendar-footer button:disabled{opacity:.45}.prose a.button-dark[href^='mailto:']{color:#f5f9ed!important;text-decoration:none}.prose a.button-dark[href^='mailto:']:hover{color:#fff!important;background:#28634b}.catalog-select .rf-select{min-width:180px}.filter-form .rf-select{flex:1 1 160px;min-width:140px}.filter-form .rf-select-button{font-size:14px}.editor-toolbar .rf-select{width:auto}
@media(max-width:600px){.rf-select-button{font-size:16px;padding:12px}.rf-calendar{padding:17px}.catalog-select .rf-select{min-width:0}.filter-form .rf-select{min-width:0}}
@media(forced-colors:active){.rf-select-button,.rf-calendar,.rf-select-options,.rf-date-trigger{border:1px solid CanvasText}.rf-select-options .is-highlighted,.rf-calendar-grid [aria-selected=true]{background:Highlight;color:HighlightText}}

.rf-calendar-grid>[role=row]{display:contents}

.rf-calendar-nav input.rf-calendar-year{width:77px;flex:0 0 77px}

@media(pointer:fine){input[type=file]::file-selector-button{cursor:url('/assets/cursor-action.svg') 4 3,pointer}}
