
#xrCharterModal{--cm-bg:#fff;--cm-page:#f2f6f8;--cm-bar:#dceaf3;--cm-ink:#1e3a50;--cm-muted:#647e91;--cm-line:#cedde4;--cm-accent:#177b8d;--cm-field:#fbfdfe}
html[data-theme="dark"] #xrCharterModal{--cm-bg:#152832;--cm-page:#10232d;--cm-bar:#1e3541;--cm-ink:#e0edf2;--cm-muted:#a1b8c5;--cm-line:#35515f;--cm-accent:#63c1ce;--cm-field:#1c3440}
html:root body #xrCharterModal#xrCharterModal .xr-charter-dialog{width:min(960px,100%)!important;max-height:calc(100dvh - 32px)!important;overflow:hidden!important;border-radius:14px!important;background:var(--cm-bg)!important;color:var(--cm-ink)!important;border:1px solid var(--cm-line)!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-dialog>header{padding:14px 18px!important;background:var(--cm-bar)!important;border-bottom:1px solid var(--cm-line)!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-heading{display:flex;align-items:center;gap:12px}
html:root body #xrCharterModal#xrCharterModal .xr-charter-heading-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;background:var(--cm-bg);border:1px solid var(--cm-line);border-radius:10px;color:var(--cm-accent);font-size:17px}
html:root body #xrCharterModal#xrCharterModal .xr-charter-dialog h2{font-size:17px!important;font-weight:650!important;color:var(--cm-ink)!important;margin:0!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-dialog header p{color:var(--cm-muted)!important;font-size:11px!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-dialog>form{overflow:hidden;min-height:0;margin:0!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-tabs{flex-shrink:0;display:flex;gap:6px;padding:10px 16px!important;background:var(--cm-bg)!important;border:0!important;border-bottom:1px solid var(--cm-line)!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-tabs button{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-width:0!important;flex:0 0 auto;height:34px!important;min-height:34px!important;padding:0 13px!important;border:1px solid transparent!important;border-radius:8px!important;background:transparent!important;color:var(--cm-muted)!important;box-shadow:none!important;font:600 11px/1.3 Inter,system-ui,sans-serif!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-tabs button.active{background:var(--cm-bar)!important;color:var(--cm-ink)!important;border-color:var(--cm-line)!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-tabs button:hover{background:var(--cm-page)!important;color:var(--cm-ink)!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-body{min-height:0!important;overflow:auto;overscroll-behavior:contain;padding:16px!important;background:var(--cm-page)!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-groups{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
html:root body #xrCharterModal#xrCharterModal .xr-charter-group{padding:0!important;border:1px solid var(--cm-line)!important;border-radius:10px!important;background:var(--cm-bg)!important;overflow:hidden;margin:0!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-group h3{display:flex;align-items:center;gap:8px;background:var(--cm-bar)!important;color:var(--cm-ink)!important;font:600 12px/1.4 Inter,system-ui,sans-serif!important;margin:0!important;padding:9px 12px!important;border-bottom:1px solid var(--cm-line)}
html:root body #xrCharterModal#xrCharterModal .xr-charter-group h3 i{color:var(--cm-accent)}
html:root body #xrCharterModal#xrCharterModal .xr-charter-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px 12px;padding:12px}
html:root body #xrCharterModal#xrCharterModal .xr-charter-fields label{display:grid;gap:5px!important;margin:0!important;font-size:11px!important;font-weight:600!important;color:var(--cm-ink)!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-wide{grid-column:1/-1}
html:root body #xrCharterModal#xrCharterModal .xr-charter-group:first-child .xr-charter-fields{grid-template-columns:repeat(6,minmax(0,1fr))}
html:root body #xrCharterModal#xrCharterModal .xr-charter-group:first-child .xr-charter-fields label:nth-child(n+3){grid-column:span 2}
html:root body #xrCharterModal#xrCharterModal :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),select){box-sizing:border-box;width:100%;min-width:0;height:34px!important;min-height:34px!important;padding:6px 10px!important;background:var(--cm-field)!important;color:var(--cm-ink)!important;border:1px solid var(--cm-line)!important;border-radius:7px!important;box-shadow:none!important;font:500 12px/1.4 Inter,system-ui,sans-serif!important}
html:root body #xrCharterModal#xrCharterModal :is(button,input,select,a):focus-visible{outline:2px solid var(--cm-accent)!important;outline-offset:2px!important}
html:root body #xrCharterModal#xrCharterModal :is(.smallbtn,.btn){display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px!important;min-height:34px!important;padding:0 13px!important;background:var(--cm-bg)!important;color:var(--cm-ink)!important;border:1px solid var(--cm-line)!important;border-radius:8px!important;box-shadow:none!important;font-size:11px!important;font-weight:600!important}
html:root body #xrCharterModal#xrCharterModal :is(.smallbtn,.btn):hover{background:var(--cm-bar)!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-dialog footer{display:flex!important;align-items:center;gap:8px!important;flex-shrink:0;padding:12px 18px!important;border-top:1px solid var(--cm-line)!important;background:var(--cm-bg)!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-required{margin-right:auto;color:var(--cm-muted);font-size:10px}
html:root body #xrCharterModal#xrCharterModal .xr-charter-dialog footer button[type=submit]{background:#177b8d!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#177b8d!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-dialog footer button[type=submit]:hover{background:#116779!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-driver-head{margin:0 0 12px;flex-wrap:wrap}
html:root body #xrCharterModal#xrCharterModal :is(.xr-charter-driver-head p,.xr-charter-upload small,.xr-charter-toggle small){color:var(--cm-muted)!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-driver-row{background:var(--cm-bg)!important;border:1px solid var(--cm-line)!important;border-radius:9px;padding:12px;margin-bottom:8px}
html:root body #xrCharterModal#xrCharterModal .xr-charter-driver-row label{color:var(--cm-ink)!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-price-grid{grid-template-columns:1fr 1fr!important;gap:12px}
html:root body #xrCharterModal#xrCharterModal .xr-charter-price-grid>label:first-child{grid-column:1/-1;max-width:280px;display:grid;gap:6px}
html:root body #xrCharterModal#xrCharterModal .xr-charter-toggle{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;gap:10px;background:var(--cm-bg)!important;border:1px solid var(--cm-line)!important;padding:14px!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-toggle>span{border-color:var(--cm-line)!important;background:var(--cm-field)!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-toggle>input:checked+span{background:var(--cm-accent)!important;box-shadow:inset 0 0 0 4px var(--cm-bg)!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-toggle>input:focus-visible+span{outline:2px solid var(--cm-accent);outline-offset:3px}
html:root body #xrCharterModal#xrCharterModal .xr-charter-toggle.danger b{color:#bd5056!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-upload{padding:22px 16px;background:var(--cm-bg)!important;border:1px dashed var(--cm-line)!important;border-radius:10px}
html:root body #xrCharterModal#xrCharterModal .xr-charter-upload>i{color:var(--cm-accent)!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-document{border-color:var(--cm-line)!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-document a{color:var(--cm-ink)!important}
html:root body #xrCharterModal#xrCharterModal .xr-charter-driver-remove,html:root body #xrCharterModal#xrCharterModal .xr-charter-document button{background:var(--cm-bg)!important;color:#bd5056!important;border:1px solid #dfb6b8!important;border-radius:7px}
@media(max-width:650px){html:root body #xrCharterModal#xrCharterModal .xr-charter-groups,html:root body #xrCharterModal#xrCharterModal .xr-charter-price-grid{grid-template-columns:1fr!important}html:root body #xrCharterModal#xrCharterModal .xr-charter-body{padding:12px!important}html:root body #xrCharterModal#xrCharterModal .xr-charter-tabs{padding:8px 12px!important}html:root body #xrCharterModal#xrCharterModal .xr-charter-tabs button{padding:0 10px!important}html:root body #xrCharterModal#xrCharterModal .xr-charter-heading-icon{display:none}html:root body #xrCharterModal#xrCharterModal .xr-charter-dialog>header{padding:12px!important}}
@media(pointer:coarse){html:root body #xrCharterModal#xrCharterModal :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),select){font-size:16px!important}html:root body #xrCharterModal#xrCharterModal :is(.smallbtn,.btn){min-height:42px!important;height:42px!important}}
