/* Greenlit. Paper, ink and one green. Phone first. */
:root { --paper:#fbfaf6; --card:#fff; --ink:#1d1d1b; --muted:#6f6c64; --rule:#e7e3d9; --rule2:#d6d1c4; --go:#2c7a4b; --go-soft:#e7f3ec; --stop:#b03a2e; --stop-soft:#fbeae7; --amber:#9a6b12; --amber-soft:#fbf1dd; --accent:#2c5d8f; }
@media (prefers-color-scheme: dark) { :root { --paper:#161614; --card:#1f1f1c; --ink:#ecebe6; --muted:#a3a097; --rule:#2e2d29; --rule2:#3b3a35; --go:#6cc493; --go-soft:#1d3326; --stop:#f0897c; --stop-soft:#3a211d; --amber:#e2b25c; --amber-soft:#362a14; --accent:#8ab4e0; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.num { font-variant-numeric: tabular-nums; }
.app { max-width: 760px; margin: 0 auto; padding: 20px 16px 80px; }
.top { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); text-decoration: none; }
.brand i { width: 14px; height: 14px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 3px var(--go-soft); }
.top .ws { color: var(--muted); margin-left: auto; font-size: 14px; }
h1 { font-size: 24px; letter-spacing: -.02em; margin: 0 0 6px; line-height: 1.2; }
.sub { color: var(--muted); margin: 0 0 18px; }
.flash { border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; background: var(--go-soft); color: var(--go); }
.flash.alert { background: var(--stop-soft); color: var(--stop); }
.panel { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; }
.panel h2 { font-size: 15px; margin: 0 0 6px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.why { color: var(--muted); font-size: 14px; margin: 6px 0 12px; }
.opt { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; border: 1px solid var(--rule2); border-radius: 10px; padding: 11px 13px; margin-top: 8px; text-decoration: none; color: inherit; background: var(--card); }
.opt .dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--rule2); margin-top: 2px; }
.opt .t { font-weight: 600; } .opt .s { font-size: 13px; color: var(--muted); }
.opt.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); } .opt.on .dot { border: 5px solid var(--ink); }
.opt.rec .t::after { content: "Recommended"; font-size: 11px; font-weight: 700; color: var(--go); margin-left: 8px; text-transform: uppercase; letter-spacing: .04em; }
.chosen { border: 1.5px solid var(--go); background: var(--go-soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.chosen .t { font-weight: 650; }
ul.effects { margin: 6px 0 0; padding-left: 18px; } ul.effects li { margin: 4px 0; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.btn { font: inherit; font-size: 14px; border: 1px solid var(--rule2); background: var(--card); color: var(--ink); border-radius: 8px; padding: 9px 16px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn.go { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 600; }
.input { font: inherit; border: 1px solid var(--rule2); border-radius: 8px; padding: 9px 11px; background: var(--card); color: var(--ink); width: 100%; }
label.field { display: grid; gap: 4px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.list .item { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14px; color: inherit; text-decoration: none; }
.list .item:last-child { border-bottom: 0; } .list .d { color: var(--muted); font-size: 13px; }
.tag { font-size: 12px; font-weight: 650; padding: 2px 8px; border-radius: 999px; white-space: nowrap; align-self: start; }
.tag.go { background: var(--go-soft); color: var(--go); } .tag.wait { background: var(--amber-soft); color: var(--amber); } .tag.you { color: var(--muted); box-shadow: inset 0 0 0 1px var(--rule); }
.auth { max-width: 380px; margin: 12vh auto 0; }
/* Workspace page */
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: -8px 0 16px; }
.weeks { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; padding-bottom: 2px; }
.weeks a { white-space: nowrap; font-size: 13px; padding: 4px 10px; border-radius: 999px; color: var(--muted); text-decoration: none; box-shadow: inset 0 0 0 1px var(--rule2); }
.weeks a.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.row.ops { margin: 0 0 14px; } .row form { margin: 0; }
.ph { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 8px; } .ph h2 { margin: 0; }
iframe.mail { width: 100%; min-height: 320px; border: 0; border-radius: 10px; background: #fbfaf6; display: block; }
label.check { display: flex; gap: 8px; align-items: center; margin-top: 14px; font-size: 14px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
/* Settings: segmented choices, a money field. */
.field { display: grid; gap: 6px; margin-top: 16px; font-size: 14px; } .field > span:first-child { font-weight: 600; }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--paper); border: 1px solid var(--rule2); border-radius: 10px; padding: 3px; gap: 3px; max-width: 460px; }
.seg label { position: relative; } .seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 7px 12px; border-radius: 7px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.seg input:checked + span { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08), inset 0 0 0 1px var(--rule2); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.money-in { display: flex; align-items: center; gap: 8px; max-width: 260px; } .money-in > span { color: var(--muted); font-weight: 600; }
.field small { font-size: 13px; }
/* Asset bank */
.upload { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; } .upload input[type=file] { display: none; }
.assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.asset { border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: var(--card); font-size: 13px; }
.asset .pic { position: relative; aspect-ratio: 1; background: var(--paper); } .asset .pic img, .asset .pic video { width: 100%; height: 100%; object-fit: cover; display: block; }
.asset .kind { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.6); color: #fff; border-radius: 999px; width: 26px; height: 26px; display: grid; place-items: center; font-size: 11px; }
.asset .cap { padding: 8px 10px 10px; } .asset .cap b.good { color: var(--go); } .asset .cap b.fair { color: var(--amber); } .asset .cap b.poor { color: var(--stop); } .asset .txt { margin: 4px 0 0; color: var(--muted); line-height: 1.35; }
.asset details { margin-top: 6px; } .asset summary { cursor: pointer; color: var(--accent); list-style: none; } .asset summary::-webkit-details-marker { display: none; }
.asset details .row { margin-top: 6px; }
