/* DNA AI Workforce — visual adaptation of CRM index-D_y1ONow.css, 2026-10-15. */
:root{--ink:#0a1932;--navy:#08172e;--blue:#285ef4;--muted:#657187;--line:#e1e7f0;--orange:#ed6400;font-family:Arial,Helvetica,sans-serif;font-size:16px;color:var(--ink);background:#f3f6fb}*{box-sizing:border-box}body{margin:0;padding-top:76px;line-height:1.5}a{color:var(--blue)}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;cursor:pointer;border:1px solid var(--blue);border-radius:5px;background:var(--blue);color:#fff;padding:10px 15px;font-size:13px;font-weight:600;text-decoration:none;line-height:1.5}button:hover,.button:hover{background:#1747d2;border-color:#1747d2}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #7ca7ec;outline-offset:2px}.secondary{background:#fff;color:#294363;border-color:#dce3ec;font-weight:400}.secondary:hover{background:#f3f6fb;border-color:#a8bbda;color:#1747d2}.danger{background:#fff0ee;color:#a3342a;border-color:#e6b4b0}.danger:hover{background:#ffe4e0;border-color:#dd8078}.portal-topbar{position:fixed;inset:0 0 auto;z-index:40;display:flex;align-items:center;gap:36px;height:76px;padding:0 30px;background:#fff;border-bottom:1px solid var(--line);margin:0}.portal-wordmark{display:flex;align-items:center;gap:10px;min-width:200px;color:var(--ink);font-size:18px;font-weight:700;letter-spacing:-.3px;text-decoration:none;white-space:nowrap}.portal-wordmark img{width:34px;height:34px;object-fit:contain}.portal-modules{display:flex;align-items:center;gap:6px;flex:1;white-space:nowrap}.portal-modules a{font-size:12px;font-weight:600;color:var(--muted);padding:11px 16px;border-radius:5px;text-decoration:none;min-height:40px;line-height:18px}.portal-modules a:hover{background:#f3f6fb;color:var(--blue)}.portal-modules a.module-active{background:#edf2ff;color:var(--blue)}.portal-actions{display:flex;align-items:center;gap:10px;margin-left:auto;font-size:11px;color:#71839f;white-space:nowrap}.portal-profile{display:grid;place-items:center;border-radius:50%;background:#edf2ff;color:#7896c5;font-size:12px;font-weight:700;width:34px;height:34px}aside{position:fixed;inset:76px auto 0 0;display:flex;flex-direction:column;width:236px;padding:30px 18px 20px;overflow-y:auto;background:var(--navy);color:#dce3ed}.workspace{padding:0 14px 26px}.workspace>span{display:block;letter-spacing:1.7px;color:#8091aa;margin-bottom:9px;font-size:10px;font-weight:700;line-height:13.5px}.workspace strong{display:block;color:#fff;font-size:18px;letter-spacing:-.5px;line-height:27px}.workspace small{display:block;color:#93a4c0;font-size:10px;margin-top:6px;line-height:15px}.nav-caption{color:#8091aa;font-size:9px;font-weight:700;letter-spacing:1.4px;padding:12px 14px 15px}aside nav{display:flex;flex-direction:column;gap:7px}aside nav a{display:flex;align-items:center;gap:12px;min-height:48px;padding:13px 14px;line-height:18px;font-size:12px;font-weight:500;text-decoration:none;color:#b8c5d9;border-radius:5px}aside nav a:hover{background:#172c48;color:white}aside nav a.active{background:var(--blue);color:#fff}aside nav a.active:hover{background:#1747d2}.nav-icon{width:17px;height:17px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar-foot{border-top:1px solid #304361;margin-top:auto;padding:23px 10px 0;display:flex;gap:10px;align-items:center}.sidebar-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#152f51;color:#b8c5d9;font-size:10px;flex-shrink:0}.sidebar-foot strong{display:block;color:#dae5f7;font-size:11px;font-weight:600;margin-bottom:5px}.sidebar-foot small{display:block;color:#7d91af;font-size:10px;line-height:1.5}main{width:calc(100% - 236px);margin-left:236px;min-width:0;max-width:1800px;padding:32px 36px}.page-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 28px;padding:0;background:transparent;border:0;height:auto}.eyebrow{display:block;color:#899ab4;font-size:9px;letter-spacing:1.7px;font-weight:700;margin:0 0 12px;line-height:13.5px}h1{font-size:29px;letter-spacing:-.8px;line-height:1.25;margin:0 0 10px}h2{font-size:18px;margin:0 0 6px}h3{font-size:16px;margin:20px 0 10px}h4{font-size:13px;margin:18px 0 6px}p{color:#7e8da6;font-size:13px;line-height:1.6;margin:9px 0}.badge{display:inline-flex;align-items:center;gap:9px;flex-shrink:0;font-size:11px;font-weight:400;border:1px solid #dce3ed;border-radius:5px;padding:11px 14px;background:#fff;color:#71839f;white-space:nowrap}.badge:before{content:'';width:7px;height:7px;background:#35a778;border-radius:50%}.toolbar{display:flex;align-items:center;gap:10px;margin-bottom:24px;flex-wrap:wrap;font-size:12px}.toolbar>strong{font-weight:500;color:#657187}.toolbar form{display:flex;gap:8px;margin-left:auto;flex-wrap:wrap}.dot{width:7px;height:7px;border-radius:50%;background:#35a778}.dot.stopped{background:#bd4d47}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}section{background:#fff;border:1px solid var(--line);border-radius:8px;padding:24px;margin-bottom:20px;min-width:0}.cards section{padding:22px;margin:0;box-shadow:0 2px 3px #1e386004}.cards small{font-size:12px;color:#71839f;letter-spacing:0}.cards h2{font-size:28px;letter-spacing:-1px;margin:15px 0 10px}.cards p{font-size:11px;margin:0}.bot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}.bot-grid section{display:flex;flex-direction:column;margin:0}.bot-grid section>small{font-size:9px;font-weight:700;letter-spacing:1.4px;color:#899ab4;margin-bottom:15px}.bot-grid .button{align-self:flex-start;margin-top:16px}.bot-grid h2{font-size:18px}.bot-grid p{font-size:12px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}label{display:block;font-size:12px;color:#4f637f;font-weight:400;margin:14px 0 8px}input,select,textarea{display:block;width:100%;min-width:0;border:1px solid #d6dfeb;border-radius:5px;padding:10px;font-size:14px;color:#203858;background:#fff;margin-top:8px}textarea{resize:vertical;min-height:85px}.check{display:flex;align-items:center;gap:10px}.check input{width:17px;height:17px;flex-shrink:0;margin:0}.work-form>button{margin-top:16px}fieldset{border:1px solid var(--line);border-radius:8px;padding:18px;margin:22px 0}legend{padding:0 8px;font-size:13px;font-weight:600}.job{border:1px solid var(--line);border-radius:7px;margin-top:12px;background:#fff}.job>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;font-size:13px;cursor:pointer;list-style:none}.job>summary:before{content:'›';color:#899ab4;font-size:20px}.job[open]>summary:before{content:'⌄'}.job>summary>span{flex:1;min-width:0;overflow-wrap:anywhere}.job>summary small{display:block;font-size:10px;color:#8792a3;margin-top:6px}.job-body{border-top:1px solid #edf1f6;padding:20px}.job-body form>button{margin:12px 8px 0 0}pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-size:12px;line-height:1.7;color:#4f637f;background:#f8fafd;border:1px solid #edf1f6;border-radius:5px;padding:14px;max-width:100%;margin:8px 0}.status{font-size:11px;font-weight:400;white-space:nowrap;padding:4px 7px;border-radius:4px;background:#edf3fb;color:#4b71a3}.status.awaiting_review{background:#fff2d8;color:#9b7026}.status.approved,.status.completed_manually{background:#e8f5ed;color:#327753}.status.blocked,.status.rejected{background:#fff0ee;color:#b75750}.scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:11px;font-weight:600;color:#76859b;background:#f8fafd;white-space:nowrap;padding:13px 18px}td{padding:17px 18px;border-top:1px solid #edf1f6;vertical-align:top}td details summary{cursor:pointer;color:#285ef4}.empty{text-align:center;color:#7a8ba1;font-size:13px;line-height:1.6;padding:40px}.notice,.error{border-radius:8px;padding:14px;font-size:13px;margin:0 0 20px}.notice{background:#e8f5ed;color:#327753}.error{background:#fff0ee;color:#a94741}.login{max-width:480px;margin:40px auto;border-top:3px solid var(--blue);box-shadow:0 8px 28px #0a193208;padding:32px}.login>small{font-size:10px;letter-spacing:1.4px;color:#899ab4}.login h2{font-size:23px;margin:15px 0 12px}.login button{margin-top:18px;width:100%}footer{margin:28px 0 0;font-size:10px;color:#8996ab}.setup-page{padding:30px;display:grid;place-items:center;min-height:100vh}.setup-card{width:100%;max-width:620px;padding:32px;border-top:3px solid var(--blue)}.setup-card img{width:40px;height:40px;margin-bottom:20px}.setup-card h1{font-size:24px}.setup-card p{font-size:14px;overflow-wrap:anywhere}@media(min-width:1400px){.cards h2{font-size:32px}}@media(max-width:1100px){.portal-topbar{gap:18px;padding:0 24px}.portal-wordmark{min-width:175px}.portal-modules a{padding:10px 11px;font-size:11px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.bot-grid{grid-template-columns:1fr}main{padding:28px 24px}.toolbar form{margin-left:0}}@media(min-width:651px) and (max-width:900px){aside{width:205px;padding:25px 13px 18px}main{width:calc(100% - 205px);margin-left:205px}.portal-wordmark{min-width:155px}.portal-actions>span{display:none}.page-title{align-items:flex-start;flex-direction:column}}@media(max-width:650px){body{padding-top:0}.portal-topbar{position:static;flex-wrap:wrap;gap:15px;height:auto;min-height:108px;padding:16px 20px}.portal-wordmark{min-width:0;font-size:18px}.portal-wordmark img{width:34px;height:34px}.portal-actions{margin-left:auto}.portal-actions>span{display:none}.portal-profile{width:28px;height:28px;font-size:10px}.portal-modules{order:3;flex:auto;gap:8px;width:100%;overflow-x:auto}.portal-modules a{flex:1;text-align:center;min-height:33px;padding:9px 7px;font-size:10px;line-height:15px}aside{position:static;width:100%;padding:15px;overflow:visible}.workspace,.nav-caption,.sidebar-foot{display:none}aside nav{flex-direction:row;gap:7px;padding:0 2px 3px;overflow-x:auto}aside nav a{white-space:nowrap;flex-shrink:0;gap:8px;min-height:36px;padding:9px 12px;font-size:10px;line-height:15px}.nav-icon{width:13px;height:13px}main{width:100%;margin:0;padding:24px 18px 32px}.page-title{flex-wrap:wrap;align-items:flex-start;gap:14px;margin-bottom:21px}h1{font-size:24px}.eyebrow{font-size:8px;letter-spacing:1px}.badge{font-size:10px;padding:8px 10px}.cards{gap:10px}.cards section{padding:16px}.cards h2{font-size:22px}.cards small{font-size:10px}.cards p{font-size:10px}.fields{grid-template-columns:1fr}section{padding:20px}.toolbar form{width:100%}.toolbar button{font-size:11px;padding:8px 10px}.section-head{align-items:flex-start;flex-wrap:wrap}.job>summary{align-items:flex-start;flex-wrap:wrap;padding:15px}.job>summary .status{margin-left:18px}.job-body{padding:16px}th,td{padding:13px 16px}.login{margin:24px auto;padding:24px}.setup-page{padding:18px}.setup-card{padding:24px}}
