:root {
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color: #27352d;
  background: #f6f7f4;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --ink: #27352d;
  --muted: #7a827b;
  --line: #e3e6df;
  --paper: #fff;
  --canvas: #f6f7f4;
  --green: #315a4a;
  --green-dark: #244536;
  --green-tint: #edf3ec;
  --sidebar: 224px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 13px;
}

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

button,a,input,select,textarea {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  color: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: .44;
}

button {
  background: none;
  border: 0;
}

img {
  display: block;
  max-width: 100%;
}

h1,h2,h3,p {
  margin: 0;
}

h1,h2,h3 {
  font-weight: 600;
}

p {
  line-height: 1.65;
}

svg.icon {
  flex: none;
  vertical-align: middle;
}

input,textarea,select {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid #85a590;
  outline-offset: 3px;
}

::selection {
  background: #dce9d9;
}

input:focus,textarea:focus,select:focus {
  outline: none;
  border-color: #789881;
  box-shadow: 0 0 0 3px #315a4a0b;
}

.visually-hidden {
  position: absolute!important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0,0,0,0);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  background: var(--green);
  color: white;
  padding: 10px 14px;
  border-radius: 6px;
  z-index: 500;
}

.skip-link:focus {
  top: 12px;
}

.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar);
  position: fixed;
  inset: 0 auto 0 0;
  background: #fbfcf9;
  border-right: 1px solid var(--line);
  padding: 31px 19px 18px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 9px 33px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -1.05px;
}

.app-mark {
  width: 30px;
  height: 32px;
  color: var(--green);
  display: block;
}

.app-mark svg {
  width: 100%;
  height: 100%;
}

.logo-light {
  font-weight: 450;
}

.brand-period {
  color: #697760;
}

.workspace-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  margin-bottom: 34px;
}

.workspace-initials {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: #edf1e8;
  color: #536747;
  font-size: 10px;
  font-weight: 700;
  border-radius: 5px;
}

.workspace-switch strong {
  display: block;
  font-size: 11.5px;
  font-weight: 550;
}

.workspace-switch small {
  font-size: 10px;
  color: #697760;
  display: block;
  margin-top: 4px;
}

.workspace-lock {
  margin-left: auto;
  color: #697760;
}

.nav-section-label {
  font-size: 9px;
  letter-spacing: 1.3px;
  color: #697760;
  font-weight: 650;
  padding: 0 12px;
  margin-bottom: 12px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  color: #71796e;
  margin-bottom: 5px;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  transition: background .15s,color .15s;
}

.nav-link:hover {
  background: #f0f3ed;
  color: #334a37;
}

.nav-link.active {
  background: #e9eee5;
  color: #31503b;
  font-weight: 600;
}

.nav-count {
  margin-left: auto;
  min-width: 21px;
  height: 19px;
  display: grid;
  place-items: center;
  background: #dce4d5;
  border-radius: 4px;
  font-size: 10px;
  color: #5a6f4c;
}

.sidebar-bottom {
  margin-top: auto;
  padding-top: 45px;
}

.local-note {
  border-top: 1px solid var(--line);
  margin: 23px 8px 0;
  padding-top: 21px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #697760;
}

.local-note strong {
  display: block;
  font-size: 10px;
  font-weight: 550;
  color: #61745d;
}

.local-note small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
  color: #697760;
}

.sidebar-footer {
  font-size: 8px;
  font-weight: 550;
  letter-spacing: 1.1px;
  color: #697760;
  display: flex;
  justify-content: space-between;
  padding: 30px 9px 0;
}

.main-shell {
  margin-left: var(--sidebar);
  width: calc(100% - var(--sidebar));
  min-width: 0;
}

.topbar {
  height: 73px;
  background: #ffffffc9;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 39px;
  gap: 16px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  color: #5d675d;
}

.breadcrumbs .icon {
  color: #697760;
}

.crumb-workspace {
  color: #697760;
}

.crumb-current {
  font-size: 10px;
  color: #697760;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 17px;
}

.save-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #697760;
  font-size: 10px;
  white-space: nowrap;
}

.save-indicator.saving {
  color: #697760;
}

.save-indicator.error {
  color: #a95c50;
}

.topbar-divider {
  height: 18px;
  width: 1px;
  background: var(--line);
}

.avatar {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  background: #e8ebdf;
  border: 1px solid #dde2d3;
  border-radius: 50%;
  font-size: 10px;
  color: #617052;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.avatar:hover,
.avatar:focus-visible {
  background: #f0f3e9;
  border-color: #cbd4bf;
  box-shadow: 0 0 0 3px #e8eee0;
  outline: none;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  color: #697760;
  flex: none;
}

.icon-btn:hover {
  background: #eef1e8;
  color: #395331;
}

.icon-btn.danger:hover {
  color: #aa5144;
  background: #fff1ee;
}

.mobile-menu,.sidebar-scrim {
  display: none;
}

.page {
  padding: 41px 39px 30px;
  max-width: 1530px;
  margin: 0 auto;
}

.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.eyebrow {
  font-size: 9px;
  letter-spacing: 1.65px;
  font-weight: 650;
  color: #697760;
  margin-bottom: 11px;
}

h1 {
  font-size: 33px;
  line-height: 1.25;
  letter-spacing: -1.15px;
  color: #283b2d;
}

.heading-dot {
  color: #697760;
}

.page-heading p {
  font-size: 12px;
  color: #697760;
  margin-top: 10px;
}

.btn {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 6px;
  white-space: nowrap;
  line-height: 1.2;
  font-size: 11px;
  font-weight: 550;
  transition: background .15s,box-shadow .15s;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 1px 2px #1b2e1710;
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.btn-secondary {
  background: #fff;
  border-color: #dce2d6;
  color: #53604a;
  box-shadow: 0 1px 1px #29372003;
}

.btn-secondary:hover {
  background: #f8faf5;
  border-color: #b9c6ae;
}

.btn-danger {
  background: #a45647;
  color: #fff;
}

.btn-danger:hover {
  background: #8f4538;
}

.btn.small {
  min-height: 32px;
  padding: 0 11px;
  font-size: 10px;
}

.text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 550;
  color: #647d54;
  padding: 5px 0;
}

.text-btn:hover {
  color: #294b28;
}

.text-btn.danger {
  color: #a76050;
}

.intro-banner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 23px 27px;
  background: #edf2e7;
  border: 1px solid #e1e8d9;
  border-radius: 8px;
  margin-bottom: 34px;
  min-height: 109px;
}

.banner-art {
  position: relative;
  width: 57px;
  height: 59px;
  flex: none;
}

.mini-paper {
  position: absolute;
  inset: 0 10px 4px 2px;
  border-radius: 4px;
  background: #fafcf6;
  border: 1px solid #cfdac2;
  transform: rotate(-7deg);
  box-shadow: 0 3px 6px #3d50220b;
  padding: 9px;
  color: #697760;
}

.mini-paper span {
  display: block;
  width: 23px;
  height: 2px;
  background: #d4deca;
  margin-top: 4px;
}

.mini-paper span:last-child {
  width: 16px;
}

.mini-check {
  position: absolute;
  right: 0;
  bottom: 3px;
  background: #9cb48a;
  border: 3px solid #edf2e7;
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.banner-copy h2 {
  font-size: 14px;
  letter-spacing: -.2px;
  font-weight: 580;
  color: #46613d;
}

.banner-copy p {
  font-size: 11px;
  color: #697760;
  margin-top: 5px;
}

.banner-steps {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
  color: #697760;
  font-size: 9px;
  white-space: nowrap;
}

.banner-steps span {
  display: flex;
  gap: 7px;
}

.banner-steps b {
  color: #697760;
  font-size: 9px;
  font-weight: 550;
}

.banner-steps>.icon {
  color: #697760;
}

.report-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.filters {
  display: flex;
  gap: 6px;
  align-items: center;
}

.filter {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 11px;
  color: #697760;
  white-space: nowrap;
}

.filter span {
  font-size: 9px;
  min-width: 16px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #edf0e7;
  color: #697760;
}

.filter.selected {
  color: #45653a;
  background: #e8eee1;
  font-weight: 550;
}

.filter.selected span {
  background: #d9e3ce;
  color: #567d45;
}

.filter:hover {
  background: #edf1e7;
}

.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 11px;
}

.search-box {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #697760;
  border: 1px solid #dfe5d7;
  background: #fff;
  border-radius: 5px;
  padding: 0 9px;
}

