.duty-exchanges{margin:20px 0 28px;min-width:0}.duty-exchanges>h3:first-of-type{margin-top:0}.brakkevakt>section+section{margin-top:16px}.exchange-row{padding:12px 0;border-bottom:1px solid var(--portal-border);overflow-wrap:anywhere}.exchange-row:focus{outline:2px solid var(--portal-focus);outline-offset:2px}.exchange-overview{margin:16px 0 24px;padding:12px 0;border-top:1px solid var(--portal-border);border-bottom:1px solid var(--portal-border)}.exchange-overview h2{border:0;padding:0;margin:0 0 5px}.exchange-overview p{margin:4px 0;font-size:12px;color:var(--portal-muted)}.exchange-overview>a,.exchange-assignment-state>a{display:inline-flex;align-items:center;min-height:var(--portal-touch-height);color:var(--portal-accent);font-size:13px;text-decoration:none}.exchange-overview>a:hover,.exchange-assignment-state>a:hover{text-decoration:underline}.exchange-assignment-state{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:12px}.exchange-assignment-state>span,.exchange-inline-status{color:var(--portal-muted);font-size:12px}.exchange-assignment-state>span{flex-basis:100%}.exchange-assignment-state .ui-button{min-height:var(--portal-touch-height)}.duty-row-actions>.exchange-assignment-state{display:contents}.duty-row-actions>.exchange-assignment-state>span{flex-basis:100%}.exchange-row-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;font-size:14px}.exchange-row-heading span,.exchange-note{color:var(--portal-muted);font-size:12px}.exchange-note{margin:6px 0}.exchange-time{margin:8px 0 4px;font-size:14px;font-variant-numeric:tabular-nums}.exchange-actions,.exchange-choices{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.duty-ops .exchange-proposals{margin-top:14px;padding-left:14px;border-left:2px solid var(--portal-border)}.exchange-proposals>li{padding:10px 0;border-top:1px solid var(--portal-border);font-size:13px}.duty-ops .exchange-shift-action{margin-top:8px}.exchange-dialog{max-width:500px;width:calc(100% - 32px);min-height:min(350px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);overflow:auto;box-sizing:border-box;padding:20px;border:1px solid var(--portal-border);border-radius:var(--portal-radius);color:var(--portal-control-text);background:var(--portal-surface)}.exchange-dialog form{display:flex;flex-direction:column;min-height:250px}.exchange-dialog .exchange-actions:last-child{margin-top:auto;padding-top:18px}.exchange-decision-note{min-height:70px}.exchange-dialog::backdrop{background:var(--portal-backdrop)}.duty-ops .exchange-dialog h3{margin:0 0 14px;font-size:17px}.exchange-dialog p{overflow-wrap:anywhere}.exchange-choices label{display:flex;align-items:center;gap:8px;min-height:var(--portal-touch-height);padding:10px 12px;border:1px solid var(--portal-border);border-radius:var(--portal-radius);font-size:14px;cursor:pointer}.exchange-choices label:has(input:checked){background:var(--portal-nav-active);border-color:var(--portal-accent)}.exchange-choices label:has(input:disabled){opacity:.6;cursor:not-allowed}.exchange-choices input{accent-color:var(--portal-accent)}.exchange-select{display:grid;gap:8px;font-size:14px}.exchange-select select{width:100%;min-width:0;max-width:100%;min-height:44px;font:inherit;border:1px solid var(--portal-border);border-radius:6px;background:var(--portal-surface);color:var(--portal-control-text);padding:6px}.exchange-dialog .exchange-actions{justify-content:flex-end}.exchange-start-assignment{margin:0 0 14px;font-size:14px;font-variant-numeric:tabular-nums}.exchange-start h4{margin:0 0 6px;font-size:13px}.exchange-opportunities{list-style:none;margin:0;padding:0}.exchange-opportunities li{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 0;border-bottom:1px solid var(--portal-border)}.exchange-opportunities li span{display:grid;gap:2px;min-width:0;font-size:13px;font-variant-numeric:tabular-nums}.exchange-opportunities li small{color:var(--portal-muted);font-size:12px}.exchange-start-post{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.swap-history-shifts{display:flex;flex-wrap:wrap;gap:12px 32px;margin-top:10px;font-size:13px}.swap-history-shifts>div{min-width:0;overflow-wrap:anywhere}@media(max-width:600px){.swap-history-shifts{flex-direction:column;gap:8px}}@media(max-width:600px){.exchange-dialog{width:100%;max-width:none;margin:auto 0 0;max-height:calc(100dvh - env(safe-area-inset-top) - 24px);border-radius:var(--portal-radius) var(--portal-radius) 0 0;padding:20px 16px calc(16px + env(safe-area-inset-bottom))}.exchange-choices{display:grid}.exchange-dialog .exchange-actions:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.exchange-dialog .exchange-actions button{min-height:var(--portal-touch-height)}.exchange-opportunities li .ui-button,.exchange-start-post .ui-button{width:100%}}.exchange-v2-summary-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.exchange-v2-summary-heading h2{border:0;padding:0}.exchange-v2-summary-heading a{color:var(--portal-accent);font-size:13px;font-weight:650;text-decoration:none;white-space:nowrap}.exchange-v2-summary-heading a:hover{text-decoration:underline}.exchange-preview-list{list-style:none;padding:0;margin:4px 0 0}.exchange-preview-list .exchange-row{padding:9px 0}.exchange-preview-list .exchange-row strong{font-size:13px}.exchange-preview-list .exchange-time{margin:3px 0;font-size:13px}.exchange-preview-list .exchange-actions{margin-top:4px}.exchange-preview-more{display:inline-flex;align-items:center;min-height:var(--portal-touch-height);color:var(--portal-accent);font-size:13px}.exchange-v2-overview{margin:4px 0 22px}.exchange-v2-overview p{margin:5px 0 0}.exchange-action-placeholder{display:inline-flex;align-items:center;min-height:var(--portal-touch-height);min-width:112px;color:var(--portal-muted);font-size:12px}.exchange-v2-center{margin-top:6px}.exchange-v2-dialog{width:min(500px,calc(100% - 24px));min-height:0;max-height:min(640px,calc(100dvh - 24px))}.exchange-v2-dialog form{min-height:0}.exchange-v2-dialog h4{margin:12px 0 7px;font-size:13px}.exchange-v2-dialog .exchange-actions:last-child{margin-top:16px;padding-top:0}.exchange-v2-choices{display:grid;gap:6px;max-height:180px;overflow:auto}.exchange-v2-choices label,.exchange-v2-sources label,.exchange-v2-give{display:flex;gap:10px;align-items:center;min-height:44px;padding:8px 10px;border:1px solid var(--portal-border);border-radius:var(--portal-radius);cursor:pointer;font-size:13px}.exchange-v2-choices label:has(input:checked),.exchange-v2-sources label:has(input:checked),.exchange-v2-give:has(input:checked){border-color:var(--portal-accent);background:var(--portal-nav-active)}.exchange-v2-choices input,.exchange-v2-sources input,.exchange-v2-give input,.exchange-v2-row-choice input{accent-color:var(--portal-accent);flex:none;width:18px;height:18px}.exchange-v2-choices label span,.exchange-v2-give span{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}.exchange-v2-choices small,.exchange-v2-give small{color:var(--portal-muted);font-size:12px;font-weight:400}.exchange-v2-give{margin-top:12px}.exchange-v2-sources{display:grid;gap:6px;padding:0;border:0;margin:12px 0 0}.exchange-v2-sources legend{font-size:13px;font-weight:650;margin-bottom:6px}.exchange-v2-row-choice{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:13px;font-weight:650;color:var(--portal-accent);cursor:pointer}.exchange-v2-outcome p{margin:10px 0;font-size:13px}.exchange-browse-bar{position:fixed;z-index:35;bottom:12px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;min-width:min(420px,calc(100vw - 24px));box-sizing:border-box;padding:8px 10px;background:var(--portal-surface);border:1px solid var(--portal-border);border-radius:var(--portal-radius);box-shadow:var(--portal-shadow)}.exchange-browse-bar span{flex:1;font-size:13px;font-weight:650}.exchange-browse-bar .ui-button{min-height:44px}@media(max-width:900px){.exchange-browse-bar{bottom:calc(72px + env(safe-area-inset-bottom))}}@media(max-width:600px){.exchange-v2-dialog{width:100%;max-height:calc(100dvh - env(safe-area-inset-top) - 24px);padding:18px 16px calc(16px + env(safe-area-inset-bottom))}.exchange-v2-dialog .exchange-actions:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.exchange-v2-dialog .exchange-actions .ui-button{min-height:44px}.exchange-v2-dialog>form>.ui-button{width:100%}}.duty-ops{max-width:1100px}.duty-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.duty-ops .duty-heading h1{margin:0}.duty-ops button:not(.ui-button){border:1px solid var(--portal-border);background:var(--portal-surface);color:var(--portal-control-text);border-radius:var(--portal-radius);padding:9px 12px;font:inherit;font-size:13px;min-height:var(--portal-touch-height)}.duty-ops button:not(.ui-button):hover{background:var(--portal-control-hover)}.duty-ops button:disabled{opacity:.6;cursor:wait}.duty-meta{display:flex;flex-wrap:wrap;gap:8px 24px;color:var(--portal-muted);font-size:12px;margin:0 0 24px}.duty-summary{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;margin-bottom:20px}.duty-ops h2{font-size:18px;margin:0;padding-bottom:10px;border-bottom:1px solid var(--portal-border)}.duty-ops h3{font-size:13px;font-weight:650;margin:22px 0 6px;color:var(--portal-secondary)}.duty-ops ul{list-style:none;padding:0;margin:0}.duty-row{position:relative;padding:12px;border-bottom:1px solid var(--portal-divider);border-left:3px solid transparent;overflow-wrap:anywhere}.duty-row:has(.duty-row-link):hover{background:var(--portal-control-hover)}.duty-row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px}.duty-row-actions:empty{display:none}.duty-row-link{display:inline-flex;align-items:center;min-height:var(--portal-touch-height);padding:8px 10px;color:var(--portal-accent);text-decoration:none;font-size:13px;font-weight:650}.duty-row-link:hover{text-decoration:underline}.duty-meta details{position:relative}.duty-meta summary{cursor:pointer}.duty-meta details span{display:block;margin-top:4px}.duty-heading-actions{display:flex;align-items:center;gap:8px}.duty-heading-actions a{font-size:13px;color:var(--portal-accent);text-decoration:none}.duty-row:last-child{border-bottom:0}.duty-row.is-mine{border-left-color:var(--portal-highlight-border);background:var(--portal-highlight)}.duty-row.is-cancelled{color:var(--portal-muted)}.duty-row-top{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 14px;font-size:14px;font-weight:650}.duty-row time{font-variant-numeric:tabular-nums}.duty-row-date{min-width:88px}.duty-participants{font-size:13px;margin:5px 0 0;color:var(--portal-secondary);line-height:1.5}.duty-status{font-weight:400;font-size:12px;color:var(--portal-danger-text)}.duty-empty,.duty-loading{color:var(--portal-muted);font-size:14px;margin:14px 0}.duty-navigation{display:flex;flex-wrap:wrap;gap:var(--portal-space-4);margin:0 0 20px;border-bottom:1px solid var(--portal-border)}.duty-navigation a{padding:10px 0;text-decoration:none;font-size:13px;color:var(--portal-muted);border-bottom:2px solid transparent}.duty-navigation a[aria-current=page]{color:var(--portal-accent);border-bottom-color:var(--portal-accent);font-weight:650}.duty-source{display:block;font-size:11px;font-weight:650;color:var(--portal-control-text)}.duty-source-inline{margin-left:12px;font-size:11px;color:var(--portal-muted)}.duty-source-secondary,.duty-source-secondary .duty-source{color:var(--portal-muted)}.duty-alert{border-left:3px solid var(--portal-danger-accent);padding:10px 12px;margin:16px 0;font-size:13px;background:var(--portal-danger-background);color:var(--portal-danger-text);line-height:1.6}@media(max-width:700px){.duty-summary{grid-template-columns:minmax(0,1fr);gap:26px}.duty-meta{margin-bottom:20px;gap:6px 16px}.duty-row{padding:12px 9px}}@media(min-width:901px){.duty-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}}.credit-link{font-size:13px;white-space:nowrap;text-decoration:none;color:var(--portal-control-text);padding:10px 0;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;gap:6px}.credit-link strong,.duty-credits :is(dd,td,strong){font-variant-numeric:tabular-nums}.duty-credit-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}.duty-credits{min-width:0}.credit-summary{display:flex;flex-wrap:wrap;gap:12px 32px;margin:0 0 16px}.credit-summary dt{font-size:12px;color:var(--portal-muted)}.credit-summary dd{margin:4px 0 0;font-size:18px;font-weight:650}.credit-section{margin-top:24px}.credit-history-heading{display:flex;gap:12px;font-size:14px}.credit-history-heading>strong{min-width:24px}.duty-credits .credit-contributors{list-style:decimal;padding-left:24px;margin:8px 0 0}.credit-contributors li{padding:8px 0 8px 4px;overflow-wrap:anywhere;font-size:14px}.credit-contributors li strong{margin-left:16px}.credit-contributors small{margin-left:12px;color:var(--portal-muted)}.credit-roster{border-collapse:collapse;width:100%;table-layout:fixed;font-size:13px}.credit-roster caption{text-align:left;font-size:18px;font-weight:650;padding-bottom:10px;border-bottom:1px solid var(--portal-border)}.credit-roster :is(th,td){padding:10px 8px;text-align:right;border-bottom:1px solid var(--portal-border);overflow-wrap:anywhere}.credit-roster th:first-child{text-align:left;width:55%}.credit-roster tbody th{font-weight:400}@media(max-width:450px){.credit-roster th:first-child{width:45%}.credit-roster :is(th,td){padding:10px 4px}}.brakkevakt-week{border-bottom:1px solid var(--portal-border);padding:12px 0;min-width:0}.brakkevakt-week time{font-weight:650;font-size:14px;font-variant-numeric:tabular-nums}.brakkevakt-week p{margin:6px 0;font-size:13px}.brakkevakt-current time{color:var(--portal-text)}.brakkevakt-mine{background:var(--portal-highlight);border-left:3px solid var(--portal-accent);padding-left:10px}.brakkevakt-exchange-target{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px}.brakkevakt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin-bottom:28px}.brakkevakt-grid>section{min-width:0}.brakkevakt-manage-row{display:grid;grid-template-columns:minmax(130px,1fr) repeat(2,minmax(145px,1fr)) auto;align-items:end;gap:10px;border-bottom:1px solid var(--portal-border);padding:12px 0}.brakkevakt-manage-row label{display:grid;gap:5px;min-width:0;font-size:12px}.brakkevakt-manage-row select,.brakkevakt-generator input,.brakkevakt-generator select{min-width:0;width:100%;box-sizing:border-box;min-height:44px;border:1px solid var(--portal-border);border-radius:var(--portal-radius);padding:8px;font:inherit}.brakkevakt-generator{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-bottom:16px}.brakkevakt-generator label{display:grid;gap:5px;font-size:12px}.brakkevakt-manage-actions{display:flex;flex-wrap:wrap;gap:8px}@media(max-width:760px){.brakkevakt-grid{grid-template-columns:1fr;gap:24px}.brakkevakt-manage-row{grid-template-columns:repeat(2,minmax(0,1fr))}.brakkevakt-manage-row>strong,.brakkevakt-manage-actions{grid-column:1 / -1}}.flyvask-schedule{margin-top:var(--portal-space-4)}.flyvask-schedule .duty-row{padding:10px 8px}.flyvask-schedule .duty-row-top{justify-content:space-between}.flyvask-schedule .duty-participants{margin-top:2px}.flyvask-schedule .duty-row-actions:empty{display:none}.flights-page,.fuel-shift-page{max-width:1000px}.flights-heading,.fuel-shift-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.flights-heading h1,.fuel-shift-heading h1{margin:0}.flights-page button:not(.ui-button),.fuel-shift-page button:not(.ui-button){border:1px solid var(--portal-border);background:var(--portal-surface);color:var(--portal-control-text);border-radius:var(--portal-radius);min-height:var(--portal-touch-height);padding:8px 12px;font:inherit;font-size:13px}.flights-page button:not(.ui-button):hover,.fuel-shift-page button:not(.ui-button):hover{background:var(--portal-control-hover)}.flights-page button:disabled,.fuel-shift-page button:disabled{opacity:.6}.flight-list,.fuel-task-list{list-style:none;margin:14px 0;padding:0;border-top:1px solid var(--portal-border)}.flight-row,.fuel-task-row{padding:14px 2px;border-bottom:1px solid var(--portal-border)}.flight-row-head,.fuel-task-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 14px}.flight-row-head strong,.fuel-task-head strong{font-size:15px}.flight-row time,.fuel-task-row time{font-variant-numeric:tabular-nums}.flight-meta,.fuel-meta{color:var(--portal-muted);font-size:13px;margin:5px 0;line-height:1.5}.flight-status{font-size:12px;font-weight:650;color:var(--portal-accent)}.flight-segments{display:flex;flex-wrap:wrap;gap:4px 20px;margin:9px 0 4px}.flight-segment{display:grid;gap:2px;min-width:100px;font-size:12px;color:var(--portal-muted)}.flight-segment:first-child strong{font-size:17px;color:var(--portal-control-text)}.flight-segment strong{color:var(--portal-control-text);font-size:14px;font-variant-numeric:tabular-nums}.fuel-amount{display:flex;align-items:center;gap:8px}.fuel-amount input{min-width:0;flex:1}.fuel-distribution{margin:0;font-size:13px;border-top:1px solid var(--portal-border);padding-top:8px}.fuel-distribution div{display:flex;justify-content:space-between;gap:12px;padding:2px 0}.fuel-distribution dd{margin:0;font-variant-numeric:tabular-nums}.fuel-task-breakdown{margin:5px 0 9px;display:grid;gap:2px;font-size:13px}.fuel-task-breakdown div{display:flex;gap:12px}.fuel-task-breakdown dt{min-width:90px;color:var(--portal-muted)}.fuel-task-breakdown dd{margin:0;font-variant-numeric:tabular-nums}.flight-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}.fuel-form{display:grid;gap:10px;max-width:360px;margin:12px 0;padding:12px;border:1px solid var(--portal-border);border-radius:var(--portal-radius);background:var(--portal-surface)}.fuel-form label{display:grid;gap:4px;font-size:13px}.fuel-form select,.fuel-form input{min-height:40px;padding:7px;border:1px solid var(--portal-control-border);border-radius:var(--portal-radius);font:inherit}.fuel-form-actions{display:flex;gap:8px}.fuel-notice{font-size:13px;color:var(--portal-muted)}.fuel-error{font-size:13px;color:var(--portal-danger-text)}.fuel-task-section h2{margin:20px 0 0;padding-bottom:8px;border-bottom:1px solid var(--portal-border);font-size:18px}.fuel-task-row.is-due{border-left:3px solid var(--portal-accent);padding-left:10px}@media(max-width:560px){.flights-heading,.fuel-shift-heading{align-items:flex-start}.flight-row,.fuel-task-row{padding-left:0;padding-right:0}.flight-segments{gap:6px 14px}.flight-segment{min-width:90px}}.admin-users{max-width:1100px}.admin-columns{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:24px;margin-top:20px}.admin-users input[type=search],.admin-users select{border:1px solid var(--portal-control-border);border-radius:6px;padding:10px;background:var(--portal-surface);color:var(--portal-control-text);font:inherit;max-width:100%}.admin-users input[type=search]{display:block;width:100%;margin-top:8px}.admin-users .small-note,.admin-users small{font-size:12px;color:var(--portal-muted)}.admin-user-list ul{list-style:none;padding:0;display:grid;gap:8px}.admin-user-list li button{width:100%;text-align:left;border:1px solid var(--portal-border);border-radius:6px;padding:12px;background:var(--portal-surface);color:var(--portal-control-text)}.admin-user-list li button[aria-pressed=true]{border-color:var(--portal-accent);background:var(--portal-nav-active)}.admin-user-list strong,.admin-user-list span{display:block;overflow-wrap:anywhere}.admin-user-list span{font-size:12px;color:var(--portal-muted);margin-top:5px}.admin-editor{min-width:0}.admin-editor h2{overflow-wrap:anywhere}.admin-editor fieldset{border:0;padding:16px 0;margin:12px 0;min-width:0}.admin-editor legend{font-size:14px;font-weight:650}.admin-role{display:inline-flex;align-items:center;gap:8px;margin-right:20px;font-size:14px}.admin-permission{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--portal-border);padding:12px 0;font-size:14px}.admin-permission small{display:block;margin-top:4px}.admin-permission select{flex-shrink:0}.admin-permission-group{margin:12px 0 20px}.admin-permission-group h3{margin:0;padding:8px 0;border-bottom:1px solid var(--portal-border);font-size:13px}.admin-effective{display:inline-block;margin-top:5px;font-size:12px;font-weight:700}.admin-effective.is-allowed{color:var(--portal-nav-active-text)}.admin-effective.is-denied{color:var(--portal-danger-text)}.admin-users select:focus-visible{outline:3px solid var(--portal-focus);outline-offset:3px}.admin-users button:disabled,.admin-users select:disabled{opacity:.6}@media(max-width:700px){.admin-columns{grid-template-columns:1fr}.admin-permission{flex-wrap:wrap;gap:8px}}.exchange-audit{max-width:1180px}.exchange-audit>p{color:var(--portal-muted);font-size:14px}.exchange-audit-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:18px 0}.exchange-audit-filters label{display:grid;gap:4px;font-size:12px;font-weight:650;min-width:140px}.exchange-audit-filters input,.exchange-audit-filters select,.exchange-audit-filters button{min-height:var(--portal-touch-height);border:1px solid var(--portal-control-border);border-radius:var(--portal-radius);padding:8px;background:var(--portal-surface);color:var(--portal-control-text)}.exchange-audit-filters button{font-weight:700}.exchange-audit-layout{display:grid;grid-template-columns:minmax(240px,350px) minmax(0,1fr);gap:18px}.exchange-audit-cases{border-top:1px solid var(--portal-border)}.exchange-audit-cases button{display:grid;gap:4px;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--portal-border);padding:12px 8px;color:inherit}.exchange-audit-cases button[aria-pressed=true]{background:var(--portal-nav-active)}.exchange-audit-cases span,.exchange-audit-cases small{font-size:12px;color:var(--portal-muted)}.exchange-audit-detail{border:1px solid var(--portal-border);border-radius:var(--portal-radius);padding:16px;min-width:0}.exchange-audit-detail h2{margin:0;font-size:19px}.exchange-audit-timeline{list-style:none;padding:0;margin:20px 0}.exchange-audit-timeline li{display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid var(--portal-border);font-size:13px}.exchange-audit-timeline time{color:var(--portal-muted)}.exchange-audit-timeline p{margin:4px 0;color:var(--portal-muted)}.exchange-audit-candidates{list-style:none;padding:0;margin:8px 0 18px}.exchange-audit-candidates>li{padding:10px 0;border-top:1px solid var(--portal-border);font-size:13px}.exchange-audit-candidates ul{list-style:none;margin:6px 0 0;padding:0}.exchange-audit-candidates ul li{padding:3px 0}.exchange-audit-candidates small{color:var(--portal-muted)}@media(max-width:750px){.exchange-audit-layout{display:block}.exchange-audit-detail{margin-top:16px}.exchange-audit-timeline li{grid-template-columns:1fr;gap:3px}}:root{color-scheme:light;--portal-text: #172833;--portal-header-background: #172833;--portal-background: #f5f7f7;--portal-surface: #ffffff;--portal-surface-muted: #f8faf9;--portal-sidebar: #edf2f1;--portal-sidebar-border: #d9e2e1;--portal-border: #d7e1df;--portal-divider: #e1e8e4;--portal-control-border: #cbd6d9;--portal-control-text: #243b47;--portal-secondary: #50656e;--portal-muted: #60767c;--portal-nav-text: #687d83;--portal-accent: #23775e;--portal-accent-fill: #23775e;--portal-accent-fill-hover: #195a46;--portal-on-accent: #ffffff;--portal-focus: #238568;--portal-control-hover: #eef4f2;--portal-nav-hover: #e0eae6;--portal-nav-active: #d5e8df;--portal-nav-active-text: #165c46;--portal-highlight: #ecf4ef;--portal-highlight-border: #328767;--portal-header-text: #d0dcdf;--portal-header-strong: #ffffff;--portal-header-subtle: #b7c5ca;--portal-header-border: #ffffff24;--portal-header-hover: #ffffff0d;--portal-brand-mark: #67d4ae;--portal-badge: #d5e8df;--portal-badge-text: #165c46;--portal-brand-mark-text: #12362e;--portal-warning-text: #855b22;--portal-warning-dot: #b57c25;--portal-warning-border: #dfc597;--portal-danger-text: #8b5143;--portal-danger-strong: #9b3e36;--portal-danger-background: #fff6f1;--portal-danger-border: #e6c9b9;--portal-danger-accent: #ad614d;--portal-shadow: 0 2px 8px #17283314;--portal-backdrop: rgb(20 35 44 / 45%);--portal-calendar-available: #a9dfbf;--portal-calendar-unavailable: #e9ada6;--portal-calendar-undefined: #e1e7e9;--portal-calendar-grid: #dbe3e5;--portal-calendar-head: #f0f4f4;--portal-calendar-weekend: #e9eeee;--portal-calendar-corner: #e7eeed;--portal-calendar-month-rule: #b9c9ce;--portal-calendar-week-rule: #819aa3;--portal-calendar-hover: #204c5a;--portal-radius: 6px;--portal-control-height: 40px;--portal-touch-height: 44px;--portal-space-1: 4px;--portal-space-2: 8px;--portal-space-3: 12px;--portal-space-4: 16px}:root[data-theme=dark]{color-scheme:dark;--portal-text: #e2eaec;--portal-header-background: #0b161c;--portal-background: #101c22;--portal-surface: #16252c;--portal-surface-muted: #1a2a31;--portal-sidebar: #0e1a20;--portal-sidebar-border: #1f2f36;--portal-border: #283a42;--portal-divider: #22333a;--portal-control-border: #34484f;--portal-control-text: #d3dee1;--portal-secondary: #a9b9be;--portal-muted: #8ea2a8;--portal-nav-text: #8ea2a8;--portal-accent: #5fc9a2;--portal-accent-fill: #4fb892;--portal-accent-fill-hover: #66cda7;--portal-on-accent: #07261c;--portal-focus: #5fc9a2;--portal-control-hover: #1e3038;--portal-nav-hover: #172a31;--portal-nav-active: #173a30;--portal-nav-active-text: #86dcbc;--portal-highlight: #15302a;--portal-highlight-border: #4fb892;--portal-header-text: #b8c7cb;--portal-header-strong: #eef4f5;--portal-header-subtle: #8ea2a8;--portal-header-border: #ffffff1f;--portal-header-hover: #ffffff0f;--portal-brand-mark: #5fc9a2;--portal-badge: #5fc9a2;--portal-badge-text: #07261c;--portal-brand-mark-text: #07261c;--portal-warning-text: #e3b86e;--portal-warning-dot: #d49b42;--portal-warning-border: #6b5530;--portal-danger-text: #f0a08f;--portal-danger-strong: #f4a898;--portal-danger-background: #2c1c1a;--portal-danger-border: #633a31;--portal-danger-accent: #c96e59;--portal-shadow: 0 4px 16px #0000008c;--portal-backdrop: rgb(3 8 11 / 70%);--portal-calendar-available: #2f7457;--portal-calendar-unavailable: #83403b;--portal-calendar-undefined: #23343b;--portal-calendar-grid: #22333a;--portal-calendar-head: #1a2a31;--portal-calendar-weekend: #1d2e35;--portal-calendar-corner: #1c2d34;--portal-calendar-month-rule: #3d535b;--portal-calendar-week-rule: #56717a;--portal-calendar-hover: #bfe3d6}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--portal-text);background:var(--portal-background);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}.brand{display:flex;align-items:center;gap:12px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--portal-brand-mark);color:var(--portal-brand-mark-text);font-weight:800;font-size:24px}.brand div{display:flex;flex-direction:column;line-height:1.2}.brand strong{font-size:19px;letter-spacing:-.04em}.brand div span{color:var(--portal-header-subtle);font-size:12px;margin-top:3px}h1{font-size:28px;letter-spacing:-.035em;line-height:1.2;margin:0}.refresh-button,.today-button,.message button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--portal-control-border);background:var(--portal-surface);color:var(--portal-control-text);border-radius:var(--portal-radius);min-height:var(--portal-control-height);padding:8px 12px;font-size:13px;font-weight:650;white-space:nowrap}.refresh-button svg{width:16px;height:16px;flex-shrink:0}.refresh-button:hover,.today-button:hover,.message button:hover{background:var(--portal-control-hover)}button:disabled{opacity:.5;cursor:default}.toolbar{display:flex;align-items:center;gap:8px;margin:20px 0 14px;flex-wrap:wrap}.date-window-nav{display:flex;align-items:center;background:var(--portal-surface);border:1px solid var(--portal-control-border);border-radius:var(--portal-radius);overflow:hidden}.date-window-nav button{border:0;background:var(--portal-surface);width:40px;height:40px;color:var(--portal-control-text);font-size:25px;line-height:1}.date-window-nav button:hover{background:var(--portal-control-hover)}.date-window-nav span{min-width:205px;text-align:center;font-size:14px;font-weight:700;padding:0 8px}.search-box{margin-left:auto}.search-box input{border:1px solid var(--portal-control-border);background:var(--portal-surface);border-radius:var(--portal-radius);padding:10px 12px;width:200px;max-width:100%;outline-color:var(--portal-focus);color:var(--portal-control-text)}.legend{display:flex;align-items:center;gap:22px;flex-wrap:wrap;color:var(--portal-secondary);font-size:13px;margin-bottom:14px}.legend>span{display:inline-flex;align-items:center;gap:7px}.legend-dot{width:13px;height:13px;border-radius:3px;display:inline-block}.legend-dot.available,.calendar td.available{background:var(--portal-calendar-available)}.legend-dot.unavailable,.calendar td.unavailable{background:var(--portal-calendar-unavailable)}.legend-dot.undefined,.calendar td.undefined{background:var(--portal-calendar-undefined)}.result-count{font-size:12px;color:var(--portal-muted);margin:0 0 8px}.calendar{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;font-size:12px}.calendar th,.calendar td{border-right:1px solid var(--portal-calendar-grid);border-bottom:1px solid var(--portal-calendar-grid)}.calendar thead th{background:var(--portal-calendar-head)}.calendar .month-row th{height:34px;color:var(--portal-secondary);font-size:12px;font-weight:750;text-align:left;padding:6px;overflow-wrap:anywhere;border-bottom:1px solid var(--portal-control-border)}.calendar .month-row th:not(.name-cell){border-left:2px solid var(--portal-calendar-month-rule)}.calendar .date-row th{height:61px;text-align:center;color:var(--portal-secondary);font-weight:500;padding:4px 2px}.calendar .date-row th span{display:block;font-size:10px}.calendar .date-row th strong{display:block;font-size:12px;color:var(--portal-text);margin-top:3px}.calendar .date-row .week-label{font-size:9px;height:12px;color:var(--portal-muted)}.calendar .date-row th.weekend{background:var(--portal-calendar-weekend)}.calendar .name-cell{width:var(--instructor-width)}.calendar .month-row .name-cell{height:95px;vertical-align:bottom;padding:0 12px 15px;background:var(--portal-calendar-corner);color:var(--portal-control-text)}.calendar tbody .name-cell{text-align:left;padding:0 12px;height:29px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:var(--portal-surface);font-weight:600}.calendar tbody tr:nth-child(2n) .name-cell{background:var(--portal-surface-muted)}.calendar td{height:29px}.calendar .week-start{border-left:3px solid var(--portal-calendar-week-rule)}.calendar tbody tr:hover .name-cell{color:var(--portal-accent)}.calendar td:hover{outline:2px solid var(--portal-calendar-hover);outline-offset:-2px}.footnote{font-size:12px;color:var(--portal-muted);line-height:1.5;margin:13px 0}.message{padding:16px;background:var(--portal-surface);border:1px solid var(--portal-border);border-radius:var(--portal-radius);color:var(--portal-secondary)}.message.error{border-color:var(--portal-danger-border);background:var(--portal-danger-background)}.message.error strong{color:var(--portal-danger-strong)}.message p{margin:8px 0 16px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:700px){.refresh-button{font-size:12px;padding:8px}.date-window-nav{width:100%;justify-content:space-between}.date-window-nav span{min-width:0;flex:1}.search-box{margin-left:0;flex:1;min-width:120px}.search-box input{width:100%}.calendar .name-cell{width:var(--instructor-width)}}.cache-age{color:var(--portal-secondary);font-size:12px;margin:6px 0 0}.cache-age time{cursor:help;text-decoration:underline dotted}.availability-meta{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:8px;color:var(--portal-secondary)}.availability-meta p{font-size:12px;margin:0}.availability-meta .cache-age{margin:0}.calendar-container{--instructor-width:180px;--day-min-width:32px;min-width:0}.calendar-frame{border:1px solid var(--portal-control-border);border-radius:var(--portal-radius);background:var(--portal-surface)}.instructor-column{width:var(--instructor-width)}.calendar .month-row th:last-child,.calendar .date-row th:last-child,.calendar tbody td:last-child{border-right:0}.calendar tbody tr:last-child th,.calendar tbody tr:last-child td{border-bottom:0}@media(max-width:700px){.calendar-container{--instructor-width:140px}}html:has(.availability-page){scrollbar-gutter:stable}html{scroll-padding-top:80px}body{min-width:0}a{color:inherit}button,a,input{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.calendar-frame:focus-visible{outline:3px solid var(--portal-focus);outline-offset:3px}h2{font-size:16px;line-height:1.35;letter-spacing:-.02em;margin:0}p{line-height:1.55}.portal-shell{display:grid;grid-template-columns:192px minmax(0,1fr);grid-template-rows:auto 1fr;min-height:100vh;min-height:100dvh}.portal-header{grid-column:1 / -1;position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--portal-header-background);color:var(--portal-header-strong);padding:12px max(24px,env(safe-area-inset-right)) 12px max(24px,env(safe-area-inset-left));padding-top:max(12px,env(safe-area-inset-top));min-height:64px}.brand{text-decoration:none;flex-shrink:0}.brand-mark{font-size:17px;letter-spacing:-.05em}.current-user{display:flex;align-items:center;gap:var(--portal-space-2);min-width:0;max-width:100%;background:transparent;min-height:var(--portal-control-height);padding:var(--portal-space-2) 10px;border:1px solid var(--portal-header-border);border-radius:var(--portal-radius);font-size:12px;color:var(--portal-header-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.current-user:hover,.current-user[aria-expanded=true]{background:var(--portal-header-hover)}.current-user svg{width:16px;height:16px;flex-shrink:0}.account-identity{min-width:0;overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;line-height:1.2}.account-identity strong,.account-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-identity small{opacity:.72;font-size:11px;font-weight:400}.account-control{position:relative;min-width:0;max-width:50%}.header-actions{display:flex;align-items:center;gap:10px;min-width:0;max-width:62%}.header-inbox{position:relative;display:inline-flex;align-items:center;justify-content:center;width:var(--portal-touch-height);height:var(--portal-touch-height);flex:none;border-radius:var(--portal-radius);color:var(--portal-header-text)}.header-inbox:hover,.header-inbox.active{background:var(--portal-header-hover);color:var(--portal-header-strong)}.header-inbox svg{width:20px;height:20px}.header-inbox-count{position:absolute;right:0;top:0;min-width:17px;height:17px;padding:0 3px;border-radius:9px;background:var(--portal-badge);color:var(--portal-badge-text);text-align:center;font-size:10px;line-height:17px;font-weight:750}.account-menu{position:absolute;right:0;top:calc(100% + 4px);min-width:190px;max-width:min(320px,90vw);z-index:45;background:var(--portal-surface);color:var(--portal-control-text);border:1px solid var(--portal-border);border-radius:var(--portal-radius);padding:4px;box-shadow:var(--portal-shadow)}.account-menu-email{margin:0;padding:9px 10px;border-bottom:1px solid var(--portal-border);color:var(--portal-muted);font-size:12px;overflow-wrap:anywhere}.account-menu a{display:block;min-height:var(--portal-touch-height);padding:11px 10px;border-radius:var(--portal-radius);text-decoration:none;font-size:13px;font-weight:600}.account-menu a:hover,.account-menu a.active{background:var(--portal-control-hover);color:var(--portal-nav-active-text)}.sidebar{position:sticky;top:64px;align-self:start;height:calc(100dvh - 64px);background:var(--portal-sidebar);border-right:1px solid var(--portal-sidebar-border);padding:20px 12px}.sidebar nav{display:grid;gap:4px}.sidebar nav a{display:flex;align-items:center;gap:var(--portal-space-3);padding:var(--portal-space-3);border-radius:var(--portal-radius);text-decoration:none;color:var(--portal-secondary);font-size:14px;font-weight:600}.sidebar nav a:hover{background:var(--portal-nav-hover)}.sidebar nav a.active{background:var(--portal-nav-active);color:var(--portal-nav-active-text);box-shadow:inset 3px 0 var(--portal-focus)}.portal-content{min-width:0;width:100%;max-width:1440px;margin:0 auto;padding:28px 28px 48px;outline:none}.bottom-nav{display:none}.skip-link{position:fixed;top:-60px;left:20px;z-index:60;background:var(--portal-surface);padding:10px;border-radius:var(--portal-radius)}.skip-link:focus{top:12px}.account-error{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:var(--portal-danger-background);border:1px solid var(--portal-danger-border);color:var(--portal-danger-text);border-radius:var(--portal-radius);font-size:13px;margin-bottom:20px}.account-error button{border:0;background:transparent;color:var(--portal-danger-strong);font-weight:700;white-space:nowrap}.home-page,.activity-page,.admin-hub,.settings-page,.flights-page,.fuel-shift-page{max-width:1100px}.home-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.today-date{font-size:12px;color:var(--portal-muted)}.home-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);gap:48px;margin-top:24px}.home-layout h2{margin-bottom:12px}.home-day{margin-bottom:18px}.home-day h3{margin:0;padding:6px 0;color:var(--portal-muted);font-size:12px;font-weight:650}.home-day ul,.home-context ul,.activity-list{list-style:none;margin:0;padding:0}.home-day a{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:12px;align-items:baseline;min-height:var(--portal-touch-height);padding:10px 0;border-bottom:1px solid var(--portal-border);text-decoration:none;font-size:13px}.home-day a:hover,.home-context a:hover{color:var(--portal-accent)}.home-day a span:nth-child(2){color:var(--portal-muted)}.home-week a{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;min-height:var(--portal-touch-height);padding:10px 0;border-bottom:1px solid var(--portal-border);text-decoration:none;font-size:13px}.home-week a:hover{color:var(--portal-accent)}.home-week a>span{color:var(--portal-muted)}.home-context section{margin-bottom:24px}.home-context p,.home-context li,.home-muted{font-size:13px;color:var(--portal-muted)}.home-context li{padding:8px 0}.home-context a{color:var(--portal-control-text);text-decoration:none}.home-context strong{color:var(--portal-control-text)}.admin-hub nav{display:grid;margin-top:20px;max-width:640px}.admin-hub nav a{display:flex;justify-content:space-between;min-height:var(--portal-touch-height);align-items:center;padding:12px 0;border-bottom:1px solid var(--portal-border);text-decoration:none;font-weight:600}.admin-hub nav a:hover{color:var(--portal-accent)}.admin-environment{margin-top:32px;max-width:640px}.admin-environment p{margin:6px 0 0;font-size:13px;color:var(--portal-muted)}.admin-environment nav{margin-top:8px}.activity-filters{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.activity-filters button,.activity-more button,.theme-options button{min-height:var(--portal-touch-height);padding:8px 12px;border:1px solid var(--portal-border);border-radius:var(--portal-radius);background:var(--portal-surface);color:var(--portal-control-text)}.activity-filters button[aria-pressed=true],.theme-options button[aria-pressed=true],.activity-filters button[role=tab][aria-selected=true]{border-color:var(--portal-accent);background:var(--portal-nav-active);color:var(--portal-nav-active-text)}.activity-list li{display:grid;grid-template-columns:100px minmax(0,1fr) auto;gap:4px 12px;padding:12px 0;border-bottom:1px solid var(--portal-border);font-size:13px}.activity-list li span,.activity-list li time,.activity-list li p{color:var(--portal-muted)}.activity-list li p{grid-column:2 / -1;margin:0}.activity-more{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.attention-detail{position:relative;z-index:1;margin-top:5px;font-size:12px;color:var(--portal-muted)}.attention-detail summary{display:inline-flex;align-items:center;gap:6px;min-height:28px;cursor:pointer;color:var(--portal-warning-text)}.attention-dot{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;background:var(--portal-warning-dot)}.attention-content{max-width:620px;padding:6px 0 5px 14px;border-left:2px solid var(--portal-warning-border)}.attention-content p{margin:0;line-height:1.5}.placeholder-note{font-size:14px;color:var(--portal-muted);margin:12px 0 0}.settings-list{max-width:900px;margin-top:20px}.settings-section{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px;padding:20px 0;border-bottom:1px solid var(--portal-border)}.settings-section:first-child{padding-top:0}.settings-section:last-child{border-bottom:0}.settings-section>div{min-width:0}.settings-section p{font-size:14px;color:var(--portal-muted);margin:8px 0}.settings-section>p,.settings-section>div>p:first-child{margin-top:0}.settings-section .field-label{font-size:12px;margin:0 0 4px}.settings-section .account-email{color:var(--portal-control-text);font-size:14px;font-weight:600;margin:0;overflow-wrap:anywhere}.settings-section .small-note{font-size:12px}.settings-inline{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.settings-inline p{margin:0}.theme-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.theme-options button{font-size:13px;font-weight:650}.settings-panel{background:var(--portal-surface);border:1px solid var(--portal-border);border-radius:var(--portal-radius);padding:24px;min-width:0}.settings-panel p{font-size:14px;color:var(--portal-muted)}.primary-button{border:1px solid var(--portal-accent-fill);background:var(--portal-accent-fill);color:var(--portal-on-accent);border-radius:var(--portal-radius);padding:10px 14px;font-weight:650;font-size:13px}.primary-button:hover{background:var(--portal-accent-fill-hover);border-color:var(--portal-accent-fill-hover)}.page-header{display:flex;align-items:center;justify-content:space-between;gap:var(--portal-space-3);min-height:var(--portal-touch-height);margin-bottom:var(--portal-space-4)}.page-header h1{margin:0}.ui-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--portal-space-2);min-height:var(--portal-touch-height);padding:8px 12px;border:1px solid var(--portal-control-border);border-radius:var(--portal-radius);background:var(--portal-surface);color:var(--portal-control-text);font:inherit;font-size:13px;font-weight:650;cursor:pointer}.ui-button:hover{background:var(--portal-control-hover)}.ui-button:disabled{opacity:.6;cursor:wait}.ui-button--primary{background:var(--portal-accent-fill);border-color:var(--portal-accent-fill);color:var(--portal-on-accent)}.ui-button--primary:hover{background:var(--portal-accent-fill-hover);border-color:var(--portal-accent-fill-hover)}.ui-button--ghost{border-color:transparent;background:transparent;color:var(--portal-muted)}.ui-button--danger{color:var(--portal-danger-text);border-color:var(--portal-danger-border)}.refresh-control{display:inline-flex;align-items:center;gap:var(--portal-space-2);min-width:0;color:var(--portal-muted);font-size:12px}.refresh-control time{white-space:nowrap}.refresh-control button{width:var(--portal-touch-height);padding:8px;flex:none}.refresh-control button:has(span){width:auto}.refresh-control svg{width:18px;height:18px}.back-link{display:inline-flex;align-items:center;min-height:var(--portal-touch-height);color:var(--portal-accent);font-size:13px;text-decoration:none}.home-item-context{margin:0;padding:2px 0 8px 102px;color:var(--portal-muted);font-size:12px;border-bottom:1px solid var(--portal-border)}.update-action{border-top:1px solid var(--portal-border);padding-top:12px;margin-top:16px}.action-link{display:inline-block;color:var(--portal-accent);margin-top:20px}.contact-page{max-width:820px}.contact-page .page-header h1{min-width:0;overflow-wrap:anywhere}.contact-page .page-header .refresh-control{flex:none}.contact-intro,.contact-help{color:var(--portal-muted);font-size:13px}.contact-intro{margin:0 0 20px}.contact-help{margin-top:18px}.contact-form{display:grid;gap:16px;max-width:640px}.contact-form label{display:grid;gap:6px;color:var(--portal-control-text);font-size:13px;font-weight:650}.contact-form select,.contact-form textarea{width:100%;min-width:0;padding:10px 12px;background:var(--portal-surface);border:1px solid var(--portal-control-border);border-radius:var(--portal-radius);color:var(--portal-control-text);font:inherit;font-weight:400}.contact-form textarea{resize:vertical;line-height:1.5}.contact-form .contact-check{display:flex;align-items:flex-start;gap:10px;font-weight:500}.contact-check input{margin-top:3px;width:18px;height:18px;accent-color:var(--portal-accent)}.contact-check small{display:block;color:var(--portal-muted);overflow-wrap:anywhere}.contact-form>.ui-button{justify-self:start}.contact-error{color:var(--portal-danger-text);font-size:13px}.contact-new{margin:0 0 12px;font-size:13px}.contact-list{list-style:none;margin:14px 0 20px;padding:0;border-top:1px solid var(--portal-border)}.contact-list li{border-bottom:1px solid var(--portal-border)}.contact-list li>a,.contact-list li>div:first-child{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:14px 0;text-decoration:none}.contact-list li>a:hover strong{color:var(--portal-accent)}.contact-list-main{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere;font-size:13px}.contact-list-main small,.contact-list-meta{color:var(--portal-muted);font-size:12px;font-weight:400}.contact-list-meta{display:grid;gap:5px;justify-items:end;flex:none}.contact-status{color:var(--portal-nav-active-text);font-size:11px;font-weight:700}.contact-status--resolved{color:var(--portal-muted)}.contact-context{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding-bottom:14px;border-bottom:1px solid var(--portal-border);color:var(--portal-muted);font-size:12px;overflow-wrap:anywhere}.contact-conversation{list-style:none;margin:0 0 24px;padding:0}.contact-conversation li{padding:16px 0;border-bottom:1px solid var(--portal-border)}.contact-conversation li div{display:flex;justify-content:space-between;gap:12px;font-size:13px}.contact-conversation li strong{min-width:0;overflow-wrap:anywhere}.contact-conversation time{color:var(--portal-muted);font-size:12px}.contact-conversation p{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.contact-actions,.inbox-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.inbox-list .unread{border-left:3px solid var(--portal-accent);padding-left:10px}.contact-unread{color:var(--portal-accent);font-weight:700}.inbox-actions{padding:0 0 12px;font-size:12px}.inbox-actions a,.inbox-actions button{min-height:32px;padding:6px 0;border:0;background:transparent;color:var(--portal-accent);font:inherit;font-weight:650;cursor:pointer;text-decoration:none}.inbox-actions a{margin-right:10px}@media(max-width:1100px){.portal-shell{grid-template-columns:180px minmax(0,1fr)}.portal-content{padding:24px 20px 40px}.home-layout{gap:24px}}@media(max-width:900px){.portal-shell{display:block}.sidebar{display:none}.portal-header{gap:16px;padding:12px max(18px,env(safe-area-inset-right)) 12px max(18px,env(safe-area-inset-left));padding-top:max(12px,env(safe-area-inset-top))}.portal-content{padding:24px 22px calc(88px + env(safe-area-inset-bottom))}.bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:40;background:var(--portal-surface);border-top:1px solid var(--portal-border);padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.bottom-nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:50px;border:0;border-radius:var(--portal-radius);background:transparent;color:var(--portal-nav-text);font-size:11px;font-weight:650;text-decoration:none;white-space:nowrap}.bottom-nav .active{color:var(--portal-nav-active-text);background:var(--portal-nav-active)}}@media(max-width:700px){.settings-section{grid-template-columns:minmax(0,1fr);gap:12px}}@media(max-width:600px){h1{font-size:26px}.portal-content{padding:20px 16px calc(88px + env(safe-area-inset-bottom))}.portal-header{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));gap:12px}.brand strong{font-size:17px}.brand-mark{width:34px;height:34px;font-size:15px}.brand{gap:9px}.account-control{max-width:100%}.header-actions{max-width:54%;gap:4px}.header-inbox{width:36px}.brand>div>span{display:none}.home-item-context{padding-left:84px}.refresh-control time{max-width:105px;overflow:hidden;text-overflow:ellipsis}.current-user{font-size:11px;padding:7px 8px;gap:6px;min-height:var(--portal-touch-height)}.home-heading{align-items:flex-start;flex-direction:column;gap:8px}.home-layout{grid-template-columns:1fr;gap:20px}.home-day a{grid-template-columns:76px minmax(0,1fr) auto;gap:8px}.activity-list li{grid-template-columns:1fr auto}.activity-list li span,.activity-list li p{grid-column:1 / -1}.legend{gap:12px;font-size:12px}.today-button{padding:8px}.account-error{align-items:flex-start;flex-wrap:wrap}.contact-list li>a,.contact-list li>div:first-child{gap:8px}.contact-list-meta{max-width:105px;text-align:right}.primary-button,.refresh-button,.today-button,.date-window-nav button{min-height:var(--portal-touch-height)}}@media(max-width:360px){.bottom-nav a{font-size:11px;letter-spacing:-.02em}.bottom-nav svg{width:19px;height:19px}}.onboarding-screen{min-height:100vh;min-height:100dvh}.onboarding-main{max-width:540px;margin:48px auto;padding:0 max(20px,env(safe-area-inset-right)) calc(30px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))}.credential-form{margin-top:24px}.credential-form label{display:block;font-size:13px;font-weight:650;margin-bottom:8px}.credential-form input{width:100%;border:1px solid var(--portal-control-border);border-radius:var(--portal-radius);padding:12px;font:inherit;background:var(--portal-surface);color:var(--portal-navy);min-width:0}.credential-form .small-note,.onboarding-main .small-note{font-size:12px;line-height:1.6;color:var(--portal-muted)}.credential-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.credential-form .credential-error{font-size:13px;color:var(--portal-danger-strong)}.connection-status{color:var(--portal-accent)!important;font-weight:650}.onboarding-main .small-note a{color:var(--portal-accent)}@media(max-width:600px){.onboarding-main{margin:28px auto}.onboarding-main .settings-panel{padding:22px}}.onboarding-guide{padding-left:20px;margin:var(--portal-space-4) 0;font-size:14px;line-height:1.55}.onboarding-guide li+li{margin-top:var(--portal-space-2)}.onboarding-guide .refresh-button{text-decoration:none}
