@import './assets/pagelove-design/app.css';
[hidden]{display:none!important}
body{min-height:100dvh}header,main,footer{width:min(calc(100% - 80px),var(--design-content-width));margin-inline:auto}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:100px;border-bottom:1px solid var(--border-light)}
.brand{color:var(--text-strong);font-weight:600;text-decoration:none;display:flex;align-items:center;gap:12px;letter-spacing:-.02em}
.brand-mark{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--border-regular);border-radius:var(--design-radius-card);font-size:14px;background:var(--background-surface-regular)}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.pl-button{max-width:100%;min-width:0;overflow-wrap:anywhere}
.hero{padding-block:48px 32px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);column-gap:64px;align-items:start}
.hero h1{font-size:var(--design-title-size);line-height:1.1;letter-spacing:var(--design-heading-tracking);max-width:18ch;margin:0;grid-row:span 3}
.hero>p{margin:0 0 20px;max-width:52ch;font-size:18px;line-height:1.65}.hero .sample-note{font-size:13px;color:var(--text-regular)}
.hero .primary-entry{justify-self:start;margin-top:8px}
.workspace{padding-bottom:64px}.toolbar{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:20px;margin:24px 0}
.search{display:grid;gap:8px;min-width:min(100%,280px);font-size:14px}.field{display:grid;gap:8px;margin-block:20px}.field small{font-size:14px}
input,select,textarea{box-sizing:border-box;min-width:0;max-width:100%;min-height:44px;color:var(--text-strong);background:var(--background-surface-light);border:1px solid var(--border-strong);border-radius:var(--design-radius-input);padding:12px;font:inherit}textarea{min-height:150px;resize:vertical}
.collection{display:grid;gap:20px}.record{min-width:0;padding:var(--design-panel-padding);border:1px solid var(--border-light);border-radius:var(--design-radius-card);background:var(--background-surface-regular)}
.record h2{font-size:1.5rem;letter-spacing:var(--design-heading-tracking);line-height:1.25;margin:0 0 16px}.record-copy{white-space:pre-wrap;line-height:1.7;max-width:65ch}.record-meta{font-size:14px;line-height:1.6}.record-meta strong{font-weight:500}.record-body{min-width:0;overflow-wrap:anywhere}.record .actions{margin-top:24px}.record img{display:block;width:100%;height:260px;object-fit:cover;object-position:top;background:var(--background-surface-strong);border-radius:var(--design-radius-card);margin-bottom:24px}
.record [data-field=category],.record [data-field=tags]{display:inline-block;margin:0 0 16px;padding:4px 10px;border:1px solid var(--border-regular);border-radius:var(--design-radius-button);font-size:13px}.record [data-field=category] strong,.record [data-field=tags] strong{display:none}
.status{min-height:24px;margin:8px 0;font-size:13px;overflow-wrap:anywhere}.status[data-error=true],.editor-error{color:var(--text-danger)}#result-count{font-size:14px;margin:12px 0 16px}.summary:empty,.domain-report:empty,.domain-profile:empty{display:none}
.domain-profile{display:flex;flex-wrap:wrap;gap:12px 32px;padding-block:20px;border-block:1px solid var(--border-light);font-size:14px}.domain-profile p{margin:0;max-width:64ch;white-space:pre-line}.domain-settings{margin-top:16px}.domain-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin-block:24px}.domain-filters label{display:grid;gap:8px;font-size:14px}
.summary{padding:24px;background:var(--background-surface-regular);border:1px solid var(--border-light);border-radius:var(--design-radius-card);font-size:18px;line-height:1.7;font-variant-numeric:tabular-nums;margin-block:24px}.domain-report{max-width:100%;overflow:auto;border:1px solid var(--border-light);border-radius:var(--design-radius-card);padding:24px;background:var(--background-surface-regular)}
.report-table{border-collapse:collapse;width:100%;font-size:14px;font-variant-numeric:tabular-nums}.report-table caption{text-align:left;font-size:18px;color:var(--text-strong);padding-bottom:20px}.report-table th,.report-table td{text-align:left;padding:16px 12px;border-bottom:1px solid var(--border-light)}.report-table th{font-weight:500}.report-table th:first-child,.report-table td:first-child{padding-left:0}
dialog{color:var(--text-regular);background:var(--background-surface-regular);width:min(680px,calc(100% - 32px));max-height:90dvh;border:1px solid var(--border-strong);border-radius:var(--design-radius-card);padding:28px}dialog::backdrop{background:#0009}.dialog-actions{position:sticky;bottom:-28px;display:flex;justify-content:flex-end;gap:12px;padding-block:20px;background:var(--background-surface-regular)}.dialog-actions button{max-width:100%}.file-control{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.recovery{padding:24px;background:var(--background-surface-regular);border:1px solid var(--border-strong);border-radius:var(--design-radius-card)}.photo-viewer img{max-width:100%;max-height:65vh;object-fit:contain;display:block;margin-block:20px}.photo-viewer .actions{justify-content:space-between}
footer{padding-block:28px 48px;display:flex;flex-wrap:wrap;gap:24px;justify-content:space-between;border-top:1px solid var(--border-light);font-size:14px}.skip{position:absolute;top:-100px}.skip:focus{top:8px;background:var(--background-surface-light);padding:12px;z-index:20}
[data-app=business] .collection{grid-template-columns:repeat(3,minmax(0,1fr))}[data-app=business] .record{display:flex;flex-direction:column}[data-app=business] .record-body{display:flex;flex-direction:column;height:100%}[data-app=business] .record-body>.pl-button{margin-top:auto;align-self:start}[data-app=business] .record-copy{font-size:17px}
[data-app=portfolio] .collection{grid-template-columns:repeat(2,minmax(0,1fr))}[data-app=portfolio] .record{padding:0;overflow:hidden}[data-app=portfolio] .record-body{padding:28px}[data-app=portfolio] .record img{margin:0;height:320px;border-radius:0;border-bottom:1px solid var(--border-light)}
[data-app=photos] .collection{grid-template-columns:repeat(3,minmax(0,1fr))}[data-app=photos] .record{padding:12px}[data-app=photos] .record-body{padding:12px}[data-app=photos] .record img{height:230px;object-fit:cover;margin-bottom:8px}[data-app=photos] .record h2{font-size:1.25rem}
[data-app=links] header,[data-app=links] main,[data-app=links] footer{max-width:720px}[data-app=links] .hero{display:block;text-align:center;padding-block:56px 32px}[data-app=links] .hero h1{max-width:none;margin-bottom:20px}[data-app=links] .hero>p{margin-inline:auto}[data-app=links] .record-body{display:grid;grid-template-columns:1fr auto;column-gap:24px;align-items:center}[data-app=links] .record h2{font-size:1.25rem;margin-bottom:8px}[data-app=links] .record-copy{margin:0}[data-app=links] .record-body>a{grid-column:2;grid-row:1/3}[data-app=links] .record-body>.actions{grid-column:1/-1}
[data-app=blog] .collection{gap:0}[data-app=blog] .record{background:transparent;border:0;border-top:1px solid var(--border-light);border-radius:0;padding:32px 0}[data-app=blog] .record-body{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,1.7fr);gap:12px 48px}[data-app=blog] .record h2{grid-column:1;grid-row:1/4;font-size:1.8rem;max-width:24ch}[data-app=blog] .record-copy{grid-column:2;margin-block:0 16px}[data-app=blog] .record-meta{grid-column:2;justify-self:start;margin-block:0}[data-app=blog] .record .actions{grid-column:1/-1}
[data-app=journal] .hero,[data-app=budget] .hero,[data-app=fitness] .hero,[data-app=booking] .hero{padding-block:40px 32px}[data-app=journal] .record{max-width:900px}[data-app=journal] .record-copy{font-size:18px;line-height:1.8}[data-app=journal] .record [data-field=date]{color:var(--link-text-default)}
[data-app=budget] .collection{gap:0}[data-app=budget] .record{border:0;border-bottom:1px solid var(--border-light);border-radius:0;background:transparent;padding:24px 0}[data-app=budget] .record-body{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:8px 24px;align-items:baseline}[data-app=budget] .record h2{font-size:18px;margin:0;grid-column:1/3}[data-app=budget] .record [data-field=amount]{font-size:24px;color:var(--text-strong);grid-row:1;grid-column:4;text-align:right;font-variant-numeric:tabular-nums}[data-app=budget] .record .actions{grid-column:1/-1}[data-app=budget] .record p{margin:0}
[data-app=fitness] .collection{grid-template-columns:repeat(2,minmax(0,1fr))}[data-app=fitness] .record [data-field=minutes]{font-size:24px;color:var(--text-strong);font-variant-numeric:tabular-nums}[data-app=booking] .record{max-width:820px}[data-app=booking] .record [data-field=state]{display:inline-block;border:1px solid var(--border-regular);padding:6px 10px;border-radius:var(--design-radius-button)}
@media(max-width:900px){header,main,footer{width:calc(100% - 48px)}.hero{gap:32px}[data-app=business] .collection{grid-template-columns:1fr}[data-app=photos] .collection{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){header,main,footer{width:calc(100% - 32px)}.topbar{padding-block:20px;align-items:flex-start;min-height:84px}.brand{max-width:50%}.topbar .actions{justify-content:flex-end}.hero{display:block;padding-block:36px 24px!important}.hero h1{font-size:var(--design-title-size-mobile);max-width:19ch;margin-bottom:24px}.hero>p{font-size:16px}.hero .primary-entry{margin-top:0}.collection{grid-template-columns:1fr!important}.record{padding:20px}.toolbar>*{width:100%}.domain-profile{display:block}.domain-profile p+p{margin-top:12px}.domain-filters>*{flex:1 1 140px}.record img{height:auto!important}.summary,.domain-report{padding:20px}.report-table th,.report-table td{padding:12px 8px}.dialog-actions{bottom:-20px;flex-wrap:wrap}dialog{padding:20px}.file-control input{width:100%}[data-app=portfolio] .record-body{padding:20px}[data-app=links] .record-body,[data-app=blog] .record-body,[data-app=budget] .record-body{display:block}[data-app=links] .record-body>a{margin-top:20px}[data-app=blog] .record-meta{margin-block:12px}[data-app=budget] .record p{margin-top:12px}[data-app=budget] .record [data-field=amount]{text-align:left}.domain-report table{min-width:440px}}

/* Keep collection controls together so the first screen shows real content. */
.workspace{display:flex;flex-wrap:wrap;align-items:flex-start;column-gap:24px}.workspace>*{width:100%;min-width:0}.workspace>.toolbar{flex:1 1 280px;width:auto;margin-block:12px}.workspace>.domain-filters{flex:0 1 auto;width:auto;margin-block:12px}.workspace>.domain-settings{width:auto}.workspace>.status{margin-block:4px}.workspace>.summary{margin-block:16px}.hero{padding-block:32px 24px}.domain-filters:empty{display:none}.workspace>#result-count{margin-block:8px 16px}
@media(max-width:650px){.workspace>.toolbar,.workspace>.domain-filters{flex-basis:100%;width:100%}.workspace>.toolbar{margin-block:8px}.workspace>.domain-filters{margin-top:0}.hero{padding-block:28px 20px!important}}

@media(max-width:650px){.topbar{flex-wrap:wrap;gap:12px}.brand{max-width:100%}.topbar .actions{flex:none;margin-inline-start:auto}.topbar .actions .pl-button{min-width:140px;overflow-wrap:normal}}

/* Application compositions refreshed against the current Pagelove polish contract. */
body{font-size:1rem;line-height:1.6}
header,main,footer{width:min(calc(100% - var(--design-page-padding)*2),var(--design-content-width))}
.topbar{min-height:88px;padding-block:20px;border-bottom:1px solid var(--border-regular)}
.brand{font-size:1rem;line-height:1.5;letter-spacing:normal;gap:12px}
.brand-mark{border:0;background:none;flex:none;width:36px;height:36px;border-radius:0;padding:0}
.brand-mark img{display:block;width:100%;height:100%;border-radius:8px}
.hero{padding-block:var(--design-page-padding) var(--design-section-gap);gap:20px 64px}
.hero h1{max-width:16ch;font-size:var(--design-title-size);font-weight:400;line-height:1.1}
.hero>p{font-size:1.125rem;line-height:1.65;color:var(--text-regular)}
.hero .sample-note{font-size:var(--design-text-caption);color:var(--text-regular)}
.workspace{padding-block:0 calc(var(--design-section-gap)*2);gap:0 var(--design-section-gap)}
.workspace>.toolbar,.workspace>.domain-filters{margin-block:var(--design-row-padding)}
.record{transition:border-color var(--design-transition-duration),background-color var(--design-transition-duration);box-shadow:none}
.record:hover{border-color:var(--border-regular)}
.record-meta,.search,.domain-filters label{font-size:var(--design-text-small)}
.record-copy{max-width:65ch}
.record .actions{gap:12px}
.status,#result-count{font-size:var(--design-text-caption);line-height:1.6}
.domain-profile{border-color:var(--border-regular);gap:16px 32px}
.summary{font-size:1.125rem;padding:var(--design-panel-padding);border-color:var(--border-regular)}
.report-table{font-size:var(--design-text-small)}
.report-table th,.report-table td{padding-block:var(--design-row-padding)}
input,select,textarea{border-color:var(--border-strong);border-radius:var(--design-radius-input)}
footer{padding-block:var(--design-section-gap);border-color:var(--border-regular);font-size:var(--design-text-small)}
[data-app=business] .hero{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
[data-app=business] .collection{display:block;border-top:1px solid var(--border-regular)}
[data-app=business] .record{padding:var(--design-panel-padding) 0;border:0;border-bottom:1px solid var(--border-regular);border-radius:0;background:none}
[data-app=business] .record-body{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,1.5fr);column-gap:48px;align-items:start}
[data-app=business] .record h2{grid-column:1;grid-row:1/4;margin:0;font-size:1.75rem}
[data-app=business] .record-body>p,[data-app=business] .record-body>.pl-button{grid-column:2}
[data-app=business] .record-body>.pl-button{justify-self:start;margin-top:16px}
[data-app=business] .record-body>.actions{grid-column:1/-1}
[data-app=portfolio] .hero h1{max-width:15ch}
[data-app=portfolio] .collection{gap:var(--design-section-gap)}
[data-app=portfolio] .record:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:stretch}
[data-app=portfolio] .record:first-child img{height:100%;min-height:340px;border:0;border-right:1px solid var(--border-regular)}
[data-app=portfolio] .record:first-child .record-body{padding:var(--design-panel-padding)}
[data-app=portfolio] .record:first-child h2{font-size:2rem}
[data-app=links] .hero{padding-block:48px 32px}
[data-app=links] .hero h1{max-width:16ch;margin-inline:auto}
[data-app=links] .record{padding:20px 24px;border-color:var(--border-regular)}
[data-app=links] .record h2{font-family:var(--design-body-family);font-size:1.125rem;font-weight:500}
[data-app=links] .collection{gap:14px}
[data-app=photos] .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
[data-app=photos] .collection{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--design-section-gap)}
[data-app=photos] .record{padding:0;overflow:hidden;border-color:var(--border-regular)}
[data-app=photos] .record:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
[data-app=photos] .record:first-child img{height:100%;min-height:320px;border-radius:0;margin:0}
[data-app=photos] .record img{height:260px;border-radius:0;margin:0}
[data-app=photos] .record-body{padding:var(--design-panel-padding)}
[data-app=photos] .record h2{font-size:1.5rem}
[data-app=blog] .hero{padding-bottom:40px}
[data-app=blog] .record:first-child{padding-top:var(--design-panel-padding)}
[data-app=blog] .record:first-child h2{font-size:2.25rem;max-width:16ch}
[data-app=blog] .record-copy{font-size:1rem;line-height:1.75}
[data-app=booking] .collection{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--design-section-gap)}
[data-app=booking] .record{max-width:none}
[data-app=booking] .record h2{font-family:var(--design-body-family);font-size:1.5rem}
[data-app=journal] .collection{max-width:920px}
[data-app=journal] .record{padding:var(--design-panel-padding);border-color:var(--border-regular)}
[data-app=journal] .record h2{font-size:2rem;max-width:24ch}
[data-app=journal] .record-copy{max-width:60ch;line-height:1.8}
[data-app=budget] .summary{border:0;border-radius:0;background:var(--background-surface-regular);font-size:1.25rem}
[data-app=budget] .record{padding-block:var(--design-row-padding);border-color:var(--border-regular)}
[data-app=budget] .record [data-field=amount]{font-size:1.75rem}
[data-app=budget] .record h2{font-family:var(--design-body-family);font-weight:500}
[data-app=fitness] .record:first-child{grid-column:1/-1}
[data-app=fitness] .record [data-field=minutes]{font-size:2rem;line-height:1.25}
[data-app=fitness] .record h2{font-family:var(--design-body-family);font-size:1.5rem}
@media(max-width:900px){header,main,footer{width:calc(100% - 48px)}.hero{gap:20px 32px}}
@media(max-width:650px){header,main,footer{width:calc(100% - 32px)}.topbar{min-height:76px;gap:16px}.hero{display:block!important;padding-block:32px 24px!important}.hero h1{font-size:var(--design-title-size-mobile);max-width:18ch}.hero>p{font-size:1rem}.workspace{padding-bottom:40px}.collection{grid-template-columns:minmax(0,1fr)!important}.record:first-child{grid-column:auto!important}.record-body{display:block!important}.record h2{font-size:1.5rem!important}[data-app=business] .record-body{display:block}[data-app=portfolio] .record:first-child,[data-app=photos] .record:first-child{display:block}[data-app=portfolio] .record:first-child img,[data-app=photos] .record:first-child img{min-height:0;height:auto;border:0}.record img{aspect-ratio:16/10;object-fit:cover}.record .actions{margin-top:20px}.summary{font-size:1rem!important}.brand{max-width:none;flex:1 1 160px}.topbar .actions{margin-inline-start:0}.dialog-actions{gap:8px;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.record{transition:none}}

@media(max-width:650px){.report-table caption{display:block;max-width:calc(100vw - 96px);white-space:normal;overflow-wrap:anywhere;position:sticky;left:0;font-size:1rem}}

/* Product-focused controls layered over each selected Pagelove design. */
.product-overview{order:-1;margin-block:20px 24px}.product-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px 16px;margin-block:0 24px}.product-controls label{display:grid;gap:6px;font-size:var(--design-text-small,14px);min-width:140px}.product-controls input,.product-controls select{min-height:44px;max-width:100%;border:1px solid var(--border-strong);border-radius:var(--design-radius-input);background:var(--background-surface-regular);color:var(--text-strong);padding:8px 12px;font:inherit}.period-controls{display:flex;align-items:end;gap:12px;flex:1 1 100%;flex-wrap:wrap}.period-controls label{min-width:180px}.product-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;background:var(--background-surface-regular);border-radius:var(--design-radius-card);padding:28px}.product-metrics:empty{display:none}.product-stat{display:flex;flex-direction:column;gap:6px;min-width:0}.product-stat>span{font-size:14px;color:var(--text-regular)}.product-stat strong{font:600 clamp(24px,3vw,36px)/1.15 var(--font-body,sans-serif);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.product-stat small{font-size:13px;color:var(--text-regular)}.product-metrics progress{grid-column:1/-1;width:100%;height:10px;accent-color:var(--text-strong)}
.record-open{display:inline;text-align:inherit;padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;line-height:inherit;cursor:pointer;text-decoration-thickness:1px;text-underline-offset:5px}.record-open:hover{text-decoration:underline}.record-open:focus-visible{outline:2px solid var(--border-focused);outline-offset:5px}.reading-time,.link-destination{font-size:14px;color:var(--text-regular)}.link-destination{overflow-wrap:anywhere}.record-reader{width:min(800px,calc(100% - 32px));padding:40px;max-height:90dvh;overflow:auto}.record-reader h2{font-size:clamp(28px,4vw,40px);margin-block:0 28px;line-height:1.15;max-width:24ch}.record-reader img{width:100%;height:auto;max-height:55dvh;object-fit:contain;margin-bottom:24px}.reader-prose{white-space:pre-wrap;line-height:1.8;font-size:18px;max-width:65ch}.record-reader section{margin-block:24px}.record-reader h3{font-size:14px;font-weight:500;color:var(--text-regular);margin-bottom:8px}.reader-meta{margin:0;line-height:1.6}.reader-actions{position:sticky;bottom:-40px;display:flex;gap:12px;padding-block:20px;margin-top:24px;background:var(--background-surface-regular)}.undo-bar{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:16px 20px;background:var(--background-surface-regular);border:1px solid var(--border-regular);border-radius:var(--design-radius-card);margin-block:12px}.request-state{display:inline-flex;align-items:center;min-height:28px;font-size:13px;border-radius:var(--design-radius-button);padding:4px 10px;background:var(--background-surface-strong);color:var(--text-strong);margin-bottom:12px}
[data-app=blog] .record-copy,[data-app=journal] .record-copy{white-space:pre-line}[data-app=business] .record-body{position:relative}[data-app=links] .record-body>.link-destination,[data-app=links] .record-body>.pl-button:last-child{grid-column:1/-1}[data-app=blog] .reading-time{grid-column:2}[data-app=blog] .record-body>.pl-button{grid-column:2;justify-self:start}[data-app=blog] .record h2{grid-row:1/5}[data-app=budget] .hero,[data-app=fitness] .hero,[data-app=booking] .hero,[data-app=journal] .hero{padding-block:28px 16px}.hero .sample-note{display:none}footer>span{max-width:70ch}.status:empty{display:none}.record .actions{margin-top:20px}.record button:disabled{opacity:.45;cursor:default}
@media(max-width:900px){.product-metrics{gap:20px;padding:24px;grid-template-columns:repeat(2,minmax(0,1fr))}.product-controls{gap:12px}.period-controls{gap:8px}.period-controls>button{flex:1 1 120px}.period-controls>label{flex:1 1 100%;order:-1}}
@media(max-width:650px){.product-overview{margin-top:12px}.product-controls>*{max-width:100%}.product-controls>label{flex:1 1 140px}.product-controls>button{flex:1 1 auto}.product-metrics{padding:20px;gap:24px 16px}.product-stat strong{font-size:26px}.record-reader{padding:24px 20px}.reader-actions{bottom:-24px;flex-wrap:wrap}.undo-bar{align-items:flex-start;flex-direction:column}[data-app=blog] .record-body>.pl-button{margin-top:16px}[data-app=blog] .reading-time{margin-block:12px}.record-reader h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){.record-open,.product-controls button{transition:none}}

.toolbar>.product-controls{margin:0;flex:0 1 auto;align-self:flex-end}.product-overview{order:0}.workspace>.product-overview{flex:1 1 100%}.workspace>.domain-profile{margin-top:0}.toolbar:has(.product-controls){align-items:flex-end;gap:16px}.toolbar>.search{flex:1 1 240px;max-width:420px}.toolbar>.product-controls label{min-width:160px}@media(max-width:650px){.toolbar>.search{max-width:none}.toolbar>.product-controls{width:100%;flex:1 1 100%}.toolbar>.product-controls label{flex:1}}

/* Keep paired period controls the same height; wrap whole buttons. */
.period-controls>button{flex:0 0 auto;white-space:nowrap}@media(max-width:450px){.period-controls>button{flex:1 0 auto}}
