.workspace-welcome {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 40px 24px;
  background: radial-gradient(ellipse at 20% 15%, #e7eefb 0, transparent 55%), radial-gradient(ellipse at 85% 85%, #edf0f8 0, transparent 50%), #f6f8fc;
}
.welcome-card {
  width: min(600px, 100%);
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce5f1;
  border-radius: 18px;
  box-shadow: 0 24px 80px #253b6210, 0 3px 12px #253b6205;
}
.welcome-brandbar {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 30px;background:#222e40;border-bottom:1px solid #34455e}
.welcome-brand {display:flex;align-items:center;gap:11px;color:#edf4ff;font-size:16px;font-weight:650;letter-spacing:-.4px}
.welcome-logo {display:grid;place-items:center;width:36px;height:36px;border:1px solid #53729b;border-radius:10px;background:#344d6e;color:#a5c7fb}
.welcome-logo svg {width:23px;height:23px}
.welcome-local-badge {display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:8px;letter-spacing:1.2px;font-weight:650;color:#a5b8d2}
.welcome-local-badge>span {width:5px;height:5px;border-radius:50%;background:#87aeda;box-shadow:0 0 0 4px #87aeda13}
.welcome-content {padding:31px 32px 25px}
.welcome-content>.eyebrow {font-size:9px;letter-spacing:1.65px;font-weight:650;color:#8299b7;margin:0 0 12px}
.welcome-content h1 {margin:0 0 12px;color:#2e405a;font-size:28px;line-height:1.35;letter-spacing:-.9px;font-weight:700}
.welcome-description {margin:0;font-size:13px;color:#7b8ba2;line-height:1.85}
.welcome-workspace {display:flex;align-items:center;gap:14px;margin:24px 0 20px;padding:17px;border:1px solid #dbe5f4;border-radius:10px;background:linear-gradient(115deg,#f2f6ff,#fafcff)}
.welcome-folder-icon {display:grid;place-items:center;flex-shrink:0;width:43px;height:43px;border-radius:11px;background:#e3edff;color:#557fbd}
.welcome-folder-icon svg {width:22px;height:22px}
.welcome-workspace-name {min-width:0;flex:1}
.welcome-workspace-name>span {display:block;color:#8a9ebc;font-size:8px;font-weight:650;letter-spacing:1.1px;margin-bottom:5px}
.welcome-workspace-name>strong {display:block;color:#385578;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.welcome-workspace-name>small {display:block;font-size:10px;color:#8b9cb3;line-height:1.7;margin-top:3px}
.welcome-file-badge {align-self:center;padding:5px 8px;border:1px solid #d8e3f3;border-radius:5px;background:#fff;color:#7b94b5;font:600 10px Consolas,monospace}
.welcome-capabilities {display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:25px}
.welcome-capabilities>div {display:flex;align-items:flex-start;gap:9px;min-width:0}
.welcome-capabilities svg {width:15px;height:15px;color:#839fc3;margin-top:2px}
.welcome-capabilities strong {display:block;color:#58708f;font-size:11px;font-weight:600;line-height:1.7}
.welcome-capabilities small {display:block;color:#96a4b6;font-size:10px;line-height:1.7;margin-top:3px}
.welcome-actions {display:flex;flex-direction:column;gap:9px}
.welcome-primary {display:flex;align-items:center;gap:10px;justify-content:center;width:100%;padding:14px 17px;font-size:13px;font-weight:600;min-height:47px}
.welcome-primary>svg:first-child {width:17px;height:17px}
.welcome-primary>svg:last-child {width:16px;height:16px;margin-left:auto;opacity:.8}
.welcome-primary>span {flex:1;text-align:left}
.welcome-secondary {align-self:center;border-radius:6px;background:transparent;color:#6e87a9;font-size:11px;padding:8px 12px}
.welcome-secondary:hover:not(:disabled) {background:#f0f5fc;color:#4278dc}
.welcome-card button:disabled {opacity:.55;cursor:default;box-shadow:none}
.welcome-primary:disabled:hover {background:var(--blue)}
.welcome-message {display:flex;align-items:flex-start;gap:9px;border:1px solid #ecd9de;border-radius:8px;padding:12px;margin:0 0 18px;background:#fdf5f6;color:#a45f70}
.welcome-message>svg {width:15px;height:15px;margin-top:2px}
.welcome-message>p {margin:0;font-size:11px;line-height:1.8;overflow-wrap:anywhere}
.welcome-permission-note {display:flex;gap:8px;margin:17px 0 0;font-size:10px;line-height:1.8;color:#98a6b8}
.welcome-permission-note>svg {width:13px;height:13px;margin-top:3px;color:#8fa6c4}
.welcome-footer {display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:15px 30px;background:#f8fafe;border-top:1px solid #e8edf5;font-size:9px;line-height:1.7;color:#94a4b9}
.welcome-footer-dot {width:5px;height:5px;border-radius:50%;background:#92b1d9}
.welcome-footer>span:last-child {margin-left:auto;color:#a6b2c3}
.welcome-progress {margin:17px 0 0}
.welcome-progress-track {display:block;height:3px;background:#ebf0f9;border-radius:4px;overflow:hidden}
.welcome-progress-track>span {display:block;width:35%;height:100%;background:#86a9e4;border-radius:4px;animation:workspace-progress 1.6s ease-in-out infinite alternate}
.welcome-progress p {font-size:10px;color:#8298b7;line-height:1.8;margin:9px 0 0}
.welcome-workspace.loading .welcome-folder-icon {background:#e6eefa;color:#86a4d0}
@keyframes workspace-progress {from{transform:translateX(-10%)}to{transform:translateX(195%)}}
@media(prefers-reduced-motion:reduce){.welcome-progress-track>span{animation:none;width:100%;opacity:.65}}
@media(max-width:600px){
  .workspace-welcome{padding:20px 16px}
  .welcome-brandbar{padding:20px;gap:10px}
  .welcome-content{padding:26px 22px 22px}
  .welcome-content h1{font-size:25px}
  .welcome-workspace{padding:14px;gap:11px}
  .welcome-capabilities{gap:12px}
  .welcome-capabilities small{font-size:9px}
  .welcome-local-badge{font-size:7px;letter-spacing:.8px}
  .welcome-footer{padding:14px 22px}
}
@media(max-width:380px){.welcome-capabilities{grid-template-columns:1fr;gap:13px}.welcome-local-badge{display:none}.welcome-footer>span:last-child{margin-left:12px}}
.disk-status{display:flex;align-items:center;gap:9px;padding:9px 18px;border-top:1px solid #e2e9f3;background:#f1f5fc;color:#7b8fae;font-size:10px;line-height:1.8;overflow-wrap:anywhere}.disk-status>svg{width:14px;height:14px;flex-shrink:0}.disk-status>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.disk-status>button{background:#e1eafa;color:#557ab3;padding:5px 9px;border-radius:5px;flex-shrink:0;font-size:10px}.inline-action-buttons button:disabled{opacity:.45;cursor:wait}@media(max-width:600px){.disk-status{flex-wrap:wrap}}
.disk-status-tools{display:flex;align-items:center;gap:6px;margin-left:auto;flex-shrink:0}
.status-tool-btn{display:inline-flex;align-items:center;gap:5px;padding:3.5px 9px;border-radius:6px;border:1px solid #ccd8ea;background:#e5edf8;color:#4b6688;font-size:10.5px;font-weight:550;cursor:pointer;transition:all .15s ease}
.status-tool-btn:hover{background:#d8e5f5;color:#244b7a;border-color:#b5cbe6}
.status-tool-btn svg{width:13px;height:13px;flex-shrink:0}
.status-tool-btn.is-active{background:#396397;border-color:#2d527e;color:#fff;box-shadow:0 1px 4px rgba(45,82,126,.25)}
.status-tool-btn.is-active svg{color:#fff}
.disk-storage-warning{display:flex;align-items:center;gap:12px;padding:10px 22px;background:#fff8e8;border-top:1px solid #eadbb8;color:#886a31;font-size:11px;line-height:1.6}.disk-storage-warning span{flex:1}.disk-storage-warning button{padding:5px 10px;background:#f4e8ca;color:#886a31;border-radius:5px;font-size:10px}

.welcome-logo .app-logo{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}

.home-scroll-sentinel{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:20px;padding:12px 16px;border:1px dashed #d7e2f1;border-radius:10px;background:#f8faff;color:#627896;font-size:11.5px}
.home-scroll-dot{width:8px;height:8px;border-radius:50%;background:#5c8ed6;flex-shrink:0;animation:home-scroll-pulse 1.2s ease-in-out infinite}
@keyframes home-scroll-pulse{0%,100%{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1.15)}}
@media(prefers-reduced-motion:reduce){.home-scroll-dot{animation:none;opacity:.75}}