.search-box input {
  background: none;
  border: 0;
  outline: none;
  box-shadow: none;
  font-size: 10px;
  width: 150px;
  height: 100%;
  color: #566d48;
}

.search-box input::placeholder {
  color: #697760;
}

.view-switch {
  display: flex;
  align-items: center;
  border: 1px solid #dfe5d7;
  background: #fff;
  border-radius: 5px;
  padding: 2px;
  gap: 2px;
}

.view-switch .icon-btn {
  width: 28px;
  height: 27px;
  border-radius: 3px;
}

.view-switch .selected {
  background: #edf1e7;
  color: #617c4d;
}

.list-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #697760;
  font-size: 10px;
  padding: 20px 0 15px;
}

.list-meta label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.list-meta select {
  border: 0;
  background: transparent;
  outline: 0;
  color: #697760;
  font-size: 10px;
  padding-right: 3px;
}

.report-collection {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 21px;
}

.report-card {
  border: 1px solid #dfe5d7;
  background: #fff;
  border-radius: 9px;
  overflow: hidden;
  transition: box-shadow .2s,border-color .2s;
  min-width: 0;
}

.report-card:hover {
  border-color: #b3c2a5;
  box-shadow: 0 5px 16px #33452208;
}

.card-visual {
  display: flex;
  height: 195px;
  position: relative;
  background: #e9edde;
  overflow: hidden;
}

.cover-half {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.cover-half img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 60% 55%;
  transition: transform .5s;
}

.cover-half.after-half img {
  object-position: 48% 55%;
}

.report-card:hover .cover-half img {
  transform: scale(1.025);
}

.image-chip {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 3px;
  padding: 4px 6px;
  background: #fffaf0ed;
  font-size: 7px;
  letter-spacing: .8px;
  color: #666e55;
  font-weight: 650;
}

.cover-seam {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  display: grid;
  place-items: center;
  color: #697760;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fffaf3;
  border: 2px solid #f5f5ea;
  box-shadow: 0 1px 4px #293c2a20;
}

.cover-seam:before {
  content: '';
  height: 220px;
  width: 1px;
  position: absolute;
  z-index: -1;
  background: #ffffffaa;
}

.sample-badge {
  position: absolute;
  top: 11px;
  right: 11px;
  background: #ffffffd9;
  color: #697760;
  font-size: 7px;
  letter-spacing: 1.1px;
  padding: 4px 6px;
  border-radius: 3px;
}

.image-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #697760;
  background: #ecf0e6;
}

.image-empty span {
  font-size: 9px;
}

.card-body {
  padding: 17px 17px 0;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 12px;
}

.card-meta>span:first-child {
  font-size: 9px;
  color: #697760;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  border-radius: 4px;
  padding: 4px 6px;
  white-space: nowrap;
  line-height: 1;
}

.status>span {
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: currentColor;
}

.status-ready {
  background: #edf4e9;
  color: #697760;
}

.status-draft {
  background: #f5f0e7;
  color: #697760;
}

.status-exported {
  background: #eaf0f5;
  color: #697760;
}

.card-title {
  font-size: 15px;
  font-weight: 580;
  letter-spacing: -.3px;
  line-height: 1.4;
  color: #3d5735;
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.card-client {
  font-size: 9.5px;
  color: #697760;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 7px;
  margin-bottom: 18px;
}

.card-client span {
  margin: 0 6px;
  color: #697760;
}

.card-footer {
  display: flex;
  align-items: center;
  gap: 13px;
  border-top: 1px solid #edf0e7;
  min-height: 48px;
  font-size: 9px;
  color: #697760;
}

.card-footer>span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.card-menu {
  margin-left: auto;
  height: 25px;
  width: 25px;
}

.sample-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 20px;
  color: #697760;
  font-size: 9.5px;
  line-height: 1.6;
}

.sample-note .icon {
  margin-top: 1px;
}

.sample-note button {
  margin-left: auto;
  color: #697760;
  white-space: nowrap;
  padding: 0;
  font-size: 9.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dashboard-bottom {
  margin-top: 70px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #697760;
  font-size: 9px;
}

.dashboard-bottom>span,.dashboard-bottom a {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dashboard-bottom a {
  color: #697760;
}

.list-view {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.list-view .report-card {
  display: flex;
  align-items: center;
  padding: 8px;
}

.list-view .card-visual {
  height: 84px;
  width: 154px;
  flex: none;
  border-radius: 5px;
}

.list-view .card-body {
  padding: 0 17px;
  flex: 1;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  align-items: center;
  gap: 1px 16px;
}

.list-view .card-meta {
  grid-column: 2;
  grid-row: 1 / 3;
  justify-content: flex-end;
  gap: 17px;
  margin: 0;
}

.list-view .card-title {
  grid-column: 1;
  grid-row: 1;
  font-size: 14px;
}

.list-view .card-client {
  grid-column: 1;
  margin: 4px 0 0;
}

.list-view .card-footer {
  border: 0;
  grid-column: 2;
  grid-row: 3;
  min-height: 25px;
  justify-content: flex-end;
}

.list-view .card-footer .card-menu {
  margin-left: 10px;
}

.list-view .sample-badge {
  display: none;
}

.list-view .image-chip {
  font-size: 6px;
  bottom: 5px;
  left: 5px;
  padding: 3px;
}

.empty-state {
  grid-column: 1/-1;
  min-height: 328px;
  text-align: center;
  border: 1px dashed #d5dfcb;
  border-radius: 8px;
  padding: 47px 25px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.empty-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid #dce4d3;
  border-radius: 12px;
  background: #f0f4eb;
  color: #697760;
  margin-bottom: 17px;
}

.empty-state h2 {
  font-size: 20px;
  letter-spacing: -.5px;
}

.empty-state p {
  font-size: 12px;
  color: #697760;
  max-width: 340px;
  margin: 11px 0 21px;
}

.editor-heading {
  padding: 30px 39px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.editor-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #697760;
  font-size: 9px;
  margin-bottom: 12px;
}

.editor-kicker a {
  color: #697760;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag {
  font-size: 8px;
  padding: 4px 7px;
  border: 1px solid #dce4d2;
  border-radius: 4px;
  white-space: nowrap;
  color: #697760;
  font-weight: 500;
}

.editor-title {
  font-size: 27px;
  letter-spacing: -.8px;
  max-width: 700px;
  overflow-wrap: anywhere;
}

.editor-subtitle {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #697760;
  font-size: 10px;
  margin-top: 10px;
}

.middot {
  color: #697760;
}

.editor-actions {
  display: flex;
  gap: 8px;
  flex: none;
}

.editor-tabs {
  padding: 0 39px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 27px;
  background: #fbfcf8;
}

.editor-tab {
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
  padding: 15px 1px;
  font-size: 11px;
  color: #697760;
  white-space: nowrap;
}

.step-number {
  font-size: 8px;
  font-weight: 600;
  display: grid;
  place-items: center;
  border: 1px solid #dce5d3;
  border-radius: 50%;
  height: 19px;
  width: 19px;
  color: #697760;
}

.editor-tab.active {
  color: #4b7040;
  font-weight: 600;
}

.editor-tab.active .step-number {
  background: #e4edde;
  border-color: #d1dfc8;
  color: #697760;
}

.editor-tab.active:after {
  content: '';
  height: 2px;
  background: #678754;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}

.editor-tab small {
  font-size: 8px;
  color: #697760;
  background: #edf2e7;
  padding: 2px 5px;
  border-radius: 4px;
}

.editor-tabs-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #697760;
  font-size: 9px;
}

.editor-content {
  padding: 28px 39px 34px;
}

.details-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 252px;
  gap: 25px;
  max-width: 1300px;
  margin: auto;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 19px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 23px;
  color: #697760;
}

.panel-heading h2 {
  font-size: 14px;
  color: #4e6742;
  letter-spacing: -.1px;
  font-weight: 600;
}

.panel-heading p {
  font-size: 10px;
  color: #697760;
  margin-top: 6px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field>span {
  font-size: 10px;
  font-weight: 500;
  color: #697760;
}

.required {
  font-size: 10px;
  font-weight: 400;
  color: #697760;
  margin-left: 4px;
}

.field-wide {
  grid-column: 1/-1;
}

input,select,textarea {
  border: 1px solid #dde5d3;
  border-radius: 5px;
  background: #fff;
  width: 100%;
  padding: 11px 12px;
  outline: none;
  transition: border-color .15s,box-shadow .15s;
  font-size: 11px;
  line-height: 1.4;
}

input::placeholder,textarea::placeholder {
  color: #697760;
}

input,select {
  min-height: 39px;
}

select {
  padding-right: 25px;
}

textarea {
  resize: vertical;
  min-height: 76px;
  line-height: 1.65;
}

.field small {
  font-size: 9px;
  color: #697760;
  line-height: 1.6;
}

.small-count,.optional {
  color: #697760;
  font-size: 9px;
  margin-top: 2px;
}

.service-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid #e0e7d7;
  border-radius: 5px;
  background: #fff;
  color: #697760;
  font-size: 10px;
  line-height: 1.2;
}

.service-chip.on {
  background: #edf3e7;
  border-color: #d1e0c2;
  color: #697760;
}

.service-chip:hover {
  border-color: #b8cba4;
}

.inline-add {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 19px;
}

.inline-add input {
  border: 0;
  background: #f7f9f3;
  font-size: 10px;
  min-height: 34px;
  padding: 8px 10px;
  flex: 1;
}

.inline-add button {
  padding: 5px 10px;
  flex: none;
}

.field-foot {
  display: flex;
  justify-content: space-between;
  color: #697760;
  font-size: 9px;
  margin-top: 9px;
}

.step-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.step-footer>span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #697760;
}

.aside-card {
  background: #fbfcf8;
  border: 1px solid #e3e9dc;
  border-radius: 8px;
  overflow: hidden;
}

.aside-visual {
  background: #e9efdf;
  height: 146px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 27px;
  color: #697760;
}

.aside-visual>.icon {
  padding: 0;
  width: 38px;
  height: 38px;
}

.aside-stamp {
  margin-left: auto;
  border: 1px solid #b8caa5;
  border-radius: 50%;
  width: 81px;
  height: 81px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .5px;
  line-height: 1.6;
  color: #697760;
  transform: rotate(-12deg);
}

.aside-body {
  padding: 24px 19px;
}

.aside-body h3 {
  font-size: 13px;
  color: #697760;
}

.aside-body p {
  font-size: 10px;
  color: #697760;
  margin-top: 9px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 25px;
}

.checklist span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: #697760;
}

