﻿:root {
  --red: #ef2b24;
  --green: #1f9d55;
  --ink: #4d5053;
  --muted: #7a7d80;
  --line: #d9dcdf;
  --soft: #f5f6f6;
  --paper: #ffffff;
  --shadow: 0 18px 48px rgba(29, 32, 36, 0.12);
  --radius: 8px;
  --font-brand: "brandon-grot-w01-light", Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #eef0f1;
  font-family: var(--font-body);
}

body.auth-pending .app-header,
body.auth-pending .start-screen,
body.auth-pending .app-shell,
body.start-mode .app-shell {
  display: none;
}

body.app-ready .login-screen,
body.module-mode .start-screen {
  display: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 154px;
  padding: 18px 74px;
  background: var(--paper);
  border-bottom: 1px solid #eef0f1;
}

.brand {
  display: flex;
  justify-content: center;
  justify-self: center;
  min-width: 0;
  text-align: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.brand:hover {
  background: transparent;
}

.brand img {
  display: block;
  width: min(760px, 62vw);
  max-height: 118px;
  height: auto;
  object-fit: contain;
}

.auth-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 170px;
}

.auth-actions span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f5f6f6;
}

.login-panel {
  width: min(420px, 100%);
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-panel img {
  display: block;
  width: min(340px, 100%);
  height: auto;
  margin: 0 auto 30px;
}

.login-panel h1 {
  margin: 0 0 24px;
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 34px;
  line-height: 1;
}

.login-panel form {
  display: grid;
  gap: 16px;
}

.login-panel .primary {
  width: 100%;
}

.start-screen {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 22px 44px;
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.start-card {
  min-height: 132px;
  padding: 22px;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.start-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.start-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 28px;
  line-height: 1.05;
}

.start-card:hover {
  border-color: #bfc4c7;
}

.app-shell {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(300px, 400px);
  gap: 18px;
  padding: 22px;
}

.app-shell.calendar-mode {
  grid-template-columns: 180px minmax(0, 1fr);
}

.module-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.nav-item {
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  font-weight: 700;
}

.nav-item.active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.nav-item:disabled {
  color: #a0a4a7;
  cursor: default;
}

.form-panel,
.preview-panel {
  min-width: 0;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.app-shell.calendar-mode [data-module-panel="calendar"] {
  grid-column: 2;
}

.section-head {
  margin-bottom: 20px;
}

.section-head p {
  margin: 0 0 6px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-head h1,
.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 34px;
  line-height: 1.1;
}

.section-head.compact h2 {
  font-size: 22px;
}

.form-section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.form-section h2,
.section-row h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 20px;
}

.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.section-row span {
  color: var(--muted);
  font-size: 13px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.textarea-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

label span,
.signature-head span,
.output-box span {
  color: #6c7073;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfd3d6;
  border-radius: 6px;
  outline: none;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239, 43, 36, 0.12);
}

input[readonly] {
  color: #4f5356;
  background: #f0f2f2;
}

.path-preview {
  margin: 14px 0 0;
  padding: 12px;
  color: #606366;
  background: var(--soft);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.workers,
.material-list {
  display: grid;
  gap: 12px;
}

.worker-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.worker-row legend {
  padding: 0 6px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.material-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) repeat(4, minmax(90px, 0.8fr)) 38px;
  gap: 10px;
  align-items: end;
  padding: 12px;
  background: var(--soft);
  border-radius: var(--radius);
}

.text-button {
  min-height: 34px;
  padding: 0;
  color: var(--red);
  background: transparent;
  border: 0;
  font-weight: 800;
}

.icon-button {
  width: 38px;
  height: 44px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.file-drop {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  border: 1px dashed #b8bdc0;
  border-radius: var(--radius);
  background: var(--soft);
}

.file-drop input {
  display: none;
}

.file-drop span {
  color: var(--red);
  font-size: 15px;
}

.file-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.file-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 6px;
  background: #fff;
  border: 1px solid #d8dcdf;
  border-radius: 6px;
}

.note-canvas-editor {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  background: #f8f9f8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.note-canvas-head,
.note-canvas-actions,
.note-canvas-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.note-canvas-head {
  justify-content: space-between;
  flex-wrap: wrap;
}

.note-canvas-head h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 18px;
}

.note-canvas-actions,
.note-canvas-tools {
  flex-wrap: wrap;
}

.note-canvas-actions .secondary,
.note-canvas-actions .file-action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
}

.note-canvas-actions .active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.file-action input {
  display: none;
}

.note-canvas-tools label {
  display: grid;
  gap: 5px;
  min-width: 120px;
}

.note-canvas-tools .note-text-input {
  flex: 1 1 260px;
}

.note-zoom-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
}

