/* ONRUSHA V4.8 — complete form/control skin and restrained interface polish. */
:root{scroll-padding-top:90px}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid rgba(201,165,112,.7);outline-offset:3px}
.button,.copy-button,.header-tool,.custom-select-trigger{transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease}
.button:active,.copy-button:active,.header-tool:active,.custom-select-trigger:active{transform:translateY(1px) scale(.985)}
.copy-button.is-copied,.button.is-copied{border-color:rgba(139,183,145,.55)!important;box-shadow:0 0 0 3px rgba(139,183,145,.12)!important}
.search-field{min-width:0}
.search-field svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.filter-bar>.custom-select-wrap{flex:0 1 190px;min-width:0;max-width:230px}
.filter-bar>.custom-select-wrap .custom-select-trigger{min-height:43px}
.empty-library{gap:18px;min-height:120px}
.empty-library>div:nth-child(2){min-width:0}
.empty-library h3{line-height:1.35}
.empty-library p{line-height:1.65}
.raw-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.raw-editor-form{display:grid;gap:12px}
.raw-source-editor{display:block;width:100%;min-height:68vh;max-height:980px;resize:vertical;padding:22px;border:0;outline:0;border-radius:0;background:#090b0e;color:#d7e0e8;font:12px/1.72 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:4;white-space:pre;overflow:auto;caret-color:#d9b47b}
.raw-source-editor:focus{outline:0;box-shadow:inset 0 0 0 1px rgba(201,165,112,.3)}
.raw-source-panel{overflow:hidden}
.raw-editor-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;color:#8d929a;font-size:10px}
.raw-editor-footer .button{flex:none}
.raw-source-top{display:flex;justify-content:space-between;gap:12px;align-items:center}
@media(max-width:760px){
  .filter-bar>.custom-select-wrap{width:100%;max-width:none;flex:1 1 0}
  .raw-source-editor{min-height:58vh;padding:15px;font-size:11px}
  .raw-actions{width:100%}
  .raw-actions .button{flex:1}
  .raw-editor-footer{align-items:stretch;flex-direction:column}
  .raw-editor-footer .button{width:100%}
}

/* Light theme: include the custom menu, icon, empty state and helper controls. */
body.soft-theme{color-scheme:light}
body.soft-theme .filter-bar{background:#fff!important;border-color:#e1dcd2!important;box-shadow:0 8px 25px rgba(49,42,31,.045)!important}
body.soft-theme .search-field{background:#fbfaf7!important;border:1px solid #ded7cb!important;color:#8a7b65!important;box-shadow:inset 0 1px 2px rgba(56,47,33,.025)!important}
body.soft-theme .search-field:focus-within{border-color:#b99d72!important;box-shadow:0 0 0 3px rgba(184,155,109,.12)!important}
body.soft-theme .search-field svg{stroke:#887b68!important}
body.soft-theme .search-field input{background:transparent!important;color:#2d2922!important;border:0!important;box-shadow:none!important;caret-color:#987444!important}
body.soft-theme .search-field input::placeholder{color:#a39b8f!important;opacity:1!important}
body.soft-theme .filter-bar select.custom-select-native{color-scheme:light!important}
body.soft-theme .filter-bar>.custom-select-wrap .custom-select-trigger,
body.soft-theme .custom-select-trigger{
  background:#fbfaf7!important;border:1px solid #ded7cb!important;color:#494237!important;
  box-shadow:inset 0 1px #fff,0 2px 6px rgba(53,45,32,.025)!important
}
body.soft-theme .custom-select-trigger:hover,
body.soft-theme .custom-select-wrap.is-open .custom-select-trigger{
  background:#fff!important;border-color:#bca782!important;color:#28241e!important;
  box-shadow:0 0 0 3px rgba(184,155,109,.1),0 5px 14px rgba(53,45,32,.06)!important
}
body.soft-theme .custom-select-value{color:inherit!important}
body.soft-theme .custom-select-arrow{background:#f1ede5!important;border-color:#e3dbcf!important;color:#887452!important}
body.soft-theme .custom-select-wrap.is-open .custom-select-arrow{color:#6e532f!important}
body.soft-theme .custom-select-menu{
  background:rgba(255,255,255,.985)!important;border:1px solid #ddd5c8!important;
  box-shadow:0 18px 48px rgba(42,35,25,.16),inset 0 1px #fff!important;
  backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important
}
body.soft-theme .custom-select-option{background:transparent!important;border-color:transparent!important;color:#655e52!important}
body.soft-theme .custom-select-option:hover,
body.soft-theme .custom-select-option:focus-visible{background:#f5f1e9!important;border-color:#e9dfcf!important;color:#29251e!important;outline:0!important}
body.soft-theme .custom-select-option.selected{background:#eee7da!important;border-color:#dfd1b9!important;color:#4e3b21!important}
body.soft-theme .custom-select-check{color:#967445!important}
body.soft-theme .catalog-meta{color:#82796c!important}
body.soft-theme .catalog-meta b{color:#2b2720!important}
body.soft-theme .catalog-meta span:last-child{color:#a18e70!important}
body.soft-theme .clear-filters{color:#806b4d!important}
body.soft-theme .clear-filters:hover{color:#4b3921!important}
body.soft-theme .filter-submit{background:#29261f!important;color:#fffaf2!important;border-color:#29261f!important}
body.soft-theme .filter-submit:hover{background:#423a2e!important;color:#fff!important}
body.soft-theme .empty-library{
  background:#fff!important;border:1px solid #e2dcd1!important;color:#2b2721!important;
  box-shadow:0 9px 28px rgba(49,42,31,.055)!important
}
body.soft-theme .empty-symbol{background:#f2eee6!important;border:1px solid #e3dbce!important;color:#92764d!important;box-shadow:none!important}
body.soft-theme .empty-library h3{color:#2d2922!important}
body.soft-theme .empty-library p{color:#797165!important}
body.soft-theme .empty-library .button-outline{background:#fbfaf7!important;color:#514633!important;border-color:#ded5c7!important}
body.soft-theme .empty-library .button-outline:hover{background:#f4efe6!important;border-color:#c8b48f!important}
body.soft-theme input,body.soft-theme textarea,body.soft-theme select{color-scheme:light}
body.soft-theme input::placeholder,body.soft-theme textarea::placeholder{color:#a39b8f!important;opacity:1!important}
body.soft-theme .raw-source-editor{background:#f8f7f3!important;color:#302c25!important;caret-color:#987444!important;border-top:1px solid #ece6dc!important}
body.soft-theme .raw-source-editor:focus{box-shadow:inset 0 0 0 1px rgba(184,155,109,.35)!important}
body.soft-theme .raw-editor-footer{color:#827a6e!important}
body.soft-theme .raw-editor-footer .button-primary{background:#29261f!important;color:#fffaf2!important}
body.soft-theme .toast{background:#29261f!important;color:#fffaf2!important;border-color:#3b352b!important;box-shadow:0 12px 32px rgba(34,29,21,.2)!important}
body.soft-theme .flash{box-shadow:0 7px 22px rgba(49,42,31,.07)!important}
body.soft-theme .flash-success{background:#edf5ed!important;border-color:#cbdcca!important;color:#35593a!important}
body.soft-theme .flash-error{background:#fbefed!important;border-color:#e8ceca!important;color:#813d36!important}
body.soft-theme .admin-empty{color:#2d2922!important}
body.soft-theme .admin-empty h3{color:#2d2922!important}
body.soft-theme .admin-empty p{color:#777064!important}
body.soft-theme .admin-empty>span{background:#f2eee6!important;color:#8b7048!important}
body.soft-theme .loader-box code,body.soft-theme .detail-loader code{background:#f6f3ed!important;border-color:#e4ddd1!important;color:#383227!important}
body.soft-theme .copy-button{background:#f2eee6!important;color:#594a32!important;border-color:#ded5c7!important}
body.soft-theme .copy-button:hover{background:#ebe4d8!important;border-color:#cdb995!important;color:#40311e!important}
body.soft-theme .copy-button.is-copied{background:#edf5ed!important;color:#35593a!important;border-color:#cbdcca!important}

.raw-loader-settings{margin:18px 0 15px;padding:20px;border:1px solid #343434;border-radius:12px;background:linear-gradient(145deg,#151515,#101010)}
.raw-loader-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:13px}
.raw-loader-heading b,.raw-loader-heading small{display:block}
.raw-loader-heading b{color:#eee;font-size:12px;margin:5px 0}
.raw-loader-heading small{color:#838991;font-size:10px;line-height:1.55}
.raw-loader-tag{padding:6px 9px;border:1px solid #47403a;border-radius:20px;background:#201d19;color:#d7b882;font:8px ui-monospace,monospace;letter-spacing:.1em;white-space:nowrap}
.raw-loader-form{display:grid;gap:10px}
.raw-loader-form>textarea{width:100%;min-height:58px;padding:12px;border:1px solid #383838;border-radius:8px;background:#090b0e;color:#e5e5e5;font:11px/1.6 ui-monospace,monospace;resize:vertical}
.raw-loader-preview{display:grid;gap:6px;padding:11px 12px;border:1px solid #333;border-radius:8px;background:#0c0e11;min-width:0}
.raw-loader-preview>span{font:8px ui-monospace,monospace;letter-spacing:.1em;color:#8d929a}
.raw-loader-preview code{color:#d9c39e;font:10px/1.6 ui-monospace,monospace;overflow-wrap:anywhere}
body.soft-theme .raw-loader-settings{background:#fff!important;border-color:#e1dcd2!important;box-shadow:0 8px 25px rgba(49,42,31,.05)!important}
body.soft-theme .raw-loader-heading b{color:#2b2721!important}
body.soft-theme .raw-loader-heading small{color:#797165!important}
body.soft-theme .raw-loader-tag{background:#f5f0e6!important;border-color:#e5dac7!important;color:#80613a!important}
body.soft-theme .raw-loader-form>textarea{background:#f8f7f3!important;border-color:#ded7cb!important;color:#302c25!important}
body.soft-theme .raw-loader-preview{background:#f6f3ed!important;border-color:#e4ddd1!important}
body.soft-theme .raw-loader-preview>span{color:#8b806f!important}
body.soft-theme .raw-loader-preview code{color:#70532d!important}
@media(max-width:760px){.raw-loader-settings{padding:15px}.raw-loader-heading{flex-direction:column}.raw-loader-tag{align-self:flex-start}.raw-loader-form .button{width:100%}}

.raw-missing-notice{margin:12px 0;padding:12px 15px;border:1px solid rgba(201,165,112,.28);border-radius:9px;background:rgba(201,165,112,.07);color:#c8ae86;font-size:10px;line-height:1.6}.raw-missing-notice code{font-family:ui-monospace,monospace}
body.soft-theme .raw-missing-notice{background:#f8f4eb!important;border-color:#e5d8c2!important;color:#755b36!important}
@media(max-width:760px){
  body.soft-theme .empty-library>div:nth-child(2){flex:1 1 180px;min-width:180px}
  body.soft-theme .empty-library .button{flex:0 0 auto;margin-left:66px}
}
body.soft-theme{min-height:100vh!important;background-color:#f4f2ed!important}
html:has(body.soft-theme){background:#f4f2ed!important}
