/* Memo Wiki styles are isolated from Finance and Payments. */
.app-choice-icon.memos{background:#e8f3ee;color:#276850}.app-choice[disabled]{cursor:default;opacity:.65}.app-choice[disabled]:hover{transform:none}.memo-availability{color:var(--muted);font-size:13px;line-height:1.6}.app-choice-grid:has([data-open-app="memos"]:not(.hidden)){grid-template-columns:repeat(3,minmax(0,1fr))}
#memosShell{padding-top:30px}.memo-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:34px}.memo-sidebar{padding:5px 22px 0 0;border-right:1px solid var(--line)}.memo-sidebar-heading{display:flex;gap:10px;align-items:center;margin-bottom:34px}.memo-sidebar-heading strong{display:block;font-size:19px;letter-spacing:-.5px}.memo-sidebar-heading small{font-size:7px;letter-spacing:1.4px;display:block;margin-top:5px;color:var(--muted)}.memo-library-mark,.memo-empty-icon{display:grid;place-items:center;border:1px solid #dce5ed;background:#eef3fb;border-radius:10px;color:#4868a3}.memo-library-mark{width:38px;height:45px}.memo-library-mark svg,.memo-empty-icon svg{width:26px;height:30px}.memo-eyebrow{font-size:9px;line-height:1.5;letter-spacing:1.5px;color:#6d7b93;font-weight:700;margin:0 0 10px}.memo-sidebar nav{display:grid;gap:4px;margin-top:14px}.memo-category{display:flex;align-items:center;gap:9px;width:100%;padding:11px 10px;text-align:left;border:0;background:transparent;color:#68758b;font-size:12px;border-radius:7px}.memo-category>span{flex:1}.memo-category small{font-size:10px;color:#8391a5}.memo-category:hover{background:#edf2f9}.memo-category.is-selected{background:#e8effe;color:#1746a6;font-weight:700}.memo-category-dot{width:6px;height:6px;border-radius:50%;background:var(--memo-dot)}.memo-sidebar-note{margin:34px 0 18px;background:#eaf0f8;border:1px solid #dce5ef;border-radius:9px;padding:17px 14px}.memo-sidebar-note strong{font-size:12px;font-weight:600;line-height:1.6}.memo-sidebar-note p{font-size:11px;line-height:1.75;color:#718097;margin:8px 0 0}.memo-role-note{font-size:10px;color:#738099;line-height:1.6}.memo-page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:4px 0 26px}.memo-page-heading h2{font-size:34px;font-weight:600;letter-spacing:-1.4px;margin:5px 0 10px;color:#122851}.memo-page-heading h2>span{color:#5c8b74}.memo-page-heading p:not(.memo-eyebrow){font-size:12px;color:#7b8799;line-height:1.7;margin:0}.memo-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:10px 14px;border-radius:7px;font-size:12px;font-weight:600;white-space:nowrap;line-height:1.3;transition:background .15s}.memo-button:disabled{opacity:.55;cursor:wait}.memo-primary{background:#123eaa;border:1px solid #123eaa;color:#fff}.memo-primary:hover:not(:disabled){background:#092f8d}.memo-secondary{background:#fff;border:1px solid #d3dce9;color:#4a6081}.memo-secondary:hover:not(:disabled){background:#eef3fa}.memo-button:focus-visible,.memo-category:focus-visible,.memo-card:focus-visible,.memo-tabs button:focus-visible,.memo-history-item:focus-visible{outline:3px solid #8fb0ff;outline-offset:3px}.memo-overview{display:flex;align-items:center;gap:30px;background:#e9eff7;border:1px solid #dce5f0;border-radius:12px;padding:28px;overflow:hidden;min-height:180px}.memo-overview>div:first-child{flex:1}.memo-overview .memo-eyebrow{font-size:8px;color:#7689a5}.memo-overview h3{font-size:22px;line-height:1.5;font-weight:500;letter-spacing:-.6px;color:#294365;margin:5px 0}.memo-overview p:not(.memo-eyebrow){font-size:10px;line-height:1.8;color:#74849a;margin:8px 0 0}.memo-stat{border-left:1px solid #cfdae8;padding-left:25px;display:grid;gap:12px;min-width:85px}.memo-stat strong{font-weight:400;font-size:34px;color:#375d90}.memo-stat span{font-size:10px;color:#7b8ca2;white-space:nowrap}.memo-overview-art{width:88px;height:112px;display:grid;place-items:center;border:1px solid #cbd8e9;background:#f7faff;border-radius:7px;transform:rotate(8deg);box-shadow:-8px 7px 0 #dbe4f2}.memo-overview-art svg{width:48px;height:57px;color:#95a9c8}.memo-overview-art span{font-size:9px;background:#e3eee8;color:#547b63;padding:6px 12px;border-radius:5px;transform:rotate(-8deg);white-space:nowrap}.memo-library-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:30px 0 18px}.memo-library-heading>div{display:flex;gap:10px;align-items:center}.memo-library-heading h3{font-size:18px;font-weight:600;margin:0}.memo-library-heading>div>span{font-size:10px;color:#7b8a9f;white-space:nowrap}.memo-tabs{display:flex;flex-wrap:wrap;gap:3px;border:1px solid #dee5ee;padding:3px;border-radius:7px;background:#eaf0f7}.memo-tabs button{border:0;background:none;padding:8px 10px;border-radius:5px;color:#74839a;font-size:10px;white-space:nowrap;display:flex;gap:6px}.memo-tabs button.is-selected{background:#fff;color:#254a8c;box-shadow:0 1px 3px #172a1110}.memo-tabs button>span{background:#edf1f8;padding:1px 4px;border-radius:3px;font-size:9px}.memo-filterbar{display:flex;gap:10px;margin-bottom:20px}.memo-search{display:flex;align-items:center;gap:10px;flex:1;background:#fff;border:1px solid #dae2ed;border-radius:7px;padding:0 13px;min-width:0}.memo-search>span{font-size:25px;color:#8292ab}.memo-search input{width:100%;border:0;background:transparent;font-size:12px;color:#304667;min-height:42px;outline:none;min-width:0}.memo-search:focus-within{outline:2px solid #a0b9ed;outline-offset:1px}.memo-search input::placeholder{color:#99a4b6}.memo-filterbar>select{width:180px;border-color:#dae2ed;font-size:11px;color:#5d6e87}.memo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.memo-card{display:flex;flex-direction:column;padding:20px 19px 0;background:white;border:1px solid #dfe6f0;border-radius:10px;min-height:285px;text-align:left;transition:transform .15s,box-shadow .15s}.memo-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #273e5810;border-color:#b9cbe3}.memo-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:21px}.memo-file-icon{display:grid;place-items:center;flex-shrink:0;width:38px;height:43px;background:#f0f4fa;border:1px solid #e2e8f1;border-radius:7px;color:#8399bc}.memo-file-icon svg{height:26px;width:22px}.memo-badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:5px 7px;font-size:9px;white-space:nowrap;background:#e9f3ed;color:#527b61}.memo-badge i{width:4px;height:4px;background:currentColor;border-radius:50%}.memo-badge-expired{background:#f0eee9;color:#8d8171}.memo-badge-pending,.memo-badge-rejected{background:#faf1df;color:#927340}.memo-card-category{font-size:8px;letter-spacing:1.2px;text-transform:uppercase;color:#7d91af;margin:0}.memo-card h3{font-size:16px;letter-spacing:-.25px;font-weight:600;line-height:1.5;color:#304464;margin:10px 0}.memo-card-summary{font-size:11px;line-height:1.8;color:#8390a3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:0}.memo-card-meta{display:flex;gap:10px;font-size:9px;color:#94a0b3;margin:20px 0 16px}.memo-card-meta span+span:before{content:'·';margin-right:10px}.memo-card-footer{display:flex;justify-content:space-between;gap:6px;border-top:1px solid #e9eef5;padding:15px 0;margin-top:auto;font-size:9px;color:#8b99ad}.memo-card-footer span:last-child{color:#6681a8;white-space:nowrap}.memo-empty,.memo-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:355px;background:white;border:1px solid #dfe6f0;border-radius:10px;padding:38px 22px}.memo-empty-icon{width:64px;height:74px;margin-bottom:25px;transform:rotate(-5deg);box-shadow:5px 5px 0 #e8eef8}.memo-empty h3,.memo-state h2{font-size:23px;font-weight:500;color:#3c5275;letter-spacing:-.5px;margin:4px 0 12px}.memo-empty>p:not(.memo-eyebrow),.memo-state>p:not(.memo-eyebrow){font-size:12px;line-height:1.8;max-width:420px;color:#8a97ab;margin:0 0 22px}.memo-library-footer{display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#99a5b6;margin-top:25px;line-height:1.7}.memo-loading-line{font-size:11px;color:#6d82a5}.memo-spinner{width:24px;height:24px;border:2px solid #dce5f4;border-top-color:#446db5;border-radius:50%;animation:memo-spin .75s linear infinite}@keyframes memo-spin{to{transform:rotate(360deg)}}
.memo-dialog{padding:0;border:1px solid #dde5f0;border-radius:14px;width:650px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 36px);color:#243b5f;background:#fcfdff;box-shadow:0 22px 90px #0d23433f;overflow:auto}.memo-dialog-wide{width:980px}.memo-dialog::backdrop{background:#152b4580;backdrop-filter:blur(3px)}.memo-dialog-header{display:flex;gap:20px;justify-content:space-between;padding:25px 28px 21px;border-bottom:1px solid #e1e7f0;background:#fff;position:sticky;top:0;z-index:2}.memo-dialog-header h2{font-size:23px;letter-spacing:-.7px;font-weight:600;margin:5px 0}.memo-dialog-header p:not(.memo-eyebrow){font-size:12px;color:#8b98ab;margin:8px 0 0;line-height:1.6}.memo-dialog-header .memo-eyebrow{font-size:8px;margin:0}.memo-icon-button{flex-shrink:0;width:32px;height:32px;border:0;background:transparent;border-radius:6px;font-size:25px;color:#8191a9}.memo-icon-button:hover{background:#edf2f8}.memo-dialog-body{padding:25px 28px}.memo-dialog-body>label,.memo-form-columns>label,.memo-member-fields>label,.memo-review-form>label{display:block;font-size:11px;font-weight:600;color:#5d718e;margin-bottom:18px}.memo-dialog input:not([type=checkbox]),.memo-dialog textarea,.memo-dialog select{display:block;width:100%;padding:11px 12px;border:1px solid #d5dfed;border-radius:6px;background:white;color:#30486a;font-size:12px;margin-top:8px;font-weight:400;min-width:0}.memo-dialog input:read-only,.memo-dialog textarea:read-only,.memo-dialog select:disabled{background:#f1f4f8;color:#8391a6}.memo-dialog input:focus,.memo-dialog textarea:focus,.memo-dialog select:focus{outline:2px solid #b2c5eb;outline-offset:1px}.memo-dialog textarea{resize:vertical;line-height:1.8}.memo-dialog input::placeholder,.memo-dialog textarea::placeholder{color:#a0acbd}.memo-dialog small{font-weight:400}.memo-form-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.memo-dialog .memo-upload{border:1px dashed #c1cfe3;border-radius:8px;background:#eff4fb;padding:18px;color:#657fa3}.memo-upload>span{display:block;color:#8b9cb5;font-size:10px;font-weight:400;margin-top:10px;line-height:1.7}.memo-upload input{border:0!important;padding:4px 0!important;background:none!important}.memo-field-help{font-size:11px;line-height:1.8;color:#8a98ad;margin:0 0 20px}.memo-warning{font-size:11px;line-height:1.8;color:#8b774c;background:#fbf7e9;border:1px solid #e9dfbc;border-radius:7px;padding:13px 15px}.memo-error{font-size:12px;line-height:1.8;color:#a35449;background:#fff1ef;border:1px solid #f0d3ce;border-radius:7px;padding:11px 14px}.memo-form-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e1e7f0;margin-top:23px;padding-top:20px}.memo-reader-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px}.memo-reader{padding:29px}.memo-reader-tags{display:flex;gap:8px;align-items:center;margin-bottom:17px}.memo-category-pill{background:#ecf1f8;color:#7a8ea9;border-radius:4px;padding:5px 8px;font-size:9px}.memo-reader>h3{font-size:28px;line-height:1.4;letter-spacing:-.7px;font-weight:600;margin:0}.memo-reader-summary{font-size:13px;line-height:1.9;color:#8595aa}.memo-reader-meta{display:flex;flex-wrap:wrap;gap:24px;border-bottom:1px solid #e1e7f0;padding:20px 0 23px;margin:0 0 23px}.memo-reader-meta dt{font-size:9px;text-transform:uppercase;letter-spacing:.7px;color:#9aa7ba}.memo-reader-meta dd{font-size:11px;color:#7587a0;margin:7px 0 0}.memo-body-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.95;color:#5b718f}.memo-attachment{display:flex;gap:10px;align-items:center;padding:14px;background:#eef3fa;border:1px solid #dce6f2;border-radius:8px;margin-top:24px;flex-wrap:wrap}.memo-attachment>div{flex:1;min-width:140px}.memo-attachment strong{display:block;font-size:11px;overflow-wrap:anywhere}.memo-attachment small{display:block;color:#8b9cb5;font-size:9px;margin-top:6px}.memo-attachment .memo-button{font-size:10px;min-height:32px;padding:8px 10px}.memo-reader-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.memo-history{padding:28px 18px;background:#f0f4fa;border-left:1px solid #dce5f0}.memo-history h4{font-size:13px;font-weight:600;margin:0}.memo-history>p{font-size:10px;line-height:1.7;color:#97a5b9;margin-bottom:22px}.memo-history-item{display:block;width:100%;text-align:left;background:#fff;border:1px solid #dce5f0;border-radius:7px;padding:13px;margin-bottom:11px;color:#586f90}.memo-history-item.is-selected{border-color:#91acd8;background:#f9fbff;box-shadow:0 0 0 1px #91acd822}.memo-history-item>div{display:flex;gap:5px;align-items:center;justify-content:space-between}.memo-history-item strong{font-size:11px}.memo-history-item .memo-badge{font-size:8px;padding:4px 6px}.memo-history-item p{font-size:10px;line-height:1.7;color:#8294af;margin:12px 0 8px}.memo-history-item>small{display:block;font-size:9px;line-height:1.7;color:#9aa9be}.memo-review-form{margin-top:25px;border-top:1px solid #e1e7f0;padding-top:20px}.memo-review-form h4{font-size:14px;margin:0 0 10px}.memo-review-form>p:not(.memo-error){font-size:11px;color:#8a99af;line-height:1.7}.memo-review-form textarea{margin-top:0}.memo-review-form>label{margin:18px 0 8px}.memo-file-preview{margin:20px 0}.memo-file-frame{display:block;width:100%;height:60vh;border:1px solid #dce5f0;border-radius:7px;background:white}.memo-file-image{display:block;max-width:100%;max-height:65vh;margin:auto;object-fit:contain}.memo-file-text{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:13px;line-height:1.9;background:#f0f4fa;border:1px solid #e1e7f0;border-radius:7px;padding:20px;max-height:60vh;overflow:auto}.memo-role-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.memo-role-guide>div{background:#f0f4fa;border:1px solid #e0e7f1;border-radius:7px;padding:16px}.memo-role-guide strong{font-size:12px}.memo-role-guide p{font-size:10px;line-height:1.7;color:#8799b2;margin-bottom:0}.memo-member-add{background:#edf3fa;padding:18px;border-radius:8px}.memo-member-add h3,.memo-members-heading{font-size:13px;font-weight:600;margin:0 0 15px}.memo-member-fields{display:grid;grid-template-columns:2fr 1.1fr 1.2fr auto;gap:10px;align-items:end}.memo-member-fields>label{margin:0;font-size:10px}.memo-member-fields input,.memo-member-fields select{font-size:11px;padding:10px}.memo-members-heading{margin-top:27px}.memo-members-heading small{color:#8d9fb8;margin-left:8px}.memo-member-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:15px 0;border-top:1px solid #e0e7f1}.memo-member-identity{display:flex;gap:10px;align-items:center;flex:1;min-width:220px}.memo-member-identity>span{display:grid;place-items:center;width:32px;height:32px;background:#e8eef7;color:#7790b2;font-size:12px;border-radius:50%;flex-shrink:0}.memo-member-identity>div{min-width:0}.memo-member-identity strong,.memo-member-identity small{display:block;overflow-wrap:anywhere}.memo-member-identity strong{font-size:11px;font-weight:600}.memo-member-identity small{font-size:10px;color:#91a1b8;margin-top:5px}.memo-member-controls{display:flex;gap:8px;align-items:center}.memo-member-controls select{margin:0;max-width:145px;font-size:10px;padding:8px}.memo-check{font-size:10px;color:#879ab5;display:flex;gap:6px;align-items:center;white-space:nowrap}.memo-check input{accent-color:#2854ac}.memo-owner-badge{font-size:9px;border-radius:5px;padding:6px 8px;background:#e7effb;color:#6d89b3}.memo-member-inactive .memo-member-identity{opacity:.55}.memo-member-row>.memo-error{width:100%;margin:0}.memo-toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:1000;background:#123a71;color:#fff;box-shadow:0 8px 35px #183f6230;border-radius:8px;font-size:12px;padding:15px 20px;max-width:calc(100vw - 30px);line-height:1.7}.memo-toast[hidden],.memo-dialog [hidden]{display:none!important}
@media(max-width:1200px){.memo-workspace{grid-template-columns:190px minmax(0,1fr);gap:25px}.memo-sidebar{padding-right:16px}.memo-overview-art{display:none}.memo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.memo-library-heading{align-items:flex-start;flex-direction:column;gap:13px}.memo-overview{gap:22px;padding:24px}.memo-stat{padding-left:20px}.app-choice-grid:has([data-open-app="memos"]:not(.hidden)){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.memo-workspace{grid-template-columns:1fr;gap:20px}.memo-sidebar{border-right:0;padding:0}.memo-sidebar-heading,.memo-sidebar>.memo-eyebrow,.memo-sidebar-note,.memo-role-note{display:none}.memo-sidebar nav{display:flex;overflow-x:auto;margin:0;padding:2px 2px 8px;gap:6px}.memo-category{width:auto;flex-shrink:0;background:white;border:1px solid #e1e7f0;padding:9px 12px;white-space:nowrap;font-size:11px}.memo-sidebar>.memo-button{margin:5px 0 0;font-size:10px;min-height:32px}.memo-page-heading{margin-bottom:22px}.memo-page-heading h2{font-size:30px}.memo-reader-layout{grid-template-columns:minmax(0,1fr) 220px}.memo-reader{padding:23px}.memo-history{padding:23px 14px}.memo-member-fields{grid-template-columns:1fr 1fr}.memo-member-controls{width:100%;flex-wrap:wrap}.memo-member-controls select{flex:1;max-width:none}.app-choice-grid:has([data-open-app="memos"]:not(.hidden)){grid-template-columns:1fr}}
@media(max-width:600px){#memosShell{padding-top:20px}.memo-page-heading{align-items:flex-start;gap:12px}.memo-page-heading h2{font-size:29px}.memo-page-heading .memo-eyebrow{font-size:7px;letter-spacing:1.2px}.memo-page-heading p:not(.memo-eyebrow){font-size:10px}.memo-page-heading>.memo-button{font-size:10px;padding:10px;margin-top:22px;min-height:34px}.memo-overview{padding:23px 20px;gap:18px;min-height:165px}.memo-overview h3{font-size:20px}.memo-overview .memo-eyebrow{font-size:7px;letter-spacing:1px}.memo-overview p:not(.memo-eyebrow){font-size:9px;max-width:180px}.memo-stat{padding-left:17px;min-width:60px;gap:10px}.memo-stat strong{font-size:29px}.memo-stat span{font-size:8px}.memo-stat:nth-of-type(3){display:none}.memo-library-heading{margin-top:26px}.memo-library-heading h3{font-size:17px}.memo-tabs{width:100%;gap:1px}.memo-tabs button{padding:8px;font-size:9px;flex:1;justify-content:center}.memo-filterbar{flex-wrap:wrap;gap:8px}.memo-search{flex-basis:100%}.memo-search input{font-size:11px}.memo-filterbar>select{width:auto;flex:1;font-size:10px}.memo-filterbar>.memo-button{min-height:35px}.memo-grid{grid-template-columns:1fr}.memo-card{min-height:260px}.memo-card h3{font-size:17px}.memo-empty{min-height:350px}.memo-library-footer{font-size:8px}.memo-library-footer>span:last-child{text-align:right;max-width:100px}.memo-dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:11px}.memo-dialog-header{padding:20px}.memo-dialog-header h2{font-size:21px}.memo-dialog-header p:not(.memo-eyebrow){font-size:11px}.memo-dialog-body{padding:20px}.memo-form-columns{grid-template-columns:1fr;gap:0}.memo-reader-layout{grid-template-columns:1fr}.memo-reader{padding:23px 20px}.memo-reader>h3{font-size:25px}.memo-reader-summary,.memo-body-text{font-size:12px}.memo-reader-meta{gap:19px}.memo-history{border-left:0;border-top:1px solid #dce5f0;padding:23px 20px}.memo-history-item>div{justify-content:flex-start;gap:12px}.memo-role-guide{grid-template-columns:1fr;gap:8px}.memo-role-guide>div{padding:12px 15px}.memo-role-guide p{margin-top:6px}.memo-member-fields{grid-template-columns:1fr}.memo-member-controls select{max-width:calc(50% - 4px)}.memo-form-actions{gap:8px}.memo-form-actions .memo-button{font-size:11px;padding:10px}.memo-state{min-height:360px}.memo-toast{font-size:11px;padding:13px 16px;bottom:16px;width:max-content}}
@media(prefers-reduced-motion:reduce){.memo-card,.memo-button,.memo-spinner{transition:none;animation:none}}
.memo-approver-picker{border:1px solid #d9e3f1;border-radius:8px;margin:22px 0;padding:17px}.memo-approver-picker legend{font-size:12px;font-weight:600;padding:0 7px;color:#506d97}.memo-approver-picker legend small{font-size:10px;color:#8c9fb9}.memo-approver-picker>p{font-size:11px;line-height:1.7;color:#8496b0;margin:0 0 13px}.memo-approver-picker>label{display:flex;align-items:center;gap:11px;padding:10px 0;border-top:1px solid #e8edf5;cursor:pointer}.memo-approver-picker input{accent-color:#315eae}.memo-approver-picker label strong,.memo-approver-picker label small{display:block}.memo-approver-picker label strong{font-size:12px;color:#566e90;font-weight:600}.memo-approver-picker label small{font-size:10px;color:#91a0b6;margin-top:4px;overflow-wrap:anywhere}.memo-route-summary{font-size:11px;color:#4e719e;background:#edf3fc;border-radius:6px;padding:12px;margin-top:10px;line-height:1.8}.memo-approval-progress{border:1px solid #dce5f0;border-radius:8px;padding:17px;margin-top:24px}.memo-approval-progress h4{font-size:13px;margin:0;display:flex;gap:12px;align-items:center;justify-content:space-between}.memo-approval-progress h4 span{font-size:9px;color:#8498b4;font-weight:500;white-space:nowrap}.memo-approval-progress>p{font-size:10px;color:#8a9db8;line-height:1.7;margin:9px 0 14px}.memo-approval-progress ol{list-style:none;padding:0;margin:0}.memo-approval-progress li{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;padding:12px 0;border-top:1px solid #e8edf5}.memo-approval-progress li strong{font-size:11px;font-weight:600}.memo-approval-progress li small{display:block;font-size:9px;color:#94a4bc;line-height:1.7;margin-top:4px;overflow-wrap:anywhere}.memo-approval-progress li p{font-size:10px;line-height:1.8;color:#7d91ac;margin:7px 0 0}.memo-decision{font-size:10px;white-space:nowrap;color:#a38b5d}.memo-decision-approved{color:#5c896e}.memo-decision-rejected{color:#b0786c}.memo-decision-cancelled{color:#929baa}.memo-member-fields{grid-template-columns:1.8fr 1fr 1.2fr 1.3fr auto}.memo-member-fields>.memo-check{font-size:10px;display:flex;align-items:center;gap:6px;line-height:1.6;margin-bottom:10px;white-space:normal}.memo-withdraw-form{margin-top:23px;border-top:1px solid #e1e7f0;padding-top:20px}.memo-withdraw-form summary{font-size:12px;color:#8f7b65;cursor:pointer;font-weight:600}.memo-withdraw-form p{font-size:11px;line-height:1.7;color:#8a99af}.memo-withdraw-form label{display:block;font-size:11px;color:#5d718e;margin-top:14px}.memo-withdraw-form .memo-button{margin-top:13px}
@media(max-width:900px){.memo-member-fields{grid-template-columns:1fr 1fr}.memo-member-controls{flex-wrap:wrap}.memo-member-controls select{max-width:145px}.memo-member-fields>.memo-check{margin-bottom:0}}
@media(max-width:600px){.memo-member-fields{grid-template-columns:1fr}.memo-approver-picker{padding:14px}.memo-approver-picker legend{font-size:11px}.memo-approver-picker legend small{font-size:9px}.memo-member-controls select{max-width:calc(50% - 4px)}.memo-approval-progress h4{align-items:flex-start}}
@media(min-width:1201px){.app-choice-grid:has([data-open-app="memos"]:not(.hidden)) .app-choice{grid-template-columns:1fr auto;gap:17px;min-height:245px;align-content:center}.app-choice-grid:has([data-open-app="memos"]:not(.hidden)) .app-choice>span:nth-child(2){grid-column:1/-1;grid-row:2}.app-choice-grid:has([data-open-app="memos"]:not(.hidden)) .app-choice>b{grid-column:2;grid-row:1}.app-choice-grid:has([data-open-app="memos"]:not(.hidden)) .app-choice strong{line-height:1.45}.app-choice-grid:has([data-open-app="memos"]:not(.hidden)) .app-choice small{line-height:1.65}}
.memo-approver-options{max-height:260px;overflow:auto;margin-top:12px;padding-right:5px}.memo-approver-options>label{display:flex;align-items:center;gap:11px;padding:10px 0;border-top:1px solid #e8edf5;cursor:pointer}.memo-approver-options>label[hidden]{display:none}.memo-dialog .memo-approver-options input{flex-shrink:0}
/* Original Deli Group asset, unchanged and displayed in its original proportions. */
.app-choice-icon.memos,.memo-library-mark,.brand-mark.memo-brand-mark{background:#244f36;border-color:#244f36;color:#fffcf5;flex-shrink:0;padding:7px}.memo-library-mark{width:46px;height:46px}.memo-brand-image{display:block;object-fit:contain;width:100%;height:100%}.brand-mark.memo-brand-mark{padding:6px}.memo-preview-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0}.memo-preview-toolbar .memo-button{min-height:44px;min-width:44px}.memo-preview-page{font-size:12px;min-width:85px;text-align:center}.memo-preview-zoom{display:flex;align-items:center;gap:8px;margin-left:auto;font-size:12px}.memo-preview-zoom select{width:auto;min-height:44px;margin:0}.memo-preview-status{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.memo-file-preview{min-width:0}.memo-pdf-stage{overflow:auto;max-width:100%;max-height:65dvh;background:#dce3ec;border:1px solid #c6d1df;border-radius:6px;overscroll-behavior:contain}.memo-pdf-stage:focus-visible{outline:3px solid #8fb0ff;outline-offset:2px}.memo-pdf-canvas{display:block;background:#fff;margin:auto;max-width:none}.memo-pdf-text{margin-top:15px}.memo-pdf-text summary{cursor:pointer;padding:10px 0;font-size:13px}.memo-file-text{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.memo-attachment{flex-wrap:wrap}.memo-attachment>div{min-width:0;overflow-wrap:anywhere}.memo-file-image{max-width:100%;height:auto;-webkit-user-drag:none}
@media(max-width:600px){.memo-preview-zoom{margin-left:0;flex-basis:100%}.memo-pdf-stage{max-height:55dvh}.memo-library-mark{width:44px;height:44px}}
/* A casual Print action does not produce a memo export. Screenshots/byte capture remain possible. */
@media print{body:has(#memosShell:not(.hidden)) #memosShell,body:has(#memosShell:not(.hidden)) #memoDialog{display:none!important}}

/* Keep the category rail inside the viewport instead of letting its intrinsic
   width expand the mobile grid and make the entire page scale down on phones. */
.memo-workspace > *, .memo-main, .memo-reader-layout > *,
.memo-dialog-header > div, .memo-page-heading > div { min-width: 0; }
.memo-card h3, .memo-card-summary, .memo-card-category,
.memo-reader > h3, .memo-reader-summary, .memo-dialog-header h2,
.memo-library-heading h3 { overflow-wrap: anywhere; }
.memo-card-meta { flex-wrap: wrap; }
.memo-card-meta > span, .memo-approval-progress li > div { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 800px) {
  .memo-workspace { grid-template-columns: minmax(0, 1fr); }
  .memo-sidebar nav {
    max-width: 100%;
    min-width: 0;
    overscroll-behavior-x: contain;
  }
  .memo-category { min-height: 44px; font-size: 13px; }
  .memo-sidebar > .memo-button { min-height: 44px; font-size: 12px; }
}

@media (max-width: 600px) {
  .memo-page-heading { flex-direction: column; align-items: stretch; }
  .memo-page-heading p:not(.memo-eyebrow) { font-size: 14px; }
  .memo-page-heading > .memo-button { margin-top: 0; font-size: 14px; min-height: 44px; }
  .memo-button, .memo-form-actions .memo-button,
  .memo-attachment .memo-button { min-height: 44px; }
  .memo-icon-button { width: 44px; height: 44px; }
  .memo-overview { flex-wrap: wrap; min-height: 0; padding: 20px; }
  .memo-overview > div:first-child { flex-basis: 100%; }
  .memo-overview p:not(.memo-eyebrow) { font-size: 13px; max-width: none; }
  .memo-stat { padding-left: 14px; }
  .memo-stat span { font-size: 12px; white-space: normal; }
  .memo-library-heading > div { flex-wrap: wrap; }
  .memo-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .memo-tabs button { min-height: 44px; min-width: 0; font-size: 12px; white-space: normal; align-items: center; }
  .memo-tabs button > span { font-size: 11px; }
  .memo-filterbar > select { min-width: 0; min-height: 44px; }
  .memo-filterbar > .memo-button { min-width: 44px; min-height: 44px; }
  .memo-search input, .memo-filterbar > select,
  .memo-dialog input:not([type=checkbox]), .memo-dialog textarea,
  .memo-dialog select { font-size: 16px; }
  .memo-search input { min-height: 44px; }
  .memo-card { min-width: 0; min-height: 0; padding: 18px 16px 0; }
  .memo-card-top { flex-wrap: wrap; margin-bottom: 16px; }
  .memo-card h3 { font-size: 18px; }
  .memo-card-summary { font-size: 14px; }
  .memo-card-category, .memo-card-meta, .memo-card-footer,
  .memo-library-heading > div > span, .memo-badge { font-size: 11px; }
  .memo-card-footer { flex-wrap: wrap; }
  .memo-library-footer { font-size: 11px; flex-wrap: wrap; }
  .memo-library-footer > span:last-child { max-width: none; text-align: left; }
  .memo-reader-layout { grid-template-columns: minmax(0, 1fr); }
  .memo-reader > h3 { font-size: 23px; }
  .memo-reader-summary, .memo-body-text, .memo-file-text { font-size: 16px; line-height: 1.75; }
  .memo-reader-meta dd { font-size: 13px; overflow-wrap: anywhere; }
  .memo-reader-tags, .memo-form-actions { flex-wrap: wrap; }
  .memo-dialog-body > label, .memo-form-columns > label,
  .memo-review-form > label { font-size: 13px; }
  .memo-preview-toolbar .memo-button { font-size: 12px; }
  .memo-preview-zoom { flex-wrap: wrap; }
  .memo-member-identity { min-width: 0; flex-basis: 100%; }
  .memo-approval-progress h4, .memo-approval-progress li { flex-wrap: wrap; }
}
