.auth-card{max-height:none}.auth-layout{min-height:680px}#local-auth-form{display:grid;gap:14px;margin:22px 0 15px}#local-auth-form label{display:block;font-size:10px;color:#81906e}#local-auth-form input{display:block;width:100%;border:1px solid #dbe3cd;background:#fbfcf5;border-radius:4px;padding:11px;margin-top:6px;color:#264b35;font-size:12px}#local-auth-error{font-size:10px;line-height:1.8;color:#b36b42;min-height:8px}button.auth-primary{width:100%;cursor:pointer}.auth-header{flex-wrap:wrap}.auth-header>.quiet-button:last-child{margin-left:0}.service-status-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.service-status-grid>div{background:#eef3e4;border:1px solid #dce5cf;padding:14px;border-radius:4px;font-size:11px}.service-status-grid strong{font-size:11px}.service-status-grid span{display:block;margin:6px 0 0 10px;font-size:10px;line-height:1.9;color:#80916e;overflow-wrap:anywhere}.provider-hint{font-size:10px!important}#local-provider-result{font-size:11px;color:#9b7a45;line-height:1.9}#local-login-note{font-size:11px;color:#a67b43}#local-request-history h3{font:600 16px var(--serif);margin-top:24px}.service-event{border-top:1px solid #e4e9da;padding:10px 0;font-size:10px;display:flex;gap:10px;flex-wrap:wrap}.service-event b{color:#557d45;font-weight:500}.service-event b.failed{color:#ad6848}.service-event small{margin-left:auto;color:#99a187}.service-event p{width:100%;font-size:10px;margin:0;color:#8d967d}.sync-error{color:#b56f46!important}.page-footer>.quiet-button{font-size:8px;padding:4px 8px}.top-actions{gap:12px}@media(max-width:760px){.auth-layout{min-height:0}.service-status-grid{grid-template-columns:1fr}.top-actions{gap:6px}.top-actions>.avatar{display:none}.top-actions>.quiet-button{padding:5px 7px;font-size:9px}.auth-header>.quiet-button{font-size:8px}#local-auth-form input{font-size:14px}.page-footer{gap:10px;flex-wrap:wrap}.auth-card{margin-bottom:20px}}

