*{box-sizing:border-box}body{margin:0;background:var(--background,#eaf1ef);color:var(--foreground,#18352f);font:16px/1.45 system-ui,sans-serif}button{font:inherit;color:inherit;cursor:pointer;min-height:44px;border:0;border-radius:12px;background:var(--secondary,#e8f1ed);padding:9px 14px}button:disabled{opacity:.5;cursor:default}button:focus-visible{outline:3px solid #3c9e85;outline-offset:2px}.shell{max-width:940px;margin:auto;padding:28px clamp(14px,4vw,44px) 24px}header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.brand{font-weight:800;font-size:22px;display:flex;align-items:center;gap:10px}.mark,.icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;background:#d6eee4;color:#126650;font-size:21px}.mark,.primary{background:#14634f;color:white}.badge{background:var(--secondary,#d9ebe4);padding:4px 10px;border-radius:99px;font-size:13px;font-weight:700}.hero{background:#123f35;color:#fff;border-radius:24px;padding:clamp(18px,4vw,32px);margin-bottom:16px}.hero p{color:#c0ddd4;margin:6px 0 0}.hero h1{margin:0;font-size:clamp(28px,5vw,40px);letter-spacing:-.04em}nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;background:var(--card,#fff);border:1px solid var(--border,#dbe8e3);padding:5px;border-radius:16px;margin-bottom:20px}nav button{background:transparent;padding-inline:3px;font-weight:650;font-size:clamp(13px,3.7vw,16px)}nav button[aria-current]{background:#14634f;color:white}.panel,.row{background:var(--card,#fff);border:1px solid var(--border,#dbe8e3);border-radius:17px;padding:14px}.row{display:flex;align-items:center;text-align:left;gap:12px;width:100%}.fill{flex:1;min-width:0;overflow-wrap:anywhere}.sub{display:block;font-size:13px;color:var(--muted-foreground,#526d63)}.row{margin-top:8px}.bar{display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:10px}.panel{margin-bottom:12px}h2{font-size:18px;margin:0}p{margin:0 0 12px}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.switch{display:inline-grid;place-items:center;width:62px;padding:0;background:transparent}.switch-track{display:block;position:relative;width:54px;height:31px;border-radius:99px;background:#63756f;transition:background .16s}.switch-track::after{content:"";position:absolute;top:3px;left:3px;width:25px;height:25px;background:white;border-radius:50%;box-shadow:0 1px 4px #0004;transition:transform .16s}.switch[aria-checked=true] .switch-track{background:#14634f}.switch[aria-checked=true] .switch-track::after{transform:translateX(23px)}@media(prefers-reduced-motion:reduce){.switch-track,.switch-track::after{transition:none}}.more{flex:none;font-size:21px}.offline{color:var(--muted-foreground,#526d63)}.path{overflow-wrap:anywhere}.progress{width:100%;accent-color:#14634f;margin-top:10px}footer{margin-top:18px;font-size:13px;color:var(--muted-foreground,#526d63)}dialog{background:var(--card,#fff);color:inherit;border:1px solid var(--border,#dbe8e3);border-radius:20px;padding:18px;width:min(400px,calc(100% - 28px));overflow-wrap:anywhere}dialog::backdrop{background:#12332b88}dialog button{display:block;width:100%;margin-top:8px;text-align:left}#notice:empty{display:none}#notice{padding:10px 13px;margin-bottom:10px;border-radius:12px;background:#d6eee4;color:#124a3b}@media(max-width:580px){.shell{padding-top:16px}}
.control{min-width:0;max-width:100%;min-height:44px;border:1px solid var(--border,#dbe8e3);border-radius:10px;padding:6px;background:var(--card,#fff);color:inherit;font:inherit}input.control{width:100%}.file-name{background:transparent;text-align:left;padding-inline:0;overflow-wrap:anywhere}.row input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:#14634f}.setting{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.setting label{display:flex;align-items:center;gap:8px;flex-wrap:wrap}dialog label{display:block;margin:8px 0}dialog button:disabled{opacity:.5}.actions button{max-width:100%;overflow-wrap:anywhere}button:hover:not(:disabled){filter:brightness(.95)}
[hidden]{display:none!important}
#signin{max-width:430px;margin:auto}
#signin label{display:block;margin:9px 0 6px;font-weight:650}
#signin .control{display:block}
#signin button{margin-top:12px}
#signin [role=status]:empty{display:none}
#signin [role=status]{margin-top:10px;color:#8d411e}
.top-actions{display:flex;align-items:center;gap:8px}
.top-actions button{padding:5px 11px}
#notice.error{background:#faeee7;color:#8c381f}
#main a{color:inherit}
.media{display:block;max-width:100%;max-height:55dvh;margin:12px auto 0;border-radius:12px}
.actions a,.menu-link{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;padding:9px 14px;border-radius:12px;background:var(--secondary,#e8f1ed)}
.menu-link{display:flex;margin-top:8px}
.subline{margin:8px 0 0}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.shell{padding-bottom:max(24px,env(safe-area-inset-bottom))}

.folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr));
  gap: 12px;
}
.actions + .folder-grid {
  margin-top: 12px;
}
.folder-tile {
  position: relative;
  min-width: 0;
  overflow-wrap: anywhere;
  background: var(--card, #fff);
  border: 1px solid var(--border, #dbe8e3);
  border-radius: 16px;
}
.folder-tile:has(input:checked) {
  border-color: #3c9e85;
  background: var(--secondary, #e8f1ed);
  box-shadow: 0 0 0 1px #3c9e85;
}
.folder-open {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: 100%;
  height: 100%;
  min-height: 130px;
  padding: 12px 9px;
  border-radius: 15px;
  text-align: center;
  background: transparent;
}
.folder-open:hover:not(:disabled) {
  background: var(--secondary, #e8f1ed);
  filter: none;
}
.folder-open:disabled {
  opacity: .65;
}
.folder-tile:has(.folder-menu) .folder-open {
  padding-top: 30px;
}
.folder-title {
  font-size: 15px;
  font-weight: 700;
}
.folder-path {
  line-height: 1.25;
}
.folder-pick, .folder-menu {
  position: absolute;
  top: 0;
  z-index: 1;
  width: 44px;
  height: 44px;
}
.folder-menu {
  right: 0;
  padding: 0;
  background: transparent;
}
.folder-menu:hover {
  background: var(--secondary, #e8f1ed);
}
.folder-pick {
  left: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.folder-pick input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #14634f;
}
.folder-glyph {
  position: relative;
  display: block;
  flex: none;
  width: 74px;
  height: 65px;
  filter: drop-shadow(0 4px 5px rgb(127 83 22 / 18%));
}
.folder-glyph::before, .folder-glyph::after, .folder-tab, .folder-sheet {
  position: absolute;
  display: block;
}
.folder-glyph::before, .folder-glyph::after {
  content: "";
}
.folder-glyph::before {
  inset: 15px 5px 8px;
  border-radius: 8px;
  background: linear-gradient(145deg, #ffce57, #eca129);
  box-shadow: inset 0 1px 0 #ffdf85;
}
.folder-tab {
  top: 8px;
  left: 5px;
  width: 30px;
  height: 15px;
  border-radius: 8px 9px 0 0;
  background: linear-gradient(#ffd56a, #ffce57);
  box-shadow: inset 0 1px 0 #ffe697;
}
.folder-sheet {
  inset: 17px 11px 18px 14px;
  border-radius: 5px;
  background: linear-gradient(145deg, #fffdf4, #fff0c5);
  box-shadow: 0 0 0 1px rgb(155 111 42 / 17%);
  transform: rotate(-5deg);
}
.folder-glyph::after {
  inset: 26px 4px 6px;
  border-radius: 8px 9px 8px 8px;
  background: linear-gradient(150deg, #ffdf83 3%, #ffd065 46%, #f5b737);
  box-shadow: inset 0 1px 0 #fff0b1, inset 0 -1px 0 #e6a623;
}

@media (min-width: 560px) {
  .folder-grid {
    grid-template-columns: repeat(auto-fill, minmax(164px, 1fr));
  }
}
