/* 自优青年 · 个人端 H5 */
:root{
  --blue:#0b63e8;--blue-d:#084bb8;--blue-l:#eaf2ff;
  --cyan:#00b4d8;--ink:#12243d;--muted:#64748b;--line:#e6edf6;--bg:#f5f8fd;
  --orange:#ff8a1f;--green:#0f9d58;--red:#e5484d;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0;background:#eef2f8;color:var(--ink)}
body{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.55}
a{color:var(--blue);text-decoration:none}
button,input,select,textarea{font-family:inherit;font-size:14px}
.app-wrap{max-width:520px;margin:0 auto;min-height:100vh;background:var(--bg);box-shadow:0 0 40px rgba(15,45,90,.08);position:relative;overflow:hidden}

/* ---------- 登录注册 ---------- */
.auth-view{min-height:100vh;background:linear-gradient(180deg,#042a63 0%,#0b63e8 42%,#f5f8fd 42.5%,#f5f8fd 100%)}
.auth-hero{text-align:center;color:#fff;padding:44px 20px 34px}
.auth-hero img{height:38px;width:auto;max-width:250px;object-fit:contain;margin-bottom:16px}
.auth-hero h1{font-size:26px;font-weight:800;margin:0 0 6px;letter-spacing:1px}
.auth-hero p{font-size:13px;color:#cfe8ff;margin:0}
.auth-card{margin:0 16px;background:#fff;border-radius:18px;padding:20px 18px 18px;box-shadow:0 14px 40px rgba(8,45,100,.14)}
.auth-tabs{display:flex;gap:6px;background:#f2f6fc;border-radius:11px;padding:4px;margin-bottom:18px}
.auth-tabs button{flex:1;border:0;background:transparent;color:var(--muted);font-weight:700;padding:9px 4px;border-radius:8px;cursor:pointer}
.auth-tabs button.active{background:#fff;color:var(--blue);box-shadow:0 2px 8px rgba(11,99,232,.14)}
.auth-form label{display:block;font-size:12.5px;font-weight:700;color:#475569;margin:12px 0 6px}
.auth-form label i{color:var(--blue);margin-right:6px}
.auth-form input{width:100%;height:44px;border:1px solid #d7e3f4;border-radius:10px;padding:0 13px;background:#fbfdff;outline:none}
.auth-form input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(11,99,232,.1);background:#fff}
.auth-err{min-height:20px;color:var(--red);font-size:12.5px;margin:8px 2px 4px}
.btn-primary{width:100%;border:0;border-radius:10px;background:linear-gradient(135deg,var(--blue),var(--blue-d));color:#fff;font-weight:800;font-size:15px;padding:12px 16px;cursor:pointer;box-shadow:0 8px 20px rgba(11,99,232,.24)}
.btn-primary:active{transform:scale(.985)}
.btn-primary:disabled{opacity:.6}
.btn-primary i{margin-right:5px}
.auth-note{font-size:11.5px;color:var(--muted);line-height:1.7;margin:14px 0 0;text-align:center}
.auth-note i{color:var(--green)}
.auth-back{display:block;text-align:center;color:#fff;font-size:13px;margin:22px 0 30px;opacity:.9}
.auth-back i{margin-right:5px}

/* ---------- 已登录 ---------- */
.app-header{background:linear-gradient(135deg,#042a63,#0b63e8);color:#fff;padding:14px 16px 22px;border-radius:0 0 22px 22px}
.hd-top{display:flex;justify-content:space-between;align-items:center}
.hd-brand img{height:26px;max-width:180px;width:auto;object-fit:contain}
.hd-logout{border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.12);color:#fff;font-size:12px;border-radius:16px;padding:5px 11px;cursor:pointer}
.hd-logout i{margin-right:4px}
.hd-ident{border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.12);color:#fff;font-size:12px;border-radius:16px;padding:5px 11px;cursor:pointer}
.hd-ident i{margin-right:4px}
/* 当前身份条（首页） */
.id-current{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--line);border-radius:13px;padding:11px 13px;margin-bottom:14px}
.id-current>div{display:flex;flex-direction:column;gap:2px}
.id-current b{font-size:13px;color:#17377d}
.id-current span{font-size:11.5px;color:#64748b}
.id-current button{border:1px solid #d8e7fb;background:#f4f8ff;color:#0b63e8;font-size:12px;font-weight:700;border-radius:10px;padding:7px 11px;cursor:pointer}
/* 身份跳转页 */
.id-jump-grid{display:grid;gap:10px;margin-bottom:14px}
.id-jump-card{display:flex;align-items:center;gap:11px;width:100%;border:1px solid var(--line);border-left:3px solid var(--idc);background:#fff;border-radius:13px;padding:14px;text-align:left;cursor:pointer;transition:.18s}
.id-jump-card:hover{box-shadow:0 6px 18px rgba(20,40,80,.09);transform:translateY(-1px)}
.ij-ico{width:38px;height:38px;border-radius:10px;background:var(--idc);color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px;flex:0 0 auto}
.ij-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.ij-body b{font-size:13.5px;color:var(--ink)}
.ij-body em{font-size:11px;color:var(--idc);font-style:normal;font-weight:700}
.ij-body small{font-size:11px;color:#64748b;line-height:1.5}
.ij-go{font-size:11px;color:var(--idc);font-weight:700;white-space:nowrap}
.id-back-gig{display:block;width:100%;border:1px dashed #b9d2f5;background:#f8fbff;color:#0b63e8;font-size:13px;font-weight:700;border-radius:12px;padding:13px;cursor:pointer;margin-bottom:14px}
.hd-user{display:flex;align-items:center;gap:12px;margin-top:20px}
.hd-avatar{width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.18);border:1.5px solid rgba(255,255,255,.5);display:flex;align-items:center;justify-content:center;font-size:22px}
.hd-meta{flex:1;min-width:0}
.hd-meta h1{font-size:19px;font-weight:800;margin:0 0 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hd-meta p{font-size:12px;color:#cfe8ff;margin:0}
.hd-badge{font-size:11px;background:rgba(7,193,96,.22);border:1px solid rgba(7,193,96,.55);color:#c4f7d8;border-radius:12px;padding:3px 9px}
/* 四身份入口：首页 2×2 大卡片 */
.id-pick{background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px;margin-bottom:14px}
.id-pick-hd{display:flex;justify-content:space-between;align-items:baseline;margin:0 2px 11px}
.id-pick-hd b{font-size:14px;color:#17377d;font-weight:800}
.id-pick-hd span{font-size:11px;color:#94a3b8}
.id-pick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.id-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:3px;border:1px solid #dbe6f4;background:#f8fbff;border-radius:11px;padding:12px 11px;text-align:left;cursor:pointer;transition:.18s;overflow:hidden}
.id-card:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--idc)}
.id-card i{font-size:17px;color:var(--idc);margin-bottom:2px}
.idc-name{font-size:13.5px;font-weight:800;color:var(--ink)}
.idc-type{font-size:10.5px;color:#64748b;white-space:nowrap}
.id-card.active{background:#fff;border-color:var(--idc);box-shadow:0 5px 14px rgba(11,99,232,.12)}
.id-card.active:after{content:'当前';position:absolute;right:8px;top:8px;font-size:9.5px;color:#fff;background:var(--idc);border-radius:8px;padding:2px 6px;font-weight:700}
/* 身份工作流程 */
.id-flow{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px;margin-bottom:14px}
.id-flow h3{margin:0 0 3px;font-size:14px;color:#17377d;display:flex;align-items:center;gap:7px}
.id-flow h3 .id-pill{font-size:10.5px;background:var(--blue);color:#fff;border-radius:9px;padding:2px 8px;font-weight:700}
.id-flow .id-sub{font-size:11.5px;color:var(--muted);margin:0 0 12px}
.id-steps{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.id-step{display:flex;align-items:center;gap:5px;background:#f4f8ff;border:1px solid #d8e7fb;border-radius:9px;padding:7px 9px;font-size:11.5px;color:#31508a;font-weight:600}
.id-step b{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:var(--blue);color:#fff;font-size:10px}
.id-arrow{color:#9bb4d8;font-size:12px}
.id-flow .id-tip{margin-top:11px;font-size:11.5px;color:#64748b;background:#f8fbff;border-left:3px solid var(--blue);padding:8px 10px;border-radius:0 7px 7px 0}

/* 身份分组工作台 */
.id-groups{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:14px}
.wg-card{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}
.wg-card>header{display:flex;align-items:center;gap:7px;padding:11px 13px;background:linear-gradient(90deg,#f4f8ff,#fff);border-bottom:1px solid #edf2fa}
.wg-card>header i{font-size:14px;color:var(--blue)}
.wg-card>header b{font-size:13px;color:#17377d;font-weight:800}
.wg-card>header small{font-size:10.5px;color:#94a3b8;margin-left:auto}
.wg-items{display:grid;grid-template-columns:repeat(2,1fr)}
.wg-item{display:flex;align-items:center;gap:8px;border:0;border-right:1px solid #edf2fa;border-bottom:1px solid #edf2fa;background:#fff;padding:12px 13px;cursor:pointer;text-align:left;min-height:48px}
.wg-item:nth-child(2n){border-right:0}
.wg-item i:first-child{font-size:15px;color:var(--orange);width:20px;text-align:center}
.wg-item span{font-size:12px;color:#334155;font-weight:600;flex:1}
.wg-arrow{font-size:10px;color:#cbd5e1}
.wg-item:active{background:#f4f8ff}

/* 模块切换 */
.mod-tabs{display:flex;gap:4px;overflow-x:auto;background:#fff;border-bottom:1px solid var(--line);padding:9px 12px;position:sticky;top:0;z-index:9;scrollbar-width:none}
.mod-tabs::-webkit-scrollbar{display:none}
.mod-tabs button{flex:0 0 auto;border:0;background:transparent;color:var(--muted);font-size:13px;font-weight:700;padding:7px 12px;border-radius:16px;cursor:pointer;white-space:nowrap}
.mod-tabs button.active{background:var(--blue);color:#fff;box-shadow:0 4px 10px rgba(11,99,232,.22)}
.app-main{padding:14px 14px 24px;min-height:52vh}

/* 概览 */
.hello-card{background:linear-gradient(135deg,#eaf2ff,#f8fbff);border:1px solid #d8e7fb;border-radius:14px;padding:16px;margin-bottom:14px}
.hello-title{font-size:17px;font-weight:800;color:#17377d}
.hello-card p{font-size:12.5px;color:#64748b;margin:5px 0 0}
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}
.stat-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px 8px;text-align:center;cursor:pointer;transition:.2s}
.stat-card:active{transform:scale(.97);border-color:var(--blue)}
.stat-card i{display:block;font-size:20px;color:var(--blue);margin-bottom:6px}
.stat-card .n{display:block;font-size:22px;font-weight:800;color:var(--ink);line-height:1.2}
.stat-card .t{display:block;font-size:11.5px;color:var(--muted);margin-top:3px}
.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px}
.quick-grid button{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 4px;text-align:center;cursor:pointer;color:var(--ink)}
.quick-grid i{display:block;font-size:19px;color:var(--orange);margin-bottom:5px}
.quick-grid span{font-size:11.5px;font-weight:600}
.tip-card{display:flex;gap:8px;background:#fff8ec;border:1px solid #ffe3bf;border-radius:11px;padding:11px 12px;font-size:12px;color:#9a5b16;line-height:1.7}
.tip-card i{margin-top:2px}

/* 面板通用 */
.panel-head{display:flex;justify-content:space-between;align-items:center;margin:2px 2px 12px}
.panel-head h2{font-size:17px;font-weight:800;margin:0}
.panel-head span{font-size:12px;color:var(--muted)}
.sub-head{display:flex;justify-content:space-between;align-items:center;margin:20px 2px 10px}
.sub-head h3{font-size:14.5px;font-weight:800;margin:0}
.sub-head span{font-size:11px;color:#94a3b8}
.empty{text-align:center;color:#94a3b8;padding:30px 12px;font-size:13px;background:#fff;border:1px dashed #dbe6f4;border-radius:12px}
.empty i{display:block;font-size:28px;color:#cbd8e8;margin-bottom:8px}

/* 列表卡片 */
.item{background:#fff;border:1px solid var(--line);border-radius:13px;padding:13px 14px;margin-bottom:10px}
.item-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.item-title{font-size:14.5px;font-weight:800;color:var(--ink);margin:0;line-height:1.45}
.item-sub{font-size:12px;color:var(--muted);margin-top:4px}
.item-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:9px;font-size:12px;color:#475569}
.item-meta b{color:var(--ink);font-weight:700}
.pill{display:inline-block;font-size:11px;font-weight:800;border-radius:11px;padding:3px 9px;white-space:nowrap}
.pill.blue{background:var(--blue-l);color:var(--blue)}
.pill.green{background:#e6f9f0;color:var(--green)}
.pill.orange{background:#fff2e3;color:#c2660b}
.pill.red{background:#fdecec;color:var(--red)}
.pill.gray{background:#eef2f7;color:#64748b}
.item-action{margin-top:10px;display:flex;gap:8px}
.mini-btn{border:1px solid var(--blue);background:#fff;color:var(--blue);border-radius:8px;padding:6px 12px;font-size:12px;font-weight:700;cursor:pointer}
.mini-btn.solid{background:var(--blue);color:#fff}
.mini-btn.warn{border-color:#f59e0b;color:#b45309}
.mini-btn:disabled{opacity:.5}

/* 上传 / 提问 */
.upload-card,.ask-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px;margin-bottom:14px}
.upload-title{font-size:14px;font-weight:800;color:#17377d;margin-bottom:10px}
.upload-title i{color:var(--blue);margin-right:5px}
.upload-row{display:flex;gap:8px;margin-bottom:11px}
.upload-row select,.ask-card select,.ask-card textarea{width:100%;border:1px solid #d7e3f4;border-radius:9px;padding:9px 10px;background:#fbfdff;outline:none;color:var(--ink)}
.upload-row select{flex:0 0 38%}
.upload-row input[type=file]{flex:1;font-size:11.5px;color:var(--muted)}
.ask-card select{margin-bottom:9px}
.ask-card textarea{resize:vertical;line-height:1.6;margin-bottom:10px}
.upload-tip{font-size:11.5px;color:#94a3b8;margin:9px 0 0;line-height:1.6}
.arc-thumb{width:100%;max-height:230px;object-fit:contain;background:#f8fafc;border:1px solid var(--line);border-radius:9px;margin-top:9px;display:block}

/* 我的排班 */
.sched-sum{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}
.sched-sum>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:11px 6px;text-align:center}
.sched-sum b{display:block;font-size:19px;font-weight:800;color:var(--blue);line-height:1.3}
.sched-sum span{font-size:11px;color:var(--muted)}
.sched-risk{margin-top:9px;background:#fff8ec;border:1px solid #ffe3bf;border-radius:9px;padding:8px 10px;font-size:11.5px;color:#9a5b16;line-height:1.6}
.sched-risk i{margin-right:4px}

/* 记加班 */
.ot-monthbar{display:flex;align-items:center;gap:8px;margin-bottom:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px 10px}
.ot-monthbar button{border:1px solid var(--line);background:#f8fbff;color:var(--blue);border-radius:8px;height:34px;min-width:34px;cursor:pointer;font-size:12px;font-weight:700}
.ot-monthbar input[type=month]{flex:1;min-width:0;border:1px solid #d7e3f4;border-radius:8px;height:34px;padding:0 8px;color:var(--ink);background:#fbfdff;font-size:13px}
.ot-monthbar #otExport{flex:0 0 auto;padding:0 10px}
.ot-sum{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:10px}
.ot-sum>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 4px;text-align:center}
.ot-sum b{display:block;font-size:16px;font-weight:800;color:var(--blue);line-height:1.35;white-space:nowrap}
.ot-sum span{font-size:10.5px;color:var(--muted)}
.ot-limit{background:#fff;border:1px solid var(--line);border-radius:12px;padding:11px 12px;margin-bottom:12px}
.ot-limit-top{display:flex;justify-content:space-between;gap:8px;font-size:11.5px;color:#64748b;margin-bottom:7px}
.ot-limit-top b{color:var(--ink)}
.ot-limit-bar{height:7px;border-radius:5px;background:#eef2f7;overflow:hidden}
.ot-limit-bar i{display:block;height:100%;border-radius:5px;transition:.3s}
.ot-limit-warn{margin-top:9px;background:#fdecec;border:1px solid #f8c9c9;color:var(--red);border-radius:9px;padding:8px 10px;font-size:11.5px;line-height:1.6}
.ot-limit-warn i{margin-right:4px}
.ot-cal-head{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:4px}
.ot-cal-head span{text-align:center;font-size:10.5px;font-weight:700;color:#94a3b8;padding:2px 0}
.ot-cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:6px}
.ot-cell{position:relative;border:1px solid #e8eef6;border-radius:8px;background:#fff;min-height:46px;padding:4px 2px;text-align:center;cursor:pointer}
.ot-cell:hover{border-color:var(--blue)}
.ot-cell.empty{background:#fafbfd;border-style:dashed;cursor:default;pointer-events:none}
.ot-cell.weekend{background:#fafcff}
.ot-cell.today{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}
.ot-cell.has{background:#f0f6ff;border-color:#cfe0f8}
.ot-cell.sel{background:var(--blue)!important;border-color:var(--blue)!important;box-shadow:0 2px 8px rgba(37,99,235,.32)}
.ot-cell.sel>b,.ot-cell.sel .ot-cell-h,.ot-cell.sel .ot-cell-a{color:#fff!important}
.ot-cell>b{display:block;font-size:12px;color:#475569;line-height:1.3}
.ot-cell-h{display:block;font-size:9.5px;font-weight:800;color:var(--blue)}
.ot-cell-a{display:block;font-size:8.5px;color:#94a3b8}
.ot-dot{position:absolute;right:4px;top:4px;width:5px;height:5px;border-radius:50%;background:var(--orange)}
.ot-form{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px}
.ot-frow{margin-bottom:11px}
.ot-frow.two{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.ot-frow label{display:block;font-size:12px;font-weight:700;color:#475569;margin-bottom:5px}
.ot-date-tip{float:right;font-size:10.5px;font-weight:500;color:var(--blue)}
.ot-frow input,.ot-frow select,.ot-frow textarea{width:100%;border:1px solid #d7e3f4;border-radius:9px;padding:9px 10px;background:#fbfdff;color:var(--ink);font-size:13px;outline:none}
.ot-frow textarea{resize:vertical;line-height:1.6}
.ot-frow input:focus,.ot-frow select:focus,.ot-frow textarea:focus{border-color:var(--blue);background:#fff}
.ot-frow input[type=file]{font-size:11.5px;color:var(--muted);padding:7px}
.ot-law{font-size:10.5px;color:#8a6d3b;line-height:1.55;margin:8px 0 2px;padding:6px 9px;background:#fff8ec;border:1px solid #ffe3bf;border-radius:7px}
.ot-frow.two{margin-top:6px}
.ot-proof-tip{font-size:10.5px;color:#94a3b8;margin-top:5px;line-height:1.5}
.ot-proof-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.ot-proof-btn{display:flex;align-items:center;justify-content:center;gap:6px;height:40px;border:1px solid #cfe0f8;border-radius:9px;background:#f3f8ff;color:#2563eb;font-size:12.5px;font-weight:700;cursor:pointer}
.ot-proof-btn:active{background:#e4efff}
.ot-hidden-file{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.ot-proof-preview{display:flex;gap:10px;align-items:center;margin-top:9px;padding:8px;border:1px solid #d7e3f4;border-radius:10px;background:#fbfdff}
.ot-proof-preview img{width:58px;height:58px;object-fit:cover;border-radius:8px;border:1px solid #e2ecfa;flex:0 0 auto}
.ot-proof-meta{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.ot-proof-meta span{font-size:11px;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ot-proof-meta button{align-self:flex-start;border:0;background:none;color:#e11d48;font-size:11.5px;font-weight:700;padding:0;cursor:pointer}
.ot-calc{display:flex;justify-content:space-around;gap:6px;background:#f3f8ff;border:1px solid #dbe9fb;border-radius:10px;padding:10px 6px;margin-bottom:12px;text-align:center}
.ot-calc>div{display:flex;flex-direction:column;gap:3px}
.ot-calc span{font-size:10.5px;color:#64748b}
.ot-calc b{font-size:14px;color:var(--ink)}
.ot-calc .ot-calc-amt{font-size:17px;color:var(--red)}
.ot-calc-empty{font-size:11.5px;color:#94a3b8;line-height:1.6}
/* 记加班：多计算方式 */
.ot-mode-box{display:none}
.ot-mode-box.on{display:block}
.ot-frow.three{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.ot-frow.four{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.ot-frow.four label{font-size:11px}
.ot-frow.four input,.ot-frow.four select{padding:8px 6px;font-size:12px}
.ot-frow.three{margin-top:6px}
.ot-check{display:flex;align-items:center;gap:7px;font-size:11.5px;color:#64748b;margin:2px 0 11px}
.ot-check input{width:auto!important;flex:0 0 auto}
.ot-calc-multi{display:block;text-align:left;padding:10px 12px}
.ot-calc-row{display:grid;grid-template-columns:52px 1fr auto;gap:6px;font-size:10.5px;color:#64748b;padding:4px 0;border-bottom:1px dashed #e2ecfa;line-height:1.5}
.ot-calc-row>span:first-child{font-weight:700;color:#475569}
.ot-calc-row b{font-size:11.5px;color:#17377d;white-space:nowrap}
.ot-calc-row.total{grid-template-columns:1fr auto auto;margin-top:4px;padding-top:8px;border-top:1px solid #cfe0f8;border-bottom:0;font-size:12px}
.ot-calc-row.total b{font-size:17px;color:var(--red)}
.ot-subrow{display:grid;grid-template-columns:1fr 1fr 1fr 30px;gap:5px;margin-bottom:7px;align-items:center}
.ot-subrow input,.ot-subrow select{width:100%;border:1px solid #d7e3f4;border-radius:8px;padding:7px 6px;font-size:11.5px;background:#fbfdff;color:var(--ink);outline:none}
.ot-subrow .mini-btn{padding:0;width:30px;height:32px;line-height:30px}
.ot-detail{margin-top:5px;font-size:10.5px;line-height:1.6;color:#8a6d3b;background:#fff8ec;border-radius:7px;padding:6px 8px}
.ot-daygroup{margin-bottom:12px}
.ot-daygroup-hd{display:flex;justify-content:space-between;align-items:center;margin:0 2px 7px;font-size:12px}
.ot-daygroup-hd b{color:#17377d;font-size:13px}
.ot-daygroup-hd span{color:var(--muted);font-size:11px}

/* 客服联系 */
.contact-card{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.contact-card>*{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px;display:flex;align-items:center;gap:10px;color:var(--ink)}
.contact-card i{font-size:20px;color:var(--green)}
.contact-card span{font-size:11.5px;color:var(--muted);line-height:1.6}
.contact-card b{font-size:13px;color:var(--ink)}

/* 页脚 / 提示 */
.app-foot{text-align:center;color:#94a3b8;font-size:11px;padding:10px 0 26px;line-height:1.9}
.app-foot a{color:var(--blue)}
.toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);background:rgba(18,36,61,.94);color:#fff;border-radius:10px;padding:10px 18px;font-size:13px;max-width:88%;opacity:0;pointer-events:none;transition:.25s;z-index:99;text-align:center}
.toast.show{opacity:1;transform:translate(-50%,0)}

@media (min-width:600px){
  .app-wrap{box-shadow:0 0 60px rgba(15,45,90,.12)}
}
@media (max-width:360px){
  .stat-grid{gap:6px}.stat-card{padding:11px 4px}.stat-card .n{font-size:19px}
  .quick-grid button{padding:10px 2px}.quick-grid i{font-size:17px}
}

/* 记加班：计算方式大卡片选择器 */
.ot-mode-picker{margin-bottom:13px;padding:12px;background:linear-gradient(135deg,#eff6ff,#f8fbff);border:1px solid #bfdbfe;border-radius:12px}
.ot-mode-picker-title{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:800;color:#1e3a8a;margin-bottom:10px}
.ot-mode-picker-title i{font-size:16px;color:#2563eb}
.ot-mode-picker-title span{font-size:10.5px;font-weight:400;color:#7b92b2;margin-left:auto}
.ot-mode-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.ot-mode-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:74px;padding:8px 4px;background:#fff;border:1.5px solid #d7e3f4;border-radius:10px;color:#334155;cursor:pointer;transition:all .16s;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.ot-mode-card i{font-size:17px;color:#64748b;line-height:1}
.ot-mode-card b{font-size:13px;font-weight:800;line-height:1.2}
.ot-mode-card small{font-size:9.5px;color:#94a3b8;line-height:1.3;text-align:center}
.ot-mode-card:active{transform:scale(.96)}
.ot-mode-card.on{background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#1d4ed8;color:#fff;box-shadow:0 4px 12px rgba(37,99,235,.28);transform:translateY(-1px)}
.ot-mode-card.on i,.ot-mode-card.on small{color:#dbeafe}
.ot-mode-select-hidden{display:none!important}

/* 计件单位：横向滑动标签 */
.ot-unit-picker{display:flex;gap:7px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:2px 0 7px;scrollbar-width:none}
.ot-unit-picker::-webkit-scrollbar{display:none}
.ot-unit-chip{flex:0 0 auto;min-width:46px;padding:8px 12px;text-align:center;border:1.5px solid #d7e3f4;border-radius:9px;background:#fff;color:#475569;font-size:13px;cursor:pointer;transition:all .15s}
.ot-unit-chip:active{transform:scale(.95)}
.ot-unit-chip.on{background:#2563eb;border-color:#1d4ed8;color:#fff;font-weight:700;box-shadow:0 3px 8px rgba(37,99,235,.25)}

/* ---------- 酒店管家 ---------- */
.htl-stat{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:4px 0 2px}
.htl-stat-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:12px 8px;text-align:center}
.htl-stat-card b{display:block;font-size:22px;font-weight:800;color:var(--blue);line-height:1.2}
.htl-stat-card span{font-size:11px;color:var(--muted)}
.htl-zone{border-left:3px solid var(--green)}
.htl-mini{border:1px solid var(--line);background:#fff;color:var(--muted);font-size:11.5px;font-weight:700;border-radius:9px;padding:5px 11px;cursor:pointer}
.htl-do{border:0;background:var(--blue);color:#fff;font-size:12px;font-weight:800;border-radius:9px;padding:7px 15px;cursor:pointer}
.htl-do.green{background:var(--green)}
.htl-tk{border-left:3px solid var(--blue)}
.htl-shiftbar{display:flex;gap:8px;margin:0 0 10px}
.htl-shiftbar button{flex:1;border:1px solid #d7e3f4;background:#fff;color:var(--muted);font-weight:700;font-size:12.5px;border-radius:10px;padding:9px 0;cursor:pointer}
.htl-shiftbar button.on{background:var(--blue-l);border-color:var(--blue);color:var(--blue)}
.htl-owner{font-size:11.5px;font-weight:700;color:#94a3b8}
.htl-zrow.mine{border-color:#b7e4cd;background:#f4fdf8}
.htl-empbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 12px;background:#f8fafc;border-radius:10px;margin:0 0 10px}
.htl-emp-tag{font-size:11px;font-weight:800;padding:3px 10px;border-radius:999px;color:#fff;background:#3b82f6}
.htl-emp-tag.emp1{background:#2563eb}.htl-emp-tag.emp2{background:#0891b2}.htl-emp-tag.emp3{background:#d97706}.htl-emp-tag.emp4{background:#7c3aed}
.htl-emp-name{font-weight:700;font-size:13px;color:var(--ink)}
.htl-emp-desc{font-size:11px;color:#64748b}
.htl-room-btn{background:#eef4ff!important;color:#2563eb!important;border-color:#bcd3f5!important}
.room-modal{position:fixed;inset:0;background:rgba(15,23,42,.5);z-index:9999;align-items:flex-end;justify-content:center}
.room-box{width:100%;max-width:520px;height:78vh;background:#fff;border-radius:18px 18px 0 0;display:flex;flex-direction:column;overflow:hidden}
.room-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #eef2f7}
.room-head h3{margin:0;font-size:16px}
.room-close{border:0;background:none;font-size:26px;color:#94a3b8;line-height:1;cursor:pointer}
.room-sub{font-size:11px;color:#64748b;padding:8px 16px;background:#f8fafc}
.room-msgs{flex:1;overflow-y:auto;padding:12px 16px;background:#f4f6fa}
.rm{margin-bottom:12px}.rm-head{font-size:11px;color:#94a3b8;margin-bottom:3px;display:flex;gap:8px}.rm-head b{color:#475569}
.rm-body{font-size:13px;line-height:1.6;padding:9px 12px;border-radius:10px;background:#fff;color:#1e293b;max-width:88%;word-break:break-all;white-space:pre-wrap}
.rm.mine .rm-body{background:#dbeafe;margin-left:auto}.rm.mine .rm-head{justify-content:flex-end}
.rm-ai .rm-body,.rm-system .rm-body{background:#eef2ff;border-left:3px solid #6366f1}
.rm-action{color:#64748b;font-style:italic;font-size:12px}
.room-send{display:flex;gap:8px;padding:12px;border-top:1px solid #eef2f7}
.room-send input{flex:1;border:1px solid #d7e3f4;border-radius:10px;padding:10px 12px;font-size:13px;outline:none}
.room-send button{padding:0 18px}
