@charset "UTF-8";
@font-face {
  font-family: "Orbitron";
  src: url("/taller/fonts/orbitron.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}

@font-face {
  font-family: "Dancing Script";
  src: url("/taller/fonts/dancing-script.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "LeanWeb French Cursive 14";
  src: url("/taller/fonts/leanweb-french-cursive-14.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Andika";
  src: url("/taller/fonts/andika-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Andika";
  src: url("/taller/fonts/andika-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Bree Serif";
  src: url("/taller/fonts/bree-serif-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Patrick Hand";
  src: url("/taller/fonts/patrick-hand-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #172744;
  --muted: #4d607b;
  --blue: #0b6177;
  --paper: #fff;
  --cream: #f4f8ff;
  --line: #cbd9ed;
  --surface: #f9fbff;
  --cyan-wash: #def5fb;
  --violet: #60449d;
  --violet-wash: #f1ecff;
  --font-hud: "Orbitron", "Trebuchet MS", Arial, sans-serif;
  --shadow: 0 9px 25px #253b670c;
  font-family: "Trebuchet MS", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid var(--violet);outline-offset:4px}button{color:inherit}button,select{touch-action:manipulation}button:hover:not(:disabled){filter:brightness(.97)}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.button{min-height:43px;border:0;border-radius:10px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:13px;line-height:1.35;background:transparent}.button.primary{background:var(--blue);color:white;box-shadow:0 2px 0 #08475b}.button.quiet{background:var(--surface);border:1px solid var(--line)}.button.outlined{border:1px solid #dedfdc;background:#fffefb}.full{width:100%}.tool-tab{background:var(--surface);border:1px solid var(--line);border-radius:13px;min-height:83px;font-size:12px;font-weight:700;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.tool-tab.active{background:var(--cyan-wash);border-color:#8bc5d2;color:var(--blue)}.field-label{display:block;font-size:9px;letter-spacing:1.4px;font-weight:700;color:#75808b;margin:23px 0 10px}select{width:100%;padding:11px 12px;border:1px solid #dedfdc;border-radius:9px;background:#fffefb;color:var(--ink);font-size:14px}.swatches{display:grid;grid-template-columns:repeat(auto-fit,minmax(1.85rem,1fr));gap:.625rem;justify-items:center}.swatch{width:29px;height:29px;padding:0;border:1px solid #00000012;border-radius:50%;position:relative;background:var(--swatch)}.swatch.active:after{content:"";position:absolute;inset:-5px;border:2px solid var(--swatch);border-radius:50%}.swatch[title=Blanco].active:after{border-color:var(--ink)}kbd{font-family:inherit;border:1px solid #dddaca;border-bottom-width:2px;border-radius:5px;padding:2px 5px;background:#fffefb;font-size:.9em;white-space:nowrap}.draw-tools{display:flex;gap:8px}.draw-tools .button{font-size:12px;flex:1;padding:8px}.draw-tools .active{background:#e7efff;border-color:#b6c8ee}#brush-size{width:100%;accent-color:var(--blue)}.brush-preview{height:40px;display:grid;place-items:center}.brush-preview span{width:7px;height:7px;border-radius:50%;background:var(--ink)}.paper-picker{display:grid;grid-template-columns:1fr 1fr;gap:14px}.paper-choice{padding:0;border:0;background:transparent;font-size:11px;text-align:center}.paper-choice span{display:block;height:90px;width:65px;margin:0 auto 8px;border-radius:3px;border:1px solid #dddcd4;box-shadow:2px 3px 0 #e9e5d9}.paper-choice.active span{outline:3px solid #7597d8;outline-offset:3px}
.desk{min-width:0;background:#e8f1fc;position:relative;display:flex;flex-direction:column}.document-info{display:flex;gap:8px;align-items:center;min-width:0;font-size:12px;color:var(--muted)}.document-dot{height:7px;width:7px;border-radius:50%;background:#94ada3;flex-shrink:0}.history-controls{display:flex;align-items:center;gap:5px}.history-controls button{border:0;background:transparent;width:34px;height:33px;font-size:26px;color:var(--blue);line-height:1}.toolbar-divider{height:19px;width:1px;background:#cbd8d2;margin:0 8px}.history-controls #help-button{font-size:23px}.desk-scroller{padding:28px 28px 48px;flex:1;overflow:auto;min-height:0;background-image:linear-gradient(#9eb9da35 1px,transparent 1px),linear-gradient(90deg,#9eb9da35 1px,transparent 1px);background-size:1.25rem 1.25rem}.paper-wrap{position:relative;margin:0 auto;width:100%;max-width:800px;box-shadow:0 7px 16px #24493e13,0 1px 3px #24493e12;border-radius:2px}.page{position:relative;width:800px;height:1000px;transform-origin:top left;overflow:hidden;color:var(--ink);outline:0}.page:focus-visible{outline:3px solid #7597d8}.theme-blanco{background-color:#fffefb}.theme-rayas{background-color:#fffefb;background-image:repeating-linear-gradient(transparent 0 43px,#c9dce577 43px 44px);background-position:0 8px}.theme-puntos{background-color:#fffefb;background-image:radial-gradient(#bfc2d8 1.1px,transparent 1.1px);background-size:25px 25px}.theme-cielo{background-color:#eff7ff;background-image:url('/taller/patterns/clouds.svg');background-repeat:repeat}.theme-rosa{background-color:#fff1f0;background-image:radial-gradient(#e1b9b94d 1.3px,transparent 1.3px);background-size:31px 31px}.page-corner{position:absolute;bottom:0;right:0;width:31px;height:31px;background:linear-gradient(135deg,#e9e7de 48%,#d3ded9 51%);border-radius:5px 0 0 0;pointer-events:none;z-index:7}.drawing{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:3;touch-action:none;overflow:hidden}.page[data-mode=draw] .drawing{pointer-events:auto;cursor:crosshair;z-index:6}.page[data-mode=draw] .objects{pointer-events:none}.objects{position:absolute;inset:0;pointer-events:none}.text-object,.sticker-object{position:absolute}.text-object{pointer-events:auto}.text-object{z-index:2;border:2px solid transparent;border-radius:5px}.desk-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);padding:0 25px 17px;min-height:31px}
.topbar .auth-btn{font:700 11px "Trebuchet MS",Arial,sans-serif;border:1px solid #d7dfd2;background:#eef3e9;color:#55745e;letter-spacing:0;border-radius:9px;min-height:37px;padding:7px 10px}.modal{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:21px;padding:35px;width:690px;max-width:calc(100vw - 32px);box-shadow:0 25px 100px #253b6733}.modal::backdrop{background:#243b5b55;backdrop-filter:blur(5px)}.modal h2{font-size:30px;letter-spacing:-1px;margin:9px 0 10px}.modal>p{font-size:14px;color:var(--muted);line-height:1.6}.close-dialog{position:absolute;right:18px;top:16px;background:#e8f1fc;border:0;border-radius:50%;width:33px;height:33px;font-size:24px;color:#7d8593}.templates{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:25px 0}.templates button{border:1px solid #e5e0d4;border-radius:13px;background:#f1f7ff;display:flex;flex-direction:column;align-items:center;padding:20px 8px 17px;gap:8px;transition:background .15s}.templates button:hover{background:#eaf0fc;border-color:#a9bfe5}.templates b{font-size:14px}.templates small{font-size:10px;color:var(--muted);line-height:1.5}.template-paper{height:100px;width:74px;background:#fffefb;border:1px solid #e4dfd4;border-radius:3px;box-shadow:3px 3px 0 #e5e0d1;display:grid;place-items:center;margin-bottom:8px;font-size:33px;color:#cdac72;transform:rotate(-5deg)}.template-paper.lined{background:repeating-linear-gradient(#fffefb 0 16px,#dbe4ed 16px 17px);font-size:25px;transform:rotate(4deg);color:#6882a5}.template-paper.blue{background:#eaf5ff;transform:rotate(-4deg);font-size:15px;color:#315bba;font-weight:bold}.template-paper.pink{background:#ffe4e5;transform:rotate(5deg);color:#cc7c85}.modal .dialog-note{font-size:11px;background:#eaf3ff;border-radius:9px;padding:12px 15px}.library-list{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:22px 0}.library-item{border:1px solid #e5e0d4;border-radius:13px;background:#fffdf8;padding:14px;text-align:left}.library-cover{height:130px;border:1px solid #e5e0d4;border-radius:4px;display:grid;place-items:center;font-size:51px;margin-bottom:12px}.library-item b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.library-item small{display:block;font-size:10px;color:var(--muted);margin-top:6px}#library-status{font-size:12px;color:var(--muted);line-height:1.7}.help-modal{width:520px}.keyboard-help{margin:25px 0}.keyboard-help>div{display:grid;grid-template-columns:115px 1fr;gap:18px;align-items:center;border-bottom:1px solid #eee9dd;padding:14px 0}.keyboard-help kbd{text-align:center;padding:9px;font-size:13px;box-shadow:0 3px 0 #e9e4d6}.keyboard-help p{font-size:13px;line-height:1.6;margin:0;color:#657389}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--ink);color:#fffefb;padding:15px 23px;font-size:13px;border-radius:13px;max-width:calc(100vw - 30px);box-shadow:0 8px 28px #253b6733;z-index:3000;text-align:center;line-height:1.5}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem 1rem;
  padding: .875rem clamp(.875rem, 2.2vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  box-shadow: inset 0 .1875rem 0 #74d5e8;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-inline-size: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand h1 {
  margin: 0;
  font: 800 clamp(.875rem, 1.6vw, 1.3rem)/1.35 var(--font-hud);
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  inline-size: 3.125rem;
  block-size: 3.125rem;
  object-fit: contain;
}

.top-actions,
.work-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .375rem;
}

.top-actions {
  margin-inline-start: auto;
}

.topbar .button {
  min-block-size: 2.625rem;
  padding: .4rem .7rem;
  white-space: nowrap;
}

.topbar .icon-button {
  inline-size: 2.625rem;
  padding: .5rem;
}

.topbar .button svg {
  inline-size: 1.2rem;
  block-size: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.idea-button {
  color: var(--violet);
  border: 1px solid #d6c8f3;
  background: var(--violet-wash);
}

.workspace {
  display: grid;
  grid-template-columns: clamp(10.5rem, 19vw, 15rem) minmax(0, 1fr) clamp(10rem, 20vw, 16rem);
  grid-template-areas: "tools desk stickers";
  max-inline-size: 110rem;
  min-block-size: calc(100svh - 5rem);
  margin-inline: auto;
}

.toolbox {
  grid-area: tools;
  min-inline-size: 0;
  padding: clamp(.625rem, 1.3vw, 1.25rem);
  background: var(--surface);
  border-inline-end: 1px solid var(--line);
}

.tool-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .375rem;
  margin-block-end: 1rem;
}

.tool-tab {
  min-block-size: 3.75rem;
  padding: .25rem;
  font-size: .6875rem;
}

.tool-tab svg {
  inline-size: 1.35rem;
  block-size: 1.35rem;
  color: var(--blue);
}

#reset-paper-color {
  margin-block-start: .75rem;
}

.desk {
  grid-area: desk;
}

.desk-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  min-block-size: 2.625rem;
  padding: .125rem clamp(.875rem, 2vw, 1.625rem);
  gap: .75rem;
  border-block-end: 1px solid var(--line);
  background: #f3f8ff;
}

.document-info {
  flex: 1;
}

#document-name {
  inline-size: 100%;
  max-inline-size: 17.5rem;
  min-inline-size: 0;
  padding: .3rem .4rem;
  border: 1px solid transparent;
  border-radius: .375rem;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-overflow: ellipsis;
}

#document-name:hover,
#document-name:focus {
  border-color: var(--line);
  background: #fffefb;
}

.history-controls {
  flex-shrink: 0;
}

.history-controls #show-text-boxes {
  display: grid;
  place-items: center;
  border-radius: .375rem;
}

#show-text-boxes svg {
  inline-size: 1.25rem;
  block-size: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
}

.text-format-options,
.text-presets {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.text-format-options {
  gap: .5rem;
}

.text-presets {
  gap: .25rem;
}

.text-presets .button {
  min-block-size: 2rem;
  justify-content: flex-start;
  padding: .25rem .625rem;
  font-size: calc(var(--preset-size, 30) * .03125rem);
  line-height: 1.1;
}

.font-options {
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .375rem;
  max-inline-size: 13rem;
}

.font-options .button {
  min-inline-size: 0;
  min-block-size: 2rem;
  aspect-ratio: 1;
  padding: .125rem;
  font-size: clamp(.875rem, 10cqi, 1.25rem);
  font-weight: 400;
  line-height: 1;
}

.font-options [data-font="escolar"],
.writing-paragraph[data-font="escolar"] {
  font-kerning: normal;
}

.writing-paragraph[data-font="escolar"],
.writing-paragraph[data-font="bree"],
.writing-paragraph[data-font="patrick"] {
  font-synthesis: weight style;
}

.size-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .375rem;
}

.size-stepper {
  display: grid;
  grid-template-columns: 1.75rem minmax(2rem, 1fr) 1.75rem;
  flex: 1;
  max-inline-size: 7.5rem;
  gap: .25rem;
}

.size-controls button,
.size-stepper input {
  min-block-size: 2.25rem;
  border: 1px solid #dedfdc;
  border-radius: .5625rem;
  background: #fffefb;
  color: var(--ink);
}

.size-controls button {
  padding: .125rem;
  font-size: 1.125rem;
}

.text-emphasis {
  display: flex;
  gap: .25rem;
}

.text-emphasis button {
  inline-size: 2rem;
  font-size: .9375rem;
}

#text-italic i {
  font: italic 700 1rem Georgia, serif;
}

.size-stepper input {
  appearance: textfield;
  inline-size: 100%;
  min-inline-size: 0;
  padding: .125rem;
  text-align: center;
  font-size: .875rem;
}

.size-stepper input::-webkit-inner-spin-button,
.size-stepper input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.text-presets .button[aria-pressed="true"],
.font-options .button[aria-pressed="true"],
.size-controls button[aria-pressed="true"],
.history-controls #show-text-boxes[aria-pressed="true"],
.object-action[aria-pressed="true"] {
  background: var(--cyan-wash);
  border-color: #8bc5d2;
  color: var(--blue);
}

.writing-editor {
  display: flex;
  flex-direction: column;
  outline: 0;
  cursor: text;
}

.writing-paragraph {
  position: relative;
  padding-block-start: var(--writing-start, 0);
  background-origin: content-box;
  background-clip: content-box;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  tab-size: 4;
}

.writing-paragraph:last-child {
  flex: 1;
}

.writing-paragraph[data-placeholder]:is(:empty, :has(> br:only-child))::before {
  content: attr(data-placeholder);
  position: absolute;
  inset-block-start: var(--writing-start, 0);
  inset-inline: 0;
  overflow: hidden;
  color: #88919c;
  font-weight: 400;
  white-space: nowrap;
  text-overflow: ellipsis;
  pointer-events: none;
}

.page[data-show-text-boxes]:not([data-mode="draw"]) .text-object {
  border-color: #b9cbea;
  border-style: dashed;
}

.page[data-show-text-boxes]:not([data-mode="draw"]) .text-object.selected {
  z-index: 3;
  border-color: #799dd4;
}

.text-actions {
  display: none;
  position: absolute;
  inset-inline-end: -.125rem;
  inset-block-start: max(-2rem, calc(-1 * var(--text-top) + (var(--text-action-scale, 1) - 1) * 2rem));
  gap: .25rem;
  transform: scale(var(--text-action-scale, 1));
  transform-origin: bottom right;
}

.page[data-show-text-boxes]:not([data-mode="draw"]) .text-object.selected .text-actions {
  display: flex;
}

.text-add-empty {
  position: absolute;
  inset-block-start: 2rem;
  inset-inline-end: 4rem;
  pointer-events: auto;
  transform: scale(var(--text-action-scale, 1));
  transform-origin: top right;
}

.page:not([data-show-text-boxes]) .text-add-empty,
.page[data-mode="draw"] .text-add-empty {
  display: none;
}

.object-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 2rem;
  min-block-size: 2rem;
  padding: .25rem .375rem;
  border: 1px solid #9ab7e1;
  border-radius: .375rem;
  background: #e7efff;
  color: #315bba;
  font-size: .75rem;
}

.object-action svg {
  inline-size: 1rem;
  block-size: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.object-action.object-delete {
  color: #993f53;
  border-color: #e5bbc4;
  background: #fff0ed;
}

.text-drag {
  cursor: move;
  touch-action: none;
  white-space: nowrap;
}

.desk-footer > :empty,
.desk-footer:not(:has(> :not(:empty))) {
  display: none;
}

#word-count {
  margin-inline-start: auto;
}

.paper-choice .theme-cielo {
  background-size: 100% auto;
}

.sticker-sidebar {
  grid-area: stickers;
  min-inline-size: 0;
  padding: clamp(.625rem, 1.3vw, 1.25rem);
  border-inline-start: 1px solid var(--line);
  background: var(--surface);
}

.sticker-shelf {
  position: sticky;
  inset-block-start: .75rem;
  max-block-size: calc(100dvh - 1.5rem);
  overflow: auto;
  scrollbar-width: thin;
}

.sticker-shelf h2 {
  margin: 0;
  font: 800 1rem/1.35 var(--font-hud);
}

.sticker-shelf .field-label {
  margin-block-start: 1rem;
  color: var(--violet);
}

.sticker-actions {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.sticker-command-bar,
.sticker-handle {
  position: absolute;
  transform: scale(var(--sticker-control-scale, 1));
  transform-origin: top left;
}

.sticker-command-bar {
  display: flex;
  inline-size: max-content;
  gap: .25rem;
  padding: .25rem;
  border: 1px solid var(--line);
  border-radius: .625rem;
  background: var(--surface);
  box-shadow: 0 .125rem .5rem #243b5b22;
}

.sticker-actions button {
  pointer-events: auto;
}

.sticker-command-bar button {
  flex: none;
  inline-size: 2rem;
  font-size: 1rem;
}

.sticker-handle {
  inline-size: 2rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 .125rem .375rem #243b5b22;
  touch-action: none;
}

.sticker-resize {
  cursor: nesw-resize;
}

.sticker-rotate {
  cursor: grab;
}

.sticker-rotate.dragging {
  cursor: grabbing;
}

.sticker-actions .sticker-handle:active {
  transform: scale(var(--sticker-control-scale, 1));
}

.sticker-hit {
  position: absolute;
  inset: calc(-1 * var(--sticker-bleed));
  inline-size: calc(100% + 2 * var(--sticker-bleed));
  block-size: calc(100% + 2 * var(--sticker-bleed));
  z-index: 4;
  padding: 0;
  border: 2px solid transparent;
  border-radius: .875rem;
  background: transparent;
  pointer-events: auto;
  touch-action: none;
  cursor: grab;
  user-select: none;
}

.sticker-hit:hover,
.sticker-object.selected > .sticker-hit {
  border-color: #799dd4;
  border-style: dashed;
}

.sticker-hit:active {
  cursor: grabbing;
}

.sticker-art {
  position: absolute;
  inset: var(--sticker-bleed);
  display: grid;
  place-items: center;
  font: inherit;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  line-height: 1;
  pointer-events: none;
}

.sticker-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(2.25rem, 1fr));
  gap: .375rem;
}

.featured-stickers {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sticker-picker button {
  position: relative;
  display: grid;
  place-items: center;
  min-inline-size: 0;
  min-block-size: 2.25rem;
  aspect-ratio: 1;
  overflow: hidden;
  padding: .2rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #fff;
  font-size: 1.25rem;
}

.sticker-picker button:hover,
.sticker-picker button:focus-visible {
  background: var(--violet-wash);
}

.sticker-picker img,
.sticker-art img,
.library-cover img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  min-inline-size: 0;
  object-fit: contain;
  pointer-events: none;
}

.sticker-art img {
  position: absolute;
  inset: 0;
}

.sticker-picker img {
  position: absolute;
  inset: 0;
  padding: .2rem;
}

.library-cover img {
  max-inline-size: 6rem;
  max-block-size: 6rem;
}

.idea-modal {
  inline-size: min(28rem, calc(100% - 2rem));
}

.idea-modal #idea-text {
  font-size: 1.125rem;
}

