:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#233942;background:#f3f6f6;font-size:15px}*{box-sizing:border-box}body{margin:0}.topbar{height:70px;background:#173a47;color:white;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100% - 1060px)/2))}.brand{display:flex;align-items:center;gap:12px}.brandmark{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#2d6974;font-size:26px}.brand strong,.brand small{display:block}.brand strong{font-size:17px}.brand small{font-size:11px;color:#c0d6d8;margin-top:3px}.privacy{font-size:12px;color:#b5e3d4}.app{max-width:1060px;margin:auto;padding:35px 22px 45px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:800;color:#36817d}.intro h1{font-size:32px;letter-spacing:-1px;margin:9px 0}.intro p{color:#607680;margin:0;line-height:1.5}.intro-icon{font-size:70px;color:#d5e5e5}.panel{background:white;border:1px solid #e0e8e8;border-radius:16px;padding:25px;margin-bottom:20px;box-shadow:0 2px 7px #163a4710}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.section-head h2{font-size:19px;margin:0}.section-muted,.sub{font-size:12px;color:#829298}.sub{margin:6px 0 0}.count{font-size:13px;background:#e2f0ef;padding:3px 9px;border-radius:100px;color:#317b74;margin-left:5px}.fields{display:grid;gap:15px}.fields.two{grid-template-columns:1fr 1fr}label{display:block;font-size:13px;font-weight:650}input:not([type=color]),select,textarea{display:block;width:100%;padding:12px 13px;border:1px solid #d3dfdf;background:#fff;border-radius:9px;margin-top:7px;font:inherit;color:#273e45;outline-color:#2a8081}textarea{resize:vertical;line-height:1.5}.btn{appearance:none;border:1px solid transparent;border-radius:9px;padding:11px 16px;font-size:13px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.btn.primary{background:#216979;color:#fff}.btn.primary:hover{background:#164f5e}.btn.outline{background:white;color:#285866;border-color:#c5d5d7}.btn.outline:hover{background:#f1f7f7}.btn.big{padding:15px 23px}.btn.small{padding:9px 11px;font-size:12px}.filebutton{cursor:pointer}.filebutton input{display:none}.actions{display:flex;flex-wrap:wrap;gap:10px}.footnote{font-size:12px;line-height:1.6;color:#829197;margin-top:22px}.items{display:grid;gap:10px}.empty{padding:50px 10px;text-align:center;border:1px dashed #cad8d9;border-radius:12px;color:#788f95;display:grid;justify-items:center;gap:10px}.empty span{font-size:36px}.empty strong{color:#3a5961}.empty p{margin:0;font-size:13px}.item{border:1px solid #e0e9e9;border-radius:11px;padding:12px;display:flex;align-items:center;gap:15px}.thumb{width:92px;height:75px;object-fit:cover;border-radius:6px;background:#ebf0f0}.itemInfo{flex:1;min-width:0}.itemInfo strong{display:block;font-size:15px}.itemInfo p{margin:5px 0;color:#61767d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.itemInfo small{color:#779196}.itemButtons{display:flex;gap:5px}.mini{background:#f5f8f8;border:0;border-radius:7px;padding:9px;cursor:pointer;color:#275f6a}.mini.danger{color:#a84e4b}.status{color:#8b5c27;background:#fff2dd;padding:3px 8px;border-radius:50px;font-size:11px;margin-left:6px}dialog{border:none;border-radius:18px;width:min(850px,calc(100% - 14px));max-height:94dvh;padding:0;box-shadow:0 24px 100px #0005;color:#243f49}dialog::backdrop{background:#0c2733a8}dialog form{margin:0}.modalhead,.modalfoot{display:flex;justify-content:space-between;align-items:center;padding:19px 24px;border-bottom:1px solid #e7eded}.modalhead h2{margin:5px 0 0;font-size:21px}.modalfoot{border-top:1px solid #e7eded;border-bottom:0;justify-content:flex-end;gap:9px;position:sticky;bottom:0;background:white;z-index:2}.iconbtn{border:0;background:#edf3f3;border-radius:8px;width:36px;height:36px;cursor:pointer}.modalbody{padding:21px 24px;display:grid;gap:21px}.photoarea{border:1px solid #e0e9e9;border-radius:12px;padding:12px}.photobar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.photoButtons{display:flex;gap:6px}.canvaswrap{position:relative;min-height:170px;background:#ecf2f2;border:1px dashed #cad8d8;border-radius:9px;display:flex;align-items:center;justify-content:center;overflow:hidden}.canvaswrap canvas{width:100%;height:auto;display:none;touch-action:none;cursor:crosshair}.canvaswrap canvas.visible{display:block}#photoplaceholder{padding:26px;text-align:center;display:grid;gap:8px;justify-items:center;color:#759096}#photoplaceholder:first-line{font-size:30px}#photoplaceholder strong{color:#42616a}#photoplaceholder small{font-size:12px}.tools{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}.tool{background:#f0f5f5;border:1px solid transparent;border-radius:7px;padding:8px 10px;font-size:12px;cursor:pointer;color:#40616b}.tool.active{background:#daeff0;border-color:#5d9d9c;color:#135a64;font-weight:700}input[type=color]{width:36px;height:35px;border:1px solid #ccdada;border-radius:6px;padding:2px;background:white}.dictation>label{margin-bottom:7px}.inputrow{display:flex;gap:8px}.inputrow textarea{margin:0;flex:1;min-width:0}.mic{width:65px;border:1px solid #cfdfdf;background:#f1f7f7;border-radius:8px;font-size:22px;cursor:pointer;color:#1d6672;display:grid;align-content:center;justify-items:center;gap:3px}.mic small{font-size:10px}.mic.listening{background:#fce6e6;border-color:#e27676}.hint{font-size:11px;color:#84959b;margin:7px 0 0}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#183a46;color:white;border-radius:10px;padding:12px 18px;max-width:90%;font-size:13px;box-shadow:0 6px 24px #0003;opacity:0;pointer-events:none;transition:opacity .2s;z-index:10}#toast.show{opacity:1}@media(max-width:640px){.topbar{height:64px;padding:0 15px}.privacy{font-size:10px}.app{padding:22px 12px 30px}.intro h1{font-size:25px}.intro-icon{display:none}.panel{padding:17px 14px}.section-head{align-items:flex-start;flex-direction:column}.section-head .btn{width:100%}.fields.two{grid-template-columns:1fr}.item{gap:8px;padding:8px}.thumb{width:65px;height:70px}.itemInfo strong{font-size:13px}.itemInfo p{font-size:12px}.itemButtons{flex-direction:column}.actions .btn{width:100%}.modalhead,.modalfoot{padding:14px 13px}.modalbody{padding:15px 12px;gap:17px}.photobar{align-items:flex-start;flex-direction:column}.photoButtons{width:100%}.photoButtons .btn{flex:1}.modalfoot .btn{flex:1;padding:12px 6px}dialog{max-height:98dvh}}

.backupinfo{border:1px solid #c5d9da;background:#eaf4f3;border-radius:13px;padding:17px 20px;margin-top:17px;font-size:13px;line-height:1.5;color:#254d54}.backupinfo strong{font-size:15px}.backupinfo p{margin:8px 0}.backupinfo #backupStatus{font-weight:650;color:#266a68}.btn:disabled{opacity:.55;cursor:wait}
