.wc-page{margin:0;background:#e9e7e1;color:#302f2c;font:14px/1.45 Arial,sans-serif;letter-spacing:0}
.wc-shell{max-width:1180px;margin:auto;min-height:100dvh;background:#f7f7f5}
.wc-bar{display:flex;align-items:center;gap:12px;min-height:54px;padding:8px 18px;background:#30383d;color:#fff;box-sizing:border-box}
.wc-bar img{width:30px;height:30px;object-fit:contain}.wc-bar strong{font-size:15px}.wc-bar a{margin-left:auto;color:#fff;white-space:nowrap;flex:none}
.wc-body{padding:18px;min-width:0}.wc-body h1{font-size:22px;margin:0 0 16px}.wc-body h2{font-size:16px;margin:0}
.wc-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 0;border-bottom:1px solid #d3d5d6}
.wc-tools label,.wc-field{display:flex;align-items:center;gap:8px}.wc-field{align-items:stretch;flex-direction:column;margin:12px 0}.wc-tools select{max-width:420px;min-width:140px}
.wc-body input,.wc-body select,.wc-body textarea{box-sizing:border-box;padding:9px;border:1px solid #bfc6ca;border-radius:4px;font:inherit;background:#fff;color:#302f2c;min-width:0;max-width:100%}
.wc-body input[type=checkbox]{width:16px;height:16px;padding:0}.wc-body input[type=number]{width:90px}.wc-body input[type=time]{width:105px}
.wc-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 10px;border:1px solid #bdc5c9;border-radius:4px;background:#eceff0;color:#30383d;font:600 13px/1.4 Arial,sans-serif;cursor:pointer;transition:background .15s,border-color .15s}
.wc-button:hover{background:#dfe5e7;border-color:#95a3ac}.wc-button:disabled{cursor:default;opacity:.55}.wc-button img{width:18px;height:18px}.wc-icon{width:36px;height:36px;padding:7px;flex:none}
.wc-status{margin:12px 0;color:#536168;overflow-wrap:anywhere}.wc-error{color:#ab2828}.wc-success{color:#246344}
.wc-list{margin:14px 0}.wc-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 0;border-bottom:1px solid #d5d8da;align-items:center}.wc-row strong{display:block;font-size:14px;overflow-wrap:anywhere}.wc-row small{display:block;color:#647078;overflow-wrap:anywhere}.wc-actions{display:flex;gap:8px;flex-wrap:wrap}
.wc-settings{padding:12px 0;border-bottom:1px solid #d5d8da}.wc-settings summary{cursor:pointer}.wc-empty{padding:24px 0;color:#647078}
.wc-dialog{width:min(1060px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #aab3b8;border-radius:6px;background:#f7f7f5;color:#302f2c;box-sizing:border-box;overflow:auto;font:14px/1.45 Arial,sans-serif;letter-spacing:0}.wc-dialog::backdrop{background:#17202555}.wc-dialog .wc-bar{position:sticky;top:0;z-index:1}.wc-dialog .wc-bar .wc-icon{margin-left:auto;background:transparent;color:#fff;border:0}.wc-dialog .wc-bar .wc-icon img{filter:brightness(0) invert(1)}
.wc-unlock{max-width:420px}.wc-file{width:100%}.wc-file img{width:18px;height:18px}.wc-main-link{margin-left:8px;flex:none}.wc-preview{max-width:100%;max-height:65vh;object-fit:contain}.wc-alert{color:#9c2626}
@media(max-width:600px){.wc-body{padding:12px}.wc-bar{padding:8px 12px}.wc-tools{align-items:stretch}.wc-tools select{width:100%;max-width:100%}.wc-row{grid-template-columns:1fr}.wc-actions{justify-content:flex-start}.wc-body h1{font-size:20px}.wc-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.wc-tools label{flex-wrap:wrap}.wc-bar strong{font-size:13px;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.wc-button{transition:none}}
/* Keep the window title legible under the existing EP and P theme overrides. */
html body dialog.wc-dialog{padding:0!important}
html body dialog.wc-dialog>.wc-bar{margin:0!important;padding:8px 18px!important;background:#30383d!important;color:#fff!important}
html body dialog.wc-dialog>.wc-bar strong{color:#fff!important;font-size:15px!important}
html body dialog.wc-dialog>.wc-bar .wc-icon{background:transparent!important;border:0!important;color:#fff!important}
html body dialog.wc-dialog .wc-body h1{font-size:22px!important}
