:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#23352f;background:#f5f7f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0;display:flex;min-height:100vh}aside{width:232px;background:#fff;border-right:1px solid #e3e9e3;padding:34px 22px;position:fixed;height:100vh}.brand{font-weight:650;font-size:18px;display:flex;align-items:center;gap:10px;white-space:nowrap}.mark{display:inline-grid;place-items:center;background:#246b50;color:#fff;border-radius:12px;width:36px;height:36px;font-size:19px}.nav{margin-top:55px;padding:14px;border-radius:8px;color:#28684f;background:#edf4ee;font-size:14px}.aside-bottom{position:absolute;bottom:35px;font-size:13px;line-height:2;color:#5c7065}.aside-bottom small{color:#95a299}.dot{width:8px;height:8px;border-radius:50%;display:inline-block;background:#2e9369;margin-right:8px;vertical-align:middle}.dot.off{background:#a2aaa4}main{margin-left:232px;flex:1;padding:42px 42px 20px;max-width:1560px}header{display:flex;justify-content:space-between;align-items:center;gap:16px}.eyebrow{font-size:10px;letter-spacing:2px;color:#819487;font-weight:700}h1{font-size:27px;letter-spacing:-.6px;margin:12px 0}header p{font-size:14px;color:#77857b;margin:0}.mode{font-size:12px;color:#357052;background:#e7f0e7;border:1px solid #cfe0d1;padding:9px 12px;border-radius:30px;white-space:nowrap}.device-strip{background:#edf2ed;border:1px solid #dce7dc;margin:28px 0 23px;padding:16px 18px;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px}.device-strip strong{font-weight:600;font-size:13px}.device-strip #device-reason{color:#78867c;margin-left:14px}.device-strip a{color:#3e6f55;white-space:nowrap;text-underline-offset:3px}.layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}.card{background:#fff;border:1px solid #e1e7e0;border-radius:12px;padding:25px;box-shadow:0 3px 7px #26362602}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:10px}.section-title h2{font-size:17px;margin:0;font-weight:600}.section-title>span{font-size:11px;color:#94a196}label{font-size:13px;font-weight:550;display:block;margin-bottom:10px}label small{font-size:11px;font-weight:400;margin-left:5px;color:#8a988d}textarea{width:100%;resize:vertical;min-height:130px;border:1px solid #dce3dc;border-radius:8px;background:#fbfcfa;padding:13px;font:14px/1.9 inherit;color:#273f30;font-family:inherit;font-size:14px;line-height:1.9}textarea:focus{outline:2px solid #a2c5ac;outline-offset:2px}.field-meta{display:flex;justify-content:space-between;font-size:11px;color:#8d998f;margin:8px 0 24px}.upload{height:208px;background:#fafcf9;border:1px dashed #bfcebd;border-radius:8px;display:flex;justify-content:center;align-items:center;text-align:center;cursor:pointer;overflow:hidden}.upload b{font-size:28px;font-weight:300;display:block;color:#74977b}.upload strong{display:block;font-size:13px;color:#5b775f;margin:6px}.upload small{display:block;line-height:1.8;color:#9aa59c;font-weight:400}.upload img{object-fit:contain;width:100%;height:100%}.upload img[hidden]{display:none}#image{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.file-name{font-size:11px;color:#8f9a90;margin:9px 0 23px;overflow-wrap:anywhere}.settings{background:#f7f9f6;border-radius:8px;padding:15px;font-size:12px}.settings>div{display:flex;justify-content:space-between;gap:15px;line-height:2.4}.settings span{color:#8b978b}.settings strong{font-weight:500;color:#54715a}.check{display:flex;align-items:flex-start;gap:8px;font-size:11px;color:#738075;font-weight:400;line-height:1.7;margin:22px 0 17px}input[type=checkbox]{accent-color:#2a7656;margin:2px 0;width:14px;height:14px;flex-shrink:0}.primary{width:100%;padding:14px 18px;border:0;background:#2d7153;color:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:25px;font-family:inherit;font-size:14px;font-weight:550;cursor:pointer}.primary:hover{background:#215a40}.primary:disabled{background:#9bafa0;cursor:wait}#message{font-size:12px;line-height:1.8;margin:10px 0 0;color:#346c4b}.error{color:#b94d3a!important}.right{display:grid;gap:22px}.guide ol{margin:0;padding-left:20px;font-size:12px;color:#617465;line-height:2.6}.guide p{font-size:11px;line-height:1.9;color:#98a296;border-top:1px solid #eef1eb;padding-top:12px;margin-bottom:0}.history .section-title{margin-bottom:8px}.empty{text-align:center;color:#718675;padding:46px 5px;font-size:13px;line-height:2.1}.empty small{font-size:11px;color:#a0aaa0}.task{padding:20px 0;border-bottom:1px solid #edf0e9}.task:last-child{border-bottom:0;padding-bottom:0}.task-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.badge{font-size:11px;border-radius:5px;padding:5px 7px;background:#eef3ec;color:#50714f}.badge.warn{background:#fff0e2;color:#ac7138}.task time{font-size:10px;color:#9aa69a}.task-content{display:flex;gap:12px;margin-top:14px;align-items:flex-start}.task img{width:58px;height:58px;object-fit:contain;border:1px solid #edf0ea;border-radius:6px}.task-caption{font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.task-detail{font-size:11px;color:#8c9c8d;margin:9px 0;line-height:1.8}.task button{border:1px solid #d5dfd2;border-radius:5px;background:white;padding:6px 9px;font-size:11px;color:#678165;cursor:pointer;margin-top:4px}.task small{font-size:10px;color:#97a393}footer{font-size:10px;color:#9ba79c;margin:23px 0 10px;line-height:1.8}@media(min-width:1500px){main{padding:48px 65px}}@media(max-width:1100px){aside{width:188px;padding:28px 16px}.brand{font-size:15px}main{margin-left:188px;padding:30px 24px}.layout{grid-template-columns:1fr}.right{grid-template-columns:1fr}.device-strip #device-reason{display:block;margin:8px 0 0 16px}h1{font-size:23px}header{align-items:flex-start;flex-direction:column}}@media(max-width:650px){aside{display:none}main{margin-left:0;padding:24px 16px}.card{padding:20px}.layout{grid-template-columns:minmax(0,1fr)}.device-strip{align-items:flex-start}.device-strip a{font-size:10px}.mode{font-size:10px}}

