/* ==========================================================================
   Guest Editor System - front end
   Apply / login / password screens: "editorial" look (navy band, underline fields)
   Guest Editor panel: sidebar look (soft filled fields, cards)
   Palette: blue #456d90 · gold #e8b512 · navy #16283a · ink #1a1f2b
   Font family is never set - everything uses the website font.
   Selectors start with #ges-app so the theme's form styles cannot override them.
   ========================================================================== */

#ges-app {
	--ges-blue: #456d90;
	--ges-navy: #16283a;
	--ges-gold: #e8b512;
	--ges-gold-d: #c99b0b;
	--ges-ink: #1a1f2b;
	--ges-text: #3b4552;
	--ges-muted: #6b7684;
	--ges-line: #e6e9ed;
	--ges-fill: #f1f4f7;
	--ges-green: #146c3c;
	--ges-red: #a3261b;
	--ges-shadow: 0 1px 2px rgba(22, 40, 58, .05), 0 18px 40px -20px rgba(22, 40, 58, .25);
	--ges-shadow-s: 0 1px 2px rgba(22, 40, 58, .05), 0 10px 24px -16px rgba(22, 40, 58, .22);
	container-type: inline-size;
	container-name: gesapp;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	color: var(--ges-text);
	font-size: 15px;
	line-height: 1.6;
	text-align: left;
}
#ges-app *, #ges-app *::before, #ges-app *::after { box-sizing: border-box; }
#ges-app [hidden] { display: none !important; }
#ges-app input, #ges-app select, #ges-app textarea, #ges-app button { font-family: inherit !important; }
#ges-app .ges-ico { width: 18px; height: 18px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }
#ges-app a { text-decoration: none; }
#ges-app h2, #ges-app h3, #ges-app p { margin: 0; }

/* ---------- Small shared bits ---------- */
#ges-app .ges-muted { color: var(--ges-muted) !important; font-size: 14.5px; }
#ges-app .ges-small { font-size: 13px !important; }
#ges-app .ges-center { text-align: center; }
#ges-app .ges-center-row { display: flex; justify-content: center; margin-top: 8px; }
#ges-app .ges-link { color: var(--ges-blue) !important; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
#ges-app .ges-link:hover { color: var(--ges-navy) !important; text-decoration: underline !important; }
#ges-app .ges-link .ges-ico { width: 16px; height: 16px; }
#ges-app .ges-link-sm { font-size: 13px; }
#ges-app .ges-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
#ges-app .ges-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#ges-app .ges-rule { display: block; width: 64px; height: 3px; border-radius: 2px; background: var(--ges-gold); }

/* ---------- Fields (shared structure) ---------- */
#ges-app .ges-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
#ges-app .ges-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#ges-app .ges-wide { grid-column: 1 / -1; }
#ges-app .ges-stack { display: flex; flex-direction: column; gap: 22px; }
#ges-app .ges-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; }
#ges-app .ges-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
#ges-app .ges-field label, #ges-app .ges-label { margin: 0 !important; padding: 0 !important; line-height: 1.3 !important; text-transform: none; letter-spacing: 0; display: block; }
#ges-app .ges-req { color: var(--ges-red); }
#ges-app .ges-hint { color: var(--ges-muted) !important; font-size: 12.5px !important; line-height: 1.45; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
#ges-app .ges-hint .ges-ico { width: 14px; height: 14px; }
#ges-app#ges-app .ges-input {
	display: block !important; width: 100% !important; max-width: 100% !important; margin: 0 !important;
	color: var(--ges-ink) !important; font-size: 15.5px !important; line-height: 1.4 !important; font-weight: 400 !important;
	outline: none !important; box-shadow: none !important; opacity: 1 !important; visibility: visible !important;
	-webkit-appearance: none !important; appearance: none !important; transition: border-color .2s, background .2s, box-shadow .2s;
}
#ges-app#ges-app .ges-input::placeholder { color: #9aa4af !important; opacity: 1 !important; }
#ges-app#ges-app select.ges-input { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a8591' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-size: 18px !important; }
#ges-app#ges-app textarea.ges-input { resize: vertical; }
#ges-app .ges-pass { position: relative; }
#ges-app#ges-app .ges-pass-toggle { position: absolute !important; right: 4px; top: 50%; transform: translateY(-50%); width: 38px !important; height: 38px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 8px !important; background: transparent !important; color: #7a8591 !important; display: flex !important; align-items: center; justify-content: center; cursor: pointer; box-shadow: none !important; }
#ges-app#ges-app .ges-pass-toggle:hover, #ges-app#ges-app .ges-pass-toggle.is-on { color: var(--ges-blue) !important; }
#ges-app .ges-check { display: inline-flex !important; align-items: center; gap: 10px; margin: 0 !important; font-size: 14.5px !important; color: var(--ges-text) !important; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; }
#ges-app .ges-check input { width: 18px !important; height: 18px !important; margin: 0 !important; accent-color: var(--ges-blue); }

