*{box-sizing:border-box}body{margin:0;background:#f2f2f2;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#101010}.shell{max-width:480px;margin:auto;min-height:100vh;background:#fff;padding:20px 18px 92px}.brand{font-weight:900;font-size:18px}.brand em{font-style:normal;color:#e6a600}.top{display:flex;justify-content:space-between;align-items:flex-start}.top h1{margin:6px 0 2px;font-size:28px}.muted{color:#707070}.circle{width:44px;height:44px;border:0;border-radius:14px;background:#f1f1f1}.project{margin:18px 0;padding:14px;border:1px solid #e6e6e6;border-radius:16px;background:#fafafa}.project select{width:100%;margin-top:8px;padding:12px;border:1px solid #d6d6d6;border-radius:12px;background:#fff}.stats,.grid{display:grid;gap:12px}.stats{grid-template-columns:repeat(3,1fr)}.grid{grid-template-columns:1fr 1fr;margin-top:14px}.stat{background:#f7f7f7;border-radius:14px;padding:12px}.stat b{display:block;font-size:20px}.stat small{color:#777}.tile{min-height:125px;border:1px solid #e5e5e5;border-radius:18px;background:#fff;padding:17px;text-align:left;font-size:26px}.tile.yellow{background:#f4bd35}.tile b,.tile span{display:block}.tile b{font-size:16px;margin-top:14px}.tile span{font-size:12px;color:#666;margin-top:4px}.panel{border:1px solid #e8e8e8;border-radius:18px;padding:15px;margin-top:14px}.entry{padding:12px 0;border-bottom:1px solid #eee}.entry:last-child{border:0}.entry small{color:#747474}.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#f1f1f1;font-size:11px;margin-top:6px}.open{background:#fff1d2}.work{background:#dcecff}.done{background:#dff4e6}.actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.actions button{border:0;border-radius:9px;padding:7px 9px;background:#f2f2f2;font-size:12px}.thumb{width:64px;height:64px;object-fit:cover;border-radius:10px;margin-top:8px}.bottom{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(480px,100%);display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid #ddd;padding:8px 3px max(10px,env(safe-area-inset-bottom))}.bottom button{border:0;background:none}.bottom span{display:block;font-size:10px}.modal{position:fixed;inset:0;background:#0007;display:flex;align-items:flex-end;justify-content:center;z-index:10}.sheet{width:min(480px,100%);background:#fff;border-radius:24px 24px 0 0;padding:20px 18px max(24px,env(safe-area-inset-bottom));max-height:92vh;overflow:auto}.sheet-head{display:flex;justify-content:space-between}.sheet textarea,.sheet input,.sheet select{width:100%;padding:13px;border:1px solid #d6d6d6;border-radius:12px;margin-top:8px}.sheet textarea{min-height:110px}.sheet label{display:block;font-weight:800;font-size:13px;margin-top:12px}.ai,.save{width:100%;padding:15px;border:0;border-radius:13px;font-weight:900;margin-top:12px}.ai{background:#f4bd35}.ai:disabled{opacity:.55}.save{background:#111;color:#fff}.result{background:#f6f6f6;padding:14px;border-radius:14px;margin-top:12px;line-height:1.5}.hidden{display:none!important}.preview img{width:100%;max-height:220px;object-fit:cover;border-radius:14px;margin-top:10px}.error{background:#fff0f0;color:#8c1f1f}.successbox{background:#eef9f1}.live{display:inline-block;font-size:11px;padding:4px 8px;border-radius:999px;background:#e7f7eb;color:#1d7a37;margin-left:6px}.big{font-size:22px}.centerbox{min-height:70vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.auth-head{padding-top:42px}.auth-head h1{font-size:34px;margin:10px 0 4px}.auth-card,.setup-card{margin-top:28px}.auth-card label,.setup-card label{display:block;font-weight:800;font-size:13px;margin-top:14px}.auth-card input,.setup-card input{width:100%;padding:14px;border:1px solid #d6d6d6;border-radius:12px;margin-top:8px;font-size:16px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f3f3f3;border-radius:12px;padding:4px}.auth-tabs button{border:0;background:transparent;padding:10px;border-radius:9px;font-weight:800}.auth-tabs button.active{background:#fff;box-shadow:0 1px 4px #0001}.ghost{width:100%;padding:14px;border:1px solid #ddd;border-radius:13px;background:#fff;font-weight:800;margin-top:10px}.danger{color:#9a2020}.empty-hero{border:1px dashed #d5d5d5;border-radius:16px;padding:18px;margin:18px 0;background:#fafafa}.toast{position:fixed;left:50%;bottom:82px;transform:translateX(-50%);background:#111;color:#fff;padding:11px 15px;border-radius:999px;z-index:50;max-width:90%;font-size:13px;box-shadow:0 8px 24px #0003}.entry small{display:block;margin-top:5px}.sheet .ghost{margin-bottom:0}@media print{.bottom,.circle,.actions,.save,.ai,.ghost{display:none!important}.modal{position:static;background:#fff}.sheet{max-height:none;width:100%;border-radius:0}.shell{max-width:none;padding:0}}

.invite-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:24px;font-weight:900;letter-spacing:3px;background:#f5f5f5;border:1px dashed #bbb;border-radius:12px;padding:12px;text-align:center;margin-top:10px}.sheet hr{border:0;border-top:1px solid #eee;margin:22px 0}.sheet h3{margin:16px 0 4px}.tile:nth-child(5),.tile:nth-child(6){min-height:105px}

.task-filter{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;padding:4px;background:#f3f3f3;border-radius:13px}.task-filter button{border:0;background:transparent;border-radius:10px;padding:10px 8px;font-weight:850;color:#666}.task-filter button.active{background:#111;color:#fff;box-shadow:0 2px 8px #0002}.task-filter span{display:inline-block;margin-left:5px;min-width:20px;padding:2px 6px;border-radius:999px;background:#fff2;color:inherit;font-size:11px}.mine-entry{border-left:3px solid #2f6df6;padding-left:10px}.mine-badge{background:#e8f0ff;color:#2459c7}.empty-filter{padding:18px 4px;text-align:center}

.text-link{display:block;width:100%;border:0;background:transparent;color:#2f69ee;font-weight:700;padding:14px 8px 4px;text-align:center;font-size:15px;cursor:pointer}.text-link:disabled{opacity:.55}
