/* Client portal: lighter, simpler look than the staff app */
body.portal { background: #f6f8fa; }
.p-wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.p-top { background: #fff; border-bottom: 1px solid var(--line); }
.p-bar { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; }
.p-firm { display: flex; align-items: center; gap: 10px; }
.p-firm .brand-mark { color: #fff; width: 34px; height: 34px; border-radius: 8px; background: var(--accent);
  display: grid; place-items: center; font-weight: 700; }
.p-sub { color: var(--muted); }
.p-nav { display: flex; gap: 4px; margin-left: 12px; }
.p-nav a { padding: 7px 12px; border-radius: 6px; color: var(--ink); }
.p-nav a.on, .p-nav a:hover { background: var(--accent-soft); color: var(--accent); text-decoration: none; }
.p-user { margin-left: auto; color: var(--muted); }
.p-main { padding-top: 24px; padding-bottom: 40px; }
.p-drop { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: #fff; border: 2px dashed #b9d9d5;
  border-radius: 10px; padding: 16px; }
.p-drop > div { flex: 1 1 220px; }
.p-drop input[type=file] { max-width: 280px; }
.p-drop input[type=text] { max-width: 240px; }
.p-req { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid #eef1f5; }
.p-foot { padding-top: 10px; padding-bottom: 30px; }
@media (max-width: 700px) { .p-nav { margin-left: 0; } .p-user { margin-left: 0; } }
@media (max-width: 900px) { .p-drop > div, .p-drop .up-pick { flex: none; } }
.p-help { margin-left: auto; }
.p-help + .p-user { margin-left: 8px; }
@media (max-width: 900px) { .p-help { margin-left: auto; } }
