/* Partner scenario §29. Scoped to the private cabinet; public footer is untouched. */
.pc-root .pg-panel{padding:24px;min-width:0;margin-block:0 20px}
.pg-panel h2{font-size:20px;margin:0 0 12px}.pg-panel h3{font-size:16px;margin:18px 0 10px}
.pg-panel p{line-height:1.6}.pg-panel small,.pg-panel .pc-muted{font-size:12px;color:var(--nv-text-3)}
.pg-kpis,.pg-dashboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-block:0 20px}
.pg-kpis .pg-panel,.pg-dashboard .pg-panel{margin:0}.pg-kpis strong{font-size:28px;display:block;line-height:1.2;margin-block-end:8px}
.pg-kpis:has(>:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}
.pg-head,.pg-detail-actions,.pg-training-toggle,.pg-filters,.pg-search,.pg-variables{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.pg-head{justify-content:space-between;margin-block-end:20px}.pg-head>div{display:flex;gap:8px;flex-wrap:wrap}.pg-head>div:first-child{display:block}
.pg-search{margin-block:16px}.pg-search input{flex:1;min-width:120px}.pg-filters{margin-block-end:20px}
.pg-filters [aria-pressed=true]{background:var(--nv-celadon);border-color:var(--nv-malachite)}
.pg-layout{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(300px,1fr);gap:20px;align-items:start}
.pg-table{overflow:auto;max-width:100%}.pg-table table{width:100%;border-collapse:collapse;font-size:13px;text-align:start}
.pg-table th{font-size:12px;font-weight:600;color:var(--nv-text-3);white-space:nowrap;background:var(--nv-bg)}
.pg-table th,.pg-table td{padding:14px 10px;border-block-end:1px solid var(--nv-line);text-align:start}
.pg-table small,.pg-guest small,.pg-history small,.pg-rule-title small,.pg-catalogue small{display:block;margin-block-start:4px}
.pg-table tr.is-active{background:var(--nv-success-bg)}
.pg-guest{display:flex;align-items:center;gap:10px;border:0;background:none;text-align:start;color:inherit;min-height:44px;cursor:pointer;font:inherit}
.pg-guest .pc-avatar{flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--nv-success-bg)}
.pg-detail{position:sticky;top:90px}.pg-detail .pg-kpis{grid-template-columns:1fr 1fr}.pg-detail .pg-kpis .pg-panel{padding:12px}
.pg-history{display:grid;gap:12px;margin-block-end:24px}.pg-history a{border-inline-start:3px solid var(--nv-celadon);padding-inline-start:12px;color:inherit;text-decoration:none;min-height:44px}
.pg-detail label,.pg-editor label,.pg-property,.pg-rec label{display:grid;gap:8px;margin-block:12px;font-size:13px;font-weight:600}
.pg-detail textarea,.pg-editor textarea{resize:vertical}.pg-consent{padding:12px;background:var(--nv-bg);border-radius:12px}
.pg-detail-actions{margin-block:18px 0}.pg-fields{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px}
.pg-rules{display:grid;gap:8px}.pg-rule{display:flex;align-items:center;gap:12px;padding:14px 10px;border:1px solid var(--nv-line);border-radius:16px}
.pg-rule.is-active{border-color:var(--nv-brunswick);background:var(--nv-success-bg)}
.pg-step{display:grid;place-items:center;border-radius:50%;width:28px;height:28px;flex:0 0 28px;background:var(--nv-celadon);font-weight:700}
.pg-rule-title{flex:1;background:none;border:0;text-align:start;color:inherit;font:inherit;min-height:44px;cursor:pointer}
.pg-rule-title b{font-size:14px}.pg-rule-title:disabled{opacity:1;cursor:default}
.pg-switch{box-sizing:border-box;position:relative;width:48px;height:44px;flex:0 0 48px;border:0;background:transparent;cursor:pointer;padding:0}
.pg-switch:before{content:'';position:absolute;inset:8px 0;background:var(--nv-line);border-radius:20px}
.pg-switch span{position:absolute;inset-block-start:12px;inset-inline-start:4px;width:20px;height:20px;border-radius:50%;background:white;box-shadow:0 1px 3px #002f2b26}
.pg-switch[aria-checked=true]:before{background:var(--nv-malachite)}.pg-switch[aria-checked=true] span{inset-inline-start:24px}
.pg-switch:disabled{opacity:.55;cursor:default}.pg-property{max-width:380px;margin-block:0 20px}.pg-variables{margin-block:12px}.pg-variables .pc-button{min-height:44px;font-size:12px}
.pg-rec{display:flex;gap:12px;border:1px solid var(--nv-line);border-radius:16px;padding:16px;margin-block:12px}.pg-rec .grow{flex:1;min-width:0}
.pg-rec a{color:inherit}.pg-rec h3{margin:0}.pg-reorder,.pg-rec-actions{display:flex;flex-direction:column;gap:6px}.pg-reorder .pc-button{font-size:12px;padding:8px;min-width:44px}
.pg-preview-rec{border-block-end:1px solid var(--nv-line);padding-block:16px}.pg-preview-body{white-space:pre-wrap;overflow-wrap:anywhere}
.pg-catalogue>div{display:flex;align-items:center;justify-content:space-between;gap:16px;border-block-end:1px solid var(--nv-line);padding-block:14px}
.pg-steps{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pg-steps li{display:flex;gap:12px;align-items:center;padding:12px;background:var(--nv-bg);border-radius:14px;min-height:56px}.pg-steps a{color:inherit;text-decoration:none;font-weight:600}
.pg-check{width:24px;height:24px;flex:0 0 24px;border:1px solid var(--nv-line);border-radius:50%;display:grid;place-items:center}.pg-check.done{background:var(--nv-celadon);border:0}
.pg-training-toggle{justify-content:flex-end;margin-block-end:16px}.pc-root .pg-training{border:1px solid var(--nv-brunswick);background:var(--nv-success-bg)}
.pg-panel a:focus-visible,.pg-panel button:focus-visible{outline:3px solid var(--nv-brunswick);outline-offset:3px}
@media(min-width:700px){.pg-detail [data-pc-action=pg-guest-back]{display:none}}
@media(max-width:1100px){.pg-layout{grid-template-columns:minmax(0,1fr)}.pg-detail{position:static}.pg-dashboard{gap:10px}.pg-dashboard .pg-panel{padding:16px}}
@media(max-width:699px){.pc-root .pg-panel{padding:16px;border-radius:18px}.pg-kpis,.pg-kpis:has(>:nth-child(4)){grid-template-columns:1fr 1fr;gap:10px}.pg-kpis strong{font-size:24px}.pg-dashboard{grid-template-columns:1fr}.pg-dashboard .pg-panel{padding:16px}.pg-layout{display:block}.pg-layout:not(.pg-detail-open)>.pg-detail{display:none}.pg-detail-open>.pg-list{display:none}.pg-fields{grid-template-columns:1fr 1fr}.pg-fields>label:first-child{grid-column:1/-1}.pg-steps{grid-template-columns:1fr}.pg-recs .pg-rec{padding:12px;gap:8px;flex-wrap:wrap}.pg-rec .grow{min-width:180px}.pg-rec-actions{flex-direction:row;width:100%;justify-content:flex-end}.pg-head .pc-button{font-size:13px}.pg-property{max-width:100%}.pg-table th:nth-child(3),.pg-table td:nth-child(3),.pg-table th:nth-child(4),.pg-table td:nth-child(4),.pg-table th:nth-child(5),.pg-table td:nth-child(5),.pg-table th:nth-child(7),.pg-table td:nth-child(7){display:none}.pg-guest{max-width:180px;overflow-wrap:anywhere}.pg-variables{gap:6px}}

.pc-root :is(.pg-panel,.pg-property,[data-pc-form^="pg-"]) :is(input:not([type=checkbox]),select,textarea),.pc-root select[data-pg-org],.pc-root select[data-pg-property]{box-sizing:border-box;min-width:0;width:100%;min-height:44px;padding:11px 12px;border:1px solid var(--nv-border-input);border-radius:12px;background:var(--nv-surface);color:var(--nv-text);font:inherit;font-size:14px}
.pc-root [data-pc-form^="pg-"] label{display:grid;gap:8px;margin-block:12px;font-size:13px;font-weight:600}
.pc-root .pg-dashboard h2{font-size:32px;line-height:1.2;margin-block:8px 12px}.pc-root .pg-search input{width:auto}
.pc-root .pg-dashboard .pc-button{margin-block-start:8px}.pc-root .pg-panel button{touch-action:manipulation}

.pc-root .pg-fieldset{border:0;padding:0;margin:0;min-width:0}.pc-root .pg-fieldset:disabled{opacity:.65}

.pc-root .pg-kpi{display:flex;align-items:center;gap:14px;padding:20px}.pg-kpi>div{min-width:0}.pg-kpi-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:var(--nv-success-bg);color:var(--nv-brunswick)}
.pc-root .pg-kpi-guestList{background:var(--nv-text);color:var(--nv-surface)}.pg-kpi-guestList .pg-kpi-icon{background:var(--nv-malachite);color:var(--nv-text)}.pg-kpi-rating .pg-kpi-icon{background:var(--nv-warning-bg);color:var(--nv-warning-deep)}.pg-kpi-consented .pg-kpi-icon{background:var(--nv-info-bg);color:var(--nv-info-text)}.pg-kpis .pg-kpi span:not(.pg-kpi-icon){font-size:12px;line-height:1.45}.pg-kpi .pg-kpi-icon svg{max-width:24px}
@media(max-width:699px){.pc-root .pg-kpi{padding:14px;gap:8px;align-items:flex-start}.pg-kpi-icon{flex-basis:32px;width:32px;height:32px}.pg-kpis strong{font-size:24px}.pg-detail .pg-kpis{grid-template-columns:1fr 1fr}}

.pc-root.pc-menu-v2 .pc-nav{overflow-y:auto;overflow-x:hidden;min-height:0}.pc-root.pc-menu-v2 .pc-nav-section{flex-shrink:0}
@media(min-width:1200px) and (max-width:1399px){.pc-root.pc-menu-v2 .pc-topbar-actions{flex-wrap:nowrap}.pc-root.pc-menu-v2 .pc-topbar .pc-search input{width:160px}}
