:root{
  --wg-primary:#2E1F6D; --wg-text:#111827; --wg-border:#E5E7EB; --wg-muted:#6B7280;
}
.worgoo-ptt-root *{box-sizing:border-box}
.worgoo-ptt-root{font-family:'Space Grotesk',ui-sans-serif,system-ui;color:var(--wg-text)}
.ptt-wrap{max-width:1450px;margin:40px auto;padding:0 24px}
.ptt-title{font-weight:800;font-size:34px;margin:0 0 6px}
.ptt-desc{color:var(--wg-muted);font-size:15px;max-width:1050px;margin:0 0 18px}
.ptt-grid{display:grid;grid-template-columns:1fr;gap:24px}
@media(min-width:1100px){.ptt-grid{grid-template-columns:1.15fr .85fr}}
.card{background:#fff;border:1px solid var(--wg-border);border-radius:20px}
.card-body{padding:20px}
.field{display:grid;grid-template-columns:230px 1fr;border:1px solid var(--wg-border);border-radius:12px;overflow:hidden;background:#fff;min-height:62px}
.field+.field{margin-top:12px}
.labelc{padding:16px;border-right:1px solid var(--wg-border);font-weight:700;display:flex;align-items:center}
.cell{padding:10px 14px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.inputbox{border:1px solid var(--wg-border);border-radius:12px;height:44px;padding:0 12px;display:flex;align-items:center;gap:8px;background:#fff;width:100%;min-width:160px}
.inputbox span{color:var(--wg-muted);font-size:13px}
.input,.select{flex:1;min-width:0;height:40px;border:0;outline:0;background:transparent;font-size:15px}
.seg{display:inline-flex;border:1px solid var(--wg-border);border-radius:10px;overflow:hidden}
.seg button{height:36px;padding:0 12px;border:0;background:#fff;font-weight:600}
.seg button+button{border-left:1px solid var(--wg-border)}
.seg .on{background:var(--wg-primary);color:#fff}
.actions{display:grid;grid-template-columns:220px 1fr;gap:12px;margin-top:18px}
.btn{height:52px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;padding:0 20px;font-weight:800;border:1px solid transparent}
.btn.clear{background:transparent;border-color:var(--wg-primary);color:var(--wg-primary)}
.btn.calc{background:var(--wg-primary);color:#fff}
.visual{height:260px;border:1px solid var(--wg-border);border-radius:20px;background:#fff;display:flex;align-items:center;justify-content:center;padding:16px}
.visual img{max-width:420px;max-height:100%;height:auto;width:auto;display:block}
.res{margin-top:16px;padding:18px;border:1px solid var(--wg-border);border-radius:20px}
.res-title{font-size:18px;font-weight:800;margin-bottom:8px}
.list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.row{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px dashed #e9edf3}
.row:last-child{border-bottom:0}
.muted{color:var(--wg-muted);font-size:12px;margin-top:8px}
.table{margin-top:10px;border:1px solid var(--wg-border);border-radius:12px;overflow:hidden}
.table table{width:100%;border-collapse:collapse}
.table th,.table td{padding:10px 12px;border-bottom:1px solid var(--wg-border);text-align:left;font-size:14px}
.table th{background:#f9fafb;font-weight:700}
.table tr:last-child td{border-bottom:0}
.ptt-wrap .card + .card{margin-top:16px}
@media (max-width: 880px){
  .field{grid-template-columns:1fr}
  .labelc{border-right:0;border-bottom:1px solid var(--wg-border)}
  .cell{padding:14px}
  .actions{grid-template-columns:1fr}
  .visual{height:auto;min-height:180px}
  .res .list{grid-template-columns:1fr}
}
