/* Document Sign — admin theme (same look as Tigran Trucking Authorization Admin / GETDOTFLOW "Atlas").
   Loaded after app.css. Only the admin & login screens use it (body.ds / body.ds-auth);
   the client signing pages keep app.css as before. */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  --a-bg:#F1F2F4;--a-card:#fff;--a-soft:#F6F7F9;--a-b1:#DADDE3;--a-b2:#A7AEB9;
  --a-txt:#14181F;--a-dim:#2B313B;--a-sub:#4F5866;--a-muted:#626B78;
  --a-pur:#3F51C7;--a-pur2:#2F3EA3;--a-purl:#EDEFFB;--a-purm:#DADFF7;
  --a-grn:#11703C;--a-grnl:#E5F4EA;--a-red:#B42318;--a-redl:#FCEBEA;--a-yel:#8F5200;--a-yell:#FFF4DB;--a-blu:#1D4ED8;--a-blul:#E8EFFE;
  --a-side:#1D232C;--a-side2:#2B3340;--a-sidetxt:#CDD3DC;--a-sidemut:#7D8796;--a-accent:#8C9BFF;
  --a-r:4px;--a-rs:3px;
  --a-font:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  --a-mono:'IBM Plex Mono',ui-monospace,Consolas,monospace;
}

/* ============ base ============ */
body.ds,body.ds-auth{margin:0;background:var(--a-bg);color:var(--a-txt);font:14px/1.5 var(--a-font);-webkit-font-smoothing:antialiased}
body.ds a,body.ds-auth a{color:var(--a-pur)}
body.ds h1,body.ds h2,body.ds h3,body.ds-auth h1{font-family:var(--a-font);color:var(--a-txt);letter-spacing:-.015em}
body.ds h1{font-size:22px;font-weight:700;margin:0}
body.ds h2{font-size:16px;font-weight:700;margin:0 0 12px}
body.ds h3{font-size:14px;font-weight:700;margin:0 0 10px}
body.ds small,body.ds .muted{color:var(--a-muted)}

