:root {
  --ink: #17221d;
  --muted: #68736d;
  --line: #e7ebe8;
  --cream: #f5f7f3;
  --green: #8cf0b5;
  --green-dark: #1d6b45;
  --purple: #7465ef;
  --purple-soft: #eeeafd;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(26, 37, 31, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: "DM Sans", sans-serif; background: #f7f8f6; min-height: 100vh; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .7; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid rgba(116,101,239,.38); outline-offset: 3px; }
.hidden { display: none !important; }

.ambient { position: fixed; border-radius: 50%; filter: blur(2px); pointer-events: none; z-index: -1; }
.ambient-one { width: 520px; height: 520px; background: radial-gradient(circle, rgba(139,240,181,.22), transparent 70%); top: -230px; left: -160px; }
.ambient-two { width: 600px; height: 600px; background: radial-gradient(circle, rgba(116,101,239,.13), transparent 68%); bottom: -280px; right: -180px; }

.welcome-shell { min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.welcome-nav { height: 82px; max-width: 1240px; padding: 0 24px; width: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font: 800 20px "Manrope", sans-serif; letter-spacing: -0.5px; }
.brand-mark { width: 31px; height: 31px; background: var(--ink); border-radius: 9px; display: grid; place-items: center; transform: rotate(-4deg); }
.brand-mark span { width: 12px; height: 12px; background: var(--green); border-radius: 50% 50% 50% 2px; display: block; }
.status-pill { background: rgba(255,255,255,.78); border: 1px solid var(--line); padding: 8px 13px; border-radius: 999px; color: #59635e; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.status-dot, .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #42c77a; box-shadow: 0 0 0 4px rgba(66,199,122,.12); }

.welcome-grid { flex: 1; width: 100%; max-width: 1240px; margin: auto; padding: 75px 24px 105px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 85px; align-items: center; }
.eyebrow { color: #47534c; text-transform: uppercase; font-weight: 700; font-size: 12px; letter-spacing: 1.5px; margin-bottom: 24px; }
.eyebrow span { color: var(--purple); margin-right: 8px; }
.welcome-copy h1 { margin: 0; max-width: 620px; font: 700 clamp(48px, 5vw, 72px)/1.06 "Manrope", sans-serif; letter-spacing: -3.7px; }
.welcome-copy h1 em { color: var(--purple); font-style: normal; position: relative; white-space: nowrap; }
.welcome-copy h1 em::after { content: ""; position: absolute; left: 2px; right: 0; bottom: -5px; height: 8px; border-top: 2px solid #a69af3; border-radius: 50%; transform: rotate(-2deg); }
.hero-copy { color: var(--muted); max-width: 590px; line-height: 1.7; font-size: 18px; margin: 30px 0 32px; }
.url-form > label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.1px; margin-bottom: 9px; }
.url-row { background: white; border: 1px solid #dfe4e0; border-radius: 12px; padding: 6px; display: flex; box-shadow: 0 10px 35px rgba(26,37,31,.08); max-width: 610px; }
.link-icon { width: 38px; display: grid; place-items: center; color: #89918d; transform: rotate(-35deg); }
.url-row input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 11px 6px; color: var(--ink); font-size: 15px; }
.url-row button { background: var(--ink); color: white; border: 0; border-radius: 8px; padding: 13px 19px; font-weight: 600; transition: .2s ease; }
.url-row button:hover { transform: translateY(-1px); background: #2b3932; }
.url-form > p { color: #8a928e; font-size: 12px; margin: 10px 0 0; }
.url-form .field-error { color: #b33f36; min-height: 18px; margin-top: 4px; }
.url-row:has(input[aria-invalid="true"]) { border-color: #d8665d; box-shadow: 0 0 0 3px rgba(216,102,93,.1); }
.button-spinner { display: inline-block; width: 12px; height: 12px; margin-left: 6px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; }
.trust-row { display: flex; align-items: center; gap: 14px; margin-top: 33px; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 34px; height: 34px; margin-left: -8px; border-radius: 50%; display: grid; place-items: center; background: #dfeee5; border: 2px solid #f7f8f6; font-size: 9px; font-weight: 700; color: #31523e; }
.avatar-stack span:first-child { margin-left: 0; background: #eadfcf; }
.avatar-stack span:nth-child(2) { background: #dcd8f6; }
.avatar-stack span:nth-child(3) { background: #d6e7ec; }
.avatar-stack span:last-child { background: var(--ink); color: white; }
.trust-row p { font-size: 12px; color: #747e78; line-height: 1.5; margin: 0; }
.trust-row strong { color: #46524b; }

.agent-preview { position: relative; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.55); padding: 12px; border-radius: 21px; box-shadow: var(--shadow); transform: rotate(1deg); }
.preview-topbar { height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; color: #727c76; font-size: 11px; }
.window-dots { display: flex; gap: 5px; }.window-dots i { width: 6px; height: 6px; background: #d6dbd7; border-radius: 50%; }
.live-label { font-size: 9px; letter-spacing: .8px; color: #4b8b66; }.live-label i, .working-pill i, .agent-mini small i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #42c77a; margin-right: 4px; }
.agent-card { background: white; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.agent-heading { display: flex; align-items: center; gap: 13px; padding: 22px; border-bottom: 1px solid var(--line); }
.agent-heading small, .section-label { font-size: 9px; letter-spacing: 1.2px; font-weight: 700; color: #8a938e; }
.agent-heading h3 { margin: 4px 0 0; font: 700 14px "Manrope"; }
.agent-orb { width: 43px; height: 43px; flex: 0 0 auto; border-radius: 14px; color: white; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #9e92fa, #6354dc 65%, #4335b9); box-shadow: 0 8px 18px rgba(99,84,220,.25); }
.activity-feed { padding: 6px 22px 4px; }
.activity { position: relative; display: grid; grid-template-columns: 25px 1fr auto; gap: 10px; padding: 14px 0; color: #818a85; }
.activity:not(:last-child)::after { content: ""; position: absolute; height: 16px; border-left: 1px dashed #d9deda; left: 9px; top: 39px; }
.activity > span { width: 20px; height: 20px; border: 1px solid #e4e8e5; border-radius: 50%; display: grid; place-items: center; font-size: 9px; }
.activity.complete > span { background: #e8f8ef; border-color: #e8f8ef; color: #369362; }.activity.active > span { border-color: #c8c1f9; }
.spinner { position: relative; }.spinner::after { content: ""; width: 8px; height: 8px; border: 2px solid #8879ef; border-right-color: transparent; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.activity strong { display: block; color: #354039; font-size: 12px; margin-bottom: 4px; }.activity small, .activity time { font-size: 10px; }.activity time { padding-top: 2px; }
.activity b { width: 85%; height: 3px; border-radius: 4px; background: #eeeefd; display: block; margin-top: 8px; }.activity b i { display: block; height: 100%; background: var(--purple); border-radius: inherit; }
.preview-insight { margin: 12px; padding: 15px; display: flex; gap: 11px; border-radius: 10px; background: #f4f2fd; color: #5c50bd; }.preview-insight p { margin: 0; font-size: 11px; line-height: 1.55; }.preview-insight small { color: #877dd0; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.floating-result { position: absolute; right: -34px; bottom: 54px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 35px rgba(26,37,31,.14); padding: 13px 17px; display: flex; gap: 10px; align-items: center; animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-7px); } }
.floating-result > span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #e8f8ef; color: #32915e; }.floating-result strong { font-size: 11px; display: block; }.floating-result small { color: #7f8983; font-size: 9px; }
.capability-strip { height: 57px; border-top: 1px solid rgba(220,225,221,.75); background: rgba(255,255,255,.47); display: flex; align-items: center; justify-content: center; gap: 28px; color: #7b847f; font-size: 11px; text-transform: uppercase; letter-spacing: .8px; font-weight: 600; }.capability-strip i { width: 4px; height: 4px; background: #9b8ff0; border-radius: 50%; }

/* App */
.app-shell { min-height: 100vh; background: #f7f8f6; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 240px; background: #fff; border-right: 1px solid var(--line); padding: 24px 16px 18px; display: flex; flex-direction: column; z-index: 5; }
.app-brand { padding: 0 8px 25px; }
.workspace-switcher { border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: flex; align-items: center; gap: 9px; margin-bottom: 24px; }.workspace-logo { width: 30px; height: 30px; border-radius: 8px; background: #e9e5fc; color: #6555de; display: grid; place-items: center; font-weight: 800; }.workspace-switcher div { flex: 1; }.workspace-switcher small { display: block; font-size: 8px; color: #9aa19d; letter-spacing: .8px; }.workspace-switcher strong { font-size: 12px; }
.side-nav { display: grid; gap: 4px; }.nav-item { width: 100%; display: flex; align-items: center; gap: 11px; padding: 10px 11px; border: 0; border-radius: 8px; color: #69736d; background: transparent; font-size: 13px; text-align: left; }.nav-item span { width: 18px; text-align: center; font-size: 15px; }.nav-item b { margin-left: auto; background: #eeeafd; color: #6658d5; border-radius: 10px; padding: 1px 6px; font-size: 9px; }.nav-item:hover, .nav-item.active { background: #f2f1fc; color: #4e42bd; font-weight: 600; }
.side-bottom { margin-top: auto; display: grid; gap: 6px; }.agent-mini { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); padding: 10px; border-radius: 10px; margin-bottom: 8px; }.agent-orb.small { width: 30px; height: 30px; border-radius: 9px; font-size: 11px; }.agent-mini div { flex: 1; }.agent-mini strong { display: block; font-size: 11px; }.agent-mini small { color: #6f7973; font-size: 9px; }.agent-mini button { border: 0; background: none; color: #8c948f; }.profile { border: 0; border-top: 1px solid var(--line); margin-top: 8px; padding: 15px 8px 0; background: none; display: flex; align-items: center; gap: 9px; text-align: left; }.profile > span { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: white; display: grid; place-items: center; font-size: 9px; }.profile strong, .profile small { display: block; }.profile strong { font-size: 11px; }.profile small { color: #969d99; font-size: 9px; margin-top: 2px; }
.dashboard { margin-left: 240px; padding: 31px 40px 50px; max-width: 1500px; }
.dashboard-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }.crumb { color: #939b96 !important; font-size: 10px !important; margin-bottom: 15px !important; }.crumb strong { color: #5c6761; }.dashboard-header h1 { margin: 0; font: 700 27px "Manrope"; letter-spacing: -1px; }.dashboard-header h1 span { color: var(--purple); font-size: 18px; }.dashboard-header p { color: #7d8681; font-size: 12px; margin: 7px 0 0; }.header-actions { display: flex; gap: 10px; }.icon-button, .secondary-button { height: 38px; border: 1px solid #dfe4e0; background: white; border-radius: 9px; color: #59645e; }.icon-button { width: 38px; position: relative; }.icon-button b { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: #ff796d; color: white; font-size: 7px; display: grid; place-items: center; top: -4px; right: -4px; }.secondary-button { padding: 0 14px; font-size: 11px; }.secondary-button span { margin-right: 6px; }
.demo-pill { display: inline-flex; align-items: center; margin-left: 7px; padding: 3px 7px; border-radius: 999px; background: #eee9ff; color: #6551b8; font-weight: 700; letter-spacing: .02em; }
.view-page { min-height: 520px; }
.view-heading { margin: 8px 0 22px; max-width: 720px; }
.view-heading h2 { margin: 7px 0 6px; font: 700 26px "Manrope"; letter-spacing: -.8px; }
.view-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.data-card { padding: 19px; border: 1px solid var(--line); background: #fff; border-radius: 12px; min-height: 126px; }
.data-card > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.data-card strong { font: 700 13px "Manrope"; }
.data-card small { color: #7165c7; background: #f0edfd; border-radius: 999px; padding: 4px 7px; font-size: 8px; text-transform: uppercase; }
.data-card p { margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.view-empty { display: grid; justify-items: center; text-align: center; padding: 70px 24px; border: 1px dashed #d9dfdb; background: #fff; border-radius: 14px; }
.view-empty > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: #f0edfd; color: #6657d2; font-size: 20px; }
.view-empty strong { margin-top: 15px; font: 700 14px "Manrope"; }
.view-empty p { max-width: 440px; margin: 7px 0 17px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.view-empty button { border: 0; border-radius: 8px; background: var(--ink); color: #fff; padding: 10px 14px; font-size: 10px; font-weight: 700; }
.memory-highlight { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; padding: 21px; border: 1px solid #dfdafa; border-radius: 13px; background: linear-gradient(105deg,#f0edfd,#faf9ff); }
.memory-highlight > span { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--purple); color: #fff; }
.memory-highlight small, .memory-highlight strong { display: block; }
.memory-highlight small { color: #776bc5; font-size: 8px; letter-spacing: .6px; margin-bottom: 6px; }
.memory-highlight strong { color: #484363; font-size: 12px; line-height: 1.55; }
.empty-state { padding: 28px 16px 34px; text-align: center; border-top: 1px solid #edf0ee; color: #78827c; }
.empty-state strong { color: var(--ink); font-size: 12px; }
.empty-state p { margin: 6px auto 0; max-width: 230px; font-size: 10px; line-height: 1.5; }
.objective-card { position: relative; overflow: hidden; background: #202b25; color: white; border-radius: 15px; display: grid; grid-template-columns: 1.15fr 1fr; padding: 27px 31px; box-shadow: 0 14px 30px rgba(32,43,37,.12); }.objective-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -50px; top: -130px; background: radial-gradient(circle, rgba(140,240,181,.16), transparent 70%); }.objective-copy { border-right: 1px solid rgba(255,255,255,.11); padding-right: 35px; }.objective-card .section-label { color: #aeb8b2; display: flex; align-items: center; gap: 8px; }.objective-card h2 { font: 700 20px "Manrope"; margin: 11px 0 5px; }.objective-card p { color: #aab3ae; font-size: 11px; margin: 0; }.objective-progress { display: flex; align-items: center; gap: 14px; margin-top: 20px; }.objective-progress > div { height: 6px; border-radius: 8px; background: rgba(255,255,255,.12); flex: 1; overflow: hidden; }.objective-progress i { height: 100%; display: block; background: var(--green); border-radius: inherit; }.objective-progress strong { font-size: 14px; }.objective-progress strong span { color: #89938d; font-weight: 500; }.objective-stats { padding-left: 32px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }.objective-stats > div { display: flex; gap: 10px; align-items: center; }.stat-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; }.stat-icon.green { color: #7ae1a6; background: rgba(122,225,166,.12); }.stat-icon.purple { color: #a99df5; background: rgba(169,157,245,.12); }.stat-icon.orange { color: #f2b075; background: rgba(242,176,117,.12); }.objective-stats strong, .objective-stats small { display: block; }.objective-stats strong { font: 700 17px "Manrope"; }.objective-stats small { margin-top: 3px; color: #9ca6a0; font-size: 8px; line-height: 1.3; }
.dashboard-grid { margin-top: 18px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }.panel { background: white; border: 1px solid var(--line); border-radius: 13px; }.panel-heading { padding: 20px 22px 15px; display: flex; justify-content: space-between; align-items: flex-start; }.panel-heading h3 { margin: 0 0 4px; font: 700 14px "Manrope"; }.panel-heading p { margin: 0; color: #949b97; font-size: 10px; }.working-pill { padding: 5px 8px; border: 1px solid #dcede3; color: #488564; border-radius: 20px; font-size: 9px; }.dashboard-feed { padding: 0 22px; }.feed-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 11px; align-items: center; padding: 14px 0; border-top: 1px solid #edf0ee; }.feed-icon { width: 31px; height: 31px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; }.feed-icon.violet { background: #f0edfd; color: #6d5ddb; }.feed-icon.green { background: #e9f8ef; color: #399464; }.feed-icon.blue { background: #eaf4f8; color: #4b8da9; }.feed-icon.amber { background: #fff2e5; color: #b8793f; }.feed-row strong { font-size: 11px; }.feed-row p { margin: 3px 0 0; color: #8a938e; font-size: 9px; }.feed-row time { color: #a2a9a5; font-size: 8px; }.text-button { border: 0; background: transparent; color: #6657d2; font-size: 10px; font-weight: 600; padding: 13px 22px 18px; }.text-button:hover { color: #4234ad; }
.count-pill { background: #f0edfd; color: #6557d2; border-radius: 20px; width: 23px; height: 23px; display: grid; place-items: center; font-size: 9px; font-weight: 700; }.approval-list { padding: 0 20px 10px; }.approval-item { display: grid; grid-template-columns: 33px 1fr; gap: 10px; border-top: 1px solid #edf0ee; padding: 13px 0; }.approval-type { width: 31px; height: 31px; border-radius: 8px; display: grid; place-items: center; }.approval-type.campaign { background: #f0edfd; color: #6758d3; }.approval-type.reply { background: #e9f8ef; color: #3a9565; }.approval-type.change { background: #fff2e5; color: #b8793f; }.approval-item small { display: block; color: #999f9c; font-size: 7px; letter-spacing: .7px; font-weight: 700; }.approval-item strong { display: block; font-size: 10px; margin: 2px 0 3px; }.approval-item p { margin: 0; color: #8c9490; font-size: 8px; }.approval-actions { display: flex; gap: 5px; margin-top: 9px; }.approval-actions button { border-radius: 6px; font-size: 8px; padding: 6px 8px; }.approve { border: 1px solid var(--ink); background: var(--ink); color: white; }.review { border: 1px solid #dfe4e0; background: white; color: #647069; }
.learning-panel { margin-top: 18px; padding: 21px 24px; display: grid; grid-template-columns: 38px 1fr auto; gap: 16px; align-items: center; background: linear-gradient(105deg, #f0edfd, #f8f7fd); border-color: #e1dcfa; }.learning-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--purple); color: white; display: grid; place-items: center; box-shadow: 0 7px 14px rgba(116,101,239,.2); }.learning-panel .section-label { color: #7165c7; }.learning-panel blockquote { margin: 7px 0 9px; font-size: 12px; line-height: 1.55; color: #4e4a6b; }.learning-meta { color: #918aa9; display: flex; gap: 9px; align-items: center; font-size: 8px; }.learning-meta i { width: 3px; height: 3px; background: #aea7c7; border-radius: 50%; }.learning-meta button { border: 0; background: none; color: #6558bf; font-size: 8px; padding: 0; }.apply-button { border: 1px solid #d8d2f4; background: white; color: #5d50bd; padding: 9px 12px; border-radius: 7px; font-size: 9px; font-weight: 600; }
.toast { position: fixed; right: 25px; bottom: 25px; background: #202b25; color: white; border-radius: 11px; padding: 13px 18px; display: flex; align-items: center; gap: 11px; box-shadow: 0 15px 40px rgba(20,30,24,.25); transform: translateY(100px); opacity: 0; pointer-events: none; transition: .3s ease; z-index: 20; }.toast.show { transform: translateY(0); opacity: 1; }.toast > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: var(--ink); }.toast p { margin: 0; }.toast strong, .toast small { display: block; }.toast strong { font-size: 11px; }.toast small { color: #aeb8b2; font-size: 8px; margin-top: 2px; }
.modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(18,27,22,.48); backdrop-filter: blur(3px); }
.modal-card { position: relative; width: min(480px, 100%); background: #fff; border-radius: 16px; padding: 27px; box-shadow: 0 24px 70px rgba(18,27,22,.24); }
.modal-card h2 { margin: 8px 32px 7px 0; font: 700 20px "Manrope"; }
.modal-card > p { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.modal-card label { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 700; }
.modal-card textarea { width: 100%; resize: vertical; border: 1px solid #dfe4e0; border-radius: 9px; padding: 11px; color: var(--ink); font: inherit; }
.modal-close { position: absolute; right: 16px; top: 13px; border: 0; background: transparent; color: #7b847f; font-size: 25px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.modal-actions button { padding: 9px 13px; border-radius: 7px; font-size: 11px; }

@media (max-width: 980px) {
  .welcome-grid { grid-template-columns: 1fr; padding-top: 45px; gap: 60px; }.welcome-copy { text-align: center; }.welcome-copy h1, .hero-copy, .url-form .url-row { margin-left: auto; margin-right: auto; }.url-form > label { text-align: left; max-width: 610px; margin-left: auto; margin-right: auto; }.trust-row { justify-content: center; }.agent-preview { max-width: 620px; width: 90%; margin: auto; }.capability-strip { display: none; }
  .objective-card { grid-template-columns: 1fr; }.objective-copy { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.11); padding: 0 0 24px; }.objective-stats { padding: 24px 0 0; }.dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .welcome-grid { padding: 30px 18px 70px; }.welcome-copy h1 { font-size: 44px; letter-spacing: -2.5px; }.hero-copy { font-size: 16px; }.url-row { display: grid; grid-template-columns: 30px 1fr; }.url-row button { grid-column: 1 / -1; }.floating-result { right: -10px; }.sidebar { width: 68px; padding: 20px 10px; }.sidebar .brand > span:last-child, .workspace-switcher div, .workspace-switcher > span:last-child, .nav-item:not(.active) b, .nav-item { font-size: 0; }.workspace-switcher { padding: 8px; }.workspace-logo { margin: auto; }.nav-item { justify-content: center; }.nav-item span { font-size: 17px; }.agent-mini div, .agent-mini button, .profile div { display: none; }.agent-mini { padding: 9px; }.profile { justify-content: center; }.dashboard { margin-left: 68px; padding: 24px 16px 40px; }.dashboard-header { align-items: flex-end; }.dashboard-header > div:first-child p:last-child { display: none; }.secondary-button { font-size: 0; }.secondary-button span { font-size: 13px; margin: 0; }.objective-stats { grid-template-columns: 1fr; gap: 15px; }.learning-panel { grid-template-columns: 34px 1fr; }.learning-panel .apply-button { grid-column: 2; justify-self: start; }.feed-row { grid-template-columns: 31px 1fr; }.feed-row time { display: none; }
}
@media (max-width: 520px) {
  .welcome-nav { padding: 18px; }
  .status-pill { font-size: 0; padding: 9px; }
  .status-pill .status-dot { margin: 0; }
  .welcome-grid { padding: 34px 16px 54px; gap: 44px; }
  .welcome-copy h1 { font-size: 39px; line-height: 1.08; letter-spacing: -2.2px; }
  .hero-copy { margin: 24px 0; font-size: 15px; }
  .trust-row { align-items: flex-start; text-align: left; }
  .agent-preview { width: 100%; transform: none; padding: 8px; }
  .floating-result { display: none; }
  .activity-feed { padding-left: 15px; padding-right: 15px; }
  .sidebar { inset: auto 0 0; width: auto; height: 66px; padding: 8px 10px; border: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; z-index: 30; }
  .sidebar > .brand, .workspace-switcher, .side-bottom { display: none; }
  .side-nav { width: 100%; display: flex; justify-content: space-around; gap: 2px; }
  .nav-item, .nav-item.active { width: 54px; min-height: 48px; padding: 6px; display: grid; place-items: center; gap: 2px; font-size: 0; }
  .nav-item span { width: auto; font-size: 18px; }
  .nav-item b { position: absolute; margin: -23px 0 0 24px; font-size: 8px; }
  .dashboard { margin-left: 0; padding: 20px 14px 92px; }
  .dashboard-header { align-items: flex-start; gap: 10px; }
  .dashboard-header h1 { font-size: 23px; }
  .header-actions { flex-direction: column; }
  .icon-button, .secondary-button { height: 35px; }
  .objective-card { padding: 23px 20px; }
  .objective-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .objective-stats > div { display: block; }
  .stat-icon { margin-bottom: 7px; }
  .objective-stats small { max-width: 70px; }
  .panel-heading { padding: 18px 17px 13px; }
  .dashboard-feed { padding: 0 17px; }
  .approval-list { padding: 0 16px 10px; }
  .learning-panel { padding: 18px; grid-template-columns: 32px 1fr; }
  .learning-icon { width: 32px; height: 32px; }
  .learning-meta { flex-wrap: wrap; }
  .toast { left: 14px; right: 14px; bottom: 80px; }
  .modal { align-items: end; padding: 0; }
  .modal-card { width: 100%; border-radius: 18px 18px 0 0; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
  .data-grid { grid-template-columns: 1fr; }
  .data-card > div { display: block; }
  .data-card small { display: inline-block; margin-top: 8px; }
  .view-empty { padding: 48px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
