.cut-current-model{max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px!important;color:#7768df!important;margin-top:4px!important}/* Keep the editor settings entry readable on the shared gold button theme. */
#panel-ai-chat #cutModelSettingsOpen{color:#231a06!important;background:linear-gradient(110deg,#eeeaff,#eeeaff)!important;border-color:#c8cdf6!important;font-weight:700!important;text-shadow:none!important;filter:none!important}
#panel-ai-chat #cutModelSettingsOpen:not(:disabled){opacity:1!important}
#panel-ai-chat #cutModelSettingsOpen:hover:not(:disabled){color:#231a06!important;background:linear-gradient(110deg,#eeeaff,#eeeaff)!important}
#panel-ai-chat #cutModelSettingsOpen:active:not(:disabled){color:#231a06!important;background:linear-gradient(110deg,#eeeaff,#eeeaff)!important}
#panel-ai-chat #cutModelSettingsOpen:focus-visible{outline:2px solid #c8cdf6!important;outline-offset:3px}

.cut-model-dialog{position:fixed;inset:0;margin:auto;max-width:none;box-sizing:border-box;width:min(650px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;color:#29496f;background:#f7faff;border:1px solid #c8cdf659;border-radius:18px;box-shadow:0 28px 100px #d6e2f3aa;overflow:hidden}.cut-model-dialog::backdrop{background:#f7faffaa;backdrop-filter:blur(4px)}.cut-model-dialog *{box-sizing:border-box}.cut-model-dialog .cm-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 50px);margin:0}.cm-head{display:flex;justify-content:space-between;gap:20px;padding:22px 24px 16px;border-bottom:1px solid #c8cdf624;flex-shrink:0}.cm-head h2{font-size:22px;line-height:1.35;margin:4px 0 8px;color:#7768df}.cm-head p{font-size:12px;line-height:1.6;margin:0;color:#7185a3}.cm-head .cm-eyebrow{font-size:10px;letter-spacing:1px;color:#7768df}.cm-close{align-self:flex-start;width:32px;height:32px;padding:0!important;font-size:24px!important}.cm-body{overflow-y:auto;padding:18px 24px 8px;min-height:0;overscroll-behavior:contain}.cm-body>label,.cm-label-line>label,.cm-advanced>label{display:block;font-size:13px;font-weight:600;margin:10px 0 7px;color:#7768df}.cut-model-dialog select,.cut-model-dialog input:not([type=checkbox]){display:block;width:100%;min-height:40px;border:1px solid #c8cdf63d;border-radius:9px;background:#f7faff;color:#29496f;padding:9px 11px;font:inherit;font-size:13px;outline:none}.cut-model-dialog select:focus,.cut-model-dialog input:focus{border-color:#c8cdf6;box-shadow:0 0 0 2px #c8cdf61a}.cut-model-dialog input[hidden]{display:none!important}.cut-model-dialog option{background:#f7faff;color:#29496f}.cm-note{color:#7185a3;font-size:11px;line-height:1.65;margin:6px 0 14px}.cm-inline{display:flex;gap:8px}.cm-inline input{min-width:0;flex:1}.cut-model-dialog button{font:inherit;font-size:12px;padding:9px 13px;line-height:1.35;border:1px solid #c8cdf645;border-radius:8px;background:#f7faff;color:#7768df;cursor:pointer;white-space:nowrap}.cut-model-dialog button:disabled{opacity:.5;cursor:wait}.cm-check{display:flex!important;align-items:center;gap:7px;font-size:11px!important;font-weight:400!important;color:#7185a3!important}.cm-check input{accent-color:#7768df}.cm-label-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.cm-label-line>label{margin:0}.cm-label-line button{font-size:11px;padding:7px 11px}#cmManualModel{margin-top:8px}.cm-advanced{border-top:1px solid #c8cdf62b;margin:12px 0;padding-top:12px;font-size:12px}.cm-advanced summary{cursor:pointer;color:#7768df}.cm-status{padding:10px 12px;border:1px solid #c8cdf62c;border-radius:9px;line-height:1.7;font-size:12px;color:#7768df;background:#eeeaff08;overflow-wrap:anywhere}.cm-status[data-tone=error]{border-color:#c8cdf647;color:#7768df;background:#eeeaff09}.cm-status[data-tone=success]{border-color:#7185a34d;color:#7185a3}.cm-test-note,.cm-footer-note{font-size:10px;color:#7185a3;line-height:1.6;margin:8px 0}.cm-actions{display:flex;justify-content:flex-end;gap:8px;padding:14px 24px 8px;border-top:1px solid #c8cdf624;flex-shrink:0}.cm-actions #cmTest{margin-right:auto}.cm-actions .cm-primary{color:#29230e;font-weight:700;border-color:#c8cdf6;background:linear-gradient(110deg,#eeeaff,#eeeaff)}.cm-footer-note{padding:0 24px 12px;margin:0;flex-shrink:0}@media(max-width:650px){.cut-model-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:13px}.cut-model-dialog .cm-shell{max-height:calc(100dvh - 18px)}.cm-head{padding:16px}.cm-head h2{font-size:20px}.cm-body{padding:10px 16px}.cm-actions{padding:12px 16px 8px;flex-wrap:wrap}.cm-actions #cmTest{flex:1 0 100%}.cm-actions #cmCancel,.cm-actions #cmSave{flex:1}.cm-footer-note{padding:0 16px 12px}.cut-current-model{max-width:250px}.cm-inline button{padding:7px 9px}}
