/* Crafto Platform 1.6.7 — shared UI primitives; visual redesign intentionally deferred. */
.authentic-page-shell{overflow:hidden}
.authentic-page-header{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:58px;padding:12px 14px;background:linear-gradient(180deg,#e3e3df 0,#c8c8c3 100%);border-bottom:2px solid #747570}
.authentic-page-header h1{margin:2px 0 0;font-size:20px;line-height:1.15}.authentic-page-header p{margin:4px 0 0;color:#656560;font-size:10px}.authentic-page-header__actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.authentic-page-content{display:grid;gap:14px;padding:16px}
.authentic-toolbar,.authentic-filterbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px;background:#deded9;border:1px solid #979892}
.authentic-list-card{border:1px solid #777872!important;border-left:4px solid #5d6159!important;background:linear-gradient(180deg,#e0e0dc,#d3d3ce)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.75),2px 2px 0 rgba(0,0,0,.16)!important}
.authentic-state-pill{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:3px 8px;border:1px solid #858680;background:#d9d9d4;color:#333;font-size:9px;font-weight:800;line-height:1.2;white-space:nowrap}
.authentic-state-pill--success{background:#d7e3d0;border-color:#758b68;color:#2d4c24}.authentic-state-pill--pending{background:#e7e0c5;border-color:#9b8c56;color:#63521d}.authentic-state-pill--muted{background:#d4d4cf;border-color:#969791;color:#656560}
.authentic-metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.authentic-metric-card{display:grid;gap:4px;padding:11px;background:#deded9;border:1px solid #92938d}.authentic-metric-card span{font-size:9px;text-transform:uppercase;color:#696964}.authentic-metric-card strong{font-size:18px;line-height:1.1}
.authentic-main .authentic-card{border-color:#595a56;box-shadow:var(--auth-panel-shadow)}
.authentic-main .authentic-card__header{min-height:52px;padding:10px 12px}.authentic-main .authentic-card__content{box-sizing:border-box}
.authentic-main .authentic-button{box-sizing:border-box;min-height:34px;align-items:center;justify-content:center}.authentic-main .authentic-button--small{min-height:30px}
.authentic-main .authentic-field>span{display:block;margin-bottom:5px;font-size:9px;font-weight:800;text-transform:uppercase;color:#5e5f5a}.authentic-main .authentic-field input,.authentic-main .authentic-field textarea,.authentic-main .authentic-field select{box-sizing:border-box;width:100%;border:1px solid #858680;background:#f1f1ee;color:#222;box-shadow:inset 1px 1px 0 rgba(0,0,0,.08)}
.authentic-main .authentic-section-title{display:flex;align-items:center;min-height:32px;box-sizing:border-box;border-left:4px solid var(--auth-green);background:#cececa;color:#292a27}
.authentic-empty-state{box-sizing:border-box}.authentic-empty-state__actions{display:flex;justify-content:center;gap:8px;margin-top:10px;flex-wrap:wrap}
@media(max-width:620px){.authentic-page-header{align-items:flex-start;flex-direction:column}.authentic-page-header__actions{width:100%;justify-content:flex-start}.authentic-page-content{padding:10px}.authentic-toolbar,.authentic-filterbar{align-items:stretch;flex-direction:column}}

/* 1.6.5 — semantic action system. Keep legacy Bootstrap classes as compatibility aliases. */
.authentic-button,.authentic-main .btn,.authentic-sidebar .btn,.authentic-admin-page-shell .btn{transition:filter .12s ease,transform .12s ease,background-color .12s ease;gap:6px}
.authentic-button:hover,.authentic-main .btn:hover,.authentic-sidebar .btn:hover{filter:brightness(1.06);text-decoration:none!important}
.authentic-button:active,.authentic-main .btn:active,.authentic-sidebar .btn:active{transform:translate(1px,1px)}
.authentic-button--primary,.authentic .btn-primary{background:#4f8f36!important;border:2px solid #254d18!important;color:#fff!important}
.authentic-button--secondary,.authentic-button--neutral,.authentic .btn:not(.btn-primary):not(.btn-success):not(.btn-warning):not(.btn-danger):not(.btn-info):not(.btn-inverse):not(.btn-link):not(.btn-light):not(.btn-dark):not(.btn-ghost):not(.btn-outline){background:#d8d8d4!important;border:2px solid #63645f!important;color:#222!important}
.authentic-button--success,.authentic .btn-success{background:#4f8f36!important;border:2px solid #254d18!important;color:#fff!important}
.authentic-button--warning,.authentic .btn-warning{background:#c18a2c!important;border:2px solid #754f15!important;color:#1f1608!important}
.authentic-button--danger,.authentic .btn-danger{background:#a8424d!important;border:2px solid #61222a!important;color:#fff!important}
.authentic-button--info,.authentic .btn-info{background:#4e7e9f!important;border:2px solid #294b62!important;color:#fff!important}
.authentic-button--light,.authentic .btn-light{background:#f0f0ed!important;border:2px solid #9b9c96!important;color:#242424!important}
.authentic-button--dark,.authentic .btn-dark,.authentic .btn-inverse{background:#31353a!important;border:2px solid #111315!important;color:#fff!important}
.authentic-button--link,.authentic .btn-link{min-height:auto!important;padding:2px 3px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#3f6f2c!important;text-decoration:underline!important}
.authentic-button--ghost,.authentic .btn-ghost{background:transparent!important;border:2px solid transparent!important;box-shadow:none!important;color:#353633!important}
.authentic-button--outline,.authentic .btn-outline{background:transparent!important;border:2px solid #676862!important;box-shadow:none!important;color:#30312e!important}
.authentic-button[disabled],.authentic .btn[disabled]{opacity:.55!important;cursor:not-allowed!important;filter:none!important;transform:none!important}

.authentic-state-pill--danger{background:#ead3d5;border-color:#a6676f;color:#702b34}.authentic-state-pill--warning{background:#ece0bf;border-color:#a8904e;color:#6d5516}.authentic-state-pill--info{background:#d5e0e8;border-color:#688399;color:#34566e}.authentic-state-pill--dark{background:#4b4e52;border-color:#242629;color:#fff}
.authentic-notice{padding:10px 12px;border:1px solid #92938d;background:#deded9;font-size:10px;line-height:1.5}.authentic-notice--info{border-left:4px solid #4e7e9f;background:#dce4e9}
.authentic-stat-grid,.authentic-admin-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px}.authentic-stat-grid>div,.authentic-admin-stat-grid>div{display:grid;gap:3px;padding:10px 12px;background:#deded9;border:1px solid #969791}.authentic-stat-grid span,.authentic-admin-stat-grid span{font-size:8px;text-transform:uppercase;color:#696964}.authentic-stat-grid strong,.authentic-admin-stat-grid strong{font-size:18px}
.authentic-copy-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.authentic-copy-row input{min-width:0;box-sizing:border-box;width:100%}
.authentic-referrals-layout{display:grid;gap:14px}.authentic-referral-hero{display:grid;grid-template-columns:minmax(200px,.65fr) minmax(280px,1.35fr);gap:14px;align-items:end;padding:14px;background:#e1e1dc;border:1px solid #92938d}.authentic-referral-hero p{margin:4px 0 0;color:#666;font-size:9px}.authentic-referral-code{display:block;margin-top:4px;font-size:23px;letter-spacing:.08em}.authentic-referral-list{display:grid;gap:7px}.authentic-referral-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;background:#deded9;border:1px solid #969791}.authentic-referral-row>div{display:grid;gap:3px}.authentic-referral-row span{font-size:9px;color:#666}
@media(max-width:700px){.authentic-referral-hero{grid-template-columns:1fr}.authentic-copy-row{grid-template-columns:1fr}.authentic-referral-row{grid-template-columns:1fr;align-items:start}}

.authentic-admin-private-profile-notice{margin:0 0 10px}

/* 1.6.6 — account dashboard, notifications and support/admin workspace. */
.authentic-routebar__notifications{position:relative;display:flex;align-items:center}
.authentic-notification-widget{position:relative}.authentic-notification-widget>summary{list-style:none}.authentic-notification-widget>summary::-webkit-details-marker{display:none}
.authentic-notification-widget__button{display:flex;align-items:center;gap:6px;min-height:34px;padding:6px 9px;background:#2c3034;border:2px solid #111;color:#fff;font-size:10px;font-weight:800;cursor:pointer;box-shadow:var(--auth-pixel-shadow)}
.authentic-notification-widget__button b{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;background:#b94b55;border:1px solid #63242b;font-size:9px}
.authentic-notification-widget__panel{position:absolute;z-index:120;right:0;top:calc(100% + 7px);width:min(360px,82vw);background:#e7e7e2;border:2px solid #4f504b;box-shadow:5px 5px 0 rgba(0,0,0,.25)}
.authentic-notification-widget__panel>header{display:flex;align-items:center;justify-content:space-between;padding:9px 10px;background:#cfcfca;border-bottom:1px solid #8b8c86}.authentic-notification-widget__panel>header a{font-size:9px;font-weight:800}
.authentic-notification-widget__list{display:grid;max-height:380px;overflow:auto}.authentic-notification-widget__item{display:grid;gap:3px;padding:9px 10px;border-bottom:1px solid #b2b2ac;color:#30312e;text-decoration:none}.authentic-notification-widget__item:hover{background:#f1f1ed;text-decoration:none}.authentic-notification-widget__item.is-unread{background:#e6eddc;border-left:4px solid #54863d}.authentic-notification-widget__item strong{font-size:10px}.authentic-notification-widget__item span,.authentic-notification-widget__item time{font-size:8px;color:#696964}.authentic-notification-widget__empty{padding:16px;color:#696964;font-size:10px;text-align:center}
.authentic-notification-list{display:grid;gap:8px}.authentic-notification-row{display:grid;grid-template-columns:5px minmax(0,1fr);background:#deded9;border:1px solid #8e8f89}.authentic-notification-row.is-unread{background:#e6eddc}.authentic-notification-row__marker{background:#858680}.authentic-notification-row.is-unread .authentic-notification-row__marker{background:#4f8f36}.authentic-notification-row__body{display:grid;gap:6px;padding:11px 12px}.authentic-notification-row__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.authentic-notification-row__head time{font-size:8px;color:#6d6e68;white-space:nowrap}.authentic-notification-row__body p{margin:0;color:#50514d;font-size:10px;line-height:1.45}.authentic-notification-row__actions{display:flex;gap:6px;flex-wrap:wrap}.authentic-notification-row__actions form{margin:0}
.authentic-account-dashboard{display:grid;gap:12px}.authentic-account-dashboard__metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.authentic-account-metric{display:grid;gap:4px;padding:11px;background:#deded9;border:1px solid #92938d}.authentic-account-metric span{font-size:8px;color:#6a6b66;text-transform:uppercase}.authentic-account-metric strong{font-size:22px;line-height:1}.authentic-account-dashboard__grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:12px}.authentic-account-dashboard__stack{display:grid;gap:12px}.authentic-account-actions{display:flex;gap:7px;flex-wrap:wrap}.authentic-activity-list{display:grid;gap:0;border:1px solid #999a94}.authentic-activity-item{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;padding:8px 10px;border-bottom:1px solid #b7b7b2;background:#e2e2dd}.authentic-activity-item:last-child{border-bottom:0}.authentic-activity-item time{font-size:8px;color:#6b6c67}.authentic-activity-item strong{font-size:10px}.authentic-security-summary{display:grid;gap:7px}.authentic-security-summary>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 9px;background:#deded9;border:1px solid #9c9d97}.authentic-security-summary span{font-size:8px;text-transform:uppercase;color:#696964}.authentic-security-summary strong{font-size:10px;text-align:right}
.authentic-friends-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px;padding:7px;background:#d2d2cd;border:1px solid #94958f}.authentic-friends-tabs a{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:5px 9px;border:1px solid #747570;background:#e6e6e2;color:#2e2f2c;font-size:9px;font-weight:800;text-decoration:none}.authentic-friends-tabs a.is-active{background:#4f8f36;border-color:#254d18;color:#fff}.authentic-friends-tabs b{min-width:18px;text-align:center}
.authentic-admin-user360{display:grid;gap:12px}.authentic-admin-user360__hero{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;background:#deded9;border:1px solid #8f908a}.authentic-admin-user360__avatar{width:72px;height:72px;object-fit:cover;image-rendering:pixelated;border:2px solid #555651}.authentic-admin-user360__identity{display:grid;gap:3px}.authentic-admin-user360__identity h1{margin:0;font-size:20px}.authentic-admin-user360__actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.authentic-admin-user360__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.authentic-admin-kv{display:grid;border:1px solid #999a94}.authentic-admin-kv>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:8px;padding:7px 9px;border-bottom:1px solid #b7b7b2;background:#e2e2dd}.authentic-admin-kv>div:last-child{border-bottom:0}.authentic-admin-kv dt{font-size:8px;color:#666;text-transform:uppercase}.authentic-admin-kv dd{margin:0;font-size:10px;overflow-wrap:anywhere}.authentic-admin-search-results{display:grid;gap:8px}.authentic-admin-search-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;background:#deded9;border:1px solid #8f908a}.authentic-admin-search-result__meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px;color:#666;font-size:8px}
.authentic-notification-preferences{display:grid;gap:7px}.authentic-notification-preferences label{display:flex;align-items:center;gap:8px;padding:8px 9px;background:#deded9;border:1px solid #969791;font-size:10px}.authentic-security-page{display:grid;gap:12px}.authentic-login-history{display:grid;gap:7px}.authentic-login-history>article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;background:#deded9;border:1px solid #969791}.authentic-login-history time{font-size:8px;color:#666}
@media(max-width:900px){.authentic-account-dashboard__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.authentic-account-dashboard__grid,.authentic-admin-user360__grid{grid-template-columns:1fr}.authentic-admin-user360__hero{grid-template-columns:64px minmax(0,1fr)}.authentic-admin-user360__actions{grid-column:1/-1;justify-content:flex-start}.authentic-admin-user360__avatar{width:64px;height:64px}}
@media(max-width:620px){.authentic-account-dashboard__metrics{grid-template-columns:1fr 1fr}.authentic-activity-item{grid-template-columns:1fr;gap:2px}.authentic-notification-row__head{flex-direction:column;gap:3px}.authentic-admin-kv>div{grid-template-columns:1fr}.authentic-notification-widget__panel{position:fixed;left:10px;right:10px;top:86px;width:auto}}

/* 1.6.7 — functional player stats / integration surfaces. Visual polish intentionally deferred. */
.authentic-stat-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.authentic-stat-summary>div{display:grid;gap:3px;padding:8px 9px;background:#deded9;border:1px solid #969791}.authentic-stat-summary span{font-size:8px;text-transform:uppercase;color:#696964}.authentic-stat-summary strong{font-size:10px;overflow-wrap:anywhere}
.authentic-profile-info-list{display:grid;border:1px solid #999a94}.authentic-profile-info-list>div{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px;padding:8px 10px;border-bottom:1px solid #b7b7b2;background:#e2e2dd}.authentic-profile-info-list>div:last-child{border-bottom:0}.authentic-profile-info-list dt{font-size:8px;text-transform:uppercase;color:#666}.authentic-profile-info-list dd{margin:0;font-size:10px;overflow-wrap:anywhere}
.authentic-admin-list{display:grid;gap:7px}.authentic-admin-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;background:#deded9;border:1px solid #969791}.authentic-admin-list-item>div{display:grid;gap:3px}.authentic-admin-list-item small{font-size:8px;color:#666;overflow-wrap:anywhere}
@media(max-width:700px){.authentic-stat-summary{grid-template-columns:1fr 1fr}.authentic-profile-info-list>div{grid-template-columns:1fr}.authentic-admin-list-item{grid-template-columns:1fr}}

/* Crafto 1.6.7.2 — routebar notification control matches navigation geometry. */
.authentic-main>.authentic-routebar .authentic-routebar__notifications{display:flex;align-items:stretch;min-height:40px}
.authentic-main>.authentic-routebar .authentic-notification-widget{display:flex;align-items:stretch;min-height:40px}
.authentic-main>.authentic-routebar .authentic-notification-widget>summary{box-sizing:border-box}
.authentic-main>.authentic-routebar .authentic-notification-widget__button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;height:40px;padding:8px 11px;background:#deded9;border:1px solid #575854;color:#1a1b1d;font-size:13px;font-weight:700;line-height:1.2;box-shadow:inset 1px 1px 0 rgba(255,255,255,.86),inset -1px -2px 0 rgba(0,0,0,.12);cursor:pointer}
.authentic-main>.authentic-routebar .authentic-notification-widget__button:hover,.authentic-main>.authentic-routebar .authentic-notification-widget[open]>.authentic-notification-widget__button{background:#58a737;color:#fff}
.authentic-notification-widget__icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex:0 0 16px}.authentic-notification-widget__icon svg{display:block;width:16px;height:16px;fill:currentColor}
.authentic-main>.authentic-routebar .authentic-notification-widget__button b{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 4px;margin-left:1px;background:#a8424d;border:1px solid #61222a;color:#fff;font-size:9px;line-height:1;box-sizing:border-box}
@media(max-width:980px){.authentic-main>.authentic-routebar .authentic-routebar__notifications,.authentic-main>.authentic-routebar .authentic-notification-widget,.authentic-main>.authentic-routebar .authentic-notification-widget__button{width:100%}.authentic-main>.authentic-routebar .authentic-notification-widget__button{justify-content:flex-start}}

/* Crafto Platform 1.7.0 — notification panel contrast. */
.authentic-notification-widget__panel{color:#242522!important;background:#e7e7e2!important}
.authentic-notification-widget__panel>header{color:#20211f!important;background:#cfcfca!important}.authentic-notification-widget__panel>header strong,.authentic-notification-widget__panel>header a{color:#20211f!important}
.authentic-notification-widget__item{color:#30312e!important}.authentic-notification-widget__item strong{color:#20211f!important}.authentic-notification-widget__item span,.authentic-notification-widget__item time{color:#5d5f59!important}

/* Crafto Platform — referral campaigns */
.authentic-referrals-page[data-referral-system="1.1"] .authentic-referral-code{font-size:20px;letter-spacing:.02em;word-break:break-all}
.authentic-referrals-page[data-referral-system="1.1"] code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px}
.authentic-referrals-page[data-referral-system="1.1"] .authentic-stat-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
