.os-preview-notice { margin: 12px; padding: 10px; border: 1px solid #788458; background: #eef2e3; font: 13px/1.5 sans-serif; }
.os-dialog { position: fixed; inset: 0 auto auto 50%; transform: translateX(-50%); margin: 0; padding: 0; border: 1px solid #777; border-top: 0; border-radius: 0 0 6px 6px; background: #fff; color: #222; box-sizing: border-box; max-width: calc(100vw - 24px); max-height: calc(100vh - 12px); max-height: calc(100dvh - 12px); overflow: auto; box-shadow: 0 6px 24px #0008; font: inherit; }
.os-dialog[open] { animation: os-dialog-down .5s ease-out both; }
.os-dialog::backdrop { background: rgb(0 0 0 / 65%); animation: os-dialog-backdrop .25s ease-out both; }
.os-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; background: #eee; font: bold 12px/1.4 Arial, sans-serif; border-bottom: 1px solid #ccc; }
.os-dialog-close { flex: none; cursor: pointer; border: 0; padding: 0 5px; background: transparent; color: #333; font: 24px/1 sans-serif; }
.os-dialog-close:focus-visible { outline: 2px solid #246527; outline-offset: 2px; }
.os-dialog-body { padding: 10px; overflow-wrap: break-word; }
.os-dialog-body > div { height: auto !important; box-sizing: border-box; max-width: 100%; }
.os-dialog-body table { max-width: 100%; }
.os-dialog.os-dialog-closing { animation: os-dialog-up .18s ease-in both; }
@keyframes os-dialog-down { from { transform: translate(-50%, -100%); opacity: .2; } to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes os-dialog-up { from { transform: translate(-50%, 0); opacity: 1; } to { transform: translate(-50%, -100%); opacity: 0; } }
@keyframes os-dialog-backdrop { from { background: rgb(0 0 0 / 0%); } to { background: rgb(0 0 0 / 65%); } }
@media (prefers-reduced-motion: reduce) { .os-dialog[open], .os-dialog.os-dialog-closing, .os-dialog::backdrop { animation: none; } }

/* Original club form presentation, with one continuously textured native window. */
.os-dialog.os-huntlog-dialog{background:#e4e3bb url(../images/square_back_scheduled.jpg) repeat;font:14px/1.45 Arial,sans-serif;color:#292d22}
.os-huntlog-dialog .os-dialog-header{justify-content:flex-end;background:transparent}
.os-huntlog-dialog .os-dialog-header strong{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.os-huntlog-dialog .os-dialog-body{background:transparent;padding:16px}
.os-huntlog-form-dialog[open]{display:flex;flex-direction:column;height:auto;max-height:calc(100vh - 12px);max-height:calc(100dvh - 12px);overflow:hidden}
.os-huntlog-form-dialog .os-dialog-header{position:absolute;top:5px;right:5px;z-index:2;padding:0;border:0}
.os-huntlog-form-dialog .os-dialog-close{width:30px;height:30px;padding:0}
.os-huntlog-form-dialog .os-dialog-body{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden;padding:0}
.os-huntlog-form-dialog #huntlogFormPanel{display:flex!important;flex-direction:column;flex:1 1 auto;min-height:0;max-height:100%}
.huntlog-entry-form{margin:0;font:13px/1.35 Arial,sans-serif}
.os-huntlog-form-dialog .huntlog-entry-form{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
.huntlog-form-fields{padding:16px 14px 8px}
.os-huntlog-form-dialog .huntlog-form-fields{flex:1 1 auto;min-height:0;overflow:auto}
.huntlog-form-fields h1{margin:0 24px 1px;padding:0;color:#442;font:normal 26px/1.2 Georgia,'Times New Roman',serif;text-align:center}
.huntlog-original-fields{width:100%;table-layout:fixed;border-collapse:collapse;border:0;margin:0}
.huntlog-original-fields th,.huntlog-original-fields td{padding:4px 0;border:0;vertical-align:top}
.huntlog-original-fields .huntlog_form_label{width:78px;padding-right:8px;font:bold 12px/1.4 Arial,sans-serif;text-align:right;white-space:nowrap;overflow-wrap:normal}
.huntlog_form_label small{display:block;font:normal 10px/1.25 Arial,sans-serif;white-space:normal}
.huntlog-entry-form label{margin:0}
.huntlog-entry-form input,.huntlog-entry-form select,.huntlog-entry-form textarea,.huntlog-entry-form button{box-sizing:border-box;font:inherit;max-width:100%}
.huntlog-entry-form select{min-width:0}
.huntlog-entry-form textarea{display:block;width:100%;min-height:80px;resize:vertical}
.huntlog-date-row,.huntlog-weather-line,.huntlog-inline-options,.huntlog-wind-speed{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px}
.huntlog-inline-options label{display:inline-flex;align-items:center;gap:2px;white-space:nowrap;font-weight:normal}
.huntlog-inline-options input,.huntlog-hunter-row input,.huntlog-band-row input{margin:0;flex:none}
.huntlog-date-row [data-huntlog-date]{display:flex;gap:3px;max-width:100%}
.huntlog-date-row [data-huntlog-date] select{width:auto}
#log_blind_id{width:100%}
.huntlog-hunters-and-birds{display:flex;align-items:flex-start;gap:12px}
.huntlog-hunters,.huntlog-birds{flex:1;min-width:0}
.huntlog-hunters>select,.huntlog-birds>select{width:100%;margin-bottom:4px}
.huntlog-hunter-row{display:flex;align-items:flex-start;gap:4px;padding:2px 0;line-height:1.3}
.huntlog-hunter-row input{margin-top:2px}
.huntlog-bird-row{display:flex;align-items:center;gap:4px;padding:2px 0}
.huntlog-bird-row input{order:1;width:50px;flex:none}
.huntlog-bird-row label{order:2;flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px}
.huntlog-bird-row button{order:3;flex:none;border:0;background:transparent;padding:1px 3px;font-size:18px;line-height:1;color:#554b36;cursor:pointer}
.huntlog-bird-total{margin:5px 0 0;padding:3px 0 0;border-top:1px solid #999b77;font-weight:bold}
.huntlog-small-number{width:54px}
.huntlog-wind-speed{font-weight:normal}
.huntlog-form-footer{flex:none;padding:10px 14px 12px;border-top:1px solid #8a8a66}
.huntlog-band-row,.huntlog-band-controls,.huntlog-band-details{display:flex;justify-content:center;flex-wrap:nowrap;align-items:center;gap:7px;min-width:0;margin:4px 0}
.huntlog-band-row>label{display:flex;align-items:center;gap:4px;flex:none;white-space:nowrap;font-size:12px}
.huntlog-band-controls:empty,.huntlog-band-details[hidden]{display:none}
.huntlog-band-controls label{flex:none;white-space:nowrap;font-size:12px}
.huntlog-band-controls select{min-width:0;max-width:65%}
.huntlog-band-details label{flex:none;white-space:nowrap;font-size:12px}
.huntlog-band-details input{min-width:0;width:54%;box-sizing:border-box}
.huntlog-form-actions{display:flex;justify-content:center;gap:8px;margin:10px 0 0;padding:0}
.huntlog-form-actions button{padding:5px 13px;min-height:30px;cursor:pointer}
.huntlog-form-error{margin:0 0 8px;padding:6px;border:1px solid #9b3126;color:#7c2019;background:#fff4df}
@media(max-width:480px){.huntlog-original-fields .huntlog_form_label{width:78px;padding-right:6px;font-size:11px}.huntlog-form-fields{padding:14px 10px 8px}.huntlog-hunters-and-birds{gap:8px}.huntlog-form-fields h1{font-size:25px}.huntlog-entry-form select,.huntlog-entry-form textarea,.huntlog-entry-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]){font-size:16px}.huntlog-date-row [data-huntlog-date] select{font-size:14px}}

.huntlog-read-only-fields{border:0;margin:0;min-inline-size:0}
.huntlog-read-only-band{padding:0}
.huntlog-entry-view :disabled{opacity:1;color:inherit}
.huntlog-entry-view textarea:disabled{resize:none}
.huntlog-entry-form .huntlog-view-meta{margin:0 0 2px;padding:0;text-align:center;line-height:1.25}
.huntlog-entry-form .huntlog-original-fields{margin-block-start:0}
.huntlog-original-fields tr:first-child :is(th,td){padding-top:2px}
.os-huntlog-form-dialog [data-huntlog-delete-form] > .huntlog-entry-view{min-height:0}
.huntlog-entry-view:not(dialog *){max-width:470px;margin-inline:auto}
