/* Shared frame; editor/mobile workflow styles keep their own layout. */
.workspace-shell .nav a.active { background: #e8eddf; color: #233d2e; font-weight: 650; }
.workspace-shell .workspace-note { padding: 18px 12px; border-top: 1px solid var(--line); }
.workspace-shell .workspace-note span { font-size: 13px; font-weight: 600; }
.workspace-shell .workspace-note p { margin-top: 6px; font-size: 12px; color: var(--muted); }
.workspace-mobile-menu { display: none; }
.console-layout .gift-workspace { max-width: 1000px; margin: 0; padding: 0; }
.console-layout .gift-workspace > h1 { margin: 18px 0 10px; }
.console-layout .gift-workspace > p { margin-bottom: 24px; }
.console-layout .gift-workspace .panel { border-radius: 12px; margin-top: 16px; }
.console-layout .gift-workspace .stack { gap: 16px; }
@media (max-width: 760px) {
  .workspace-mobile-menu { display: block; flex-shrink: 0; }
  .workspace-mobile-menu > summary { cursor: pointer; list-style: none; font-size: 20px; padding: 6px; }
  .workspace-mobile-menu > summary::-webkit-details-marker { display: none; }
  .workspace-mobile-menu > nav { position: absolute; z-index: 30; left: 0; right: 0; top: 64px; background: white; padding: 14px; box-shadow: 0 12px 20px #17211d14; border-bottom: 1px solid var(--line); }
  .workspace-mobile-menu a { display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: 8px; font-size: 14px; }
  .workspace-mobile-menu a.active { color: #245a3c; background: #e8eee9; }
}

/* Navigation is shared by every management workspace. */
.workspace-skip-link { position: fixed; top: 8px; left: 12px; z-index: 100; padding: 12px 18px; border-radius: 8px; background: #fff; transform: translateY(-150%); }
.workspace-skip-link:focus { transform: translateY(0); }
.workspace-shell .sidebar { overflow-y: auto; }
.workspace-shell .breadcrumb { display: flex; align-items: center; gap: 5px; min-width: 0; }
.workspace-shell .breadcrumb a { flex-shrink: 0; }
.workspace-shell .breadcrumb strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.workspace-shell .breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.workspace-shell .account { flex-shrink: 0; }
.console-layout .ps-studio { min-height: 0; background: transparent; }
.console-layout .ps-section-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.console-layout .ps-container { max-width: none; padding: 0; }
.console-layout .ps-footer { padding-inline: 0; margin-top: 24px; }
.console-layout .ps-landing { padding: 0; gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); }
.console-layout .ps-intro { padding-inline: 0; margin-top: 28px; }
@media (min-width: 761px) and (max-width: 1250px) {
  .console-layout .ps-landing { grid-template-columns: 1fr; }
  .console-layout .ps-hero { display: none; }
  .console-layout .ps-auth-panel { max-width: 600px; }
  .console-layout .gift-layout { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .console-layout .ps-design-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; }
  .console-layout .ps-panel { padding: 16px; }
  .console-layout .ps-style-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .workspace-shell > .sidebar { display: none; }
  .workspace-shell .topbar { height: 60px; padding: 0 12px; gap: 10px; position: relative; }
  .workspace-shell .breadcrumb { font-size: 12px; flex: 1; }
  .workspace-shell .account { gap: 0; }
  .workspace-shell .account > span, .workspace-shell .account > .avatar { display: none; }
  .workspace-mobile-menu > nav { top: 60px; }
  .workspace-mobile-menu a, .workspace-mobile-menu button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 13px; border-radius: 8px; font-size: 14px; text-align: left; background: transparent; color: var(--muted); }
  .workspace-mobile-menu button.active { color: #245a3c; background: #e8eee9; }
  .console-layout .ps-landing { display: flex; padding: 0; }
  .console-layout .ps-intro { padding: 0; }
  .console-layout .ps-footer { align-items: flex-start; }
  .console-layout .gift-workspace .page-head { flex-direction: column; }
  .console-layout .gift-title-brand { align-items: center; }
  .console-layout .gift-workspace .gift-logo { width: 72px; height: 72px; }
  .console-layout .gift-workspace .gift-title-brand h1 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-skip-link { transition: none; }
}

.workspace-tabs { display: flex; align-items: stretch; gap: 6px; padding: 12px 40px 0; background: #fff; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.workspace-tab { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; color: var(--muted); border: 1px solid transparent; border-bottom: 3px solid transparent; border-radius: 8px 8px 0 0; padding: 0 3px 2px 0; }
.workspace-tab > a { display: flex; align-items: center; min-height: 38px; padding: 8px 9px 8px 12px; font-size: 12px; white-space: nowrap; }
.workspace-tab > button { background: transparent; color: inherit; width: 28px; height: 30px; border-radius: 5px; font-size: 17px; }
.workspace-tab > button:hover { background: #dce5db; }
.workspace-tab > button:disabled { visibility: hidden; }
.workspace-tab.active { background: #f1f5ed; border-color: #e4eadd; border-bottom-color: #587c46; color: #25422e; }
@media (max-width: 1100px) { .workspace-tabs { padding-inline: 24px; } }
@media (max-width: 760px) {
  .workspace-tabs { padding: 6px 12px 0; }
  .workspace-tab > a { min-height: 36px; font-size: 11px; padding-inline: 8px; }
  .editor-shell .workspace-tabs { display: none; }
}

.workspace-skip-link:not(:focus){left:-10000px}.workspace-skip-link:focus{left:12px}#experience-center{display:grid;gap:20px}#experience-center h1{margin-bottom:14px}#experience-center h2{margin:20px 0 10px}#experience-center h3{margin:18px 0 10px}#experience-center p{line-height:1.75}#experience-center .panel{min-width:0}#experience-center ol{padding-left:24px}#experience-center li{margin:12px 0}

.workspace-shell{grid-template-columns:226px minmax(0,1fr);background:var(--bg);--line:#e3e7e1;--muted:#6b746f}.workspace-shell>.sidebar{width:226px;padding:31px 20px}.workspace-shell .sidebar .brand{padding:0 11px 37px}.workspace-shell .brand-logo{width:64px;height:64px}.workspace-shell .brand-name{font-size:24px}.workspace-shell .nav{gap:7px}.workspace-shell .nav-label{padding:8px 13px 12px;font-size:12px}.workspace-shell .nav>a,.workspace-shell .nav>button{display:flex;align-items:center;gap:12px;padding:13px 15px;border-radius:9px;font-size:14px;line-height:1.5;text-align:left;color:var(--muted);background:transparent}.workspace-shell .nav>a.active,.workspace-shell .nav>button.active{background:#edf4e6;color:#243622;font-weight:600}.workspace-shell .nav>a:hover,.workspace-shell .nav>button:hover{background:#f2f5ef}.workspace-shell .main>.topbar{height:82px;padding:0 42px;background:#ffffffa8}.workspace-shell .breadcrumb{font-size:13px}.workspace-shell .account{font-size:12px}.workspace-shell .avatar{width:32px;height:32px;background:#eaf0eb;color:#356346}.workspace-shell .main>.workspace{padding:35px 42px 48px;max-width:1550px;width:100%;margin:auto}.workspace-shell .table-wrap{max-width:100%;min-width:0}.workspace-shell .workspace-tabs{padding-inline:42px}@media(min-width:761px) and (max-width:1100px){.workspace-shell{grid-template-columns:194px minmax(0,1fr)}.workspace-shell>.sidebar{width:194px;padding-inline:14px}.workspace-shell .sidebar .brand{padding-inline:0}.workspace-shell .brand-logo{width:48px;height:48px}.workspace-shell .brand-name{font-size:21px}.workspace-shell .main>.topbar{padding-inline:28px}.workspace-shell .main>.workspace{padding:30px 28px}.workspace-shell .workspace-tabs{padding-inline:28px}}@media(max-width:760px){.workspace-shell{display:block}.workspace-shell>.sidebar{display:none}.workspace-shell .main>.topbar{height:60px;padding:0 12px}.workspace-shell .main>.workspace{padding:25px 20px 40px}.workspace-shell .workspace-tabs{padding-inline:12px}.workspace-shell .account>span,.workspace-shell .account>.avatar{display:none}.workspace-shell .breadcrumb{font-size:12px}}

html { scrollbar-gutter: stable; }
.workspace-loading .workspace-loading-message { padding: 24px 0; color: var(--muted); }
.frame-placeholder { width: 112px; height: 24px; border-radius: 8px; background: #e9eee4; }
.workspace-shell .main { min-width: 0; }

.workspace-messages { position: relative; }
.workspace-messages-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: #c0554a; }
.nav-customize .nav-badge { margin-left: auto; min-width: 18px; padding: 1px 7px; border-radius: 9px; background: #e2eee6; color: #2f5c41; font-size: 11px; line-height: 1.5; text-align: center; font-variant-numeric: tabular-nums; }
.nav-customize .nav-badge[hidden] { display: none; }
.message-list { display: flex; flex-direction: column; gap: 12px; }
.message-item { background: white; border: 1px solid var(--line); border-left: 3px solid transparent; border-radius: 11px; padding: 18px 22px; }
.message-item.unread { border-left-color: #436e50; background: #fbfdfb; }
.message-item .message-body { font-size: 13px; color: #2f3a33; overflow-wrap: anywhere; }
.message-item .help { margin-top: 6px; }
.message-item .row { margin-top: 12px; gap: 8px; }
