:root { color-scheme: light; font-family: system-ui, sans-serif; color: #20242b; background: #f5f6f8; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #1559a6; text-decoration: none; }
a:hover { text-decoration: underline; }
.topbar { display: flex; gap: 2rem; align-items: center; padding: 1rem 2rem; background: #172233; color: #fff; }
.topbar a { color: #fff; margin-right: 1rem; }
.brand { font-weight: 700; font-size: 1.2rem; }
.main-nav { display: flex; align-items: center; }
.user-menu { display: flex; align-items: center; gap: .8rem; margin-left: auto; }
.user-name { color: #dce5f1; font-size: .9rem; }
.user-menu form { margin: 0; }
.logout-button { padding: .45rem .75rem; background: transparent; border: 1px solid #66758b; }
.logout-button:hover { background: #26364d; }
.container { max-width: 1480px; margin: 0 auto; padding: 1.5rem; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
h1 { margin: .25rem 0; }
h2 { font-size: 1.05rem; margin-top: 0; }
.muted, small { color: #667080; }
section { background: #fff; border: 1px solid #dfe3e8; border-radius: 6px; padding: 1rem; margin: 1rem 0; }
.filters { display: flex; align-items: end; gap: .75rem; flex-wrap: wrap; background: #fff; padding: 1rem; margin: 1rem 0; border: 1px solid #dfe3e8; }
.filters label { display: grid; gap: .3rem; min-width: 150px; }
.filters .wide { min-width: 280px; flex: 1; }
input, select, textarea { width: 100%; padding: .55rem; border: 1px solid #bbc2cc; border-radius: 4px; background: #fff; }
button, .button { display: inline-block; border: 0; border-radius: 4px; padding: .6rem .9rem; background: #1559a6; color: #fff; cursor: pointer; }
.button.secondary { background: #697586; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid #dfe3e8; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: .7rem; text-align: left; border-bottom: 1px solid #e6e9ed; vertical-align: top; }
th { background: #eef1f5; white-space: nowrap; }
td small { display: block; margin-top: .2rem; }
.tag { display: inline-block; padding: .15rem .4rem; margin: .1rem; border-radius: 3px; background: #e8eef8; font-size: .8rem; }
.details { display: grid; grid-template-columns: minmax(150px, 240px) 1fr; gap: .45rem 1rem; margin: 0; }
.details dt { color: #667080; }
.details dd { margin: 0; }
.item { border-top: 1px solid #e6e9ed; padding: .65rem 0; }
.item:first-of-type { border-top: 0; }
.item small { display: block; }
.inactive { opacity: .5; }
.tabs { display: flex; gap: .5rem; margin: 1rem 0; }
.tabs a { padding: .5rem .8rem; background: #e6e9ed; border-radius: 4px; }
.tabs a.active { background: #1559a6; color: #fff; }
.tree-actions { display: flex; gap: .5rem; margin: 0 0 .75rem; }
.tree { background: #fff; border: 1px solid #dfe3e8; padding: .75rem; }
.tree-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding-top: .55rem; padding-bottom: .55rem; border-bottom: 1px solid #edf0f3; }
.tree-branch > summary { cursor: pointer; list-style-position: inside; }
.tree-branch > summary::marker { color: #1559a6; }
.tree-row-level-0 { background: #f4f7fb; padding-left: .7rem; padding-right: .7rem; }
.tree-row-level-0 .tree-name { font-weight: 700; }
.tree-children { border-left: 2px solid #dce5f1; margin-left: 1.25rem; }
.tree-row-level-1 { padding-left: 1rem; background: #fafbfd; }
.tree-row-level-1 .tree-name { font-weight: 600; }
.tree-branch-level-1 { margin: 0; }
.tree-branch-level-1 > summary { list-style: none; }
.tree-branch-level-1 > summary::-webkit-details-marker { display: none; }
.tree-name-expandable { display: inline-flex; align-items: center; gap: .45rem; }
.tree-toggle-icon { width: .8rem; color: #1559a6; font-size: .72rem; line-height: 1; text-align: center; }
.tree-toggle-open { display: none; }
.tree-branch-level-1[open] > summary .tree-toggle-closed { display: none; }
.tree-branch-level-1[open] > summary .tree-toggle-open { display: inline-block; }
.tree-children-level-2 { margin-left: 1.5rem; }
.tree-row-level-2 { padding-left: 1rem; }
.tree-row small { font-size: .78rem; font-weight: 400; }
.pkd-search { align-items: end; }
.pkd-import-scope { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1.25rem; border-left: 4px solid #1559a6; box-shadow: 0 5px 20px rgba(31, 52, 75, .05); }
.pkd-import-scope h2, .pkd-import-scope p { margin: 0; }
.pkd-import-scope p { margin-top: .35rem; color: #5c6878; }
.pkd-selection-count { padding: .55rem .75rem; color: #164f88; background: #e8f1fb; border-radius: 999px; white-space: nowrap; }
.pkd-scope-actions { display: flex; gap: .5rem; }
.mapping-edit-notice { padding: .75rem 1rem; color: #5f4915; background: #fff8df; border: 1px solid #ead79a; border-radius: 6px; }
.import-scope-edit-form { padding-bottom: 4.5rem; }
.import-scope-actions { position: sticky; bottom: 0; z-index: 5; padding: 1rem; background: rgba(255, 255, 255, .96); border-top: 1px solid #dfe3e8; box-shadow: 0 -5px 18px rgba(31, 52, 75, .08); }
.import-dashboard-heading { margin-bottom: 1rem; }
.import-eyebrow { margin: 0 0 .35rem; color: #1559a6; font-size: .75rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.import-summary { display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; overflow: hidden; border-radius: 10px; box-shadow: 0 6px 22px rgba(31, 52, 75, .05); }
.import-summary div { display: grid; gap: .2rem; padding: 1rem 1.1rem; border-left: 1px solid #e6e9ed; }
.import-summary div:first-child { border-left: 0; }
.import-summary strong { color: #172b45; font-size: 1.45rem; }
.import-summary span { color: #667080; font-size: .78rem; }
.import-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 1rem; align-items: start; }
.import-industry-panel { min-width: 0; background: #fff; border: 1px solid #dfe3e8; border-radius: 10px; overflow: hidden; }
.import-panel-heading { padding: 1rem 1.1rem; border-bottom: 1px solid #e6e9ed; }
.import-panel-heading h2, .import-panel-heading p { margin: 0; }
.import-panel-heading p { margin-top: .3rem; color: #667080; font-size: .84rem; }
.import-industry-card { border-bottom: 1px solid #e8ebef; }
.import-industry-card:last-child { border-bottom: 0; }
.import-industry-card > summary { display: grid; grid-template-columns: minmax(260px, 1.4fr) auto minmax(390px, 1fr) 1rem; gap: 1rem; align-items: center; padding: .9rem 1.1rem; cursor: pointer; list-style: none; }
.import-industry-card > summary::-webkit-details-marker { display: none; }
.import-industry-card > summary:hover { background: #f8fafc; }
.import-industry-identity { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; min-width: 0; }
.import-industry-identity > strong { color: #1d2b3e; font-size: .87rem; line-height: 1.4; }
.portal-badge { padding: .17rem .4rem; border-radius: 999px; font-size: .68rem; font-weight: 750; }
.portal-zwiadowca { color: #15538d; background: #e6f1fb; }
.portal-paliwor { color: #8a4b0f; background: #fff0dd; }
.import-industry-metrics { display: flex; gap: .7rem; color: #667080; font-size: .72rem; white-space: nowrap; }
.import-industry-metrics b { color: #26364a; }
.import-stage-grid { display: grid; grid-template-columns: repeat(4, minmax(82px, 1fr)); gap: .5rem; }
.import-stage-grid > span { display: grid; gap: .15rem; }
.import-stage-grid small { color: #7a8492; font-size: .65rem; }
.import-stage-grid b { font-size: .7rem; font-weight: 650; }
.status-neutral { color: #5d6877; }
.import-card-chevron::before { content: "⌄"; color: #748195; font-size: 1rem; }
.import-industry-card[open] .import-card-chevron::before { content: "⌃"; }
.import-industry-details { padding: 1rem 1.1rem 1.2rem; background: #f8fafc; border-top: 1px solid #e6e9ed; }
.import-pkd-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.import-pkd-columns h3 { margin: 0 0 .55rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.import-pkd-columns p { margin: 0; padding: .45rem 0; border-top: 1px solid #e4e9ef; font-size: .82rem; line-height: 1.45; }
.import-pkd-columns p:first-of-type { border-top: 0; }
.import-pkd-columns p small { display: block; margin-top: .18rem; color: #687586; }
.import-detail-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #dfe5ec; }
.import-detail-meta div { display: grid; gap: .2rem; }
.import-detail-meta small { color: #7a8492; }
.import-detail-meta strong { font-size: .8rem; }
.future-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; padding: .7rem .8rem; color: #758090; background: #fff; border: 1px dashed #cbd3dd; border-radius: 6px; font-size: .78rem; }
.future-actions button { padding: .4rem .65rem; opacity: .45; cursor: not-allowed; }
.import-activity-panel { position: sticky; top: 1rem; }
.import-activity-panel section { margin-top: 0; border-radius: 10px; }
.empty-state { margin: 0; padding: 1rem 0; color: #7a8492; font-size: .85rem; }
.pkd-csrf-form { display: none; }
.pkd-tree { padding: .4rem .75rem; }
.pkd-branch { margin: 0; }
.pkd-branch > summary { display: flex; align-items: flex-start; gap: .45rem; padding: .65rem .5rem; border-bottom: 1px solid #edf0f3; cursor: pointer; list-style: none; line-height: 1.45; }
.pkd-branch > summary::-webkit-details-marker { display: none; }
.pkd-level-0 > summary { background: #f4f7fb; }
.pkd-level-1 > summary { font-weight: 600; }
.pkd-arrow::before { content: "▶"; display: inline-block; width: .8rem; color: #1559a6; font-size: .72rem; line-height: 1.7; }
.pkd-branch[open] > summary > .pkd-arrow::before { content: "▼"; }
.pkd-children { margin-left: 1.25rem; border-left: 2px solid #dce5f1; }
.pkd-leaf { padding: .6rem .5rem .6rem 1.25rem; border-bottom: 1px solid #edf0f3; line-height: 1.45; }
.pkd-selectable-row { display: flex; align-items: flex-start; gap: .55rem; }
.pkd-selection-checkbox { flex: 0 0 auto; width: 1.05rem; height: 1.05rem; margin: .12rem 0 0; accent-color: #1559a6; cursor: pointer; }
.pkd-selection-checkbox:indeterminate { accent-color: #d18714; }
.pkd-result { padding: .7rem 0; border-top: 1px solid #e6e9ed; }
.pkd-result:first-of-type { border-top: 0; }
.pkd-result small { display: block; margin-top: .25rem; }
.pkd-leaf-content { display: flex; flex: 1 1 auto; align-items: center; justify-content: space-between; gap: 1rem; min-width: 0; }
.mapping-counts { display: inline-block; padding: .22rem .5rem; color: #245c3a; background: #e7f3eb; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.pkd-result .mapping-counts { margin-left: .6rem; }
.pkd-mapping-filter { margin-bottom: .75rem; }
.mapping-panel { border-left: 4px solid #3b7f52; }
.mapping-panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.mapping-panel-heading h2, .mapping-panel-heading p { margin: 0; }
.mapping-panel-heading p { margin-top: .35rem; }
.mapping-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1rem; }
.mapping-columns h3 { margin: 0 0 .5rem; font-size: .95rem; }
.mapping-item { padding: .55rem 0; border-top: 1px solid #e6e9ed; }
.mapping-item small { display: block; margin-top: .2rem; }
.mapping-edit-form { background: #fff; border: 1px solid #dfe3e8; border-radius: 6px; padding: 1rem; }
.mapping-search-label { display: grid; gap: .35rem; margin-bottom: 1rem; font-weight: 650; }
.mapping-option-group { margin: 1rem 0; padding: .8rem; border: 1px solid #dfe3e8; border-radius: 6px; }
.mapping-option-group legend { padding: 0 .35rem; font-weight: 700; }
.mapping-option-list { max-height: 390px; overflow-y: auto; }
.mapping-option { display: flex; gap: .55rem; padding: .38rem .3rem; cursor: pointer; line-height: 1.4; }
.mapping-option:hover { background: #f0f5fb; }
.mapping-option input { flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: .15rem; }
.mapping-option[hidden] { display: none; }
.mapping-form-actions { display: flex; gap: .6rem; margin-top: 1rem; }
.mapping-error { padding: .75rem; color: #872b31; background: #fff1f2; border: 1px solid #f1c7ca; }
.companies-heading { align-items: center; }
.company-filter-panel { margin: 1.2rem 0 .85rem; padding: 1rem; background: #fff; border: 1px solid #dfe3e8; border-radius: 10px; box-shadow: 0 5px 20px rgba(31, 52, 75, .05); }
.company-search { display: grid; gap: .45rem; }
.company-search > label { color: #354154; font-size: .86rem; font-weight: 700; }
.company-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; }
.company-search-row input { min-height: 2.8rem; font-size: 1rem; }
.filter-dropdowns { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .85rem; }
.company-filter-clear { align-self: center; padding: .62rem .8rem; font-size: .9rem; text-decoration: none; }
.filter-dropdown { position: relative; }
.filter-dropdown > summary { display: flex; align-items: center; gap: .5rem; min-width: 8.6rem; padding: .62rem .8rem; color: #27364a; background: #f7f9fc; border: 1px solid #cfd7e2; border-radius: 6px; cursor: pointer; font-size: .9rem; font-weight: 650; list-style: none; transition: border-color .15s, background .15s, box-shadow .15s; }
.filter-dropdown > summary::-webkit-details-marker { display: none; }
.filter-dropdown > summary::after { content: "⌄"; margin-left: auto; color: #64748b; }
.filter-dropdown[open] > summary { border-color: #2875bd; background: #fff; box-shadow: 0 0 0 3px rgba(40, 117, 189, .1); }
.filter-dropdown[open] > summary::after { content: "⌃"; }
.filter-count { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem; color: #fff; background: #1559a6; border-radius: 999px; font-size: .72rem; }
.filter-popover { position: absolute; z-index: 30; top: calc(100% + .45rem); left: 0; width: min(340px, calc(100vw - 3rem)); padding: .8rem; background: #fff; border: 1px solid #ced7e2; border-radius: 9px; box-shadow: 0 18px 48px rgba(31, 52, 75, .2); }
.filter-popover-wide { width: min(520px, calc(100vw - 3rem)); }
.filter-popover-compact { width: min(260px, calc(100vw - 3rem)); }
.filter-search-label { display: grid; gap: .35rem; color: #526071; font-size: .8rem; font-weight: 650; }
.filter-options { max-height: 330px; margin: .7rem 0; overflow-y: auto; overscroll-behavior: contain; }
.filter-option { display: flex; align-items: flex-start; gap: .55rem; padding: .4rem .45rem; border-radius: 5px; cursor: pointer; font-size: .87rem; line-height: 1.35; }
.filter-option:hover { background: #f0f5fb; }
.filter-option input { flex: 0 0 auto; width: 1rem; height: 1rem; margin: .1rem 0 0; accent-color: #1559a6; }
.filter-option[hidden] { display: none; }
.filter-group-title { position: sticky; top: 0; z-index: 1; margin: .3rem 0; padding: .4rem .45rem; color: #43546a; background: #edf2f7; border-radius: 4px; font-size: .76rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.filter-level-0 { font-weight: 700; }
.filter-level-1 { padding-left: 1.45rem; }
.filter-level-2 { padding-left: 2.7rem; color: #4d5968; }
.filter-shortcuts { display: flex; justify-content: space-between; gap: .75rem; }
.filter-text-button { padding: 0; color: #1559a6; background: transparent; font-size: .8rem; }
.filter-text-button:hover { text-decoration: underline; }
.filter-apply { width: 100%; }
.filter-empty { padding: .6rem .45rem; }
.active-filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin: 0 0 .85rem; }
.active-filter-label { color: #657184; font-size: .82rem; font-weight: 650; }
.filter-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .55rem; color: #164f88; background: #e8f1fb; border: 1px solid #c9ddf2; border-radius: 999px; font-size: .8rem; }
.filter-chip:hover { background: #dcebf9; text-decoration: none; }
.filter-chip span { font-size: 1rem; line-height: .7; }
.clear-filters { margin-left: .3rem; font-size: .82rem; font-weight: 650; }
.company-result-summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: .25rem .2rem .65rem; color: #657184; font-size: .88rem; }
.company-result-summary strong { color: #27364a; font-size: .96rem; }
.company-table-wrap { border-radius: 8px; }
.company-table { table-layout: fixed; }
.company-table th:nth-child(1) { width: 5.5rem; }
.company-table th:nth-child(2) { width: 48%; }
.company-table th:nth-child(3) { width: 28%; }
.company-row { cursor: pointer; transition: background .12s; }
.company-row:hover, .company-row:focus { outline: none; background: #f3f7fc; }
.company-position { color: #667080; font-variant-numeric: tabular-nums; }
.company-name { color: #172b45; font-weight: 700; }
.location-name { display: block; font-weight: 600; }
.service-badge { display: inline-block; margin: .08rem .25rem .08rem 0; padding: .24rem .48rem; color: #184f82; background: #e8f1fb; border-radius: 999px; font-size: .76rem; font-weight: 650; }
.service-badge-alt { color: #6d4214; background: #f8eddc; }
.company-list-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem .2rem; }
.page-size { display: flex; align-items: center; gap: .45rem; color: #657184; font-size: .82rem; }
.page-size select { width: auto; min-width: 4.5rem; padding: .4rem 1.7rem .4rem .55rem; }
.pagination-bar { display: flex; justify-content: flex-end; align-items: center; gap: .7rem; }
.pagination-pages { display: flex; align-items: center; gap: .25rem; }
.pagination-pages a, .pagination-current, .pagination-ellipsis { display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; padding: 0 .35rem; border-radius: 4px; font-size: .84rem; }
.pagination-pages a { background: #fff; border: 1px solid #d8dee7; }
.pagination-current { color: #fff; background: #1559a6; font-weight: 700; }
.company-database-status { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; padding: .75rem 1rem; color: #667080; background: #f7f9fc; border: 1px solid #e1e6ed; border-radius: 7px; font-size: .82rem; }
.landing-page { min-height: 100vh; background: #edf2f7; }
.landing-page::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 12% 12%, rgba(52, 116, 181, .18), transparent 32%), radial-gradient(circle at 88% 84%, rgba(30, 68, 107, .12), transparent 30%); }
.landing-shell { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); }
.landing-intro { position: relative; display: flex; flex-direction: column; padding: clamp(2rem, 5vw, 5.5rem); background: linear-gradient(145deg, #101c2c 0%, #172d48 58%, #1f4e78 100%); color: #fff; overflow: hidden; }
.landing-intro::after { content: ""; position: absolute; width: 26rem; height: 26rem; left: -9rem; bottom: -13rem; border: 1px solid rgba(255, 255, 255, .13); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(255, 255, 255, .025), 0 0 0 8rem rgba(255, 255, 255, .018); }
.landing-brand { display: inline-flex; align-items: center; gap: .8rem; width: fit-content; color: #fff; font-size: 1.3rem; font-weight: 750; letter-spacing: -.02em; }
.landing-brand:hover { text-decoration: none; }
.landing-brand-mark { display: grid; grid-template-columns: repeat(3, .35rem); align-items: end; gap: .2rem; width: 1.55rem; height: 1.55rem; padding: .25rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: .45rem; }
.landing-brand-mark i { display: block; background: #78b9f4; border-radius: .1rem; }
.landing-brand-mark i:nth-child(1) { height: 45%; }
.landing-brand-mark i:nth-child(2) { height: 100%; }
.landing-brand-mark i:nth-child(3) { height: 70%; }
.landing-copy { max-width: 720px; margin: auto 0; padding: 5rem 0; }
.landing-kicker { margin: 0 0 1rem; color: #8fc8f8; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.landing-copy h1 { max-width: 680px; margin: 0; font-size: clamp(2.5rem, 5vw, 4.9rem); line-height: 1.02; letter-spacing: -.055em; }
.landing-lead { max-width: 660px; margin: 1.75rem 0 0; color: #d7e3ef; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.7; }
.landing-benefits { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.landing-benefits span { padding: .52rem .75rem; color: #e5eff8; background: rgba(255, 255, 255, .075); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; font-size: .85rem; }
.landing-note { position: relative; z-index: 1; max-width: 560px; margin: 0; color: #9fb3c7; font-size: .88rem; line-height: 1.6; }
.login-panel { display: grid; place-items: center; padding: clamp(1.5rem, 5vw, 5rem); }
.login-card { width: min(100%, 440px); padding: clamp(1.8rem, 4vw, 3rem); background: rgba(255, 255, 255, .94); border: 1px solid rgba(199, 210, 222, .8); border-radius: 18px; box-shadow: 0 24px 70px rgba(31, 52, 75, .14); backdrop-filter: blur(12px); }
.login-card-heading { margin-bottom: 1.8rem; }
.login-eyebrow { margin: 0 0 .55rem; color: #1559a6; font-size: .76rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.login-card h2 { margin: 0; color: #152238; font-size: 2rem; letter-spacing: -.035em; }
.login-card-heading > p:last-child { margin: .65rem 0 0; color: #657184; line-height: 1.55; }
.login-form { display: grid; gap: 1rem; }
.login-field { display: grid; gap: .42rem; }
.login-field label { color: #354154; font-size: .86rem; font-weight: 650; }
.login-field input { min-height: 3rem; border-color: #c8d1dc; background: #fbfcfe; font-size: 1rem; transition: border-color .15s, box-shadow .15s, background .15s; }
.login-field input:focus { outline: none; border-color: #2875bd; background: #fff; box-shadow: 0 0 0 3px rgba(40, 117, 189, .13); }
.login-submit { min-height: 3.1rem; margin-top: .35rem; font-size: .98rem; font-weight: 700; box-shadow: 0 8px 20px rgba(21, 89, 166, .18); }
.login-submit:hover { background: #104b8e; }
.login-error { margin: 0 0 1rem; padding: .75rem .85rem; color: #872b31; background: #fff1f2; border: 1px solid #f1c7ca; border-radius: 6px; font-size: .88rem; }
.login-help { margin: 1.25rem 0 0; color: #7b8695; font-size: .8rem; text-align: center; }
.edit-form { max-width: 680px; background: #fff; padding: 1rem; border: 1px solid #dfe3e8; }
.pagination { display: flex; justify-content: center; gap: 1rem; padding: 1rem; }
.empty { text-align: center; padding: 2rem; }
.import-center-heading { align-items: center; margin-bottom: 1rem; }
.process-status { display: inline-flex; align-items: center; gap: .45rem; padding: .48rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.process-status i { width: .48rem; height: .48rem; border-radius: 50%; background: currentColor; }
.status-idle { color: #5f6b7a; background: #e9edf2; }
.status-waiting { color: #745a16; background: #fff3cc; }
.status-running { color: #1559a6; background: #e4effb; }
.status-paused { color: #75562d; background: #f7ead8; }
.status-completed { color: #23653c; background: #e2f2e7; }
.status-error { color: #8b2f35; background: #fbe8ea; }
.process-messages p { margin: .6rem 0; padding: .7rem .85rem; border-radius: 7px; font-size: .85rem; }
.process-messages .success { color: #245c3a; background: #e7f3eb; border: 1px solid #c7e2cf; }
.process-messages .error { color: #872b31; background: #fff1f2; border: 1px solid #f1c7ca; }
.process-tabs { display: inline-flex; gap: .3rem; padding: .3rem; background: #e7ebf0; border-radius: 9px; }
.process-tabs a { min-width: 7.5rem; padding: .65rem 1rem; color: #526071; border-radius: 6px; font-size: .85rem; font-weight: 750; text-align: center; }
.process-tabs a:hover { color: #164f88; background: rgba(255, 255, 255, .6); text-decoration: none; }
.process-tabs a.active { color: #fff; background: #1559a6; box-shadow: 0 4px 12px rgba(21, 89, 166, .18); }
.process-intro { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: 1.2rem; padding: 1.2rem 1.3rem; border-radius: 10px; }
.process-intro h2 { margin: .25rem 0 .4rem; color: #172b45; font-size: 1.3rem; }
.process-intro p { max-width: 820px; margin: 0; color: #657184; line-height: 1.55; }
.process-kicker { color: #1559a6; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.scope-pills { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.scope-pills span { padding: .5rem .7rem; color: #245c3a; background: #e7f3eb; border-radius: 999px; font-size: .76rem; white-space: nowrap; }
.process-metrics { display: grid; grid-template-columns: repeat(6, 1fr); padding: 0; overflow: hidden; border-radius: 10px; }
.process-metrics > div { display: grid; gap: .25rem; padding: 1rem; border-left: 1px solid #e6e9ed; }
.process-metrics > div:first-child { border-left: 0; }
.process-metrics small { font-size: .7rem; }
.process-metrics strong { color: #172b45; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.ceidg-metrics { grid-template-columns: repeat(6, 1fr); }
.ceidg-metrics > div:nth-child(n+7) { border-top: 1px solid #e6e9ed; }
.ceidg-actions-panel { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; border-radius: 10px; }
.ceidg-actions-panel h2, .ceidg-actions-panel p { margin: 0; }
.ceidg-actions-panel p { max-width: 900px; margin-top: .35rem; color: #657184; line-height: 1.5; }
.ceidg-actions-panel form { flex: 0 0 auto; margin: 0; }
.process-error { margin: .8rem 0 0; padding: .65rem .75rem; color: #872b31; background: #fff1f2; border-radius: 6px; white-space: pre-wrap; }
.progress-panel { padding: 1.1rem 1.2rem; border-radius: 10px; }
.progress-heading { display: flex; justify-content: space-between; gap: 1.5rem; }
.progress-heading > div { display: grid; gap: .2rem; }
.progress-heading strong { color: #26364a; font-size: .85rem; }
.progress-track { height: .55rem; margin-top: 1rem; overflow: hidden; background: #e7ebf0; border-radius: 999px; }
.progress-track span { display: block; height: 100%; background: #2875bd; border-radius: inherit; }
.process-note { margin: .75rem 0 0; color: #748195; font-size: .78rem; }
.scope-table-panel { padding: 0; overflow: hidden; border-radius: 10px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid #e6e9ed; }
.section-heading h2, .section-heading p { margin: 0; }
.section-heading p { margin-top: .25rem; color: #667080; font-size: .78rem; }
.read-only-badge { padding: .35rem .55rem; color: #596779; background: #edf0f4; border-radius: 999px; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.process-table-wrap { max-height: 520px; overflow: auto; }
.process-table { min-width: 940px; font-size: .78rem; }
.process-table thead { position: sticky; z-index: 2; top: 0; }
.process-table th, .process-table td { padding: .6rem .7rem; }
.process-table td:nth-child(n+3) { white-space: nowrap; }
.process-table td small { font-size: .65rem; }
.row-status { display: inline-block; padding: .22rem .45rem; border-radius: 999px; font-size: .68rem; font-weight: 750; }
.row-status.waiting { color: #5e6876; background: #edf0f3; }
.architecture-placeholder { min-height: 150px; display: grid; align-content: center; border-style: dashed; border-radius: 10px; }
.architecture-placeholder h2 { margin-bottom: .35rem; }
.architecture-placeholder p { max-width: 820px; margin: 0; color: #6e7988; line-height: 1.55; }
.agent-setup { display: grid; grid-template-columns: minmax(260px, 1fr) auto; gap: .45rem 1.5rem; align-items: end; border-radius: 10px; }
.agent-setup label { grid-column: 1; color: #435064; font-size: .78rem; font-weight: 700; }
.agent-setup select { grid-column: 1; min-height: 2.7rem; }
.agent-setup > div { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: .25rem; min-width: 170px; }
.agent-setup strong { color: #26364a; }
.activity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.activity-grid section { margin-top: 0; border-radius: 10px; }
.activity-grid p small { display: block; margin-top: .3rem; }
.run-history p { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: .55rem 0; border-top: 1px solid #e6e9ed; font-size: .82rem; }
.run-history p:first-child { border-top: 0; }
.run-history span { color: #667080; text-align: right; }
.execution-lock-note { margin: 1rem 0; padding: .8rem 1rem; color: #6e6040; background: #fff9e8; border: 1px solid #eadba9; border-radius: 8px; font-size: .78rem; }
@media (max-width: 900px) { .landing-shell { grid-template-columns: 1fr; } .landing-intro { min-height: 52vh; } .landing-copy { padding: 4rem 0; } .login-panel { margin-top: -2rem; padding-top: 0; padding-bottom: 3rem; } }
@media (max-width: 1100px) { .import-workspace { grid-template-columns: 1fr; } .import-activity-panel { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } .import-industry-card > summary { grid-template-columns: minmax(220px, 1fr) auto; } .import-stage-grid { grid-column: 1 / -1; } .import-card-chevron { grid-column: 2; grid-row: 1; } }
@media (max-width: 760px) { .topbar { flex-wrap: wrap; gap: .75rem 1.25rem; padding: 1rem; } .main-nav { order: 3; width: 100%; overflow-x: auto; } .user-menu { margin-left: auto; } .user-name { max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .container { padding: 1rem; } .page-heading { display: block; } .process-status { margin-top: .75rem; } .process-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; } .process-tabs a { min-width: 0; padding: .6rem .45rem; } .process-intro, .ceidg-actions-panel { display: grid; gap: 1rem; } .scope-pills { justify-content: flex-start; } .process-metrics { grid-template-columns: 1fr 1fr; } .process-metrics > div { border-top: 1px solid #e6e9ed; } .progress-heading { display: grid; grid-template-columns: 1fr 1fr; } .agent-setup { grid-template-columns: 1fr; } .agent-setup > div { grid-column: 1; grid-row: auto; } .activity-grid { grid-template-columns: 1fr; gap: 0; } .run-history p { display: grid; } .run-history span { text-align: left; } .details { grid-template-columns: 1fr; } .tree-row { grid-template-columns: 1fr; gap: .25rem; } .tree-actions { flex-wrap: wrap; } .pkd-import-scope { grid-template-columns: 1fr; } .pkd-selection-count { width: fit-content; } .pkd-leaf-content { align-items: flex-start; flex-direction: column; gap: .3rem; } .mapping-counts { white-space: normal; } .import-summary { grid-template-columns: 1fr 1fr; } .import-summary div { border-top: 1px solid #e6e9ed; } .import-industry-card > summary { grid-template-columns: 1fr auto; } .import-industry-metrics { grid-column: 1 / -1; flex-wrap: wrap; } .import-stage-grid { grid-template-columns: 1fr 1fr; } .import-pkd-columns, .import-detail-meta, .import-activity-panel { grid-template-columns: 1fr; } .landing-intro { min-height: auto; padding: 1.5rem; } .landing-copy { padding: 4rem 0 3rem; } .landing-copy h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); } .landing-benefits { display: grid; } .landing-note { display: none; } .login-panel { padding: 0 1rem 2rem; } .login-card { padding: 1.5rem; border-radius: 14px; } .company-search-row { grid-template-columns: 1fr; } .filter-dropdowns { display: grid; grid-template-columns: 1fr 1fr; } .filter-dropdown > summary { min-width: 0; } .filter-popover, .filter-popover-wide, .filter-popover-compact { position: fixed; top: 50%; left: 1rem; right: 1rem; width: auto; max-height: 80vh; transform: translateY(-50%); } .company-table { min-width: 680px; } .company-list-footer { grid-template-columns: 1fr auto; } .pagination-bar { grid-column: 1 / -1; justify-content: center; flex-wrap: wrap; } }
@media (max-width: 760px) { .company-result-summary { align-items: flex-start; flex-direction: column; gap: .2rem; } .company-list-footer { flex-wrap: wrap; } .pagination-bar { width: 100%; } }
