/* DMS 1.9 / mobile-first safe rendering and minimal surfaces */
:root{--dms-v19-cyan:#56c9e9}
html,body{overflow-x:hidden!important}#main,.app-shell{min-width:0;max-width:100%;overflow-x:clip}.v19-page{padding:12px 14px 25px;max-width:100%;min-width:0;color:#e7f1f9}.v19-head{display:flex;align-items:center;gap:10px;margin:0 0 18px}.v19-head h1{margin:0;flex:1;font-weight:800;letter-spacing:-.03em;font-size:24px}.v19-back{width:38px;height:40px;border:0;background:transparent;color:#bddce9;padding:6px;display:grid;place-items:center}.v19-back svg{width:26px;height:26px}.v19-leaders-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v19-lead-feature{margin-bottom:20px}.v19-leader-card{position:relative;min-width:0;aspect-ratio:4/5;border-radius:17px;overflow:hidden;background:#182535;border:1px solid #355069}.v19-lead-feature .v19-leader-card{aspect-ratio:5/4;max-height:450px}.v19-leader-card img{width:100%;height:100%;object-fit:cover;display:block}.v19-leader-card>div{position:absolute;bottom:0;left:0;right:0;min-height:70px;display:grid;align-content:end;gap:3px;padding:24px 12px 13px;background:linear-gradient(transparent,#06111bea);text-shadow:0 1px 4px #000}.v19-leader-card strong{font-size:17px}.v19-leader-card span{color:#c8d7e3;font-size:11px}.v19-lead-feature strong{font-size:23px}.v19-lead-feature span{font-size:14px}.v19-rule-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -14px 12px;padding:0 14px 8px}.v19-rule-tabs button{border:1px solid #40596a;background:#172a39;color:#e3f2fa;border-radius:999px;white-space:nowrap;padding:10px 14px;flex-shrink:0}.v19-rule-tabs button.active{background:#ad131b;color:white;border-color:#e83b42}.v19-founder-pages{display:grid;gap:14px}.v19-founder-pages figure{margin:0;background:#f8f8f8;overflow:hidden;border-radius:4px}.v19-founder-pages img{display:block;width:100%;height:auto;object-fit:contain}.v19-founder-pages a{display:block;text-decoration:none;text-align:center;padding:13px;background:#142636;color:#e7f7ff;font-weight:700}.v19-rule-sheet{background:white url('/assets/rules-background-original.png') center top/100% 100% no-repeat;color:#1b1c20;padding:28px 7% 70px}.v19-rule-brand{display:grid;place-items:center;text-align:center;gap:8px;margin-bottom:16px}.v19-rule-brand img{width:80px;height:auto}.v19-rule-brand strong{font-weight:900;color:#b40000;font-style:italic;font-size:clamp(17px,3.7vw,24px)}.v19-rule-entry{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;border-bottom:1px solid #dc3636;padding:17px 0}.v19-rule-entry>span{border-radius:50%;width:32px;height:32px;display:grid;place-items:center;background:#b40000;color:white;font-size:17px;font-weight:900}.v19-rule-entry h3{font-size:15px;font-weight:900;font-style:italic;color:#a60000;margin:0 0 8px}.v19-rule-entry p{font-size:14px;line-height:1.45;margin:4px 0 6px;color:#161616}.v19-action{width:100%;border:1px solid #38829a;background:#17687d;color:white;border-radius:12px;min-height:44px;font-weight:800;margin:12px 0}.v19-att-date{display:flex;align-items:center;gap:4px;border:1px solid #35546a;border-radius:13px;background:#142634;padding:6px 7px}.v19-att-date>button{background:#254153;color:white;border:1px solid #405f71;border-radius:9px;height:39px;min-width:36px;font-size:26px;font-weight:800;flex:none}.v19-att-date .v19-play-reset{font-size:18px;background:#185c72;min-width:39px}.v19-att-date .v19-done{background:#177f86;font-size:13px;min-width:43px}.v19-att-date .v19-done:disabled{opacity:.4}.v19-date-display{font-size:12px;font-weight:750;flex:1;min-width:0;position:relative;text-align:center;white-space:nowrap}.v19-date-display input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.v19-att-progress{display:flex;align-items:center;justify-content:space-between;padding:15px 2px}.v19-att-progress strong{color:#81e3f8;font-size:22px}.v19-att-progress span{color:#a1b4c7;font-size:11px}.v19-att-list{display:grid;gap:7px}.v19-att-row{display:flex;gap:7px;align-items:center;background:#132332;border:1px solid #2c4558;padding:6px;border-radius:12px;flex-wrap:wrap}.v19-att-person{display:flex;align-items:center;gap:8px;min-width:90px;flex:1 1 120px;min-height:43px;background:#1e3343;border:1px solid #325165;border-radius:10px;color:#f0faff;padding:7px 9px;text-align:left}.v19-att-person b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;font-size:13px}.v19-att-person small{font-size:10px;color:#b1c7d6}.v19-att-person span{width:15px}.v19-att-person.present{background:#125c4c;border-color:#25ae87}.v19-att-person:disabled{opacity:.6}.v19-att-exc{display:flex;align-items:center;gap:4px;font-size:11px;color:#d2e6f2;white-space:nowrap}.v19-att-exc input{width:18px;height:18px;accent-color:#54cde3}.v19-att-reason{width:108px;flex:1 1 90px;min-width:65px;max-width:180px;min-height:39px;background:#0a1b28;border:1px solid #486375;border-radius:8px;padding:5px 8px;color:white}.v19-history{display:block;margin:15px 0;border:1px solid #38556a;background:#1a3445;color:#e5f6ff;border-radius:11px;padding:13px 15px;width:100%;text-align:left}.v19-history-overlay{position:fixed;inset:0;z-index:150;background:#02080acc;display:grid;align-items:end;justify-items:center}.v19-history-dialog{width:min(650px,100%);max-height:85dvh;overflow-y:auto;background:#142533;color:#eff9ff;border-radius:22px 22px 0 0;padding:17px}.v19-history-dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.v19-history-dialog header button{border:0;background:transparent;color:white;font-size:27px}.v19-history-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #30495d}.v19-history-row button{background:#20394d;color:white;border:1px solid #35576d;border-radius:9px;padding:9px 14px}.v19-history-row .v19-remove{color:#ffc4c4;border-color:#714454;background:#3c2633}.v19-empty{color:#a0b6c6;font-size:12px;padding:14px}.v19-subhead{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#79c3dc;margin:18px 0 9px}.v19-directory{display:grid;gap:7px}.v19-profile-card{display:flex;gap:10px;align-items:center;text-align:left;background:#152839;color:#e7f2fa;border:1px solid #315168;border-radius:12px;padding:8px 10px;min-height:58px}.v19-profile-card>span{width:34px;height:34px;display:grid;place-items:center;background:#24536b;border-radius:11px;color:#9fecff;font-weight:850;flex:none}.v19-profile-card strong{flex:1;font-size:13px}.v19-profile-card small{color:#9ac5d6;font-size:11px}.v19-profile-card i{font-size:24px;font-style:normal;color:#99c8d7}.v19-setting-row{width:100%;padding:14px;margin:3px 0;border:1px solid #345267;background:#1b3447;color:white;text-align:left;border-radius:11px}.v19-search{display:flex;gap:8px;align-items:center;background:#162937;border:1px solid #345367;padding:13px;border-radius:13px}.v19-search input{width:100%;border:0;background:none;color:white;outline:0}.v19-search-item{width:100%;display:flex;gap:12px;align-items:center;text-align:left;background:#142736;border:1px solid #2d485e;border-radius:10px;padding:11px;margin:6px 0;color:white}.v19-search-item b{flex:1}.v19-search-item span{color:#8fb8ca;font-size:11px}.v19-tag-history{padding:15px;margin:15px 14px;border-radius:15px;background:#132533;border:1px solid #344d61}.v19-tag-history h2{font-size:17px;margin:0 0 10px}.v19-tag-history>div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #334757;padding:9px 0;font-size:12px}.v19-tag-history small{color:#abcbd9}.v19-family2{padding:16px;margin:16px 14px;border-radius:15px;background:#0c1e2d}.v19-family2 h2{font-size:18px;margin:0 0 14px}.v19-group{border:1px solid #385469;margin:8px 0;border-radius:11px;overflow:hidden}.v19-group summary{display:flex;justify-content:space-between;padding:13px;cursor:pointer}.v19-group summary span{font-size:11px;color:#9dd4e4}.v19-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:9px;gap:7px}.v19-group-grid button{display:grid;gap:3px;text-align:left;border:1px solid #375468;background:#142e41;color:white;padding:9px;border-radius:8px;min-width:0}.v19-group-grid small{font-size:10px;color:#92bfd4}.v19-default-count{min-width:115px;background:#182b3b;border:1px solid #426076;border-radius:13px;padding:12px;display:grid;gap:3px}.v19-default-count small{font-size:9px;letter-spacing:.05em;color:#accad9}.v19-default-count strong{font-size:26px;color:#f4fbff}.v19-default-count span{font-size:10px;color:#a8b9c8}.v19-date-range{font-size:11px;color:#9ecfdd;margin:0 10px}
/* Existing wide tables must scroll inside their own viewport; never push iPhone body width. */
.v17-tracker,.v17-tablewrap,.v16-table-scroll,.v17-table-scroll,.v17-tracker-scroll,.v18-mini-scroll{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.v17-tracker table,.v16-week-table{width:max-content;min-width:100%;table-layout:auto}.v17-tracker th,.v17-tracker td,.v16-week-table th,.v16-week-table td{white-space:nowrap}.v17-page,.v16-page,.v18-page,.page{min-width:0;max-width:100%}.v18-rule-tabs{max-width:100%}
@media(max-width:390px){.v19-page{padding-inline:9px}.v19-att-date{gap:3px;padding:5px}.v19-att-date>button{min-width:33px}.v19-att-date .v19-done{min-width:40px}.v19-date-display{font-size:11px}.v19-att-reason{max-width:110px}.v19-leader-card strong{font-size:14px}.v19-leader-card span{font-size:10px}.v19-profile-card{gap:6px;padding:7px}.v19-profile-card small{font-size:10px}}

#dmsLoading{position:fixed;inset:0;z-index:999;background:#07131e;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;transition:opacity .2s ease;pointer-events:all}#dmsLoading.finished{opacity:0;pointer-events:none}#dmsLoading img{width:135px;max-height:135px;object-fit:contain}#dmsLoading .dms-load-track{height:4px;width:170px;border-radius:99px;background:#244153;overflow:hidden}#dmsLoading .dms-load-track span{display:block;width:45%;height:100%;background:#59d5e9;border-radius:99px;animation:dmsLoad 1s ease-in-out infinite alternate}@keyframes dmsLoad{from{transform:translateX(-60%)}to{transform:translateX(200%)}}
/* One circular, optically centered creation icon throughout the DMS app. */
:is(.v14-plus,.ux-plus,.v17-plus,.v18-plus,.v15-plus){position:relative!important;flex:none!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;border-radius:50%!important;background:#155067!important;border:1px solid #40758a!important;display:inline-grid!important;place-items:center!important;padding:0!important;line-height:0!important;font-size:0!important;box-shadow:0 5px 16px #0003!important;overflow:hidden!important}
:is(.v14-plus,.ux-plus)::before{content:''!important;display:block!important;position:absolute!important;left:50%!important;top:50%!important;height:24px!important;width:3.5px!important;background:#effbff!important;border-radius:3px!important;transform:translate(-50%,-50%)!important}
:is(.v14-plus,.ux-plus)::after{content:''!important;display:block!important;position:absolute!important;left:50%!important;top:50%!important;height:3.5px!important;width:24px!important;background:#effbff!important;border-radius:3px!important;transform:translate(-50%,-50%)!important}
:is(.v17-plus,.v18-plus,.v15-plus) svg{display:block!important;position:static!important;transform:none!important;width:26px!important;height:26px!important;stroke:#effbff!important}
