.ph-modal-backdrop{z-index:var(--ph-z-modal);background:var(--ph-overlay);position:fixed;inset:0}.ph-modal-viewport{z-index:var(--ph-z-modal);grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;padding:24px 16px;display:grid;position:fixed;inset:0}.ph-modal-backdrop[data-layer=confirm],.ph-modal-viewport[data-layer=confirm]{z-index:var(--ph-z-confirm)}.ph-modal{--ph-modal-pad:24px;--ph-modal-width:520px;width:min(100%, var(--ph-modal-width));border:1px solid var(--ph-border);background:var(--ph-surface-raised);min-width:0;max-height:min(100%,880px);color:var(--ph-text-strong);box-shadow:var(--ph-modal-shadow);overflow-wrap:anywhere;text-align:left;border-radius:14px;outline:none;flex-direction:column;display:flex;overflow:hidden}.ph-modal[data-size=sm]{--ph-modal-width:440px}.ph-modal[data-size=lg]{--ph-modal-width:720px}.ph-modal[data-size=xl]{--ph-modal-width:960px}.ph-modal[data-size=full]{--ph-modal-width:1200px;height:min(100%,960px)}.ph-modal:is([data-size=sm],[data-size=md]){max-height:min(100%,760px)}.ph-modal-header{padding:18px 16px 16px var(--ph-modal-pad);border-bottom:1px solid var(--ph-border);flex:none;align-items:flex-start;gap:12px;display:flex}.ph-modal-heading{flex:1;min-width:0;padding-top:4px}.ph-modal-eyebrow{letter-spacing:.02em;color:var(--ph-teal-text);margin-bottom:4px;font-size:12px;font-weight:600}.ph-modal-title-row{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.ph-modal-title{letter-spacing:-.01em;color:var(--ph-text-strong);outline:none;font-size:18px;font-weight:600;line-height:1.35}.ph-modal-description{color:var(--ph-text-muted);margin-top:4px;font-size:14px;line-height:1.55}.ph-modal-close{width:36px;min-width:0;height:36px;min-height:0;color:var(--ph-text-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;margin-top:-1px;transition:background-color .15s,color .15s;display:inline-flex}.ph-modal-close:hover:not(:disabled){background:var(--ph-surface-hover);color:var(--ph-text-strong)}.ph-modal-close:disabled{cursor:not-allowed;opacity:.5}.ph-modal :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--button-focus);outline-offset:2px}.ph-modal-body{overscroll-behavior:contain;min-height:0;padding:20px var(--ph-modal-pad);color:var(--ph-text);flex:auto;scroll-padding-block:16px;font-size:14px;line-height:1.6;overflow-y:auto}.ph-modal-footer{padding:14px var(--ph-modal-pad);border-top:1px solid var(--ph-border);background:var(--ph-surface-subtle);flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:center;gap:8px;display:flex}.dark .ph-modal-footer{background:var(--ph-surface)}.ph-modal-footer-start{margin-right:auto}.ph-modal-form{flex-direction:column;flex:auto;min-height:0;display:flex}.ph-modal[data-compact] .ph-modal-header{padding:22px 20px 4px var(--ph-modal-pad);border-bottom:0}.ph-modal[data-compact] .ph-modal-footer{padding:20px var(--ph-modal-pad) 22px;background:0 0;border-top:0}.ph-modal-stack{flex-direction:column;gap:16px;display:flex}.ph-modal-section+.ph-modal-section{border-top:1px solid var(--ph-border);margin-top:20px;padding-top:20px}.ph-modal-section-title{color:var(--ph-text-strong);margin-bottom:10px;font-size:15px;font-weight:600}.ph-modal-label{color:var(--ph-text-soft);margin-bottom:6px;font-size:13px;font-weight:600;display:block}.ph-modal-hint{color:var(--ph-text-muted);margin-top:6px;font-size:12px}.ph-modal-input{border:1px solid var(--ph-border-strong);border-radius:var(--button-radius,.625rem);background:var(--ph-field);width:100%;min-height:44px;color:var(--ph-text-strong);outline:none;padding:0 12px;font-size:14px;transition:border-color .15s}textarea.ph-modal-input{resize:vertical;min-height:112px;padding:10px 12px;line-height:1.55}select.ph-modal-input{cursor:pointer;padding-right:32px}.ph-modal-input::placeholder{color:var(--ph-text-faint)}.ph-modal-input:focus{border-color:var(--ph-teal)}.ph-modal-input[aria-invalid=true]{border-color:var(--ph-danger)}.ph-modal-error{color:var(--ph-danger);margin-top:6px;font-size:13px}.ph-modal-alert,.ph-modal-notice,.ph-modal-note{border:1px solid;border-radius:10px;align-items:flex-start;gap:10px;padding:10px 12px;font-size:13px;line-height:1.5;display:flex}.ph-modal-alert{border-color:var(--ph-danger-border);background:var(--ph-danger-soft);color:var(--ph-danger)}.ph-modal-notice{border-color:var(--ph-warn-border);background:var(--ph-warn-soft);color:var(--ph-warn-text)}.ph-modal-note{border-color:var(--ph-border);background:var(--ph-surface-subtle);color:var(--ph-text)}.ph-modal-alert>svg,.ph-modal-notice>svg{flex:none;margin-top:2px}.ph-modal-state{text-align:center;flex-direction:column;align-items:center;gap:6px;padding:16px 8px 8px;display:flex}.ph-modal-state-icon{background:var(--ph-surface-muted);width:44px;height:44px;color:var(--ph-text-muted);border-radius:12px;justify-content:center;align-items:center;margin-bottom:8px;display:flex}.ph-modal-state-icon[data-tone=success]{background:var(--ph-teal-soft);color:var(--ph-teal-text)}.dark .ph-modal-state-icon{box-shadow:inset 0 0 0 1px var(--ph-border)}.ph-modal-state h3{color:var(--ph-text-strong);font-size:16px;font-weight:600}.ph-modal-state p{max-width:40ch;color:var(--ph-text-muted);font-size:14px;line-height:1.55}.ph-modal-chips{flex-wrap:wrap;gap:6px;display:flex}.ph-modal-chip{border:1px solid var(--ph-border-strong);background:var(--ph-surface);min-height:36px;color:var(--ph-text-soft);cursor:pointer;border-radius:999px;align-items:center;padding:0 14px;font-size:13px;font-weight:500;transition:background-color .15s,border-color .15s;display:inline-flex}.ph-modal-chip:hover{background:var(--ph-surface-hover)}.ph-modal-chip[aria-pressed=true]{border-color:var(--ph-teal);background:var(--ph-teal-soft);color:var(--ph-text-strong);font-weight:600}@media (width<=639px){.ph-modal{--ph-modal-pad:max(16px, env(safe-area-inset-left))}.ph-modal-header{padding-right:max(12px, env(safe-area-inset-right))}.ph-modal-body,.ph-modal-footer{padding-right:max(16px, env(safe-area-inset-right))}.ph-modal-footer>:is(button,a,.ph-button){flex:auto;justify-content:center}.ph-modal-footer-start{margin-right:0}.ph-modal-viewport[data-mobile=sheet]{align-items:end;padding:0}.ph-modal[data-mobile=sheet]{width:100%;max-height:calc(92dvh - var(--ph-modal-keyboard,0px));margin-bottom:var(--ph-modal-keyboard,0px);border-width:1px 0 0;border-radius:16px 16px 0 0}.ph-modal[data-mobile=sheet][data-size=full]{height:calc(92dvh - var(--ph-modal-keyboard,0px))}.ph-modal[data-mobile=sheet]:before{content:"";background:var(--ph-border-strong);border-radius:999px;flex:none;width:36px;height:4px;margin:8px auto 0;display:block}.ph-modal[data-mobile=sheet] .ph-modal-header{padding-top:10px}.ph-modal[data-mobile=sheet] .ph-modal-footer{padding-bottom:max(14px, env(safe-area-inset-bottom));flex-direction:column-reverse;align-items:stretch}.ph-modal[data-mobile=sheet] .ph-modal-footer>*{width:100%;min-height:48px}.ph-modal[data-mobile=sheet]:not(:has(.ph-modal-footer)) .ph-modal-body{padding-bottom:max(20px, env(safe-area-inset-bottom))}.ph-modal-viewport[data-mobile=fullscreen]{inset:var(--ph-vv-top,0px) auto auto var(--ph-vv-left,0px);width:var(--ph-vv-width,100dvw);height:var(--ph-vv-height,100dvh);padding:0}.ph-modal[data-mobile=fullscreen]{width:100%;height:100%;max-height:100%;box-shadow:none;border:0;border-radius:0}.ph-modal[data-mobile=fullscreen] .ph-modal-header{padding-top:max(14px, env(safe-area-inset-top))}.ph-modal[data-mobile=fullscreen] .ph-modal-footer{padding-bottom:max(14px, env(safe-area-inset-bottom))}.ph-modal[data-mobile=fullscreen] .ph-modal-form{flex:1}.ph-modal[data-compact][data-mobile=dialog] .ph-modal-footer{flex-direction:column-reverse;align-items:stretch}}@media (pointer:coarse){.ph-modal-close{width:44px;height:44px;margin:-4px -4px 0 0}.ph-modal-footer>:is(button,a,.ph-button){min-height:44px}}.ph-sheet-overlay{z-index:var(--ph-z-sheet);background:var(--ph-overlay);position:fixed;inset:0}.ph-sheet-overlay[data-selection-sheet]{z-index:calc(var(--ph-z-confirm) + 10)}.ph-sheet{z-index:var(--ph-z-sheet);border-top:1px solid var(--ph-border);background:var(--ph-surface-raised);width:100%;min-width:0;min-height:0;color:var(--ph-text-strong);box-shadow:var(--ph-modal-shadow);border-radius:16px 16px 0 0;outline:none;flex-direction:column;display:flex;position:fixed;inset:auto 0 0}.ph-sheet[data-selection-sheet]{z-index:calc(var(--ph-z-confirm) + 10)}.ph-sheet-handle{background:var(--ph-border-strong)!important;opacity:1!important;border-radius:999px!important;width:36px!important;height:4px!important}.ph-sheet-header{min-height:52px;padding:2px max(12px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));border-bottom:1px solid var(--ph-border);flex-shrink:0;align-items:center;gap:12px;display:flex}.ph-sheet-title{letter-spacing:-.01em;min-width:0;color:var(--ph-text-strong);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:16px;font-weight:600;overflow:hidden}.ph-sheet-header .ph-modal-close{width:44px;height:44px;margin:0 -6px 0 0}.ph-sheet-header .ph-modal-close:focus-visible{outline:2px solid var(--button-focus);outline-offset:-2px}.ph-sheet-footer{padding:12px max(16px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));border-top:1px solid var(--ph-border);background:var(--ph-surface-raised);flex-shrink:0}.ph-feedback-star{width:40px;height:40px;color:var(--ph-border-strong);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;transition:color .15s,background-color .15s;display:inline-flex}.ph-feedback-star:hover{background:var(--ph-surface-hover)}.ph-feedback-star[data-active]{color:#e6a417}.ph-feedback-star[data-active] svg{fill:currentColor}.dark .ph-feedback-star[data-active]{color:#f2b83a}.ph-practice-card{border:1px solid var(--ph-border);background:var(--ph-surface);border-radius:12px;padding:16px 18px}.ph-practice-index{background:var(--ph-surface-muted);width:26px;height:26px;color:var(--ph-text-strong);border-radius:8px;justify-content:center;align-items:center;font-size:12px;font-weight:700;display:inline-flex}.ph-practice-pill{background:var(--ph-surface-muted);color:var(--ph-text-soft);border-radius:999px;padding:2px 9px;font-size:12px;font-weight:600}.ph-practice-toggle{min-height:36px;color:var(--ph-teal-text);cursor:pointer;align-items:center;gap:6px;margin-top:6px;font-size:14px;font-weight:600;display:inline-flex}.ph-practice-answer{border-left:3px solid var(--ph-teal);background:var(--ph-surface-subtle);border-radius:0 8px 8px 0;margin-top:8px;padding:12px 14px}.ph-resume-preview{background:var(--ph-surface-muted);padding:12px;display:flex}@media (width<=639px){.ph-resume-preview{padding:0}}.ph-consent-dialog{max-width:576px;max-height:calc(100dvh - 3rem);color:var(--ph-text)}.ph-consent-dialog:not([open]){display:none}.ph-consent-dialog::backdrop{background:var(--ph-overlay)}.ph-modal-footer.ph-consent-actions{padding-bottom:max(14px, env(safe-area-inset-bottom));grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.ph-consent-actions>:last-child{grid-column:1/-1}@media (width<=639px){.ph-consent-dialog{border-width:1px 0 0;border-radius:16px 16px 0 0;width:100%;max-width:none;max-height:92dvh}}
