.smt-app,.smt-app *,.smt-auth,.smt-auth *,.smt-standalone,.smt-standalone *{box-sizing:border-box}.smt-app{--smt-blue:#003f9e;--smt-blue-dark:#002f78;--smt-green:#218a43;--smt-green-dark:#176b32;--smt-soft:#f5f7fb;--smt-text:#152033;--smt-muted:#687387;--smt-border:#e2e8f0;display:grid;grid-template-columns:280px minmax(0,1fr);min-height:78vh;background:linear-gradient(135deg,#f7f9ff,#eef4ff);border-radius:24px;overflow:hidden;box-shadow:0 22px 60px rgba(15,23,42,.12);font-family:Inter,Arial,sans-serif;color:var(--smt-text)}.smt-sidebar{background:linear-gradient(180deg,var(--smt-blue),#002b66);padding:28px 20px;color:#fff}.smt-app-green .smt-sidebar{background:linear-gradient(180deg,var(--smt-green),#104e25)}.smt-brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800;margin-bottom:32px}.smt-brand img{width:34px;height:34px;object-fit:contain}.smt-sidebar nav{display:flex;flex-direction:column;gap:8px}.smt-sidebar a{color:#e9f2ff;text-decoration:none;padding:14px 16px;border-radius:14px;font-weight:700;display:flex;align-items:center;justify-content:space-between}.smt-sidebar a:hover,.smt-sidebar a.is-active{background:rgba(255,255,255,.14);color:#fff}.smt-main{padding:34px;min-width:0}.smt-topbar{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:24px}.smt-kicker{text-transform:uppercase;letter-spacing:.08em;color:var(--smt-muted);font-size:12px;font-weight:800;margin:0 0 5px}.smt-topbar h1{font-size:42px;line-height:1.08;margin:0;color:#090f1f}.smt-user-chip{background:#fff;border:1px solid var(--smt-border);border-radius:999px;padding:10px 16px;font-weight:700;box-shadow:0 6px 20px rgba(15,23,42,.06)}.smt-grid{display:grid;gap:20px}.smt-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.smt-card{background:#fff;border:1px solid var(--smt-border);border-radius:22px;padding:24px;box-shadow:0 12px 32px rgba(15,23,42,.08);margin-bottom:20px}.smt-card h1,.smt-card h2,.smt-card h3{margin-top:0}.smt-profile-card .smt-logo-box,.smt-profile-card .smt-photo-box,.smt-logo-preview,.smt-photo-preview{background:linear-gradient(45deg,#f1f5f9,#fff);border:1px dashed #cbd5e1;border-radius:18px;min-height:120px;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#8a96aa;font-weight:700;margin-bottom:16px}.smt-logo-box img,.smt-logo-preview img{max-width:220px;max-height:120px;object-fit:contain}.smt-photo-box img,.smt-photo-preview img{width:100%;height:220px;object-fit:cover}.smt-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;background:#004aad;color:#fff!important;padding:12px 18px;text-decoration:none!important;font-weight:800;cursor:pointer;transition:.2s ease;line-height:1.2}.smt-btn:hover{transform:translateY(-1px);background:#00357c}.smt-btn-green{background:#218a43}.smt-btn-green:hover{background:#176b32}.smt-progress{height:12px;border-radius:999px;background:#e6edf8;overflow:hidden}.smt-progress span{display:block;height:100%;background:#004aad;border-radius:999px}.smt-progress-green span{background:#218a43}.smt-checklist{padding-left:20px;color:#4b5563}.smt-stat strong{display:block;font-size:44px;color:#004aad}.smt-app-green .smt-stat strong{color:#218a43}.smt-stat span{color:#64748b;font-weight:800}.smt-form{display:flex;flex-direction:column;gap:13px}.smt-form input,.smt-form select,.smt-form textarea,.smt-search-form input,.smt-search-form select,.smt-reply-form textarea{width:100%;border:1px solid #cfd7e4;border-radius:12px;padding:13px 14px;font-size:15px;background:#fff}.smt-form label{font-weight:800;margin-top:4px;color:#334155}.smt-form-logo{display:block;max-width:170px;margin:0 auto 10px}.smt-auth{min-height:72vh;padding:60px 20px;background:linear-gradient(135deg,#004aad,#2a6fd0);display:flex;align-items:flex-start;justify-content:center}.smt-auth-green{background:linear-gradient(135deg,#1b7d2c,#3ea75c)}.smt-auth-dark{background:linear-gradient(135deg,#111827,#374151)}.smt-auth .smt-form,.smt-login-card{max-width:640px;width:100%;background:#fff;border-radius:22px;padding:34px;box-shadow:0 20px 60px rgba(0,0,0,.22)}.smt-auth h2{text-align:center;margin-top:0}.smt-alert{padding:12px 14px;border-radius:12px;background:#eef4ff;color:#11346b;margin:12px 0}.smt-alert-success{background:#e8fff0;color:#11602c}.smt-alert-error{background:#fff0f0;color:#8f1d1d}.smt-upload-compact{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:16px;margin-bottom:20px}.smt-upload-row{display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;align-items:center}.smt-upload-row form{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.smt-standalone{max-width:1100px;margin:40px auto;padding:0 20px;font-family:Inter,Arial,sans-serif}.smt-search-form{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;gap:12px;margin-bottom:20px}.smt-listings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.smt-listing-card{border:1px solid #e2e8f0;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.06)}.smt-listing-img{height:190px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#64748b;font-weight:800}.smt-listing-img img{width:100%;height:100%;object-fit:cover}.smt-listing-logo img{object-fit:contain;padding:24px}.smt-listing-body{padding:18px}.smt-listing-body h3{font-size:22px;margin:0 0 8px}.smt-listing-body p{color:#536176}.smt-pill{display:inline-flex;background:#ecfdf3;color:#176b32;border-radius:999px;padding:6px 10px;font-weight:800}.smt-inline-form{margin-top:12px}.smt-message-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px}.smt-thread-list{border-right:1px solid #e2e8f0;padding-right:14px}.smt-thread-list a{display:block;text-decoration:none;color:#162033;border-radius:14px;padding:12px;margin-bottom:8px;background:#f8fafc;font-weight:800}.smt-thread-list a.is-active,.smt-thread-list a:hover{background:#eaf1ff}.smt-thread-list small{display:block;color:#64748b;font-weight:500;margin-top:4px}.smt-bubbles{display:flex;flex-direction:column;gap:10px;max-height:480px;overflow:auto;padding:8px}.smt-bubble{max-width:75%;padding:12px 14px;border-radius:16px;background:#f1f5f9}.smt-bubble.mine{align-self:flex-end;background:#004aad;color:#fff}.smt-bubble p{margin:0 0 6px}.smt-bubble small{opacity:.75}.smt-reply-form{display:flex;flex-direction:column;gap:10px;margin-top:14px}.smt-admin-list{list-style:none;margin:0;padding:0}.smt-admin-list li{padding:10px 0;border-bottom:1px solid #e2e8f0}@media(max-width:900px){.smt-app{grid-template-columns:1fr}.smt-sidebar{border-radius:0}.smt-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.smt-topbar{display:block}.smt-topbar h1{font-size:32px}.smt-grid-2,.smt-listings,.smt-message-layout,.smt-upload-row{grid-template-columns:1fr}.smt-search-form{grid-template-columns:1fr}.smt-main{padding:22px}.smt-bubble{max-width:92%}}@media(max-width:520px){.smt-sidebar nav{grid-template-columns:1fr}.smt-auth{padding:30px 12px}.smt-auth .smt-form{padding:22px}.smt-topbar h1{font-size:28px}}


/* v1.1 layout polish: full-screen portal, stronger sponsor blue, less dead space */
.smt-app{
    --smt-blue:#004AAD;
    --smt-blue-dark:#002F7F;
    --smt-blue-deep:#001F55;
    --smt-green:#1f8f43;
    width:100vw;
    max-width:none;
    min-height:100vh;
    margin:0 calc(50% - 50vw);
    border-radius:0;
    grid-template-columns:310px minmax(0,1fr);
    background:linear-gradient(135deg,#f8fbff 0%,#edf4ff 45%,#e7f0ff 100%);
    box-shadow:none;
}
.smt-sidebar{
    background:linear-gradient(180deg,#0057D9 0%,#004AAD 42%,#002F7F 100%);
    padding:34px 24px;
    min-height:100vh;
}
.smt-app-green .smt-sidebar{
    background:linear-gradient(180deg,#20964a 0%,#177a38 45%,#0e5527 100%);
}
.smt-brand{font-size:25px;gap:14px;margin-bottom:42px;}
.smt-brand img{width:42px;height:42px;background:#fff;border-radius:8px;padding:3px;}
.smt-sidebar nav{gap:10px;}
.smt-sidebar a{
    text-decoration:none!important;
    padding:16px 18px;
    border-radius:15px;
    font-size:17px;
    background:transparent;
}
.smt-sidebar a:hover,.smt-sidebar a.is-active{
    background:rgba(255,255,255,.18);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}
.smt-main{
    padding:42px 54px 54px;
    min-height:100vh;
    display:flex;
    flex-direction:column;
}
.smt-topbar{margin-bottom:30px;align-items:center;}
.smt-topbar h1{font-size:46px;letter-spacing:-.035em;}
.smt-user-chip{padding:13px 22px;background:#fff;}
.smt-grid{gap:26px;}
.smt-card{border-radius:24px;padding:28px;box-shadow:0 16px 42px rgba(15,23,42,.09);}
.smt-grid-2{grid-template-columns:repeat(2,minmax(320px,1fr));align-items:stretch;}
.smt-grid-2>.smt-card{height:100%;}
.smt-profile-card .smt-logo-box,.smt-profile-card .smt-photo-box{min-height:180px;}
.smt-photo-box img,.smt-photo-preview img{height:260px;}
.smt-btn{background:#004AAD;border-radius:13px;padding:13px 20px;}
.smt-btn:hover{background:#002F7F;}
.smt-progress span{background:#004AAD;}
.smt-stat strong{color:#004AAD;}
.smt-message-layout{grid-template-columns:340px minmax(0,1fr);min-height:520px;}
.smt-message-layout .smt-thread-list{min-height:520px;}
.smt-bubbles{max-height:560px;min-height:220px;}
.smt-reply-form textarea{min-height:130px;}
.smt-listings{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));}
.smt-listing-img{height:230px;}
.smt-standalone{
    width:100vw;
    max-width:none;
    margin:0 calc(50% - 50vw);
    padding:42px 54px;
    min-height:100vh;
    background:linear-gradient(135deg,#f8fbff,#edf4ff);
}
@media(max-width:1100px){
    .smt-app{grid-template-columns:260px minmax(0,1fr);}    
    .smt-main{padding:32px;}
    .smt-topbar h1{font-size:38px;}
}
@media(max-width:900px){
    .smt-app{width:100%;margin:0;grid-template-columns:1fr;}
    .smt-sidebar{min-height:auto;}
    .smt-main{min-height:auto;padding:24px;}
    .smt-grid-2{grid-template-columns:1fr;}
    .smt-message-layout{min-height:auto;}
    .smt-message-layout .smt-thread-list{min-height:auto;}
    .smt-standalone{width:100%;margin:0;padding:24px;}
}

/* v1.2 profile/view actions */
.smt-card-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
    margin-top:16px;
}
.smt-card-actions .smt-inline-form{margin:0;}
.smt-btn-light{
    background:#eef4ff!important;
    color:#004AAD!important;
    border:1px solid rgba(0,74,173,.18)!important;
}
.smt-btn-light:hover{
    background:#dfeaff!important;
    color:#002F7F!important;
}
.smt-detail-card{max-width:none;}
.smt-back-link{
    display:inline-block;
    margin-bottom:18px;
    color:#004AAD;
    font-weight:800;
    text-decoration:none!important;
}
.smt-detail-layout{
    display:grid;
    grid-template-columns:minmax(260px,420px) minmax(0,1fr);
    gap:34px;
    align-items:start;
}
.smt-detail-image{
    min-height:300px;
    border-radius:22px;
    overflow:hidden;
    background:#e8eef7;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    color:#64748b;
}
.smt-detail-image img{
    width:100%;
    height:100%;
    min-height:300px;
    object-fit:cover;
    display:block;
}
.smt-detail-logo img{object-fit:contain;background:#fff;padding:30px;}
.smt-detail-card h2{font-size:38px;margin-bottom:8px;}
.smt-detail-card h3{margin-top:22px;margin-bottom:8px;}
.smt-muted{color:#64748b;font-weight:700;}
.smt-detail-action{margin-top:22px;}
@media(max-width:900px){
    .smt-detail-layout{grid-template-columns:1fr;}
    .smt-detail-card h2{font-size:30px;}
}

/* v1.3 stronger card profile access */
.smt-card-title-link{color:#152033!important;text-decoration:none!important;}
.smt-card-title-link:hover{color:#004AAD!important;text-decoration:underline!important;}
.smt-listing-img-link{text-decoration:none!important;transition:filter .2s ease, transform .2s ease;}
.smt-listing-img-link:hover{filter:brightness(.96);}
.smt-card-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;}
.smt-card-actions .smt-btn{min-width:135px;}

/* v1.4 force profile buttons visible */
.smt-btn-profile{display:inline-flex!important;background:#004AAD!important;color:#fff!important;text-decoration:none!important;border-radius:12px!important;padding:12px 18px!important;font-weight:800!important;min-width:145px!important;justify-content:center!important;}
.smt-btn-profile:hover{background:#00357c!important;color:#fff!important;}

/* v1.5 profile save, sticky sidebar and form readability fixes */
.smt-app{
    align-items:start;
}
.smt-sidebar{
    position:sticky;
    top:0;
    align-self:start;
    height:100vh;
    overflow-y:auto;
    z-index:5;
}
.smt-sidebar nav{
    position:sticky;
    top:110px;
}
.smt-brand{
    position:sticky;
    top:0;
    z-index:6;
    padding-bottom:18px;
    background:linear-gradient(180deg,#0057D9 0%,#0057D9 70%,rgba(0,87,217,0) 100%);
}
.smt-app-green .smt-brand{
    background:linear-gradient(180deg,#20964a 0%,#20964a 70%,rgba(32,150,74,0) 100%);
}
.smt-topbar{
    position:sticky;
    top:0;
    z-index:4;
    padding:18px 0 20px;
    margin-top:-18px;
    background:linear-gradient(180deg,rgba(248,251,255,.98) 0%,rgba(248,251,255,.94) 72%,rgba(248,251,255,0) 100%);
    backdrop-filter:blur(8px);
}
.smt-topbar:before{
    content:"";
    width:46px;
    height:46px;
    flex:0 0 46px;
    order:-1;
    background:url('https://sponsormyteam.co.uk/wp-content/uploads/2025/05/IMG_0526-2.png') center/contain no-repeat #fff;
    border:1px solid var(--smt-border);
    border-radius:12px;
    box-shadow:0 8px 22px rgba(15,23,42,.08);
    margin-right:14px;
}
.smt-topbar > div:first-child{
    margin-right:auto;
}
.smt-form input,
.smt-form select,
.smt-form textarea,
.smt-search-form input,
.smt-search-form select,
.smt-reply-form textarea{
    min-height:52px;
    line-height:1.35!important;
    font-size:16px!important;
    color:#1f2937!important;
    padding:14px 18px!important;
    overflow:visible;
}
.smt-form select,
.smt-search-form select{
    height:56px!important;
    padding-top:0!important;
    padding-bottom:0!important;
    display:block;
}
.smt-form textarea,
.smt-reply-form textarea{
    min-height:150px;
    padding-top:18px!important;
}
.smt-upload-row input[type="file"]{
    min-height:auto!important;
    padding:8px!important;
    color:#1f2937!important;
}
.smt-upload-row{
    grid-template-columns:180px minmax(0,1fr);
}
.smt-upload-row form{
    width:100%;
    display:grid;
    grid-template-columns:minmax(220px,1fr) auto;
    gap:14px;
}
.smt-card h2,
.smt-card h3,
.smt-form label{
    color:#1e293b!important;
}
@media(max-width:900px){
    .smt-sidebar,.smt-brand,.smt-sidebar nav,.smt-topbar{position:relative;top:auto;height:auto;}
    .smt-topbar:before{display:none;}
    .smt-upload-row form{grid-template-columns:1fr;}
}
