:root {
    color-scheme: light;
    --pd-bg: #f3f5f7;
    --pd-ink: #1c2430;
    --pd-muted: #5d6b7a;
    --pd-line: #e1e6ec;
    --pd-card: #ffffff;
    --pd-sidebar: #1b2632;
    --pd-sidebar-text: #d7dee6;
    --pd-sidebar-muted: #93a0ae;
    --pd-accent: #0f6e62;
    --pd-accent-dark: #0b564d;
    --pd-danger: #8d2e2e;
    --pd-danger-bg: #f8ecec;
    --pd-warning-bg: #fbf4e6;
    --pd-warning-text: #7a5200;
    --pd-info-bg: #e7f3f1;
    --pd-shadow: 0 1px 2px rgba(22, 32, 44, 0.06);
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html { text-size-adjust: 100%; }

button, input, select, textarea { color: inherit; }
[hidden] { display: none !important; }

body.pd-body {
    margin: 0;
    color: var(--pd-ink);
    background: var(--pd-bg);
    font-size: 16px;
    line-height: 1.5;
}

h1, h2, p { margin-top: 0; }

a { color: var(--pd-accent-dark); }

a[href^="tel"], a[href^="mailto"], a[href^="sms"] { color: inherit; text-decoration: none; }

:focus-visible {
    outline: 2px solid var(--pd-accent);
    outline-offset: 2px;
}

.pd-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 650;
}

.pd-brand-mark {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex: none;
}

.pd-gate {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.pd-gate-card {
    width: min(100%, 440px);
    background: var(--pd-card);
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--pd-shadow);
}

.pd-gate-card h1 { margin: 18px 0 8px; font-size: 28px; }

.pd-gate-links { display: flex; gap: 16px; margin-bottom: 0; }

.pd-brochure {
    margin: 22px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--pd-line);
    color: var(--pd-muted);
    font-size: 13px;
    text-align: center;
}

.pd-brochure span { display: block; }

.pd-brochure a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    margin-top: 2px;
    color: #0f6e62;
    font-size: 13px;
    text-decoration: none;
}

.pd-brochure svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pd-shell { min-height: 100vh; display: flex; }

.pd-sidebar {
    width: 240px;
    flex: 0 0 240px;
    background: var(--pd-sidebar);
    color: var(--pd-sidebar-text);
    padding: 20px 14px;
}

.pd-sidebar .pd-brand { color: #fff; padding: 4px 8px 18px; align-items: center; }

.pd-brand-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }

.pd-brand-by {
    font-size: 12px;
    font-weight: 450;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--pd-sidebar-muted);
}

.pd-nav { display: flex; flex-direction: column; gap: 4px; }

.pd-nav a,
.pd-nav .pd-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pd-sidebar-text);
    text-decoration: none;
    border: 0;
    background: transparent;
    width: 100%;
    text-align: left;
    font: inherit;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
}

.pd-nav-icon { width: 16px; height: 16px; flex: none; }

.pd-nav a:hover,
.pd-nav a.is-active,
.pd-nav .pd-nav-link:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.pd-nav a.is-active { box-shadow: inset 3px 0 0 var(--pd-accent); }

.pd-lead { display: inline-flex; width: 14px; height: 14px; margin-left: 6px; color: var(--pd-muted); vertical-align: -2px; }
.pd-lead svg { width: 14px; height: 14px; }
.pd-cater-name { display: inline-flex; align-items: center; }
.pd-ratio-top { align-items: center; }
.pd-ratio-tools { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; }
.pd-ratio-mark { font-size: 12px; }
.pd-ratio-reset { padding: 0; }

