










 
body { background: var(--bg); }
.v2-shell > .pl-app { display: flex; flex-direction: column; background: var(--bg); }
.v2-shell .pl-header { display: flex; align-items: center; justify-content: space-between; }
.v2-shell .pl-header .header__left { display: flex; align-items: center; }
.v2-shell .pl-header .header__right { display: flex; }
.pl-app [hidden] { display: none; }

 
.pl-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 var(--dv2-gutter) 104px;    
}
.pl-scroll::-webkit-scrollbar { width: 6px; }
.pl-scroll::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }







.pl-notes { position: sticky; top: 0; z-index: 20; background: var(--bg); padding: 0 0 10px; margin: 0 0 2px; }
.pl-notes > .v2-numeric-disclaimer { position: static; margin: 0 0 6px; }
.pl-app .pl-notes > .v2-confidence-note { margin: 0; }
@media (min-width: 769px) {
    .pl-notes > .v2-numeric-disclaimer { border-top-left-radius: 0; border-top-right-radius: 0; border-top-width: 0; }
}
@media (max-width: 768px) {
     
    .pl-notes { top: var(--dv2-header-h); z-index: 59; padding-top: 12px; }
}

 
.pl-btn {
    display: inline-flex; align-items: center; gap: 6px;
    font: inherit; font-size: 13px; font-weight: 500;
    border-radius: 8px;
    padding: 7px 14px; min-height: 34px;
    cursor: pointer; white-space: nowrap; text-decoration: none;
}
.pl-btn--dark { background: var(--ink1); color: var(--surface); border: 1px solid var(--ink1); }
.pl-btn--dark:hover { background: var(--ink2); }
.pl-btn--ghost { background: var(--surface); color: var(--ink2); border: 1px solid var(--border); }
.pl-btn--ghost:hover { background: var(--bg); }
.pl-btn:focus-visible,
.pl-view__btn:focus-visible,
.pl-select:focus-visible,
.pl-search input:focus-visible,
.pl-card:focus-visible,
.pl-table__link:focus-visible { outline: 2px solid var(--gold-dk); outline-offset: 2px; }

 
.pl-toolbar {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: 10px 12px;
    margin: 0 0 12px;
}
.pl-toolbar__tools { margin-left: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; min-width: 0; }
.pl-search {
    display: flex; align-items: center; gap: 7px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 12px;
    min-height: 34px;
    min-width: 220px;
}
.pl-search svg { flex-shrink: 0; color: var(--ink4); }
.pl-search input {
    border: 0; outline: 0; background: transparent;
    font: inherit; font-size: 12.5px; color: var(--ink2);
    flex: 1 1 auto; min-width: 0; padding: 7px 0;
}
.pl-field { display: inline-flex; align-items: center; gap: 7px; }
.pl-label { font-size: 11px; font-weight: 600; color: var(--ink3); white-space: nowrap; }
.pl-select {
    font: inherit; font-size: 12.5px; font-weight: 500; color: var(--ink2);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 10px; min-height: 34px;
    max-width: 100%;
}
 
.pl-view {
    display: inline-flex; gap: 2px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 3px;
}
.pl-view__btn {
    font: inherit; font-size: 11.5px; font-weight: 500;
    color: var(--ink3);
    background: none; border: 0; border-radius: 6px;
    padding: 5px 14px; cursor: pointer; white-space: nowrap;
}
.pl-view__btn:hover:not([aria-pressed="true"]) { color: var(--ink1); }
.pl-view__btn[aria-pressed="true"] { background: var(--surface); color: var(--ink1); font-weight: 600; box-shadow: var(--dv2-shadow-card); }

 
.pl-app .v2-confidence-note { margin: 0 0 16px; }

 
.pl-section { margin: 0 0 24px; }
.pl-section__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 10px; }
.pl-section__title { font-size: 13px; font-weight: 700; color: var(--ink1); }
.pl-section__count { font-size: 12px; color: var(--ink3); font-family: 'Inter', 'Noto Sans JP', sans-serif; }
.pl-empty { font-size: 13px; color: var(--ink3); line-height: 1.7; padding: 12px 0; }
.pl-empty__actions { margin-top: 12px; }
.pl-loading { display: flex; justify-content: center; padding: 48px 0; }
.pl-loading__dot {
    width: 28px; height: 28px; border-radius: 50%;
    border: 3px solid var(--border);
    border-top-color: var(--ink3);
    animation: pl-spin 0.9s linear infinite;
}
@keyframes pl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pl-loading__dot { animation: none; } }

 
.pl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pl-card {
    display: flex; flex-direction: column;
    background: var(--surface);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--dv2-shadow-card);
    color: inherit; text-decoration: none;
    transition: transform .14s ease, box-shadow .14s ease;
    min-width: 0;
}
.pl-card:hover { transform: translateY(-2px); box-shadow: var(--dv2-shadow-pop); }
 
