.pt-tool{--pt-border: var(--border,#e2e8f0);margin-bottom: 32px}.pt-workspace{min-width: 0;padding: 20px;border: 1px solid var(--pt-border);border-radius: var(--radius-lg,10px);background: var(--bg-card,#fff);box-shadow: var(--shadow-sm)}.pt-tool .pt-workspace>.pt-privacy{margin-top: 0}.pt-tool .pt-workspace>.pt-status,.pt-tool .pt-workspace>.pt-error{margin-bottom: 0}.pt-tool .pt-notice{--pt-notice-line-height: 22px;display: flex;align-items: flex-start;gap: 10px;margin: 14px 0;padding: 12px 16px;border: 1px solid var(--pt-notice-border);border-radius: 10px;background: var(--pt-notice-bg);color: var(--pt-notice-text);font-size: 13px;line-height: var(--pt-notice-line-height);overflow-wrap: anywhere}.pt-notice[data-tone="info"]{--pt-notice-bg: var(--toast-info-bg,#eff6ff);--pt-notice-border: var(--toast-info-border,#bfdbfe);--pt-notice-text: var(--toast-info-text,#1d4ed8)}.pt-notice[data-tone="success"]{--pt-notice-bg: var(--toast-success-bg,#dcfce7);--pt-notice-border: var(--toast-success-border,#86efac);--pt-notice-text: var(--toast-success-text,#166534)}.pt-notice[data-tone="warning"]{--pt-notice-bg: var(--toast-warning-bg,#fffbeb);--pt-notice-border: var(--toast-warning-border,#fde68a);--pt-notice-text: var(--toast-warning-text,#92400e)}.pt-notice[data-tone="error"]{--pt-notice-bg: var(--toast-error-bg,#fef2f2);--pt-notice-border: var(--toast-error-border,#fecaca);--pt-notice-text: var(--toast-error-text,#b91c1c)}.pt-notice>.bi{display: flex;align-items: center;justify-content: center;flex: 0 0 18px;height: var(--pt-notice-line-height);font-size: 16px;font-style: normal;line-height: 1}.pt-notice>.bi::before{display: block;line-height: 1;vertical-align: 0}.pt-notice>span{flex: 1;min-width: 0}.pt-grid{display: grid;grid-template-columns: minmax(0,1fr) minmax(0,1fr);gap: 20px}.pt-panel{min-width: 0;border: 1px solid var(--pt-border);border-radius: 12px;background: var(--bg-card,#fff);overflow: hidden}.pt-panel-head{display: flex;gap: 10px;align-items: center;justify-content: space-between;min-height: 55px;padding: 12px 16px;border-bottom: 1px solid var(--pt-border);flex-wrap: wrap}.pt-panel-head h2{margin: 0;font-size: 16px;font-weight: 600}.pt-panel-body{padding: 16px}.pt-panel-body p{color: var(--text-2,#64748b);font-size: 13px;line-height: 1.7;margin-top: 10px}.pt-tool .sr-only{position: absolute;width: 1px;height: 1px;padding: 0;margin: -1px;overflow: hidden;clip: rect(0,0,0,0);white-space: nowrap;border: 0}.pt-field-label{display: block;margin-bottom: 10px;color: var(--text-2);font-size: 13px;font-weight: 500;line-height: 1.6}.pt-textarea{width: 100%;min-height: 260px;resize: vertical;font-family: ui-monospace,SFMono-Regular,Consolas,monospace;font-size: 14px;line-height: 1.65}.pt-options{display: flex;align-items: end;gap: 14px;flex-wrap: wrap;margin: 16px 0}.pt-options:empty{display: none}.pt-options label{display: flex;flex-direction: column;gap: 6px;min-width: 130px;font-size: 13px}.pt-options .pt-check{flex-direction: row;align-items: center;padding: 8px 0}.pt-key{flex: 1}.pt-actions,.pt-output-buttons{display: flex;flex-wrap: wrap;gap: 10px}.pt-actions{margin: 18px 0}.pt-import,.pt-upload{display: block;margin: 12px 0;border: 1px dashed var(--pt-border);padding: 12px;border-radius: 8px}.pt-file-picker{display: flex;align-items: center;flex-wrap: wrap;gap: 10px 12px;min-width: 0}.pt-file-button{flex: 0 0 auto}.pt-file-button>.bi{display: inline-flex;align-items: center;line-height: 1;font-style: normal}.pt-file-button>.bi::before{display: block;line-height: 1;vertical-align: 0}.pt-file-name{flex: 1 1 140px;min-width: 0;color: var(--text-2);font-size: 13px;line-height: 1.7;overflow-wrap: anywhere}.pt-tool .pt-file-hint{margin: 10px 0 0;color: var(--text-2);font-size: 13px;line-height: 1.7}.pt-preview-section{margin-top: 20px;padding-top: 16px;border-top: 1px solid var(--pt-border)}.pt-preview-header{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 8px 12px}.pt-preview-header h3{margin: 0;color: var(--text);font-size: 15px;font-weight: 600;line-height: 24px}.pt-preview-note{padding: 2px 8px;border: 1px solid var(--pt-border);border-radius: 5px;background: var(--bg-soft);color: var(--text-2);font-size: 12px;line-height: 20px}.pt-markdown{margin-top: 12px;border: 1px solid var(--pt-border);border-radius: 8px;padding: 18px;background: var(--bg-card,#fff);color: var(--text);font-size: 14px;line-height: 1.8;overflow-wrap: anywhere;min-height: 100px;max-height: 650px;overflow: auto}.pt-markdown h1,.pt-markdown h2,.pt-markdown h3,.pt-markdown h4,.pt-markdown h5,.pt-markdown h6{margin: 20px 0 12px;font-weight: 600;line-height: 1.5}.pt-markdown h1{font-size: 22px}.pt-markdown h2{font-size: 19px}.pt-markdown h3{font-size: 16px}.pt-markdown h4,.pt-markdown h5,.pt-markdown h6{font-size: 14px}.pt-markdown>:first-child{margin-top: 0}.pt-markdown>:last-child{margin-bottom: 0}.pt-panel-body .pt-markdown p{margin: 0 0 12px;color: inherit;font-size: inherit;line-height: inherit}.pt-markdown ul,.pt-markdown ol{margin: 12px 0;padding-left: 22px}.pt-markdown ul{list-style: disc}.pt-markdown ol{list-style: decimal}.pt-markdown li{margin: 6px 0}.pt-markdown blockquote{margin: 14px 0;padding: 10px 14px;border-left: 3px solid var(--primary);border-radius: 0 6px 6px 0;background: var(--bg-soft);color: var(--text-2)}.pt-markdown blockquote>:last-child{margin-bottom: 0}.pt-tool .pt-markdown :not(pre)>code{padding: 2px 5px;border-radius: 4px;background: var(--bg-soft);color: var(--primary-text,var(--primary));font-size: .9em}.pt-markdown pre{max-width: 100%;margin: 14px 0;overflow: auto;padding: 14px 16px;border: 1px solid var(--pt-border);border-radius: 8px;background: var(--bg-soft,#f1f5f9);color: var(--text);font: 13px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;white-space: pre}.pt-tool .pt-markdown pre code{display: block;padding: 0;margin: 0;border: 0;border-radius: 0;background: transparent;color: inherit;font: inherit;white-space: inherit;overflow: visible;overflow-wrap: normal}.pt-markdown table,.pt-table{border-collapse: collapse;width: 100%}.pt-markdown table{margin: 14px 0}.pt-markdown th{background: var(--bg-soft);font-weight: 600}.pt-markdown th,.pt-markdown td,.pt-table th,.pt-table td{border: 1px solid var(--pt-border);padding: 8px;text-align: left}.pt-table td{unicode-bidi: isolate;white-space: pre-wrap;overflow-wrap: anywhere}.pt-table-scroll{max-height: 420px;overflow: auto;margin-top: 16px}.pt-table tr.pt-invisible{background: var(--primary-soft,#edf5ff)}.pt-tool .tool-desc-body h2{font-size: 19px;margin: 24px 0 12px}.pt-tool .pt-help>h2:first-child{margin-top: 0}.pt-help pre{max-width: 100%;margin: 12px 0 16px;padding: 14px 16px;border: 1px solid var(--pt-border);border-radius: 8px;background: var(--bg-soft,#f1f5f9);color: var(--text);white-space: pre;overflow-x: auto;font: 13px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace}.pt-help pre code{padding: 0;margin: 0;border: 0;border-radius: 0;background: transparent;color: inherit;font: inherit;white-space: inherit;overflow-wrap: normal}.pt-help p,.pt-help li,.pt-help dd{overflow-wrap: anywhere}.pt-help dl{margin: 0 0 16px}.pt-help dt{margin: 12px 0 4px;color: var(--text);font-weight: 600}.pt-help dd{margin: 0}.pt-help .pt-help-note{margin-top: 20px;padding-top: 14px;border-top: 1px solid var(--pt-border);font-size: 13px;color: var(--text-2)}#pt-crop-canvas{display: block;width: auto;max-width: 100%;height: auto;max-height: 600px;margin: 0 auto;background: #e9eef5;touch-action: none;border-radius: 8px}.pt-crop-fields label{min-width: 70px;flex: 1}.pt-timer{text-align: center}.pt-timer-display{font: 700 clamp(42px,8vw,76px)/1.3 ui-monospace,Consolas,monospace;color: var(--primary,#2563eb);font-variant-numeric: tabular-nums;margin: 35px 0}.pt-timer .pt-actions{justify-content: center}@media(max-width:767px){.pt-workspace{padding: 14px}.pt-grid{grid-template-columns: minmax(0,1fr)}.pt-textarea{min-height: 190px}.pt-options label{min-width: 110px}}