.hkt-manual-workbench{margin:12px 0 16px;background:#fff;border-top:3px solid #e56f19;border-bottom:1px solid #d9dee5;color:#303640;font-size:13px;letter-spacing:0}
.hkt-manual-head{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 14px;border-bottom:1px solid #e5e8ec}
.hkt-manual-head h2{margin:0;font-size:16px;font-weight:600;line-height:1.4}
.hkt-manual-badge{display:inline-flex;align-items:center;height:24px;padding:0 8px;border:1px solid #a9d5bf;background:#f2fbf6;color:#087443}
.hkt-manual-summary{margin-left:auto;color:#68717c}
.hkt-manual-tabs{display:flex;align-items:center;gap:0;padding:0 14px;border-bottom:1px solid #e5e8ec}
.hkt-manual-tabs button{height:38px;padding:0 18px;border:0;border-bottom:2px solid transparent;background:#fff;color:#4d5662;cursor:pointer}
.hkt-manual-tabs button.is-active{border-bottom-color:#e56f19;color:#c85d0b;font-weight:600}
.hkt-manual-toolbar{display:flex;align-items:center;gap:8px;padding:10px 14px;background:#f8f9fa}
.hkt-manual-toolbar input{width:min(360px,60vw);height:32px;padding:0 9px;border:1px solid #cfd5dc}
.hkt-manual-button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 12px;border:1px solid #c9cfd6;background:#fff;color:#333;cursor:pointer;text-decoration:none;white-space:nowrap}
.hkt-manual-button:hover{border-color:#e56f19;color:#c85d0b}.hkt-manual-button:disabled{opacity:.45;cursor:not-allowed}
.hkt-manual-button.is-primary{border-color:#df6b18;background:#e87520;color:#fff}.hkt-manual-button.is-danger{border-color:#c74444;color:#b52e2e}
.hkt-manual-table-wrap{width:100%;overflow:auto}.hkt-manual-table{width:100%;border-collapse:collapse;table-layout:auto}
.hkt-manual-table th,.hkt-manual-table td{padding:9px 10px;border-bottom:1px solid #e8ebee;text-align:left;vertical-align:middle;white-space:nowrap}
.hkt-manual-table th{background:#f5f6f8;color:#5b6470;font-weight:600}.hkt-manual-table td.hkt-manual-title{min-width:260px;white-space:normal}
.hkt-manual-thumb{display:block;width:54px;height:54px;object-fit:cover;border:1px solid #e0e3e7;background:#f4f5f6}
.hkt-manual-empty{padding:34px 16px;text-align:center;color:#77808b}.hkt-manual-error{margin:10px 14px;padding:9px 12px;border-left:3px solid #c43f3f;background:#fff3f3;color:#9d2626;white-space:pre-wrap}
.hkt-manual-status{display:inline-flex;align-items:center;height:24px;padding:0 7px;border:1px solid #ccd2d9;background:#f7f8f9;color:#59616b}
.hkt-manual-status.is-ready,.hkt-manual-status.is-published{border-color:#acd6bf;background:#f2fbf6;color:#087443}.hkt-manual-status.is-failed{border-color:#e4b1b1;background:#fff3f3;color:#a43131}.hkt-manual-status.is-processing{border-color:#e6c38d;background:#fff9ed;color:#9b6413}
.hkt-manual-modal{position:fixed;inset:0;z-index:100100;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(20,25,31,.45)}
.hkt-manual-dialog{width:min(1120px,96vw);max-height:92vh;overflow:auto;background:#fff;box-shadow:0 16px 42px rgba(0,0,0,.24)}
.hkt-manual-dialog-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid #dfe3e7;background:#fff}
.hkt-manual-dialog-head h3{margin:0;font-size:16px}.hkt-manual-dialog-head .hkt-manual-button{margin-left:auto}
.hkt-manual-dialog-body{padding:14px 16px}.hkt-manual-section{padding:12px 0;border-bottom:1px solid #eceff2}.hkt-manual-section h4{margin:0 0 10px;font-size:14px}
.hkt-manual-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px 12px}.hkt-manual-field{display:flex;flex-direction:column;gap:5px;min-width:0}.hkt-manual-field.is-wide{grid-column:span 2}.hkt-manual-field.is-full{grid-column:1/-1}
.hkt-manual-field label{color:#606975}.hkt-manual-field input,.hkt-manual-field textarea,.hkt-manual-field select{width:100%;min-height:34px;padding:7px 8px;border:1px solid #cbd1d8;background:#fff;box-sizing:border-box;color:#252a30}
.hkt-manual-field textarea{min-height:80px;resize:vertical}.hkt-manual-variants{width:100%;border-collapse:collapse}.hkt-manual-variants th,.hkt-manual-variants td{padding:7px;border:1px solid #e0e4e8;text-align:left}.hkt-manual-variants input[type=text],.hkt-manual-variants input[type=number]{width:100%;height:32px;padding:0 7px;border:1px solid #cbd1d8;box-sizing:border-box}
.hkt-manual-dialog-actions{position:sticky;bottom:0;display:flex;align-items:center;gap:8px;padding:11px 16px;border-top:1px solid #dfe3e7;background:#fff}.hkt-manual-dialog-actions [data-hkt-close]{margin-left:auto}
.hkt-manual-validation{margin-top:10px;padding:10px 12px;border:1px solid #d8dde3;background:#f8f9fa;white-space:pre-wrap}.hkt-manual-validation.is-valid{border-color:#acd6bf;background:#f2fbf6;color:#087443}.hkt-manual-validation.is-invalid{border-color:#e4b1b1;background:#fff3f3;color:#9d2626}
@media(max-width:900px){.hkt-manual-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}.hkt-manual-field.is-wide{grid-column:span 2}.hkt-manual-summary{display:none}}
@media(max-width:600px){.hkt-manual-workbench{margin:8px 0}.hkt-manual-head{align-items:flex-start;flex-wrap:wrap;padding:10px}.hkt-manual-tabs,.hkt-manual-toolbar{padding-left:8px;padding-right:8px}.hkt-manual-toolbar{align-items:stretch;flex-direction:column}.hkt-manual-toolbar input{width:100%}.hkt-manual-grid{grid-template-columns:1fr}.hkt-manual-field.is-wide{grid-column:span 1}.hkt-manual-dialog{width:100%;max-height:96vh}.hkt-manual-dialog-actions{flex-wrap:wrap}.hkt-manual-table th,.hkt-manual-table td{padding:8px}}
