/* base.css - reset, body, header, container, card, form elements */
:root {
  --bg: #ffffff;
  --bg-page: #f8fafb;
  --border: #e5e5e5;
  --border-hover: #d4d4d4;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --text-faint: #9ca3af;
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-light: #f0fdfa;
  --primary-border: #99f6e4;
  --radius: 8px;
  --radius-sm: 6px;
  --transition: 150ms ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg-page); color: var(--text); min-height: 100vh; font-size: 14px; -webkit-font-smoothing: antialiased; }
.header { background: var(--bg); color: var(--text); padding: 0 16px; height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.header h1 { font-size: 13px; font-weight: 600; color: var(--text); }
.header p { font-size: 13px; color: var(--text-muted); margin-top: 0; margin-left: 12px; }
.header a, .header button { font-size: 13px; color: var(--text-muted); text-decoration: none; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 10px; cursor: pointer; transition: border-color var(--transition), color var(--transition); font-family: inherit; }
.header a:hover, .header button:hover { border-color: var(--border-hover); color: var(--text); }
.container { max-width: 800px; margin: 0 auto; padding: 20px 16px; }
.card { background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); padding: 16px; margin-bottom: 12px; }
.card h2 { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .04em; }
.form-row { margin-bottom: 12px; }
label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
input, select, textarea { width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; color: var(--text); background: var(--bg); outline: none; font-family: inherit; transition: border-color var(--transition); }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,148,136,0.06); }
textarea { resize: vertical; min-height: 60px; line-height: 1.5; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media(max-width:520px){ .grid2 { grid-template-columns: 1fr; } }
