*{box-sizing:border-box}body{margin:0;background:#f7f7f5;color:#242930;font:14px/1.5 "Segoe UI",system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:wait}a{color:inherit}.boot{padding:80px;text-align:center}.shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#20262b;color:#bac0c4;display:flex;flex-direction:column;padding:28px 20px}.brand{display:flex;gap:12px;align-items:center;color:white;font-size:22px;font-weight:700;letter-spacing:-.8px;text-decoration:none}.brandmark{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:12px;background:#d4ae74;color:#20262b;font-size:20px}.brand small{display:block;font-size:10px;letter-spacing:2px;text-transform:uppercase;font-weight:400;color:#a6acb0}.tenant-label{margin:42px 14px 10px;text-transform:uppercase;font-size:10px;letter-spacing:1.8px;color:#7f8b93}.nav{display:flex;flex-direction:column;gap:7px}.nav a{padding:12px 14px;text-decoration:none;border-radius:9px;display:flex;gap:12px;align-items:center;font-weight:500}.nav a.active{color:#f2d4a6;background:#343c42}.nav a:hover{background:#2b3339}.nav svg,.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebottom{margin-top:auto;border-top:1px solid #3a4248;padding:20px 10px 0;font-size:12px}.avatar{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#4c5964;color:#fff;font-weight:600;margin-right:8px}.sidebottom strong{color:#e8edef;display:block;overflow:hidden;text-overflow:ellipsis}.sidebottom .accountrow{display:flex;align-items:center;margin-bottom:12px}.sidebottom p{margin:0;color:#8c979f}.logout{border:0;color:#b7c1c8;background:transparent;padding:8px 0}.main{min-width:0;padding:32px 42px 60px}.topbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e7e6;padding-bottom:22px;margin-bottom:32px;color:#7c858a;font-size:12px}.serverchip{display:flex;align-items:center;gap:7px}.dot{width:7px;height:7px;border-radius:50%;background:#3c9571}.heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}h1{font-size:31px;font-weight:650;letter-spacing:-1.1px;line-height:1.25;margin:0 0 8px}h2{font-size:19px;letter-spacing:-.4px;margin:0 0 12px}h3{font-size:15px;margin:0 0 12px}p.muted,.muted{color:#81888d}.heading p{margin:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 17px;background:#fff;border:1px solid #dce0e2;border-radius:8px;color:#333b42;font-weight:600;text-decoration:none}.btn:hover{background:#f2f3f2}.btn.primary{background:#8a623a;color:white;border-color:#8a623a}.btn.primary:hover{background:#75502d}.btn.danger{color:#bc4148;border-color:#edcdd0}.btn.small{font-size:12px;padding:7px 10px;min-height:34px}.btn.link{border:0;background:transparent;color:#8a623a}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.stat{background:#fff;border:1px solid #e3e6e5;border-radius:11px;padding:20px 22px;display:flex;justify-content:space-between;gap:12px}.stat label{font-size:12px;color:#848b90}.stat strong{font-size:29px;display:block;margin-top:8px;line-height:1.1;font-weight:650;letter-spacing:-1px}.stat .stat-icon{background:#f3eee7;color:#9d754a;width:36px;height:36px;display:grid;place-items:center;border-radius:10px}.toolbar{display:flex;justify-content:space-between;gap:12px;margin:28px 0 18px}.search{position:relative;max-width:360px;flex:1}.search input{width:100%;padding-left:38px}.search svg{position:absolute;left:12px;top:12px;color:#90999d}input,select,textarea{border:1px solid #dce1e3;border-radius:7px;padding:11px 12px;background:#fff;color:#2d353b}input[type=checkbox]{accent-color:#8a623a;width:17px;height:17px}textarea{resize:vertical;min-height:85px}label.field{display:block;font-weight:550;font-size:13px;margin-bottom:17px}label.field input:not([type=checkbox]):not([type=color]),label.field textarea,label.field select{display:block;width:100%;margin-top:7px}label.field input[type=color]{margin-left:15px;width:60px;height:40px;vertical-align:middle;padding:4px}.check{display:flex;gap:10px;align-items:flex-start;padding:10px 0}.check span{flex:1}.check small{display:block;color:#7b868c;margin-top:3px;font-weight:400}.events{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:22px}.eventcard{background:white;border:1px solid #e2e5e4;border-radius:12px;overflow:hidden;transition:transform .15s,box-shadow .15s}.eventcard:hover{transform:translateY(-3px);box-shadow:0 10px 30px #3030300c}.eventcard>a{text-decoration:none;display:block}.cover{aspect-ratio:1.65;position:relative;background:linear-gradient(135deg,#e5e1da,#f3efea);display:grid;place-items:center;overflow:hidden}.cover img{width:100%;height:100%;object-fit:cover;position:absolute}.cover svg{width:56px;height:56px;stroke-width:1;color:#aa9c88}.cover .badge{position:absolute;left:14px;top:14px;z-index:1;background:#fffc;backdrop-filter:blur(5px)}.badge{display:inline-flex;align-items:center;gap:5px;background:#eff5f0;color:#45835a;border-radius:20px;padding:4px 9px;font-size:10px;font-weight:600;letter-spacing:.2px}.badge.off{background:#f1f2f3;color:#7c8791}.eventinfo{padding:18px 20px}.eventinfo h3{font-size:16px;margin:0 0 6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.eventinfo>p{font-size:12px;color:#8b9397;margin:0}.cardfooter{margin-top:18px;padding-top:13px;border-top:1px solid #f0f0ed;display:flex;justify-content:space-between;font-size:12px;color:#7c868c}.empty{padding:75px 22px;text-align:center;border:1px dashed #d8dcd9;border-radius:12px;background:#fff;grid-column:1/-1;color:#869198}.empty svg{width:52px;height:52px;stroke-width:1;color:#a49987;margin-bottom:15px}.empty h2{color:#505c64}.empty p{margin-bottom:22px}.breadcrumb{display:flex;gap:8px;margin-bottom:20px;font-size:12px;color:#879098}.breadcrumb a{text-decoration:none}.eventlayout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.panel{border:1px solid #e2e6e4;background:white;border-radius:11px;padding:22px;margin-bottom:20px}.panel p{color:#7e878c;font-size:12px}.linkbox{word-break:break-all;border:1px solid #e6e7e3;background:#f9f9f6;border-radius:7px;padding:10px;font-size:11px;margin:12px 0}.tabs{display:flex;gap:24px;border-bottom:1px solid #e0e4e2;margin-bottom:20px}.tab{padding:15px 2px;background:none;border:0;border-bottom:2px solid transparent;color:#8b9399;font-weight:550}.tab.active{border-bottom-color:#8a623a;color:#8a623a}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:15px}.media{border:1px solid #e2e4e4;border-radius:9px;overflow:hidden;background:white;position:relative}.media button.preview{padding:0;border:0;display:block;width:100%;background:#efefeb;aspect-ratio:1;cursor:zoom-in}.media img,.media video{width:100%;height:100%;object-fit:contain}.media .selector{position:absolute;left:10px;top:10px;z-index:1;width:19px;height:19px;cursor:pointer}.media.selected{outline:2px solid #a87943}.mediainfo{display:flex;justify-content:space-between;padding:9px 11px;font-size:10px;color:#7d888e}.uploadzone{background:#f5f2ec;border:1px dashed #d6c9b7;padding:18px 20px;margin-bottom:18px;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:15px}.uploadzone strong{display:block;font-size:13px}.uploadzone small{color:#8f8c83}.uploadstatus{padding:12px;background:#edf4f1;border-radius:8px;margin-bottom:16px;white-space:pre-wrap;overflow-wrap:anywhere}.pager{display:flex;align-items:center;justify-content:center;gap:20px;margin:25px 0}.design-preview{border-radius:8px;background:#f2efea;padding:20px;margin-bottom:16px}.design-preview img{max-width:100%;max-height:180px;object-fit:contain}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:22px}.error{padding:12px 15px;border-radius:8px;background:#fff1f1;color:#b33441;margin:14px 0}.ok{color:#3c8662}.tablewrap{overflow:auto;background:white;border-radius:11px;border:1px solid #e1e6e2}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{padding:14px 20px;background:#fafaf8;color:#8b949a;font-size:11px;text-transform:uppercase;font-weight:500;letter-spacing:.5px}td{padding:18px 20px;border-top:1px solid #edf0ed;font-size:13px}td small{display:block;color:#98a1a5;font-size:11px}.login{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-story{background:#252d32;color:white;padding:8vh 8vw;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;width:650px;height:650px;border:1px solid #e4c49520;border-radius:50%;bottom:-350px;right:-180px;box-shadow:0 0 0 90px #e4c49507,0 0 0 180px #e4c49505;pointer-events:none}.login-story h1{font-size:clamp(38px,4vw,61px);font-weight:500;letter-spacing:-2px;margin:65px 0 24px;line-height:1.16;max-width:600px}.login-story em{color:#dbba8a;font-style:normal}.login-story p{color:#aab5bc;max-width:420px;font-size:15px;line-height:1.8}.login-story footer{color:#8a969c;font-size:11px;letter-spacing:1px}.login-form{display:flex;align-items:center;justify-content:center;padding:40px}.login-form>div{max-width:380px;width:100%}.eyebrow{font-size:10px;color:#a17b4f;letter-spacing:2px;text-transform:uppercase;margin-bottom:20px}.login-form h2{font-size:29px;font-weight:600;letter-spacing:-.8px;margin-bottom:10px}.login-form p{color:#92999d;margin-bottom:30px}.login-form .btn{width:100%;margin-top:12px}.login-note{font-size:11px;color:#a5aaad;margin-top:28px;text-align:center}dialog{border:0;border-radius:15px;padding:28px;width:min(92vw,520px);max-height:90vh;overflow:auto;box-shadow:0 20px 90px #0004;color:#293239}dialog::backdrop{background:#17202799;backdrop-filter:blur(3px)}dialog .dialoghead{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}dialog .dialoghead h2{margin:0}dialog .close{background:transparent;border:0;font-size:24px;color:#879198;padding:0 6px}dialog.preview-dialog{width:min(95vw,1000px);background:#20262b;color:white}dialog .preview-img,dialog .preview-video{display:block;width:100%;max-height:70vh;object-fit:contain}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:20;padding:13px 22px;background:#232e34;color:white;border-radius:9px;box-shadow:0 5px 25px #0002;max-width:90vw;display:none}#toast.visible{display:block}.footnote{font-size:11px;color:#97a1a6;margin-top:24px}.mobilebrand{display:none}.skeleton{padding:70px;text-align:center;color:#839098}.hidden{display:none!important}
@media(min-width:1700px){.main{padding:36px 60px}.events{grid-template-columns:repeat(auto-fill,minmax(285px,1fr))}.media-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}}@media(max-width:1100px){.main{padding:25px}.eventlayout{grid-template-columns:1fr}.eventaside{display:grid;grid-template-columns:1fr 1fr;gap:18px}.sidebar{padding:24px 12px}.shell{grid-template-columns:210px 1fr}.stat{padding:17px 14px}.stat .stat-icon{display:none}}@media(max-width:760px){.shell{grid-template-columns:1fr}.sidebar{height:auto;position:relative;padding:18px}.sidebar .tenant-label,.sidebar .sidebottom{display:none}.sidebar .brand{font-size:19px}.sidebar .nav{flex-direction:row;flex-wrap:wrap;margin-top:20px;gap:0}.nav a{padding:9px 12px;font-size:12px}.main{padding:22px 18px}.topbar{margin-bottom:24px;padding-bottom:16px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat strong{font-size:25px}.heading{align-items:flex-start}h1{font-size:26px}.heading>.actions .btn{font-size:12px;padding:9px 11px}.events{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.eventaside,.twocol{grid-template-columns:1fr}.eventlayout{gap:4px}.login{grid-template-columns:1fr}.login-story{display:none}.login-form{min-height:100vh}.mobilebrand{display:flex;margin-bottom:45px;color:#252d32}.toolbar{flex-wrap:wrap}.uploadzone{flex-wrap:wrap}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.panel{padding:18px}table td,table th{padding:14px 12px}}

/* OneTouch supplied logos 1.4.6 */
.brand{padding:10px 12px;background:#fff8ec;border-radius:12px;width:100%;max-width:360px;box-sizing:border-box}.brand-logo{display:block;width:100%;height:auto;max-height:110px;object-fit:contain}.sidebar .brand{padding:9px 10px}.login-form .brand{max-width:320px}

.template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:22px}.template-card{background:white;border:1px solid #e2e5e4;border-radius:12px;overflow:hidden}.template-cover{height:290px;background:#eae8e3;display:grid;place-items:center;padding:14px}.template-cover img{width:100%;height:100%;object-fit:contain;min-height:0}.template-info{padding:18px}.template-info h2{font-size:17px;overflow-wrap:anywhere}.template-info p{font-size:12px;color:#81888d}.template-info .actions{margin-top:16px}.template-filters{justify-content:flex-start;flex-wrap:wrap}.template-filters input{min-width:200px;flex:1}

/* Image frame authoring shares the existing upload dialog and design tokens. */
/* Template upload: scoped settings and per-file progress. */
.template-settings{padding:20px;margin:18px 0;background:#faf9f6;border:1px solid #e5e0d9;border-radius:12px}
.template-settings h3{font-size:15px;margin-bottom:18px}.template-settings .field:last-child{margin-bottom:0}
.template-settings select{min-height:46px;white-space:normal;font-size:14px}
.template-settings .footnote{margin:12px 0 0;line-height:1.6;color:#6e767b}
.scope-choices{border:0;margin:0 0 18px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0}
.scope-choices legend{font-size:13px;font-weight:550;margin-bottom:9px}
.scope-choices label{display:flex;gap:10px;padding:14px;border:1px solid #ddd8d1;border-radius:10px;background:white;cursor:pointer;min-width:0}
.scope-choices label:has(input:checked){border-color:#8a623a;background:#fff8ee;box-shadow:0 0 0 1px #8a623a}
.scope-choices input{accent-color:#8a623a;margin:3px 0 0;flex-shrink:0}
.scope-choices strong{display:block;font-size:14px}.scope-choices small{display:block;font-size:12px;color:#747a7e;line-height:1.6;margin-top:5px}
dialog.batch-template-dialog{width:min(94vw,960px)}
.batch-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:10px;margin:16px 0;max-height:360px;overflow:auto;padding:2px}
.batch-item{border:1px solid #e2e1db;border-radius:10px;padding:14px;min-width:0;background:#faf9f7}
.batch-item.selected{border-color:#b79670;background:#fffbf6}.batch-item-heading{display:flex;align-items:flex-start;gap:10px;justify-content:space-between;margin-bottom:10px}
.batch-item-heading strong{font-size:13px;overflow-wrap:anywhere;min-width:0}.batch-item .badge{max-width:65%;overflow-wrap:anywhere;display:block;flex-shrink:0}
.batch-item .field{margin:12px 0}.batch-item small{color:#737c82}.batch-summary{font-weight:600;color:#77512b}
.batch-footer{position:sticky;bottom:-28px;background:white;padding:16px 0;margin-top:18px;border-top:1px solid #e6e0d8;z-index:2}
.template-upload-form .formerror:empty{display:none}.template-upload-form [type=file]{min-height:48px}
.btn:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:600px){.scope-choices{grid-template-columns:1fr}.template-settings{padding:16px}.batch-item-heading{flex-direction:column}.batch-item .badge{max-width:100%}.batch-footer .btn{flex:1;min-height:46px}.template-settings select{font-size:16px}}
dialog:has(#image-template-editor:not(.hidden)){width:min(94vw,960px)}.image-template-canvas{display:block;max-width:100%;max-height:60vh;width:auto;height:auto;margin:16px auto;touch-action:none;background:repeating-conic-gradient(#e7e7e3 0% 25%,#fff 0% 50%) 50% / 20px 20px;border:1px solid #dce1e3;border-radius:6px}.image-editor-count{font-weight:600}.image-editor-status{color:#7b5932}.image-editor-tools{gap:6px}

.formerror:empty{display:none}

.event-delete{margin:0 18px 16px}.eventcard>a{display:block}
