/* Minimal base styles so the public forms stay usable with any theme. The theme may restyle them. */
.hkc-form { max-width: 40rem; }
.hkc-form label { display: block; font-weight: 600; margin-bottom: .25rem; }
.hkc-form input[type="text"], .hkc-form input[type="tel"], .hkc-form input[type="email"], .hkc-form select, .hkc-form textarea { width: 100%; max-width: 100%; min-height: 44px; padding: .5rem .75rem; font: inherit; border: 1px solid #8a93a3; border-radius: 6px; }
.hkc-form input[type="file"] { max-width: 100%; }
.hkc-check label { font-weight: 400; display: flex; gap: .5rem; align-items: flex-start; }
.hkc-check input { margin-top: .35rem; min-width: 20px; min-height: 20px; }
.hkc-button { min-height: 44px; padding: .65rem 1.25rem; font: inherit; color: #fff; background: #0b2a5b; border: 0; border-radius: 6px; cursor: pointer; }
.hkc-button:hover { background: #1f6b4a; }
.hkc-secondary { background: #4a5568; }
.hkc-error { color: #9b1c1c; margin: .25rem 0 0; font-weight: 600; }
.hkc-box { border: 1px solid #d9dde5; border-radius: 8px; padding: 1rem; margin: 1rem 0; background: #fff; }
.hkc-alert { border-color: #9b1c1c; }
.hkc-success { border-color: #1f6b4a; }
.hkc-code { font-family: ui-monospace, Consolas, monospace; font-size: 1.25rem; letter-spacing: .05em; }
.hkc-note { color: #4a5568; font-size: .9rem; }
.hkc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hkc-history { padding-left: 1.25rem; }
.hkc-form :focus-visible, .hkc-button:focus-visible { outline: 3px solid #1a5fd0; outline-offset: 2px; }

/* Development projects */
.hkc-badge { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .85rem; font-weight: 700; border: 2px solid currentColor; }
.hkc-st-proposed, .hkc-st-submitted { color: #6b4e00; background: #fff8e1; }
.hkc-st-approved, .hkc-st-in_progress { color: #0b2a5b; background: #e8effb; }
.hkc-st-completed { color: #1f5c3f; background: #e6f4ec; }
.hkc-st-on_hold, .hkc-st-cancelled { color: #7a1f1f; background: #fdecec; }
.hkc-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.hkc-table th, .hkc-table td { text-align: left; padding: .5rem .75rem; border-bottom: 1px solid #d9dde5; vertical-align: top; }
.hkc-table th { width: 35%; font-weight: 600; }
.hkc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.hkc-gallery figure { margin: 0; }
.hkc-gallery img { width: 100%; height: auto; border-radius: 6px; }
.hkc-pager a, .hkc-pager strong { padding: 0 .35rem; }

/* Home page lists and tiles */
.hkc-home-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.hkc-home-list li { padding: .5rem 0; border-bottom: 1px solid #d9dde5; }
.hkc-home-list small { color: #4a5568; margin-left: .5rem; }
.hkc-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }
.hkc-tiles .card a { display: block; min-height: 44px; font-weight: 600; }
.hkc-content-list article img { max-width: 100%; height: auto; border-radius: 6px; }
