:root{--navy:#17395f;--blue:#1f69b3;--red:#c52b2b;--muted:#6e7e90;--line:#dbe3ec;--bg:#f5f7fa}*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;color:#1b2d42;background:var(--bg)}button,input,select,textarea{font:inherit}button{border:1px solid #b9c9da;border-radius:10px;padding:12px 16px;background:#fff;color:var(--navy);font-weight:700;cursor:pointer}.primary{background:var(--blue);border-color:var(--blue);color:#fff}.link{border:0;background:transparent;color:var(--blue);padding-left:0}main{max-width:1000px;margin:auto;padding:14px 14px 110px}.view{display:none}.view.active{display:block}.card{background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 6px 20px rgba(22,57,95,.07)}.hero{padding:32px;background:linear-gradient(135deg,#17395f,#275784);color:#fff}.hero span,.title span,.swatchHead>div>span,.done>span{font-size:12px;font-weight:800;letter-spacing:.12em;color:#e34747}.hero span{color:#ffbbbb}.hero h1{font-size:42px;margin:6px 0}.hero p{max-width:720px;line-height:1.5;color:#e8f0f8}.homeBtns{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.homeBtns button{min-height:65px;font-size:17px}.info{padding:20px}.info p{margin-bottom:0;color:var(--muted)}.title{display:flex;align-items:flex-start;gap:14px;margin-bottom:16px}.title h2{margin:3px 0 0;font-size:28px}.section{padding:20px;margin-bottom:16px}.section h3{margin-top:0}.grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.grid label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700}.wide{grid-column:1/-1}input,select,textarea{width:100%;padding:12px;border:1px solid #bdcad8;border-radius:9px;background:#fff;color:#17283b}textarea{min-height:90px;resize:vertical}.check{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;margin-top:14px}.check input,.stocks input{width:auto}.hidden{display:none!important}.swatchHead{display:flex;justify-content:space-between;gap:12px;align-items:end;margin:24px 0 12px}.swatchHead h3{margin:3px 0 4px;font-size:23px}.swatchHead p{margin:0;color:var(--muted)}.swatch{padding:20px;margin-bottom:14px;border-left:5px solid var(--blue)}.swatchTitle{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.swatchTitle h3{margin:2px 0 0}.swatchNo{font-size:12px;font-weight:800;color:var(--red)}.remove{border:0;color:#b32626;background:transparent}.stocks{display:flex;flex-wrap:wrap;gap:8px 18px}.stocks label{flex-direction:row;align-items:center;font-weight:500}fieldset{border:1px solid #d4dee8;border-radius:10px;padding:12px}legend{font-size:13px;font-weight:700}.details{margin-top:16px}summary{font-weight:800;cursor:pointer}.bar{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:10px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--line);z-index:15}.bar button{min-width:150px}.review{overflow:hidden}.reviewSec{padding:18px 20px;border-bottom:1px solid var(--line)}.reviewSec:last-child{border-bottom:0}.reviewSec h3{margin:0 0 12px;color:var(--navy)}.reviewGrid{display:grid;grid-template-columns:1fr 1fr;gap:9px 18px}.item span{display:block;font-size:11px;color:var(--muted);text-transform:uppercase}.item b{display:block;margin-top:3px}.reviewSwatch{background:#f9fbfd;border:1px solid #dce5ee;border-radius:11px;padding:13px;margin-top:10px}.done{text-align:center;max-width:620px;margin:40px auto;padding:36px 20px}.done button{display:block;width:min(360px,100%);margin:9px auto}.ok{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;margin:0 auto 15px;background:#e4f5e8;color:#237c41;font-size:32px;font-weight:900}.historyTools{display:flex;gap:10px;margin-bottom:14px}.historyTools input{flex:1}.histRow{display:grid;grid-template-columns:1fr auto;gap:12px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px;margin-bottom:11px}.histRow h3{margin:0 0 4px;color:var(--navy)}.histMeta{font-size:13px;color:var(--muted);line-height:1.5}.histActions{display:flex;gap:7px;align-items:center}.empty{text-align:center;padding:35px;color:var(--muted)}@media(max-width:680px){main{padding:10px 11px 105px}.hero{padding:24px 19px}.hero h1{font-size:34px}.homeBtns,.grid,.reviewGrid{grid-template-columns:1fr}.wide{grid-column:auto}.swatchHead{flex-direction:column;align-items:stretch}.swatchHead button{width:100%}.bar button{min-width:0;flex:1}.historyTools{flex-direction:column}.histRow{grid-template-columns:1fr}.stocks{display:grid;grid-template-columns:1fr 1fr}}
/* v2 home branding and color-swatch workflow */
.homeBrand{padding:28px 24px 30px;text-align:center;background:#fff;overflow:hidden;position:relative}
.homeBrand:before{content:"";position:absolute;left:0;right:0;top:0;height:7px;background:linear-gradient(90deg,#d62d2d 0 25%,#f0bc27 25% 50%,#4b9d55 50% 75%,#2878bd 75%)}
.homeBrand img{display:block;width:min(390px,82%);margin:10px auto 18px}
.brandRule{width:72px;height:3px;background:#c83030;border-radius:999px;margin:0 auto 15px}
.homeBrand h1{font-size:48px;line-height:1.02;margin:4px 0 8px;color:var(--navy);font-weight:900;letter-spacing:-.025em}
.homeBrand h2{font-size:22px;line-height:1.15;margin:0 0 13px;color:#b72d2d;font-weight:800}
.homeBrand p{margin:0 auto;max-width:650px;color:var(--muted);font-size:17px;line-height:1.5}
.addSwatchBottom{margin:4px 0 20px;display:flex;flex-direction:column;align-items:stretch;gap:6px}
.addSwatchBottom button{min-height:58px;background:#fff;border:2px solid #b9c9da;font-size:17px}
.addSwatchBottom small{text-align:center;color:var(--muted)}
.aniloxOther{animation:fadeIn .15s ease}
@keyframes fadeIn{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
@media(max-width:680px){.homeBrand{padding:24px 18px 26px}.homeBrand img{width:min(330px,88%);margin-top:8px}.homeBrand h1{font-size:43px}.homeBrand h2{font-size:20px}.homeBrand p{font-size:16px}.info{padding:18px}.swatchHead{margin-bottom:12px}}

/* v5 mobile focus, history management */
input,select,textarea{font-size:16px;line-height:1.25}
.deleteHist{color:#a92525;border-color:#d9adad;background:#fff7f7}
.histActions{flex-wrap:wrap}
@media(max-width:680px){input,select,textarea{font-size:16px!important}.histActions button{flex:1;min-width:105px}}

/* v7 simplified home and stronger review hierarchy */
.homeBrand{padding:24px 22px 26px}
.homeBrand img{width:min(360px,76%);margin:6px auto 14px}
.brandRule{margin-bottom:12px}
.homeBrand h1{font-size:54px;margin:0;color:var(--navy);line-height:1}
.homeTagline{margin:12px auto 0!important;max-width:520px!important;font-size:17px!important;line-height:1.4!important;color:var(--muted)!important}
.homeBtns{margin:18px 0 12px;gap:12px}
.homeBtns button{min-height:86px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:14px 18px}
.btnMain{font-size:18px;font-weight:800;line-height:1.15}
.btnSub{font-size:12px;font-weight:500;opacity:.78;line-height:1.25}
.primary .btnSub{color:#eaf3fc;opacity:.9}
.homeNote{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 11px;padding:10px 8px 0;color:var(--muted);font-size:12px;text-align:center}
.homeNote b{color:#52677f;font-weight:700}
.homeNote span{color:#c3ccd6}

/* red section headings for clearer visual separation */
#review .title h2{color:var(--red)}
#review .reviewSec h3{color:var(--red)}
#review .reviewSec>h3{font-weight:800}
#review .reviewSwatch>h3{color:var(--red)}

@media(max-width:680px){
  .homeBrand{padding:20px 16px 22px}
  .homeBrand img{width:min(310px,80%);margin:4px auto 12px}
  .homeBrand h1{font-size:49px}
  .homeTagline{font-size:15px!important;margin-top:10px!important}
  .homeBtns{grid-template-columns:1fr;gap:10px;margin-top:14px}
  .homeBtns button{min-height:76px}
  .homeNote{padding:5px 12px 0;gap:5px 8px}
  .homeNote span{display:none}
  .homeNote b{width:100%}
}


/* v8 home spacing, product lockup, redundant heading cleanup */
#home{padding-top:12px}
.homeBrand{padding:34px 24px 38px;min-height:470px;display:flex;flex-direction:column;justify-content:center}
.homeBrand img{width:min(360px,74%);margin:0 auto 34px}
.productLockup{display:flex;flex-direction:column;align-items:center;gap:14px}
.productName{font-size:64px;line-height:.95;font-weight:900;letter-spacing:-.045em;white-space:nowrap}
.fryWord{color:var(--navy)}
.requestWord{color:#b83232}
.productAccent{display:grid;grid-template-columns:repeat(4,1fr);width:150px;height:5px;border-radius:999px;overflow:hidden}
.productAccent i:nth-child(1){background:#d62d2d}.productAccent i:nth-child(2){background:#f0bc27}.productAccent i:nth-child(3){background:#4b9d55}.productAccent i:nth-child(4){background:#2878bd}
.homeTagline{margin:22px auto 0!important;max-width:610px!important;font-size:17px!important;line-height:1.55!important;color:var(--muted)!important}
.homeBtns{margin:30px 0 0;gap:20px}
.homeBtns button{min-height:104px;border-radius:15px}
.btnMain{font-size:20px}.btnSub{font-size:13px}
#review .title span,#history .title span{display:none}
#review .title,#history .title{align-items:center;margin-bottom:24px}
#review .title h2,#history .title h2{margin:0;font-size:31px}
#history .title h2{color:var(--red)}
#review .reviewSec h3{font-size:23px}
.empty{padding:28px;font-size:16px}

@media(max-width:680px){
  #home{padding-top:16px}
  .homeBrand{padding:38px 18px 42px;min-height:520px}
  .homeBrand img{width:min(320px,82%);margin-bottom:38px}
  .productName{font-size:58px}
  .productAccent{width:132px}
  .homeTagline{font-size:16px!important;max-width:330px!important;margin-top:24px!important}
  .homeBtns{gap:18px;margin-top:26px}
  .homeBtns button{min-height:100px}
  #review .title h2,#history .title h2{font-size:30px}
}

/* v9 compact home viewport while preserving FryRequest product identity */
#home{padding-top:6px}
.homeBrand{padding:22px 22px 24px;min-height:0;display:block}
.homeBrand img{width:min(330px,70%);margin:4px auto 18px}
.productLockup{gap:9px}
.productName{font-size:58px;line-height:.95}
.productAccent{width:138px;height:4px}
.homeTagline{margin:15px auto 0!important;max-width:560px!important;font-size:16px!important;line-height:1.4!important}
.homeBtns{margin:18px 0 0;gap:12px}
.homeBtns button{min-height:78px;border-radius:15px;padding:12px 18px}
.btnMain{font-size:19px}.btnSub{font-size:12px}
.homeNote{padding-top:10px}
@media(max-width:680px){
 #home{padding-top:6px}
 .homeBrand{padding:20px 16px 22px;min-height:0}
 .homeBrand img{width:min(285px,76%);margin:2px auto 18px}
 .productLockup{gap:8px}
 .productName{font-size:52px}
 .productAccent{width:124px;height:4px}
 .homeTagline{font-size:15px!important;line-height:1.35!important;max-width:340px!important;margin-top:15px!important}
 .homeBtns{gap:11px;margin-top:16px}
 .homeBtns button{min-height:78px}
 .homeNote{padding-top:8px;font-size:11px}
}
/* FryRequest v10 - home action spacing refinement */
@media(max-width:680px){
  #home .homeBtns{margin-top:28px;gap:14px}
}


/* FryRequest v11 - balanced branded home footer; stays within mobile viewport */
#home .homeFooter{display:flex;flex-direction:column;align-items:center;justify-content:center;margin:30px auto 0;min-height:112px;color:#718196}
#home .footerMark{position:relative;width:54px;height:54px;opacity:.13;margin-bottom:8px}
#home .footerMark i{position:absolute;left:21px;top:3px;width:13px;height:24px;border-radius:9px 9px 3px 9px;transform-origin:6.5px 24px}
#home .footerMark i:nth-child(1){background:#d62d2d;transform:rotate(45deg)}
#home .footerMark i:nth-child(2){background:#f0bc27;transform:rotate(135deg)}
#home .footerMark i:nth-child(3){background:#4b9d55;transform:rotate(225deg)}
#home .footerMark i:nth-child(4){background:#2878bd;transform:rotate(315deg)}
#home .footerText{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#718196}
#home .footerAccent{display:grid;grid-template-columns:repeat(4,1fr);width:92px;height:3px;border-radius:999px;overflow:hidden;margin-top:10px;opacity:.8}
#home .footerAccent i:nth-child(1){background:#d62d2d}#home .footerAccent i:nth-child(2){background:#f0bc27}#home .footerAccent i:nth-child(3){background:#4b9d55}#home .footerAccent i:nth-child(4){background:#2878bd}
@media(max-width:680px){
  #home .homeFooter{margin-top:24px;min-height:94px}
  #home .footerMark{width:46px;height:46px;margin-bottom:5px}
  #home .footerMark i{left:18px;top:2px;width:11px;height:20px;transform-origin:5.5px 20px}
  #home .footerText{font-size:10px}
  #home .footerAccent{width:78px;margin-top:7px}
}
@media(max-width:680px) and (max-height:760px){
  #home .homeFooter{margin-top:14px;min-height:68px}
  #home .footerMark{width:36px;height:36px;margin-bottom:3px}
  #home .footerMark i{left:14px;top:1px;width:9px;height:16px;transform-origin:4.5px 16px}
  #home .footerText{font-size:9px}
  #home .footerAccent{width:66px;margin-top:5px;height:2px}
}

/* FryRequest v12 - official J.M. Fry pinwheel and fuller home footer */
#home .homeFooter{margin-top:26px;min-height:150px;padding:12px 0 20px}
#home .footerMark{position:static;width:82px;height:82px;object-fit:contain;opacity:.20;margin:0 0 9px}
#home .footerText{font-size:13px;letter-spacing:.09em}
#home .footerAccent{width:116px;height:4px;margin-top:11px}
@media(max-width:680px){
 #home .homeFooter{margin-top:25px;min-height:138px;padding:8px 0 16px}
 #home .footerMark{width:72px;height:72px;margin-bottom:8px}
 #home .footerText{font-size:11px}
 #home .footerAccent{width:104px;height:3px;margin-top:9px}
}
@media(max-width:680px) and (max-height:760px){
 #home .homeFooter{margin-top:14px;min-height:92px;padding:4px 0 8px}
 #home .footerMark{width:48px;height:48px;margin-bottom:4px}
 #home .footerText{font-size:9px}
 #home .footerAccent{width:76px;height:2px;margin-top:5px}
}

/* FryRequest v13 - give the product lockup more breathing room without changing the one-screen home layout */
@media(max-width:680px){
  #home .homeBrand{padding-bottom:34px}
  #home .homeTagline{margin-top:29px!important}
}
@media(max-width:680px) and (max-height:760px){
  #home .homeBrand{padding-bottom:27px}
  #home .homeTagline{margin-top:23px!important}
  #home .homeFooter{margin-top:10px;min-height:80px;padding:2px 0 6px}
}

/* FryRequest v14 - taller product panel and clearer separation above software description */
@media(max-width:680px){
  #home .homeBrand{padding-bottom:46px}
  #home .homeTagline{margin-top:39px!important}
  #home .homeFooter{min-height:116px;padding-top:5px;padding-bottom:10px}
  #home .footerMark{width:66px;height:66px}
}
@media(max-width:680px) and (max-height:760px){
  #home .homeBrand{padding-bottom:34px}
  #home .homeTagline{margin-top:31px!important}
  #home .homeFooter{margin-top:8px;min-height:66px;padding:0 0 4px}
  #home .footerMark{width:42px;height:42px}
}

/* FryRequest v15 - lower branded footer to give it a distinct visual zone */
@media(max-width:680px){
  #home .homeFooter{margin-top:48px}
}
@media(max-width:680px) and (max-height:760px){
  #home .homeFooter{margin-top:24px}
}


/* FryRequest v23 - repeatable swatch shipping destinations */
.shipSection{margin-top:14px;padding:14px;border:1px solid #cdd8e6;border-radius:16px;background:#f8fbff}
.shipIntro{margin:0 0 12px;color:#6e7f93;font-size:14px}
.shipLocation{background:#fff;border:1px solid #cdd8e6;border-radius:14px;padding:14px;margin:0 0 12px}
.shipLocationHead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;color:#17395f}
.shipRemove{width:auto!important;min-height:40px;padding:7px 12px!important;color:#b73a32;background:#fff;border:1px solid #e0b6b3}
.shipAdd{width:100%;margin-top:2px}
@media(max-width:680px){.shipSection{padding:12px}.shipLocation{padding:12px}.shipLocation .grid{gap:10px}}

/* v29: proof quantity stepper */
.proofStepper{display:grid;grid-template-columns:56px minmax(0,1fr) 56px;gap:10px;align-items:stretch;margin-top:7px}
.proofStepper .proofStepBtn{margin:0;min-height:54px;padding:0;border:1px solid #b9c6d8;border-radius:14px;background:#fff;color:#17314f;font-size:30px;font-weight:700;line-height:1;display:flex;align-items:center;justify-content:center;touch-action:manipulation}
.proofStepper .proofStepBtn:active{transform:translateY(1px)}
.proofStepper .proofCount{margin:0!important;min-height:54px;text-align:center!important;font-size:22px!important;font-weight:700;padding-left:8px!important;padding-right:8px!important;-moz-appearance:textfield}
.proofStepper .proofCount::-webkit-outer-spin-button,.proofStepper .proofCount::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

#form .section>h3{color:var(--red)}

/* v33 proof separation */
.proofReviewHeader{background:#dbeefa;color:#17395f;font-weight:800;padding:12px 14px;border-radius:9px;margin:-2px -2px 12px;border:1px solid #b9d8ee}.reviewProof+.reviewProof{margin-top:22px}

/* v34: keep iOS date/time controls aligned with all other form fields */
input[type="date"],
input[type="time"]{
  display:block;
  width:100%;
  min-width:0;
  max-width:100%;
  height:47px;
  box-sizing:border-box;
  padding:12px;
}

/* v35: exact iOS Safari date/time sizing to match standard form controls */
#requestDate,
#requestTime,
input[type="date"],
input[type="time"]{
  -webkit-appearance:none;
  appearance:none;
  display:block;
  inline-size:100% !important;
  width:100% !important;
  min-inline-size:0 !important;
  min-width:0 !important;
  max-inline-size:100% !important;
  max-width:100% !important;
  block-size:auto !important;
  height:auto !important;
  min-height:47px !important;
  padding:12px !important;
  margin:0 !important;
  border:1px solid #bdcad8 !important;
  border-radius:9px !important;
  box-sizing:border-box !important;
  line-height:1.25 !important;
  background:#fff !important;
  color:#17283b !important;
  text-align:center;
}
#requestDate::-webkit-date-and-time-value,
#requestTime::-webkit-date-and-time-value,
input[type="date"]::-webkit-date-and-time-value,
input[type="time"]::-webkit-date-and-time-value{
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  text-align:center;
}

/* v46: conditional GCMI / Pantone match selection */
.matchQuestion{margin:2px 0 16px;padding:15px;border:1px solid #d4dee8;border-radius:12px;background:#f8fbfe}
.matchPrompt{display:block;font-size:14px;font-weight:800;color:#17395f;margin-bottom:10px}
.matchChoices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.matchChoice{position:relative;display:block!important}
.matchChoice input{position:absolute;opacity:0;pointer-events:none}
.matchChoice span{display:flex;align-items:center;justify-content:center;min-height:50px;padding:11px 12px;border:2px solid #b9c9da;border-radius:11px;background:#fff;color:#17395f;font-weight:800;text-align:center;cursor:pointer}
.matchChoice input:checked+span{border-color:#1f69b3;background:#e8f2fc;box-shadow:0 0 0 2px rgba(31,105,179,.08)}
.matchFields{margin-top:4px}
@media(max-width:680px){.matchChoices{grid-template-columns:1fr 1fr}.matchChoice span{min-height:54px;font-size:15px}}


/* FryRequest v54 - desktop-only home redesign; mobile/tablet experience remains unchanged */
.desktopHomeTitle{display:none}
@media (min-width: 901px){
  body{min-height:100vh}
  main{max-width:1240px;padding:34px 26px 110px}
  #home{max-width:1080px;margin:0 auto;padding-top:0}
  #home .homeBrand{
    min-height:0;
    padding:38px 58px 34px;
    border-radius:22px;
    display:block;
    text-align:center;
  }
  #home .homeBrand img{
    width:300px;
    max-width:38%;
    margin:0 auto 24px;
  }
  #home .productLockup{gap:10px}
  #home .productName{font-size:70px;line-height:.94}
  #home .productAccent{width:160px;height:5px}
  #home .desktopHomeTitle{
    display:block;
    margin:17px 0 0;
    color:var(--navy);
    font-size:31px;
    line-height:1.15;
    font-weight:800;
    letter-spacing:-.02em;
  }
  #home .homeTagline{
    max-width:690px!important;
    margin:14px auto 0!important;
    font-size:17px!important;
    line-height:1.5!important;
  }
  #home .homeBtns{
    display:grid;
    grid-template-columns:1fr 1fr;
    max-width:1080px;
    gap:20px;
    margin:22px auto 0;
  }
  #home .homeBtns button{
    min-height:118px;
    border-radius:18px;
    padding:22px 34px;
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    box-shadow:0 8px 22px rgba(22,57,95,.06);
  }
  #home .homeBtns button::after{
    content:'›';
    position:absolute;
    right:24px;
    top:50%;
    transform:translateY(-52%);
    font-size:46px;
    line-height:1;
    font-weight:400;
    color:var(--navy);
  }
  #home .homeBtns button.primary::after{color:#fff}
  #home .btnMain{font-size:24px;font-weight:800}
  #home .btnSub{font-size:14px;margin-top:5px}
  #home .homeFooter{
    margin:26px auto 0;
    min-height:0;
    padding:0 0 12px;
  }
  #home .footerMark{width:62px;height:62px;opacity:.14;margin-bottom:6px}
  #home .footerText{font-size:12px}
  #home .footerAccent{width:104px;height:3px;margin-top:8px}
}
