:root{color-scheme:light dark}:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#fbf7ef;color:#1f2a36;line-height:1.55}.wrap{max-width:560px;margin:0 auto;padding:32px 20px 80px}h1{font-size:24px;margin:0 0 6px}.status{color:#5b6b79;margin:0 0 24px;font-size:14px}.card{border:1px solid rgba(10,74,110,.16);border-radius:14px;padding:18px 20px;margin-bottom:16px;background:#fff}.row{display:flex;justify-content:space-between;gap:12px;padding:6px 0;font-size:15px}.row .k{color:#5b6b79}.actions{display:flex;flex-direction:column;gap:10px;margin-top:8px}.btn{appearance:none;border:1px solid rgba(10,74,110,.3);border-radius:10px;padding:12px 16px;font:inherit;font-weight:600;cursor:pointer;min-height:46px;background:#fff;color:#0a4a6e;text-align:center;text-decoration:none}.btn-primary{background:#0a4a6e;color:#fff;border-color:#0a4a6e}.btn-danger{background:transparent;color:#c0563b;border-color:#c0563b}.btn:disabled{opacity:.5;cursor:default}.hint{font-size:13px;color:#5b6b79;margin:14px 0 0}.h2{font-size:17px;margin:0 0 8px;color:#0a4a6e}.field{margin:14px 0 10px}.field label{display:block;font-size:13px;color:#5b6b79;margin-bottom:4px}.field input,.field textarea{width:100%;padding:10px 12px;font:inherit;font-size:14px;border:1px solid rgba(10,74,110,.22);border-radius:8px;background:#fff;color:#1f2a36}.field input:focus,.field textarea:focus{outline:0;border-color:#0a4a6e;box-shadow:0 0 0 3px #0a4a6e1f}.field-status{font-size:12px;margin:4px 0 0;min-height:14px}.field-status.ok{color:#1f7a4d}.field-status.err{color:#c0563b}.toggle-row{padding-top:10px;align-items:center}.toggle-row label{font-size:14px}:root[data-theme=dark] .h2{color:#cfe5f3}:root[data-theme=dark] .field input,:root[data-theme=dark] .field textarea{background:#16242f;color:#ecf2f8;border-color:#ffffff2e}:root[data-theme=dark] .field label,:root[data-theme=dark] .field-status:not(.ok):not(.err){color:#9aaebf}.home{display:inline-flex;align-items:center;gap:8px;margin:0 0 18px;min-height:44px;padding:10px 18px;font-size:14px;font-weight:600;text-decoration:none;color:#0a4a6e;background:#fff;border:1px solid rgba(10,74,110,.28);border-radius:999px;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .2s ease;-webkit-tap-highlight-color:transparent}.home:hover{background:#0a4a6e;color:#fff;border-color:#0a4a6e}.home:active{transform:scale(.97)}.contrib-empty{font-size:14px;color:#5b6b79;margin:8px 0 0}.contrib-list{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}.contrib-row{display:flex;gap:12px;padding:12px;border:1px solid rgba(10,74,110,.12);border-radius:10px;background:#fff;align-items:flex-start}.contrib-row.is-removing{opacity:.35;pointer-events:none;transition:opacity .2s ease}.contrib-thumb{flex:0 0 64px;width:64px;height:64px;border-radius:8px;background:#f3eedf;overflow:hidden;display:grid;place-items:center;color:#0a4a6e;font-weight:600;font-size:18px}.contrib-thumb img{width:100%;height:100%;object-fit:cover;display:block}.contrib-body{flex:1 1 auto;min-width:0}.contrib-title{font-size:14px;font-weight:600;margin:0 0 2px;color:#0a4a6e}.contrib-caption{font-size:13px;margin:0;color:#1f2a36;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.contrib-meta{font-size:12px;color:#5b6b79;margin:4px 0 0;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.chip{display:inline-block;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;letter-spacing:.02em}.chip.is-pending{background:#dc961e24;color:#a36b0e}.chip.is-approved{background:#288c5024;color:#1f7a4d}.chip.is-rejected{background:#c0563b24;color:#c0563b}.contrib-actions{display:flex;gap:8px;margin-top:10px}.contrib-actions .btn{flex:0 0 auto;padding:8px 14px;font-size:13px;min-height:38px}.contrib-confirm{display:none;margin-top:10px;padding:10px 12px;background:#c0563b14;border:1px solid rgba(192,86,59,.25);border-radius:8px;font-size:13px;color:#1f2a36}.contrib-confirm.is-open{display:flex;flex-direction:column;gap:8px}.contrib-confirm-actions{display:flex;gap:8px}.contrib-confirm-actions .btn{flex:1;padding:8px 12px;min-height:38px;font-size:13px}.review-edit{display:none;margin-top:10px;gap:10px;flex-direction:column}.review-edit.is-open{display:flex}.review-edit textarea{width:100%;min-height:88px;resize:vertical;padding:10px 12px;font:inherit;font-size:14px;border:1px solid rgba(10,74,110,.22);border-radius:8px;background:#fff;color:#1f2a36}.stars{display:flex;gap:4px}.star{appearance:none;border:0;background:transparent;padding:4px;cursor:pointer;color:#d6c89a;font-size:22px;line-height:1}.star.is-on{color:#d8a523}.star:focus-visible{outline:2px solid #0a4a6e;outline-offset:2px;border-radius:4px}.review-edit-actions{display:flex;gap:8px}.review-edit-actions .btn{flex:1}.pc-edit{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:16px;background:#0a16208c}.pc-edit[hidden]{display:none}.pc-edit-panel{width:100%;max-width:460px;background:#fff;border-radius:14px;padding:24px;box-shadow:0 20px 60px #0a162066}.pc-edit-panel h3{margin:0 0 14px;font-size:18px;color:#0a4a6e}.pc-edit-panel .field{margin:0 0 14px}.pc-edit-panel textarea{width:100%;min-height:110px;resize:vertical;padding:10px 12px;font:inherit;font-size:14px;border:1px solid rgba(10,74,110,.22);border-radius:8px;background:#fff;color:#1f2a36}.pc-edit-panel select{width:100%;padding:10px 12px;font:inherit;font-size:14px;border:1px solid rgba(10,74,110,.22);border-radius:8px;background:#fff;color:#1f2a36}.pc-edit-actions{display:flex;gap:8px;margin-top:8px}.pc-edit-actions .btn{flex:1}.pc-edit-status{font-size:13px;margin:8px 0 0;min-height:16px}.pc-edit-status.ok{color:#1f7a4d}.pc-edit-status.err{color:#c0563b}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%);z-index:1100;background:#0a4a6e;color:#fff;border-radius:999px;padding:10px 14px 10px 18px;font-size:14px;display:flex;align-items:center;gap:12px;box-shadow:0 12px 30px #0a162059;max-width:calc(100% - 24px)}.toast[hidden]{display:none}.toast button{appearance:none;border:0;background:transparent;color:#fff;font:inherit;font-weight:700;cursor:pointer;text-decoration:underline;padding:4px 8px;min-height:32px}.toast.is-ok{background:#1f7a4d}.toast.is-err{background:#c0563b}:root[data-theme=dark] body{background:#0a1620;color:#ecf2f8}:root[data-theme=dark] a{color:#73c5e7}:root[data-theme=dark] .card{background:#16242f;border-color:#ffffff1f}:root[data-theme=dark] .row .k,:root[data-theme=dark] .status,:root[data-theme=dark] .hint{color:#9aaebf}:root[data-theme=dark] .btn{background:#ffffff0f;color:#cfe5f3;border-color:#ffffff3d}:root[data-theme=dark] .btn-primary{background:#1f6391;color:#fff;border-color:#1f6391}:root[data-theme=dark] .btn-danger{background:transparent;color:#e08a6f;border-color:#e08a6f}:root[data-theme=dark] .home{color:#cfe5f3;background:#ffffff0f;border-color:#ffffff47}:root[data-theme=dark] .home:hover{background:#cfe5f3;color:#0a1620;border-color:#cfe5f3}:root[data-theme=dark] .contrib-row{background:#16242f;border-color:#ffffff1f}:root[data-theme=dark] .contrib-thumb{background:#ffffff14;color:#cfe5f3}:root[data-theme=dark] .contrib-title{color:#cfe5f3}:root[data-theme=dark] .contrib-caption{color:#ecf2f8}:root[data-theme=dark] .contrib-meta,:root[data-theme=dark] .contrib-empty{color:#9aaebf}:root[data-theme=dark] .contrib-confirm{background:#e08a6f1f;border-color:#e08a6f59;color:#ecf2f8}:root[data-theme=dark] .review-edit textarea,:root[data-theme=dark] .pc-edit-panel textarea,:root[data-theme=dark] .pc-edit-panel select{background:#16242f;color:#ecf2f8;border-color:#ffffff2e}:root[data-theme=dark] .pc-edit-panel{background:#16242f}:root[data-theme=dark] .pc-edit-panel h3{color:#cfe5f3}:root[data-theme=dark] .chip.is-pending{background:#dc961e38;color:#efc46a}:root[data-theme=dark] .chip.is-approved{background:#288c5038;color:#7fd6a6}:root[data-theme=dark] .chip.is-rejected{background:#c0563b38;color:#f0a58c}:root[data-theme=dark] .toast{background:#1f6391}
