/* Commercial workspace extends the Lagoon tokens: warm paper, teal, violet,
   tabular financial data, grouped capacity cards and an accessible native dialog. */
.cm-shell{--cm-teal:#166c63;--cm-soft:#edf5ef;--cm-violet:#665494;max-width:1480px;margin:auto}
.cm-hero{display:flex;justify-content:space-between;gap:35px;align-items:center;padding:28px 4px 35px}
.cm-eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:1.7px;color:var(--cm-teal,#166c63);margin-bottom:12px}
.cm-hero h1{font-size:clamp(30px,3.4vw,49px);line-height:1.13;letter-spacing:-1.6px;font-weight:600;margin:0 0 16px}
.cm-hero h1 em{font-style:normal;color:var(--cm-teal)}
.cm-hero p{max-width:640px;font-size:14px;line-height:1.8;color:var(--muted);margin:0}
.cm-hero-actions{display:flex;gap:10px;align-items:end;flex-shrink:0}
.cm-summary{display:grid;grid-template-columns:1fr 1fr 1fr 1.45fr;border:1px solid var(--line);border-radius:18px;background:var(--white);margin:0 0 30px;padding:24px 0}
.cm-summary>div{padding:0 25px;border-right:1px solid var(--line)}
.cm-summary>div:last-child{border:0}
.cm-summary span,.cm-summary small{display:block;color:var(--muted);font-size:11px}
.cm-summary strong{display:block;font-size:28px;letter-spacing:-.7px;font-weight:650;margin:8px 0}
.cm-summary small{font-size:10px}
.cm-summary-note{display:flex;gap:14px;align-items:center}
.cm-summary-note>.vav-icon{width:29px;height:29px;color:var(--cm-teal)}
.cm-summary-note p{margin:0}
.cm-summary-note strong{font-size:12px;letter-spacing:0;line-height:1.5}
.cm-summary-note span{font-size:11px;line-height:1.7}
.cm-library{border:1px solid var(--line);border-radius:19px;background:var(--white);padding:25px;margin-bottom:24px;min-width:0}
.cm-section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}
.cm-section-head h2{font-size:19px;letter-spacing:-.4px;margin:0 0 6px}
.cm-section-head p{font-size:12px;line-height:1.6;color:var(--muted);margin:0;max-width:700px}
.cm-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:24px}
.cm-toolbar label{margin:0}.cm-toolbar input,.cm-toolbar select{margin:0;min-height:43px}
.cm-search{position:relative;flex:1;max-width:600px}
.cm-search>.vav-icon{position:absolute;left:14px;top:13px;width:17px;height:17px;color:var(--muted)}
.cm-search input{padding-left:41px!important;background:#fafcf8}
.cm-toolbar>label:not(.cm-search){min-width:140px}
.cm-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.cm-plan-card{padding:23px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(165deg,#f6faf4,white 45%);display:flex;flex-direction:column;min-width:0}
.cm-plan-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.cm-plan-icon{display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;background:#e9e5f4;color:var(--cm-violet);border-radius:13px;flex-shrink:0}
.cm-plan-icon .vav-icon{width:23px;height:23px}
.cm-plan-card h3{font-size:20px;margin:0 0 8px;letter-spacing:-.5px}
.cm-plan-description{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 21px;min-height:40px}
.cm-price{display:flex;align-items:baseline;gap:5px}
.cm-price strong{font-size:25px;font-weight:650;letter-spacing:-.9px}
.cm-price>span{font-size:11px;color:var(--muted)}
.cm-rate{font-size:12px;color:var(--muted);margin:7px 0 22px}
.cm-rate strong{color:var(--cm-teal)}
.cm-plan-limits{display:grid;grid-template-columns:repeat(3,1fr);padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:9px}
.cm-plan-limits strong{font-size:19px;display:block;font-weight:650}
.cm-plan-limits span{font-size:10px;color:var(--muted);display:block;margin-top:4px}
.cm-compact{margin:15px 0;font-size:11px}
.cm-compact>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0}
.cm-compact dt{color:var(--muted)}.cm-compact dd{margin:0;font-weight:600;text-align:right}
.cm-feature-preview{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0 23px}
.cm-pill{display:inline-flex;align-items:center;font-size:10px;line-height:1.3;padding:5px 8px;border-radius:6px;background:#eff2ee;color:#4c6960;white-space:normal;font-weight:600}
.cm-green{background:#e5f3e9;color:#326c4d}.cm-amber{background:#fcf0d8;color:#876424}
.cm-plan-card>footer{margin-top:auto;display:flex;gap:8px}.cm-plan-card>footer button{font-size:11px;flex:1}
.cm-note{display:flex;gap:15px;align-items:flex-start;padding:21px 24px;background:#edf3ed;border:1px solid #d8e8dc;border-radius:14px;margin:22px 0}
.cm-note>.vav-icon{color:var(--cm-teal);margin-top:2px}
.cm-note strong{font-size:12px}.cm-note p{font-size:12px;line-height:1.8;color:var(--muted);margin:4px 0 0}
.cm-table-wrap{overflow:auto;max-width:100%}
.cm-table{width:100%;font-size:12px;border-collapse:collapse;white-space:nowrap}
.cm-table th{font-size:10px;color:var(--muted);font-weight:600;text-align:left;padding:13px 12px;background:#f4f7f2;border-bottom:1px solid var(--line)}
.cm-table td{padding:19px 12px;border-bottom:1px solid var(--line);vertical-align:middle}
.cm-table tr:last-child td{border:0}
.cm-table td>strong{display:block;font-size:12px;margin-bottom:6px}.cm-table small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.cm-table td .cm-pill{margin-top:3px}
.cm-table td:first-child small{max-width:210px;overflow:hidden;text-overflow:ellipsis}
.cm-row-actions{display:flex;gap:6px}.cm-row-actions button{padding:8px 11px;min-height:33px;font-size:10px}
.cm-empty{text-align:center;padding:45px 15px}.cm-empty h3{font-size:17px}.cm-empty p{color:var(--muted);font-size:12px}
.cm-dialog{--cm-teal:#166c63;--cm-violet:#665494;padding:0;width:min(1060px,calc(100vw - 32px));max-width:none;max-height:92dvh;border:1px solid var(--line);border-radius:22px;background:var(--white);color:var(--ink);box-shadow:0 26px 100px #123e3930}
.cm-dialog::backdrop{background:#0b302957;backdrop-filter:blur(4px)}
.cm-dialog form{margin:0}.cm-dialog header{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:25px 30px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--white);z-index:3}
.cm-dialog header h2{margin:0;font-size:23px;letter-spacing:-.6px}.cm-dialog header .cm-eyebrow{font-size:9px;margin-bottom:7px}
.cm-close{font-size:26px;border:0;background:transparent;padding:3px 8px;color:var(--muted);cursor:pointer}
.cm-dialog-body{padding:26px 30px}.cm-dialog footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:20px 30px;border-top:1px solid var(--line);background:var(--white);position:sticky;bottom:0;z-index:3}
.cm-dialog footer .form-error{margin:0 auto 0 0;font-size:12px;max-width:62%}.cm-dialog label{font-size:12px;color:var(--ink);font-weight:550;display:block;margin:0 0 17px}.cm-dialog label>small{font-weight:400;font-size:10px;line-height:1.6;color:var(--muted);display:block;margin-top:6px}
.cm-dialog input:not([type=checkbox]),.cm-dialog select,.cm-dialog textarea{margin:7px 0 0;padding:11px 13px;font-size:12px;border-color:#d7e3d9;border-radius:9px;background:#fff}
.cm-dialog input:focus-visible,.cm-dialog select:focus-visible,.cm-dialog textarea:focus-visible,.cm-shell button:focus-visible,.cm-dialog button:focus-visible{outline:2px solid #369487;outline-offset:3px}
.cm-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:30px}.cm-editor-main{min-width:0}
.cm-step{display:flex;align-items:flex-start;gap:12px;margin:8px 0 21px}.cm-step>span{border:1px solid #d3e2d8;background:#f1f6ef;color:var(--cm-teal);font-size:10px;display:flex;width:27px;height:27px;border-radius:8px;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}
.cm-step h3{font-size:15px;margin:2px 0 6px}.cm-step p{font-size:11px;line-height:1.6;color:var(--muted);margin:0}.cm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.cm-fixed{border:1px dashed #c8dbce;border-radius:10px;padding:11px 14px;align-self:start;margin-top:20px;background:#f5f8f2;display:flex;flex-direction:column;gap:5px}.cm-fixed>span{font-size:10px;color:var(--muted)}.cm-fixed strong{font-size:13px}.cm-fixed small{font-size:10px;color:var(--muted)}
.cm-editor-aside{background:linear-gradient(155deg,#edf6ee,#f3f0f8);border:1px solid #dce8df;border-radius:15px;padding:22px;align-self:start;position:sticky;top:125px}
.cm-preview-price{font-size:24px;letter-spacing:-.7px;font-weight:650;margin:22px 0 0}.cm-preview-price small{font-size:11px;font-weight:400;display:block;color:var(--muted);margin-top:5px;letter-spacing:0}.cm-preview-rate{font-size:12px;color:var(--cm-teal);font-weight:600;margin:12px 0 25px}
#cm-price-preview table{width:100%;border-collapse:collapse;font-size:10px}#cm-price-preview th{font-weight:500;color:var(--muted);text-align:left;padding:7px 0}#cm-price-preview td{padding:10px 0;border-top:1px solid #d7e4da}#cm-price-preview td:last-child{text-align:right;font-weight:600}
#cm-price-preview p{font-size:10px;color:var(--muted);line-height:1.6;margin-top:15px}
.cm-edit-impact{border-top:1px solid #d2dfd8;padding-top:20px;margin-top:24px}.cm-edit-impact strong{font-size:12px}.cm-edit-impact p{font-size:10px;line-height:1.8;color:var(--muted)}
.cm-help{font-size:11px;line-height:1.8;color:var(--muted);margin:4px 0 20px}
.cm-features{border-top:1px solid var(--line);margin-top:23px;padding-top:25px}.cm-features .cm-step{margin:0}.cm-feature-search{max-width:380px}.cm-feature-groups{display:grid;grid-template-columns:1fr 1fr;gap:16px}.cm-feature-groups fieldset{border:1px solid var(--line);border-radius:12px;padding:13px 16px;margin:0;min-width:0}.cm-feature-groups legend{font-size:12px;font-weight:700;color:var(--cm-violet);padding:0 8px}
.cm-dialog .cm-feature-option{display:flex;align-items:flex-start;gap:10px;margin:0;padding:11px 0;cursor:pointer}.cm-feature-option input,.cm-check input{width:16px;height:16px;accent-color:var(--cm-teal);margin:2px 0 0;flex-shrink:0}.cm-feature-option strong{display:block;font-size:12px}.cm-feature-option small{display:block;font-size:10px;line-height:1.7;color:var(--muted);font-weight:400;margin-top:4px}
.cm-feature-option[hidden],.cm-feature-groups fieldset[hidden]{display:none}
.cm-company-form{max-width:720px;margin:auto}.cm-agreement-preview{background:#f1f6ee;border:1px solid #dae7d9;padding:18px 21px;border-radius:12px;margin-bottom:25px;font-size:12px}.cm-agreement-preview p{margin:8px 0}.cm-agreement-preview small{color:var(--muted);font-size:11px}
.cm-dialog .cm-check{display:flex;gap:10px;align-items:center;font-size:11px;font-weight:400;margin-top:21px;line-height:1.6}
.cm-month-label{display:block;font-size:10px;font-weight:600;color:var(--muted)}.cm-month-label input{margin:7px 0 0;min-height:43px;font-size:12px}
.cm-agreement{display:flex;align-items:center;gap:20px;border:1px solid var(--line);border-radius:17px;background:#fff;padding:23px 26px;margin-bottom:22px}.cm-agreement h2{font-size:23px;margin:0 0 6px;letter-spacing:-.7px}.cm-agreement .cm-eyebrow{font-size:9px;margin-bottom:7px}.cm-agreement p{font-size:12px;color:var(--muted);margin:0}.cm-agreement p span{padding:0 8px}.cm-agreement>div:last-child{margin-left:auto;text-align:right}.cm-agreement small{display:block;font-size:10px;color:var(--muted);margin-top:9px}
.cm-billing-summary{grid-template-columns:repeat(4,1fr)}.cm-billing-summary strong{font-size:25px}.cm-billing-summary strong em{font-size:12px;font-style:normal;color:var(--muted);font-weight:400}
.cm-total-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-bottom:25px}.cm-total-card{border:1px solid #d2e3d7;border-radius:15px;padding:23px 25px;background:linear-gradient(120deg,#edf6ed,#f9faf3)}.cm-total-card>div{display:flex;align-items:center;justify-content:space-between}.cm-total-card .cm-eyebrow{margin:0}.cm-total-card>strong{font-size:31px;font-weight:600;display:block;margin:20px 0 12px;letter-spacing:-.9px}.cm-total-card .cm-compact{margin-bottom:0}.cm-total-card .cm-compact>div:last-child{border-top:1px solid #d3e4d7;margin-top:7px;padding-top:15px}
.cm-tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin:12px 0 22px}.cm-tabs button{border:0;background:transparent;font-size:12px;color:var(--muted);padding:15px 19px;border-bottom:2px solid transparent;cursor:pointer}.cm-tabs button[aria-current=page]{color:var(--cm-teal);font-weight:650;border-bottom-color:var(--cm-teal)}
.cm-allowance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:23px 0}.cm-allowance{border:1px solid var(--line);padding:20px;border-radius:13px;background:#fbfcf8}.cm-allowance>span{font-size:11px;color:var(--muted)}.cm-allowance>strong{display:block;font-size:24px;font-weight:650;margin:11px 0 15px}.cm-allowance strong small{font-size:12px;font-weight:400;color:var(--muted)}.cm-allowance meter{width:100%;height:10px;accent-color:var(--cm-teal)}.cm-allowance meter::-webkit-meter-bar{background:#e7eee7;border:0;border-radius:8px}.cm-allowance meter::-webkit-meter-optimum-value{background:#559c79;border-radius:8px}.cm-no-cap{font-size:10px;color:var(--muted)}
.cm-included{display:flex;flex-wrap:wrap;gap:10px}.cm-included>span{padding:10px 14px;border:1px solid #dce8da;background:#f5f8ef;border-radius:9px;font-size:11px;color:#45674e}
@media(min-width:1600px){.cm-plan-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1200px){.cm-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cm-summary{grid-template-columns:repeat(3,1fr)}.cm-summary-note{display:none}.cm-billing-summary{grid-template-columns:repeat(4,1fr)}.cm-summary>div{padding:0 18px}.cm-summary>div:nth-child(3){border:0}.cm-hero-actions{flex-direction:column}.cm-allowance-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.cm-hero{align-items:start;padding-top:15px;gap:20px}.cm-hero h1{font-size:32px}.cm-summary{padding:20px 0}.cm-summary strong{font-size:23px}.cm-library{padding:20px}.cm-editor-layout{grid-template-columns:1fr}.cm-editor-aside{position:static}.cm-preview-price{margin-top:12px}.cm-billing-summary{grid-template-columns:repeat(2,1fr);gap:20px 0}.cm-billing-summary>div:nth-child(2){border:0}.cm-hero-actions{min-width:140px}.cm-feature-groups{grid-template-columns:1fr}.cm-agreement{align-items:start;gap:14px}.cm-agreement>div:last-child{display:none}.cm-allowance-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.cm-hero{display:block;padding-bottom:25px}.cm-hero-actions{margin-top:20px;align-items:start;flex-direction:row;flex-wrap:wrap}.cm-plan-grid{grid-template-columns:1fr}.cm-summary>div{padding:0 13px}.cm-summary span{font-size:10px}.cm-summary small{font-size:9px}.cm-summary strong{font-size:21px}.cm-section-head{align-items:start;gap:12px}.cm-section-head h2{font-size:17px}.cm-section-head>.cm-pill{display:none}.cm-toolbar{flex-wrap:wrap;gap:8px}.cm-toolbar .cm-search{flex-basis:100%;max-width:none}.cm-toolbar>label:not(.cm-search){flex:1}.cm-library{padding:17px 14px}.cm-plan-card{padding:21px}.cm-dialog{width:calc(100vw - 16px);max-height:96dvh;border-radius:16px}.cm-dialog header{padding:20px}.cm-dialog header h2{font-size:20px}.cm-dialog-body{padding:20px}.cm-dialog footer{padding:16px;flex-wrap:wrap}.cm-dialog footer .form-error{max-width:100%;flex-basis:100%}.cm-form-grid{grid-template-columns:1fr}.cm-fixed{margin-top:0;margin-bottom:20px}.cm-dialog .cm-check{margin-top:0}.cm-allowance-grid{grid-template-columns:1fr 1fr;gap:10px}.cm-allowance{padding:15px}.cm-allowance>strong{font-size:20px}.cm-tabs button{font-size:11px;padding:14px 12px}.cm-note{padding:18px}.cm-agreement{padding:20px}.cm-agreement h2{font-size:20px}.cm-table{font-size:11px}.cm-table th,.cm-table td{padding-left:9px;padding-right:9px}}
@media(max-width:600px){
  .cm-table,.cm-table tbody{display:block;width:100%;white-space:normal}
  .cm-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .cm-table tbody tr{display:block;border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-bottom:14px;background:#fcfdf9}
  .cm-table tbody td{display:grid;grid-template-columns:100px minmax(0,1fr);column-gap:10px;align-items:baseline;padding:9px 0;border:0;word-break:break-word;font-size:11px}
  .cm-table td::before{content:attr(data-label);font-size:10px;color:var(--muted);grid-column:1;grid-row:1 / span 3}
  .cm-table td>*{grid-column:2;min-width:0}
  .cm-table td>strong{font-size:11px;margin:0}
  .cm-table td small{margin-top:5px}
  .cm-table td .cm-pill{justify-self:start}
  .cm-table td[colspan]{display:block;padding:0}
  .cm-table td[colspan]::before{display:none}
  .cm-table .cm-row-actions{flex-wrap:wrap}
}
