/* account.css — sign-in, the account page and the info pages (V15 lane 3), from the canvas's "Sign in" and
   "Your account". navi.css holds the look; this holds only these pages' shapes. Inputs are 16 px (iOS zooms below). */

/* ── Shared: boxes, words, small buttons ── */
.field-label { display: block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.field {
  display: block; width: 100%; height: 52px; margin-top: 6px; padding: 0 16px; border-radius: 16px;
  border: 1px solid var(--field-line); background: #fff; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.field:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
select.field {
  padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A2A30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
textarea.field { height: auto; min-height: 104px; padding: 12px 16px; line-height: 1.5; resize: vertical; }
.msg { margin: 8px 0 0; min-height: 1.4em; font-size: 15px; line-height: 1.4; color: var(--accent); }
.msg:empty { min-height: 0; margin: 0; }
.msg.ok { color: var(--ink-soft); }
.fine { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-dim); }
.fine strong { color: var(--ink-soft); }
.text-btn {
  min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--accent);
  font-size: 15px; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; text-decoration: none;
  display: inline-flex; align-items: center;
}
.text-btn:disabled { opacity: .5; cursor: default; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 10px; font-size: 15px; line-height: 1.35; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--ink-soft); text-decoration: none; }

/* ── /signin ── one card, one step at a time; Navi peeks over its edge */
#signin { padding: 64px 0 8px; }
.signin-card { position: relative; max-width: 460px; margin: 0 auto; }
.signin-card .peek { position: absolute; right: 18px; top: -70px; width: 92px; height: auto; display: block; pointer-events: none; }
.signin-card h1 { font-size: 44px; padding-right: 72px; }   /* clear of Navi when it runs to two lines */
.signin-card .lede { margin: 8px 0 0; font-size: 16px; line-height: 1.45; color: var(--ink-soft); overflow-wrap: anywhere; }
.signin-card .btn-block { margin-top: 14px; }
.signin-card .msg + .btn-block { margin-top: 10px; }
.step[hidden] { display: none; }
.step:not([hidden]) { animation: navi-step .3s var(--ease) both; }
@keyframes navi-step { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.signin-card.busy { cursor: progress; }
.field.code { height: 64px; text-align: center; font-size: 30px; font-weight: 600; letter-spacing: .45em; padding: 0 0 0 .45em; }
.alt { display: flex; justify-content: center; margin-top: 4px; }
.alt.split { justify-content: space-between; margin-top: 0; }
.signin-card .btn-soft.btn-block { margin-top: 10px; }
/* "Email me a code" breathes, so the one deliberate tap is easy to find (Chris, 11-05). Opacity only, on a ring. */
.btn.pulse { position: relative; }
.btn.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 2px rgba(214, 84, 136, .7), 0 0 22px 6px rgba(246, 140, 182, .7);
  opacity: 0; animation: navi-pulse 2.2s ease-in-out infinite;
}
.btn.pulse:disabled::after { animation: none; opacity: 0; }
@keyframes navi-pulse { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .btn.pulse::after { animation: none; opacity: .6; } }
.done { text-align: center; padding: 8px 0; }

/* Google / Apple, then "or with your email" */
.social { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.social[hidden] { display: none; }
.social .g-btn { min-height: 44px; display: flex; justify-content: center; }
.social .apple { margin-top: 0; }
.social .apple svg { width: 17px; height: 20px; margin-top: -3px; }
.social .fine { margin-top: 0; text-align: center; }
.or { margin: 6px 0 0; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-dim); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--blush); }

@media (min-width: 900px) {
  #signin { padding: 96px 0 24px; }
  .signin-card .peek { width: 110px; top: -84px; right: 26px; }
  .signin-card h1 { font-size: 52px; padding-right: 84px; }
}

