:root{
  --rhk-smart-brand:#078e91;
  --rhk-smart-brand-rgb:7,142,145;
  --rhk-smart-deep:#063f42;
  --rhk-smart-deep-rgb:6,63,66;
  --rhk-smart-ink:#173b3d;
  --rhk-smart-muted:#718789;
  --rhk-smart-line:#d7e7e5;
  --rhk-smart-soft:#eaf7f5;
  --rhk-smart-page:#f2f8f7;
}

*{box-sizing:border-box}
html,body{width:100%;height:100%;margin:0}
body.rhk-smart-shell{overflow:hidden;color:var(--rhk-smart-ink);background:var(--rhk-smart-page);font-family:Inter,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;-webkit-font-smoothing:antialiased}
body.rhk-smart-shell a{-webkit-tap-highlight-color:transparent}
body.rhk-smart-shell a:focus-visible{outline:3px solid rgba(var(--rhk-smart-brand-rgb),.22);outline-offset:2px}

.rhk-smart-shell .rhk-smart-app{height:100dvh;min-height:0;display:flex;flex-direction:column;background:radial-gradient(circle at 83% 0,rgba(var(--rhk-smart-brand-rgb),.07),transparent 24rem),var(--rhk-smart-page)}
.rhk-smart-shell .rhk-smart-header{position:relative;z-index:5;min-height:72px;padding:10px clamp(14px,2.7vw,34px);display:grid;grid-template-columns:minmax(230px,1fr) auto minmax(230px,1fr);align-items:center;gap:20px;border-bottom:1px solid var(--rhk-smart-line);background:rgba(255,255,255,.94);box-shadow:0 5px 20px rgba(var(--rhk-smart-deep-rgb),.055);backdrop-filter:blur(18px)}
.rhk-smart-shell .rhk-smart-header::after{content:"";position:absolute;left:0;bottom:-1px;width:190px;height:2px;background:linear-gradient(90deg,var(--rhk-smart-brand),transparent)}
.rhk-smart-shell .rhk-smart-brand{min-width:0;display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none}
.rhk-smart-shell .rhk-smart-brand-mark{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:13px;color:#fff;background:linear-gradient(145deg,#0ba4a5,var(--rhk-smart-deep));box-shadow:0 9px 22px rgba(var(--rhk-smart-brand-rgb),.22);font-size:10px;font-weight:900;letter-spacing:-.04em}
.rhk-smart-shell .rhk-smart-brand-copy{min-width:0}
.rhk-smart-shell .rhk-smart-brand-copy strong,.rhk-smart-shell .rhk-smart-brand-copy small{display:block;white-space:nowrap}
.rhk-smart-shell .rhk-smart-brand-copy strong{font-size:17px;font-weight:850;letter-spacing:-.02em}
.rhk-smart-shell .rhk-smart-brand-copy small{margin-top:2px;color:var(--rhk-smart-muted);font-size:8px;font-weight:760;letter-spacing:.13em}
.rhk-smart-shell .rhk-smart-status{min-width:0;padding:8px 13px;display:grid;grid-template-columns:8px auto;column-gap:7px;align-items:center;border:1px solid rgba(var(--rhk-smart-brand-rgb),.14);border-radius:999px;background:var(--rhk-smart-soft);color:var(--rhk-smart-deep)}
.rhk-smart-shell .rhk-smart-status i{width:8px;height:8px;border-radius:50%;background:var(--rhk-smart-brand);box-shadow:0 0 0 4px rgba(var(--rhk-smart-brand-rgb),.1)}
.rhk-smart-shell .rhk-smart-status span{font-size:10px;font-weight:850;white-space:nowrap}
.rhk-smart-shell .rhk-smart-status small{grid-column:1/-1;margin-top:2px;color:#678183;font-size:8px;text-align:center;white-space:nowrap}
.rhk-smart-shell .rhk-smart-actions{min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:8px}
.rhk-smart-shell .rhk-smart-actions a{min-height:39px;padding:9px 12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--rhk-smart-line);border-radius:11px;color:#496b6d;background:#fff;text-decoration:none;font-size:10px;font-weight:800;white-space:nowrap}
.rhk-smart-shell .rhk-smart-actions a.is-primary{border-color:transparent;color:#fff;background:var(--rhk-smart-brand);box-shadow:0 7px 17px rgba(var(--rhk-smart-brand-rgb),.2)}

.rhk-smart-shell .rhk-smart-workspace{position:relative;min-height:0;flex:1;overflow:hidden;background:var(--rhk-smart-page)}
.rhk-smart-shell .rhk-smart-workspace iframe{position:relative;z-index:1;display:block;width:100%;height:100%;border:0;background:var(--rhk-smart-page)}
.rhk-smart-shell .rhk-smart-loading{position:absolute;z-index:2;inset:0;display:flex;align-items:center;justify-content:center;gap:14px;padding:24px;pointer-events:none;color:var(--rhk-smart-deep);background:radial-gradient(circle at 50% 40%,rgba(var(--rhk-smart-brand-rgb),.08),transparent 25rem),var(--rhk-smart-page);transition:opacity .18s ease,visibility .18s ease}
.rhk-smart-shell .rhk-smart-loading.is-hidden{opacity:0;visibility:hidden}
.rhk-smart-shell .rhk-smart-loading-mark{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:15px;color:#fff;background:linear-gradient(145deg,#0ba4a5,var(--rhk-smart-deep));box-shadow:0 10px 25px rgba(var(--rhk-smart-brand-rgb),.2);font-size:18px;font-weight:900}
.rhk-smart-shell .rhk-smart-loading strong,.rhk-smart-shell .rhk-smart-loading small{display:block}
.rhk-smart-shell .rhk-smart-loading strong{font-size:15px}
.rhk-smart-shell .rhk-smart-loading small{margin-top:4px;color:var(--rhk-smart-muted);font-size:10px;line-height:1.55}

@media(max-width:760px){
  .rhk-smart-shell .rhk-smart-header{min-height:66px;padding:8px 10px;grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .rhk-smart-shell .rhk-smart-brand{gap:8px}
  .rhk-smart-shell .rhk-smart-brand-mark{width:37px;height:37px;flex-basis:37px;border-radius:11px}
  .rhk-smart-shell .rhk-smart-brand-copy strong{font-size:14px}
  .rhk-smart-shell .rhk-smart-brand-copy small,.rhk-smart-shell .rhk-smart-status,.rhk-smart-shell .rhk-smart-actions a:first-child{display:none}
  .rhk-smart-shell .rhk-smart-actions a{min-height:37px;padding:8px 10px;font-size:9px}
}

@media(max-width:380px){
  .rhk-smart-shell .rhk-smart-brand-copy small{display:none}
  .rhk-smart-shell .rhk-smart-actions a{padding-inline:8px}
}

@media(prefers-reduced-motion:reduce){
  .rhk-smart-shell *{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
