:root{ --brand: var(--brand-color, #f08a00); --ink:#1a1a1a; --bg:#ffffff; --muted:#666; }
*{ box-sizing:border-box; }
body{ margin:0; font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; color:var(--ink); background:var(--bg); }
.container{ max-width:1100px; margin:0 auto; padding:24px; }
.header{ display:flex; align-items:center; gap:16px; margin-bottom:24px; }
.header img{ height:56px; }
.header-title{ font-size:22px; margin:0; }
.header-actions{ margin-left:auto; }
.header-actions a{ margin-left:8px; }
.card{ border:1px solid #eee; border-radius:12px; padding:20px; margin:16px 0; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.actions{ display:flex; gap:16px; flex-wrap:wrap; }
.btn{ display:inline-block; padding:12px 16px; border-radius:10px; text-decoration:none; border:1px solid var(--brand); color:#fff; background:var(--brand); font-weight:600; transition: transform .06s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.btn.secondary{ background:#fff; color:var(--brand); }
.btn.small{ padding:8px 10px; font-size:13px; }
.btn:hover{ box-shadow:0 6px 16px rgba(0,0,0,.08); transform: translateY(-1px); }
.btn:active{ transform: translateY(1px) scale(.98); }
label{ display:block; font-weight:700; margin:10px 0 6px; }
label .req{ color:#d00; margin-left:4px; }
input[type=text], input[type=email], textarea, input[type=password]{ width:100%; padding:12px; border:1px solid #ddd; border-radius:8px; }
textarea{ min-height:120px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-actions{ margin-top:16px; }
.table-wrap{ width:100%; overflow-x:auto; }
.table{ width:100%; border-collapse:collapse; min-width:860px; }
.table th,.table td{ padding:10px; border-bottom:1px solid #eee; text-align:left; vertical-align:top; }
.status{ font-weight:700; }
.footer{ margin-top:28px; font-size:13px; color:var(--muted); }
.notice{ padding:10px 12px; background:#f6f6f6; border:1px solid #eee; border-radius:8px; }
.center{ text-align:center; }
.small{ font-size:12px; color:var(--muted); }
select{ padding:10px; border:1px solid #ddd; border-radius:8px; }
.flex{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.right{ text-align:right; }
@media (max-width: 720px){
  .container{ padding:16px; }
  .header{ flex-direction:column; align-items:flex-start; gap:8px; }
  .header-actions{ margin-left:0; }
  .actions .btn{ width:100%; text-align:center; }
  .form-row{ grid-template-columns:1fr; }
  .btn{ width:100%; }
}


/* Brand tweaks */
.header{ gap:14px; }
.header img{ height:auto; max-height:64px; width:auto; max-width:220px; }
@media (max-width:720px){
  .header img{ max-height:48px; max-width:180px; }
}
