:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#1f2937;background:#f5f7fa;font-family:Arial,Hiragino Kaku Gothic ProN,Noto Sans JP,sans-serif}*{box-sizing:border-box}body{margin:0}main{background:#fff;border:1px solid #dce2e9;border-radius:1rem;width:min(100% - 3rem,40rem);margin:12vh auto;padding:clamp(1.5rem,5vw,3rem)}h1{margin:0 0 1rem;font-size:1.75rem}p{color:#4b5563;margin:0;line-height:1.8}.site-name{color:#64748b;margin-bottom:.75rem;font-size:.875rem}form{gap:.75rem;display:grid}label{margin-top:.5rem;font-weight:600}input,button{min-height:2.75rem;font:inherit;border:1px solid #9ca3af;border-radius:.5rem;padding:.625rem .875rem}input{width:100%;color:inherit;background:#fff}button{color:#fff;cursor:pointer;background:#1f2937;margin-top:.75rem}button:disabled{opacity:.65;cursor:wait}input:focus-visible,button:focus-visible{outline-offset:3px;outline:3px solid #2563eb}.error{color:#b91c1c;overflow-wrap:anywhere}.logout{margin-top:1rem}.dashboard{background:0 0;border:0;border-radius:0;width:min(100% - 3rem,72rem);margin:0 auto;padding:2.5rem 0 4rem}.dashboard-header,.dashboard-intro,.panel-heading,.operator-menu,.recent-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.dashboard-header{border-bottom:1px solid #dce2e9;padding-bottom:1.5rem}.dashboard-header h1{margin:0}.dashboard-header .site-name{margin-bottom:.35rem}.operator-menu{justify-content:flex-end}.operator-menu p{overflow-wrap:anywhere;max-width:20rem}.operator-menu .logout,.operator-menu button{margin:0}.operator-menu button{color:#1f2937;background:#fff;border-color:#dce2e9}.dashboard-intro{margin:1.75rem 0 1rem}.dashboard-intro p:last-child{font-size:.8rem}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.summary-card,.dashboard-panel{background:#fff;border:1px solid #dce2e9;border-radius:.875rem;min-width:0;padding:1.5rem}.summary-card h2{color:#4b5563;margin:0;font-size:.875rem;font-weight:500}.summary-card .summary-value{color:#111827;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:.6rem 0;font-size:clamp(1.5rem,3vw,2.25rem);font-weight:700;line-height:1.4}.summary-value span{color:#64748b;font-size:.75rem;font-weight:400;display:block}.summary-today{font-size:.875rem}.summary-today strong{color:#1d4ed8;margin-left:.35rem}.dashboard-panel{margin-top:1.5rem}.dashboard-panel h2{margin:0 0 .35rem;font-size:1.125rem}.panel-heading p{font-size:.8125rem}.metric-picker{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.metric-picker label{margin:0;font-size:.8125rem;font-weight:400}.metric-picker select{min-height:2.75rem;color:inherit;font:inherit;background:#fff;border:1px solid #9ca3af;border-radius:.5rem;padding:.5rem .75rem}.activity-total{margin-top:1.5rem;font-size:.875rem}.activity-total strong{color:#111827;margin-left:.5rem;font-size:1.5rem}.activity-bars{border-bottom:1px solid #e5e7eb;grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(.5rem,2vw,2rem);margin-top:1rem;padding-bottom:1rem;display:grid}.activity-column{color:#4b5563;flex-direction:column;align-items:center;gap:.5rem;min-width:0;font-size:.75rem;display:flex}.bar-count{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;max-width:100%}.bar-track{background:#f1f5f9;border-radius:.25rem .25rem 0 0;align-items:flex-end;width:100%;max-width:4rem;height:10rem;display:flex}.bar-fill{background:#2563eb;border-radius:.25rem .25rem 0 0;width:100%}.daily-breakdown{margin-top:1rem}.daily-breakdown summary{cursor:pointer;color:#1d4ed8;padding:.5rem 0;font-size:.875rem}.table-scroll{overflow-x:auto}.daily-breakdown table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:.8125rem}.daily-breakdown th,.daily-breakdown td{text-align:right;font-variant-numeric:tabular-nums;border-bottom:1px solid #e5e7eb;padding:.75rem}.daily-breakdown th:first-child{text-align:left}.daily-breakdown tbody th{font-weight:400}.recent-polls{margin:1rem 0 0;padding:0;list-style:none}.recent-polls li{border-top:1px solid #e5e7eb;padding:1.125rem 0}.recent-polls li:last-child{padding-bottom:0}.recent-polls h3{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 .5rem;font-size:.9375rem;font-weight:500;line-height:1.7}.recent-meta{color:#64748b;justify-content:flex-start;gap:.5rem 1.25rem;font-size:.75rem}.empty-state{padding:1.25rem 0;font-size:.875rem}.refresh-dashboard{margin-top:1rem}.dashboard a:focus-visible,.dashboard select:focus-visible,.dashboard summary:focus-visible{outline-offset:3px;outline:3px solid #2563eb}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.operator-label{color:#64748b;font-size:.7rem;line-height:1.3;display:block}.admin-nav{border-bottom:1px solid #dce2e9;flex-wrap:wrap;gap:.5rem 1rem;margin-top:1rem;display:flex}.admin-nav a{color:#4b5563;border-bottom:2px solid #0000;padding:.75rem .25rem;text-decoration:none}.admin-nav a[aria-current=page]{color:#1d4ed8;border-bottom-color:#1d4ed8;font-weight:700}.users-panel a,.user-detail a,.users-back a{color:#1d4ed8;text-underline-offset:.2em}.users-search{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.search-field{flex:0 450px;min-width:0;position:relative}.search-field input{padding-left:2.5rem;padding-right:2.75rem;font-size:.875rem}.search-field input::-webkit-search-cancel-button{display:none}.search-icon{color:#64748b;pointer-events:none;position:absolute;top:50%;left:.875rem;transform:translateY(-50%)}.users-search button{margin:0}.users-search .clear-search{color:#64748b;background:0 0;border:0;min-width:2.75rem;min-height:2.75rem;padding:0;font-size:1.25rem;position:absolute;top:0;right:0}.users-sort{align-items:center;gap:.5rem;margin-left:auto;font-size:.8125rem;display:flex}.users-sort label{color:#64748b;margin:0;font-weight:400}.users-sort select{min-height:2.75rem;color:inherit;font:inherit;background:#fff;border:1px solid #dce2e9;border-radius:.5rem;padding:.5rem}.users-panel .dashboard-intro{margin:1.25rem 0 .5rem;font-size:.8125rem}.users-table{border-collapse:collapse;width:100%;font-size:.8125rem}.users-table th,.users-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #e5e7eb;padding:.875rem .75rem}.users-table th{color:#64748b;white-space:nowrap;font-weight:500}.users-table td{overflow-wrap:anywhere}.users-table tbody tr:hover{background:#f8fafc}.users-table .user-identity{width:38%;min-width:10rem}.user-display-name{overflow-wrap:anywhere;max-width:100%;font-size:.9375rem;font-weight:600;text-decoration:none;display:inline-block}.user-id{color:#64748b;flex-wrap:wrap;align-items:center;gap:.25rem .5rem;font-size:.75rem;display:flex}.user-id code{overflow-wrap:anywhere}.user-id .copy-id{color:#64748b;text-underline-offset:.15em;background:0 0;border:0;border-radius:.25rem;min-height:1.75rem;margin:0;padding:.25rem;font-size:.7rem;text-decoration:underline}.copy-feedback{font-size:.7rem}.copy-feedback:empty{display:none}.user-id-full{font-size:.875rem}.user-id-full code{min-width:0}.users-table time{white-space:nowrap;font-variant-numeric:tabular-nums;color:#4b5563}.users-table .user-post-count{text-align:right;font-variant-numeric:tabular-nums}.user-detail-link{white-space:nowrap;padding:.5rem 0;display:inline-block}.status-badge{white-space:nowrap;border:1px solid #dce2e9;border-radius:.375rem;padding:.2rem .5rem;font-size:.75rem;line-height:1.5;display:inline-block}.status-active{color:#416455;background:#f3f8f5;border-color:#dce9e1}.status-suspended{color:#8b4a41;background:#fcf5f3;border-color:#eeddd8}.users-pagination{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:1rem;margin-top:.75rem;font-size:.75rem;display:flex}.users-pagination a{padding:.75rem .25rem}.users-pagination span{color:#9ca3af}.table-scroll:focus-visible{outline-offset:3px;outline:3px solid #2563eb}.users-back{margin-top:1.25rem;font-size:.875rem}.dashboard.user-detail-page{max-width:1000px}body:has(.user-detail-page){color:#1e293b;background:#f4f6f9;min-height:100vh}.user-detail-page .users-back{margin-top:1rem;font-size:.8125rem}.user-detail{margin-top:1.25rem}.user-detail:has(.user-profile-card){gap:1rem;display:grid}.user-detail>.user-profile-card,.user-detail>.user-posts-card{box-shadow:none;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;margin:0}.user-profile-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.user-profile-title{min-width:0}.user-name-status{flex-wrap:wrap;align-items:center;gap:.625rem;display:flex}.user-name-status h2{overflow-wrap:anywhere;min-width:0;margin:0;font-size:2rem;line-height:1.35}.user-registration{color:#64748b;margin-top:.375rem;font-size:.75rem}.user-information{margin-top:1.125rem}.user-profile-card .user-stats{margin:0 0 1rem}.user-profile-card .profile-id{border-top:1px solid #e2e8f0;padding-top:.75rem}.profile-label,.user-stats dt{color:#64748b;font-size:.75rem}.profile-id{flex-wrap:wrap;align-items:center;gap:.375rem .75rem;display:flex}.profile-id .user-id{min-width:0;font-size:.8125rem}.profile-id .copy-id{min-height:2.75rem;padding:.5rem}.profile-id .copy-id-icon{background:#fff;border:1px solid #e2e8f0;border-radius:.5rem;justify-content:center;align-items:center;min-width:2.75rem;text-decoration:none;display:inline-flex}.profile-id .copy-id-icon:hover{background:#f4f6f9}.user-stats{flex-wrap:wrap;gap:.75rem 3rem;margin:.75rem 0 0;display:flex}.user-stats>div{align-items:baseline;gap:.75rem;display:flex}.user-stats dd{font-variant-numeric:tabular-nums;margin:0;font-size:.875rem}.user-stats dd span{color:#64748b;margin-left:.25rem;font-size:.75rem}.user-stats dd a{font-weight:600;text-decoration:none}.user-detail-section{border-top:1px solid #dce2e9;margin-top:1.5rem;padding-top:1.125rem}.user-detail-section h2{margin:0 0 .5rem;font-size:1.125rem}.user-posts-card>h2{margin-bottom:.5rem}.user-posts-card .user-detail-section{border-color:#e2e8f0}.user-posts-card .user-post-title{color:#1e293b}.user-posts-card .user-posts li+li{border-color:#e2e8f0}.user-posts-card .user-posts a:hover{background:#f4f6f9}.user-profile-card .user-actions-trigger{background:#fff;border-color:#e2e8f0}body:has(.user-profile-card) .user-actions-menu{background:#fff;border-color:#e2e8f0}.user-posts,.user-audit-list{margin:0;padding:0;list-style:none}.user-posts li+li,.user-audit-list li+li{border-top:1px solid #e5e7eb}.user-posts a{color:inherit;border-radius:.25rem;justify-content:space-between;align-items:baseline;gap:1rem;min-height:2.75rem;padding:.75rem .5rem;text-decoration:none;display:flex}.user-posts a:hover{background:#f1f5f9}.user-post-title{color:#1f2937;overflow-wrap:anywhere;white-space:pre-wrap;min-width:0;font-size:.875rem;line-height:1.6}.user-posts time{color:#64748b;white-space:nowrap;font-variant-numeric:tabular-nums;flex-shrink:0;font-size:.75rem}.user-audit-list li{padding:.625rem .5rem}.user-audit-list p{font-size:.8125rem}.user-audit-list .recent-meta{font-size:.75rem}.user-detail .users-pagination{margin-top:.375rem}.user-actions{flex-shrink:0}.user-actions .user-actions-trigger{color:#4b5563;background:0 0;border-color:#dce2e9;width:2.75rem;min-height:2.75rem;margin:0;padding:0;font-size:1.5rem;line-height:1}.user-actions-menu{background:#fff;border:1px solid #dce2e9;border-radius:.5rem;max-width:calc(100vw - 2rem);margin:0;padding:.25rem;position:fixed;inset:auto}.user-actions-menu button{color:#1f2937;text-align:left;background:0 0;border:0;width:100%;margin:0;font-size:.8125rem;display:block}.user-actions-menu button:hover{background:#f5f7fa}.user-actions-menu .danger-action{color:#b43f36}.user-action-feedback:empty{display:none}.user-action-feedback:not(:empty){z-index:10;background:#fff;border:1px solid #dce2e9;border-radius:.5rem;max-width:calc(100vw - 2rem);padding:.75rem 1rem;font-size:.8125rem;position:fixed;bottom:1rem;right:1rem}.post-detail-title{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:1.5rem;line-height:1.6}.post-detail-meta{color:#64748b;flex-wrap:wrap;gap:.5rem 1.5rem;margin-top:.75rem;font-size:.8125rem;display:flex}.post-choices{margin:0;padding-left:1.5rem}.post-choices li{overflow-wrap:anywhere;padding:.5rem 0}.section-count{color:#64748b;margin-left:.5rem;font-size:.75rem;font-weight:400}.audit-reason{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.875rem}.suspend-button{color:#8b4a41;background:#fff;border-color:#d8bfb9}.status-dialog{color:#1f2937;border:1px solid #dce2e9;border-radius:.875rem;width:min(100% - 2rem,30rem);max-height:calc(100dvh - 2rem);padding:1.5rem;overflow:auto}.status-dialog::backdrop{background:#0f172a59}.status-dialog h2{margin:0 0 .75rem;font-size:1.125rem}.status-dialog p{font-size:.875rem}.dialog-user-name{overflow-wrap:anywhere;margin-bottom:.5rem;font-weight:600}.status-dialog textarea{width:100%;font:inherit;resize:vertical;border:1px solid #9ca3af;border-radius:.5rem;padding:.75rem}.status-dialog textarea:focus-visible{outline-offset:3px;outline:3px solid #2563eb}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:.75rem;display:flex}.secondary-button{color:#1f2937;background:#fff;border-color:#dce2e9}@media (max-width:640px){.users-search .search-field{flex:100%;max-width:none}.users-sort{margin-left:auto}.users-table .user-registered,.users-table .user-post-count{display:none}.users-table .user-identity{width:auto;min-width:0}.users-table th,.users-table td{padding:.75rem .375rem}.users-table{table-layout:fixed}.users-table th:first-child{width:58%}.users-table th:last-child{width:16%}.user-id{gap:.125rem .25rem;font-size:.6875rem}.user-name-status h2{font-size:1.625rem}.profile-id{display:block}.profile-id .profile-label{margin-bottom:.25rem;display:block}.user-stats{gap:.5rem;display:grid}.user-posts a{flex-direction:column;gap:.25rem;padding:.625rem .25rem}.user-name-status{align-items:baseline}.user-detail-section{margin-top:1.25rem;padding-top:1rem}}@media (max-width:800px){.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:480px){.dashboard{width:calc(100% - 2rem);padding-top:1.5rem}.summary-grid{grid-template-columns:minmax(0,1fr)}.summary-card,.dashboard-panel{padding:1.125rem}.dashboard-header{align-items:flex-start}.dashboard-header h1{font-size:1.5rem}.operator-menu{justify-content:flex-start}.operator-menu p{max-width:100%}.metric-picker{justify-content:space-between;width:100%}.activity-bars{gap:.5rem}}