/* ---------- Buttons ---------- */
#ges-app#ges-app .ges-btn {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px !important; margin: 0 !important; border: 0 !important;
	font-size: 15px !important; font-weight: 600 !important; line-height: 1.2 !important; letter-spacing: 0 !important; text-transform: none !important;
	white-space: nowrap; cursor: pointer; text-decoration: none !important; box-shadow: none !important;
	transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
#ges-app#ges-app .ges-btn .ges-ico { width: 18px; height: 18px; }
#ges-app#ges-app .ges-btn:focus-visible { outline: 3px solid rgba(69, 109, 144, .45); outline-offset: 2px; }
#ges-app .ges-btn[disabled], #ges-app#ges-app .ges-btn.is-busy { opacity: .7; cursor: wait; }
#ges-app .ges-btn-gold { border-radius: 999px !important; background: var(--ges-gold) !important; color: var(--ges-navy) !important; }
#ges-app .ges-btn-gold:hover { background: #f0c52d !important; color: var(--ges-navy) !important; transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(201, 155, 11, .8) !important; }
#ges-app .ges-btn-navy { border-radius: 12px !important; background: var(--ges-navy) !important; color: #fff !important; }
#ges-app .ges-btn-navy .ges-ico { color: var(--ges-gold); }
#ges-app .ges-btn-navy:hover { background: var(--ges-blue) !important; color: #fff !important; }
#ges-app .ges-btn-ghost { border-radius: 12px !important; background: #fff !important; color: var(--ges-ink) !important; border: 1.5px solid var(--ges-line) !important; }
#ges-app .ges-btn-ghost:hover { border-color: var(--ges-blue) !important; color: var(--ges-blue) !important; }
#ges-app .ges-btn-sm { min-height: 40px; padding: 0 16px !important; font-size: 14px !important; }
#ges-app .ges-btn-block { width: 100%; }

/* ---------- Notices (no box: coloured line with round icon) ---------- */
#ges-app .ges-notice { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 20px; font-size: 14.5px; line-height: 1.55; }
#ges-app .ges-notice > .ges-ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: #fff; stroke-width: 3; margin-top: -1px; }
#ges-app .ges-notice ul { margin: 6px 0 0 18px !important; padding: 0 !important; }
#ges-app .ges-notice li { margin: 2px 0 !important; }
#ges-app .ges-notice-success { color: var(--ges-green); }
#ges-app .ges-notice-success > .ges-ico { background: var(--ges-green); }
#ges-app .ges-notice-error { color: var(--ges-red); }
#ges-app .ges-notice-error > .ges-ico { background: var(--ges-red); }
#ges-app .ges-notice-info { color: #1f3b55; padding: 14px 16px; border-radius: 12px; background: #eaf0f6; }
#ges-app .ges-notice-info > .ges-ico { background: var(--ges-blue); }

/* ==========================================================================
   EDITORIAL LOOK, NO BOX (apply, login, forgot, reset, status screens)
   Everything sits directly on the page background.
   ========================================================================== */
