/* Convenience-first workspace layer */
.studio-convenient .hero,
.studio-convenient .studio-new{display:none}
.studio-convenient body{background:#f4f5f8}
.studio-convenient .offline-bar{height:28px;background:#15171d;color:#d9dce6}
.studio-convenient .topbar{position:sticky;top:0;z-index:45;height:68px;max-width:none;padding:0 max(22px,calc((100vw - 1180px)/2));background:rgba(255,255,255,.91);backdrop-filter:blur(18px);border-bottom:1px solid #e1e3ea}
.studio-convenient .top-actions button,.studio-convenient .top-actions a{border-radius:10px}
.studio-convenient main{display:flex;flex-direction:column}

.quick-launch{order:-10;width:min(1180px,calc(100% - 36px));margin:24px auto 28px;padding:32px;border:1px solid #dfe1e8;border-radius:26px;background:#fff;box-shadow:0 18px 55px rgba(31,35,48,.07);color:#17191f;scroll-margin-top:84px}
.quick-launch-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}
.quick-kicker{display:block;margin-bottom:7px;color:#5a5fe1;font:800 11px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.15em}
.quick-launch h1{margin:0;font:900 clamp(38px,5vw,64px)/1 system-ui,-apple-system,"PingFang SC",sans-serif;letter-spacing:-.065em}
.quick-launch-head p{margin:10px 0 0;color:#707482;font-size:15px}
.quick-stat{min-width:120px;padding:15px 18px;border-radius:18px;background:#17191f;color:white;text-align:right}
.quick-stat b{display:block;font:800 30px/1 ui-monospace,SFMono-Regular,Menlo,monospace;color:#cfff6b}
.quick-stat span{display:block;margin-top:6px;color:#aeb2bf;font-size:11px}

.quick-search-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.quick-search{height:66px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:0 18px;border:2px solid #252833;border-radius:16px;background:#fff;box-shadow:0 8px 0 #dfe1ff;transition:border-color .18s,box-shadow .18s,transform .18s}
.quick-search:focus-within{border-color:#555be7;box-shadow:0 8px 0 #cfff6b;transform:translateY(-1px)}
.quick-search>span{font-size:25px;color:#555be7}
.quick-search input{width:100%;height:100%;border:0;outline:0;background:transparent;color:#17191f;font-size:17px}
.quick-search input::placeholder{color:#9a9daa}
.quick-search kbd{padding:6px 8px;border:1px solid #dadce5;border-radius:8px;background:#f2f3f7;color:#6e7280;font-size:11px}
.quick-all{min-width:112px;border:0;border-radius:15px;background:#555be7;color:white;font-weight:800;cursor:pointer}
.quick-all:hover{background:#454ad2}

.quick-categories{display:flex;gap:7px;margin:18px 0 20px;overflow:auto;scrollbar-width:none}
.quick-categories::-webkit-scrollbar{display:none}
.quick-categories button{flex:0 0 auto;padding:8px 13px;border:1px solid #e0e2e9;border-radius:999px;background:#f7f8fa;color:#5f6370;font-size:13px;cursor:pointer}
.quick-categories button:hover,.quick-categories button.active{border-color:#252833;background:#252833;color:white}

.quick-results{position:relative;margin:-5px 0 24px;padding:10px;border:1px solid #dfe1e8;border-radius:18px;background:#f8f9fb;box-shadow:0 18px 48px rgba(26,29,40,.12);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.quick-result-meta{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;padding:5px 7px 8px;color:#5e6270;font-size:12px}
.quick-result-meta small{color:#999da8}
.quick-no-result{grid-column:1/-1;min-height:110px;display:grid;place-items:center;align-content:center;gap:5px;color:#6f7380}
.quick-no-result b{color:#232630}
.quick-more{grid-column:1/-1;min-height:40px;border:0;border-radius:10px;background:#e9eafd;color:#484dd1;font-weight:800;cursor:pointer}

.quick-shelves{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.quick-shelves[data-count="1"]{grid-template-columns:1fr}
.quick-shelves[data-count="1"] .quick-shelf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.quick-shelves[data-count="2"]{grid-template-columns:2fr 1fr}
.quick-shelves[data-count="2"] .quick-shelf:first-child .quick-shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.quick-shelf{min-width:0;padding:16px;border:1px solid #e3e5ec;border-radius:18px;background:#f8f9fb}
.quick-shelf header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.quick-shelf h2{margin:0;font:800 15px/1.2 system-ui,-apple-system,"PingFang SC",sans-serif}
.quick-shelf header span{color:#9699a5;font-size:10px;white-space:nowrap}
.quick-shelf-grid{display:grid;gap:6px}
.quick-tool{min-width:0;min-height:54px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;padding:7px 9px;border:1px solid transparent;border-radius:12px;background:#fff;color:#22252e;text-align:left;cursor:pointer}
.quick-tool:hover,.quick-tool.active{border-color:#b8bbee;background:#f1f2ff;transform:translateY(-1px)}
.quick-tool-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;color:#22252e;font:800 12px/1 system-ui;font-style:normal}
.quick-tool span{min-width:0}
.quick-tool b,.quick-tool small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.quick-tool b{font-size:13px}
.quick-tool small{margin-top:3px;color:#8a8d99;font-size:10px}
.quick-tool em{color:#a0a3ad;font-style:normal}
.quick-empty{height:54px;display:grid;place-items:center;border:1px dashed #d8dae2;border-radius:12px;color:#a0a3ad;font-size:11px}

.studio-convenient .workbench{display:none}
.studio-convenient .workbench-head{display:none}
.studio-convenient .workbench-grid{border:0;gap:10px}
.studio-convenient .desk-card{min-height:168px;border:1px solid #dfe1e8;border-radius:18px;background:#fff}
.studio-convenient .desk-card.accent{background:#eafeaf}
.studio-convenient .tools{order:-7;scroll-margin-top:78px;margin:0 18px 32px;padding:28px max(18px,calc((100vw - 1120px)/2)) 32px;border-radius:25px;background:#17191f}
.studio-convenient .section-head{margin-bottom:17px;align-items:center}
.studio-convenient .section-head h2{font-family:system-ui,-apple-system,"PingFang SC",sans-serif;font-size:32px;letter-spacing:-.04em;color:#fff}
.studio-convenient .section-head>p{max-width:none;display:flex;align-items:center;gap:12px}
.studio-convenient .section-head>p span{color:#a9adb8}
.studio-convenient #catalogToggle{min-height:38px;padding:0 15px;border:1px solid #444750;border-radius:10px;background:#292c34;color:#fff;font-weight:800;cursor:pointer;white-space:nowrap}
.studio-convenient #catalogToggle:hover{background:#363a45}
.studio-convenient .filters{top:68px}
.studio-convenient .tool-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}
.studio-convenient .tool-card{min-height:110px}
.studio-convenient .tool-open{padding:14px}
.studio-convenient .catalog-note{display:none}
.studio-convenient .catalog-compact{padding-top:24px;padding-bottom:24px}
.studio-convenient .catalog-compact .section-head{margin-bottom:0}
.studio-convenient .catalog-compact .filters,.studio-convenient .catalog-compact .tool-grid{display:none}
.studio-convenient .daily,.studio-convenient .promise{display:none}
.studio-convenient footer{min-height:86px}

[data-studio-theme="dark"].studio-convenient body{background:#101116}
[data-studio-theme="dark"].studio-convenient .topbar{background:rgba(20,21,27,.92);border-color:#30323b}
[data-studio-theme="dark"] .quick-launch{background:#191b21;border-color:#30323b;color:#f4f5f8;box-shadow:0 18px 55px rgba(0,0,0,.24)}
[data-studio-theme="dark"] .quick-launch-head p{color:#a6a9b4}
[data-studio-theme="dark"] .quick-search{background:#fff}
[data-studio-theme="dark"] .quick-categories button{border-color:#393b45;background:#23252c;color:#c3c5cd}
[data-studio-theme="dark"] .quick-categories button:hover,[data-studio-theme="dark"] .quick-categories button.active{background:#f5f6fa;color:#17191f;border-color:#f5f6fa}
[data-studio-theme="dark"] .quick-shelf,[data-studio-theme="dark"] .quick-results{background:#22242b;border-color:#343741}
[data-studio-theme="dark"] .quick-tool{background:#191b21;color:#f3f4f7}
[data-studio-theme="dark"] .quick-tool:hover,[data-studio-theme="dark"] .quick-tool.active{background:#303348;border-color:#686dcc}
[data-studio-theme="dark"] .quick-empty{border-color:#41434d;color:#8f929d}
[data-studio-theme="dark"] .quick-no-result b{color:#fff}

@media(max-width:940px){
  .quick-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible}.quick-categories button{width:100%;padding-left:8px;padding-right:8px}
  .quick-shelves,.quick-shelves[data-count="2"]{grid-template-columns:1fr 1fr}.quick-shelf:first-child{grid-column:1/-1}.quick-shelf:first-child .quick-shelf-grid,.quick-shelves[data-count="1"] .quick-shelf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-shelves[data-count="1"] .quick-shelf:first-child{grid-column:auto}.quick-shelves[data-count="2"] .quick-shelf:nth-child(2){grid-column:1/-1}.quick-shelves[data-count="2"] .quick-shelf:nth-child(2) .quick-shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quick-results{grid-template-columns:repeat(2,minmax(0,1fr))}
  .studio-convenient .tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:660px){
  .studio-convenient .offline-bar{display:none}
  .studio-convenient .topbar{top:0;height:60px;padding:0 14px}
  .studio-convenient .brand{font-size:16px}.studio-convenient .brand-mark{width:27px;height:27px}
  .quick-launch{width:calc(100% - 20px);margin:10px auto 18px;padding:20px 14px 16px;border-radius:20px;scroll-margin-top:65px}
  .quick-launch-head{align-items:flex-start;margin-bottom:17px}.quick-launch h1{font-size:39px}.quick-launch-head p{max-width:250px;font-size:12px;line-height:1.5}.quick-stat{min-width:72px;padding:11px;border-radius:14px}.quick-stat b{font-size:24px}.quick-stat span{font-size:9px}
  .quick-search-wrap{grid-template-columns:1fr}.quick-search{height:58px;padding:0 13px;border-radius:14px;box-shadow:0 6px 0 #dfe1ff}.quick-search input{font-size:14px}.quick-search kbd{display:none}.quick-all{display:none}
  .quick-categories{flex-wrap:nowrap;overflow:auto;margin:14px -14px 15px;padding:0 14px}.quick-categories button{padding:7px 12px;font-size:12px}
  .quick-results{grid-template-columns:1fr;margin-bottom:16px;padding:7px;border-radius:15px;max-height:56vh;overflow:auto}.quick-result-meta small{display:none}
  .quick-shelves,.quick-shelves[data-count="1"],.quick-shelves[data-count="2"]{display:flex;gap:10px;overflow:auto;margin:0 -14px;padding:0 14px 3px;scroll-snap-type:x mandatory}.quick-shelf,.quick-shelf:first-child{flex:0 0 84vw;min-width:0;scroll-snap-align:start;padding:13px;border-radius:15px}.quick-shelves[data-count="1"] .quick-shelf{flex-basis:100%}.quick-shelf:first-child .quick-shelf-grid,.quick-shelves[data-count="1"] .quick-shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-shelf:first-child .quick-tool{grid-template-columns:34px minmax(0,1fr);min-height:50px}.quick-shelf:first-child .quick-tool small,.quick-shelf:first-child .quick-tool em{display:none}.quick-tool{min-height:50px}
  .studio-convenient .tools{margin:0 8px 22px;padding:24px 10px 24px;border-radius:20px}.studio-convenient .section-head{margin:0 8px 15px;display:flex}.studio-convenient .catalog-compact .section-head{margin-bottom:0}.studio-convenient .section-head h2{font-size:26px}.studio-convenient .section-head>p span{display:none}.studio-convenient #catalogToggle{min-height:36px;padding:0 11px;font-size:11px}.studio-convenient .filters{position:static;padding-left:8px;padding-right:8px}.studio-convenient .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0}.studio-convenient .tool-card{min-height:116px}
}

@media(max-width:390px){.quick-launch h1{font-size:35px}.quick-launch-head p{max-width:210px}.quick-stat{display:none}.studio-convenient .tool-grid{grid-template-columns:1fr}}
