/* The customer portal (design/05-UI.md section 6). Own small stylesheet, no kit; same look as the document page. */
body.portal { font-family: Helvetica, Arial, sans-serif; font-size: 15px; color: #222; background: #f6f6f6; margin: 0; }
.portal-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 16px; background: #fff; border-bottom: 1px solid #ddd; }
.portal-logo { height: 34px; }
.portal-title { font-weight: bold; font-size: 1.1rem; }
.portal-user { margin-left: auto; color: #555; }
.portal-user button { margin-left: 8px; }
.portal-main { max-width: 960px; margin: 24px auto; padding: 0 16px; }
.portal-card { background: #fff; border: 1px solid #ddd; border-radius: 6px; padding: 20px; margin-bottom: 18px; }
.portal-card h1 { font-size: 1.3rem; margin: 0 0 12px; }
.portal-card h2 { font-size: 1.1rem; margin: 0 0 10px; }
.portal-form label { display: block; font-weight: bold; margin: 10px 0 4px; }
.portal-form input { font-size: 1rem; padding: 8px; width: 100%; max-width: 22rem; box-sizing: border-box; border: 1px solid #bbb; border-radius: 4px; }
.portal-form input.portal-code { letter-spacing: 0.2em; max-width: 12rem; }
button, .portal-button { font-size: 0.95rem; padding: 8px 16px; border: 0; border-radius: 5px; background: #c16d05; color: #fff; cursor: pointer; text-decoration: none; display: inline-block; }
button.portal-plain { background: #eee; color: #333; }
button:disabled { opacity: 0.6; cursor: default; }
.portal-actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.portal-msg { padding: 8px 12px; border-radius: 4px; margin: 10px 0; }
.portal-msg--ok { background: #e7f6e7; border: 1px solid #9ccf9c; }
.portal-msg--error { background: #fdecea; border: 1px solid #e3a19a; }
.portal-msg--info { background: #fff3cd; border: 1px solid #e0c36b; }
.portal-table { width: 100%; border-collapse: collapse; }
.portal-table th { text-align: left; font-size: 0.85rem; color: #555; border-bottom: 2px solid #ddd; padding: 6px; }
.portal-table td { border-bottom: 1px solid #eee; padding: 6px; vertical-align: top; }
.portal-table .num { text-align: right; white-space: nowrap; }
.portal-table a { color: #c16d05; }
.portal-status { font-size: 0.8rem; font-weight: bold; padding: 2px 8px; border-radius: 10px; background: #eee; white-space: nowrap; }
.portal-status--paid, .portal-status--invoiced { background: #dff3d8; color: #2c6e1f; }
.portal-status--open { background: #fff0d6; color: #8a5300; }
.portal-status--accepted { background: #f3f3c2; color: #6b6b00; }
.portal-foot { text-align: center; color: #777; font-size: 0.85rem; padding: 24px 16px; }
.portal-foot a { color: #777; }
@media (max-width: 640px) {
	.portal-table .portal-hide-small { display: none; }
}
/* reCAPTCHA (D29): the "I'm not a robot" box (v2) or the notice that v3 is in use */
.portal-recaptcha { margin: 0.75rem 0; min-height: 78px; }
.portal-small { font-size: 0.75rem; color: #666; }