.checklist .icon {
  color: #697760;
}

.quiet-tip {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #697760;
  margin-top: 20px;
  padding: 0 5px;
}

.quiet-tip .icon {
  margin-top: 2px;
}

.quiet-tip p {
  font-size: 9px;
  color: #697760;
  line-height: 1.8;
}

.sample-aside {
  font-size: 9px;
  color: #697760;
  background: #f0f4e9;
  padding: 13px;
  border-radius: 5px;
  line-height: 1.7;
  margin-top: 19px;
}

.sample-aside strong {
  font-weight: 550;
}

.photos-content {
  max-width: 1150px;
  margin: auto;
}

.section-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}

.section-intro h2 {
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -.4px;
  color: #4b6b3b;
}

.section-intro p {
  font-size: 10px;
  color: #697760;
  margin-top: 7px;
}

.completion-counter {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 9px;
  color: #697760;
  white-space: nowrap;
}

.completion-counter b {
  font-weight: 600;
  color: #697760;
}

.inline-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  background: #f0f5e9;
  color: #697760;
  border: 1px solid #e4edd9;
  border-radius: 5px;
  line-height: 1.6;
  font-size: 9px;
  margin-bottom: 20px;
}

.inline-notice .icon {
  margin-top: 1px;
}

.inline-notice.amber {
  background: #faf6ec;
  border-color: #efe5cd;
  color: #697760;
}

.pair-card {
  background: #fff;
  border: 1px solid #dfe8d5;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}

.pair-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 18px;
  border-bottom: 1px solid #edf2e7;
}

.pair-index {
  background: #edf4e6;
  color: #697760;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex: none;
}

.pair-title-input {
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 550;
  font-size: 12px;
  padding: 5px;
  min-height: 30px;
  color: #5e8049;
  background: transparent;
}

.pair-title-input:hover {
  border-color: #e2ebd8;
}

.pair-tools {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.pair-tools .icon-btn {
  width: 27px;
  height: 27px;
  color: #697760;
}

.tool-divider {
  height: 15px;
  width: 1px;
  background: #e5eddc;
  margin: 0 6px;
}

.pair-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 19px;
}

.slot-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #697760;
  margin-bottom: 10px;
  font-weight: 500;
}

.slot-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b5b9a3;
}

.slot-dot.after {
  background: #7eaa60;
}

.slot-loaded {
  margin-left: auto;
  font-size: 8px;
  color: #697760;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 4px;
}

.photo-slot {
  aspect-ratio: 1.72;
  position: relative;
  background: #f6f8f0;
  border: 1px dashed #d2e0c3;
  border-radius: 5px;
  overflow: hidden;
  transition: background .15s,border-color .15s;
}

.photo-slot.has-photo {
  border: 1px solid #e0e6d7;
  background: #edf1e6;
}

.photo-slot>img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.photo-slot.dragging {
  background: #e3eed7;
  border-color: #7b9f5d;
  outline: 3px solid #bcd6a6;
}

.upload-hitarea {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  cursor: pointer;
  padding: 15px;
  text-align: center;
}

.upload-icon {
  color: #697760;
  margin-bottom: 12px;
}

.upload-hitarea strong {
  font-size: 11px;
  font-weight: 550;
  color: #697760;
}

.upload-hitarea>span:not(.upload-icon) {
  font-size: 9px;
  color: #697760;
  margin-top: 7px;
}

.upload-hitarea em {
  font-style: normal;
  color: #697760;
}

.upload-hitarea small {
  font-size: 8px;
  color: #697760;
  margin-top: 12px;
}

.photo-file {
  font-size: 8px;
  color: #697760;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 9px;
  min-height: 12px;
}

.photo-file>span {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 70%;
}

.photo-file small {
  font-size: 8px;
  color: #697760;
  white-space: nowrap;
}

.photo-hover-actions {
  position: absolute;
  top: 9px;
  right: 9px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity .15s;
}

.photo-slot:hover .photo-hover-actions,.photo-slot:focus-within .photo-hover-actions {
  opacity: 1;
}

.photo-overlay-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fffef5f2;
  color: #697760;
  min-height: 28px;
  border-radius: 4px;
  padding: 0 9px;
  font-size: 9px;
  cursor: pointer;
  box-shadow: 0 1px 4px #27400b1a;
}

.photo-overlay-btn.danger {
  color: #697760;
  padding: 0 7px;
}

.pair-caption {
  padding: 0 19px 18px;
  display: block;
}

.pair-caption>span {
  display: flex;
  gap: 7px;
  font-size: 8px;
  letter-spacing: .7px;
  color: #697760;
  margin-bottom: 8px;
  font-weight: 550;
}

.pair-caption>span small {
  font-size: 7px;
  color: #697760;
  letter-spacing: .3px;
  font-weight: 400;
}

.pair-caption textarea {
  font-size: 10px;
  padding: 10px 12px;
  min-height: 36px;
  background: #fafcf6;
  border-color: #e8efdf;
  color: #697760;
}

.pair-caption textarea::placeholder {
  color: #697760;
}

.add-pair {
  height: 58px;
  border: 1px dashed #cdddba;
  border-radius: 7px;
  color: #697760;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  width: 100%;
  margin: 21px 0;
}

.add-pair:hover {
  background: #f0f6e8;
  border-color: #a5c187;
}

.add-pair small {
  font-size: 8px;
  color: #697760;
  margin-left: 3px;
}

.review-grid {
  display: grid;
  grid-template-columns: 272px minmax(0,1fr);
  min-height: calc(100vh - 259px);
}

.review-settings {
  background: #fff;
  border-right: 1px solid var(--line);
}

.review-settings-inner {
  padding: 27px 23px;
  position: sticky;
  top: 0;
}

.review-settings-title h2 {
  font-size: 15px;
  color: #566f47;
  letter-spacing: -.2px;
}

.review-settings-title p {
  font-size: 10px;
  color: #697760;
  margin-top: 7px;
}

.review-section {
  border-bottom: 1px solid #e8eedf;
  padding-bottom: 22px;
  margin-top: 26px;
}

.small-label {
  font-size: 8px;
  letter-spacing: .8px;
  color: #697760;
  font-weight: 550;
  display: block;
  margin-bottom: 12px;
}

