/* Appearance settings and responsive two-pane modes. Theme tokens follow below. */
:root{--ritm-accent:#326fd0;--ritm-accent-soft:color-mix(in srgb,var(--ritm-accent) 10%,var(--rt-c-ffffff,#fff));--ritm-font-scale:1}
html[data-ritm-theme='dark']{color-scheme:dark;--ritm-accent-soft:color-mix(in srgb,var(--ritm-accent) 15%,#171e29)}
html[data-ritm-theme='light']{color-scheme:light}
.nf-shell .nf-file-row>button.selected{box-shadow:none!important}
.nf-shell .nf-file-row>button:focus-visible{outline:2px solid var(--ritm-accent);outline-offset:-2px}
.nf-shell .nf-file-commandbar .panel-view-switch{margin-left:auto}
.nf-shell .nf-files[data-file-view='single'] .rl-file-panes{grid-template-columns:1fr}
.nf-shell .nf-files[data-file-view='single'] .rl-file-pane:not(.active){display:none}
.nf-shell .nf-files[data-file-view='single'] .rl-file-panes-switch{display:flex;padding:3px;gap:3px;margin:0 0 10px;max-width:350px;background:var(--rt-c-e9edf3,#e9edf3);border-radius:9px;flex:none}
.nf-shell .nf-files[data-file-view='single'] .rl-file-panes-switch button{flex:1;min-height:36px;border:0;background:transparent;border-radius:6px;font-size:calc(14px * var(--ritm-font-scale,1));color:var(--rt-c-53677e,#53677e)}
.nf-shell .nf-files[data-file-view='single'] .rl-file-panes-switch [aria-pressed=true]{background:var(--rt-c-ffffff,#fff);color:var(--rt-c-2461b4,#2461b4)}
.nf-shell .nf-files[data-file-view='dual'] .rl-file-panes-switch{display:none}
.nf-shell .nf-files[data-file-view='dual'] .rl-file-pane{display:flex}
.nf-shell .settings-navigation .nav-group{display:grid;gap:2px;margin:0;padding:0 0 16px;background:transparent;border:0}
.nf-shell .settings-navigation .nav-group+.nav-group{padding-top:9px}
.nf-shell .settings-navigation .nav-group h3{display:flex;align-items:center;gap:8px;font-size:calc(11px * var(--ritm-font-scale,1));font-weight:650;line-height:1.4;text-transform:uppercase;letter-spacing:.08em;color:var(--rt-c-66798c,#66798c);margin:0 0 7px;padding:0 8px;cursor:default}
.nf-shell .settings-navigation .nav-group h3:after{content:'';height:1px;background:var(--rt-c-dce5ef,#dce5ef);flex:1;min-width:10px}
.nf-shell .settings-navigation .nav-group button{font-size:calc(14px * var(--ritm-font-scale,1));margin-left:0;padding:9px 12px}
.nf-shell .settings-mobile-nav{display:none}
.theme-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.theme-choices>button{position:relative;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px;border:1px solid var(--rt-c-d8e2ed,#d8e2ed);border-radius:10px;background:var(--rt-c-ffffff,#fff);font:inherit;font-size:calc(14px * var(--ritm-font-scale,1));text-align:left;cursor:pointer;color:var(--rt-c-334e68,#334e68)}
.theme-choices>button.chosen{border-color:var(--rt-c-326fd0,#326fd0);box-shadow:0 0 0 1px var(--rt-c-326fd0,#326fd0)}
.theme-choices>button>svg{width:18px;height:18px;fill:none;stroke:var(--rt-c-326fd0,#326fd0);stroke-width:1.8;margin-left:auto}
.theme-thumbnail{display:block;position:relative;flex-basis:100%;height:75px;overflow:hidden;border-radius:6px;background:#f0f3f8;border:1px solid #d6dfe9}
.theme-thumbnail:before{content:'';position:absolute;left:0;top:0;bottom:0;width:23%;background:#fff;border-right:1px solid #d6dfe9}
.theme-thumbnail i,.theme-thumbnail b,.theme-thumbnail em{position:absolute;left:31%;height:5px;border-radius:3px;background:#d2dbe8}
.theme-thumbnail i{top:15px;width:46%}.theme-thumbnail b{top:31px;width:30%;background:var(--ritm-accent)}.theme-thumbnail em{top:49px;width:57%}
.theme-thumbnail.dark{background:#151e2b;border-color:#3a4a5c}.theme-thumbnail.dark:before{background:#233043;border-color:#3a4a5c}.theme-thumbnail.dark i,.theme-thumbnail.dark em{background:#4d617c}
.accent-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}
.accent-choices button{display:flex;align-items:center;gap:8px;min-width:0;min-height:44px;padding:5px 7px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--rt-c-435b75,#435b75);cursor:pointer;font:inherit;text-align:left}
.accent-choices button[aria-pressed=true]{border-color:var(--rt-c-cad8eb,#cad8eb);background:var(--rt-c-f4f7fb,#f4f7fb)}
.accent-choices button>span{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:var(--swatch);color:white}
.accent-choices button svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.accent-choices button b{font-size:calc(13px * var(--ritm-font-scale,1));font-weight:500;overflow-wrap:anywhere}
.appearance-preview{display:flex;align-items:center;gap:14px;padding:18px;margin-top:20px;border:1px solid var(--rt-c-dce5ef,#dce5ef);border-radius:10px;background:var(--rt-c-f7f9fc,#f7f9fc)}
.appearance-preview b{font-size:calc(20px * var(--ritm-font-scale,1));font-weight:600}.appearance-preview p{margin:3px 0 0!important}.appearance-preview>span{margin-left:auto;font-size:calc(13px * var(--ritm-font-scale,1));color:var(--rt-c-65778d,#65778d)}
.nf-shell .settings-content .context{display:none}
.nf-shell .overview-switch button{font-size:calc(13px * var(--ritm-font-scale))!important}
@media(max-width:1100px){.appearance-preview{flex-wrap:wrap}.appearance-preview>span{margin-left:54px}}
@media(max-width:800px){
 .nf-shell .settings-navigation nav{display:none}
 .nf-shell .settings-mobile-nav{display:flex;flex-direction:column;gap:6px;font-size:calc(13px * var(--ritm-font-scale,1));color:var(--rt-c-52667d,#52667d)}
 .settings-mobile-nav select{font:inherit;font-size:calc(16px * var(--ritm-font-scale,1));color:var(--rt-c-253c55,#253c55);border:1px solid var(--rt-c-cdd9e6,#cdd9e6);background:var(--rt-c-ffffff,#fff);padding:10px 12px;border-radius:8px;min-height:44px;width:100%}
 .nf-shell .settings-navigation .settings-search{max-width:none;margin-bottom:10px}
}
@media(max-width:780px){
 .nf-shell .nf-file-commandbar .file-actions{padding-right:96px}
 .nf-shell .nf-file-commandbar .file-options{max-width:none}
 .nf-shell .nf-files[data-file-view='dual'] .rl-file-panes{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(0,1fr));gap:10px}
 .nf-shell .nf-files[data-file-view='dual'] .rl-file-pane{display:flex;min-height:0}
 .nf-shell .nf-files[data-file-view='single'] .rl-file-panes-switch{max-width:none}
 .nf-shell .nf-files[data-file-view='dual'] .nf-pane-heading{flex-wrap:nowrap;gap:3px;padding:3px 7px}
 .nf-shell .nf-files[data-file-view='dual'] .nf-pane-path{flex-basis:auto;min-width:80px;gap:4px}
 .nf-shell .nf-files[data-file-view='dual'] .nf-pane-heading .file-sort{margin-left:0}
 .nf-shell .nf-files[data-file-view='dual'] .nf-pane-path>svg{display:none}
 .nf-shell .nf-files[data-file-view='dual'] .nf-pane-title{font-size:calc(13px * var(--ritm-font-scale,1))}
 .nf-shell .nf-files[data-file-view='dual'] .file-sort select{max-width:110px;font-size:calc(12px * var(--ritm-font-scale,1))}
}
@media(max-width:600px){
 .accent-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
 .theme-choices{gap:10px}.theme-thumbnail{height:66px}
 .appearance-preview{padding:14px}.appearance-preview>span{margin-left:0}
 .nf-shell .overview-switch button{white-space:normal;min-width:0}
 html[data-ritm-font='largest'] .nf-shell .overview-switch button{padding-left:4px!important;padding-right:4px!important}
 html[data-ritm-font='largest'] .nf-shell .nf-header{height:auto;min-height:60px;flex-wrap:wrap}
 html[data-ritm-font='largest'] .nf-shell .nf-page-head{flex-wrap:wrap}
}
