/* Approved public-entry folders. Separate from the authenticated document library. */
.wm-public-entry .fd-demo{--fd-ink:var(--ink,#1c2939);--fd-line:var(--line,#d9d3c9);--fd-paper:var(--paper,#f6f1e8);--fd-accent:var(--accent,#a63e38);width:100%;color:var(--fd-ink)}
.wm-public-entry .fd-demo button, .wm-public-entry .fd-demo input{font:inherit}
.wm-public-entry .fd-demo button{color:inherit;cursor:pointer}
.wm-public-entry .fd-demo [hidden]{display:none!important}
.wm-public-entry .fd-demo button:focus-visible, .wm-public-entry .fd-demo input:focus-visible{outline:3px solid var(--fd-accent);outline-offset:5px}
.wm-public-entry .fd-demo button:disabled{cursor:wait}
.wm-public-entry .fd-demo svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.wm-public-entry .fd-workspace{border:1px solid var(--fd-line);border-radius:14px;background:#fbf8f2;margin:0 auto;max-width:1120px;box-shadow:0 18px 55px -30px #443a2860;scroll-margin-top:108px;overflow:hidden;animation:fd-appear .23s ease-out}
.wm-public-entry .fd-workspace-head{display:flex;align-items:center;justify-content:space-between;padding:24px 25px;gap:20px;border-bottom:1px solid var(--fd-line);background:#f8f4eb}
.wm-public-entry .fd-kicker{font-size:8px;letter-spacing:.12em;color:#7d7b72;font-weight:700}
.wm-public-entry .fd-workspace-head h3{margin:5px 0 0;font-size:23px;letter-spacing:-.035em;font-weight:700}
.wm-public-entry .fd-head-actions{display:flex;align-items:center;gap:12px}
.wm-public-entry .fd-add, .wm-public-entry .fd-neutral{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:8px;min-height:40px;padding:10px 15px;border:1px solid var(--fd-line);background:#f8f4eb;box-shadow:0 3px 6px #39302309;font-size:12px;font-weight:650}
.wm-public-entry .fd-add{background:var(--fd-accent);border-color:var(--fd-accent);color:white!important}
.wm-public-entry .fd-add:hover{filter:brightness(1.06)}
.wm-public-entry .fd-add>span:first-child:not(:only-child){font-size:18px;line-height:14px;font-weight:400}
.wm-public-entry .fd-close{width:36px;height:36px;border-radius:50%;border:1px solid var(--fd-line);background:transparent;font-size:24px;font-weight:300;line-height:1}
.wm-public-entry .fd-reader{display:grid;grid-template-columns:minmax(205px,30%) minmax(0,1fr);min-height:470px}
.wm-public-entry .fd-filelist{padding:16px 12px;border-right:1px solid var(--fd-line);display:flex;flex-direction:column;gap:5px}
.wm-public-entry .fd-file-button{display:flex;align-items:center;gap:11px;border:1px solid transparent;padding:15px 12px;border-radius:8px;text-align:left;background:transparent;width:100%}
.wm-public-entry .fd-file-button svg{flex-shrink:0;color:#8c877d;width:20px}
.wm-public-entry .fd-file-button span{display:flex;flex-direction:column;min-width:0;gap:5px}
.wm-public-entry .fd-file-button strong{font-size:12px;line-height:1.4;word-break:break-word;font-weight:650}
.wm-public-entry .fd-file-button small{font-size:10px;color:#767c79}
.wm-public-entry .fd-file-button[aria-current="true"]{border-color:color-mix(in srgb,var(--fd-accent) 30%,transparent);background:color-mix(in srgb,var(--fd-accent) 6%,#fbf8f2)}
.wm-public-entry .fd-file-button[aria-current="true"] svg{color:var(--fd-accent)}
.wm-public-entry .fd-preview{min-width:0;background:#eeeae2}
.wm-public-entry .fd-preview-bar, .wm-public-entry .fd-preview-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 20px;color:#656d6d;font-size:11px;border-bottom:1px solid #d9d3c97a}
.wm-public-entry .fd-preview-stage{padding:18px;display:flex;justify-content:center}
.wm-public-entry .fd-sheet{width:min(100%,420px);align-self:flex-start;background:white;border:1px solid #d4d0c8;box-shadow:0 6px 20px #3b332019}
.wm-public-entry .fd-sheet img{display:block;width:100%;height:auto;aspect-ratio:420/595}
.wm-public-entry .fd-pdf-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 10px;color:var(--fd-accent);font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.wm-public-entry .fd-demo a:focus-visible{outline:3px solid var(--fd-accent);outline-offset:2px}
.wm-public-entry .fd-fallback a{color:var(--fd-accent);text-underline-offset:3px}
.wm-public-entry .fd-preview-foot{border-top:1px solid #d9d3c97a;border-bottom:0;font-size:10px;padding:11px 20px}
.wm-public-entry .fd-live{margin:0;min-height:0;font-size:12px;color:#536751;padding:0 24px}
.wm-public-entry .fd-live:not(:empty){padding:12px 24px;border-top:1px solid var(--fd-line);background:#eff4e9}
.wm-public-entry .fd-upload{padding:25px}
.wm-public-entry .fd-upload-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.wm-public-entry .fd-upload-heading h4{font-size:21px;margin:0 0 8px}
.wm-public-entry .fd-upload-heading p{font-size:12px;color:#66716e;margin:0}
.wm-public-entry .fd-text-button{border:0;background:transparent;color:var(--fd-accent)!important;font-size:11px;padding:8px 0}
.wm-public-entry .fd-steps{margin:25px 0 20px;padding:0;display:flex;list-style:none;gap:8px;counter-reset:fd-step}
.wm-public-entry .fd-steps li{flex:1;border-top:3px solid #e3dbce;padding:10px 0;font-size:11px;color:#837d72;counter-increment:fd-step}
.wm-public-entry .fd-steps li:before{content:counter(fd-step) ". ";font-variant-numeric:tabular-nums}
.wm-public-entry .fd-steps li.is-current{border-color:var(--fd-accent);color:var(--fd-ink)}
.wm-public-entry .fd-steps li.is-done{border-color:#8f9a80}
.wm-public-entry .fd-drop{display:flex;align-items:center;flex-direction:column;gap:12px;padding:32px 20px;border:1px dashed #c5bcac;border-radius:10px;margin-top:22px;text-align:center;background:#f7f3eb}
.wm-public-entry .fd-drop svg{color:var(--fd-accent);width:30px;height:30px}
.wm-public-entry .fd-drop strong{font-size:15px}
.wm-public-entry .fd-drop>span{font-size:11px;color:#73796f;line-height:1.6}
.wm-public-entry .fd-drop .fd-neutral{margin-top:8px}
.wm-public-entry .fd-review{display:grid;grid-template-columns:2fr 1fr 1fr;gap:15px;margin:25px 0}
.wm-public-entry .fd-field{min-width:0}
.wm-public-entry .fd-field label{font-size:11px;display:block;margin-bottom:8px}
.wm-public-entry .fd-field input{width:100%;min-width:0;background:#f8f4eb;color:var(--fd-ink);border:1px solid #b7afa1;border-radius:5px;padding:10px;font-size:13px;box-shadow:0 2px 4px #29241d04;height:41px}
.wm-public-entry .fd-upload-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px}
.wm-public-entry .fd-upload-status{font-size:11px;line-height:1.6;color:#687466;min-height:18px}
.wm-public-entry .fd-upload-foot .fd-add{margin-left:auto;flex-shrink:0}
.wm-public-entry .fd-upload[data-phase="busy"] .fd-drop{animation:fd-analysis 1.2s ease-in-out infinite}
.wm-public-entry .fd-upload[data-phase="busy"] .fd-drop svg{animation:fd-upload-pulse 1.2s ease-in-out infinite}
@keyframes fd-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@keyframes fd-analysis{50%{border-color:var(--fd-accent);background:#f2ede3}}
@keyframes fd-upload-pulse{50%{opacity:.3;transform:translateY(-4px)}}
@media(hover:hover) and (pointer:fine){
.wm-public-entry .fd-file-button:hover{background:#eee7dc80}
}
@media(max-width:800px){
.wm-public-entry .fd-reader{grid-template-columns:200px minmax(0,1fr)}
.wm-public-entry .fd-workspace-head{padding:20px}
.wm-public-entry .fd-head-actions{gap:8px}
.wm-public-entry .fd-preview-stage{padding:20px 15px}
.wm-public-entry .fd-review{grid-template-columns:1fr 1fr}
.wm-public-entry .fd-field:first-child{grid-column:1/-1}
}
@media(max-width:600px){
.wm-public-entry .fd-workspace{border-radius:10px}
.wm-public-entry .fd-workspace-head{align-items:flex-start;position:relative;padding:20px 17px;flex-direction:column;gap:16px}
.wm-public-entry .fd-workspace-head h3{font-size:22px}
.wm-public-entry .fd-head-actions{width:100%}
.wm-public-entry .fd-close{position:absolute;right:16px;top:20px}
.wm-public-entry .fd-add{font-size:11px;min-height:40px}
.wm-public-entry .fd-reader{grid-template-columns:1fr}
.wm-public-entry .fd-filelist{border-right:0;border-bottom:1px solid var(--fd-line);padding:10px;gap:3px;max-height:210px;overflow:auto}
.wm-public-entry .fd-file-button{padding:11px}
.wm-public-entry .fd-file-button span{flex-direction:row;align-items:center;justify-content:space-between;width:100%;gap:10px}
.wm-public-entry .fd-file-button small{white-space:nowrap}
.wm-public-entry .fd-preview-bar{padding:12px;font-size:10px}
.wm-public-entry .fd-preview-stage{padding:12px 8px}
.wm-public-entry .fd-upload{padding:19px 16px}
.wm-public-entry .fd-upload-heading{flex-direction:column;gap:6px}
.wm-public-entry .fd-steps{gap:6px}
.wm-public-entry .fd-steps li{font-size:10px}
.wm-public-entry .fd-review{gap:12px}
.wm-public-entry .fd-upload-foot{gap:10px;align-items:flex-start;flex-direction:column}
.wm-public-entry .fd-upload-foot .fd-add{width:100%;margin:0}
}


.wm-public-entry .fd-demo { min-width:0; }
.wm-public-entry .fd-demo :is(button,summary) { min-height:44px; touch-action:manipulation; }
.wm-public-entry .fd-demo button { font-weight:inherit; text-transform:none; letter-spacing:normal; }
.wm-public-entry .fd-demo button:active { filter:none; }
.wm-public-entry .fd-add { font-weight:650; --wm-icon-accent:currentColor; }
.wm-public-entry .fd-add .wm-icon { width:18px; height:18px; color:inherit; --wm-icon-accent:currentColor; }
.wm-public-entry .fd-demo :is(h3,h4) { color:var(--fd-ink); text-shadow:none; }
.wm-public-entry .fd-demo p { font-weight:400; }
.wm-public-entry .fd-close { width:44px;height:44px;display:grid;place-items:center;flex-shrink:0; }
.wm-public-entry .fd-close .wm-icon { width:18px;height:18px; }
.wm-public-entry .fd-preview-bar>span:first-child { min-width:0;overflow-wrap:anywhere; }
.wm-public-entry .fd-file-nav { display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid var(--fd-line);border-radius:7px;background:#fbf8f2; }
.wm-public-entry .fd-file-nav:disabled { opacity:.35;cursor:default; }
.wm-public-entry .fd-file-nav .wm-icon { width:18px;height:18px; }
.wm-public-entry .fd-sheet { animation:none; }
.wm-public-entry .fd-sheet.is-switching { animation:fd-appear .18s ease-out; }
.wm-public-entry .fd-demo:is(.is-offscreen,.is-page-hidden) * { animation-play-state:paused!important; }
.wm-public-entry .fd-field input { font-size:16px;height:44px; }
.wm-public-entry .fd-fallback { display:grid;gap:15px; }
.wm-public-entry .fd-fallback details { border:1px solid var(--fd-line);border-radius:10px;background:var(--fd-paper);padding:18px; }
.wm-public-entry .fd-fallback summary { display:flex;align-items:center;gap:12px;cursor:pointer;font-size:16px;font-weight:600; }
.wm-public-entry .fd-fallback summary>span { margin-left:auto;font-size:11px;color:var(--muted);font-weight:400; }
.wm-public-entry .fd-fallback ul { margin:16px 0 0;padding:0;list-style:none; }
.wm-public-entry .fd-fallback li { display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 0;border-top:1px solid var(--fd-line);font-size:13px; }
.wm-public-entry .fd-fallback li span,.wm-public-entry .fd-fallback p { color:var(--muted);font-size:12px; }
@media(max-width:600px){
 .wm-public-entry .fd-workspace-head>div:first-child { padding-right:38px; }
 .wm-public-entry .fd-preview-foot { gap:8px; }
 .wm-public-entry .fd-file-button { min-height:52px; }
 .wm-public-entry .fd-file-button span { flex-wrap:wrap;gap:5px; }
 .wm-public-entry .fd-file-button small { white-space:normal; }
 .wm-public-entry .fd-review { grid-template-columns:minmax(0,1fr); }
 .wm-public-entry .fd-field:first-child { grid-column:auto; }
}
@media(prefers-reduced-motion:reduce){
 .wm-public-entry .fd-demo *,.wm-public-entry .fd-demo *:before,.wm-public-entry .fd-demo *:after { animation:none!important;transition:none!important; }
}