#ges-app .ges-c { max-width: 560px; margin: 0 auto; background: transparent; }
#ges-app .ges-c-wide { max-width: 1000px; }
#ges-app .ges-c-band { padding: 0 0 28px; border-bottom: 1px solid #dfe4e9; display: flex; flex-direction: column; gap: 14px; }
#ges-app .ges-c-wide .ges-c-band { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 32px; }
#ges-app .ges-c-band-text { display: flex; flex-direction: column; gap: 12px; }
#ges-app .ges-c-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8a6a00; }
#ges-app .ges-c-title { margin: 0 !important; padding: 0 !important; font-size: 34px !important; line-height: 1.2 !important; font-weight: 600 !important; color: var(--ges-navy) !important; letter-spacing: -.01em; }
#ges-app .ges-c-wide .ges-c-title { font-size: 38px !important; max-width: 520px; }
#ges-app .ges-c-lead { margin: 0 !important; font-size: 15px !important; line-height: 1.65 !important; color: #4a5561 !important; }
#ges-app .ges-c-wide .ges-c-lead { max-width: 360px; }
#ges-app .ges-c-body { padding: 30px 0 0; }
#ges-app .ges-c-wide .ges-c-body { padding: 6px 0 0; }

/* underline fields */
#ges-app .ges-c .ges-field label, #ges-app .ges-c .ges-label { font-size: 11.5px !important; font-weight: 600 !important; letter-spacing: .08em !important; text-transform: uppercase !important; color: var(--ges-muted) !important; }
#ges-app .ges-c .ges-field:focus-within label { color: var(--ges-blue) !important; }
#ges-app#ges-app .ges-c .ges-input { height: 46px !important; min-height: 0 !important; padding: 0 2px !important; border: 0 !important; border-bottom: 1.5px solid #c9d1d9 !important; border-radius: 0 !important; background-color: transparent !important; font-size: 16px !important; }
#ges-app#ges-app .ges-c textarea.ges-input { height: auto !important; min-height: 76px; padding: 10px 2px !important; line-height: 1.55 !important; }
#ges-app#ges-app .ges-c select.ges-input { padding-right: 30px !important; background-color: transparent !important; background-position: right 2px center !important; }
#ges-app#ges-app .ges-c .ges-pass .ges-input { padding-right: 44px !important; }
#ges-app#ges-app .ges-c .ges-input:hover { border-bottom-color: #9fb0c1 !important; }
#ges-app#ges-app .ges-c .ges-input:focus { border-bottom: 2px solid var(--ges-blue) !important; }
#ges-app#ges-app .ges-c .ges-input.is-invalid { border-bottom-color: var(--ges-red) !important; }

/* numbered sections (apply form) */
#ges-app .ges-c-sec { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 30px 0; border-top: 1px solid var(--ges-line); }
#ges-app .ges-hp + .ges-c-sec, #ges-app .ges-c-sec:first-child { border-top: 0; }
#ges-app .ges-c-sec-head { display: flex; flex-direction: column; gap: 6px; }
#ges-app .ges-c-num { font-size: 30px; font-weight: 600; line-height: 1; color: var(--ges-gold); }
#ges-app .ges-c-sec-head strong { font-size: 17px; font-weight: 600; color: var(--ges-ink); }
#ges-app .ges-c-sec-head small { font-size: 13.5px; line-height: 1.5; color: var(--ges-muted); }
#ges-app .ges-c-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--ges-line); }

/* status screens: timeline */
#ges-app .ges-steps { list-style: none !important; margin: 0 0 28px !important; padding: 0 !important; }
#ges-app .ges-steps li { position: relative; display: flex; gap: 14px; margin: 0 !important; padding: 0 0 22px; }
#ges-app .ges-steps li:last-child { padding-bottom: 0; }
#ges-app .ges-steps li::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: var(--ges-line); }
#ges-app .ges-steps li:last-child::before { display: none; }
#ges-app .ges-steps li > span { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; color: #9aa4af; border: 2px solid var(--ges-line); position: relative; z-index: 1; }
#ges-app .ges-steps li > span .ges-ico { width: 16px; height: 16px; }
#ges-app .ges-steps li strong { display: block; color: var(--ges-ink); font-size: 15px; line-height: 1.3; margin-top: 7px; }
#ges-app .ges-steps li small { display: block; color: var(--ges-muted); font-size: 13px; }
#ges-app .ges-steps li.is-done > span { background: var(--ges-green); border-color: var(--ges-green); color: #fff; }
#ges-app .ges-steps li.is-done::before { background: var(--ges-green); }
#ges-app .ges-steps li.is-current > span { border-color: var(--ges-gold); color: #8a6a00; box-shadow: 0 0 0 5px rgba(232, 181, 18, .2); }

