:root{color:#18211d;background:#f4f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;background:#f4f6f8}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}h1,h2,h3,p{margin:0}.app{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh;background:#f4f6f8;color:#18211d}.login-page{display:grid;min-height:100vh;place-items:center;background:#f4f6f8;padding:24px}.login-panel{display:grid;width:min(420px,100%);gap:16px;border:1px solid #e3e8e3;border-radius:8px;background:#fff;padding:24px;box-shadow:0 18px 50px #141c1714}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;gap:18px;height:100vh;border-right:1px solid #e5e7eb;padding:24px 16px}.brand{display:flex;align-items:center;gap:12px;min-height:42px;padding:0 8px}.brand-mark,.brand>svg{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;background:#18a562;color:#fff;box-shadow:0 2px 10px #18a5624d}.brand h1{color:#111827;font-size:15px;font-weight:780}.brand span:not(.brand-mark){display:block;margin-top:2px;color:#6b7280;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:11px;font-weight:650;text-transform:uppercase}nav{display:grid;grid-auto-rows:max-content;align-content:start;gap:6px;overflow-y:auto}.main-menu{flex:1;margin-top:20px;overflow:visible}.main-menu button{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:42px;border:0;border-radius:8px;background:transparent;color:#4b5563;padding:0 12px;font-size:14px;font-weight:660;text-align:left;transition:background .18s ease,color .18s ease}.main-menu button svg{color:#6b7280}.main-menu button:hover,.main-menu button.active{background:#18a5621a;color:#18a562}.main-menu button:hover svg,.main-menu button.active svg{color:#18a562}.upload{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;border:0;border-radius:8px;background:#18a562;color:#fff;padding:0 14px;font-size:14px;font-weight:700;box-shadow:0 4px 12px #18a56233;transition:background .18s ease,transform .18s ease}.upload:hover{background:#159155}.upload:active{transform:scale(.98)}.workspace{display:flex;min-width:0;flex-direction:column}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px;border-bottom:1px solid #e5e7eb;padding:0 20px;background:#f4f6f8db;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.breadcrumb{display:flex;align-items:center;gap:9px;color:#6b7280;font-size:14px}.breadcrumb strong{color:#1f2937;font-weight:760}.breadcrumb span{color:#d1d5db}.breadcrumb em{font-style:normal;font-weight:560}.content{width:100%;margin:0 auto;padding:20px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}.search-box{display:flex;align-items:center;gap:9px;width:min(460px,100%);height:40px;border:1px solid #d9e0da;border-radius:8px;background:#fff;padding:0 12px;color:#6b7280}.search-box input{height:100%;border:0;background:transparent;padding:0}.search-box input:focus{outline:none;box-shadow:none}h2{color:#111827;font-size:24px;font-weight:820}.page-heading p{margin-top:6px;color:#6b7280;font-size:14px;font-weight:580}.page-actions,.header-actions,.button-row,.auth-form,.table-actions{display:flex;align-items:center;gap:8px}.plugin-cell{display:flex;align-items:center;gap:10px;min-width:220px}.plugin-cell img,.plugin-cell-icon{display:inline-flex;width:34px;height:34px;flex:0 0 auto;align-items:center;justify-content:center;border:1px solid #e5e7eb;border-radius:8px;background:#f8fafc;color:#64748b;object-fit:cover}.plugin-cell span{display:grid;gap:3px}.plugin-cell em{max-width:300px;overflow:hidden;color:#6b7280;font-size:12px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.panel{overflow:hidden;border:1px solid rgba(229,231,235,.9);border-radius:8px;background:#fff;box-shadow:0 4px 24px #00000005}.plugin-list-panel{overflow:visible}.panel-title{display:flex;align-items:center;gap:10px;padding:16px 24px}.panel-title svg{color:#18a562}h3{color:#111827;font-size:14px;font-weight:760}input,select,textarea{width:100%;border:1px solid #d9e0da;border-radius:7px;outline:none;background:#fff;color:#18211d;padding:0 11px}input,select{height:38px}textarea{min-height:90px;padding:10px 11px;resize:vertical;line-height:1.5}input:focus,select:focus,textarea:focus{border-color:#18a562;box-shadow:0 0 0 3px #18a5621f}.primary,.secondary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:max-content;height:36px;border-radius:7px;padding:0 14px;font-size:13px;font-weight:700;transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}.primary{border:0;background:#18a562;color:#fff;box-shadow:0 2px 8px #18a56240}.primary:hover{background:#159155}.secondary{border:1px solid rgba(209,213,219,.8);background:#fff;color:#374151;box-shadow:0 1px 2px #11182708}.secondary:hover{border-color:#18a562;background:#18a5620d;color:#18a562}.danger{border:1px solid #fee2e2;background:#fef2f2;color:#ef4444}.danger:hover{background:#fee2e2}.small{height:30px;padding:0 10px;font-size:12px;font-weight:650}.spin{animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.account-menu{position:relative}.account-trigger{display:inline-flex;align-items:center;gap:8px;height:36px;border:0;border-radius:999px;background:transparent;color:#374151;padding:0;font-size:14px;font-weight:650}.account-trigger:hover{color:#111827}.avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#18a562;color:#fff;font-size:12px;font-weight:800;box-shadow:0 1px 4px #18a56229}.account-dropdown{position:absolute;top:calc(100% + 8px);right:0;z-index:25;display:grid;min-width:148px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 14px 36px #11182724;padding:6px}.account-dropdown button{display:flex;align-items:center;gap:8px;height:34px;border:0;border-radius:6px;background:transparent;color:#374151;padding:0 9px;text-align:left;font-size:13px}.account-dropdown button:hover{background:#18a56214;color:#137c4d}.auth-form{padding:0 24px 18px}.auth-form input{max-width:360px}.auth-form select{max-width:260px}.auth-form.compact{padding:0 0 14px}.auth-form.compact input{max-width:160px}.table-wrap{overflow-x:auto;overflow-y:visible}.plugin-list-panel .table-wrap{overflow:visible}table{width:100%;min-width:900px;border-collapse:collapse;font-size:14px}th,td{padding:14px 24px;text-align:left;vertical-align:middle}th{background:#f8fafc;color:#6b7280;font-size:13px;font-weight:650}td{border-bottom:1px solid rgba(243,244,246,.95);color:#4b5563}th:nth-child(1),td:nth-child(1){width:13%}th:nth-child(2),td:nth-child(2){width:13%}th:nth-child(3),td:nth-child(3){width:11%}th:nth-child(4),td:nth-child(4){width:10%}th:nth-child(5),td:nth-child(5){width:8%}th:nth-child(6),td:nth-child(6){width:15%}th:nth-child(7),td:nth-child(7){width:30%}td strong{color:#111827;font-weight:700}tbody tr{transition:background .16s ease}tbody tr:hover{background:#f8fafcb3}tbody tr:last-child td{border-bottom:0}.table-actions{flex-wrap:nowrap}.actions-menu{position:relative;display:inline-flex}.actions-trigger{min-width:78px}.actions-dropdown{position:absolute;top:calc(100% + 6px);right:0;z-index:80;display:grid;min-width:132px;overflow:hidden;border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:6px;box-shadow:0 14px 34px #11182724}.actions-dropdown button{display:flex;align-items:center;gap:8px;width:100%;min-height:34px;border:0;border-radius:6px;background:transparent;color:#374151;padding:0 10px;font-size:13px;font-weight:650;text-align:left}.actions-dropdown button:hover{background:#f3f4f6}.actions-dropdown .danger-item{color:#dc2626}.actions-dropdown .danger-item:hover{background:#fef2f2}.status{display:inline-flex;align-items:center;min-height:22px;border-radius:999px;background:#f3f4f6;color:#6b7280;padding:2px 10px;font-size:12px;font-weight:700}.status.listed,.status.published{background:#18a5621a;color:#18a562}.status.unlisted{background:#f3f4f6;color:#6b7280}.status.draft{background:#fff7ed;color:#c2410c}.empty-cell{height:110px;color:#7b867e;text-align:center;vertical-align:middle}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}.form-grid label,.form-stack label{display:grid;gap:6px}.form-grid label span,.form-stack label span{color:#69746d;font-size:12px;font-weight:700}.form-grid textarea,.form-grid .wide{grid-column:1 / -1}.editor-page{width:100%;padding-bottom:22px}.editor-form{width:100%;padding:0 24px}.media-field{min-width:0}.icon-editor{display:flex;align-items:center;gap:12px}.media-image-button,.media-placeholder{display:inline-flex;width:56px;height:56px;flex:0 0 auto;align-items:center;justify-content:center;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc;color:#64748b;object-fit:cover}.media-image-button{padding:0;cursor:zoom-in;overflow:hidden}.media-image-button img{width:100%;height:100%;object-fit:cover}.media-image-button:hover,.preview-card:hover{border-color:#18a562}.icon-editor.page .media-image-button,.icon-editor.page .media-placeholder{width:72px;height:72px}.preview-editor{display:grid;gap:12px}.preview-strip.editable{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.preview-card{position:relative;display:block;padding:0;cursor:zoom-in;overflow:hidden}.preview-card img,.preview-card{width:100%;aspect-ratio:16 / 9;border:1px solid #e5e7eb;border-radius:8px;background:#f8fafc;object-fit:cover}.preview-empty{display:grid;min-height:120px;place-items:center;border:1px dashed #d9e0da;border-radius:8px;background:#f8fafc;color:#7b867e;font-size:13px;font-weight:650;gap:6px}.image-preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;background:#111827a8;padding:24px}.image-preview-dialog{position:relative;max-width:min(980px,calc(100vw - 48px));max-height:calc(100vh - 48px)}.image-preview-dialog img{display:block;max-width:100%;max-height:calc(100vh - 48px);border-radius:10px;background:#fff;box-shadow:0 24px 80px #00000047}.image-preview-close{position:absolute;top:-14px;right:-14px;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:0;border-radius:999px;background:#fff;color:#4b5563;padding:0;box-shadow:0 8px 24px #0000002e}.form-stack{display:grid;gap:12px;margin-bottom:14px}.button-row{margin-top:18px}.button-row.right{justify-content:flex-end}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #eef2f7;border-radius:7px;background:#fff;color:#9ca3af;padding:0}.icon-button:hover{background:#f3f4f6;color:#4b5563}.modal-backdrop,.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#0006}.modal-backdrop{display:grid;place-items:center;padding:24px}.modal{width:min(720px,calc(100vw - 48px));border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 24px 80px #11182733;padding:24px}.small-modal{width:min(460px,calc(100vw - 48px))}.modal-header,.drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.modal-header h3,.drawer-header h3{color:#111827;font-size:20px;font-weight:800}.modal-header p,.drawer-header p{margin-top:4px;color:#6b7280;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px}.drawer-backdrop{display:flex;justify-content:flex-end}.drawer{display:flex;flex-direction:column;width:min(680px,calc(100vw - 24px));height:100%;background:#fff;box-shadow:-22px 0 60px #11182733;animation:drawer-in .22s ease-out}@keyframes drawer-in{0%{transform:translate(100%)}to{transform:translate(0)}}.drawer-header{margin:0;padding:24px 32px 16px}.tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid #f3f4f6;padding:0 32px}.tabs button{position:relative;height:44px;border:0;background:transparent;color:#6b7280;padding:0;font-size:14px;font-weight:700}.tabs button:after{position:absolute;right:0;bottom:0;left:0;height:2px;border-radius:999px 999px 0 0;background:transparent;content:""}.tabs button:hover,.tabs button.active{color:#18a562}.tabs button.active:after{background:#18a562}.drawer-body{flex:1;overflow-y:auto;padding:24px 32px 32px}.drawer .table-wrap{border:1px solid #f3f4f6;border-radius:8px}.drawer table{min-width:640px;font-size:13px}.drawer th,.drawer td{padding:11px 12px}.drawer-tools{display:flex;justify-content:flex-end;margin-bottom:12px}.detail-list{display:grid;grid-template-columns:112px minmax(0,1fr);row-gap:16px;margin:0;color:#111827;font-size:14px}.detail-list dt{color:#6b7280}.detail-list dd{min-width:0;margin:0;overflow-wrap:anywhere}.detail-icon{width:56px;height:56px;border:1px solid #e5e7eb;border-radius:10px;object-fit:cover}.preview-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}.preview-strip img{width:100%;aspect-ratio:16 / 9;border:1px solid #e5e7eb;border-radius:8px;background:#f8fafc;object-fit:cover}.toast{position:fixed;top:16px;right:18px;z-index:60;max-width:360px;border-radius:8px;box-shadow:0 14px 40px #11182729;color:#fff;padding:10px 13px;font-size:13px;font-weight:650}.toast.success{background:#18a562}.toast.error{background:#dc2626}@media (max-width: 900px){.app{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding-bottom:12px}.main-menu{margin-top:8px}.workspace{min-height:0}.topbar{padding:0 20px}.content{width:calc(100% - 32px)}.page-heading,.auth-form{align-items:stretch;flex-direction:column}.page-actions{justify-content:flex-start}.auth-form{padding:0 16px 18px}.auth-form input,.auth-form select{max-width:none}.panel-title,th,td{padding-right:16px;padding-left:16px}.form-grid{grid-template-columns:1fr}}
