/* Operations views only; original shell, typography and floating chat are untouched. */
.ops-page{margin:0;background:#f8f9fb;color:var(--ink);font-size:14px}.ops-shell{padding:0 0 150px;max-width:none;min-width:0}.ops-top{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line-soft);border-radius:14px;padding:12px 16px;margin-bottom:16px}.ops-top .breadcrumb{display:block}.ops-card{background:#fff;border:1px solid var(--line-soft);border-radius:18px;padding:24px;margin-bottom:16px;min-width:0}.ops-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.ops-heading h1{font-size:26px;font-weight:900;margin:0 0 8px}.ops-heading p{margin:0;color:#687180}.ops-inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ops-muted{color:#687180;font-size:13px;line-height:1.65}.ops-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.ops-stat{border:1px solid #e3e9f1;border-radius:12px;padding:16px;background:#f6f8fb;min-width:0}.ops-stat span{color:#637185;font-size:13px;display:block}.ops-stat strong{font-size:25px;margin-top:8px;display:block;letter-spacing:-.7px}.ops-stat small{display:block;color:#768294;margin-top:6px}.ops-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:16px}.ops-card h2{font-size:18px;margin:0 0 14px}.ops-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.ops-toolbar input[type=search]{flex:1;min-width:180px}.ops-toolbar input,.ops-toolbar select{height:40px}.ops-table-wrap{overflow-x:auto;overscroll-behavior:auto}.ops-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.ops-table th{background:#f6f8fb;padding:12px;color:#647184;font-size:12px;font-weight:650;z-index:1}.ops-table td{padding:15px 12px;border-bottom:1px solid #edf0f4;vertical-align:middle}.ops-table tr[data-selected=true]{background:#eff8f3}.ops-table td small{display:block;color:#74808e;margin-top:6px}.ops-name{border:0;background:none;padding:0;text-align:left;font-size:14px;font-weight:750;color:#24382f;cursor:pointer;line-height:1.5}.ops-name:hover{text-decoration:underline}.ops-status{display:inline-flex;gap:5px;align-items:center;white-space:nowrap;border-radius:6px;padding:5px 8px;background:#eef1f6;color:#627183;font-size:12px;font-weight:650}.ops-status.reserved,.ops-status.running,.ops-status.pending{background:#edf3ff;color:#315bac}.ops-status.completed,.ops-status.success{background:#e8f5ed;color:#0d7140}.ops-status.failed,.ops-status.cancelled,.ops-status.paused,.ops-status.warning{background:#fff2e3;color:#965719}.ops-alert{padding:16px;border:1px solid #d6e9de;background:#f2f9f5;border-radius:12px;margin:12px 0}.ops-alert strong{display:block;font-size:15px;margin-bottom:6px}.ops-alert p{margin:4px 0 12px}.ops-empty{padding:44px 20px;text-align:center;color:#728074}.ops-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.ops-section-head h2{margin:0}.ops-list-item{padding:14px 0;border-bottom:1px solid #edf0f4}.ops-list-item p{margin:6px 0}.ops-pager{display:flex;justify-content:space-between;align-items:center;margin-top:15px;gap:8px}.ops-focus{outline:2px solid #22a668;outline-offset:-2px}.ops-form{display:grid;gap:14px}.ops-form label{display:grid;gap:8px;font-size:13px;color:#596b61}.ops-form input,.ops-form select{width:100%}.ops-chat-inline{display:flex;gap:8px;margin-top:16px}.ops-chat-inline input{flex:1}.ops-dialog{position:absolute;box-sizing:border-box;padding:0;border:1px solid #e2e8e4;border-radius:18px;width:calc(100% - 32px);max-width:1180px;max-height:var(--ops-dialog-height,80vh);margin:0 auto;box-shadow:0 22px 80px #1835262b;color:var(--ink);background:#fff;overflow:hidden}.ops-dialog[open]{display:flex;flex-direction:column}.ops-dialog::backdrop{background:#23332c66}.ops-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid #e6ece8;flex-shrink:0}.ops-dialog-head h2{font-size:20px;margin:0}.ops-dialog-body{padding:24px;overflow:auto;min-height:0;overscroll-behavior:contain}.ops-dialog-foot{display:flex;gap:8px;justify-content:flex-end;padding:14px 24px;border-top:1px solid #e6ece8;background:#fff;flex-shrink:0}.ops-detail-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px}.ops-detail-grid>*{min-width:0}.ops-preview{background:#f5f7fa;padding:16px;border-radius:14px;min-width:0;max-height:610px;overflow:auto;overscroll-behavior:contain}.ops-preview iframe{width:100%;height:520px;background:white;border:0}.ops-preview .tpl-preview-options{display:none}.ops-preview .tpl-kakao,.ops-preview .tpl-sms-phone,.ops-preview .tpl-push-device{width:100%;max-width:420px;box-sizing:border-box;margin:0 auto}.ops-preview .tpl-kakao{min-width:0}.ops-preview .tpl-fax-sheet{min-width:0;min-height:600px}.ops-timeline{list-style:none;padding:0;margin:12px 0}.ops-timeline li{border-left:2px solid #d5e7dc;padding:0 0 18px 16px;margin-left:6px;position:relative}.ops-timeline li:before{content:'';position:absolute;left:-5px;top:5px;width:8px;height:8px;border-radius:50%;background:#16824c}.ops-timeline strong{font-size:14px}.ops-timeline small{display:block;color:#738074;margin-top:5px}.ops-pagination-text{font-size:13px;color:#748074}.ops-choice{border:1px solid #dfe7e3;border-radius:10px;background:#fff;padding:15px;text-align:left;width:100%;margin-bottom:10px;color:inherit}.ops-choice strong{display:block}.ops-definition{display:grid;grid-template-columns:90px 1fr;gap:8px;font-size:13px;margin:14px 0;line-height:1.65}.ops-definition dt{color:#738174}.ops-definition dd{margin:0;overflow-wrap:anywhere}.ops-toast{padding:12px 16px;background:#eaf6ef;border:1px solid #cce7d7;color:#13663a;border-radius:10px;margin-bottom:14px}.ops-page [hidden]{display:none!important}.ops-actions{display:flex;gap:5px;flex-wrap:wrap}.ops-actions button{font-size:12px}.ops-table .tpl-channel-label{font-size:12px}.ops-table .tpl-channel-icon{width:26px;height:26px}.ops-chart{display:flex;height:9px;border-radius:5px;overflow:hidden;background:#edf1f5;margin-top:10px}.ops-chart span{background:#158050}.ops-chart i{background:#6ba988}.ops-chart em{background:#dd9f59}.ops-dialog details{margin-top:16px}.ops-dialog summary{cursor:pointer;color:#63766a;font-size:13px}.ops-form .ops-radio{display:flex;align-items:center;gap:10px}.ops-radio input{width:auto}.ops-preview button{cursor:pointer}
@media(max-width:950px){.ops-columns{grid-template-columns:1fr}.ops-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-card{padding:20px}.ops-detail-grid{grid-template-columns:1fr}.ops-table{min-width:700px}.ops-heading{align-items:flex-start}.ops-heading .ops-inline{justify-content:flex-end}}
@media(max-width:600px){.ops-top,.ops-heading{flex-wrap:wrap}.ops-card{padding:16px}.ops-stats{gap:8px}.ops-stat{padding:12px}.ops-dialog-body{padding:16px}.ops-dialog-head{padding:15px}.ops-dialog-foot{padding:12px}.ops-heading h1{font-size:24px}}

.ops-columns{align-items:start}.ops-attention-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ops-attention-grid .ops-alert{margin:0}.ops-attention-grid .ops-empty{grid-column:1/-1}.ops-preview+*{min-width:0}.ops-detail-grid select{width:100%;margin-bottom:12px}.ops-dialog-foot{flex-wrap:wrap}@media(max-width:1100px){.ops-attention-grid{grid-template-columns:1fr}}

/* One vertical scroll owner per dialog; horizontal table scrolling remains available. */
.ops-dialog-body{scrollbar-gutter:stable;scroll-padding-block:16px}
.ops-dialog .ops-table-wrap{max-height:none!important;overflow-x:auto;overscroll-behavior:auto}
.ops-dialog .ops-table th{position:static}

@media(max-width:620px){
 .ops-top,.ops-heading,.ops-section-head{flex-wrap:wrap;align-items:flex-start}
 .ops-heading .ops-inline{justify-content:flex-start}
 .ops-card{padding:16px}
 .ops-toolbar>input[type=search]{flex-basis:100%;min-width:0}
 .ops-toolbar>select{flex:1;min-width:0}
 .ops-top .breadcrumb{white-space:normal}
 .ops-definition{grid-template-columns:75px minmax(0,1fr)}
 .ops-stats{gap:8px}.ops-stat{padding:12px}
}

/* The native dialog owns focus; keep contextual requests inside it. */
.ops-dialog .ops-dialog-assistant{flex:1 0 100%;margin:0;min-width:0;text-align:left}
.ops-dialog-assistant summary{width:max-content;color:#177048;font-weight:600;list-style:none}
.ops-dialog-assistant[open] summary{margin-bottom:10px}
.ops-dialog-guide{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:#697a70;margin-bottom:7px}
.ops-dialog-guide>span:last-child{margin-left:auto}
.ops-dialog-example-next{border:0;background:transparent;color:#177048;font:inherit;cursor:pointer;padding:2px}
.ops-dialog-input-row{display:flex;align-items:center;gap:8px}
.ops-dialog-input-row input{flex:1;min-width:0;border:1px solid #cfe1d6;border-radius:10px;padding:11px 12px;font:inherit;font-size:14px;background:#f8fbf9;color:var(--ink)}
.ops-dialog-input-row input:focus-visible{outline:2px solid #14814e;outline-offset:2px}
#ops-dialog-reply{font-size:13px;line-height:1.6;margin:8px 0 0;max-height:90px;overflow:auto;color:#28553a}
@media(max-width:600px){.ops-dialog-guide>span:last-child{margin-left:0;width:100%}}

/* New-message entry: distinguish AI preparation from channel composition. */
.ops-start-picker .ops-start-options{display:grid;gap:28px}
.ops-start-picker .ops-start-options h3{margin:0 0 12px;font-size:14px;font-weight:650;color:#455b50}
.ops-start-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ops-start-mode{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:20px;border:1px solid #dde5e1;border-radius:12px;background:#fff;color:#243c30;text-align:left;font:inherit;cursor:pointer}
.ops-start-mode.is-recommended{background:#f5faf7;border-color:#c6ded0}
.ops-start-mode-title{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:650}
.ops-start-mode-title img{width:18px;height:18px;filter:invert(31%) sepia(32%) saturate(822%) hue-rotate(98deg) brightness(88%) contrast(88%)}
.ops-start-badge{padding:3px 6px;border-radius:5px;background:#e7f3ec;color:#24734a;font-size:11px;font-weight:600}
.ops-start-description{color:#64756c;font-size:13px;line-height:1.65}
.ops-start-picker .ops-start-hint{margin:-5px 0 14px;color:#6c7a72;font-size:13px}
.ops-start-channels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ops-start-channel{display:grid;justify-items:start;gap:8px;padding:16px 12px;border:1px solid #e3e8e5;border-radius:10px;background:#fff;font:inherit;cursor:pointer;text-align:left}
.ops-start-channel img{width:21px;height:21px;opacity:.75}
.ops-start-channel strong{font-size:14px;font-weight:600;color:#354a3e}
.ops-start-channel small{font-size:11px;color:#748078;line-height:1.5}
.ops-start-mode:hover,.ops-start-channel:hover{border-color:#84b99a;background:#f7faf8}
.ops-start-mode:focus-visible,.ops-start-channel:focus-visible{outline:2px solid #258352;outline-offset:3px}
@media(max-width:600px){.ops-start-modes{grid-template-columns:1fr}.ops-start-channels{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-start-mode{padding:16px;gap:8px}.ops-start-picker .ops-start-options{gap:24px}}
