:root {
    --bg: #f3f8fb;
    --surface: #ffffff;
    --surface-muted: #f8fafc;
    --text: #092744;
    --text-muted: #5e7184;
    --border: #d7e4ec;
    --primary: #087fc1;
    --primary-hover: #05679f;
    --primary-soft: #e8f7fc;
    --success: #099fb2;
    --accent: #f4770b;
    --accent-soft: #fff1e5;
    --danger: #b42318;
    --shadow: 0 16px 44px rgba(9, 39, 68, 0.10);
    --radius: 14px;
    --radius-lg: 22px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }

.skip-link {
    position: fixed;
    left: 1rem;
    top: -5rem;
    z-index: 100;
    padding: .75rem 1rem;
    color: #fff;
    background: var(--text);
    border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.board-page { width: min(1920px, calc(100% - 48px)); }

.site-header {
    height: 72px;
    border-bottom: 1px solid rgba(220, 227, 237, .9);
    background: rgba(255, 255, 255, .92);
}

.header-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 750;
}
.brand:hover { text-decoration: none; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 11px;
}

.account-nav { display: flex; align-items: center; gap: 1rem; }
.account-nav form { margin: 0; }
.account-email { color: var(--text-muted); font-size: .9rem; }
.site-main { min-height: calc(100vh - 72px); }

.auth-shell {
    min-height: calc(100vh - 72px);
    display: grid;
    place-items: center;
    padding: 48px 24px;
    background:
        radial-gradient(circle at 15% 5%, rgba(52, 84, 209, .10), transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(20, 132, 93, .08), transparent 28%);
}

