.file-request-card{display:flex;align-items:stretch;flex-direction:column;gap:12px;padding:16px;border:1px solid #cdd7fc;border-radius:10px;background:#f4f7ff;margin:16px 0;color:#26344a;}
.file-request-card p{margin:6px 0 0;font-size:14px;line-height:1.5;word-break:keep-all;}
.file-request-button{border:1px solid #4e61e8;border-radius:8px;padding:12px 16px;background:#4e61e8;color:#fff;font:inherit;font-weight:700;cursor:pointer;word-break:keep-all;}
.file-request-button:disabled{opacity:.55;cursor:default;}
.file-request-overlay[hidden]{display:none;}
.file-request-overlay{position:fixed;inset:0;z-index:160;display:grid;place-items:center;padding:20px;background:rgba(15,23,42,.48);}
.file-request-dialog{position:relative;width:min(640px,100%);max-height:90dvh;overflow:auto;box-sizing:border-box;padding:26px;border:1px solid #dbe1eb;border-radius:12px;background:#fff;color:#243046;box-shadow:0 24px 70px #0f172a33;}
.file-request-dialog h2{margin:0 24px 14px 0;font-size:23px;}
.file-request-dialog p{line-height:1.55;word-break:keep-all;}
.file-request-close{position:absolute;top:12px;right:14px;border:0;background:none;font-size:27px;cursor:pointer;color:#536078;}
.file-request-note{padding:12px;border-radius:8px;background:#f1f5ff;color:#4054c4;font-size:14px;}
.file-request-form{display:grid;gap:14px;}
.file-request-form[hidden]{display:none;}
.file-request-form [hidden]{display:none;}
.file-request-options{display:grid;gap:10px;margin:0;padding:14px;border:1px solid #d3dae6;border-radius:8px;min-width:0;}
.file-request-options legend{padding:0 5px;font-size:15px;font-weight:700;}
.file-request-form .file-request-option{display:flex;align-items:center;gap:9px;font-weight:500;line-height:1.5;}
.file-request-form .file-request-option input{width:18px;height:18px;margin:0;padding:0;flex-shrink:0;accent-color:#4e61e8;}
.file-request-form label{display:grid;gap:7px;font-size:14px;font-weight:600;min-width:0;}
.file-request-form input,.file-request-form select,.file-request-form textarea{box-sizing:border-box;max-width:100%;width:100%;padding:10px;border:1px solid #d3dae6;border-radius:7px;font:inherit;background:#fff;color:#243046;}
.file-request-form textarea{resize:vertical;}
.file-request-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.file-request-help{margin:0;font-size:13px;color:#65728b;}
.file-request-files{margin:0;padding-left:20px;font-size:13px;overflow-wrap:anywhere;}
.file-request-files:empty{display:none;}
.file-request-status{margin:0;color:#3650bd;font-size:14px;white-space:pre-wrap;}
.file-request-status[data-error=true]{color:#c23838;}
.file-request-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;}
.file-request-dismiss{border:1px solid #d3dae6;border-radius:8px;padding:12px 16px;background:#fff;color:#243046;font:inherit;cursor:pointer;}
.file-request-admin-files{width:100%;display:flex;flex-wrap:wrap;gap:8px;overflow-wrap:anywhere;}
.file-request-admin-files p{width:100%;font-size:13px;}
.file-request-admin-files button{max-width:100%;overflow-wrap:anywhere;white-space:normal;}
.whole-price-resume{display:grid;gap:7px;margin:16px 0;font-size:14px;}
.whole-entry-actions{display:flex;flex-wrap:wrap;gap:10px;}
.whole-entry-actions>button{flex:1;}
.whole-entry-actions>button[hidden]{display:none;}
.whole-price-new{margin-bottom:14px;}
.whole-production-notice{padding:22px;margin:12px 0 20px;border:2px solid #655ee8;border-radius:12px;background:#f1f2ff;color:#243046;}
.whole-production-notice[hidden],.whole-duplicate-notice[hidden]{display:none;}
.whole-production-notice strong{display:block;font-size:21px;line-height:1.5;color:#3930a3;}
.whole-production-notice p{margin:12px 0 0;line-height:1.65;}
.whole-production-notice .whole-production-next{font-size:13px;color:#dc2626;}
.whole-duplicate-notice{padding:12px;background:#f1f5ff;border-radius:8px;line-height:1.6;}
.whole-price-resume[hidden]{display:none;}
.whole-price-resume select{width:100%;min-width:0;padding:10px;border:1px solid #d3dae6;border-radius:7px;background:#fff;color:#243046;font:inherit;}
.whole-loading-dots{display:inline-block;min-width:1.2em;white-space:nowrap;}
.whole-spinner{display:inline-block;width:18px;height:18px;margin-right:9px;border:3px solid #dce0fc;border-top-color:#5148db;border-radius:50%;vertical-align:middle;animation:whole-spin .8s linear infinite;}
.whole-is-busy,.whole-is-busy *{cursor:progress;}
@keyframes whole-spin{to{transform:rotate(360deg);}}
@media(prefers-reduced-motion:reduce){.whole-spinner{animation:none;}}
.whole-loading-dots span{animation:whole-loading-dot 1.2s steps(1,end) infinite;}
.whole-loading-dots span:nth-child(2){animation-name:whole-loading-dot-two;}
.whole-loading-dots span:nth-child(3){animation-name:whole-loading-dot-three;}
@keyframes whole-loading-dot{0%,100%{opacity:1;}}
@keyframes whole-loading-dot-two{0%{opacity:0;}33.333%{opacity:1;}}
@keyframes whole-loading-dot-three{0%{opacity:0;}66.667%{opacity:1;}}
@media(prefers-reduced-motion:reduce){.whole-loading-dots span{animation:none;opacity:1;}}
.whole-price-detail{padding-top:12px;border-top:1px solid #d3dae6;}
.whole-price-summary{overflow-wrap:anywhere;}
.whole-price-breakdown{white-space:pre-line;line-height:1.85;}
.whole-quote-total{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:16px 0;}
.whole-quote-total[hidden]{display:none;}
.whole-quote-total strong{font-size:22px;color:#4e61e8;}
.whole-quote-total span{font-size:14px;color:#65728b;}
.file-request-dialog .whole-quote-terms{font-size:12px;color:#65728b;line-height:1.6;margin:0;}
.whole-price-status:empty,.whole-price-detail p:empty{display:none;}
.whole-source-drop{display:grid;gap:10px;padding:20px;border:2px dashed #a5b4fc;border-radius:10px;background:#f8faff;text-align:center;}
.whole-source-drop.dragging,.whole-source-drop:focus-visible{border-color:#4e61e8;background:#e9eeff;outline:2px solid #4e61e8;outline-offset:2px;}
.whole-source-name{font-size:14px;overflow-wrap:anywhere;}
.whole-price-timing{color:#4054c4;}
.whole-minimum-policy .file-request-dialog{max-width:660px;border-radius:18px;}
.whole-minimum-policy .whole-price-summary{font-weight:600;font-size:17px;margin-bottom:7px;}
.whole-minimum-policy .whole-quote-options{font-size:13px;color:#68748b;margin:0 0 20px;}
.whole-minimum-policy .whole-output-summary{font-size:14px;font-weight:600;margin:0 0 16px;}
.whole-minimum-policy .whole-price-breakdown{font-size:14px;line-height:1.9;}
.whole-minimum-notice:not([hidden]){padding:12px 14px;background:#f5f5ff;border-radius:9px;font-size:13px;line-height:1.7;color:#364259;}
.whole-minimum-policy .whole-quote-total{margin:22px 0;}
.whole-minimum-policy .whole-quote-total strong{color:#605ce7;font-size:27px;}
.whole-minimum-policy .whole-price-consent>.file-request-button{min-height:52px;background:#605ce7;border-radius:11px;}
.whole-minimum-policy .whole-quote-terms{line-height:1.75;text-align:center;}
.whole-price-detail .whole-quote-options[hidden],.whole-price-detail .whole-output-summary[hidden],.whole-price-detail .whole-minimum-notice[hidden]{display:none;}
.whole-price-reason:not(:empty){padding:12px;border-radius:8px;background:#fff2df;}
.whole-price-consent[hidden]{display:none;}
.whole-price-bank:not(:empty){padding:12px;border-radius:8px;background:#f1f5ff;overflow-wrap:anywhere;}
@media(max-width:640px){.file-request-card{align-items:stretch;flex-direction:column;}.file-request-overlay{padding:10px;}.file-request-dialog{padding:20px;max-height:94dvh;}.file-request-row{grid-template-columns:1fr;}.file-request-actions button{flex:1;}}

/* Allocate the final entry geometry before auth, modules or order reads finish. */
.whole-entry-slot{margin:16px 0;min-height:146px;}
.whole-entry-slot[hidden],.whole-entry-slot [hidden],.whole-entry-slot>.file-request-card[hidden],.file-request-card[hidden]{display:none;}
.whole-entry-slot>.file-request-card{box-sizing:border-box;margin:0;min-height:146px;display:grid;grid-template-rows:54px 46px;gap:12px;}
.whole-entry-slot>.file-request-card>div:first-child{min-width:0;overflow:hidden;}
.whole-entry-slot .file-request-help{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:21px;}
.whole-entry-slot .whole-entry-actions{display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;}
.whole-entry-slot .whole-entry-actions[hidden]{display:none;}
.whole-entry-slot .whole-entry-actions>button{min-width:0;padding:10px 8px;white-space:nowrap;font-size:clamp(12px,1.4vw,16px);}
.whole-entry-slot .whole-entry-actions>button:only-of-type{grid-column:1/-1;}
.whole-entry-placeholder .whole-entry-actions>span{border-radius:8px;background:#e6eafa;}
.whole-entry-placeholder p{color:#65728b;}
.generation-preparing .model-options>label{visibility:hidden;}
.generation-preparing .model-options{background:#f4f7ff;border-radius:12px;}
@media(prefers-reduced-motion:no-preference){.whole-entry-placeholder .whole-entry-actions>span{animation:whole-entry-pulse 1.2s ease-in-out infinite alternate;}}
@keyframes whole-entry-pulse{to{opacity:.5;}}