/* ==========================================================================
   SIDEBAR PANEL LOOK (Guest Editor panel)
   ========================================================================== */
#ges-app .ges-b { display: flex; align-items: stretch; background: #f5f7f9; border-radius: 20px; overflow: hidden; box-shadow: var(--ges-shadow); min-height: 620px; }
#ges-app .ges-b-side { width: 250px; flex: 0 0 250px; background: #fff; border-right: 1px solid var(--ges-line); padding: 32px 18px; display: flex; flex-direction: column; gap: 26px; }
#ges-app .ges-b-id { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding-bottom: 24px; border-bottom: 1px solid var(--ges-line); }
#ges-app .ges-avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50% !important; object-fit: cover; flex: 0 0 auto; margin: 0 !important; }
#ges-app .ges-initials { background: var(--ges-navy); color: var(--ges-gold); font-weight: 600; }
#ges-app .ges-b-avatar { width: 76px !important; height: 76px !important; font-size: 26px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--ges-gold); }
#ges-app .ges-b-id-text { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
#ges-app .ges-b-id-text strong { font-size: 17px; font-weight: 600; color: var(--ges-ink); line-height: 1.3; word-break: break-word; }
#ges-app .ges-b-badge { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8a6a00; background: #fdf3d6; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
#ges-app .ges-b-nav { display: flex; flex-direction: column; gap: 4px; }
#ges-app .ges-b-nav a, #ges-app .ges-b-out { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: #4a5561 !important; white-space: nowrap; transition: background .2s, color .2s; }
#ges-app .ges-b-nav a:hover { background: #f5f7f9; color: var(--ges-navy) !important; }
#ges-app .ges-b-nav a.is-active { background: #eaf0f6; color: var(--ges-navy) !important; font-weight: 600; }
#ges-app .ges-b-nav a.is-active .ges-ico { color: var(--ges-blue); }
#ges-app .ges-b-out { margin-top: auto; color: var(--ges-muted) !important; }
#ges-app .ges-b-out:hover { background: #fdf1ef; color: var(--ges-red) !important; }

#ges-app .ges-b-main { flex: 1 1 auto; min-width: 0; padding: 34px 40px 40px; display: flex; flex-direction: column; gap: 22px; }
#ges-app .ges-b-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
#ges-app .ges-b-hello { display: block; font-size: 14px; color: var(--ges-muted); }
#ges-app .ges-b-title { margin: 2px 0 0 !important; padding: 0 !important; font-size: 28px !important; line-height: 1.2 !important; font-weight: 600 !important; color: var(--ges-ink) !important; }
#ges-app .ges-b-main > .ges-notice { margin: 0; }

#ges-app .ges-b-card { background: #fff; border-radius: 16px; box-shadow: var(--ges-shadow-s); padding: 28px; margin: 0; }
#ges-app .ges-b-card + .ges-b-card, #ges-app .ges-b-card + .ges-notice { margin-top: 0; }
#ges-app .ges-b-card-title { margin: 0 0 20px !important; font-size: 18px !important; font-weight: 600 !important; color: var(--ges-ink) !important; }
#ges-app .ges-b-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--ges-line); }

/* filled fields */
#ges-app .ges-b .ges-field label, #ges-app .ges-b .ges-label { font-size: 13.5px !important; font-weight: 500 !important; color: var(--ges-ink) !important; }
#ges-app#ges-app .ges-b .ges-input { height: 52px !important; min-height: 0 !important; padding: 0 16px !important; border: 1.5px solid var(--ges-fill) !important; border-radius: 12px !important; background-color: var(--ges-fill) !important; }
#ges-app#ges-app .ges-b textarea.ges-input { height: auto !important; min-height: 110px; padding: 14px 16px !important; line-height: 1.6 !important; }
#ges-app#ges-app .ges-b .ges-story-text { min-height: 240px !important; line-height: 1.7 !important; }
#ges-app#ges-app .ges-b select.ges-input { padding-right: 44px !important; background-position: right 16px center !important; }
#ges-app#ges-app .ges-b .ges-pass .ges-input { padding-right: 48px !important; }
#ges-app#ges-app .ges-b .ges-input:hover { border-color: #dde3e9 !important; }
#ges-app#ges-app .ges-b .ges-input:focus { background-color: #fff !important; border-color: var(--ges-blue) !important; box-shadow: 0 0 0 4px rgba(69, 109, 144, .14) !important; }
#ges-app#ges-app .ges-b .ges-input.is-invalid { border-color: var(--ges-red) !important; }
#ges-app .ges-counter { justify-content: flex-end; }
#ges-app .ges-counter.is-near { color: #8a6a00 !important; }
#ges-app .ges-counter.is-over { color: var(--ges-red) !important; font-weight: 600; }

