*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f6f7f8;color:#24302b;font-family:system-ui,-apple-system,Segoe UI,sans-serif;font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #70a3ea;outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:22px}h2{font-size:17px}h3{font-size:15px}small{font-size:12px}label{display:flex;flex-direction:column;gap:5px}input,select,textarea{border:1px solid #cbd2ce;border-radius:6px;padding:9px 10px;background:#fff;color:#24302b;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #5b9a78;outline-offset:1px}input[type=checkbox]{width:auto}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;max-width:1040px;margin:auto}.topbar>div{display:flex;align-items:center;gap:10px}.user-badge{font-size:13px;overflow-wrap:anywhere}.icon-button{display:grid;place-items:center;width:40px;height:40px}.content{max-width:1040px;margin:auto;padding:0 22px 32px}.panel{background:#fff;border:1px solid #dde2df;border-radius:9px;margin-bottom:18px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px}.section-title>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.section-index{color:#808c85;font-size:12px}.subtle{font-size:12px;color:#67756d}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border-radius:6px;font-weight:600;min-height:42px}.primary{background:#28563f;color:#fff}.secondary{border:1px solid #b8c7be;background:#fff;color:#28563f}.text-button{display:inline-flex;align-items:center;gap:5px;padding:8px;color:#356b4d;font-size:13px}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.summary-card{background:#fff;border:1px solid #dde2df;border-radius:8px;padding:16px}.stat-label{display:flex;justify-content:space-between;align-items:center;gap:5px;font-size:13px}.stat-number{font-size:28px;font-weight:650;margin:6px 0}.stat-number small{font-size:12px;margin-left:5px;font-weight:400;color:#67756d}.progress-track{height:4px;background:#e9eeeb;border-radius:4px}.progress-track>div{height:4px;background:#53856a;border-radius:4px}.upload-layout{padding:0 20px 20px;display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.dropzone{border:1px dashed #b8c7be;border-radius:7px;padding:20px;text-align:center}.upload-symbol{display:block;color:#587562;margin-bottom:5px}.dropzone .button{margin:10px 0}.dropzone small{display:block;color:#67756d}.upload-guide p{margin:7px 0}.upload-guide small{color:#67756d}.upload-footer{border-top:1px solid #e8ece9;padding:14px 20px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.upload-footer>.button{margin-left:auto}.file-list{padding:0 20px 16px;max-height:240px;overflow:auto}.file-list>div{display:flex;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid #ecefec}.file-list>div>span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-list small{margin-left:8px;color:#67756d}.file-list button{min-width:32px;min-height:36px}.file-order{font-size:12px;color:#67756d}.review-panel{padding:18px 20px}.review-panel summary{cursor:pointer;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.review-panel summary>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.review-panel details[open]>summary{margin-bottom:12px}.tag,.count-label{font-size:12px;background:#ecf3ee;color:#3f654e;padding:2px 7px;border-radius:4px}.amber{background:#fff3d6;color:#896a22}.scan-review{margin-top:18px}.scan-review h3{margin-bottom:10px}.cell-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.cell-editor{background:#f7f9f7;border:1px solid #e1e7e1;border-radius:6px;padding:10px}.cell-editor.needs-review{background:#fffaf0;border-color:#dfbd6f}.cell-editor>small{font-size:11px;color:#67756d}.cell-editor label{margin-top:8px;font-size:12px}.cell-editor input,.cell-editor select{width:100%;padding:7px;font-size:13px}.cell-numbers{display:flex;gap:8px}.cell-numbers label{flex:1;min-width:0}.overlap-row{display:flex;justify-content:space-between;gap:12px;background:#fff8e8;border-radius:6px;padding:12px;margin-top:14px}.warning{padding:10px;background:#fff3d6;color:#896a22;margin-top:10px;border-radius:5px;font-size:13px}.collection-tools{display:flex;justify-content:space-between;gap:12px;padding:0 20px 16px}.tabs{display:flex;gap:4px;background:#f0f3f1;padding:4px;border-radius:6px}.tabs button{padding:7px 10px;font-size:13px;white-space:nowrap}.tabs button.selected{background:#fff;border-radius:4px;font-weight:650}.tabs span{margin-left:4px;font-size:11px;color:#587562}.search{display:flex;flex-direction:row;align-items:center;gap:7px}.search input{width:185px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:12px;font-weight:500;color:#67756d;background:#f7f9f7}th,td{padding:12px 20px;border-block:1px solid #e7ece8}td{font-size:13px}.monster-name{display:flex;align-items:center;gap:10px}.monster-name strong{font-weight:600}.monster-name small{display:block;color:#67756d}.heart-icon{display:grid;place-items:center;min-width:34px;width:34px;height:36px;border-radius:6px;background:#f0f3f1;color:#6c796f}.heart-icon.red{color:#b76660;background:#faeeec}.heart-icon.blue{color:#497ea6;background:#edf4fa}.heart-icon.yellow{color:#a48b23;background:#faf6df}.heart-icon.green{color:#628c4d;background:#eef5e8}.heart-icon.purple{color:#9474b1;background:#f4eefa}.heart-icon.black{color:#3d3f48;background:#ebecef}.count-dots{display:flex;align-items:center;gap:4px;white-space:nowrap}.count-dots>span{display:grid;place-items:center;width:20px;height:22px;color:#d0d9d3;background:#f0f3f1;border-radius:4px}.count-dots>span.filled{color:#7d9259;background:#ecf2e1}.count-dots>b{margin-left:5px;font-size:16px}.count-dots>small{margin-left:4px;color:#67756d}.status-done{display:inline-flex;align-items:center;gap:4px;color:#7b837e}.status-missing{color:#886d31;white-space:nowrap}.status-zero{color:#926b22;white-space:nowrap}.complete-row{background:#f4f5f5;color:#818883}.complete-row .heart-icon{filter:grayscale(.7);opacity:.6}.source-missing{color:#7c8880;font-size:12px}.source-add{display:inline-flex;align-items:center;gap:3px;color:#356b4d;font-size:12px;padding:6px}.source-detail summary{cursor:pointer}.source-detail p{max-width:240px;margin-top:8px;font-size:12px}.report-footer{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;gap:12px}.report-footer>span{font-size:12px;color:#67756d}.empty-state{padding:32px 20px;text-align:center;color:#7a877e}.empty-state h3{margin-top:8px}.alert{padding:12px 15px;border-radius:6px;display:flex;align-items:center;gap:8px;margin-bottom:15px}.alert.error{background:#fff0ed;color:#993e32;justify-content:space-between}.alert.success{background:#e9f3ec;color:#356b4d}.login-card{max-width:420px;margin:32px auto;background:#fff;padding:28px;border:1px solid #dde2df;border-radius:9px}.login-card h2{margin-bottom:20px}.login-card label{margin-top:15px}.login-card .button{margin-top:22px;width:100%}.login-card p{font-size:13px;margin-top:12px;color:#67756d}.login-card [role=alert]{color:#993e32}.members-panel{padding:16px 20px}.members-panel summary{cursor:pointer;font-weight:600}.members-panel[open]>summary{margin-bottom:14px}.members-panel ul{list-style:none;padding:0;margin:12px 0 0}.members-panel li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #e7ece8}.members-panel li button{padding:7px;color:#356b4d}.invite-link{margin-top:15px;display:flex;align-items:flex-end;gap:8px}.invite-link label{flex:1;min-width:0;font-size:12px}.invite-link input{width:100%;font-size:12px}.modal-backdrop{position:fixed;inset:0;background:#163226b8;display:grid;place-items:center;padding:18px;z-index:10}.modal{background:#fff;border-radius:9px;padding:26px;max-width:470px;width:100%;max-height:92vh;overflow:auto;position:relative}.modal-close{position:absolute;right:10px;top:10px;min-width:36px;min-height:36px}.modal>p{color:#67756d;margin:10px 0 20px}.modal label{margin-bottom:14px}.modal textarea{height:80px;resize:vertical}.modal .button{width:100%}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:700px){body{font-size:14px}input,select,textarea{font-size:16px}.topbar{padding:12px 16px}h1{font-size:20px}.content{padding:0 12px 24px}.summary-grid{gap:7px}.summary-card{padding:12px 10px}.stat-label{font-size:12px}.stat-label svg{display:none}.stat-number{font-size:24px}.stat-number small{font-size:11px}.upload-layout{grid-template-columns:1fr;padding:0 16px 16px;gap:10px}.upload-guide{font-size:12px}.upload-guide p{margin:4px 0}.section-title{padding:16px;flex-wrap:wrap}.section-title>.subtle{display:none}.upload-footer{padding:12px 16px}.cell-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.cell-editor{padding:8px}.cell-editor input,.cell-editor select{font-size:16px}.review-panel{padding:16px}.collection-tools{padding:0 16px 16px;flex-direction:column}.search input,.search{width:100%}.tabs{align-self:flex-start}.collection-panel thead{display:none}.collection-panel tbody{display:block}.collection-panel tr{display:grid;grid-template-columns:minmax(0,1fr) auto;border-top:1px solid #e7ece8;padding:10px 16px;row-gap:6px}.collection-panel td{border:0;padding:0}.collection-panel td:first-child{grid-column:1;grid-row:1}.collection-panel td:nth-child(2){grid-column:1/-1;grid-row:2;padding-left:44px}.collection-panel td:nth-child(3){grid-column:2;grid-row:1;align-self:center;font-size:12px}.collection-panel td:nth-child(4){grid-column:1/-1;grid-row:3;padding-left:44px}.monster-name strong{font-size:13px;overflow-wrap:anywhere}.monster-name small{font-size:11px}.report-footer{align-items:flex-end;flex-direction:column;padding:14px 16px}.report-footer>span{align-self:flex-start}.overlap-row{flex-direction:column}.login-card{margin:18px auto;padding:22px}.members-panel{padding:14px 16px}.invite-link{align-items:stretch;flex-direction:column}.invite-link input{font-size:16px}.members-panel li{font-size:13px}.file-list{padding-inline:16px}.alert{font-size:13px}.modal{padding:24px}.subtle{font-size:12px}}.coverage{border:1px solid #dde2df;border-radius:6px;padding:8px 12px 10px;margin:10px 0 8px;display:flex;flex-wrap:wrap;gap:8px 16px}.coverage legend{font-size:12px;color:#67756d;padding:0 4px}.coverage label{flex-direction:row;align-items:center;gap:6px;font-size:13px}.coverage input{width:18px;height:18px;margin:0}.report-view{padding:0 20px 8px}.report-view .summary-grid{margin-bottom:10px}.report-note,.report-view .search{margin-bottom:12px}.report-view .search input{width:100%;max-width:320px}.report-section{border-top:1px solid #e7ece8}.report-section>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;font-weight:600;list-style:none}.report-section>summary::-webkit-details-marker{display:none}.report-section>summary:before{content:"▸";color:#808c85;margin-right:8px}.report-section[open]>summary:before{content:"▾"}.report-section>summary>span:first-child{flex:1}.section-note{padding:0 0 12px}.monster-list{list-style:none;padding:0;margin:0}.monster-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 0;border-top:1px solid #f0f3f1}.monster-row .heart-icon img{width:28px;height:28px;image-rendering:auto;border-radius:4px}.monster-main strong{display:block;font-weight:600;overflow-wrap:anywhere}.monster-main small{color:#67756d}.monster-status{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:2px}.status{font-size:13px;white-space:nowrap}.status.partial{color:#886d31;font-weight:600}.status.zero{color:#a8412f;font-weight:600}.status.complete{color:#7b837e}.status.surplus{color:#356b4d}.monster-row.complete,.monster-row.surplus{color:#6f7772}.more{margin:6px 0 10px}.pending-box{margin:0 20px 14px;padding:12px 14px;border-radius:6px;background:#fbf6e7;color:#6b5a2c}.pending-box .overlap-row{margin-top:10px}.review-panel h3{margin:12px 0 4px;font-size:13px;color:#67756d}.group-list{list-style:none;padding:0;margin:0}.group-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:12px;padding:12px 0;border-top:1px solid #e7ece8}.group-info small{display:block;color:#67756d;overflow-wrap:anywhere}.group-form{display:grid;grid-template-columns:minmax(0,2fr) minmax(70px,1fr) minmax(80px,1fr);gap:8px;align-items:end}.group-form label{font-size:12px}.group-actions{grid-column:1 / -1;display:flex;gap:8px;justify-content:flex-end}.group-actions .button{min-height:38px;padding:8px 14px}@media(max-width:700px){.report-view{padding:0 12px 8px}.pending-box{margin:0 12px 12px}.monster-row{grid-template-columns:auto minmax(0,1fr)}.monster-status{grid-column:2;align-items:flex-start;text-align:left}.group-row{grid-template-columns:1fr}.group-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.group-form label:first-child{grid-column:1 / -1}}