.note-zoom-controls span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.note-zoom-controls output {
  min-width: 48px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.note-zoom-controls .secondary {
  min-width: 40px;
  min-height: 38px;
  padding: 0 10px;
}

.note-canvas-viewport {
  width: 100%;
  max-height: 72vh;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #eef0f1;
  border: 1px solid #cfd3d6;
  border-radius: 6px;
}

.note-canvas {
  display: block;
  width: calc(100% * var(--notes-canvas-zoom, 1));
  min-width: 100%;
  aspect-ratio: 45 / 28;
  background: #fff;
  border: 0;
  border-radius: 0;
  touch-action: none;
  cursor: crosshair;
}

.note-canvas.text-mode {
  cursor: text;
}

.note-canvas-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.note-canvas-list:empty {
  display: none;
}

.note-canvas-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 6px;
  background: #fff;
  border: 1px solid #d8dcdf;
  border-radius: 6px;
}

.note-canvas-list img {
  width: 54px;
  height: 42px;
  object-fit: cover;
  border-radius: 4px;
  background: #eef0f1;
}

.file-thumb,
.file-video {
  width: 44px;
  height: 40px;
  border-radius: 4px;
  background: #eef0f1;
}

.file-thumb {
  object-fit: cover;
}

.file-video {
  display: grid;
  place-items: center;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.file-name {
  overflow-wrap: anywhere;
}

.file-remove {
  width: 32px;
  height: 32px;
  color: var(--red);
  background: #fff;
  border: 1px solid #e1c4c4;
  border-radius: 50%;
  font-weight: 800;
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.signature-grid.single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 520px;
}

.signature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.signature-pad {
  width: 100%;
  height: 150px;
  background: #fff;
  touch-action: none;
}

.signature-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfd3d6;
  border-radius: 6px;
}

.signature-open span {
  position: absolute;
  inset: auto 10px 10px;
  color: #9a9ea1;
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}

.signature-open.has-signature span {
  display: none;
}

.output-box {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: var(--soft);
  border-radius: var(--radius);
}

.output-box strong {
  overflow-wrap: anywhere;
}

.validation {
  min-height: 22px;
  margin-top: 12px;
  color: var(--red);
  font-weight: 700;
}

.calendar-status {
  padding: 14px;
  color: #606366;
  background: var(--soft);
  border-left: 3px solid var(--muted);
  border-radius: 6px;
  font-weight: 700;
}

.calendar-status.ok {
  color: #176a3b;
  border-left-color: var(--green);
}

.calendar-status.error {
  color: var(--red);
  border-left-color: var(--red);
}

