.request-entry-toolbar { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; padding:12px 0; }
.request-entry-toolbar[hidden] { display:none; }
.request-entry-toolbar button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 14px; border:1px solid var(--schedule-line); border-radius:6px; font-size:13px; font-weight:650; color:var(--schedule-ink); background:var(--schedule-paper); }
.request-entry-toolbar button:first-child { background:#fbd215; border-color:#fbd215; color:#181818; }
.request-entry-toolbar svg { width:18px; height:18px; flex:0 0 18px; }
.request-entry-facts { padding:8px 12px; display:grid; gap:8px; }
.request-entry-facts dt { color:var(--schedule-muted); font-size:10px; line-height:15px; }
.request-entry-facts dd { color:var(--schedule-ink); font-size:12px; line-height:18px; overflow-wrap:anywhere; white-space:pre-wrap; }
#request-entry-dialog { width:calc(100% - 32px); max-width:700px; height:min(820px,92dvh); max-height:92dvh; margin:auto; padding:0; border:1px solid var(--schedule-line); border-radius:8px; overflow:hidden; background:var(--schedule-paper); color:var(--schedule-ink); color-scheme:light; }
.dark #request-entry-dialog { color-scheme:dark; }
#request-entry-dialog::backdrop { background:#0008; }
#request-entry-dialog form { display:flex; flex-direction:column; height:100%; min-height:0; }
.request-entry-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px 12px 20px; border-bottom:1px solid var(--schedule-line); }
.request-entry-head h2 { font-size:19px; line-height:26px; font-weight:700; margin:0; }
.request-entry-head button { width:44px; height:44px; flex:0 0 44px; display:grid; place-items:center; color:var(--schedule-muted); border-radius:6px; }
.request-entry-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:0 20px; gap:12px; border-bottom:1px solid var(--schedule-line); flex-shrink:0; }
.request-entry-tabs button { min-width:0; min-height:46px; border-bottom:2px solid transparent; font-size:13px; color:var(--schedule-muted); padding:0 2px; }
.request-entry-tabs button[aria-selected="true"] { color:var(--schedule-ink); border-color:#fbd215; font-weight:650; }
.request-entry-scroll { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable; padding:20px; }
.request-entry-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 16px; }
.request-entry-field { min-width:0; }
.request-entry-wide { grid-column:1/-1; }
.request-entry-field label { display:block; color:var(--schedule-muted); font-size:12px; line-height:18px; font-weight:600; margin-bottom:6px; }
#request-entry-dialog input,#request-entry-dialog select,#request-entry-dialog textarea { display:block; min-width:0; max-width:100%; width:100%; min-height:46px; padding:11px 12px; border:1px solid var(--schedule-line); border-radius:6px; font:400 16px/22px Inter,Arial,sans-serif; color:var(--schedule-ink); background:var(--schedule-paper); }
#request-entry-dialog [hidden] { display:none; }
#request-entry-dialog input[type="date"] { appearance:none; -webkit-appearance:none; height:46px; }
#request-entry-dialog input::-webkit-date-and-time-value { text-align:left; }
#request-entry-dialog textarea { resize:vertical; min-height:70px; }
.request-entry-select { position:relative; }
#request-entry-dialog select { appearance:none; -webkit-appearance:none; padding-right:42px; }
.request-entry-select > svg { position:absolute; right:12px; top:50%; transform:translateY(-50%); width:18px; height:18px; pointer-events:none; color:var(--schedule-muted); }
#request-entry-dialog [data-custom-for] { margin-top:8px; }
.request-entry-footer { flex-shrink:0; padding:12px 20px max(16px,env(safe-area-inset-bottom)); border-top:1px solid var(--schedule-line); }
.request-entry-footer p { font-size:12px; line-height:18px; margin:0 0 8px; color:var(--schedule-muted); overflow-wrap:anywhere; }
.request-entry-footer p:empty { display:none; }
.request-entry-footer a { display:block; font-size:13px; text-decoration:underline; margin:8px 0; }
.request-entry-footer button { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:46px; border-radius:6px; background:#fbd215; color:#181818; font-size:14px; font-weight:650; padding:10px; }
#request-entry-dialog button:disabled { opacity:.5; }
#request-entry-dialog :is(input,select,textarea,button):focus-visible { outline:2px solid #b18a00; outline-offset:2px; }
#request-entry-dialog svg { width:20px; height:20px; flex:0 0 20px; }
@media(max-width:600px) {
    #request-entry-dialog { width:100%; max-width:100%; height:94dvh; max-height:94dvh; margin:auto 0 0; border-radius:8px 8px 0 0; }
    .request-entry-scroll,.request-entry-footer { padding-left:16px; padding-right:16px; }
    .request-entry-tabs { gap:6px; padding:0 16px; }
    .request-entry-toolbar { justify-content:stretch; }
    .request-entry-toolbar button { flex:1; min-width:0; padding:10px 8px; }
}
@media(max-width:380px) { .request-entry-fields { grid-template-columns:minmax(0,1fr); } }
