/* ops: Clients, Boards, Settings. Every selector under .op-. Sizes from frames at about 1.58x (sidebar 137px on frame = 216px here). */
.op-page{padding:22px 32px 48px}
.op-setbody{max-width:980px}
.op-h{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}
.op-h h1{font-size:18px;font-weight:600;margin:0;letter-spacing:-.1px}
.op-desc{color:var(--text-2);font-size:12.5px;margin-top:5px}
.op-acts{margin-left:auto;display:flex;gap:6px;margin-top:6px}
.op-btn{background:#1f1f1f;border-color:#2a2a2a;height:28px;gap:6px}
.op-btn svg.lucide{width:14px;height:14px}
.op-tabs{margin-bottom:14px}
.op-tabs .tab{font-size:12.5px;padding:7px 9px;font-weight:500}
.op-tabs .tab:first-child{padding-left:9px}
.op-sp{flex:1}

.op-card{background:#1c1c1c;border:1px solid #232323;border-radius:9px}
.op-skel{background:#1a1a1a;border:1px solid #202020;border-radius:9px;padding:16px 14px;margin-bottom:12px;display:flex;flex-direction:column;gap:9px}
.op-skel i{display:block;height:7px;border-radius:4px;background:#252525;animation:op-pulse 1.1s ease-in-out infinite alternate}
@keyframes op-pulse{from{opacity:.55}to{opacity:1}}
.op-soon{display:flex;flex-direction:column;align-items:center;gap:6px;padding:42px 0;color:var(--muted)}
.op-soon b{color:var(--text);font-weight:600}
.op-soon svg.lucide{width:20px;height:20px}

/* settings: General */
.op-form{padding:0 0 0}
.op-row{display:flex;gap:16px;padding:14px 13px;border-bottom:1px solid #222}
.op-lbl{width:200px;flex:none;display:flex;flex-direction:column;gap:3px}
.op-lbl b{font-size:12.5px;font-weight:600}
.op-lbl span{color:var(--muted);font-size:11.5px;line-height:1.4}
.op-ctl{flex:1;max-width:300px}
.op-ctl.wide{max-width:none}
.op-inp{width:100%;background:#262626;border:1px solid #2b2b2b;border-radius:7px;height:30px;padding:0 10px;outline:none;color:var(--text);font-size:12.5px}
textarea.op-inp{height:auto;min-height:52px;padding:8px 10px;resize:vertical;font-family:inherit}
select.op-inp{appearance:none;-webkit-appearance:none;padding-right:26px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237c7c7c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center}
.op-inp:focus{border-color:#444}
.op-inp:disabled{opacity:.6}
.op-sm{max-width:120px}
.op-foot{display:flex;justify-content:flex-end;padding:11px 13px}
.op-save{background:#2a2a2a;border-color:#2f2f2f}
.op-save:disabled{color:#6a6a6a;cursor:default;background:#232323}

/* bars, search, segmented */
.op-bar{display:flex;align-items:center;gap:8px;margin:0 0 10px}
.op-search{display:flex;align-items:center;gap:7px;width:176px;height:28px;padding:0 9px;border-radius:7px;background:#1f1f1f;border:1px solid #262626;color:var(--muted)}
.op-search svg.lucide{width:13px;height:13px}
.op-search input{flex:1;min-width:0;background:none;border:0;outline:none;font-size:12.5px}
.op-search input::placeholder{color:#6c6c6c}
.op-seg{display:inline-flex;gap:2px;padding:2px;border-radius:7px;background:#1f1f1f;border:1px solid #262626}
.op-seg button{border:0;background:none;color:var(--muted);height:22px;padding:0 9px;border-radius:5px;font-size:12px;display:flex;align-items:center;gap:6px}
.op-seg button span{color:#6a6a6a;font-size:11px}
.op-seg button:hover{color:var(--text)}
.op-seg button.on{background:#2e2e2e;color:var(--text)}

/* tables */
.op-tblwrap{overflow:auto}
.op-tbl{width:100%;border-collapse:collapse;font-size:12.5px}
.op-tbl th{text-align:left;color:var(--muted);font-weight:500;font-size:11.5px;padding:9px 12px;border-bottom:1px solid #242424;white-space:nowrap}
.op-tbl td{padding:7px 12px;border-bottom:1px solid #212121;white-space:nowrap;vertical-align:middle}
.op-tbl tbody tr:last-child td{border-bottom:0}
.op-tbl tbody tr[data-m],.op-tbl tbody tr[data-c]{cursor:pointer}
.op-tbl tbody tr[data-m]:hover td,.op-tbl tbody tr[data-c]:hover td{background:#202020}
.op-tbl .op-num{text-align:right}
.op-sort{cursor:pointer;color:var(--text-2)!important}
.op-sort svg.lucide{width:11px;height:11px;vertical-align:-1px}
.op-chev{width:20px;color:#555;text-align:right}
.op-chev svg.lucide{width:13px;height:13px}
.op-dim td{opacity:.5}
.op-person{display:flex;align-items:center;gap:10px}
.op-av{width:20px;height:20px;border-radius:5px;display:grid;place-items:center;color:#fff;font-size:10.5px;font-weight:600;flex:none}
.op-av.big{width:32px;height:32px;border-radius:8px;font-size:14px}
.op-photo{background:radial-gradient(circle at 50% 38%,#d9c2ad 0 30%,#5b4a3d 31% 100%);color:transparent}
.op-nm{font-weight:500;color:var(--text)}
.op-you{color:var(--muted);font-weight:400;font-size:11.5px;margin-left:3px}
.op-sub{color:var(--muted);font-size:11.5px;margin-top:1px}
.op-role{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:6px;background:#181818;border:1px solid #2a2a2a;color:var(--text-2);font-size:11.5px}

/* drawer (narrower, as on f00580) */
#drawer.op-drawer{width:380px;background:#212121;border-left:1px solid #2c2c2c}
.op-dr{display:flex;flex-direction:column;min-height:100%}
.op-dr-h{display:flex;align-items:center;gap:10px;padding:16px 16px 12px}
.op-dr-h .icon-btn{margin-left:auto}
.op-dr-b{flex:1;padding:4px 16px 16px;display:flex;flex-direction:column;gap:12px}
.op-dr-f{display:flex;align-items:center;gap:10px;padding:12px 16px;border-top:1px solid #2a2a2a}
.op-dr-f .op-note{flex:1}
.op-f{display:flex;flex-direction:column;gap:5px}
.op-f label{color:var(--text-2);font-size:12px}
.op-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.op-note{color:var(--muted);font-size:11.5px;line-height:1.45}
.op-sec{display:flex;flex-direction:column;gap:6px;padding-top:12px;border-top:1px solid #2a2a2a}
.op-sec>b{font-size:12.5px;font-weight:600}
.op-sh{color:var(--text-2);font-size:12px;margin-bottom:2px}
.op-kv{display:flex;align-items:center;font-size:12.5px;gap:10px}
.op-kv span{color:var(--muted);width:110px;flex:none}
.op-kv b{font-weight:400;color:var(--text)}
.op-kv .op-r{margin-left:auto;width:auto;font-size:11.5px}
.op-mform{display:flex;flex-direction:column;gap:12px}

/* boards */
.op-boards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.op-bcard{background:#1c1c1c;border:1px solid #232323;border-radius:9px;padding:13px 14px;cursor:pointer;min-height:150px;display:flex;flex-direction:column}
.op-bcard:hover{border-color:#333;background:#1f1f1f}
.op-bt{font-size:13.5px;font-weight:600}
.op-bd{color:var(--muted);font-size:11.5px;margin-top:2px}
.op-bm{color:var(--text-2);font-size:11px;margin-top:18px}
.op-bo{color:var(--muted);font-size:11px;margin-top:auto;padding-top:14px}
.op-emptybox{display:flex;flex-direction:column;align-items:center;gap:5px;padding:46px 0;color:var(--muted);font-size:12px;text-align:center}
.op-emptybox b{color:var(--text);font-weight:600;font-size:12.5px}
.op-emptybox svg.lucide{width:16px;height:16px;margin-bottom:4px}
.op-emptybox.flat{padding:44px 0 50px}
.op-norow td{border-bottom:0}
.op-kanban{display:flex;gap:10px;overflow-x:auto;padding-bottom:10px;align-items:flex-start}
.op-col{width:268px;flex:none;background:#181818;border:1px solid #222;border-radius:9px;display:flex;flex-direction:column}
.op-col-h{display:flex;align-items:center;gap:7px;padding:10px 10px 8px;font-size:12.5px}
.op-cnt{color:var(--muted);font-size:11px}
.op-agent{display:flex;align-items:center;gap:4px;height:22px;padding:0 7px;border-radius:6px;border:1px solid #2a2a2a;background:#1e1e1e;color:var(--muted);font-size:11px}
.op-agent svg.lucide{width:12px;height:12px}
.op-agent.on{color:#8aa8ea;border-color:rgba(101,138,216,.35);background:rgba(101,138,216,.1)}
.op-col-b{display:flex;flex-direction:column;gap:6px;padding:0 8px 8px}
.op-kcard{background:#1f1f1f;border:1px solid #2a2a2a;border-radius:7px;padding:8px 10px;cursor:pointer;font-size:12.5px}
.op-kcard:hover{border-color:#383838}
.op-add{display:flex;align-items:center;gap:6px;border:0;background:none;color:var(--muted);height:28px;padding:0 6px;border-radius:6px;font-size:12px}
.op-add:hover{background:#202020;color:var(--text)}
.op-add svg.lucide{width:13px;height:13px}
.op-kform{display:flex;flex-direction:column;gap:6px}
.op-kform>div{display:flex;gap:6px}

/* clients */
.op-kpis{display:grid;grid-template-columns:repeat(5,1fr);margin-bottom:12px}
.op-kpis>div{padding:11px 13px;display:flex;flex-direction:column;gap:2px;border-right:1px solid #232323}
.op-kpis>div:last-child{border-right:0}
.op-kpis span{color:var(--muted);font-size:11px}
.op-kpis b{font-size:15px;font-weight:600;margin-top:2px}
.op-kpis b.up{color:#5fcb88}
.op-kpis em{font-style:normal;color:var(--muted);font-size:11px}
.op-colsel{display:flex;flex-direction:column;gap:8px}
.op-colsel label{display:flex;align-items:center;gap:8px;color:var(--text-2);cursor:pointer}
.op-colsel input{accent-color:#ececec}

/* wave 2 */
.op-click{cursor:pointer}
.op-tbl tbody tr.op-click:hover td{background:#202020}
.op-tbl th.op-sort{cursor:pointer;user-select:none}
.op-tbl th.op-sort:hover,.op-tbl th.op-sort.on{color:var(--text-2)}
.op-tbl th.op-num{text-align:right}
.op-wrap{white-space:normal!important;min-width:220px}
.op-bad{border-color:#b84a45!important}
.op-tag{display:inline-flex;align-items:center;height:16px;padding:0 6px;border-radius:4px;background:#2a2620;color:#c9a66a;font-size:10px;font-weight:500;vertical-align:middle;margin-left:6px;letter-spacing:.2px}
.op-h h1 .op-tag{vertical-align:3px}
.op-menu{position:fixed;z-index:90;min-width:180px;max-height:320px;overflow:auto;background:#1e1e1e;border:1px solid #303030;border-radius:9px;padding:4px;box-shadow:0 12px 32px rgba(0,0,0,.5)}
.op-menu button{display:flex;align-items:center;gap:8px;width:100%;height:28px;padding:0 9px;border:0;background:none;border-radius:6px;color:var(--text-2);font-size:12.5px;text-align:left}
.op-menu button:hover{background:#2a2a2a;color:var(--text)}
.op-menu button.danger{color:#ef7b75}
.op-menu button span{flex:1}
.op-menu svg.lucide{width:13px;height:13px}
.op-menu .op-ck{color:var(--text)}
.op-menu-sep{height:1px;background:#2c2c2c;margin:4px 2px}
.op-link{border:0;background:none;color:#8aa8ea;padding:0;font-size:12px;text-align:left;margin-top:2px;cursor:pointer}
.op-link:hover{text-decoration:underline}
.op-btnrow{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
/* usage */
.op-sh2{color:var(--muted);font-size:11px;margin-top:8px}
.op-ustat{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.op-ustat>div{background:#1b1b1b;border:1px solid #2a2a2a;border-radius:7px;padding:7px 9px;display:flex;flex-direction:column;gap:1px}
.op-ustat span{color:var(--muted);font-size:11px}
.op-ustat b{font-size:14px;font-weight:600}
.op-bar2{display:grid;grid-template-columns:120px 1fr 44px;align-items:center;gap:8px;font-size:12px}
.op-bar2 span{color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.op-bar2 i{height:6px;border-radius:3px;background:#2a2a2a;overflow:hidden}
.op-bar2 em{display:block;height:100%;background:#658ad8;border-radius:3px}
.op-bar2 b{font-weight:500;text-align:right;color:var(--text-2)}
.op-chips{display:flex;flex-wrap:wrap;gap:5px}
.op-chip{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 8px;border-radius:6px;background:#1b1b1b;border:1px solid #2a2a2a;color:var(--text-2);font-size:11.5px}
.op-chip b{color:var(--text);font-weight:500}
/* roles */
.op-split{display:grid;grid-template-columns:220px 1fr;gap:12px;align-items:start}
.op-rlist{padding:6px;display:flex;flex-direction:column;gap:2px}
.op-ritem{display:flex;align-items:center;gap:8px;border:0;background:none;padding:8px 9px;border-radius:7px;text-align:left;color:var(--text-2)}
.op-ritem>div{flex:1;display:flex;flex-direction:column}
.op-ritem b{font-weight:500;color:var(--text)}
.op-ritem span{font-size:11px;color:var(--muted)}
.op-ritem:hover{background:#222}
.op-ritem.on{background:#262626}
.op-ritem svg.lucide{width:12px;height:12px;color:var(--muted)}
.op-rdet{padding:14px 16px}
.op-rhead{display:flex;align-items:flex-start;gap:10px}
.op-rhead b{font-size:14px}
.op-perm{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid #232323;font-size:12.5px;cursor:pointer}
.op-perm:last-child{border-bottom:0}
.op-perm.flat{border:0;padding:4px 0;gap:12px;justify-content:flex-start}
.op-perm.dis{cursor:default;opacity:.7}
.op-tog{appearance:none;-webkit-appearance:none;width:30px;height:17px;border-radius:9px;background:#333;position:relative;cursor:pointer;margin:0;flex:none;transition:background .15s}
.op-tog::after{content:"";position:absolute;top:2px;left:2px;width:13px;height:13px;border-radius:50%;background:#bbb;transition:left .15s}
.op-tog:checked{background:#3fb26b}
.op-tog:checked::after{left:15px;background:#fff}
.op-tog:disabled{cursor:default}
/* sales settings */
.op-stages{display:flex;flex-direction:column;gap:6px}
.op-stage{display:flex;align-items:center;gap:6px}
.op-grip{width:18px;color:var(--muted);font-size:11px;text-align:center}
.op-stage>.op-inp{flex:1}
.op-pct{display:flex;align-items:center;gap:4px;width:84px;color:var(--muted)}
.op-pct .op-inp{width:60px}
.op-stage .icon-btn:disabled{opacity:.3;cursor:default}
/* invoicing */
.op-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.op-plan{padding:13px 14px;display:flex;flex-direction:column;gap:3px}
.op-plan>b{font-size:14px;font-weight:600}
.op-big{font-size:22px;font-weight:600;margin:4px 0 2px}
.op-big small{font-size:12px;color:var(--muted);font-weight:400}
.op-meter{display:flex;flex-direction:column;gap:4px;margin-top:8px;font-size:12px}
.op-meter>div{display:flex;justify-content:space-between}
.op-meter i{height:6px;border-radius:3px;background:#2a2a2a;overflow:hidden;display:block}
.op-meter em{display:block;height:100%;background:#658ad8;border-radius:3px}
.op-meter em.hot{background:#e3a33b}
.op-inv{display:flex;flex-direction:column;gap:8px}
.op-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.op-pl{display:flex;flex-direction:column;gap:3px;align-items:flex-start;padding:12px;border-radius:9px;border:1px solid #2c2c2c;background:#1a1a1a;text-align:left}
.op-pl:hover{border-color:#444}
.op-pl.on{border-color:#ececec}
/* boards extras */
.op-bt{display:flex;align-items:center}
.op-bmore{margin-left:auto;opacity:0}
.op-bcard:hover .op-bmore{opacity:1}
.op-col-h .icon-btn{width:22px;height:22px}
.op-col.over{border-color:#658ad8;background:#1a1d24}
.op-kcard.drag{opacity:.4}
.op-kmeta{display:flex;align-items:center;gap:6px;margin-top:6px}
.op-titleinp{font-size:14px;font-weight:600;background:transparent;border-color:transparent;padding:0 4px;margin-left:-5px}
.op-titleinp:hover,.op-titleinp:focus{background:#262626;border-color:#2b2b2b}
.op-strike{text-decoration:line-through;color:var(--muted)}
.op-cb{accent-color:#3fb26b;cursor:pointer}
.op-answer{margin-top:10px;display:flex;flex-direction:column;gap:5px;font-size:12.5px;color:var(--text-2)}
.op-answer:empty{display:none}
/* requests */
.op-stbtn{border:0;cursor:pointer;gap:3px}
.op-stbtn svg.lucide{width:10px;height:10px}
.op-seg button svg.lucide{width:13px;height:13px}
.op-cmt{padding:7px 0;border-bottom:1px solid #262626;font-size:12.5px;display:flex;flex-wrap:wrap;gap:4px}
.op-cmt>div{width:100%;color:var(--text-2)}
.op-cmt .op-r{margin-left:auto;color:var(--muted);font-size:11px}
.op-cmt.sys>div{color:var(--muted);font-style:italic}
.op-cbox{display:flex;gap:6px;margin-top:8px}
/* revenue */
.op-kpis em.down{color:#ef7b75}
.op-kpis b.down{color:#ef7b75}
.op-chart{padding:12px 14px}
.op-chart-h{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.op-chartbox{position:relative}
.op-bars{width:100%;height:auto;max-height:260px;display:block}
.op-bars rect{fill:#3a4f7d;cursor:pointer}
.op-bars rect.last,.op-bars rect:hover{fill:#658ad8}
.op-bars .op-grid{stroke:#262626;stroke-width:1;vector-effect:non-scaling-stroke}
.op-bars .op-ax{fill:#6c6c6c;font-size:11px}
.op-tip{position:absolute;display:none;transform:translateX(-50%);background:#2a2a2a;border:1px solid #3a3a3a;border-radius:6px;padding:3px 8px;font-size:11.5px;white-space:nowrap;pointer-events:none}