.paper-row-actions{display:flex;flex-direction:column;align-items:center;gap:10px;flex:none}.delete-paper-button{font-size:9px;color:#ad7354;padding:2px 4px;border-radius:3px}.delete-paper-button:hover,.danger-button:hover{background:#f8e2d6}.selection-toolbar .danger-button{color:#a75b3e}.analysis-progress{padding:13px 15px;margin-bottom:16px;background:#e9f0dc;border:1px solid #d6e2c4;border-radius:5px;color:#67824d;font-size:11px;line-height:1.9;overflow-wrap:anywhere}.analysis-progress.analysis-failed{background:#faf0dc;color:#9e7945;border-color:#eaddbf}#provider-form select{display:block;width:100%;max-width:none;margin-top:7px;padding:10px;background:#fff;color:#385a3c;font-size:11px;border:1px solid #dce3d1;border-radius:4px}

.feature-picker-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:14px;background:#eaf0df;border:1px solid #d7e1c8;border-radius:5px;font-size:11px;color:#7b8c67}.feature-picker-bar button{white-space:nowrap}.paper-choice-row{display:flex!important;gap:10px;align-items:flex-start;padding:13px;border:1px solid #e0e6d6;border-radius:5px;margin:9px 0!important;cursor:pointer;background:#fffdf6}.paper-choice-row input{width:16px;height:16px;flex:none;margin:4px 0 0;accent-color:#42654b}.paper-choice-row span{min-width:0}.paper-choice-row strong{display:block;font-size:12px;line-height:1.8;font-weight:500;overflow-wrap:anywhere}.paper-choice-row small{font-size:10px;color:#97a286}.paper-choice-row[hidden]{display:none!important}#paper-choice-list{max-height:48vh;overflow:auto;margin:16px 0}.agent-paper-choice{font-size:9px;color:#728b59;border:1px solid #d8e2ca;padding:4px 6px;border-radius:3px}.chat-bottom{gap:6px;flex-wrap:wrap}.memory-gallery{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px!important;align-items:start!important}.memory-thumbnail{background:#fffaf3;border:1px solid #e0dfd1;border-top:5px solid #3f6556;border-radius:13px;overflow:hidden;box-shadow:0 9px 25px #3b593c08}.memory-thumbnail-open{position:relative;display:flex;flex-direction:column;width:100%;padding:22px 18px 17px;text-align:left;min-height:270px}.thumb-kicker{font-size:7px;letter-spacing:2px;color:#9ba58b}.thumb-heading{font:700 18px/1.7 var(--serif);margin:15px 40px 4px 0;letter-spacing:1px;color:#294b3d}.thumb-seal{position:absolute;right:17px;top:37px;background:#426958;color:#fffaf3;font:11px/1.5 var(--serif);padding:6px;border-radius:5px;letter-spacing:1px}.memory-thumbnail time{font-size:9px;color:#9ca58f}.thumb-topic{font-size:10px;padding:10px;margin:14px 0 11px;border-radius:7px;background:#eef1e7;color:#6f8560;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thumb-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:100%;margin-bottom:12px}.thumb-stats>span{font-size:8px;background:#f5f4ed;padding:10px;border:1px solid #e4e4d9;border-radius:7px;color:#8d9a7d}.thumb-stats b{display:block;font:700 28px/1.4 Georgia,serif;color:#456b57}.thumb-excerpt{font-size:10px;color:#94a083;line-height:1.9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:39px}.thumb-open-label{font-size:9px;color:#9aab83;margin-top:15px}.thumb-controls{display:flex;justify-content:space-between;padding:10px 17px;border-top:1px solid #e7e8dc;font-size:10px;color:#8c9c76}#memory-preview-dialog{max-width:740px;background:#eef0e7;padding:20px}#memory-preview-dialog .reading-memory-card{max-width:640px}.website-tabs{display:flex;gap:5px;overflow:auto;align-items:center;padding:9px 30px 0;background:#fbfcf6;border-bottom:1px solid #e2e6d8}.website-tabs>button,.website-tab{font-size:10px;color:#8b987b;padding:8px 11px;border:1px solid transparent;border-bottom:0;white-space:nowrap;border-radius:6px 6px 0 0}.website-tabs>button.active,.website-tab.active{background:#e9efdf;border-color:#dae4ca;color:#45693f}.website-tab{display:inline-flex;gap:9px;align-items:center;padding:7px 9px}.website-tab>button{padding:0;font-size:10px}.website-tab-close{color:#99a58b;font-size:15px!important}.source-browser-toolbar{display:flex;align-items:center;gap:12px;padding:17px 24px;border-bottom:1px solid var(--line);font-size:10px}.source-browser-toolbar>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8e9b81}.source-browser-toolbar>a{color:#6e8756;white-space:nowrap}.source-browser-hint{font-size:10px;color:#a1a78e;padding:0 24px}#website-source-panel iframe{width:100%;height:calc(100vh - 210px);min-height:520px;border:0;background:#fff}@media(max-width:700px){.feature-picker-bar{padding:11px;font-size:10px;align-items:flex-start}.memory-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}.memory-thumbnail-open{padding:18px 12px}.thumb-heading{font-size:15px;margin-right:30px}.thumb-seal{right:10px;font-size:9px;top:34px}.thumb-stats{gap:6px}.thumb-stats>span{padding:7px;font-size:8px}.thumb-stats b{font-size:24px}.website-tabs{padding-left:15px;padding-right:15px}.source-browser-toolbar{padding:12px;gap:8px;flex-wrap:wrap}.source-browser-toolbar>span{order:3;flex-basis:100%}#memory-preview-dialog{padding:12px}}@media(max-width:360px){.memory-gallery{grid-template-columns:1fr}}

.profile> :first-child{overflow:hidden}.profile> :first-child img{width:100%;height:100%;object-fit:cover}#edit-profile{margin-top:10px;font-size:11px}#profile-preview{width:88px;height:88px;object-fit:cover;border-radius:50%;margin:12px 0}#profile-form input[type=file]{max-width:100%}

#edit-profile{color:#174d3d;background:#fffdf3;border:1px solid #c7d5bb;font-weight:600}#edit-profile:hover,#edit-profile:focus-visible{color:#103b2e;background:#e5eedc;border-color:#9eb990}

#website-tabs button,.topbar .breadcrumb,.source-browser-toolbar,.source-browser-toolbar>span,.source-browser-toolbar>button,.source-browser-toolbar>a{font-size:14px}.source-browser-hint{font-size:14px}
