/* OFS desk — layered on /shared/theme.css so the desk and the client journey are
   one product. Class names match what app.js emits; the palette is the prototype's. */

/* ---------- top bar ---------- */
header.top img{height:34px;width:auto;display:block}
header.top{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:var(--white);
  border-bottom:1px solid var(--line);padding:12px 20px;position:sticky;top:0;z-index:20;
  box-shadow:var(--shadow-s)}
.brand{font-weight:600;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--navy)}
.brand span{color:var(--teal)}
.top .sp{flex:1}
.clock{font-family:var(--mono);font-size:12.5px;color:var(--muted)}
.who{font-size:11.5px;color:var(--muted);text-align:right;line-height:1.3}
.who b{color:var(--ink);display:block;font-size:13px}

/* ---------- tabs ---------- */
nav.tabs{display:flex;gap:4px;padding:14px 20px 0;background:transparent}
nav.tabs button{border:0;background:transparent;padding:8px 16px;border-radius:9px 9px 0 0;
  font-size:12.5px;font-weight:600;color:var(--muted);transition:.16s}
nav.tabs button:hover{color:var(--navy)}
nav.tabs button.on{background:var(--white);color:var(--navy);box-shadow:0 -2px 8px rgba(27,42,78,.05)}

main{padding:0 20px 48px}
section.pane{background:var(--white);border:1px solid var(--line);border-radius:0 var(--r) var(--r) var(--r);
  padding:18px;box-shadow:var(--shadow-s)}

/* ---------- KPI row ---------- */
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:18px}
.kpi{background:#fbfdfe;border:1px solid var(--line);border-radius:12px;padding:13px 15px}
.kpi .k{font-size:9.5px;text-transform:uppercase;letter-spacing:.13em;color:var(--muted);font-weight:600}
.kpi .v{font-size:22px;font-weight:600;font-family:var(--mono);font-variant-numeric:tabular-nums;
  color:var(--navy);margin-top:3px}
.kpi .s{font-size:11.5px;color:var(--muted)}

h2.sec{font-size:10.5px;text-transform:uppercase;letter-spacing:.16em;color:var(--teal);
  font-weight:600;margin:24px 0 11px}

/* ---------- issue cards ---------- */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:13px}
.cards>*{min-width:0}
.card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:15px;
  box-shadow:var(--shadow-s);transition:.16s;min-width:0}
.card select,.card input{max-width:100%}
.card:hover{border-color:rgba(23,180,185,.45)}
.card .hd{display:flex;align-items:flex-start;gap:10px}
.card .sym{font-weight:600;font-size:16px;color:var(--navy)}
.card .co{font-size:12px;color:var(--muted)}
.card .isin{font-family:var(--mono);font-size:10.5px;color:var(--muted);margin-top:2px}

/* min-width:0 everywhere below is load-bearing, not tidying. A grid item defaults
   to min-width:auto, so a <select> holding "SYMBOL - Some Long Company Ltd" makes
   its column as wide as that option; the grid then outgrows the card and the first
   column is clipped away by the overflow:hidden here. */
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:1px;margin-top:12px;
  background:var(--line-s);border:1px solid var(--line-s);border-radius:10px;overflow:hidden}
