.pm-wrap{--pm-primary:#0f766e;--pm-primary-hover:#0d9488;--pm-done:#047857;--pm-muted:#64748b;--pm-border:#e2e8f0;--pm-bg:#f8fafc;--pm-surface:var(--surface,#fff);width:100%;margin:0 0 2rem 0;}
.pm-card-full{background:var(--pm-surface);border:1px solid var(--pm-border);border-radius:16px;box-shadow:0 1px 3px rgba(0,0,0,0.06);overflow:hidden;display:grid;grid-template-columns:1fr;}
.pm-left{padding:1.5rem;border-bottom:1px solid var(--pm-border);}
.pm-right{padding:1.5rem;background:var(--pm-bg);}
.pm-panel-title{font-size:1.125rem;font-weight:700;color:var(--text-main,#0f172a);margin:0 0 1rem 0;}
.pm-new{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-end;}
.pm-field{display:flex;flex-direction:column;gap:0.375rem;min-width:0;}
.pm-field:first-child{flex:1;min-width:160px;}
.pm-field .pm-input-num{width:100%;max-width:6rem;}
.pm-field-action{flex-shrink:0;}
.pm-label{font-size:0.8125rem;font-weight:600;color:var(--pm-muted);}
.pm-input,.pm-select{padding:0.75rem 1rem;font-size:1rem;border:1px solid var(--pm-border);border-radius:10px;background:var(--pm-surface);width:100%;}
.pm-input:focus,.pm-select:focus{outline:none;border-color:var(--pm-primary);box-shadow:0 0 0 2px rgba(15,118,110,0.2);}
.pm-select{min-width:120px;}
.pm-btn{padding:0.625rem 1.25rem;font-size:0.9375rem;font-weight:600;border-radius:10px;border:none;cursor:pointer;transition:background 0.2s,color 0.2s;}
.pm-btn-primary{background:var(--pm-primary);color:#fff;}
.pm-btn-primary:hover{background:var(--pm-primary-hover);}
.pm-btn-ghost{background:transparent;color:var(--pm-muted);border:1px solid var(--pm-border);}
.pm-btn-ghost:hover{background:var(--pm-surface);color:var(--pm-primary);}
.pm-preview-wrap{margin-bottom:1.25rem;}
.pm-preview-label{font-size:0.8125rem;font-weight:600;text-transform:uppercase;letter-spacing:0.05em;color:var(--pm-muted);margin:0 0 0.5rem 0;}
.pm-preview{min-height:100px;padding:1rem;background:var(--pm-surface);border:1px solid var(--pm-border);border-radius:12px;display:flex;align-items:center;justify-content:center;}
.pm-preview:empty::before{content:'Preview appears here';color:var(--pm-muted);font-size:0.9375rem;}
.pm-result-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0.75rem;margin-bottom:1rem;}
.pm-result-head .pm-panel-title{margin:0;}
.pm-actions-right{display:flex;gap:0.5rem;}
.pm-list{display:grid;grid-template-columns:1fr;gap:1rem;min-height:120px;}
.pm-empty{grid-column:1/-1;text-align:center;padding:2rem 1rem;background:var(--pm-surface);border:1px dashed var(--pm-border);border-radius:14px;}
.pm-empty.hidden{display:none;}
.pm-empty-icon{display:block;width:48px;height:48px;margin:0 auto 0.75rem;background:var(--pm-border);border-radius:50%;}
.pm-empty-title{font-size:1.0625rem;font-weight:600;color:var(--text-main,#0f172a);margin:0 0 0.375rem 0;}
.pm-empty-desc{font-size:0.9375rem;color:var(--pm-muted);margin:0;}
.pm-card{background:var(--pm-surface);border:1px solid var(--pm-border);border-radius:14px;padding:1.25rem;transition:box-shadow 0.2s,border-color 0.2s;}
.pm-card:hover{box-shadow:0 4px 14px rgba(0,0,0,0.06);}
.pm-card.done{border-color:var(--pm-done);background:linear-gradient(135deg,#ecfdf5 0%,#d1fae5 100%);}
.pm-card-title{font-size:1rem;font-weight:600;color:var(--text-main,#0f172a);margin:0 0 1rem 0;}
.pm-card-viz{margin-bottom:0.75rem;}
.pm-card-meta{font-size:0.875rem;color:var(--pm-muted);margin-bottom:0.75rem;}
.pm-card-actions{display:flex;gap:0.5rem;}
.pm-card .pm-btn{padding:0.5rem 1rem;font-size:0.875rem;}
.pm-ring{position:relative;width:100px;height:100px;margin:0 auto;}
.pm-ring svg{transform:rotate(-90deg);}
.pm-ring-bg{stroke:var(--pm-border);}
.pm-ring-fill{stroke-linecap:round;transition:stroke-dashoffset 0.35s ease;}
.pm-ring-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:1.125rem;font-weight:700;color:var(--text-main,#0f172a);}
.pm-bar-viz{height:12px;background:var(--pm-border);border-radius:6px;overflow:hidden;}
.pm-bar-fill{height:100%;border-radius:6px;transition:width 0.35s ease;}
.pm-steps{display:flex;gap:4px;}
.pm-step{flex:1;height:20px;border-radius:6px;background:var(--pm-border);transition:background 0.2s;}
.pm-step.filled{background:var(--pm-primary);}
.pm-step.filled.done{background:var(--pm-done);}
.pm-edu{margin-top:2rem;padding:1.5rem;background:var(--pm-surface);border:1px solid var(--pm-border);border-radius:14px;}
.pm-edu-title{font-size:1.25rem;font-weight:700;color:var(--text-main,#0f172a);margin:0 0 0.75rem 0;}
.pm-edu-p{font-size:0.9375rem;line-height:1.6;color:var(--pm-muted);margin:0;}
@media (min-width:768px){.pm-card-full{grid-template-columns:1fr 1fr;}.pm-left{border-bottom:none;border-right:1px solid var(--pm-border);}.pm-right{background:var(--pm-surface);}.pm-list{grid-template-columns:1fr;}.pm-preview{min-height:120px;}}
@media (min-width:1024px){.pm-list{grid-template-columns:repeat(2,1fr);}.pm-preview{min-height:140px;}}
*:focus-visible{outline:2px solid var(--pm-primary);outline-offset:2px;}
@media (prefers-reduced-motion:reduce){.pm-ring-fill,.pm-bar-fill{transition-duration:0.01ms;}}
