/* 培训支撑平台 · 样式（无外部依赖，离线可用） */
:root{
  --navy:#143A5E; --navy-2:#1E4A72; --accent:#3D7CA8; --gold:#B88A3E;
  --ink:#1F2933; --muted:#5B6B7B; --line:#DCE3EA; --bg:#F5F7FA; --card:#FFFFFF;
  --ok:#2F7D5A; --warn:#B07B22; --bad:#A83A32; --shadow:0 1px 2px rgba(20,58,94,.06),0 8px 24px rgba(20,58,94,.06);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:var(--bg);color:var(--ink);font:15px/1.7 "Microsoft YaHei","PingFang SC","Noto Sans SC",system-ui,sans-serif}
a{color:var(--navy-2);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.inline{display:inline;margin:0}

/* 顶栏 */
.topbar{background:var(--navy);color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.topbar-inner{display:flex;align-items:center;gap:18px;min-height:64px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}
.brand:hover{text-decoration:none}
.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;background:var(--gold);color:#1b2a38;font-weight:800;letter-spacing:.5px}
.brand-text strong{display:block;font-size:15px;letter-spacing:.3px}
.brand-text em{display:block;font-style:normal;font-size:11.5px;color:#B9CBDC}
.nav{display:flex;gap:2px;flex:1;flex-wrap:wrap}
.nav a{color:#D7E3EF;padding:7px 10px;border-radius:6px;font-size:14px;position:relative}
.nav a:hover{background:rgba(255,255,255,.10);text-decoration:none;color:#fff}
.nav a.on{background:rgba(255,255,255,.16);color:#fff}
.nav .dot{display:inline-block;min-width:17px;padding:0 4px;margin-left:5px;border-radius:9px;background:var(--gold);color:#1b2a38;font-size:11px;line-height:17px;text-align:center}
.userbox{display:flex;align-items:center;gap:10px;font-size:13.5px;color:#E3EDF6}
.uname em{font-style:normal;color:#A9BED2;margin-left:6px;font-size:12px}
/* V4.6：用户名做成「我的账号」入口，保留顶栏浅色文字与虚线提示可点 */
a.uname{color:#E3EDF6;text-decoration:none;border-bottom:1px dashed rgba(255,255,255,.35);padding-bottom:1px}
a.uname:hover{color:#fff;border-bottom-color:rgba(255,255,255,.8);text-decoration:none}

/* 通用组件 */
.main{padding:26px 20px 60px;min-height:60vh}
.footer{background:#0F2C46;color:#9DB2C6;font-size:12.5px;padding:16px 0}
.footer-inner{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.flashes{margin:16px 0 0}
.flash{padding:10px 14px;border-radius:8px;margin-bottom:8px;font-size:14px;border:1px solid transparent}
.flash.ok{background:#EAF5EF;border-color:#BFDCCB;color:#205C42}
.flash.error{background:#FBECEA;border-color:#E7C3BE;color:#8A2E27}
.flash.info{background:#EBF2F8;border-color:#C9DCEB;color:#1B4A6B}
/* V4.6：管理员重置密码后一次性显示的临时密码，需要醒目且便于抄写 */
.flash.secret{background:#FFF8E1;border-color:#E3C77A;color:#6B4E12;border-left:4px solid #C9A227;
  font-family:Consolas,"Courier New",monospace;font-size:14.5px;line-height:1.7;letter-spacing:.2px}
.banner{margin:13px 0 0;padding:9px 13px;border-radius:8px;background:#FFF6E5;border:1px solid #EAD3A4;color:#7A5A18;font-size:13px}

h1{font-size:24px;line-height:1.35;margin:0 0 6px;color:var(--navy)}
h2{font-size:18px;margin:26px 0 10px;color:var(--navy)}
h3{font-size:15.5px;margin:18px 0 8px}
p{margin:8px 0}
.lead{color:var(--muted);font-size:14.5px}
.muted{color:var(--muted)}
.small{font-size:12.8px}
.mono{font-family:Consolas,"Courier New",monospace}
.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.download-actions{display:flex;gap:8px;flex-wrap:wrap}

.btn{display:inline-block;border:1px solid var(--line);background:#fff;color:var(--navy);padding:8px 14px;border-radius:8px;font-size:14px;cursor:pointer;line-height:1.4;transition:.15s;white-space:nowrap}
.btn:hover{text-decoration:none;border-color:var(--accent);color:var(--navy-2)}
.btn-primary{background:var(--navy);border-color:var(--navy);color:#fff}
.btn-primary:hover{background:var(--navy-2);border-color:var(--navy-2);color:#fff}
.btn-gold{background:var(--gold);border-color:var(--gold);color:#1b2a38}
.btn-gold:hover{filter:brightness(1.05);color:#1b2a38}
.btn-ghost{background:transparent;color:inherit;border-color:rgba(255,255,255,.32)}
.btn-ghost:hover{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.5)}
.btn-sm{padding:5px 10px;font-size:13px;border-radius:7px}
.btn:disabled{opacity:.55;cursor:not-allowed}

.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:18px 20px;box-shadow:var(--shadow);margin-bottom:16px}
.card.tight{padding:14px 16px}
.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;flex-wrap:wrap}
.card-head h2,.card-head h3{margin:0}
.grid{display:grid;gap:16px}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:1100px){.grid-5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:900px){.grid-2,.grid-3,.grid-4,.grid-5{grid-template-columns:1fr}}

.kpi{background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 16px;box-shadow:var(--shadow)}
.kpi .n{font-size:26px;font-weight:700;color:var(--navy);line-height:1.2}
.kpi .l{font-size:12.8px;color:var(--muted);margin-top:2px}

table{width:100%;border-collapse:collapse;background:#fff;font-size:13.6px}
th,td{padding:9px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
th{background:#EEF3F8;color:var(--navy);font-weight:600;white-space:nowrap}
tr:hover td{background:#FAFCFE}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:10px}
.table-wrap table{border:0}
.table-wrap th:first-child,.table-wrap td:first-child{padding-left:14px}

.badge{display:inline-block;padding:1px 8px;border-radius:999px;font-size:12px;border:1px solid var(--line);background:#F2F6FA;color:var(--muted);white-space:nowrap}
.badge.ok{background:#E9F5EE;border-color:#BFDCCA;color:var(--ok)}
.badge.warn{background:#FFF6E5;border-color:#EAD3A4;color:var(--warn)}
.badge.bad{background:#FBECEA;border-color:#E7C3BE;color:var(--bad)}
.badge.navy{background:#E7EEF6;border-color:#C6D6E6;color:var(--navy)}

.form-row{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.field{display:flex;flex-direction:column;gap:5px;min-width:220px;flex:1}
.field label{font-size:13px;color:var(--muted)}
input[type=text],input[type=password],input[type=file],select,textarea{
  width:100%;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:#fff;
  font:inherit;font-size:14px;color:var(--ink)}
textarea{resize:vertical;min-height:110px}
input:focus,select:focus,textarea:focus{outline:2px solid rgba(61,124,168,.25);border-color:var(--accent)}
.hint{font-size:12.6px;color:var(--muted)}

/* 首页 */
.hero{background:linear-gradient(135deg,var(--navy) 0%,#1B4B75 60%,#255F8C 100%);color:#fff;border-radius:16px;padding:38px 34px;box-shadow:var(--shadow);margin-bottom:22px}
.hero h1{color:#fff;font-size:30px;margin-bottom:10px}
.hero p{color:#D6E4F0;max-width:760px}
.hero .tags{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 20px}
.hero .tag{border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:3px 11px;font-size:12.5px;color:#E8F1F8}
.hero .actions{display:flex;gap:10px;flex-wrap:wrap}
.hero .actions .btn{border-color:rgba(255,255,255,.35);color:#fff;background:rgba(255,255,255,.06)}
.hero .actions .btn:hover{background:rgba(255,255,255,.16);text-decoration:none}
.hero .actions .btn-gold{background:var(--gold);border-color:var(--gold);color:#1b2a38}

.feature h3{margin-top:0;color:var(--navy)}
.feature p{color:var(--muted);font-size:13.6px;margin:0}

.day-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;box-shadow:var(--shadow)}
.day-card .d{font-size:12.5px;color:var(--gold);font-weight:700;letter-spacing:.5px}
.day-card h3{margin:4px 0 6px;font-size:15px}
.day-card p{margin:0;color:var(--muted);font-size:13px}

/* 课表 */
.tt{table-layout:fixed}
.tt th,.tt td{white-space:normal;font-size:13px}
.tt th:first-child,.tt td:first-child{width:104px;white-space:nowrap;background:#F3F7FA;color:var(--navy);font-weight:600}
.tt .today{background:#FFF9EC}
.tt .lunch td{background:#F6F8FA;color:var(--muted)}

/* 进度 */
.progress{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;font-size:13.4px}
.progress li{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dashed var(--line);padding:4px 0}
@media (max-width:760px){.progress{grid-template-columns:1fr}}

/* 评分 */
.score-big{font-size:40px;font-weight:800;color:var(--navy);line-height:1}
.dim{margin:10px 0}
.dim .bar{height:8px;background:#EDF1F5;border-radius:99px;overflow:hidden}
.dim .bar i{display:block;height:100%;background:linear-gradient(90deg,var(--accent),var(--navy))}
.dim .t{display:flex;justify-content:space-between;font-size:13px;margin-bottom:4px}
.list{margin:6px 0 0 18px;padding:0}
.list li{margin:4px 0}

/* 答疑 */
.qa-log{display:flex;flex-direction:column;gap:12px;margin-top:6px}
.qa-msg{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#fff}
.qa-msg.user{background:#EEF4FA;border-color:#CBDDEB}
.qa-msg .who{font-size:12px;color:var(--muted);margin-bottom:4px}
.qa-msg .body{white-space:pre-wrap}
.cites{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.cites .badge{font-family:Consolas,monospace}

/* 报告正文 */
.pre{white-space:pre-wrap;background:#FBFCFD;border:1px solid var(--line);border-radius:10px;padding:14px;font-size:13.6px;max-height:520px;overflow:auto}

/* 管理 */
.stat-row{display:flex;gap:10px;flex-wrap:wrap}
.stat-row .kpi{flex:1;min-width:120px}

/* 细节 */
.tag-list{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
.sect{margin-bottom:18px}
.sect h2{border-left:4px solid var(--gold);padding-left:10px}
.article h2{border-left:4px solid var(--gold);padding-left:10px;font-size:18px}
.article h3{font-size:15.5px;color:var(--navy-2)}
.article table{font-size:13px;margin:10px 0}
.article blockquote{margin:10px 0;padding:8px 12px;border-left:3px solid var(--line);background:#FAFCFE;color:var(--muted)}
.article code{background:#F1F5F9;padding:1px 5px;border-radius:4px;font-family:Consolas,monospace;font-size:13px}
.article pre{background:#0F2C46;color:#E6EFF7;padding:12px;border-radius:8px;overflow:auto;font-size:12.8px}
.split{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}
@media (max-width:900px){.split{grid-template-columns:1fr}}
.side .card{margin-bottom:12px}
.empty{padding:22px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:10px;background:#fff}
.notice{background:#F2F7FB;border:1px solid #D3E2EE;border-radius:10px;padding:10px 13px;font-size:13.4px;color:#20496B;margin:10px 0}

/* ---- 拓展练习：卡片式布局（V4.1） ---- */
.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:6px 0 18px}
.filters .fl{font-size:12.8px;color:var(--muted);margin-right:2px}
.filters a{padding:5px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--navy);font-size:13px;text-decoration:none}
.filters a:hover{border-color:var(--accent);text-decoration:none}
.filters a.on{background:var(--navy);border-color:var(--navy);color:#fff}
.filters .sep{width:1px;height:20px;background:var(--line);margin:0 6px}
.pgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media (max-width:1050px){.pgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.pgrid{grid-template-columns:1fr}}
.pcard{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px 17px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:9px;transition:.16s;border-top:4px solid var(--line)}
.pcard:hover{box-shadow:0 8px 22px rgba(20,50,80,.13);transform:translateY(-2px)}
.pcard.t-wb{border-top-color:#2F7D5B}
.pcard.t-fg{border-top-color:#2F63A8}
.pcard.t-both{border-top-color:var(--gold)}
.pcard.t-none{border-top-color:#8A93A0}
.pcard .ph{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.pcard .pcode{font-weight:800;color:var(--navy);font-size:15px;letter-spacing:.5px}
.pcard h3{margin:0;font-size:16px;line-height:1.45;color:var(--navy)}
.pcard .brief{margin:0;color:var(--muted);font-size:13.4px;line-height:1.6}
.pcard .meta{display:flex;gap:6px;flex-wrap:wrap;font-size:12.3px;color:var(--muted)}
.pcard .meta span{background:#F3F7FA;border:1px solid var(--line);border-radius:6px;padding:2px 7px}
.pcard .fit{font-size:12.6px;color:#20496B;background:#F2F7FB;border-left:3px solid #9FC2DE;padding:7px 10px;border-radius:0 7px 7px 0;line-height:1.55}
.pcard .dl{display:flex;gap:5px;flex-wrap:wrap;padding-top:2px}
.pcard .dl a{font-size:12.2px;padding:3px 8px;border:1px solid #D6E3EE;border-radius:6px;background:#F8FBFE;color:#1B4A6B;text-decoration:none}
.pcard .dl a:hover{background:#E7F1F9;text-decoration:none}
.pcard .warnline{font-size:12.4px;color:#8A5A18;background:#FFF8EB;border:1px solid #F0DDB4;border-radius:7px;padding:6px 9px;line-height:1.5}
.pcard .foot{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:6px;border-top:1px dashed var(--line)}
.pcard details{font-size:12.6px;color:var(--muted)}
.pcard details summary{cursor:pointer;color:var(--navy-2);font-size:12.8px}
.pcard details ol{margin:6px 0 0 18px;padding:0;line-height:1.65}
/* 课题一览：本组「修改/上传」折叠控件做成明显按钮 */
details.own-manage>summary{
  display:inline-block;cursor:pointer;list-style:none;
  padding:3px 12px;border:1px solid var(--brand);border-radius:6px;
  color:var(--brand);font-size:12.8px;font-weight:600;background:transparent;
}
details.own-manage>summary::-webkit-details-marker{display:none}
details.own-manage>summary::before{content:"▸ "}
details.own-manage[open]>summary{background:var(--brand);color:#fff}
details.own-manage[open]>summary::before{content:"▾ "}
details.own-manage>summary:hover{opacity:.85}
.tag-wb{background:#E8F5EE;border-color:#BEDCC9;color:#205C42}
.tag-fg{background:#E9F1FA;border-color:#C3D8EE;color:#1B4A6B}
.tag-both{background:#FFF4DC;border-color:#EAD3A4;color:#7A5A18}
.tag-none{background:#F0F2F5;border-color:#D9DFE6;color:#4B5560}
.tag-done{background:#E9F5EE;border-color:#BFDCCA;color:#205C42}
.practice-hero{background:linear-gradient(120deg,#123B5C 0%,#205B86 100%);color:#fff;border-radius:14px;padding:20px 24px;margin-bottom:18px;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;align-items:center}
.practice-hero h1{margin:0 0 6px;color:#fff;font-size:24px}
.practice-hero p{margin:0;color:#D6E4F0;font-size:13.6px}
.practice-hero .hs{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}
.practice-hero .hs span{border:1px solid rgba(255,255,255,.3);border-radius:8px;padding:5px 11px;font-size:12.6px;background:rgba(255,255,255,.07)}
.steps{list-style:none;margin:0;padding:0;counter-reset:st}
.steps li{counter-increment:st;position:relative;padding:9px 12px 9px 42px;margin-bottom:8px;background:#F8FBFE;border:1px solid var(--line);border-radius:9px;font-size:13.6px;line-height:1.6}
.steps li:before{content:counter(st);position:absolute;left:11px;top:9px;width:22px;height:22px;border-radius:50%;background:var(--navy);color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.cautions{list-style:none;margin:0;padding:0}
.cautions li{position:relative;padding:8px 12px 8px 30px;margin-bottom:7px;background:#FFF8EB;border:1px solid #F0DDB4;border-radius:8px;font-size:13.4px;line-height:1.6;color:#6E521C}
.cautions li:before{content:"!";position:absolute;left:11px;top:8px;color:#A9781F;font-weight:800}
.fit-table td{font-size:13px;vertical-align:top}
.fit-table td:first-child{white-space:nowrap;font-weight:600;color:var(--navy)}
.expcard{border-top:3px solid var(--navy)}
.expcard .ph{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.expcard .tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:8px;border-top:1px dashed var(--line)}

/* ------------------------------------------------ V4.2 四层分层 / L0 自测 */
.notice.selfcheck{background:#EDF7F1;border-color:#BFDCCB;color:#205C42;border-left:4px solid #2F7D5B;line-height:1.75;padding:12px 15px}
.notice.selfcheck b{color:#18543A}
.selfcheck-box{background:#F4FBF7;border:1px solid #CBE4D4;border-radius:12px;padding:14px 16px;margin:12px 0}
.selfcheck-box h3{margin:0 0 8px;color:#205C42;font-size:15px}
.selfcheck-box .done{display:inline-flex;align-items:center;gap:6px;background:#E2F3E9;border:1px solid #BFDCCB;color:#205C42;border-radius:8px;padding:4px 10px;font-size:12.8px;font-weight:700}
.btn-selfcheck{background:#2F7D5B;border-color:#2F7D5B;color:#fff}
.btn-selfcheck:hover{background:#256A4C;border-color:#256A4C;color:#fff}
.level-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 16px}
.level-chip{border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#F8FBFE;font-size:12.8px;line-height:1.6}
.level-chip b{display:block;color:var(--navy);font-size:13.6px;margin-bottom:3px}
.level-chip.L0{background:#F6F8FA;border-top:3px solid #8A93A0}
.level-chip.L1{background:#F2F7FB;border-top:3px solid #2F63A8}
.level-chip.L2{background:#EDF7F1;border-top:3px solid #2F7D5B}
.level-chip.L3{background:#FFF8EB;border-top:3px solid var(--gold)}
.ov-table{width:100%;border-collapse:collapse;font-size:12.6px}
.ov-table th,.ov-table td{border:1px solid var(--line);padding:6px 8px;text-align:center}
.ov-table th{background:#F2F7FB;color:var(--navy);font-weight:600}
.ov-table td:first-child,.ov-table th:first-child{text-align:left;white-space:nowrap;font-weight:600}
.ov-table tr:hover td{background:#FAFCFE}
.ov-full{background:#FDECEC}
.ov-some{background:#EAF6EF}
.ov-zero{color:var(--muted)}
@media(max-width:900px){.level-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pcard .selfcheck{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;background:#F4FBF7;border:1px dashed #BFDCCB;border-radius:8px;padding:7px 9px}
.pcard .selfcheck form{margin:0}
.pcard .selfcheck .done{font-size:12.2px;color:#205C42;font-weight:700}

/* ---- V4.7 答疑出处：课程材料 / 公开网页 / 通用知识 ---- */
.cites .badge.course{background:#E7EEF6;border-color:#C6D6E6;color:var(--navy)}
.cites .badge.web{background:#E6F1FA;border-color:#B4D0E8;color:#1B5B8A}
.cites .badge.web:hover{background:#D8E9F7;border-color:#8FB9DC;text-decoration:none}
.cites .badge.model{background:#FFF6E5;border-color:#E0C489;color:#8A6520;border-style:dashed}
.cites .badge.unverified{opacity:.7;border-style:dotted;text-decoration:line-through}
.src-hint{margin-top:6px;font-size:12px;color:#8A6520;background:#FFF9EE;border:1px dashed #EAD3A4;border-radius:8px;padding:5px 9px}
.src-legend{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.qa-src-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 10px}
.qa-check{display:flex;gap:8px;align-items:flex-start;border:1px solid var(--line);border-radius:9px;padding:9px 11px;background:#F8FBFE;cursor:pointer;font-size:13.2px;line-height:1.5}
.qa-check input{margin-top:3px}
@media(max-width:900px){.qa-src-row{grid-template-columns:1fr}}

/* ---- V5.3 用户一览：角色/组只读显示 + 修改弹窗 ---- */
[hidden]{display:none!important}
.cell-ellipsis{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.role-tag{display:inline-block;padding:2px 9px;border:1px solid #C6D6E6;border-radius:999px;background:#E7EEF6;color:var(--navy);font-size:12.4px;white-space:nowrap}
.modal-mask{position:fixed;inset:0;background:rgba(15,32,50,.48);display:flex;align-items:center;justify-content:center;padding:18px;z-index:9999}
.modal-dialog{background:#fff;border-radius:14px;box-shadow:0 18px 60px rgba(12,32,52,.28);width:min(520px,100%);max-height:90vh;overflow:auto;padding:18px 20px 20px}
.modal-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:12px}
.modal-x{border:0;background:transparent;font-size:22px;line-height:1;color:var(--muted);cursor:pointer;padding:2px 8px}
.modal-x:hover{color:var(--bad)}
.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
.secret-box{margin-top:12px;border:1px dashed var(--gold);background:#FFF8EB;border-radius:10px;padding:12px 14px}
.secret-value{font:700 22px/1.4 "Consolas","Menlo",monospace;letter-spacing:2px;color:#7A5416;margin-top:6px;user-select:all}
.notice.error{background:#FBF1F0;border-color:#E7C9C7;color:#8C2F2A}