.pl-card__top {
    position: relative;
    height: 112px;
    background: linear-gradient(160deg, var(--bg2), var(--border));
    display: flex; align-items: center; justify-content: center;
    color: var(--ink3);
}
.pl-card__photo { width: 34px; height: 34px; opacity: .35; }
 
.pl-card__top--bare { height: auto; min-height: 44px; }
.pl-card__badges {
    position: absolute; top: 10px; left: 10px; right: 10px;
    display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; flex-wrap: wrap;
}
.pl-card__top--bare .pl-card__badges { position: static; padding: 10px; width: 100%; }
 
.pl-chip {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 600;
    padding: 2px 8px; border-radius: 5px;
    background: var(--surface); color: var(--ink2);
    box-shadow: inset 0 0 0 1px var(--border2);
    white-space: nowrap;
}
.pl-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; }
.pl-card__name { font-size: 15px; font-weight: 700; color: var(--ink1); overflow-wrap: anywhere; }
.pl-card__role { font-size: 11px; color: var(--ink3); margin-top: 2px; }
.pl-card__addr { font-size: 12px; color: var(--ink3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-card__meta { font-size: 12px; color: var(--ink3); margin-top: 2px; }
.pl-card__kpis {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
    padding-top: 12px; border-top: 1px solid var(--border);
}
.pl-card__kpi-label { font-size: 10px; color: var(--ink3); margin-bottom: 3px; white-space: nowrap; }
.pl-card__kpi-val { font-size: 14px; font-weight: 700; color: var(--ink1); line-height: 1.2; white-space: nowrap; font-family: 'Inter', 'Noto Sans JP', sans-serif; }
.pl-card__foot {
    display: flex; align-items: center; gap: 7px;
    padding: 8px 12px; background: var(--bg); border-radius: 8px;
    font-size: 11.5px; color: var(--ink3);
}

 
.pl-table-wrap {
    overflow-x: auto;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: var(--dv2-shadow-card);
}
.pl-table { width: 100%; border-collapse: collapse; }
.pl-table th {
    font-size: 10px; font-weight: 600; color: var(--ink3);
    text-align: left; padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    white-space: nowrap;
}
.pl-table td {
    padding: 12px 14px;
    font-size: 12.5px; color: var(--ink2);
    border-bottom: 1px solid var(--border);
    white-space: nowrap; vertical-align: middle;
}
.pl-table th.num, .pl-table td.num { text-align: right; }
.pl-table td.num { font-family: 'Inter', 'Noto Sans JP', sans-serif; }
.pl-table tbody tr:last-child td { border-bottom: 0; }
 
.pl-table tbody tr { position: relative; }
.pl-table tbody tr:hover { background: var(--gold-bg); }
.pl-table__link { color: inherit; text-decoration: none; }
.pl-table__link::after { content: ''; position: absolute; inset: 0; }
 
.pl-table td:first-child { white-space: normal; min-width: 200px; }
.pl-table__name { font-size: 13px; font-weight: 700; color: var(--ink1); }
.pl-table__sub { font-size: 11px; color: var(--ink3); margin-top: 1px; overflow-wrap: anywhere; }

 
@media (max-width: 900px) {
    .pl-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
     
    .pl-scroll {
        overflow: visible;
        padding: 0 var(--dv2-gutter);
        padding-bottom: calc(180px + env(safe-area-inset-bottom, 0px));
    }
    .pl-toolbar__tools { margin-left: 0; width: 100%; }
    .pl-search { flex: 1 1 100%; min-width: 0; }
    .pl-field { flex: 1 1 auto; min-width: 0; }
    .pl-field .pl-select { flex: 1 1 auto; min-width: 0; }
    .v2-shell .pl-header .pl-btn { padding: 6px 10px; }
}
@media (max-width: 480px) {
    .pl-card__kpi-val { font-size: 13px; }
    .pl-card__body { padding: 12px 14px 14px; }
}
