/* TRUEPEAK_TOOLS_SINGLE_OWNER_MOCKUP_V2 */

:root{
  --page:#f7f7fc;
  --page2:#fbfbfe;
  --ink:#111942;
  --muted:#56617f;
  --line:#e0e4ef;
  --purple:#6754ff;
  --purple2:#7b50ff;
  --lavender:#f0ebff;
  --lavender-line:#d9cdff;
  --dark:#09102b;
  --dark2:#0d1637;
  --dark3:#111c43;
  --dark-line:#3b4774;
  --dark-text:#f7f8ff;
  --dark-muted:#cbd3f2;
  --shadow:0 18px 45px rgba(28,34,73,.10);
}

*{box-sizing:border-box}

html,body{
  margin:0;
  min-height:100%;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 0 19%,rgba(181,163,255,.12),transparent 28%),
    radial-gradient(circle at 100% 13%,rgba(207,193,255,.11),transparent 25%),
    linear-gradient(180deg,var(--page),var(--page2));
  color:var(--ink);
}

body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.tp-public-header{
  width:100%;
  background:#fff;
  border-bottom:1px solid #e8eaf2;
}

.tp-public-header-inner{
  max-width:1180px;
  min-height:76px;
  padding:0 24px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:28px;
}

.tp-public-brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#111942;
  text-decoration:none;
  font-size:18px;
  font-weight:850;
  white-space:nowrap;
}

.tp-public-brand img{
  width:36px;
  height:36px;
  display:block;
}

.tp-public-links{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:28px;
}

.tp-public-links a{
  color:#232a50;
  text-decoration:none;
  font-size:14px;
  font-weight:650;
}

.tp-public-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.tp-mock-login,
.tp-mock-start{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 17px;
  border-radius:11px;
  font-size:14px;
  font-weight:750;
  text-decoration:none;
}

.tp-mock-login{
  border:1px solid #dddff0;
  color:#5c50db;
  background:#fff;
}

.tp-mock-start{
  color:#fff;
  border:1px solid transparent;
  background:linear-gradient(135deg,var(--purple2),var(--purple));
}

.tp-tool-page{
  flex:1;
  width:100%;
}

.tp-tools-shell{
  width:min(1060px,calc(100% - 40px));
  margin:0 auto;
  padding:32px 0 28px;
}

.tp-tools-hero{
  text-align:center;
  padding:0 20px 24px;
}

.tp-tools-hero h1{
  margin:0 0 12px;
  color:#101743;
  font-size:clamp(42px,5vw,62px);
  line-height:1;
  letter-spacing:-.038em;
  font-weight:850;
}

.tp-tools-hero p{
  max-width:850px;
  margin:0 auto;
  color:#525d7c;
  font-size:17px;
  line-height:1.5;
}

.tp-login-notice{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  margin-bottom:12px;
  padding:17px 21px;
  border-radius:20px;
  border:1px solid var(--lavender-line);
  background:rgba(240,235,255,.90);
  box-shadow:0 8px 24px rgba(77,56,166,.05);
}

.tp-login-left{
  display:flex;
  align-items:center;
  gap:16px;
}

.tp-lock{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:50px;
  height:50px;
  border-radius:50%;
  background:#e2d9ff;
  color:#6453f5;
  font-size:22px;
}

.tp-login-copy strong{
  display:block;
  margin-bottom:3px;
  color:#171d42;
  font-size:18px;
}

.tp-login-copy span{
  color:#535d79;
  font-size:14px;
}

.tp-login-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:170px;
  min-height:50px;
  padding:0 18px;
  border-radius:13px;
  color:#fff;
  text-decoration:none;
  font-weight:750;
  background:linear-gradient(135deg,var(--purple2),var(--purple));
}

.tp-workspace{
  margin-top:10px;
}

.tp-workspace-inner{
  border-radius:23px;
}

