/* Industry & business-function operating maps - the owner-approved
   prototype pack's stylesheet (Autom8Way_Final_Industry_Operating_Maps,
   2026-09-29), rule for rule and in the same order. The ONLY change is
   naming: every class gets a cm- prefix, :root/body become .cm, html
   becomes .cm-html and header becomes .cm-header (bare element rules are
   wrapped in :where() so they keep the prototype's low specificity) - so the same rules can
   also sit inside the main site's homepage without colliding with
   app.css (.card, .grid, .panel, --ink...). Do not restyle here: the
   design is frozen by the pack's brief. */
.cm{
 --ink:#0D2238;--ink2:#24425F;--muted:#667D92;--muted2:#8799AA;
 --bg:#F4F8FD;--surface:#fff;--surface2:#F9FBFE;--line:#DCE7F2;--line2:#CCD9E6;
 --blue:#2F6BFF;--blue2:#1F55D9;--cyan:#1BA7B7;--green:#0D8C68;--amber:#A96806;--violet:#6D4BC3;--rose:#C84D68;
 --shadow:0 24px 70px rgba(22,55,88,.11);--shadow2:0 10px 30px rgba(22,55,88,.07);--max:1360px;
}
.cm,.cm :where(*){box-sizing:border-box}
.cm-html{scroll-behavior:smooth}
.cm{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.cm :where(a){text-decoration:none;color:inherit}
.cm :where(button,input,select){font:inherit}
.cm-wrap{width:min(var(--max),calc(100% - 40px));margin:auto}
.cm-ico{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.72;stroke-linecap:round;stroke-linejoin:round}
.cm-header{position:sticky;top:0;z-index:70;background:rgba(244,248,253,.9);backdrop-filter:blur(18px);border-bottom:1px solid rgba(220,231,242,.92)}
.cm-nav{height:72px;display:flex;align-items:center;gap:24px}
.cm-brand{display:flex;align-items:center;gap:11px;font-weight:900}
.cm-mark{width:38px;height:38px;border-radius:13px;background:linear-gradient(145deg,var(--blue),var(--cyan));position:relative;box-shadow:inset 0 0 0 7px rgba(255,255,255,.14),0 8px 22px rgba(47,107,255,.18)}
.cm-mark:after{content:"";position:absolute;width:11px;height:11px;border-radius:4px;background:#fff;right:7px;bottom:7px}
.cm-brand small{display:block;color:var(--muted);font-size:11px;font-weight:650}
.cm-brand .brand-logo{display:block;height:34px;width:auto}   /* the owner's wordmark (2026-10-13) */
.cm-links{margin-left:auto;display:flex;gap:22px;color:#526C84;font-weight:700;font-size:13px}
.cm-navcta{padding:11px 16px;border-radius:12px;background:var(--blue);color:#fff;font-weight:850;box-shadow:0 8px 20px rgba(47,107,255,.18)}
.cm-eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--blue);font-weight:900}
.cm-crumb{font-size:12px;color:#758B9E}
.cm-pagehero{padding:58px 0 26px}
.cm-title-row{display:flex;gap:18px;align-items:center;margin-top:17px}
.cm-bigicon{width:76px;height:76px;border-radius:24px;background:linear-gradient(145deg,#EAF1FF,#E7FBFC);color:var(--blue);display:grid;place-items:center;box-shadow:var(--shadow2);position:relative;overflow:hidden}
.cm-bigicon:after{content:"";position:absolute;width:55px;height:55px;border-radius:50%;right:-20px;top:-22px;background:rgba(47,107,255,.10)}
.cm-bigicon .cm-ico{width:37px;height:37px}
.cm-pagehero h1{font-size:48px;line-height:1.03;letter-spacing:-.045em;margin:0}
.cm-pagehero> .cm-wrap>p,.cm-hero-copy p{font-size:17px;color:#587188;max-width:940px;margin:15px 0 0}
.cm-hero-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.cm-hero-stat{padding:7px 10px;border-radius:999px;background:#fff;border:1px solid var(--line);color:#5C748A;font-size:11px;font-weight:800}
.cm-optimization{padding:12px 0 20px}
.cm-opt-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.cm-opt{background:linear-gradient(155deg,#0E2945,#143E62);color:#fff;border-radius:20px;padding:17px;min-height:150px;position:relative;overflow:hidden;box-shadow:0 16px 35px rgba(13,41,69,.12)}
.cm-opt:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-35px;bottom:-45px;background:radial-gradient(circle,rgba(47,107,255,.38),transparent 68%)}
.cm-opticon{width:36px;height:36px;border-radius:12px;background:rgba(255,255,255,.10);display:grid;place-items:center;color:#9DE2E8}
.cm-opt h3{font-size:15px;margin:11px 0 6px}
.cm-opt p{font-size:11.5px;color:#C8DBE8;margin:0;position:relative;z-index:1}
.cm-scope-section{padding:8px 0 4px}
.cm-scope-title{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#7B90A4;font-weight:850;margin-bottom:8px}
.cm-scope-tabs{display:flex;gap:8px;overflow:auto;padding:2px 0 8px;scrollbar-width:none}
.cm-scope-tabs::-webkit-scrollbar{display:none}
.cm-scope-btn{white-space:nowrap;border:1px solid var(--line);background:#fff;color:#577086;border-radius:13px;padding:10px 12px;font-size:11.5px;font-weight:800;cursor:pointer;transition:.18s}
.cm-scope-btn b{display:inline-grid;place-items:center;margin-left:5px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#EEF3F8;font-size:9px;color:#71869A}
.cm-scope-btn.cm-active{color:var(--blue2);border-color:#A9BEF5;background:#EFF4FF;box-shadow:0 8px 20px rgba(47,107,255,.08)}
.cm-levels{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:13px 0 18px}
.cm-level{border:1px solid var(--line);background:#fff;border-radius:18px;padding:14px;display:flex;gap:11px;align-items:center;cursor:pointer;transition:.18s;text-align:left}
.cm-level:hover,.cm-level.cm-active{transform:translateY(-2px);border-color:#9DB8FF;box-shadow:0 10px 26px rgba(47,107,255,.11)}
.cm-levelicon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto}
.cm-level strong{display:block;font-size:12px}
.cm-level span{display:block;color:#8295A6;font-size:10px;line-height:1.35}
.cm-level b{margin-left:auto;font-size:22px}
.cm-full .cm-levelicon,.cm-status.cm-full{background:#E7F7F1;color:#08785A}
.cm-review .cm-levelicon,.cm-status.cm-review{background:#EAF0FF;color:#275FDB}
.cm-partial .cm-levelicon,.cm-status.cm-partial{background:#FFF3E2;color:#A15D00}
.cm-human .cm-levelicon,.cm-status.cm-human{background:#F4ECFB;color:#73439B}
.cm-controlbar{position:sticky;top:72px;z-index:50;background:rgba(244,248,253,.96);backdrop-filter:blur(12px);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:11px 0}
.cm-controls{display:grid;grid-template-columns:1.2fr .78fr .72fr .72fr;gap:10px}
.cm-search,.cm-select{height:43px;border:1px solid #D5E1ED;border-radius:12px;background:#fff;padding:0 13px;color:var(--ink);outline:none}
.cm-search:focus,.cm-select:focus{border-color:#94B1F8;box-shadow:0 0 0 3px rgba(47,107,255,.08)}
.cm-zone{padding:28px 0 70px}
.cm-zonehead{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:16px}
.cm-zonehead h2{font-size:29px;margin:0;letter-spacing:-.025em}
.cm-zonehead p{margin:4px 0 0;color:#6A8195}
.cm-clearbtn{border:1px solid var(--line);background:#fff;border-radius:11px;padding:9px 11px;color:#5E768B;font-size:11px;font-weight:800;cursor:pointer}
.cm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.cm-card{position:relative;min-height:310px;background:#fff;border:1px solid var(--line);border-radius:21px;padding:18px;box-shadow:0 3px 15px rgba(22,55,88,.05);overflow:hidden;transition:.2s}
.cm-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#AEC2F1}
.cm-ctop{display:flex;gap:12px}
.cm-cicon{width:45px;height:45px;border-radius:14px;background:linear-gradient(145deg,#EFF4FF,#EBFAFC);color:#41637F;display:grid;place-items:center;flex:0 0 auto;box-shadow:inset 0 0 0 1px rgba(47,107,255,.04)}
.cm-dept{font-size:10px;text-transform:uppercase;letter-spacing:.075em;color:#8094A5;font-weight:850}
.cm-card h3{font-size:16px;line-height:1.25;margin:3px 0 0}
.cm-status{display:inline-flex;align-items:center;gap:5px;font-size:10.2px;font-weight:850;padding:5px 8px;border-radius:999px;margin-top:14px}
.cm-status .cm-ico{width:14px;height:14px}
.cm-tagrow{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.cm-meta{font-size:9.8px;font-weight:850;padding:5px 8px;border-radius:999px;border:1px solid transparent}
.cm-h-now{background:#E9F8F2;color:#08785A;border-color:#CFEDE1}
.cm-h-agent{background:#EDF2FF;color:#2A61D4;border-color:#D8E3FF}
.cm-h-emerging{background:#F4ECFB;color:#73439B;border-color:#E6D9F3}
.cm-s-auto{background:#F1F5F9;color:#516A80;border-color:#E1E8EF}
.cm-s-managed{background:#E9F7FC;color:#167B8B;border-color:#D4EEF3}
.cm-s-hybrid{background:#FFF5E5;color:#9C6400;border-color:#F3E1BF}
.cm-pain{font-size:12.8px;color:#5A7287;margin:11px 0 50px}
.cm-impactrow{position:absolute;left:18px;right:18px;bottom:17px;display:flex;gap:6px;flex-wrap:wrap}
.cm-impact{font-size:9.8px;padding:5px 8px;border-radius:999px;background:#F2F6FA;color:#587087;font-weight:750}
.cm-hover{position:absolute;inset:0;padding:18px;background:linear-gradient(145deg,#0D2946,#123D61);color:#fff;opacity:0;transform:translateY(8px);transition:.2s;pointer-events:none;display:flex;flex-direction:column}
.cm-card:hover .cm-hover{opacity:1;transform:none;pointer-events:auto}
.cm-hover small{text-transform:uppercase;letter-spacing:.11em;color:#91DAE0;font-weight:850}
.cm-hover h4{font-size:17px;margin:7px 0 10px}
.cm-ministeps{display:grid;gap:6px}
.cm-ministep{display:grid;grid-template-columns:22px 1fr;gap:8px;align-items:start;color:#D8E7F0;font-size:11.3px}
.cm-ministep b{width:22px;height:22px;border-radius:8px;background:rgba(255,255,255,.11);display:grid;place-items:center;color:#fff}
.cm-hoverfoot{margin-top:auto;padding-top:11px;border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;gap:10px;color:#AFCBDD;font-size:10.7px}
.cm-openbtn{background:transparent;color:#fff;border:0;padding:0;font-weight:850;cursor:pointer}
.cm-empty{display:none;padding:34px;border:1px dashed var(--line2);border-radius:18px;text-align:center;color:#6C8296;background:#fff}
.cm-note{margin-top:28px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#F9FBFE;color:#6B8195;font-size:11.2px}
.cm-note strong{color:#405E77}
.cm-note a{color:var(--blue2);font-weight:750}
.cm-drawer{position:fixed;inset:0;z-index:100;display:none}
.cm-drawer.cm-open{display:block}
.cm-shade{position:absolute;inset:0;background:rgba(5,18,32,.55);backdrop-filter:blur(4px)}
.cm-panel{position:absolute;right:0;top:0;height:100%;width:min(690px,95vw);overflow:auto;background:#fff;padding:29px;box-shadow:-18px 0 60px rgba(5,18,32,.24)}
.cm-close{position:sticky;top:0;float:right;width:39px;height:39px;border-radius:12px;border:1px solid var(--line);background:#fff;font-size:22px;z-index:2}
.cm-panel h2{font-size:30px;margin:18px 50px 5px 0;letter-spacing:-.025em}
.cm-lead{color:#61798F;font-size:14px}
.cm-dsec{padding:17px 0;border-top:1px solid var(--line)}
.cm-dsec h4{font-size:11.5px;text-transform:uppercase;letter-spacing:.085em;color:#48667E;margin:0 0 9px}
.cm-bullets{padding-left:20px;margin:0;color:#4F687E}
.cm-bullets li{margin:5px 0}
.cm-process{display:grid;gap:8px}
.cm-prow{display:grid;grid-template-columns:30px 1fr;gap:10px}
.cm-prow b{width:30px;height:30px;border-radius:10px;background:#EAF1FF;color:var(--blue);display:grid;place-items:center}
.cm-prow span{padding-top:5px;color:#405A70}
.cm-boundary{background:#F5F8FC;border:1px solid var(--line);border-radius:13px;padding:12px;color:#506A80}
.cm-cta{display:inline-flex;margin-top:10px;padding:12px 16px;border-radius:12px;background:var(--blue);color:#fff;font-weight:850}
.cm-footer{padding:30px 0 48px;color:#74899C;font-size:12px}
.cm-hero{padding:68px 0 34px}
.cm-hero-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:38px;align-items:center}
.cm-hero h1{font-size:58px;line-height:1.02;letter-spacing:-.047em;margin:13px 0 16px}
.cm-hero p{font-size:18px;color:#567086;max-width:820px}
.cm-hero-note{display:flex;gap:9px;align-items:center;margin-top:20px;color:#5C748A;font-size:13px}
.cm-dot{width:8px;height:8px;border-radius:50%;background:var(--green)}
.cm-board{background:linear-gradient(145deg,#0C2742,#123D61);border-radius:30px;padding:26px;color:#fff;box-shadow:0 28px 75px rgba(13,34,56,.23);position:relative;overflow:hidden}
.cm-board:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(47,107,255,.36),transparent 68%);right:-85px;top:-90px}
.cm-board small{color:#95C9E3;text-transform:uppercase;letter-spacing:.12em;font-weight:850}
.cm-board h3{font-size:25px;margin:7px 0 4px}
.cm-board p{font-size:13px;color:#BFD3E2;margin:0}
.cm-board-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px;position:relative;z-index:1}
.cm-metric{padding:14px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);border-radius:15px}
.cm-metric b{display:block;font-size:24px}
.cm-metric span{font-size:11px;color:#BFD3E2}
.cm-section{padding:38px 0 60px}
.cm-section h2{font-size:35px;letter-spacing:-.032em;margin:0 0 8px}
.cm-sub{color:#617A90;max-width:880px;margin:0}
.cm-industry-grid,.cm-function-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}
.cm-industry-card,.cm-function-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:var(--shadow2);transition:.22s}
.cm-industry-card:hover,.cm-function-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:#AEC4F7}
.cm-itop{display:flex;gap:13px;align-items:center}
.cm-iicon{width:54px;height:54px;border-radius:17px;background:linear-gradient(145deg,#ECF3FF,#E8FBFC);color:var(--blue);display:grid;place-items:center}
.cm-iicon .cm-ico{width:29px;height:29px}
.cm-industry-card h3,.cm-function-card h3{font-size:18px;margin:0}
.cm-industry-card p,.cm-function-card p{font-size:12.8px;color:#637B90;min-height:60px}
.cm-mini-lenses{display:flex;gap:5px;flex-wrap:wrap;margin-top:13px}
.cm-mini-lens{font-size:9.5px;padding:5px 7px;border-radius:999px;background:#F2F6FB;color:#617A90;font-weight:750}
.cm-label-legend{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px}
.cm-legendbox{background:#fff;border:1px solid var(--line);border-radius:17px;padding:15px}
.cm-legendbox strong{display:block;font-size:12px;margin-bottom:6px}
.cm-legendbox p{font-size:11px;color:#70869A;margin:0}
@media(max-width:1060px){.cm-grid,.cm-industry-grid,.cm-function-grid{grid-template-columns:1fr 1fr}
.cm-opt-grid{grid-template-columns:1fr 1fr}
.cm-levels{grid-template-columns:1fr 1fr}
.cm-hero-grid{grid-template-columns:1fr}
.cm-board{max-width:720px}
.cm-links{display:none}
}
@media(max-width:700px){.cm-wrap{width:min(var(--max),calc(100% - 24px))}
.cm-pagehero h1{font-size:36px}
.cm-hero h1{font-size:43px}
.cm-grid,.cm-industry-grid,.cm-function-grid,.cm-opt-grid,.cm-controls,.cm-label-legend{grid-template-columns:1fr}
.cm-levels{grid-template-columns:1fr}
.cm-card{min-height:265px}
.cm-hover{display:none}
.cm-pagehero{padding-top:40px}
.cm-title-row{align-items:flex-start}
.cm-board{display:none}
.cm-panel{width:100%;padding:22px}
}
.cm-card{cursor:pointer}
.cm-card:focus-visible{outline:3px solid rgba(47,107,255,.22);outline-offset:3px}

/* Homepage embed only (.cm-embed): the catalog pages load this file alone,
   but the homepage also loads app.css, whose h1/h2/h3/p rules
   (margin-top:0, line-height, sizes) would otherwise change the pack's
   cards. Revert them to browser defaults at element-level specificity so
   the prototype's own class rules above apply exactly as in the pack. */
:where(.cm-embed) :is(h1,h2,h3,p){all:revert}

/* Homepage embed only: line the industry/function sections up with the
   rest of the homepage (owner, 2026-10-01) - same width as app.css
   .container (its --max is 1380px; .cm redefines --max, hence the literal),
   same 60px section spacing, same eyebrow-with-dot and 36px heading as
   .eyebrow / .section-title. The catalog pages themselves are unchanged. */
.cm-embed .cm-wrap{width:min(calc((100% + 1380px) / 2),calc(100% - 40px))}
.cm-embed .cm-section{padding:60px 0}
.cm-embed .cm-eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:14px;font-weight:850;letter-spacing:.11em}
.cm-embed .cm-eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:#21A7B6;box-shadow:0 0 0 5px #EAFBFC}
.cm-embed .cm-section h2{font-size:36px;line-height:1.12;letter-spacing:-.025em;margin:0 0 10px}

/* ---- Arabic / right-to-left (2026-10-01) ------------------------------
   Additive only: nothing below applies to English (dir="ltr") pages, so
   the English design stays the pack's, pixel for pixel.
   1. Mirror the pack's physical left/right rules.
   2. Arabic typography: letter-spacing pulls joined letters apart and
      Arabic has no capitals, so tracked uppercase micro-labels become
      unreadable - drop both and lift the smallest sizes; give headings
      room for diacritics. */
[dir="rtl"] .cm-links{margin-left:0;margin-right:auto}
[dir="rtl"] .cm-mark:after{right:auto;left:7px}
[dir="rtl"] .cm-bigicon:after{right:auto;left:-20px}
[dir="rtl"] .cm-opt:after{right:auto;left:-35px}
[dir="rtl"] .cm-board:after{right:auto;left:-85px}
[dir="rtl"] .cm-scope-btn b{margin-left:0;margin-right:5px}
[dir="rtl"] .cm-level{text-align:right}
[dir="rtl"] .cm-level b{margin-left:0;margin-right:auto}
[dir="rtl"] .cm-panel{right:auto;left:0;box-shadow:18px 0 60px rgba(5,18,32,.24)}
[dir="rtl"] .cm-close{float:left}
[dir="rtl"] .cm-panel h2{margin:18px 0 5px 50px}
[dir="rtl"] .cm-bullets{padding-left:0;padding-right:20px}
[dir="rtl"] .cm,[dir="rtl"] .cm *{letter-spacing:normal!important}
[dir="rtl"] .cm :is(.cm-eyebrow,.cm-dept,.cm-scope-title,.cm-dsec h4,.cm-hover small,.cm-board small){text-transform:none}
[dir="rtl"] .cm :is(h1,h2,h3,h4){line-height:1.35}
[dir="rtl"] .cm-pagehero h1,[dir="rtl"] .cm-hero h1{line-height:1.3}
[dir="rtl"] .cm-eyebrow{font-size:14px}
[dir="rtl"] .cm-scope-title{font-size:13px}
[dir="rtl"] .cm-dept{font-size:12px}
[dir="rtl"] .cm-hover small,[dir="rtl"] .cm-board small{font-size:12px}
[dir="rtl"] .cm-dsec h4{font-size:13.5px}
[dir="rtl"] :is(.cm-meta,.cm-impact,.cm-mini-lens){font-size:11px}
[dir="rtl"] .cm-status{font-size:11.5px}
[dir="rtl"] .cm-level span{font-size:11.5px}
[dir="rtl"] .cm-hero-stat{font-size:12px}
[dir="rtl"] .cm-scope-btn{font-size:12.5px}
/* The pack's absolutely positioned tag row (bottom:17px, with a fixed 50px
   gap reserved under the description) overlapped longer descriptions on
   phones - 22 Arabic cards and 3 English ones. Owner approved the fix for
   both languages (2026-10-01): the tags follow the description and are
   still pushed to the bottom of the card. */
.cm-card{display:flex;flex-direction:column}
.cm-card .cm-status{align-self:flex-start}
.cm-pain{margin-bottom:14px}
.cm-impactrow{position:static;margin-top:auto}
