/* v1.4 – Front-end precision fixes and responsive form layout.
   Overrides are intentionally scoped to the relevant components, not original cards/hero artwork. */
.site-header .header-inner{min-height:78px;align-items:center;gap:clamp(9px,1.2vw,24px)}
.site-header .site-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-height:44px;align-self:center}
.site-header .site-header-actions>.site-account{width:42px;height:42px;min-width:42px;min-height:42px;padding:0!important;display:inline-flex;align-items:center;justify-content:center;flex:none;background:transparent!important;border:0!important;border-radius:50%;box-shadow:none!important;line-height:1!important;position:relative;top:0!important;transform:none!important}
.site-header .site-header-actions>.site-account:hover{box-shadow:none!important;background:rgba(80,125,87,.08)!important;transform:none!important}
.site-header .site-account-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:transparent!important;box-shadow:none!important;line-height:1}
.site-header .site-account-avatar .ozs-avatar-guest{background:none;display:grid;place-items:center;color:#3e5b4a}
.site-header .site-account-avatar .ozs-avatar-guest svg{width:31px;height:31px;display:block;overflow:visible;stroke:currentColor}
.site-header .site-account-avatar>img{width:36px;height:36px;border-radius:50%;display:block;object-fit:cover}
.site-header .site-account-avatar>span:not(.ozs-avatar-guest){border-radius:50%;display:grid;place-items:center;width:100%;height:100%;background:#e6eadc}
.site-header .site-account .icon{display:none}
.site-header-actions .notice-trigger,.site-header-actions .ozs-theme-trigger{width:39px;height:39px;flex:none;align-self:center;display:grid;place-items:center}
.site-header .ozs-profile-menu{position:absolute;top:calc(100% + 9px);right:0;z-index:160;min-width:225px}
.site-header .ozs-profile-menu:not(.open){display:none!important}
.site-primary-nav{flex-wrap:nowrap;min-width:0;gap:clamp(0px,.3vw,5px);justify-content:center}
.site-primary-nav .site-nav-link{flex:none;white-space:nowrap;padding-inline:clamp(5px,.6vw,12px)}
.site-primary-nav a.site-nav-link{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.mobile-dropdown a{display:flex;align-items:center;justify-content:space-between;text-decoration:none;color:inherit;padding:11px 18px}
/* Announcements: SVG stroke aligned to geometric center; button stays within the ribbon */
.site-announcement{background:var(--ozs-ann-bg,#eaf0e6)!important;color:var(--ozs-ann-text,#355544)!important;height:auto;min-height:34px}
.site-announcement .announce-inner{min-height:34px;width:min(100%,1070px);padding:3px 44px 3px 20px;position:relative;justify-content:center;flex-wrap:wrap;row-gap:2px;color:inherit;line-height:1.45}
.site-announcement .announce-inner span{color:inherit}
.site-announcement .announce-inner>button:not(.ozs-announcement-close){color:inherit;border-color:rgba(63,93,73,.2)}
.site-announcement .ozs-announcement-close,.site-announcement .announce-inner .ozs-announcement-close{display:grid!important;place-items:center!important;position:absolute!important;right:8px!important;top:50%!important;left:auto!important;transform:translateY(-50%)!important;width:var(--close-size,24px)!important;height:var(--close-size,24px)!important;min-width:0!important;min-height:0!important;max-width:42px!important;max-height:42px!important;margin:0!important;padding:0!important;line-height:0!important;box-shadow:none!important;border-radius:50%!important;cursor:pointer!important;z-index:5}
.site-announcement .ozs-announcement-close svg{display:block!important;position:static!important;width:12px;height:12px;max-width:none;transform:none!important;pointer-events:none}
.site-announcement .ozs-announcement-close:hover{opacity:.76;transform:translateY(-50%)!important}
/* Custom request page: explicit geometry prevents nested generic forms from imposing widths. */
.ozs-custom-page,.ozs-custom-shell,.ozs-custom-panel{min-width:0;width:100%;max-width:100%;box-sizing:border-box}
.ozs-custom-page{display:block}
.ozs-custom-shell{padding:0 clamp(14px,2vw,20px);max-width:1120px;margin-inline:auto}
.ozs-custom-page .view-top{max-width:100%;min-width:0}
.ozs-custom-page .view-top h1{font-size:clamp(27px,3vw,45px);line-height:1.3;overflow-wrap:anywhere}
.ozs-custom-page .ozs-request-hero{min-height:168px;display:flex;align-items:center;padding:clamp(22px,3.4vw,43px);margin:16px 0 24px;width:100%;min-width:0;overflow:hidden}
.ozs-custom-page .ozs-request-hero>div{position:relative;z-index:2;max-width:750px;min-width:0}
.ozs-custom-page .ozs-request-hero h2{font-size:clamp(22px,2.5vw,35px);line-height:1.3;overflow-wrap:anywhere}
.ozs-custom-page .ozs-custom-panel{background:#fff;border:1px solid #e2e9db;border-radius:22px;padding:clamp(17px,2.5vw,32px);box-shadow:0 13px 45px rgba(25,52,30,.07);margin-bottom:48px}
.ozs-custom-page .ozs-custom-intro{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px;margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid #e7ede4}
.ozs-custom-page .ozs-custom-intro h3{font-size:clamp(19px,2vw,26px);line-height:1.4;margin:4px 0 6px;color:#274537}
.ozs-custom-page .ozs-custom-intro p{font-size:13px;color:#6b8170;line-height:1.8;margin:0}
.ozs-custom-page .ozs-template-choices{display:flex;flex-wrap:wrap;gap:7px}
.ozs-custom-page .ozs-form-template-choice{border:1px solid #dce7d9;background:#f6f9f3;border-radius:50px;padding:10px 15px;color:#4d6c54;font-size:12px;cursor:pointer;min-height:39px}
.ozs-custom-page .ozs-form-template-choice.is-active{background:#2b4b38;color:#fff;border-color:#2b4b38;box-shadow:0 3px 0 #1c3429}
.ozs-custom-page .ozs-custom-form{display:block;width:100%;max-width:100%;min-width:0;margin:0!important;padding:0!important;box-shadow:none!important;border:none!important;background:transparent!important}
.ozs-custom-page .ozs-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 20px!important;width:100%;min-width:0;align-items:start}
.ozs-custom-page .ozs-form-grid>label{display:flex;flex-direction:column;gap:7px;min-width:0;max-width:100%;font-size:12px;font-weight:700;color:#314e3d;overflow-wrap:anywhere}
.ozs-custom-page .ozs-form-grid>label.ozs-span{grid-column:1/-1}
.ozs-custom-page .ozs-form-grid input,.ozs-custom-page .ozs-form-grid select,.ozs-custom-page .ozs-form-grid textarea{display:block;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;border:1px solid #d7e3d7;background:#fcfdfb;color:#274334;border-radius:10px;min-height:46px;padding:11px 13px;font-size:13px;line-height:1.5;box-shadow:none;outline:none}
.ozs-custom-page .ozs-form-grid textarea{min-height:168px;resize:vertical;line-height:1.8}
.ozs-custom-page .ozs-form-grid input:focus,.ozs-custom-page .ozs-form-grid select:focus,.ozs-custom-page .ozs-form-grid textarea:focus{border-color:#80aa84;box-shadow:0 0 0 3px #84a98922}
.ozs-custom-page .ozs-form-grid .ozs-hidden-field{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.ozs-custom-page .ozs-form-grid label>small{font-size:11px;line-height:1.5;color:#7a8f7b;font-weight:400}
.ozs-custom-page .ozs-form-note{margin-top:22px;margin-bottom:13px;color:#7a897d}
.ozs-custom-page .ozs-form-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.ozs-custom-page .ozs-form-actions>span{font-size:12px;color:#91a08e}
.ozs-custom-page .ozs-custom-form button[type=submit]{height:46px;min-width:160px}
/* Prevent text and images from forcing horizontal overflow elsewhere */
.ozs-updates-page,.ozs-updates-surface,.ozs-timeline,.ozs-release,.ozs-release-body,.ozs-release-demo,.ozs-release-html,.site-inner-page,.my-app-list,.app-grid{min-width:0;max-width:100%}
.ozs-updates-page .ozs-release-body h3,.ozs-updates-page .ozs-release-body p{overflow-wrap:anywhere}
.ozs-custom-page .website-footer,.ozs-updates-page .website-footer{min-width:0}
@media(max-width:1100px){.site-header .header-inner{gap:8px}.site-primary-nav .site-nav-link{font-size:11px;padding-inline:5px}}
@media(max-width:870px){.site-header .header-inner{justify-content:space-between}.site-primary-nav{display:none!important}.site-header-actions{margin-left:auto}.site-brand-caption{display:none}}
@media(max-width:720px){.ozs-custom-page .ozs-form-grid{grid-template-columns:minmax(0,1fr)!important;gap:13px!important}.ozs-custom-page .ozs-form-grid>label.ozs-span{grid-column:1}.ozs-custom-page .ozs-custom-panel{padding:18px 15px 22px}.ozs-custom-page .ozs-template-choices{width:100%}.ozs-custom-page .ozs-form-template-choice{flex:1;min-width:0;padding:9px 6px;font-size:11px}.ozs-custom-page .ozs-request-hero{padding:24px 18px;margin-top:14px}.ozs-custom-page .ozs-form-actions{align-items:stretch;flex-direction:column}.ozs-custom-page .ozs-form-actions>button{width:100%}.ozs-custom-page .ozs-form-actions>span{text-align:center}.site-announcement .announce-inner{padding:5px 36px 5px 8px;justify-content:center;gap:5px;min-height:38px}.site-announcement .ozs-announcement-close{right:4px!important}.site-header .site-header-actions>.site-account{width:37px;height:37px;min-width:37px;min-height:37px}.site-header-actions .notice-trigger,.site-header-actions .ozs-theme-trigger{height:36px;width:36px}}
@media(max-width:400px){.ozs-custom-shell{padding-inline:10px}.ozs-custom-page .ozs-form-grid input,.ozs-custom-page .ozs-form-grid select,.ozs-custom-page .ozs-form-grid textarea{font-size:16px}.site-announcement .announce-inner>span:nth-of-type(2){font-size:10px;max-width:38vw}.site-announcement .ozs-announcement-close{width:24px!important;height:24px!important}}
@media(prefers-reduced-motion:reduce){.ozs-custom-page *{animation:none!important;transition:none!important}}
