[hidden]{display:none!important}
:root{--primary:#2563eb;--secondary:#1d4ed8;--accent:#dbeafe;--primary-fg:#fff;--body-fg:#334155;--body-bg:#f5f7fb;--body-quiet-color:#737b87;--body-loud-color:#0f172a;--header-color:#d5dbe4;--header-branding-color:#d5dbe4;--header-bg:#ffffff;--header-link-color:#fff;--breadcrumbs-fg:#757f8d;--breadcrumbs-link-fg:#314158;--breadcrumbs-bg:#fff;--link-fg:#2563eb;--link-hover-color:#4c6890;--link-selected-fg:#2563eb;--hairline-color:#e4e8ed;--border-color:#e2e8f0;--error-fg:#b9533e;--message-success-bg:#e2e7ed;--message-warning-bg:#fbf1da;--message-error-bg:#f8e9e3;--darkened-bg:#eff1f4;--selected-bg:#e3e7ed;--selected-row:#e6eaef;--button-fg:#fff;--button-bg:#2563eb;--button-hover-bg:#1d4ed8;--default-button-bg:#2563eb;--default-button-hover-bg:#1d4ed8;--close-button-bg:#788290;--object-tools-fg:#314055;--object-tools-bg:#dfe4ea;--object-tools-hover-bg:#d2d9e2;color-scheme:light}
body{font-family:"Segoe UI","Microsoft YaHei","Microsoft JhengHei",sans-serif;font-size:13px;line-height:1.6;background:var(--body-bg)}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #7290bb;outline-offset:3px}#header{background:white;color:var(--body-fg);padding:0;min-height:80px;position:sticky;top:0;z-index:30;border-bottom:1px solid #d9dee6;box-sizing:border-box;align-items:stretch}#branding{background:#ffffff;min-width:244px;width:244px;flex-shrink:0;display:flex;align-items:center;padding:0 24px;box-sizing:border-box}.admin-brand{display:flex;align-items:center;gap:12px;color:#e9ecf1!important;font-size:19px;font-weight:650;letter-spacing:1px}.admin-brand small{display:block;font-size:7px;letter-spacing:1.9px;font-weight:400;margin-top:2px;color:#a0aec1}.admin-brand-mark{width:37px;height:37px;border-radius:10px;background:#adc4e4;color:#28374b;font-size:24px;display:grid;place-items:center}#user-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:19px;padding:17px 30px;margin:0;font-size:11px;text-transform:none;letter-spacing:0;color:#737d8a}#header a:link,#header a:visited,#logout-form button{color:#435165}#header .admin-brand{color:#fff}#user-tools a,#logout-form button{border:0;font-size:11px}#logout-form{margin:0!important}#logout-form button{padding:0;background:none}.admin-top-link{padding:7px 13px;border:1px solid #d5dbe4!important;border-radius:6px}.admin-greeting strong{color:#313f52}.admin-language form{display:flex;gap:5px;align-items:center}.admin-language label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.admin-language select{font-size:11px;padding:6px 7px;border-radius:6px;background:#f5f7f9;color:#364458;border-color:#ccd6e4}.admin-language form>span{font-size:18px}.console-sidebar{position:fixed;left:0;top:80px;bottom:0;width:244px;overflow-y:auto;background:#ffffff;color:#a2adbd;padding:24px 16px 30px;box-sizing:border-box;z-index:20;scrollbar-width:thin;scrollbar-color:#415167 #ffffff}.sidebar-caption{font-size:8px;letter-spacing:2px;color:#6e7f96;margin:0 14px 14px}.sidebar-overview{display:flex;align-items:center;gap:13px;padding:11px 14px;border-radius:7px;color:#adbcd0!important;font-size:13px}.sidebar-overview.selected,.sidebar-item.selected{background:#b6cae7;color:#283547!important;font-weight:600}.sidebar-overview>span{font-size:18px}.sidebar-search{display:flex;align-items:center;gap:9px;background:#25354c;border:1px solid #36465d;border-radius:6px;margin:18px 4px 25px;padding:6px 10px}.sidebar-search>span{font-size:20px;color:#8796aa}.sidebar-search input{min-width:0;width:100%;background:none!important;color:#c9d3e0;border:0!important;padding:3px!important;font-size:11px;box-shadow:none}.sidebar-search input::placeholder{color:#8291a5}.sidebar-section{margin:21px 0 0}.sidebar-section h2{display:flex;gap:9px;margin:0 14px 10px;padding:0;color:#73849c;font-size:10px;font-weight:500;letter-spacing:1px}.sidebar-section h2>span{font-size:15px;line-height:1.3}.sidebar-item{display:flex;align-items:center;justify-content:space-between;font-size:12px;padding:8px 14px 8px 36px;margin:3px 0;border-radius:6px;color:#a9b6c9!important}.sidebar-item:hover{background:#2b3b51;color:#dadfe7!important}.sidebar-item>span{color:#69788e}.sidebar-bottom{border-top:1px solid #354357;margin:25px 10px 0;padding-top:15px;display:flex;flex-direction:column;gap:12px}.sidebar-bottom a{color:#8798b0;font-size:11px}.nav-no-results{padding:12px;font-size:11px;color:#abb8ca}body:not(.login):not(.popup) #main{margin-left:244px}body:not(.login):not(.popup) #header+nav{margin-left:244px}#content{padding:30px 34px;box-sizing:border-box;max-width:1800px;width:100%}.breadcrumbs{padding:15px 34px;font-size:11px;border-bottom:1px solid #dae0e8}#content>h1{font-size:27px;font-weight:550;letter-spacing:.5px;margin:2px 0 25px}#content>h2{font-size:14px;color:#727d8c;margin-top:-13px;margin-bottom:24px}.console-eyebrow{font-size:8px!important;font-weight:600;letter-spacing:1.8px;color:#758498;margin:0 0 7px!important}.overview-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:28px}.overview-heading h1{font-size:34px;font-weight:550;letter-spacing:1px;margin:3px 0 10px;color:#19273a}.overview-heading h1 span{color:#6280ab}.overview-heading>div>p:last-child{font-size:12px;color:#768190;margin:0}.overview-date{background:#e2e6ec;border:1px solid #d1d8e1;border-radius:6px;padding:9px 14px;font-size:11px;color:#4f6380;white-space:nowrap}.overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px}.overview-metric{border:1px solid #d7dde6;border-radius:11px;background:#fff;padding:20px 23px;color:#2b394c!important;box-shadow:0 2px 4px #1c263503}.metric-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#748092}.metric-label>span{height:30px;width:30px;border-radius:7px;background:#e8ecf1;color:#577094;display:grid;place-items:center;font-size:18px}.overview-metric>strong{display:block;font-size:37px;line-height:1.3;font-weight:500;letter-spacing:-1px;margin:9px 0}.overview-metric>small{font-size:9px;color:#808da0}.overview-columns{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(270px,1fr);gap:24px;align-items:start}.console-panel{background:#fff;border:1px solid #d9dee6;border-radius:11px;padding:24px;margin-bottom:24px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.panel-heading h2{font-size:18px;font-weight:550;color:#29374b;margin:0;padding:0;background:none}.panel-heading>a,.quiet-label{font-size:10px;color:#7c8a9d}.module-groups{display:grid;gap:0}.module-group{display:flex;gap:17px;padding:18px 0;border-top:1px solid #e8ebf0}.module-group:first-child{padding-top:0;border-top:0}.module-group:last-child{padding-bottom:0}.module-group-icon{background:#ebeef2;color:#4f6c94;border-radius:8px;min-width:39px;height:39px;display:grid;place-items:center;font-size:22px}.module-group h3{font-size:12px;font-weight:600;margin:0 0 10px;color:#3c495b}.module-links{display:flex;flex-wrap:wrap;gap:7px 18px}.module-links>a{font-size:11px;color:#778292;white-space:nowrap}.module-links>a:hover{color:#34465f}.module-links>a>span{font-size:9px;color:#98a4b4;margin-left:3px}.overview-table-wrap{overflow-x:auto}.overview-table{width:100%;border-collapse:collapse}.overview-table th{font-size:10px;color:#7d8a9d;font-weight:400;border-bottom:1px solid #dde2e9;background:#f3f5f8;padding:12px 10px;text-transform:none;white-space:nowrap}.overview-table td{padding:15px 10px;font-size:11px;border-bottom:1px solid #e8ebf0;background:white;vertical-align:top}.overview-table td:first-child{width:47%;min-width:180px}.overview-table td>a{font-size:12px;font-weight:500;color:#3c495b}.overview-table small{display:block;font-size:9px;color:#909cad;margin-top:5px}.console-status{font-size:9px;border-radius:4px;padding:4px 7px;background:#e7ebf0;color:#5f7390;white-space:nowrap}.console-status.open{background:#dfe4ea;color:#43618b}.operation-task{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-top:1px solid #e8ebf0}.operation-task strong{display:block;font-size:12px;color:#414f63;font-weight:500}.operation-task small{display:block;font-size:9px;color:#909cad;margin-top:6px}.operation-task>b{display:grid;place-items:center;min-width:25px;height:25px;border-radius:6px;font-size:11px;font-weight:500;background:#eaedf2;color:#929eaf}.operation-task>b.has-tasks{background:#dde2e9;color:#4d6b96}.overview-live{display:flex;align-items:center;gap:13px;border-top:1px solid #e9ecf1;padding:17px 0}.overview-live:last-child{padding-bottom:0}.live-thumbnail{display:grid;place-items:center;background:#dce1e9;color:#567299;min-width:48px;height:44px;border-radius:7px;font-size:25px}.overview-live strong{font-size:11px;font-weight:500;line-height:1.65;color:#475870}.overview-live small{display:block;font-size:9px;color:#909cad;margin-top:6px}.console-note{border-radius:11px;background:#dde2ea;padding:27px;color:#4d6383}.console-note>span{font-size:37px;color:#607fab}.console-note h3{font-size:15px;color:#3c506d;font-weight:500;margin:10px 0}.console-note p{font-size:11px;line-height:1.9;color:#667a96}.console-empty{font-size:12px;color:#8592a5;padding:20px 0}.module{border:1px solid #d7dde6;border-radius:9px;overflow:hidden;background:white}.module h2,.module caption,.inline-group h2{background:#e3e7ed;color:#465872;font-size:12px;font-weight:550;padding:13px 18px;letter-spacing:.3px}.module caption a.section:link,.module caption a.section:visited{color:#3b4f6a}#changelist{background:white;border:1px solid #d7dde6;border-radius:10px;overflow:hidden}#changelist #toolbar{background:#fff;border-bottom:1px solid #dce1e9;padding:17px 20px}#changelist #toolbar form input[type=submit]{background:#2563eb;color:white;border:0;border-radius:5px;padding:8px 16px}#changelist .results{overflow-x:auto}#changelist table thead th{background:#eceff3;border-bottom:1px solid #d2d9e3;font-size:11px;font-weight:500;text-transform:none}#changelist table tbody td,#changelist table tbody th{padding:15px 12px;font-size:12px;vertical-align:middle;border-bottom:1px solid #e2e6ec}#changelist table tbody tr:nth-child(odd){background:#fff}#changelist table tbody tr:nth-child(even){background:#f9fafb}#changelist .actions{background:#f6f8fa;padding:13px 18px;font-size:11px;border-bottom:1px solid #dce1e8}#changelist-filter{background:#f5f6f8;border-left:1px solid #d9dfe7}#changelist-filter h2{background:#e6eaef;color:#3f5471;font-size:12px;padding:14px 18px}#changelist-filter h3{font-size:11px;color:#677a95;font-weight:550;margin-top:22px}#changelist-filter li a{font-size:11px}#changelist-filter li.selected{border-left-color:#5173a2}#changelist .paginator{font-size:11px;padding:16px 20px;background:#fff;border-top:1px solid #dce1e9}.object-tools a:link,.object-tools a:visited{border-radius:6px;padding:9px 16px;font-size:11px;font-weight:500;letter-spacing:0}.object-tools{margin-bottom:15px}.form-row{padding:18px 22px;border-bottom:1px solid #e7eaef}.form-row label{font-size:12px;line-height:1.8;color:#50627a}.aligned label{width:175px;flex-shrink:0}input,textarea,select{border:1px solid #cbd5e3;border-radius:5px;background:#fafbfc;font-family:inherit;color:#354356;font-size:12px;padding:9px 10px}input:focus,textarea:focus,select:focus{border-color:#7793bb;outline:2px solid #7693bc25}textarea{max-width:100%;box-sizing:border-box;line-height:1.8}.vLargeTextField{width:calc(100% - 30px);max-width:850px;min-height:140px}.vTextField{max-width:100%;width:440px;box-sizing:border-box}.help,.help-tooltip{font-size:10px!important;color:#808da0!important;line-height:1.8}.aligned .help{margin-left:175px}.submit-row{position:sticky;bottom:0;z-index:5;border:1px solid #d2d9e2;border-radius:9px;padding:16px 20px;background:#fff;box-shadow:0 -4px 20px #2e436108;display:flex;align-items:center;flex-wrap:wrap;gap:10px}.submit-row input,.button,input[type=submit],input[type=button]{border-radius:6px;padding:10px 17px;font-size:12px}.submit-row a.deletelink{border-radius:5px;font-size:11px;padding:10px 14px}.selector{max-width:100%;border-radius:7px;border:1px solid #d8dee6;overflow:hidden}.selector h2{font-size:11px}.selector select{border-radius:0}.selector .selector-filter{background:#f0f2f5}.selector input{width:80%}.related-widget-wrapper{min-width:0}.select2-container--admin-autocomplete .select2-selection{border-color:#cad4e2;background:#fafbfc;border-radius:5px;min-height:37px}.messagelist li{margin:18px 32px;border-radius:7px;font-size:12px}#footer{display:flex;justify-content:space-between;gap:20px;padding:18px 34px!important;font-size:9px;color:#8997ab;border-top:1px solid #d7dde5;margin-left:244px}.schema-editor{width:min(790px,100%);border:1px solid #d4dae3;border-radius:7px;background:#f6f8fa;padding:14px;box-sizing:border-box}.schema-head,.schema-row{display:grid;grid-template-columns:1fr 1.4fr 65px 55px;gap:10px;align-items:center}.schema-head{font-size:9px;color:#7d8ca0;padding:0 2px 10px}.schema-row{margin-bottom:10px}.schema-row input[type=text]{width:100%;box-sizing:border-box;font-size:11px}.schema-row input[type=checkbox]{margin:auto}.schema-remove{font-size:11px;border:0;background:#f2e7df;color:#a77a5b;border-radius:4px;padding:6px;cursor:pointer}.schema-add{background:#e0e5eb;color:#4d678b;border:1px solid #c3d1e5;padding:7px 12px;border-radius:4px;font-size:11px;cursor:pointer}.schema-row-count{font-size:10px;margin-left:12px;color:#8693a5}body.login{background:#e7eaef}body.login #container{border:1px solid #d2d9e2;border-radius:15px;box-shadow:0 20px 70px #29384e0e;overflow:hidden;margin-top:10vh;min-width:330px}body.login #header{background:#ffffff;position:static;min-height:90px}body.login #branding{width:auto;min-width:0;padding:20px}body.login #content{padding:30px}body.login #content>h1{font-size:19px}body.login #footer{display:none}body.login .form-row{border:0;padding:10px 0}body.login .submit-row{border:0;position:static;box-shadow:none;padding:14px 0}body.login .submit-row input{width:100%}body.popup #content{padding:20px}body.popup #footer{margin:0}
@media(min-width:1600px){#content{padding:38px 48px}.overview-columns{grid-template-columns:minmax(0,2fr) minmax(320px,1fr)}}
@media(max-width:1200px){.overview-columns{grid-template-columns:minmax(0,1fr)}.overview-columns>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.overview-columns>div:last-child .console-note{grid-column:1/-1}.overview-columns>div:last-child .console-panel{margin-bottom:0}.overview-metric{padding:18px}.overview-metrics{gap:13px}#user-tools{gap:12px;padding:16px 20px}.admin-password{display:none}}
@media(max-width:900px){#branding{width:205px;min-width:205px;padding:0 18px}.console-sidebar{width:205px}body:not(.login):not(.popup) #main,body:not(.login):not(.popup) #header+nav{margin-left:205px}#footer{margin-left:205px}#content{padding:25px 22px}.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-heading h1{font-size:29px}.admin-greeting{display:none}.aligned label{width:145px}.aligned .help{margin-left:145px}.schema-head,.schema-row{grid-template-columns:1fr 1fr 48px 38px;gap:6px}.console-panel{padding:20px}.overview-columns>div:last-child{display:block}.overview-columns>div:last-child .console-panel{margin-bottom:20px}}
@media(max-width:700px){#header{position:static;display:flex;flex-direction:column;min-height:0}#branding{width:100%;padding:17px 20px;min-height:75px}.admin-brand{font-size:19px}#user-tools{width:auto;justify-content:flex-end;padding:12px 18px;gap:14px;background:#fff}.admin-top-link{padding:5px 9px}.console-sidebar{position:relative;top:auto;bottom:auto;width:100%;max-height:260px;padding:16px 15px;background:#243347;overflow-y:auto;display:block}.sidebar-caption{display:none}.sidebar-overview{font-size:12px;padding:8px 12px;margin-bottom:10px}.sidebar-search{margin:0 3px 10px;padding:2px 10px}.sidebar-section{margin:12px 0 0}.sidebar-section h2{font-size:10px;margin:0 8px 7px}.sidebar-item{display:inline-flex;width:auto;padding:5px 9px;font-size:10px;margin:2px;border:1px solid #3d4c60;border-radius:5px}.sidebar-item>span{display:none}.sidebar-bottom{display:flex;flex-direction:row;flex-wrap:wrap;font-size:10px;margin:13px 5px 0;padding-top:10px}body:not(.login):not(.popup) #main,body:not(.login):not(.popup) #header+nav{margin-left:0}body:not(.login):not(.popup) #main{display:block}#content{padding:24px 17px;width:100%;min-width:0}.overview-heading{align-items:flex-start;gap:15px}.overview-heading h1{font-size:27px}.overview-heading>div>p:last-child{font-size:10px;max-width:220px}.overview-date{font-size:9px;padding:6px 8px;margin-top:25px}.overview-metrics{gap:11px;margin-bottom:20px}.overview-metric{padding:15px 18px}.overview-metric>strong{font-size:30px}.metric-label{font-size:10px}.metric-label>span{width:25px;height:25px;font-size:15px}.overview-columns{gap:0}.console-panel{padding:20px;margin-bottom:20px;border-radius:9px}.panel-heading{margin-bottom:18px}.panel-heading h2{font-size:17px}.quiet-label{display:none}.module-group{gap:12px;padding:15px 0}.module-group-icon{min-width:32px;height:32px;font-size:19px}.module-group h3{font-size:11px}.module-links{gap:9px 15px}.module-links>a{font-size:10px}.console-eyebrow{font-size:7px!important}.breadcrumbs{padding:14px 18px}.form-row{padding:16px 17px}.aligned label{width:auto;display:block;margin-bottom:7px}.aligned .help{margin-left:0}.form-row .flex-container{display:block}.vTextField,.vLargeTextField{width:100%;max-width:100%}.related-widget-wrapper{width:100%}.form-row .datetime{width:auto}.submit-row{padding:12px;gap:8px}.submit-row input{font-size:10px;padding:9px 10px}.object-tools{float:none;display:flex;justify-content:flex-end;margin:0 0 20px}.object-tools a{font-size:10px!important}#content>h1{font-size:24px}.overview-table th{font-size:9px}.overview-table td{font-size:10px}.overview-table td:first-child{min-width:175px}.overview-table td>a{font-size:11px}#footer{margin-left:0;padding:18px!important;font-size:8px}.schema-head,.schema-row{grid-template-columns:1fr 1.2fr 35px 33px;gap:4px}.schema-row input[type=text]{padding:7px 5px;font-size:10px}.schema-remove{font-size:9px}.selector{width:100%!important}.selector .selector-available,.selector .selector-chosen{width:100%!important}.selector select{width:100%!important}.console-note{padding:22px}.messagelist li{margin:15px 17px}.app-index #content-main{width:100%}}

.sidebar-mobile-toggle{display:none}@media(max-width:700px){.sidebar-mobile-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 10px;border:1px solid #445266;background:#2e3d51;border-radius:6px;color:#d2d9e2;font-size:12px;cursor:pointer}.console-sidebar:not(.is-expanded) .sidebar-body{display:none}.console-sidebar.is-expanded{max-height:360px}.sidebar-body{padding-top:14px}.console-sidebar:not(.is-expanded){max-height:none}}

/* White and blue management theme. */
:root{--primary:#2563eb;--secondary:#1d4ed8;--accent:#dbeafe;--body-bg:#f5f7fb;--body-fg:#334155;--body-loud-color:#0f172a;--body-quiet-color:#64748b;--border-color:#e2e8f0;--hairline-color:#eef2f7;--button-bg:#2563eb;--button-hover-bg:#1d4ed8;--default-button-bg:#2563eb;--default-button-hover-bg:#1d4ed8;--link-fg:#2563eb;--link-hover-color:#1d4ed8;--selected-bg:#eff6ff;--selected-row:#eff6ff;--breadcrumbs-bg:#fff;--breadcrumbs-fg:#64748b;--breadcrumbs-link-fg:#2563eb}
#header{background:#fff;border-color:#e2e8f0}#branding{background:#fff;border-right:1px solid #e2e8f0}.admin-brand,#header .admin-brand{color:#0f172a!important}.admin-brand small{color:#94a3b8}.admin-brand-mark{background:#2563eb;color:#fff}.console-sidebar{background:#fff;border-right:1px solid #e2e8f0;color:#64748b}.sidebar-caption{color:#94a3b8}.sidebar-overview,.sidebar-item{color:#526177!important}.sidebar-overview.selected,.sidebar-item.selected{background:#eff6ff;color:#1d4ed8!important;box-shadow:inset 3px 0 #2563eb}.sidebar-item:hover{background:#f8fafc;color:#2563eb!important}.sidebar-section h2{color:#94a3b8}.sidebar-item>span{color:#b3bfce}.sidebar-search{background:#f8fafc;border-color:#e2e8f0}.sidebar-search input{color:#334155}.sidebar-search input::placeholder,.sidebar-search>span{color:#94a3b8}.sidebar-bottom{border-color:#e2e8f0}.sidebar-bottom a{color:#64748b}.overview-heading h1,#content>h1{color:#0f172a}.overview-heading h1 span{color:#2563eb}.overview-heading>div>p:last-child{color:#64748b}.overview-date{background:#fff;border-color:#e2e8f0;color:#64748b}.overview-metric{border-color:#e2e8f0;color:#0f172a!important}.overview-metric:hover{border-color:#bfdbfe}.metric-label{color:#64748b}.metric-label>span,.module-group-icon,.live-thumbnail{background:#eff6ff;color:#3b82f6}.overview-metric>small{color:#94a3b8}.console-panel{border-color:#e2e8f0}.console-eyebrow{color:#94a3b8}.panel-heading h2,.module-group h3,.operation-task strong,.overview-live strong{color:#334155}.module-links>a{color:#64748b}.module-links>a:hover{color:#2563eb}.module-group,.operation-task,.overview-live{border-color:#eef2f7}.operation-task>b.has-tasks{background:#eff6ff;color:#2563eb}.operation-task>b{background:#f1f5f9;color:#94a3b8}.operation-task small,.overview-live small{color:#94a3b8}.overview-table th{background:#f8fafc;color:#64748b;border-color:#e2e8f0}.overview-table td{border-color:#eef2f7}.overview-table td>a{color:#334155}.overview-table small{color:#94a3b8}.console-status.open{background:#eff6ff;color:#2563eb}.console-note{background:#eff6ff;border:1px solid #dbeafe}.console-note>span{color:#60a5fa}.console-note h3{color:#1d4ed8}.console-note p{color:#64748b}.module h2,.module caption,.inline-group h2{background:#f1f5f9;color:#475569}.form-row label{color:#475569}.help,.help-tooltip{color:#94a3b8!important}input:focus,textarea:focus,select:focus{border-color:#60a5fa;outline-color:#dbeafe}input[type=checkbox]{accent-color:#2563eb}.admin-language select{background:#f8fafc;border-color:#e2e8f0;color:#475569}#header a:link,#header a:visited,#logout-form button{color:#64748b}.admin-top-link{border-color:#e2e8f0!important}.schema-editor{border-color:#e2e8f0;background:#f8fafc}.schema-add{background:#eff6ff;border-color:#bfdbfe;color:#2563eb}.schema-head,.schema-row-count{color:#94a3b8}body.login{background:#f5f7fb}body.login #header,body.login #branding{background:#fff}#footer{border-color:#e2e8f0;color:#94a3b8}.console-sidebar{scrollbar-color:#cbd5e1 #fff}.sidebar-fold{border:0;padding:0;margin:0}.sidebar-fold>.sidebar-body{padding-top:0}
@media(max-width:700px){.console-sidebar{background:#fff;max-height:330px!important}.console-sidebar .sidebar-body{display:block!important;padding-top:15px}.sidebar-fold:not([open]) .sidebar-body{display:none!important}.sidebar-mobile-toggle{display:flex;list-style:none;width:auto;margin:0;padding:9px 12px;border:1px solid #e2e8f0;background:#f8fafc;color:#475569;border-radius:6px;cursor:pointer}.sidebar-mobile-toggle::-webkit-details-marker{display:none}.sidebar-item{border-color:#e2e8f0}.sidebar-overview{color:#475569!important}}

/* Native single selects must grow with padding instead of inheriting Django's 30px height. */
body select:not([multiple]):not([size]),body select[size="1"]{box-sizing:border-box;height:auto;min-height:38px;line-height:1.5;padding:7px 10px;vertical-align:middle}
body .admin-language select:not([multiple]):not([size]){min-height:32px;padding:5px 7px}
body #changelist .actions select:not([multiple]):not([size]){height:auto;min-height:34px;padding:6px 8px;line-height:1.5}

/* Django filtered permission/group selectors: contain long names without flex overflow. */
.form-row .selector{display:flex;flex-wrap:nowrap;gap:12px;width:100%;min-width:0;max-width:100%;box-sizing:border-box;border:0;overflow:visible;align-items:stretch}
.form-row .selector-available,.form-row .selector-chosen{min-width:0;width:0;flex:1 1 0;box-sizing:border-box}
.form-row .selector .selector-available-title,.form-row .selector .selector-chosen-title{background:#eff6ff;color:#1e40af;border:1px solid #cbdcf3;border-radius:8px 8px 0 0;padding:12px 14px;min-height:80px;box-sizing:border-box}
.form-row .selector .selector-available-title label,.form-row .selector .selector-chosen-title label{color:#1e40af!important;float:none;width:auto;min-width:0;display:block;margin:0 0 6px;padding:0;font-weight:600;font-size:13px;line-height:1.6}
.form-row .selector .helptext{color:#526b8d;white-space:normal;line-height:1.7;margin:0;font-size:12px}
.form-row .selector .selector-filter{background:#f8fafc;border-color:#cbdcf3;align-items:center;padding:9px 10px;min-width:0;box-sizing:border-box}
.form-row .selector .selector-filter label{flex:0 0 18px;margin:0;min-width:18px}
.form-row .selector .selector-filter input{width:0;min-width:0;flex:1 1 0;box-sizing:border-box;height:34px;padding:6px 9px;line-height:20px;margin:0}
.form-row .selector select[multiple]{width:100%!important;min-width:0;max-width:100%;box-sizing:border-box;height:240px;min-height:180px;flex:0 0 auto;padding:8px;margin:0;border:1px solid #cbdcf3;border-radius:0;background:#fff;color:#334155;overflow:auto;font-size:12px;line-height:1.7}
.form-row .selector select option{padding:5px 7px;min-height:24px;box-sizing:border-box}
.form-row .selector ul.selector-chooser{flex:0 0 30px;box-sizing:border-box;align-self:center;margin:0;transform:none}
.form-row .selector .selector-chooseall,.form-row .selector .selector-clearall{display:block;box-sizing:border-box;height:auto;min-height:38px;overflow:visible;margin:0;padding:10px 8px;border:1px solid #cbdcf3;border-top:0;border-radius:0 0 8px 8px;background:#f8fafc;line-height:1.5;text-align:center}
.form-row .selector .list-footer-display{background:#eff6ff;color:#1e40af;border-color:#cbdcf3}
.change-form .submit-row{position:static;bottom:auto;margin-top:24px;box-shadow:none}
@media(max-width:1100px){.form-row .selector{flex-direction:column;gap:10px}.form-row .selector-available,.form-row .selector-chosen{width:100%!important;flex:0 0 auto}.form-row .selector ul.selector-chooser{display:flex;align-self:center;flex:0 0 auto;width:auto;transform:rotate(90deg);margin:3px 0}.form-row .selector select[multiple]{height:210px}}

/* Override Django's viewport-based form width inside our padded mobile cards. */
.aligned .form-row>div,.aligned .form-row .flex-container{min-width:0;max-width:100%;box-sizing:border-box}
.aligned .help,.aligned .readonly{overflow-wrap:anywhere}
.help,.help-tooltip{color:#64748b!important}
@media(max-width:767px){
  .aligned .form-row>div{width:100%;max-width:100%;box-sizing:border-box}
  .aligned .form-row .flex-container{width:100%;min-width:0;max-width:100%;flex-wrap:wrap}
  .aligned input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.aligned textarea,.aligned select,.aligned .related-widget-wrapper,.display-image-widget{max-width:100%;box-sizing:border-box;min-width:0}
  .aligned .related-widget-wrapper{display:flex;flex-wrap:wrap;gap:5px}
  .aligned .related-widget-wrapper select{flex:1 1 160px;width:auto}
  .aligned .selector .selector-filter input{width:0}
  .aligned .form-row .help{margin-left:0;padding-left:0;max-width:100%}
  .change-form .submit-row{justify-content:flex-start;align-items:center;flex-direction:row}
  .change-form .submit-row>*{margin:0!important}
  .console-sidebar .sidebar-mobile-toggle{display:flex!important;visibility:visible!important}
}
