@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #100f14;
  --panel: #19171f;
  --field: #121117;
  --line: #35313d;
  --line2: #2c2933;
  --ink: #eee9e6;
  --muted: #aaa4b1;
  --faint: #9b93a7;
  --lav: #c0a9e7;
  --gold: #c8ac83;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 18px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.5 system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select,
input,
textarea {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
button:hover:not(:disabled),
a:hover {
  color: #e5d5ff;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #c3a4f0;
  outline-offset: 3px;
}
.shell {
  width: min(1470px, calc(100% - clamp(40px, 7.8vw, 136px)));
  margin: auto;
}
.mast {
  height: 69px;
  border-bottom: 1px solid var(--line2);
  background: #141218;
}
.mast-inner,
.mast nav,
.vault,
.panel-heading,
.eyebrow,
.plate-tools,
.section-rule,
.intro,
.trace-strip,
.pyr-heading,
.month-head,
.month-head > div,
.horoscope-intro,
.dialog-title,
.section-intro,
footer,
.plate-tools > div,
.check-line,
.brand,
.secondary,
.primary,
.export-btn,
.editor-btn,
.icon-button {
  display: flex;
  align-items: center;
}
.brand {
  font: 31px var(--serif);
  letter-spacing: -1.3px;
  gap: 12px;
}
.brand img {
  width: 36px;
  height: 36px;
}
.mast-inner {
  height: 100%;
  gap: clamp(32px, 5vw, 78px);
}
.mast nav {
  height: 100%;
  gap: clamp(18px, 2.6vw, 44px);
}
.navlink {
  display: grid;
  place-items: center;
  position: relative;
  height: 100%;
  color: #aaa4b0;
  font-size: 13px;
  padding: 0 1px;
}
.navlink.active {
  color: #e2d2f5;
}
.navlink.active:after {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  content: "";
  height: 2px;
  background: var(--lav);
}
.vault {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 5px;
  height: 33px;
  padding: 0 10px;
  gap: 8px;
  font-size: 12px;
  background: #1c1921;
}
.vault b {
  font: 10px var(--mono);
  color: var(--lav);
  background: #302936;
  padding: 2px 5px;
  border-radius: 3px;
}
.ico {
  width: 17px;
  height: 17px;
  flex: none;
  stroke: currentColor;
  vertical-align: middle;
}
.skip {
  position: fixed;
  left: -999px;
  top: 5px;
}
.skip:focus {
  left: 6px;
  z-index: 20;
  background: #221e2b;
  padding: 8px;
}
.intro {
  justify-content: space-between;
  position: relative;
  min-height: 175px;
  padding: 26px 0;
  isolation: isolate;
}
.intro > .saturn-plate {
  width: clamp(290px, 34vw, 510px);
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  object-fit: contain;
  object-position: right center;
  z-index: -1;
}
.eyebrow,
.mini-label,
.section-rule,
.stage-tag,
.stage-code,
.live,
.reading-date,
.pyr-footer,
.plate-legend,
.cal-week,
.export-dim {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 1.75px;
  font-size: 10px;
}
.eyebrow {
  gap: 9px;
  margin: 0;
}
.purple {
  color: var(--lav);
}
.gold {
  color: var(--gold);
}
.star {
  font: 17px var(--serif);
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
.section-intro h2 {
  font: clamp(47px, 4.7vw, 76px) / 1.08 var(--serif);
  letter-spacing: -2.9px;
  margin: 8px 0 10px;
  font-weight: 400;
}
h1 em,
.section-intro em {
  font-weight: 400;
  color: #d7c7e4;
}
.intro p {
  color: #b6afb9;
  font-size: 14px;
}
.section-rule {
  gap: 15px;
  color: #b1a6bc;
  margin: 0 0 15px;
  scroll-margin-top: 15px;
}
.section-rule > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.section-rule b {
  color: var(--lav);
  font-weight: 500;
}
.section-rule > i,
.pyr-footer i {
  height: 1px;
  background: var(--line2);
  flex: 1;
}
.edition {
  font-size: 9px;
  letter-spacing: 1.45px;
}
.status-dot,
.live span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: #9cb7a6;
}
.workbench-grid {
  display: grid;
  grid-template-columns: minmax(205px, 0.99fr) minmax(320px, 1.92fr) minmax(
      216px,
      0.93fr
    );
  gap: 15px;
  align-items: stretch;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
  min-width: 0;
  overflow: hidden;
}
.panel-heading {
  padding: 0 17px;
  gap: 10px;
  height: 50px;
  border-bottom: 1px solid var(--line2);
  color: var(--lav);
}
.panel-heading h2,
.pyramid-card h2 {
  font: 21px/1.2 var(--serif);
  color: var(--ink);
  letter-spacing: -0.5px;
}
.controls .panel-heading > .ico,
.preview .panel-heading > .ico {
  width: 17px;
}
.control-body,
.planetary-calendar-body {
  padding: 18px;
}
.control-body > label,
.planetary-calendar-body > label,
.form-field > label,
.edit-opt > label,
.field-label {
  display: block;
  color: #dcd6df;
  font-size: 12px;
  font-weight: 550;
  margin: 0 0 7px;
}
select,
textarea,
input[type="date"],
input[type="text"],
input[type="number"] {
  width: 100%;
  background-color: var(--field);
  border: 1px solid #403b49;
  border-radius: 4px;
  color: #e4dfe7;
}
select {
  height: 37px;
  padding: 0 28px 0 10px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23a9a2b3' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  font-size: 12px;
}
.select-with {
  position: relative;
  margin-bottom: 16px;
}
.select-with > span {
  position: absolute;
  left: 12px;
  top: 3px;
  font: 25px/30px var(--serif);
  pointer-events: none;
  color: var(--lav);
}
.select-with select {
  padding-left: 37px;
}
.control-rule {
  border-top: 1px solid var(--line2);
  margin: 16px 0;
}
.control-body textarea {
  display: block;
  resize: vertical;
  min-height: 54px;
  padding: 9px 11px;
  font-size: 13px;
  line-height: 1.4;
}
.field-note,
.small-copy {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
  margin: 6px 0 11px;
}
.check-line {
  justify-content: space-between;
  gap: 10px;
  min-height: 26px;
}
.check-line label {
  font-size: 12px;
  color: #c3bdc8;
  cursor: pointer;
}
.check-line input {
  appearance: none;
  flex: none;
  background: #333039;
  width: 27px;
  height: 15px;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  border: 1px solid #524a59;
  margin: 0;
}
.check-line input:after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #928b99;
  left: 2px;
  top: 2px;
}
.check-line input:checked {
  background: #a48bc0;
  border-color: #aa92c4;
}
.check-line input:checked:after {
  background: #21192c;
  left: 14px;
}
.primary,
.secondary,
.export-btn,
.editor-btn {
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 550;
  height: 36px;
}
.primary {
  color: #211729;
  background: #c8b2e7;
  border: 1px solid #d3bdf1;
}
.primary:hover:not(:disabled) {
  background: #dbc7f5;
  color: #211729;
}
.generate,
.wide {
  width: 100%;
}
.input-feedback {
  font-size: 11px;
  color: #efbcaf;
  margin-top: 7px;
}
.input-feedback:empty {
  display: none;
}
.preview {
  display: flex;
  flex-direction: column;
}
.live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b6c8b9;
  font-size: 9px;
  letter-spacing: 1.2px;
}
.live span {
  width: 5px;
  height: 5px;
}
.plate-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 282px;
  isolation: isolate;
  background-color: #15131c;
  background-image:
    radial-gradient(ellipse at center, #32263c62, transparent 69%),
    linear-gradient(#a88bc80b 1px, transparent 1px),
    linear-gradient(90deg, #a88bc80b 1px, transparent 1px);
  background-size:
    auto,
    22px 22px,
    22px 22px;
}
.plate-stage:before {
  content: "";
  position: absolute;
  inset: 13px;
  background:
    linear-gradient(#6d6376, #6d6376) left top/8px 1px,
    linear-gradient(#6d6376, #6d6376) left top/1px 8px,
    linear-gradient(#6d6376, #6d6376) right top/8px 1px,
    linear-gradient(#6d6376, #6d6376) right top/1px 8px,
    linear-gradient(#6d6376, #6d6376) left bottom/8px 1px,
    linear-gradient(#6d6376, #6d6376) left bottom/1px 8px,
    linear-gradient(#6d6376, #6d6376) right bottom/8px 1px,
    linear-gradient(#6d6376, #6d6376) right bottom/1px 8px;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.62;
}
.stage-tag,
.stage-code {
  position: absolute;
  top: 20px;
  color: #9b8ba7;
  font-size: 8px;
  letter-spacing: 1.4px;
}
.stage-tag {
  left: 25px;
}
.stage-code {
  right: 25px;
}
.plate {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 24px 6px;
  min-width: 0;
}
.plate > svg {
  width: min(100%, 365px);
  height: auto;
  display: block;
}
.plate-legend {
  position: absolute;
  bottom: 12px;
  display: flex;
  gap: 16px;
  color: #aa9ab5;
  font-size: 8px;
  letter-spacing: 0.65px;
}
.plate-tools {
  justify-content: space-between;
  padding: 10px 14px;
  border-top: 1px solid var(--line2);
  gap: 8px;
}
.plate-tools > div {
  gap: 7px;
}
.secondary,
.editor-btn,
.export-btn,
.icon-button,
.smallbtn,
.month-head button {
  background: #25212d;
  border: 1px solid #413949;
  color: #ded4e5;
}
.editor-btn,
.export-btn {
  height: 32px;
  padding: 0 10px;
  font-size: 11px;
}
.editor-btn {
  background: transparent;
}
.icon-button {
  border-radius: 4px;
  justify-content: center;
  width: 32px;
  height: 32px;
}
.export-btn .ico,
.editor-btn .ico,
.icon-button .ico {
  width: 14px;
  height: 14px;
}
.reference-rail {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  min-width: 0;
}
.square-card .panel-heading {
  padding: 0 14px;
}
.square-content {
  padding: 16px;
  display: flex;
  gap: 13px;
  align-items: center;
  flex-wrap: wrap;
}
#kamea {
  display: grid;
  grid-template-columns: repeat(var(--order), 1fr);
  width: 84px;
  aspect-ratio: 1;
  border-left: 1px solid #61516c;
  border-top: 1px solid #61516c;
  flex: none;
  background: #221c29;
}
#kamea span {
  border-right: 1px solid #61516c;
  border-bottom: 1px solid #61516c;
  display: grid;
  place-items: center;
  font: 14px var(--serif);
  color: #d1bddb;
}
#kamea.dense {
  width: 116px;
}
#kamea.dense span {
  font: 9px var(--mono);
}
.square-info h3 {
  font: 23px var(--serif);
  margin: 2px 0 5px;
}
.mini-label {
  color: #b6a4c7;
  font-size: 8px;
  letter-spacing: 1.3px;
}
.square-info #square-meta {
  font-size: 11px;
  color: var(--muted);
}
.pyramid-card {
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse at bottom, #49372936, transparent 80%), #1c191d;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 12px 15px 9px;
}
.pyr-heading {
  justify-content: space-between;
}
.pyr-heading .gold {
  color: #d4b892;
}
.pyr-heading button {
  color: #aaa1a2;
  display: grid;
  place-items: center;
}
.pyr-heading .ico {
  width: 14px;
  height: 14px;
}
.pyramid-card h2 {
  align-self: flex-start;
  font-size: 23px;
  margin: 2px 0 8px;
}
.pyramid-art {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 140px;
}
.pyramid-art svg {
  height: 147px;
  width: 100%;
  max-width: 240px;
  display: block;
}
.pyr-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  margin: 1px 10px;
}
.pyr-footer i {
  background: linear-gradient(90deg, transparent, #655446);
}
.pyr-footer i:last-child {
  transform: rotate(180deg);
}
.trace-strip {
  margin: 12px 0 38px;
  border: 1px solid var(--line2);
  border-radius: 5px;
  background: #17151c;
  padding: 10px 15px;
  gap: 12px;
  color: var(--muted);
  min-width: 0;
}
.trace-strip .ico {
  color: var(--lav);
  width: 15px;
}
.trace-strip b {
  color: #d6cedb;
  font-size: 11px;
  white-space: nowrap;
}
.trace-strip > span {
  font: 11px var(--mono);
  letter-spacing: 0.6px;
  color: #b9a7c8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.text-link {
  margin-left: auto;
  font-size: 11px;
  white-space: nowrap;
  color: var(--lav);
}
.section-intro,
.horoscope-intro {
  justify-content: space-between;
  gap: 20px;
}
.section-intro {
  margin: 23px 0 20px;
}
.section-intro h2 {
  font-size: 39px;
  letter-spacing: -1.6px;
  margin: 5px 0;
}
.section-intro > p {
  color: var(--muted);
  font-size: 12px;
  max-width: 380px;
}
.almanac-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.calendar-body,
.planetary-calendar-body,
.reading-body {
  padding: 18px 21px;
}
.smallbtn {
  border-radius: 3px;
  padding: 4px 9px;
  line-height: 1.3;
  margin-left: auto;
  font-size: 11px;
}
.month-head {
  justify-content: space-between;
  margin-bottom: 12px;
}
.month-head h3,
.planet-day h3,
.horoscope-intro h3,
.reading-body h3 {
  font: 24px var(--serif);
}
.month-head > div {
  gap: 6px;
}
.month-head button {
  height: 26px;
  width: 28px;
  border-radius: 4px;
  font-size: 18px;
  line-height: 16px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 3px;
}
.cal-week {
  font-size: 9px;
  color: #aea2b7;
  padding: 4px 0;
}
.cal-grid button {
  height: 34px;
  font-size: 12px;
  border-radius: 4px;
  position: relative;
}
.cal-grid button:hover {
  background: #302937;
}
.cal-grid button.chosen {
  background: #c2acda;
  color: #201726;
}
.cal-grid button.today:after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.cal-grid .empty {
  height: 1px;
}
.planet-day {
  display: flex;
  align-items: center;
  gap: 15px;
}
.planet-day > span,
.sign-glyph {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #504554;
  border-radius: 50%;
  font: 34px var(--serif);
  color: var(--gold);
  background: #241f27;
}
.planet-day p,
.reading-date {
  color: var(--muted);
  font-size: 11px;
}
.julian-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 15px 0;
  padding: 10px 0;
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
  font-size: 12px;
  color: var(--muted);
}
.julian-line b {
  color: #ddd5dd;
  font-weight: 500;
}
.planetary-calendar-body .secondary {
  margin-top: 12px;
}
.secondary {
  padding: 0 12px;
}
.secondary span {
  margin-left: auto;
}
.horoscope-intro {
  margin: 30px 0 5px;
}
.horoscope-intro h3 {
  font-size: 29px;
  margin-top: 5px;
}
.reading-date {
  letter-spacing: 0.45px;
  margin-bottom: 13px;
}
.reading-body {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 14px;
}
.reading-top {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
.reading-top select {
  width: min(120px, 55%);
}
.reading-body p {
  font-size: 13px;
  color: #cbc4cd;
  grid-column: 1/-1;
  line-height: 1.65;
}
.reading-body .sign-glyph {
  color: var(--lav);
  height: 46px;
  width: 46px;
  font-size: 27px;
}
.reading-body .mini-label {
  display: block;
  margin-bottom: 4px;
}
footer {
  margin-top: 40px;
  border-top: 1px solid var(--line2);
  padding: 23px 0 36px;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}
footer .brand {
  font-size: 22px;
  color: var(--ink);
  gap: 8px;
}
footer .brand img {
  width: 26px;
  height: 26px;
}
footer button {
  margin-left: auto;
  color: var(--lav);
  font-size: 11px;
}
dialog {
  background: #1a171f;
  color: var(--ink);
  border: 1px solid #514655;
  border-radius: 9px;
  width: min(640px, 94vw);
  max-height: 90dvh;
  padding: 0;
  box-shadow: 0 32px 100px #0009;
}
dialog::backdrop {
  background: #09080dc9;
  backdrop-filter: blur(3px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-inner {
  padding: 23px;
}
.dialog-title {
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.dialog-title h2 {
  font: 30px var(--serif);
  margin-top: 4px;
}
.close {
  border: 1px solid var(--line);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
}
.dialog-inner p {
  color: #c3bdc7;
  font-size: 13px;
  line-height: 1.65;
}
.dialog-inner .eyebrow {
  font-size: 9px;
  color: var(--lav);
}
.dialog-inner h3 {
  font: 20px var(--serif);
  margin: 14px 0 5px;
}
.dialog-inner a {
  color: var(--lav);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dialog-inner .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.actions .primary,
.actions .secondary {
  padding: 0 14px;
}
.modal-surface {
  padding: 10px;
  background: #141119;
  border: 1px solid var(--line2);
  border-radius: 5px;
}
.archive-row,
.hours-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line2);
  padding: 9px 0;
}
.archive-row > .thumbnail {
  width: 55px;
  height: 55px;
  flex: none;
  background: #141119;
}
.thumbnail svg {
  width: 100%;
  height: 100%;
}
.archive-row > div:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.archive-row strong {
  display: block;
}
.archive-row small {
  color: var(--muted);
}
.hours-row > span:first-child {
  width: 24px;
  color: var(--muted);
  font: 11px var(--mono);
}
.hours-row > span:last-child {
  margin-left: auto;
  font: 12px var(--mono);
  color: #c4b7cd;
}
.hours-row.current {
  background: #302836;
}
.editor-layout {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  gap: 18px;
}
.editor-stage {
  align-self: start;
  position: sticky;
  top: 0;
}
.editor-stage .plate {
  padding: 6px 0;
}
.editor-stage .plate > svg {
  touch-action: none;
}
.editor-layout .edit-opt {
  margin: 0 0 12px;
}
.edit-opt input[type="range"] {
  width: 100%;
  accent-color: var(--lav);
}
.swatches {
  display: flex;
  gap: 8px;
}
.swatches button {
  width: 26px;
  height: 26px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--swatch);
}
.swatches button[aria-pressed="true"] {
  outline: 1px solid #ded6e5;
  outline-offset: 2px;
}
.editor-toolbar {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}
.editor-toolbar button,
.node-tools button {
  border: 1px solid var(--line);
  background: #27222e;
  border-radius: 4px;
  padding: 5px 9px;
  font-size: 11px;
}
.node-tools {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.edit-note {
  font-size: 11px !important;
  color: var(--muted) !important;
  margin: 8px 0;
}
.node-tools button.on {
  color: var(--lav);
  border-color: var(--lav);
}
.export-preview {
  width: 195px;
  max-width: 100%;
  margin: auto;
}
.export-preview > svg {
  display: block;
  width: 100%;
}
.mono-panel {
  font: 13px/1.8 var(--mono);
  word-break: break-word;
  color: var(--lav);
  padding: 10px 0;
}
.pyramid-large {
  height: 230px;
  margin: 8px 0 18px;
}
.pyramid-large svg {
  width: 100%;
  height: 100%;
}
.form-field {
  margin: 14px 0;
}
.form-field input {
  padding: 8px;
}
.modal-button-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.parts-list {
  padding: 0;
  margin: 12px 0;
  list-style: none;
}
.parts-list li {
  padding: 9px 0;
  border-top: 1px solid var(--line2);
}
.parts-list b {
  display: block;
  font-size: 12px;
  color: #e0d6e5;
}
.parts-list span {
  font: 12px var(--mono);
  color: var(--lav);
  overflow-wrap: anywhere;
}
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 8px);
  padding: 10px 18px;
  background: #322a3e;
  border: 1px solid #705f81;
  color: #f2e8ff;
  border-radius: 5px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.16s,
    transform 0.16s;
  font-size: 12px;
}
#toast.shown {
  opacity: 1;
  transform: translate(-50%, 0);
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .workbench-grid {
    grid-template-columns: 1fr 2.05fr 0.91fr;
  }
  .plate > svg {
    width: 390px;
  }
  .control-body {
    padding: 20px;
  }
  .plate-stage {
    min-height: 365px;
  }
}
@media (max-width: 1100px) {
  .shell {
    width: calc(100% - 48px);
  }
  .workbench-grid {
    grid-template-columns: minmax(202px, 1fr) minmax(270px, 1.6fr) minmax(
        181px,
        0.9fr
      );
    gap: 11px;
  }
  .panel-heading {
    padding: 0 13px;
  }
  .panel-heading h2 {
    font-size: 19px;
  }
  .square-content {
    gap: 9px;
    padding: 12px;
  }
  #kamea {
    width: 67px;
  }
  .square-info h3 {
    font-size: 20px;
  }
  .square-info #square-meta {
    font-size: 10px;
  }
  .control-body {
    padding: 14px;
  }
  .trace-strip {
    margin-bottom: 28px;
  }
}
@media (max-width: 820px) {
  .workbench-grid {
    grid-template-columns: minmax(211px, 0.83fr) minmax(270px, 1.4fr);
  }
  .reference-rail {
    grid-column: 1/-1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }
  .square-content {
    padding: 18px;
    gap: 16px;
  }
  #kamea {
    width: 88px;
  }
  .pyramid-card {
    min-height: 180px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-content: start;
    align-items: center;
  }
  .pyr-heading {
    grid-column: 1/-1;
  }
  .pyramid-card h2 {
    align-self: start;
  }
  .pyramid-art {
    min-height: 110px;
  }
  .pyramid-art svg {
    height: 125px;
  }
  .pyr-footer {
    grid-column: 1/-1;
  }
  .intro > .saturn-plate {
    width: 36%;
    opacity: 0.84;
  }
  .section-intro > p {
    max-width: 270px;
  }
  .calendar-body,
  .planetary-calendar-body,
  .reading-body {
    padding: 13px;
  }
  .brand {
    font-size: 26px;
  }
  .section-intro h2 {
    font-size: 35px;
  }
  .reading-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .reading-top select {
    width: 100%;
  }
  .section-intro .eyebrow {
    font-size: 9px;
  }
}
@media (max-width: 620px) {
  .shell {
    width: calc(100% - 30px);
  }
  .mast {
    height: auto;
  }
  .mast-inner {
    flex-wrap: wrap;
    gap: 0;
  }
  .brand {
    height: 47px;
    font-size: 25px;
    gap: 8px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .mast nav {
    order: 3;
    width: 100%;
    height: 39px;
    gap: 26px;
  }
  .navlink {
    font-size: 12px;
  }
  .vault {
    height: 29px;
  }
  .intro {
    min-height: 145px;
    padding: 21px 0;
  }
  .intro > .saturn-plate {
    width: 41%;
    height: 87px;
    right: -10px;
    top: 0;
    opacity: 0.58;
  }
  .intro h1 {
    font-size: 47px;
    letter-spacing: -2.5px;
  }
  .intro p {
    max-width: 295px;
    font-size: 12px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.45px;
  }
  .workbench-grid {
    display: flex;
    flex-direction: column;
  }
  .preview {
    order: -1;
  }
  .plate-stage {
    min-height: 305px;
  }
  .plate > svg {
    width: min(86%, 310px);
  }
  .plate {
    padding: 16px 4px;
  }
  .panel-heading {
    height: 44px;
  }
  .control-body {
    padding: 14px 16px;
  }
  .reference-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .square-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }
  .square-card .panel-heading {
    padding: 0 10px;
    gap: 5px;
  }
  .square-card .panel-heading h2 {
    font-size: 16px;
  }
  .square-card .panel-heading > .ico {
    width: 13px;
  }
  .pyramid-card {
    display: flex;
    padding: 10px;
    align-items: stretch;
    justify-content: flex-start;
  }
  .pyramid-card h2 {
    font-size: 20px;
  }
  .pyramid-art svg {
    height: 132px;
  }
  .trace-strip {
    gap: 7px;
    padding: 10px;
  }
  .trace-strip > span {
    font-size: 10px;
  }
  .almanac-grid {
    grid-template-columns: 1fr;
  }
  .section-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .section-intro > p {
    max-width: 100%;
    font-size: 12px;
  }
  .section-rule {
    gap: 7px;
  }
  .edition {
    font-size: 8px;
  }
  .horoscope-intro h3 {
    font-size: 24px;
  }
  .horoscope-intro .secondary {
    font-size: 11px;
  }
  .reading-top {
    flex-direction: row;
    align-items: center;
  }
  .reading-top select {
    width: 115px;
  }
  .dialog-inner {
    padding: 16px;
  }
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .editor-stage {
    position: static;
  }
  .editor-stage .plate > svg {
    width: 210px;
  }
  .dialog-title h2 {
    font-size: 26px;
  }
  .dialog-inner .actions {
    margin-top: 10px;
  }
  footer {
    gap: 10px;
    flex-wrap: wrap;
  }
  footer > span {
    display: none;
  }
  .archive-row {
    flex-wrap: wrap;
  }
  .archive-row .secondary {
    font-size: 11px;
  }
  .section-rule#workbench {
    margin-bottom: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
#planet-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 13px;
}
#planet-week button {
  border: 1px solid var(--line2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 30px;
  color: #b7a9c3;
  background: #151219;
}
#planet-week button span {
  font: 16px var(--serif);
}
#planet-week small {
  font: 10px var(--mono);
}
#planet-week button[aria-pressed="true"] {
  border-color: #77668a;
  color: #d7bee9;
  background: #2e2738;
}
@media (min-width: 821px) and (max-height: 820px) {
  .mast {
    height: 60px;
  }
  .intro {
    min-height: 146px;
    padding: 18px 0;
  }
  .intro h1 {
    font-size: clamp(44px, 4.25vw, 62px);
    margin: 5px 0 8px;
  }
  .control-body {
    padding: 12px 16px;
  }
  .select-with {
    margin-bottom: 11px;
  }
  .control-rule {
    margin: 11px 0;
  }
  .plate > svg {
    width: min(100%, 325px);
  }
  .plate {
    padding: 16px 6px;
  }
  .panel-heading {
    height: 44px;
  }
  .plate-tools {
    padding: 9px 12px;
  }
  .trace-strip {
    margin-bottom: 24px;
  }
  .pyramid-art svg {
    height: 160px;
  }
  .pyramid-card h2 {
    margin-bottom: 3px;
  }
}

.cloud-archive { padding: 1.25rem; margin-block: 1.5rem; }
.cloud-archive .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cloud-archive .actions form { margin: 0; }
.cloud-designs { list-style: none; padding: 0; }
.cloud-designs li { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; padding-block: .75rem; border-top: 1px solid var(--line); }
.cloud-designs strong { flex: 1 1 12rem; overflow-wrap: anywhere; }
.studio-actions [data-save-account][hidden] { display: none; }
