/* AWH Light-first visual authority — shared by Home, Work and owner surfaces. */
:root{
  color-scheme:light!important;
  --awh-canvas:#f6f7f8!important;--awh-rail:#ffffff!important;--awh-surface:#ffffff!important;
  --awh-surface-raised:#fcfaf8!important;--awh-surface-soft:#fff1e5!important;
  --awh-line:#e2e4e8!important;--awh-line-soft:rgba(11,61,145,.09)!important;
  --awh-text:#27313b!important;--awh-muted:#626b76!important;--awh-accent:#ff7a00!important;
  --awh-accent-strong:#9c460d!important;--awh-accent-ink:#101d35!important;
  --awh-accent-soft:rgba(255,122,0,.10)!important;--awh-success:#16855b!important;
  --awh-warning:#a9690d!important;--awh-danger:#c43d3d!important;
  --canvas:#f6f7f8!important;--bg:#f6f7f8!important;--panel:#ffffff!important;--panel2:#fcfaf8!important;
  --surface:#ffffff!important;--surface-raised:#fcfaf8!important;--surface-soft:#fff1e5!important;
  --line:#e2e4e8!important;--text:#27313b!important;--muted:#626b76!important;--accent:#ff7a00!important;
  --good:#16855b!important;--warn:#a9690d!important;--danger:#c43d3d!important;--bad:#c43d3d!important;
}
html,body,.app-shell{background:#f6f7f8!important;color:#27313b!important}
body{background-image:none!important}.app-header{color:#27313b}.brand small,.quiet-status,.muted,.form-message{color:#626b76!important}
.auth-card,.sheet-card,.awh-home-hero,.awh-recent-panel,.awh-side-panel,.awh-owner-center,.awh-task-surface,.awh-files-surface,.awh-continuity{background:#fff!important;border-color:#e2e4e8!important;box-shadow:0 12px 30px rgba(42,43,46,.08)!important}
input,textarea,select,pre{background:#fff!important;color:#27313b!important;border-color:#d3d9e3!important}
input::placeholder,textarea::placeholder{color:var(--awh-text)!important;opacity:1}.secondary-button,.refresh-button,.icon-button,.settings-action,.project-choice{background:#fcfaf8!important;color:#4b525c!important;border-color:#e2e4e8!important}
.primary-button,.awh-command-send{background:#ff7a00!important;color:#101d35!important}.text-button,.awh-text-action,.action-link{color:#9c460d!important}
.eyebrow,.awh-home-kicker,.awh-section-heading span,.awh-tool-dialog-head>div>span{color:#9c460d!important}
.public-home-view:not(.kruart-work-atlas){background:#f6f7f8!important}.public-home-card,.public-home-panel{background:#fff!important;color:#27313b!important;border-color:#e2e4e8!important}
.public-home-view:not(.kruart-work-atlas) h1,.public-home-view:not(.kruart-work-atlas) h2,.public-home-view:not(.kruart-work-atlas) strong{color:#27313b!important}.public-home-view:not(.kruart-work-atlas) p,.public-home-view:not(.kruart-work-atlas) small{color:#626b76!important}
body.work-active .composer{background:#fff!important;border-color:#e2e4e8!important;box-shadow:0 -8px 28px rgba(21,35,58,.07)!important}
body.work-active .assistant-turn .task-response{background:#fff!important;border-color:#e2e4e8!important;color:#4b525c!important}
body.work-active .task-goal{background:#fff1e5!important;color:#9c460d!important;border-color:#ecd9c7!important}
body.work-active .assistant-turn::before,.empty-mark,.system-feature-icon{background:#fff1e5!important;color:#9c460d!important;border-color:#ecd9c7!important}
.task-summary,.task-response,.task-meta,.worker-summary,.workstream-title p,.empty-work{color:#626b76!important}
.state-chip{background:#fcfaf8!important;color:#475467!important;border-color:#e2e4e8!important}.state-chip.completed{background:#ecfdf3!important;color:#067647!important;border-color:#abefc6!important}.state-chip.failed{background:#fef3f2!important;color:#b42318!important;border-color:#fecdca!important}.state-chip.approval{background:#fffaeb!important;color:#b54708!important;border-color:#fedf89!important}
.awh-tool-card,.awh-pulse-card,.awh-recent-item,.awh-artifact-card,.awh-task-item,.awh-task-detail,.awh-file-item,.awh-ready-state,.awh-empty-card{background:#fff!important;color:#4b525c!important;border-color:#e2e4e8!important}
.awh-tool-card:hover,.awh-pulse-card:hover,.awh-recent-item:hover,.awh-task-item:hover{background:#fff6ed!important;border-color:#f2cfaa!important}
.awh-tool-copy strong,.awh-pulse-card strong,.awh-recent-item strong,.awh-artifact-card strong,.awh-task-detail-heading h3,.awh-file-copy strong{color:#27313b!important}
.awh-tool-copy small,.awh-pulse-card small,.awh-pulse-card em,.awh-recent-item small,.awh-recent-item time,.awh-artifact-card small,.awh-task-item small,.awh-task-item time,.awh-task-detail p,.awh-file-copy small,.awh-file-copy em{color:#626b76!important}
.awh-product-nav-item{color:#626b76!important}.awh-product-nav-item:hover,.awh-product-nav-item.is-active{background:#fff1e5!important;color:#27313b!important}
.awh-mobile-nav{background:rgba(255,255,255,.96)!important;border-color:#e2e4e8!important;box-shadow:0 12px 40px rgba(21,35,58,.12)!important}.awh-mobile-nav-item{color:#626b76!important}.awh-mobile-nav-item.is-active{background:#fff1e5!important;color:#9c460d!important}
.sheet-backdrop,.awh-tool-dialog-backdrop{background:rgba(16,24,40,.40)!important}.awh-tool-dialog-card{background:#fff!important;color:#27313b!important;border-color:#e2e4e8!important}
.system-health-card,.system-feature-card{background:#fff!important;color:#27313b!important;border-color:#e2e4e8!important}.system-feature-copy small{color:#626b76!important}
/* Specialist owner surfaces */
.studio-shell,.hosting-main,.infra-main,.review-main,.trust-main{color:#27313b!important}.studio-header,.hosting-header,.infra-header,.review-header,.trust-header{background:rgba(255,255,255,.94)!important;border-color:#e2e4e8!important;color:#27313b!important}
.gate-card,.panel-card,.browser-card,.table-sidebar,.metric-card,.status-card,.migration-item,.audit-stream,.hosting-panel,.site-card,.hosting-summary,.hosting-note,.server-card,.infra-section,.infra-note,.project-card,.entity-row,.check-item,.review-panel,.review-choice,.review-job,.trust-state{background:#fff!important;color:#27313b!important;border-color:#e2e4e8!important}
.health-banner,.schema-box,.url-preview,.site-state,.domain-explainer,.empty,.review-health,.review-revision{background:#fcfaf8!important;color:#626b76!important;border-color:#e2e4e8!important}
.table-item:hover,.table-item.active,.tab.active{background:#fff1e5!important}.data-grid th{background:#f2f4f7!important;color:#4b525c!important}.data-grid td{border-color:#eaecf0!important;color:#4b525c!important}
.hosting-form input,.hosting-form select,.review-field select,.review-field input,.review-choice select{background:#fff!important;color:#27313b!important;border-color:#d3d9e3!important}
.infra-brand,.hosting-brand,.review-brand,.trust-header strong,.back-link,.back,.links a{color:#4b525c!important}
@media(prefers-contrast:more){:root{--awh-line:#b4bcc8!important}.auth-card,.sheet-card,.awh-tool-card,.awh-pulse-card{border-width:2px!important}}

/* BAY Ecosystem Golden Theme adapter — approved LearnLab Teacher/Admin family. */
body{background:radial-gradient(circle at 6% 0,#e5f5ff 0,transparent 24rem),radial-gradient(circle at 96% 4%,#fff0df 0,transparent 22rem),#f6f7f8!important}.app-header,.studio-header,.hosting-header,.infra-header,.review-header,.trust-header{background:rgba(255,255,255,.98)!important;border-bottom:1px solid #e2e4e8!important;box-shadow:0 5px 18px rgba(20,61,117,.05)!important;backdrop-filter:none!important}.brand-mark,.infra-brand>span,.hosting-brand span,.review-brand span{color:transparent!important;background:#fff url("./bay-golden-mark.svg") center/contain no-repeat!important;border:0!important;box-shadow:none!important}.awh-product-nav,.table-sidebar{background:#fff!important;border-color:#e2e4e8!important;box-shadow:8px 0 30px rgba(20,61,117,.045)!important}.awh-product-nav-mark{color:transparent!important;background:#fff url("./bay-golden-mark.svg") center/contain no-repeat!important}.awh-product-nav-item:hover,.awh-product-nav-item.is-active,.table-item:hover,.table-item.active,.tab.active{background:#fff1e5!important;color:#9c460d!important}.public-home-card.hero,.infra-hero,.hosting-hero{position:relative;overflow:hidden;border:1px solid #f2dac6!important;border-radius:28px!important;background:linear-gradient(120deg,#d9f2ff 0,#f1faff 56%,#fff1e2 100%)!important;color:#9c460d!important;box-shadow:0 18px 46px rgba(20,61,117,.11)!important}.awh-home-hero>*{position:relative;z-index:1}.awh-home-hero h1,.infra-hero h1,.hosting-hero h1{color:#9c460d!important}.awh-home-hero p,.infra-hero p,.hosting-hero p{color:#567492!important}.primary-button,.awh-command-send,.review-choice button,.review-setup-body>button{background:linear-gradient(135deg,#ff7a00,#ff8d2d)!important;color:#101d35!important;border-color:transparent!important;box-shadow:0 8px 20px rgba(255,122,0,.18)!important}.secondary-button,.refresh-button,.icon-button,.settings-action,.project-choice,.infra-actions button,.hosting-actions a,.hosting-actions button{background:#fff!important;color:#9c460d!important;border-color:#e2e4e8!important}.gate-card,.panel-card,.browser-card,.metric-card,.status-card,.migration-item,.audit-stream,.hosting-panel,.site-card,.hosting-summary,.hosting-note,.server-card,.infra-section,.infra-note,.project-card,.entity-row,.check-item,.review-panel,.review-choice,.review-job,.trust-state{border-radius:20px!important;box-shadow:0 8px 24px rgba(42,43,46,.07)!important}.data-grid th{background:#fff1e5!important;color:#9c460d!important}.hosting-form input,.hosting-form select,.review-field select,.review-field input,.review-choice select,input,textarea,select{background:#fff!important;color:#27313b!important;border-color:#e2e4e8!important}.eyebrow,.awh-home-kicker,.review-kicker,.section-heading span{color:#984500!important}.state-chip.completed,.pill.ready,.overall-state,.safety-badge{color:#08765a!important}.awh-tool-card:hover,.awh-pulse-card:hover,.awh-recent-item:hover,.awh-task-item:hover{background:#fcfaf8!important;border-color:#b8d8f1!important}
html,body{min-height:100%;background:#f6f7f8!important}
body{background:
  radial-gradient(circle at 4% 0,rgba(255,181,105,.16),transparent 25rem),
  radial-gradient(circle at 98% 2%,rgba(255,184,111,.20),transparent 24rem),
  linear-gradient(180deg,#f8fcff 0,#fcfaf8 44%,#fcfaf8 100%)!important;
}
.app-header,.app-main{width:min(calc(100% - 36px),1240px)!important}
.app-header{
  min-height:72px!important;
  padding:8px 0!important;
  border-bottom:1px solid #e2e4e8!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 5px 18px rgba(20,61,117,.05)!important;
}
.brand{gap:11px!important}.brand-mark{width:46px!important;height:46px!important;border-radius:14px!important}
.brand strong{color:#9c460d!important;font-size:17px!important;letter-spacing:-.02em}
.brand small{margin-top:3px!important;color:#6a829c!important;font-size:10px!important}
.header-actions{gap:8px!important}.quiet-status{border-radius:999px!important;background:#eef9f5!important;border:1px solid #cde9df!important;padding:7px 10px!important;color:#16775b!important;font-weight:800!important}
.app-header{position:sticky!important;top:0!important;z-index:60!important;display:grid!important;grid-template-columns:auto minmax(360px,1fr) auto!important;align-items:center!important;gap:20px!important}
.global-nav{height:54px;display:flex;align-items:stretch;justify-content:center;gap:2px;min-width:0}
.global-nav-item{position:relative;display:flex;align-items:center;gap:7px;padding:0 12px;color:#626b76;text-decoration:none;font-size:12px;font-weight:850;white-space:nowrap;border-radius:12px 12px 0 0}
.global-nav-item img{width:24px;height:24px}.global-nav-item:hover,.global-nav-item:focus-visible{color:#9c460d;background:#f5f9ff}
.global-nav-item.is-active{color:#9c460d}.global-nav-item.is-active:after{content:"";position:absolute;left:10px;right:10px;bottom:-9px;height:3px;border-radius:999px;background:#9c460d}
.header-actions{justify-self:end}.account-button{min-width:64px!important}

/* Public front door — LearnLab family, owner/workspace density. */
.public-home-view{
  grid-template-columns:minmax(0,1.48fr) minmax(330px,.72fr)!important;
  gap:16px!important;
  align-items:stretch!important;
  min-height:auto!important;
  padding:20px 0 42px!important;
}
.public-home-copy{
  position:relative;overflow:hidden;min-height:418px;
  padding:38px 330px 34px 38px!important;
  border:1px solid #f2dac6;border-radius:30px;
  background:
    radial-gradient(circle at 74% 13%,rgba(255,224,143,.68),transparent 8rem),
    linear-gradient(125deg,#d8f2ff 0,#edf9ff 54%,#fff0dd 100%);
  box-shadow:0 20px 52px rgba(20,61,117,.12);
}
.public-home-copy:before{
  content:"";position:absolute;right:28px;bottom:-14px;width:280px;height:330px;
  background:url("./kruart-human-student-hero.webp") center bottom/contain no-repeat;
  filter:drop-shadow(0 18px 24px rgba(20,61,117,.18));pointer-events:none;
}
.public-home-copy:after{
  content:"";position:absolute;right:258px;top:42px;width:62px;height:62px;border-radius:20px;
  background:linear-gradient(145deg,#fff,#eaf7ff);box-shadow:0 10px 28px rgba(20,61,117,.10);
  transform:rotate(-8deg);opacity:.85;
}
.public-home-copy>*{position:relative;z-index:2}
.golden-hero-orbit{position:absolute!important;inset:0;z-index:1!important;pointer-events:none}
.orbit-card{position:absolute;display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:rgba(255,255,255,.94);border:1px solid rgba(205,226,242,.95);box-shadow:0 12px 30px rgba(20,61,117,.12)}
.orbit-card img{width:42px;height:42px}.orbit-work{right:260px;top:46px;transform:rotate(-8deg)}.orbit-learn{right:42px;top:70px;transform:rotate(7deg)}.orbit-school{right:274px;bottom:48px;transform:rotate(5deg)}
.public-home-copy .eyebrow{color:#ff7a00!important;font-size:10px!important;letter-spacing:.14em!important}
.public-home-copy h1{
  max-width:560px!important;margin:8px 0 14px!important;color:#9c460d!important;
  font-size:clamp(42px,5.2vw,64px)!important;line-height:1.02!important;letter-spacing:-.045em!important;
}
.public-home-copy>p:last-of-type{max-width:580px!important;color:#567492!important;font-size:15px!important;line-height:1.65!important}
.public-home-actions{margin-top:22px!important;gap:9px!important}
.public-home-actions .primary-button,.public-home-actions .secondary-button{min-height:48px!important;padding-inline:17px!important;border-radius:14px!important}
.public-home-grid{grid-template-columns:1fr 1fr!important;gap:10px!important;align-content:stretch!important}
.public-home-card{
  position:relative;overflow:hidden;min-height:196px!important;padding:18px!important;border-radius:22px!important;
  border:1px solid #e2e4e8!important;box-shadow:0 10px 28px rgba(20,61,117,.07)!important;
  background:#fff!important;
}
.public-home-card:nth-child(1){background:linear-gradient(145deg,#eef8ff,#fff 62%)!important}
.public-home-card:nth-child(2){background:linear-gradient(145deg,#fff5ea,#fff 62%)!important}
.public-home-card:nth-child(3){background:linear-gradient(145deg,#f3efff,#fff 62%)!important}
.public-home-card:nth-child(4){background:linear-gradient(145deg,#edf9f4,#fff 62%)!important}
.public-home-card:after{content:"";position:absolute;right:-24px;bottom:-28px;width:92px;height:92px;border-radius:50%;background:rgba(23,109,229,.055)}
.public-home-card>span{width:48px!important;height:48px!important;border-radius:15px!important;background:#fff!important;border:1px solid #e2edf6!important;color:#9c460d!important;box-shadow:0 6px 16px rgba(20,61,117,.07);display:grid!important;place-items:center!important}.public-home-card>span img{width:40px;height:40px}
.public-home-card strong{font-size:16px!important;color:#9c460d!important}
.public-home-card small{max-width:230px!important;font-size:10.5px!important;line-height:1.55!important}
.public-home-card:hover,.public-home-card:focus-visible{transform:translateY(-2px);border-color:#9fc8e8!important;box-shadow:0 16px 32px rgba(20,61,117,.11)!important}

/* Auth shares the same visual family. */
.sign-in-view{gap:22px!important;min-height:calc(100dvh - 92px)!important;padding-block:22px 44px!important}
.sign-in-copy{min-height:360px;padding:34px 250px 30px 34px;border:1px solid #f2dac6;border-radius:28px;background:linear-gradient(125deg,#dff4ff,#fcfaf8 58%,#fff1df);box-shadow:0 18px 48px rgba(20,61,117,.10);overflow:hidden}
.sign-in-copy:after{content:"";position:absolute;right:18px;bottom:-14px;width:220px;height:270px;background:url("./kruart-human-student-hero.webp") center bottom/contain no-repeat;filter:drop-shadow(0 14px 22px rgba(20,61,117,.16))}
.sign-in-copy>*{position:relative;z-index:2}.sign-in-copy h1{font-size:clamp(38px,5vw,58px)!important;color:#9c460d!important}
.auth-card{border-radius:24px!important;padding:24px!important;box-shadow:0 18px 48px rgba(20,61,117,.12)!important}
.auth-card>.muted,.auth-card .web-app-entry small,.sheet-card>.muted{color:var(--awh-text)!important}
.sheet-card .eyebrow{color:var(--awh-text)!important}
.golden-session-view .session-hero-copy{background-image:linear-gradient(125deg,rgba(223,244,255,.96),rgba(246,251,255,.94) 58%,rgba(255,241,223,.92)),url("./kruart-human-student-hero.webp");background-repeat:no-repeat;background-position:center,right 16px bottom -12px;background-size:auto,220px auto}.session-ready-card{align-content:center;min-height:300px}.session-ready-icon{display:grid;width:58px;height:58px;place-items:center;border-radius:18px;background:#fff1e5;border:1px solid #d9e8f5}.session-ready-icon img{width:44px;height:44px}.session-ready-card h2{color:#9c460d!important;font-size:24px!important}.session-ready-track{height:8px;border-radius:999px;background:#e8f1f8;overflow:hidden;margin-top:8px}.session-ready-track span{display:block;width:55%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#9c460d,#b64e00,#ff7a00);animation:awh-ready-track 1.1s ease-in-out infinite alternate}.session-ready-card small{color:#72849b;font-weight:700}@keyframes awh-ready-track{to{transform:translateX(70%)}}@media(prefers-reduced-motion:reduce){.session-ready-track span{animation:none;width:82%}}

/* Authenticated ecosystem home. */
.ecosystem-home-view{gap:22px!important;padding:4px 0 40px!important}
.ecosystem-home-hero{
  position:relative!important;overflow:hidden!important;display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;
  align-items:start!important;min-height:255px!important;padding:30px!important;border-radius:30px!important;
  border:1px solid #f2dac6!important;background:linear-gradient(125deg,#d9f3ff 0,#eff9ff 55%,#fff0dc 100%)!important;
  box-shadow:0 18px 48px rgba(20,61,117,.11)!important;
}
.ecosystem-home-hero:after{content:"";position:absolute;right:74px;top:12px;width:205px;height:205px;background:url("./kruart-reference-role-staff.webp") center/contain no-repeat;filter:drop-shadow(0 14px 20px rgba(20,61,117,.14));pointer-events:none}
.ecosystem-home-hero>div:first-child{position:relative;z-index:2;padding-right:30px}
.ecosystem-home-hero h1{max-width:660px!important;font-size:clamp(38px,5vw,58px)!important;color:#9c460d!important}
.ecosystem-home-hero p:last-child{max-width:650px!important;color:#567492!important}
.ecosystem-home-actions{position:relative;z-index:3;align-self:end!important;justify-content:stretch!important;flex-direction:column!important;margin-top:130px!important}
.ecosystem-search-box{min-width:0!important;width:100%!important}.ecosystem-search-box input{min-height:46px!important;border-radius:14px!important;box-shadow:0 8px 22px rgba(20,61,117,.06)!important}
.ecosystem-home-actions .secondary-button{width:100%!important;text-align:center!important}
.ecosystem-summary{gap:10px!important}
.ecosystem-summary>div{position:relative;overflow:hidden;min-height:92px;padding:16px 18px 14px 58px!important;border-radius:19px!important;box-shadow:0 8px 22px rgba(20,61,117,.05)!important}
.ecosystem-summary>div:before{content:"";position:absolute;left:16px;top:20px;width:30px;height:30px;border-radius:10px;background:#fff1e5;border:1px solid #d9e9f6}
.ecosystem-summary>div:nth-child(2):before{background:#edf9f4}.ecosystem-summary>div:nth-child(3):before{background:#fff5e8}.ecosystem-summary>div:nth-child(4):before{background:#f3efff}
.ecosystem-summary strong{font-size:26px!important;color:#9c460d!important}
.ecosystem-featured-grid{gap:12px!important}.ecosystem-project-grid{gap:12px!important}
.ecosystem-project-card{
  position:relative;overflow:hidden;min-height:238px!important;padding:17px!important;border-radius:22px!important;
  border:1px solid #e2e4e8!important;background:#fff!important;box-shadow:0 9px 26px rgba(42,43,46,.07)!important;
}
.ecosystem-project-card:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,#b64e00,#5fc8f5)}
.ecosystem-project-card[data-project-id="bay-excuse-x"]:before{background:linear-gradient(90deg,#ff7a00,#ffb05d)}
.ecosystem-project-card[data-project-id="bay-learnlab"]:before{background:linear-gradient(90deg,#b64e00,#7b61e8)}
.ecosystem-project-card[data-project-id="school-website"]:before{background:linear-gradient(90deg,#18b98b,#5fc8f5)}
.ecosystem-project-card.featured{min-height:218px!important;background:linear-gradient(160deg,#fff,#f8fcff 78%)!important}
.ecosystem-project-icon{width:48px!important;height:48px!important;border-radius:15px!important;background:#fff1e5!important;border:1px solid #e2e4e8!important;color:#9c460d!important;font-size:11px!important;letter-spacing:-.02em}
.ecosystem-project-card[data-project-id="awh"] .ecosystem-project-icon{color:transparent!important;background:#fcfaf8 url("./bay-icon-work.svg") center/38px no-repeat!important}
.ecosystem-project-card[data-project-id="bay-excuse-x"] .ecosystem-project-icon{color:transparent!important;background:#fff3e8 url("./bay-icon-school.svg") center/38px no-repeat!important}
.ecosystem-project-card[data-project-id="bay-learnlab"] .ecosystem-project-icon{color:transparent!important;background:#eef3ff url("./bay-icon-learnlab.svg") center/38px no-repeat!important}
.ecosystem-project-card[data-project-id="school-website"] .ecosystem-project-icon{color:transparent!important;background:#edf9f4 url("./bay-icon-web.svg") center/38px no-repeat!important}
.ecosystem-project-card h3{font-size:18px!important;color:#9c460d!important}
.ecosystem-project-card>p{font-size:11.5px!important;line-height:1.6!important}
.ecosystem-project-action{min-height:44px!important;border-radius:13px!important;background:linear-gradient(135deg,#ff7a00,#ff8d2d)!important;border:0!important;box-shadow:0 7px 18px rgba(255,122,0,.16)!important}
.ecosystem-project-capabilities span{background:#f3f8fc!important;color:#5f7893!important;border:1px solid #e3edf5!important}
.ecosystem-owner-tools details{border-radius:20px!important;box-shadow:0 8px 22px rgba(20,61,117,.05)!important}
.ecosystem-owner-grid a{background:#f8fcff!important;border-radius:14px!important;color:#9c460d!important}

/* Operational hierarchy: one section surface, with rows rather than nested cards. */
.awh-home-hero{padding:24px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.awh-home-hero h1{line-height:1.4!important}
.awh-recent-list,.awh-status-list{gap:0!important}
.awh-recent-item,.awh-status-item,.awh-task-item,.awh-file-item{
  border:0!important;border-bottom:1px solid var(--awh-line)!important;
  border-radius:0!important;box-shadow:none!important;min-width:0;
}
.awh-night-shift{background:var(--awh-surface)!important;border-color:var(--awh-line)!important;box-shadow:none!important}
.awh-night-stat{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
.awh-task-detail{box-shadow:none!important}
.awh-task-item.selected,.project-choice.selected{background:var(--awh-surface-soft)!important;border-inline-start:3px solid var(--k-blue)!important}
:is(.awh-task-item,.awh-file-item,.awh-recent-item,.awh-home-prompt,.awh-work-starter,.awh-mobile-nav-item,.project-choice):focus-visible{outline:2px solid var(--k-blue)!important;outline-offset:2px}
.awh-task-detail p,.awh-file-copy small,.awh-tool-copy small,.awh-recent-item small,
.awh-night-head small,.awh-night-stat span,.awh-night-next strong{color:var(--awh-text)!important;line-height:1.6!important;font-size:14px!important}
.awh-home-prompt,.awh-work-starter,.awh-command-send,.awh-secondary-action,.awh-text-action{min-height:44px!important}
.awh-command-send{background:var(--k-blue)!important;color:var(--k-surface)!important;box-shadow:none!important}
.awh-mobile-nav-item strong{font-size:12px!important;line-height:1.5!important}
@media(max-width:760px){.awh-home-hero{padding:16px 0!important}.awh-night-authority{grid-template-columns:minmax(0,1fr) auto}}

/* Workspace: theme owns color; the flex shell owns viewport and keyboard geometry. */
body.work-active:not(.product-dashboard-active) .app-header{display:none!important}
.workspace-view{max-width:1160px!important;margin:0 auto!important;padding-top:0!important}
.workspace-heading{
  position:relative;top:auto;z-index:16;margin-bottom:0!important;
  border:0;border-bottom:1px solid var(--awh-line);border-radius:0;
  background:var(--awh-surface);box-shadow:none;
}
.workspace-home{border:0!important;background:transparent!important}
.workspace-home:hover{background:var(--awh-surface-soft)!important}
.workspace-home-mark{color:transparent!important;background:#fff url("./bay-golden-mark.svg") center/contain no-repeat!important;border:0!important}
.project-trigger,.conversation-trigger{color:var(--awh-text)!important;line-height:1.5!important}
.workspace-ecosystem-link{background:var(--awh-surface-soft)!important;color:var(--awh-text)!important;border-color:var(--awh-line)!important}
.workstream{padding:0!important;border:0;border-radius:0;background:transparent;box-shadow:none}
.empty-work{min-height:0!important;padding:24px 16px!important;border:0!important;border-radius:0!important;background:transparent!important;text-align:center!important}
.empty-work h2{color:var(--awh-text)!important;font-size:22px!important;line-height:1.5!important}
.empty-work p{max-width:520px!important;font-size:14px!important;line-height:1.6!important}
.empty-mark{width:42px!important;height:42px!important;border-radius:14px!important}
/* Do not force textarea padding/min-height: that would override keyboard sizing. */
.composer{border-color:var(--awh-line)!important;background:var(--awh-surface)!important}
.composer textarea{background:transparent!important}
body.work-active .composer:focus-within{outline:2px solid var(--k-blue);outline-offset:2px}
body.work-active .composer-tools .icon-button,
body.work-active .composer-actions .primary-button,
body.work-active .composer-stop,
body.work-active .workspace-chat-action{min-width:44px!important;min-height:44px!important}
body.work-active .assistant-turn .task-response{background:transparent!important;border-radius:0!important;color:var(--awh-text)!important}
.pending-attachments{max-height:min(120px,20dvh);overflow-y:auto;overscroll-behavior:contain}
.pending-attachments button{min-width:44px;min-height:44px;flex-shrink:0}
.project-choice{box-shadow:none!important;border-radius:var(--k-r-sm)!important}
.project-choice span{overflow-wrap:anywhere;line-height:1.6}

/* Sheets, settings and owner control surfaces. */
.sheet-card{width:min(100%,860px)!important;border-radius:28px!important;padding:24px!important;box-shadow:0 28px 80px rgba(20,61,117,.18)!important}
.settings-tabs{gap:6px!important;padding-bottom:12px!important}.settings-tab{border-radius:12px!important;padding:8px 12px!important}.settings-tab.active{background:#fff1e5!important;color:#9c460d!important;border-color:#d5e6f4!important}
.settings-intro{padding:18px 0 8px!important}.settings-intro h3{color:#9c460d!important;font-size:23px!important}
.account-form,.system-health-card{border:1px solid #e0ebf4;border-radius:18px;padding:17px;background:#fbfdff}
.settings-action{border-radius:18px!important;box-shadow:0 7px 20px rgba(20,61,117,.045)!important}
.system-feature-card{border-radius:14px!important;box-shadow:none!important}
.system-feature-icon{background:#fff1e5!important;color:#9c460d!important;border-color:#d8e8f5!important}

/* Specialist pages inherit the same professional BAY family. */
.studio-shell,.hosting-main,.infra-main,.review-main,.trust-main{max-width:1240px!important;margin-inline:auto!important}
.studio-header,.hosting-header,.infra-header,.review-header,.trust-header{min-height:70px!important}
.gate-card,.panel-card,.browser-card,.metric-card,.status-card,.migration-item,.audit-stream,.hosting-panel,.site-card,.hosting-summary,.hosting-note,.server-card,.infra-section,.infra-note,.project-card,.entity-row,.check-item,.review-panel,.review-choice,.review-job,.trust-state{
  border-radius:20px!important;box-shadow:0 8px 24px rgba(42,43,46,.07)!important
}
.infra-hero,.hosting-hero{min-height:210px!important;padding:28px 250px 28px 28px!important}
.infra-hero:after,.hosting-hero:after{content:"";position:absolute;right:24px;bottom:-18px;width:210px;height:220px;background:url("./kruart-reference-role-staff.webp") center bottom/contain no-repeat;filter:drop-shadow(0 12px 18px rgba(20,61,117,.12))}

/* Old Windows + mobile first responsiveness. */
@media(max-width:980px){
  .app-header,.app-main{width:min(calc(100% - 24px),1240px)!important}
  .app-header{grid-template-columns:auto 1fr!important;gap:8px 12px!important;padding-bottom:0!important}.global-nav{grid-column:1/-1;order:3;height:44px;justify-content:flex-start;overflow-x:auto;scrollbar-width:none}.global-nav::-webkit-scrollbar{display:none}.global-nav-item{padding:0 10px}.global-nav-item.is-active:after{bottom:0}.header-actions{position:absolute;right:12px;top:10px}
  .public-home-view{grid-template-columns:1fr!important}.public-home-copy{min-height:360px;padding-right:270px!important}
  .public-home-copy:before{width:230px;height:280px}.public-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ecosystem-home-hero{grid-template-columns:1fr!important;padding-right:250px!important}
  .ecosystem-home-actions{margin-top:12px!important;max-width:320px!important}.ecosystem-home-hero:after{right:20px;top:28px;width:190px;height:190px}
  .ecosystem-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
  .app-header,.app-main{width:calc(100% - 16px)!important}.app-header{min-height:62px!important}.brand small{display:none}.brand strong{font-size:15px!important}.brand-mark{width:40px!important;height:40px!important}.global-nav-item span{font-size:10px}.global-nav-item img{width:22px;height:22px}.quiet-status{display:none}.header-actions{top:8px}.account-button{min-width:54px!important}
  .orbit-card{width:46px;height:46px;border-radius:14px}.orbit-card img{width:34px;height:34px}.orbit-work{right:170px;top:210px}.orbit-learn{right:20px;top:190px}.orbit-school{right:150px;bottom:38px}
  .public-home-view{padding-top:10px!important}.public-home-copy{min-height:420px;padding:24px 20px 178px!important}
  .public-home-copy:before{right:12px;bottom:-20px;width:190px;height:210px}.public-home-copy:after{display:none}
  .public-home-copy h1{font-size:38px!important}.public-home-grid{grid-template-columns:1fr!important}.public-home-card{min-height:132px!important}
  .sign-in-view{grid-template-columns:1fr!important}.sign-in-copy{min-height:340px;padding:24px 20px 170px!important}.sign-in-copy:after{width:170px;height:190px}
  .ecosystem-home-hero{min-height:410px!important;padding:23px 18px 175px!important;display:block!important}.ecosystem-home-hero:after{right:6px;top:auto;bottom:-6px;width:180px;height:185px}
  .ecosystem-home-actions{margin-top:18px!important;max-width:none!important}.ecosystem-summary{grid-template-columns:repeat(2,1fr)!important}
  .ecosystem-featured-grid,.ecosystem-project-grid{grid-template-columns:1fr!important}.ecosystem-project-card{min-height:210px!important}
  .workspace-view{padding-top:0!important}.workspace-heading{position:relative;top:auto!important;grid-template-columns:auto minmax(0,1fr) auto!important}.workspace-actions{grid-column:auto!important;justify-content:flex-end!important}
  .empty-work{padding:16px 8px!important}.empty-work h2{font-size:20px!important}
  .composer{border-radius:18px!important}.sheet-card{border-radius:22px!important;padding:18px!important}
  .infra-hero,.hosting-hero{padding:22px 18px 150px!important}.infra-hero:after,.hosting-hero:after{width:150px;height:160px;right:8px}
}
@media(prefers-reduced-motion:reduce){
  .public-home-card:hover,.ecosystem-project-card:hover,.system-feature-card:hover{transform:none!important}
}

/* KRUART Unified Gateway — exact LearnLab Golden v2 visual authority. */
:root{--kruart-navy:#9c460d;--kruart-blue:#b64e00;--kruart-orange:#ff7a00;--kruart-ink:#12345f;--kruart-muted:#667d98;--kruart-line:#d9e7f5;--kruart-bg:#f6f7f8;--kruart-card:#fff;--kruart-radius:20px;--kruart-shadow:0 8px 24px rgba(42,43,46,.09)}
body{font-family:var(--awh-font-sans)!important;background:#f6f7f8!important;color:var(--kruart-ink)!important}
.app-header,.app-main{width:min(calc(100% - 48px),1540px)!important}.kruart-header{min-height:76px!important;padding:7px 0!important;grid-template-columns:auto minmax(520px,1fr) auto!important;gap:22px!important;background:#fff!important;border-bottom:1px solid #e2e4e8!important;box-shadow:0 3px 14px rgba(20,61,117,.04)!important}
.kruart-brand{display:flex!important;align-items:center!important;gap:10px!important;min-width:360px!important;text-decoration:none!important;color:var(--kruart-navy)!important}.kruart-brand-icon{width:54px;height:54px;object-fit:contain;flex:0 0 auto}.kruart-wordmark{position:relative;display:grid;line-height:1!important}.kruart-wordmark>b{font-size:29px;letter-spacing:-.045em;color:var(--kruart-navy)}.kruart-wordmark>em{position:absolute;margin-left:62px;font-size:29px;font-style:normal;font-weight:950;letter-spacing:-.045em;color:var(--kruart-orange)}.kruart-wordmark>small{margin-top:5px;font-size:10px;font-weight:850;color:#626b76!important;white-space:nowrap}.kruart-brand-divider{width:1px;height:42px;margin-left:3px;background:#e2e4e8}.kruart-awh-lockup{display:grid;line-height:1.1}.kruart-awh-lockup strong{font-size:14px!important;font-weight:900!important;color:var(--kruart-navy)!important;white-space:nowrap}.kruart-awh-lockup small{margin-top:4px!important;font-size:8.5px!important;color:#6a6f77!important;white-space:nowrap}.kruart-header .global-nav{height:61px;gap:2px}.kruart-header .global-nav-item{padding-inline:11px;font-size:12px!important;color:#183d70!important}.kruart-header .global-nav-item img{width:25px;height:25px}.kruart-header .global-nav-item.is-active:after{bottom:-7px}.kruart-header-actions{display:flex!important;align-items:center!important;gap:7px!important}.kruart-header-tool{position:relative;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:var(--kruart-navy);font-size:26px;text-decoration:none}.kruart-header-tool:hover{background:#f5f9ff}.kruart-bell:after{content:"";position:absolute;right:7px;top:6px;width:7px;height:7px;border:2px solid #fff;border-radius:50%;background:var(--kruart-orange)}.kruart-login-chip{display:flex;align-items:center;gap:8px;min-height:52px;padding:4px 8px 4px 5px;border:0;border-left:1px solid #e2ebf4;border-radius:0;background:#fff;color:var(--kruart-navy);cursor:pointer}.kruart-login-avatar{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;overflow:hidden;background:#eaf6ff}.kruart-login-avatar img{width:48px;height:48px;object-fit:contain}.kruart-login-chip>span:nth-child(2){display:grid;text-align:left;line-height:1.1}.kruart-login-chip small{font-size:9px;color:#6a6f77!important}.kruart-login-chip strong{font-size:14px;color:var(--kruart-navy)!important}.kruart-header-actions .quiet-status{display:none}.public-home-active .kruart-login-chip{display:flex}.ecosystem-home-active .kruart-login-chip,.work-active .kruart-login-chip{display:none}.kruart-primary,.kruart-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 16px;border-radius:13px;font-weight:900;font-size:12px;text-decoration:none;cursor:pointer}.kruart-primary{border:0;background:var(--kruart-navy);color:#fff;box-shadow:0 8px 18px rgba(11,61,145,.18)}.kruart-secondary{border:1px solid #abccea;background:rgba(255,255,255,.92);color:var(--kruart-blue)}
.kruart-shortcuts,.kruart-today{padding:14px;border:1px solid #dfeaf4;border-radius:20px;background:#fff;box-shadow:var(--kruart-shadow)}.kruart-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.kruart-panel-head{margin-bottom:8px}.kruart-panel-head h2{margin:0;color:var(--kruart-navy);font-size:20px;letter-spacing:-.02em}.kruart-panel-head h2{display:flex;align-items:center;gap:7px}.kruart-panel-head>a{margin:0;color:#1772dd!important;font-size:10.5px!important;text-decoration:none}.kruart-shortcut{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) auto 12px;align-items:center;gap:9px;min-height:60px;padding:7px 9px;border:1px solid #e2e4e8;border-radius:14px;background:#fff;color:var(--kruart-ink);text-align:left;text-decoration:none;cursor:pointer}.kruart-shortcut+.kruart-shortcut{margin-top:7px}.kruart-shortcut:hover,.kruart-shortcut:focus-visible{background:#fcfaf8;border-color:#b8d5ed}.kruart-shortcut-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#fff1e5}.kruart-shortcut-icon img{width:31px;height:31px}.kruart-shortcut>span:nth-child(2){display:grid;min-width:0}.kruart-shortcut strong{color:var(--kruart-navy)!important;font-size:12.5px}.kruart-shortcut small{overflow:hidden;color:#6a6f77!important;font-size:12px!important;white-space:nowrap;text-overflow:ellipsis}.kruart-shortcut>b{min-width:68px;padding:5px 8px;border:1px solid #cfe1f3;border-radius:9px;background:#fcfaf8;color:#b64e00;font-size:9px;text-align:center}.kruart-shortcut>i{color:#9c460d;font-size:20px;font-style:normal;font-weight:900}
.kruart-lower-grid{display:grid;grid-template-columns:minmax(0,2.16fr) minmax(340px,.9fr);gap:12px;align-items:start}.kruart-left-stack{min-width:0}.kruart-system-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.kruart-system-grid>a,.kruart-system-grid>button{display:grid;grid-template-columns:46px minmax(0,1fr) 12px;align-items:center;gap:8px;min-height:82px;padding:10px;border:1px solid #e1eaf3;border-radius:15px;background:#fff;color:var(--kruart-ink);box-shadow:0 5px 14px rgba(20,61,117,.045);text-align:left;text-decoration:none;cursor:pointer}.kruart-system-grid>a>span,.kruart-system-grid>button>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#fcfaf8}.kruart-system-grid img{width:36px;height:36px}.kruart-system-grid div{display:grid;min-width:0}.kruart-system-grid strong{font-size:11.5px!important;color:var(--kruart-navy)!important}.kruart-system-grid small{margin-top:2px;color:#6a6f77!important;font-size:8.5px!important;line-height:1.3}.kruart-system-grid i{font-style:normal;color:#b64e00;font-size:19px;font-weight:900}
.kruart-today{margin-top:45px}.kruart-today-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.kruart-today-grid>a{display:grid;grid-template-columns:38px minmax(0,1fr) 10px;align-items:center;gap:7px;min-height:69px;padding:8px;border:1px solid #e4edf5;border-radius:13px;background:#fff;color:var(--kruart-ink);text-decoration:none}.today-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eaf4ff;color:#b64e00;font-size:18px;font-weight:900}.today-icon.orange{background:#fff0e3;color:#ff7a00}.today-icon.amber{background:#fff5e8;color:#dd760c}.today-icon.green{background:#eaf9f2;color:#16a36f}.kruart-today-grid>a>span:nth-child(2){display:grid}.kruart-today-grid strong{color:var(--kruart-navy)!important;font-size:10.5px!important}.kruart-today-grid small{color:#6a6f77!important;font-size:8px!important}.kruart-today-grid i{font-style:normal;color:#b64e00;font-size:17px}.kruart-today-message{position:relative;overflow:hidden;display:flex;align-items:center;gap:10px;min-height:80px;margin-top:9px;padding:8px 95px 8px 12px;border-radius:14px;background:linear-gradient(135deg,#e8f6ff,#fff2e4)}.kruart-today-message img{position:absolute;right:6px;bottom:-16px;width:87px;height:87px;object-fit:contain}.kruart-today-message p{display:grid;margin:0}.kruart-today-message strong{color:var(--kruart-navy)!important;font-size:11px!important}.kruart-today-message small{color:#647c96!important;font-size:8.5px!important}
/* Session bootstrap uses the same KRUART hero language to avoid a visual flash. */
.golden-session-view .session-hero-copy{background-color:#dff3ff!important}.golden-session-view .session-hero-copy:after{display:none!important}.golden-session-view .session-hero-copy>*{max-width:55%;padding:5px 8px;border-radius:10px;background:rgba(255,255,255,.88)}
@media(max-width:1220px){.kruart-header{grid-template-columns:auto 1fr!important}.kruart-brand{min-width:330px!important}.kruart-header .global-nav{grid-column:1/-1;order:3;height:48px;justify-content:center}.kruart-header-actions{position:absolute;right:0;top:8px}.kruart-system-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kruart-lower-grid{grid-template-columns:1fr}.kruart-today{margin-top:0}}
@media(max-width:820px){.app-header,.app-main{width:min(calc(100% - 24px),1540px)!important}.kruart-brand{min-width:0!important}.kruart-awh-lockup,.kruart-brand-divider{display:none}.kruart-wordmark>b,.kruart-wordmark>em{font-size:24px}.kruart-wordmark>em{margin-left:52px}.kruart-brand-icon{width:45px;height:45px}.kruart-login-chip>span:nth-child(2),.kruart-header-tool{display:none}.kruart-login-chip{border:0}.kruart-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:7px}.kruart-shortcuts .kruart-panel-head{grid-column:1/-1}.kruart-shortcut+.kruart-shortcut{margin-top:0}.kruart-shortcut{grid-template-columns:38px minmax(0,1fr) 10px}.kruart-shortcut>b{display:none}.kruart-system-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.app-header,.app-main{width:min(calc(100% - 18px),1540px)!important}.kruart-header{min-height:62px!important}.kruart-header .global-nav{justify-content:flex-start;overflow-x:auto}.kruart-header .global-nav-item{min-width:72px;justify-content:center;padding-inline:7px}.kruart-header .global-nav-item:nth-child(n+5){display:none}.kruart-header .global-nav-item span{font-size:10px}.kruart-wordmark>small{font-size:8px}.kruart-shortcuts{grid-template-columns:1fr}.kruart-system-grid{grid-template-columns:1fr}.kruart-today-grid{grid-template-columns:1fr}}
@media(prefers-contrast:more){.kruart-shortcuts, .kruart-system-grid>a, .kruart-system-grid>button, .kruart-today{box-shadow:none!important;border-color:#8fa6bf!important}}

/* Desktop reference-frame calibration — approved 1672×941 KRUART mockup. */
@media(min-width:1221px){
  body.public-home-active .app-main{padding-bottom:0!important}
  .kruart-today{margin-top:12px;padding:12px}
  .kruart-today-grid{gap:6px}
  .kruart-today-grid>a{min-height:58px;padding:7px}
  .kruart-today-message{min-height:62px;margin-top:7px;padding-block:6px}
}

@media(min-width:1221px){
  .kruart-shortcuts{padding:12px}
  .kruart-shortcut{min-height:58px}
  .kruart-shortcut+.kruart-shortcut{margin-top:6px}
}

/* Human-only hero composition — consolidated Golden Home visual authority. */
.kruart-brand-icon{
  width:52px!important;
  height:54px!important;
  padding:2px!important;
  object-fit:contain!important;
  border-radius:0!important;
  background:transparent!important;
}
.kruart-login-avatar img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}
.kruart-today-message img{
  right:4px!important;
  bottom:-8px!important;
  width:104px!important;
  height:82px!important;
  object-fit:cover!important;
  object-position:25% center!important;
  border-radius:18px!important;
}
.golden-session-view .session-hero-copy{
  background-image:url("./kruart-human-student-hero.webp")!important;
  background-image:image-set(url("./kruart-human-student-hero.webp") 1x,url("./kruart-human-student-hero-hq.webp") 3x)!important;
  background-size:122% auto!important;
  background-position:left center!important;
}

/* Campus-led hero. Raster characters stay bounded; the vector campus carries the large surface. */

/* Retina/mobile closure: never enlarge a tiny crop into the full hero. */
@media(max-width:820px){
  .kruart-brand-icon{width:44px!important;height:46px!important}
  .kruart-primary,.kruart-secondary{min-height:44px!important;padding:6px 10px!important;border-radius:12px!important;font-size:10.5px!important}
}

/* Public landing must not inherit the signed-in AWH mobile command rail. */
@media(max-width:760px){
  body.public-home-active{padding-bottom:calc(16px + env(safe-area-inset-bottom))!important}
  body.public-home-active .awh-mobile-nav{display:none!important}
}

/* Approved-reference calibration — 1536×864 desktop frame. */
@media (min-width:1221px) and (max-height:900px){
  .kruart-shortcuts{height:290px!important;padding:9px!important}
  .kruart-shortcuts .kruart-panel-head{margin-bottom:5px!important;min-height:26px!important}
  .kruart-shortcut{min-height:52px!important;height:52px!important;padding:5px 8px!important}
  .kruart-shortcut+.kruart-shortcut{margin-top:4px!important}
  .kruart-system-grid>a,.kruart-system-grid>button{min-height:73px!important;height:73px!important;padding:8px!important}
  .kruart-today{margin-top:10px!important;padding:10px!important;height:230px!important}
  .kruart-today .kruart-panel-head{margin-bottom:6px!important;height:27px!important}
  .kruart-today-grid{gap:5px!important}
  .kruart-today-grid>a{min-height:55px!important;height:55px!important;padding:6px!important}
  .kruart-today-message{min-height:53px!important;height:53px!important;margin-top:6px!important;padding-block:5px!important}
}

/* Final vector-human hero authority — no raster upscaling, no robot layer. */
.kruart-awh-lockup strong{position:relative;font-style:italic!important;font-size:15px!important;letter-spacing:-.02em}
.kruart-awh-lockup strong:after{content:"";position:absolute;left:12%;right:0;bottom:-4px;height:2px;border-radius:99px;background:#ff7a00;transform:rotate(-2deg)}
.kruart-awh-lockup small{display:none!important}

/* KRUART generated final artwork authority — 2026-09-09. */
.kruart-login-avatar img{object-fit:cover!important;object-position:20% center!important}
.kruart-today-message img{right:4px!important;bottom:0!important;width:108px!important;height:100%!important;object-fit:cover!important;object-position:18% center!important;border-radius:16px!important}
.kruart-signin-logo{display:block;width:min(360px,82%);height:auto;margin:0 0 14px;object-fit:contain}
.golden-session-view .kruart-signin-logo{width:min(330px,78%);margin-bottom:8px}
.golden-session-view .session-hero-copy{background:#dff4ff url("./kruart-hero-final.webp") center/cover no-repeat!important}
@media(max-width:820px){
  .kruart-signin-logo{width:min(300px,88%)}
}


/* Public information architecture convergence — one hero, one audience chooser, one news strip. */


/* AWH Closure AX/contrast adjustments — scoped and reversible.
   Preserve the shared KRUART palette while making small text readable. */
.kruart-header .kruart-login-chip small{color:#626b76!important}
.kruart-panel-head>a{color:#17487c!important}
.awh-mobile-nav-item:not(.is-active){color:#626b76!important}
.awh-mobile-nav-item:not(.is-active) strong{color:#626b76!important}
body.work-active .project-trigger,
body.work-active .conversation-trigger{min-width:24px;min-height:24px;padding-inline:5px}


/* KRUART Calm App Home · single existing CSS owner, no visual overlay.
   Task-first public surface based on approved simple mobile composition.
   Native CSS motion; no added runtime dependency or duplicated design system. */
body.public-home-active{padding:0!important;margin:0!important;background:#f7f9fe!important}
body.public-home-active #awh-app,
body.public-home-active .app-shell{background:#f7f9fe!important}
body.public-home-active .app-header{display:none!important}
body.public-home-active .app-main{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-height:0}
#public-home-view[hidden]{display:none!important}
.public-home-view.kruart-work-atlas{display:block;width:100%;max-width:none;padding:0!important;margin:0;background:#fff;color:#1a3161}
.kruart-work-atlas .atlas-frame{min-width:320px;width:100%;min-height:100vh;display:flex;flex-direction:column;background:#fff}
.kruart-work-atlas .atlas-work-index{display:flex;align-items:center;justify-content:space-between;gap:clamp(8px,2vw,26px);height:84px;min-height:84px;width:100%;padding:9px clamp(18px,4vw,64px);border-bottom:1px solid #e1e7f0;background:#fff;z-index:3}
.kruart-work-atlas .atlas-identity{flex:0 0 auto;display:flex;align-items:center;min-width:0;text-decoration:none}
.kruart-work-atlas .atlas-brand-logo{display:block;width:clamp(130px,18vw,214px);max-height:60px;height:auto;object-fit:contain;object-position:left center}
.kruart-work-atlas .atlas-work-list{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:clamp(6px,1vw,20px);min-width:0}
.kruart-work-atlas .atlas-work-list a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 6px;text-decoration:none;white-space:nowrap;color:#49617f;font-size:13px;font-weight:650;border-bottom:2px solid transparent;transition:color 180ms ease,border-color 180ms ease}
.kruart-work-atlas .atlas-work-list a:hover,
.kruart-work-atlas .atlas-work-list a:focus-visible,
.kruart-work-atlas .atlas-work-list a.atlas-tool-current{color:#203d80;border-bottom-color:#f28a3a}
.kruart-work-atlas .atlas-work-list img{width:20px;height:20px;object-fit:contain}
.kruart-work-atlas .atlas-list-name strong{font:inherit}
.kruart-work-atlas .atlas-login-link{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:8px 14px;border:1px solid #c9d8ef;border-radius:12px;background:#fff;color:#244778;font:inherit;font-size:13px;font-weight:750;cursor:pointer;transition:background-color 180ms ease,transform 160ms ease}
.kruart-work-atlas .atlas-login-link:hover{background:#eef4ff}
.kruart-work-atlas .atlas-login-link:active{transform:scale(.98)}
.kruart-work-atlas .atlas-main-column{display:flex;flex:1;flex-direction:column;min-width:0;background:#fff}
.kruart-work-atlas .atlas-heading{position:relative;background:radial-gradient(circle at 80% 15%,rgba(255,150,62,.16),transparent 30rem),linear-gradient(148deg,#f2f7ff 0%,#fafcff 52%,#fff7ee 100%)}
.kruart-work-atlas .atlas-stage{min-height:510px;display:grid;place-items:center;position:relative;isolation:isolate;overflow:hidden;background:transparent}
.kruart-work-atlas .atlas-stage-light{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(17,50,95,.045) 1px,transparent 1px),linear-gradient(0deg,rgba(17,50,95,.035) 1px,transparent 1px);background-size:120px 120px;mask-image:linear-gradient(90deg,transparent 0%,#000 45%,#000 90%);opacity:.5}
.kruart-work-atlas .atlas-story{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);align-items:center;column-gap:clamp(28px,5vw,84px);min-width:0;width:min(calc(100% - 76px),1240px);padding:65px 0 55px;text-align:left;animation:kruart-view-enter 450ms cubic-bezier(.16,1,.3,1) both}
.kruart-work-atlas .atlas-kicker{grid-column:1;grid-row:1;align-self:end;margin:0 0 20px;color:#3159ac;font-size:13px;font-weight:770;line-height:1.5;letter-spacing:.04em}
.kruart-work-atlas .atlas-editorial-mark{grid-column:1;grid-row:2;display:flex;align-items:center;gap:12px;min-width:0;margin:0 0 17px;color:#547092;font-size:10px;font-weight:800;letter-spacing:.15em}
.kruart-work-atlas .atlas-editorial-mark i{display:block;flex:0 1 90px;height:1px;background:linear-gradient(90deg,#e9782e,#bcd0e9)}
.kruart-work-atlas .atlas-story h1{grid-column:1;grid-row:3;margin:0;max-width:690px;font-size:clamp(53px,6.7vw,96px);font-weight:850;letter-spacing:-.066em;line-height:1.07;color:#183969;text-wrap:balance}
.kruart-work-atlas .atlas-story h1 span{display:block;color:#c75b19;font-weight:820}
.kruart-work-atlas .atlas-subtitle{grid-column:1;grid-row:4;max-width:465px;margin:26px 0 12px;padding-left:17px;border-left:3px solid #e9782e;color:#4e607b;font-size:clamp(15px,1.35vw,18px);line-height:1.7;font-weight:490}
.kruart-work-atlas .atlas-depth-panel{grid-column:2;grid-row:1/span 5;align-self:center;width:100%;min-width:0;position:relative;overflow:hidden;border:1px solid #c5d7e8;border-radius:26px;background:#fff;padding:29px 26px 24px;box-shadow:0 32px 78px rgba(20,61,117,.13),0 4px 14px rgba(20,61,117,.035)}
.kruart-work-atlas .atlas-depth-panel::after{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#9c460d 0 72%,#e9782e 72% 100%)}
.kruart-work-atlas .atlas-services-meta{display:flex;justify-content:space-between;gap:12px;color:#536d8b;font-size:10px;font-weight:850;letter-spacing:.13em}
.kruart-work-atlas .atlas-services-meta span:last-child{color:#a95019}
.kruart-work-atlas .atlas-services-title{margin:12px 0 18px;font-size:clamp(23px,2.3vw,29px);line-height:1.25;color:#183969;font-weight:800;letter-spacing:-.035em}
.kruart-work-atlas .atlas-service-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
.kruart-work-atlas .atlas-service-grid a{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 12px;position:relative;min-width:0;min-height:83px;padding:24px 17px 16px;color:#25437d;text-decoration:none;border:1px solid #dfe9f4;border-radius:14px;background:#f9fbff;transition:background-color 210ms cubic-bezier(.2,.8,.2,1),transform 150ms cubic-bezier(.2,.8,.2,1),box-shadow 210ms cubic-bezier(.2,.8,.2,1),border-color 210ms cubic-bezier(.2,.8,.2,1)}
.kruart-work-atlas .atlas-service-grid a:last-child{border-color:#e0e8f3}
.kruart-work-atlas .atlas-service-grid a:hover,.kruart-work-atlas .atlas-service-grid a:focus-visible{background:#eef5ff;border-color:#a9c6ed;transform:translateY(-2px);box-shadow:0 10px 22px rgba(20,61,117,.07)}
.kruart-work-atlas .atlas-service-grid a:active{transform:scale(.985)}
.kruart-work-atlas .atlas-service-grid a:first-child{min-height:112px;background:linear-gradient(118deg,#103f87 0%,#0b2d63 100%);border-color:#0a367d;color:#fff;box-shadow:0 14px 28px rgba(12,61,127,.17)}
.kruart-work-atlas .atlas-service-grid a:first-child::before{content:"01 / เริ่มงาน";position:absolute;top:11px;left:18px;color:#bcd9ff;font-size:10px;font-weight:740;letter-spacing:.07em}
.kruart-work-atlas .atlas-service-grid a:nth-child(2)::before,.kruart-work-atlas .atlas-service-grid a:nth-child(3)::before{position:absolute;top:7px;right:16px;color:#6e82a0;font-size:10px;font-weight:750;letter-spacing:.06em}
.kruart-work-atlas .atlas-service-grid a:nth-child(2)::before{content:"02"}
.kruart-work-atlas .atlas-service-grid a:nth-child(3)::before{content:"03"}
.kruart-work-atlas .atlas-service-grid a:first-child:is(:hover,:focus-visible){background:linear-gradient(115deg,#0a367d 0%,#1b6bc6 100%);box-shadow:0 15px 30px rgba(12,61,127,.22)}
.kruart-work-atlas .atlas-service-grid strong{font-size:clamp(16px,1.65vw,20px);line-height:1.4;font-weight:790;white-space:normal}
.kruart-work-atlas .atlas-service-grid strong span{color:#c95d0d}
.kruart-work-atlas .atlas-service-grid a:first-child strong span{color:#ffbc78}
.kruart-work-atlas .atlas-service-grid small{font-size:clamp(12px,1.05vw,14px);line-height:1.55;color:#4e607b;font-weight:500;text-align:right}
.kruart-work-atlas .atlas-service-grid a:first-child small{color:#e6efff}
.kruart-work-atlas .atlas-craft-caption{margin:16px 1px 0;color:#526884;font-size:11px;line-height:1.6}
.kruart-work-atlas .atlas-private-note{grid-column:1;grid-row:5;align-self:start;margin:18px 0 0;color:#4e607b;font-size:12px;line-height:1.6}
.kruart-work-atlas .atlas-ambient-wave{height:clamp(52px,7vw,88px);margin-top:-1px;overflow:hidden;position:relative;background:linear-gradient(180deg,#f7f9fd 0%,#ecf3ff 100%)}
.kruart-work-atlas .atlas-wave-art{display:block;width:100%;height:100%;overflow:visible}
.kruart-work-atlas .atlas-wave-fill{fill:#e0ebfa;opacity:.8}
.kruart-work-atlas .atlas-wave-line{fill:none;stroke-width:1.6;stroke-linecap:round;vector-effect:non-scaling-stroke;animation:kruart-wave-drift 420ms cubic-bezier(.2,.8,.2,1) both}
.kruart-work-atlas .atlas-wave-blue{stroke:#a5c2ec}
.kruart-work-atlas .atlas-wave-orange{stroke:#f4a26d;animation-delay:110ms}
@keyframes kruart-wave-drift{from{transform:translateX(-1.5%)}to{transform:translateX(1.5%)}}
@keyframes kruart-view-enter{from{opacity:.45;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.kruart-work-atlas .atlas-people{width:min(100% - 42px,1100px);margin-inline:auto;padding:36px 0 30px}
.kruart-work-atlas .atlas-people-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin:0 0 16px;padding-bottom:14px;border-bottom:1px solid #d9e4f0}
.kruart-work-atlas .atlas-people h2{margin:0;font-size:clamp(20px,2.5vw,27px);line-height:1.4;color:#203b76;font-weight:760}
.kruart-work-atlas .atlas-people-hint{color:#4e607b;font-size:13px}
.kruart-work-atlas .atlas-people-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:34px;row-gap:0}
.kruart-work-atlas .atlas-person{appearance:none;display:grid;grid-template-columns:44px minmax(0,1fr) 24px;align-items:center;gap:15px;text-align:left;min-width:0;min-height:92px;padding:15px 8px;border:0;border-bottom:1px solid #e1e8f1;border-radius:0;background:transparent;text-decoration:none;color:#233c6b;cursor:pointer;transition:transform 160ms ease,border-color 180ms ease,background-color 180ms ease}
.kruart-work-atlas .atlas-person:hover,
.kruart-work-atlas .atlas-person:focus-visible{background:#f5f8ff;border-bottom-color:#a9c6e3}
.kruart-work-atlas .atlas-person:active{transform:scale(.985)}
.kruart-work-atlas .atlas-person>img{width:44px;height:44px;padding:10px;object-fit:contain;background:#edf3fc;border-radius:13px}
.kruart-work-atlas .atlas-person>span:nth-of-type(1){min-width:0;display:grid;gap:4px}
.kruart-work-atlas .atlas-person strong{font-size:16px;line-height:1.3;font-weight:760;color:#203b76}
.kruart-work-atlas .atlas-person small{font-size:12px;line-height:1.5;color:#4e607b}
.kruart-work-atlas .atlas-person-arrow{color:#d8752d;font-size:20px;text-align:right;transition:transform 170ms ease}
.kruart-work-atlas .atlas-person:hover .atlas-person-arrow{transform:translateX(3px)}
.kruart-work-atlas #awh-tools{scroll-margin-top:24px;width:min(calc(100% - 42px),1100px);margin:14px auto 38px;padding:27px 0 15px;border:0;border-top:3px solid #1e467e;border-radius:0;background:transparent}
.kruart-work-atlas #awh-tools .atlas-people-head{padding-bottom:12px;border-bottom:1px solid #dbe7f4}
.kruart-work-atlas #awh-tools .atlas-people-index{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px}
.kruart-work-atlas #awh-tools .atlas-person{background:transparent;min-height:86px}
.kruart-work-atlas #awh-tools .atlas-person:hover{background:#f5f8ff}
.kruart-work-atlas .atlas-school-note{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:#f4f7fb;border-top:1px solid #dfe7f2;padding:30px max(22px,calc((100vw - 1100px)/2))}
.kruart-work-atlas .atlas-school-note span{font-size:12px;color:#4e607b}
.kruart-work-atlas .atlas-school-note h2{margin:4px 0 0;color:#284478;font-size:19px}
.kruart-work-atlas .atlas-school-note a{min-height:44px;display:inline-flex;align-items:center;text-decoration:none;color:#1e4e91;font-size:13px;font-weight:700}
.kruart-work-atlas .atlas-app-tabs{display:none}
.kruart-work-atlas :is(a,button,textarea):focus-visible{outline:3px solid #f58a31;outline-offset:3px}
.kruart-work-atlas :is(a,button){-webkit-tap-highlight-color:transparent}
@media(max-width:1080px){
 .kruart-work-atlas .atlas-work-list{gap:4px}
 .kruart-work-atlas .atlas-work-list a{font-size:12px;gap:4px}
 .kruart-work-atlas .atlas-identity img{width:165px}
 .kruart-work-atlas .atlas-people-index{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .kruart-work-atlas .atlas-frame{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}
 .kruart-work-atlas .atlas-work-index{height:70px;min-height:70px;padding:7px 18px}
 .kruart-work-atlas .atlas-brand-logo{width:155px;max-height:54px}
 .kruart-work-atlas .atlas-work-list{display:none}
 .kruart-work-atlas .atlas-login-link{min-height:44px;padding:8px 11px}
 /* iOS Safari: focus must not magnify text fields; preserve user pinch zoom. */
 .sign-in-view input:not([type="checkbox"]),.sign-in-view select{font-size:max(16px,1em)}
 /* Keep iPhone full-page captures on a single light paint layer instead of a masked isolated surface. */
 .kruart-work-atlas .atlas-heading{background:linear-gradient(148deg,#f2f7ff 0%,#fafcff 52%,#fff7ee 100%)}
 .kruart-work-atlas .atlas-stage{min-height:0;isolation:auto;overflow:visible}
 .kruart-work-atlas .atlas-stage-light{display:none}
  .kruart-work-atlas .atlas-story{grid-template-columns:minmax(0,1fr);width:calc(100% - 34px);padding:24px 0 20px;column-gap:0;row-gap:0;animation:none}
  .kruart-work-atlas .atlas-kicker{margin-bottom:6px}
  .kruart-work-atlas .atlas-editorial-mark{margin:0 0 9px;font-size:9px;gap:9px}
  .kruart-work-atlas .atlas-editorial-mark i{flex-basis:52px}
  .kruart-work-atlas .atlas-story h1{font-size:clamp(32px,8.5vw,44px);line-height:1.08}
  .kruart-work-atlas .atlas-subtitle{margin:11px 0 12px;padding-left:13px;font-size:14px}
  .kruart-work-atlas .atlas-depth-panel{grid-column:1;grid-row:5;padding:15px 14px;border-radius:17px;box-shadow:0 12px 30px rgba(20,61,117,.10)}
  .kruart-work-atlas .atlas-services-title{font-size:19px;margin:7px 0 10px}
  .kruart-work-atlas .atlas-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .kruart-work-atlas .atlas-service-grid a{grid-template-columns:minmax(0,1fr);gap:4px;min-height:73px;padding:21px 12px 10px}
  .kruart-work-atlas .atlas-service-grid a:first-child{grid-column:1/-1;min-height:83px;grid-template-columns:minmax(0,1fr) auto;padding:24px 15px 12px}
  .kruart-work-atlas .atlas-service-grid a:first-child::before{top:10px;left:15px}
  .kruart-work-atlas .atlas-service-grid strong{font-size:clamp(14px,3.8vw,17px)}
  .kruart-work-atlas .atlas-service-grid small{font-size:12px;text-align:left}
  .kruart-work-atlas .atlas-private-note{display:none}
  .kruart-work-atlas .atlas-ambient-wave{height:38px}
 .kruart-work-atlas .atlas-people{width:calc(100% - 30px);padding:23px 0 20px}
 .kruart-work-atlas .atlas-people-index{grid-template-columns:minmax(0,1fr);gap:0}
 .kruart-work-atlas #awh-tools .atlas-people-index{grid-template-columns:minmax(0,1fr);gap:0}
 .kruart-work-atlas #awh-tools{width:calc(100% - 30px);margin:8px auto 24px;padding:23px 0 8px;border-radius:0}
 .kruart-work-atlas .atlas-people-hint{display:none}
 .kruart-work-atlas .atlas-person{grid-template-columns:36px minmax(0,1fr) 18px;gap:12px;min-height:68px;padding:12px 5px}
 .kruart-work-atlas .atlas-person>img{width:36px;height:36px;padding:8px}
 .kruart-work-atlas .atlas-person strong{font-size:15px}
 .kruart-work-atlas .atlas-person small{font-size:12px}
 .kruart-work-atlas .atlas-school-note{padding:23px 18px}
 .kruart-work-atlas .atlas-app-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:fixed;z-index:60;bottom:0;left:0;right:0;min-height:calc(60px + env(safe-area-inset-bottom,0px));padding:4px 7px calc(4px + env(safe-area-inset-bottom,0px));gap:3px;border-top:1px solid #d8e3f4;background:rgba(255,255,255,.97);backdrop-filter:blur(12px)}
 .kruart-work-atlas .atlas-app-tabs :is(a,button){display:grid;justify-items:center;align-content:center;gap:3px;min-height:48px;min-width:0;padding:4px 2px;border:0;border-radius:11px;text-decoration:none;background:transparent;color:#526884;font:inherit;font-size:11px;font-weight:650;transition:transform 150ms cubic-bezier(.2,.75,.3,1),background-color 200ms ease,color 200ms ease}
 .kruart-work-atlas .atlas-app-tabs :is(a,button):active{transform:scale(.92);background:#edf3fc}
 .kruart-work-atlas .atlas-app-tabs :is([aria-current=page],[aria-current=location]){color:#9c460d;background:#fff1e5}
 .kruart-work-atlas .atlas-app-tabs img{width:21px;height:21px;object-fit:contain}
}
@media(max-width:350px){
 .kruart-work-atlas .atlas-story h1{font-size:32px}
 .kruart-work-atlas .atlas-service-grid{grid-template-columns:1fr}
 .kruart-work-atlas .atlas-service-grid a{grid-template-columns:1fr auto;min-height:68px;gap:4px;border-right:0;border-bottom:1px solid #e3e9f2}
 .kruart-work-atlas .atlas-service-grid a:last-child{border-bottom:0}
 .kruart-work-atlas .atlas-service-grid small{text-align:right}
 .kruart-work-atlas .atlas-story{padding-top:35px}
}
@media(prefers-reduced-motion:no-preference){
 html:has(body.public-home-active){scroll-behavior:smooth}
}
@media(prefers-reduced-motion:no-preference) and (min-width:761px){
 .kruart-work-atlas .atlas-depth-panel{animation:kruart-panel-enter 520ms cubic-bezier(.16,1,.3,1) 90ms both}
}
@keyframes kruart-panel-enter{from{opacity:.35;transform:translateY(15px) scale(.987)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
 .kruart-work-atlas :is(.atlas-story,.atlas-depth-panel,.atlas-wave-line){animation:none!important}
 .kruart-work-atlas :is(a,button){transition:none!important;transform:none!important}
}
@media print{
 /* Safari PDF/Full Page: avoid PDF rasterization of masked gradients and fixed app chrome. */
 .kruart-work-atlas .atlas-heading{background:#f5f8ff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .kruart-work-atlas .atlas-stage{isolation:auto;overflow:visible}
 .kruart-work-atlas .atlas-stage-light{display:none}
 .kruart-work-atlas :is(.atlas-story,.atlas-depth-panel,.atlas-wave-line){animation:none!important;transform:none!important}
 .kruart-work-atlas .atlas-app-tabs{position:static!important}
}
