.cut-current-model{max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px!important;color:#c5b487!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,#f3dfa0,#c7a13b)!important;border-color:#c7a13b!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,#f9e8b6,#d6b24e)!important}
#panel-ai-chat #cutModelSettingsOpen:active:not(:disabled){color:#231a06!important;background:linear-gradient(110deg,#e8cd81,#c7a13b)!important}
#panel-ai-chat #cutModelSettingsOpen:focus-visible{outline:2px solid #f5e3aa!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:#eee8da;background:#151514;border:1px solid #a58c5059;border-radius:18px;box-shadow:0 28px 100px #000a;overflow:hidden}.cut-model-dialog::backdrop{background:#000a;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 #b8a27424;flex-shrink:0}.cm-head h2{font-size:22px;line-height:1.35;margin:4px 0 8px;color:#f6edcf}.cm-head p{font-size:12px;line-height:1.6;margin:0;color:#aba492}.cm-head .cm-eyebrow{font-size:10px;letter-spacing:1px;color:#d9bd72}.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:#ddd3b8}.cut-model-dialog select,.cut-model-dialog input:not([type=checkbox]){display:block;width:100%;min-height:40px;border:1px solid #9f8c573d;border-radius:9px;background:#20201e;color:#f1ebdd;padding:9px 11px;font:inherit;font-size:13px;outline:none}.cut-model-dialog select:focus,.cut-model-dialog input:focus{border-color:#d5b867;box-shadow:0 0 0 2px #c1a4541a}.cut-model-dialog input[hidden]{display:none!important}.cut-model-dialog option{background:#22221f;color:#f3edde}.cm-note{color:#a79f8e;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 #aa945545;border-radius:8px;background:#26251f;color:#e7d8ae;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:#a9a292!important}.cm-check input{accent-color:#d4b660}.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 #a58c502b;margin:12px 0;padding-top:12px;font-size:12px}.cm-advanced summary{cursor:pointer;color:#cbbb93}.cm-status{padding:10px 12px;border:1px solid #aa95592c;border-radius:9px;line-height:1.7;font-size:12px;color:#c8bd9f;background:#b59a4c08;overflow-wrap:anywhere}.cm-status[data-tone=error]{border-color:#ba715547;color:#edaf95;background:#a95b3909}.cm-status[data-tone=success]{border-color:#7089514d;color:#b8cb91}.cm-test-note,.cm-footer-note{font-size:10px;color:#99917e;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 #b8a27424;flex-shrink:0}.cm-actions #cmTest{margin-right:auto}.cm-actions .cm-primary{color:#29230e;font-weight:700;border-color:#ddbf63;background:linear-gradient(110deg,#fbe4a0,#cba342)}.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}}
