/* A / 简洁创作 — production layout, shared with the existing workflow controls. */
:root{--ink:#263632;--muted:#586a64;--blue:#256cb1;--blue-dark:#1d568f;--line:#e2e6e7;--bg:#f7f8fa;--tint:#edf3fc;font-size:16px}
#app{grid-template-columns:192px minmax(0,1fr)}
.sidebar{padding:27px 16px 15px;overflow:auto;scrollbar-width:thin}.sidebar .brand{padding:2px 10px 24px;gap:2px}.sidebar .brand img{width:126px}.sidebar .brand strong{font-size:14px;font-weight:500;letter-spacing:1px;margin-top:8px}.brand .pill{background:none;padding:0;color:var(--muted);font-size:13px}.sidebar nav{gap:4px}.sidebar nav button{padding:10px 11px;gap:11px;min-height:40px;border-radius:9px;position:relative;font-size:15px;color:#626f70}.sidebar nav button.active{color:var(--blue);background:#edf3fc}.sidebar nav button.active:after{content:'';position:absolute;right:11px;top:19px;width:5px;height:5px;border-radius:50%;background:var(--blue)}.sidebar nav button span{display:flex;align-items:center}.sidebar nav svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}.a-nav-label{font-size:13px;color:var(--muted);padding:3px 11px 8px}.a-nav-second{margin-top:16px}.side-bottom{margin-top:auto;border-top:0;padding:25px 0 0;gap:3px}.monitor-trigger{border:1px solid var(--line);border-radius:11px;background:#fafbfc;padding:10px;width:100%}.monitor-heading{font-size:13px}.monitor-trigger #gpu-name{font-size:13px}.mini-gauges{gap:0 5px;margin:8px 0 2px}.gauge-mini svg{max-height:49px}.monitor-more,.monitor-note{font-size:13px}.side-bottom #account-label{font-size:13px;margin:10px 5px 0}.side-bottom #logout{font-size:14px;margin-left:0}
.topbar{background:var(--bg);padding:16px 36px;min-height:68px;gap:18px;font-size:15px}.topbar>.small{margin-left:auto;font-size:13px}.a-queue-shortcut{font-size:15px;display:flex;gap:12px;align-items:center;padding:7px 13px;min-height:36px;background:transparent}.a-queue-shortcut span{font-size:13px;color:var(--blue);background:var(--tint);border-radius:4px;padding:0 5px}
.project-row.a-projectbar{margin:0 auto!important;border:0!important;border-radius:0!important;border-bottom:1px solid var(--line)!important;box-shadow:none;background:transparent!important;max-width:1320px;padding:12px 36px!important;gap:14px;min-height:62px;position:relative}.a-projectbar label{font-size:13px;color:var(--muted)}.a-projectbar .a-project-select{width:220px!important;display:block;font-size:0}.a-project-select select{font-size:15px;font-weight:500;background:transparent;border:0;padding-left:0;min-height:34px}.a-projectbar #project-scope-label{width:145px;font-size:0}.a-projectbar #project-scope{font-size:14px;padding:5px;min-height:32px}.a-projectbar #save-state{font-size:13px;margin-left:auto}.a-projectbar #project-owner{font-size:13px}.a-projectbar #global-new-project{font-size:14px;min-height:32px;background:var(--tint);border:0;color:var(--blue)}.a-project-edit{position:relative;flex:none}.a-project-edit summary{color:var(--muted);font-size:14px;cursor:pointer}.a-project-edit label{position:absolute;top:26px;left:0;z-index:5;background:white;border:1px solid var(--line);padding:15px;border-radius:10px;box-shadow:0 8px 30px #213c5012;width:290px!important;font-size:15px}.a-project-edit input{font-size:16px}.view{padding:30px 36px;max-width:1320px}.page-head{margin-bottom:23px;gap:12px}.page-head>div{flex:1}.page-head h1{font-size:30px;font-weight:650;letter-spacing:-.8px}.page-head p{font-size:15px}.eyebrow{font-size:13px;font-weight:400;letter-spacing:0;color:var(--muted);margin-bottom:10px}.eyebrow:before{content:'';display:inline-block;width:5px;height:5px;background:#519f8c;border-radius:50%;margin-right:8px}.page-head>button{font-size:14px}.panel{border-radius:14px;border-color:var(--line)}button,a.button{border-radius:8px}.primary{background:var(--blue)}
.a-composer{border:1px solid #dce2e5;border-radius:19px;background:#fff;box-shadow:0 8px 24px #223d4e04;overflow:hidden}.a-composer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 23px;border-bottom:1px solid var(--line);min-height:49px}.a-composer-head .creation-modes{margin:0;padding:0;border-radius:0;background:none;gap:23px;display:flex}.a-composer-head .creation-modes button{border:0;border-bottom:2px solid transparent;border-radius:0;padding:13px 0 10px;min-width:0;min-height:48px;background:none;font-size:15px;box-shadow:none;color:var(--muted)}.a-composer-head .creation-modes button.active{border-color:var(--ink);color:var(--ink);background:none;box-shadow:none}.a-composer-head #a-mode-note{font-size:13px}.a-inputs .a-prompt-panel{border:0;padding:17px 23px 0;border-radius:0;margin:0;background:none}.a-input-title{display:none!important}.a-prompt-panel .prompt-composer{border:0;background:transparent;border-radius:0;margin:0;display:flex;flex-direction:column;padding:0;box-shadow:none}.a-prompt-panel .prompt-composer.drag-over{background:#f1f7ff;outline:2px dashed #83acd4;outline-offset:6px}.a-prompt-panel .reference-cards{padding:0;margin:0 0 12px;gap:10px;min-height:0;flex-wrap:wrap}.a-prompt-panel .reference-card{width:76px;height:84px;min-height:84px;border:1px dashed #cfd8dc;border-radius:10px;background:#f8fafb;padding:4px;flex:none}.a-prompt-panel .reference-card.filled{padding:0;overflow:hidden;border:0}.a-prompt-panel .reference-card img{width:100%;height:100%;object-fit:cover}.a-prompt-panel .reference-card small{font-size:13px}.a-prompt-panel .reference-card.add{font-size:14px;color:#879399}.a-prompt-panel textarea{border:0;border-radius:0;padding:0;min-height:79px;line-height:1.9;font-size:16px;color:#35413e;background:none;margin:0}.a-prompt-panel textarea:focus{outline:0}.a-prompt-panel .prompt-composer:focus-within{box-shadow:none;border:0}.a-prompt-panel textarea:focus-visible{outline:2px solid #c9dff3;outline-offset:5px;border-radius:3px}.a-prompt-panel .reference-hint{display:flex;align-items:center;gap:12px;margin:7px 0 3px;font-size:13px}.a-prompt-panel .reference-hint button{font-size:14px;padding:0;min-height:25px}.a-prompt-panel .small{font-size:13px}.a-prompt-panel>.small{margin:3px 0 5px}.a-prompt-panel .more-settings{border:0;margin:0;padding:0;font-size:13px}.a-prompt-panel .more-settings summary{font-size:13px;color:var(--muted)}.a-prompt-panel .more-settings input{margin:7px 0 0}.a-prompt-panel .error:not(:empty){margin:8px 0}.a-prompt-panel .actions{margin:8px 0}.a-prompt-panel .actions button{font-size:14px;min-height:30px;padding:4px 9px}.a-reference-tools{padding:0 23px 9px}.a-reference-tools .archive-entry{margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:0;background:none;border:0}.a-reference-tools .archive-entry>button{border:0;background:transparent;color:var(--blue);font-size:14px;min-height:28px;padding:0}.a-reference-tools .archive-entry .small{font-size:13px}.a-composer-footer{display:flex;justify-content:space-between;align-items:end;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding:13px 23px 17px}.a-parameters{display:flex;align-items:end;gap:8px;flex-wrap:wrap;flex:1}.a-parameters label{margin:0;font-size:13px;gap:4px;color:var(--muted)}.a-parameters select{font-size:14px;color:var(--ink);padding:7px 23px 7px 9px;min-height:34px;width:auto;max-width:210px;border-color:var(--line);border-radius:7px}.a-parameters #model{max-width:185px}.a-parameters #h3-mode{max-width:166px}.a-parameters #duration{max-width:84px}.a-parameters #a-toggle-settings{font-size:14px;min-height:34px;padding:6px 9px}.a-submit>button{width:auto!important;min-width:150px;margin:0!important;font-size:15px;min-height:40px;padding:8px 20px}.a-stage{display:flex;align-items:center;gap:12px;padding:11px 4px;margin-bottom:2px;flex-wrap:wrap}.a-stage label{display:flex;align-items:center;gap:6px;font-size:13px;margin:0;color:var(--muted)}.a-stage select{width:112px;font-size:14px;padding:3px 5px;min-height:27px;border:0;background:transparent;color:var(--ink)}.a-stage .small{font-size:13px}.a-advanced{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 18px;margin:0 0 20px}.a-advanced>summary{font-size:14px}.a-advanced:not([open]){background:transparent;border:0;padding:0 4px;margin-bottom:21px}.a-advanced[open]{display:block}.a-advanced[open]>label,.a-advanced[open]>.grid2{max-width:650px}.a-capabilities{border-bottom:1px solid var(--line);padding:12px 0;margin-bottom:15px}.a-capabilities .model-description{font-size:15px;padding:10px}.a-capabilities #model-state{font-size:14px;margin:0}.a-recent{margin-top:22px}.a-recent h2{font-size:18px;margin-bottom:3px}.a-recent .section-title{margin-bottom:17px}.a-recent .section-title .small,.a-recent .section-title button{font-size:13px}.a-recent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.a-work-card{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden;min-width:0}.a-work-card .media-tile{aspect-ratio:16/10;height:auto;border-radius:0;min-height:0}.a-work-card .media-tile img,.a-work-card .media-tile video{height:100%;width:100%;object-fit:contain;background:#edf0ef}.a-work-body{padding:12px 13px}.a-work-body>strong{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.a-work-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:6px;font-size:13px;color:var(--muted)}.a-work-meta button{font-size:13px;min-height:26px;padding:0}.a-work-card>audio{width:calc(100% - 24px);margin:25px 12px 10px}.a-recent-empty{grid-column:1/-1;min-height:205px;border:1px dashed #d9e0e4;background:#fcfdfd;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:22px;text-align:center;color:var(--muted)}.a-empty-icon{font-size:29px;color:#9fafbb;margin-bottom:8px}.a-recent-empty strong{font-size:16px;font-weight:500;color:#536667}.a-recent-empty p{font-size:14px}.a-recent-empty>.small{font-size:13px}.single-receipt{margin:14px 0}.notice{margin-left:36px;margin-right:36px}
@media(max-height:880px) and (min-width:701px){.sidebar{padding-top:19px}.sidebar .brand{padding-bottom:18px}.sidebar nav button{min-height:34px;padding-top:7px;padding-bottom:7px}.sidebar nav button.active:after{top:16px}.a-nav-second{margin-top:9px}.side-bottom{padding-top:12px}.monitor-trigger{padding:7px 9px}.gauge-mini svg{max-height:41px}.monitor-trigger #gpu-name{display:none}.sidebar nav{gap:1px}}
@media(max-width:1100px){#app{grid-template-columns:175px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.view{padding:25px}.topbar{padding:14px 25px}.project-row.a-projectbar{padding:10px 25px!important;gap:10px}.topbar>.small{display:none}.topbar .a-queue-shortcut{margin-left:auto}.a-projectbar #project-owner{display:none}.a-recent-grid{gap:12px}.a-composer-footer{align-items:center}.a-submit{margin-left:auto}.a-parameters{flex-basis:100%}.a-parameters #model{max-width:175px}.a-composer-head,.a-inputs .a-prompt-panel{padding-left:20px;padding-right:20px}.a-work-meta{flex-wrap:wrap}}
@media(max-width:700px){#app{display:block}.sidebar{height:auto;position:relative;display:block;padding:16px 17px 11px;overflow:visible;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{display:flex;align-items:center;gap:12px;padding:0 0 11px}.sidebar .brand img{width:110px}.sidebar .brand strong{font-size:13px;letter-spacing:0;margin:0}.brand .pill{margin:0 0 0 auto;font-size:13px}.sidebar nav{display:flex;flex-wrap:wrap;gap:3px}.sidebar nav button{display:flex!important;flex:0 0 calc(33.333% - 2px);font-size:14px;min-height:34px;gap:7px;padding:6px 8px}.sidebar nav svg{width:15px;height:15px}.sidebar nav button.active:after{display:none}.a-nav-label{display:none}.side-bottom{display:flex!important;flex-direction:row;justify-content:flex-end;align-items:center;padding:4px 0 0;margin:0;gap:8px}.side-bottom #open-hardware{display:none}.side-bottom #account-label{margin:0;font-size:13px}.side-bottom #logout{min-height:26px;padding:0 3px;font-size:13px}.topbar{padding:10px 17px;gap:8px;min-height:46px;font-size:13px}.a-queue-shortcut{font-size:13px;padding:5px 9px;min-height:29px;gap:7px}#open-hardware-mobile{font-size:13px;min-height:28px;padding:3px}.project-row.a-projectbar{padding:9px 17px!important;gap:9px}.a-projectbar .a-project-select{width:calc(100% - 118px)!important;flex:1}.a-projectbar #save-state{font-size:13px}.a-projectbar #global-new-project{min-height:28px;font-size:13px}.a-project-edit{order:3}.a-project-edit label{left:-5px;top:25px;width:270px!important}.a-projectbar #project-scope-label{width:100px}.a-projectbar #project-scope{font-size:13px}.view{padding:23px 17px}.page-head{gap:10px;margin-bottom:18px}.page-head h1{font-size:26px;line-height:1.4;letter-spacing:-.5px}.page-head p{font-size:14px}.page-head #cloud-video-entry{padding:0}.eyebrow{margin-bottom:7px}.a-composer{border-radius:15px}.a-composer-head{padding:0 15px;gap:8px}.a-composer-head .creation-modes{gap:20px}.a-composer-head #a-mode-note{font-size:13px}.a-inputs .a-prompt-panel{padding:15px 15px 0}.a-prompt-panel textarea{font-size:16px;min-height:108px}.a-prompt-panel .reference-hint{flex-wrap:wrap;gap:0 8px}.a-prompt-panel .reference-hint span{font-size:13px}.a-prompt-panel .reference-card{width:66px;height:77px;min-height:77px}.a-reference-tools{padding:0 15px 9px}.a-composer-footer{padding:12px 15px 15px;gap:14px}.a-parameters{gap:7px;display:grid;grid-template-columns:1fr 1fr;width:100%;align-items:end}.a-parameters select{width:100%;max-width:none!important;font-size:13px}.a-parameters #a-toggle-settings{min-height:31px;font-size:13px;grid-column:1/-1;justify-self:start}.a-submit{width:100%}.a-submit>button{width:100%!important;min-height:41px}.a-stage{gap:1px 5px}.a-stage .small{font-size:13px}.a-advanced:not([open]){margin-bottom:17px}.a-recent{margin-top:17px}.a-recent-grid{grid-template-columns:1fr;gap:14px}.a-recent .section-title{gap:4px}.a-recent-empty{min-height:175px}.notice{margin-left:17px;margin-right:17px}.a-work-meta{flex-wrap:nowrap}}

.a-reference-row{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:14px}.a-reference-row .reference-cards{margin:0;max-width:100%}.a-reference-row .reference-hint{flex-direction:column;align-items:flex-start;gap:3px;margin:0}.a-prompt-panel #single-prompt,.a-prompt-panel #bulk{min-height:84px;height:84px}.a-prompt-panel #bulk{min-height:120px;height:120px}@media(max-width:700px){.a-reference-row{gap:10px}.a-reference-row .reference-hint{max-width:210px}.a-prompt-panel #single-prompt{min-height:105px;height:105px}}

.a-prompt-panel .prompt-composer{min-height:0;gap:0;align-items:stretch}.a-reference-row{width:100%}.a-prompt-panel .reference-cards{flex-direction:row;width:auto}.a-reference-row .reference-hint{max-width:none}@media(min-width:701px){.a-reference-row .reference-hint{flex:1;min-width:190px}}
.a-composer-tools{display:flex;align-items:center;gap:16px}.a-composer-tools #a-clear-creation{font-size:14px;min-height:36px;white-space:nowrap}.a-prompt-panel .h3-reference-card{position:relative;overflow:visible}.h3-reference-card .reference-thumb{border-radius:10px;overflow:hidden}.a-prompt-panel .h3-reference-card .reference-remove{display:flex;align-items:center;justify-content:center;position:absolute;top:-6px;right:-6px;width:26px;height:26px;min-height:26px;padding:0;z-index:2;background:#fff;color:#455e59;border:1px solid #b6c4bf;border-radius:50%;box-shadow:0 1px 4px #213c501a;font-size:20px;line-height:1}.a-prompt-panel .h3-reference-card .reference-remove:hover{background:#fbe9e9;color:#a72f35;border-color:#d9aaa9}.a-work-meta{flex-wrap:wrap}.a-work-meta span{margin-right:auto}@media(max-width:700px){.a-composer-tools #a-mode-note{display:none}.a-composer-tools{gap:0}.a-composer-head{flex-wrap:wrap}.a-composer-tools #a-clear-creation{padding:6px 0;font-size:14px}.a-prompt-panel .h3-reference-card .reference-remove{width:28px;height:28px;min-height:28px}}

.a-reference-row #single-reference,.a-reference-row #batch-reference{width:auto;max-width:100%;flex:0 1 auto}

/* 阅读优化补充：保持字号，不以窄屏或较低屏幕高度缩小正文。 */
@media(min-width:701px){#app{grid-template-columns:218px minmax(0,1fr)}}
.sidebar nav{flex-shrink:0}.sidebar nav button{font-size:16px;min-height:42px}.sidebar .brand strong{font-size:14px;letter-spacing:0}.a-nav-label{font-size:13px}.sidebar .brand{flex-shrink:0}.side-bottom{flex-shrink:0}.gauge-mini svg{max-height:72px}.gauge-mini .gauge-caption{font-size:18px}.gauge-mini text{font-size:26px}.gauge-mini .gauge-unit{font-size:15px}.monitor-note{font-size:12px}.monitor-trigger #gpu-name{font-size:12px}.monitor-heading{font-size:13px}.monitor-more{font-size:13px}
.a-composer-head .creation-modes button{font-size:16px}.a-parameters label{font-size:14px}.a-parameters select{font-size:15px;min-height:40px}.a-parameters #model{max-width:210px}.a-parameters #h3-mode{max-width:225px}.a-parameters #duration{max-width:110px}.a-parameters #a-toggle-settings{font-size:15px;min-height:40px}.a-submit>button{font-size:16px;min-height:44px}.a-stage label{font-size:14px}.a-stage select{width:145px;min-height:36px;font-size:15px}.a-reference-row .reference-hint{font-size:14px}.a-reference-row .reference-hint button{font-size:14px;min-height:32px}.a-prompt-panel textarea{line-height:1.8}.a-work-body>strong{font-size:16px}.a-work-meta{font-size:13px;flex-wrap:wrap}.a-work-meta button{font-size:14px;min-height:32px}.a-projectbar #project-select{font-size:15px}.a-projectbar #project-scope{font-size:14px}.a-projectbar #global-new-project{font-size:15px;min-height:38px}.a-projectbar #save-state{font-size:13px}.a-recent .section-title .small,.a-recent .section-title button{font-size:14px}.a-recent h2{font-size:20px}.a-recent-empty strong{font-size:16px}.a-recent-empty p,.a-recent-empty>.small{font-size:14px}.topbar{font-size:14px}.a-queue-shortcut{font-size:15px}.page-head p{font-size:16px}.a-stage .small{font-size:14px}.a-project-edit label{max-width:calc(100vw - 40px)}
@media(max-width:1100px){.a-parameters{flex-basis:100%}.a-parameters #model{max-width:210px}.a-submit{margin-left:auto}}
@media(max-width:700px){.sidebar nav button{font-size:14px;min-height:42px}.sidebar .brand strong{font-size:12px}.topbar{font-size:13px}.a-queue-shortcut{font-size:14px}.page-head p{font-size:15px}.a-composer-head .creation-modes{gap:16px}.a-composer-head .creation-modes button{font-size:15px}.a-composer-head #a-mode-note{font-size:13px}.a-parameters select{font-size:14px;min-height:42px}.a-submit>button{font-size:16px}.a-prompt-panel #single-prompt{min-height:125px;height:125px}.a-prompt-panel .reference-hint span{font-size:13px}.a-stage .small{font-size:13px}.a-projectbar #project-select{font-size:14px}.a-projectbar #project-scope{font-size:13px}.a-projectbar #global-new-project{font-size:14px}.a-projectbar #project-scope-label{width:132px}.a-projectbar .a-project-select{min-width:150px}.a-project-edit label{left:auto;right:0}.a-prompt-panel .reference-card small{font-size:12px}.side-bottom #account-label{font-size:12px}.side-bottom #logout{font-size:13px}}

@media(max-width:700px){.page-head{align-items:flex-start}.page-head>div{flex:1 0 100%;min-width:0}.page-head>button{margin:0}.a-parameters label:first-child,.a-parameters label:nth-child(2){grid-column:1/-1}}
