/* MainTrak for Outlook.
   Tokens are copied from MainTrak's design system (AcuMainTrak.UI/wwwroot/maintrak.css) so the pane looks like the
   app; the add-in can't load the app's stylesheet. Every colour comes from a token so dark mode is a token swap.
   No coloured edge stripes: state is shown with the 1px border colour, a tinted background, a tag or an icon. */

:root {
    --ink: #17231c;
    --ink-soft: #33423a;
    --muted: #7a8880;
    --muted-dark: #5b6a62;
    --canvas: #f4f7f5;
    --panel: #ffffff;
    --panel-alt: #f8fbf9;
    --hover: #e4ece6;
    --field: #fbfcfb;
    --line: #e0e8e2;
    --line-dark: #cbd8cf;

    --brand: #2e8741;
    --brand-text: #28482c;
    --brand-fill: #28482c;
    --brand-fill-hover: #2e8741;
    --brand-soft: #e7f3ea;
    --brand-soft-line: #bcdcc4;
    --brand-ring: rgba(46, 135, 65, .16);

    --success: #2e8741;
    --success-soft: #e7f5eb;
    --success-line: #b7ddc1;
    --info: #1971b5;
    --info-soft: #e9f3f9;
    --info-line: #bcd8ea;
    --warning: #b8691f;
    --warning-soft: #fff3e6;
    --warning-line: #f0c8a3;
    --danger: #b0473f;
    --danger-soft: #fdf0ee;
    --danger-line: #ebc5c0;

    --shadow: 0 12px 32px rgba(20, 50, 30, .06);
    --shadow-raised: 0 15px 34px rgba(20, 50, 30, .14);

    --radius: 6px;
    --radius-sm: 4px;
    --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

    color-scheme: light;
}