.auth-card {
    width: min(100%, 460px);
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}
.auth-card-centered { text-align: center; }
.auth-heading { margin-bottom: 28px; }
.auth-heading h1, .auth-card h1 { margin: 5px 0 9px; font-size: clamp(1.7rem, 4vw, 2rem); line-height: 1.2; }
.auth-heading p, .auth-card-centered p { margin: 0; color: var(--text-muted); }
.eyebrow { color: var(--primary); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.form-stack { display: grid; gap: 20px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .9rem; font-weight: 700; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.label-row a { font-size: .86rem; }
.field input, .field select, .filter-field input, .filter-field select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    color: var(--text);
    border: 1px solid #c9d2df;
    border-radius: 9px;
    background: var(--surface);
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .filter-field input:focus, .filter-field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(52, 84, 209, .14); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field-errors, .errorlist { margin: 0; padding: 0; color: var(--danger); font-size: .84rem; list-style: none; }
.help-text { color: var(--text-muted); font-size: .82rem; }
.help-text ul { margin: 5px 0 0; padding-left: 20px; }
.form-alert { margin-bottom: 18px; padding: 11px 13px; color: var(--danger); background: #fff1f0; border: 1px solid #ffd3cf; border-radius: 9px; font-size: .9rem; }

.button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: 9px 17px;
    border: 1px solid transparent;
    border-radius: 9px;
    cursor: pointer;
    font-weight: 750;
    transition: background .15s, border-color .15s, transform .15s;
}
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--primary); }
.button-primary:hover { background: var(--primary-hover); }
.button-secondary { color: var(--text); background: var(--surface); border-color: var(--border); }
.button-secondary:hover { border-color: #b9c5d5; background: var(--surface-muted); }
.button-ghost { color: var(--text-muted); background: transparent; border-color: var(--border); }
.button-danger { color: #a52f2f; background: #fff4f3; border-color: #f2b8b3; }
.button-small { min-height: 34px; padding: 5px 12px; font-size: .86rem; }
.button-block { width: 100%; }
.text-link-centered { text-align: center; font-size: .9rem; }
.success-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 18px; color: #fff; background: var(--success); border-radius: 50%; font-size: 1.4rem; font-weight: 800; }

.messages { padding-top: 20px; }
.message { padding: 12px 15px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.message-success { color: #0d6848; border-color: #a9ddca; background: #effaf6; }

.page-stack { display: grid; gap: 30px; padding-block: 50px 70px; }
.page-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.page-header h1, .workspace-hero h1 { margin: 4px 0 5px; font-size: clamp(2rem, 4vw, 2.65rem); line-height: 1.15; }
.page-header p { margin: 0; color: var(--text-muted); }

.workspace-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.workspace-card {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 5px 18px rgba(35, 55, 92, .04);
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.workspace-card:hover { text-decoration: none; transform: translateY(-2px); border-color: #b8c5e9; box-shadow: 0 12px 26px rgba(35, 55, 92, .09); }
.workspace-icon, .workspace-hero-icon { display: grid; place-items: center; flex: 0 0 auto; color: var(--primary); background: var(--primary-soft); font-weight: 850; }
.workspace-icon { width: 46px; height: 46px; border-radius: 12px; }
.workspace-card-body { min-width: 0; display: grid; gap: 3px; }
.workspace-card-body strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-card-body small { color: var(--text-muted); }
.workspace-arrow { margin-left: auto; color: var(--primary); font-size: 1.25rem; }

.empty-state { min-height: 390px; display: grid; place-items: center; align-content: center; padding: 45px; text-align: center; border: 1px dashed #bac5d4; border-radius: var(--radius-lg); background: rgba(255,255,255,.55); }
.empty-state h2 { margin: 20px 0 6px; }
.empty-state p { max-width: 490px; margin: 0 0 23px; color: var(--text-muted); }
.empty-illustration { display: flex; align-items: flex-end; gap: 7px; height: 60px; padding: 10px; background: var(--primary-soft); border-radius: 12px; }
.empty-illustration span { display: block; width: 20px; border-radius: 4px; background: var(--primary); opacity: .8; }
.empty-illustration span:nth-child(1) { height: 28px; }
.empty-illustration span:nth-child(2) { height: 42px; }
.empty-illustration span:nth-child(3) { height: 20px; }

.narrow-page { width: min(720px, calc(100% - 48px)); padding-block: 44px 70px; }
.back-link { display: inline-flex; margin-bottom: 20px; color: var(--text-muted); font-weight: 650; }
.panel { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.form-panel { padding: 36px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 5px; }

.workspace-hero { display: flex; align-items: center; gap: 20px; padding: 8px 0 5px; }
.workspace-hero-icon { width: 72px; height: 72px; border-radius: 18px; font-size: 1.7rem; }
.membership-badge { display: inline-flex; margin-top: 7px; padding: 5px 10px; color: #294097; background: var(--primary-soft); border-radius: 999px; font-size: .82rem; font-weight: 750; }
.foundation-placeholder { min-height: 320px; display: grid; place-items: center; align-content: center; padding: 45px; text-align: center; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.foundation-placeholder > div { display: inline-flex; align-items: center; gap: 8px; color: var(--success); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.status-dot { width: 9px; height: 9px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 5px rgba(20,132,93,.12); }
.foundation-placeholder h2 { margin: 18px 0 6px; }
.foundation-placeholder p { max-width: 620px; margin: 0; color: var(--text-muted); }
.boards-section { display: grid; gap: 18px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 4px 0 0; font-size: 1.45rem; }
.invitation-list { display: grid; gap: 8px; }
.invitation-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.member-list { display: grid; gap: 8px; }
.member-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); }
.member-row > div:first-child { display: grid; gap: 3px; }
.member-row small { color: var(--text-muted); }
.member-actions, .member-actions form { display: flex; align-items: center; gap: 8px; }
.member-actions select { min-height: 34px; padding: 5px 8px; color: var(--text); border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compact-placeholder { min-height: 230px; padding: 30px; }
.compact-placeholder h2 { margin: 12px 0 5px; }
.compact-placeholder p { margin-bottom: 18px; }
.header-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.board-toolbar { display: flex; align-items: center; justify-content: space-between; color: var(--text-muted); font-size: .9rem; }
.board-toolbar a { font-weight: 700; }
.board-filters { display: grid; grid-template-columns: minmax(190px, 1.8fr) repeat(3, minmax(150px, 1fr)) auto; align-items: end; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.filter-field { display: grid; gap: 6px; }
.filter-field label { color: var(--text-muted); font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
.filter-actions { display: flex; gap: 8px; }
.filter-notice { margin: -18px 0 0; color: var(--text-muted); font-size: .85rem; }
.filtered-card-results { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 5px 18px rgba(35, 55, 92, .04); }
.filtered-results-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.filtered-results-heading h2 { margin: 4px 0 0; font-size: 1.3rem; }
.filtered-results-heading > span { color: var(--text-muted); font-size: .9rem; }
.table-scroll { overflow-x: auto; }
.card-results-table { width: 100%; min-width: 650px; border-collapse: collapse; text-align: left; }
.card-results-table th { padding: 10px 12px; color: var(--text-muted); border-bottom: 1px solid var(--border); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; }
.card-results-table td { padding: 14px 12px; border-bottom: 1px solid var(--border); vertical-align: top; font-size: .9rem; }
.card-results-table tbody tr:last-child td { border-bottom: 0; }
.card-result-title { display: block; color: var(--text); font-weight: 750; }
.card-result-title:hover { color: var(--primary); }
.card-results-table small { display: block; max-width: 520px; margin-top: 5px; color: var(--text-muted); }
.status-label { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.table-muted { color: var(--text-muted); }
.table-empty { padding-block: 30px !important; color: var(--text-muted); text-align: center; }
.kanban-grid { display: flex; align-items: flex-start; gap: 16px; overflow: visible; padding-bottom: 8px; }
.kanban-card { cursor: grab; }
.kanban-card:active { cursor: grabbing; }
.inline-form { display: inline; }
.icon-button { padding: 0 3px; color: var(--danger); border: 0; background: transparent; cursor: pointer; font-size: 1.1rem; }
[x-cloak] { display: none !important; }
.card-panel { position: fixed; inset: 0; z-index: 20; }
.card-panel-backdrop { position: absolute; inset: 0; background: rgba(20, 33, 61, .35); }
.card-panel-content { position: absolute; inset: 0 0 0 auto; width: clamp(460px, 42vw, 760px); max-width: calc(100vw - 24px); height: 100dvh; min-width: 360px; padding: 32px; overflow-x: hidden; overflow-y: auto; background: var(--surface); box-shadow: -18px 0 45px rgba(20, 33, 61, .18); }
.card-panel-content, .card-panel-content * { min-width: 0; overflow-wrap: anywhere; }
.card-panel-resize-handle { position: absolute; top: 0; bottom: 0; left: -5px; width: 10px; cursor: ew-resize; touch-action: none; }
.card-panel-resize-handle::after { position: absolute; top: 50%; left: 3px; width: 3px; height: 48px; border-radius: 3px; background: #b7c3d3; content: ""; }
.card-panel-header, .card-panel-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.card-panel-content h2 { margin: 18px 0; font-size: 1.7rem; }
.card-panel-description { color: var(--text-muted); }
.card-panel-muted { color: var(--text-muted); font-style: italic; }
.card-panel-meta { display: grid; gap: 12px; margin: 28px 0; }
.card-panel-meta div { padding: 12px; border-radius: 9px; background: var(--surface-muted); }
.card-panel-meta dt { color: var(--text-muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.card-panel-meta dd { margin: 3px 0 0; }
.card-subtasks { margin: 28px 0; }
.card-subtasks > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-subtasks h3 { margin: 0; font-size: 1rem; }
.card-subtasks > header span { color: var(--text-muted); font-size: .82rem; }
.subtask-form { display: flex; gap: 8px; margin-top: 12px; }
.subtask-form .field { flex: 1; }
.subtask-form input { width: 100%; min-height: 34px; padding: 6px 9px; border: 1px solid #c9d2df; border-radius: 8px; }
.subtask-list { display: grid; gap: 7px; margin-top: 14px; }
.subtask-item { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.subtask-item span { flex: 1; }
.subtask-item.is-completed span { color: var(--text-muted); text-decoration: line-through; }
.subtask-toggle { width: 24px; height: 24px; padding: 0; color: var(--success); border: 0; background: transparent; cursor: pointer; font-size: 1.2rem; }
.card-attachments { margin: 28px 0; }
.card-attachments h3 { margin: 0 0 12px; font-size: 1rem; }
.attachment-form { display: flex; align-items: end; gap: 10px; }
.attachment-form .field { flex: 1; }
.attachment-form input[type="file"] { max-width: 100%; font-size: .84rem; }
.attachment-list { display: grid; gap: 8px; margin-top: 14px; }
.attachment-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 9px; border: 1px solid var(--border); border-radius: 9px; }
.attachment-item a { font-weight: 700; overflow-wrap: anywhere; }
.attachment-item small { grid-column: 1; color: var(--text-muted); }
.attachment-item form { grid-column: 2; grid-row: 1 / span 2; }
.card-comments { margin: 28px 0; }
.card-comments h3 { margin: 0 0 12px; font-size: 1rem; }
.comment-form { display: grid; gap: 10px; }
.comment-form textarea { width: 100%; padding: 10px 12px; color: var(--text); border: 1px solid #c9d2df; border-radius: 9px; resize: vertical; }
.comment-form .button { justify-self: start; }
.comment-list { display: grid; gap: 10px; margin-top: 18px; }
.comment-item { padding: 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-muted); }
.comment-item header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: .8rem; }
.comment-item time { margin-right: auto; color: var(--text-muted); }
.comment-item p { margin: 0; color: var(--text-muted); }
.kanban-column { flex: 1 1 0; min-width: 0; min-height: 330px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: #eef2f7; }
.column-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 3px 3px 14px; }
.column-header > div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.column-header h2 { overflow: hidden; margin: 0; text-overflow: ellipsis; white-space: nowrap; font-size: .98rem; }
.column-header > a { color: var(--text-muted); font-size: 1.35rem; line-height: 1; }
.column-color { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; }
.column-cards { display: grid; gap: 9px; }
.kanban-card { display: grid; gap: 7px; padding: 13px; color: var(--text); border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: 0 4px 10px rgba(35, 55, 92, .04); }
.kanban-card:hover { text-decoration: none; border-color: #aebde8; box-shadow: 0 7px 15px rgba(35, 55, 92, .09); }
.kanban-card p { margin: 0; color: var(--text-muted); font-size: .86rem; }
.kanban-card footer { display: flex; justify-content: space-between; gap: 8px; color: var(--text-muted); font-size: .76rem; }
.kanban-card footer span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.column-empty { margin: 8px 2px 12px; color: var(--text-muted); font-size: .84rem; }
.column-add { display: block; margin-top: 13px; padding: 7px 4px; color: var(--text-muted); font-size: .86rem; font-weight: 700; }
.column-add:hover { color: var(--primary); text-decoration: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.notification-list { display: grid; gap: 12px; }
.notification-item { display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; align-items: center; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.notification-item p { margin: 0; font-weight: 700; }
.notification-item small { color: var(--text-muted); }
.notification-item form { grid-row: 1 / span 2; grid-column: 2; }
.notification-unread { border-color: #aebde8; background: #f3f6ff; }

@media (max-width: 860px) {
    .workspace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .board-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .container, .narrow-page { width: min(100% - 28px, 1180px); }
    .site-header { height: auto; min-height: 64px; }
    .header-content { min-height: 64px; }
    .account-email { display: none; }
    .auth-shell { min-height: calc(100vh - 64px); padding: 24px 14px; align-items: start; }
    .auth-card { padding: 28px 22px; }
    .page-stack { padding-block: 32px 50px; }
    .page-header { align-items: stretch; flex-direction: column; }
    .page-header .button { align-self: flex-start; }
    .workspace-grid { grid-template-columns: 1fr; }
    .empty-state { min-height: 330px; padding: 30px 20px; }
    .form-panel { padding: 27px 21px; }
    .form-actions { flex-direction: column-reverse; }
    .form-actions .button { width: 100%; }
    .workspace-hero { align-items: flex-start; }
    .workspace-hero-icon { width: 56px; height: 56px; border-radius: 14px; }
    .foundation-placeholder { min-height: 290px; padding: 30px 20px; }
    .section-heading { align-items: stretch; flex-direction: column; }
    .section-heading .button { align-self: flex-start; }
    .member-row, .member-actions, .member-actions form { align-items: stretch; flex-direction: column; }
    .member-row { gap: 12px; }
    .member-actions { width: 100%; }
    .member-actions form { width: 100%; }
    .member-actions select, .member-actions .button { width: 100%; }
    .header-actions { width: 100%; }
    .header-actions .button { flex: 1; }
    .board-filters { grid-template-columns: 1fr; }
    .filter-actions .button { flex: 1; }
    .filtered-card-results { padding: 18px 14px; }
    .filtered-results-heading { align-items: start; flex-direction: column; }
    .form-grid { grid-template-columns: 1fr; }
    .notification-item { grid-template-columns: 1fr; }
    .notification-item form { grid-row: auto; grid-column: auto; }
    .card-panel-content { width: calc(100vw - 14px); min-width: 0; padding: 24px 18px; }
    .card-panel-resize-handle { display: none; }
    .attachment-form { align-items: stretch; flex-direction: column; }
}

/* Camada visual do Qfluxus: identidade e refinamento sem alterar o fluxo da aplicação. */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.action-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.column-actions { display: inline-flex; align-items: center; gap: 5px; }
.icon-action, .icon-button {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    line-height: 1;
}
.icon-action { color: var(--primary); }
.icon-action:hover { border-color: #d4ddff; background: var(--primary-soft); text-decoration: none; }
.icon-button { color: var(--text-muted); font-size: 1rem; }
.icon-button.icon-delete { color: var(--danger); }
.icon-button.icon-delete:hover { border-color: #f0c6ca; background: #fff5f5; }

:root {
    --bg: #f3f8fb;
    --surface: #ffffff;
    --surface-muted: #f8fbfd;
    --text: #092744;
    --text-muted: #5e7184;
    --border: #d7e4ec;
    --primary: #087fc1;
    --primary-hover: #05679f;
    --primary-soft: #e8f7fc;
    --success: #099fb2;
    --accent: #f4770b;
    --accent-soft: #fff1e5;
    --danger: #c53d4b;
    --shadow: 0 18px 50px rgba(9, 39, 68, .10);
    --shadow-soft: 0 8px 24px rgba(9, 39, 68, .07);
    --radius: 16px;
    --radius-lg: 24px;
}

html { scroll-behavior: smooth; }

body {
    background:
        radial-gradient(circle at 0% 0%, rgba(63, 91, 234, .08), transparent 28rem),
        linear-gradient(180deg, #f7f9fd 0%, var(--bg) 42%, #eef3f8 100%);
}

a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(63, 91, 234, .30);
    outline-offset: 2px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 76px;
    border-bottom-color: rgba(220, 229, 239, .78);
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 5px 20px rgba(26, 48, 83, .04);
    backdrop-filter: blur(18px);
}

.brand { gap: .75rem; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-mark {
    position: relative;
    width: 36px;
    height: 36px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(145deg, #536cf2, #3048c9);
    box-shadow: 0 7px 16px rgba(63, 91, 234, .28);
    font-size: 1.05rem;
    letter-spacing: -.08em;
}
.brand-mark::after {
    position: absolute;
    right: -9px;
    bottom: -12px;
    width: 28px;
    height: 28px;
    border: 5px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    content: "";
}
.account-nav { gap: .65rem; }
.account-avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, #19a58e, #087967);
    font-size: .82rem;
    font-weight: 800;
}
.account-email { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.auth-shell {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 15%, rgba(63, 91, 234, .18), transparent 28rem),
        radial-gradient(circle at 88% 90%, rgba(20, 155, 135, .15), transparent 25rem);
}
.auth-shell::before, .auth-shell::after {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(63, 91, 234, .12);
    border-radius: 50%;
    content: "";
}
.auth-shell::before { top: -120px; right: 7%; box-shadow: 0 0 0 24px rgba(63, 91, 234, .035), 0 0 0 48px rgba(63, 91, 234, .025); }
.auth-shell::after { bottom: -140px; left: 5%; border-color: rgba(20, 155, 135, .14); }
.auth-card { position: relative; z-index: 1; border-color: rgba(220, 229, 239, .9); box-shadow: 0 24px 70px rgba(26, 48, 83, .14); }
.auth-card::before {
    position: absolute;
    top: 0;
    right: 28px;
    left: 28px;
    height: 4px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, var(--primary), #5b70ef 55%, var(--success));
    content: "";
}
.auth-brand { display: flex; align-items: center; gap: .65rem; margin-bottom: 34px; color: var(--text); font-size: 1.05rem; }
.auth-brand .brand-mark { width: 32px; height: 32px; border-radius: 10px; font-size: .9rem; }
.auth-heading h1, .auth-card h1 { letter-spacing: -.035em; }

.button {
    min-height: 44px;
    border-radius: 11px;
    box-shadow: 0 2px 0 rgba(18, 35, 63, .03);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { box-shadow: 0 7px 16px rgba(26, 48, 83, .10); }
.button-primary { background: linear-gradient(135deg, #536cf2, var(--primary)); }
.button-primary:hover { background: linear-gradient(135deg, #465fe6, var(--primary-hover)); }
.button-secondary { border-color: #d4deea; }
.button-ghost { border-color: transparent; background: rgba(244, 247, 251, .72); }
.button-danger { color: #a92f3d; background: #fff5f5; border-color: #f0c6ca; }
.button:disabled { cursor: not-allowed; opacity: .6; transform: none; box-shadow: none; }

.messages { padding-top: 22px; }
.message { box-shadow: var(--shadow-soft); }
.message-error, .message-danger { color: #a92f3d; border-color: #f0c6ca; background: #fff5f5; }
.message-warning { color: #8b5c09; border-color: #f0d89d; background: #fffaf0; }

.page-stack { gap: 26px; padding-block: 42px 68px; }
.page-header h1, .workspace-hero h1 { letter-spacing: -.045em; font-weight: 820; }
.page-header p { max-width: 650px; }
.eyebrow { color: var(--success); letter-spacing: .13em; }
.back-link { align-items: center; gap: .35rem; margin-bottom: 0; color: var(--text-muted); font-size: .9rem; }
.back-link:hover { color: var(--primary); text-decoration: none; }

.workspace-grid { gap: 20px; }
.workspace-card {
    min-height: 124px;
    padding: 22px;
    border-color: rgba(220, 229, 239, .92);
    box-shadow: var(--shadow-soft);
}
.workspace-card:hover { border-color: rgba(63, 91, 234, .36); box-shadow: 0 16px 30px rgba(26, 48, 83, .12); }
.workspace-icon, .workspace-hero-icon { color: #fff; background: linear-gradient(145deg, #5b70ef, #344dcc); box-shadow: 0 8px 16px rgba(63, 91, 234, .20); }
.workspace-icon { width: 48px; height: 48px; border-radius: 14px; }
.workspace-arrow { color: var(--primary); transition: transform .18s ease; }
.workspace-card:hover .workspace-arrow { transform: translateX(3px); }
.empty-state { border-color: #c8d4e2; background: rgba(255, 255, 255, .65); box-shadow: var(--shadow-soft); }
.empty-illustration { background: var(--primary-soft); box-shadow: inset 0 0 0 1px rgba(63, 91, 234, .08); }

.boards-section {
    gap: 20px;
    padding: 23px;
    border: 1px solid rgba(220, 229, 239, .88);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .62);
    box-shadow: var(--shadow-soft);
}
.section-heading h2 { letter-spacing: -.025em; }
.membership-badge { color: #087967; background: #e7f7f3; }
.invitation-list > div, .member-row { border-color: #dfe7ef; background: rgba(255, 255, 255, .84); }
.panel, .form-panel { box-shadow: var(--shadow); }
.form-panel { padding: 40px; }
.field input, .field select, .filter-field input, .filter-field select, .subtask-form input, .comment-form textarea {
    border-color: #d3deea;
    border-radius: 11px;
    background: rgba(255, 255, 255, .92);
}
.field input:hover, .field select:hover, .filter-field input:hover, .filter-field select:hover { border-color: #b9c8da; }

.board-page { width: min(1920px, calc(100% - 48px)); }
.board-toolbar { padding: 11px 14px; border: 1px solid #dfe7ef; border-radius: 11px; background: rgba(255, 255, 255, .62); }
.board-toolbar a { color: var(--primary); }
.board-filters { padding: 18px; border-color: #dfe7ef; border-radius: var(--radius); background: rgba(255, 255, 255, .84); box-shadow: var(--shadow-soft); }
.filter-notice { padding: 9px 12px; border-left: 3px solid #e4b64d; border-radius: 5px; background: #fffaf0; }
.filtered-card-results { border-color: #dfe7ef; box-shadow: var(--shadow-soft); }
.kanban-grid { gap: 14px; width: 100%; align-items: stretch; }
.kanban-column {
    position: relative;
    min-height: 370px;
    padding: 15px;
    overflow: hidden;
    border-color: #d8e2ed;
    border-radius: var(--radius);
    background: rgba(236, 242, 248, .88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 6px 16px rgba(26, 48, 83, .045);
}
.kanban-column::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--success)); content: ""; opacity: .8; }
.column-header { padding: 5px 3px 14px; border-bottom: 1px solid rgba(210, 222, 235, .9); }
.column-header h2 { font-size: .94rem; font-weight: 800; }
.column-cards { min-height: 220px; padding-top: 11px; }
.kanban-card { padding: 14px; border-color: #dce5ef; border-left: 3px solid rgba(63, 91, 234, .72); border-radius: 12px; box-shadow: 0 5px 12px rgba(26, 48, 83, .06); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.kanban-card:hover { border-color: rgba(63, 91, 234, .42); border-left-color: var(--primary); box-shadow: 0 11px 22px rgba(26, 48, 83, .12); transform: translateY(-2px); }
.column-empty { margin: 8px 2px 12px; padding: 20px 10px; border: 1px dashed #c7d3e0; border-radius: 10px; text-align: center; }
.column-add { margin-top: 15px; padding: 9px 8px; border-radius: 9px; }
.column-add:hover { background: var(--primary-soft); }

.card-panel-backdrop { background: rgba(18, 35, 63, .46); backdrop-filter: blur(3px); }
.card-panel-content { padding: 36px; border-left: 1px solid #dce5ef; box-shadow: -20px 0 55px rgba(18, 35, 63, .20); }
.card-panel-content h2 { letter-spacing: -.035em; }
.card-panel-meta div, .comment-item { border: 1px solid #e1e8f0; background: var(--surface-muted); }
.notification-list { gap: 14px; }
.notification-item { padding: 20px; border-color: #dfe7ef; box-shadow: var(--shadow-soft); }
.notification-unread { border-color: rgba(63, 91, 234, .35); background: linear-gradient(100deg, #f2f4ff, #fff); box-shadow: 0 10px 25px rgba(63, 91, 234, .08); }

.page-section { display: grid; gap: 26px; padding-block: 42px 68px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.page-heading h1 { margin: 4px 0 0; letter-spacing: -.045em; font-size: clamp(2rem, 4vw, 2.65rem); line-height: 1.15; }

@media (max-width: 860px) {
    .boards-section { padding: 19px; }
    .kanban-grid { gap: 9px; }
    .kanban-column { padding: 11px; }
}

@media (max-width: 620px) {
    .site-header { height: auto; }
    .header-content { padding-block: 9px; }
    .account-nav { gap: .35rem; }
    .account-nav .button-small { padding-inline: 9px; }
    .account-avatar { width: 30px; height: 30px; }
    .page-stack, .page-section { padding-block: 30px 50px; }
    .boards-section { padding: 16px; border-radius: 18px; }
    .form-panel { padding: 31px 22px; }
    .page-heading { align-items: stretch; flex-direction: column; }
    .kanban-grid { gap: 5px; }
    .kanban-column { min-height: 300px; padding: 8px; border-radius: 11px; }
    .column-header { gap: 4px; padding: 3px 1px 10px; }
    .column-header > div { gap: 4px; }
    .column-header h2 { font-size: .74rem; }
    .column-color { width: 7px; height: 7px; }
    .column-cards { min-height: 170px; gap: 6px; padding-top: 8px; }
    .kanban-card { gap: 5px; padding: 8px; border-radius: 9px; font-size: .74rem; }
    .kanban-card p { font-size: .7rem; }
    .kanban-card footer { font-size: .64rem; }
    .column-empty { padding: 13px 4px; font-size: .68rem; }
    .column-add { padding: 7px 3px; font-size: .7rem; }
    .card-panel-content { padding: 28px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Leitura rápida dos cards: conteúdo principal, prazo e responsável. */
.kanban-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.kanban-card-title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.32; }
.kanban-card-description { display: -webkit-box; overflow: hidden; margin: 0; color: var(--text-muted); font-size: .82rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-due-date { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 4px; padding: 4px 7px; color: #8a5b0a; border: 1px solid #f0d89d; border-radius: 7px; background: #fff9e9; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.card-meta-icon { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.kanban-card-footer { align-items: center; min-width: 0; margin-top: 2px; padding-top: 10px; border-top: 1px solid #edf1f5; }
.card-assignee { display: inline-flex; align-items: center; min-width: 0; gap: 7px; }
.card-avatar { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto; color: #fff; border-radius: 50%; background: linear-gradient(145deg, #19a58e, #087967); font-size: .68rem; font-weight: 800; }
.card-assignee-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-open-hint { opacity: 0; color: var(--primary); font-size: .68rem; font-weight: 800; transition: opacity .16s ease; }
.kanban-card:hover .card-open-hint, .kanban-card:focus-visible .card-open-hint { opacity: 1; }

@media (max-width: 620px) {
    .kanban-card-header { gap: 5px; }
    .kanban-card-description { font-size: .68rem; }
    .card-due-date { gap: 2px; padding: 3px 4px; font-size: .6rem; }
    .card-meta-icon { width: 11px; height: 11px; }
    .kanban-card-footer { padding-top: 7px; }
    .card-avatar { width: 19px; height: 19px; font-size: .56rem; }
    .card-assignee { gap: 4px; }
    .card-assignee-name { font-size: .6rem; }
    .card-open-hint { display: none; }
}

/* Preferências de aparência do Qfluxus. */
.header-tools { display: flex; align-items: center; gap: 14px; }
.theme-switcher { display: inline-flex; align-items: center; gap: 6px; }
.theme-switcher-icon { color: var(--success); font-size: 1.1rem; line-height: 1; }
.theme-switcher select { min-height: 34px; padding: 5px 28px 5px 9px; color: var(--text-muted); border: 1px solid var(--border); border-radius: 9px; background: var(--surface); font-size: .8rem; font-weight: 750; cursor: pointer; }

html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #061a2e;
    --surface: #0d2943;
    --surface-muted: #123653;
    --text: #edf8fc;
    --text-muted: #a8bfcc;
    --border: #28506a;
    --primary: #25b8d1;
    --primary-hover: #59cbe0;
    --primary-soft: #123f58;
    --success: #4bd1d0;
    --accent: #ff9a3d;
    --accent-soft: #4b301e;
    --danger: #ff8e9b;
    --shadow: 0 18px 50px rgba(0, 0, 0, .25);
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, .18);
}

html[data-theme="dark"] body {
    background:
        radial-gradient(circle at 0% 0%, rgba(8, 127, 193, .22), transparent 28rem),
        linear-gradient(180deg, #0b2a45 0%, var(--bg) 46%, #041321 100%);
}
html[data-theme="dark"] .site-header { border-bottom-color: rgba(44, 61, 86, .82); background: rgba(15, 27, 45, .88); }
html[data-theme="dark"] .button-ghost { background: rgba(28, 43, 67, .8); }
html[data-theme="dark"] .button-secondary, html[data-theme="dark"] .theme-switcher select { color: var(--text); background: var(--surface); border-color: var(--border); }
html[data-theme="dark"] .button-danger { color: #ffb0b8; background: #3a202e; border-color: #713744; }
html[data-theme="dark"] .auth-shell { background: radial-gradient(circle at 12% 15%, rgba(63, 91, 234, .22), transparent 28rem), radial-gradient(circle at 88% 90%, rgba(20, 155, 135, .18), transparent 25rem); }
html[data-theme="dark"] .auth-card, html[data-theme="dark"] .panel, html[data-theme="dark"] .form-panel, html[data-theme="dark"] .workspace-card, html[data-theme="dark"] .empty-state, html[data-theme="dark"] .foundation-placeholder, html[data-theme="dark"] .boards-section, html[data-theme="dark"] .board-filters, html[data-theme="dark"] .board-toolbar, html[data-theme="dark"] .filtered-card-results, html[data-theme="dark"] .notification-item, html[data-theme="dark"] .message { background: rgba(22, 36, 58, .94); border-color: var(--border); }
html[data-theme="dark"] .workspace-card { color: var(--text); }
html[data-theme="dark"] .workspace-card:hover { border-color: rgba(130, 149, 255, .62); }
html[data-theme="dark"] .field input, html[data-theme="dark"] .field select, html[data-theme="dark"] .filter-field input, html[data-theme="dark"] .filter-field select, html[data-theme="dark"] .subtask-form input, html[data-theme="dark"] .comment-form textarea { color: var(--text); background: #101d31; border-color: var(--border); }
html[data-theme="dark"] .field input::placeholder, html[data-theme="dark"] .comment-form textarea::placeholder { color: #8192aa; }
html[data-theme="dark"] .kanban-column { border-color: var(--border); background: rgba(24, 39, 62, .92); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 6px 16px rgba(0, 0, 0, .15); }
html[data-theme="dark"] .kanban-card { color: var(--text); border-color: #30435d; background: #1a2b44; box-shadow: 0 5px 12px rgba(0, 0, 0, .16); }
html[data-theme="dark"] .kanban-card:hover { border-color: rgba(130, 149, 255, .64); border-left-color: var(--primary); box-shadow: 0 11px 22px rgba(0, 0, 0, .24); }
html[data-theme="dark"] .column-header { border-bottom-color: rgba(67, 86, 113, .75); }
html[data-theme="dark"] .column-empty { border-color: #40536c; }
html[data-theme="dark"] .kanban-card-footer { border-top-color: #2b3d56; }
html[data-theme="dark"] .card-due-date { color: #ffd889; border-color: #725d2b; background: #3a301d; }
html[data-theme="dark"] .card-panel-content { background: #16243a; border-left-color: var(--border); }
html[data-theme="dark"] .card-panel-meta div, html[data-theme="dark"] .comment-item { border-color: var(--border); background: var(--surface-muted); }
html[data-theme="dark"] .notification-unread { border-color: rgba(130, 149, 255, .58); background: linear-gradient(100deg, #202d5b, #16243a); }
html[data-theme="dark"] .membership-badge { color: #7ee1cf; background: #173b3b; }
html[data-theme="dark"] .filter-notice { color: #ffd889; background: #302819; }
html[data-theme="dark"] .message-success { color: #8ce4d2; border-color: #246b5e; background: #15372f; }
html[data-theme="dark"] .message-error, html[data-theme="dark"] .message-danger { color: #ffb0b8; border-color: #713744; background: #3a202e; }
html[data-theme="dark"] .message-warning { color: #ffd889; border-color: #725d2b; background: #302819; }
html[data-theme="dark"] .icon-action:hover { border-color: #3b4d85; background: var(--primary-soft); }
html[data-theme="dark"] .icon-button.icon-delete:hover { border-color: #713744; background: #3a202e; }
html[data-theme="dark"] .auth-shell::before, html[data-theme="dark"] .auth-shell::after { border-color: rgba(130, 149, 255, .18); }

@media (max-width: 620px) {
    .header-tools { gap: 6px; }
    .theme-switcher-icon { display: none; }
    .theme-switcher select { max-width: 82px; padding-right: 5px; }
}

/* Importação de cards: máscara visível e instruções compactas. */
.import-schema { display: grid; gap: 18px; margin-bottom: 24px; padding: 20px; border: 1px solid #dfe7ef; border-radius: var(--radius); background: var(--surface-muted); }
.import-schema h2 { margin: 3px 0 6px; font-size: 1.05rem; }
.import-schema p { margin: 0; color: var(--text-muted); font-size: .88rem; line-height: 1.55; }
.import-schema ul { display: grid; gap: 5px; margin: 13px 0 0; padding-left: 18px; color: var(--text-muted); font-size: .82rem; line-height: 1.45; }
.import-schema code { color: var(--text); font-size: .82rem; }
.import-code { display: block; overflow-x: auto; margin-top: 13px; padding: 11px 12px; border: 1px solid #d5dfeb; border-radius: 9px; background: var(--surface); white-space: nowrap; }
.import-downloads { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 4px; border-top: 1px solid #dfe7ef; }
.import-downloads .header-actions { gap: 8px; }
html[data-theme="dark"] .import-schema { border-color: var(--border); background: var(--surface-muted); }
html[data-theme="dark"] .import-code, html[data-theme="dark"] .import-downloads { border-color: var(--border); }
html[data-theme="dark"] .import-code { background: #101d31; }
@media (max-width: 620px) {
    .import-downloads { align-items: stretch; flex-direction: column; }
    .import-downloads .header-actions { flex-wrap: wrap; }
}

/* Identidade da marca Qfluxus: azul profundo, ciano e laranja da logo. */
.site-header {
    border-bottom-color: rgba(8, 127, 193, .18);
    background: rgba(255, 255, 255, .94);
}
.brand { color: var(--text); }
.brand-mark { filter: drop-shadow(0 4px 8px rgba(8, 127, 193, .16)); }
.brand-mark { width: 38px; height: 38px; overflow: visible; background: transparent; box-shadow: none; }
.brand-mark::after { display: none; }
.auth-shell {
    background:
        radial-gradient(circle at 12% 15%, rgba(8, 127, 193, .15), transparent 28rem),
        radial-gradient(circle at 88% 90%, rgba(244, 119, 11, .10), transparent 25rem);
}
.auth-shell::before { border-color: rgba(8, 127, 193, .14); box-shadow: 0 0 0 24px rgba(8, 127, 193, .035), 0 0 0 48px rgba(8, 127, 193, .025); }
.auth-shell::after { border-color: rgba(244, 119, 11, .16); }
.auth-card::before { background: linear-gradient(90deg, var(--primary), var(--accent), var(--success)); }
.eyebrow { color: var(--accent); }
.button-primary { background: linear-gradient(135deg, #0b8ac7, #05679f); }
.button-primary:hover { background: linear-gradient(135deg, #087fc1, #044f80); }
.workspace-icon, .workspace-hero-icon {
    background: linear-gradient(145deg, #0b8ac7, #07588f);
    box-shadow: 0 8px 16px rgba(8, 127, 193, .22);
}
.empty-illustration span:nth-child(2) { background: var(--accent); }
.status-dot { background: var(--success); box-shadow: 0 0 0 5px rgba(9, 159, 178, .14); }
.membership-badge { color: #08718e; background: var(--primary-soft); }
.kanban-column::before { background: linear-gradient(90deg, var(--primary), var(--accent), var(--success)); }
.kanban-card { border-left-color: rgba(8, 127, 193, .72); }
.kanban-card {
    --card-status-color: var(--status-color, #64748b);
    background: color-mix(in srgb, var(--card-status-color) 8%, var(--surface));
    border-left-color: var(--card-status-color);
}
.kanban-card:hover { border-left-color: var(--card-status-color); }
.card-avatar { background: linear-gradient(145deg, #0b8ac7, #f4770b); }
.theme-switcher-icon { color: var(--accent); }
.auth-brand {
    display: grid;
    place-items: center;
    width: min(100%, 180px);
    height: 122px;
    margin: 0 auto 30px;
    padding: 6px;
    border: 1px solid rgba(8, 127, 193, .14);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(9, 39, 68, .08);
}
.auth-logo { width: 100%; height: 100%; object-fit: contain; }

html[data-theme="dark"] .site-header { border-bottom-color: rgba(37, 184, 209, .24); background: rgba(6, 26, 46, .90); }
html[data-theme="dark"] .auth-shell {
    background:
        radial-gradient(circle at 12% 15%, rgba(8, 127, 193, .24), transparent 28rem),
        radial-gradient(circle at 88% 90%, rgba(244, 119, 11, .16), transparent 25rem);
}
html[data-theme="dark"] .auth-shell::before { border-color: rgba(37, 184, 209, .20); }
html[data-theme="dark"] .auth-shell::after { border-color: rgba(244, 119, 11, .20); }
html[data-theme="dark"] .button-primary { background: linear-gradient(135deg, #0b8ac7, #08718e); }
html[data-theme="dark"] .button-primary:hover { background: linear-gradient(135deg, #25b8d1, #0b8ac7); }
html[data-theme="dark"] .workspace-icon, html[data-theme="dark"] .workspace-hero-icon { background: linear-gradient(145deg, #0b8ac7, #07588f); }
html[data-theme="dark"] .auth-brand { border-color: rgba(255, 255, 255, .18); background: #fff; }
