/* Three-part consultation cards and one shared wide detail dialog. */
.ph-list,.ph-dialog{font-size:16px;font-weight:400;line-height:1.6;min-width:0}.ph-list{padding:24px}.ph-list h2,.ph-list h3,.ph-dialog h2,.ph-dialog h3{font-weight:600}.ph-heading{display:flex;justify-content:space-between;gap:24px;align-items:start;margin-bottom:24px}.ph-heading h2{font-size:26px}.ph-heading p{font-size:14px;margin:4px 0 0}.ph-heading button{min-height:42px;font-size:15px;font-weight:400}.ph-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:20px}.ph-filters label{display:grid;gap:6px;font-size:14px;font-weight:400}.ph-search-label{flex:1;min-width:220px}.ph-search{position:relative;display:flex;align-items:center;min-width:0}.ph-search input{width:100%;padding-right:40px;min-height:44px;font-size:15px;font-weight:400}.ph-search input::-webkit-search-cancel-button{display:none}.ph-search>button{position:absolute;right:4px;top:4px;min-width:36px;min-height:36px;padding:0;background:transparent;border:0;font-size:23px;color:var(--muted)}.ph-search>button[hidden]{display:none}.ph-filters select{min-height:44px;font-size:15px;font-weight:400}.ph-filters>button{min-height:44px;font-size:15px;font-weight:400}.ph-mine{display:flex;border:1px solid var(--line);border-radius:24px;background:var(--surface);padding:3px;gap:4px}.ph-mine button{border:0;background:transparent;border-radius:20px;min-width:82px;min-height:36px;font-size:14px;font-weight:400;padding:6px 14px}.ph-mine [aria-pressed=true]{background:var(--primary);color:white}.ph-list [data-ph-status]{font-size:14px;color:var(--muted);min-height:24px;margin:14px 0}.ph-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:28px;width:100%;padding:20px 24px;border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:var(--shadow);text-align:left;margin:14px 0;font-size:16px;font-weight:400;color:var(--ink);min-height:124px}.ph-profile-pair{display:flex;align-items:center;gap:15px;min-width:0}.ph-profile-pair .staff-profile-circle{width:78px;height:78px;min-width:78px;min-height:78px;cursor:inherit}.ph-profile-pair .staff-profile-unit{font-size:11px}.ph-profile-pair .staff-profile-name{font-size:14px}.ph-arrow{color:var(--muted);font-size:25px;font-weight:400;flex-shrink:0}.ph-card-summary{font-size:19px;font-weight:500;line-height:1.6;overflow-wrap:anywhere;min-width:0;border-left:1px solid var(--line);padding-left:26px}.ph-card:hover{border-color:var(--primary);box-shadow:0 5px 18px #6435ff14}.ph-empty{padding:40px 20px;color:var(--muted);text-align:center;min-height:130px}.ph-pages{display:flex;justify-content:center;align-items:center;gap:16px;margin:22px 0 0}.ph-pages>span{font-size:14px;color:var(--muted)}.ph-pages button{font-size:14px;font-weight:400;min-height:40px}.ph-dialog.project-dialog-wide{width:min(1060px,calc(100vw - 32px));max-width:1060px;padding:0}.ph-dialog .project-dialog-heading{padding:26px 30px 16px}.ph-dialog .project-dialog-body{padding:0 30px 28px;overflow:visible}.ph-dialog .project-dialog-heading h2{font-size:27px;font-weight:600}.ph-form{margin:0;min-width:0}.ph-form>label,.ph-receipt-top>label{display:grid;gap:8px;font-size:15px;font-weight:400;margin:20px 0;min-width:0}.ph-form input,.ph-form textarea,.ph-form select{font-family:inherit;font-size:16px;font-weight:400;color:var(--ink);border:1px solid var(--line);border-radius:10px;background:var(--surface);width:100%;min-width:0;padding:10px 12px;min-height:44px}.ph-form textarea{resize:none;min-height:112px}.ph-receipt-top{display:grid;grid-template-columns:1fr 1fr;gap:26px}.ph-form>.quiet{font-size:14px}.ph-picker{margin:24px 0}.ph-picker h3{font-size:19px;margin:0 0 14px}.ph-picker h3 small{font-size:13px;font-weight:400;color:var(--muted);margin-left:14px}.ph-staff-filters{display:flex;align-items:center;gap:14px;margin-bottom:16px}.ph-staff-filters>label:first-child{flex:0 1 180px;min-width:130px}.ph-staff-filters .ph-search-label{margin:0;min-width:0;flex:1}.ph-staff-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:280px;overflow:auto;padding:4px;scrollbar-gutter:stable}.ph-staff-option{display:flex;align-items:center;justify-content:center;position:relative;min-height:108px;padding:14px 30px;border:1px solid var(--line);border-radius:14px;background:var(--surface);font-weight:400}.ph-staff-option[aria-pressed=true]{border-color:var(--primary);background:var(--tint,#f2edff);box-shadow:0 0 0 1px var(--primary)}.ph-staff-option .staff-profile-circle{width:78px;height:78px;min-height:78px;cursor:inherit}.ph-choice-mark{position:absolute;right:10px;top:10px;color:var(--primary);font-size:20px}.ph-selection{color:var(--primary);font-size:13px;text-align:right;margin:8px 0}.ph-form-actions{position:sticky;bottom:-28px;z-index:2;display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 0 max(16px,env(safe-area-inset-bottom));margin-top:24px;border-top:1px solid var(--line);background:var(--surface)}.ph-form-actions button{min-width:112px;min-height:44px;font-size:15px;font-weight:400}.ph-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:8px 0 22px}.ph-state{display:inline-block;border-radius:18px;padding:5px 15px;font-size:14px;font-weight:400;color:var(--primary);background:var(--tint,#f2edff);white-space:nowrap}.ph-state[data-state=complete]{background:#e7f5ed;color:#166534}.ph-contact{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:22px;background:var(--tint,#f2edff);border-radius:14px;padding:20px;margin:18px 0}.ph-contact>div{min-width:0}.ph-contact span{font-size:13px;color:var(--muted);font-weight:400}.ph-contact p{font-size:16px;font-weight:400;margin:7px 0 0;overflow-wrap:anywhere}.ph-phone{user-select:text;font-variant-numeric:tabular-nums}.ph-content{padding:16px 0;border-bottom:1px solid var(--line)}.ph-content h3{font-size:19px;margin:0 0 10px}.ph-content>p{margin:0 0 12px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.7}.ph-meta{font-size:13px;color:var(--muted);font-weight:400;font-variant-numeric:tabular-nums;margin:10px 0;overflow-wrap:anywhere}.ph-detail-controls{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 24px}.ph-detail-controls button{font-size:14px;font-weight:400;min-height:40px}.ph-comments{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.ph-comments>h3{font-size:20px;margin:0 0 16px}.ph-note{display:grid;grid-template-columns:70px minmax(0,1fr);align-items:start;gap:16px;padding:16px;background:#f8f6fc;border:1px solid var(--line);border-radius:14px;margin:14px 0}.ph-note>div{min-width:0}.ph-note p:not(.ph-meta){white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.7;margin:4px 0 8px}.ph-note .ph-meta{margin:0 0 8px}.ph-note .staff-profile-circle{cursor:default}.ph-text-button{border:0;background:transparent;color:var(--primary);font-size:13px;min-height:32px;padding:4px 0;font-weight:400}.ph-comment-label{display:grid;gap:8px;font-size:14px;margin-top:24px}.ph-comment-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:12px}.ph-comment-actions button{min-height:42px;min-width:100px;font-size:14px;font-weight:400}.ph-comment-actions button[hidden]{display:none}.ph-reassign,.ph-history{margin-top:24px;padding:14px 18px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.ph-reassign summary,.ph-history summary{cursor:pointer;font-size:15px;font-weight:400;min-height:28px}.ph-history h3{font-size:17px;margin:20px 0 10px}.ph-history ol{padding-left:22px;margin:10px 0}.ph-history li{padding:10px 0;border-bottom:1px solid var(--line);font-size:14px;overflow-wrap:anywhere}.ph-history li p{margin:0 0 5px;font-size:14px}.ph-history small{display:block;color:var(--muted);font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.ph-form [data-ph-conflict]:not(:empty){border:1px solid #e0b76b;border-radius:12px;background:#fffaf1;padding:18px;margin:20px 0;font-size:14px}.ph-form [data-ph-conflict] p{white-space:pre-wrap;overflow-wrap:anywhere}.ph-form [data-ph-feedback]{min-height:24px;font-size:14px;color:var(--muted)}.ph-form [aria-invalid=true]{border-color:var(--danger,#b42318)}.ph-home-notices{margin-top:12px}.ph-home-notices h3{font-size:15px;font-weight:500;margin:0 0 10px}.ph-home-notices h3 small{font-weight:400;color:var(--muted);font-size:12px}.ph-home-notices button{display:block;text-align:left;width:100%;padding:10px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;font-size:14px;font-weight:400}.ph-home-notices button>small{display:block;color:var(--muted);font-size:12px}.ph-home-notices button>span{display:block;overflow-wrap:anywhere}.ph-list button,.ph-form button,.ph-form summary,.ph-home-notices button{cursor:pointer}.ph-list button:disabled,.ph-form button:disabled,.ph-home-notices button:disabled{cursor:default;opacity:.55}.ph-list :focus-visible,.ph-form :focus-visible,.ph-home-notices :focus-visible{outline:2px solid var(--primary);outline-offset:3px}.ph-list button:hover:not(:disabled),.ph-form button:hover:not(:disabled){border-color:var(--primary)}
@media(max-width:900px){.ph-card{gap:20px;padding:20px}.ph-card-summary{padding-left:20px;font-size:17px}.ph-profile-pair{gap:12px}.ph-profile-pair .staff-profile-circle{width:70px;height:70px;min-width:70px;min-height:70px}.ph-contact{grid-template-columns:1fr 1fr}.ph-contact>div:last-child{grid-column:1/-1}.ph-staff-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.ph-list{padding:20px 16px}.ph-heading{gap:14px;flex-wrap:wrap;margin-bottom:20px}.ph-heading h2{font-size:23px}.ph-heading p{font-size:13px}.ph-heading button{font-size:14px}.ph-filters{gap:10px}.ph-search-label{min-width:0;flex-basis:calc(100% - 72px)}.ph-filters>button{font-size:14px}.ph-mine{flex:1}.ph-mine button{min-width:0;flex:1}.ph-filters>label:last-child{flex:1;min-width:120px}.ph-filters input,.ph-filters select{font-size:16px}.ph-card{grid-template-columns:1fr;justify-items:start;gap:16px;padding:18px}.ph-profile-pair{gap:14px}.ph-profile-pair .staff-profile-circle{width:76px;height:76px;min-width:76px;min-height:76px}.ph-card-summary{border-left:0;border-top:1px solid var(--line);padding:14px 0 0;width:100%;font-size:17px}.ph-dialog.project-dialog-wide{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:18px}.ph-dialog .project-dialog-heading{padding:18px 16px 14px}.ph-dialog .project-dialog-body{padding:0 16px 18px}.ph-dialog .project-dialog-heading h2{font-size:22px}.ph-receipt-top{grid-template-columns:1fr;gap:0}.ph-form>label,.ph-receipt-top>label{margin:14px 0;font-size:14px}.ph-staff-filters{gap:10px;flex-wrap:wrap}.ph-staff-filters>label:first-child{flex:1;min-width:100%}.ph-staff-filters .ph-search-label{min-width:100%}.ph-staff-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:270px}.ph-staff-option{padding:14px 20px;min-height:100px}.ph-picker h3{font-size:18px}.ph-picker h3 small{display:block;margin:4px 0 0}.ph-form-actions{bottom:-18px;gap:10px}.ph-form-actions button{flex:1;min-width:90px;font-size:14px}.ph-detail-heading{gap:12px;align-items:start;flex-wrap:wrap}.ph-contact{grid-template-columns:1fr;padding:16px;gap:16px}.ph-contact>div:last-child{grid-column:auto}.ph-contact p{font-size:16px}.ph-note{grid-template-columns:62px minmax(0,1fr);gap:12px;padding:12px}.ph-note .staff-profile-circle{width:60px;height:60px;min-height:60px;min-width:60px}.ph-note .staff-profile-unit{font-size:9px}.ph-note .staff-profile-name{font-size:12px}.ph-note p:not(.ph-meta){font-size:15px}.ph-note .ph-meta{font-size:12px}.ph-reassign,.ph-history{padding:14px}.ph-detail-controls button{flex:1;min-width:100px}.ph-comment-actions button{flex:1}.ph-history li{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ph-list *,.ph-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.ph-form .ph-comment-label[hidden]{display:none}
