/* DMS V1.5 interface and iOS safe-area correction. App canvas stays opaque. */
:root{--accent:#d94854!important;--accent2:#f0757d!important;--bg:#0d1015!important;--text:#f5f6f8!important}
html,body{background:#0d1015!important;overscroll-behavior-y:contain}
html:before,html::before,body:before,body::before{display:none!important;content:none!important}
.app-shell{background:#0d1015!important;min-height:100dvh;isolation:isolate}
.topbar{height:84px!important;min-height:84px!important;padding:14px 16px 12px!important;background:#0d1015!important;position:relative!important;top:0!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.topbar[hidden],body.dms-subpage .topbar{display:none!important}
body.dms-subpage #main{padding-top:17px!important}
#main{background:#0d1015!important}
.bottom-nav{background:#121720!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:0 -6px 18px #080b1077}
.v15-page{padding:5px 17px 28px;max-width:860px;margin:auto;min-height:40vh}
.v15-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px;min-height:51px}
.v15-head h1{margin:0;font-size:26px;letter-spacing:-.8px;font-weight:790;color:#f4f6f9}
.v15-circle{width:49px;height:49px;min-width:49px;min-height:49px;border-radius:50%!important;display:grid;place-items:center;border:1px solid #424b56;color:#f7f8fa;background:#202733;appearance:none;-webkit-appearance:none;padding:0!important;flex-shrink:0;line-height:0!important;box-shadow:none!important}
.v15-plus{background:#db4b59;color:#fff;border-color:#db4b59}
.v15-plus svg{display:block;place-self:center;transform:none}
:is(.v14-plus,.ux-plus){width:49px!important;height:49px!important;min-height:49px!important;border-radius:50%!important;display:grid!important;place-items:center!important;font-size:0!important;line-height:0!important;padding:0!important}
:is(.v14-plus,.ux-plus)::after{content:""!important;display:block!important;transform:none!important;width:26px;height:26px;background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16M4 12h16' stroke='white' stroke-width='3.2' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat}
.v15-trash{background:#221920;color:#f2c7cd;border-color:#5b3541}
.v15-trash-row{display:flex;justify-content:flex-end;margin-top:28px;padding-bottom:8px}
.v15-filters{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;white-space:nowrap;padding-bottom:16px}
.v15-filters::-webkit-scrollbar{display:none}
.v15-filter{border:1px solid #343d49;background:#1a212a;border-radius:99px;color:#cbd3de;padding:10px 15px;font-size:12px;font-weight:650;white-space:nowrap}
.v15-filter.selected{border-color:#e35a63;background:#d74a56;color:#fff}
.v15-stack{display:grid;gap:10px}
.v15-record{width:100%;text-align:left;border:1px solid #2d3743;background:#171d25;color:#f1f4f8;border-radius:18px;padding:16px;display:block;box-shadow:0 6px 20px #05080e30}
button.v15-record{cursor:pointer}
.v15-record-title{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:9px}
.v15-record-title strong{font-size:15px;font-weight:740;line-height:1.35;min-width:0}
.v15-clamp{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#cad2de;margin-bottom:7px}
.v15-meta,.v15-muted{font-size:12px;color:#99a7b7;line-height:1.65}
.v15-record p{font-size:13px;line-height:1.6;color:#cbd3de;margin:9px 0}
.v15-pill{display:inline-flex;align-items:center;justify-content:center;font-size:10px;white-space:nowrap;font-weight:720;border-radius:99px;padding:6px 9px;border:1px solid #505663;color:#d6dde8;flex-shrink:0;background:#222b35}
.v15-pill.good{border-color:#285442;color:#abe8c9;background:#173227}.v15-pill.bad{border-color:#63343c;color:#f8b8bf;background:#342027}
.v15-empty{padding:25px 14px;border:1px dashed #3c4754;color:#a9b5c3;text-align:center;border-radius:16px;font-size:13px}
.v15-modal{position:fixed;inset:0;background:#03060bc7;display:flex;align-items:flex-end;justify-content:center;z-index:500}
.v15-sheet{background:#191f27;border-radius:23px 23px 0 0;border:1px solid #35404e;width:min(100%,680px);max-height:calc(96dvh - env(safe-area-inset-top,0px));overflow:auto;overscroll-behavior:contain;scrollbar-width:none;padding:19px 17px calc(21px + env(safe-area-inset-bottom,0px))}
.v15-sheet::-webkit-scrollbar{display:none}
.v15-sheet header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:17px}
.v15-sheet h2{margin:0;font-size:21px;letter-spacing:-.4px}
.v15-close{border:1px solid #45515f;border-radius:50%;height:38px;width:38px;line-height:1;background:#26303b;color:white;font-size:22px}
.v15-form{display:grid;gap:15px}
.v15-form label,.v15-field{display:grid;gap:7px;font-size:12px;font-weight:650;color:#b9c5d2}
.v15-form input,.v15-form textarea,.v15-form select,.v15-field input{border:1px solid #465260;border-radius:12px;background:#111720;color:white;outline:0;min-height:44px;width:100%;padding:11px 12px;-webkit-user-select:text;user-select:text}
.v15-form textarea{min-height:90px;resize:vertical}
.v15-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.v15-button,.v15-main{border:1px solid #44515e;border-radius:12px;padding:12px 14px;background:#222a35;color:#e8edf2;min-height:43px;font-weight:720;font-size:12px}
.v15-main{border-color:#d9505b;background:#d9505b;color:white;width:100%}
.v15-button.danger{color:#f6abb3;border-color:#613942;background:#311e27}
.v15-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}
.v15-person-chip{display:inline-flex;align-items:center;gap:9px;padding:8px 11px;border:1px solid #424c58;border-radius:13px;background:#262e39;font-size:12px;color:#e6ebf1}
.v15-chip-wrap{display:flex;gap:7px;flex-wrap:wrap}
.v15-person-chip>button:not(.v15-member-link){padding:0;border:0;background:none;color:#f0bbc1;font-size:18px}
.v15-member-link{border:none;padding:0;background:none;color:#f3e5e8;text-decoration:underline;text-decoration-color:#7e5560;font-size:inherit;cursor:pointer}
.v15-date{color:#aebaca;font-size:12px}
.v15-detail-title{font-size:20px;font-weight:760}
.v15-section{font-size:16px;font-weight:750;margin:20px 0 12px;letter-spacing:-.2px}
.v15-section-head{display:flex;align-items:center;justify-content:space-between}
.v15-history{padding:12px;border-left:3px solid #ba505c;background:#141b23;border-radius:0 12px 12px 0}
.v15-history b{font-size:11px;color:#bec9d5}.v15-history p{margin:6px 0;color:#d2d9e2}
.v15-versus{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;text-align:center;gap:12px;padding:10px;border:1px solid #424954;border-radius:13px}
.v15-versus>strong{color:#f18a93}
.v15-suggestions{display:grid;max-height:190px;overflow:auto}
.v15-suggestions>button{background:#242c37;text-align:left;color:#e9edf4;border:1px solid #3b4653;border-radius:10px;padding:10px;display:flex;justify-content:space-between}
.v15-suggestions small{color:#a6b4c3}
.v15-calbar{display:grid;grid-template-columns:45px 1fr 45px;gap:9px;align-items:center;margin-bottom:16px}
.v15-calbar strong{text-align:center;font-size:18px}
.v15-calbar button{height:44px;border-radius:13px;color:white;background:#252e39;border:1px solid #3d4856;font-size:25px}
.v15-calbar button:disabled{opacity:.3}
.v15-legends{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-bottom:14px}
.v15-legends button{display:flex;flex-direction:column;gap:7px;align-items:center;background:#181f28;border:1px solid #2e3946;border-radius:12px;color:#e8edf4;padding:10px 3px;font-size:11px}
.v15-legends i{height:7px;width:27px;border-radius:100px}
.v15-calendar{background:#171d25;border:1px solid #303b48;border-radius:16px;padding:9px}
.v15-daysrow,.v15-calendarcells{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.v15-daysrow{padding:6px 0 9px;text-align:center;font-size:11px;color:#a6b2c1}
.v15-day{background:#1f2731;border:1px solid #34404d;border-radius:9px;min-height:81px;padding:6px 3px;min-width:0}
.v15-day.empty{background:transparent;border:0}
.v15-day>b{font-size:11px;display:block;margin-bottom:4px}
.v15-duty{display:grid;place-items:center;height:16px;border-radius:4px;font-size:9px;font-weight:800;margin:3px 0;color:white}
.v15-events{display:grid;gap:8px}.v15-event{padding:9px 12px;border-left:3px solid;background:#1b222b;border-radius:0 12px 12px 0;display:flex;gap:12px;font-size:12px}
.v15-event span{color:#b4c0ce}
.v15-hours{padding:13px;border:1px solid #303b48;border-radius:13px;display:flex;justify-content:space-between;gap:12px;margin-bottom:7px;background:#171d25;font-size:13px}
.v15-hours span{color:#b2bfce}
/* User-requested clean headings; keep contextual form help where needed. */
#main .subtitle,#main .addon-title>p,#main .v14-warning,#main>.page>.muted{display:none!important}
#main .v14-page > p.v14-subtle{display:none!important}
#main .v14-page>.v14-warning{display:none!important}
#main .ux-page>.ux-count{display:none!important}
#main .addon-overline{display:none!important}
@media(max-width:390px){.v15-day{min-height:69px;padding:4px 2px}.v15-duty{height:13px;font-size:8px}.v15-head h1{font-size:24px}.v15-legends button{font-size:9px}.v15-pair{grid-template-columns:1fr}}
.v15-history-filter{margin:0 0 12px}
.v15-history-filter label{display:grid;gap:6px;color:#aeb9c5;font-size:12px}
.v15-history-filter select{width:100%;min-height:43px;background:#171d25;color:#ecf0f5;border:1px solid #364352;border-radius:12px;padding:8px 12px}