.layout-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.layout-option {
  border: 1px solid #e2ead8;
  background: #fff;
  border-radius: 5px;
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  width: 100%;
  font-size: 10px;
  color: #697760;
}

.layout-option.active {
  border-color: #bed2ac;
  background: #f3f7ed;
  color: #697760;
}

.layout-option small {
  display: block;
  font-size: 8px;
  color: #697760;
  margin-top: 4px;
  font-weight: 400;
}

.layout-option>.icon {
  margin-left: auto;
}

.layout-symbol {
  width: 29px;
  height: 32px;
  display: flex;
  border: 1px solid #bed1ac;
  background: #fff;
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  padding: 5px;
  gap: 3px;
  flex: none;
}

.layout-symbol i {
  height: 16px;
  width: 8px;
  background: #d8e5cb;
  border-radius: 1px;
}

.layout-symbol.journal {
  flex-direction: column;
  gap: 3px;
}

.layout-symbol.journal i {
  height: 8px;
  width: 17px;
}

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

.label-row>a {
  font-size: 9px;
  color: #697760;
  display: flex;
  gap: 3px;
  align-items: center;
  margin-bottom: 11px;
}

.brand-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.brand-summary-logo {
  width: 33px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f6ec;
  border-radius: 5px;
}

.brand-summary-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-summary strong {
  font-size: 11px;
  color: #697760;
  font-weight: 550;
}

.brand-summary small {
  font-size: 7px;
  letter-spacing: .5px;
  color: #697760;
  display: block;
  margin-top: 4px;
}

.export-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.export-checklist>span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: #697760;
}

.export-checklist .done {
  color: #697760;
}

.export-checklist small {
  font-size: 7px;
  margin-left: auto;
}

.export-ready,.export-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 13px 11px;
  margin: 22px 0 13px;
  border-radius: 5px;
  background: #f0f6e9;
  color: #697760;
  font-size: 10px;
}

.export-ready strong,.export-warning strong {
  font-weight: 550;
}

.export-ready p,.export-warning p {
  font-size: 8px;
  margin-top: 5px;
  color: #697760;
}

.export-warning {
  background: #fbf6e9;
  color: #697760;
}

.export-warning p {
  color: #697760;
}

.export-warning a {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 9px;
}

.review-settings .btn-primary {
  width: 100%;
  font-size: 10px;
}

.export-footnote {
  font-size: 8px;
  text-align: center;
  line-height: 1.7;
  color: #697760;
  margin-top: 12px;
}

.preview-stage {
  padding: 0 28px 29px;
  background: #eaf0e4;
  min-width: 0;
  overflow: auto;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 0;
  max-width: 720px;
  margin: auto;
}

.preview-toolbar>span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #697760;
  font-size: 8px;
  letter-spacing: .7px;
}

.preview-toolbar #preview-page-count {
  letter-spacing: 0;
  color: #697760;
  font-size: 8px;
}

.preview-toolbar .text-btn {
  font-size: 9px;
  color: #697760;
}

.report-pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
  padding-top: 4px;
}

.report-page {
  background: #fff;
  box-shadow: 0 3px 9px #52693612,0 0 0 1px #dce4d3;
  width: 100%;
  max-width: 660px;
  height: auto;
}

.preview-stage.zoomed .report-page {
  width: 612px;
  min-width: 612px;
  max-width: none;
}

.preview-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 8px;
  color: #697760;
  padding-top: 21px;
}

.preview-loading {
  height: 500px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #697760;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #d3e4c1;
  border-top-color: #72915b;
  border-radius: 50%;
  display: inline-block;
  animation: spin .75s linear infinite;
}

@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}

.template-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 920px;
}

.template-card {
  border: 1px solid #dce7d1;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.template-preview {
  height: 330px;
  background: #eaf0e2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding-top: 28px;
}

.template-paper {
  width: 233px;
  min-height: 324px;
  background: #fffef9;
  box-shadow: 0 5px 15px #425b2615;
  padding: 25px;
  transform: rotate(-3deg);
}

.template-card:nth-child(2) .template-paper {
  transform: rotate(3deg);
}

.template-paper-brand {
  font-size: 10px;
  color: #527440;
  font-weight: 700;
  letter-spacing: 1px;
}

.template-paper-brand span {
  display: block;
  font-size: 4px;
  letter-spacing: .9px;
  font-weight: 400;
  margin-top: 4px;
}

.template-paper-rule {
  height: 1px;
  background: #e1e9d7;
  margin: 12px 0;
}

.template-paper h3 {
  font-size: 18px;
  letter-spacing: -.5px;
  line-height: 1.2;
  color: #4a653c;
  margin: 14px 0;
}

.template-lines {
  margin: 12px 0;
  display: flex;
  gap: 3px;
  flex-direction: column;
}

.template-lines i {
  width: 91%;
  height: 3px;
  background: #edf2e6;
}

.template-lines i:last-child {
  width: 65%;
}

.template-paper-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 0;
}

.template-paper-meta span {
  font-size: 4px;
  letter-spacing: .4px;
  color: #697760;
  flex: 1;
}

.template-paper-meta i {
  display: block;
  width: 70%;
  height: 4px;
  margin-top: 5px;
  background: #d8e4c9;
}

.template-image-layout {
  display: flex;
  gap: 7px;
}

.template-image-layout>div {
  width: 50%;
}

.template-image-layout span {
  display: block;
  font-size: 4px;
  letter-spacing: .5px;
  color: #697760;
  margin-bottom: 6px;
}

.template-image-layout i {
  display: block;
  background: #dbe5ce;
  height: 60px;
  border-radius: 1px;
}

.template-image-layout>div:last-child i {
  background: #aec29a;
}

.template-image-layout.journal {
  flex-direction: column;
  gap: 8px;
}

.template-image-layout.journal>div {
  width: 100%;
}

.template-image-layout.journal i {
  height: 41px;
}

.template-paper>small {
  font-size: 4px;
  color: #697760;
}

.template-body {
  padding: 24px;
}

.template-body h2 {
  font-size: 17px;
  color: #697760;
  letter-spacing: -.3px;
}

.template-body p {
  font-size: 10px;
  color: #697760;
  margin: 12px 0 21px;
  max-width: 350px;
  line-height: 1.8;
}

.template-body .btn {
  width: 100%;
  color: #697760;
}

.template-body .tag {
  font-size: 6px;
  padding: 4px 5px;
  letter-spacing: .6px;
}

.template-tip {
  max-width: 650px;
  margin-top: 25px;
}

.branding-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 335px;
  gap: 30px;
  max-width: 1100px;
}

.autosave-caption {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #697760;
}

.logo-uploader {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 0 0 24px;
  margin-bottom: 23px;
  border-bottom: 1px solid #e6eedc;
}

.logo-preview {
  width: 71px;
  height: 71px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f8ef;
  border: 1px dashed #d2e1c2;
  border-radius: 8px;
  color: #697760;
  flex: none;
}

.logo-preview img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.logo-uploader strong {
  font-size: 11px;
  color: #697760;
  font-weight: 550;
}

.logo-uploader p {
  font-size: 9px;
  color: #697760;
  margin: 6px 0 10px;
}

.logo-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}

.color-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
}

.color-swatch {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--swatch);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #dde8d3;
  color: #fff;
}

.color-swatch.active {
  box-shadow: 0 0 0 2px #9cb986;
}

.custom-color {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  font-size: 9px;
  color: #697760;
  cursor: pointer;
}

.custom-color input {
  width: 26px;
  height: 26px;
  min-height: 0;
  padding: 0;
  border: 1px solid #cadcba;
  background: none;
  border-radius: 4px;
  cursor: pointer;
}

.brand-aside {
  padding-top: 7px;
}

.brand-preview-label {
  font-size: 8px;
  letter-spacing: 1px;
  color: #697760;
  text-align: center;
  margin-bottom: 19px;
}

.brand-paper {
  background: #fff;
  padding: 30px 25px;
  border: 1px solid #dce6d3;
  box-shadow: 0 5px 20px #40582508;
  border-radius: 2px;
  min-height: 410px;
}

.brand-paper-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 23px;
}

