/* Shared presentation only: keep routes, data, and business handlers intact. */
:root{--blue-bg:#EAF2FF;--shadow:var(--sh-card)}
button,input,select,textarea{font-family:inherit}
button,a,input,select,textarea,summary{touch-action:manipulation}
html.ui-navigating::before{content:"";position:fixed;inset:0 auto auto 0;width:100%;height:3px;z-index:10000;pointer-events:none;background:#1677FF;transform:scaleX(.12);transform-origin:left;animation:ui-nav-progress 1.8s ease-out forwards}
@keyframes ui-nav-progress{to{transform:scaleX(.88)}}
@media(prefers-reduced-motion:reduce){html.ui-navigating::before{animation:none;transform:scaleX(.7)}}
:focus-visible{outline:3px solid #77B3FF;outline-offset:3px}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:1px}
.app-main,.container,.box,.account-grid>*{min-width:0}
.mobile-back,.mobile-menu{display:none}
body .admin-tabs{display:none}
.ui-filter-panel{display:contents}
.ui-filter-panel>summary{display:none}
.ui-filter-fields{display:contents}
.ui-field-label{display:block;font-size:12px;font-weight:650;color:#59677C;margin:8px 0 5px}
.ui-input-field{min-width:0}
.ui-input-field .input{width:100%}
.ui-dialog-title{outline:none}
body .modal-x{min-width:44px;min-height:44px;display:grid;place-items:center}
body .detail-foot{flex-wrap:wrap}
body .detail-foot .btn{min-width:0}
.au-user-name,.side-card .sn{overflow-wrap:anywhere}
.au-platform,.au-date-label{display:none}
.au-reset{height:38px;min-width:60px;padding:0 12px;font-size:12px;border:1px solid #DFE7F1;border-radius:9px;box-shadow:none}
.acct-menu.acct-menu-floating{position:fixed;z-index:90;width:176px;min-width:0;max-width:calc(100vw - 16px);right:auto;bottom:auto;overflow-y:auto;overscroll-behavior:contain;border:1px solid #E3EAF3;border-radius:12px;padding:5px;box-shadow:0 12px 30px rgba(15,23,42,.16)}
.acct-menu-floating .menu-item{min-height:40px}
body .acct-dot{min-width:40px;min-height:40px;border-radius:10px}
body .rec .info .d{line-height:1.6}
body .dtop-bell:after{display:none}
.ui-account-help>summary{display:none}
body[data-page="admin"] .rec .info .d{white-space:normal;overflow-wrap:anywhere}
body .dtop-user-tx{max-width:180px}
body .dtop-user-tx>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:900px){
  body[data-page="admin"] .au-head h2{display:none}
  body .box{border-radius:18px;box-shadow:0 2px 8px rgba(23,43,77,.04),inset 0 0 0 1px rgba(17,24,39,.04)}
  body .container{padding-top:22px}
  body .au-head{align-items:center;margin-bottom:16px}
}
@media(min-width:900px) and (max-width:1250px){
  body .run-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
  body .run-kw{grid-column:1/-1}
  body .account-grid{grid-template-columns:1fr}
  body .dash-grid{grid-template-columns:1fr}
  body .welcome-stats{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:899px){
  body{background:#F4F6FA;background-image:none}
  body .topbar{background:rgba(255,255,255,.96);border-bottom:1px solid #E6ECF4}
  body .topbar-in{max-width:none;height:68px;padding:0 18px;gap:10px}
  body .brand{min-width:0;flex:1;gap:9px}
  body .brand svg{width:30px;height:30px;flex-shrink:0}
  body .brand-page{font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body .brand-kicker{font-size:10px;color:#68768B}
  body .brand-copy{overflow:hidden}
  body .top-right{margin-left:auto;gap:10px;flex-shrink:0}
  body .user-chip{max-width:96px;min-width:0}
  body .user-chip b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
  body .user-chip .credit{display:none}
  body[data-page="admin"] .brand svg{display:none}
  body[data-page="admin"] .brand-kicker{display:none}
  body[data-page="admin"] .brand{justify-content:center}
  body[data-page="admin"] .user-chip{display:none}
  .mobile-back{display:flex;align-items:center;gap:3px;color:#52647D;font-size:12px;font-weight:650;min-height:44px;flex-shrink:0}
  .mobile-back svg{width:19px;height:19px}
  .mobile-menu{display:block;position:relative}
  .mobile-menu>summary{list-style:none;width:44px;height:44px;border:1px solid #E4EAF3;border-radius:13px;display:grid;place-items:center;background:#fff;color:#43536B;cursor:pointer}
  .mobile-menu>summary::-webkit-details-marker{display:none}
  .mobile-menu>summary svg{width:20px;height:20px}
  .mobile-menu[open]>summary{background:#EAF3FF;color:#0966D8;border-color:#BDD9FF}
  .mobile-menu>nav{position:absolute;right:0;top:52px;width:220px;max-height:calc(100dvh - 160px);overflow:auto;background:#fff;border:1px solid #E0E8F3;border-radius:16px;padding:8px;box-shadow:0 16px 42px rgba(25,43,72,.18);z-index:80}
  .mobile-menu-label{padding:9px 12px;color:#7D8A9E;font-size:11px;font-weight:650;overflow-wrap:anywhere;border-bottom:1px solid #EEF2F7;margin-bottom:4px}
  .mobile-menu>nav a{display:flex;align-items:center;min-height:44px;padding:9px 12px;border-radius:9px;font-size:13px;color:#32435C}
  .mobile-menu>nav a:hover,.mobile-menu>nav a[aria-current="page"]{background:#EDF5FF;color:#0864D2}
  body .navrow{position:fixed;left:14px;right:14px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:60;max-width:540px;margin:0 auto;padding:0;background:rgba(255,255,255,.96);border:1px solid #E3EAF4;border-radius:19px;box-shadow:0 6px 24px rgba(23,43,77,.1);backdrop-filter:blur(18px)}
  body .topmenu{padding:5px;gap:4px;background:transparent}
  body .topmenu a{min-width:0;min-height:44px;display:flex;align-items:center;justify-content:center;padding:10px 5px;border-radius:13px;font-size:13px;color:#6B7890}
  body .topmenu a.on{background:#EAF3FF;color:#0966D8;box-shadow:none;font-weight:750}
  body .container{max-width:820px;padding:18px 16px calc(106px + env(safe-area-inset-bottom))}
  body .box{padding:18px;border-radius:18px;box-shadow:0 2px 10px rgba(23,43,77,.045),inset 0 0 0 1px #E8EDF5}
  body .input,body .select,body select,body textarea{font-size:16px}
  body .btn{min-height:44px}
  body .row-check{width:22px;height:22px}
  body .dot-btn,body .acct-dot{width:44px;height:44px;background:#F4F7FB;box-shadow:none}
  body .menu-item{min-height:44px;display:flex;align-items:center}
  body .global-scope{border-radius:14px;margin-bottom:16px}
  body .gs-hint{display:none}
  body .acct-admin-note{font-size:12px;line-height:1.6;padding:11px 12px;max-height:88px;overflow:auto}
  body .ui-account-help{max-height:none;margin:10px 0 12px}
  .ui-account-help>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;min-height:24px;font-weight:650;color:#65768E;cursor:pointer}
  .ui-account-help>summary::-webkit-details-marker{display:none}
  .ui-account-help>summary:after{content:'⌄';margin-left:8px}
  .ui-account-help[open]>summary{margin-bottom:8px}
  body .acct-tools.admin{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  body .acct-tools.admin .btn{width:100%;min-width:0;border-radius:12px;font-size:12px;padding:8px}
  body .acct-tools.admin .btn-primary{grid-column:2;grid-row:1}
  body .acct-tools.admin .btn-default{grid-column:1/-1;min-height:36px;height:36px;background:transparent;box-shadow:none;border-color:transparent;color:#74839A}
  body .acct-item{min-width:0}
  body .acct-meta{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body .run-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  body .run-filters input,body .run-filters select{min-width:0;width:100%}
  body .run-kw{grid-column:1/-1}
  body .run-reset{min-height:44px}
  body .hero{padding:21px 20px;border-radius:18px;margin-bottom:16px}
  body .hero-title{font-size:24px}
  body .hero-sub{font-size:12px;line-height:1.7;color:rgba(255,255,255,.86)}
  body .welcome h1{font-size:21px;line-height:1.4}
  body .welcome-stats{min-width:0;gap:9px}
  body .welcome-stats .stat{border-radius:13px;padding:12px}
  body .welcome-stats .stat .n{font-size:25px}
  body .chart-card{padding:18px;border-radius:18px;min-width:0}
  body .chart-hd{margin-bottom:14px}
  body .bars{gap:5px}
  body .chart-hd h3{font-size:15px}
  body .au-head{gap:12px;margin-bottom:14px}
  body .au-head h2{display:none}
  body .au-head>div:first-child{display:none}
  body .au-head-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
  body .au-head-actions>a[href="/admin/cards"]{display:none}
  body .au-head-actions .btn{height:40px;min-height:40px;padding:0 10px;font-size:13px;width:100%;border-radius:10px;box-shadow:none}
  body .au-box{padding:0;overflow:visible;background:#fff;box-shadow:none;border-radius:0}
  body .au-tabs{flex-wrap:nowrap;overflow-x:auto;gap:12px;padding:0;background:#fff;border:0;border-bottom:1px solid #E3E9F2;border-radius:0;scrollbar-width:none}
  body .au-tabs::-webkit-scrollbar{display:none}
  body .au-tab{flex:0 0 auto;padding:12px 2px 10px;font-size:13px;min-height:44px}
  body .au-tab .cnt{font-size:11px;margin-left:3px}
  body .au-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 0 6px;gap:8px;border-bottom:0;align-items:center}
  body .au-search{grid-column:1/-1;min-width:0;width:100%}
  body .au-search .input{height:42px;border-radius:10px;background:#fff;border:1px solid #E1E6ED;box-shadow:none}
  body .au-filter-select{height:40px;min-width:0;width:100%;font-size:14px;border-radius:10px;background:#fff;border-color:#E1E6ED}
  body .au-reset{height:40px;min-height:40px;width:100%;border:1px solid #E1E6ED;border-radius:10px;background:#fff;box-shadow:none;font-size:14px}
  body .au-count{grid-column:1/-1;margin:0;order:0;font-size:12px;padding:4px 1px;white-space:normal}
  body .au-table-wrap{overflow:visible;background:#fff}
  body .au-table,body .au-table tbody{display:block;width:100%}
  body .au-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  body .au-table .au-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 10px;padding:14px 2px 8px;margin:0;background:#fff;border:0;border-bottom:1px solid #E5EAF1;border-radius:0;box-shadow:none}
  body .au-table td{display:block;white-space:normal;border:0;padding:0;min-width:0;overflow-wrap:anywhere;font-size:12px;background:transparent}
  body .au-table td:before{display:none}
  body .au-table tr:hover td{background:transparent}
  body .au-col-user{grid-column:1/4;grid-row:1}
  body .au-col-status{grid-column:4;grid-row:1;text-align:right;align-self:start;justify-self:end}
  body .au-col-role{grid-column:1;grid-row:2;align-self:center}
  body .au-col-card{grid-column:2/-1;grid-row:2;align-self:center;line-height:1.5}
  body .au-col-card .au-card-name,body .au-col-card .au-card-sub{display:inline;font-size:11px}
  body .au-col-card .au-card-sub{margin:0 0 0 6px;color:#7D8A9C}
  body .au-col-accounts{grid-column:1;grid-row:3;align-self:center}
  body .au-table td.au-col-date{grid-column:2/-1;grid-row:3;display:flex;align-items:center;gap:2px 10px;flex-wrap:wrap;font-size:10.5px;color:#8390A2;line-height:1.5}
  body .au-col-date .au-card-sub{font-size:10.5px;margin:0}
  body .au-date-label{display:inline}
  body .au-col-actions{grid-column:1/-1;grid-row:4}
  body .au-user-cell{min-width:0;align-items:flex-start;gap:7px}
  body .au-user-cell>div{min-width:0;flex:1}
  body .au-platform{display:inline-flex;align-items:center;flex-shrink:0;padding:3px 6px;border-radius:5px;background:#EAF3FF;color:#2066A1;font-size:11px;line-height:1.5;font-weight:650;white-space:nowrap}
  body .au-platform.is-admin{background:#FFF5DF;color:#956400}
  body .au-user-name{font-size:14px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
  body .au-ava{display:none}
  body .au-user-sub{font-size:10.5px;line-height:1.4;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body .au-pill{font-size:10.5px;padding:3px 6px;white-space:nowrap}
  body .au-accounts{min-height:28px;font-size:11px;padding:4px 6px;border-radius:6px}
  body .au-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
  body .au-op{display:flex;align-items:center;justify-content:center;min-height:40px;padding:6px 0;border:0;background:transparent;border-radius:6px;font-size:12px;text-decoration:none}
  body .au-op.red{background:transparent;color:#D15B5B}
  body .au-op.orange{background:transparent;color:#B7832A}
  body .au-op:hover{background:#F1F6FC}
  body .modal-mask{padding:16px 12px}
  body .modal{max-height:calc(100dvh - 32px);border-radius:20px;padding:20px 18px;overflow:auto}
  body .modal .au-modal-body{max-height:calc(100dvh - 190px);padding-right:0}
  body .modal:has(.au-modal-body){display:flex;flex-direction:column;overflow:hidden}
  body .modal:has(.au-modal-body)>.modal-h,body .modal:has(.au-modal-body)>.modal-f{flex-shrink:0}
  body .modal:has(.au-modal-body) .au-modal-body{min-height:0;flex:1 1 auto;max-height:none;overflow:auto;overscroll-behavior:contain}
  body .detail-foot{gap:8px}
  body .detail-foot .btn{flex:1 1 40%;font-size:12px;padding:9px 12px}
  body .detail-foot .left{flex:1 1 100%;margin:0}
  body .detail-row{gap:8px;min-width:0}
  body .detail-acct-ops{flex-wrap:wrap;gap:8px}
  body .detail-acct-ops button{min-height:40px}
  body .data-row{align-items:flex-start;gap:12px}
  body .data-row .v{min-width:0;overflow-wrap:anywhere}
  body .data-row .k{flex-shrink:1}
}
@media(max-width:480px){
  body .topbar-in{padding:0 14px}
  body .container{padding-left:14px;padding-right:14px}
  body .brand-page{font-size:19px}
  body .box-title{font-size:17px}
  body .box-sub{font-size:12px;line-height:1.65}
  body .run-card{gap:9px;padding:12px;flex-wrap:wrap}
  body .run-card .info{flex-basis:calc(100% - 60px)}
  body .run-card .run-time{margin-left:49px;display:flex;align-items:center;gap:9px;text-align:left}
  body .run-card .info .n{font-size:13px;line-height:1.6}
  body .run-card .info .d{font-size:11px}
  body .oc-cred{flex-wrap:wrap;gap:4px}
  body .oc-cred .p{overflow-wrap:anywhere;max-width:100%}
  body .mphoto-row{align-items:flex-start;flex-wrap:wrap}
  body .mphoto-tx{flex-basis:160px}
  body .detail-acct-ops{margin-left:0;width:100%}
  body .task-head{display:grid;grid-template-columns:22px minmax(0,1fr) auto 50px;gap:8px}
  body .task-head>.row-check{grid-column:1;grid-row:1}
  body .task-head .tt{grid-column:2/-1;white-space:normal;overflow-wrap:anywhere;font-size:14px}
  body .task-head .task-owner{grid-column:2;justify-self:start;max-width:100%;overflow:hidden;text-overflow:ellipsis}
  body .task-head .task-state{grid-column:3;margin-left:0}
  body .task-head .task-switch{grid-column:4}
  body .login-wrap{padding:22px 16px}
  body .login-card{padding:26px 22px;border-radius:22px}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* Each sign-in owns an expandable form; the map is shared without sharing drafts. */
.signin-choice-hint{margin:4px 0 14px;color:#718097;font-size:12px;line-height:1.6}
.punch-card-list{display:grid;gap:12px}
.punch-card{min-width:0;border:1px solid #DDE6F2;border-radius:16px;background:#fff;overflow:hidden;transition:border-color .15s,box-shadow .15s}
.punch-card.expanded{border-color:#79B4FF;box-shadow:0 0 0 2px #EDF5FF}
.punch-option{display:flex;align-items:center;gap:13px;width:100%;min-height:100px;padding:17px 18px;border:0;text-align:left;background:#F9FBFE;color:#25344A;font:inherit;cursor:pointer}
.punch-option:hover{background:#F0F6FF}
.punch-option:disabled{cursor:wait;opacity:.65}
.punch-card.expanded>.punch-option{background:#EDF5FF;border-bottom:1px solid #D9E9FF}
.punch-card-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:13px;background:#E8F2FF;color:#0A6CE3;font-size:25px;font-weight:700}
.punch-card-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.punch-card-copy strong{font-size:15px;color:#20334E;line-height:1.5}
.punch-card-copy>span{font-size:12px;color:#697B94}
.punch-card-copy small{font-size:10px;color:#8996A9;overflow-wrap:anywhere}
.punch-card-action{flex-shrink:0;color:#1769CB;font-size:12px;font-weight:650;white-space:nowrap}
.punch-card-body:empty{display:none}
.punch-card-body #signPanel{padding:18px}
.signin-active-title{font-size:12px;font-weight:650;color:#56708F;padding-bottom:10px;border-bottom:1px solid #EDF2F8;overflow-wrap:anywhere}
.signin-map{position:relative;height:270px;border:1px solid #DCE6F2;border-radius:13px;overflow:hidden;background:#F0F4FA}
#mInlineMap{width:100%;height:100%}
#mInlineMapTip{display:grid;place-items:center;height:100%;padding:24px;margin:0;text-align:center;color:#71829A;font-size:12px;line-height:1.8}
.signin-coordinates{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:8px;margin:12px 0}
.signin-coordinates label{min-width:0;font-size:11px;color:#6B7C93;font-weight:650}
.signin-coordinates .input{width:100%;margin-top:5px;min-width:0}
.signin-coordinates .btn{white-space:nowrap;height:40px;min-width:0;font-size:12px;padding:0 12px}
#signPanelHome{display:none}
.punch-card-body #signBtn{border-radius:12px;font-size:14px}
@media(max-width:640px){
 .punch-option{min-height:94px;padding:14px 12px;gap:10px}
 .punch-card-icon{width:36px;height:36px;border-radius:11px;font-size:22px}
 .punch-card-copy strong{font-size:14px}
 .punch-card-copy>span{font-size:11px}
 .punch-card-action{font-size:11px}
 .punch-card-body #signPanel{padding:14px 12px}
 .signin-map{height:240px}
 .signin-coordinates{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .signin-coordinates .btn{grid-column:1/-1;width:100%}
 .punch-card-body .btn{font-size:12px}
}

/* Address-first search, with an optional city-filtered picker. */
.signin-search-label{display:flex;align-items:center;gap:8px;margin:16px 0 8px;font-size:12px;font-weight:650;color:#334B68}
.signin-search-label span{font-size:10px;font-weight:500;color:#758BA7;background:#EEF4FC;border-radius:6px;padding:3px 6px}
.signin-place-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.signin-place-search .input{min-width:0;width:100%;height:44px;font-size:12px}
.signin-place-search .btn{min-height:44px;padding:0 18px;white-space:nowrap}
.signin-search-status{margin:8px 0!important;line-height:1.6;overflow-wrap:anywhere}
.signin-place-results{display:grid;gap:7px;max-height:310px;overflow-y:auto;overscroll-behavior:contain;margin-bottom:12px}
.signin-place-results:empty{display:none}
.signin-place-hit{position:relative;display:flex;flex-direction:column;gap:4px;width:100%;padding:12px;text-align:left;border:1px solid #DDE6F2;border-radius:10px;background:#fff;color:#6B7E97;font:inherit;cursor:pointer;overflow-wrap:anywhere}
.signin-place-hit strong{font-size:13px;color:#263F61;line-height:1.5}
.signin-place-hit span{font-size:11px;line-height:1.65}
.signin-place-hit .area{color:#5478A4}
.signin-place-hit small{font-size:10px;color:#1672DE;margin-top:3px}
.signin-place-hit:hover,.signin-place-hit.selected{background:#F0F6FF;border-color:#82B7F7}
.signin-place-hit:disabled{opacity:.65;cursor:wait}
.signin-precise{margin-top:4px}
.signin-advanced{margin:12px 0;border:1px solid #E3EAF4;border-radius:10px;background:#FAFCFF}
.signin-advanced>summary{padding:11px 12px;font-size:11px;color:#73849C;cursor:pointer}
.signin-advanced[open]>summary{border-bottom:1px solid #E3EAF4}
.signin-advanced>.signin-coordinates,.signin-advanced>.row2{margin:12px;padding:0}
.location-district{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:650;color:#60758F;min-width:0}
.location-district .select{width:100%}
#pkList button.pk-item{display:block;width:100%;background:#fff;text-align:left;font:inherit}
#pkList button.pk-item:hover,#pkList button.pk-item.sel{background:#F0F6FF}
@media(max-width:640px){
 .signin-place-search .btn{padding:0 14px}
 .signin-place-search .input{font-size:12px}
 .signin-place-results{max-height:270px}
 .signin-place-hit{padding:11px}
}
#pkMask .location-city-search{grid-template-columns:minmax(0,1fr) auto}
#pkMask .location-city-search .input{min-width:0;width:100%}
#pkMask .location-city-search .btn{padding-left:14px;padding-right:14px;min-width:80px}

.au-archive-hint{margin:14px 20px 0;padding:12px 14px;border:1px solid #DCE8F8;border-radius:10px;background:#F3F8FF;color:#5C7595;font-size:12px;line-height:1.8}
.au-archive-hint[hidden]{display:none}
.au-pill.archived{background:#FFF3DD;color:#AC7223}
@media(max-width:640px){.au-archive-hint{margin:12px 14px 0;padding:11px;font-size:11px}}

/* Compact creation: the normal form fits a desktop or phone in one view. */
#batchMask{background:rgba(0,0,0,.5);backdrop-filter:none;-webkit-backdrop-filter:none;padding:12px 16px}
#batchMask .oc-wrap{max-width:640px;max-height:calc(100dvh - 24px);display:flex;flex-direction:column;border-radius:10px;box-shadow:0 16px 48px rgba(0,0,0,.15);overflow:hidden}
#batchMask .modal-h{padding:14px 18px 10px;align-items:center;gap:10px;flex-shrink:0}
#batchMask .modal-h .t{font-size:20px;line-height:1.4;font-weight:600;color:#303133;letter-spacing:0}
#batchMask .modal-x{color:#909399;background:transparent;border:0;flex-shrink:0;margin:-8px -8px -4px 0;font-size:25px;font-weight:300;border-radius:8px}
#batchMask .au-modal-body{padding:0 18px;max-height:none;min-height:0;overflow-y:auto;overscroll-behavior:contain}
#batchMask .oc-sec,#batchMask .oc-field{border:1px solid #D9E5FF;border-radius:12px;background:#F8FAFF;padding:12px;margin:0 0 10px}
#batchMask .au-form-label,#batchMask .oc-field .k{font-size:14px;line-height:1.4;font-weight:600;color:#36455D;margin:0 0 8px}
#batchMask .oc-platform-section{display:flex;align-items:center;gap:12px}
#batchMask .oc-platform-section .au-form-label{margin:0;white-space:nowrap}
#batchMask .oc-platforms{flex:1;min-width:0;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
#batchMask .oc-platform{padding:9px 3px 7px;border:1px solid #D6E0F2;border-radius:12px;min-height:72px;background:#fff}
#batchMask .oc-platform .ico{width:28px;height:28px;background:transparent;border-radius:0;margin:0 auto 4px}
#batchMask .oc-platform .ico img{width:28px;height:28px;object-fit:contain}
#batchMask .oc-platform b{font-size:12px;font-weight:500;color:#4A5870;line-height:1.4;white-space:nowrap}
#batchMask .oc-platform.sel{border:2px solid #3874FF;background:#F0F6FF;box-shadow:none;padding:8px 2px 6px}
#batchMask .oc-platform.sel b{color:#1455ED;font-weight:600}
#batchMask .oc-platform.disabled{opacity:.75;cursor:not-allowed}
#batchMask .oc-card-section,#batchMask .oc-quantity-section{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:8px 12px}
#batchMask .oc-card-section .au-form-label,#batchMask .oc-quantity-section .au-form-label{margin:0}
#batchMask .oc-card-section .oc-desc,#batchMask .oc-quantity-section .oc-desc{grid-column:1/-1;margin:0}
#batchMask .oc-cardtypes{gap:8px;margin:0}
#batchMask .oc-cardtype{min-height:40px;border:1px solid #C9D8F1;border-radius:10px;font-family:inherit;font-size:16px;line-height:1.3;font-weight:600;padding:8px;color:#36455D}
#batchMask .oc-cardtype.sel{background:#F0F6FF;border-color:#409EFF;box-shadow:none;color:#1455ED}
#batchMask .oc-desc,#batchMask .oc-field .sub{font-size:12px;line-height:1.5;color:#667A99;margin:6px 0 0}
#batchMask .oc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#batchMask .oc-field{min-width:0}
#batchMask .oc-stepper{height:38px;border:1px solid #E2E5EC;border-radius:9px;background:#fff}
#batchMask .oc-stepper button{width:34px;min-width:0;background:#F5F7FA;color:#738099;font-size:20px;font-weight:400}
#batchMask .oc-stepper button:first-child{border-right:1px solid #DCDFE6}
#batchMask .oc-stepper button:last-child{border-left:1px solid #DCDFE6}
#batchMask .oc-stepper input{font-family:inherit;font-size:17px;line-height:1.3;font-weight:400;color:#606266}
#batchMask .oc-stepper .unit{font-size:13px;color:#8EA0BC;margin-right:8px}
#batchMask .oc-stepper button:disabled,#batchMask .btn:disabled{cursor:wait;opacity:.55}
#batchMask .oc-form-note{margin:0;font-size:12px;line-height:1.5}
#batchMask .modal-f{padding:14px 18px;justify-content:flex-end;gap:10px;flex-shrink:0}
#batchMask .modal-f .btn{flex:0 0 auto;min-height:40px;width:auto;min-width:68px;padding:9px 16px;border-radius:12px;font-size:15px;line-height:1.3;font-weight:600;box-shadow:none;white-space:nowrap}
#batchMask .modal-f .btn-primary{background:#409EFF;border-color:#409EFF;color:#fff}
#batchMask .modal-f .btn-default{background:#fff;border:1px solid #DCDFE6;color:#606266}
#batchMask #ocMsg:empty{display:none}
#batchMask.oc-success .oc-wrap{max-width:640px}
#batchMask.oc-success .modal-h{padding-top:16px;padding-bottom:14px}
#batchMask .oc-creds{border:1px solid #D9E5FF;background:#F8FAFF;border-radius:12px;max-height:360px;overflow:auto}
#batchMask .oc-cred{display:flex;flex-wrap:nowrap;min-width:0;gap:10px;min-height:52px;padding:6px 12px;border-bottom:1px solid #E2EAFE}
#batchMask .oc-cred:last-child{border-bottom:0}
#batchMask .oc-cred-value{flex:1;min-width:0;width:0;border:0;border-radius:0;outline-offset:2px;padding:4px 2px;background:transparent;color:#17243B;font:16px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:0}
#batchMask .oc-copy-one{flex-shrink:0;min-width:44px;min-height:40px;border:0;background:transparent;color:#409EFF;font-family:inherit;font-size:15px;font-weight:600;cursor:pointer;padding:4px}
#batchMask .oc-result-note{margin:12px 0 0;font-size:13px;line-height:1.6;color:#667A99}
#batchMask .oc-copy-status{font-size:12px;color:#42658B;line-height:1.5;margin:8px 0 0}
#batchMask .oc-copy-status:empty{display:none}
#batchMask .oc-manual-copy{width:100%;min-height:72px;border:1px solid #C9D8F1;border-radius:10px;background:#F8FAFF;padding:10px;margin-top:8px;font:13px/1.5 ui-monospace,Menlo,monospace;resize:vertical}
#batchMask.oc-success .modal-f{padding-top:20px}
@media(max-width:600px){
  #batchMask{padding:10px}
  #batchMask .oc-wrap{max-height:calc(100dvh - 20px);border-radius:12px}
  #batchMask .modal-h{padding:10px 12px 8px}
  #batchMask .modal-h .t{font-size:18px}
  #batchMask .modal-x{margin:-8px -8px -8px 0}
  #batchMask .au-modal-body{padding:0 12px}
  #batchMask .oc-sec,#batchMask .oc-field{padding:8px;border-radius:10px;margin-bottom:8px}
  #batchMask .au-form-label,#batchMask .oc-field .k{font-size:13px;margin-bottom:6px}
  #batchMask .oc-platform-section{gap:6px}
  #batchMask .oc-platform-section .au-form-label{margin:0}
  #batchMask .oc-platforms{gap:4px}
  #batchMask .oc-platform{border-radius:9px;min-height:62px;padding:6px 1px}
  #batchMask .oc-platform.sel{padding:5px 0}
  #batchMask .oc-platform .ico{width:24px;height:24px;margin-bottom:4px}
  #batchMask .oc-platform .ico img{width:24px;height:24px}
  #batchMask .oc-platform b{font-size:10px;letter-spacing:-.3px}
  #batchMask .oc-card-section,#batchMask .oc-quantity-section{grid-template-columns:52px minmax(0,1fr);gap:6px 8px}
  #batchMask .oc-cardtypes{gap:6px}
  #batchMask .oc-cardtype{min-height:40px;padding:8px 5px;font-size:14px;border-radius:9px}
  #batchMask .oc-desc,#batchMask .oc-field .sub{font-size:11px;line-height:1.5;margin-top:6px}
  #batchMask .oc-card-section .oc-desc,#batchMask .oc-quantity-section .oc-desc,#batchMask .oc-form-note{margin:0}
  #batchMask .oc-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #batchMask .oc-stepper{height:40px;border-radius:8px}
  #batchMask .oc-stepper button{width:30px}
  #batchMask .oc-stepper input{font-size:16px}
  #batchMask .oc-stepper .unit{font-size:12px;margin-right:5px}
  #batchMask .modal-f{padding:10px 12px 12px;gap:10px}
  #batchMask .modal-f .btn{min-height:44px;min-width:60px;border-radius:11px;font-size:14px;padding:10px 13px}
  #batchMask .oc-creds{max-height:45dvh}
  #batchMask .oc-cred{padding:6px 8px;gap:6px}
  #batchMask .oc-cred-value{font-size:13px}
  #batchMask .oc-copy-one{font-size:14px;min-width:44px;min-height:44px}
  #batchMask .oc-result-note{font-size:12px;margin-top:10px}
  #batchMask.oc-success .modal-h{padding:12px}
  #batchMask.oc-success .modal-f{padding-top:16px}
}
@media(max-width:600px) and (max-height:640px){
  #batchMask .oc-sec,#batchMask .oc-field{margin-bottom:6px}
  #batchMask .oc-platform{min-height:54px}
  #batchMask .oc-platform .ico,#batchMask .oc-platform .ico img{width:22px;height:22px}
}
