:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #203348;
  background: #f4f6f8;
  font-synthesis: none;
  --navy: #12283d;
  --teal: #167b7a;
  --line: #e0e6eb;
  --muted: #6b7c8d;
  --red: #a73540;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.48;
  cursor: wait;
}
a {
  color: #126f79;
  text-underline-offset: 3px;
}
button {
  border: 1px solid var(--line);
  background: #fff;
  color: #203348;
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: background 0.15s;
}
button:hover {
  background: #eef3f5;
}
button.primary,
.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
button.primary:hover {
  background: #126663;
}
.danger {
  color: var(--red);
}
.ghost {
  border-color: transparent;
  background: transparent;
}
.small {
  font-size: 12px;
  padding: 6px 9px;
}
.shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--navy);
  color: #c6d4df;
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  margin: 0 6px 38px;
}
.brandmark {
  height: 39px;
  width: 39px;
  border-radius: 12px;
  background: #23a199;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
}
.brand strong {
  font-size: 15px;
}
.brand small {
  display: block;
  color: #8ba4b8;
  font-size: 11px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.navlabel,
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  font-weight: 700;
}
.navlabel {
  color: #819aaf;
  margin: 15px 12px 10px;
}
.sidebar nav {
  display: grid;
  gap: 6px;
}
.sidebar nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: transparent;
  border: 0;
  color: #b5c9d8;
  padding: 12px 14px;
  font-weight: 500;
}
.sidebar nav button.active,
.sidebar nav button:hover {
  color: #fff;
  background: #254258;
}
.navicon {
  font-size: 17px;
  width: 21px;
  text-align: center;
}
.sidecycle {
  border: 1px solid #365066;
  background: #1b3449;
  border-radius: 12px;
  padding: 17px 15px;
  margin-top: 35px;
}
.sidecycle strong {
  color: #eef5fa;
  display: block;
  font-size: 16px;
  margin: 6px 0;
}
.sidecycle small {
  font-size: 11px;
  color: #9fb6c8;
}
.sidebottom {
  margin-top: auto;
  padding-top: 28px;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dbece9;
  color: #196763;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.profile small {
  display: block;
  color: #94aabe;
  font-size: 11px;
}
.sidebottom button {
  color: #b5c9d8;
  margin-top: 15px;
  font-size: 12px;
}
.main {
  min-width: 0;
}
.topbar {
  height: 70px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 38px;
  font-size: 12px;
  color: var(--muted);
}
.topbar strong {
  color: #43566a;
  font-weight: 500;
}
.topbar .dot {
  width: 6px;
  height: 6px;
  background: #3aa28b;
  border-radius: 100%;
  display: inline-block;
  margin: 0 7px 1px;
}
.content {
  max-width: 1500px;
  margin: auto;
  padding: 32px 38px 60px;
}
.pagehead {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 27px;
}
.eyebrow {
  color: var(--teal);
  margin-bottom: 7px;
}
.pagehead h1 {
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: -0.75px;
  margin: 0 0 7px;
  font-weight: 650;
}
p {
  margin: 6px 0 12px;
}
.sub,
.muted {
  color: var(--muted);
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cyclebanner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  background: linear-gradient(110deg, #e3efed, #edf4f3);
  border: 1px solid #cfe2dd;
  border-radius: 14px;
  padding: 24px 27px;
  margin: 0 0 24px;
}
.cyclebanner h2 {
  font-size: 23px;
  font-weight: 600;
  margin: 2px 0;
}
.cyclebanner p {
  font-size: 12px;
  color: #506d70;
  margin: 4px 0;
}
.deadline {
  border-left: 1px solid #c8dcd8;
  padding-left: 30px;
  align-self: center;
}
.deadline strong {
  display: block;
  font-size: 24px;
  color: #176861;
  font-weight: 650;
  line-height: 1.3;
}
.deadline small {
  color: #657b7c;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
}
.stat label {
  font-size: 12px;
  color: var(--muted);
}
.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.8px;
}
.stat small {
  color: var(--muted);
  font-size: 11px;
}
.stat.warn strong {
  color: #a46425;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  margin-bottom: 22px;
}
.cardhead {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-size: 16px;
  margin: 0;
  font-weight: 650;
}
h3 {
  font-size: 14px;
  margin: 0 0 5px;
}
.cardbody {
  padding: 23px 24px;
}
.cardhead p {
  font-size: 12px;
  margin: 3px 0 0;
  color: var(--muted);
}
.two {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 23px;
}
.reportrow {
  padding: 19px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #edf0f3;
}
.reportrow:last-child {
  border: 0;
}
.reportrow .info {
  flex: 1;
  min-width: 0;
}
.reportrow strong {
  font-weight: 600;
}
.reportrow small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.badge {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.3px;
  background: #eef1f5;
  color: #617389;
  border: 1px solid #e2e7ee;
  border-radius: 5px;
  padding: 3px 7px;
  white-space: nowrap;
  display: inline-block;
}
.badge.DRAFT,
.badge.PLANNED {
  background: #edf2f9;
  color: #5a7094;
  border-color: #dee7f2;
}
.badge.COMPLETED,
.badge.ACCEPTED,
.badge.SENT_TO_SHERWIN,
.badge.APPROVED_SENT {
  background: #e5f3ee;
  color: #27765d;
  border-color: #cfe6db;
}
.badge.BLOCKED,
.badge.CHANGES_REQUESTED,
.badge.overdue,
.badge.FAILED {
  background: #fff1e8;
  color: #a75d23;
  border-color: #f1dcca;
}
.badge.IN_PROGRESS,
.badge.SUBMITTED {
  background: #e4f0f6;
  color: #257193;
  border-color: #cce0ed;
}
.empty {
  padding: 36px 24px;
  text-align: center;
  color: var(--muted);
}
.empty h3 {
  color: #334c62;
}
.step {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.step:last-child {
  margin-bottom: 0;
}
.stepnum {
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #edf5f2;
  font-size: 12px;
  font-weight: 650;
  color: #28796b;
}
.step p {
  font-size: 12px;
  color: var(--muted);
  margin: 3px 0;
}
.attention {
  padding: 15px 24px;
  border-bottom: 1px solid #edf0f3;
}
.attention strong {
  font-size: 13px;
  display: block;
}
.attention small {
  color: var(--muted);
  display: block;
}
.filterbar {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  align-items: center;
}
.filterbar input {
  max-width: 380px;
}
.filterbar select {
  width: auto;
}
.input,
input:not([type="checkbox"]),
textarea,
select {
  border: 1px solid #d5dee6;
  border-radius: 7px;
  background: #fff;
  padding: 9px 11px;
  width: 100%;
  color: #23394e;
}
textarea {
  min-height: 82px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #278c89;
  outline: 2px solid #e2f2ed;
}
input:read-only {
  background: #f4f6f8;
}
label {
  display: block;
  font-size: 12px;
  color: #52677a;
}
label > input,
label > textarea,
label > select {
  margin-top: 6px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th {
  font-weight: 600;
  font-size: 10px;
  color: #738598;
  text-transform: uppercase;
  letter-spacing: 0.65px;
  text-align: left;
  background: #fafbfc;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 15px 18px;
  border-bottom: 1px solid #edf0f3;
  vertical-align: top;
}
td strong {
  font-size: 13px;
  font-weight: 600;
}
td small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.tablewrap {
  overflow: auto;
}
.nowrap {
  white-space: nowrap;
}
.linkbutton {
  border: 0;
  padding: 0;
  background: none;
  font-weight: 600;
  text-align: left;
  color: #1b7880;
}
.tabs {
  display: flex;
  gap: 23px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 24px;
  overflow: auto;
}
.tabs button {
  white-space: nowrap;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 12px 2px;
}
.tabs button.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.workspace {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.sectionnav {
  position: sticky;
  top: 20px;
}
.sectionnav button {
  display: flex;
  gap: 10px;
  text-align: left;
  width: 100%;
  border: 0;
  background: none;
  font-size: 12px;
  line-height: 1.5;
  padding: 11px 10px;
  font-weight: 500;
  color: #64788c;
}
.sectionnav button.active {
  background: #e2eeeb;
  color: #1e7064;
}
.sectionnav span {
  font-size: 10px;
  border: 1px solid #d4dee3;
  width: 21px;
  height: 21px;
  border-radius: 5px;
  text-align: center;
  flex-shrink: 0;
  padding-top: 2px;
}
.sectionnav .active span {
  background: #fff;
  border-color: #c2d8d1;
}
.sectionnav small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin: 20px 10px;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 22px;
}
.formgrid .full {
  grid-column: 1/-1;
}
.entry {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.entry:last-child {
  border-bottom: 0;
}
.entryhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.entryhead strong {
  font-size: 12px;
}
.entryhead select {
  max-width: 290px;
  font-size: 11px;
  padding: 6px 8px;
}
.readvalue {
  font-size: 13px;
  color: #23394e;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 6px 0 10px;
}
.notice {
  padding: 13px 17px;
  border-radius: 9px;
  background: #edf4f8;
  border: 1px solid #dce7ee;
  font-size: 12px;
  color: #43627b;
  margin-bottom: 18px;
}
.notice.warning {
  background: #fff8ed;
  border-color: #eedfca;
  color: #866231;
}
.notice.success {
  background: #eaf5f0;
  border-color: #d4e8de;
  color: #287253;
}
.savebar {
  position: sticky;
  bottom: 12px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #d8e2e5;
  box-shadow: 0 6px 22px #17334415;
  border-radius: 11px;
  padding: 13px 18px;
  margin-top: 18px;
  font-size: 12px;
}
.savebar span {
  color: var(--muted);
}
.timeline {
  border-left: 2px solid #dfebe7;
  padding-left: 22px;
  margin-left: 5px;
}
.timeline article {
  position: relative;
  margin-bottom: 25px;
}
.timeline article:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 3px solid #fff;
  background: #3d9485;
  border-radius: 50%;
  left: -30px;
  top: 4px;
}
.timeline p {
  font-size: 13px;
  white-space: pre-wrap;
}
.timeline small {
  color: var(--muted);
  font-size: 11px;
}
.pillrow {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.progress {
  height: 5px;
  border-radius: 8px;
  background: #e8eeef;
  overflow: hidden;
  width: 95px;
  display: inline-block;
  margin-right: 8px;
}
.progress span {
  display: block;
  background: #3d9588;
  height: 100%;
}
.loginpage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.loginintro {
  padding: 12vh 9%;
  background: var(--navy);
  color: #d3e0e9;
}
.loginintro h1 {
  font-size: 46px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -1.6px;
  color: #fff;
  max-width: 500px;
  margin: 65px 0 25px;
}
.loginintro p {
  max-width: 440px;
  color: #9eb7ca;
  font-size: 16px;
}
.loginbox {
  display: grid;
  place-content: center;
  padding: 40px;
}
.loginbox > div {
  width: 350px;
  max-width: 90vw;
}
.loginbox h2 {
  font-size: 26px;
  margin: 0 0 10px;
}
.ms {
  display: block;
  text-align: center;
  padding: 13px 16px;
  background: #167b7a;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin: 30px 0;
}
.loginbox details {
  font-size: 12px;
  color: var(--muted);
}
.loginbox form {
  display: grid;
  gap: 15px;
  margin-top: 15px;
}
dialog {
  border: 0;
  border-radius: 15px;
  width: min(900px, 94vw);
  max-height: 90vh;
  padding: 0;
  color: #203348;
  box-shadow: 0 18px 90px #0004;
}
dialog::backdrop {
  background: #10263b99;
  backdrop-filter: blur(3px);
}
.modalhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 20px 26px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}
.modalbody {
  padding: 25px 26px;
}
.modalfoot {
  border-top: 1px solid var(--line);
  padding: 16px 26px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #fafcfc;
  position: sticky;
  bottom: 0;
}
.toast {
  position: fixed;
  bottom: 25px;
  right: 28px;
  max-width: 480px;
  z-index: 30;
  background: #183e46;
  color: #fff;
  border-radius: 10px;
  padding: 16px 22px;
  box-shadow: 0 6px 30px #0003;
  white-space: pre-wrap;
}
.toast.error {
  background: #8c353e;
}
.inlineerror {
  color: #a73540;
  white-space: pre-wrap;
  font-size: 12px;
  margin: 15px 0;
}
.checkline {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  color: #324d61;
  padding: 10px 0;
}
.checkline input {
  margin-top: 5px;
  accent-color: var(--teal);
}
.checkline span {
  flex: 1;
}
.version {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.version small {
  display: block;
  color: var(--muted);
}
.note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 9px;
}
.evidenceframe {
  height: 480px;
  width: 100%;
  border: 1px solid var(--line);
  margin-top: 20px;
  border-radius: 8px;
}
.loading {
  padding: 80px;
  text-align: center;
  color: #789;
}
.count {
  background: #e8efed;
  color: #29766e;
  font-size: 10px;
  border-radius: 20px;
  padding: 2px 7px;
}
.hide {
  display: none;
}
.reportmeta {
  display: flex;
  gap: 13px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.reviewratings td {
  padding: 10px;
}
.reviewratings input {
  min-width: 60px;
}
.reviewratings textarea {
  min-width: 140px;
}
.linktext {
  overflow-wrap: anywhere;
}
.tablewrap td:first-child {
  min-width: 210px;
}
.checkrow {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.empty p {
  font-size: 12px;
}
.footerhint {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 20px;
}
@media (min-width: 1450px) {
  .content {
    padding-left: 46px;
    padding-right: 46px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 190px 1fr;
  }
  .sidebar {
    padding: 25px 12px;
  }
  .content {
    padding: 26px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 14px;
  }
  .workspace {
    grid-template-columns: 180px 1fr;
  }
  .pagehead {
    align-items: flex-start;
  }
  .pagehead h1 {
    font-size: 25px;
  }
  .reportrow {
    flex-wrap: wrap;
  }
  .formgrid {
    gap: 14px;
  }
  .loginintro h1 {
    font-size: 36px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 16px;
  }
  .brand {
    margin: 0 0 16px;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
  }
  .sidebar nav button {
    white-space: nowrap;
    padding: 9px;
  }
  .navlabel,
  .sidecycle,
  .sidebottom {
    display: none;
  }
  .topbar {
    height: 47px;
    padding: 0 18px;
  }
  .content {
    padding: 22px 16px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .pagehead {
    display: block;
  }
  .pagehead > .actions {
    margin-top: 17px;
  }
  .cyclebanner {
    padding: 18px;
    gap: 15px;
  }
  .cyclebanner h2 {
    font-size: 18px;
  }
  .deadline {
    padding-left: 15px;
  }
  .deadline strong {
    font-size: 20px;
  }
  .workspace {
    display: block;
  }
  .sectionnav {
    position: static;
    display: flex;
    overflow: auto;
    margin-bottom: 18px;
    gap: 6px;
  }
  .sectionnav button {
    min-width: 140px;
  }
  .sectionnav small {
    display: none;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
  .formgrid .full {
    grid-column: auto;
  }
  .cardhead,
  .cardbody,
  .entry {
    padding: 18px;
  }
  .filterbar {
    flex-wrap: wrap;
  }
  .filterbar input {
    max-width: none;
  }
  .entryhead {
    flex-wrap: wrap;
  }
  .loginpage {
    grid-template-columns: 1fr;
  }
  .loginintro {
    padding: 35px;
  }
  .loginintro h1 {
    font-size: 30px;
    margin: 20px 0;
  }
  .loginintro p {
    font-size: 14px;
  }
  .loginbox {
    padding: 35px;
  }
  .modalbody,
  .modalhead {
    padding: 18px;
  }
  .reportmeta {
    gap: 7px;
  }
  .stat strong {
    font-size: 24px;
  }
  .tabs {
    gap: 18px;
  }
}
@media print {
  .sidebar,
  .topbar,
  button,
  .savebar,
  .tabs,
  .sectionnav {
    display: none !important;
  }
  .shell,
  .workspace {
    display: block;
  }
  .content {
    padding: 0;
  }
  .card {
    break-inside: avoid;
    border-color: #ccc;
  }
  .main {
    width: 100%;
  }
}
