/* Left-hand section column (owner-subnav.js adds body.owner-layout). */
.owner-layout .revenue-shell{max-width:1480px;display:grid;grid-template-columns:236px minmax(0,1fr);gap:28px;align-items:start}
.owner-side{position:sticky;top:20px;display:flex;flex-direction:column;gap:2px;background:#153b3e;border-radius:14px;padding:16px 10px 18px;max-height:calc(100vh - 40px);overflow-y:auto}
.owner-side a{color:#d6ece8;text-decoration:none;font-size:14px;font-weight:600;padding:8px 12px;border-radius:8px;display:block}
.owner-side a:hover{background:#ffffff1a;color:#fff}
.owner-side a[aria-current=page]{background:#fff;color:#153b3e}
.owner-side .owner-side-back{color:#9cc4be;font-weight:500;font-size:13px}
.owner-side-title{color:#fff;font-size:18px;font-weight:750;padding:10px 12px 8px;letter-spacing:-.2px}
.owner-side-group{display:flex;flex-direction:column;gap:2px;margin-top:8px}
.owner-side-label{font-size:10px;letter-spacing:1.6px;color:#8fb8b2;font-weight:700;text-transform:uppercase;padding:8px 12px 4px}
@media(max-width:900px){
 .owner-layout .revenue-shell{grid-template-columns:1fr;gap:12px;padding-top:16px}
 .owner-side{position:static;flex-direction:row;align-items:center;overflow-x:auto;overflow-y:hidden;max-height:none;padding:8px;gap:4px;scrollbar-width:thin}
 .owner-side-title,.owner-side-label{display:none}
 .owner-side-group{flex-direction:row;margin:0;gap:4px}
 .owner-side a{white-space:nowrap;font-size:13px;padding:0 12px;min-height:40px;display:flex;align-items:center}
 .revenue .rev-button,.revenue .own-ask button{min-height:40px}
}
/* Dashboard. */
.revenue .own-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin:14px 0 18px}
.revenue a.own-kpi{text-decoration:none;color:inherit;display:block}
.revenue a.own-kpi:hover{border-color:#37877f;box-shadow:0 2px 10px #153b3e14}
.revenue .own-kpi .rev-value{font-size:clamp(20px,2.2vw,28px);line-height:1.2;overflow-wrap:anywhere}
.revenue .own-kpi.bad{border-top-color:#b4532a}
.revenue .own-kpi.warn{border-top-color:#c69526}
.revenue .own-kpi.need{border-top-color:#b9c8c6;background:#fafcfc}
.revenue .own-kpi.need .rev-value{color:#8aa3a1}
.revenue .own-dgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
.revenue .own-dcard{min-width:0}
.revenue .own-dcard-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:6px}
.revenue .own-dcard-head h2{font-size:18px;margin:0}
.revenue .own-dcard-head a{font-size:13px;font-weight:600;white-space:nowrap;text-decoration:none}
.revenue .own-needs{background:#fff6df;border:1px dashed #d7b86d;border-radius:10px;padding:12px 14px;margin:10px 0;font-size:13px;color:#5c4510}
.revenue .own-needs b{color:#7a5200;text-transform:uppercase;letter-spacing:.8px;font-size:11px;margin-right:4px}
.revenue .own-alerts{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:6px}
.revenue .own-alerts li{padding:9px 12px 9px 14px;border-radius:8px;font-size:14px;border-left:4px solid #37877f;background:#f5fbfa}
.revenue .own-alerts li.bad{border-left-color:#b4532a;background:#fdf1ea}
.revenue .own-alerts li.warn{border-left-color:#c69526;background:#fff8e6}
.revenue .own-alerts li a{color:#153b3e;text-decoration:none}.revenue .own-alerts li a:hover{text-decoration:underline}
.revenue .own-alerts li.bad::before{content:'● ';color:#b4532a}.revenue .own-alerts li.warn::before{content:'▲ ';color:#c69526;font-size:11px}.revenue .own-alerts li.info::before{content:'i ';color:#37877f;font-weight:700}
.revenue .own-mini{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:8px 0 12px}
.revenue .own-mini .rev-metric{padding:12px}
.revenue .own-mini .rev-value{font-size:22px}
.revenue .own-stagechips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 12px}
.revenue .own-stagechips .own-chip{margin:0;font-size:12px;padding:4px 10px}
.revenue .own-spark{width:100%;height:auto;max-height:140px;display:block;margin:8px 0}
.revenue .own-spark-base{stroke:#d5e5e2;stroke-width:1}
.revenue .own-spark-line{fill:none;stroke:#14625b;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.revenue .own-spark-dot{fill:#14625b;stroke:#fff;stroke-width:2}
@media(max-width:1180px){.revenue .own-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.revenue .own-dgrid{grid-template-columns:1fr}}
@media(max-width:520px){.revenue .own-kpis{gap:8px}.revenue .own-kpis .rev-metric{padding:12px}.revenue .own-kpi .rev-value{font-size:19px}.revenue .own-kpi .rev-help{font-size:12px}.revenue .own-mini{grid-template-columns:1fr}}
.revenue .own-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin:18px 0}
.revenue .own-tile{display:block;text-decoration:none;background:#fff;border:1px solid var(--rev-border);border-radius:12px;padding:18px;color:inherit}
.revenue .own-tile:hover{border-color:#37877f;box-shadow:0 2px 10px #153b3e14}
.revenue .own-tile b{display:block;font-size:16px;margin-bottom:6px;color:#153b3e}
.revenue .own-tile span{font-size:13px;color:#526987;line-height:1.5}
.revenue .own-chip{display:inline-block;font-size:11px;padding:2px 8px;border-radius:999px;background:#dff1ee;color:#14625b;margin-left:6px;font-weight:600}
.revenue .own-chip.warn{background:#fff1d6;color:#7a5200}
.revenue .own-chip.bad{background:#fde3d3;color:#8a3200}
.revenue .own-grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}
.revenue .own-setup{background:#fff6df;border:1px solid #d7b86d;border-radius:12px;padding:18px;margin:16px 0}
.revenue .own-setup code{background:#fff;border:1px solid #e6d3a3;border-radius:4px;padding:1px 5px;font-size:12px}
.revenue .own-setup ol{margin:8px 0 0;padding-left:20px}.revenue .own-setup li{margin:6px 0}
.revenue .own-chat{display:grid;gap:12px;margin:16px 0}
.revenue .own-msg{border-radius:12px;padding:14px 16px;max-width:100%;overflow-x:auto}
.revenue .own-msg.user{background:#153b3e;color:#fff;justify-self:end;max-width:80%}
.revenue .own-msg.model{background:#fff;border:1px solid var(--rev-border)}
.revenue .own-msg p{margin:0 0 8px}.revenue .own-msg p:last-child{margin:0}
.revenue .own-msg ul{margin:4px 0 8px;padding-left:20px}
.revenue .own-msg table{white-space:normal;margin:8px 0}
.revenue .own-ask{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}
.revenue .own-ask textarea{min-height:70px;font:inherit;font-size:14px}
.revenue .own-suggest{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.revenue .own-suggest button{font:inherit;font-size:12px;border:1px solid #a6cbc4;background:#fff;border-radius:999px;padding:6px 12px;cursor:pointer;color:#153b3e}
.revenue .own-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,1fr);gap:12px;overflow-x:auto;padding-bottom:8px;margin:16px 0}
.revenue .own-col{background:#f5fbfa;border:1px solid var(--rev-border);border-radius:12px;padding:10px;min-height:120px}
.revenue .own-col h4{margin:2px 4px 10px;font-size:13px;display:flex;justify-content:space-between}
.revenue .own-card{display:block;width:100%;text-align:left;font:inherit;background:#fff;border:1px solid var(--rev-border);border-radius:10px;padding:10px 12px;margin-bottom:8px;cursor:pointer;color:#153b3e}
.revenue .own-card:hover{border-color:#37877f}
.revenue .own-card small{display:block;color:#526987;font-size:12px;margin-top:3px}
.revenue .own-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
.revenue .own-form label{display:grid;gap:4px;font-size:12px;color:#526987}
.revenue .own-form input,.revenue .own-form select,.revenue .own-form textarea{font:inherit;font-size:14px;padding:8px 9px;border:1px solid #a6cbc4;border-radius:8px;background:#fff;color:#153b3e;min-width:0}
.revenue .own-form .wide{grid-column:1/-1}
.revenue .own-notes{list-style:none;padding:0;margin:10px 0}
.revenue .own-notes li{border-top:1px solid var(--rev-border);padding:8px 0;font-size:13px;white-space:pre-wrap}
.revenue .own-notes li small{display:block;color:#526987;font-size:11px}
.revenue .own-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.revenue .own-danger{color:#a83b1e;border-color:#e2b4a5;background:#fff}
@media(max-width:950px){.revenue .own-grid2{grid-template-columns:1fr}}
@media(max-width:640px){.revenue .own-form{grid-template-columns:1fr}.revenue .own-ask{grid-template-columns:1fr}.revenue .own-msg.user{max-width:100%}}
.revenue .own-filter{font:inherit;font-size:14px;padding:8px 10px;border:1px solid #a6cbc4;border-radius:8px;min-width:0;flex:1 1 260px;max-width:420px;min-height:40px}
.revenue .own-pre{white-space:pre-wrap;font:13px/1.55 ui-monospace,Menlo,Consolas,monospace;background:#f5fbfa;border:1px solid var(--rev-border);border-radius:10px;padding:14px;margin:0;overflow-x:auto}
.revenue .own-actions select{font:inherit;font-size:14px;padding:8px 10px;border:1px solid #a6cbc4;border-radius:8px;background:#fff;color:#153b3e;min-height:40px}
