/* Keep every rich-text toolbar and editor in the same border-box coordinate system.
   The shared editor observes user resizing as well as responsive layout changes. */
.t6-admin-editor{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.t6-admin-editor .quill{min-width:0!important;max-width:100%!important;box-sizing:border-box}
.t6-admin-editor .ql-toolbar,.t6-admin-editor .ql-container{max-width:100%;min-width:0;box-sizing:border-box}
.t6-admin-editor .ql-container{width:100%!important;margin:0;padding:0}
/* Title search always occupies one third of the inner filter row, including rows
   with one or two filters. Other controls keep their own widths and can wrap. */
div:has(>input:is([placeholder*="наименованию"],[placeholder*="искать по названию"])){display:flex!important;flex-wrap:wrap!important;align-items:center;gap:15px;box-sizing:border-box;min-width:0}
input:is([placeholder*="наименованию"],[placeholder*="искать по названию"]){width:33.333333%!important;flex:0 0 33.333333%!important;min-width:0!important;max-width:33.333333%!important;box-sizing:border-box}
/* Match the FAQ list title to the table's existing 30px side insets. */
.t6-event-content ._questionsPageContent_hyr3j_1{padding:0!important}
.t6-event-content ._questionTableWrapper_hyr3j_5{padding-top:28px}
.t6-event-content ._table-title_hyr3j_8{margin:0 0 20px;padding:0 30px;line-height:1.35}
.t6-event-documents h2{font-size:18px;font-weight:700;border-bottom:1px solid #e1e1e1;padding-bottom:15px;margin-bottom:20px}
.t6-event-document-upload{margin:20px 0}
/* The original upload button supplies its own link/button styling. */
.t6-event-documents .t6-event-document-upload>button{padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;min-height:40px;justify-content:flex-start;font-weight:600}
.t6-event-document-hint{font-size:14px;color:#868686;line-height:1.5;margin:8px 0 0}
@media(max-width:1100px){.t6-event-content ._questionsPageContent_hyr3j_1{padding:0!important}}
@media(max-width:540px){.t6-event-content ._questionTableWrapper_hyr3j_5{padding-top:20px}.t6-event-content ._table-title_hyr3j_8{padding:0 16px}}
.t6-event-documents fieldset>p{margin:16px 0 20px}
.t6-event-documents ol{margin:20px 0}
/* One route: title and description on the left, a matching map-code field on the right. */
.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1){display:block;padding:0;min-width:0;box-sizing:border-box}
.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1)>h4{margin:0 0 12px;font-size:14px;line-height:1.5}
.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1)>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch;min-width:0}
.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1)>div>div{min-width:0;max-width:100%;box-sizing:border-box}
.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1)>div>div:first-child{gap:12px}
.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1) [class*=_inputEl_]{width:100%;max-width:100%;margin:0!important;min-width:0}
.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1) textarea[name$=".desc"]{height:116px!important;min-height:116px;resize:vertical}
.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1)>div>div:last-child{height:100%}
.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1)>div>div:last-child>label{height:100%;display:flex;flex-direction:column}
.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1) textarea[name$=".location"]{height:100%!important;min-height:166px;flex:1;resize:vertical}
.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1):not(:last-child){margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #e1e1e1}
@media(max-width:768px){.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1)>div{grid-template-columns:minmax(0,1fr);gap:12px}.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1) textarea[name$=".location"]{height:140px!important;min-height:140px}.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1) textarea[name$=".desc"]{height:100px!important;min-height:100px}}
.t6-event-content[data-event-section=materials] :is(._routeItem_xckor_1,._placementItem_4zvok_1) [class*=_inputEl_]{margin:0!important}
@media(max-width:768px){.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1)>div>div:last-child,.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1)>div>div:last-child>label{height:auto}.t6-event-content :is(._routeItem_xckor_1,._placementItem_4zvok_1) textarea[name$=".location"]{flex:initial}}

/* Hide hint icons, preserving text/content tooltips and the editor's link dialogs. */
._tooltipWrapper_1psfw_1:has(>svg>circle){display:none!important}
.t6-event-content [class*=_inputWrapperTextArea_]>div:first-child{width:100%!important}
/* Section names are already present in event navigation. */
.t6-event-content ._questionTableWrapper_hyr3j_5{padding-top:24px}

/* No admin page is mounted until the server has confirmed the session. */
html.t6-auth-screen{min-width:0!important;background:#fff}
body.t6-auth-screen{background:linear-gradient(270deg,#00a69c80 4.78%,#286a91 39.47%);min-height:100vh;min-height:100dvh;min-width:0!important}
body.t6-auth-screen #root,body.t6-auth-screen #modal-root{min-width:0!important}
body.t6-auth-screen ._modal_1fvt7_1{background:transparent;width:100%;height:100dvh;min-height:100vh;padding:16px;box-sizing:border-box}
body.t6-auth-screen ._modalContent_1fvt7_16{max-width:100%;max-height:calc(100dvh - 32px)}
body.t6-auth-screen ._authModal_1ovtg_1{width:530px;max-width:calc(100vw - 32px)}
.t6-login-error{color:#d9001b;font-size:14px;line-height:1.5;margin:0 0 16px}
