.swd-admin{max-width:1280px;color:#152e43}.swd-admin h1{margin:20px 0}.swd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.swd-card{background:#fff;border:1px solid #d7e1e9;border-radius:14px;padding:20px;margin:16px 0;box-shadow:0 4px 14px #152e4308}.swd-card h2,.swd-card h3{margin-top:0}.swd-card label{display:flex;flex-direction:column;gap:6px;font-weight:600;margin:12px 0}.swd-card input,.swd-card select,.swd-filter input,.swd-filter select{min-height:42px;max-width:100%;border:1px solid #9cabb8;border-radius:8px;padding:8px;background:#fff;color:#152e43;box-sizing:border-box}.swd-card form>select{min-height:42px;max-width:100%}.swd-card summary{cursor:pointer;min-height:36px;line-height:1.6}.swd-filter{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:20px 0}.swd-filter label{display:flex;flex-direction:column}.swd-table{overflow:auto}.swd-table table{min-width:700px}.swd-table td{vertical-align:top}.swd-table td form{margin:8px 0}.swd-table td select{width:100%;margin-bottom:6px}.swd-accounts .swd-guide,.swd-guide{padding:14px;background:#eff5fa;border:1px solid #c7d5e1;border-radius:10px;margin:16px 0;line-height:1.7}.swd-accounts .swd-caa{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.swd-caa span{padding:12px;background:#f0f5fa;border-radius:10px}.swd-falc p,.swd-falc label{font-size:17px;line-height:1.7}.swd-falc button,.swd-falc input,.swd-falc select{min-height:44px}.swd-accounts :focus-visible,.swd-admin :focus-visible{outline:3px solid #b86c16;outline-offset:3px}.swd-member-history{margin:24px 0;padding-top:16px;border-top:1px solid #d7e1e9}.swd-accounts [hidden]{display:none!important}@media(max-width:760px){.swd-grid{grid-template-columns:1fr}.swd-card{padding:14px}.swd-card input,.swd-card select{width:100%}.swd-accounts .swd-caa{display:grid;grid-template-columns:1fr 1fr}}
.swd-subject-picker{padding:16px;background:#f1f6fa;border:1px solid #c9d7e3;border-radius:12px;margin:16px 0}.swd-subject-picker input[type=search],.swd-subject-picker select{width:100%;max-width:100%;font-size:16px}.swd-picker-status{font-weight:600;color:#243e53}.swd-subject-picker [hidden]{display:none!important}
.swd-pieces{padding-top:16px;border-top:1px solid #cbd5e1;margin-top:20px}.swd-piece-card{padding:16px;margin:12px 0;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc}.swd-piece-card h4{font-size:17px;margin:0 0 8px}.swd-piece-card form{padding:12px 0;border-top:1px solid #dbe3eb}.swd-piece-card label{display:flex;flex-direction:column;gap:6px;margin:10px 0}.swd-piece-card input,.swd-piece-card select,.swd-piece-card textarea{max-width:100%;min-height:42px;box-sizing:border-box}.swd-piece-card .button{display:inline-flex;align-items:center;min-height:42px;padding:8px 12px;text-decoration:none;border-radius:8px;background:#edf2f7;color:#152e43;border:1px solid #a9b8c5;cursor:pointer}.swd-piece-card summary{padding:8px 0;cursor:pointer}.swd-piece-card textarea{width:100%}.swd-piece-card p{line-height:1.6}
.swd-piece-definition{display:grid;grid-template-columns:minmax(180px,1fr) auto auto auto;gap:14px;align-items:center;border-bottom:1px solid #d3dde5;padding:12px 0}.swd-piece-definition label{font-weight:600;line-height:1.5}.swd-piece-definition label:has(input[type=checkbox]){display:flex;flex-direction:row;align-items:center}.swd-piece-definition input[type=checkbox]{min-height:0;width:20px;height:20px}.swd-piece-definition .button{height:auto}@media(max-width:800px){.swd-piece-definition{grid-template-columns:1fr}.swd-piece-definition label{margin:5px 0}}

/* 1.7.1 — keep the season screen readable under admin theme overrides. */
:is(#wpbody-content,body) .swd-admin{background:#f3f6fa!important;color:#172c47!important;-webkit-text-fill-color:#172c47!important;padding:20px;box-sizing:border-box;border-radius:14px;line-height:1.6}
:is(#wpbody-content,body) .swd-admin :is(h1,h2,h3,h4,p,li,label,summary,small,strong,em,td,dt,dd){color:#172c47!important;-webkit-text-fill-color:#172c47!important;opacity:1!important;text-shadow:none!important}
:is(#wpbody-content,body) .swd-admin .swd-card,:is(#wpbody-content,body) .swd-admin .swd-piece-card{background:#fff!important;opacity:1!important}
:is(#wpbody-content,body) .swd-admin a{color:#174b7b!important;-webkit-text-fill-color:#174b7b!important}
:is(#wpbody-content,body) .swd-admin :is(input,select,textarea,option){color:#172c47!important;-webkit-text-fill-color:#172c47!important;background-color:#fff!important;opacity:1!important;text-shadow:none!important}
:is(#wpbody-content,body) .swd-admin input::placeholder,:is(#wpbody-content,body) .swd-admin textarea::placeholder{color:#52657b!important;-webkit-text-fill-color:#52657b!important;opacity:1!important}
:is(#wpbody-content,body) .swd-admin .button{display:inline-block;box-sizing:border-box;min-height:44px;height:auto;padding:10px 16px;line-height:1.5;white-space:normal;background:#fff!important;border:1px solid #70859b!important;color:#172c47!important;-webkit-text-fill-color:#172c47!important;opacity:1!important;text-decoration:none!important;text-shadow:none!important}
:is(#wpbody-content,body) .swd-admin .button-primary,:is(#wpbody-content,body) .swd-admin .button-primary:hover,:is(#wpbody-content,body) .swd-admin .button-primary:focus{background:#244e76!important;border-color:#244e76!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
:is(#wpbody-content,body) .swd-admin .button:disabled,:is(#wpbody-content,body) .swd-admin .button[aria-disabled=true]{background:#e3e8ef!important;color:#42556b!important;-webkit-text-fill-color:#42556b!important;border-color:#8696a7!important;cursor:not-allowed}
:is(#wpbody-content,body) .swd-admin .swd-table table{background:#fff!important;border-collapse:collapse}
:is(#wpbody-content,body) .swd-admin .swd-table th{background:#244e76!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important}
:is(#wpbody-content,body) .swd-admin .swd-table td{background:#fff!important}:is(#wpbody-content,body) .swd-admin .swd-table tr:nth-child(odd) td{background:#f5f8fc!important}
:is(#wpbody-content,body) .swd-admin :focus-visible{outline:3px solid #995d00!important;outline-offset:3px}:is(#wpbody-content,body) .swd-admin ::selection{background:#245bcc!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
@media(max-width:760px){:is(#wpbody-content,body) .swd-admin{padding:12px}:is(#wpbody-content,body) .swd-admin .swd-filter{align-items:stretch}:is(#wpbody-content,body) .swd-admin .swd-filter>label,:is(#wpbody-content,body) .swd-admin .swd-filter>select{width:100%}:is(#wpbody-content,body) .swd-admin .swd-filter .button{width:100%;text-align:center}}
