/* Final density layer shared by the client tunnel, authentication and operations. */

/* Client space and five-step tunnel. */
.shell{margin:14px auto 24px}
.shell>header{padding:15px 24px}
.shell>header .brand-row{padding-bottom:11px;margin-bottom:12px}
.shell>header .brand img.services-logo{width:205px}
.portal-home-label{font-size:13px;font-weight:600;text-decoration:underline}
.shell #heading{font-size:28px;line-height:1.2;margin-bottom:5px}
.shell #instruction{font-size:14px}
.shell .header-link{font-size:14px;padding:6px 8px}
.workspace-tabs{gap:20px!important;padding:0 18px!important;margin-bottom:10px!important}
.workspace-tabs button{padding:10px 0!important;font-size:13px!important}
#listing:has(#new-recipe){padding:2px 12px 14px}
#new-recipe.primary{min-height:38px;margin:8px 0 12px;padding:8px 14px;border-radius:9px;font-size:14px}
.recipe-filters{gap:9px;margin:0 0 10px}
.recipe-filters input,.recipe-filters select{min-height:38px!important;padding:7px 11px!important;font-size:14px!important}
#listing .recipe-item{min-height:0;padding:12px 16px;margin-bottom:8px;gap:14px;border-radius:11px}
.recipe-item-info h2,#listing .recipe-item h2{margin:0 0 6px;font-size:18px;line-height:1.25}
#listing .recipe-item-status{margin:0 0 5px;padding:3px 8px;font-size:12px;line-height:1.3}
#listing .recipe-item-date{font-size:12px;line-height:1.35}
.recipe-item-actions{gap:7px}
#listing .recipe-item-actions button{min-height:36px;padding:7px 12px;border-radius:8px;font-size:13px}
#listing .recipe-delete{border:1px solid #d9b5ae;background:#fff;color:#8b3528}
#listing .recipe-delete:hover{border-color:#c5786d;background:#fff6f4}

