.spw-plan-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.spw-plan-meta > div {
  padding: 16px 18px;
  border: 1px solid #d8e3ee;
  border-radius: 13px;
  background: #fff;
}
.spw-plan-meta small,
.spw-linked-plan small {
  display: block;
  margin-bottom: 6px;
  color: #6a7e93;
  font-size: 12px;
  font-weight: 700;
}
.spw-plan-meta b {
  color: #173f6d;
  font-size: 16px;
}
.spw-plan-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(520px, 1.18fr);
  gap: 16px;
  align-items: start;
}
.spw-policy-block,
.spw-target-block,
.spw-plan-chart,
.spw-result-board {
  border: 1px solid #d7e2ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(27, 50, 76, 0.05);
}
.spw-policy-block,
.spw-target-block {
  min-height: 560px;
  padding: 23px;
}
.spw-policy-block > header,
.spw-target-block > header,
.spw-plan-chart > header,
.spw-result-board > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e4eaf1;
}
.spw-policy-block header small,
.spw-target-block header small,
.spw-plan-chart header small,
.spw-result-board header small {
  display: block;
  margin-bottom: 5px;
  color: #2c6fa9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.spw-policy-block h2,
.spw-target-block h2,
.spw-plan-chart h2,
.spw-result-board h2 {
  margin: 0;
  color: #183e6a;
  font-size: 21px;
}
.spw-policy-block header > span,
.spw-target-block header > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  background: #edf4fb;
  color: #1a5b94;
  font-size: 13px;
  font-weight: 900;
}
.spw-policy-items,
.spw-target-items {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}
.spw-policy-items article {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 13px;
  padding: 16px;
  border: 1px solid #dce6ef;
  border-radius: 12px;
  background: linear-gradient(145deg, #fbfdff, #f5f9fd);
}
.spw-policy-items article > b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #164e86;
  color: #fff;
  font-size: 12px;
}
.spw-policy-items p {
  margin: 0;
  color: #2e455d;
  font-size: 14px;
  line-height: 1.65;
}
.spw-target-items article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  padding: 16px;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  background: #fbfcfe;
}
.spw-target-items article small {
  display: block;
  color: #3475ad;
  font-size: 12px;
  font-weight: 800;
}
.spw-target-items article strong {
  display: block;
  margin-top: 4px;
  color: #263e57;
  font-size: 15px;
}
.spw-target-items article p {
  margin: 5px 0 0;
  color: #6c7e91;
  font-size: 13px;
  line-height: 1.45;
}
.spw-target-items article > b {
  align-self: center;
  min-width: 92px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #e9f3fb;
  color: #145f9d;
  font-size: 15px;
  text-align: center;
}
.spw-target-items footer {
  grid-column: 1/-1;
  display: flex;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #e8edf2;
}
.spw-target-items footer span {
  padding: 5px 8px;
  border-radius: 7px;
  background: #f0f3f7;
  color: #5d7085;
  font-size: 12px;
}
.spw-plan-chart {
  margin-top: 16px;
  padding: 24px;
}
.spw-plan-chart header p,
.spw-result-board header p {
  margin: 5px 0 0;
  color: #6e8094;
  font-size: 13px;
}
.spw-bars {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.spw-bars article {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(260px, 1.7fr) minmax(270px, 1fr);
  align-items: center;
  gap: 16px;
}
.spw-bar-label b,
.spw-bar-label span {
  display: block;
}
.spw-bar-label b {
  overflow: hidden;
  color: #30485f;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.spw-bar-label span {
  margin-top: 4px;
  color: #74869a;
  font-size: 12px;
}
.spw-bar-track,
.spw-mini-track,
.spw-table-progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ebf2;
}
.spw-bar-track i,
.spw-mini-track i,
.spw-table-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #176bb0, #25a078);
}
.spw-bar-value {
  display: flex;
  align-items: center;
  gap: 8px;
}
.spw-bar-value strong {
  min-width: 40px;
  color: #135d99;
  font-size: 16px;
}
.spw-bar-value span {
  color: #607489;
  font-size: 12px;
}
.spw-bar-value em,
.spw-result-values em {
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.spw-bar-value em.done,
.spw-result-values em.done {
  background: #def3e9;
  color: #197756;
}
.spw-bar-value em.wait,
.spw-result-values em.wait {
  background: #fff0dd;
  color: #aa6416;
}
.spw-plan-chart > footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e4eaf1;
}
.spw-plan-chart > footer > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 9px;
  background: #f2f6fa;
}
.spw-plan-chart > footer b {
  color: #194f82;
  font-size: 17px;
}
.spw-plan-chart > footer span {
  color: #6f8193;
  font-size: 12px;
}
.spw-table {
  overflow: auto;
}
.spw-table table {
  min-width: 980px;
}
.spw-row-actions {
  white-space: nowrap;
}
.spw-row-actions button {
  margin: 2px;
  padding: 7px 9px;
  border: 1px solid #c5d4e3;
  border-radius: 7px;
  background: #fff;
  color: #1e588c;
  font-size: 12px;
  font-weight: 800;
}
.spw-empty {
  padding: 58px !important;
  color: #718296;
  text-align: center !important;
}
.spw-table-progress {
  display: inline-block;
  width: 90px;
  margin-right: 8px;
  vertical-align: middle;
}
.spw-editor-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.spw-guide {
  position: sticky;
  top: 92px;
  padding: 22px;
  border-radius: 15px;
  background: #173f70;
  color: #fff;
}
.spw-guide > small {
  color: #b4cee6;
  font-size: 12px;
  font-weight: 800;
}
.spw-guide h2 {
  margin: 6px 0 18px;
  font-size: 21px;
}
.spw-guide ol {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.spw-guide li {
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}
.spw-guide li b,
.spw-guide li span {
  display: block;
}
.spw-guide li b {
  font-size: 14px;
}
.spw-guide li span {
  margin-top: 4px;
  color: #c1d2e3;
  font-size: 12px;
  line-height: 1.5;
}
.spw-guide h3 {
  margin: 20px 0 10px;
  font-size: 14px;
}
.spw-template-list {
  display: grid;
  gap: 7px;
}
.spw-template-list button {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-align: left;
}
.spw-template-list b,
.spw-template-list span {
  display: block;
}
.spw-template-list b {
  font-size: 12px;
  line-height: 1.4;
}
.spw-template-list span {
  margin-top: 4px;
  color: #b8d5eb;
  font-size: 12px;
}
.spw-document-meta,
.spw-edit-section,
.spw-execution-edit {
  padding: 21px;
  border: 1px solid #d7e1ec;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(29, 52, 79, 0.04);
}
.spw-document-meta {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.spw-document-meta.performance {
  grid-template-columns: 1.2fr 1fr 0.5fr;
}
.spw-document-meta label,
.spw-form-grid label,
.spw-quick-grid label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
  color: #41566d;
  font-size: 13px;
  font-weight: 800;
}
.spw-document-meta input,
.spw-document-meta select,
.spw-form-grid input,
.spw-form-grid select,
.spw-form-grid textarea,
.spw-quick-grid input,
.spw-quick-grid select,
.spw-quick-grid textarea {
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid #c9d6e3;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  color: #273c52;
  font: inherit;
}
.spw-edit-section {
  margin-bottom: 14px;
}
.spw-edit-section > header,
.spw-execution-edit > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}
.spw-edit-section > header > div,
.spw-execution-edit > header > div {
  display: flex;
  align-items: center;
  gap: 11px;
}
.spw-edit-section > header > div > b,
.spw-execution-edit > header > div > b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #174e84;
  color: #fff;
  font-size: 12px;
}
.spw-edit-section header strong,
.spw-edit-section header small,
.spw-execution-edit header strong,
.spw-execution-edit header small {
  display: block;
}
.spw-edit-section header strong,
.spw-execution-edit header strong {
  color: #213f5e;
  font-size: 16px;
}
.spw-edit-section header small,
.spw-execution-edit header small {
  margin-top: 3px;
  color: #728397;
  font-size: 12px;
  font-weight: 500;
}
.spw-edit-section header button,
.spw-plan-goal-edit > header button,
.spw-policy-edit > button {
  padding: 8px 10px;
  border: 1px solid #c5d5e5;
  border-radius: 8px;
  background: #f3f8fc;
  color: #1a5b91;
  font-size: 12px;
  font-weight: 800;
}
.spw-plan-goal-edit > header button,
.spw-policy-edit > button {
  border-color: #ebc5c5;
  background: #fff6f6;
  color: #b34242;
}
.spw-edit-section button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.spw-policy-edit {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  padding: 11px;
  border: 1px solid #dce5ee;
  border-radius: 11px;
  background: #fbfcfe;
}
.spw-policy-edit > b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #e9f2fb;
  color: #18588f;
  font-size: 12px;
}
.spw-policy-edit label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #445970;
  font-size: 13px;
  font-weight: 800;
}
.spw-policy-edit textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd8e4;
  border-radius: 8px;
  box-sizing: border-box;
  resize: vertical;
  font: inherit;
}
.spw-edit-list {
  display: grid;
  gap: 12px;
}
.spw-plan-goal-edit {
  padding: 17px;
  border: 1px solid #dae4ed;
  border-radius: 13px;
  background: #fbfcfe;
}
.spw-plan-goal-edit > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.spw-plan-goal-edit > header > b {
  color: #18578e;
  font-size: 14px;
}
.spw-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}
.spw-form-grid .wide,
.spw-quick-grid .wide {
  grid-column: span 2;
}
.spw-form-grid label > small,
.spw-quick-grid label > small {
  color: #7a8b9d;
  font-size: 12px;
  font-weight: 500;
}
.spw-linked-plan {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 12px;
  margin-bottom: 14px;
}
.spw-linked-plan > div {
  padding: 17px 19px;
  border: 1px solid #d6e1ec;
  border-radius: 13px;
  background: #fff;
}
.spw-linked-plan b,
.spw-linked-plan span {
  display: block;
}
.spw-linked-plan b {
  color: #214361;
  font-size: 15px;
}
.spw-linked-plan span {
  margin-top: 4px;
  color: #718397;
  font-size: 12px;
}
.spw-performance-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.spw-performance-summary article {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border: 1px solid #d7e2ed;
  border-radius: 14px;
  background: #fff;
}
.spw-performance-summary small {
  color: #64798f;
  font-size: 12px;
  font-weight: 700;
}
.spw-performance-summary b {
  margin: 6px 0;
  color: #174d7f;
  font-size: 25px;
}
.spw-performance-summary b em {
  color: #718397;
  font-size: 15px;
  font-style: normal;
}
.spw-performance-summary span {
  color: #728397;
  font-size: 12px;
}
.spw-mini-track {
  height: 6px;
  margin-top: 3px;
}
.spw-result-board {
  padding: 24px;
}
.spw-result-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.spw-result-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 17px;
  padding: 18px;
  border: 1px solid #dce5ed;
  border-radius: 14px;
  background: #fbfcfe;
}
.spw-result-card.implemented {
  border-color: #acd9c8;
  background: #f8fdfb;
}
.spw-result-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.spw-result-number > span {
  color: #52718e;
  font-size: 12px;
  font-weight: 900;
}
.spw-result-ring {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: conic-gradient(#258f72 calc(var(--progress) * 1%), #e3eaf1 0);
  position: relative;
}
.spw-result-ring:after {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #fff;
  content: '';
}
.spw-result-ring b {
  position: relative;
  z-index: 1;
  color: #175d87;
  font-size: 14px;
}
.spw-result-main > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}
.spw-result-main > header small {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eaf2f9;
  color: #286899;
  font-size: 11px;
  font-weight: 800;
}
.spw-result-main h3 {
  margin: 6px 0 4px;
  color: #263f58;
  font-size: 16px;
}
.spw-result-main > header p {
  margin: 0;
  color: #6e8092;
  font-size: 13px;
}
.spw-result-main > header button {
  padding: 8px 11px;
  border: 1px solid #9dbedc;
  border-radius: 8px;
  background: #edf6fd;
  color: #155b94;
  font-size: 12px;
  font-weight: 900;
}
.spw-result-values {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
}
.spw-result-values > span {
  padding: 7px 9px;
  border-radius: 8px;
  background: #edf2f7;
  color: #63768a;
  font-size: 12px;
}
.spw-result-values strong {
  color: #1265a2;
}
.spw-result-plan {
  margin-top: 11px;
  padding: 11px 12px;
  border-left: 3px solid #2a7bb6;
  background: #f1f6fa;
}
.spw-result-plan small {
  color: #47708f;
  font-size: 12px;
  font-weight: 800;
}
.spw-result-plan p {
  margin: 4px 0 0;
  color: #435d74;
  font-size: 13px;
  line-height: 1.5;
}
.spw-result-main > footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
  color: #526a80;
  font-size: 12px;
}
.spw-result-main > footer > span:not(.spw-check) {
  display: flex;
  align-items: center;
  gap: 5px;
}
.spw-result-main > footer > span > b {
  color: #245e8b;
}
.spw-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
}
.spw-check > b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
}
.spw-check.yes {
  color: #157354;
}
.spw-check.yes > b {
  background: #dff3e9;
}
.spw-check.no {
  color: #8a6a46;
}
.spw-check.no > b {
  background: #f4eadf;
}
.spw-evidence {
  display: flex;
  max-width: 230px;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.spw-evidence > b {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 6px;
}
.spw-evidence > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.spw-evidence.yes {
  color: #157554;
}
.spw-evidence.yes > b {
  background: #daf2e7;
}
.spw-evidence.no {
  color: #788491;
}
.spw-evidence.no > b {
  background: #eceff3;
}
.spw-result-remarks {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff4e5;
  color: #795f3c;
  font-size: 12px;
}
.spw-result-remarks b {
  margin-right: 8px;
  color: #a86218;
}
.spw-performance-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px 17px;
  border-left: 4px solid #21785f;
  border-radius: 7px;
  background: #edf8f4;
}
.spw-performance-guide b {
  color: #17654f;
  font-size: 14px;
}
.spw-performance-guide span {
  color: #58766d;
  font-size: 12px;
}
.spw-execution-list {
  display: grid;
  gap: 14px;
}
.spw-execution-edit.focus {
  border: 2px solid #2a79b4;
  box-shadow: 0 0 0 4px rgba(42, 121, 180, 0.09);
}
.spw-implemented-check {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #eef6f2;
  color: #1c6c55;
  font-size: 13px;
  font-weight: 800;
}
.spw-implemented-check input {
  width: 17px;
  height: 17px;
}
.spw-file-field {
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px dashed #a9bfd4;
  border-radius: 8px;
  background: #f4f8fc;
}
.spw-file-field input {
  max-width: 210px;
  padding: 4px;
  border: 0;
  background: transparent;
  font-size: 11px;
}
.spw-file-field span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #416b91;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.spw-file-field button {
  padding: 6px 8px;
  border: 1px solid #e2bcbc;
  border-radius: 6px;
  background: #fff;
  color: #a94040;
  font-size: 11px;
}
.spw-no-plan {
  display: grid;
  place-items: center;
  min-height: 310px;
  padding: 28px;
  border: 1px dashed #b9c9d8;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.spw-no-plan b {
  color: #214869;
  font-size: 20px;
}
.spw-no-plan p {
  margin: 8px 0 20px;
  color: #708397;
  font-size: 14px;
}
.spw-quick-head {
  padding-right: 32px;
}
.spw-quick-head > small {
  color: #2870aa;
  font-size: 12px;
  font-weight: 900;
}
.spw-quick-head h2 {
  margin: 6px 0;
  color: #1f4163;
  font-size: 21px;
}
.spw-quick-head p {
  margin: 0 0 18px;
  color: #6e8194;
  font-size: 13px;
}
.spw-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.spw-quick-check {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #c9d6e3;
  border-radius: 8px;
  background: #f7fafc;
  font-size: 13px;
  font-weight: 700;
}
.spw-quick-check input {
  width: 17px;
  height: 17px;
}
@media (max-width: 1180px) {
  .spw-plan-grid {
    grid-template-columns: 1fr;
  }
  .spw-bars article {
    grid-template-columns: minmax(190px, 1fr) minmax(260px, 1.5fr);
  }
  .spw-bar-value {
    grid-column: 2;
  }
  .spw-editor-layout {
    grid-template-columns: 1fr;
  }
  .spw-guide {
    position: static;
  }
  .spw-document-meta {
    grid-template-columns: 1fr 1fr;
  }
  .spw-document-meta.performance {
    grid-template-columns: 1fr 1fr;
  }
  .spw-document-meta.performance label:first-child {
    grid-column: 1/-1;
  }
  .spw-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .spw-plan-meta,
  .spw-performance-summary {
    grid-template-columns: 1fr 1fr;
  }
  .spw-plan-grid {
    display: block;
  }
  .spw-target-block {
    margin-top: 14px;
  }
  .spw-policy-block,
  .spw-target-block,
  .spw-plan-chart,
  .spw-result-board {
    padding: 16px;
  }
  .spw-bars article {
    display: block;
  }
  .spw-bar-track {
    margin: 9px 0;
  }
  .spw-plan-chart > footer {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .spw-linked-plan {
    grid-template-columns: 1fr;
  }
  .spw-result-card {
    grid-template-columns: 1fr;
  }
  .spw-result-number {
    align-items: flex-start;
    flex-direction: row;
  }
  .spw-result-main > header {
    flex-direction: column;
  }
  .spw-result-values {
    align-items: flex-start;
    flex-direction: column;
  }
  .spw-result-values em {
    margin-left: 0;
  }
  .spw-document-meta,
  .spw-document-meta.performance,
  .spw-form-grid,
  .spw-quick-grid {
    grid-template-columns: 1fr;
  }
  .spw-form-grid .wide,
  .spw-quick-grid .wide {
    grid-column: auto;
  }
  .spw-policy-edit {
    grid-template-columns: 36px 1fr;
  }
  .spw-policy-edit > button {
    grid-column: 2;
    justify-self: end;
  }
  .spw-file-field {
    align-items: flex-start;
    flex-direction: column;
  }
  .spw-file-field input {
    max-width: 100%;
  }
  .spw-performance-guide {
    align-items: flex-start;
    flex-direction: column;
  }
}