.calendar-head,
.calendar-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.calendar-view-switch {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.calendar-view-switch .active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.calendar-month-title {
  margin: 6px 0 16px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  text-transform: capitalize;
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.calendar-main {
  display: grid;
  gap: 12px;
}

.calendar-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.calendar-list-empty,
.calendar-toggle {
  min-width: 0;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.calendar-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.calendar-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
}

.calendar-swatch {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
}

.calendar-grid.view-day {
  grid-template-columns: minmax(0, 1fr);
}

.calendar-weekday,
.calendar-day {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calendar-weekday {
  padding: 10px 8px;
  color: var(--muted);
  background: var(--soft);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.calendar-day {
  min-height: 112px;
  padding: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.calendar-day.muted {
  background: #fafafa;
  color: #a0a4a7;
}

.calendar-day.today {
  box-shadow: inset 0 0 0 2px var(--red);
}

.calendar-day.selected {
  background: #fff8f8;
  box-shadow: inset 0 0 0 2px var(--ink);
}

.calendar-day:hover {
  background: #fff7f7;
}

.calendar-grid.view-week .calendar-day,
.calendar-grid.view-day .calendar-day {
  min-height: 260px;
}

.calendar-day strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  text-transform: capitalize;
}

.calendar-event-chip,
.calendar-more {
  display: block;
  min-width: 0;
  margin-top: 4px;
  padding: 4px 6px;
  overflow: hidden;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-more {
  color: var(--ink);
  background: var(--soft);
}

.calendar-agenda {
  padding: 14px;
  background: var(--soft);
  border-radius: var(--radius);
}

.calendar-agenda h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 16px;
}

.calendar-agenda-list {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.calendar-agenda-item {
  display: grid;
  gap: 4px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  text-decoration: none;
}

.calendar-agenda-item span,
.calendar-agenda-item small {
  color: var(--muted);
  font-size: 12px;
}

.calendar-agenda-item strong {
  overflow-wrap: anywhere;
}

.project-files-list {
  display: grid;
  gap: 14px;
}

.project-files-search {
  margin: 12px 0 0;
}

.project-file-group {
  display: grid;
  gap: 8px;
}

.project-file-group h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.project-file-item {
  display: grid;
  gap: 4px;
  padding: 12px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
}

.project-file-item:hover {
  border-color: var(--red);
}

.project-file-item strong,
.project-file-item small {
  overflow-wrap: anywhere;
}

.project-file-item span,
.project-file-item small {
  color: var(--muted);
  font-size: 12px;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.primary,
.secondary {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
}

.primary {
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
}

.primary:disabled,
.secondary:disabled {
  cursor: wait;
  opacity: 0.65;
}

.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.paper-scale {
  overflow: auto;
}

.pdf-page {
  position: relative;
  width: 390px;
  aspect-ratio: 794 / 1123;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(29, 32, 36, 0.14);
}

.paper-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdf-content {
  position: absolute;
  inset: 118px 52px 86px;
  color: #4e5154;
  font-size: 8px;
}

.pdf-content h2 {
  margin: 0 0 12px;
  font-family: var(--font-brand);
  font-size: 16px;
}

.pdf-content h3 {
  margin: 10px 0 4px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.pdf-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 12px;
}

.pdf-meta > div {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 6px;
}

.pdf-meta > .wide {
  grid-column: 1 / -1;
}

.pdf-content table {
  width: 100%;
  border-collapse: collapse;
}

.pdf-photo-preview h3 {
  margin: 10px 0 4px;
}

.pdf-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-top: 4px;
}

.pdf-photo-grid img {
  width: 100%;
  height: 54px;
  object-fit: cover;
  border: 1px solid #d6d8da;
}

.pdf-content th,
.pdf-content td {
  padding: 3px 2px;
  border-bottom: 1px solid #d6d8da;
  text-align: left;
  vertical-align: top;
}

.pdf-text {
  min-height: 38px;
  margin: 0;
  white-space: pre-wrap;
}

.pdf-signatures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.pdf-signatures.single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 180px;
}

.pdf-signature-box {
  min-height: 40px;
  margin-top: 4px;
  border-bottom: 1px solid #777;
}

.pdf-signature-box img {
  max-width: 100%;
  max-height: 36px;
}

.pdf-signatures span,
.pdf-signatures small {
  display: block;
  color: #676b6e;
}

.signature-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(30, 33, 36, 0.58);
}

.signature-modal.open {
  display: flex;
}

.signature-dialog {
  width: min(980px, 100%);
  padding: 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.signature-modal-head,
.signature-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.signature-modal-head h2 {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 24px;
}

.modal-signature-pad {
  width: 100%;
  height: min(48vh, 420px);
  margin: 16px 0;
  background: #fff;
  border: 1px solid #cfd3d6;
  border-radius: 6px;
  touch-action: none;
}

.signature-modal-actions {
  justify-content: flex-end;
}

.success-screen {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fff;
}

.success-screen.open {
  display: flex;
}

.success-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 560px;
  text-align: center;
}

.success-mark {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 42px;
  font-weight: 800;
}

.success-mark::before {
  content: "\2713";
  line-height: 1;
}

.success-panel h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 30px;
}

.success-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}

@media (max-width: 1450px) {
  .worker-row,
  .material-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .app-shell.calendar-mode {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .preview-panel {
    grid-column: 2;
  }

  .worker-row,
  .material-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .app-header,
  .app-shell {
    padding: 16px;
  }

  .app-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand {
    justify-content: center;
    min-width: 0;
  }

  .brand img {
    width: min(430px, 92vw);
    max-height: 100px;
  }

  .auth-actions {
    justify-content: center;
    min-width: 0;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-shell.calendar-mode {
    grid-template-columns: 1fr;
  }

  .module-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-shell.calendar-mode [data-module-panel="calendar"] {
    grid-column: auto;
  }

  .preview-panel {
    grid-column: auto;
  }

  .field-grid,
  .textarea-grid,
  .signature-grid {
    grid-template-columns: 1fr;
  }

  .worker-row,
  .material-row {
    grid-template-columns: 1fr;
  }

  .calendar-day {
    min-height: 86px;
    padding: 6px;
  }

  .calendar-event-chip,
  .calendar-more {
    font-size: 11px;
  }
}

@media print {
  body {
    background: #fff;
  }

  .app-header,
  .module-nav,
  .form-panel,
  .preview-panel .section-head {
    display: none;
  }

  .app-shell,
  .preview-panel,
  .paper-scale {
    display: block;
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  .pdf-page {
    width: 210mm;
    height: 297mm;
    border: 0;
    box-shadow: none;
  }

  .pdf-content {
    inset: 88mm 28mm 38mm 28mm;
    font-size: 9.5pt;
  }

  .pdf-content h2 {
    font-size: 18pt;
  }

  .pdf-content h3 {
    font-size: 9.5pt;
  }
}

body.pdf-only {
  background: #eef0f1;
}

body.pdf-only .app-header,
body.pdf-only .module-nav,
body.pdf-only .form-panel,
body.pdf-only .preview-panel .section-head {
  display: none;
}

body.pdf-only .app-shell {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
}

body.pdf-only .preview-panel {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.pdf-only .pdf-page {
  width: min(100%, 720px);
}

