body,button,input,select,textarea,h1,h2,h3,h4,p,label,summary{font-family:Arial,Helvetica,sans-serif}
.portal-entry-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}
@media(max-width:600px){.portal-entry-actions{align-items:stretch;flex-direction:column}.portal-entry-actions button{width:100%}}
.file-analysis-progress{background:#e8f6f5;border-left:3px solid #009b9d;border-radius:6px;padding:12px 14px;color:#073b49;font-size:15px;line-height:1.5;margin:0 0 12px}
#listing .client-request-card{display:block}
.client-request-card .recipe-item-info{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#listing .client-request-card h2{margin:0;flex:1;min-width:0;overflow-wrap:anywhere}
.client-request-number{flex-basis:100%;margin:0;color:#526c77;font-size:14px}
.client-delivery-ready{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:22px 0;padding:24px;background:#eef8f7;border-radius:10px}
.client-delivery-ready>div{min-width:0}.client-delivery-ready h3{font-size:21px;margin:0 0 10px}.client-delivery-filename{font-size:16px;overflow-wrap:anywhere;margin:0}.client-delivery-ready .hint{margin:8px 0 0}
.client-delivery-ready a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;box-sizing:border-box;text-decoration:none;white-space:nowrap;font-weight:700}
.client-delivery-details{border-top:1px solid #dce7e9;padding-top:16px}.client-delivery-details summary{cursor:pointer;font-weight:600;color:#45616d;padding:6px 0}.client-delivery-details .recipe-item-actions{margin:18px 0;display:flex;gap:12px;flex-wrap:wrap}
.client-delivery-version{padding:16px 0;border-top:1px solid #dce7e9;overflow-wrap:anywhere}.client-delivery-version h3{font-size:17px;margin:0}.client-delivery-version .text-button{display:block;margin-top:12px}
@media(max-width:650px){.client-delivery-ready{flex-direction:column;align-items:stretch;padding:18px;gap:18px}.client-delivery-ready a{white-space:normal;text-align:center}.client-request-card .recipe-item-actions button{width:100%}}
body{background:#fff}input,select,textarea,button{font-size:16px}label,summary{font-size:15px;line-height:1.5}.hint,.document-info{font-size:14px;line-height:1.5}h1{line-height:1.2}h2{line-height:1.3}.v4-block{background:#fff}.card{background:#fff}
.shell,.workspace-tabs,#listing{background:#fff}h2,h3{color:#073043}footer{font-size:14px}
.documents-screen{padding:20px;max-width:100%;color:#073043}
.documents-screen h2{font-size:28px;margin:8px 0 16px;overflow-wrap:anywhere}
.documents-screen h3{font-size:19px;margin:26px 0 14px}
.document-eyebrow{color:#008f91;font-size:14px;font-weight:700;letter-spacing:.06em;margin:16px 0 4px}
.document-intro{font-size:16px;line-height:1.65;max-width:760px;color:#45616d;margin:16px 0 24px}
.document-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 32px}
.document-picker{display:flex;flex-direction:column;align-items:center;gap:10px;padding:30px 22px;border:1px dashed #008f91;border-radius:16px;background:#f2fafa;text-align:center;margin:24px 0;color:#073043}
.document-picker strong{font-size:21px}.document-picker span{font-size:14px;color:#45616d;line-height:1.5}
.document-picker input{max-width:100%;width:auto;background:#fff;margin-top:8px;font-size:15px}
.document-picker input::file-selector-button{background:#073b49;color:white;border:0;border-radius:7px;padding:12px 16px;margin-right:12px;cursor:pointer}
.document-row{display:flex;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid #dce7e9;min-width:0}
.document-row>div:first-child{flex:1;min-width:0}.document-row strong{display:block;font-size:16px;overflow-wrap:anywhere}.document-row small{display:block;font-size:14px;color:#526c77;margin-top:7px;overflow-wrap:anywhere}
.document-row label{flex:0 1 270px;min-width:0}.document-row select{width:100%;min-height:44px;margin-top:6px}.document-row button,.document-row a{flex-shrink:0}
.document-file-status{font-size:14px;line-height:1.5;flex:0 1 190px;overflow-wrap:anywhere}
.document-badge{display:inline-block;border-radius:30px;padding:8px 13px;font-size:14px;line-height:1.4;background:#eef4f5;max-width:100%;box-sizing:border-box}
.document-badge.is-pending{background:#fff4dc;color:#775314}.document-badge.is-clean{background:#e2f5ed;color:#136445}.document-badge.is-error{background:#fff0ed;color:#973529}
.document-progress{font-size:15px;line-height:1.6;margin:16px 0}.document-history{margin-top:30px;padding-top:4px;border-top:1px solid #dce7e9}
#send-supplements{margin-top:22px;min-height:46px}#listing .recipe-item{padding:24px;gap:20px;border-color:#dce7e9;border-radius:14px;margin-bottom:14px}#listing .recipe-item h2{font-size:23px}
@media(max-width:650px){.documents-screen{padding:8px}.documents-screen h2{font-size:23px}.document-picker{padding:22px 12px}.document-row{flex-wrap:wrap;gap:12px}.document-row>div:first-child{flex-basis:100%}.document-row label{flex-basis:100%}.document-file-status{flex:1 1 100%}.document-actions{flex-direction:column}.document-actions button,#send-supplements{width:100%}.document-picker input{width:100%;box-sizing:border-box}.document-row select{font-size:16px}}

.logo-upload-status{display:flex;align-items:center;gap:8px;margin:9px 0 0;padding:8px 10px;border-radius:7px;background:#edf7f3;color:#136445;font-size:13px;line-height:1.4}
.logo-upload-status.is-pending{background:#e8f6f5;color:#075f62}
.logo-upload-status.is-pending::before{content:'';width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#079b91;box-shadow:0 0 0 3px #ccebe7}
.logo-upload-status.is-rejected{background:#fff0ed;color:#973529}

/* Client library: compact materials, saved versions and original dossier files. */
#listing>.library-section{margin:14px 0 0;padding:0;border:1px solid #dce7e9;border-radius:11px;background:#fff;overflow:hidden}
.library-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:13px 15px;border-bottom:1px solid #e4ecee}
.library-section-head h2{font-size:18px;line-height:1.3;margin:0}.library-section-title .hint{margin:3px 0 0}
.library-count{flex-shrink:0;color:#526c77;font-size:12px;line-height:1.4;background:#eef4f5;border-radius:20px;padding:4px 8px}
.library-material-list,.library-source-list{padding:0 15px}.library-material-list>.hint,.library-source-list>.hint{margin:14px 0}
#listing .library-material-row{align-items:center;padding:11px 0;margin:0;border-radius:0;gap:18px}
.library-material-info,.library-source-info{min-width:0;flex:1}.library-material-info strong,.library-source-info strong{display:block;overflow-wrap:anywhere}
.library-version-count{color:#147769!important}
.library-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(172px,220px);align-items:end;gap:12px}
.library-tools label{display:grid;gap:5px;font-weight:650;color:#284854}
.library-tools input,.library-tools select{width:100%;min-height:40px;margin:0;font:inherit;font-weight:400}
.library-source-section>summary,.library-material-summary{cursor:pointer;list-style:none}
.library-source-section>summary::-webkit-details-marker,.library-material-summary::-webkit-details-marker{display:none}
.library-source-section>summary{align-items:center;border-bottom:0}
.library-source-section[open]>summary{border-bottom:1px solid #e4ecee}
.library-section-title{flex:1;font-weight:650}
.library-source-section>summary::before,.library-material-summary::before{content:'';flex:0 0 6px;width:6px;height:6px;border:solid #526c77;border-width:0 2px 2px 0;transform:rotate(-45deg)}
.library-source-section[open]>summary::before,.library-material-group[open]>summary::before{transform:rotate(45deg)}
.library-material-group,.library-material-list>.library-material-row{border-bottom:1px solid #e4ecee}
.library-material-list>:last-child{border-bottom:0}
.library-material-summary{display:flex;align-items:center;gap:10px;padding:12px 0}
.library-material-summary:hover,.library-source-section>summary:hover{color:#087f78}
.library-material-group>.library-material-row{padding-left:17px!important}
.library-material-info small{display:block;overflow-wrap:anywhere}
@media(max-width:540px){.library-tools{grid-template-columns:1fr}}
.library-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;flex-shrink:0}
.library-row-actions .secondary{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 11px;text-decoration:none;white-space:nowrap}
.library-upload{color:#087f78;padding:7px 3px}.library-add-material{margin:14px 0 0;border:1px solid #dce7e9;border-radius:11px;background:#fff;padding:11px 14px}
.library-add-material>summary{cursor:pointer;color:#087f78;font-weight:650}.library-add-material .fields{margin-top:12px;align-items:end}
.library-source-group+.library-source-group{border-top:1px solid #dce7e9}.library-source-group-head{display:flex;align-items:center;gap:9px;padding:11px 0 5px}
.library-source-group-head h3{font-size:15px;line-height:1.3;margin:0}.library-source-group-head small{color:#637780;margin-left:auto}
.library-source-row{display:flex;align-items:center;gap:16px;padding:9px 0;border-top:1px solid #edf2f3}
.library-source-info small{display:block;color:#637780;font-size:12px;line-height:1.4;margin-top:3px}
.library-document-status{display:inline-flex;align-items:center;border-radius:20px;padding:4px 8px;font-size:12px;line-height:1.35;white-space:nowrap}
.library-document-status.is-clean{background:#e2f5ed;color:#136445}.library-document-status.is-pending{background:#fff4dc;color:#775314}.library-document-status.is-error{background:#fff0ed;color:#973529}
#history-versions .library-version-row{align-items:center;padding:11px 0}.library-version-row .library-document-status{margin-top:5px}.library-version-row .hint{margin:0;max-width:210px;text-align:right}
@media(max-width:650px){
 #listing>.library-section{margin-top:10px}.library-section-head{padding:11px 12px}.library-material-list,.library-source-list{padding:0 12px}
 #listing .library-material-row,.library-source-row{align-items:flex-start;flex-direction:column;gap:8px}.library-row-actions{width:100%;justify-content:flex-start}
 .library-row-actions .secondary{white-space:normal}.library-add-material .fields{grid-template-columns:1fr}.library-source-group-head{flex-wrap:wrap}
}

/* Clear next step after a dossier has been transmitted. */
.submission-new-service{order:-1}
.submission-service-choices{margin:22px 0 0;padding:20px;border:1px solid #cfe3e4;border-radius:12px;background:#f8fbfb;text-align:left}
.submission-service-choices h3{margin:0 0 5px;font-size:19px;line-height:1.35}
.submission-service-choices>.hint{margin:0 0 15px}
.submission-service-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.submission-service-options button,.submission-service-options a{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 12px;text-align:center;text-decoration:none;line-height:1.35}
@media(max-width:700px){
 .submission-service-options{grid-template-columns:1fr}
 .submission-service-options button,.submission-service-options a{width:100%}
}
