:root{--accent:#0b6b5f;--bg:#ffffff;--muted:#6b6b6b}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter, 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;color:#0b1820;background:#f5f7f8}
/* Layout helpers */
.wrap{max-width:980px;margin:36px auto;padding:28px;background:var(--bg);box-shadow:0 6px 18px rgba(16,24,40,0.06);border-radius:8px}
.container{padding:16px}

/* Footer */
.site-footer{background:transparent;margin-top:20px}
.site-footer .footer{display:flex;gap:12px;justify-content:center;align-items:center;padding:12px 16px;border-top:1px solid #eef3f4;border-radius:0;background:var(--bg);font-size:13px;color:var(--muted);flex-wrap:wrap}
.site-footer .footer a{color:var(--accent);text-decoration:none;font-weight:600}
.site-footer .footer a:hover{text-decoration:underline}

/* Standardize controls */
input[type="text"],input[type="date"],select,textarea,button{font-family:inherit;font-size:14px}
input[type="text"],input[type="date"],select,textarea{padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;background:#fff}
button{padding:10px 14px;border-radius:6px;border:none;cursor:pointer}
button.primary{background:var(--accent);color:#fff;font-weight:600}
button.ghost{background:#fff;color:var(--accent);border:1px solid #d1e7e2;font-weight:600}

/* Tools grid */
.grid{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.tool{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:8px;background:var(--accent);color:#fff;text-decoration:none;font-weight:600;min-width:160px}
.tool.secondary{background:#fff;color:var(--accent);border:1px solid #d1e7e2}

/* Forms responsiveness */
.controls{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.controls .field{display:flex;flex-direction:column;min-width:160px}

@media (max-width:640px){
  .grid{flex-direction:column}
  .tool{width:100%}
  .controls{flex-direction:column}
  .controls .field{width:100%;min-width:0}
}

/* Typography and small helpers */
h1{margin:0 0 12px;font-size:20px}
p.lead{margin:0 0 18px;color:var(--muted)}

/* Header and back button used in tools */
.header{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.backBtn{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:6px;background:#fff;color:var(--accent);border:1px solid #d1e7e2;text-decoration:none;font-weight:600}

/* Form labels, notes, and table */
label{font-size:13px;color:var(--muted);margin-bottom:6px}
.note{font-size:13px;color:var(--muted);margin-top:8px}
table{width:100%;border-collapse:collapse;margin-top:18px}
th,td{padding:12px 10px;text-align:left;border-bottom:1px solid #eef3f4}
th{font-size:13px;color:var(--muted);font-weight:600}
td a{color:var(--accent);text-decoration:none}
td a:hover{text-decoration:underline}
.empty{padding:18px;text-align:center;color:var(--muted)}

/* Small utility classes moved from inline attributes */
.top-actions{text-align:left;margin-bottom:12px}
.controls .field.actions{align-self:end}
.btn-row{display:flex;gap:8px}

@media (max-width:640px){
  .field{min-width:140px;width:100%}
  .controls{flex-direction:column}
}

/* GitHub icon in footer */
.gh-icon{width:16px;height:16px;vertical-align:middle;margin-right:8px;fill:currentColor}
.footer a span{vertical-align:middle}

/* Accessibility helper */
.visually-hidden{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}


