@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap");
:root {
  font-family: "Noto Sans KR", system-ui, sans-serif;
  color: #193b34;
  background: #f5f6f0;
  font-size: 16px;
  font-synthesis: none;
  --green: #174e40;
  --border: #d9e0d6;
  --muted: #59695f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 1px solid var(--border);
  background: #fff;
  color: inherit;
  border-radius: 12px;
  min-height: 56px;
  padding: 12px 22px;
  font-weight: 700;
  transition:
    background 0.15s,
    transform 0.1s;
}
button:active {
  transform: scale(0.975);
  background: #d8e5d5;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #b87812;
  outline-offset: 4px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #d5ad50;
  border-color: #77601e;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 38px;
  letter-spacing: -1.5px;
  line-height: 1.4;
  margin-bottom: 16px;
}
h2 {
  font-size: 25px;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 22px;
}
p {
  line-height: 1.75;
  color: var(--muted);
}
small {
  font-size: 0.78em;
}
a {
  color: inherit;
  text-decoration: none;
}
.demo-strip {
  background: #193f36;
  color: #fff;
  text-align: center;
  padding: 9px 24px;
  font-size: 12px;
  letter-spacing: 0.2px;
}
.demo-strip span {
  margin-left: 15px;
  color: #dfebe1;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 24px 5%;
  border-bottom: 1px solid var(--border);
  background: #fffdf8;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 23px;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 5px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px 14px 14px 2px;
  background: var(--green);
  color: white;
  display: grid;
  place-items: center;
}
nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
nav button {
  border: 0;
  background: none;
  font-size: 15px;
  min-height: 46px;
  padding: 10px 18px;
}
nav .active,
.tabs .active {
  background: var(--green);
  color: #fff;
}
.customer-layout {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(0, 650px);
  gap: 80px;
  padding: 54px 36px 28px;
  justify-content: center;
}
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
  color: #647b5a;
  margin-bottom: 14px;
}
.customer-main {
  min-width: 0;
  font-size: 21px;
}
.customer-main h1 {
  font-size: 36px;
}
.welcome {
  margin-bottom: 32px;
}
.welcome p {
  margin-bottom: 0;
}
.panel {
  background: #fffefa;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 22px;
  box-shadow: 0 5px 18px #263e2704;
}
.auth {
  padding: 36px;
}
.auth .primary {
  margin-top: 20px;
}
.soft {
  padding: 24px;
  background: #eef2e8;
  border-radius: 14px;
  margin: 25px 0;
}
.soft p {
  margin: 12px 0;
}
.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.primary:hover,
.hero-action:hover {
  background: #24624e;
}
.secondary {
  background: #edf2e6;
  border-color: #ccdac4;
}
.quiet {
  background: transparent;
  border-color: transparent;
}
.wide {
  width: 100%;
  margin-top: 12px;
  min-height: 68px;
}
.customer-main button {
  min-height: 64px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.row h2 {
  margin: 0;
}
.badge {
  display: inline-block;
  border: 1px solid #c2d5ba;
  background: #eff5e8;
  border-radius: 7px;
  color: #295029;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 10px;
}
.amber {
  background: #fff1cc;
  border-color: #dbc484;
  color: #77520b;
}
.muted {
  background: #eee;
  color: #555;
}
.subtle {
  color: var(--muted);
  font-size: 17px;
}
label {
  display: block;
  font-weight: 700;
  margin: 20px 0 9px;
  line-height: 1.6;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 9px;
  border: 1px solid #bbcbbd;
  border-radius: 10px;
  padding: 15px;
  background: #fff;
  color: #213f35;
  min-height: 64px;
}
textarea {
  min-height: 100px;
}
.check {
  display: flex;
  gap: 12px;
  align-items: center;
}
.check input {
  width: 25px;
  min-height: 25px;
  margin: 0;
}
.farm-picker {
  font-size: 17px;
  margin: 0;
}
.farm-picker select {
  font-size: 21px;
}
.hint {
  font-size: 14px !important;
  line-height: 1.7;
  color: #64715e;
}
.steps {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 10px;
  font-size: 15px;
  margin: 25px 0;
}
.steps li {
  flex: 1;
  padding-bottom: 12px;
  border-bottom: 3px solid #dce3d5;
  color: #66735f;
}
.steps .current {
  border-color: var(--green);
  color: var(--green);
  font-weight: 800;
}
.product-list {
  display: grid;
  gap: 15px;
}
.product {
  text-align: left;
  display: grid;
  gap: 14px;
  padding: 22px !important;
  font-weight: 400;
}
.product strong {
  font-size: 25px;
}
.product small {
  font-size: 14px;
}
.product span {
  font-size: 16px;
}
.selected {
  border: 3px solid var(--green);
  background: #f0f5e8;
}
.quantity {
  display: flex;
  gap: 14px;
  margin: 14px 0;
}
.quantity button {
  font-size: 32px;
  min-width: 70px;
}
.quantity > div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.quantity input {
  font-size: 32px;
  text-align: center;
  padding: 10px;
  margin: 0;
  font-weight: 800;
}
.presets {
  display: flex;
  gap: 12px;
}
.presets button {
  flex: 1;
}
.confirmation {
  line-height: 1.8 !important;
  font-size: 30px !important;
}
em {
  font-style: normal;
  background: #edf2d8;
  padding: 0 5px;
}
dl {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(0, 1.6fr);
  gap: 16px;
  font-size: 17px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.notice {
  background: #f2f4e8;
  border-left: 3px solid #94a367;
  padding: 18px;
  border-radius: 4px;
  font-size: 16px !important;
}
.timeline {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 15px;
  font-size: 18px;
}
.timeline li {
  color: #69736c;
}
.timeline span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #edf0ea;
  margin-right: 12px;
  font-size: 15px;
}
.timeline .done {
  color: var(--green);
  font-weight: 700;
}
.timeline .done span {
  background: var(--green);
  color: white;
}
.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.button-row > * {
  flex: 1;
}
details {
  margin-top: 22px;
  font-size: 15px;
}
summary {
  cursor: pointer;
  padding: 15px 0;
  color: #536650;
  font-weight: 600;
}
.log {
  font-size: 14px;
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #eaf0e1;
  border-radius: 18px;
  margin: 28px 0;
  padding: 25px;
  gap: 25px;
}
.stats span {
  font-size: 14px;
  color: #50634c;
}
.stats strong {
  display: block;
  font-size: 30px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.stats small {
  font-size: 16px;
  margin-left: 6px;
}
.customer-main .stats {
  grid-template-columns: 1fr;
  padding: 22px;
  gap: 18px;
}
.customer-main .stats > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.customer-main .stats strong {
  font-size: 23px;
  margin: 0;
}
.workspace {
  max-width: 1320px;
  margin: 0 auto;
  padding: 48px 5%;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}
.section-heading p {
  margin-bottom: 0;
}
.admin-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.admin-list .panel {
  margin: 0;
  min-width: 0;
}
.admin-list h2 {
  margin-top: 22px;
}
.admin-list p {
  font-size: 17px;
}
.silos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.silo {
  padding: 20px;
  border: 1px solid var(--border);
  background: #fffefa;
  border-radius: 16px;
  text-align: center;
}
.silo .row {
  font-size: 13px;
}
.silo .row strong {
  font-size: 20px;
}
.silo h3 {
  font-size: 16px;
  margin: 22px 0 8px;
}
.silo p {
  font-size: 16px;
  margin-bottom: 8px;
}
.silo small {
  font-size: 11px;
  color: var(--muted);
}
.silo.loading {
  background: #eef4da;
  border-color: #738e42;
}
.guide-list {
  padding-left: 24px;
  line-height: 2.2;
  color: var(--muted);
}
.calculator output {
  display: block;
  font-size: 40px;
  font-weight: 800;
  margin: 24px 0;
  color: var(--green);
}
.demo-controls {
  border-top: 1px solid var(--border);
  padding: 22px 5%;
  display: flex;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
  background: #ecefe6;
  margin-top: 30px;
  margin-bottom: 0;
}
.demo-controls .eyebrow {
  align-self: center;
  margin: 0;
}
.demo-controls label {
  font-size: 12px;
  margin: 0;
  flex: 1;
  min-width: 150px;
}
.demo-controls select {
  font-size: 13px;
  min-height: 42px;
  padding: 10px;
}
.demo-controls button {
  font-size: 13px;
  min-height: 42px;
}
.toast {
  display: none;
  position: fixed;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  width: max-content;
  background: #193b34;
  color: #fff;
  padding: 18px 26px;
  box-shadow: 0 8px 25px #0002;
  border-radius: 12px;
  z-index: 30;
  line-height: 1.6;
}
.toast.visible {
  display: block;
}
.success {
  text-align: center;
  padding: 50px 30px;
}
.success-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  height: 70px;
  width: 70px;
  margin: 0 auto 30px;
  background: #e7f0d5;
  color: var(--green);
  font-size: 38px;
}
.error {
  color: #a63720;
  background: #fff0e9;
  padding: 18px;
  font-size: 18px;
}
.empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #142c2777;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 22px;
}
.modal {
  width: 100%;
  max-width: 500px;
  margin: 0;
  max-height: 90vh;
  overflow: auto;
}
.large .customer-main {
  font-size: 26px;
}
.large .customer-main h1 {
  font-size: 42px;
}
.large .customer-main button,
.large .customer-main input,
.large .customer-main select {
  font-size: 26px;
}
.large .customer-main small,
.large .customer-main .hint,
.large .customer-main p {
  font-size: 21px !important;
}
.large .customer-main dl {
  font-size: 22px;
}
.large .customer-main .badge {
  font-size: 19px;
}
@media (max-width: 1050px) {
  .customer-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 35px;
    padding: 35px 24px;
  }
  .brand small {
    font-size: 10px;
  }
  header {
    padding: 20px 24px;
    flex-wrap: wrap;
  }
  .customer-main h1 {
    font-size: 32px;
  }
  .stats strong {
    font-size: 26px;
  }
  .silos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  header {
    padding: 15px 18px;
    gap: 14px;
  }
  .brand {
    font-size: 20px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .brand small {
    font-size: 10px;
  }
  nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
  }
  nav button {
    font-size: 13px;
    padding: 10px 3px;
    white-space: normal;
  }
  .demo-strip {
    font-size: 11px;
    padding: 7px 12px;
  }
  .demo-strip span {
    display: none;
  }
  .customer-layout {
    display: block;
    padding: 28px 18px 15px;
  }
  .customer-main {
    font-size: 20px;
  }
  .customer-main h1 {
    font-size: 30px;
  }
  .panel {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .welcome {
    margin-bottom: 25px;
  }
  .workspace {
    padding: 28px 18px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h1 {
    font-size: 30px;
  }
  .section-heading button {
    width: 100%;
    margin-top: 20px;
  }
  .admin-list {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 12px;
    padding: 18px;
  }
  .stats strong {
    font-size: 25px;
  }
  .stats span {
    font-size: 12px;
  }
  .quantity {
    gap: 8px;
  }
  .quantity button {
    min-width: 56px;
    padding: 10px;
  }
  .quantity input {
    font-size: 30px;
  }
  .confirmation {
    font-size: 27px !important;
  }
  .demo-controls {
    gap: 12px;
    padding: 20px 18px;
  }
  .demo-controls .eyebrow {
    width: 100%;
  }
  .steps {
    font-size: 13px;
    gap: 7px;
  }
  .silo {
    padding: 14px 10px;
  }
  dl {
    font-size: 16px;
    grid-template-columns: 1fr 1.3fr;
    gap: 14px;
  }
  .large .customer-main h1 {
    font-size: 36px;
  }
  .large .customer-main .stats > div {
    display: block;
  }
  .large .customer-main dl {
    grid-template-columns: 1fr;
  }
  .large .customer-main dd {
    text-align: left;
  }
  .large .customer-main .steps {
    flex-wrap: wrap;
  }
  .large .customer-main .quantity {
    flex-wrap: wrap;
  }
  .large .customer-main .quantity > div {
    min-width: 115px;
  }
  .toast {
    bottom: 100px;
    font-size: 16px;
  }
  .customer-main .stats > div {
    flex-wrap: wrap;
  }
  .button-row button {
    min-width: 120px;
  }
  .silos {
    gap: 10px;
  }
}
.customer-main dl {
  font-size: 20px;
}
.customer-main .timeline {
  font-size: 20px;
}
.customer-main .detail > p {
  font-size: 20px;
}
.customer-main .stats strong {
  font-size: 28px;
}
.customer-main .stats > div {
  flex-wrap: wrap;
}
/* 고객 중심 화면: 색과 위치를 항상 고정합니다. */
:root {
  color: #182b43;
  background: #f6f8fc;
  --green: #2056a5;
  --border: #d9e1ed;
  --muted: #506078;
}
.demo-strip {
  background: #264d83;
}
header {
  max-width: 900px;
  margin: auto;
  background: #fff;
  padding: 20px 28px;
  gap: 20px;
}
.brand-mark {
  background: #2056a5;
}
.brand small {
  font-size: 11px;
}
nav {
  gap: 5px;
}
nav button {
  font-size: 16px;
  padding: 10px 14px;
}
nav .active {
  background: #2056a5;
}
.customer-layout {
  display: block;
  max-width: 720px;
  padding: 26px 28px 32px;
  margin: auto;
}
.customer-main {
  width: 100%;
}
.workspace {
  max-width: 1000px;
  padding: 28px;
}
.customer-main .farm-picker {
  font-size: 18px;
}
.farm-picker select {
  margin-top: 6px;
  min-height: 62px;
  background: #fff;
}
.order-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  grid-template-rows: repeat(10, 1fr);
  gap: 14px;
  height: 430px;
  margin-top: 20px;
}
.order-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  padding: 24px;
  border: 0;
  border-radius: 22px;
  color: #112946;
  min-width: 0;
  box-shadow: inset 0 0 0 1px #00000005;
}
.order-tile strong {
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: -1.1px;
}
.tile-number {
  font-size: 16px;
  font-weight: 700;
  opacity: 0.7;
  margin-bottom: 12px;
}
.tile-arrow {
  position: absolute;
  right: 20px;
  bottom: 14px;
  font-size: 28px;
  font-weight: 400;
}
.tile-blue {
  grid-column: 1;
  grid-row: 1/7;
  background: #a8caff;
}
.tile-green {
  grid-column: 2;
  grid-row: 1/5;
  background: #a9e8b7;
  color: #163f2b;
}
.tile-red {
  grid-column: 1;
  grid-row: 7/11;
  background: #ffb4ad;
  color: #542424;
}
.tile-yellow {
  grid-column: 2;
  grid-row: 5/11;
  background: #ffe29b;
  color: #4b3816;
}
.order-tile:active {
  filter: brightness(0.93);
}
.order-tile:disabled {
  opacity: 0.68;
}
.panel {
  background: #fff;
}
.primary {
  background: #2056a5;
  border-color: #2056a5;
}
.primary:hover {
  background: #164683;
}
.secondary {
  background: #edf3ff;
  border-color: #c9daf5;
}
.silos {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.silo {
  background: #fff;
  padding: 20px;
}
.silo h2 {
  font-size: 20px;
  margin: 18px 0 10px;
}
.stock-tank {
  position: relative;
  height: 110px;
  width: 72px;
  border: 2px solid #9bb6de;
  border-radius: 22px 22px 8px 8px;
  overflow: hidden;
  margin: 20px auto 0;
  background: #edf3fb;
}
.stock-tank > div {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #80b2f3;
  border-top: 2px solid #477fc7;
}
.stock-amount {
  font-size: 28px;
}
.stock-amount small {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}
.large .order-tile strong {
  font-size: 36px;
}
.large .order-grid {
  height: 490px;
}
.large .customer-main .order-tile {
  flex-wrap: nowrap;
}
.large .tile-number {
  font-size: 18px;
}
.customer-main .stats strong {
  font-size: 28px;
}
.demo-controls {
  margin-bottom: 0;
}
.workspace .welcome h1 {
  font-size: 32px;
}
@media (max-width: 700px) {
  header {
    padding: 14px 18px;
    gap: 12px;
  }
  .brand {
    font-size: 21px;
  }
  .brand small {
    font-size: 10px;
  }
  nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  nav button {
    font-size: 16px;
    padding: 8px 5px;
    min-height: 44px;
  }
  .customer-layout {
    padding: 18px 16px 24px;
  }
  .order-grid {
    height: 370px;
    gap: 12px;
    margin-top: 16px;
  }
  .order-tile {
    padding: 18px 15px;
    border-radius: 18px;
  }
  .order-tile strong {
    font-size: 26px;
    letter-spacing: -1px;
  }
  .tile-number {
    margin-bottom: 8px;
    font-size: 14px;
  }
  .tile-arrow {
    font-size: 25px;
    right: 15px;
    bottom: 10px;
  }
  .farm-picker select {
    font-size: 20px;
    min-height: 56px;
    padding: 12px;
  }
  .customer-main .farm-picker {
    font-size: 16px;
  }
  .silos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .silo {
    padding: 16px 10px;
  }
  .silo h2 {
    font-size: 18px;
  }
  .large .order-grid {
    height: 450px;
  }
  .large .order-tile strong {
    font-size: 30px;
  }
  .large .customer-main .order-tile {
    font-size: 26px;
  }
  .workspace {
    padding: 24px 16px;
  }
}
@media (max-width: 350px) {
  .order-tile strong {
    font-size: 23px;
  }
  .order-tile {
    padding: 15px 12px;
  }
  .large .order-tile strong {
    font-size: 27px;
  }
}

body {
  padding-bottom: 100px;
}
.large .customer-main .order-tile strong {
  overflow-wrap: anywhere;
}
/* 도착일을 먼저 보여주는 고객 홈 */
header {
  justify-content: center;
  padding: 14px 24px;
}
header nav {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 660px;
}
.customer-layout {
  padding-top: 22px;
}
.arrival-card {
  padding: 22px 24px;
  margin-bottom: 22px;
  background: #fff;
  border: 2px solid #c7d8ed;
  border-left: 8px solid #3568ae;
  border-radius: 12px;
}
.arrival-card h1,
.customer-main .arrival-card h1 {
  font-size: 27px;
  line-height: 1.5;
  letter-spacing: -0.8px;
  margin: 0;
  font-weight: 700;
}
.arrival-date {
  margin: 8px 0 0;
  color: #143d75;
  line-height: 1.35;
}
.arrival-date strong {
  font-size: 44px;
  font-weight: 800;
}
.arrival-date span {
  font-size: 27px;
  font-weight: 600;
}
.arrival-date .arrival-ending {
  display: block;
  font-size: 24px;
  margin-top: 2px;
  color: #182b43;
}
.arrival-note {
  margin: 10px 0 0;
  font-size: 15px;
  color: #53657e;
}
.order-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(190px, auto));
  height: auto;
  gap: 16px;
}
.order-tile {
  grid-column: auto;
  grid-row: auto;
  border-radius: 16px;
  padding: 24px;
  gap: 16px;
  justify-content: center;
  border: 2px solid transparent;
}
.order-tile strong {
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: -1px;
}
.tile-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: #ffffffb8;
}
.tile-icon svg {
  width: 43px;
  height: 43px;
}
.tile-blue {
  background: #94bef4;
  border-color: #548bd2;
  color: #102d56;
}
.tile-green {
  background: #99dccc;
  border-color: #49a58b;
  color: #103f34;
}
.tile-red {
  background: #ffc49c;
  border-color: #e8945b;
  color: #592d0e;
}
.tile-yellow {
  background: #d2b9f2;
  border-color: #a07acb;
  color: #382252;
}
.large .order-grid {
  height: auto;
  grid-template-rows: repeat(2, minmax(225px, auto));
}
.large .customer-main .order-tile strong {
  font-size: 40px;
}
.large .customer-main .arrival-card h1 {
  font-size: 32px;
}
.large .customer-main .arrival-date strong {
  font-size: 48px;
}
@media (max-width: 700px) {
  header {
    padding: 12px 16px;
  }
  .customer-layout {
    padding: 18px 16px 24px;
  }
  .arrival-card {
    padding: 17px 16px;
    margin-bottom: 18px;
    border-left-width: 6px;
  }
  .customer-main .arrival-card h1 {
    font-size: 25px;
  }
  .arrival-date strong {
    font-size: 38px;
  }
  .arrival-date span {
    font-size: 24px;
  }
  .arrival-date .arrival-ending {
    font-size: 22px;
  }
  .arrival-note {
    font-size: 14px;
  }
  .order-grid {
    grid-template-rows: repeat(2, minmax(190px, auto));
    gap: 12px;
    margin-top: 0;
  }
  .order-tile {
    padding: 20px 14px;
    gap: 16px;
    border-radius: 14px;
  }
  .order-tile strong {
    font-size: 30px;
  }
  .tile-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
  }
  .tile-icon svg {
    width: 37px;
    height: 37px;
  }
  .large .customer-main .order-tile strong {
    font-size: 34px;
  }
  .large .customer-main .arrival-card h1 {
    font-size: 29px;
  }
}
@media (max-width: 350px) {
  .order-tile strong {
    font-size: 28px;
  }
  .order-tile {
    padding: 17px 11px;
  }
  .large .customer-main .order-tile strong {
    font-size: 31px;
  }
  .customer-main .arrival-card h1 {
    font-size: 24px;
  }
  .arrival-date span {
    font-size: 22px;
  }
}
.customer-main .arrival-card h1 {
  word-break: keep-all;
}
.order-tile strong {
  word-break: keep-all;
}
/* 자주 쓰는 두 버튼은 넓게, 보조 버튼은 간결하게 */
.order-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(10, minmax(0, 1fr));
  height: 480px;
  gap: 14px;
}
.order-tile {
  border: 1px solid #0000000c;
  border-radius: 24px;
  box-shadow: 0 5px 14px #24395608;
  align-items: flex-start;
  justify-content: space-between;
  padding: 25px;
}
.tile-blue {
  grid-column: 1;
  grid-row: 1/7;
  background: #c4dcff;
  color: #153e74;
}
.tile-green {
  grid-column: 2;
  grid-row: 1/5;
  background: #d8f0e7;
  color: #245544;
}
.tile-red {
  grid-column: 1;
  grid-row: 7/11;
  background: #ffe6d3;
  color: #744019;
}
.tile-yellow {
  grid-column: 2;
  grid-row: 5/11;
  background: #ded1f5;
  color: #493575;
}
.tile-icon {
  background: #ffffffc4;
  box-shadow: 0 2px 5px #00000004;
}
.order-tile strong {
  font-size: 34px;
}
.tile-blue strong,
.tile-yellow strong {
  font-size: 39px;
}
.large .order-grid {
  height: 570px;
  grid-template-rows: repeat(10, minmax(0, 1fr));
}
.farm-options {
  display: grid;
  gap: 14px;
  margin-top: 25px;
}
.farm-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 24px;
  min-height: 84px;
  padding: 20px;
  background: #f1f6ff;
  border-color: #c8d9ee;
}
.farm-option span {
  margin-left: 12px;
}
.quick-order {
  padding: 24px;
}
.customer-main .quick-order h1 {
  font-size: 29px;
  margin-bottom: 4px;
}
.quick-farm {
  font-size: 18px;
  margin: 0 0 18px;
}
.repeat-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  gap: 16px;
  align-items: center;
  background: #f0f5fc;
  border-radius: 15px;
  padding: 18px;
}
.field-caption {
  font-size: 16px;
  color: #52657a;
}
.repeat-product h2 {
  font-size: 26px;
  line-height: 1.4;
  margin: 5px 0 0;
  word-break: keep-all;
}
.repeat-quantity {
  font-size: 15px;
  margin: 0;
}
.repeat-quantity input {
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  min-height: 60px;
  padding: 8px;
  margin-top: 5px;
}
.quick-date {
  font-size: 21px;
  margin-top: 20px;
}
.quick-date input {
  font-size: 23px;
  min-height: 60px;
}
.quick-price {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 17px;
  margin: 14px 0 6px;
}
.quick-price strong {
  color: #153e74;
}
.quick-destination {
  margin: 0;
}
.quick-destination summary {
  padding: 10px 0;
  font-size: 16px;
}
.quick-footnote {
  font-size: 14px;
  margin: 10px 0 0;
  text-align: center;
}
.stock-tank {
  width: 108px;
  height: 132px;
  border-radius: 28px 28px 12px 12px;
}
.stock-percent {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 800;
  color: #14365d;
  text-shadow: 0 1px 3px #fff;
}
.stock-tank > div {
  background: #9ac1ef;
}
@media (max-width: 700px) {
  .order-grid {
    height: 410px;
    gap: 12px;
  }
  .order-tile {
    padding: 20px 16px;
    border-radius: 21px;
  }
  .order-tile strong {
    font-size: 28px;
  }
  .tile-blue strong,
  .tile-yellow strong {
    font-size: 32px;
  }
  .tile-icon {
    width: 48px;
    height: 48px;
  }
  .tile-icon svg {
    width: 34px;
    height: 34px;
  }
  .large .order-grid {
    height: 530px;
    grid-template-rows: repeat(10, minmax(0, 1fr));
  }
  .large .customer-main .order-tile strong {
    font-size: 32px;
  }
  .large .customer-main .tile-blue strong,
  .large .customer-main .tile-yellow strong {
    font-size: 36px;
  }
  .quick-order {
    padding: 20px 16px;
  }
  .repeat-product {
    padding: 15px 12px;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) 90px;
  }
  .repeat-product h2 {
    font-size: 24px;
  }
  .quick-farm {
    margin-bottom: 14px;
  }
  .stock-tank {
    width: 96px;
    height: 124px;
  }
  .stock-percent {
    font-size: 30px;
  }
  .large .repeat-product {
    grid-template-columns: 1fr;
  }
  .large .repeat-quantity input {
    max-width: 130px;
  }
}
@media (max-width: 350px) {
  .order-tile {
    padding: 17px 12px;
  }
  .order-tile strong {
    font-size: 25px;
  }
  .tile-blue strong,
  .tile-yellow strong {
    font-size: 28px;
  }
  .large .customer-main .order-tile strong {
    font-size: 28px;
  }
  .large .customer-main .tile-blue strong,
  .large .customer-main .tile-yellow strong {
    font-size: 31px;
  }
  .repeat-product {
    grid-template-columns: minmax(0, 1fr) 76px;
  }
  .repeat-product h2 {
    font-size: 22px;
  }
  .quick-price {
    flex-wrap: wrap;
  }
}
/* 선명한 네 가지 색, 동일한 선 굵기의 이중톤 아이콘 */
.tile-blue {
  background: #255bc1;
  color: #fff;
  --icon-surface: #255bc1;
}
.tile-green {
  background: #ffdc76;
  color: #4e3607;
  --icon-surface: #ffdc76;
}
.tile-red {
  background: #ffb88f;
  color: #562b14;
  --icon-surface: #ffb88f;
}
.tile-yellow {
  background: #08796d;
  color: #fff;
  --icon-surface: #08796d;
}
.tile-icon {
  width: 66px;
  height: 66px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.tile-icon svg {
  width: 62px;
  height: 62px;
}
.order-tile {
  box-shadow: 0 5px 12px #2237530c;
}
.history-heading {
  margin: 18px 0 24px;
}
.simple-order {
  padding: 28px;
  margin-bottom: 24px;
  border-radius: 22px;
  border: 1px solid #d7e1ed;
  box-shadow: 0 4px 18px #24395606;
}
.order-farm {
  font-size: 17px;
  color: #50647c;
  margin-bottom: 10px;
}
.order-product-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}
.order-product-row h2 {
  font-size: 29px;
  line-height: 1.4;
  margin: 0;
  word-break: keep-all;
}
.order-tons {
  font-size: 38px;
  line-height: 1.2;
  white-space: nowrap;
  color: #173d73;
}
.order-tons span {
  font-size: 23px;
  margin-left: 3px;
}
.order-arrival {
  margin-top: 22px;
  padding: 19px 20px;
  background: #f0f5fc;
  border-radius: 14px;
  display: grid;
  gap: 5px;
}
.order-arrival > span {
  font-size: 18px;
  color: #52647c;
}
.order-arrival strong {
  font-size: 31px;
  line-height: 1.3;
  color: #173d73;
}
.order-arrival small {
  font-size: 15px;
  color: #64738a;
}
.shipping-status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 800;
  color: #05685e;
  padding: 20px 0;
}
.status-dot {
  height: 12px;
  width: 12px;
  flex-shrink: 0;
  border-radius: 50%;
  background: currentColor;
}
.shipping-status.pending {
  color: #8a5700;
}
.shipping-status.cancelled {
  color: #6b7280;
}
.order-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 6px;
}
.order-actions button {
  font-size: 22px;
  min-height: 66px;
  border-radius: 12px;
}
.edit-button {
  background: #e7f0ff;
  color: #194b94;
  border: 1px solid #b8cff3;
}
.cancel-button {
  background: #fff4f1;
  color: #a43122;
  border: 1px solid #edb5aa;
}
.order-more {
  border-top: 1px solid #e2e8ef;
  margin-top: 20px;
}
.order-more summary {
  font-size: 19px;
  color: #435a76;
  padding: 20px 0 4px;
  min-height: 64px;
}
.order-more[open] summary {
  padding-bottom: 16px;
}
.monthly-summary > summary {
  font-size: 20px;
  padding: 0;
  min-height: 40px;
}
.request-note {
  font-size: 18px;
  line-height: 1.5;
}
.large .customer-main .order-product-row h2 {
  font-size: 34px;
}
.large .customer-main .order-arrival strong {
  font-size: 36px;
}
.large .customer-main .shipping-status {
  font-size: 30px;
}
@media (max-width: 700px) {
  .tile-icon {
    width: 56px;
    height: 56px;
  }
  .tile-icon svg {
    width: 54px;
    height: 54px;
  }
  .simple-order {
    padding: 23px 18px;
  }
  .order-product-row h2 {
    font-size: 27px;
  }
  .order-tons {
    font-size: 35px;
  }
  .order-arrival {
    padding: 16px;
    margin-top: 18px;
  }
  .order-arrival strong {
    font-size: 29px;
  }
  .shipping-status {
    font-size: 25px;
    padding: 18px 0;
  }
  .order-actions button {
    font-size: 21px;
  }
  .order-more summary {
    font-size: 18px;
  }
  .large .customer-main .order-product-row {
    flex-wrap: wrap;
  }
  .large .customer-main .order-product-row h2 {
    font-size: 31px;
  }
}
@media (max-width: 350px) {
  .order-product-row {
    flex-wrap: wrap;
  }
  .order-product-row h2 {
    font-size: 26px;
  }
  .order-arrival strong {
    font-size: 27px;
  }
  .order-actions {
    gap: 8px;
  }
  .order-actions button {
    padding: 10px;
    font-size: 20px;
  }
  .tile-icon {
    width: 48px;
    height: 48px;
  }
  .tile-icon svg {
    width: 48px;
    height: 48px;
  }
}
.tile-green .tile-icon,
.tile-red .tile-icon {
  width: 48px;
  height: 48px;
}
.tile-green .tile-icon svg,
.tile-red .tile-icon svg {
  width: 46px;
  height: 46px;
}
.selected-feed {
  display: grid;
  gap: 4px;
  background: #f0f5fc;
  padding: 14px 16px;
  border-radius: 12px;
}
.selected-feed span {
  font-size: 16px;
  color: #53657b;
}
.selected-feed strong {
  font-size: 25px;
}
.amount-label {
  font-size: 19px;
  margin: 15px 0 6px;
}
.compact-quantity {
  display: flex;
  gap: 10px;
  align-items: center;
}
.compact-quantity button {
  min-width: 64px;
  font-size: 28px;
  min-height: 60px;
  padding: 8px;
}
.compact-quantity > div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.compact-quantity input {
  font-size: 29px;
  font-weight: 800;
  text-align: center;
  margin: 0;
  min-height: 60px;
  padding: 8px;
  min-width: 0;
}
.compact-quantity span {
  font-size: 22px;
}
.unified-order .quick-date {
  margin-top: 15px;
  font-size: 19px;
}
.unified-order .quick-date input {
  margin-top: 6px;
}
.destination-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  margin-top: 12px;
  border-bottom: 1px solid #e2e8ef;
}
.destination-preview > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.destination-preview span {
  font-size: 16px;
  color: #53657b;
}
.destination-preview strong {
  font-size: 19px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.destination-preview small {
  font-size: 16px;
  color: #52647c;
}
.location-button {
  font-size: 16px;
  padding: 8px 12px;
  flex-shrink: 0;
  background: #f0f5fc;
  border-color: #c8d8ed;
}
.location-options,
.bin-options {
  display: grid;
  gap: 12px;
}
.location-choice {
  display: grid;
  gap: 8px;
  text-align: left;
  font-size: 22px;
  padding: 18px;
}
.location-choice span {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.location-choice.selected,
.bin-choice.selected {
  border: 2px solid #245bc1;
  background: #edf4ff;
  color: #183e7a;
}
.bin-choice {
  font-size: 20px;
  text-align: left;
}
.unified-order .quick-footnote {
  font-size: 13px;
}
.large .destination-preview {
  flex-wrap: wrap;
}
.large .compact-quantity input {
  width: 100%;
}
@media (max-width: 350px) {
  .compact-quantity {
    gap: 7px;
  }
  .compact-quantity button {
    min-width: 52px;
  }
  .destination-preview {
    flex-wrap: wrap;
  }
  .location-button {
    width: 100%;
  }
}
.order-tons {
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -2px;
}
.order-tons span {
  font-size: 26px;
  letter-spacing: 0;
}
.ordered-at {
  font-size: 17px;
  color: #53657b;
  margin: 8px 0 0;
}
.delivery-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
  gap: 0;
}
.delivery-progress li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  font-size: 14px;
  color: #68778b;
  min-width: 0;
}
.delivery-progress li:before {
  content: "";
  position: absolute;
  left: -50%;
  top: 14px;
  width: 100%;
  height: 3px;
  background: #dce4ee;
}
.delivery-progress li:first-child:before {
  display: none;
}
.delivery-progress .progress-node {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid #cbd6e3;
  background: white;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
}
.delivery-progress .done:before,
.delivery-progress .current:before {
  background: #08796d;
}
.delivery-progress .done .progress-node {
  background: #08796d;
  border-color: #08796d;
  color: white;
}
.delivery-progress .current {
  color: #07665c;
  font-weight: 800;
}
.delivery-progress .current .progress-node {
  background: #08796d;
  color: white;
  border-color: #08796d;
  box-shadow: 0 0 0 4px #d8eee8;
}
.delivery-progress b {
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 5px;
  background: #e2f2ed;
  color: #07665c;
}
.order-actions button {
  font-size: 24px;
  min-height: 68px;
}
.large .customer-main .order-tons {
  font-size: 54px;
}
.large .delivery-progress li {
  font-size: 16px;
}
.large .delivery-progress b {
  font-size: 14px;
}
@media (max-width: 700px) {
  .order-tons {
    font-size: 46px;
  }
  .order-tons span {
    font-size: 25px;
  }
  .order-actions button {
    font-size: 23px;
  }
  .order-product-row {
    align-items: center;
  }
  .order-arrival {
    margin-top: 15px;
  }
}
@media (max-width: 350px) {
  .order-tons {
    font-size: 44px;
  }
  .order-actions button {
    font-size: 22px;
  }
  .delivery-progress li {
    font-size: 12px;
  }
  .large .delivery-progress li {
    font-size: 14px;
  }
  .ordered-at {
    font-size: 16px;
  }
}
.feed-cards {
  border: 0;
  padding: 0;
  margin: 16px 0;
  min-width: 0;
  display: grid;
  gap: 12px;
}
.feed-cards legend {
  font-size: 21px;
  font-weight: 700;
  padding: 0;
  margin-bottom: 10px;
}
.feed-card {
  display: grid;
  gap: 9px;
  width: 100%;
  text-align: left;
  border: 3px solid #dbe3ed;
  border-radius: 16px;
  padding: 17px 18px;
  background: #fff;
  min-height: 140px;
}
.feed-card.is-selected {
  border-color: #245bc1;
  background: #eef5ff;
  box-shadow: 0 0 0 1px #245bc1;
}
.feed-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 16px;
}
.recent-feed-tag {
  background: #fff0c4;
  border-radius: 6px;
  padding: 4px 9px;
  color: #624509;
  font-size: 15px;
}
.feed-check {
  color: #617087;
  font-size: 16px;
}
.is-selected .feed-check {
  color: #174eae;
  font-weight: 800;
}
.feed-card strong {
  font-size: 27px;
  line-height: 1.4;
  color: #172f50;
  word-break: keep-all;
}
.feed-purpose {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
  color: #425670;
  word-break: keep-all;
}
.large .customer-main .feed-card strong {
  font-size: 31px;
}
.large .customer-main .feed-purpose {
  font-size: 25px;
}
@media (max-width: 350px) {
  .feed-card {
    padding: 15px 12px;
  }
  .feed-card strong {
    font-size: 25px;
  }
  .feed-purpose {
    font-size: 20px;
  }
  .feed-card-top {
    gap: 6px;
    flex-wrap: wrap;
  }
}
.delivery-dates { border: 0; padding: 0; margin: 24px 0; min-width: 0; }
.delivery-dates legend { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.date-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.date-choice { display: flex; flex-direction: column; align-items: center; gap: 5px; min-height: 124px; border: 3px solid #c5cfdb; background: #fff; color: #192c44; padding: 12px 6px; }
.date-choice strong { font-size: 30px; }
.date-choice span { font-size: 22px; }
.date-choice small { font-size: 18px; }
.delivery-dates .is-selected { border: 3px solid #245bc1; background: #eaf2ff; color: #153d85; }
.delivery-dates button:disabled { opacity: 1; color: #626c78; background: #e6e8ec; border-color: #d4d8df; cursor: not-allowed; }
.chosen-date { font-size: 26px; font-weight: 800; color: #153d85; margin: 16px 0 6px; }
.calendar-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 16px 0; }
.calendar-heading button { min-width: 48px; padding: 8px; }
.calendar-heading strong { font-size: 22px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; }
.calendar-grid button { min-width: 0; min-height: 52px; padding: 8px 0; font-size: 21px; border: 2px solid #b4c4db; border-radius: 8px; background: #fff; color: #192c44; }
.weekday { text-align: center; font-size: 18px; }
.large .date-choice strong { font-size: 34px; }
.large .chosen-date { font-size: 30px; }
.reservation-options { border:0; padding:0; margin:24px 0; min-width:0; }
.reservation-options legend { font-size:26px; font-weight:800; margin-bottom:12px; }
.reservation-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.reservation-choice { min-width:0; min-height:68px; padding:10px 4px; font-size:21px; border:2px solid #bccbdb; color:#253c55; background:#fff; }
.reservation-choice.is-selected { border:3px solid #245bc1; background:#eaf2ff; color:#153d85; }
.reservation-label { font-size:22px; font-weight:700; margin:20px 0 10px; }
.ordinal-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
.reservation-preview { margin-top:20px; padding:18px; border-radius:16px; background:#edf5f0; color:#204c3c; }
.reservation-preview strong { display:block; font-size:25px; }
.reservation-preview p { margin:10px 0; }
.reservation-preview ol { padding-left:28px; font-size:23px; }
.series-note { padding:12px; background:#edf5f0; border-radius:10px; font-weight:700; }
.series-note small { font-weight:400; }
.reorder-review h2 { font-size:28px; line-height:1.4; }
.reorder-review h2 strong { color:#245bc1; font-size:34px; white-space:nowrap; }
.reorder-review dl { margin:16px 0; }
.reorder-review dd { font-size:24px; font-weight:700; overflow-wrap:anywhere; }
.reorder-check { background:#edf5f0; padding:16px 12px; border-radius:12px; font-size:23px; margin:16px 0; }
.reservation-group h2 { font-size:28px; }
.series-frequency { font-size:22px; color:#345c4e; }
.next-quantity { font-size:23px; }
.next-quantity strong { font-size:34px; }
.reservation-ended { font-size:26px; font-weight:700; }
.reservation-schedule { margin-top:20px; }
.reservation-schedule summary { font-size:23px; font-weight:700; padding:18px 0; cursor:pointer; }
.reservation-schedule ol { padding:0; list-style:none; }
.reservation-schedule li { border-top:1px solid #cad4dd; padding:18px 0; display:grid; gap:10px; }
.reservation-schedule li strong { font-size:25px; }
.scope-choice { display:block; width:100%; margin:12px 0; min-height:88px; font-size:25px; border:3px solid #bac7d5; background:white; color:#243d58; }
.scope-choice small { font-size:21px; }
.scope-choice.selected { border-color:#245bc1; background:#eaf2ff; }
.scope-choice.selected::before { content:'✓ '; }
.cancel-summary { font-weight:800; font-size:24px; }
.series-cancel-modal { max-height:90dvh; overflow-y:auto; }
.edit-preview-list { list-style:none; padding:0; }
.edit-preview-list li { margin:12px 0; padding:14px; background:#eef5fa; border-radius:12px; overflow-wrap:anywhere; }
.edit-preview-list p { margin:8px 0; font-size:22px; }
.reservation-group > .edit-button { margin-bottom:12px; }
.pin-modal { width:min(440px,calc(100vw - 24px)); max-height:95dvh; overflow-y:auto; }
.pin-modal h2 { font-size:28px; margin:0 0 8px; }
.pin-modal > p { margin:8px 0; }
.pin-dots { display:flex; justify-content:center; gap:22px; font-size:34px; margin:16px 0; color:#234b88; }
.pin-pad { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.pin-pad button { min-height:64px; padding:8px 4px; font-size:29px; background:#edf3fc; color:#153d85; border:1px solid #b6c6dc; }
.pin-pad button[data-value="back"],.pin-pad button[data-value="clear"] { font-size:18px; }
.pin-error { min-height:28px; font-size:19px; color:#9b2424; }

/* 전화 버튼 아래까지 스크롤해 마지막 주문 버튼도 가리지 않도록 여백 유지 */
.call-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: 80px;
  height: 80px;
  min-height: 80px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #234e91;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 4px 14px #15356430;
  z-index: 20;
}
.call-float:active { transform: scale(.95); }
.call-float:focus-visible { outline: 3px solid #172e50; outline-offset: 3px; }

/* 본문은 화면 끝까지 사용하고 전화 버튼은 위에 띄움 */
body { padding-bottom: 0; }
#app { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
#app > header, #app > .demo-banner { flex-shrink: 0; }
.content-viewport { flex: 1; min-height: 0; overflow-y: auto; scrollbar-gutter: stable; }
.call-float { bottom: calc(18px + env(safe-area-inset-bottom)); }
.content-viewport .customer-layout { min-height: 100%; display: flex; flex-direction: column; width: 100%; margin: 0 auto; padding-bottom: 12px; }
.customer-main:has(.home-screen) { flex: 1; display: flex; }
.home-screen { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.home-screen .arrival-card { flex-shrink: 0; margin-bottom: 16px; }
.home-screen .order-grid { flex: 1; height: auto; min-height: 430px; margin-bottom: 0; }
@media (max-width: 700px) {
  .content-viewport .customer-layout { padding: 16px 16px 8px; }
  .home-screen .order-grid { min-height: 370px; gap: 10px; }
  .home-screen .order-tile { padding: 18px 14px; }
}

.content-viewport .customer-layout:not(:has(.home-screen)) { padding-bottom: 108px; }

.home-screen .tile-yellow { padding-bottom: 100px; }
@media (max-width:700px) {
  .home-screen .order-grid { min-height: 410px; }
}
