/* Grounded in the thing itself: the deep blue-violet of a silicon cell under
   glass, amber on the array, green on a healthy charge.

   One rule runs through all of it -- colour follows the job, not the quantity.
   A DATA colour is only ever a mark: a bar, a line, the left edge of a card.
   A STATE colour is only ever a surface: the bar behind a reading, a dot, the
   level in the bank. That is why amber production and an amber warning never
   collide -- they never take the same shape.

   The one place a quantity has two colours is load: copper here, blue in the
   charts. On this page it is a labelled card with a huge number and nobody
   decodes the hue; in a chart of thirty paired bars the hue is the only label,
   and there the validated set wins. */

:root {
  /* surfaces */
  --cell:      #0e1a2b;
  --deep:      #08111d;
  --edge:      #1b2c44;

  /* ink */
  --text:      #dfe8f3;
  --dim:       #7b90aa;

  /* data -- marks only */
  --pv:        #c98500;
  /* The second tracker. Darker amber: same job, told apart by depth
     rather than by hue, because both are the same quantity. */
  --pv2:       #8a5b00;

  /* The day page's plot area. Every chart there reserves exactly this
     much for its scale and this much on the right, so the four of them
     line up and one pointer can light the same moment in all of them.
     Chart.js is told the same numbers in solar.js. */
  --gut:       54px;
  --gut-r:     10px;
  /* The same job as --pv, lighter: production that did not happen.
     Always a line, never a bar -- colour follows the job, and shape is
     what keeps the measured apart from the modelled. */
  --pot:       #f0c070;
  /* The generator. Its own hue, well away from the sun's amber: the whole
     point of showing it is that diesel is not mistaken for production. */
  --gen:       #9b7bd4;
  --load:      #3987e5;
  --battery:   #199e70;
  --drain:     #d55181;

  /* live view keeps its warmth */
  --draw:      #c0663a;

  /* state -- surfaces only */
  --warn:      #c08a2e;
  --alarm:     #c8553d;
  --warn-bg:   #241c0c;
  --warn-edge: #4a3a17;
  --alarm-bg:  #2a1512;
  --alarm-edge:#55241d;
  --deficit:   #3f1520;

  --radius: 3px;
  --gap: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cell);
  color: var(--text);
  font-family: Barlow, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  min-height: 100vh;
}

a { color: inherit; }
[hidden] { display: none !important; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px 56px; }

/* ── The bar, and the one thing this page must never get wrong ──────────
   A reading hours old has to look different from a live one, because the
   monitor this replaces showed stale values with nothing to say so. In the
   healthy state -- nearly always -- the bar carries the age and the button
   and not one word more. Words appear only when they say something. */

.bar {
  position: sticky; top: 0; z-index: 3;
  background: var(--deep);
  border-bottom: 1px solid var(--edge);
}
.bar-inner {
  max-width: 1080px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
}
.bar h1 { margin: 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.005em; }
/* The name is the way home. "#" goes there without reloading; see the test. */
.bar h1 a { color: inherit; text-decoration: none; }
.bar h1 a:focus-visible { outline: 2px solid var(--pv); outline-offset: 3px; border-radius: 2px; }

.pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--battery); flex: none;
}
.age { font-size: .86rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.said { margin-left: auto; color: var(--dim); font-size: .84rem; text-align: right; }
.said b { color: var(--text); font-weight: 500; }

body.is-stale .bar { background: var(--warn-bg); border-bottom-color: var(--warn-edge); }
body.is-stale .pulse { background: var(--warn); }
body.is-down .bar { background: var(--alarm-bg); border-bottom-color: var(--alarm-edge); }
body.is-down .pulse { background: var(--alarm); }
/* Stale readings are dimmed outright. An old number is worth having; mistaking
   it for now is not. */
body.is-stale .live, body.is-down .live,
body.is-stale #fault, body.is-down #fault { opacity: .45; }

button, select, .chip {
  font: inherit; font-weight: 500;
  color: var(--text); background: transparent;
  border: 1px solid var(--edge); border-radius: var(--radius);
  padding: 6px 12px; cursor: pointer;
}
button:hover, select:hover, .chip:hover { border-color: var(--dim); }
button:focus-visible, select:focus-visible, .chip:focus-visible {
  outline: 2px solid var(--pv); outline-offset: 2px;
}
button[disabled] { opacity: .5; cursor: default; }
.chip.on { background: var(--edge); border-color: var(--dim); }

.refresh {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; padding: 0; flex: none; color: var(--dim);
}
.refresh:hover { color: var(--text); }
.refresh.busy svg { animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .refresh.busy svg { animation: none; } }

/* ── The live band ───────────────────────────────────────────────────── */

/* Battery, then what the inverter says about itself, then the two flows stacked.
   The bank is the hero and keeps the left; the numbers you act on sit beside it
   rather than behind a card. */
.band {
  display: grid; grid-template-columns: auto minmax(200px, auto) 1fr;
  gap: 24px; padding: 20px 0 22px;
}
.flows { display: grid; gap: 12px; align-content: start; }
.hero { display: flex; gap: 16px; align-items: flex-end; }

/* Four flat rack modules, three wide to one high, the way US5000 sit in the
   cabinet. The width grew rather than the height shrinking, so the level still
   has somewhere to climb. */
.batt {
  position: relative; width: 132px; height: 176px; flex: none;
  border: 2px solid var(--edge); border-radius: var(--radius);
  background: var(--deep); overflow: hidden;
}
.batt .level {
  position: absolute; left: 0; right: 0; bottom: 0; height: 0;
  background: linear-gradient(0deg, #126b4c 0%, var(--battery) 100%);
  transition: height 900ms cubic-bezier(.2,.7,.3,1);
}
body.is-low .batt .level { background: linear-gradient(0deg, #6b4a1c 0%, var(--warn) 100%); }
.batt i { position: absolute; left: 0; right: 0; height: 2px; background: var(--cell); }
@media (prefers-reduced-motion: reduce) { .batt .level { transition: none; } }

.figs { display: flex; flex-direction: column; justify-content: flex-end; }
.soc {
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-size: clamp(2.8rem, 9vw, 3.4rem);
  font-weight: 600; line-height: .82; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.soc u { font-size: .32em; font-weight: 500; color: var(--dim); text-decoration: none; }
.kwh { margin-top: 8px; font-size: 1.02rem; font-weight: 500; }

.night { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--edge); }
.night-v { font-size: .95rem; font-weight: 600; }
.night-v em { font-style: normal; }
.night-v em.calm { color: var(--battery); }
.night-v em.tight { color: var(--warn); }
.night-v em.fails { color: var(--alarm); }
.spread {
  margin-top: 6px; height: 4px; border-radius: 2px;
  background: var(--edge); position: relative;
}
.spread i { position: absolute; top: 0; bottom: 0; border-radius: 2px; opacity: .45; }
.spread b { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--text); }
.night-s { color: var(--dim); font-size: .73rem; margin-top: 4px; }

.card {
  background: var(--deep); border-radius: var(--radius);
  padding: 14px 16px 15px; border-left: 3px solid var(--edge);
}
.card.pv { border-left-color: var(--pv); }
.card.load { border-left-color: var(--draw); }
.card.gen { border-left-color: var(--gen); }
/* A string that has fallen away from its twin is a state, not a quantity. */
.card.alert { background: var(--warn-bg); border-left-color: var(--warn); }
.card h2 { margin: 0 0 3px; font-size: .78rem; font-weight: 500; color: var(--dim); }
.num {
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-size: 2.1rem; font-weight: 600; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.num u { font-size: .32em; font-weight: 500; color: var(--dim); text-decoration: none; margin-left: 3px; }
.sub { color: var(--dim); font-size: .76rem; margin-top: 6px; min-height: 1.2em; }

/* The array as it stands on the slope: eight across and two up, the strings its
   left and right halves. The grid is structure, never data -- the inverter
   measures a string, not a panel, so panels never light one by one. A panel
   that gives nothing is drawn black with a white edge, so the field is there at
   night too: panels do not vanish in the dark, they just stop giving. */
/* The array sits beside its own total rather than under it: the sum is the
   answer, the two halves are how it was arrived at. Bottom-aligned so the per
   string watts line up with the baseline of the big number. */
.pv-row { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.field { display: flex; gap: 7px; }
.string { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 2px; }
.string s {
  display: block; width: 12px; height: 8px; text-decoration: none;
  background: var(--panel-fill, #000);
  border: 1px solid var(--panel-edge, rgba(255,255,255,.62));
}
.string-w {
  margin-top: 6px; text-align: center;
  font-family: "Barlow Condensed", Barlow, sans-serif;
  font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.string-w u { font-size: .58em; font-weight: 500; color: var(--dim); text-decoration: none; margin-left: 2px; }
.string-w.off { color: var(--dim); }
.string-w.dead { color: #e0b055; }

.detail { margin: 0; }
.detail div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 7px 1px; border-bottom: 1px solid var(--edge); font-size: .85rem;
}
.detail div:first-child { border-top: 1px solid var(--edge); }
.detail dt { color: var(--dim); }
.detail dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }

.problem {
  background: var(--alarm-bg); border-left: 3px solid var(--alarm);
  border-radius: var(--radius); padding: 14px 16px; margin: 18px 0;
}
/* Heat on its way to a shutdown is a warning, not an alarm: nothing has failed
   yet and there is still time to switch something off. A fault the inverter has
   actually raised keeps the alarm surface above. */
.problem.warning { background: var(--warn-bg); border-left-color: var(--warn); }
.problem p { margin: 0; }
.problem p + p { margin-top: 6px; color: var(--dim); font-size: .9rem; }
.problem form.token { display: flex; gap: 8px; margin-top: 10px; }
.problem form.token[hidden] { display: none; }
.problem form.token input {
  flex: 1; min-width: 0; font: inherit; padding: 6px 10px;
  background: var(--deep); color: inherit;
  border: 1px solid var(--edge); border-radius: var(--radius);
}
.problem form.token button {
  font: inherit; padding: 6px 14px; cursor: pointer; color: inherit;
  background: var(--edge); border: 0; border-radius: var(--radius);
}

.note {
  background: var(--warn-bg); border-left: 3px solid var(--pv);
  border-radius: var(--radius); padding: 12px 15px; margin: 18px 0; font-size: .9rem;
}

/* ── History: the fortnight at home, and the two screens behind it ────── */

.over {
  border-top: 1px solid var(--edge); background: var(--deep);
  border-radius: var(--radius); padding: 15px 16px 16px; margin-top: 4px;
}
.over-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 11px; flex-wrap: wrap; }
.over-h b { font-size: .88rem; font-weight: 500; }
.over-h .tot { color: var(--dim); font-size: .8rem; font-variant-numeric: tabular-nums; }
.over-h .chips { margin-left: auto; display: flex; gap: 5px; align-items: center; }
.over-h .chip { font-size: .74rem; padding: 3px 9px; color: var(--dim); }
.over-h .chip.go { border-color: var(--dim); color: var(--text); }

.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .75rem; margin-bottom: 9px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); }
.legend i { width: 10px; height: 10px; border-radius: 2px; flex: none; }
/* A quantity drawn as a line gets a line in the legend. Colour follows the
   job and shape keeps the measured apart from the modelled, so the swatch has
   to carry the shape too -- a square here would promise a bar. */
.legend i.ln { height: 3px; border-radius: 2px; width: 14px; }
/* A legend entry that switches something off is a button, so it can be
   reached by keyboard and announces itself as pressable. It has to look like
   the spans beside it, hence the reset. */
.legend button.key {
  font: inherit; color: inherit; background: none; border: 0; padding: 0;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.legend button.key i { background: var(--key); }
.legend button.key.off { color: var(--dim); }
.legend button.key.off i { background: var(--edge); }
.legend button.key:focus-visible { outline: 1px solid var(--dim); outline-offset: 3px; }
.legend i.hatch {
  background: repeating-linear-gradient(135deg,
    rgba(123,144,170,.45) 0 2px, transparent 2px 4px);
}

.bars { display: flex; gap: 4px; align-items: flex-end; height: 74px; }
.bars .d {
  flex: 1; display: flex; gap: 1px; align-items: flex-end; height: 100%;
  padding: 0 1px; border-radius: 2px 2px 0 0; cursor: pointer;
}
.bars .d i { flex: 1; border-radius: 1px 1px 0 0; display: block; }
/* The day is the label here, so the colour sits behind the whole column. */
.bars .d.deficit { background: var(--deficit); }
.bars .d.incomplete {
  background: repeating-linear-gradient(135deg,
    rgba(123,144,170,.16) 0 3px, transparent 3px 7px);
}
.bars .d:hover { outline: 1px solid rgba(223,232,243,.35); }
.bars-x { display: flex; gap: 4px; margin-top: 5px; font-size: .66rem; color: var(--dim); }
.bars-x span { flex: 1; text-align: center; }

.crumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 14px 0 4px; font-size: .88rem;
}
.crumb .back { border-color: transparent; padding-left: 6px; color: var(--dim); }
.crumb .back:hover { border-color: var(--edge); color: var(--text); }
.crumb h2 { margin: 0; font-size: 1rem; font-weight: 600; }
.crumb .right { margin-left: auto; color: var(--dim); font-size: .8rem; font-variant-numeric: tabular-nums; }

.controls {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 10px 0 14px; font-size: .8rem;
}
.controls .divider { width: 1px; align-self: stretch; background: var(--edge); margin: 0 4px; }
.controls label { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); }
.controls input[type="date"],
.controls input[type="time"] {
  font: inherit; color: var(--text); background: transparent;
  border: 1px solid var(--edge); border-radius: var(--radius); padding: 5px 8px;
}
/* The native picker glyph is black on a dark field without this. */
.controls input[type="date"]::-webkit-calendar-picker-indicator,
.controls input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(.7); cursor: pointer;
}

.tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin-bottom: 18px;
}
.tile { background: var(--deep); border-radius: var(--radius); padding: 12px 14px 13px; border-left: 3px solid var(--edge); }
.tile h3 { margin: 0 0 3px; font-size: .76rem; font-weight: 500; color: var(--dim); }
.tile .v { font-family: "Barlow Condensed", Barlow, sans-serif; font-size: 1.75rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.tile .v u { font-size: .34em; font-weight: 500; color: var(--dim); text-decoration: none; margin-left: 2px; }
.tile .s { color: var(--dim); font-size: .72rem; margin-top: 4px; min-height: 1.1em; }

figure { margin: 0 0 14px; background: var(--deep); border-radius: var(--radius); padding: 13px 15px 14px; position: relative; }
figcaption { font-size: .88rem; font-weight: 500; margin-bottom: 2px; }
figure .why { color: var(--dim); font-size: .78rem; margin-bottom: 10px; }
.plot { position: relative; height: 200px; }
.plot.tall { height: 250px; }

/* the day's panel chart is drawn by hand, not by the chart library */
.qbars {
  display: flex; align-items: flex-end; height: 130px; gap: 1px;
  margin-left: var(--gut); margin-right: var(--gut-r);
}
.qbar { flex: 1; height: 100%; display: flex; align-items: flex-end; gap: 1px; }
.qbar i { flex: 1; display: block; border-radius: 1px 1px 0 0; }
.qbar.on { background: rgba(223,232,243,.09); }
/* A quarter hour the record does not cover. Not a zero-height bar -- that would
   claim the array gave nothing, which is the other lie. */
.qbar.missing {
  background: repeating-linear-gradient(135deg,
    rgba(123,144,170,.14) 0 3px, transparent 3px 7px);
}
/* The bars and the curve share one box, so the curve scales with them. The
   SVG takes no pointer events: the tooltip and the click that opens a raw
   record live under it and have to keep working exactly as before. */
.qwrap { position: relative; }
.qline {
  position: absolute; top: 0; left: var(--gut);
  /* Written out rather than left to left/right and top/bottom. An <svg> is a
     replaced element, so with width:auto it does not stretch to fill its
     insets -- it takes the aspect ratio of its own viewBox. At 96:100 and a
     chart some 800 px wide that is 800 px tall, and overflow:visible then
     draws the curve hundreds of pixels down the page. */
  width: calc(100% - var(--gut) - var(--gut-r));
  height: 100%;
  pointer-events: none; overflow: visible;
}

/* The panel chart's own scale, in watts. The other three get theirs from the
   chart library; this one is drawn by hand, so its axis is too. */
.qaxis { position: absolute; inset: 0; pointer-events: none; }
.qaxis b {
  position: absolute; left: 0; width: calc(var(--gut) - 8px);
  text-align: right; font-size: .66rem; font-weight: 400; color: var(--dim);
  transform: translateY(-50%);
}
.qaxis i {
  position: absolute; left: var(--gut); right: var(--gut-r);
  height: 0; border-top: 1px solid var(--edge);
}

/* One vertical rule, repeated in every chart on the page at the same moment.
   Positioned as a fraction of the shared plot area, so the four of them make
   a single line down the page. */
.tmark, .tpin {
  position: absolute; top: 0; bottom: 0; width: 0;
  pointer-events: none; display: none;
  left: calc(var(--gut) + (100% - var(--gut) - var(--gut-r)) * var(--frac, 0));
}
.tmark { border-left: 1px solid rgba(223,232,243,.30); }

/* The marked span stays after the pointer leaves, so it looks different: a
   shaded band with both edges drawn, never mistaken for the hairline that
   follows the mouse.
   It is a band even for a single click, because a click picks a quarter hour
   and not an instant -- a hairline would promise a precision the chart does
   not have. */
.tpin {
  width: calc((100% - var(--gut) - var(--gut-r)) * var(--span, 0));
  background: rgba(201,133,0,.11);
  border-left: 1px dashed var(--pv);
  border-right: 1px dashed var(--pv);
}

/* A drag across a chart must not sweep up the text around it. */
.plotted.dragging { user-select: none; }
/* Says which moment is being held, in the header that stays in view. */
.marked:not(:empty) {
  color: var(--pv); font-size: .72rem; margin-right: 8px;
  font-variant-numeric: tabular-nums;
}
/* preserveAspectRatio="none" stretches the viewBox to the box, which would
   stretch the stroke with it into a smear. non-scaling-stroke keeps the
   line the width it was asked for. */
.qline polyline {
  fill: none;
  stroke: var(--pot);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
/* Colour, and nothing else. Everything that decides the shape of the stroke
   belongs above, where it reaches every curve: the day these four properties
   applied to one string and not the other, the first curve was drawn at the
   default width in viewBox units, stretched about sevenfold across the chart,
   and read as a filled area rather than a line. */
.qline polyline.s1 { stroke: var(--pv); }
.qline polyline.s2 { stroke: var(--pv2); }

.qx {
  display: flex; justify-content: space-between;
  font-size: .66rem; color: var(--dim); margin-top: 5px;
  margin-left: var(--gut); margin-right: var(--gut-r);
}

.tip {
  position: absolute; pointer-events: none; z-index: 5; display: none;
  background: #111c2e; border: 1px solid var(--edge); border-radius: var(--radius);
  padding: 9px 11px; font-size: .78rem; min-width: 180px;
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
}
.tip h4 { margin: 0 0 7px; font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.tip .row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.tip .row .nm { color: var(--dim); width: 52px; font-size: .72rem; }
.tip .row .val { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 500; }
.spark { display: flex; align-items: flex-end; gap: 1px; height: 18px; width: 58px; }
.spark i { flex: 1; display: block; min-height: 1px; }
.tip .warn { margin-top: 7px; padding-top: 6px; border-top: 1px solid var(--edge); font-size: .72rem; color: #e0b055; }
.tip .ok { margin-top: 7px; padding-top: 6px; border-top: 1px solid var(--edge); font-size: .72rem; color: var(--dim); }

/* ── The raw reading behind a point ──────────────────────────────────── */

dialog#record {
  background: var(--deep); color: var(--text);
  border: 1px solid var(--edge); border-radius: var(--radius);
  padding: 0; max-width: 560px; width: calc(100% - 32px); max-height: 82vh;
}
dialog#record::backdrop { background: rgba(4, 9, 16, .72); }
.record-head {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px 14px; border-bottom: 1px solid var(--edge);
  position: sticky; top: 0; background: var(--deep);
}
.record-head h2 { margin: 0; font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.record-head p { margin: 3px 0 0; color: var(--dim); font-size: .875rem; }
#record-close { margin-left: auto; padding: 4px 10px; line-height: 1; }
#record-body { margin: 0; padding: 4px 20px 20px; overflow-y: auto; max-height: calc(82vh - 80px); }
#record-body > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--edge);
}
#record-body dt { color: var(--dim); }
#record-body dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
#record-body .empty dd { color: var(--dim); font-weight: 400; font-style: italic; }
#record-body .group { display: block; border: 0; padding: 18px 0 4px; font-size: .8rem; color: var(--dim); }

/* ── Down to a phone ─────────────────────────────────────────────────── */

@media (max-width: 760px) {
  .band { grid-template-columns: 1fr; gap: 18px; }
  .hero { gap: 14px; }
  .batt { width: 108px; height: 150px; }
  .plot { height: 170px; }
  .plot.tall { height: 200px; }
  .qbars { height: 110px; }
  .said { font-size: .78rem; }
}

/* Generator runs, one row each. */
.runs { width: 100%; border-collapse: collapse; font-size: .8rem; font-variant-numeric: tabular-nums; }
.runs th { text-align: left; font-weight: 500; color: var(--dim); padding: 4px 6px; }
.runs td { padding: 6px; border-top: 1px solid var(--edge); }
.runs tbody tr { cursor: pointer; }
.runs tbody tr:hover { background: var(--deep); }
@media (max-width: 520px) { .runs th:nth-child(5), .runs td:nth-child(5) { display: none; } }

@media (max-width: 420px) {
  .batt { width: 92px; height: 132px; }
  .string s { width: 10px; height: 7px; }
}
