
.gph-wrap{max-width:1400px;margin:0 auto;color:#111;font-family:"GFS Didot",Didot,"Times New Roman",serif}
.gph-hero{padding:50px 0 30px;border-bottom:1px solid rgba(0,0,0,.12);margin-bottom:30px}
.gph-hero span,.gph-project-head span,.gph-panel-head span{font-family:-apple-system,BlinkMacSystemFont,"Montserrat",Arial,sans-serif;text-transform:uppercase;letter-spacing:.18em;font-size:11px;color:rgba(0,0,0,.55)}
.gph-hero h1,.gph-project-head h1{font-weight:400;font-size:clamp(42px,6vw,82px);line-height:.95;margin:8px 0}
.gph-btn{background:#111!important;color:#fff!important;border:1px solid #111!important;text-decoration:none!important;padding:12px 16px;display:inline-flex;align-items:center;justify-content:center;font-family:-apple-system,BlinkMacSystemFont,"Montserrat",Arial,sans-serif;font-size:12px;text-transform:uppercase;letter-spacing:.06em;cursor:pointer}
.gph-btn.light{background:#fff!important;color:#111!important;border-color:rgba(0,0,0,.22)!important}
.gph-btn.danger{background:#fff!important;color:#9b1c1c!important;border-color:rgba(155,28,28,.35)!important}
.gph-alert{padding:20px;border:1px solid rgba(0,0,0,.12);background:#fafafa}
.gph-create,.gph-project-card,.gph-project,.gph-box,.gph-recent{border:1px solid rgba(0,0,0,.12);background:#fff;box-shadow:0 22px 65px rgba(0,0,0,.04)}
.gph-create{display:grid;grid-template-columns:.8fr 1.2fr;gap:30px;padding:30px;margin-bottom:28px}
.gph-create h2,.gph-box h2,.gph-recent h2{font-weight:400;font-size:38px;margin:0 0 15px}
.gph-create-form,.gph-settings-form,.gph-notify-form,.gph-comment-form{display:grid;gap:12px}
.gph-create input,.gph-create select,.gph-create textarea,.gph-settings textarea,.gph-box input,.gph-box textarea{width:100%;border:1px solid rgba(0,0,0,.16);background:#faf9f6;padding:14px;font-family:-apple-system,BlinkMacSystemFont,"Montserrat",Arial,sans-serif}
.gph-choice{display:grid;grid-template-columns:1fr 1fr;border:1px solid rgba(0,0,0,.14)}
.gph-choice label{padding:12px;font-family:-apple-system,BlinkMacSystemFont,"Montserrat",Arial,sans-serif;font-size:13px}
.gph-new{display:grid;gap:12px;border:1px solid rgba(0,0,0,.1);padding:14px;background:#fbf9f4}
.gph-project-list{display:grid;gap:14px}
.gph-project-card{padding:24px;text-decoration:none!important;color:#111!important;display:flex;justify-content:space-between;gap:20px;align-items:center}
.gph-project-card span{font-family:-apple-system,BlinkMacSystemFont,"Montserrat",Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;font-size:11px;color:rgba(0,0,0,.55)}
.gph-project-card h2{font-size:42px;font-weight:400;margin:6px 0}
.gph-project-card p,.gph-card-meta{font-family:-apple-system,BlinkMacSystemFont,"Montserrat",Arial,sans-serif;color:rgba(0,0,0,.6)}
.gph-card-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.gph-card-meta strong{border:1px solid rgba(0,0,0,.16);padding:8px 12px;border-radius:999px;text-transform:uppercase;font-size:11px}
.gph-back{display:inline-flex;margin-bottom:18px;color:#111!important;text-decoration:none!important;font-family:-apple-system,BlinkMacSystemFont,"Montserrat",Arial,sans-serif}
.gph-project{padding:32px}
.gph-project-head{display:flex;justify-content:space-between;gap:30px;border-bottom:1px solid rgba(0,0,0,.12);padding-bottom:26px;margin-bottom:24px}
.gph-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-start;justify-content:flex-end}
.gph-status{display:inline-flex;border:1px solid rgba(0,0,0,.16)}
.gph-status button{border:0;border-right:1px solid rgba(0,0,0,.12);background:#fff;padding:12px;cursor:pointer;text-transform:uppercase;font-size:10px;letter-spacing:.1em}
.gph-status button.active{background:#111;color:#fff}
.gph-settings{border:1px solid rgba(0,0,0,.12);padding:18px;margin-bottom:24px;background:#faf9f6}
.gph-settings summary{cursor:pointer;font-family:-apple-system,BlinkMacSystemFont,"Montserrat",Arial,sans-serif;text-transform:uppercase;letter-spacing:.12em;font-size:12px}
.gph-settings-form{margin-top:18px}
.gph-folder-nav{display:flex;gap:10px;flex-wrap:wrap;border:1px solid rgba(0,0,0,.12);background:#f8f5ef;padding:18px;margin-bottom:24px}
.gph-tab{border:1px solid rgba(0,0,0,.13);background:#fff;color:#111;padding:12px 14px;cursor:pointer;font-family:-apple-system,BlinkMacSystemFont,"Montserrat",Arial,sans-serif;font-size:12px;text-align:left}
.gph-tab.child{font-size:11px;padding:10px 12px}
.gph-tab.active{border-color:#111;background:#111;color:#fff}
.gph-tab em{font-style:normal;margin-left:8px;opacity:.65}
.gph-panel{display:none;border:1px solid rgba(0,0,0,.12);padding:30px;min-height:380px}
.gph-panel.active{display:block}
.gph-panel-head{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid rgba(0,0,0,.12);padding-bottom:20px;margin-bottom:26px}
.gph-panel-head h2{font-size:clamp(38px,5vw,68px);font-weight:400;line-height:1;margin:5px 0 0}
.gph-folders,.gph-files{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:20px}
.gph-folder-card{border:0;background:transparent;text-align:center;cursor:pointer;color:#111}
.gph-folder-card span{display:block;width:96px;height:66px;margin:0 auto 12px;background:#f2eee7;border:1px solid rgba(0,0,0,.14);position:relative}
.gph-folder-card span:before{content:"";position:absolute;width:44px;height:13px;left:-1px;top:-14px;background:#f2eee7;border:1px solid rgba(0,0,0,.14);border-bottom:0}
.gph-folder-card strong,.gph-file strong{display:block;font-size:18px;font-weight:400;line-height:1.2;word-break:break-word}
.gph-folder-card em,.gph-file small,.gph-muted{font-family:-apple-system,BlinkMacSystemFont,"Montserrat",Arial,sans-serif;color:rgba(0,0,0,.55);font-size:12px}
.gph-file{text-align:center;display:grid;gap:9px;align-content:start}
.gph-doc{width:70px;height:92px;margin:0 auto 8px;border:1px solid rgba(0,0,0,.18);background:linear-gradient(135deg,#fff 0%,#fff 72%,#f1eee8 72%)}
.gph-new{display:inline-flex!important;width:auto!important;border:1px solid #16a34a!important;color:#16a34a!important;background:rgba(22,163,74,.06)!important;border-radius:999px;padding:5px 9px!important;font-size:10px!important;letter-spacing:.08em;text-transform:uppercase;margin-top:6px}
.gph-file-actions{display:flex;gap:7px;justify-content:center;flex-wrap:wrap}
.gph-file-actions .gph-btn{font-size:10px;padding:8px}
.gph-recent{padding:28px;margin-top:28px}
.gph-recent-row{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid rgba(0,0,0,.08);padding:14px 0}
.gph-recent-row:first-of-type{border-top:0}
.gph-recent-row strong{font-size:20px;font-weight:400;word-break:break-word}
.gph-recent-row small{display:block;font-family:-apple-system,BlinkMacSystemFont,"Montserrat",Arial,sans-serif;color:rgba(0,0,0,.55)}
.gph-bottom{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:28px}
.gph-box{padding:28px}
.gph-comments article{border-top:1px solid rgba(0,0,0,.08);padding:14px 0}
.gph-comments strong{font-size:18px;font-weight:400}.gph-comments small{display:block;font-family:-apple-system,BlinkMacSystemFont,"Montserrat",Arial,sans-serif;color:rgba(0,0,0,.55)}
@media(max-width:900px){.gph-create,.gph-project-head,.gph-panel-head,.gph-bottom{grid-template-columns:1fr;display:grid}.gph-project-card,.gph-recent-row{flex-direction:column;align-items:flex-start}.gph-folder-nav{display:grid;grid-template-columns:1fr 1fr}.gph-actions{justify-content:flex-start}.gph-panel{padding:20px}.gph-files,.gph-folders{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}}
@media(max-width:600px){.gph-folder-nav{grid-template-columns:1fr}.gph-project{padding:18px}.gph-hero h1,.gph-project-head h1{font-size:44px}.gph-files,.gph-folders{grid-template-columns:1fr 1fr}.gph-btn{width:100%}.gph-file-actions{display:grid}}


/* V1.1 — corrections formulaire + navigation par groupes */
.gph-create-form.is-existing-client .gph-new {
    display: none !important;
}

.gph-create-form.is-new-client .gph-existing {
    display: none !important;
}

.gph-folder-nav-grouped {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    align-items: stretch !important;
}

.gph-folder-nav-grouped .root-main {
    width: 100%;
}

.gph-nav-group {
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    padding: 14px;
}

.gph-nav-group .gph-tab.parent {
    width: 100%;
    background: #111;
    color: #fff;
    border-color: #111;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.gph-nav-children {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gph-nav-children .gph-tab.child {
    background: #f8f5ef;
    border-color: rgba(0,0,0,.10);
    color: #111;
    flex: 0 1 auto;
}

.gph-nav-children .gph-tab.child.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.gph-help {
    font-family: -apple-system, BlinkMacSystemFont, "Montserrat", Arial, sans-serif;
    color: rgba(0,0,0,.58);
    font-size: 13px;
    line-height: 1.6;
    margin-top: -8px;
}

.gph-recipients {
    display: grid;
    gap: 10px;
    margin: 14px 0 18px;
}

.gph-recipients > div {
    border: 1px solid rgba(0,0,0,.10);
    background: #faf9f6;
    padding: 13px;
    display: grid;
    gap: 3px;
}

.gph-recipients span,
.gph-recipients small,
.gph-check {
    font-family: -apple-system, BlinkMacSystemFont, "Montserrat", Arial, sans-serif;
}

.gph-recipients span {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 10px;
    color: rgba(0,0,0,.48);
}

.gph-recipients strong {
    font-weight: 400;
    font-size: 20px;
}

.gph-recipients small {
    color: rgba(0,0,0,.58);
    font-size: 12px;
    line-height: 1.5;
}

.gph-check {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: #111;
}

.gph-check input {
    width: auto !important;
}

@media(max-width:900px){
    .gph-nav-children {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:600px){
    .gph-nav-children {
        grid-template-columns: 1fr;
    }
}


/* V1.2 — interface plus premium et mieux rangée */

/* Formulaire création projet : vraie séparation existant / nouveau */
.gph-choice {
    display: none !important;
}

.gph-client-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(0,0,0,.14);
    background: #fff;
}

.gph-client-switch label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 16px;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Montserrat", Arial, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .10em;
    color: #111;
    border-right: 1px solid rgba(0,0,0,.12);
}

.gph-client-switch label:last-child {
    border-right: 0;
}

.gph-client-switch input {
    display: none;
}

.gph-client-switch label.is-selected {
    background: #111;
    color: #fff;
}

.gph-client-block {
    border: 1px solid rgba(0,0,0,.10);
    background: #fbfaf7;
    padding: 16px;
}

.gph-create-form.is-existing-client .gph-new,
.gph-create-form:not(.is-new-client) .gph-new,
.gph-new[hidden] {
    display: none !important;
}

.gph-create-form.is-new-client .gph-existing,
.gph-existing[hidden] {
    display: none !important;
}

/* Navigation dossier : rangée façon sections premium */
.gph-folder-nav-grouped {
    background: #f6f2ea !important;
    padding: 22px !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    display: grid !important;
    gap: 20px !important;
}

.gph-folder-nav-grouped .root-main {
    width: 100%;
    min-height: 50px;
    background: #fff !important;
    color: #111 !important;
    border: 1px solid rgba(0,0,0,.14) !important;
    font-weight: 500;
}

.gph-nav-group {
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    padding: 18px !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.035);
}

.gph-nav-group .gph-tab.parent {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
    background: transparent !important;
    color: #111 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(0,0,0,.12) !important;
    padding: 0 0 14px !important;
    margin-bottom: 14px !important;
    font-family: "GFS Didot", Didot, "Times New Roman", serif !important;
    font-size: clamp(28px, 3vw, 42px) !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
}

.gph-nav-group .gph-tab.parent em {
    font-family: -apple-system, BlinkMacSystemFont, "Montserrat", Arial, sans-serif;
    font-size: 11px;
    border: 1px solid rgba(0,0,0,.14);
    border-radius: 999px;
    padding: 6px 10px;
}

.gph-nav-children {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
    gap: 10px !important;
}

.gph-nav-children .gph-tab.child {
    width: 100%;
    min-height: 48px;
    background: #faf9f6 !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    color: #111 !important;
    padding: 12px 13px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    line-height: 1.25;
}

.gph-nav-children .gph-tab.child.active,
.gph-folder-nav-grouped .root-main.active,
.gph-nav-group .gph-tab.parent.active {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}

/* Fichiers : rendu plus carré/premium */
.gph-panel {
    background: #fff;
    box-shadow: 0 24px 70px rgba(0,0,0,.035);
}

.gph-files {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
    gap: 22px !important;
}

.gph-file {
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    padding: 22px 16px;
    min-height: 245px;
    position: relative;
    box-shadow: 0 16px 42px rgba(0,0,0,.025);
}

.gph-file .gph-doc {
    margin-bottom: 13px;
}

.gph-file strong {
    font-size: 18px !important;
    line-height: 1.25 !important;
    min-height: 46px;
}

.gph-file-actions {
    margin-top: 10px;
}

/* Badge Nouveau en haut du fichier */
.gph-new {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    border: 1px solid #16a34a !important;
    background: rgba(22,163,74,.08) !important;
    color: #16a34a !important;
    font-family: -apple-system, BlinkMacSystemFont, "Montserrat", Arial, sans-serif !important;
    font-size: 9px !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    z-index: 2;
}



@media(max-width:900px){
    .gph-nav-children {
        grid-template-columns: 1fr 1fr !important;
    }

    .gph-files {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    }
}

@media(max-width:600px){
    .gph-client-switch {
        grid-template-columns: 1fr;
    }

    .gph-client-switch label {
        border-right: 0;
        border-bottom: 1px solid rgba(0,0,0,.12);
    }

    .gph-nav-children {
        grid-template-columns: 1fr !important;
    }

    .gph-files {
        grid-template-columns: 1fr 1fr !important;
    }
}





/* V1.4 — création projet premium */
.gph-create-premium {
    grid-template-columns: 0.85fr 1.15fr !important;
    padding: clamp(26px, 4vw, 44px) !important;
    background: #fff !important;
}

.gph-create-intro span {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont,"Montserrat",Arial,sans-serif;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 11px;
    color: rgba(0,0,0,.52);
    margin-bottom: 10px;
}

.gph-create-intro h2 {
    font-size: clamp(42px, 5vw, 72px) !important;
    line-height: .95;
    font-weight: 400;
    margin: 0 0 18px !important;
}

.gph-create-intro p {
    font-family: -apple-system, BlinkMacSystemFont,"Montserrat",Arial,sans-serif;
    color: rgba(0,0,0,.58);
    font-size: 14px;
    line-height: 1.7;
    max-width: 420px;
}

.gph-field {
    display: grid;
    gap: 7px;
}

.gph-field label,
.gph-client-block > label {
    font-family: -apple-system, BlinkMacSystemFont,"Montserrat",Arial,sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 10px;
    color: rgba(0,0,0,.52);
}

.gph-client-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gph-client-block {
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.12) !important;
    padding: 18px !important;
}

.gph-client-switch {
    border: 1px solid rgba(0,0,0,.14) !important;
}

.gph-client-switch label {
    min-height: 50px;
}

.gph-create-form input,
.gph-create-form select,
.gph-create-form textarea {
    min-height: 48px;
    background: #faf9f6 !important;
}

.gph-create-form textarea {
    min-height: 92px;
}

/* V1.4 — navigation dossiers plus classe */
.gph-folder-nav-grouped {
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.04);
}

.gph-nav-group {
    box-shadow: none !important;
    background: #faf9f6 !important;
}

.gph-nav-group .gph-tab.parent {
    background: transparent !important;
}

.gph-nav-children .gph-tab.child {
    background: #fff !important;
}

.gph-nav-children .gph-tab.child:before {
    content: "";
    width: 9px;
    height: 9px;
    border: 1px solid rgba(0,0,0,.28);
    display: inline-block;
    margin-right: 8px;
}

.gph-tab.active:before {
    border-color: #fff !important;
}

/* V1.4 — prévisualisation désactivée définitivement */
.gph-file-actions a[target="_blank"],
.gph-recent-row a[target="_blank"] {
    display: none !important;
}

@media(max-width:900px){
    .gph-create-premium {
        grid-template-columns: 1fr !important;
    }
}

@media(max-width:600px){
    .gph-client-grid {
        grid-template-columns: 1fr;
    }
}


/* V1.5 — Mode interface compacte premium */

/* Global : moins de vide */
.gph-wrap {
    max-width: 1480px !important;
}

.gph-project {
    padding: 22px !important;
}

/* Header projet compact */
.gph-project-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 18px !important;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
}

.gph-project-head > div:first-child {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: baseline !important;
    gap: 14px !important;
}

.gph-project-head span {
    margin: 0 !important;
    white-space: nowrap !important;
}

.gph-project-head h1 {
    font-size: clamp(30px, 3vw, 48px) !important;
    line-height: 1 !important;
    margin: 0 !important;
    letter-spacing: -0.02em !important;
}

.gph-project-head p {
    grid-column: 1 / -1 !important;
    margin: -4px 0 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Montserrat", Arial, sans-serif !important;
    font-size: 12px !important;
    color: rgba(0,0,0,.55) !important;
}

/* Boutons header plus petits */
.gph-actions {
    gap: 7px !important;
    align-items: center !important;
}

.gph-btn {
    padding: 9px 12px !important;
    font-size: 10.5px !important;
    min-height: 36px !important;
}

.gph-status button {
    padding: 10px 11px !important;
    min-height: 36px !important;
}

/* Paramètres plus discret */
.gph-settings {
    padding: 12px 14px !important;
    margin-bottom: 14px !important;
}

.gph-settings summary {
    font-size: 10.5px !important;
}

/* Navigation dossiers compacte */
.gph-folder-nav-grouped {
    padding: 14px !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 12px 35px rgba(0,0,0,.025) !important;
}

.gph-folder-nav-grouped .root-main {
    min-height: 40px !important;
    padding: 10px 12px !important;
}

.gph-nav-group {
    padding: 12px !important;
}

.gph-nav-group .gph-tab.parent {
    font-size: clamp(20px, 2vw, 28px) !important;
    padding: 0 0 9px !important;
    margin-bottom: 10px !important;
    line-height: 1 !important;
}

.gph-nav-group .gph-tab.parent em {
    font-size: 10px !important;
    padding: 4px 8px !important;
}

.gph-nav-children {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
    gap: 7px !important;
}

.gph-nav-children .gph-tab.child {
    min-height: 38px !important;
    padding: 8px 10px !important;
    font-size: 10.5px !important;
}

.gph-nav-children .gph-tab.child:before {
    width: 6px !important;
    height: 6px !important;
    margin-right: 6px !important;
}

/* Panneau fichiers plus proche */
.gph-panel {
    padding: 20px !important;
    min-height: 260px !important;
}

.gph-panel-head {
    padding-bottom: 12px !important;
    margin-bottom: 18px !important;
    align-items: center !important;
}

.gph-panel-head h2 {
    font-size: clamp(28px, 3vw, 42px) !important;
    margin-top: 2px !important;
}

/* Cartes fichiers plus compactes */
.gph-files {
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)) !important;
    gap: 14px !important;
}

.gph-file {
    min-height: 190px !important;
    padding: 16px 12px !important;
}

.gph-doc {
    width: 54px !important;
    height: 72px !important;
    margin-bottom: 8px !important;
}

.gph-file strong {
    font-size: 15px !important;
    min-height: 38px !important;
    line-height: 1.2 !important;
}

.gph-file small {
    font-size: 11px !important;
}

.gph-file-actions {
    margin-top: 6px !important;
    gap: 6px !important;
}

.gph-file-actions .gph-btn {
    padding: 7px 9px !important;
    min-height: 30px !important;
    font-size: 9.5px !important;
}

/* Badge nouveau plus petit */
.gph-new {
    top: 8px !important;
    right: 8px !important;
    padding: 4px 7px !important;
    font-size: 8px !important;
}

/* Sous-dossiers dans panneau plus discrets */
.gph-folders {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)) !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
}

.gph-folder-card span {
    width: 70px !important;
    height: 48px !important;
    margin-bottom: 8px !important;
}

.gph-folder-card span:before {
    width: 34px !important;
    height: 10px !important;
    top: -11px !important;
}

.gph-folder-card strong {
    font-size: 15px !important;
}

.gph-folder-card em {
    font-size: 11px !important;
}

/* Récents et bas de page moins envahissants */
.gph-recent {
    padding: 20px !important;
    margin-top: 18px !important;
}

.gph-recent h2,
.gph-box h2 {
    font-size: 28px !important;
}

.gph-recent-row {
    padding: 10px 0 !important;
}

.gph-bottom {
    gap: 18px !important;
    margin-top: 18px !important;
}

.gph-box {
    padding: 20px !important;
}

/* Page liste admin compacte aussi */
.gph-hero {
    padding: 32px 0 22px !important;
    margin-bottom: 22px !important;
}

.gph-hero h1 {
    font-size: clamp(42px, 5vw, 68px) !important;
}

.gph-create-premium {
    padding: 26px !important;
}

.gph-create-intro h2 {
    font-size: clamp(36px, 4vw, 56px) !important;
}

.gph-project-card {
    padding: 18px 22px !important;
}

.gph-project-card h2 {
    font-size: clamp(28px, 3vw, 42px) !important;
}

/* Tablette / mobile */
@media(max-width:900px){
    .gph-project-head {
        grid-template-columns: 1fr !important;
    }

    .gph-project-head > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
    }

    .gph-actions {
        justify-content: flex-start !important;
    }

    .gph-nav-children {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }

    .gph-panel-head {
        grid-template-columns: 1fr !important;
        display: grid !important;
        gap: 12px !important;
    }
}

@media(max-width:600px){
    .gph-project {
        padding: 14px !important;
    }

    .gph-nav-children {
        grid-template-columns: 1fr !important;
    }

    .gph-files {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
        gap: 10px !important;
    }

    .gph-file {
        min-height: 175px !important;
        padding: 14px 10px !important;
    }

    .gph-doc {
        width: 48px !important;
        height: 64px !important;
    }

    .gph-file strong {
        font-size: 13px !important;
    }
}


/* V1.5.2 CREATEFIX */
.gph-create-form .gph-existing[hidden],
.gph-create-form .gph-new[hidden] {
    display: none !important;
}

.gph-create-form .gph-new {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
}

.gph-create-form .gph-client-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

.gph-client-switch label.is-selected,
.gph-choice label.is-selected {
    background: #111 !important;
    color: #fff !important;
}

@media(max-width:700px){
    .gph-create-form .gph-client-grid {
        grid-template-columns: 1fr !important;
    }
}


/* V1.5.3 ACCOUNTFIX — affichage complet nouveau compte */
.gph-new.gph-client-block {
    width: 100% !important;
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.12) !important;
    padding: 18px !important;
}

.gph-new .gph-client-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

.gph-new .gph-field {
    display: grid !important;
    gap: 7px !important;
}

.gph-new .gph-field label,
.gph-new .gph-check {
    font-family: -apple-system, BlinkMacSystemFont, "Montserrat", Arial, sans-serif !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: .10em !important;
    color: rgba(0,0,0,.55) !important;
}

.gph-new input[type="text"],
.gph-new input[type="email"],
.gph-new input[type="password"] {
    width: 100% !important;
    min-height: 46px !important;
    border: 1px solid rgba(0,0,0,.16) !important;
    background: #faf9f6 !important;
    padding: 12px 13px !important;
    color: #111 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Montserrat", Arial, sans-serif !important;
    font-size: 13px !important;
}

.gph-new .gph-check {
    margin-top: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 13px !important;
    color: #111 !important;
}

.gph-new .gph-check input {
    width: auto !important;
    min-height: auto !important;
}

@media(max-width:700px){
    .gph-new .gph-client-grid {
        grid-template-columns: 1fr !important;
    }
}

/* V1.5.4 TREEBACKUP */
.gph-backup-bar {
    border: 1px solid rgba(0,0,0,.12);
    background: #faf9f6;
    padding: 16px;
    margin: 0 0 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.gph-backup-bar span {
    font-family: -apple-system, BlinkMacSystemFont, "Montserrat", Arial, sans-serif;
    font-size: 12px;
    color: rgba(0,0,0,.55);
}
