/*
 * KRUART System UI Authority
 * Final shared visual contract for AWH owner/admin surfaces.
 * Loaded last so legacy page CSS cannot split the product into multiple visual languages.
 */
:root{
  --k-bg:#f5faff;--k-surface:#fff;--k-raised:#f7fbff;--k-soft:#eaf5ff;
  --k-line:#dbe8f4;--k-line-strong:#c7dcec;--k-text:#11325f;--k-muted:#657d99;
  --k-navy:#0b3d91;--k-blue:#176de5;--k-orange:#ff7a00;--k-orange-2:#ff943f;
  --k-good:#16855b;--k-warn:#a9690d;--k-bad:#c43d3d;
  --k-r-sm:12px;--k-r-md:16px;--k-r-lg:22px;--k-r-xl:28px;
  --k-shadow:0 6px 20px rgba(20,61,117,.055);--k-shadow-float:0 14px 38px rgba(20,61,117,.09);
  --k-max:1240px;--k-touch:44px;--k-fast:var(--awh-motion-fast,140ms);--k-standard:var(--awh-motion-standard,220ms);--k-ease:var(--awh-ease,cubic-bezier(.2,.8,.2,1));
}
html{background:var(--k-bg);scroll-behavior:auto}
body{min-width:320px;background:
  radial-gradient(circle at 6% -4%,rgba(117,206,248,.22),transparent 28rem),
  radial-gradient(circle at 98% 0,rgba(255,154,56,.13),transparent 26rem),
  var(--k-bg)!important;color:var(--k-text)!important;font-family:var(--awh-font-sans)!important}