#workspace-return{margin:7px 20px 0;padding:5px 0}
#editor>nav{padding:8px 10px}
#editor>nav button{gap:3px;padding:0 4px;font-size:12px!important;justify-content:center;text-align:center;line-height:1.2}
#editor>nav button span{width:32px;height:32px;font-size:16px}
#editor>.card{padding:18px 22px;margin-bottom:8px}
#editor h2{margin-bottom:8px;font-size:21px}
#editor h3{margin-bottom:10px;font-size:17px}
#editor label,#editor legend,#editor input,#editor select,#editor button,
dialog label,dialog input,dialog button{font-size:14px!important}
#editor input:not([type=checkbox]):not([type=radio]),
#editor select,dialog input:not([type=checkbox]):not([type=radio]),dialog select{
  min-height:40px;padding:8px 10px
}
body[data-backend="postgres"] .mock-note{display:none}
.hint,.document-info,.field-help,.meta,.meta summary,small,footer,.mock-note,
.file-actions button{font-size:13px!important;line-height:1.4}
.hint{margin-bottom:11px}
.v4-block{margin:11px 0;padding:14px 16px;border-radius:11px}
.v4-block .recipe-tools{gap:8px}
.v4-block .recipe-tools button{min-height:40px;padding:8px 11px;display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.2}
.v4-block .recipe-tools #add{background:#008e8a;color:#fff;border-color:#008e8a}
.v4-block .recipe-tools #choose{background:#fff;color:#10343b}
.template-download{margin-top:10px;padding:8px 12px;font-size:14px;display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.2}
#add-material-bottom,button.primary{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.2}
#add-material-bottom{min-height:40px;margin-top:12px}
#materials-list{display:block;padding:13px 10px}
.recipe-unit-inline{margin:10px 0 4px}
.recipe-unit-inline .basis-label{display:flex;align-items:center;gap:10px;margin:0}
.recipe-entry-tools{margin:8px 0 10px}
.recipe-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.recipe-method-card{min-width:0;padding:10px 12px;border:1px solid #d5e4e6;border-radius:10px;background:#f8fbfb}
#editor .recipe-method-card h3{margin:0 0 7px;font-size:15px;line-height:1.3}
.recipe-method-card .recipe-tools,.recipe-method-actions,.recipe-template-links{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:6px;margin:0}
.recipe-method-card .recipe-tools{flex-direction:row}
.recipe-method-card .recipe-tools button,.recipe-method-actions #excel{min-height:35px;margin:0;padding:6px 9px;border-radius:7px}
.recipe-method-actions .template-download{display:inline-flex;align-items:center;width:auto;min-height:35px;margin:0;padding:4px 6px;border:0;background:transparent;text-decoration:underline;text-underline-offset:2px}
.recipe-list-header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
#editor .recipe-list-header h3,.recipe-list-header .recipe-unit-inline{margin:0}
#materials-list .recipe-list-header .basis-label{flex-direction:row;align-items:center;gap:8px}
#editor:has(.recipe-card:not([hidden]))>.recipe-card{padding:12px 16px}
#editor:has(.recipe-card:not([hidden]))>.recipe-card>h2{font-size:18px;margin:0 0 7px}
#editor:has(.recipe-card:not([hidden]))>nav{padding:6px 10px}
#editor:has(.recipe-card:not([hidden]))>nav button{flex-direction:row;gap:6px;min-height:34px}
#editor:has(.recipe-card:not([hidden]))>nav button span{width:24px;height:24px;font-size:13px}
.shell:has(#editor:not([hidden])>.recipe-card:not([hidden]))>header{padding-block:10px}
.shell:has(#editor:not([hidden])>.recipe-card:not([hidden]))>header .brand-row{margin-bottom:7px;padding-bottom:6px}
.shell:has(#editor:not([hidden])>.recipe-card:not([hidden]))>header .services-logo{width:150px;height:auto}
.shell:has(#editor:not([hidden])>.recipe-card:not([hidden])) #heading{font-size:23px}
.shell:has(#editor:not([hidden])>.recipe-card:not([hidden])) :is(#notice,#error,#working-draft-status){margin:5px 16px;font-size:13px}
#editor:has(.recipe-card:not([hidden])) #workspace-return{margin:3px 16px 0;min-height:32px}
.import-model-links{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 10px}.import-model-links .template-download{flex:1 1 210px;margin:0}#import-online-fallback{display:block;margin:2px 0 12px;padding:8px 0;color:#075f62}
.supplier-sds-advice{margin-top:12px;padding:0;border:1px solid #dce9eb;border-radius:9px;background:#fbfdfd;overflow:hidden}
.supplier-sds-advice summary{cursor:pointer;padding:8px 10px;font-size:13px!important;line-height:1.45;font-weight:600;color:#075f62}
.supplier-sds-advice[open] summary{border-bottom:1px solid #dce9eb;background:#f5f9f9}
.supplier-sds-advice h4,.supplier-sds-advice p,.supplier-sds-advice a{font-size:13px!important;line-height:1.5}
.supplier-sds-advice h4{margin:10px 10px 5px;font-weight:600}
.supplier-sds-advice p,.supplier-sds-advice p.hint{margin:5px 10px!important}
.supplier-sds-advice a{display:inline-block;margin:4px 10px 10px;color:#007f7c}
.recipe-card th{padding:9px 7px;font-size:13px}
.recipe-card td{padding:10px 7px}
.recipe-card .meta{margin:6px 0}
.recipe-card .file-actions{gap:10px;margin:6px 0}
.recipe-card .file-actions button{padding:4px 0;font-size:13px!important}
.material-visible-actions{display:flex;align-items:flex-start;flex-direction:column;gap:5px;margin:7px 0 2px}
.material-visible-actions .text-button{min-height:auto!important;padding:3px 0!important;color:#007f7c;font-size:12px!important;font-weight:650;text-align:left}
.line-library-state{display:block;color:#65787d;font-size:11px;line-height:1.35}
.line-library-state.is-saved{color:#14745c;font-weight:650}
.linked-name-correction{color:#8a4d13!important}
.supplier-document-grid{display:grid;grid-template-columns:minmax(125px,1.25fr) repeat(2,minmax(105px,1fr));gap:8px;align-items:stretch}
.supplier-document-slot{min-width:0;padding:8px;border:1px solid #dbe7e8;border-radius:8px;background:#fff}
.supplier-document-slot.required{background:#f8fbfb}.supplier-document-heading{display:flex;justify-content:space-between;align-items:baseline;gap:6px;margin-bottom:6px}
.supplier-document-heading strong{font-size:13px}.supplier-document-heading small{font-size:11px!important;color:#697c82}
.supplier-document-empty,.supplier-document-status,.supplier-document-name{display:block;font-size:12px;line-height:1.35}
.supplier-document-empty{color:#697c82}.supplier-document-status.clean{color:#176d56}.supplier-document-status.pending{color:#526d76}.supplier-document-status.rejected{color:#a52b20}
.supplier-document-name{margin-top:3px;color:#526d76;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.supplier-document-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:5px}.supplier-document-action{font-size:12px!important;color:#007f7c;text-decoration:none}
.supplier-document-action:hover{text-decoration:underline}.supplier-document-slot .present,.supplier-document-slot .document-info{font-size:12px!important;line-height:1.35;margin:3px 0}
.supplier-document-slot .file-actions{gap:8px;margin:4px 0}.supplier-document-slot .file-actions button{font-size:12px!important;padding:2px 0}
.supplier-document-slot .line-upload-progress{display:flex;align-items:center;gap:7px;margin:7px 0 0;padding:6px 8px;border-radius:6px;background:#e8f6f5;color:#075f62;font-size:12px!important;line-height:1.35}
.supplier-document-slot .line-upload-progress::before{content:'';width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#079b91;box-shadow:0 0 0 3px #ccebe7}
.review-offer{grid-column:1/-1;display:flex;align-items:center;gap:10px;margin:0;padding:12px 15px;border:1px solid #0b5b62;border-radius:10px;background:linear-gradient(135deg,#083d45,#0b5b62);box-shadow:0 6px 16px #0b3f4614;color:#fff;font-size:15px;font-weight:700}
.review-offer::before{content:'✓';display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:#21bca8;color:#073746;font-size:13px}
#review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}
#review>.review-grid,#review>.review-overview-grid,#review>.review-card{grid-column:1/-1}
.review-grid,.review-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.review-card{display:flex;flex-direction:column;min-width:0;padding:0!important;border:1px solid #d6e5e7!important;border-radius:11px!important;background:#fff;box-shadow:0 5px 14px #12343b0a;overflow:hidden}
.review-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:11px 13px;border-bottom:1px solid #e3ecee;background:#f7fbfb}
.review-card-head h3,.review-card>h3{margin:0!important;color:#10343b;font-size:14px!important;line-height:1.35}
.review-card-head h3::before,.review-card>h3::before{content:'';display:inline-block;width:4px;height:14px;margin-right:7px;border-radius:4px;background:#0aa398;vertical-align:-2px}
.review-card-head .text-button{flex:0 0 auto;padding:2px 0!important;color:#007f7c;font-size:12px!important;font-weight:600}
.review-fields{display:flex;flex:1;flex-direction:column;padding:5px 13px 9px}
.review-field{display:grid;grid-template-columns:minmax(125px,42%) minmax(0,1fr);gap:10px;padding:6px 0;border-bottom:1px solid #edf2f3;line-height:1.35}
.review-field:last-child{border-bottom:0}.review-field strong{color:#60757b;font-size:11px;font-weight:600}.review-field span{color:#12343b;font-size:12px;font-weight:500;overflow-wrap:anywhere}
.review-regulatory-check,.review-formulation{grid-column:1/-1;padding:13px!important}.review-regulatory-check>h3,.review-formulation>h3{padding-bottom:10px;border-bottom:1px solid #e3ecee}
.review-regulatory-check p{margin:7px 0;font-size:12px;line-height:1.45}.review-warning{padding:8px 10px;border-radius:8px;background:#fff2ef;color:#a52b20}
.review-material{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;margin-top:7px;padding:9px 10px!important;border:1px solid #e2ecee!important;border-radius:8px;background:#fbfdfd}
.review-material>span{font-size:12px;font-weight:600}.review-material small{margin-top:2px;color:#60757b!important;font-size:11px!important;line-height:1.4}.review-material>strong{padding:4px 7px;border-radius:999px;background:#e4f5f1;color:#076c63;font-size:11px;white-space:nowrap}
.review-total{margin:10px 0 0!important;padding:9px 11px;border-radius:8px;background:#def3ed;color:#075f55;font-size:13px!important;font-weight:700;text-align:right}
#checks:not(:empty){grid-column:1/-1;margin-top:12px;padding:10px 12px;border:1px solid #efd7a5;border-radius:9px;background:#fffaf0}#checks p{margin:3px 0;font-size:12px!important;line-height:1.45}
#checks.scan-pending{border-color:#b9dfda;background:#f0faf8;color:#0b625c}.review-scan-pending{display:flex;align-items:center;gap:9px;color:#0b625c!important;font-weight:600}.review-scan-pending::before{content:'';width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#0aa398;box-shadow:0 0 0 4px #d8f1ed}
[data-panel="3"]>label.radio{margin:12px 0 0;padding:10px 12px;border:1px solid #cfe5df;border-radius:9px;background:#f1f8f6;font-size:13px}[data-panel="3"]>label.radio input{width:18px;height:18px}
[data-panel="3"]>#send{display:flex;align-items:center;justify-content:center;margin:12px 0 0 auto;min-height:40px;padding:8px 15px;font-size:13px!important}
.payment-review{grid-column:1/-1}
.payment-review-body{padding:11px 13px 13px}
.payment-review-body p{margin:0 0 6px;font-size:13px;line-height:1.45}
.payment-review-body p:last-child{margin-bottom:0}
.payment-state-card{margin:14px 0 2px;padding:13px 15px;border:1px solid #d7e4e6;border-radius:10px;background:#f8fbfb;text-align:left}
.payment-state-card.pending{border-color:#ead39f;background:#fffaf0}
.payment-state-card h3{margin:0 0 5px;color:#10343b;font-size:15px}
.payment-state-card p{margin:3px 0;font-size:13px;line-height:1.45}
.payment-state-card .hint{margin-bottom:0}
.payment-state-amount,.client-payment-amount{color:#10343b;font-weight:700}
.dossier-payment-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 16px;margin:0 0 14px;padding:11px 13px;border-left:4px solid #d2a13a}
.dossier-payment-summary h3{grid-column:1;margin:0}
.dossier-payment-summary .client-payment-amount{grid-column:2;grid-row:1;margin:0;white-space:nowrap}
.dossier-payment-summary .hint{grid-column:1/-1;margin:2px 0 0}
@media(max-width:650px){.dossier-payment-summary{grid-template-columns:1fr}.dossier-payment-summary .client-payment-amount{grid-column:1;grid-row:auto}.dossier-payment-summary .hint{grid-column:1}}

/* Checkout and Shopify orders. */
.paid-service-checkout,.shopify-order-card{
  min-width:0;border:1px solid #d7e4e6;border-radius:13px;background:#fff;
  box-shadow:0 5px 16px #12343b0b;color:#102e35
}
.paid-service-checkout{margin:0 0 18px;padding:20px 22px}
.paid-service-checkout-heading h2,.paid-service-checkout-heading h3{
  margin:0;color:#10343b;font-size:19px;line-height:1.3
}
.paid-service-intro{margin:6px 0 17px;color:#60757b;font-size:14px;line-height:1.5}
.paid-service-test-notice{
  margin:12px 0;padding:10px 12px;
  border:1px solid #b8ddd8;border-radius:9px;background:#edf8f6;color:#075f5a;
  font-size:13px;line-height:1.45
}
.paid-service-checkout-form{display:block;margin:0}
.paid-service-checkout-form textarea{
  display:block;width:100%;margin-top:5px;padding:8px 10px;border:1px solid #cfcfcf;
  border-radius:8px;font:inherit;resize:vertical
}
.paid-service-checkout-form .documentary-reading{margin:12px 0}
.revision-diagnostic{
  margin:12px 0 16px;padding:12px 14px;border:1px solid #d8e6e7;border-radius:8px;
  background:#f4f8f8;color:#15303a
}
.revision-diagnostic h4,.revision-diagnostic h5{margin:0 0 8px;font-size:15px}
.revision-diagnostic-findings{list-style:none;margin:0;padding:0}
.revision-diagnostic-findings>li+li{border-top:1px solid #d8e6e7;margin-top:9px;padding-top:9px}
.revision-diagnostic p{margin:3px 0;font-size:14px;line-height:1.45}
.revision-diagnostic-finding-heading{display:flex;align-items:baseline;gap:4px 10px;flex-wrap:wrap}
.revision-diagnostic-pages{font-size:12px;color:#526875}
.revision-diagnostic-meaning,.revision-diagnostic-prepare{color:#36565d}
.revision-diagnostic-prepare{margin-top:12px;padding:10px 12px;border-radius:6px;background:#e9f3f2}
.revision-diagnostic-prepare ul{margin:0;padding-left:18px;font-size:14px;line-height:1.45}
.revision-diagnostic-prepare li+li{margin-top:4px}
.paid-service-quantity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.paid-service-quantity-field{
  min-width:0;padding:12px 13px;border:1px solid #dce8ea;border-radius:10px;
  background:#f8fbfb;color:#25444b
}
.paid-service-quantity-field>span{display:block;margin-bottom:8px;font-size:14px;font-weight:700}
.paid-service-quantity-field input{
  width:100%;min-height:44px!important;margin:0!important;padding:8px 11px!important;
  border:1px solid #bfcfd2!important;border-radius:8px!important;background:#fff!important;
  color:#102e35;font-size:16px!important;font-weight:650
}
.paid-service-checkout-actions{
  display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px
}
.paid-service-checkout-actions .primary{flex:0 0 auto;min-height:42px;padding:9px 16px}
.paid-service-checkout-message{margin:0!important;color:#8c4229;font-size:13px!important}
.paid-order-workspace{min-width:0;margin:4px 0 18px}
.order-list{display:grid;gap:12px;margin-top:12px}
.paid-order-workspace .order-list{margin-top:0}
.paid-service-empty{margin:10px 0;padding:13px 15px;border-radius:9px;background:#f4f8f8;color:#60757b}
.shopify-order-history{margin-top:20px;padding-top:17px;border-top:1px solid #dbe6e8}
.shopify-order-history>h2{margin-bottom:10px;font-size:18px}
.shopify-order-card{
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;
  padding:12px 14px
}
.shopify-order-card strong{font-size:14px}.shopify-order-card small{grid-column:1/-1;margin:0;color:#60757b}
.order-payment{padding:3px 7px;border-radius:999px;background:#e7f5f1;color:#116b5c;font-size:11px;font-weight:700}

.later-choice{margin:9px 0}
.optional-docs summary{font-size:14px}
.drop{margin:9px 0;padding:13px}
.total-row{margin:12px 0 7px;font-size:15px}
#total{font-size:18px}
#balance{font-size:13px}
.editor-actions{padding:4px 22px 14px}
.editor-actions button{min-height:38px;padding:7px 12px}
dialog{padding:18px}

/* Authentication and operator space. */
.header-inner{min-height:72px}
.page-shell{padding:24px 0 38px}
.portal-intro{gap:24px;margin-bottom:16px}
.portal-intro h1{font-size:clamp(29px,3.2vw,36px)}
.intro-text{margin-top:7px;font-size:15px}
.privacy-note{padding:10px 13px}
.requests-panel,.detail-panel,.operator-zone{padding:19px}
.section-heading{gap:16px;margin-bottom:14px}
.section-heading h2,h2{font-size:22px}
h3{font-size:17px}
.request-grid{gap:9px}
.request-card{min-height:76px;padding:11px 14px}
.request-card-title{font-size:15px}
.request-card-meta{margin-top:3px;font-size:12px}
.status-pill{margin-top:6px;padding:3px 8px}
.detail-record-heading{gap:14px;margin-bottom:14px;padding-bottom:13px}
.detail-record-heading h2,.detail-panel>h2{font-size:22px}
.detail-panel>section{margin:12px 0;padding:14px}
.detail-panel ul{gap:7px;margin:10px 0}
.detail-panel li{padding:10px 12px}
.admin-stage{margin:11px 0!important;border-radius:12px!important}
.admin-stage-heading{gap:12px;padding:13px 15px}
.admin-stage-heading h2{font-size:19px}
.admin-stage-body{padding:14px 15px}
.admin-stage-body>h3{margin:14px 0 6px}
.detail-choice{padding:11px 13px}
.operator-tabs{margin-bottom:14px;padding-bottom:8px}
.btn,button{min-height:38px;padding:7px 12px;font-size:14px}
input:not([type=checkbox]):not([type=radio]),select,textarea{min-height:40px;padding:8px 10px}
.auth-page .page-shell{width:min(480px,calc(100% - 28px));padding:30px 0}
.auth-page h1{font-size:32px}
.auth-page .auth-panel{gap:6px;margin-top:17px;padding:19px}
.auth-page .actions{margin-top:12px}
.auth-page #email-help{margin:11px 0;font-size:13px}
.site-footer{padding:16px}

@media(max-width:700px){
  .shell{margin:4px auto 18px}
  .shell>header{padding:14px 16px}
  .shell #heading{font-size:24px}
  .workspace-tabs{gap:16px!important;padding:0 13px!important}
  #listing:has(#new-recipe){padding:2px 6px 12px}
  #listing .recipe-item{padding:13px;gap:10px}
  .recipe-item-actions{display:flex;padding-top:10px;gap:8px}
  #listing .recipe-item-actions button,.editor-actions button,.primary,.secondary{min-height:44px}
  #editor>.card{padding:15px 13px}
  #editor>nav button{font-size:10px!important}
  .v4-block{padding:13px 11px}
  .recipe-method-grid{grid-template-columns:1fr}
  .recipe-method-card .recipe-tools button,.recipe-method-actions #excel,.recipe-method-actions .template-download{min-height:44px}
  #editor:has(.recipe-card:not([hidden]))>nav button{flex-direction:column;gap:2px;min-height:44px}
  #editor:has(.recipe-card:not([hidden])) #workspace-return{min-height:40px}
  .supplier-document-grid{grid-template-columns:1fr}
  #review,.review-grid,.review-overview-grid{grid-template-columns:1fr}
  .review-field{grid-template-columns:1fr;gap:2px}.review-material{grid-template-columns:1fr}.review-material>strong{justify-self:start}
  .recipe-unit-inline .basis-label{align-items:stretch;flex-direction:column}
  .paid-service-checkout{padding:16px 13px}
  .paid-service-quantity-grid{grid-template-columns:1fr}
  .paid-service-checkout-actions{align-items:stretch;flex-direction:column}
  .paid-service-checkout-actions .primary{width:100%}
  .shopify-order-card{grid-template-columns:1fr;gap:5px}.shopify-order-card small{grid-column:1}
  .page-shell{padding:20px 0 30px}
  .requests-panel,.detail-panel,.operator-zone{padding:15px}
  .request-card{min-height:72px;padding:11px 12px}
  .btn,button{min-height:44px}
}

/* Customer dossiers and purchasing. */
#listing:has(>.order-dossiers){
  padding:clamp(14px,3vw,26px);border:0
}
.shell:has(#listing:not([hidden])>.order-dossiers) #service-order-link{display:none}
.order-dossiers{min-width:0}
.order-dossier-search{display:block;width:min(100%,360px);margin:0 0 12px;font-size:14px;font-weight:650}
.order-dossier-search input{display:block;width:100%;margin:5px 0 0;padding:8px 11px;min-height:40px}
.order-dossier-viewport{overflow-x:auto;border:1px solid #d7e4e6;border-radius:10px}
.order-dossier-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px;text-align:left}
.order-dossier-table thead{background:#edf5f4;color:#10343b}
.order-dossier-table thead th{font-size:13px;font-weight:650}
.order-dossier-table thead th:nth-child(1){width:40%}
.order-dossier-table thead th:nth-child(2){width:14%}
.order-dossier-table thead th:nth-child(3){width:22%}
.order-dossier-table thead th:nth-child(4){width:24%}
.order-dossier-table th,.order-dossier-table td{
  padding:7px 10px;border:0;text-align:left;vertical-align:middle;overflow-wrap:anywhere
}
.order-dossier-table tbody tr{border-top:1px solid #dce8ea}
.order-dossier-table tbody tr:hover{background:#f8fbfb}
.order-dossier-table .order-dossier-sort{
  display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:2px 0;border:0;
  background:transparent;color:inherit;font:inherit;font-weight:700;white-space:nowrap;cursor:pointer
}
.order-dossier-sort::after{content:'↕';color:#526f75}
.order-dossier-table [aria-sort="ascending"] .order-dossier-sort::after{content:'↑';color:#006f6e}
.order-dossier-table [aria-sort="descending"] .order-dossier-sort::after{content:'↓';color:#006f6e}
.order-dossier-name{color:#10343b}
.order-dossier-name small{display:block;margin:3px 0 0;color:#546b73;font-size:12px;font-weight:400}
.order-dossier-status{
  display:inline-block;padding:4px 8px;border-radius:7px;
  background:#e8f1f6;color:#245370;font-size:12px;font-weight:650;line-height:1.3
}
.order-dossier-status.is-draft{background:#edf2f3;color:#456269}
.order-dossier-status.is-pending{background:#fff2d8;color:#724a08}
.order-dossier-status.is-action{background:#faece4;color:#8d4026}
.order-dossier-status.is-done{background:#e1f1ed;color:#17584f}
.order-dossier-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.order-dossier-actions button,.order-dossier-actions a,.order-credit-row .primary{
  width:auto;min-height:36px;margin:0;padding:6px 10px;font-size:13px
}
.order-dossier-actions button,.order-dossier-actions a{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.order-dossier-table .order-dossier-empty{padding:16px;color:#546b73;text-align:center}
.order-service-extras:empty{display:none}
.order-service-extras{margin-top:20px}
.order-service-extras>.paid-order-workspace>h2{margin:0 0 8px;font-size:17px}
.order-credit-row{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:8px 0;
  border-bottom:1px solid #dce8ea;font-size:14px
}
.order-credit-reference{margin-right:auto;overflow-wrap:anywhere}
.order-credit-reference small{display:block;color:#546b73}
.order-credit-balance{color:#17584f;font-weight:650}
.order-history{margin-top:14px;color:#36575e;font-size:14px}
.order-history>summary{cursor:pointer;font-weight:650}
.order-service-extras>.paid-service-checkout{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
  gap:12px 18px;margin:0;padding:16px;background:#f8fbfb;box-shadow:none
}
.order-service-extras>.paid-service-checkout .paid-service-intro{margin:4px 0 0;color:#4d676e}
.order-service-extras>.paid-service-checkout .paid-service-test-notice{grid-column:1/-1;margin:0}
.order-purchase-form{
  display:grid;grid-template-columns:minmax(0,105px) auto;align-items:end;gap:8px 10px
}
.order-purchase-form .paid-service-quantity-field{
  padding:0;border:0;background:transparent
}
.order-purchase-form .paid-service-quantity-field>span{
  margin-bottom:4px;font-size:13px
}
.order-purchase-form .paid-service-quantity-field input{min-height:40px!important}
.order-purchase-form>button{
  justify-self:start;min-height:40px;background:#fff;border-color:#bfcfd2;color:#10343b;font-weight:650
}
.order-purchase-form>button:hover{background:#edf5f4}
.order-purchase-form .paid-service-checkout-message{grid-column:1/-1}
.order-purchase-form .paid-service-checkout-message:empty{display:none}

@media(max-width:660px){
  .order-service-extras>.paid-service-checkout{grid-template-columns:1fr}
  .order-purchase-form{justify-content:start}
  .order-dossier-actions button,.order-dossier-actions a,.order-credit-row .primary,.order-purchase-form>button{min-height:44px}
  .order-dossier-table th,.order-dossier-table td{padding:6px}
}
@media(max-width:600px){
  .order-dossier-table{display:table;font-size:13px}
  .order-dossier-table thead{display:table-header-group}
  .order-dossier-table tbody{display:table-row-group}
  .order-dossier-table tr{display:table-row;width:auto}
  .order-dossier-table td{display:table-cell;width:auto}
  .order-dossier-table thead th{font-size:11px}
  .order-dossier-table thead th:nth-child(1){width:33%}
  .order-dossier-table thead th:nth-child(2){width:17%}
  .order-dossier-table thead th:nth-child(3){width:23%}
  .order-dossier-table thead th:nth-child(4){width:27%}
  .order-dossier-table .order-dossier-sort{gap:3px}
  .order-dossier-status,.order-dossier-actions button,.order-dossier-actions a{
    padding:4px;font-size:12px
  }
}
