/* Your first year in Sharon in the Greater Boston Burbs look. Loaded after style.css and base.css.
   The wall calendar stays: twelve month colours, the wheel, the ribbon, the ticks. The colours move to a muted fall
   palette that sits on the site's paper, the type to Young Serif and Literata, the frames to the site's 2px ink line. */
:root{
  --paper:var(--gbb-paper); --ink:var(--gbb-ink); --ink2:var(--gbb-ink-soft); --line:var(--gbb-line);
  --soft:var(--gbb-oat); --warn:#f1d590;
  --disp:var(--gbb-display); --text:var(--gbb-text);
}
body{background-color:var(--gbb-paper);background-image:var(--gbb-grain);font-synthesis:none}
a:hover{color:var(--gbb-cran)}
:focus-visible{outline-color:var(--gbb-lake);box-shadow:0 0 0 6px var(--warn)}

/* the twelve months (wheel wedges, band, ribbon, month heads, calendar list, email). Nov 29: the rainbow is gone.
   Months alternate two of the site's paper tones with ink type, so the wheel and the band still read month by month. */
[style*="--bg:#BEE3F5" i]{--bg:var(--gbb-oat)!important}
.band i[style*="#BEE3F5" i],.foot-band i[style*="#BEE3F5" i]{background:var(--gbb-oat)!important}
[style*="--bg:#F7C6D0" i]{--bg:#e2d2ae!important}
.band i[style*="#F7C6D0" i],.foot-band i[style*="#F7C6D0" i]{background:#e2d2ae!important}
[style*="--bg:#D7E38C" i]{--bg:var(--gbb-oat)!important}
.band i[style*="#D7E38C" i],.foot-band i[style*="#D7E38C" i]{background:var(--gbb-oat)!important}
[style*="--bg:#9FDDA6" i]{--bg:#e2d2ae!important}
.band i[style*="#9FDDA6" i],.foot-band i[style*="#9FDDA6" i]{background:#e2d2ae!important}
[style*="--bg:#D8C7F2" i]{--bg:var(--gbb-oat)!important}
.band i[style*="#D8C7F2" i],.foot-band i[style*="#D8C7F2" i]{background:var(--gbb-oat)!important}
[style*="--bg:#7FDCCB" i]{--bg:#e2d2ae!important}
.band i[style*="#7FDCCB" i],.foot-band i[style*="#7FDCCB" i]{background:#e2d2ae!important}
[style*="--bg:#FF9E80" i]{--bg:var(--gbb-oat)!important}
.band i[style*="#FF9E80" i],.foot-band i[style*="#FF9E80" i]{background:var(--gbb-oat)!important}
[style*="--bg:#FFD23F" i]{--bg:#e2d2ae!important}
.band i[style*="#FFD23F" i],.foot-band i[style*="#FFD23F" i]{background:#e2d2ae!important}
[style*="--bg:#F08A7B" i]{--bg:var(--gbb-oat)!important}
.band i[style*="#F08A7B" i],.foot-band i[style*="#F08A7B" i]{background:var(--gbb-oat)!important}
[style*="--bg:#F6A23A" i]{--bg:#e2d2ae!important}
.band i[style*="#F6A23A" i],.foot-band i[style*="#F6A23A" i]{background:#e2d2ae!important}
[style*="--bg:#D9A066" i]{--bg:var(--gbb-oat)!important}
.band i[style*="#D9A066" i],.foot-band i[style*="#D9A066" i]{background:var(--gbb-oat)!important}
[style*="--bg:#1E4D40" i]{--bg:#e2d2ae!important}
.band i[style*="#1E4D40" i],.foot-band i[style*="#1E4D40" i]{background:#e2d2ae!important}
[style*="--fg:#17181C" i],[style*="--fg:#FFFDF7" i]{--fg:var(--gbb-ink)!important}
.wheel path[fill="#BEE3F5" i]{fill:var(--gbb-oat)}
.wheel path[fill="#F7C6D0" i]{fill:#e2d2ae}
.wheel path[fill="#D7E38C" i]{fill:var(--gbb-oat)}
.wheel path[fill="#9FDDA6" i]{fill:#e2d2ae}
.wheel path[fill="#D8C7F2" i]{fill:var(--gbb-oat)}
.wheel path[fill="#7FDCCB" i]{fill:#e2d2ae}
.wheel path[fill="#FF9E80" i]{fill:var(--gbb-oat)}
.wheel path[fill="#FFD23F" i]{fill:#e2d2ae}
.wheel path[fill="#F08A7B" i]{fill:var(--gbb-oat)}
.wheel path[fill="#F6A23A" i]{fill:#e2d2ae}
.wheel path[fill="#D9A066" i]{fill:var(--gbb-oat)}
.wheel path[fill="#1E4D40" i]{fill:#e2d2ae}
.wheel text[fill="#17181C" i],.wheel text[fill="#FFFDF7" i]{fill:var(--gbb-ink)}
.wedge path{stroke:var(--gbb-line);stroke-width:1.5}
.wedge:hover path,.wedge:focus-visible path{stroke:var(--gbb-line)}
.w-num{font-family:var(--gbb-display);font-weight:400;letter-spacing:0}
.w-abbr,.w-c1{font-family:var(--gbb-text);font-weight:700}
.w-c2{font-family:var(--gbb-display);font-weight:400;letter-spacing:0}
.w-c3{font-family:var(--gbb-text);font-weight:600}
.w-hub{fill:var(--gbb-birch);stroke:var(--gbb-line)}
.w-mark{fill:var(--gbb-cran)}

/* links in the reading text wear the site's lake blue */
.week a:not(.btn),.why a:not(.btn),.yours a:not(.btn),.year a:not(.btn),.cal a:not(.btn),.money a:not(.btn),.ahead a:not(.btn),.places a:not(.btn),.others a:not(.btn),.about a:not(.btn),.sources a:not(.btn){color:var(--gbb-lake-mid)}
.week a:not(.btn):hover,.why a:not(.btn):hover,.yours a:not(.btn):hover,.year a:not(.btn):hover,.cal a:not(.btn):hover,.money a:not(.btn):hover,.ahead a:not(.btn):hover,.places a:not(.btn):hover,.others a:not(.btn):hover,.about a:not(.btn):hover,.sources a:not(.btn):hover{color:var(--gbb-cran)}

/* the tool's own top bar sits under the site bar: smaller, no black box */
.top{border-bottom:2px solid rgba(59,46,38,.22);padding-top:10px;padding-bottom:10px}
.top .mark{display:none} /* the site bar above already names the site; the crumbs and the month-ahead link stay */
.foot .mark{font-family:var(--gbb-display);font-weight:400;font-size:1rem;letter-spacing:0;text-transform:none}
.mark-b{background:none;color:inherit;padding:0}
.top-cta{font-weight:700;color:var(--gbb-lake)}
.top-cta:hover{color:var(--gbb-cran)}

/* type: Young Serif heads at weight 400, Literata for everything else */
h1,h2,h3,h4{font-weight:400;letter-spacing:-.01em}
h1{font-size:clamp(2.3rem,4.8vw,4.1rem);letter-spacing:-.015em;line-height:1.04}
h2{letter-spacing:-.012em}
.kicker{font:700 1.5rem/1 var(--gbb-hand);letter-spacing:0;text-transform:none;color:var(--gbb-cran);transform:rotate(-1.4deg);transform-origin:left;display:inline-block}
.sec-k{font-family:var(--gbb-text);font-weight:700;letter-spacing:.09em;color:var(--gbb-cran)}
.what h4,.fw-group h3,.why-b h3,.cal-prev h3,.ahead-b h3,.money h3,.about-b h3,.sent h3{font-weight:400}
.fw-n,.m-num,.when-d .dd,.dq p,.mail-s,.poster-h,.tstat h3{font-weight:400}
.m-num{letter-spacing:-.03em}
.m-name{font-weight:400}
.dn-l{font-family:var(--gbb-text);font-weight:700}

/* controls: Literata, the site's 2px line and wobbly corners, lake for the big buttons */
.setup,.nojs-note{border-top-width:2px}
select,input[type=email],input:not([type]),.money-in input{background-color:var(--gbb-birch);border-radius:10px 12px 10px 11px}
select{font-family:var(--gbb-text);font-weight:700;font-size:1.1rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%232b2622' stroke-width='2.4'/%3E%3C/svg%3E")}
.chip span{background:var(--gbb-birch);border-radius:var(--gbb-wob);font-family:var(--gbb-text)}
.chip small{letter-spacing:.05em}
.chip input:checked+span{background:var(--gbb-lake);color:var(--gbb-birch);border-color:var(--gbb-line)}
.partial-banner{background:var(--warn);border-radius:var(--gbb-wob2)}
.btn{background:var(--gbb-lake);color:var(--gbb-birch);border:2px solid var(--gbb-line);border-radius:var(--gbb-wob);font-family:var(--gbb-text);font-weight:700}
.btn:hover{background:var(--gbb-lake-deep);color:var(--gbb-birch)}
.btn-quiet{background:var(--gbb-birch);border-radius:var(--gbb-wob);font-family:var(--gbb-text)}
.btn-quiet:hover{background:var(--gbb-paper);color:var(--gbb-cran)}
.money-in{background:var(--gbb-birch);border-radius:10px 12px 10px 11px}
.money-in span,.money-in input{font-family:var(--gbb-text);font-weight:700}
.box{background:var(--gbb-birch);border-radius:5px 7px 5px 6px}
input:checked+.box{background:var(--gbb-lake)}
input:checked+.box::after{border-color:var(--gbb-birch)}

/* the sticky month ribbon */
.ribbon{background:var(--gbb-paper)}
.ribbon a{font-family:var(--gbb-text);font-weight:700;letter-spacing:.04em}
@media (max-width:860px){.ribbon::after{background:linear-gradient(90deg,rgba(246,238,221,0),var(--gbb-paper))}}

/* frames for real objects: birch paper, 2px line, the site's wobbly corners */
.why-b,.yours-f,.cal-opts,.ahead-f,.sent,.about-b{background:var(--gbb-birch);border-radius:var(--gbb-wob2)}
.ph{background:var(--gbb-birch);border-radius:16px;overflow:hidden}
.poster{border-radius:16px;overflow:hidden;background:var(--gbb-ink)}
.poster figcaption{background:var(--gbb-birch)}
.poster-l span{background:var(--warn)}
.mail{background:var(--gbb-birch);border-radius:var(--gbb-wob2)}
.mail li{border-bottom-color:rgba(59,46,38,.15)}
.when-d{background:var(--gbb-birch);border-radius:8px 10px 8px 9px;overflow:hidden}
.when-d .wd{background:var(--gbb-lake);color:var(--gbb-birch)}
.when-m{border-radius:8px 10px 8px 9px}
.k-bill .kind span{background:var(--gbb-cran);color:var(--gbb-birch);border-radius:3px}
.gap{background:#f6e3b8;border-left:5px solid var(--gbb-squash);border-radius:0 12px 12px 0}
.gap-l{background:var(--warn);border-radius:3px}
.unknown li{border-left-color:var(--gbb-squash)}
.dq{border-left:5px solid var(--gbb-squash)}
.dn-slot{border-left:5px solid var(--gbb-squash)}
.sent pre{background:var(--gbb-oat);color:var(--gbb-ink);border-radius:8px}
.proto{background:var(--warn)}
.err{color:var(--gbb-cran)}

/* the line weights the site uses */
.year,.month,.fw-group h3,.tstat,.costs thead th,.costs tfoot th,.costs tfoot td{border-width:2px}
.year{border-top-width:2px}
@media (min-width:900px){.m-head{border-right-width:2px}}
.costs thead th{letter-spacing:.06em}
.costs tfoot th,.costs tfoot td{font-weight:400}

/* the tool's own footer runs into the site footer */
.foot{background:var(--gbb-oat);color:var(--gbb-ink);border-top:2px solid var(--gbb-line)}
.foot .mark{color:var(--gbb-ink)}
.foot .mark-b{background:none;color:inherit}
.foot a{color:var(--gbb-lake)}
.foot a:hover{color:var(--gbb-cran)}
.proto-strip{background:var(--gbb-oat);border-top-width:2px}
.proto-strip button{background:var(--gbb-birch);border-radius:var(--gbb-wob)}

/* tall panels (over about 400px): the long wobble bulges on one side, so they get a smaller, still uneven corner */
:root{--wob-tall:20px 14px 22px 13px/14px 22px 13px 20px}
.why-b,.yours-f,.cal-opts,.ahead-f,.about-b{border-radius:var(--wob-tall)}

/* Nov 29: the note when the assessed box was changed back */
.av-reset{color:var(--gbb-cran-deep);font-weight:600}
