.contract-vault{margin:22px 0;padding:clamp(16px,3vw,28px);border:1px solid #ffffff24;border-radius:24px;background:linear-gradient(135deg,#ffffff0f,#ffffff03),#171b20;color:#f5f7fa;box-shadow:0 16px 45px #0002;min-width:0}
.contract-vault>header{display:flex;align-items:center;gap:16px;margin-bottom:22px}.contract-vault>header>div{flex:1;min-width:0}.contract-vault header h3{font-size:23px;margin:5px 0}.contract-vault header small{font-size:10px;letter-spacing:.12em;color:#fba0a6}.contract-vault header p{font-size:13px;color:#b9c1cc;line-height:1.6;margin:0}.contract-vault header>b{font-size:30px;color:#bec9d7;font-weight:500}.contract-seal{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:16px;background:#ffffff0b;border:1px solid #ffffff20;color:#f9a5ac}.contract-seal svg{width:24px;height:24px}
.contract-files{display:grid;gap:10px;margin-bottom:20px}.contract-empty{padding:24px;border:1px dashed #ffffff28;border-radius:16px;color:#bac1cc;text-align:center;font-size:13px}.contract-file{display:flex;gap:14px;align-items:center;padding:16px;background:#ffffff06;border:1px solid #ffffff1c;border-radius:16px;min-width:0;color:#f5f7fa}.file-format{display:grid;place-items:center;flex:none;min-width:48px;height:58px;border-radius:9px;background:linear-gradient(145deg,#d5354640,#e7566412);border:1px solid #ed6c793b;color:#ffc1c8;font-size:10px;font-weight:800;letter-spacing:.06em}.contract-file>div:not(.contract-file-actions){flex:1;min-width:0;display:grid;gap:5px}.contract-file strong{font-size:14px;overflow-wrap:anywhere}.contract-file span:not(.file-format),.contract-file small{font-size:11px;line-height:1.6;color:#bec6d0;overflow-wrap:anywhere}.contract-file p{font-size:12px;margin:4px 0;color:#d5dce5;overflow-wrap:anywhere}.contract-file-actions{display:flex;gap:7px;flex-wrap:wrap;flex:none}.contract-file-actions button{border:1px solid #ffffff2c;border-radius:10px;color:#fff;padding:9px 12px;background:linear-gradient(#ffffff14,#ffffff06);cursor:pointer;font-size:12px}.contract-file-actions button:hover{background:#ffffff24}.contract-file-actions button:disabled{opacity:.5}
.contract-form{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.contract-form>label{display:grid;gap:8px;font-size:12px;color:#c9d1dc;min-width:0}.contract-form input:not([type=checkbox]):not([type=file]){width:100%;min-width:0;box-sizing:border-box;border:1px solid #ffffff26;background:#ffffff05;border-radius:12px;padding:13px;color:#fff;font:inherit}.contract-form input:focus-visible{outline:2px solid #fc929f;outline-offset:2px}.contract-form .contract-drop{position:relative;grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:26px 14px;min-height:150px;border:1px dashed #ffffff3c;border-radius:18px;background:linear-gradient(135deg,#ffffff08,#ffffff02);cursor:pointer;text-align:center;overflow:hidden}.contract-drop>svg{width:26px;height:26px;color:#ffa5b0}.contract-drop strong{font-size:14px;color:#f5f7fa}.contract-drop small{color:#aeb9c6;font-size:11px}.contract-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.contract-drop:focus-within,.contract-drop.dragover{outline:2px solid #fb8998;background:#f9748910}.contract-drop [data-file-selection]{font-size:12px;color:#f4cbd0;max-width:100%;overflow-wrap:anywhere}.contract-form .contract-visible{display:flex;align-items:center;gap:9px;grid-column:1/-1}.contract-visible input{accent-color:#f35163;width:17px;height:17px}.contract-form .primary-btn{grid-column:1/-1;border:1px solid #ffffff23;border-radius:13px;background:linear-gradient(135deg,#e54154,#c62e44);box-shadow:inset 0 1px #ffffff30,0 7px 22px #b5163026;min-height:48px;color:#fff;display:flex;justify-content:center;align-items:center;gap:10px;font-size:14px}.contract-form .primary-btn svg{width:18px}.contract-hint{grid-column:1/-1;font-size:12px;color:#bac4d1;line-height:1.6;margin:0}.document-upload-status{grid-column:1/-1;display:grid;gap:12px;padding:15px;background:#ffffff08;border-radius:12px;overflow-wrap:anywhere;font-size:12px;color:#cbd5e1}.document-upload-status[hidden]{display:none}.document-upload-status progress{width:100%;height:6px;accent-color:#ee5d70}
.catalog-load-notice{position:fixed;bottom:85px;right:20px;z-index:90;display:grid;grid-template-columns:16px 1fr;gap:9px;align-items:center;width:min(300px,calc(100vw - 40px));box-sizing:border-box;padding:15px 18px;border:1px solid #ffffff24;border-radius:16px;background:#20252cee;backdrop-filter:blur(18px);color:#eff3f8;box-shadow:0 10px 30px #0003;font-size:12px;pointer-events:none}.catalog-load-notice b{display:block;margin-top:4px}.catalog-load-notice progress{grid-column:1/-1;width:100%;height:3px;accent-color:#fa7587}.catalog-load-notice i{width:12px;height:12px;border:2px solid #ffffff30;border-top-color:#ff8799;border-radius:50%;animation:ci56-spin 1s linear infinite}
.batch-flight{display:grid;grid-template-columns:140px minmax(0,1fr);gap:26px;align-items:center;background:radial-gradient(ellipse at 0 0,#a2355126,transparent 70%),linear-gradient(120deg,#ffffff09,#ffffff02);border:1px solid #ffffff24;border-radius:22px;padding:26px;margin-bottom:20px;position:relative;overflow:hidden}.batch-flight::after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,#ffffff03 48%,transparent 70%);transform:translateX(-100%);animation:ci56-sweep 4s ease-in-out infinite;pointer-events:none}.batch-orbit{width:136px;height:136px;border-radius:50%;background:conic-gradient(#f56b80 var(--progress),#ffffff0b 0);padding:5px;box-sizing:border-box;position:relative}.batch-orbit>div{width:100%;height:100%;border-radius:50%;background:#202128;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #ffffff17}.batch-orbit strong{font-size:33px;letter-spacing:-1px;color:#fff;font-weight:600}.batch-orbit small{font-size:10px;color:#b6bfce;margin-top:4px}.batch-flight-copy{min-width:0}.batch-flight-copy>small{font-size:10px;letter-spacing:.12em;color:#f4a6b3}.batch-flight-copy h3{font-size:22px;margin:9px 0;color:#fff;overflow-wrap:anywhere}.batch-flight-copy p{font-size:12px;line-height:1.7;color:#bdc5d1;margin:9px 0}.batch-flight-current{font-size:12px;color:#edf0f5;overflow-wrap:anywhere;display:block}.batch-stage-track{display:flex;gap:5px;margin:18px 0 12px}.batch-stage-track i{height:4px;flex:1;border-radius:4px;background:#ffffff12}.batch-stage-track i.done{background:#f07789}.batch-stage-track i.active{background:#f7a9b5;animation:ci56-pulse 1.7s ease-in-out infinite}.batch-photo-count{display:flex;justify-content:space-between;font-size:11px;color:#c1c8d3;gap:10px}.batch-photo-count b{color:#fff}.batch-flight progress{height:5px;width:100%;margin-top:8px;accent-color:#f4778c}.batch-finish{font-size:12px;padding:13px 16px;background:#6dd7ad0a;border:1px solid #6dd7ad25;border-radius:12px;color:#badccd}
.ai-panel{max-height:min(740px,calc(100dvh - 110px));display:flex;flex-direction:column;overflow:hidden}.ai-panel .ai-messages{flex:1;min-height:80px;overflow-y:auto}.assistant-menu{display:flex;flex-wrap:wrap;gap:7px;padding:13px 16px;border-bottom:1px solid #ffffff16;flex:none}.assistant-menu button{font:inherit;font-size:11px;color:#edf0f5;background:linear-gradient(#ffffff12,#ffffff07);border:1px solid #ffffff28;border-radius:10px;padding:8px 10px;cursor:pointer}.assistant-menu button:hover{background:#ffffff23}.assistant-menu button:disabled{opacity:.5}.ai-panel form{flex:none}.ai-panel .ai-note{flex:none;font-size:10px}.ai-message-action{margin-top:9px}.ai-panel header small{font-size:10px}
html.manager-route:root body.ci-v9.admin-desk #ai-root{display:block!important}
html:root body.ci-v9 #ai-root .ai-panel{display:flex!important;flex-direction:column;background:linear-gradient(130deg,#303137f5,#191c22fa);color:#f4f6fa;border:1px solid #ffffff2b;backdrop-filter:blur(24px);box-shadow:0 28px 80px #0005}
html:root body.ci-v9 #ai-root .ai-panel>header{background:#ffffff04;border-color:#ffffff1c}
html:root body.ci-v9 #ai-root .ai-panel>header strong{color:#f4f6fa}html:root body.ci-v9 #ai-root .ai-panel>header small{color:#b8c2d0}
html:root body.ci-v9 #ai-root .ai-panel>header button{background:#ffffff0c;color:#dce3ef}
html:root body.ci-v9 #ai-root .ai-message{background:#ffffff07;border:1px solid #ffffff12;color:#e5eaf1}
html:root body.ci-v9 #ai-root .ai-message.user{background:#d25a7024;border-color:#f77a8c30}
html:root body.ci-v9 #ai-root .ai-message p{color:#e2e8f0}html:root body.ci-v9 #ai-root .ai-message>span{color:#b8c4d3}
html:root body.ci-v9 #ai-root .ai-message-action{background:#ffffff0d;border-color:#ffffff25;color:#fff}
html:root body.ci-v9 #ai-root #ai-chat-form{background:transparent;border-color:#ffffff1c}
html:root body.ci-v9 #ai-root #ai-chat-form input{color:#f5f7fb;background:#ffffff09;border-color:#ffffff25}
html:root body.ci-v9 #ai-root .ai-note{color:#b1bdcc}
html:root body.ci-v9 #ai-root .ai-messages{background:transparent}
html:root body.ci-v9 .client-stage-content:has(.contract-vault){padding:0 14px 20px!important}
html:root body.ci-v9 .contract-vault p{border:0;padding-top:0;color:#bac4d1}
html:root body.ci-v9 .contract-vault :is(h3,h4,strong){color:#f5f7fa}
html:root body.ci-v9 .contract-vault small{color:#bac4d1;font-weight:400;text-transform:none;letter-spacing:normal}
html:root body.ci-v9 .contract-vault>header small{color:#f6a4b1;font-size:10px;letter-spacing:.1em}
html:root body.ci-v9 .contract-vault :is(label>span,.contract-file>div>span){color:#cad4e1!important}
html:root body.ci-v9 .contract-vault .file-format{color:#ffc1c8!important;font-size:11px!important}
@keyframes ci56-spin{to{transform:rotate(360deg)}}@keyframes ci56-sweep{50%,100%{transform:translateX(100%)}}@keyframes ci56-pulse{50%{opacity:.4}}
@media(max-width:600px){.contract-form{grid-template-columns:minmax(0,1fr)}.contract-file{flex-wrap:wrap;gap:10px}.contract-file-actions{width:100%;justify-content:flex-end}.contract-vault>header{gap:10px;align-items:flex-start}.contract-seal{width:36px;height:36px;border-radius:12px}.contract-vault header h3{font-size:19px}.contract-vault>header>b{font-size:24px}.contract-vault{padding:14px;border-radius:18px}.batch-flight{grid-template-columns:88px minmax(0,1fr);padding:16px;gap:14px}.batch-orbit{width:86px;height:86px;padding:4px}.batch-orbit strong{font-size:22px}.batch-orbit small{font-size:8px}.batch-flight-copy h3{font-size:17px}.batch-photo-count{flex-wrap:wrap}.batch-flight-copy p{font-size:11px}.ai-panel{width:calc(100vw - 24px);right:12px;max-height:calc(100dvh - 110px)}.assistant-menu{gap:5px;padding:10px}.assistant-menu button{padding:7px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.batch-flight::after,.batch-stage-track i.active,.catalog-load-notice i{animation:none}}