[data-theme="dark"] {
    --ink: #e3eae5;
    --ink-soft: #c4cfc8;
    --muted: #8a998f;
    --muted-dark: #a3b1a8;
    --canvas: #0e1411;
    --panel: #151d18;
    --panel-alt: #19231d;
    --hover: #1d2821;
    --field: #19221c;
    --line: #243029;
    --line-dark: #334139;

    --brand: #56bb6d;
    --brand-text: #8fd6a0;
    --brand-fill: #2f7f43;
    --brand-fill-hover: #37934e;
    --brand-soft: rgba(86, 187, 109, .13);
    --brand-soft-line: rgba(86, 187, 109, .34);
    --brand-ring: rgba(86, 187, 109, .22);

    --success: #56bb6d;
    --success-soft: rgba(86, 187, 109, .13);
    --success-line: rgba(86, 187, 109, .34);
    --info: #5aa6e0;
    --info-soft: rgba(90, 166, 224, .13);
    --info-line: rgba(90, 166, 224, .34);
    --warning: #e3a25c;
    --warning-soft: rgba(227, 162, 92, .13);
    --warning-line: rgba(227, 162, 92, .36);
    --danger: #e27b72;
    --danger-soft: rgba(226, 123, 114, .13);
    --danger-line: rgba(226, 123, 114, .36);

    --shadow: 0 12px 32px rgba(0, 0, 0, .28);
    --shadow-raised: 0 15px 34px rgba(0, 0, 0, .4);

    color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 13px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
#container { min-height: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: var(--brand); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 20px; letter-spacing: -.3px; line-height: 1.15; color: var(--ink); }
h2 { font-size: 16px; letter-spacing: -.15px; line-height: 1.2; color: var(--ink); }
h3 { font-size: 13px; line-height: 1.3; color: var(--ink-soft); }
img { max-width: 100%; }
::selection { background: var(--brand-soft-line); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: 2px; }
* { scrollbar-width: thin; scrollbar-color: var(--line-dark) transparent; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { flex: 0 0 auto; display: block; }

/* ---------- Shell ---------- */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.app-header { position: sticky; top: 0; z-index: 30; height: 48px; display: flex; flex: 0 0 auto; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 8px 0 12px; background: var(--panel); }
.app-brand { display: flex; align-items: center; gap: 8px; min-width: 0; margin-right: auto; }
.app-brand img { width: 24px; height: 24px; display: block; object-fit: contain; }
.app-brand span { color: var(--brand-text); font-size: 15px; font-weight: 800; letter-spacing: -.2px; }
.app-main { flex: 1 1 auto; display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 20px; }
.app-main.flush-bottom { padding-bottom: 0; }

/* Actions that stay in view at the bottom of a form. */
.action-bar { position: sticky; bottom: 0; z-index: 20; display: flex; flex-direction: column; gap: 8px; margin: 2px -12px 0; border-top: 1px solid var(--line); padding: 10px 12px 12px; background: var(--panel); }
.action-bar .hint { color: var(--muted); font-size: 11px; text-align: center; }

/* ---------- Text ---------- */
.kicker { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 1.45px; text-transform: uppercase; }
.muted { color: var(--muted); }
.soft { color: var(--muted-dark); }
.small { font-size: 11px; }
.strong { font-weight: 700; }
.truncate { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.break { overflow-wrap: anywhere; }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.stack { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.stack.gap-xs { gap: 4px; } .stack.gap-sm { gap: 8px; }
.row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.row.top { align-items: flex-start; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }

/* ---------- Page heading inside the pane ---------- */
.page-head { display: flex; flex-direction: column; gap: 4px; }
.page-head h2 { margin-top: 2px; }
.page-head p { color: var(--muted-dark); font-size: 12px; line-height: 1.45; }
.back-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; margin-bottom: 4px; border: 0; padding: 0; color: var(--muted-dark); background: none; font-size: 11px; font-weight: 700; }
.back-link:hover { color: var(--brand); }

/* ---------- Sections and panels ---------- */
.section { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 20px; padding: 0 2px; }
.section-head .kicker { display: inline-flex; align-items: center; gap: 6px; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.panel.flat { box-shadow: none; }
.panel-body { padding: 12px; }
.panel-footer { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding: 8px 12px; }

/* The email being read. */
.email-card { display: flex; flex-direction: column; gap: 6px; padding: 12px; }
.email-subject { color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.email-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--muted-dark); font-size: 11px; }
.email-meta span { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.email-from { display: flex; align-items: baseline; gap: 6px; min-width: 0; font-size: 12px; }
.email-from strong { color: var(--ink-soft); }
.email-from span { min-width: 0; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }

/* A customer, contact or other record in a panel. */
.entity { display: flex; align-items: flex-start; gap: 10px; padding: 10px 8px 10px 12px; }
.entity + .entity { border-top: 1px solid var(--line); }
.entity-icon { width: 28px; height: 28px; display: inline-flex; flex: 0 0 28px; align-items: center; justify-content: center; border: 1px solid var(--brand-soft-line); border-radius: var(--radius-sm); color: var(--brand-text); background: var(--brand-soft); }
.entity-icon.neutral { border-color: var(--line-dark); color: var(--muted-dark); background: var(--panel-alt); }
.entity-main { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; padding-top: 1px; }
.entity-title { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--ink); font-size: 13px; font-weight: 700; }
.entity-title > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entity-sub { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }

/* ---------- Jobs ---------- */
.job-list { margin: 0; padding: 0; list-style: none; }
.job-item { display: flex; align-items: flex-start; min-width: 0; }
.job-item + .job-item { border-top: 1px solid var(--line); }
.job-item.clickable:hover { background: var(--panel-alt); }
.job-item.selected, .job-item.selected:hover { background: var(--brand-soft); }
.job-row { min-width: 0; flex: 1 1 auto; display: flex; align-items: flex-start; gap: 9px; border: 0; padding: 9px 6px 9px 12px; color: inherit; background: transparent; text-align: left; }
.job-item > .icon-button { margin: 7px 6px 0 0; }
.job-main { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; }
.job-line { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 6px; min-width: 0; }
/* Tags keep their shape on a selected (tinted) row. */
.job-item.selected .tag:not(.neutral):not(.warning) { background: var(--panel); }
.job-code { color: var(--brand-text); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.job-task { color: var(--ink-soft); font-size: 12px; overflow-wrap: anywhere; }
.job-meta { color: var(--muted); font-size: 11px; }
.job-check { width: 20px; height: 20px; display: inline-flex; flex: 0 0 20px; align-items: center; justify-content: center; margin-top: 1px; border: 1px solid var(--line-dark); border-radius: 50%; color: transparent; background: var(--panel); }
.job-item.selected .job-check { border-color: var(--brand-fill); color: #fff; background: var(--brand-fill); }
.list-more { padding: 8px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

/* ---------- Choices (what to do with the email) ---------- */
.choices { display: flex; flex-direction: column; gap: 6px; }
.choice { width: 100%; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 10px 10px 10px 12px; color: var(--ink-soft); background: var(--panel); text-align: left; transition: border-color .12s ease, background .12s ease; }
.choice:hover:not(:disabled) { border-color: var(--brand); background: var(--brand-soft); }
.choice > span:not(.entity-icon) { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 1px; }
.choice strong { color: var(--ink); font-size: 12px; }
.choice small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.choice .chevron { color: var(--muted); }
.choice:hover:not(:disabled) .chevron { color: var(--brand); }

/* ---------- Buttons ---------- */
.primary-action, .secondary-action { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: var(--radius-sm); padding: 8px 14px; font-size: 12px; font-weight: 700; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: background .12s ease, border-color .12s ease, color .12s ease; }
.primary-action { border: 1px solid transparent; color: #fff; background: var(--brand-fill); }
.primary-action:hover:not(:disabled) { color: #fff; background: var(--brand-fill-hover); }
.secondary-action { border: 1px solid var(--line-dark); color: var(--brand-text); background: var(--panel); }
.secondary-action:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.secondary-action.danger { color: var(--danger); }
.secondary-action.danger:hover:not(:disabled) { border-color: var(--danger); color: var(--danger); background: var(--danger-soft); }
.compact-action { min-height: 28px !important; padding: 5px 9px !important; font-size: 11px !important; }
.block-action { width: 100%; }
.text-action { display: inline-flex; align-items: center; gap: 5px; border: 0; padding: 0; color: var(--brand); background: transparent; font-size: 12px; font-weight: 800; text-decoration: none; }
.text-action:hover:not(:disabled) { color: var(--brand-text); text-decoration: underline; }
.text-action.muted { color: var(--muted-dark); }
.icon-button { width: 30px; height: 30px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; border: 1px solid var(--line-dark); border-radius: 5px; padding: 0; color: var(--brand); background: var(--panel); line-height: 0; }
.icon-button:hover:not(:disabled) { border-color: var(--brand); background: var(--brand-soft); }
.icon-button.subtle { border-color: transparent; color: var(--muted-dark); background: transparent; }
.icon-button.subtle:hover:not(:disabled) { color: var(--brand); background: var(--hover); }
.icon-button.compact { width: 26px; height: 26px; }
.icon-button[aria-pressed="true"] { border-color: var(--brand); color: var(--brand-text); background: var(--brand-soft); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.button-row > .grow-button { flex: 1 1 0; }

.segmented { display: flex; overflow: hidden; border: 1px solid var(--line-dark); border-radius: 5px; background: var(--panel); }
.segmented button { min-height: 32px; flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-right: 1px solid var(--line); padding: 0 10px; color: var(--muted-dark); background: transparent; font-size: 11px; font-weight: 700; white-space: nowrap; }
.segmented button:last-child { border-right: 0; }
.segmented button:hover:not(:disabled) { color: var(--brand-text); background: var(--hover); }
.segmented button[aria-pressed="true"] { color: var(--brand-text); background: var(--brand-soft); }

.chip { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; border: 1px solid var(--line-dark); border-radius: 13px; padding: 3px 10px; color: var(--muted-dark); background: var(--panel); font-size: 11px; font-weight: 700; white-space: nowrap; }
.chip:hover:not(:disabled) { color: var(--brand-text); background: var(--brand-soft); }
.chip[aria-pressed="true"] { border-color: var(--brand-fill); color: #fff; background: var(--brand-fill); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 12px; }
.form-field { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 5px; margin: 0; }
.field-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted-dark); font-size: 11px; font-weight: 700; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.field-counter { color: var(--muted); font-size: 10px; font-weight: 400; }
.form-field input:not([type="checkbox"]):not([type="radio"]), .form-field textarea, .input-affix { width: 100%; min-height: 36px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); outline: 0; padding: 7px 10px; color: var(--ink); background: var(--field); font-size: 13px; font-weight: 400; }
.form-field textarea { min-height: 120px; resize: vertical; font-size: 12px; line-height: 1.45; }
.form-field input:focus, .form-field textarea:focus, .input-affix:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); outline: 0; }
.form-field input:disabled, .form-field textarea:disabled { color: var(--muted); background: var(--hover); cursor: not-allowed; }
.form-field input[readonly] { background: var(--panel-alt); }
.form-field input::placeholder, .form-field textarea::placeholder, .input-affix input::placeholder { color: var(--muted); opacity: .85; }
.form-field.invalid input, .form-field.invalid .input-affix { border-color: var(--danger); }
.field-help { color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.4; }
.field-error { color: var(--danger); font-size: 11px; font-weight: 600; }
.input-affix { display: flex; align-items: center; gap: 7px; padding-top: 0 !important; padding-bottom: 0 !important; color: var(--brand); }
.input-affix > input { min-width: 0; flex: 1; min-height: 34px !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--ink); }
.input-affix > button { display: inline-flex; border: 0; padding: 4px; color: var(--muted); background: transparent; line-height: 0; }
.input-affix > button:hover { color: var(--brand); }
.read-value { display: flex; align-items: center; gap: 8px; min-height: 36px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 8px 6px 10px; color: var(--ink-soft); background: var(--panel-alt); font-size: 12px; font-weight: 400; }
.read-value > span { min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.check-field { display: flex; align-items: flex-start; gap: 9px; margin: 0; color: var(--ink-soft); font-size: 12px; font-weight: 600; cursor: pointer; }
.check-field input { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--brand); cursor: inherit; }
.check-field > span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.check-field small { color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.35; }

.file-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.file-list > li + li { border-top: 1px solid var(--line); }
.file-row { display: flex; align-items: center; gap: 9px; padding: 8px 10px; color: var(--ink-soft); font-size: 12px; cursor: pointer; }
.file-row input { width: 16px; height: 16px; flex: 0 0 auto; margin: 0; accent-color: var(--brand); }
.file-row .file-name { min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row .file-size { flex: 0 0 auto; color: var(--muted); font-size: 11px; }
.file-row.disabled { color: var(--muted); cursor: default; }

/* Customer picker */
.picker-results { margin: 0; padding: 4px; list-style: none; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); background: var(--panel); box-shadow: var(--shadow-raised); }
.picker-option { width: 100%; min-height: 34px; display: flex; align-items: center; gap: 8px; border: 0; border-radius: 3px; padding: 6px 8px; color: var(--ink-soft); background: transparent; font-size: 12px; text-align: left; }
.picker-option:hover, .picker-option:focus-visible { color: var(--brand-text); background: var(--brand-soft); outline: 0; }
.picker-option .code { margin-left: auto; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.picker-empty { padding: 8px; color: var(--muted); font-size: 12px; }

/* ---------- Tags ---------- */
.tag { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; border-radius: 3px; padding: 2px 6px; color: var(--brand-text); background: var(--brand-soft); font-size: 10px; font-weight: 800; letter-spacing: .2px; line-height: 1.3; white-space: nowrap; }
.tag.neutral { color: var(--muted-dark); background: var(--hover); }
.tag.info { color: var(--info); background: var(--info-soft); }
.tag.success { color: var(--success); background: var(--success-soft); }
.tag.warning { color: var(--warning); background: var(--warning-soft); }
.tag.danger { color: var(--danger); background: var(--danger-soft); }
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; min-height: 16px; border-radius: 8px; padding: 0 5px; color: var(--brand-text); background: var(--brand-soft); font-size: 10px; font-weight: 800; letter-spacing: 0; }

/* ---------- Callouts ---------- */
.callout { display: flex; align-items: flex-start; gap: 9px; border: 1px solid var(--info-line); border-radius: 5px; padding: 10px 11px; color: var(--ink-soft); background: var(--info-soft); font-size: 12px; line-height: 1.45; }
.callout > .icon { margin-top: 1px; color: var(--info); }
.callout-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.callout-body strong { color: var(--ink); }
.callout .callout-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.callout.success { border-color: var(--success-line); background: var(--success-soft); }
.callout.success > .icon { color: var(--success); }
.callout.warning { border-color: var(--warning-line); background: var(--warning-soft); }
.callout.warning > .icon { color: var(--warning); }
.callout.danger { border-color: var(--danger-line); background: var(--danger-soft); }
.callout.danger > .icon { color: var(--danger); }
.callout.neutral { border-color: var(--line); background: var(--panel-alt); }
.callout.neutral > .icon { color: var(--muted-dark); }
.callout ul { margin: 0; padding-left: 16px; }

/* ---------- Loading ---------- */
.spinner { width: 18px; height: 18px; display: inline-block; flex: 0 0 auto; border: 2px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .9s linear infinite; }
.spinner.small { width: 13px; height: 13px; }
.primary-action .spinner { border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-inline { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.loading-state { min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 12px; }
.skeleton-rows { display: flex; flex-direction: column; }
.skeleton-row { display: flex; flex-direction: column; gap: 7px; padding: 12px; }
.skeleton-row + .skeleton-row { border-top: 1px solid var(--line); }
.skeleton-bar { display: block; height: 9px; border-radius: 4px; background: linear-gradient(90deg, var(--hover) 0%, var(--panel-alt) 45%, var(--hover) 90%); background-size: 300% 100%; animation: shimmer 1.5s ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton-bar, .spinner { animation-duration: 3s; } }

/* ---------- Empty states ---------- */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px 16px; color: var(--muted); text-align: center; }
.empty-state > .icon { color: var(--brand); }
.empty-state strong { color: var(--ink-soft); font-size: 13px; }
.empty-state span { max-width: 300px; font-size: 12px; line-height: 1.45; }
.empty-state.tall { min-height: 60vh; }
.empty-state .button-row { justify-content: center; margin-top: 6px; }

/* ---------- Sign in ---------- */
.signin { display: flex; flex-direction: column; gap: 16px; padding: 22px 16px 24px; }
.signin-intro { display: flex; flex-direction: column; gap: 6px; }
.signin-intro p { color: var(--muted-dark); font-size: 12px; line-height: 1.5; }
.server-row { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 7px 8px 7px 10px; background: var(--panel-alt); }
.server-row > .icon { color: var(--brand); }
.server-row > div { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 1px; }
.server-row small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.server-row span { overflow: hidden; color: var(--ink-soft); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.signin-footer { border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.45; }

/* ---------- Results ---------- */
.result-hero { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px 6px; text-align: center; }
.hero-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--success-line); border-radius: 50%; color: var(--success); background: var(--success-soft); }
.result-hero p { color: var(--muted-dark); font-size: 12px; line-height: 1.45; }
.result-hero .job-code { font-size: 13px; }

/* ---------- Settings ---------- */
.fact-list { display: flex; flex-direction: column; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--line); }
.fact-list > div { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; background: var(--panel-alt); }
.fact-list span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.fact-list strong { min-width: 0; color: var(--ink-soft); font-size: 12px; overflow-wrap: anywhere; }
.version { color: var(--muted); font-size: 11px; text-align: center; }

/* Shown instead of the app on old Internet Explorer/EdgeHTML webviews. */
.unsupported { padding: 16px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }

/* Forms end with their sticky action bar, flush with the bottom of the pane. */
.app-main:has(> .action-bar) { padding-bottom: 0; }


/*# sourceMappingURL=taskpane.css.map*/