.tp-workspace[data-theme="dark"]{
  --ws-card:linear-gradient(180deg,#0d1534,#09102a);
  --ws-card2:#0a122f;
  --ws-border:rgba(174,188,242,.30);
  --ws-input:#0b1332;
  --ws-text:var(--dark-text);
  --ws-muted:var(--dark-muted);
  --ws-secondary:transparent;
  --ws-secondary-text:#f4f6ff;
}

.tp-workspace[data-theme="light"]{
  --ws-card:#fff;
  --ws-card2:#fff;
  --ws-border:#d9deec;
  --ws-input:#fff;
  --ws-text:#111942;
  --ws-muted:#5d6786;
  --ws-secondary:#fff;
  --ws-secondary-text:#111942;
}

.tp-stage-grid{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(330px,.9fr);
  gap:14px;
}

.tp-stage-card,
.tp-result-card{
  color:var(--ws-text);
  background:var(--ws-card);
  border:1px solid var(--ws-border);
  border-radius:22px;
  box-shadow:var(--shadow);
}

.tp-stage-card{
  padding:19px 20px 20px;
}

.tp-result-card{
  margin-top:12px;
  padding:18px 20px 20px;
}

.tp-stage-card h2,
.tp-result-card h2{
  color:var(--ws-text);
  margin:0 0 6px;
  font-size:18px;
}

.tp-sub{
  display:block;
  margin-bottom:13px;
  color:var(--ws-muted);
  font-size:13px;
}

.tp-drop{
  min-height:226px;
  padding:20px;
  border:1px dashed var(--ws-border);
  border-radius:17px;
  background:var(--ws-card2);
  text-align:center;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.tp-drop.drag{
  border-color:#7662ff;
  box-shadow:0 0 0 3px rgba(103,84,255,.13);
}

.tp-drop-inner{
  max-width:430px;
}

.tp-upload-icon{
  margin-bottom:8px;
  color:#8058ff;
  font-size:60px;
  line-height:1;
}

.tp-drop strong{
  display:block;
  margin-bottom:8px;
  color:var(--ws-text);
  font-size:17px;
}

.tp-drop-copy{
  color:var(--ws-muted);
  font-size:13px;
}

.tp-hidden-file{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

.tp-choose{
  margin:12px auto 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:126px;
  min-height:43px;
  border:0;
  border-radius:11px;
  color:#fff;
  background:linear-gradient(135deg,var(--purple2),var(--purple));
  font:inherit;
  font-size:13px;
  font-weight:750;
  cursor:pointer;
}

.tp-format-note{
  margin-top:6px;
  color:var(--ws-muted);
  font-size:11px;
  line-height:1.5;
}

.tp-field-stack{
  display:grid;
  gap:14px;
}

.tp-field label{
  display:flex;
  align-items:center;
  gap:6px;
  margin:0 0 7px;
  color:var(--ws-text);
  font-size:13px;
  font-weight:650;
}

.tp-info{
  display:inline-grid;
  place-items:center;
  width:16px;
  height:16px;
  border-radius:50%;
  background:#eef0ff;
  color:#5660e4;
  font-size:10px;
}

.tp-select{
  width:100%;
  min-height:50px;
  padding:0 14px;
  border:1px solid var(--ws-border);
  border-radius:12px;
  background:var(--ws-input);
  color:var(--ws-text);
  font:inherit;
  font-size:14px;
  font-weight:600;
}

.tp-meta-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
}

.tp-meta-box{
  min-width:0;
  padding:9px 11px;
  border:1px solid var(--ws-border);
  border-radius:11px;
  background:var(--ws-card2);
}

.tp-meta-label{
  display:block;
  margin-bottom:2px;
  color:var(--ws-muted);
  font-size:10px;
}

.tp-meta-value{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--ws-text);
  font-size:12px;
  font-weight:650;
}

.tp-option-note{
  padding:9px 11px;
  border:1px solid var(--ws-border);
  border-radius:11px;
  background:var(--ws-card2);
  color:var(--ws-muted);
  font-size:12px;
  line-height:1.45;
}

.tp-action-row{
  display:grid;
  grid-template-columns:1.15fr 1fr 1fr 1fr;
  gap:10px;
}

.tp-button{
  min-height:50px;
  padding:0 14px;
  border-radius:12px;
  font:inherit;
  font-size:13px;
  font-weight:750;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.tp-primary{
  border:1px solid transparent;
  color:#fff;
  background:linear-gradient(135deg,var(--purple2),var(--purple));
}

.tp-secondary{
  border:1px solid var(--ws-border);
  color:var(--ws-secondary-text);
  background:var(--ws-secondary);
}

.tp-button[disabled],
.tp-button.disabled,
.tp-button[aria-disabled="true"]{
  opacity:.48;
  cursor:not-allowed;
}

.tp-helper{
  margin-top:10px;
  color:var(--ws-muted);
  font-size:11px;
}

.tp-progress{
  display:none;
  height:8px;
  margin-top:10px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(127,139,185,.18);
}

.tp-progress.show{display:block}

.tp-progress-bar{
  width:0%;
  height:100%;
  background:linear-gradient(90deg,#7d55ff,#5c70ff);
  transition:width .2s ease;
}

.tp-status{
  margin-top:10px;
  min-height:42px;
  padding:11px 13px;
  border:1px solid var(--ws-border);
  border-radius:11px;
  background:var(--ws-card2);
  color:var(--ws-muted);
  font-size:12px;
  display:flex;
  align-items:center;
}

.tp-status.ok{color:#56d69a}
.tp-status.err{color:#ff8d9e}

.tp-output{
  width:100%;
  min-height:104px;
  margin-top:10px;
  padding:14px;
  resize:vertical;
  border:1px solid var(--ws-border);
  border-radius:12px;
  background:var(--ws-input);
  color:var(--ws-text);
  font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;
}

.tp-audio{
  width:100%;
  margin-top:10px;
}

.tp-stats{
  display:flex;
  gap:8px;
  margin-top:8px;
}

.tp-stat{
  padding:6px 9px;
  border:1px solid var(--ws-border);
  border-radius:9px;
  color:var(--ws-muted);
  font-size:10px;
}

.tp-mock-footer{
  margin-top:34px;
  background:#fff;
  border-top:1px solid #e8eaf2;
}

.tp-mock-footer-inner{
  width:min(1120px,calc(100% - 40px));
  margin:0 auto;
  padding:42px 0 26px;
}

.tp-footer-grid{
  display:grid;
  grid-template-columns:1.5fr repeat(4,1fr);
  gap:40px;
}

.tp-footer-brand{
  display:flex;
  gap:10px;
  align-items:center;
  color:#111942;
  font-size:17px;
  font-weight:850;
}

.tp-footer-brand img{
  width:34px;
  height:34px;
}

.tp-footer-about{
  max-width:260px;
  margin:12px 0 0;
  color:#68718c;
  font-size:12px;
  line-height:1.6;
}

.tp-footer-col strong{
  display:block;
  margin-bottom:12px;
  color:#121943;
  font-size:12px;
}

.tp-footer-col a{
  display:block;
  margin:8px 0;
  color:#6a728d;
  text-decoration:none;
  font-size:12px;
}

.tp-footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-top:34px;
  padding-top:18px;
  border-top:1px solid #eceef4;
  color:#7b8298;
  font-size:11px;
}

@media(max-width:900px){
  .tp-public-links{display:none}
  .tp-stage-grid{grid-template-columns:1fr}
  .tp-footer-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:680px){
  .tp-tools-shell{width:min(100% - 24px,1060px)}
  .tp-public-header-inner{padding:0 14px}
  .tp-mock-start{display:none}
  .tp-tools-hero h1{font-size:38px}
  .tp-login-notice{align-items:stretch;flex-direction:column}
  .tp-login-cta{width:100%}
  .tp-action-row{grid-template-columns:1fr 1fr}
  .tp-footer-grid{grid-template-columns:1fr}
  .tp-footer-bottom{align-items:flex-start;flex-direction:column}
}
/* /TRUEPEAK_TOOLS_SINGLE_OWNER_MOCKUP_V2 */

/* TRUEPEAK_TOOLS_PHASE4D_VISUAL_POLISH_V1 */

.tp-tools-shell{
  width:min(1180px,calc(100% - 44px));
  padding-top:40px;
  padding-bottom:38px;
}

.tp-tools-hero{
  padding:4px 20px 30px;
}

.tp-tools-hero p{line-height:1.58}

.tp-login-notice{
  margin-bottom:18px;
  padding:19px 23px;
}

.tp-stage-grid{
  grid-template-columns:minmax(0,1.55fr) minmax(350px,.95fr);
  gap:18px;
}

.tp-stage-card{padding:24px}

.tp-result-card{
  margin-top:16px;
  padding:22px 24px 24px;
}

.tp-drop{
  min-height:252px;
  padding:24px;
}

.tp-field-stack{gap:17px}
.tp-action-row{gap:12px}

.tp-action-row-3{
  grid-template-columns:1.25fr 1fr 1fr;
}

.tp-button{min-height:52px}
.tp-status{min-height:46px}
.tp-output{min-height:124px}

.tp-lock svg{
  width:25px;
  height:25px;
  fill:none;
  stroke:#6652ee;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.tp-tools-menu{
  position:relative;
  display:flex;
  align-items:center;
}

.tp-tools-menu-trigger{
  display:inline-flex !important;
  align-items:center;
  gap:5px;
}

.tp-tools-chevron{
  font-size:14px;
  line-height:1;
  transform:translateY(-1px);
}

.tp-tools-menu-panel{
  position:absolute;
  z-index:40;
  top:calc(100% + 14px);
  left:50%;
  width:260px;
  padding:8px;
  border:1px solid #e1e4ef;
  border-radius:15px;
  background:#fff;
  box-shadow:0 18px 44px rgba(24,31,72,.15);
  opacity:0;
  visibility:hidden;
  transform:translate(-50%,8px);
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
}

.tp-tools-menu:hover .tp-tools-menu-panel,
.tp-tools-menu:focus-within .tp-tools-menu-panel{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0);
}

.tp-tools-menu-panel a{
  display:block !important;
  padding:10px 11px;
  border-radius:10px;
}

.tp-tools-menu-panel a:hover{background:#f5f3ff}

.tp-tools-menu-panel strong{
  display:block;
  color:#171d42;
  font-size:13px;
}

.tp-tools-menu-panel span{
  display:block;
  margin-top:2px;
  color:#727a94;
  font-size:11px;
  font-weight:500;
}

.tp-local-processing-note{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:11px;
  color:var(--ws-muted);
  font-size:11px;
}

.tp-local-dot{
  width:7px;
  height:7px;
  flex:0 0 auto;
  border-radius:50%;
  background:#52d29b;
  box-shadow:0 0 0 4px rgba(82,210,155,.10);
}

.tp-mock-footer-inner{
  width:min(1180px,calc(100% - 44px));
  padding-top:48px;
  padding-bottom:28px;
}

.tp-footer-grid{
  grid-template-columns:1.55fr repeat(5,minmax(100px,1fr));
  gap:28px;
}

.tp-social-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tp-social-row span{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border:1px solid #e1e4ef;
  border-radius:9px;
  background:#fafaff;
  color:#585f79;
  font-size:12px;
  font-weight:800;
}

@media(max-width:1000px){
  .tp-footer-grid{
    grid-template-columns:1.4fr repeat(3,1fr);
  }
}

@media(max-width:900px){
  .tp-stage-grid{grid-template-columns:1fr}

  .tp-tools-menu-panel{
    left:0;
    transform:translate(0,8px);
  }

  .tp-tools-menu:hover .tp-tools-menu-panel,
  .tp-tools-menu:focus-within .tp-tools-menu-panel{
    transform:translate(0,0);
  }
}

@media(max-width:680px){
  .tp-footer-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .tp-footer-col{
    min-width:0;
  }
  .tp-action-row,
  .tp-action-row-3{
    grid-template-columns:1fr;
  }

  .tp-tools-shell{
    width:min(100% - 24px,1180px);
    padding-top:28px;
  }

  .tp-mock-footer-inner{
    width:min(100% - 24px,1180px);
  }
}

/* /TRUEPEAK_TOOLS_PHASE4D_VISUAL_POLISH_V1 */
