/* Subtle interaction layer, shared by staff and requester workspaces. */
body{background-color:#f6f8fb;background-image:radial-gradient(ellipse at 90% 0,rgba(189,35,51,.045),transparent 48%),radial-gradient(ellipse at 0 65%,rgba(25,130,137,.035),transparent 42%)}
button,a,input,select,textarea,summary{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 4px 12px #18263812}button:not(:disabled):active{transform:translateY(0) scale(.98)}
:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #248e9270;outline-offset:3px}
.primary{box-shadow:0 3px 9px #bd23331c}.primary:hover{box-shadow:0 5px 16px #bd23332b}
.workspace-tabs button[aria-pressed=true],.personal-tabs button[aria-pressed=true]{background:linear-gradient(120deg,#fff0f1,#fff7f7)}
section[id$="-view"]:not([hidden]),.login-card{animation:surface-enter .24s ease both}
dialog[open]{animation:surface-enter .22s ease both}dialog::backdrop{background:#18233266;backdrop-filter:blur(3px)}
.task-list>article,.request-list>article,.user-list>article{transition:border-color .18s ease,box-shadow .18s ease}.task-list>article:hover,.request-list>article:hover{border-color:#d5bfc4;box-shadow:0 5px 18px #23324309}
.brand strong{font-size:21px;line-height:1.45}.brand small{line-height:1.5}
@keyframes surface-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.brand strong{font-size:16px}.brand{gap:10px}.institution-logo{max-width:145px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Visible workflow illustrations and useful motion, without external dependencies. */
button,summary{position:relative;isolation:isolate}button .motion-icon,summary .motion-icon{display:inline-block;width:20px;height:20px;flex-shrink:0;vertical-align:middle;margin-inline-end:7px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;transition:transform .25s ease}
button:hover .motion-icon{transform:translateY(-2px) rotate(-5deg)}button[aria-pressed=true] .motion-icon{color:#b52c43}.click-wave{pointer-events:none;position:absolute;z-index:-1;inset:0;border-radius:inherit;background:currentColor;opacity:0;animation:button-wave .5s ease-out both}
@keyframes button-wave{0%{opacity:.14;transform:scale(.4)}100%{opacity:0;transform:scale(1)}}
.portal-clock-art{flex-wrap:wrap;align-items:center;gap:0;margin-top:18px}.portal-clock-art .journey-art{width:min(100%,470px);height:auto;display:block;animation:art-arrive .8s cubic-bezier(.2,.65,.3,1) both}.portal-clock-art>div{background:#fff9;border:1px solid #eadde1;border-radius:16px;padding:8px 18px;margin-top:-20px;z-index:1}.portal-clock-art strong{font-size:38px}.portal-clock-art span{font-size:14px}
.workspace-art{width:190px;height:92px;object-fit:contain;order:2;margin-inline-start:auto;animation:art-arrive .7s ease both}.department-context{overflow:hidden}
.portal-auth-card{box-shadow:0 18px 58px #24334709;border-color:#e1e4ed}.portal-choice{transition:transform .23s ease,box-shadow .23s ease,border-color .23s ease!important}.portal-choice:hover{transform:translateY(-4px)!important;border-color:#ba7d8b;box-shadow:0 12px 30px #77263b12}.portal-choice:hover>svg{transform:rotate(-5deg) scale(1.08)}.portal-choice>svg{transition:transform .23s ease}
.portal-modal-body,.modal-body{animation:content-arrive .28s ease both}.portal-request-row,.task-card{animation:content-arrive .32s ease both}.portal-request-row:nth-child(2),.task-card:nth-child(2){animation-delay:.035s}.portal-request-row:nth-child(3),.task-card:nth-child(3){animation-delay:.07s}
.portal-detail-tabs button[aria-pressed=true],.workspace-tabs button[aria-pressed=true]{box-shadow:inset 0 -2px #b9354c,0 3px 10px #9e30420b}.portal-status-track .reached{transition:border-color .3s ease}
form[aria-busy=true] button[type=submit] .motion-icon{animation:busy-orbit .8s linear infinite}form[aria-busy=true]{cursor:progress}
@keyframes busy-orbit{to{transform:rotate(360deg)}}@keyframes art-arrive{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:none}}@keyframes content-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:800px){.workspace-art{width:108px;height:65px}.portal-clock-art{display:flex;margin:10px 0 0;gap:6px;flex-wrap:nowrap}.portal-clock-art .journey-art{width:46%;max-width:180px}.portal-clock-art>div{margin:0;padding:8px 12px;gap:10px}.portal-clock-art strong{font-size:30px}.portal-clock-art span{font-size:13px}.portal-brand>span{font-size:17px}.portal-brand img{width:150px}.portal-intro h1{font-size:29px}.portal-auth{gap:22px}.portal-route{display:none}}
@media print{.workspace-art,.journey-art,.motion-icon,.click-wave{display:none!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.click-wave{display:none}}
.portal-choice{min-width:0;width:100%;max-width:100%;white-space:normal}.portal-choice>span{min-width:0;flex:1}.portal-choice small{white-space:normal!important;overflow-wrap:anywhere;line-height:1.8}.portal-choice strong{white-space:normal;overflow-wrap:anywhere}
