@import url('./tokens.css');
.next-focus { border-left:4px solid var(--wine); }
.next-focus h2 { font-size:1.75rem; margin-bottom:.5rem; }
.next-focus p { max-width:65ch; margin-bottom:1rem; }
.task-list { margin:0; padding:0 1.75rem 0 3rem; }
.task-list li { padding:1.1rem .25rem; border-top:1px solid var(--line); }
.task-list li::marker { color:var(--muted); }
.task-list li a { font-weight:650; font-size:1.05rem; text-decoration:underline; text-underline-offset:3px; }
.task-list li p { color:var(--muted); margin-top:.3rem; }
.task-pagination { display:flex; flex-wrap:wrap; gap:1.5rem; padding:1rem 1.75rem; }
.quiet-details > summary { min-height:44px; display:list-item; font-size:1.05rem; font-weight:650; }
.quiet-details[open] > summary { margin-bottom:1rem; }
.character-editor { max-width:820px; }
.character-editor .panel p { margin-bottom:1rem; }
.character-editor textarea { max-width:100%; }
.character-editor small { display:block; color:var(--muted); margin-top:.35rem; }
.voice-guide { white-space:normal; font-size:1rem; }
.voice-guide p { margin-bottom:1rem; }
.order-guidance { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:1rem; padding:1.25rem; margin-bottom:1.5rem; border-left:4px solid var(--wine); background:var(--paper); }
.order-guidance div { flex:1 1 300px; }
.order-guidance strong { font-size:1.15rem; }
.order-guidance p { max-width:70ch; }
.nav-settings summary { padding:12px 16px; min-height:44px; color:inherit; white-space:nowrap; }
.nav-settings { border-top:1px solid #ffffff26; margin-top:.75rem; }
.nav-settings[open] { padding-bottom:.5rem; }
.nav-settings a { margin-left:.5rem; }
@media(max-width:760px) {
  .nav-settings { flex-shrink:0; margin:0; border:0; }
  .nav-settings summary { padding:12px; font-size:.85rem; }
  .nav-settings[open] { min-width:170px; }
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  color:var(--ink);
  background:var(--canvas);
  font-family:var(--sans);
  font-size:0.875rem;
  line-height:1.6;
}
a {
  color:inherit;
  text-decoration:none;
}
button,input,select,textarea {
  font:inherit;
}
button,a,input,select,textarea,summary {
  touch-action:manipulation;
}
button,summary {
  cursor:pointer;
}
a:hover {
  text-decoration:underline;
  text-underline-offset:4px;
}
:focus-visible {
  outline:3px solid #327f98;
  outline-offset:4px;
}
h1,h2,h3,p {
  margin:0;
}
h1 {
  font-size:2.062rem;
  line-height:1.2;
  font-weight:600;
  letter-spacing:-1.05px;
}
h2 {
  font-size:1.188rem;
  font-weight:600;
  letter-spacing:-.4px;
}
h3 {
  font-size:1rem;
  font-weight:600;
}
small {
  font-size:0.75rem;
}
p+p {
  margin-top:12px;
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.skip {
  position:fixed;
  top:-100px;
  left:20px;
  z-index:100;
  background:#fff;
  padding:12px;
}
.skip:focus {
  top:10px;
}
.workspace {
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  min-height:100vh;
}
.sidebar {
  background:var(--wine);
  color:#f5eae8;
  display:flex;
  flex-direction:column;
  padding:34px 22px 0;
  position:sticky;
  top:0;
  height:100vh;
}
.brand {
  display:flex;
  gap:12px;
  align-items:center;
  font-size:1.188rem;
  letter-spacing:1.7px;
  font-family:Georgia,serif;
  font-weight:600;
  line-height:1.25;
  white-space:nowrap;
}
.brand:hover {
  text-decoration:none;
}
.brand small {
  font-family:var(--sans);
  font-size:0.5625rem;
  font-weight:400;
  letter-spacing:3px;
  display:block;
  margin-top:7px;
}
.brand-monogram {
  width:41px;
  height:48px;
  border:1px solid #bda4a1;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.25rem;
  position:relative;
  letter-spacing:-2px;
}
.brand-monogram span {
  position:absolute;
  font-size:0.625rem;
  bottom:-7px;
  background:var(--wine);
  padding:0 5px;
  letter-spacing:0;
}
.nav-label {
  font-size:0.625rem;
  letter-spacing:1.8px;
  color:#d3b8b6;
  margin:52px 12px 13px;
}
.sidebar nav {
  display:flex;
  flex-direction:column;
  gap:5px;
}
.sidebar nav a {
  display:flex;
  gap:12px;
  padding:11px 13px;
  border-radius:4px;
  color:#e1cac8;
  font-size:0.875rem;
  min-height:46px;
}
.sidebar nav a.active {
  background:#ffffff13;
  color:white;
  box-shadow:inset 2px 0 #efd7cb;
}
.sidebar nav a:hover {
  background:#ffffff0d;
  text-decoration:none;
}
.nav-icon {
  font-size:1.25rem;
  line-height:1.2;
  width:22px;
  display:inline-block;
  text-align:center;
  color:#ddc6c3;
}
.sidebar-note {
  margin-top:auto;
  padding:48px 12px 30px;
  font-size:0.6875rem;
  color:#d1b3b0;
}
.sidebar-note p {
  font-family:Georgia,serif;
  font-size:1rem;
  line-height:1.7;
  color:#ecdad7;
  margin-top:15px;
}
.sidebar-rule {
  height:1px;
  background:#ffffff24;
  margin:24px 0 16px;
}
.small-cap,.eyebrow {
  font-size:0.625rem;
  letter-spacing:1.6px;
  font-weight:600;
}
.profile {
  display:flex;
  align-items:center;
  gap:10px;
  border-top:1px solid #ffffff24;
  margin:0 -22px;
  padding:21px 22px;
}
.profile strong {
  display:block;
  font-size:0.75rem;
}
.profile small {
  display:block;
  font-size:0.625rem;
  color:#d1b3b0;
}
.profile form {
  margin-left:auto;
}
.avatar {
  display:grid;
  place-items:center;
  width:33px;
  height:33px;
  border-radius:50%;
  background:#ffffff15;
  font-size:0.8125rem;
}
.signout {
  background:none;
  border:0;
  color:#efddda;
  font-size:1.375rem;
  min-width:36px;
  min-height:44px;
}
.main-column {
  min-width:0;
  display:flex;
  flex-direction:column;
}
.topbar {
  min-height:79px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  padding:0 38px;
  gap:26px;
  background:var(--paper);
}
.breadcrumb {
  font-size:0.75rem;
  white-space:nowrap;
  color:#625a54;
}
.breadcrumb span {
  padding:0 12px;
  color:#b4aaa1;
}
.global-search {
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:auto;
  width:340px;
}
.global-search>span {
  font-size:1.562rem;
  color:#7a706a;
}
.global-search input {
  border:0;
  background:transparent;
  width:100%;
  font-size:0.75rem;
  padding:8px;
}
.environment {
  font-size:0.5625rem;
  letter-spacing:1px;
  white-space:nowrap;
  color:#76645c;
  border:1px solid var(--line);
  padding:5px 8px;
  border-radius:3px;
}
.main-content {
  padding:37px 38px 45px;
  max-width:1600px;
  width:100%;
  margin:0 auto;
  flex:1;
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin:0 0 32px;
}
.page-heading .eyebrow {
  color:#847167;
  margin-bottom:12px;
}
.subtitle {
  color:var(--muted);
  margin-top:12px;
  font-size:0.8125rem;
}
.button {
  border-radius:4px;
  padding:10px 16px;
  min-height:43px;
  display:inline-flex;
  gap:20px;
  align-items:center;
  justify-content:center;
  font-size:0.75rem;
  font-weight:600;
  border:1px solid transparent;
  text-align:center;
  line-height:1.6;
  white-space:normal;
}
.button:hover {
  text-decoration:none;
  filter:brightness(.94);
}
.primary {
  background:var(--wine);
  color:#fff;
}
.secondary {
  background:var(--paper);
  color:var(--ink);
  border-color:#cec7be;
}
.danger {
  color:#8c292b;
  border-color:#e2bfc0;
  background:#fff5f3;
}
.text-link {
  font-size:0.75rem;
  color:var(--wine);
  font-weight:600;
  min-height:32px;
  display:inline-flex;
  align-items:center;
}
.muted {
  color:var(--muted);
  font-size:0.75rem;
}
.section-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:16px;
}
.section-top h2 {
  font-size:1rem;
}
.workbench {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid var(--line);
  border-radius:5px;
  background:var(--paper);
  margin-bottom:26px;
  overflow:hidden;
}
.stage {
  padding:18px 22px 21px;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
}
.stage:hover {
  background:#f8f4ee;
  text-decoration:none;
}
.stage:last-child {
  border:0;
}
.stage>div {
  display:flex;
  justify-content:space-between;
}
.stage-index {
  font-size:0.625rem;
  letter-spacing:1.4px;
  color:#827369;
}
.stage-arrow {
  color:#9d9185;
}
.stage strong {
  font-size:2.375rem;
  font-weight:450;
  line-height:1.3;
  margin:8px 0 6px;
  letter-spacing:-1.5px;
}
.stage>span {
  font-size:0.75rem;
  color:#70665f;
}
.dashboard-grid {
  display:grid;
  grid-template-columns:1.45fr 1fr;
  gap:24px;
  margin-bottom:28px;
}
.panel {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:5px;
  min-width:0;
  overflow:hidden;
}
.panel-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px 24px;
  border-bottom:1px solid var(--line);
}
.panel-heading .eyebrow {
  color:#8b7d71;
  font-size:0.5625rem;
  margin-bottom:5px;
  display:block;
}
.count-tag {
  border:1px solid var(--line);
  font-size:0.6875rem;
  padding:2px 7px;
  border-radius:3px;
}
.quiet-state {
  padding:26px 30px 30px;
  text-align:center;
  max-width:360px;
  margin:auto;
}
.line-emblem {
  margin:0 auto 11px;
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  color:var(--green);
  border:1px solid #becfc4;
  border-radius:50%;
}
.quiet-state p {
  font-size:0.75rem;
  color:var(--muted);
  margin:7px 0 12px;
}
.channel-row {
  display:flex;
  align-items:center;
  gap:13px;
  padding:22px 24px;
  border-bottom:1px solid var(--line);
}
.channel-icon {
  display:grid;
  place-items:center;
  width:36px;
  height:38px;
  font-family:Georgia,serif;
  font-size:1.375rem;
  border:1px solid var(--line);
  border-radius:5px;
  color:var(--wine);
}
.channel-row small {
  display:block;
  color:var(--muted);
  font-size:0.6875rem;
}
.channel-row strong {
  font-weight:600;
  font-size:0.8125rem;
}
.channel-row .channel-count {
  margin-left:auto;
  font-size:1.312rem;
  font-weight:500;
}
.panel-footnote {
  padding:16px 24px;
  color:var(--muted);
  font-size:0.6875rem;
}
.table-scroll {
  overflow:auto;
}
table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  white-space:normal;
  font-size:0.75rem;
}
th {
  font-size:0.625rem;
  text-transform:uppercase;
  font-weight:600;
  letter-spacing:.8px;
  padding:12px 21px;
  color:#83776c;
  background:#faf8f4;
  border-bottom:1px solid var(--line);
  white-space:nowrap;
}
td {
  padding:17px 21px;
  border-bottom:1px solid #ece8e1;
  vertical-align:middle;
}
tr:last-child td {
  border-bottom:0;
}
td small {
  display:block;
  color:var(--muted);
  margin-top:3px;
  font-size:0.625rem;
}
.order-id {
  font-weight:600;
  font-size:0.6875rem;
  color:var(--wine);
  white-space:nowrap;
}
.source-label {
  font-size:0.6875rem;
}
.source-label:before {
  content:"";
  display:inline-block;
  width:5px;
  height:5px;
  background:#57754d;
  border-radius:50%;
  margin-right:7px;
  vertical-align:middle;
}
.source-label.etsy:before {
  background:#c17845;
}
.status {
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:0.625rem;
  line-height:1.4;
  background:#f0ece5;
  border:1px solid #e5dfd4;
  color:#665d4f;
  border-radius:3px;
  padding:5px 8px;
  white-space:nowrap;
}
.status.approved,.status.delivered {
  background:#edf3ed;
  color:#31553c;
  border-color:#d6e4d7;
}
.status.change_requested,.status.on_hold,.status.print_failed {
  background:#fbefe4;
  border-color:#e9d8c6;
  color:#85531f;
}
.status.waiting_for_customer_approval {
  background:#f3edf3;
  color:#735272;
  border-color:#e5dae5;
}
.status.cancelled {
  background:#f7e8e6;
  color:#882d2b;
}
.status.large {
  padding:8px 12px;
  font-size:0.75rem;
}
.empty-table {
  padding:37px 24px 42px;
  text-align:center;
}
.empty-table h3 {
  font-family:Georgia,serif;
  font-size:1.25rem;
  font-weight:400;
  margin-bottom:7px;
}
.empty-table p {
  color:var(--muted);
  font-size:0.75rem;
  margin:0 auto 19px;
  max-width:440px;
}
.empty-table .eyebrow {
  display:block;
  font-size:0.5625rem;
  color:#95887b;
  margin-bottom:12px;
}
.phase-note {
  display:flex;
  gap:15px;
  align-items:center;
  margin-top:25px;
  padding:4px 0;
  color:var(--muted);
}
.phase-marker {
  font-family:Georgia,serif;
  font-size:1.25rem;
  border:1px solid #d8cec3;
  color:#8b7867;
  width:39px;
  height:42px;
  display:grid;
  place-items:center;
  flex-shrink:0;
}
.phase-note strong {
  font-size:0.75rem;
  font-weight:600;
  color:#64574d;
}
.phase-note p {
  font-size:0.6875rem;
  margin-top:3px;
}
.workshop-footer {
  padding:18px 38px;
  border-top:1px solid var(--line);
  font-size:0.625rem;
  color:#918479;
  display:flex;
  justify-content:space-between;
}
.attention-row {
  display:flex;
  align-items:center;
  gap:13px;
  padding:18px 24px;
  border-bottom:1px solid var(--line);
  font-size:0.75rem;
}
.attention-row p {
  font-size:0.6875rem;
  color:var(--muted);
}
.attention-row>span:last-child {
  margin-left:auto;
}
.status-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#b9793a;
}
.filter-bar {
  display:flex;
  gap:14px;
  align-items:end;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:5px;
  padding:18px 21px;
  margin-bottom:20px;
}
.filter-search {
  flex:1;
}
.filter-bar label {
  font-size:0.625rem;
  text-transform:uppercase;
  letter-spacing:.7px;
  color:var(--muted);
  margin-bottom:6px;
}
.filter-bar .text-link {
  min-height:42px;
}
.filter-bar input,.filter-bar select {
  font-size:0.75rem;
}
label {
  display:block;
  font-weight:550;
  font-size:0.8125rem;
  margin-bottom:7px;
}
input,select,textarea {
  background:#fff;
  border:1px solid #ccc4b9;
  border-radius:3px;
  color:var(--ink);
  padding:10px 12px;
  max-width:100%;
  width:100%;
  min-height:44px;
}
textarea {
  resize:vertical;
  line-height:1.6;
}
input[type=checkbox] {
  width:18px;
  height:18px;
  min-height:18px;
  accent-color:var(--wine);
  vertical-align:middle;
  margin-right:7px;
}
.pagination {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:20px;
  font-size:0.75rem;
  color:var(--muted);
}
.pagination>div {
  display:flex;
  gap:8px;
}
.back-link {
  display:inline-flex;
  align-items:center;
  font-size:0.75rem;
  color:var(--muted);
  min-height:44px;
  margin-bottom:12px;
}
.separator {
  padding:0 9px;
}
.tabs {
  display:flex;
  gap:28px;
  overflow:auto;
  border-bottom:1px solid var(--line);
  margin-bottom:27px;
}
.tabs a {
  padding:12px 0;
  white-space:nowrap;
  font-size:0.75rem;
  color:var(--muted);
}
.tabs a[aria-current=page] {
  color:var(--wine);
  border-bottom:2px solid var(--wine);
  font-weight:600;
}
.detail-grid {
  display:grid;
  grid-template-columns:1.35fr 1fr;
  gap:24px;
}
.padded {
  padding:27px;
}
.padded>.eyebrow {
  display:block;
  color:#8b7d71;
  margin-bottom:6px;
}
.padded>h2 {
  margin-bottom:12px;
}
.details-list {
  margin:20px 0 26px;
}
.details-list>div {
  display:grid;
  grid-template-columns:120px minmax(0,1fr);
  gap:15px;
  border-bottom:1px solid var(--line);
  padding:13px 0;
  font-size:0.8125rem;
}
.details-list dt {
  color:var(--muted);
  font-size:0.75rem;
}
.details-list dd {
  margin:0;
  overflow-wrap:anywhere;
}
.unit-row {
  display:flex;
  flex-direction:column;
  padding:13px 0;
  border-bottom:1px solid var(--line);
  font-size:0.8125rem;
}
.unit-row small {
  color:var(--muted);
}
.action-form {
  margin:23px 0;
}
.action-form small {
  display:block;
  margin-top:8px;
  max-width:340px;
  color:var(--muted);
  font-size:0.6875rem;
}
.control-details {
  border-top:1px solid var(--line);
  padding:17px 0;
  margin-top:20px;
}
.control-details summary {
  font-size:0.75rem;
  font-weight:600;
  min-height:30px;
}
.control-details[open] summary {
  margin-bottom:15px;
}
.stack>p,.stack>.form-field {
  margin-bottom:21px;
}
.stack>label {
  margin-top:14px;
}
.stack>textarea {
  margin-bottom:14px;
}
.stack .helptext {
  display:block;
  font-size:0.6875rem;
  color:var(--muted);
  margin-top:6px;
}
.stack .button {
  align-self:flex-start;
}
.button-row {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.inline-note {
  font-size:0.75rem;
  padding:17px;
  background:#f5f1ea;
  border-left:2px solid #b3a08b;
  margin-top:24px;
  color:#746656;
}
.inline-note p {
  margin-top:7px;
  font-size:0.6875rem;
}
.notice {
  padding:13px 17px;
  font-size:0.75rem;
  border:1px solid #ddd6c9;
  border-left:3px solid #a2947c;
  background:#faf5ec;
  margin-bottom:23px;
  border-radius:3px;
}
.notice.error {
  border-color:#dfb9b5;
  background:#fff2ef;
  color:#89382f;
}
.notice.success {
  background:#eef5ee;
  border-color:#bad0be;
  color:#32533e;
}
.section-gap {
  margin-top:24px;
}
.version-meta {
  display:flex;
  flex-wrap:wrap;
  gap:10px 24px;
  font-size:0.6875rem;
  color:var(--muted);
  margin-bottom:17px;
}
.version-history {
  margin-top:20px;
  font-size:0.75rem;
}
.version-history details {
  margin-top:15px;
}
.proof-wrap {
  background:#eae5dc;
  border:1px solid #ddd6ca;
  padding:26px;
  overflow:hidden;
}
.letter-paper {
  background:#fffdf8;
  max-width:610px;
  padding:40px 46px;
  margin:auto;
  min-height:620px;
  box-shadow:0 3px 9px #2f241110;
  overflow-wrap:anywhere;
}
.letter-letterhead {
  text-align:center;
  color:var(--wine);
  border-bottom:1px solid #cbbbab;
  padding-bottom:24px;
  font-family:Georgia,serif;
  font-size:0.8125rem;
  letter-spacing:1.5px;
}
.letter-star {
  font-size:1.688rem;
  margin-bottom:12px;
}
.letter-letterhead small {
  font-family:var(--sans);
  font-size:0.4375rem;
  letter-spacing:1.7px;
  display:block;
  margin-top:5px;
}
.letter-body {
  font-family:Georgia,serif;
  font-size:1rem;
  line-height:1.9;
  margin:30px 0 40px;
  white-space:normal;
}
.letter-body p {
  margin-bottom:18px;
}
.letter-footer {
  font-family:Georgia,serif;
  font-style:italic;
  border-top:1px solid #e0d7cb;
  padding-top:15px;
  text-align:center;
  font-size:0.6875rem;
  color:#867568;
}
.revision-entry {
  border-bottom:1px solid var(--line);
  padding:22px 0;
}
.revision-entry small {
  color:var(--muted);
  font-size:0.6875rem;
}
.revision-entry p {
  margin:8px 0;
}
.timeline {
  list-style:none;
  padding:0;
  margin:25px 0;
}
.timeline li {
  display:flex;
  gap:18px;
  padding:0 0 25px 8px;
  position:relative;
}
.timeline li:before {
  content:"";
  position:absolute;
  top:12px;
  bottom:0;
  left:13px;
  width:1px;
  background:var(--line);
}
.timeline li:last-child:before {
  display:none;
}
.timeline-dot {
  width:11px;
  height:11px;
  margin-top:7px;
  border:2px solid #9d8c76;
  border-radius:50%;
  background:#fff;
  flex-shrink:0;
  z-index:1;
}
.timeline strong {
  font-size:0.6875rem;
  letter-spacing:.4px;
}
.timeline p {
  font-size:0.75rem;
  color:#6e655d;
}
.timeline small {
  font-size:0.625rem;
  color:var(--muted);
}
.narrow {
  max-width:850px;
}
.narrow>p {
  margin:15px 0;
}
.errorlist {
  color:#9c332b;
  font-size:0.75rem;
  list-style:none;
  padding:0;
}
.integration-row {
  display:flex;
  align-items:center;
  gap:19px;
  padding:25px;
  border-bottom:1px solid var(--line);
}
.integration-row>.status {
  margin-left:auto;
}
.integration-row p {
  font-size:0.75rem;
  color:var(--muted);
}
code {
  font-family:ui-monospace,monospace;
  font-size:0.6875rem;
}
.settings-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}
.setting-line {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:15px 0;
  border-bottom:1px solid var(--line);
  font-size:0.75rem;
}
.setting-line+.muted {
  margin-top:16px;
}
.mapping-form {
  max-width:560px;
}
.customer-body {
  background:#f4f0e8;
}
.customer-header {
  height:104px;
  margin:0 6%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #d9cfc3;
  color:var(--wine);
}
.customer-brand {
  font-family:Georgia,serif;
  letter-spacing:4px;
  font-size:1.5rem;
  font-weight:600;
  line-height:1.3;
}
.customer-brand span {
  display:block;
  font-family:var(--sans);
  font-size:0.5rem;
  font-weight:500;
  letter-spacing:1.8px;
  margin-top:8px;
}
.customer-main {
  max-width:830px;
  padding:32px 24px;
  margin:0 auto;
  min-height:65vh;
}
.portal-intro {
  text-align:center;
  margin:28px auto 34px;
  max-width:640px;
}
.portal-intro .eyebrow {
  color:#907566;
  font-size:0.625rem;
  margin-bottom:18px;
}
.portal-intro h1 {
  font-family:Georgia,serif;
  font-size:2.812rem;
  font-weight:400;
  letter-spacing:-1.5px;
  color:var(--wine);
  line-height:1.16;
}
.portal-intro>p:not(.eyebrow) {
  font-size:0.875rem;
  line-height:1.8;
  color:#7b6b5e;
  margin-top:19px;
}
.portal-intro.compact h1 {
  font-size:2.25rem;
}
.postal-seal {
  display:flex;
  width:72px;
  height:72px;
  border:1px solid #a99a84;
  outline:1px solid #c6b9a3;
  outline-offset:4px;
  border-radius:50%;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  margin:0 auto 31px;
  font-family:Georgia,serif;
  font-size:1.75rem;
  line-height:1.4;
  color:#897150;
}
.postal-seal small {
  font-family:var(--sans);
  font-size:0.375rem;
  letter-spacing:1px;
}
.customer-card {
  background:#fffdf8;
  border:1px solid #e1d8ca;
  border-radius:5px;
  padding:34px 38px;
  margin-bottom:25px;
}
.customer-card>h2 {
  font-family:Georgia,serif;
  font-size:1.562rem;
  font-weight:400;
  color:var(--wine);
  margin-bottom:14px;
}
.customer-card>p {
  font-size:0.875rem;
  line-height:1.8;
  margin-bottom:22px;
  color:#73665a;
}
.entry-card {
  text-align:center;
  max-width:560px;
  margin:0 auto;
}
.entry-card .button {
  min-width:230px;
}
.entry-card>small {
  display:block;
  font-size:0.6875rem;
  color:var(--muted);
  margin-top:20px;
}
.customer-footer {
  text-align:center;
  padding:30px 24px 36px;
  border-top:1px solid #ded4c6;
  color:#8e7c6a;
  margin:20px 6% 0;
}
.customer-footer .ornament {
  font-size:1.25rem;
}
.customer-footer p {
  font-family:Georgia,serif;
  font-size:0.9375rem;
  font-style:italic;
  margin:10px 0;
}
.customer-footer small {
  font-size:0.625rem;
}
.dev-label {
  text-align:center;
  font-size:0.5rem;
  letter-spacing:1.2px;
  color:#8b7564;
}
.customer-progress {
  display:flex;
  list-style:none;
  justify-content:space-between;
  padding:0;
  margin:33px 0 35px;
  gap:16px;
  color:#7d7065;
  font-size:0.75rem;
}
.customer-progress li {
  display:flex;
  align-items:center;
  gap:9px;
  flex:1;
}
.customer-progress span {
  display:grid;
  place-items:center;
  border:1px solid #cabdaf;
  border-radius:50%;
  width:28px;
  height:28px;
  flex-shrink:0;
  font-size:0.6875rem;
}
.customer-progress li.done span {
  background:#55634f;
  border-color:#55634f;
  color:#fff;
}
.customer-card .section-top h2 {
  font-family:Georgia,serif;
  font-size:1.625rem;
  font-weight:400;
  color:var(--wine);
}
.customer-card .eyebrow {
  font-size:0.5625rem;
  color:#8d7e6c;
}
.received-note {
  display:flex;
  gap:15px;
  padding:12px 0;
}
.received-note>span {
  color:#596c53;
  font-size:1.375rem;
}
.received-note strong {
  font-size:0.8125rem;
}
.received-note p {
  font-size:0.8125rem;
  color:var(--muted);
  margin-top:7px;
}
.approval-note {
  text-align:center;
  background:#f8fbf5;
  border-color:#cdd8c3;
}
.approval-note .eyebrow {
  margin-bottom:12px;
}
.approval-form {
  padding-top:21px;
}
.approval-form p {
  font-size:0.75rem;
  color:var(--muted);
  margin-bottom:18px;
}
.field-help {
  font-size:0.75rem;
  color:var(--muted);
  margin:0 0 10px;
}
.personalisation-form .form-field {
  margin-bottom:29px;
}
.required,.optional {
  font-size:0.625rem;
  color:var(--muted);
  font-weight:400;
  margin-left:8px;
}
.checkbox-field {
  display:grid;
  grid-template-columns:22px 1fr;
  gap:8px;
}
.checkbox-field label {
  font-weight:400;
  font-size:0.75rem;
}
.checkbox-field input {
  margin-top:5px;
}
.privacy-note {
  font-size:0.6875rem;
  color:#887967;
  padding:16px;
  background:#f7f3eb;
  margin-bottom:23px;
}
.login-card {
  max-width:440px;
  margin:0 auto;
}
.login-card .button {
  width:100%;
}
.login-card .muted {
  font-size:0.6875rem;
  margin-top:20px;
  margin-bottom:0;
}
.submitting button[type=submit],.submitting .button {
  opacity:.65;
}
.submitting {
  cursor:progress;
}
@media(min-width:1500px) {
  .main-content {
    padding:44px 52px;
  }
  .topbar {
    padding:0 52px;
  }
  .page-heading {
    margin-bottom:38px;
  }
  .stage {
    padding:22px 26px;
  }
  .dashboard-grid {
    grid-template-columns:1.65fr 1fr;
  }
}
@media(max-width:1100px) {
  .workspace {
    grid-template-columns:195px minmax(0,1fr);
  }
  .sidebar {
    padding-left:16px;
    padding-right:16px;
  }
  .brand {
    font-size:1rem;
    gap:9px;
  }
  .brand small {
    font-size:0.5rem;
  }
  .brand-monogram {
    width:33px;
    height:40px;
  }
  .topbar {
    padding:0 24px;
    gap:14px;
  }
  .breadcrumb {
    display:none;
  }
  .global-search {
    margin-left:0;
  }
  .main-content {
    padding:28px 24px;
  }
  .page-heading h1 {
    font-size:1.75rem;
  }
  .stage {
    padding:16px;
  }
  .profile {
    margin:0 -16px;
    padding:19px 16px;
  }
  .filter-bar {
    flex-wrap:wrap;
  }
  .filter-search {
    flex-basis:100%;
  }
  .dashboard-grid {
    gap:18px;
  }
  .detail-grid {
    grid-template-columns:1fr;
  }
  .settings-grid {
    grid-template-columns:1fr;
  }
  .letter-paper {
    max-width:560px;
  }
  .global-search {
    flex:1;
  }
  .workshop-footer {
    padding:18px 24px;
  }
  .panel-heading {
    padding:20px;
  }
  .panel-heading .text-link {
    white-space:nowrap;
  }
}
@media(max-width:760px) {
  .workspace {
    display:block;
  }
  .sidebar {
    position:static;
    height:auto;
    padding:18px 18px 0;
  }
  .brand {
    font-size:1.062rem;
  }
  .brand-monogram {
    width:34px;
    height:39px;
  }
  .sidebar .nav-label,.sidebar-note,.profile {
    display:none;
  }
  .sidebar nav {
    flex-direction:row;
    margin-top:20px;
    gap:3px;
    overflow:auto;
  }
  .sidebar nav a {
    font-size:0.6875rem;
    padding:11px 10px;
    min-height:44px;
    gap:6px;
    white-space:nowrap;
    border-radius:3px 3px 0 0;
  }
  .sidebar nav a.active {
    box-shadow:inset 0 -2px #efd7cb;
  }
  .nav-icon {
    font-size:1rem;
    width:17px;
  }
  .topbar {
    min-height:65px;
    padding:0 18px;
  }
  .global-search input {
    font-size:0.6875rem;
  }
  .environment {
    font-size:0.4375rem;
    max-width:90px;
    white-space:normal;
    text-align:center;
    padding:4px 6px;
  }
  .main-content {
    padding:27px 18px 32px;
  }
  .page-heading {
    align-items:flex-start;
    gap:17px;
    flex-direction:column;
    margin-bottom:25px;
  }
  .page-heading h1 {
    font-size:1.812rem;
  }
  .page-heading .eyebrow {
    font-size:0.5rem;
  }
  .page-heading>.button {
    min-height:40px;
  }
  .workbench {
    grid-template-columns:repeat(2,1fr);
  }
  .stage {
    padding:16px 18px;
  }
  .stage:nth-child(2) {
    border-right:0;
  }
  .stage:nth-child(-n+2) {
    border-bottom:1px solid var(--line);
  }
  .stage strong {
    font-size:2.125rem;
  }
  .dashboard-grid {
    grid-template-columns:1fr;
    gap:20px;
  }
  .panel-heading {
    padding:19px;
  }
  .panel-heading h2 {
    font-size:1.062rem;
  }
  .panel-heading .text-link {
    font-size:0.6875rem;
  }
  .workshop-footer {
    padding:18px;
    font-size:0.5625rem;
  }
  .workshop-footer span {
    display:none;
  }
  .filter-bar {
    padding:16px;
    gap:13px;
  }
  .filter-bar>div {
    width:100%;
  }
  .filter-bar input,.filter-bar select {
    width:100%;
  }
  .filter-bar .button {
    flex:1;
  }
  .tabs {
    gap:23px;
  }
  .tabs a {
    font-size:0.6875rem;
  }
  .padded {
    padding:21px;
  }
  .details-list>div {
    grid-template-columns:92px minmax(0,1fr);
    gap:10px;
  }
  .proof-wrap {
    padding:12px;
  }
  .letter-paper {
    padding:25px 20px;
    min-height:480px;
  }
  .letter-body {
    font-size:0.875rem;
    line-height:1.85;
  }
  .letter-letterhead {
    font-size:0.625rem;
    letter-spacing:.8px;
  }
  .letter-letterhead small {
    font-size:0.375rem;
    letter-spacing:.9px;
  }
  .integration-row {
    padding:20px;
    gap:12px;
    flex-wrap:wrap;
  }
  .integration-row .status {
    margin-left:49px;
  }
  .setting-line {
    flex-wrap:wrap;
    gap:6px;
  }
  .customer-header {
    height:91px;
    margin:0 22px;
  }
  .customer-header>.small-cap {
    display:none;
  }
  .customer-brand {
    font-size:1.312rem;
  }
  .customer-brand span {
    font-size:0.4375rem;
  }
  .customer-main {
    padding:24px 17px;
  }
  .portal-intro {
    margin:29px auto;
  }
  .portal-intro h1 {
    font-size:2.312rem;
  }
  .portal-intro.compact h1 {
    font-size:2rem;
  }
  .portal-intro>p:not(.eyebrow) {
    font-size:0.8125rem;
  }
  .customer-card {
    padding:26px 21px;
  }
  .customer-card .proof-wrap {
    margin:0 -10px;
  }
  .customer-progress {
    gap:8px;
    font-size:0.625rem;
  }
  .customer-progress li {
    gap:6px;
    flex-wrap:wrap;
  }
  .customer-progress span {
    width:24px;
    height:24px;
  }
  .personalisation-form .button {
    width:100%;
  }
  .customer-card .button {
    min-height:46px;
  }
  .customer-card>h2 {
    font-size:1.5rem;
  }
  .dev-label {
    font-size:0.375rem;
  }
  .customer-footer {
    padding:20px 5px;
  }
  .customer-footer p {
    font-size:0.8125rem;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
}
@media print {
  .sidebar,.topbar,.workshop-footer,.customer-header,.customer-footer,.button,.tabs,.customer-progress,.dev-label {
    display:none;
  }
  .proof-wrap,.letter-paper,.panel {
    border:0;
    box-shadow:none;
    background:white;
    padding:0;
  }
  .letter-paper {
    max-width:none;
  }
  .workspace {
    display:block;
  }
  .main-content {
    padding:0;
  }
}
.mobile-signout {
  display:none;
}
@media(max-width:760px) {
  .mobile-signout {
    display:block;
  }
  .mobile-signout button {
    background:none;
    border:0;
    color:#f5eae8;
    font-size:0.6875rem;
    white-space:nowrap;
    min-height:44px;
    padding:8px 12px;
  }
}
.pdf-proof { background:var(--canvas); padding:18px; border:1px solid var(--line); }
.proof-page { width:100%; height:auto; display:block; border:1px solid var(--line); margin:0 auto 16px; max-width:760px; }
.transcript { white-space:normal; font-family:Georgia,serif; font-size:1rem; line-height:1.9; }
.question-row { border:1px solid var(--line); padding:18px; margin:22px 0; display:grid; grid-template-columns:1fr 1fr; gap:12px 20px; }
.question-row legend { padding:0 8px; font-weight:600; color:var(--wine); }
.question-row p { margin:0; }
.question-row .helptext { display:block; font-size:0.6875rem; color:var(--muted); }
.editor-save { display:flex; gap:12px; padding:22px 0; }
.product-editor { max-width:1000px; }
@media(max-width:760px) { .question-row { grid-template-columns:1fr; } }

.private-token {display:block; overflow-wrap:anywhere;}
.packing-check {display:flex; align-items:center; gap:12px; padding:12px 0;}
.packing-check input {width:24px; height:24px;}

.notification-body {overflow-wrap:anywhere; line-height:1.8; padding:24px 0;}

.confirmation-dialog {max-width:480px; width:calc(100% - 32px); padding:28px; border:1px solid #d6ccc3; border-radius:4px; color:#302b27; background:#fffefa;}
.confirmation-dialog::backdrop {background:rgb(40 30 30 / 45%);}
.confirmation-dialog p {line-height:1.6; margin:18px 0 26px;}

@media(max-width:760px) {
  .sidebar nav { display:grid; grid-template-columns:1fr 1fr; overflow:visible; }
  .sidebar nav > a { font-size:.95rem; min-height:44px; }
  .nav-settings { grid-column:auto; }
  .nav-settings[open] { grid-column:1 / -1; }
  .nav-settings summary { font-size:.95rem; }
  .nav-settings[open] a { display:inline-flex; margin:0; }
  .quiet-details { padding:14px 18px; }
}


.global-search { min-width:0; }
.global-search input { min-width:0; }
.environment { overflow-wrap:anywhere; }
.brand-monogram { flex-shrink:0; }
@media(max-width:760px) {
  .sidebar nav { grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr)); }
  .sidebar nav a, .nav-settings summary { white-space:normal; overflow-wrap:anywhere; min-width:0; }
  .brand { white-space:normal; }
  .brand-monogram { width:2em; height:2.3em; }
}

/* Purchase checks use short, stacked comparisons at narrow widths. */
.purchase-comparison { margin: 1rem 0; }
.comparison-row { padding: 1rem 0; border-top: 1px solid var(--line); }
.comparison-row dt { font-weight: 650; }
.comparison-row dd { margin: .5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; overflow-wrap: anywhere; }
.comparison-row dd > p:only-child { grid-column: 1 / -1; }
.comparison-row p { margin: .25rem 0; }
@media (max-width: 42rem) { .comparison-row dd { grid-template-columns: 1fr; } }

.purchase-attestation label { font-size: 1rem; min-height: 44px; }

.shop-check-channel { padding: 1rem 0; border-top: 1px solid var(--line); }

.postage-reference { overflow-wrap: anywhere; }
