/*
 * NOUN Student Portal 6.15.0 — Services & Orders Focused UX
 * Conversion principle: open -> understand -> act.
 * Final presentation authority only; service/order/payment engines remain unchanged.
 */

/* Compact page introductions — authenticated workspaces do not need marketing-style heroes. */
.nsp-private-workspace .nsw-focus-page-head{margin-bottom:16px!important;min-height:0!important;align-items:center!important}
.nsp-private-workspace .nsw-focus-page-head h1{font-size:1.72rem!important;line-height:1.15!important;margin:0!important}
.nsp-private-workspace .nsw-focus-page-head p{font-size:.92rem!important;line-height:1.45!important;margin:5px 0 0!important;max-width:620px!important;color:var(--nsw-muted)!important}

/* ===== Services: one command surface, then the catalogue ===== */
.nsp-private-workspace .nsw-services-command{display:grid!important;grid-template-columns:minmax(280px,1fr) auto!important;gap:14px!important;align-items:center!important;margin-bottom:14px!important}
.nsp-private-workspace .nsw-service-search-focus{height:50px!important;margin:0!important;min-width:0!important;background:var(--nsw-white)!important}
.nsp-private-workspace .nsw-service-tabs-focus{margin:0!important;padding:5px!important;white-space:nowrap!important}
.nsp-private-workspace .nsw-service-tabs-focus button{min-height:40px!important;padding:8px 13px!important}
.nsp-private-workspace .nsw-service-category-chips{display:flex!important;gap:8px!important;align-items:center!important;overflow-x:auto!important;padding:2px 1px 12px!important;margin:0 0 8px!important;scrollbar-width:thin}
.nsp-private-workspace .nsw-service-category-chips button{flex:0 0 auto!important;min-height:38px!important;padding:8px 13px!important;border:1px solid var(--nsw-border)!important;border-radius:999px!important;background:var(--nsw-white)!important;color:var(--nsw-text)!important;font:750 .79rem/1.1 inherit!important;cursor:pointer!important}
.nsp-private-workspace .nsw-service-category-chips button:is(:hover,.is-active){border-color:#60947d!important;background:#e6f5ed!important;color:#174b37!important}
.nsp-private-workspace .nsw-service-grid-focus{margin-top:0!important}

/* Keep service card content, but make its primary subject much easier to scan. */
.nsp-private-workspace .nsw-service-card{cursor:pointer!important;position:relative!important}
.nsp-private-workspace .nsw-service-card h3{font-size:1.2rem!important;line-height:1.28!important;letter-spacing:-.012em!important;font-weight:820!important;margin-top:10px!important}
.nsp-private-workspace .nsw-service-card:focus-visible{outline:3px solid #69c49b!important;outline-offset:3px!important}
.nsp-private-workspace .nsw-service-card:hover{border-color:#86aa98!important;box-shadow:0 10px 28px rgba(17,57,41,.08)!important;transform:translateY(-1px)!important}
.nsp-private-workspace .nsw-section-heading-focus{margin:8px 0 14px!important}
.nsp-private-workspace .nsw-section-heading-focus h2{font-size:1.15rem!important;margin:0!important}
.nsp-private-workspace .nsw-empty-state-focus{padding:34px 22px!important}

/* ===== Orders: one filter system, concise cards, direct opening ===== */
.nsp-private-workspace .nsw-new-order-button{min-height:42px!important;padding:9px 14px!important;white-space:nowrap!important;justify-self:end!important}
.nsp-private-workspace .nsw-order-attention-bar{display:flex!important;align-items:center!important;gap:10px!important;padding:11px 14px!important;margin:-2px 0 14px!important;border:1px solid #ebce85!important;border-radius:12px!important;background:#fff8e8!important;color:#604512!important;font-size:.86rem!important}
.nsp-private-workspace .nsw-order-attention-bar>span{display:flex!important;width:26px!important;height:26px!important;align-items:center!important;justify-content:center!important}
.nsp-private-workspace .nsw-order-attention-bar svg{width:18px!important;height:18px!important}
.nsp-private-workspace .nsw-order-attention-bar strong{font-size:.87rem!important}
.nsp-private-workspace .nsw-order-attention-bar button{margin-left:auto!important;border:0!important;background:transparent!important;color:#315f49!important;font:800 .8rem/1 inherit!important;cursor:pointer!important;text-decoration:underline!important;text-underline-offset:3px!important}
.nsp-private-workspace .nsw-order-toolbar-focus{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(190px,260px) auto!important;align-items:center!important;gap:14px!important;margin-bottom:15px!important}
.nsp-private-workspace .nsw-order-toolbar-focus .nsw-order-tabs{display:flex!important;gap:7px!important;overflow-x:auto!important;padding:0!important}
.nsp-private-workspace .nsw-order-toolbar-focus .nsw-order-tabs button{flex:0 0 auto!important;min-height:40px!important;padding:8px 12px!important}
.nsp-private-workspace .nsw-order-toolbar-focus .nsw-order-tabs button span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:22px!important;height:22px!important;margin-left:5px!important;padding:0 6px!important;border-radius:999px!important;background:rgba(23,75,55,.08)!important;font-size:.7rem!important}
.nsp-private-workspace .nsw-order-toolbar-focus .nsw-order-search{min-width:0!important;width:100%!important;height:44px!important;margin:0!important}
.nsp-private-workspace .nsw-order-list-focus{gap:12px!important}
.nsp-private-workspace .nsw-order-card-focus{padding:20px 22px!important;cursor:pointer!important;display:block!important}
.nsp-private-workspace .nsw-order-card-focus:focus-visible{outline:3px solid #69c49b!important;outline-offset:3px!important}
.nsp-private-workspace .nsw-order-card-focus:hover{border-color:#86aa98!important;box-shadow:0 9px 25px rgba(17,57,41,.07)!important;transform:translateY(-1px)!important}
.nsp-private-workspace .nsw-order-card-focus.needs-attention{border-left:4px solid #d69c22!important;padding-left:19px!important}
.nsp-private-workspace .nsw-order-focus-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important}
.nsp-private-workspace .nsw-order-focus-head>div{min-width:0!important}
.nsp-private-workspace .nsw-order-focus-head h2{font-size:1.16rem!important;line-height:1.3!important;margin:0!important;font-weight:820!important}
.nsp-private-workspace .nsw-order-focus-head p{font-size:.8rem!important;line-height:1.4!important;margin:5px 0 0!important;color:var(--nsw-muted)!important}
.nsp-private-workspace .nsw-order-focus-bottom{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:16px!important;margin-top:16px!important;padding-top:14px!important;border-top:1px solid var(--nsw-border)!important}
.nsp-private-workspace .nsw-order-focus-meta{display:flex!important;align-items:center!important;gap:13px!important;min-width:0!important;flex-wrap:wrap!important}
.nsp-private-workspace .nsw-order-focus-meta .nsw-order-amount{font-size:1.03rem!important;font-weight:820!important}
.nsp-private-workspace .nsw-order-action-note{font-size:.79rem!important;font-weight:760!important;color:#745313!important}
.nsp-private-workspace .nsw-order-focus-bottom :is(.nsw-primary-button,.nsw-secondary-button){min-height:40px!important;padding:8px 13px!important;white-space:nowrap!important}

/* ===== Individual service: remove identity/reassurance duplication; keep form first ===== */
.nsp-private-workspace .nsw-service-detail-workspace .nsp-svc-whoami{display:none!important}
.nsp-private-workspace .nsw-service-detail-workspace .nsp-checkout-safety{display:none!important}
.nsp-private-workspace .nsw-service-detail-workspace .nsp-service-kicker{display:none!important}
.nsp-private-workspace .nsw-service-detail-workspace .nsp-service-compact{padding:20px 22px!important}
.nsp-private-workspace .nsw-service-detail-workspace .nsp-service-compact-facts{margin-top:13px!important}
.nsp-private-workspace .nsw-service-detail-workspace .nsp-service-compact-facts>span:nth-child(3){display:none!important}
.nsp-private-workspace .nsw-service-detail-workspace .nsp-checkout-panel-head .nsp-checkout-eyebrow{display:none!important}
.nsp-private-workspace .nsw-service-detail-workspace .is-portal-embedded.is-wizard-service .nsp-checkout-panel-head{display:none!important}
.nsp-private-workspace .nsw-service-detail-workspace .nsp-service-more summary small{display:none!important}
.nsp-private-workspace .nsw-service-detail-workspace .nsp-service-more summary{min-height:54px!important}

/* ===== Individual order: preserve status/action/timeline; reduce duplicated explanatory hierarchy ===== */
.nsp-private-workspace .nsw-order-detail .nsw-order-panel-grid{grid-template-columns:1fr!important}
.nsp-private-workspace .nsw-order-detail .nsw-order-panel-grid>.nsw-order-panel-card:nth-child(2){display:none!important}
.nsp-private-workspace .nsw-order-detail .nsw-order-panel-grid>.nsw-order-panel-card:first-child{max-width:none!important}
.nsp-private-workspace .nsw-order-detail .nsw-order-panel-grid>.nsw-order-panel-card:first-child>h2{margin:0 0 14px!important}
.nsp-private-workspace .nsw-order-detail .nsw-order-panel-grid>.nsw-order-panel-card:first-child>.nsw-eyebrow{display:none!important}
.nsp-private-workspace .nsw-order-detail .nsw-order-detail-hero .nsw-eyebrow,
.nsp-private-workspace .nsw-order-detail .nsw-order-next small,
.nsp-private-workspace .nsw-order-detail .nsw-order-section-head .nsw-eyebrow{display:none!important}
.nsp-private-workspace .nsw-order-detail .nsw-order-next{padding:18px 20px!important}
.nsp-private-workspace .nsw-order-detail .nsw-order-next h2{font-size:1.08rem!important;margin:0 0 3px!important}
.nsp-private-workspace .nsw-order-detail .nsw-order-next p{font-size:.84rem!important;margin:0!important}
.nsp-private-workspace .nsw-order-detail .nsw-order-section-head p{font-size:.84rem!important;max-width:650px!important}

[data-theme="dark"] .nsp-private-workspace .nsw-service-category-chips button:is(:hover,.is-active){background:#17382b!important;border-color:#4b8b6e!important;color:#e6f5ed!important}
[data-theme="dark"] .nsp-private-workspace .nsw-order-attention-bar{background:#3a2d12!important;border-color:#705c28!important;color:#f5dfaa!important}
[data-theme="dark"] .nsp-private-workspace .nsw-order-attention-bar button{color:#bcebd4!important}
[data-theme="dark"] .nsp-private-workspace .nsw-order-action-note{color:#f0d58f!important}

@media(max-width:900px){
  .nsp-private-workspace .nsw-services-command{grid-template-columns:1fr!important}
  .nsp-private-workspace .nsw-service-tabs-focus{width:max-content!important;max-width:100%!important;overflow-x:auto!important}
  .nsp-private-workspace .nsw-order-toolbar-focus{grid-template-columns:1fr!important}
  .nsp-private-workspace .nsw-order-toolbar-focus .nsw-order-search{max-width:none!important}
  .nsp-private-workspace .nsw-new-order-button{justify-self:start!important}
}
@media(max-width:720px){
  .nsp-private-workspace .nsw-focus-page-head{align-items:flex-start!important}
  .nsp-private-workspace .nsw-focus-page-head h1{font-size:1.5rem!important}
  .nsp-private-workspace .nsw-service-card h3{font-size:1.1rem!important}
  .nsp-private-workspace .nsw-order-focus-head{gap:10px!important}
  .nsp-private-workspace .nsw-order-focus-head h2{font-size:1.06rem!important}
  .nsp-private-workspace .nsw-order-focus-bottom{align-items:stretch!important;flex-direction:column!important}
  .nsp-private-workspace .nsw-order-focus-bottom :is(.nsw-primary-button,.nsw-secondary-button){width:100%!important}
  .nsp-private-workspace .nsw-new-order-button{width:auto!important}
}
