@font-face {
  font-family: 'TOT Purisa';
  src: url('./Purisa.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
.tot-napkin-rc, .tot-napkin-rc * { box-sizing: border-box; }
/* Do not inherit a theme's casing into labels, controls, or exact user text.
   Repeat the root class for the elements themes commonly style directly. */
.tot-napkin-rc, .tot-napkin-rc.tot-napkin-rc * { text-transform: none; }
.tot-napkin-rc.tot-napkin-rc :is(h1, h2, h3, h4, h5, h6, button, input, textarea, select, pre) { text-transform: none; }
.tot-napkin-rc.tot-napkin-rc :is(h1, h2, h3) { font-family: Georgia, 'Times New Roman', serif; }
.tot-napkin-rc {
  --tot-cream: #f4e9d6;
  --tot-muted: #c7b7a1;
  --tot-gold: #d4ae7d;
  color: var(--tot-cream);
  background: #211a16;
  background-image: radial-gradient(ellipse at 50% 0%, #3c2c21 0%, #211a16 55%, #1b1613 100%);
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  padding: clamp(28px, 5vw, 76px) 20px 32px;
  width: 100%;
  text-align: left;
}
.tot-napkin-rc .tot-shell { max-width: 1150px; margin: 0 auto; }
.tot-napkin-rc .tot-intro { max-width: 680px; margin: 0 auto 35px; text-align: center; }
.tot-napkin-rc .tot-eyebrow, .tot-napkin-rc .tot-preview-kicker { margin: 0 0 15px; color: var(--tot-gold); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.tot-napkin-rc .tot-eyebrow-dot { margin: 0 5px; }
.tot-napkin-rc h1, .tot-napkin-rc h2, .tot-napkin-rc p { padding: 0; }
.tot-napkin-rc h1, .tot-napkin-rc h2 { color: var(--tot-cream); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.025em; }
.tot-napkin-rc.tot-napkin-rc h1 { margin: 0; font-size: clamp(41px, 6vw, 72px); line-height: 1.2; }
.tot-napkin-rc h1 em { color: #dfb994; font-weight: 400; }
.tot-napkin-rc .tot-intro-copy { color: #decdb7; max-width: 510px; margin: 20px auto 21px; }
.tot-napkin-rc .tot-notice { color: #f2dfc8; background: #493729; border: 1px solid #70563f; border-radius: 7px; padding: 12px 15px; font-size: 13px; line-height: 1.5; }
.tot-napkin-rc .tot-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 25px; align-items: start; }
.tot-napkin-rc .tot-editor, .tot-napkin-rc .tot-preview { min-width: 0; border: 1px solid #594638; border-radius: 10px; box-shadow: 0 14px 35px rgba(0,0,0,.18); }
.tot-napkin-rc .tot-editor { padding: clamp(22px, 3vw, 34px); background: #2c231d; }
.tot-napkin-rc .tot-preview { padding: clamp(16px, 2.5vw, 28px); background: #2a211c; }
.tot-napkin-rc .tot-section-head { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 17px; }
.tot-napkin-rc .tot-number { flex: none; display: grid; place-items: center; border: 1px solid #8e6d51; color: #e2bb92; border-radius: 50%; width: 32px; height: 32px; font-family: Georgia, serif; font-size: 12px; }
.tot-napkin-rc .tot-section-head h2 { margin: 0; font-size: 24px; line-height: 1.15; }
.tot-napkin-rc .tot-section-head p { color: var(--tot-muted); margin: 4px 0 0; font-size: 12px; }
.tot-napkin-rc .tot-divider { border-top: 1px solid #584636; margin: 26px 0; }
.tot-napkin-rc .tot-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.tot-napkin-rc .tot-options { display: grid; gap: 9px; }
.tot-napkin-rc .tot-sign-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tot-napkin-rc .tot-option { display: block; min-width: 0; cursor: pointer; position: relative; margin: 0; color: var(--tot-cream); }
.tot-napkin-rc .tot-option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.tot-napkin-rc .tot-option > span { display: flex; min-height: 65px; flex-direction: column; justify-content: center; padding: 10px 12px; background: #372b23; border: 1px solid #685340; border-radius: 6px; }
.tot-napkin-rc .tot-option input:checked + span { border-color: #e4bd8d; background: #59402e; box-shadow: inset 0 0 0 1px #e4bd8d; }
.tot-napkin-rc .tot-option input:focus-visible + span { outline: 3px solid #f9dcae; outline-offset: 3px; }
.tot-napkin-rc .tot-option b { font-size: 13px; font-weight: 650; }
.tot-napkin-rc .tot-option small { display: block; color: #dac7af; font-size: 12px; }
.tot-napkin-rc .tot-label { display: block; color: #f3e6d3; font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.tot-napkin-rc textarea, .tot-napkin-rc input[type='text'] { display: block; background: #eee2d0; color: #261b15; width: 100%; max-width: 100%; border: 2px solid transparent; border-radius: 5px; padding: 12px 13px; font: 15px/1.5 system-ui, sans-serif; letter-spacing: normal; box-shadow: none; }
.tot-napkin-rc textarea { min-height: 132px; resize: vertical; }
.tot-napkin-rc textarea:focus, .tot-napkin-rc input[type='text']:focus { outline: 3px solid #e2b984; outline-offset: 2px; }
.tot-napkin-rc textarea:disabled, .tot-napkin-rc input[type='text']:disabled { opacity: .75; }
/* Child themes may force white text and placeholders with !important. Keep
   both colors together and scope the override to this widget's two fields. */
.tot-napkin-rc.tot-napkin-rc :is(textarea[data-message], input[data-signature]) {
  color: #261b15 !important;
  -webkit-text-fill-color: #261b15 !important;
  background: #eee2d0 !important;
}
.tot-napkin-rc.tot-napkin-rc :is(textarea[data-message], input[data-signature])::placeholder {
  color: #6a5144 !important;
  -webkit-text-fill-color: #6a5144 !important;
  opacity: 1 !important;
}
.tot-napkin-rc.tot-napkin-rc :is(textarea[data-message], input[data-signature]):focus {
  outline: 3px solid #e2b984 !important;
  outline-offset: 2px !important;
}
.tot-napkin-rc.tot-napkin-rc :is(textarea[data-message], input[data-signature]):disabled {
  background: #d7c8b7 !important;
  opacity: 1 !important;
  cursor: not-allowed;
}
@media (forced-colors: active) {
  /* A fixed WebKit text fill otherwise stays dark on a system-dark field. */
  .tot-napkin-rc.tot-napkin-rc :is(textarea[data-message], input[data-signature]),
  .tot-napkin-rc.tot-napkin-rc :is(textarea[data-message], input[data-signature]):disabled {
    color: FieldText !important;
    -webkit-text-fill-color: FieldText !important;
    background: Field !important;
  }
  .tot-napkin-rc.tot-napkin-rc :is(textarea[data-message], input[data-signature])::placeholder {
    color: GrayText !important;
    -webkit-text-fill-color: GrayText !important;
  }
}
.tot-napkin-rc .tot-hint { margin: 9px 0 0; color: #d7c6b1; font-size: 12px; line-height: 1.5; }
.tot-napkin-rc .tot-signing { margin-top: 21px; }
.tot-napkin-rc .tot-signature { margin-top: 16px; }
.tot-napkin-rc .tot-signature[hidden] { display: none; }
.tot-napkin-rc .tot-identity { margin-top: 12px; }
.tot-napkin-rc .tot-preview-head { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 18px; }
.tot-napkin-rc .tot-preview-kicker { font-size: 10px; letter-spacing: .1em; margin-bottom: 5px; }
.tot-napkin-rc .tot-preview-head h2 { font-size: 23px; line-height: 1.15; margin: 0; }
.tot-napkin-rc .tot-live { flex: none; color: #dbccb8; font-size: 9px; letter-spacing: .09em; font-weight: 700; white-space: nowrap; }
.tot-napkin-rc .tot-live span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 4px; background: #a8c094; }
.tot-napkin-rc .tot-art { position: relative; width: 100%; aspect-ratio: 1 / 1; background: #3b2a20; overflow: hidden; }
.tot-napkin-rc .tot-art img, .tot-napkin-rc .tot-art canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; }
.tot-napkin-rc .tot-art canvas[hidden] { display: none; }
.tot-napkin-rc .tot-art[data-zoom='true'] { overflow: auto; }
.tot-napkin-rc .tot-art[data-zoom='true'] img, .tot-napkin-rc .tot-art[data-zoom='true'] canvas { width: 200%; height: 200%; max-width: none; }
.tot-napkin-rc .tot-art:focus-visible { outline: 3px solid #f9dcae; outline-offset: 3px; }
.tot-napkin-rc .tot-zoom-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 11px; color: #d0bda6; font-size: 11px; }
.tot-napkin-rc .tot-zoom-row button { border: 1px solid #b99a7a; border-radius: 4px; background: #3d3026; color: #f5e8d7; padding: 6px 10px; font: 600 12px/1.3 system-ui, sans-serif; cursor: pointer; }
.tot-napkin-rc .tot-zoom-row button:focus-visible { outline: 3px solid #f9dcae; outline-offset: 2px; }
.tot-napkin-rc .tot-zoom-row button:disabled { opacity: .7; cursor: not-allowed; }
.tot-napkin-rc .tot-create-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.tot-napkin-rc .tot-create-actions button { min-height: 42px; border: 1px solid #d7b48b; border-radius: 5px; background: #d7b48b; color: #261b15; padding: 9px 14px; font: 650 13px/1.3 system-ui, sans-serif; cursor: pointer; }
.tot-napkin-rc .tot-create-actions button + button { background: transparent; color: #f5e8d7; }
.tot-napkin-rc .tot-create-actions button:focus-visible { outline: 3px solid #f9dcae; outline-offset: 3px; }
.tot-napkin-rc .tot-create-actions button:disabled { opacity: .6; cursor: not-allowed; }
.tot-napkin-rc .tot-status { min-height: 2em; margin: 14px 0 0; color: #e8d9c5; font-size: 12px; }
.tot-napkin-rc .tot-status[data-error='true'] { color: #ffd9c1; font-weight: 700; }
.tot-napkin-rc .tot-transcript { color: #e2d0b8; font-size: 12px; margin: 10px 0 0; }
.tot-napkin-rc .tot-transcript summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tot-napkin-rc .tot-transcript [hidden] { display: none; }
.tot-napkin-rc .tot-transcript pre { background: #1c1714; border: 1px solid #594638; color: #f5e9d9; padding: 12px; white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.5 ui-monospace, monospace; min-height: 2em; }
.tot-napkin-rc .tot-noscript { padding: 15px; margin: 20px 0; background: #5b3023; border: 1px solid #b5795d; color: #fff1e0; }
.tot-napkin-rc .tot-bottom { margin: 31px 0 0; text-align: center; color: #cbb8a0; font: italic 15px Georgia, serif; }
.tot-napkin-rc .tot-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; }
@media (max-width: 760px) {
  .tot-napkin-rc .tot-layout { grid-template-columns: minmax(0, 1fr); }
  
  .tot-napkin-rc .tot-intro { margin-bottom: 24px; }
}
@media (max-width: 360px) {
  .tot-napkin-rc { padding-left: 12px; padding-right: 12px; }
  .tot-napkin-rc .tot-preview-head { align-items: flex-start; flex-direction: column; }
}

.tot-napkin-rc [hidden] { display: none !important; }
.tot-napkin-rc .tot-fund { margin-top: 22px; padding: 20px; background: #3a2c22; border: 1px solid #80634b; border-radius: 8px; }
.tot-napkin-rc .tot-fund h3 { margin: 0 0 8px; color: #f4e9d6; font: 400 24px/1.2 Georgia, serif; }
.tot-napkin-rc .tot-fund p { color: #f1e3d2; margin: 8px 0; }
.tot-napkin-rc .tot-fund a { color: #ffe4b8; text-decoration: underline; text-underline-offset: 3px; }
.tot-napkin-rc .tot-fund a:focus-visible { outline: 3px solid #f9dcae; outline-offset: 3px; }
.tot-napkin-rc .tot-fund button { min-height: 44px; padding: 9px 16px; border: 1px solid #d7b48b; border-radius: 5px; background: #d7b48b; color: #261b15; cursor: pointer; }
.tot-napkin-rc .tot-fund button:focus-visible { outline: 3px solid #f9dcae; outline-offset: 3px; }