.brand-paper-logo strong {
  display: block;
  font-size: 21px;
  letter-spacing: -.7px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.brand-paper-logo>img {
  height: 36px;
  width: 36px;
  object-fit: contain;
}

.brand-paper-logo span {
  display: block;
  font-size: 6px;
  letter-spacing: .5px;
  margin-top: 6px;
  color: #697760;
  overflow-wrap: anywhere;
}

.brand-paper-line {
  height: 1px;
  background: #e2ead9;
  margin-bottom: 18px;
}

.brand-paper>small {
  font-size: 6px;
  letter-spacing: .7px;
  color: #697760;
}

.brand-paper h2 {
  font-size: 23px;
  letter-spacing: -.5px;
  color: #5e794a;
  line-height: 1.3;
  margin: 10px 0 21px;
}

.brand-preview-fields {
  display: flex;
  gap: 33px;
  color: #697760;
  font-size: 6px;
  letter-spacing: .3px;
  margin-bottom: 24px;
}

.brand-preview-fields b {
  display: block;
  font-size: 8px;
  color: #697760;
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: 0;
}

.brand-preview-photos {
  display: flex;
  gap: 9px;
}

.brand-preview-photos>div {
  width: 50%;
  font-size: 5px;
  color: #697760;
  letter-spacing: .6px;
}

.brand-preview-photos span {
  display: block;
  background: #e9f0e0;
  height: 92px;
  margin-top: 7px;
  border-radius: 2px;
}

.brand-paper>p {
  font-size: 7px;
  border-top: 1px solid #e4eddc;
  margin-top: 24px;
  padding-top: 15px;
  color: #697760;
  overflow-wrap: anywhere;
}

.brand-preview-contact {
  display: block;
  line-height: 1.6;
  font-size: 6px!important;
  letter-spacing: 0!important;
  margin-top: 7px;
  overflow-wrap: anywhere;
}

.settings-stack {
  max-width: 850px;
}

.storage-stats {
  display: flex;
  gap: 50px;
  padding: 1px 0 25px;
}

.storage-stats>div {
  flex: 1;
}

.storage-stats strong {
  font-size: 30px;
  font-weight: 500;
  color: #697760;
  letter-spacing: -.8px;
  display: block;
}

.storage-stats strong small {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

.storage-stats span {
  display: block;
  font-size: 10px;
  color: #697760;
  margin-top: 6px;
}

.settings-stack .inline-notice {
  margin-bottom: 0;
  font-size: 10px;
}

.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 15px 0;
}

.settings-row+.settings-row {
  border-top: 1px solid #e8efdf;
}

.settings-row strong {
  font-size: 11px;
  color: #697760;
  font-weight: 550;
}

.settings-row p {
  font-size: 10px;
  color: #697760;
  margin-top: 7px;
  max-width: 470px;
}

.settings-row .btn {
  font-size: 10px;
  flex: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  font-size: 10px;
  color: #697760;
}

.about-grid span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.settings-note {
  border-top: 1px solid #e7f0dc;
  margin-top: 22px;
  padding-top: 18px;
  font-size: 10px;
  color: #697760;
  line-height: 1.8;
}

/* Dialogs, contextual actions, and live feedback. */

dialog {
  border: 1px solid #dce5d4;
  padding: 29px;
  border-radius: 12px;
  width: min(468px,calc(100vw - 32px));
  color: var(--ink);
  box-shadow: 0 22px 80px #1f36222b;
  max-height: calc(100vh - 50px);
  overflow: auto;
}

dialog::backdrop {
  background: #172a225c;
  backdrop-filter: blur(2px);
}

.modal-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 19px;
}

.modal-icon {
  width: 45px;
  height: 45px;
  background: #edf3e6;
  border: 1px solid #dce8d0;
  color: #697760;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.modal-icon.muted-red {
  background: #fcf4ec;
  color: #697760;
  border-color: #f1dfce;
}

dialog h2 {
  font-size: 23px;
  letter-spacing: -.7px;
  color: #405a34;
}

.modal-description {
  font-size: 11px;
  color: #697760;
  margin-top: 10px;
  margin-bottom: 22px;
  line-height: 1.8;
}

dialog .field {
  margin-bottom: 17px;
}

dialog .field input,dialog .field select {
  min-height: 42px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  border-top: 1px solid #e7efdd;
  padding-top: 22px;
  margin-top: 21px;
}

.modal-fineprint {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #697760;
  margin-top: 17px;
}

.help-steps {
  display: flex;
  flex-direction: column;
  gap: 21px;
  margin: 27px 0;
}

.help-steps>div {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.help-steps b {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid #dfebd3;
  border-radius: 50%;
  color: #697760;
  font-size: 9px;
  flex: none;
}

.help-steps strong {
  font-size: 11px;
  color: #697760;
  font-weight: 550;
  display: block;
  margin-bottom: 4px;
}

.help-steps p {
  font-size: 10px;
  color: #697760;
  line-height: 1.7;
}

#toast-root {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: calc(100vw - 32px);
}

.toast {
  background: #fff;
  border: 1px solid #d7e5cd;
  box-shadow: 0 6px 22px #273e1920;
  border-radius: 7px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #697760;
  max-width: 420px;
  font-size: 11px;
  line-height: 1.6;
  animation: toast-in .2s ease-out;
}

.toast.error {
  border-color: #e5cfc1;
  color: #697760;
}

.toast button {
  margin-left: 8px;
  opacity: .5;
  padding: 0;
}

.toast .icon {
  flex: none;
}

@keyframes toast-in {

  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Account and cloud workspace */
.auth-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(440px, 1.1fr);
  background: #f7f8f5;
}

.auth-brand {
  min-height: 100vh;
  padding: 52px clamp(42px, 7vw, 112px);
  background: var(--green);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.auth-brand::after {
  content: '';
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid #ffffff24;
  border-radius: 50%;
  right: -220px;
  bottom: -120px;
  box-shadow: 0 0 0 70px #ffffff08,0 0 0 140px #ffffff08;
}

.auth-brand .brand-lockup {
  margin: 0;
  color: white;
  position: relative;
  z-index: 1;
}

.auth-brand .app-mark {
  color: white;
}

.auth-brand .brand-period,.auth-brand .eyebrow {
  color: #cfddce;
}

.auth-brand h1 {
  margin: 18px 0 20px;
  font-family: Georgia,serif;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -2.5px;
  font-weight: 500;
}

.auth-brand p {
  max-width: 490px;
  color: #dce7dd;
  font-size: 15px;
}

.auth-benefits {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
  color: #edf3ed;
  font-size: 12px;
}

.auth-benefits span {
  display: flex;
  align-items: center;
  gap: 11px;
}

.auth-panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 48px 28px;
}

.auth-card {
  width: min(420px,100%);
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 18px 55px #26352c10;
}

.auth-mark {
  display: none;
  width: 34px;
  color: var(--green);
  margin-bottom: 22px;
}

.auth-card h2 {
  font-family: Georgia,serif;
  font-size: 30px;
  letter-spacing: -.7px;
  margin-bottom: 9px;
}

.auth-card > p {
  color: var(--muted);
  margin-bottom: 28px;
}

.auth-card form {
  display: grid;
  gap: 16px;
}

.auth-card form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.auth-text-link {
  justify-self: end;
  margin-top: -7px;
  color: var(--green);
  font-size: 11px;
}

.auth-switch {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 21px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}

.auth-switch button {
  color: var(--green);
  font-weight: 650;
}

.auth-message,.auth-setup {
  background: var(--green-tint);
  border: 1px solid #d7e3d6;
  border-radius: 7px;
  padding: 12px 14px;
  color: #426047;
  margin: -10px 0 20px;
  line-height: 1.55;
}

.auth-setup strong {
  display: block;
  margin-bottom: 6px;
}

.auth-setup code {
  font-size: 11px;
  background: #fff;
  padding: 2px 4px;
  border-radius: 3px;
}

.auth-footer {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  text-align: center;
}

.account-settings {
  display: grid;
  grid-template-columns: minmax(300px, 1.5fr) minmax(180px, .7fr) auto;
  gap: 28px;
  align-items: end;
}

.account-settings form {
  display: flex;
  gap: 12px;
  align-items: end;
}

.account-settings .field {
  flex: 1;
}

.plan-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
}

.plan-summary small,.plan-summary strong {
  display: block;
}

.plan-summary small {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 4px;
}

@media (max-width: 800px) {
  .auth-screen { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-panel { padding: 28px 18px; }
  .auth-card { padding: 30px 24px; }
  .auth-mark { display: block; }
  .account-settings { grid-template-columns: 1fr; align-items: start; }
  .account-settings form { align-items: stretch; flex-direction: column; }
  .account-settings form .btn { align-self: start; }
}

#context-menu {
  position: fixed;
  z-index: 60;
  background: #fff;
  box-shadow: 0 5px 22px #2642161a;
  border: 1px solid #dce7d1;
  border-radius: 7px;
  padding: 5px;
  min-width: 160px;
  max-width: calc(100vw - 16px);
}

