.oacwm-portal{--oacwm-primary:var(--oacwm-primary-color,#3B82F6);max-width:1100px;margin:1.5rem auto;padding:1rem;background:#f7f8fb;color:#111827;font-family:Inter,system-ui,sans-serif}
.oacwm-portal a:focus-visible,.oacwm-button:focus-visible{outline:2px solid #111827;outline-offset:2px}
.oacwm-portal-nav{display:flex;flex-wrap:wrap;gap:.45rem;margin:0 0 1rem}.oacwm-nav-pill{font-size:.88rem;padding:.4rem .75rem;border:1px solid #d1d5db;border-radius:999px;text-decoration:none;color:#374151;background:#fff}.oacwm-nav-pill:hover,.oacwm-nav-pill:focus-visible{border-color:var(--oacwm-primary);color:var(--oacwm-primary)}
.oacwm-section,.oacwm-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 2px 8px rgba(17,24,39,.04)}.oacwm-section{padding:1rem;margin-bottom:.9rem}.oacwm-card{padding:.8rem;margin:.6rem 0}
.oacwm-portal-header{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.oacwm-portal-header h2{font-size:1.6rem;margin:.25rem auto .25rem 0}
.oacwm-status-badge{display:inline-block;font-size:.72rem;font-weight:600;padding:.2rem .5rem;border-radius:999px;border:1px solid transparent}
.oacwm-status-not_started{background:#f3f4f6;color:#374151}.oacwm-status-in_progress{background:#dbeafe;color:#1d4ed8}.oacwm-status-waiting_on_client{background:#ffedd5;color:#9a3412}.oacwm-status-in_review{background:#ede9fe;color:#5b21b6}.oacwm-status-completed{background:#dcfce7;color:#166534}.oacwm-status-on_hold{background:#fee2e2;color:#991b1b}
.oacwm-progress{display:block;width:100%;margin:.7rem 0}
.oacwm-progress-label{font-size:.9rem;color:#4b5563;margin-bottom:.35rem}
.oacwm-progress-track{height:8px;background:#e5e7eb;border-radius:999px;overflow:hidden}
.oacwm-progress-bar{display:block;height:100%;background:var(--oacwm-primary);border-radius:999px}
.oacwm-section-header{display:flex;align-items:center;gap:.45rem;margin:0 0 .55rem}.oacwm-section-icon{font-size:1rem}.oacwm-meta{color:#6b7280;font-size:.86rem;margin:.2rem 0}
.oacwm-button{display:inline-block;padding:.5rem .8rem;border-radius:10px;border:1px solid #cbd5e1;text-decoration:none;font-weight:600;line-height:1.25}
.oacwm-button-primary{background:var(--oacwm-primary);border-color:var(--oacwm-primary);color:#fff}
.oacwm-button-secondary{background:#fff;color:#1f2937}
.oacwm-empty-state{border:1px dashed #cbd5e1;background:#f9fafb;border-radius:10px;padding:.9rem;color:#4b5563}
.oacwm-two-col{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}.oacwm-timeline{border-left:2px solid #e5e7eb;padding-left:.9rem}.oacwm-timeline-item{position:relative;padding:0 0 .8rem .4rem}.oacwm-timeline-item:before{content:'';position:absolute;left:-1.35rem;top:.3rem;width:8px;height:8px;border-radius:999px;background:#9ca3af}
@media (max-width:820px){.oacwm-two-col{grid-template-columns:1fr}.oacwm-portal{padding:.7rem;margin:.7rem auto}.oacwm-portal-userbar{justify-content:flex-end}.oacwm-portal-title{width:100%;margin-right:0}}
.oacwm-notice{display:flex;gap:10px;border:1px solid #d1d5db;border-radius:12px;padding:10px 12px;margin:0 0 12px}.oacwm-notice-icon{font-size:14px;line-height:1.6}.oacwm-notice-title{font-weight:600;display:block}.oacwm-notice-message{margin:2px 0 0;color:#374151}
.oacwm-notice-success{background:#ecfdf5;border-color:#a7f3d0}.oacwm-notice-error{background:#fef2f2;border-color:#fecaca}.oacwm-notice-warning{background:#fffbeb;border-color:#fde68a}.oacwm-notice-info{background:#eff6ff;border-color:#bfdbfe}
.oacwm-workspace-card-header{display:flex;justify-content:space-between;align-items:center;gap:8px}.oacwm-workspace-card-title{margin:0;font-size:1.1rem}.oacwm-workspace-card-description{color:#4b5563;margin:.4rem 0 .7rem}
.oacwm-workspace-card{overflow:visible}
.oacwm-workspace-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:1rem}
.oacwm-workspace-stat{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;padding:8px}
.oacwm-workspace-stat-label{display:block;font-size:.74rem;color:#6b7280}
.oacwm-workspace-stat-value{display:block;font-size:.86rem;color:#111827;font-weight:600}
.oacwm-workspace-card .oacwm-progress{margin:0 0 1rem}
.oacwm-workspace-card .oacwm-button{margin-top:0}
.oacwm-button{cursor:pointer;opacity:1}.oacwm-button-primary{box-shadow:0 1px 2px rgba(0,0,0,.08)}.oacwm-button:hover{filter:brightness(.96)}.oacwm-button-disabled,[aria-disabled='true']{opacity:.45;pointer-events:none;cursor:not-allowed}
.oacwm-portal-header .oacwm-button-secondary{font-size:.8rem;padding:.3rem .55rem}
.oacwm-progress-value{font-weight:600;color:#111827}
.oacwm-button-secondary{color:#1f2937;border-color:#bfc8d4}.oacwm-button-secondary:hover{background:#f8fafc}.oacwm-button-small{font-size:.78rem;padding:.28rem .55rem}
.oacwm-portal .oacwm-button.oacwm-button-primary{background:var(--oacwm-primary)!important;border-color:var(--oacwm-primary)!important;color:#fff!important;opacity:1!important}
.oacwm-portal .oacwm-button.oacwm-button-primary:hover{filter:brightness(.92)}
.oacwm-portal .oacwm-button.oacwm-button-secondary{background:#fff!important;border-color:#bfc8d4!important;color:#1f2937!important;opacity:1!important}
.oacwm-checklist-item .oacwm-status-badge{display:inline-flex;margin-bottom:10px}
.oacwm-checklist-item .oacwm-checklist-action,.oacwm-checklist-item form{margin-top:10px}
.oacwm-checklist-item .oacwm-button{margin-top:8px}
.oacwm-portal-userbar{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.oacwm-portal-title{margin-right:auto;font-size:.9rem;font-weight:600;color:#0f172a}
.oacwm-portal-user-name{color:#64748b;font-size:14px}
.oacwm-logout-button{padding:8px 14px;font-size:14px;line-height:1.2;white-space:nowrap}
.oacwm-login-page{padding:0;min-height:calc(100vh - 120px);display:block;background:linear-gradient(180deg,#f8fafc 0%,#fff 100%);overflow-x:hidden}
.oacwm-login-shell{width:100%;max-width:520px;margin:0 auto;padding:40px 20px;display:block;box-sizing:border-box}
.oacwm-login-intro{display:none}
.oacwm-login-eyebrow{display:block;margin:0 0 1rem;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;color:#1d4ed8;font-weight:800;text-align:center}
.oacwm-login-card{width:100%;max-width:520px;margin:0 auto;box-sizing:border-box;padding:36px;border-radius:22px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 24px 70px rgba(15,23,42,.12);overflow:visible}
.oacwm-login-brand{display:flex;justify-content:center;margin-bottom:.9rem}
.oacwm-login-logo{display:block;max-width:170px;max-height:52px;object-fit:contain}
.oacwm-login-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 18px;
  background:linear-gradient(135deg,#2563eb,#60a5fa);
  box-shadow:0 12px 28px rgba(37,99,235,.22);
}
.oacwm-login-icon,
.oacwm-login-icon span,
.oacwm-login-icon strong{
  color:#fff !important;
  font-weight:800;
  font-size:18px;
  line-height:1;
  letter-spacing:.04em;
}
.oacwm-login-title{font-size:1.5rem;line-height:1.25;margin:0 0 .3rem;text-align:center;color:#0f172a}
.oacwm-login-subtitle{margin:0 0 1.2rem;color:#64748b;text-align:center}
.oacwm-login-benefits-compact{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:18px 0 24px;font-size:13px;color:#334155}
.oacwm-login-form .login-username,.oacwm-login-form .login-password,.oacwm-login-form .login-remember{margin-bottom:.95rem}
.oacwm-login-form label{display:block;font-weight:700;font-size:.86rem;color:#1f2937;margin-bottom:.4rem}
.oacwm-login-card input[type='text'],.oacwm-login-card input[type='password']{width:100%;max-width:100%;box-sizing:border-box;height:48px;padding:0 14px;border:1px solid #d1d5db;border-radius:12px;background:#fff;color:#111827;font-size:15px}
.oacwm-login-form input[type='text']:focus,.oacwm-login-form input[type='password']:focus{border-color:var(--oacwm-primary);outline:0;box-shadow:0 0 0 4px color-mix(in srgb,var(--oacwm-primary) 20%,#fff)}
.oacwm-login-form .login-remember label{display:flex;align-items:center;gap:.5rem;margin-bottom:0;font-size:.92rem;color:#374151}

.oacwm-login-card .login-submit {
  margin: 22px 0 14px !important;
}

.oacwm-login-card form input#wp-submit,
.oacwm-login-card form .login-submit input[type="submit"],
.oacwm-login-card .login-submit .button-primary {
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #2563eb !important;
  background-color: #2563eb !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 50px !important;
  text-align: center !important;
  text-indent: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  cursor: pointer !important;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.oacwm-login-card form input#wp-submit:hover,
.oacwm-login-card form .login-submit input[type="submit"]:hover {
  background: #1d4ed8 !important;
  background-color: #1d4ed8 !important;
  color: #ffffff !important;
}

.oacwm-login-card form input#wp-submit:focus {
  outline: 2px solid #93c5fd !important;
  outline-offset: 3px !important;
}
.oacwm-login-form input[type='checkbox']{width:16px;height:16px;border-color:#cbd5e1;border-radius:4px}
.oacwm-login-form .login-submit{margin-top:1.05rem;margin-bottom:.8rem}
.oacwm-login-card .button-primary,.oacwm-login-card input[type='submit']{width:100%;height:48px;display:block;background:var(--oacwm-primary)!important;border:0!important;color:#fff!important;padding:0 1rem;border-radius:12px;font-weight:700;line-height:48px;text-align:center;cursor:pointer;box-shadow:0 8px 18px rgba(59,130,246,.25)}
.oacwm-login-card .button-primary:hover,.oacwm-login-card input[type='submit']:hover{filter:brightness(.94)}
.oacwm-login-card .button-primary:focus-visible,.oacwm-login-card input[type='submit']:focus-visible{outline:0;box-shadow:0 0 0 4px color-mix(in srgb,var(--oacwm-primary) 28%,#fff),0 8px 18px rgba(59,130,246,.25)}
.oacwm-login-trust{margin:.1rem 0 0;color:#64748b;text-align:center;font-size:.84rem}
.oacwm-login-footer{text-align:center;margin-top:1rem}
.oacwm-login-footer a{font-size:.88rem;color:#64748b;text-decoration:none}
.oacwm-login-footer a:hover,.oacwm-login-footer a:focus-visible{text-decoration:underline;color:#334155}
.oacwm-login-error{margin:0 0 1rem;padding:.72rem .85rem;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;color:#991b1b;font-size:.92rem}

@media (max-width:900px){
  .oacwm-login-page{min-height:auto;overflow-x:hidden}
  .oacwm-login-shell{padding:24px 16px;max-width:520px}
  .oacwm-login-card{padding:24px}
}

.oacwm-workspace-hero{display:flex;flex-wrap:wrap;align-items:flex-start;gap:.75rem;height:auto;min-height:0;overflow:visible}
.oacwm-workspace-hero .oacwm-portal-header{width:100%}
.oacwm-workspace-hero .oacwm-meta{margin:0}
.oacwm-workspace-hero .oacwm-progress{flex:1 1 340px;min-width:260px;margin:.25rem 0 0}
.oacwm-workspace-hero .oacwm-button-primary{margin-left:auto}

@media (max-width:820px){
  .oacwm-workspace-stats{grid-template-columns:1fr}
  .oacwm-workspace-hero{flex-direction:column;align-items:stretch}
  .oacwm-workspace-hero .oacwm-progress{min-width:0;width:100%}
  .oacwm-workspace-hero .oacwm-button-primary{margin-left:0}
}
.oacwm-clean-portal-mode{max-width:1200px;padding:1.25rem;margin:1rem auto;background:#f9fafb}
.oacwm-clean-portal-mode .oacwm-dashboard-header h1{font-size:1.5rem;line-height:1.25;margin:0 0 .2rem}
.oacwm-clean-portal-mode .oacwm-dashboard-header p{color:#6b7280;margin:0}
.oacwm-clean-portal-mode .oacwm-portal-nav{gap:.4rem;margin:0 0 .75rem}
.oacwm-clean-portal-mode .oacwm-section,.oacwm-clean-portal-mode .oacwm-card{border-radius:12px;box-shadow:none;border-color:#e5e7eb}
.oacwm-clean-portal-mode .oacwm-section{padding:.9rem;margin-bottom:.75rem}
.oacwm-clean-portal-mode .oacwm-workspace-card{padding:.85rem 1rem;margin-bottom:14px}
.oacwm-clean-portal-mode .oacwm-workspace-card+.oacwm-workspace-card{margin-top:14px}
.oacwm-clean-portal-mode .oacwm-workspace-card-title{font-size:1.02rem;font-weight:650}
.oacwm-clean-portal-mode .oacwm-workspace-card-description{font-size:.92rem;color:#4b5563;margin:.35rem 0 .55rem}
.oacwm-clean-portal-mode .oacwm-workspace-stats{gap:6px;margin-bottom:.75rem}
.oacwm-clean-portal-mode .oacwm-workspace-stat{background:#fff;border-radius:8px;padding:7px;box-shadow:none}
.oacwm-clean-portal-mode .oacwm-workspace-stat-label{font-size:.7rem;color:#6b7280;text-transform:uppercase;letter-spacing:.02em}
.oacwm-clean-portal-mode .oacwm-workspace-stat-value{font-size:.82rem;font-weight:600;color:#111827}
.oacwm-clean-portal-mode .oacwm-status-badge{font-size:.68rem;padding:.15rem .45rem}
.oacwm-clean-portal-mode .oacwm-progress-track{height:6px;background:#e5e7eb}
.oacwm-clean-portal-mode .oacwm-button{border-radius:8px;padding:.45rem .72rem}
.oacwm-clean-portal-mode .oacwm-button-primary{box-shadow:none}
.oacwm-clean-portal-mode .oacwm-meta{font-size:.82rem;color:#6b7280}
@media (max-width:820px){.oacwm-clean-portal-mode{padding:.75rem;margin:.5rem auto}.oacwm-clean-portal-mode .oacwm-workspace-card{padding:.8rem}.oacwm-clean-portal-mode .oacwm-workspace-stats{grid-template-columns:1fr}}

.oacwm-approval-box{margin-top:12px;padding:10px;border:1px solid #d8e0ea;border-radius:10px;background:#f8fbff}
.oacwm-approval-status{font-weight:600;margin:0 0 8px}
.oacwm-approval-pending{color:#9a6700}.oacwm-approval-approved{color:#166534}.oacwm-approval-changes-requested{color:#b42318}
.oacwm-approval-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.oacwm-approval-button{cursor:pointer;font-size:13px;line-height:1.2;padding:8px 12px;border-radius:8px;font-weight:600}.oacwm-approval-button-approve{background:var(--oacwm-primary)!important;border-color:var(--oacwm-primary)!important;color:#fff!important}.oacwm-approval-button-request{background:#fff!important;border-color:#bfc8d4!important;color:#1f2937!important}
.oacwm-approval-note{width:100%;min-height:80px;margin-top:8px}
.oacwm-toast{position:fixed;right:24px;bottom:32px;z-index:99999;max-width:520px;width:calc(100% - 32px);display:flex;gap:10px;align-items:flex-start;border-radius:14px;padding:12px 14px;border:1px solid;box-shadow:0 16px 40px rgba(15, 23, 42, 0.18);opacity:1;transition:opacity .25s ease,transform .25s ease}
.oacwm-toast-success{background:#ecfdf5;border-color:#86efac}.oacwm-toast-error{background:#fef2f2;border-color:#fca5a5}.oacwm-toast-info{background:#eff6ff;border-color:#93c5fd}
.oacwm-toast-close{margin-left:auto;background:transparent;border:0;font-size:20px;line-height:1;cursor:pointer;color:#4b5563}
.oacwm-toast-hidden{opacity:0;transform:translateY(12px);pointer-events:none}
.oacwm-activity-list{display:flex;flex-direction:column;gap:8px}.oacwm-activity-item{border:1px solid #e5e7eb;border-radius:10px;padding:8px 10px;background:#fff}.oacwm-activity-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.oacwm-activity-badge{font-size:.72rem;background:#f3f4f6;color:#374151;border-radius:999px;padding:2px 8px}
.oacwm-activity-item-hidden{display:none}.oacwm-activity-toggle{margin-top:10px}

.oacwm-workspace-grid{display:grid;gap:28px}
.oacwm-workspace-card{margin-bottom:28px}
.oacwm-workspace-card .oacwm-button,
.oacwm-workspace-card .oacwm-button-primary{margin-top:16px;margin-bottom:8px}
.oacwm-workspace-card+.oacwm-workspace-card{margin-top:32px}

.oacwm-file-link,
.oacwm-important-link {
  color: inherit;
  text-decoration: none;
}

.oacwm-file-link:hover,
.oacwm-important-link:hover {
  text-decoration: underline;
}

#oacwm-client-loginform{margin-top:24px;text-align:left;position:relative;z-index:2;pointer-events:auto}
#oacwm-client-loginform p{margin:0 0 16px}
#oacwm-client-loginform label{display:block;font-weight:600;margin-bottom:8px;color:#1f2937}
#oacwm-user-login,#oacwm-user-pass{width:100%;box-sizing:border-box;border:1px solid #d0d7e2;border-radius:10px;padding:12px 14px;font-size:16px;background:#fff;color:#111827;pointer-events:auto}
#oacwm-client-loginform .login-remember label{display:flex;align-items:center;gap:8px;font-weight:500}
#oacwm-rememberme{pointer-events:auto}
#oacwm-login-submit{width:100%;border:0;border-radius:10px;padding:12px 16px;font-weight:700;cursor:pointer}

.oacwm-portal-page .entry-title,
.oacwm-portal-page .wp-block-post-title{
  text-align:center;
}

.oacwm-portal-page .entry-header,
.oacwm-portal-page .wp-block-post-title,
.oacwm-portal-page .oacwm-portal{
  max-width:1200px;
  margin-left:auto;
  margin-right:auto;
}