/* stats */
#ges-app .ges-b-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#ges-app .ges-b-stat { background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: var(--ges-shadow-s); display: flex; align-items: center; gap: 14px; min-width: 0; }
#ges-app .ges-b-stat strong { display: block; font-size: 24px; line-height: 1.1; font-weight: 600; color: var(--ges-ink); }
#ges-app .ges-b-stat span { display: block; font-size: 13px; color: var(--ges-muted); white-space: nowrap; }
#ges-app .ges-b-stat-ic { width: 44px !important; height: 44px; flex: 0 0 44px; border-radius: 12px; display: flex !important; align-items: center; justify-content: center; }
#ges-app .ges-b-stat-ic .ges-ico { width: 20px; height: 20px; }
#ges-app .ges-b-stat-ic.is-blue { background: #eaf0f6; color: var(--ges-blue); }
#ges-app .ges-b-stat-ic.is-green { background: #e3f4ea; color: var(--ges-green); }
#ges-app .ges-b-stat-ic.is-gold { background: #fdf3d6; color: #7a5b00; }

/* story list */
#ges-app .ges-b-list { display: flex; flex-direction: column; gap: 12px; }
#ges-app .ges-b-story { background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: var(--ges-shadow-s); display: flex; align-items: center; gap: 16px; transition: box-shadow .2s, transform .2s; }
#ges-app .ges-b-story:hover { box-shadow: 0 1px 2px rgba(22, 40, 58, .05), 0 16px 30px -18px rgba(22, 40, 58, .35); }
#ges-app .ges-b-story-ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: var(--ges-fill); color: var(--ges-blue); display: flex; align-items: center; justify-content: center; }
#ges-app .ges-b-story-ic .ges-ico { width: 20px; height: 20px; }
#ges-app .ges-b-story-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#ges-app .ges-b-story-main strong { font-size: 15.5px; font-weight: 600; color: var(--ges-ink); line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ges-app .ges-b-story-main span { font-size: 13px; color: var(--ges-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ges-app .ges-b-story-actions { display: flex; gap: 8px; flex: 0 0 auto; }
#ges-app .ges-b-note { margin-top: 2px !important; }
#ges-app .ges-inline-form { margin: 0 !important; display: inline-flex; }
#ges-app#ges-app .ges-act { display: inline-flex !important; align-items: center; gap: 6px; padding: 8px 12px !important; margin: 0 !important; min-height: 0 !important; border-radius: 8px !important; border: 1px solid #dde2e8 !important; background: #fff !important; color: var(--ges-ink) !important; font-size: 13px !important; font-weight: 500 !important; line-height: 1.2 !important; white-space: nowrap; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; transition: border-color .2s, color .2s, background .2s; }
#ges-app#ges-app .ges-act .ges-ico { width: 14px; height: 14px; }
#ges-app#ges-app .ges-act:hover { border-color: var(--ges-blue) !important; color: var(--ges-blue) !important; }
#ges-app .ges-act-danger { color: var(--ges-red) !important; border-color: #f1cdc8 !important; }
#ges-app .ges-act-danger:hover { background: #fdf1ef !important; border-color: var(--ges-red) !important; color: var(--ges-red) !important; }

#ges-app .ges-badge { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; background: var(--ges-fill); color: var(--ges-text); }
#ges-app .ges-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
#ges-app .ges-badge-publish { background: #e3f4ea; color: var(--ges-green); }
#ges-app .ges-badge-update { background: #eaf0f6; color: var(--ges-blue); }
#ges-app .ges-badge-pending { background: #fdf3d6; color: #7a5b00; }
#ges-app .ges-badge-future { background: #eef0fb; color: #3f4aa8; }
#ges-app .ges-badge-draft { background: #fde8dc; color: #9a430b; }
#ges-app .ges-badge-trash { background: #fdf1ef; color: var(--ges-red); }

