:root{
  --ink:#111;
  --muted:#686868;
  --paper:#f5f5f5;
  --line:#dedede;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none
}
*{
  box-sizing:border-box
}
body{
  margin:0
}
button,input,textarea,select{
  font:inherit
}
button,a{
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent
}
button{
  cursor:pointer;
  color:inherit;
  border:0
}
a{
  color:inherit;
  text-decoration:none
}
button:disabled{
  cursor:not-allowed;
  opacity:.38
}
[hidden]{
  display:none!important
}
h1,h2,h3,p{
  margin:0
}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:2px solid #555;
  outline-offset:4px
}
input[type=checkbox]{
  accent-color:#111;
  width:17px;
  height:17px;
  flex-shrink:0
}
html{
  scroll-behavior:smooth;
  scroll-padding-top:24px
}
.site-header{
  min-height:90px;
  display:flex;
  align-items:center;
  gap:48px;
  padding:20px max(28px,calc((100vw - 1280px)/2));
  background:#fff;
  border-bottom:1px solid var(--line)
}
.wordmark{
  display:flex;
  align-items:center;
  gap:18px;
  flex-shrink:0
}
.wordmark img{
  width:138px;
  height:40px;
  object-fit:contain
}
.wordmark>span{
  padding-left:18px;
  border-left:1px solid var(--line);
  font-size:9px;
  letter-spacing:1.7px;
  font-weight:700;
  color:var(--muted)
}
nav{
  display:flex;
  align-items:center;
  gap:24px;
  font-size:12px;
  white-space:nowrap
}
.nav-current{
  font-weight:700
}
.staff-account{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:16px;
  font-size:12px;
  color:var(--muted)
}
.staff-account button{
  padding:9px 13px;
  border:1px solid var(--line);
  border-radius:5px;
  background:#fff;
  color:#111
}
main{
  max-width:1280px;
  margin:auto;
  padding:0 28px
}
.intro{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  padding:38px 0 28px;
  gap:20px
}
.eyebrow{
  font-size:10px;
  letter-spacing:1.5px;
  font-weight:700;
  color:var(--muted)
}
h1{
  font-size:46px;
  letter-spacing:-2px;
  line-height:1.15;
  margin:9px 0 12px;
  font-weight:750
}
.intro p{
  font-size:14px;
  line-height:1.6;
  color:var(--muted)
}
.format-note{
  border:1px solid #d0d0d0;
  padding:10px 14px;
  border-radius:5px;
  font-size:12px;
  white-space:nowrap;
  background:#fff;
  margin-bottom:3px
}
h2{
  font-size:20px;
  letter-spacing:-.5px;
  line-height:1.3
}
h3{
  font-size:15px;
  line-height:1.4
}
.workflow{
  display:flex;
  gap:30px;
  list-style:none;
  padding:0 0 23px;
  margin:0;
  color:var(--muted);
  font-size:12px
}
.workflow li{
  display:flex;
  gap:9px;
  align-items:center
}
.workflow b{
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border:1px solid #ccc;
  border-radius:50%;
  font-size:11px;
  font-weight:400
}
.workflow-current{
  color:#111
}
.workflow-current b{
  background:#111;
  color:#fff;
  border-color:#111
}
.workspace-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 325px;
  gap:26px;
  align-items:start
}
.left-column{
  min-width:0
}
.panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  padding:26px
}
.section-heading{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  margin-bottom:20px
}
.step-label{
  color:#999;
  font-size:12px
}
.drop-zone{
  width:100%;
  min-height:214px;
  border:1px dashed #bcbcbc;
  border-radius:7px;
  background:#fafafa;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:22px;
  gap:9px
}
.drop-zone:hover,.drop-zone.dragging{
  border-color:#111;
  background:#f0f0f0
}
.upload-icon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border:1px solid #ddd;
  border-radius:50%;
  font-size:25px;
  margin-bottom:6px
}
.drop-zone strong{
  font-size:16px
}
.drop-zone>span:not(.upload-icon){
  font-size:13px;
  color:var(--muted)
}
.drop-zone small{
  font-size:11px;
  color:var(--muted);
  margin-top:10px
}
.file-card{
  display:flex;
  gap:14px;
  align-items:center;
  background:#f7f7f7;
  border:1px solid var(--line);
  padding:18px;
  border-radius:7px;
  min-height:80px
}
.file-icon{
  border:1px solid #ccc;
  border-radius:4px;
  padding:13px 7px;
  font-size:10px
}
.file-info{
  min-width:0;
  flex:1
}
.file-info strong{
  font-size:13px;
  overflow-wrap:anywhere
}
.file-info span{
  display:block;
  margin-top:7px;
  font-size:11px;
  color:var(--muted)
}
.icon-button{
  background:transparent;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:4px;
  font-size:24px;
  flex-shrink:0
}
.icon-button:hover{
  background:#eee
}
.conversion-action{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:22px
}
.primary-button{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:15px 18px;
  border-radius:6px;
  background:#111;
  color:#fff;
  min-height:49px;
  font-size:13px;
  font-weight:700
}
.primary-button:hover:not(:disabled){
  background:#333
}
#inspect-orders{
  justify-content:center
}
#inspect-orders.refresh-action{
  background:#fff;
  border:1px solid var(--line);
  color:var(--muted);
  font-weight:400;
  min-height:38px;
  padding:10px
}
#convert:disabled{
  background:#ddd;
  color:#888;
  opacity:1
}
#convert:disabled>span:last-child{
  opacity:.5
}
.secondary-button{
  background:#fff;
  border:1px solid #bbb;
  border-radius:5px;
  padding:12px 15px;
  margin-top:17px;
  font-size:12px
}
.text-button{
  background:transparent;
  text-decoration:underline;
  text-underline-offset:3px;
  font-size:12px;
  padding:5px 0
}
.order-selection{
  margin-top:26px;
  padding-top:23px;
  border-top:1px solid var(--line);
  display:grid;
  gap:12px
}
.order-selection .section-heading{
  margin-bottom:0
}
.order-selection p{
  font-size:12px;
  line-height:1.55;
  color:var(--muted)
}
#selection-status{
  font-size:11px;
  color:var(--muted);
  text-align:right
}
.order-selection label:not(.order-row label){
  font-size:12px;
  font-weight:600
}
.order-selection input[type=search],.order-selection textarea{
  width:100%;
  border:1px solid #ccc;
  border-radius:5px;
  padding:12px;
  font-size:13px;
  background:#fff;
  resize:vertical
}
.selection-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px
}
.selection-actions button{
  padding:9px 11px;
  background:#f1f1f1;
  border:1px solid #e4e4e4;
  border-radius:5px;
  font-size:11px
}
.selection-actions button:hover{
  border-color:#999
}
.order-list{
  max-height:480px;
  overflow:auto
}
.order-row{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:15px 0;
  border-bottom:1px solid #e9e9e9
}
.order-row label{
  display:flex;
  flex:1;
  align-items:flex-start;
  gap:9px;
  min-width:0;
  font-size:12px;
  line-height:1.55
}
.order-row label>input{
  margin:2px 0
}
.order-row span{
  overflow-wrap:anywhere
}
.order-row button{
  flex-shrink:0;
  background:#fff;
  border:1px solid var(--line);
  border-radius:4px;
  padding:8px;
  font-size:10px;
  white-space:nowrap
}
.reprint-confirmation{
  display:flex;
  gap:9px;
  align-items:flex-start;
  background:#f7f4e8;
  padding:13px;
  border-radius:5px;
  line-height:1.5
}
#reprint-note{
  font-size:11px
}
#selection-feedback:empty{
  display:none
}
.error-message{
  background:#fff0ed;
  color:#8c2615;
  padding:13px;
  border:1px solid #e4b1a8;
  border-radius:5px;
  margin-top:16px;
  font-size:13px;
  line-height:1.6;
  overflow-wrap:anywhere
}
.preview-column{
  background:#ececec;
  border:1px solid var(--line);
  border-radius:10px;
  padding:20px;
  min-width:0
}
.preview-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:18px
}
.preview-heading h2{
  font-size:15px
}
.sample-badge{
  font-size:9px;
  letter-spacing:.8px;
  color:#666;
  border:1px solid #ccc;
  border-radius:3px;
  padding:4px 6px
}
.preview-paper{
  position:relative;
  width:100%;
  aspect-ratio:2/3;
  background:#fff;
  overflow:hidden;
  box-shadow:0 2px 8px #0000000a
}
.preview-paper .awb{
  position:absolute;
  top:0;
  left:0;
  transform:scale(var(--label-scale,.75));
  transform-origin:top left
}
.preview-footnote{
  font-size:11px;
  line-height:1.5;
  color:var(--muted);
  margin-top:14px
}
.sample-page-caption{
  display:block;
  font-size:9px;
  letter-spacing:.5px;
  margin:14px 0 8px
}
.reference-panel{
  margin-top:23px;
  border-top:1px solid #d0d0d0;
  padding-top:17px
}
.reference-panel summary{
  cursor:pointer;
  font-size:12px;
  font-weight:700;
  line-height:1.5
}
.reference-content{
  padding-top:18px
}
.reference-content h3{
  font-size:12px;
  margin:0 0 12px
}
.measurements{
  width:100%;
  border-collapse:collapse;
  margin-bottom:24px;
  font-size:11px;
  line-height:1.5
}
.measurements th{
  text-align:left;
  font-weight:400;
  color:var(--muted);
  padding:9px 6px 9px 0
}
.measurements td{
  text-align:right;
  white-space:nowrap;
  font-weight:600;
  padding:9px 0
}
.measurements tr{
  border-bottom:1px solid #d6d6d6
}
.preview-service{
  display:flex;
  flex-direction:column;
  gap:7px;
  font-size:11px;
  color:#555;
  margin-bottom:14px
}
.preview-service select{
  width:100%;
  padding:9px 7px;
  border:1px solid #c7c7c7;
  border-radius:4px;
  background:#fff;
  color:#111;
  font-size:12px
}
.preview-unit{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  margin:14px 0 18px
}
.brand-section{
  margin-top:24px;
  border-top:1px solid #d0d0d0;
  padding-top:18px
}
.logo-picker{
  display:flex;
  gap:12px;
  align-items:center
}
.logo-thumbnail{
  background:white;
  width:65px;
  height:42px;
  border:1px solid #ccc;
  border-radius:4px;
  padding:5px;
  display:grid;
  place-items:center;
  flex:none
}
.logo-thumbnail img{
  width:100%;
  height:100%;
  object-fit:contain
}
.logo-details{
  min-width:0;
  flex:1
}
.logo-details>span{
  display:block;
  font-size:10px;
  overflow-wrap:anywhere;
  color:var(--muted);
  margin-top:4px
}
.overflow-preview-note{
  font-size:11px;
  line-height:1.6;
  margin:12px 0;
  color:#744522
}
.reference-privacy{
  margin-top:20px;
  padding-top:17px;
  border-top:1px solid #d0d0d0;
  font-size:10px;
  line-height:1.6;
  color:var(--muted)
}
.reference-privacy strong{
  font-weight:500
}
.reference-privacy span{
  display:inline-block;
  font-size:9px;
  margin:10px 10px 0 0
}
.job-panel{
  margin-top:22px
}
.job-panel .eyebrow{
  font-size:9px;
  margin-bottom:7px
}
.job-symbol{
  font-size:24px;
  width:35px;
  height:35px;
  display:grid;
  place-items:center;
  background:#f0f0f0;
  border-radius:50%
}
.job-description{
  font-size:13px;
  line-height:1.65;
  color:var(--muted);
  overflow-wrap:anywhere
}
.job-steps{
  display:flex;
  list-style:none;
  gap:14px;
  padding:0;
  margin:20px 0;
  font-size:11px;
  color:#888
}
.job-steps li{
  display:flex;
  align-items:center;
  gap:6px
}
.job-steps li>span{
  width:7px;
  height:7px;
  background:#ddd;
  border-radius:50%;
  flex-shrink:0
}
.job-steps .active,.job-steps .complete{
  color:#111
}
.job-steps .active>span,.job-steps .complete>span{
  background:#111
}
.validation{
  margin:20px 0;
  padding:14px;
  border:1px solid #d7dfd7;
  background:#f6f8f5;
  border-radius:5px
}
.validation-heading{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  font-size:12px
}
.validation-heading>span{
  font-size:10px
}
.secondary-actions{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin:14px 0;
  font-size:11px
}
.print-note,.expiry-note{
  font-size:11px;
  color:var(--muted);
  line-height:1.7;
  margin-top:7px
}
.job-panel.failed{
  border-color:#d6a99f
}
.job-panel.failed .job-symbol{
  background:#fff0ed;
  color:#8c2615
}
#upload-progress{
  margin-top:16px;
  font-size:11px
}
#upload-progress label{
  display:flex;
  justify-content:space-between;
  margin-bottom:8px
}
progress{
  width:100%;
  height:6px;
  accent-color:#111
}
progress::-webkit-progress-bar{
  background:#eee;
  border-radius:6px
}
progress::-webkit-progress-value{
  background:#111;
  border-radius:6px
}
.page-footer{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:38px;
  padding:22px 0 28px;
  border-top:1px solid var(--line);
  font-size:10px;
  color:#777
}
.page-footer>span:first-child{
  font-weight:700;
  letter-spacing:1.5px
}
dialog{
  width:min(860px,95vw);
  height:min(850px,92vh);
  padding:20px;
  border:1px solid #ccc;
  border-radius:9px
}
dialog::backdrop{
  background:#0008
}
.dialog-heading{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:15px
}
dialog iframe{
  width:100%;
  height:calc(100% - 60px);
  border:1px solid #ddd
}
.staff-login{
  max-width:420px;
  margin:10vh auto;
  padding:30px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:9px
}
.staff-login .wordmark{
  margin-bottom:36px
}
.staff-login h1{
  font-size:29px;
  letter-spacing:-1px;
  margin-bottom:24px
}
.staff-login form{
  display:grid;
  gap:11px
}
.staff-login label{
  font-size:12px
}
.staff-login input{
  width:100%;
  padding:13px;
  border:1px solid #ccc;
  border-radius:5px;
  margin-bottom:10px;
  font-size:14px
}
.staff-login .primary-button{
  justify-content:center;
  margin-top:5px
}
.staff-login #login-error{
  color:#8c2615;
  font-size:12px;
  line-height:1.5
}
@media(min-width:1440px){
  .workspace-grid{
    grid-template-columns:minmax(0,1fr) 350px
  }
  .intro{
    padding-top:46px
  }
}
@media(max-width:1050px){
  .site-header{
    gap:22px;
    padding:18px 24px
  }
  .wordmark>span{
    display:none
  }
  nav{
    gap:16px
  }
  .staff-account{
    gap:9px
  }
  .workspace-grid{
    grid-template-columns:minmax(0,1fr) 285px;
    gap:18px
  }
  .panel{
    padding:22px
  }
  .preview-column{
    padding:16px
  }
  .job-steps{
    flex-direction:column;
    gap:10px
  }
  .validation-heading{
    align-items:flex-start;
    flex-direction:column
  }
}
@media(max-width:760px){
  .site-header{
    flex-wrap:wrap;
    gap:17px;
    padding:16px 20px;
    min-height:76px
  }
  .wordmark img{
    width:115px;
    height:30px
  }
  nav{
    order:3;
    width:100%;
    font-size:11px;
    padding-top:13px;
    border-top:1px solid #eee
  }
  .staff-account{
    margin-left:auto;
    font-size:11px
  }
  .staff-account button{
    padding:7px 10px
  }
  .staff-account span{
    max-width:130px;
    overflow-wrap:anywhere
  }
  main{
    padding:0 18px
  }
  .intro{
    padding:28px 0 22px;
    align-items:flex-start
  }
  h1{
    font-size:36px
  }
  .eyebrow{
    font-size:9px
  }
  .intro p{
    font-size:13px;
    max-width:260px
  }
  .format-note{
    font-size:10px;
    padding:8px;
    margin-top:24px
  }
  .workflow{
    gap:17px;
    font-size:10px;
    padding-bottom:20px
  }
  .workflow b{
    width:21px;
    height:21px;
    font-size:10px
  }
  .workflow li{
    gap:6px
  }
  .workspace-grid{
    grid-template-columns:minmax(0,1fr);
    gap:23px
  }
  .panel{
    padding:21px 17px
  }
  .drop-zone{
    min-height:190px;
    padding:20px 10px
  }
  .drop-zone small{
    font-size:10px
  }
  .order-selection .section-heading{
    align-items:flex-start;
    gap:10px
  }
  .order-row{
    gap:8px
  }
  .order-row label{
    font-size:11px
  }
  .order-row button{
    font-size:9px;
    padding:7px
  }
  .selection-actions{
    gap:6px
  }
  .selection-actions button{
    font-size:10px;
    padding:9px
  }
  .preview-column{
    max-width:360px;
    width:100%;
    justify-self:center;
    padding:19px
  }
  .secondary-actions{
    flex-wrap:wrap
  }
  .staff-login{
    margin:8vh 18px;
    padding:25px;
    max-width:none
  }
  .page-footer{
    margin-top:26px
  }
  .job-description{
    font-size:12px
  }
  .format-note{
    white-space:normal;
    max-width:86px;
    text-align:center
  }
}
@media(prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto
  }
}
