@charset "UTF-8";
:root{--navy:#142b36;--navy-deep:#10232c;--teal:#087e79;--teal-hover:#066a66;--teal-soft:#e5f4ef;--ink:#243641;--muted:#6e7e86;--line:#e5e9eb;--canvas:#f5f7f8;--white:#fff;--danger:#b93838;--shadow:0 16px 50px #122b3610;--radius:16px;--font:"Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--canvas);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.7}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.62}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.5;letter-spacing:-.8px}h2{font-size:19px;line-height:1.6}h3{font-size:15px}svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #45b8a9;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:none;border-color:#36a89e;box-shadow:0 0 0 3px #138d7a16}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.muted{color:var(--muted)}.teal{color:var(--teal)!important}.eyebrow{font-size:11px;letter-spacing:.2px;font-weight:650;display:block;margin-bottom:6px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:9px;padding:10px 18px;min-height:43px;font-size:13px;font-weight:600;white-space:nowrap;transition:background .18s,border-color .18s,transform .18s}.button svg{width:18px;height:18px}.button.primary{background:var(--teal);color:white}.button.primary:hover:not(:disabled){background:var(--teal-hover)}.button.secondary{background:#fff;border-color:#dce3e6;color:#3d505b}.button.secondary:hover:not(:disabled){background:#f5f8f8;border-color:#c5d4d7}.button.light{background:white;color:var(--navy)}.button.light:hover{background:#ecf5f4}.button.small{min-height:35px;padding:6px 12px;font-size:12px}.button.full{width:100%}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:37px;height:37px;padding:8px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);flex-shrink:0}.icon-button:hover{background:#edf2f3;color:var(--teal)}.icon-button svg{width:18px;height:18px}.text-button{background:none;border:0;color:var(--teal);padding:0;display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600}.text-button:hover{text-decoration:underline}.text-button svg{width:16px;height:16px}.brand{display:flex;align-items:center;gap:11px;white-space:nowrap;font-size:22px;font-weight:650;letter-spacing:-.4px}.brand b{font-size:18px;color:#68cebb}.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#24434a;color:#80d4c2}.brand-mark svg{width:27px;height:27px}.brand-light{color:white}.spinner{width:21px;height:21px;border:2px solid #cce7e1;border-top-color:var(--teal);border-radius:50%;display:inline-block;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.boot-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted)}
.login-screen{display:grid;grid-template-columns:minmax(370px,44%) 1fr;min-height:100vh}.login-story{background:var(--navy);color:white;padding:54px 62px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;left:-140px;bottom:80px;width:370px;height:370px;border:1px solid #8dccc416;border-radius:50%;box-shadow:0 0 0 70px #8dccc408,0 0 0 140px #8dccc405;pointer-events:none}.login-story-copy{padding:85px 0;position:relative;z-index:1}.login-story-copy .eyebrow{color:#82cdbf;font-size:12px}.login-story-copy h1{font-size:45px;font-weight:650;line-height:1.6;letter-spacing:-1.4px;margin:15px 0 18px}.login-story-copy p{color:#b3c8ce;font-size:15px;max-width:340px;line-height:2}.story-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:30px}.story-tags span{border:1px solid #57757b66;color:#c9e0df;font-size:11px;border-radius:20px;padding:5px 13px}.story-footer{font-size:11px;color:#91abb4;display:flex;align-items:center;gap:8px}.tiny-mark{width:5px;height:5px;background:#70c5b5;border-radius:50%}.login-main{display:flex;align-items:center;justify-content:center;padding:45px;background:#fbfcfc}.login-card{width:100%;max-width:350px}.login-icon{width:49px;height:49px;background:var(--teal-soft);color:var(--teal);display:grid;place-items:center;border-radius:14px;margin-bottom:23px}.login-icon svg{width:23px;height:23px}.login-card h2{font-size:29px;letter-spacing:-.7px;margin-bottom:4px}.login-card>.muted{margin-bottom:31px}.login-card label{display:block;font-weight:600;font-size:12px;margin:16px 0 8px}.login-card input{width:100%}.login-card .button{margin-top:25px}.login-help{font-size:11px;color:#8a969e;line-height:1.9;text-align:center;margin-top:25px;padding-top:23px;border-top:1px solid var(--line)}.password-wrap{position:relative}.password-wrap input{padding-left:47px}.password-toggle{position:absolute;left:5px;top:5px;width:35px;height:35px;background:transparent;border:0;color:#83939b;display:grid;place-items:center;border-radius:6px}.password-toggle:hover{background:#eef4f4}.password-toggle svg{width:18px;height:18px}
.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;right:0;top:0;bottom:0;width:248px;background:var(--navy);color:#d4e2e6;display:flex;flex-direction:column;padding:29px 20px 22px;z-index:10}.sidebar>.brand{padding:0 9px 27px}.sidebar-caption{font-size:10px;letter-spacing:.3px;color:#819aa5;padding:12px 14px 10px}.main-nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:13px;text-align:right;width:100%;padding:13px 15px;background:transparent;border:0;border-radius:9px;color:#b6cbd3;font-size:12px;font-weight:500;transition:background .15s,color .15s}.nav-item svg{width:19px;height:19px;opacity:.8}.nav-item:hover{background:#ffffff08;color:#fff}.nav-item.active{background:#284b50;color:#a1e6d2;box-shadow:inset -3px 0 #71c9af}.nav-item.active svg{opacity:1}.nav-divider{height:1px;background:#ffffff0c;margin:17px 14px}.sidebar-bottom{display:flex;gap:10px;align-items:center;margin-top:auto;padding:20px 5px 0;border-top:1px solid #ffffff0d}.account-avatar{width:36px;height:36px;border-radius:10px;background:#28434d;color:#a3c7ca;display:grid;place-items:center;flex-shrink:0}.account-avatar svg{width:18px;height:18px}.account-copy{min-width:0;display:flex;flex-direction:column;flex:1}.account-copy strong{font-size:12px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-copy span{font-size:10px;color:#7f9ca8;margin-top:1px}.logout-button{color:#94b2bd;width:30px}.logout-button:hover{background:#ffffff0b;color:#c7e7e4}.workspace{flex:1;min-width:0;margin-right:248px;display:flex;flex-direction:column;min-height:100vh}.topbar{height:77px;padding:0 43px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.breadcrumb{display:flex;align-items:center;gap:12px;color:#8a969e;font-size:11px}.breadcrumb span{color:#cbd4d8}.breadcrumb strong{color:#3e535e;font-weight:500}.topbar-actions{display:flex;align-items:center;gap:15px}.server-status{display:flex;align-items:center;gap:7px;color:#8a969e;font-size:10px}.server-status>span{width:6px;height:6px;background:#bbc8cc;border-radius:50%}.server-status b{font-weight:400}.server-status.online>span{background:#38a38a;box-shadow:0 0 0 4px #38a38a10}.server-status.online{color:#628176}.server-status.offline>span{background:#cf6b57}.server-status.offline{color:#b45c50}.topbar .icon-button{border-color:var(--line);width:33px;height:33px}.topbar .icon-button svg{width:15px;height:15px}.main-content{padding:32px 42px 28px;flex:1;width:100%;max-width:1640px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-heading p{color:var(--muted);font-size:12px;margin-top:4px}.page-heading>.button{margin-top:10px}.page-heading h1{font-size:28px;letter-spacing:-.7px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:26px}.stat-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:20px 21px;box-shadow:0 3px 3px #1b303602}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#687e88;margin-bottom:15px}.stat-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center}.stat-icon svg{width:19px;height:19px}.teal-bg{background:#e7f4ef;color:#16826e}.blue-bg{background:#eaf1fc;color:#557fae}.amber-bg{background:#fbf1e1;color:#b08842}.purple-bg{background:#f0ebfa;color:#8b72ad}.stat-card>strong{display:block;font-size:35px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-.7px}.stat-caption{display:block;margin-top:9px;font-size:10px;color:#98a3a9}.overview-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius)}.start-panel{padding:26px 28px}.section-title{display:flex;align-items:center;gap:9px;margin-bottom:10px}.section-title h2{font-size:16px;font-weight:600}.mini-icon{color:var(--teal)}.mini-icon svg{width:19px;height:19px}.start-panel>.muted{font-size:12px;margin-bottom:21px}.quick-action-list{display:flex;flex-direction:column;gap:8px}.quick-action{display:flex;align-items:center;gap:14px;border:1px solid transparent;background:#f9fbfb;border-radius:10px;padding:16px;text-align:right;width:100%;color:inherit;transition:border-color .15s,background .15s}.quick-action:hover{border-color:#cbded9;background:#f3f9f7}.quick-icon{width:43px;height:43px;border-radius:11px;display:grid;place-items:center;flex-shrink:0}.quick-icon svg{width:22px;height:22px}.quick-action>span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}.quick-action strong{font-size:12px;font-weight:600}.quick-action small{font-size:10px;color:#80939d}.quick-arrow{color:#8aa1a7}.quick-arrow svg{width:16px;height:16px}.connect-card{background:var(--navy);border:1px solid var(--navy);border-radius:var(--radius);color:#fff;padding:27px 29px;position:relative;overflow:hidden}.connect-card:after{content:"";width:210px;height:210px;position:absolute;border-radius:50%;border:1px solid #ffffff09;left:-120px;top:-90px;box-shadow:0 0 0 40px #ffffff03,0 0 0 80px #ffffff02;pointer-events:none}.connect-symbol{position:absolute;top:28px;left:27px;width:43px;height:43px;display:grid;place-items:center;background:#2c4c52;border-radius:13px;color:#91d7c5}.connect-symbol svg{width:22px;height:22px}.connect-card .eyebrow{color:#87c6b7;margin-bottom:12px}.connect-card h2{font-size:24px;line-height:1.6;letter-spacing:-.5px;margin:13px 0}.connect-card p{font-size:11px;color:#b0c6ce;line-height:2;max-width:300px}.connect-card .button{font-size:11px;min-height:38px;padding:8px 15px;margin-top:22px}.connect-card>small{margin-top:23px;font-size:9px;color:#85a3ad;display:flex;align-items:center;gap:6px}.connect-card>small svg{width:13px;height:13px}.subtle-note{display:flex;align-items:center;justify-content:center;gap:8px;font-size:10px;color:#8b9ca4;margin:25px 0 4px}.subtle-note svg{width:14px;height:14px;flex-shrink:0}.workspace-footer{padding:20px 42px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#9ba8af}.workspace-footer span:first-child{font-weight:600;color:#8ea0a8}.page-error{background:#fff3f1;border:1px solid #f2d6d1;padding:13px 17px;border-radius:10px;color:#ac4e42;margin-bottom:20px;font-size:12px}.inline-error{color:var(--danger);background:#fff5f4;padding:10px 12px;border-radius:7px;font-size:12px;margin:12px 0 0}.success-box{padding:15px 18px;border-radius:9px;background:#eaf7f0;border:1px solid #cbe6d8;color:#276c4e;font-size:12px;margin-top:18px;line-height:1.9}
input:not([type=checkbox]):not([type=file]),select,textarea{border:1px solid #dce3e6;background:#fff;border-radius:8px;min-height:44px;padding:10px 13px;color:#344b57;transition:border-color .15s,box-shadow .15s;width:100%;font-size:13px}input::placeholder,textarea::placeholder{color:#b0bbc1}textarea{resize:vertical;min-height:90px}input[readonly]{background:#f8fafb;color:#56717f}input[type=number]{font-variant-numeric:tabular-nums}label{font-size:12px;font-weight:550}.optional{font-size:10px;color:#9aa7ae;font-weight:400;margin-right:5px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{margin-bottom:19px;min-width:0}.field>label{display:block;margin-bottom:7px}.form-hint{font-size:10px;color:#8a9aa3;line-height:1.9;margin-top:8px}.form-footer{display:flex;justify-content:flex-end;border-top:1px solid var(--line);margin-top:25px;padding-top:20px}.catalog-panel{overflow:hidden}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 23px;border-bottom:1px solid var(--line)}.search-field{position:relative;width:310px;max-width:50%}.search-field>span{position:absolute;right:13px;top:12px;color:#9eafb7}.search-field svg{width:17px;height:17px}.search-field input{padding-right:38px!important;min-height:40px!important;background:#fafcfc!important;font-size:11px!important}.catalog-summary{display:flex;align-items:center;gap:6px;font-size:10px;color:#8a9ba3}.summary-divider{color:#d4dfe3;margin:0 9px}.catalog-summary .text-button{font-size:11px}.table-scroll{overflow-x:auto}.content-table{border-collapse:collapse;width:100%;min-width:650px;text-align:right;font-size:12px}.content-table th{font-weight:500;color:#98a4aa;background:#fcfdfd;font-size:10px;padding:13px 23px;border-bottom:1px solid #edf1f2;white-space:nowrap}.content-table td{padding:17px 23px;border-bottom:1px solid #f0f3f4;vertical-align:middle}.content-table tr:last-child td{border-bottom:0}.content-table tbody tr:hover{background:#fcfefe}.item-cell{display:flex;align-items:center;gap:12px;min-width:170px}.item-avatar{display:grid;place-items:center;width:39px;height:42px;border-radius:9px;background:#eef5f4;color:#7a9d95;flex-shrink:0}.item-avatar svg{width:20px;height:20px}.item-copy{display:flex;flex-direction:column;max-width:280px;gap:3px}.item-copy strong{font-size:12px;font-weight:550;overflow-wrap:anywhere}.item-copy small{font-size:10px;color:#9aa9b0}.category-pill{display:inline-block;font-size:10px;padding:3px 9px;background:#f2f5f6;border-radius:5px;color:#718690;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-host{direction:ltr;display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8a9da7;font-size:10px;text-align:right}.badge{display:inline-flex;align-items:center;gap:5px;font-size:9px;white-space:nowrap;padding:4px 9px;border-radius:20px;font-weight:500}.badge.active{background:#edf7f1;color:#388764}.badge.inactive{background:#f0f3f4;color:#8b9aa1}.badge.warning{background:#fff5e5;color:#a48042}.badge.active:before,.badge.inactive:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.row-actions{display:flex;gap:4px}.row-actions .icon-button{width:29px;height:29px}.row-actions .icon-button svg{width:15px;height:15px}.row-actions .delete:hover{background:#fff0ee;color:#bd5e50}.empty-state{padding:65px 20px 70px;display:flex;flex-direction:column;align-items:center;text-align:center}.empty-icon{width:66px;height:66px;background:#eff6f4;border-radius:20px;display:grid;place-items:center;color:#86aca0;margin-bottom:20px}.empty-icon svg{width:29px;height:29px}.empty-state h2{font-size:18px;font-weight:550}.empty-state p{font-size:11px;color:#92a0a7;max-width:370px;margin:7px 0 23px}.empty-state .button{font-size:11px;min-height:37px}.loading-state{padding:90px 20px;display:flex;align-items:center;justify-content:center;gap:12px;color:#91a2ab;font-size:12px}
.import-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);gap:33px}.import-panel{padding:28px}.import-panel .section-title{margin-bottom:27px}.file-drop{border:1.5px dashed #c9dad9;border-radius:12px;background:#fafdfc;display:flex;align-items:center;flex-direction:column;justify-content:center;padding:29px 20px;position:relative;cursor:pointer;min-height:238px;text-align:center;transition:background .15s,border-color .15s}.file-drop:hover,.file-drop:focus-within{background:#f0faf6;border-color:#7ab4a4}.file-drop input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.file-drop strong{font-size:13px;font-weight:550;margin-bottom:3px;overflow-wrap:anywhere;max-width:100%}.file-drop>span:not(.button):not(.file-drop-icon){font-size:10px;color:#91a5ac}.file-drop-icon{width:49px;height:49px;border-radius:13px;display:grid;place-items:center;background:#e9f3ef;color:#58917e;margin-bottom:17px}.file-drop-icon svg{width:24px;height:24px}.file-drop .button{margin-top:17px;min-height:31px;font-size:10px}.import-guide{padding:16px 0}.import-guide>h2{font-size:16px;margin-bottom:25px}.guide-item{display:flex;gap:13px;margin-bottom:24px}.file-badge{font-family:ui-monospace,Consolas,monospace;border:1px solid #d6e1e5;background:#fff;border-radius:7px;height:37px;min-width:42px;display:grid;place-items:center;font-size:9px;color:#7f959e;margin-top:2px}.guide-item h3{font-size:12px;margin-bottom:6px;font-weight:550}.guide-item p{font-size:11px;color:#8b9da6;line-height:1.9;max-width:250px}.hint-card{display:flex;gap:10px;padding:17px;background:#eaf3f2;border:1px solid #dbe8e6;border-radius:10px;color:#6c8e87;margin-top:32px;margin-bottom:20px}.hint-card svg{width:17px;height:17px;flex-shrink:0;margin-top:2px}.hint-card p{font-size:10px;line-height:1.9}.import-guide>.text-button{font-size:11px}.settings-stack{display:flex;flex-direction:column;gap:22px;max-width:1000px}.settings-panel{padding:26px 29px}.settings-panel .section-title{margin-bottom:18px}.settings-panel form>label{display:block;margin-bottom:8px}.inline-form{display:flex;gap:12px;align-items:flex-start}.inline-form input{flex:1;min-width:0}.inline-form .button{min-height:44px}.with-badge{gap:9px;flex-wrap:wrap}.with-badge .badge{margin-right:auto}.setting-intro{font-size:11px;line-height:1.9;margin-top:-4px;margin-bottom:23px}.link-block{margin-bottom:21px}.link-block>div:first-child{display:flex;align-items:center;gap:9px;margin-bottom:8px}.link-block strong{font-weight:550;font-size:12px}.code-tag{font-size:9px;border:1px solid #dce7e7;padding:0 5px;border-radius:3px;color:#89a1a7}.copy-field{position:relative;direction:ltr}.copy-field input{font-family:ui-monospace,Consolas,monospace;font-size:11px!important;padding-right:50px!important;min-height:45px!important}.copy-field .icon-button{position:absolute;right:5px;top:4px;border-left:1px solid #e1e9ec;border-radius:0;width:36px}.technical-details{border:1px solid #e4ebec;border-radius:9px;margin:24px 0;background:#fcfdfd}.technical-details summary{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;font-size:11px;color:#69808a;font-weight:500;cursor:pointer;list-style:none}.technical-details summary::-webkit-details-marker{display:none}.technical-details summary svg{width:15px;height:15px}.technical-details[open] summary{border-bottom:1px solid #e9eef0}.technical-details[open] summary svg{transform:rotate(180deg)}.details-body{padding:18px;font-size:11px;color:#7c909a}.code-block{display:block;background:#f0f4f5;padding:11px;border-radius:5px;font-size:10px;text-align:left;margin:10px 0 14px;overflow-wrap:anywhere;user-select:all}.mapping-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid #edf2f3}.mapping-row code{font-size:10px;color:#5f7e89}.mapping-row span{font-size:10px}.detail-caution{padding-top:14px;font-size:10px;line-height:1.9;color:#9c8868}.credentials-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.credentials-header h3{font-size:12px;font-weight:550}.credentials-header .form-hint{margin-top:3px}.credentials{background:#f7faf9;border:1px solid #e2ebe7;border-radius:8px;padding:9px 15px;margin:15px 0}.credentials>div{display:flex;align-items:center;gap:20px;padding:6px 0;font-size:10px}.credentials>div>span{width:90px;color:#81938e;flex-shrink:0}.credentials code{font-size:11px;overflow-wrap:anywhere;user-select:all}.backup-panel{display:flex;align-items:center;justify-content:space-between;gap:22px}.backup-panel .section-title{margin-bottom:6px}.backup-panel p{font-size:11px;max-width:570px;line-height:1.9}.backup-panel .button{font-size:11px}
.item-dialog{padding:0;border:0;border-radius:18px;width:640px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);background:#fff;color:var(--ink);box-shadow:0 30px 100px #0c28334d;overflow:auto}.item-dialog::backdrop{background:#0b243385;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:23px 28px 20px;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:21px}.dialog-header .eyebrow{font-size:10px;margin-bottom:3px}.dialog-body{padding:25px 28px 12px}.dialog-footer{position:sticky;bottom:0;padding:17px 28px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);background:white;z-index:1}.dialog-footer .button{min-width:85px}.field-label-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:7px}.upload-video{position:relative;overflow:hidden;cursor:pointer;font-size:10px}.upload-video input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.upload-video svg{width:14px;height:14px}.switch-row{display:flex;align-items:center;justify-content:space-between;padding:16px 0 9px;border-top:1px solid var(--line);margin-bottom:7px;gap:20px;cursor:pointer}.switch-row>span:first-child{display:flex;flex-direction:column;gap:3px}.switch-row strong{font-size:12px;font-weight:550}.switch-row small{font-size:10px;color:#99a8b0;font-weight:400}.switch{position:relative;width:37px;height:21px;flex-shrink:0}.switch input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:1}.switch-track{position:absolute;inset:0;border-radius:14px;background:#cbd5d9;transition:background .15s}.switch-track:before{content:"";position:absolute;top:3px;left:3px;width:15px;height:15px;background:white;border-radius:50%;box-shadow:0 1px 2px #10232c1a;transition:transform .15s}.switch input:checked+.switch-track{background:var(--teal)}.switch input:checked+.switch-track:before{transform:translateX(16px)}.switch input:focus-visible+.switch-track{outline:3px solid #7bc4b2;outline-offset:3px}.toast{position:fixed;bottom:28px;left:28px;z-index:100;display:flex;align-items:center;gap:10px;max-width:min(430px,calc(100vw - 40px));padding:15px 19px;border-radius:11px;background:#173c36;color:#e6f8ef;border:1px solid #3b6860;box-shadow:0 12px 40px #142b3629;font-size:12px;animation:toast-in .2s ease-out}.toast svg{width:18px;height:18px;flex-shrink:0}.toast.error{background:#753e38;border-color:#94564d;color:#fff1ec}@keyframes toast-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.main-content{padding-top:44px}.page-heading{margin-bottom:34px}.stats-grid{gap:23px;margin-bottom:31px}.stat-card{padding:25px}.overview-grid{gap:28px}.start-panel,.connect-card{padding:32px}.quick-action{padding:20px}.connect-card h2{font-size:27px}.connect-card p{font-size:12px}}
@media(max-width:1200px){.sidebar{width:218px;padding:25px 15px 20px}.workspace{margin-right:218px}.sidebar>.brand{font-size:20px}.brand-mark{width:36px;height:36px}.nav-item{font-size:11px;padding:12px}.topbar{padding:0 28px}.main-content{padding:28px}.workspace-footer{padding:19px 28px}.stat-card{padding:17px}.stats-grid{gap:12px}.stat-top{font-size:10px}.stat-icon{width:31px;height:31px}.overview-grid{gap:18px;grid-template-columns:1.3fr 1fr}.start-panel,.connect-card{padding:23px}.quick-action{padding:14px 12px;gap:11px}.quick-action small{font-size:9px}.connect-card h2{font-size:21px}.connect-symbol{left:20px;top:23px;width:36px;height:36px}.import-layout{grid-template-columns:minmax(0,1.7fr) minmax(215px,1fr);gap:24px}.import-panel{padding:23px}.content-table td,.content-table th{padding-left:17px;padding-right:17px}}
@media(max-width:990px){.overview-grid{grid-template-columns:1fr}.connect-card{display:block;padding:24px 27px}.connect-card h2 br{display:none}.connect-card p{max-width:100%}.connect-card .button{margin-top:17px}.connect-card>small{margin-top:17px}.connect-card h2{font-size:21px;max-width:calc(100% - 50px)}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-top{font-size:11px;margin-bottom:9px}.stat-card>strong{font-size:30px}.stat-caption{margin-top:6px}.import-layout{grid-template-columns:1fr}.import-guide{padding:5px 0;display:grid;grid-template-columns:1fr 1fr;column-gap:22px}.import-guide>h2{grid-column:1/-1;margin-bottom:18px}.guide-item{margin-bottom:8px}.hint-card{margin:17px 0;grid-column:1/-1}.import-guide>.text-button{grid-column:1/-1;justify-self:start}.login-story{padding:42px 35px}.login-story-copy h1{font-size:36px}.login-story-copy p{font-size:13px}.login-main{padding:35px}.login-screen{grid-template-columns:43% 57%}.credentials-header{align-items:flex-start}.credentials-header .button{font-size:10px}.mapping-row{flex-direction:column;align-items:flex-start;gap:4px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;width:100%;padding:17px 18px 0;display:block}.sidebar>.brand{padding:0 3px 17px;font-size:20px}.brand b{font-size:16px}.brand-mark{width:33px;height:33px;border-radius:10px}.brand-mark svg{width:22px;height:22px}.sidebar-caption,.sidebar-bottom,.nav-divider{display:none}.main-nav{flex-direction:row;overflow-x:auto;gap:4px;margin:0 -18px;padding:0 18px 12px;scrollbar-width:thin;scrollbar-color:#48626a transparent}.nav-item{width:auto;white-space:nowrap;flex-shrink:0;padding:9px 12px;font-size:10px;gap:8px}.nav-item svg{width:16px;height:16px}.nav-item.active{box-shadow:none}.workspace{margin-right:0}.topbar{height:58px;padding:0 22px}.breadcrumb{font-size:10px;gap:8px}.topbar-actions{gap:8px}.server-status{font-size:9px}.topbar .icon-button{width:29px;height:29px}.main-content{padding:23px 20px}.page-heading{margin-bottom:22px;align-items:flex-start;gap:12px}.page-heading h1{font-size:23px}.page-heading p{font-size:10px;line-height:1.9;max-width:350px}.page-heading .eyebrow{font-size:9px}.page-heading>.button{padding:8px 11px;min-height:37px;font-size:10px;margin-top:18px}.page-heading>.button svg{width:15px;height:15px}.stat-card{padding:17px 19px}.stats-grid{gap:12px;margin-bottom:20px}.overview-grid{gap:20px}.start-panel{padding:23px}.connect-card{padding:24px}.section-title h2{font-size:15px}.quick-action strong{font-size:12px}.quick-action small{font-size:10px}.quick-action{padding:16px}.subtle-note{font-size:9px;line-height:1.9;align-items:flex-start;justify-content:flex-start;margin-top:20px}.subtle-note svg{margin-top:3px}.workspace-footer{padding:13px 22px 20px}.catalog-toolbar{padding:15px;gap:12px}.search-field{max-width:none;width:auto;flex:1}.catalog-summary{font-size:9px;gap:4px}.catalog-summary .summary-divider{display:none}.catalog-summary .text-button{display:none}.search-field input{font-size:10px!important;min-height:38px!important}.content-table{min-width:630px}.empty-state{padding:55px 20px}.empty-state h2{font-size:16px}.empty-state p{font-size:10px}.import-panel{padding:23px 20px}.form-grid{gap:13px}.import-guide{padding:0 2px}.settings-panel{padding:22px 20px}.settings-panel .section-title{margin-bottom:16px}.with-badge{gap:7px}.with-badge .badge{font-size:8px;padding:3px 7px}.setting-intro{font-size:10px}.inline-form{gap:9px}.inline-form .button{font-size:10px;padding:10px;min-height:44px}.backup-panel{align-items:flex-start;flex-direction:column;gap:14px}.backup-panel .button{font-size:10px}.login-screen{display:flex;flex-direction:column}.login-story{padding:27px 30px}.login-story-copy{padding:26px 0 5px}.login-story-copy h1{font-size:29px;line-height:1.5;margin:9px 0 12px}.login-story-copy h1 br{display:none}.login-story-copy p{font-size:12px;max-width:100%}.story-tags,.story-footer{display:none}.login-story:after{left:-170px;bottom:-240px}.login-main{flex:1;padding:35px 25px 45px;align-items:flex-start}.login-card{max-width:420px}.login-icon{display:none}.login-card h2{font-size:25px}.login-card>.muted{font-size:12px;margin-bottom:24px}.toast{bottom:19px;left:20px;font-size:11px}.item-dialog{max-height:calc(100dvh - 26px);max-width:calc(100vw - 20px);border-radius:14px}.dialog-header{padding:19px 21px 17px}.dialog-body{padding:22px 21px 10px}.dialog-footer{padding:16px 21px}.dialog-header h2{font-size:19px}}
@media(max-width:430px){.main-content{padding:21px 15px}.topbar{padding:0 17px}.sidebar{padding-right:15px;padding-left:15px}.main-nav{margin:0 -15px;padding-right:15px;padding-left:15px}.page-heading h1{font-size:21px}.page-heading>.button{font-size:9px;padding:8px 10px}.page-heading p{max-width:230px}.stat-card{padding:16px}.stat-top{font-size:10px}.stat-icon{width:28px;height:28px;border-radius:8px}.stat-icon svg{width:16px;height:16px}.stat-card>strong{font-size:28px}.stat-caption{font-size:9px}.quick-action{padding:14px 12px}.quick-action small{font-size:9px}.quick-icon{width:37px;height:37px}.start-panel,.connect-card{padding:21px}.section-title h2{font-size:14px}.import-guide{grid-template-columns:1fr}.guide-item{margin-bottom:17px}.hint-card{margin-top:4px}.form-grid{grid-template-columns:1fr;gap:0}.dialog-body .form-grid .field{margin-bottom:17px}.dialog-body #episode-fields .form-grid{grid-template-columns:1fr 1fr;gap:12px}.credentials-header{flex-direction:column;gap:11px}.with-badge .badge{margin-right:28px}.inline-form{flex-direction:column}.inline-form input{width:100%}.inline-form .button{align-self:flex-start;min-height:36px}.settings-panel{padding:21px 18px}.link-block strong{font-size:11px}.copy-field input{font-size:9px!important}.credentials>div{align-items:flex-start;gap:9px}.credentials>div>span{width:70px}.credentials code{font-size:10px}.login-story-copy h1{font-size:26px}}
.mobile-only{display:none}.details-body>.button{margin-top:14px}.setup-card{max-width:390px}.setup-card h2{font-size:26px}.setup-card>.muted{font-size:12px;margin-bottom:20px}.setup-card .login-icon{margin-bottom:16px}.setup-card .form-hint{margin-top:5px}.setup-card .login-help{margin-top:20px;padding-top:18px}.setup-card .button{margin-top:21px}.import-errors{margin:10px 0 0;padding-right:18px;font-size:10px}
@media(max-width:760px){.mobile-only{display:inline-flex}.topbar-actions{gap:7px}.server-status{max-width:112px;line-height:1.5}.breadcrumb{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Remote application settings */
.app-settings-state{padding:6px 13px;font-size:10px}.app-compatibility-note{display:flex;gap:10px;align-items:flex-start;border:1px solid #dce9e6;background:#edf6f3;color:#557d71;padding:14px 18px;border-radius:11px;margin-bottom:21px;font-size:11px;line-height:1.9}.app-compatibility-note>span{margin-top:2px;flex-shrink:0}.app-compatibility-note svg{width:17px;height:17px}.app-top-error{margin:0 0 20px}.app-retry{margin-bottom:20px}.app-settings-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#8b9aa2;font-size:10px;margin-bottom:19px}.meta-separator{width:3px;height:3px;background:#b8c5ca;border-radius:50%}.app-settings-meta>span:last-child:not(:first-child){margin-right:auto}.app-settings-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(250px,1fr);gap:23px;align-items:start}.app-settings-sections{display:flex;flex-direction:column;gap:20px;min-width:0}.app-config-card{padding:24px}.app-card-heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:23px}.app-card-heading .section-title{margin:0;align-items:flex-start;gap:12px}.app-section-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex-shrink:0}.app-section-icon svg{width:20px;height:20px}.app-card-heading h2{font-size:15px}.app-card-heading .section-title p{color:#91a0a8;font-size:10px;margin-top:3px;line-height:1.8}.app-section-switch{margin-top:8px;cursor:pointer}.app-fields{padding:0;margin:0;border:0;min-width:0;transition:opacity .15s}.app-fields:disabled{opacity:.5}.app-fields:disabled input,.app-fields:disabled textarea{background:#fafcfc}.app-fields .field{margin-bottom:17px}.app-fields>.field:last-child{margin-bottom:0}.app-fields .form-grid{gap:14px}.app-fields>.form-grid:last-child .field{margin-bottom:0}.app-config-card .field>label,.app-config-card .field-label-row>label:first-child{font-size:11px}.app-config-card input:not([type=checkbox]):not([type=file]),.app-config-card textarea{font-size:12px}.app-version-hint{margin-top:-7px;margin-bottom:19px}.app-check-link{margin-top:10px;font-size:10px}.app-check-link svg{width:14px;height:14px}.app-force-row{margin:0;padding-top:16px;padding-bottom:0}.app-force-row strong{font-size:11px}.app-force-row small{font-size:9px}.app-force-options{margin-top:19px;padding:17px;background:#fffcf6;border:1px solid #efe4ca;border-radius:10px}.app-force-options .field{margin-bottom:13px}.app-force-options input[type=number]{background:#fff;max-width:190px}.app-force-warning{display:flex;align-items:flex-start;gap:8px;font-size:10px;color:#9b7540;line-height:1.9}.app-force-warning>span{margin-top:2px;flex-shrink:0}.app-force-warning svg{width:16px;height:16px}.app-acknowledgement{display:flex;gap:8px;align-items:flex-start;font-size:10px;font-weight:500;line-height:1.9;color:#886b41;margin-top:15px;padding-top:13px;border-top:1px solid #eee0c4;cursor:pointer}.app-acknowledgement input,.checkbox-row input{margin:4px 0 0;accent-color:var(--teal);width:14px;height:14px;flex-shrink:0}.checkbox-row{display:flex;align-items:flex-start;gap:8px;font-size:11px;font-weight:400;color:#6b808a;cursor:pointer}.app-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.app-feature-row{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid #e5eeeb;background:#fcfefd;border-radius:9px;cursor:pointer;min-width:0;font-weight:400}.app-feature-row>span:first-child{color:#90aaa1;flex-shrink:0}.app-feature-row>span:nth-child(2){font-size:10px;color:#627e74}.app-feature-row>span:first-child svg{width:17px;height:17px}.app-feature-row .switch{margin-right:auto;width:31px;height:18px}.app-feature-row .switch-track:before{width:12px;height:12px}.app-feature-row .switch input:checked+.switch-track:before{transform:translateX(13px)}.app-feature-note{margin-top:14px}.app-settings-preview{position:sticky;top:24px;min-width:0}.app-preview-card{padding:23px 21px;overflow:hidden}.app-preview-card .section-title{margin-bottom:5px}.app-preview-card h2{font-size:14px}.app-preview-caption{font-size:10px;color:#93a3aa;margin-bottom:25px}.app-preview-brand{display:flex;align-items:center;justify-content:center;gap:9px;border-bottom:1px solid #edf1f2;padding-bottom:23px;margin-bottom:19px}.app-preview-brand .brand-mark{background:#e9f4ef;color:#448d79;width:32px;height:32px;border-radius:9px}.app-preview-brand .brand-mark svg{width:21px;height:21px}.app-preview-brand>strong{font-size:18px;letter-spacing:-.5px;color:#38564f}.app-preview-brand b{color:var(--teal);font-size:14px}.app-preview-features{display:flex;flex-wrap:wrap;gap:7px;justify-content:center}.app-preview-feature{display:flex;align-items:center;gap:5px;border:1px solid #e3ebe8;padding:5px 7px;border-radius:6px;background:#f9fcfa;font-size:9px;color:#769186}.app-preview-feature svg{width:12px;height:12px}.app-preview-empty{color:#9ba8ae;font-size:10px;padding:7px 0}.app-preview-telegram{display:flex;align-items:center;justify-content:center;gap:7px;color:#5e8a9d;background:#edf5f9;border:1px solid #deedf4;border-radius:7px;font-size:10px;padding:9px;margin-top:16px;overflow-wrap:anywhere}.app-preview-telegram svg{width:14px;height:14px}.app-preview-message{border:1px solid #e6e1ee;background:#faf8fd;border-radius:9px;padding:14px;margin-top:16px;color:#7b6f92}.preview-kicker{font-size:8px;color:#ad9dc0;display:block;margin-bottom:5px}.app-preview-message strong{display:block;font-size:11px;font-weight:600;overflow-wrap:anywhere}.app-preview-message p{font-size:10px;line-height:1.9;margin-top:6px;overflow-wrap:anywhere;white-space:pre-line}.app-preview-message>span:last-child:not(.preview-kicker){font-size:9px;display:block;margin-top:10px;color:#9b8bab}.app-preview-update{border:1px solid #dce9ed;background:#f4f9fb;border-radius:9px;padding:14px;margin-top:16px;color:#6f8998}.app-preview-update>div{display:flex;align-items:center;gap:7px}.app-preview-update>div svg{width:14px;height:14px}.app-preview-update strong{font-size:11px;font-weight:550;overflow-wrap:anywhere}.app-preview-update p{font-size:10px;line-height:1.9;margin-top:7px;overflow-wrap:anywhere;white-space:pre-line}.app-preview-update small{font-size:9px;display:block;margin-top:9px;color:#95aab5}.app-preview-maintenance{border:1px solid #ead8ba;background:#fdf7ec;color:#a38251;border-radius:9px;padding:14px;margin-bottom:22px}.app-preview-maintenance>span{display:inline-flex;vertical-align:middle;margin-left:4px}.app-preview-maintenance>span svg{width:15px;height:15px}.app-preview-maintenance strong{font-size:11px}.app-preview-maintenance p{font-size:10px;line-height:1.9;margin-top:7px;overflow-wrap:anywhere;white-space:pre-line}.app-preview-footnote{border-top:1px solid #edf1f2;margin-top:23px;padding-top:14px;text-align:center;font-size:9px}.app-help-card{display:flex;align-items:flex-start;gap:10px;padding:20px 9px;color:#7b928c}.app-help-card>span{flex-shrink:0;margin-top:2px;color:#6c9c8b}.app-help-card svg{width:17px;height:17px}.app-help-card h3{font-size:10px;font-weight:550;margin-bottom:5px}.app-help-card p{font-size:9px;line-height:1.9;color:#97aaa2}.app-config-link{margin:0}.app-config-link summary{font-size:10px}.app-config-link .details-body{padding:13px}.app-config-link input{font-size:9px!important}.app-config-link .form-hint{font-size:9px}.app-savebar{position:sticky;bottom:15px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#ffffffed;backdrop-filter:blur(10px);border:1px solid #dfe9e5;border-radius:13px;padding:17px 22px;margin-top:25px;box-shadow:0 8px 35px #183e3412}.app-savebar>div:first-child{display:flex;flex-direction:column;gap:3px}.app-savebar strong{font-size:11px;font-weight:550;color:#526e62}.app-savebar>div>span{font-size:9px;color:#94a69b}.app-savebar-actions{display:flex;gap:9px}.app-savebar .button{font-size:11px;min-height:39px}.app-savebar .button svg{width:15px;height:15px}
@media(max-width:1300px){.app-settings-layout{grid-template-columns:minmax(0,1.8fr) minmax(235px,1fr);gap:18px}.app-config-card{padding:21px}.app-preview-card{padding:21px 17px}.app-feature-grid{gap:8px}.app-feature-row{padding:11px 9px;gap:7px}.app-feature-row>span:nth-child(2){font-size:9px}.app-card-heading .section-title{gap:10px}.app-card-heading h2{font-size:14px}.app-section-icon{width:34px;height:34px;border-radius:10px}}
@media(max-width:1100px){.app-settings-layout{grid-template-columns:minmax(0,1fr)}.app-settings-preview{position:static;display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:16px}.app-preview-card{grid-row:span 2}.app-help-card{padding:17px 8px}.app-config-link{align-self:start}.app-preview-caption{margin-bottom:20px}.app-settings-meta>span:last-child:not(:first-child){margin-right:0}.app-config-card .field>label,.app-config-card .field-label-row>label:first-child{font-size:12px}.app-feature-row>span:nth-child(2){font-size:11px}.app-feature-row{padding:14px}.app-savebar{padding:16px 18px}.app-savebar-actions .button{font-size:10px;padding:9px 12px}}
@media(max-width:760px){.app-settings-state{font-size:8px;padding:5px 9px;margin-top:18px}.app-compatibility-note{font-size:10px;padding:13px 15px;gap:8px}.app-compatibility-note svg{width:15px;height:15px}.app-settings-meta{font-size:9px;gap:7px;line-height:1.9}.app-settings-meta>span:last-child:not(:first-child){flex-basis:100%;margin-right:0}.app-config-card{padding:21px}.app-card-heading{margin-bottom:21px}.app-card-heading h2{font-size:14px}.app-card-heading .section-title p{font-size:9px}.app-fields .form-grid{gap:13px}.app-config-card .field>label,.app-config-card .field-label-row>label:first-child{font-size:11px}.app-preview-card{padding:21px}.app-settings-preview{display:block}.app-help-card{padding:20px 6px}.app-help-card p{font-size:10px}.app-savebar{position:static;flex-direction:column;align-items:stretch;gap:13px;margin-top:21px;padding:17px}.app-savebar-actions{justify-content:flex-end}.app-savebar-actions .button{flex:1;max-width:220px;font-size:10px;min-height:40px}.app-force-options{padding:14px}.app-acknowledgement{font-size:9px}.app-force-warning{font-size:9px}.app-feature-row>span:nth-child(2){font-size:10px}.app-feature-row{padding:12px}.app-fields .upload-video{font-size:9px}}
@media(max-width:430px){.app-config-card{padding:19px 17px}.app-fields .form-grid{grid-template-columns:1fr;gap:0}.app-settings-state{font-size:8px}.app-settings-meta{font-size:8px}.app-force-row small{font-size:8px}.app-feature-grid{grid-template-columns:1fr 1fr;gap:8px}.app-feature-row{gap:6px;padding:11px 8px}.app-feature-row>span:nth-child(2){font-size:9px}.app-feature-row>span:first-child svg{width:14px;height:14px}.app-feature-row .switch{width:28px;height:17px}.app-feature-row .switch-track:before{height:11px;width:11px}.app-feature-row .switch input:checked+.switch-track:before{transform:translateX(11px)}.app-savebar .button{font-size:9px;gap:5px;padding:9px}.app-savebar .button svg{width:13px;height:13px}.app-card-heading .section-title p{max-width:180px}.app-force-options .field>label{font-size:10px}}
