body{margin:0;background:#f8f7f2;color:#163c32;font:16px/1.45 "Segoe UI",system-ui,sans-serif}
.solar-login .keep{margin:18px 0 0;display:flex;gap:9px;align-items:center;font-size:14px;color:#3f5549}.solar-login .keep input{width:17px;height:17px;accent-color:#154b3e}
.langpick{display:flex;gap:4px;margin-bottom:20px}.langpick button{font:600 13px system-ui;min-height:36px;padding-inline:12px;border:1px solid #c9d5cb;background:white;border-radius:6px;color:#254d3e}.langpick [aria-pressed=true]{background:#154b3e;color:white}
.solar-top{background:#123d33;color:white}.solar-top>div,.workspace,.solar-footer{width:min(1380px,100%);margin:auto;box-sizing:border-box;padding-inline:clamp(15px,4vw,70px)}
.solar-top>div{min-height:62px;display:flex;gap:20px;align-items:center}.solar-top b{font-size:19px;letter-spacing:-.025em}.solar-top>div>button,.solar-top summary{font:600 14px system-ui;color:white;background:none;border:0;padding:12px;cursor:pointer}.solar-top time{margin-left:auto;font-size:13px;color:#e1eae4}
#main-menu{position:relative}#main-menu summary{list-style:none;border:1px solid #749387;border-radius:7px;white-space:nowrap}.menu-items{z-index:99;position:absolute;right:0;top:calc(100% + 6px);background:#fff;border:1px solid #cfdad1;border-radius:10px;padding:10px;box-shadow:0 12px 35px #12352925;width:255px;max-height:70vh;overflow:auto}.menu-items .navlist,.menu-items .navbottom{display:grid;gap:2px;padding:0}.menu-items .navbottom{margin-top:7px;border-top:1px solid #ddd;padding-top:7px}.menu-items .navlink{display:flex;align-items:center;gap:8px;margin:0;background:white;color:#164436;border:0;min-height:38px;text-align:left;border-radius:5px}.menu-items .navlink:hover,.menu-items .navlink.active{background:#e6eee5;color:#103c30}.menu-items .module-art{width:21px;height:21px}.workspace{min-height:70vh;padding-block:24px}.workspace:has(.solar-view){padding:0}.solar-footer{margin:22px auto 0;padding-block:15px;display:flex;justify-content:space-between;gap:12px;border-top:1px solid #d5dfd5;font-size:13px;color:#53665b}
.solar-view .ts-module{text-align:left;cursor:pointer;font-family:inherit;color:#153d31}.solar-view .ts-module:hover{border-color:#759a86;background:#f3f7f0}.quote-action{margin-top:14px;color:#143e31;background:#f1e2b8;font:650 14px system-ui;border:0;border-radius:7px;padding:9px 14px}.solar-view .ts-logoframe img{background:white}.solar-view .ts-hero h1{color:white}.solar-view .ts-sample{color:#405b4d}
.workspace .panel{background:#fff;color:#183e33;border:1px solid #d2ded4;box-shadow:0 3px 12px #163c3208}.workspace .panel h2,.workspace .panel h3,.workspace .welcome h1,.workspace>.sectiontitle h2{color:#154438}.workspace .muted,.workspace .acc-small,.workspace .acc-summary small,.workspace .panel p,.workspace .panel small{color:#4f695c}.workspace .tablewrap td,.workspace .tablewrap th{color:#244338;border-color:#d9e3db}.workspace .tablewrap th{background:#edf2ec}.workspace .tablewrap tr:hover{background:#f2f6f1}.workspace h1{color:#153c32}.workspace .secondary{background:#edf2ed;color:#174939;border:1px solid #bccfc2}.workspace .primary,dialog .primary{background:#165341;color:white}.workspace .notice{color:#345a48;background:#e9f0e7}.workspace .panel .info-row{border-color:#dbe3da}.workspace .panel .synced{color:#206949}.workspace .panel .pending{color:#865620}.workspace .module-tabs .active,.workspace .accounting-tabs .active{background:#225744;color:white}.workspace .panel input,.workspace .panel select,.workspace .acc-report-filters input,.workspace .acc-report-filters select,.workspace .accounting-context select{background:white;border:1px solid #a5b8a9;color:#183f32}.workspace .acc-report-filters label,.workspace .accounting-context label{color:#476257}
.solar-windowbar{display:flex;justify-content:flex-end;align-items:center;background:#0b2c24;color:#e1e9e4;padding:3px 12px;font:12px system-ui;gap:20px}.solar-windowbar>span{margin-right:auto}.solar-windowbar button{border:0;border-left:1px solid #426556;background:transparent;color:white;padding:6px 12px;font:12px system-ui}.solar-window-message{position:fixed;bottom:12px;right:12px;background:#153e32;color:white;padding:12px;z-index:5000}.solar-login:has(.solar-windowbar) .ts-login{min-height:calc(100svh - 34px)}
@media(max-width:720px){.solar-top>div{gap:6px;min-height:55px}.solar-top time{display:none}#main-menu{margin-left:auto}.solar-top b{font-size:17px}.solar-top>div>button{font-size:13px}.solar-view .ts-hero .quote-action{font-size:12px;margin-top:7px;min-height:36px}.workspace{padding-block:16px}.solar-footer{font-size:11px}.solar-windowbar{display:none}.solar-login:has(.solar-windowbar) .ts-login{min-height:100svh}.menu-items{max-height:75svh}}
@media print{.solar-top,.solar-windowbar,.solar-footer{display:none}.workspace{padding:0;width:100%}}
.workspace .welcome p,.workspace .sectiontitle small,.workspace .breadcrumb,.workspace .emptyrow{color:#50695c}
.workspace .acc-summary strong{color:#21553e}
@media(max-width:720px){.workspace .tablewrap{max-width:100%;overflow-x:auto}.workspace .quick{max-width:100%;flex-wrap:wrap}.workspace dialog{width:min(94vw,620px)}}

/* Administration de la base */
.workspace .reset-panel{margin-top:18px;border-left:4px solid #a84232}
.reset-panel h2,.reset-dialog h2{margin:0 0 .55em}
.reset-panel p{max-width:70ch}
.reset-button{background:#983827;border:1px solid #87301f;color:white;font:600 15px/1.3 "Segoe UI",system-ui,sans-serif;border-radius:7px;padding:11px 16px;cursor:pointer}
.reset-button:disabled{background:#e7deda;border-color:#d9cbc4;color:#6b5d57;cursor:default}
.reset-button:enabled:hover{background:#782b20}
dialog.reset-dialog{box-sizing:border-box;background:#fffefa;color:#243d32;width:min(570px,94vw);max-width:94vw;max-height:90vh;max-height:90dvh;overflow:auto;padding:clamp(18px,3vw,32px);border-radius:13px}
.reset-dialog input,.reset-dialog label{box-sizing:border-box;display:block;width:100%}
.reset-dialog label{margin:15px 0 5px;font-weight:600}
.reset-dialog input{border:1px solid #94a59b;border-radius:6px;min-height:43px;background:white;color:#173b2f;padding:8px 11px;font:inherit}
.reset-dialog .reset-note{border-left:3px solid #b37530;padding:8px 12px;background:#fbf2df}
.reset-dialog .reset-error{color:#922f24}
.reset-dialog .reset-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:22px}
.reset-dialog .secondary{background:#eff3ee;color:#214c3c;border:1px solid #bbcbbd}
