.mobile-page{--mobile-ink:#26313b;--mobile-muted:#687581;--mobile-accent:#305d7a;--mobile-soft:#f4f6f8;--mobile-border:#e4e9ed;--accent:var(--mobile-accent);--accent-soft:var(--mobile-soft);--ink:var(--mobile-ink);--muted:var(--mobile-muted);--border:var(--mobile-border);display:flex;flex-direction:column;min-height:760px;background:#fff;color:var(--mobile-ink);font-family:'Noto Sans SC','Microsoft YaHei','PingFang SC',sans-serif;font-size:15px;line-height:1.5}
.mobile-content{flex:1;padding:24px 20px 28px}
.mobile-page h1,.mobile-page h2,.mobile-page strong{font-family:inherit}
.mobile-page h1{font-size:23px;font-weight:600;line-height:1.5;letter-spacing:0}
.mobile-page button{transition:background-color .12s,color .12s}
.mobile-page button:focus-visible,.mobile-page input:focus-visible,.mobile-page select:focus-visible,.mobile-page textarea:focus-visible{outline:2px solid var(--mobile-accent);outline-offset:3px}
.mobile-page button:disabled{opacity:.45;cursor:not-allowed}
.mobile-page .btn{border-radius:6px;min-height:44px;padding:11px 18px;font-size:14px;font-weight:500;border-color:var(--mobile-border)}
.mobile-page .btn.primary{background:var(--mobile-accent);color:#fff;border-color:var(--mobile-accent)}
.mobile-page .btn.secondary{background:var(--mobile-soft);color:var(--mobile-ink);border-color:transparent}
.mobile-page .btn.small{min-height:34px;padding:6px 12px;font-size:13px}
.mobile-page .btn:hover{filter:none}
.mobile-page .btn.primary:hover{background:#254e69}
.mobile-page .btn.secondary:hover{background:#eaf0f4}
.mobile-page .btn:active{transform:translateY(1px)}
.mobile-page .subtle-link{color:var(--mobile-accent);font-size:13px;font-weight:400;padding:0}
.mobile-page .muted{color:var(--mobile-muted);font-size:13px}
.mobile-page .badge{color:var(--mobile-accent);background:transparent;font-size:12px;font-weight:400;padding:0;border-radius:0;white-space:nowrap}
.mobile-page .badge.gray{color:var(--mobile-muted)}
.mobile-page .badge.waiting{color:#8a663b}
.mobile-view-sales .badge.green,.mobile-view-shared-sales .badge.green,.mobile-view-sale-detail .badge.green,.mobile-view-shared-sale-detail .badge.green,.mobile-view-home .badge.green{color:#21694d;background:#eaf5ee;padding:3px 8px;border-radius:4px}
.mobile-view-sales .badge.red,.mobile-view-shared-sales .badge.red,.mobile-view-sale-detail .badge.red,.mobile-view-shared-sale-detail .badge.red,.mobile-view-home .badge.red{color:#b42318;background:#fff0ef;padding:3px 8px;border-radius:4px}
.mobile-page .money{color:var(--mobile-ink);font-family:inherit;font-variant-numeric:tabular-nums}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.mobile-login-header{padding:0;margin-bottom:26px}
.mobile-login-header h1{font-size:27px;font-weight:600;margin:0 0 22px;line-height:1.5}
.mobile-login-header p{font-size:14px;color:var(--mobile-muted);line-height:1.5}
.mobile-login-help{margin-top:24px}
.mobile-login-help p{color:var(--mobile-muted);font-size:13px;line-height:1.6}
.mobile-test-login{margin:0 0 26px;padding:16px;background:var(--mobile-soft);border:1px solid var(--mobile-border);border-radius:6px}
.mobile-test-login h2{font-size:14px;font-weight:500;line-height:1.5;margin:0 0 4px}
.mobile-test-login p{font-size:12px;color:var(--mobile-muted);line-height:1.6;margin:0 0 12px}
.mobile-test-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mobile-test-roles button{min-height:40px;padding:8px 5px;border:1px solid var(--mobile-border);border-radius:5px;background:#fff;font-size:13px;color:var(--mobile-ink)}
.mobile-test-roles button[aria-pressed="true"]{border-color:var(--mobile-accent);background:var(--mobile-accent);color:#fff}
.mobile-page .mobile-login-form{gap:24px}
.mobile-login-form .mobile-form-actions{margin-top:-2px}
.mobile-logout{margin-top:24px}
.mobile-home-header{margin-bottom:20px}
.mobile-home-header h1{margin:0 0 20px}
.mobile-home-header p{color:var(--mobile-muted);font-size:14px;line-height:1.5}
.mobile-work-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;border-top:1px solid var(--mobile-border);border-bottom:1px solid var(--mobile-border);padding:14px 0;margin-bottom:20px}
.mobile-work-metrics button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:0;text-align:left}
.mobile-work-metrics strong{font-size:30px;line-height:1.5;font-weight:600;font-variant-numeric:tabular-nums}
.mobile-work-metrics span{color:var(--mobile-muted);font-size:13px}
.mobile-home-work>.btn{margin-bottom:20px}
.mobile-home-work .mobile-section{margin-top:0}
.mobile-home-work .task-list+.btn{margin-top:4px}
.mobile-home-work .mobile-task{padding-top:16px}
.mobile-home-work .mobile-task:last-child{border-bottom:1px solid var(--mobile-border)}
.mobile-income-peek{display:flex;align-items:center;justify-content:space-between;width:100%;gap:16px;padding:20px 0 8px;margin-top:26px;border-top:1px solid var(--mobile-border);color:var(--mobile-muted);font-size:14px;text-align:left}
.mobile-income-peek strong{color:var(--mobile-ink);font-size:19px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.mobile-page-header{padding:0;margin-bottom:24px}
.mobile-title-line{display:flex;justify-content:space-between;align-items:center;gap:12px}
.mobile-title-line h1{margin:0;flex:1;text-align:left}
.mobile-page-caption{font-size:14px;color:var(--mobile-muted);line-height:1.7;margin-top:20px}
.mobile-back{display:inline-flex;align-items:center;gap:3px;color:var(--mobile-muted);border:0;padding:0 0 14px;font-size:12px;min-height:24px}
.mobile-back svg{width:15px;height:15px}
.mobile-title-line .btn svg{width:14px;height:14px}
.mobile-title-line .subtle-link{white-space:nowrap}
.mobile-section{margin:24px 0}
.mobile-section:first-child{margin-top:0}
.mobile-section .section-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;gap:10px}
.mobile-section .section-title{font-size:16px;font-weight:600;margin:0;line-height:1.5}
.mobile-entrances{display:flex;flex-direction:column}
.mobile-entrance{display:flex;align-items:center;width:100%;gap:14px;text-align:left;padding:18px 0;border-bottom:1px solid var(--mobile-border);color:inherit}
.mobile-entrance:hover{background:#fafbfd}
.mobile-entrance strong{font-size:15px;font-weight:500;display:block;margin-bottom:5px}
.mobile-entrance small{font-size:13px;color:var(--mobile-muted);line-height:1.5;display:block}
.entrance-icon{width:28px;height:28px;color:var(--mobile-accent);display:grid;place-items:center;flex-shrink:0}
.entrance-icon svg{width:22px;height:22px}
.entrance-end{margin-left:auto;display:flex;gap:8px;align-items:center;color:var(--mobile-muted);flex-shrink:0}
.entrance-end b{color:var(--mobile-accent);font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}
.entrance-end svg{width:14px;height:14px}
.piece-type-entrances{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:4px 0 12px}
.piece-type-entrance{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:8px 4px;background:transparent;border:0;min-height:72px;color:inherit}
.piece-type-entrance:hover{background:var(--mobile-soft);border-radius:6px}
.piece-type-entrance .entrance-icon{width:26px;height:26px}
.piece-type-entrance .entrance-icon svg{width:22px;height:22px}
.piece-type-entrance strong{font-size:14px;font-weight:400}
.piece-type-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid var(--mobile-border);margin-bottom:24px}
.piece-type-tabs button{border-bottom:2px solid transparent;color:var(--mobile-muted);padding:12px 2px;font-size:13px;white-space:nowrap}
.piece-type-tabs button.active{color:var(--mobile-accent);border-color:var(--mobile-accent)}
.mobile-bottom-nav{position:sticky;bottom:0;z-index:8;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border-top:1px solid var(--mobile-border);padding:12px 8px 16px;min-height:70px;margin-top:auto}
.mobile-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0;color:var(--mobile-muted);font-size:12px;line-height:1.5;min-height:40px}
.mobile-bottom-nav button.active{color:var(--mobile-accent)}
.mobile-bottom-nav svg{width:20px;height:20px}
.mobile-page .task-list{background:transparent}
.mobile-page .mobile-task{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:10px;text-align:left;padding:22px 0;border-bottom:1px solid var(--mobile-border);border-radius:0;background:transparent;font:inherit}
.mobile-task:hover{background:#fafbfd}
.mobile-task .task-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.mobile-task .task-title{color:var(--mobile-ink);font-size:17px;line-height:1.5;font-weight:500;margin:0;overflow-wrap:anywhere}
.mobile-task .task-description{font-size:14px;line-height:1.6;color:var(--mobile-muted);display:block;overflow-wrap:anywhere}
.mobile-task .task-footer{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;width:100%}
.mobile-task .task-meta{flex:1;font-size:13px;line-height:1.6;color:var(--mobile-muted);display:block;overflow-wrap:anywhere}
.mobile-task .task-side{display:flex;flex-direction:column;gap:4px;align-items:flex-end;flex-shrink:0}
.mobile-task .task-side .money{font-size:15px;font-weight:500;white-space:nowrap}
.mobile-task .task-side small{color:var(--mobile-muted);font-size:12px}
.task-action{color:var(--mobile-accent);font-size:14px;white-space:nowrap}
.mobile-list-note{color:var(--mobile-muted);font-size:13px;line-height:1.7;margin-top:24px}
.project-list{display:flex;flex-direction:column}
.project-choice{display:flex;align-items:center;gap:12px;width:100%;border-bottom:1px solid var(--mobile-border);background:transparent;color:inherit;text-align:left;padding:18px 0}
.project-choice:hover{background:#fafbfd}
.project-choice>span:first-child{flex:1}
.project-choice strong{font-size:15px;font-weight:500;display:block;margin-bottom:6px}
.project-choice small{display:block;color:var(--mobile-muted);font-size:12px}
.project-choice b{display:block;font-size:15px;font-weight:500;color:var(--mobile-ink);margin-bottom:6px}
.project-choice>span:nth-child(2){text-align:right}
.project-choice>svg{width:17px;height:17px;color:var(--mobile-accent)}
.mobile-page .mobile-form{display:grid;grid-template-columns:1fr;gap:22px}
.mobile-form .field{gap:8px}
.mobile-form .field-label{display:flex;align-items:center;gap:5px;font-size:14px;font-weight:500;color:var(--mobile-ink)}
.mobile-form .field-label i{font-size:13px;font-style:normal;color:var(--mobile-ink)}
.mobile-form .field-label small{margin-left:auto;color:var(--mobile-muted);font-size:12px;font-weight:400}
.mobile-page .mobile-content .mobile-form input.input,.mobile-page .mobile-content .mobile-form select.select,.mobile-page .mobile-content .mobile-form textarea.textarea{min-height:48px;border:1px solid var(--mobile-border);border-radius:6px;padding:12px 14px;background:#fff;font-size:15px;color:var(--mobile-ink);line-height:1.5}
.mobile-page input::placeholder,.mobile-page textarea::placeholder{color:var(--mobile-muted);opacity:1}
.mobile-page .mobile-content .mobile-form textarea.textarea{min-height:104px;resize:vertical;line-height:1.7}
.quantity-control{display:flex;align-items:center;gap:12px}
.quantity-control>.input{flex:1;min-width:0}
.quantity-control>[data-piece-unit]{color:var(--mobile-muted);font-size:14px;min-width:24px;white-space:nowrap}
.mobile-form .field-help{color:var(--mobile-muted);font-size:12px;line-height:1.6}
.mobile-page .mobile-form-actions{margin-top:0;display:block}
.mobile-form-actions .muted{font-size:12px;line-height:1.7;margin:0 0 14px}
.mobile-form-actions .btn{min-height:44px}
.piece-type-selector{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--mobile-border);border-radius:6px;padding:0;margin:0;overflow:hidden;min-width:0}
.piece-type-selector label{position:relative;cursor:pointer;min-width:0}
.piece-type-selector input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.piece-type-selector span{display:flex;justify-content:center;align-items:center;min-height:44px;padding:9px 4px;font-size:14px;background:#fff;color:var(--mobile-ink)}
.piece-type-selector input:checked+span{background:var(--mobile-accent);color:#fff}
.piece-type-selector input:focus-visible+span{outline:2px solid var(--mobile-accent);outline-offset:-4px}
.mobile-price-preview{border-top:1px solid var(--mobile-border);border-bottom:1px solid var(--mobile-border);padding:18px 0;color:var(--mobile-muted);display:flex;flex-direction:column;gap:16px}
.mobile-price-preview>div{display:flex;justify-content:space-between;gap:14px;align-items:center}
.mobile-price-preview>div>span:last-child{color:var(--mobile-ink);text-align:right}
.mobile-price-preview strong{font-size:20px;font-weight:600;color:var(--mobile-ink);font-variant-numeric:tabular-nums}
.mobile-price-preview>span{font-size:14px}
.mobile-price-preview>small{color:var(--mobile-muted);font-size:12px}
.photo-field{gap:10px}
.photo-selection{display:flex;flex-wrap:wrap;gap:12px}
.photo-uploads{display:contents}
.photo-picker{position:relative;width:88px;height:88px;border:0;border-radius:6px;background:var(--mobile-soft);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:var(--mobile-muted);cursor:pointer}
.photo-picker svg{width:22px;height:22px}
.photo-picker span{font-size:12px}
.photo-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.photo-picker:focus-within{outline:2px solid var(--mobile-accent);outline-offset:3px}
.photo-field-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;align-items:center}
.photo-field-footer .subtle-link{font-size:12px}
.photo-selected{position:relative;width:88px;min-height:110px}
.mobile-page .photo-selected .photo-thumb{width:88px;height:88px}
.mobile-page .photo-upload-status{display:block;margin-top:5px;font-size:11px;color:var(--mobile-muted,#687581);text-align:center}
.mobile-page .photo-upload-retry{align-self:flex-start;margin-top:6px}
.photo-remove{position:absolute;top:-6px;right:-6px;display:grid;place-items:center;width:24px;height:24px;padding:0;border:2px solid #fff;border-radius:50%;color:#fff;background:var(--mobile-muted);font-size:18px;line-height:1}
.mobile-detail-hero{padding:0 0 22px;border-bottom:1px solid var(--mobile-border);text-align:left}
.mobile-detail-hero h2{font-size:23px;line-height:1.5;font-weight:600;margin:10px 0 8px;letter-spacing:0}
.mobile-detail-hero>p:not(.mobile-big-money){color:var(--mobile-muted);font-size:14px;line-height:1.7}
.mobile-big-money{font-size:29px;font-weight:600;line-height:1.5;font-variant-numeric:tabular-nums;color:var(--mobile-ink);margin:12px 0 4px;letter-spacing:0}
.mobile-content>.detail-grid{margin-top:18px}
.mobile-page .detail-grid{margin-bottom:0}
.mobile-page .detail-line{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:12px 0;border-bottom:1px solid var(--mobile-border);font-size:14px;line-height:1.6}
.mobile-page .detail-line dt{flex-shrink:0;color:var(--mobile-muted)}
.mobile-page .detail-line dd{margin:0;text-align:right;max-width:68%;overflow-wrap:anywhere;color:var(--mobile-ink)}
.mobile-detail-text{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--mobile-ink)}
.mobile-page .info-note{display:flex;align-items:flex-start;gap:8px;background:var(--mobile-soft);border:0;border-radius:6px;padding:12px 14px;margin:22px 0;color:var(--mobile-muted);font-size:13px;line-height:1.7}
.mobile-page .info-note>svg{width:16px;height:16px;margin-top:3px;flex-shrink:0}
.mobile-page .photos{display:flex;gap:12px;flex-wrap:wrap;margin:0}
.mobile-page .photo-thumb{width:98px;height:98px;border:1px solid var(--mobile-border);border-radius:6px;background:var(--mobile-soft);overflow:hidden;cursor:pointer;padding:0}
.mobile-page .photo-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.mobile-filter-field{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--mobile-muted)}
.mobile-page .mobile-content label.mobile-filter-field input.input{width:152px;min-height:42px;padding:9px 10px;font-size:13px;border-color:var(--mobile-border);border-radius:6px}
.mobile-page .filter-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:12px}
.mobile-page .filter-row>.select{min-height:42px;font-size:13px;border-color:var(--mobile-border);border-radius:6px}
.mobile-page .tabs{display:flex;gap:0;border-bottom:1px solid var(--mobile-border);margin:0 0 16px;overflow:auto}
.mobile-page .tab{flex:1;white-space:nowrap;font-size:13px;padding:12px 4px;border-radius:0;border:0;border-bottom:2px solid transparent;color:var(--mobile-muted)}
.mobile-page .tab.active{color:var(--mobile-accent);border-bottom-color:var(--mobile-accent);font-weight:400}
.group-list{display:flex;flex-direction:column;gap:22px;margin:0}
.mobile-group{border:0;border-bottom:1px solid var(--mobile-border);border-radius:0;padding:14px 0 18px;background:#fff}
.group-header{display:flex;align-items:center;justify-content:space-between;gap:14px}
.group-header h2{font-size:17px;font-weight:500;line-height:1.5;margin:0}
.queue-count{font-size:13px;color:var(--mobile-accent);flex-shrink:0;white-space:nowrap}
.group-members{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin:24px 0;font-size:14px}
.group-members>span{color:var(--mobile-muted);flex-shrink:0}
.group-members strong{font-size:14px;font-weight:400;text-align:right}
.mobile-month-select{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;font-size:14px;color:var(--mobile-muted)}
.mobile-month-select>span{white-space:nowrap}
.mobile-page .mobile-content label.mobile-month-select input.input{width:164px;min-height:44px;padding:10px 12px;font-size:14px;border-color:var(--mobile-border);border-radius:6px}
.mobile-income-summary{padding:22px 0;border-top:1px solid var(--mobile-border);border-bottom:1px solid var(--mobile-border)}
.mobile-income-summary>span{color:var(--mobile-muted);font-size:14px}
.mobile-income-summary h2{color:var(--mobile-ink);font-size:30px;font-weight:600;line-height:1.5;margin:8px 0 22px;letter-spacing:0;font-variant-numeric:tabular-nums}
.income-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:18px;border-top:1px solid var(--mobile-border)}
.income-sources>div{display:flex;flex-direction:column;gap:7px;min-width:0}
.income-sources span{color:var(--mobile-muted);font-size:12px}
.income-sources b{font-size:14px;font-weight:500;color:var(--mobile-ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.pending-price-note{display:flex;align-items:flex-start;gap:8px;background:var(--mobile-soft);color:var(--mobile-muted);border-radius:6px;font-size:13px;line-height:1.7;padding:14px;margin-top:20px}
.pending-price-note>svg{width:16px;height:16px;flex-shrink:0;margin-top:3px}
.pending-price-note>div{flex:1}
.pending-price-note strong{font-weight:500;font-size:13px;color:var(--mobile-ink)}
.pending-price-note p{font-size:12px;margin-top:5px}
.pending-price-note .subtle-link{font-size:12px;white-space:nowrap}
.mobile-profile-hero{display:grid;grid-template-columns:48px 1fr;column-gap:14px;padding-bottom:22px;border-bottom:1px solid var(--mobile-border);text-align:left}
.mobile-profile-hero>.avatar{grid-row:1 / 3;width:48px;height:48px;border-radius:6px;font-size:21px;color:var(--mobile-accent);background:var(--mobile-soft)}
.mobile-profile-hero h2{font-size:20px;font-weight:600;line-height:1.5;margin:0}
.mobile-profile-hero p{font-size:13px;color:var(--mobile-muted)}
.mobile-profile-hero~.mobile-entrances{margin:20px 0}
.mobile-page .empty-state{background:transparent;border-radius:0;padding:30px 10px;text-align:center}
.empty-symbol{color:#a7b4bf;display:block;margin-bottom:10px}
.empty-symbol svg{width:26px;height:26px}
.mobile-page .empty-state strong{display:block;color:var(--mobile-ink);font-size:15px;font-weight:500;margin:0}
.mobile-page .empty-state p{color:var(--mobile-muted);font-size:13px;line-height:1.8;max-width:280px;margin:9px auto 14px}
.mobile-page .empty-state .btn{margin-top:0}
.compact .mobile-page .mobile-task{padding-top:15px;padding-bottom:15px}
.compact .mobile-entrance{padding-top:14px;padding-bottom:14px}
.compact .mobile-section{margin:20px 0}
@media(max-width:370px){.mobile-content{padding-left:16px;padding-right:16px}.mobile-task .task-meta{font-size:12px}.mobile-task .task-title{font-size:16px}.mobile-page .tab{font-size:12px}.group-header h2{font-size:16px}.queue-count{font-size:12px}.income-sources b{font-size:13px}}
@media(prefers-reduced-motion:reduce){.mobile-page button{transition:none}.mobile-page .btn:active{transform:none}}

