:root{color-scheme:light;font-family:system-ui,-apple-system,Segoe UI,sans-serif;--bg: #f5f6f8;--surface: #ffffff;--text: #1a1a1a;--muted: #6b7280;--accent: #2e9e44;--accent-dark: #237d35;--border: #e2e4e9}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}.app-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 20px;background:var(--surface);border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:10px;min-width:0;color:var(--text);text-decoration:none}.brand-logo{display:block;width:32px;height:32px;border-radius:9px;flex-shrink:0}.brand-name{font-weight:700;font-size:17px;white-space:nowrap}.auth-page,.page{max-width:640px;margin:0 auto;padding:32px 20px}.page-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:24px}.page-header h1{margin:0}.page-header .button{margin-bottom:0}.header-actions{display:flex;align-items:center;gap:12px;min-width:0}.header-actions .username{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-actions .logout-button{flex-shrink:0;margin:0}.back-link{display:inline-block;margin-bottom:16px;color:var(--muted);text-decoration:none;font-size:14px}.back-link:hover{color:var(--accent)}form{display:flex;flex-direction:column;gap:16px;background:var(--surface);padding:24px;border-radius:12px;border:1px solid var(--border)}label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--muted)}.info-block{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:8px;padding:16px 18px;margin-bottom:16px;font-size:13px;line-height:1.6;color:var(--muted)}.info-block p{margin:0 0 8px}.info-block p:last-child{margin-bottom:0}.notice-banner{background:#fef3c7;border:1px solid #fcd34d;border-radius:8px;padding:20px;color:#92400e;line-height:1.6;white-space:pre-wrap}input,textarea{font:inherit;padding:10px 12px;border-radius:8px;border:1px solid var(--border)}button,.button{display:inline-block;font:inherit;padding:10px 16px;border-radius:8px;border:none;background:var(--accent);color:#fff;cursor:pointer;text-decoration:none;text-align:center;margin-bottom:20px}button:hover:not(:disabled),.button:hover{background:var(--accent-dark)}button:disabled{opacity:.6;cursor:default}.error{color:#dc2626;font-size:14px}.consent-label{flex-direction:row;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5;color:var(--muted)}.consent-label input[type=checkbox]{flex-shrink:0;width:16px;height:16px;margin-top:2px}.consent-label a{color:var(--accent)}.ad-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:12px}.ad-list a{display:block;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px;text-decoration:none;color:inherit}.status{display:inline-block;font-size:12px;font-weight:600;padding:2px 10px;border-radius:999px;background:#e5e7eb;color:#374151}.status-new{background:#e5e7eb;color:#374151}.status-pending_payment{background:#fef3c7;color:#92400e}.status-paid{background:#dbeafe;color:#1e40af}.status-published{background:#d1fae5;color:#065f46}.status-cancelled{background:#fee2e2;color:#991b1b}.ad-text{white-space:pre-wrap}.admin-comment{color:var(--muted);font-style:italic}
