*{box-sizing:border-box}
:root{--dashboard-canvas-width:1536px;--dashboard-canvas-height:1024px;--dashboard-scale:1}
html,body{margin:0;min-height:100%;background:var(--page-bg);color:var(--ink);font-family:"Segoe UI",Arial,sans-serif}
body.avery-dashboard-page{overflow:hidden;min-width:0}
body.avery-dashboard-page[data-layout="mobile-unsupported"]{overflow:auto;min-width:1536px}
button,a,textarea{font:inherit}
button,a{cursor:pointer}
.hidden{display:none!important}
.dashboard-canvas{position:absolute;top:0;left:0;width:var(--dashboard-canvas-width);height:var(--dashboard-canvas-height);transform:scale(var(--dashboard-scale));transform-origin:top left;overflow:hidden;background:linear-gradient(180deg,#fbfdff,#f3f9fd)}
.ad-topbar{height:70px;background:#fff;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 18px;position:relative;z-index:20}
.ad-brand,.ad-top-right,.noem-mini,.gmail-pill{display:flex;align-items:center}
.ad-brand{gap:12px}.ad-brand strong{font-size:27px;letter-spacing:-.9px}.ad-brand>span:last-child{color:var(--avery-primary-dark);font-size:16px}
.brand-face{width:36px;height:36px;border-radius:50%;background:var(--avery-primary-light);color:var(--avery-primary);display:grid;place-items:center;font-weight:900;font-size:24px}
.ad-tagline{font-size:20px;font-style:italic;color:var(--avery-primary-dark);font-weight:800}
.ad-top-right{justify-content:flex-end;gap:17px}.noem-mini{gap:8px}.noem-mini img{width:54px;height:60px;object-fit:contain}.noem-mini strong,.noem-mini span{display:block}.noem-mini span{font-size:10px;color:var(--muted)}
.noem-mini i,.avery-status i,.healthy i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--success)}
.gmail-pill{gap:9px;padding:8px 13px;border:1px solid var(--line);border-radius:16px;background:#fff;min-width:226px;box-shadow:0 5px 18px rgba(11,45,89,.055)}.gmail-pill strong,.gmail-pill small{display:block}.gmail-pill small{font-size:10px;color:var(--muted)}.gmail-pill>span{font-size:23px}
.ad-layout{display:grid;grid-template-columns:226px 1310px;width:1536px;height:954px;background:linear-gradient(180deg,#fbfdff,#f3f9fd)}
.ad-sidebar{height:954px;background:rgba(255,255,255,.94);border-right:1px solid var(--line);padding:30px 17px 48px;display:flex;flex-direction:column;justify-content:space-between}
.ad-sidebar nav{display:grid;gap:7px}.nav-item{border:0;background:transparent;color:#173e66;padding:13px 15px;border-radius:15px;text-align:left;font-size:15px;display:flex;align-items:center;gap:10px;min-height:44px}.nav-item span{width:22px;font-size:18px}.nav-item b{margin-left:auto;color:#fff;background:var(--avery-primary);border-radius:999px;padding:3px 7px;font-size:10px}.nav-item.active{background:linear-gradient(135deg,var(--avery-primary),var(--avery-primary-dark));color:#fff;box-shadow:0 8px 18px rgba(0,152,168,.22)}.nav-item.active b{background:#fff;color:var(--avery-primary-dark)}
.avery-status{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 18px;box-shadow:0 8px 22px rgba(11,45,89,.055)}.avery-status strong{display:block;margin-bottom:11px}.avery-status span{font-weight:800;color:var(--avery-primary-dark)}.avery-status p{font-size:12px;line-height:1.42;color:#24496f;margin:11px 0 22px}.pulse{text-align:center;color:var(--avery-glow);font-size:18px}
.ad-main{height:954px;padding:18px 19px 0;min-width:0;overflow:visible}.hero-grid{display:grid;grid-template-columns:940px 315px;gap:17px;height:335px}.panel-card,.card-soft{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 22px rgba(11,45,89,.055)}
.avery-hero{height:335px;display:grid;grid-template-columns:390px 550px;position:relative;background:#e8f9fb;overflow:visible}
.avery-environment{position:absolute;inset:0;z-index:0;background-image:linear-gradient(90deg,rgba(255,255,255,.04) 0%,rgba(255,255,255,.02) 45%,rgba(255,255,255,.10) 100%),url('/assets/visual-lock/avery-home-office-hero-v1.png');background-position:center center;background-size:cover;border-radius:17px;overflow:hidden;filter:saturate(.96) contrast(.96)}
.avery-hero>img,.hero-copy{position:relative}.avery-hero>img{z-index:24;position:absolute;left:-30px;top:-63px;width:480px;height:520px;object-fit:contain;object-position:center bottom;clip-path:polygon(60px 0,380px 0,380px 180px,465px 180px,465px 320px,380px 320px,380px 398px,60px 398px);pointer-events:none;filter:drop-shadow(0 14px 18px rgba(11,45,89,.10))}.hero-copy{z-index:2;grid-column:2;padding:28px 70px 18px 0}
.hero-copy h1{font-size:40px;line-height:1;margin:0 0 8px;letter-spacing:-1.2px;color:#050d1d;text-shadow:0 1px 10px rgba(255,255,255,.74)}.hero-copy>p{font-size:20px;margin:0 0 20px;color:#07172e;text-shadow:0 1px 8px rgba(255,255,255,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px}.hero-stats div{background:rgba(255,255,255,.92);border:1px solid rgba(180,214,229,.92);border-radius:14px;padding:12px 18px;min-height:115px;display:flex;flex-direction:column;box-shadow:0 5px 18px rgba(11,45,89,.045);backdrop-filter:blur(5px)}.hero-stats span{color:var(--avery-primary);font-size:23px}.hero-stats strong{font-size:28px;margin:1px 0}.hero-stats small{font-size:12px;line-height:1.28;color:#132f52}
.learning-strip{margin-top:14px;background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:999px;padding:10px 16px;font-size:13px;color:#163b64;backdrop-filter:blur(5px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.summary-card{padding:17px 20px;height:335px}.summary-card h2{font-size:18px;margin:2px 0 12px}.summary-list{display:grid;gap:0}.summary-row{display:grid;grid-template-columns:28px minmax(0,1fr) 30px;align-items:center;border-bottom:1px solid #e9f0f6;padding:7px 2px}.summary-row:last-child{border-bottom:0}.summary-row span{font-size:17px}.summary-row small{font-size:12px;color:#173e66}.summary-row strong{text-align:right;font-size:13px}.link-btn{border:0;background:transparent;color:var(--avery-primary-dark);font-weight:800;padding:8px 0}
.work-grid{display:grid;grid-template-columns:642px 616px;gap:14px;margin-top:16px;height:378px}.work-grid>.panel-card{height:378px;padding:14px}.panel-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.panel-heading h2{margin:0;font-size:20px;letter-spacing:-.3px;display:flex;align-items:center;gap:9px}.panel-heading h2 b{background:var(--avery-primary);color:#fff;border-radius:999px;padding:4px 8px;font-size:12px}.panel-heading p{margin:3px 0 0;font-size:12px;color:var(--muted)}.red-round,.green-round{width:38px;height:38px;border-radius:50%;display:inline-grid;place-items:center;color:#fff}.red-round{background:var(--danger)}.green-round{background:var(--avery-primary)}
.message-brief-list{display:grid;gap:4px;margin-top:12px}.brief-item{border:1px solid var(--line);border-radius:14px;padding:7px 11px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:72px}.brief-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#5a5ff0,var(--purple));color:#fff;font-weight:800}.brief-copy{min-width:0}.brief-copy strong,.brief-copy span,.brief-copy small{display:block}.brief-copy strong{font-size:13px}.brief-copy span{font-weight:800;font-size:13px}.brief-copy small{font-size:10.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:380px}.brief-right{text-align:right}.brief-right time{display:block;font-size:10px;color:var(--muted);margin-bottom:6px}.brief-tag{display:inline-block;border-radius:999px;padding:5px 8px;background:#fff2cf;color:#d57b00;font-size:10px;font-weight:800}.brief-item.urgent .brief-tag{background:#ffe6e6;color:#d92f2f}.empty-friendly{display:grid;place-items:center;min-height:216px;border-radius:14px;background:#f8fbfd;color:var(--muted);text-align:center}.panel-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:8px}.primary-action,.secondary-action{border-radius:13px;padding:10px 12px;text-align:center;text-decoration:none;font-weight:800}.primary-action{border:0;background:linear-gradient(135deg,var(--avery-primary),var(--avery-primary-dark));color:#fff}.secondary-action{border:1px solid var(--line);background:#fff;color:var(--ink)}
.handled-list{display:grid;gap:0;margin-top:10px}.handled-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto 84px;gap:10px;align-items:center;padding:8px 4px;border-bottom:1px solid #e9f0f6}.handled-row .round{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--avery-primary);color:#fff}.handled-row strong{font-size:12px}.handled-row small{font-size:11px;color:#173e66}.handled-row em{font-style:normal;text-align:center;border-radius:999px;padding:5px 7px;background:#e5f8ef;color:#098450;font-size:10px;font-weight:800}
.bottom-grid{display:grid;grid-template-columns:431px 481px 334px;gap:13px;margin-top:12px;height:148px}.bottom-grid>.panel-card{height:148px;padding:13px 15px}.bottom-grid h3{margin:0 0 1px;font-size:16px}.bottom-grid p{margin:0 0 7px;font-size:11px;color:var(--muted)}.instructions-card textarea{width:100%;height:49px;min-height:49px;resize:none;border:1px solid var(--line);border-radius:12px;padding:8px;color:var(--ink);background:#fafdff;font-size:11px}.instruction-footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:5px;font-size:10px;color:var(--muted)}.small-primary{border:0;border-radius:10px;background:var(--avery-primary-dark);color:#fff;font-weight:800;padding:7px 12px}.instruction-list{display:none}.mode-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mode-options button{height:71px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:6px;color:var(--ink)}.mode-options button span,.mode-options button strong,.mode-options button small{display:block}.mode-options button span{font-size:19px;color:var(--avery-primary)}.mode-options button strong{font-size:11px}.mode-options button small{font-size:9px;color:var(--muted)}.mode-options button.selected{border:2px solid var(--avery-primary);background:linear-gradient(180deg,#fff,#e8fbfc)}
.noem-card-mini{display:flex;align-items:center;justify-content:space-between;overflow:hidden}.noem-card-mini p{font-size:12px;color:#173e66}.healthy{font-size:11px;color:#098450;font-weight:800}.noem-card-mini img{width:126px;height:138px;object-fit:contain;align-self:flex-end;margin-right:-6px;margin-bottom:-9px}
.tip-bar{margin-top:10px;height:35px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:5px 13px;display:flex;align-items:center;gap:7px;font-size:11px;color:#173e66}.tip-bar button{margin-left:auto;border:0;border-radius:999px;background:var(--avery-primary);color:#fff;padding:6px 14px;font-weight:800}
.ad-modal{position:fixed;inset:0;background:rgba(8,30,55,.45);z-index:100;display:grid;place-items:center;padding:20px}.ad-modal-card{position:relative;width:min(720px,94vw);max-height:88vh;overflow:auto;background:#fff;border-radius:20px;padding:24px;box-shadow:0 30px 70px rgba(7,37,64,.24)}.modal-x{position:absolute;right:16px;top:14px;border:0;background:#eef5fa;width:32px;height:32px;border-radius:50%;font-size:22px}.detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.detail-actions button{border:1px solid var(--line);border-radius:10px;background:#fff;padding:9px 12px}.detail-actions .danger{color:#b72626;border-color:#f2c6c6}.status-line{font-size:11px;color:var(--muted);margin-top:7px}.audit-row{padding:10px 0;border-bottom:1px solid var(--line)}
button:focus-visible,a:focus-visible,textarea:focus-visible{outline:3px solid #4c7dff;outline-offset:2px}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Mobile is intentionally out of scope. Below 768px the fixed desktop canvas remains available by scrolling; no mobile composition is implied. */
