*{box-sizing:border-box} :root{font-family:Inter,"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:#191919;background:#f6f6f6;font-size:16px;font-synthesis:none;--line:#e5e5e5;--muted:#737373;--soft:#f6f6f6;--ink:#171717}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:white;color:inherit;border-radius:10px;min-height:38px;padding:8px 14px;transition:background .15s,box-shadow .15s}button:hover{background:#f0f0f0}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #676767;outline-offset:3px}.primary{background:#171717;color:#fff;border-color:#171717}.primary:hover{background:#333}.quiet{border-color:transparent;background:transparent}.danger{color:#a62424}.muted{color:var(--muted)}.small{font-size:14px}h1,h2,h3,p{margin:0}h1{font-size:26px;letter-spacing:-.8px}h2{font-size:20px}h3{font-size:16px}small{font-size:13px}input:not([type=checkbox]):not([type=color]),textarea,select{width:100%;min-height:42px;padding:10px 12px;border:1px solid #dcdcdc;border-radius:9px;background:white;color:#191919}textarea{resize:vertical;line-height:1.7;min-height:175px}input[type=checkbox]{width:17px;height:17px;accent-color:#111}input[type=color]{width:40px;height:32px;padding:2px;border:1px solid var(--line);border-radius:7px;background:white}label.field{display:grid;gap:8px;margin:18px 0;font-size:14px}a{color:inherit;text-underline-offset:3px}.brand{display:flex;align-items:center;gap:12px;font-weight:750;letter-spacing:.6px}.brand img{width:36px;height:36px}.badge{font-size:12px;border:1px solid var(--line);border-radius:5px;padding:3px 6px;color:#777;font-weight:500;letter-spacing:.5px}.shell{display:grid;grid-template-columns:212px minmax(0,1fr);min-height:100vh}.sidebar{background:#151515;color:#f8f8f8;padding:30px 20px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:34px}.sidebar .brand img{background:white;border-radius:50%;padding:1px}.side-label{color:#858585;font-size:12px;letter-spacing:2px;margin:0 10px 12px}.nav{display:grid;gap:7px}.nav button{display:flex;align-items:center;gap:12px;border:0;text-align:left;padding:13px 14px;background:transparent;color:#a5a5a5}.nav button.active{color:#171717;background:#fff}.nav button:hover:not(.active){background:#282828;color:#fff}.nav svg,.icon svg{width:19px;height:19px;flex:none}.profile{margin-top:auto;border-top:1px solid #333;padding-top:24px;display:grid;gap:10px}.profile .muted{color:#999}.profile button{color:#ccc;background:#232323;border-color:#333}.main{padding:32px 34px;min-width:0;max-width:1900px}.page-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px}.eyebrow{font-size:12px;letter-spacing:2px;color:#8a8a8a;margin-bottom:8px}.page-top p{font-size:14px;color:var(--muted);margin-top:10px;line-height:1.6}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{justify-content:space-between}.surface{background:white;border:1px solid var(--line);border-radius:16px}.scope{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:18px}.scope button{border:0;border-radius:0;padding:12px 18px;background:transparent;color:#777;border-bottom:2px solid transparent}.scope button.active{border-bottom-color:#111;color:#111;font-weight:700}.group-bar{display:flex;align-items:center;gap:8px;margin-bottom:20px;flex-wrap:wrap}.group-bar button{font-size:14px;border-radius:7px;padding:6px 11px;min-height:32px}.group-bar button.active{background:#e6e6e6;border-color:#d5d5d5}.group-bar .spacer{flex:1}.workspace{display:grid;grid-template-columns:168px minmax(280px,1fr) 292px;gap:16px;align-items:start}.people{padding:10px;min-height:380px}.people h3{font-size:13px;font-weight:500;color:#777;margin:8px 8px 15px}.person{width:100%;border:0;text-align:left;display:grid;gap:7px;padding:14px 12px;background:transparent;margin-bottom:5px}.person.active{background:#191919;color:#fff}.person small{color:#8e8e8e}.person.active small{color:#bcbcbc}.desk{min-width:0}.toolbar{padding:18px 18px 14px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center}.toolbar h2{font-size:18px}.toolbar .version{font-size:12px;color:#888;margin-top:6px}.topics{display:flex;gap:8px;flex-wrap:wrap;padding:16px 18px 0}.topics button{border-radius:24px;padding:9px 17px;font-size:14px}.topics button.active{background:#161616;color:white;border-color:#161616}.phrase-actions{padding:14px 18px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.phrase-actions button{font-size:13px;padding:6px 9px;min-height:32px}.phrase-actions input{font-size:13px!important;min-height:32px!important;padding:6px 10px!important;max-width:160px;margin-left:auto}.phrase-list{padding:0 17px 18px;max-height:calc(100vh - 382px);min-height:245px;overflow:auto;scrollbar-width:thin}.phrase-row{display:flex;align-items:center;gap:7px;padding:3px 0;position:relative}.phrase-row>.pick{display:flex;align-items:center}.phrase{min-width:0;flex:1;text-align:left;border-radius:24px;padding:9px 14px;font-size:15px;line-height:1.4;background:linear-gradient(90deg,var(--phrase-color,#eef0f3) 0%,#fff 100%);border:1px solid #e3e5e8}.phrase.active{outline:2px solid #252525;outline-offset:0}.phrase:hover{box-shadow:0 2px 6px #00000012}.phrase.image{border-radius:10px;padding:6px 10px;display:flex;gap:14px;align-items:center}.phrase.image img{width:70px;height:66px;object-fit:contain;background:#f6f6f6;border-radius:6px}.phrase.image span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fold-label{margin:12px 0 4px;padding:9px 12px;background:#f6f6f6;border-radius:9px;font-weight:650;display:flex;align-items:center;justify-content:space-between}.editor{padding:20px;position:sticky;top:20px}.editor .field{margin:16px 0}.editor .field input,.editor textarea{font-size:14px}.editor .footer{border-top:1px solid var(--line);padding-top:16px;margin-top:18px;display:flex;justify-content:flex-end;gap:8px}.empty{padding:55px 20px;text-align:center;color:#8a8a8a;font-size:14px;line-height:1.8}.save-strip{margin-top:16px;display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:13px;color:#777;padding:13px 17px}.state-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#b6b6b6;margin-right:7px}.dirty .state-dot{background:#171717}.table-wrap{overflow:auto;padding:4px 20px 16px}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;color:#777;font-size:13px;font-weight:500;padding:17px 12px;border-bottom:1px solid var(--line)}td{padding:18px 12px;border-bottom:1px solid #ededed;font-size:14px}td strong{display:block;font-size:15px;margin-bottom:5px}td button{font-size:13px;min-height:32px;padding:5px 10px}.status{border-radius:6px;padding:4px 8px;background:#f0f0f0;font-size:12px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.login-art{background:#151515;color:white;padding:60px 64px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-art:after{content:'';position:absolute;inset:0;background-image:linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px);background-size:48px 48px;pointer-events:none}.login-art .brand{position:relative;z-index:1}.login-art .brand img{background:white;border-radius:50%}.login-symbol{width:210px;height:210px;margin:auto;position:relative;filter:drop-shadow(0 0 42px #ffffff18)}.login-art h1{font-size:36px;letter-spacing:2px;margin-bottom:18px}.login-art p{color:#a0a0a0;line-height:1.9;font-size:14px}.login-form-wrap{display:flex;justify-content:center;align-items:center;padding:36px}.login-form{width:min(390px,100%)}.login-form h2{font-size:27px;margin-bottom:12px}.login-form p{color:#777;font-size:14px;line-height:1.7}.login-form .primary{width:100%;margin-top:14px;height:46px}.error{color:#a62424;font-size:14px;line-height:1.5;min-height:20px;margin-top:12px}.login-foot{border-top:1px solid var(--line);padding-top:22px;margin-top:30px;font-size:13px;color:#999;line-height:1.8}.loading{padding:40px;color:#777}.banner{padding:16px 20px;margin-bottom:20px;border-radius:12px;background:#efefef;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;line-height:1.7}.settings-card{padding:24px;margin-bottom:18px}.settings-card h2{margin-bottom:16px}.settings-card p{font-size:14px;color:#666;line-height:1.9}.settings-card .row{margin-top:20px}.steps{padding:0;margin:20px 0 0;list-style:none;counter-reset:step;display:grid;gap:20px}.steps li{counter-increment:step;display:flex;gap:14px;font-size:14px;line-height:1.7}.steps li:before{content:counter(step);border:1px solid #d7d7d7;border-radius:50%;width:26px;height:26px;flex-shrink:0;text-align:center}#notice{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:200;background:#202020;color:white;padding:12px 20px;border-radius:10px;box-shadow:0 8px 32px #0002;max-width:90vw;font-size:14px;display:none}#notice.show{display:block}dialog{border:1px solid #dedede;border-radius:18px;padding:26px;width:min(530px,calc(100vw - 28px));box-shadow:0 28px 95px #0003;max-height:88vh;color:#191919}dialog::backdrop{background:#0005;backdrop-filter:blur(2px)}dialog h2{margin-bottom:12px}dialog .dialog-actions{border-top:1px solid var(--line);padding-top:18px;margin-top:22px;display:flex;gap:8px;justify-content:flex-end}dialog .check-list{max-height:330px;overflow:auto;border:1px solid var(--line);border-radius:10px;margin-top:15px}dialog .check-list label{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid var(--line)}dialog .check-list span{flex:1}dialog .history-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);gap:10px;font-size:14px}.block-image{width:100%;max-height:250px;object-fit:contain;background:#f6f6f6;border-radius:8px}button.icon{padding:7px;display:inline-flex;align-items:center;justify-content:center}.mobile-brand{display:none}#dialog .hint{font-size:14px;color:#777;line-height:1.7} .selected-summary{font-size:13px;margin-left:auto;color:#777}
@media(min-width:1500px){.workspace{grid-template-columns:190px minmax(400px,1fr) 340px}.main{padding:36px 44px}.phrase-list{max-height:calc(100vh - 390px)}}@media(max-width:1200px){.shell{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding:26px 14px}.main{padding:28px 22px}.workspace{grid-template-columns:144px minmax(260px,1fr)}.editor{grid-column:2;position:static}.phrase-list{max-height:550px}.login-art{padding:40px}}@media(max-width:800px){.shell{display:block}.sidebar{position:relative;height:auto;padding:16px;gap:16px}.sidebar>.brand,.side-label,.profile{display:none}.nav{display:flex;overflow:auto;gap:6px}.nav button{white-space:nowrap;padding:10px 13px;font-size:14px}.main{padding:24px 16px}.page-top{margin-bottom:20px}.page-top h1{font-size:24px}.workspace{grid-template-columns:1fr}.people{min-height:0;display:flex;overflow:auto;gap:6px;padding:8px}.people h3{display:none}.person{min-width:120px;width:auto;flex-shrink:0;margin:0;padding:10px 12px}.editor{grid-column:auto}.scope button{padding:10px 12px;font-size:14px}.login{display:block}.login-art{padding:24px}.login-art h1,.login-art>div:last-child,.login-symbol{display:none}.login-form-wrap{padding:45px 24px}.table-wrap{padding:0 8px 10px}.toolbar{padding:16px}.save-strip{flex-wrap:wrap}.page-top>.row{justify-content:flex-end}.group-bar .spacer{display:none}.phrase-actions input{max-width:100%;margin:0}.login-art .brand{font-size:18px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.phrase-row{content-visibility:auto;contain-intrinsic-size:auto 47px}.phrase-row:has(.image){contain-intrinsic-size:auto 86px}#operation-status{position:fixed;right:24px;bottom:24px;z-index:190;background:#fff;color:#444;border:1px solid #ddd;border-radius:9px;padding:10px 16px;font-size:14px;box-shadow:0 4px 16px #0001}.working [data-action]{cursor:progress}

/* The member preview follows the desktop capsule/menu structure. */
[hidden]{display:none!important}
.desktop-stage{padding:20px 14px;background:#f6f7f8;display:grid;grid-template-columns:78px minmax(0,1fr);gap:12px;align-items:start;min-height:350px}
.desktop-topicbar{display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:8px;margin:0;padding:7px;background:#fff;border:1px solid #dedfe3;border-radius:42px;box-shadow:0 3px 6px #0000000b;min-width:0}
.desktop-topicbar .desktop-symbol{width:64px;height:64px;align-self:center;border:2px solid #bca665;border-radius:50%;background:#fff}
.desktop-topicbar button{min-height:46px;padding:9px 3px;font-size:14px;font-weight:650;line-height:1.3;word-break:normal;overflow-wrap:anywhere;border-radius:26px;box-shadow:0 1px 3px #00000008}
.desktop-popup{min-width:0;background:#fff;border:1px solid #dce0e5;border-radius:22px;box-shadow:0 3px 9px #00000008;overflow:hidden}
.popup-heading{display:flex;justify-content:space-between;align-items:center;padding:12px 15px 0;gap:8px}
.popup-heading h2{font-size:19px}.popup-heading button{font-size:24px;line-height:1;padding:4px 9px}
.desktop-popup .phrase-actions{padding:10px 12px;border-bottom:1px solid #eef0f3;margin-bottom:7px}
.desktop-popup .phrase-actions button{border-radius:20px;background:linear-gradient(#fff,#f5f7fa);font-size:13px;min-height:34px}
.desktop-popup .phrase-list{padding:3px 12px 14px;max-height:calc(100vh - 405px);min-height:220px}
.desktop-popup .phrase{padding:6px 10px;font-weight:650;font-size:15px;line-height:1.45}
.desktop-popup .phrase.active{outline:1px solid #333;background:linear-gradient(90deg,#191b20,#545a65 65%,#fff);color:#fff!important}
.desktop-popup .phrase.image.active{background:#eef1f5;color:#191919!important}
.desktop-popup .phrase-row{contain-intrinsic-size:auto 42px}
.desktop-note{font-size:13px;line-height:1.7;color:#737373;padding:12px 17px;border-top:1px solid #e8eaed}
.desktop-prompt{font-size:14px;padding:45px 16px;line-height:1.8;color:#777;text-align:center}
.desktop-stage[data-layout=top]{grid-template-columns:1fr}
.desktop-stage[data-layout=top] .desktop-topicbar{flex-direction:row;align-items:center;border-radius:36px;overflow-x:auto;padding:6px;gap:7px}
.desktop-stage[data-layout=top] .desktop-symbol{width:58px;height:58px;flex-shrink:0}
.desktop-stage[data-layout=top] .desktop-topicbar button{flex:0 0 78px;min-height:52px;padding:7px 5px}
.person small{overflow-wrap:anywhere}
.desktop-stage[data-theme=water-glass]{background:linear-gradient(135deg,#eaf4fd,#f5faff 60%,#edf3fa)}
.desktop-stage[data-theme=water-glass] .desktop-topicbar,.desktop-stage[data-theme=water-glass] .desktop-popup{background:#ffffff80;border-color:#fff}
.desktop-stage[data-theme=water-glass] .desktop-topicbar .active{background:linear-gradient(130deg,#d1eaff,#7daed7);color:#173f63;border-color:#aec9df}
.desktop-stage[data-theme=water-glass] .phrase.active{background:linear-gradient(90deg,#78aeda,#dceefd 75%,white);color:#143755!important}
.people{max-height:calc(100vh - 265px);overflow:auto;scrollbar-width:thin}
@media(min-width:1450px){.workspace{grid-template-columns:160px minmax(440px,1fr) 300px}}
@media(max-width:1200px){.desktop-popup .phrase-list{max-height:520px}.workspace{grid-template-columns:130px minmax(0,1fr)}}
@media(max-width:800px){.workspace{grid-template-columns:1fr}.people{max-height:none}.desktop-stage{grid-template-columns:70px minmax(0,1fr);padding:12px 8px;gap:8px}.desktop-topicbar{padding:5px}.desktop-topicbar .desktop-symbol{width:58px;height:58px}.desktop-topicbar button{font-size:14px}.desktop-popup .phrase-list{padding:3px 8px 12px}.desktop-popup .phrase{font-size:14px}.desktop-popup .phrase-actions{padding:8px}.desktop-popup .phrase-actions input{max-width:100%}}

/* Match the compact desktop menu while keeping the editor separate. */
.shell{grid-template-columns:188px minmax(0,1fr)}
.main{padding:26px 24px;max-width:none}
.sidebar{padding:26px 16px}
.page-top{margin-bottom:20px}
.workspace{grid-template-columns:144px minmax(410px,1fr) 270px;gap:14px}
.workspace>*{min-width:0}
.desktop-stage{padding:22px 14px;grid-template-columns:70px minmax(0,1fr);gap:14px;min-height:430px;background:linear-gradient(140deg,#f0f2f5,#fafbfc)}
.desktop-topicbar{padding:5px;gap:7px;border-radius:36px}
.desktop-topicbar .desktop-symbol{width:60px;height:60px}
.desktop-topicbar button{min-height:48px;font-size:14px;padding:7px 2px;line-height:1.35}
.desktop-popup{border-radius:22px;background:#fafbfd;box-shadow:0 2px 6px #1721360b}
.popup-heading{padding:12px 14px 5px}
.popup-heading h2{font-size:20px;line-height:1.35;overflow-wrap:anywhere}
.desktop-popup .phrase-actions{display:block;padding:4px 12px 10px;border:0;margin:0}
.desktop-action-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.desktop-popup .phrase-actions button{font-size:14px;min-height:34px;padding:6px 7px;white-space:nowrap;border-color:#dfe4ec;box-shadow:0 1px 3px #17213608}
.desktop-action-row button{display:flex;align-items:center;justify-content:center;gap:5px}
.desktop-action-row svg{width:15px;height:15px;flex:none}
.desktop-secondary-row{display:flex;gap:8px;align-items:center;margin-top:8px;justify-content:space-between;flex-wrap:wrap}
.desktop-popup .phrase-actions input{font-size:14px!important;flex:1;max-width:none;min-width:120px;width:120px;min-height:34px!important;border-radius:20px;margin:0}
.font-controls{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:14px;color:#657086}
.font-controls button,.desktop-popup .font-controls button{width:32px;height:32px;min-height:32px;padding:0;border-radius:50%;font-size:20px;font-weight:400}
.font-controls output{min-width:20px;text-align:center;font-variant-numeric:tabular-nums;color:#272c35}
.font-hint{font-size:14px;color:#7b8291;line-height:1.6;margin-top:8px}
#single-font-control{margin-top:20px}
.desktop-interaction-hint{padding:0 14px 10px;color:#78849a;font-size:13px;line-height:1.6;border-bottom:1px solid #e9edf3}
.desktop-popup .phrase-list{padding:7px 12px 14px;min-height:0;max-height:calc(100vh - 380px);background:white;scroll-padding-block:8px}
.desktop-popup .phrase-row{padding:2px 0;gap:5px;contain-intrinsic-size:auto 30px;flex-wrap:nowrap}
.desktop-stage:not(.batch-mode) .phrase-row>.pick{display:none}
.desktop-popup .phrase{position:relative;display:block;border-radius:20px;min-height:0;padding:2px 24px 2px 12px;font-size:var(--phrase-font,16px);line-height:1.35;font-weight:700;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;background:linear-gradient(90deg,var(--phrase-color) 0%,color-mix(in srgb,var(--phrase-color) 45%,white) 65%,#fff 100%)}
.desktop-popup .phrase:not(.image)::after{content:'⋮';position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:14px;font-weight:400;color:#798395}
.desktop-popup .phrase.active{outline:1px solid #bbc4d2;outline-offset:0;box-shadow:0 2px 5px #1c233321;background:linear-gradient(90deg,#15171c,#5e636c 64%,#d8dade 88%,white)}
.desktop-popup .phrase-row:has(.image){display:inline-flex;vertical-align:top;max-width:100%;margin:2px 6px 5px 0;contain-intrinsic-size:auto 96px}
.desktop-popup .phrase.image{display:flex;flex-direction:column;width:88px;gap:3px;flex:none;border-radius:12px;padding:4px;background:white;color:#20242a!important;font-size:12px;font-weight:400}
.desktop-popup .phrase.image img{width:78px;height:68px;object-fit:contain;background:#f7f8fa;border-radius:7px}
.desktop-popup .phrase.image span{max-width:100%;line-height:1.5;min-height:18px}
.desktop-popup .fold-label{width:100%;border:1px solid #dfe4ec;border-radius:16px;background:#f7f9fc;padding:5px 10px;gap:8px;margin:6px 0 3px;text-align:left;min-height:30px}
.fold-label strong{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fold-label small{font-weight:400;color:#8290a5}
.batch-action-row{display:flex;gap:8px;align-items:center;justify-content:space-between;padding-top:8px;font-size:13px;color:#6b7280}
.editor{padding:18px;top:14px}.editor .block-image{margin-top:18px}.replace-image{width:100%;margin-top:9px;font-size:14px}.editor textarea{min-height:210px}
.image-paste-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;border:1px dashed #b5becc;background:#f7f9fc;border-radius:16px;width:100%;min-height:220px;padding:20px;text-align:center}
.image-paste-zone strong{font-size:18px;font-weight:650}.image-paste-zone span{font-size:14px;color:#657084}.image-paste-zone small{font-size:13px;color:#7f8997}.image-paste-zone .paste-symbol{width:48px;height:48px;border:1px solid #d8dfe9;border-radius:14px;line-height:44px;font-size:30px;color:#454f60;background:white}
.image-paste-zone img{max-width:100%;width:auto;max-height:240px;object-fit:contain;border-radius:8px}
.paste-status{font-size:14px;line-height:1.6;color:#697486;margin:12px 0}.paste-file-fallback{font-size:14px;color:#737d8c}.paste-file-fallback summary{cursor:pointer}.paste-file-fallback input{margin-top:10px}
@media(min-width:1700px){.workspace{grid-template-columns:170px minmax(600px,1fr) 320px}.desktop-stage{grid-template-columns:78px minmax(0,1fr);padding:26px 20px}.desktop-topicbar .desktop-symbol{width:66px;height:66px}.desktop-popup .phrase-actions{padding:6px 16px 12px}.desktop-action-row{gap:8px}.desktop-popup .phrase-actions button{min-height:38px}.desktop-popup .phrase-list{padding:10px 16px 18px}}
@media(min-width:1101px) and (max-width:1380px){.shell{grid-template-columns:164px minmax(0,1fr)}.sidebar{padding:24px 10px}.main{padding:22px 16px}.workspace{grid-template-columns:122px minmax(340px,1fr) 236px;gap:10px}.editor{grid-column:auto;padding:14px}.desktop-stage{grid-template-columns:62px minmax(0,1fr);padding:16px 9px;gap:9px}.desktop-topicbar .desktop-symbol{width:52px;height:52px}.desktop-topicbar button{font-size:13px}.desktop-action-row{grid-template-columns:repeat(2,minmax(0,1fr))}.desktop-popup .phrase-list{max-height:calc(100vh - 445px)}}
@media(max-width:1100px){.workspace{grid-template-columns:130px minmax(0,1fr)}.editor{grid-column:2;position:static}.desktop-popup .phrase-list{max-height:520px}}
@media(max-width:800px){.shell{display:block}.main{padding:20px 14px}.workspace{grid-template-columns:1fr}.editor{grid-column:auto}.desktop-stage{grid-template-columns:60px minmax(0,1fr);padding:14px 8px;gap:8px;min-height:330px}.desktop-topicbar .desktop-symbol{width:50px;height:50px}.desktop-topicbar button{font-size:13px;min-height:44px}.desktop-action-row{grid-template-columns:repeat(2,minmax(0,1fr))}.desktop-popup .phrase-actions button{font-size:14px}.desktop-secondary-row{justify-content:flex-end}.desktop-secondary-row input{flex-basis:100%!important}.desktop-popup .phrase-list{max-height:460px}.popup-heading{padding:10px 10px 4px}.popup-heading h2{font-size:18px}.desktop-interaction-hint{padding:0 10px 8px;font-size:12px}.desktop-popup .phrase{font-size:var(--phrase-font,16px)}.desktop-popup .phrase.image{font-size:12px}}
.desktop-stage[data-layout=side]{grid-template-columns:78px minmax(0,1fr)}
@media(max-width:1380px){.desktop-stage[data-layout=side]{grid-template-columns:70px minmax(0,1fr)}}

.sync-badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;line-height:1.5;padding:4px 8px;border-radius:20px;background:#eef0f3;color:#636b78;white-space:nowrap}.sync-badge i{width:6px;height:6px;border-radius:50%;background:currentColor}.sync-badge[data-status=ok]{background:#eaf2ee;color:#327454}.sync-badge[data-status=update]{background:#e9effe;color:#3454a5}.person .sync-badge{margin-top:9px;font-weight:400}.person.active .sync-badge{background:#ffffff22;color:#fff}.view-switch{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.view-switch button{font-size:12px;padding:8px 10px}.member-snapshot-note{padding:12px 18px;border-bottom:1px solid var(--line,#e4e4e4);font-size:12px;color:#737b89;line-height:1.9}.member-snapshot-note .sync-badge{margin-right:8px}.member-content{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;line-height:1.8;margin-top:18px}.member-phrases{display:flex;flex-direction:column;align-items:stretch;gap:5px}.member-phrases>.phrase{flex-shrink:0}.member-phrases>.image{align-self:flex-start}.member-readonly .desktop-stage{min-height:400px}.update-counts{display:flex;gap:12px;padding:14px 0;font-size:13px;font-weight:600}.update-counts span{background:#f3f4f6;border-radius:8px;padding:8px}.update-changes{max-height:42vh;overflow:auto;border-block:1px solid #eceef1;overscroll-behavior:contain}.update-change{padding:10px 0;border-bottom:1px solid #eceef1}.update-change summary{cursor:pointer;overflow-wrap:anywhere;font-size:14px;line-height:1.7}.update-change summary>span{font-size:11px;background:#eef0f4;padding:3px 5px;border-radius:4px}.update-change summary small{display:block;margin-left:20px;color:#7a818b}.update-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px 0}.update-comparison>div{background:#f6f7f9;padding:12px;border-radius:9px;min-width:0}.update-comparison pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:12px;max-height:240px;overflow:auto}.update-comparison img{display:block;max-width:100%;max-height:160px;object-fit:contain;margin-block:10px}.update-comparison b{font-size:12px}dialog:has(.update-changes){width:min(780px,92vw)}@media(max-width:640px){.update-comparison{grid-template-columns:1fr}.update-counts{gap:4px}.view-switch{justify-content:flex-start}.member-readonly .desktop-stage{min-height:300px}}
.client-download{background:linear-gradient(130deg,#fff,#f2f3f5)}.client-download .eyebrow{font-size:11px;margin-bottom:12px}.download-installer{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:#17191e;color:white;padding:14px 22px;border-radius:12px;font-size:15px;font-weight:600;text-decoration:none;margin:8px 0;min-height:48px}.download-installer:hover{background:#343841}.download-installer:focus-visible{outline:3px solid #91a3ce;outline-offset:4px}.profile .download-entry{margin-bottom:8px}@media(max-width:640px){.download-installer{width:100%}}

.account-page-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 18px}.account-page-toolbar p{font-size:14px;color:#787b81}.account-layout{display:grid;grid-template-columns:264px minmax(0,1fr);gap:20px;align-items:start}.account-layout .people,.workspace .people{display:block;overflow:visible;padding:10px;min-height:0;max-height:none}.tree-title{display:flex;align-items:center;justify-content:space-between;padding:4px 8px 12px}.people .tree-title h3{display:block;font-size:14px;margin:0;color:#6b7078}.tree-title>span{font-size:13px;color:#9298a1}.tree-title button{min-width:30px;min-height:30px;padding:0;font-size:22px}.group-tree{display:grid;gap:5px}.tree-group-heading{display:flex;align-items:center;border-radius:10px;background:#f6f7f8;position:relative}.group-toggle{min-width:0;flex:1;display:flex;align-items:center;gap:7px;border:0;background:transparent;text-align:left;padding:12px 6px 12px 8px}.group-toggle strong{font-size:14px;font-weight:650;flex:1;overflow-wrap:anywhere}.group-chevron{font-size:18px;width:12px;text-align:center;color:#898e97}.group-count{font-size:12px;color:#9197a0;font-variant-numeric:tabular-nums}.group-accounts{padding:5px 0 8px 12px}.group-accounts[hidden]{display:none}.people .tree-account{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;min-width:0;width:100%;border-radius:8px;padding:10px;margin:0 0 3px;font-size:14px}.account-name{max-width:100%;overflow-wrap:anywhere;font-weight:600}.account-login{font-size:12px;color:#858b95}.tree-account.active .account-login{color:#c8cbd0}.disabled-account{color:#9b6b55;font-size:12px}.group-empty{padding:9px 8px;font-size:13px;color:#9096a0}.action-menu{position:relative;flex:none}.action-menu summary{list-style:none;display:grid;place-items:center;width:32px;height:34px;border-radius:8px;font-size:21px;cursor:pointer;color:#7e8590}.action-menu summary::-webkit-details-marker{display:none}.action-menu summary:hover,.action-menu[open]>summary{background:#e7e9ed;color:#17191f}.action-menu-content{position:absolute;right:0;top:calc(100% + 4px);min-width:170px;padding:5px;border-radius:12px;border:1px solid #e0e3e8;box-shadow:0 8px 25px #161d2924;background:#fff;z-index:35}.action-menu-content button{display:block;width:100%;border:0;border-radius:7px;text-align:left;font-size:14px;white-space:nowrap}.tree-group .action-menu-content{left:0;right:auto}.account-detail{padding:30px;min-height:390px}.account-detail-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:26px;border-bottom:1px solid #eceef0}.account-detail-heading .eyebrow{font-size:12px;display:block}.account-detail-heading h2{font-size:28px;line-height:1.4;overflow-wrap:anywhere}.account-detail-heading p{font-size:14px;color:#7b818b;margin-top:9px}.account-detail-heading p strong{font-weight:500;color:#343941;margin-left:9px}.account-detail-heading .action-menu summary{border:1px solid #e4e6ea;width:40px;height:40px}.account-facts{margin:28px 0 32px;display:grid;grid-template-columns:1fr 1fr;gap:26px}.account-facts dt{font-size:13px;color:#8a909a;margin-bottom:8px}.account-facts dd{margin:0;font-size:15px;color:#353b44}.account-detail-footer{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding-top:22px;border-top:1px solid #eceef0}.account-detail-footer>span{font-size:13px;color:#9298a1}.deleted-account-list{max-height:50vh;overflow:auto;margin-top:15px}.deleted-account{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #eee}.deleted-account strong{font-size:15px;display:block}.deleted-account small{display:block;margin-top:6px;color:#8a919b}.login-art p{font-size:16px;max-width:420px;line-height:1.85}.login-form>p{font-size:15px}.workspace{grid-template-columns:210px minmax(350px,1fr) 280px}.group-toggle:focus-visible,.action-menu summary:focus-visible{outline:2px solid #68768a;outline-offset:2px}.tree-group:has(.action-menu[open]){position:relative;z-index:40}
@media(min-width:1700px){.workspace{grid-template-columns:236px minmax(560px,1fr) 310px}.account-layout{grid-template-columns:290px minmax(0,1fr)}}@media(max-width:1380px) and (min-width:1101px){.workspace{grid-template-columns:185px minmax(320px,1fr) 230px}}@media(max-width:1100px){.workspace{grid-template-columns:200px minmax(0,1fr)}}@media(max-width:800px){.account-layout,.workspace{grid-template-columns:1fr}.account-page-toolbar{align-items:flex-start;flex-wrap:wrap}.account-detail{padding:22px;min-height:0}.account-facts{gap:20px}.account-detail-heading h2{font-size:24px}.people .tree-title{display:flex}.group-toggle{padding:12px}.tree-group .action-menu-content{left:auto;right:0}.group-accounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.tree-group-heading{margin-top:3px}.account-page-toolbar .row{gap:5px}.group-accounts[hidden]{display:none}.tree-account{min-height:40px}}
.action-menu.menu-up .action-menu-content{top:auto;bottom:calc(100% + 4px)}
.action-menu-content{max-height:min(300px,70vh);overflow-y:auto}
@media(min-width:801px){.account-detail{position:sticky;top:24px}}

/* Desktop menu controls, shared by editing and live member data. */
.presence-light{display:inline-flex;align-items:center;gap:5px;flex:none;font-size:11px;line-height:1;color:#8a9099}
.presence-light i{width:7px;height:7px;display:block;border-radius:50%;background:#b7bdc6;box-shadow:0 0 0 3px #b7bdc615}
.presence-light.is-online{color:#32805e}.presence-light.is-online i{background:#35b27a;box-shadow:0 0 0 3px #35b27a1a,0 0 7px #35b27a35}
.tree-account.active .presence-light{color:#cbd0d6}.tree-account.active .is-online{color:#83e4b5}
.account-status{display:flex;align-items:center;gap:9px}.people .tree-account{gap:7px}.account-name{flex:1;min-width:0}
.desktop-preview{overflow:visible}.desktop-preview>.toolbar{flex-wrap:wrap}.desktop-preview .view-switch{flex-wrap:wrap;gap:6px}.desktop-preview .view-switch button{font-size:13px;padding:8px 10px}
.desktop-popup{position:relative;overflow:visible;min-height:210px;container-type:inline-size}
.popup-heading{gap:6px}.popup-window-buttons{display:flex;align-items:center;gap:6px;flex:none}.popup-window-buttons .reset-size{font-size:11px;padding:7px 9px;border-radius:22px;font-weight:400;color:#788297;background:white}
.popup-window-buttons .icon{width:30px;height:30px;padding:6px;border-radius:50%;background:white;color:#737e91}.popup-window-buttons .icon[aria-pressed=true]{background:#1e222a;color:white}.popup-window-buttons svg{width:16px;height:16px;display:block}
.desktop-topicbar .taiji-control{border:0;padding:0!important;background:transparent;min-height:0;box-shadow:none;display:flex;justify-content:center;flex-shrink:0}
.desktop-topicbar .taiji-control img{display:block;max-width:100%;height:auto;aspect-ratio:1}.desktop-topicbar .taiji-control:hover{background:transparent}
.desktop-utility-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:6px;margin-top:7px;align-items:center}
.desktop-utility-row>button{display:flex;align-items:center;justify-content:center;gap:5px}.desktop-utility-row svg,.phrase-tool-menu summary svg{width:15px;height:15px;flex:none;color:#748095}
.phrase-tool-menu{min-width:0}.phrase-tool-menu>summary{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;height:34px;box-sizing:border-box;padding:5px 7px;font-size:13px;color:#272b33;border:1px solid #dfe4ec;border-radius:22px;white-space:nowrap;background:linear-gradient(#fff,#f5f7fa);box-shadow:0 1px 3px #17213608}
.phrase-tool-menu[open]{z-index:70}.phrase-tool-menu[open]>summary{background:#edf1f6}.tool-chevron{font-size:12px;color:#7c8799}.phrase-tool-menu .action-menu-content{left:0;right:auto;z-index:75}
.phrase-tool-menu .action-menu-content[popover]{position:fixed;margin:0;inset:auto;bottom:auto!important;max-width:calc(100vw - 16px)}
.desktop-popup .action-menu-content button{border:0;box-shadow:none;border-radius:7px;background:white;font-size:13px;text-align:left}.desktop-popup .action-menu-content button:hover{background:#f0f2f6}
.desktop-search-row{display:flex;align-items:center;gap:5px;margin-top:8px}.desktop-search-row input{width:100%!important;flex:1}.desktop-search-row button{flex:none}
.desktop-utility-row .font-controls{gap:4px;font-size:12px}.desktop-utility-row .font-controls button{width:28px;height:28px;min-height:28px}.desktop-utility-row .font-controls output{min-width:16px;font-size:11px}
.desktop-interaction-hint{font-size:11px;padding:0 12px 8px;color:#8791a1}.desktop-popup .phrase-list{border-radius:0 0 20px 20px;scrollbar-gutter:stable;min-height:0;max-height:550px;overflow:auto}
.desktop-popup .phrase-row{position:relative;min-width:0}.desktop-popup .phrase:not(.image){padding-left:25px;padding-right:26px}.desktop-popup .phrase:not(.image)::after{display:none}
.phrase-grip,.record-more{position:absolute;z-index:2;border:0!important;background:transparent!important;box-shadow:none!important;color:#8993a4;display:grid;place-items:center;padding:0!important;width:22px;font-size:16px;line-height:1;min-height:24px;top:50%;transform:translateY(-50%);border-radius:8px}
.phrase-grip{left:1px;cursor:grab;touch-action:none;user-select:none}.record-more{right:3px;cursor:pointer}.record-more:hover{color:#101217}.desktop-popup .phrase-grip:hover{background:#e1e5eb80!important}
.desktop-popup .phrase-row:has(.image) .phrase-grip{top:auto;bottom:5px;transform:none;left:3px;min-height:18px}.desktop-popup .phrase-row:has(.image) .record-more{right:4px;bottom:5px;top:auto;transform:none;min-height:18px}
.desktop-popup .phrase.image{padding-bottom:22px}.desktop-popup .phrase.image span{padding:0 4px}.desktop-popup .phrase.image.active{background:#eef1f5!important}
.desktop-popup .phrase:hover,.desktop-popup .phrase.active{background:linear-gradient(90deg,#14171d 0%,#40454e 45%,#9a9fa8 75%,#fff 100%);color:white!important;box-shadow:0 2px 5px #1721361c}
.desktop-popup .phrase.image:hover{background:#eef1f5;color:#222!important}
.phrase-fold-card{border:1px solid #dce2ec;border-radius:17px;margin:4px 0 6px;padding:0 8px;background:#ffffffb8;position:relative}
.fold-heading{position:relative;padding-left:18px;min-width:0}.fold-heading>.phrase-grip{left:-3px}.desktop-popup .fold-heading .fold-label{border:0;background:transparent;padding:6px 0;margin:0;min-width:0}.fold-label .fold-tag{padding:2px 6px;border-radius:12px;background:#f0f3f7;font-size:10px;margin:auto}
.fold-tools{display:flex;flex-wrap:wrap;gap:4px;padding:4px 0 5px}.fold-tools .phrase-tool-menu>summary{height:28px;font-size:11px;padding:4px 5px;gap:3px}.fold-tools .phrase-tool-menu>summary svg{width:12px;height:12px}.fold-tools .icon{width:28px;height:28px;padding:5px;border-radius:50%}.fold-tools .icon svg{width:15px;height:15px;display:block;color:#647087}
.fold-style-row{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:3px 0 7px;font-size:11px;color:#748095}.fold-style-row button{font-size:12px;padding:3px 5px;min-height:25px;border-radius:20px;display:flex;align-items:center;gap:3px}.fold-style-row button[data-field]{width:25px;border-radius:50%;font-size:15px;padding:0;justify-content:center}.fold-style-row svg{width:13px;height:13px}.fold-style-row output{min-width:16px;text-align:center}
.fold-children{padding-bottom:5px;min-height:32px}.fold-empty{font-size:12px;color:#8a96a7;padding:10px 4px;line-height:1.6}
.drag-ready{box-shadow:0 0 0 2px #748eb2,0 0 10px #748eb230!important}.drop-target{outline:2px solid #879bb7;outline-offset:1px}.drag-ready .phrase-grip{cursor:grabbing}
.menu-resize-handle{height:10px;position:absolute;bottom:0;left:calc(50% - 25px);width:50px;cursor:ns-resize;touch-action:none;display:grid;place-items:center;border-radius:8px}.menu-resize-handle::after{content:'';width:25px;height:3px;background:#d6dce5;border-radius:2px}.menu-resize-handle:focus-visible{outline:2px solid #879bb7}
.custom-menu-height{display:flex;flex-direction:column}.desktop-popup.custom-menu-height .phrase-list{flex:1;min-height:40px;max-height:none}.custom-menu-height>.popup-heading,.custom-menu-height>.phrase-actions,.custom-menu-height>.desktop-interaction-hint{flex:none}
.menu-pinned .desktop-popup,.menu-pinned .desktop-topicbar{position:sticky;top:14px}
.desktop-stage[data-theme=water-glass] .phrase-fold-card,.desktop-stage[data-theme=water-glass] .phrase-list{background:transparent}.desktop-stage[data-theme=water-glass] .phrase:not(.image):hover,.desktop-stage[data-theme=water-glass] .phrase.active:not(.image){background:linear-gradient(90deg,#87bae4,#cae5f9 63%,#fff);color:#173c5e!important}
.record-check-list{max-height:280px;overflow:auto;display:grid;gap:5px;margin:12px 0}.record-check-list label{display:flex;gap:10px;align-items:center;padding:9px 10px;border:1px solid #e4e7ec;border-radius:10px;cursor:pointer}.record-check-list input{flex:none;width:16px;height:16px}.record-check-list img{width:42px;height:42px;object-fit:contain}.record-check-list span{font-size:14px;overflow-wrap:anywhere}.record-check-list label:has(:checked){border-color:#777e8a;background:#f4f6f8}
.fold-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.record-operations{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.record-operations>.field{grid-column:1/-1}.record-operations>.danger{grid-column:1/-1}
@media(min-width:1101px) and (max-width:1550px){.workspace{grid-template-columns:205px minmax(0,1fr)}.workspace>.editor{grid-column:2;position:static}.desktop-stage{min-height:360px}.desktop-action-row{grid-template-columns:repeat(4,minmax(0,1fr))}}
@container(max-width:540px){.desktop-action-row{grid-template-columns:repeat(2,minmax(0,1fr))}.desktop-utility-row{grid-template-columns:repeat(2,minmax(0,1fr))}.desktop-utility-row .font-controls{justify-content:center}.popup-heading{flex-wrap:wrap}.popup-heading h2{font-size:18px}.popup-window-buttons{margin-left:auto}}
@media(max-width:800px){.desktop-preview .view-switch{width:100%}.desktop-action-row{grid-template-columns:repeat(2,minmax(0,1fr))}.desktop-utility-row{grid-template-columns:repeat(2,minmax(0,1fr))}.desktop-topicbar{min-width:0}.desktop-stage[data-layout=side]{grid-template-columns:58px minmax(0,1fr)}.desktop-stage .desktop-symbol{width:48px}.desktop-popup .phrase-actions{padding-inline:8px}.phrase-tool-menu>summary{font-size:12px;gap:3px}.phrase-tool-menu>summary svg{width:13px}.desktop-popup .phrase-actions button{font-size:12px}.popup-window-buttons{gap:3px}.popup-window-buttons .reset-size{font-size:10px;padding:6px}.presence-label{font-size:10px}}

/* Default markers follow the desktop theme instead of painting literal gold/white. */
.desktop-stage,#phrase-editor-dialog{--default-phrase-start:#dde4ed;--default-phrase-text:#111111;--default-phrase-background:linear-gradient(90deg,#dde4ed 0%,#eaf0f6 48%,#f5f8fb 82%,#fff 100%)}
.desktop-stage[data-theme=water-glass],#phrase-editor-dialog[data-theme=water-glass]{--default-phrase-start:#cbe7fa;--default-phrase-background:linear-gradient(90deg,#cbe7fa 0%,#ddf0fd 48%,#edf8fe 82%,#fff 100%)}
.desktop-popup .phrase.theme-default-background:not(.image):not(.active):not(:hover){background:var(--default-phrase-background)}
.desktop-topicbar [data-topic-sort]{position:relative;cursor:grab;user-select:none}.desktop-topicbar [data-topic-sort]:active{cursor:grabbing}.desktop-topicbar .topic-sort-source{opacity:.45}
.desktop-topicbar .topic-drop-before::after,.desktop-topicbar .topic-drop-after::after{content:"";position:absolute;left:7px;right:7px;height:3px;background:#648dcc;border-radius:3px;pointer-events:none}.desktop-topicbar .topic-drop-before::after{top:-6px}.desktop-topicbar .topic-drop-after::after{bottom:-6px}
.desktop-stage[data-layout=top] .topic-drop-before::after,.desktop-stage[data-layout=top] .topic-drop-after::after{top:7px;bottom:7px;width:3px;height:auto;right:auto}.desktop-stage[data-layout=top] .topic-drop-before::after{left:-6px}.desktop-stage[data-layout=top] .topic-drop-after::after{left:auto;right:-6px}
.topic-position-steps{display:flex;gap:8px;margin:-6px 0 20px}.topic-position-steps button{flex:1}

.workspace.phrase-workspace{grid-template-columns:210px minmax(0,1fr)}
#phrase-editor-dialog{width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border-radius:20px;overflow:hidden}
#phrase-editor-dialog[open]{display:flex;flex-direction:column}
#phrase-edit-form{display:flex;flex-direction:column;min-height:0;max-height:inherit;width:100%}
.edit-window-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px 16px;border-bottom:1px solid #e6e8ec;flex-shrink:0}
.edit-window-header h2{font-size:21px;margin:0}.edit-window-header p{font-size:13px;color:#727986;margin:6px 0 0;overflow-wrap:anywhere}
.edit-window-header>button{font-size:27px;width:38px;height:38px;padding:0;flex-shrink:0}
.edit-window-body{padding:18px 24px 12px;overflow:auto;min-height:0;overscroll-behavior:contain}
.edit-window-body .field{font-size:14px;margin-bottom:16px}.edit-window-body input,.edit-window-body textarea{font-size:16px}
.edit-window-body textarea{height:190px;min-height:100px;max-height:35vh;line-height:1.7;resize:vertical}
.edit-appearance{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;font-size:13px}
.edit-appearance>label{display:flex;align-items:center;gap:8px}.edit-appearance input[type=color]{width:38px;height:34px;padding:3px}
.edit-appearance .font-controls{margin:0;gap:7px}.edit-appearance .font-controls button{width:32px;height:32px;font-size:20px;padding:0}
.edit-phrase-preview{border:1px solid #dce0e6;border-radius:18px;padding:8px 14px;font-weight:700;margin-top:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#phrase-edit-error{font-size:13px;margin:12px 0 0;line-height:1.6}#phrase-edit-error:empty{display:none}
.edit-window-footer{padding:14px 24px 20px;border-top:1px solid #e6e8ec;background:#fafbfc;flex-shrink:0}
.edit-window-footer p{color:#727986;font-size:12px;line-height:1.6;margin:0 0 12px}.edit-window-footer>div{display:flex;gap:10px;justify-content:flex-end}
.edit-window-footer button{padding:10px 20px;font-size:15px}.edit-image-preview{display:block;max-width:100%;max-height:230px;margin:0 auto 18px;object-fit:contain;border-radius:10px}
@media(max-width:1100px){.workspace.phrase-workspace{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:760px){.workspace.phrase-workspace{grid-template-columns:1fr}}
@media(max-width:480px){.edit-window-header,.edit-window-body,.edit-window-footer{padding-left:16px;padding-right:16px}.edit-window-body textarea{height:150px}.edit-appearance{gap:10px}.edit-window-header{padding-top:14px;padding-bottom:12px}}

.batch-member-top{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #e6e6e6}.batch-member-top label,.batch-member-groups label{display:flex;align-items:center;gap:9px;cursor:pointer}.batch-member-groups{max-height:38vh;overflow:auto;margin:12px 0}.batch-member-groups details{border:1px solid #e4e4e7;border-radius:12px;margin:8px 0;overflow:hidden}.batch-member-groups summary{display:flex;justify-content:space-between;padding:12px 14px;background:#f6f6f7;cursor:pointer}.batch-member-groups small{color:#737780;font-size:13px}.batch-member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:12px;gap:8px}.batch-member-grid label{border-radius:8px;border:1px solid #ededee;padding:10px;min-width:0}.batch-member-grid label:has(input:checked){border-color:#292b30;background:#f2f3f5}.batch-member-grid small{display:block}.batch-result-list{max-height:220px;overflow:auto;border:1px solid #e6e6e8;border-radius:10px}.batch-result-list>div{padding:12px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;border-bottom:1px solid #eee;font-size:14px}.batch-result-list small{flex-basis:100%;color:#99602f;overflow-wrap:anywhere}.batch-member-groups input,.batch-member-top input{width:17px;height:17px;accent-color:#191919}.bulk-members-action{white-space:nowrap}@media(max-width:600px){.batch-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.batch-account-groups{max-height:36vh;overflow:auto;margin:12px 0}.batch-account-groups details{border:1px solid #e4e6e9;border-radius:10px;margin:9px 0;overflow:hidden}.batch-account-groups summary{background:#f6f7f8;padding:12px;cursor:pointer}.batch-account-groups label{display:flex;align-items:center;gap:10px;cursor:pointer}.batch-account-head,.batch-account-row{display:grid;grid-template-columns:1fr 1.3fr;gap:14px;padding:10px 12px;align-items:center;border-top:1px solid #eef0f2}.batch-account-head{font-size:13px;color:#7c828e}.batch-account-row input:not([type=checkbox]){min-width:0;width:100%;box-sizing:border-box;padding:9px;font-size:14px}.batch-account-row small{display:block;color:#7b8492;font-size:12px}.batch-account-groups input[type=checkbox]{accent-color:#151515;width:17px;height:17px}.batch-account-row:has(input:checked){background:#f8f9fb}.batch-account-row input:disabled{background:#f1f2f4;color:#989da5}
.desktop-stage.batch-mode .phrase-row>.phrase-grip{display:none}.desktop-stage.batch-mode .phrase-row>.pick{flex:none;width:26px;justify-content:center;position:relative;z-index:3}.desktop-stage.batch-mode .phrase:not(.image){padding-left:12px}.member-selection-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 16px;border-bottom:1px solid #e4e7ec;background:#f2f4f7;font-size:13px}.member-selection-bar button{font-size:13px;padding:5px 9px;min-height:30px}.member-selection-bar span{margin-left:auto;color:#657184}

.software-card{padding:28px;margin-bottom:20px;max-width:1100px}.software-card h2{margin:0 0 8px}.software-version{display:flex;align-items:center;gap:14px;margin:28px 0 18px;flex-wrap:wrap}.software-version strong{font-size:28px;letter-spacing:-.5px}.software-notes{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;padding:20px;background:#f6f7f8;border:1px solid #e7e8eb;border-radius:16px}.software-history-row{display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid #eee;gap:16px}.software-history-row>div{display:flex;flex-direction:column;gap:6px}#software-progress{padding:12px 0;font-variant-numeric:tabular-nums}

.template-help{font-size:13px;line-height:1.7;color:#7b8493;margin:0 16px 16px}.template-list{display:flex;flex-direction:column;gap:7px;padding:0 10px 18px}.template-choice{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:16px;text-align:left;border:0;border-radius:14px;background:transparent;overflow-wrap:anywhere;white-space:normal}.template-choice small{color:#84909e;font-size:12px;line-height:1.6}.template-choice.active{background:#191919;color:#fff}.template-choice.active small{color:#c4c9d1}.template-empty{padding:64px 30px}.template-empty h2{color:#1a1a1a;margin-bottom:16px}.template-empty p{max-width:420px;margin:0 auto 24px;line-height:1.9}.template-publish-option{display:flex;align-items:center;gap:10px;padding:16px 0;font-weight:600}.template-publish-option input{width:18px;height:18px;accent-color:#191919}
.template-collaboration{display:flex;flex-direction:column;gap:7px;padding:16px 22px;background:#f9fafb;border-bottom:1px solid #e8ebef;font-size:14px;line-height:1.7;color:#697280}.template-collaboration strong{color:#262b33;font-weight:600;overflow-wrap:anywhere}.template-collaboration span{font-size:13px}.template-list small{display:block}

.desktop-color-controls{--default-phrase-text:#111111;--default-phrase-background:linear-gradient(90deg,#dde4ed 0%,#eaf0f6 48%,#f5f8fb 82%,#fff 100%);display:grid;gap:16px;margin:16px 0;min-width:0}
.desktop-color-controls[data-theme=water-glass]{--default-phrase-background:linear-gradient(90deg,#cbe7fa 0%,#ddf0fd 48%,#edf8fe 82%,#fff 100%)}
.desktop-palette-field{margin:0;padding:0;border:0;min-width:0}.desktop-palette-field legend{font-size:14px;font-weight:600;margin-bottom:9px;color:#343a45}
.desktop-color-grid{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:6px;padding:2px}
.desktop-color-controls .desktop-color-grid button{display:grid;place-items:center;box-sizing:border-box;min-width:0;width:100%;height:28px;min-height:28px;margin:0;padding:0;border:1px solid #a7b2c4;border-radius:5px;box-shadow:none;cursor:pointer;color:#fff}
.desktop-color-controls .desktop-color-grid button svg,.theme-default-color-button>svg{width:15px;height:15px;visibility:hidden;pointer-events:none}
.desktop-color-controls .desktop-color-grid button svg{filter:drop-shadow(0 1px 1px #000) drop-shadow(0 0 1px #000)}
.desktop-color-controls .desktop-color-grid button.is-active{outline:2px solid #648dcc;outline-offset:1px;border-color:#fff}.desktop-color-controls .desktop-color-grid button.is-active svg,.theme-default-color-button.is-active>svg{visibility:visible}
.desktop-color-controls .desktop-color-grid button:focus-visible{outline:3px solid #151b25;outline-offset:2px}.desktop-color-controls .desktop-color-grid button:hover{box-shadow:0 1px 5px #17233440}.desktop-color-controls .desktop-color-grid button:disabled{cursor:wait}
.desktop-color-grid.fold-name-palette{grid-template-columns:repeat(6,28px);grid-auto-rows:28px;gap:7px;justify-content:start}.desktop-color-controls .fold-name-palette button{border-radius:8px}
.theme-default-color-button{display:grid;width:100%;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:10px;min-height:42px;padding:7px 11px;border:1px solid #d4dbe5;border-radius:8px;background:#fafbfd;color:#202630;font-size:14px;font-weight:600;text-align:left}
.theme-default-color-button.is-active{border-color:#8798ae;box-shadow:inset 3px 0 #8798ae}.theme-default-color-button:hover{background:#f1f4f8}.theme-default-color-swatch{display:grid;place-items:center;width:32px;height:25px;border:1px solid #c7d0dc;border-radius:5px;background:var(--default-phrase-background);color:var(--default-phrase-text);font-size:12px;font-weight:800}
.palette-custom-value{display:flex;align-items:center;gap:7px;font-size:12px;color:#737c89;margin-top:8px}.palette-custom-value[hidden]{display:none}.palette-custom-value i{width:16px;height:16px;display:inline-block;border:1px solid #bfc8d4;border-radius:4px}.palette-custom-value small{font-size:12px}
.palette-preview{display:flex;align-items:center;gap:10px;padding:9px 14px;min-height:38px;border:1px solid #dce0e6;border-radius:999px;background:var(--default-phrase-background);color:var(--default-phrase-text)}.palette-preview>span{flex:none;font-size:12px;color:#778190}.palette-preview strong{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:16px}
@media(max-width:480px){.desktop-color-grid:not(.fold-name-palette){grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.desktop-color-controls .desktop-color-grid button{height:30px;min-height:30px}.desktop-color-grid.fold-name-palette{grid-auto-rows:30px}}

.phrase-tool-menu .action-menu-content:has(.fold-name-palette){width:232px;min-width:232px;padding:12px}.action-menu-content .desktop-color-controls{margin:0;gap:10px}.action-menu-content .desktop-palette-field legend{font-size:12px}
.record-color-choices{--default-phrase-text:#111111;--default-phrase-background:linear-gradient(90deg,#dde4ed 0%,#eaf0f6 48%,#f5f8fb 82%,#fff 100%)}
.record-color-choices[data-theme=water-glass]{--default-phrase-background:linear-gradient(90deg,#cbe7fa 0%,#ddf0fd 48%,#edf8fe 82%,#fff 100%)}
.record-color-choices label{padding:6px 8px;min-width:0}.record-color-choices label:has(:checked){border-color:#648dcc;box-shadow:inset 0 0 0 1px #648dcc;background:#f7f9fc}
.record-color-choices .record-color-preview{display:block;flex:1;min-width:0;padding:7px 12px;border:1px solid #dce2eb;border-radius:999px;font-size:14px;font-weight:700;line-height:1.5}
.palette-selection-state{margin-left:10px;font-size:12px;font-weight:400;color:#737c89}.palette-selection-state[hidden]{display:none}
