/* ArchlyShelf page CSS: the app's windows redrawn in the new brand, inside the page's visuals. */

/* the hero: the ArchlyShelf lockup above the h1, the lit ground of the art in the brand's warm tones */
.as-brand { margin: 0 0 var(--s-5); line-height: 0; }
.as-brand img { height: 36px; width: auto; }
.hero__art { background: #e9e3d8; }
.hero__proof { font-size: var(--t-small); color: var(--muted); }

/* the main window */
.as-app { background: #fff; color: #23201d; border-radius: 14px; overflow: hidden; font: 400 13px/1.45 var(--font-text);
  box-shadow: 0 0 0 1px rgb(42 39 36 / .1), 0 30px 60px -30px rgb(0 0 0 / .4); }
.as-app__bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-bottom: 1px solid rgb(42 39 36 / .08); }
.as-app__bar b { font-weight: 600; }
.as-app__trial { color: #6a6764; margin-left: 4px; }
.as-app__menu { display: flex; gap: 18px; padding: 6px 14px; border-bottom: 1px solid rgb(42 39 36 / .08); color: #6a6764; }
.as-app__body { padding: 14px var(--ly-cut-room, 48px) 18px 16px; display: grid; gap: 10px; }
.as-app__h { margin: 0; font-weight: 600; font-size: 13px; }
.as-cfg { margin: 0; display: grid; }
.as-cfg > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-bottom: 1px solid rgb(42 39 36 / .07); align-items: center; }
.as-cfg dt { color: #6a6764; }
.as-cfg dd { margin: 0; font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-sel { display: inline-block; padding: 1px 8px; border: 1px solid rgb(42 39 36 / .16); border-radius: 4px; font-family: var(--font-text); font-size: 12.5px; }
.as-tick { margin: 0; display: flex; align-items: center; gap: 8px; }
.as-tick i { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 4px; background: var(--brand-ferozi); color: #fff; font-style: normal; font-size: 11px; }
.as-prev { border-radius: 10px; background: #f6f4f0; padding: 10px 12px; }
.as-prev__total { margin: 0 0 6px; font-weight: 600; color: #0d6e70; }
.as-prev ul { list-style: none; margin: 0; padding: 0; font: 400 12.5px/1.75 var(--font-mono); color: #4a4642; }

/* the job summary over the window */
.d-card { background: #fff; color: #23201d; border-radius: 12px; padding: 14px 16px; font: 400 14px/1.4 var(--font-text); box-shadow: 0 0 0 1px rgb(42 39 36 / .08), 0 18px 40px -18px rgb(0 0 0 / .4); }
.d-card h5 { margin: 0 0 4px; font: 600 14px/1.3 var(--font-text); }
.d-card__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
.as-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 13px; font-weight: 500; background: #e7f3f2; color: #0d6e70; }
.d-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: #4a4642; border-top: 1px solid rgb(42 39 36 / .07); }
.d-note__line:first-of-type { border-top: 0; }
.d-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #e7f3f2; color: #0d6e70; font-style: normal; font-size: 12px; font-weight: 700; }
.d-note__line i.warn { background: #fbf1dc; color: #8a6417; }
.d-note__line b { font-weight: 600; color: #23201d; }
@media (max-width: 1023px) { .hero__art > .ly-piece--note { left: var(--s-4); bottom: var(--s-4); width: 270px; } }
@media (max-width: 639px) { .as-app__menu { display: none; } .as-cfg > div { grid-template-columns: 82px minmax(0, 1fr); } }

/* the four operations */
#operations .panel { --p-h: 280px; background: #e9e3d8; }
#operations .panel::before { display: none; }
.as-mini { width: 100%; }
.as-mini .mw__bar { gap: 8px; }
.as-list { list-style: none; margin: 0; padding: 0; display: grid; }
.as-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid rgb(42 39 36 / .07); font: 400 12.5px/1.4 var(--font-mono); }
.as-list li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-list li span + span { color: #6a6764; flex: none; }
.as-paths p { margin: 0; }
.as-paths code { display: block; padding: 8px 10px; border-radius: 8px; background: #f6f4f0; font: 400 12.5px/1.4 var(--font-mono); overflow-wrap: anywhere; }
.as-paths__k { display: block; margin-bottom: 4px; font-size: 13px; color: #6a6764; }
.as-paths__arrow { text-align: center; color: var(--brand-ferozi); font-weight: 700; }
.as-note { font-size: 13px; color: #6a6764; }
.as-bar { height: 8px; border-radius: 99px; background: #efece6; overflow: hidden; }
.as-bar i { display: block; width: 34%; height: 100%; border-radius: inherit; background: var(--brand-ferozi); }
.as-prog { margin: 0; display: grid; }
.as-prog > div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid rgb(42 39 36 / .07); font-size: 13px; }
.as-prog dt { color: #6a6764; }
.as-prog dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
#operations .as-log { padding: 0; background: none; }
#operations .as-log li { padding: 5px 0; border-top: 1px solid rgb(42 39 36 / .07); }
@media (max-width: 639px) { #operations .panel { --p-h: 190px; } }

/* the safety statement */
#safety .wrap { gap: var(--s-6); }
#safety .as-eyebrow { margin: 0; font-size: var(--t-label); font-weight: 500; letter-spacing: 0; }
#safety .mo-wh__text { margin: 0; max-width: 22ch; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.08; }
#safety .mo-wh__text strong { font-weight: inherit; }
.as-safe { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.as-safe li { padding-top: var(--s-4); border-top: 1px solid var(--line); }
.as-safe__k { display: block; margin-bottom: var(--s-2); font-weight: 600; }
@media (max-width: 1023px) { .as-safe { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); } }

/* compression: the formats, beside the confirmation dialog */
.as-formats { margin-top: var(--s-3); }
.as-formats .rows__value { color: var(--muted); }
.as-dialog-frame { display: grid; place-items: center; background: #e9e3d8; padding: var(--s-7) var(--s-6); }
.as-dialog { position: relative; width: min(100%, 440px); background: #fff; color: #23201d; border-radius: 14px; font: 400 13px/1.45 var(--font-text);
  box-shadow: 0 0 0 1px rgb(42 39 36 / .1), 0 30px 60px -30px rgb(0 0 0 / .4); }
.as-dialog__bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-bottom: 1px solid rgb(42 39 36 / .08); font-weight: 600; }
.as-dialog__body { padding: 14px 16px 16px; display: grid; gap: 12px; }
.as-cfg--dialog dd { white-space: normal; }
.as-warn { margin: 0; padding: 10px 12px; border-radius: 8px; background: #fbf1dc; color: #6f5317; font-weight: 600; }
.as-dialog__acts { display: flex; justify-content: flex-end; gap: 8px; }
.as-dialog__acts span { min-width: 72px; text-align: center; padding: 5px 12px; border: 1px solid rgb(42 39 36 / .2); border-radius: 4px; }
.as-dialog__acts .is-default { outline: 2px solid var(--brand-ferozi); outline-offset: 1px; }
.mascot--peek { position: absolute; width: 54px; right: 28px; top: -50px; }
@media (max-width: 639px) { .as-dialog-frame { padding: var(--s-7) var(--s-4) var(--s-5); } .mascot--peek { width: 42px; top: -39px; } }

/* requirements: three columns, each under its real icon */
.as-specs__head { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--s-4); font-size: var(--t-lead); font-weight: 600; }
.as-specs__head .ic { width: 32px; height: 32px; }
.as-specs__head .ic--mono { width: 26px; height: 26px; }
.as-spec { margin: 0; display: grid; }
.as-spec > div { padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.as-spec dt { font-size: var(--t-small); color: var(--muted); }
.as-spec dd { margin: 2px 0 0; }
@media (max-width: 1023px) { .as-specs > div { grid-column: 1 / -1; } .as-specs > div + div { margin-top: var(--s-6); } }

/* phones: the hero keeps to one screen */
@media (max-width: 639px) { .as-brand img { height: 26px; } .as-brand { margin-bottom: var(--s-3); } .hero__proof { display: none; } #operations .panel { --p-h: 170px; } }
/* the compression frame: a little less air so the section keeps to one screen at 1440x900 */
.as-dialog-frame { padding-block: var(--s-6); aspect-ratio: auto; }
/* the dialog sits in the middle of its frame */
.as-dialog-frame { display: flex; align-items: center; justify-content: center; }
.as-dialog { width: min(100%, 480px); font-size: 14px; }

/* gate fixes, round 1 */
.as-art-logo { position: absolute; left: var(--s-8); top: var(--s-5); height: 28px; width: auto; z-index: 1; }
.hero__art > .ly-piece--main { top: calc(var(--s-8) + 12px); }
.as-prev { background: none; border-top: 1px solid rgb(42 39 36 / .1); border-radius: 0; padding: 10px 0 0; }
.as-specs { align-items: stretch; }
.as-lic { width: 100%; }
.as-lic__state { margin: 0; font-weight: 600; color: #0d6e70; }
#safety .mo-wh__text { font-size: clamp(32px, 4vw, 56px); }
@media (max-width: 1023px) { .as-art-logo { left: var(--s-6); } .hero__art > .ly-piece--main { top: calc(var(--s-6) + 40px); } }
@media (max-width: 639px) {
  .as-art-logo { left: var(--s-4); top: 14px; height: 22px; }
  .hero__art > .ly-piece--main { top: 48px; }
  .as-cfg > div:nth-child(n+4), .as-tick { display: none; }
  .as-cfg dd { white-space: normal; }
  .as-prev li:nth-child(n+3) { display: none; }
  #operations .panel { --p-h: 168px; }
  #operations .as-list li:nth-child(n+3), #operations .as-prog > div:nth-child(n+3), #operations .as-log li:nth-child(n+3), #operations .as-paths .as-prog, #operations .as-note { display: none; }
  #compress .t-lead, .as-cfg--dialog > div:nth-child(4) { display: none; }
  #compress .as-dialog-frame { padding: var(--s-7) var(--s-4) var(--s-4); }
}
/* gate fixes, round 2 */
#safety .mo-wh__text { max-width: 30ch; }
@media (max-width: 639px) { .as-prev ul { display: none; } }
