:root{--ink:#14212b;--muted:#667782;--line:#dbe4e8;--panel:#fff;--canvas:#f3f7f7;--navy:#12364a;--teal:#0b8f8a;--teal-soft:#e2f6f3;--danger:#bd3434}*{box-sizing:border-box}body,html{background:var(--canvas)}body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}.radix-themes{min-height:100vh;--cursor-button:pointer;background:radial-gradient(circle at 80% -15%,#d9f4f0 0,transparent 31%),var(--canvas)}button,input,select,textarea{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #2aa9a450;outline-offset:2px}.welcome{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 80% 20%,#227f80,transparent 35%),var(--navy);color:#fff}.welcome>div{max-width:640px;padding:48px}.welcome h1{font-size:clamp(2.2rem,6vw,4rem);margin:.15em 0}.welcome .button{display:inline-flex;margin-top:16px;padding:11px 16px;border-radius:9px;background:#fff;color:var(--navy);text-decoration:none;font-weight:750}.app-shell{width:min(1440px,100%);margin:0 auto;padding:0 32px 64px}.app-header{min-height:82px;justify-content:space-between;gap:24px;border-bottom:1px solid #dce7e7}.app-header,.brand-lockup{display:flex;align-items:center}.brand-lockup{gap:11px;color:var(--ink);text-decoration:none}.brand-lockup>span:last-child{display:grid;grid-gap:1px;gap:1px}.brand-lockup small{color:var(--teal);font-size:.68rem;font-weight:800;letter-spacing:.13em}.brand-lockup strong{font-size:1.05rem}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:var(--navy);color:#fff;box-shadow:0 7px 18px #12364a25}.header-meta{gap:14px}.header-meta,.sync-state{display:flex;align-items:center}.sync-state{gap:7px;color:#52707b;font-size:.78rem;font-weight:650}.sync-state>span{width:7px;height:7px;border-radius:50%;background:#22a564;box-shadow:0 0 0 4px #22a56418}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:48px 0 28px}.page-heading h1{margin:3px 0 6px;font-size:clamp(2rem,4vw,3.2rem);line-height:1.08;letter-spacing:-.04em}.page-heading>div>p:last-child{margin:0;color:var(--muted);font-size:1rem}.overline{margin:0;color:var(--teal);font-size:.7rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.page-actions{display:flex;align-items:center;gap:9px}.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:13px;gap:13px;margin-bottom:18px}.metric-card{display:flex;align-items:center;gap:13px;min-height:94px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#ffffffd9;box-shadow:0 8px 28px #24414c09}.metric-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:var(--teal-soft);color:var(--teal)}.metric-icon svg{width:19px}.metric-card.green .metric-icon{color:#198754;background:#e6f7ed}.metric-card.blue .metric-icon{color:#3078b8;background:#eaf3fb}.metric-card.amber .metric-icon{color:#a46a0b;background:#fff2d7}.metric-card>span:last-child{display:grid;grid-gap:1px;gap:1px}.metric-card small{color:var(--muted);font-size:.77rem;font-weight:650}.metric-card strong{font-size:1.55rem;line-height:1.1}.directory-panel{overflow:visible;border:1px solid var(--line);border-radius:16px;background:var(--panel);box-shadow:0 14px 40px #1836420a}.directory-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid var(--line)}.directory-head h2{margin:0;font-size:1.2rem}.directory-head p{margin:3px 0 0;color:var(--muted);font-size:.83rem}.directory-tools{display:grid;grid-template-columns:minmax(250px,390px) 130px;grid-gap:9px;gap:9px}.directory-tools select{min-height:40px;border:1px solid #cad6dc;border-radius:9px;padding:0 10px;background:#fff;color:#364f5c}.customer-row,.customer-table-head{display:grid;grid-template-columns:minmax(190px,1.25fr) minmax(260px,1.8fr) 90px 90px 118px 138px;grid-gap:14px;gap:14px;align-items:center}.customer-table-head{padding:10px 22px;background:#f7f9fa;color:#6c7b84;font-size:.71rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.customer-row{min-height:76px;padding:12px 22px;border-top:1px solid #edf1f3;background:#fff;transition:background .18s ease,box-shadow .18s ease}.customer-row:first-child{border-top:0}.customer-row:hover{position:relative;background:#f9fcfc;box-shadow:inset 3px 0 var(--teal)}.customer-identity{min-width:0;display:flex;align-items:center;gap:11px;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.customer-identity>span:last-child{min-width:0;display:grid}.customer-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.93rem}.customer-identity small{color:var(--muted)}.avatar{width:38px;height:38px;flex:0 0 auto;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#153d51,#237278);color:#fff;font-weight:800;box-shadow:0 5px 14px #163e4f20}.avatar.large{width:48px;height:48px;border-radius:13px;font-size:1.12rem}.path-cell{min-width:0;display:flex;align-items:center;gap:7px}.path-cell code{overflow:hidden;color:#45616e;font-size:.77rem;text-overflow:ellipsis;white-space:nowrap}.detail-url button,.path-cell button{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;padding:4px;border:0;border-radius:6px;background:transparent;color:#4b6f7c;cursor:pointer}.detail-url button:hover,.path-cell button:hover{background:#e6f5f3;color:#087d79}.status-dot{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:currentColor}.updated-cell{color:var(--muted);font-size:.78rem}.row-actions{display:flex;justify-content:flex-end;align-items:center;gap:4px}.action-tooltip{position:relative;display:inline-flex;align-items:center}.action-tooltip:after{content:attr(data-tooltip);z-index:100;bottom:calc(100% + 8px);width:max-content;max-width:190px;padding:6px 8px;border-radius:7px;background:#152a35;color:#fff;box-shadow:0 8px 22px #10263035;font-size:.72rem;font-weight:650;line-height:1.25;transform:translate(-50%,4px);transition:opacity .14s ease,transform .14s ease}.action-tooltip:after,.action-tooltip:before{position:absolute;left:50%;pointer-events:none;opacity:0}.action-tooltip:before{content:"";z-index:101;bottom:calc(100% + 3px);border:5px solid transparent;border-top-color:#152a35;transform:translateX(-50%);transition:opacity .14s ease}.action-tooltip:focus-within:after,.action-tooltip:focus-within:before,.action-tooltip:hover:after,.action-tooltip:hover:before{opacity:1;transform:translate(-50%)}.action-tooltip:focus-within:before,.action-tooltip:hover:before{transform:translateX(-50%)}.empty-state{min-height:260px;display:grid;justify-items:center;align-content:center;padding:32px;text-align:center}.empty-state>span:first-child{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:#edf5f5;color:#61808a}.empty-state h3{margin:13px 0 3px}.empty-state p{margin:0 0 16px;color:var(--muted)}.empty-state.compact{min-height:260px;border:1px dashed #cfdbdf;border-radius:13px;background:#fbfcfd}.dialog-form,.profile-form{display:grid;grid-gap:16px;gap:16px;margin-top:24px}.field{display:grid;grid-gap:6px;gap:6px;color:#263c47;font-size:.82rem;font-weight:700}.field>span{display:flex;align-items:center;gap:5px}.field em{color:#839199;font-size:.75rem;font-style:normal;font-weight:500}.field input,.field textarea,.publish-bar input{width:100%;border:1px solid #c8d5db;border-radius:9px;padding:10px 11px;background:#fff;color:var(--ink);transition:border .16s,box-shadow .16s}.field input:focus,.field textarea:focus,.publish-bar input:focus{border-color:#4bb2ad;box-shadow:0 0 0 3px #4bb2ad1e;outline:0}.field input:disabled{background:#f3f6f7;color:#76858d}.field textarea{min-height:78px;resize:vertical}.help-button{display:inline-grid;place-items:center;padding:0;border:0;background:transparent;color:#6b8791;cursor:help}.slug-input{display:flex;align-items:center;overflow:hidden;border:1px solid #c8d5db;border-radius:9px;background:#f5f8f9}.slug-input>span{padding-left:10px;color:#71828a;font-size:.76rem;white-space:nowrap}.slug-input input{border:0;border-radius:0;background:transparent;box-shadow:none!important}.alert-actions,.dialog-footer,.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}.profile-form{grid-template-columns:1fr 1fr}.profile-form .form-actions{grid-column:1/-1}.create-dialog{position:relative;width:calc(100vw - 46px)!important;max-height:92vh!important;overflow:auto!important;padding:0!important}.create-dialog-head{display:flex;align-items:flex-start;gap:13px;padding:24px 64px 20px 24px;border-bottom:1px solid var(--line);background:#fff}.create-dialog-head h1{margin:3px 0 4px;font-size:1.4rem}.create-dialog-head p:last-child{margin:0;color:var(--muted);font-size:.84rem}.create-dialog>.dialog-form{gap:0;margin:0}.create-grid{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(460px,1.2fr);background:#f6f8f9}.create-section{min-width:0;padding:24px}.create-section:first-child{border-right:1px solid var(--line);background:#fff}.create-section .section-heading{margin-bottom:18px}.create-fields{display:grid;grid-gap:14px;gap:14px}.create-publish{background:#f6f8f9}.create-code-editor{min-height:260px}.create-footer{position:-webkit-sticky;position:sticky;z-index:3;bottom:0;align-items:center;justify-content:space-between;margin:0;padding:14px 24px;border-top:1px solid var(--line);background:#ffffffee;box-shadow:0 -10px 24px #1836420a;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.create-footer>span{color:var(--muted);font-size:.78rem}.create-footer>div{display:flex;gap:9px}.template-dialog{width:calc(100vw - 46px)!important;max-height:92vh!important;padding:0!important;overflow:hidden!important}.template-dialog-head{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid var(--line);background:#fff}.template-dialog-head>div:first-child{display:flex;align-items:center;gap:13px}.template-dialog-head h1{margin:2px 0 3px;font-size:1.35rem}.template-dialog-head p:last-child{margin:0;color:var(--muted);font-size:.82rem}.template-workspace{display:grid;grid-template-columns:290px minmax(0,1fr);height:min(720px,calc(92vh - 94px));min-height:520px;background:#f6f8f9}.template-list-panel{min-width:0;display:flex;flex-direction:column;border-right:1px solid var(--line);background:#fff}.template-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 16px;border-bottom:1px solid var(--line)}.template-list-head>div{display:grid}.template-list-head small{color:var(--muted)}.template-list{min-height:0;display:grid;align-content:start;grid-gap:7px;gap:7px;padding:10px;overflow:auto}.template-list-item{display:grid;grid-gap:5px;gap:5px;width:100%;padding:12px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--ink);text-align:left;cursor:pointer;transition:background .15s,border .15s}.template-list-item:hover{background:#f4f9f9}.template-list-item.active{border-color:#9bd6d2;background:#eaf8f6;box-shadow:inset 3px 0 var(--teal)}.template-list-item>span{display:flex;align-items:center;gap:7px}.template-list-item small{color:#65808b}.template-list-item p{overflow:hidden;margin:0;color:var(--muted);font-size:.75rem;text-overflow:ellipsis;white-space:nowrap}.template-empty{min-height:230px;display:grid;place-items:center;align-content:center;grid-gap:7px;gap:7px;padding:20px;color:#6d828b;text-align:center}.template-empty p{margin:0;font-size:.8rem}.template-editor{min-width:0;display:flex;flex-direction:column;padding:24px;overflow:auto}.template-editor>.section-heading{flex:0 0 auto}.template-meta-fields{flex:0 0 auto;display:grid;grid-template-columns:1fr 1.35fr;grid-gap:12px;gap:12px;margin-bottom:14px}.template-content-field{flex:1 1;min-height:250px}.template-content-field .code-editor{height:100%;min-height:300px;resize:vertical;border-color:#1d3541;background:#102630;color:#e6f3f4;box-shadow:inset 0 1px 8px #0004}.template-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.template-delete-confirm{display:flex;align-items:center;gap:7px;color:#9b2c2c;font-size:.78rem;font-weight:700}.template-picker{display:grid;grid-template-columns:auto minmax(160px,1fr) auto auto;align-items:center;grid-gap:7px;gap:7px;margin-bottom:12px;padding:10px;border:1px solid #cfe2e2;border-radius:10px;background:#edf8f7}.template-picker-label{display:inline-flex;align-items:center;gap:6px;color:#35636a;font-size:.78rem;font-weight:750}.template-picker select{min-width:0;height:32px;border:1px solid #b9d3d4;border-radius:7px;padding:0 8px;background:#fff;color:#28454f}.template-picker>small{grid-column:2/-1;overflow:hidden;color:#657b83;font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.template-picker.compact{grid-template-columns:auto minmax(180px,360px) auto auto;justify-content:start;background:#fff}.template-replace-confirm{display:flex;align-items:center;gap:8px;margin:-4px 0 12px;padding:10px 11px;border:1px solid #efcc75;border-radius:9px;background:#fff8e6;color:#755707}.template-replace-confirm>div{min-width:0;flex:1 1;display:grid;font-size:.77rem}.template-replace-confirm strong{font-size:.82rem}.template-replace-confirm span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-dialog{width:calc(100vw - 46px)!important;max-height:92vh!important;padding:0!important;overflow:hidden!important}.dialog-close{position:absolute;top:18px;right:18px;width:34px;height:34px;display:grid;place-items:center;border:1px solid #d9e2e6;border-radius:9px;background:#fff;color:#516873;cursor:pointer}.dialog-close:hover{background:#f1f6f7}.dialog-close.static{position:static;width:36px;height:36px}.detail-modal-head{min-height:96px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;border-bottom:1px solid var(--line);background:#fff}.detail-title{min-width:0;gap:13px}.detail-title,.title-line{display:flex;align-items:center}.title-line{flex-wrap:wrap;gap:9px}.title-line h1{margin:0;font-size:1.4rem}.detail-url{display:flex;align-items:center;gap:6px;margin-top:4px}.detail-url a{display:inline-flex;align-items:center;gap:4px;overflow-wrap:anywhere;color:#14827e;font-size:.78rem;text-decoration:none}.detail-head-actions{display:flex;align-items:center;gap:7px}.paused-callout{display:flex;align-items:center;gap:10px;margin:14px 24px 0;padding:10px 12px;border:1px solid #ebc872;border-radius:9px;background:#fff7df;color:#785508}.paused-callout span{display:grid;font-size:.8rem}.paused-callout strong{font-size:.84rem}.detail-tabs{display:flex;flex-direction:column;min-height:0}.detail-tabs>.rt-TabsList{flex:0 0 auto;padding:0 24px;background:#fff}.detail-tabs [role=tab]{display:inline-flex;align-items:center;gap:7px;min-height:48px}.tab-count{min-width:19px;padding:1px 5px;border-radius:999px;background:#e9eff1;font-size:.69rem;text-align:center}.detail-scroll{max-height:calc(92vh - 147px);min-height:470px;overflow:auto;background:#f6f8f9}.tab-panel{padding:26px}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:20px}.section-heading h2{margin:3px 0;font-size:1.25rem}.section-heading>div>p:last-child{margin:0;color:var(--muted);font-size:.84rem}.code-editor{width:100%;min-height:340px;resize:vertical;border:1px solid #1d3541;border-radius:12px;padding:16px 18px;background:#102630;color:#e6f3f4;box-shadow:inset 0 1px 8px #0004;font:13px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace}.code-editor:focus{outline:3px solid #2aa9a440}.code-editor:disabled{opacity:.68}.validation-box{display:flex;gap:10px;margin-top:13px;padding:12px;border:1px solid #efcc75;border-radius:9px;background:#fff8e6;color:#755707;font-size:.8rem}.validation-box strong{display:block}.validation-box p{margin:3px 0}.publish-bar{display:grid;grid-template-columns:1fr auto;align-items:end;grid-gap:12px;gap:12px;margin-top:15px;padding:14px;border:1px solid var(--line);border-radius:11px;background:#fff}.publish-bar>div{display:grid;grid-gap:5px;gap:5px}.publish-bar label{color:#48606b;font-size:.76rem;font-weight:700}.version-list{display:grid;grid-gap:10px;gap:10px}.version-card{overflow:hidden;border:1px solid var(--line);border-radius:11px;background:#fff}.version-card.selected{border-color:#6bc2bd;box-shadow:0 0 0 2px #ccecea}.version-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 15px}.version-meta{min-width:0;display:grid;grid-gap:3px;gap:3px}.version-meta>div{display:flex;align-items:center;gap:8px}.version-meta small{color:var(--muted)}.version-actions{display:flex;gap:7px}.version-inspector{border-top:1px solid var(--line);background:#f7f9fa}.inspector-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px}.view-tabs{display:flex;padding:3px;border-radius:8px;background:#e8eef1}.view-tabs button{border:0;border-radius:6px;padding:6px 10px;background:transparent;color:#536571;font-size:.78rem;font-weight:700;cursor:pointer}.view-tabs button.active{background:#fff;color:var(--navy);box-shadow:0 1px 3px #15364b20}.inspector-actions{display:flex;align-items:center;gap:8px}.diff-added,.diff-removed{font:700 .79rem ui-monospace,SFMono-Regular,Consolas,monospace}.diff-added{color:#14743d}.diff-removed{color:#b03636}.diff-view,.version-content{margin:0;max-height:430px;overflow:auto;border-top:1px solid var(--line);background:#13232d;color:#e6f0f2;font:12.5px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace}.version-content{padding:15px 17px;white-space:pre}.diff-caption{position:-webkit-sticky;position:sticky;top:0;padding:7px 12px;background:#20333f;color:#b9c8ce;font-size:.74rem}.diff-line{display:grid;grid-template-columns:48px 48px 24px minmax(max-content,1fr);min-height:22px}.diff-line code{padding:1px 12px 1px 7px;white-space:pre;font:inherit}.diff-line.added{background:#143a2a;color:#d9f6e5}.diff-line.removed{background:#47252a;color:#ffe1e1}.line-number{padding:1px 8px;border-right:1px solid #ffffff15;color:#81939c;text-align:right}.diff-marker,.line-number{-webkit-user-select:none;-moz-user-select:none;user-select:none}.diff-marker{padding:1px 5px;text-align:center}.empty-diff{margin:0;padding:28px;color:#b9c8ce;text-align:center}.toast{position:fixed;right:24px;bottom:24px;max-width:min(440px,calc(100vw - 32px));display:flex;align-items:center;gap:9px;padding:12px 13px;border:1px solid #badbd6;border-radius:11px;background:#113b4a;color:#fff;box-shadow:0 18px 50px #0d283845;font-size:.84rem}.toast>svg{color:#66d8c9}.toast span{flex:1 1}.toast button{display:grid;place-items:center;padding:3px;border:0;border-radius:5px;background:transparent;color:#c7d9de;cursor:pointer}.alert-actions{margin-top:24px}@keyframes dialogEnter{0%{opacity:0;transform:translate(-50%,-48%) scale(.985)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}.create-dialog,.detail-dialog,.template-dialog{animation:dialogEnter .22s cubic-bezier(.2,.8,.2,1)}@media(max-width:1100px){.customer-row,.customer-table-head{grid-template-columns:minmax(190px,1.3fr) minmax(230px,1.6fr) 88px 92px 132px}.customer-table-head span:nth-child(5),.updated-cell{display:none}}@media(max-width:820px){.app-shell{padding:0 18px 42px}.page-heading{padding-top:32px}.metrics-grid{grid-template-columns:1fr 1fr}.directory-head{align-items:stretch;flex-direction:column}.directory-tools{grid-template-columns:1fr 126px}.customer-table-head{display:none}.customer-list{display:grid;grid-template-columns:1fr 1fr;grid-gap:11px;gap:11px;padding:12px}.customer-row{display:grid;grid-template-columns:1fr auto;grid-gap:12px;gap:12px;padding:15px;border:1px solid var(--line)!important;border-radius:12px}.customer-row:hover{box-shadow:none}.customer-identity{grid-column:1}.path-cell{grid-column:1/-1;grid-row:2;padding:8px;border-radius:8px;background:#f5f8f9}.customer-row>span:first-of-type{grid-column:1}.customer-row>span:nth-of-type(2){grid-column:2;grid-row:1;align-self:start}.row-actions{grid-column:1/-1;justify-content:flex-start;padding-top:9px;border-top:1px solid #edf1f2}.row-actions>button:first-child{flex:1 1}.updated-cell{display:none}.create-dialog,.detail-dialog,.template-dialog{width:calc(100vw - 24px)!important;max-height:94vh!important}.create-grid{grid-template-columns:1fr}.create-section:first-child{border-right:0;border-bottom:1px solid var(--line)}.create-code-editor{min-height:300px}.template-workspace{grid-template-columns:220px minmax(0,1fr);height:calc(94vh - 94px)}.template-meta-fields{grid-template-columns:1fr}.template-editor{padding:19px}.detail-modal-head{align-items:flex-start;flex-direction:column;padding:18px}.detail-head-actions{width:100%}.detail-head-actions>.dialog-close{margin-left:auto}.detail-tabs>.rt-TabsList{padding:0 15px;overflow-x:auto}.detail-scroll{max-height:calc(94vh - 205px)}.tab-panel{padding:18px}.profile-form{grid-template-columns:1fr}.profile-form .form-actions{grid-column:1}.section-heading{flex-direction:column}.editor-heading{gap:10px}}@media(max-width:560px){.app-header{min-height:70px}.header-meta .sync-state{display:none}.brand-mark{width:34px;height:34px}.page-heading{align-items:flex-start;flex-direction:column}.page-actions{width:100%}.page-actions>*{flex:1 1}.metrics-grid{gap:9px}.metric-card{min-height:82px;padding:13px}.metric-icon{width:36px;height:36px}.directory-head{padding:18px}.customer-list,.directory-tools{grid-template-columns:1fr}.create-dialog-head{padding:20px 56px 17px 18px}.create-section{padding:19px 18px}.slug-input{display:grid}.slug-input>span{padding:8px 10px 0;overflow:hidden;text-overflow:ellipsis}.dialog-footer{flex-direction:column-reverse}.dialog-footer button{width:100%}.create-footer{align-items:stretch;padding:12px 18px}.create-footer>span{text-align:center}.create-footer>div{flex-direction:column-reverse}.template-dialog-head{min-height:86px;padding:16px}.template-dialog-head .brand-mark,.template-dialog-head p:last-child{display:none}.template-workspace{display:flex;flex-direction:column;height:calc(94vh - 86px)}.template-list-panel{flex:0 0 auto;max-height:210px;border-right:0;border-bottom:1px solid var(--line)}.template-list{display:flex;overflow-x:auto}.template-list-item{flex:0 0 210px}.template-empty{width:100%;min-height:110px}.template-editor{flex:1 1;min-height:0;padding:17px}.template-editor>.section-heading{display:none}.template-content-field{min-height:220px}.template-content-field .code-editor{min-height:240px}.template-editor-footer{position:-webkit-sticky;position:sticky;align-items:stretch;flex-direction:column;bottom:-17px;margin:12px -17px -17px;padding:12px 17px;background:#fff}.template-editor-footer>button,.template-editor-footer>div{width:100%}.template-delete-confirm{justify-content:space-between;flex-wrap:wrap}.template-delete-confirm>span{width:100%}.template-delete-confirm button{flex:1 1}.template-picker,.template-picker.compact{grid-template-columns:1fr auto}.template-picker-label,.template-picker>button:last-of-type,.template-picker>small{grid-column:1/-1}.detail-title,.detail-url{align-items:flex-start}.detail-url{flex-direction:column}.detail-head-actions{flex-wrap:wrap}.detail-head-actions>.rt-Button:not(:last-child){flex:1 1}.detail-scroll{max-height:calc(94vh - 235px);min-height:420px}.detail-tabs [role=tab]{min-width:max-content}.publish-bar{grid-template-columns:1fr}.publish-bar button{width:100%}.code-editor{min-height:300px}.template-replace-confirm{align-items:stretch;flex-wrap:wrap}.template-replace-confirm>div{flex:1 0 100%}.template-replace-confirm button{flex:1 1}.inspector-toolbar,.version-row{align-items:flex-start;flex-direction:column}.version-actions{width:100%}.version-actions button{flex:1 1}.view-tabs{width:100%}.view-tabs button{flex:1 1}.inspector-actions{width:100%}.inspector-actions button{margin-left:auto}.diff-line{grid-template-columns:34px 34px 20px minmax(max-content,1fr)}.line-number{padding-left:3px;padding-right:5px}.toast{right:16px;bottom:16px}}.page-actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border:1px solid var(--line);border-radius:9px;color:var(--ink);text-decoration:none;white-space:nowrap}.template-feedback{min-height:22px;margin:0 0 8px;color:var(--muted);font-size:.82rem}.rt-DialogScrollPadding{box-sizing:border-box;width:100%;min-width:0!important}.create-dialog,.detail-dialog,.template-dialog{max-width:100%!important}@media(max-width:560px){.page-actions{flex-wrap:wrap}.template-editor fieldset>.section-heading{display:none}}@media(prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}