/* Studby requests reuse the work-tasks board; only request-specific pieces live here. */
.studby-requests-controls{grid-template-columns:minmax(0,1fr)}
.studby-request-sub{margin:0;color:#71808e;font-size:14px}
.studby-request-facts{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.studby-request-fact{min-width:0;display:grid;gap:4px;padding:10px 12px;border:1px solid #e7edf1;border-radius:12px;background:#fafcfd}
.studby-request-fact.is-wide{grid-column:1/-1}
.studby-request-fact small,.studby-request-text small{color:#82919c;font-size:12px;font-weight:700}
.studby-request-fact strong{min-width:0;color:#263b4b;font-size:15px;font-weight:720;overflow-wrap:anywhere}
.studby-request-fact a{color:#257fce;text-decoration:none}.studby-request-fact a:hover{text-decoration:underline}
.studby-request-text{min-width:0;display:grid;gap:6px}
.studby-request-text p{margin:0;color:#354e5e;font-size:15px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.studby-request-files{min-width:0;display:grid;gap:7px;margin:0;padding:0;list-style:none}
.studby-request-files a{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #e7edf1;border-radius:11px;background:#fafcfd;color:#286faa;font-size:14px;font-weight:700;text-decoration:none}
.studby-request-files a:hover{border-color:#bcdcf4;background:#edf7ff}
.studby-request-files span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.studby-request-files small{flex:0 0 auto;color:#82919c;font-size:12px}
.studby-request-head{flex-wrap:wrap}
.studby-request-head>div:first-child{flex:1 1 360px}
.studby-request-head>.studby-request-head-actions{flex:0 0 auto;display:flex;align-items:center;gap:7px;justify-content:flex-end}
.studby-request-head-actions button:disabled{opacity:.55;cursor:wait}
.studby-request-status{display:inline-block;padding:2px 8px;border-radius:8px;background:#f3f6f8;color:#627888;font-weight:700}
.studby-request-status.is-new{background:#eef4f8;color:#526d7d}.studby-request-status.is-taken{background:#edf7ff;color:#286faa}.studby-request-status.is-done{background:#eff8f4;color:#337c5d}.studby-request-status:is(.is-rejected,.is-cancelled){background:#fff0ec;color:#ad5548}
.studby-request-note{margin:0;color:#526b7c;font-size:14px;line-height:1.5}
@media(max-width:700px){.studby-request-head{align-items:stretch;flex-direction:column}.studby-request-head>div:first-child{flex:none}.studby-request-head>.studby-request-head-actions{flex-wrap:wrap;justify-content:flex-start}.studby-request-head-actions button{flex:1 1 auto}}
@media(max-width:400px){.studby-request-facts{grid-template-columns:minmax(0,1fr)}}
html[data-theme="dark"] .studby-request-sub,html[data-theme="dark"] .studby-request-note{color:#9d9da3}
html[data-theme="dark"] .studby-request-fact,html[data-theme="dark"] .studby-request-files a{border-color:#38383a;background:#1c1c1e}
html[data-theme="dark"] .studby-request-fact small,html[data-theme="dark"] .studby-request-text small,html[data-theme="dark"] .studby-request-files small{color:#8e8e93}
html[data-theme="dark"] .studby-request-fact strong,html[data-theme="dark"] .studby-request-text p{color:#ffffff}
html[data-theme="dark"] .studby-request-fact a,html[data-theme="dark"] .studby-request-files a{color:#ffffff}
html[data-theme="dark"] .studby-request-files a:hover{border-color:#173b62;background:#192f47}
html[data-theme="dark"] .studby-request-status{background:#2c2c2e;color:#9d9da3}
html[data-theme="dark"] .studby-request-status.is-taken{background:#192f47;color:#ffffff}
html[data-theme="dark"] .studby-request-status.is-done{background:#1c1c1e;color:#4fd871}
html[data-theme="dark"] .studby-request-status:is(.is-rejected,.is-cancelled){background:#452323;color:#ff6158}
