/* Portal-only additions on top of the website's styles.css (copied from tax-launch-site). */
.portal-nav { gap: 24px; }
.portal-user { color: var(--muted); font-size: 14px; margin-right: 8px; }
.portal-checks { margin: 20px 0 0; padding-left: 20px; }
.portal-checks li { margin-bottom: 10px; font-weight: 700; color: var(--green); }
.portal-account { margin-top: 50px; padding: 30px; border-radius: var(--radius); background: var(--bg-soft); }
.portal-account h2 { font-size: 24px; margin-bottom: 16px; }
.portal-account dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.portal-account dt { font-weight: 700; color: var(--green); }
.portal-account dd { margin: 0; overflow-wrap: anywhere; }
.portal-message { max-width: 640px; }
.portal-footer .footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.login-card a.btn { width: 100%; margin-top: 10px; }

/* Admin page */
.admin .title { margin-top: 40px; }
.admin .title:first-of-type { margin-top: 0; }
.admin-flash { padding: 12px 16px; border-radius: var(--radius); font-weight: 700; }
.admin-flash--ok { background: #E3F5F3; color: var(--green); border-left: 5px solid var(--teal); }
.admin-flash--error { background: #FDECEC; color: #8A1C1C; border-left: 5px solid #C62828; }
.admin-invite { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.admin-invite label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; color: var(--green); font-size: 14px; }
.admin-invite input, .admin-invite select, .admin-table select { padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; font: 15px "Lato", Arial, sans-serif; }
.admin-invite input { min-width: 240px; }
.admin-note { color: var(--muted); font-size: 14px; font-weight: 400; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { color: var(--green); }
.admin-inline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 6px 6px 0; }
.admin-reset label { font-size: 13px; color: var(--muted); }
.admin-btn { padding: 6px 12px; border: 1px solid var(--teal); border-radius: 6px; background: var(--white); color: var(--teal-dark); font: 700 13px "Lato", Arial, sans-serif; cursor: pointer; }
.admin-btn:hover, .admin-btn:focus-visible { background: var(--teal); color: var(--white); }
.admin-btn--danger { border-color: #C62828; color: #C62828; }
.admin-btn--danger:hover, .admin-btn--danger:focus-visible { background: #C62828; color: var(--white); }
.admin-log td { font-size: 13px; }

/* Passkey nudge on My portal */
.portal-passkey { margin: 0 0 40px; padding: 24px 28px; border-left: 6px solid var(--teal); border-radius: var(--radius); background: #E3F5F3; }
.portal-passkey h2 { font-size: 22px; margin-bottom: 10px; }
.portal-passkey p { margin: 0 0 8px; }

/* Financial Cents link page (admin) */
.admin-link { font-weight: 700; color: var(--teal-dark); font-size: 13px; }
.fc-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 12px 0 0; }
.fc-card h3 { margin: 0 0 6px; font-size: 16px; color: var(--green); }
.fc-list { list-style: none; margin: 10px 0 0; padding: 0; }
.fc-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.fc-list li:last-child { border-bottom: 0; }
.fc-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 10px; background: #F1F1F1; color: var(--muted); font-size: 12px; font-weight: 700; }
.fc-search input { width: 100%; max-width: 420px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; font: 15px "Lato", Arial, sans-serif; }
.fc-status { min-height: 1.4em; }

/* Client upload page */
.upload-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.upload-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; color: var(--green); font-size: 14px; }
.upload-form select, .upload-form input[type="file"] { padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; font: 15px "Lato", Arial, sans-serif; background: var(--white); }
.upload-files { flex: 1 1 280px; }
.admin-flash p { margin: 0 0 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Tax season walkthrough (clients) */
.wt { max-width: 820px; }
.wt h2 { font-size: 26px; margin: 0 0 4px; }
.wt-sub { color: var(--muted); margin: 0 0 18px; }
.wt-card { margin: 16px 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.wt-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--green); }
.wt-card--warn { border-left: 5px solid #C62828; }
.wt-done { border-left: 6px solid var(--teal); background: #E3F5F3; }
.wt-progress { margin: 10px 0 26px; }
.wt-progress-text { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.wt-saved { font-weight: 700; color: var(--teal-dark); }
.wt-bar { width: 100%; height: 8px; margin: 6px 0; border: 0; border-radius: 4px; background: #D6EEEA; appearance: none; }
.wt-bar::-webkit-progress-bar { background: #D6EEEA; border-radius: 4px; }
.wt-bar::-webkit-progress-value { background: var(--teal); border-radius: 4px; }
.wt-bar::-moz-progress-bar { background: var(--teal); border-radius: 4px; }
.wt-steps { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.wt-steps .is-current { color: var(--green); font-weight: 800; }
.wt-steps .is-done { color: var(--teal-dark); }
.wt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px 18px; margin-bottom: 14px; }
.wt-field { display: flex; flex-direction: column; gap: 5px; font-weight: 700; color: var(--green); font-size: 14px; margin-bottom: 14px; }
.wt-wide { grid-column: 1 / -1; }
.wt-field input, .wt-field textarea { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: 16px "Lato", Arial, sans-serif; color: #222; background: var(--white); }
.wt-field input:focus, .wt-field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.wt-hint { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.wt-error { margin: 2px 0 0; color: #B71C1C; font-size: 13px; font-weight: 700; }
.wt-q { margin: 0 0 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.wt-q legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; font-weight: 700; color: #222; }
.wt-q legend + * { clear: both; }
.wt-q--plain { border: 0; padding: 0; }
.wt-q--important { border: 2px solid var(--teal); background: #F3FBFA; }
.wt-important { color: var(--teal-dark); }
.wt-section { margin: 26px 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }
.wt-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.wt-pill { position: relative; }
.wt-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wt-pill span { display: inline-block; min-width: 64px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 8px; text-align: center; cursor: pointer; background: var(--white); }
.wt-pill input:checked + span { border-color: var(--teal); background: #E3F5F3; color: var(--green); font-weight: 700; }
.wt-pill input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.wt-choices { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.wt-choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); cursor: pointer; }
.wt-choice input { margin-top: 4px; }
.wt-yes { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.wt-later { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 14px; color: var(--muted); }
.wt-example { margin: 8px 0; }
.wt-example summary { cursor: pointer; font-weight: 700; color: var(--teal-dark); }
.wt-example figure { margin: 10px 0; }
.wt-example img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; }
.wt-example figcaption, .wt-where { font-size: 13px; color: var(--muted); }
.wt-upload { margin-top: 8px; }
.wt-files { margin: 0 0 8px; padding: 0; list-style: none; }
.wt-files li { padding: 6px 10px; margin-bottom: 4px; border-radius: 6px; background: #F3FBFA; font-size: 14px; overflow-wrap: anywhere; }
.wt-file-status { color: var(--teal-dark); font-size: 12px; font-weight: 700; }
.wt-file-btn { position: relative; display: inline-block; padding: 9px 16px; border: 2px dashed var(--teal); border-radius: 8px; color: var(--teal-dark); font-weight: 700; cursor: pointer; }
.wt-file-btn:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.wt-file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.js .wt-nojs { display: none; }
.wt-up-msg { min-height: 1.2em; margin: 6px 0 0; font-size: 13px; color: var(--teal-dark); }
.wt-up-msg.is-error { color: #B71C1C; font-weight: 700; }
.wt-secure { margin: 18px 0; padding: 14px 18px; border-left: 5px solid var(--teal); border-radius: var(--radius); background: #E3F5F3; font-size: 14px; }
.wt-secure p { margin: 0; }
.wt-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.wt-nav-right { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.wt-link-btn { border: 0; background: none; color: var(--teal-dark); font: 700 14px "Lato", Arial, sans-serif; text-decoration: underline; cursor: pointer; }
.wt-nav button[disabled] { opacity: .5; cursor: not-allowed; }
.wt-footer { margin-top: 30px; text-align: center; font-size: 13px; color: var(--muted); }
.wt-dep .wt-dep-remove { margin-top: 6px; }

/* Staff page: walkthrough client list */
.staff-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.staff-filter { padding: 7px 14px; border: 1px solid var(--line); border-radius: 20px; font-weight: 700; font-size: 14px; color: var(--green); text-decoration: none; }
.staff-filter.is-active { border-color: var(--teal); background: var(--teal); color: var(--white); }
.staff-count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 10px; background: rgba(0, 0, 0, .08); font-size: 12px; text-align: center; }
.staff-sort { color: var(--green); text-decoration: none; }
.staff-sort.is-active { text-decoration: underline; }
.staff-status { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 12px; font-weight: 700; background: #F1F1F1; color: var(--muted); }
.staff-status--in_progress { background: #FFF4DB; color: #7A5300; }
.staff-status--submitted { background: #E3F5F3; color: var(--green); }
.staff-status--filed { background: #E7EAF6; color: #2C3E8C; }

/* client's "Email me reminders" switch on the home page */
.reminder-switch { margin-top: 16px; }
.reminder-switch fieldset { border: 1px solid var(--border, #d9dee5); border-radius: 8px; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.reminder-switch legend { font-weight: 600; font-size: 15px; padding: 0 4px; }
.reminder-switch .admin-note { flex-basis: 100%; margin: 0; }
.reminder-switch label { display: inline-flex; gap: 6px; align-items: center; }
