*{box-sizing:border-box}body{margin:0;font-family:-apple-system,PingFang SC,sans-serif;background:#f5f6f8;color:#222}.app{max-width:480px;margin:0 auto;min-height:100vh}.topbar{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:#2f54eb;color:#fff}.topbar .brand{font-weight:600;display:flex;align-items:center;gap:8px}.brand-logo{width:28px;height:28px;object-fit:contain;border-radius:6px}.tenant-contact{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;color:#5b6b7b;background:#fff;padding:8px 16px;border-bottom:1px solid #eee}.topbar .actions{display:flex;gap:12px}.topbar .user{font-size:13px;opacity:.9;cursor:pointer}.card{background:#fff;margin:12px;padding:18px;border-radius:12px}.card.center,.card.entry{text-align:center}.tenant-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:12px}.tenant-card{background:#f7f9ff;border:1px solid #e6ecff;border-radius:12px;padding:18px 12px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:10px;transition:.15s}.tenant-card:hover{background:#eef3ff;border-color:#c5d4ff}.tc-logo{width:48px;height:48px;border-radius:10px;object-fit:contain;background:#fff;border:1px solid #eee;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;color:#2f54eb}.tc-logo.placeholder{background:#eef3ff}.tc-name{font-size:14px;font-weight:500;color:#222;word-break:break-all}h2{margin:0 0 14px;font-size:18px}h3{margin:0 0 8px}input,select,textarea{width:100%;padding:11px;margin-bottom:10px;border:1px solid #e0e0e0;border-radius:8px;font-size:15px}textarea{min-height:80px;resize:vertical}button{width:100%;padding:12px;border:none;border-radius:8px;background:#2f54eb;color:#fff;font-size:15px;cursor:pointer}button.minor{width:auto;padding:6px 12px;font-size:13px}button.ghost{background:#eee;color:#555;margin-top:8px}.row{display:flex;justify-content:space-between;align-items:center;gap:8px}.switch{text-align:center;color:#2f54eb;font-size:13px;cursor:pointer;margin:6px 0 0}.muted{color:#999}.small{font-size:12px}.err{color:#e53935;font-size:13px}.ok{color:#389e0d;font-size:13px}.flabel{font-size:13px;color:#555}.flabel i{color:#e53935}.search{margin-bottom:10px}.list{list-style:none;padding:0;margin:0}.list li{padding:12px;border-bottom:1px solid #f0f0f0;cursor:pointer}.t-title{font-weight:500;margin-bottom:4px}.badge{font-size:12px;padding:2px 8px;border-radius:10px}.badge.open{background:#fff1f0;color:#cf1322}.badge.processing{background:#e6f7ff;color:#1677ff}.badge.resolved{background:#f6ffed;color:#389e0d}.badge.closed{background:#f0f0f0;color:#888}.badge.prio{font-weight:500}.badge.p-low{background:#e8f0fe;color:#2b6cb0}.badge.p-normal{background:#eef2f5;color:#5b6b7b}.badge.p-high{background:#fff3e0;color:#c77700}.badge.p-urgent{background:#fde8e8;color:#c0392b;font-weight:600}.opts{display:flex;flex-wrap:wrap;gap:12px;margin:6px 0 10px}.opt{display:flex;align-items:center;gap:4px;font-weight:400;margin:0;font-size:14px}.imgfield{margin:6px 0 10px}.tag{font-size:12px;padding:2px 8px;border-radius:10px;background:#f0f5ff;color:#2f54eb}.tag.alt{background:#e6f7ef;color:#08976b}.filters{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:10px}.filters .flabel{font-size:13px;color:#888;margin-left:4px}.chip{font-size:12px;background:#f2f3f5;color:#555;padding:4px 10px;border-radius:14px;cursor:pointer}.chip.active{background:#2f54eb;color:#fff}.modal{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:flex-end;justify-content:center}.sheet{background:#fff;width:100%;max-width:480px;padding:20px;border-radius:16px 16px 0 0;max-height:85vh;overflow:auto}.desc{background:#f9f9fb;padding:10px;border-radius:8px}.custom{background:#f3f6ff;padding:10px;border-radius:8px;margin:8px 0}.crow{font-size:14px}.ck{color:#555}.files{margin:8px 0}.file{font-size:14px;color:#1677ff;cursor:pointer;padding:4px 0}.prev{max-width:100%;max-height:220px;border-radius:8px;display:block;margin:4px 0;cursor:pointer}.timeline{margin:10px 0}.msg{padding:8px 10px;border-radius:8px;margin-bottom:8px;font-size:14px}.msg.customer{background:#e6f7ff;text-align:right}.msg.staff{background:#f6ffed}.thumbs{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0}.thumb{position:relative;width:72px;text-align:center}.thumb img{width:72px;height:72px;object-fit:cover;border-radius:8px;border:1px solid #eee}.thumb .fname{display:block;font-size:11px;color:#666;word-break:break-all}.thumb .del{position:absolute;top:-6px;right:-6px;background:#e53935;color:#fff;border-radius:50%;width:18px;height:18px;line-height:18px;font-size:12px}.topbar .tab{font-size:13px;opacity:.85;cursor:pointer;padding:2px 8px;border-radius:8px}.topbar .tab.active{background:#ffffff38;opacity:1}.sheet.md{max-width:480px}.markdown{font-size:14px;line-height:1.7;word-break:break-word}.markdown h1,.markdown h2,.markdown h3{margin:16px 0 8px;line-height:1.3}.markdown h1{font-size:20px;border-bottom:1px solid #eee;padding-bottom:6px}.markdown h2{font-size:17px}.markdown h3{font-size:15px}.markdown p{margin:8px 0}.markdown a{color:#2f54eb;word-break:break-all}.markdown img{max-width:100%;border-radius:8px}.markdown code{background:#f3f3f5;padding:2px 5px;border-radius:4px;font-size:13px}.markdown pre{background:#1e1e1e;color:#f5f5f5;padding:12px;border-radius:8px;overflow:auto}.markdown pre code{background:transparent;color:inherit;padding:0}.markdown blockquote{border-left:3px solid #ddd;margin:8px 0;padding:4px 12px;color:#666;background:#fafafa}.markdown table{border-collapse:collapse;width:100%;margin:8px 0;font-size:13px}.markdown th,.markdown td{border:1px solid #e8e8e8;padding:6px 8px;text-align:left}.markdown ul,.markdown ol{padding-left:20px;margin:8px 0}.acct-group{margin:16px 0}.acct-cat{font-size:15px;margin:12px 0 8px;color:#2f54eb;border-left:3px solid #2f54eb;padding-left:8px}.acct-list li{display:flex;justify-content:space-between;align-items:center}.acct-list li .small{white-space:nowrap;margin-left:8px}.lock{font-style:normal;font-size:12px;margin-left:4px}.demo-code{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f0f5ff;border:1px solid #d6e2ff;border-radius:10px;padding:10px 12px;margin:6px 0 4px}.demo-code .code{font-size:26px;letter-spacing:6px;color:#2f54eb}.demo-actions{display:flex;gap:6px}.acct-html{font-size:14px;line-height:1.7;word-break:break-word}.acct-html .md-inner{font-size:14px;line-height:1.7}
