@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600&display=swap');

:root { font-family: Roboto, Arial, sans-serif; color: #242b38; background: #f5f6f7; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 2px solid #ed0765; outline-offset: 3px; }
.page { min-height: 100vh; display: grid; grid-template-columns: 39.444% 1fr; }
.application-stats { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; margin:28px 0 20px; }
.application-stats button,.application-toolbar input,.application-toolbar select,.content-card select,.content-card textarea { background:#fff; border:1px solid #dce0e5; border-radius:8px; padding:13px; color:#242b38; }
.application-stats button { text-align:left; display:flex; flex-direction:column; gap:8px; }
.application-stats button:focus,.application-stats button:hover { border-color:#ed0765; }
.application-stats b { font-size:24px; }
.application-toolbar { display:flex; gap:12px; margin-bottom:18px; }
.application-toolbar input { flex:1; }
.application-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.application-card,.content-card { background:#fff; border-radius:10px; padding:20px; box-shadow:0 1px 2px #242b3812; }
.application-card h2 { font-size:20px; margin:12px 0 6px; }
.application-card p { color:#6b7280; margin:7px 0; font-size:13px; }
.candidate-photo { width:64px; height:64px; border-radius:50%; background:#ddff75; display:grid; place-items:center; font-weight:600; font-size:20px; }
.application-card .pink-button { display:inline-block; margin-top:12px; text-decoration:none; }
.application-pager { display:flex; align-items:center; gap:10px; padding:22px 0; }
.application-pager span { margin-right:auto; color:#6b7280; }
.application-pager button { border:1px solid #dce0e5; background:#fff; border-radius:6px; padding:8px 14px; }
.application-detail { display:grid; grid-template-columns:minmax(0,2fr) minmax(280px,1fr); gap:20px; }
.content-card h2 { font-size:22px; margin-top:0; }
.content-card p { border-bottom:1px solid #edf0f2; padding-bottom:10px; line-height:1.45; }
.content-card label { display:block; font-size:13px; margin:14px 0; }
.content-card select,.content-card textarea { display:block; width:100%; margin-top:6px; }
.content-card textarea { min-height:110px; }
@media (max-width: 900px) { .application-cards { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) { .application-stats { grid-template-columns:repeat(2,1fr); } .application-cards,.application-detail { grid-template-columns:1fr; } .application-toolbar { flex-direction:column; } }
.application-stats button.selected { background:#242b38; color:#ddff75; border-color:#242b38; }
.application-filters { display:grid; grid-template-columns:repeat(4,minmax(120px,1fr)); gap:10px; margin:0 0 20px; }
.application-filters label,.application-toolbar label,.management-panel label { display:flex; flex-direction:column; gap:6px; font-size:12px; color:#6b7280; }
.application-filters input,.application-filters select,.application-toolbar select { border:1px solid #dce0e5; border-radius:7px; padding:10px; background:#fff; color:#242b38; }
.card-actions { display:flex; gap:8px; align-items:center; }
.candidate-photo { position:relative; overflow:hidden; }
.candidate-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.skeleton { min-height:245px; background:linear-gradient(90deg,#fff,#eef0f2,#fff); background-size:200% 100%; animation:loading 1.2s infinite; }
@keyframes loading { to { background-position:-200% 0; } }
.detail-main { display:flex; flex-direction:column; gap:16px; }
.profile-section h2,.media-column h2 { color:#242b38; }
.profile-value { display:grid; grid-template-columns: minmax(130px, .7fr) 1.3fr; gap:14px; border-bottom:1px solid #edf0f2; padding:9px 0; font-size:14px; }
.profile-value b { font-weight:500; color:#6b7280; }
.media-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.media-item { margin:0; aspect-ratio:1; background:#f5f6f7; border-radius:8px; overflow:hidden; position:relative; }
.media-item img { width:100%; height:100%; object-fit:cover; }
.media-fallback { display:grid; place-items:center; height:100%; color:#6b7280; text-transform:capitalize; }
.contact-actions { display:flex; gap:8px; margin-top:15px; }
.score-buttons { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin:16px 0; }
.score-buttons button { border:1px solid #dce0e5; background:#fff; border-radius:7px; padding:9px 4px; color:#242b38; }
.score-buttons button.selected { background:#ddff75; border-color:#242b38; }
.score-buttons small { display:block; font-size:10px; }
.function-options { display:grid; gap:8px; }
.check-option { display:flex!important; flex-direction:row!important; align-items:center; color:#242b38!important; }
.team-chip { display:inline-flex; align-items:center; gap:5px; background:#f5f6f7; border-radius:14px; padding:6px 10px; margin:0 5px 7px 0; }
.team-chip button { border:0; background:none; font-size:16px; }
.profile-form { max-height:90vh; overflow:auto; }
.profile-form label { display:block; margin:10px 0; font-size:13px; }
.profile-form input:not([type=checkbox]) { display:block; width:100%; border:1px solid #dce0e5; padding:9px; border-radius:6px; margin-top:5px; }
@media (max-width: 800px) { .application-filters { grid-template-columns:repeat(2,1fr); } }
.brand { background: #242b38; color: #ddff75; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; }
.brand-logo { width: 134px; height: 46px; object-fit: contain; object-position: left center; }
.brand-message { margin-top: auto; margin-bottom: auto; }
.eyebrow, .section-label { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; margin: 0; }
.brand .eyebrow { letter-spacing: 2px; }
.brand h1 { font-size: clamp(44px, 4.45vw, 64px); line-height: 1.06; font-weight: 500; letter-spacing: -1.8px; margin: 28px 0 24px; }
.brand-description { color: #cdd3dc; font-size: 18px; line-height: 1.6; margin: 0; }
.brand-footer { border-top: 1px solid #424958; padding-top: 22px; color: #a9b3c3; font-size: 10px; letter-spacing: 1.5px; }
.content { min-width: 0; padding: 40px 56px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 40px; }
.help, .legal { width: 100%; font-size: 12px; color: #6b7280; }
.help { text-align: right; }
.text-link { color: #242b38; border: 0; background: none; padding: 0; font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.help .text-link { margin-left: 6px; }
.auth-card { width: min(400px, 100%); }
.intro { margin-bottom: 32px; }
.section-label { color: #ed0765; }
h2 { margin: 12px 0; font-weight: 500; font-size: 34px; letter-spacing: -.6px; }
.intro > p:last-child, .signed-in > p:not(.section-label) { font-size: 15px; line-height: 1.6; color: #6b7280; margin: 0; }
.fields { display: flex; flex-direction: column; gap: 22px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 9px; }
.input-wrap { height: 50px; display: flex; align-items: center; gap: 12px; background: white; border: 1px solid #dce0e5; border-radius: 6px; padding: 0 15px; }
.input-wrap:focus-within { border-color: #ed0765; box-shadow: 0 0 0 2px #ed076522; }
.input-wrap input { width: 100%; min-width: 0; height: 100%; border: 0; background: transparent; outline: 0; font-size: 14px; color: #242b38; }
.input-wrap input:focus-visible { outline: 0; }
.input-wrap input::placeholder { color: #747d8b; opacity: 1; }
svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.input-wrap > svg, .icon-button { color: #747d8b; }
.icon-button { border: 0; padding: 0; background: transparent; display: grid; place-items: center; }
.options { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.remember { display: inline-flex; align-items: center; gap: 8px; color: #6b7280; cursor: pointer; white-space: nowrap; }
.remember input { appearance: none; background: #fff; width: 16px; height: 16px; border: 1px solid #c6ccd5; border-radius: 3px; margin: 0; cursor: pointer; }
.remember input:checked { background: #ed0765; border-color: #ed0765; }
.remember input:checked::after { content: '✓'; display: block; color: white; text-align: center; font-size: 13px; line-height: 15px; }
.options .text-link { font-size: 12px; white-space: nowrap; }
.submit { width: 100%; height: 48px; border: 0; border-radius: 24px; margin-top: 32px; background: #ed0765; color: white; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; font-weight: 500; }
.submit:hover { background: #ce0658; }
.submit:disabled { opacity: .6; cursor: wait; }
.submit svg { width: 17px; height: 17px; }
.form-message { font-size: 13px; line-height: 1.5; color: #a40042; margin: 16px 0 -16px; }
.access { border-top: 1px solid #e2e5e9; text-align: center; margin-top: 32px; padding-top: 18px; color: #6b7280; font-size: 12px; }
.legal { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; }
.legal .text-link { color: #6b7280; font-size: 11px; font-weight: 400; }
[hidden] { display: none !important; }
.signed-in .account-label { margin-top: 32px !important; font-size: 12px !important; }
.signed-in .account-id { color: #242b38 !important; overflow-wrap: anywhere; }
.signed-in .account-note { margin-top: 24px !important; font-size: 12px !important; }
dialog { border: 0; border-radius: 12px; padding: 0; max-width: min(420px, calc(100vw - 32px)); box-shadow: 0 20px 60px #242b3840; }
dialog::backdrop { background: #242b3880; }
.dialog-body { padding: 32px; position: relative; }
.dialog-body h2 { font-size: 24px; margin: 0 25px 14px 0; }
.dialog-body p { color: #6b7280; line-height: 1.6; margin: 0 0 24px; }
.dialog-close { position: absolute; right: 20px; top: 16px; border: 0; background: none; font-size: 26px; color: #6b7280; }
.dialog-confirm { background: #ed0765; border: 0; color: white; border-radius: 24px; padding: 12px 24px; }
@media (max-width: 900px) { .brand { padding: 40px; } .content { padding: 40px; } .brand-description { font-size: 16px; } }
@media (max-width: 700px) { .page { display: flex; flex-direction: column; min-height: 100vh; } .brand { min-height: auto; padding: 24px; } .brand-logo { width: 115px; height: 40px; } .brand-message, .brand-footer { display: none; } .content { flex: 1; padding: 24px; gap: 48px; } .auth-card { margin: auto 0; } .legal { margin-top: auto; } }
@media (max-width: 420px) { .options { align-items: flex-start; flex-direction: column; gap: 18px; } .desktop-break { display: none; } }

.workspace { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; display: grid; grid-template-columns: 212px minmax(0,1fr); grid-template-rows: minmax(0,1fr); background: #f5f6f7; }
.sidebar { background: #242b38; color: white; min-height: 0; overflow-y: auto; padding: 32px 20px; display: flex; flex-direction: column; gap: 30px; }
.sidebar .brand-logo { width: 134px; height: 46px; }
.sidebar-label { color: #a9b3c3; font-size: 10px; letter-spacing: 1.8px; font-weight: 500; margin: 0; }
.sidebar-nav-section { margin-top: 26px; }
.sidebar-nav-section .sidebar-label { margin-bottom: 12px; letter-spacing: 1px; white-space: nowrap; }
.nav-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 10px; border-radius: 7px; text-decoration: none; font-size: 12px; font-weight: 500; color: #e5e9ef; }
.nav-item.active { background: #ddff75; color: #242b38; }
.nav-item.inactive { color: #bfc7d2; }
.type-row { display:grid; grid-template-columns: 1.5fr 1fr .6fr .8fr 1.4fr; gap:16px; align-items:center; padding:16px 20px; border-bottom:1px solid #e5e8ec; font-size:13px; }
.type-row button { border:0; background:none; color:#ed0765; font-size:12px; padding:3px; }
.type-row code { color:#6b7280; }
@media (max-width: 800px) { .type-row { grid-template-columns: 1fr 1fr; gap:8px; } .type-row.table-head { display:none; } }
.sidebar .nav-icon, .sidebar .account-chevron, .sidebar .logout-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sidebar .nav-icon { opacity: .9; }
.sidebar .nav-item.active .nav-icon { opacity: 1; }
.sidebar-bottom { margin-top: auto; padding-top: 20px; border-top: 1px solid #424958; display: flex; flex-direction: column; gap: 10px; }
.sidebar-bottom > strong { color: #ddff75; font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.sidebar-account.nav-item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px; border: 1px solid #515a6a; border-radius: 8px; background: #303948; }
.sidebar-account.nav-item:hover { background: #3a4556; border-color: #798599; }
.sidebar-account.nav-item.active { background: #ddff75; border-color: #ddff75; color: #242b38; }
.sidebar-account-avatar { flex: none; width: 36px; height: 36px; }
.sidebar-account-avatar .avatar, .sidebar-account-avatar img { width: 36px; height: 36px; border-radius: 6px; }
.sidebar-account-avatar .avatar { font-size: 12px; line-height: 1; }
.sidebar-account-avatar img { display: block; object-fit: cover; }
.avatar { display: inline-grid; place-items: center; flex: none; background: #ddff75; color: #242b38; font-size: 12px; font-weight: 500; border-radius: 5px; min-width: 36px; height: 30px; padding: 0 5px; }
.sidebar-account .sidebar-account-details { display: block; min-width: 0; flex: 1; }
.sidebar-account b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 500; }
.sidebar-account small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #bfc7d2; font-size: 10px; margin-top: 4px; }
.sidebar-account.active small { color: #52603c; }
.sidebar-account .account-chevron { width: 16px; height: 16px; }
.sidebar-bottom > button { display: flex; align-items: center; gap: 10px; background: none; color: #cdd3dc; border: 0; border-radius: 6px; text-align: left; font-size: 12px; padding: 10px; cursor: pointer; }
.sidebar-bottom > button:hover { background: #303948; color: #fff; }
.workspace-main { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.topbar { flex: none; background: #fff; border-bottom: 1px solid #e2e5e9; height: 72px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #6b7280; font-size: 13px; }
.topbar span:last-child { font-size: 12px; }
.workspace-content { flex: 1; min-height: 0; width: 100%; overflow-y: auto; overscroll-behavior-y: contain; padding: 32px; max-width: 1550px; margin: 0 auto; }
.workspace-content h1 { font-size: 32px; line-height: 1.2; font-weight: 500; margin: 0; }
.workspace-content h2 { font-size: 20px; letter-spacing: 0; margin: 0; }
.overline { font-size: 11px; font-weight: 500; letter-spacing: 1.3px; color: #ed0765; margin: 0 0 24px; }
.directory-heading, .detail-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.directory-heading p, .detail-heading p { color: #6b7280; font-size: 14px; margin: 8px 0 0; }
.status-badge { background: #edf1e4; color: #526932; padding: 5px 9px; border-radius: 4px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.stats { background: #242b38; color: white; padding: 20px 24px; border-radius: 8px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 24px; }
.stats > div { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.stats b { color: #ddff75; font-size: 30px; font-weight: 500; }
.directory-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 24px; align-items: start; }
.directory-list { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.filters { display: flex; gap: 12px; }
.search-box { background: #fff; border: 1px solid #e2e5e9; border-radius: 6px; display: flex; align-items: center; gap: 12px; padding: 0 12px; height: 42px; min-width: 0; flex: 1; color: #6b7280; }
.search-box span { font-size: 22px; line-height: 1; }
.search-box input { border: 0; outline: 0; min-width: 0; width: 100%; font-size: 13px; background: none; color: #242b38; }
.search-box:focus-within { border-color: #ed0765; }
.filters select { border: 1px solid #e2e5e9; border-radius: 24px; background: #fff; color: #242b38; font-weight: 500; padding: 0 15px; font-size: 13px; max-width: 220px; }
.tabs { display: flex; gap: 24px; border-bottom: 1px solid #e2e5e9; }
.tabs button { background: none; border: 0; padding: 0 0 12px; font-size: 13px; color: #6b7280; }
.tabs button.selected { color: #ed0765; font-weight: 500; border-bottom: 2px solid #ed0765; }
.table-card { background: #fff; border: 1px solid #e2e5e9; border-radius: 8px; overflow: hidden; }
.team-row { display: grid; grid-template-columns: minmax(140px,1fr) minmax(110px,142px) 85px 24px; align-items: center; gap: 12px; padding: 20px 18px; border-bottom: 1px solid #e2e5e9; }
.team-row:last-child, .member-row:last-child { border-bottom: 0; }
.table-head { background: #eceff2; padding: 13px 18px; font-size: 10px; letter-spacing: .7px; color: #6b7280; }
.team-row .team-name { font-size: 17px; font-weight: 500; display: block; color: #242b38; text-decoration: none; overflow-wrap: anywhere; }
.team-row .team-name:hover, .back-link:hover { color: #ed0765; }
.team-row small { color: #6b7280; display: block; margin-top: 7px; font-size: 11px; overflow-wrap: anywhere; }
.team-row .responsible { font-size: 12px; overflow-wrap: anywhere; }
.selected-person { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:3px 16px; align-items:center; padding:13px 14px; border:1px solid #d5dae1; border-radius:7px; background:#fff; }
.selected-person-name { color:#242b38; font-weight:600; overflow-wrap:anywhere; }.selected-person-email,.person-row small { display:block; color:#6b7280; font-size:12px; overflow-wrap:anywhere; }.selected-person .select-person { grid-row:span 2; }
#person-picker { width:min(700px,calc(100vw - 32px)); max-width:none; }
.person-picker { box-sizing:border-box; width:100%; padding:32px; overflow:hidden; }
.person-picker-heading { margin:0 40px 22px 0; }
.person-picker-heading h2 { margin:0; color:#242b38; font-size:22px; }
.person-picker-heading p { margin:7px 0 0; color:#6b7280; font-size:13px; }
.person-search { display:flex; align-items:center; gap:10px; height:44px; box-sizing:border-box; margin-bottom:18px; padding:0 13px; border:1px solid #d5dae1; border-radius:8px; background:#fff; color:#6b7280; }
.person-search:focus-within { border-color:#ed0765; box-shadow:0 0 0 3px #fcecf3; }
.person-search svg { width:18px; height:18px; flex:none; fill:none; stroke:currentColor; stroke-width:2; }
.person-search input { width:100%; min-width:0; border:0; outline:0; padding:0; background:transparent; color:#242b38; font:inherit; font-size:13px; }
.person-table { max-height:min(52vh,420px); overflow:auto; border:1px solid #e2e5e9; border-radius:8px; }
.person-header,.person-row { display:grid; grid-template-columns:minmax(190px,1.2fr) minmax(150px,1.4fr) 112px; gap:16px; align-items:center; padding:13px 16px; }
.person-header { position:sticky; top:0; z-index:1; background:#eceff2; color:#6b7280; font-size:10px; font-weight:600; letter-spacing:.7px; text-transform:uppercase; }
.person-row { min-height:62px; border-bottom:1px solid #e2e5e9; color:#242b38; }
.person-row:last-child { border-bottom:0; }.person-row:hover,.person-row:focus-within { background:#fff7fa; }.person-row[aria-selected="true"] { background:#edf1e4; }
.person-cell { min-width:0; }.person-name { display:flex; align-items:center; gap:9px; }.person-name strong { overflow-wrap:anywhere; font-size:13px; }.person-name em { color:#526932; font-size:11px; font-style:normal; font-weight:600; }.person-email { overflow-wrap:anywhere; color:#6b7280; font-size:12px; }
.person-avatar { display:grid; flex:none; place-items:center; width:30px; height:30px; border-radius:50%; background:#242b38; color:#ddff75; font-size:10px; font-weight:600; }
.person-select,.person-picker-footer button { border:1px solid #ed0765; border-radius:6px; padding:8px 11px; background:#ed0765; color:#fff; cursor:pointer; font:inherit; font-size:12px; font-weight:600; white-space:nowrap; }.person-select:hover { background:#ca0758; }.person-select:focus-visible,.person-picker-footer button:focus-visible { outline:3px solid #f7a1c2; outline-offset:2px; }.person-select.is-selected { border-color:#b8ce78; background:#edf1e4; color:#526932; cursor:default; }
.person-picker-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:18px; color:#6b7280; font-size:12px; }.person-picker-footer button { border-color:#d5dae1; background:#fff; color:#242b38; }.person-picker-footer button:hover { border-color:#242b38; }.person-picker button:disabled { opacity:1; }
#person-picker-error { margin-top: 12px; }
@media (max-width:600px) { .person-picker { padding:24px 18px; }.person-header { display:none; }.person-row { grid-template-columns:1fr; gap:8px; align-items:start; padding:14px; }.person-email::before { content:'EMAIL · '; color:#6b7280; font-size:10px; letter-spacing:.5px; }.person-action,.person-select { width:100%; }.person-table { max-height:55vh; } }
.team-row .member-number { font-size: 20px; font-weight: 500; }
.team-row .row-arrow { color: #ed0765; text-decoration: none; font-size: 23px; }
.list-footer { display: flex; justify-content: space-between; align-items: center; color: #6b7280; font-size: 12px; gap: 12px; }
.pager { display: flex; gap: 8px; align-items: center; }
.pager button { background: #fff; border: 1px solid #e2e5e9; border-radius: 5px; min-width: 26px; height: 26px; }
.pager button:disabled { opacity: .35; cursor: default; }
.notice { background: #edf1e4; color: #526932; padding: 16px; border-radius: 6px; font-size: 12px; line-height: 1.5; }
.create-panel { background: #fff; border: 1px solid #e2e5e9; border-radius: 8px; padding: 22px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; }
.panel-heading span { color: #ed0765; font-size: 22px; }
.create-panel > p, .lifecycle p { color: #6b7280; font-size: 13px; line-height: 1.5; margin: 14px 0 20px; }
.team-form { display: flex; flex-direction: column; gap: 18px; }
.team-form label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: #6b7280; }
.team-form input, .team-form textarea { width: 100%; border: 1px solid #d5dae1; border-radius: 5px; padding: 11px 12px; color: #242b38; font-size: 13px; resize: vertical; }
.team-form input::placeholder, .team-form textarea::placeholder { color: #8a929e; }
.team-form small, .create-panel > small { color: #6b7280; font-size: 11px; line-height: 1.5; }
.pink-button, .outline-button { border-radius: 24px; padding: 11px 18px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.pink-button { background: #ed0765; border: 1px solid #ed0765; color: white; }
.pink-button:hover { background: #ca0758; }
.pink-button:disabled { opacity: .55; cursor: wait; }
.outline-button { border: 1px solid #e2e5e9; background: #fff; color: #242b38; }
.outline-button:hover { border-color: #242b38; }
.inline-error, .workspace-error { color: #a40042; font-size: 12px; line-height: 1.5; margin: 0; }
.workspace-error { margin-top: 20px; }
.empty-table { padding: 36px 18px; color: #6b7280; font-size: 13px; text-align: center; }
.back-link { display: inline-block; text-decoration: none; color: #6b7280; font-size: 12px; margin-bottom: 24px; }
.detail-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.detail-actions { display: flex; gap: 10px; }
.detail-summary { border: 1px solid #e2e5e9; background: #fff; border-radius: 8px; display: grid; grid-template-columns: minmax(180px,1fr) 205px 205px; padding: 18px 22px; gap: 20px; align-items: center; margin-bottom: 24px; }
.detail-summary > div { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #6b7280; min-width: 0; }
.detail-summary .avatar { border-radius: 50%; background: #242b38; color: #ddff75; width: 38px; height: 38px; }
.detail-summary small { display: block; font-size: 10px; letter-spacing: .7px; margin-bottom: 5px; }
.detail-summary b { color: #242b38; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.detail-summary > div:not(:first-child) b { font-size: 24px; }
.member-title { display: flex; justify-content: space-between; align-items: center; padding: 18px; }
.member-title h2 { font-size: 18px; } .member-title span { color: #6b7280; font-size: 12px; }
.member-row { display: grid; grid-template-columns: minmax(0,1fr) 118px 90px; gap: 12px; align-items: center; padding: 16px 18px; border-bottom: 1px solid #e2e5e9; font-size: 13px; }
.member-row.table-head { padding: 12px 18px; font-size: 10px; }
.member-row .member-id { overflow-wrap: anywhere; font-size: 12px; }
.member-row .remove-member { color: #a40042; background: none; border: 0; font-size: 12px; text-align: right; }
.detail-side { display: flex; flex-direction: column; gap: 20px; }
.detail-side .create-panel h2 { font-size: 18px; }
.detail-side .create-panel > small { display: block; margin-top: 16px; }
.lifecycle { background: #edf0f4; border-radius: 7px; padding: 18px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.lifecycle h2 { font-size: 14px; } .lifecycle p { margin: 0; font-size: 12px; }
.danger-link { background: none; border: 0; color: #a40042; font-size: 12px; padding: 8px; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 10px; }
@media (max-width: 1100px) { .directory-grid { grid-template-columns: minmax(0,1fr); } .detail-side { display: grid; grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .workspace { grid-template-rows: auto minmax(0,1fr); } .sidebar { overflow-y: hidden; } }
@media (max-width: 800px) { .sidebar nav .sidebar-nav-section { display: flex; align-items: center; flex: 0 0 auto; margin: 0; } .sidebar nav .sidebar-nav-section .nav-item { width: auto; } }
 @media (max-width: 800px) { .workspace { grid-template-columns: 1fr; } .sidebar { min-height: 0; padding: 16px 20px; flex-direction: row; align-items: center; gap: 20px; } .sidebar .brand-logo { width: 105px; height: 36px; } .sidebar-label, .sidebar-bottom { display: none; } .sidebar nav { margin-left: auto; min-width: 0; max-width: 100%; display: flex; gap: 4px; overflow-x: auto; overscroll-behavior-x: contain; } .sidebar nav .nav-item { flex: 0 0 auto; white-space: nowrap; } .workspace-content { padding: 24px; } .detail-summary { grid-template-columns: 1fr 1fr; } .detail-summary > div:first-child { grid-column: 1 / -1; } .tabs { overflow-x: auto; white-space: nowrap; } .tabs button { flex: 0 0 auto; } }
@media (max-width: 800px) { .sidebar .sidebar-bottom { display: flex; flex: none; margin-top: 0; padding: 0; border: 0; gap: 0; } .sidebar-bottom > strong, .sidebar-bottom > button { display: none; } .sidebar-bottom .sidebar-account.nav-item { width: auto; padding: 6px; } .sidebar-account .sidebar-account-details, .sidebar-account .account-chevron { display: none; } }
@media (max-width: 600px) { .topbar { padding: 0 20px; } .workspace-content { padding: 20px; } .directory-heading, .detail-heading { align-items: flex-start; flex-direction: column; } .stats { grid-template-columns: 1fr; gap: 8px; } .filters { flex-direction: column; } .filters select { height: 42px; max-width: none; } .team-row { grid-template-columns: minmax(0,1fr) 60px 20px; } .team-row > :nth-child(2) { display: none; } .team-row.table-head > :nth-child(3) { font-size: 0; } .team-row.table-head > :nth-child(3)::after { content: 'N.º'; font-size: 10px; } .detail-side { display: flex; } .detail-actions { flex-wrap: wrap; } .member-row { grid-template-columns: minmax(0,1fr) 90px; } .member-row > :nth-child(2) { display: none; } }

/* Application type management */
#application-types-view .tabs { gap: 20px; overflow-x: auto; white-space: nowrap; }
#application-types-view .tabs button { flex: none; cursor: pointer; }
#application-types-view .type-search { flex: none; height: 44px; border-radius: 8px; padding: 0 15px; }
#application-types-view .type-search svg { flex: none; }
#application-types-view .type-search input { flex: 1; border: 0; padding: 0; box-shadow: none; border-radius: 0; appearance: none; }
#application-types-view .type-search:focus-within { box-shadow: 0 0 0 3px #ed07651a; }
#application-types-view .type-create-panel > p { margin: 12px 0 22px; }
#application-types-view .type-create-panel > p strong { color: #242b38; font-weight: 500; }
#application-types-view .type-row { grid-template-columns: minmax(100px,1.5fr) minmax(90px,1fr) 52px 62px minmax(170px,1.4fr); gap: 10px; }
#application-types-view .type-row > :first-child { overflow-wrap: anywhere; }
#application-types-view .type-actions { display: flex; flex-wrap: wrap; gap: 4px 8px; }
#application-types-view .type-row button { cursor: pointer; }
#application-types-view .type-row button:disabled { opacity: .5; cursor: wait; }
#application-types-view .type-notice, #application-types-view .type-action-error { margin: 0; padding: 13px 16px; border-radius: 7px; font-size: 13px; line-height: 1.5; }
#application-types-view .type-notice { background: #edf1e4; color: #435d2b; border: 1px solid #d5e2c3; }
#application-types-view .type-action-error { background: #fff0f5; color: #a40042; border: 1px solid #f5cad9; }
#type-edit-dialog { box-sizing: border-box; width: min(540px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); overflow-y: auto; }
#type-edit-dialog .team-form { margin-top: 22px; }
#type-edit-dialog .inline-error, #application-types-view .inline-error { padding: 12px 14px; border: 1px solid #f5cad9; border-radius: 6px; background: #fff0f5; }
#type-edit-dialog .team-form select { appearance: none; width: 100%; padding: 11px 38px 11px 12px; border: 1px solid #d5dae1; border-radius: 5px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; color: #242b38; font: inherit; font-size: 13px; }
#type-edit-dialog .team-form select:focus, #type-edit-dialog .team-form input:focus, #application-types-view .team-form input:focus { outline: 2px solid #ed076580; outline-offset: 1px; }
#type-edit-dialog .team-form .type-active, #application-types-view .team-form .type-active { flex-direction: row; align-items: center; gap: 10px; color: #242b38; }
#type-edit-dialog .type-active input, #application-types-view .type-active input { width: 16px; height: 16px; margin: 0; padding: 0; accent-color: #ed0765; }
@media (max-width: 800px) { #application-types-view .type-row { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } #application-types-view .type-row.table-head { display: none; } #application-types-view .type-actions { grid-column: 1 / -1; } }

/* Team management detail · Pencil 06 */
#detail-view .team-breadcrumb { margin-bottom: 22px; }
#detail-view .team-breadcrumb span { color: #242b38; }
#detail-view .detail-heading { margin-bottom: 24px; }
#detail-view .detail-heading p { font-size: 13px; }
#detail-view .detail-summary { display: grid; grid-template-columns: minmax(0, 1fr) 205px 205px; margin-bottom: 24px; }
#detail-view .team-owner .avatar { min-width: 38px; height: 38px; padding: 0; }
#detail-view .team-summary-count { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
#detail-view .team-summary-count b { font-size: 26px; }
#detail-view .team-member-filters { display: flex; gap: 12px; min-width: 0; }
#detail-view .team-member-filters .search-box { height: 44px; }
#detail-view .team-member-filters select { flex: none; min-width: 155px; padding: 0 16px; border: 1px solid #e2e5e9; border-radius: 24px; background: #fff; color: #242b38; font-size: 13px; font-weight: 500; }
#detail-view .member-card { min-width: 0; }
#detail-view .member-title { padding: 20px 20px 8px; }
#detail-view .member-title h2 { font-size: 17px; }
.team-add-account { border: 0; background: none; color: #ed0765; font-size: 12px; font-weight: 500; white-space: nowrap; }
.team-add-account:hover { text-decoration: underline; }
#detail-view .member-count { margin: 0; padding: 12px 20px 16px; color: #6b7280; font-size: 11px; }
.team-access-row { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 55px; padding: 8px 20px; }
.team-access-row + .team-access-row { border-top: 1px solid #f0f1f3; }
.team-access-avatar { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #edf0f4; color: #242b38; font-size: 11px; }
.team-access-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.team-access-name small { color: #6b7280; font-size: 11px; }
.team-role-label, .team-role-select { flex: none; padding: 8px 12px; border: 1px solid #e2e5e9; border-radius: 5px; background: #fff; color: #242b38; font-size: 12px; }
.team-role-select { cursor: pointer; }
.team-member-icon { width: 22px; text-align: center; color: #6b7280; }
#detail-view .team-access-row .remove-member { flex: none; width: 22px; padding: 0; color: #6b7280; font-size: 20px; line-height: 1; text-align: center; }
#detail-view .team-access-row .remove-member:hover { color: #a40042; }
#detail-view .team-edit-panel { padding: 20px; }
#detail-view .team-edit-panel h2 { font-size: 17px; }
#detail-view .team-edit-panel > p { margin: 9px 0 20px; font-size: 12px; }
#detail-view .team-edit-panel .team-form { gap: 20px; }
#detail-view .team-edit-panel .team-form label { gap: 8px; }
#detail-view .team-edit-panel .team-form textarea { min-height: 112px; }
.team-save-button { width: 100%; padding: 12px 16px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 6px; background: #242b38; color: #fff; font-size: 13px; font-weight: 500; }
.team-save-button:hover { background: #394355; }
.team-save-button:disabled { opacity: .6; cursor: wait; }
.team-save-button span { color: #ddff75; font-size: 16px; }
#detail-view .lifecycle { align-items: stretch; gap: 12px; }
#detail-view .lifecycle .outline-button { width: 100%; }
#detail-view .lifecycle small { color: #6b7280; font-size: 11px; line-height: 1.5; }
#detail-view .lifecycle .danger-link { align-self: flex-start; padding-left: 0; }
@media (max-width: 1100px) {
  #detail-view .detail-side { display: flex; flex-direction: column; }
  #detail-view .detail-summary { grid-template-columns: minmax(0, 1fr) auto auto; }
}
@media (max-width: 720px) {
  #detail-view .detail-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #detail-view .team-owner { grid-column: 1 / -1; }
  #detail-view .team-summary-count { white-space: normal; }
}
@media (max-width: 520px) {
  #detail-view .team-member-filters { flex-direction: column; }
  #detail-view .team-member-filters select { min-height: 44px; }
  #detail-view .member-title { align-items: flex-start; flex-wrap: wrap; }
  .team-access-row { padding: 9px 12px; gap: 7px; }
  .team-role-label, .team-role-select { max-width: 110px; padding: 7px 5px; }
}
.submission-failure-row { display:grid; grid-template-columns: minmax(180px,1.4fr) minmax(150px,1fr) 90px minmax(150px,1fr) minmax(220px,2fr); gap:16px; padding:14px 18px; border-bottom:1px solid var(--line,#e5e5e5); align-items:start; }
.submission-failure-row small { display:block; color:var(--muted,#777); margin-top:4px; overflow-wrap:anywhere; }
.submission-failure-head { font-size:11px; font-weight:700; letter-spacing:.08em; color:var(--muted,#777); }
@media (max-width:900px) { .submission-failure-row { grid-template-columns: 1fr 1fr; } .submission-failure-head { display:none; } }
