/* Functional readability/accessibility layer. MANE's palette, marks and imagery remain. */
:root{--muted:#635960;--line:#dcd2d8}html{scrollbar-gutter:auto}body{font-size:14px}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #6b385b;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.62}.shell,.content,main,.panel,.detail-panel,.dashboard-grid>*{min-width:0}main{padding-bottom:130px!important}.page-head h1{overflow-wrap:anywhere}.page-head p,.note,.hint,.poc-empty,.empty{font-size:14px;line-height:1.65;color:#635960}.eyebrow,.section-label,.crumb,.demo-label{font-size:12px}.page-head{gap:18px}.page-head>div{min-width:0}.badge{font-size:12px;line-height:1.4}.table-wrap{max-width:100%;overflow:auto;overscroll-behavior-x:contain}th,td{font-size:13px!important;padding:13px 12px;line-height:1.5}th{color:#65515d}td small{font-size:12px}input,select,textarea{font-size:15px;min-height:42px}input[type=checkbox],input[type=radio]{min-height:20px;min-width:20px}label{font-size:13px;line-height:1.5}button.btn,.tabs button,.settings-nav button,.nav{min-height:42px}.btn.small,.text-link{font-size:13px}.nav{font-size:13px}.sidebar .section-label{color:#c5b6c0}.sidebar .profile small{color:#c5b6c0}.stat-top,.stat-foot,.insight-row small,.timeline small,.project-tools>span,.profile-banner strong,.property,.contact-note small,.hours-by-project small,.kanban-card small,.kanban-card footer,.catalog-card footer,.local-sync-strip small{font-size:12px}.insight-row strong,.kanban-card strong,.next-appointment small{font-size:14px}.poc-metrics span,.poc-metrics small{font-size:12px}.tabs{max-width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}.tabs button{flex-shrink:0;white-space:nowrap}.dashboard-grid,.detail-grid,.profile-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.project-grid,.catalog-grid,.object-grid{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}.calendar,.kanban,.agenda-grid{max-width:100%;overflow-x:auto}.modal-body{max-height:75dvh;overflow:auto;overscroll-behavior:contain}dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.modal-foot{position:sticky;bottom:0;background:#fffcf9;z-index:2;gap:10px;flex-wrap:wrap}.modal-head{gap:12px}.modal-head h2{overflow-wrap:anywhere}.icon-btn{min-width:42px;min-height:42px}.property{gap:14px;overflow-wrap:anywhere}.property>*{min-width:0}.cloud-workspace-bar{border:1px solid #d4c1cc;background:#f0e7ed;border-radius:14px;display:flex;align-items:center;gap:12px;padding:15px 18px;margin:0 0 25px;flex-wrap:wrap}.cloud-workspace-bar>div{flex:1;min-width:200px}.cloud-workspace-bar strong,.cloud-workspace-bar small{display:block}.cloud-workspace-bar strong{font-size:14px}.cloud-workspace-bar small{font-size:12px;line-height:1.5;color:#55434e;margin-top:4px}.cloud-workspace-choice{display:flex;flex-direction:column;text-align:left;width:100%;padding:15px;margin:8px 0;background:#f4edf1;border:1px solid #d4c1cc;border-radius:10px}.cloud-workspace-choice small{font-size:12px;margin-top:5px}.local-sync-strip{margin-bottom:20px}.ai-launcher,.maine-launcher{bottom:20px!important}.ai-panel,.maine-panel{max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px)}.field-row{max-width:100%}.field-row input{min-width:0}.footer-note{font-size:12px;line-height:1.6}.document-parties{min-width:0}.document-sheet{overflow-x:auto}summary{cursor:pointer;min-height:40px;line-height:1.5}.compact-brand summary{font-size:13px}
@media(max-width:1280px){.topbar{gap:12px;padding-left:22px;padding-right:22px}.content main{padding-left:24px;padding-right:24px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.search-trigger span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar{width:220px}.content{margin-left:220px}.settings-layout{grid-template-columns:165px minmax(0,1fr)}.detail-grid{grid-template-columns:minmax(0,1fr)}.timer-panel{flex-wrap:wrap}}
@media(max-width:900px){.sidebar{width:245px;transform:translateX(-100%)}.content{margin-left:0!important;width:100%}.mobile-menu{display:inline-flex!important}.shell.menu-open .sidebar,.shell.open .sidebar,body.menu-open .sidebar{transform:translateX(0)}.dashboard-grid,.profile-columns{grid-template-columns:1fr}.settings-layout{grid-template-columns:1fr}.settings-nav{flex-direction:row;overflow-x:auto;max-width:100%}.settings-nav button{white-space:nowrap;flex-shrink:0}.cloud-workspace-bar{margin-bottom:20px}.page-head h1{font-size:30px}.topbar{position:sticky;top:0;z-index:20}.crumb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-top-name{display:none}.search-trigger{margin-left:auto}.search-trigger span,.search-trigger kbd{display:none}.content main{padding-left:20px;padding-right:20px}.calendar{grid-template-columns:repeat(5,minmax(210px,1fr))}.kanban{grid-template-columns:repeat(5,minmax(230px,1fr))}}
@media(max-width:600px){.content main{padding-left:14px;padding-right:14px}.topbar{padding:10px 12px;min-height:64px;gap:8px}.topbar>.initial{display:none}.topbar .demo-label{font-size:11px}.crumb{font-size:12px;min-width:0;max-width:45vw}.stats,.poc-metrics{grid-template-columns:1fr 1fr}.poc-metrics>div{min-width:0}.poc-metrics strong{font-size:23px;overflow-wrap:anywhere}.panel,.detail-panel,.settings-layout .detail-panel{padding:19px}.page-head h1{font-size:27px;line-height:1.18}.page-head .btn{width:100%;justify-content:center}.page-head{margin-bottom:22px}.cloud-workspace-bar{padding:13px;gap:10px}.cloud-workspace-bar>div{min-width:100%;}.cloud-workspace-bar .btn{flex:1}.btn{padding:11px 14px}.form-grid,.document-parties{grid-template-columns:1fr!important}.form-grid>.full{grid-column:auto}.modal-head,.modal-body,.modal-foot{padding:16px}.modal-head h2{font-size:21px}dialog{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px);margin:auto}.modal-body{max-height:calc(100dvh - 190px)}.modal-foot .btn{flex:1}.hero,.journey{max-width:100%;overflow:hidden}.journey{padding:20px}.journey h2{font-size:25px}.journey-steps{overflow-x:auto}.finance-ribbon,.product-intro{flex-wrap:wrap}.product-intro{display:block}.rich-line{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-ribbon button{min-height:44px;font-size:12px}.property{flex-wrap:wrap}.property>span,.property>b{max-width:100%}.local-sync-strip{flex-wrap:wrap;gap:12px}.local-sync-strip>span{min-width:0}.local-sync-strip small{white-space:normal}.document-sheet{padding:15px}.document-sheet th,.document-sheet td{font-size:12px!important}.ai-panel,.maine-panel{left:10px!important;right:10px!important;bottom:10px!important;width:auto!important}.timer-panel strong{font-size:31px}.footer-note{align-items:flex-start}.hours-by-project article{min-width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:900px){.sidebar.open{transform:translateX(0)}.menu-scrim.show{display:block;position:fixed;inset:0;background:#17101799;z-index:24}.sidebar{z-index:25}}
/* Floating assistant retains the MANE visual treatment. */
.ai-launch{bottom:18px;right:18px;min-height:48px}.ai-panel{z-index:60}.ai-launch span{font-size:13px}@media(max-width:600px){.ai-launch{bottom:14px;right:14px;padding:12px 16px}.ai-panel{top:10px!important;max-height:calc(100dvh - 20px)}}
.badge{color:#624153}.badge.green{color:#425436;background:#e7ebdf}.badge.orange{color:#74452c;background:#f3e6dc}.badge.gray{color:#574c54;background:#ece9e7}.eyebrow,.stat-top,.search-trigger{color:#63505d}.sidebar :focus-visible{outline-color:#f1c8dc}.stat:first-child .stat-top,.stat:first-child .stat-foot{color:#e8d6e2}.ai-launch small{color:#e8d6e2}
@media(min-width:901px) and (max-width:1280px){.shell{grid-template-columns:220px minmax(0,1fr)}.content{margin-left:0}}
@media(max-width:900px){.shell{grid-template-columns:minmax(0,1fr)}.content{grid-column:1;width:auto}}
/* MAINE floats over the workspace; end padding keeps the last controls reachable. */
.content{height:calc(100dvh - 16px);scroll-padding-bottom:calc(130px + env(safe-area-inset-bottom,0px))}
main{padding-bottom:calc(130px + env(safe-area-inset-bottom,0px))!important}
.ai-launch{z-index:18;bottom:calc(18px + env(safe-area-inset-bottom,0px));right:calc(20px + env(safe-area-inset-right,0px))}
.shell{min-height:100dvh}
@media(max-width:600px){.content{height:calc(100dvh - 12px)}.ai-launch{bottom:calc(14px + env(safe-area-inset-bottom,0px));right:calc(14px + env(safe-area-inset-right,0px));max-width:calc(100vw - 28px)}}
@media print{.content{height:auto;overflow:visible}main{padding-bottom:32px!important}.cloud-workspace-bar,#mane-ai-root{display:none!important}}
/* Recognisable mobile portal header; secondary actions live in the drawer. */
.mobile-outer-header,.mobile-portal-identity,.mobile-portal-context,.mobile-drawer-tools,.drawer-close{display:none}
@media(max-width:900px){
 .topbar{height:82px;min-height:82px;padding:12px 18px;display:flex;justify-content:space-between;gap:16px;isolation:isolate;background:#f8f5f1}
 .topbar>.crumb,.topbar>.search-trigger,.topbar>.demo-label,.topbar>.initial{display:none!important}
 .mobile-portal-identity{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
 .mobile-portal-brand{display:inline-flex;align-items:center;gap:9px;width:max-content;color:#242126}
 .mobile-portal-brand img{width:25px;height:25px}.mobile-portal-brand>span{font:900 23px/1 Manifold,'Arial Black',sans-serif;letter-spacing:-.5px}
 .mobile-portal-context{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.4;font-weight:600;color:#63505d}
 .mobile-menu.portal-menu-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:44px;padding:10px 13px;background:#ede4ec;border:1px solid #d7c8d2;border-radius:12px;color:#563d4e;font-size:13px;font-weight:700}
 .sidebar{width:min(320px,calc(100vw - 36px));overflow-y:auto;overscroll-behavior:contain;padding:18px 18px calc(24px + env(safe-area-inset-bottom,0px));max-height:100dvh}
 .sidebar>.brand{margin:8px 10px 23px}.sidebar>.workspace{flex-shrink:0}
 .drawer-close{display:inline-flex;align-items:center;gap:6px;align-self:flex-end;min-height:44px;padding:8px 10px;margin-bottom:4px;color:#eee5ed;border:1px solid #493843;border-radius:10px;font-size:12px}
 .mobile-drawer-tools{display:block;padding-bottom:14px;margin-bottom:2px;border-bottom:1px solid #352a32}
 .sidebar .nav{flex-shrink:0}.sidebar .side-bottom{margin-top:12px;padding-top:8px}
}
@media(max-width:600px){.topbar{padding:12px 14px}.mobile-portal-context{font-size:12px}}

/* The brand belongs to the black outer frame, above the rounded workspace. */
@media(max-width:900px){
 .mobile-outer-header{position:fixed;inset:0 0 auto;z-index:22;display:flex;align-items:center;justify-content:space-between;gap:16px;height:calc(68px + env(safe-area-inset-top,0px));padding:calc(10px + env(safe-area-inset-top,0px)) 20px 10px;background:#0b0b0c;color:#fffdfa}
 .mobile-outer-header .mobile-portal-identity{flex-direction:row;align-items:center}
 .mobile-outer-header .mobile-portal-brand{color:#fffdfa}.mobile-outer-header .mobile-portal-brand img{width:29px;height:29px}.mobile-outer-header .mobile-portal-brand>span{font-size:25px}
 .mobile-outer-header .portal-menu-toggle{background:#261f27;border-color:#55414f;color:#f1e5ee}
 .content{margin-top:calc(68px + env(safe-area-inset-top,0px));height:calc(100dvh - 74px - env(safe-area-inset-top,0px))}
 .topbar{height:49px;min-height:49px;padding:12px 19px;justify-content:flex-start}
 .topbar>.mobile-portal-context{display:block;font-size:13px;font-weight:650;color:#63505d}
}
@media print{.mobile-outer-header,.mobile-portal-context{display:none!important}}

/* An edge-to-edge mobile menu with a calm, custom two-line icon. */
.portal-menu-glyph{display:flex;width:22px;height:22px;flex-direction:column;justify-content:center;align-items:flex-end;gap:6px}
.portal-menu-glyph i{display:block;width:22px;height:2px;background:currentColor;border-radius:3px}
.portal-menu-glyph i:last-child{width:15px}
@media(max-width:900px){
 .sidebar{width:100%;max-width:100vw;padding-left:max(22px,env(safe-area-inset-left,0px));padding-right:max(22px,env(safe-area-inset-right,0px));padding-top:calc(18px + env(safe-area-inset-top,0px))}
 .sidebar .nav{border-radius:11px;padding:13px 16px;font-size:14px;gap:14px}
 .sidebar>.brand{margin-left:14px;margin-bottom:24px}.sidebar>.workspace{border-radius:14px;padding:15px}
 .sidebar .section-label{margin-top:22px;margin-bottom:12px;letter-spacing:1.8px}
 .drawer-close{border-radius:13px;background:#261f27;padding:10px 13px;color:#f1e5ee}
}

@media(max-width:900px){.mobile-outer-header .portal-menu-toggle{width:46px;height:46px;padding:11px;flex:0 0 46px}}
/* Keep one fixed brand header; the opened menu starts below it. */
@media(max-width:900px){
 .topbar{display:none!important}
 .mobile-outer-header{z-index:26}
 .sidebar{top:calc(68px + env(safe-area-inset-top,0px));bottom:0;max-height:calc(100dvh - 68px - env(safe-area-inset-top,0px));padding-top:10px}
 .sidebar>.brand{display:none}
 .menu-scrim.show{top:calc(68px + env(safe-area-inset-top,0px))}
}

/* One lightweight toggle: two strokes morph into a cross without a visible pill. */
@media(max-width:900px){
 .mobile-outer-header .portal-menu-toggle,.mobile-outer-header .portal-menu-toggle:hover,.mobile-outer-header .portal-menu-toggle:active{background:transparent;border:0;box-shadow:none;color:#f1e5ee;min-width:46px;min-height:46px}
 .mobile-outer-header .portal-menu-toggle:focus-visible{outline:3px solid #f1c8dc;outline-offset:3px}
 .portal-menu-glyph{position:relative;display:block;width:24px;height:24px}
 .portal-menu-glyph i{position:absolute;top:11px;right:0;width:24px;height:2px;border-radius:2px;transform-origin:center;transform:translateY(-4px);transition:transform .22s ease,width .22s ease}
 .portal-menu-glyph i:last-child{width:16px;transform:translateY(4px)}
 .portal-menu-toggle[aria-expanded="true"] .portal-menu-glyph i:first-child{transform:translateY(0) rotate(45deg)}
 .portal-menu-toggle[aria-expanded="true"] .portal-menu-glyph i:last-child{width:24px;transform:translateY(0) rotate(-45deg)}
}
@media(prefers-reduced-motion:reduce){.portal-menu-glyph i{transition:none!important}}
/* Mobile navigation opens downward from the fixed brand header. */
@media(max-width:900px){
 .sidebar{transform:translateY(-100%);transition:transform .24s ease}
 .sidebar.open{transform:translateY(0)}
}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none!important}}
/* MANE brand accents: display figures and card titles; calm, readable navigation tabs. */
.tabs button,.settings-nav button,.settings-main-tabs button,.view-switch button,.scope-toggle button,.portal-tabs button{font-family:'DM Sans',sans-serif;font-weight:500;font-size:13px;letter-spacing:0;line-height:1.4}
.tabs button.active,.settings-nav button.selected,.settings-main-tabs button[aria-selected=true],.view-switch button.active,.view-switch button.selected,.scope-toggle button.selected,.portal-tabs button.active{font-weight:650}
.panel h2,.panel-heading h3,.catalog-card h3,.photo-project h2,.project-next h2,.project-overview-cards h3,.object-card h3{font-family:Manifold,'DM Sans',sans-serif;font-weight:900;letter-spacing:-.035em;line-height:1.3;min-width:0;overflow-wrap:anywhere}
.poc-metrics strong,.stat strong,.offer-option strong,.internal-cost strong,.document-totals>div:last-child strong,.finance-project-balance strong,.builder-stats strong{font-family:Manifold,'DM Sans',sans-serif;font-weight:900;letter-spacing:-.04em;line-height:1.22;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.poc-metrics>div,.stat,.builder-stats>div,.finance-project-balance>div{min-width:0}
.poc-metrics strong,.stat strong{font-size:clamp(23px,2.4vw,31px)}
.panel-head h2,.panel-heading>div{min-width:0}
.panel-head h2{flex:1}
.stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.document-totals>div:last-child{gap:12px;flex-wrap:wrap}
.document-totals>div:last-child strong{margin-left:auto;text-align:right}
/* The compact Project control is the reference for every quick-create action. */
.quick-ribbon>button,.quick-ribbon>button.btn{font:400 11px/1.4 'DM Sans',sans-serif;display:flex;align-items:center;justify-content:center;gap:7px;min-height:0;padding:8px 11px;border:0;border-radius:7px;background:var(--white);color:var(--ink);box-shadow:none}
@media(max-width:1280px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.quick-ribbon>button,.quick-ribbon>button.btn{min-height:44px;font-size:12px}}
@media(max-width:650px){.poc-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.poc-metrics strong,.stat strong{font-size:clamp(20px,5.2vw,25px)}.tabs button,.settings-nav button,.settings-main-tabs button{font-size:13px}}
/* Laptop navigation stays on screen at normal zoom; only phones use the drawer. */
@media screen and (min-width:761px){
 .shell{grid-template-columns:220px minmax(0,1fr)}
 .sidebar,.sidebar.open{width:220px;max-width:220px;inset:0 auto 0 0;max-height:100dvh;transform:none;padding:24px 14px 16px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
 .sidebar>.brand{display:flex;margin:0 8px 20px;gap:10px}
 .sidebar>.workspace{border-radius:9px;padding:10px;margin-bottom:10px;min-width:0}
 .sidebar>.workspace>span:nth-child(2){min-width:0;flex:1;overflow-wrap:anywhere}
 .sidebar>.workspace>svg,.sidebar>.workspace>.initial,.sidebar .nav>svg{flex-shrink:0}
 .sidebar .nav{min-height:36px;padding:8px 11px;font-size:12px;line-height:1.35;gap:10px;border-radius:7px;overflow-wrap:anywhere}
 .sidebar .section-label{margin:16px 11px 7px;font-size:11px;letter-spacing:0}
 .sidebar .side-bottom{margin-top:auto;padding-top:14px}
 .sidebar .profile{padding:12px 8px 0}
 .mobile-outer-header,.mobile-drawer-tools,.drawer-close,.mobile-menu,.menu-scrim.show{display:none!important}
 .content{grid-column:2;width:auto;margin:8px 8px 8px 0!important;height:calc(100dvh - 16px)}
 .topbar{display:flex!important;height:70px;min-height:70px;padding:0 22px;justify-content:flex-start}
 .topbar>.crumb{display:flex!important;min-width:0;overflow:hidden;text-overflow:ellipsis}
 .topbar>.search-trigger{display:flex!important;flex-shrink:0;margin-left:auto}
 .topbar>.mobile-portal-context{display:none!important}
}
@media screen and (min-width:761px) and (max-width:1000px){
 .shell{grid-template-columns:204px minmax(0,1fr)}.sidebar,.sidebar.open{width:204px;max-width:204px;padding-inline:10px}
 .sidebar .wordmark{font-size:23px}.topbar>.demo-label,.topbar>.initial{display:none!important}
 .topbar .search-trigger span,.topbar .search-trigger kbd{display:none}
 .content main{padding-left:20px;padding-right:20px}
 .quote-workspace{grid-template-columns:minmax(0,1fr)}
}
@media screen and (min-width:761px) and (max-height:850px){
 .sidebar,.sidebar.open{padding-top:17px;padding-bottom:12px}.sidebar>.brand{margin-bottom:14px}
 .sidebar>.workspace{padding:8px;margin-bottom:6px}.sidebar .section-label{margin-top:11px;margin-bottom:5px}
 .sidebar .nav{min-height:33px;padding-top:6px;padding-bottom:6px;margin-bottom:2px}
 .sidebar .side-bottom{padding-top:9px}.sidebar .profile{margin-top:8px;padding-top:10px}
}
/* Linked project inside the relation follow-up card: one compact, integrated tile. */
.followup-card .related-project-card--feature{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:stretch;width:100%;max-width:440px;min-height:104px;padding:0;min-width:0;border:1px solid #ffffff24;border-radius:13px;background:#ffffff0b;color:#fffdfa;overflow:hidden;transition:background .18s ease,border-color .18s ease}
.related-project-card--feature .related-project-visual{display:block;position:relative;align-self:stretch;width:100%;min-height:104px;overflow:hidden;background:#211c23}
.related-project-card--feature .related-project-visual img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.related-project-card--feature .related-project-copy{display:flex;flex-direction:column;justify-content:center;padding:13px 14px;min-width:0}
.related-project-card--feature .related-project-copy>strong{font:900 14px/1.35 Manifold,'DM Sans',sans-serif;letter-spacing:-.025em;overflow-wrap:anywhere;margin:0 0 10px}
.related-project-card--feature .related-project-meta{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;min-width:0}
.related-project-card--feature .related-project-meta>.badge{font-size:11px;line-height:1.4;padding:5px 9px;border:1px solid #ffffff1a;background:#eee0eb;color:#50384a;white-space:normal;overflow-wrap:anywhere;text-align:left}
.related-project-card--feature .related-project-open{display:inline-flex;align-items:center;gap:8px;color:#e9d8e3;font:500 11px/1.4 'DM Sans',sans-serif;white-space:nowrap;margin-left:auto}
.related-project-card--feature .related-project-arrow{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#ffffff10;color:#f5e9ef}
.related-project-card--feature .related-project-arrow svg{width:15px;height:15px}
.followup-card .related-project-card--feature:hover{background:#ffffff13;border-color:#ffffff50}
.followup-card .related-project-card--feature:focus-visible{outline:3px solid #ecc9db;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.followup-card .related-project-card--feature{transition:none}}

@media(max-width:600px){.followup-card .related-project-card--feature{grid-template-columns:76px minmax(0,1fr);min-height:96px}.related-project-card--feature .related-project-visual{min-height:96px}.related-project-card--feature .related-project-copy{padding:12px}.related-project-card--feature .related-project-copy>strong{font-size:13px}.related-project-card--feature .related-project-meta{gap:6px}.related-project-card--feature .related-project-open{font-size:10px;gap:6px}}
/* A quiet footer follows all content, with no empty 130px tail below it. */
@media screen{
 .content{display:flex;flex-direction:column;scroll-padding-bottom:24px}
 .content>.topbar{flex-shrink:0}
 .content>main{flex:1 0 auto;width:100%;margin:0 auto;padding-bottom:16px!important}
 .content>.footer-note{flex:0 0 auto;width:100%;min-height:calc(74px + env(safe-area-inset-bottom,0px));max-width:1500px;margin:0 auto;display:flex;align-items:center;gap:9px;padding:12px 200px calc(16px + env(safe-area-inset-bottom,0px)) 42px;color:var(--muted)}
 .footer-note>img{width:23px;height:23px;object-fit:contain}
 .footer-note>span{display:flex;flex-direction:column;gap:2px}
 .footer-note strong{font:900 13px/1.25 Manifold,'DM Sans',sans-serif;letter-spacing:-.02em}
 .footer-note small{font:400 11px/1.35 'DM Sans',sans-serif;white-space:nowrap}
}
@media screen and (max-width:1280px){.content>.footer-note{padding-left:24px}}
@media screen and (max-width:900px){.content>.footer-note{padding-left:20px}}
@media screen and (max-width:600px){.content>.footer-note{padding-left:14px;padding-right:145px}}

/* Existing MANE rhythm, with quiet subscription choices and new industry templates. */
.setup-templates{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}
.billing-intro h3{font-family:var(--font-display,inherit);font-size:30px;line-height:1.1}.billing-notice{padding:20px;border-radius:16px;background:#f2eaf0;margin-bottom:24px}.billing-notice p{margin-bottom:0}.billing-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:28px}.billing-plan{border:1px solid var(--line);border-radius:16px;padding:18px;display:flex;gap:12px;align-items:flex-start;background:#fff}.billing-plan:has(input:checked){border-color:var(--plum);box-shadow:0 0 0 1px var(--plum)}.billing-plan span{display:flex;flex-direction:column;gap:8px}.billing-plan b{font-size:23px}.billing-plan b small{font-size:12px;font-weight:400}.billing-plan em{font-style:normal;font-size:12px;color:var(--plum)}.billing-discount{margin:24px 0;padding:20px;border:1px solid var(--line);border-radius:16px}.billing-discount summary{font-weight:700;cursor:pointer}.coaching-progress{margin-top:20px}
@media(max-width:560px){.billing-plans{grid-template-columns:1fr}.billing-plan b{font-size:21px}.coaching-progress .panel-heading{align-items:flex-start;flex-direction:column}}

/* Consistent breathing room across dossier, planning and settings surfaces. */
.project-overview-cards{grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));gap:24px;margin:24px 0}.project-overview-cards>.panel{display:flex;flex-direction:column;align-items:stretch;padding:26px;gap:0;min-width:0}.project-overview-cards h3{margin:18px 0 12px;line-height:1.4;letter-spacing:-.015em}.project-overview-cards p{line-height:1.65;margin:0 0 20px}.project-overview-cards .btn,.project-overview-cards .text-link{align-self:flex-start;margin-top:auto}.panel-heading{gap:20px;margin-bottom:20px}.panel-heading>div:first-child{min-width:0;flex:1}.panel-heading h2,.panel-heading h3{margin-top:0}.panel-heading>.button-row{flex-shrink:0}.coaching-session{align-items:flex-start;gap:24px;padding:22px}.coaching-session>div:first-child{min-width:0;flex:1}.coaching-session>.button-row{justify-content:flex-end;flex:0 1 48%;gap:10px}.coaching-session p{line-height:1.7}.coaching-session h3{line-height:1.5}.coaching-session .note{margin-top:12px}.calendar-bar>.button-row{gap:10px}.form-grid{gap:24px}.form-grid>label,.form-grid>div{min-width:0}.form-grid input,.form-grid select,.form-grid textarea{max-width:100%}.modal-body>label{display:block;margin-bottom:20px}.property>strong,.property>b{flex-shrink:1;max-width:70%;text-align:right;line-height:1.6;overflow-wrap:anywhere}.property>span{min-width:0;line-height:1.6}.contact-properties>div{min-width:0}.modal-foot{background:#fff}.cloud-workspace-bar{background:#fff}.settings-layout+section.panel,main>section.panel+section.panel,.layout-card>.panel+.project-overview-cards{margin-top:24px}main>.dossier-layout{margin-bottom:24px}.coaching-overview-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:26px;margin:24px 0}.coaching-overview-summary h2{margin:8px 0 12px}.coaching-overview-summary p{line-height:1.7;margin:0 0 12px}.coaching-overview-summary>.button-row{flex-shrink:0}.coaching-next-session{border-top:1px solid var(--line);padding-top:16px;margin-top:18px}.planning-week-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.planning-week-scroll .time-grid{grid-template-columns:repeat(7,minmax(150px,1fr));min-width:1050px}.session-planning-list{display:grid;gap:14px;margin-top:20px}.session-planning-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;border:1px solid var(--line);border-radius:12px}.session-planning-row>div{min-width:0}.session-planning-row small{display:block;line-height:1.6;margin-top:6px;color:var(--muted)}@media(max-width:760px){.coaching-session,.coaching-overview-summary{flex-direction:column}.coaching-session>.button-row{flex:initial;width:100%;justify-content:flex-start}.coaching-overview-summary>.button-row{flex-shrink:1;flex-wrap:wrap}.panel-heading{flex-wrap:wrap}.panel-heading>.button-row{flex-shrink:1;flex-wrap:wrap}.project-overview-cards>.panel{padding:22px}.form-grid{gap:20px}.property>strong,.property>b{max-width:100%}.session-planning-row{align-items:flex-start;flex-wrap:wrap}}
.planning-week-scroll .time-grid.is-day{grid-template-columns:minmax(0,1fr);min-width:0}

.planning-week-scroll .planning-board{grid-template-columns:repeat(7,minmax(165px,1fr));min-width:1155px}.planning-week-scroll .planning-board.single-day{grid-template-columns:minmax(0,1fr);min-width:0}.planning-week-scroll .time-grid{display:flex;flex-direction:column;min-width:0}.google-work-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;padding:22px;border:1px solid var(--line);border-radius:18px;margin:24px 0}.google-work-toolbar p{margin:6px 0 0;line-height:1.6}.google-mail-row,.google-event-row{padding:20px;border:1px solid var(--line);border-radius:16px;margin-bottom:14px;display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.google-mail-row>div,.google-event-row>div{min-width:0}.google-mail-row h3,.google-event-row h3{margin:0 0 8px;line-height:1.5}.google-mail-row small,.google-event-row small{display:block;color:var(--muted);line-height:1.7}.google-mail-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;max-height:45vh;overflow:auto;padding:20px;background:#fff;border:1px solid var(--line);border-radius:14px;margin:24px 0}.google-compose label{display:block;margin:20px 0}.google-compose textarea{min-height:220px}.google-compose .button-row{margin-top:24px}.google-preview-meta{display:grid;gap:10px}.google-status{white-space:nowrap}.plan-google-options{padding:20px;border:1px solid var(--line);border-radius:14px;background:#fff}.plan-google-options .check-row{margin-top:14px}.google-calendar-inline{margin-top:24px}@media(max-width:700px){.google-mail-row,.google-event-row{flex-direction:column}.google-work-toolbar{align-items:flex-start}.google-work-toolbar .button-row{flex-wrap:wrap}}

.credit-balance{display:flex;align-items:center;gap:6px;min-height:40px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--plum);font-size:12px}.credit-balance strong{font-weight:700;color:var(--ink)}.credit-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;border:1px solid var(--line);border-radius:18px;margin-bottom:24px}.credit-summary h3{font:900 32px/1.3 Manifold,'DM Sans',sans-serif;margin:10px 0 0}.credit-summary>div:last-child{display:flex;flex-direction:column;gap:6px}.credit-packages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.credit-package{display:flex;align-items:flex-start;gap:10px;padding:18px 12px;border:1px solid var(--line);border-radius:14px;background:#fff}.credit-package span{display:flex;flex-direction:column;gap:8px}.credit-package.recommended{border-color:var(--plum)}.credit-package:has(input:checked){box-shadow:0 0 0 1px var(--plum);background:#faf6f9}.credit-package small{font-size:12px;color:var(--muted)}@media(max-width:700px){.credit-packages{grid-template-columns:repeat(2,minmax(0,1fr))}.credit-summary{flex-wrap:wrap}.credit-balance{margin-left:auto}}

.work-modules-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}.work-module-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff}.work-module-row span{font-weight:600}.work-module-row input{accent-color:var(--plum);flex-shrink:0}@media(max-width:600px){.work-modules-grid{grid-template-columns:1fr}}

#billing-form{border:0;padding:0;margin:0;min-inline-size:0}.billing-intro h3{font:900 32px/1.2 Manifold,'DM Sans',sans-serif;letter-spacing:-.02em}.billing-intro p{max-width:650px;line-height:1.7;margin:18px 0 26px}.billing-plans{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.billing-plan{position:relative;display:flex;flex-direction:column;align-items:stretch;padding:26px 18px;min-width:0;border-radius:20px;background:#fff;transition:border-color .15s ease,background .15s ease}.billing-plan:has(input:checked){background:#faf6f9;border-color:var(--plum);box-shadow:0 0 0 1px var(--plum)}.billing-plan input[type=radio],.credit-package input[type=radio]{width:20px!important;height:20px!important;min-height:20px;min-width:20px;max-width:20px;flex:0 0 20px;padding:0;accent-color:var(--plum)}.billing-plan input[type=radio]{position:absolute;top:16px;right:16px}.billing-plan-copy{display:flex;flex-direction:column;gap:12px;min-width:0}.billing-plan-copy>strong{font:900 22px/1.2 Manifold,'DM Sans',sans-serif;letter-spacing:-.02em}.billing-plan-description{font-size:12px;line-height:1.6;min-height:40px;color:var(--muted)}.billing-plan-copy>b{font:900 26px/1.4 Manifold,'DM Sans',sans-serif;letter-spacing:-.02em;overflow-wrap:anywhere}.billing-plan-copy>b small{display:block;font:400 11px/1.6 'DM Sans',sans-serif;margin-top:7px;letter-spacing:0}.billing-plan-art{height:100px;position:relative;display:flex;align-items:center;justify-content:center;margin:6px 0 16px}.billing-plan-art .billing-clay-people{display:flex;align-items:center;justify-content:center;gap:0}.billing-clay-people img{height:85px;width:76px;object-fit:contain}.billing-plan-art.team .billing-clay-people img{width:44px;height:66px}.billing-plan-art.business .billing-clay-people{display:grid;grid-template-columns:repeat(5,24px);gap:0}.billing-plan-art.business .billing-clay-people img{width:28px;height:42px}.billing-maine-star{position:absolute;width:40px;height:40px;object-fit:contain;right:0;top:5px}.billing-plan-art.business .billing-maine-star{right:-4px;top:-5px;width:35px;height:35px}.billing-intro~fieldset h4,.billing-intro~h4{font:900 20px/1.4 Manifold,'DM Sans',sans-serif}.billing-notice{background:#fff;border:1px solid var(--line);border-radius:14px}.billing-notice p{font-size:13px;line-height:1.7}.billing-plans+.credit-packages{margin-top:24px}[data-billing="save"],[data-billing="open"],[data-billing="checkout"],[data-billing="confirm"]{font-family:Manifold,'DM Sans',sans-serif;font-weight:900!important;letter-spacing:-.02em}.billing-plan em{font-size:11px}@media(max-width:900px){.billing-plans{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){.billing-plan{padding:22px 14px}.billing-plan-copy>b{font-size:24px}.billing-plan-copy>strong{font-size:19px}.billing-intro h3{font-size:26px}.billing-plan-art.business .billing-clay-people{grid-template-columns:repeat(5,20px)}.billing-plan-art.business .billing-clay-people img{width:24px;height:37px}}

.billing-plan-art{width:140px;max-width:100%;align-self:center}.billing-plan-art .billing-clay-people{flex-direction:row;align-items:flex-end}.billing-plan-art.extended{width:110px}.billing-plan-art.extended .billing-maine-star{right:-3px;top:19px;width:32px;height:32px}.billing-plan-art.team{width:144px}.billing-plan-art.team .billing-maine-star{right:-4px;top:15px;width:32px;height:32px}.billing-plan-art.business .billing-maine-star{right:-4px;top:6px;width:30px;height:30px}.billing-plan:has(input:checked){background:#fff}.billing-plan-copy .billing-price{display:grid;grid-template-columns:18px minmax(0,1fr);column-gap:4px;align-items:baseline;white-space:nowrap;overflow-wrap:normal;font-size:23px}.billing-plan .billing-price span{display:block;flex-direction:initial;gap:0}.billing-currency{font-size:17px}.billing-amount{font-size:23px;white-space:nowrap;letter-spacing:-.03em}.billing-price>small{grid-column:1/-1}.credit-package{position:relative}.credit-recommended{position:absolute;top:-11px;right:12px;padding:4px 9px;border-radius:20px;background:var(--plum);color:#fff;font:600 11px/1.4 'DM Sans',sans-serif;letter-spacing:0;white-space:nowrap}.credit-package.recommended{background:#fff}.credit-packages{margin-top:28px;margin-bottom:20px}@media(max-width:450px){.billing-plan-art{width:120px}.billing-plan-art.team .billing-clay-people img{width:36px;height:59px}.billing-plan-copy .billing-price{grid-template-columns:15px minmax(0,1fr);gap:3px}.billing-currency{font-size:15px}.billing-amount{font-size:20px}.credit-recommended{font-size:10px;right:8px}}

.task-block-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.task-block-links>small{flex-basis:100%;display:block;color:var(--muted);line-height:1.6}.task-block-links .text-link{min-height:32px;display:inline-flex;align-items:center}.task-card-meta{gap:10px 16px;flex-wrap:wrap}.task-card-meta>span{line-height:1.6}.task-phase>h3{margin-top:28px;margin-bottom:16px}.task-card.completed .task-card-meta>span:first-child{color:#356746;background:#edf5ef;padding:4px 9px;border-radius:20px}.task-card.completed .task-card-meta>span:first-child:before{content:'✓ ';font-weight:700}

.workspace-choices-intro{font-size:15px;line-height:1.7;margin:0 0 24px}.workspace-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:20px}.workspace-choice-card{display:flex;flex-direction:column;text-align:left;padding:0;border:1px solid var(--line);border-radius:20px;background:#fff;overflow:hidden;min-width:0;color:var(--ink);font:inherit}.workspace-choice-card.is-active{border-color:var(--plum);box-shadow:0 0 0 1px var(--plum)}.workspace-card-art{display:flex;align-items:center;justify-content:center;height:150px;padding:22px;background:#fff}.workspace-card-art img{width:125px;height:125px;object-fit:contain}.workspace-card-copy{display:flex;flex-direction:column;gap:12px;padding:22px;border-top:1px solid var(--line)}.workspace-card-copy>strong{font:900 18px/1.5 Manifold,'DM Sans',sans-serif;letter-spacing:-.02em;overflow-wrap:anywhere}.workspace-card-copy>small{line-height:1.6;color:var(--muted)}.workspace-card-meta{font-size:11px;color:var(--muted);line-height:1.6}.workspace-card-action{font-size:13px;font-weight:600;color:var(--plum);margin-top:8px}.workspace-create-card{padding:26px;justify-content:center;align-items:flex-start;gap:16px;border-style:dashed;min-height:290px}.workspace-create-mark{display:flex;align-items:center;justify-content:center;width:60px;height:60px;border:1px solid var(--line);border-radius:18px;color:var(--plum);font-size:36px}.workspace-create-card>strong{font:900 19px/1.4 Manifold,'DM Sans',sans-serif}.workspace-create-card>small{font-size:13px;line-height:1.7;color:var(--muted)}.workspace-choice-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:24px;margin-top:24px;border-top:1px solid var(--line);color:var(--muted)}#modal:has(.workspace-choices) .modal-head h2,#modal:has(.billing-intro) .modal-head h2{font:900 24px/1.4 Manifold,'DM Sans',sans-serif;letter-spacing:-.02em}@media(max-width:600px){.workspace-choice-grid{grid-template-columns:1fr}.workspace-card-art{height:130px}.workspace-choice-footer{flex-wrap:wrap}}

.topbar{gap:12px}.topbar .search-trigger{flex:0 1 250px;width:250px;max-width:250px;min-width:170px;padding:9px 12px;gap:10px}.topbar .search-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .search-trigger kbd{flex-shrink:0;margin-left:auto}.topbar .demo-label{white-space:nowrap}.topbar>.initial{display:none}@media(max-width:900px){.topbar .search-trigger{width:210px;max-width:210px;min-width:150px}}@media(max-width:600px){.topbar .search-trigger{min-width:0;flex:1;width:auto;max-width:none}.topbar .demo-label{font-size:10px}.credit-balance{font-size:11px;padding:8px;min-height:36px}}

.mane-start-guide{background:#fff;padding:26px;border:1px solid var(--line);border-radius:18px;margin-bottom:28px}.mane-start-guide .panel-heading{margin-bottom:24px;align-items:flex-start}.mane-start-guide h2{font:900 21px/1.5 Manifold,'DM Sans',sans-serif;letter-spacing:-.015em;margin:8px 0 0}.setup-start-actions{gap:16px;align-items:stretch}.setup-start-actions>button,.setup-start-actions>.setup-guide-colors{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px;text-align:left;padding:22px;min-height:165px;background:#fff;border:1px solid var(--line);border-radius:14px;font:inherit}.setup-start-actions>button strong,.setup-start-actions>.setup-guide-colors>strong{font:900 15px/1.5 Manifold,'DM Sans',sans-serif;letter-spacing:-.015em}.setup-start-actions small{display:block;font:400 13px/1.7 'DM Sans',sans-serif;color:var(--muted);margin:0}.setup-guide-colors>div{margin-top:auto;display:flex;gap:12px}.setup-guide-colors>div button{width:30px;height:30px;min-width:30px;min-height:30px}.mane-start-guide .text-link{white-space:nowrap;margin-top:3px}@media(max-width:700px){.mane-start-guide{padding:20px}.setup-start-actions{grid-template-columns:1fr}.setup-start-actions>button,.setup-start-actions>.setup-guide-colors{min-height:0;padding:20px}.mane-start-guide h2{font-size:18px}}

.calendar-bar>.button-row:first-child{gap:10px}.calendar-bar>.button-row:first-child button{min-width:42px;min-height:42px}

.mobile-outer-header .mobile-credit-balance{margin-left:auto;order:1;min-height:36px}.mobile-outer-header .portal-menu-toggle{order:2}.mobile-outer-header .mobile-portal-identity{min-width:0;flex:1}.mobile-credit-balance strong{font-size:12px}

.credit-packages[hidden]{display:none!important}

/* Mail: readable previews, usable writing space and compact contact automation. */
#modal:has(.google-compose),#modal:has(.google-preview-meta){width:min(880px,calc(100vw - 32px));max-width:none}
.google-compose{width:100%;min-width:0}.google-compose label{display:flex;flex-direction:column;gap:9px;font-size:13px;font-weight:600;margin:20px 0}.google-compose input,.google-compose textarea{box-sizing:border-box;display:block;width:100%;max-width:100%;margin:0;background:#fff;color:var(--ink);font:400 15px/1.7 'DM Sans',Arial,sans-serif}.google-compose textarea{min-height:260px;resize:vertical;padding:18px;white-space:pre-wrap}.google-compose-context{padding:12px 16px;border:1px solid var(--line);border-radius:10px;font-size:13px}.google-preview-meta{display:block;padding-bottom:12px;border-bottom:1px solid var(--line)}.google-preview-meta p{margin:6px 0;font-size:14px;overflow-wrap:anywhere}.google-preview-meta h3{font-family:'DM Sans',Arial,sans-serif;font-size:21px;line-height:1.5;margin:20px 0 12px;overflow-wrap:anywhere}.google-mail-body{font:400 15px/1.8 'DM Sans',Arial,sans-serif;tab-size:4;word-break:normal;min-height:100px}.mail-snippet{margin:16px 0;color:var(--muted);font-size:14px!important;white-space:normal!important}.mail-content summary{display:list-item;cursor:pointer;color:var(--plum);font-size:13px;padding:8px 0}.mail-content .google-mail-body{margin:12px 0 20px;max-height:55vh}.project-message footer{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 0}.project-message header{gap:12px;flex-wrap:wrap}.project-message h3{overflow-wrap:anywhere}.google-auto-mail{display:flex;justify-content:space-between;gap:22px;align-items:flex-start;border:1px solid var(--line);border-radius:16px;background:#fff;padding:20px;margin:22px 0}.google-auto-mail h3{font:600 16px/1.4 'DM Sans',Arial,sans-serif;margin:0 0 8px}.google-auto-mail p{font-size:13px;line-height:1.7;margin:0 0 8px}.google-auto-mail small{display:block;font-size:12px;color:var(--muted);line-height:1.6}.google-auto-mail .button-row{flex-shrink:0;flex-wrap:wrap}.google-compose .button-row,.google-preview-meta~.button-row{gap:12px;flex-wrap:wrap}@media(max-width:700px){.google-auto-mail{flex-direction:column}.google-auto-mail .button-row{width:100%}.google-compose textarea{min-height:230px}#modal:has(.google-compose),#modal:has(.google-preview-meta){width:calc(100vw - 20px)}.google-mail-body{padding:16px;font-size:14px}.project-message footer .btn{white-space:normal}}

.btn.mail-action{display:inline-flex;align-items:center;justify-content:center;gap:9px}.btn.mail-action svg{width:18px;height:18px;flex-shrink:0}

/* MANE Mail: personal mailbox, separate from shared company conversations. */
.mail-page{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;margin:24px 0}.mail-page-account{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px;border-bottom:1px solid var(--line)}.mail-page-account>span:first-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0;overflow-wrap:anywhere;font-size:14px}.mail-page-account small{color:var(--muted);font-size:12px}.mail-page-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 24px;border-bottom:1px solid var(--line)}.mail-page-tools .tabs{margin:0;flex-wrap:wrap}.mail-page-tools form{display:flex;gap:8px;min-width:0;max-width:420px;flex:1}.mail-page-tools input{margin:0;min-width:0;width:100%;font-size:14px;background:#fff}.mail-page-layout{display:grid;grid-template-columns:minmax(280px,35%) minmax(0,1fr);min-height:560px}.mail-page-list{border-right:1px solid var(--line);min-width:0;max-height:80vh;overflow:auto}.mail-page-row{display:block;text-align:left;width:100%;min-width:0;padding:20px 22px;background:#fff;border:0;border-bottom:1px solid var(--line);border-radius:0;color:var(--ink)}.mail-page-row:hover{background:#faf8fa}.mail-page-row.selected{background:color-mix(in srgb,var(--plum) 7%,#fff);box-shadow:inset 3px 0 0 var(--plum)}.mail-page-row-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.mail-page-row-top strong{font:500 13px/1.6 'DM Sans',Arial,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.mail-page-row-top time{font-size:11px;color:var(--muted);white-space:nowrap;flex-shrink:0;line-height:1.8}.mail-page-subject{display:block;font:500 14px/1.5 'DM Sans',Arial,sans-serif;margin:8px 0;overflow-wrap:anywhere}.mail-page-row.unread .mail-page-subject,.mail-page-row.unread strong{font-weight:700}.mail-page-snippet{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font:400 12px/1.7 'DM Sans',Arial,sans-serif;color:var(--muted)}.mail-page-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 16px;font-size:12px}.mail-page-pagination .btn{font-size:11px;padding:9px}.mail-page-detail{min-width:0;padding:30px}.mail-page-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:40px 24px;min-height:240px;color:var(--muted);font-size:14px}.mail-page-empty>span{font-size:36px;color:var(--plum)}.mail-page-empty h2{font:600 20px/1.4 'DM Sans',Arial,sans-serif;color:var(--ink);margin:0}.mail-page-empty p{font-size:14px;line-height:1.7;margin:0;max-width:440px}.mail-page-message header h2{font:600 22px/1.4 'DM Sans',Arial,sans-serif;margin:15px 0 20px;overflow-wrap:anywhere}.mail-page-direction{font-size:12px;color:var(--muted)}.mail-page-envelope{display:flex;flex-direction:column;gap:8px;font-size:13px;margin:18px 0 24px;overflow-wrap:anywhere}.mail-page-envelope b{color:var(--muted);font-weight:500;margin-right:8px}.mail-page-message .google-mail-body{max-height:65vh}.mail-page-message .button-row{gap:12px;flex-wrap:wrap}.mail-page-link{border-top:1px solid var(--line);padding-top:24px;margin-top:28px}.mail-page-link h3{font:600 16px/1.5 'DM Sans',Arial,sans-serif;margin:0 0 8px}.mail-page-link p{font-size:13px;color:var(--muted);line-height:1.7}.mail-page-link .form-grid{margin:20px 0;gap:18px}.mail-page-link label{font-size:12px}.mail-page-error{padding:16px 24px;background:#fff8ee;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px}.mail-page .btn:disabled{opacity:.5;cursor:default}@media(max-width:1100px){.mail-page-tools{flex-wrap:wrap}.mail-page-tools form{max-width:none}.mail-page-layout{grid-template-columns:minmax(260px,38%) minmax(0,1fr)}.mail-page-detail{padding:22px}.mail-page-row{padding:18px 16px}.mail-page-row-top{flex-direction:column;gap:4px}.mail-page-row-top strong{max-width:100%}}@media(max-width:750px){.mail-page-account{align-items:flex-start;padding:18px;flex-wrap:wrap}.mail-page-tools{padding:16px;gap:16px}.mail-page-tools form{flex-basis:100%}.mail-page-layout{display:flex;flex-direction:column}.mail-page-list{max-height:380px;border-right:0;border-bottom:1px solid var(--line)}.mail-page-row-top{flex-direction:row}.mail-page-detail{padding:20px 16px}.mail-page-message header h2{font-size:20px}.mail-page-empty{min-height:160px;padding:30px 18px}.mail-page-link .form-grid{grid-template-columns:1fr}.mail-page-account .google-status{font-size:11px}}

.content:has(.mail-page){background:#fff}.mail-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* The menu scrolls independently; identity remains within reach. */
.sidebar{overflow:hidden!important;max-height:100dvh}.sidebar>.brand,.sidebar>.workspace,.sidebar>.side-bottom{flex-shrink:0}.sidebar-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#786474 transparent}.sidebar .side-bottom{margin-top:0;padding-top:10px;background:var(--black)}
.conversation-timeline{padding-left:30px}.conversation-month{font-family:'DM Sans',Arial,sans-serif!important;font-size:16px;margin:26px 0 16px;text-transform:capitalize}.conversation-item{position:relative;border-left:1px solid var(--line);padding:0 0 16px 24px;margin-left:-20px}.conversation-marker{position:absolute;left:-14px;top:20px;background:#fff;padding:4px;color:var(--plum);display:flex}.conversation-card{border:1px solid var(--line);border-radius:16px;background:#fff;min-width:0}.conversation-card>summary{list-style:none;padding:18px 20px;cursor:pointer}.conversation-card>summary::-webkit-details-marker{display:none}.conversation-title{display:flex;gap:10px;align-items:baseline;min-width:0}.conversation-title strong{font:700 15px/1.45 'DM Sans',Arial,sans-serif;min-width:0;overflow-wrap:anywhere;flex:1}.conversation-title time{font-size:12px;color:var(--muted);white-space:nowrap}.conversation-chevron{font-size:24px;line-height:1;transition:transform .15s}.conversation-card[open] .conversation-chevron{transform:rotate(90deg)}.conversation-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:8px 0 0 23px;overflow-wrap:anywhere}.conversation-preview{font-size:14px;line-height:1.65;color:#625961;margin:14px 0 0 23px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.conversation-card[open] .conversation-preview{display:none}.conversation-full{padding:0 20px 20px 43px}.conversation-full>.google-mail-body{border-top:1px solid var(--line);padding:18px 0;font-size:14px}.conversation-full footer{gap:12px;flex-wrap:wrap}
@media(max-width:600px){.conversation-title{flex-wrap:wrap}.conversation-title strong{flex-basis:calc(100% - 34px)}.conversation-title time{margin-left:23px}.conversation-card>summary{padding:14px}.conversation-full{padding:0 14px 16px}.conversation-timeline{padding-left:16px}.conversation-item{padding-left:18px;margin-left:-5px}.sidebar>.side-bottom{padding-top:8px}.sidebar>.brand{margin-bottom:12px}}
.invoice-mail-list{display:grid;gap:10px;margin:16px 0}.invoice-mail-row{display:flex;text-align:left;align-items:center;gap:16px;width:100%;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}.invoice-mail-row>span:first-child{flex:1;min-width:0}.invoice-mail-row strong,.invoice-mail-row small{display:block;overflow-wrap:anywhere}.invoice-mail-row small,.invoice-mail-row time,.invoice-mail-account{color:var(--muted);font-size:12px;margin-top:6px}.invoice-mail-row:hover{border-color:var(--plum)}.invoice-mail-detail{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}.invoice-mail-detail h3{overflow-wrap:anywhere}.invoice-mail-detail .google-mail-body{padding:16px 0}.invoice-pagination{align-items:center;justify-content:center;font-size:12px}.invoice-inbox .panel-heading{align-items:center}
@media(max-width:600px){.invoice-mail-row{flex-wrap:wrap}.invoice-mail-row>span:first-child{flex-basis:100%}.invoice-inbox .panel-heading{flex-wrap:wrap}}
.mail-attachments{padding:18px 0;border-top:1px solid var(--line)}.mail-attachments h3{font-size:14px}.mail-attachments .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere;margin:0 8px 8px 0}.mail-attachments small{font-weight:400;color:var(--muted)}
.invoice-mail-detail .google-mail-body,.conversation-full>.google-mail-body,.mail-page-message>.google-mail-body{padding:24px;border:1px solid var(--line);border-radius:14px;margin:20px 0;max-width:100%;line-height:1.7}.google-mail-body.has-html-mail{white-space:normal;padding:0;border:1px solid var(--line);max-height:none;overflow:hidden}.mail-rich-view{min-width:0;background:#fff}.mail-rich-tools{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.mail-html-frame{display:block;width:100%;height:480px;border:0;background:#fff}.mail-plain-alternative{padding:10px 18px}.mail-plain-alternative>summary{font-size:12px;color:var(--muted)}.mail-plain-alternative .google-mail-body{margin:12px 0}.mail-rich-tools .text-link{min-height:32px}.conversation-full>.google-mail-body.has-html-mail,.invoice-mail-detail .google-mail-body.has-html-mail{padding:0}
@media(max-width:600px){.invoice-mail-detail .google-mail-body,.conversation-full>.google-mail-body,.mail-page-message>.google-mail-body{padding:18px}.google-mail-body.has-html-mail,.invoice-mail-detail .google-mail-body.has-html-mail,.conversation-full>.google-mail-body.has-html-mail{padding:0}.mail-html-frame{height:420px}}
.signature-preview{padding:24px;border:1px solid var(--line);border-radius:14px;background:#fff;margin-top:22px}.signature-preview:empty{display:none}.signature-preview table{width:auto}.signature-preview img{object-fit:contain}
.cost-linked-mails{margin:12px 0 22px;padding:12px 18px;border:1px solid var(--line);border-radius:12px;background:#fff}.cost-linked-mails>summary{font-size:13px;color:var(--plum)}.cost-linked-mails .invoice-mail-row{margin:10px 0}
.project-photo.illustration{background:#fff;height:200px}.project-photo.illustration img{object-fit:contain;padding:24px 48px}.service-cover-preview{display:block;width:240px;max-width:100%;height:160px;object-fit:contain;margin:18px 0;border:1px solid var(--line);border-radius:14px;background:#fff}
/* A bounded two-pane mailbox: the page can scroll past its title, then stops. */
@media(min-width:751px){.content:has(.mail-page)>main{padding:24px!important}.content:has(.mail-page) .page-head{margin-bottom:0}.content:has(.mail-page)>.footer-note{display:none}.mail-page{margin:24px 0 0}.mail-page-layout{height:var(--mail-pane-height,60vh);min-height:260px;align-items:stretch}.mail-page-list{height:100%;max-height:none;min-height:0;overflow-y:auto;border-right:0;scrollbar-width:none;overscroll-behavior:contain}.mail-page-list::-webkit-scrollbar{display:none}.mail-page-detail{height:100%;min-height:0;overflow-y:auto;border-left:1px solid var(--line);overscroll-behavior:contain}.mail-page-detail>.mail-page-empty{min-height:100%}.mail-page-message .google-mail-body{max-height:none}}

/* Deployment notice stays outside rerendered pages and preserves open drafts. */
.mane-update-notice{position:fixed;z-index:1500;left:calc(var(--sidebar-width,260px) + 24px);right:24px;bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;border:1px solid #d8cbd5;border-radius:20px;background:#fff;box-shadow:0 12px 38px #211d2020;color:#242126}
.mane-update-notice strong,.mane-update-notice span{display:block}.mane-update-notice span{font-size:14px;margin-top:6px;color:#675d66}.mane-update-notice .btn{flex-shrink:0}
@media(max-width:750px){.mane-update-notice{left:12px;right:12px;bottom:12px;padding:16px;gap:12px}.mane-update-notice strong{font-size:15px}.mane-update-notice span{font-size:13px}.mane-update-notice .btn{padding:12px;font-size:13px}}

/* Cost invoices: compact actions, original documents and calm folder hierarchy. */
.property>.cost-action-button{align-self:center;flex:0 0 auto;width:auto;min-width:0;min-height:36px;padding:7px 12px;font-size:12px;white-space:nowrap}
.cost-invoice-links{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0 20px}.cost-invoice-links small{color:var(--muted)}
.cost-main-tabs{margin-top:24px}.cost-archive .panel-heading{align-items:flex-start;gap:24px}.cost-archive .button-row{flex-wrap:wrap;gap:10px}.cost-archive-summary{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin:24px 0}.cost-archive-summary strong{font-size:22px;color:var(--ink);margin-right:6px}.cost-archive-summary label{display:flex;align-items:center;gap:12px;margin-left:auto}.cost-archive-summary select{width:160px}.cost-archive-hint{padding:14px 18px;border:1px solid var(--line);border-radius:12px;color:var(--muted);line-height:1.6}.cost-folder-tree{margin:28px 0;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}.cost-folder-year>summary,.cost-folder-month>summary{display:flex;align-items:center;gap:12px;padding:18px 22px;cursor:pointer;list-style:none;font-weight:600}.cost-folder-year>summary{font-size:18px;background:#fff;border-bottom:1px solid var(--line)}.cost-folder-year>summary:before,.cost-folder-month>summary:before{content:'›';color:var(--plum)}.cost-folder-year[open]>summary:before,.cost-folder-month[open]>summary:before{transform:rotate(90deg)}.cost-folder-tree summary small{font-size:12px;color:var(--muted);font-weight:400;margin-left:auto}.cost-folder-month{margin:0 18px;border-bottom:1px solid var(--line)}.cost-folder-month:last-child{border-bottom:0}.cost-folder-month>.note{padding:0 24px 16px}.cost-archive-invoice{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 16px 18px 30px;padding:18px;border:1px solid var(--line);border-radius:12px}.cost-archive-invoice>div{min-width:0}.cost-archive-invoice strong,.cost-archive-invoice span,.cost-archive-invoice small{display:block;line-height:1.6;overflow-wrap:anywhere}.cost-archive-invoice small{color:var(--muted)}.cost-invoice-files{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.cost-invoice-files .btn{white-space:normal;overflow-wrap:anywhere}.cost-mail-files{border:1px solid var(--line);border-radius:12px;padding:16px}.cost-mail-files label{padding:8px 0}[data-archive-status]:not(:empty){padding:12px 0;color:var(--plum)}
@media(max-width:700px){.cost-archive .panel-heading{flex-direction:column}.cost-archive-summary{gap:16px}.cost-archive-summary label{margin-left:0;width:100%}.cost-archive-invoice{flex-direction:column;margin:0 0 16px;padding:14px}.cost-folder-month{margin:0 12px}.cost-folder-tree summary{padding:16px 8px}.cost-folder-tree summary small{max-width:85px;text-align:right}.cost-archive-invoice>.btn{align-self:flex-start}}

.cost-folder-category{margin:0 10px 14px 24px;border-left:1px solid var(--line)}.cost-folder-category>summary{display:flex;gap:12px;align-items:center;padding:14px 18px;cursor:pointer;font-weight:500}.cost-folder-category .note{padding:0 18px 12px}.cost-folder-category .cost-archive-invoice{margin:0 12px 12px 18px}@media(max-width:700px){.cost-folder-category{margin-left:8px}.cost-folder-category .cost-archive-invoice{margin:0 8px 12px;padding:12px}}

.inbox-connection-cue{width:7px;height:7px;border-radius:50%;background:#83c59a;box-shadow:0 0 0 3px #83c59a16;flex-shrink:0;margin-left:auto}.mail-link-suggestion-note{display:block;color:var(--muted);font-size:12px;line-height:1.6;margin-top:12px}.mail-quick-link{max-width:100%;white-space:normal;overflow-wrap:anywhere}

/* Let the page continue scrolling after the message reader reaches its edge. */
.mail-page-detail{overscroll-behavior-y:auto}

.mail-page-row.selected{box-shadow:none}.mail-page-row-card{border-bottom:1px solid var(--line);background:#fff}.mail-page-row-card.selected{background:color-mix(in srgb,var(--plum) 7%,#fff)}.mail-page-row-card .mail-page-row{background:transparent;border-bottom:0;padding-bottom:12px}.mail-page-row-card .mail-page-row:hover{background:#faf8fa}.mail-row-context{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:0 22px 18px}.mail-object-tag{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:4px 8px;border-radius:6px;background:color-mix(in srgb,var(--plum) 9%,#fff);color:var(--plum);font-size:11px;line-height:1.5;overflow-wrap:anywhere}.mail-object-tag.is-unlinked{background:transparent;color:var(--muted);padding-left:0}.mail-row-link-button{color:var(--plum);font-size:11px;line-height:1.5;text-align:left;max-width:100%;overflow-wrap:anywhere;padding:4px 0}.mail-row-link-button:hover{text-decoration:underline}.mail-page-row-card.selected .mail-page-row:hover{background:transparent}@media(max-width:1000px){.mail-row-context{padding:0 16px 16px}}

/* Compact search and MAINE belong together in the workspace bar. */
.topbar .search-trigger{flex:0 0 auto;width:auto;min-width:0;max-width:none;margin-left:auto;padding:9px 12px;gap:9px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:13px;min-height:40px;color:var(--ink)}.topbar .search-trigger span,.topbar .search-trigger kbd{display:inline!important}.topbar .search-trigger kbd{font:12px 'DM Sans',Arial;color:var(--muted);padding:0;border:0;margin-left:7px}.topbar .search-trigger svg{width:16px;height:16px}
.maine-topbar-button{display:inline-flex;align-items:center;gap:8px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:7px 11px;min-height:40px;white-space:nowrap;font:13px 'DM Sans',Arial;flex-shrink:0}.maine-topbar-button img{width:25px;height:25px;object-fit:contain}.maine-topbar-button b{font-family:Manifold,'DM Sans',Arial;font-size:12px}.maine-topbar-button:hover{border-color:var(--plum);color:var(--plum)}.mobile-outer-header>.maine-topbar-button{margin-left:auto;min-height:38px;width:38px;padding:5px;justify-content:center}.mobile-outer-header>.maine-topbar-button span{display:none}
@media(min-width:901px) and (max-width:1150px){.topbar .maine-topbar-button span{font-size:12px}.topbar .search-trigger{padding:8px 10px}.topbar .demo-label{font-size:12px;padding:8px 10px}.topbar{gap:10px}}
@media(max-width:900px){.mobile-outer-header{gap:8px}.mobile-portal-identity{flex:0 0 auto;min-width:0}.mobile-portal-brand span{font-size:21px}.mobile-outer-header>.maine-topbar-button{margin-left:auto}}

/* Keep the workspace actions in a stable order as account badges load. */
.topbar>.crumb{order:0}.topbar>.demo-label{order:1;margin-left:auto}.topbar>.search-trigger{order:2;margin-left:0}.topbar>.credit-balance{order:3}.topbar>.maine-topbar-button{order:4}
.maine-topbar-button{background:#211e22;color:#fff;border-color:#211e22}.maine-topbar-button:hover{background:#332b35;color:#fff;border-color:#332b35}
@media(max-width:900px){.mobile-outer-header>.mobile-portal-identity{order:0}.mobile-outer-header>.mobile-credit-balance{order:1}.mobile-outer-header>.maine-topbar-button{order:2;margin-left:0}.mobile-outer-header>.portal-menu-toggle{order:3;margin-left:0}}
/* MAINE visual preview: a quiet, independent panel under the workspace header. */
:root{--maine-preview-width:clamp(340px,29vw,420px)}
.maine-preview-panel{position:fixed;top:var(--maine-preview-top,78px);right:16px;bottom:8px;width:var(--maine-preview-width);z-index:30;display:flex;flex-direction:column;background:#fff;color:var(--ink);border-left:1px solid var(--line);padding:24px 24px 18px;transform:translateX(calc(100% + 24px));opacity:0;visibility:hidden;transition:transform .35s cubic-bezier(.22,1,.36,1),opacity .2s,visibility 0s .35s;font-family:'DM Sans',Arial}
.maine-preview-panel.is-open{transform:none;opacity:1;visibility:visible;transition:transform .35s cubic-bezier(.22,1,.36,1),opacity .2s}
.maine-preview-panel>header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px}.maine-preview-panel h2{font:900 27px/1.2 Manifold,Arial;margin:0}.maine-preview-panel h2 span{color:var(--plum)}.maine-preview-panel header p{font-size:12px;color:var(--muted);margin:7px 0 0}.maine-preview-panel header button{display:grid;place-items:center;width:36px;height:36px;border:0;background:transparent;color:var(--muted);border-radius:10px}.maine-preview-panel svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.maine-preview-context{flex-shrink:0;display:flex;flex-direction:column;gap:4px;margin-top:18px;padding:12px 14px;background:#f7f4f7;border:1px solid #eee7ed;border-radius:12px}.maine-preview-context>span,.maine-preview-context>small{font-size:11px;color:var(--muted)}.maine-preview-context>strong{font-size:14px;overflow-wrap:anywhere}
.maine-preview-scroll{flex:1;min-height:0;overflow-y:auto;padding:20px 0 12px}.maine-preview-welcome{text-align:center}.maine-preview-art{margin:2px auto 16px;width:112px;max-width:50%;aspect-ratio:1}.maine-preview-art img{width:100%;height:100%;object-fit:contain;display:block}.maine-preview-pill{display:inline-block;border-radius:20px;background:#f4eef3;color:var(--plum);font-size:11px;padding:7px 11px}.maine-preview-welcome h3{font:900 22px/1.25 Manifold,Arial;margin:0 0 10px}.maine-preview-welcome p{font-size:13px;color:var(--muted);line-height:1.65;margin:0 0 22px}.maine-preview-starters{display:grid;gap:9px}.maine-preview-starters button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px;font:12px 'DM Sans',Arial;color:var(--ink)}.maine-preview-starters svg{color:var(--plum);flex-shrink:0}.maine-preview-starters button:hover{background:#f9f5f8}
.maine-preview-panel>footer{flex-shrink:0;padding-top:12px}.maine-preview-composer{border:1px solid var(--line);border-radius:15px;background:#fff;padding:13px}.maine-preview-composer:focus-within{border-color:var(--plum)}.maine-preview-composer textarea{display:block;width:100%;resize:none;border:0;box-shadow:none;background:none;margin:0;padding:0;min-height:44px;max-height:none;overflow-y:hidden;font:14px/1.65 'DM Sans',Arial;color:var(--ink)}.maine-preview-composer textarea:focus{outline:0;box-shadow:none}.maine-preview-composer>div{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}.maine-preview-composer small{font-size:10px;color:var(--muted)}.maine-preview-composer button{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:9px;background:var(--ink);color:#fff;opacity:.35;cursor:default}.maine-preview-composer button svg{transform:rotate(-90deg)}.maine-preview-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.maine-preview-panel button:focus-visible{outline:2px solid var(--plum);outline-offset:3px}
@media(min-width:1101px){.content>main,.content>.footer-note{margin-left:0;margin-right:0;transition:width .35s cubic-bezier(.22,1,.36,1)}}
@media(max-width:900px){.maine-preview-panel{right:0;bottom:0;width:min(100vw,420px);padding:20px 20px calc(16px + env(safe-area-inset-bottom));z-index:40}.maine-preview-composer textarea{font-size:16px}}
@media(max-height:760px){.maine-preview-art{width:88px}.maine-preview-welcome h3{font-size:20px;margin-top:0}.maine-preview-context{margin-top:14px;padding:12px 0}}
@media(prefers-reduced-motion:reduce){.maine-preview-panel,.content>main,.content>.footer-note{transition:none!important}}
@media(min-width:1101px){.maine-preview-open .content>main{width:calc(100% - var(--maine-preview-width));min-width:0}.maine-preview-open .content>.footer-note{width:calc(100% - var(--maine-preview-width));min-width:0}}
.maine-header-actions{display:flex;gap:2px}.maine-preview-panel .maine-header-actions button{width:30px;height:32px}.maine-history{position:absolute;top:80px;left:24px;right:24px;z-index:2;max-height:50vh;overflow:auto;padding:14px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 30px #211e2210}.maine-history[hidden]{display:none}.maine-history>small{display:block;color:var(--muted);font-size:11px;margin-bottom:8px}.maine-history button{display:block;width:100%;background:none;border:0;border-bottom:1px solid var(--line);padding:12px 0;text-align:left;font:12px 'DM Sans',Arial;color:var(--ink)}.maine-error{padding:10px 12px;margin-top:8px;border:1px solid #e7b6a5;border-radius:10px;background:#fff8f4;font-size:12px;line-height:1.6}.maine-error[hidden]{display:none}.maine-file{display:grid;grid-template-columns:1fr 24px;gap:6px;padding:10px 0;font-size:11px;overflow-wrap:anywhere}.maine-file[hidden]{display:none}.maine-file select{grid-column:1;font-size:11px;padding:6px;min-width:0}.maine-file button{grid-column:2;grid-row:1;border:0;background:none;color:var(--muted)}.maine-preview-composer .maine-attach{opacity:1;background:transparent;color:var(--muted);width:28px}.maine-preview-composer .maine-attach svg{transform:none}.maine-question{margin:8px 0 16px 22px;padding:13px;border:1px solid var(--line);border-radius:14px 14px 3px 14px;background:#f6f0f5;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.maine-reply-heading{display:flex;align-items:center;gap:8px;font-size:12px}.maine-reply-heading img{width:26px;height:26px;object-fit:contain}.maine-answer{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.75;margin:12px 0}.maine-progress{font-size:11px;color:var(--muted);border:1px solid var(--line);padding:9px 12px;border-radius:10px;margin:10px 0}.maine-progress summary{cursor:pointer}.maine-progress ol{padding-left:16px;line-height:1.9}.maine-credit-receipt{display:inline-block;font-size:10px;padding:5px 8px;border-radius:20px;background:#edf5f0;color:#437655;margin:12px 0 8px}.maine-exchange{padding-bottom:22px;margin-bottom:14px;border-bottom:1px solid var(--line)}.maine-proposal{padding:13px;border:1px solid var(--line);border-radius:12px;margin-top:12px;background:#fff}.maine-proposal h4{font-size:13px;margin:0 0 12px}.maine-proposal p{font-size:12px;line-height:1.6}.maine-proposal small,.maine-sources small{display:block;font-size:11px;line-height:1.7;overflow-wrap:anywhere}.maine-proposal>strong{display:block;margin:12px 0;font-size:13px}.maine-proposal>.btn{margin-top:14px;white-space:normal;width:100%;font-size:11px;padding:12px}.maine-proposal details{margin-top:10px;font-size:12px}.maine-import-rows{max-height:260px;overflow:auto}.maine-import-row{display:flex;align-items:flex-start;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.maine-import-row input{width:15px;height:15px;margin:3px 0 0;flex-shrink:0}.maine-import-row>b,.maine-import-row span>b{font-size:12px}.maine-import-row span{min-width:0}.maine-import-row q{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:7px}.maine-warning{color:#965d39}.maine-sources{font-size:11px;color:var(--muted);margin-top:12px}.maine-preview-panel>footer .maine-preview-composer>div>small{font-size:10px}.maine-preview-scroll{overscroll-behavior-y:contain}
.setup-start-actions>.setup-guide-step{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:22px;min-height:175px;background:#fff;border:1px solid var(--line);border-radius:14px}.setup-step-check{display:flex;align-items:flex-start;gap:12px;margin:0;cursor:pointer}.setup-step-check input{width:21px;height:21px;min-width:21px;margin:2px 0 0;accent-color:#704964}.setup-step-check strong{font:900 15px/1.6 Manifold,'DM Sans',sans-serif;letter-spacing:-.015em}.setup-guide-progress{display:block;margin-top:10px;color:var(--muted);font-size:12px}.setup-step-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:auto}.setup-step-actions .btn{font-size:12px;padding:8px 12px;min-height:36px}.setup-guide-step.setup-guide-colors .setup-guide-color-options{margin-top:auto}.relation-csv-import{width:min(920px,calc(100vw - 32px))}.relation-csv-import .modal-body{max-height:65dvh;overflow-y:auto;padding:24px}.relation-import-source{display:grid;grid-template-columns:1fr 1fr;gap:20px}.relation-import-source label{display:flex;flex-direction:column;gap:8px}.relation-import-mapping{margin-bottom:18px}.relation-import-mapping td:last-child{max-width:230px;overflow-wrap:anywhere}.relation-import-preview{margin-top:28px}.relation-import-rows{max-height:330px;overflow:auto;border:1px solid var(--line);border-radius:12px}.relation-import-row{display:flex;gap:12px;padding:14px;margin:0;border-bottom:1px solid var(--line)}.relation-import-row:last-child{border-bottom:0}.relation-import-row input,.relation-csv-import .check-row input{accent-color:#704964;width:18px;height:18px;min-width:18px}.relation-import-row>span{min-width:0;flex:1}.relation-import-row strong,.relation-import-row small,.relation-import-row details span{display:block;overflow-wrap:anywhere}.relation-import-row small{color:var(--muted);margin-top:4px}.relation-import-row details{margin-top:8px;font-size:12px}.relation-import-error{color:#9b3d3d}.relation-csv-import .modal-foot{gap:12px}@media(max-width:700px){.relation-import-source{grid-template-columns:1fr}.relation-csv-import .modal-body{padding:18px}.relation-csv-import .modal-foot{flex-wrap:wrap}.relation-csv-import .modal-head h2{font-size:22px}.setup-start-actions>.setup-guide-step{min-height:160px}}
.relation-file-label{display:flex;flex-direction:column;gap:8px}.relation-file-label .btn{text-align:left;justify-content:flex-start}.relation-csv-import .modal-head h2{font-family:Manifold,'DM Sans',sans-serif;line-height:1.5}.relation-column-options{margin-top:18px}.relation-column-options>summary{font-weight:700;cursor:pointer;margin-bottom:14px}.relation-import-mapping select{min-width:155px}.relation-import-row details span{margin-top:4px}

/* One quiet scroll rail inside the rounded workspace, with MAINE aligned to it. */
@media(min-width:901px){html,body{overflow:hidden}.content{scrollbar-gutter:stable}.maine-preview-panel{right:var(--maine-preview-right,16px);border-bottom-right-radius:22px}}
.content,.maine-preview-scroll{scrollbar-width:thin;scrollbar-color:#c4b7c2 transparent}.content::-webkit-scrollbar,.maine-preview-scroll::-webkit-scrollbar{width:8px}.content::-webkit-scrollbar-track,.maine-preview-scroll::-webkit-scrollbar-track{background:transparent}.content::-webkit-scrollbar-thumb,.maine-preview-scroll::-webkit-scrollbar-thumb{background:#c4b7c2;border:2px solid transparent;background-clip:padding-box;border-radius:20px}.content::-webkit-scrollbar-thumb:hover,.maine-preview-scroll::-webkit-scrollbar-thumb:hover{background-color:#9c8597}

.setup-workflow{padding:24px!important}.setup-workflow h4{margin:0 0 18px}.setup-workflow-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.setup-workflow-choice{display:flex;align-items:center;gap:16px;justify-content:space-between;min-width:0;padding:20px;text-align:left;border:1px solid var(--line);border-radius:14px;background:#fff}.setup-workflow-choice strong{display:block;font-size:15px}.setup-workflow-choice small{display:block;margin-top:7px;font-size:12px;color:var(--muted);line-height:1.6}.setup-workflow-choice.selected{border-color:var(--plum);box-shadow:0 0 0 1px var(--plum)}.setup-workflow-check{display:grid;place-items:center;flex:0 0 22px;height:22px;border:1px solid var(--line);border-radius:50%;font-size:13px}.selected .setup-workflow-check{background:var(--plum);border-color:var(--plum);color:#fff}@media(max-width:600px){.setup-workflow{padding:18px!important}.setup-workflow-choices{grid-template-columns:1fr}.setup-workflow-choice{padding:16px}}

/* Clip the scroll rail to the white rounded frame and continue the header across it. */
@media(min-width:901px){.content{clip-path:inset(0 round 30px);overflow-x:hidden;scrollbar-width:auto;scrollbar-color:auto}.content::-webkit-scrollbar{width:8px}.content::-webkit-scrollbar-track{margin-top:70px;margin-bottom:24px}}

.setup-wizard .modal-body{overflow-anchor:none}

/* The native scroll gutter clips header pseudos: bridge it outside the scroller. */
.workspace-header-edge{display:none;position:fixed;top:calc(var(--workspace-header-top,8px) + 30px);right:var(--workspace-edge-right,8px);width:var(--workspace-edge-rail,8px);height:calc(var(--workspace-header-height,70px) - 30px);background:#fff;border-bottom:1px solid var(--line);z-index:31;pointer-events:none}@media(min-width:901px){.workspace-header-edge{display:block}}

/* Google connection state is visible at the entry point, per mailbox or calendar. */
.google-toolbar-provider{min-height:44px}.google-toolbar-copy{display:flex;align-items:center;gap:12px}.google-toolbar-copy strong{font-size:15px;line-height:1.3}.google-toolbar-provider:has(.is-connected){padding:11px 14px;gap:10px}.google-toolbar-provider:has(.is-connected)>img{width:22px;height:22px}.google-toolbar-provider .google-status{font-weight:500;font-size:12px;border-radius:8px;padding:6px 9px}

/* Keep the desktop header outside the scrolling workspace, including elastic edges. */
@media(min-width:901px){html,body{overscroll-behavior:none}.content{padding-top:70px;overscroll-behavior:none}.shell>.topbar{position:fixed;top:var(--workspace-fixed-header-top,8px);left:var(--workspace-header-left,228px);width:var(--workspace-header-width,calc(100vw - 244px));z-index:32;border-radius:30px 30px 0 0;overflow:hidden;transform:none;transition:none;overscroll-behavior:none}}
@media print{.shell>.topbar{display:none!important}.content{padding-top:0}}

/* Credits: calm balance, compact controls and readable ledger rows. */
#modal:has(.credits-overview){max-width:780px!important}#modal:has(.credits-overview) .modal-body{padding:24px 28px}#modal:has(.credits-overview) .modal-foot{display:none}.credits-overview .credit-summary{padding:26px;margin:0 0 24px;background:#fff}.credits-overview .credit-summary h3{font:900 32px/1.3 Manifold,'DM Sans',sans-serif;letter-spacing:-.025em}.credit-origin{display:block;margin-top:10px;font-size:12px;color:var(--muted)}.credit-usage{padding-left:24px;border-left:1px solid var(--line);flex:0 0 auto}.credit-usage strong{font-size:24px;line-height:1.2}.credit-usage span{font-size:12px;color:var(--muted)}.credits-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.credits-intro h3{font:700 16px/1.4 'DM Sans',Arial;margin:0 0 7px}.credits-intro p{font-size:13px;line-height:1.7;color:var(--muted);margin:0;max-width:390px}.credit-ai-status{display:flex;align-items:center;gap:6px;flex-shrink:0;font-size:11px;color:var(--muted);padding:6px 9px;border:1px solid var(--line);border-radius:8px}.credit-ai-status i{width:5px;height:5px;background:#aaa0ab;border-radius:50%}.credit-ai-status.is-ready{color:#3f7450;background:#edf6ef;border-color:#edf6ef}.credit-ai-status.is-ready i{background:#3f7450}.credits-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:20px 0 26px}.credits-actions .btn{font:600 13px 'DM Sans',Arial;min-height:42px;padding:10px 15px}.credits-actions small{font-size:11px;color:var(--muted);margin-left:auto}.credit-history{border-top:1px solid var(--line);padding-top:22px}.credit-history>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.credit-history h3{font:700 14px 'DM Sans',Arial;margin:0}.credit-history>header>span{font-size:11px;color:var(--muted)}.credit-history-row{display:flex;align-items:center;gap:13px;padding:15px 0;border-bottom:1px solid var(--line)}.credit-history-icon{display:grid;place-items:center;width:32px;height:32px;background:#f5f0f4;color:var(--plum);border-radius:10px;font-size:18px;flex-shrink:0}.credit-history-row>div{min-width:0}.credit-history-row strong{display:block;font:500 13px/1.5 'DM Sans',Arial;overflow-wrap:anywhere}.credit-history-row time{display:block;font-size:11px;color:var(--muted);margin-top:3px}.credit-history-row>b{margin-left:auto;font:600 14px 'DM Sans',Arial}.credit-history-row>b.is-added{color:#3f7450}.credit-history-empty{font-size:13px;color:var(--muted)}.credits-explanation{margin-top:22px;font-size:12px;color:var(--muted)}.credits-explanation summary{cursor:pointer;list-style-position:inside}.credits-explanation p{font-size:12px;line-height:1.8;margin:12px 0}#modal:has(.credits-overview) .modal-head h2{font:700 23px 'DM Sans',Arial}@media(max-width:600px){#modal:has(.credits-overview) .modal-body{padding:20px}.credits-overview .credit-summary{padding:20px;gap:20px}.credits-overview .credit-summary h3{font-size:28px}.credit-usage{padding-left:0;border-left:0;width:100%;flex-direction:row!important;align-items:baseline;gap:9px!important}.credit-usage strong{font-size:18px}.credits-intro{flex-direction:column;gap:12px}.credits-actions small{margin-left:0;width:100%}}

.maine-preview-composer small a{color:var(--plum);text-decoration:none}.maine-preview-composer small a:hover{text-decoration:underline}.maine-preview-panel .maine-preview-starters button{padding:14px;line-height:1.5;background:#fcfafc}.maine-preview-panel .maine-preview-starters button:hover{background:#f4eef3;border-color:#c4b7c2}

/* Actual agent progress stays inline, never in a card. */
.maine-progress{border:0;background:none;padding:0;margin:12px 0 16px;border-radius:0;font-size:12px}.maine-progress summary{display:flex;align-items:center;gap:9px;list-style:none;color:var(--muted);min-height:30px}.maine-progress summary::-webkit-details-marker{display:none}.maine-progress summary>img{width:24px;height:24px;object-fit:contain;flex-shrink:0}.maine-progress summary>.maine-progress-label{flex:1}.maine-progress.is-working summary>img{animation:maine-clay-think 1.8s ease-in-out infinite}.maine-progress ol{list-style:none;margin:10px 0 0;padding:0 0 0 9px;border-left:1px solid var(--line)}.maine-progress li{display:flex;align-items:center;gap:9px;padding:7px 0 7px 11px;line-height:1.45}.maine-progress li>span:nth-child(2){flex:1}.maine-step-art{display:grid;place-items:center;width:22px;flex-shrink:0}.maine-step-art img{width:20px;height:20px;object-fit:contain}.maine-progress .is-current{color:var(--ink)}.maine-progress .is-current img{animation:maine-clay-think 1.8s ease-in-out infinite}.maine-step-check{color:#437655;font-size:11px}.maine-step-chevron{font-size:16px;transition:transform .2s}.maine-progress[open] .maine-step-chevron{transform:rotate(180deg)}.maine-working-dots{display:flex;gap:3px}.maine-working-dots b{width:3px;height:3px;border-radius:50%;background:var(--plum);animation:maine-dot 1.3s ease-in-out infinite}.maine-working-dots b:nth-child(2){animation-delay:.15s}.maine-working-dots b:nth-child(3){animation-delay:.3s}
.maine-answer{white-space:normal;font-size:13px;line-height:1.75;margin:12px 0 0}.maine-answer p{margin:0 0 14px}.maine-answer strong{font-weight:700}.maine-answer ol,.maine-answer ul{padding-left:21px;margin:0 0 16px}.maine-answer li{padding-left:3px;margin:0 0 10px}.maine-answer h4{font-size:14px;line-height:1.5;margin:18px 0 10px}.maine-answer code{font:12px/1.6 ui-monospace,monospace;background:#f4eef3;padding:2px 4px;border-radius:4px;overflow-wrap:anywhere}.maine-answer pre{white-space:pre-wrap;background:#f7f4f7;border-radius:10px;padding:12px}.maine-answer pre code{background:none;padding:0}.maine-exchange{border-bottom:0;padding-bottom:10px;margin-bottom:22px}.maine-question{margin:0 0 20px 16px;padding:12px 14px;background:#f4eef3;border:0;border-radius:15px 15px 4px 15px}.maine-preview-composer{padding:14px 14px 12px}.maine-preview-composer textarea{line-height:1.55;scrollbar-width:thin;scrollbar-color:#c4b7c2 transparent}.maine-preview-composer>div{margin-top:12px}.maine-preview-composer small{line-height:1.4}
@keyframes maine-clay-think{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-3px) rotate(7deg)}}@keyframes maine-dot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.maine-progress *{animation:none!important;transition:none!important}}

.maine-preview-scroll{margin-top:14px;padding-top:4px;mask-image:linear-gradient(to bottom,transparent,#000 10px,#000 calc(100% - 10px),transparent)}

.maine-step-finished{display:grid;place-items:center;flex:none;width:24px;height:24px;color:#437655;font-size:16px;line-height:1}.maine-progress .is-final{padding-top:4px;padding-bottom:4px}

.maine-step-finished img{width:24px;height:24px;object-fit:contain}

.maine-header-context{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.maine-header-context>span{font-size:11px;color:var(--muted)}.maine-header-context>strong{font:700 19px/1.4 'DM Sans',Arial;overflow-wrap:anywhere}.maine-header-context>small{font-size:11px;color:var(--muted);line-height:1.5}.maine-preview-panel>header{align-items:center;padding-bottom:16px;border-bottom:1px solid var(--line)}.maine-preview-scroll{margin-top:10px}.maine-progress{font-size:11px;margin:8px 0 14px}.maine-progress ol{margin-top:7px}.maine-progress li{padding-top:5px;padding-bottom:5px}.maine-progress .maine-step-art img{width:18px;height:18px}.maine-step-finished,.maine-step-finished img{width:22px;height:22px}.maine-history{top:98px}

.maine-answer-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-top:14px;padding-top:10px;border-top:1px solid var(--line);color:var(--muted)}.maine-answer-meta .maine-sources{margin:0;flex:1;min-width:0;font-size:11px}.maine-answer-meta .maine-sources summary{display:inline-flex;align-items:center;gap:6px;list-style:none;cursor:pointer}.maine-answer-meta .maine-sources summary::-webkit-details-marker{display:none}.maine-answer-meta .maine-sources summary::after{content:'⌄';font-size:14px;line-height:1;transition:transform .2s}.maine-answer-meta .maine-sources[open] summary::after{transform:rotate(180deg)}.maine-answer-meta .maine-sources small{padding-top:6px}.maine-answer-meta .maine-credit-receipt{margin:0;padding:0;border-radius:0;background:none;color:var(--muted);font-size:11px;line-height:1.7;white-space:nowrap;flex-shrink:0}.maine-history button{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}

.credit-balance{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:70px}.credit-balance .mane-credit-icon{width:17px;height:17px;flex-shrink:0;color:#638974}.credit-balance[data-credit-tone="medium"] .mane-credit-icon{color:#b08742}.credit-balance[data-credit-tone="low"] .mane-credit-icon{color:#b96d68}.maine-answer-meta .maine-credit-receipt{display:inline-flex;align-items:center;gap:5px}.maine-answer-meta .mane-credit-icon{width:15px;height:15px;flex:none;color:var(--muted)}

.maine-answer-meta{align-items:center;padding-top:3px}.maine-answer-meta:has(.maine-sources[open]){align-items:flex-start}.maine-answer-meta:has(.maine-sources[open]) .maine-credit-receipt{margin-top:10px}

/* Saved, workspace-specific guidance for MAINE. */
.maine-context-settings{max-width:900px}.maine-context-settings .panel-heading img{object-fit:contain}.maine-context-settings form{display:grid;gap:28px;margin-top:30px}.maine-context-settings label{display:grid;gap:8px}.maine-context-settings label>span{font-size:17px;font-weight:700}.maine-context-settings label>small{color:var(--muted);line-height:1.6}.maine-context-settings textarea{width:100%;min-height:130px;padding:16px;line-height:1.7;resize:vertical}.maine-context-save{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.maine-context-save small{color:var(--muted)}

.maine-new-product{padding:16px 0;border-top:1px solid var(--line);display:grid;gap:7px}.maine-product-review{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0}.maine-product-review label{font-size:12px;display:grid;gap:5px}.maine-product-review select{width:100%;padding:10px;min-width:0}.maine-quote-comparison{display:grid;gap:12px;padding:16px 0;border-top:1px solid var(--line);margin-top:16px}.maine-quote-comparison>span{display:grid;gap:5px;color:var(--muted);font-size:12px}.maine-quote-comparison strong{color:var(--ink);font-size:16px}.maine-change-lines{display:grid;gap:6px;margin:15px 0}

.maine-answer-table{max-width:100%;overflow-x:auto;margin:18px 0}.maine-answer-table table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.6}.maine-answer-table th,.maine-answer-table td{padding:10px 8px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}.maine-answer-table th{color:var(--muted);font-weight:600}.maine-answer-table tbody tr:last-child td{border-bottom:0}

.maine-context-group{display:grid;gap:18px;padding-top:26px;border-top:1px solid var(--line)}.maine-context-group>h3{margin:0;font-size:20px}.maine-context-group>p{margin:0;color:var(--muted);font-size:14px;line-height:1.7}.maine-context-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.maine-context-checks{border:0;padding:16px 0 0;margin:0;display:grid;gap:14px}.maine-context-checks legend{font-weight:700;font-size:16px;margin-bottom:18px}.maine-context-checks>label:not(.maine-own-checks){display:flex;align-items:start;gap:12px;font-size:14px;line-height:1.6}.maine-context-checks input{margin-top:3px;flex:0 0 auto;width:18px;height:18px;accent-color:var(--plum)}.maine-context-checks label>span{font-size:14px;font-weight:500}.maine-own-checks{margin-top:8px}.maine-context-auto{padding:18px 20px;background:#f5f1f5;border-radius:14px;font-size:13px;line-height:1.7}.maine-context-auto p{margin:8px 0 0;color:var(--muted)}@media(max-width:700px){.maine-context-grid{grid-template-columns:1fr}}

.hours-leave-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}.hours-leave-row>div:first-child{display:grid;gap:6px}.hours-leave-row small{color:var(--muted)}.hours-workspace-tabs{margin-bottom:20px}.hours-leave-row .button-row{flex-wrap:wrap}@media(max-width:700px){.hours-leave-row{align-items:flex-start;flex-direction:column}}

.maine-settings-layout>.settings-nav a{display:flex;align-items:center;gap:12px;min-height:46px;padding:13px 16px;border-radius:12px;color:var(--muted);text-decoration:none;font-size:14px}.maine-settings-layout>.settings-nav a:hover,.maine-settings-layout>.settings-nav a:focus{background:#f5eef3;color:var(--plum)}.maine-context-group,[id=maine-context-rules]{scroll-margin-top:100px}@media(max-width:900px){.maine-settings-layout>.settings-nav a{white-space:nowrap;flex-shrink:0}}

body[data-accent="sage"]{--plum:#52755e;--lilac:#e8eee9;}
body[data-accent="blue"]{--plum:#567086;--lilac:#e8edf2;}
body[data-accent="terracotta"]{--plum:#955b49;--lilac:#f2e7e2;}
body[data-accent="lavender"]{--plum:#756087;--lilac:#eee8f3;}
 .setup-guide-color-options{flex-wrap:wrap;gap:12px}.theme-options{flex-wrap:wrap}

.maine-object-change{padding:16px 0;border-bottom:1px solid var(--line)}.maine-object-change p{margin:7px 0}.maine-proposed-field{display:grid;gap:5px;padding:10px 0;border-top:1px solid var(--line)}.maine-proposed-field>span{font-size:12px;color:var(--muted)}.maine-proposed-field pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:13px;margin:0}

.maine-work-norm{border:1px solid var(--line);border-radius:16px;padding:20px;margin:0 0 18px;display:grid;gap:16px}.maine-work-norm>header{display:flex;justify-content:space-between;gap:16px}.maine-work-norm>small{color:var(--muted);font-size:12px;line-height:1.7}

/* Explicit workspace choice overrides branch defaults throughout the interface. */
body[data-accent="plum"]{--plum:#704964;--lilac:#ede4ec}body[data-accent="apricot"]{--plum:#b57f60;--lilac:#f4e8df}
body[data-accent]{--apricot:color-mix(in srgb,var(--plum) 36%,#fff);--accent-dark:color-mix(in srgb,var(--plum) 30%,#151316);--accent-soft:color-mix(in srgb,var(--plum) 7%,#fff);--accent-pale:color-mix(in srgb,var(--plum) 12%,#fff)}
body[data-accent][data-branch] .nav.active{background:var(--accent-dark);color:var(--apricot)}body[data-accent][data-branch] .nav .count,body[data-accent][data-branch] .workspace .initial{background:var(--accent-dark);color:var(--apricot)}body[data-accent][data-branch] .initial{color:var(--plum)}
body[data-accent] .settings-nav button.selected,body[data-accent] .maine-settings-layout>.settings-nav a:hover,body[data-accent] .maine-settings-layout>.settings-nav a:focus{background:var(--accent-soft);color:var(--plum)}
body[data-accent] .maine-context-auto,body[data-accent] .maine-preview-kicker,body[data-accent] .maine-preview-starters button:hover{background:var(--accent-soft)}
body[data-accent] .maine-preview-caption,body[data-accent] .mobile-menu.portal-menu-toggle{color:var(--plum)}body[data-accent] .mobile-menu.portal-menu-toggle{background:var(--lilac);border-color:color-mix(in srgb,var(--plum) 25%,#fff)}
body[data-accent] :focus-visible{outline-color:var(--plum)}body[data-accent] .sidebar :focus-visible{outline-color:var(--apricot)}
.maine-work-estimates{margin:18px 0;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.maine-work-estimates>strong{font-size:14px}.maine-work-estimates p{font-size:14px;line-height:1.6;margin:12px 0}.maine-work-estimates small{display:block;color:var(--muted);font-size:12px;line-height:1.7;margin-top:5px}
.side-bottom{position:relative}.profile{width:100%;text-align:left;cursor:pointer;border:0;background:transparent}.profile .initial img{width:100%;height:100%;object-fit:contain;padding:5px}.profile:hover{background:color-mix(in srgb,var(--plum) 14%,#131214);border-radius:12px}.account-workspace-menu{position:absolute;bottom:calc(100% - 40px);left:0;right:0;z-index:80;padding:12px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 12px 34px #17101725;color:var(--ink)}.account-workspace-menu>small{display:block;color:var(--muted);padding:7px 10px;font-size:11px}.account-workspace-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:12px 10px;text-align:left;border-radius:9px;font-size:13px}.account-workspace-menu button:hover,.account-workspace-menu button:focus{background:var(--lilac);color:var(--plum)}.account-workspace-menu svg{width:18px;height:18px}

.maine-settings-layout>.settings-nav{position:sticky;top:100px;align-self:start}@media(max-width:900px){.maine-settings-layout>.settings-nav{position:static}}

.maine-intake{display:grid;gap:18px}.maine-intake>img{object-fit:contain}.maine-intake h3{font-size:22px;line-height:1.5;margin:0}.maine-intake progress{width:100%;height:6px;accent-color:var(--plum)}.maine-intake small{color:var(--muted);line-height:1.7}.maine-intake textarea{width:100%;min-height:160px;padding:16px;line-height:1.7}.maine-intake-dialog .modal-foot{gap:12px;flex-wrap:wrap}.maine-context-settings [data-personal-memory]{font-family:ui-monospace,monospace;font-size:13px;line-height:1.7;min-height:200px}.maine-personal-memory-preview{font-size:14px;line-height:1.7;margin:15px 0;padding:15px;background:var(--lilac);border-radius:12px}.maine-context-settings .panel-heading{flex-wrap:wrap;gap:20px}

.maine-source-entry,.maine-source-intro{display:flex;align-items:center;gap:24px}.maine-source-entry{margin:24px 0 36px;padding:24px;background:var(--accent-soft,#f5f0f5);border-radius:24px}.maine-source-entry h3,.maine-source-intro h3{margin:8px 0}.maine-source-entry p{margin-bottom:0}.maine-source-entry .btn{flex-shrink:0}.maine-source-dialog{width:min(820px,94vw)}.maine-source-body{max-height:70vh;overflow:auto}.maine-source-body form{display:grid;gap:24px;margin-top:24px}.maine-source-choice{padding:20px 0;border-bottom:1px solid var(--line)}.maine-source-choice p{white-space:pre-wrap;line-height:1.6;margin:12px 0}.onboarding-evidence{font-size:14px;margin-top:10px}.onboarding-evidence summary{cursor:pointer;color:var(--muted)}.maine-source-gaps{padding:20px;border-radius:20px;background:var(--accent-soft,#f5f0f5)}.setup-maine-start{display:flex;align-items:center;gap:20px;padding:20px 0}.maine-source-intro img{flex-shrink:0}@media(max-width:700px){.maine-source-entry,.setup-maine-start{align-items:flex-start;flex-direction:column}.maine-source-intro{align-items:flex-start;gap:16px}.maine-source-intro img{width:48px;height:48px}}

.maine-source-body input[type=file]{padding:18px;border:1px dashed color-mix(in srgb,var(--plum) 40%,#fff);background:var(--accent-soft);border-radius:16px}.maine-source-body input[type=file]::file-selector-button{background:var(--plum);color:#fff;border:0;border-radius:10px;padding:12px 16px;margin-right:12px;font:inherit;cursor:pointer}.maine-source-intro h3{font-size:22px;line-height:1.4}.maine-source-body .note{font-size:13px;line-height:1.7}

.maine-source-dialog .modal-foot{display:flex;gap:12px;flex-wrap:wrap}.maine-source-dialog .modal-foot .btn{white-space:normal;text-align:center;line-height:1.5}@media(max-width:700px){.maine-source-dialog .modal-foot{flex-direction:column}.maine-source-dialog .modal-foot .btn{width:100%}.maine-source-body{max-height:calc(85vh - 200px)}}

/* Keep the inbox readable while a newer listing is on its way. */
.mail-page-refreshing{padding:12px 24px;color:var(--muted,#756b77);font-size:.85rem;border-bottom:1px solid var(--border,#e4dce4);background:var(--surface,#fff)}

/* MAINE Kennishub: readable company knowledge with a quiet source column. */
.knowledge-hub{max-width:1360px;margin:auto}.knowledge-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:12px 0 38px}.knowledge-heading h1{font-size:clamp(29px,3vw,48px);margin:12px 0 16px;letter-spacing:-1.4px}.knowledge-heading h1 span{color:var(--plum)}.knowledge-heading>img{flex-shrink:0;object-fit:contain;animation:none!important;transform:none!important}.knowledge-heading p{color:var(--muted);font-size:16px}.knowledge-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px;align-items:start}.knowledge-main{min-width:0}.knowledge-intro{font-size:15px;line-height:1.8;color:var(--muted);margin:0 0 20px}.knowledge-block{padding:28px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.knowledge-block header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.knowledge-block h2{font:600 18px 'DM Sans',sans-serif;letter-spacing:0;margin:0 0 8px}.knowledge-block header p{font-size:12px;line-height:1.65;color:var(--muted);margin:0 0 18px}.knowledge-block .icon-btn{width:32px;height:32px;flex-shrink:0;color:var(--muted)}.knowledge-block .icon-btn svg{width:16px;height:16px}.knowledge-prose{font-size:15px;line-height:1.95;white-space:pre-wrap;margin:0 0 20px;max-height:300px;overflow:auto}.knowledge-block footer{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.knowledge-block footer span{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.knowledge-block footer svg{width:13px;height:13px}.knowledge-side{position:sticky;top:105px;display:grid;gap:24px}.knowledge-side section{border:1px solid var(--line);border-radius:16px;background:var(--white);padding:22px}.knowledge-side section:first-child{background:color-mix(in srgb,var(--lilac) 20%,var(--white))}.knowledge-side h2{font:600 15px 'DM Sans',sans-serif;margin:0 0 12px}.knowledge-side p{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 16px}.knowledge-side .btn{font-size:12px;padding:13px 16px;width:100%;justify-content:center;margin-top:12px}.knowledge-side small{display:block;font-size:10px;line-height:1.8;color:var(--muted);margin-top:10px}.knowledge-source{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:transparent;border-radius:9px;padding:12px;font-size:12px;width:100%;color:var(--ink);text-align:left;margin:10px 0;overflow-wrap:anywhere}.knowledge-source>span{min-width:0}.knowledge-source svg{flex:0 0 17px;width:17px;height:17px;color:var(--plum)}.knowledge-source small{margin:3px 0 0;font-size:10px}.knowledge-source a{font-size:10px;display:block;color:var(--plum);margin-top:6px}.knowledge-source-add{width:100%;border:1px dashed var(--line);border-radius:12px;background:transparent;display:flex;flex-direction:column;align-items:center;gap:10px;padding:22px 12px;color:var(--plum);margin-top:14px}.knowledge-source-add svg{width:23px;height:23px}.knowledge-source-add span{font-size:10px;color:var(--muted);line-height:1.5}.knowledge-source-add strong{font-size:12px}.knowledge-empty,.knowledge-suggestion{display:flex;align-items:center;gap:10px;background:transparent;border:1px solid var(--line);border-radius:8px;color:var(--plum);font-size:12px;padding:13px;text-align:left}.knowledge-suggestion{width:100%;margin:8px 0;background:var(--white)}.knowledge-suggestion span{flex:1}.knowledge-empty svg,.knowledge-suggestion svg{width:16px;height:16px;flex:0 0 16px}.knowledge-checks{list-style:none;padding:0;margin:8px 0}.knowledge-checks li{display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.8;margin:12px 0}.knowledge-checks svg{flex:0 0 16px;width:16px;height:16px;color:var(--plum);margin-top:4px}.knowledge-back{margin-bottom:24px}.knowledge-document .eyebrow{display:block;margin-bottom:10px}.knowledge-privacy .text-link{font-size:12px;line-height:1.8;display:flex;gap:7px;align-items:center}.knowledge-privacy .text-link svg{width:15px;height:15px}@media(max-width:1000px){.knowledge-layout{grid-template-columns:minmax(0,1fr) 260px;gap:26px}.knowledge-side section{padding:18px}}@media(max-width:760px){.knowledge-layout{grid-template-columns:1fr;gap:25px}.knowledge-side{position:static;grid-row:1}.knowledge-side .knowledge-privacy{display:none}.knowledge-heading{margin-bottom:20px;gap:12px}.knowledge-heading>img{width:64px;height:64px}.knowledge-heading h1{font-size:28px;letter-spacing:-1px}.knowledge-side{gap:14px}.knowledge-block{padding:24px 0}}

.sidebar .nav svg.sidebar-clay-icon{width:23px;height:23px;flex:0 0 23px;opacity:.72;stroke:none;fill:none;overflow:hidden;filter:none;transition:opacity .15s ease}.sidebar .nav.active svg.sidebar-clay-icon,.sidebar .nav:hover svg.sidebar-clay-icon{opacity:.96}.sidebar-clay-color{display:none}.sidebar .nav.active .sidebar-clay-color{display:inline}.sidebar .nav.active .sidebar-clay-muted{display:none}

/* Standaardacties belong to MAINE. The conversation and composer remain the default. */
.maine-jobs{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:18px 0 24px;background:transparent}
.maine-jobs [hidden],.maine-jobs[hidden],.maine-preview-panel.has-jobs .maine-preview-scroll{display:none!important}
.maine-jobs-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.maine-jobs-back{display:inline-flex;align-items:center;gap:7px;padding:4px 0;margin:0;border:0;background:none;color:var(--muted);font:11px 'DM Sans',Arial;cursor:pointer}
.maine-jobs-back svg{width:14px;height:14px;transform:rotate(180deg)}
.maine-actions-intro{display:flex;align-items:center;justify-content:space-between;gap:12px}
.maine-actions-intro>div{min-width:0;flex:1}
.maine-actions-kicker{display:block;color:var(--plum);font-size:10px;font-weight:500;letter-spacing:.09em;text-transform:uppercase;margin-bottom:9px}
.maine-actions-intro h3{font:900 22px/1.35 Manifold,Arial;letter-spacing:-.65px;margin:0 0 10px;overflow-wrap:anywhere}
.maine-actions-intro p{font:12px/1.7 'DM Sans',Arial;color:var(--muted);margin:0}
.maine-actions-intro>img{width:40px;height:40px;object-fit:contain;flex:0 0 40px;filter:saturate(.6);opacity:.9;transform:none}
.maine-jobs-free{display:flex;align-items:center;gap:6px;color:var(--muted);font:10px/1.5 'DM Sans',Arial;margin:0}
.maine-jobs-free svg{width:13px;height:13px;color:var(--plum);flex-shrink:0}
.maine-job-scope{display:flex;align-items:center;min-width:0;max-width:63%;width:185px}
.maine-job-scope>label{font-size:11px;color:var(--muted);margin:0}
.maine-jobs select{width:100%;min-width:0;min-height:38px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:var(--white,#fff);font:11px 'DM Sans',Arial;color:var(--ink)}
.maine-job-list{margin-top:18px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:linear-gradient(135deg,color-mix(in srgb,var(--accent-soft,#f5f0f5) 40%,white),#fff 70%)}
.maine-job-list>button{display:flex;align-items:center;gap:12px;width:100%;padding:14px 13px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;color:var(--ink);cursor:pointer;transition:background .15s}
.maine-job-list>button:last-child{border-bottom:0}
.maine-job-list>button:hover{background:var(--accent-soft,#f5f0f5)}
.maine-job-icon{flex:0 0 32px;width:32px;height:36px;display:grid;place-items:center;border-radius:10px;background:none;color:var(--plum)}
.maine-job-icon svg{width:26px;height:26px;opacity:.8;stroke:none;overflow:hidden}
.maine-job-copy{flex:1;min-width:0}
.maine-job-copy strong{display:block;font:600 12px/1.5 'DM Sans',Arial}
.maine-job-copy small{display:block;margin-top:3px;font:10px/1.6 'DM Sans',Arial;color:var(--muted)}
.maine-job-arrow{display:flex;color:var(--plum);flex:0 0 14px;opacity:.6}
.maine-job-arrow svg{width:14px;height:14px}
.maine-job-result{font:13px/1.8 'DM Sans',Arial;margin:16px 0 24px}
.maine-job-result p{margin:0 0 14px}.maine-job-result li{margin:10px 0}
.maine-job-result>.btn{width:100%;display:flex;justify-content:center;gap:10px;margin-top:20px}
.maine-job-other{display:block;margin:14px auto 0;padding:5px 8px;border:0;background:none;color:var(--plum);font:11px 'DM Sans',Arial;cursor:pointer}
.maine-routines{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}
.maine-routines-heading,.maine-routines-heading>div{display:flex;align-items:center;gap:9px}
.maine-routines-heading{justify-content:space-between}
.maine-routines h4{font:600 12px/1.5 'DM Sans',Arial;margin:0}
.maine-routines-heading>div>span{font:10px/1.5 'DM Sans',Arial;color:var(--muted);padding:3px 7px;background:var(--accent-soft,#f5f0f5);border-radius:20px}
.maine-routines-heading>button,.maine-routine-report-toggle{border:0;background:transparent;color:var(--plum);font:11px/1.5 'DM Sans',Arial;padding:5px 0;cursor:pointer}
.maine-routines-intro,.maine-routines form p{font:11px/1.7 'DM Sans',Arial;color:var(--muted);margin:16px 0}
.maine-routines-empty{padding:22px 16px;text-align:center;border:1px solid var(--line);border-radius:14px;margin:16px 0 12px;background:linear-gradient(145deg,var(--accent-soft,#f5f0f5),white 85%)}
.maine-routines-empty>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;margin:0 auto 12px;background:#fff;color:var(--plum)}
.maine-routines-empty strong{display:block;font:600 12px/1.6 'DM Sans',Arial}
.maine-routines-empty p{font:11px/1.7 'DM Sans',Arial;color:var(--muted);margin:8px 0 0}
.maine-routine{padding:17px 0;border-bottom:1px solid var(--line)}
.maine-routine-heading{display:flex;align-items:flex-start;gap:8px}.maine-routine-heading>div{flex:1;min-width:0}
.maine-routine-heading strong{display:block;font:600 12px/1.6 'DM Sans',Arial}
.maine-routine-heading small{display:block;font:10px/1.7 'DM Sans',Arial;color:var(--muted);margin-top:2px}
.maine-routine-heading .text-link{font-size:10px;padding:3px 0;flex-shrink:0}
.maine-routine-dot{width:6px;height:6px;border-radius:50%;background:var(--line);flex:0 0 6px;margin-top:7px}.maine-routine-dot.is-active{background:var(--plum)}
.maine-routine-report-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin-top:10px;color:var(--muted);font-size:10px}
.maine-routine-report{font:11px/1.8 'DM Sans',Arial;padding-top:10px}
.maine-routine-add{display:flex;align-items:center;gap:7px;margin:16px 0 0;padding:5px 0;background:none;border:0;color:var(--plum);font:500 11px/1.6 'DM Sans',Arial;cursor:pointer}
.maine-routine-add svg{width:14px;height:14px}
.maine-routines form{margin-top:16px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--accent-soft,#f5f0f5)}
.maine-routines form label{display:grid;gap:7px;margin-bottom:14px;font:11px/1.5 'DM Sans',Arial;color:var(--muted)}
.maine-routines form .btn{width:100%;font-size:11px;min-height:40px;padding:10px}
.maine-preview-panel .maine-jobs-entry{display:flex;align-items:center;gap:9px;width:100%;margin-top:20px;padding:16px 2px;border:0;border-top:1px solid var(--line);background:transparent;color:var(--plum);font:500 12px/1.5 'DM Sans',Arial;text-align:left;cursor:pointer}
.maine-jobs-entry>span{flex:1}.maine-jobs-entry svg{width:15px;height:15px}
.maine-preview-panel .maine-header-actions [data-maine-jobs][aria-expanded=true]{background:var(--accent-soft,#f5f0f5);color:var(--plum)}
.maine-header-actions{flex-wrap:nowrap}
.maine-preview-panel summary{list-style:none}.maine-preview-panel summary::marker{content:''}.maine-preview-panel summary::-webkit-details-marker{display:none}
@media(max-width:380px){.maine-actions-intro h3{font-size:20px}.maine-actions-intro>img{width:40px;height:40px;flex-basis:40px}.maine-job-list>button{gap:9px;padding:15px 11px}.maine-job-icon{width:28px;flex-basis:28px}.maine-job-copy strong{font-size:12px}}

/* A warmer welcome, scoped to the empty MAINE conversation only. */
.maine-preview-welcome{padding:16px 0 12px}
.maine-preview-welcome .maine-preview-art{width:168px;max-width:60%;margin:4px auto 22px}
.maine-preview-welcome h3{font-size:24px;line-height:1.3;letter-spacing:-.65px;margin-bottom:12px}
.maine-preview-welcome>p{max-width:280px;margin:0 auto 24px;font-size:13px;line-height:1.8}
.maine-preview-welcome .maine-preview-starters{gap:12px}
.maine-preview-panel .maine-preview-welcome .maine-preview-starters button{padding:17px 15px;gap:12px;min-height:76px;border-radius:16px;border-color:var(--line);background:linear-gradient(115deg,#fff 40%,color-mix(in srgb,var(--accent-soft,#f5f0f5) 45%,#fff));font:500 12px/1.65 'DM Sans',Arial;transition:border-color .18s,background .18s}
.maine-preview-panel .maine-preview-welcome .maine-preview-starters button:hover{border-color:var(--plum);background:var(--accent-soft,#f5f0f5)}
.maine-starter-art{display:grid;place-items:center;flex:0 0 32px;width:32px;height:36px}
.maine-preview-panel svg.maine-welcome-clay{width:30px;height:30px;stroke:none;fill:none;overflow:hidden;opacity:.88;flex-shrink:0}
.maine-starter-copy{flex:1;min-width:0;overflow-wrap:anywhere}
.maine-starter-arrow{display:flex;flex:0 0 16px;align-items:center;justify-content:center}
.maine-starter-arrow svg{width:16px;height:16px;opacity:.75}
.maine-preview-panel .maine-preview-welcome .maine-jobs-entry{margin-top:18px;padding:17px 16px;gap:13px;min-height:72px;border:1px solid #322932;border-radius:16px;background:linear-gradient(115deg,#242025 30%,#3d2c3e);color:#fff;text-decoration:none;font:900 13px/1.65 Manifold,'DM Sans',Arial;transition:border-color .18s,background .18s}
.maine-preview-panel .maine-preview-welcome .maine-jobs-entry:hover{border-color:#7a5a77;background:linear-gradient(115deg,#2a242b 30%,#4b3650)}
.maine-welcome-action-art{display:grid;place-items:center;width:34px;height:36px;flex:0 0 34px!important}
.maine-preview-panel .maine-jobs-entry .maine-welcome-action-art svg{width:31px;height:31px;opacity:1}
.maine-welcome-action-arrow{display:flex;align-items:center;justify-content:center;flex:0 0 16px!important;color:#dac7dc}
.maine-jobs-entry .maine-welcome-action-arrow svg{width:16px;height:16px}
@media(max-height:800px){.maine-preview-welcome{padding-top:8px}.maine-preview-welcome .maine-preview-art{width:122px;margin:0 auto 22px}.maine-preview-welcome h3{font-size:21px}.maine-preview-welcome>p{margin-bottom:24px;font-size:12px}.maine-preview-panel .maine-preview-welcome .maine-preview-starters button{min-height:68px;padding:14px}.maine-preview-panel .maine-preview-welcome .maine-jobs-entry{min-height:68px;padding:14px;margin-top:14px}}
@media(min-height:1000px){.maine-preview-welcome{padding-top:40px}.maine-preview-welcome .maine-preview-art{width:192px;margin-bottom:34px}.maine-preview-welcome>p{margin-bottom:36px}}
@media(prefers-reduced-motion:reduce){.maine-preview-welcome button{transition:none!important}}
.maine-preview-welcome .maine-jobs-entry>span:not([class]){min-width:0;overflow-wrap:anywhere}
.maine-preview-welcome .maine-jobs-entry:focus-visible{outline-color:#b997ba}
@media(max-width:900px) and (max-height:900px){.maine-preview-welcome{padding:8px 0 12px}.maine-preview-welcome .maine-preview-art{width:136px;margin:4px auto 22px}.maine-preview-welcome h3{font-size:22px}.maine-preview-welcome>p{margin-bottom:24px}.maine-preview-welcome .maine-preview-starters{gap:10px}.maine-preview-panel .maine-preview-welcome .maine-preview-starters button{min-height:64px;padding:14px}.maine-preview-panel .maine-preview-welcome .maine-jobs-entry{min-height:68px;padding:14px;margin-top:14px}}
/* Mobile navigation stays a quiet white glyph on the dark header, in every accent. */
@media(max-width:900px){body .mobile-outer-header .mobile-menu.portal-menu-toggle,body[data-accent] .mobile-outer-header .mobile-menu.portal-menu-toggle{background:transparent;border:0;box-shadow:none;color:#fff}body .mobile-outer-header .mobile-menu.portal-menu-toggle:focus-visible{outline-color:#fff}}

/* Scoped pilot management; preserve all existing MANE screens. */
.pilot-access-content .setup-detail{padding:24px;margin-top:24px;border-radius:22px;background:#fcfafc}.pilot-access-content .setup-detail>.btn{margin-top:18px}.pilot-access-content .property{gap:18px;margin-top:18px}.pilot-access-content .property small{display:block;margin-top:7px;color:#796f7c}.pilot-access-content .billing-intro h3{margin-block:22px}.pilot-access-content .form-grid{margin-top:20px}
