/* Order desk, profile appearance and picture previews */
.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
.journal-side-nav .nav-item>span:last-child,
.journal-mobile .nav-item>span:last-child {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.campus-person {
  display:inline-flex;
  align-items:center;
  gap:6px;
  max-width:100%;
  padding:0;
  border:0;
  border-radius:8px;
  background:none;
  color:inherit;
  font:inherit;
  text-align:left;
}
.campus-person .avatar {width:27px;height:27px;flex:none}
.campus-person span:last-child {min-width:0;overflow-wrap:anywhere}
button.campus-person:hover {color:#1d627e}
button.campus-person:focus-visible {outline:2px solid #4989a7;outline-offset:3px}
.orders-heading h1 {margin-top:0}
.order-actions,.order-card-foot,.order-admin-heading {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.order-admin-heading {justify-content:space-between;margin:0 0 14px}
.order-controls {
  display:grid;
  gap:12px;
  margin-bottom:16px;
  padding:14px;
  border:1px solid #dce8ee;
  border-radius:17px;
  background:#fff;
  box-shadow:0 8px 25px #28526c0a;
}
.order-search-row {display:flex;gap:10px;align-items:center}
.order-search {
  display:flex;
  flex:1;
  min-width:0;
  align-items:center;
  gap:5px;
  padding:3px 3px 3px 12px;
  border-radius:12px;
  color:#537283;
  background:#eff5f8;
}
.order-search .field {min-width:0;flex:1;background:none;border:none;box-shadow:none;padding:6px 3px}
.order-search .button {flex:none;min-height:36px;border-radius:9px}
.order-sort {display:flex;align-items:center;gap:7px;flex:none;color:#526b78;font-size:.8rem}
.order-sort .select {width:auto;min-height:38px;border-radius:10px;font-size:.82rem}
.order-tabs {display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:3px;padding:4px;border-radius:10px;background:#edf3f7}
.order-tabs button {
  min-height:36px;
  padding:3px 4px;
  border:0;
  border-radius:8px;
  color:#496172;
  background:transparent;
  font-size:.82rem;
  font-weight:620;
  line-height:1.2;
  overflow-wrap:anywhere;
}
.order-tabs button[aria-pressed=true] {background:white;color:#1e5973;box-shadow:0 2px 10px #1b415517}
.order-tabs button:hover {color:#173e55}
.order-categories {margin:0}
.order-grid {align-items:start}
.order-card {display:grid;gap:10px;padding:16px}
.order-card-head,.order-card-info {display:flex;gap:8px;align-items:center;justify-content:space-between}
.order-card .order-excerpt {
  min-height:0;
  margin:0;
  color:#536872;
  line-height:1.55;
  min-width:0;
  overflow-wrap:anywhere;
}
.order-card h2 {overflow-wrap:anywhere}
.order-card h2 button {text-align:left}
.order-card-info {border-radius:12px;background:#f4f8fa;padding:9px 10px;margin-top:2px}
.order-card-info>div:first-child {min-width:0}
.order-card-info small {display:block;color:#607784;font-size:.73rem;overflow-wrap:anywhere}
.order-card-info .campus-person,.order-anonymous {color:#365768;font-weight:650;font-size:.79rem}
.order-card-info .campus-person .avatar {width:21px;height:21px}
.order-card-info .campus-person span:last-child {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.order-price {min-width:0;text-align:right;flex:none}
.order-price strong {display:block;font-size:1.26rem;font-variant-numeric:tabular-nums;line-height:1.1;color:#a3502e}
.order-card-foot {justify-content:space-between}
.order-card-foot>small {font-size:.76rem;color:#607581}
.order-card-foot .button {min-height:36px;padding-inline:9px;font-size:.78rem}
.journal .order-claim.button.primary,.order-claim.button {background:#236787;color:white;border-color:#236787}
.journal .order-claim.button.primary:hover,.order-claim.button:hover {background:#1b526c}
.order-status {display:inline-flex;flex:none;border-radius:20px;padding:3px 8px;font-size:.73rem;font-weight:660;background:#eaf1f5;color:#4c6575}
.order-status-available {background:#fff2df;color:#8e501c}
.order-status-assigned {background:#e4f2fb;color:#265b7a}
.order-status-completed {background:#e3f2e9;color:#286347}
.order-status-pending {background:#fff3cb;color:#765516}
.order-detail-people {display:flex;gap:14px;margin-top:14px;flex-wrap:wrap}
.order-detail-people>div {display:flex;align-items:center;gap:7px;min-width:0}
.order-detail-people small {color:#5e7683}
.order-thread {
  margin:20px 0 16px;
  padding:12px;
  border:1px solid #dde8ee;
  border-radius:14px;
  background:#f5f9fb;
}
.order-thread .section-heading {margin:0 0 8px}
.order-detail-people .campus-person,.order-message .campus-person {max-width:100%;min-width:0;overflow-wrap:anywhere}
.order-thread h3 {margin:0}
.order-message-list {display:grid;gap:8px;max-height:290px;overflow:auto;overscroll-behavior:contain}
.order-thread-empty {margin:4px}
.order-message {padding:10px 12px;border-radius:11px;background:white;min-width:0}
.order-message header {display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.order-message time {margin-left:auto;color:#5e7583;font-size:.74rem}
.order-message p {margin:5px 0 0;color:#334d5c;white-space:pre-wrap;overflow-wrap:anywhere}
.order-message .button {min-height:28px;margin-top:3px}
.order-message-form {display:flex;gap:8px;align-items:flex-end;margin-top:9px}
.order-message-form textarea {min-width:0;min-height:48px}
.order-message-form .button {flex:none}
.order-settings-form {padding:clamp(12px,2.5vw,20px)}
.order-category-heading {margin:20px 0 10px}
.order-category-row {justify-content:space-between;overflow-wrap:anywhere}

.campus-profile-hero .campus-profile-cover {height:clamp(120px,22vw,228px);position:relative;background:linear-gradient(126deg,#d4e8f4,#e9f4fb 55%,#cce6f0)}
.campus-profile-cover img {display:block;width:100%;height:100%;object-fit:cover}
.campus-profile-cover .profile-cover-edit {
  position:absolute;
  right:14px;
  top:14px;
  min-height:38px;
  color:#254d65;
  border:1px solid #f9fdff;
  border-radius:10px;
  background:#f9fdfff2;
  box-shadow:0 4px 14px #163d5724;
}
.campus-profile-main {position:relative}
.campus-profile-main .profile-author {min-width:0}
.campus-profile-hero .campus-profile-stats {flex-wrap:wrap}
.campus-profile-main .campus-profile-bio {white-space:pre-wrap;overflow-wrap:anywhere}
.campus-profile-hero .campus-own-actions {padding:0 18px 16px;gap:8px}
.campus-profile-name.profile-tone-red,.profile-type-preview.profile-tone-red {--profile-ink:#9f3548;--profile-flash:#bf4c5d}
.campus-profile-name.profile-tone-gold,.profile-type-preview.profile-tone-gold {--profile-ink:#855310;--profile-flash:#976322}
.campus-profile-name.profile-tone-purple,.profile-type-preview.profile-tone-purple {--profile-ink:#5d418f;--profile-flash:#7555a8}
.campus-profile-name.profile-tone-blue,.profile-type-preview.profile-tone-blue {--profile-ink:#1a598b;--profile-flash:#276ea3}
.campus-profile-name.profile-tone-green,.profile-type-preview.profile-tone-green {--profile-ink:#1e6252;--profile-flash:#2b7563}
.campus-profile-name .profile-display-type,.profile-type-preview .profile-display-type {color:var(--profile-ink,#284550)}
.profile-type-motion .profile-display-type {animation:profile-ink-shift 3.8s ease-in-out infinite alternate}
@keyframes profile-ink-shift {
  from {color:var(--profile-ink)}
  to {color:var(--profile-flash);text-shadow:0 0 11px #7d9ec545}
}
.profile-type-preview {padding:13px;border-radius:12px;background:#edf5f9}
.profile-type-preview p {margin:4px 0 0;overflow-wrap:anywhere}
.agent-workbench-card {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0;padding:14px;background:linear-gradient(120deg,#ebf6fd,#fff)}
.agent-workbench-card h2 {margin:0 0 6px;font-size:1rem}
.agent-workbench-card .button {margin-left:auto}
.agent-overview {display:flex;flex-wrap:wrap;gap:7px 18px;margin:0;color:#496676;font-size:.8rem}
.agent-overview>div {display:flex;gap:5px}
.agent-overview dd {margin:0;color:#284d63;font-weight:720}
.profile-dynamic-list {display:grid;gap:11px}
.dynamic-card {padding:14px 16px}
.dynamic-head {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dynamic-head time {color:#5d7381;font-size:.74rem}
.dynamic-card p {margin:9px 0;color:#344f5e;white-space:pre-wrap;overflow-wrap:anywhere}
.dynamic-image-button {display:block;max-width:100%;padding:0;border:0;border-radius:10px;background:none;cursor:zoom-in}
.dynamic-image-button img:not(.campus-admin-thumb) {display:block;max-width:100%;max-height:325px;border-radius:10px}
.dynamic-card .button.danger {margin-top:5px}
.food-comment-form {align-items:center;flex-wrap:wrap}
.food-comment-form .field {min-width:0;flex:1 1 100%}
.food-comment-form .anonymous-choice {margin-right:auto}
.food-detail-actions {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.contest-balance>div:nth-child(2)>strong {font-size:1.35rem;color:#255f7b}
.contestant-report {min-height:30px;margin-top:3px}

.post-image-trigger {position:relative;display:block;width:100%;padding:0;margin:12px 0 0;border:0;border-radius:10px;background:none;cursor:zoom-in}
.post-image-trigger .post-image {margin:0}
.post-image-trigger:has(img[hidden]) {display:none}
.post-image-zoom {
  position:absolute;
  right:8px;
  bottom:8px;
  display:grid;
  width:29px;
  height:29px;
  place-items:center;
  color:white;
  border-radius:50%;
  background:#152b3cbf;
  pointer-events:none;
}
.post-image-zoom .icon {width:15px;height:15px}
.campus-lightbox {
  width:max-content;
  max-width:calc(100vw - 26px);
  max-height:calc(100dvh - 26px);
  overflow:visible;
  padding:0;
  border:0;
  border-radius:12px;
  background:#1a2530;
}
.campus-lightbox::backdrop {background:#101c29e8}
.campus-lightbox img {display:block;max-width:100%;max-height:calc(100dvh - 26px);object-fit:contain;border-radius:12px}
.lightbox-close.button {position:absolute;top:8px;right:8px;z-index:1;background:#1a2530e6;color:white;border-radius:50%}

@media(max-width:680px) {
  .order-grid {grid-template-columns:minmax(0,1fr)}
  .orders-heading {gap:8px;align-items:start}
  .orders-heading>.order-actions {justify-content:flex-end}
  .orders-heading>.order-actions .button {min-height:36px;padding-inline:8px;font-size:.76rem}
  .order-sort-label {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .order-controls {padding:9px;gap:8px}
  .order-card {padding:13px}
  .order-card-foot .order-actions {max-width:100%}
  .order-tabs button {font-size:.73rem}
  .campus-profile-hero .campus-own-actions {padding:0 12px 12px}
  .campus-own-actions .button {min-height:36px;padding-inline:8px;font-size:.77rem}
  .order-category-row .table-actions {flex-shrink:0}
}
@media(max-width:365px) {
  .orders-heading {flex-wrap:wrap}
  .order-search-row {gap:5px}
  .order-search>.icon {display:none}
  .order-search {padding-left:4px}
  .order-search .button {padding-inline:6px}
  .order-sort .select {max-width:95px}
}
@media(prefers-reduced-motion:reduce) {
  .profile-type-motion .profile-display-type {animation:none}
}


.user-id-name {overflow-wrap:anywhere}
.user-id-name.has-id-color {color:var(--id-color-dark)}
.id-color-sky {--id-color:#3985d6;--id-color-dark:#2457a4;color:var(--id-color-dark)}
.id-color-ocean {--id-color:#117aaf;--id-color-dark:#124d78;color:var(--id-color-dark)}
.id-color-cyan {--id-color:#08a8bd;--id-color-dark:#08758b;color:var(--id-color-dark)}
.id-color-teal {--id-color:#149c91;--id-color-dark:#12675f;color:var(--id-color-dark)}
.id-color-mint {--id-color:#39ad82;--id-color-dark:#267253;color:var(--id-color-dark)}
.id-color-green {--id-color:#319153;--id-color-dark:#23613b;color:var(--id-color-dark)}
.id-color-lime {--id-color:#79a52e;--id-color-dark:#536e25;color:var(--id-color-dark)}
.id-color-gold {--id-color:#d5a126;--id-color-dark:#8e6715;color:var(--id-color-dark)}
.id-color-amber {--id-color:#de812c;--id-color-dark:#a14a19;color:var(--id-color-dark)}
.id-color-orange {--id-color:#f07832;--id-color-dark:#ad4d1f;color:var(--id-color-dark)}
.id-color-coral {--id-color:#e9675d;--id-color-dark:#a33e41;color:var(--id-color-dark)}
.id-color-ruby {--id-color:#d73c55;--id-color-dark:#8f2946;color:var(--id-color-dark)}
.id-color-rose {--id-color:#dc5681;--id-color-dark:#9a3d67;color:var(--id-color-dark)}
.id-color-pink {--id-color:#d656ac;--id-color-dark:#913e83;color:var(--id-color-dark)}
.id-color-purple {--id-color:#9657d9;--id-color-dark:#65389e;color:var(--id-color-dark)}
.id-color-violet {--id-color:#7656df;--id-color-dark:#4e3b9d;color:var(--id-color-dark)}
.id-color-indigo {--id-color:#4d62c9;--id-color-dark:#34438c;color:var(--id-color-dark)}
.id-color-silver {--id-color:#8194aa;--id-color-dark:#53677d;color:var(--id-color-dark)}
.id-color-rainbow {--id-color:#8c58d9;--id-color-dark:#318aca;color:var(--id-color-dark)}
.campus-profile-name .profile-display-type.has-id-color,.profile-type-preview .profile-display-type.has-id-color {color:var(--id-color-dark);animation:none}
@supports (background-clip:text) {
  .user-id-name.id-color-motion,.user-id-name.id-color-rainbow {
    background-image:linear-gradient(110deg,var(--id-color-dark) 12%,color-mix(in srgb,var(--id-color) 42%,var(--id-color-dark)) 42%,var(--id-color-dark) 62%);
    background-clip:text;-webkit-text-fill-color:transparent;
  }
  .user-id-name.id-color-rainbow {background-image:linear-gradient(110deg,#9f305c,#955316,#247459,#245fa7,#633cb0,#9f305c)}
  .user-id-name.id-color-motion {background-size:260% 100%}
}
@media(prefers-reduced-motion:no-preference){
  .user-id-name.has-id-color.id-color-motion {animation:id-color-flow 4s ease-in-out infinite alternate}
}
@media(forced-colors:active){.user-id-name.has-id-color {background-image:none;-webkit-text-fill-color:currentColor}}
@keyframes id-color-flow {from{background-position:0% 50%}to{background-position:100% 50%}}
.id-color-palette {min-width:0;margin:0;padding:10px;border:1px solid #e2eaf4;border-radius:14px}
.id-color-palette legend {padding:0 5px;color:#536a84;font-size:.84rem;font-weight:750}
.id-color-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;max-height:300px;overflow:auto;padding:2px}
.id-color-choice {position:relative;display:grid;justify-items:center;gap:4px;min-width:0;padding:6px 3px;border:1px solid #e5ebf3;border-radius:11px;background:#fff;cursor:pointer}
.id-color-choice input {position:absolute;inset:0;opacity:0;cursor:pointer}
.id-color-choice:has(input:checked) {border-color:#6f96d4;background:#f3f7ff;box-shadow:0 0 0 2px #6f96d426}
.id-color-choice:focus-within {outline:2px solid #7397d5;outline-offset:2px}
.id-color-swatch {display:grid;place-items:center;width:36px;height:30px;border-radius:9px;background:color-mix(in srgb,var(--id-color,#91a7c6) 15%,white);color:var(--id-color-dark,#61738a);font-size:.86rem;font-weight:850}
.id-color-swatch.id-color-rainbow {background:linear-gradient(115deg,#fff0df,#e9f7f1,#eae2fc);color:#6238a3}
.id-color-choice small {max-width:100%;color:#74839a;font-size:.64rem;line-height:1.2;text-align:center;overflow-wrap:anywhere}
.id-style-preview {display:flex;align-items:center;gap:10px;padding:11px;border-radius:13px;background:linear-gradient(120deg,#f8fbff,#f5f2ff)}
.id-style-preview>div:last-child {display:grid;gap:3px}
.id-style-preview small {color:#8491a2;font-size:.73rem}
@media(max-width:420px){.id-color-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.id-color-choice{padding:5px 2px}}
.profile-dynamic-empty {display:flex;align-items:center;gap:13px;flex-wrap:wrap;padding:17px;margin-bottom:7px}
.profile-dynamic-empty>div {flex:1;min-width:150px}
.profile-dynamic-empty h3,.profile-dynamic-empty p {margin:0}
.profile-dynamic-empty p {margin-top:2px;color:var(--muted);font-size:.84rem}
.order-price {max-width:52%;overflow-wrap:anywhere;white-space:normal}
.task-detail-reward {overflow-wrap:anywhere}