/* ===== assets/css/04-modals.css | 弹窗：授权码 / 源码查看 / 导入外部代码 / 增发授权 ===== */
/* 来源：原 index.html 内联样式 第 105-197 行；改样式只改这个文件 */
  /* 授权码弹窗 */
  #licModal { display:none; position:fixed; inset:0; background:rgba(0,0,0,.6); align-items:center; justify-content:center; z-index:10; }
  #chgPwModal { display:none; position:fixed; inset:0; background:rgba(0,0,0,.6); align-items:center; justify-content:center; z-index:10; }
  /* 源码查看弹窗（仅管理员）。缺这行会让它默认 display:block，空面板常驻页面底部、所有用户都看得见 */
  #srcModal { display:none; position:fixed; inset:0; background:rgba(0,0,0,.6); align-items:center; justify-content:center; z-index:10; }
  /* ===== 代码修改模式：导入外部代码（弹窗） ===== */
  #codeImportModal { display:none; position:fixed; inset:0; background:rgba(0,0,0,.62); align-items:center; justify-content:center; z-index:20; }
  .cim-box { width:900px; max-width:94vw; max-height:92vh; overflow:auto; background:#1e1914; border:1px solid #2d2720; border-radius:14px; padding:26px 30px 22px; box-shadow:0 24px 60px rgba(0,0,0,.55); }
  .cim-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
  .cim-title { font-size:20px; font-weight:700; color:#f0e9d8; letter-spacing:.5px; }
  .cim-close { width:32px; height:32px; line-height:30px; text-align:center; font-size:24px; color:#9a8f7a; cursor:pointer; border-radius:8px; }
  .cim-close:hover { background:#2a231b; color:#f0e9d8; }
  .cim-row { display:flex; align-items:stretch; background:#191510; border:1px solid #2d2720; border-radius:10px; padding:16px 8px; }
  .cim-col { flex:1; padding:0 26px; }
  .cim-div { width:1px; background:#2d2720; margin:4px 0; }
  .cim-lb { font-size:14px; color:#9a8f7a; font-weight:600; margin-bottom:12px; }
  .cim-opts { display:flex; gap:26px; flex-wrap:wrap; }
  .cim-opt { display:flex; align-items:center; gap:7px; font-size:15px; color:#e6e0d2; cursor:pointer; user-select:none; }
  .cim-opt input { width:16px; height:16px; accent-color:#2e9e5b; cursor:pointer; }
  .cim-hint { text-align:center; color:#9a8f7a; font-size:13px; margin:16px 0 14px; }
  .cim-sub { text-align:center; margin-bottom:8px; }
  .cim-sub-t { font-size:17px; font-weight:700; color:#f0e9d8; margin-right:10px; }
  .cim-badge { display:inline-block; padding:3px 10px; border-radius:6px; font-size:12px; font-weight:700; color:#fff; margin-left:6px; vertical-align:middle; }
  .cim-badge.lang { background:#2e9e5b; }
  .cim-badge.type { background:#2a231b; color:#e6e0d2; }
  .cim-hint2 { text-align:center; color:#8a7f6a; font-size:12.5px; margin-bottom:10px; }
  #cimCode { width:100%; min-height:250px; background:#14110d; border:1px solid #3a332a; border-radius:10px; color:#e6e0d2; font-size:13px; line-height:1.6; padding:14px 16px; outline:none; resize:vertical; font-family:Consolas,Menlo,monospace; }
  #cimCode:focus { border-color:#2e9e5b; }
  #cimCode::placeholder { color:#6f6552; }
  .cim-okbar { display:none; margin-top:16px; padding:12px 18px; border-radius:9px; background:rgba(46,158,91,.16); border:1px solid #2e9e5b; color:#6fc98f; font-size:14px; font-weight:600; text-align:center; }
  .cim-foot { display:flex; gap:12px; margin-top:16px; }
  .cim-btn { border:none; border-radius:8px; padding:12px 26px; font-size:15px; font-weight:600; cursor:pointer; }
  #cimOk { background:#4a4238; color:#b9ac93; cursor:not-allowed; }
  #cimOk.on { background:#2e9e5b; color:#fff; cursor:pointer; }
  #cimOk.on:hover { background:#37b76b; }
  #cimClr { background:#56615f; color:#e6ecea; }
  #cimClr:hover { background:#66726f; }
  .modal-card { width:420px; background:#1e1914; border:1px solid #2d2720; border-radius:12px; padding:26px; }
  .modal-card h3 { margin-bottom:16px; }
  /* ===== 为新客户增发授权（弹窗；对标 EaManager 的「为新客户增发授权」）===== */
  #lmCloneModal, #lmNewModal { display:none; position:fixed; inset:0; background:rgba(0,0,0,.62); align-items:center; justify-content:center; z-index:200; }
#aiLicModal { display:none; position:fixed; inset:0; background:rgba(0,0,0,.62); align-items:center; justify-content:center; z-index:210; }
.lmc-or { text-align:center; color:#9a8f7a; font-size:12px; margin:9px 0 7px; }
.lmc-tip2 { background:#241d16; border:1px solid #3a332a; border-radius:9px; padding:10px 12px; font-size:12px; line-height:1.7; color:#bdb2a0; }
  .lmc-card { width:470px; max-width:92vw; max-height:90vh; overflow:auto; background:#1e1914; border:1px solid #2d2720; border-radius:12px; padding:22px 24px; }
  .lmc-hd { display:flex; align-items:center; margin-bottom:14px; }
  .lmc-hd h3 { margin:0; font-size:17px; }
  .lmc-hint { background:#241d16; border:1px solid #3a332a; border-radius:9px; padding:11px 13px; font-size:12.5px; line-height:1.75; color:#bdb2a0; margin-bottom:16px; }
  .lmc-hint code { color:#ffd778; background:rgba(255,215,120,.10); border-radius:5px; padding:1px 6px; font-family:Consolas,monospace; font-size:12px; }
  .lmc-hint b { color:#f0e9d8; }
  .lmc-f { margin-bottom:13px; }
  .lmc-f > label { display:block; font-size:12.5px; color:#9a8f7a; margin-bottom:6px; }
  .lmc-f input { width:100%; box-sizing:border-box; background:#14110d; border:1px solid #3a332a; border-radius:8px; color:#f0e9d8; padding:9px 11px; font-size:13px; outline:none; }
  .lmc-f input:focus { border-color:#a05a2c; }
  .lmc-presets { display:flex; gap:8px; }
  .lmc-presets button { flex:1; background:#2a231b; border:1px solid #3a332a; color:#d9cbb2; border-radius:8px; padding:8px 0; font-size:12.5px; cursor:pointer; }
  .lmc-presets button:hover { border-color:#a05a2c; color:#ffd778; }
  .lmc-presets button.on { border-color:#a05a2c; background:#33271b; color:#ffd778; }
  .lmc-row { display:flex; gap:12px; }
  .lmc-row .lmc-f { flex:1; }
  .lmc-f select { width:100%; box-sizing:border-box; background:#14110d; border:1px solid #3a332a; border-radius:8px; color:#f0e9d8; padding:9px 11px; font-size:13px; outline:none; }
  .lmc-f select:focus { border-color:#a05a2c; }
  .lmc-f input:disabled { opacity:.5; cursor:not-allowed; }
  #tab-orders .ord-in { background:#14110d; border:1px solid #3a332a; border-radius:8px; color:#e6e0d2; padding:9px 10px; font-size:14px; }
  #tab-orders .ord-in:focus { border-color:#d9a06b; outline:none; }
  .lmc-f input[type="datetime-local"]::-webkit-calendar-picker-indicator { filter:invert(.75); cursor:pointer; }
  details.lmc-adv { margin:2px 0 6px; }
  details.lmc-adv > summary { cursor:pointer; font-size:12.5px; color:#9a8f7a; padding:6px 0; }
  details.lmc-adv[open] > summary { color:#d9cbb2; margin-bottom:8px; }
  .lmc-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:18px; position:sticky; bottom:-22px; background:#1e1914; padding:14px 0 2px; border-top:1px solid rgba(217,160,107,.18); }
  .lmc-result { display:none; margin-top:16px; border-top:1px solid #2d2720; padding-top:14px; }
  .lmc-rlabel { font-size:12.5px; color:#2e9e5b; margin-bottom:8px; }
  .lmc-rkey { font-family:Consolas,monospace; font-size:15px; color:#ffd778; background:#14110d; border:1px dashed #3a332a; border-radius:8px; padding:11px 13px; word-break:break-all; user-select:all; }
  .lmc-rtip { font-size:11.5px; color:#9a8f7a; line-height:1.75; margin-top:8px; }
  .lmc-rtip b { color:#d9cbb2; }
.lmc-f > label small { color:#7d7466; font-size:11px; font-weight:400; }
.lmc-f > label .req { color:#d0453a; margin-left:2px; }
.lmc-remote { margin:10px 0 4px; background:#241d16; border:1px solid #3a332a; border-radius:9px; padding:11px 12px; }
.lmc-remote-hd { display:flex; align-items:center; gap:8px; margin-bottom:9px; }
.lmc-remote-title { flex:1; font-size:12.5px; color:#d9cbb2; }
.lmc-remote-hd .btn.small { padding:4px 10px; font-size:11.5px; }
.lmc-remote-list { max-height:210px; overflow:auto; }
.lmc-remote-row { display:flex; align-items:center; gap:8px; padding:5px 2px; border-bottom:1px dashed #332b22; }
.lmc-remote-row:last-child { border-bottom:none; }
.lmc-remote-row input[type="checkbox"] { flex:0 0 auto; width:auto; }
.lmc-remote-key { flex:1; font-family:Consolas,monospace; font-size:12.5px; color:#ffd778; }
.lmc-remote-type { flex:0 0 auto; font-size:11px; color:#7d7466; }
.lmc-remote-decoy { flex:0 0 auto; font-size:11px; color:#9a8f7a; }
.lmc-remote-init { flex:0 0 108px; width:108px; background:#14110d; border:1px solid #3a332a; border-radius:6px; color:#f0e9d8; font-size:12px; padding:4px 6px; box-sizing:border-box; }
.lmc-remote-empty { font-size:11.5px; color:#9a8f7a; line-height:1.7; }
.lmc-remote-hint { font-size:11px; color:#7d7466; margin-top:7px; }
  .muted2 { color:#9a8f7a; font-size:12px; margin-top:6px; }

