/* 移动端H5 · iOS 风 (颜色跟随系统主题: 见 h5-theme.css) */
:root { --m-ac:#0A84FF; --m-ac2:#5E5CE6; --m-bg:#F2F2F7; }
.m-body { background: var(--m-bg); }
.m-hero { text-align: center; padding: 54px 24px 28px; }
.m-logo { width: 68px; height: 68px; border-radius: 20px; background: linear-gradient(135deg, var(--m-ac), var(--m-ac2)); display: grid; place-items: center; color: #fff; margin: 0 auto 14px; box-shadow: 0 12px 30px color-mix(in srgb, var(--m-ac) 40%, transparent); animation: float 3s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.m-hero h1 { font-size: 1.3rem; }
.m-hero p { color: #6E6E73; font-size: .8rem; margin-top: 6px; }
.m-card { width: min(400px, 92vw); margin: 0 auto; background: rgba(255,255,255,.9); border-radius: 22px; padding: 22px 20px; box-shadow: 0 18px 50px rgba(0,0,0,.1); }
.m-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.m-fld input { width: 100%; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(0,0,0,.08); margin-bottom: 12px; font-size: .95rem; outline: none; background: #F7F7FA; font-family: inherit; transition: .2s; }
.m-fld input:focus { border-color: var(--m-ac); box-shadow: 0 0 0 4px color-mix(in srgb, var(--m-ac) 13%, transparent); background: #fff; }
.m-btn { width: 100%; padding: 12px; border-radius: 14px; border: none; background: linear-gradient(135deg, var(--m-ac), var(--m-ac2)); color: #fff; font-size: .95rem; font-weight: 700; cursor: pointer; box-shadow: 0 8px 20px color-mix(in srgb, var(--m-ac) 36%, transparent); font-family: inherit; }
.m-foot { text-align: center; color: #A1A1A6; font-size: .72rem; margin-top: 26px; padding-bottom: 30px; }
.m-foot svg.ic { margin-right: 4px; }

/* 工作台 */
.m-app { display: flex; flex-direction: column; min-height: 100vh; }
.m-head { display: flex; align-items: center; padding: 16px 18px 12px; background: rgba(255,255,255,.8); backdrop-filter: blur(20px); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(0,0,0,.05); }
.m-name { font-weight: 800; font-size: 1.05rem; }
.m-role { font-size: .74rem; color: #6E6E73; margin-top: 2px; }
.m-ico-btn { margin-left: auto; width: 36px; height: 36px; border-radius: 12px; border: 1px solid rgba(0,0,0,.07); background: #fff; display: grid; place-items: center; cursor: pointer; }
.m-pages { flex: 1; padding: 14px 14px 90px; }
.m-page { display: none; animation: pageIn .3s; }
.m-page.on { display: block; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }
.m-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin: 4px 2px 12px; }
.m-title svg.ic { color: var(--m-ac); }
.m-search { position: relative; margin-bottom: 12px; }
.m-search input { width: 100%; padding: 10px 14px 10px 34px; border-radius: 999px; border: 1px solid rgba(0,0,0,.07); background: #fff; outline: none; font-family: inherit; }
.m-search svg.ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #A1A1A6; }

/* 卡片 */
.m-wo { background: #fff; border-radius: 18px; padding: 14px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.05); border-left: 4px solid transparent; }
.m-wo.red { border-left-color: #FF3B30; } .m-wo.yellow { border-left-color: #FF9500; } .m-wo.blue { border-left-color: var(--m-ac); }
.m-wo .r1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.m-wo .r1 b { font-size: .95rem; }
.m-wo .meta { font-size: .78rem; color: #6E6E73; line-height: 1.8; margin-top: 6px; }
.m-wo .cd { margin-left: auto; font-weight: 800; font-size: .82rem; font-variant-numeric: tabular-nums; }
.m-wo .cd.hot { color: #FF3B30; } .m-wo .cd.ok { color: #30D158; }
.m-acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.m-acts button, .m-acts a { padding: 8px 14px; border-radius: 999px; border: none; background: var(--m-ac); color: #fff; font-size: .8rem; font-weight: 600; cursor: pointer; font-family: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.m-acts .ghost { background: #F2F2F7; color: #1D1D1F; }
.m-acts .green { background: #30D158; }
.m-acts .orange { background: #FF9500; }

/* 底部Tab栏 */
.m-tabbar { position: fixed; bottom: 0; left: 0; right: 0; display: flex; background: rgba(255,255,255,.86); backdrop-filter: blur(24px); border-top: 1px solid rgba(0,0,0,.06); padding: 8px 0 max(10px, env(safe-area-inset-bottom)); z-index: 20; }
.m-tabbar .t { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #A1A1A6; font-size: .68rem; cursor: pointer; position: relative; }
.m-tabbar .t svg.ic { width: 1.45em; height: 1.45em; }
.m-tabbar .t.on { color: var(--m-ac); }
.m-badge { position: absolute; top: -4px; right: 22%; min-width: 16px; height: 16px; border-radius: 9px; background: #FF3B30; color: #fff; font-size: .62rem; display: grid; place-items: center; padding: 0 4px; font-style: normal; }

/* 底部弹层 */
.m-modal { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 50; display: none; align-items: flex-end; }
.m-modal.show { display: flex; }
.m-sheet { width: 100%; background: #fff; border-radius: 24px 24px 0 0; padding: 18px 18px calc(20px + env(safe-area-inset-bottom)); max-height: 88vh; overflow-y: auto; animation: sheetUp .35s cubic-bezier(.32,.72,.3,1); }
@keyframes sheetUp { from { transform: translateY(60px); opacity: .5; } }
.m-sheet h3 { font-size: 1rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.m-sheet .close { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: #F2F2F7; display: grid; place-items: center; cursor: pointer; }
.m-fld2 label { display: block; font-size: .76rem; font-weight: 600; color: #6E6E73; margin: 12px 0 6px; }
.m-fld2 textarea, .m-fld2 input { width: 100%; padding: 11px 14px; border-radius: 13px; border: 1px solid rgba(0,0,0,.08); background: #F7F7FA; outline: none; font-family: inherit; font-size: .9rem; }
.m-fld2 textarea:focus, .m-fld2 input:focus { border-color: var(--m-ac); background: #fff; }
.up-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.up-photos img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.flowline { font-size: .8rem; color: #6E6E73; line-height: 1.9; }
.flowline b { color: #1D1D1F; }

/* 工作台首页(权限模块) */
.m-head-logo { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.08); overflow: hidden; flex: none; }
.m-head-logo img { width: 100%; height: 100%; object-fit: cover; }
.m-head-logo svg.ic { width: 22px; height: 22px; color: var(--m-ac); }
.home-sub { font-size: .74rem; color: #A1A1A6; margin: -4px 2px 14px; }
.mod-group { margin-bottom: 18px; }
.mod-group-t { display: flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 800; color: #1D1D1F; margin: 4px 2px 10px; }
.mod-group-t svg.ic { color: var(--m-ac); width: 1.1em; height: 1.1em; }
.mod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mod-card { display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 16px; padding: 13px 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.05); text-decoration: none; color: #1D1D1F; transition: .18s; min-width: 0; }
.mod-card:active { transform: scale(.97); }
.mod-card > b { font-size: .8rem; font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mod-card svg.ic { color: #C7C7CC; width: .9em; height: .9em; flex: none; }
.mod-ico { width: 34px; height: 34px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: color-mix(in srgb, var(--m-ac) 11%, transparent); color: var(--m-ac); }
.mod-ico svg.ic { width: 17px; height: 17px; color: inherit; }
@media (max-width: 355px) { .mod-grid { grid-template-columns: 1fr; } }