.pd-kb { position: fixed; inset: 0; z-index: 50; display: flex; height: 100dvh; overflow: hidden; overscroll-behavior: none; padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: rgba(20, 28, 40, 0.45); }
.pd-kb-card { position: relative; z-index: 1; display: flex; flex-direction: column; width: min(760px, 100%); max-height: 100%; min-height: 0; margin: auto; overflow: hidden; background: #fff; border: 1px solid var(--pd-line); border-radius: 16px; box-shadow: 0 16px 50px rgba(20, 28, 40, 0.18); }
.pd-kb-head, .pd-kb-head-actions { display: flex; gap: 12px; align-items: flex-start; }
.pd-kb-head { flex: none; justify-content: flex-start; padding: 16px 16px 0; }
.pd-kb-head > div:first-child { flex: 1; min-width: 0; }
.pd-kb-head-actions { align-items: center; flex: none; }
.pd-kb-scroll { flex: 1; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 12px 16px 16px; }
.pd-kb-head h2 { margin: 0; font-size: 22px; }
.pd-kb-head p, .pd-kb-item p { margin: 4px 0 0; color: var(--pd-muted); }
body.pd-lock { overflow: hidden; }
.pd-kb-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pd-kb-close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: #f1f3f5; color: var(--pd-ink); font-size: 28px; line-height: 1; cursor: pointer; }
.pd-kb-scroll > input { width: 100%; margin: 0 0 14px; border: 1px solid var(--pd-line); border-radius: 10px; padding: 10px 12px; font: inherit; }
.pd-kb-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--pd-line); }
.pd-kb-chip { border: 0; background: #f1f3f5; color: inherit; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.pd-kb-chip.is-on { background: #e7f3f1; color: var(--pd-accent-dark); }
.pd-kb-list h3 { margin: 18px 0 8px; font-size: 16px; }
.pd-kb-item { padding: 8px 0 12px; }
.pd-kb-open { display: block; width: 100%; border: 0; background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 0; }
.pd-kb-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; font-size: 13px; }
.pd-kb-kind { color: var(--pd-muted); }
.pd-kb-hint { margin: 0; color: var(--pd-muted); font-size: 13px; }
.pd-kb-foot { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--pd-line); }
.pd-kb-add { border: 1px solid var(--pd-line); background: #fff; border-radius: 12px; padding: 10px 12px; font: inherit; font-weight: 650; cursor: pointer; }
.pd-kb-row { display: flex; gap: 4px; align-items: flex-start; }
.pd-kb-row .pd-kb-open { flex: 1; min-width: 0; }
.pd-kb-heart { flex: none; width: 44px; height: 44px; border: 0; background: transparent; color: #8aa39d; cursor: pointer; padding: 0; }
.pd-kb-heart svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pd-kb-heart.is-on { color: #0f6e62; }
.pd-kb-heart.is-on svg { fill: #0f6e62; stroke: #0f6e62; }
.pd-kb-tags { border-bottom: 0; padding-top: 8px; }
.pd-kb-tag { display: inline-flex; align-items: center; gap: 4px; }
.pd-kb-tag-x, .pd-kb-field-x { width: 32px; min-height: 32px; border: 0; background: transparent; color: var(--pd-muted); cursor: pointer; font-size: 18px; }
.pd-kb-field { display: flex; gap: 6px; align-items: flex-start; margin-bottom: 8px; }
.pd-kb-field-body { flex: 1; min-width: 0; display: grid; gap: 6px; }
.pd-kb-field-body input, .pd-kb-field-body textarea { width: 100%; border: 1px solid #c9d1d9; border-radius: 8px; padding: 10px 12px; background: #fff; font: inherit; color: inherit; }
.pd-kb-field.is-filled .pd-kb-field-body input, .pd-kb-field.is-filled .pd-kb-field-body textarea { border-color: transparent; background: transparent; }
.pd-kb-field.is-filled .pd-kb-field-body input:focus, .pd-kb-field.is-filled .pd-kb-field-body textarea:focus { border-color: #c9d1d9; background: #fff; }
.pd-kb-grip { width: 36px; min-height: 44px; border: 0; background: transparent; color: #8aa39d; cursor: grab; font-size: 16px; }
.pd-kb-field-read { margin: 0 0 8px; }
.pd-kb-field-read p { margin: 2px 0 0; white-space: pre-wrap; }
.pd-kb-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-kb-photo { width: 92px; height: 92px; padding: 0; border: 1px solid var(--pd-line); border-radius: 10px; overflow: hidden; background: #f7f8f9; cursor: pointer; }
.pd-kb-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-kb-upload { position: relative; display: inline-flex; align-items: center; margin-top: 8px; }
.pd-kb-upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pd-kb-visibility { margin: 0; padding: 0; border: 0; }
.pd-kb-visibility legend { display: flex; align-items: center; gap: 6px; font-weight: 650; }
.pd-kb-info-button { width: 22px; height: 22px; border: 1px solid #8aa39d; border-radius: 50%; background: #fff; color: #0f6e62; font: inherit; font-size: 13px; cursor: pointer; }
.pd-kb-choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 6px 8px 0 0; padding: 8px 12px; border: 1px solid #c9d1d9; border-radius: 8px; background: #fff; cursor: pointer; }
.pd-kb-choice:has(input:checked) { border-color: #0f6e62; background: #f3faf8; }
.pd-kb-editor .pd-kb-choice input { appearance: none; width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; border: 1.5px solid #8aa39d; border-radius: 50%; background: #fff; display: grid; place-content: center; }
.pd-kb-editor .pd-kb-choice input:checked::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #0f6e62; }
.pd-kb-info { margin: 8px 0 0; color: var(--pd-muted); font-size: 13px; }
.pd-kb-scope { margin: 0; color: var(--pd-muted); }
.pd-kb-suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pd-kb-form .pd-field input, .pd-kb-form .pd-field textarea, .pd-kb-form .pd-field select { width: 100%; border: 1px solid #c9d1d9; border-radius: 8px; padding: 10px 12px; background: #fff; font: inherit; }
@media (max-width: 720px) {
    .pd-kb-form .pd-field input, .pd-kb-form .pd-field textarea, .pd-kb-form .pd-field select,
    .pd-kb-field-body input, .pd-kb-field-body textarea { font-size: 16px; }
    .pd-kb-choice { display: flex; margin-right: 0; }
}
.pd-money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.pd-org-field { position: relative; }
.pd-org-field .pd-suggest { max-height: 220px; overflow: auto; }
.pd-org-picks { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.pd-org-picks:empty { display: none; }
.pd-org-field .pd-suggest .pd-muted { margin: 6px 8px; }
.pd-money p { margin: 0; padding: 10px; border: 1px solid var(--pd-line); border-radius: 12px; background: #f7f8f9; }
.pd-mat { border: 1px solid var(--pd-line); border-radius: 12px; margin-top: 8px; overflow: hidden; background: var(--pd-card); }
.pd-mat-toggle { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: transparent; padding: 8px 10px; font: inherit; text-align: left; color: inherit; cursor: pointer; }
.pd-mat-toggle strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-mat-body { border-top: 1px solid var(--pd-line); }
.pd-mat-list { display: flex; flex-direction: column; padding: 4px 8px 8px; }
.pd-mat-item { min-width: 0; padding: 0 4px; border-radius: 8px; }
.pd-mat-item + .pd-mat-item { box-shadow: inset 0 1px 0 var(--pd-line); }
.pd-mat-item.is-done { background: #f3faf8; }
.pd-mat-item.is-done .pd-mat-label { color: #0f6e62; }
.pd-mat-summary { display: flex; align-items: flex-start; gap: 2px; min-width: 0; }
.pd-mat-fold {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: start;
    flex: 1;
    gap: 2px 8px;
    min-width: 0;
    min-height: 40px;
    margin: 0;
    padding: 10px 4px 10px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.pd-mat-fold .pd-note-caret { flex: none; width: 1em; line-height: 1; color: var(--pd-muted); font-weight: 400; }
.pd-mat-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 36px;
    height: 40px;
}
.pd-mat-check input {
    appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1.5px solid #8aa39d;
    border-radius: 4px;
    background: #fff;
    display: grid;
    place-content: center;
}
.pd-mat-all { display: flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 4px; color: var(--pd-muted); font-size: 13px; font-weight: 650; }
.pd-mat-check input:checked { background: #0f6e62; border-color: #0f6e62; }
.pd-mat-check input:indeterminate { background: #f3faf8; border-color: #0f6e62; }
.pd-mat-check input:indeterminate::after { content: ""; width: 8px; height: 2px; background: #0f6e62; }
.pd-mat-check input:checked::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}
.pd-mat-check input:focus-visible { outline: 2px solid #0f6e62; outline-offset: 2px; }
.pd-mat-qty { flex: none; color: var(--pd-muted); font-variant-numeric: tabular-nums; }
.pd-mat-label { min-width: 0; font-size: 15px; font-weight: 650; overflow-wrap: anywhere; white-space: normal; }
.pd-mat-status { display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: var(--pd-muted); font-size: 13px; white-space: nowrap; }
.pd-mat-state:empty { display: none; }
.pd-mat-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px 12px;
    padding: 0 8px 10px 40px;
}
.pd-mat-detail[hidden] { display: none; }
.pd-mat-detail-actions { grid-column: 1 / -1; }
.pd-mat-edit { padding: 6px 10px; min-height: 36px; }
.pd-mat-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pd-mat-field > span { color: var(--pd-muted); font-size: 12px; font-weight: 650; }
.pd-mat-extra, .pd-mat-shows-field { grid-column: 1 / -1; }
.pd-mat-extra { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; }
.pd-mat-field input:not([type="checkbox"]), .pd-mat-field textarea, .pd-mat-field select {
    display: block;
    width: 100%;
    min-height: 40px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    padding: 8px 10px;
    background: #fff;
    color: inherit;
    font: inherit;
    touch-action: manipulation;
}
.pd-mat-field textarea {
    resize: vertical;
    max-height: 96px;
    line-height: 1.35;
}
.pd-mat-field input[readonly], .pd-mat-field textarea[readonly], .pd-mat-field select:disabled { background: #f7f9f8; }
.pd-mat-shows { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.pd-mat-shows label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    color: inherit;
    font-size: 13px;
}
.pd-mat-shows input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    min-height: 18px;
    max-width: 18px;
    margin: 0;
    padding: 0;
    border: 1.5px solid #8aa39d;
    border-radius: 4px;
    background: #fff;
    flex: none;
    display: grid;
    place-content: center;
}
.pd-mat-shows input[type="checkbox"]:checked { background: #0f6e62; border-color: #0f6e62; }
.pd-mat-shows input[type="checkbox"]:checked::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}
.pd-mat-shows input:focus-visible { outline: 2px solid #0f6e62; outline-offset: 2px; }
.pd-mat-tools { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; }
.pd-mat-tools .pd-button { padding: 4px 8px; min-height: 32px; font-size: 13px; }
.pd-mat-body > .pd-muted { margin: 8px 10px; }
@media (max-width: 720px) {
    .pd-mat-detail, .pd-mat-extra { grid-template-columns: minmax(0, 1fr); }
    .pd-mat-detail { padding-left: 8px; }
    .pd-mat-check { width: 44px; height: 44px; }
    .pd-mat-fold { min-height: 44px; }
    .pd-mat-field select, .pd-mat-shows label { font-size: 16px; min-height: 44px; }
    .pd-mat-field select { padding: 10px 12px; }
    .pd-mat-field input:not([type="checkbox"]), .pd-mat-field textarea, .pd-modal .pd-field textarea { font-size: 16px; }
    .pd-mat-field input:not([type="checkbox"]), .pd-mat-field textarea { min-height: 44px; padding: 10px 12px; }
    .pd-mat-edit { min-height: 44px; }
    .pd-mat-tools .pd-button { flex: 1 1 calc(50% - 6px); white-space: normal; line-height: 1.2; text-align: center; }
}
@media (max-width: 720px) {
    .pd-kb { width: 100%; padding: 0; }
    .pd-kb-card { width: 100%; max-width: 100%; min-width: 0; height: 100%; max-height: none; border-radius: 0; }
    .pd-kb-head { align-items: center; gap: 8px; padding: max(8px, env(safe-area-inset-top)) 8px 0 max(12px, env(safe-area-inset-left)); }
    .pd-kb-head h2, .pd-kb-head p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .pd-kb-add { max-width: 9.5rem; padding: 8px 10px; white-space: normal; line-height: 1.2; text-align: center; }
    .pd-modal { padding: 0; align-items: stretch; }
    .pd-modal-card { width: 100%; height: 100%; max-height: none; border-radius: 0; }
    .pd-money { grid-template-columns: 1fr 1fr; }
}

.pd-workspace { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.pd-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 68px;
    padding: 12px 24px;
    background: var(--pd-card);
    border-bottom: 1px solid var(--pd-line);
}

.pd-topbar h1 { font-size: 22px; margin: 0; flex: 1; }

.pd-user { display: flex; align-items: center; gap: 14px; color: var(--pd-muted); }

.pd-content { padding: 24px; flex: 1; }

.pd-footer {
    padding: 8px 24px 16px;
    color: var(--pd-sidebar-muted);
    font-size: 13px;
}

.pd-menu-button,
.pd-overlay { display: none; }

.pd-menu-button { align-items: center; gap: 8px; }

.pd-hamburger {
    position: relative;
    width: 16px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
}

.pd-hamburger::before,
.pd-hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
}

.pd-hamburger::before { top: -5px; }

.pd-hamburger::after { top: 5px; }

.pd-stats, .pd-columns { display: grid; gap: 16px; }

.pd-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }

.pd-stats-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pd-shortcuts-panel { margin-bottom: 16px; }

.pd-shortcuts-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.pd-shortcuts-head h2 { margin: 0; }

.pd-shortcuts { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px; margin-top: 12px; }

.pd-shortcut {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 8px;
    border: 1px solid #d5e4e1;
    border-radius: 12px;
    background: #f4faf8;
    overflow: hidden;
}

.pd-shortcut:hover { border-color: #8fcec0; background: #eef7f5; }

.pd-shortcut a { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; color: inherit; text-decoration: none; }

.pd-shortcut strong, .pd-shortcut span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pd-shortcut strong { font-size: 13px; }

.pd-shortcut span { color: var(--pd-muted); font-size: 11px; }

.pd-shortcut-remove { flex: none; width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: var(--pd-muted); cursor: pointer; font-size: 16px; line-height: 1; }

.pd-shortcut-remove:hover { background: #fff; }

.pd-dash-phase { margin-top: 14px; }

.pd-dash-phase h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14px; }

@media (max-width: 720px) {
    .pd-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pd-overview-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pd-columns { grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr); }

.pd-card, .pd-table-wrap, .pd-panel {
    background: var(--pd-card);
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    box-shadow: var(--pd-shadow);
}

.pd-card, .pd-panel { padding: 16px 18px; }

.pd-card h2, .pd-panel h2 { font-size: 16px; margin-bottom: 8px; }

.pd-stat-value { font-size: 28px; font-weight: 650; margin: 0; }

.pd-stat-link { display: block; color: inherit; text-decoration: none; cursor: pointer; }

.pd-stat-link:hover { border-color: #c5d5d2; }

.pd-overview-counts .pd-stat-link { position: relative; padding-right: 36px; }

.pd-overview-counts .pd-stat-link::after {
    content: "\2192";
    position: absolute;
    top: 16px;
    right: 16px;
    color: var(--pd-muted);
    font-size: 16px;
}

.pd-overview-counts .pd-stat-link:hover { border-color: var(--pd-accent); }

.pd-overview-slot { position: relative; min-width: 0; }

.pd-overview-slot > .pd-card {
    height: var(--pd-card-h, auto);
    padding-left: 32px;
    overflow: hidden;
}

.pd-overview-counts > .pd-overview-slot[data-card="deadlines"] { grid-row: span 2; }

.pd-overview-slot[data-card="deadlines"] > .pd-deadline-card {
    height: calc(var(--pd-card-h, 168px) * 2 + 16px);
}

.pd-deadline-card {
    display: flex;
    flex-direction: column;
}

.pd-deadline-card .pd-deadline-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.pd-deadline-card .pd-deadline-more { flex: none; }

.pd-dash-deadlines { margin-bottom: 16px; }

.pd-overview-slot.is-floating {
    position: fixed;
    z-index: 30;
    margin: 0;
    pointer-events: none;
    opacity: 1;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(16, 24, 32, 0.18);
}

.pd-overview-slot.is-floating > .pd-card,
.pd-overview-slot.is-floating[data-card="deadlines"] > .pd-card { height: 100%; }

.pd-overview-placeholder {
    border-radius: 12px;
    background: #f3faf8;
    box-shadow: inset 0 0 0 2px #0f6e62;
    min-width: 0;
}

.pd-overview-placeholder.is-tall { grid-row: span 2; }

.pd-overview-slot { transition: transform 180ms ease; }

html.pd-card-dragging,
html.pd-card-dragging body {
    user-select: none;
    -webkit-user-select: none;
    cursor: grabbing;
}

html.pd-card-dragging .pd-overview-counts { touch-action: none; }

.pd-card-grip {
    position: absolute;
    z-index: 2;
    top: 8px;
    left: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    width: 28px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8aa39d;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.pd-card-grip i {
    display: block;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.pd-deadline-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.pd-deadline-head h2 { margin: 0; }

.pd-deadline-count {
    flex: none;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f8e6d8;
    color: #9a4b24;
    font-size: 12px;
    font-weight: 650;
}

.pd-deadline-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 12px;
    gap: 8px;
    align-items: start;
    box-sizing: border-box;
    min-height: 52px;
    height: auto;
    padding: 8px 0;
    border-top: 1px solid #eef2f1;
    color: inherit;
    text-decoration: none;
}

.pd-deadline-list .pd-deadline-row:first-child { border-top: 0; }

.pd-deadline-row time { font-size: 13px; font-weight: 700; line-height: 1.2; }

.pd-deadline-row time { color: var(--pd-ink); }

.pd-deadline-copy { min-width: 0; }

.pd-deadline-copy strong { display: block; font-size: 14px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }

.pd-deadline-kicker { display: block; margin: 0 0 4px; color: var(--pd-muted); font-size: 12px; font-weight: 650; line-height: 1.3; }

.pd-deadline-copy small { display: block; margin-top: 3px; color: var(--pd-muted); font-size: 12px; line-height: 1.3; }

.pd-deadline-chevron { color: #8aa39d; font-size: 18px; line-height: 1; }

.pd-deadline-more {
    display: block;
    width: 100%;
    margin-top: 2px;
    padding: 8px 0 0;
    border: 0;
    border-top: 1px solid #eef2f1;
    background: transparent;
    color: #5d6b68;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.pd-deadline-more[hidden] { display: none; }

.pd-deadline-empty { margin: 2px 0 0; color: var(--pd-muted); font-size: 13px; }

.pd-task-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.pd-task-part { display: block; min-width: 0; color: inherit; text-decoration: none; }

.pd-task-part span { display: block; margin-top: 2px; color: var(--pd-muted); font-size: 13px; }

.pd-task-mine .pd-stat-value { color: #0f6e62; }

.pd-vol-overview .pd-vol-top-head { align-items: flex-start; padding-right: 18px; }

.pd-vol-overview .pd-vol-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 6px; margin-top: 8px; }

.pd-vol-overview .pd-vol-stat strong { font-size: 15px; }

.pd-vol-overview .pd-vol-stat span { font-size: 11px; line-height: 1.2; }

.pd-vol-overview .pd-progress-bar { margin-top: 8px; }

.pd-progress-card .pd-muted { margin: 2px 0 0; font-size: 13px; }

.pd-progress-bar {
    height: 6px;
    margin-top: 10px;
    border-radius: 999px;
    background: #e6eeeb;
    overflow: hidden;
}

.pd-progress-bar span { display: block; height: 100%; background: #0f6e62; }

.pd-stat--later .pd-stat-value { color: var(--pd-muted); font-size: 18px; }

.pd-muted { color: var(--pd-muted); }

.pd-stack { display: flex; flex-direction: column; gap: 10px; }

.pd-list { list-style: none; margin: 0; padding: 0; }

.pd-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--pd-line);
}

.pd-list a { font-weight: 650; text-decoration: none; }

.pd-toolbar, .pd-inline, .pd-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.pd-toolbar { justify-content: space-between; margin-bottom: 16px; }

.pd-form { display: flex; flex-direction: column; gap: 14px; }

.pd-field { display: flex; flex-direction: column; gap: 6px; }

.pd-role-field { position: relative; max-width: 640px; }

.pd-role-label { display: flex; align-items: center; gap: 6px; }

.pd-role-label span { font-weight: 650; }

.pd-info {
    width: 22px;
    height: 22px;
    min-height: 22px;
    padding: 0;
    border: 1px solid #c9d1d9;
    border-radius: 50%;
    background: #fff;
    color: var(--pd-muted);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
}

.pd-info svg { width: 14px; height: 14px; }

.pd-info:hover, .pd-info:focus-visible { border-color: #8aa39d; color: var(--pd-accent); background: #f7fbfa; }

.pd-role-tip {
    position: absolute;
    z-index: 6;
    top: 28px;
    left: 0;
    width: min(340px, calc(100vw - 48px));
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--pd-line);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(22, 32, 44, 0.12);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.pd-role-tip[hidden] { display: none; }

.pd-role-tip p { margin: 0 0 8px; }

.pd-role-tip p:last-child { margin: 0; }

.pd-role-tip strong { display: block; font-weight: 650; }

.pd-rights { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1 1 240px; min-width: 0; max-width: 100%; }

.pd-rights .pd-field { width: min(320px, 100%); }

.pd-rights-label { font-weight: 650; }

.pd-rights-toggle {
    border: 0;
    background: transparent;
    padding: 4px 0;
    min-height: 32px;
    font: inherit;
    font-size: 13px;
    color: var(--pd-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.pd-rights-toggle:hover, .pd-rights-toggle:focus-visible { color: var(--pd-accent); }

.pd-rights .pd-module-picks[hidden] { display: none; }

.pd-field label, .pd-check span { font-weight: 650; }

.pd-field input, .pd-field select, .pd-field textarea, .pd-search {
    width: 100%;
    max-width: 640px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
    color: inherit;
    background: #fff;
}

.pd-secret {
    position: relative;
    width: 100%;
    max-width: 640px;
}

.pd-secret input {
    max-width: none;
    padding-right: 48px;
}

.pd-secret-toggle {
    position: absolute;
    top: 50%;
    right: 2px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--pd-muted);
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    cursor: pointer;
}

.pd-secret-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pd-secret .pd-eye-off { display: none; }

.pd-secret.is-shown .pd-eye { display: none; }

.pd-secret.is-shown .pd-eye-off { display: block; }

.pd-search { max-width: 280px; }

.pd-inline input,
.pd-inline select {
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
    color: inherit;
}

.pd-pre { white-space: pre-wrap; }

.pd-check { display: flex; align-items: center; gap: 8px; font-weight: 400; }

.pd-check input { width: 16px; height: 16px; }

.pd-button, .pd-menu-button {
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    padding: 10px 14px;
    font: inherit;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    background: #fff;
    color: var(--pd-ink);
}

.pd-button:hover, .pd-menu-button:hover { border-color: #8aa39d; background: #f7fbfa; }

.pd-button--primary { border-color: var(--pd-accent); background: var(--pd-accent); color: #fff; }

.pd-button--primary:hover { border-color: var(--pd-accent-dark); background: var(--pd-accent-dark); }

.pd-button--ghost { border-color: #c9d1d9; background: #fff; color: var(--pd-ink); }

.pd-button--danger { border-color: #e4c4c4; background: var(--pd-danger-bg); color: var(--pd-danger); }

.pd-event-danger {
    padding: 16px 18px;
    border: 1px solid #e4c4c4;
    border-radius: 12px;
    background: #f8ecec;
}

.pd-event-danger h2 { margin: 0 0 6px; font-size: 16px; color: #8d2e2e; }

.pd-event-danger p { margin: 0 0 12px; color: #6d3030; }

.pd-danger-solid {
    border: 0;
    background: #8d2e2e;
    color: #fff;
    min-height: 44px;
}

.pd-danger-solid:hover { background: #742626; }

.pd-delete-modal .pd-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.pd-button:disabled { opacity: 0.6; cursor: not-allowed; }

.pd-table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }

th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--pd-line); vertical-align: top; }

th { font-size: 13px; color: var(--pd-muted); font-weight: 650; }

.pd-badge {
    display: inline-block;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 13px;
    background: #e8edf2;
    color: #314052;
}

.pd-badge--active { background: #e5f4ea; color: #0d6a3c; }

.pd-badge--soon { background: var(--pd-warning-bg); color: var(--pd-warning-text); }

.pd-event-line { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }

.pd-badge--completed { background: #e7f3f1; color: #0b564d; }

.pd-badge--cancelled { background: var(--pd-danger-bg); color: var(--pd-danger); }

.pd-alert { border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }

.pd-alert--error { background: var(--pd-danger-bg); color: var(--pd-danger); }

.pd-alert--warning { background: var(--pd-warning-bg); color: var(--pd-warning-text); }

.pd-alert--info { background: var(--pd-info-bg); color: var(--pd-accent-dark); }

.pd-alert--success { background: #e5f4ea; color: #0d6a3c; }

.pd-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.pd-fixed-crew-set { margin: 0; padding: 0; border: 0; }

.pd-fixed-crew-set legend { font-weight: 650; margin-bottom: 4px; }

.pd-fixed-crew-set > .pd-muted { margin: 0 0 8px; font-size: 13px; }

.pd-fixed-tools { margin: 0 0 12px; }

.pd-fixed-crew { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.pd-fixed-crew h3 { margin: 0 0 6px; font-size: 13px; line-height: 1.35; }

.pd-fixed-row { display: flex; gap: 6px; align-items: center; margin-bottom: 4px; }

.pd-editor-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.pd-save-status { margin: 0; font-size: 13px; min-height: 1.2em; }

.pd-fixed-label { flex: 0 0 46%; min-width: 0; font-size: 13px; line-height: 1.35; font-weight: 400; }

.pd-fixed-row .pd-fixed-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    border: 1px solid #c9d1d9;
    border-radius: 6px;
    padding: 4px 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    background: #fff;
    color: inherit;
}

.pd-fixed-row .pd-fixed-input.is-term {
    flex: 0 0 46%;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    font-weight: 400;
}

.pd-fixed-row .pd-fixed-input.is-term:focus { outline: none; }

.pd-member { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--pd-line); }

.pd-member > * { min-width: 0; }

.pd-member-name { flex: 1 1 160px; }

.pd-member-name strong, .pd-member-name .pd-muted { display: block; overflow-wrap: anywhere; }

.pd-suggest-wrap { position: relative; max-width: 640px; }

.pd-suggest {
    position: absolute;
    z-index: 6;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    max-height: 240px;
    overflow: auto;
    border: 1px solid var(--pd-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(22, 32, 44, 0.12);
}

.pd-suggest[hidden] { display: none; }

.pd-suggest p { margin: 0; padding: 10px 12px; }

.pd-suggest button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    min-height: 44px;
    border: 0;
    background: transparent;
    padding: 8px 12px;
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.pd-suggest button span { color: var(--pd-muted); font-size: 13px; overflow-wrap: anywhere; }

.pd-suggest button:hover, .pd-suggest button:focus-visible { background: #f3f6f8; }

.pd-event-settings label.pd-check input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    flex: none;
    border: 1.5px solid #8aa39d;
    border-radius: 4px;
    background: #fff;
    display: grid;
    place-content: center;
}

.pd-event-settings label.pd-check input[type="checkbox"]:checked {
    background: var(--pd-accent);
    border-color: var(--pd-accent);
}

.pd-event-settings label.pd-check input[type="checkbox"]:checked::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

.pd-event-settings label.pd-check input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--pd-accent);
    outline-offset: 2px;
}

.pd-venue-more { display: none; }

.pd-venue-actions { flex: none; }

.pd-help { font-size: 14px; color: var(--pd-muted); max-width: 68ch; }

@media (max-width: 1000px) {
    .pd-stats { grid-template-columns: 1fr 1fr; }
    .pd-columns, .pd-grid-2, .pd-fixed-crew { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
    .pd-menu-button { display: inline-flex; }

    .pd-sidebar {
        position: fixed;
        z-index: 20;
        inset: 0 auto 0 0;
        transform: translateX(-105%);
    }

    .pd-sidebar.is-open { transform: none; }

    .pd-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 15;
        border: 0;
        padding: 0;
        background: rgba(16, 24, 32, 0.45);
    }

    .pd-overlay[hidden] { display: none; }

    .pd-topbar, .pd-content, .pd-footer { padding-left: 16px; padding-right: 16px; }

    .pd-user span { display: none; }
}

@media (max-width: 560px) {
    .pd-stats, .pd-overview-counts { grid-template-columns: 1fr; }
}

.pd-event-head {
    position: sticky;
    top: 0;
    z-index: 8;
    background: var(--pd-card);
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    box-shadow: var(--pd-shadow);
    padding: 12px 16px 0;
}

.pd-event-head-top,
.pd-event-head-tools,
.pd-event-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.pd-event-head-top { justify-content: space-between; gap: 8px 12px; }

.pd-event-head-tools { gap: 8px; margin-left: auto; }

.pd-event-back {
    color: var(--pd-muted);
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
}

.pd-event-back:hover { color: var(--pd-accent-dark); }

.pd-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--pd-line);
    border-radius: 8px;
    background: #fff;
    color: var(--pd-muted);
    text-decoration: none;
}

.pd-icon-button:hover { color: var(--pd-accent-dark); border-color: var(--pd-accent); background: #f3faf8; }

.pd-icon-button .pd-glyph { width: 18px; height: 18px; }

.pd-event-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    width: 100%;
    min-width: 0;
    margin-top: 6px;
}

.pd-event-title {
    margin: 0;
    min-width: 0;
    font-size: 22px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.pd-event-meta {
    gap: 2px 16px;
    margin: 0 0 8px;
    color: var(--pd-muted);
    font-size: 14px;
    line-height: 1.4;
}

.pd-event-nav {
    margin: 0 -16px;
    border-top: 1px solid var(--pd-line);
}

.pd-event-groups,
.pd-event-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.pd-event-groups { padding: 4px 8px 0; }

.pd-event-group,
.pd-event-tab {
    flex: 0 0 auto;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--pd-muted);
    font: inherit;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

.pd-event-group {
    min-height: 40px;
    padding: 8px 12px;
    font-weight: 650;
}

.pd-event-group:hover { color: var(--pd-ink); }

.pd-event-group.is-active {
    background: #f3faf8;
    color: var(--pd-accent-dark);
    box-shadow: inset 0 -2px 0 var(--pd-accent);
}

.pd-event-tabs {
    gap: 2px;
    margin: 0;
    padding: 0 6px 6px;
}

.pd-event-tab {
    min-height: 36px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 550;
}

.pd-event-tab:hover { color: var(--pd-ink); background: transparent; }

.pd-event-tab.is-active {
    background: transparent;
    color: var(--pd-accent);
    box-shadow: inset 0 -2px 0 var(--pd-accent);
}

.pd-soon {
    padding: 22px 18px;
}

.pd-soon h2 { margin: 0 0 6px; font-size: 18px; }

.pd-soon p { margin: 0; color: var(--pd-muted); }

@media (max-width: 720px) {
    .pd-event-head { padding: 10px 12px 0; }
    .pd-event-title { flex: 1 1 100%; font-size: 20px; }
    .pd-icon-button { width: 44px; height: 44px; }
    .pd-event-nav { margin: 0 -12px; }
    .pd-event-group,
    .pd-event-tab { min-height: 44px; font-size: 15px; }
}

.pd-docs {
    background: var(--pd-card);
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    box-shadow: var(--pd-shadow);
}

.pd-docs.is-over { outline: 2px dashed var(--pd-accent); outline-offset: -8px; background: #f7fbfa; }

.pd-docs-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 16px 8px;
}

.pd-docs-place { min-width: 0; }

.pd-docs-back {
    display: inline-block;
    margin-bottom: 2px;
    color: var(--pd-muted);
    font-size: 13px;
    text-decoration: none;
}

.pd-docs-back:hover { color: var(--pd-accent-dark); }

.pd-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--pd-ink); font-size: 15px; }

.pd-crumbs a { color: inherit; font-weight: 650; text-decoration: none; }

.pd-crumbs a:hover { color: var(--pd-accent-dark); }

.pd-docs-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.pd-docs-search {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: none;
    min-height: 40px;
    border: 1px solid var(--pd-line);
    border-radius: 8px;
    background: #fff;
    padding: 2px 2px 2px 10px;
    overflow: visible;
}

.pd-docs-search .pd-icon-button { flex: none; width: 36px; height: 36px; }

.pd-docs-search .pd-glyph { overflow: visible; }

.pd-docs-query {
    width: 168px;
    min-width: 0;
    border: 0;
    padding: 7px 0;
    font: inherit;
    font-size: 14px;
    color: inherit;
    background: transparent;
}

.pd-docs-query:focus { outline: none; }

.pd-docs-search:focus-within { border-color: var(--pd-accent); }

.pd-docs .pd-button { padding: 7px 12px; font-size: 14px; }

.pd-new-folder, .pd-move {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 16px 8px;
}

.pd-new-folder[hidden] { display: none; }

.pd-new-folder input, .pd-move select {
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    padding: 7px 10px;
    font: inherit;
    font-size: 14px;
    background: #fff;
    color: inherit;
}

.pd-docs-note { padding: 0 16px; }

.pd-docs-note:empty { display: none; }

.pd-docs-hint, .pd-docs-empty {
    margin: 0;
    padding: 8px 16px 16px;
    color: var(--pd-muted);
    font-size: 14px;
}

.pd-docs-list, .pd-docs-grid { padding: 4px 8px 8px; }

.pd-docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
}

.pd-doc {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 8px;
    border-radius: 8px;
}

.pd-docs-list .pd-doc + .pd-doc { box-shadow: inset 0 1px 0 var(--pd-line); }

.pd-docs-grid .pd-doc { border: 1px solid var(--pd-line); }

.pd-doc:hover { background: #f6f8f9; }

.pd-doc-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.pd-doc-text { min-width: 0; }

.pd-doc-text strong, .pd-doc-text span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pd-doc-text strong { font-size: 15px; font-weight: 650; }

.pd-doc-text span { color: var(--pd-muted); font-size: 13px; }

.pd-doc-actions { display: flex; align-items: center; flex: none; }

.pd-type {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pd-type--folder { width: 32px; color: #c9841a; background: transparent; }

.pd-type--pdf { background: #fdeceb; color: #c4453c; }

.pd-type--doc { background: #e8f0fa; color: #2b579a; }

.pd-type--sheet { background: #e7f5ee; color: #1f7a4d; }

.pd-type--slide { background: #fdf0e8; color: #c45c26; }

.pd-type--image { background: #e8f1fb; color: #2f6fad; }

.pd-type--zip { background: #f3eef8; color: #6b4c9a; }

.pd-type--cad { background: var(--pd-info-bg); color: var(--pd-accent-dark); }

.pd-type--txt, .pd-type--file { background: #eef1f4; color: #526170; }

.pd-type--thumb {
    width: 36px;
    height: 36px;
    object-fit: cover;
    background: #f4f6f7;
}

.pd-glyph { width: 22px; height: 22px; display: block; }

.pd-icon-button {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--pd-muted);
    font: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.pd-icon-button:hover, .pd-icon-button.is-active { background: #eef2f4; color: var(--pd-ink); }

.pd-more { position: relative; }

.pd-more-menu {
    position: absolute;
    z-index: 30;
    top: calc(100% + 4px);
    right: 0;
    display: flex;
    flex-direction: column;
    min-width: 180px;
    padding: 6px;
    border: 1px solid var(--pd-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(22, 32, 44, 0.12);
}

.pd-more-menu[hidden] { display: none; }

.pd-more-menu button {
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: transparent;
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    text-align: left;
    color: var(--pd-ink);
    cursor: pointer;
}

.pd-more-menu button:hover, .pd-more-menu button:focus-visible { background: #f3f6f8; }

.pd-more-menu button.is-danger { color: var(--pd-danger); }

.pd-progress-list { display: grid; gap: 8px; padding: 0 16px 8px; }

.pd-progress-list:empty { display: none; }

.pd-progress { display: grid; gap: 4px; font-size: 13px; color: var(--pd-muted); }

.pd-progress progress { width: 100%; height: 6px; }

.pd-progress.is-error { color: var(--pd-danger); }

@media (max-width: 720px) {
    .pd-docs-head { flex-direction: column; }

    .pd-docs-tools { width: 100%; justify-content: flex-start; }

    .pd-docs-search { flex: 1; max-width: 100%; }

    .pd-docs-query { width: 100%; min-width: 0; }

    .pd-docs-head.pd-task-head {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
    }

    .pd-task-head .pd-task-add { flex: 1 1 100%; }

    .pd-task-tools { margin-left: auto; max-width: 100%; }

    .pd-task-head .pd-docs-search { flex: 0 1 240px; width: auto; }

    .pd-task-head .pd-docs-query { width: 140px; font-size: 16px; }

    .pd-more-menu {
        position: fixed;
        top: auto;
        right: 12px;
        bottom: 12px;
        left: 12px;
        min-width: 0;
    }

    .pd-log .pd-log-menu {
        right: auto;
        bottom: auto;
        left: auto;
        width: max-content;
        min-width: 180px;
        max-width: calc(100vw - 16px);
    }
}

.pd-docs-title { margin: 0 0 2px; font-size: 18px; }

.pd-filters-toggle { display: none; }

.pd-task-tools { display: flex; align-items: center; gap: 8px; flex: none; }

.pd-task-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 0 16px 12px;
}

.pd-task-filters select {
    border: 1px solid var(--pd-line);
    border-radius: 8px;
    padding: 7px 10px;
    font: inherit;
    font-size: 14px;
    background: #fff;
    color: inherit;
}

.pd-task-heading {
    margin: 0;
    padding: 4px 16px;
    color: var(--pd-muted);
    font-size: 13px;
    font-weight: 650;
}

.pd-task-list { padding: 0 8px 8px; }

.pd-task, .pd-task-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 8px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
}

.pd-task + .pd-task, .pd-task-link + .pd-task-link { box-shadow: inset 0 1px 0 var(--pd-line); }

.pd-task:hover, .pd-task-link:hover { background: #f6f8f9; }

.pd-task.is-done { opacity: 0.62; }

.pd-task.is-dragging { opacity: 0.45; }

.pd-task-main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.pd-task-who {
    display: flex;
    flex: none;
    align-items: center;
    order: 2;
    gap: 6px;
    min-width: 0;
    max-width: 46%;
}

.pd-task-text { min-width: 0; flex: 1; order: 1; }

.pd-task-text strong, .pd-task-text span {
    display: block;
    white-space: normal;
    overflow-wrap: break-word;
}

.pd-task-text strong { font-size: 15px; }

.pd-task-text span, .pd-task-status { color: var(--pd-muted); font-size: 13px; }

.pd-task.is-overdue .pd-task-text span { color: var(--pd-danger); }

.pd-task select {
    border: 1px solid var(--pd-line);
    border-radius: 8px;
    padding: 6px 8px;
    font: inherit;
    font-size: 13px;
    background: #fff;
}

.pd-prio {
    display: inline-grid;
    place-items: center;
    flex: none;
    min-width: 64px;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 650;
}

.pd-prio--low { background: #eef1f4; color: #526170; }

.pd-prio--normal { background: var(--pd-info-bg); color: var(--pd-accent-dark); }

.pd-prio--high { background: var(--pd-warning-bg); color: var(--pd-warning-text); }

.pd-prio--urgent { background: var(--pd-danger-bg); color: var(--pd-danger); }

.pd-task-head { align-items: center; }

.pd-task-add {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 0;
}

.pd-task-add-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pd-task-options {
    flex: none;
    border: 1px solid var(--pd-line);
    background: #fff;
}

.pd-task-options:hover { border-color: #c5d5d2; background: #f4f7f8; }

.pd-task-options.is-open { background: var(--pd-info-bg); color: var(--pd-accent-dark); }

.pd-task-extras {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
}

.pd-task-extras.is-open {
    max-height: 640px;
    overflow: visible;
}

.pd-task-extra-fields {
    display: grid;
    gap: 10px;
    padding-top: 0;
}

.pd-task-extras.is-open .pd-task-extra-fields { padding-top: 10px; }

.pd-task-add input {
    flex: 1;
    min-width: 0;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    padding: 8px 12px;
    font: inherit;
    background: #fff;
    color: inherit;
}

.pd-task-people { display: flex; flex-wrap: wrap; gap: 4px; }

.pd-person-pill {
    display: inline-block;
    border-radius: 999px;
    padding: 2px 8px;
    background: #e5f4ea;
    color: #0d6a3c;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
}

.pd-note-list { display: flex; flex-direction: column; gap: 12px; }

.pd-note-venue {
    background: var(--pd-card);
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    box-shadow: var(--pd-shadow);
}

.pd-note-venue-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 12px 14px;
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.pd-note-caret { color: var(--pd-muted); }

.pd-note-count {
    margin-left: auto;
    border-radius: 999px;
    padding: 2px 8px;
    background: #e5f4ea;
    color: #0d6a3c;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
}

.pd-note-body { padding: 0 14px 14px; }

.pd-guest-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr) auto auto;
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 14px;
}

.pd-guest-row.is-sent { background: #eef8f2; }

.pd-guest-row strong,
.pd-guest-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pd-guest-status {
    border: 1px solid #c5ced6;
    background: #fff;
    color: inherit;
    border-radius: 999px;
    padding: 4px 10px;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
}

.pd-guest-status:hover { border-color: #6d7b88; background: #f4f7f8; }

.pd-guest-row.is-sent .pd-guest-status {
    color: #0d6a3c;
    background: #e5f4ea;
    border-color: #8fceb0;
}

@media (max-width: 720px) {
    .pd-guest-row { grid-template-columns: 1fr auto; }
    .pd-guest-row span { grid-column: 1 / -1; }
}

.pd-note-body[hidden] { display: none; }

.pd-note-shows {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.pd-note-show {
    min-width: 0;
    border: 1px solid var(--pd-line);
    border-radius: 10px;
    padding: 12px;
    background: #fff;
}

.pd-note-show h3 { margin: 0; font-size: 15px; }

.pd-setlist-add { margin-top: 12px; }

.pd-setlist-title {
    width: 100%;
    min-width: 0;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
}

@media (max-width: 720px) {
    .pd-setlist-title { font-size: 16px; }
}

.pd-note-show header p { margin: 2px 0 0; color: var(--pd-muted); font-size: 13px; }

.pd-note-items { margin: 10px 0 0; padding-left: 1.15em; }

.pd-note-item { margin: 0 0 4px; }

.pd-note-line { display: flex; align-items: flex-start; gap: 4px; }

.pd-note-text { flex: 1; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }

.pd-note-single {
    min-height: 44px;
}

.pd-note-single.is-editable { cursor: pointer; }

.pd-note-single.is-editable:focus { outline: 2px solid rgba(15, 110, 98, 0.35); outline-offset: 1px; }

.pd-note-text p { margin: 0 0 0.35em; }

.pd-note-text ul,
.pd-note-text ol { margin: 0.3em 0; padding-left: 1.4em; }

.pd-note-more { width: 28px; height: 28px; flex: 0 0 auto; }

.pd-note-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    bottom: auto;
    left: auto;
    min-width: 148px;
}

.pd-note-form { margin-top: 10px; }

.pd-note-form[hidden] { display: none; }

.pd-note-form .pd-note-tools { margin-bottom: 6px; }

.pd-note-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

.pd-note-edit .pd-button { padding: 4px 10px; font-size: 13px; }

.pd-note-boxes { display: flex; flex-direction: column; gap: 8px; }

.pd-note-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    border: 1px solid var(--pd-line);
    border-radius: 10px;
    padding: 12px;
    background: #fff;
}

.pd-note-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }

.pd-note-more-wrap { margin-left: auto; }

.pd-note-tools .pd-note-more { width: 36px; min-height: 32px; height: auto; }

.pd-note-tools button {
    min-width: 36px;
    min-height: 32px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    font: inherit;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.pd-note-tools button.is-on {
    border-color: var(--pd-accent);
    background: #f3faf8;
    color: var(--pd-accent-dark);
}

.pd-note-editor,
.pd-note-read {
    min-width: 0;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.pd-note-box, .pd-note-form, .pd-rich { position: relative; }

.pd-note-editor img,
.pd-note-read img,
.pd-pre img,
.pd-plan-note img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

.pd-note-editor img.is-selected { outline: 2px solid #0f6e62; outline-offset: 2px; }

.pd-rich-handles { position: absolute; z-index: 2; pointer-events: none; }

.pd-rich-handle {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid #0f6e62;
    border-radius: 4px;
    background: #fff;
    pointer-events: auto;
    touch-action: none;
}

.pd-rich-handle.is-nw { left: -7px; top: -7px; }
.pd-rich-handle.is-ne { right: -7px; top: -7px; }
.pd-rich-handle.is-sw { left: -7px; bottom: -7px; }
.pd-rich-handle.is-se { right: -7px; bottom: -7px; }

.pd-note-editor:focus { outline: 2px solid rgba(15, 110, 98, 0.35); outline-offset: 1px; }

.pd-note-editor:empty::before {
    content: attr(data-placeholder);
    color: var(--pd-muted);
}

.pd-note-read { background: #f8fafb; }

.pd-note-editor p,
.pd-note-read p { margin: 0 0 0.35em; }

.pd-note-editor ul,
.pd-note-read ul,
.pd-note-editor ol,
.pd-note-read ol { margin: 0.3em 0; padding-left: 1.4em; }

.pd-note-audience {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}

.pd-note-choice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    font-weight: 400;
}

.pd-note-choice input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    flex: none;
    border: 1.5px solid #8aa39d;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-content: center;
}

.pd-note-choice input[type="radio"]:checked { border-color: var(--pd-accent); }

.pd-note-choice input[type="radio"]:checked::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--pd-accent);
}

.pd-note-info {
    width: 22px;
    height: 22px;
    border: 1px solid #8aa39d;
    border-radius: 50%;
    background: #fff;
    color: var(--pd-accent-dark);
    font-family: Georgia, serif;
    font-size: 13px;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.pd-note-tip { flex: 1 1 100%; margin: 0; color: var(--pd-muted); font-size: 13px; }

.pd-note-status:empty { display: none; }

.pd-file-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.pd-file-row .pd-button { border: 1px solid #c9d1d9; background: #fff; }

.pd-file-native {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.pd-file-name { color: var(--pd-muted); font-size: 14px; overflow-wrap: anywhere; }

@media (max-width: 720px) {
    .pd-note-tools button,
    .pd-note-choice,
    .pd-rich-handle { min-height: 44px; }
    .pd-rich-handle { width: 22px; height: 22px; }
    .pd-note-editor,
    .pd-note-read,
    .pd-pill-label { font-size: 16px; }
    .pd-file-row .pd-button { min-height: 44px; border: 1px solid #c9d1d9; }
}

.pd-assignee-picker { position: relative; }

.pd-assignee-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }

.pd-assignee-chips:empty { display: none; }

.pd-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    padding: 2px 4px 2px 10px;
    background: var(--pd-info-bg);
    color: var(--pd-accent-dark);
    font-size: 13px;
}

.pd-chip-remove {
    border: 0;
    border-radius: 999px;
    width: 22px;
    height: 22px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.pd-chip-remove:hover { background: rgba(15, 110, 98, 0.12); }

.pd-suggest {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    display: flex;
    flex-direction: column;
    padding: 4px;
    border: 1px solid var(--pd-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(22, 32, 44, 0.12);
}

.pd-suggest[hidden] { display: none; }

.pd-suggest-item {
    border: 0;
    border-radius: 6px;
    background: transparent;
    padding: 8px 10px;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.pd-suggest-item:hover, .pd-suggest-item:focus-visible { background: #f3f6f8; }

.pd-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}

.pd-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(16, 24, 32, 0.45);
}

.pd-modal-card {
    position: relative;
    width: min(560px, 100%);
    max-height: 100%;
    overflow: auto;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(22, 32, 44, 0.18);
}

.pd-thread { margin-top: 18px; }

.pd-thread h3 { margin: 16px 0 8px; font-size: 15px; }

.pd-thread article { padding: 8px 0; border-top: 1px solid var(--pd-line); }

.pd-thread article p { margin: 4px 0 0; white-space: pre-wrap; }

.pd-checklist-bar,
.pd-pill-add {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pd-checklist-bar input[type="text"],
.pd-pill-add input[type="text"],
.pd-checklist-bar select,
.pd-checklist-head + .pd-actions select {
    min-width: 0;
    flex: 1 1 180px;
}

.pd-checklist-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
}

.pd-check-guide {
    width: min(420px, 100%);
    max-width: 100%;
}

.pd-check-guide-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 650;
}

.pd-check-guide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pd-check-guide-actions .pd-button {
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 30px;
}

.pd-check-guide textarea {
    display: block;
    width: 100%;
    min-height: 96px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    background: #fff;
    padding: 10px 12px;
    font: inherit;
    color: inherit;
    resize: vertical;
    box-sizing: border-box;
}

.pd-check-guide-status { margin: 4px 0 0; font-size: 12px; }

.pd-check-note { width: min(420px, 100%); max-width: 100%; }
.pd-check-note .pd-receipt-copy,
.pd-check-note .pd-check-guide { width: 100%; max-width: none; }

.pd-check-read {
    width: min(420px, 100%);
    margin: 0;
}

button.pd-check-read {
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

@media (max-width: 720px) {
    .pd-check-guide,
    .pd-check-read { width: 100%; }
    .pd-check-guide-actions .pd-button { min-height: 44px; height: 44px; }
    .pd-check-guide textarea,
    .pd-check-note .pd-receipt-copy { font-size: 16px; }
    .pd-check-note { width: 100%; }
}

.pd-receipt {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    background: #fff;
}

.pd-receipt h2 { margin: 0 0 12px; font-size: 18px; }

.pd-receipt-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: min(420px, 100%);
}

.pd-receipt-copy {
    width: 100%;
    margin: 0;
    line-height: 1.45;
    text-align: left;
}

.pd-receipt-copy p { margin: 0 0 0.75em; }

.pd-receipt-copy ol {
    margin: 0;
    padding-left: 1.4em;
}

.pd-receipt-copy li { margin: 0.2em 0; }

.pd-receipt-copy strong { font-weight: 700; }

.pd-receipt-copy[role="button"] { cursor: pointer; }

.pd-receipt-col .pd-check-guide,
.pd-receipt-col .pd-check-read,
.pd-receipt-col .pd-receipt-copy,
.pd-receipt-col .pd-field,
.pd-receipt-col .pd-field input,
.pd-receipt-col .pd-button,
.pd-receipt-col .pd-receipt-preview,
.pd-receipt-col .pd-receipt-wait,
.pd-receipt-col .pd-alert {
    width: 100%;
    max-width: none;
}

.pd-receipt-camera {
    position: fixed;
    left: -100vw;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.pd-receipt-preview {
    display: block;
    max-height: 320px;
    object-fit: contain;
    border: 1px solid var(--pd-line);
    border-radius: 8px;
    background: #f7f9fb;
    -webkit-touch-callout: default;
}

.pd-receipt-preview[hidden],
.pd-check-fold [hidden] { display: none; }

.pd-receipt-tip { margin: 0; font-size: 13px; }

.pd-receipt-wait {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.pd-receipt-wait[hidden] { display: none; }

.pd-receipt-spin {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid #d5dde4;
    border-top-color: var(--pd-accent);
    border-radius: 50%;
    animation: pd-spin 0.7s linear infinite;
}

@keyframes pd-spin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
    .pd-receipt-col { width: 100%; }
    .pd-receipt-col .pd-field input,
    .pd-receipt-col .pd-button { min-height: 44px; font-size: 16px; }
}

.pd-check-fold .pd-button { align-self: flex-start; }

@media (max-width: 720px) {
    .pd-check-fold input,
    .pd-check-fold select { font-size: 16px; min-height: 44px; }
    .pd-check-fold .pd-button { width: 100%; min-height: 44px; }
}

.pd-check-index {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    background: #fff;
}

.pd-check-index-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.pd-check-index-head h2 { margin: 0; font-size: 16px; }

.pd-check-badge {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--pd-info-bg);
    color: var(--pd-accent-dark);
    font-size: 13px;
    white-space: nowrap;
}

.pd-check-list { display: flex; flex-direction: column; gap: 8px; width: 100%; }

.pd-check-list > .pd-check {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    background: #fff;
}

.pd-check.is-dragging { opacity: 0.45; }

.pd-check-summary {
    display: flex;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    padding: 8px 10px;
}

.pd-check-grip {
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #8b98a6;
    cursor: grab;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.pd-check-grip .pd-glyph { width: 16px; height: 16px; }

.pd-grip {
    display: grid;
    grid-template-columns: 4px 4px;
    gap: 3px;
    justify-content: center;
}

.pd-grip i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
}

.pd-check-toggle {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 0;
    background: transparent;
    padding: 4px 6px;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.pd-check-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pd-check-name {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pd-check-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pd-muted);
    font-size: 14px;
}

.pd-check-done {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    color: var(--pd-accent);
}

.pd-check-done[hidden] { display: none; }

.pd-check-done .pd-glyph { width: 16px; height: 16px; }

.pd-check-chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.pd-check.is-open .pd-check-chevron { transform: rotate(-135deg) translateY(-1px); }

.pd-check-track {
    display: block;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #e6ebf0;
    overflow: hidden;
}

.pd-check-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--pd-accent);
}

.pd-check-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 2px 12px 14px;
}

.pd-check-body[hidden] { display: none; }

.pd-check-body .pd-pill-add {
    display: flex;
    align-items: center;
    gap: 0;
    width: min(420px, 100%);
    max-width: 100%;
    height: 42px;
    border: 1px solid var(--pd-line);
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
}

.pd-check-body .pd-pill-add::before {
    content: "+";
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    color: #8b98a6;
    font-size: 20px;
    line-height: 1;
}

.pd-check-body .pd-pill-add input[type="text"] {
    flex: 1 1 auto;
    width: auto;
    height: 40px;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 16px;
    line-height: 40px;
    padding: 0 8px 0 0;
}

.pd-check-body .pd-pill-add input[type="text"]::placeholder { color: var(--pd-muted); }

.pd-check-body .pd-pill-add input[type="text"]:focus-visible { outline: none; }

.pd-check-body .pd-pill-add:focus-within { border-color: var(--pd-accent); }

.pd-check-body .pd-pill-add .pd-button {
    flex: 0 0 auto;
    height: 30px;
    margin: 0 6px 0 0;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 30px;
    font-weight: 650;
}

.pd-check-tools { gap: 8px; }

.pd-party-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--pd-muted);
    font-size: 14px;
    font-weight: 650;
}

.pd-party-toggle input {
    appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    flex: none;
    border: 1.5px solid #8aa39d;
    border-radius: 4px;
    background: #fff;
    display: grid;
    place-content: center;
}

.pd-party-toggle input:checked {
    background: var(--pd-accent);
    border-color: var(--pd-accent);
}

.pd-party-toggle input:checked::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

.pd-party-toggle input:focus-visible {
    outline: 2px solid var(--pd-accent);
    outline-offset: 2px;
}

.pd-party {
    position: fixed;
    inset: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.pd-check-tools select,
.pd-check-tools .pd-button {
    height: 42px;
    border: 1px solid var(--pd-line);
    border-radius: 999px;
    background-color: #fff;
    color: var(--pd-ink);
    font: inherit;
    font-size: 16px;
    line-height: 40px;
    padding: 0 16px;
}

.pd-check-tools select {
    appearance: none;
    padding: 0 36px 0 16px;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, #5d6b7a 50%), linear-gradient(135deg, #5d6b7a 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.pd-check-tools .pd-button {
    display: inline-flex;
    align-items: center;
    font-weight: 650;
}

.pd-check-tools .pd-button:hover,
.pd-check-tools select:hover { border-color: #c5d0d8; }

.pd-check-menu {
    position: fixed;
    right: auto;
    z-index: 40;
}

.pd-pills {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.pd-pill {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    border: 1px solid var(--pd-line);
    border-radius: 16px;
    background: #fff;
    color: var(--pd-text);
}

.pd-pill.is-checked {
    background: var(--pd-accent);
    border-color: var(--pd-accent);
    color: #fff;
}

.pd-pill.is-dragging { opacity: 0.45; }

.pd-pill-handle,
.pd-pill-label {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

.pd-pill-handle {
    width: 42px;
    align-self: flex-start;
    min-height: 42px;
    border-radius: 16px 0 0 16px;
    cursor: grab;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.pd-pill-handle .pd-glyph { width: 16px; height: 16px; }

.pd-check-list,
.pd-pills,
.pd-pill-label {
    touch-action: manipulation;
}

.pd-pill-label {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 14px 10px 0;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
    cursor: pointer;
}

.pd-pill-menu {
    left: 42px;
    right: auto;
    top: calc(100% + 4px);
}

@media (max-width: 720px) {
    .pd-filters-toggle {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        border: 1px solid var(--pd-line);
        border-radius: 8px;
        padding: 0 12px;
        background: #fff;
        color: inherit;
        font: inherit;
        font-size: 14px;
        cursor: pointer;
    }

    .pd-task-filters { display: none; padding-top: 0; }

    .pd-task-filters.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .pd-task-filters select { width: 100%; min-height: 44px; font-size: 16px; }

    .pd-task-options { width: 44px; height: 44px; }

    .pd-task {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .pd-task-main {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        width: 100%;
    }

    .pd-task-who { order: -1; max-width: none; flex-wrap: wrap; padding-right: 36px; }

    .pd-task-text { width: 100%; }

    .pd-task-text strong { font-size: 16px; line-height: 1.4; }

    .pd-task .pd-more {
        position: absolute;
        top: 4px;
        right: 0;
    }

    .pd-task select {
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 0;
        justify-self: stretch;
        width: 100%;
        max-width: none;
        min-height: 44px;
        font-size: 16px;
    }

    .pd-task-link {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        row-gap: 6px;
    }

    .pd-task-link .pd-task-text { grid-column: 1; grid-row: 1; }

    .pd-task-link .pd-prio { grid-column: 2; grid-row: 1; }

    .pd-task-link .pd-task-status {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .pd-events-wrap { overflow: visible; }

    .pd-events { width: 100%; }

    .pd-events thead { display: none; }

    .pd-events,
    .pd-events tbody,
    .pd-events tr,
    .pd-events td { display: block; width: auto; }

    .pd-events tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px 12px;
        margin: 0 0 10px;
        padding: 12px;
        border: 1px solid var(--pd-line);
        border-radius: 12px;
        background: #fff;
    }

    .pd-events td { border: 0; padding: 0; }

    .pd-events td:nth-child(1),
    .pd-events td:nth-child(2),
    .pd-events td:nth-child(5) { grid-column: 1 / -1; }

    .pd-events .pd-event-name a {
        font-size: 16px;
        font-weight: 650;
        overflow-wrap: anywhere;
    }

    .pd-events td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 1px;
        color: var(--pd-muted);
        font-size: 11px;
        font-weight: 650;
    }
}

.pd-venue {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--pd-line);
}

.pd-venue-text { min-width: 0; flex: 1; }

.pd-venue-text strong, .pd-venue-text span { display: block; overflow-wrap: break-word; }

.pd-venue-text span { color: var(--pd-muted); font-size: 13px; }

.pd-venue-grip {
    flex: none;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--pd-muted);
    cursor: grab;
    touch-action: none;
}

.pd-venue-times { display: flex; flex-direction: column; gap: 8px; }

.pd-venue-form { padding-top: 8px; }

@media (max-width: 720px) {
    .pd-event-settings { min-width: 0; }

    .pd-event-settings .pd-panel,
    .pd-event-settings .pd-form,
    .pd-event-settings .pd-field,
    .pd-event-settings .pd-grid-2,
    .pd-event-settings .pd-fixed-crew,
    .pd-event-settings .pd-fixed-row,
    .pd-event-settings .pd-member,
    .pd-event-settings .pd-venue { min-width: 0; max-width: 100%; }

    .pd-event-settings input,
    .pd-event-settings select,
    .pd-event-settings textarea {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        font-size: 16px;
    }

    .pd-event-settings .pd-fixed-row .pd-fixed-input { font-size: 16px; }

    .pd-event-settings .pd-member,
    .pd-event-settings .pd-member-actions,
    .pd-event-settings .pd-member-add {
        flex-direction: column;
        align-items: stretch;
    }

    .pd-event-settings .pd-member-actions .pd-button,
    .pd-event-settings .pd-member-add .pd-button,
    .pd-event-settings .pd-actions .pd-button,
    .pd-event-settings .pd-fixed-tools .pd-button,
    .pd-event-danger .pd-button,
    .pd-delete-modal .pd-button {
        min-height: 44px;
        font-size: 16px;
    }

    .pd-event-settings .pd-module-picks { flex-direction: column; align-items: flex-start; }

    .pd-event-settings .pd-venue { align-items: center; gap: 8px; }

    .pd-event-settings .pd-venue-actions { display: none; }

    .pd-event-settings .pd-venue-more { display: block; flex: none; }

    .pd-event-settings .pd-venue-more .pd-icon-button { width: 44px; height: 44px; }

    .pd-event-settings .pd-editor-bar { align-items: flex-start; }
}

.pd-prod {
    min-width: 0;
    max-width: 100%;
    padding: 16px 18px 18px;
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    background: var(--pd-card);
}

.pd-prod-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.pd-prod-top h2 { margin: 0; font-size: 20px; }

.pd-prod-count {
    border-radius: 999px;
    padding: 3px 10px;
    background: #e5f4ea;
    color: #0d6a3c;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}

.pd-prod-bar {
    height: 6px;
    margin: 12px 0 16px;
    border-radius: 999px;
    background: #e6eeeb;
    overflow: hidden;
}

.pd-prod-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--pd-accent);
}

.pd-prod-split { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }

.pd-prod-kicker {
    margin: 0 0 8px;
    color: var(--pd-muted);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pd-prod-locs { display: flex; flex-direction: column; gap: 8px; max-height: calc(100vh - 240px); overflow: auto; }

.pd-prod-loc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    background: #fff;
    padding: 10px 12px;
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.pd-prod-loc.is-on { border-color: var(--pd-accent); box-shadow: inset 0 0 0 1px var(--pd-accent); }

.pd-prod-loc-name { font-weight: 650; overflow-wrap: anywhere; }

.pd-prod-loc-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; max-width: 100%; }

.pd-prod-loc-when {
    color: var(--pd-muted);
    font-size: 12px;
    font-weight: 450;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.pd-prod-pick-when { display: none; }

.pd-prod-pill {
    border-radius: 999px;
    padding: 1px 8px;
    background: #e8edf2;
    color: #526170;
    font-size: 12px;
    font-weight: 650;
}

.pd-prod-pill.is-done { background: #e5f4ea; color: #0d6a3c; }

.pd-prod-edit { display: inline-block; margin-top: 10px; font-size: 13px; }

.pd-prod-pick { display: none; }

.pd-prod-detail { min-width: 0; }

.pd-prod-photos { position: relative; margin: 2px 0 14px; }

.pd-prod-photos-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }

.pd-prod-photos-head .pd-prod-kicker { margin: 0; }

.pd-prod-photo-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    min-height: 32px;
    padding: 4px 10px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.pd-prod-photo-add svg { display: block; }

.pd-prod-photos input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.pd-prod-photo-row { display: flex; gap: 8px; overflow-x: auto; min-height: 0; }

.pd-prod-photos.is-over { background: #f3faf8; border-radius: 8px; }

.pd-prod-photo {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #eef2f3;
    cursor: pointer;
}

.pd-prod-photos.is-single .pd-prod-photo { width: 148px; height: 112px; }

.pd-prod-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pd-prod-photo-empty { margin: 0; font-size: 13px; }

.pd-photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 64px;
    background: rgba(18, 24, 28, 0.88);
}

.pd-photo-lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    object-fit: contain;
}

.pd-photo-close,
.pd-photo-nav,
.pd-photo-delete {
    position: absolute;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.pd-photo-close { top: 16px; right: 16px; width: 40px; height: 40px; font-size: 24px; }

.pd-photo-nav { top: 50%; width: 40px; height: 40px; font-size: 28px; transform: translateY(-50%); }

.pd-photo-nav.is-prev { left: 16px; }

.pd-photo-nav.is-next { right: 16px; }

.pd-photo-delete { left: 50%; bottom: 16px; transform: translateX(-50%); min-height: 40px; padding: 8px 14px; }

.pd-prod-fold-toggle {
    display: flex;
    align-items: baseline;
    gap: 8px;
    width: 100%;
    margin: 0 0 8px;
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    text-align: left;
    color: inherit;
    pointer-events: none;
}

.pd-prod-fold-toggle .pd-note-caret { display: none; }

.pd-prod-group:first-child .pd-prod-fold-toggle { flex-direction: column; align-items: flex-start; gap: 2px; }

.pd-prod-fold-toggle strong { font-size: 18px; }

.pd-prod-fold-extra { color: var(--pd-muted); font-size: 14px; overflow-wrap: anywhere; }

.pd-prod-fold p { margin: 0 0 6px; overflow-wrap: anywhere; }

.pd-prod-fold[hidden] { display: block; }

.pd-prod-group + .pd-prod-group { margin-top: 18px; }

.pd-prod-q { margin: 0 0 16px; min-width: 0; }

.pd-prod-question {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 6px;
}

.pd-prod-question .pd-venue-grip,
.pd-prod-question .pd-icon-button { width: 28px; height: 28px; }

.pd-prod-question p { margin: 2px 0 0; flex: 1; overflow-wrap: anywhere; }

.pd-vol-top,
.pd-vol-pick,
.pd-crew-show {
    background: var(--pd-card);
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    padding: 14px 16px;
}

.pd-vol-top-head,
.pd-vol-show,
.pd-crew-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pd-vol-top-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
    flex-wrap: wrap;
}

.pd-vol-export {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 4px 10px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.pd-vol-export svg { width: 15px; height: 15px; flex: none; }

.pd-vol-top h2,
.pd-vol-pick h3,
.pd-crew-show h3 { margin: 0; font-size: 16px; }

.pd-vol-kpis {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.pd-vol-stat { min-width: 0; }

.pd-vol-stat strong {
    display: block;
    font-size: 22px;
    line-height: 1.1;
}

.pd-vol-stat span {
    display: block;
    margin-top: 2px;
    color: var(--pd-muted);
    font-size: 12px;
}

.pd-vol-split { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); column-gap: 18px; align-items: start; }

.pd-vol-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
    grid-column: 1;
    grid-row: 1 / span 2;
    min-width: 0;
    align-self: stretch;
}

.pd-vol-main { display: flex; flex-direction: column; gap: 18px; grid-column: 2; grid-row: 2; min-width: 0; }
.pd-vol-main .pd-crew-directory,
.pd-vol-main .pd-crew-show { width: 100%; margin: 0; }

.pd-vol-select { display: none; }

.pd-vol-shows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    max-height: min(70vh, 640px);
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-gutter: stable;
}

.pd-vol-show {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border: 1px solid var(--pd-line);
    border-radius: 10px;
    background: #fff;
    padding: 8px 10px;
    font: inherit;
    text-align: left;
    white-space: normal;
    cursor: pointer;
}

.pd-vol-show.is-on { border-color: var(--pd-accent); background: #f3faf8; }

.pd-vol-show-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.pd-vol-show-copy strong,
.pd-vol-show-copy small {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 1.35;
}

.pd-vol-show-copy strong { font-weight: 650; }

.pd-vol-show small { color: var(--pd-muted); font-size: 12px; }

.pd-vol-show .pd-prod-pill { flex: none; margin-top: 1px; }

.pd-contact-kind { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.pd-contact-kind label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid #c9d1d9; border-radius: 8px; background: #fff; }
.pd-contact-kind label:has(input:checked) { border-color: #0f6e62; background: #f3faf8; }
.pd-contact-form input[type="radio"],
.pd-supplier input[type="radio"] { appearance: none; width: 18px; height: 18px; margin: 0; border: 1px solid #8aa39d; border-radius: 50%; background: #fff; }
.pd-contact-form input[type="radio"]:checked,
.pd-supplier input[type="radio"]:checked { border-color: #0f6e62; background: radial-gradient(circle, #0f6e62 0 5px, #fff 6px); }
.pd-contact-supplier[hidden], .pd-contact-volunteer[hidden], .pd-supplier-new[hidden] { display: none; }
.pd-supplier > h2,
.pd-supplier > p,
.pd-supplier-list > p,
.pd-supplier-edit h3,
.pd-supplier-edit p,
.pd-supplier-lines > p { margin: 0; }
.pd-supplier .pd-contact-kind { margin: 0; }
.pd-supplier .pd-button { min-height: 44px; line-height: 24px; }
.pd-supplier .pd-fold { min-width: 0; }
.pd-supplier .pd-fold-toggle { gap: 12px; align-items: flex-start; }
.pd-supplier .pd-fold-toggle::after { flex: none; margin-top: 2px; }
.pd-supplier-fold-copy { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.pd-supplier-fold-copy strong,
.pd-supplier-fold-copy span { display: block; min-width: 0; overflow-wrap: anywhere; white-space: normal; line-height: 1.35; }
.pd-supplier-fold-copy span { color: var(--pd-muted); font-size: 13px; font-weight: 400; }
.pd-supplier-list { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pd-supplier-lines { display: flex; flex-direction: column; gap: 8px; }
.pd-supplier-line { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.pd-supplier-line .pd-button { white-space: nowrap; }
.pd-supplier label.pd-button { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.pd-supplier-file { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pd-supplier-file .pd-button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: left; }
@media (max-width: 720px) {
    .pd-supplier-line { grid-template-columns: 1fr; }
    .pd-supplier-line .pd-button,
    .pd-supplier .pd-actions .pd-button,
    .pd-supplier label.pd-button { width: 100%; }
    .pd-contact-kind label { min-height: 44px; }
}

.pd-crew-board { display: block; }

.pd-crew-show { width: 100%; }

.pd-crew-show h3 { margin: 0; font-size: 16px; }

.pd-crew-show header p { margin: 2px 0 8px; color: var(--pd-muted); }

.pd-crew-group {
    margin-top: 10px;
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.pd-crew-show-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.pd-crew-show-head p { margin: 0; color: var(--pd-muted); font-size: 13px; }

.pd-crew-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 14px 10px;
    background: #fff;
}

.pd-crew-head-top {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pd-crew-title { display: flex; flex-direction: column; min-width: 0; }

.pd-crew-sub { color: var(--pd-muted); font-size: 12px; font-weight: 500; }

.pd-crew-toggle .pd-note-caret {
    flex: none;
    font-weight: 400;
    line-height: 1;
}

.pd-crew-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    min-height: 36px;
    border: 0;
    background: transparent;
    padding: 4px 6px;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    user-select: text;
}

.pd-crew-group-name { min-width: 0; overflow-wrap: anywhere; }

.pd-crew-chevron {
    flex: none;
    width: 14px;
    color: var(--pd-muted);
    font-size: 12px;
}

.pd-crew-leadbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding: 0 6px;
}

.pd-crew-leadlabel { color: var(--pd-muted); font-size: 13px; font-weight: 500; }

.pd-crew-leadchip {
    border-radius: 999px;
    background: #e8edf2;
    color: #3c4b59;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 650;
}

.pd-crew-leadbox input {
    width: 9rem;
    height: 28px;
    border: 0;
    border-radius: 999px;
    padding: 0 10px;
    font: inherit;
    font-size: 13px;
    text-align: right;
    background: #e8edf2;
}

.pd-crew-lead {
    display: block;
    margin: 0;
    padding: 4px 2px;
    font-size: 13px;
    text-align: right;
    user-select: text;
}

.pd-crew-lead span { display: block; color: var(--pd-muted); font-size: 11px; font-weight: 500; }

.pd-crew-group-body { padding: 0 14px 8px; }

.pd-crew-group-body[hidden] { display: none; }

.pd-crew-lead-field { margin: 4px 0 0 8px; }

.pd-crew-slot {
    display: block;
    padding: 12px 0;
    border-top: 1px solid var(--pd-line);
}

.pd-crew-slot .pd-venue-grip {
    width: 0;
    height: 22px;
    margin-left: auto;
    padding: 0;
    overflow: hidden;
    opacity: 0;
}

.pd-crew-slot:hover .pd-venue-grip,
.pd-crew-slot:focus-within .pd-venue-grip {
    width: 16px;
    opacity: 1;
}

.pd-crew-slot .pd-more { margin-left: 4px; }

.pd-crew-slot .pd-icon-button {
    width: 28px;
    height: 28px;
}

.pd-crew-line {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-weight: 650;
}

.pd-crew-line strong { flex: none; font-size: 14px; font-weight: 650; }

.pd-crew-dash { flex: none; color: var(--pd-muted); }

.pd-crew-line .pd-crew-name { flex: 0 1 auto; width: auto; min-width: 0; }

.pd-crew-person {
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.pd-crew-body { flex: 1; min-width: 0; }

.pd-crew-name { position: relative; }

.pd-crew-body input:not([type="checkbox"]), .pd-crew-body select, .pd-crew-person input, .pd-crew-person select {
    width: 14rem;
    max-width: 100%;
    height: 24px;
    border: 0;
    border-radius: 6px;
    padding: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--pd-muted);
    background: transparent;
}

.pd-crew-name input:focus {
    outline: none;
    background: #f4f7f8;
    padding: 0 6px;
}

.pd-crew-body input.pd-crew-lead-input { font-weight: 700; }

.pd-crew-checks { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }

.pd-checkpill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-height: 26px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #e8edf2;
    color: #7d8b99;
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
    white-space: nowrap;
    cursor: pointer;
}

.pd-checkpill input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pd-checkpill:has(input:checked) {
    border-color: #b7e0c8;
    background: #e5f4ea;
    color: #0d6a3c;
}

.pd-checkpill:has(input:checked) span::before { content: "✓ "; }

.pd-checkpill:has(input:focus-visible) {
    outline: 2px solid var(--pd-accent);
    outline-offset: 2px;
}

@media (max-width: 720px) {
    .pd-vol-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pd-vol-top, .pd-vol-pick, .pd-crew-show { padding: 12px; }
    .pd-vol-split { display: block; }
    .pd-vol-side { display: none; }
    .pd-vol-select {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-bottom: 12px;
        border: 1px solid #c9d1d9;
        border-radius: 8px;
        padding: 10px 36px 10px 12px;
        min-height: 44px;
        background-color: #fff;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%235d6b7a' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        color: inherit;
        font: inherit;
        font-size: 16px;
        appearance: none;
        -webkit-appearance: none;
    }
    .pd-vol-show, .pd-crew-toggle, .pd-vol-export { min-height: 44px; }
    .pd-vol-export { padding: 8px 12px; font-size: 16px; }
    .pd-crew-head { flex-wrap: wrap; }
    .pd-checkpill { min-height: 32px; }
    .pd-crew-name input, .pd-crew-leadbox input { font-size: 16px; }
}

.pd-crew-directory-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
}

.pd-crew-count {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--pd-info-bg);
    color: var(--pd-accent-dark);
    font-size: 13px;
}

.pd-crew-directory-body { margin-top: 12px; }

.pd-crew-add {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.pd-crew-add input {
    flex: 1;
    min-width: 0;
    height: 40px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    padding: 0 10px;
    font: inherit;
    background: #fff;
}

.pd-crew-add button { height: 40px; flex: none; }

.pd-crew-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.pd-score {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pd-score button {
    min-width: 28px;
    min-height: 28px;
    border: 1px solid var(--pd-line);
    border-radius: 999px;
    background: #fff;
    color: var(--pd-ink);
    padding: 0 8px;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.pd-score button.is-on {
    border-color: var(--pd-accent);
    background: var(--pd-accent);
    color: #fff;
}

.pd-score button:disabled { cursor: default; }

.pd-person-actions { gap: 6px; }

.pd-person-actions .pd-button {
    height: 30px;
    padding: 0 10px;
    font-size: 13px;
}

.pd-person-label { font-size: 13px; color: var(--pd-muted); }

.pd-location-list { display: flex; flex-wrap: wrap; gap: 6px; }

.pd-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    padding: 2px 4px 2px 10px;
    border-radius: 999px;
    background: var(--pd-info-bg);
    color: var(--pd-accent-dark);
    font-size: 13px;
    user-select: text;
}

.pd-location button {
    border: 0;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.pd-person {
    padding: 0;
    border-top: 1px solid var(--pd-line);
}

.pd-person-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    border: 0;
    background: transparent;
    padding: 6px 0;
    font: inherit;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
    user-select: text;
}

.pd-person-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.pd-person-row .pd-person-name {
    flex: 1;
    width: auto;
    min-width: 0;
}

.pd-person-row .pd-person-name span {
    overflow-wrap: anywhere;
}

.pd-person-note-button {
    flex: none;
    width: 36px;
    height: 36px;
    touch-action: manipulation;
}

.pd-person-note-button[aria-expanded="true"] {
    color: #0f6e62;
    border-color: #0f6e62;
    background: #f3faf8;
}

.pd-person-note-preview,
.pd-crew-remark {
    margin: 0 0 8px;
    color: var(--pd-muted);
    font-size: 13px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.pd-crew-remark { margin: 2px 0 0; }

.pd-crew-note {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    margin: 4px 0 0;
}

.pd-person .pd-crew-note { margin: 0 0 8px; }

.pd-crew-note > span:first-child { color: var(--pd-muted); font-size: 12px; font-weight: 650; }

.pd-crew-note textarea {
    display: block;
    width: 100%;
    min-height: 40px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    padding: 8px 10px;
    background: #fff;
    color: inherit;
    font: inherit;
    resize: vertical;
    max-height: 96px;
    line-height: 1.35;
    touch-action: manipulation;
}

.pd-crew-note .pd-person-note-status:empty { display: none; }

.pd-person-note-preview[hidden],
.pd-crew-remark[hidden],
.pd-person-note[hidden] { display: none; }

.pd-person-note {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 0 0 10px;
}

.pd-person-note textarea {
    display: block;
    width: 100%;
    min-height: 72px;
    max-height: 160px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    color: inherit;
    font: inherit;
    resize: vertical;
    touch-action: manipulation;
}

.pd-person-note textarea[readonly] { background: #f7f9f8; }

.pd-person-note-status {
    min-height: 1em;
    color: var(--pd-muted);
    font-size: 12px;
}

@media (max-width: 720px) {
    .pd-person-note-button { width: 44px; height: 44px; }
    .pd-crew-note textarea { font-size: 16px; min-height: 44px; padding: 10px 12px; }
    .pd-person-note textarea,
    .pd-modal .pd-field textarea { font-size: 16px; max-width: 100%; }
    .pd-crew-directory, .pd-person, .pd-person-note { max-width: 100%; }
}

.pd-person-more {
    display: grid;
    gap: 4px;
    padding: 0 0 10px;
    user-select: text;
}

.pd-person-more[hidden] { display: none; }

.pd-person-more span, .pd-person-jobs span { display: block; }

.pd-prod textarea {
    display: block;
    width: 100%;
    min-height: 36px;
    max-height: 140px;
    resize: none;
    overflow: auto;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    padding: 6px 8px;
    font: inherit;
    font-size: 14px;
    line-height: 1.35;
    color: inherit;
    background: #fff;
}

.pd-prod-add { margin-top: 4px; }

.pd-prod-add input { flex: 1; max-width: 420px; min-height: 36px; }

@media (max-width: 720px) {
    .pd-prod { padding: 14px; }

    .pd-prod-split { display: block; }

    .pd-prod-side { display: none; }

    .pd-prod-pick {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 44px;
        margin-bottom: 6px;
        font-size: 16px;
    }

    .pd-prod-pick-when {
        display: block;
        margin: 0 0 12px;
        color: var(--pd-muted);
        font-size: 13px;
        line-height: 1.35;
    }

    .pd-prod-fold-toggle,
    .pd-prod-group:first-child .pd-prod-fold-toggle {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        min-height: 44px;
        margin: 0;
        pointer-events: auto;
        cursor: pointer;
    }

    .pd-prod-fold-toggle .pd-note-caret { display: inline; }

    .pd-prod-fold { padding-top: 8px; }

    .pd-prod-fold[hidden] { display: none; }

    .pd-prod textarea { min-height: 44px; font-size: 16px; }

    .pd-prod-add { flex-direction: column; align-items: stretch; }

    .pd-prod-add input { max-width: none; min-height: 44px; font-size: 16px; }

    .pd-prod-photo-add { min-height: 44px; }

    .pd-photo-lightbox { padding: 64px 12px 72px; }

    .pd-photo-nav { width: 44px; height: 44px; }
}

.pd-prod textarea[readonly] { background: #f6f8f9; }

.pd-prod-status { min-height: 1.2em; }

.pd-cater-board {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
}

.pd-cater {
    flex: 0 0 300px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    background: #fff;
}

.pd-cater.is-overdue { border-color: #e2c36a; background: #fffaf0; }

.pd-cater.is-sent, .pd-cater.is-late { border-color: #b7d7c8; background: #f3faf6; }

.pd-cater-head h3 { margin: 4px 0 0; font-size: 18px; }

.pd-cater-head .pd-muted { margin: 2px 0 8px; font-size: 13px; }

.pd-cater-add input, .pd-allergy-add input {
    width: 100%;
    border: 1px solid #c9d1d9;
    border-radius: 6px;
    padding: 4px 8px;
    font: inherit;
    font-size: 13px;
    line-height: 1.35;
    background: #fff;
    color: inherit;
}

.pd-cater-date { margin: 0; color: var(--pd-muted); font-size: 13px; font-weight: 650; }

.pd-cater-deadline { margin: 0 0 8px; color: var(--pd-muted); font-size: 13px; }

.pd-cater.is-overdue .pd-cater-deadline, .pd-cater.is-overdue .pd-cater-status { color: #7a5200; }

.pd-cater-status {
    border: 0;
    border-radius: 999px;
    padding: 4px 10px;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    background: #eef1f4;
    color: #314052;
}

.pd-cater.is-overdue .pd-cater-status { background: #f3e2b0; }

.pd-cater.is-sent .pd-cater-status, .pd-cater.is-late .pd-cater-status { background: #cfe8dc; color: #0d6a3c; }

.pd-cater-summary.is-done p { color: #0d6a3c; font-weight: 650; }

.pd-cater-summary.is-overdue { border-color: #e2c36a; }

.pd-cater-block h4 {
    display: flex;
    justify-content: space-between;
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 650;
}

.pd-cater-name {
    font-size: 13px;
    line-height: 1.35;
    font-weight: 650;
}

.pd-cater-add, .pd-allergy-add { display: flex; gap: 6px; margin-bottom: 4px; }

.pd-cater-add[hidden], .pd-allergy-add[hidden] { display: none; }

.pd-cater-add .pd-button, .pd-allergy-add .pd-button { padding: 7px 10px; }

.pd-cater-names, .pd-allergy { display: flex; flex-wrap: wrap; gap: 2px; }

.pd-cater-chip, .pd-cater-allergy {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    max-width: 100%;
    border-radius: 999px;
    padding: 0 0 0 6px;
    background: #fff;
    border: 1px solid var(--pd-line);
    font-size: 13px;
    line-height: 1.35;
}

.pd-cater-chip > span, .pd-cater-allergy > span { padding: 1px 0; overflow-wrap: anywhere; }

.pd-cater-allergy { background: #f8ecec; border-color: #e4c7c7; color: var(--pd-danger); font-weight: 650; }

.pd-cater-chip button, .pd-cater-allergy button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    line-height: 1;
}

.pd-cater-allergy-row, .pd-cater-person {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
    padding: 1px 0;
}

.pd-cater-diet { color: var(--pd-danger); font-size: 13px; line-height: 1.35; font-weight: 650; }

.pd-cater-kind { color: var(--pd-muted); font-size: 12px; line-height: 1.35; }

.pd-cater-edit {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--pd-muted);
    font: inherit;
    font-size: 12px;
    line-height: 1.35;
    cursor: pointer;
}

.pd-cater-edit:hover { color: inherit; }

.pd-cater-search { position: relative; flex: 1; }

.pd-cater-search .pd-suggest { top: auto; bottom: calc(100% + 4px); }

.pd-cater-hint { margin: 4px 0 0; font-size: 12px; }

.pd-cater > .pd-button { align-self: flex-start; padding: 6px 10px; font-size: 13px; }

.pd-cater-message {
    width: 100%;
    min-height: 280px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid var(--pd-line);
    border-radius: 8px;
    background: #f7f8f9;
    color: inherit;
    font: inherit;
    font-size: 14px;
    line-height: 1.45;
    resize: vertical;
}

.pd-cater-summary p { margin: 0; }

.pd-cater-counts { display: grid; gap: 2px; font-size: 13px; }

.pd-cater-counts p, .pd-cater-final { display: flex; justify-content: space-between; gap: 8px; margin: 0; }

.pd-cater-counts .is-total { font-size: 15px; }

.pd-cater-final {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--pd-line);
}

.pd-cater-where { margin: 0; font-weight: 650; }

.pd-cater-final label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 650; }

@media (max-width: 720px) {
    .pd-overview-counts { grid-template-columns: minmax(0, 1fr); }
    .pd-cater { flex-basis: 100%; }
    .pd-cater-add input, .pd-allergy-add input { min-height: 44px; font-size: 16px; }
    .pd-cater-status { min-height: 36px; }
    .pd-filter-reset, .pd-ratio-input { width: 100%; min-height: 44px; }
    .pd-module-picks { gap: 8px 12px; }
}

.pd-filter-reset { padding: 7px 10px; }
.pd-filter-reset.is-on { color: var(--pd-ink); border-color: var(--pd-ink); }

.pd-module-picks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 8px 0;
}

.pd-ratio { display: flex; flex-direction: column; gap: 6px; }
.pd-ratio-top, .pd-ratio-scale { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.pd-ratio-top strong { font-weight: 650; }
.pd-ratio-scale { color: var(--pd-muted); }
.pd-ratio-input { width: 100%; accent-color: var(--pd-ink); }

.pd-person-name { width: 100%; text-align: left; }

.pd-plan { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.pd-plan-summary, .pd-plan-card {
    background: #fff;
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    box-shadow: var(--pd-shadow);
}
.pd-plan-summary { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.pd-plan-top, .pd-plan-progress-top, .pd-plan-tools, .pd-plan-head, .pd-plan-side, .pd-plan-foot, .pd-plan-task {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px 12px;
}
.pd-plan h2 { margin: 0; font-size: 1.15rem; }
.pd-plan h3 { margin: 0; font-size: 0.95rem; }
.pd-plan-top p, .pd-plan-name p { margin: 2px 0 0; color: var(--pd-muted); font-size: 13px; }
.pd-plan-track, .pd-plan-badge {
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
}
.pd-plan-track.is-ok, .pd-plan-badge.is-done { background: #e5f4ea; color: #0d6a3c; }
.pd-plan-track.is-late, .pd-plan-badge.is-late { background: #f8ecec; color: #8d2e2e; }
.pd-plan-badge.is-doing { background: #fbf4e6; color: #7a5200; }
.pd-plan-badge.is-open { background: #eef1f4; color: #5d6b7a; }
.pd-plan-progress { display: flex; flex-direction: column; gap: 6px; }
.pd-plan-progress-top { align-items: baseline; color: var(--pd-muted); font-size: 13px; }
.pd-plan-progress-top strong { color: var(--pd-ink); font-size: 14px; }
.pd-plan-bar { height: 6px; border-radius: 999px; background: #e6ebf0; overflow: hidden; }
.pd-plan-bar span { display: block; height: 100%; background: #0f6e62; }
.pd-plan-tools { align-items: center; }
.pd-plan-text {
    border: 0;
    background: transparent;
    color: var(--pd-accent-dark);
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    padding: 4px 2px;
    cursor: pointer;
}
.pd-plan-add { align-self: flex-start; }
.pd-plan-line { display: flex; flex-direction: column; }
.pd-plan-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; }
.pd-plan-item:not(:last-child) { padding-bottom: 10px; }
.pd-plan-rail { position: relative; }
.pd-plan-rail::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 18px;
    bottom: -10px;
    width: 2px;
    background: #d5dee6;
}
.pd-plan-item:last-child .pd-plan-rail::before { bottom: auto; height: 0; }
.pd-plan-dot {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    margin-top: 14px;
    border: 2px solid #c5d0d8;
    border-radius: 50%;
    background: #fff;
    color: #5d6b7a;
    display: grid;
    place-items: center;
    font-size: 11px;
    line-height: 1;
}
.pd-plan-dot.is-done { background: #e5f4ea; border-color: #8fceb0; color: #0d6a3c; }
.pd-plan-dot.is-doing { border-color: #e2a04a; background: #fbf4e6; color: #9a5b00; }
.pd-plan-dot.is-late { background: #f8ecec; border-color: #e3a3a3; color: #8d2e2e; }
.pd-plan-card { padding: 12px 14px; min-width: 0; }
.pd-plan-head { align-items: flex-start; }
.pd-plan-toggle {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
}
.pd-plan-toggle .pd-note-caret { margin-top: 2px; }
.pd-plan-fold[hidden] { display: none; }
.pd-plan-name { min-width: 0; }
.pd-plan-name strong { display: block; overflow-wrap: anywhere; }
.pd-plan-side { align-items: center; flex: none; }
.pd-plan-note { margin: 8px 0 0; color: var(--pd-muted); font-size: 13px; }
.pd-plan-tasks { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.pd-plan-task { align-items: center; justify-content: flex-start; min-height: 32px; }
.pd-plan-check, .pd-plan-task-name, .pd-plan-unlink {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    padding: 0;
}
.pd-plan-check {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 2px solid #c5d0d8;
    border-radius: 50%;
    color: #0d6a3c;
    font-size: 10px;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.pd-plan-check.is-done { background: #e5f4ea; border-color: #8fceb0; }
.pd-plan-check.is-doing { border-color: #e2a04a; color: #9a5b00; background: #fbf4e6; }
.pd-plan-task-name { min-width: 0; overflow-wrap: anywhere; cursor: pointer; text-align: left; font-size: 14px; }
.pd-plan-task-name.is-done { color: #6d7b78; text-decoration: line-through; }
.pd-plan-unlink {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: var(--pd-muted);
    font-size: 16px;
    cursor: pointer;
}
.pd-plan-unlink:hover { background: #eef2f4; color: var(--pd-ink); }
.pd-plan-foot { align-items: center; margin-top: 8px; }
.pd-plan-count { color: var(--pd-muted); font-size: 13px; }
.pd-plan .pd-more-button { width: 32px; height: 32px; }

@media (max-width: 720px) {
    .pd-plan { max-width: none; }
    .pd-plan-top { flex-wrap: wrap; }
    .pd-plan-card { padding: 12px; }
    .pd-plan-foot { flex-wrap: wrap; }
}

.pd-wizard-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }

.pd-wizard-steps button {
    min-height: 36px;
    border: 1px solid var(--pd-line);
    border-radius: 999px;
    background: #fff;
    padding: 4px 12px;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.pd-wizard-steps .is-on { border-color: var(--pd-accent); background: #f3faf8; color: var(--pd-accent-dark); font-weight: 650; }

.pd-wizard-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }

.pd-staff { display: flex; flex-direction: column; gap: 8px; }

.pd-staff-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    margin: 0;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    background: #fff;
    padding: 8px 10px 8px 12px;
}

.pd-staff-row span { font-weight: 650; }

.pd-staff-row input {
    width: 76px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    background: #f7fbfa;
    padding: 8px 10px;
    font: inherit;
    color: inherit;
    text-align: center;
}

.pd-role-board { margin: 14px 0; }

.pd-role-board h3 { margin: 0 0 8px; }

.pd-role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.pd-role-col { border: 1px solid var(--pd-line); border-radius: 12px; background: #f7fbfa; padding: 10px; }

.pd-role-col p { margin: 0 4px 8px; color: var(--pd-muted); font-size: 12px; font-weight: 650; }

.pd-role-col > button {
    display: block;
    width: 100%;
    min-height: 40px;
    margin-bottom: 8px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    background: #fff;
    padding: 8px 12px;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.pd-role-col > button:hover { border-color: var(--pd-accent); background: #f3faf8; }

.pd-role-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
}

.pd-role-line > button {
    flex: 1;
    min-width: 0;
    min-height: 40px;
    border: 0;
    background: transparent;
    padding: 8px;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.pd-wizard .pd-role-line input,
.pd-wizard .pd-role-col .pd-inline input {
    flex: 1;
    min-width: 0;
    width: auto;
    max-width: none;
    min-height: 40px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    background: #fff;
    padding: 8px 10px;
    font: inherit;
    color: inherit;
}

.pd-wizard label.pd-check input[type="radio"],
.pd-wizard label.pd-check input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    flex: none;
    border: 1.5px solid #8aa39d;
    background: #fff;
    display: grid;
    place-content: center;
}

.pd-wizard label.pd-check input[type="radio"] { border-radius: 50%; }

.pd-wizard label.pd-check input[type="checkbox"] { border-radius: 4px; }

.pd-wizard label.pd-check input[type="radio"]:checked { border-color: var(--pd-accent); }

.pd-wizard label.pd-check input[type="radio"]:checked::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--pd-accent);
}

.pd-wizard label.pd-check input[type="checkbox"]:checked {
    background: var(--pd-accent);
    border-color: var(--pd-accent);
}

.pd-wizard label.pd-check input[type="checkbox"]:checked::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

.pd-wizard label.pd-check input:focus-visible {
    outline: 2px solid var(--pd-accent);
    outline-offset: 2px;
}

.pd-wizard .pd-auto-choice .pd-check { min-height: 44px; }

.pd-wizard-deal {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) 120px minmax(0, 1.3fr) auto;
    gap: 8px;
    align-items: end;
    margin-bottom: 8px;
}

.pd-wizard-user, .pd-wizard-venue {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--pd-line);
}

.pd-wizard-user select, .pd-wizard input, .pd-wizard textarea { max-width: 100%; }

@media (max-width: 720px) {
    .pd-role-grid, .pd-wizard .pd-grid-2, .pd-wizard-deal { grid-template-columns: 1fr; }
    .pd-wizard-nav { flex-direction: column; }
    .pd-wizard-nav .pd-button, .pd-wizard .pd-button { width: 100%; }
    .pd-wizard input, .pd-wizard select, .pd-wizard textarea { font-size: 16px; }
    .pd-role-line { flex-wrap: wrap; }
    .pd-role-line > button, .pd-role-line input { flex: 1 1 100%; }
}

.pd-fold-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    font-size: 1.15rem;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
}

.pd-fold-toggle::after { content: "▸"; color: var(--pd-muted); }

.pd-fold-toggle[aria-expanded="true"]::after { content: "▾"; }

.pd-fold-body { padding-top: 4px; }

.pd-org-form h3 { margin: 2px 0 0; font-size: 14px; color: #0f6e62; }

.pd-org-form { margin-top: 4px; margin-bottom: 28px; }
.pd-account-form { margin-bottom: 28px; }
.pd-subfold { margin: 4px 0 0; }
.pd-subfold .pd-fold-toggle { font-size: 1rem; }

.pd-fold-launch .pd-fold-toggle {
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    background: #fff;
    padding: 10px 14px;
}

.pd-fold-launch .pd-fold-toggle:hover { border-color: #8aa39d; background: #f7fbfa; }

.pd-org-picks { display: flex; flex-direction: column; gap: 8px; }

.pd-org-picks label {
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    background: #fff;
}

.pd-org-picks label:has(input:checked) { border-color: #0f6e62; background: #f3faf8; }

.pd-account-form .pd-field > span { font-weight: 650; }

@media (max-width: 720px) {
    .pd-account-modal .pd-field input,
    .pd-account-modal .pd-field select { font-size: 16px; }
    .pd-account-modal .pd-actions .pd-button { width: 100%; }
}

.pd-users-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.pd-users-actions .pd-button { min-height: 44px; }

.pd-fold-body > p { margin: 0 0 8px; }

.pd-fold label.pd-check input[type="checkbox"],
.pd-account-form label.pd-check input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    flex: none;
    border: 1.5px solid #8aa39d;
    border-radius: 4px;
    background: #fff;
    display: grid;
    place-content: center;
}

.pd-fold label.pd-check input[type="checkbox"]:checked,
.pd-account-form label.pd-check input[type="checkbox"]:checked {
    background: var(--pd-accent);
    border-color: var(--pd-accent);
}

.pd-fold label.pd-check input[type="checkbox"]:checked::after,
.pd-account-form label.pd-check input[type="checkbox"]:checked::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

.pd-fold label.pd-check input[type="checkbox"]:focus-visible,
.pd-account-form label.pd-check input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--pd-accent);
    outline-offset: 2px;
}

.pd-auto-choice { margin: 0; border: 1px solid var(--pd-line); border-radius: 12px; padding: 12px; }

.pd-auto-choice legend { padding: 0 4px; font-weight: 650; }

.pd-auto-list { border: 1px solid var(--pd-line); border-radius: 10px; overflow: hidden; }

.pd-auto-task + .pd-auto-task { border-top: 1px solid var(--pd-line); }

.pd-auto-line {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 42px;
    border: 0;
    background: #fff;
    padding: 6px 12px;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.pd-auto-line strong { flex: 1; min-width: 0; font-size: 14px; }

.pd-auto-line span { flex: none; color: var(--pd-muted); font-size: 12px; }

.pd-auto-task.is-open .pd-auto-line { background: #f3faf8; }

.pd-auto-edit { display: grid; gap: 8px; padding: 8px 12px 10px; background: #f7f9fa; }

.pd-auto-edit .pd-field { gap: 3px; }

.pd-auto-edit .pd-field input,
.pd-auto-edit .pd-field select,
.pd-auto-edit .pd-field textarea { padding: 7px 10px; }

.pd-auto-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 8px; }

.pd-auto-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }

.pd-auto-edit .pd-auto-actions { margin-top: 0; }

.pd-auto-tree { list-style: none; margin: 8px 0; padding: 0; }

.pd-auto-tree .pd-auto-tree { margin-left: 16px; padding-left: 8px; border-left: 2px solid var(--pd-line); }

.pd-auto-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.pd-auto-row input[type="text"] { flex: 1 1 160px; min-width: 0; }

.pd-auto-row .is-dragging, .pd-auto-tree .is-dragging { opacity: 0.45; }

@media (max-width: 720px) {
    .pd-fold-body input, .pd-fold-body select, .pd-fold-body textarea { font-size: 16px; }
    .pd-auto-row .pd-button { width: auto; }
    .pd-auto-grid { grid-template-columns: 1fr; }
    .pd-auto-line { align-items: flex-start; flex-direction: column; gap: 2px; padding-top: 8px; padding-bottom: 8px; }
    .pd-auto-line span { text-align: left; }
}

.pd-log { display: flex; flex-direction: column; gap: 10px; }

.pd-log-fold {
    border: 1px solid #e3e8ec;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.pd-log-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 8px;
    background: #f7f8f8;
}

.pd-log-exports { display: flex; align-items: center; gap: 8px; flex: none; }

.pd-log-export {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 4px 10px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}

.pd-log-export svg { width: 15px; height: 15px; flex: none; }

.pd-log-export:disabled { opacity: 0.6; cursor: wait; }

.pd-log-toggle {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
}

.pd-log-caret { width: 1em; color: #0f6e62; }

.pd-log-toggle-title { flex: 1; }

.pd-log-panel { padding: 12px 14px 16px; }

.pd-log-panel[hidden] { display: none; }

.pd-log-figures {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.pd-log-figure {
    padding: 12px;
    border-radius: 10px;
    background: #f7f8f8;
}

.pd-log-figure strong {
    display: block;
    font-size: 28px;
    line-height: 1.1;
}

.pd-log-figure span { color: var(--pd-muted); font-size: 13px; }

.pd-log-figure .is-complete { color: #0f6e62; }
.pd-log-figure .is-progress { color: #9a6700; }
.pd-log-figure .is-open { color: #b42318; }

.pd-log-line, .pd-log-card {
    padding: 12px 0;
    border-top: 1px solid #eef1f3;
}
.pd-log-run {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    align-items: start;
    min-width: 0;
    padding: 8px 0;
    border-top: 1px solid #eef1f3;
}
.pd-log-run-grid {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: minmax(9rem, 1.6fr) minmax(8rem, 1fr) minmax(8rem, 1fr);
    gap: 8px 16px;
    min-width: 0;
}
.pd-log-run-cell { min-width: 0; }
.pd-log-run-cell span { display: block; color: var(--pd-muted); font-size: 12px; font-weight: 650; }
.pd-log-run-cell strong { display: block; font-size: 14px; font-weight: 650; overflow-wrap: break-word; }
.pd-log-run-pair { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 2px; min-width: 0; }
.pd-log-run-pair strong { flex: 0 1 auto; max-width: 100%; }
.pd-log-run-pair em { flex: 1 1 12rem; min-width: min(100%, 12rem); max-width: 100%; margin: 0; }
.pd-log-run-cell em { display: block; margin-top: 2px; color: var(--pd-muted); font-size: 13px; font-style: normal; font-weight: 650; overflow-wrap: break-word; }
.pd-log-run-pair em { margin-top: 0; }
.pd-log-run .pd-more { grid-column: 2; grid-row: 1; align-self: start; }
.pd-log-run .pd-icon-button { width: 44px; height: 44px; }

.pd-log-line-top, .pd-log-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.pd-log-card h3, .pd-log-line strong, .pd-log h3, .pd-log h4 { margin: 10px 0 4px; }

.pd-log-bar {
    height: 6px;
    margin: 8px 0 4px;
    border-radius: 999px;
    background: #e6eaed;
    overflow: hidden;
}

.pd-log-bar span { display: block; height: 100%; background: #98a2ab; }
.pd-log-bar.is-complete span { background: #0f6e62; }
.pd-log-bar.is-attention span { background: #d9922b; }
.pd-log-bar.is-preparing span { background: #98a2ab; }

.pd-log-pill {
    flex: none;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef1f3;
    color: #52606b;
    font-size: 12px;
    font-weight: 650;
}

.pd-log-pill.is-done, .pd-log-pill.is-complete { background: #e5f4ea; color: #0d6a3c; }
.pd-log-pill.is-progress, .pd-log-pill.is-attention { background: #fff4df; color: #8a5a00; }
.pd-log-pill.is-open, .pd-log-pill.is-preparing { background: #eef1f3; color: #52606b; }

.pd-log-sheet { display: grid; grid-template-columns: 140px 1fr; gap: 6px 12px; margin: 8px 0; }
.pd-log-sheet dt { color: var(--pd-muted); }
.pd-log-sheet dd { margin: 0; }

.pd-log-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pd-log-grid .pd-field input,
.pd-log-grid .pd-field select,
.pd-log-grid .pd-field textarea { max-width: none; }
.pd-log-span { grid-column: 1 / -1; }
.pd-log-leg { margin: 8px 0 0; border: 1px solid var(--pd-line); border-radius: 12px; padding: 8px 12px 12px; }
.pd-log-leg legend { padding: 0 4px; font-weight: 650; }
.pd-log-run-note { grid-column: 1; margin: 2px 0 0; color: var(--pd-muted); font-size: 13px; overflow-wrap: break-word; }
.pd-log-other { margin-top: 8px; }
.pd-log-other[hidden], .pd-log-form [hidden] { display: none; }
.pd-log-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pd-log-kind label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}
.pd-log-kind label.is-on { border-color: #0f6e62; background: #f3faf8; }
.pd-log-kind label span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pd-log-kind small { color: var(--pd-muted); font-size: 13px; font-weight: 500; }
.pd-log-form .pd-log-grid .pd-log-kind input {
    appearance: none;
    width: 18px;
    height: 18px;
    min-height: 18px;
    max-width: 18px;
    margin: 2px 0 0;
    padding: 0;
    border: 1.5px solid #8aa39d;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-content: center;
    flex: none;
}
.pd-log-form .pd-log-grid .pd-log-kind input:checked::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0f6e62;
}
.pd-log-form .pd-log-grid .pd-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
}
.pd-log-form .pd-log-grid .pd-check input {
    appearance: none;
    width: 18px;
    height: 18px;
    min-height: 18px;
    max-width: 18px;
    margin: 0;
    padding: 0;
    border: 1.5px solid #8aa39d;
    border-radius: 4px;
    background: #fff;
    display: grid;
    place-content: center;
    flex: none;
}
.pd-log-form .pd-log-grid .pd-check input:checked { background: #0f6e62; border-color: #0f6e62; }
.pd-log-form .pd-log-grid .pd-check input:checked::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}
.pd-log-form .pd-log-grid .pd-check input:indeterminate {
    background: #f3faf8;
    border-color: #0f6e62;
}
.pd-log-form .pd-log-grid .pd-check input:indeterminate::after {
    content: "";
    width: 8px;
    height: 2px;
    border: 0;
    background: #0f6e62;
    transform: none;
}
.pd-log-form .pd-log-kind input:focus-visible,
.pd-log-form .pd-check input:focus-visible { outline: 2px solid #0f6e62; outline-offset: 2px; }
.pd-log .pd-log-menu { z-index: 40; }
.pd-log-grid .pd-help { margin: 0 0 8px; }

.pd-log-checks { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.pd-log-venues { flex-direction: column; align-items: stretch; gap: 4px; }
.pd-log-venue { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.pd-log-venue .pd-check { flex: 1; min-width: 0; }
.pd-log-exception { flex: none; min-height: 36px; }
.pd-log-exception-mark { color: #0f6e62; font-size: 12px; font-weight: 650; }
.pd-log-exception-card { width: min(760px, 100%); }
.pd-log-exception-card .pd-log-grid { margin-top: 8px; }

.pd-log-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.pd-log-points { list-style: none; padding: 0; margin: 0; }
.pd-log-points li { margin: 4px 0; }
.pd-log-points .is-ok { color: #0d6a3c; }
.pd-log-points .is-open { color: #8a5a00; }

.pd-log-head .pd-button { flex: none; }

.pd-log-overview-card h2 { margin-bottom: 10px; }

.pd-log-overview-card .pd-log-figures { gap: 6px; margin: 0; }

.pd-log-overview-card .pd-log-figure { padding: 8px; }

.pd-log-overview-card .pd-log-figure strong { font-size: 20px; }

.pd-log-overview-card .pd-log-figure span { font-size: 11px; line-height: 1.25; }

@media (max-width: 720px) {
    .pd-log-figures, .pd-log-grid, .pd-log-sheet, .pd-log-run-grid, .pd-log-kind { grid-template-columns: 1fr; }
    .pd-log-venue { flex-wrap: wrap; }
    .pd-log-exception, .pd-log-exception-card .pd-field input, .pd-log-exception-card .pd-field select, .pd-log-exception-card .pd-field textarea { font-size: 16px; }
    .pd-log-run { align-items: flex-start; }
    .pd-log-run-grid { gap: 4px; }
    .pd-log-run-cell.is-empty { display: none; }
    .pd-log-run-cell { display: grid; grid-template-columns: 8.4rem minmax(0, 1fr); gap: 8px; align-items: baseline; }
    .pd-log .pd-log-menu {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: max-content;
        min-width: 180px;
        max-width: calc(100vw - 16px);
    }
    .pd-log-run-cell span, .pd-log-run-cell strong { font-size: 16px; }
    .pd-log-overview-card .pd-log-figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pd-log input, .pd-log select, .pd-log textarea { font-size: 16px; }
    .pd-log-toggle, .pd-log .pd-button { min-height: 44px; }
    .pd-log-head { align-items: stretch; flex-direction: column; padding: 0 0 8px; }
    .pd-log-head .pd-button { margin: 0 8px; }
    .pd-log-exports { margin: 0 8px; }
    .pd-log-export { min-height: 44px; padding: 8px 12px; font-size: 16px; }
}

.pd-hours-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    gap: 16px;
    align-items: start;
}

.pd-hours-mine { grid-column: 1; grid-row: 1; }

.pd-hours-form { grid-column: 2; grid-row: 1; }

.pd-hours-head, .pd-hours-total, .pd-hours-export, .pd-hours-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pd-hours-head h2, .pd-hours h3 { margin: 0; }

.pd-hours h3 { margin: 18px 0 8px; font-size: 16px; }

.pd-hours-pill {
    flex: none;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e7f6ef;
    color: #0f6e62;
    font-size: 12px;
    font-weight: 650;
}

.pd-hours-kicker {
    margin: 14px 0 6px;
    color: var(--pd-muted);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pd-hours-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 8px 0 12px;
}

.pd-hours-nav > button, .pd-hours-step > button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 22px;
    cursor: pointer;
}

.pd-hours-date {
    position: relative;
    flex: 1;
    text-align: center;
    font-weight: 650;
}

.pd-hours-date input {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 16px;
}

.pd-hours-step {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #c9d1d9;
    border-radius: 12px;
    background: #fff;
    padding: 2px;
}

.pd-hours-step input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    text-align: center;
    font: inherit;
    font-size: 28px;
    font-weight: 650;
    touch-action: manipulation;
}

.pd-hours-form button,
.pd-hours-form input,
.pd-hours-cat {
    touch-action: manipulation;
}

.pd-hours-cats { display: flex; flex-wrap: wrap; gap: 8px; }

.pd-hours-cat {
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid #c9d1d9;
    border-radius: 999px;
    background: #fff;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.pd-hours-cat.is-on { border-color: #0f6e62; background: #f3faf8; color: #0f6e62; }

.pd-hours-register {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-top: 16px;
}

.pd-hours-form .pd-hours-register .pd-button--primary {
    width: auto;
    flex: 1 1 auto;
    margin-top: 0;
    min-height: 44px;
}

.pd-hours-minus {
    flex: 0 0 52px;
    width: 52px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #8d2e2e;
    color: #fff;
    font-size: 22px;
    line-height: 1;
}

.pd-hours-minus:hover { background: #742626; }

.pd-hours-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    text-align: center;
}

.pd-hours-dow { color: var(--pd-muted); font-size: 11px; font-weight: 650; }

.pd-hours-day {
    min-height: 44px;
    padding: 6px 0;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.pd-hours-month .pd-hours-day { border-color: #e6eaed; background: #fff; }

.pd-hours-day.is-selected { border-color: #c9d1d9; background: #f4f5f6; }

.pd-hours-day strong { display: block; }

.pd-hours-day .pd-hours-marks {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 2px;
}

.pd-hours-mark { font-size: 12px; font-weight: 650; color: var(--pd-muted); }

.pd-hours-mark.is-self { color: #0f6e62; }

.pd-hours-people { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }

.pd-hours-people .pd-hours-kicker { width: 100%; margin: 0; align-self: center; }

.pd-hours-person {
    min-height: 32px;
    padding: 4px 10px;
    border: 1px solid #c9d1d9;
    border-radius: 999px;
    background: #fff;
    color: inherit;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.pd-hours-person.is-self {
    border-color: #0f6e62;
    background: #f3faf8;
    color: #0f6e62;
    cursor: default;
}

.pd-hours-person.is-on { background: #f7f8f8; font-weight: 650; }

.pd-hours-names { list-style: none; margin: 10px 0 0; padding: 0; }

.pd-hours-names li { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 13px; }

.pd-hours-names strong { color: #0f6e62; }

.pd-hours-day strong { font-size: 13px; }

.pd-hours-day span { margin-top: 2px; color: var(--pd-muted); font-size: 13px; }

.pd-hours-day span.is-on { color: #0f6e62; font-weight: 650; }

.pd-hours-day.is-out { opacity: 0.45; }

.pd-hours-total { margin-top: 14px; }

.pd-hours-export { justify-content: flex-start; flex-wrap: wrap; margin-bottom: 8px; }

.pd-hours-export span { color: var(--pd-muted); font-size: 13px; }

.pd-hours-category input {
    width: 100%;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    font: inherit;
}

.pd-hours-category { margin-top: 8px; }

.pd-hours-category input { flex: 1; }

@media (max-width: 720px) {
    .pd-hours-layout { grid-template-columns: 1fr; }
    .pd-hours-form { grid-column: 1; grid-row: 1; }
    .pd-hours-mine { grid-column: 1; grid-row: 2; }
    .pd-hours-step input, .pd-hours-category input { font-size: 16px; }
    .pd-hours-cat, .pd-hours-form .pd-button, .pd-hours-person { min-height: 44px; }
}

.pd-amount { white-space: nowrap; }

.pd-hotel-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-hotel-total { margin: 0; }
.pd-hotel-head, .pd-hotel-card-head, .pd-hotel-guest-head, .pd-hotel-card footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.pd-hotel-head { margin-bottom: 14px; }

.pd-hotel-kicker { margin: 0 0 4px; color: var(--pd-muted); font-size: 13px; }

.pd-hotel-title { display: flex; align-items: center; gap: 8px; }

.pd-hotel-title h2, .pd-hotel-list h2, .pd-hotel-card h3 { margin: 0; }

.pd-hotel-badge {
    padding: 2px 8px;
    border-radius: 999px;
    background: #e7f3f1;
    color: var(--pd-accent-dark);
    font-size: 12px;
    font-weight: 650;
}

.pd-hotel-head .pd-muted, .pd-hotel-foot { margin: 4px 0 0; }

.pd-hotel-kpis, .pd-hotel-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pd-hotel-kpis { margin-bottom: 16px; }

.pd-hotel-kpis p, .pd-hotel-card {
    margin: 0;
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    background: #fff;
}

.pd-hotel-kpis p { padding: 12px; }

.pd-hotel-kpis span, .pd-hotel-facts span, .pd-hotel-owner span, .pd-hotel-guest-head span {
    display: block;
    color: var(--pd-muted);
    font-size: 12px;
}

.pd-hotel-kpis strong, .pd-hotel-facts strong, .pd-hotel-owner strong { display: block; font-size: 18px; }

.pd-hotel-list { display: flex; flex-direction: column; gap: 10px; }

.pd-hotel-card { padding: 14px; min-width: 0; }

.pd-hotel-card + .pd-hotel-card { margin-top: 0; }

.pd-hotel-name { min-width: 0; }

.pd-hotel-name h3, .pd-hotel-name a, .pd-hotel-note { overflow-wrap: anywhere; }

.pd-hotel-name a { display: inline-block; margin-top: 2px; font-size: 13px; }

.pd-hotel-facts, .pd-hotel-owner, .pd-hotel-guests { margin-top: 12px; }

.pd-hotel-facts p { margin: 0; min-width: 0; }

.pd-hotel-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

.pd-hotel-chips span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f3f5f7;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.pd-hotel-chips button {
    border: 0;
    background: transparent;
    color: var(--pd-muted);
    font: inherit;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.pd-hotel-note { margin: 10px 0 0; color: var(--pd-muted); font-size: 13px; }

.pd-hotel-card footer {
    align-items: center;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--pd-line);
}

.pd-hotel-card footer strong { color: var(--pd-accent); font-size: 16px; }

.pd-hotel-empty {
    padding: 18px;
    border: 1px dashed var(--pd-line);
    border-radius: 12px;
    background: #fff;
}

.pd-hotel-empty p { margin: 0 0 10px; }

.pd-hotel-foot { color: var(--pd-muted); font-size: 13px; }

.pd-euro-field {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 640px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    background: #fff;
    padding: 0 12px;
}

.pd-euro-field span { flex: none; }

.pd-euro-field input { flex: 1; min-width: 0; border: 0; padding: 10px 0; background: transparent; }

.pd-hotel-dialog h3 { margin: 4px 0 0; font-size: 15px; }

@media (max-width: 720px) {
    .pd-hotel-head, .pd-hotel-facts { display: flex; flex-direction: column; }
    .pd-hotel-head .pd-button, .pd-hotel-empty .pd-button, .pd-hotel-dialog .pd-inline .pd-button { width: 100%; min-height: 44px; }
    .pd-hotel-kpis { grid-template-columns: 1fr; }
    .pd-hotel-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pd-hotel-dialog input, .pd-hotel-dialog textarea { font-size: 16px; }
    .pd-hotel-card .pd-icon-button { width: 44px; height: 44px; }
}

@media (max-width: 390px) {
    .pd-hotel-facts { grid-template-columns: 1fr; }
}

.pd-claim-head, .pd-claim-card, .pd-claim-linehead {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.pd-claim-head { margin-bottom: 14px; }

.pd-claim-head h2, .pd-claim-block h3, .pd-claim-linehead h3 { margin: 0; }

.pd-claim-head .pd-muted, .pd-claim-block > .pd-muted { margin: 4px 0 0; }

.pd-claim-list { display: flex; flex-direction: column; gap: 8px; }

.pd-claim-lines { display: flex; flex-direction: column; }

.pd-claim-card, .pd-claim-block {
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    background: #fff;
}

.pd-claim-card { align-items: center; padding: 12px; }

.pd-claim-open {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.pd-claim-open strong, .pd-claim-open span, .pd-claim-file { display: block; overflow-wrap: anywhere; }

.pd-claim-open span, .pd-claim-file { color: var(--pd-muted); font-size: 13px; }

.pd-claim-block { padding: 14px; }

.pd-claim-block + .pd-claim-block, .pd-claim-totals { margin-top: 10px; }

.pd-claim-cols, .pd-claim-line {
    display: grid;
    grid-template-columns: 28px 148px minmax(0, 1fr) 118px 104px minmax(120px, auto) 36px;
    gap: 8px;
    align-items: center;
}

.pd-claim-cols {
    padding: 0 0 4px;
    color: var(--pd-muted);
    font-size: 12px;
}

.pd-claim-line {
    padding: 2px 0;
    border-bottom: 1px solid var(--pd-line);
    background: transparent;
}

.pd-claim-line input {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    border: 0;
    border-radius: 6px;
    padding: 6px 8px;
    background: transparent;
    font: inherit;
    color: inherit;
}

.pd-claim-line input:focus {
    outline: 2px solid #0f6e62;
    background: #f3faf8;
}

.pd-claim-line .pd-file-native {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    min-width: 0;
    min-height: 0;
}

.pd-claim-nr { color: var(--pd-muted); font-size: 13px; }

.pd-claim-money { display: flex; align-items: center; gap: 4px; min-width: 0; }

.pd-claim-money span { color: var(--pd-muted); }

.pd-claim-filebox { display: flex; align-items: center; gap: 4px; min-width: 0; }

.pd-claim-attach, .pd-claim-remove, .pd-claim-detach { min-width: 44px; min-height: 44px; }

.pd-claim-attach, .pd-claim-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #0f6e62;
    cursor: pointer;
}

.pd-claim-remove { font-size: 22px; line-height: 1; }

.pd-claim-detach {
    border: 0;
    background: transparent;
    color: var(--pd-muted);
    font: inherit;
    cursor: pointer;
}

.pd-claim-file { color: var(--pd-muted); font-size: 13px; overflow-wrap: anywhere; }

.pd-claim-status { margin: 4px 0 0; min-height: 1.2em; color: var(--pd-muted); font-size: 13px; }

.pd-claim-status.is-error { color: #8a2f2f; }

.pd-claim-totals {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 8px;
}

.pd-claim-totals p {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: min(280px, 100%);
    margin: 0;
    padding: 3px 0;
}

.pd-claim-totals span { color: var(--pd-muted); }

.pd-claim-totals strong { font-variant-numeric: tabular-nums; }

.pd-claim-grand { margin-top: 4px; padding-top: 8px; border-top: 1px solid #1c2430; }

.pd-claim-grand strong { font-size: 18px; }

.pd-claim-source, .pd-claim-browser { display: flex; flex-direction: column; gap: 10px; width: min(640px, 100%); }

.pd-claim-choice, .pd-claim-pick {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    background: #fff;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.pd-claim-choice { flex-direction: column; align-items: flex-start; gap: 2px; }

.pd-claim-choice span, .pd-claim-crumbs { color: var(--pd-muted); font-size: 13px; }

.pd-claim-choice:hover, .pd-claim-choice:focus-visible, .pd-claim-pick:hover, .pd-claim-pick:focus-visible, .pd-claim-pick.is-selected {
    border-color: #0f6e62;
    background: #f3faf8;
}

.pd-claim-crumbs { display: flex; flex-wrap: wrap; gap: 4px; }

.pd-claim-crumbs button {
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #0f6e62;
    font: inherit;
    cursor: pointer;
}

.pd-claim-files { display: flex; flex-direction: column; gap: 4px; max-height: min(50vh, 420px); overflow: auto; }

.pd-claim-pick .pd-glyph { width: 18px; height: 18px; flex: 0 0 auto; }

.pd-claim-empty {
    padding: 18px;
    border: 1px dashed var(--pd-line);
    border-radius: 12px;
    background: #fff;
}

.pd-sign {
    display: block;
    width: 100%;
    height: 160px;
    margin: 8px 0;
    border: 1px solid #c9d1d9;
    border-radius: 8px;
    background: #fff;
    touch-action: none;
    cursor: crosshair;
}

@media (max-width: 720px) {
    .pd-claim-head, .pd-claim-card { flex-direction: column; }
    .pd-claim-head .pd-button, .pd-claim-empty .pd-button, .pd-claim-linehead .pd-button, .pd-claim-source .pd-button, .pd-claim-browser .pd-button { width: 100%; min-height: 44px; }
    .pd-claim-cols { display: none; }
    .pd-claim-line {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "nr remove"
            "desc desc"
            "date date"
            "amount vat"
            "file file";
        padding: 8px 0;
    }
    .pd-claim-line > :nth-child(7) { justify-self: end; }
    .pd-claim-filebox { flex-wrap: wrap; min-width: 0; }
    .pd-claim-line > :nth-child(1) { grid-area: nr; }
    .pd-claim-line > :nth-child(2) { grid-area: date; }
    .pd-claim-line > :nth-child(3) { grid-area: desc; }
    .pd-claim-line > :nth-child(4) { grid-area: amount; }
    .pd-claim-line > :nth-child(5) { grid-area: vat; }
    .pd-claim-line > :nth-child(6) { grid-area: file; }
    .pd-claim-line > :nth-child(7) { grid-area: remove; }
    .pd-claim-line input { min-height: 44px; font-size: 16px; }
    .pd-claim-totals { align-items: stretch; }
    .pd-claim-totals p, .pd-claim-browser { width: 100%; }
    .pd-claim input, .pd-claim textarea { font-size: 16px; }
}

.pd-park { display: flex; flex-direction: column; gap: 14px; }
.pd-park-plan { padding: 12px; }
.pd-park-head, .pd-park-linehead, .pd-park-area-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.pd-park-head h2, .pd-park-linehead h3, .pd-park-plan > h3, .pd-park-location-body > h3 { margin: 0; }
.pd-park-head .pd-muted, .pd-park-place { margin: 2px 0 0; }
.pd-park-place { font-weight: 650; }
.pd-park-title { flex: 1; min-width: 0; }
.pd-park-head-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.pd-park-location { display: flex; align-items: flex-start; gap: 8px; width: 100%; min-height: 44px; border: 0; background: transparent; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.pd-park-location strong, .pd-park-location span span { display: block; overflow-wrap: anywhere; }
.pd-park-location span span { color: var(--pd-muted); font-size: 13px; }
.pd-park-caret { color: var(--pd-muted); line-height: 1.4; }
.pd-park-location-body[hidden] { display: none; }
.pd-park-badge { border-radius: 999px; background: #e7f6ef; color: #0f6e62; font-size: 13px; font-weight: 650; padding: 4px 10px; white-space: nowrap; }
.pd-park-badge.is-failed { background: #fdecec; color: #9b2c2c; }
.pd-park-table { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin: 2px 0 8px; }
.pd-park-row { display: grid; grid-template-columns: minmax(108px, 0.85fr) minmax(0, 1.15fr) 28px; gap: 6px 8px; align-items: center; min-width: 0; min-height: 36px; padding: 2px 0; border-bottom: 1px solid #eef2f1; }
.pd-park-row.is-wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) 28px; grid-template-areas: "label menu" "value menu"; align-items: start; padding: 6px 0; }
.pd-park-row.is-wide [data-label] { grid-area: label; }
.pd-park-row.is-wide [data-value] { grid-area: value; }
.pd-park-row.is-wide .pd-more { grid-area: menu; }
.pd-park-row input, .pd-park-row textarea, .pd-park-dialog input, .pd-park-dialog select {
    width: 100%; min-width: 0; border: 1px solid #c9d1d9; border-radius: 8px; padding: 6px 8px; background: #fff; font: inherit; box-sizing: border-box;
}
.pd-park-row input[data-label][readonly] { border: 0; background: transparent; padding: 0; color: #5d6b68; font-size: 13px; font-weight: 650; text-align: left; }
.pd-park-row textarea { min-height: 44px; }
.pd-park-row input[data-value], .pd-park-row textarea { text-align: left; min-height: 34px; }
.pd-park-areas { display: flex; flex-direction: column; gap: 6px; }
.pd-park-area, .pd-park-legend-item { border: 1px solid var(--pd-line); border-radius: 12px; background: #fff; }
.pd-park-area { padding: 8px 10px; }
.pd-park-open { display: flex; align-items: center; gap: 10px; flex: 1; width: 100%; min-width: 0; min-height: 44px; border: 0; background: transparent; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.pd-park-open-copy { flex: 1; min-width: 0; }
.pd-park-open-copy strong, .pd-park-open-copy span { display: block; overflow-wrap: anywhere; }
.pd-park-open-copy span { white-space: pre-line; color: var(--pd-muted); font-size: 13px; }
.pd-park-area-caret { flex: none; width: 18px; color: var(--pd-muted); font-size: 18px; line-height: 1; text-align: center; }
.pd-park-add { width: 100%; min-height: 44px; margin-top: 8px; }
.pd-park-area-body { margin-top: 10px; }
.pd-park-legend { position: relative; z-index: 6; display: flex; align-items: flex-start; gap: 6px; min-width: 0; overflow: visible; }
.pd-park-legend-grid { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; overflow: visible; }
.pd-park-legend-item { display: flex; align-items: center; gap: 2px; flex: 0 1 auto; max-width: 100%; min-height: 44px; padding: 0 2px 0 8px; border: 1px solid #c9d1d9; border-radius: 8px; background: #fff; }
.pd-park-legend-item.is-active { border-color: var(--pd-accent); background: #f3faf8; }
.pd-park-legend-pick { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; min-height: 40px; border: 0; background: transparent; padding: 0; color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
.pd-park-legend-icon { display: inline-flex; flex: none; width: 18px; height: 18px; }
.pd-park-legend-icon .pd-glyph { width: 18px; height: 18px; }
.pd-park-legend-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-park-legend-add { flex: none; min-height: 44px; padding: 8px 12px; }
.pd-park-chrome { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.pd-park-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.pd-park-tool, .pd-park-tools .pd-button { min-height: 44px; }
.pd-park-tool { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #c9d1d9; border-radius: 8px; background: #fff; padding: 6px 10px; font: inherit; color: inherit; cursor: pointer; }
.pd-park-tool:hover, .pd-park-tool:focus-visible { border-color: #8aa39d; background: #f7fbfa; }
.pd-park-tool.is-active { border-color: var(--pd-accent); background: #f3faf8; color: var(--pd-accent); }
.pd-park-icon { width: 44px; padding: 0; }
.pd-park-icon .pd-glyph, .pd-park-shape-menu .pd-glyph { width: 18px; height: 18px; }
.pd-park-stage { position: relative; display: flex; justify-content: center; align-items: flex-start; overflow: hidden; min-height: 220px; max-height: 70vh; border: 1px solid #c9d1d9; border-radius: 12px; background: #fff; touch-action: none; user-select: none; }
.pd-park-stage.is-select { cursor: default; }
.pd-park-stage.is-draw { cursor: crosshair; }
.pd-park-stage.is-pan { cursor: grab; }
.pd-park-stage.is-pan.is-grabbing { cursor: grabbing; }
.pd-park-world { width: auto; max-width: calc(100% - 48px); margin: 16px auto; transform-origin: 0 0; position: relative; }
.pd-park-world img, .pd-park-svg { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.pd-park-world img { pointer-events: none; image-rendering: auto; }
.pd-park-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pd-park-context { position: fixed; z-index: 40; display: flex; flex-direction: column; min-width: 220px; padding: 6px; border: 1px solid #c9d1d9; border-radius: 10px; background: #fff; box-shadow: 0 10px 28px rgba(22, 32, 44, 0.12); }
.pd-park-context-title { margin: 2px 8px 6px; color: var(--pd-ink); font-size: 13px; font-weight: 650; }
.pd-park-style { display: flex; flex-direction: column; gap: 4px; margin: 0 4px 8px; color: var(--pd-ink); font-size: 13px; }
.pd-park-style input[type="range"] { width: 100%; height: 28px; margin: 0; accent-color: #0f6e62; cursor: pointer; }
.pd-park-context button { display: flex; align-items: center; gap: 8px; min-height: 44px; border: 0; border-radius: 8px; background: #fff; padding: 10px 12px; font: inherit; font-size: 14px; text-align: left; color: inherit; cursor: pointer; }
.pd-park-context button:hover, .pd-park-context button:focus-visible { background: #f3faf8; }
.pd-park-context button:disabled { color: #8aa39d; cursor: default; }
.pd-park-context .is-danger { margin-top: 4px; border-top: 1px solid #eef2f1; border-radius: 0; color: #9b2c2c; }
.pd-park-context .is-danger:hover, .pd-park-context .is-danger:focus-visible { background: #f8ecec; }
.pd-park-menus { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pd-park-shape-menu { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #c9d1d9; border-radius: 8px; background: #fff; color: #1c2430; cursor: pointer; pointer-events: auto; }
.pd-park-shape-menu:hover, .pd-park-shape-menu:focus-visible { border-color: #0f6e62; background: #f3faf8; }
.pd-park-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 220px; margin: 0; text-align: center; cursor: pointer; padding: 18px; }
.pd-park-choice input { appearance: none; width: 18px; height: 18px; margin: 0; border: 1px solid #8aa39d; border-radius: 4px; background: #fff; }
.pd-park-choice input:checked { background: #0f6e62 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2' d='M3 8l3 3 7-7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pd-park-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pd-park-drop.is-over { background: #f3faf8; }
.pd-park-editor-status { margin: 0; color: var(--pd-muted); font-size: 13px; }
.pd-park-confirm, .pd-park-dialog-card { display: flex; flex-direction: column; gap: 8px; }
.pd-park-confirm { margin: 8px 0; padding: 12px; border: 1px solid var(--pd-line); border-radius: 12px; background: #fff; }
.pd-park-choice { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.pd-park-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-park-dialog { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(16, 24, 32, 0.35); padding: 16px; }
.pd-park-dialog-card { width: min(420px, 100%); padding: 16px; }
.pd-park-empty { padding: 18px; }
@media (max-width: 720px) {
    .pd-park-table { grid-template-columns: 1fr; }
    .pd-park-row, .pd-park-row.is-wide { grid-column: auto; grid-template-columns: minmax(0, 1fr) 28px; grid-template-areas: "label menu" "value menu"; }
    .pd-park-row [data-label] { grid-area: label; }
    .pd-park-row [data-value] { grid-area: value; }
    .pd-park-row .pd-more { grid-area: menu; }
    .pd-park-row input, .pd-park-row textarea, .pd-park-dialog input, .pd-park-dialog select { font-size: 16px; padding: 8px 10px; }
    .pd-park-row input[data-label][readonly] { font-size: 13px; padding: 0; }
    .pd-park-head, .pd-park-area-head, .pd-park-head-tools { flex-direction: column; align-items: stretch; }
}

.pd-board { width: min(440px, 100%); display: flex; flex-direction: column; gap: 4px; }
.pd-score-note { margin: 0 0 8px; color: var(--pd-danger); font-size: 13px; }
.pd-score-closed { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--pd-line); border-radius: 8px; background: #f7fbfa; color: var(--pd-ink); font-size: 13px; }
.pd-score-prize { position: relative; margin: 0; }
.pd-score-prize img { display: block; width: 100%; height: 168px; object-fit: cover; border-radius: 14px; background: #111; }
.pd-board .pd-score-menu { position: absolute; top: 8px; right: 8px; z-index: 3; }
.pd-board .pd-score-pop { min-width: 240px; }
.pd-score-burger { background: rgba(255, 255, 255, 0.92); color: var(--pd-ink); }
.pd-score-menu-add { display: flex; align-items: center; gap: 6px; padding: 6px; }
.pd-score-menu-add .pd-input { flex: 1; min-width: 0; }
.pd-more-menu .pd-score-menu-add button { width: 36px; padding: 0; text-align: center; }
.pd-score-names { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.pd-score-chip { border: 1px solid #c9d1d9; border-radius: 8px; background: #fff; color: var(--pd-ink); padding: 8px 12px; min-height: 36px; font: inherit; font-size: 14px; cursor: pointer; }
.pd-score-chip.is-on { border-color: #0f6e62; background: #f3faf8; }
.pd-score-title.is-read { margin: 2px 0 0; font-size: 17px; font-weight: 650; }
.pd-score-kicker { margin: 8px 0 0; color: #8a94a0; font-size: 11px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }
.pd-score-title { display: block; width: 100%; margin: 2px 0 0; padding: 4px 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--pd-ink); font: inherit; font-size: 17px; font-weight: 650; }
.pd-score-title:focus { border-color: #c9d1d9; background: #fff; padding: 8px 12px; outline: none; }
.pd-score-prize-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pd-score-block h2 { margin: 16px 0 8px; color: var(--pd-ink); font-size: 14px; font-weight: 650; }
.pd-score-list { display: flex; flex-direction: column; }
.pd-score-history-scroll { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.pd-score-person, .pd-score-history { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 9px 2px; border-bottom: 1px solid #eef2f4; }
.pd-score-history { grid-template-columns: minmax(0, 1fr) auto; }
.pd-score-person.is-lead { border-bottom-color: #f3ead3; }
.pd-score-crown { display: grid; place-items: center; color: #c4a15a; }
.pd-score-crown .pd-glyph, .pd-score-check .pd-glyph { width: 18px; height: 18px; }
.pd-score-place { color: #8a94a0; font-size: 13px; font-variant-numeric: tabular-nums; }
.pd-score-person-name { min-width: 0; display: flex; flex-direction: column; }
.pd-score-person-name strong { overflow-wrap: anywhere; font-size: 14px; }
.pd-score-person-name small, .pd-score-empty { color: var(--pd-muted); font-size: 12px; }
.pd-score-pt { font-size: 14px; font-variant-numeric: tabular-nums; }
.pd-score-pt.is-lead { color: #b0892e; font-weight: 650; }
.pd-score-card { border: 1px solid var(--pd-line); border-radius: 12px; background: #fff; overflow: hidden; }
.pd-score-row { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-top: 1px solid #eef2f4; }
.pd-score-row:first-child { border-top: 0; }
.pd-score-name { width: 100%; min-width: 0; padding: 2px 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--pd-ink); font: inherit; font-size: 14px; font-weight: 650; }
.pd-score-name:focus { border-color: #c9d1d9; background: #fff; padding: 8px 10px; outline: none; }
.pd-score-row .pd-score-person-name small { color: #178a4c; }
.pd-score-steps { display: flex; flex: 0 0 auto; }
.pd-score-step, .pd-score-sign, .pd-score-check, .pd-score-remove { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.pd-score-step.is-minus { color: #c45555; }
.pd-score-step.is-plus, .pd-score-sign.is-on, .pd-score-check { color: #178a4c; }
.pd-score-sign { width: 28px; color: #8a94a0; font-size: 16px; }
.pd-score-remove { width: 28px; color: #8a94a0; font-size: 18px; }
.pd-score-quick, .pd-score-add { padding: 8px 12px; border-top: 1px solid #eef2f4; }
.pd-score-add { display: flex; align-items: center; gap: 6px; }
.pd-board .pd-input, .pd-board select { width: 100%; box-sizing: border-box; border: 1px solid #c9d1d9; border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--pd-ink); font: inherit; font-size: 14px; }
.pd-score-award { border: 1px solid var(--pd-line); border-radius: 12px; background: #fff; padding: 10px 12px; }
.pd-score-award-head, .pd-score-award-line { display: flex; align-items: center; gap: 8px; }
.pd-score-award-head { justify-content: space-between; margin-bottom: 8px; font-size: 14px; font-weight: 650; }
.pd-board .pd-score-who { width: auto; max-width: 46%; border: 0; background: transparent; padding: 4px 0; text-align: right; font-weight: 500; }
.pd-board .pd-score-who:focus { border: 1px solid #c9d1d9; border-radius: 8px; padding: 8px 10px; outline: none; }
.pd-score-award-line label { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pd-score-award-line label span { color: var(--pd-muted); font-size: 12px; font-weight: 500; }
.pd-score-award-line .pd-input { width: 72px; }
.pd-score-reason { flex: 1; }
.pd-score-reason .pd-input { width: 100%; }
.pd-score-signs { display: flex; align-self: flex-end; }
.pd-score-delta { font-weight: 650; font-variant-numeric: tabular-nums; }
.pd-score-delta.is-down { color: #c45555; }
.pd-score-delta:not(.is-down) { color: #178a4c; }
.pd-score-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pd-score-tool { min-height: 36px; padding: 6px 10px; font-size: 13px; }
.pd-score-empty { margin: 0; padding: 4px 0 8px; }
@media (max-width: 720px) {
    .pd-board { width: 100%; }
    .pd-board .pd-input, .pd-board select, .pd-score-title, .pd-score-name, .pd-score-chip { font-size: 16px; }
    .pd-score-chip, .pd-score-step, .pd-score-check, .pd-score-burger { min-height: 44px; }
    .pd-score-step, .pd-score-check, .pd-score-burger { width: 44px; height: 44px; }
    .pd-score-tool { min-height: 44px; }
    .pd-score-award-line { flex-wrap: wrap; }
    .pd-score-reason { flex-basis: 100%; }
}