#context-menu[hidden] {
  display: none;
}

#context-menu button {
  padding: 10px;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 10px;
  color: #697760;
  width: 100%;
  text-align: left;
  border-radius: 4px;
}

#context-menu button:hover {
  background: #f0f6e9;
}

#context-menu button.danger {
  color: #697760;
}

#context-menu hr {
  border: 0;
  height: 1px;
  background: #e7efdf;
  margin: 4px;
}

.account-menu-summary {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 212px;
  padding: 9px 10px 8px;
  overflow: hidden;
}

.account-menu-summary strong {
  color: #243b2c;
  font-size: 11px;
  font-weight: 650;
}

.account-menu-summary span {
  color: #788276;
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loading-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  background: #f6f7f4;
  color: #697760;
  font-size: 12px;
}

.loading-screen .app-mark {
  width: 40px;
  height: 43px;
}

.initial-error {
  padding: 40px;
  max-width: 650px;
  margin: auto;
}

.initial-error h1 {
  font-size: 26px;
  margin-bottom: 15px;
}

.initial-error p {
  color: #697760;
  margin-bottom: 18px;
}

@media(min-width:1600px) {

  .page {
    padding-top: 48px;
  }

  .report-collection {
    gap: 26px;
  }

  .card-visual {
    height: 238px;
  }

  .card-title {
    font-size: 17px;
  }

  .card-client,.card-footer {
    font-size: 10px;
  }

  .banner-copy h2 {
    font-size: 16px;
  }

  .intro-banner {
    min-height: 118px;
  }

  .card-body {
    padding: 20px 20px 0;
  }

  .details-grid {
    padding-top: 36px;
  }

  .photos-content {
    padding-top: 35px;
  }
}

@media(max-width:1200px) {

  :root {
    --sidebar: 202px;
  }

  .sidebar {
    padding: 28px 13px 17px;
  }

  .brand-lockup {
    font-size: 21px;
    gap: 6px;
  }

  .topbar {
    padding: 0 28px;
  }

  .page {
    padding: 33px 28px;
  }

  .banner-steps {
    display: none;
  }

  .intro-banner {
    padding: 21px 23px;
    gap: 18px;
  }

  .card-visual {
    height: 169px;
  }

  .report-collection {
    gap: 15px;
  }

  .card-body {
    padding: 14px 13px 0;
  }

  .card-title {
    font-size: 13px;
  }

  .card-client {
    font-size: 9px;
  }

  .card-meta {
    margin-bottom: 10px;
  }

  .card-meta>span:first-child {
    font-size: 8px;
  }

  .card-footer {
    gap: 10px;
    font-size: 8px;
  }

  .toolbar-controls {
    gap: 7px;
  }

  .search-box input {
    width: 119px;
  }

  .filter {
    font-size: 10px;
    padding: 8px 7px;
    gap: 5px;
  }

  .filters {
    gap: 2px;
  }

  .editor-heading {
    padding: 26px 28px 23px;
  }

  .editor-tabs {
    padding: 0 28px;
    gap: 23px;
  }

  .editor-content {
    padding: 24px 28px;
  }

  .details-grid {
    grid-template-columns: minmax(0,1fr) 213px;
    gap: 20px;
  }

  .aside-body {
    padding: 21px 15px;
  }

  .checklist {
    gap: 12px;
  }

  .checklist span {
    font-size: 8px;
  }

  .aside-visual {
    padding: 20px;
  }

  .aside-stamp {
    width: 70px;
    height: 70px;
    font-size: 8px;
  }

  .panel {
    padding: 20px;
  }

  .editor-tabs-end {
    display: none;
  }

  .editor-actions .btn {
    padding: 0 11px;
    font-size: 10px;
  }

  .review-grid {
    grid-template-columns: 243px minmax(0,1fr);
  }

  .review-settings-inner {
    padding: 25px 19px;
  }

  .preview-stage {
    padding: 0 19px 22px;
  }

  .branding-grid {
    grid-template-columns: minmax(0,1fr) 275px;
    gap: 22px;
  }

  .brand-paper {
    padding: 25px 20px;
  }

  .brand-paper h2 {
    font-size: 21px;
  }

  .brand-paper-logo strong {
    font-size: 20px;
  }

  .brand-preview-fields {
    gap: 25px;
  }

  .form-grid {
    gap: 17px 14px;
  }
}

@media(max-width:1000px) {

  .report-collection {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .card-visual {
    height: 195px;
  }

  .details-grid {
    display: block;
    max-width: 750px;
  }

  .details-aside {
    display: none;
  }

  .editor-title {
    font-size: 24px;
  }

  .editor-actions {
    gap: 6px;
  }

  .editor-actions>.btn-secondary {
    display: none;
  }

  .section-intro h2 {
    font-size: 17px;
  }

  .completion-counter {
    font-size: 8px;
  }

  .review-grid {
    grid-template-columns: 225px minmax(0,1fr);
  }

  .review-settings-inner {
    padding: 22px 16px;
  }

  .review-settings-title h2 {
    font-size: 14px;
  }

  .preview-stage {
    padding: 0 14px 22px;
  }

  .branding-grid {
    display: block;
    max-width: 650px;
  }

  .brand-aside {
    max-width: 335px;
    margin: 30px auto;
  }

  .template-grid {
    gap: 17px;
  }

  .template-preview {
    height: 290px;
  }

  .template-paper {
    transform: rotate(-3deg) scale(.9);
    transform-origin: top center;
  }

  .template-card:nth-child(2) .template-paper {
    transform: rotate(3deg) scale(.9);
  }

  .template-body {
    padding: 19px;
  }

  .template-body .label-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .template-body p {
    min-height: 65px;
  }

  .settings-row {
    gap: 18px;
  }

  .storage-stats {
    gap: 25px;
  }

  .dashboard-bottom {
    margin-top: 45px;
    flex-direction: column;
    gap: 13px;
  }
}

@media(max-width:780px) {

  :root {
    --sidebar: 0px;
  }

  .sidebar {
    width: 224px;
    transform: translateX(-100%);
    transition: transform .2s;
    z-index: 90;
  }

  .nav-open .sidebar {
    transform: translateX(0);
  }

  .nav-open .sidebar-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: #142e2659;
    z-index: 85;
    width: 100%;
    height: 100%;
  }

  .mobile-menu {
    display: flex;
  }

  .main-shell {
    margin-left: 0;
    width: 100%;
  }

  .topbar {
    height: 62px;
    padding: 0 21px;
    justify-content: flex-start;
    gap: 12px;
  }

  .breadcrumbs {
    font-size: 10px;
    gap: 8px;
  }

  .topbar-right {
    margin-left: auto;
    gap: 10px;
  }

  .topbar-divider {
    display: none;
  }

  .page {
    padding: 29px 23px;
  }

  .page-heading {
    margin-bottom: 25px;
  }

  .page-heading h1 {
    font-size: 29px;
  }

  .page-heading p {
    font-size: 11px;
    line-height: 1.7;
    max-width: 300px;
  }

  .intro-banner {
    margin-bottom: 26px;
  }

  .card-visual {
    height: 200px;
  }

  .editor-heading {
    padding: 23px;
    align-items: center;
  }

  .editor-tabs {
    padding: 0 23px;
    gap: 28px;
  }

  .editor-content {
    padding: 24px 23px;
  }

  .review-grid {
    grid-template-columns: 235px minmax(0,1fr);
  }

  .editor-kicker .tag {
    font-size: 7px;
  }

  .editor-title {
    font-size: 23px;
  }

  .editor-subtitle {
    font-size: 9px;
  }

  .preview-stage {
    min-width: 0;
  }

  .preview-toolbar>span {
    font-size: 7px;
    letter-spacing: .1px;
    gap: 5px;
  }

  .preview-toolbar .text-btn {
    font-size: 8px;
  }

  .template-grid {
    gap: 22px;
  }

  .templates-page {
    padding-top: 32px;
  }

  .template-body .label-row {
    min-height: 47px;
  }

  .brand-aside {
    display: none;
  }

  .branding-grid {
    max-width: none;
  }

  .autosave-caption {
    font-size: 8px;
  }

  .settings-stack {
    max-width: none;
  }
}