/* ============ shell ============ */
.ds-shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh}
.ds-side{position:sticky;top:0;height:100vh;overflow-y:auto;background:var(--a-side);color:var(--a-sidetxt);display:flex;flex-direction:column;padding:0 10px 12px;border-right:1px solid rgba(255,255,255,.08);z-index:120;scrollbar-width:thin}
.ds-brand{display:flex;align-items:center;gap:11px;margin:0 -10px 4px;padding:18px 16px 16px;border-bottom:1px solid rgba(255,255,255,.08)}
.ds-brand b{display:block;color:#fff;font-size:15px;line-height:1.2;font-weight:700}
.ds-brand small{display:block;color:var(--a-sidemut);font-size:11.5px;margin-top:3px;line-height:1.3}
.ds-mark{flex:0 0 auto;width:36px;height:36px;border-radius:var(--a-rs);background:var(--a-pur);color:#fff;display:grid;place-items:center;font:700 14px var(--a-mono);letter-spacing:-.02em}
.ds-mark.sm{width:28px;height:28px;font-size:11px}
.ds-close{display:none;margin-left:auto;color:var(--a-sidetxt);font-size:18px;cursor:pointer;padding:6px}
.ds-nav{display:grid;gap:2px}
.ds-navlabel{font:700 10.5px var(--a-font);letter-spacing:.12em;text-transform:uppercase;color:var(--a-sidemut);padding:16px 12px 6px}
.ds-nav a{position:relative;display:flex;align-items:center;gap:12px;padding:9px 12px;border-radius:var(--a-rs);color:var(--a-sidetxt)!important;text-decoration:none;font-size:14px;font-weight:500;line-height:1.3;transition:background .15s,color .15s}
.ds-nav a i{width:18px;text-align:center;font-size:14.5px;color:#8B95A4;transition:color .15s}
.ds-nav a:hover{background:rgba(255,255,255,.07);color:#fff!important}
.ds-nav a:hover i{color:#fff}
.ds-nav a.active{background:var(--a-side2);color:#fff!important;font-weight:700}
.ds-nav a.active i{color:var(--a-accent)}
.ds-nav a.active::after{content:"";position:absolute;left:-10px;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:var(--a-accent)}
.ds-nav a.ds-new:not(.active){color:#fff!important}
.ds-nav a.ds-new:not(.active) i{color:var(--a-accent)}
.ds-nav a.ds-ext span::after{content:"\f35d";font:900 9px 'Font Awesome 6 Free';margin-left:7px;color:var(--a-sidemut)}
.ds-count{margin-left:auto;background:var(--a-red);color:#fff;font:700 11px var(--a-mono);border-radius:999px;min-width:20px;padding:1px 6px;text-align:center}
.ds-user{margin-top:auto;display:flex;align-items:center;gap:10px;padding:10px;border:1px solid rgba(255,255,255,.08);border-radius:var(--a-rs);background:rgba(255,255,255,.04);margin-top:auto}
.ds-nav+.ds-user{margin-top:auto}
.ds-avatar{flex:0 0 auto;width:32px;height:32px;border-radius:var(--a-rs);background:var(--a-pur);color:#fff;display:grid;place-items:center;font-weight:700}
.ds-user div{min-width:0;flex:1}
.ds-user b{display:block;color:#fff;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds-user small{display:block;color:var(--a-sidemut)!important;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ds-logout{color:var(--a-sidetxt)!important;padding:7px;border-radius:var(--a-rs)}
.ds-logout:hover{background:rgba(255,255,255,.08);color:#fff!important}
.ds-body{min-width:0;display:flex;flex-direction:column}
.ds-top{display:none}
.ds-scrim{display:none}
body.ds main.ds-main{max-width:1240px;width:100%;margin:0;padding:26px 30px 60px;box-sizing:border-box}

/* ============ page head ============ */
body.ds .hero{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid var(--a-b1)}
body.ds .hero p{margin:5px 0 0;color:var(--a-sub);font-size:13.5px}
body.ds .hero .badge{margin-top:4px}

/* ============ cards ============ */
body.ds .card{background:var(--a-card);border:1px solid var(--a-b1);border-radius:var(--a-r);box-shadow:none;padding:20px}
body.ds .grid{gap:16px}
body.ds .grid+.card,body.ds .card+.card,body.ds .grid+.grid{margin-top:16px}
body.ds hr{border:0;border-top:1px solid var(--a-b1);margin:18px 0}
.ds-cardhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.ds-cardhead h2{margin:0}
.ds-cardhead a{font-size:13px;font-weight:600;text-decoration:none}

/* ============ forms ============ */
body.ds label,body.ds-auth label{font-weight:600;color:var(--a-dim);font-size:13px;margin:12px 0}
body.ds input,body.ds select,body.ds textarea,body.ds-auth input{border:1px solid var(--a-b2);border-radius:var(--a-rs);background:#fff;color:var(--a-txt);font:14px var(--a-font);padding:10px 12px;margin-top:6px}
body.ds input::placeholder,body.ds textarea::placeholder,body.ds-auth input::placeholder{color:#8C94A1}
body.ds input:focus,body.ds select:focus,body.ds textarea:focus,body.ds-auth input:focus{outline:none;border-color:var(--a-pur);box-shadow:0 0 0 3px var(--a-purm)}
body.ds input[type=checkbox]{accent-color:var(--a-pur)}
body.ds .check{font-weight:500}

/* ============ buttons ============ */
body.ds button,body.ds .btn,body.ds-auth button,body.ds-auth .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--a-b2);background:#fff;color:var(--a-dim);border-radius:var(--a-rs);font:600 13.5px var(--a-font);padding:9px 14px;box-shadow:none;cursor:pointer;text-decoration:none;transition:border-color .15s,color .15s,background .15s}
body.ds button:hover,body.ds .btn:hover{border-color:var(--a-pur);color:var(--a-pur)}
body.ds .primary,body.ds button.primary,body.ds .btn.primary,body.ds-auth button{background:var(--a-pur)!important;border-color:var(--a-pur)!important;color:#fff!important}
body.ds .primary:hover,body.ds-auth button:hover{background:var(--a-pur2)!important;border-color:var(--a-pur2)!important}
body.ds .danger,body.ds button.danger{color:var(--a-red);border-color:#F1B8B3;background:#fff}
body.ds .danger:hover{background:var(--a-redl);color:var(--a-red);border-color:var(--a-red)}
body.ds button:disabled{opacity:.6;cursor:wait}
body.ds .iconbtn{display:inline-grid;place-items:center;width:34px;height:34px;border:1px solid var(--a-b1);border-radius:var(--a-rs);color:var(--a-sub);text-decoration:none}
body.ds .iconbtn:hover{border-color:var(--a-pur);color:var(--a-pur)}
body.ds .row{gap:8px}

/* ============ tables ============ */
body.ds .tablewrap{overflow-x:auto}
body.ds table{width:100%;border-collapse:collapse;font-size:13.5px}
body.ds th{background:var(--a-side);color:#fff;font:700 11px var(--a-font);letter-spacing:.06em;text-transform:uppercase;padding:11px 12px;border:0;text-align:left;white-space:nowrap}
body.ds td{padding:11px 12px;border-bottom:1px solid var(--a-b1);color:var(--a-dim);vertical-align:middle}
body.ds tbody tr:hover td{background:var(--a-soft)}
body.ds td small{display:block;color:var(--a-muted);font-size:12px;margin-top:2px}
body.ds td a{color:var(--a-txt);text-decoration:none}
body.ds td a:hover{color:var(--a-pur);text-decoration:underline}
body.ds .ds-id{font-family:var(--a-mono);font-size:12px;color:var(--a-sub)}
body.ds td.ds-id{white-space:nowrap}
body.ds .ds-nowrap{white-space:nowrap}
body.ds .card.tablewrap,body.ds .ds-listcard{padding:0;overflow:hidden}
body.ds .inline-status select{margin:0;padding:6px 8px;font-size:12.5px;min-width:120px}

/* ============ status badges / progress ============ */
body.ds .badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:var(--a-rs);font:700 11px var(--a-font);letter-spacing:.04em;text-transform:uppercase;background:var(--a-soft);color:var(--a-sub);box-shadow:inset 0 0 0 1px var(--a-b1)}
body.ds .badge.draft{background:var(--a-soft);color:var(--a-sub)}
body.ds .badge.sent{background:var(--a-blul);color:var(--a-blu);box-shadow:none}
body.ds .badge.viewed,body.ds .badge.in_progress{background:var(--a-yell);color:var(--a-yel);box-shadow:none}
body.ds .badge.completed{background:var(--a-grnl);color:var(--a-grn);box-shadow:none}
body.ds .badge.archived,body.ds .badge.cancelled{background:#ECEDEF;color:#5B6270;box-shadow:none}
body.ds .progress-state{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:12.5px}
body.ds .progress-state.done{color:var(--a-grn)}
body.ds .progress-state.viewed{color:var(--a-yel)}
body.ds .progress-state.sent{color:var(--a-blu)}
body.ds .progress-state.draft{color:var(--a-sub)}

/* ============ dashboard ============ */
.ds-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.ds-stat{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--a-b1);border-radius:var(--a-r);padding:16px;text-decoration:none!important;color:var(--a-txt)!important;transition:border-color .15s}
.ds-stat:hover{border-color:var(--a-b2)}
.ds-stat i{width:40px;height:40px;border-radius:var(--a-rs);display:grid;place-items:center;font-size:17px;background:var(--a-purl);color:var(--a-pur)}
.ds-stat.draft i{background:var(--a-soft);color:var(--a-sub)}
.ds-stat.sent i{background:var(--a-yell);color:var(--a-yel)}
.ds-stat.completed i{background:var(--a-grnl);color:var(--a-grn)}
.ds-stat b{display:block;font:600 24px var(--a-mono);letter-spacing:-.02em;line-height:1.1}
.ds-stat span{display:block;color:var(--a-sub);font-size:12.5px;margin-top:2px}
.ds-dash{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px;align-items:start}
.ds-dash .card+.card{margin-top:0}
.ds-alert{display:flex;gap:11px;padding:10px 0;border-bottom:1px solid var(--a-b1);text-decoration:none!important;color:var(--a-txt)!important}
.ds-alert:last-of-type{border-bottom:0}
.ds-alert i{margin-top:2px;color:var(--a-sub);width:16px;text-align:center}
.ds-alert i.ok{color:var(--a-grn)}
.ds-alert i.view{color:var(--a-yel)}
.ds-alert b{display:block;font-size:13.5px}
.ds-alert small{display:block;font-size:12px;color:var(--a-muted)}
.ds-howto{margin-top:16px;padding:14px;border-radius:var(--a-r);background:var(--a-soft);border:1px solid var(--a-b1)}
.ds-howto ol{margin:0;padding-left:18px;color:var(--a-dim);font-size:13px;line-height:1.7}
.ds-empty{text-align:center;padding:34px 16px;color:var(--a-muted)}
.ds-empty i{font-size:30px;opacity:.5;display:block;margin-bottom:8px}
.ds-empty p{margin:0 0 14px}

/* ============ documents toolbar ============ */
.ds-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 16px;border-bottom:1px solid var(--a-b1)}
.ds-chips{display:flex;gap:6px;flex-wrap:wrap}
body.ds .ds-chip{padding:6px 11px;font-size:12.5px;border-color:var(--a-b1);color:var(--a-sub)}
body.ds .ds-chip b{font:600 11px var(--a-mono);background:var(--a-soft);border-radius:2px;padding:1px 5px;color:var(--a-sub)}
body.ds .ds-chip.on{background:var(--a-pur);border-color:var(--a-pur);color:#fff}
body.ds .ds-chip.on b{background:rgba(255,255,255,.2);color:#fff}
.ds-search{position:relative;margin:0!important;flex:0 1 300px}
.ds-search i{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:var(--a-muted);font-size:13px}
body.ds .ds-search input{margin:0;padding-left:32px}

/* ============ new document ============ */
.ds-steps{list-style:none;display:flex;gap:8px;margin:0 0 16px;padding:0;flex-wrap:wrap}
.ds-steps li{display:flex;align-items:center;gap:8px;padding:7px 12px 7px 8px;border:1px solid var(--a-b1);border-radius:var(--a-rs);background:#fff;color:var(--a-sub);font-weight:600;font-size:13px}
.ds-steps li span{width:22px;height:22px;border-radius:var(--a-rs);display:grid;place-items:center;background:var(--a-soft);font:700 11.5px var(--a-mono)}
.ds-steps li.on{border-color:var(--a-pur);color:var(--a-pur)}
.ds-steps li.on span{background:var(--a-pur);color:#fff}
.ds-newgrid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px;align-items:start}
.ds-newgrid .card+.card{margin-top:0}
.ds-drop{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:150px;margin:0 0 6px!important;border:2px dashed var(--a-b2);border-radius:var(--a-r);background:var(--a-soft);text-align:center;cursor:pointer;transition:.15s;padding:18px}
.ds-drop input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0!important;width:100%;height:100%}
.ds-drop i{font-size:28px;color:var(--a-pur)}
.ds-drop b{font-size:14px;color:var(--a-txt)}
.ds-drop small{color:var(--a-muted);font-weight:500}
.ds-drop.drag,.ds-drop:hover{border-color:var(--a-pur);background:var(--a-purl)}
.ds-drop.has{border-style:solid;border-color:var(--a-grn);background:var(--a-grnl)}
.ds-drop.has i{color:var(--a-grn)}
.ds-drop.has i::before{content:"\f15c"}
.ds-formfoot{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid var(--a-b1)}
.ds-tips ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.ds-tips li{display:flex;gap:10px;font-size:13px;color:var(--a-dim);line-height:1.5}
.ds-tips li i{color:var(--a-pur);width:16px;margin-top:3px;text-align:center}

/* ============ document page ============ */
body.ds .activity{display:flex;gap:11px;padding:10px 0;border-bottom:1px solid var(--a-b1)}
body.ds .activity:last-child{border-bottom:0}
body.ds .activity i{color:var(--a-grn);width:16px;text-align:center;margin-top:2px}
body.ds .activity.link_viewed i{color:var(--a-yel)}
body.ds .activity[class*=signature_request] i{color:var(--a-blu)}
body.ds .activity[class*=fail] i{color:var(--a-red)}
body.ds .activity b{font-size:13.5px}
.ds-copy{display:flex;gap:6px;margin:4px 0 10px}
body.ds .ds-copy input{margin:0;font:12.5px var(--a-mono);background:var(--a-soft)}
body.ds .ds-copy button{flex:0 0 auto}
body.ds .danger-zone{border-color:#F1B8B3}
body.ds .danger-zone h2{color:var(--a-red)}
body.ds .status-form select{margin:0}

/* ============ field editor (layout only, editor logic unchanged) ============ */
body.ds .editor{grid-template-columns:230px minmax(0,1fr);gap:16px}
body.ds .toolbox{position:sticky;top:16px;align-self:start}
body.ds .toolbox button{width:100%;justify-content:flex-start;margin-bottom:6px}
body.ds .toolbox button.primary{box-shadow:0 0 0 3px var(--a-purm)}
body.ds .pdfstage{background:#E4E6EA;border-color:var(--a-b1)}
body.ds .toolhint{border-radius:var(--a-rs);background:var(--a-purl);border-color:var(--a-purm);color:var(--a-dim)}
body.ds .editor-save{background:#fff;border:1px solid var(--a-b1);border-radius:var(--a-rs);padding:7px 10px}

/* ============ settings / notifications / misc ============ */
body.ds .connection-state{border-radius:var(--a-r)}
body.ds .connection-state.ok{background:var(--a-grnl);border-color:#B5DCC3;color:var(--a-grn)}
body.ds .connection-state.warn{background:var(--a-yell);border-color:#F2D49B;color:var(--a-yel)}
body.ds .settings-list>div{border-color:var(--a-b1)}
body.ds .fingerprint{font:11px var(--a-mono);word-break:break-all}
body.ds .gmail-icon{color:var(--a-pur)}
body.ds .notice{border-radius:var(--a-r);background:var(--a-yell);border-color:#F2D49B;color:var(--a-dim)}
body.ds .notification-list{padding:0}
body.ds .notification-item{display:flex;gap:12px;padding:14px 18px;border-bottom:1px solid var(--a-b1);text-decoration:none;color:var(--a-txt)}
body.ds .notification-item:last-child{border-bottom:0}
body.ds .notification-item:hover{background:var(--a-soft)}
body.ds .notification-item i{color:var(--a-pur);margin-top:3px;width:16px;text-align:center}
body.ds .notification-item i.fa-circle-check{color:var(--a-grn)}
body.ds .notification-item i.fa-eye{color:var(--a-yel)}
body.ds .notification-item div{display:flex;flex-direction:column;gap:2px}
body.ds .notification-item span{color:var(--a-dim);font-size:13px}
body.ds .notification-item.unread{background:var(--a-purl)}
body.ds .notification-list>p{padding:18px}
body.ds .narrow{max-width:520px;margin:0}
body.ds textarea{font-family:var(--a-mono);font-size:12.5px;line-height:1.5}

/* ============ login & public pages ============ */
body.ds-auth{min-height:100vh;background:var(--a-side)}
.ds-authhead{display:flex;align-items:center;gap:11px;justify-content:center;padding:40px 16px 22px;color:#fff}
.ds-authhead b{display:block;font-size:16px}
.ds-authhead small{display:block;color:var(--a-sidemut);font-size:12px}
body.ds-auth main.ds-authmain{max-width:none;margin:0;padding:0 16px 40px}
body.ds-auth .card{background:#fff;border:1px solid var(--a-b1);border-radius:var(--a-r);box-shadow:0 24px 64px rgba(0,0,0,.35);padding:28px}
body.ds-auth .card.narrow{max-width:420px;margin:0 auto}
body.ds-auth .card.policy{max-width:900px;margin:0 auto}
body.ds-auth h1{font-size:21px;margin:0 0 6px}
body.ds-auth form button{width:100%;margin-top:8px;padding:11px}
body.ds-auth .btn{background:#fff;color:var(--a-dim)}

/* ============ medium screens ============ */
@media (max-width:1100px){
  .ds-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ds-dash,.ds-newgrid{grid-template-columns:minmax(0,1fr)}
}

/* ============ phones: slide-in menu ============ */
@media (max-width:900px){
  .ds-shell{display:block}
  .ds-side{position:fixed;left:0;top:0;bottom:0;width:272px;height:100%;transform:translateX(-100%);transition:transform .2s ease;box-shadow:0 0 40px rgba(0,0,0,.35)}
  .ds-menu-toggle:checked~.ds-shell .ds-side{transform:none}
  .ds-menu-toggle:checked~.ds-shell .ds-scrim{display:block;position:fixed;inset:0;background:rgba(12,20,32,.45);z-index:110}
  .ds-close{display:block}
  .ds-top{display:flex;align-items:center;gap:10px;position:sticky;top:0;z-index:100;background:var(--a-side);color:#fff;padding:10px 14px}
  .ds-top b{font-size:15px;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ds-burger,.ds-topnew{color:#fff!important;font-size:18px;padding:6px 8px;cursor:pointer;border-radius:var(--a-rs);text-decoration:none}
  .ds-topnew{background:var(--a-pur);font-size:15px}
  body.ds main.ds-main{padding:16px 14px 40px}
  body.ds .hero{flex-direction:column;align-items:stretch}
  body.ds .hero .btn{justify-content:center}
  body.ds .grid.two{grid-template-columns:1fr}
  body.ds .editor{grid-template-columns:1fr}
  body.ds .toolbox{position:relative;top:auto}
  .ds-search{flex:1 1 100%}
  body.ds input,body.ds select,body.ds textarea{font-size:16px}
}
@media (max-width:520px){
  .ds-stats{grid-template-columns:1fr 1fr;gap:10px}
  .ds-stat{padding:12px;gap:10px}
  .ds-stat i{width:34px;height:34px;font-size:15px}
  .ds-stat b{font-size:20px}
  .ds-formfoot{flex-direction:column-reverse}
  .ds-formfoot .btn,.ds-formfoot button{width:100%}
}

/* phones: documents table becomes a list of cards */
@media (max-width:640px){
  body.ds #dsDocs thead{display:none}
  body.ds #dsDocs,body.ds #dsDocs tbody{display:block;width:100%}
  body.ds #dsDocs tr{position:relative;display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:12px 14px;border-bottom:1px solid var(--a-b1)}
  body.ds #dsDocs tr[hidden]{display:none}
  body.ds #dsDocs td{display:block;border:0;padding:0;background:none!important}
  body.ds #dsDocs td:nth-child(1){grid-column:1;order:1}
  body.ds #dsDocs td:nth-child(2){grid-column:1/-1;order:2;font-weight:700;font-size:15px}
  body.ds #dsDocs td:nth-child(3){grid-column:1/-1;order:3}
  body.ds #dsDocs td:nth-child(4){grid-column:1;order:4}
  body.ds #dsDocs td:nth-child(5){grid-column:2;order:4;align-self:center}
  body.ds #dsDocs td:nth-child(6){grid-column:1/-1;order:5;font-size:12px;color:var(--a-muted)}
  body.ds #dsDocs td:nth-child(7){position:absolute;right:12px;top:10px}
  body.ds #dsDocs .inline-status select{min-width:150px}
}
@media (max-width:640px){
  body.ds #dsDocs .inline-status select{width:auto;max-width:100%;min-width:140px}
  body.ds #dsDocs td:nth-child(2){padding-right:44px}
  body.ds .ds-dash .ds-table th:nth-child(2),body.ds .ds-dash .ds-table td:nth-child(2),
  body.ds .ds-dash .ds-table th:nth-child(4),body.ds .ds-dash .ds-table td:nth-child(4){display:none}
}
@media (max-width:640px){
  body.ds .tablewrap table#dsDocs,body.ds .ds-dash .tablewrap table{min-width:0}
}