::selection{background:rgba(255,122,0,.18);color:var(--k-navy)}
a{color:inherit}
.system-brand-icon{display:block;width:40px;height:40px;flex:0 0 40px;border-radius:13px;object-fit:cover;box-shadow:0 6px 16px rgba(20,61,117,.12)}
button,input,select,textarea{font:inherit}
button:not(:disabled),a[href]{-webkit-tap-highlight-color:transparent}
button:not(:disabled){cursor:pointer}
/* Shared behavior of existing owner-facing KRUART pages. Motion never controls content visibility. */
:where(.hosting-tool,.cp-tool,.site-card,.review-choice,.trust-main .links a,.tabs .tab,a[href],button:not(:disabled)){
  transition:background-color var(--k-standard) var(--k-ease),border-color var(--k-standard) var(--k-ease),color var(--k-fast) var(--k-ease),transform var(--k-fast) var(--k-ease);
}
:where(a[href],button:not(:disabled),input,select,textarea):focus-visible{outline:2px solid #f68132!important;outline-offset:3px!important}
@media(prefers-reduced-motion:reduce){:where(.hosting-tool,.cp-tool,.site-card,.review-choice,.trust-main .links a,.tabs .tab,a[href],button:not(:disabled)){transition:none!important;transform:none!important}}

:where(input,select,textarea):not(#public-work-input){min-height:44px;border:1px solid var(--k-line)!important;border-radius:13px!important;background:#fff!important;color:var(--k-text)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
:where(input,select,textarea):not(#public-work-input):focus{border-color:#7fb7e2!important;box-shadow:0 0 0 4px rgba(23,109,229,.09)!important;outline:none}
:where(input,textarea)::placeholder{color:#91a2b6}
:is(.primary-button,.create-button,.review-choice button,.review-setup-body>button){
  min-height:44px;border:0!important;border-radius:13px!important;background:var(--k-blue)!important;color:var(--k-surface)!important;font-weight:800!important;box-shadow:var(--k-shadow)!important}
:where(.secondary-button,.infra-actions button,.hosting-actions a,.hosting-actions button,.review-ghost,.trust-header button,.pager button){
  min-height:44px;border:1px solid var(--k-line)!important;border-radius:13px!important;background:#fff!important;color:var(--k-navy)!important;box-shadow:0 3px 12px rgba(20,61,117,.04)!important}
:where(.primary-button,.secondary-button,.infra-actions button,.hosting-actions a,.hosting-actions button,.review-ghost,.trust-header button):hover:not(:disabled){transform:translateY(-1px);box-shadow:0 9px 22px rgba(20,61,117,.10)!important}
:where(.studio-header,.infra-header,.hosting-header,.trust-header,.review-header){
  position:sticky!important;top:0!important;z-index:40!important;min-height:70px!important;
  border-bottom:1px solid rgba(199,220,236,.9)!important;background:rgba(255,255,255,.96)!important;
  color:var(--k-text)!important;box-shadow:0 5px 18px rgba(20,61,117,.05)!important;backdrop-filter:blur(18px)!important}
:where(.brand,.infra-brand,.hosting-brand,.review-brand){display:flex!important;align-items:center!important;gap:11px!important;color:var(--k-text)!important;text-decoration:none!important}
:where(.brand,.infra-brand,.hosting-brand,.review-brand) strong{color:var(--k-navy)!important;font-weight:850!important;letter-spacing:-.01em!important}
:where(.brand,.infra-brand,.hosting-brand,.review-brand) small{color:var(--k-muted)!important}
:where(.studio-shell,.infra-main,.hosting-main,.trust-main,.review-main){color:var(--k-text)!important}
:where(.studio-shell main,.infra-main,.hosting-main,.trust-main,.review-main){width:min(var(--k-max),calc(100% - 36px))!important;margin-inline:auto!important}
:where(.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,.trust-main .panel,.trust-main .metric-grid article){
  border:1px solid var(--k-line)!important;border-radius:var(--k-r-lg)!important;background:#fff!important;color:var(--k-text)!important;box-shadow:var(--k-shadow)!important}
:where(.health-banner,.schema-box,.url-preview,.site-state,.domain-explainer,.empty,.review-health,.review-revision,.cp-row,.cp-tool){
  border-color:var(--k-line)!important;background:var(--k-raised)!important;color:var(--k-muted)!important}
:where(.eyebrow,.review-kicker,.section-heading span,.cp-eyebrow,.cp-section-head span){color:var(--k-orange)!important;font-weight:850!important}
:where(.infra-hero,.hosting-hero,.review-hero,.trust-main .hero){
  position:relative!important;overflow:hidden!important;border:1px solid #cfe5f7!important;border-radius:var(--k-r-xl)!important;
  background:linear-gradient(120deg,#edf6ff 0,#f9fbff 59%,#fff5e9 100%)!important;box-shadow:var(--k-shadow)!important}
.infra-hero,.hosting-hero{min-height:174px!important;padding:30px!important;align-items:center!important}
.infra-hero:after,.hosting-hero:after{display:none}
.infra-hero>*,.hosting-hero>*{position:relative;z-index:1}
.infra-hero h1,.hosting-hero h1,.review-hero h1,.trust-main .hero h1{color:var(--k-navy)!important;letter-spacing:-.045em!important}
.infra-hero p,.hosting-hero p,.review-hero>p:not(.review-kicker),.trust-main .hero>div>p:last-child{color:#567492!important}
.overall-state,.hosting-summary,.trust-state{border-color:rgba(22,133,91,.2)!important;background:rgba(255,255,255,.88)!important}
.metric-grid article,.cp-metrics article{min-width:0}
.metric-grid strong,.cp-metrics strong{color:var(--k-navy)}
.entity-row,.cp-row,.review-job{min-height:58px}
.state-chip,.cp-chip{font-weight:850}
.state-chip.good,.cp-chip.good{color:var(--k-good)!important;border-color:rgba(22,133,91,.28)!important}
.state-chip.warn,.cp-chip.warn{color:var(--k-warn)!important;border-color:rgba(169,105,13,.28)!important}
.state-chip.bad,.cp-chip.bad{color:var(--k-bad)!important;border-color:rgba(196,61,61,.28)!important}
.data-grid-wrap{border-color:var(--k-line)!important;border-radius:16px!important;background:#fff!important}
.data-grid th{background:#eef6ff!important;color:var(--k-navy)!important;border-color:var(--k-line)!important}
.data-grid td{border-color:#edf3f8!important;color:var(--k-text)!important}
.tabs{scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}
.tab{min-height:40px;border-color:var(--k-line)!important;background:#fff!important;color:var(--k-muted)!important}
.tab.active{background:#eaf5ff!important;color:var(--k-navy)!important;border-color:#bad6ec!important;font-weight:800}
.table-sidebar{top:86px!important}
.locked-card,.empty-state,.notice{border-color:var(--k-line)!important;background:#f8fbfe!important}
.review-main{max-width:1040px!important}
.review-hero{padding:32px!important}
.review-health{background:rgba(255,255,255,.78)!important}
.review-health strong,.review-panel-head h2,.review-choice strong,.review-job-copy strong{color:var(--k-text)!important}
.review-health small,.review-choice p,.review-job-copy span,.review-message,.review-setup-body>p{color:var(--k-muted)!important}
.review-choice{background:#fff!important}
.review-choice-icon{background:rgba(255,122,0,.10)!important;color:var(--k-orange)!important}
.review-job-state b{background:#eef3f8!important;color:var(--k-muted)!important}
.review-job-state b.ready{background:#e9f7ef!important;color:var(--k-good)!important}
.review-job-state b.attention{background:#fff4df!important;color:var(--k-warn)!important}
.review-stop{border-color:var(--k-line)!important;background:#fff!important;color:var(--k-muted)!important}
.trust-header{grid-template-columns:1fr auto 1fr!important}
.trust-header>div{display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center;text-align:left!important}
.trust-header>div .system-brand-icon{grid-row:1/3}
.trust-main .hero{padding:30px!important;grid-template-columns:minmax(0,1fr) auto!important}
.trust-main .links{display:flex;flex-wrap:wrap;gap:9px}
.trust-main .links a{min-height:44px;display:inline-flex;align-items:center;padding:9px 13px;border:1px solid var(--k-line);border-radius:13px;background:#fff!important;color:var(--k-navy)!important;text-decoration:none}
.cp-shell{background:var(--k-bg)!important}
.cp-sidebar{background:linear-gradient(180deg,#0e2f5f 0,#09254c 100%)!important;border-right:1px solid rgba(255,255,255,.08)!important;box-shadow:12px 0 38px rgba(20,61,117,.12)}
.cp-brand{color:#fff!important;text-decoration:none}
.cp-brand .system-brand-icon{width:42px;height:42px;border-radius:14px;box-shadow:0 8px 20px rgba(0,0,0,.16)}
.cp-brand strong{color:#fff!important}.cp-brand small{color:#a9c3df!important}
.cp-search{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.11)!important}
.cp-nav p{color:#7fa0c5!important}.cp-nav a{color:#c9d9ea!important}
.cp-nav a:hover,.cp-nav a.is-active{background:rgba(255,122,0,.14)!important;color:#fff!important}
.cp-sidebar-foot{border-color:rgba(255,255,255,.09)!important;color:#8eb0d2!important}.cp-sidebar-foot a{color:#fff!important}
.cp-main{background:transparent!important}
.cp-topbar{min-height:70px!important;border-color:var(--k-line)!important;background:rgba(255,255,255,.96)!important;box-shadow:0 5px 18px rgba(20,61,117,.045)!important}
.cp-content{width:min(var(--k-max),calc(100% - 42px))!important}
.cp-metrics article,.cp-section,.cp-footnote{border-color:var(--k-line)!important;border-radius:var(--k-r-md)!important;background:#fff!important;box-shadow:none!important}
.cp-tool{border-radius:16px!important}.cp-tool:hover{border-color:#a9cce7!important;box-shadow:0 10px 24px rgba(20,61,117,.09)!important}
.cp-bay-update{border-color:#cfe5f7!important;box-shadow:var(--k-shadow-float)!important}
.cp-bay-visual img{content:url("./kruart-role-staff-final.webp");width:min(245px,90%)!important;height:235px!important;object-fit:cover!important;object-position:20% center!important;border-radius:24px!important}
@media(max-width:980px){
  .infra-hero,.hosting-hero{padding:26px!important}
  .infra-hero:after,.hosting-hero:after{display:none}
  .trust-main .hero{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  :where(.studio-header,.infra-header,.hosting-header,.review-header,.trust-header){min-height:62px!important;padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:max(12px,env(safe-area-inset-right))!important}
  .system-brand-icon{width:36px;height:36px;flex-basis:36px;border-radius:11px}
  :where(.studio-shell main,.infra-main,.hosting-main,.trust-main,.review-main){width:min(100% - 24px,var(--k-max))!important;padding-top:18px!important}
  .infra-hero,.hosting-hero{min-height:0!important;padding:24px 18px!important;border-radius:20px!important}
  .infra-hero:after,.hosting-hero:after{display:none}
  .review-hero,.trust-main .hero{padding:22px 17px!important;border-radius:22px!important}
  .trust-header{grid-template-columns:auto 1fr auto!important}.trust-header>div{justify-self:center}
  .metric-grid,.cp-metrics{gap:8px!important}
  .entity-row,.cp-row,.review-job{align-items:flex-start!important}
  .section-heading,.cp-section-head{align-items:flex-start!important}
  .cp-content{width:calc(100% - 24px)!important;padding-top:18px!important}
}
@media(max-width:620px){
  :where(.header-actions,.infra-actions,.hosting-actions){gap:6px!important}
  :where(.header-actions,.infra-actions,.hosting-actions)>span:not(.pill){display:none!important}
  .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .review-panel,.hosting-panel,.infra-section,.trust-main .panel{padding:16px!important;border-radius:18px!important}
  .review-choice-grid,.infra-columns,.cp-columns{grid-template-columns:1fr!important}
  .trust-main .hero h1{font-size:clamp(29px,10vw,42px)!important}
}
@media(max-width:390px){
  :where(.studio-shell main,.infra-main,.hosting-main,.trust-main,.review-main){width:calc(100% - 20px)!important}
  .cp-content{width:calc(100% - 20px)!important}
  .metric-grid,.cp-metrics{grid-template-columns:1fr 1fr!important}
}

/* Final asset continuity inside authenticated AWH surfaces. */
.awh-product-nav-mark,.workspace-home-mark{
  background:#fff url("./logo-256x256.png") center/contain no-repeat!important;color:transparent!important
}
.awh-home-hero:after,.ecosystem-home-hero:after{
  background-image:url("./kruart-role-staff-final.webp")!important;background-position:20% center!important;background-size:cover!important;border-radius:22px
}
.sign-in-copy:after{
  background-image:url("./kruart-role-student-final.webp")!important;background-position:20% center!important;background-size:cover!important;border-radius:24px 24px 0 0
}
.golden-session-view .sign-in-copy:after{display:none!important}


/* KRUART Golden Owner Home — Public-baseline composition */
.owner-global-nav{height:61px;display:flex;align-items:stretch;justify-content:center;gap:3px;min-width:0}
.owner-nav-item{position:relative;display:flex;align-items:center;gap:7px;padding:0 13px;color:#183d70;text-decoration:none;font-size:12px;font-weight:850;white-space:nowrap;border-radius:12px 12px 0 0}
.owner-nav-item img{width:24px;height:24px}.owner-nav-item:hover,.owner-nav-item:focus-visible{background:#f5f9ff;color:var(--k-navy)}
.owner-nav-item.is-active:after{content:"";position:absolute;left:10px;right:10px;bottom:-7px;height:3px;border-radius:999px;background:var(--k-navy)}
.ecosystem-home-active .global-nav,.work-active .global-nav{display:none!important}.ecosystem-home-active .owner-global-nav,.work-active .owner-global-nav{display:flex!important}

.owner-golden-home{width:min(1480px,calc(100% - 42px));margin:18px auto 44px!important;display:grid;grid-template-columns:minmax(0,2.1fr) minmax(320px,.9fr);gap:14px 16px}
.owner-reference-hero{grid-column:1;position:relative;min-height:336px;display:flex;align-items:center;justify-content:flex-start;padding:26px;border:1px solid #dce6f2;border-radius:24px;overflow:hidden;background:#f4f9ff;box-shadow:0 12px 34px rgba(20,61,117,.06)}
.owner-reference-hero:after{display:none!important;content:none!important}
.owner-reference-hero-panel{position:relative;z-index:2;width:min(700px,92%);padding:22px 26px;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;text-align:left}
.owner-reference-hero-panel .eyebrow{margin:0 0 12px;color:var(--k-orange);font-size:12px;font-weight:900;letter-spacing:.1em}
.owner-reference-hero-panel h1{margin:0 0 10px;color:#294f7d;font-size:clamp(24px,2.4vw,34px);line-height:1.16}
.owner-reference-hero-panel h1 strong{display:inline-block;margin-top:2px;color:var(--k-navy);font-size:clamp(34px,3.5vw,49px);letter-spacing:-.05em}
.owner-reference-hero-panel>p:not(.eyebrow){max-width:540px;margin:0 0 18px;color:#53677f;font-size:14px;line-height:1.6}
.owner-command-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;max-width:590px;margin:0;padding:6px;border:1px solid #bed8eb;border-radius:16px;background:#fff;box-shadow:0 8px 20px rgba(20,61,117,.07)}
.owner-command-form input{min-height:46px!important;border:0!important;background:transparent!important;box-shadow:none!important;padding-inline:10px!important;font-size:13px}
.owner-command-form button{min-width:68px;border:0;border-radius:11px;background:linear-gradient(135deg,#0b3d91,#176de5);color:#fff;font-weight:900}

.owner-quick-panel{grid-column:2;grid-row:1;padding:18px;border:1px solid var(--k-line);border-radius:28px;background:#fff;box-shadow:0 12px 30px rgba(20,61,117,.06)}
.owner-section-title,.owner-today-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.owner-section-title>div>span,.owner-today-head .eyebrow{color:var(--k-orange);font-size:9px;font-weight:900;letter-spacing:.11em}
.owner-section-title h2,.owner-today-head h2{margin:1px 0 0;color:var(--k-navy);font-size:21px}
.owner-section-title>a{color:#176de5;font-size:10px;font-weight:850;text-decoration:none}
.owner-quick-list{display:grid;gap:7px;margin-top:11px}
.owner-quick-row{width:100%;min-height:60px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;border:1px solid #dfeaf3;border-radius:14px;background:#fff;color:var(--k-text);text-align:left;text-decoration:none;box-shadow:0 3px 10px rgba(20,61,117,.025)}
.owner-quick-row:hover{border-color:#bdd8eb;background:#fafdff}
.owner-quick-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eef7ff;color:#176de5;font-size:13px;font-weight:950}
.owner-quick-icon img{display:block;width:30px;height:30px;object-fit:contain;object-position:center}
.owner-quick-row:nth-child(2) .owner-quick-icon{background:#fff1e3;color:#ff7a00}.owner-quick-row:nth-child(3) .owner-quick-icon{background:#eaf8f2;color:#16a36f}.owner-quick-row:nth-child(4) .owner-quick-icon{background:#f1edff;color:#7b5ce1}
.owner-quick-row>span:nth-child(2){display:grid;line-height:1.15}.owner-quick-row strong{font-size:11px}.owner-quick-row small{margin-top:3px;color:#6b8399;font-size:8.5px}.owner-quick-row b{color:#176de5;font-size:9px;white-space:nowrap}

.owner-featured-systems{grid-column:1/-1}
.owner-featured-systems .ecosystem-featured-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin-top:9px}
.owner-featured-systems .ecosystem-project-card.featured.owner-shortcut-card{position:relative;min-height:142px!important;padding:14px 12px 12px 41%!important;border:1px solid #dce9f4!important;border-radius:19px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 8px 22px rgba(20,61,117,.05)!important}
.owner-shortcut-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:39%;background:#eaf5ff center/cover no-repeat}
.owner-shortcut-card.product-bay-learnlab:before{background-image:url("./kruart-role-student-final.webp");background-position:12% center}
.owner-shortcut-card.product-bay-excuse-x:before{background-image:url("./kruart-role-teacher-final.webp");background-position:15% center}
.owner-shortcut-card.product-awh:before{background-image:url("./kruart-role-staff-final.webp");background-position:14% center}
.owner-shortcut-card.product-school-website:before{background-image:url("./kruart-hero-final.webp");background-position:43% center}
.owner-shortcut-card .ecosystem-project-head{margin:0 0 4px!important}.owner-shortcut-card .ecosystem-project-icon{display:none!important}
.owner-shortcut-card h3{margin:0 0 2px!important;font-size:14px!important}.owner-shortcut-card small{font-size:8.5px!important}
.owner-shortcut-card p{margin:5px 0!important;font-size:9.5px!important;line-height:1.3!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.owner-shortcut-card .ecosystem-project-capabilities{display:none!important}.owner-shortcut-card .ecosystem-project-action{min-height:29px!important;padding:5px 8px!important;border-radius:9px!important;font-size:8.5px!important}

.owner-systems{grid-column:1;min-width:0}
.owner-system-search{display:flex!important;gap:7px!important;margin:9px 0 9px!important}.owner-system-search .ecosystem-search-box{min-width:0;flex:1}
.owner-systems .ecosystem-project-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card){position:relative;min-height:92px!important;padding:12px 94px 11px 14px!important;border:1px solid #dfeaf3!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 16px rgba(20,61,117,.035)!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-head{margin:0 0 3px!important}.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) h3{margin:0 0 2px!important;font-size:13px!important}.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) small{font-size:8.5px!important}.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) p,.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-capabilities{display:none!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-action{position:absolute;right:12px;top:50%;transform:translateY(-50%);min-width:68px!important;min-height:31px!important;padding:5px 8px!important;border-radius:9px!important;font-size:8.5px!important}

.owner-today-panel{grid-column:2;padding:18px;border:1px solid var(--k-line);border-radius:22px;background:#fff;box-shadow:0 10px 26px rgba(20,61,117,.05)}
.owner-live-overall{display:inline-flex;align-items:center;min-height:28px;padding:4px 8px;border-radius:999px;background:#eef3f8;color:#70869d;font-size:9px;font-weight:900}.owner-live-overall.ready{background:#e9f7ef;color:#16855b}.owner-live-overall.checking{background:#edf5fc;color:#47749c}.owner-live-overall.attention{background:#fff4df;color:#a9690d}
.owner-summary{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin:11px 0!important}
.owner-summary>div{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:50px!important;padding:9px 10px!important;border:1px solid #e1edf5!important;border-radius:13px!important;background:#f9fcff!important;box-shadow:none!important}
.owner-summary>div:before{display:none!important}.owner-summary span{color:#647f99!important;font-size:9px!important}.owner-summary strong{color:var(--k-navy)!important;font-size:18px!important;line-height:1!important}
.owner-live-list{display:grid;gap:6px}.owner-live-list>p{margin:0;color:var(--k-muted);font-size:10px}
.owner-live-row{display:grid;grid-template-columns:9px minmax(0,1fr);gap:8px;align-items:center;padding:7px 8px;border:1px solid #edf3f7;border-radius:11px;background:#fbfdff}
.owner-live-row i{width:7px;height:7px;border-radius:50%;background:#9badbe}.owner-live-row.ready i{background:#19b779}.owner-live-row.checking i{background:#4f93c7}.owner-live-row.attention i{background:#f0a11c}
.owner-live-row span{display:grid;line-height:1.15}.owner-live-row strong{font-size:10px}.owner-live-row small{margin-top:2px;color:var(--k-muted);font-size:8px}.owner-today-link{display:inline-block;margin-top:9px;color:#176de5;font-size:9.5px;font-weight:850;text-decoration:none}

.owner-control-card{grid-column:1/-1;position:relative;min-height:155px;padding:22px 210px 20px 22px!important;border:1px solid #d4e7f4!important;border-radius:22px!important;overflow:hidden;background:linear-gradient(100deg,#edf8ff 0%,#fff 58%,#fff1df 100%)!important;box-shadow:0 9px 24px rgba(20,61,117,.05)!important}
.owner-control-copy{position:relative;z-index:2}.owner-control-copy .eyebrow{margin:0;color:var(--k-orange);font-size:9px;font-weight:900;letter-spacing:.1em}.owner-control-copy h2{margin:2px 0 4px;color:var(--k-navy);font-size:22px}.owner-control-copy>p:not(.eyebrow){margin:0 0 12px;color:#617d98;font-size:10px}
.owner-control-art{position:absolute;right:18px;bottom:0;width:170px;height:145px;background:url("./kruart-role-staff-final.webp") center bottom/contain no-repeat;pointer-events:none}
.owner-control-card .ecosystem-owner-grid{display:flex!important;gap:7px!important}.owner-control-card .ecosystem-owner-grid a{min-height:34px!important;padding:7px 10px!important;border:1px solid #cadae8!important;border-radius:10px!important;background:#fff!important;color:var(--k-navy)!important;font-size:9px!important;font-weight:850!important;text-decoration:none!important;box-shadow:none!important}

.owner-golden-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:108px;padding:18px 24px;border:1px solid #cde5f4;border-radius:22px;background:linear-gradient(90deg,rgba(229,248,255,.94),rgba(255,255,255,.9),rgba(255,240,218,.88)),url("./kruart-footer-final.webp") center/cover no-repeat;box-shadow:0 9px 24px rgba(20,61,117,.05)}
.owner-golden-footer .eyebrow{margin:0;color:var(--k-orange);font-size:8.5px;font-weight:900}.owner-golden-footer h2{margin:2px 0;color:var(--k-navy);font-size:18px}.owner-golden-footer p:not(.eyebrow){margin:0;color:#607b96;font-size:9.5px}.owner-golden-footer button{min-height:38px;padding:7px 13px;border:0;border-radius:11px;background:var(--k-navy);color:#fff;font-size:10px;font-weight:850}

.ecosystem-project-status.status-attention{background:#fff4df!important;color:#a9690d!important}.ecosystem-project-card[data-live-state="attention"]{border-color:#f1d9ae!important}

@media(max-width:1100px){
  .owner-golden-home{grid-template-columns:1fr}.owner-reference-hero,.owner-quick-panel,.owner-featured-systems,.owner-systems,.owner-today-panel,.owner-control-card,.owner-golden-footer{grid-column:1}.owner-quick-panel{grid-row:auto}
  .owner-featured-systems .ecosystem-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .owner-golden-home{width:calc(100% - 16px);margin:10px auto 86px!important;gap:12px}
  .owner-reference-hero{min-height:304px;padding:14px;border-radius:22px;background-position:center}
  .owner-reference-hero-panel{width:min(100%,330px);padding:16px 14px 14px;border-radius:20px}
  .owner-reference-hero-panel h1{font-size:18px}.owner-reference-hero-panel h1 strong{font-size:30px}.owner-reference-hero-panel>p:not(.eyebrow){font-size:9.5px;line-height:1.35}
  .owner-command-form{grid-template-columns:minmax(0,1fr) 54px;padding:5px}.owner-command-form input{min-height:44px!important;font-size:16px!important}.owner-command-form button{min-width:54px;min-height:44px;font-size:12px}
  .owner-quick-panel{padding:14px;border-radius:20px}.owner-quick-row{min-height:56px;padding:7px 8px}.owner-quick-icon{width:34px;height:34px}
  .owner-featured-systems .ecosystem-featured-grid{grid-template-columns:1fr!important;gap:7px!important}.owner-featured-systems .ecosystem-project-card.featured.owner-shortcut-card{min-height:112px!important;padding:10px 9px 9px 42%!important}.owner-shortcut-card:before{width:40%}.owner-shortcut-card h3{font-size:13px!important}.owner-shortcut-card p{font-size:8.5px!important;-webkit-line-clamp:1}
  .owner-system-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}.owner-systems .ecosystem-project-card:not(.owner-shortcut-card){min-height:86px!important}
  .owner-today-panel{padding:14px;border-radius:20px}.owner-summary{display:none!important}
  .owner-control-card{min-height:142px;padding:18px 136px 16px 16px!important}.owner-control-art{right:4px;width:132px;height:130px}.owner-control-copy h2{font-size:19px}.owner-control-copy>p:not(.eyebrow){font-size:8.5px}.owner-control-card .ecosystem-owner-grid{display:grid!important;grid-template-columns:1fr!important;max-width:145px}
  .owner-golden-footer{align-items:flex-start;flex-direction:column;min-height:118px;padding:16px;border-radius:20px}.owner-golden-footer h2{font-size:16px}.owner-golden-footer button{min-height:44px}
  .owner-global-nav{grid-column:1/-1;order:3;height:44px;justify-content:flex-start;overflow-x:auto;scrollbar-width:none}.owner-nav-item{padding:0 10px}.owner-nav-item.is-active:after{bottom:0}
}
@media(max-width:430px){
  .owner-reference-hero{min-height:286px}.owner-reference-hero-panel{width:100%}.owner-reference-hero-panel h1 strong{font-size:28px}
  .owner-quick-row{grid-template-columns:34px minmax(0,1fr) auto}.owner-quick-row strong{font-size:10.5px}.owner-quick-row small{font-size:8px}.owner-quick-row b{font-size:8px}
}


/* KRUART Visual Asset Slot Contract v1 — canonical image bindings.
 * Keep semantic slots stable; replace the variable value when new approved artwork arrives.
 * The fallbacks below intentionally reproduce the currently deployed m20 visuals.
 */
:root{
  --kruart-art-public-hero:url("./kruart-hero-final.webp");
  --kruart-art-public-role-student:url("./kruart-role-student-final.webp");
  --kruart-art-public-role-teacher:url("./kruart-role-teacher-final.webp");
  --kruart-art-public-role-parent:url("./kruart-role-parent-final.webp");
  --kruart-art-public-role-staff:url("./kruart-role-staff-final.webp");
  --kruart-art-public-news-school:url("./kruart-campus-bg.svg");
  --kruart-art-public-news-activity:url("./kruart-role-teacher-final.webp");
  --kruart-art-public-news-pride:url("./kruart-role-student-final.webp");
  --kruart-art-public-footer:url("./kruart-footer-final.webp");
  --kruart-art-auth-hero:url("./kruart-hero-final.webp");
  --kruart-art-awh-home:url("./kruart-role-staff-final.webp");
  --kruart-art-awh-signin:url("./kruart-role-student-final.webp");
  --kruart-art-owner-hero:url("./kruart-hero-final.webp");
  --kruart-art-owner-learnlab:url("./kruart-role-student-final.webp");
  --kruart-art-owner-bay:url("./kruart-role-teacher-final.webp");
  --kruart-art-owner-awh:url("./kruart-role-staff-final.webp");
  --kruart-art-owner-school:url("./kruart-hero-final.webp");
  --kruart-art-owner-control:url("./kruart-role-staff-final.webp");
  --kruart-art-owner-footer:url("./kruart-footer-final.webp");
  --kruart-art-system-infrastructure:url("./kruart-role-staff-final.webp");
  --kruart-art-system-hosting:url("./kruart-role-staff-final.webp");
}
.golden-session-view .session-hero-copy{background-image:var(--kruart-art-auth-hero)!important}
.awh-home-hero:after,.ecosystem-home-hero:after{background-image:var(--kruart-art-awh-home)!important}
.sign-in-copy:after{background-image:var(--kruart-art-awh-signin)!important}
.owner-reference-hero{background-image:linear-gradient(115deg,#f5faff 0%,#edf5ff 65%,#fff1e6 100%)!important}
.owner-shortcut-card.product-bay-learnlab:before{background-image:var(--kruart-art-owner-learnlab)!important}
.owner-shortcut-card.product-bay-excuse-x:before{background-image:var(--kruart-art-owner-bay)!important}
.owner-shortcut-card.product-awh:before{background-image:var(--kruart-art-owner-awh)!important}
.owner-shortcut-card.product-school-website:before{background-image:var(--kruart-art-owner-school)!important}
.owner-control-art{background-image:var(--kruart-art-owner-control)!important}
.owner-golden-footer{background-image:linear-gradient(90deg,rgba(229,248,255,.94),rgba(255,255,255,.9),rgba(255,240,218,.88)),var(--kruart-art-owner-footer)!important}
.infra-hero:after{background-image:var(--kruart-art-system-infrastructure)!important}
.hosting-hero:after{background-image:var(--kruart-art-system-hosting)!important}

/* KRUART Asset Vault Closure — exact approved logos, project banners and dedicated route art. */
:root{
  --kruart-art-public-news-school:url("./news-school-activity.webp");
  --kruart-art-public-news-activity:url("./news-learning.webp");
  --kruart-art-public-news-pride:url("./news-pride.webp");
  --kruart-art-awh-home:url("./awh-home-hero.webp");
  --kruart-art-awh-signin:url("./awh-home-hero.webp");
  --kruart-art-owner-learnlab:url("./project-learnlab.webp");
  --kruart-art-owner-bay:url("./project-bay-excuse-x.webp");
  --kruart-art-owner-awh:url("./project-awh.webp");
  --kruart-art-owner-school:url("./project-school.webp");
  --kruart-art-owner-control:url("./owner-control.webp");
  --kruart-art-system-infrastructure:url("./system-infrastructure.webp");
  --kruart-art-system-hosting:url("./system-hosting.webp");
}
.kruart-brand{min-width:205px!important;gap:8px!important}
.kruart-brand-logo{display:block;width:172px;height:auto;max-height:68px;object-fit:contain;object-position:left center;flex:0 0 auto}
.kruart-login-avatar img{content:url("./account-avatar.webp")!important;object-fit:cover!important;object-position:center!important}
.kruart-signin-logo{content:url("./brand-kruart-workspace.webp")!important;max-width:min(100%,330px)!important;height:auto!important;object-fit:contain!important}
.awh-home-hero:after,.ecosystem-home-hero:after{background-image:var(--kruart-art-awh-home)!important;background-position:center!important}
.sign-in-copy:after{background-image:var(--kruart-art-awh-signin)!important;background-position:center!important}
.cp-bay-visual img[data-kruart-art-slot="system.control-panel"],
.cp-hero-side img[data-kruart-art-slot="system.control-panel"]{content:url("./system-control-panel.webp")!important;object-fit:cover!important;object-position:center!important}

/* Project cards use the approved 16:9 project banner as the primary visual.
 * Metadata stays HTML and comes only from BAY's canonical registry. */
.ecosystem-project-card{overflow:hidden!important}
.ecosystem-project-media{position:relative;overflow:hidden;background:#eaf5ff}
.ecosystem-project-banner{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.ecosystem-project-body{min-width:0;display:flex;flex:1;flex-direction:column}
.ecosystem-project-logo{display:block;width:auto;max-width:118px;height:30px;object-fit:contain;object-position:left center;flex:0 1 auto}
.ecosystem-project-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
.ecosystem-project-status{flex:0 0 auto}
.ecosystem-project-body h3{color:var(--k-navy)!important}
.ecosystem-project-body>small{display:block;color:var(--k-muted)!important}
.ecosystem-project-body .ecosystem-project-action{position:static!important;transform:none!important;align-self:flex-start!important;margin-top:auto!important;min-height:36px!important;padding:7px 12px!important;border:1px solid #cfe0ef!important;border-radius:11px!important;background:#f8fbff!important;color:var(--k-blue)!important;font-weight:850!important;box-shadow:none!important}
.ecosystem-project-body .ecosystem-project-action:hover{border-color:#a9cce7!important;background:#eef7ff!important}

/* Featured systems: full-fidelity banner above compact metadata. */
.owner-featured-systems .ecosystem-featured-grid{align-items:stretch!important}
.owner-featured-systems .ecosystem-project-card.featured.owner-shortcut-card{
  display:flex!important;flex-direction:column!important;min-height:0!important;padding:0!important;border-radius:20px!important;background:#fff!important
}
.owner-featured-systems .owner-shortcut-card:before{display:none!important}
.owner-featured-systems .ecosystem-project-media{aspect-ratio:1672/941;border-bottom:1px solid #e4edf5}
.owner-featured-systems .ecosystem-project-body{padding:11px 12px 12px!important}
.owner-featured-systems .ecosystem-project-head{min-height:32px!important;margin:0 0 6px!important}
.owner-featured-systems .ecosystem-project-logo{max-width:100px;height:28px}
.owner-featured-systems .ecosystem-project-body h3{margin:0 0 2px!important;font-size:14px!important}
.owner-featured-systems .ecosystem-project-body>small{font-size:8.5px!important}
.owner-featured-systems .ecosystem-project-body>p{margin:6px 0 9px!important;font-size:9.5px!important;line-height:1.35!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.owner-featured-systems .ecosystem-project-capabilities{display:none!important}
.owner-featured-systems .ecosystem-project-body .ecosystem-project-action{font-size:9px!important}

/* Other systems: keep the list compact while still showing the approved banner. */
.owner-systems .ecosystem-project-grid{gap:10px!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card){
  display:grid!important;grid-template-columns:minmax(180px,32%) minmax(0,1fr)!important;min-height:142px!important;padding:0!important;border-radius:18px!important;background:#fff!important
}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card):not(.has-visual){grid-template-columns:1fr!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-media{min-height:142px;border-right:1px solid #e4edf5}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body{padding:12px 14px!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-head{margin:0 0 5px!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-logo{max-width:105px;height:28px}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body h3{margin:0 0 2px!important;font-size:13px!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body>small{font-size:8.5px!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body>p{display:-webkit-box!important;margin:5px 0 8px!important;font-size:9px!important;line-height:1.35!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-capabilities{display:none!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body .ecosystem-project-action{font-size:8.5px!important}

/* Dedicated P1 art replaces generic role-card reuse on contextual surfaces. */
.owner-control-art{background-image:var(--kruart-art-owner-control)!important;background-position:center!important;background-size:cover!important;border-radius:18px 18px 0 0}
.infra-hero:after{background-image:var(--kruart-art-system-infrastructure)!important;background-position:center!important}
.hosting-hero:after{background-image:var(--kruart-art-system-hosting)!important;background-position:center!important}

@media(max-width:1220px){
  .kruart-brand{min-width:170px!important}
  .kruart-brand-logo{width:158px}
}
@media(max-width:760px){
  .kruart-brand{min-width:0!important}
  .kruart-brand-logo{width:145px;max-height:58px}
  .owner-featured-systems .ecosystem-featured-grid{grid-template-columns:1fr!important}
  .owner-featured-systems .ecosystem-project-card.featured.owner-shortcut-card{min-height:0!important}
  .owner-featured-systems .ecosystem-project-media{aspect-ratio:1672/941}
  .owner-featured-systems .ecosystem-project-body{padding:11px 12px 12px!important}
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card){display:flex!important;flex-direction:column!important;min-height:0!important}
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-media{width:100%;min-height:0;aspect-ratio:1672/941;border-right:0;border-bottom:1px solid #e4edf5}
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body{padding:11px 12px 12px!important}
  .ecosystem-project-logo{max-width:104px;height:28px}
}
@media(max-width:430px){
  .kruart-brand-logo{width:132px;max-height:54px}
  .owner-featured-systems .ecosystem-project-body>p,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body>p{-webkit-line-clamp:2!important}
}

/* Official logos on the public systems strip. */
.kruart-system-grid>a,.kruart-system-grid>button{grid-template-columns:72px minmax(0,1fr) 12px!important}
.kruart-system-grid>a>span,.kruart-system-grid>button>span{width:68px!important;height:48px!important;background:#fff!important}
.kruart-system-grid img.kruart-system-logo{width:64px!important;height:44px!important;object-fit:contain!important;object-position:center!important}
@media(max-width:560px){
  .kruart-system-grid>a,.kruart-system-grid>button{grid-template-columns:64px minmax(0,1fr) 12px!important}
  .kruart-system-grid>a>span,.kruart-system-grid>button>span{width:60px!important;height:46px!important}
  .kruart-system-grid img.kruart-system-logo{width:56px!important;height:42px!important}
}

/* Mobile composition closure — banners become supporting thumbnails, not full-page posters. */
@media(max-width:760px){
  .kruart-brand-logo{width:148px!important;max-height:56px!important}
  .owner-featured-systems .ecosystem-featured-grid,
  .owner-systems .ecosystem-project-grid{gap:8px!important}
  .owner-featured-systems .ecosystem-project-card.featured.owner-shortcut-card,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card){
    display:grid!important;
    grid-template-columns:118px minmax(0,1fr)!important;
    min-height:118px!important;
    border-radius:16px!important;
    overflow:hidden!important;
    align-items:stretch!important;
  }
  .owner-featured-systems .ecosystem-project-card.featured.owner-shortcut-card:not(.has-visual),
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card):not(.has-visual){grid-template-columns:1fr!important;min-height:92px!important}
  .owner-featured-systems .ecosystem-project-media,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-media{
    width:118px!important;
    height:100%!important;
    min-height:118px!important;
    aspect-ratio:auto!important;
    border:0!important;
    border-right:1px solid #e4edf5!important;
    background:#eef7ff!important;
  }
  .owner-featured-systems .ecosystem-project-banner,
  .owner-systems .ecosystem-project-banner{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
  .owner-featured-systems .ecosystem-project-body,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body{padding:10px 10px 9px!important;min-height:0!important}
  .owner-featured-systems .ecosystem-project-head,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-head{min-height:24px!important;margin:0 0 3px!important;gap:5px!important}
  .owner-featured-systems .ecosystem-project-logo,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-logo{max-width:78px!important;height:22px!important}
  .owner-featured-systems .ecosystem-project-status,
  .owner-systems .ecosystem-project-status{font-size:7.5px!important;padding:3px 6px!important;white-space:nowrap!important}
  .owner-featured-systems .ecosystem-project-body h3,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body h3{font-size:11.5px!important;line-height:1.2!important;margin:0 0 1px!important}
  .owner-featured-systems .ecosystem-project-body>small,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body>small{font-size:7.5px!important;line-height:1.25!important}
  .owner-featured-systems .ecosystem-project-body>p,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body>p{display:-webkit-box!important;margin:4px 0 6px!important;font-size:8px!important;line-height:1.3!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .owner-featured-systems .ecosystem-project-capabilities,
  .owner-systems .ecosystem-project-capabilities{display:none!important}
  .owner-featured-systems .ecosystem-project-body .ecosystem-project-action,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body .ecosystem-project-action{
    min-height:34px!important;
    padding:5px 9px!important;
    margin-top:auto!important;
    border-radius:9px!important;
    font-size:8px!important;
    align-self:flex-start!important;
  }
}
@media(max-width:430px){
  .owner-featured-systems .ecosystem-project-card.featured.owner-shortcut-card,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card){grid-template-columns:108px minmax(0,1fr)!important;min-height:110px!important}
  .owner-featured-systems .ecosystem-project-media,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-media{width:108px!important;min-height:110px!important}
  .owner-featured-systems .ecosystem-project-body,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body{padding:9px 9px 8px!important}
}

/* Final UX closure — hierarchy, truthfulness, accessibility and runtime-image policy. */
.ecosystem-project-media{isolation:isolate;background:linear-gradient(110deg,#edf7ff 25%,#f8fbff 40%,#edf7ff 58%);background-size:220% 100%;animation:kruart-media-pulse 1.25s ease-in-out infinite}
.ecosystem-project-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent);opacity:.45;pointer-events:none;transition:opacity .18s ease}
.ecosystem-project-media .ecosystem-project-banner{opacity:0;transition:opacity .2s ease}
.ecosystem-project-media.is-loaded{animation:none;background:#edf7ff}.ecosystem-project-media.is-loaded:after{opacity:0}.ecosystem-project-media.is-loaded .ecosystem-project-banner{opacity:1}
.ecosystem-project-media.is-error{animation:none;background:#f3f7fa}.ecosystem-project-media.is-error:after{display:none}
@keyframes kruart-media-pulse{0%,100%{background-position:100% 0}50%{background-position:0 0}}
@media(prefers-reduced-motion:reduce){.ecosystem-project-media{animation:none}.ecosystem-project-media .ecosystem-project-banner{transition:none}}

.ecosystem-project-badges{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap;margin-left:auto}
.ecosystem-project-status,.ecosystem-project-health{display:inline-flex;align-items:center;min-height:25px;padding:4px 8px;border-radius:999px;font-size:11px!important;font-weight:850!important;line-height:1;white-space:nowrap}
.lifecycle-badge{background:#eef4fa!important;color:#55718d!important}
.lifecycle-badge.lifecycle-production{background:#eaf8f1!important;color:#137b54!important}
.lifecycle-badge.lifecycle-staging{background:#fff3e1!important;color:#a66008!important}
.lifecycle-badge.lifecycle-pilot{background:#fff7dc!important;color:#9a6908!important}
.lifecycle-badge.lifecycle-prototype{background:#fff2e9!important;color:#b35d17!important}
.lifecycle-badge.lifecycle-internal{background:#f0f2f6!important;color:#5f6979!important}
.ecosystem-project-health{background:#edf3f8;color:#667e96}.ecosystem-project-health.ready{background:#e9f8ef;color:#16855b}.ecosystem-project-health.attention{background:#fff2df;color:#a9690d}
.ecosystem-project-card.lifecycle-prototype{border-style:dashed!important;background:#fbfcfe!important;box-shadow:none!important}
.ecosystem-project-card.lifecycle-internal{border-style:dashed!important;background:#f8fafc!important;box-shadow:none!important}
.ecosystem-project-card.lifecycle-internal .ecosystem-project-logo{filter:saturate(.7);opacity:.85}

/* Desktop: featured systems stay premium without becoming poster cards. */
.owner-featured-systems .ecosystem-featured-grid{gap:12px!important}
.owner-featured-systems .ecosystem-project-card.featured.owner-shortcut-card{min-height:246px!important;max-height:276px!important}
.owner-featured-systems .ecosystem-project-media{height:112px!important;min-height:112px!important;aspect-ratio:auto!important;border-bottom:1px solid #e4edf5}
.owner-featured-systems .ecosystem-project-banner{object-fit:cover!important;object-position:center 46%!important}
.owner-featured-systems .ecosystem-project-body{padding:12px 13px 13px!important}
.owner-featured-systems .ecosystem-project-head{min-height:25px!important;margin:0 0 4px!important;justify-content:flex-end!important}
.owner-featured-systems .ecosystem-project-logo{display:none!important}
.owner-featured-systems .ecosystem-project-body h3{margin:0 0 3px!important;font-size:16px!important;line-height:1.22!important}
.owner-featured-systems .ecosystem-project-body>small{font-size:11px!important;line-height:1.3!important}
.owner-featured-systems .ecosystem-project-body>p{margin:6px 0 10px!important;font-size:12px!important;line-height:1.4!important;-webkit-line-clamp:2!important}
.owner-featured-systems .ecosystem-project-body .ecosystem-project-action{min-height:40px!important;padding:8px 12px!important;font-size:12px!important;border-radius:11px!important;width:100%!important;justify-content:center!important}

/* Desktop: secondary systems use the available width instead of creating one long column. */
.owner-system-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important}
.owner-system-search .ecosystem-search-box{min-width:0!important}
.owner-system-directory-link{width:auto!important;min-width:104px!important;padding-inline:13px!important;white-space:nowrap!important}
.owner-systems .ecosystem-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card){grid-template-columns:118px minmax(0,1fr)!important;min-height:142px!important;padding:0!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card):not(.has-visual){grid-template-columns:1fr!important;min-height:126px!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-media{width:118px!important;min-height:142px!important;border-right:1px solid #e4edf5!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-banner{object-fit:cover!important;object-position:23% center!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body{padding:11px 12px 12px!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-head{min-height:27px!important;margin:0 0 3px!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-logo{max-width:86px!important;height:25px!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body h3{margin:0 0 2px!important;font-size:15px!important;line-height:1.22!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body>small{font-size:11px!important;line-height:1.3!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body>p{display:-webkit-box!important;margin:4px 0 8px!important;font-size:12px!important;line-height:1.35!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body .ecosystem-project-action{min-height:38px!important;padding:7px 10px!important;font-size:11.5px!important;width:100%!important;justify-content:center!important}
.owner-today-panel{align-self:start!important;position:sticky;top:92px}
.ecosystem-empty{grid-column:1/-1!important;min-height:88px!important;display:grid!important;place-items:center!important;padding:18px!important;border:1px dashed #cdddea!important;border-radius:16px!important;background:#fbfdff!important;color:#647e99!important;font-size:13px!important;text-align:center!important}

/* Accessible tap and reading sizes: reduce information, never legibility. */
.owner-quick-row{min-height:62px!important}.owner-quick-row strong{font-size:13px!important}.owner-quick-row small{font-size:11px!important}.owner-quick-row b{font-size:11px!important}
.owner-control-copy .eyebrow,.owner-section-title>div>span,.owner-today-head .eyebrow{font-size:10.5px!important}
.owner-control-copy>p:not(.eyebrow),.owner-golden-footer p:not(.eyebrow){font-size:12px!important;line-height:1.4!important}
.owner-control-card .ecosystem-owner-grid a,.owner-golden-footer button{min-height:44px!important;font-size:12px!important}
.owner-live-overall{min-height:29px!important;font-size:11px!important}.owner-summary span{font-size:11px!important}.owner-live-list>p{font-size:12px!important}.owner-live-row strong{font-size:12px!important}.owner-live-row small{font-size:10.5px!important}.owner-today-link{font-size:11.5px!important}

@media(max-width:1100px){
  .owner-today-panel{position:static!important}
  .owner-systems .ecosystem-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:760px){
  .kruart-header{min-height:56px!important;padding:4px 0 0!important;gap:4px 8px!important}
  .kruart-brand-logo{width:132px!important;max-height:46px!important}
  .kruart-header-actions{top:5px!important}.account-button{min-width:50px!important;min-height:44px!important;padding:0 10px!important;font-size:13px!important}
  .owner-global-nav{height:44px!important}.owner-nav-item{min-height:44px!important;padding:0 9px!important;font-size:11px!important}.owner-nav-item img{width:21px!important;height:21px!important}
  .owner-reference-hero{min-height:276px!important}.owner-reference-hero-panel>p:not(.eyebrow){font-size:12px!important}.owner-command-form input{min-height:44px!important;font-size:16px!important}.owner-command-form button{min-height:44px!important;font-size:12px!important}
  .owner-featured-systems .ecosystem-featured-grid,.owner-systems .ecosystem-project-grid{grid-template-columns:1fr!important;gap:9px!important}
  .owner-featured-systems .ecosystem-project-card.featured.owner-shortcut-card,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card){display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;min-height:142px!important;max-height:none!important}
  .owner-featured-systems .ecosystem-project-card.featured.owner-shortcut-card:not(.has-visual),
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card):not(.has-visual){grid-template-columns:1fr!important;min-height:118px!important}
  .owner-featured-systems .ecosystem-project-media,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-media{width:110px!important;height:100%!important;min-height:142px!important;border:0!important;border-right:1px solid #e4edf5!important}
  .owner-featured-systems .ecosystem-project-banner,
  .owner-systems .ecosystem-project-banner{object-fit:cover!important;object-position:21% center!important}
  .owner-featured-systems .ecosystem-project-body,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body{padding:10px 10px 9px!important}
  .owner-featured-systems .ecosystem-project-head,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-head{min-height:28px!important;margin:0 0 3px!important;justify-content:space-between!important}
  .owner-featured-systems .ecosystem-project-logo{display:block!important;max-width:72px!important;height:24px!important}
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-logo{max-width:72px!important;height:24px!important}
  .ecosystem-project-badges{gap:3px!important}.ecosystem-project-status,.ecosystem-project-health{min-height:23px!important;padding:4px 6px!important;font-size:10px!important}
  .owner-featured-systems .ecosystem-project-body h3,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body h3{font-size:15px!important;line-height:1.18!important;margin:0 0 1px!important}
  .owner-featured-systems .ecosystem-project-body>small,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body>small{font-size:11px!important;line-height:1.25!important}
  .owner-featured-systems .ecosystem-project-body>p,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body>p{display:-webkit-box!important;margin:3px 0 6px!important;font-size:12px!important;line-height:1.3!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .owner-featured-systems .ecosystem-project-body .ecosystem-project-action,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-body .ecosystem-project-action{min-height:44px!important;padding:7px 10px!important;margin-top:auto!important;border-radius:10px!important;font-size:12px!important;width:100%!important;justify-content:center!important}
  .owner-control-copy>p:not(.eyebrow){font-size:11.5px!important}.owner-control-card .ecosystem-owner-grid{max-width:158px!important}
}

@media(max-width:560px){
  .kruart-header .global-nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;height:44px!important;overflow:visible!important}
  .kruart-header .global-nav-item{display:flex!important;min-width:0!important;min-height:44px!important;padding:0 3px!important;gap:4px!important;justify-content:center!important}
  .kruart-header .global-nav-item:nth-child(4),.kruart-header .global-nav-item:nth-child(5){display:none!important}
  .kruart-header .global-nav-item.global-nav-more{display:flex!important}
  .kruart-header .global-nav-item img{width:20px!important;height:20px!important}.kruart-header .global-nav-item span{font-size:10px!important}
}

@media(max-width:430px){
  .kruart-brand-logo{width:124px!important;max-height:44px!important}
  .owner-featured-systems .ecosystem-project-card.featured.owner-shortcut-card,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card){grid-template-columns:104px minmax(0,1fr)!important;min-height:140px!important}
  .owner-featured-systems .ecosystem-project-media,
  .owner-systems .ecosystem-project-card:not(.owner-shortcut-card) .ecosystem-project-media{width:104px!important;min-height:140px!important}
}

/* Authenticated mobile uses exactly one navigation row; the public four-item row must not reappear. */
@media(max-width:560px){
  body.ecosystem-home-active .kruart-header .global-nav,
  body.work-active .kruart-header .global-nav{display:none!important}
  body.ecosystem-home-active .owner-global-nav,
  body.work-active .owner-global-nav{display:none!important}
}


/* Public mobile accessibility closure — readable text without inflating the page hierarchy. */
@media(max-width:560px){
  body.public-home-active .kruart-panel-head>a{font-size:12px!important}
}
/* AWH authenticated workspace closure — one route, one active state, one compact command hero. */
.product-dashboard .awh-home-hero{min-height:0!important;padding:30px 34px 28px!important;border-radius:24px!important}
.product-dashboard .awh-home-hero-art{display:none!important}
.product-dashboard .awh-home-hero:after{content:none!important;display:none!important}
.product-dashboard .awh-home-hero h1{font-size:clamp(34px,4.2vw,48px)!important;max-width:690px!important}
.product-dashboard .awh-home-hero>p{margin:10px 0 18px!important;max-width:650px!important;font-size:14px!important;line-height:1.5!important}
.product-dashboard .awh-command-form{max-width:760px!important}
.product-dashboard .awh-command-form textarea{min-height:54px!important}
@media(min-width:761px){.product-dashboard{grid-template-columns:184px minmax(0,1fr)!important;gap:22px!important}.awh-product-nav{min-height:calc(100vh - 118px)!important}.awh-product-nav-brand{padding-bottom:14px!important}.awh-product-nav-item{min-height:46px!important}}
@media(max-width:980px) and (min-width:761px){.product-dashboard .awh-home-hero{padding-right:34px!important}.product-dashboard .awh-home-hero:after{display:none!important}}
@media(max-width:760px){.product-dashboard .awh-home-hero{padding:18px 14px 14px!important}.product-dashboard .awh-home-hero:after{display:none!important}.product-dashboard .awh-home-hero h1{font-size:28px!important}.product-dashboard .awh-home-hero>p{font-size:13px!important}.product-dashboard .awh-command-form textarea{min-height:48px!important}}

/* v2 UI authority — kruart.online is AWH, so signed-in work keeps the public Golden visual DNA without duplicating the public portal. */
.product-dashboard .awh-home-hero{
  border-color:#c9e3f4!important;
  background-image:linear-gradient(104deg,rgba(239,249,255,.97) 0%,rgba(249,253,255,.96) 58%,rgba(255,241,224,.94) 100%),url("./kruart-hero-final.webp")!important;
  background-position:center!important;background-size:cover!important;
  box-shadow:0 14px 38px rgba(20,61,117,.08)!important
}
.product-dashboard .awh-home-kicker{color:var(--k-orange)!important;font-weight:900!important;letter-spacing:.1em!important}
.product-dashboard .awh-home-hero h1{color:var(--k-navy)!important;line-height:1.3!important;letter-spacing:-.02em!important}
.product-dashboard .awh-command-form{border-color:#c7deef!important;background:rgba(255,255,255,.96)!important;box-shadow:0 8px 22px rgba(20,61,117,.06)!important}
.product-dashboard .awh-command-send{min-height:var(--k-touch)!important;background:var(--k-blue)!important;color:var(--k-surface)!important;box-shadow:var(--k-shadow)!important}

/* Public Home convergence: one clear path instead of repeated shortcuts/directories. */

/* Mobile AI composer contract — prevent iOS focus zoom and keep Send inside the viewport. */
.owner-reference-hero-panel,.owner-command-form,.owner-command-form input,.owner-command-form button{box-sizing:border-box}
.owner-reference-hero-panel{min-width:0;max-width:100%}
.owner-command-form{width:100%;min-width:0;max-width:590px}
.owner-command-form input{width:100%;min-width:0;font-size:16px!important;line-height:1.4!important;-webkit-text-size-adjust:100%}
.owner-command-form button{min-height:48px;white-space:nowrap;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.owner-command-form button[aria-busy="true"]{opacity:.72;cursor:progress}
@media(max-width:760px){
  .owner-reference-hero-panel{width:min(100%,360px)!important;padding-inline:12px!important}
  .owner-command-form{grid-template-columns:minmax(0,1fr) 58px!important;gap:6px!important;width:100%!important;max-width:100%!important;padding:5px!important;border-radius:17px!important}
  .owner-command-form input{min-height:48px!important;width:100%!important;min-width:0!important;padding-inline:10px!important;font-size:16px!important;line-height:1.35!important}
  .owner-command-form button{width:58px!important;min-width:58px!important;min-height:48px!important;padding:0 8px!important;font-size:14px!important;border-radius:12px!important}
  #goal-input{font-size:16px!important;line-height:1.4!important}
}


/* Visible Experience Wave — readable, touch-first owner workspace. */
.owner-golden-home{max-width:1320px;gap:20px 22px}
.owner-section-title>div>span,.owner-today-head .eyebrow,.owner-control-copy .eyebrow,.owner-golden-footer .eyebrow{font-size:12px!important;line-height:1.4!important}
.owner-section-title h2,.owner-today-head h2{font-size:24px!important;line-height:1.25!important}
.owner-section-title>a,.owner-today-link{font-size:13px!important;min-height:44px;display:inline-flex;align-items:center}
.owner-quick-panel,.owner-today-panel{padding:22px!important}
.owner-quick-list{gap:10px;margin-top:14px}
.owner-quick-row{min-height:72px!important;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;padding:11px 12px}
.owner-quick-icon{width:44px;height:44px}.owner-quick-icon img{width:36px;height:36px}
.owner-quick-row strong{font-size:15px!important;line-height:1.35}.owner-quick-row small{font-size:12px!important;line-height:1.45}.owner-quick-row b{font-size:12px!important}
.owner-reference-hero-panel .eyebrow{font-size:12px!important}.owner-reference-hero-panel>p:not(.eyebrow){font-size:15px!important;line-height:1.55!important}
.owner-command-suggestions{gap:8px;margin-top:12px}.owner-command-suggestions button{min-height:44px!important;padding:8px 13px;font-size:12px!important}
.owner-featured-systems .ecosystem-project-body>small,.owner-systems .ecosystem-project-card:not(.owner-shortcut-card) small{font-size:12px!important;line-height:1.4!important}
.owner-featured-systems .ecosystem-project-body>p{font-size:13px!important;line-height:1.5!important}
.owner-featured-systems .ecosystem-project-body .ecosystem-project-action,.owner-systems .ecosystem-project-body .ecosystem-project-action{min-height:44px!important;font-size:12px!important}
.owner-live-overall{min-height:32px!important;font-size:12px!important}.owner-live-row{min-height:52px;padding:9px 10px}.owner-live-row strong{font-size:13px!important}.owner-live-row small{font-size:11px!important}
.owner-summary span{font-size:12px!important}.owner-control-copy>p:not(.eyebrow),.owner-golden-footer p:not(.eyebrow){font-size:13px!important;line-height:1.5!important}
.owner-control-card .ecosystem-owner-grid a,.owner-golden-footer button{min-height:44px!important;font-size:13px!important}
@media(max-width:760px){
  .owner-golden-home{width:calc(100% - 20px);gap:14px;margin-top:12px!important}
  .owner-reference-hero{min-height:330px!important;padding:12px}.owner-reference-hero-panel{width:100%!important;max-width:390px!important;padding:20px 16px!important}
  .owner-reference-hero-panel h1{font-size:22px!important}.owner-reference-hero-panel h1 strong{font-size:34px!important}.owner-reference-hero-panel>p:not(.eyebrow){font-size:14px!important}
  .owner-command-suggestions{display:flex!important}.owner-command-suggestions button{flex:1 1 calc(50% - 4px);min-height:44px!important;font-size:11px!important}
  .owner-quick-panel,.owner-today-panel{padding:16px!important}.owner-quick-row{min-height:68px!important;grid-template-columns:44px minmax(0,1fr)}.owner-quick-row b{display:none}
  .owner-quick-row strong{font-size:14px!important}.owner-quick-row small{font-size:12px!important}
  .owner-featured-systems .ecosystem-project-body>small{font-size:12px!important}.owner-featured-systems .ecosystem-project-body>p{font-size:12px!important;-webkit-line-clamp:2!important}
}

/* AWH sign-in belongs to the existing light workbench. On mobile, use the
   already-loaded brand header and a single form — not two competing heroes. */
.signin-home-cue{display:none}
@media(max-width:760px){
  body:has(#sign-in-view:not([hidden])) .app-header{
    display:flex!important;align-items:center!important;min-height:68px!important;
    gap:0!important;border-bottom:0!important;box-shadow:none!important
  }
  body:has(#sign-in-view:not([hidden])) .kruart-brand{
    display:flex!important;width:100%!important;min-width:0!important;
    justify-content:space-between!important;gap:12px!important
  }
  body:has(#sign-in-view:not([hidden])) .global-nav,
  body:has(#sign-in-view:not([hidden])) #owner-global-nav,
  body:has(#sign-in-view:not([hidden])) .kruart-header-actions{
    display:none!important
  }
  body:has(#sign-in-view:not([hidden])) .signin-home-cue{
    display:inline-flex;align-items:center;justify-content:flex-end;
    flex:none;min-height:44px;color:var(--k-navy);
    font-size:13px;font-weight:750
  }
  #sign-in-view:not([hidden]){
    grid-template-columns:minmax(0,1fr)!important;
    align-content:start!important;align-items:start!important;
    min-height:0!important;max-width:480px;margin:0 auto!important;
    gap:0!important;padding:12px 0 calc(36px + env(safe-area-inset-bottom))!important
  }
  #sign-in-view .sign-in-copy{display:none!important}
  #sign-in-view #login-form{
    width:100%!important;min-width:0!important;max-width:100%!important;
    display:grid!important;gap:11px!important;
    padding:clamp(20px,5vw,28px)!important;margin:0!important;
    border:1px solid var(--k-line)!important;border-radius:22px!important;
    box-shadow:0 12px 34px rgba(20,61,117,.075)!important
  }
  #sign-in-view #login-form::before{display:none}
  #sign-in-view #login-form h2{
    font-size:clamp(24px,6vw,28px);line-height:1.35
  }
  #sign-in-view #login-form .muted{
    margin:0 0 6px!important;font-size:13px;line-height:1.6
  }
  #sign-in-view #login-form label{color:var(--awh-text)!important;font-size:13px}
  #sign-in-view #login-form input:not([type="checkbox"]){
    min-width:0;min-height:48px;font-size:16px!important
  }
  #sign-in-view #login-form .check-row{
    min-height:44px;align-items:center;gap:10px
  }
  #sign-in-view #login-form .primary-button{
    min-height:48px!important;margin-top:3px
  }
  #sign-in-view #login-form .auth-secondary-actions{
    gap:10px;justify-content:space-between
  }
  #sign-in-view #login-form .auth-secondary-actions button{
    min-height:44px
  }
  #sign-in-view #login-form .web-app-entry{
    margin-top:4px
  }
}
