.pirtek-brochure-dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 8px; color: #071f61; }
.pirtek-brochure-dialog::backdrop { background: rgb(0 20 65 / 65%); }
.pirtek-brochure-dialog__panel { padding: 28px; }
.pirtek-brochure-dialog header, .pirtek-brochure-dialog footer, .pirtek-brochure-product { display: flex; align-items: center; gap: 16px; }
.pirtek-brochure-dialog header { justify-content: space-between; }
.pirtek-brochure-dialog h2 { margin: 0; }
.pirtek-brochure-dialog__close { border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.pirtek-brochure-products { max-height: 42vh; margin: 24px 0; padding: 0; overflow: auto; list-style: none; }
.pirtek-brochure-product { justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #d8deea; }
.pirtek-brochure-product__name { flex: 1; color: #111827; font-weight: 700; }
.pirtek-brochure-product button { min-width: 36px; min-height: 36px; border: 1px solid #bdc6d8; border-radius: 4px; background: #fff; color: #002776; cursor: pointer; }
.pirtek-brochure-product__actions, .pirtek-brochure-product__order-actions { display: inline-flex; align-items: center; }
.pirtek-brochure-product__actions { flex-wrap: wrap; gap: 12px; }
.pirtek-brochure-product__order-actions { gap: 6px; padding-right: 12px; border-right: 1px solid #d8deea; }
.pirtek-brochure-product .pirtek-brochure-product__remove { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; }
.pirtek-brochure-product__remove-icon { font-size: 22px; font-weight: 700; line-height: 1; }
.pirtek-brochure-field { display: grid; gap: 8px; font-weight: 700; }
.pirtek-brochure-field input, .pirtek-brochure-field select { width: 100%; min-height: 48px; padding: 8px 12px; border: 1px solid #bdc6d8; background: #fff; }
.pirtek-brochure-centre__controls { display: flex; align-items: stretch; gap: 10px; }
.pirtek-brochure-centre__search { position: relative; flex: 1; min-width: 0; }
.pirtek-brochure-centre__search input { padding-right: 36px; }
.pirtek-brochure-centre__results { position: absolute; z-index: 10; top: calc(100% + 4px); right: 0; left: 0; max-height: 240px; margin: 0; padding: 4px 0; overflow-y: auto; border: 1px solid #bdc6d8; border-radius: 4px; background: #fff; box-shadow: 0 8px 20px rgb(0 0 0 / 15%); color: #111827; font-weight: 400; list-style: none; }
.pirtek-brochure-centre__results [role="option"], .pirtek-brochure-centre__empty { padding: 10px 12px; }
.pirtek-brochure-centre__results [role="option"] { cursor: pointer; }
.pirtek-brochure-centre__results [role="option"]:hover, .pirtek-brochure-centre__results [role="option"][aria-selected="true"] { background: #e8ecf3; color: #002776; }
.pirtek-brochure-centre__locate { flex: 0 0 auto; min-height: 48px; padding: 0 16px; border: 1px solid #002776; border-radius: 4px; background: #fff; color: #002776; font-weight: 700; cursor: pointer; }
.pirtek-brochure-centre__locate:hover, .pirtek-brochure-centre__locate:focus-visible { background: #e8ecf3; }
.pirtek-brochure-centre__locate:disabled { cursor: wait; opacity: .65; }
.pirtek-brochure-centre__value { position: absolute; width: 1px !important; height: 1px; min-height: 0 !important; margin: -1px; padding: 0 !important; overflow: hidden; border: 0 !important; clip: rect(0 0 0 0); white-space: nowrap; }
.pirtek-brochure-centre__status { min-height: 20px; color: #44516b; font-size: 14px; font-weight: 400; }
.pirtek-brochure-customer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 20px; padding: 0; border: 0; }
.pirtek-brochure-customer legend { grid-column: 1 / -1; padding: 0; font-weight: 700; }
.pirtek-brochure-development-notice { margin: 16px 0 0; padding: 12px; border-left: 4px solid #ffcb05; background: #fff8d8; color: #17213a; font-size: 14px; }
.pirtek-brochure-dialog footer { justify-content: flex-end; margin-top: 24px; }
.pirtek-brochure-primary, .pirtek-brochure-secondary { min-height: 46px; padding: 0 20px; border: 0; border-radius: 4px; font-weight: 700; cursor: pointer; }
.pirtek-brochure-primary { background: #ffcb05; color: #002776; }
.pirtek-brochure-secondary { background: #e8ecf3; color: #002776; }
.pirtek-brochure-error, .pirtek-brochure-job__error { color: #a31515; }
.pirtek-brochure-jobs { position: sticky; z-index: 50; bottom: 0; width: 100%; margin-top: auto; padding: 14px max(24px, calc((100% - 1240px) / 2)); background: #002776; color: #fff; box-shadow: 0 -4px 18px rgb(0 0 0 / 18%); }
.pirtek-brochure-jobs + footer.main-footer.mt-auto { margin-top: 0 !important; }
.pirtek-brochure-jobs h2 { margin: 0 0 8px; color: #fff; font-size: 18px; }
.pirtek-brochure-job { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 5px 0; }
.pirtek-brochure-job__status { display: inline-flex; align-items: center; gap: 9px; }
.pirtek-brochure-job__indicator { position: relative; display: inline-grid; flex: 0 0 20px; width: 20px; height: 20px; place-items: center; border-radius: 50%; }
.pirtek-brochure-job__indicator--generating { border: 2px solid rgb(255 255 255 / 35%); border-top-color: #ffcb05; animation: pirtek-brochure-spin .8s linear infinite; }
.pirtek-brochure-job__indicator--ready { background: #ffcb05; color: #002776; font-size: 14px; font-weight: 900; }
.pirtek-brochure-job__indicator--ready::before { content: '\2713'; }
.pirtek-brochure-job__indicator--failed { border: 2px solid #ffb4ab; color: #ffb4ab; font-size: 13px; font-weight: 900; }
.pirtek-brochure-job__indicator--failed::before { content: '!'; }
.pirtek-brochure-job__indicator--selection { border: 2px solid #ffcb05; color: #ffcb05; font-size: 13px; font-weight: 900; }
.pirtek-brochure-job__indicator--selection::before { content: '+';  margin-top: -2px; margin-left: 1px;}
.pirtek-brochure-job__actions { display: inline-flex; align-items: center; gap: 10px; }
.pirtek-brochure-job a, .pirtek-brochure-job__view { padding: 7px 12px; border: 0; border-radius: 3px; background: #ffcb05; color: #002776; font-weight: 700; text-decoration: none; cursor: pointer; }
.pirtek-brochure-job__dismiss { display: inline-grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid rgb(255 255 255 / 55%); border-radius: 50%; background: transparent; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.pirtek-brochure-job__dismiss:hover, .pirtek-brochure-job__dismiss:focus-visible { border-color: #ffcb05; color: #ffcb05; }
@keyframes pirtek-brochure-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pirtek-brochure-job__indicator--generating { animation: none; } }
@media (max-width: 600px) { .pirtek-brochure-dialog__panel { padding: 20px; } .pirtek-brochure-customer { grid-template-columns: 1fr; } .pirtek-brochure-product { align-items: flex-start; flex-direction: column; } .pirtek-brochure-centre__controls { align-items: stretch; flex-direction: column; } .pirtek-brochure-job { align-items: flex-start; flex-direction: column; } }