.task details{font-size:11px;color:#70826f;margin:10px 0}.task pre{white-space:pre-wrap;max-height:220px;overflow:auto;font-size:10px;line-height:1.7}.task a{font-size:11px;color:#3e6f55}

.image-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.image-item{min-width:0;border:1px solid #dce3dc;border-radius:8px;padding:6px}.image-item img{width:100%;height:90px;object-fit:contain}.image-item span{display:block;font-size:11px;overflow-wrap:anywhere}.image-item button{font:inherit;font-size:10px;padding:4px;border:1px solid #dce3dc;background:#fff;margin:6px 3px 0 0;border-radius:4px}.image-item button:disabled{opacity:.4}.task-images{display:flex;flex-wrap:wrap;gap:3px;max-width:122px;flex-shrink:0}.task-images img{width:38px;height:38px}@media(max-width:400px){.image-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

.drag-handle{padding:4px 2px 8px;color:#7a8b80;font-size:11px;cursor:grab;touch-action:none;user-select:none}
.drag-handle:active{cursor:grabbing}.image-ghost{opacity:.25;background:#d7eadd}.image-chosen{border-color:#2d7153;box-shadow:0 0 0 2px #2d715322}
.image-item .image-thumb{display:block;width:100%;padding:0;margin:0 0 6px;border:0;background:#f9fbf8;cursor:zoom-in}
.image-thumb img{display:block}.image-item>span{min-height:27px;line-height:1.4}
.task .task-image-thumb{padding:0;margin:0;border:0;background:none;cursor:zoom-in;line-height:0}
.task-image-thumb img{display:block}.task .edit-task{margin:12px 0 2px;color:#2d7153;background:#f4f8f2}
.edit-source{font-size:11px;line-height:1.8;color:#55715d;background:#edf4ed;border-radius:6px;padding:10px;overflow-wrap:anywhere;margin:-8px 0 20px}
button:focus-visible{outline:2px solid #508c67;outline-offset:3px}
.viewer-open{overflow:hidden}
#image-viewer{padding:0;border:1px solid #dce3dc;border-radius:12px;width:min(1120px,94vw);max-width:94vw;height:min(850px,92dvh);max-height:92dvh;overflow:hidden;background:#fff;color:#23352f}
#image-viewer[open]{display:flex;flex-direction:column}#image-viewer::backdrop{background:#15221ad9}
.viewer-toolbar{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e6ece4;flex-shrink:0}
.viewer-toolbar strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#image-viewer button{border:1px solid #d5dfd2;border-radius:6px;background:#fff;color:#315d42;padding:8px 11px;font:12px inherit;white-space:nowrap;cursor:pointer}
#image-viewer button:disabled{opacity:.35;cursor:default}
.viewer-viewport{flex:1;min-height:0;overflow:auto;background:#eff2ed;position:relative;overscroll-behavior:contain}
.viewer-canvas{display:grid;place-items:center}.viewer-canvas img{display:block;max-width:none;object-fit:contain}.viewer-canvas img[hidden]{display:none}
#viewer-error{position:absolute;inset:32% 12%;text-align:center;color:#a94c36;font-size:14px}
.viewer-controls{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 18px 6px;flex-shrink:0;flex-wrap:wrap}
#viewer-count{font-size:12px;color:#748473;min-width:40px;text-align:center}
.viewer-zoom{display:flex;gap:6px;margin-left:12px}.viewer-hint{text-align:center;color:#8b988e;font-size:11px;margin:6px 12px 12px;flex-shrink:0}
@media(max-width:650px){#image-viewer{width:96vw;max-width:96vw;height:90dvh}.viewer-toolbar{padding:12px}.viewer-controls{gap:8px;padding:10px 8px 2px}.viewer-zoom{margin-left:0}.viewer-hint{font-size:10px}.task-content{min-width:0}.task-caption{min-width:0}}

[hidden]{display:none!important}aside{overflow-y:auto}.nav{border:0;width:100%;text-align:left;cursor:pointer;font-family:inherit;background:transparent;color:#6a7e70;margin-top:18px}.nav.active{background:#edf4ee;color:#28684f}.account-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 12px;color:#8a9b8d;font-size:11px}.account-heading button{border:0;background:none;color:#527a5c;font-size:11px;cursor:pointer}.account-choice{width:100%;text-align:left;border:1px solid #d8e5d7;background:#f3f8f0;border-radius:8px;padding:13px 10px;color:#315b3b;cursor:pointer;font-family:inherit;overflow-wrap:anywhere}.account-choice strong{display:block;font-size:13px;line-height:1.6}.account-choice small{display:block;font-size:10px;color:#8a998b;line-height:1.6;margin-top:5px}.account-choice.online strong:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#419366;margin-right:6px}.sidebar-note{font-size:10px;line-height:1.8;color:#97a296;margin:12px 5px}.aside-bottom{position:static;margin-top:80px}.mobile-nav{display:none}
input:not([type=checkbox]):not([type=radio]):not([type=file]),select{width:100%;font-family:inherit;font-size:13px;border:1px solid #dce3dc;background:#fbfcfa;color:#304a38;border-radius:6px;padding:10px;margin-top:8px;min-width:0}select{cursor:pointer}button{font-family:inherit}button:not(:disabled){cursor:pointer}.secondary,.inline-actions button,#back-to-tasks,#edit-exit{border:1px solid #cadbc9;border-radius:6px;padding:9px 12px;background:#f4f8f1;color:#3f7250;font-family:inherit;font-size:12px}.secondary{width:100%;margin:10px 0 0}.inline-actions{display:flex;gap:8px;flex-wrap:wrap}.inline-actions button:disabled{opacity:.45;cursor:default}#edit-exit{margin-bottom:15px}#edit-source{margin-bottom:10px}
.ai-panel{border:1px solid #dce7d9;background:#f9fbf7;border-radius:9px;padding:16px;margin:0 0 24px}.ai-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;font-size:13px}.ai-heading button{border:0;background:none;color:#769376;font-size:11px}.ai-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ai-panel label{font-size:11px}.ai-panel textarea{font-size:12px;min-height:64px;line-height:1.7}.ai-panel details{font-size:11px;color:#729076;margin:4px 0 16px}.ai-panel summary{cursor:pointer;margin-bottom:10px}.ai-panel details[open]{padding:10px;background:#eef4eb;border-radius:6px}.ai-notice,#ai-message,#style-message,#ai-version-detail{font-size:10px;line-height:1.8;color:#899783;overflow-wrap:anywhere}.ai-notice{margin-bottom:0}#ai-message{color:#54734f}.ai-versions{display:flex;gap:6px;overflow-x:auto;padding:8px 0;max-width:100%}.ai-versions button{border:1px solid #dce6d6;background:#fff;border-radius:18px;font-size:10px;padding:6px 9px;color:#7a8a73;flex-shrink:0}.ai-versions button.selected{border-color:#699468;background:#e8f0e3;color:#355e3d}.ai-candidate{white-space:pre-wrap;font-size:13px;line-height:1.9;background:white;border:1px solid #dce6d7;border-radius:6px;padding:14px;max-height:360px;overflow:auto;overflow-wrap:anywhere}.execution-source{font-size:11px;line-height:1.8;color:#899480;margin:13px 0 0}.execution-source.adopted{color:#2d7153;font-weight:550}#ai-adopt{background:#2d7153;color:white}
.schedule{border:1px solid #dce3d6;border-radius:8px;padding:15px;margin:0 0 20px;min-width:0}.schedule legend{font-size:12px;color:#4f7154;padding:0 6px}.schedule-modes{display:flex;gap:18px}.schedule-modes label{font-size:12px;display:flex;gap:6px;align-items:center;font-weight:400}.schedule input[type=radio]{accent-color:#2d7153}.schedule p,.schedule small{font-size:10px;color:#94a08e;line-height:1.8;display:block}.schedule p{margin-bottom:0}.task-schedule{font-size:11px;color:#517c53;line-height:1.8;overflow-wrap:anywhere}.task .edit-task{margin-right:6px}.task .edit-scheduled{background:#eaf2e5;color:#416a42;margin-right:6px}#video-preview{width:100%;max-height:350px;background:#17251c;border-radius:8px}#video{font-size:12px;width:100%;margin-bottom:16px}.video-upload{padding:22px;background:#f7faf4;border:1px dashed #c4d6bd;border-radius:8px;text-align:center;color:#4c7850;cursor:pointer}.media-note{font-size:11px;line-height:1.8;color:#8d9b86}.task-video{width:120px;max-height:130px;border-radius:7px}.settings-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(300px,1.2fr);gap:24px;margin-top:30px;align-items:start}.form-help{font-size:11px;color:#8c9a87;line-height:1.9;overflow-wrap:anywhere}.settings-layout label{margin-bottom:20px}.settings-layout form>p[role=status]{font-size:12px;line-height:1.8;color:#477249}.settings-layout .check{margin:10px 0}.settings-layout input:focus,select:focus{outline:2px solid #a2c5ac;outline-offset:1px}#account-title{overflow-wrap:anywhere}
@media(max-width:1100px){.settings-layout{grid-template-columns:minmax(0,1fr)}}@media(max-width:650px){.mobile-nav{display:flex;gap:12px;margin-bottom:20px}.mobile-nav button{border:1px solid #d6e1d1;border-radius:7px;background:white;padding:9px;font-size:12px;color:#3f6f48}.ai-panel{padding:12px}.ai-fields{gap:8px}.task-images{max-width:115px}.task-video{width:100px}}
#video{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.choice-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px}.choice-buttons button{flex:1;border:1px solid #cfddc9;border-radius:7px;padding:10px 12px;background:#fff;color:#6a8062;font-family:inherit;font-size:12px;white-space:nowrap}.choice-buttons button[aria-pressed=true]{background:#e8f2e3;border-color:#729a67;color:#28583a;box-shadow:inset 0 0 0 1px #729a67}.control-label,.media-heading{font-size:12px;font-weight:550;margin-bottom:4px}.task-media{margin-bottom:24px;padding-bottom:22px;border-bottom:1px solid #e6ece1}.ai-fields{grid-template-columns:minmax(0,1fr)}.video-upload small{display:block;font-size:10px;color:#8b9a83;margin-top:10px}.video-frame{position:relative;border-radius:8px;overflow:hidden;background:#17251c}.video-frame video{display:block;width:100%;min-height:180px;max-height:440px}.media-remove{position:absolute;right:9px;top:9px;width:28px;height:28px;border-radius:50%;border:1px solid #ffffff77;background:#142319ce;color:white;font-size:23px;line-height:20px;display:grid;place-items:center;opacity:0;transition:opacity .15s;z-index:1}.video-frame:hover .media-remove,.video-frame:focus-within .media-remove,.media-remove:focus-visible{opacity:1}#video-status{font-size:11px;line-height:1.8;color:#6c8063}#video-retry{border:1px solid #cadbc9;background:#f4f8f1;color:#3f7250;border-radius:6px;padding:7px 10px}#save-draft{margin:0 0 10px;background:white}#video-preview[hidden]{display:none!important}
@media(hover:none),(pointer:coarse){.media-remove{opacity:1}}
@media(min-width:1101px){body{height:100dvh;overflow:hidden}aside{height:100dvh;overscroll-behavior:contain}main{height:100dvh;overflow:hidden;min-width:0}#task-page{height:100%;display:flex;flex-direction:column;min-height:0}#task-page>header,#task-page>.device-strip,#task-page>footer{flex-shrink:0}.layout{flex:1;min-height:0;align-content:start;grid-auto-rows:max-content;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-bottom:2px}.compose{min-width:0}.right{display:block;min-width:0}.right>.card+.card{margin-top:22px}#settings-page{height:100%;overflow-y:auto;overscroll-behavior:contain}.task-top{flex-wrap:wrap}.task-top .task-actions{margin-right:auto}.task-top time{margin-left:auto}}
.task-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.task-top{justify-content:flex-start}.task .task-actions button{margin:0}.task-top time{margin-left:auto}.task-top .badge{flex-shrink:0}.task-top{gap:9px}.task-top .edit-task,.task-top .edit-scheduled{margin:0!important}
.image-add{border:1px dashed #b9cdb6;border-radius:8px;background:#f8fbf5;min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;margin:0;color:#5b795c;cursor:pointer;text-align:center}.image-add b{font-size:30px;font-weight:300}.image-add strong{font-size:12px;font-weight:500}.task-top{flex-wrap:wrap}.settings-layout{grid-template-columns:minmax(0,760px)}.danger-button{margin-top:20px;border:1px solid #dbb8b0;border-radius:6px;background:#fff8f5;color:#a44b38;padding:10px 16px;font-size:12px}.mobile-nav{flex-wrap:wrap}.account-choice~.sidebar-note{margin-top:12px}
@media(min-width:1101px){#accounts-page{height:100%;overflow-y:auto;overscroll-behavior:contain}}
body:not(.signed-in)>aside,body:not(.signed-in)>main{display:none}body:not(.signed-in){display:block;overflow:auto}.login-page{min-height:100dvh;display:grid;place-items:center;padding:25px}.login-card{width:100%;max-width:420px;background:#fff;border:1px solid #dce5d9;border-radius:14px;padding:35px;box-shadow:0 12px 50px #244c3510}.login-card .brand{margin-bottom:30px}.login-card h1{font-size:25px}.login-card label{margin:22px 0}.login-card .primary{margin-top:28px}#login-message{font-size:12px;line-height:1.8;color:#ae503b;min-height:20px}.logout-button{border:0;background:none;color:#66816a;margin-left:10px;font-size:11px}.user-layout{display:grid;grid-template-columns:minmax(250px,1fr) minmax(280px,1fr);gap:24px;margin-top:30px}.user-layout h2{font-size:17px}.user-layout label{margin:22px 0}.user-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #e9eee5;overflow-wrap:anywhere}.user-row strong{display:block;font-size:13px}.user-row small{display:block;color:#87967d;font-size:11px;line-height:1.9;margin-top:6px}.user-row button{width:auto;flex-shrink:0;margin:0}.user-layout .section-title .secondary{width:auto;margin:0}#user-message{font-size:12px;line-height:1.8;color:#4b714d}
@media(min-width:1101px){#users-page{height:100%;overflow-y:auto;overscroll-behavior:contain}}
@media(max-width:1100px){.user-layout{grid-template-columns:minmax(0,1fr)}}
header>.secondary{width:auto;flex-shrink:0;margin:0}
aside .brand{font-size:14px;gap:8px}aside .brand .mark{width:32px;height:32px;flex-shrink:0}
@media(min-width:651px) and (max-width:1100px){aside .brand{font-size:12px;gap:7px}}
@media(min-width:651px){aside{display:flex;flex-direction:column;overflow:hidden}.sidebar-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:16px;scrollbar-width:thin}.aside-bottom{flex-shrink:0;position:static;margin-top:0;padding-top:16px;border-top:1px solid #edf0e9}}
.task-author{font-size:11px;color:#718269;line-height:1.8;margin:9px 0 0;overflow-wrap:anywhere}.draft-library{margin-top:28px}.draft-library .task-images{flex-shrink:0}.draft-library .task-caption{max-width:800px}#draft-nav-count{float:right;border-radius:10px;background:#e7eee2;padding:0 7px;font-size:11px;line-height:18px}
@media(min-width:1101px){#drafts-page{height:100%;overflow-y:auto;overscroll-behavior:contain}}
.device-status{min-width:0}.device-status-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.device-status-heading .dot{flex-shrink:0;margin:0}.device-strip #device-reason{display:block;margin:7px 0 0 18px;line-height:1.7}#device-refresh{flex-shrink:0;border:1px solid #bfcebd;border-radius:6px;background:#fff;padding:6px 10px;font-size:12px;color:#3d7051}#device-refresh:hover{background:#f7faf3}#device-refresh:disabled{opacity:.6;cursor:wait}#device-refresh-note{font-size:10px;color:#7d907b}
@media(max-width:650px){.device-strip{flex-wrap:wrap;gap:12px}.device-status{width:100%}}

/* The current account card is the desktop route to the content workspace. */
.sidebar-account{margin-top:36px}
.sidebar-account .account-heading{margin:0 0 12px}
.sidebar-navigation{display:grid;gap:4px;margin-top:20px;padding-top:12px;border-top:1px solid #edf0e9}
.sidebar-navigation .nav{margin:0}
.account-choice{background:#fff}
.account-choice.active{background:#f3f8f0;border-color:#7c9d73}
#account-list{display:grid;gap:8px}
#history-account{max-width:230px;min-width:140px}
.mobile-nav button.active{background:#edf4ee;border-color:#a9c6a8}
@media(max-width:650px){.mobile-nav button{min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
.style-delete-row{display:flex;justify-content:flex-end;margin-top:8px}
.style-delete-row .danger-button{margin:0;padding:7px 10px;font-size:11px}
.style-delete-row .danger-button:disabled{opacity:.5;cursor:not-allowed}
.ai-recovery{border:1px solid #d5c28a;background:#fffaf0;border-radius:7px;padding:12px;margin:14px 0}.ai-recovery p,#ai-edit-message{font-size:11px;line-height:1.8;overflow-wrap:anywhere}.execution-preview{border:1px solid #bed2bf;border-radius:8px;background:#f6faf3;padding:15px;margin-top:18px}.execution-preview>strong{font-size:13px}.execution-preview p{font-size:11px;line-height:1.8;color:#608064}.execution-preview pre,#ai-recovered-content{font-size:13px;line-height:1.9;font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0;max-height:300px;overflow:auto}.execution-preview #execution-preview-note{margin-bottom:0}#ai-edit-panel{margin-top:16px;padding-top:16px;border-top:1px solid #dce6d6}#ai-edit-content{min-height:180px;margin-bottom:12px}.assistant-decision{width:min(460px,calc(100vw - 32px));border:1px solid #dce3d6;border-radius:12px;padding:24px;color:#304a38}.assistant-decision::backdrop{background:#15221aaa}.assistant-decision h2{font-size:18px;margin:0 0 14px}.assistant-decision p{font-size:13px;line-height:1.8;margin:0 0 22px}#assistant-decision-save{background:#2d7153;color:#fff}button:disabled{cursor:default;opacity:.55}
.quick-options{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0 15px}.quick-options button{border:1px solid #cfddc9;border-radius:18px;background:#fff;color:#587752;font-size:12px;padding:7px 11px}.quick-options button[aria-pressed=true]{background:#e8f2e3;border-color:#729a67;color:#28583a;box-shadow:inset 0 0 0 1px #729a67}.ai-default-actions{margin-top:10px}.ai-default-actions button{flex:1 1 0;min-width:0;font-size:11px}#ai-output>.inline-actions>button{flex:1 1 120px;min-width:0}.ai-progress{border:1px solid #d9e4d5;background:#fff;border-radius:7px;padding:12px;margin:14px 0}.ai-progress>strong{font-size:12px;color:#3f7250}.ai-progress p{font-size:11px;line-height:1.8;color:#77866d}.ai-progress pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:13px;line-height:1.9;max-height:220px;overflow:auto;margin-bottom:0;color:#596a54}.ai-versions button.selected{font-weight:600}#ai-target-note{margin-top:0}.control-label>small{font-size:10px;font-weight:400;color:#8a988d}
.quick-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.quick-heading .control-label{margin:0}.quick-heading>button{border:0;background:transparent;color:#447a53;font-size:11px;padding:7px 0}.quick-option-group{width:100%;min-width:0}.quick-option-group>small{display:block;font-size:10px;color:#8b9d81;margin:3px 0 8px}.quick-option-pills{display:flex;gap:7px;flex-wrap:wrap}.quick-option-pills button{max-width:100%;overflow-wrap:anywhere;text-align:left}.ai-panel .quick-manage{margin:0 0 15px}.quick-manage summary{font-size:11px;color:#6f8a66}.quick-manage-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #e1e9db}.quick-manage-row:last-child{border:0}.quick-manage-text{min-width:0}.quick-manage-title{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.quick-manage-title strong{font-size:12px;font-weight:550;overflow-wrap:anywhere}.quick-manage-title small{font-size:10px;color:#8b9b80}.quick-manage-text p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:5px 0 0;font-size:11px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:#8a997f}.quick-manage-row>button{flex-shrink:0;padding:5px 9px;border:1px solid #cdddc4;background:#fff;border-radius:5px;color:#58774f;font-size:11px}#quick-manage-list{max-height:300px;overflow-y:auto}#quick-message:empty,#ai-preferences-message:empty{display:none}.quick-editor{width:min(510px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;border:1px solid #cfddc7;border-radius:13px;padding:25px;color:#304a38}.quick-editor::backdrop{background:#15221a88}.quick-editor h2{font-size:19px;margin:0}.quick-editor label{margin-top:20px}.quick-editor textarea{min-height:130px;font-size:13px;line-height:1.8}.quick-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.quick-editor-actions>div{display:flex;gap:9px;margin-left:auto}.quick-editor-actions .secondary,.quick-editor-actions .danger-button{width:auto;margin:0}.quick-editor-actions .danger-button{padding:9px 12px;font-size:12px}.quick-save{background:#2d7153;border:1px solid #2d7153;color:#fff;padding:9px 16px;border-radius:6px;font-size:12px}#quick-editor-message{font-size:12px;line-height:1.8;overflow-wrap:anywhere}#quick-editor-message:empty{display:none}

.user-usage-card{margin-top:26px}.user-usage-card .section-title{align-items:flex-end;gap:18px}.user-usage-filter{display:flex;align-items:flex-end;gap:10px}.user-usage-filter label{width:145px;margin:0;font-size:10px;color:#718174}.user-usage-filter input{margin-top:5px;padding:8px}.user-usage-filter button{width:auto;min-width:68px;margin:0;padding:9px 14px}.user-usage-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.user-usage-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e5ece2;background:#f8faf6;border-radius:8px;padding:12px 16px}.user-usage-summary span{font-size:12px;color:#738274}.user-usage-summary strong{font-size:22px;color:#315f42;font-weight:600}.user-usage-note{margin:14px 0 0}.user-usage-card #user-usage-message{margin:4px 0 0}.user-layout{grid-template-columns:minmax(400px,1.35fr) minmax(270px,.75fr)}.user-list-heading,.user-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(100px,.45fr) minmax(90px,.4fr) 52px;grid-template-areas:'identity post ai edit';align-items:center;gap:12px}.user-list-heading{padding:12px 0 8px;border-bottom:1px solid #e9eee5;color:#849285;font-size:10px}.user-list-heading span:nth-child(2),.user-list-heading span:nth-child(3){text-align:center}.user-row{padding:13px 0}.user-info{grid-area:identity;min-width:0}.post-count{grid-area:post}.ai-count{grid-area:ai}.user-row-count{text-align:center;color:#315f42;font-size:15px}.user-row-count:before{display:none}.user-row>button{grid-area:edit}
@media(max-width:1100px){.user-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.user-usage-card .section-title{align-items:stretch;flex-direction:column}.user-usage-filter{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:8px}.user-usage-filter label{width:auto}.user-usage-filter button{min-width:56px;padding:9px 10px}.user-usage-summary{gap:8px}.user-usage-summary>div{align-items:flex-start;flex-direction:column;padding:10px}.user-usage-summary strong{font-size:20px}.user-list-heading{display:none}.user-row{grid-template-columns:minmax(0,1fr) 38px;grid-template-areas:'identity edit' 'post edit' 'ai edit';gap:5px 8px;padding:14px 0}.user-row-count{text-align:left;font-size:12px}.user-row-count:before{display:inline-block;color:#819083;font-size:10px;margin-right:7px}.post-count:before{content:'成功发圈'}.ai-count:before{content:'AI 成功调用'}.user-row>button{width:auto;padding:7px 9px}}
.user-usage-ranges{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 10px}.user-usage-ranges button{width:auto;margin:0;padding:8px 14px;border:1px solid #d7e2d4;border-radius:20px;background:#fff;color:#607663;font-size:12px}.user-usage-ranges button[aria-pressed=true]{background:#e8f2e3;border-color:#729a67;color:#28583a;box-shadow:inset 0 0 0 1px #729a67}.user-usage-filter[hidden]{display:none!important}.user-info small{display:block;margin-top:4px;color:#879488;font-size:10px;line-height:1.5}

.ai-availability-row{display:flex;align-items:center;gap:10px;margin-top:8px}.ai-availability-row .form-help{flex:1;min-width:0;margin:0}#ai-retry-setup{width:auto;flex:0 0 auto;white-space:nowrap;margin:0}@media(max-width:650px){.ai-availability-row{align-items:flex-start;flex-wrap:wrap}.ai-availability-row #ai-retry-setup{margin-left:auto}}
.quick-option-item{display:inline-flex;align-items:stretch;max-width:100%;min-width:0;border:1px solid #cfddc9;border-radius:18px;background:#fff;color:#587752}.quick-option-item.selected{background:#e8f2e3;border-color:#729a67;box-shadow:inset 0 0 0 1px #729a67;color:#28583a}.quick-options .quick-option-item>button{border:0;background:transparent;box-shadow:none;color:inherit;margin:0}.quick-options .quick-option-select{min-width:0;border-radius:18px;padding:7px 11px}.quick-options .quick-option-edit{flex-shrink:0;border-left:1px solid #cfddc9;border-radius:0 18px 18px 0;padding:7px 9px;font-size:10px;color:#6f8668}.quick-option-item button:focus-visible{outline:2px solid #729a67;outline-offset:2px}

.task-account-field{margin-bottom:22px;padding-bottom:14px;border-bottom:1px solid #e6ece1}.task-account-field label{margin-bottom:8px}.task-account-field select{margin:0}.task-account-field .form-help{margin:7px 0 0}.task-account-field .form-help:empty{display:none}.user-account-permissions{margin:16px 0;padding:12px;border:1px solid #dce3dc;border-radius:8px}.user-account-permissions legend{font-size:13px;color:#405c47;padding:0 5px}.account-permission-option{display:flex;align-items:flex-start;gap:8px;margin:7px 0;font-size:12px;line-height:1.7}.account-permission-option input{margin:3px 0 0;flex-shrink:0}.account-permission-option span{overflow-wrap:anywhere}

/* Separate drag handles preserve the shortcut's selection and edit actions. */
.quick-options .quick-option-item>.quick-option-handle{padding:7px 6px;min-width:28px;flex-shrink:0;border-right:1px solid #dce6d7;border-radius:18px 0 0 18px;color:#7b9473;cursor:grab;touch-action:none;user-select:none}
.quick-option-handle:active,.quick-option-chosen .quick-option-handle{cursor:grabbing}
.quick-option-ghost{opacity:.35}.quick-option-chosen{box-shadow:0 3px 10px #26492e20}
@media(max-width:650px){.quick-options .quick-option-item>.quick-option-handle{min-width:36px;min-height:40px;padding:8px}}

/* Adoption is a completed status, kept legible when its action is disabled. */
#ai-adopt{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:2px solid #2d7153}
#ai-adopt.is-adopted{background:#e4f3e9;color:#205c3b;border-color:#6da682;font-weight:650;opacity:1;cursor:default}
#ai-adopt .adopt-check{display:inline-grid;place-items:center;flex:0 0 20px;width:20px;height:20px;border-radius:50%;background:#2d7153;color:#fff;font-size:14px;font-weight:700;line-height:1}

/* Account catalog and editor are separate steps. */
#accounts-page .section-title h2{min-width:0;overflow-wrap:anywhere}
#accounts-page .section-title>.secondary{width:auto;margin:0;flex-shrink:0;white-space:nowrap}
.account-management{max-width:860px;grid-template-columns:minmax(0,1fr)}
.account-management>.card{min-width:0}
.account-manager-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-top:1px solid #e7ede4}
.account-manager-info{display:grid;gap:6px;min-width:0}
.account-manager-info strong{font-size:15px;overflow-wrap:anywhere}
.account-manager-info small{font-size:12px;color:#829080;overflow-wrap:anywhere}
.account-manager-status{font-size:11px;color:#537453}
#accounts-page .account-manager-row>.secondary{width:auto;margin:0;flex-shrink:0;min-height:40px}
#account-archived-section{margin-top:22px;border-top:1px solid #e1e8dd;padding-top:18px}
#account-archived-section summary{font-size:13px;color:#768773;cursor:pointer;margin-bottom:12px}
#account-archived-count{margin-left:6px}
#account-mode-note{padding:12px 14px;border:1px solid #e0e9db;border-radius:7px;background:#f6f9f3;margin:0 0 24px;color:#6d8066}
#account-dirty-note{min-height:20px;margin:0 0 12px}
.account-editor-actions{display:flex;justify-content:flex-end;gap:12px}
#accounts-page .account-editor-actions>button{width:auto;min-width:90px;margin:0;gap:8px}
.account-archive-actions{margin-top:30px;padding-top:22px;border-top:1px solid #eaded9}
.account-archive-actions h3{font-size:13px;color:#8d5c50;margin:0}
.account-archive-actions .danger-button{margin-top:4px}
#account-message{margin:0;font-size:13px;line-height:1.8;color:#477249}
#account-message:empty{display:none}
#account-assign{justify-self:start;width:auto;margin:0}
@media(max-width:650px){#accounts-page .section-title{gap:12px;align-items:center}#accounts-page .section-title h2{font-size:16px}.account-manager-row{gap:12px;padding:15px 0}.account-manager-info strong{font-size:14px}#accounts-page .account-editor-actions>button{min-height:44px}.account-management{width:100%}}