#ges-app .ges-b-empty { text-align: center; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
#ges-app .ges-b-empty h3 { margin: 6px 0 0 !important; font-size: 19px !important; font-weight: 600 !important; color: var(--ges-ink) !important; }
#ges-app .ges-b-empty p { max-width: 420px; color: var(--ges-muted); margin-bottom: 12px !important; }
#ges-app .ges-b-empty-ic { width: 64px; height: 64px; border-radius: 50%; background: #eaf0f6; color: var(--ges-blue); display: flex; align-items: center; justify-content: center; }
#ges-app .ges-b-empty-ic .ges-ico { width: 28px; height: 28px; }

/* story form + tips */
#ges-app .ges-b-cols { display: flex; gap: 22px; align-items: flex-start; }
#ges-app .ges-b-cols > form { flex: 1 1 auto; min-width: 0; }
#ges-app .ges-b-tips { width: 280px; flex: 0 0 280px; background: var(--ges-navy); border-radius: 16px; padding: 26px 24px; display: flex; flex-direction: column; gap: 16px; }
#ges-app .ges-b-tips-title { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ges-gold); }
#ges-app .ges-b-tip { display: flex; gap: 12px; align-items: flex-start; }
#ges-app .ges-b-tip > span { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: var(--ges-gold); color: var(--ges-navy); display: flex; align-items: center; justify-content: center; }
#ges-app .ges-b-tip > span .ges-ico { width: 13px; height: 13px; stroke-width: 3; }
#ges-app .ges-b-tip p { font-size: 13.5px !important; line-height: 1.55 !important; color: #dbe3ea !important; margin: 0 !important; }
#ges-app .ges-b-file { position: relative; display: flex !important; align-items: center; gap: 14px; padding: 14px 16px !important; border-radius: 12px; background: var(--ges-fill); cursor: pointer; border: 1.5px dashed transparent; transition: border-color .2s, background .2s; text-transform: none !important; letter-spacing: 0 !important; }
#ges-app .ges-b-file:hover { border-color: #c9d4de; }
#ges-app .ges-b-file.has-file { background: #e3f4ea; border-color: #a9d8bb; }
#ges-app .ges-b-file-ic { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 10px; background: #fff; color: var(--ges-blue); display: flex; align-items: center; justify-content: center; }
#ges-app .ges-b-file-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
#ges-app .ges-b-file-text strong { font-size: 14.5px; font-weight: 500; color: var(--ges-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ges-app .ges-b-file-text small { font-size: 12.5px; color: var(--ges-muted); }
#ges-app .ges-b-file-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; background: #fff; color: var(--ges-ink); font-size: 14px; font-weight: 500; white-space: nowrap; }
#ges-app .ges-b-file-btn .ges-ico { width: 16px; height: 16px; }
#ges-app .ges-b-file input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

/* profile */
#ges-app .ges-photo-row { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--ges-line); flex-wrap: wrap; }
#ges-app .ges-photo { width: 84px !important; height: 84px !important; font-size: 28px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--ges-gold); }
#ges-app .ges-photo-row > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

/* ==========================================================================
   RESPONSIVE - based on the space the shortcode actually gets (container),
   so it also looks right inside narrow Elementor columns.
   ========================================================================== */
