:root{--primary:#0b5fc6;--secondary:#08366f;--accent:#25a7ff;--header-color:#fff;--header-bg:#082d60;--breadcrumbs-bg:#0d4d98;--link-fg:#0b61c9;--link-hover-color:#084d9e;--body-bg:#f2f6fb;--hairline-color:#dce6f2}body{font-family:"Microsoft YaHei",system-ui,sans-serif;background:#f2f6fb;color:#17263d}#header{height:76px;padding:0 36px;background:linear-gradient(105deg,#062652,#0d5db6);box-shadow:0 5px 20px #062b5b2e}.union-brand{height:76px;display:flex;align-items:center;gap:13px;color:#fff!important;text-decoration:none}.union-mark{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#32b5ff,#1164d7);font-weight:900;font-size:22px;box-shadow:0 8px 22px #001b3c66}.union-brand b,.union-brand small{display:block}.union-brand b{font-size:19px;letter-spacing:.04em}.union-brand small{font-size:11px;color:#bfdcff;letter-spacing:.15em;margin-top:2px}.front-link{color:#d7eaff!important;border:1px solid #ffffff38;border-radius:8px;padding:8px 14px}.breadcrumbs{padding:12px 36px;background:#e8f1fc;color:#49647f}.breadcrumbs a{color:#0a60c3}#content{padding:28px 36px;max-width:1500px;margin:auto}.union-dashboard #content{width:auto}.admin-hero{min-height:190px;border-radius:20px;padding:34px 38px;display:flex;align-items:center;justify-content:space-between;background:radial-gradient(circle at 88% 20%,#2caeff 0,transparent 22%),linear-gradient(120deg,#082b5f,#0b63c7);color:#fff;box-shadow:0 18px 45px #0a43842b;position:relative;overflow:hidden}.admin-hero:after{content:"";position:absolute;inset:0;background-image:linear-gradient(#fff0 95%,#ffffff10 95%),linear-gradient(90deg,#fff0 95%,#ffffff10 95%);background-size:42px 42px}.admin-hero>div{position:relative;z-index:1}.admin-hero span{font-size:11px;letter-spacing:.2em;color:#9ed6ff}.admin-hero h1{font-size:32px;margin:7px 0;color:#fff}.admin-hero p{margin:0;color:#d6eaff}.hero-date{text-align:right;color:#c7e5ff}.hero-date b{font-size:19px;color:#fff}.admin-groups{margin-top:22px}.admin-group{background:#fff;border:1px solid #dce6f1;border-radius:17px;padding:28px;box-shadow:0 10px 30px #143d690a}.group-head{display:flex;gap:15px;align-items:center;margin-bottom:22px}.group-head i{font:700 28px/1 Georgia;color:#c9dcf3;font-style:normal}.group-head h2{margin:0;color:#0b356d;font-size:23px}.group-head p{margin:2px 0 0;color:#78889c;font-size:13px}.module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:15px}.module-grid>a{min-height:150px;border:1px solid #dce7f4;border-radius:13px;padding:19px;display:flex;flex-direction:column;text-decoration:none;background:linear-gradient(145deg,#fff,#f8fbff);transition:.2s}.module-grid>a:hover{border-color:#73adee;transform:translateY(-3px);box-shadow:0 12px 28px #0c5da316}.module-grid b{font-size:17px;color:#123c70}.module-grid span{font-size:13px;color:#748399;margin-top:7px}.module-grid em{font-style:normal;font-size:12px;font-weight:700;color:#0b67cf;margin-top:auto}.union-side-nav{display:block!important;position:sticky!important;flex:0 0 270px!important;left:0!important;margin-left:0!important;background:#071f42!important;border:0!important;padding:18px 12px;width:270px!important;box-sizing:border-box}.toggle-nav-sidebar{display:none!important}.side-title{padding:10px 13px 18px;color:#fff}.side-title small,.side-title b{display:block}.side-title small{font-size:10px;letter-spacing:.18em;color:#6fa9e8}.side-title b{font-size:18px;margin-top:3px}.union-side-nav>a{display:grid;grid-template-columns:34px 1fr 12px;align-items:center;gap:10px;color:#cbdcf1!important;padding:15px 13px;margin:5px 0;border-radius:11px;text-decoration:none;transition:.18s}.union-side-nav>a:hover,.union-side-nav>a.active{background:linear-gradient(100deg,#0a5dbd,#147ddb);color:#fff!important}.union-side-nav i{font:700 16px/1 Georgia;color:#5b8fc7;font-style:normal}.union-side-nav>a.active i{color:#bfe2ff}.union-side-nav span b,.union-side-nav span small{display:block}.union-side-nav span b{font-size:15px}.union-side-nav span small{font-size:10px;color:#7898bd;margin-top:3px}.union-side-nav>a.active span small{color:#c4e2ff}.union-side-nav em{font-style:normal;font-size:21px}.module h2,.module caption,.inline-group h2{background:#0c5eb9}.button,input[type=submit],input[type=button],.submit-row input,.button.default{background:#0b66cc;border-radius:6px}.object-tools a:link,.object-tools a:visited{background:#0b66cc;border-radius:7px}#changelist-filter h2{background:#0b4f9b}.selector-chosen h2{background:#0b5fc6!important}table thead th{background:#edf4fc;color:#27496e}@media(max-width:900px){#header{padding:0 16px}.front-link{display:none}#content{padding:18px}.admin-hero{padding:26px}.hero-date{display:none}.module-grid{grid-template-columns:1fr 1fr}.union-side-nav{flex-basis:220px!important;width:220px!important}}@media(max-width:700px){.union-side-nav{display:none!important}.module-grid{grid-template-columns:1fr}.admin-hero h1{font-size:25px}.union-brand small{display:none}}

/* Changelist filters: use a top filter bar instead of the default right sidebar. */
#changelist.filtered{display:flex!important;flex-direction:column!important;gap:12px!important}
#changelist.filtered #toolbar{order:1;margin:0!important;border:1px solid #dce6f2!important;border-radius:10px!important;background:#fff!important;padding:12px!important}
#changelist.filtered #toolbar form{display:flex!important;align-items:center!important;gap:8px!important}
#changelist.filtered #toolbar input[type="text"]{height:36px!important;min-width:min(460px,42vw)!important;border:1px solid #cdd8e6!important;border-radius:8px!important}
#changelist.filtered #toolbar input[type="submit"]{height:36px!important;padding:0 18px!important}
#changelist-filter{order:2!important;position:static!important;right:auto!important;top:auto!important;width:auto!important;margin:0!important;border:1px solid #dce6f2!important;border-radius:10px!important;background:#fff!important;padding:10px 12px!important;box-shadow:none!important;display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:8px 18px!important}
#changelist-filter h2,#changelist-filter details[data-filter-title="显示计数"],#changelist-filter details[data-filter-title="Show counts"]{display:none!important}
#changelist-filter details{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;padding:0!important;border:0!important}
#changelist-filter details summary{display:inline-flex!important;align-items:center!important;list-style:none!important;cursor:default!important;white-space:nowrap!important}
#changelist-filter details summary::-webkit-details-marker{display:none!important}
#changelist-filter h3{margin:0!important;padding:0!important;background:transparent!important;color:#17375e!important;font-size:13px!important;font-weight:800!important;white-space:nowrap!important}
#changelist-filter h3:before{content:"筛选：";color:#7b8da3;font-weight:700}
#changelist-filter ul{display:inline-flex!important;flex-wrap:wrap!important;gap:6px!important;margin:0!important;padding:0!important}
#changelist-filter li{display:inline-flex!important;margin:0!important;padding:0!important;border:0!important}
#changelist-filter li a{display:inline-flex!important;align-items:center!important;min-height:30px!important;padding:4px 10px!important;border:1px solid #d6e3f1!important;border-radius:999px!important;background:#f8fbff!important;color:#34516e!important}
#changelist-filter li.selected a{background:#0b66cc!important;border-color:#0b66cc!important;color:#fff!important}
#changelist-filter-extra-actions{display:none!important}
#changelist.filtered .changelist-form-container,#changelist.filtered .results,#changelist.filtered .paginator,#changelist.filtered #changelist-form{margin-right:0!important;width:100%!important}
#changelist.filtered .actions{order:3!important;margin:0!important;padding:10px 0!important}
#changelist.filtered .results{order:4!important;border:1px solid #dce6f2!important;border-radius:10px!important;overflow:auto!important;background:#fff!important}
#changelist.filtered .paginator{order:5!important}
@media(max-width:900px){#changelist-filter{display:block!important}#changelist-filter details{display:block!important;margin:0 0 10px!important}#changelist-filter ul{display:flex!important;margin-top:6px!important}}@media(max-width:700px){#changelist.filtered #toolbar form{align-items:stretch!important;flex-direction:column!important}#changelist.filtered #toolbar input[type="text"]{min-width:100%!important}}

/* Member archive filter panel, modeled as a direct query form above the table. */
.model-memberprofile #changelist.filtered{display:block!important}
.model-memberprofile #changelist .changelist-form-container{display:block!important}
.model-memberprofile .admin-filter-panel{margin:0 0 16px;border:1px solid #d9e3ef;border-radius:10px;background:#fff;box-shadow:0 8px 22px rgba(20,61,105,.06);overflow:hidden}
.change-list #content{max-width:none!important;margin:0!important;padding-left:36px!important;padding-right:36px!important}
.change-list #content-main{width:100%!important}
.change-list #changelist{width:100%!important}
.change-list .object-tools{right:36px!important}
.model-memberprofile .filter-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #e3ebf4}
.model-memberprofile .filter-panel-head b{display:inline-block;min-width:360px;padding:9px 14px;background:#0d5b9a;color:#fff;font-size:18px;line-height:1.25}
.model-memberprofile .filter-panel-head span{display:block;margin-top:9px;color:#526783;font-size:13px}
.model-memberprofile .filter-reset{height:36px;padding:8px 16px!important;border:1px solid #ccd8e6!important;border-radius:8px!important;background:#fff!important;color:#17375e!important;white-space:nowrap}
.model-memberprofile .admin-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr)) 180px;gap:16px;padding:18px 20px;background:#fff}
.model-memberprofile .admin-filter-grid label{margin:0;color:#0e2746;font-size:13px;font-weight:700}
.model-memberprofile .admin-filter-grid label span{display:block;margin-bottom:7px}
.model-memberprofile .admin-filter-grid input,.model-memberprofile .admin-filter-grid select{width:100%;height:40px;border:1px solid #cbd8e8;border-radius:7px;background:#fff;color:#17263d;padding:8px 11px;font:inherit}
.model-memberprofile .admin-filter-grid input:focus,.model-memberprofile .admin-filter-grid select:focus{outline:0;border-color:#0b66cc;box-shadow:0 0 0 3px rgba(11,102,204,.12)}
.model-memberprofile .admin-filter-grid button{align-self:end;height:40px;border:0;border-radius:8px;background:#0b66cc;color:#fff;font-weight:800;cursor:pointer}
.model-memberprofile #changelist-form .actions{margin:0 0 12px!important;padding:14px 18px!important;border:1px solid #dce6f2;border-radius:10px;background:#fff}
.model-memberprofile #changelist .results{margin:0!important;border:1px solid #dce6f2;border-radius:10px;background:#fff;overflow:auto}
.model-memberprofile #changelist .paginator{margin-top:12px!important}
@media(max-width:1200px){.model-memberprofile .admin-filter-grid{grid-template-columns:repeat(3,minmax(160px,1fr))}.model-memberprofile .admin-filter-grid button{grid-column:auto}}@media(max-width:760px){.model-memberprofile .filter-panel-head{display:block}.model-memberprofile .filter-panel-head b{min-width:0;width:100%;box-sizing:border-box}.model-memberprofile .filter-reset{margin-top:12px}.model-memberprofile .admin-filter-grid{grid-template-columns:1fr}}

/* Shared admin changelist workbench. */
.change-list #content{max-width:none!important;margin:0!important;padding:34px 36px!important}
.change-list #content-main,.change-list #changelist,.change-list #changelist .changelist-form-container{width:100%!important}
.change-list .object-tools{right:36px!important}
.admin-generic-filter-panel{margin:0 0 16px;border:1px solid #d9e3ef;border-radius:10px;background:#fff;box-shadow:0 8px 22px rgba(20,61,105,.06);overflow:hidden}
.admin-generic-filter-panel .filter-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #e3ebf4}
.admin-generic-filter-panel .filter-panel-head b{display:inline-block;min-width:300px;padding:9px 14px;background:#0d5b9a;color:#fff;font-size:18px;line-height:1.25}
.admin-generic-filter-panel .filter-panel-head span{display:block;margin-top:9px;color:#526783;font-size:13px}
.generic-filter-body{padding:18px 20px;background:#fff}
.generic-filter-body #toolbar{margin:0 0 14px!important;padding:0!important;border:0!important;background:transparent!important}
.generic-filter-body #toolbar form{display:flex!important;align-items:end!important;gap:10px!important;flex-wrap:wrap!important}
.generic-filter-body #toolbar label{display:block!important;margin:0;color:#0e2746;font-size:13px;font-weight:700}
.generic-filter-body #toolbar input[type="text"],.generic-filter-body #toolbar input[type="search"]{height:40px!important;min-width:340px!important;border:1px solid #cbd8e8!important;border-radius:7px!important;background:#fff!important;padding:8px 11px!important;font:inherit!important}
.generic-filter-body #toolbar input[type="submit"]{height:40px!important;min-width:120px!important;border:0!important;border-radius:8px!important;background:#0b66cc!important;color:#fff!important;font-weight:800!important}
.inline-filter-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.inline-filter-list details{margin:0!important;padding:0!important;border:0!important}
.inline-filter-list details summary{list-style:none!important;cursor:default!important}
.inline-filter-list details summary::-webkit-details-marker{display:none!important}
.inline-filter-list h3{margin:0 0 7px!important;padding:0!important;background:transparent!important;color:#0e2746!important;font-size:13px!important;font-weight:800!important}
.inline-filter-list ul{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:0!important;padding:0!important}
.inline-filter-list li{display:inline-flex!important;margin:0!important;padding:0!important;border:0!important}
.inline-filter-list li a{display:inline-flex!important;align-items:center!important;min-height:30px!important;padding:4px 10px!important;border:1px solid #d6e3f1!important;border-radius:999px!important;background:#f8fbff!important;color:#34516e!important}
.inline-filter-list li.selected a{background:#0b66cc!important;border-color:#0b66cc!important;color:#fff!important}
.change-list #changelist-form .actions{margin:0 0 12px!important;padding:14px 18px!important;border:1px solid #dce6f2;border-radius:10px;background:#fff}
.change-list #changelist .results{margin:0!important;border:1px solid #dce6f2;border-radius:10px;background:#fff;overflow:auto}
.change-list #changelist .paginator{margin-top:12px!important}
@media(max-width:760px){.change-list #content{padding:22px 16px!important}.admin-generic-filter-panel .filter-panel-head{display:block}.admin-generic-filter-panel .filter-panel-head b{min-width:0;width:100%;box-sizing:border-box}.generic-filter-body #toolbar input[type="text"],.generic-filter-body #toolbar input[type="search"]{min-width:100%!important}.generic-filter-body #toolbar input[type="submit"]{width:100%!important}}
