
:root{
  --swf-bg:#f6f8fb;
  --swf-card:#fff;
  --swf-text:#132033;
  --swf-muted:#6e7887;
  --swf-line:#e4e8ee;
  --swf-green:#087d6f;
  --swf-dark:#112b3d;
  --swf-gold:#d7a02b;
  --swf-red:#be3d3d;
}
.swf-wrap{max-width:1120px;margin:28px auto;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--swf-text)}
.swf-hero{display:flex;align-items:center;gap:18px;background:linear-gradient(135deg,#112b3d,#173e55);color:#fff;border-radius:22px;padding:28px;margin-bottom:18px}
.swf-logo{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;background:#fff;color:var(--swf-dark);font-weight:900;font-size:20px;flex:0 0 auto}
.swf-kicker{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--swf-green);margin-bottom:5px}
.swf-hero .swf-kicker{color:#a9e0d7}
.swf-hero h1,.swf-profile-head h1,.swf-public-title h1{margin:0;line-height:1.15}
.swf-hero p{margin:7px 0 0;color:#d5e0e6}
.swf-card{background:var(--swf-card);border:1px solid var(--swf-line);border-radius:18px;padding:22px;box-shadow:0 10px 30px rgba(17,43,61,.05)}
.swf-form{margin-bottom:18px}
.swf-section-title{font-weight:800;font-size:16px;margin:8px 0 14px;padding-bottom:9px;border-bottom:1px solid var(--swf-line)}
.swf-role-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px}
.swf-role-card{position:relative;border:1px solid var(--swf-line);border-radius:14px;padding:15px;text-align:center;cursor:pointer;font-weight:700;background:#fff}
.swf-role-card input{position:absolute;opacity:0}
.swf-role-card:has(input:checked){border-color:var(--swf-green);background:#edf8f5;color:var(--swf-green)}
.swf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.swf-field{display:flex;flex-direction:column;gap:6px}
.swf-field label{font-size:13px;font-weight:700}
.swf-field input,.swf-field select,.swf-field textarea{width:100%;border:1px solid #d7dde5;border-radius:11px;background:#fff;min-height:44px;padding:10px 12px;font:inherit;box-sizing:border-box}
.swf-field textarea{min-height:100px;resize:vertical}
.swf-field input:focus,.swf-field select:focus,.swf-field textarea:focus{outline:none;border-color:var(--swf-green);box-shadow:0 0 0 3px rgba(8,125,111,.08)}
.swf-checkbox{margin:18px 0}.swf-checkbox label{font-weight:500}
.swf-checkbox input{width:auto;min-height:auto;margin-right:7px}
.swf-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:20px}
.swf-btn{display:inline-flex;align-items:center;justify-content:center;border:none;border-radius:11px;padding:12px 18px;background:var(--swf-green);color:#fff!important;text-decoration:none!important;font-weight:800;cursor:pointer}
.swf-btn-light{background:#eef2f6;color:var(--swf-dark)!important}
.swf-note{padding:15px 17px;border-radius:14px;background:#fff8e6;border:1px solid #f1dda4;color:#6b5721}
.swf-role-fields{display:none}
.swf-result{margin-top:14px;padding:12px 14px;border-radius:10px}
.swf-result.ok{background:#eaf7f3;color:#0d665b}.swf-result.err{background:#fff0f0;color:#9c3333}
.swf-profile-head{display:flex;align-items:center;gap:16px;margin-bottom:18px}
.swf-photo,.swf-public-photo{width:88px;height:88px;border-radius:50%;overflow:hidden;background:#e8eef3;display:grid;place-items:center;font-size:30px;font-weight:900;color:var(--swf-dark);border:4px solid #fff;box-shadow:0 4px 18px rgba(0,0,0,.08)}
.swf-photo img,.swf-public-photo img{width:100%;height:100%;object-fit:cover}
.swf-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.swf-badges span,.swf-code{font-size:11px;padding:6px 9px;border-radius:999px;background:#eef2f6;font-weight:800}
.swf-status.sw-approved,.swf-status.sw-active{background:#e7f6f1;color:#087d6f}
.swf-status.sw-pending{background:#fff4d8;color:#8a6411}.swf-status.sw-inactive{background:#f1f2f4;color:#6f7782}
.swf-password-box{margin-top:18px}
.swf-public-card{background:#fff;border-radius:22px;overflow:hidden;border:1px solid var(--swf-line);box-shadow:0 16px 45px rgba(17,43,61,.08)}
.swf-cover{height:150px;background:linear-gradient(135deg,#0b7d6f,#153a50)}
.swf-public-body{padding:0 28px 28px}.swf-public-photo{width:118px;height:118px;margin-top:-60px}
.swf-public-main{margin-top:14px}.swf-public-title{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.swf-public-title p{margin:7px 0 0;color:var(--swf-muted)}
.swf-about{margin:18px 0;padding:16px;background:#f8fafc;border-radius:12px;line-height:1.6}
.swf-public-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.swf-info{border:1px solid var(--swf-line);border-radius:13px;padding:14px}
.swf-info small{display:block;color:var(--swf-muted);margin-bottom:5px}.swf-info strong{display:block;font-size:14px}
.swf-public-actions{display:flex;gap:10px;margin-top:18px}
.swf-login-wrap{max-width:520px}.swf-login-card{text-align:center}.swf-login-card .swf-logo{margin:0 auto 14px;background:var(--swf-dark);color:#fff}
.swf-login-card input[type=text],.swf-login-card input[type=password]{width:100%;border:1px solid #d7dde5;border-radius:10px;min-height:44px;padding:10px 12px;box-sizing:border-box}
.swf-login-card .login-submit input{width:100%;border:0;background:var(--swf-green);color:#fff;padding:12px;border-radius:10px;font-weight:800}
.swf-login-links{margin-top:14px}
.swf-message{text-align:center}
@media(max-width:760px){
  .swf-wrap{margin:12px}
  .swf-hero{padding:20px;border-radius:16px}.swf-hero h1{font-size:24px}
  .swf-role-grid,.swf-grid,.swf-public-grid{grid-template-columns:1fr}
  .swf-card{padding:16px}
  .swf-public-body{padding:0 18px 20px}
  .swf-public-title{display:block}.swf-code{display:inline-block;margin-top:10px}
}

.swf-inline-note{padding:11px 12px;border-radius:10px;background:#eef7f5;color:#24584f;min-height:44px;box-sizing:border-box}.swf-inline-link{display:inline-block;margin-left:6px;font-weight:800;color:#087d6f!important}

.swf-transfer-notice{margin:0 0 18px;padding:15px 17px;border-radius:14px;background:#fff7df;border:1px solid #eed897;color:#725918}
.swf-transfer-notice strong{display:block;font-size:15px}.swf-transfer-notice p{margin:6px 0 4px;font-weight:700}.swf-transfer-notice small{color:#7c6b3d}
