/* Reuse the renderer's bundled Instrument Sans and Source Serif 4 faces. */
[data-fumani]{--fu-font-ui:'Fumani Paper Sans v1','Instrument Sans',system-ui,sans-serif;--fu-font-document:'Fumani Paper Serif v1','Source Serif 4',Georgia,serif}
*{box-sizing:border-box}html{color-scheme:light}body{margin:0;color:var(--fu-ink);background:#fff;font:15px/1.45 var(--fu-font-ui);font-optical-sizing:auto}[hidden]{display:none!important}
button,input,select,textarea{font:inherit;color:inherit}button,select,summary{cursor:pointer}button:disabled{opacity:.55;cursor:default}a{color:inherit}#root:focus{outline:0}.ui-icon{display:inline-block;flex:none;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.wordmark{display:inline-block;font-size:26px;line-height:1;letter-spacing:-.065em;font-weight:700;text-decoration:none;color:var(--fu-action)}
.fu-button,.icon-button,.menu-action,.ds-tab,.create-option{transition:background-color 120ms ease-out,color 120ms ease-out,border-color 120ms ease-out}
.fu-button{display:inline-flex;gap:8px;min-height:36px;white-space:nowrap;border-radius:var(--fu-radius);font-size:14px;line-height:20px;font-weight:550;text-decoration:none}
.fu-button:not(.fu-primary):not(:disabled):hover,.icon-button:not(:disabled):hover,.menu-action:hover{background:var(--fu-workspace)}.fu-primary:not(:disabled):hover{background:#54364d;border-color:#54364d}
.icon-button{display:inline-grid;place-items:center;border:0;background:transparent;border-radius:var(--fu-radius);height:34px;width:34px;color:var(--fu-muted)}
.opening{margin:48px auto;width:min(100% - 32px,65rem);color:var(--fu-muted)}
.ds-top{height:64px;padding-inline:clamp(18px,5vw,80px);border-bottom:1px solid #eae7e5;display:flex;align-items:center;justify-content:space-between;background:#fcfbfa}
.account{position:relative}.ds-studio{display:flex;align-items:center;gap:10px;list-style:none;font-size:14px}.ds-studio::-webkit-details-marker{display:none}.ds-studio>.ui-icon{width:12px}.ds-avatar{display:grid;place-items:center;width:30px;height:30px;background:#f0edef;color:var(--fu-action);border-radius:50%;font-size:11px;font-weight:650}
.account-menu{position:absolute;min-width:140px;z-index:5;right:0;top:calc(100% + 8px);padding:4px;background:white;border:1px solid var(--fu-line);border-radius:7px;box-shadow:0 6px 20px #33242f12}.menu-action{background:none;border:0;width:100%;text-align:start;padding:9px 12px;border-radius:4px;font-size:14px}
.ds-work{max-width:1240px;margin:auto;padding:clamp(32px,5vw,66px) clamp(18px,5vw,72px) 48px}.ds-head,.ds-bar,.ds-foot{display:flex;align-items:center;justify-content:space-between;gap:16px}.ds-head{margin-bottom:32px}.ds-head h1{font-size:clamp(29px,2.7vw,36px);font-weight:650;letter-spacing:-.055em;line-height:1.15;margin:0}
.ds-bar{margin-bottom:14px;flex-wrap:wrap}.ds-bar nav{display:flex;gap:4px;flex-wrap:wrap}.ds-tab{padding:10px 11px;background:none;border:0;border-bottom:2px solid transparent;color:var(--fu-muted);font-size:14px;line-height:20px}.ds-tab:hover{background:var(--fu-workspace)}.ds-tab[aria-pressed=true]{border-bottom-color:var(--fu-action);color:var(--fu-action);font-weight:650}
.ds-search{display:flex;gap:8px;align-items:center;width:244px;max-width:100%;min-height:38px;padding:0 10px;border:1px solid #c8c2c6;border-radius:6px;color:var(--fu-muted)}.ds-search:focus-within{outline:2px solid var(--fu-action);outline-offset:2px}.ds-search input{background:transparent;min-width:0;width:100%;padding:8px 0;border:0;font-size:14px;color:var(--fu-ink)}.ds-search input:focus-visible{outline:0}.ds-search input::placeholder{color:var(--fu-muted)}
.ds-list{width:100%;border-collapse:collapse}.ds-list th{border-block:1px solid #e5e2e4;padding:11px 0;font-size:13px;font-weight:500;color:var(--fu-muted)}.ds-list td{padding:12px 0;border-bottom:1px solid #e8e5e7}.ds-list :is(th,td):first-child{text-align:start}.ds-list :is(th,td):not(:first-child){text-align:end;font-variant-numeric:tabular-nums;white-space:nowrap}.ds-list :is(th,td):last-child{width:110px}.ds-list time{font-size:14px}.ds-entry,.ds-meta{display:flex;align-items:center}.ds-entry{gap:16px}.ds-info{min-width:0}.ds-title{font-weight:650;font-size:16px;text-decoration:none;letter-spacing:-.015em;overflow-wrap:anywhere}.ds-title:hover{text-decoration:underline;text-underline-offset:3px}.ds-meta{gap:5px 12px;flex-wrap:wrap;margin-top:2px;font-size:13px;color:var(--fu-muted)}.ds-client{overflow-wrap:anywhere}
.ds-status{display:inline-flex;align-items:baseline;gap:5px;white-space:nowrap}.ds-status::before{content:'';display:inline-block;align-self:center;width:6px;height:6px;border-radius:100%;background:#777177}.ds-status.sent::before{background:#4a718c}.ds-status.viewed::before{background:#986b28}.ds-status.completed::before{background:var(--fu-positive)}
.ds-thumbnail{flex:0 0 auto;display:flex;flex-direction:column;gap:1.35px;align-self:center;width:43px;aspect-ratio:210/297;padding:4px 4px 3px;overflow:hidden;border:1px solid #dcd8d6;background:white;color:#343034;box-shadow:0 1px 2px #47374008;pointer-events:none;font:2.8px/1.25 var(--fu-font-document)}.mini-imprint{padding-bottom:2px;margin-bottom:1px;border-bottom:.5px solid #d6d0d2;font:2.7px/1.2 var(--fu-font-ui)}.ds-thumbnail b{font-size:4.3px;line-height:1.02;letter-spacing:-.13px;overflow:hidden;max-height:14px}.mini-client{font-size:2.65px;max-height:7px;overflow:hidden}.mini-copy{overflow:hidden;max-height:18px}.mini-amount{margin-top:1px;border-top:.5px solid #ddd;text-align:end;font-family:var(--fu-font-ui)}
.ds-empty{padding:clamp(36px,6vw,72px) 16px;text-align:center;border-bottom:1px solid var(--fu-line)}.ds-empty>.ui-icon{color:#785e71;width:28px;height:28px;stroke-width:1.2}.ds-empty h2{font-size:21px;font-weight:600;letter-spacing:-.035em;margin:12px 0 4px}.ds-empty p{color:var(--fu-muted);max-width:44ch;margin:0 auto 16px}.ds-foot{padding-top:14px;color:var(--fu-muted);font-size:13px}
.app-dialog{width:min(calc(100% - 32px),420px);padding:22px;border:1px solid var(--fu-line);border-radius:10px;background:white;color:var(--fu-ink);box-shadow:0 16px 64px #281c2626}.app-dialog::backdrop{background:#291c2638}.dialog-head,.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-head{margin-bottom:14px}.dialog-head h2{margin:0;font-size:21px;font-weight:650;letter-spacing:-.035em}.dialog-actions{justify-content:end;margin-top:6px}.form-error{font-size:14px;color:var(--fu-error);margin:12px 0 0;overflow-wrap:anywhere}.form-error:empty{display:none}
.create-choices{display:grid}.create-option{display:flex;align-items:center;gap:13px;background:transparent;text-align:start;border:0;border-top:1px solid #e8e5e7;padding:15px 5px}.create-option>.ui-icon:first-child{width:22px;height:22px;color:var(--fu-action)}.create-option>.ui-icon:last-child{margin-left:auto;width:14px;color:var(--fu-muted)}.create-option strong,.create-option small{display:block}.create-option strong{font-weight:620}.create-option small{color:var(--fu-muted);font-size:13px;margin-top:2px}.create-option:hover{background:var(--fu-workspace)}.import-form,.auth-form{display:grid;gap:16px}.import-form textarea{resize:vertical;min-height:110px}.import-form input[type=file]{width:100%;font-size:13px}
.auth-shell,.error-screen{min-height:100svh;background:var(--fu-workspace)}.auth-work{margin:0 auto;max-width:480px;padding:clamp(42px,11vh,120px) 20px}.auth-card{padding:32px;background:white;border:1px solid var(--fu-line);box-shadow:3px 4px 0 -1px var(--fu-workspace),3px 4px 0 0 var(--fu-line)}.auth-card h1{font-size:27px;font-weight:620;letter-spacing:-.04em;line-height:1.2;margin:0 0 8px}.auth-card p{margin:0 0 20px;color:var(--fu-muted);overflow-wrap:anywhere}.auth-card .form-error{color:var(--fu-error);margin:0}.auth-card .dialog-actions{justify-content:start;flex-wrap:wrap}
.app-alert{position:fixed;z-index:9;bottom:18px;left:50%;translate:-50% 0;max-width:calc(100% - 32px);width:max-content;padding:10px 14px;background:white;border:1px solid var(--fu-line);border-radius:6px;box-shadow:0 4px 18px #33242f1a;font-size:14px}
@media(max-width:680px){.ds-work{padding-top:28px}.ds-head{margin-bottom:20px}.ds-bar{align-items:stretch;gap:10px}.ds-search{width:100%}.ds-tab{padding:8px 9px;min-height:44px}.ds-bar nav{gap:0}.ds-list :is(th,td):last-child{display:none}.ds-entry{gap:10px}.ds-title{font-size:15px}.ds-meta{font-size:12px;gap:3px 8px}.ds-thumbnail{width:34px}.ds-list td:nth-child(2){font-size:13px;padding-inline-start:6px}.ds-avatar{display:none}.ds-head .fu-button,.auth-form .fu-button,.create-option,.app-dialog .fu-button{min-height:44px}.ds-top{height:56px}.wordmark{font-size:24px}}
@media(max-width:360px){.ds-work{padding-inline:12px}.ds-tab{padding-inline:8px}.ds-entry{gap:6px}.ds-list td:nth-child(2){font-size:12px}.ds-thumbnail{width:28px}}
@media(prefers-reduced-motion:reduce){.fu-button,.icon-button,.menu-action,.create-option,.ds-tab{transition:none}}
@media print{.ds-page,.app-alert,.app-dialog,.auth-shell,.error-screen{display:none}}
