/* 货代端 / 报关端 H5 原型 - 公共样式
   配色沿用 PC 原型：
   货代端主色 #5B3A00、强调色 #FF7D00；报关端主色 #0F2942、强调色 #165DFF
   状态标签、红色操作、未读角标的取值与 PC 原型一致 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #E9ECF1; color: #333; font-size: 14px;
}
body.t-fwd { --primary: #5B3A00; --primary-hover: #4A2F00; --emph: #FF7D00; --own-bg: #FFF7E6; --own-line: #FFD591; --soft: #FFF7E6; }
body.t-cus { --primary: #0F2942; --primary-hover: #0A1F33; --emph: #165DFF; --own-bg: #E8F4FF; --own-line: #A3D5FF; --soft: #E8F4FF; }
:root { --bg: #F5F7FA; --gray: #86909C; --line: #e8e8e8; --red: #ff4d4f; --success: #00B42A; --warning: #FF7D00; }

/* 页面框架：左侧手机，右侧演示说明 */
.stage { min-height: 100%; display: flex; justify-content: center; align-items: flex-start; gap: 32px; padding: 20px; }
.phone {
    position: relative; width: 390px; height: min(820px, calc(100vh - 40px)); min-height: 640px;
    background: var(--bg); border-radius: 36px; border: 10px solid #1d1d1f; overflow: hidden;
    display: flex; flex-direction: column; flex-shrink: 0; box-shadow: 0 12px 40px rgba(0,0,0,.18);
}
.statusbar { height: 26px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; padding: 0 22px; flex-shrink: 0; }
.appbar { height: 46px; background: var(--primary); color: #fff; display: flex; align-items: center; padding: 0 14px; flex-shrink: 0; position: relative; }
.appbar .ab-title { flex: 1; text-align: center; font-size: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 36px; }
.appbar .ab-back { position: absolute; left: 8px; top: 0; height: 46px; width: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.appbar .ab-right { position: absolute; right: 12px; top: 0; height: 46px; display: flex; align-items: center; font-size: 12px; opacity: .85; }
.body { flex: 1; overflow-y: auto; overflow-x: hidden; position: relative; -webkit-overflow-scrolling: touch; }
.body.flex { display: flex; flex-direction: column; overflow: hidden; }
.tabbar { height: 56px; background: #fff; border-top: 1px solid var(--line); display: flex; flex-shrink: 0; }
.tabbar .tb { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--gray); cursor: pointer; position: relative; }
.tabbar .tb.on { color: var(--primary); font-weight: 600; }
.tabbar .tb .ic { width: 22px; height: 22px; }
.tabbar .tb .bd { position: absolute; top: 5px; left: 50%; margin-left: 8px; min-width: 16px; height: 16px; line-height: 16px; text-align: center; font-size: 10px; background: var(--red); color: #fff; border-radius: 8px; padding: 0 4px; }
.ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 工作台 */
.hero { background: var(--primary); color: #fff; padding: 6px 16px 18px; }
.hero .hi { font-size: 18px; font-weight: 600; }
.hero .sub { font-size: 12px; opacity: .8; margin-top: 4px; line-height: 1.5; }
.search { margin-top: 12px; background: #fff; color: #999; border-radius: 6px; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 13px; }
.search .ic { width: 16px; height: 16px; color: #999; }
.search input { flex: 1; border: none; outline: none; font-size: 13px; background: transparent; color: #333; min-width: 0; }
.sec-title { font-size: 14px; font-weight: 600; color: #333; padding: 14px 16px 8px; display: flex; justify-content: space-between; align-items: center; }
.sec-title small { font-weight: 400; color: var(--gray); font-size: 12px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px; margin-top: 12px; }
.todo { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; cursor: pointer; }
.todo .n { font-size: 26px; font-weight: 600; color: #333; line-height: 1.1; }
.todo .n.red { color: var(--red); }
.todo .l { font-size: 13px; color: #333; margin-top: 4px; }
.todo .h { font-size: 11px; color: var(--gray); margin-top: 2px; line-height: 1.4; }

/* 列表 */
.list-top { background: #fff; padding: 10px 12px 0; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.list-top .search { background: #F5F5F5; margin-top: 0; height: 34px; flex: 1; min-width: 0; }
.lt-row { display: flex; gap: 8px; align-items: center; }
.lt-row .btn { height: 34px; white-space: nowrap; padding: 0 12px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips2 { padding-top: 0; }
.chips .fl { font-size: 12px; color: var(--gray); align-self: center; white-space: nowrap; flex-shrink: 0; }
.chip { position: relative; flex-shrink: 0; padding: 5px 13px; font-size: 13px; border-radius: 4px; border: 1px solid #d9d9d9; background: #fff; color: #666; cursor: pointer; white-space: nowrap; }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip .bd { position: absolute; top: -6px; right: -4px; min-width: 16px; height: 16px; line-height: 16px; text-align: center; font-size: 10px; background: var(--red); color: #fff; border-radius: 8px; padding: 0 4px; }
.cards { padding: 10px 12px 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.card .hd { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px 6px; cursor: pointer; }
.card .no { font-size: 15px; font-weight: 600; color: #333; }
.card .tags { padding: 0 12px 4px; display: flex; gap: 6px; flex-wrap: wrap; cursor: pointer; }
.card .rows { padding: 4px 12px 8px; cursor: pointer; }
.row { display: flex; font-size: 13px; line-height: 1.9; }
.row .k { width: 84px; color: var(--gray); flex-shrink: 0; }
.row .v { flex: 1; color: #333; word-break: break-all; }
.card .remark { margin: 0 12px 8px; padding: 6px 8px; background: #FAFAFA; border-radius: 4px; font-size: 12px; color: #666; line-height: 1.5; }
.card .ft { display: flex; justify-content: flex-end; gap: 8px; padding: 9px 12px; border-top: 1px solid #f0f0f0; flex-wrap: wrap; }
.empty { text-align: center; color: #999; font-size: 13px; padding: 48px 0; }

/* 按钮 */
.btn { position: relative; border: 1px solid #d9d9d9; background: #fff; color: #666; border-radius: 4px; font-size: 13px; padding: 6px 14px; cursor: pointer; line-height: 1.2; font-family: inherit; }
.btn:active { opacity: .8; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn.danger { color: var(--red); border-color: #FFA39E; }
.btn.danger-fill { background: var(--red); border-color: var(--red); color: #fff; }
.btn .dot { position: absolute; top: -3px; right: -3px; width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.btn.lg { padding: 10px 18px; font-size: 14px; flex: 1; }

/* 状态标签：取值与 PC 原型一致 */
.tg { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; line-height: 1.5; border: 1px solid transparent; white-space: nowrap; }
.tg-gray { background: #F5F5F5; color: #8C8C8C; border-color: #D9D9D9; }
.tg-cyan { background: #E6FFFB; color: #13C2C2; border-color: #87E8DE; }
.tg-blue { background: #E8F4FF; color: #165DFF; border-color: #A3D5FF; }
.tg-purple { background: #F5F0FF; color: #722ED1; border-color: #D3ADF7; }
.tg-green { background: #F6FFED; color: #389E0D; border-color: #95DE64; }
.tg-orange { background: #FFF7E6; color: #FF7D00; border-color: #FFD591; }
.tg-warn { background: #FFF3E0; color: #FF8C00; border-color: #FFD591; }
.tg-pass { background: #E8F5E9; color: #4CAF50; border-color: #A5D6A7; }
.tg-err { background: #FFEBEE; color: #F44336; border-color: #EF9A9A; }
.tg-type { background: #E6F7FF; color: #1890FF; border-color: #91D5FF; }
.tg-yellow { background: #FFFBE6; color: #D4B106; border-color: #FADB14; }
.tg-red { background: #FFF1F0; color: #FF4D4F; border-color: #FFA39E; }
.tg-amber { background: #FFF7E6; color: #D46B08; border-color: #FFD591; }
.tg-eu { background: #FFF7E6; color: #FA8C16; border-color: #FFD591; }
.tg-del { background: #FFF1F0; color: #CF1322; border-color: #FFA39E; }
.tg-sm { padding: 1px 6px; font-size: 11px; }

/* 详情 */
.panel { background: #fff; margin: 10px 12px 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.panel .ph { padding: 10px 12px; font-size: 14px; font-weight: 600; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; }
.panel .pb { padding: 6px 12px 8px; }
.banner { margin: 10px 12px 0; padding: 8px 10px; background: var(--soft); border: 1px solid var(--own-line); color: #666; font-size: 12px; line-height: 1.6; border-radius: 6px; }
.file { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f5f5f5; font-size: 13px; }
.file:last-child { border-bottom: none; }
.file small { color: var(--gray); margin-left: 6px; }
.file a { color: var(--primary); cursor: pointer; font-size: 13px; }
.tl { position: relative; padding-left: 16px; }
.tl .li { position: relative; padding: 0 0 12px 0; font-size: 13px; line-height: 1.5; }
.tl .li::before { content: ""; position: absolute; left: -16px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.tl .li::after { content: ""; position: absolute; left: -12.5px; top: 14px; bottom: -6px; width: 1px; background: #e0e0e0; }
.tl .li:last-child::after { display: none; }
.tl .li small { display: block; color: var(--gray); font-size: 11px; }
.actbar { display: flex; gap: 8px; align-items: center; padding: 10px 12px; background: #fff; border-top: 1px solid var(--line); flex-shrink: 0; }
.actbar .side { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: #666; padding: 0 8px; cursor: pointer; position: relative; }
.actbar .side .ic { width: 20px; height: 20px; }
.actbar .side .dot { position: absolute; top: -2px; right: 2px; width: 8px; height: 8px; background: var(--red); border-radius: 50%; }

/* 沟通 */
.chat-head { background: #fff; border-bottom: 1px solid var(--line); padding: 8px 12px; font-size: 12px; color: #666; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; flex-shrink: 0; }
.ctabs { display: flex; background: #fff; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.ctabs .ct { flex: 1; text-align: center; padding: 10px 0; font-size: 14px; color: #666; cursor: pointer; border-bottom: 2px solid transparent; }
.ctabs .ct.on { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 12px; }
.msg { display: flex; gap: 8px; margin-bottom: 14px; align-items: flex-end; }
.msg.own { flex-direction: row-reverse; }
.msg .av { width: 32px; height: 32px; border-radius: 50%; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.msg .bub { max-width: 70%; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.msg.own .bub { background: var(--own-bg); border-color: var(--own-line); }
.msg .meta { font-size: 11px; color: #999; margin-bottom: 3px; }
.msg .tx { font-size: 13px; color: #333; line-height: 1.55; white-space: pre-wrap; word-break: break-all; }
.msg .att { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #333; }
.msg .att .ic { width: 16px; height: 16px; color: var(--primary); }
.sys-tip { text-align: center; font-size: 12px; color: #999; padding: 40px 24px; line-height: 1.7; }
.inputbar { display: flex; gap: 8px; align-items: center; padding: 8px 10px; background: #fff; border-top: 1px solid var(--line); flex-shrink: 0; }
.inputbar .ib { width: 30px; height: 30px; color: #666; cursor: pointer; flex-shrink: 0; }
.inputbar input { flex: 1; border: 1px solid #d9d9d9; border-radius: 4px; padding: 8px 10px; font-size: 14px; outline: none; min-width: 0; font-family: inherit; }
.inputbar input:focus { border-color: var(--primary); }

/* 消息 / 我的 */
.mlist { margin: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.mlist .mi { display: flex; gap: 10px; padding: 12px; border-bottom: 1px solid #f0f0f0; cursor: pointer; position: relative; }
.mlist .mi:last-child { border-bottom: none; }
.mlist .mi .ico { width: 36px; height: 36px; border-radius: 8px; background: var(--soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mlist .mi .ico .ic { width: 20px; height: 20px; }
.mlist .mi .mt { font-size: 14px; color: #333; display: flex; justify-content: space-between; gap: 8px; }
.mlist .mi .mt small { color: var(--gray); font-weight: 400; font-size: 11px; flex-shrink: 0; }
.mlist .mi .mx { font-size: 12px; color: #666; margin-top: 3px; line-height: 1.5; }
.mlist .mi.unread .mt b::after { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--red); border-radius: 50%; margin-left: 6px; }
.me-head { background: var(--primary); color: #fff; padding: 10px 16px 22px; display: flex; gap: 12px; align-items: center; }
.me-head .av { width: 52px; height: 52px; border-radius: 50%; background: var(--emph); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.me-head .nm { font-size: 17px; font-weight: 600; }
.me-head .co { font-size: 12px; opacity: .8; margin-top: 3px; line-height: 1.4; }
.cell { display: flex; justify-content: space-between; align-items: center; padding: 13px 12px; border-bottom: 1px solid #f0f0f0; font-size: 14px; gap: 12px; }
.cell:last-child { border-bottom: none; }
.cell .r { color: var(--gray); font-size: 13px; text-align: right; }

/* 上传框 */
.upl { border: 2px dashed #d9d9d9; border-radius: 4px; padding: 16px 10px; text-align: center; background: #fafafa; cursor: pointer; }
.upl .u1 { font-size: 13px; color: #333; }
.upl .u2 { font-size: 12px; color: #999; margin-top: 4px; }
.upl.done { border-color: var(--primary); background: var(--soft); }
.fld input { width: 100%; border: 1px solid #d9d9d9; border-radius: 4px; padding: 9px 10px; font-size: 14px; font-family: inherit; outline: none; }

/* E码多行录入、关联单证页 */
.erow { border: 1px solid var(--line); border-radius: 6px; padding: 10px; margin-bottom: 8px; background: #fafafa; }
.erow input { width: 100%; border: 1px solid #d9d9d9; border-radius: 4px; padding: 8px 10px; font-size: 14px; margin-top: 8px; outline: none; font-family: inherit; background: #fff; }
.erow .upl { margin-top: 8px; padding: 10px; background: #fff; }
.erow-h { display: flex; justify-content: space-between; font-size: 13px; color: #666; }
.erow-x { color: var(--red); font-size: 12px; cursor: pointer; }
.rows-add { display: flex; justify-content: space-between; font-size: 13px; color: #999; margin-bottom: 8px; }
.rows-add a { color: var(--primary); cursor: pointer; }
.menu-btn { display: block; width: 100%; text-align: left; padding: 14px 12px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 15px; cursor: pointer; }
.menu-btn small { display: block; color: #999; font-size: 12px; margin-top: 2px; }
.lk-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin: 8px 12px; padding: 10px 12px; }
.lk-item .t { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.lk-item .t label { display: flex; align-items: center; gap: 8px; }
.lk-item input[type=checkbox] { accent-color: var(--primary); width: 16px; height: 16px; }
.lk-item .tags { margin: 4px 0; display: flex; gap: 6px; flex-wrap: wrap; }
.lk-item .b { display: flex; justify-content: flex-end; margin-top: 6px; gap: 8px; }
.lk-bar { display: flex; gap: 8px; align-items: center; padding: 8px 12px; }
.lk-bar .search { flex: 1; background: #fff; border: 1px solid var(--line); margin: 0; height: 34px; min-width: 0; }

/* 报关进程时间轴 */
.pr { display: flex; gap: 6px; padding: 0 12px; }
.pr-tm { width: 62px; text-align: right; font-size: 11px; color: var(--gray); line-height: 1.5; padding-top: 1px; flex-shrink: 0; }
.pr-mk { position: relative; width: 14px; flex-shrink: 0; }
.pr-mk::before { content: ""; position: absolute; left: 3px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); z-index: 1; }
.pr-mk::after { content: ""; position: absolute; left: 6.5px; top: 14px; bottom: -6px; width: 1px; background: #dcdcdc; }
.pr:last-child .pr-mk::after { display: none; }
.pr-bd { flex: 1; min-width: 0; padding-bottom: 14px; }
.pr-who { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #333; }
.pr-who i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.pr-who i.sys { background: #8C8C8C; }
.pr-tx { font-size: 13px; color: #555; line-height: 1.6; margin-top: 3px; }
.chg { border: 1px solid var(--line); border-radius: 6px; margin-top: 8px; overflow: hidden; background: #fff; }
.chg-h { display: flex; align-items: center; gap: 6px; padding: 7px 10px; background: #FAFAFA; font-size: 12px; font-weight: 600; cursor: pointer; }
.chg-h em { font-style: normal; font-weight: 400; background: var(--soft); color: var(--primary); border-radius: 8px; padding: 0 7px; font-size: 11px; }
.chg-h .ar { margin-left: auto; color: #999; transition: transform .15s; }
.chg-h .ar.open { transform: rotate(90deg); }
.chg-g { border-top: 1px solid var(--line); }
.chg-t { width: 100%; border-collapse: collapse; font-size: 12px; }
.chg-t th { text-align: left; color: var(--gray); font-weight: 400; padding: 5px 8px; background: #fafafa; }
.chg-t td { padding: 6px 8px; border-top: 1px solid #f0f0f0; vertical-align: top; word-break: break-all; }
.chg-t td.f { color: var(--emph); width: 30%; }
.chg-t td.o { color: #999; width: 30%; }
.chg-t td.o.nil { color: #ccc; font-style: italic; }
.chg-t td.n { color: #389E0D; font-weight: 600; }

/* 底部弹层、提示 */
.layer { position: absolute; inset: 0; z-index: 50; pointer-events: none; }
.layer .mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); pointer-events: auto; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 14px 14px 0 0; pointer-events: auto; max-height: 82%; display: flex; flex-direction: column; animation: up .2s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
.sh-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 8px; font-size: 16px; }
.sh-x { font-size: 24px; color: #999; line-height: 1; cursor: pointer; padding: 0 4px; }
.sh-body { padding: 4px 16px 8px; overflow-y: auto; }
.sh-msg { font-size: 14px; color: #333; line-height: 1.7; padding: 4px 0 8px; }
.sh-tip { font-size: 12px; color: #999; line-height: 1.6; padding: 2px 0 8px; }
.fld { margin-bottom: 12px; }
.fld label.lb { display: block; font-size: 13px; color: #666; margin-bottom: 6px; }
.fld label.lb i { color: var(--red); font-style: normal; margin-right: 2px; }
.fld select, .fld textarea, .fld input[type=text], .fld input:not([type]) { width: 100%; border: 1px solid #d9d9d9; border-radius: 4px; padding: 9px 10px; font-size: 14px; font-family: inherit; outline: none; background: #fff; color: #333; }
.fld textarea { min-height: 72px; resize: none; }
.fld select:disabled { background: #f5f5f5; color: #999; }
.fld select:focus, .fld textarea:focus, .fld input:focus { border-color: var(--primary); }
.radios { display: flex; gap: 10px; flex-wrap: wrap; }
.radios label { display: flex; align-items: center; gap: 6px; white-space: nowrap; padding: 7px 12px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 13px; cursor: pointer; }
.radios input { accent-color: var(--primary); }
.radios label.on { border-color: var(--primary); background: var(--soft); }
.sh-foot { display: flex; gap: 10px; padding: 10px 16px 18px; }
.sh-foot .btn { flex: 1; padding: 10px 0; font-size: 14px; }
.toastbox { position: absolute; left: 0; right: 0; top: 90px; z-index: 60; display: flex; justify-content: center; pointer-events: none; }
.toast { background: rgba(0,0,0,.78); color: #fff; padding: 9px 16px; border-radius: 6px; font-size: 13px; max-width: 82%; text-align: center; line-height: 1.5; }
.toast.success { background: #00B42A; }
.toast.warning { background: #FF7D00; }

/* 右侧演示说明（不属于 H5 界面） */
.side-panel { width: 340px; flex-shrink: 0; background: #fff; border-radius: 10px; padding: 18px; border: 1px solid #dfe3e8; font-size: 13px; color: #444; line-height: 1.7; }
.side-panel h2 { font-size: 16px; color: #222; margin-bottom: 4px; }
.side-panel .mode { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 12px; background: var(--primary); color: #fff; margin-bottom: 10px; }
.side-panel h3 { font-size: 13px; color: #222; margin: 14px 0 6px; }
.side-panel ul { padding-left: 18px; }
.side-panel li { margin-bottom: 4px; }
.side-panel .ctl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.side-panel .seg { display: inline-flex; border: 1px solid #d9d9d9; border-radius: 4px; overflow: hidden; }
.side-panel .seg span { padding: 5px 10px; cursor: pointer; font-size: 13px; background: #fff; color: #666; }
.side-panel .seg span.on { background: var(--primary); color: #fff; }
.side-panel select { padding: 5px 8px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 13px; }
.side-panel a { color: var(--primary); text-decoration: none; margin-right: 12px; }
.side-panel a.cur { font-weight: 600; text-decoration: underline; pointer-events: none; }
.side-panel .pts-h { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 8px 0; border-top: 1px solid #eee; cursor: pointer; font-size: 13px; color: #222; }
.side-panel .pts-h span { color: var(--primary); font-size: 12px; }
.side-panel .note { color: #999; font-size: 12px; margin-top: 12px; }

@media (max-width: 760px) {
    .stage { padding: 0; display: block; }
    .side-panel { display: none; }
    .phone { width: 100%; height: 100vh; border: none; border-radius: 0; box-shadow: none; }
}