/* ── /account ── */
#account { padding-top: 16px; }
.acct-head { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.acct-head .avatar {
  flex: none; width: 66px; height: 66px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; background: #fff;
  box-shadow: 0 8px 18px rgba(160, 72, 104, .18);
}
.acct-head .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acct-head h1 { font-size: 36px; overflow-wrap: anywhere; }
.acct-head .who { margin: 4px 0 0; font-size: 15px; color: var(--ink-dim); overflow-wrap: anywhere; }
.acct-tabs { margin-top: 20px; }
.acct-cols { margin-top: 16px; }
.acct-cols > section > h2 { display: none; }
#account[data-tab="orders"] #details-panel, #account[data-tab="details"] #orders-panel { display: none; }
@media (min-width: 900px) {
  .acct-head .avatar { width: 84px; height: 84px; }
  .acct-head h1 { font-size: 52px; }
  .acct-tabs { display: none; }
  .acct-cols { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
  .acct-cols > section > h2 { display: block; font-size: 30px; margin-bottom: 14px; }
  #account[data-tab] #details-panel, #account[data-tab] #orders-panel { display: block; }
  #details-panel { position: sticky; top: 96px; }
  .order { padding: 22px 24px; }
  .order-thumbs .pc { width: 58px; }
}

/* My Orders */
.orders { display: flex; flex-direction: column; gap: 14px; }
.order { border-radius: 26px; padding: 18px; }
.order-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.order-top h3 { font-size: 24px; }
.order-top .price { font-size: 22px; white-space: nowrap; }
.order-meta { margin: 2px 0 0; font-size: 14px; color: var(--ink-dim); }
.steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.steps li { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-dim); }
.steps .bar { height: 6px; border-radius: 3px; background: var(--blush); }
.steps .on { color: var(--ink); }
.steps .on .bar { background: var(--ink); }
.steps [aria-current] { font-weight: 700; }
.order-line { margin: 12px 0 0; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.order-line .why { display: block; margin-top: 4px; color: var(--ink-soft); font-style: italic; }
.order.ended { opacity: .72; }
.track { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.track .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.track .num { font-size: 13px; color: var(--ink-dim); letter-spacing: .02em; overflow-wrap: anywhere; }
.order-thumbs { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.order-thumbs .pc { width: 44px; box-shadow: 0 4px 10px rgba(90, 40, 60, .14); }
.order-thumbs .more { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.order-cards { margin-top: 6px; }
.order-cards summary {
  min-height: 44px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 600; color: var(--accent); -webkit-tap-highlight-color: transparent;
}
.order-cards summary::-webkit-details-marker { display: none; }
.order-cards summary .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.order-cards[open] summary .icon { transform: rotate(180deg); }
.order-cards ul { list-style: none; margin: 0; padding: 0; }
.order-cards li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--blush); font-size: 15px; }
.order-cards li .name { font-size: 16px; }
.order-cards li .off { color: var(--ink-dim); font-style: italic; }
.order-cards li .price { font-size: 16px; white-space: nowrap; }
.proof { margin-top: 2px; }

/* A review, inside its order */
.review-ask { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.review-ask .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.review-form { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--blush); }
.review-form[hidden] { display: none; }
.review-form fieldset { border: 0; margin: 0; padding: 0; }
.review-form legend { padding: 0; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.rate { display: flex; gap: 2px; margin-top: 4px; }
.rate label { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate svg { width: 30px; height: 30px; fill: var(--blush); transition: fill .15s ease; }
.rate label.lit svg { fill: var(--accent); }
.rate input:focus-visible + svg { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.review-form .btn { margin-top: 10px; }

.empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty img { width: 110px; height: auto; }
.empty p { margin: 0; color: var(--ink-soft); }

/* Your details */
.details { padding-top: 6px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--blush); }
.row > div { min-width: 0; }
.row strong { display: block; font-size: 15px; }
.row .val { display: block; font-size: 15px; color: var(--ink-dim); overflow-wrap: anywhere; }
.row.check { margin: 0; min-height: 0; justify-content: space-between; }
.edit { padding: 4px 0 16px; border-bottom: 1px solid var(--blush); }
.edit[hidden] { display: none; }
.edit .field-label:first-child { margin-top: 4px; }
.edit-actions { margin-top: 12px; display: flex; gap: 10px; }
.edit-actions .btn { flex: 1; min-height: 46px; padding: 0 16px; font-size: 15px; }
.signout { margin-top: 20px; }
.signout .fine { text-align: center; }
.signout .alt { margin-top: 6px; }
.signout .msg { text-align: center; }
/* "Request account deletion": the ask on the page, under a thin rule (v17-delete-01); its two buttons stay on one line */
.signout .alt[hidden], .delete-ask[hidden] { display: none; }
.delete-ask { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--blush); }
.delete-ask .ask-title { margin: 0; font-size: 16px; line-height: 1.4; }
.signout .delete-ask .fine, .signout .delete-ask .msg { text-align: left; }
.delete-ask .edit-actions .btn { white-space: nowrap; }

/* ── /info/… ── her words, one column to read */
#info { padding-top: 16px; max-width: 760px; margin: 0 auto; }
.info-nav { margin: 4px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.info-nav::-webkit-scrollbar { display: none; }
.info-nav a {
  flex: none; min-height: 44px; padding: 0 15px; border-radius: 999px; display: inline-flex; align-items: center;
  background: rgba(255, 255, 255, .8); border: 1px solid #fff; font-size: 15px; font-weight: 600; text-decoration: none;
  box-shadow: 0 4px 12px rgba(160, 72, 104, .08);
}
.info-nav a[aria-current="page"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.info-nav[hidden] { display: none; }
#info > h1 { margin-top: 18px; }
#info [data-body] > .empty { margin-top: 20px; }
#info .sub { margin: 8px 0 0; font-size: 17px; color: var(--ink-soft); }
.prose { margin-top: 20px; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul { margin: 12px 0 0; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose h2 { margin-top: 28px; font-size: 26px; }
.prose strong { font-weight: 700; }
.qa + .qa { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--blush); }
.qa h2 { margin: 0; font-size: 22px; line-height: 1.25; }
.qa p { margin-top: 6px; }
.prose .closing { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--blush); color: var(--ink-soft); }

/* Shipping: her table */
.zone { margin-top: 18px; }
.zone h2 { font-size: 28px; }
.zone .where { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-dim); }
.ship-opts { list-style: none; margin: 12px 0 0; padding: 0; }
/* a phone: the option, its prices under it, her note; a wider screen: the prices on the right */
.ship-opts li { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 14px 0; border-top: 1px solid var(--blush); }
.ship-opts .what { font-size: 17px; }
.ship-opts .cost { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--accent); }
.ship-opts .cost span { display: block; }
.ship-opts .note { font-size: 14px; line-height: 1.4; color: var(--ink-dim); }
@media (min-width: 640px) {
  .ship-opts li { grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; }
  .ship-opts .cost { grid-row: 1 / span 2; grid-column: 2; text-align: right; }
}
.ship-note { margin-top: 18px; }
.ship-note p { margin: 0; font-size: 16px; line-height: 1.55; }
.ship-note p + p { margin-top: 10px; }
@media (min-width: 900px) {
  #info { padding-top: 28px; }
  .ship-opts .cost { font-size: 20px; }
}
