/* HayOrder 1.0.81 — tenant promotions, using the dashboard's existing theme tokens. */
.ho-promotions{display:grid;gap:20px;min-width:0;max-width:1800px;margin:auto;color:var(--text)}
.ho-promo-heading,.ho-promo-section>header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.ho-promo-heading h2{font-size:34px;margin:4px 0;line-height:1.2}.ho-promo-heading h2 span{color:var(--accent)}.ho-promo-eyebrow{font-size:10px;letter-spacing:.15em;color:var(--link);font-weight:800}
.ho-promotions p{margin:4px 0;color:var(--muted);font-size:13px}.ho-promo-section{padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}.ho-promo-section>header{margin-bottom:17px}.ho-promo-section h3{font-size:23px;margin:0}.ho-promo-section h4{margin:15px 0 10px;font-size:15px}
.ho-promo-tag{display:inline-flex;border:1px solid var(--line);background:var(--surface-soft);color:var(--link);border-radius:20px;font-size:11px;padding:4px 10px;white-space:nowrap}.ho-promo-posters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.ho-promo-poster{padding:10px;display:flex;flex-direction:column;gap:10px;border:1px solid var(--line);border-radius:10px;background:var(--bg);min-width:0}
.ho-promotions label{display:grid;gap:5px;margin:0;font-size:12px;min-width:0}.ho-promotions small{font-size:10px;font-weight:400;color:var(--muted)}
.ho-promotions input:not([type=checkbox]),.ho-promotions textarea,.ho-promotions select{width:100%;min-width:0;max-width:100%;margin:0;background:var(--field);color:var(--text);border:1px solid var(--line);border-radius:7px;padding:8px;font:inherit;font-size:12px;min-height:38px}.ho-promotions textarea{resize:vertical}.ho-promotions input[type=checkbox]{accent-color:var(--accent);width:15px;height:15px;margin:0;flex:none}
.ho-promotions .ho-promo-title{font-weight:750;font-size:13px}.ho-promo-art{height:218px;display:grid;place-items:center;overflow:hidden;border-radius:6px;background:var(--surface-soft)}.ho-promo-art a{display:block;width:100%;height:100%;min-height:0}.ho-promo-art img{display:block;width:100%;height:100%;object-fit:contain}.ho-promo-placeholder{display:grid;gap:10px;text-align:center;justify-items:center;padding:16px;color:var(--muted);font-size:11px}.ho-promo-placeholder .icon{width:32px;height:32px;color:var(--link)}
.ho-promo-upload>span{display:flex;justify-content:center;align-items:center;gap:7px;border:1px solid var(--line);border-radius:7px;padding:8px;background:var(--surface)}.ho-promo-upload .icon{width:16px;height:16px}.ho-promo-upload input[type=file]{font-size:10px;padding:4px;min-height:30px}.ho-promo-upload small{overflow-wrap:anywhere}
.ho-promo-days{border:0;padding:0;margin:0;min-width:0}.ho-promo-days legend{padding:0 0 5px;font-size:11px}.ho-promo-days>div{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.ho-promo-days label{position:relative;cursor:pointer}.ho-promo-days input{position:absolute;opacity:0}.ho-promo-days span{display:grid;place-items:center;min-height:29px;border:1px solid var(--line);border-radius:5px;font-size:10px}.ho-promo-days input:checked+span{background:var(--accent);color:var(--on-accent);border-color:var(--accent);font-weight:750}.ho-promo-days input:focus-visible+span{outline:2px solid var(--link);outline-offset:2px}
.ho-promotions .ho-promo-check,.ho-promotions .ho-promo-toggle{display:flex;align-items:center;gap:7px;font-size:10px;cursor:pointer}.ho-promotions .ho-promo-toggle{font-size:12px;position:relative}.ho-promo-toggle>input{position:absolute;opacity:0}.ho-promo-toggle>span{width:36px;height:21px;flex:none;border:1px solid var(--line);border-radius:20px;background:var(--surface-soft);position:relative}.ho-promo-toggle>span:after{content:'';position:absolute;top:2px;left:2px;width:15px;height:15px;border-radius:50%;background:var(--muted)}.ho-promo-toggle input:checked+span{background:var(--accent);border-color:var(--accent)}.ho-promo-toggle input:checked+span:after{left:17px;background:var(--on-accent)}.ho-promo-toggle input:focus-visible+span{outline:2px solid var(--link);outline-offset:2px}
.ho-promo-validity{font-size:11px;margin-top:auto}.ho-promo-validity summary{cursor:pointer;color:var(--link);padding:5px 0}.ho-promo-validity>div{display:grid;gap:8px;padding:8px 0}.ho-promo-save{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.ho-promotions button,.ho-promotions .button{min-height:40px;font-size:12px;padding:9px 13px;gap:8px}.ho-promotions button .icon,.ho-promotions .button .icon{width:16px;height:16px}.ho-promo-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ho-promo-editor{display:grid;gap:12px;margin:0}.ho-promo-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ho-promo-form-end{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.ho-promo-cart-preview{background:var(--bg);border:1px solid var(--line);border-radius:9px;padding:12px;font-size:12px}.ho-promo-cart-preview>div{display:flex;justify-content:space-between;margin-top:8px;gap:10px}.ho-promo-cart-preview>div:last-child{padding-top:9px;border-top:1px solid var(--line)}
.ho-promo-existing{border:1px solid var(--line);border-radius:8px;padding:12px;margin:0 0 10px;background:var(--bg);min-width:0}.ho-promo-existing>summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px;overflow-wrap:anywhere}.ho-promo-existing>summary small{display:block;margin-top:3px}.ho-promo-existing[open]>.ho-promo-editor{margin-top:15px;padding-top:15px;border-top:1px solid var(--line)}.ho-promo-delete{justify-self:start}.ho-promo-note{font-size:11px!important;line-height:1.6;margin-top:12px!important}
@media(max-width:1400px){.ho-promo-posters{grid-template-columns:repeat(3,minmax(0,1fr))}.ho-promo-art{height:240px}}
@media(max-width:1000px){.ho-promo-columns{grid-template-columns:minmax(0,1fr)}.ho-promo-posters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.ho-promo-posters{grid-template-columns:minmax(0,1fr)}.ho-promo-art{height:300px}.ho-promo-section{padding:12px}.ho-promo-fields{grid-template-columns:minmax(0,1fr)}.ho-promo-save button{width:100%}.ho-promo-heading h2{font-size:28px}}
.ho-promo-upload{position:relative;cursor:pointer}.ho-promo-upload input[type=file]{position:absolute;width:1px;height:1px;min-height:0;padding:0;opacity:0;overflow:hidden}.ho-promo-upload:focus-within>span{outline:2px solid var(--link);outline-offset:2px}.ho-promo-upload:hover>span{border-color:var(--accent)}

.ho-promotions .ho-promo-field-hint{display:block;margin-top:6px;color:var(--muted);font-size:11px;line-height:1.45}

/* Separate promotion workspaces. All five slots remain in the same form. */
.ho-promo-selector{display:flex;gap:12px;overflow-x:auto;padding:2px 2px 18px;margin-bottom:8px}.ho-promo-selector button{display:flex;align-items:center;gap:12px;min-width:170px;max-width:260px;text-align:left;flex-shrink:0;border:1px solid var(--line);border-radius:12px;background:var(--bg)}.ho-promo-selector img{width:40px;height:52px;object-fit:contain;border-radius:5px}.ho-promo-selector button[aria-pressed=true]{border-color:#c9a34d;background:#c9a34d14;box-shadow:inset 3px 0 #c9a34d}.ho-promo-workspaces{display:grid;gap:20px}.ho-promo-workspace[hidden]{display:none}.ho-promo-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:20px}.ho-promo-card{border:1px solid var(--line);border-radius:16px;background:var(--bg);padding:24px;display:flex;flex-direction:column;gap:16px;min-width:0}.ho-promo-card h4{font-size:18px;margin:0 0 4px;display:flex;align-items:center;gap:12px}.ho-promo-card h4>small{color:#d7b860;font-size:11px;letter-spacing:.08em}.ho-promo-basics .ho-promo-art{height:200px}.ho-promo-basics .ho-promo-validity{margin-top:0}.ho-promo-validity>div{grid-template-columns:repeat(2,minmax(0,1fr))}.ho-promo-linked{color:var(--muted);font-size:11px}.ho-promo-linked strong{color:#d7b860;font-weight:500}.ho-promo-bundle-row{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:12px;padding:12px;border:1px solid var(--line);border-radius:10px}.ho-promo-bundle-row[hidden]{display:none}.ho-promo-text{grid-column:1/-1}.ho-promotions .ho-promo-text textarea{height:120px;min-height:120px;max-height:120px;resize:none;overflow-y:auto;padding:14px;line-height:1.6}.ho-promo-price-summary{display:flex;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding-top:16px;font-size:12px;color:var(--muted)}.ho-promo-price-summary strong{display:block;font-size:19px;color:var(--text);margin-top:6px}.ho-promo-price-summary span:last-child strong{color:#68c69d}.ho-promo-text>[data-promo-count]{align-self:flex-end}.ho-promo-add-part{align-self:flex-start}.ho-promo-save button{background:#d1ae56;color:#19160e;border-color:#d1ae56}
@media(max-width:900px){.ho-promo-layout{grid-template-columns:minmax(0,1fr)}.ho-promo-card{padding:18px}.ho-promo-text{grid-column:auto}}
.ho-promo-selector,.ho-promo-workspace,.ho-promo-layout{min-width:0;max-width:100%}
.ho-promotions form[data-promo-posters]{min-width:0;max-width:100%}

.ho-promotions .ho-promo-selector{flex-direction:row;flex-wrap:nowrap;align-items:stretch}.ho-promotions .ho-promo-selector button{height:84px;flex:0 0 220px;justify-content:flex-start}.ho-promotions .ho-promo-save button.is-saved{background:#237a4f!important;border-color:#48b77c!important;color:#fff!important;box-shadow:0 0 0 3px #48b77c25}.ho-promo-save [data-save-announcement]{color:#58c58c;font-size:13px}

/* 1.3.4: readable tile hierarchy, compact independent cards. */
.ho-promotions .ho-promo-layout{align-items:start;grid-template-columns:minmax(0,0.95fr) minmax(0,1.45fr);gap:22px}.ho-promotions .ho-promo-card{padding:24px;gap:18px;border-radius:18px;background:var(--surface);box-shadow:0 10px 28px #00000012}.ho-promotions .ho-promo-card h4{font-size:21px;line-height:1.3}.ho-promotions .ho-promo-card h4>small{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#d1ae56;color:#19160e;font-size:13px;font-weight:700}.ho-promotions .ho-promo-card label{font-size:14px;font-weight:550;gap:8px}.ho-promotions .ho-promo-card input:not([type=checkbox]),.ho-promotions .ho-promo-card select,.ho-promotions .ho-promo-card textarea{font-size:14px;min-height:44px;padding:11px 12px}.ho-promotions .ho-promo-card p{font-size:14px;line-height:1.65}.ho-promotions .ho-promo-card small{font-size:12px;line-height:1.5}.ho-promo-media-tile,.ho-promo-schedule-tile{display:grid;gap:14px;padding:18px;background:var(--bg);border:1px solid var(--line);border-radius:12px;min-width:0}.ho-promo-tile-label{font-size:11px;font-weight:650;letter-spacing:.09em;color:var(--muted)}.ho-promotions .ho-promo-basics .ho-promo-art{height:230px;background:var(--surface-soft);border-radius:10px}.ho-promotions .ho-promo-linked{padding:10px 13px;border:1px solid #c9a34d40;border-radius:9px;background:#c9a34d0c;font-size:13px;align-self:flex-start;line-height:1.5}.ho-promotions .ho-promo-bundle-row{padding:16px;gap:16px;background:var(--bg);grid-template-columns:minmax(0,1fr) 86px}.ho-promotions .ho-promo-add-part{width:100%;border-style:dashed;min-height:48px;font-size:14px}.ho-promotions .ho-promo-price-summary{display:grid;grid-template-columns:1fr 1.2fr 1fr;padding:18px;gap:16px;border:1px solid var(--line);background:var(--bg);border-radius:12px;align-items:start;font-size:13px}.ho-promo-price-summary>label small{grid-column:1/-1}.ho-promotions .ho-promo-price-summary strong{font-size:25px}.ho-promo-price-summary>label .ho-promo-field-hint{display:none}.ho-promotions .ho-promo-toggle,.ho-promotions .ho-promo-check{font-size:13px}.ho-promotions .ho-promo-days legend{font-size:13px}.ho-promotions .ho-promo-days span{font-size:12px;min-height:36px}.ho-promotions .ho-promo-validity summary{font-size:14px}.ho-promotions .ho-promo-text textarea{height:120px;min-height:120px;max-height:120px}.ho-promotions .ho-promo-selector button{font-size:14px;height:90px}.ho-promotions .ho-promo-selector img{height:64px;width:48px}.ho-promotions .ho-promo-save{background:var(--surface);padding:18px;border:1px solid var(--line);border-radius:12px}.ho-promotions .ho-promo-save button{font-size:14px;min-height:46px}
@media(max-width:1050px){.ho-promotions .ho-promo-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:540px){.ho-promotions .ho-promo-card{padding:16px}.ho-promotions .ho-promo-price-summary{grid-template-columns:1fr 1fr}.ho-promo-price-summary>label{grid-column:1/-1;grid-row:1}.ho-promotions .ho-promo-card h4{font-size:19px}.ho-promo-media-tile,.ho-promo-schedule-tile{padding:14px}}

.ho-promo-schedule{grid-column:1/-1}.ho-promo-schedule .ho-promo-validity>div{max-width:700px}.ho-promotions .ho-promo-remove-image{align-self:flex-start;position:relative;cursor:pointer}.ho-promo-remove-image input{position:absolute;opacity:0}.ho-promo-remove-image span{display:block;border:1px solid var(--line);border-radius:9px;padding:12px 18px;background:var(--bg);font-size:13px}.ho-promo-remove-image input:checked+span{background:#923737;color:#fff;border-color:#d66b6b}.ho-promo-remove-image input:focus-visible+span{outline:2px solid var(--link);outline-offset:3px}

/* 1.3.6: two rows of paired cards and clearer price editor. */
.ho-promotions .ho-promo-schedule,.ho-promotions .ho-promo-text{grid-column:auto}.ho-promotions .ho-promo-text textarea{height:210px;min-height:210px;max-height:210px}.ho-promotions .ho-promo-media-tile .ho-promo-remove-image{align-self:auto;justify-self:start}.ho-promotions .ho-promo-remove-image span{background:var(--accent);color:var(--on-accent);border-color:var(--accent);font-weight:650}.ho-promotions .ho-promo-remove-image input:checked+span{box-shadow:inset 0 0 0 2px var(--on-accent);background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.ho-promotions select{appearance:none;-webkit-appearance:none;background-image:url("/assets/promo-select-chevron.svg");background-repeat:no-repeat;background-position:right 16px center;background-size:16px}.ho-promotions .ho-promo-card select,.ho-promotions .ho-promo-editor select{padding-right:46px}.ho-promotions .ho-promo-price-summary{grid-template-columns:1fr 1.4fr 1fr;align-items:center}.ho-promotions .ho-promo-package-price{padding:14px;border-radius:10px;border:1px solid color-mix(in srgb,var(--accent) 55%,var(--line));background:color-mix(in srgb,var(--accent) 8%,var(--bg));color:var(--text)}.ho-promo-currency-field{position:relative;min-width:0}.ho-promotions .ho-promo-currency-field input{font-size:23px;font-weight:700;padding-right:40px;min-height:54px}.ho-promo-currency-field>span{position:absolute;right:15px;top:50%;transform:translateY(-50%);font-size:20px;color:var(--muted);pointer-events:none}@media(max-width:540px){.ho-promotions .ho-promo-price-summary{grid-template-columns:1fr 1fr}.ho-promotions .ho-promo-package-price{grid-column:1/-1;grid-row:1}}

/* Savings spacing in the package editor */
.ho-promotions .ho-promo-price-summary>span:last-child{padding-left:24px;box-sizing:border-box}
@media(max-width:540px){.ho-promotions .ho-promo-price-summary>span:last-child{padding-left:0;justify-self:end}}

.ho-promotions .ho-promo-part-choices{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}.ho-promotions .ho-promo-part-choices:empty{display:none}.ho-promotions .ho-promo-part-choices label{min-width:0;display:grid;gap:6px;font-size:12px}.ho-promotions .ho-promo-part-choices select{min-width:0;width:100%;font-size:12px;min-height:38px;padding:8px}.ho-promotions .ho-promo-part-choices select[multiple]{height:82px}.ho-promotions .ho-promo-bundle-row{min-width:0}@media(max-width:1000px){.ho-promotions .ho-promo-part-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.ho-promotions .ho-promo-part-choices{grid-template-columns:1fr}}

.ho-promotions .ho-promo-choice-field{display:flex;flex-direction:column;gap:6px;min-width:0}.ho-promotions .ho-promo-choice-field>label{font-size:12px;line-height:1.4;margin:0}.ho-promotions .ho-promo-choice-dropdown{position:relative;min-width:0}.ho-promotions .ho-promo-choice-dropdown summary{box-sizing:border-box;min-height:38px;padding:8px 28px 8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--text);font-size:12px;line-height:20px;cursor:pointer;overflow-wrap:anywhere}.ho-promotions .ho-promo-choice-options{position:absolute;top:100%;left:0;right:0;z-index:20;padding:6px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 8px 20px #0003;max-height:240px;overflow:auto}.ho-promotions .ho-promo-choice-options label{display:flex;align-items:center;gap:8px;padding:8px;font-size:12px;cursor:pointer}.ho-promotions .ho-promo-choice-options input{width:16px!important;height:16px!important;min-height:16px!important;flex:0 0 16px;padding:0!important}.ho-promotions .ho-promo-choice-options span{min-width:0;overflow-wrap:anywhere}

@media(min-width:1051px){.ho-promotions .ho-promo-layout{grid-template-columns:minmax(260px,1fr) minmax(0,2fr)}}

/* Aligned compact choices and understated price summary. */
.ho-promotions .ho-promo-part-choices{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:12px}
.ho-promotions .ho-promo-choice-field>label{font-size:11px;line-height:16px;min-height:16px;font-weight:600;margin:0!important}
.ho-promotions .ho-promo-choice-dropdown summary{list-style:none;height:40px;min-height:40px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:9px 25px 9px 10px;background:var(--bg);font-size:12px;line-height:20px;position:relative}
.ho-promotions .ho-promo-choice-dropdown summary::-webkit-details-marker{display:none}.ho-promotions .ho-promo-choice-dropdown summary:after{content:'';position:absolute;right:11px;top:15px;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.ho-promotions .ho-promo-choice-options{min-width:190px;right:auto;width:100%;box-sizing:border-box;max-height:280px}
.ho-promotions .ho-promo-choice-field:last-child .ho-promo-choice-options{right:0;left:auto}
.ho-promotions .ho-promo-choice-options .ho-promo-choice-done{position:sticky;bottom:0;width:100%;min-height:32px;font-size:12px;margin-top:6px;background:var(--accent);color:var(--on-accent)}
.ho-promotions .ho-promo-price-summary{background:var(--surface);padding:16px;gap:20px;border-radius:12px;grid-template-columns:1fr 1.25fr 1fr;font-size:11px}
.ho-promotions .ho-promo-package-price{background:transparent;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);border-radius:0;padding:0 20px;font-size:11px}
.ho-promotions .ho-promo-currency-field input{font-size:20px;min-height:44px}.ho-promotions .ho-promo-price-summary strong{font-size:21px;font-weight:600}.ho-promotions .ho-promo-price-summary span:last-child strong{color:var(--text)}
.ho-promotions .ho-promo-mode{display:grid;gap:6px;font-size:12px}.ho-promotions .ho-promo-mode small{font-size:11px;color:var(--muted)}
@media(max-width:1100px){.ho-promotions .ho-promo-part-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.ho-promotions .ho-promo-part-choices{grid-template-columns:1fr}.ho-promotions .ho-promo-price-summary{grid-template-columns:1fr 1fr}.ho-promotions .ho-promo-package-price{grid-column:1/-1;grid-row:1;border:0;border-bottom:1px solid var(--line);padding:0 0 14px}.ho-promotions .ho-promo-choice-options{min-width:0;right:0;left:0;width:auto}}
