/* Field portal additions. Capture and upload controls remain in field-workspace.css. */
body.app-pending .bottomnav{display:none!important}
body.app-pending .screen{left:0!important;padding-bottom:0!important}
.portal-access{min-height:100dvh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;max-width:620px!important;padding:50px 24px}
.portal-access img{width:220px;height:auto;margin-bottom:54px}
.portal-kicker{color:var(--blue);font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.portal-access h1{font-size:clamp(28px,5vw,42px);line-height:1.1;letter-spacing:-.04em;margin:12px 0 18px}
.portal-access>p:not(.portal-kicker){font-size:16px;line-height:1.65;color:var(--t2);max-width:54ch}
.portal-access-actions{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin:26px 0}
.portal-access-actions a{color:var(--blue);font-size:14px}
.portal-action{display:inline-flex;align-items:center;min-height:46px;padding:12px 18px;background:var(--navy);color:#fff!important;border-radius:4px;text-decoration:none}
.portal-text-button{border:0;background:none;padding:12px 0;color:var(--t2);text-decoration:underline;cursor:pointer}
.portal-overview{display:grid;grid-template-columns:2fr 1fr 1fr;margin:0 var(--gutter) 20px;border:1px solid var(--bd);border-radius:5px;background:#fff}
.portal-overview>div,.portal-earning-summary>div{display:flex;flex-direction:column;gap:5px;padding:19px 22px;border-right:1px solid var(--bd);min-width:0}
.portal-overview>div:last-child,.portal-earning-summary>div:last-child{border-right:0}
.portal-overview span,.portal-earning-summary span{font-size:11px;font-weight:600;color:var(--t3);letter-spacing:.04em;text-transform:uppercase}
.portal-overview strong{font-size:18px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.portal-overview small,.portal-earning-summary small{font-size:12px;color:var(--t3);line-height:1.45;overflow-wrap:anywhere}
.portal-page{padding:0 var(--gutter) 38px;display:block!important}
.portal-page-heading{padding:42px 0 28px;border-bottom:1px solid var(--bd2)}
.portal-page-heading h1{font-size:clamp(30px,4vw,42px);font-weight:600;letter-spacing:-.04em;margin:7px 0 9px}
.portal-page-heading>p:last-child{max-width:68ch;color:var(--t2);font-size:14px;line-height:1.65}
.portal-earning-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:25px 0 34px;background:#fff;border:1px solid var(--bd);border-radius:5px}
.portal-earning-summary>div{padding:18px}
.portal-earning-summary strong{font-size:24px;font-weight:600;color:var(--t1);font-variant-numeric:tabular-nums}
.portal-list-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--bd2);padding:0 0 14px}
.portal-list-heading h2{font-size:18px;font-weight:600}
.portal-list-heading span{font-size:12px;color:var(--t3)}
.portal-list{background:#fff;border:1px solid var(--bd);border-top:0;border-radius:0 0 5px 5px;min-height:100px;color:var(--t2)}
.portal-period-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:13px 20px;background:#f3f7fb;border-bottom:1px solid var(--bd)}
.portal-period-heading strong{font-size:13px;color:var(--t1)}
.portal-period-heading span{font-size:11px;color:var(--t2);text-align:right;line-height:1.5}
.portal-earning-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;padding:18px 20px;border-bottom:1px solid var(--bd)}
.portal-earning-row:last-child{border-bottom:0}
.portal-earning-main,.portal-earning-aside{display:flex;flex-direction:column;gap:4px;min-width:0}
.portal-earning-main strong{font-size:15px;color:var(--t1);font-weight:600}
.portal-earning-main span,.portal-earning-aside span,.portal-earning-aside small{font-size:12px;color:var(--t3);overflow-wrap:anywhere}
.portal-earning-aside{text-align:right;align-items:flex-end}
.portal-earning-aside strong{font-size:16px;color:var(--t1);font-variant-numeric:tabular-nums}
.portal-empty{padding:32px 20px;font-size:13px;line-height:1.6}
.portal-page-footnote{font-size:12px;color:var(--t3);margin:22px 0;line-height:1.6}
.portal-page-footnote a,.portal-support a{color:var(--blue)}
.portal-profile{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:#fff;border:1px solid var(--bd);border-radius:5px;margin:24px 0 28px}
.portal-profile>div{padding:17px 20px;border-bottom:1px solid var(--bd);min-width:0}
.portal-profile>div:nth-child(odd){border-right:1px solid var(--bd)}
.portal-profile>div:last-child{border-bottom:0}
.portal-profile dt{font-size:11px;color:var(--t3);text-transform:uppercase;letter-spacing:.05em}
.portal-profile dd{font-size:15px;font-weight:600;margin:5px 0 0;overflow-wrap:anywhere}
.portal-support{border-top:1px solid var(--bd2);padding:25px 0;max-width:740px}
.portal-support h2{font-size:18px;margin:0 0 8px}
.portal-support p{font-size:14px;color:var(--t2);line-height:1.65;margin:0 0 12px}
.portal-support a{font-size:14px;font-weight:600}
.portal-signout{margin:12px 0 36px;border:1px solid var(--bd2);background:#fff;border-radius:4px;min-height:44px;padding:10px 18px;color:var(--t1);cursor:pointer}
.portal-refresh{margin-left:auto}
.portal-history-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 var(--gutter) 18px}
.portal-history-filters{display:flex;flex-wrap:wrap;gap:4px}
.portal-history-filters button{border:1px solid transparent;background:transparent;color:var(--t2);min-height:44px;padding:9px 13px;font:inherit;font-size:13px;cursor:pointer}
.portal-history-filters button[aria-pressed="true"]{border-color:var(--bd);background:#fff;color:var(--t1);font-weight:700}
.portal-history-tools input{min-height:44px;width:min(100%,270px);border:1px solid var(--bd);background:#fff;border-radius:4px;padding:10px 13px;font:inherit;font-size:13px;color:var(--t1)}
.portal-view-photos{display:inline-flex;margin-top:11px;min-height:38px;padding:7px 12px;border:1px solid var(--bd);background:#fff;color:var(--blue);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.portal-photo-dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;width:min(680px,calc(100vw - 24px));max-height:min(85dvh,850px);padding:0;overflow:auto;border:1px solid var(--bd);border-radius:5px;background:#fff;color:var(--t1);box-shadow:0 30px 90px rgba(8,27,43,.22)}
.portal-photo-dialog::backdrop{background:rgba(8,27,43,.66)}
.portal-photo-dialog-head{position:sticky;top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid var(--bd);background:#fff}
.portal-photo-dialog-head h2{font-size:24px;letter-spacing:-.03em;margin:4px 0}
.portal-photo-dialog-head p:last-child{font-size:12px;color:var(--t3);margin:0}
.portal-photo-dialog-head button,.portal-photo-row button{min-height:44px;border:1px solid var(--bd);background:#fff;padding:9px 14px;font:inherit;font-size:13px;color:var(--t1);cursor:pointer}
.portal-photo-content{padding:18px 24px 28px;font-size:13px;color:var(--t2);min-height:120px}
.portal-photo-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;border-bottom:1px solid var(--bd);padding:14px 0}
.portal-photo-row strong{font-size:14px;color:var(--t1)}
.portal-photo-view{grid-column:1/-1;line-height:1.5}
.portal-photo-view img{display:block;max-width:100%;height:auto;max-height:520px;object-fit:contain;margin-top:4px}
@media(max-width:800px){.portal-earning-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-earning-summary>div:nth-child(2){border-right:0}.portal-earning-summary>div:nth-child(-n+2){border-bottom:1px solid var(--bd)}}
@media(max-width:600px){.portal-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-overview>div:first-child{grid-column:1/-1;border-right:0;border-bottom:1px solid var(--bd)}.portal-overview>div:nth-child(2){padding:15px}.portal-overview>div:last-child{padding:15px}.portal-page-heading{padding-top:28px}.portal-period-heading{align-items:flex-start;flex-direction:column;gap:3px}.portal-period-heading span{text-align:left}.portal-earning-row{grid-template-columns:1fr;gap:10px}.portal-earning-aside{text-align:left;align-items:flex-start}.portal-profile{grid-template-columns:1fr}.portal-profile>div:nth-child(odd){border-right:0}.portal-profile>div:last-child{border-bottom:0}.portal-history-tools{align-items:stretch;flex-direction:column}.portal-history-tools input{width:100%}}
