* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, sans-serif; background: #F4F6F8; color: #1A1A1A; margin: 0; }
.screen { min-height: 100vh; }
h1 { color: #08283F; margin: 0; }

#login-screen { display: flex; align-items: center; justify-content: center; }
.login-box { background: #fff; padding: 32px; border-radius: 10px; width: 320px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.login-box .sub { color: #5B6770; font-size: 14px; margin-bottom: 20px; }
.login-box input { width: 100%; padding: 10px 12px; border: 1px solid #D6DDE3; border-radius: 6px; margin-bottom: 12px; font-size: 14px; }
.login-box button { width: 100%; padding: 11px; background: #0B3C6B; color: #fff; border: none; border-radius: 6px; font-weight: 700; cursor: pointer; }
.error { color: #C41E2A; font-size: 13px; min-height: 18px; }

.app-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; background: #fff; border-bottom: 1px solid #E7EBEF; }
.btn-secondary { background: #F4F6F8; border: 1px solid #D6DDE3; border-radius: 6px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; margin-left: 8px; }

.filters { display: flex; gap: 8px; padding: 16px 24px 0; flex-wrap: wrap; }
.filter-chip { background: #fff; border: 1px solid #D6DDE3; border-radius: 20px; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.filter-chip.active { background: #0B3C6B; color: #fff; border-color: #0B3C6B; }

.submission-list { padding: 16px 24px 60px; display: grid; gap: 12px; max-width: 900px; }
.sub-card { background: #fff; border: 1px solid #E7EBEF; border-radius: 8px; padding: 16px 18px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.sub-card:hover { box-shadow: 0 4px 14px rgba(11,60,107,0.08); }
.sub-name { font-weight: 700; }
.sub-meta { font-size: 12.5px; color: #5B6770; margin-top: 3px; }
.status-pill { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 20px; }
.status-pending { background: #FFF3CD; color: #8A6414; }
.status-approved, .status-building { background: #DCEEFB; color: #0B3C6B; }
.status-live { background: #D8F3DC; color: #1E7A34; }
.status-failed, .status-rejected { background: #FADBD8; color: #922B21; }
.empty-state { color: #5B6770; padding: 40px; text-align: center; }

.modal { position: fixed; inset: 0; background: rgba(8,40,63,0.5); display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; z-index: 100; }
.modal-content { background: #fff; border-radius: 10px; padding: 28px; max-width: 640px; width: 100%; position: relative; }
.close-btn { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 16px; cursor: pointer; }
.detail-section { margin-bottom: 20px; }
.detail-section h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: #5B6770; margin-bottom: 8px; }
.detail-row { font-size: 14px; margin-bottom: 4px; }
.detail-row b { color: #08283F; }
textarea, input.field-input { width: 100%; padding: 10px 12px; border: 1px solid #D6DDE3; border-radius: 6px; font-family: inherit; font-size: 14px; margin-top: 4px; }
textarea { min-height: 70px; }
.action-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.btn-primary { background: #0B3C6B; color: #fff; border: none; border-radius: 6px; padding: 11px 18px; font-weight: 700; cursor: pointer; }
.btn-claude { background: #6B3FA0; color: #fff; border: none; border-radius: 6px; padding: 11px 18px; font-weight: 700; cursor: pointer; }
.btn-danger { background: #fff; color: #C41E2A; border: 1px solid #C41E2A; border-radius: 6px; padding: 11px 18px; font-weight: 700; cursor: pointer; }
.btn-wa { background: #1EAA4C; color: #fff; border: none; border-radius: 6px; padding: 11px 18px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; }
.live-box { background: #F4F6F8; border-radius: 8px; padding: 14px; margin-top: 10px; }
.live-box a { color: #0B3C6B; font-weight: 600; }
.error-box { background: #FADBD8; color: #922B21; border-radius: 8px; padding: 12px; font-size: 13.5px; margin-top: 10px; }
.screenshot-thumb { width: 100%; border-radius: 8px; border: 1px solid #E7EBEF; margin-bottom: 12px; display: block; }
.screenshot-missing { font-size: 12.5px; color: #5B6770; font-style: italic; margin-bottom: 10px; }