.f{background:#fff;padding:9px 12px;min-width:0}
.f input,.f select,.f textarea{width:100%;max-width:100%;min-width:0}
.f .k{font-size:9.5px;text-transform:uppercase;letter-spacing:.11em;color:var(--muted);font-weight:600}
.f .v{font-family:var(--mono);font-variant-numeric:tabular-nums;font-weight:600;font-size:13px;margin-top:2px}
.f input,.f select{margin-top:4px}

.split{display:flex;height:7px;border-radius:4px;overflow:hidden;background:rgba(36,63,142,.08);margin-top:13px}
.split i{display:block;height:100%}
.split i.r{background:linear-gradient(90deg,var(--green),#0a9b96)}
.split i.h{background:linear-gradient(90deg,var(--navy),var(--cyan))}
.legend{display:flex;gap:14px;font-size:11px;color:var(--muted);margin-top:7px;flex-wrap:wrap}
.legend b{font-weight:600;color:var(--ink);font-family:var(--mono)}
.dot{display:inline-block;width:8px;height:8px;border-radius:3px;margin-right:5px}
.dot.r{background:var(--green)} .dot.h{background:var(--navy)}
.cdn{font-family:var(--mono);font-size:11.5px;color:var(--amber);margin-top:11px}

/* ---------- controls ---------- */
.bar{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-bottom:14px}
input[type=text],input[type=number],input[type=datetime-local],input[type=email],select{
  padding:9px 12px;border:1px solid var(--line);border-radius:9px;background:#fbfdfe;
  font-family:inherit;font-size:13px;color:var(--ink);outline:none;transition:.15s}
input:focus,select:focus{border-color:var(--teal);background:#fff;box-shadow:0 0 0 3px rgba(23,180,185,.14)}
input[type=number],input.m{font-family:var(--mono)}

button.btn{background:linear-gradient(135deg,var(--teal),var(--navy));border:1px solid transparent;color:#fff;
  padding:9px 16px;border-radius:9px;font-weight:600;font-size:13px;transition:.16s;
  box-shadow:0 4px 14px rgba(23,180,185,.28)}
button.btn:not(:disabled):hover{filter:brightness(1.07);transform:translateY(-1px)}
button.btn.ghost{background:#fff;border-color:var(--line);color:var(--navy);box-shadow:none}
button.btn.ghost:not(:disabled):hover{border-color:var(--teal);color:var(--teal);transform:none}
button.btn.warn{background:#fff;border-color:rgba(214,69,80,.35);color:var(--red);box-shadow:none}
button.btn.warn:not(:disabled):hover{background:rgba(214,69,80,.06);transform:none}
button.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
button.mini{background:#fff;border:1px solid var(--line);color:var(--muted);border-radius:7px;
  padding:5px 10px;font-size:11.5px;font-weight:600;transition:.14s}
button.mini:hover{border-color:var(--teal);color:var(--teal)}

/* ---------- tables ---------- */
.wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:12.5px}
th{text-align:left;font-size:9.5px;text-transform:uppercase;letter-spacing:.11em;color:var(--muted);
  font-weight:600;background:#fafcfd;border-bottom:1px solid var(--line);padding:9px 12px;white-space:nowrap}
td{border-bottom:1px solid var(--line-s);padding:10px 12px;vertical-align:middle}
td.n,th.n{text-align:right;font-family:var(--mono);font-variant-numeric:tabular-nums}
th.n{font-family:var(--sans)}
td.m{font-family:var(--mono);font-size:12px}
tbody tr:hover{background:#fafcfd}
.empty{color:var(--muted);text-align:center;padding:30px;font-size:12.5px}

/* ---------- chips & statuses ---------- */
.chip{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;
  font-size:11px;font-weight:600;border:0}
.chip.open{background:rgba(11,177,131,.13);color:#07845f}
.chip.soon{background:rgba(217,138,31,.14);color:var(--amber)}
.chip.closed{background:#eef2f6;color:var(--muted)}
.tag{display:inline-flex;align-items:center;font-size:11px;font-weight:600;padding:2px 9px;
  border-radius:999px;background:#eef2f6;color:var(--muted)}
.tag.ret{background:rgba(11,177,131,.12);color:#07845f}
.tag.hni{background:rgba(36,63,142,.1);color:var(--navy)}
.st{font-size:11px;font-weight:600}
.st.live{color:#07845f} .st.mod{color:var(--amber)} .st.rej{color:var(--red)}
.st.canc{color:var(--muted);text-decoration:line-through}

.note{font-size:12px;color:var(--muted);background:#f7fbfc;border:1px solid var(--line-s);
  border-left:3px solid var(--amber);border-radius:9px;padding:11px 14px;margin:12px 0;line-height:1.6}
.note code{font-family:var(--mono);font-size:11.5px;background:#eef4f7;padding:1px 5px;border-radius:4px}

/* ---------- sign-in gate ---------- */
#gate{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;
  background:var(--paper);padding:24px}
#gate .box{max-width:460px;background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:30px;box-shadow:var(--shadow)}
#gate h1{font-size:18px;margin:0 0 8px;color:var(--navy)}
#gate p{color:var(--muted);margin:0 0 18px;line-height:1.6}
#gate .why{font-size:11.5px;color:var(--muted);border-top:1px solid var(--line-s);padding-top:14px;margin-top:18px}
#gate a.btn{display:inline-block;text-decoration:none}

/* ---------------- exchange pull ---------------- */
.pick{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;margin-right:12px}
.pick input{accent-color:var(--navy)}

.sync-prog{margin:14px 0;padding:14px 16px;background:var(--white);border:1px solid var(--line);
  border-radius:var(--r);box-shadow:var(--shadow-s)}
.sync-prog .head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:9px;font-size:13px}
.sync-prog .head span{font-family:var(--mono);color:var(--muted)}
.sync-prog .track{height:7px;border-radius:99px;background:var(--line-s);overflow:hidden}
.sync-prog .fill{height:100%;width:0;border-radius:99px;transition:width .35s ease;
  background:linear-gradient(90deg,var(--navy),var(--teal))}
.sync-prog .log{margin-top:12px;max-height:230px;overflow:auto;font-size:12px;line-height:1.65}
.sync-prog .log div{display:flex;gap:9px;padding:3px 0;border-bottom:1px solid var(--line-s)}
.sync-prog .log div:last-child{border-bottom:0}
.sync-prog .log .ex{flex:0 0 42px;font-weight:600;color:var(--navy)}
.sync-prog .log .ms{flex:1;color:var(--ink)}
.sync-prog .log .out{flex:0 0 auto;font-size:11px;font-weight:600;padding:1px 8px;border-radius:99px}
.sync-prog .log .out.ok{background:rgba(11,177,131,.13);color:#07845f}
.sync-prog .log .out.bad{background:rgba(214,69,80,.11);color:var(--red)}
.sync-prog .log .out.warn{background:rgba(217,138,31,.14);color:var(--amber)}
.sync-prog .log .out.info{background:#eef2f6;color:var(--muted)}

.sync-cards{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}
.sync-card{flex:1 1 240px;padding:14px 16px;background:var(--white);border:1px solid var(--line);
  border-radius:var(--r);box-shadow:var(--shadow-s)}
.sync-card h3{font-size:13px;display:flex;align-items:center;gap:8px;margin-bottom:9px}
.sync-card .figs{display:flex;gap:16px;flex-wrap:wrap}
.sync-card .fig b{display:block;font-family:var(--mono);font-size:19px;line-height:1.2}
.sync-card .fig span{font-size:11px;color:var(--muted)}
.sync-card .why{margin-top:10px;font-size:12px;color:var(--muted);line-height:1.6}

.sync-sched{margin:14px 0;padding:4px 16px 16px;background:var(--white);border:1px solid var(--line);
  border-radius:var(--r);box-shadow:var(--shadow-s)}
.sync-sched .row{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end}
.sync-sched label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600}
.sync-sched label span{color:var(--muted);font-weight:500}
.sync-sched .btn{margin:0}
td.sm{font-size:11.5px;color:var(--muted);max-width:280px}

/* ==========================================================================
   Responsive.
   The desk is used on a trading screen, a laptop and — during a bidding window —
   a phone. Three things break first at small widths and are handled explicitly:
   the sticky header, the tab strip, and tables that must stay scannable rather
   than reflow into unreadable stacks. Bid data keeps its columns and scrolls.
   ========================================================================== */

/* Any table can outgrow the viewport; give every one its own scroller so the page
   itself never scrolls sideways. */
.wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.wrap table{min-width:max-content}

@media (max-width: 1100px) {
  main{padding:0 14px 40px}
  nav.tabs{padding:12px 14px 0}
  section.pane{padding:15px;border-radius:var(--r)}
}

@media (max-width: 820px) {
  header.top{gap:10px;padding:10px 14px;position:static}   /* sticky wastes height here */
  header.top .clock{order:3}
  header.top .who{order:9;text-align:left;flex:1 1 100%;border-top:1px solid var(--line-s);padding-top:8px}
  header.top .who b{display:inline;font-size:12px}
  header.top .who span{margin-left:6px}

  /* The tab strip scrolls rather than wrapping into two rows that push content down. */
  nav.tabs{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  nav.tabs::-webkit-scrollbar{display:none}
  nav.tabs button{flex:0 0 auto;padding:9px 14px}

  .kpis{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:9px}
  .kpi .v{font-size:19px}
  .cards{grid-template-columns:1fr}

  /* Controls stack and go full width — a 9px-tall select is not a touch target. */
  .bar{gap:8px}
  .bar input,.bar select{flex:1 1 190px;min-width:0}
  .bar .btn,.bar .mini{flex:0 0 auto}
  input[type=text],input[type=number],input[type=datetime-local],input[type=email],select{padding:11px 12px}

  .sync-sched .row{flex-direction:column;align-items:stretch}
  .sync-sched label{width:100%}
  .sync-sched select{width:100%}
}

@media (max-width: 560px) {
  main{padding:0 10px 32px}
  nav.tabs{padding:10px 10px 0}
  section.pane{padding:12px}
  header.top{padding:9px 12px}
  header.top img{height:28px}
  .brand{font-size:11.5px;letter-spacing:.1em}
  .clock{font-size:11.5px}

  /* One field per row: two 50% columns at 360px are unusable. */
  .grid2{grid-template-columns:1fr}
  .kpis{grid-template-columns:1fr 1fr}
  .kpi{padding:11px 12px}
  .kpi .v{font-size:18px}

  .bar input,.bar select{flex:1 1 100%}
  .bar .btn{flex:1 1 100%}
  .btn,.mini{min-height:40px}

  table.tbl{font-size:12px}
  table.tbl th,table.tbl td{padding:8px 10px}
  .sync-prog .log{max-height:180px}
  .sync-cards{flex-direction:column}
}

/* A pointer that is not a mouse gets bigger hit areas throughout. */
@media (hover: none) and (pointer: coarse) {
  .btn,.mini,nav.tabs button,[data-mtab]{min-height:40px}
  table.tbl td .mini{min-height:34px}
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after{animation-duration:.001ms !important;transition-duration:.001ms !important}
}

@media print {
  header.top,nav.tabs,.bar,.toast,#gate{display:none !important}
  section.pane{border:0;box-shadow:none;padding:0}
  .wrap{overflow:visible}
}

/* ---- expandable detail directly under a table row ---- */
tr.rowdet > td{padding:0 !important;background:#f7fbfc;border-bottom:1px solid var(--line)}
.rowdet-in{padding:14px 16px}
.rowdet-in .bar{margin-bottom:12px}
.rowdet-in .grid2{margin-top:0}
.rowdet-more{margin-top:6px}
.rowdet-more .sec:first-child{margin-top:14px}

/* ---- circular queue ---- */
.badge{display:inline-block;min-width:17px;padding:1px 5px;margin-left:5px;border-radius:99px;
  background:var(--red);color:#fff;font-size:10px;font-weight:700;line-height:1.5;text-align:center}
.conf{display:inline-block;width:34px;height:5px;border-radius:99px;background:var(--line-s);overflow:hidden;vertical-align:middle}
.conf i{display:block;height:100%;background:var(--teal)}

/* ==========================================================================
   Polish pass. Nothing structural — this is contrast, weight and rhythm.
   The desk is read at a glance during a bidding window, so the rules are:
   figures carry the weight, borders recede, and colour means status only.
   Loaded last, so it wins over the block above without editing it.
   ========================================================================== */

/* ---- borders: one soft line, not three competing greys ---- */
:root{
  --hair:rgba(27,42,78,.09);        /* separators inside a surface */
  --edge:rgba(27,42,78,.13);        /* the outer edge of a surface */
  --tint:rgba(23,180,185,.06);      /* the faintest teal wash      */
}
section.pane,.card,.kpi,.sync-prog,.sync-card,.sync-sched{border-color:var(--edge)}

/* ---- field grid ----
   The separators are the 1px GAP showing the container's background through, not
   borders on the cells. Borders leave a stub on the last column and the last row
   (which have no neighbour); a gap cannot, because there is nothing after it. */
.grid2{gap:1px;background:var(--hair);border:1px solid var(--edge);border-radius:11px;overflow:hidden}
.f{background:#fff;padding:11px 14px}
.f .k{font-size:9px;letter-spacing:.13em;color:var(--muted)}
.f .v{font-size:14px;color:var(--ink);margin-top:3px;letter-spacing:-.01em}
.f:hover{background:var(--tint)}

/* ---- tables: lighter rules, heavier numbers ---- */
th{background:#fbfdfe;border-bottom:1px solid var(--edge);color:#7e8fa8}
td{border-bottom:1px solid var(--hair)}
tbody tr:last-child td{border-bottom:0}
tbody tr{transition:background .12s}
tbody tr:hover{background:var(--tint)}
td.n{font-weight:600;color:var(--ink)}
td b{font-weight:600;color:var(--navy)}

/* ---- buttons: a real resting state, and a visible focus ring ---- */
button.mini{background:#fff;border-color:var(--edge);color:#5a6b85;
  box-shadow:0 1px 1px rgba(27,42,78,.04)}
button.mini:hover{border-color:var(--teal);color:var(--navy);background:#f8fdfd}
button.mini:active{transform:translateY(1px)}
button.mini:disabled{opacity:.45;cursor:not-allowed;transform:none}
button.btn.ghost{background:#fff;border-color:var(--edge);color:var(--navy)}
button.btn.ghost:hover{border-color:var(--teal);background:#f8fdfd}
:focus-visible{outline:2px solid var(--teal);outline-offset:2px;border-radius:6px}

/* ---- chips: one shape, colour only where it means something ---- */
.chip,.tag{border:1px solid transparent;letter-spacing:.02em}
.chip.open{background:rgba(11,177,131,.11);border-color:rgba(11,177,131,.25);color:#07845f}
.chip.soon{background:rgba(217,138,31,.11);border-color:rgba(217,138,31,.28);color:#96610f}
.chip.closed,.chip.grey{background:#f1f5f9;border-color:var(--hair);color:#6b7f9e}
.tag{background:#f1f5f9;border-color:var(--hair)}
.tag.ret{background:rgba(11,177,131,.1);border-color:rgba(11,177,131,.22)}
.tag.hni{background:rgba(36,63,142,.08);border-color:rgba(36,63,142,.18)}

/* ---- the row expander: tied to its row by an accent, not a grey slab ---- */
tr.rowdet > td{background:linear-gradient(180deg,#f9fcfd,#f4f9fb);
  border-bottom:1px solid var(--edge);box-shadow:inset 0 1px 0 var(--hair)}
.rowdet-in{padding:16px 18px 18px;border-left:3px solid var(--teal);margin-left:-1px}
.rowdet-in > .bar b{color:var(--navy);letter-spacing:-.01em}
.rowdet-in .grid2{background:#fff;box-shadow:var(--shadow-s)}
.rowdet-in .note{background:#fff}

/* ---- KPI tiles ---- */
.kpi{background:linear-gradient(180deg,#fff,#fbfdfe)}
.kpi .v{letter-spacing:-.02em}

/* ---- section headings: a rule that guides the eye across ---- */
h2.sec{display:flex;align-items:center;gap:11px}
h2.sec::after{content:'';flex:1;height:1px;background:var(--hair)}

/* ---- notes: the left rule carries the meaning ---- */
.note{border-color:var(--hair);border-left-width:3px}
.note.bad{border-left-color:var(--red)}
.note.good{border-left-color:var(--green)}
.note.warn{border-left-color:var(--amber)}

/* ---- the bar: breathing room, and inputs that match the buttons ---- */
.bar{gap:8px}
.bar input,.bar select{border-color:var(--edge)}
.bar input:hover,.bar select:hover{border-color:#c7d6e2}

/* ---- attached documents ---- */
.docs{margin-top:10px}
.doc{display:flex;align-items:flex-start;gap:12px;padding:11px 13px;background:#fff;
  border:1px solid var(--edge);border-radius:10px;margin-bottom:8px;transition:.14s}
.doc:hover{border-color:rgba(23,180,185,.45);box-shadow:var(--shadow-s)}
.doc .ic{flex:0 0 auto;font-family:var(--mono);font-size:9.5px;font-weight:700;letter-spacing:.06em;
  padding:5px 7px;border-radius:6px;background:rgba(36,63,142,.08);color:var(--navy)}
.doc .tx{flex:1;min-width:0}
.doc .tx a{text-decoration:none}
.doc .tx a:hover b{text-decoration:underline}
.doc .tx b{font-size:13px;color:var(--navy)}
.doc .sub{font-size:11px;color:var(--muted);margin-top:2px;word-break:break-all}
.doc .sub.m{font-family:var(--mono);font-size:10.5px;opacity:.75}

/* ==========================================================================
   Layout. Two things were wrong and both were structural, not cosmetic:

   1. `.cards` used auto-FILL, which keeps empty tracks. On a 1900px screen that
      laid two cards out at ~350px each and left three empty columns of nothing —
      exactly what a "Place bid" form looked like squeezed into a corner.
      auto-FIT collapses the empty tracks so the cards actually use the width.
   2. Nothing capped the content width, so on a wide monitor a table stretched to
      1900px and the eye lost the row between one column and the next.
   ========================================================================== */

main{max-width:1560px;margin:0 auto}
nav.tabs{max-width:1560px;margin:0 auto}
header.top{padding-left:max(20px,calc((100vw - 1560px) / 2));
           padding-right:max(20px,calc((100vw - 1560px) / 2))}

.cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));align-items:start}

/* Place bid is a form beside a read-out, not two equal columns: the form wants a
   comfortable measure, the client panel wants whatever is left. */
#pane-place .cards{grid-template-columns:minmax(320px,440px) minmax(320px,1fr)}
@media (max-width:900px){ #pane-place .cards{grid-template-columns:1fr} }

/* Inside a card the field grid should pair fields wherever two will fit. */
.card .grid2{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}

/* ---- mobile ---- */
@media (max-width:640px){
  header.top{padding:9px 12px;gap:8px;flex-wrap:wrap}
  header.top .clock{font-size:11px;order:2}
  header.top #btnRefresh,header.top #autoRefresh{order:5}
  header.top .who{order:9;flex:1 1 100%;display:flex;align-items:baseline;gap:8px;
    border-top:1px solid var(--hair);padding-top:7px;margin-top:2px}
  header.top .who b{font-size:12px}
  header.top #btnSignOut{order:8}

  /* Toasts must not cover the controls they are describing. */
  .toast{left:10px;right:10px;bottom:10px}
  .toast>div{width:auto}

  /* A select showing "NSE — e-OFS bulk upload" cannot also be 100px wide. */
  .bar select,.bar input{flex:1 1 100%;min-width:0}
  .bar .btn{flex:1 1 auto}

  .docs .bar input{flex:1 1 100%}
  .doc{flex-wrap:wrap}
  .doc .ic{order:1}
  .doc .tx{order:3;flex:1 1 100%}
  .doc button{order:2;margin-left:auto}

  section.pane{border-radius:12px}
  h2.sec{font-size:10px}
}

@media (max-width:400px){
  .kpis{grid-template-columns:1fr}
  main{padding:0 8px 28px}
  nav.tabs{padding:8px 8px 0}
  nav.tabs button{padding:9px 11px;font-size:12px}
}
