.sw-panel {overflow:hidden;margin-bottom:24px}
.sw-heading {display:flex;justify-content:space-between;gap:24px;align-items:center;padding:24px 26px}
.sw-eyebrow {font-size:10px;font-weight:700;letter-spacing:1.7px;color:var(--green,#3c7059);margin-bottom:7px}
.sw-heading h2 {font-size:22px;letter-spacing:-.5px;margin:0 0 8px}
.sw-heading p,.sw-inline-panel p {font-size:12px;color:#67776d;margin:0;line-height:1.7}
.sw-actions {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.sw-filters {padding:17px 26px;display:flex;align-items:end;gap:12px;border-top:1px solid #e4ebe4;border-bottom:1px solid #e4ebe4;background:#f6f8f4;flex-wrap:wrap}
.sw-filters label,.sw-form-row label {display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:600;color:#4f6256}
.sw-filters select,.sw-filters input,.sw-form-row input,.sw-access-list select {height:36px;padding:7px 11px;border:1px solid #d3ddd2;background:#fff;border-radius:5px;color:#203b2c;font:inherit;min-width:150px}
.sw-book-select {flex:1;max-width:340px}.sw-search {flex:1;max-width:330px;min-width:190px}
.sw-status {padding:10px 26px;font-size:11px;color:#617365;border-bottom:1px solid #e2e9df;min-height:38px;background:#fff}
.sw-status.sw-error {background:#fff0ed;color:#9c3828}.sw-status.sw-notice {background:#faf5e7;color:#836326}
.sw-status.sw-error.sw-notice {background:#fff0ed;color:#9c3828}
.sw-tools {display:flex;gap:15px;align-items:center;justify-content:space-between;padding:15px 26px}
.sw-book-title {display:flex;flex-direction:column;gap:5px;font-size:13px;min-width:130px}.sw-book-title span {font-size:10px;color:#79897d}
.sw-tabs {display:flex;overflow:auto;gap:3px;background:#f7f9f5;padding:0 20px;border-bottom:1px solid #cfdcce;min-height:42px}
.sw-tab {border:0;background:transparent;padding:12px 18px 10px;white-space:nowrap;font:inherit;font-size:12px;color:#6c7f6f;border-bottom:3px solid transparent;cursor:pointer}
.sw-tab.active {border-bottom-color:#3a674b;font-weight:700;color:#244b34;background:#eaf0e5}
.sw-formula {display:flex;align-items:center;border-bottom:1px solid #d4ded1;height:39px;gap:12px;font-size:12px;background:#fff}
#swAddress {min-width:78px;text-align:center;font-family:monospace;font-weight:600;border-right:1px solid #e0e7dc;line-height:38px}
.sw-fx {font-style:italic;color:#78906d;font-family:Georgia,serif;font-weight:700}
.sw-formula input {border:0;outline:none;flex:1;min-width:100px;font:inherit;background:transparent;height:38px}
.sw-grid-scroll {overflow:auto;max-height:560px;background:#f7f9f5;position:relative;overscroll-behavior:contain}
.sw-grid {table-layout:fixed;border-collapse:separate;border-spacing:0;background:white;color:#1d3023;width:max-content;font-size:12px}
.sw-grid col:first-child {width:46px}.sw-grid th {background:#edf2e9;color:#62745b;font-weight:500;text-align:center;font-size:11px;padding:6px;border-right:1px solid #d8e1d1;border-bottom:1px solid #d1ddca;height:28px}
.sw-grid thead th {position:sticky;top:0;z-index:3}.sw-grid tbody th {position:sticky;left:0;z-index:2}.sw-grid .sw-corner {left:0;z-index:4}
.sw-grid td {border-right:1px solid #e3e9de;border-bottom:1px solid #e3e9de;padding:0;position:relative;vertical-align:middle;background:#fff}
.sw-grid td input {border:0;border-radius:0;width:100%;min-width:0;height:100%;min-height:30px;padding:5px 8px;background:transparent;font:inherit;outline:none;color:inherit;box-sizing:border-box}
.sw-grid td.sw-selected {outline:2px solid #4d7840;outline-offset:-2px;z-index:1;background:#f0f7e9}
.sw-grid td.sw-changed {background:#fff8dc}.sw-grid td.sw-changed:after {content:'';position:absolute;right:0;top:0;border-top:5px solid #c39838;border-left:5px solid transparent;pointer-events:none}
.sw-grid .sw-cell-error input {color:#b24f3a!important}
.sw-pagination {display:flex;justify-content:space-between;align-items:center;padding:8px 22px;background:#f7f9f5;font-size:11px;color:#7b8b72;border-bottom:1px solid #e0e8db}
.sw-pagination>div {display:flex;gap:8px}
.sw-foot {padding:17px 26px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff}
.sw-foot strong {display:block;font-size:12px;font-weight:600;color:#466347}.sw-foot small {font-size:10px;color:#8b9785;display:block;margin-top:6px;line-height:1.6}
.sw-help {padding:12px 26px;border-top:1px solid #e8eee2;background:#fafbf8;font-size:11px;color:#7b8972;line-height:1.9}.sw-help summary {cursor:pointer;font-weight:600}.sw-help p {margin:9px 0}
.sw-empty {text-align:center;padding:70px 24px 90px;color:#7b8e77}.sw-empty-icon {width:64px;height:64px;line-height:64px;border-radius:18px;background:#eef3e7;color:#78916b;font-size:36px;margin:0 auto 20px}
.sw-empty h3 {font-size:17px;font-weight:600;color:#385136;margin-bottom:10px}.sw-empty p {font-size:12px;margin-bottom:24px}
.sw-inline-panel {padding:22px 26px;background:#f9fbf5;border-bottom:1px solid #dae4d1}
.sw-inline-panel[hidden] {display:none}.sw-inline-panel h3 {margin:0 0 12px;font-size:15px}.sw-form-row {display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:12px}
.sw-panel-title {display:flex;align-items:center;justify-content:space-between;gap:15px}.sw-panel-title small {font-size:10px;font-weight:400;color:#819075;margin-left:8px}
.sw-access-list {display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:9px;margin:16px 0;max-height:280px;overflow:auto}
.sw-access-list label {padding:9px 12px;display:flex;justify-content:space-between;align-items:center;border:1px solid #e1e8d8;background:#fff;border-radius:5px;gap:12px;font-size:12px}
.sw-access-list small {display:block;color:#94a088;font-size:10px;margin-top:5px}.sw-access-list select {min-width:100px;font-size:12px}
.sw-history {max-height:280px;overflow:auto}.sw-history>div {display:flex;align-items:center;gap:15px;padding:10px 0;border-bottom:1px solid #e2e9dc;font-size:11px}.sw-history>div span:nth-of-type(2) {flex:1}
@media(max-width:900px){.sw-heading,.sw-tools,.sw-foot {align-items:start;flex-direction:column;padding:18px}.sw-filters {padding:15px 18px}.sw-access-list {grid-template-columns:1fr}.sw-history>div {flex-wrap:wrap}.sw-grid-scroll {max-height:480px}.sw-search,.sw-book-select {max-width:none}}
