:root{--nav:#172639;--nav-active:#294263;--nav-text:#edf2f8;--nav-muted:#b1bed0;--bg:#f5f7fa;--paper:#fff;--ink:#202e41;--muted:#627084;--line:#e0e6ee;--blue:#2662ca;--blue-light:#edf3ff;--green:#257251;--green-light:#edf7f1;--amber:#835714;--amber-light:#fff6e7;--red:#b13e3e;--focus:#739ff0;--radius:8px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-size:14px;line-height:1.5;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--focus)}button:disabled{cursor:wait;opacity:.6}::selection{background:#cdddff}input,textarea{caret-color:var(--blue)}*{scrollbar-color:#b7c4d4 transparent;scrollbar-width:thin}a{color:var(--blue);text-underline-offset:3px}button{border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);min-height:36px;padding:7px 12px;transition:background .16s}button:hover{background:var(--blue-light)}button.primary{background:var(--blue);border-color:var(--blue);color:#fff}button.primary:hover{background:#1d54b4}button.danger{color:var(--red)}input,select,textarea{border:1px solid var(--line);border-radius:6px;padding:9px 11px;background:var(--paper);color:var(--ink);max-width:100%}input::placeholder,textarea::placeholder{color:var(--muted)}label{display:grid;gap:6px;font-weight:600}label input,label select,label textarea{font-weight:400}h1,h2,h3,p{margin-top:0}h1{font-size:23px;letter-spacing:-.025em;margin-bottom:6px}h2{font-size:18px;margin-bottom:16px}h3{font-size:14px;margin-bottom:10px}small,.muted{color:var(--muted)}small{font-size:12px}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.shell{display:grid;grid-template-columns:208px minmax(0,1fr);height:100dvh}.sidebar{background:var(--nav);color:var(--nav-text);display:flex;flex-direction:column;padding:24px 14px 14px;gap:24px;min-height:0}.brand{display:flex;gap:10px;align-items:center;padding:0 8px}.brandmark{width:34px;height:34px;border-radius:9px;background:var(--blue);display:grid;place-items:center}.brand strong{display:block;font-size:20px;letter-spacing:-.02em}.brand small{font-size:11px;color:var(--nav-muted)}.sidebar select{background:var(--nav-active);border-color:#40546d;color:#fff;width:100%}.sidebar label{font-size:12px;color:var(--nav-muted)}.side-scroll{overflow-y:auto;min-height:0;flex:1}.nav-title{font-size:12px;color:var(--nav-muted);padding:0 10px;margin:0 0 8px}.site-nav{display:grid;gap:3px}.sidebar button{display:flex;align-items:center;gap:9px;border:0;background:transparent;color:var(--nav-muted);text-align:left;min-height:41px;width:100%;padding:9px 10px}.sidebar button:hover,.sidebar button.selected{background:var(--nav-active);color:#fff}.site-nav button .site-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.counter{min-width:19px;height:19px;display:inline-grid;place-items:center;border-radius:5px;background:var(--nav-active);font-size:11px;font-variant-numeric:tabular-nums}.counter.hot{background:#a6373d;color:#fff}.side-footer{border-top:1px solid #344256;padding-top:14px;display:grid;gap:3px}.user-row{display:flex;align-items:center;gap:9px;padding:8px 10px}.avatar{width:33px;height:33px;background:var(--blue-light);color:var(--blue);border-radius:50%;display:grid;place-items:center;font-weight:650;flex-shrink:0}.user-row small{color:var(--nav-muted)}.workspace{min-width:0;min-height:0;display:flex;flex-direction:column}.topbar{min-height:82px;background:var(--paper);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 26px}.topbar h1{font-size:21px;margin:0}.topbar p{margin:3px 0 0;font-size:12px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:12px}.connection{color:var(--green);font-size:12px}.connection.error{color:var(--red)}.presence{font-size:12px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;margin-right:6px}.demo-banner{background:var(--amber-light);color:var(--amber);padding:7px 25px;font-size:12px;border-bottom:1px solid #ecdfc8;display:flex;justify-content:space-between;gap:12px}.inbox{display:grid;grid-template-columns:290px minmax(300px,1fr) 254px;min-height:0;flex:1}.conversation-list{border-right:1px solid var(--line);background:#fbfcfe;min-height:0;display:flex;flex-direction:column}.list-tools{padding:18px 16px 12px;border-bottom:1px solid var(--line)}.search-wrap{position:relative}.search-wrap .icon{position:absolute;left:10px;top:11px;color:var(--muted);width:16px;height:16px}.search-wrap input{width:100%;padding-left:34px;font-size:13px}.list-filter{display:flex;gap:4px;margin-top:12px}.list-filter button{border:0;padding:5px 9px;min-height:32px;font-size:12px;color:var(--muted);background:transparent}.list-filter .selected{background:var(--blue-light);color:var(--blue);font-weight:600}.list-secondary{display:flex;justify-content:space-between;margin-top:10px;font-size:12px;color:var(--muted);align-items:center}.list-secondary select{border:0;background:transparent;padding:4px;font-size:12px;max-width:130px}.list-rows{overflow-y:auto;flex:1}.conversation-row{display:block;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:18px 17px;text-align:left;background:transparent;min-height:118px}.conversation-row:hover{background:#f1f5fb}.conversation-row.selected{background:var(--blue-light)}.row-top{display:flex;gap:9px;align-items:center;margin-bottom:8px}.row-top strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.row-top time{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.row-preview{color:var(--muted);font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0 0 10px}.row-bottom{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);gap:6px}.badge{display:inline-flex;align-items:center;padding:2px 6px;border-radius:4px;font-size:11px;white-space:nowrap;background:var(--blue-light);color:var(--blue)}.badge.amber{background:var(--amber-light);color:var(--amber)}.badge.green{background:var(--green-light);color:var(--green)}.badge.red{background:#fbeeee;color:var(--red)}.unread{width:7px;height:7px;background:var(--blue);border-radius:50%;flex-shrink:0}.thread{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--paper)}.thread-header{padding:19px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:83px}.thread-header h2{margin:0 0 3px;font-size:17px}.thread-header small{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.thread-actions{display:flex;gap:7px}.thread-actions button{font-size:12px;white-space:nowrap}.identity-strip{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f8fafc;border-bottom:1px solid var(--line);padding:9px 24px;font-size:11px;color:var(--muted)}.identity-strip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline{padding:26px 24px;overflow-y:auto;flex:1;min-height:80px;background:#fff}.timeline-date{text-align:center;font-size:11px;color:var(--muted);margin-bottom:24px}.message{margin-bottom:22px;max-width:88%;width:fit-content}.message.agent{margin-left:auto}.message.note{max-width:100%;width:100%}.message-meta{font-size:11px;color:var(--muted);display:flex;gap:10px;margin:0 1px 6px}.message.agent .message-meta{justify-content:flex-end}.bubble{background:var(--bg);padding:12px 15px;border-radius:9px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.75}.agent .bubble{background:var(--blue-light);color:#24446e}.note .bubble{background:var(--amber-light);color:#73501b}.composer{margin:0 20px 20px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}.composer.internal{background:var(--amber-light);border-color:#e5d4b6}.compose-tabs{display:flex;align-items:center;border-bottom:1px solid var(--line);padding:7px 10px;gap:4px}.compose-tabs button{border:0;background:transparent;min-height:28px;font-size:12px}.compose-tabs button.selected{color:var(--blue);font-weight:650}.compose-tabs span{margin-left:auto;color:var(--muted);font-size:11px}.composer textarea{width:100%;min-height:100px;max-height:200px;resize:vertical;border:0;border-radius:0;background:transparent;padding:13px 14px;font-size:13px}.compose-footer{padding:0 12px 12px;display:flex;gap:10px;align-items:center;justify-content:space-between}.compose-footer select{width:160px;font-size:12px;padding:6px}.compose-footer .send{display:flex;align-items:center;gap:7px}.compose-footer small{font-size:10px}.details{background:#fbfcfe;border-left:1px solid var(--line);overflow-y:auto;padding:24px 19px}.detail-section{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid var(--line)}.detail-section:last-child{border-bottom:0}.customer-heading{display:flex;align-items:center;gap:10px;margin-bottom:18px}.customer-heading .avatar{width:39px;height:39px}.customer-heading strong{font-size:14px}.detail-section dl{margin:0;display:grid;gap:12px}.detail-section dt{font-size:11px;color:var(--muted);margin-bottom:3px}.detail-section dd{margin:0;font-size:12px;overflow-wrap:anywhere}.detail-section h3{display:flex;align-items:center;gap:7px}.detail-section label{font-size:11px;margin-top:12px;color:var(--muted);font-weight:400}.detail-section select,.detail-section input{font-size:12px;width:100%;padding:7px}.detail-section button{font-size:12px;width:100%;margin-top:10px}.order{padding:12px 0;border-bottom:1px dashed var(--line);font-size:12px}.order:last-child{border:0}.order-top{display:flex;justify-content:space-between;margin-bottom:6px;font-weight:600}.order p{font-size:11px;color:var(--muted);margin:5px 0}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 24px;text-align:center;color:var(--muted);min-height:250px;flex:1}.empty .icon{width:34px;height:34px;margin-bottom:16px;color:#8597ae}.empty h2{color:var(--ink);font-size:17px;margin:0 0 8px}.empty p{max-width:32ch;font-size:13px;margin:0}.page{overflow:auto;padding:32px;flex:1}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px}.page-head p{color:var(--muted);font-size:13px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:8px;margin-bottom:24px;padding:24px}.panel p{font-size:13px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;max-width:760px}.form-grid label{font-size:12px}.form-grid .full{grid-column:1/-1}.form-actions{margin-top:18px;display:flex;gap:10px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}th{color:var(--muted);font-size:12px;font-weight:500;background:#f8fafc}th,td{padding:14px 16px;border-bottom:1px solid var(--line)}td small{display:block;margin-top:3px}td.actions{white-space:nowrap}td button{font-size:12px;margin:2px}.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:16px 0}.check{display:flex;align-items:center;gap:8px;font-weight:400;font-size:13px}.check input{accent-color:var(--blue);width:16px;height:16px}.secret{background:var(--amber-light);padding:18px;border-radius:8px;margin:16px 0;overflow-wrap:anywhere}.secret code{display:block;margin:9px 0;user-select:all;font-size:13px}.secret p{color:var(--amber)}.login-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:var(--nav);color:var(--nav-text);display:flex;flex-direction:column;justify-content:center;padding:clamp(32px,8vw,120px)}.login-story h1{font-size:36px;line-height:1.4;margin:45px 0 20px}.login-story p{color:var(--nav-muted);line-height:1.9;max-width:35ch}.login-form-area{display:grid;place-items:center;padding:40px}.login-form{width:100%;max-width:360px}.login-form h2{font-size:24px;margin-bottom:10px}.login-form>p{color:var(--muted);margin-bottom:30px}.login-form label{margin-bottom:18px;font-size:13px}.login-form button{width:100%;margin-top:8px}.error-text{color:var(--red);font-size:13px;margin:12px 0;min-height:20px}.loading{padding:40px;color:var(--muted)}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:12px 18px;background:var(--nav);color:#fff;border-radius:8px;font-size:13px;box-shadow:0 8px 30px rgba(0,0,0,.15);z-index:100;display:none}#toast.visible{display:block}.mobile-only{display:none}.hidden{display:none!important}.preview-store{max-width:880px;margin:60px auto;padding:30px}.preview-store h1{font-size:36px}.preview-product{background:#e9edf2;min-height:260px;display:grid;place-items:center;margin:30px 0}.preview-product p{font-size:24px;color:#53647c}code{font-family:ui-monospace,SFMono-Regular,monospace}details summary{cursor:pointer;color:var(--blue)}.report-number{font-size:24px;font-weight:650;font-variant-numeric:tabular-nums}.button-link{display:inline-block;padding:8px 12px;border:1px solid var(--line);border-radius:6px;text-decoration:none}.scope-line{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
@media(min-width:1600px){.inbox{grid-template-columns:330px minmax(360px,1fr) 280px}.timeline{padding:30px 40px}.thread-header{padding-left:30px}}@media(max-width:1200px){.inbox{grid-template-columns:270px minmax(280px,1fr)}.details{display:none}.details.open{display:block;position:absolute;right:0;top:111px;bottom:0;width:270px;box-shadow:-8px 0 24px rgba(0,0,0,.08);z-index:3}.context-toggle{display:inline-flex}.sidebar{padding-left:10px;padding-right:10px}.shell{grid-template-columns:190px minmax(0,1fr)}}@media(min-width:1201px){.context-toggle{display:none}}@media(max-width:760px){.shell{grid-template-columns:1fr}.sidebar{display:none;position:fixed;z-index:8;inset:0 22% 0 0}.sidebar.open{display:flex;box-shadow:10px 0 40px rgba(0,0,0,.3)}.topbar{padding:12px 16px;min-height:76px;gap:8px}.topbar h1{font-size:18px}.topbar p{font-size:11px}.top-actions{gap:8px}.connection{display:none}.top-actions button{font-size:11px;padding:7px 9px}.mobile-only{display:inline-flex}.demo-banner{padding:7px 15px;font-size:11px}.inbox{display:block;overflow:hidden}.conversation-list{height:100%;border-right:0}.thread{height:100%;display:none}.inbox.has-selection .conversation-list{display:none}.inbox.has-selection .thread{display:flex}.thread-header{padding:14px 15px;min-height:77px}.thread-header h2{font-size:16px}.thread-header .back{border:0;padding:7px;min-width:32px}.thread-actions{gap:3px}.thread-actions button{padding:6px 8px;font-size:11px}.identity-strip{padding:9px 16px}.timeline{padding:20px 16px}.message{max-width:90%}.composer{margin:0 12px 12px}.composer textarea{min-height:90px}.compose-footer small{display:none}.compose-footer select{width:140px}.details.open{top:105px;width:min(320px,100%)}.list-tools{padding:16px}.conversation-row{padding:18px 20px}.row-preview{font-size:13px}.page{padding:20px 16px}.page-head{display:block}.panel{padding:18px}.form-grid{grid-template-columns:1fr}.login-page{grid-template-columns:1fr}.login-story{display:none}.login-form-area{padding:28px}.login-form h2{font-size:25px}.topbar .mobile-only{padding:8px;min-width:36px}.presence{max-width:110px}.page-head h1{font-size:22px}button{min-height:40px}.list-filter button{min-height:38px}.permission-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.thread-title-group{display:contents}.membership-check{margin-top:18px}.list-pager{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;font-size:12px}.list-pager:empty{display:none}.mobile-fixture{margin:20px;border:0;width:390px;height:844px;display:block;background:#fff}

.sidebar .nav-close{display:none}.detail-close{margin-bottom:20px;width:100%}@media(max-width:760px){.sidebar .nav-close{display:flex;flex:0 0 auto;justify-content:flex-end}.sidebar{gap:16px}}
.channel-badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;line-height:1.5;white-space:nowrap;color:#3d566f}.channel-badge svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.channel-whatsapp{color:#216548}.channel-messenger{color:#285db7}.channel-instagram{color:#8b3d69}.row-source{display:flex;gap:8px;align-items:center;margin:7px 0;color:#626f7f;font-size:10px;min-width:0}.row-source>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-filters{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0}.source-filters select{font-size:11px;padding:6px;min-width:0}.identity-strip{flex-wrap:wrap;gap:6px}.identity-strip>span{display:flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere}.identity-strip .icon{width:14px;flex-shrink:0}.assistant-panel{border-top:1px solid var(--line,#e2e7ee);padding:9px 18px;font-size:12px;background:#f8fafc;max-height:240px;overflow:auto}.assistant-panel summary{cursor:pointer;min-height:22px;color:#31537f}.assistant-panel summary span{color:#69788a;margin-left:8px;font-size:11px}.assistant-panel p{font-size:11px;margin:9px 0;color:#5b6b7e;line-height:1.6}.assistant-actions{display:flex;gap:6px;flex-wrap:wrap}.assistant-actions button{font-size:11px;padding:6px 8px}.assistant-panel .assistant-result{white-space:pre-wrap;color:#26384e;background:white;padding:10px;overflow-wrap:anywhere;font-size:13px}.assistant-panel #ai-result button{margin-right:8px;font-size:12px}.delivery{font-size:10px}.message-meta{flex-wrap:wrap}.wrap-code{display:block;white-space:normal;overflow-wrap:anywhere;padding:12px;background:#f2f5f9}.panel>summary{font-weight:600;cursor:pointer;padding:4px 0 12px;font-size:16px}.panel form{margin-top:12px}.reply-body{white-space:pre-wrap;max-width:55ch}.detail-section details summary{cursor:pointer;font-size:12px;line-height:1.6}.detail-section form{display:grid;gap:10px;margin-top:12px}.detail-section form p{font-size:11px;color:#667487}.table-wrap td small{display:block;color:#667487;margin-top:4px}.sidebar .side-scroll{min-height:90px}.side-footer{max-height:60vh;overflow:auto}@media(max-width:760px){.assistant-panel{padding:8px 12px;max-height:190px}.identity-strip{font-size:10px}.identity-strip .channel-badge{font-size:10px}.thread .composer textarea{min-height:65px}.source-filters select{min-height:36px}.page-head{flex-wrap:wrap;gap:12px}.side-footer{max-height:55vh}}

.faq-edit-row{border:0;border-top:1px solid var(--line);margin:20px 0 0;padding:16px 0;display:grid;gap:12px}.faq-edit-row legend{font-weight:650;padding:0 8px 0 0}.faq-edit-row .check{margin-right:auto}#widget-save-state{color:var(--muted);font-size:13px}

.widget-color-control{display:flex;align-items:center;gap:12px}.widget-color-control input[type=color]{width:64px;height:40px;padding:4px}.widget-color-control output{font-size:13px;color:var(--muted)}

/* Keep field controls aligned when only one label has help text. */
.form-grid{align-items:start}.form-grid>label{align-content:start;min-width:0}
.role-choice small{display:block;margin-top:8px;max-width:70ch;font-size:12px;color:var(--muted);line-height:1.65}.account-actions{min-width:170px}

.account-table{min-width:680px}.account-table th{white-space:nowrap}
.sidebar,.sidebar>label,.side-scroll,.site-nav,.site-nav button{min-width:0}.site-nav{grid-template-columns:minmax(0,1fr)}.site-nav button .site-label{min-width:0}.site-nav .counter{flex-shrink:0}.user-row>div:last-child{min-width:0;overflow-wrap:anywhere}

.channel-accounts-table{min-width:640px}.channel-accounts-table th,.channel-accounts-table td:nth-child(3),.channel-accounts-table td:nth-child(4){white-space:nowrap}.channel-accounts-table td:first-child{min-width:200px;overflow-wrap:anywhere}

/* Team membership and website permissions follow the mail workbench. */
.join-agent form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;max-width:760px}.join-agent label{flex:1;min-width:220px;font-size:12px}.join-agent .permission-error{flex-basis:100%;margin:0}.page-head>button{flex-shrink:0;white-space:nowrap}.permission-heading{display:flex;align-items:center;gap:16px;justify-content:space-between}.permission-heading h2{margin:0}.permission-heading>span,.permission-hint{color:var(--muted);font-size:12px}.permission-panel{padding:24px 0 0}.permission-heading,.permission-hint,.permission-note,.permission-empty{margin-left:24px;margin-right:24px}.permission-scroll{overflow:auto;max-width:100%;border-top:1px solid var(--line)}.permission-matrix{width:max-content;min-width:100%;table-layout:fixed}.permission-matrix th,.permission-matrix td{min-width:130px;max-width:180px;vertical-align:top}.permission-matrix thead th{padding-top:16px;padding-bottom:16px;overflow-wrap:anywhere}.permission-matrix th:first-child{position:sticky;left:0;z-index:1;min-width:190px;width:190px;max-width:190px;white-space:normal;border-right:1px solid var(--line);background:var(--paper)}.permission-matrix thead th:first-child{background:var(--bg);z-index:2}.permission-matrix tbody th{font-weight:400;font-size:13px;color:var(--ink)}.permission-matrix small{display:block;font-size:11px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.permission-select-actions{display:flex;gap:4px;margin-top:8px}.permission-select-actions button{font-size:11px;padding:5px 8px}.permission-check{white-space:nowrap;min-height:40px;margin:0}.permission-row-actions{min-width:190px!important}.permission-row-actions button{white-space:nowrap}.permission-status{font-size:12px!important;margin:8px 2px 0!important}.permission-error{color:var(--red)!important;font-size:12px!important;overflow-wrap:anywhere}.permission-error:empty{display:none}.permission-note{font-size:12px!important;line-height:1.7;padding-bottom:20px;margin-bottom:0}.permission-empty{padding:24px 0}.disabled-member .permission-check{color:var(--muted)}
@media(max-width:760px){.join-agent form{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.join-agent label{min-width:0}.page-head>button{margin-top:8px}.permission-panel{padding-top:18px}.permission-heading{display:block}.permission-heading>span{display:block;margin-top:6px}.permission-heading,.permission-hint,.permission-note,.permission-empty{margin-left:18px;margin-right:18px}.permission-matrix th:first-child{min-width:140px;width:140px;max-width:140px;padding-left:12px;padding-right:12px}.permission-matrix td{padding-left:12px;padding-right:12px}.permission-select-actions{flex-wrap:wrap}.permission-select-actions button{min-height:40px}.permission-check{min-height:44px}}

#widget-settings .widget-controls-title{margin-top:24px;margin-bottom:14px}#widget-settings .form-grid small{font-size:11px;font-weight:400;line-height:1.6;color:var(--muted)}#widget-settings>.page-head{margin-top:28px}

.channel-primary{display:block;color:var(--green);font-size:12px;margin-bottom:4px}#channel-entry-form{max-width:760px}#channel-entry-form fieldset{border:0;padding:0;margin:20px 0 0;min-width:0}#channel-entry-form .check{margin-top:18px}#channel-entry-form .entry-link{font-size:12px;color:var(--muted);overflow-wrap:anywhere;margin-top:14px}#channel-entry-form .form-actions{flex-wrap:wrap;align-items:center}#channel-entry-form [role=status]{font-size:12px;color:var(--muted)}

#channel-entry-form>label{min-width:0}#channel-entry-form select{width:100%;max-width:100%;min-width:0}

.channel-form-section{border:0;border-top:1px solid var(--line);padding:18px 0 0;margin:26px 0 0;min-width:0}.channel-form-section legend{padding:0 12px 0 0;font-size:16px;font-weight:650}.channel-form-section .check{margin:16px 0 8px}.channel-form-section>.form-grid{margin-top:16px}.channel-form-section>label:not(.check){max-width:520px}.channel-form-section p{max-width:78ch}#channel-form .form-actions{flex-wrap:wrap;align-items:center}#channel-save-state{font-size:12px;color:var(--muted)}#channel-form select{min-width:0;max-width:100%}
#channel-guides>p{max-width:85ch}.channel-guide{border-top:1px solid var(--line);padding:16px 0}.channel-guide>summary,.guide-api>summary{cursor:pointer;font-weight:650;color:var(--blue);line-height:1.6}.channel-guide h3{font-size:14px;line-height:1.6;margin:24px 0 8px}.channel-guide p{max-width:78ch;line-height:1.8;overflow-wrap:anywhere}.guide-steps{padding-left:24px;max-width:85ch}.guide-steps li{padding-left:6px;margin:20px 0}.guide-steps h3{margin:0 0 6px}.guide-steps p{margin:0}.guide-fields{max-width:950px}.guide-fields>div{display:grid;grid-template-columns:210px minmax(0,1fr);gap:16px;padding:14px 0;border-bottom:1px solid var(--line);line-height:1.75}.guide-fields dt{font-weight:600;overflow-wrap:anywhere}.guide-fields dd{margin:0;overflow-wrap:anywhere}.guide-api{margin:24px 0}.guide-api pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--bg);padding:16px;line-height:1.8;font-size:12px}.guide-source{font-size:12px}.channel-guide a{text-decoration:underline;text-underline-offset:3px}#channel-guides,#channel-editor,#channel-entry-editor,.channel-guide{scroll-margin-top:20px}
@media(max-width:760px){.guide-fields>div{grid-template-columns:minmax(0,1fr);gap:5px}.guide-steps{padding-left:20px}.channel-guide>summary,.guide-api>summary{min-height:44px;display:list-item}.channel-form-section>.form-grid{grid-template-columns:minmax(0,1fr)}}
