/* One operations shell; business panels share the same visual language. */
:root{--line:#e5e8e1;--green:#2f493e;--muted:#788178}body{background:#f5f6f2;color:#2d3c34}.layout{grid-template-columns:244px minmax(0,1fr)}.sidebar{padding:28px 18px;background:#243d33}.sidebar>.nav-label{display:none}.sidebar .brand{margin-bottom:28px}.nav{gap:19px}.nav-group{display:grid;gap:4px}.nav-group .nav-label{margin:0 0 5px 14px;font-size:11px;letter-spacing:1px;color:#a4b6aa}.nav button{min-height:43px;padding:10px 14px;font-size:13px}.nav button.active{background:#edf2e9;color:#294a38}.sidebar-foot{position:static;margin-top:28px}.page-head h1{font-size:27px}.main{padding:0 32px 28px}.welcome{background:linear-gradient(115deg,#eeeede,#f7f6ed);border-color:#e4e2d3}.welcome h2{font-size:25px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.overview-grid{grid-template-columns:1.05fr 1fr}.panel{box-shadow:0 2px 8px #273c2903}.task-list{display:grid}.task-list button{display:flex;align-items:center;gap:16px;width:100%;padding:16px 0;text-align:left;border:0;border-bottom:1px solid var(--line);background:none;color:#435548;cursor:pointer}.task-list button:last-child{border-bottom:0}.task-list button:hover{background:#f7f9f4}.task-list strong{font-size:14px;font-weight:500}.task-list small{display:block;font-size:12px;color:#8a9388;margin-top:5px}.task-list b{margin-left:auto;font-size:21px;font-weight:500;color:#99633e;font-variant-numeric:tabular-nums}.task-list .icon{width:17px;color:#9ca793}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick-grid .btn{justify-content:space-between;white-space:normal;text-align:left;min-height:65px;padding:14px;font-size:12px;background:#f8faf5}.quick-grid .icon{width:15px;flex-shrink:0}.filter-card{background:white;border:1px solid var(--line);border-radius:12px;padding:16px;margin-bottom:20px}.filter-card input{flex:1;min-width:180px;max-width:440px}.filter-card input,.filter-card select,.business-panel input,.business-panel select,#editor input,#editor select,#editor textarea{font:inherit;min-height:44px;border:1px solid #dce2d7;border-radius:8px;padding:10px 12px;background:#fff;color:#394b3e;max-width:100%;box-sizing:border-box}.business-panel button,.filter-card button,#editor button{font:inherit;font-size:13px;border:1px solid #dce2d7;border-radius:8px;min-height:42px;background:#fff;padding:10px 14px;color:#3b5643;cursor:pointer}.business-panel button:hover:not(:disabled),#editor button:hover:not(:disabled){background:#f1f5ed;border-color:#b1c3a8}.business-panel .primary,.filter-card .primary,#editor .primary{background:#2f493e;color:#fff;border-color:#2f493e}.business-panel .primary:hover:not(:disabled),#editor .primary:hover:not(:disabled){background:#203e2c;color:#fff}.business-panel section{border:1px solid var(--line);border-radius:12px;background:white;padding:24px;margin:0 0 24px;min-width:0}.business-panel h2{font-family:inherit;font-size:16px;font-weight:600;letter-spacing:0;margin:0 0 16px;color:#344b3c}.business-panel h3{font-size:14px}.business-panel p{line-height:1.85}.section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.section-head h2{margin:0}.business-panel small{display:block;font-size:11px;color:#8c9686;margin-top:6px;overflow-wrap:anywhere}.filters{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.filters input{flex:1;min-width:190px}.table-scroll{overflow:auto;max-width:100%;max-height:620px;border:1px solid var(--line);border-radius:9px;margin-top:18px;scrollbar-width:thin}.table-scroll table{width:100%;border-collapse:collapse}.table-scroll th{position:sticky;top:0;background:#f5f7f0;z-index:1}.table-scroll th,.table-scroll td{padding:14px;min-width:105px;vertical-align:middle;font-size:13px}.table-scroll td{max-width:280px;overflow-wrap:anywhere}.table-scroll td button{white-space:nowrap;margin:3px 5px 3px 0;min-height:38px;padding:8px 11px;font-size:12px}.table-scroll td:last-child{min-width:150px}.business-panel .badge,#editor .badge{display:inline-block;background:#edf3e7;color:#536c42;font-size:11px;padding:4px 9px;border-radius:6px;white-space:nowrap}.business-panel .badge.warning,#editor .badge.warning{background:#fcf0dc;color:#956332}.business-panel .empty{padding:42px 16px;background:#fbfcf8;border:1px dashed var(--line);border-radius:9px;font-size:13px;color:#8b9681;text-align:center}.business-panel .pagination{justify-content:flex-end;margin-top:18px}.qr{width:168px;height:168px;object-fit:contain;display:block;margin:18px 0}.muted{line-height:1.8}.business-panel .filter-card{margin-bottom:20px}.business-panel button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.table-scroll:focus-visible{outline:2px solid #81966f;outline-offset:3px}
#editor{color:#34473a;background:#fff;border:1px solid #dfe4d8;border-radius:16px;width:680px;max-width:calc(100vw - 28px);max-height:90dvh;padding:26px;overflow:auto;box-sizing:border-box;box-shadow:0 24px 90px #19291f33}#editor::backdrop{background:#172c245e;backdrop-filter:blur(2px)}#editor .section-head{position:sticky;top:-26px;padding:14px 0;background:white;z-index:2;border-bottom:1px solid var(--line)}#editor h2{font-size:19px;font-family:inherit;letter-spacing:0}#editor h3{font-size:14px;margin:25px 0 12px}#editor p{font-size:13px;line-height:1.85}#editor label{display:block;margin:18px 0 0;font-size:13px;font-weight:500;line-height:1.8}#editor input,#editor select,#editor textarea{display:block;width:100%;margin-top:7px;font-size:14px;font-weight:400}#editor textarea{resize:vertical;line-height:1.8;min-height:110px}#editor .primary{width:100%;margin-top:20px;min-height:46px}#editor .error:empty{display:none}#editor .error{font-size:13px;display:block}#editor button:disabled{opacity:.5;cursor:wait}.history{border-left:3px solid #b9c9a7;padding:10px 15px;background:#f7f9f2;margin:12px 0}.history small{font-size:11px;color:#849177}.history p{margin:8px 0}#recipient-list{max-height:250px;overflow:auto;margin:15px 0}#editor .recipient{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:10px;font-weight:400;margin:0}#editor .recipient input{width:18px;height:18px;min-height:18px;margin:0;display:inline;flex:none}#toast{z-index:1000}#editor .dialog-note{font-size:12px;color:#88917f}#editor .dirty-note{color:#a66b38;font-size:12px;margin-left:auto}
@media(min-width:1600px){.main{padding-left:48px;padding-right:48px}}@media(max-width:1200px){.layout{grid-template-columns:214px minmax(0,1fr)}.main{padding:0 22px 24px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid{grid-template-columns:1fr}.quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.layout{display:block}.sidebar{padding:16px 14px 8px}.sidebar .brand{margin-bottom:14px}.nav{display:flex;gap:8px;overflow-x:auto}.nav-group{display:contents}.nav-group .nav-label{display:none}.nav button{min-height:44px;padding:10px 12px;white-space:nowrap}.sidebar-foot{display:none}.main{padding:0 14px 22px}.page-head h1{font-size:23px}.page-head{gap:8px}.page-head p{max-width:230px}.welcome{padding:20px}.welcome h2{font-size:21px}.quick-grid{grid-template-columns:1fr 1fr}.quick-grid .btn{font-size:12px;padding:12px}.business-panel section{padding:18px 14px;margin-bottom:18px}.section-head{align-items:flex-start;flex-wrap:wrap;gap:10px}.section-head>button{font-size:12px}.filters input,.filters select,.filter-card input{width:100%;min-width:0;flex-basis:100%}.filter-card{padding:13px}.filters button{font-size:12px}.table-scroll{max-height:480px}.table-scroll td button{min-height:44px}.business-panel .pagination{justify-content:space-between;gap:8px;font-size:11px}.business-panel .pagination button{font-size:11px;padding:8px 10px}.filter-card .result-count{font-size:11px}.campaign-steps strong{font-size:12px}#editor{padding:20px 16px;max-height:92dvh}#editor .section-head{top:-20px}#editor h2{font-size:17px}#editor label{font-size:12px}#editor input,#editor select,#editor textarea{font-size:16px}.task-list small{font-size:11px}.topbar{flex-wrap:wrap}.account{max-width:100%}.main-footer{font-size:10px}}

#identity-config{max-width:680px}#identity-config select{width:100%;font:inherit;padding:12px;border:1px solid #dce2d7;border-radius:8px;margin-top:8px}#identity-config .identity-confirm{display:flex;align-items:flex-start;gap:10px;line-height:1.8}#identity-config .identity-confirm input{width:18px;min-height:18px;height:18px;flex-shrink:0;margin-top:4px}

.order-health-card{border:1px solid #e6e4dd;border-radius:12px;padding:16px;margin:12px 0;background:#faf9f5;min-width:0}.order-health-heading{display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:space-between}.order-health-card small{display:block;margin-top:8px;overflow-wrap:anywhere;color:#777}.order-health-card p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:12px 0 0}

.ad-thumb{display:block;width:140px;height:80px;object-fit:cover;border-radius:8px;margin-bottom:8px}.business-panel td{overflow-wrap:anywhere}

/* Product categories mirror the four customer-facing service entries. */
.product-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.business-panel .product-category{text-align:left;padding:18px 20px;border-radius:12px;min-width:0;background:#fff;border:1px solid #dfe4d9}.product-category>span{display:block;font-size:14px;color:#657462}.product-category>strong{display:flex;align-items:baseline;gap:9px;font-size:28px;line-height:1.5;font-weight:600;margin-top:9px}.product-category>strong>small{font-size:12px;font-weight:400;margin:0;color:#818a78}.business-panel .product-category.selected{border-color:#59735a;background:#eef3e9;box-shadow:inset 0 3px #375641}.business-panel .product-category.selected>span{color:#34523c;font-weight:600}.product-catalog .section-head p{margin:8px 0 0;font-size:12px;max-width:660px}.product-catalog .section-head>button{flex-shrink:0}.product-catalog .table-scroll{max-height:none}.product-catalog .table-scroll th:first-child{width:40%}.product-cell{display:flex;align-items:center;gap:14px;min-width:200px}.product-cell>div{min-width:0}.product-cell strong{font-weight:500;font-size:14px;line-height:1.65}.product-thumb,.product-placeholder{width:58px;height:58px;border-radius:8px;object-fit:cover;flex-shrink:0}.product-placeholder{display:flex;align-items:center;justify-content:center;padding:6px;background:#f1efe6;color:#8a8168;text-align:center;font-size:11px;line-height:1.5}.product-price{font-size:16px;font-weight:500;white-space:nowrap}.product-catalog .table-scroll td{padding-top:20px;padding-bottom:20px}.product-editor-intro{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #e5e8dd;border-radius:10px;background:#f6f8f1;font-size:13px;line-height:1.8}.product-editor-intro strong{flex-shrink:0;color:#405c45}.product-editor-intro span{color:#74826c}#editor.product-editor{width:940px}#editor.product-editor h3{margin:24px 0 4px;padding-top:18px;border-top:1px solid #eceee5;font-size:15px}.product-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;align-items:start}.product-readonly{padding-top:18px;font-size:13px;line-height:1.8}.product-readonly strong{display:block;margin-top:7px;padding:10px 12px;background:#f6f7f2;border-radius:8px;font-size:14px}.product-readonly small{display:block;font-size:12px;color:#849079;margin-top:6px}#editor .product-form-tip{font-size:12px;color:#718269;line-height:1.8;margin:12px 0}#editor.product-editor input[readonly]{background:#f5f5ef;color:#7b806f}#editor.product-editor .product-form-grid>p{grid-column:1 / -1;margin:8px 0;order:1}#editor.product-editor .product-validity[hidden]{display:none}#editor.product-editor .primary{position:sticky;bottom:0;box-shadow:0 -8px 20px #ffffffed}
@media(max-width:1000px){.product-categories{gap:10px}.business-panel .product-category{padding:14px}.product-category>span{font-size:13px}.product-category>strong{font-size:24px}}@media(max-width:760px){.product-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.product-form-grid{grid-template-columns:1fr}.product-editor-intro{display:block}.product-editor-intro span{display:block;margin-top:8px}.product-catalog .section-head>button{width:100%}.product-catalog .table-scroll{max-height:none}}
.product-catalog .table-scroll td:last-child{min-width:110px}
.product-catalog table{table-layout:fixed;min-width:650px}.product-catalog .table-scroll th,.product-catalog .table-scroll td,.product-catalog .table-scroll td:last-child{min-width:0}.product-catalog .table-scroll th:first-child{width:34%}.product-catalog .product-cell{min-width:0;gap:10px}.product-catalog .product-thumb,.product-catalog .product-placeholder{width:48px;height:48px}

/* Coupon workbench: readable rules, explicit recipient selection. */
.coupon-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.coupon-summary>div{border:1px solid var(--line);border-radius:12px;padding:18px 22px;background:white}.coupon-summary span{display:block;font-size:13px;color:#758271}.coupon-summary strong{display:block;font-size:28px;margin-top:8px;font-weight:600}.coupon-tabs{display:flex;gap:8px;margin-bottom:20px;border-bottom:1px solid var(--line);padding-bottom:12px}.business-panel .coupon-tabs button{padding:12px 24px}.business-panel .coupon-tabs .selected{background:#2f493e;color:white;border-color:#2f493e}.coupon-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.coupon-card{min-width:0;border:1px solid #e0e5d9;border-radius:14px;padding:22px;background:linear-gradient(130deg,#fcfcf7,#fff 55%)}.coupon-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.coupon-card h3{font-size:17px;margin:0 0 8px;overflow-wrap:anywhere;line-height:1.6}.coupon-scope{font-size:12px;color:#78836e}.coupon-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:16px;margin:24px 0 18px;color:#934332}.coupon-value>strong{font-size:34px;line-height:1.2;font-weight:600}.coupon-value strong small{display:inline;font-size:18px;color:inherit;margin-right:4px}.coupon-value>span{font-size:13px}.coupon-description{font-size:13px;color:#6f7b68;overflow-wrap:anywhere;white-space:pre-wrap}.coupon-meta{display:grid;gap:8px;border-top:1px dashed #dce2d3;padding-top:16px;font-size:12px;color:#7c8675}.coupon-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.coupon-card-actions button{flex:1 0 auto;min-height:42px}.coupon-footnote{color:#7a8274;font-size:12px;margin:22px 0 0}.coupon-records .table-scroll{max-height:none}.coupon-records td{max-width:320px}.coupon-context{padding:16px 20px;border-radius:10px;background:#f2f3e9;color:#627355;font-size:13px;line-height:1.8}.coupon-context p{margin:6px 0}.coupon-context strong{font-size:16px;color:#344b3c}#editor.coupon-editor{width:940px}#editor.coupon-editor textarea{min-height:85px;height:112px;resize:vertical}#editor.coupon-editor h3{margin:22px 0 0}.coupon-editor-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:30px;align-items:start}.coupon-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.coupon-live-preview{position:sticky;top:58px;border:1px solid #e2ddce;border-radius:14px;background:#f9f5ed;padding:24px;margin-top:22px;color:#6c725f}.coupon-live-preview>span{font-size:12px;letter-spacing:1px}#editor .coupon-live-preview h3{font-size:19px;margin:18px 0}.coupon-live-preview>strong{display:block;font-size:32px;color:#934332}.coupon-live-preview small{line-height:1.8;font-size:12px;display:block;border-top:1px dashed #d9d6c9;padding-top:15px}.coupon-live-preview p{overflow-wrap:anywhere}.coupon-live-preview #coupon-price-warning{color:#a04632}.coupon-recipients{max-height:290px;overflow:auto;border:1px solid #e1e6da;border-radius:10px;padding:4px 14px;margin-top:14px}#editor label.coupon-recipient{display:flex;align-items:center;gap:14px;margin:0;padding:12px 0;border-bottom:1px solid #edf0e6;cursor:pointer}#editor .coupon-recipient input{width:22px;height:22px;min-height:22px;margin:0;flex-shrink:0;accent-color:#2f493e}#editor .coupon-recipient span{min-width:0;overflow-wrap:anywhere}#editor .coupon-recipient strong{font-size:14px}#editor .coupon-recipient small{display:block;font-size:12px;color:#7b8474}.coupon-selected{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}#editor .coupon-selected button{font-size:12px;padding:6px 10px;background:#f0f4e9}.coupon-records .section-head p,.coupon-management .section-head p{margin:8px 0 0;font-size:13px}.coupon-management .section-head>button{flex-shrink:0}
@media(max-width:1250px){.coupon-grid{grid-template-columns:1fr}}@media(max-width:760px){.coupon-summary{grid-template-columns:1fr 1fr;gap:10px}.coupon-summary>div{padding:14px 16px}.coupon-editor-layout{grid-template-columns:1fr}.coupon-live-preview{position:static;margin-top:0}.coupon-fields{grid-template-columns:1fr}.coupon-card{padding:18px}.coupon-tabs button{flex:1}.coupon-card-actions button{min-height:44px}.coupon-records .table-scroll{max-height:none}.coupon-management .section-head>button{width:100%}}

/* Keep selected coupon tabs legible while pointer remains over them. */
.business-panel .coupon-tabs button.selected:hover:not(:disabled){background:#2f493e;color:#fff;border-color:#2f493e}
/* Admin workbench: consistent density, grouped content and visible image editing. */
body{font-size:14px;color:#2d3c34}.main{max-width:1800px;width:100%;margin:0 auto}.topbar{height:68px;min-height:68px}.page-head{margin:26px 0 24px;align-items:flex-start}.page-head h1{font-family:inherit;font-size:28px;font-weight:600;letter-spacing:0;margin-bottom:9px}.page-head .eyebrow{letter-spacing:1px;margin-bottom:8px}.page-head p{font-size:14px;color:#697669;max-width:760px}.sidebar .brand{margin-bottom:24px}.nav{gap:20px}.nav button{font-size:14px}.panel,.business-panel>section{border-radius:16px;box-shadow:0 3px 12px #243d3303}.panel-head,.section-head{gap:18px;align-items:center}.panel h2,.business-panel h2{font-size:18px;line-height:1.5}.panel-head p,.business-panel .section-head p{font-size:13px;max-width:760px;margin:7px 0 0}.business-panel section>p.muted{margin-bottom:22px}.business-panel table,table{font-size:13px}.business-panel th,th{font-size:12px;font-weight:500;color:#6f7c6a;padding:14px 16px}.business-panel td,td{padding:17px 16px;line-height:1.75;vertical-align:middle}.business-panel .table-scroll,.table-wrap{max-height:none;border-radius:10px;border:1px solid #e5e8e1}.business-panel td small{font-size:12px;line-height:1.65;margin-top:5px}.business-panel td:last-child{min-width:110px}.business-panel td button{margin:4px 6px 4px 0;min-height:38px}.business-panel tbody tr:hover,tbody tr:hover{background:#f8faf5}.business-panel .toolbar,.business-panel .filters,.toolbar{gap:10px;flex-wrap:wrap}.toolbar input,.filters input{min-width:160px}.business-panel button,.btn,#editor button{border-radius:8px;font-size:13px;min-height:40px}.business-panel .empty{padding:48px 20px;color:#6f7c69;line-height:1.8}.business-panel .badge{font-size:12px;padding:4px 9px}.pagination{flex-wrap:wrap;line-height:1.7}.main-footer{padding-top:10px}.form input,.form select,.form textarea,#editor input,#editor select,#editor textarea{background:#fcfdf9;border-color:#dce2d5;min-height:44px}.form input:focus,.form select:focus,.form textarea:focus,#editor input:focus,#editor select:focus,#editor textarea:focus{border-color:#668167;background:#fff}.form .hint{font-size:12px}.form-grid{align-items:start}.product-category>strong{margin-top:5px}.product-categories{gap:12px}.business-panel .product-category{padding:16px 20px}.workspace-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px;padding:6px;border:1px solid #e0e5d9;border-radius:12px;background:#edf0e8;width:fit-content;max-width:100%}.business-panel .workspace-tabs button{background:transparent;border:1px solid transparent;padding:11px 22px;color:#64715f}.business-panel .workspace-tabs button.selected,.business-panel .workspace-tabs button.selected:hover{color:#fff;background:#2f493e;border-color:#2f493e;box-shadow:0 2px 6px #243d3315}.ad-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.ad-card{overflow:hidden;border:1px solid #e2e7da;border-radius:12px;background:#fff;min-width:0}.ad-card-content{padding:20px}.ad-card h3{margin:0;font-size:17px;overflow-wrap:anywhere}.ad-card-content>p{color:#74806c;font-size:13px;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:46px}.ad-card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e8ebdf;padding-top:16px}.ad-card-foot small{font-size:12px;color:#73806b}.business-panel .image-zoom{padding:0;border:0;position:relative;display:block;overflow:hidden;background:#f1f2eb;width:100%;height:210px;cursor:zoom-in;border-radius:0}.image-zoom img{width:100%;height:100%;object-fit:contain;display:block}.image-zoom>span{position:absolute;right:10px;bottom:10px;background:#243d33d9;color:white;border-radius:6px;padding:5px 9px;font-size:11px}.image-empty{display:grid;place-items:center;background:#f4f5ee;min-height:150px;color:#7d876f;font-size:13px}.business-panel .image-zoom.product-image{width:58px;height:58px;min-height:58px;flex-shrink:0;border-radius:8px}.product-image>span{display:none}.contact-preview{display:grid;grid-template-columns:240px minmax(0,1fr);gap:32px;padding:20px 0;align-items:center}.business-panel .image-zoom.qr-preview{height:240px;border:1px solid #e4e8dc;border-radius:12px;padding:14px}.contact-preview p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.85}.detail-label{font-size:12px;color:#7b866e}.contact-preview>div{min-width:0}
/* The header and actions stay visible while only the form body scrolls. */
#editor{padding:0;width:760px;max-height:92dvh;overflow:hidden;border:0;border-radius:18px}#editor #edit-form{display:flex;flex-direction:column;max-height:92dvh;min-height:0;margin:0}#editor .editor-head{display:flex;gap:18px;align-items:center;padding:20px 26px;border-bottom:1px solid #e4e8dc;background:#fff;flex-shrink:0}#editor .editor-head>div{min-width:0;flex:1}#editor .editor-head h2{margin:4px 0 0;font-size:20px;overflow-wrap:anywhere}#editor .editor-eyebrow{font-size:11px;color:#7a876d;letter-spacing:2px}#editor .editor-body{padding:4px 28px 28px;overflow-y:auto;min-height:0;overscroll-behavior:contain}#editor .editor-footer{padding:16px 26px;background:#fbfcf8;border-top:1px solid #e4e8dc;flex-shrink:0}#editor .editor-actions{display:flex;gap:12px;justify-content:flex-end;align-items:center}#editor .editor-actions>span{font-size:12px;color:#78826f;margin-right:auto}#editor .editor-footer .primary{width:auto;margin:0;min-width:140px;position:static;box-shadow:none;min-height:42px}#editor .editor-footer .error{margin:0 0 12px;max-height:100px;overflow:auto}#editor label{font-size:14px;margin-top:20px}#editor h3{font-size:16px}#editor textarea{font-family:inherit}#editor .editor-head .dirty-note{white-space:nowrap}#editor .coupon-live-preview{top:12px}#editor .record-fold{border:1px solid #e2e7da;border-radius:10px;margin-top:24px;padding:16px}#editor .record-fold summary{cursor:pointer;font-size:14px;font-weight:600;color:#456047;padding:4px;line-height:1.7}#editor .record-fold[open] summary{padding-bottom:16px;border-bottom:1px solid #e7ebdf}.image-editor{grid-column:1/-1;margin-top:20px;border:1px solid #dee5d5;border-radius:12px;padding:18px;background:#fafbf6;min-width:0}.image-editor-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px;font-size:14px}.image-source{font-size:12px;color:#778368}#editor .image-stage{width:100%;height:230px;padding:8px;border:1px dashed #ccd5c2;background:#fff;display:grid;place-items:center;cursor:zoom-in;overflow:hidden}#editor .image-stage:disabled{opacity:1;cursor:default;color:#88927d}.image-stage img{display:block;max-width:100%;max-height:210px;object-fit:contain}.image-stage img[hidden],.image-stage span[hidden]{display:none}#editor .image-status{font-size:12px;margin:10px 0 14px;overflow-wrap:anywhere;line-height:1.7;color:#63775e}#editor .image-status.invalid{color:#a03e30}#editor .image-tools{display:flex;flex-wrap:wrap;gap:8px}#editor .image-help{font-size:12px;line-height:1.7;color:#79816d;margin:14px 0 0}#editor .image-file-label{margin:8px 0 0;font-size:12px;grid-column:1/-1}#editor .image-file-label input{font-size:12px;padding:8px}#editor .image-url-label{grid-column:1/-1}#editor .image-file-label+p.muted{display:none}.image-lightbox{width:min(980px,94vw);max-height:94dvh;padding:20px;border:0;border-radius:16px;background:white;box-shadow:0 24px 90px #19291f33}.image-lightbox::backdrop{background:#172c24a6}.image-lightbox header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.image-lightbox header button{padding:10px 16px;border-radius:8px;background:#f6f7f0;border:1px solid #dfe5d5}.image-lightbox img{display:block;max-width:100%;max-height:70dvh;object-fit:contain;margin:auto}.image-lightbox p{font-size:12px;color:#78836e;text-align:center}.business-panel[data-module="appointments"] td .order-health-card{max-width:330px;font-size:12px;padding:10px}.business-panel[data-module="appointments"] td .order-health-card p{margin-top:4px}.business-panel[data-module="customers"] td:last-child{min-width:200px}
@media(max-width:1100px){.ad-grid{grid-template-columns:1fr}.main{padding-left:22px;padding-right:22px}.contact-preview{grid-template-columns:200px minmax(0,1fr)}}
@media(max-width:760px){.main{padding:0 14px 24px}.topbar{min-height:62px;height:auto;padding:12px 0}.page-head{margin:20px 0}.page-head h1{font-size:24px}.page-head p{max-width:none;font-size:13px}.business-panel .workspace-tabs{width:100%}.business-panel .workspace-tabs button{flex:1;padding:10px 12px}.ad-grid{gap:16px}.contact-preview{grid-template-columns:1fr;gap:16px}.contact-preview .image-zoom,.contact-preview .image-empty{max-width:260px}.ad-card-content{padding:16px}.business-panel .table-scroll{max-height:none}#editor{max-width:calc(100vw - 16px);border-radius:14px}#editor .editor-head{padding:16px;gap:8px}#editor .editor-head h2{font-size:18px}#editor .editor-head .dirty-note{font-size:11px}#editor .editor-body{padding:2px 16px 22px}#editor .editor-footer{padding:12px 16px}#editor .editor-actions>span{display:none}#editor .editor-actions{justify-content:stretch}#editor .editor-actions>button{flex:1}#editor .editor-footer .primary{min-width:0}.image-editor{padding:14px}#editor .image-stage{height:190px}.image-stage img{max-height:170px}#editor .image-tools button{font-size:12px;flex:1 0 42%}#editor .image-file-label input{max-width:100%}}
