:root{--red:#dc172c;--ink:#1e2024;--muted:#7c7e85}*{box-sizing:border-box}body{margin:0;background:#f3f4f7;color:var(--ink);font:14px/1.7 Arial,Tahoma,sans-serif}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid #d8dce4;background:white;border-radius:7px;padding:8px 14px;color:var(--ink)}button:hover{background:#f5f5f8}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}.topbar{position:sticky;top:0;z-index:20;background:#101114;color:white;min-height:78px;padding:15px 26px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand-admin{display:flex;flex-direction:column;line-height:1.6}.brand-admin b{font-size:18px}.brand-admin span{font-size:11px;color:#a9aab3}.top-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.top-actions a{font-size:12px;padding:8px}.top-actions button{font-size:12px}.primary,.top-actions .primary{background:var(--red);color:white;border-color:var(--red)}.primary:hover{background:#bb1023}.statusbar{position:sticky;top:78px;z-index:15;background:#fff;border-bottom:1px solid #e4e5eb;padding:10px 26px;display:flex;gap:20px;align-items:center;justify-content:space-between;font-size:12px;min-height:44px}.statusbar span:first-child{color:#6e717b}.statusbar .error{color:#c5172b!important}.layout{display:grid;grid-template-columns:185px minmax(360px,1fr) minmax(360px,44%);align-items:start;min-height:calc(100vh - 125px)}.sidebar{position:sticky;top:124px;padding:24px 15px;height:calc(100vh - 124px);background:#fff;border-left:1px solid #e5e6ec;display:flex;flex-direction:column;gap:7px}.sidebar>button{text-align:right;border:0;padding:11px 14px;color:#6e707a;background:transparent}.sidebar>button.active{background:#fff0f2;color:#c8162a;font-weight:700}.sidebar .sidebar-bottom{margin-top:auto;border-top:1px solid #ececf2;padding-top:18px;display:flex;flex-direction:column;gap:10px;font-size:11px;color:#898b93;overflow-wrap:anywhere}.sidebar-bottom button{font-size:10px;padding:7px 8px}.editor{padding:30px;max-width:900px;width:100%;margin:auto}h2{font-size:23px;margin:0 0 12px}h3{font-size:15px;margin:0 0 13px}.hint{font-size:12px;color:var(--muted);line-height:1.8;margin:0 0 23px}label{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}label>span{font-size:12px;color:#777b85}input,textarea,select{width:100%;padding:10px 12px;border:1px solid #d6dae3;border-radius:6px;background:#fff;color:#20222a;font-size:13px}textarea{resize:vertical;min-height:90px}input:focus,textarea:focus,select:focus{outline:2px solid #dc172c44;border-color:#dc172c}input[type=checkbox]{width:16px;height:16px;accent-color:var(--red);margin:0}input[type=color]{width:50px;height:37px;padding:3px}button:focus-visible,a:focus-visible{outline:3px solid #dc172c77;outline-offset:3px}.section-list{display:flex;flex-direction:column;gap:10px}.section-row{background:white;border:1px solid #e1e3ea;padding:15px;border-radius:8px;display:flex;flex-direction:column;gap:12px}.visibility{display:flex;flex-direction:row;align-items:center;gap:9px;margin:0}.visibility span{color:#30333b;font-size:14px}.small-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.small-actions button{font-size:10px;padding:5px 10px}.danger{color:#cf192d}.new-section{margin-top:26px;padding:22px;background:#e9ebf1;border-radius:8px}.new-section select{margin-bottom:12px}.new-section button{width:100%}.text-pair{padding:23px;background:white;border:1px solid #e3e5ed;border-radius:8px;margin-top:16px}.text-pair h3{font-size:12px;color:#767984;font-weight:400;border-bottom:1px solid #eceef3;padding-bottom:12px}.two-fields{display:grid;grid-template-columns:1fr;gap:3px}.check{flex-direction:row;align-items:center;gap:9px;font-size:11px;color:#858792;margin-bottom:0}.asset-card{background:#fff;border:1px solid #e1e4ec;padding:22px;border-radius:8px;margin-bottom:18px}.asset-card img{display:block;width:100%;height:180px;object-fit:contain;background:#eeeff2;border-radius:5px;margin-bottom:15px}.upload-button{display:inline-flex;align-items:center;justify-content:center;width:fit-content;padding:7px 13px;background:#252830;color:#fff;border-radius:6px;font-size:11px;cursor:pointer;margin:0}.upload-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.photo-row{background:white;border:1px solid #e1e3eb;border-radius:8px;padding:17px;margin-bottom:15px;display:grid;grid-template-columns:95px 1fr;gap:15px}.photo-row>img{width:95px;height:130px;object-fit:cover;border-radius:5px;background:#eceef2}.photo-fields label{margin-bottom:10px}.photo-fields input{padding:7px 9px;font-size:12px}.photo-fields label>span{font-size:10px}.space{margin-top:32px}.color-row{display:flex;flex-direction:row;align-items:center;gap:18px;background:#fff;padding:15px 18px;border:1px solid #e1e3eb;border-radius:8px}.color-row>span{margin-inline-end:auto}.color-row code{font-size:11px;color:#85858e}.preview-pane{position:sticky;top:124px;height:calc(100vh - 124px);padding:20px;border-right:1px solid #e1e3ec;background:#e6e8ef;display:flex;flex-direction:column;gap:12px}.preview-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#737783}.preview-head a{font-size:11px;text-decoration:underline}iframe{display:block;width:100%;flex:1;min-height:0;border:0;background:white;border-radius:8px;box-shadow:0 5px 25px #17172414}.busy .upload-button{pointer-events:none;opacity:.5}.mobile-preview{display:none}.show-preview .preview-pane{display:flex}.account{direction:ltr;text-align:right}.login{max-width:500px;background:white;border:1px solid #e4e5eb;margin:15vh auto;padding:35px;border-radius:12px;text-align:center}.login a{display:inline-block;padding:11px 20px;background:#dc172c;color:white;border-radius:7px}@media(max-width:1200px){.layout{grid-template-columns:165px minmax(330px,1fr) 36%}.editor{padding:23px}.preview-pane{padding:13px}}@media(max-width:960px){.layout{grid-template-columns:155px 1fr}.preview-pane{display:none;position:fixed;inset:126px 12px 12px;z-index:14;height:auto;border-radius:10px}.mobile-preview{display:inline-block}.editor{max-width:700px}}@media(max-width:600px){.topbar{padding:12px 15px;min-height:114px;align-items:flex-start;flex-direction:column;gap:10px}.brand-admin b{font-size:16px}.brand-admin span{font-size:10px}.top-actions{gap:6px}.top-actions button{font-size:11px;padding:7px 11px}.top-actions a{font-size:10px}.statusbar{top:114px;padding:10px 15px;gap:10px;font-size:10px;min-height:48px}.layout{display:block}.sidebar{position:sticky;top:162px;z-index:10;height:auto;padding:9px 10px;display:flex;flex-direction:row;overflow:auto;gap:4px;border-bottom:1px solid #dedfea}.sidebar>button{white-space:nowrap;padding:8px 11px;font-size:11px}.sidebar-bottom{display:none!important}.editor{padding:22px 16px 50px}.preview-pane{inset:170px 7px 7px}.section-row{padding:13px}.photo-row{grid-template-columns:65px 1fr;padding:12px;gap:10px}.photo-row>img{width:65px;height:100px}.text-pair{padding:18px}.login{margin:12vh 20px}h2{font-size:21px}}

.login form{display:grid;gap:12px;text-align:right}.login form button{background:#153c73;color:#fff;padding:12px}.login .error{color:#b00020}.login p{line-height:1.9}.login h1{font-size:24px}