@container gesapp (max-width: 1060px) {
	#ges-app .ges-b-cols { flex-direction: column; }
	#ges-app .ges-b-tips { width: 100%; flex-basis: auto; }
}
@container gesapp (max-width: 900px) {
	/* sidebar becomes a top bar */
	#ges-app .ges-b { flex-direction: column; min-height: 0; }
	#ges-app .ges-b-side { width: 100%; flex: 0 0 auto; border-right: 0; border-bottom: 1px solid var(--ges-line); padding: 18px 20px 12px; gap: 14px; }
	#ges-app .ges-b-id { flex-direction: row; text-align: left; padding: 0; border: 0; gap: 14px; }
	#ges-app .ges-b-id-text { align-items: flex-start; gap: 4px; }
	#ges-app .ges-b-avatar { width: 52px !important; height: 52px !important; font-size: 18px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ges-gold); }
	#ges-app .ges-b-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 0 -4px; padding: 0 4px; }
	#ges-app .ges-b-nav::-webkit-scrollbar { display: none; }
	#ges-app .ges-b-nav a { padding: 10px 14px; }
	#ges-app .ges-b-out { position: absolute; }
	#ges-app .ges-b-side { position: relative; }
	#ges-app .ges-b-out { top: 22px; right: 16px; margin: 0; padding: 10px 12px; }
	#ges-app .ges-b-main { padding: 24px 20px 28px; }
	#ges-app .ges-c-sec { grid-template-columns: 1fr; gap: 18px; }
	#ges-app .ges-c-sec-head { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
	#ges-app .ges-c-sec-head small { flex-basis: 100%; }
	#ges-app .ges-c-num { font-size: 22px; }
	#ges-app .ges-c-wide .ges-c-band { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@container gesapp (max-width: 700px) {
	#ges-app .ges-b-story { flex-wrap: wrap; }
	#ges-app .ges-b-story-main { flex-basis: calc(100% - 60px); }
	#ges-app .ges-b-story-main strong { white-space: normal; }
	#ges-app .ges-b-story .ges-badge { margin-left: 60px; }
	#ges-app .ges-b-story-actions { margin-left: auto; flex-wrap: wrap; }
	#ges-app .ges-grid-3 { grid-template-columns: 1fr; }
}
@container gesapp (max-width: 560px) {
	#ges-app { font-size: 14.5px; }
	#ges-app .ges-grid { grid-template-columns: 1fr; gap: 20px; }
		#ges-app .ges-c-band, #ges-app .ges-c-wide .ges-c-band { padding: 0 0 24px; }
	#ges-app .ges-c-title, #ges-app .ges-c-wide .ges-c-title { font-size: 27px !important; }
	#ges-app .ges-c-body { padding-top: 24px; } #ges-app .ges-c-wide .ges-c-body { padding-top: 4px; }
	#ges-app .ges-c-foot, #ges-app .ges-b-foot { flex-direction: column-reverse; align-items: stretch; text-align: center; }
	#ges-app .ges-c-foot .ges-btn, #ges-app .ges-b-foot .ges-btn { width: 100%; }
	#ges-app .ges-b { border-radius: 16px; }
	#ges-app .ges-b-title { font-size: 23px !important; }
	#ges-app .ges-b-head .ges-btn { width: 100%; }
	#ges-app .ges-b-card { padding: 20px 18px; }
	#ges-app .ges-b-stats { gap: 8px; }
	#ges-app .ges-b-stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
	#ges-app .ges-b-stat-ic { width: 36px !important; height: 36px; flex-basis: 36px; }
	#ges-app .ges-b-stat strong { font-size: 20px; }
	#ges-app .ges-b-stat span { font-size: 12px; white-space: normal; }
	#ges-app .ges-b-story { padding: 14px 16px; }
	#ges-app .ges-b-story .ges-badge { margin-left: 0; }
	#ges-app .ges-b-story-actions { margin-left: 0; width: 100%; padding-top: 12px; border-top: 1px solid var(--ges-line); }
	#ges-app .ges-b-file { flex-wrap: wrap; }
	#ges-app .ges-b-file-btn { width: 100%; justify-content: center; }
	#ges-app .ges-b-out span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	#ges-app * { transition: none !important; }
}

/* Theme / browser autofill must not repaint our fields */
#ges-app#ges-app .ges-c .ges-input:-webkit-autofill, #ges-app#ges-app .ges-c .ges-input:-webkit-autofill:hover, #ges-app#ges-app .ges-c .ges-input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #f3f3f3 inset !important; -webkit-text-fill-color: #1a1f2b !important; transition: background-color 9999s; }
#ges-app#ges-app .ges-b .ges-input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #f1f4f7 inset !important; -webkit-text-fill-color: #1a1f2b !important; }
#ges-app#ges-app .ges-input::placeholder { color: #9aa4af !important; opacity: 1 !important; }

/* Full width: apply form + panel break out of a narrow page column
   (centred on the page, 24px from the screen edges) */
#ges-app.ges-full {
	width: min(1120px, calc(100vw - 48px)) !important;
	max-width: none !important;
	margin-left: 50% !important;
	margin-right: 0 !important;
	transform: translateX(-50%);
}
#ges-app.ges-full .ges-c-wide { max-width: none; }
