* {
  box-sizing: border-box;
}
:root {
  --ink: #203b39;
  --pine: #126458;
  --line: #dce4df;
  --muted: #5d706c;
  --paper: #f6f8f5;
  --mint: #e9f3eb;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.6 "Inter",
    "Microsoft JhengHei",
    system-ui,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--pine);
  text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #d99e30;
  outline-offset: 3px;
}
header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.bar,
.wrap {
  max-width: 1180px;
  margin: auto;
  padding-inline: 36px;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}
.mark,
.summaryIcon,
.successMark {
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--pine);
  color: white;
  width: 38px;
  height: 38px;
}
nav {
  display: flex;
  gap: 26px;
}
nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}
nav a.current {
  color: var(--pine);
}
.wrap {
  padding-block: 32px 64px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 174px;
  background: #184d47;
  color: white;
  border-radius: 19px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(29px, 3.3vw, 46px);
  line-height: 1.35;
  letter-spacing: 0.015em;
}
.hero h1 span {
  color: #e5c681;
}
.hero p {
  color: #dfede5;
  margin: 10px 0 0;
}
.heroArt {
  width: 210px;
  height: 110px;
  position: relative;
  flex: none;
}
.heroArt:before,
.heroArt:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  border: 1px solid #658a78;
  border-radius: 50%;
  top: -100px;
  right: -90px;
  opacity: 0.45;
}
.heroArt:after {
  width: 295px;
  height: 295px;
  top: -80px;
  right: -65px;
}
.sheet {
  position: absolute;
  left: 65px;
  top: 1px;
  transform: rotate(-9deg);
  width: 105px;
  height: 108px;
  border-radius: 9px;
  background: #eff3e4;
  box-shadow: 9px 8px 0 #103f39;
  border-top: 17px solid #c3d8bc;
}
.rings:before,
.rings:after {
  content: "";
  width: 6px;
  height: 17px;
  border-radius: 8px;
  background: #e2bc78;
  position: absolute;
  top: -24px;
  left: 23px;
}
.rings:after {
  left: auto;
  right: 23px;
}
.sheetGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 13px;
}
.sheetGrid i {
  height: 13px;
  background: #cadaca;
  border-radius: 3px;
}
.sheetGrid i.ink {
  background: #395f51;
}
.tick {
  position: absolute;
  right: 18px;
  bottom: 0;
  background: #e4c17f;
  border: 3px solid #184d47;
  color: #234b3f;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 26px 0;
  color: #697971;
  font-size: 13px;
  font-weight: 600;
}
.steps span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.steps span + span:before {
  content: "";
  width: 40px;
  height: 1px;
  background: #cad6cf;
  margin: 0 10px;
}
.steps b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: #e3e9e2;
  border-radius: 50%;
  font-family: system-ui;
}
.steps .live {
  color: var(--pine);
}
.steps .live b {
  color: white;
  background: var(--pine);
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 282px;
  align-items: start;
  gap: 20px;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 3px 14px #15392f06;
}
.panelTitle,
.calHead,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panelTitle {
  margin-bottom: 18px;
}
h1,
h2,
h3 {
  line-height: 1.45;
}
h1 {
  font-size: 32px;
}
h2 {
  margin: 0;
  font-size: 22px;
}
h3 {
  font-size: 16px;
  margin: 0 0 13px;
}
p {
  margin: 12px 0;
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 12px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 650;
}
input,
select,
textarea {
  width: 100%;
  padding: 9px 11px;
  min-height: 43px;
  border: 1px solid #cdd7d1;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #6b9c84;
  outline-offset: 1px;
}
.schedule {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 21px;
  gap: 21px;
}
.calHead strong {
  font-size: 17px;
}
.calHead > div {
  display: flex;
  gap: 4px;
}
.iconbtn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
}
.iconbtn svg {
  width: 16px;
}
.grid7 {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  text-align: center;
  margin: 12px 0;
}
.grid7 small {
  padding: 4px;
}
.grid7 button {
  position: relative;
  color: var(--pine);
  background: var(--mint);
  border: 0;
  border-radius: 7px;
  min-height: 35px;
  font-weight: 650;
}
.grid7 button:disabled {
  color: #88948c;
  background: transparent;
  font-weight: 400;
  cursor: default;
}
.grid7 button.picked {
  background: var(--pine);
  color: white;
}
.grid7 i,
.legend i {
  background: #5e976f;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}
.grid7 i {
  position: absolute;
  bottom: 3px;
  left: calc(50% - 2px);
}
.picked i {
  background: white;
}
.legend {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
}
.times {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.empty {
  background: #f6f8f4;
  border: 1px dashed #d2dfd4;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  min-height: 165px;
  padding: 13px;
}
.empty svg {
  color: #66826e;
}
.timeOption {
  display: block;
  width: 100%;
  text-align: left;
  background: white;
  border: 1px solid var(--line);
  padding: 9px 12px;
  margin: 7px 0;
  border-radius: 8px;
  color: var(--ink);
}
.timeOption.chosen {
  background: var(--mint);
  border: 2px solid var(--pine);
  padding: 8px 11px;
}
.timeOption small,
td small,
.summary small {
  display: block;
}
.summaryIcon,
.successMark {
  background: var(--mint);
  color: var(--pine);
  margin-bottom: 12px;
}
.summary h3 {
  margin: 18px 0 0;
}
.summary p {
  font-size: 14px;
}
.details {
  border-top: 1px solid var(--line);
  margin-top: 19px;
  padding: 18px 0;
  display: grid;
  gap: 10px;
  font-size: 13px;
}
.details span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.details svg {
  color: var(--pine);
}
.primary,
.outline,
.textbtn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 9px 15px;
  font-weight: 650;
  text-decoration: none;
}
.primary {
  background: var(--pine);
  border: 1px solid var(--pine);
  color: white;
}
.primary:hover:enabled {
  background: #164b42;
}
.primary:disabled {
  background: #dce5df;
  color: #53685f;
  border-color: #dce5df;
  cursor: default;
}
.summary .primary {
  width: 100%;
}
.outline {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
}
.textbtn {
  padding-inline: 0;
  color: var(--pine);
  background: transparent;
  border: 0;
}
.narrow,
.receipt {
  max-width: 760px;
}
form > label,
form > .fields {
  margin: 14px 0;
}
.alert,
.notice {
  border-radius: 8px;
  padding: 10px 15px;
}
.alert {
  background: #fff2e7;
  color: #864615;
}
.notice {
  background: var(--mint);
  color: var(--pine);
}
.compact {
  min-height: 125px;
}
.tabs {
  display: flex;
  gap: 8px;
  margin: 24px 0;
  overflow-x: auto;
}
.tabs button {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  padding: 8px 14px;
  color: var(--muted);
}
.tabs button.sel {
  background: var(--pine);
  color: white;
}
.editor {
  background: #f6f9f5;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
}
.editor .actions {
  justify-content: flex-start;
}
.check {
  display: flex;
  align-items: center;
}
.check input {
  min-height: unset;
  width: 16px;
  height: 16px;
}
.tableWrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 12px;
  color: var(--muted);
  background: #f6f8f5;
}
td {
  vertical-align: top;
}
td button {
  white-space: nowrap;
}
.pill {
  border-radius: 20px;
  background: var(--mint);
  color: var(--pine);
  padding: 3px 9px;
  font-size: 12px;
}
.pill.off {
  background: #eee;
  color: #555;
}
.tableEmpty {
  padding: 18px;
  text-align: center;
  color: var(--muted);
}
.search {
  max-width: 350px;
  margin: 14px 0;
}
.receipt a {
  display: inline-block;
  margin-top: 14px;
}
button:disabled {
  cursor: default;
}
@media (max-width: 900px) {
  .columns {
    grid-template-columns: minmax(0, 1fr) 225px;
    gap: 13px;
  }
  .panel {
    padding: 18px;
  }
  .bar,
  .wrap {
    padding-inline: 20px;
  }
  .schedule {
    gap: 12px;
  }
  .times {
    padding-left: 12px;
  }
  .heroArt {
    width: 180px;
  }
  .sheet {
    left: 36px;
  }
}
@media (max-width: 700px) {
  .columns {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 145px;
    padding: 24px;
  }
  .heroArt {
    width: 100px;
    transform: scale(0.73);
    transform-origin: right center;
  }
  .sheet {
    left: 0;
  }
  .tick {
    right: -18px;
  }
  .hero p {
    font-size: 13px;
  }
  .bar,
  .wrap {
    padding-inline: 14px;
  }
  .bar {
    min-height: 62px;
  }
  .brand {
    font-size: 16px;
    gap: 6px;
  }
  nav {
    gap: 12px;
  }
  nav a {
    font-size: 12px;
  }
  .wrap {
    padding-top: 17px;
  }
  .steps {
    margin: 18px 0;
  }
  .steps span + span:before {
    width: 14px;
    margin: 0 3px;
  }
  .summary {
    display: block;
  }
  .panelTitle h2,
  h2 {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .schedule {
    grid-template-columns: 1fr;
  }
  .times {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 14px 0 0;
  }
  .empty {
    min-height: 102px;
  }
  .heroArt {
    display: none;
  }
  .fields {
    gap: 9px;
  }
  .mark {
    width: 30px;
    height: 30px;
  }
  .steps {
    font-size: 12px;
  }
  .grid7 button {
    min-height: 34px;
  }
  .times h3 {
    margin-bottom: 8px;
  }
  .editor .fields {
    grid-template-columns: 1fr;
  }
}