@media(max-width:540px) {

  .page {
    padding: 26px 18px;
  }

  .topbar {
    padding: 0 15px;
    gap: 8px;
  }

  .crumb-workspace {
    display: none;
  }

  .breadcrumbs>.icon:first-of-type {
    display: none;
  }

  .save-indicator {
    font-size: 8px;
    gap: 4px;
  }

  .topbar-right>.icon-btn {
    display: none;
  }

  .avatar {
    width: 26px;
    height: 26px;
  }

  .page-heading {
    gap: 14px;
    align-items: flex-start;
  }

  .page-heading .btn {
    padding: 0 12px;
    font-size: 10px;
    min-height: 36px;
    margin-top: 25px;
  }

  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.1px;
  }

  .page-heading h1 {
    font-size: 29px;
  }

  .page-heading p {
    font-size: 10px;
    max-width: 230px;
    line-height: 1.7;
  }

  .intro-banner {
    padding: 18px 16px;
    gap: 14px;
    min-height: 98px;
  }

  .banner-art {
    width: 48px;
    height: 49px;
  }

  .mini-paper {
    padding: 6px;
  }

  .mini-paper>.icon {
    width: 23px;
    height: 23px;
  }

  .banner-copy h2 {
    font-size: 12px;
  }

  .banner-copy p {
    font-size: 9px;
    max-width: 220px;
    line-height: 1.6;
  }

  .report-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    padding-bottom: 13px;
  }

  .filters {
    justify-content: space-between;
    gap: 4px;
  }

  .filter {
    flex: 1;
    justify-content: center;
    font-size: 10px;
    padding: 8px 6px;
  }

  .toolbar-controls {
    gap: 9px;
  }

  .search-box {
    flex: 1;
    height: 35px;
  }

  .search-box input {
    width: 100%;
  }

  .view-switch {
    flex: none;
    height: 35px;
  }

  .list-meta {
    padding-top: 16px;
  }

  .report-collection {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .card-visual {
    height: 222px;
  }

  .card-body {
    padding: 18px 18px 0;
  }

  .card-title {
    font-size: 17px;
  }

  .card-meta>span:first-child {
    font-size: 10px;
  }

  .status {
    font-size: 9px;
  }

  .card-client {
    font-size: 10px;
    margin-bottom: 18px;
  }

  .card-footer {
    font-size: 9px;
    min-height: 49px;
    gap: 17px;
  }

  .card-meta {
    margin-bottom: 12px;
  }

  .sample-note {
    font-size: 9px;
    flex-wrap: wrap;
    margin-top: 17px;
  }

  .sample-note>span {
    flex: 1;
  }

  .sample-note button {
    margin-left: 22px;
  }

  .dashboard-bottom {
    font-size: 8px;
    margin-top: 32px;
    line-height: 1.7;
  }

  .list-view .card-visual {
    width: 100px;
    height: 87px;
  }

  .list-view .card-body {
    padding: 0 11px;
    display: block;
  }

  .list-view .card-meta {
    margin-bottom: 6px;
  }

  .list-view .card-meta>span:first-child {
    display: none;
  }

  .list-view .card-title {
    font-size: 12px;
  }

  .list-view .card-client {
    font-size: 8px;
    margin-top: 4px;
  }

  .list-view .card-footer {
    font-size: 8px;
    gap: 8px;
    min-height: 27px;
    justify-content: flex-start;
  }

  .list-view .card-footer .card-menu {
    margin-left: auto;
    width: 19px;
  }

  .editor-heading {
    padding: 20px 18px;
    gap: 9px;
    align-items: flex-start;
  }

  .editor-kicker {
    font-size: 8px;
    gap: 6px;
    flex-wrap: wrap;
  }

  .editor-kicker .tag {
    display: none;
  }

  .editor-title {
    font-size: 22px;
    max-width: 240px;
  }

  .editor-subtitle {
    font-size: 8px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .editor-actions {
    padding-top: 25px;
  }

  .editor-actions .btn {
    font-size: 9px;
    padding: 0 10px;
    min-height: 35px;
    gap: 5px;
  }

  .editor-actions .icon {
    width: 13px;
  }

  .editor-tabs {
    padding: 0 17px;
    gap: 0;
    justify-content: space-between;
  }

  .editor-tab {
    font-size: 9px;
    gap: 5px;
    padding: 13px 0;
  }

  .step-number {
    width: 16px;
    height: 16px;
    font-size: 7px;
  }

  .editor-tab small {
    font-size: 7px;
    margin-left: 2px;
  }

  .editor-content {
    padding: 22px 18px;
  }

  .panel {
    padding: 19px 17px;
    margin-bottom: 16px;
  }

  .form-grid {
    gap: 17px;
    grid-template-columns: 1fr;
  }

  .field-wide {
    grid-column: auto;
  }

  .field>span {
    font-size: 10px;
  }

  .panel-heading {
    margin-bottom: 20px;
  }

  .panel-heading h2 {
    font-size: 13px;
  }

  .panel-heading p {
    font-size: 9px;
  }

  .step-footer>span {
    display: none;
  }

  .step-footer {
    justify-content: flex-end;
  }

  .step-footer .btn {
    font-size: 10px;
  }

  .photos-content .step-footer {
    justify-content: space-between;
  }

  .section-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 18px;
  }

  .section-intro h2 {
    font-size: 18px;
  }

  .section-intro p {
    font-size: 9px;
  }

  .inline-notice {
    font-size: 8px;
    padding: 10px;
    line-height: 1.6;
  }

  .pair-heading {
    padding: 12px;
    gap: 7px;
  }

  .pair-index {
    width: 23px;
    height: 23px;
    font-size: 8px;
  }

  .pair-title-input {
    font-size: 10px;
    padding: 3px;
    min-width: 0;
  }

  .pair-tools {
    gap: 0;
  }

  .pair-tools .icon-btn {
    width: 23px;
    height: 25px;
  }

  .tool-divider {
    margin: 0 3px;
  }

  .pair-photos {
    padding: 13px;
    gap: 11px;
  }

  .photo-slot {
    aspect-ratio: .97;
  }

  .photo-slot.has-photo {
    aspect-ratio: 1.12;
  }

  .upload-hitarea {
    padding: 9px 5px;
  }

  .upload-hitarea strong {
    font-size: 10px;
  }

  .upload-hitarea>span:not(.upload-icon) {
    font-size: 8px;
    line-height: 1.8;
  }

  .upload-hitarea small {
    font-size: 6px;
    line-height: 1.8;
    margin-top: 8px;
  }

  .upload-icon {
    margin-bottom: 7px;
  }

  .slot-label {
    font-size: 9px;
    gap: 5px;
  }

  .slot-loaded {
    font-size: 6px;
  }

  .slot-loaded .icon {
    width: 10px;
  }

  .photo-file {
    font-size: 6px;
    margin-top: 7px;
    flex-direction: column;
    gap: 4px;
  }

  .photo-file>span {
    max-width: 100%;
  }

  .photo-file small {
    font-size: 6px;
  }

  .photo-hover-actions {
    opacity: 1;
    top: 5px;
    right: 5px;
    gap: 3px;
  }

  .photo-overlay-btn {
    font-size: 0;
    min-height: 25px;
    padding: 0 6px;
  }

  .photo-overlay-btn .icon {
    width: 12px;
    height: 12px;
  }

  .photo-overlay-btn.danger {
    padding: 0 6px;
  }

  .pair-caption {
    padding: 0 13px 15px;
  }

  .pair-caption textarea {
    font-size: 9px;
    min-height: 43px;
  }

  .add-pair {
    font-size: 10px;
    height: 52px;
  }

  .review-grid {
    display: flex;
    flex-direction: column;
  }

  .review-settings {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .review-settings-inner {
    padding: 22px 18px;
    position: static;
  }

  .review-settings-title {
    margin-bottom: 20px;
  }

  .review-section {
    margin-top: 18px;
    padding-bottom: 18px;
  }

  .layout-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .layout-option {
    padding: 10px;
    gap: 8px;
  }

  .layout-option small {
    font-size: 7px;
  }

  .review-section:nth-of-type(3) {
    display: none;
  }

  .export-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    font-size: 8px;
  }

  .export-checklist>span {
    font-size: 8px;
  }

  .export-checklist small {
    font-size: 6px;
  }

  .export-ready,.export-warning {
    margin-top: 16px;
  }

  .review-settings .btn-primary {
    min-height: 42px;
  }

  .export-footnote {
    font-size: 8px;
  }

  .preview-stage {
    padding: 0 17px 24px;
    overflow-x: auto;
  }

  .preview-toolbar {
    padding: 16px 0;
  }

  .preview-toolbar>span {
    font-size: 8px;
  }

  .preview-bottom {
    font-size: 7px;
  }

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

  .template-preview {
    height: 320px;
  }

  .template-paper {
    transform: rotate(-3deg);
    transform-origin: top center;
  }

  .template-card:nth-child(2) .template-paper {
    transform: rotate(3deg);
  }

  .template-body .label-row {
    flex-direction: row;
    align-items: center;
    min-height: 0;
  }

  .template-body {
    padding: 23px;
  }

  .template-body h2 {
    font-size: 18px;
  }

  .template-body p {
    min-height: 0;
    font-size: 11px;
  }

  .template-body .tag {
    font-size: 6px;
  }

  .branding-page .page-heading {
    display: block;
  }

  .autosave-caption {
    margin-top: 16px;
  }

  .logo-uploader {
    gap: 12px;
  }

  .logo-preview {
    width: 61px;
    height: 61px;
  }

  .color-row {
    gap: 8px;
  }

  .color-swatch {
    width: 25px;
    height: 25px;
  }

  .custom-color {
    margin-left: 4px;
    gap: 5px;
    font-size: 8px;
  }

  .custom-color input {
    width: 23px;
    height: 23px;
  }

  .settings-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    padding: 16px 0;
  }

  .settings-row p {
    font-size: 9px;
  }

  .settings-row .btn {
    min-height: 36px;
  }

  .storage-stats {
    gap: 15px;
  }

  .storage-stats strong {
    font-size: 26px;
  }

  .storage-stats span {
    font-size: 8px;
  }

  .settings-stack .inline-notice {
    font-size: 9px;
  }

  .about-grid {
    gap: 12px;
    font-size: 8px;
  }

  .settings-note {
    font-size: 9px;
  }

  .modal-description {
    font-size: 11px;
  }

  dialog {
    padding: 24px;
  }

  .toast {
    font-size: 10px;
    padding: 12px;
  }

  #toast-root {
    right: 16px;
    bottom: 16px;
  }
}

