:root{color-scheme:light;--paper:#f4ebdb;--ink:#25302a;--green:#183e30;--muted:#526052;--line:#ded2bd;--card:#fffbf1;--serif:Cambria,Charter,Georgia,serif;--bottle:#176345;--engine:#c52630;--tonka:#dca900;--ring-track:#ece4d4;font-family:system-ui,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a,button{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a35837;outline-offset:3px}
header{border-bottom:1px solid var(--line)}.bar,main{width:min(100% - 40px,1080px);margin:auto}.bar{height:76px;display:flex;align-items:center;justify-content:space-between}.brand{font:700 1.55rem var(--serif);display:flex;align-items:center;gap:10px}.brand img{width:34px;height:34px;flex:none;object-fit:contain}
.primary,.more{min-height:36px;padding:5px 10px;border-radius:8px;font-size:.8rem;font-weight:650;line-height:1.2}
.primary{border:1px solid var(--green);background:var(--green);color:white}.primary:hover{background:#385d46}.intro{padding:54px 0 26px}.intro h1{font:500 clamp(2.8rem,7vw,5.6rem)/1.04 var(--serif);letter-spacing:-.035em;color:var(--green);margin:0}.intro-copy>#description{color:var(--muted);margin:20px 0 0}
nav{display:flex;gap:24px;border-bottom:1px solid var(--line)}nav button{padding:13px 2px;border:0;border-bottom:3px solid transparent;background:none;font-weight:650;color:var(--muted)}nav button[aria-pressed=true]{border-bottom-color:var(--green);color:var(--green)}.workspace{padding-top:24px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px}h2{font:600 1.65rem var(--serif);color:var(--green);margin:0}.piece-count,footer{color:var(--muted);font-size:.85rem}.piece-count{margin:5px 0 0}.quiet{border:0;background:none;text-decoration:underline;text-underline-offset:4px;padding:8px 0}.danger,#form-error{color:#943c2b}#notice,#form-error{margin:0}#notice:not(:empty),#form-error:not(:empty){margin:12px 0}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:15px;margin-top:18px}.piece{background:var(--card);border:1px solid var(--line);border-radius:15px;padding:19px;box-shadow:0 4px 12px #4531170c;display:flex;flex-direction:column;gap:12px;min-width:0}.meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:.76rem}.badge{padding:4px 8px;border-radius:20px;background:#e4ebdf;color:#314837;font-weight:650}.piece h3{font:600 1.45rem var(--serif);margin:0;overflow-wrap:anywhere}.next-label{font-size:.66rem;font-weight:750;letter-spacing:.08em;color:var(--green);margin-bottom:4px}.piece p{margin:0;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}.actions{margin-top:auto;padding-top:9px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.88rem}.empty{padding:24px;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}
#filters{display:flex;gap:12px;margin-top:16px;flex-wrap:wrap}footer{padding:26px 0}dialog{width:min(100% - 32px,500px);border:1px solid var(--line);border-radius:15px;background:var(--card);color:var(--ink);padding:22px}dialog::backdrop{background:#1e292294}.dialog-head,.dialog-foot,.pair{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-foot{margin-top:8px;justify-content:flex-end}.dialog-foot .danger{margin-right:auto}.pair>*{flex:1;min-width:0}label{display:grid;gap:5px;font-size:.86rem;font-weight:650}form label{margin:10px 0}input,select,textarea{width:100%;min-width:0;padding:8px;border:1px solid #a9ae9f;border-radius:6px;background:white;color:var(--ink)}textarea{resize:vertical}
@media(max-width:520px){.bar,main{width:calc(100% - 32px)}.bar{height:63px}.intro{padding-top:39px}.section-head .quiet{font-size:.78rem}.intro-copy>#description{line-height:1.5}}

.word-fields{border:1px solid var(--line);border-radius:8px;margin:12px 0;padding:0 12px 8px;min-width:0}
.word-fields legend{font-weight:650;padding:0 5px}
#word-help{color:var(--muted);font-size:.82rem;margin:0 0 5px}
.word-progress{--pace:#546353;display:flex;align-items:center;gap:11px;padding:10px;border-radius:8px;background:#f5f3ea}
.activity-ring.green{--pace:var(--bottle)}
.pace.green{--pace:var(--bottle)}
.activity-ring.yellow{--pace:var(--tonka)}
.pace.yellow{--pace:#755600}
.activity-ring.red{--pace:var(--engine)}
.pace.red{--pace:#9a242e}
.progress-ring{position:relative;width:52px;height:52px;color:var(--ink)}
.progress-ring svg{display:block;width:100%;height:100%;fill:none;stroke-width:3.7;stroke-linecap:round;stroke-linejoin:round}
.progress-meter-track{stroke:var(--ring-track)}
.progress-meter-fill{stroke:var(--pace)}
.progress-ring span{position:absolute;inset:0;display:grid;place-items:center;font-size:min(.6875rem,calc(48px / var(--value-length, 4)));line-height:1;white-space:nowrap;font-weight:750;font-variant-numeric:tabular-nums}
.progress-details{display:grid;gap:3px;font-size:.75rem;color:var(--muted)}
.progress-details strong{color:var(--ink)}
.pace{font-weight:700;color:var(--pace)}
.card-progress{display:grid;grid-template-columns:1fr;gap:10px;padding:0;background:transparent}
.ring-pair{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;align-items:start;border-top:1px solid var(--line);padding-top:10px}
.ring-item{position:relative;display:grid;justify-items:center;gap:4px}
.ring-pair > .ring-item:first-child{--pace:var(--bottle)}
.field-hint{font-weight:400;color:var(--muted)}
.ring-label{font-size:.6875rem;font-weight:650;color:var(--muted);text-align:center}
.ring-tooltip{
  position:absolute;
  z-index:2;
  inset-block-end:100%;
  inset-inline-start:50%;
  transform:translateX(-50%);
  visibility:hidden;
  padding:4px 7px;
  border-radius:5px;
  background:var(--green);
  color:var(--card);
  font-size:.6875rem;
  font-weight:650;
  text-transform:none;
  white-space:nowrap;
}
.ring-item:hover .ring-tooltip,
.progress-ring:focus-visible ~ .ring-tooltip,
.activity-ring:focus-visible .ring-tooltip{visibility:visible}
.progress-ring:focus-visible{outline:3px solid #a35837;outline-offset:3px;border-radius:5px}
.card-progress .progress-details{min-width:0}
.card-progress h3{margin-bottom:3px}
.workspace + .workspace{margin-top:20px;border-top:1px solid var(--line)}
.more{display:grid;place-items:center;min-width:44px;border:1px solid var(--line);text-decoration:none;background:var(--card)}
#clear-samples{margin-top:20px}
dialog{width:min(100% - 32px,660px)}
.draft-field>label{margin-bottom:5px}
.draft-tools{display:flex;flex-wrap:wrap;gap:5px;padding:7px;border:1px solid var(--line);border-radius:8px 8px 0 0;background:var(--paper)}
.draft-tools button{min-height:32px;border:1px solid var(--line);border-radius:7px;background:var(--card);padding:4px 8px;font-size:.78rem;line-height:1.2}
.draft-tools button[aria-pressed=true]{background:var(--green);color:white}
#draft{min-height:180px;max-height:44vh;overflow:auto;border:1px solid #a9ae9f;border-radius:0 0 8px 8px;background:var(--card);padding:14px;white-space:pre-wrap;overflow-wrap:anywhere;font:400 1.0625rem/1.55 var(--serif)}
#draft:focus-visible{outline:3px solid #a35837;outline-offset:2px}
.draft-count{font-size:.82rem;color:var(--muted);margin:5px 0 12px}
.piece-title{border:0;background:transparent;padding:0;font:inherit;text-align:left;text-decoration:underline;text-underline-offset:.16em;overflow-wrap:anywhere}
.completion{display:flex;align-items:center;gap:8px}
.completion input{width:1rem;height:1rem;accent-color:var(--green)}
.brand{color:var(--green);text-decoration:none}
.brand:hover{text-decoration:underline;text-underline-offset:.15em}
.back-to-desk{display:inline-grid;margin-bottom:14px}
.draft-downloads{display:flex;gap:8px;flex-wrap:wrap}
.draft-downloads button{color:var(--green)}
.draft-downloads button:disabled{cursor:wait}
#download-status{font-size:.82rem;color:var(--muted);margin:6px 0 0}
.draft-checkpoints{margin:10px 0 16px;padding:9px 12px;border:1px solid var(--line);border-radius:8px}
.draft-checkpoints summary{cursor:pointer;font-weight:650}
.draft-checkpoints .more{display:inline-grid;color:var(--green)}
#checkpoint-count,#checkpoint-status{color:var(--muted);font-size:.82rem}
#checkpoint-status{margin:8px 0}
#checkpoint-status:empty,#checkpoints:empty{display:none}
#checkpoints{padding:0;margin:8px 0 0;list-style:none}
.checkpoint{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;border-top:1px solid var(--line)}
.checkpoint strong{display:block;overflow-wrap:anywhere}
.checkpoint button{flex:none}
.settings{position:relative;flex:none}
.settings > summary{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-width:44px;
  min-height:44px;
  border-radius:8px;
  list-style:none;
  cursor:pointer;
  color:var(--green);
}
.settings-ghost{display:block;flex:none}
.settings-gear{fill:var(--card)}
.settings > summary:hover,.settings[open] > summary{background:var(--card)}
.settings > summary:focus-visible{outline:3px solid #a35837;outline-offset:3px}
.settings > summary::-webkit-details-marker{display:none}
.settings-panel{
  position:absolute;
  z-index:5;
  inset-block-start:100%;
  inset-inline-end:0;
  width:max-content;
  min-width:min(250px,calc(100vw - 32px));
  display:grid;
  gap:4px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--card);
  box-shadow:0 4px 16px #25302a24;
}
.settings-panel{max-width:calc(100vw - 32px)}
.settings-group{display:grid;gap:4px;padding:5px 4px 8px;border-bottom:1px solid var(--line)}
.settings-group h2{margin:0;font:650 .8rem system-ui,sans-serif;color:var(--green)}
.settings-group p{margin:2px 0;font-size:.82rem;overflow-wrap:anywhere}
.settings-panel .more{display:flex;align-items:center;min-height:44px;text-align:start;text-decoration:none}
.settings-panel #logout{width:100%}
.settings-group .completion{min-height:44px}
body[data-reduce-ghost-motion] .finished-stamp-ghost{display:none}
body[data-reduce-ghost-motion] .finished-stamp-imprint{animation:none}
.header-status{width:min(100% - 32px,1080px);margin:0 auto 8px;color:var(--green);font-size:.85rem}
.header-status:empty{display:none}
#backup-dialog>label{margin-top:12px}
#backup-preview h3{margin:14px 0 7px}
#backup-preview ul{margin:0;padding-left:22px;overflow-wrap:anywhere}
#backup-conflicts label{margin:10px 0;overflow-wrap:anywhere}
#backup-status{color:var(--muted);font-size:.88rem}
#apply-backup:disabled{opacity:.55;cursor:default}
.follow-up{margin-top:7px;font-size:.8rem;color:var(--muted)}
.due-follow-up{display:table;padding:3px 8px;border-radius:999px;background:#f9e2d8;color:#713121;font-weight:700}
#submission-count{color:var(--muted);font-size:.82rem}
.submission{border:1px solid var(--line);border-radius:8px;padding:0 12px 8px;margin:10px 0;min-width:0}
.submission legend{color:var(--muted);font-size:.85rem;padding:0 5px}
#add-submission{margin-top:9px}
.activity-ring{border:0;border-radius:8px;background:transparent;padding:0 4px 2px;color:inherit}
.activity-ring:hover,.activity-ring:focus-visible{background:#f4ebdb}
.ring-label::after{
  content:"";
  display:inline-block;
  width:11px;
  height:11px;
  margin-inline-start:3px;
  vertical-align:-1px;
  background:url("scribblegeist-mark.png?v=original-ghost") center/contain no-repeat;
}
#activity-piece,#activity-status{color:var(--muted);overflow-wrap:anywhere}
#activity-total{font-weight:650}
#activity-days{margin:0;padding:0;list-style:none}
.activity-day{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px;border-top:1px solid var(--line);padding:9px 0}
.activity-day .quiet{font-size:.85rem}
#activity-status:empty{display:none}
#editor .dialog-foot{flex-wrap:wrap;gap:8px 12px}
#editor .dialog-foot .more{color:var(--green)}
.activity-ring .ring-label{white-space:normal}

.next-step{padding:10px 11px;border-radius:8px;background:#edf0e6}
.piece .next-step p{font:500 1.0625rem/1.35 var(--serif)}
.activity-ring.green,.activity-ring.yellow,.activity-ring.red{--ring-track:color-mix(in srgb,var(--pace) 20%,var(--card))}

@media(max-width:380px){.brand{font-size:1.2rem;gap:5px}.brand img{width:27px;height:27px}.bar .primary{padding-inline:.65rem}}


.intro {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:clamp(12px,4vw,44px);
}
.intro-ghost{
  display:block;
  width:clamp(150px,30vw,345px);
  height:auto;
  margin-inline-end:clamp(0px,4vw,44px);
}
@media(max-width:640px){
  .intro{gap:10px}
  .intro h1{font-size:clamp(2rem,7vw,3rem)}
  .intro-ghost{width:clamp(84px,26vw,154px);margin-inline-end:0}
}
button,.more,.actions a{text-transform:capitalize}
.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:clamp(4px,1.5vw,18px);
}
.header-actions form{margin:0}
.ghost-action{
  display:grid;
  place-items:center;
  min-width:44px;
  min-height:44px;
  padding:3px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:var(--green);
  font-size:.76rem;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
}
.ghost-bubble{
  --bubble-fill:var(--card);
  position:relative;
  padding:4px 8px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--bubble-fill);
  text-transform:none;
}
.ghost-bubble::before,.ghost-bubble::after{
  content:"";
  position:absolute;
  top:100%;
  left:7px;
  width:13px;
  height:8px;
  clip-path:polygon(27% 0,100% 0,0 100%);
  background:var(--line);
}
.ghost-bubble::after{
  top:calc(100% - 1px);
  left:9px;
  width:10px;
  height:7px;
  background:var(--bubble-fill);
}
.ghost-action:hover .ghost-bubble,.ghost-action:focus-visible .ghost-bubble{--bubble-fill:#fffdf7}
@media(max-width:520px){
  .bar{height:auto;min-height:63px;flex-wrap:wrap;gap:8px;padding-block:10px}
  .header-actions{margin-inline-start:auto;flex-wrap:wrap}
}

#editor{padding-block:24px 32px}
.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.editor-heading h1{margin:0;font:600 clamp(1.8rem,4.5vw,2.75rem)/1.1 var(--serif);color:var(--green);overflow-wrap:anywhere}
.editor-heading button{flex:none;color:var(--green)}
.editor-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:start}
.editor-nav{display:grid;gap:4px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#f0e7d7}
.editor-nav button{border:0;border-radius:7px;padding:7px 9px;text-align:left;background:transparent;font-size:.82rem}
.editor-nav button[aria-pressed=true]{background:#e1e8db;font-weight:700;border-bottom:0}
#editor .editor-picker{display:none;margin:0 0 14px}
.editor-panel h2{margin-bottom:10px}
.editor-next{padding:1px 11px;border-radius:8px;background:#edf0e6}
#editor #draft{min-height:clamp(230px,42svh,440px);max-height:none}
.editor-actions{margin-top:15px;padding:12px 0;border-top:1px solid var(--line)}
@media(max-width:640px){
  #editor{padding-top:16px}
  .editor-layout{display:block}
  .editor-nav{display:none}
  #editor .editor-picker{display:grid}
  #editor input:not([type=checkbox]),#editor textarea,#editor select{font-size:16px}
  .editor-heading button{font-size:.78rem;padding-inline:8px}
  #editor #draft{min-height:220px}
}
.editor-actions{position:sticky;bottom:0;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:8px 10px;z-index:1}

#next-step-dialog{margin:auto auto max(14px,env(safe-area-inset-bottom))}
#next-step-dialog p{color:var(--muted);margin:8px 0 12px}
#next-step-dialog textarea{font-size:1rem}
#next-step-dialog #next-step-error:empty{display:none}
#next-step-dialog #next-step-error{color:#943c2b}
#skip-next-step{color:var(--green)}


#focus-more,#all-more,#completed-more,.piece-title,[data-whoosh]{position:relative}
#focus-more,#all-more,#completed-more,[data-whoosh]{overflow:hidden}
.whoosh-ghost{
  position:absolute;
  z-index:1;
  left:0;
  top:calc(50% - 11.5px);
  width:23px;
  height:23px;
  pointer-events:none;
  background:url("scribblegeist-mark.png?v=original-ghost") center/contain no-repeat;
  animation:ghost-whoosh var(--whoosh-duration) ease-out both;
}
.piece-title .whoosh-ghost{top:auto;bottom:-7px;width:17px;height:17px}
@keyframes ghost-whoosh{
  0%{left:-12px;opacity:0}
  25%,80%{opacity:1}
  100%{left:calc(100% - 7px);opacity:0}
}
@media(prefers-reduced-motion:reduce){.whoosh-ghost{display:none}}

.ghost-welcome{
  position:fixed;
  z-index:2;
  inset:auto max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) auto;
  width:min(360px,calc(100% - 32px));
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--card);
  color:var(--green);
  box-shadow:0 6px 24px #25302a24;
}
.ghost-welcome img{flex:none;object-fit:contain}
.ghost-welcome p{flex:1;margin:0;font:600 1.05rem/1.3 var(--serif)}
.ghost-welcome button{flex:none;width:44px;height:44px;border:0;border-radius:8px;background:transparent;font-size:1.4rem}
.ghost-welcome button:hover{background:var(--paper)}

#idea-text{font-size:1rem}
.idea-status:empty,#idea-error:empty,.idea-list:empty{display:none}
.idea-list{display:grid;gap:12px;list-style:none;padding:0;margin:12px 0 0}
.idea-card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px}
.idea-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 12px}
.idea-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.backup-idea{overflow-wrap:anywhere;white-space:pre-wrap}

.piece:has(.finished-stamp-scene){position:relative}
.finished-stamp-scene{
  position:absolute;
  inset:auto 8px 8px auto;
  width:140px;
  height:105px;
  overflow:hidden;
  pointer-events:none;
}
.finished-stamp-ghost{
  position:absolute;
  right:12px;
  bottom:26px;
  object-fit:contain;
  filter:drop-shadow(0 2px 4px #25302a30);
  animation:finished-ghost 1s ease both;
}
.finished-stamp-imprint{
  position:absolute;
  right:10px;
  bottom:10px;
  padding:4px 8px;
  border:2px solid currentColor;
  border-radius:3px;
  background:var(--card);
  color:var(--green);
  font:800 .82rem/1.1 system-ui,sans-serif;
  letter-spacing:.12em;
  transform:rotate(-8deg);
  animation:finished-imprint 350ms 480ms ease-out both;
}
@keyframes finished-ghost{
  0%{transform:translateY(86px)}
  43%{transform:translateY(-7px) rotate(-9deg)}
  53%{transform:translateY(8px) rotate(-9deg)}
  68%{transform:translateY(-4px)}
  100%{transform:translateY(86px)}
}
@keyframes finished-imprint{
  0%{opacity:0;transform:rotate(-8deg) scale(1.25)}
  38%{opacity:1;transform:rotate(-8deg) scale(.94)}
  100%{opacity:1;transform:rotate(-8deg)}
}
@media(prefers-reduced-motion:reduce){
  .finished-stamp-ghost{display:none}
  .finished-stamp-imprint{animation:none}
}

#focus-cards .keep-writing{justify-self:start;min-height:44px}
@media(min-width:800px){
  #focus-cards{
    display:grid;
    grid-template-columns:1fr;
    gap:0;
    background:var(--card);
    border:1px solid var(--line);
    border-radius:12px;
  }
  #focus-cards .piece{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) 228px auto;
    align-items:center;
    gap:16px;
    padding:14px 16px;
    border:0;
    border-radius:0;
    box-shadow:none;
    background:transparent;
  }
  #focus-cards .piece + .piece{border-top:1px solid var(--line)}
  #focus-cards .piece > .meta,
  #focus-cards .piece > .actions,
  #focus-cards .progress-details{display:none}
  #focus-cards .piece h3{margin:0;min-width:0}
  #focus-cards .next-step{padding:0;background:none;overflow-wrap:anywhere}
  #focus-cards .ring-pair{border:0;padding:0}
  #focus-cards .ring-label{white-space:nowrap}
  #focus-cards .keep-writing{white-space:nowrap}
  #focus-cards > .empty{padding-inline:16px}
}

#editor .editor-piece-title{margin-top:0}
#editor .editor-piece-title input{font:600 1.25rem var(--serif)}
#editor .editor-next{margin-bottom:14px}

.draft-heading{display:flex;align-items:baseline;gap:8px;margin-bottom:5px;font-size:.86rem;font-weight:650}
.draft-heading .draft-count{margin:0;font-weight:400}

.top-priority-label{
  display:table;
  margin-top:4px;
  padding:2px 6px;
  border-radius:5px;
  background:#e9eddf;
  color:var(--green);
  font:650 .72rem system-ui,sans-serif;
}

.backup-advanced summary{padding:10px 4px;cursor:pointer;font-size:.82rem}
.backup-advanced button{width:100%}
#desk-export-dialog .dialog-foot{flex-wrap:wrap}
#desk-export-status:empty{display:none}

#settings-email:empty{display:none}

#owner-dashboard-link{font-size:.76rem;white-space:nowrap}
.owner-dashboard{padding-block:32px}
.owner-dashboard h1{font:600 2rem var(--serif);color:var(--green)}
.owner-panel{margin-block:18px;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--card)}
.owner-table{overflow-x:auto}
.owner-table table{width:100%;border-collapse:collapse;text-align:start}
.owner-table th,.owner-table td{padding:10px 8px;text-align:start;border-bottom:1px solid var(--line)}
.owner-table button{white-space:nowrap;min-height:44px}

.owner-actions{display:flex;gap:3px;margin:0}
.owner-table .owner-emblem{display:inline-grid;place-items:center;min-width:38px;min-height:38px;padding:4px;border:1px solid var(--line);border-radius:7px;background:var(--card);color:var(--green)}
.owner-emblem:hover,.owner-emblem:focus-visible{background:var(--paper)}
.owner-draft{white-space:pre-wrap;overflow-wrap:anywhere}
.owner-panel details{padding:8px 0;border-bottom:1px solid var(--line)}
.owner-emblem{position:relative}
.owner-emblem:is(:hover,:focus-visible)::after{
  content:attr(data-label);
  position:absolute;
  z-index:2;
  inset-block-end:calc(100% + 4px);
  inset-inline-end:0;
  padding:4px 7px;
  border-radius:5px;
  background:var(--green);
  color:var(--card);
  white-space:nowrap;
  font-size:.75rem;
  pointer-events:none;
}

.feature-info{
  display:inline-grid;place-items:center;flex:none;vertical-align:middle;
  width:24px;height:24px;margin-inline-start:5px;padding:0;
  border:0;background:transparent;border-radius:6px;
  color:var(--green);font:700 .66rem var(--serif);text-transform:none;
}
.feature-info > span{
  display:grid;place-items:center;width:14px;height:14px;
  border:1px solid color-mix(in srgb,var(--green) 38%,var(--line));
  border-radius:50%;line-height:1;
}
.feature-info:is(:hover,:focus-visible,[aria-expanded="true"]) > span{background:var(--green);color:var(--card)}
.feature-label-row{display:flex;align-items:flex-start;gap:4px}
.feature-label-row > label{min-width:0;flex:1}
.feature-label-row > .feature-info{margin-top:8px}
#feature-tip{
  position:fixed;z-index:1000;width:max-content;max-width:min(260px,calc(100vw - 16px));
  padding:8px 11px;border-radius:7px;background:var(--green);color:var(--card);
  font:500 .82rem/1.4 system-ui,sans-serif;box-shadow:0 3px 12px #25302a35;
}
@media(pointer:coarse){
  .feature-info{width:32px;height:32px}
  .primary,.more,.draft-tools button,.editor-nav button{min-height:44px}
}

.feature-field{min-width:0;margin-block:10px}
.feature-inline{display:flex;align-items:center;gap:5px}
.feature-field .feature-inline{margin-bottom:5px}
.feature-inline > .feature-info{margin-inline-start:0}
#editor .feature-field .feature-inline > label{margin:0}

#owner-export-dialog .dialog-foot{flex-wrap:wrap}