.library-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-block-start: 1rem;
  padding-block-start: .875rem;
  border-block-start: 1px solid var(--line);
}

.taller-page .auth-modal-card,
.taller-page .auth-menu {
  border-color: #94cddf;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 .75rem 2rem #17274430;
}

.taller-page .auth-modal-title,
.taller-page .auth-menu-info,
.taller-page .auth-menu-info b,
.taller-page .auth-field-label {
  color: var(--blue);
  text-shadow: none;
}

.taller-page .auth-user-input,
.taller-page .auth-pass-input {
  background: #fff;
  color: var(--ink);
}

.taller-page .auth-submit {
  color: var(--blue);
  border-color: #94cddf;
  background: var(--cyan-wash);
}

.taller-page .auth-modal-close,
.taller-page .auth-guest {
  color: var(--muted);
}

@media (max-width: 54rem) {
  .top-actions {
    margin-inline-start: auto;
  }

  .work-actions {
    flex: 1 1 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 43rem) {
  .workspace {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "tools" "stickers" "desk";
  }

  .toolbox,
  .sticker-sidebar {
    border-inline: 0;
    border-block-end: 1px solid var(--line);
  }

  .tool-tabs {
    margin-block-end: .625rem;
  }

  .tool-panel .field-label {
    margin-block-start: .75rem;
  }

  .tool-panel .size-controls,
  .tool-panel .full {
    max-inline-size: 16rem;
  }

  .tool-panel .swatches {
    max-inline-size: 23rem;
  }

  .sticker-shelf {
    position: static;
    max-block-size: none;
    overflow: visible;
  }

  .sticker-picker,
  .featured-stickers {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 2.75rem;
    overflow-x: auto;
    padding: .1875rem .1875rem .375rem;
    scrollbar-width: thin;
  }

  .featured-stickers {
    grid-auto-columns: 3.625rem;
  }

  .desk-scroller {
    padding: 1rem .875rem 3rem;
  }

  .templates,
  .library-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 32rem) {
  .top-actions {
    flex-basis: 100%;
    margin-inline-start: 0;
  }

  .work-actions {
    justify-content: flex-start;
  }

  .modal {
    padding: 1.5rem 1rem;
  }

  .modal h2 {
    font-size: 1.4rem;
  }

  .paper-picker {
    grid-template-columns: repeat(auto-fit, minmax(3rem, 1fr));
  }

  .paper-choice span {
    inline-size: 2.625rem;
    block-size: 3.75rem;
  }
}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

.topbar .auth-btn.logged-in {
  color: #30583d;
  background: #e8f0e7;
  border-color: #b5c8b9;
}

.topbar .auth-btn {
  display: grid;
  place-items: center;
  inline-size: 2.625rem;
  min-block-size: 2.625rem;
  padding: .5rem;
}

.topbar .auth-btn .auth-btn-icon {
  font-size: 1rem;
}

.topbar .auth-btn .auth-btn-name {
  display: none;
}

.topbar .auth-btn.logged-in:hover {
  background: #dce9dd;
  box-shadow: none;
}

.topbar .auth-menu {
  top: 100%;
  right: 0;
}

@media (max-width: 620px) {
  .topbar .auth-menu {
    left: 0;
    right: auto;
  }
}

@page{size:A4 portrait;margin:10mm}
@media screen {
  .print-book { display: none; }
}
@media print {
  .printing-book .workspace,
  body:not(.printing-book) .print-book {
    display: none !important;
  }

  .print-book canvas {
    display: block;
    inline-size: 190mm;
    max-inline-size: 100%;
    block-size: auto;
    margin-inline: auto;
    break-inside: avoid;
    break-after: page;
  }

  .print-book canvas:last-child {
    break-after: auto;
  }
}
@media print{html,body{background:white!important;margin:0!important;padding:0!important}.topbar,.toolbox,.sticker-sidebar,.desk-toolbar,.desk-footer,dialog,.toast,.page-corner,.text-actions,.sticker-actions,.auth-modal,.auth-menu{display:none!important}.workspace{display:block;min-height:0;margin:0}.desk,.desk-scroller{display:block;background:none!important;padding:0!important;overflow:visible}.paper-wrap{width:704px!important;height:880px!important;max-width:none;margin:0;box-shadow:none}.page{transform:scale(.88)!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.text-object,.sticker-hit{border-color:transparent!important}.writing-paragraph::before,.text-add-empty{display:none!important}.drawing{pointer-events:none}}
