.tpds-shell{max-width:1180px;margin:42px auto;padding:0 20px;box-sizing:border-box;color:#0f172a;font-family:inherit}.tpds-shell *{box-sizing:border-box}.tpds-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:18px}.tpds-header h2{margin:4px 0 8px!important;color:#fff!important;font-size:38px;line-height:1.08}.tpds-header p{margin:0!important;color:rgba(255,255,255,.78)!important;max-width:700px}.tpds-eyebrow{font-size:12px;letter-spacing:.15em;font-weight:800;color:rgba(255,255,255,.68);text-transform:uppercase}.tpds-local-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.17);color:#fff;border-radius:999px;padding:9px 13px;font-size:13px;font-weight:700;white-space:nowrap}.tpds-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.13)}.tpds-notice{background:rgba(59,130,246,.09);border:1px solid rgba(96,165,250,.26);color:#dbeafe;border-radius:14px;padding:13px 16px;margin-bottom:18px;font-size:14px}.tpds-grid{display:grid;gap:18px}.tpds-grid-main{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr)}.tpds-panel{background:#fff;border:1px solid rgba(15,23,42,.1);border-radius:22px;padding:24px;box-shadow:0 18px 50px rgba(15,23,42,.08);margin-bottom:18px;color:#0f172a}.tpds-panel *{color:inherit}.tpds-panel-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.tpds-panel-head-wrap{align-items:flex-start;flex-wrap:wrap}.tpds-panel-head h3{margin:0!important;font-size:23px;color:#0f172a!important}.tpds-panel-head p{margin:6px 0 0!important;color:#64748b!important}.tpds-step{font-size:11px;line-height:1;letter-spacing:.12em;font-weight:900;color:#2563eb!important;display:block;margin-bottom:7px}.tpds-label{display:block;font-size:13px;font-weight:800;margin:0 0 8px;color:#334155!important}.tpds-control,.tpds-textarea,.tpds-dataset,.tpds-code{width:100%;border:1px solid #cbd5e1;background:#fff;color:#0f172a!important;border-radius:13px;padding:12px 14px;font:inherit;outline:none}.tpds-control:focus,.tpds-textarea:focus,.tpds-dataset:focus,.tpds-code:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}.tpds-code,.tpds-dataset{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;font-size:13px;line-height:1.55;resize:vertical}.tpds-code{min-height:420px;background:#0b1220!important;color:#e5eefc!important;border-color:#1e293b}.tpds-textarea{min-height:178px;resize:vertical}.tpds-dataset{min-height:260px;background:#f8fafc!important}.tpds-editor-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:14px 0 8px;font-size:12px;color:#64748b!important}.tpds-editor-meta span{color:#64748b!important}.tpds-editor-meta code,.tpds-help code{background:#eef2ff;color:#3730a3;padding:2px 6px;border-radius:6px}.tpds-help{font-size:12px;color:#64748b!important;margin:8px 0 0!important;line-height:1.5}.tpds-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.tpds-actions-top{margin-top:0}.tpds-button{appearance:none;border:0;border-radius:11px;min-height:42px;padding:10px 16px;font:inherit;font-size:14px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}.tpds-button:hover{transform:translateY(-1px)}.tpds-button:disabled{opacity:.45;cursor:not-allowed;transform:none}.tpds-button-primary{background:#2563eb!important;color:#fff!important;box-shadow:0 8px 22px rgba(37,99,235,.2)}.tpds-button-primary:hover{background:#1d4ed8!important}.tpds-button-ghost{background:#fff!important;color:#0f172a!important;border:1px solid #cbd5e1}.tpds-upload-label input{display:none}.tpds-result{margin-top:18px;border-radius:15px;padding:16px;border:1px solid #e2e8f0;background:#f8fafc;min-height:108px}.tpds-result-empty{color:#64748b}.tpds-result-title{font-weight:900;margin-bottom:6px}.tpds-result-copy{font-size:14px;line-height:1.55}.tpds-result-detected{background:#fff7ed;border-color:#fed7aa}.tpds-result-clear{background:#f0fdf4;border-color:#bbf7d0}.tpds-result-error{background:#fef2f2;border-color:#fecaca}.tpds-result-row{display:flex;justify-content:space-between;gap:20px;padding:5px 0;border-bottom:1px solid rgba(15,23,42,.07);font-size:14px}.tpds-result-row:last-child{border-bottom:0}.tpds-result-row span:first-child{color:#64748b!important}.tpds-result-matches{margin-top:10px;padding-top:10px;border-top:1px solid rgba(15,23,42,.08);font-size:13px;word-break:break-word}.tpds-dataset-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:24px}.tpds-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tpds-metric{background:#f8fafc;border:1px solid #e2e8f0;border-radius:15px;padding:16px}.tpds-metric span{display:block;font-size:12px;color:#64748b!important;margin-bottom:6px;font-weight:700}.tpds-metric strong{font-size:28px;color:#0f172a!important}.tpds-confusion{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.tpds-confusion>div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #e2e8f0;padding:8px 2px;font-size:13px}.tpds-confusion span{color:#64748b!important}.tpds-inline-message{font-size:13px;margin-top:14px;min-height:20px;color:#64748b!important}.tpds-inline-message.tpds-error{color:#b91c1c!important}.tpds-inline-message.tpds-success{color:#166534!important}.tpds-report-preview{border:1px dashed #cbd5e1;border-radius:15px;background:#f8fafc;padding:18px;color:#64748b!important;font-size:14px;line-height:1.55;min-height:100px}.tpds-report-preview strong{color:#0f172a!important}.tpds-report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.tpds-report-summary div{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px}.tpds-report-summary span{display:block;font-size:11px;color:#64748b!important}.tpds-report-summary strong{font-size:20px}.tpds-report-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;margin-top:12px;font-size:13px}.tpds-report-meta span{color:#64748b!important}.tpds-busy{position:relative;pointer-events:none;opacity:.65}
@media(max-width:900px){.tpds-grid-main,.tpds-dataset-layout{grid-template-columns:1fr}.tpds-code{min-height:330px}.tpds-header{flex-direction:column}.tpds-local-badge{align-self:flex-start}.tpds-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.tpds-shell{padding:0 12px;margin:28px auto}.tpds-panel{padding:18px;border-radius:17px}.tpds-header h2{font-size:31px}.tpds-metrics,.tpds-confusion,.tpds-report-summary,.tpds-report-meta{grid-template-columns:1fr}.tpds-button{width:100%}.tpds-actions{display:grid;grid-template-columns:1fr}.tpds-panel-head{align-items:flex-start;flex-direction:column}}