@media(prefers-reduced-motion:reduce) {

  *,*:before,*:after {
    animation-duration: .01ms!important;
    transition-duration: .01ms!important;
    scroll-behavior: auto!important;
  }
}

/* Readable operating UI: quiet hierarchy without low-contrast body copy. */

.list-meta label {
  white-space: nowrap;
  flex: none;
}

.list-meta select {
  width: auto;
  min-height: 24px;
  padding: 2px 15px 2px 4px;
  font-size: 11px;
}

.card-meta>span:first-child {
  font-size: 10px;
}

.card-client {
  font-size: 10px;
}

.card-footer {
  font-size: 10px;
}

.sample-note {
  font-size: 10px;
}

.dashboard-bottom {
  font-size: 10px;
}

.page-heading p {
  font-size: 13px;
}

.banner-copy p {
  font-size: 12px;
}

.banner-steps {
  font-size: 10px;
}

.search-box input {
  font-size: 11px;
}

.filter {
  font-size: 12px;
}

.nav-link {
  font-size: 13px;
}

.breadcrumbs {
  font-size: 12px;
}

.panel-heading p {
  font-size: 11px;
}

.field>span {
  font-size: 11px;
}

.field input,.field select,.field textarea {
  font-size: 12px;
}

.service-chip {
  font-size: 11px;
}

.section-intro p {
  font-size: 12px;
}

.slot-label {
  font-size: 12px;
}

.photo-file,.photo-file small {
  font-size: 9px;
}

.pair-title-input {
  font-size: 14px;
}

.pair-caption textarea {
  font-size: 12px;
}

.pair-caption>span {
  font-size: 9px;
}

.editor-tab {
  font-size: 12px;
}

.editor-subtitle {
  font-size: 11px;
}

.editor-tabs-end {
  font-size: 10px;
}

.completion-counter {
  font-size: 11px;
}

.inline-notice {
  font-size: 10px;
}

.sidebar-footer {
  color: #8a9682;
}

.review-settings-title p {
  font-size: 11px;
}

.export-checklist>span {
  font-size: 10px;
}

.export-ready p,.export-warning p {
  font-size: 10px;
}

.export-footnote {
  font-size: 9px;
}

.layout-option {
  font-size: 11px;
}

.layout-option small {
  font-size: 9px;
}

.small-label {
  font-size: 9px;
}

.save-indicator {
  font-size: 11px;
}

.workspace-switch strong {
  font-size: 12px;
}

.workspace-switch small {
  font-size: 10px;
}

@media(max-width:1200px) {

  .banner-copy p {
    font-size: 11px;
  }

  .filter {
    font-size: 11px;
  }

  .card-footer {
    font-size: 9px;
  }

  .card-meta>span:first-child {
    font-size: 9px;
  }
}

@media(max-width:780px) {

  .breadcrumbs {
    font-size: 10px;
  }

  .save-indicator {
    font-size: 9px;
  }

  .page-heading p {
    font-size: 12px;
  }

  .editor-tab {
    font-size: 11px;
  }
}

@media(max-width:540px) {

  .page-heading p {
    font-size: 11px;
  }

  .banner-copy p {
    font-size: 10px;
  }

  .filter {
    font-size: 10px;
  }

  .card-meta>span:first-child,.card-footer {
    font-size: 10px;
  }

  .section-intro p {
    font-size: 11px;
  }

  .editor-tab {
    font-size: 9px;
  }

  .editor-subtitle {
    font-size: 9px;
  }

  .slot-label {
    font-size: 10px;
  }

  .pair-title-input {
    font-size: 12px;
  }

  .photo-file,.photo-file small {
    font-size: 7px;
  }

  .pair-caption textarea {
    font-size: 11px;
  }

  .list-view .card-footer {
    font-size: 8px;
  }

  .save-indicator {
    font-size: 8px;
  }

  .dashboard-bottom {
    font-size: 9px;
  }

  .inline-notice {
    font-size: 9px;
  }
}

.review-export-actions { display: grid; gap: 10px; margin-top: 18px; }
.review-export-actions .btn { width: 100%; justify-content: center; }
.option-grid { display: grid; gap: 12px; margin-top: 10px; }
.option-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; background: #f8faf7; cursor: pointer; }
.option-card input { margin-top: 3px; accent-color: var(--accent); }
.option-card strong { display: block; font-size: 14px; color: var(--ink); }
.option-card small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.option-card:has(input:checked) { border-color: rgba(49, 90, 74, .28); background: rgba(49, 90, 74, .06); box-shadow: inset 0 0 0 1px rgba(49, 90, 74, .06); }
.social-template-options { gap: 8px; }
.social-template-options .option-card { align-items: center; padding: 10px 12px; }
.social-template-thumb { position: relative; width: 42px; height: 42px; flex: 0 0 42px; overflow: hidden; background: #d9e0d7; border: 1px solid #cad4c7; }
.social-template-thumb i,.social-template-thumb b { position: absolute; display: block; }
.social-template-thumb.editorial i { left: 0; width: 30px; height: 16px; background: #97a695; }
.social-template-thumb.editorial i:first-child { top: 0; }
.social-template-thumb.editorial i:nth-child(2) { top: 17px; background: #b7c1b3; }
.social-template-thumb.editorial b { left: 0; right: 0; bottom: 0; height: 8px; background: #fff; border-top: 2px solid var(--accent); }
.social-template-thumb.split i { top: 8px; bottom: 0; width: 20px; background: #97a695; }
.social-template-thumb.split i:first-child { left: 0; }
.social-template-thumb.split i:nth-child(2) { right: 0; background: #b7c1b3; }
.social-template-thumb.split b { left: 0; right: 0; top: 0; height: 7px; background: #fff; border-top: 2px solid var(--accent); }
.social-template-thumb.spotlight i { left: 0; right: 0; }
.social-template-thumb.spotlight i:first-child { top: 0; height: 12px; background: #97a695; }
.social-template-thumb.spotlight i:nth-child(2) { top: 13px; bottom: 9px; background: #b7c1b3; }
.social-template-thumb.spotlight b { left: 0; right: 0; bottom: 0; height: 9px; background: var(--accent); }
