/* SCH Core Design System 2.0 */
.sch-wrap{color:var(--sch-text);max-width:1440px}.sch-wrap *{box-sizing:border-box}.sch-page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0}.sch-page-title{display:flex;align-items:center;gap:14px}.sch-page-title>.dashicons{width:44px;height:44px;font-size:27px;line-height:44px;text-align:center;background:var(--sch-primary);color:#fff;border-radius:12px}.sch-page-title h1{margin:0;color:var(--sch-text);font-size:28px;line-height:1.15}.sch-page-title p{margin:5px 0 0;color:var(--sch-muted)}.sch-page-actions{display:flex;gap:10px;flex-wrap:wrap}.sch-card{background:var(--sch-surface);border:1px solid var(--sch-border);border-radius:var(--sch-radius);box-shadow:var(--sch-shadow);padding:22px;margin:0 0 20px}.sch-card-title{margin:0 0 18px;font-size:18px}.sch-grid{display:grid;gap:var(--sch-gap);margin-bottom:20px}.sch-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sch-stat-card{position:relative;display:flex;gap:16px;align-items:center;background:var(--sch-surface);border:1px solid var(--sch-border);border-top:4px solid var(--sch-primary);border-radius:var(--sch-radius);padding:20px;box-shadow:var(--sch-shadow)}.sch-stat-card>.dashicons{width:44px;height:44px;font-size:25px;line-height:44px;text-align:center;border-radius:12px;background:var(--sch-surface-soft);color:var(--sch-primary)}.sch-stat-card strong{display:block;font-size:25px;line-height:1.1}.sch-stat-card span,.sch-stat-card small{display:block;color:var(--sch-muted);margin-top:4px}.sch-accent-secondary{border-top-color:var(--sch-secondary)}.sch-accent-success{border-top-color:var(--sch-success)}.sch-accent-info{border-top-color:var(--sch-info)}.sch-accent-danger{border-top-color:var(--sch-danger)}.sch-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 15px;border-radius:10px;text-decoration:none!important;font-weight:600;border:1px solid transparent;transition:transform var(--sch-transition),background var(--sch-transition)}.sch-button:hover{transform:translateY(-1px)}.sch-button-primary{background:var(--sch-primary);color:#fff!important}.sch-button-primary:hover{background:var(--sch-primary-dark)}.sch-button-secondary{background:var(--sch-secondary);color:#fff!important}.sch-button-ghost{background:transparent;border-color:var(--sch-border);color:var(--sch-text)!important}.sch-badge{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:700;background:#eef0ee;color:#505750}.sch-badge-success{background:#e4f4e9;color:#25643c}.sch-badge-warning{background:#fff1d6;color:#84550f}.sch-badge-danger{background:#fbe4e4;color:#8e2929}.sch-badge-info{background:#dff2f5;color:#1e6875}.sch-alert{border-left:4px solid var(--sch-info);background:#eef8fa;padding:12px 16px;border-radius:var(--sch-radius-sm);margin:10px 0}.sch-alert p{margin:0}.sch-alert-success{border-color:var(--sch-success);background:#edf8f0}.sch-alert-warning{border-color:var(--sch-warning);background:#fff8e8}.sch-alert-error{border-color:var(--sch-danger);background:#fff0f0}.sch-empty-state{text-align:center;padding:42px 20px;color:var(--sch-muted)}.sch-empty-state .dashicons{font-size:38px;width:38px;height:38px;color:var(--sch-primary)}.sch-module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.sch-module-card{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:start;padding:18px;border:1px solid var(--sch-border);border-left:5px solid var(--sch-primary);border-radius:var(--sch-radius-sm);background:var(--sch-surface)}.sch-module-card>span.dashicons{color:var(--sch-primary);font-size:25px;width:28px;height:28px}.sch-module-card h3{margin:0 0 4px}.sch-module-card p{margin:0;color:var(--sch-muted)}.sch-module-card small{display:block;margin-top:6px}.sch-module-card .sch-button{grid-column:2/4;justify-self:start}.sch-progress-label{display:flex;justify-content:space-between;margin-bottom:8px}.sch-progress-track{height:10px;border-radius:999px;background:#e6ebe6;overflow:hidden}.sch-progress-track span{display:block;height:100%;background:var(--sch-primary);border-radius:inherit}.sch-color-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.sch-color-field{display:grid;grid-template-columns:40px 1fr;gap:8px 10px;align-items:center;padding:12px;border:1px solid var(--sch-border);border-radius:10px}.sch-color-field span{grid-column:1/3;font-weight:600}.sch-color-field input{width:40px;height:35px;padding:0;border:0;background:none}.sch-color-field code{font-size:12px}.sch-diagnostic-list{display:grid;gap:1px;background:var(--sch-border);border:1px solid var(--sch-border);border-radius:var(--sch-radius-sm);overflow:hidden}.sch-diagnostic-item{display:grid;grid-template-columns:14px minmax(160px,1fr) minmax(200px,2fr);gap:12px;align-items:center;background:var(--sch-surface);padding:12px 15px}.sch-status-dot{width:10px;height:10px;border-radius:50%;background:var(--sch-muted)}.sch-status-ok{background:var(--sch-success)}.sch-status-warning{background:var(--sch-warning)}.sch-status-error{background:var(--sch-danger)}.sch-table-wrap{overflow:auto}.sch-table th{font-weight:700}.sch-required{color:var(--sch-danger)}.sch-modal{position:fixed;inset:0;z-index:100000;display:none}.sch-modal.is-open{display:block}.sch-modal-backdrop{position:absolute;inset:0;background:rgba(18,25,19,.58)}.sch-modal-dialog{position:relative;z-index:1;width:min(680px,calc(100% - 32px));max-height:calc(100vh - 60px);overflow:auto;margin:30px auto;background:var(--sch-surface);border-radius:var(--sch-radius);box-shadow:0 24px 80px rgba(0,0,0,.24)}.sch-modal-dialog header,.sch-modal-dialog footer{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--sch-border)}.sch-modal-dialog footer{border-top:1px solid var(--sch-border);border-bottom:0}.sch-modal-content{padding:20px}.sch-icon-button{border:0;background:transparent;font-size:28px;cursor:pointer}.sch-tabs{display:flex;gap:5px;border-bottom:1px solid var(--sch-border)}.sch-tab{border:0;background:transparent;padding:10px 14px;cursor:pointer;font-weight:600}.sch-tab.is-active{color:var(--sch-primary);border-bottom:3px solid var(--sch-primary)}@media(max-width:900px){.sch-grid-3{grid-template-columns:1fr}.sch-page-header{align-items:flex-start;flex-direction:column}.sch-diagnostic-item{grid-template-columns:14px 1fr}.sch-diagnostic-item code{grid-column:2;white-space:normal;word-break:break-word}}.sch-action-group{display:flex;gap:7px;flex-wrap:wrap}.sch-service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.sch-service-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;border:1px solid var(--sch-border);border-radius:var(--sch-radius-sm);background:var(--sch-surface-soft)}.sch-principles{margin:0;padding-left:22px}.sch-principles li{padding:5px 0}.sch-module-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}.sch-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 16px}.sch-toolbar-group{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.sch-filter-bar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;padding:14px;border:1px solid var(--sch-border);border-radius:var(--sch-radius-sm);background:var(--sch-surface-soft);margin-bottom:16px}.sch-filter-field{display:grid;gap:5px;min-width:160px}.sch-filter-field label{font-weight:600}.sch-metric{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--sch-border)}.sch-metric:last-child{border-bottom:0}

/* SCH Core 2.2 – user-facing administration */
.sch-notification-card{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 20px;margin:0 0 14px;border:1px solid var(--sch-border);border-left-width:4px;border-radius:var(--sch-radius);background:var(--sch-surface)}
.sch-notification-card.is-compact{padding:14px 16px}
.sch-notification-card h3{margin:0 0 6px}.sch-notification-card p{margin:0 0 6px}.sch-notification-card small{color:var(--sch-muted)}
.sch-notification-card.sch-alert-success{border-left-color:#2e7d32}.sch-notification-card.sch-alert-warning{border-left-color:#b26a00}.sch-notification-card.sch-alert-error{border-left-color:#b32d2e}.sch-notification-card.sch-alert-info{border-left-color:#2271b1}
.sch-filter-bar{display:flex;justify-content:flex-end;margin:0 0 16px}.sch-filter-bar input[type=search]{min-width:280px}
.sch-checkbox-row{display:block;margin:0 0 8px}.sch-module-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}
.sch-density-compact .sch-module-grid{gap:10px}.sch-density-compact .sch-module-card{padding:12px}.sch-density-spacious .sch-module-grid{gap:24px}.sch-density-spacious .sch-module-card{padding:24px}
.sch-portal{margin:24px 0}.sch-portal-header{margin-bottom:16px}.sch-portal-header h2{margin:0}
@media (max-width:782px){.sch-notification-card{display:block}.sch-notification-card .sch-action-group{margin-top:12px}.sch-filter-bar input[type=search]{min-width:0;width:100%}}

/* SCH Core 2.3 dashboard widget framework */
.sch-widget-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.sch-dashboard-widget{background:var(--sch-surface,#fff);border:1px solid var(--sch-border,#d9dfd4);border-top:4px solid var(--sch-primary,#365238);border-radius:var(--sch-radius,14px);padding:16px;box-shadow:var(--sch-shadow,0 8px 28px rgba(31,45,31,.08));min-width:0}
.sch-dashboard-widget.sch-accent-secondary{border-top-color:var(--sch-secondary,#c88a32)}
.sch-dashboard-widget.sch-accent-success{border-top-color:#4f8a5b}
.sch-dashboard-widget.sch-accent-info{border-top-color:#4b7f94}
.sch-dashboard-widget.sch-accent-warning{border-top-color:#c88a32}
.sch-dashboard-widget.sch-accent-danger{border-top-color:#b64b4b}
.sch-dashboard-widget>header{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px}
.sch-dashboard-widget>header .dashicons{font-size:24px;width:24px;height:24px;color:var(--sch-primary,#365238)}
.sch-dashboard-widget h3{margin:0 0 3px;font-size:16px}.sch-dashboard-widget header p{margin:0;color:var(--sch-muted,#6d746c)}
.sch-dashboard-widget__body{min-height:46px}.sch-dashboard-widget footer{border-top:1px solid var(--sch-border,#d9dfd4);margin-top:13px;padding-top:10px}
.sch-dashboard-widget footer a{text-decoration:none;font-weight:600}.sch-widget-metrics{display:flex;gap:16px;flex-wrap:wrap}.sch-widget-metrics span{display:flex;flex-direction:column;color:var(--sch-muted,#6d746c)}.sch-widget-metrics strong{font-size:22px;color:var(--sch-text,#202820)}
.sch-widget-big-number{font-size:38px;font-weight:700;line-height:1}.sch-widget-error{color:#b32d2e}

/* SCH Core 2.4 component additions */
.sch-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:0 0 16px}.sch-toolbar__group{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.sch-filter-bar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;padding:14px;border:1px solid var(--sch-color-border);border-radius:var(--sch-radius-md);background:var(--sch-color-surface-soft);margin-bottom:16px}.sch-filter-field{display:flex;flex-direction:column;gap:5px;min-width:160px}.sch-filter-field label{font-weight:600}.sch-metric{padding:16px;border:1px solid var(--sch-color-border);border-radius:var(--sch-radius-md);background:var(--sch-color-surface)}.sch-metric__label{display:block;color:var(--sch-color-muted);font-size:12px;text-transform:uppercase;letter-spacing:.04em}.sch-metric__value{display:block;font-size:28px;line-height:1.2;margin-top:4px}.sch-datagrid .sch-table th{white-space:nowrap}.sch-datagrid-actions{white-space:nowrap}.sch-code-example{position:relative;background:#1f2933;color:#f5f7fa;border-radius:var(--sch-radius-md);padding:16px;overflow:auto}.sch-code-example code{color:inherit}.sch-doc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.sch-doc-card{border:1px solid var(--sch-color-border);border-radius:var(--sch-radius-md);padding:16px;background:var(--sch-color-surface)}.sch-doc-card h3{margin-top:0}.sch-component-stack>*+*{margin-top:14px}

/* SCH Core 2.5 */
.sch-chart{margin:0}.sch-chart figcaption{font-weight:700;margin-bottom:16px}.sch-chart-row{display:grid;grid-template-columns:minmax(90px,160px) 1fr 70px;gap:12px;align-items:center;margin:10px 0}.sch-chart-track{display:block;height:12px;background:var(--sch-surface-soft);border-radius:999px;overflow:hidden}.sch-chart-fill{display:block;height:100%;background:var(--sch-primary);border-radius:inherit}.sch-chart-row strong{text-align:right}.sch-roadmap{display:grid;gap:12px}.sch-roadmap-item{padding:16px;border:1px solid var(--sch-border);border-radius:var(--sch-radius-md);background:var(--sch-surface)}.sch-roadmap-item h3{margin:8px 0 4px}.sch-roadmap-item p{margin:0;color:var(--sch-muted)}
@media(max-width:700px){.sch-chart-row{grid-template-columns:1fr}.sch-chart-row strong{text-align:left}}
