.page-content{position:relative;min-width:0;max-width:100%;padding:32px;min-height:100%;box-sizing:border-box;overflow-x:hidden}.prompts-section{position:relative;display:flex;flex-direction:column;min-width:0;padding-top:26px}.prompts-section>.segment-debug-badge{top:0;left:0}.prompts-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.prompts-header h2{margin:0;font-size:24px;font-weight:550;letter-spacing:var(--letter-spacing-tight);color:var(--color-text);line-height:var(--line-height-tight)}.prompts-create{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;height:37px;padding:8px 16px;border:0;border-radius:8px;background:#2186ce;color:#fff;font-size:14px;font-weight:500;line-height:1.2;white-space:nowrap;touch-action:manipulation}.prompts-create:hover{background:var(--color-primary-hover)}.prompts-create:focus-visible{box-shadow:var(--focus-ring)}.prompts-create svg{width:16px;height:16px;flex-shrink:0}.prompts-tabs{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px;width:fit-content;max-width:100%;margin-bottom:16px;padding:4px;border-radius:12px;background:#ffffff0a}.prompts-tab{padding:10px 18px;border:0;border-radius:10px;background:transparent;color:var(--color-text-secondary);font-size:12.6px;font-weight:500;line-height:1.2;touch-action:manipulation}.prompts-tab.is-active{background:var(--color-surface);color:var(--color-text)}.prompts-tab:hover:not(.is-active){color:var(--color-text)}.prompts-hint{margin:0 0 16px;font-size:14px;font-weight:var(--font-weight-normal);line-height:var(--line-height-normal);color:var(--color-text-secondary)}.prompts-table-wrap{width:100%;min-width:0;background:var(--color-surface);border:1px solid rgba(255,255,255,.1);border-radius:12px;overflow:hidden}.prompts-table{width:100%;border-collapse:collapse;table-layout:fixed}.prompts-table th,.prompts-table td{padding:12px 16px;text-align:left;vertical-align:middle;font-size:12px;font-weight:500;color:var(--color-text-secondary)}.prompts-table thead th{border-bottom:1px solid rgba(255,255,255,.15);font-weight:500;white-space:nowrap}.prompts-table th:nth-child(1),.prompts-table td:nth-child(1):not(.prompts-empty){width:88px}.prompts-table th:nth-child(2){width:22%}.prompts-table th:nth-child(4),.prompts-table td:nth-child(4){width:110px}.prompts-empty{padding:32px 16px;font-size:14px;font-weight:var(--font-weight-normal);line-height:var(--line-height-normal);color:var(--color-text-secondary);text-align:center;white-space:normal}.prompts-table td.prompt-icon-cell{text-align:center;vertical-align:middle}.prompt-icon-display{font-size:24px;line-height:1}.prompt-name{font-weight:500;color:var(--color-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.prompt-body{color:var(--color-text-secondary);word-break:break-word}.prompt-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;white-space:nowrap}.prompts-btn{display:inline-flex;align-items:center;justify-content:center;padding:4px 12px;border-radius:6px;font-size:12px;font-weight:500;line-height:1.2;touch-action:manipulation}.prompts-btn--ghost{background:transparent;border:1px solid var(--color-border);color:var(--color-text)}.prompts-btn--ghost:hover{background:var(--color-secondary)}.prompts-btn--primary{border:0;background:#2186ce;color:#fff}.prompts-btn--primary:hover{background:var(--color-primary-hover)}.prompts-btn--danger{background:transparent;border:1px solid #ff5459;color:#ff5459}.prompts-btn--danger:hover{background:rgba(var(--color-error-rgb),.1)}.prompts-modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px;box-sizing:border-box}.prompts-modal[hidden]{display:none}.prompts-modal__overlay{position:absolute;inset:0;background:#00000080}.prompts-modal__content{position:relative;width:100%;max-width:620px;max-height:80vh;display:flex;flex-direction:column;background:var(--color-surface);border:1px solid var(--color-card-border);border-radius:12px;box-shadow:var(--shadow-lg);box-sizing:border-box}.prompts-modal__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px;border-bottom:1px solid var(--color-border)}.prompts-modal__header h3{margin:0;font-size:18px;font-weight:550;color:var(--color-text)}.prompts-modal__close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:6px;background:none;color:var(--color-text-secondary);font-size:28px;line-height:1}.prompts-modal__close:hover{background:var(--color-secondary)}.prompts-modal__form{display:flex;flex-direction:column;min-height:0}.prompts-modal__body{display:flex;flex-direction:column;gap:12px;padding:24px;overflow-y:auto}.prompts-field{display:flex;flex-direction:column;gap:4px}.prompts-label{font-size:12px;color:var(--color-text-secondary)}.prompts-input{width:100%;padding:8px 12px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-background);color:var(--color-text);font-size:14px;box-sizing:border-box}.prompts-input:focus{outline:none;border-color:var(--color-primary)}textarea.prompts-input{min-height:160px;resize:vertical;line-height:1.45}.prompts-modal__footer{display:flex;justify-content:flex-end;gap:12px;padding:20px;border-top:1px solid var(--color-border)}@media(max-width:768px){.prompts-header{flex-direction:column;align-items:stretch;margin-bottom:16px}.prompts-header h2{font-size:24px}.prompts-create{width:100%}.prompts-table{table-layout:auto}.prompts-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.prompts-table,.prompts-table tbody,.prompts-table tbody tr,.prompts-table tbody td{display:block;width:100%;box-sizing:border-box}.prompts-table tbody tr[data-prompt-id]{padding:12px;border-top:1px solid rgba(255,255,255,.15)}.prompts-table tbody td:not(.prompts-empty){display:flex;justify-content:space-between;align-items:flex-start;gap:12px;width:100%;padding:4px 0}.prompts-table tbody td:not(.prompts-empty):before{content:attr(data-label);color:var(--color-text-secondary);font-size:12px;flex-shrink:0}.prompt-name{white-space:normal}.prompt-actions{flex-wrap:wrap;justify-content:flex-end}.prompts-empty{width:100%;max-width:100%;padding:32px 12px;border-top:1px solid rgba(255,255,255,.15)}}
