.pwm-root { display: flex; flex-direction: column; gap: 16px; }
.pwm-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.pwm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pwm-card { cursor: pointer; border-left: 4px solid var(--pwm-accent, #3B6D11); }
.pwm-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.pwm-badge { font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #e8f0e4; color: #2d5010; }
.pwm-meta { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.pwm-progress { height: 6px; background: #e2e6ed; border-radius: 999px; margin-top: 10px; overflow: hidden; }
.pwm-progress-bar { height: 100%; background: #3B6D11; border-radius: 999px; }
.pwm-detail-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.pwm-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.pwm-tab { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 13px; }
.pwm-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pwm-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: start; }
@media (max-width: 900px) { .pwm-board { grid-template-columns: 1fr 1fr; } }
.pwm-col { background: #f4f6f9; border-radius: 10px; padding: 10px; min-height: 120px; }
.pwm-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.pwm-task { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 10px; margin-bottom: 8px; cursor: pointer; font-size: 13px; }
.pwm-task:hover { border-color: #aab4c4; }
.pwm-task-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 11px; color: var(--muted); }
.pwm-pri { font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 4px; background: #fff3cd; color: #856404; }
.pwm-add-col { font-size: 12px; color: var(--navy); cursor: pointer; border: none; background: none; padding: 4px 0; }
.pwm-list table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pwm-list th, .pwm-list td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: left; }
.pwm-sidebar { position: fixed; top: 0; right: 0; width: min(380px, 100vw); height: 100vh; background: #fff; border-left: 1px solid var(--border); box-shadow: -4px 0 24px rgba(0,0,0,.08); z-index: 200; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .2s ease; }
.pwm-sidebar.open { transform: translateX(0); }
.pwm-sidebar-head { padding: 16px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.pwm-sidebar-body { padding: 16px; overflow: auto; flex: 1; }
.pwm-comment { border-top: 1px solid var(--border); padding: 10px 0; font-size: 13px; }
.pwm-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.pwm-modal-backdrop { position: fixed; inset: 0; background: rgba(20,33,61,.45); z-index: 300; display: none; align-items: center; justify-content: center; padding: 16px; }
.pwm-modal-backdrop.open { display: flex; }
.pwm-modal { background: #fff; border-radius: 12px; max-width: 440px; width: 100%; padding: 20px; }
.pwm-modal label { display: block; font-size: 12px; font-weight: 600; margin: 10px 0 4px; }
.pwm-modal input, .pwm-modal textarea, .pwm-modal select { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.pwm-modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.pcrm-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.pcrm-pipeline { display: grid; grid-template-columns: repeat(6, minmax(140px, 1fr)); gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.pcrm-stage { background: #f4f6f9; border-radius: 10px; padding: 8px; min-height: 200px; }
.pcrm-stage.drag-over { outline: 2px dashed var(--navy); }
.pcrm-deal { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 10px; margin-bottom: 8px; cursor: grab; font-size: 12px; }
.pcrm-deal-value { font-weight: 700; color: var(--navy); margin-top: 4px; }
.pcrm-search { max-width: 320px; margin-bottom: 12px; }
.pcrm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pcrm-table th, .pcrm-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: left; }
