svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
[hidden] {
  display: none !important;
}
.shell > main,
.content,
.card,
.grid2 > *,
.grid3 > *,
.grid4 > * {
  min-width: 0;
}
:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #193b48;
  background: #f3f6f7;
  font-synthesis: none;
  --navy: #00465b;
  --teal: #128d91;
  --aqua: #42b6b2;
  --line: #dbe5e8;
  --muted: #657d87;
  --red: #db3e30;
  --shadow: 0 10px 28px #073c5010;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
a {
  color: var(--teal);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.2;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 18px;
}
h4 {
  font-size: 16px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}
.eyebrow {
  color: var(--teal);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.btn {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 15px;
  background: white;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
.btn:hover {
  background: #e9f1f3;
  text-decoration: none;
}
.btn.primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn.primary:hover {
  background: #086079;
}
.btn.teal {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
.btn.danger {
  color: #b53028;
  border-color: #edc8c4;
}
.btn.quiet {
  background: transparent;
  border-color: transparent;
}
.btn.tiny {
  padding: 6px 9px;
  font-size: 13px;
}
.actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.push {
  margin-left: auto;
}
.row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.between {
  justify-content: space-between;
}
.stack {
  display: grid;
  gap: 18px;
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 18px 20px;
  display: flex;
  flex-direction: column;
  position: sticky;
  height: 100vh;
  top: 0;
}
.brand {
  padding: 0 12px 26px;
}
.brand img {
  width: 175px;
  display: block;
}
.brand p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  letter-spacing: 1px;
}
.nav-label {
  font-size: 11px;
  font-weight: 750;
  color: #8a9da5;
  letter-spacing: 1.5px;
  padding: 14px 14px 9px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #526d78;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
}
.nav a.active {
  background: #e8f4f3;
  color: #057c80;
}
.nav a:hover {
  background: #f1f6f7;
  text-decoration: none;
}
.nav svg {
  width: 19px;
  height: 19px;
}
.sidebar-foot {
  margin-top: auto;
  padding: 20px 12px 0;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #e5f1f4;
  color: var(--navy);
  border-radius: 50%;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.topbar {
  height: 77px;
  background: #ffffffbd;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 12px;
}
.topbar .trail {
  font-size: 14px;
  color: var(--muted);
}
.content {
  max-width: 1560px;
  margin: 0 auto;
  padding: 36px 40px 60px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}
.page-head p {
  margin-top: 10px;
  max-width: 670px;
  color: var(--muted);
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.pad {
  padding: 24px;
}
.card-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.card-body {
  padding: 24px;
}
.metric {
  padding: 21px 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.metric .value {
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -1px;
  font-weight: 700;
  margin: 10px 0 3px;
}
.metric.accent {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.metric.accent .muted {
  color: #bdd5dc;
}
.badge {
  font-size: 12px;
  font-weight: 650;
  padding: 4px 9px;
  border-radius: 5px;
  background: #edf2f4;
  color: #526d78;
  display: inline-block;
  white-space: nowrap;
}
.badge.published,
.badge.approved {
  background: #e3f3ed;
  color: #157254;
}
.badge.draft {
  background: #f2edff;
  color: #7052a4;
}
.badge.submitted {
  background: #fff1d5;
  color: #966216;
}
.badge.critical {
  background: #ffebe8;
  color: #b63c2e;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
th {
  color: #708590;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.4px;
  background: #f9fbfc;
  padding: 13px 22px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 19px 22px;
  border-bottom: 1px solid #edf1f3;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  display: block;
  font-size: 15px;
}
td .muted {
  font-size: 13px;
  margin-top: 3px;
}
tr.clickable {
  cursor: pointer;
}
tr.clickable:hover {
  background: #f8fbfc;
}
.empty {
  text-align: center;
  padding: 55px 24px;
}
.empty .empty-icon {
  width: 56px;
  height: 56px;
  background: #ecf5f5;
  color: var(--teal);
  margin: 0 auto 18px;
  border-radius: 15px;
  display: grid;
  place-items: center;
}
.empty p {
  color: var(--muted);
  margin: 8px auto 22px;
  max-width: 440px;
}
.empty svg {
  width: 26px;
  height: 26px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.field > span,
.field > label {
  font-size: 14px;
  font-weight: 600;
}
.field small {
  font-size: 12px;
  color: var(--muted);
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cedce1;
  border-radius: 7px;
  background: #fff;
  color: #193b48;
  min-height: 43px;
}
input:disabled,
select:disabled,
textarea:disabled {
  background: #f3f6f7;
  color: #627983;
}
textarea {
  resize: vertical;
  min-height: 92px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 2px solid #128d9120;
}
input[type="checkbox"] {
  accent-color: var(--teal);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
}
.check input {
  margin: 0;
}
.hint,
.notice {
  padding: 14px 17px;
  background: #eef7f7;
  border: 1px solid #d0e8e8;
  border-radius: 8px;
  color: #346770;
  font-size: 14px;
}
.notice.warning {
  background: #fff8e9;
  border-color: #f1dcaf;
  color: #8b6728;
}
.notice.error {
  background: #fff0ed;
  border-color: #f4cbc2;
  color: #a83d2c;
  white-space: pre-line;
}
.notice.success {
  background: #eaf7ef;
  border-color: #c6e4d1;
  color: #236b46;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-brand {
  background: var(--navy);
  padding: 65px 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.auth-brand:after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border: 80px solid #43b6b216;
  border-radius: 50%;
  bottom: -220px;
  right: -190px;
}
.auth-brand .logo-plate {
  width: 250px;
  background: white;
  padding: 19px;
  border-radius: 9px;
  margin-bottom: 65px;
}
.auth-brand img {
  width: 100%;
  display: block;
}
.auth-brand h1 {
  font-size: 44px;
  max-width: 420px;
  letter-spacing: -1.4px;
}
.auth-brand p {
  color: #b9d7df;
  font-size: 17px;
  margin-top: 22px;
  max-width: 420px;
}
.auth-features {
  margin-top: 45px;
  display: grid;
  gap: 18px;
  color: #d4e8ee;
  font-size: 14px;
}
.auth-features span:before {
  content: "✓";
  color: #54cdc4;
  margin-right: 12px;
}
.auth-form {
  display: grid;
  place-items: center;
  padding: 40px;
}
.auth-form > div {
  width: 100%;
  max-width: 400px;
}
.auth-form form {
  margin-top: 28px;
}
.auth-form h2 {
  font-size: 28px;
}
.auth-form .btn {
  width: 100%;
  padding: 13px;
}
.auth-footer {
  font-size: 12px;
  color: var(--muted);
  margin-top: 30px;
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  max-width: 650px;
  width: calc(100% - 32px);
  max-height: 90vh;
  box-shadow: 0 30px 100px #002d4b40;
  color: #193b48;
}
dialog::backdrop {
  background: #0a2b3c77;
  backdrop-filter: blur(3px);
}
dialog .dialog-head {
  padding: 23px 26px;
  border-bottom: 1px solid var(--line);
}
dialog .dialog-body {
  padding: 24px 26px;
  overflow: auto;
}
dialog .dialog-foot {
  padding: 16px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #f8fafb;
}
#toast {
  position: fixed;
  right: 28px;
  bottom: 24px;
  z-index: 1000;
  background: #123f4e;
  color: white;
  padding: 13px 20px;
  border-radius: 9px;
  box-shadow: var(--shadow);
  display: none;
  max-width: 440px;
  font-size: 14px;
  white-space: pre-line;
}
#toast.visible {
  display: block;
}
#toast.error {
  background: #a8342c;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.toolbar input {
  max-width: 290px;
}
.checklist-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.checklist-card .card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eaf5f5;
  color: var(--teal);
  display: grid;
  place-items: center;
}
.checklist-card svg {
  width: 23px;
  height: 23px;
}
.checklist-card h3 {
  font-size: 19px;
  line-height: 1.4;
}
.checklist-card .actions {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.builder-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 23px;
  align-items: start;
}
.section-nav {
  padding: 14px;
  position: sticky;
  top: 18px;
}
.section-item {
  padding: 13px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  margin: 4px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-item.active {
  background: #eaf5f5;
  border-color: #cbe6e4;
}
.section-item .title {
  font-size: 14px;
  font-weight: 600;
  word-break: break-word;
}
.section-item .count {
  font-size: 12px;
  color: var(--muted);
}
.grip {
  color: #94a6ad;
  cursor: grab;
  letter-spacing: 1px;
}
.question-item {
  padding: 20px 23px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.question-item:last-child {
  border-bottom: 0;
}
.question-number {
  font-size: 12px;
  font-weight: 700;
  color: #71939b;
  background: #eff5f6;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  flex-shrink: 0;
}
.question-item .question-main {
  flex: 1;
  min-width: 0;
}
.question-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.question-item h4 {
  font-weight: 600;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 23px;
  margin: 0 0 24px;
}
.tabs button {
  padding: 0 0 13px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  border-bottom: 3px solid transparent;
}
.tabs button.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.question-editor {
  display: grid;
  gap: 20px;
}
.subpanel {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f9fbfc;
}
.score-bar {
  height: 6px;
  background: #e6eef0;
  border-radius: 4px;
  overflow: hidden;
  min-width: 70px;
}
.score-bar span {
  display: block;
  height: 100%;
  background: #259e9c;
  border-radius: 4px;
}
.score-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.score-row .score-bar {
  flex: 1;
}
.score-row strong {
  font-size: 14px;
  min-width: 52px;
  text-align: right;
}
.score-circle {
  width: 110px;
  height: 110px;
  border: 9px solid #d7f0ed;
  border-top-color: var(--teal);
  border-right-color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--navy);
}
.score-circle strong {
  font-size: 27px;
  line-height: 1.2;
}
.score-circle span {
  font-size: 12px;
}
.visit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}
.visit-aside {
  position: sticky;
  top: 20px;
}
.answer-card {
  padding: 23px;
  border-bottom: 1px solid var(--line);
}
.answer-card:last-child {
  border-bottom: 0;
}
.answer-card .answer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 14px;
  margin-top: 17px;
}
.answer-card details {
  margin-top: 18px;
}
.answer-card summary {
  cursor: pointer;
  font-size: 14px;
  color: var(--teal);
  font-weight: 600;
}
.answer-card details[open] summary {
  margin-bottom: 16px;
}
.answer-card.is-na {
  background: #fafcfc;
}
.answer-card .question-result {
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.evidence-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}
.evidence-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 8px;
}
.evidence-item .check {
  margin-top: 9px;
  font-size: 12px;
}
.permission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.permission-grid .check {
  font-size: 13px;
}
.report-page {
  background: #eef2f4;
  min-height: 100vh;
  padding: 30px 20px 70px;
}
.report-controls {
  max-width: 1000px;
  margin: 0 auto 20px;
}
.report-sheet {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  box-shadow: 0 10px 50px #00465b15;
  border-radius: 3px;
  padding: 55px 65px;
}
.report-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 58px;
}
.report-brand > img {
  width: 230px;
  max-height: 80px;
  object-fit: contain;
}
.report-brand .client-logo {
  width: 130px;
  height: 70px;
  object-fit: contain;
}
.report-title h1 {
  font-size: 36px;
  line-height: 1.25;
  margin-bottom: 13px;
}
.report-title .meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.report-overall {
  background: #eaf5f5;
  border-left: 4px solid var(--teal);
  padding: 25px 30px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.report-overall .value {
  font-size: 46px;
  font-weight: 750;
  letter-spacing: -1px;
  color: var(--navy);
}
.report-section {
  margin-top: 35px;
}
.report-section h2 {
  color: var(--navy);
  padding-bottom: 12px;
  border-bottom: 2px solid #c9e3e3;
  margin-bottom: 18px;
}
.report-section .prose {
  white-space: pre-wrap;
  color: #405a65;
  line-height: 1.75;
}
.report-question {
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.report-question .q-line {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
.report-question .q-line strong {
  font-size: 15px;
  font-weight: 600;
}
.report-question .q-line span {
  font-size: 14px;
  white-space: nowrap;
}
.report-question .comment {
  border-left: 3px solid #c6e1df;
  padding: 9px 14px;
  margin-top: 13px;
  background: #f6fafb;
  font-size: 14px;
  white-space: pre-wrap;
}
.report-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 15px;
}
.report-photos img,
.report-photos video {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  background: #f4f7f8;
}
.report-photos figure {
  margin: 0;
}
.report-photos figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.report-footer {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.report-stamp {
  font-size: 12px;
  text-align: right;
  color: var(--muted);
}
.section-drop {
  outline: 2px dashed var(--teal);
  outline-offset: -3px;
}
.inline-error {
  color: #b6372c;
  font-size: 14px;
  white-space: pre-line;
}
.mobile-menu {
  display: none;
}
button svg {
  width: 17px;
  height: 17px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
details summary::-webkit-details-marker {
  color: #61818b;
}
.full {
  grid-column: 1/-1;
}
.help-text {
  font-size: 13px;
  color: var(--muted);
  margin-top: 7px;
}
.sticky-actions {
  position: sticky;
  bottom: 16px;
  background: #ffffffed;
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  box-shadow: 0 5px 25px #193b4820;
  padding: 14px 18px;
  border-radius: 10px;
  z-index: 5;
  margin-top: 22px;
}
.loading-button {
  opacity: 0.6;
  pointer-events: none;
}
.brand-rule {
  height: 4px;
  background: linear-gradient(90deg, #42b6b2 0%, #00465b 85%, #ff472d 85%);
}
@media (min-width: 1550px) {
  .content {
    padding: 42px 55px;
  }
  .grid3 {
    gap: 24px;
  }
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .sidebar {
    padding: 27px 12px 16px;
  }
  .brand img {
    width: 160px;
  }
  .content {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .grid3,
  .grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .builder-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .visit-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
  }
  .report-sheet {
    padding: 40px;
  }
}
@media (max-width: 850px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
    position: fixed;
    width: 244px;
    z-index: 50;
    box-shadow: 0 0 0 100vmax #163b4955;
  }
  .shell.menu-open .sidebar {
    display: flex;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .topbar {
    height: 65px;
  }
  .content {
    padding: 26px 20px;
  }
  .builder-layout,
  .visit-layout {
    grid-template-columns: 1fr;
  }
  .section-nav,
  .visit-aside {
    position: static;
  }
  .section-nav > div:not(.actions) {
    display: flex;
    overflow: auto;
    gap: 5px;
  }
  .section-item {
    min-width: 170px;
  }
  .visit-aside {
    order: -1;
  }
  .visit-aside .card-body {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
  }
  .auth-brand {
    padding: 45px 35px;
  }
  .auth-brand h1 {
    font-size: 35px;
  }
  .report-sheet {
    padding: 30px;
  }
  .page-head h1 {
    font-size: 28px;
  }
}
@media (max-width: 600px) {
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-brand {
    padding: 28px;
  }
  .auth-brand .logo-plate {
    margin-bottom: 22px;
    width: 185px;
    padding: 13px;
  }
  .auth-brand h1 {
    font-size: 27px;
  }
  .auth-brand p,
  .auth-features {
    display: none;
  }
  .auth-form {
    padding: 32px 26px;
  }
  .grid2,
  .grid3,
  .grid4 {
    grid-template-columns: 1fr;
  }
  .page-head {
    flex-direction: column;
    gap: 15px;
  }
  .page-head .actions {
    width: 100%;
  }
  .card-head {
    padding: 18px;
    flex-wrap: wrap;
  }
  .card-body,
  .pad {
    padding: 18px;
  }
  .question-item {
    padding: 17px;
    flex-wrap: wrap;
  }
  .question-item .actions {
    margin-left: 42px;
  }
  .answer-card {
    padding: 18px;
  }
  .answer-card .answer-grid {
    grid-template-columns: 1fr;
  }
  .permission-grid {
    grid-template-columns: 1fr;
  }
  .report-page {
    padding: 15px 0;
  }
  .report-controls {
    padding: 0 15px;
  }
  .report-sheet {
    padding: 25px 20px;
  }
  .report-brand {
    margin-bottom: 32px;
    gap: 15px;
  }
  .report-brand > img {
    width: 180px;
  }
  .report-brand .client-logo {
    width: 80px;
  }
  .report-title h1 {
    font-size: 28px;
  }
  .report-overall {
    padding: 20px;
  }
  .report-overall .value {
    font-size: 36px;
  }
  .report-stamp {
    max-width: 120px;
  }
  .report-photos {
    grid-template-columns: 1fr;
  }
  .report-question .q-line {
    flex-direction: column;
    gap: 7px;
  }
  .topbar {
    padding: 0 18px;
  }
  .toolbar input {
    max-width: 100%;
  }
  .sticky-actions {
    bottom: 7px;
  }
  .grid2 .full {
    grid-column: auto;
  }
  dialog .dialog-body {
    padding: 20px;
  }
  td,
  th {
    padding: 14px 16px;
  }
}
@media print {
  body {
    background: #fff;
  }
  .report-page {
    padding: 0;
    background: #fff;
  }
  .report-controls {
    display: none;
  }
  .report-sheet {
    max-width: none;
    box-shadow: none;
    padding: 0;
  }
  .report-section h2 {
    break-after: avoid;
  }
  .report-question,
  .report-photos figure {
    break-inside: avoid;
  }
  .report-footer {
    font-size: 10px;
  }
  .report-sheet {
    border-radius: 0;
  }
  @page {
    size: A4;
    margin: 18mm;
  }
}
@media (max-width: 600px) {
  .topbar > .push {
    display: none;
  }
  .page-head > div {
    min-width: 0;
    max-width: 100%;
  }
  .toolbar .push {
    margin-left: 0;
    max-width: 100%;
  }
  .toolbar .push select {
    min-width: 0;
  }
  .section-nav {
    overflow: hidden;
  }
  .report-section h2 span {
    flex-shrink: 0;
  }
}
